@univerjs-pro/collaboration-client-ui 0.9.2-nightly.202507141607 → 0.9.2-nightly.202507151607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -0
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -0
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -0
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -0
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -0
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -0
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/locale/ca-ES.d.ts +3 -0
- package/lib/types/locale/es-ES.d.ts +3 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -0
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -0
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x4a15b3=_0x55c0;(function(_0x5eafe4,_0x474421){const _0x3ea924=_0x55c0,_0x249111=_0x5eafe4();while(!![]){try{const _0x7209d9=parseInt(_0x3ea924(0xc4))/0x1*(parseInt(_0x3ea924(0x2b3))/0x2)+parseInt(_0x3ea924(0xfa))/0x3*(parseInt(_0x3ea924(0x29c))/0x4)+parseInt(_0x3ea924(0x199))/0x5+-parseInt(_0x3ea924(0xf1))/0x6+parseInt(_0x3ea924(0x18b))/0x7+-parseInt(_0x3ea924(0x1ed))/0x8*(-parseInt(_0x3ea924(0x128))/0x9)+-parseInt(_0x3ea924(0x2b9))/0xa;if(_0x7209d9===_0x474421)break;else _0x249111['push'](_0x249111['shift']());}catch(_0x12447d){_0x249111['push'](_0x249111['shift']());}}}(_0x1a74,0x7a972));var $t=Object['defineProperty'],xt=(_0x3f8d1d,_0xa2b1aa,_0x582dc8)=>_0xa2b1aa in _0x3f8d1d?$t(_0x3f8d1d,_0xa2b1aa,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x582dc8}):_0x3f8d1d[_0xa2b1aa]=_0x582dc8,_=(_0x152f73,_0x932ba3,_0x1bc75e)=>xt(_0x152f73,typeof _0x932ba3!=_0x4a15b3(0x287)?_0x932ba3+'':_0x932ba3,_0x1bc75e);function _0x1a74(){const _0x4f9f40=['column','YUUMI_NO_CUBOID_FOR_QUESTION','HEADER_MENU','drawWith','INTERNAL_ERROR','string','on-line-icon_clip0_910_349','LICENSE_EXPORT_SIZE_EXCEEDED','getCollabCursors$','_config','getAncestorScale','data','assign','hide','LICENSE_DISTRO_REJECTED','collaboration.closeRoom','getSkeleton','_getSaveTimeout','transformByState','show','getSheetId','RECT','Failed','_getAnchorBounding','MUTATION','_configService','setAlpha','editingUnit','_messageService','translate(.97)','_drawTextRange','currentColor','path','_initStatusComponent','stringify','OFFLINE','_initEvent','then','_handleHover','pushState','getMember','getVpScrollXYInfoByPosToVp','createSocket','UniverIcon','_entityInit$','_render','_session','CONFLICT','clearInterval','M0\x200H16V16H0z','getItem','getTypeOfUnitDisposed$','_imageIoService','addClipboardHook','SOCKET_FAILED','session.connection-failed','exhaustSavingTask','tag','off-line-icon_clip0_910_343','mask','onPointerEnter$','setParam','OnLineIcon','from','_toggleOffline','4176632jwSkcR','svg','href','sessionTicket','permission.title','_removeClearOtherTimer','_unitOnClients','_shapes','split','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','DeleteRangeMoveUpCommandId','_removeCollabCursors','getOffsetConfig','assignAColorForMemberID','setInterval','subUnitId','_notificationService','includes','apply','_range','collaboration-client.offline-data-not-saved','NO_OTHER_CLIENTS_EDITING','size','newValue','MOBILE_HAS_BEEN_BOUND','labelPosition','white','INVITE_CODE_ALREADY_BOUND','_updateSubUnitFromURLParams','session.will-retry','className','unitId','SNAPSHOT_HAS_BEEN_REMOVED','key','textRanges','loadOfflineData','_beforeCloseService','isArray','blue.400','ONLINE','PY_RUNTIME_SCRIPT_ERROR','_univerInstanceService','_createSocketURL','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','debug','APPLY_NON_SEQUENTIAL_REVISION','_assignedColors','_localStorageService','_labelPosition','_localCacheService','getValue','getUnitStatus$','history','_initStatusListener','_startSheetCollabCursor','url(#$1','session.collaboration-timeout','subscribe','save','_updateURLWithCurrentState','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','mutations','_init','colorChannel1','registerBeforeClose','currentTheme$','_revisionService','row','_setupBeforeClosingHandler','_refreshCollabCursors','_colorAssignService','send','LOGIN_FAILED','attrs','WECHAT_HAS_BEEN_BOUND','PERMISSION_DENIED','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_saveCache','beginPath','CONNECTOR_DATA_TOO_LARGE','params','saveImage','UNIVER_SHEET','lineTo','subscribeEvent','_anchor','unsubscribe','YUUMI_UNABLE_LOAD_URL','NOT_COLLAB','_collabCursorController','_handleEvent','roomMembers$','current','getUniverSheetInstance','INVALID_ARGUMENT','_clearOtherTimers','_docSyncEditingCollabCursorService','_memberService','_onCursorDelete','registerComponent','_draw','red.300','UNAUTHENTICATED','arc','_cachedData','permission.content','toString','_collabSessionService','onMouseMove','_uiPartsService','disableLocalCache','length','getActiveSheet','prototype','onStarting','Warning','RemoveColCommandId','endColumn','_anchorDot','call','ranges','INVITE_CODE_HAS_BEEN_UES','displayName','_docClipboardService','map','with','fillText','getActiveRange','asObservable','_initEntityListener','removeParam','fill','collab-client.tooltip.reconnect','m1Prime','wsSessionTicketUrl','_heartbeatTimer','disposeWithMe','_roomMembers$','actions','doc.mutation.rich-text-editing','YUUMI_URL_COL_OUT_OF_RANGE','measureText','search','init','addObject','deepClone','TEXT','_cursorShapes','getConfig','OTHER_CLIENT_EDITING','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_eventUnsubscribe','substring','_docTransformIMECacheService','symbol','AWAITING_WITH_PENDING','collaboration-client-ui.config','PENDING','whenReady','APPLY_PERMISSION_DENIED','div','code','UNIVER_DOC','univer-mr-2\x20univer-flex\x20univer-text-xl','concat','syncEditingCollabCursor','_backgroundColor','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','transformSelections','INVALID_INVITE_CODE','color','_saveTaskMap','getCurrent','min','getUnhiddenWorksheets','238892ClSwRt','_registerRenderDependencies','roomMembers','_collabCursorState$','toRgbString','MOBILE_VERIFY_CODE_MISMATCH','_handleLeaveEvent','_logService','getParam','_onRefRangeChange','onTransformChange$','fillRule','_initDependencies','_handleHeartbeatEvent','_id','delete','cursorInfo$','children','_urlService','backgroundColor','getColorFromTheme','engine','focused$','1381364BGmBiw','_registerDependencies','#FFF','univer-flex\x20univer-items-center','collabCursorState$','startsWith','11359520WxLjWy','_name','status$','ALREADY_EXISTS','getFocusedUnit','isActive','requireSession','_online','ENSURE_SNAPSHOT_EXECUTION','APPLY_REJECT','runOnServer','executionId','_scheduleClearOtherTimer','Error','setConfig','parse','NOT_FOUND','round','loadUnit','_ensureSubject','m2Prime','replace','setUndoRedoMutationParamsCache','1qHZGTN','UNDEFINED','collabStatus.fetchMiss','getUnitId','_docSkeletonManagerService','_renderManagerService','onPointerMove$','_scheduleHeartbeat','set','getCurrentRevOfUnit','override','fillStyle','_handleJoinEvent','bottom','_getMergeRange','runId','dispose','_send','clearTimeout','unload','/run/','_updateLocalCursor','memberID','OTHER_CLIENTS_EDITING','source','USERS_LEAVE','LICENSE_IMPORT_SIZE_EXCEEDED','registerRefRange','_collaborationController','_toggleOnline','_hovered','_getSheetObject','_cursors','urlChange$','transformRemoteChangeset','_colorIndex','getMergeData','_localeService','_commandService','_transformPreviousActiveRange','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_doCreateSocket','location','FETCH_MISS','isEditing','3929244vSrNSM','YUUMI_ALL_TABLES_IS_INVALID','YUUMI_ASYNCIO_CANCELLED','getMemberID','get','next','UPDATE_CURSOR','YUUMI_CONNECTOR_URL_NOT_FOUND','selection','3Yqreow','enableLocalCache','TOO_MANY_REQUESTS','FromArray','USER_NOT_INVITED_CODE','_selfUnitIDs','idSuffix','popstate','CHANGESET_REVISION_CONFILICT','_updateCollabCursors','onPointerLeave$','_docTransformSelectionsService','sheetId','INVITE_CODE_REQUIRED','_color','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getDocRanges','searchParams','registerRenderModule','redoState','text','_transformUndoRedoStack','collab-text-range-','on-line-icon','_instanceService','EMAIL_VERIFY_CODE_MISMATCH','defIds','getOwnPropertySymbols','rgba(255,\x20255,\x20255,\x200.01)','executeCommand','LICENSE_MAX_UNITS_EXCEEDED','collabStatus.syncing','onLocalMutation','green.600','extend','complete','InsertRangeMoveDownCommandId','_drawRectRange','replaceDocRanges','onCommandExecuted','startRow','values','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','black','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','closePath','9hWBwXT','_hover','setShapeProps','body','range','getTypeOfUnitAdded$','flatMap','_startDocCollabCursor','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','hasOwnProperty','_scheduleSaving','getStateCache','pipe','replaceState','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_onCursorUpdate','Unknown\x20user','forEach','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getCurrentUnitForType','getViewport','restore','getRangePointData','type','_disabled','_setupSubUnitSync','triggerDblclick','_cursor','_context','off-line-icon','width','findNodePositionByCharIndex','entries','_refRangeService','font','_docStateChangeManagerService','_themeService','saveOfflineData','transformMutation','startColumn','xlink:href','InsertColCommandId','cursorInfo','_initCommandExecutedListener','collaboration.single-unit.warning','AWAITING','CLOSE_ROOM','event$','UNRECOGNIZED','top','_syncEditingCollabCursorService','reconnect','generateRandomId','makeDirty','has','getRenderById','transform','getOwnPropertyDescriptor','_injector','defineProperty','...','_document','_cursorInfo$','_sheetSkeletonManagerService','YUUMI_SUBSCRIPTION_NOT_FOUND','indexOf','yellow.400','_transformService','_hideTimer','_unitStatus','APPLY_DUPLICATED','subunit','_entities','_httpService','saveTaskMap','getSheetBySheetId','unit','YUUMI_RATE_OVER_LIMIT','http://www.w3.org/2000/svg','0\x200\x2017\x2016','currentSkeleton$','resize','_collaborationUIEventService','name','transformIMECache','_scene','transformMutationsWithChangeset','push','purple.300','_status$','EMAIL_HAS_BEEN_BOUND','getUndoRedoMutationParamsCache','propertyIsEnumerable','_lastPointer','APPLY_REVISION_CONFILICT','storage','unshift','updateOfflineData','_transformHistoryAndStateStack','980343GoQSbo','error','COMPLETION_FINISHED','_drawAnchor','setTimeout','_getSessionTicket','addEventListener','0\x200\x2016\x2016','undoState','unitID','defs','1em','height','find','4402115iAepkC','onRendered','SOCKET_FAILED_RETRY','dispose$','SNAPSHOT_INVALID_SNAPSHOT','_textBubble','clipPath','_docTransformStateCacheService','SYNCED','url(#on-line-icon_clip0_910_349)','collabStatus.conflict','evenodd','_initResize','add','origin','icon','_getScale','[CollaborationDataLoaderController]','_dataLoaderService'];_0x1a74=function(){return _0x4f9f40;};return _0x1a74();}import{MemberService as _0x4eb884,SessionStatus as _0x30c0f3,CollaborationSessionService as _0x2f1c26,CollaborationStatus as _0x4de448,CollaborationController as _0x5b7241,ILocalCacheService as _0x578f85,CollaborationUIEventService as _0x28c0a5,CollaborationUIEventId as _0x17fd1e,DataLoaderService as _0x2588b6,DocCollaborationEntity as _0x30b9b9,getLocalCacheKey as _0x227947,LOCAL_CACHE_INTERVAL as _0x37a5df,LOCAL_CACHE_INTERVAL_KEY as _0xb3edeb,UniverCollaborationClientPlugin as _0x4441c3,CollaborationSocketService as _0xdac877,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x3d317c,DEFAULT_WS_SESSION_TICKET_URL as _0x1ff494,UnitStatus as _0x32e1b8,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x43514,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x1a9fc1}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x9a5c56,Disposable as _0x1c3a44,DOC_RANGE_TYPE as _0x5889dc,Inject as _0x59cccc,Injector as _0x352cac,IUniverInstanceService as _0x261934,ICommandService as _0x44cdb6,debounce as _0x124c3e,Rectangle as _0xe97544,DisposableCollection as _0x40c46f,toDisposable as _0x4d8874,UniverInstanceType as _0x52e3e5,Tools as _0x4b4ba9,COLORS as _0x5d2a0d,ColorKit as _0x521739,ThemeService as _0x345fc1,fromEventSubject as _0x3789cd,LocaleService as _0x5364b3,createIdentifier as _0x1e01e8,ILogService as _0x5de542,Optional as _0x6913ea,Workbook as _0x5da6ea,CommandType as _0x56d49f,IConfigService as _0x47db95,ILocalStorageService as _0x27b18,DependentOn as _0x5a1eb2,Plugin as _0xa59201,merge as _0x428b84,registerDependencies as _0x5a706b,mergeOverrideWithDependencies as _0x5a3701,touchDependencies as _0x4d0967,generateRandomId as _0x3e423d}from'@univerjs/core';import{Shape as _0x18f209,Rect as _0x5d1c55,getColor as _0x37a7df,RegularPolygon as _0x3c3a59,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x5cc6c1,Vector2 as _0x421f12,SHEET_VIEWPORT_KEY as _0x2866a0,IRenderManagerService as _0x50bde7}from'@univerjs/engine-render';import{ISocketService as _0x1a11de,WebSocketService as _0x2565ee,HTTPService as _0x36f74a}from'@univerjs/network';import{IDocClipboardService as _0x438b45,NodePositionConvertToCursor as _0x227981,NodePositionConvertToRectRange as _0x50b93f,TEXT_RANGE_LAYER_INDEX as _0x4593c,SetDocZoomRatioOperation as _0x37e01c,DocIMEInputManagerService as _0x5d2261,DocStateChangeManagerService as _0x11784e}from'@univerjs/docs-ui';import{IImageIoService as _0x4200a7}from'@univerjs/drawing';import{BehaviorSubject as _0x429bcf,debounceTime as _0x2a518c,takeUntil as _0x261b2e,Subject as _0x6c2d05,filter as _0x55b94a,switchMap as _0x99a4d5,merge as _0x27eff9,combineLatest as _0x528ae7,of as _0x103715,fromEvent as _0x3f6d7a,shareReplay as _0x2abf7b,mapTo as _0x24ee20,distinctUntilChanged as _0x34e89d}from'rxjs';import{ITransformService as _0x17392d,CollaborationEvent as _0x450a52,isTransformMutationFailure as _0x2b7e9d,isTransformMutationsWithChangesetSuccess as _0x456329,RevisionService as _0x2f1af2,ISnapshotServerService as _0x90fd4c}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x3bca87,RichTextEditingMutation as _0x36a77b,DocSelectionManagerService as _0x5c61d8,DocSkeletonManagerService as _0x5de454}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x31d6a9,serializeRangeWithSheet as _0xd417eb}from'@univerjs/engine-formula';import{RefRangeService as _0x53a72b,SetSelectionsOperation as _0x4aea2b,SheetsSelectionsService as _0x13fa00,EffectRefRangId as _0x11daa7,handleIRemoveRow as _0x572ff3,handleIRemoveCol as _0x591c61,handleMoveRange as _0xd0c377,handleInsertRow as _0x1cd1ac,handleInsertRangeMoveRight as _0xe053d,handleInsertRangeMoveDown as _0x163f4c,handleInsertCol as _0x2bc87b,handleDeleteRangeMoveUp as _0x5d674d,handleDeleteRangeMoveLeft as _0x2ebbc1,runRefRangeMutations as _0x17a067,SetWorksheetActivateCommand as _0xe922f0}from'@univerjs/sheets';import{map as _0x533962,filter as _0x8d6795,throttleTime as _0x17cf87,takeUntil as _0x2f0b60,switchMap as _0x3c013c}from'rxjs/operators';import{SheetSkeletonManagerService as _0x2a26d3,getCoordByCell as _0x14b95d,getSheetObject as _0x2bc514}from'@univerjs/sheets-ui';import{jsx as _0x4e4a13,jsxs as _0x348a57}from'react/jsx-runtime';import{useObservable as _0x36d065,useDependency as _0x16b329,IUIPartsService as _0xc6ecce,BuiltInUIPart as _0x1cb6c7,connectInjector as _0x9be80d,IBeforeCloseService as _0xcf8d2a,IMessageService as _0x31756d,INotificationService as _0x3bc4f0}from'@univerjs/ui';import{Tooltip as _0x1be8b8,clsx as _0x527e74,MessageType as _0x451ee9}from'@univerjs/design';import{forwardRef as _0x1aac4e,useRef as _0x1ee00a,createElement as _0x357080,useCallback as _0x434b10}from'react';import{IRemoteInstanceService as _0x1566a8}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0x371515,_0x31fd80,_0x5816b5,_0x380f9a)=>{const _0x379c28=_0x4a15b3;for(var _0x14e184=_0x380f9a>0x1?void 0x0:_0x380f9a?ci(_0x31fd80,_0x5816b5):_0x31fd80,_0x3ea2eb=_0x371515[_0x379c28(0x25c)]-0x1,_0x54d349;_0x3ea2eb>=0x0;_0x3ea2eb--)(_0x54d349=_0x371515[_0x3ea2eb])&&(_0x14e184=_0x54d349(_0x14e184)||_0x14e184);return _0x14e184;},Je=(_0x440929,_0x4e4a64)=>(_0x4fc829,_0x5b4488)=>_0x4e4a64(_0x4fc829,_0x5b4488,_0x440929);let Ne=class extends _0x9a5c56{constructor(_0xbabc28,_0x300582){const _0x4a6a73=_0x4a15b3;super(),this[_0x4a6a73(0x268)]=_0xbabc28,this[_0x4a6a73(0x1e0)]=_0x300582,this[_0x4a6a73(0x22b)]();}[_0x4a15b3(0x22b)](){const _0x22625f=_0x4a15b3,_0x339c97=this;this[_0x22625f(0x275)](this[_0x22625f(0x268)][_0x22625f(0x1e1)]({'onBeforePasteImage':async _0x28849b=>{const _0x386cfb=_0x22625f,_0x246448=await _0x339c97[_0x386cfb(0x1e0)][_0x386cfb(0x23e)](_0x28849b);return _0x246448?{'source':_0x246448[_0x386cfb(0xdc)],'imageSourceType':_0x246448['imageSourceType']}:null;}}));}};Ne=li([Je(0x0,_0x438b45),Je(0x1,_0x4200a7)],Ne);const Ze=[_0x4a15b3(0x180),'jiqing.500',_0x4a15b3(0x11b),_0x4a15b3(0x252),_0x4a15b3(0x213),_0x4a15b3(0x16a)];class ke extends _0x1c3a44{constructor(){const _0x2bfce5=_0x4a15b3;super(...arguments),_(this,_0x2bfce5(0x21b),new Map()),_(this,_0x2bfce5(0xe7),0x0);}[_0x4a15b3(0x1fa)](_0x5e2f7e){const _0x464bb4=_0x4a15b3;if(this[_0x464bb4(0x21b)][_0x464bb4(0x15e)](_0x5e2f7e))return this[_0x464bb4(0x21b)][_0x464bb4(0xf5)](_0x5e2f7e);const _0xd94695=Ze[this[_0x464bb4(0xe7)]];return this[_0x464bb4(0xe7)]=(this[_0x464bb4(0xe7)]+0x1)%Ze[_0x464bb4(0x25c)],this[_0x464bb4(0x21b)]['set'](_0x5e2f7e,_0xd94695),_0xd94695;}}function Tt(_0x586a7a){const _0x1288a5=_0x4a15b3;let _0x519cee='';for(const _0x1ad6f7 of _0x586a7a){const {startOffset:_0x9bbb1,endOffset:_0x362f44,isActive:_0x2be860,rangeType:_0x61e98e,segmentId:_0x51dda4,segmentPage:_0x3e76dd}=_0x1ad6f7;_0x519cee[_0x1288a5(0x25c)]&&(_0x519cee+=','),_0x519cee+=_0x9bbb1+':'+_0x362f44+':'+(_0x2be860?'1':'0')+':'+_0x61e98e+':'+_0x51dda4+':'+_0x3e76dd;}return _0x519cee;}function _i(_0x53f0e2){const _0x3d06a9=_0x4a15b3,_0x311a57=_0x53f0e2[_0x3d06a9(0x1f5)](','),_0x54d4f0=[];for(const _0x503821 of _0x311a57){const [_0x3372a5,_0xaaa319,_0x3a6784,_0x3c5752,_0x13a44a,_0x33990d]=_0x503821[_0x3d06a9(0x1f5)](':');_0x54d4f0[_0x3d06a9(0x17f)]({'startOffset':Number(_0x3372a5),'endOffset':Number(_0xaaa319),'collapsed':_0x3372a5===_0xaaa319,'isActive':_0x3a6784==='1','rangeType':_0x3c5752===_0x5889dc['TEXT']?_0x5889dc[_0x3d06a9(0x27f)]:_0x5889dc['RECT'],'segmentId':typeof _0x13a44a==_0x3d06a9(0x1b1)?String(_0x13a44a):'','segmentPage':Number(_0x33990d!=null?_0x33990d:-0x1)});}return _0x54d4f0['some'](_0x551c96=>_0x551c96[_0x3d06a9(0x2be)])||(_0x54d4f0[0x0]['isActive']=!0x0),_0x54d4f0;}class He extends _0x9a5c56{constructor(){const _0x44f9c7=_0x4a15b3;super(...arguments),_(this,_0x44f9c7(0x29f),new _0x429bcf(null)),_(this,'collabCursorState$',this[_0x44f9c7(0x29f)][_0x44f9c7(0x26d)]());}['syncEditingCollabCursor'](_0x4ed2e9){const _0x4d6012=_0x4a15b3,{unitID:_0x31b1ad,memberID:_0x22f54d,textRanges:_0x3b2c16}=_0x4ed2e9,_0x46d384=Tt(_0x3b2c16);if(_0x46d384==='')return;const _0x269419={'unitID':_0x31b1ad,'memberID':_0x22f54d,'selection':_0x46d384};this['_collabCursorState$'][_0x4d6012(0xf6)](_0x269419);}}var hi=Object['getOwnPropertyDescriptor'],ui=(_0x2123ef,_0x26d7e9,_0x288f61,_0x53578d)=>{for(var _0x309e2a=_0x53578d>0x1?void 0x0:_0x53578d?hi(_0x26d7e9,_0x288f61):_0x26d7e9,_0x5bb939=_0x2123ef['length']-0x1,_0x59c817;_0x5bb939>=0x0;_0x5bb939--)(_0x59c817=_0x2123ef[_0x5bb939])&&(_0x309e2a=_0x59c817(_0x309e2a)||_0x309e2a);return _0x309e2a;},P=(_0x1bebc2,_0x392b00)=>(_0x79d04d,_0x258260)=>_0x392b00(_0x79d04d,_0x258260,_0x1bebc2);const di=0x12c,fi=0x64;let Ue=class extends _0x9a5c56{constructor(_0x5a0ee6,_0x98b144,_0x21e65a,_0x49eb51,_0x2de2a5,_0x5f020c,_0x56251a,_0x3a4bdd,_0x5541ad){const _0x11f643=_0x4a15b3;super(),_(this,_0x11f643(0x2c0),!0x1),_(this,'_init',!0x1),_(this,_0x11f643(0x166),new _0x429bcf(new Map())),_(this,'cursorInfo$',this[_0x11f643(0x166)][_0x11f643(0x26d)]()),_(this,_0x11f643(0x276),new _0x429bcf([])),_(this,'roomMembers$',this[_0x11f643(0x276)][_0x11f643(0x134)](_0x2a518c(di))),_(this,_0x11f643(0xd9),_0x124c3e(_0x581851=>{const _0x3d4031=_0x11f643,_0x3f3318={'eventID':_0x450a52[_0x3d4031(0xf7)],'data':{'unitID':this[_0x3d4031(0x194)],'memberID':this[_0x3d4031(0x1da)][_0x3d4031(0xf4)](),'selection':Tt(_0x581851)}};this[_0x3d4031(0x1da)][_0x3d4031(0x234)](_0x3f3318,this[_0x3d4031(0x194)]);},fi)),(this[_0x11f643(0x194)]=_0x5a0ee6,this[_0x11f643(0x1da)]=_0x98b144,this['_injector']=_0x21e65a,this[_0x11f643(0x233)]=_0x49eb51,this[_0x11f643(0x24e)]=_0x2de2a5,this[_0x11f643(0x15a)]=_0x5f020c,this[_0x11f643(0x16b)]=_0x56251a,this[_0x11f643(0x216)]=_0x3a4bdd,this[_0x11f643(0xea)]=_0x5541ad);}get[_0x4a15b3(0x152)](){const _0x35b8db=_0x4a15b3;return this[_0x35b8db(0x166)]['getValue']();}get['roomMembers'](){return this['_roomMembers$']['getValue']();}[_0x4a15b3(0xd4)](){const _0x4ce602=_0x4a15b3;super[_0x4ce602(0xd4)](),this[_0x4ce602(0x166)][_0x4ce602(0xf6)](new Map()),this[_0x4ce602(0x166)]['complete'](),this[_0x4ce602(0x276)]['next']([]),this['_roomMembers$']['complete']();}[_0x4a15b3(0x27c)](){const _0x16f667=_0x4a15b3;this[_0x16f667(0x22b)]||(this[_0x16f667(0x22b)]=!0x0,this[_0x16f667(0x1da)]['sessionStatus$'][_0x16f667(0x134)](_0x261b2e(this['dispose$']))[_0x16f667(0x226)](_0x3a3eba=>{const _0x5946d7=_0x16f667;_0x3a3eba===_0x30c0f3['ONLINE']?this[_0x5946d7(0xe1)]():this[_0x5946d7(0x1ec)]();}),this[_0x16f667(0x1da)][_0x16f667(0x157)][_0x16f667(0x134)](_0x261b2e(this[_0x16f667(0x19c)]))[_0x16f667(0x226)](_0x1876bc=>{const _0x297a16=_0x16f667,_0x8eb965=_0x1876bc['eventID'];_0x8eb965===_0x450a52[_0x297a16(0xf7)]&&this[_0x297a16(0x137)](_0x1876bc),_0x8eb965===_0x450a52[_0x297a16(0xdd)]&&this[_0x297a16(0x24f)](_0x1876bc);}),this[_0x16f667(0x275)](this['_commandService'][_0x16f667(0x121)](_0x164e2e=>{const _0x335b36=_0x16f667,_0x27339d=_0x164e2e['params'];_0x27339d!=null&&this[_0x335b36(0x2c0)]&&_0x164e2e['id']===_0x3bca87['id']&&_0x27339d[_0x335b36(0x20c)]===this['unitID']&&_0x27339d[_0x335b36(0xf0)]===!0x1&&_0x27339d[_0x335b36(0x265)]['length']>0x0&&this[_0x335b36(0xd9)](_0x27339d['ranges']);})),this[_0x16f667(0x15a)][_0x16f667(0x2b7)][_0x16f667(0x134)](_0x261b2e(this[_0x16f667(0x19c)]))[_0x16f667(0x226)](_0x17424d=>{const _0x2725b7=_0x16f667;if((_0x17424d==null?void 0x0:_0x17424d[_0x2725b7(0x194)])!==this[_0x2725b7(0x194)])return;const _0x172b89={'eventID':_0x450a52[_0x2725b7(0xf7)],'data':_0x17424d};this[_0x2725b7(0x137)](_0x172b89);}),this[_0x16f667(0x275)](this[_0x16f667(0xea)][_0x16f667(0x121)](_0x3b5982=>{const _0x1e4eb4=_0x16f667;if(_0x3b5982[_0x1e4eb4(0x23d)]==null)return;const _0x46b943=_0x3b5982['params'];if(_0x3b5982['id']!==_0x36a77b['id']||_0x46b943['unitId']!==this[_0x1e4eb4(0x194)])return;const _0x6840c6={'id':_0x1e4eb4(0x278),'params':_0x46b943},_0x1e3f5b=this[_0x1e4eb4(0x152)];for(const [_0x403edf,_0x3cc03b]of _0x1e3f5b){const _0x21a718={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x3cc03b['ranges']}},_0x5ac3c1=this[_0x1e4eb4(0x16b)][_0x1e4eb4(0x14e)](_0x6840c6,_0x21a718,!0x1);if(_0x2b7e9d(_0x5ac3c1))throw _0x5ac3c1[_0x1e4eb4(0x18c)];_0x1e3f5b['set'](_0x403edf,{..._0x3cc03b,'ranges':_0x5ac3c1['m2Prime'][_0x1e4eb4(0x23d)][_0x1e4eb4(0x20f)]});}queueMicrotask(()=>{const _0x2a0873=_0x1e4eb4;this['_cursorInfo$'][_0x2a0873(0xf6)](_0x1e3f5b);});})));}[_0x4a15b3(0x137)](_0x5485a7){const _0x31b0d1=_0x4a15b3;var _0x3aff83,_0x415b8f;const {memberID:_0x33812e,selection:_0x536fc8}=_0x5485a7[_0x31b0d1(0x1b7)],_0x164a29=_i(_0x536fc8),_0x48c4a1=(_0x415b8f=(_0x3aff83=this[_0x31b0d1(0x24e)][_0x31b0d1(0x1d4)](this[_0x31b0d1(0x194)],_0x33812e))==null?void 0x0:_0x3aff83[_0x31b0d1(0x17b)])!=null?_0x415b8f:_0x31b0d1(0x138),_0x3eeb0f={'color':this['_colorAssignService'][_0x31b0d1(0x1fa)](_0x33812e),'name':_0x48c4a1,'ranges':_0x164a29},_0x49bdbe=this['cursorInfo'];_0x49bdbe[_0x31b0d1(0xcc)](_0x33812e,_0x3eeb0f),this[_0x31b0d1(0x166)][_0x31b0d1(0xf6)](_0x49bdbe);}[_0x4a15b3(0x24f)](_0xb92326){const _0x5b9390=_0x4a15b3,{memberID:_0x3a0455}=_0xb92326['data'],_0xa0245d=this['cursorInfo'];_0xa0245d[_0x5b9390(0x2ab)](_0x3a0455),this[_0x5b9390(0x166)][_0x5b9390(0xf6)](_0xa0245d);}[_0x4a15b3(0xe1)](){const _0x15de00=_0x4a15b3;var _0x100fa9;if(this['_online']=!0x0,((_0x100fa9=this[_0x15de00(0x216)][_0x15de00(0x2bd)]())==null?void 0x0:_0x100fa9[_0x15de00(0xc7)]())!==this[_0x15de00(0x194)])return;const _0x106c9e=this['_injector'][_0x15de00(0xf5)](_0x5c61d8)[_0x15de00(0x10a)]();Array[_0x15de00(0x212)](_0x106c9e)&&_0x106c9e[_0x15de00(0x25c)]>0x0&&this[_0x15de00(0xd9)](_0x106c9e);}[_0x4a15b3(0x1ec)](){const _0x5dba73=_0x4a15b3;this[_0x5dba73(0x2c0)]=!0x1;}};Ue=ui([P(0x2,_0x59cccc(_0x352cac)),P(0x3,_0x59cccc(ke)),P(0x4,_0x59cccc(_0x4eb884)),P(0x5,_0x59cccc(He)),P(0x6,_0x17392d),P(0x7,_0x261934),P(0x8,_0x44cdb6)],Ue);var Si=Object[_0x4a15b3(0x161)],mi=(_0x22e0f8,_0x1f7ae7,_0x4a32c9,_0x4ba1c1)=>{for(var _0x2af4bf=_0x4ba1c1>0x1?void 0x0:_0x4ba1c1?Si(_0x1f7ae7,_0x4a32c9):_0x1f7ae7,_0x4f8915=_0x22e0f8['length']-0x1,_0x4ea1a4;_0x4f8915>=0x0;_0x4f8915--)(_0x4ea1a4=_0x22e0f8[_0x4f8915])&&(_0x2af4bf=_0x4ea1a4(_0x2af4bf)||_0x2af4bf);return _0x2af4bf;},x=(_0x21e60b,_0x3f8642)=>(_0x1789d3,_0x5d0b44)=>_0x3f8642(_0x1789d3,_0x5d0b44,_0x21e60b);const Ii=0x12c,gi=0x64,vi=()=>{let _0x1ec0b0=[],_0x482352=!0x1;return _0x40c25b=>{const _0x1524fa=_0x55c0;_0x1ec0b0[_0x1524fa(0x17f)](_0x40c25b),_0x482352||(_0x482352=!0x0,setTimeout(()=>{const _0x204e43=_0x1524fa;_0x1ec0b0[_0x204e43(0x139)](_0x535115=>_0x535115()),_0x1ec0b0=[],_0x482352=!0x1;}));};};let Me=class extends _0x9a5c56{constructor(_0x3b1de8,_0x3cc61b,_0x5c65f9,_0xd44932,_0xe27a59,_0x3e90b4,_0x10d29f,_0x54e29d){const _0x594dc6=_0x4a15b3;super(),_(this,_0x594dc6(0x2c0),!0x1),_(this,_0x594dc6(0x22b),!0x1),_(this,_0x594dc6(0x166),new _0x429bcf(new Map())),_(this,_0x594dc6(0x2ac),this[_0x594dc6(0x166)]['asObservable']()),_(this,_0x594dc6(0x276),new _0x429bcf([])),_(this,_0x594dc6(0x248),this['_roomMembers$'][_0x594dc6(0x134)](_0x2a518c(Ii))),_(this,_0x594dc6(0xd9),_0x124c3e((_0x27c37e,_0x51bf3)=>{const _0x156260=_0x594dc6,_0x99b837={'eventID':_0x450a52[_0x156260(0xf7)],'data':{'unitID':this[_0x156260(0x194)],'memberID':this[_0x156260(0x1da)][_0x156260(0xf4)](),'selection':_0xd417eb(_0x27c37e,_0x51bf3[_0x156260(0x12c)])}};this['_session'][_0x156260(0x234)](_0x99b837,this[_0x156260(0x194)]);},gi)),(this['unitID']=_0x3b1de8,this[_0x594dc6(0x1da)]=_0x3cc61b,this[_0x594dc6(0x162)]=_0x5c65f9,this['_colorAssignService']=_0xd44932,this['_memberService']=_0xe27a59,this['_univerInstanceService']=_0x3e90b4,this[_0x594dc6(0xea)]=_0x10d29f,this[_0x594dc6(0x149)]=_0x54e29d);}get[_0x4a15b3(0x152)](){const _0x3d8da1=_0x4a15b3;return this[_0x3d8da1(0x166)][_0x3d8da1(0x21f)]();}get[_0x4a15b3(0x29e)](){const _0x4124e3=_0x4a15b3;return this[_0x4124e3(0x276)][_0x4124e3(0x21f)]();}['dispose'](){const _0xbfdd41=_0x4a15b3;super[_0xbfdd41(0xd4)](),this[_0xbfdd41(0x166)][_0xbfdd41(0xf6)](new Map()),this['_cursorInfo$']['complete'](),this[_0xbfdd41(0x276)][_0xbfdd41(0xf6)]([]),this[_0xbfdd41(0x276)][_0xbfdd41(0x11d)]();}[_0x4a15b3(0x27c)](){const _0x1694b5=_0x4a15b3;this[_0x1694b5(0x22b)]||(this[_0x1694b5(0x22b)]=!0x0,this[_0x1694b5(0x1da)]['sessionStatus$'][_0x1694b5(0x134)](_0x261b2e(this[_0x1694b5(0x19c)]))[_0x1694b5(0x226)](_0x5c5e54=>{const _0x39fde4=_0x1694b5;_0x5c5e54===_0x30c0f3[_0x39fde4(0x214)]?this[_0x39fde4(0xe1)]():this[_0x39fde4(0x1ec)]();}),this[_0x1694b5(0x1da)][_0x1694b5(0x157)][_0x1694b5(0x134)](_0x261b2e(this[_0x1694b5(0x19c)]))['subscribe'](_0x486779=>{const _0x30edc5=_0x1694b5,_0x35373c=_0x486779['eventID'];_0x35373c===_0x450a52[_0x30edc5(0xf7)]&&this[_0x30edc5(0x137)](_0x486779),_0x35373c===_0x450a52[_0x30edc5(0xdd)]&&this['_onCursorDelete'](_0x486779);}),this[_0x1694b5(0x2a5)](),this[_0x1694b5(0x275)](this[_0x1694b5(0xea)][_0x1694b5(0x121)](_0x144cad=>{const _0x101961=_0x1694b5;if(this[_0x101961(0x2c0)]&&_0x144cad['id']===_0x4aea2b['id']&&_0x144cad[_0x101961(0x23d)][_0x101961(0x20c)]===this[_0x101961(0x194)]){const _0x50de4=_0x144cad['params'];this[_0x101961(0xd9)](_0x50de4[_0x101961(0x1fc)],_0x50de4['selections'][0x0]);}})));}[_0x4a15b3(0x137)](_0x28d664){const _0x542133=_0x4a15b3;var _0x5732d5,_0xc92526;const {memberID:_0x4bbde1,selection:_0x5eacef}=_0x28d664[_0x542133(0x1b7)],{sheetName:_0x295517,range:_0x1417ca}=_0x31d6a9(_0x5eacef),_0x19040a={'name':(_0xc92526=(_0x5732d5=this[_0x542133(0x24e)]['getMember'](this[_0x542133(0x194)],_0x4bbde1))==null?void 0x0:_0x5732d5['name'])!=null?_0xc92526:_0x542133(0x138),'range':this[_0x542133(0xd2)](_0x295517,_0x1417ca),'sheetID':_0x295517,'color':this[_0x542133(0x233)][_0x542133(0x1fa)](_0x4bbde1),'selection':_0x5eacef},_0x182613=this[_0x542133(0x152)];_0x182613[_0x542133(0xcc)](_0x4bbde1,_0x19040a),this[_0x542133(0x166)][_0x542133(0xf6)](_0x182613);}['_onCursorDelete'](_0x307dc8){const _0x447a09=_0x4a15b3,{memberID:_0x111ed4}=_0x307dc8[_0x447a09(0x1b7)],_0x28e991=this['cursorInfo'];_0x28e991[_0x447a09(0x2ab)](_0x111ed4),this['_cursorInfo$'][_0x447a09(0xf6)](_0x28e991);}[_0x4a15b3(0xd2)](_0x110ffb,_0x1fad18){const _0x4a9917=_0x4a15b3;var _0x24d63d,_0x7296c0;const _0xbe059c=(_0x7296c0=(_0x24d63d=this[_0x4a9917(0x216)][_0x4a9917(0x24a)](this[_0x4a9917(0x194)]))==null?void 0x0:_0x24d63d[_0x4a9917(0x173)](_0x110ffb))==null?void 0x0:_0x7296c0[_0x4a9917(0xe8)]();return(_0xbe059c==null?void 0x0:_0xbe059c[_0x4a9917(0x198)](_0x43beac=>_0xe97544['contains'](_0x43beac,_0x1fad18)))||_0x1fad18;}[_0x4a15b3(0x2a5)](){const _0xcd081d=_0x4a15b3,_0x2db6c4=new _0x40c46f(),_0x21d956=vi(),_0x10a140=()=>{const _0x257db0=_0x55c0;_0x2db6c4[_0x257db0(0xd4)]();const _0x48f594=(_0x2c25f2,_0x4959f9,_0x1f092d,_0x32bc90)=>{const _0x4bd43d=_0x257db0;let _0x2ae685=[];switch(_0x2c25f2['id']){case _0x11daa7['DeleteRangeMoveLeftCommandId']:{_0x2ae685=_0x2ebbc1(_0x2c25f2,_0x32bc90);break;}case _0x11daa7[_0x4bd43d(0x1f7)]:{_0x2ae685=_0x5d674d(_0x2c25f2,_0x32bc90);break;}case _0x11daa7[_0x4bd43d(0x151)]:{_0x2ae685=_0x2bc87b(_0x2c25f2,_0x32bc90);break;}case _0x11daa7[_0x4bd43d(0x11e)]:{_0x2ae685=_0x163f4c(_0x2c25f2,_0x32bc90);break;}case _0x11daa7['InsertRangeMoveRightCommandId']:{_0x2ae685=_0xe053d(_0x2c25f2,_0x32bc90);break;}case _0x11daa7['InsertRowCommandId']:{_0x2ae685=_0x1cd1ac(_0x2c25f2,_0x32bc90);break;}case _0x11daa7['MoveRangeCommandId']:{_0x2ae685=_0xd0c377(_0x2c25f2,_0x32bc90);break;}case _0x11daa7[_0x4bd43d(0x261)]:{_0x2ae685=_0x591c61(_0x2c25f2,_0x32bc90);break;}case _0x11daa7['RemoveRowCommandId']:{_0x2ae685=_0x572ff3(_0x2c25f2,_0x32bc90);break;}}const _0x3ecf5f=_0x17a067(_0x2ae685,_0x32bc90),_0x3c0ef1=this['cursorInfo']['get'](_0x4959f9);if(_0x3c0ef1&&_0x3ecf5f){const _0x1b9762={..._0x3c0ef1,'range':_0x3ecf5f};this[_0x4bd43d(0x152)][_0x4bd43d(0xcc)](_0x4959f9,_0x1b9762),_0x21d956(()=>{const _0x2fd71e=_0x4bd43d,_0x4e7655=this[_0x2fd71e(0x149)][_0x2fd71e(0xdf)](_0x3ecf5f,_0x4d495c=>(_0x4e7655['dispose'](),_0x48f594(_0x4d495c,_0x4959f9,_0x1f092d,_0x3ecf5f)));_0x2db6c4[_0x2fd71e(0x1a6)](_0x4e7655);});}return{'redos':[],'undos':[]};};this[_0x257db0(0x152)][_0x257db0(0x139)]((_0x23b19e,_0x3921ce)=>{const _0x75e7e0=_0x257db0,{range:_0x493ca8,sheetID:_0x1d9f89}=_0x23b19e,_0x2c2cd6=this[_0x75e7e0(0x149)][_0x75e7e0(0xdf)](_0x493ca8,_0x2a679b=>(_0x2c2cd6[_0x75e7e0(0xd4)](),_0x48f594(_0x2a679b,_0x3921ce,_0x1d9f89,_0x493ca8)));_0x2db6c4[_0x75e7e0(0x1a6)](_0x2c2cd6);});};this[_0xcd081d(0x275)](_0x4d8874(this[_0xcd081d(0x166)][_0xcd081d(0x226)](()=>{_0x10a140();})));}[_0x4a15b3(0xe1)](){const _0x304dd0=_0x4a15b3;var _0x23fcfb,_0x1e32fe;if(this['_online']=!0x0,((_0x23fcfb=this[_0x304dd0(0x216)][_0x304dd0(0x2bd)]())==null?void 0x0:_0x23fcfb[_0x304dd0(0xc7)]())!==this[_0x304dd0(0x194)])return;const _0x68fae4=(_0x1e32fe=this[_0x304dd0(0x162)][_0x304dd0(0xf5)](_0x13fa00)['getCurrentSelections']())==null?void 0x0:_0x1e32fe[0x0],_0x3d224c=this[_0x304dd0(0x216)][_0x304dd0(0x13b)](_0x52e3e5[_0x304dd0(0x23f)])[_0x304dd0(0x25d)]();_0x68fae4&&_0x3d224c&&this[_0x304dd0(0xd9)](_0x3d224c[_0x304dd0(0x1c0)](),_0x68fae4);}[_0x4a15b3(0x1ec)](){const _0x44300b=_0x4a15b3;this[_0x44300b(0x2c0)]=!0x1;}};Me=mi([x(0x2,_0x59cccc(_0x352cac)),x(0x3,_0x59cccc(ke)),x(0x4,_0x59cccc(_0x4eb884)),x(0x5,_0x261934),x(0x6,_0x44cdb6),x(0x7,_0x59cccc(_0x53a72b))],Me);var pi=Object[_0x4a15b3(0x161)],Ci=(_0x1a3628,_0x3c3134,_0x2a97f8,_0x291f95)=>{const _0x2f010b=_0x4a15b3;for(var _0x2e12a2=_0x291f95>0x1?void 0x0:_0x291f95?pi(_0x3c3134,_0x2a97f8):_0x3c3134,_0x4b68bd=_0x1a3628[_0x2f010b(0x25c)]-0x1,_0x264ed6;_0x4b68bd>=0x0;_0x4b68bd--)(_0x264ed6=_0x1a3628[_0x4b68bd])&&(_0x2e12a2=_0x264ed6(_0x2e12a2)||_0x2e12a2);return _0x2e12a2;},Se=(_0x2debc6,_0x2f9f06)=>(_0x3852bd,_0x5e27c7)=>_0x2f9f06(_0x3852bd,_0x5e27c7,_0x2debc6);let H=class extends _0x9a5c56{constructor(_0xcc615,_0x3f6575,_0x25a104){const _0x4e8fb4=_0x4a15b3;super(),_(this,_0x4e8fb4(0x170),new Map()),_(this,_0x4e8fb4(0x1d8),new _0x6c2d05()),(this[_0x4e8fb4(0x216)]=_0xcc615,this[_0x4e8fb4(0x162)]=_0x3f6575,this[_0x4e8fb4(0x258)]=_0x25a104,this['_init']());}['dispose'](){const _0x42dcde=_0x4a15b3;super['dispose'](),this[_0x42dcde(0x1d8)]['complete'](),this[_0x42dcde(0x170)][_0x42dcde(0x139)](_0x1c3428=>_0x1c3428['dispose']());}[_0x4a15b3(0x1b4)](_0x4e8dc5){const _0x47fadf=_0x4a15b3;return this['_entities'][_0x47fadf(0x15e)](_0x4e8dc5)?this['_entities']['get'](_0x4e8dc5)[_0x47fadf(0x2ac)]:this['_entityInit$'][_0x47fadf(0x134)](_0x55b94a(_0x49afb5=>_0x49afb5[_0x47fadf(0x194)]===_0x4e8dc5),_0x99a4d5(_0x32622e=>_0x32622e[_0x47fadf(0x2ac)]));}[_0x4a15b3(0x22b)](){const _0x33adf1=_0x4a15b3;this[_0x33adf1(0x216)]['getTypeOfUnitAdded$'](_0x52e3e5[_0x33adf1(0x23f)])['pipe'](_0x261b2e(this['dispose$']))['subscribe'](async _0x1654e7=>{const _0x22cb10=_0x33adf1,_0x153f01=_0x1654e7['getUnitId'](),_0xf57c81=await this[_0x22cb10(0x223)](_0x153f01);this['_entityInit$'][_0x22cb10(0xf6)](_0xf57c81),this['_entities'][_0x22cb10(0xcc)](_0x153f01,_0xf57c81);}),this[_0x33adf1(0x216)][_0x33adf1(0x12d)](_0x52e3e5['UNIVER_DOC'])[_0x33adf1(0x134)](_0x261b2e(this[_0x33adf1(0x19c)]))[_0x33adf1(0x134)](_0x55b94a(_0x3f5539=>!_0x3f5539[_0x33adf1(0xc7)]()[_0x33adf1(0x2b8)]('__')))['subscribe'](async _0xaba100=>{const _0x3ba772=_0x33adf1,_0x3413a5=_0xaba100['getUnitId'](),_0x588133=await this[_0x3ba772(0x12f)](_0x3413a5);this['_entityInit$'][_0x3ba772(0xf6)](_0x588133),this[_0x3ba772(0x170)]['set'](_0x3413a5,_0x588133);}),_0x27eff9(this['_univerInstanceService'][_0x33adf1(0x1df)](_0x52e3e5['UNIVER_DOC']),this[_0x33adf1(0x216)][_0x33adf1(0x1df)](_0x52e3e5[_0x33adf1(0x23f)]))['pipe'](_0x261b2e(this[_0x33adf1(0x19c)]))[_0x33adf1(0x226)](_0x599880=>{const _0x280a31=_0x33adf1,_0x4741c4=_0x599880[_0x280a31(0xc7)](),_0x381fde=this[_0x280a31(0x170)][_0x280a31(0xf5)](_0x4741c4);_0x381fde&&(_0x381fde[_0x280a31(0xd4)](),this[_0x280a31(0x170)][_0x280a31(0x2ab)](_0x4741c4));});}async[_0x4a15b3(0x223)](_0x3dfd63){const _0x3ce59d=_0x4a15b3,_0x5e050=await this['_collabSessionService'][_0x3ce59d(0x2bf)](_0x3dfd63),_0x4c8174=this[_0x3ce59d(0x162)]['createInstance'](Me,_0x3dfd63,_0x5e050);return _0x4c8174[_0x3ce59d(0x27c)](),_0x4c8174;}async[_0x4a15b3(0x12f)](_0x4f4875){const _0x49d730=_0x4a15b3,_0x44d633=await this[_0x49d730(0x258)][_0x49d730(0x2bf)](_0x4f4875),_0x273c39=this[_0x49d730(0x162)]['createInstance'](Ue,_0x4f4875,_0x44d633);return _0x273c39[_0x49d730(0x27c)](),_0x273c39;}};H=Ci([Se(0x0,_0x261934),Se(0x1,_0x59cccc(_0x352cac)),Se(0x2,_0x59cccc(_0x2f1c26))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x4e93bf,_0x38befe){const _0x3eac58=_0x4a15b3;let {radius:_0x1b4cd9,width:_0xc85c46,height:_0x34e69a}=_0x38befe;_0x1b4cd9=_0x1b4cd9!=null?_0x1b4cd9:0x0,_0xc85c46=_0xc85c46!=null?_0xc85c46:0x1e,_0x34e69a=_0x34e69a!=null?_0x34e69a:0x1e;let _0x221b8e=0x0,_0x4db95e=0x0,_0x152236=0x0;_0x221b8e=_0x4db95e=_0x152236=Math[_0x3eac58(0x29a)](_0x1b4cd9,_0xc85c46/0x2,_0x34e69a/0x2),_0x4e93bf[_0x3eac58(0x23b)](),_0x4e93bf['moveTo'](_0x221b8e,0x0),_0x4e93bf['lineTo'](_0xc85c46-_0x4db95e,0x0),_0x4e93bf['arc'](_0xc85c46-_0x4db95e,_0x4db95e,_0x4db95e,Math['PI']*0x3/0x2,0x0,!0x1),_0x4e93bf[_0x3eac58(0x240)](_0xc85c46,_0x34e69a-_0x152236),_0x4e93bf[_0x3eac58(0x254)](_0xc85c46-_0x152236,_0x34e69a-_0x152236,_0x152236,0x0,Math['PI']/0x2,!0x1),_0x4e93bf[_0x3eac58(0x240)](0x0,_0x34e69a),_0x4e93bf[_0x3eac58(0x240)](0x0,_0x221b8e),_0x4e93bf[_0x3eac58(0x254)](_0x221b8e,_0x221b8e,_0x221b8e,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4e93bf[_0x3eac58(0x127)](),_0x38befe[_0x3eac58(0x270)]&&(_0x4e93bf[_0x3eac58(0x227)](),_0x4e93bf[_0x3eac58(0xcf)]=_0x38befe[_0x3eac58(0x270)],_0x38befe[_0x3eac58(0x2a7)]===_0x3eac58(0x1a4)?_0x4e93bf['fill'](_0x3eac58(0x1a4)):_0x4e93bf[_0x3eac58(0x270)](),_0x4e93bf[_0x3eac58(0x13d)]());}class he extends _0x18f209{constructor(_0x143c91,_0x51924c){const _0x123553=_0x4a15b3;super(_0x143c91,_0x51924c),_(this,_0x123553(0x297)),_(this,_0x123553(0x10e)),(this['color']=_0x51924c==null?void 0x0:_0x51924c[_0x123553(0x297)],this['text']=_0x51924c==null?void 0x0:_0x51924c[_0x123553(0x10e)]);}static['drawWith'](_0x9babfe,_0x2a6400){const _0x46ec36=_0x4a15b3,{text:_0xf389f0,color:_0xd91d9d}=_0x2a6400;_0x9babfe[_0x46ec36(0x227)](),_0x9babfe[_0x46ec36(0x14a)]=_0x46ec36(0x1f6);const _0x4aba0e=_0x9babfe[_0x46ec36(0x27a)](_0xf389f0)[_0x46ec36(0x146)],_0x4d1908=Math[_0x46ec36(0x29a)](_0x4aba0e+0x2*me,Qe);Oi(_0x9babfe,{'height':ee,'radius':0x4,'width':_0x4d1908,'fill':_0xd91d9d}),_0x9babfe[_0x46ec36(0xcf)]=_0x46ec36(0x2b5);const _0xadbb73=me,_0x21d596=ee-Ei,_0x54c8e6=Qe-0x2*me;if(_0x4aba0e>_0x54c8e6){let _0x2ccbc6='',_0x1ec9ee=0x0;for(const _0x425141 of _0xf389f0){const _0x5a30f9=_0x9babfe[_0x46ec36(0x27a)](_0x425141)['width'];if(_0x1ec9ee+_0x5a30f9<=_0x54c8e6-_0x9babfe[_0x46ec36(0x27a)](_0x46ec36(0x164))[_0x46ec36(0x146)])_0x2ccbc6+=_0x425141,_0x1ec9ee+=_0x5a30f9;else{_0x2ccbc6+=_0x46ec36(0x164);break;}}_0x9babfe[_0x46ec36(0x26b)](_0x2ccbc6,_0xadbb73,_0x21d596);}else _0x9babfe[_0x46ec36(0x26b)](_0xf389f0,_0xadbb73,_0x21d596);_0x9babfe[_0x46ec36(0x13d)]();}[_0x4a15b3(0x251)](_0x495dfc){const _0x300feb=_0x4a15b3;he[_0x300feb(0x1af)](_0x495dfc,this);}}const Ie='collab-text-anchor-',bi=_0x4a15b3(0x110),Ti='collab-rect-range-',X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x4a15b3(0x116);class qe{constructor(_0x26e7f4,_0x51ac01,_0x3cc0a9,_0x105d50){const _0x1be53d=_0x4a15b3;_(this,_0x1be53d(0x1f4),[]),_(this,_0x1be53d(0x242),null),_(this,'_textBubble',null),_(this,_0x1be53d(0x263),null),_(this,_0x1be53d(0x16c),null),_(this,_0x1be53d(0x284),null),(this[_0x1be53d(0x143)]=_0x26e7f4,this[_0x1be53d(0x17d)]=_0x51ac01,this['_docSkeleton']=_0x3cc0a9,this[_0x1be53d(0x165)]=_0x105d50,this[_0x1be53d(0x1d9)]());}set[_0x4a15b3(0x129)](_0x3a00cd){const _0xd4590c=_0x4a15b3;_0x3a00cd?(this[_0xd4590c(0x263)]&&this[_0xd4590c(0x263)][_0xd4590c(0x1b9)](),this['_textBubble']&&this[_0xd4590c(0x19e)][_0xd4590c(0x1bf)]()):(this[_0xd4590c(0x263)]&&this[_0xd4590c(0x263)][_0xd4590c(0x1bf)](),this['_textBubble']&&this[_0xd4590c(0x19e)][_0xd4590c(0x1b9)]());}[_0x4a15b3(0xd4)](){const _0x3cd637=_0x4a15b3;for(const _0x2b0e24 of this['_shapes'])_0x2b0e24[_0x3cd637(0xd4)]();this[_0x3cd637(0x19e)]&&this['_textBubble'][_0x3cd637(0xd4)](),this['_anchorDot']&&this[_0x3cd637(0x263)][_0x3cd637(0xd4)](),this[_0x3cd637(0x242)]&&this[_0x3cd637(0x242)][_0x3cd637(0xd4)](),this['_eventUnsubscribe']&&this[_0x3cd637(0x284)]();}['_render'](){const _0x320d5e=_0x4a15b3;var _0x5cc1ab;const {_docSkeleton:_0xb0f98f,_document:_0x29271f}=this,{color:_0x2d959a,name:_0x4cef74,ranges:_0x2ac90e}=this[_0x320d5e(0x143)],_0x10f217=_0x29271f[_0x320d5e(0x1f9)](),{docsLeft:_0x4ea8bf,docsTop:_0x1eca11}=_0x10f217,_0x1bc5e7=new _0x227981(_0x10f217,_0xb0f98f);for(const {startOffset:_0x55d07d,endOffset:_0x20105e,rangeType:_0x10f8fb,segmentId:_0x51fd79,segmentPage:_0x34ae76,collapsed:_0x3304e9,isActive:_0x1b9e15}of _0x2ac90e){const _0x1442fc=_0xb0f98f['findNodePositionByCharIndex'](_0x55d07d,!0x0,_0x51fd79,_0x34ae76);let _0x5a55b9=_0xb0f98f[_0x320d5e(0x147)](_0x20105e,!0x0,_0x51fd79,_0x34ae76);if(_0x5a55b9==null&&(_0x5a55b9=_0xb0f98f[_0x320d5e(0x147)](_0x20105e-0x1,!0x1,_0x51fd79,_0x34ae76)),_0x1b9e15){const {contentBoxPointGroup:_0x33b827}=_0x1bc5e7['getRangePointData'](_0x5a55b9,_0x5a55b9);if(_0x33b827[_0x320d5e(0x25c)]===0x0)continue;this[_0x320d5e(0x18e)](_0x2d959a,_0x33b827,_0x4ea8bf,_0x1eca11,_0x4cef74),this['_eventUnsubscribe']=this['_handleHover']();}if(_0x1442fc&&_0x5a55b9){if(_0x10f8fb===_0x5889dc[_0x320d5e(0x1c1)]){const _0x5bfc11=new _0x50b93f(_0x10f217,_0xb0f98f),{pointGroup:_0x277ece}=(_0x5cc1ab=_0x5bfc11[_0x320d5e(0x13e)](_0x1442fc,_0x5a55b9))!=null?_0x5cc1ab:{};if(_0x277ece==null||_0x277ece[_0x320d5e(0x25c)]===0x0)continue;this[_0x320d5e(0x11f)](_0x2d959a,_0x277ece,_0x4ea8bf,_0x1eca11);}else{if(!_0x3304e9){const {borderBoxPointGroup:_0x2b8e0c}=_0x1bc5e7[_0x320d5e(0x13e)](_0x1442fc,_0x5a55b9);if(_0x2b8e0c[_0x320d5e(0x25c)]===0x0)continue;this[_0x320d5e(0x1ca)](_0x2d959a,_0x2b8e0c,_0x4ea8bf,_0x1eca11);}}}}}[_0x4a15b3(0x18e)](_0x213f9f,_0x418f9e,_0x535aff,_0x140f5d,_0xe548d0){const _0x4d1fd7=_0x4a15b3,_0x5957ec=this[_0x4d1fd7(0x1c3)](_0x418f9e),{left:_0x5a1801,top:_0x54ed07,height:_0x5f591e}=_0x5957ec,_0xc0e767=this['_getScale'](),_0x301353=Di/_0xc0e767,_0x3e6b13=new _0x5d1c55(Ie+_0x4b4ba9[_0x4d1fd7(0x15c)](X),{'left':_0x5a1801+_0x535aff-_0x301353,'top':_0x54ed07+_0x140f5d,'height':_0x5f591e,'width':Ri,'fill':_0x213f9f||_0x37a7df(_0x5d2a0d[_0x4d1fd7(0x125)],0x0),'strokeWidth':_0x301353,'stroke':Ni,'evented':!0x0});this[_0x4d1fd7(0x242)]=_0x3e6b13,this[_0x4d1fd7(0x17d)]['addObject'](_0x3e6b13,_0x4593c);const _0x2e5f02=new _0x5d1c55(Ie+_0x4b4ba9[_0x4d1fd7(0x15c)](X),{'left':_0x5a1801+_0x535aff-_0x301353,'top':_0x54ed07+_0x140f5d-ge/0x2,'height':ge,'width':ge,'fill':_0x213f9f||_0x37a7df(_0x5d2a0d['black'],0x0),'strokeWidth':0x0,'stroke':_0x213f9f||_0x37a7df(_0x5d2a0d[_0x4d1fd7(0x125)],0x0),'evented':!0x1});this['_anchorDot']=_0x2e5f02,this[_0x4d1fd7(0x17d)][_0x4d1fd7(0x27d)](_0x2e5f02,_0x4593c);const _0x46a574=new he(Ie+_0x4b4ba9[_0x4d1fd7(0x15c)](X),{'left':_0x5a1801+_0x535aff-_0x301353,'top':_0x54ed07+_0x140f5d-ee,'text':_0xe548d0,'color':_0x213f9f});this[_0x4d1fd7(0x19e)]=_0x46a574,this[_0x4d1fd7(0x17d)]['addObject'](_0x46a574,_0x4593c),this['_hover']=!0x1;}[_0x4a15b3(0x1d2)](){const _0x15ad0f=_0x4a15b3,_0x526637=this['_anchor']['onPointerEnter$'][_0x15ad0f(0x241)](()=>{const _0x2ddddc=_0x15ad0f;this[_0x2ddddc(0x129)]=!0x0;}),_0x122620=this[_0x15ad0f(0x242)][_0x15ad0f(0x104)][_0x15ad0f(0x241)](()=>{const _0x4c1994=_0x15ad0f;this[_0x4c1994(0x16c)]&&clearTimeout(this['_hideTimer']),this[_0x4c1994(0x16c)]=setTimeout(()=>{const _0x31720c=_0x4c1994;this[_0x31720c(0x129)]=!0x1;},0x7d0);});return()=>{const _0x269f49=_0x15ad0f;_0x526637[_0x269f49(0x243)](),_0x122620[_0x269f49(0x243)]();};}[_0x4a15b3(0x1ca)](_0x3b87bb,_0xcf92b,_0x179871,_0x2a9117){const _0x44e80b=_0x4a15b3,_0x597d58=new _0x521739(_0x3b87bb)[_0x44e80b(0x1c6)](0.2)[_0x44e80b(0x2a0)](),_0x4d0033=new _0x3c3a59(bi+_0x4b4ba9[_0x44e80b(0x15c)](X),{'pointsGroup':_0xcf92b,'fill':_0x597d58||_0x37a7df(_0x5d2a0d[_0x44e80b(0x125)],0.2),'left':_0x179871,'top':_0x2a9117,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x44e80b(0x1f4)][_0x44e80b(0x17f)](_0x4d0033),this['_scene'][_0x44e80b(0x27d)](_0x4d0033,_0x4593c);}[_0x4a15b3(0x11f)](_0x3af906,_0x3d58f,_0x2c7f13,_0x353888){const _0x2cad1c=_0x4a15b3,_0xfc0111=new _0x521739(_0x3af906)[_0x2cad1c(0x1c6)](0.2)[_0x2cad1c(0x2a0)](),_0x51d586=new _0x3c3a59(Ti+_0x4b4ba9['generateRandomId'](X),{'pointsGroup':_0x3d58f,'fill':_0xfc0111||_0x37a7df(_0x5d2a0d[_0x2cad1c(0x125)],0.2),'left':_0x2c7f13,'top':_0x353888,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2cad1c(0x1f4)][_0x2cad1c(0x17f)](_0x51d586),this['_scene']['addObject'](_0x51d586,_0x4593c);}[_0x4a15b3(0x1c3)](_0x57df3f){const _0x3ed9fe=_0x57df3f[0x0],_0x431c56=_0x3ed9fe[0x0],_0xbc745b=_0x3ed9fe[0x2],{x:_0x53e377,y:_0x2c42a9}=_0x431c56,{x:_0x3255a6,y:_0x2c423e}=_0xbc745b;return{'left':_0x53e377,'top':_0x2c42a9,'width':_0x3255a6-_0x53e377,'height':_0x2c423e-_0x2c42a9};}[_0x4a15b3(0x1a9)](){const _0x23108b=_0x4a15b3,{scaleX:_0x2a3063,scaleY:_0x245dc9}=this[_0x23108b(0x17d)][_0x23108b(0x1b6)]();return Math['max'](_0x2a3063,_0x245dc9);}}var Ui=Object['getOwnPropertyDescriptor'],Mi=(_0x38a7a3,_0x56f35e,_0x5b241e,_0x3d04d1)=>{for(var _0x32ec84=_0x3d04d1>0x1?void 0x0:_0x3d04d1?Ui(_0x56f35e,_0x5b241e):_0x56f35e,_0x214b1f=_0x38a7a3['length']-0x1,_0x477347;_0x214b1f>=0x0;_0x214b1f--)(_0x477347=_0x38a7a3[_0x214b1f])&&(_0x32ec84=_0x477347(_0x32ec84)||_0x32ec84);return _0x32ec84;},Z=(_0xa87a36,_0x424d0)=>(_0x36636d,_0x111b7a)=>_0x424d0(_0x36636d,_0x111b7a,_0xa87a36);let Le=class extends _0x9a5c56{constructor(_0x474b73,_0x5e47d8,_0x7d00e3,_0x3b470e,_0x1e5843){const _0x302099=_0x4a15b3;super(),_(this,_0x302099(0x280),[]),_(this,_0x302099(0xe4),[]),(this[_0x302099(0x144)]=_0x474b73,this[_0x302099(0xc8)]=_0x5e47d8,this[_0x302099(0x246)]=_0x7d00e3,this['_commandService']=_0x3b470e,this['_themeService']=_0x1e5843,this['_init']());}[_0x4a15b3(0x22b)](){const _0x1cb7d3=_0x4a15b3,_0x1e67b9=this[_0x1cb7d3(0x144)][_0x1cb7d3(0x20c)],_0x41843a=this[_0x1cb7d3(0xc8)];this[_0x1cb7d3(0x275)](_0x528ae7([this[_0x1cb7d3(0x246)][_0x1cb7d3(0x1b4)](_0x1e67b9),this[_0x1cb7d3(0x14c)][_0x1cb7d3(0x22e)]])['pipe'](_0x533962(([_0xa0bee9,_0x50b705])=>({'skeleton':_0x41843a[_0x1cb7d3(0x1bc)](),'cursors':[..._0xa0bee9[_0x1cb7d3(0x123)]()][_0x1cb7d3(0x12e)](_0x1a692a=>({..._0x1a692a,'color':this[_0x1cb7d3(0x14c)][_0x1cb7d3(0x2b0)](_0x1a692a[_0x1cb7d3(0x297)])}))})))[_0x1cb7d3(0x226)](_0x1ec111=>{const _0x4a9449=_0x1cb7d3;if(this[_0x4a9449(0x1f8)](),_0x1ec111){const {skeleton:_0x495422,cursors:_0x17b277}=_0x1ec111;this[_0x4a9449(0x103)](_0x495422,_0x17b277);}})),this[_0x1cb7d3(0x1a5)](),this['_initCommandExecutedListener']();}[_0x4a15b3(0x103)](_0x30d71a,_0x4eb1ec){const _0x42bb2e=_0x4a15b3,{scene:_0x48b450,mainComponent:_0x59d69f}=this[_0x42bb2e(0x144)],_0x573709=_0x4eb1ec[_0x42bb2e(0x269)](_0x1df35c=>new qe(_0x1df35c,_0x48b450,_0x30d71a,_0x59d69f));this['_cursorShapes']=_0x573709,this[_0x42bb2e(0xe4)]=_0x4eb1ec;}[_0x4a15b3(0x232)](){const _0xeac024=_0x4a15b3;this[_0xeac024(0x1f8)]();const {scene:_0x4a4bd8,mainComponent:_0x507e93}=this[_0xeac024(0x144)],_0x567fcc=this[_0xeac024(0xc8)][_0xeac024(0x1bc)](),_0x3c2ef2=this[_0xeac024(0xe4)][_0xeac024(0x269)](_0x59f960=>new qe(_0x59f960,_0x4a4bd8,_0x567fcc,_0x507e93));this[_0xeac024(0x280)]=_0x3c2ef2;}['_removeCollabCursors'](){const _0x447f46=_0x4a15b3;this[_0x447f46(0x280)][_0x447f46(0x139)](_0x45fa49=>_0x45fa49[_0x447f46(0xd4)]()),this[_0x447f46(0x280)]=[];}[_0x4a15b3(0x153)](){const _0xb187b=_0x4a15b3,_0x27bf1c=[_0x37e01c['id']];this[_0xb187b(0x275)](this[_0xb187b(0xea)][_0xb187b(0x121)](_0x15be5f=>{const _0x10697b=_0xb187b;_0x27bf1c[_0x10697b(0x1fe)](_0x15be5f['id'])&&_0x15be5f['params'][_0x10697b(0x20c)]===this[_0x10697b(0x144)][_0x10697b(0x20c)]&&this[_0x10697b(0x232)]();}));}['_initResize'](){const _0xa7d69f=_0x4a15b3;this[_0xa7d69f(0x275)](_0x3789cd(this['_context'][_0xa7d69f(0x2b1)][_0xa7d69f(0x2a6)])['pipe'](_0x8d6795(_0x566113=>_0x566113[_0xa7d69f(0x13f)]===_0x5cc6c1[_0xa7d69f(0x179)]),_0x17cf87(0x10))[_0xa7d69f(0x226)](()=>{const _0x3b7490=_0xa7d69f;this[_0x3b7490(0x232)]();}));}};Le=Mi([Z(0x1,_0x59cccc(_0x5de454)),Z(0x2,_0x59cccc(H)),Z(0x3,_0x44cdb6),Z(0x4,_0x59cccc(_0x345fc1))],Le);const Li=0x1,Pi=1.5;class wi extends _0x18f209{constructor(_0x2e90da,_0x214af4){const _0x315011=_0x4a15b3;super(_0x2e90da,_0x214af4),_(this,_0x315011(0x108)),_(this,_0x315011(0xe2),!0x1),_(this,_0x315011(0x200)),_(this,'_name',''),_(this,_0x315011(0x21d),_0x315011(0x159)),_(this,_0x315011(0x293)),(_0x214af4&&this['setShapeProps'](_0x214af4),this[_0x315011(0x1e8)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x315011(0x104)][_0x315011(0x241)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x4a15b3(0x12a)](_0x3a4d4f){const _0x2566ec=_0x4a15b3;var _0x5296e3,_0x3d8f76,_0x385a7e,_0xc13042,_0x1a527d,_0x54d64d;this[_0x2566ec(0x108)]=(_0x5296e3=_0x3a4d4f[_0x2566ec(0x297)])!=null?_0x5296e3:this[_0x2566ec(0x108)],this[_0x2566ec(0xe2)]=(_0x3d8f76=_0x3a4d4f['hovered'])!=null?_0x3d8f76:this[_0x2566ec(0xe2)],this[_0x2566ec(0x200)]=(_0x385a7e=_0x3a4d4f[_0x2566ec(0x12c)])!=null?_0x385a7e:this[_0x2566ec(0x200)],this['_name']=(_0xc13042=_0x3a4d4f[_0x2566ec(0x17b)])!=null?_0xc13042:this[_0x2566ec(0x2ba)],this['_labelPosition']=(_0x1a527d=_0x3a4d4f[_0x2566ec(0x206)])!=null?_0x1a527d:this['_labelPosition'],this[_0x2566ec(0x293)]=(_0x54d64d=_0x3a4d4f[_0x2566ec(0x2af)])!=null?_0x54d64d:this[_0x2566ec(0x293)],this[_0x2566ec(0x1be)]({'width':_0x3a4d4f['width'],'height':_0x3a4d4f[_0x2566ec(0x197)]});}['onMouseMove'](_0xbe7c28){const _0x1504b5=_0x4a15b3,{row:_0x3c3e88,column:_0x216eb0}=_0xbe7c28;if(_0x3c3e88>=this[_0x1504b5(0x200)][_0x1504b5(0x122)]&&_0x3c3e88<=this[_0x1504b5(0x200)]['endRow']&&_0x216eb0>=this[_0x1504b5(0x200)][_0x1504b5(0x14f)]&&_0x216eb0<=this['_range'][_0x1504b5(0x262)]){this[_0x1504b5(0x12a)]({'hovered':!0x0});return;}this[_0x1504b5(0x12a)]({'hovered':!0x1});}[_0x4a15b3(0x142)](_0xfc8709){return!0x1;}['_draw'](_0x59a884){const _0x2e2dbf=_0x4a15b3;_0x5d1c55[_0x2e2dbf(0x1af)](_0x59a884,{'width':this[_0x2e2dbf(0x146)],'height':this['height'],'strokeWidth':Pi,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x2e2dbf(0x293)]}),this[_0x2e2dbf(0xe2)]&&(_0x59a884[_0x2e2dbf(0x227)](),_0x59a884[_0x2e2dbf(0x160)](0x1,0x0,0x0,0x1,this[_0x2e2dbf(0x146)],this['_labelPosition']===_0x2e2dbf(0xd1)?0x0:-0x14),he['drawWith'](_0x59a884,{'text':this[_0x2e2dbf(0x2ba)],'color':this[_0x2e2dbf(0x108)]}),_0x59a884[_0x2e2dbf(0x13d)]());}}var Ai=Object['getOwnPropertyDescriptor'],yi=(_0x5d5b5f,_0x4e9778,_0x1424e0,_0x4be473)=>{for(var _0x22ce50=_0x4be473>0x1?void 0x0:_0x4be473?Ai(_0x4e9778,_0x1424e0):_0x4e9778,_0x4b82aa=_0x5d5b5f['length']-0x1,_0x512775;_0x4b82aa>=0x0;_0x4b82aa--)(_0x512775=_0x5d5b5f[_0x4b82aa])&&(_0x22ce50=_0x512775(_0x22ce50)||_0x22ce50);return _0x22ce50;},ve=(_0x5d0843,_0x389911)=>(_0x2b4cba,_0x2a9faa)=>_0x389911(_0x2b4cba,_0x2a9faa,_0x5d0843);const $i=0x1389;let Pe=class extends _0x9a5c56{constructor(_0xa680f2,_0x3b4915,_0x2472f2,_0x3712cb){const _0x285da5=_0x4a15b3;super(),_(this,_0x285da5(0xe4),new Set()),_(this,_0x285da5(0x185),null),(this[_0x285da5(0x144)]=_0xa680f2,this[_0x285da5(0x167)]=_0x3b4915,this['_collabCursorController']=_0x2472f2,this[_0x285da5(0x14c)]=_0x3712cb,this[_0x285da5(0x22b)]());}[_0x4a15b3(0x22b)](){const _0x337e80=_0x4a15b3;this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x337e80(0x134)](_0x2f0b60(this[_0x337e80(0x19c)]),_0x3c013c(_0x4ac1ba=>{const _0x2f77c9=_0x337e80;if(_0x4ac1ba){const _0x58f77e=_0x4ac1ba[_0x2f77c9(0x106)];return _0x528ae7(this[_0x2f77c9(0x246)][_0x2f77c9(0x1b4)](this[_0x2f77c9(0x144)][_0x2f77c9(0x20c)]),this[_0x2f77c9(0x14c)][_0x2f77c9(0x22e)])['pipe'](_0x533962(([_0x3cc7f7,_0x3cce06])=>{const _0x305cee=_0x2f77c9,_0x5567d1=new Map();return _0x3cc7f7[_0x305cee(0x139)]((_0x2520da,_0x5a4a84)=>{const _0x55990a=_0x305cee;if(_0x2520da['sheetID']===_0x58f77e){const _0x54ebc7={..._0x2520da};_0x54ebc7['color']=this[_0x55990a(0x14c)]['getColorFromTheme'](_0x2520da[_0x55990a(0x297)]),_0x5567d1['set'](_0x5a4a84,_0x54ebc7);}}),{'skeleton':_0x4ac1ba,'cursors':_0x5567d1};}));}return _0x103715({'skeleton':null,'cursors':new Map()});}))[_0x337e80(0x226)](({skeleton:_0x1c8608,cursors:_0x1188cb})=>{const _0x3fedef=_0x337e80;this[_0x3fedef(0x1f8)](),_0x1c8608&&this['_updateCollabCursors'](_0x1c8608,_0x1188cb);}),this['_sheetSkeletonManagerService'][_0x337e80(0x178)][_0x337e80(0x226)](_0xbac190=>{const _0x6a6d14=_0x337e80;if(_0xbac190==null)return;const {skeleton:_0x1715d1}=_0xbac190,{scene:_0xae006b}=this['_context'];_0xae006b[_0x6a6d14(0xca)][_0x6a6d14(0x241)](_0x124c3e(_0x4997ac=>{const _0x2e9de2=_0x6a6d14;var _0x2e92c5,_0x488fdc;const {offsetX:_0x4c25d7,offsetY:_0x551ce0}=_0x4997ac,{x:_0x73759f,y:_0x3bf250}=_0xae006b['getRelativeToViewportCoord'](_0x421f12[_0x2e9de2(0xfd)]([_0x4c25d7,_0x551ce0])),{scaleX:_0x37a92e,scaleY:_0x335339}=_0xae006b['getAncestorScale'](),_0x1a183d=_0xae006b[_0x2e9de2(0x13c)](_0x2866a0['VIEW_MAIN']),_0x5e8ae7=_0xae006b[_0x2e9de2(0x1d5)](_0x421f12[_0x2e9de2(0xfd)]([_0x73759f,_0x3bf250]),_0x1a183d),_0x719825=_0x1715d1['getCellPositionByOffset'](_0x4c25d7,_0x551ce0,_0x37a92e,_0x335339,_0x5e8ae7);((_0x2e92c5=this[_0x2e9de2(0x185)])==null?void 0x0:_0x2e92c5[_0x2e9de2(0x1ac)])===_0x719825[_0x2e9de2(0x1ac)]&&((_0x488fdc=this[_0x2e9de2(0x185)])==null?void 0x0:_0x488fdc[_0x2e9de2(0x230)])===_0x719825[_0x2e9de2(0x230)]||this[_0x2e9de2(0xe4)]['forEach'](_0x6a5604=>{const _0x49a936=_0x2e9de2;_0x6a5604[_0x49a936(0x259)](_0x719825);});},0x64));});}['_updateCollabCursors'](_0x14d54c,_0x3e090b){const _0x54c7c1=_0x4a15b3;var _0x5c5db8;const _0x3c1d45=(_0x5c5db8=this[_0x54c7c1(0x167)][_0x54c7c1(0x299)]())==null?void 0x0:_0x5c5db8['skeleton'];if(!_0x3c1d45)return;const _0x49667b=this[_0x54c7c1(0xe3)]();if(!_0x49667b)return;this['_cursors']['forEach'](_0x7cfe25=>{const _0x940b66=_0x54c7c1;_0x7cfe25[_0x940b66(0x15d)]();});const {scene:_0x357d5d}=_0x49667b,_0x3b5129=xi(Array[_0x54c7c1(0x1eb)](_0x3e090b[_0x54c7c1(0x123)]()))[_0x54c7c1(0x269)](_0x448962=>{const _0x32181c=_0x54c7c1,{color:_0x3a36aa,range:_0x1f6fce,name:_0x16a490,selection:_0x46a9fd,sheetID:_0x51c5a3}=_0x448962,{startColumn:_0x36f9b1,startRow:_0x144730,endColumn:_0xcd4105,endRow:_0x1e34da}=_0x1f6fce,_0x159934=_0x14b95d(_0x144730,_0x36f9b1,_0x357d5d,_0x3c1d45),_0x214164=_0x14b95d(_0x1e34da,_0xcd4105,_0x357d5d,_0x3c1d45),{columnHeaderHeightAndMarginTop:_0x1de153}=_0x3c1d45,{startX:_0x651fa1,startY:_0x4e5593}=_0x159934,{endX:_0x4fa80d,endY:_0x2ce35e}=_0x214164,_0x473323=_0x4fa80d-_0x651fa1,_0x1f59bd=_0x2ce35e-_0x4e5593,_0x311222={'labelPosition':_0x4e5593-_0x1de153>=ee?_0x32181c(0x159):_0x32181c(0xd1),'sheetID':_0x51c5a3,'range':_0x1f6fce,'color':_0x3a36aa,'name':_0x16a490,'selection':_0x46a9fd,'left':_0x651fa1,'top':_0x4e5593,'width':_0x473323,'height':_0x1f59bd,'evented':!0x1,'zIndex':$i};return new wi(_0x16a490,_0x311222);});_0x357d5d['addObjects'](_0x3b5129,Li),this[_0x54c7c1(0xe4)]=new Set(_0x3b5129);}[_0x4a15b3(0x1f8)](){const _0x464f4e=_0x4a15b3;var _0x24d830;(_0x24d830=this['_cursors'])==null||_0x24d830[_0x464f4e(0x139)](_0x5d6a81=>_0x5d6a81[_0x464f4e(0xd4)]());}[_0x4a15b3(0xe3)](){const _0x3c946a=_0x4a15b3;return _0x2bc514(this[_0x3c946a(0x144)][_0x3c946a(0x174)],this['_context']);}};Pe=yi([ve(0x1,_0x59cccc(_0x2a26d3)),ve(0x2,_0x59cccc(H)),ve(0x3,_0x59cccc(_0x345fc1))],Pe);function xi(_0x46ab9f){const _0x5127b7=_0x4a15b3,_0x129161=new Map();return _0x46ab9f[_0x5127b7(0x139)](_0x2bf425=>{const _0x14e69e=_0x5127b7;if(_0x129161[_0x14e69e(0x15e)](_0x2bf425[_0x14e69e(0xf9)])){const _0x1f68cc=_0x129161[_0x14e69e(0xf5)](_0x2bf425['selection']);_0x1f68cc[_0x14e69e(0x17b)]+=',\x20'+_0x2bf425['name'];}else _0x129161[_0x14e69e(0xcc)](_0x2bf425['selection'],_0x2bf425);}),Array[_0x5127b7(0x1eb)](_0x129161[_0x5127b7(0x123)]());}var v=function(){const _0x40a694=_0x4a15b3;return v=Object[_0x40a694(0x1b8)]||function(_0x4bc0a4){const _0x2680bd=_0x40a694;for(var _0xd3d85d,_0x89d7cc=0x1,_0x27cc3d=arguments[_0x2680bd(0x25c)];_0x89d7cc<_0x27cc3d;_0x89d7cc++){_0xd3d85d=arguments[_0x89d7cc];for(var _0x1786a5 in _0xd3d85d)Object[_0x2680bd(0x25e)][_0x2680bd(0x131)]['call'](_0xd3d85d,_0x1786a5)&&(_0x4bc0a4[_0x1786a5]=_0xd3d85d[_0x1786a5]);}return _0x4bc0a4;},v[_0x40a694(0x1ff)](this,arguments);},Bi=function(_0x4f7b25,_0x4b67d2){const _0x49fc7c=_0x4a15b3;var _0x102c9b={};for(var _0x306453 in _0x4f7b25)Object[_0x49fc7c(0x25e)][_0x49fc7c(0x131)][_0x49fc7c(0x264)](_0x4f7b25,_0x306453)&&_0x4b67d2[_0x49fc7c(0x169)](_0x306453)<0x0&&(_0x102c9b[_0x306453]=_0x4f7b25[_0x306453]);if(_0x4f7b25!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x4c8dc1=0x0,_0x306453=Object[_0x49fc7c(0x115)](_0x4f7b25);_0x4c8dc1<_0x306453[_0x49fc7c(0x25c)];_0x4c8dc1++)_0x4b67d2['indexOf'](_0x306453[_0x4c8dc1])<0x0&&Object['prototype'][_0x49fc7c(0x184)][_0x49fc7c(0x264)](_0x4f7b25,_0x306453[_0x4c8dc1])&&(_0x102c9b[_0x306453[_0x4c8dc1]]=_0x4f7b25[_0x306453[_0x4c8dc1]]);}return _0x102c9b;},Fe=_0x1aac4e(function(_0x5704d5,_0x48ef7c){const _0xb2690d=_0x4a15b3;var _0x4144bf=_0x5704d5[_0xb2690d(0x1a8)],_0x2af1ab=_0x5704d5['id'],_0x268103=_0x5704d5[_0xb2690d(0x20b)],_0x21758a=_0x5704d5[_0xb2690d(0x11c)],_0x39219f=Bi(_0x5704d5,[_0xb2690d(0x1a8),'id',_0xb2690d(0x20b),_0xb2690d(0x11c)]),_0x305209='univerjs-icon\x20univerjs-icon-'[_0xb2690d(0x291)](_0x2af1ab,'\x20')[_0xb2690d(0x291)](_0x268103||'')['trim'](),_0x5f6304=_0x1ee00a('_'[_0xb2690d(0x291)](Fi()));return Rt(_0x4144bf,''['concat'](_0x2af1ab),{'defIds':_0x4144bf[_0xb2690d(0x114)],'idSuffix':_0x5f6304[_0xb2690d(0x249)]},v({'ref':_0x48ef7c,'className':_0x305209},_0x39219f),_0x21758a);});function Rt(_0x58ea55,_0xde7d78,_0x4cece5,_0x509fd7,_0x409e64){const _0x21701e=_0x4a15b3;return _0x357080(_0x58ea55[_0x21701e(0x1e5)],v(v({'key':_0xde7d78},ki(_0x58ea55,_0x4cece5,_0x409e64)),_0x509fd7),(Hi(_0x58ea55,_0x4cece5)[_0x21701e(0x2ad)]||[])[_0x21701e(0x269)](function(_0x58997e,_0x3fdbeb){const _0x16918d=_0x21701e;return Rt(_0x58997e,''[_0x16918d(0x291)](_0xde7d78,'-')[_0x16918d(0x291)](_0x58ea55['tag'],'-')['concat'](_0x3fdbeb),_0x4cece5,void 0x0,_0x409e64);}));}function ki(_0x1984b3,_0x313123,_0x48706e){const _0x21e2cb=_0x4a15b3;var _0xe58db6=v({},_0x1984b3[_0x21e2cb(0x236)]);_0x48706e!=null&&_0x48706e[_0x21e2cb(0x22c)]&&_0xe58db6[_0x21e2cb(0x270)]===_0x21e2cb(0x22c)&&(_0xe58db6['fill']=_0x48706e[_0x21e2cb(0x22c)]),_0x1984b3[_0x21e2cb(0x1e5)]===_0x21e2cb(0x1e7)&&_0xe58db6['id']&&(_0xe58db6['id']=_0xe58db6['id']+_0x313123[_0x21e2cb(0x100)]),Object[_0x21e2cb(0x148)](_0xe58db6)[_0x21e2cb(0x139)](function(_0x3a1a63){const _0x9b103a=_0x21e2cb;var _0x42e7f1=_0x3a1a63[0x0],_0x18c47e=_0x3a1a63[0x1];_0x42e7f1===_0x9b103a(0x1e7)&&typeof _0x18c47e==_0x9b103a(0x1b1)&&(_0xe58db6[_0x42e7f1]=_0x18c47e[_0x9b103a(0xc2)](/url\(#(.*)\)/,'url(#$1'[_0x9b103a(0x291)](_0x313123[_0x9b103a(0x100)],')')));});var _0x3b0d5a=_0x313123['defIds'];return!_0x3b0d5a||_0x3b0d5a['length']===0x0||(_0x1984b3[_0x21e2cb(0x1e5)]==='use'&&_0xe58db6[_0x21e2cb(0x150)]&&(_0xe58db6[_0x21e2cb(0x150)]=_0xe58db6[_0x21e2cb(0x150)]+_0x313123[_0x21e2cb(0x100)]),Object['entries'](_0xe58db6)[_0x21e2cb(0x139)](function(_0x30a3d0){const _0x3e15f7=_0x21e2cb;var _0x2368e1=_0x30a3d0[0x0],_0x3098f0=_0x30a3d0[0x1];typeof _0x3098f0=='string'&&(_0xe58db6[_0x2368e1]=_0x3098f0[_0x3e15f7(0xc2)](/url\(#(.*)\)/,_0x3e15f7(0x224)[_0x3e15f7(0x291)](_0x313123[_0x3e15f7(0x100)],')')));})),_0xe58db6;}function Hi(_0x49a57e,_0x5b087a){const _0x4c19af=_0x4a15b3;var _0x14fde7,_0x273356=_0x5b087a[_0x4c19af(0x114)];return!_0x273356||_0x273356['length']===0x0?_0x49a57e:_0x49a57e[_0x4c19af(0x1e5)]===_0x4c19af(0x195)&&(!((_0x14fde7=_0x49a57e[_0x4c19af(0x2ad)])===null||_0x14fde7===void 0x0)&&_0x14fde7[_0x4c19af(0x25c)])?v(v({},_0x49a57e),{'children':_0x49a57e[_0x4c19af(0x2ad)][_0x4c19af(0x269)](function(_0x4b9837){const _0x44be3a=_0x4c19af;return typeof _0x4b9837[_0x44be3a(0x236)]['id']==_0x44be3a(0x1b1)&&_0x273356&&_0x273356[_0x44be3a(0x1fe)](_0x4b9837[_0x44be3a(0x236)]['id'])?v(v({},_0x4b9837),{'attrs':v(v({},_0x4b9837[_0x44be3a(0x236)]),{'id':_0x4b9837[_0x44be3a(0x236)]['id']+_0x5b087a[_0x44be3a(0x100)]})}):_0x4b9837;})}):_0x49a57e;}function Fi(){const _0x3aabd1=_0x4a15b3;return Math['random']()[_0x3aabd1(0x257)](0x24)[_0x3aabd1(0x285)](0x2,0x8);}Fe[_0x4a15b3(0x267)]=_0x4a15b3(0x1d7);var Yi={'tag':_0x4a15b3(0x1ee),'attrs':{'xmlns':_0x4a15b3(0x176),'fill':'none','viewBox':_0x4a15b3(0x192),'width':_0x4a15b3(0x196),'height':_0x4a15b3(0x196)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x4a15b3(0x1cb),'d':_0x4a15b3(0x130),'strokeLinecap':_0x4a15b3(0xbe),'strokeLinejoin':_0x4a15b3(0xbe),'strokeWidth':1.2}}]},{'tag':_0x4a15b3(0x195),'attrs':{},'children':[{'tag':_0x4a15b3(0x19f),'attrs':{'id':_0x4a15b3(0x1e6)},'children':[{'tag':'path','attrs':{'fill':_0x4a15b3(0x207),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x4a15b3(0x1e6)]},Dt=_0x1aac4e(function(_0x37cded,_0xf9b948){const _0x349c12=_0x4a15b3;return _0x357080(Fe,Object[_0x349c12(0x1b8)]({},_0x37cded,{'id':_0x349c12(0x145),'ref':_0xf9b948,'icon':Yi}));});Dt[_0x4a15b3(0x267)]='OffLineIcon';var ji={'tag':_0x4a15b3(0x1ee),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x4a15b3(0x177),'width':'1em','height':_0x4a15b3(0x196)},'children':[{'tag':'g','attrs':{'clipPath':_0x4a15b3(0x1a2)},'children':[{'tag':_0x4a15b3(0x1cc),'attrs':{'stroke':_0x4a15b3(0x1cb),'d':_0x4a15b3(0x126),'strokeLinecap':_0x4a15b3(0xbe),'strokeLinejoin':_0x4a15b3(0xbe),'strokeWidth':1.2}}]},{'tag':_0x4a15b3(0x195),'attrs':{},'children':[{'tag':_0x4a15b3(0x19f),'attrs':{'id':_0x4a15b3(0x1b2)},'children':[{'tag':_0x4a15b3(0x1cc),'attrs':{'fill':_0x4a15b3(0x207),'d':_0x4a15b3(0x1dd),'transform':_0x4a15b3(0x1c9)}}]}]}],'defIds':[_0x4a15b3(0x1b2)]},Nt=_0x1aac4e(function(_0x46dcd3,_0xbd84c3){const _0x1783d2=_0x4a15b3;return _0x357080(Fe,Object['assign']({},_0x46dcd3,{'id':_0x1783d2(0x111),'ref':_0xbd84c3,'icon':ji}));});Nt[_0x4a15b3(0x267)]=_0x4a15b3(0x1ea);function Vi(_0x4f1338){const _0xbade72=_0x4a15b3;switch(_0x4f1338){case _0x4de448[_0xbade72(0x1cf)]:return'collabStatus.offline';case _0x4de448[_0xbade72(0x1db)]:return _0xbade72(0x1a3);case _0x4de448[_0xbade72(0xef)]:return _0xbade72(0xc6);case _0x4de448[_0xbade72(0x245)]:return'collabStatus.notCollab';case _0x4de448[_0xbade72(0x155)]:case _0x4de448[_0xbade72(0x288)]:return _0xbade72(0x119);case _0x4de448[_0xbade72(0x1a1)]:case _0x4de448[_0xbade72(0x28a)]:return'collabStatus.synced';}}function Wi(_0x51b9ce){const _0x4d0e71=_0x4a15b3,{status$:_0xae1dae}=_0x51b9ce,_0x2dc1fd=_0x36d065(_0xae1dae,_0x4de448['NOT_COLLAB']),_0x322e73=_0x16b329(_0x5364b3),_0x1a6b6d=_0x16b329(_0x2f1c26),_0x51820c=_0x2dc1fd!==_0x4de448[_0x4d0e71(0x1cf)],_0x3929e1=_0x322e73['t'](Vi(_0x2dc1fd)),_0x2e23a3=_0x51820c?_0x4e4a13(Nt,{}):_0x4e4a13(Dt,{}),_0x58550f=_0x434b10(()=>{const _0x9311dd=_0x4d0e71;_0x51820c||_0x1a6b6d[_0x9311dd(0x15b)]();},[_0x51820c,_0x1a6b6d]);function _0x4b0462(){const _0x487340=_0x4d0e71;return _0x348a57('div',{'className':_0x487340(0x2b6),'onClick':_0x58550f,'children':[_0x4e4a13(_0x487340(0x28d),{'className':_0x527e74(_0x487340(0x290),{'univer-text-green-500':_0x51820c,'univer-text-red-500':!_0x51820c}),'children':_0x2e23a3}),_0x4e4a13(_0x487340(0x28d),{'className':_0x487340(0x229),'children':_0x3929e1})]});}return _0x51820c?_0x4b0462():_0x4e4a13(_0x1be8b8,{'title':_0x322e73['t'](_0x4d0e71(0x271)),'children':_0x4b0462()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x52d65d,_0x430098,_0x4ab07a,_0x5d8b2b)=>{const _0x52a652=_0x4a15b3;for(var _0x32bfa1=_0x5d8b2b>0x1?void 0x0:_0x5d8b2b?Xi(_0x430098,_0x4ab07a):_0x430098,_0x461c3f=_0x52d65d[_0x52a652(0x25c)]-0x1,_0x11a4bf;_0x461c3f>=0x0;_0x461c3f--)(_0x11a4bf=_0x52d65d[_0x461c3f])&&(_0x32bfa1=_0x11a4bf(_0x32bfa1)||_0x32bfa1);return _0x32bfa1;},Q=(_0x118f29,_0x65f63c)=>(_0x474f82,_0x45a3c9)=>_0x65f63c(_0x474f82,_0x45a3c9,_0x118f29);let te=class extends _0x1c3a44{constructor(_0x3b3474,_0x5972fa,_0x541559,_0x16b61){const _0x61eb90=_0x4a15b3;super(),_(this,_0x61eb90(0x181),new _0x429bcf(_0x4de448[_0x61eb90(0x245)])),(this[_0x61eb90(0x216)]=_0x3b3474,this[_0x61eb90(0x162)]=_0x5972fa,this[_0x61eb90(0xe0)]=_0x541559,this[_0x61eb90(0x25a)]=_0x16b61,this[_0x61eb90(0x1cd)](),this[_0x61eb90(0x222)]());}['_initStatusListener'](){const _0x4564c6=_0x4a15b3;this[_0x4564c6(0x275)](this[_0x4564c6(0x216)][_0x4564c6(0x2b2)][_0x4564c6(0x134)](_0x99a4d5(()=>{const _0x1e2178=_0x4564c6,_0x3b2815=this[_0x1e2178(0x216)][_0x1e2178(0x2bd)]();return _0x3b2815?this[_0x1e2178(0xe0)]['getCollabEntity$'](_0x3b2815[_0x1e2178(0xc7)]()):_0x103715(null);}),_0x99a4d5(_0x3f829c=>_0x3f829c?_0x3f829c[_0x4564c6(0x2bb)]:_0x103715(_0x4de448[_0x4564c6(0x245)])))['subscribe'](_0x56a0d6=>{this['_status$']['next'](_0x56a0d6);}));}[_0x4a15b3(0x1cd)](){const _0x300cb7=_0x4a15b3;this[_0x300cb7(0x275)](this[_0x300cb7(0x25a)][_0x300cb7(0x250)](_0x1cb6c7[_0x300cb7(0x1ae)],()=>_0x9be80d(Ki({'status$':this[_0x300cb7(0x181)][_0x300cb7(0x26d)]()}),this[_0x300cb7(0x162)])));}};te=Gi([Q(0x0,_0x261934),Q(0x1,_0x59cccc(_0x352cac)),Q(0x2,_0x59cccc(_0x5b7241)),Q(0x3,_0xc6ecce)],te);function Ki(_0x6a5015){const {status$:_0x460392}=_0x6a5015;return function(){return _0x4e4a13(Wi,{'status$':_0x460392});};}var zi=Object[_0x4a15b3(0x161)],Ji=(_0x2c952e,_0x4f59a0,_0x42ef6f,_0x4eaa3d)=>{const _0x14ef6f=_0x4a15b3;for(var _0x249b74=_0x4eaa3d>0x1?void 0x0:_0x4eaa3d?zi(_0x4f59a0,_0x42ef6f):_0x4f59a0,_0x3ca72d=_0x2c952e[_0x14ef6f(0x25c)]-0x1,_0x1bde9d;_0x3ca72d>=0x0;_0x3ca72d--)(_0x1bde9d=_0x2c952e[_0x3ca72d])&&(_0x249b74=_0x1bde9d(_0x249b74)||_0x249b74);return _0x249b74;},B=(_0x1c93e8,_0x3c19d0)=>(_0x1e1cbd,_0x275898)=>_0x3c19d0(_0x1e1cbd,_0x275898,_0x1c93e8);let se=class extends _0x1c3a44{constructor(_0x4ed295,_0x3ccb71,_0x25289c,_0x270d9b,_0x2f1203,_0x498c79){const _0x210d53=_0x4a15b3;super(),this['_beforeCloseService']=_0x4ed295,this[_0x210d53(0x21e)]=_0x3ccb71,this[_0x210d53(0x17a)]=_0x25289c,this['_messageService']=_0x270d9b,this[_0x210d53(0x1fd)]=_0x2f1203,this[_0x210d53(0xe9)]=_0x498c79,this[_0x210d53(0x231)](),this[_0x210d53(0x1d0)]();}[_0x4a15b3(0x231)](){const _0x2a3eda=_0x4a15b3;this[_0x2a3eda(0x275)](this[_0x2a3eda(0x211)][_0x2a3eda(0x22d)](()=>{const _0x242f96=_0x2a3eda;if(this['_localCacheService'][_0x242f96(0x172)][_0x242f96(0x203)])return this[_0x242f96(0xe9)]['t'](_0x242f96(0x201));}));}['_initEvent'](){const _0xcf06c9=_0x4a15b3;this[_0xcf06c9(0x275)](this[_0xcf06c9(0x17a)][_0xcf06c9(0x157)][_0xcf06c9(0x226)](_0x35831d=>{const _0x363505=_0xcf06c9;_0x35831d['id']===_0x17fd1e[_0x363505(0x282)]&&this[_0x363505(0x1c8)][_0x363505(0x1bf)]({'type':_0x451ee9[_0x363505(0x260)],'content':this[_0x363505(0xe9)]['t'](_0x363505(0x154))}),_0x35831d['id']===_0x17fd1e[_0x363505(0x156)]&&this[_0x363505(0x1c8)][_0x363505(0x1bf)]({'type':_0x451ee9[_0x363505(0x260)],'content':this[_0x363505(0xe9)]['t'](_0x363505(0x1bb))}),_0x35831d['id']===_0x17fd1e['PERMISSION_DENIED']&&this[_0x363505(0x1fd)][_0x363505(0x1bf)]({'title':this['_localeService']['t'](_0x363505(0x1f1)),'content':this[_0x363505(0xe9)]['t'](_0x363505(0x256)),'type':_0x363505(0x18c),'duration':0x0}),_0x35831d['id']===_0x17fd1e['CONFLICT']&&this[_0x363505(0x1c8)][_0x363505(0x1bf)]({'type':_0x451ee9[_0x363505(0xba)],'content':this[_0x363505(0xe9)]['t'](_0x363505(0x1bb))+'('+_0x35831d[_0x363505(0x1b7)]+')'}),_0x35831d['id']===_0x17fd1e['JOIN_ROOM_FAILED']&&this[_0x363505(0x1c8)]['show']({'type':_0x451ee9[_0x363505(0x260)],'content':this[_0x363505(0xe9)]['t'](_0x35831d[_0x363505(0x1b7)]||'')}),_0x35831d['id']===_0x17fd1e[_0x363505(0x19b)]&&this[_0x363505(0x1c8)][_0x363505(0x1bf)]({'type':_0x451ee9['Warning'],'content':this[_0x363505(0xe9)]['t'](_0x363505(0x20a))}),_0x35831d['id']===_0x17fd1e[_0x363505(0x1e2)]&&this[_0x363505(0x1c8)][_0x363505(0x1bf)]({'type':_0x451ee9['Error'],'content':this['_localeService']['t'](_0x363505(0x1e3))}),_0x35831d['id']===_0x17fd1e['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x363505(0x1c8)][_0x363505(0x1bf)]({'type':_0x451ee9[_0x363505(0xba)],'content':this[_0x363505(0xe9)]['t'](_0x363505(0x225))});}));}};se=Ji([B(0x0,_0xcf8d2a),B(0x1,_0x578f85),B(0x2,_0x59cccc(_0x28c0a5)),B(0x3,_0x31756d),B(0x4,_0x3bc4f0),B(0x5,_0x59cccc(_0x5364b3))],se);const Zi=_0x4a15b3(0x289),et={},Ut=_0x1e01e8('uni.network.url-service');var Qi=Object[_0x4a15b3(0x161)],qi=(_0x4a9cd2,_0x7c9493,_0x15bc34,_0x4d9758)=>{const _0x331d3b=_0x4a15b3;for(var _0x2bee7a=_0x4d9758>0x1?void 0x0:_0x4d9758?Qi(_0x7c9493,_0x15bc34):_0x7c9493,_0x5d1aa7=_0x4a9cd2[_0x331d3b(0x25c)]-0x1,_0x5ba2f7;_0x5d1aa7>=0x0;_0x5d1aa7--)(_0x5ba2f7=_0x4a9cd2[_0x5d1aa7])&&(_0x2bee7a=_0x5ba2f7(_0x2bee7a)||_0x2bee7a);return _0x2bee7a;},G=(_0x2c6fe4,_0x3e77fa)=>(_0x5436c4,_0x4d5bf7)=>_0x3e77fa(_0x5436c4,_0x4d5bf7,_0x2c6fe4);let ie=class extends _0x9a5c56{constructor(_0x2d4992,_0x41b444,_0x4d2dbe,_0x288204,_0x55e453){const _0x1d9968=_0x4a15b3;super(),this[_0x1d9968(0x2ae)]=_0x2d4992,this['_logService']=_0x41b444,this['_commandService']=_0x4d2dbe,this[_0x1d9968(0x1ab)]=_0x288204,_0x55e453?_0x55e453==null||_0x55e453[_0x1d9968(0x28b)]()[_0x1d9968(0x1d1)](()=>this[_0x1d9968(0x22b)]()):(this[_0x1d9968(0x2a3)]['debug'](_0x1d9968(0x1aa),_0x1d9968(0x218)),this[_0x1d9968(0x22b)]());}async[_0x4a15b3(0x22b)](){const _0x41cd64=_0x4a15b3,_0x56ea79=this[_0x41cd64(0x2ae)]['getParam']('unit'),_0x8f6698=this[_0x41cd64(0x2ae)][_0x41cd64(0x2a4)](_0x41cd64(0x13f)),_0x23ca11=this[_0x41cd64(0x2ae)][_0x41cd64(0x2a4)](_0x41cd64(0x16f));if(!_0x56ea79||!_0x8f6698){this[_0x41cd64(0x2a3)][_0x41cd64(0x219)]('[CollaborationDataLoaderController]',_0x41cd64(0x124));return;}const _0x3381ab=await this[_0x41cd64(0x1ab)][_0x41cd64(0xbf)](_0x56ea79,Number(_0x8f6698),_0x23ca11);_0x3381ab&&_0x3381ab instanceof _0x5da6ea&&this[_0x41cd64(0x141)](_0x3381ab);}async[_0x4a15b3(0x141)](_0x22f854){const _0xe6ebbc=_0x4a15b3;await this[_0xe6ebbc(0x209)](_0x22f854),_0x22f854['activeSheet$'][_0xe6ebbc(0x134)](_0x261b2e(this[_0xe6ebbc(0x19c)]))['subscribe'](_0x154953=>{const _0x4cb5f4=_0xe6ebbc;_0x154953&&this[_0x4cb5f4(0x228)](_0x154953);}),this['_urlService']['urlChange$']['pipe'](_0x261b2e(this[_0xe6ebbc(0x19c)]))[_0xe6ebbc(0x226)](()=>this[_0xe6ebbc(0x209)](_0x22f854));}[_0x4a15b3(0x228)](_0x5a12b0,_0x5a157c=!0x1){const _0x5809e7=_0x4a15b3,_0x4066e2=this[_0x5809e7(0x2ae)][_0x5809e7(0x2a4)](_0x5809e7(0x16f));_0x5a12b0[_0x5809e7(0x1c0)]()!==_0x4066e2&&this['_urlService'][_0x5809e7(0x1e9)]('subunit',_0x5a12b0['getSheetId'](),_0x5a157c);}async[_0x4a15b3(0x209)](_0x3ff095){const _0x5a1ea8=_0x4a15b3;var _0x5c66fe;const _0x13d2c9=this[_0x5a1ea8(0x2ae)][_0x5a1ea8(0x2a4)]('subunit');if(!_0x13d2c9||!_0x3ff095[_0x5a1ea8(0x173)](_0x13d2c9)){const _0x107e90=_0x3ff095[_0x5a1ea8(0x29b)]()[0x0],_0x1f887f=_0x3ff095[_0x5a1ea8(0x173)](_0x107e90);if(!_0x1f887f)return;this['_updateURLWithCurrentState'](_0x1f887f,!0x0),await this[_0x5a1ea8(0xea)][_0x5a1ea8(0x117)](_0xe922f0['id'],{'unitId':_0x3ff095['getUnitId'](),'subUnitId':_0x107e90});return;}((_0x5c66fe=_0x3ff095[_0x5a1ea8(0x25d)]())==null?void 0x0:_0x5c66fe[_0x5a1ea8(0x1c0)]())!==_0x13d2c9&&await this[_0x5a1ea8(0xea)][_0x5a1ea8(0x117)](_0xe922f0['id'],{'unitId':_0x3ff095[_0x5a1ea8(0xc7)](),'subUnitId':_0x13d2c9});}};ie=qi([G(0x0,Ut),G(0x1,_0x5de542),G(0x2,_0x44cdb6),G(0x3,_0x59cccc(_0x2588b6)),G(0x4,_0x6913ea(_0x1566a8))],ie);var en=Object[_0x4a15b3(0x161)],tn=(_0x34b0a4,_0x3ce22f,_0x394400,_0x5afcf6)=>{const _0x563b30=_0x4a15b3;for(var _0x5483b7=_0x5afcf6>0x1?void 0x0:_0x5afcf6?en(_0x3ce22f,_0x394400):_0x3ce22f,_0x3e84e0=_0x34b0a4[_0x563b30(0x25c)]-0x1,_0x440805;_0x3e84e0>=0x0;_0x3e84e0--)(_0x440805=_0x34b0a4[_0x3e84e0])&&(_0x5483b7=_0x440805(_0x5483b7)||_0x5483b7);return _0x5483b7;},pe=(_0x3cb3af,_0x44bb88)=>(_0x1f3eb9,_0x3725b9)=>_0x44bb88(_0x1f3eb9,_0x3725b9,_0x3cb3af);let ne=class{constructor(_0x12a476,_0x5ed3c3,_0x16f20c){const _0x394e7d=_0x4a15b3;this['_injector']=_0x12a476,this[_0x394e7d(0x16b)]=_0x5ed3c3,this[_0x394e7d(0xc9)]=_0x16f20c;}[_0x4a15b3(0x17c)](_0x237469){const _0x1a6040=_0x4a15b3;this['_transformUndoRedoStack'](_0x237469),this[_0x1a6040(0xeb)](_0x237469);}[_0x4a15b3(0xe6)](_0x5b7f77){const _0x288abf=_0x4a15b3,{unitID:_0x27e71a}=_0x5b7f77,_0x10f239=this[_0x288abf(0xc9)]['getRenderById'](_0x27e71a)[_0x288abf(0x26a)](_0x5d2261),{redoCache:_0x2e13aa}=_0x10f239[_0x288abf(0x183)]();if(_0x2e13aa[_0x288abf(0x25c)]===0x0)return _0x5b7f77;let _0x2ba0d3=_0x4b4ba9[_0x288abf(0x27e)](_0x5b7f77['mutations'][0x0]);for(let _0x6e7786=0x0;_0x6e7786<_0x2e13aa[_0x288abf(0x25c)];_0x6e7786++){const _0x5a633d={'id':'doc.mutation.rich-text-editing','params':{..._0x2e13aa[_0x6e7786]}},_0x35fd78=this['_transformService']['transformMutation'](_0x2ba0d3,_0x5a633d,!0x1);if(_0x2b7e9d(_0x35fd78))throw _0x35fd78[_0x288abf(0x18c)];_0x2ba0d3=_0x35fd78['m1Prime'];}return{..._0x4b4ba9[_0x288abf(0x27e)](_0x5b7f77),'mutations':[_0x2ba0d3]};}[_0x4a15b3(0x10f)](_0x5d2ae3){const _0x52957b=_0x4a15b3,{unitID:_0x549fb6}=_0x5d2ae3,_0x195782=this[_0x52957b(0xc9)][_0x52957b(0x15f)](_0x549fb6)[_0x52957b(0x26a)](_0x5d2261),{undoCache:_0x56778c,redoCache:_0x3be74d}=_0x195782['getUndoRedoMutationParamsCache']();if(_0x56778c[_0x52957b(0x25c)]===0x0||_0x3be74d[_0x52957b(0x25c)]===0x0)return;const _0x50278c=[],_0x397f48=[];let _0x4438bc=_0x4b4ba9[_0x52957b(0x27e)](_0x5d2ae3['mutations'][0x0]),_0x38e76d=_0x4b4ba9[_0x52957b(0x27e)](_0x5d2ae3[_0x52957b(0x22a)][0x0]);for(let _0x45fb31=_0x56778c[_0x52957b(0x25c)]-0x1;_0x45fb31>=0x0;_0x45fb31--){const _0x366a99={'id':_0x52957b(0x278),'params':{..._0x56778c[_0x45fb31]}},_0x2eedc7={'id':_0x52957b(0x278),'params':{..._0x3be74d[_0x45fb31]}},_0x3ad4c7=this[_0x52957b(0x16b)][_0x52957b(0x14e)](_0x4438bc,_0x366a99,!0x1),_0x7bcb0c=this['_transformService'][_0x52957b(0x14e)](_0x38e76d,_0x2eedc7,!0x1);if(_0x2b7e9d(_0x3ad4c7))throw _0x3ad4c7[_0x52957b(0x18c)];if(_0x2b7e9d(_0x7bcb0c))throw _0x7bcb0c['error'];_0x50278c[_0x52957b(0x188)](_0x3ad4c7[_0x52957b(0xc1)]['params']),_0x397f48[_0x52957b(0x188)](_0x7bcb0c[_0x52957b(0xc1)][_0x52957b(0x23d)]),_0x4438bc=_0x3ad4c7[_0x52957b(0x272)],_0x38e76d=_0x7bcb0c[_0x52957b(0x272)];}_0x195782[_0x52957b(0xc3)]({'undoCache':_0x50278c,'redoCache':_0x397f48});}['_transformPreviousActiveRange'](_0x3c9137){const _0xc93767=_0x4a15b3,{unitID:_0x269377}=_0x3c9137,_0x1019c1=this[_0xc93767(0xc9)][_0xc93767(0x15f)](_0x269377)[_0xc93767(0x26a)](_0x5d2261),_0x4e6da4=_0x1019c1[_0xc93767(0x26c)]();if(_0x4e6da4==null)return;const _0x3ade8a=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3c9137[_0xc93767(0x194)],'actions':null,'textRanges':[_0x4e6da4]}}],_0x4e011f=this[_0xc93767(0x16b)][_0xc93767(0x17e)](_0x3c9137,_0x3ade8a);if(!_0x456329(_0x4e011f))throw _0x4e011f['error'];const _0xc8827b=_0x4e011f['m2Prime'][0x0]['params']['textRanges'];Array['isArray'](_0xc8827b)&&_0xc8827b['length']&&_0x1019c1['setActiveRange'](_0xc8827b[0x0]);}};ne=tn([pe(0x0,_0x59cccc(_0x352cac)),pe(0x1,_0x17392d),pe(0x2,_0x50bde7)],ne);var sn=Object[_0x4a15b3(0x161)],nn=(_0x4ef758,_0x24ffa0,_0x41082b,_0x256d57)=>{const _0x4a095c=_0x4a15b3;for(var _0xc5d42a=_0x256d57>0x1?void 0x0:_0x256d57?sn(_0x24ffa0,_0x41082b):_0x24ffa0,_0xc5d97d=_0x4ef758[_0x4a095c(0x25c)]-0x1,_0x2eed6e;_0xc5d97d>=0x0;_0xc5d97d--)(_0x2eed6e=_0x4ef758[_0xc5d97d])&&(_0xc5d42a=_0x2eed6e(_0xc5d42a)||_0xc5d42a);return _0xc5d42a;},Ce=(_0x5d0d19,_0x482bb5)=>(_0x3bf13a,_0x40e885)=>_0x482bb5(_0x3bf13a,_0x40e885,_0x5d0d19);let re=class{constructor(_0x1a802d,_0x2b538f,_0x248941){const _0x155a57=_0x4a15b3;this[_0x155a57(0x162)]=_0x1a802d,this[_0x155a57(0x16b)]=_0x2b538f,this[_0x155a57(0x14b)]=_0x248941;}['transformStateCache'](_0x3aaf9b){const _0x2b7b35=_0x4a15b3;this[_0x2b7b35(0x18a)](_0x3aaf9b);}[_0x4a15b3(0xe6)](_0x27fd65){const _0x26cc63=_0x4a15b3,{unitID:_0x13a027}=_0x27fd65,{collaboration:_0x451e12}=this[_0x26cc63(0x14b)][_0x26cc63(0x133)](_0x13a027);if(_0x451e12['length']===0x0)return _0x27fd65;let _0x1033cd=_0x4b4ba9[_0x26cc63(0x27e)](_0x27fd65[_0x26cc63(0x22a)][0x0]);for(let _0x2b3663=0x0;_0x2b3663<_0x451e12[_0x26cc63(0x25c)];_0x2b3663++){const _0x586968={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x451e12[_0x2b3663]['unitId'],..._0x451e12[_0x2b3663][_0x26cc63(0x10d)]}},_0x3c3128=this[_0x26cc63(0x16b)]['transformMutation'](_0x1033cd,_0x586968,!0x1);if(_0x2b7e9d(_0x3c3128))throw _0x3c3128['error'];_0x1033cd=_0x3c3128[_0x26cc63(0x272)];}return{..._0x4b4ba9[_0x26cc63(0x27e)](_0x27fd65),'mutations':[_0x1033cd]};}[_0x4a15b3(0x18a)](_0xf24957){const _0x1687f1=_0x4a15b3,{unitID:_0x597f25}=_0xf24957,{history:_0x2df473,collaboration:_0x38e71a}=this['_docStateChangeManagerService'][_0x1687f1(0x133)](_0x597f25);if(_0x2df473[_0x1687f1(0x25c)]===0x0&&_0x38e71a[_0x1687f1(0x25c)]===0x0)return;const _0x232b28=[],_0x159cf8=[];let _0x2ba0c3=_0x4b4ba9[_0x1687f1(0x27e)](_0xf24957[_0x1687f1(0x22a)][0x0]),_0x978dfd=_0x4b4ba9[_0x1687f1(0x27e)](_0xf24957['mutations'][0x0]);for(let _0x965221=_0x2df473[_0x1687f1(0x25c)]-0x1;_0x965221>=0x0;_0x965221--){const _0x209441={'id':_0x1687f1(0x278),'params':{'unitId':_0x2df473[_0x965221][_0x1687f1(0x20c)],..._0x2df473[_0x965221][_0x1687f1(0x193)]}},_0x3fe12b={'id':_0x1687f1(0x278),'params':{'unitId':_0x2df473[_0x965221]['unitId'],..._0x2df473[_0x965221]['redoState']}},_0x42b2fe=this['_transformService'][_0x1687f1(0x14e)](_0x2ba0c3,_0x209441,!0x1),_0x191f4b=this[_0x1687f1(0x16b)][_0x1687f1(0x14e)](_0x978dfd,_0x3fe12b,!0x1);if(_0x2b7e9d(_0x42b2fe))throw _0x42b2fe[_0x1687f1(0x18c)];if(_0x2b7e9d(_0x191f4b))throw _0x191f4b[_0x1687f1(0x18c)];_0x232b28[_0x1687f1(0x188)]({..._0x2df473[_0x965221],'undoState':_0x42b2fe['m2Prime'][_0x1687f1(0x23d)],'redoState':_0x191f4b['m2Prime']['params']}),_0x2ba0c3=_0x42b2fe['m1Prime'],_0x978dfd=_0x191f4b[_0x1687f1(0x272)];}_0x2ba0c3=_0x4b4ba9['deepClone'](_0xf24957['mutations'][0x0]),_0x978dfd=_0x4b4ba9[_0x1687f1(0x27e)](_0xf24957[_0x1687f1(0x22a)][0x0]);for(let _0x4f67fa=_0x38e71a['length']-0x1;_0x4f67fa>=0x0;_0x4f67fa--){const _0xa7883={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x38e71a[_0x4f67fa][_0x1687f1(0x20c)],..._0x38e71a[_0x4f67fa][_0x1687f1(0x193)]}},_0x22c210={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x38e71a[_0x4f67fa][_0x1687f1(0x20c)],..._0x38e71a[_0x4f67fa][_0x1687f1(0x10d)]}},_0x50b803=this[_0x1687f1(0x16b)][_0x1687f1(0x14e)](_0x2ba0c3,_0xa7883,!0x1),_0x51af5c=this[_0x1687f1(0x16b)][_0x1687f1(0x14e)](_0x978dfd,_0x22c210,!0x1);if(_0x2b7e9d(_0x50b803))throw _0x50b803[_0x1687f1(0x18c)];if(_0x2b7e9d(_0x51af5c))throw _0x51af5c[_0x1687f1(0x18c)];_0x159cf8[_0x1687f1(0x188)]({..._0x38e71a[_0x4f67fa],'undoState':_0x50b803[_0x1687f1(0xc1)][_0x1687f1(0x23d)],'redoState':_0x51af5c[_0x1687f1(0xc1)][_0x1687f1(0x23d)]}),_0x2ba0c3=_0x50b803[_0x1687f1(0x272)],_0x978dfd=_0x51af5c['m1Prime'];}this[_0x1687f1(0x14b)]['setStateCache'](_0x597f25,{'history':_0x232b28,'collaboration':_0x159cf8});}};re=nn([Ce(0x0,_0x59cccc(_0x352cac)),Ce(0x1,_0x17392d),Ce(0x2,_0x59cccc(_0x11784e))],re);var rn=Object['getOwnPropertyDescriptor'],on=(_0x2b8fea,_0x3608c7,_0x117bd2,_0x1f0281)=>{const _0x5794dd=_0x4a15b3;for(var _0x52539c=_0x1f0281>0x1?void 0x0:_0x1f0281?rn(_0x3608c7,_0x117bd2):_0x3608c7,_0x44eed1=_0x2b8fea[_0x5794dd(0x25c)]-0x1,_0x579527;_0x44eed1>=0x0;_0x44eed1--)(_0x579527=_0x2b8fea[_0x44eed1])&&(_0x52539c=_0x579527(_0x52539c)||_0x52539c);return _0x52539c;},tt=(_0x4384c8,_0x2d2679)=>(_0x2c4240,_0x4870b7)=>_0x2d2679(_0x2c4240,_0x4870b7,_0x4384c8);let oe=class{constructor(_0x742dad,_0x5260f4){const _0x1d01c4=_0x4a15b3;this[_0x1d01c4(0x162)]=_0x742dad,this[_0x1d01c4(0x16b)]=_0x5260f4;}[_0x4a15b3(0x295)](_0x1d55f1){const _0x969f89=_0x4a15b3;var _0x4260f5;const _0x3a48e7=this['_injector'][_0x969f89(0xf5)](_0x5c61d8),_0x444a04=(_0x4260f5=_0x3a48e7['getDocRanges']())!=null?_0x4260f5:[];if(_0x444a04[_0x969f89(0x25c)]===0x0)return;const _0x24207b=_0x1d55f1[_0x969f89(0x194)],_0x579e04=[{'id':_0x969f89(0x278),'params':{'unitId':_0x24207b,'actions':null,'textRanges':_0x444a04}}],_0x574bc2=this[_0x969f89(0x16b)]['transformMutationsWithChangeset'](_0x1d55f1,_0x579e04);if(!_0x456329(_0x574bc2))throw _0x574bc2[_0x969f89(0x18c)];const _0x2a2c0f=_0x574bc2[_0x969f89(0xc1)][0x0][_0x969f89(0x23d)][_0x969f89(0x20f)];Array[_0x969f89(0x212)](_0x2a2c0f)&&_0x2a2c0f[_0x969f89(0x25c)]&&_0x3a48e7[_0x969f89(0x120)](_0x2a2c0f,{'unitId':_0x24207b,'subUnitId':_0x24207b},!0x1);}};oe=on([tt(0x0,_0x59cccc(_0x352cac)),tt(0x1,_0x17392d)],oe);var an=Object[_0x4a15b3(0x161)],cn=(_0x3f249c,_0x54c812,_0x55082c,_0x598918)=>{const _0x301892=_0x4a15b3;for(var _0x33be23=_0x598918>0x1?void 0x0:_0x598918?an(_0x54c812,_0x55082c):_0x54c812,_0xe7c899=_0x3f249c[_0x301892(0x25c)]-0x1,_0x53ff40;_0xe7c899>=0x0;_0xe7c899--)(_0x53ff40=_0x3f249c[_0xe7c899])&&(_0x33be23=_0x53ff40(_0x33be23)||_0x33be23);return _0x33be23;},U=(_0xdb98fc,_0x42e996)=>(_0x2394e0,_0x4930a9)=>_0x42e996(_0x2394e0,_0x4930a9,_0xdb98fc);let ae=class extends _0x1c3a44{constructor(_0x2bda16,_0x1f37ec,_0x3dc82c,_0x3d7f57,_0x1c0772,_0x566838,_0x1a287c,_0x5e77b7){const _0xacd82f=_0x4a15b3;super(),_(this,'_status$',new _0x429bcf(_0x4de448[_0xacd82f(0x245)])),(this[_0xacd82f(0x14b)]=_0x2bda16,this['_collaborationController']=_0x1f37ec,this[_0xacd82f(0x286)]=_0x3dc82c,this[_0xacd82f(0x1a0)]=_0x3d7f57,this['_docTransformSelectionsService']=_0x1c0772,this[_0xacd82f(0x24d)]=_0x566838,this[_0xacd82f(0x1c8)]=_0x1a287c,this[_0xacd82f(0xe9)]=_0x5e77b7,this[_0xacd82f(0x26e)]());}['_initEntityListener'](){const _0x2c3239=_0x4a15b3;this[_0x2c3239(0x275)](this['_collaborationController']['entityInit$'][_0x2c3239(0x226)](_0x52fa9c=>{const _0x519195=_0x2c3239,_0x56e46b=this['_docStateChangeManagerService']['docStateChange$'][_0x519195(0x226)](_0x20c62e=>{const _0x5bf7d3=_0x519195;if(_0x20c62e==null)return;const {unitId:_0x5b6478,redoState:_0x568195,commandId:_0x5ba736}=_0x20c62e;if(_0x5b6478!==_0x52fa9c[_0x5bf7d3(0x194)])return;const _0x507ab5={'id':_0x5ba736,'type':_0x56d49f[_0x5bf7d3(0x1c4)],'params':{'unitId':_0x5b6478,'actions':_0x568195[_0x5bf7d3(0x277)],'textRanges':null}};_0x52fa9c[_0x5bf7d3(0x11a)](_0x507ab5);});if(_0x52fa9c[_0x519195(0x275)](_0x56e46b),_0x52fa9c instanceof _0x30b9b9){const _0x290210={'onTransformIME':_0x4ea127=>this['_docTransformIMECacheService']['transformIMECache'](_0x4ea127),'onTransformState':_0x4a1efc=>this[_0x519195(0x1a0)]['transformStateCache'](_0x4a1efc),'onTransformSelections':_0x2601dd=>this[_0x519195(0x105)][_0x519195(0x295)](_0x2601dd),'onSyncEditingCollabCursor':_0x579e5a=>this['_docSyncEditingCollabCursorService'][_0x519195(0x292)](_0x579e5a),'onTransformRemoteChangesetByIMECache':_0x1bca89=>this[_0x519195(0x286)]['transformRemoteChangeset'](_0x1bca89),'onTransformRemoteChangesetByStateCache':_0x48fdb8=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x48fdb8)};_0x52fa9c['addHandlerCallback'](_0x290210);}}));}};ae=cn([U(0x0,_0x59cccc(_0x11784e)),U(0x1,_0x59cccc(_0x5b7241)),U(0x2,_0x59cccc(ne)),U(0x3,_0x59cccc(re)),U(0x4,_0x59cccc(oe)),U(0x5,_0x59cccc(He)),U(0x6,_0x31756d),U(0x7,_0x59cccc(_0x5364b3))],ae);var ln=Object[_0x4a15b3(0x161)],_n=(_0x361835,_0x2a4486,_0x14f6f0,_0x422628)=>{const _0x4d7145=_0x4a15b3;for(var _0x56a58c=_0x422628>0x1?void 0x0:_0x422628?ln(_0x2a4486,_0x14f6f0):_0x2a4486,_0x415dbb=_0x361835[_0x4d7145(0x25c)]-0x1,_0x3b2117;_0x415dbb>=0x0;_0x415dbb--)(_0x3b2117=_0x361835[_0x415dbb])&&(_0x56a58c=_0x3b2117(_0x56a58c)||_0x56a58c);return _0x56a58c;},Ee=(_0x428efb,_0x5d42c6)=>(_0x459611,_0x3b8a38)=>_0x5d42c6(_0x459611,_0x3b8a38,_0x428efb);let we=class extends _0x1c3a44{constructor(_0x217992,_0x3bce2e,_0xe5c919){const _0x37491e=_0x4a15b3;super(),_(this,_0x37491e(0x255),new Map()),_(this,_0x37491e(0x298),new Map()),_(this,_0x37491e(0x140),!0x1),(this[_0x37491e(0x1c5)]=_0x217992,this['_localStorageService']=_0x3bce2e,this['_revisionService']=_0xe5c919);}[_0x4a15b3(0x25b)](){const _0x354fb2=_0x4a15b3;this[_0x354fb2(0x140)]=!0x0;}[_0x4a15b3(0xfb)](){const _0x576ce1=_0x4a15b3;this[_0x576ce1(0x140)]=!0x1;}get[_0x4a15b3(0x172)](){const _0x14f595=_0x4a15b3;return this[_0x14f595(0x298)];}[_0x4a15b3(0xd4)](){const _0x3b176b=_0x4a15b3;this['exhaustSavingTask']()[_0x3b176b(0x1d1)](()=>super[_0x3b176b(0xd4)]());}async[_0x4a15b3(0x210)](_0x5986a1){const _0x5b35a2=_0x4a15b3;return this[_0x5b35a2(0x140)]?null:this[_0x5b35a2(0x21c)][_0x5b35a2(0x1de)](_0x227947(_0x5986a1));}async[_0x4a15b3(0x14d)](_0x35d219,_0x3a8f25){const _0x3b680c=_0x4a15b3;return!!this[_0x3b680c(0x21c)]['setItem'](_0x35d219,_0x3a8f25);}[_0x4a15b3(0x189)](_0x43eb37,_0x2bfdc7,_0x44a170,_0x4f54a6){const _0x5d6cd3=_0x4a15b3,_0x1b2b2b=this[_0x5d6cd3(0x22f)][_0x5d6cd3(0xcd)](_0x43eb37);this[_0x5d6cd3(0x255)][_0x5d6cd3(0xcc)](_0x43eb37,{'unitID':_0x43eb37,'type':_0x2bfdc7,'awaitingChangeset':_0x44a170,'mutations':_0x4f54a6,'rev':_0x1b2b2b}),this['_saveTaskMap']['has'](_0x43eb37)||this['_scheduleSaving'](_0x43eb37);}[_0x4a15b3(0x132)](_0x6c7a37){const _0x4dd802=_0x4a15b3,_0x1b9385=this[_0x4dd802(0x1bd)]();_0x1b9385===0x0?this[_0x4dd802(0x23a)](_0x6c7a37):this[_0x4dd802(0x298)][_0x4dd802(0xcc)](_0x6c7a37,setTimeout(()=>this[_0x4dd802(0x23a)](_0x6c7a37),_0x1b9385));}[_0x4a15b3(0x1bd)](){const _0xec82fe=_0x4a15b3;var _0x2f9795;return(_0x2f9795=this[_0xec82fe(0x1c5)][_0xec82fe(0x281)](_0xb3edeb))!=null?_0x2f9795:_0x37a5df;}[_0x4a15b3(0x23a)](_0x34eb2d){const _0x43b2ec=_0x4a15b3,_0x36716d=this['_saveTaskMap']['get'](_0x34eb2d);return _0x36716d!==void 0x0&&window['clearTimeout'](_0x36716d),this[_0x43b2ec(0x21c)]['setItem'](_0x227947(_0x34eb2d),this[_0x43b2ec(0x255)][_0x43b2ec(0xf5)](_0x34eb2d))[_0x43b2ec(0x1d1)](()=>this['_saveTaskMap'][_0x43b2ec(0x2ab)](_0x34eb2d));}async[_0x4a15b3(0x1e4)](){const _0x2702c5=_0x4a15b3,_0x21040e=[];this[_0x2702c5(0x298)][_0x2702c5(0x139)]((_0x53e4a8,_0x437af1)=>{const _0xb23a50=_0x2702c5;window[_0xb23a50(0xd6)](_0x53e4a8),_0x21040e[_0xb23a50(0x17f)](this[_0xb23a50(0x23a)](_0x437af1)[_0xb23a50(0x1d1)](()=>{const _0x4bcb29=_0xb23a50;this['_saveTaskMap'][_0x4bcb29(0x2ab)](_0x437af1);}));}),await Promise['all'](_0x21040e);}};we=_n([Ee(0x0,_0x47db95),Ee(0x1,_0x27b18),Ee(0x2,_0x59cccc(_0x2f1af2))],we);class hn extends _0x9a5c56{constructor(){const _0x3500ea=_0x4a15b3;super(),_(this,_0x3500ea(0xe5)),this['urlChange$']=_0x3f6d7a(window,_0x3500ea(0x101))[_0x3500ea(0x134)](_0x261b2e(this[_0x3500ea(0x19c)]),_0x2abf7b(0x1),_0x24ee20(void 0x0));}[_0x4a15b3(0x1e9)](_0x1930e1,_0x4f5f80,_0x5f42ae=!0x1){const _0x4691bd=_0x4a15b3,_0x31ddd8=new URL(window['location']['href']);_0x31ddd8[_0x4691bd(0x10b)][_0x4691bd(0xcc)](_0x1930e1,_0x4f5f80),_0x5f42ae?window[_0x4691bd(0x221)]['replaceState']('','',_0x31ddd8[_0x4691bd(0x257)]()):window[_0x4691bd(0x221)][_0x4691bd(0x1d3)]('','',_0x31ddd8[_0x4691bd(0x257)]());}[_0x4a15b3(0x26f)](_0x59f1ad,_0x440bbf=!0x1){const _0xdb9ca2=_0x4a15b3,_0x9b862a=new URL(window[_0xdb9ca2(0xee)]['href']);_0x9b862a[_0xdb9ca2(0x10b)]['delete'](_0x59f1ad),_0x440bbf?window[_0xdb9ca2(0x221)][_0xdb9ca2(0x135)]('','',_0x9b862a['toString']()):window['history'][_0xdb9ca2(0x1d3)]('','',_0x9b862a[_0xdb9ca2(0x257)]());}[_0x4a15b3(0x2a4)](_0x6ccdc7){const _0x272168=_0x4a15b3;var _0x481a5b;return(_0x481a5b=new URL(window[_0x272168(0xee)][_0x272168(0x1ef)])[_0x272168(0x10b)]['get'](_0x6ccdc7))!=null?_0x481a5b:void 0x0;}}var un=Object[_0x4a15b3(0x163)],dn=Object[_0x4a15b3(0x161)],fn=(_0x25b498,_0x2161f2,_0xc864c6)=>_0x2161f2 in _0x25b498?un(_0x25b498,_0x2161f2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xc864c6}):_0x25b498[_0x2161f2]=_0xc864c6,Sn=(_0x55ef10,_0x47f699,_0xcb9e5d,_0x5b84c5)=>{const _0x5465b6=_0x4a15b3;for(var _0x56f1d3=_0x5b84c5>0x1?void 0x0:_0x5b84c5?dn(_0x47f699,_0xcb9e5d):_0x47f699,_0x4911a2=_0x55ef10[_0x5465b6(0x25c)]-0x1,_0x19c6ac;_0x4911a2>=0x0;_0x4911a2--)(_0x19c6ac=_0x55ef10[_0x4911a2])&&(_0x56f1d3=_0x19c6ac(_0x56f1d3)||_0x56f1d3);return _0x56f1d3;},Oe=(_0x1e5d82,_0xa961ad)=>(_0x4349a4,_0x2f3668)=>_0xa961ad(_0x4349a4,_0x2f3668,_0x1e5d82),mn=(_0x44b8a8,_0x5e0354,_0x29e40a)=>fn(_0x44b8a8,_0x5e0354+'',_0x29e40a);const In=_0x4a15b3(0x294);let Ae=class extends _0xa59201{constructor(_0x26c4bc=et,_0x220f9f,_0x4c64a0,_0x59915a){const _0x41a08e=_0x4a15b3;super(),this[_0x41a08e(0x1b5)]=_0x26c4bc,this[_0x41a08e(0xc9)]=_0x220f9f,this['_injector']=_0x4c64a0,this[_0x41a08e(0x1c5)]=_0x59915a;const {..._0x28444e}=_0x428b84({},et,this[_0x41a08e(0x1b5)]);this[_0x41a08e(0x1c5)][_0x41a08e(0xbb)](Zi,_0x28444e);}[_0x4a15b3(0x25f)](){const _0xec9b59=_0x4a15b3;this['_registerDependencies'](),this[_0xec9b59(0x2a8)]();}[_0x4a15b3(0x19a)](){this['_registerRenderDependencies']();}[_0x4a15b3(0x2b4)](){const _0x2ab97c=_0x4a15b3;var _0x1bd2a1;const _0x2bfe01=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x1a11de,{'useClass':_0x2565ee}],[_0x578f85,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x5a706b(this[_0x2ab97c(0x162)],_0x5a3701(_0x2bfe01,(_0x1bd2a1=this[_0x2ab97c(0x1b5)])==null?void 0x0:_0x1bd2a1[_0x2ab97c(0xce)]));}[_0x4a15b3(0x29d)](){const _0x46f3d4=_0x4a15b3;this[_0x46f3d4(0x275)](this['_renderManagerService'][_0x46f3d4(0x10c)](_0x52e3e5[_0x46f3d4(0x28f)],[Le])),this[_0x46f3d4(0x275)](this[_0x46f3d4(0xc9)]['registerRenderModule'](_0x52e3e5[_0x46f3d4(0x23f)],[Pe]));}['_initDependencies'](){const _0x56e8d1=_0x4a15b3;_0x4d0967(this[_0x56e8d1(0x162)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,'pluginName',In),Ae=Sn([_0x5a1eb2(_0x4441c3),Oe(0x1,_0x50bde7),Oe(0x2,_0x59cccc(_0x352cac)),Oe(0x3,_0x47db95)],Ae);var gn=Object[_0x4a15b3(0x161)],vn=(_0xe40cb8,_0x56a1c3,_0xbd553e,_0x4302b5)=>{const _0x19bb28=_0x4a15b3;for(var _0x44cbf9=_0x4302b5>0x1?void 0x0:_0x4302b5?gn(_0x56a1c3,_0xbd553e):_0x56a1c3,_0x5bddb0=_0xe40cb8[_0x19bb28(0x25c)]-0x1,_0x344322;_0x5bddb0>=0x0;_0x5bddb0--)(_0x344322=_0xe40cb8[_0x5bddb0])&&(_0x44cbf9=_0x344322(_0x44cbf9)||_0x44cbf9);return _0x44cbf9;},K=(_0xca5d74,_0x3d3fd1)=>(_0x5bd80e,_0x3300b8)=>_0x3d3fd1(_0x5bd80e,_0x3300b8,_0xca5d74);let st=class extends _0xdac877{constructor(_0x9616b5,_0x48add2,_0x287f07,_0x44acac,_0x61abb0){super(_0x9616b5,_0x48add2,_0x287f07,_0x44acac,_0x61abb0);}async[_0x4a15b3(0x1d6)](_0x401ae4){const _0x1c5ae0=_0x4a15b3,_0x3587a0=await this[_0x1c5ae0(0x190)](),_0x2510be=this[_0x1c5ae0(0x217)](_0x401ae4,_0x3587a0);return this[_0x1c5ae0(0xed)](_0x2510be);}[_0x4a15b3(0x217)](_0x412272,_0x2907f7){const _0x579fee=_0x4a15b3,_0x25c87e=typeof window>'u'?new URL(_0x412272):new URL(_0x412272,window[_0x579fee(0xee)][_0x579fee(0x1a7)]);_0x25c87e['searchParams']['set'](_0x579fee(0x1f0),_0x2907f7);const _0x38af95=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x579fee(0xee)][_0x579fee(0x27b)]);return _0x38af95[_0x579fee(0xf5)]('runId')&&_0x25c87e[_0x579fee(0x10b)]['set']('runId',_0x38af95[_0x579fee(0xf5)](_0x579fee(0xd3))),_0x25c87e[_0x579fee(0x257)]();}async[_0x4a15b3(0x190)](){const _0x2c9aa3=_0x4a15b3;var _0x64f011,_0x3fec40,_0xb150e6;const _0x1c2eab=this[_0x2c9aa3(0x1c5)][_0x2c9aa3(0x281)](_0x3d317c),_0x35a02d=(_0x64f011=_0x1c2eab==null?void 0x0:_0x1c2eab[_0x2c9aa3(0x273)])!=null?_0x64f011:_0x1ff494;return(_0xb150e6=(_0x3fec40=(await this[_0x2c9aa3(0x171)][_0x2c9aa3(0xf5)](_0x35a02d,{'headers':{'Content-Type':'application/json'}}))[_0x2c9aa3(0x12b)])==null?void 0x0:_0x3fec40['ticket'])!=null?_0xb150e6:'';}};st=vn([K(0x0,_0x59cccc(_0x352cac)),K(0x1,_0x59cccc(_0x36f74a)),K(0x2,_0x47db95),K(0x3,_0x5de542),K(0x4,_0x90fd4c)],st);function _0x55c0(_0x41a31b,_0x12e0a8){const _0x1a747e=_0x1a74();return _0x55c0=function(_0x55c01c,_0x2e75fe){_0x55c01c=_0x55c01c-0xb7;let _0x2fb18b=_0x1a747e[_0x55c01c];return _0x2fb18b;},_0x55c0(_0x41a31b,_0x12e0a8);}const it=0x7530,nt='ACTIVE_UNIT_EVENT_CHANNEL';class Fn extends _0x1c3a44{constructor(){const _0x174fc7=_0x4a15b3;super(),_(this,_0x174fc7(0x2aa),_0x3e423d()),_(this,'_selfUnitIDs',new Set()),_(this,_0x174fc7(0x1f3),new Map()),_(this,'_heartbeatTimer',null),_(this,_0x174fc7(0x24c),new Map()),_(this,'_unitStatus',new Map()),this[_0x174fc7(0x22b)]();}[_0x4a15b3(0xd4)](){const _0x7a272e=_0x4a15b3;super[_0x7a272e(0xd4)](),this[_0x7a272e(0x24c)][_0x7a272e(0x139)]((_0x51c03d,_0x3405d3)=>this[_0x7a272e(0x1f2)](_0x3405d3)),this['_heartbeatTimer']&&window[_0x7a272e(0x1dc)](this[_0x7a272e(0x274)]);}[_0x4a15b3(0x220)](_0x5df677){const _0x413d9b=_0x4a15b3;return this['_ensureSubject'](_0x5df677)[_0x413d9b(0x134)](_0x34e89d());}[_0x4a15b3(0x1c7)](_0x451afc){const _0x50554f=_0x4a15b3;this['_selfUnitIDs']['size']===0x0&&this[_0x50554f(0xcb)](),this[_0x50554f(0xff)][_0x50554f(0x1a6)](_0x451afc),this['_send']({'type':0x0,'memberID':this[_0x50554f(0x2aa)],'unitIDs':[_0x451afc],'isForwarded':!0x1});}['disposeUnit'](_0x51b386){const _0xcc56cf=_0x4a15b3;this['_selfUnitIDs'][_0xcc56cf(0x2ab)](_0x51b386),this[_0xcc56cf(0xff)][_0xcc56cf(0x203)]===0x0&&this[_0xcc56cf(0x274)]&&window[_0xcc56cf(0x1dc)](this[_0xcc56cf(0x274)]);}[_0x4a15b3(0x22b)](){const _0x4f8697=_0x4a15b3;this[_0x4f8697(0x275)](_0x4d8874(_0x3f6d7a(window,_0x4f8697(0x187))[_0x4f8697(0x226)](_0x4521e2=>{const _0x3380da=_0x4f8697;if(_0x4521e2[_0x3380da(0x20e)]!==nt||!_0x4521e2[_0x3380da(0x204)])return;const _0x3f82f4=JSON[_0x3380da(0xbc)](_0x4521e2[_0x3380da(0x204)]);this['_handleEvent'](_0x3f82f4);}))),window[_0x4f8697(0x191)](_0x4f8697(0xd7),()=>this['_send']({'type':0x1,'memberID':this[_0x4f8697(0x2aa)],'unitIDs':Array['from'](this[_0x4f8697(0xff)])}));}[_0x4a15b3(0x247)](_0x453b2d){const _0x2b6766=_0x4a15b3;switch(_0x453b2d[_0x2b6766(0x13f)]){case 0x0:this[_0x2b6766(0xd0)](_0x453b2d);break;case 0x1:this[_0x2b6766(0x2a2)](_0x453b2d);break;case 0x2:this[_0x2b6766(0x2a9)](_0x453b2d);break;}}[_0x4a15b3(0xd0)](_0x1ce3b0){const _0x2533c8=_0x4a15b3,{unitIDs:_0x32e5d7,memberID:_0x225f0a,isForwarded:_0x20c151}=_0x1ce3b0;_0x32e5d7['forEach'](_0x4ebfb3=>{const _0x58e8d5=_0x55c0;if(!_0x20c151&&this[_0x58e8d5(0x1f3)][_0x58e8d5(0x15e)](_0x4ebfb3)&&this[_0x58e8d5(0xc0)](_0x4ebfb3)['next'](_0x32e1b8[_0x58e8d5(0xdb)]),!this[_0x58e8d5(0x1f3)][_0x58e8d5(0x15e)](_0x4ebfb3)||!this[_0x58e8d5(0x1f3)][_0x58e8d5(0xf5)](_0x4ebfb3)[_0x58e8d5(0x15e)](_0x225f0a)){const _0x535e28=this['_unitOnClients'][_0x58e8d5(0xf5)](_0x4ebfb3)||new Set();_0x535e28[_0x58e8d5(0x1a6)](_0x225f0a),this['_unitOnClients'][_0x58e8d5(0xcc)](_0x4ebfb3,_0x535e28),this['_scheduleClearOtherTimer'](_0x225f0a);}}),_0x20c151||this[_0x2533c8(0xd5)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x2533c8(0xff)]],'isForwarded':!0x0});}[_0x4a15b3(0xb9)](_0x2fba87){const _0x13bf0e=_0x4a15b3;this[_0x13bf0e(0x1f2)](_0x2fba87);const _0x91250f=window[_0x13bf0e(0x18f)](()=>{const _0x6fc8df=_0x13bf0e;this[_0x6fc8df(0x1f3)]['forEach'](_0x3ae3e1=>{_0x3ae3e1['delete'](_0x2fba87);});},it*0x2);this[_0x13bf0e(0x24c)]['set'](_0x2fba87,_0x91250f);}[_0x4a15b3(0x1f2)](_0x362a31){const _0x4ed1b3=_0x4a15b3;if(this['_clearOtherTimers'][_0x4ed1b3(0x15e)](_0x362a31)){const _0x4ca817=this[_0x4ed1b3(0x24c)]['get'](_0x362a31);_0x4ca817&&window[_0x4ed1b3(0xd6)](_0x4ca817),this[_0x4ed1b3(0x24c)][_0x4ed1b3(0xcc)](_0x362a31,null);}}['_handleLeaveEvent'](_0x456fa7){const _0x42485c=_0x4a15b3,{memberID:_0x25a4a2,unitIDs:_0x4ce5bd}=_0x456fa7;_0x4ce5bd[_0x42485c(0x139)](_0x3c6399=>{const _0x160022=_0x42485c;var _0xaef5b5;const _0x2d0019=this['_unitOnClients']['get'](_0x3c6399);_0x2d0019&&(_0x2d0019[_0x160022(0x2ab)](_0x25a4a2),(_0xaef5b5=this[_0x160022(0xc0)](_0x3c6399))==null||_0xaef5b5[_0x160022(0xf6)](_0x2d0019[_0x160022(0x203)]===0x0?_0x32e1b8[_0x160022(0x202)]:_0x32e1b8[_0x160022(0xdb)]));}),this[_0x42485c(0x1f2)](_0x25a4a2);}['_handleHeartbeatEvent'](_0x2c65cb){const _0x2d52ab=_0x4a15b3;this[_0x2d52ab(0xb9)](_0x2c65cb[_0x2d52ab(0xda)]);}[_0x4a15b3(0xd5)](_0x29832a){const _0x45eb41=_0x4a15b3;localStorage['setItem'](nt,JSON[_0x45eb41(0x1ce)](_0x29832a));}[_0x4a15b3(0xcb)](){const _0xff19d1=_0x4a15b3;this[_0xff19d1(0x274)]=window[_0xff19d1(0x1fb)](()=>{const _0x3408f8=_0xff19d1;this['_send']({'type':0x2,'memberID':this[_0x3408f8(0x2aa)]});},it);}[_0x4a15b3(0xc0)](_0x565093){const _0x298cc5=_0x4a15b3;return this[_0x298cc5(0x16d)]['has'](_0x565093)||this[_0x298cc5(0x16d)][_0x298cc5(0xcc)](_0x565093,new _0x429bcf(_0x32e1b8[_0x298cc5(0x202)])),this['_unitStatus'][_0x298cc5(0xf5)](_0x565093);}}var Mt=(_0x5af9c4=>(_0x5af9c4[_0x5af9c4[_0x4a15b3(0xc5)]=0x0]=_0x4a15b3(0xc5),_0x5af9c4[_0x5af9c4['OK']=0x1]='OK',_0x5af9c4[_0x5af9c4[_0x4a15b3(0x1b0)]=0x2]=_0x4a15b3(0x1b0),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x238)]=0x3]=_0x4a15b3(0x238),_0x5af9c4[_0x5af9c4[_0x4a15b3(0xbd)]=0x4]=_0x4a15b3(0xbd),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x253)]=0x5]='UNAUTHENTICATED',_0x5af9c4[_0x5af9c4[_0x4a15b3(0x2bc)]=0x6]=_0x4a15b3(0x2bc),_0x5af9c4[_0x5af9c4['INVALID_ARGUMENT']=0x7]=_0x4a15b3(0x24b),_0x5af9c4[_0x5af9c4['TOO_MANY_REQUESTS']=0x8]=_0x4a15b3(0xfc),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x18d)]=0x9]='COMPLETION_FINISHED',_0x5af9c4[_0x5af9c4[_0x4a15b3(0x235)]=0xa]='LOGIN_FAILED',_0x5af9c4[_0x5af9c4[_0x4a15b3(0x2a1)]=0xb]=_0x4a15b3(0x2a1),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x13a)]=0xc]=_0x4a15b3(0x13a),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x113)]=0xd]=_0x4a15b3(0x113),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x239)]=0xe]=_0x4a15b3(0x239),_0x5af9c4[_0x5af9c4['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x4a15b3(0x102),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x19d)]=0x1771]=_0x4a15b3(0x19d),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x20d)]=0x1772]=_0x4a15b3(0x20d),_0x5af9c4[_0x5af9c4['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x4a15b3(0x2c1),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x2c2)]=0x1b59]=_0x4a15b3(0x2c2),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x21a)]=0x1b5a]=_0x4a15b3(0x21a),_0x5af9c4[_0x5af9c4['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x4a15b3(0x186),_0x5af9c4[_0x5af9c4['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x4a15b3(0x28c),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x16e)]=0x1b5d]=_0x4a15b3(0x16e),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x23c)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x5af9c4[_0x5af9c4[_0x4a15b3(0x118)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x5af9c4[_0x5af9c4[_0x4a15b3(0x109)]=0x232a]=_0x4a15b3(0x109),_0x5af9c4[_0x5af9c4[_0x4a15b3(0xde)]=0x232b]=_0x4a15b3(0xde),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x1b3)]=0x232c]=_0x4a15b3(0x1b3),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x1ba)]=0x232d]=_0x4a15b3(0x1ba),_0x5af9c4[_0x5af9c4['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x4a15b3(0x244),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x279)]=0x2712]=_0x4a15b3(0x279),_0x5af9c4[_0x5af9c4['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x4a15b3(0x175),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x168)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x5af9c4[_0x5af9c4[_0x4a15b3(0x1ad)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x5af9c4[_0x5af9c4[_0x4a15b3(0xf3)]=0x271b]=_0x4a15b3(0xf3),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x136)]=0x271c]=_0x4a15b3(0x136),_0x5af9c4[_0x5af9c4[_0x4a15b3(0xf2)]=0x271d]=_0x4a15b3(0xf2),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x283)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x5af9c4[_0x5af9c4['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x5af9c4[_0x5af9c4[_0x4a15b3(0xf8)]=0x2720]=_0x4a15b3(0xf8),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x215)]=0x2af9]=_0x4a15b3(0x215),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x266)]=0x2ee1]=_0x4a15b3(0x266),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x296)]=0x2ee2]=_0x4a15b3(0x296),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x107)]=0x2ee3]=_0x4a15b3(0x107),_0x5af9c4[_0x5af9c4['USER_NOT_INVITED_CODE']=0x2ee4]=_0x4a15b3(0xfe),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x208)]=0x2ee5]=_0x4a15b3(0x208),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x237)]=0x32c9]=_0x4a15b3(0x237),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x205)]=0x32ca]=_0x4a15b3(0x205),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x182)]=0x32cb]=_0x4a15b3(0x182),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x158)]=-0x1]=_0x4a15b3(0x158),_0x5af9c4))(Mt||{}),pn=Object[_0x4a15b3(0x161)],Cn=(_0x314b29,_0x28cc47,_0x3f6e76,_0x53cc6c)=>{const _0x25794a=_0x4a15b3;for(var _0x5737f8=_0x53cc6c>0x1?void 0x0:_0x53cc6c?pn(_0x28cc47,_0x3f6e76):_0x28cc47,_0x4fd9f1=_0x314b29[_0x25794a(0x25c)]-0x1,_0x2d88fb;_0x4fd9f1>=0x0;_0x4fd9f1--)(_0x2d88fb=_0x314b29[_0x4fd9f1])&&(_0x5737f8=_0x2d88fb(_0x5737f8)||_0x5737f8);return _0x5737f8;},be=(_0xbbac42,_0x419f4c)=>(_0x4a71ca,_0x343888)=>_0x419f4c(_0x4a71ca,_0x343888,_0xbbac42);let rt=class extends _0x1c3a44{constructor(_0x4dceee,_0x327167,_0x1492bf){const _0x2142af=_0x4a15b3;super(),this[_0x2142af(0x112)]=_0x4dceee,this[_0x2142af(0x171)]=_0x327167,this[_0x2142af(0x1c5)]=_0x1492bf;}async[_0x4a15b3(0xb7)](_0x4652d6,_0x37ab68,_0x3fdf45,..._0x1c58b7){const _0x440b22=_0x4a15b3;var _0x34032f,_0xd67549,_0x5cc5df,_0x37a0a9;const _0x21d3c2=this[_0x440b22(0x112)][_0x440b22(0x2bd)]();if(!_0x21d3c2)throw new Error(_0x440b22(0xec));const _0x20d39c=((_0x34032f=this['_configService']['getConfig'](_0x43514))!=null?_0x34032f:_0x1a9fc1)+'/'+_0x4652d6+_0x440b22(0xd8)+_0x37ab68,_0x5c570d=new URL(window[_0x440b22(0xee)][_0x440b22(0x1ef)]),_0x2a251a={'scriptId':_0x4652d6,'runId':(_0xd67549=_0x5c570d[_0x440b22(0x10b)][_0x440b22(0xf5)](_0x440b22(0xd3)))!=null?_0xd67549:'','function':_0x37ab68,'unitId':_0x21d3c2[_0x440b22(0xc7)](),'argsOfFunction':JSON[_0x440b22(0x1ce)](_0x1c58b7),'invokeId':(_0x5cc5df=_0x3fdf45['invokeId'])!=null?_0x5cc5df:'','executionId':(_0x37a0a9=_0x3fdf45[_0x440b22(0xb8)])!=null?_0x37a0a9:''};try{const _0x1f8ecb=await this[_0x440b22(0x171)]['post'](_0x20d39c,{'body':_0x2a251a});return _0x1f8ecb[_0x440b22(0x12b)]['error']&&_0x1f8ecb['body'][_0x440b22(0x18c)][_0x440b22(0x28e)]!==Mt['OK']?_0x440b22(0x1c2):_0x1f8ecb[_0x440b22(0x12b)]['result'];}catch{return _0x440b22(0x1c2);}}};rt=Cn([be(0x0,_0x261934),be(0x1,_0x59cccc(_0x36f74a)),be(0x2,_0x47db95)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Wi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
|
1
|
+
const _0x5496c8=_0x6cac;(function(_0x13df48,_0x21634e){const _0x6edbcb=_0x6cac,_0xfa43e6=_0x13df48();while(!![]){try{const _0x1d84d9=-parseInt(_0x6edbcb(0x20f))/0x1*(-parseInt(_0x6edbcb(0x37f))/0x2)+parseInt(_0x6edbcb(0x282))/0x3+parseInt(_0x6edbcb(0x266))/0x4+parseInt(_0x6edbcb(0x268))/0x5*(-parseInt(_0x6edbcb(0x27b))/0x6)+parseInt(_0x6edbcb(0x186))/0x7+parseInt(_0x6edbcb(0x370))/0x8*(parseInt(_0x6edbcb(0x245))/0x9)+-parseInt(_0x6edbcb(0x305))/0xa;if(_0x1d84d9===_0x21634e)break;else _0xfa43e6['push'](_0xfa43e6['shift']());}catch(_0x3af6c9){_0xfa43e6['push'](_0xfa43e6['shift']());}}}(_0x245d,0x51423));var $t=Object[_0x5496c8(0x32b)],xt=(_0x131102,_0x409342,_0x5df24f)=>_0x409342 in _0x131102?$t(_0x131102,_0x409342,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5df24f}):_0x131102[_0x409342]=_0x5df24f,_=(_0xc8a10f,_0x24d438,_0x4a4d46)=>xt(_0xc8a10f,typeof _0x24d438!=_0x5496c8(0x29d)?_0x24d438+'':_0x24d438,_0x4a4d46);import{MemberService as _0x43aa5d,SessionStatus as _0x129f6f,CollaborationSessionService as _0x1a4927,CollaborationStatus as _0x233496,CollaborationController as _0x4f31e7,ILocalCacheService as _0x190cd5,CollaborationUIEventService as _0x2e7e56,CollaborationUIEventId as _0x180ec1,DataLoaderService as _0x2883d1,DocCollaborationEntity as _0x5a146d,getLocalCacheKey as _0x31ca79,LOCAL_CACHE_INTERVAL as _0x145f4a,LOCAL_CACHE_INTERVAL_KEY as _0x52f700,UniverCollaborationClientPlugin as _0x44064c,CollaborationSocketService as _0x2736e8,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0xedf722,DEFAULT_WS_SESSION_TICKET_URL as _0x521449,UnitStatus as _0x295889,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x3fc2aa,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x122fe8}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x2d29f3,Disposable as _0x192abb,DOC_RANGE_TYPE as _0xe9b024,Inject as _0x3809cb,Injector as _0x23463c,IUniverInstanceService as _0x46dfe1,ICommandService as _0x316b08,debounce as _0x14767a,Rectangle as _0x104712,DisposableCollection as _0x2db222,toDisposable as _0x3ad409,UniverInstanceType as _0x2c4d43,Tools as _0x2ae11c,COLORS as _0x26d74c,ColorKit as _0x3014a8,ThemeService as _0x1990ec,fromEventSubject as _0x202ff4,LocaleService as _0x59fd0b,createIdentifier as _0x40a27e,ILogService as _0x396721,Optional as _0x4da117,Workbook as _0x567be3,CommandType as _0x409a82,IConfigService as _0x36b46d,ILocalStorageService as _0x577f40,DependentOn as _0x33b788,Plugin as _0x374d6d,merge as _0x509630,registerDependencies as _0x399daa,mergeOverrideWithDependencies as _0x9417b2,touchDependencies as _0x21d869,generateRandomId as _0x3a76f8}from'@univerjs/core';import{Shape as _0x2eab77,Rect as _0x2a40d6,getColor as _0x5f45b9,RegularPolygon as _0x10ee4c,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x2d5b14,Vector2 as _0x400011,SHEET_VIEWPORT_KEY as _0x4e1e0e,IRenderManagerService as _0x3e7629}from'@univerjs/engine-render';import{ISocketService as _0xa620ed,WebSocketService as _0x454ec9,HTTPService as _0x242867}from'@univerjs/network';import{IDocClipboardService as _0x577536,NodePositionConvertToCursor as _0x4a08ca,NodePositionConvertToRectRange as _0x185494,TEXT_RANGE_LAYER_INDEX as _0x28d7cc,SetDocZoomRatioOperation as _0x15999c,DocIMEInputManagerService as _0x1d4c7b,DocStateChangeManagerService as _0x473259}from'@univerjs/docs-ui';import{IImageIoService as _0x2a2252}from'@univerjs/drawing';import{BehaviorSubject as _0x4033d5,debounceTime as _0x5a6a6c,takeUntil as _0x2926d6,Subject as _0x32cec9,filter as _0x2c0f64,switchMap as _0x4de612,merge as _0x47f7dd,combineLatest as _0x35f2c6,of as _0x254efc,fromEvent as _0x5d13c1,shareReplay as _0x4bd4aa,mapTo as _0x5784fc,distinctUntilChanged as _0x5a4047}from'rxjs';import{ITransformService as _0x230ef4,CollaborationEvent as _0x5d9723,isTransformMutationFailure as _0x5f1a7f,isTransformMutationsWithChangesetSuccess as _0x38dac8,RevisionService as _0x12b76f,ISnapshotServerService as _0x2f5a1f}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x2e3a9d,RichTextEditingMutation as _0x409b92,DocSelectionManagerService as _0x41a6af,DocSkeletonManagerService as _0x498924}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x5d8c15,serializeRangeWithSheet as _0x2399d5}from'@univerjs/engine-formula';import{RefRangeService as _0x3b6199,SetSelectionsOperation as _0x23e01c,SheetsSelectionsService as _0x1d4f82,EffectRefRangId as _0x1dee37,handleIRemoveRow as _0x144700,handleIRemoveCol as _0xa52e43,handleMoveRange as _0x5d6335,handleInsertRow as _0x1333ff,handleInsertRangeMoveRight as _0x576c40,handleInsertRangeMoveDown as _0x44b7bd,handleInsertCol as _0x2163f3,handleDeleteRangeMoveUp as _0x4204c2,handleDeleteRangeMoveLeft as _0x47dd03,runRefRangeMutations as _0x4d32ed,SetWorksheetActivateCommand as _0x2b7b9a}from'@univerjs/sheets';import{map as _0x49e3a1,filter as _0x5368cc,throttleTime as _0x4395ea,takeUntil as _0x16d4ad,switchMap as _0x4dd329}from'rxjs/operators';import{SheetSkeletonManagerService as _0xdcdb09,getCoordByCell as _0x9de0b8,getSheetObject as _0x6dc969}from'@univerjs/sheets-ui';import{jsx as _0x382f18,jsxs as _0x1ce99a}from'react/jsx-runtime';import{useObservable as _0x29134c,useDependency as _0x16b63e,IUIPartsService as _0x1c8b87,BuiltInUIPart as _0x260eb4,connectInjector as _0x2003da,IBeforeCloseService as _0x1efba6,IMessageService as _0x35577b,INotificationService as _0x1bb4f7}from'@univerjs/ui';import{Tooltip as _0x1692f3,clsx as _0x3650f3,MessageType as _0x3095bf}from'@univerjs/design';import{forwardRef as _0x4bb54e,useRef as _0x3194c0,createElement as _0x1e6f58,useCallback as _0x531d14}from'react';import{IRemoteInstanceService as _0x47fa38}from'@univerjs/rpc';var ci=Object[_0x5496c8(0x1cb)],li=(_0x19a8d8,_0x5acce3,_0x18973a,_0x2b5fa3)=>{const _0x5a8a6f=_0x5496c8;for(var _0x395035=_0x2b5fa3>0x1?void 0x0:_0x2b5fa3?ci(_0x5acce3,_0x18973a):_0x5acce3,_0x2f57a8=_0x19a8d8[_0x5a8a6f(0x2dc)]-0x1,_0x1f0ae2;_0x2f57a8>=0x0;_0x2f57a8--)(_0x1f0ae2=_0x19a8d8[_0x2f57a8])&&(_0x395035=_0x1f0ae2(_0x395035)||_0x395035);return _0x395035;},Je=(_0x4f46e2,_0x423439)=>(_0x12795f,_0x2164b6)=>_0x423439(_0x12795f,_0x2164b6,_0x4f46e2);let Ne=class extends _0x2d29f3{constructor(_0x115c8f,_0x406270){const _0x37014c=_0x5496c8;super(),this[_0x37014c(0x2e7)]=_0x115c8f,this[_0x37014c(0x33a)]=_0x406270,this['_init']();}[_0x5496c8(0x21d)](){const _0x37d38f=_0x5496c8,_0x5c8064=this;this[_0x37d38f(0x18f)](this['_docClipboardService'][_0x37d38f(0x2d7)]({'onBeforePasteImage':async _0x286af3=>{const _0x4b1373=_0x37d38f,_0x5c6204=await _0x5c8064[_0x4b1373(0x33a)][_0x4b1373(0x358)](_0x286af3);return _0x5c6204?{'source':_0x5c6204[_0x4b1373(0x225)],'imageSourceType':_0x5c6204[_0x4b1373(0x215)]}:null;}}));}};Ne=li([Je(0x0,_0x577536),Je(0x1,_0x2a2252)],Ne);const Ze=[_0x5496c8(0x208),'jiqing.500','green.600',_0x5496c8(0x2e9),_0x5496c8(0x36b),_0x5496c8(0x1be)];class ke extends _0x192abb{constructor(){super(...arguments),_(this,'_assignedColors',new Map()),_(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x54c0d4){const _0x35f1f7=_0x5496c8;if(this[_0x35f1f7(0x1a3)][_0x35f1f7(0x2aa)](_0x54c0d4))return this[_0x35f1f7(0x1a3)]['get'](_0x54c0d4);const _0x11424a=Ze[this[_0x35f1f7(0x388)]];return this[_0x35f1f7(0x388)]=(this['_colorIndex']+0x1)%Ze[_0x35f1f7(0x2dc)],this[_0x35f1f7(0x1a3)][_0x35f1f7(0x2b6)](_0x54c0d4,_0x11424a),_0x11424a;}}function Tt(_0x204ed5){const _0xfe6802=_0x5496c8;let _0x3df125='';for(const _0x1ed134 of _0x204ed5){const {startOffset:_0x247d7a,endOffset:_0x5daecd,isActive:_0x1563f9,rangeType:_0x157334,segmentId:_0x1432c6,segmentPage:_0x2af4d3}=_0x1ed134;_0x3df125[_0xfe6802(0x2dc)]&&(_0x3df125+=','),_0x3df125+=_0x247d7a+':'+_0x5daecd+':'+(_0x1563f9?'1':'0')+':'+_0x157334+':'+_0x1432c6+':'+_0x2af4d3;}return _0x3df125;}function _i(_0xc5fec2){const _0x39a9d2=_0x5496c8,_0x469e02=_0xc5fec2['split'](','),_0x367922=[];for(const _0x28c683 of _0x469e02){const [_0x54723f,_0x37a88f,_0x1c17f9,_0x328ce6,_0x68d046,_0x488669]=_0x28c683['split'](':');_0x367922[_0x39a9d2(0x2fc)]({'startOffset':Number(_0x54723f),'endOffset':Number(_0x37a88f),'collapsed':_0x54723f===_0x37a88f,'isActive':_0x1c17f9==='1','rangeType':_0x328ce6===_0xe9b024[_0x39a9d2(0x280)]?_0xe9b024[_0x39a9d2(0x280)]:_0xe9b024[_0x39a9d2(0x1f0)],'segmentId':typeof _0x68d046==_0x39a9d2(0x32f)?String(_0x68d046):'','segmentPage':Number(_0x488669!=null?_0x488669:-0x1)});}return _0x367922[_0x39a9d2(0x1a8)](_0x44abec=>_0x44abec[_0x39a9d2(0x37b)])||(_0x367922[0x0]['isActive']=!0x0),_0x367922;}class He extends _0x2d29f3{constructor(){const _0x24c7a8=_0x5496c8;super(...arguments),_(this,_0x24c7a8(0x1b7),new _0x4033d5(null)),_(this,_0x24c7a8(0x19c),this[_0x24c7a8(0x1b7)][_0x24c7a8(0x1d2)]());}[_0x5496c8(0x2b2)](_0x54588a){const _0x45a5e2=_0x5496c8,{unitID:_0x2c60cd,memberID:_0x1d9f0f,textRanges:_0x294af9}=_0x54588a,_0x358524=Tt(_0x294af9);if(_0x358524==='')return;const _0x22da73={'unitID':_0x2c60cd,'memberID':_0x1d9f0f,'selection':_0x358524};this[_0x45a5e2(0x1b7)][_0x45a5e2(0x2f8)](_0x22da73);}}var hi=Object[_0x5496c8(0x1cb)],ui=(_0x5d3c96,_0x5f2f85,_0x4ddc03,_0x5ce599)=>{const _0x432576=_0x5496c8;for(var _0x19ab15=_0x5ce599>0x1?void 0x0:_0x5ce599?hi(_0x5f2f85,_0x4ddc03):_0x5f2f85,_0x350cb3=_0x5d3c96[_0x432576(0x2dc)]-0x1,_0x53af82;_0x350cb3>=0x0;_0x350cb3--)(_0x53af82=_0x5d3c96[_0x350cb3])&&(_0x19ab15=_0x53af82(_0x19ab15)||_0x19ab15);return _0x19ab15;},P=(_0x3695d5,_0x36c4a7)=>(_0x328dbc,_0x210b00)=>_0x36c4a7(_0x328dbc,_0x210b00,_0x3695d5);const di=0x12c,fi=0x64;let Ue=class extends _0x2d29f3{constructor(_0x3f7fc0,_0x5a1a5f,_0x388ba3,_0x198ea9,_0x2d5751,_0xab478,_0x2ebc81,_0x510309,_0x5c51c4){const _0xa09110=_0x5496c8;super(),_(this,_0xa09110(0x230),!0x1),_(this,_0xa09110(0x21d),!0x1),_(this,_0xa09110(0x385),new _0x4033d5(new Map())),_(this,_0xa09110(0x38c),this[_0xa09110(0x385)]['asObservable']()),_(this,'_roomMembers$',new _0x4033d5([])),_(this,'roomMembers$',this['_roomMembers$'][_0xa09110(0x394)](_0x5a6a6c(di))),_(this,_0xa09110(0x1a1),_0x14767a(_0x4c2334=>{const _0xdc9996=_0xa09110,_0x271404={'eventID':_0x5d9723[_0xdc9996(0x25d)],'data':{'unitID':this[_0xdc9996(0x368)],'memberID':this[_0xdc9996(0x209)][_0xdc9996(0x379)](),'selection':Tt(_0x4c2334)}};this['_session']['send'](_0x271404,this[_0xdc9996(0x368)]);},fi)),(this[_0xa09110(0x368)]=_0x3f7fc0,this[_0xa09110(0x209)]=_0x5a1a5f,this[_0xa09110(0x233)]=_0x388ba3,this[_0xa09110(0x192)]=_0x198ea9,this[_0xa09110(0x293)]=_0x2d5751,this[_0xa09110(0x212)]=_0xab478,this[_0xa09110(0x32a)]=_0x2ebc81,this[_0xa09110(0x205)]=_0x510309,this[_0xa09110(0x224)]=_0x5c51c4);}get['cursorInfo'](){return this['_cursorInfo$']['getValue']();}get[_0x5496c8(0x1cf)](){const _0xed1fc3=_0x5496c8;return this[_0xed1fc3(0x238)]['getValue']();}[_0x5496c8(0x359)](){const _0x12da26=_0x5496c8;super[_0x12da26(0x359)](),this['_cursorInfo$'][_0x12da26(0x2f8)](new Map()),this[_0x12da26(0x385)]['complete'](),this[_0x12da26(0x238)]['next']([]),this[_0x12da26(0x238)][_0x12da26(0x297)]();}[_0x5496c8(0x2df)](){const _0x4d89e0=_0x5496c8;this[_0x4d89e0(0x21d)]||(this[_0x4d89e0(0x21d)]=!0x0,this['_session'][_0x4d89e0(0x37c)]['pipe'](_0x2926d6(this[_0x4d89e0(0x18b)]))[_0x4d89e0(0x334)](_0xd0f99d=>{const _0x5c38b6=_0x4d89e0;_0xd0f99d===_0x129f6f[_0x5c38b6(0x347)]?this[_0x5c38b6(0x1ab)]():this[_0x5c38b6(0x1e1)]();}),this[_0x4d89e0(0x209)][_0x4d89e0(0x31b)]['pipe'](_0x2926d6(this[_0x4d89e0(0x18b)]))[_0x4d89e0(0x334)](_0x4584b0=>{const _0x596fd6=_0x4d89e0,_0x223c54=_0x4584b0['eventID'];_0x223c54===_0x5d9723['UPDATE_CURSOR']&&this[_0x596fd6(0x244)](_0x4584b0),_0x223c54===_0x5d9723[_0x596fd6(0x37a)]&&this[_0x596fd6(0x36a)](_0x4584b0);}),this[_0x4d89e0(0x18f)](this[_0x4d89e0(0x224)][_0x4d89e0(0x321)](_0x95ab5b=>{const _0x2e315d=_0x4d89e0,_0x164565=_0x95ab5b[_0x2e315d(0x31f)];_0x164565!=null&&this[_0x2e315d(0x230)]&&_0x95ab5b['id']===_0x2e3a9d['id']&&_0x164565[_0x2e315d(0x200)]===this[_0x2e315d(0x368)]&&_0x164565[_0x2e315d(0x26b)]===!0x1&&_0x164565[_0x2e315d(0x1c6)]['length']>0x0&&this[_0x2e315d(0x1a1)](_0x164565['ranges']);})),this['_syncEditingCollabCursorService'][_0x4d89e0(0x19c)]['pipe'](_0x2926d6(this[_0x4d89e0(0x18b)]))[_0x4d89e0(0x334)](_0x57193a=>{const _0x34c1e8=_0x4d89e0;if((_0x57193a==null?void 0x0:_0x57193a['unitID'])!==this[_0x34c1e8(0x368)])return;const _0x354522={'eventID':_0x5d9723[_0x34c1e8(0x25d)],'data':_0x57193a};this[_0x34c1e8(0x244)](_0x354522);}),this[_0x4d89e0(0x18f)](this[_0x4d89e0(0x224)][_0x4d89e0(0x321)](_0x13f4b4=>{const _0x5ecc29=_0x4d89e0;if(_0x13f4b4[_0x5ecc29(0x31f)]==null)return;const _0x2c4c3d=_0x13f4b4['params'];if(_0x13f4b4['id']!==_0x409b92['id']||_0x2c4c3d[_0x5ecc29(0x200)]!==this[_0x5ecc29(0x368)])return;const _0x26eef6={'id':_0x5ecc29(0x383),'params':_0x2c4c3d},_0x3e6e25=this[_0x5ecc29(0x23c)];for(const [_0x4bd5c1,_0x16ce0a]of _0x3e6e25){const _0x2a4b84={'id':_0x5ecc29(0x383),'params':{'unitId':this[_0x5ecc29(0x368)],'actions':null,'textRanges':_0x16ce0a[_0x5ecc29(0x1c6)]}},_0x2aef92=this[_0x5ecc29(0x32a)][_0x5ecc29(0x1e0)](_0x26eef6,_0x2a4b84,!0x1);if(_0x5f1a7f(_0x2aef92))throw _0x2aef92['error'];_0x3e6e25[_0x5ecc29(0x2b6)](_0x4bd5c1,{..._0x16ce0a,'ranges':_0x2aef92[_0x5ecc29(0x2a8)][_0x5ecc29(0x31f)][_0x5ecc29(0x289)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x3e6e25);});})));}[_0x5496c8(0x244)](_0x15926a){const _0x83dd9f=_0x5496c8;var _0xbe0f01,_0x3bce0a;const {memberID:_0x2fc17b,selection:_0x21e25b}=_0x15926a[_0x83dd9f(0x1c3)],_0x330558=_i(_0x21e25b),_0x75adc4=(_0x3bce0a=(_0xbe0f01=this[_0x83dd9f(0x293)]['getMember'](this[_0x83dd9f(0x368)],_0x2fc17b))==null?void 0x0:_0xbe0f01[_0x83dd9f(0x187)])!=null?_0x3bce0a:'Unknown\x20user',_0x5b465d={'color':this[_0x83dd9f(0x192)][_0x83dd9f(0x2ea)](_0x2fc17b),'name':_0x75adc4,'ranges':_0x330558},_0x36a0c9=this[_0x83dd9f(0x23c)];_0x36a0c9[_0x83dd9f(0x2b6)](_0x2fc17b,_0x5b465d),this['_cursorInfo$']['next'](_0x36a0c9);}[_0x5496c8(0x36a)](_0x1f9537){const _0x36f1ec=_0x5496c8,{memberID:_0x4a51b9}=_0x1f9537['data'],_0x40cbcd=this[_0x36f1ec(0x23c)];_0x40cbcd[_0x36f1ec(0x2a2)](_0x4a51b9),this['_cursorInfo$'][_0x36f1ec(0x2f8)](_0x40cbcd);}[_0x5496c8(0x1ab)](){const _0x7709a9=_0x5496c8;var _0x1f9ff1;if(this[_0x7709a9(0x230)]=!0x0,((_0x1f9ff1=this[_0x7709a9(0x205)][_0x7709a9(0x263)]())==null?void 0x0:_0x1f9ff1[_0x7709a9(0x237)]())!==this[_0x7709a9(0x368)])return;const _0x1f77fe=this[_0x7709a9(0x233)][_0x7709a9(0x1fb)](_0x41a6af)[_0x7709a9(0x2ab)]();Array['isArray'](_0x1f77fe)&&_0x1f77fe[_0x7709a9(0x2dc)]>0x0&&this[_0x7709a9(0x1a1)](_0x1f77fe);}[_0x5496c8(0x1e1)](){const _0x1acbd4=_0x5496c8;this[_0x1acbd4(0x230)]=!0x1;}};Ue=ui([P(0x2,_0x3809cb(_0x23463c)),P(0x3,_0x3809cb(ke)),P(0x4,_0x3809cb(_0x43aa5d)),P(0x5,_0x3809cb(He)),P(0x6,_0x230ef4),P(0x7,_0x46dfe1),P(0x8,_0x316b08)],Ue);var Si=Object[_0x5496c8(0x1cb)],mi=(_0x52cced,_0x9bbb78,_0x59f72d,_0x7e2840)=>{for(var _0x1eff11=_0x7e2840>0x1?void 0x0:_0x7e2840?Si(_0x9bbb78,_0x59f72d):_0x9bbb78,_0x55bd81=_0x52cced['length']-0x1,_0x4e4db2;_0x55bd81>=0x0;_0x55bd81--)(_0x4e4db2=_0x52cced[_0x55bd81])&&(_0x1eff11=_0x4e4db2(_0x1eff11)||_0x1eff11);return _0x1eff11;},x=(_0x12a9d4,_0x42ce52)=>(_0xca9757,_0x141d5e)=>_0x42ce52(_0xca9757,_0x141d5e,_0x12a9d4);const Ii=0x12c,gi=0x64,vi=()=>{let _0x4f325a=[],_0x129197=!0x1;return _0x487aa8=>{const _0x4e79b0=_0x6cac;_0x4f325a[_0x4e79b0(0x2fc)](_0x487aa8),_0x129197||(_0x129197=!0x0,setTimeout(()=>{const _0x1ec256=_0x4e79b0;_0x4f325a[_0x1ec256(0x34d)](_0x40ea48=>_0x40ea48()),_0x4f325a=[],_0x129197=!0x1;}));};};let Me=class extends _0x2d29f3{constructor(_0x592f48,_0x1aa77c,_0x48851b,_0x488601,_0x3c976a,_0x3147ca,_0x3d86e9,_0x434a36){const _0x29386d=_0x5496c8;super(),_(this,_0x29386d(0x230),!0x1),_(this,_0x29386d(0x21d),!0x1),_(this,_0x29386d(0x385),new _0x4033d5(new Map())),_(this,'cursorInfo$',this['_cursorInfo$'][_0x29386d(0x1d2)]()),_(this,_0x29386d(0x238),new _0x4033d5([])),_(this,_0x29386d(0x2cb),this[_0x29386d(0x238)][_0x29386d(0x394)](_0x5a6a6c(Ii))),_(this,_0x29386d(0x1a1),_0x14767a((_0xbb44e5,_0xed5586)=>{const _0x3c1100=_0x29386d,_0x445a29={'eventID':_0x5d9723[_0x3c1100(0x25d)],'data':{'unitID':this['unitID'],'memberID':this[_0x3c1100(0x209)]['getMemberID'](),'selection':_0x2399d5(_0xbb44e5,_0xed5586[_0x3c1100(0x29c)])}};this['_session'][_0x3c1100(0x251)](_0x445a29,this[_0x3c1100(0x368)]);},gi)),(this['unitID']=_0x592f48,this['_session']=_0x1aa77c,this['_injector']=_0x48851b,this[_0x29386d(0x192)]=_0x488601,this[_0x29386d(0x293)]=_0x3c976a,this[_0x29386d(0x205)]=_0x3147ca,this[_0x29386d(0x224)]=_0x3d86e9,this['_refRangeService']=_0x434a36);}get[_0x5496c8(0x23c)](){const _0x45ada5=_0x5496c8;return this['_cursorInfo$'][_0x45ada5(0x24e)]();}get[_0x5496c8(0x1cf)](){const _0x23217c=_0x5496c8;return this[_0x23217c(0x238)]['getValue']();}[_0x5496c8(0x359)](){const _0x175db1=_0x5496c8;super[_0x175db1(0x359)](),this[_0x175db1(0x385)][_0x175db1(0x2f8)](new Map()),this[_0x175db1(0x385)][_0x175db1(0x297)](),this[_0x175db1(0x238)][_0x175db1(0x2f8)]([]),this[_0x175db1(0x238)]['complete']();}[_0x5496c8(0x2df)](){const _0x8b6a94=_0x5496c8;this[_0x8b6a94(0x21d)]||(this[_0x8b6a94(0x21d)]=!0x0,this[_0x8b6a94(0x209)][_0x8b6a94(0x37c)][_0x8b6a94(0x394)](_0x2926d6(this['dispose$']))[_0x8b6a94(0x334)](_0x41da9a=>{const _0x27cd47=_0x8b6a94;_0x41da9a===_0x129f6f['ONLINE']?this[_0x27cd47(0x1ab)]():this[_0x27cd47(0x1e1)]();}),this[_0x8b6a94(0x209)][_0x8b6a94(0x31b)][_0x8b6a94(0x394)](_0x2926d6(this[_0x8b6a94(0x18b)]))[_0x8b6a94(0x334)](_0x1823fc=>{const _0x16f910=_0x8b6a94,_0x40dc55=_0x1823fc[_0x16f910(0x2d0)];_0x40dc55===_0x5d9723['UPDATE_CURSOR']&&this[_0x16f910(0x244)](_0x1823fc),_0x40dc55===_0x5d9723['USERS_LEAVE']&&this[_0x16f910(0x36a)](_0x1823fc);}),this[_0x8b6a94(0x2d6)](),this[_0x8b6a94(0x18f)](this[_0x8b6a94(0x224)][_0x8b6a94(0x321)](_0xc2581a=>{const _0x26f2f1=_0x8b6a94;if(this[_0x26f2f1(0x230)]&&_0xc2581a['id']===_0x23e01c['id']&&_0xc2581a[_0x26f2f1(0x31f)][_0x26f2f1(0x200)]===this['unitID']){const _0x12291a=_0xc2581a[_0x26f2f1(0x31f)];this[_0x26f2f1(0x1a1)](_0x12291a[_0x26f2f1(0x1b9)],_0x12291a[_0x26f2f1(0x389)][0x0]);}})));}[_0x5496c8(0x244)](_0x5e87c8){const _0x2f363d=_0x5496c8;var _0x4d339a,_0x1c03e9;const {memberID:_0x576d27,selection:_0x5f5b2c}=_0x5e87c8[_0x2f363d(0x1c3)],{sheetName:_0x22f8ba,range:_0x471d2e}=_0x5d8c15(_0x5f5b2c),_0x40b78b={'name':(_0x1c03e9=(_0x4d339a=this['_memberService'][_0x2f363d(0x1d4)](this[_0x2f363d(0x368)],_0x576d27))==null?void 0x0:_0x4d339a[_0x2f363d(0x187)])!=null?_0x1c03e9:_0x2f363d(0x1b0),'range':this[_0x2f363d(0x273)](_0x22f8ba,_0x471d2e),'sheetID':_0x22f8ba,'color':this['_colorAssignService'][_0x2f363d(0x2ea)](_0x576d27),'selection':_0x5f5b2c},_0xc74b5b=this['cursorInfo'];_0xc74b5b[_0x2f363d(0x2b6)](_0x576d27,_0x40b78b),this[_0x2f363d(0x385)][_0x2f363d(0x2f8)](_0xc74b5b);}[_0x5496c8(0x36a)](_0xcdc06f){const _0x499e6a=_0x5496c8,{memberID:_0x22e599}=_0xcdc06f[_0x499e6a(0x1c3)],_0x23ea2b=this[_0x499e6a(0x23c)];_0x23ea2b[_0x499e6a(0x2a2)](_0x22e599),this['_cursorInfo$'][_0x499e6a(0x2f8)](_0x23ea2b);}['_getMergeRange'](_0x3abf02,_0xa60ce7){const _0x459c66=_0x5496c8;var _0x5098c0,_0x303c96;const _0xfbfa45=(_0x303c96=(_0x5098c0=this['_univerInstanceService']['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x5098c0[_0x459c66(0x1b1)](_0x3abf02))==null?void 0x0:_0x303c96[_0x459c66(0x1db)]();return(_0xfbfa45==null?void 0x0:_0xfbfa45[_0x459c66(0x250)](_0x2d3b72=>_0x104712[_0x459c66(0x29e)](_0x2d3b72,_0xa60ce7)))||_0xa60ce7;}['_onRefRangeChange'](){const _0x1876ec=_0x5496c8,_0x1a1c30=new _0x2db222(),_0x1c4db6=vi(),_0x41589e=()=>{const _0x1baffc=_0x6cac;_0x1a1c30[_0x1baffc(0x359)]();const _0x55d0a4=(_0x1199a1,_0x47f327,_0x562f77,_0x58f473)=>{const _0x40772e=_0x1baffc;let _0x4272b7=[];switch(_0x1199a1['id']){case _0x1dee37[_0x40772e(0x308)]:{_0x4272b7=_0x47dd03(_0x1199a1,_0x58f473);break;}case _0x1dee37[_0x40772e(0x26a)]:{_0x4272b7=_0x4204c2(_0x1199a1,_0x58f473);break;}case _0x1dee37[_0x40772e(0x22a)]:{_0x4272b7=_0x2163f3(_0x1199a1,_0x58f473);break;}case _0x1dee37[_0x40772e(0x2be)]:{_0x4272b7=_0x44b7bd(_0x1199a1,_0x58f473);break;}case _0x1dee37[_0x40772e(0x1e2)]:{_0x4272b7=_0x576c40(_0x1199a1,_0x58f473);break;}case _0x1dee37[_0x40772e(0x2bc)]:{_0x4272b7=_0x1333ff(_0x1199a1,_0x58f473);break;}case _0x1dee37[_0x40772e(0x218)]:{_0x4272b7=_0x5d6335(_0x1199a1,_0x58f473);break;}case _0x1dee37['RemoveColCommandId']:{_0x4272b7=_0xa52e43(_0x1199a1,_0x58f473);break;}case _0x1dee37[_0x40772e(0x316)]:{_0x4272b7=_0x144700(_0x1199a1,_0x58f473);break;}}const _0x18a84e=_0x4d32ed(_0x4272b7,_0x58f473),_0x226f11=this['cursorInfo'][_0x40772e(0x1fb)](_0x47f327);if(_0x226f11&&_0x18a84e){const _0x3853f5={..._0x226f11,'range':_0x18a84e};this[_0x40772e(0x23c)][_0x40772e(0x2b6)](_0x47f327,_0x3853f5),_0x1c4db6(()=>{const _0x4d0a8a=_0x40772e,_0xb1292d=this[_0x4d0a8a(0x1b4)][_0x4d0a8a(0x2ce)](_0x18a84e,_0x4a22e0=>(_0xb1292d[_0x4d0a8a(0x359)](),_0x55d0a4(_0x4a22e0,_0x47f327,_0x562f77,_0x18a84e)));_0x1a1c30[_0x4d0a8a(0x286)](_0xb1292d);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x1baffc(0x34d)]((_0xb9cde4,_0x4b9650)=>{const _0x25bdc7=_0x1baffc,{range:_0x28304e,sheetID:_0x5d165e}=_0xb9cde4,_0x1eed35=this[_0x25bdc7(0x1b4)][_0x25bdc7(0x2ce)](_0x28304e,_0xc7e855=>(_0x1eed35[_0x25bdc7(0x359)](),_0x55d0a4(_0xc7e855,_0x4b9650,_0x5d165e,_0x28304e)));_0x1a1c30['add'](_0x1eed35);});};this['disposeWithMe'](_0x3ad409(this[_0x1876ec(0x385)][_0x1876ec(0x334)](()=>{_0x41589e();})));}['_toggleOnline'](){const _0x51518c=_0x5496c8;var _0x5b36d5,_0xc77654;if(this[_0x51518c(0x230)]=!0x0,((_0x5b36d5=this[_0x51518c(0x205)][_0x51518c(0x263)]())==null?void 0x0:_0x5b36d5[_0x51518c(0x237)]())!==this[_0x51518c(0x368)])return;const _0x5f3adb=(_0xc77654=this['_injector'][_0x51518c(0x1fb)](_0x1d4f82)[_0x51518c(0x227)]())==null?void 0x0:_0xc77654[0x0],_0x2072f6=this[_0x51518c(0x205)]['getCurrentUnitForType'](_0x2c4d43[_0x51518c(0x18e)])[_0x51518c(0x378)]();_0x5f3adb&&_0x2072f6&&this[_0x51518c(0x1a1)](_0x2072f6[_0x51518c(0x353)](),_0x5f3adb);}[_0x5496c8(0x1e1)](){this['_online']=!0x1;}};Me=mi([x(0x2,_0x3809cb(_0x23463c)),x(0x3,_0x3809cb(ke)),x(0x4,_0x3809cb(_0x43aa5d)),x(0x5,_0x46dfe1),x(0x6,_0x316b08),x(0x7,_0x3809cb(_0x3b6199))],Me);var pi=Object[_0x5496c8(0x1cb)],Ci=(_0x15a9c6,_0x17fd1c,_0x5bb0cd,_0x43ea17)=>{const _0x3a00b2=_0x5496c8;for(var _0x27307b=_0x43ea17>0x1?void 0x0:_0x43ea17?pi(_0x17fd1c,_0x5bb0cd):_0x17fd1c,_0x2cf0d1=_0x15a9c6[_0x3a00b2(0x2dc)]-0x1,_0xe28c2a;_0x2cf0d1>=0x0;_0x2cf0d1--)(_0xe28c2a=_0x15a9c6[_0x2cf0d1])&&(_0x27307b=_0xe28c2a(_0x27307b)||_0x27307b);return _0x27307b;},Se=(_0xe160b4,_0x2f0f4b)=>(_0x152868,_0x5cfe54)=>_0x2f0f4b(_0x152868,_0x5cfe54,_0xe160b4);let H=class extends _0x2d29f3{constructor(_0x14687e,_0xf53035,_0x3941d1){const _0x561137=_0x5496c8;super(),_(this,_0x561137(0x312),new Map()),_(this,_0x561137(0x204),new _0x32cec9()),(this[_0x561137(0x205)]=_0x14687e,this['_injector']=_0xf53035,this[_0x561137(0x20e)]=_0x3941d1,this['_init']());}[_0x5496c8(0x359)](){const _0x1958ae=_0x5496c8;super[_0x1958ae(0x359)](),this[_0x1958ae(0x204)][_0x1958ae(0x297)](),this[_0x1958ae(0x312)][_0x1958ae(0x34d)](_0x1957b6=>_0x1957b6[_0x1958ae(0x359)]());}['getCollabCursors$'](_0x234592){const _0x3c60d3=_0x5496c8;return this[_0x3c60d3(0x312)]['has'](_0x234592)?this[_0x3c60d3(0x312)][_0x3c60d3(0x1fb)](_0x234592)[_0x3c60d3(0x38c)]:this['_entityInit$']['pipe'](_0x2c0f64(_0x473c8b=>_0x473c8b[_0x3c60d3(0x368)]===_0x234592),_0x4de612(_0x3a2210=>_0x3a2210[_0x3c60d3(0x38c)]));}[_0x5496c8(0x21d)](){const _0x357d94=_0x5496c8;this[_0x357d94(0x205)][_0x357d94(0x346)](_0x2c4d43[_0x357d94(0x18e)])['pipe'](_0x2926d6(this[_0x357d94(0x18b)]))[_0x357d94(0x334)](async _0x537875=>{const _0x58d28c=_0x357d94,_0x1b06e0=_0x537875[_0x58d28c(0x237)](),_0x53be7f=await this[_0x58d28c(0x27a)](_0x1b06e0);this[_0x58d28c(0x204)][_0x58d28c(0x2f8)](_0x53be7f),this[_0x58d28c(0x312)]['set'](_0x1b06e0,_0x53be7f);}),this[_0x357d94(0x205)][_0x357d94(0x346)](_0x2c4d43[_0x357d94(0x371)])[_0x357d94(0x394)](_0x2926d6(this[_0x357d94(0x18b)]))['pipe'](_0x2c0f64(_0x4fceff=>!_0x4fceff['getUnitId']()[_0x357d94(0x2e8)]('__')))[_0x357d94(0x334)](async _0x46ed66=>{const _0x4e19cc=_0x357d94,_0xa2b4c2=_0x46ed66[_0x4e19cc(0x237)](),_0x2d3a7c=await this['_startDocCollabCursor'](_0xa2b4c2);this['_entityInit$'][_0x4e19cc(0x2f8)](_0x2d3a7c),this[_0x4e19cc(0x312)][_0x4e19cc(0x2b6)](_0xa2b4c2,_0x2d3a7c);}),_0x47f7dd(this[_0x357d94(0x205)]['getTypeOfUnitDisposed$'](_0x2c4d43[_0x357d94(0x371)]),this[_0x357d94(0x205)][_0x357d94(0x2e0)](_0x2c4d43[_0x357d94(0x18e)]))[_0x357d94(0x394)](_0x2926d6(this['dispose$']))[_0x357d94(0x334)](_0x4ad642=>{const _0x17c34a=_0x357d94,_0x42ddf0=_0x4ad642[_0x17c34a(0x237)](),_0x2527b7=this[_0x17c34a(0x312)][_0x17c34a(0x1fb)](_0x42ddf0);_0x2527b7&&(_0x2527b7[_0x17c34a(0x359)](),this[_0x17c34a(0x312)][_0x17c34a(0x2a2)](_0x42ddf0));});}async[_0x5496c8(0x27a)](_0x233e4f){const _0x3546bf=_0x5496c8,_0x1834e4=await this[_0x3546bf(0x20e)]['requireSession'](_0x233e4f),_0x398769=this[_0x3546bf(0x233)][_0x3546bf(0x1c2)](Me,_0x233e4f,_0x1834e4);return _0x398769[_0x3546bf(0x2df)](),_0x398769;}async[_0x5496c8(0x19b)](_0x5b2455){const _0x3534e5=_0x5496c8,_0x578d5c=await this[_0x3534e5(0x20e)][_0x3534e5(0x2c0)](_0x5b2455),_0x26d6f2=this['_injector'][_0x3534e5(0x1c2)](Ue,_0x5b2455,_0x578d5c);return _0x26d6f2[_0x3534e5(0x2df)](),_0x26d6f2;}};H=Ci([Se(0x0,_0x46dfe1),Se(0x1,_0x3809cb(_0x23463c)),Se(0x2,_0x3809cb(_0x1a4927))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x26dd32,_0xfbe0db){const _0x2af12d=_0x5496c8;let {radius:_0x2c490b,width:_0x31aaec,height:_0xa274f7}=_0xfbe0db;_0x2c490b=_0x2c490b!=null?_0x2c490b:0x0,_0x31aaec=_0x31aaec!=null?_0x31aaec:0x1e,_0xa274f7=_0xa274f7!=null?_0xa274f7:0x1e;let _0x2caaab=0x0,_0x525104=0x0,_0x18c2fe=0x0;_0x2caaab=_0x525104=_0x18c2fe=Math['min'](_0x2c490b,_0x31aaec/0x2,_0xa274f7/0x2),_0x26dd32[_0x2af12d(0x36c)](),_0x26dd32[_0x2af12d(0x364)](_0x2caaab,0x0),_0x26dd32[_0x2af12d(0x323)](_0x31aaec-_0x525104,0x0),_0x26dd32[_0x2af12d(0x33b)](_0x31aaec-_0x525104,_0x525104,_0x525104,Math['PI']*0x3/0x2,0x0,!0x1),_0x26dd32[_0x2af12d(0x323)](_0x31aaec,_0xa274f7-_0x18c2fe),_0x26dd32[_0x2af12d(0x33b)](_0x31aaec-_0x18c2fe,_0xa274f7-_0x18c2fe,_0x18c2fe,0x0,Math['PI']/0x2,!0x1),_0x26dd32[_0x2af12d(0x323)](0x0,_0xa274f7),_0x26dd32[_0x2af12d(0x323)](0x0,_0x2caaab),_0x26dd32[_0x2af12d(0x33b)](_0x2caaab,_0x2caaab,_0x2caaab,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x26dd32[_0x2af12d(0x2f3)](),_0xfbe0db['fill']&&(_0x26dd32['save'](),_0x26dd32[_0x2af12d(0x32d)]=_0xfbe0db[_0x2af12d(0x1f7)],_0xfbe0db['fillRule']===_0x2af12d(0x1f8)?_0x26dd32[_0x2af12d(0x1f7)](_0x2af12d(0x1f8)):_0x26dd32[_0x2af12d(0x1f7)](),_0x26dd32[_0x2af12d(0x1d9)]());}class he extends _0x2eab77{constructor(_0xc1de1a,_0x17239d){const _0x55b4dd=_0x5496c8;super(_0xc1de1a,_0x17239d),_(this,_0x55b4dd(0x23b)),_(this,_0x55b4dd(0x213)),(this[_0x55b4dd(0x23b)]=_0x17239d==null?void 0x0:_0x17239d[_0x55b4dd(0x23b)],this[_0x55b4dd(0x213)]=_0x17239d==null?void 0x0:_0x17239d[_0x55b4dd(0x213)]);}static['drawWith'](_0x58c3d3,_0x120b84){const _0xccfd37=_0x5496c8,{text:_0x52daba,color:_0x3abd77}=_0x120b84;_0x58c3d3[_0xccfd37(0x1ae)](),_0x58c3d3['font']=_0xccfd37(0x36f);const _0x346854=_0x58c3d3['measureText'](_0x52daba)[_0xccfd37(0x336)],_0x2f266c=Math[_0xccfd37(0x38e)](_0x346854+0x2*me,Qe);Oi(_0x58c3d3,{'height':ee,'radius':0x4,'width':_0x2f266c,'fill':_0x3abd77}),_0x58c3d3[_0xccfd37(0x32d)]=_0xccfd37(0x28c);const _0x374d99=me,_0xdb19fa=ee-Ei,_0x35e22f=Qe-0x2*me;if(_0x346854>_0x35e22f){let _0x379bbe='',_0x17fc75=0x0;for(const _0x142abb of _0x52daba){const _0x1fa298=_0x58c3d3['measureText'](_0x142abb)[_0xccfd37(0x336)];if(_0x17fc75+_0x1fa298<=_0x35e22f-_0x58c3d3[_0xccfd37(0x1ba)]('...')['width'])_0x379bbe+=_0x142abb,_0x17fc75+=_0x1fa298;else{_0x379bbe+=_0xccfd37(0x1fd);break;}}_0x58c3d3[_0xccfd37(0x276)](_0x379bbe,_0x374d99,_0xdb19fa);}else _0x58c3d3['fillText'](_0x52daba,_0x374d99,_0xdb19fa);_0x58c3d3[_0xccfd37(0x1d9)]();}[_0x5496c8(0x258)](_0xfadbb5){const _0x2239e3=_0x5496c8;he[_0x2239e3(0x365)](_0xfadbb5,this);}}const Ie=_0x5496c8(0x203),bi='collab-text-range-',Ti=_0x5496c8(0x27c),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni='rgba(255,\x20255,\x20255,\x200.01)';class qe{constructor(_0x304099,_0x484fbe,_0x463f6d,_0x4cd727){const _0x71536c=_0x5496c8;_(this,_0x71536c(0x2fd),[]),_(this,'_anchor',null),_(this,_0x71536c(0x2cc),null),_(this,_0x71536c(0x38a),null),_(this,_0x71536c(0x275),null),_(this,_0x71536c(0x30a),null),(this[_0x71536c(0x384)]=_0x304099,this['_scene']=_0x484fbe,this[_0x71536c(0x2a4)]=_0x463f6d,this[_0x71536c(0x2d3)]=_0x4cd727,this[_0x71536c(0x21a)]());}set['_hover'](_0xb69697){const _0x5412a6=_0x5496c8;_0xb69697?(this[_0x5412a6(0x38a)]&&this[_0x5412a6(0x38a)][_0x5412a6(0x300)](),this['_textBubble']&&this[_0x5412a6(0x2cc)]['show']()):(this['_anchorDot']&&this[_0x5412a6(0x38a)][_0x5412a6(0x24a)](),this[_0x5412a6(0x2cc)]&&this[_0x5412a6(0x2cc)]['hide']());}[_0x5496c8(0x359)](){const _0x19ac85=_0x5496c8;for(const _0x308b6b of this[_0x19ac85(0x2fd)])_0x308b6b[_0x19ac85(0x359)]();this['_textBubble']&&this['_textBubble'][_0x19ac85(0x359)](),this[_0x19ac85(0x38a)]&&this[_0x19ac85(0x38a)][_0x19ac85(0x359)](),this[_0x19ac85(0x24b)]&&this['_anchor'][_0x19ac85(0x359)](),this[_0x19ac85(0x30a)]&&this[_0x19ac85(0x30a)]();}[_0x5496c8(0x21a)](){const _0x10e425=_0x5496c8;var _0x2badc5;const {_docSkeleton:_0x2ce299,_document:_0x25c413}=this,{color:_0x56d6fb,name:_0x13df8f,ranges:_0x487d5b}=this[_0x10e425(0x384)],_0x3eb6d8=_0x25c413[_0x10e425(0x2a0)](),{docsLeft:_0x4cccb9,docsTop:_0x1686d2}=_0x3eb6d8,_0x3a142c=new _0x4a08ca(_0x3eb6d8,_0x2ce299);for(const {startOffset:_0x28296a,endOffset:_0x5adc53,rangeType:_0x394a13,segmentId:_0xd343d9,segmentPage:_0x253e38,collapsed:_0x1a06e5,isActive:_0xb0f73a}of _0x487d5b){const _0x2f471e=_0x2ce299[_0x10e425(0x2e4)](_0x28296a,!0x0,_0xd343d9,_0x253e38);let _0x2e5642=_0x2ce299[_0x10e425(0x2e4)](_0x5adc53,!0x0,_0xd343d9,_0x253e38);if(_0x2e5642==null&&(_0x2e5642=_0x2ce299['findNodePositionByCharIndex'](_0x5adc53-0x1,!0x1,_0xd343d9,_0x253e38)),_0xb0f73a){const {contentBoxPointGroup:_0x152e6b}=_0x3a142c[_0x10e425(0x2e2)](_0x2e5642,_0x2e5642);if(_0x152e6b[_0x10e425(0x2dc)]===0x0)continue;this[_0x10e425(0x2da)](_0x56d6fb,_0x152e6b,_0x4cccb9,_0x1686d2,_0x13df8f),this[_0x10e425(0x30a)]=this[_0x10e425(0x20c)]();}if(_0x2f471e&&_0x2e5642){if(_0x394a13===_0xe9b024[_0x10e425(0x1f0)]){const _0x1644de=new _0x185494(_0x3eb6d8,_0x2ce299),{pointGroup:_0x1ba63b}=(_0x2badc5=_0x1644de[_0x10e425(0x2e2)](_0x2f471e,_0x2e5642))!=null?_0x2badc5:{};if(_0x1ba63b==null||_0x1ba63b['length']===0x0)continue;this[_0x10e425(0x247)](_0x56d6fb,_0x1ba63b,_0x4cccb9,_0x1686d2);}else{if(!_0x1a06e5){const {borderBoxPointGroup:_0x9ba0b6}=_0x3a142c[_0x10e425(0x2e2)](_0x2f471e,_0x2e5642);if(_0x9ba0b6[_0x10e425(0x2dc)]===0x0)continue;this['_drawTextRange'](_0x56d6fb,_0x9ba0b6,_0x4cccb9,_0x1686d2);}}}}}[_0x5496c8(0x2da)](_0x3c86b9,_0x1daa1a,_0x253cd0,_0x129b7f,_0x601039){const _0x56009d=_0x5496c8,_0x4a7e00=this[_0x56009d(0x304)](_0x1daa1a),{left:_0x380535,top:_0x16227a,height:_0x424e95}=_0x4a7e00,_0x4b40c4=this['_getScale'](),_0x4398a9=Di/_0x4b40c4,_0x32707d=new _0x2a40d6(Ie+_0x2ae11c['generateRandomId'](X),{'left':_0x380535+_0x253cd0-_0x4398a9,'top':_0x16227a+_0x129b7f,'height':_0x424e95,'width':Ri,'fill':_0x3c86b9||_0x5f45b9(_0x26d74c['black'],0x0),'strokeWidth':_0x4398a9,'stroke':Ni,'evented':!0x0});this[_0x56009d(0x24b)]=_0x32707d,this[_0x56009d(0x1b6)][_0x56009d(0x288)](_0x32707d,_0x28d7cc);const _0x2275c9=new _0x2a40d6(Ie+_0x2ae11c['generateRandomId'](X),{'left':_0x380535+_0x253cd0-_0x4398a9,'top':_0x16227a+_0x129b7f-ge/0x2,'height':ge,'width':ge,'fill':_0x3c86b9||_0x5f45b9(_0x26d74c['black'],0x0),'strokeWidth':0x0,'stroke':_0x3c86b9||_0x5f45b9(_0x26d74c[_0x56009d(0x221)],0x0),'evented':!0x1});this[_0x56009d(0x38a)]=_0x2275c9,this[_0x56009d(0x1b6)][_0x56009d(0x288)](_0x2275c9,_0x28d7cc);const _0x2eac48=new he(Ie+_0x2ae11c[_0x56009d(0x27e)](X),{'left':_0x380535+_0x253cd0-_0x4398a9,'top':_0x16227a+_0x129b7f-ee,'text':_0x601039,'color':_0x3c86b9});this[_0x56009d(0x2cc)]=_0x2eac48,this[_0x56009d(0x1b6)]['addObject'](_0x2eac48,_0x28d7cc),this['_hover']=!0x1;}[_0x5496c8(0x20c)](){const _0x4648cd=_0x5496c8,_0x481429=this[_0x4648cd(0x24b)][_0x4648cd(0x267)]['subscribeEvent'](()=>{const _0x5490e0=_0x4648cd;this[_0x5490e0(0x23e)]=!0x0;}),_0x86b901=this[_0x4648cd(0x24b)][_0x4648cd(0x2fe)]['subscribeEvent'](()=>{const _0x90563f=_0x4648cd;this['_hideTimer']&&clearTimeout(this[_0x90563f(0x275)]),this[_0x90563f(0x275)]=setTimeout(()=>{const _0x11891c=_0x90563f;this[_0x11891c(0x23e)]=!0x1;},0x7d0);});return()=>{const _0x2d2b3f=_0x4648cd;_0x481429[_0x2d2b3f(0x1e9)](),_0x86b901[_0x2d2b3f(0x1e9)]();};}['_drawTextRange'](_0x4058a8,_0x5b508c,_0x4ce319,_0x214ac1){const _0x2485aa=_0x5496c8,_0x11e6b2=new _0x3014a8(_0x4058a8)['setAlpha'](0.2)[_0x2485aa(0x2c7)](),_0x1adedb=new _0x10ee4c(bi+_0x2ae11c['generateRandomId'](X),{'pointsGroup':_0x5b508c,'fill':_0x11e6b2||_0x5f45b9(_0x26d74c[_0x2485aa(0x221)],0.2),'left':_0x4ce319,'top':_0x214ac1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2485aa(0x2fd)][_0x2485aa(0x2fc)](_0x1adedb),this[_0x2485aa(0x1b6)][_0x2485aa(0x288)](_0x1adedb,_0x28d7cc);}[_0x5496c8(0x247)](_0xab79e,_0x2fafc4,_0x79e368,_0x389a9d){const _0x4c5b40=_0x5496c8,_0x9d5faf=new _0x3014a8(_0xab79e)['setAlpha'](0.2)[_0x4c5b40(0x2c7)](),_0x454012=new _0x10ee4c(Ti+_0x2ae11c[_0x4c5b40(0x27e)](X),{'pointsGroup':_0x2fafc4,'fill':_0x9d5faf||_0x5f45b9(_0x26d74c['black'],0.2),'left':_0x79e368,'top':_0x389a9d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4c5b40(0x2fd)][_0x4c5b40(0x2fc)](_0x454012),this['_scene'][_0x4c5b40(0x288)](_0x454012,_0x28d7cc);}[_0x5496c8(0x304)](_0x228175){const _0x3f0fcd=_0x228175[0x0],_0x2249e9=_0x3f0fcd[0x0],_0x4243c9=_0x3f0fcd[0x2],{x:_0x4d3bdf,y:_0x381486}=_0x2249e9,{x:_0x3d5dde,y:_0x13ab79}=_0x4243c9;return{'left':_0x4d3bdf,'top':_0x381486,'width':_0x3d5dde-_0x4d3bdf,'height':_0x13ab79-_0x381486};}[_0x5496c8(0x19d)](){const _0xa49903=_0x5496c8,{scaleX:_0x282dc9,scaleY:_0x116c5a}=this[_0xa49903(0x1b6)]['getAncestorScale']();return Math[_0xa49903(0x2b0)](_0x282dc9,_0x116c5a);}}var Ui=Object[_0x5496c8(0x1cb)],Mi=(_0x27fb80,_0x5a65fb,_0x3cda7e,_0x4a3e50)=>{for(var _0xef9a79=_0x4a3e50>0x1?void 0x0:_0x4a3e50?Ui(_0x5a65fb,_0x3cda7e):_0x5a65fb,_0x18e63d=_0x27fb80['length']-0x1,_0x3ffb86;_0x18e63d>=0x0;_0x18e63d--)(_0x3ffb86=_0x27fb80[_0x18e63d])&&(_0xef9a79=_0x3ffb86(_0xef9a79)||_0xef9a79);return _0xef9a79;},Z=(_0x47f9a4,_0x37ac79)=>(_0x18af66,_0x106b8c)=>_0x37ac79(_0x18af66,_0x106b8c,_0x47f9a4);let Le=class extends _0x2d29f3{constructor(_0x5862fb,_0xde1ae3,_0x136039,_0x1d5717,_0x3484db){const _0x299ca5=_0x5496c8;super(),_(this,'_cursorShapes',[]),_(this,_0x299ca5(0x1c9),[]),(this[_0x299ca5(0x2b7)]=_0x5862fb,this[_0x299ca5(0x235)]=_0xde1ae3,this['_collabCursorController']=_0x136039,this[_0x299ca5(0x224)]=_0x1d5717,this[_0x299ca5(0x319)]=_0x3484db,this[_0x299ca5(0x21d)]());}[_0x5496c8(0x21d)](){const _0x32d38c=_0x5496c8,_0x1f6dc8=this[_0x32d38c(0x2b7)][_0x32d38c(0x200)],_0x220876=this[_0x32d38c(0x235)];this[_0x32d38c(0x18f)](_0x35f2c6([this[_0x32d38c(0x21b)]['getCollabCursors$'](_0x1f6dc8),this[_0x32d38c(0x319)][_0x32d38c(0x1c5)]])[_0x32d38c(0x394)](_0x49e3a1(([_0x5a62ab,_0x333b67])=>({'skeleton':_0x220876[_0x32d38c(0x290)](),'cursors':[..._0x5a62ab[_0x32d38c(0x35c)]()][_0x32d38c(0x191)](_0x148c29=>({..._0x148c29,'color':this[_0x32d38c(0x319)][_0x32d38c(0x361)](_0x148c29['color'])}))})))[_0x32d38c(0x334)](_0x4dc7a1=>{const _0x1b869d=_0x32d38c;if(this[_0x1b869d(0x28e)](),_0x4dc7a1){const {skeleton:_0xe7e633,cursors:_0x310f0a}=_0x4dc7a1;this['_updateCollabCursors'](_0xe7e633,_0x310f0a);}})),this[_0x32d38c(0x1ff)](),this['_initCommandExecutedListener']();}[_0x5496c8(0x2cf)](_0x3ce5f0,_0x47f2a8){const _0x30f8bf=_0x5496c8,{scene:_0x4fd076,mainComponent:_0x34d29d}=this['_context'],_0x5886ca=_0x47f2a8[_0x30f8bf(0x1bc)](_0x2b18ad=>new qe(_0x2b18ad,_0x4fd076,_0x3ce5f0,_0x34d29d));this['_cursorShapes']=_0x5886ca,this['_cursors']=_0x47f2a8;}[_0x5496c8(0x301)](){const _0x3c0dc0=_0x5496c8;this['_removeCollabCursors']();const {scene:_0x427b89,mainComponent:_0x4d5d59}=this[_0x3c0dc0(0x2b7)],_0x459e4b=this[_0x3c0dc0(0x235)][_0x3c0dc0(0x290)](),_0x444499=this['_cursors']['map'](_0x2b5aad=>new qe(_0x2b5aad,_0x427b89,_0x459e4b,_0x4d5d59));this[_0x3c0dc0(0x22c)]=_0x444499;}[_0x5496c8(0x28e)](){const _0x136dc8=_0x5496c8;this['_cursorShapes'][_0x136dc8(0x34d)](_0x174e1c=>_0x174e1c['dispose']()),this[_0x136dc8(0x22c)]=[];}[_0x5496c8(0x2b9)](){const _0xf16bd=_0x5496c8,_0x3225eb=[_0x15999c['id']];this[_0xf16bd(0x18f)](this[_0xf16bd(0x224)][_0xf16bd(0x321)](_0x4a0272=>{const _0x45ebef=_0xf16bd;_0x3225eb['includes'](_0x4a0272['id'])&&_0x4a0272[_0x45ebef(0x31f)]['unitId']===this['_context']['unitId']&&this[_0x45ebef(0x301)]();}));}[_0x5496c8(0x1ff)](){const _0x2131ee=_0x5496c8;this[_0x2131ee(0x18f)](_0x202ff4(this['_context'][_0x2131ee(0x269)][_0x2131ee(0x390)])[_0x2131ee(0x394)](_0x5368cc(_0x2617af=>_0x2617af[_0x2131ee(0x2c1)]===_0x2d5b14[_0x2131ee(0x355)]),_0x4395ea(0x10))['subscribe'](()=>{const _0x1c798d=_0x2131ee;this[_0x1c798d(0x301)]();}));}};Le=Mi([Z(0x1,_0x3809cb(_0x498924)),Z(0x2,_0x3809cb(H)),Z(0x3,_0x316b08),Z(0x4,_0x3809cb(_0x1990ec))],Le);const Li=0x1,Pi=1.5;class wi extends _0x2eab77{constructor(_0x41a0b7,_0x301e28){const _0x2c777a=_0x5496c8;super(_0x41a0b7,_0x301e28),_(this,_0x2c777a(0x2ad)),_(this,'_hovered',!0x1),_(this,_0x2c777a(0x214)),_(this,_0x2c777a(0x229),''),_(this,_0x2c777a(0x27f),_0x2c777a(0x220)),_(this,'_backgroundColor'),(_0x301e28&&this[_0x2c777a(0x1a4)](_0x301e28),this['onPointerEnter$'][_0x2c777a(0x242)](()=>this[_0x2c777a(0x1a4)]({'hovered':!0x0})),this[_0x2c777a(0x2fe)][_0x2c777a(0x242)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x5496c8(0x1a4)](_0x94e58a){const _0x52f1ff=_0x5496c8;var _0x1a1835,_0x2b2fe8,_0xbf2705,_0x6cb8,_0x172b4b,_0x54328e;this[_0x52f1ff(0x2ad)]=(_0x1a1835=_0x94e58a[_0x52f1ff(0x23b)])!=null?_0x1a1835:this['_color'],this['_hovered']=(_0x2b2fe8=_0x94e58a[_0x52f1ff(0x239)])!=null?_0x2b2fe8:this['_hovered'],this[_0x52f1ff(0x214)]=(_0xbf2705=_0x94e58a[_0x52f1ff(0x29c)])!=null?_0xbf2705:this['_range'],this[_0x52f1ff(0x229)]=(_0x6cb8=_0x94e58a[_0x52f1ff(0x187)])!=null?_0x6cb8:this[_0x52f1ff(0x229)],this[_0x52f1ff(0x27f)]=(_0x172b4b=_0x94e58a[_0x52f1ff(0x21e)])!=null?_0x172b4b:this[_0x52f1ff(0x27f)],this['_backgroundColor']=(_0x54328e=_0x94e58a[_0x52f1ff(0x226)])!=null?_0x54328e:this['_backgroundColor'],this[_0x52f1ff(0x26d)]({'width':_0x94e58a[_0x52f1ff(0x336)],'height':_0x94e58a['height']});}[_0x5496c8(0x1a6)](_0x596806){const _0x2c7fc5=_0x5496c8,{row:_0xc515dc,column:_0x2c5b56}=_0x596806;if(_0xc515dc>=this['_range'][_0x2c7fc5(0x28a)]&&_0xc515dc<=this[_0x2c7fc5(0x214)]['endRow']&&_0x2c5b56>=this[_0x2c7fc5(0x214)][_0x2c7fc5(0x2e6)]&&_0x2c5b56<=this[_0x2c7fc5(0x214)][_0x2c7fc5(0x357)]){this[_0x2c7fc5(0x1a4)]({'hovered':!0x0});return;}this[_0x2c7fc5(0x1a4)]({'hovered':!0x1});}[_0x5496c8(0x201)](_0x51109a){return!0x1;}[_0x5496c8(0x258)](_0x363b43){const _0x49e2b7=_0x5496c8;_0x2a40d6[_0x49e2b7(0x365)](_0x363b43,{'width':this[_0x49e2b7(0x336)],'height':this['height'],'strokeWidth':Pi,'stroke':this[_0x49e2b7(0x2ad)],'evented':!0x1,'fill':this[_0x49e2b7(0x24f)]}),this['_hovered']&&(_0x363b43['save'](),_0x363b43[_0x49e2b7(0x1d3)](0x1,0x0,0x0,0x1,this['width'],this[_0x49e2b7(0x27f)]==='bottom'?0x0:-0x14),he['drawWith'](_0x363b43,{'text':this['_name'],'color':this[_0x49e2b7(0x2ad)]}),_0x363b43[_0x49e2b7(0x1d9)]());}}var Ai=Object[_0x5496c8(0x1cb)],yi=(_0x1378b6,_0xf27484,_0x32d408,_0x2f3e87)=>{const _0x3c4021=_0x5496c8;for(var _0x36eab6=_0x2f3e87>0x1?void 0x0:_0x2f3e87?Ai(_0xf27484,_0x32d408):_0xf27484,_0x350de2=_0x1378b6[_0x3c4021(0x2dc)]-0x1,_0x579a40;_0x350de2>=0x0;_0x350de2--)(_0x579a40=_0x1378b6[_0x350de2])&&(_0x36eab6=_0x579a40(_0x36eab6)||_0x36eab6);return _0x36eab6;},ve=(_0x1e423f,_0x26d093)=>(_0x39eb01,_0x483a1b)=>_0x26d093(_0x39eb01,_0x483a1b,_0x1e423f);const $i=0x1389;let Pe=class extends _0x2d29f3{constructor(_0x35aceb,_0x583fb9,_0x10dc80,_0x42291d){const _0x524917=_0x5496c8;super(),_(this,_0x524917(0x1c9),new Set()),_(this,_0x524917(0x342),null),(this[_0x524917(0x2b7)]=_0x35aceb,this[_0x524917(0x1fa)]=_0x583fb9,this[_0x524917(0x21b)]=_0x10dc80,this[_0x524917(0x319)]=_0x42291d,this['_init']());}['_init'](){const _0x19fced=_0x5496c8;this[_0x19fced(0x1fa)][_0x19fced(0x257)][_0x19fced(0x394)](_0x16d4ad(this[_0x19fced(0x18b)]),_0x4dd329(_0x4d4437=>{const _0x3106d7=_0x19fced;if(_0x4d4437){const _0x3a3d74=_0x4d4437[_0x3106d7(0x367)];return _0x35f2c6(this['_collabCursorController'][_0x3106d7(0x197)](this[_0x3106d7(0x2b7)]['unitId']),this['_themeService'][_0x3106d7(0x1c5)])[_0x3106d7(0x394)](_0x49e3a1(([_0x2e6069,_0x588992])=>{const _0x35f586=_0x3106d7,_0x2b642f=new Map();return _0x2e6069[_0x35f586(0x34d)]((_0x1c4156,_0x409024)=>{const _0x408fc9=_0x35f586;if(_0x1c4156[_0x408fc9(0x23d)]===_0x3a3d74){const _0x3337cc={..._0x1c4156};_0x3337cc[_0x408fc9(0x23b)]=this[_0x408fc9(0x319)]['getColorFromTheme'](_0x1c4156['color']),_0x2b642f[_0x408fc9(0x2b6)](_0x409024,_0x3337cc);}}),{'skeleton':_0x4d4437,'cursors':_0x2b642f};}));}return _0x254efc({'skeleton':null,'cursors':new Map()});}))[_0x19fced(0x334)](({skeleton:_0x1c8e6d,cursors:_0x15533a})=>{const _0x8ec83c=_0x19fced;this[_0x8ec83c(0x28e)](),_0x1c8e6d&&this['_updateCollabCursors'](_0x1c8e6d,_0x15533a);}),this['_sheetSkeletonManagerService'][_0x19fced(0x257)]['subscribe'](_0x54402c=>{const _0x1188ce=_0x19fced;if(_0x54402c==null)return;const {skeleton:_0x395e30}=_0x54402c,{scene:_0x283bf4}=this['_context'];_0x283bf4[_0x1188ce(0x2ed)][_0x1188ce(0x242)](_0x14767a(_0x5c0a6e=>{const _0x564022=_0x1188ce;var _0x5302c1,_0x54f162;const {offsetX:_0x5b76f8,offsetY:_0x22d2d2}=_0x5c0a6e,{x:_0x3b519f,y:_0x57be85}=_0x283bf4[_0x564022(0x1f9)](_0x400011['FromArray']([_0x5b76f8,_0x22d2d2])),{scaleX:_0x25cc76,scaleY:_0x5b5eee}=_0x283bf4[_0x564022(0x344)](),_0xf04cb=_0x283bf4[_0x564022(0x1e3)](_0x4e1e0e[_0x564022(0x318)]),_0x593806=_0x283bf4[_0x564022(0x350)](_0x400011[_0x564022(0x255)]([_0x3b519f,_0x57be85]),_0xf04cb),_0x5b0973=_0x395e30['getCellPositionByOffset'](_0x5b76f8,_0x22d2d2,_0x25cc76,_0x5b5eee,_0x593806);((_0x5302c1=this[_0x564022(0x342)])==null?void 0x0:_0x5302c1[_0x564022(0x246)])===_0x5b0973[_0x564022(0x246)]&&((_0x54f162=this[_0x564022(0x342)])==null?void 0x0:_0x54f162['row'])===_0x5b0973[_0x564022(0x2bf)]||this['_cursors'][_0x564022(0x34d)](_0x49de70=>{const _0x3ce788=_0x564022;_0x49de70[_0x3ce788(0x1a6)](_0x5b0973);});},0x64));});}[_0x5496c8(0x2cf)](_0x4b2d47,_0x2109f1){const _0x4c869c=_0x5496c8;var _0x4830a3;const _0x401142=(_0x4830a3=this[_0x4c869c(0x1fa)][_0x4c869c(0x252)]())==null?void 0x0:_0x4830a3[_0x4c869c(0x1e7)];if(!_0x401142)return;const _0x23efd8=this['_getSheetObject']();if(!_0x23efd8)return;this[_0x4c869c(0x1c9)]['forEach'](_0x16add4=>{const _0x35e369=_0x4c869c;_0x16add4[_0x35e369(0x386)]();});const {scene:_0x43ca1}=_0x23efd8,_0x584b2=xi(Array[_0x4c869c(0x391)](_0x2109f1[_0x4c869c(0x35c)]()))[_0x4c869c(0x1bc)](_0x2167d0=>{const _0x13a6d1=_0x4c869c,{color:_0x2ecc70,range:_0x26e8b0,name:_0x3495a8,selection:_0x33297a,sheetID:_0x303015}=_0x2167d0,{startColumn:_0x59eab3,startRow:_0x19fd1b,endColumn:_0x1b88ea,endRow:_0x12efb5}=_0x26e8b0,_0x113bf9=_0x9de0b8(_0x19fd1b,_0x59eab3,_0x43ca1,_0x401142),_0x17ff75=_0x9de0b8(_0x12efb5,_0x1b88ea,_0x43ca1,_0x401142),{columnHeaderHeightAndMarginTop:_0x4859e8}=_0x401142,{startX:_0x3a07c4,startY:_0x46cb66}=_0x113bf9,{endX:_0x3062c6,endY:_0x461a65}=_0x17ff75,_0x309d83=_0x3062c6-_0x3a07c4,_0x2638c8=_0x461a65-_0x46cb66,_0x4dc1a7={'labelPosition':_0x46cb66-_0x4859e8>=ee?_0x13a6d1(0x220):_0x13a6d1(0x382),'sheetID':_0x303015,'range':_0x26e8b0,'color':_0x2ecc70,'name':_0x3495a8,'selection':_0x33297a,'left':_0x3a07c4,'top':_0x46cb66,'width':_0x309d83,'height':_0x2638c8,'evented':!0x1,'zIndex':$i};return new wi(_0x3495a8,_0x4dc1a7);});_0x43ca1[_0x4c869c(0x299)](_0x584b2,Li),this[_0x4c869c(0x1c9)]=new Set(_0x584b2);}['_removeCollabCursors'](){const _0x4901b4=_0x5496c8;var _0x18ab94;(_0x18ab94=this[_0x4901b4(0x1c9)])==null||_0x18ab94['forEach'](_0x21db0f=>_0x21db0f[_0x4901b4(0x359)]());}[_0x5496c8(0x270)](){const _0x3c3a19=_0x5496c8;return _0x6dc969(this['_context']['unit'],this[_0x3c3a19(0x2b7)]);}};Pe=yi([ve(0x1,_0x3809cb(_0xdcdb09)),ve(0x2,_0x3809cb(H)),ve(0x3,_0x3809cb(_0x1990ec))],Pe);function xi(_0x22cda7){const _0x2d92d7=_0x5496c8,_0x16bb7c=new Map();return _0x22cda7[_0x2d92d7(0x34d)](_0x49527c=>{const _0x4dd8d1=_0x2d92d7;if(_0x16bb7c[_0x4dd8d1(0x2aa)](_0x49527c['selection'])){const _0x5de719=_0x16bb7c[_0x4dd8d1(0x1fb)](_0x49527c[_0x4dd8d1(0x310)]);_0x5de719[_0x4dd8d1(0x187)]+=',\x20'+_0x49527c[_0x4dd8d1(0x187)];}else _0x16bb7c[_0x4dd8d1(0x2b6)](_0x49527c['selection'],_0x49527c);}),Array[_0x2d92d7(0x391)](_0x16bb7c['values']());}var v=function(){const _0x1cf78e=_0x5496c8;return v=Object[_0x1cf78e(0x211)]||function(_0x1a1f38){const _0x37285d=_0x1cf78e;for(var _0x362bcd,_0x1cff4a=0x1,_0x646c1a=arguments[_0x37285d(0x2dc)];_0x1cff4a<_0x646c1a;_0x1cff4a++){_0x362bcd=arguments[_0x1cff4a];for(var _0x13ee95 in _0x362bcd)Object['prototype'][_0x37285d(0x348)][_0x37285d(0x1c0)](_0x362bcd,_0x13ee95)&&(_0x1a1f38[_0x13ee95]=_0x362bcd[_0x13ee95]);}return _0x1a1f38;},v[_0x1cf78e(0x31a)](this,arguments);},Bi=function(_0x253ce3,_0x199b03){const _0x520959=_0x5496c8;var _0x60b428={};for(var _0x59b66a in _0x253ce3)Object[_0x520959(0x1c8)][_0x520959(0x348)][_0x520959(0x1c0)](_0x253ce3,_0x59b66a)&&_0x199b03[_0x520959(0x343)](_0x59b66a)<0x0&&(_0x60b428[_0x59b66a]=_0x253ce3[_0x59b66a]);if(_0x253ce3!=null&&typeof Object[_0x520959(0x35b)]=='function'){for(var _0x1bb2c2=0x0,_0x59b66a=Object[_0x520959(0x35b)](_0x253ce3);_0x1bb2c2<_0x59b66a[_0x520959(0x2dc)];_0x1bb2c2++)_0x199b03[_0x520959(0x343)](_0x59b66a[_0x1bb2c2])<0x0&&Object['prototype'][_0x520959(0x2fa)][_0x520959(0x1c0)](_0x253ce3,_0x59b66a[_0x1bb2c2])&&(_0x60b428[_0x59b66a[_0x1bb2c2]]=_0x253ce3[_0x59b66a[_0x1bb2c2]]);}return _0x60b428;},Fe=_0x4bb54e(function(_0x5ef4b2,_0x230a5e){const _0x2cfcf2=_0x5496c8;var _0x3b05e3=_0x5ef4b2[_0x2cfcf2(0x2af)],_0x2f7975=_0x5ef4b2['id'],_0x21f3f6=_0x5ef4b2[_0x2cfcf2(0x25a)],_0x19f6b4=_0x5ef4b2[_0x2cfcf2(0x1ed)],_0x1f2021=Bi(_0x5ef4b2,[_0x2cfcf2(0x2af),'id',_0x2cfcf2(0x25a),_0x2cfcf2(0x1ed)]),_0x22e393=_0x2cfcf2(0x317)[_0x2cfcf2(0x396)](_0x2f7975,'\x20')[_0x2cfcf2(0x396)](_0x21f3f6||'')['trim'](),_0x4aa191=_0x3194c0('_'[_0x2cfcf2(0x396)](Fi()));return Rt(_0x3b05e3,''[_0x2cfcf2(0x396)](_0x2f7975),{'defIds':_0x3b05e3[_0x2cfcf2(0x2c5)],'idSuffix':_0x4aa191[_0x2cfcf2(0x1bd)]},v({'ref':_0x230a5e,'className':_0x22e393},_0x1f2021),_0x19f6b4);});function Rt(_0x52f867,_0x25c282,_0x571827,_0x5ea036,_0x10333e){const _0x5be3a9=_0x5496c8;return _0x1e6f58(_0x52f867['tag'],v(v({'key':_0x25c282},ki(_0x52f867,_0x571827,_0x10333e)),_0x5ea036),(Hi(_0x52f867,_0x571827)[_0x5be3a9(0x27d)]||[])[_0x5be3a9(0x1bc)](function(_0x296d29,_0x531b54){const _0x4e52be=_0x5be3a9;return Rt(_0x296d29,''[_0x4e52be(0x396)](_0x25c282,'-')['concat'](_0x52f867[_0x4e52be(0x1a0)],'-')[_0x4e52be(0x396)](_0x531b54),_0x571827,void 0x0,_0x10333e);}));}function ki(_0x5d6fd0,_0x3927ab,_0x1cd9be){const _0x53df43=_0x5496c8;var _0x381c36=v({},_0x5d6fd0[_0x53df43(0x322)]);_0x1cd9be!=null&&_0x1cd9be[_0x53df43(0x26e)]&&_0x381c36['fill']===_0x53df43(0x26e)&&(_0x381c36[_0x53df43(0x1f7)]=_0x1cd9be[_0x53df43(0x26e)]),_0x5d6fd0['tag']===_0x53df43(0x279)&&_0x381c36['id']&&(_0x381c36['id']=_0x381c36['id']+_0x3927ab[_0x53df43(0x254)]),Object[_0x53df43(0x1b5)](_0x381c36)[_0x53df43(0x34d)](function(_0x50eebd){const _0x508162=_0x53df43;var _0xfca8c1=_0x50eebd[0x0],_0x2744c=_0x50eebd[0x1];_0xfca8c1==='mask'&&typeof _0x2744c=='string'&&(_0x381c36[_0xfca8c1]=_0x2744c['replace'](/url\(#(.*)\)/,'url(#$1'[_0x508162(0x396)](_0x3927ab[_0x508162(0x254)],')')));});var _0x3f8d9b=_0x3927ab[_0x53df43(0x2c5)];return!_0x3f8d9b||_0x3f8d9b[_0x53df43(0x2dc)]===0x0||(_0x5d6fd0[_0x53df43(0x1a0)]===_0x53df43(0x231)&&_0x381c36[_0x53df43(0x33f)]&&(_0x381c36[_0x53df43(0x33f)]=_0x381c36[_0x53df43(0x33f)]+_0x3927ab['idSuffix']),Object[_0x53df43(0x1b5)](_0x381c36)[_0x53df43(0x34d)](function(_0x49198f){const _0x248a60=_0x53df43;var _0x20ffb0=_0x49198f[0x0],_0x21f66c=_0x49198f[0x1];typeof _0x21f66c==_0x248a60(0x32f)&&(_0x381c36[_0x20ffb0]=_0x21f66c[_0x248a60(0x2c9)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x3927ab[_0x248a60(0x254)],')')));})),_0x381c36;}function Hi(_0x13d32f,_0x225efb){const _0x4ef89d=_0x5496c8;var _0x53ab1a,_0x2e476c=_0x225efb[_0x4ef89d(0x2c5)];return!_0x2e476c||_0x2e476c[_0x4ef89d(0x2dc)]===0x0?_0x13d32f:_0x13d32f[_0x4ef89d(0x1a0)]===_0x4ef89d(0x2ac)&&(!((_0x53ab1a=_0x13d32f[_0x4ef89d(0x27d)])===null||_0x53ab1a===void 0x0)&&_0x53ab1a[_0x4ef89d(0x2dc)])?v(v({},_0x13d32f),{'children':_0x13d32f[_0x4ef89d(0x27d)][_0x4ef89d(0x1bc)](function(_0x5e3481){const _0x328ba7=_0x4ef89d;return typeof _0x5e3481[_0x328ba7(0x322)]['id']==_0x328ba7(0x32f)&&_0x2e476c&&_0x2e476c[_0x328ba7(0x372)](_0x5e3481[_0x328ba7(0x322)]['id'])?v(v({},_0x5e3481),{'attrs':v(v({},_0x5e3481['attrs']),{'id':_0x5e3481[_0x328ba7(0x322)]['id']+_0x225efb[_0x328ba7(0x254)]})}):_0x5e3481;})}):_0x13d32f;}function Fi(){const _0x2d24a9=_0x5496c8;return Math[_0x2d24a9(0x326)]()[_0x2d24a9(0x1ef)](0x24)[_0x2d24a9(0x338)](0x2,0x8);}Fe[_0x5496c8(0x24c)]=_0x5496c8(0x189);var Yi={'tag':'svg','attrs':{'xmlns':_0x5496c8(0x1ee),'fill':_0x5496c8(0x1aa),'viewBox':_0x5496c8(0x19f),'width':_0x5496c8(0x2a3),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x5496c8(0x362)},'children':[{'tag':'path','attrs':{'stroke':_0x5496c8(0x196),'d':_0x5496c8(0x29a),'strokeLinecap':'round','strokeLinejoin':_0x5496c8(0x1c1),'strokeWidth':1.2}}]},{'tag':_0x5496c8(0x2ac),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x5496c8(0x35f),'attrs':{'fill':_0x5496c8(0x1e8),'d':_0x5496c8(0x25f)}}]}]}],'defIds':[_0x5496c8(0x277)]},Dt=_0x4bb54e(function(_0x3525a8,_0x461a8a){const _0x302e47=_0x5496c8;return _0x1e6f58(Fe,Object[_0x302e47(0x211)]({},_0x3525a8,{'id':_0x302e47(0x363),'ref':_0x461a8a,'icon':Yi}));});Dt[_0x5496c8(0x24c)]=_0x5496c8(0x26c);var ji={'tag':_0x5496c8(0x1de),'attrs':{'xmlns':_0x5496c8(0x1ee),'fill':'none','viewBox':_0x5496c8(0x199),'width':_0x5496c8(0x2a3),'height':_0x5496c8(0x2a3)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x5496c8(0x35f),'attrs':{'stroke':_0x5496c8(0x196),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x5496c8(0x1c1),'strokeLinejoin':_0x5496c8(0x1c1),'strokeWidth':1.2}}]},{'tag':_0x5496c8(0x2ac),'attrs':{},'children':[{'tag':_0x5496c8(0x198),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x5496c8(0x35f),'attrs':{'fill':_0x5496c8(0x1e8),'d':_0x5496c8(0x25f),'transform':_0x5496c8(0x294)}}]}]}],'defIds':[_0x5496c8(0x2f9)]},Nt=_0x4bb54e(function(_0x410be1,_0x144f18){const _0x12763d=_0x5496c8;return _0x1e6f58(Fe,Object[_0x12763d(0x211)]({},_0x410be1,{'id':_0x12763d(0x28d),'ref':_0x144f18,'icon':ji}));});Nt['displayName']=_0x5496c8(0x29b);function Vi(_0x3ee12c){const _0x3a280f=_0x5496c8;switch(_0x3ee12c){case _0x233496['OFFLINE']:return _0x3a280f(0x2fb);case _0x233496[_0x3a280f(0x375)]:return _0x3a280f(0x19e);case _0x233496[_0x3a280f(0x314)]:return'collabStatus.fetchMiss';case _0x233496[_0x3a280f(0x2c6)]:return'collabStatus.notCollab';case _0x233496['AWAITING']:case _0x233496[_0x3a280f(0x398)]:return _0x3a280f(0x33c);case _0x233496[_0x3a280f(0x1bf)]:case _0x233496[_0x3a280f(0x287)]:return _0x3a280f(0x2f7);}}function Wi(_0x3d744e){const _0x4874c9=_0x5496c8,{status$:_0x1cf90d}=_0x3d744e,_0x30b207=_0x29134c(_0x1cf90d,_0x233496[_0x4874c9(0x2c6)]),_0x44276d=_0x16b63e(_0x59fd0b),_0x3f27c1=_0x16b63e(_0x1a4927),_0x551ba1=_0x30b207!==_0x233496[_0x4874c9(0x241)],_0x51dece=_0x44276d['t'](Vi(_0x30b207)),_0x288462=_0x551ba1?_0x382f18(Nt,{}):_0x382f18(Dt,{}),_0x4d1430=_0x531d14(()=>{_0x551ba1||_0x3f27c1['reconnect']();},[_0x551ba1,_0x3f27c1]);function _0x213a2c(){const _0x42ba1a=_0x4874c9;return _0x1ce99a('div',{'className':_0x42ba1a(0x2b5),'onClick':_0x4d1430,'children':[_0x382f18(_0x42ba1a(0x34e),{'className':_0x3650f3(_0x42ba1a(0x1e6),{'univer-text-green-500':_0x551ba1,'univer-text-red-500':!_0x551ba1}),'children':_0x288462}),_0x382f18(_0x42ba1a(0x34e),{'className':_0x42ba1a(0x1fc),'children':_0x51dece})]});}return _0x551ba1?_0x213a2c():_0x382f18(_0x1692f3,{'title':_0x44276d['t'](_0x4874c9(0x329)),'children':_0x213a2c()});}function _0x245d(){const _0x3016b6=['_saveTaskMap','editingUnit','stringify','params','_updateURLWithCurrentState','onCommandExecuted','attrs','lineTo','COMPLETION_FINISHED','getCurrentRevOfUnit','random','setInterval','docStateChange$','collab-client.tooltip.reconnect','_transformService','defineProperty','_collaborationController','fillStyle','UNRECOGNIZED','string','SNAPSHOT_HAS_BEEN_REMOVED','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_scheduleHeartbeat','isArray','subscribe','_selfUnitIDs','width','MOBILE_VERIFY_CODE_MISMATCH','substring','_transformPreviousActiveRange','_imageIoService','arc','collabStatus.syncing','_logService','_urlService','xlink:href','loadOfflineData','transformStateCache','_lastPointer','indexOf','getAncestorScale','MUTATION','getTypeOfUnitAdded$','ONLINE','hasOwnProperty','UNDEFINED','removeParam','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_handleLeaveEvent','forEach','div','_id','getVpScrollXYInfoByPosToVp','LOGIN_FAILED','EMAIL_VERIFY_CODE_MISMATCH','getSheetId','JOIN_ROOM_FAILED','resize','href','endColumn','saveImage','dispose','_instanceService','getOwnPropertySymbols','values','_registerDependencies','_initStatusComponent','path','deepClone','getColorFromTheme','url(#off-line-icon_clip0_910_343)','off-line-icon','moveTo','drawWith','_renderManagerService','sheetId','unitID','clearInterval','_onCursorDelete','blue.400','beginPath','YUUMI_ALL_TABLES_IS_INVALID','executeCommand','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','8lpHlmI','UNIVER_DOC','includes','_createSocketURL','pushState','CONFLICT','uni.network.url-service','_clearOtherTimers','getActiveSheet','getMemberID','USERS_LEAVE','isActive','sessionStatus$','APPLY_DUPLICATED','CONNECTOR_DATA_TOO_LARGE','956798XdyPhV','size','EMAIL_HAS_BEEN_BOUND','bottom','doc.mutation.rich-text-editing','_cursor','_cursorInfo$','makeDirty','INTERNAL_ERROR','_colorIndex','selections','_anchorDot','[CollaborationDataLoaderController]','cursorInfo$','_scheduleClearOtherTimer','min','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','onTransformChange$','from','getUndoRedoMutationParamsCache','_docTransformSelectionsService','pipe','redoState','concat','SNAPSHOT_INVALID_SNAPSHOT','AWAITING_WITH_PENDING','activeSheet$','then','3786027RWdVie','name','LICENSE_MAX_UNITS_EXCEEDED','UniverIcon','session.connection-failed','dispose$','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','location','UNIVER_SHEET','disposeWithMe','popstate','flatMap','_colorAssignService','_dataLoaderService','_scheduleSaving','NOT_FOUND','currentColor','getCollabCursors$','clipPath','0\x200\x2017\x2016','setStateCache','_startDocCollabCursor','collabCursorState$','_getScale','collabStatus.conflict','0\x200\x2016\x2016','tag','_updateLocalCursor','_initEntityListener','_assignedColors','setShapeProps','replaceState','onMouseMove','loadUnit','some','_setupBeforeClosingHandler','none','_toggleOnline','_messageService','m1Prime','save','_localCacheService','Unknown\x20user','getSheetBySheetId','unit','_collaborationUIEventService','_refRangeService','entries','_scene','_collabCursorState$','_unitStatus','subUnitId','measureText','CHANGESET_REVISION_CONFILICT','map','current','yellow.400','SYNCED','call','round','createInstance','data','YUUMI_ASYNCIO_CANCELLED','currentTheme$','ranges','getConfig','prototype','_cursors','_config','getOwnPropertyDescriptor','PY_RUNTIME_SCRIPT_ERROR','LICENSE_DISTRO_REJECTED','MOBILE_HAS_BEEN_BOUND','roomMembers','memberID','debug','asObservable','transform','getMember','transformRemoteChangeset','HEADER_MENU','unshift','INVITE_CODE_REQUIRED','restore','Warning','getMergeData','_getSessionTicket','TOO_MANY_REQUESTS','svg','setParam','transformMutation','_toggleOffline','InsertRangeMoveRightCommandId','getViewport','USER_NOT_INVITED_CODE','permission.content','univer-mr-2\x20univer-flex\x20univer-text-xl','skeleton','white','unsubscribe','_initStatusListener','_configService','session.collaboration-timeout','extend','http://www.w3.org/2000/svg','toString','RECT','INVALID_INVITE_CODE','transformIMECache','_setupSubUnitSync','executionId','collaboration.closeRoom','origin','fill','evenodd','getRelativeToViewportCoord','_sheetSkeletonManagerService','get','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','...','OTHER_CLIENTS_EDITING','_initResize','unitId','triggerDblclick','status$','collab-text-anchor-','_entityInit$','_univerInstanceService','Failed','_registerRenderDependencies','purple.300','_session','entityInit$','APPLY_REVISION_CONFILICT','_handleHover','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_collabSessionService','1GPFDxW','setActiveRange','assign','_syncEditingCollabCursorService','text','_range','imageSourceType','history','_handleJoinEvent','MoveRangeCommandId','SOCKET_FAILED','_render','_collabCursorController','getUnhiddenWorksheets','_init','labelPosition','code','top','black','_cachedData','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_commandService','source','backgroundColor','getCurrentSelections','sessionTicket','_name','InsertColCommandId','_docStateChangeManagerService','_cursorShapes','_send','getRenderById','_notificationService','_online','use','error','_injector','UNAUTHENTICATED','_docSkeletonManagerService','_handleEvent','getUnitId','_roomMembers$','hovered','transformMutationsWithChangeset','color','cursorInfo','sheetID','_hover','clearTimeout','getItem','OFFLINE','subscribeEvent','CLOSE_ROOM','_onCursorUpdate','3496329AbinBj','column','_drawRectRange','_revisionService','_transformHistoryAndStateStack','show','_anchor','displayName','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getValue','_backgroundColor','find','send','getCurrent','_disabled','idSuffix','FromArray','_initEvent','currentSkeleton$','_draw','LICENSE_IMPORT_SIZE_EXCEEDED','className','_localStorageService','storage','UPDATE_CURSOR','subunit','M0\x200H16V16H0z','_doCreateSocket','/run/','_docTransformStateCacheService','getFocusedUnit','_heartbeatTimer','SUBMIT_CHANGESET_TIMEOUT','6108IBhBlD','onPointerEnter$','4715CrWONp','engine','DeleteRangeMoveUpCommandId','isEditing','OffLineIcon','transformByState','colorChannel1','application/json','_getSheetObject','all','YUUMI_URL_COL_OUT_OF_RANGE','_getMergeRange','key','_hideTimer','fillText','off-line-icon_clip0_910_343','search','mask','_startSheetCollabCursor','2466JSMNjg','collab-rect-range-','children','generateRandomId','_labelPosition','TEXT','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','1735269vTwhCC','mutations','registerBeforeClose','collaboration-client-ui.config','add','PENDING','addObject','textRanges','startRow','exhaustSavingTask','#FFF','on-line-icon','_removeCollabCursors','override','getSkeleton','_docTransformIMECacheService','disableLocalCache','_memberService','translate(.97)','YUUMI_NO_CUBOID_FOR_QUESTION','createSocket','complete','YUUMI_RATE_OVER_LIMIT','addObjects','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','OnLineIcon','range','symbol','contains','newValue','getOffsetConfig','Error','delete','1em','_docSkeleton','ALREADY_EXISTS','_getSaveTimeout','APPLY_PERMISSION_DENIED','m2Prime','YUUMI_UNABLE_LOAD_URL','has','getDocRanges','defs','_color','APPLY_REJECT','icon','max','_transformUndoRedoStack','syncEditingCollabCursor','LICENSE_EXPORT_SIZE_EXCEEDED','unload','univer-flex\x20univer-items-center','set','_context','onLocalMutation','_initCommandExecutedListener','_status$','APPLY_NON_SEQUENTIAL_REVISION','InsertRowCommandId','addEventListener','InsertRangeMoveDownCommandId','row','requireSession','type','_unitOnClients','_initDependencies','WECHAT_HAS_BEEN_BOUND','defIds','NOT_COLLAB','toRgbString','invokeId','replace','YUUMI_AI_RUN_FAILED','roomMembers$','_textBubble','_updateSubUnitFromURLParams','registerRefRange','_updateCollabCursors','eventID','NO_OTHER_CLIENTS_EDITING','_saveCache','_document','saveOfflineData','_handleHeartbeatEvent','_onRefRangeChange','addClipboardHook','_removeClearOtherTimer','post','_drawAnchor','ENSURE_SNAPSHOT_EXECUTION','length','searchParams','OTHER_CLIENT_EDITING','init','getTypeOfUnitDisposed$','_localeService','getRangePointData','permission.title','findNodePositionByCharIndex','getCollabEntity$','startColumn','_docClipboardService','startsWith','red.300','assignAColorForMemberID','body','ticket','onPointerMove$','runOnServer','runId','transformSelections','getStateCache','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','closePath','YUUMI_CONNECTOR_URL_NOT_FOUND','INVALID_ARGUMENT','registerRenderModule','collabStatus.synced','next','on-line-icon_clip0_910_349','propertyIsEnumerable','collabStatus.offline','push','_shapes','onPointerLeave$','getParam','hide','_refreshCollabCursors','_httpService','saveTaskMap','_getAnchorBounding','12672830tQAfJF','undoState','_docSyncEditingCollabCursorService','DeleteRangeMoveLeftCommandId','INVITE_CODE_HAS_BEEN_UES','_eventUnsubscribe','setItem','with','urlChange$','enableLocalCache','_ensureSubject','selection','onStarting','_entities','wsSessionTicketUrl','FETCH_MISS','focused$','RemoveRowCommandId','univerjs-icon\x20univerjs-icon-','VIEW_MAIN','_themeService','apply','event$'];_0x245d=function(){return _0x3016b6;};return _0x245d();}var Xi=Object[_0x5496c8(0x1cb)],Gi=(_0x449e55,_0x4fb6d3,_0x31f787,_0x28c430)=>{const _0x4c5bef=_0x5496c8;for(var _0x228790=_0x28c430>0x1?void 0x0:_0x28c430?Xi(_0x4fb6d3,_0x31f787):_0x4fb6d3,_0x1521c9=_0x449e55[_0x4c5bef(0x2dc)]-0x1,_0x3dd8a2;_0x1521c9>=0x0;_0x1521c9--)(_0x3dd8a2=_0x449e55[_0x1521c9])&&(_0x228790=_0x3dd8a2(_0x228790)||_0x228790);return _0x228790;},Q=(_0x39455f,_0x422605)=>(_0x28db0c,_0x1fda4b)=>_0x422605(_0x28db0c,_0x1fda4b,_0x39455f);let te=class extends _0x192abb{constructor(_0x2e3600,_0x4849e9,_0x423b01,_0xf42ef9){const _0x369eef=_0x5496c8;super(),_(this,_0x369eef(0x2ba),new _0x4033d5(_0x233496[_0x369eef(0x2c6)])),(this[_0x369eef(0x205)]=_0x2e3600,this['_injector']=_0x4849e9,this['_collaborationController']=_0x423b01,this['_uiPartsService']=_0xf42ef9,this[_0x369eef(0x35e)](),this[_0x369eef(0x1ea)]());}[_0x5496c8(0x1ea)](){const _0xbd6ae3=_0x5496c8;this[_0xbd6ae3(0x18f)](this['_univerInstanceService'][_0xbd6ae3(0x315)]['pipe'](_0x4de612(()=>{const _0x22ebb9=_0xbd6ae3,_0x2a6e2f=this['_univerInstanceService'][_0x22ebb9(0x263)]();return _0x2a6e2f?this[_0x22ebb9(0x32c)][_0x22ebb9(0x2e5)](_0x2a6e2f[_0x22ebb9(0x237)]()):_0x254efc(null);}),_0x4de612(_0x28f84e=>_0x28f84e?_0x28f84e[_0xbd6ae3(0x202)]:_0x254efc(_0x233496[_0xbd6ae3(0x2c6)])))[_0xbd6ae3(0x334)](_0x72e063=>{const _0x151282=_0xbd6ae3;this[_0x151282(0x2ba)][_0x151282(0x2f8)](_0x72e063);}));}[_0x5496c8(0x35e)](){const _0x6747ba=_0x5496c8;this['disposeWithMe'](this['_uiPartsService']['registerComponent'](_0x260eb4[_0x6747ba(0x1d6)],()=>_0x2003da(Ki({'status$':this['_status$']['asObservable']()}),this[_0x6747ba(0x233)])));}};te=Gi([Q(0x0,_0x46dfe1),Q(0x1,_0x3809cb(_0x23463c)),Q(0x2,_0x3809cb(_0x4f31e7)),Q(0x3,_0x1c8b87)],te);function Ki(_0x37fc03){const {status$:_0x22c423}=_0x37fc03;return function(){return _0x382f18(Wi,{'status$':_0x22c423});};}var zi=Object[_0x5496c8(0x1cb)],Ji=(_0x241379,_0x2d28c9,_0x524c93,_0x72339b)=>{const _0x5c4e4c=_0x5496c8;for(var _0x470cbe=_0x72339b>0x1?void 0x0:_0x72339b?zi(_0x2d28c9,_0x524c93):_0x2d28c9,_0x44639b=_0x241379[_0x5c4e4c(0x2dc)]-0x1,_0x4aa998;_0x44639b>=0x0;_0x44639b--)(_0x4aa998=_0x241379[_0x44639b])&&(_0x470cbe=_0x4aa998(_0x470cbe)||_0x470cbe);return _0x470cbe;},B=(_0x1b4783,_0x15a8c5)=>(_0x52de41,_0x1f3228)=>_0x15a8c5(_0x52de41,_0x1f3228,_0x1b4783);let se=class extends _0x192abb{constructor(_0x369960,_0xbd801e,_0x4f347f,_0x548ee7,_0x4be975,_0x45366e){const _0x647eba=_0x5496c8;super(),this['_beforeCloseService']=_0x369960,this[_0x647eba(0x1af)]=_0xbd801e,this[_0x647eba(0x1b3)]=_0x4f347f,this[_0x647eba(0x1ac)]=_0x548ee7,this[_0x647eba(0x22f)]=_0x4be975,this[_0x647eba(0x2e1)]=_0x45366e,this['_setupBeforeClosingHandler'](),this[_0x647eba(0x256)]();}[_0x5496c8(0x1a9)](){const _0x3c7e11=_0x5496c8;this[_0x3c7e11(0x18f)](this['_beforeCloseService'][_0x3c7e11(0x284)](()=>{const _0x2c67ca=_0x3c7e11;if(this[_0x2c67ca(0x1af)][_0x2c67ca(0x303)]['size'])return this['_localeService']['t']('collaboration-client.offline-data-not-saved');}));}[_0x5496c8(0x256)](){const _0x3244ac=_0x5496c8;this[_0x3244ac(0x18f)](this[_0x3244ac(0x1b3)][_0x3244ac(0x31b)][_0x3244ac(0x334)](_0x5e6bdc=>{const _0x58cfdf=_0x3244ac;_0x5e6bdc['id']===_0x180ec1[_0x58cfdf(0x2de)]&&this[_0x58cfdf(0x1ac)]['show']({'type':_0x3095bf[_0x58cfdf(0x1da)],'content':this[_0x58cfdf(0x2e1)]['t']('collaboration.single-unit.warning')}),_0x5e6bdc['id']===_0x180ec1[_0x58cfdf(0x243)]&&this[_0x58cfdf(0x1ac)][_0x58cfdf(0x24a)]({'type':_0x3095bf[_0x58cfdf(0x1da)],'content':this[_0x58cfdf(0x2e1)]['t']('collaboration.closeRoom')}),_0x5e6bdc['id']===_0x180ec1['PERMISSION_DENIED']&&this[_0x58cfdf(0x22f)][_0x58cfdf(0x24a)]({'title':this[_0x58cfdf(0x2e1)]['t'](_0x58cfdf(0x2e3)),'content':this['_localeService']['t'](_0x58cfdf(0x1e5)),'type':_0x58cfdf(0x232),'duration':0x0}),_0x5e6bdc['id']===_0x180ec1[_0x58cfdf(0x375)]&&this['_messageService'][_0x58cfdf(0x24a)]({'type':_0x3095bf[_0x58cfdf(0x2a1)],'content':this['_localeService']['t'](_0x58cfdf(0x1f5))+'('+_0x5e6bdc[_0x58cfdf(0x1c3)]+')'}),_0x5e6bdc['id']===_0x180ec1[_0x58cfdf(0x354)]&&this[_0x58cfdf(0x1ac)][_0x58cfdf(0x24a)]({'type':_0x3095bf['Warning'],'content':this['_localeService']['t'](_0x5e6bdc[_0x58cfdf(0x1c3)]||'')}),_0x5e6bdc['id']===_0x180ec1['SOCKET_FAILED_RETRY']&&this['_messageService']['show']({'type':_0x3095bf[_0x58cfdf(0x1da)],'content':this[_0x58cfdf(0x2e1)]['t']('session.will-retry')}),_0x5e6bdc['id']===_0x180ec1[_0x58cfdf(0x219)]&&this[_0x58cfdf(0x1ac)][_0x58cfdf(0x24a)]({'type':_0x3095bf[_0x58cfdf(0x2a1)],'content':this[_0x58cfdf(0x2e1)]['t'](_0x58cfdf(0x18a))}),_0x5e6bdc['id']===_0x180ec1[_0x58cfdf(0x265)]&&this[_0x58cfdf(0x1ac)][_0x58cfdf(0x24a)]({'type':_0x3095bf[_0x58cfdf(0x2a1)],'content':this[_0x58cfdf(0x2e1)]['t'](_0x58cfdf(0x1ec))});}));}};se=Ji([B(0x0,_0x1efba6),B(0x1,_0x190cd5),B(0x2,_0x3809cb(_0x2e7e56)),B(0x3,_0x35577b),B(0x4,_0x1bb4f7),B(0x5,_0x3809cb(_0x59fd0b))],se);const Zi=_0x5496c8(0x285),et={},Ut=_0x40a27e(_0x5496c8(0x376));var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x9e303a,_0x78e8ba,_0x3f0a74,_0x47fbee)=>{const _0x35197d=_0x5496c8;for(var _0x43b772=_0x47fbee>0x1?void 0x0:_0x47fbee?Qi(_0x78e8ba,_0x3f0a74):_0x78e8ba,_0x4283b2=_0x9e303a[_0x35197d(0x2dc)]-0x1,_0x7d68dd;_0x4283b2>=0x0;_0x4283b2--)(_0x7d68dd=_0x9e303a[_0x4283b2])&&(_0x43b772=_0x7d68dd(_0x43b772)||_0x43b772);return _0x43b772;},G=(_0x39c0f7,_0x559954)=>(_0x8e5224,_0x15d63a)=>_0x559954(_0x8e5224,_0x15d63a,_0x39c0f7);let ie=class extends _0x2d29f3{constructor(_0x2ee549,_0x9866cf,_0x8fbbcd,_0x3d020a,_0x7f64f2){const _0x5b4da0=_0x5496c8;super(),this[_0x5b4da0(0x33e)]=_0x2ee549,this[_0x5b4da0(0x33d)]=_0x9866cf,this[_0x5b4da0(0x224)]=_0x8fbbcd,this[_0x5b4da0(0x193)]=_0x3d020a,_0x7f64f2?_0x7f64f2==null||_0x7f64f2['whenReady']()[_0x5b4da0(0x185)](()=>this[_0x5b4da0(0x21d)]()):(this[_0x5b4da0(0x33d)][_0x5b4da0(0x1d1)](_0x5b4da0(0x38b),_0x5b4da0(0x18c)),this[_0x5b4da0(0x21d)]());}async[_0x5496c8(0x21d)](){const _0x5a653d=_0x5496c8,_0xcea512=this['_urlService'][_0x5a653d(0x2ff)](_0x5a653d(0x1b2)),_0x2ff19f=this[_0x5a653d(0x33e)]['getParam'](_0x5a653d(0x2c1)),_0x1a6a61=this[_0x5a653d(0x33e)][_0x5a653d(0x2ff)](_0x5a653d(0x25e));if(!_0xcea512||!_0x2ff19f){this[_0x5a653d(0x33d)][_0x5a653d(0x1d1)]('[CollaborationDataLoaderController]',_0x5a653d(0x281));return;}const _0x2fe5de=await this[_0x5a653d(0x193)][_0x5a653d(0x1a7)](_0xcea512,Number(_0x2ff19f),_0x1a6a61);_0x2fe5de&&_0x2fe5de instanceof _0x567be3&&this['_setupSubUnitSync'](_0x2fe5de);}async[_0x5496c8(0x1f3)](_0x258cbd){const _0x3fe812=_0x5496c8;await this[_0x3fe812(0x2cd)](_0x258cbd),_0x258cbd[_0x3fe812(0x399)][_0x3fe812(0x394)](_0x2926d6(this['dispose$']))['subscribe'](_0x35c49d=>{const _0x12ce92=_0x3fe812;_0x35c49d&&this[_0x12ce92(0x320)](_0x35c49d);}),this['_urlService'][_0x3fe812(0x30d)][_0x3fe812(0x394)](_0x2926d6(this[_0x3fe812(0x18b)]))[_0x3fe812(0x334)](()=>this[_0x3fe812(0x2cd)](_0x258cbd));}['_updateURLWithCurrentState'](_0x44a7ee,_0x137fb=!0x1){const _0x3a85a0=_0x5496c8,_0x4f0834=this[_0x3a85a0(0x33e)][_0x3a85a0(0x2ff)](_0x3a85a0(0x25e));_0x44a7ee[_0x3a85a0(0x353)]()!==_0x4f0834&&this['_urlService']['setParam']('subunit',_0x44a7ee['getSheetId'](),_0x137fb);}async[_0x5496c8(0x2cd)](_0x3edba6){const _0x31fcca=_0x5496c8;var _0x34296f;const _0x52fafd=this[_0x31fcca(0x33e)]['getParam'](_0x31fcca(0x25e));if(!_0x52fafd||!_0x3edba6[_0x31fcca(0x1b1)](_0x52fafd)){const _0x492f2e=_0x3edba6[_0x31fcca(0x21c)]()[0x0],_0x5c1c5f=_0x3edba6[_0x31fcca(0x1b1)](_0x492f2e);if(!_0x5c1c5f)return;this[_0x31fcca(0x320)](_0x5c1c5f,!0x0),await this[_0x31fcca(0x224)][_0x31fcca(0x36e)](_0x2b7b9a['id'],{'unitId':_0x3edba6[_0x31fcca(0x237)](),'subUnitId':_0x492f2e});return;}((_0x34296f=_0x3edba6[_0x31fcca(0x378)]())==null?void 0x0:_0x34296f[_0x31fcca(0x353)]())!==_0x52fafd&&await this[_0x31fcca(0x224)][_0x31fcca(0x36e)](_0x2b7b9a['id'],{'unitId':_0x3edba6[_0x31fcca(0x237)](),'subUnitId':_0x52fafd});}};ie=qi([G(0x0,Ut),G(0x1,_0x396721),G(0x2,_0x316b08),G(0x3,_0x3809cb(_0x2883d1)),G(0x4,_0x4da117(_0x47fa38))],ie);var en=Object[_0x5496c8(0x1cb)],tn=(_0x26ba0b,_0xf22d51,_0x3f08ed,_0x5c304d)=>{const _0x51d3ae=_0x5496c8;for(var _0x35936b=_0x5c304d>0x1?void 0x0:_0x5c304d?en(_0xf22d51,_0x3f08ed):_0xf22d51,_0x51850d=_0x26ba0b[_0x51d3ae(0x2dc)]-0x1,_0xf13a66;_0x51850d>=0x0;_0x51850d--)(_0xf13a66=_0x26ba0b[_0x51850d])&&(_0x35936b=_0xf13a66(_0x35936b)||_0x35936b);return _0x35936b;},pe=(_0x5a648c,_0x1b3b0a)=>(_0x3838cf,_0x14ef88)=>_0x1b3b0a(_0x3838cf,_0x14ef88,_0x5a648c);let ne=class{constructor(_0x1fa861,_0x3cf9d5,_0xcb693){const _0xf0f67b=_0x5496c8;this[_0xf0f67b(0x233)]=_0x1fa861,this['_transformService']=_0x3cf9d5,this[_0xf0f67b(0x366)]=_0xcb693;}[_0x5496c8(0x1f2)](_0xc163e7){const _0xfce90d=_0x5496c8;this[_0xfce90d(0x2b1)](_0xc163e7),this[_0xfce90d(0x339)](_0xc163e7);}[_0x5496c8(0x1d5)](_0x4d91a7){const _0x2719f9=_0x5496c8,{unitID:_0x1b658d}=_0x4d91a7,_0xa84ceb=this[_0x2719f9(0x366)][_0x2719f9(0x22e)](_0x1b658d)[_0x2719f9(0x30c)](_0x1d4c7b),{redoCache:_0x53a134}=_0xa84ceb[_0x2719f9(0x392)]();if(_0x53a134[_0x2719f9(0x2dc)]===0x0)return _0x4d91a7;let _0x3eb1bf=_0x2ae11c[_0x2719f9(0x360)](_0x4d91a7['mutations'][0x0]);for(let _0x20f754=0x0;_0x20f754<_0x53a134[_0x2719f9(0x2dc)];_0x20f754++){const _0xbc4da9={'id':'doc.mutation.rich-text-editing','params':{..._0x53a134[_0x20f754]}},_0x57e691=this['_transformService'][_0x2719f9(0x1e0)](_0x3eb1bf,_0xbc4da9,!0x1);if(_0x5f1a7f(_0x57e691))throw _0x57e691['error'];_0x3eb1bf=_0x57e691[_0x2719f9(0x1ad)];}return{..._0x2ae11c[_0x2719f9(0x360)](_0x4d91a7),'mutations':[_0x3eb1bf]};}['_transformUndoRedoStack'](_0x8b8898){const _0x428253=_0x5496c8,{unitID:_0x247e8b}=_0x8b8898,_0x1403c3=this[_0x428253(0x366)][_0x428253(0x22e)](_0x247e8b)[_0x428253(0x30c)](_0x1d4c7b),{undoCache:_0x278ba1,redoCache:_0xa2801a}=_0x1403c3[_0x428253(0x392)]();if(_0x278ba1[_0x428253(0x2dc)]===0x0||_0xa2801a[_0x428253(0x2dc)]===0x0)return;const _0x3e95b5=[],_0xd3af93=[];let _0x3177ec=_0x2ae11c[_0x428253(0x360)](_0x8b8898['mutations'][0x0]),_0x237bce=_0x2ae11c['deepClone'](_0x8b8898[_0x428253(0x283)][0x0]);for(let _0xe46e7c=_0x278ba1['length']-0x1;_0xe46e7c>=0x0;_0xe46e7c--){const _0x266d22={'id':_0x428253(0x383),'params':{..._0x278ba1[_0xe46e7c]}},_0xb7cb7e={'id':_0x428253(0x383),'params':{..._0xa2801a[_0xe46e7c]}},_0x563270=this[_0x428253(0x32a)][_0x428253(0x1e0)](_0x3177ec,_0x266d22,!0x1),_0x41ecae=this[_0x428253(0x32a)][_0x428253(0x1e0)](_0x237bce,_0xb7cb7e,!0x1);if(_0x5f1a7f(_0x563270))throw _0x563270[_0x428253(0x232)];if(_0x5f1a7f(_0x41ecae))throw _0x41ecae[_0x428253(0x232)];_0x3e95b5[_0x428253(0x1d7)](_0x563270['m2Prime'][_0x428253(0x31f)]),_0xd3af93[_0x428253(0x1d7)](_0x41ecae[_0x428253(0x2a8)][_0x428253(0x31f)]),_0x3177ec=_0x563270['m1Prime'],_0x237bce=_0x41ecae[_0x428253(0x1ad)];}_0x1403c3['setUndoRedoMutationParamsCache']({'undoCache':_0x3e95b5,'redoCache':_0xd3af93});}['_transformPreviousActiveRange'](_0x51f54b){const _0x2b60ed=_0x5496c8,{unitID:_0x420eee}=_0x51f54b,_0x3c61f9=this[_0x2b60ed(0x366)][_0x2b60ed(0x22e)](_0x420eee)[_0x2b60ed(0x30c)](_0x1d4c7b),_0x184e86=_0x3c61f9['getActiveRange']();if(_0x184e86==null)return;const _0x5056a1=[{'id':_0x2b60ed(0x383),'params':{'unitId':_0x51f54b[_0x2b60ed(0x368)],'actions':null,'textRanges':[_0x184e86]}}],_0x3df9f3=this[_0x2b60ed(0x32a)][_0x2b60ed(0x23a)](_0x51f54b,_0x5056a1);if(!_0x38dac8(_0x3df9f3))throw _0x3df9f3[_0x2b60ed(0x232)];const _0x4d58db=_0x3df9f3[_0x2b60ed(0x2a8)][0x0][_0x2b60ed(0x31f)][_0x2b60ed(0x289)];Array[_0x2b60ed(0x333)](_0x4d58db)&&_0x4d58db[_0x2b60ed(0x2dc)]&&_0x3c61f9[_0x2b60ed(0x210)](_0x4d58db[0x0]);}};ne=tn([pe(0x0,_0x3809cb(_0x23463c)),pe(0x1,_0x230ef4),pe(0x2,_0x3e7629)],ne);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x578507,_0x331c8a,_0x584cd,_0xc16af6)=>{const _0x308f95=_0x5496c8;for(var _0x21c73e=_0xc16af6>0x1?void 0x0:_0xc16af6?sn(_0x331c8a,_0x584cd):_0x331c8a,_0x1b60d7=_0x578507[_0x308f95(0x2dc)]-0x1,_0x41bcc9;_0x1b60d7>=0x0;_0x1b60d7--)(_0x41bcc9=_0x578507[_0x1b60d7])&&(_0x21c73e=_0x41bcc9(_0x21c73e)||_0x21c73e);return _0x21c73e;},Ce=(_0x30f974,_0x314236)=>(_0x15250e,_0x25bb9e)=>_0x314236(_0x15250e,_0x25bb9e,_0x30f974);let re=class{constructor(_0x31a163,_0x4e3cfd,_0x122fc3){const _0x99c6db=_0x5496c8;this[_0x99c6db(0x233)]=_0x31a163,this[_0x99c6db(0x32a)]=_0x4e3cfd,this[_0x99c6db(0x22b)]=_0x122fc3;}[_0x5496c8(0x341)](_0x5caf3f){const _0x178e54=_0x5496c8;this[_0x178e54(0x249)](_0x5caf3f);}[_0x5496c8(0x1d5)](_0x518c29){const _0x515e8b=_0x5496c8,{unitID:_0x4e5023}=_0x518c29,{collaboration:_0x2143c4}=this[_0x515e8b(0x22b)]['getStateCache'](_0x4e5023);if(_0x2143c4[_0x515e8b(0x2dc)]===0x0)return _0x518c29;let _0x57c2a3=_0x2ae11c[_0x515e8b(0x360)](_0x518c29[_0x515e8b(0x283)][0x0]);for(let _0x5cacc9=0x0;_0x5cacc9<_0x2143c4[_0x515e8b(0x2dc)];_0x5cacc9++){const _0x8d1a38={'id':_0x515e8b(0x383),'params':{'unitId':_0x2143c4[_0x5cacc9][_0x515e8b(0x200)],..._0x2143c4[_0x5cacc9][_0x515e8b(0x395)]}},_0x135aa4=this[_0x515e8b(0x32a)]['transformMutation'](_0x57c2a3,_0x8d1a38,!0x1);if(_0x5f1a7f(_0x135aa4))throw _0x135aa4[_0x515e8b(0x232)];_0x57c2a3=_0x135aa4[_0x515e8b(0x1ad)];}return{..._0x2ae11c['deepClone'](_0x518c29),'mutations':[_0x57c2a3]};}['_transformHistoryAndStateStack'](_0x238f9c){const _0x23f57=_0x5496c8,{unitID:_0x58ab42}=_0x238f9c,{history:_0x2fc61a,collaboration:_0x21b5b9}=this['_docStateChangeManagerService'][_0x23f57(0x2f1)](_0x58ab42);if(_0x2fc61a[_0x23f57(0x2dc)]===0x0&&_0x21b5b9[_0x23f57(0x2dc)]===0x0)return;const _0x1f709f=[],_0x3793af=[];let _0x401d98=_0x2ae11c[_0x23f57(0x360)](_0x238f9c[_0x23f57(0x283)][0x0]),_0x3a7783=_0x2ae11c[_0x23f57(0x360)](_0x238f9c[_0x23f57(0x283)][0x0]);for(let _0x398d88=_0x2fc61a[_0x23f57(0x2dc)]-0x1;_0x398d88>=0x0;_0x398d88--){const _0x3a2d8d={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2fc61a[_0x398d88][_0x23f57(0x200)],..._0x2fc61a[_0x398d88][_0x23f57(0x306)]}},_0x1d3199={'id':_0x23f57(0x383),'params':{'unitId':_0x2fc61a[_0x398d88][_0x23f57(0x200)],..._0x2fc61a[_0x398d88][_0x23f57(0x395)]}},_0x2af81e=this[_0x23f57(0x32a)][_0x23f57(0x1e0)](_0x401d98,_0x3a2d8d,!0x1),_0x155aa9=this[_0x23f57(0x32a)][_0x23f57(0x1e0)](_0x3a7783,_0x1d3199,!0x1);if(_0x5f1a7f(_0x2af81e))throw _0x2af81e[_0x23f57(0x232)];if(_0x5f1a7f(_0x155aa9))throw _0x155aa9[_0x23f57(0x232)];_0x1f709f[_0x23f57(0x1d7)]({..._0x2fc61a[_0x398d88],'undoState':_0x2af81e[_0x23f57(0x2a8)]['params'],'redoState':_0x155aa9[_0x23f57(0x2a8)][_0x23f57(0x31f)]}),_0x401d98=_0x2af81e[_0x23f57(0x1ad)],_0x3a7783=_0x155aa9[_0x23f57(0x1ad)];}_0x401d98=_0x2ae11c['deepClone'](_0x238f9c[_0x23f57(0x283)][0x0]),_0x3a7783=_0x2ae11c[_0x23f57(0x360)](_0x238f9c[_0x23f57(0x283)][0x0]);for(let _0x9dbcf7=_0x21b5b9[_0x23f57(0x2dc)]-0x1;_0x9dbcf7>=0x0;_0x9dbcf7--){const _0x30e00c={'id':_0x23f57(0x383),'params':{'unitId':_0x21b5b9[_0x9dbcf7][_0x23f57(0x200)],..._0x21b5b9[_0x9dbcf7][_0x23f57(0x306)]}},_0x56aad2={'id':_0x23f57(0x383),'params':{'unitId':_0x21b5b9[_0x9dbcf7][_0x23f57(0x200)],..._0x21b5b9[_0x9dbcf7][_0x23f57(0x395)]}},_0x4f1160=this[_0x23f57(0x32a)][_0x23f57(0x1e0)](_0x401d98,_0x30e00c,!0x1),_0x363c85=this[_0x23f57(0x32a)][_0x23f57(0x1e0)](_0x3a7783,_0x56aad2,!0x1);if(_0x5f1a7f(_0x4f1160))throw _0x4f1160['error'];if(_0x5f1a7f(_0x363c85))throw _0x363c85['error'];_0x3793af[_0x23f57(0x1d7)]({..._0x21b5b9[_0x9dbcf7],'undoState':_0x4f1160[_0x23f57(0x2a8)][_0x23f57(0x31f)],'redoState':_0x363c85[_0x23f57(0x2a8)][_0x23f57(0x31f)]}),_0x401d98=_0x4f1160[_0x23f57(0x1ad)],_0x3a7783=_0x363c85['m1Prime'];}this[_0x23f57(0x22b)][_0x23f57(0x19a)](_0x58ab42,{'history':_0x1f709f,'collaboration':_0x3793af});}};re=nn([Ce(0x0,_0x3809cb(_0x23463c)),Ce(0x1,_0x230ef4),Ce(0x2,_0x3809cb(_0x473259))],re);var rn=Object[_0x5496c8(0x1cb)],on=(_0x130951,_0x4f6c0e,_0x4726bf,_0x503cdb)=>{for(var _0x5a6753=_0x503cdb>0x1?void 0x0:_0x503cdb?rn(_0x4f6c0e,_0x4726bf):_0x4f6c0e,_0x5c7b3d=_0x130951['length']-0x1,_0x57cc3f;_0x5c7b3d>=0x0;_0x5c7b3d--)(_0x57cc3f=_0x130951[_0x5c7b3d])&&(_0x5a6753=_0x57cc3f(_0x5a6753)||_0x5a6753);return _0x5a6753;},tt=(_0x9747f1,_0x55b29c)=>(_0x271866,_0x4104a6)=>_0x55b29c(_0x271866,_0x4104a6,_0x9747f1);let oe=class{constructor(_0x2edc6a,_0x203ace){const _0x356d69=_0x5496c8;this['_injector']=_0x2edc6a,this[_0x356d69(0x32a)]=_0x203ace;}[_0x5496c8(0x2f0)](_0xf3f56d){const _0x1ea9c6=_0x5496c8;var _0x5bc4b1;const _0x2f2218=this[_0x1ea9c6(0x233)][_0x1ea9c6(0x1fb)](_0x41a6af),_0x408c95=(_0x5bc4b1=_0x2f2218[_0x1ea9c6(0x2ab)]())!=null?_0x5bc4b1:[];if(_0x408c95[_0x1ea9c6(0x2dc)]===0x0)return;const _0x149da2=_0xf3f56d[_0x1ea9c6(0x368)],_0x68f4ab=[{'id':_0x1ea9c6(0x383),'params':{'unitId':_0x149da2,'actions':null,'textRanges':_0x408c95}}],_0x165363=this[_0x1ea9c6(0x32a)]['transformMutationsWithChangeset'](_0xf3f56d,_0x68f4ab);if(!_0x38dac8(_0x165363))throw _0x165363[_0x1ea9c6(0x232)];const _0x3d0e13=_0x165363[_0x1ea9c6(0x2a8)][0x0][_0x1ea9c6(0x31f)][_0x1ea9c6(0x289)];Array[_0x1ea9c6(0x333)](_0x3d0e13)&&_0x3d0e13[_0x1ea9c6(0x2dc)]&&_0x2f2218['replaceDocRanges'](_0x3d0e13,{'unitId':_0x149da2,'subUnitId':_0x149da2},!0x1);}};oe=on([tt(0x0,_0x3809cb(_0x23463c)),tt(0x1,_0x230ef4)],oe);var an=Object[_0x5496c8(0x1cb)],cn=(_0x1ea5ce,_0x13c1ec,_0xe13f34,_0x5113d2)=>{for(var _0x1ab595=_0x5113d2>0x1?void 0x0:_0x5113d2?an(_0x13c1ec,_0xe13f34):_0x13c1ec,_0xdca830=_0x1ea5ce['length']-0x1,_0xfec5c4;_0xdca830>=0x0;_0xdca830--)(_0xfec5c4=_0x1ea5ce[_0xdca830])&&(_0x1ab595=_0xfec5c4(_0x1ab595)||_0x1ab595);return _0x1ab595;},U=(_0x3a48cd,_0x5b744d)=>(_0x5c4298,_0x32a15a)=>_0x5b744d(_0x5c4298,_0x32a15a,_0x3a48cd);let ae=class extends _0x192abb{constructor(_0x418e34,_0x3507b3,_0x146bf3,_0x129eec,_0xce6a0a,_0x2abd7a,_0x3021c6,_0xa1bc0f){const _0x242ed9=_0x5496c8;super(),_(this,_0x242ed9(0x2ba),new _0x4033d5(_0x233496[_0x242ed9(0x2c6)])),(this[_0x242ed9(0x22b)]=_0x418e34,this[_0x242ed9(0x32c)]=_0x3507b3,this['_docTransformIMECacheService']=_0x146bf3,this[_0x242ed9(0x262)]=_0x129eec,this['_docTransformSelectionsService']=_0xce6a0a,this[_0x242ed9(0x307)]=_0x2abd7a,this[_0x242ed9(0x1ac)]=_0x3021c6,this[_0x242ed9(0x2e1)]=_0xa1bc0f,this[_0x242ed9(0x1a2)]());}[_0x5496c8(0x1a2)](){const _0x5802a5=_0x5496c8;this[_0x5802a5(0x18f)](this[_0x5802a5(0x32c)][_0x5802a5(0x20a)][_0x5802a5(0x334)](_0x54cfe4=>{const _0xbae416=_0x5802a5,_0x2803a4=this[_0xbae416(0x22b)][_0xbae416(0x328)][_0xbae416(0x334)](_0xa48eae=>{const _0x52c85c=_0xbae416;if(_0xa48eae==null)return;const {unitId:_0x54d6bb,redoState:_0x368856,commandId:_0x412ff0}=_0xa48eae;if(_0x54d6bb!==_0x54cfe4[_0x52c85c(0x368)])return;const _0x4d410e={'id':_0x412ff0,'type':_0x409a82[_0x52c85c(0x345)],'params':{'unitId':_0x54d6bb,'actions':_0x368856['actions'],'textRanges':null}};_0x54cfe4[_0x52c85c(0x2b8)](_0x4d410e);});if(_0x54cfe4[_0xbae416(0x18f)](_0x2803a4),_0x54cfe4 instanceof _0x5a146d){const _0x5391be={'onTransformIME':_0x4d800a=>this[_0xbae416(0x291)][_0xbae416(0x1f2)](_0x4d800a),'onTransformState':_0x13f58c=>this[_0xbae416(0x262)]['transformStateCache'](_0x13f58c),'onTransformSelections':_0x24d829=>this[_0xbae416(0x393)][_0xbae416(0x2f0)](_0x24d829),'onSyncEditingCollabCursor':_0x3c13c8=>this['_docSyncEditingCollabCursorService'][_0xbae416(0x2b2)](_0x3c13c8),'onTransformRemoteChangesetByIMECache':_0x31c127=>this[_0xbae416(0x291)][_0xbae416(0x1d5)](_0x31c127),'onTransformRemoteChangesetByStateCache':_0x566a87=>this[_0xbae416(0x262)][_0xbae416(0x1d5)](_0x566a87)};_0x54cfe4['addHandlerCallback'](_0x5391be);}}));}};ae=cn([U(0x0,_0x3809cb(_0x473259)),U(0x1,_0x3809cb(_0x4f31e7)),U(0x2,_0x3809cb(ne)),U(0x3,_0x3809cb(re)),U(0x4,_0x3809cb(oe)),U(0x5,_0x3809cb(He)),U(0x6,_0x35577b),U(0x7,_0x3809cb(_0x59fd0b))],ae);var ln=Object[_0x5496c8(0x1cb)],_n=(_0x3d2d96,_0x5d9d06,_0xe9039c,_0xaa0cb8)=>{const _0x398e70=_0x5496c8;for(var _0x2531e6=_0xaa0cb8>0x1?void 0x0:_0xaa0cb8?ln(_0x5d9d06,_0xe9039c):_0x5d9d06,_0x2ffc41=_0x3d2d96[_0x398e70(0x2dc)]-0x1,_0x49c0d0;_0x2ffc41>=0x0;_0x2ffc41--)(_0x49c0d0=_0x3d2d96[_0x2ffc41])&&(_0x2531e6=_0x49c0d0(_0x2531e6)||_0x2531e6);return _0x2531e6;},Ee=(_0x544117,_0x3868dd)=>(_0x3b1190,_0x192702)=>_0x3868dd(_0x3b1190,_0x192702,_0x544117);let we=class extends _0x192abb{constructor(_0x455d06,_0x4205d7,_0x74eb54){const _0x5700ca=_0x5496c8;super(),_(this,'_cachedData',new Map()),_(this,'_saveTaskMap',new Map()),_(this,_0x5700ca(0x253),!0x1),(this[_0x5700ca(0x1eb)]=_0x455d06,this[_0x5700ca(0x25b)]=_0x4205d7,this['_revisionService']=_0x74eb54);}[_0x5496c8(0x292)](){const _0x4e469a=_0x5496c8;this[_0x4e469a(0x253)]=!0x0;}[_0x5496c8(0x30e)](){this['_disabled']=!0x1;}get[_0x5496c8(0x303)](){const _0x2d315c=_0x5496c8;return this[_0x2d315c(0x31c)];}[_0x5496c8(0x359)](){const _0xa62bf1=_0x5496c8;this[_0xa62bf1(0x28b)]()['then'](()=>super[_0xa62bf1(0x359)]());}async[_0x5496c8(0x340)](_0x1868b7){const _0x383bba=_0x5496c8;return this[_0x383bba(0x253)]?null:this[_0x383bba(0x25b)][_0x383bba(0x240)](_0x31ca79(_0x1868b7));}async[_0x5496c8(0x2d4)](_0xd46a6,_0x3bf4e5){const _0x2cfacc=_0x5496c8;return!!this['_localStorageService'][_0x2cfacc(0x30b)](_0xd46a6,_0x3bf4e5);}['updateOfflineData'](_0x31f7b4,_0x2d3f1c,_0x4c12fb,_0x2bb444){const _0x45139e=_0x5496c8,_0x3f9e3d=this[_0x45139e(0x248)][_0x45139e(0x325)](_0x31f7b4);this['_cachedData'][_0x45139e(0x2b6)](_0x31f7b4,{'unitID':_0x31f7b4,'type':_0x2d3f1c,'awaitingChangeset':_0x4c12fb,'mutations':_0x2bb444,'rev':_0x3f9e3d}),this[_0x45139e(0x31c)][_0x45139e(0x2aa)](_0x31f7b4)||this[_0x45139e(0x194)](_0x31f7b4);}[_0x5496c8(0x194)](_0x19dcba){const _0x19da5b=_0x5496c8,_0x19007d=this[_0x19da5b(0x2a6)]();_0x19007d===0x0?this[_0x19da5b(0x2d2)](_0x19dcba):this[_0x19da5b(0x31c)][_0x19da5b(0x2b6)](_0x19dcba,setTimeout(()=>this[_0x19da5b(0x2d2)](_0x19dcba),_0x19007d));}[_0x5496c8(0x2a6)](){const _0x397ec7=_0x5496c8;var _0x3a6f54;return(_0x3a6f54=this[_0x397ec7(0x1eb)]['getConfig'](_0x52f700))!=null?_0x3a6f54:_0x145f4a;}[_0x5496c8(0x2d2)](_0x580b67){const _0x186a99=_0x5496c8,_0x5bd7f9=this[_0x186a99(0x31c)]['get'](_0x580b67);return _0x5bd7f9!==void 0x0&&window[_0x186a99(0x23f)](_0x5bd7f9),this[_0x186a99(0x25b)][_0x186a99(0x30b)](_0x31ca79(_0x580b67),this[_0x186a99(0x222)]['get'](_0x580b67))['then'](()=>this['_saveTaskMap'][_0x186a99(0x2a2)](_0x580b67));}async[_0x5496c8(0x28b)](){const _0x502e02=_0x5496c8,_0x1830e9=[];this[_0x502e02(0x31c)][_0x502e02(0x34d)]((_0x4d8a9d,_0x3feae3)=>{const _0x2f6f42=_0x502e02;window[_0x2f6f42(0x23f)](_0x4d8a9d),_0x1830e9['push'](this[_0x2f6f42(0x2d2)](_0x3feae3)['then'](()=>{const _0x1c0cc7=_0x2f6f42;this[_0x1c0cc7(0x31c)][_0x1c0cc7(0x2a2)](_0x3feae3);}));}),await Promise[_0x502e02(0x271)](_0x1830e9);}};we=_n([Ee(0x0,_0x36b46d),Ee(0x1,_0x577f40),Ee(0x2,_0x3809cb(_0x12b76f))],we);class hn extends _0x2d29f3{constructor(){const _0x3a3a83=_0x5496c8;super(),_(this,_0x3a3a83(0x30d)),this['urlChange$']=_0x5d13c1(window,_0x3a3a83(0x190))['pipe'](_0x2926d6(this[_0x3a3a83(0x18b)]),_0x4bd4aa(0x1),_0x5784fc(void 0x0));}[_0x5496c8(0x1df)](_0x5369ab,_0x1cc3e3,_0x415621=!0x1){const _0xb6c311=_0x5496c8,_0x94ce6c=new URL(window[_0xb6c311(0x18d)][_0xb6c311(0x356)]);_0x94ce6c['searchParams'][_0xb6c311(0x2b6)](_0x5369ab,_0x1cc3e3),_0x415621?window['history'][_0xb6c311(0x1a5)]('','',_0x94ce6c[_0xb6c311(0x1ef)]()):window['history'][_0xb6c311(0x374)]('','',_0x94ce6c[_0xb6c311(0x1ef)]());}[_0x5496c8(0x34a)](_0x4894ea,_0x27ec70=!0x1){const _0x45ac79=_0x5496c8,_0xdbde05=new URL(window[_0x45ac79(0x18d)][_0x45ac79(0x356)]);_0xdbde05['searchParams'][_0x45ac79(0x2a2)](_0x4894ea),_0x27ec70?window[_0x45ac79(0x216)]['replaceState']('','',_0xdbde05[_0x45ac79(0x1ef)]()):window[_0x45ac79(0x216)][_0x45ac79(0x374)]('','',_0xdbde05[_0x45ac79(0x1ef)]());}[_0x5496c8(0x2ff)](_0x405b3c){const _0x3bc264=_0x5496c8;var _0xf8881;return(_0xf8881=new URL(window[_0x3bc264(0x18d)][_0x3bc264(0x356)])[_0x3bc264(0x2dd)][_0x3bc264(0x1fb)](_0x405b3c))!=null?_0xf8881:void 0x0;}}var un=Object[_0x5496c8(0x32b)],dn=Object[_0x5496c8(0x1cb)],fn=(_0x2b24b6,_0x35f39c,_0x2b629c)=>_0x35f39c in _0x2b24b6?un(_0x2b24b6,_0x35f39c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2b629c}):_0x2b24b6[_0x35f39c]=_0x2b629c,Sn=(_0x5d4a5c,_0x3a16f3,_0x56f5c7,_0x6353f0)=>{const _0x4183db=_0x5496c8;for(var _0x3b3c8d=_0x6353f0>0x1?void 0x0:_0x6353f0?dn(_0x3a16f3,_0x56f5c7):_0x3a16f3,_0x435a3b=_0x5d4a5c[_0x4183db(0x2dc)]-0x1,_0x37f377;_0x435a3b>=0x0;_0x435a3b--)(_0x37f377=_0x5d4a5c[_0x435a3b])&&(_0x3b3c8d=_0x37f377(_0x3b3c8d)||_0x3b3c8d);return _0x3b3c8d;},Oe=(_0x5e2f79,_0x21186e)=>(_0x14297d,_0x19cf53)=>_0x21186e(_0x14297d,_0x19cf53,_0x5e2f79),mn=(_0x14e512,_0x36e23a,_0x3d96a3)=>fn(_0x14e512,_0x36e23a+'',_0x3d96a3);const In=_0x5496c8(0x38f);let Ae=class extends _0x374d6d{constructor(_0x36390a=et,_0x5d3683,_0x5cb856,_0x52af28){const _0xeeb359=_0x5496c8;super(),this[_0xeeb359(0x1ca)]=_0x36390a,this[_0xeeb359(0x366)]=_0x5d3683,this['_injector']=_0x5cb856,this[_0xeeb359(0x1eb)]=_0x52af28;const {..._0x1be567}=_0x509630({},et,this[_0xeeb359(0x1ca)]);this[_0xeeb359(0x1eb)]['setConfig'](Zi,_0x1be567);}[_0x5496c8(0x311)](){const _0x4a797f=_0x5496c8;this[_0x4a797f(0x35d)](),this[_0x4a797f(0x2c3)]();}['onRendered'](){const _0x3b2233=_0x5496c8;this[_0x3b2233(0x207)]();}[_0x5496c8(0x35d)](){const _0x4b9c70=_0x5496c8;var _0x158ba0;const _0x174a42=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0xa620ed,{'useClass':_0x454ec9}],[_0x190cd5,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x399daa(this['_injector'],_0x9417b2(_0x174a42,(_0x158ba0=this[_0x4b9c70(0x1ca)])==null?void 0x0:_0x158ba0[_0x4b9c70(0x28f)]));}[_0x5496c8(0x207)](){const _0x543ecb=_0x5496c8;this[_0x543ecb(0x18f)](this['_renderManagerService']['registerRenderModule'](_0x2c4d43[_0x543ecb(0x371)],[Le])),this[_0x543ecb(0x18f)](this[_0x543ecb(0x366)][_0x543ecb(0x2f6)](_0x2c4d43[_0x543ecb(0x18e)],[Pe]));}['_initDependencies'](){const _0x4b2e95=_0x5496c8;_0x21d869(this[_0x4b2e95(0x233)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,'pluginName',In),Ae=Sn([_0x33b788(_0x44064c),Oe(0x1,_0x3e7629),Oe(0x2,_0x3809cb(_0x23463c)),Oe(0x3,_0x36b46d)],Ae);var gn=Object[_0x5496c8(0x1cb)],vn=(_0x5ed928,_0x34fd66,_0x45183a,_0x5ee834)=>{const _0x58d795=_0x5496c8;for(var _0x24dbb0=_0x5ee834>0x1?void 0x0:_0x5ee834?gn(_0x34fd66,_0x45183a):_0x34fd66,_0x2e559=_0x5ed928[_0x58d795(0x2dc)]-0x1,_0x336539;_0x2e559>=0x0;_0x2e559--)(_0x336539=_0x5ed928[_0x2e559])&&(_0x24dbb0=_0x336539(_0x24dbb0)||_0x24dbb0);return _0x24dbb0;},K=(_0x3bbf92,_0x5b4f47)=>(_0x3d70ae,_0x42fbff)=>_0x5b4f47(_0x3d70ae,_0x42fbff,_0x3bbf92);let st=class extends _0x2736e8{constructor(_0x3f706a,_0x587683,_0x3d8836,_0x2b328a,_0x1ea374){super(_0x3f706a,_0x587683,_0x3d8836,_0x2b328a,_0x1ea374);}async[_0x5496c8(0x296)](_0x205695){const _0x418651=_0x5496c8,_0x4a9d29=await this[_0x418651(0x1dc)](),_0x2ea8ae=this[_0x418651(0x373)](_0x205695,_0x4a9d29);return this[_0x418651(0x260)](_0x2ea8ae);}[_0x5496c8(0x373)](_0x68d1c9,_0x32282a){const _0x453340=_0x5496c8,_0xea290a=typeof window>'u'?new URL(_0x68d1c9):new URL(_0x68d1c9,window['location'][_0x453340(0x1f6)]);_0xea290a[_0x453340(0x2dd)][_0x453340(0x2b6)](_0x453340(0x228),_0x32282a);const _0x2c0d36=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x453340(0x18d)][_0x453340(0x278)]);return _0x2c0d36['get'](_0x453340(0x2ef))&&_0xea290a[_0x453340(0x2dd)][_0x453340(0x2b6)](_0x453340(0x2ef),_0x2c0d36[_0x453340(0x1fb)]('runId')),_0xea290a['toString']();}async[_0x5496c8(0x1dc)](){const _0x5d479b=_0x5496c8;var _0x1780ee,_0x2b0f91,_0x36568e;const _0x327de3=this[_0x5d479b(0x1eb)]['getConfig'](_0xedf722),_0x3aa228=(_0x1780ee=_0x327de3==null?void 0x0:_0x327de3[_0x5d479b(0x313)])!=null?_0x1780ee:_0x521449;return(_0x36568e=(_0x2b0f91=(await this[_0x5d479b(0x302)][_0x5d479b(0x1fb)](_0x3aa228,{'headers':{'Content-Type':_0x5d479b(0x26f)}}))[_0x5d479b(0x2eb)])==null?void 0x0:_0x2b0f91[_0x5d479b(0x2ec)])!=null?_0x36568e:'';}};st=vn([K(0x0,_0x3809cb(_0x23463c)),K(0x1,_0x3809cb(_0x242867)),K(0x2,_0x36b46d),K(0x3,_0x396721),K(0x4,_0x2f5a1f)],st);const it=0x7530,nt='ACTIVE_UNIT_EVENT_CHANNEL';class Fn extends _0x192abb{constructor(){const _0xb2ad52=_0x5496c8;super(),_(this,'_id',_0x3a76f8()),_(this,_0xb2ad52(0x335),new Set()),_(this,_0xb2ad52(0x2c2),new Map()),_(this,_0xb2ad52(0x264),null),_(this,'_clearOtherTimers',new Map()),_(this,'_unitStatus',new Map()),this[_0xb2ad52(0x21d)]();}[_0x5496c8(0x359)](){const _0x4a9da4=_0x5496c8;super[_0x4a9da4(0x359)](),this[_0x4a9da4(0x377)][_0x4a9da4(0x34d)]((_0x862f17,_0x582d2e)=>this[_0x4a9da4(0x2d8)](_0x582d2e)),this[_0x4a9da4(0x264)]&&window[_0x4a9da4(0x369)](this[_0x4a9da4(0x264)]);}['getUnitStatus$'](_0x32dc8d){const _0x320bc6=_0x5496c8;return this[_0x320bc6(0x30f)](_0x32dc8d)['pipe'](_0x5a4047());}[_0x5496c8(0x31d)](_0x45bc61){const _0x2b47d0=_0x5496c8;this[_0x2b47d0(0x335)][_0x2b47d0(0x380)]===0x0&&this[_0x2b47d0(0x332)](),this[_0x2b47d0(0x335)][_0x2b47d0(0x286)](_0x45bc61),this['_send']({'type':0x0,'memberID':this[_0x2b47d0(0x34f)],'unitIDs':[_0x45bc61],'isForwarded':!0x1});}['disposeUnit'](_0x39b627){const _0x5dadb5=_0x5496c8;this['_selfUnitIDs'][_0x5dadb5(0x2a2)](_0x39b627),this[_0x5dadb5(0x335)][_0x5dadb5(0x380)]===0x0&&this[_0x5dadb5(0x264)]&&window[_0x5dadb5(0x369)](this[_0x5dadb5(0x264)]);}[_0x5496c8(0x21d)](){const _0x5b9db4=_0x5496c8;this[_0x5b9db4(0x18f)](_0x3ad409(_0x5d13c1(window,_0x5b9db4(0x25c))[_0x5b9db4(0x334)](_0x321040=>{const _0x475d94=_0x5b9db4;if(_0x321040[_0x475d94(0x274)]!==nt||!_0x321040[_0x475d94(0x29f)])return;const _0x214426=JSON['parse'](_0x321040[_0x475d94(0x29f)]);this['_handleEvent'](_0x214426);}))),window[_0x5b9db4(0x2bd)](_0x5b9db4(0x2b4),()=>this[_0x5b9db4(0x22d)]({'type':0x1,'memberID':this[_0x5b9db4(0x34f)],'unitIDs':Array[_0x5b9db4(0x391)](this[_0x5b9db4(0x335)])}));}[_0x5496c8(0x236)](_0x265ad4){const _0x545c71=_0x5496c8;switch(_0x265ad4['type']){case 0x0:this['_handleJoinEvent'](_0x265ad4);break;case 0x1:this[_0x545c71(0x34c)](_0x265ad4);break;case 0x2:this[_0x545c71(0x2d5)](_0x265ad4);break;}}[_0x5496c8(0x217)](_0x284fa9){const _0x2130a8=_0x5496c8,{unitIDs:_0x46691e,memberID:_0x82f337,isForwarded:_0x500072}=_0x284fa9;_0x46691e[_0x2130a8(0x34d)](_0x4b1588=>{const _0x4047d2=_0x2130a8;if(!_0x500072&&this[_0x4047d2(0x2c2)]['has'](_0x4b1588)&&this[_0x4047d2(0x30f)](_0x4b1588)[_0x4047d2(0x2f8)](_0x295889['OTHER_CLIENTS_EDITING']),!this[_0x4047d2(0x2c2)][_0x4047d2(0x2aa)](_0x4b1588)||!this['_unitOnClients']['get'](_0x4b1588)[_0x4047d2(0x2aa)](_0x82f337)){const _0xf85434=this[_0x4047d2(0x2c2)][_0x4047d2(0x1fb)](_0x4b1588)||new Set();_0xf85434[_0x4047d2(0x286)](_0x82f337),this[_0x4047d2(0x2c2)][_0x4047d2(0x2b6)](_0x4b1588,_0xf85434),this[_0x4047d2(0x38d)](_0x82f337);}}),_0x500072||this[_0x2130a8(0x22d)]({'type':0x0,'memberID':this[_0x2130a8(0x34f)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x8bbd2f){const _0x100725=_0x5496c8;this[_0x100725(0x2d8)](_0x8bbd2f);const _0x353a57=window['setTimeout'](()=>{const _0x10e719=_0x100725;this[_0x10e719(0x2c2)][_0x10e719(0x34d)](_0x5df274=>{const _0x1452a5=_0x10e719;_0x5df274[_0x1452a5(0x2a2)](_0x8bbd2f);});},it*0x2);this['_clearOtherTimers'][_0x100725(0x2b6)](_0x8bbd2f,_0x353a57);}[_0x5496c8(0x2d8)](_0x279854){const _0x2d4a96=_0x5496c8;if(this[_0x2d4a96(0x377)]['has'](_0x279854)){const _0x4ab7e7=this[_0x2d4a96(0x377)][_0x2d4a96(0x1fb)](_0x279854);_0x4ab7e7&&window[_0x2d4a96(0x23f)](_0x4ab7e7),this[_0x2d4a96(0x377)][_0x2d4a96(0x2b6)](_0x279854,null);}}['_handleLeaveEvent'](_0x266248){const _0x48acdf=_0x5496c8,{memberID:_0x4df98c,unitIDs:_0x19671e}=_0x266248;_0x19671e[_0x48acdf(0x34d)](_0x15a6cd=>{const _0x179170=_0x48acdf;var _0xbfce97;const _0x39be4e=this[_0x179170(0x2c2)][_0x179170(0x1fb)](_0x15a6cd);_0x39be4e&&(_0x39be4e[_0x179170(0x2a2)](_0x4df98c),(_0xbfce97=this[_0x179170(0x30f)](_0x15a6cd))==null||_0xbfce97['next'](_0x39be4e[_0x179170(0x380)]===0x0?_0x295889[_0x179170(0x2d1)]:_0x295889[_0x179170(0x1fe)]));}),this['_removeClearOtherTimer'](_0x4df98c);}[_0x5496c8(0x2d5)](_0x244c40){const _0x1a04c1=_0x5496c8;this[_0x1a04c1(0x38d)](_0x244c40[_0x1a04c1(0x1d0)]);}[_0x5496c8(0x22d)](_0x2f54eb){const _0x542a19=_0x5496c8;localStorage[_0x542a19(0x30b)](nt,JSON[_0x542a19(0x31e)](_0x2f54eb));}[_0x5496c8(0x332)](){const _0x415e8c=_0x5496c8;this[_0x415e8c(0x264)]=window[_0x415e8c(0x327)](()=>{const _0x48ea64=_0x415e8c;this[_0x48ea64(0x22d)]({'type':0x2,'memberID':this['_id']});},it);}[_0x5496c8(0x30f)](_0x36bc32){const _0x4a5a78=_0x5496c8;return this[_0x4a5a78(0x1b8)][_0x4a5a78(0x2aa)](_0x36bc32)||this[_0x4a5a78(0x1b8)]['set'](_0x36bc32,new _0x4033d5(_0x295889[_0x4a5a78(0x2d1)])),this[_0x4a5a78(0x1b8)][_0x4a5a78(0x1fb)](_0x36bc32);}}var Mt=(_0x1d3684=>(_0x1d3684[_0x1d3684['UNDEFINED']=0x0]=_0x5496c8(0x349),_0x1d3684[_0x1d3684['OK']=0x1]='OK',_0x1d3684[_0x1d3684[_0x5496c8(0x387)]=0x2]=_0x5496c8(0x387),_0x1d3684[_0x1d3684['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x1d3684[_0x1d3684[_0x5496c8(0x195)]=0x4]=_0x5496c8(0x195),_0x1d3684[_0x1d3684[_0x5496c8(0x234)]=0x5]=_0x5496c8(0x234),_0x1d3684[_0x1d3684[_0x5496c8(0x2a5)]=0x6]=_0x5496c8(0x2a5),_0x1d3684[_0x1d3684['INVALID_ARGUMENT']=0x7]=_0x5496c8(0x2f5),_0x1d3684[_0x1d3684[_0x5496c8(0x1dd)]=0x8]=_0x5496c8(0x1dd),_0x1d3684[_0x1d3684[_0x5496c8(0x324)]=0x9]=_0x5496c8(0x324),_0x1d3684[_0x1d3684[_0x5496c8(0x351)]=0xa]=_0x5496c8(0x351),_0x1d3684[_0x1d3684[_0x5496c8(0x337)]=0xb]=_0x5496c8(0x337),_0x1d3684[_0x1d3684[_0x5496c8(0x223)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x1d3684[_0x1d3684[_0x5496c8(0x352)]=0xd]=_0x5496c8(0x352),_0x1d3684[_0x1d3684[_0x5496c8(0x34b)]=0xe]=_0x5496c8(0x34b),_0x1d3684[_0x1d3684[_0x5496c8(0x1bb)]=0x1389]=_0x5496c8(0x1bb),_0x1d3684[_0x1d3684[_0x5496c8(0x397)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x1d3684[_0x1d3684[_0x5496c8(0x330)]=0x1772]=_0x5496c8(0x330),_0x1d3684[_0x1d3684['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x5496c8(0x2db),_0x1d3684[_0x1d3684['APPLY_REJECT']=0x1b59]=_0x5496c8(0x2ae),_0x1d3684[_0x1d3684[_0x5496c8(0x2bb)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x1d3684[_0x1d3684[_0x5496c8(0x20b)]=0x1b5b]=_0x5496c8(0x20b),_0x1d3684[_0x1d3684[_0x5496c8(0x2a7)]=0x1b5c]=_0x5496c8(0x2a7),_0x1d3684[_0x1d3684[_0x5496c8(0x37d)]=0x1b5d]='APPLY_DUPLICATED',_0x1d3684[_0x1d3684[_0x5496c8(0x37e)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x1d3684[_0x1d3684[_0x5496c8(0x188)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x1d3684[_0x1d3684[_0x5496c8(0x20d)]=0x232a]=_0x5496c8(0x20d),_0x1d3684[_0x1d3684[_0x5496c8(0x259)]=0x232b]=_0x5496c8(0x259),_0x1d3684[_0x1d3684[_0x5496c8(0x2b3)]=0x232c]=_0x5496c8(0x2b3),_0x1d3684[_0x1d3684[_0x5496c8(0x1cd)]=0x232d]=_0x5496c8(0x1cd),_0x1d3684[_0x1d3684['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x5496c8(0x2a9),_0x1d3684[_0x1d3684['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x5496c8(0x272),_0x1d3684[_0x1d3684[_0x5496c8(0x298)]=0x2713]=_0x5496c8(0x298),_0x1d3684[_0x1d3684['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x1d3684[_0x1d3684['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x5496c8(0x295),_0x1d3684[_0x1d3684['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x5496c8(0x1c4),_0x1d3684[_0x1d3684[_0x5496c8(0x24d)]=0x271c]=_0x5496c8(0x24d),_0x1d3684[_0x1d3684[_0x5496c8(0x36d)]=0x271d]=_0x5496c8(0x36d),_0x1d3684[_0x1d3684[_0x5496c8(0x2f2)]=0x271e]=_0x5496c8(0x2f2),_0x1d3684[_0x1d3684[_0x5496c8(0x2ca)]=0x271f]=_0x5496c8(0x2ca),_0x1d3684[_0x1d3684['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x5496c8(0x2f4),_0x1d3684[_0x1d3684['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x5496c8(0x1cc),_0x1d3684[_0x1d3684[_0x5496c8(0x309)]=0x2ee1]=_0x5496c8(0x309),_0x1d3684[_0x1d3684[_0x5496c8(0x1f1)]=0x2ee2]=_0x5496c8(0x1f1),_0x1d3684[_0x1d3684[_0x5496c8(0x1d8)]=0x2ee3]=_0x5496c8(0x1d8),_0x1d3684[_0x1d3684[_0x5496c8(0x1e4)]=0x2ee4]=_0x5496c8(0x1e4),_0x1d3684[_0x1d3684['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x1d3684[_0x1d3684['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x5496c8(0x2c4),_0x1d3684[_0x1d3684[_0x5496c8(0x1ce)]=0x32ca]=_0x5496c8(0x1ce),_0x1d3684[_0x1d3684['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x5496c8(0x381),_0x1d3684[_0x1d3684[_0x5496c8(0x32e)]=-0x1]=_0x5496c8(0x32e),_0x1d3684))(Mt||{}),pn=Object[_0x5496c8(0x1cb)],Cn=(_0x5b4b6a,_0x5e11ee,_0x4b762e,_0x29b4c3)=>{const _0x38534e=_0x5496c8;for(var _0x387891=_0x29b4c3>0x1?void 0x0:_0x29b4c3?pn(_0x5e11ee,_0x4b762e):_0x5e11ee,_0x5470fc=_0x5b4b6a[_0x38534e(0x2dc)]-0x1,_0x345b17;_0x5470fc>=0x0;_0x5470fc--)(_0x345b17=_0x5b4b6a[_0x5470fc])&&(_0x387891=_0x345b17(_0x387891)||_0x387891);return _0x387891;},be=(_0x569bae,_0x5ac5d5)=>(_0x1f43f1,_0x207be7)=>_0x5ac5d5(_0x1f43f1,_0x207be7,_0x569bae);let rt=class extends _0x192abb{constructor(_0x4627ce,_0x2883d6,_0x540424){const _0x19446d=_0x5496c8;super(),this[_0x19446d(0x35a)]=_0x4627ce,this[_0x19446d(0x302)]=_0x2883d6,this[_0x19446d(0x1eb)]=_0x540424;}async[_0x5496c8(0x2ee)](_0x55e2d1,_0x347a70,_0x1ef577,..._0x2f75d7){const _0x4ddb88=_0x5496c8;var _0x5462a8,_0x19d18c,_0x5ab088,_0x37748b;const _0x950dc6=this[_0x4ddb88(0x35a)]['getFocusedUnit']();if(!_0x950dc6)throw new Error(_0x4ddb88(0x331));const _0x12bbb8=((_0x5462a8=this[_0x4ddb88(0x1eb)][_0x4ddb88(0x1c7)](_0x3fc2aa))!=null?_0x5462a8:_0x122fe8)+'/'+_0x55e2d1+_0x4ddb88(0x261)+_0x347a70,_0x2f6884=new URL(window['location'][_0x4ddb88(0x356)]),_0x4fa244={'scriptId':_0x55e2d1,'runId':(_0x19d18c=_0x2f6884[_0x4ddb88(0x2dd)][_0x4ddb88(0x1fb)](_0x4ddb88(0x2ef)))!=null?_0x19d18c:'','function':_0x347a70,'unitId':_0x950dc6[_0x4ddb88(0x237)](),'argsOfFunction':JSON[_0x4ddb88(0x31e)](_0x2f75d7),'invokeId':(_0x5ab088=_0x1ef577[_0x4ddb88(0x2c8)])!=null?_0x5ab088:'','executionId':(_0x37748b=_0x1ef577[_0x4ddb88(0x1f4)])!=null?_0x37748b:''};try{const _0x405d9e=await this['_httpService'][_0x4ddb88(0x2d9)](_0x12bbb8,{'body':_0x4fa244});return _0x405d9e[_0x4ddb88(0x2eb)]['error']&&_0x405d9e[_0x4ddb88(0x2eb)][_0x4ddb88(0x232)][_0x4ddb88(0x21f)]!==Mt['OK']?'Failed':_0x405d9e[_0x4ddb88(0x2eb)]['result'];}catch{return _0x4ddb88(0x206);}}};function _0x6cac(_0x15aa0f,_0x2b9cdf){const _0x245daa=_0x245d();return _0x6cac=function(_0x6cacc0,_0x43f75e){_0x6cacc0=_0x6cacc0-0x185;let _0x1914f4=_0x245daa[_0x6cacc0];return _0x1914f4;},_0x6cac(_0x15aa0f,_0x2b9cdf);}rt=Cn([be(0x0,_0x46dfe1),be(0x1,_0x3809cb(_0x242867)),be(0x2,_0x36b46d)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Wi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const _0xa18dfd=_0x36e8;function _0xbb96(){const _0x2813d6=['11hTpyWJ','2570490xYJoQQ','544680MrUcdK','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','1032LEXOrU','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.','Connection\x20failed,\x20please\x20check\x20your\x20network.','Authentication\x20Error','Syncing...','Syncing\x20server\x20data...','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Collaboration\x20Conflict','58654muZeAc','14OpKdtY','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Synced','113244mKMNFT','195088tcRSQp','6QrXosX','585ASIXTB','Click\x20to\x20Reconnect','6972410bcapXI','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Edit\x20conflicts'];_0xbb96=function(){return _0x2813d6;};return _0xbb96();}function _0x36e8(_0x1e6d03,_0x5536ea){const _0xbb9610=_0xbb96();return _0x36e8=function(_0x36e851,_0x12608e){_0x36e851=_0x36e851-0xaf;let _0x97e319=_0xbb9610[_0x36e851];return _0x97e319;},_0x36e8(_0x1e6d03,_0x5536ea);}(function(_0x3ac0c3,_0x1c09a9){const _0x1a6d17=_0x36e8,_0x1b25e4=_0x3ac0c3();while(!![]){try{const _0x34d541=-parseInt(_0x1a6d17(0xaf))/0x1+parseInt(_0x1a6d17(0xc3))/0x2*(-parseInt(_0x1a6d17(0xb0))/0x3)+-parseInt(_0x1a6d17(0xbb))/0x4*(parseInt(_0x1a6d17(0xb1))/0x5)+parseInt(_0x1a6d17(0xc7))/0x6*(-parseInt(_0x1a6d17(0xc4))/0x7)+parseInt(_0x1a6d17(0xb8))/0x8+-parseInt(_0x1a6d17(0xb7))/0x9+parseInt(_0x1a6d17(0xb3))/0xa*(parseInt(_0x1a6d17(0xb6))/0xb);if(_0x34d541===_0x1c09a9)break;else _0x1b25e4['push'](_0x1b25e4['shift']());}catch(_0x3ba344){_0x1b25e4['push'](_0x1b25e4['shift']());}}}(_0xbb96,0x26958));const e={'collab-client':{'tooltip':{'reconnect':_0xa18dfd(0xb2)}},'collabStatus':{'fetchMiss':_0xa18dfd(0xc0),'conflict':_0xa18dfd(0xb5),'notCollab':'Local\x20file','synced':_0xa18dfd(0xc6),'syncing':_0xa18dfd(0xbf),'offline':_0xa18dfd(0xba)},'session':{'connection-failed':_0xa18dfd(0xbd),'will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0xa18dfd(0xc2),'content':_0xa18dfd(0xbc)},'permission':{'title':_0xa18dfd(0xbe),'content':_0xa18dfd(0xb9)},'collaboration':{'single-unit':{'warning':_0xa18dfd(0xb4)},'closeRoom':_0xa18dfd(0xc5)},'auth':{'needGotoLoginAlert':_0xa18dfd(0xc1)}},o=e;export{o as default};
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x2982e3=_0x22e2;function _0x1d2b(){const _0x451045=['2gonrOA','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.','513390avECsK','Local\x20file','1803666jqwFQi','Edit\x20conflicts','Click\x20to\x20Reconnect','Collaboration\x20Conflict','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Authentication\x20Error','Connection\x20failed,\x20please\x20check\x20your\x20network.','Synced','597480inTecI','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','555249jalfUz','Syncing...','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','1281772WzLjjC','16mkEPNk','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','235858WTggKZ','5182983gKibFm','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.'];_0x1d2b=function(){return _0x451045;};return _0x1d2b();}(function(_0x3be2a2,_0x209c7f){const _0x4c8b97=_0x22e2,_0x48932e=_0x3be2a2();while(!![]){try{const _0x6d0d1d=-parseInt(_0x4c8b97(0xc4))/0x1*(parseInt(_0x4c8b97(0xcd))/0x2)+-parseInt(_0x4c8b97(0xc2))/0x3+parseInt(_0x4c8b97(0xc7))/0x4+-parseInt(_0x4c8b97(0xcf))/0x5+-parseInt(_0x4c8b97(0xd1))/0x6+-parseInt(_0x4c8b97(0xca))/0x7+-parseInt(_0x4c8b97(0xc8))/0x8*(-parseInt(_0x4c8b97(0xcb))/0x9);if(_0x6d0d1d===_0x209c7f)break;else _0x48932e['push'](_0x48932e['shift']());}catch(_0x4fb1f6){_0x48932e['push'](_0x48932e['shift']());}}}(_0x1d2b,0x448f9));function _0x22e2(_0x38a6a8,_0x35433a){const _0x1d2b71=_0x1d2b();return _0x22e2=function(_0x22e252,_0xf1dd33){_0x22e252=_0x22e252-0xc1;let _0x3ff110=_0x1d2b71[_0x22e252];return _0x3ff110;},_0x22e2(_0x38a6a8,_0x35433a);}const e={'collab-client':{'tooltip':{'reconnect':_0x2982e3(0xd3)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x2982e3(0xd2),'notCollab':_0x2982e3(0xd0),'synced':_0x2982e3(0xc1),'syncing':_0x2982e3(0xc5),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x2982e3(0xd7),'will-retry':_0x2982e3(0xcc),'room-full':_0x2982e3(0xc3),'collaboration-timeout':_0x2982e3(0xd5)},'conflict':{'title':_0x2982e3(0xd4),'content':_0x2982e3(0xce)},'permission':{'title':_0x2982e3(0xd6),'content':_0x2982e3(0xc6)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x2982e3(0xc9)}};export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const _0x19554b=_0x2000;(function(_0x471ca3,_0x5cca0f){const _0x5d94a2=_0x2000,_0x402247=_0x471ca3();while(!![]){try{const _0x27011d=-parseInt(_0x5d94a2(0x135))/0x1+parseInt(_0x5d94a2(0x120))/0x2*(-parseInt(_0x5d94a2(0x12a))/0x3)+-parseInt(_0x5d94a2(0x122))/0x4*(-parseInt(_0x5d94a2(0x12d))/0x5)+parseInt(_0x5d94a2(0x132))/0x6+-parseInt(_0x5d94a2(0x12f))/0x7*(parseInt(_0x5d94a2(0x124))/0x8)+parseInt(_0x5d94a2(0x123))/0x9*(parseInt(_0x5d94a2(0x13a))/0xa)+parseInt(_0x5d94a2(0x12c))/0xb*(parseInt(_0x5d94a2(0x127))/0xc);if(_0x27011d===_0x5cca0f)break;else _0x402247['push'](_0x402247['shift']());}catch(_0x440a11){_0x402247['push'](_0x402247['shift']());}}}(_0x46d3,0x9687f));function _0x46d3(){const _0x1c66f3=['1704164RlpVQt','Collaboration\x20Conflict','Click\x20to\x20Reconnect','4223478HcGIcZ','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','570146bsScen','Authentication\x20Error','Local\x20file','Edit\x20conflicts','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','11810sPRHXi','Syncing\x20server\x20data...','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','430eGtItg','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','16jjfOEA','4257fCQQRa','24ztySva','Synced','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','11577708CJVzVD','Syncing...','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','6738hDdbKl','Connection\x20failed,\x20please\x20check\x20your\x20network.','11MbjMlM','215790xivsdo','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'];_0x46d3=function(){return _0x1c66f3;};return _0x46d3();}function _0x2000(_0x156420,_0x151ebc){const _0x46d3aa=_0x46d3();return _0x2000=function(_0x2000b7,_0x48e997){_0x2000b7=_0x2000b7-0x120;let _0x446688=_0x46d3aa[_0x2000b7];return _0x446688;},_0x2000(_0x156420,_0x151ebc);}const e={'collab-client':{'tooltip':{'reconnect':_0x19554b(0x131)}},'collabStatus':{'fetchMiss':_0x19554b(0x13b),'conflict':_0x19554b(0x138),'notCollab':_0x19554b(0x137),'synced':_0x19554b(0x125),'syncing':_0x19554b(0x128),'offline':_0x19554b(0x12e)},'session':{'connection-failed':_0x19554b(0x12b),'will-retry':_0x19554b(0x121),'room-full':_0x19554b(0x13c),'collaboration-timeout':_0x19554b(0x134)},'conflict':{'title':_0x19554b(0x130),'content':_0x19554b(0x126)},'permission':{'title':_0x19554b(0x136),'content':'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':{'single-unit':{'warning':_0x19554b(0x139)},'closeRoom':_0x19554b(0x133)},'auth':{'needGotoLoginAlert':_0x19554b(0x129)}},o=e;export{o as default};
|