@univerjs-pro/collaboration-client-ui 0.7.0-nightly.202505011607 → 0.7.0-nightly.202505031606

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0x340c(_0x5d1ea5,_0x5ce30b){const _0x48035e=_0x4803();return _0x340c=function(_0x340c7b,_0x95a88){_0x340c7b=_0x340c7b-0x7a;let _0x3e9966=_0x48035e[_0x340c7b];return _0x3e9966;},_0x340c(_0x5d1ea5,_0x5ce30b);}const _0x10c81c=_0x340c;(function(_0x10fcdb,_0x5b9d8c){const _0x3ca388=_0x340c,_0x205871=_0x10fcdb();while(!![]){try{const _0x15dc96=parseInt(_0x3ca388(0x87))/0x1+parseInt(_0x3ca388(0x7e))/0x2+parseInt(_0x3ca388(0x80))/0x3*(-parseInt(_0x3ca388(0x7f))/0x4)+parseInt(_0x3ca388(0x81))/0x5+parseInt(_0x3ca388(0x7b))/0x6*(parseInt(_0x3ca388(0x84))/0x7)+-parseInt(_0x3ca388(0x7c))/0x8+-parseInt(_0x3ca388(0x7d))/0x9*(-parseInt(_0x3ca388(0x88))/0xa);if(_0x15dc96===_0x5b9d8c)break;else _0x205871['push'](_0x205871['shift']());}catch(_0x5284dc){_0x205871['push'](_0x205871['shift']());}}}(_0x4803,0xf3439));function _0x4803(){const _0x4607da=['2142405ONrSLw','1842236yIKrKQ','24ZFYWdQ','596559AaFGYs','812010AeIzkd','RemoteUniscriptService','@univerjs-pro/collaboration-client-ui','7DVgRbN','@univerjs/core/facade','runOnServer','724155uYKIvx','30phYPIb','FUniver','7484226JUMmjd','12637232KqfLlh'];_0x4803=function(){return _0x4607da;};return _0x4803();}const t=require(_0x10c81c(0x83)),e=require(_0x10c81c(0x85));class c extends e[_0x10c81c(0x7a)]{[_0x10c81c(0x86)](_0x3c3165,_0x11b92d,..._0x272f89){const _0x2f6cb6=_0x10c81c;return this['_injector']['get'](t[_0x2f6cb6(0x82)])[_0x2f6cb6(0x86)](_0x3c3165,_0x11b92d,{},..._0x272f89);}}e[_0x10c81c(0x7a)]['extend'](c);
1
+ 'use strict';function _0x862d(){const _0x103867=['1259598QFIVHR','runOnServer','5493971aIPSIr','RemoteUniscriptService','get','38965jyjbhW','911512JsCSYT','@univerjs-pro/collaboration-client-ui','270547mLfOJC','4cDpCUz','_injector','81VnYxVU','extend','@univerjs/core/facade','583104TBIUTR','FUniver','1739924srSbYX'];_0x862d=function(){return _0x103867;};return _0x862d();}const _0x5880fa=_0x2a71;(function(_0xb1373e,_0x234caf){const _0x29e6df=_0x2a71,_0xb972ac=_0xb1373e();while(!![]){try{const _0x406fc4=parseInt(_0x29e6df(0x7c))/0x1+parseInt(_0x29e6df(0x84))/0x2+-parseInt(_0x29e6df(0x74))/0x3+parseInt(_0x29e6df(0x7d))/0x4*(parseInt(_0x29e6df(0x79))/0x5)+parseInt(_0x29e6df(0x82))/0x6+parseInt(_0x29e6df(0x76))/0x7+parseInt(_0x29e6df(0x7a))/0x8*(-parseInt(_0x29e6df(0x7f))/0x9);if(_0x406fc4===_0x234caf)break;else _0xb972ac['push'](_0xb972ac['shift']());}catch(_0x377892){_0xb972ac['push'](_0xb972ac['shift']());}}}(_0x862d,0x8ed3e));function _0x2a71(_0xdb8042,_0x312a7a){const _0x862dc3=_0x862d();return _0x2a71=function(_0x2a7195,_0x354007){_0x2a7195=_0x2a7195-0x74;let _0x513897=_0x862dc3[_0x2a7195];return _0x513897;},_0x2a71(_0xdb8042,_0x312a7a);}const t=require(_0x5880fa(0x7b)),e=require(_0x5880fa(0x81));class c extends e['FUniver']{[_0x5880fa(0x75)](_0x4c70c8,_0xeccbdd,..._0x23f432){const _0x564c8d=_0x5880fa;return this[_0x564c8d(0x7e)][_0x564c8d(0x78)](t[_0x564c8d(0x77)])[_0x564c8d(0x75)](_0x4c70c8,_0xeccbdd,{},..._0x23f432);}}e[_0x5880fa(0x83)][_0x5880fa(0x80)](c);
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x3719c8=_0x169d;(function(_0x74aedd,_0x132457){const _0x444859=_0x169d,_0x4433b8=_0x74aedd();while(!![]){try{const _0x2b6392=parseInt(_0x444859(0x364))/0x1*(-parseInt(_0x444859(0x255))/0x2)+-parseInt(_0x444859(0x3b3))/0x3+-parseInt(_0x444859(0x3a5))/0x4*(-parseInt(_0x444859(0x1f4))/0x5)+-parseInt(_0x444859(0x307))/0x6*(parseInt(_0x444859(0x1f0))/0x7)+-parseInt(_0x444859(0x2f7))/0x8+-parseInt(_0x444859(0x204))/0x9*(-parseInt(_0x444859(0x2ee))/0xa)+parseInt(_0x444859(0x38f))/0xb;if(_0x2b6392===_0x132457)break;else _0x4433b8['push'](_0x4433b8['shift']());}catch(_0x4a5a6a){_0x4433b8['push'](_0x4433b8['shift']());}}}(_0x2b06,0xa8070));var Ve=Object['defineProperty'],Xe=(_0x328db0,_0x6015f5,_0x3bb267)=>_0x6015f5 in _0x328db0?Ve(_0x328db0,_0x6015f5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3bb267}):_0x328db0[_0x6015f5]=_0x3bb267,h=(_0x25d682,_0x230bb3,_0x4ee294)=>Xe(_0x25d682,typeof _0x230bb3!='symbol'?_0x230bb3+'':_0x230bb3,_0x4ee294);Object[_0x3719c8(0x40d)](exports,Symbol[_0x3719c8(0x29d)],{'value':'Module'});const u=require(_0x3719c8(0x30c)),a=require(_0x3719c8(0x28c)),p=require(_0x3719c8(0x3c4)),G=require(_0x3719c8(0x29f)),b=require('@univerjs/docs-ui'),Ge=require(_0x3719c8(0x2e7)),d=require(_0x3719c8(0x366)),F=require(_0x3719c8(0x383)),m=require(_0x3719c8(0x42b)),Ee=require(_0x3719c8(0x396)),g=require('@univerjs/sheets'),$=require(_0x3719c8(0x32e)),X=require(_0x3719c8(0x2e0)),P=require(_0x3719c8(0x3f4)),T=require(_0x3719c8(0x415)),D=require(_0x3719c8(0x26b)),M=require('react'),Ke=require(_0x3719c8(0x33f));var qe=Object[_0x3719c8(0x2b9)],ze=(_0xac40c,_0x3022a8,_0x272295,_0x140398)=>{const _0x2331ff=_0x3719c8;for(var _0x43d412=_0x140398>0x1?void 0x0:_0x140398?qe(_0x3022a8,_0x272295):_0x3022a8,_0x242fd6=_0xac40c[_0x2331ff(0x1e4)]-0x1,_0x48d183;_0x242fd6>=0x0;_0x242fd6--)(_0x48d183=_0xac40c[_0x242fd6])&&(_0x43d412=_0x48d183(_0x43d412)||_0x43d412);return _0x43d412;},Te=(_0x5ec53c,_0x26cf2b)=>(_0x35db79,_0x50d852)=>_0x26cf2b(_0x35db79,_0x50d852,_0x5ec53c);let de=class extends a[_0x3719c8(0x41d)]{constructor(_0x4dbcca,_0x19894a){const _0x58a03b=_0x3719c8;super(),this['_docClipboardService']=_0x4dbcca,this[_0x58a03b(0x30b)]=_0x19894a,this[_0x58a03b(0x41c)]();}[_0x3719c8(0x41c)](){const _0x5e085b=_0x3719c8,_0x20adbe=this;this[_0x5e085b(0x43b)](this[_0x5e085b(0x35d)][_0x5e085b(0x42e)]({'onBeforePasteImage':async _0x5971e4=>{const _0x1a920d=_0x5e085b,_0xd5b055=await _0x20adbe['_imageIoService'][_0x1a920d(0x257)](_0x5971e4);return _0xd5b055?{'source':_0xd5b055[_0x1a920d(0x361)],'imageSourceType':_0xd5b055['imageSourceType']}:null;}}));}};de=ze([Te(0x0,b[_0x3719c8(0x3b8)]),Te(0x1,Ge[_0x3719c8(0x3e1)])],de);const Oe=['purple300',_0x3719c8(0x222),_0x3719c8(0x3a6),_0x3719c8(0x3de),'blue400',_0x3719c8(0x1f8)];class me extends a[_0x3719c8(0x3bd)]{constructor(){const _0x10db15=_0x3719c8;super(...arguments),h(this,_0x10db15(0x3da),new Map()),h(this,'_colorIndex',0x0);}[_0x3719c8(0x1d1)](_0x3d3c75){const _0x175a47=_0x3719c8;if(this[_0x175a47(0x3da)][_0x175a47(0x252)](_0x3d3c75))return this[_0x175a47(0x3da)][_0x175a47(0x263)](_0x3d3c75);const _0x528ec2=Oe[this[_0x175a47(0x2f3)]];return this[_0x175a47(0x2f3)]=(this['_colorIndex']+0x1)%Oe[_0x175a47(0x1e4)],this['_assignedColors'][_0x175a47(0x2e3)](_0x3d3c75,_0x528ec2),_0x528ec2;}}function Pe(_0x42546f){let _0x1a2905='';for(const _0x1ef212 of _0x42546f){const {startOffset:_0x499c93,endOffset:_0x53127f,isActive:_0x57a342,rangeType:_0x932f83,segmentId:_0x28f3a3,segmentPage:_0x52e34b}=_0x1ef212;_0x1a2905['length']&&(_0x1a2905+=','),_0x1a2905+=_0x499c93+':'+_0x53127f+':'+(_0x57a342?'1':'0')+':'+_0x932f83+':'+_0x28f3a3+':'+_0x52e34b;}return _0x1a2905;}function Je(_0x16d732){const _0x17b4e8=_0x3719c8,_0x28b426=_0x16d732[_0x17b4e8(0x2aa)](','),_0x19493f=[];for(const _0x296012 of _0x28b426){const [_0x13d548,_0x5864da,_0x2dcb41,_0xe8d006,_0x45da93,_0x5e0207]=_0x296012['split'](':');_0x19493f['push']({'startOffset':Number(_0x13d548),'endOffset':Number(_0x5864da),'collapsed':_0x13d548===_0x5864da,'isActive':_0x2dcb41==='1','rangeType':_0xe8d006===a[_0x17b4e8(0x2c5)][_0x17b4e8(0x2d5)]?a[_0x17b4e8(0x2c5)][_0x17b4e8(0x2d5)]:a[_0x17b4e8(0x2c5)]['RECT'],'segmentId':typeof _0x45da93=='string'?String(_0x45da93):'','segmentPage':Number(_0x5e0207!=null?_0x5e0207:-0x1)});}return _0x19493f['some'](_0x1f86d7=>_0x1f86d7[_0x17b4e8(0x3a9)])||(_0x19493f[0x0][_0x17b4e8(0x3a9)]=!0x0),_0x19493f;}class Ce extends a['RxDisposable']{constructor(){const _0x26ebd1=_0x3719c8;super(...arguments),h(this,_0x26ebd1(0x314),new d[(_0x26ebd1(0x347))](null)),h(this,_0x26ebd1(0x333),this[_0x26ebd1(0x314)][_0x26ebd1(0x240)]());}[_0x3719c8(0x2e1)](_0x42f39f){const _0x420e09=_0x3719c8,{unitID:_0x2ba189,memberID:_0x41d705,textRanges:_0x2916be}=_0x42f39f,_0x473ae8=Pe(_0x2916be);if(_0x473ae8==='')return;const _0x1e0d9b={'unitID':_0x2ba189,'memberID':_0x41d705,'selection':_0x473ae8};this[_0x420e09(0x314)]['next'](_0x1e0d9b);}}function _0x2b06(){const _0x43838b=['deepClone','Error','_docSkeletonManagerService','_dataLoaderService','trim','onCommandExecuted','getOwnPropertyDescriptor','function','CollaborationUIEventService','LICENSE_DISTRO_REJECTED','_name','event$','evenodd','roomMembers','combineLatest','_instanceService','INVALID_ARGUMENT','exhaustSavingTask','DOC_RANGE_TYPE','CONFLICT','_drawRectRange','off-line-single','getCurrentRevOfUnit','handleIRemoveRow','LocaleService','CollaborationController','UNIVER_SHEET','_updateSubUnitFromURLParams','_document','defs','_range','getRangePointData','#FFF','isTransformMutationFailure','TEXT','APPLY_DUPLICATED','whenReady','on-line-single_clip0_910_349','getCollabCursors$','RefRangeService','handleInsertCol','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','WebSocketService','_clearOtherTimers','loadUnit','@univerjs/sheets-ui','syncEditingCollabCursor','unshift','set','handleDeleteRangeMoveLeft','debug','fillText','@univerjs/drawing','CommandType','_cachedData','_updateCollabCursors','_transformPreviousActiveRange','collabStatus.offline','defIds','67280RBoaMu','executionId','TOO_MANY_REQUESTS','getCurrentUnitForType','ENSURE_SNAPSHOT_EXECUTION','_colorIndex','_hover','skeleton','result','6381424DbnYFV','mask','RegularPolygon','1em','CLOSE_ROOM','size','CollaborationSocketService','top','setConfig','RemoveRowCommandId','off-line-single_clip0_910_343','values','isEditing','CollaborationStatusDisplay','_getAnchorBounding','_initCommandExecutedListener','5587932XPMEvc','font','endColumn','onLocalMutation','_imageIoService','@univerjs-pro/collaboration-client','UnitStatus','unitID','column','APPLY_REVISION_CONFILICT','addObject','CollaborationEvent','distinctUntilChanged','_collabCursorState$','_startSheetCollabCursor','FETCH_MISS','_color','_docSyncEditingCollabCursorService','registerRefRange','save','CONNECTOR_DATA_TOO_LARGE','_httpService','HEADER_MENU','handleDeleteRangeMoveUp','indexOf','getTypeOfUnitAdded$','textRanges','collab-rect-range-','useDependency','LICENSE_IMPORT_SIZE_EXCEEDED','editingUnit','lineTo','pluginName','LOGIN_FAILED','replaceState','searchParams','find','getCoordByCell','INVALID_INVITE_CODE','rxjs/operators','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_selfUnitIDs','USERS_LEAVE','...','collabCursorState$','string','path','getUnitStatus$','transformSelections','_cursors','loadOfflineData','fillStyle','clsx','OnLineSingle','_scheduleClearOtherTimer','merge','@univerjs/rpc','actions','RichTextEditingMutation','LOCAL_CACHE_INTERVAL_KEY','debounce','undoState','_transformUndoRedoStack','stringify','BehaviorSubject','forEach','_eventUnsubscribe','WECHAT_HAS_BEEN_BOUND','map','SNAPSHOT_INVALID_SNAPSHOT','switchMap','YUUMI_RATE_OVER_LIMIT','disableLocalCache','_injector','getCellPositionByOffset','SHEET_VIEWPORT_KEY','getUnhiddenWorksheets','ITransformService','OffLineSingle','_docTransformStateCacheService','_transformHistoryAndStateStack','ONLINE','_backgroundColor','debounceTime','replace','hide','_docClipboardService','prototype','toDisposable','IMessageService','source','CollaborationSessionService','sheetID','31SLdeNS','max','rxjs','onRendered','svg','YUUMI_TABLE_NOT_FOUND_IN_UNIT','MessageType','post','runRefRangeMutations','type','EMAIL_HAS_BEEN_BOUND','_themeService','collabStatus.synced','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','colorChannel1','eventID','status$','SetTextSelectionsOperation','getMemberID','_saveTaskMap','_sheetSkeletonManagerService','onPointerLeave$','collaboration.closeRoom','pipe','name','_scheduleSaving','COMPLETION_FINISHED','Workbook','code','location','forwardRef','@univerjs/docs','Tooltip','range','INVITE_CODE_HAS_BEEN_UES','INTERNAL_ERROR','idSuffix','SNAPSHOT_HAS_BEEN_REMOVED','getCurrentSelections','focused$','connectInjector','onStarting','DocSelectionManagerService','11203060SCqvto','[RemoteUniscriptService]:\x20no\x20focused\x20unit','cursorInfo','_removeClearOtherTimer','MemberService','handleIRemoveCol','children','@univerjs/engine-formula','body','PERMISSION_DENIED','transformByState','_handleLeaveEvent','getAncestorScale','getOwnPropertySymbols','runOnServer','isArray','href','getActiveSheet','createElement','IConfigService','_cursorInfo$','UniverCollaborationClientPlugin','1216216KrHFdy','verdancy600','_commandService','USER_NOT_INVITED_CODE','isActive','[CollaborationDataLoaderController]','0\x200\x2017\x2016','urlChange$','ISocketService','saveTaskMap','SYNCED','UNAUTHENTICATED','transformMutationsWithChangeset','_initEntityListener','740493efOgRx','handleInsertRangeMoveRight','clearInterval','all','_textBubble','IDocClipboardService','M0\x200H16V16H0z','NOT_COLLAB','_initDependencies','transformIMECache','Disposable','DependentOn','_updateURLWithCurrentState','handleInsertRow','BuiltInUIPart','translate(.97)','cursorInfo$','@univerjs/engine-render','_localStorageService','_configService','_urlService','UNIVER_DOC','displayName','_localeService','filter','jsx','_roomMembers$','pushState','tag','YUUMI_NO_CUBOID_FOR_QUESTION','makeDirty','onMouseMove','_entities','IRenderManagerService','deserializeRangeWithSheet','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','selection','_collabCursorController','mergeOverrideWithDependencies','_assignedColors','_disabled','YUUMI_ALL_TABLES_IS_INVALID','DeleteRangeMoveUpCommandId','red300','createSocket','_labelPosition','IImageIoService','_saveCache','delete','fill','Failed','row','clearTimeout','AWAITING_WITH_PENDING','getMember','_collaborationController','SUBMIT_CHANGESET_TIMEOUT','_unitStatus','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','_config','RemoveColCommandId','replaceDocRanges','unit','YUUMI_URL_COL_OUT_OF_RANGE','currentSkeleton$','react/jsx-runtime','APPLY_REJECT','permission.title','add','_toggleOnline','transform','Shape','COLORS','roomMembers$','handleMoveRange','SetWorksheetActivateCommand','executeCommand','_setupSubUnitSync','saveOfflineData','generateRandomId','HTTPService','DesktopCollaborationStatusDisplayController','memberID','url(#on-line-single_clip0_910_349)','hasOwnProperty','getCollabEntity$','_handleHover','getOffsetConfig','LICENSE_EXPORT_SIZE_EXCEEDED','UNRECOGNIZED','defineProperty','mutations','popstate','_status$','Vector2','_context','Tools','onPointerEnter$','@univerjs/ui','entries','_removeCollabCursors','_draw','_session','_cursor','extend','_init','RxDisposable','SetSelectionsOperation','_scene','FromArray','subunit','collaboration.single-unit.warning','on-line-single','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','m2Prime','ILocalCacheService','YUUMI_UNABLE_LOAD_URL','getValue','_collaborationUIEventService','then','@univerjs-pro/collaboration','univer-text-red-500','_toggleOffline','addClipboardHook','data','_notificationService','createInstance','collabStatus.conflict','RevisionService','setTimeout','getSkeleton','_colorAssignService','send','SheetsSelectionsService','INVITE_CODE_REQUIRED','transformMutation','disposeWithMe','_anchorDot','DeleteRangeMoveLeftCommandId','invokeId','engine','UniverInstanceType','resize','runId','INVITE_CODE_ALREADY_BOUND','UPDATE_CURSOR','YUUMI_SUBSCRIPTION_NOT_FOUND','_id','history','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','ColorKit','getUnitId','_memberService','_ensureSubject','useCallback','Inject','round','toString','NOT_FOUND','startColumn','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','collab-text-range-','apply','attrs','assignAColorForMemberID','call','subscribeEvent','getSheetObject','OTHER_CLIENT_EDITING','BrowserCollaborationSocketService','INotificationService','_drawTextRange','_drawAnchor','selections','_heartbeatTimer','addEventListener','doc.mutation.rich-text-editing','subscribe','ACTIVE_UNIT_EVENT_CHANNEL','_docStateChangeManagerService','application/json','DocIMEInputManagerService','getSheetBySheetId','length','_hovered','from','complete','_syncEditingCollabCursorService','subUnitId','getSheetId','getStateCache','collab-text-anchor-','UniverIcon','_transformService','CollaborationDataLoaderController','7yqqeft','push','CollaborationUIEventId','flatMap','15OLJert','getConfig','override','getLocalCacheKey','gold400','InsertRowCommandId','_initEvent','toRgbString','_lastPointer','getColor','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','with','_send','_entityInit$','LOCAL_CACHE_INTERVAL','getRenderById','1296gunulY','uni.network.url-service','requireSession','useObservable','onPointerMove$','CHANGESET_REVISION_CONFILICT','next','_revisionService','registerBeforeClose','bottom','NO_OTHER_CLIENTS_EDITING','_uiPartsService','RECT','_messageService','getFocusedUnit','SheetSkeletonManagerService','dispose','_render','_cursorShapes','_anchor','VIEW_MAIN','wsSessionTicketUrl','throttleTime','MUTATION','IBeforeCloseService','_beforeCloseService','sheetId','YUUMI_AI_RUN_FAILED','_getSheetObject','JOIN_ROOM_FAILED','jiqing500','url(#$1','storage','div','propertyIsEnumerable','concat','EffectRefRangId','_unitOnClients','shareReplay','Rect','getUndoRedoMutationParamsCache','_onCursorDelete','_online','params','setShapeProps','ICommandService','takeUntil','setInterval','assign','substring','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','search','dispose$','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','Warning','_initResize','ranges','Subject','DocStateChangeManagerService','WebBrowserSingleActiveUnitService','asObservable','measureText','_getScale','_scheduleHeartbeat','_initStatusListener','error','sessionTicket','black','APPLY_NON_SEQUENTIAL_REVISION','activeSheet$','enableLocalCache','_updateLocalCursor','show','getParam','removeParam','unsubscribe','drawWith','getTypeOfUnitDisposed$','has','_shapes','transformRemoteChangeset','15186DxqDiX','APPLY_PERMISSION_DENIED','saveImage','fromEvent','CollaborationStatus','session.will-retry','currentColor','none','IUniverInstanceService','SetDocZoomRatioOperation','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','univer-flex\x20univer-mr-2\x20univer-text-[20px]','init','mapTo','get','min','Injector','width','xlink:href','icon','registerComponent','ALREADY_EXISTS','@univerjs/design','_initStatusComponent','getViewport','_localCacheService','_collabSessionService','_hideTimer','disposeUnit','OTHER_CLIENTS_EDITING','YUUMI_ASYNCIO_CANCELLED','unitId','_docTransformSelectionsService','restore','_handleHeartbeatEvent','url(#off-line-single_clip0_910_343)','AWAITING','setItem','handleInsertRangeMoveDown','setActiveRange','collaboration-client-ui.config','_onCursorUpdate','className','_getSaveTimeout','_univerInstanceService','redoState','triggerDblclick','_docTransformIMECacheService','newValue','transformStateCache','ILocalStorageService','_getSessionTicket','jsxs','SessionStatus','text','@univerjs/core','backgroundColor','#fff','IURLService','fromEventSubject','registerRenderModule','_handleEvent','NodePositionConvertToCursor','Unknown\x20user','setAlpha','_onRefRangeChange','UniverCollaborationClientUIPlugin','_handleJoinEvent','closePath','Optional','UNDEFINED','arc','toStringTag','collabStatus.fetchMiss','@univerjs/network','height','getActiveRange','_refreshCollabCursors','RemoteUniscriptService','color','touchDependencies','m1Prime','_renderManagerService','Rectangle','_refRangeService','split','_setupBeforeClosingHandler','_startDocCollabCursor','getMergeData','serializeRangeWithSheet','parse','_logService','TEXT_RANGE_LAYER_INDEX','Plugin'];_0x2b06=function(){return _0x43838b;};return _0x2b06();}var Ze=Object[_0x3719c8(0x2b9)],Qe=(_0x458676,_0x187143,_0x4fe5f5,_0x289ca9)=>{const _0x421815=_0x3719c8;for(var _0x45da30=_0x289ca9>0x1?void 0x0:_0x289ca9?Ze(_0x187143,_0x4fe5f5):_0x187143,_0x110f41=_0x458676[_0x421815(0x1e4)]-0x1,_0x5c20d5;_0x110f41>=0x0;_0x110f41--)(_0x5c20d5=_0x458676[_0x110f41])&&(_0x45da30=_0x5c20d5(_0x45da30)||_0x45da30);return _0x45da30;},L=(_0x1d72d5,_0x5beabf)=>(_0x4a7f87,_0x538a9c)=>_0x5beabf(_0x4a7f87,_0x538a9c,_0x1d72d5);const et=0x12c,tt=0x64;let fe=class extends a[_0x3719c8(0x41d)]{constructor(_0x5c97b5,_0xb6c8eb,_0x4a9b60,_0x268525,_0x503daa,_0x2b56ce,_0x525891,_0x470cf0,_0x44f72c){const _0x4c7b15=_0x3719c8;super(),h(this,_0x4c7b15(0x22e),!0x1),h(this,_0x4c7b15(0x41c),!0x1),h(this,_0x4c7b15(0x3a3),new d[(_0x4c7b15(0x347))](new Map())),h(this,_0x4c7b15(0x3c3),this[_0x4c7b15(0x3a3)][_0x4c7b15(0x240)]()),h(this,'_roomMembers$',new d['BehaviorSubject']([])),h(this,_0x4c7b15(0x3fc),this[_0x4c7b15(0x3cd)][_0x4c7b15(0x37b)](d[_0x4c7b15(0x35a)](et))),h(this,_0x4c7b15(0x24b),a[_0x4c7b15(0x343)](_0x3f6338=>{const _0x44a8d3=_0x4c7b15,_0x45235c={'eventID':m[_0x44a8d3(0x312)][_0x44a8d3(0x444)],'data':{'unitID':this[_0x44a8d3(0x30e)],'memberID':this[_0x44a8d3(0x419)]['getMemberID'](),'selection':Pe(_0x3f6338)}};this[_0x44a8d3(0x419)]['send'](_0x45235c,this[_0x44a8d3(0x30e)]);},tt)),(this['unitID']=_0x5c97b5,this[_0x4c7b15(0x419)]=_0xb6c8eb,this[_0x4c7b15(0x350)]=_0x4a9b60,this[_0x4c7b15(0x436)]=_0x268525,this[_0x4c7b15(0x44b)]=_0x503daa,this['_syncEditingCollabCursorService']=_0x2b56ce,this['_transformService']=_0x525891,this[_0x4c7b15(0x281)]=_0x470cf0,this[_0x4c7b15(0x3a7)]=_0x44f72c);}get[_0x3719c8(0x391)](){const _0x145ad1=_0x3719c8;return this[_0x145ad1(0x3a3)][_0x145ad1(0x428)]();}get[_0x3719c8(0x2c0)](){const _0x4f09ab=_0x3719c8;return this['_roomMembers$'][_0x4f09ab(0x428)]();}[_0x3719c8(0x214)](){const _0x15bc0a=_0x3719c8;super['dispose'](),this[_0x15bc0a(0x3a3)][_0x15bc0a(0x20a)](new Map()),this[_0x15bc0a(0x3a3)][_0x15bc0a(0x1e7)](),this[_0x15bc0a(0x3cd)]['next']([]),this[_0x15bc0a(0x3cd)][_0x15bc0a(0x1e7)]();}[_0x3719c8(0x261)](){const _0x1f498f=_0x3719c8;this['_init']||(this[_0x1f498f(0x41c)]=!0x0,this['_session']['sessionStatus$'][_0x1f498f(0x37b)](d[_0x1f498f(0x232)](this[_0x1f498f(0x238)]))[_0x1f498f(0x1de)](_0xf4957f=>{const _0x474c59=_0x1f498f;_0xf4957f===u[_0x474c59(0x28a)][_0x474c59(0x358)]?this[_0x474c59(0x3f8)]():this[_0x474c59(0x42d)]();}),this[_0x1f498f(0x419)][_0x1f498f(0x2be)][_0x1f498f(0x37b)](d[_0x1f498f(0x232)](this['dispose$']))['subscribe'](_0x4a0f43=>{const _0x2ad77b=_0x1f498f,_0x371ac5=_0x4a0f43[_0x2ad77b(0x373)];_0x371ac5===m[_0x2ad77b(0x312)][_0x2ad77b(0x444)]&&this['_onCursorUpdate'](_0x4a0f43),_0x371ac5===m[_0x2ad77b(0x312)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x4a0f43);}),this[_0x1f498f(0x43b)](this[_0x1f498f(0x3a7)][_0x1f498f(0x2b8)](_0x35eac9=>{const _0x35d2ec=_0x1f498f,_0x514e09=_0x35eac9['params'];_0x514e09!=null&&this['_online']&&_0x35eac9['id']===F[_0x35d2ec(0x375)]['id']&&_0x514e09[_0x35d2ec(0x274)]===this['unitID']&&_0x514e09[_0x35d2ec(0x303)]===!0x1&&_0x514e09[_0x35d2ec(0x23c)][_0x35d2ec(0x1e4)]>0x0&&this[_0x35d2ec(0x24b)](_0x514e09['ranges']);})),this[_0x1f498f(0x1e8)][_0x1f498f(0x333)][_0x1f498f(0x37b)](d[_0x1f498f(0x232)](this[_0x1f498f(0x238)]))[_0x1f498f(0x1de)](_0x4e10d5=>{const _0x1c6c47=_0x1f498f;if((_0x4e10d5==null?void 0x0:_0x4e10d5[_0x1c6c47(0x30e)])!==this['unitID'])return;const _0x40e0b1={'eventID':m[_0x1c6c47(0x312)][_0x1c6c47(0x444)],'data':_0x4e10d5};this['_onCursorUpdate'](_0x40e0b1);}),this[_0x1f498f(0x43b)](this[_0x1f498f(0x3a7)]['onCommandExecuted'](_0x5a7481=>{const _0x57af1f=_0x1f498f;if(_0x5a7481[_0x57af1f(0x22f)]==null)return;const _0x32bdbe=_0x5a7481[_0x57af1f(0x22f)];if(_0x5a7481['id']!==F[_0x57af1f(0x341)]['id']||_0x32bdbe[_0x57af1f(0x274)]!==this[_0x57af1f(0x30e)])return;const _0x5accaa={'id':_0x57af1f(0x1dd),'params':_0x32bdbe},_0x508f71=this['cursorInfo'];for(const [_0x3b996f,_0x487ade]of _0x508f71){const _0x570ebf={'id':_0x57af1f(0x1dd),'params':{'unitId':this[_0x57af1f(0x30e)],'actions':null,'textRanges':_0x487ade[_0x57af1f(0x23c)]}},_0x1d08fd=this[_0x57af1f(0x1ee)][_0x57af1f(0x43a)](_0x5accaa,_0x570ebf,!0x1);if(m[_0x57af1f(0x2d4)](_0x1d08fd))throw _0x1d08fd['error'];_0x508f71[_0x57af1f(0x2e3)](_0x3b996f,{..._0x487ade,'ranges':_0x1d08fd[_0x57af1f(0x425)][_0x57af1f(0x22f)][_0x57af1f(0x321)]});}queueMicrotask(()=>{const _0x221b07=_0x57af1f;this[_0x221b07(0x3a3)][_0x221b07(0x20a)](_0x508f71);});})));}['_onCursorUpdate'](_0x3dece9){const _0x2732fc=_0x3719c8;var _0x2a7c60,_0x16f46c;const {memberID:_0x35a9e0,selection:_0x31b82d}=_0x3dece9['data'],_0xff4970=Je(_0x31b82d),_0x226cb1=(_0x16f46c=(_0x2a7c60=this['_memberService'][_0x2732fc(0x3e9)](this[_0x2732fc(0x30e)],_0x35a9e0))==null?void 0x0:_0x2a7c60['name'])!=null?_0x16f46c:_0x2732fc(0x294),_0x1a34ec={'color':this[_0x2732fc(0x436)]['assignAColorForMemberID'](_0x35a9e0),'name':_0x226cb1,'ranges':_0xff4970},_0xabc0aa=this[_0x2732fc(0x391)];_0xabc0aa['set'](_0x35a9e0,_0x1a34ec),this[_0x2732fc(0x3a3)][_0x2732fc(0x20a)](_0xabc0aa);}[_0x3719c8(0x22d)](_0x12510d){const _0x3137ce=_0x3719c8,{memberID:_0x47c31a}=_0x12510d[_0x3137ce(0x42f)],_0x2d5385=this[_0x3137ce(0x391)];_0x2d5385['delete'](_0x47c31a),this[_0x3137ce(0x3a3)][_0x3137ce(0x20a)](_0x2d5385);}[_0x3719c8(0x3f8)](){const _0x5ea329=_0x3719c8;var _0x50c0c5;if(this[_0x5ea329(0x22e)]=!0x0,((_0x50c0c5=this['_univerInstanceService'][_0x5ea329(0x212)]())==null?void 0x0:_0x50c0c5[_0x5ea329(0x44a)]())!==this[_0x5ea329(0x30e)])return;const _0x317804=this[_0x5ea329(0x350)][_0x5ea329(0x263)](F['DocSelectionManagerService'])['getDocRanges']();Array[_0x5ea329(0x39e)](_0x317804)&&_0x317804[_0x5ea329(0x1e4)]>0x0&&this[_0x5ea329(0x24b)](_0x317804);}['_toggleOffline'](){const _0x38ddcc=_0x3719c8;this[_0x38ddcc(0x22e)]=!0x1;}};fe=Qe([L(0x2,a[_0x3719c8(0x44e)](a['Injector'])),L(0x3,a[_0x3719c8(0x44e)](me)),L(0x4,a[_0x3719c8(0x44e)](u[_0x3719c8(0x393)])),L(0x5,a[_0x3719c8(0x44e)](Ce)),L(0x6,m[_0x3719c8(0x354)]),L(0x7,a[_0x3719c8(0x25d)]),L(0x8,a[_0x3719c8(0x231)])],fe);var st=Object['getOwnPropertyDescriptor'],it=(_0x5cad00,_0x5c5248,_0x265f12,_0x49b4a2)=>{const _0x2d8770=_0x3719c8;for(var _0x1e79f2=_0x49b4a2>0x1?void 0x0:_0x49b4a2?st(_0x5c5248,_0x265f12):_0x5c5248,_0x5814b9=_0x5cad00[_0x2d8770(0x1e4)]-0x1,_0xa9062d;_0x5814b9>=0x0;_0x5814b9--)(_0xa9062d=_0x5cad00[_0x5814b9])&&(_0x1e79f2=_0xa9062d(_0x1e79f2)||_0x1e79f2);return _0x1e79f2;},w=(_0x4682c3,_0x2489da)=>(_0x572050,_0x388e7d)=>_0x2489da(_0x572050,_0x388e7d,_0x4682c3);const nt=0x12c,rt=0x64,ot=()=>{let _0x19f63e=[],_0x3eabc9=!0x1;return _0x3ae8b6=>{_0x19f63e['push'](_0x3ae8b6),_0x3eabc9||(_0x3eabc9=!0x0,setTimeout(()=>{const _0x1226a0=_0x169d;_0x19f63e[_0x1226a0(0x348)](_0x46f781=>_0x46f781()),_0x19f63e=[],_0x3eabc9=!0x1;}));};};let Se=class extends a[_0x3719c8(0x41d)]{constructor(_0x800309,_0x14b578,_0x29ba55,_0x3f8794,_0x2cfb55,_0x277c5d,_0x1009d8,_0x58e595){const _0x6d8547=_0x3719c8;super(),h(this,_0x6d8547(0x22e),!0x1),h(this,_0x6d8547(0x41c),!0x1),h(this,'_cursorInfo$',new d[(_0x6d8547(0x347))](new Map())),h(this,_0x6d8547(0x3c3),this[_0x6d8547(0x3a3)]['asObservable']()),h(this,_0x6d8547(0x3cd),new d['BehaviorSubject']([])),h(this,_0x6d8547(0x3fc),this['_roomMembers$']['pipe'](d[_0x6d8547(0x35a)](nt))),h(this,'_updateLocalCursor',a['debounce']((_0x4025cd,_0x53416e)=>{const _0x43f919=_0x6d8547,_0x2989df={'eventID':m[_0x43f919(0x312)][_0x43f919(0x444)],'data':{'unitID':this[_0x43f919(0x30e)],'memberID':this[_0x43f919(0x419)][_0x43f919(0x376)](),'selection':Ee[_0x43f919(0x2ae)](_0x4025cd,_0x53416e[_0x43f919(0x385)])}};this[_0x43f919(0x419)][_0x43f919(0x437)](_0x2989df,this[_0x43f919(0x30e)]);},rt)),(this[_0x6d8547(0x30e)]=_0x800309,this[_0x6d8547(0x419)]=_0x14b578,this[_0x6d8547(0x350)]=_0x29ba55,this[_0x6d8547(0x436)]=_0x3f8794,this['_memberService']=_0x2cfb55,this[_0x6d8547(0x281)]=_0x277c5d,this[_0x6d8547(0x3a7)]=_0x1009d8,this[_0x6d8547(0x2a9)]=_0x58e595);}get['cursorInfo'](){const _0x51ed83=_0x3719c8;return this[_0x51ed83(0x3a3)]['getValue']();}get[_0x3719c8(0x2c0)](){const _0x18396e=_0x3719c8;return this[_0x18396e(0x3cd)][_0x18396e(0x428)]();}['dispose'](){const _0x933503=_0x3719c8;super[_0x933503(0x214)](),this['_cursorInfo$']['next'](new Map()),this[_0x933503(0x3a3)][_0x933503(0x1e7)](),this[_0x933503(0x3cd)][_0x933503(0x20a)]([]),this['_roomMembers$']['complete']();}[_0x3719c8(0x261)](){const _0x7d8fe1=_0x3719c8;this[_0x7d8fe1(0x41c)]||(this[_0x7d8fe1(0x41c)]=!0x0,this[_0x7d8fe1(0x419)]['sessionStatus$'][_0x7d8fe1(0x37b)](d[_0x7d8fe1(0x232)](this[_0x7d8fe1(0x238)]))[_0x7d8fe1(0x1de)](_0x4f1eb7=>{const _0x446d36=_0x7d8fe1;_0x4f1eb7===u[_0x446d36(0x28a)][_0x446d36(0x358)]?this[_0x446d36(0x3f8)]():this['_toggleOffline']();}),this['_session']['event$'][_0x7d8fe1(0x37b)](d[_0x7d8fe1(0x232)](this[_0x7d8fe1(0x238)]))[_0x7d8fe1(0x1de)](_0x401a67=>{const _0x4e5960=_0x7d8fe1,_0x54ab03=_0x401a67['eventID'];_0x54ab03===m[_0x4e5960(0x312)][_0x4e5960(0x444)]&&this['_onCursorUpdate'](_0x401a67),_0x54ab03===m[_0x4e5960(0x312)][_0x4e5960(0x331)]&&this['_onCursorDelete'](_0x401a67);}),this[_0x7d8fe1(0x296)](),this[_0x7d8fe1(0x43b)](this[_0x7d8fe1(0x3a7)][_0x7d8fe1(0x2b8)](_0x2c8444=>{const _0x289809=_0x7d8fe1;if(this['_online']&&_0x2c8444['id']===g[_0x289809(0x41e)]['id']&&_0x2c8444['params'][_0x289809(0x274)]===this[_0x289809(0x30e)]){const _0x153785=_0x2c8444[_0x289809(0x22f)];this[_0x289809(0x24b)](_0x153785[_0x289809(0x1e9)],_0x153785[_0x289809(0x1da)][0x0]);}})));}[_0x3719c8(0x27e)](_0x1d38a4){const _0x20af81=_0x3719c8;var _0x2fcd9e,_0x356ace;const {memberID:_0x2f9bea,selection:_0x388993}=_0x1d38a4[_0x20af81(0x42f)],{sheetName:_0x28a9c9,range:_0xff9e23}=Ee[_0x20af81(0x3d5)](_0x388993),_0x54838f={'name':(_0x356ace=(_0x2fcd9e=this[_0x20af81(0x44b)]['getMember'](this[_0x20af81(0x30e)],_0x2f9bea))==null?void 0x0:_0x2fcd9e['name'])!=null?_0x356ace:_0x20af81(0x294),'range':this['_getMergeRange'](_0x28a9c9,_0xff9e23),'sheetID':_0x28a9c9,'color':this[_0x20af81(0x436)][_0x20af81(0x1d1)](_0x2f9bea),'selection':_0x388993},_0xffdd1d=this[_0x20af81(0x391)];_0xffdd1d[_0x20af81(0x2e3)](_0x2f9bea,_0x54838f),this[_0x20af81(0x3a3)]['next'](_0xffdd1d);}[_0x3719c8(0x22d)](_0x30d69c){const _0x11972c=_0x3719c8,{memberID:_0x1659eb}=_0x30d69c[_0x11972c(0x42f)],_0x250aa3=this[_0x11972c(0x391)];_0x250aa3[_0x11972c(0x3e3)](_0x1659eb),this[_0x11972c(0x3a3)][_0x11972c(0x20a)](_0x250aa3);}['_getMergeRange'](_0x4bbc0b,_0x42a7f7){const _0x397fee=_0x3719c8;var _0x1ee2b3,_0x8a3a4f;const _0xa8198a=(_0x8a3a4f=(_0x1ee2b3=this[_0x397fee(0x281)]['getUniverSheetInstance'](this[_0x397fee(0x30e)]))==null?void 0x0:_0x1ee2b3[_0x397fee(0x1e3)](_0x4bbc0b))==null?void 0x0:_0x8a3a4f[_0x397fee(0x2ad)]();return(_0xa8198a==null?void 0x0:_0xa8198a[_0x397fee(0x32b)](_0x2435d6=>a[_0x397fee(0x2a8)]['contains'](_0x2435d6,_0x42a7f7)))||_0x42a7f7;}[_0x3719c8(0x296)](){const _0x56304d=_0x3719c8,_0x42535a=new a['DisposableCollection'](),_0x5bdee5=ot(),_0x535a80=()=>{const _0x31a7aa=_0x169d;_0x42535a[_0x31a7aa(0x214)]();const _0x250edd=(_0x3691a2,_0xaeee68,_0x394dc8,_0xde908c)=>{const _0x2ce254=_0x31a7aa;let _0x2399d4=[];switch(_0x3691a2['id']){case g[_0x2ce254(0x228)][_0x2ce254(0x43d)]:{_0x2399d4=g[_0x2ce254(0x2e4)](_0x3691a2,_0xde908c);break;}case g[_0x2ce254(0x228)][_0x2ce254(0x3dd)]:{_0x2399d4=g[_0x2ce254(0x31e)](_0x3691a2,_0xde908c);break;}case g[_0x2ce254(0x228)]['InsertColCommandId']:{_0x2399d4=g[_0x2ce254(0x2db)](_0x3691a2,_0xde908c);break;}case g[_0x2ce254(0x228)]['InsertRangeMoveDownCommandId']:{_0x2399d4=g[_0x2ce254(0x27b)](_0x3691a2,_0xde908c);break;}case g[_0x2ce254(0x228)]['InsertRangeMoveRightCommandId']:{_0x2399d4=g[_0x2ce254(0x3b4)](_0x3691a2,_0xde908c);break;}case g['EffectRefRangId'][_0x2ce254(0x1f9)]:{_0x2399d4=g[_0x2ce254(0x3c0)](_0x3691a2,_0xde908c);break;}case g[_0x2ce254(0x228)]['MoveRangeCommandId']:{_0x2399d4=g[_0x2ce254(0x3fd)](_0x3691a2,_0xde908c);break;}case g[_0x2ce254(0x228)][_0x2ce254(0x3ef)]:{_0x2399d4=g[_0x2ce254(0x394)](_0x3691a2,_0xde908c);break;}case g[_0x2ce254(0x228)][_0x2ce254(0x300)]:{_0x2399d4=g[_0x2ce254(0x2ca)](_0x3691a2,_0xde908c);break;}}const _0x4f8165=g[_0x2ce254(0x36c)](_0x2399d4,_0xde908c),_0x449c7f=this[_0x2ce254(0x391)][_0x2ce254(0x263)](_0xaeee68);if(_0x449c7f&&_0x4f8165){const _0x400a10={..._0x449c7f,'range':_0x4f8165};this[_0x2ce254(0x391)]['set'](_0xaeee68,_0x400a10),_0x5bdee5(()=>{const _0x387a36=_0x2ce254,_0x25182d=this[_0x387a36(0x2a9)][_0x387a36(0x319)](_0x4f8165,_0x1ac708=>(_0x25182d[_0x387a36(0x214)](),_0x250edd(_0x1ac708,_0xaeee68,_0x394dc8,_0x4f8165)));_0x42535a[_0x387a36(0x3f7)](_0x25182d);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x31a7aa(0x348)]((_0x5ab23f,_0x5d8476)=>{const _0x3e2c5d=_0x31a7aa,{range:_0x270d1c,sheetID:_0x3cfb9e}=_0x5ab23f,_0x31b214=this['_refRangeService']['registerRefRange'](_0x270d1c,_0x484bc8=>(_0x31b214[_0x3e2c5d(0x214)](),_0x250edd(_0x484bc8,_0x5d8476,_0x3cfb9e,_0x270d1c)));_0x42535a[_0x3e2c5d(0x3f7)](_0x31b214);});};this[_0x56304d(0x43b)](a['toDisposable'](this[_0x56304d(0x3a3)][_0x56304d(0x1de)](()=>{_0x535a80();})));}[_0x3719c8(0x3f8)](){const _0x21af46=_0x3719c8;var _0x33f72a,_0x517d99;if(this[_0x21af46(0x22e)]=!0x0,((_0x33f72a=this[_0x21af46(0x281)][_0x21af46(0x212)]())==null?void 0x0:_0x33f72a['getUnitId']())!==this[_0x21af46(0x30e)])return;const _0x5028bd=(_0x517d99=this[_0x21af46(0x350)]['get'](g[_0x21af46(0x438)])[_0x21af46(0x38a)]())==null?void 0x0:_0x517d99[0x0],_0xc0a77=this[_0x21af46(0x281)][_0x21af46(0x2f1)](a[_0x21af46(0x440)][_0x21af46(0x2cd)])['getActiveSheet']();_0x5028bd&&_0xc0a77&&this[_0x21af46(0x24b)](_0xc0a77[_0x21af46(0x1ea)](),_0x5028bd);}[_0x3719c8(0x42d)](){this['_online']=!0x1;}};Se=it([w(0x2,a[_0x3719c8(0x44e)](a[_0x3719c8(0x265)])),w(0x3,a[_0x3719c8(0x44e)](me)),w(0x4,a[_0x3719c8(0x44e)](u[_0x3719c8(0x393)])),w(0x5,a[_0x3719c8(0x25d)]),w(0x6,a['ICommandService']),w(0x7,a['Inject'](g[_0x3719c8(0x2da)]))],Se);var at=Object[_0x3719c8(0x2b9)],ct=(_0x3338e4,_0x2becca,_0x366350,_0x32240e)=>{const _0x4d0257=_0x3719c8;for(var _0x27ae5e=_0x32240e>0x1?void 0x0:_0x32240e?at(_0x2becca,_0x366350):_0x2becca,_0x38ef20=_0x3338e4[_0x4d0257(0x1e4)]-0x1,_0x47cd84;_0x38ef20>=0x0;_0x38ef20--)(_0x47cd84=_0x3338e4[_0x38ef20])&&(_0x27ae5e=_0x47cd84(_0x27ae5e)||_0x27ae5e);return _0x27ae5e;},ie=(_0xffacd8,_0x30b759)=>(_0x551e5e,_0x4f8120)=>_0x30b759(_0x551e5e,_0x4f8120,_0xffacd8);let x=class extends a[_0x3719c8(0x41d)]{constructor(_0x40dd4d,_0x4572ad,_0x2360c6){const _0x373d2c=_0x3719c8;super(),h(this,_0x373d2c(0x3d3),new Map()),h(this,'_entityInit$',new d[(_0x373d2c(0x23d))]()),(this[_0x373d2c(0x281)]=_0x40dd4d,this[_0x373d2c(0x350)]=_0x4572ad,this[_0x373d2c(0x26f)]=_0x2360c6,this['_init']());}[_0x3719c8(0x214)](){const _0x43b7bd=_0x3719c8;super['dispose'](),this[_0x43b7bd(0x201)][_0x43b7bd(0x1e7)](),this[_0x43b7bd(0x3d3)][_0x43b7bd(0x348)](_0x572cdd=>_0x572cdd[_0x43b7bd(0x214)]());}[_0x3719c8(0x2d9)](_0x44f8ef){const _0x488e5c=_0x3719c8;return this[_0x488e5c(0x3d3)][_0x488e5c(0x252)](_0x44f8ef)?this[_0x488e5c(0x3d3)][_0x488e5c(0x263)](_0x44f8ef)[_0x488e5c(0x3c3)]:this[_0x488e5c(0x201)][_0x488e5c(0x37b)](d[_0x488e5c(0x3cb)](_0xdfc8f2=>_0xdfc8f2['unitID']===_0x44f8ef),d[_0x488e5c(0x34d)](_0xa3d97a=>_0xa3d97a[_0x488e5c(0x3c3)]));}[_0x3719c8(0x41c)](){const _0x3e347f=_0x3719c8;this[_0x3e347f(0x281)]['getTypeOfUnitAdded$'](a[_0x3e347f(0x440)][_0x3e347f(0x2cd)])[_0x3e347f(0x37b)](d['takeUntil'](this[_0x3e347f(0x238)]))[_0x3e347f(0x1de)](async _0x322840=>{const _0xdaabd1=_0x3e347f,_0x40c4e=_0x322840[_0xdaabd1(0x44a)](),_0x8edc82=await this[_0xdaabd1(0x315)](_0x40c4e);this[_0xdaabd1(0x201)][_0xdaabd1(0x20a)](_0x8edc82),this['_entities'][_0xdaabd1(0x2e3)](_0x40c4e,_0x8edc82);}),this[_0x3e347f(0x281)][_0x3e347f(0x320)](a[_0x3e347f(0x440)][_0x3e347f(0x3c8)])[_0x3e347f(0x37b)](d[_0x3e347f(0x232)](this['dispose$']))[_0x3e347f(0x37b)](d[_0x3e347f(0x3cb)](_0x231484=>!_0x231484[_0x3e347f(0x44a)]()['startsWith']('__')))['subscribe'](async _0x9cdba5=>{const _0x28b10d=_0x3e347f,_0x1188bd=_0x9cdba5[_0x28b10d(0x44a)](),_0x52e490=await this[_0x28b10d(0x2ac)](_0x1188bd);this['_entityInit$'][_0x28b10d(0x20a)](_0x52e490),this[_0x28b10d(0x3d3)][_0x28b10d(0x2e3)](_0x1188bd,_0x52e490);}),d[_0x3e347f(0x33e)](this['_univerInstanceService'][_0x3e347f(0x251)](a[_0x3e347f(0x440)][_0x3e347f(0x3c8)]),this[_0x3e347f(0x281)][_0x3e347f(0x251)](a[_0x3e347f(0x440)][_0x3e347f(0x2cd)]))[_0x3e347f(0x37b)](d[_0x3e347f(0x232)](this['dispose$']))['subscribe'](_0x5d4637=>{const _0x5f43d9=_0x3e347f,_0x5139c0=_0x5d4637['getUnitId'](),_0x40a2a6=this[_0x5f43d9(0x3d3)]['get'](_0x5139c0);_0x40a2a6&&(_0x40a2a6[_0x5f43d9(0x214)](),this[_0x5f43d9(0x3d3)][_0x5f43d9(0x3e3)](_0x5139c0));});}async[_0x3719c8(0x315)](_0x447884){const _0x5df5b9=_0x3719c8,_0x399ed0=await this[_0x5df5b9(0x26f)][_0x5df5b9(0x206)](_0x447884),_0x209582=this[_0x5df5b9(0x350)][_0x5df5b9(0x431)](Se,_0x447884,_0x399ed0);return _0x209582[_0x5df5b9(0x261)](),_0x209582;}async[_0x3719c8(0x2ac)](_0x1aefc6){const _0x210367=_0x3719c8,_0x122d23=await this[_0x210367(0x26f)][_0x210367(0x206)](_0x1aefc6),_0x4c205d=this[_0x210367(0x350)][_0x210367(0x431)](fe,_0x1aefc6,_0x122d23);return _0x4c205d['init'](),_0x4c205d;}};x=ct([ie(0x0,a[_0x3719c8(0x25d)]),ie(0x1,a[_0x3719c8(0x44e)](a[_0x3719c8(0x265)])),ie(0x2,a[_0x3719c8(0x44e)](u[_0x3719c8(0x362)]))],x);const K=0x14,Re=0xc8,ne=0x4,lt=0x5;function _t(_0x40e02f,_0x453cb8){const _0x184a8c=_0x3719c8;let {radius:_0x2aeb3f,width:_0x59ddf5,height:_0x275f1c}=_0x453cb8;_0x2aeb3f=_0x2aeb3f!=null?_0x2aeb3f:0x0,_0x59ddf5=_0x59ddf5!=null?_0x59ddf5:0x1e,_0x275f1c=_0x275f1c!=null?_0x275f1c:0x1e;let _0x2b3e60=0x0,_0x4978d0=0x0,_0x3f3b91=0x0;_0x2b3e60=_0x4978d0=_0x3f3b91=Math[_0x184a8c(0x264)](_0x2aeb3f,_0x59ddf5/0x2,_0x275f1c/0x2),_0x40e02f['beginPath'](),_0x40e02f['moveTo'](_0x2b3e60,0x0),_0x40e02f['lineTo'](_0x59ddf5-_0x4978d0,0x0),_0x40e02f[_0x184a8c(0x29c)](_0x59ddf5-_0x4978d0,_0x4978d0,_0x4978d0,Math['PI']*0x3/0x2,0x0,!0x1),_0x40e02f[_0x184a8c(0x326)](_0x59ddf5,_0x275f1c-_0x3f3b91),_0x40e02f[_0x184a8c(0x29c)](_0x59ddf5-_0x3f3b91,_0x275f1c-_0x3f3b91,_0x3f3b91,0x0,Math['PI']/0x2,!0x1),_0x40e02f[_0x184a8c(0x326)](0x0,_0x275f1c),_0x40e02f[_0x184a8c(0x326)](0x0,_0x2b3e60),_0x40e02f['arc'](_0x2b3e60,_0x2b3e60,_0x2b3e60,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x40e02f[_0x184a8c(0x299)](),_0x453cb8['fill']&&(_0x40e02f[_0x184a8c(0x31a)](),_0x40e02f[_0x184a8c(0x33a)]=_0x453cb8['fill'],_0x453cb8['fillRule']===_0x184a8c(0x2bf)?_0x40e02f[_0x184a8c(0x3e4)](_0x184a8c(0x2bf)):_0x40e02f[_0x184a8c(0x3e4)](),_0x40e02f[_0x184a8c(0x276)]());}function _0x169d(_0x715826,_0x3c5206){const _0x2b0619=_0x2b06();return _0x169d=function(_0x169d9b,_0x497e33){_0x169d9b=_0x169d9b-0x1c9;let _0x2b7106=_0x2b0619[_0x169d9b];return _0x2b7106;},_0x169d(_0x715826,_0x3c5206);}class ee extends p[_0x3719c8(0x3fa)]{constructor(_0x5e85fd,_0x16bdc3){const _0x1ff7a1=_0x3719c8;super(_0x5e85fd,_0x16bdc3),h(this,_0x1ff7a1(0x2a4)),h(this,_0x1ff7a1(0x28b)),(this[_0x1ff7a1(0x2a4)]=_0x16bdc3==null?void 0x0:_0x16bdc3[_0x1ff7a1(0x2a4)],this[_0x1ff7a1(0x28b)]=_0x16bdc3==null?void 0x0:_0x16bdc3['text']);}static[_0x3719c8(0x250)](_0x3b3f21,_0x1a9e8b){const _0x2c4fd2=_0x3719c8,{text:_0x60c1d0,color:_0x1f66dc}=_0x1a9e8b;_0x3b3f21['save'](),_0x3b3f21[_0x2c4fd2(0x308)]=_0x2c4fd2(0x1fe);const _0x38e5d7=_0x3b3f21[_0x2c4fd2(0x241)](_0x60c1d0)['width'],_0x1293d5=Math[_0x2c4fd2(0x264)](_0x38e5d7+0x2*ne,Re);_t(_0x3b3f21,{'height':K,'radius':0x4,'width':_0x1293d5,'fill':_0x1f66dc}),_0x3b3f21[_0x2c4fd2(0x33a)]=_0x2c4fd2(0x2d3);const _0x2a7b88=ne,_0xd843aa=K-lt,_0x4639bc=Re-0x2*ne;if(_0x38e5d7>_0x4639bc){let _0x4b3a39='',_0x2b97c3=0x0;for(const _0x32ddf4 of _0x60c1d0){const _0x542f54=_0x3b3f21['measureText'](_0x32ddf4)[_0x2c4fd2(0x266)];if(_0x2b97c3+_0x542f54<=_0x4639bc-_0x3b3f21[_0x2c4fd2(0x241)](_0x2c4fd2(0x332))[_0x2c4fd2(0x266)])_0x4b3a39+=_0x32ddf4,_0x2b97c3+=_0x542f54;else{_0x4b3a39+='...';break;}}_0x3b3f21['fillText'](_0x4b3a39,_0x2a7b88,_0xd843aa);}else _0x3b3f21[_0x2c4fd2(0x2e6)](_0x60c1d0,_0x2a7b88,_0xd843aa);_0x3b3f21[_0x2c4fd2(0x276)]();}[_0x3719c8(0x418)](_0x30e179){const _0x3defb2=_0x3719c8;ee[_0x3defb2(0x250)](_0x30e179,this);}}const re=_0x3719c8(0x1ec),ht=_0x3719c8(0x1ce),ut=_0x3719c8(0x322),k=0x6,dt=1.5,oe=0x4,ft=1.5,St='rgba(255,\x20255,\x20255,\x200.01)';class De{constructor(_0x318e88,_0x1b0c3d,_0x52813c,_0x50766a){const _0x12c7fb=_0x3719c8;h(this,_0x12c7fb(0x253),[]),h(this,_0x12c7fb(0x217),null),h(this,'_textBubble',null),h(this,'_anchorDot',null),h(this,'_hideTimer',null),h(this,_0x12c7fb(0x349),null),(this[_0x12c7fb(0x41a)]=_0x318e88,this[_0x12c7fb(0x41f)]=_0x1b0c3d,this['_docSkeleton']=_0x52813c,this[_0x12c7fb(0x2cf)]=_0x50766a,this[_0x12c7fb(0x215)]());}set[_0x3719c8(0x2f4)](_0x595be9){const _0xa95667=_0x3719c8;_0x595be9?(this[_0xa95667(0x43c)]&&this[_0xa95667(0x43c)][_0xa95667(0x35c)](),this[_0xa95667(0x3b7)]&&this[_0xa95667(0x3b7)][_0xa95667(0x24c)]()):(this[_0xa95667(0x43c)]&&this['_anchorDot']['show'](),this['_textBubble']&&this[_0xa95667(0x3b7)][_0xa95667(0x35c)]());}[_0x3719c8(0x214)](){const _0x2a1d9c=_0x3719c8;for(const _0x2b0abb of this['_shapes'])_0x2b0abb['dispose']();this['_textBubble']&&this[_0x2a1d9c(0x3b7)][_0x2a1d9c(0x214)](),this[_0x2a1d9c(0x43c)]&&this[_0x2a1d9c(0x43c)][_0x2a1d9c(0x214)](),this['_anchor']&&this['_anchor'][_0x2a1d9c(0x214)](),this[_0x2a1d9c(0x349)]&&this[_0x2a1d9c(0x349)]();}[_0x3719c8(0x215)](){const _0x53c134=_0x3719c8;var _0x5b40fa;const {_docSkeleton:_0x23f44d,_document:_0x3754f8}=this,{color:_0x504b91,name:_0x2d839c,ranges:_0x476b30}=this['_cursor'],_0x528d2d=_0x3754f8[_0x53c134(0x40a)](),{docsLeft:_0x2de3f3,docsTop:_0x5f023e}=_0x528d2d,_0x3d87f4=new b[(_0x53c134(0x293))](_0x528d2d,_0x23f44d);for(const {startOffset:_0x433049,endOffset:_0x3c2f37,rangeType:_0xc77c48,segmentId:_0x280f0e,segmentPage:_0x1e3d85,collapsed:_0x275f05,isActive:_0x5809b2}of _0x476b30){const _0x236f85=_0x23f44d['findNodePositionByCharIndex'](_0x433049,!0x0,_0x280f0e,_0x1e3d85);let _0x2d2c2c=_0x23f44d['findNodePositionByCharIndex'](_0x3c2f37,!0x0,_0x280f0e,_0x1e3d85);if(_0x2d2c2c==null&&(_0x2d2c2c=_0x23f44d['findNodePositionByCharIndex'](_0x3c2f37-0x1,!0x1,_0x280f0e,_0x1e3d85)),_0x5809b2){const {contentBoxPointGroup:_0x254fb2}=_0x3d87f4['getRangePointData'](_0x2d2c2c,_0x2d2c2c);if(_0x254fb2['length']===0x0)continue;this[_0x53c134(0x1d9)](_0x504b91,_0x254fb2,_0x2de3f3,_0x5f023e,_0x2d839c),this['_eventUnsubscribe']=this['_handleHover']();}if(_0x236f85&&_0x2d2c2c){if(_0xc77c48===a['DOC_RANGE_TYPE'][_0x53c134(0x210)]){const _0x356a6a=new b['NodePositionConvertToRectRange'](_0x528d2d,_0x23f44d),{pointGroup:_0x23a859}=(_0x5b40fa=_0x356a6a[_0x53c134(0x2d2)](_0x236f85,_0x2d2c2c))!=null?_0x5b40fa:{};if(_0x23a859==null||_0x23a859['length']===0x0)continue;this[_0x53c134(0x2c7)](_0x504b91,_0x23a859,_0x2de3f3,_0x5f023e);}else{if(!_0x275f05){const {borderBoxPointGroup:_0x270627}=_0x3d87f4[_0x53c134(0x2d2)](_0x236f85,_0x2d2c2c);if(_0x270627[_0x53c134(0x1e4)]===0x0)continue;this[_0x53c134(0x1d8)](_0x504b91,_0x270627,_0x2de3f3,_0x5f023e);}}}}}[_0x3719c8(0x1d9)](_0x777215,_0x386b4a,_0x3e5c93,_0x557dfb,_0x311798){const _0x115f19=_0x3719c8,_0xba2697=this[_0x115f19(0x305)](_0x386b4a),{left:_0xd768ea,top:_0x44ba93,height:_0x335a2e}=_0xba2697,_0x3b40c9=this[_0x115f19(0x242)](),_0x310036=ft/_0x3b40c9,_0xe3300b=new p[(_0x115f19(0x22b))](re+a[_0x115f19(0x413)]['generateRandomId'](k),{'left':_0xd768ea+_0x3e5c93-_0x310036,'top':_0x44ba93+_0x557dfb,'height':_0x335a2e,'width':dt,'fill':_0x777215||p[_0x115f19(0x1fd)](a[_0x115f19(0x3fb)][_0x115f19(0x247)],0x0),'strokeWidth':_0x310036,'stroke':St,'evented':!0x0});this[_0x115f19(0x217)]=_0xe3300b,this[_0x115f19(0x41f)][_0x115f19(0x311)](_0xe3300b,b[_0x115f19(0x2b1)]);const _0x376362=new p['Rect'](re+a[_0x115f19(0x413)]['generateRandomId'](k),{'left':_0xd768ea+_0x3e5c93-_0x310036,'top':_0x44ba93+_0x557dfb-oe/0x2,'height':oe,'width':oe,'fill':_0x777215||p[_0x115f19(0x1fd)](a[_0x115f19(0x3fb)][_0x115f19(0x247)],0x0),'strokeWidth':0x0,'stroke':_0x777215||p[_0x115f19(0x1fd)](a[_0x115f19(0x3fb)][_0x115f19(0x247)],0x0),'evented':!0x1});this[_0x115f19(0x43c)]=_0x376362,this[_0x115f19(0x41f)][_0x115f19(0x311)](_0x376362,b[_0x115f19(0x2b1)]);const _0x28fe59=new ee(re+a[_0x115f19(0x413)][_0x115f19(0x402)](k),{'left':_0xd768ea+_0x3e5c93-_0x310036,'top':_0x44ba93+_0x557dfb-K,'text':_0x311798,'color':_0x777215});this[_0x115f19(0x3b7)]=_0x28fe59,this[_0x115f19(0x41f)][_0x115f19(0x311)](_0x28fe59,b['TEXT_RANGE_LAYER_INDEX']),this[_0x115f19(0x2f4)]=!0x1;}[_0x3719c8(0x409)](){const _0x51e6e9=_0x3719c8,_0x5c3089=this['_anchor'][_0x51e6e9(0x414)]['subscribeEvent'](()=>{const _0x18ceb1=_0x51e6e9;this[_0x18ceb1(0x2f4)]=!0x0;}),_0x52dc04=this[_0x51e6e9(0x217)][_0x51e6e9(0x379)][_0x51e6e9(0x1d3)](()=>{const _0x52f67d=_0x51e6e9;this['_hideTimer']&&clearTimeout(this[_0x52f67d(0x270)]),this[_0x52f67d(0x270)]=setTimeout(()=>{const _0x3a54d4=_0x52f67d;this[_0x3a54d4(0x2f4)]=!0x1;},0x7d0);});return()=>{const _0x41c30a=_0x51e6e9;_0x5c3089[_0x41c30a(0x24f)](),_0x52dc04[_0x41c30a(0x24f)]();};}[_0x3719c8(0x1d8)](_0xd6a7e8,_0x5c4b45,_0x2854bc,_0x1fbef9){const _0xe60686=_0x3719c8,_0xed5194=new a['ColorKit'](_0xd6a7e8)[_0xe60686(0x295)](0.2)[_0xe60686(0x1fb)](),_0x9264a4=new p[(_0xe60686(0x2f9))](ht+a[_0xe60686(0x413)][_0xe60686(0x402)](k),{'pointsGroup':_0x5c4b45,'fill':_0xed5194||p[_0xe60686(0x1fd)](a[_0xe60686(0x3fb)][_0xe60686(0x247)],0.2),'left':_0x2854bc,'top':_0x1fbef9,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x9264a4),this[_0xe60686(0x41f)]['addObject'](_0x9264a4,b[_0xe60686(0x2b1)]);}[_0x3719c8(0x2c7)](_0x6d8e37,_0x1dded6,_0x19d490,_0x427c69){const _0x11d46f=_0x3719c8,_0x1be792=new a[(_0x11d46f(0x449))](_0x6d8e37)[_0x11d46f(0x295)](0.2)[_0x11d46f(0x1fb)](),_0x43343b=new p['RegularPolygon'](ut+a[_0x11d46f(0x413)]['generateRandomId'](k),{'pointsGroup':_0x1dded6,'fill':_0x1be792||p[_0x11d46f(0x1fd)](a[_0x11d46f(0x3fb)][_0x11d46f(0x247)],0.2),'left':_0x19d490,'top':_0x427c69,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x11d46f(0x253)][_0x11d46f(0x1f1)](_0x43343b),this[_0x11d46f(0x41f)][_0x11d46f(0x311)](_0x43343b,b[_0x11d46f(0x2b1)]);}[_0x3719c8(0x305)](_0x1b64a6){const _0x523f2d=_0x1b64a6[0x0],_0x2c4c84=_0x523f2d[0x0],_0x480601=_0x523f2d[0x2],{x:_0x1f4a9b,y:_0x3281eb}=_0x2c4c84,{x:_0x51897b,y:_0x2b3d61}=_0x480601;return{'left':_0x1f4a9b,'top':_0x3281eb,'width':_0x51897b-_0x1f4a9b,'height':_0x2b3d61-_0x3281eb};}['_getScale'](){const _0x2d7b30=_0x3719c8,{scaleX:_0x1e1b4c,scaleY:_0x231deb}=this[_0x2d7b30(0x41f)][_0x2d7b30(0x39b)]();return Math[_0x2d7b30(0x365)](_0x1e1b4c,_0x231deb);}}var It=Object[_0x3719c8(0x2b9)],vt=(_0x1c55cf,_0x25e012,_0x770ebf,_0x46f40d)=>{const _0x3793dc=_0x3719c8;for(var _0x17ebc4=_0x46f40d>0x1?void 0x0:_0x46f40d?It(_0x25e012,_0x770ebf):_0x25e012,_0x3c8f88=_0x1c55cf[_0x3793dc(0x1e4)]-0x1,_0x518754;_0x3c8f88>=0x0;_0x3c8f88--)(_0x518754=_0x1c55cf[_0x3c8f88])&&(_0x17ebc4=_0x518754(_0x17ebc4)||_0x17ebc4);return _0x17ebc4;},W=(_0x2f98ba,_0x1ef06c)=>(_0x35cca8,_0x99b87c)=>_0x1ef06c(_0x35cca8,_0x99b87c,_0x2f98ba);let Ie=class extends a['RxDisposable']{constructor(_0x368452,_0x1898d9,_0x16c825,_0xbb77ea,_0xd27ca4){const _0x2b635f=_0x3719c8;super(),h(this,_0x2b635f(0x216),[]),h(this,_0x2b635f(0x338),[]),(this[_0x2b635f(0x412)]=_0x368452,this[_0x2b635f(0x2b5)]=_0x1898d9,this['_collabCursorController']=_0x16c825,this[_0x2b635f(0x3a7)]=_0xbb77ea,this[_0x2b635f(0x36f)]=_0xd27ca4,this['_init']());}['_init'](){const _0x41c7ef=_0x3719c8,_0x4ada81=this[_0x41c7ef(0x412)]['unitId'],_0x2aa4e0=this['_docSkeletonManagerService'];this[_0x41c7ef(0x43b)](d[_0x41c7ef(0x2c1)]([this[_0x41c7ef(0x3d8)][_0x41c7ef(0x2d9)](_0x4ada81),this[_0x41c7ef(0x36f)]['currentTheme$']])[_0x41c7ef(0x37b)]($[_0x41c7ef(0x34b)](([_0x14d052,_0xcf9f41])=>({'skeleton':_0x2aa4e0[_0x41c7ef(0x435)](),'cursors':[..._0x14d052[_0x41c7ef(0x302)]()][_0x41c7ef(0x1f3)](_0x542698=>({..._0x542698,'color':_0xcf9f41[_0x542698[_0x41c7ef(0x2a4)]]}))})))[_0x41c7ef(0x1de)](_0x20d658=>{const _0x24317b=_0x41c7ef;if(this[_0x24317b(0x417)](),_0x20d658){const {skeleton:_0x3d7b88,cursors:_0x19c909}=_0x20d658;this[_0x24317b(0x2ea)](_0x3d7b88,_0x19c909);}})),this[_0x41c7ef(0x23b)](),this['_initCommandExecutedListener']();}[_0x3719c8(0x2ea)](_0x535c60,_0x3f6a81){const _0x51e287=_0x3719c8,{scene:_0x2df920,mainComponent:_0x433ae1}=this['_context'],_0x52ae4b=_0x3f6a81[_0x51e287(0x34b)](_0x5050a4=>new De(_0x5050a4,_0x2df920,_0x535c60,_0x433ae1));this['_cursorShapes']=_0x52ae4b,this['_cursors']=_0x3f6a81;}[_0x3719c8(0x2a2)](){const _0x18c5e4=_0x3719c8;this['_removeCollabCursors']();const {scene:_0x1c3d27,mainComponent:_0x1e9144}=this[_0x18c5e4(0x412)],_0x62b35b=this[_0x18c5e4(0x2b5)][_0x18c5e4(0x435)](),_0x443f04=this[_0x18c5e4(0x338)]['map'](_0x2eb5ee=>new De(_0x2eb5ee,_0x1c3d27,_0x62b35b,_0x1e9144));this[_0x18c5e4(0x216)]=_0x443f04;}['_removeCollabCursors'](){const _0x3c4dad=_0x3719c8;this[_0x3c4dad(0x216)][_0x3c4dad(0x348)](_0x220e35=>_0x220e35['dispose']()),this[_0x3c4dad(0x216)]=[];}[_0x3719c8(0x306)](){const _0x55b656=_0x3719c8,_0x3a8cc4=[b[_0x55b656(0x25e)]['id']];this[_0x55b656(0x43b)](this[_0x55b656(0x3a7)][_0x55b656(0x2b8)](_0x50524d=>{const _0x3d1399=_0x55b656;_0x3a8cc4['includes'](_0x50524d['id'])&&_0x50524d[_0x3d1399(0x22f)][_0x3d1399(0x274)]===this[_0x3d1399(0x412)]['unitId']&&this['_refreshCollabCursors']();}));}[_0x3719c8(0x23b)](){const _0x5c5067=_0x3719c8;this['disposeWithMe'](a[_0x5c5067(0x290)](this['_context'][_0x5c5067(0x43f)]['onTransformChange$'])['pipe']($[_0x5c5067(0x3cb)](_0x2e8b0a=>_0x2e8b0a[_0x5c5067(0x36d)]===p[_0x5c5067(0x32f)][_0x5c5067(0x441)]),$[_0x5c5067(0x21a)](0x10))[_0x5c5067(0x1de)](()=>{const _0x53eb48=_0x5c5067;this[_0x53eb48(0x2a2)]();}));}};Ie=vt([W(0x1,a['Inject'](F['DocSkeletonManagerService'])),W(0x2,a['Inject'](x)),W(0x3,a['ICommandService']),W(0x4,a['Inject'](a['ThemeService']))],Ie);const gt=0x1,mt=1.5;class Ae extends p[_0x3719c8(0x3fa)]{constructor(_0x55ad78,_0x195730){const _0x216a5e=_0x3719c8;super(_0x55ad78,_0x195730),h(this,'_color'),h(this,'_hovered',!0x1),h(this,_0x216a5e(0x2d1)),h(this,_0x216a5e(0x2bd),''),h(this,_0x216a5e(0x3e0),_0x216a5e(0x2fe)),h(this,_0x216a5e(0x359)),(_0x195730&&this['setShapeProps'](_0x195730),this[_0x216a5e(0x414)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this[_0x216a5e(0x230)]({'hovered':!0x1})));}['setShapeProps'](_0x37dee8){const _0x490fb4=_0x3719c8;var _0x40d71b,_0x4519bb,_0x5db4bf,_0x2db683,_0x53c427,_0x136540;this['_color']=(_0x40d71b=_0x37dee8[_0x490fb4(0x2a4)])!=null?_0x40d71b:this['_color'],this['_hovered']=(_0x4519bb=_0x37dee8['hovered'])!=null?_0x4519bb:this[_0x490fb4(0x1e5)],this[_0x490fb4(0x2d1)]=(_0x5db4bf=_0x37dee8[_0x490fb4(0x385)])!=null?_0x5db4bf:this[_0x490fb4(0x2d1)],this[_0x490fb4(0x2bd)]=(_0x2db683=_0x37dee8[_0x490fb4(0x37c)])!=null?_0x2db683:this['_name'],this[_0x490fb4(0x3e0)]=(_0x53c427=_0x37dee8['labelPosition'])!=null?_0x53c427:this['_labelPosition'],this[_0x490fb4(0x359)]=(_0x136540=_0x37dee8[_0x490fb4(0x28d)])!=null?_0x136540:this[_0x490fb4(0x359)],this[_0x490fb4(0x399)]({'width':_0x37dee8[_0x490fb4(0x266)],'height':_0x37dee8[_0x490fb4(0x2a0)]});}['onMouseMove'](_0x1a2b29){const _0x4e9371=_0x3719c8,{row:_0x18da76,column:_0xbb9281}=_0x1a2b29;if(_0x18da76>=this[_0x4e9371(0x2d1)]['startRow']&&_0x18da76<=this['_range']['endRow']&&_0xbb9281>=this[_0x4e9371(0x2d1)][_0x4e9371(0x1cc)]&&_0xbb9281<=this[_0x4e9371(0x2d1)][_0x4e9371(0x309)]){this[_0x4e9371(0x230)]({'hovered':!0x0});return;}this[_0x4e9371(0x230)]({'hovered':!0x1});}[_0x3719c8(0x283)](_0x4c4578){return!0x1;}[_0x3719c8(0x418)](_0x242f19){const _0x56f0de=_0x3719c8;p[_0x56f0de(0x22b)][_0x56f0de(0x250)](_0x242f19,{'width':this[_0x56f0de(0x266)],'height':this[_0x56f0de(0x2a0)],'strokeWidth':mt,'stroke':this[_0x56f0de(0x317)],'evented':!0x1,'fill':this[_0x56f0de(0x359)]}),this['_hovered']&&(_0x242f19[_0x56f0de(0x31a)](),_0x242f19[_0x56f0de(0x3f9)](0x1,0x0,0x0,0x1,this['width'],this[_0x56f0de(0x3e0)]===_0x56f0de(0x20d)?0x0:-0x14),ee[_0x56f0de(0x250)](_0x242f19,{'text':this[_0x56f0de(0x2bd)],'color':this[_0x56f0de(0x317)]}),_0x242f19[_0x56f0de(0x276)]());}}var Ct=Object['getOwnPropertyDescriptor'],pt=(_0x3e18c4,_0x593cdb,_0x14de43,_0x2b7453)=>{const _0x390230=_0x3719c8;for(var _0x31329a=_0x2b7453>0x1?void 0x0:_0x2b7453?Ct(_0x593cdb,_0x14de43):_0x593cdb,_0x53691e=_0x3e18c4[_0x390230(0x1e4)]-0x1,_0x57719e;_0x53691e>=0x0;_0x53691e--)(_0x57719e=_0x3e18c4[_0x53691e])&&(_0x31329a=_0x57719e(_0x31329a)||_0x31329a);return _0x31329a;},ae=(_0x2e1766,_0x328c53)=>(_0x220b33,_0x1b4390)=>_0x328c53(_0x220b33,_0x1b4390,_0x2e1766);const bt=0x1389;let ve=class extends a[_0x3719c8(0x41d)]{constructor(_0x1a63a2,_0x277a6a,_0xd44805,_0x11fee4){const _0x19a7e5=_0x3719c8;super(),h(this,_0x19a7e5(0x338),new Set()),h(this,_0x19a7e5(0x1fc),null),(this[_0x19a7e5(0x412)]=_0x1a63a2,this[_0x19a7e5(0x378)]=_0x277a6a,this[_0x19a7e5(0x3d8)]=_0xd44805,this[_0x19a7e5(0x36f)]=_0x11fee4,this[_0x19a7e5(0x41c)]());}[_0x3719c8(0x41c)](){const _0x3c5bd4=_0x3719c8;this['_sheetSkeletonManagerService'][_0x3c5bd4(0x3f3)][_0x3c5bd4(0x37b)]($[_0x3c5bd4(0x232)](this['dispose$']),$[_0x3c5bd4(0x34d)](_0x33aeb8=>{const _0x28cfba=_0x3c5bd4;if(_0x33aeb8){const _0x31a18f=_0x33aeb8[_0x28cfba(0x21e)];return d['combineLatest'](this[_0x28cfba(0x3d8)][_0x28cfba(0x2d9)](this[_0x28cfba(0x412)][_0x28cfba(0x274)]),this['_themeService']['currentTheme$'])[_0x28cfba(0x37b)]($[_0x28cfba(0x34b)](([_0x183a2a,_0x26ac14])=>{const _0x52e3f8=_0x28cfba,_0x5f445e=new Map();return _0x183a2a[_0x52e3f8(0x348)]((_0x47d961,_0x56980a)=>{const _0xda0bab=_0x52e3f8;if(_0x47d961[_0xda0bab(0x363)]===_0x31a18f){const _0x1f9c78={..._0x47d961};_0x1f9c78[_0xda0bab(0x2a4)]=_0x26ac14[_0x47d961[_0xda0bab(0x2a4)]],_0x5f445e[_0xda0bab(0x2e3)](_0x56980a,_0x1f9c78);}}),{'skeleton':_0x33aeb8,'cursors':_0x5f445e};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0x3c5bd4(0x1de)](({skeleton:_0x32cafb,cursors:_0x4c14c0})=>{const _0x439b4c=_0x3c5bd4;this[_0x439b4c(0x417)](),_0x32cafb&&this[_0x439b4c(0x2ea)](_0x32cafb,_0x4c14c0);}),this[_0x3c5bd4(0x378)][_0x3c5bd4(0x3f3)][_0x3c5bd4(0x1de)](_0xfd2ff=>{const _0x373b56=_0x3c5bd4;if(_0xfd2ff==null)return;const {skeleton:_0x15e909}=_0xfd2ff,{scene:_0xb8c2ca}=this[_0x373b56(0x412)];_0xb8c2ca[_0x373b56(0x208)]['subscribeEvent'](a[_0x373b56(0x343)](_0x640904=>{const _0x42b957=_0x373b56;var _0x49f82c,_0x17f351;const {offsetX:_0x2d282c,offsetY:_0x412535}=_0x640904,{x:_0x2265f0,y:_0x23d7a5}=_0xb8c2ca['getRelativeToViewportCoord'](p[_0x42b957(0x411)][_0x42b957(0x420)]([_0x2d282c,_0x412535])),{scaleX:_0x3116fa,scaleY:_0x49ab90}=_0xb8c2ca[_0x42b957(0x39b)](),_0x418c2f=_0xb8c2ca[_0x42b957(0x26d)](p[_0x42b957(0x352)][_0x42b957(0x218)]),_0x243cdd=_0xb8c2ca['getVpScrollXYInfoByPosToVp'](p['Vector2'][_0x42b957(0x420)]([_0x2265f0,_0x23d7a5]),_0x418c2f),_0x10674e=_0x15e909[_0x42b957(0x351)](_0x2d282c,_0x412535,_0x3116fa,_0x49ab90,_0x243cdd);((_0x49f82c=this[_0x42b957(0x1fc)])==null?void 0x0:_0x49f82c[_0x42b957(0x30f)])===_0x10674e[_0x42b957(0x30f)]&&((_0x17f351=this[_0x42b957(0x1fc)])==null?void 0x0:_0x17f351[_0x42b957(0x3e6)])===_0x10674e[_0x42b957(0x3e6)]||this['_cursors']['forEach'](_0x1abe15=>{const _0x21ae50=_0x42b957;_0x1abe15[_0x21ae50(0x3d2)](_0x10674e);});},0x64));});}[_0x3719c8(0x2ea)](_0x20d5c9,_0x34086c){const _0x3c5003=_0x3719c8;var _0x559b40;const _0x563c8a=(_0x559b40=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x559b40[_0x3c5003(0x2f5)];if(!_0x563c8a)return;const _0x2d90e9=this['_getSheetObject']();if(!_0x2d90e9)return;this[_0x3c5003(0x338)][_0x3c5003(0x348)](_0x56d63b=>{const _0x267578=_0x3c5003;_0x56d63b[_0x267578(0x3d1)]();});const {scene:_0x1f1e92}=_0x2d90e9,_0xb85f52=Et(Array['from'](_0x34086c[_0x3c5003(0x302)]()))['map'](_0x155f72=>{const _0x458c49=_0x3c5003,{color:_0x36e033,range:_0xa959fa,name:_0x101614,selection:_0x36c50b,sheetID:_0x45645b}=_0x155f72,{startColumn:_0xa2d3fe,startRow:_0x468bcc,endColumn:_0x1b9f02,endRow:_0x42f4aa}=_0xa959fa,_0x5cddd2=X[_0x458c49(0x32c)](_0x468bcc,_0xa2d3fe,_0x1f1e92,_0x563c8a),_0x5bda89=X[_0x458c49(0x32c)](_0x42f4aa,_0x1b9f02,_0x1f1e92,_0x563c8a),{columnHeaderHeightAndMarginTop:_0x78a973}=_0x563c8a,{startX:_0x744f86,startY:_0x1d2b2e}=_0x5cddd2,{endX:_0x27aa93,endY:_0x1d1cf0}=_0x5bda89,_0x5a1dc9=_0x27aa93-_0x744f86,_0x3c4f12=_0x1d1cf0-_0x1d2b2e,_0x13ad6e={'labelPosition':_0x1d2b2e-_0x78a973>=K?'top':_0x458c49(0x20d),'sheetID':_0x45645b,'range':_0xa959fa,'color':_0x36e033,'name':_0x101614,'selection':_0x36c50b,'left':_0x744f86,'top':_0x1d2b2e,'width':_0x5a1dc9,'height':_0x3c4f12,'evented':!0x1,'zIndex':bt};return new Ae(_0x101614,_0x13ad6e);});_0x1f1e92['addObjects'](_0xb85f52,gt),this['_cursors']=new Set(_0xb85f52);}[_0x3719c8(0x417)](){const _0x2dbea7=_0x3719c8;var _0x5ca169;(_0x5ca169=this[_0x2dbea7(0x338)])==null||_0x5ca169[_0x2dbea7(0x348)](_0x30cc0d=>_0x30cc0d[_0x2dbea7(0x214)]());}[_0x3719c8(0x220)](){const _0x59cb0e=_0x3719c8;return X[_0x59cb0e(0x1d4)](this[_0x59cb0e(0x412)][_0x59cb0e(0x3f1)],this['_context']);}};ve=pt([ae(0x1,a[_0x3719c8(0x44e)](X[_0x3719c8(0x213)])),ae(0x2,a[_0x3719c8(0x44e)](x)),ae(0x3,a[_0x3719c8(0x44e)](a['ThemeService']))],ve);function Et(_0x8a841a){const _0x261b58=_0x3719c8,_0x160c4b=new Map();return _0x8a841a[_0x261b58(0x348)](_0x1c46a5=>{const _0x1c32c1=_0x261b58;if(_0x160c4b[_0x1c32c1(0x252)](_0x1c46a5[_0x1c32c1(0x3d7)])){const _0x97d0ee=_0x160c4b['get'](_0x1c46a5['selection']);_0x97d0ee[_0x1c32c1(0x37c)]+=',\x20'+_0x1c46a5[_0x1c32c1(0x37c)];}else _0x160c4b[_0x1c32c1(0x2e3)](_0x1c46a5[_0x1c32c1(0x3d7)],_0x1c46a5);}),Array[_0x261b58(0x1e6)](_0x160c4b[_0x261b58(0x302)]());}var E=function(){const _0x5ae5c2=_0x3719c8;return E=Object[_0x5ae5c2(0x234)]||function(_0x402106){const _0x2253e0=_0x5ae5c2;for(var _0x40e08e,_0x5510a4=0x1,_0x35ab67=arguments[_0x2253e0(0x1e4)];_0x5510a4<_0x35ab67;_0x5510a4++){_0x40e08e=arguments[_0x5510a4];for(var _0x135162 in _0x40e08e)Object[_0x2253e0(0x35e)][_0x2253e0(0x407)][_0x2253e0(0x1d2)](_0x40e08e,_0x135162)&&(_0x402106[_0x135162]=_0x40e08e[_0x135162]);}return _0x402106;},E[_0x5ae5c2(0x1cf)](this,arguments);},Tt=function(_0x2d42cb,_0x4fe2c7){const _0x336580=_0x3719c8;var _0x30eac0={};for(var _0x57583c in _0x2d42cb)Object[_0x336580(0x35e)][_0x336580(0x407)][_0x336580(0x1d2)](_0x2d42cb,_0x57583c)&&_0x4fe2c7[_0x336580(0x31f)](_0x57583c)<0x0&&(_0x30eac0[_0x57583c]=_0x2d42cb[_0x57583c]);if(_0x2d42cb!=null&&typeof Object['getOwnPropertySymbols']==_0x336580(0x2ba)){for(var _0x12ac7a=0x0,_0x57583c=Object[_0x336580(0x39c)](_0x2d42cb);_0x12ac7a<_0x57583c[_0x336580(0x1e4)];_0x12ac7a++)_0x4fe2c7['indexOf'](_0x57583c[_0x12ac7a])<0x0&&Object['prototype'][_0x336580(0x226)]['call'](_0x2d42cb,_0x57583c[_0x12ac7a])&&(_0x30eac0[_0x57583c[_0x12ac7a]]=_0x2d42cb[_0x57583c[_0x12ac7a]]);}return _0x30eac0;},pe=M[_0x3719c8(0x382)](function(_0x3df9db,_0x383d76){const _0x32c61c=_0x3719c8;var _0x5c7766=_0x3df9db[_0x32c61c(0x268)],_0x3a8a35=_0x3df9db['id'],_0x59afed=_0x3df9db[_0x32c61c(0x27f)],_0xd5d451=_0x3df9db['extend'],_0x1807b4=Tt(_0x3df9db,[_0x32c61c(0x268),'id',_0x32c61c(0x27f),_0x32c61c(0x41b)]),_0x5df64d='univerjs-icon\x20univerjs-icon-'[_0x32c61c(0x227)](_0x3a8a35,'\x20')[_0x32c61c(0x227)](_0x59afed||'')[_0x32c61c(0x2b7)](),_0x411823=M['useRef']('_'['concat'](Dt()));return we(_0x5c7766,''[_0x32c61c(0x227)](_0x3a8a35),{'defIds':_0x5c7766[_0x32c61c(0x2ed)],'idSuffix':_0x411823['current']},E({'ref':_0x383d76,'className':_0x5df64d},_0x1807b4),_0xd5d451);});function we(_0x2cba6f,_0x2ab0c7,_0x55c813,_0x353b6f,_0x4b7e8f){const _0x439f7d=_0x3719c8;return M[_0x439f7d(0x3a1)](_0x2cba6f[_0x439f7d(0x3cf)],E(E({'key':_0x2ab0c7},Ot(_0x2cba6f,_0x55c813,_0x4b7e8f)),_0x353b6f),(Rt(_0x2cba6f,_0x55c813)[_0x439f7d(0x395)]||[])[_0x439f7d(0x34b)](function(_0x15c542,_0x34b8ea){const _0x1bf28e=_0x439f7d;return we(_0x15c542,''[_0x1bf28e(0x227)](_0x2ab0c7,'-')[_0x1bf28e(0x227)](_0x2cba6f[_0x1bf28e(0x3cf)],'-')[_0x1bf28e(0x227)](_0x34b8ea),_0x55c813,void 0x0,_0x4b7e8f);}));}function Ot(_0x42072b,_0x2aec38,_0x51d832){const _0x2de991=_0x3719c8;var _0x39bbfa=E({},_0x42072b[_0x2de991(0x1d0)]);_0x51d832!=null&&_0x51d832['colorChannel1']&&_0x39bbfa[_0x2de991(0x3e4)]===_0x2de991(0x372)&&(_0x39bbfa['fill']=_0x51d832[_0x2de991(0x372)]),_0x42072b[_0x2de991(0x3cf)]===_0x2de991(0x2f8)&&_0x39bbfa['id']&&(_0x39bbfa['id']=_0x39bbfa['id']+_0x2aec38[_0x2de991(0x388)]),Object[_0x2de991(0x416)](_0x39bbfa)['forEach'](function(_0x4c1292){const _0x139689=_0x2de991;var _0x3ea001=_0x4c1292[0x0],_0x2dd496=_0x4c1292[0x1];_0x3ea001===_0x139689(0x2f8)&&typeof _0x2dd496==_0x139689(0x334)&&(_0x39bbfa[_0x3ea001]=_0x2dd496[_0x139689(0x35b)](/url\(#(.*)\)/,'url(#$1'[_0x139689(0x227)](_0x2aec38[_0x139689(0x388)],')')));});var _0x468e61=_0x2aec38[_0x2de991(0x2ed)];return!_0x468e61||_0x468e61[_0x2de991(0x1e4)]===0x0||(_0x42072b[_0x2de991(0x3cf)]==='use'&&_0x39bbfa[_0x2de991(0x267)]&&(_0x39bbfa['xlink:href']=_0x39bbfa[_0x2de991(0x267)]+_0x2aec38['idSuffix']),Object[_0x2de991(0x416)](_0x39bbfa)[_0x2de991(0x348)](function(_0x2b2dca){const _0x2a578e=_0x2de991;var _0x304822=_0x2b2dca[0x0],_0xd15f84=_0x2b2dca[0x1];typeof _0xd15f84==_0x2a578e(0x334)&&(_0x39bbfa[_0x304822]=_0xd15f84[_0x2a578e(0x35b)](/url\(#(.*)\)/,_0x2a578e(0x223)[_0x2a578e(0x227)](_0x2aec38[_0x2a578e(0x388)],')')));})),_0x39bbfa;}function Rt(_0x154d15,_0x4b0e60){const _0x455e54=_0x3719c8;var _0xc52f9e,_0x418091=_0x4b0e60[_0x455e54(0x2ed)];return!_0x418091||_0x418091[_0x455e54(0x1e4)]===0x0?_0x154d15:_0x154d15[_0x455e54(0x3cf)]===_0x455e54(0x2d0)&&(!((_0xc52f9e=_0x154d15[_0x455e54(0x395)])===null||_0xc52f9e===void 0x0)&&_0xc52f9e['length'])?E(E({},_0x154d15),{'children':_0x154d15[_0x455e54(0x395)][_0x455e54(0x34b)](function(_0x28411f){const _0x157d1a=_0x455e54;return typeof _0x28411f[_0x157d1a(0x1d0)]['id']==_0x157d1a(0x334)&&_0x418091&&_0x418091[_0x157d1a(0x31f)](_0x28411f[_0x157d1a(0x1d0)]['id'])>-0x1?E(E({},_0x28411f),{'attrs':E(E({},_0x28411f[_0x157d1a(0x1d0)]),{'id':_0x28411f[_0x157d1a(0x1d0)]['id']+_0x4b0e60[_0x157d1a(0x388)]})}):_0x28411f;})}):_0x154d15;}function Dt(){const _0x1ad57a=_0x3719c8;return Math['random']()[_0x1ad57a(0x1ca)](0x24)[_0x1ad57a(0x235)](0x2,0x8);}pe[_0x3719c8(0x3c9)]=_0x3719c8(0x1ed);var Ut={'tag':_0x3719c8(0x368),'attrs':{'fill':_0x3719c8(0x25c),'viewBox':'0\x200\x2016\x2016','width':_0x3719c8(0x2fa),'height':_0x3719c8(0x2fa)},'children':[{'tag':'g','attrs':{'clipPath':_0x3719c8(0x278)},'children':[{'tag':_0x3719c8(0x335),'attrs':{'stroke':_0x3719c8(0x25b),'d':_0x3719c8(0x3ed),'strokeLinecap':_0x3719c8(0x1c9),'strokeLinejoin':_0x3719c8(0x1c9),'strokeWidth':1.2}}]},{'tag':_0x3719c8(0x2d0),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0x3719c8(0x28e),'d':_0x3719c8(0x3b9)}}]}]}],'defIds':[_0x3719c8(0x301)]},ye=M[_0x3719c8(0x382)](function(_0xd71820,_0x4cd96d){const _0x2a8a4c=_0x3719c8;return M['createElement'](pe,Object[_0x2a8a4c(0x234)]({},_0xd71820,{'id':_0x2a8a4c(0x2c8),'ref':_0x4cd96d,'icon':Ut}));});ye[_0x3719c8(0x3c9)]=_0x3719c8(0x355);var Nt={'tag':_0x3719c8(0x368),'attrs':{'fill':_0x3719c8(0x25c),'viewBox':_0x3719c8(0x3ab),'width':_0x3719c8(0x2fa),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x3719c8(0x406)},'children':[{'tag':_0x3719c8(0x335),'attrs':{'stroke':'currentColor','d':_0x3719c8(0x424),'strokeLinecap':_0x3719c8(0x1c9),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x3719c8(0x2d0),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x3719c8(0x28e),'d':_0x3719c8(0x3b9),'transform':_0x3719c8(0x3c2)}}]}]}],'defIds':[_0x3719c8(0x2d8)]},$e=M[_0x3719c8(0x382)](function(_0xb25a74,_0x5bd475){const _0x320935=_0x3719c8;return M['createElement'](pe,Object[_0x320935(0x234)]({},_0xb25a74,{'id':_0x320935(0x423),'ref':_0x5bd475,'icon':Nt}));});$e[_0x3719c8(0x3c9)]=_0x3719c8(0x33c);function Mt(_0x4058a6){const _0x5e3823=_0x3719c8;switch(_0x4058a6){case u[_0x5e3823(0x259)]['OFFLINE']:return _0x5e3823(0x2ec);case u['CollaborationStatus'][_0x5e3823(0x2c6)]:return _0x5e3823(0x432);case u['CollaborationStatus'][_0x5e3823(0x316)]:return _0x5e3823(0x29e);case u[_0x5e3823(0x259)][_0x5e3823(0x3ba)]:return'collabStatus.notCollab';case u['CollaborationStatus'][_0x5e3823(0x279)]:case u['CollaborationStatus'][_0x5e3823(0x3e8)]:return'collabStatus.syncing';case u[_0x5e3823(0x259)][_0x5e3823(0x3af)]:case u['CollaborationStatus']['PENDING']:return _0x5e3823(0x370);}}function xe(_0x17bcd9){const _0x29b5f9=_0x3719c8,{status$:_0x45dc22}=_0x17bcd9,_0x4b9820=T[_0x29b5f9(0x207)](_0x45dc22,u[_0x29b5f9(0x259)][_0x29b5f9(0x3ba)]),_0x3b41bf=T[_0x29b5f9(0x323)](a['LocaleService']),_0xb648bf=T[_0x29b5f9(0x323)](u[_0x29b5f9(0x362)]),_0x136555=_0x4b9820!==u[_0x29b5f9(0x259)]['OFFLINE'],_0x3398c0=_0x3b41bf['t'](Mt(_0x4b9820)),_0x2f1598=_0x136555?P['jsx']($e,{}):P[_0x29b5f9(0x3cc)](ye,{}),_0x409b8a=M[_0x29b5f9(0x44d)](()=>{_0x136555||_0xb648bf['reconnect']();},[_0x136555,_0xb648bf]);function _0x5c6b87(){const _0x3d75c2=_0x29b5f9;return P[_0x3d75c2(0x289)]('div',{'className':'univer-flex\x20univer-items-center','onClick':_0x409b8a,'children':[P[_0x3d75c2(0x3cc)]('div',{'className':D[_0x3d75c2(0x33b)](_0x3d75c2(0x260),_0x136555?'univer-text-green-500':_0x3d75c2(0x42c)),'children':_0x2f1598}),P[_0x3d75c2(0x3cc)](_0x3d75c2(0x225),{'className':_0x3d75c2(0x239),'children':_0x3398c0})]});}return _0x136555?_0x5c6b87():P[_0x29b5f9(0x3cc)](D[_0x29b5f9(0x384)],{'title':_0x3b41bf['t']('collab-client.tooltip.reconnect'),'children':_0x5c6b87()});}var Lt=Object[_0x3719c8(0x2b9)],Pt=(_0x50266d,_0x539e3d,_0x13f9d1,_0xaccd2e)=>{for(var _0x333f49=_0xaccd2e>0x1?void 0x0:_0xaccd2e?Lt(_0x539e3d,_0x13f9d1):_0x539e3d,_0xb37e22=_0x50266d['length']-0x1,_0x1d58d2;_0xb37e22>=0x0;_0xb37e22--)(_0x1d58d2=_0x50266d[_0xb37e22])&&(_0x333f49=_0x1d58d2(_0x333f49)||_0x333f49);return _0x333f49;},V=(_0xd9b57e,_0x47fda1)=>(_0x8de3c8,_0x103357)=>_0x47fda1(_0x8de3c8,_0x103357,_0xd9b57e);exports['DesktopCollaborationStatusDisplayController']=class extends a[_0x3719c8(0x3bd)]{constructor(_0x1bf446,_0x3a6d4c,_0x4c1555,_0x4ed3f9){const _0x1da69a=_0x3719c8;super(),h(this,_0x1da69a(0x410),new d[(_0x1da69a(0x347))](u[_0x1da69a(0x259)][_0x1da69a(0x3ba)])),(this[_0x1da69a(0x281)]=_0x1bf446,this[_0x1da69a(0x350)]=_0x3a6d4c,this[_0x1da69a(0x3ea)]=_0x4c1555,this['_uiPartsService']=_0x4ed3f9,this[_0x1da69a(0x26c)](),this[_0x1da69a(0x244)]());}[_0x3719c8(0x244)](){const _0x42ba3a=_0x3719c8;this[_0x42ba3a(0x43b)](this[_0x42ba3a(0x281)][_0x42ba3a(0x38b)][_0x42ba3a(0x37b)](d[_0x42ba3a(0x34d)](()=>{const _0x4f2790=_0x42ba3a,_0x3e5fb3=this['_univerInstanceService'][_0x4f2790(0x212)]();return _0x3e5fb3?this[_0x4f2790(0x3ea)][_0x4f2790(0x408)](_0x3e5fb3[_0x4f2790(0x44a)]()):d['of'](null);}),d[_0x42ba3a(0x34d)](_0x35c3ab=>_0x35c3ab?_0x35c3ab[_0x42ba3a(0x374)]:d['of'](u[_0x42ba3a(0x259)][_0x42ba3a(0x3ba)])))[_0x42ba3a(0x1de)](_0x5c4f7a=>{const _0x4ad206=_0x42ba3a;this[_0x4ad206(0x410)][_0x4ad206(0x20a)](_0x5c4f7a);}));}['_initStatusComponent'](){const _0x4fdc0e=_0x3719c8;this['disposeWithMe'](this[_0x4fdc0e(0x20f)][_0x4fdc0e(0x269)](T[_0x4fdc0e(0x3c1)][_0x4fdc0e(0x31d)],()=>T[_0x4fdc0e(0x38c)](At({'status$':this['_status$'][_0x4fdc0e(0x240)]()}),this[_0x4fdc0e(0x350)])));}},exports[_0x3719c8(0x404)]=Pt([V(0x0,a[_0x3719c8(0x25d)]),V(0x1,a[_0x3719c8(0x44e)](a[_0x3719c8(0x265)])),V(0x2,a['Inject'](u[_0x3719c8(0x2cc)])),V(0x3,T['IUIPartsService'])],exports['DesktopCollaborationStatusDisplayController']);function At(_0x12bc8e){const {status$:_0x19180c}=_0x12bc8e;return function(){const _0x3ce1c1=_0x169d;return P[_0x3ce1c1(0x3cc)](xe,{'status$':_0x19180c});};}var wt=Object[_0x3719c8(0x2b9)],yt=(_0x387002,_0x2bbbed,_0x316bc3,_0x3902fe)=>{const _0x283c11=_0x3719c8;for(var _0x2a837f=_0x3902fe>0x1?void 0x0:_0x3902fe?wt(_0x2bbbed,_0x316bc3):_0x2bbbed,_0x1032b1=_0x387002[_0x283c11(0x1e4)]-0x1,_0x18adaf;_0x1032b1>=0x0;_0x1032b1--)(_0x18adaf=_0x387002[_0x1032b1])&&(_0x2a837f=_0x18adaf(_0x2a837f)||_0x2a837f);return _0x2a837f;},y=(_0x20496e,_0x4161ca)=>(_0x590ba5,_0xceac92)=>_0x4161ca(_0x590ba5,_0xceac92,_0x20496e);let q=class extends a[_0x3719c8(0x3bd)]{constructor(_0xc83277,_0x3a917b,_0x2da8d4,_0x1e9232,_0x49f1fb,_0x35ec96){const _0x510c3a=_0x3719c8;super(),this[_0x510c3a(0x21d)]=_0xc83277,this[_0x510c3a(0x26e)]=_0x3a917b,this[_0x510c3a(0x429)]=_0x2da8d4,this['_messageService']=_0x1e9232,this[_0x510c3a(0x430)]=_0x49f1fb,this['_localeService']=_0x35ec96,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x3719c8(0x2ab)](){const _0xbd57fa=_0x3719c8;this[_0xbd57fa(0x43b)](this[_0xbd57fa(0x21d)][_0xbd57fa(0x20c)](()=>{const _0x12666e=_0xbd57fa;if(this['_localCacheService'][_0x12666e(0x3ae)][_0x12666e(0x2fc)])return this[_0x12666e(0x3ca)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x3719c8(0x1fa)](){const _0x5746db=_0x3719c8;this[_0x5746db(0x43b)](this['_collaborationUIEventService'][_0x5746db(0x2be)][_0x5746db(0x1de)](_0x210ff8=>{const _0x146ca2=_0x5746db;_0x210ff8['id']===u[_0x146ca2(0x1f2)][_0x146ca2(0x1d5)]&&this[_0x146ca2(0x211)][_0x146ca2(0x24c)]({'type':D['MessageType'][_0x146ca2(0x23a)],'content':this[_0x146ca2(0x3ca)]['t'](_0x146ca2(0x422))}),_0x210ff8['id']===u[_0x146ca2(0x1f2)][_0x146ca2(0x2fb)]&&this[_0x146ca2(0x211)]['show']({'type':D[_0x146ca2(0x36a)]['Warning'],'content':this[_0x146ca2(0x3ca)]['t'](_0x146ca2(0x37a))}),_0x210ff8['id']===u[_0x146ca2(0x1f2)][_0x146ca2(0x398)]&&this[_0x146ca2(0x430)][_0x146ca2(0x24c)]({'title':this[_0x146ca2(0x3ca)]['t'](_0x146ca2(0x3f6)),'content':this['_localeService']['t']('permission.content'),'type':_0x146ca2(0x245),'duration':0x0}),_0x210ff8['id']===u[_0x146ca2(0x1f2)][_0x146ca2(0x2c6)]&&this['_messageService'][_0x146ca2(0x24c)]({'type':D[_0x146ca2(0x36a)][_0x146ca2(0x2b4)],'content':this['_localeService']['t'](_0x146ca2(0x37a))+'('+_0x210ff8[_0x146ca2(0x42f)]+')'}),_0x210ff8['id']===u[_0x146ca2(0x1f2)][_0x146ca2(0x221)]&&this[_0x146ca2(0x211)][_0x146ca2(0x24c)]({'type':D[_0x146ca2(0x36a)]['Warning'],'content':this[_0x146ca2(0x3ca)]['t'](_0x210ff8[_0x146ca2(0x42f)]||'')}),_0x210ff8['id']===u[_0x146ca2(0x1f2)]['SOCKET_FAILED_RETRY']&&this[_0x146ca2(0x211)][_0x146ca2(0x24c)]({'type':D[_0x146ca2(0x36a)]['Warning'],'content':this[_0x146ca2(0x3ca)]['t'](_0x146ca2(0x25a))}),_0x210ff8['id']===u[_0x146ca2(0x1f2)]['SOCKET_FAILED']&&this[_0x146ca2(0x211)][_0x146ca2(0x24c)]({'type':D[_0x146ca2(0x36a)][_0x146ca2(0x2b4)],'content':this[_0x146ca2(0x3ca)]['t']('session.connection-failed')}),_0x210ff8['id']===u[_0x146ca2(0x1f2)][_0x146ca2(0x3eb)]&&this[_0x146ca2(0x211)][_0x146ca2(0x24c)]({'type':D[_0x146ca2(0x36a)]['Error'],'content':this[_0x146ca2(0x3ca)]['t']('session.collaboration-timeout')});}));}};q=yt([y(0x0,T[_0x3719c8(0x21c)]),y(0x1,u[_0x3719c8(0x426)]),y(0x2,a['Inject'](u[_0x3719c8(0x2bb)])),y(0x3,T[_0x3719c8(0x360)]),y(0x4,T[_0x3719c8(0x1d7)]),y(0x5,a[_0x3719c8(0x44e)](a[_0x3719c8(0x2cb)]))],q);const $t=_0x3719c8(0x27d),Ue={},be=a['createIdentifier'](_0x3719c8(0x205));var xt=Object[_0x3719c8(0x2b9)],jt=(_0x22743b,_0x57c1ab,_0x22817b,_0x22e3d0)=>{for(var _0x499122=_0x22e3d0>0x1?void 0x0:_0x22e3d0?xt(_0x57c1ab,_0x22817b):_0x57c1ab,_0x30e575=_0x22743b['length']-0x1,_0x2a513d;_0x30e575>=0x0;_0x30e575--)(_0x2a513d=_0x22743b[_0x30e575])&&(_0x499122=_0x2a513d(_0x499122)||_0x499122);return _0x499122;},H=(_0x153031,_0x1c7146)=>(_0x1345c3,_0xa96bff)=>_0x1c7146(_0x1345c3,_0xa96bff,_0x153031);exports[_0x3719c8(0x1ef)]=class extends a['RxDisposable']{constructor(_0x51e1fc,_0x1c8b88,_0x471868,_0x1a8a87,_0x34a498){const _0x1d7496=_0x3719c8;super(),this[_0x1d7496(0x3c7)]=_0x51e1fc,this['_logService']=_0x1c8b88,this[_0x1d7496(0x3a7)]=_0x471868,this['_dataLoaderService']=_0x1a8a87,_0x34a498?_0x34a498==null||_0x34a498[_0x1d7496(0x2d7)]()[_0x1d7496(0x42a)](()=>this[_0x1d7496(0x41c)]()):(this[_0x1d7496(0x2b0)]['debug'](_0x1d7496(0x3aa),_0x1d7496(0x3d6)),this[_0x1d7496(0x41c)]());}async[_0x3719c8(0x41c)](){const _0x275c68=_0x3719c8,_0x2dc2c3=this['_urlService'][_0x275c68(0x24d)](_0x275c68(0x3f1)),_0xf01f9e=this[_0x275c68(0x3c7)][_0x275c68(0x24d)](_0x275c68(0x36d)),_0x4181a2=this[_0x275c68(0x3c7)][_0x275c68(0x24d)](_0x275c68(0x421));if(!_0x2dc2c3||!_0xf01f9e){this['_logService'][_0x275c68(0x2e5)](_0x275c68(0x3aa),_0x275c68(0x1cd));return;}const _0x18ef16=await this[_0x275c68(0x2b6)][_0x275c68(0x2df)](_0x2dc2c3,Number(_0xf01f9e),_0x4181a2);_0x18ef16&&_0x18ef16 instanceof a[_0x275c68(0x37f)]&&this[_0x275c68(0x400)](_0x18ef16);}async[_0x3719c8(0x400)](_0x10f824){const _0x75ef31=_0x3719c8;await this['_updateSubUnitFromURLParams'](_0x10f824),_0x10f824[_0x75ef31(0x249)][_0x75ef31(0x37b)](d['takeUntil'](this[_0x75ef31(0x238)]))['subscribe'](_0x5e5d60=>{const _0xeb4551=_0x75ef31;_0x5e5d60&&this[_0xeb4551(0x3bf)](_0x5e5d60);}),this[_0x75ef31(0x3c7)][_0x75ef31(0x3ac)][_0x75ef31(0x37b)](d['takeUntil'](this[_0x75ef31(0x238)]))[_0x75ef31(0x1de)](()=>this[_0x75ef31(0x2ce)](_0x10f824));}[_0x3719c8(0x3bf)](_0x130d5,_0x3b0af1=!0x1){const _0x554cbb=_0x3719c8,_0x19a952=this[_0x554cbb(0x3c7)][_0x554cbb(0x24d)]('subunit');_0x130d5[_0x554cbb(0x1ea)]()!==_0x19a952&&this[_0x554cbb(0x3c7)]['setParam'](_0x554cbb(0x421),_0x130d5[_0x554cbb(0x1ea)](),_0x3b0af1);}async[_0x3719c8(0x2ce)](_0x153706){const _0x3f8205=_0x3719c8;var _0x5bd7fa;const _0xb11edb=this[_0x3f8205(0x3c7)][_0x3f8205(0x24d)](_0x3f8205(0x421));if(!_0xb11edb||!_0x153706[_0x3f8205(0x1e3)](_0xb11edb)){const _0x41d382=_0x153706[_0x3f8205(0x353)]()[0x0],_0x435ee6=_0x153706[_0x3f8205(0x1e3)](_0x41d382);if(!_0x435ee6)return;this[_0x3f8205(0x3bf)](_0x435ee6,!0x0),await this['_commandService'][_0x3f8205(0x3ff)](g[_0x3f8205(0x3fe)]['id'],{'unitId':_0x153706[_0x3f8205(0x44a)](),'subUnitId':_0x41d382});return;}((_0x5bd7fa=_0x153706[_0x3f8205(0x3a0)]())==null?void 0x0:_0x5bd7fa['getSheetId']())!==_0xb11edb&&await this[_0x3f8205(0x3a7)][_0x3f8205(0x3ff)](g[_0x3f8205(0x3fe)]['id'],{'unitId':_0x153706[_0x3f8205(0x44a)](),'subUnitId':_0xb11edb});}},exports[_0x3719c8(0x1ef)]=jt([H(0x0,be),H(0x1,a['ILogService']),H(0x2,a[_0x3719c8(0x231)]),H(0x3,a['Inject'](u['DataLoaderService'])),H(0x4,a[_0x3719c8(0x29a)](Ke['IRemoteInstanceService']))],exports[_0x3719c8(0x1ef)]);var Bt=Object[_0x3719c8(0x2b9)],kt=(_0x5dd972,_0x32eed4,_0x36cc29,_0xbb7f8a)=>{const _0x1f85f7=_0x3719c8;for(var _0x137098=_0xbb7f8a>0x1?void 0x0:_0xbb7f8a?Bt(_0x32eed4,_0x36cc29):_0x32eed4,_0xfea696=_0x5dd972[_0x1f85f7(0x1e4)]-0x1,_0x549ce1;_0xfea696>=0x0;_0xfea696--)(_0x549ce1=_0x5dd972[_0xfea696])&&(_0x137098=_0x549ce1(_0x137098)||_0x137098);return _0x137098;},ce=(_0x5802ec,_0x1bd844)=>(_0x399f9c,_0x3a49b0)=>_0x1bd844(_0x399f9c,_0x3a49b0,_0x5802ec);let z=class{constructor(_0x183b79,_0x67fac2,_0xb825f8){const _0x22cd6a=_0x3719c8;this['_injector']=_0x183b79,this['_transformService']=_0x67fac2,this[_0x22cd6a(0x2a7)]=_0xb825f8;}[_0x3719c8(0x3bc)](_0x20317c){const _0x43be07=_0x3719c8;this[_0x43be07(0x345)](_0x20317c),this['_transformPreviousActiveRange'](_0x20317c);}[_0x3719c8(0x254)](_0x14f505){const _0x599cd6=_0x3719c8,{unitID:_0x15af27}=_0x14f505,_0x2ac8b6=this['_renderManagerService'][_0x599cd6(0x203)](_0x15af27)[_0x599cd6(0x1ff)](b['DocIMEInputManagerService']),{redoCache:_0x3ab0fb}=_0x2ac8b6[_0x599cd6(0x22c)]();if(_0x3ab0fb[_0x599cd6(0x1e4)]===0x0)return _0x14f505;let _0x4e5076=a[_0x599cd6(0x413)][_0x599cd6(0x2b3)](_0x14f505[_0x599cd6(0x40e)][0x0]);for(let _0x1ab03f=0x0;_0x1ab03f<_0x3ab0fb['length'];_0x1ab03f++){const _0x280869={'id':_0x599cd6(0x1dd),'params':{..._0x3ab0fb[_0x1ab03f]}},_0x3060b4=this[_0x599cd6(0x1ee)][_0x599cd6(0x43a)](_0x4e5076,_0x280869,!0x1);if(m['isTransformMutationFailure'](_0x3060b4))throw _0x3060b4[_0x599cd6(0x245)];_0x4e5076=_0x3060b4[_0x599cd6(0x2a6)];}return{...a['Tools'][_0x599cd6(0x2b3)](_0x14f505),'mutations':[_0x4e5076]};}[_0x3719c8(0x345)](_0x19fea3){const _0x30d6db=_0x3719c8,{unitID:_0xadfc5}=_0x19fea3,_0x4b1de6=this[_0x30d6db(0x2a7)][_0x30d6db(0x203)](_0xadfc5)[_0x30d6db(0x1ff)](b[_0x30d6db(0x1e2)]),{undoCache:_0x32114a,redoCache:_0x495968}=_0x4b1de6[_0x30d6db(0x22c)]();if(_0x32114a['length']===0x0||_0x495968['length']===0x0)return;const _0x6184e7=[],_0x1733c4=[];let _0x45071d=a['Tools']['deepClone'](_0x19fea3[_0x30d6db(0x40e)][0x0]),_0x316b24=a[_0x30d6db(0x413)][_0x30d6db(0x2b3)](_0x19fea3[_0x30d6db(0x40e)][0x0]);for(let _0x477430=_0x32114a[_0x30d6db(0x1e4)]-0x1;_0x477430>=0x0;_0x477430--){const _0x3a7c84={'id':_0x30d6db(0x1dd),'params':{..._0x32114a[_0x477430]}},_0x21de9f={'id':'doc.mutation.rich-text-editing','params':{..._0x495968[_0x477430]}},_0x470b0b=this[_0x30d6db(0x1ee)][_0x30d6db(0x43a)](_0x45071d,_0x3a7c84,!0x1),_0x214e1c=this[_0x30d6db(0x1ee)][_0x30d6db(0x43a)](_0x316b24,_0x21de9f,!0x1);if(m[_0x30d6db(0x2d4)](_0x470b0b))throw _0x470b0b[_0x30d6db(0x245)];if(m[_0x30d6db(0x2d4)](_0x214e1c))throw _0x214e1c['error'];_0x6184e7[_0x30d6db(0x2e2)](_0x470b0b[_0x30d6db(0x425)][_0x30d6db(0x22f)]),_0x1733c4[_0x30d6db(0x2e2)](_0x214e1c['m2Prime'][_0x30d6db(0x22f)]),_0x45071d=_0x470b0b[_0x30d6db(0x2a6)],_0x316b24=_0x214e1c[_0x30d6db(0x2a6)];}_0x4b1de6['setUndoRedoMutationParamsCache']({'undoCache':_0x6184e7,'redoCache':_0x1733c4});}[_0x3719c8(0x2eb)](_0x454028){const _0xee7f52=_0x3719c8,{unitID:_0x2bc3cb}=_0x454028,_0x5ac820=this[_0xee7f52(0x2a7)][_0xee7f52(0x203)](_0x2bc3cb)[_0xee7f52(0x1ff)](b[_0xee7f52(0x1e2)]),_0x41a2db=_0x5ac820[_0xee7f52(0x2a1)]();if(_0x41a2db==null)return;const _0x4a37d6=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x454028[_0xee7f52(0x30e)],'actions':null,'textRanges':[_0x41a2db]}}],_0x3b18ca=this[_0xee7f52(0x1ee)][_0xee7f52(0x3b1)](_0x454028,_0x4a37d6);if(!m['isTransformMutationsWithChangesetSuccess'](_0x3b18ca))throw _0x3b18ca[_0xee7f52(0x245)];const _0x1b24df=_0x3b18ca[_0xee7f52(0x425)][0x0]['params'][_0xee7f52(0x321)];Array[_0xee7f52(0x39e)](_0x1b24df)&&_0x1b24df[_0xee7f52(0x1e4)]&&_0x5ac820[_0xee7f52(0x27c)](_0x1b24df[0x0]);}};z=kt([ce(0x0,a[_0x3719c8(0x44e)](a[_0x3719c8(0x265)])),ce(0x1,m[_0x3719c8(0x354)]),ce(0x2,p[_0x3719c8(0x3d4)])],z);var Ht=Object['getOwnPropertyDescriptor'],Yt=(_0x3370b3,_0x501aa2,_0x18eac6,_0x442455)=>{const _0x25e010=_0x3719c8;for(var _0x3a1d42=_0x442455>0x1?void 0x0:_0x442455?Ht(_0x501aa2,_0x18eac6):_0x501aa2,_0x37bdcc=_0x3370b3[_0x25e010(0x1e4)]-0x1,_0x6e6e9c;_0x37bdcc>=0x0;_0x37bdcc--)(_0x6e6e9c=_0x3370b3[_0x37bdcc])&&(_0x3a1d42=_0x6e6e9c(_0x3a1d42)||_0x3a1d42);return _0x3a1d42;},le=(_0x4b2dbe,_0x2343df)=>(_0x3b2752,_0x55d7af)=>_0x2343df(_0x3b2752,_0x55d7af,_0x4b2dbe);let J=class{constructor(_0x25be4a,_0x2a64e1,_0x12c2cb){const _0x422eb1=_0x3719c8;this['_injector']=_0x25be4a,this['_transformService']=_0x2a64e1,this[_0x422eb1(0x1e0)]=_0x12c2cb;}[_0x3719c8(0x286)](_0x580f4a){const _0x30fe18=_0x3719c8;this[_0x30fe18(0x357)](_0x580f4a);}['transformRemoteChangeset'](_0x2dd7d8){const _0x5023b9=_0x3719c8,{unitID:_0x53fac5}=_0x2dd7d8,{collaboration:_0x5beedb}=this[_0x5023b9(0x1e0)][_0x5023b9(0x1eb)](_0x53fac5);if(_0x5beedb[_0x5023b9(0x1e4)]===0x0)return _0x2dd7d8;let _0x32ab60=a[_0x5023b9(0x413)][_0x5023b9(0x2b3)](_0x2dd7d8['mutations'][0x0]);for(let _0x17db45=0x0;_0x17db45<_0x5beedb['length'];_0x17db45++){const _0x64acac={'id':_0x5023b9(0x1dd),'params':{'unitId':_0x5beedb[_0x17db45][_0x5023b9(0x274)],..._0x5beedb[_0x17db45][_0x5023b9(0x282)]}},_0x380422=this[_0x5023b9(0x1ee)][_0x5023b9(0x43a)](_0x32ab60,_0x64acac,!0x1);if(m[_0x5023b9(0x2d4)](_0x380422))throw _0x380422[_0x5023b9(0x245)];_0x32ab60=_0x380422['m1Prime'];}return{...a[_0x5023b9(0x413)][_0x5023b9(0x2b3)](_0x2dd7d8),'mutations':[_0x32ab60]};}[_0x3719c8(0x357)](_0x5e8ecc){const _0x404c36=_0x3719c8,{unitID:_0xa957b9}=_0x5e8ecc,{history:_0x2025c8,collaboration:_0x1ab24d}=this[_0x404c36(0x1e0)][_0x404c36(0x1eb)](_0xa957b9);if(_0x2025c8[_0x404c36(0x1e4)]===0x0&&_0x1ab24d[_0x404c36(0x1e4)]===0x0)return;const _0x4be456=[],_0x295191=[];let _0x2f750b=a['Tools'][_0x404c36(0x2b3)](_0x5e8ecc['mutations'][0x0]),_0x24f585=a[_0x404c36(0x413)][_0x404c36(0x2b3)](_0x5e8ecc['mutations'][0x0]);for(let _0x35dc3c=_0x2025c8[_0x404c36(0x1e4)]-0x1;_0x35dc3c>=0x0;_0x35dc3c--){const _0x241535={'id':_0x404c36(0x1dd),'params':{'unitId':_0x2025c8[_0x35dc3c][_0x404c36(0x274)],..._0x2025c8[_0x35dc3c][_0x404c36(0x344)]}},_0x34159b={'id':_0x404c36(0x1dd),'params':{'unitId':_0x2025c8[_0x35dc3c][_0x404c36(0x274)],..._0x2025c8[_0x35dc3c]['redoState']}},_0x1ac1e1=this[_0x404c36(0x1ee)]['transformMutation'](_0x2f750b,_0x241535,!0x1),_0x17e4ff=this[_0x404c36(0x1ee)][_0x404c36(0x43a)](_0x24f585,_0x34159b,!0x1);if(m[_0x404c36(0x2d4)](_0x1ac1e1))throw _0x1ac1e1[_0x404c36(0x245)];if(m['isTransformMutationFailure'](_0x17e4ff))throw _0x17e4ff[_0x404c36(0x245)];_0x4be456['unshift']({..._0x2025c8[_0x35dc3c],'undoState':_0x1ac1e1['m2Prime'][_0x404c36(0x22f)],'redoState':_0x17e4ff[_0x404c36(0x425)]['params']}),_0x2f750b=_0x1ac1e1[_0x404c36(0x2a6)],_0x24f585=_0x17e4ff[_0x404c36(0x2a6)];}_0x2f750b=a[_0x404c36(0x413)][_0x404c36(0x2b3)](_0x5e8ecc[_0x404c36(0x40e)][0x0]),_0x24f585=a[_0x404c36(0x413)][_0x404c36(0x2b3)](_0x5e8ecc['mutations'][0x0]);for(let _0xf4e6fb=_0x1ab24d[_0x404c36(0x1e4)]-0x1;_0xf4e6fb>=0x0;_0xf4e6fb--){const _0x47df41={'id':_0x404c36(0x1dd),'params':{'unitId':_0x1ab24d[_0xf4e6fb][_0x404c36(0x274)],..._0x1ab24d[_0xf4e6fb]['undoState']}},_0x5dd7c2={'id':_0x404c36(0x1dd),'params':{'unitId':_0x1ab24d[_0xf4e6fb]['unitId'],..._0x1ab24d[_0xf4e6fb][_0x404c36(0x282)]}},_0x53a93e=this[_0x404c36(0x1ee)][_0x404c36(0x43a)](_0x2f750b,_0x47df41,!0x1),_0x486f04=this[_0x404c36(0x1ee)][_0x404c36(0x43a)](_0x24f585,_0x5dd7c2,!0x1);if(m[_0x404c36(0x2d4)](_0x53a93e))throw _0x53a93e[_0x404c36(0x245)];if(m['isTransformMutationFailure'](_0x486f04))throw _0x486f04[_0x404c36(0x245)];_0x295191['unshift']({..._0x1ab24d[_0xf4e6fb],'undoState':_0x53a93e[_0x404c36(0x425)][_0x404c36(0x22f)],'redoState':_0x486f04[_0x404c36(0x425)][_0x404c36(0x22f)]}),_0x2f750b=_0x53a93e[_0x404c36(0x2a6)],_0x24f585=_0x486f04[_0x404c36(0x2a6)];}this['_docStateChangeManagerService']['setStateCache'](_0xa957b9,{'history':_0x4be456,'collaboration':_0x295191});}};J=Yt([le(0x0,a[_0x3719c8(0x44e)](a['Injector'])),le(0x1,m[_0x3719c8(0x354)]),le(0x2,a[_0x3719c8(0x44e)](b[_0x3719c8(0x23e)]))],J);var Ft=Object[_0x3719c8(0x2b9)],Wt=(_0x1666fb,_0x442b16,_0x1dda47,_0x2fd9a0)=>{const _0x5dc155=_0x3719c8;for(var _0x479fde=_0x2fd9a0>0x1?void 0x0:_0x2fd9a0?Ft(_0x442b16,_0x1dda47):_0x442b16,_0x5a9375=_0x1666fb[_0x5dc155(0x1e4)]-0x1,_0x3b6549;_0x5a9375>=0x0;_0x5a9375--)(_0x3b6549=_0x1666fb[_0x5a9375])&&(_0x479fde=_0x3b6549(_0x479fde)||_0x479fde);return _0x479fde;},Ne=(_0x44c21d,_0x1f93a2)=>(_0x5b40ff,_0x5ce9fb)=>_0x1f93a2(_0x5b40ff,_0x5ce9fb,_0x44c21d);let Z=class{constructor(_0xb8a74e,_0x1f2817){const _0xe32f9d=_0x3719c8;this[_0xe32f9d(0x350)]=_0xb8a74e,this[_0xe32f9d(0x1ee)]=_0x1f2817;}[_0x3719c8(0x337)](_0x565718){const _0x343dc7=_0x3719c8;var _0x4eee6d;const _0x1668ee=this['_injector'][_0x343dc7(0x263)](F[_0x343dc7(0x38e)]),_0x594f3c=(_0x4eee6d=_0x1668ee['getDocRanges']())!=null?_0x4eee6d:[];if(_0x594f3c[_0x343dc7(0x1e4)]===0x0)return;const _0x2ddfa0=_0x565718[_0x343dc7(0x30e)],_0x5b3702=[{'id':_0x343dc7(0x1dd),'params':{'unitId':_0x2ddfa0,'actions':null,'textRanges':_0x594f3c}}],_0x53ff28=this[_0x343dc7(0x1ee)][_0x343dc7(0x3b1)](_0x565718,_0x5b3702);if(!m['isTransformMutationsWithChangesetSuccess'](_0x53ff28))throw _0x53ff28[_0x343dc7(0x245)];const _0x56659f=_0x53ff28['m2Prime'][0x0][_0x343dc7(0x22f)][_0x343dc7(0x321)];Array[_0x343dc7(0x39e)](_0x56659f)&&_0x56659f['length']&&_0x1668ee[_0x343dc7(0x3f0)](_0x56659f,{'unitId':_0x2ddfa0,'subUnitId':_0x2ddfa0},!0x1);}};Z=Wt([Ne(0x0,a[_0x3719c8(0x44e)](a[_0x3719c8(0x265)])),Ne(0x1,m['ITransformService'])],Z);var Vt=Object[_0x3719c8(0x2b9)],Xt=(_0x136730,_0x1ec60e,_0x23b475,_0x46b290)=>{const _0x3fad5c=_0x3719c8;for(var _0x4aa00f=_0x46b290>0x1?void 0x0:_0x46b290?Vt(_0x1ec60e,_0x23b475):_0x1ec60e,_0x1baf28=_0x136730[_0x3fad5c(0x1e4)]-0x1,_0x1f5e64;_0x1baf28>=0x0;_0x1baf28--)(_0x1f5e64=_0x136730[_0x1baf28])&&(_0x4aa00f=_0x1f5e64(_0x4aa00f)||_0x4aa00f);return _0x4aa00f;},N=(_0x57af6f,_0x1e0e4a)=>(_0x5c7ec9,_0x5b87fa)=>_0x1e0e4a(_0x5c7ec9,_0x5b87fa,_0x57af6f);let Q=class extends a[_0x3719c8(0x3bd)]{constructor(_0xcdba7e,_0xa160b7,_0x419735,_0x2aa5cd,_0x5a2db9,_0x376d3d,_0x21d142,_0x3a1c0f){const _0x3bfb5d=_0x3719c8;super(),h(this,'_status$',new d[(_0x3bfb5d(0x347))](u[_0x3bfb5d(0x259)][_0x3bfb5d(0x3ba)])),(this['_docStateChangeManagerService']=_0xcdba7e,this['_collaborationController']=_0xa160b7,this[_0x3bfb5d(0x284)]=_0x419735,this[_0x3bfb5d(0x356)]=_0x2aa5cd,this[_0x3bfb5d(0x275)]=_0x5a2db9,this[_0x3bfb5d(0x318)]=_0x376d3d,this[_0x3bfb5d(0x211)]=_0x21d142,this[_0x3bfb5d(0x3ca)]=_0x3a1c0f,this[_0x3bfb5d(0x3b2)]());}[_0x3719c8(0x3b2)](){const _0x19b22a=_0x3719c8;this[_0x19b22a(0x43b)](this[_0x19b22a(0x3ea)]['entityInit$'][_0x19b22a(0x1de)](_0x2fe7e6=>{const _0x238e0c=_0x19b22a,_0x2cf10a=this['_docStateChangeManagerService']['docStateChange$'][_0x238e0c(0x1de)](_0x21b5f4=>{const _0x4f67c1=_0x238e0c;if(_0x21b5f4==null)return;const {unitId:_0x1c1d26,redoState:_0x5306a1,commandId:_0x684856}=_0x21b5f4;if(_0x1c1d26!==_0x2fe7e6[_0x4f67c1(0x30e)])return;const _0x4457f0={'id':_0x684856,'type':a[_0x4f67c1(0x2e8)][_0x4f67c1(0x21b)],'params':{'unitId':_0x1c1d26,'actions':_0x5306a1[_0x4f67c1(0x340)],'textRanges':null}};_0x2fe7e6[_0x4f67c1(0x30a)](_0x4457f0);});if(_0x2fe7e6['disposeWithMe'](_0x2cf10a),_0x2fe7e6 instanceof u['DocCollaborationEntity']){const _0x89f216={'onTransformIME':_0x33a31a=>this[_0x238e0c(0x284)][_0x238e0c(0x3bc)](_0x33a31a),'onTransformState':_0x41096b=>this[_0x238e0c(0x356)]['transformStateCache'](_0x41096b),'onTransformSelections':_0x1684ef=>this[_0x238e0c(0x275)]['transformSelections'](_0x1684ef),'onSyncEditingCollabCursor':_0x138d05=>this[_0x238e0c(0x318)][_0x238e0c(0x2e1)](_0x138d05),'onTransformRemoteChangesetByIMECache':_0x38d267=>this[_0x238e0c(0x284)]['transformRemoteChangeset'](_0x38d267),'onTransformRemoteChangesetByStateCache':_0x4f16d7=>this['_docTransformStateCacheService'][_0x238e0c(0x254)](_0x4f16d7)};_0x2fe7e6['addHandlerCallback'](_0x89f216);}}));}};Q=Xt([N(0x0,a[_0x3719c8(0x44e)](b[_0x3719c8(0x23e)])),N(0x1,a[_0x3719c8(0x44e)](u[_0x3719c8(0x2cc)])),N(0x2,a[_0x3719c8(0x44e)](z)),N(0x3,a[_0x3719c8(0x44e)](J)),N(0x4,a[_0x3719c8(0x44e)](Z)),N(0x5,a[_0x3719c8(0x44e)](Ce)),N(0x6,T[_0x3719c8(0x360)]),N(0x7,a[_0x3719c8(0x44e)](a[_0x3719c8(0x2cb)]))],Q);var Gt=Object[_0x3719c8(0x2b9)],Kt=(_0x238c0d,_0x2a8c77,_0x427979,_0x567120)=>{const _0x50bb09=_0x3719c8;for(var _0x180fdd=_0x567120>0x1?void 0x0:_0x567120?Gt(_0x2a8c77,_0x427979):_0x2a8c77,_0xf6a319=_0x238c0d[_0x50bb09(0x1e4)]-0x1,_0x96efa4;_0xf6a319>=0x0;_0xf6a319--)(_0x96efa4=_0x238c0d[_0xf6a319])&&(_0x180fdd=_0x96efa4(_0x180fdd)||_0x180fdd);return _0x180fdd;},_e=(_0x4869f9,_0x27bbf3)=>(_0x482aab,_0x1bc0b6)=>_0x27bbf3(_0x482aab,_0x1bc0b6,_0x4869f9);let ge=class extends a[_0x3719c8(0x3bd)]{constructor(_0x1be645,_0x538ee1,_0x396aec){const _0x47be28=_0x3719c8;super(),h(this,_0x47be28(0x2e9),new Map()),h(this,'_saveTaskMap',new Map()),h(this,_0x47be28(0x3db),!0x1),(this[_0x47be28(0x3c6)]=_0x1be645,this['_localStorageService']=_0x538ee1,this[_0x47be28(0x20b)]=_0x396aec);}[_0x3719c8(0x34f)](){const _0x48424f=_0x3719c8;this[_0x48424f(0x3db)]=!0x0;}[_0x3719c8(0x24a)](){this['_disabled']=!0x1;}get[_0x3719c8(0x3ae)](){const _0x370724=_0x3719c8;return this[_0x370724(0x377)];}[_0x3719c8(0x214)](){const _0xcad483=_0x3719c8;this[_0xcad483(0x2c4)]()[_0xcad483(0x42a)](()=>super['dispose']());}async[_0x3719c8(0x339)](_0x685563){const _0x856234=_0x3719c8;return this['_disabled']?null:this['_localStorageService']['getItem'](u[_0x856234(0x1f7)](_0x685563));}async[_0x3719c8(0x401)](_0xf62d25,_0x4a023c){const _0x50ca9f=_0x3719c8;return!!this[_0x50ca9f(0x3c5)][_0x50ca9f(0x27a)](_0xf62d25,_0x4a023c);}['updateOfflineData'](_0x124968,_0x37735d,_0x4b4a2e,_0x431301){const _0x2f941d=_0x3719c8,_0x121a0b=this[_0x2f941d(0x20b)][_0x2f941d(0x2c9)](_0x124968);this[_0x2f941d(0x2e9)][_0x2f941d(0x2e3)](_0x124968,{'unitID':_0x124968,'type':_0x37735d,'awaitingChangeset':_0x4b4a2e,'mutations':_0x431301,'rev':_0x121a0b}),this[_0x2f941d(0x377)][_0x2f941d(0x252)](_0x124968)||this[_0x2f941d(0x37d)](_0x124968);}[_0x3719c8(0x37d)](_0x35b7a0){const _0x42a903=_0x3719c8,_0x37a7bd=this[_0x42a903(0x280)]();_0x37a7bd===0x0?this[_0x42a903(0x3e2)](_0x35b7a0):this[_0x42a903(0x377)][_0x42a903(0x2e3)](_0x35b7a0,setTimeout(()=>this[_0x42a903(0x3e2)](_0x35b7a0),_0x37a7bd));}[_0x3719c8(0x280)](){const _0x1d434f=_0x3719c8;var _0x3a781f;return(_0x3a781f=this[_0x1d434f(0x3c6)][_0x1d434f(0x1f5)](u[_0x1d434f(0x342)]))!=null?_0x3a781f:u[_0x1d434f(0x202)];}[_0x3719c8(0x3e2)](_0x4f50b4){const _0x40011d=_0x3719c8,_0x7420b=this[_0x40011d(0x377)][_0x40011d(0x263)](_0x4f50b4);return _0x7420b!==void 0x0&&window[_0x40011d(0x3e7)](_0x7420b),this[_0x40011d(0x3c5)][_0x40011d(0x27a)](u['getLocalCacheKey'](_0x4f50b4),this['_cachedData'][_0x40011d(0x263)](_0x4f50b4))[_0x40011d(0x42a)](()=>this['_saveTaskMap'][_0x40011d(0x3e3)](_0x4f50b4));}async[_0x3719c8(0x2c4)](){const _0x8cf2f=_0x3719c8,_0x2378ec=[];this[_0x8cf2f(0x377)][_0x8cf2f(0x348)]((_0x6801c4,_0x5b6889)=>{const _0x45edd1=_0x8cf2f;window['clearTimeout'](_0x6801c4),_0x2378ec[_0x45edd1(0x1f1)](this[_0x45edd1(0x3e2)](_0x5b6889)[_0x45edd1(0x42a)](()=>{const _0x41800a=_0x45edd1;this[_0x41800a(0x377)][_0x41800a(0x3e3)](_0x5b6889);}));}),await Promise[_0x8cf2f(0x3b6)](_0x2378ec);}};ge=Kt([_e(0x0,a[_0x3719c8(0x3a2)]),_e(0x1,a[_0x3719c8(0x287)]),_e(0x2,a['Inject'](m[_0x3719c8(0x433)]))],ge);class je extends a['RxDisposable']{constructor(){const _0x3e457c=_0x3719c8;super(),h(this,'urlChange$'),this[_0x3e457c(0x3ac)]=d[_0x3e457c(0x258)](window,_0x3e457c(0x40f))[_0x3e457c(0x37b)](d['takeUntil'](this[_0x3e457c(0x238)]),d[_0x3e457c(0x22a)](0x1),d[_0x3e457c(0x262)](void 0x0));}['setParam'](_0x4863f2,_0x461ca6,_0x2e1f0d=!0x1){const _0x1d92a7=_0x3719c8,_0x1454e1=new URL(window['location'][_0x1d92a7(0x39f)]);_0x1454e1[_0x1d92a7(0x32a)][_0x1d92a7(0x2e3)](_0x4863f2,_0x461ca6),_0x2e1f0d?window['history'][_0x1d92a7(0x329)]('','',_0x1454e1[_0x1d92a7(0x1ca)]()):window[_0x1d92a7(0x447)][_0x1d92a7(0x3ce)]('','',_0x1454e1[_0x1d92a7(0x1ca)]());}[_0x3719c8(0x24e)](_0x5d7fa9,_0x367852=!0x1){const _0x54c2ee=_0x3719c8,_0x2a2307=new URL(window['location']['href']);_0x2a2307[_0x54c2ee(0x32a)]['delete'](_0x5d7fa9),_0x367852?window[_0x54c2ee(0x447)][_0x54c2ee(0x329)]('','',_0x2a2307['toString']()):window[_0x54c2ee(0x447)][_0x54c2ee(0x3ce)]('','',_0x2a2307[_0x54c2ee(0x1ca)]());}[_0x3719c8(0x24d)](_0x3cc810){const _0x55c74a=_0x3719c8;var _0xeb115a;return(_0xeb115a=new URL(window[_0x55c74a(0x381)]['href'])[_0x55c74a(0x32a)]['get'](_0x3cc810))!=null?_0xeb115a:void 0x0;}}var qt=Object[_0x3719c8(0x40d)],zt=Object['getOwnPropertyDescriptor'],Jt=(_0x2baf8f,_0x5afd9d,_0x344489)=>_0x5afd9d in _0x2baf8f?qt(_0x2baf8f,_0x5afd9d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x344489}):_0x2baf8f[_0x5afd9d]=_0x344489,Zt=(_0x46674a,_0x5062e4,_0x52da8b,_0x1cb9f8)=>{for(var _0x53239f=_0x1cb9f8>0x1?void 0x0:_0x1cb9f8?zt(_0x5062e4,_0x52da8b):_0x5062e4,_0x3c9370=_0x46674a['length']-0x1,_0x219c6a;_0x3c9370>=0x0;_0x3c9370--)(_0x219c6a=_0x46674a[_0x3c9370])&&(_0x53239f=_0x219c6a(_0x53239f)||_0x53239f);return _0x53239f;},he=(_0x11ef12,_0x43b913)=>(_0x17505c,_0x51eaaf)=>_0x43b913(_0x17505c,_0x51eaaf,_0x11ef12),Qt=(_0x1549ce,_0x119c5f,_0x461082)=>Jt(_0x1549ce,_0x119c5f+'',_0x461082);const es=_0x3719c8(0x448);exports[_0x3719c8(0x297)]=class extends a[_0x3719c8(0x2b2)]{constructor(_0xd2d258=Ue,_0x1019d5,_0x1ed4cd,_0x190d73){const _0x3032e9=_0x3719c8;super(),this['_config']=_0xd2d258,this[_0x3032e9(0x2a7)]=_0x1019d5,this[_0x3032e9(0x350)]=_0x1ed4cd,this['_configService']=_0x190d73;const {..._0x3125b8}=a[_0x3032e9(0x33e)]({},Ue,this[_0x3032e9(0x3ee)]);this[_0x3032e9(0x3c6)][_0x3032e9(0x2ff)]($t,_0x3125b8);}[_0x3719c8(0x38d)](){const _0x3e76c9=_0x3719c8;this['_registerDependencies'](),this[_0x3e76c9(0x3bb)]();}[_0x3719c8(0x367)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x4a19a5=_0x3719c8;var _0x3377b0;const _0xb190f=[[me],[Z],[z],[J],[Ce],[be,{'useClass':je}],[G[_0x4a19a5(0x3ad)],{'useClass':G[_0x4a19a5(0x2dd)]}],[u[_0x4a19a5(0x426)],{'useClass':ge}],[exports[_0x4a19a5(0x404)]],[Q],[q],[x],[de],[exports['CollaborationDataLoaderController']]];a['registerDependencies'](this[_0x4a19a5(0x350)],a[_0x4a19a5(0x3d9)](_0xb190f,(_0x3377b0=this[_0x4a19a5(0x3ee)])==null?void 0x0:_0x3377b0[_0x4a19a5(0x1f6)]));}['_registerRenderDependencies'](){const _0x12329d=_0x3719c8;this[_0x12329d(0x43b)](this[_0x12329d(0x2a7)][_0x12329d(0x291)](a[_0x12329d(0x440)]['UNIVER_DOC'],[Ie])),this[_0x12329d(0x43b)](this[_0x12329d(0x2a7)][_0x12329d(0x291)](a[_0x12329d(0x440)][_0x12329d(0x2cd)],[ve]));}['_initDependencies'](){const _0x2f6ffa=_0x3719c8;a[_0x2f6ffa(0x2a5)](this['_injector'],[[x],[exports['DesktopCollaborationStatusDisplayController']],[Q],[q],[exports[_0x2f6ffa(0x1ef)]]]);}},Qt(exports[_0x3719c8(0x297)],_0x3719c8(0x327),es),exports[_0x3719c8(0x297)]=Zt([a[_0x3719c8(0x3be)](u[_0x3719c8(0x3a4)]),he(0x1,p['IRenderManagerService']),he(0x2,a['Inject'](a[_0x3719c8(0x265)])),he(0x3,a[_0x3719c8(0x3a2)])],exports[_0x3719c8(0x297)]);var ts=Object[_0x3719c8(0x2b9)],ss=(_0x1ce1ae,_0x55c35f,_0x187cc4,_0x28ae58)=>{const _0x20c123=_0x3719c8;for(var _0x4d0c29=_0x28ae58>0x1?void 0x0:_0x28ae58?ts(_0x55c35f,_0x187cc4):_0x55c35f,_0x243726=_0x1ce1ae[_0x20c123(0x1e4)]-0x1,_0x28b9d8;_0x243726>=0x0;_0x243726--)(_0x28b9d8=_0x1ce1ae[_0x243726])&&(_0x4d0c29=_0x28b9d8(_0x4d0c29)||_0x4d0c29);return _0x4d0c29;},Y=(_0x431486,_0x29af2e)=>(_0x6a1ea1,_0x52f026)=>_0x29af2e(_0x6a1ea1,_0x52f026,_0x431486);exports[_0x3719c8(0x1d6)]=class extends u[_0x3719c8(0x2fd)]{constructor(_0x16a17e,_0x2664b3,_0x83793d,_0x50f6a5,_0x35b4a6){super(_0x16a17e,_0x2664b3,_0x83793d,_0x50f6a5,_0x35b4a6);}async[_0x3719c8(0x3df)](_0x2b8532){const _0x2c6274=await this['_getSessionTicket'](),_0x3cadb1=this['_createSocketURL'](_0x2b8532,_0x2c6274);return this['_doCreateSocket'](_0x3cadb1);}['_createSocketURL'](_0x45bff3,_0x5884a2){const _0x1a4844=_0x3719c8,_0x259ac2=typeof window>'u'?new URL(_0x45bff3):new URL(_0x45bff3,window['location']['origin']);_0x259ac2['searchParams'][_0x1a4844(0x2e3)](_0x1a4844(0x246),_0x5884a2);const _0x308559=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x1a4844(0x381)][_0x1a4844(0x237)]);return _0x308559[_0x1a4844(0x263)](_0x1a4844(0x442))&&_0x259ac2[_0x1a4844(0x32a)][_0x1a4844(0x2e3)](_0x1a4844(0x442),_0x308559[_0x1a4844(0x263)](_0x1a4844(0x442))),_0x259ac2[_0x1a4844(0x1ca)]();}async[_0x3719c8(0x288)](){const _0x5d8e1a=_0x3719c8;var _0x2f9f39,_0x3e93a1,_0x529737;const _0x51b0f7=this[_0x5d8e1a(0x3c6)][_0x5d8e1a(0x1f5)](u[_0x5d8e1a(0x2dc)]),_0x53e735=(_0x2f9f39=_0x51b0f7==null?void 0x0:_0x51b0f7[_0x5d8e1a(0x219)])!=null?_0x2f9f39:u['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x529737=(_0x3e93a1=(await this[_0x5d8e1a(0x31c)][_0x5d8e1a(0x263)](_0x53e735,{'headers':{'Content-Type':_0x5d8e1a(0x1e1)}}))[_0x5d8e1a(0x397)])==null?void 0x0:_0x3e93a1['ticket'])!=null?_0x529737:'';}},exports[_0x3719c8(0x1d6)]=ss([Y(0x0,a[_0x3719c8(0x44e)](a[_0x3719c8(0x265)])),Y(0x1,a[_0x3719c8(0x44e)](G[_0x3719c8(0x403)])),Y(0x2,a[_0x3719c8(0x3a2)]),Y(0x3,a['ILogService']),Y(0x4,m['ISnapshotServerService'])],exports[_0x3719c8(0x1d6)]);const Me=0x7530,Le=_0x3719c8(0x1df);class is extends a[_0x3719c8(0x3bd)]{constructor(){const _0x43743d=_0x3719c8;super(),h(this,'_id',a['generateRandomId']()),h(this,_0x43743d(0x330),new Set()),h(this,_0x43743d(0x229),new Map()),h(this,_0x43743d(0x1db),null),h(this,_0x43743d(0x2de),new Map()),h(this,_0x43743d(0x3ec),new Map()),this[_0x43743d(0x41c)]();}[_0x3719c8(0x214)](){const _0x405125=_0x3719c8;super['dispose'](),this['_clearOtherTimers']['forEach']((_0x42b58e,_0x39d909)=>this[_0x405125(0x392)](_0x39d909)),this[_0x405125(0x1db)]&&window[_0x405125(0x3b5)](this[_0x405125(0x1db)]);}[_0x3719c8(0x336)](_0x2f0db7){const _0x6a092f=_0x3719c8;return this['_ensureSubject'](_0x2f0db7)['pipe'](d[_0x6a092f(0x313)]());}[_0x3719c8(0x325)](_0xd5bee){const _0x47c213=_0x3719c8;this[_0x47c213(0x330)]['size']===0x0&&this[_0x47c213(0x243)](),this['_selfUnitIDs'][_0x47c213(0x3f7)](_0xd5bee),this[_0x47c213(0x200)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0xd5bee],'isForwarded':!0x1});}[_0x3719c8(0x271)](_0x162132){const _0x523e03=_0x3719c8;this['_selfUnitIDs'][_0x523e03(0x3e3)](_0x162132),this['_selfUnitIDs']['size']===0x0&&this[_0x523e03(0x1db)]&&window[_0x523e03(0x3b5)](this['_heartbeatTimer']);}[_0x3719c8(0x41c)](){const _0x3b4647=_0x3719c8;this[_0x3b4647(0x43b)](a[_0x3b4647(0x35f)](d[_0x3b4647(0x258)](window,_0x3b4647(0x224))[_0x3b4647(0x1de)](_0x4e1bcb=>{const _0x89bd27=_0x3b4647;if(_0x4e1bcb['key']!==Le||!_0x4e1bcb[_0x89bd27(0x285)])return;const _0x5353c6=JSON[_0x89bd27(0x2af)](_0x4e1bcb[_0x89bd27(0x285)]);this[_0x89bd27(0x292)](_0x5353c6);}))),window[_0x3b4647(0x1dc)]('unload',()=>this[_0x3b4647(0x200)]({'type':0x1,'memberID':this[_0x3b4647(0x446)],'unitIDs':Array[_0x3b4647(0x1e6)](this[_0x3b4647(0x330)])}));}[_0x3719c8(0x292)](_0x34107e){const _0x3f7ce5=_0x3719c8;switch(_0x34107e[_0x3f7ce5(0x36d)]){case 0x0:this[_0x3f7ce5(0x298)](_0x34107e);break;case 0x1:this[_0x3f7ce5(0x39a)](_0x34107e);break;case 0x2:this['_handleHeartbeatEvent'](_0x34107e);break;}}[_0x3719c8(0x298)](_0x42dc90){const _0x46bd87=_0x3719c8,{unitIDs:_0x131622,memberID:_0x555eb3,isForwarded:_0x3a1b6b}=_0x42dc90;_0x131622[_0x46bd87(0x348)](_0x2f6bd4=>{const _0x3fef4e=_0x46bd87;if(!_0x3a1b6b&&this[_0x3fef4e(0x229)]['has'](_0x2f6bd4)&&this[_0x3fef4e(0x44c)](_0x2f6bd4)['next'](u[_0x3fef4e(0x30d)][_0x3fef4e(0x272)]),!this[_0x3fef4e(0x229)][_0x3fef4e(0x252)](_0x2f6bd4)||!this['_unitOnClients'][_0x3fef4e(0x263)](_0x2f6bd4)[_0x3fef4e(0x252)](_0x555eb3)){const _0x5117e2=this[_0x3fef4e(0x229)][_0x3fef4e(0x263)](_0x2f6bd4)||new Set();_0x5117e2[_0x3fef4e(0x3f7)](_0x555eb3),this['_unitOnClients']['set'](_0x2f6bd4,_0x5117e2),this[_0x3fef4e(0x33d)](_0x555eb3);}}),_0x3a1b6b||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x46bd87(0x330)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x3ff871){const _0x553f33=_0x3719c8;this[_0x553f33(0x392)](_0x3ff871);const _0x38039e=window[_0x553f33(0x434)](()=>{const _0x511f80=_0x553f33;this[_0x511f80(0x229)]['forEach'](_0x2eacc7=>{const _0x507f91=_0x511f80;_0x2eacc7[_0x507f91(0x3e3)](_0x3ff871);});},Me*0x2);this[_0x553f33(0x2de)][_0x553f33(0x2e3)](_0x3ff871,_0x38039e);}['_removeClearOtherTimer'](_0x14f7d8){const _0x3e932e=_0x3719c8;if(this[_0x3e932e(0x2de)][_0x3e932e(0x252)](_0x14f7d8)){const _0x481e51=this[_0x3e932e(0x2de)][_0x3e932e(0x263)](_0x14f7d8);_0x481e51&&window[_0x3e932e(0x3e7)](_0x481e51),this[_0x3e932e(0x2de)][_0x3e932e(0x2e3)](_0x14f7d8,null);}}[_0x3719c8(0x39a)](_0x18b89d){const _0x26938f=_0x3719c8,{memberID:_0x146e4c,unitIDs:_0x3a2ee2}=_0x18b89d;_0x3a2ee2[_0x26938f(0x348)](_0x263695=>{const _0x53d527=_0x26938f;var _0xd7ba6b;const _0x3cddde=this[_0x53d527(0x229)][_0x53d527(0x263)](_0x263695);_0x3cddde&&(_0x3cddde[_0x53d527(0x3e3)](_0x146e4c),(_0xd7ba6b=this[_0x53d527(0x44c)](_0x263695))==null||_0xd7ba6b[_0x53d527(0x20a)](_0x3cddde['size']===0x0?u[_0x53d527(0x30d)]['NO_OTHER_CLIENTS_EDITING']:u[_0x53d527(0x30d)][_0x53d527(0x272)]));}),this[_0x26938f(0x392)](_0x146e4c);}[_0x3719c8(0x277)](_0xc4ec0f){const _0x2c5efc=_0x3719c8;this[_0x2c5efc(0x33d)](_0xc4ec0f[_0x2c5efc(0x405)]);}[_0x3719c8(0x200)](_0x4b0018){const _0x25cfb0=_0x3719c8;localStorage[_0x25cfb0(0x27a)](Le,JSON[_0x25cfb0(0x346)](_0x4b0018));}[_0x3719c8(0x243)](){const _0x56fe97=_0x3719c8;this[_0x56fe97(0x1db)]=window[_0x56fe97(0x233)](()=>{const _0x2ac6ff=_0x56fe97;this['_send']({'type':0x2,'memberID':this[_0x2ac6ff(0x446)]});},Me);}['_ensureSubject'](_0x1a88a0){const _0x436467=_0x3719c8;return this[_0x436467(0x3ec)][_0x436467(0x252)](_0x1a88a0)||this['_unitStatus'][_0x436467(0x2e3)](_0x1a88a0,new d['BehaviorSubject'](u[_0x436467(0x30d)][_0x436467(0x20e)])),this[_0x436467(0x3ec)][_0x436467(0x263)](_0x1a88a0);}}var Be=(_0x306ade=>(_0x306ade[_0x306ade[_0x3719c8(0x29b)]=0x0]=_0x3719c8(0x29b),_0x306ade[_0x306ade['OK']=0x1]='OK',_0x306ade[_0x306ade['INTERNAL_ERROR']=0x2]=_0x3719c8(0x387),_0x306ade[_0x306ade[_0x3719c8(0x398)]=0x3]=_0x3719c8(0x398),_0x306ade[_0x306ade['NOT_FOUND']=0x4]=_0x3719c8(0x1cb),_0x306ade[_0x306ade[_0x3719c8(0x3b0)]=0x5]='UNAUTHENTICATED',_0x306ade[_0x306ade['ALREADY_EXISTS']=0x6]=_0x3719c8(0x26a),_0x306ade[_0x306ade[_0x3719c8(0x2c3)]=0x7]=_0x3719c8(0x2c3),_0x306ade[_0x306ade[_0x3719c8(0x2f0)]=0x8]=_0x3719c8(0x2f0),_0x306ade[_0x306ade[_0x3719c8(0x37e)]=0x9]=_0x3719c8(0x37e),_0x306ade[_0x306ade[_0x3719c8(0x328)]=0xa]=_0x3719c8(0x328),_0x306ade[_0x306ade[_0x3719c8(0x209)]=0x1389]=_0x3719c8(0x209),_0x306ade[_0x306ade[_0x3719c8(0x34c)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x306ade[_0x306ade[_0x3719c8(0x389)]=0x1772]=_0x3719c8(0x389),_0x306ade[_0x306ade[_0x3719c8(0x2f2)]=0x1773]=_0x3719c8(0x2f2),_0x306ade[_0x306ade[_0x3719c8(0x3f5)]=0x1b59]='APPLY_REJECT',_0x306ade[_0x306ade['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x3719c8(0x248),_0x306ade[_0x306ade[_0x3719c8(0x310)]=0x1b5b]=_0x3719c8(0x310),_0x306ade[_0x306ade[_0x3719c8(0x256)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x306ade[_0x306ade[_0x3719c8(0x2d6)]=0x1b5d]=_0x3719c8(0x2d6),_0x306ade[_0x306ade[_0x3719c8(0x31b)]=0x1f41]=_0x3719c8(0x31b),_0x306ade[_0x306ade['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x306ade[_0x306ade[_0x3719c8(0x371)]=0x232a]=_0x3719c8(0x371),_0x306ade[_0x306ade[_0x3719c8(0x324)]=0x232b]=_0x3719c8(0x324),_0x306ade[_0x306ade[_0x3719c8(0x40b)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x306ade[_0x306ade[_0x3719c8(0x2bc)]=0x232d]=_0x3719c8(0x2bc),_0x306ade[_0x306ade[_0x3719c8(0x427)]=0x2711]=_0x3719c8(0x427),_0x306ade[_0x306ade[_0x3719c8(0x3f2)]=0x2712]=_0x3719c8(0x3f2),_0x306ade[_0x306ade[_0x3719c8(0x34e)]=0x2713]=_0x3719c8(0x34e),_0x306ade[_0x306ade[_0x3719c8(0x445)]=0x2714]=_0x3719c8(0x445),_0x306ade[_0x306ade[_0x3719c8(0x3d0)]=0x271a]=_0x3719c8(0x3d0),_0x306ade[_0x306ade[_0x3719c8(0x273)]=0x271b]=_0x3719c8(0x273),_0x306ade[_0x306ade[_0x3719c8(0x369)]=0x271c]=_0x3719c8(0x369),_0x306ade[_0x306ade['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x3719c8(0x3dc),_0x306ade[_0x306ade[_0x3719c8(0x236)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x306ade[_0x306ade['YUUMI_AI_RUN_FAILED']=0x271f]=_0x3719c8(0x21f),_0x306ade[_0x306ade['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x306ade[_0x306ade[_0x3719c8(0x386)]=0x2ee1]=_0x3719c8(0x386),_0x306ade[_0x306ade[_0x3719c8(0x32d)]=0x2ee2]=_0x3719c8(0x32d),_0x306ade[_0x306ade[_0x3719c8(0x439)]=0x2ee3]=_0x3719c8(0x439),_0x306ade[_0x306ade[_0x3719c8(0x3a8)]=0x2ee4]=_0x3719c8(0x3a8),_0x306ade[_0x306ade[_0x3719c8(0x443)]=0x2ee5]=_0x3719c8(0x443),_0x306ade[_0x306ade[_0x3719c8(0x34a)]=0x32c9]=_0x3719c8(0x34a),_0x306ade[_0x306ade['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x306ade[_0x306ade[_0x3719c8(0x36e)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x306ade[_0x306ade['UNRECOGNIZED']=-0x1]=_0x3719c8(0x40c),_0x306ade))(Be||{}),ns=Object['getOwnPropertyDescriptor'],rs=(_0x2d4697,_0xbd864c,_0x1a25a1,_0x1c0250)=>{const _0xdb5868=_0x3719c8;for(var _0x47780f=_0x1c0250>0x1?void 0x0:_0x1c0250?ns(_0xbd864c,_0x1a25a1):_0xbd864c,_0x3af6e5=_0x2d4697[_0xdb5868(0x1e4)]-0x1,_0x25ed91;_0x3af6e5>=0x0;_0x3af6e5--)(_0x25ed91=_0x2d4697[_0x3af6e5])&&(_0x47780f=_0x25ed91(_0x47780f)||_0x47780f);return _0x47780f;},ue=(_0x9f3ff5,_0x18079e)=>(_0x115b2c,_0x4e4083)=>_0x18079e(_0x115b2c,_0x4e4083,_0x9f3ff5);exports['RemoteUniscriptService']=class extends a[_0x3719c8(0x3bd)]{constructor(_0x18afc0,_0x1c1cae,_0x2ba407){const _0x2a9359=_0x3719c8;super(),this[_0x2a9359(0x2c2)]=_0x18afc0,this[_0x2a9359(0x31c)]=_0x1c1cae,this[_0x2a9359(0x3c6)]=_0x2ba407;}async[_0x3719c8(0x39d)](_0xc891f2,_0x273b28,_0x32340d,..._0x255f6b){const _0xcb4fff=_0x3719c8;var _0x1f42a4,_0x1a8ffb,_0x14f27d,_0x68fba1;const _0x5d03ff=this[_0xcb4fff(0x2c2)][_0xcb4fff(0x212)]();if(!_0x5d03ff)throw new Error(_0xcb4fff(0x390));const _0x121263=((_0x1f42a4=this[_0xcb4fff(0x3c6)]['getConfig'](u['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x1f42a4:u[_0xcb4fff(0x25f)])+'/'+_0xc891f2+'/run/'+_0x273b28,_0x2565ac=new URL(window[_0xcb4fff(0x381)][_0xcb4fff(0x39f)]),_0x121983={'scriptId':_0xc891f2,'runId':(_0x1a8ffb=_0x2565ac['searchParams']['get'](_0xcb4fff(0x442)))!=null?_0x1a8ffb:'','function':_0x273b28,'unitId':_0x5d03ff[_0xcb4fff(0x44a)](),'argsOfFunction':JSON['stringify'](_0x255f6b),'invokeId':(_0x14f27d=_0x32340d[_0xcb4fff(0x43e)])!=null?_0x14f27d:'','executionId':(_0x68fba1=_0x32340d[_0xcb4fff(0x2ef)])!=null?_0x68fba1:''};try{const _0x386f87=await this['_httpService'][_0xcb4fff(0x36b)](_0x121263,{'body':_0x121983});return _0x386f87['body'][_0xcb4fff(0x245)]&&_0x386f87['body']['error'][_0xcb4fff(0x380)]!==Be['OK']?_0xcb4fff(0x3e5):_0x386f87['body'][_0xcb4fff(0x2f6)];}catch{return _0xcb4fff(0x3e5);}}},exports[_0x3719c8(0x2a3)]=rs([ue(0x0,a[_0x3719c8(0x25d)]),ue(0x1,a[_0x3719c8(0x44e)](G[_0x3719c8(0x403)])),ue(0x2,a[_0x3719c8(0x3a2)])],exports['RemoteUniscriptService']),exports[_0x3719c8(0x304)]=xe,exports[_0x3719c8(0x28f)]=be,exports['SheetCollabCursorShape']=Ae,exports[_0x3719c8(0x23f)]=is,exports['WebURLService']=je;
1
+ 'use strict';const _0x4a64d1=_0x31bb;(function(_0x3fed42,_0x55b7bb){const _0x52c6c3=_0x31bb,_0x422c0a=_0x3fed42();while(!![]){try{const _0xfa603d=-parseInt(_0x52c6c3(0x20d))/0x1*(parseInt(_0x52c6c3(0x2d2))/0x2)+-parseInt(_0x52c6c3(0x132))/0x3*(-parseInt(_0x52c6c3(0x256))/0x4)+-parseInt(_0x52c6c3(0x3a3))/0x5+-parseInt(_0x52c6c3(0x23e))/0x6+-parseInt(_0x52c6c3(0x2f1))/0x7*(parseInt(_0x52c6c3(0x2d3))/0x8)+-parseInt(_0x52c6c3(0x181))/0x9*(parseInt(_0x52c6c3(0x313))/0xa)+parseInt(_0x52c6c3(0x1e4))/0xb;if(_0xfa603d===_0x55b7bb)break;else _0x422c0a['push'](_0x422c0a['shift']());}catch(_0x498379){_0x422c0a['push'](_0x422c0a['shift']());}}}(_0x5436,0xa9f3f));var Ve=Object[_0x4a64d1(0x35b)],Xe=(_0x334985,_0x3eb5ff,_0x34e9b9)=>_0x3eb5ff in _0x334985?Ve(_0x334985,_0x3eb5ff,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x34e9b9}):_0x334985[_0x3eb5ff]=_0x34e9b9,h=(_0x1fb44e,_0x50117c,_0x212bd8)=>Xe(_0x1fb44e,typeof _0x50117c!=_0x4a64d1(0x211)?_0x50117c+'':_0x50117c,_0x212bd8);Object[_0x4a64d1(0x35b)](exports,Symbol['toStringTag'],{'value':_0x4a64d1(0x2c3)});const u=require(_0x4a64d1(0x223)),a=require(_0x4a64d1(0x2b1)),p=require('@univerjs/engine-render'),G=require(_0x4a64d1(0x1da)),b=require('@univerjs/docs-ui'),Ge=require(_0x4a64d1(0x38c)),d=require(_0x4a64d1(0x38b)),F=require(_0x4a64d1(0x34d)),m=require('@univerjs-pro/collaboration'),Ee=require(_0x4a64d1(0x25b)),g=require(_0x4a64d1(0x288)),$=require(_0x4a64d1(0x244)),X=require('@univerjs/sheets-ui'),P=require('react/jsx-runtime'),T=require(_0x4a64d1(0x21d)),D=require(_0x4a64d1(0x2e4)),M=require(_0x4a64d1(0x265)),Ke=require(_0x4a64d1(0x2fb));var qe=Object[_0x4a64d1(0x26f)],ze=(_0x3de4f0,_0x27baab,_0x3bcd52,_0x1325f2)=>{const _0x12ac62=_0x4a64d1;for(var _0x54a1b0=_0x1325f2>0x1?void 0x0:_0x1325f2?qe(_0x27baab,_0x3bcd52):_0x27baab,_0x2b4db6=_0x3de4f0[_0x12ac62(0x159)]-0x1,_0x2125cd;_0x2b4db6>=0x0;_0x2b4db6--)(_0x2125cd=_0x3de4f0[_0x2b4db6])&&(_0x54a1b0=_0x2125cd(_0x54a1b0)||_0x54a1b0);return _0x54a1b0;},Te=(_0x104261,_0x429e90)=>(_0x48cbea,_0x4052cd)=>_0x429e90(_0x48cbea,_0x4052cd,_0x104261);let de=class extends a[_0x4a64d1(0x20b)]{constructor(_0x3b5af3,_0x20d94b){const _0x322c6c=_0x4a64d1;super(),this[_0x322c6c(0x2ef)]=_0x3b5af3,this[_0x322c6c(0x27e)]=_0x20d94b,this['_init']();}[_0x4a64d1(0x240)](){const _0x65b927=_0x4a64d1,_0x3db941=this;this[_0x65b927(0x1ba)](this[_0x65b927(0x2ef)]['addClipboardHook']({'onBeforePasteImage':async _0x27273d=>{const _0x4718cc=_0x65b927,_0x2abb0c=await _0x3db941[_0x4718cc(0x27e)][_0x4718cc(0x26a)](_0x27273d);return _0x2abb0c?{'source':_0x2abb0c[_0x4718cc(0x138)],'imageSourceType':_0x2abb0c[_0x4718cc(0x233)]}:null;}}));}};de=ze([Te(0x0,b[_0x4a64d1(0x167)]),Te(0x1,Ge['IImageIoService'])],de);const Oe=[_0x4a64d1(0x184),_0x4a64d1(0x2a9),_0x4a64d1(0x270),_0x4a64d1(0x1ac),'blue400',_0x4a64d1(0x325)];class me extends a['Disposable']{constructor(){const _0xaba0c7=_0x4a64d1;super(...arguments),h(this,_0xaba0c7(0x216),new Map()),h(this,_0xaba0c7(0x398),0x0);}[_0x4a64d1(0x150)](_0x4d68cd){const _0x268c96=_0x4a64d1;if(this[_0x268c96(0x216)][_0x268c96(0x158)](_0x4d68cd))return this[_0x268c96(0x216)][_0x268c96(0x2df)](_0x4d68cd);const _0x204b86=Oe[this['_colorIndex']];return this[_0x268c96(0x398)]=(this['_colorIndex']+0x1)%Oe['length'],this[_0x268c96(0x216)][_0x268c96(0x207)](_0x4d68cd,_0x204b86),_0x204b86;}}function Pe(_0x57a3af){const _0x569e2d=_0x4a64d1;let _0x1acdc9='';for(const _0x3c4a3a of _0x57a3af){const {startOffset:_0x5d87b4,endOffset:_0x1b3964,isActive:_0x411661,rangeType:_0x87d6c,segmentId:_0x508580,segmentPage:_0x2c3a67}=_0x3c4a3a;_0x1acdc9[_0x569e2d(0x159)]&&(_0x1acdc9+=','),_0x1acdc9+=_0x5d87b4+':'+_0x1b3964+':'+(_0x411661?'1':'0')+':'+_0x87d6c+':'+_0x508580+':'+_0x2c3a67;}return _0x1acdc9;}function Je(_0xf9cdd1){const _0x5b88a3=_0x4a64d1,_0x19d5af=_0xf9cdd1[_0x5b88a3(0x29c)](','),_0x47834e=[];for(const _0x4b3d0a of _0x19d5af){const [_0x2e9668,_0x249387,_0x503c9b,_0x18396f,_0x33d7c8,_0x2ed6f5]=_0x4b3d0a[_0x5b88a3(0x29c)](':');_0x47834e[_0x5b88a3(0x24c)]({'startOffset':Number(_0x2e9668),'endOffset':Number(_0x249387),'collapsed':_0x2e9668===_0x249387,'isActive':_0x503c9b==='1','rangeType':_0x18396f===a['DOC_RANGE_TYPE']['TEXT']?a[_0x5b88a3(0x1ef)][_0x5b88a3(0x212)]:a[_0x5b88a3(0x1ef)][_0x5b88a3(0x315)],'segmentId':typeof _0x33d7c8==_0x5b88a3(0x209)?String(_0x33d7c8):'','segmentPage':Number(_0x2ed6f5!=null?_0x2ed6f5:-0x1)});}return _0x47834e[_0x5b88a3(0x1f7)](_0x261f69=>_0x261f69['isActive'])||(_0x47834e[0x0][_0x5b88a3(0x121)]=!0x0),_0x47834e;}class Ce extends a[_0x4a64d1(0x20b)]{constructor(){const _0x408c46=_0x4a64d1;super(...arguments),h(this,'_collabCursorState$',new d[(_0x408c46(0x32d))](null)),h(this,_0x408c46(0x22a),this[_0x408c46(0x384)]['asObservable']());}['syncEditingCollabCursor'](_0x2e5867){const _0x50be78=_0x4a64d1,{unitID:_0x3ef969,memberID:_0x38a4fa,textRanges:_0x46b7bd}=_0x2e5867,_0x4ce895=Pe(_0x46b7bd);if(_0x4ce895==='')return;const _0xd07e87={'unitID':_0x3ef969,'memberID':_0x38a4fa,'selection':_0x4ce895};this[_0x50be78(0x384)][_0x50be78(0x14f)](_0xd07e87);}}var Ze=Object[_0x4a64d1(0x26f)],Qe=(_0x36f4f3,_0x692d33,_0x36ea9f,_0x2d2738)=>{const _0x49386e=_0x4a64d1;for(var _0x10e92a=_0x2d2738>0x1?void 0x0:_0x2d2738?Ze(_0x692d33,_0x36ea9f):_0x692d33,_0x347d61=_0x36f4f3[_0x49386e(0x159)]-0x1,_0xa6abec;_0x347d61>=0x0;_0x347d61--)(_0xa6abec=_0x36f4f3[_0x347d61])&&(_0x10e92a=_0xa6abec(_0x10e92a)||_0x10e92a);return _0x10e92a;},L=(_0x3d3847,_0x1fbbfc)=>(_0x498a56,_0x51aef4)=>_0x1fbbfc(_0x498a56,_0x51aef4,_0x3d3847);const et=0x12c,tt=0x64;let fe=class extends a[_0x4a64d1(0x20b)]{constructor(_0xe90596,_0x374376,_0x4be751,_0x52605c,_0x2a850d,_0x2ad381,_0x5f0bc5,_0x2782c7,_0x142118){const _0x409d6d=_0x4a64d1;super(),h(this,_0x409d6d(0x1d7),!0x1),h(this,_0x409d6d(0x240),!0x1),h(this,_0x409d6d(0x2a5),new d[(_0x409d6d(0x32d))](new Map())),h(this,_0x409d6d(0x169),this[_0x409d6d(0x2a5)][_0x409d6d(0x238)]()),h(this,_0x409d6d(0x144),new d[(_0x409d6d(0x32d))]([])),h(this,_0x409d6d(0x2d4),this[_0x409d6d(0x144)][_0x409d6d(0x11d)](d[_0x409d6d(0x36b)](et))),h(this,_0x409d6d(0x338),a['debounce'](_0x343c72=>{const _0x2883bb=_0x409d6d,_0x2d1826={'eventID':m[_0x2883bb(0x2a3)][_0x2883bb(0x28d)],'data':{'unitID':this['unitID'],'memberID':this[_0x2883bb(0x2c9)][_0x2883bb(0x16e)](),'selection':Pe(_0x343c72)}};this[_0x2883bb(0x2c9)][_0x2883bb(0x2ed)](_0x2d1826,this[_0x2883bb(0x14b)]);},tt)),(this[_0x409d6d(0x14b)]=_0xe90596,this[_0x409d6d(0x2c9)]=_0x374376,this['_injector']=_0x4be751,this['_colorAssignService']=_0x52605c,this[_0x409d6d(0x1fa)]=_0x2a850d,this['_syncEditingCollabCursorService']=_0x2ad381,this['_transformService']=_0x5f0bc5,this[_0x409d6d(0x272)]=_0x2782c7,this[_0x409d6d(0x147)]=_0x142118);}get[_0x4a64d1(0x22b)](){const _0x34620f=_0x4a64d1;return this[_0x34620f(0x2a5)]['getValue']();}get[_0x4a64d1(0x285)](){const _0x2571eb=_0x4a64d1;return this[_0x2571eb(0x144)][_0x2571eb(0x224)]();}[_0x4a64d1(0x197)](){const _0x15b292=_0x4a64d1;super[_0x15b292(0x197)](),this[_0x15b292(0x2a5)]['next'](new Map()),this['_cursorInfo$']['complete'](),this[_0x15b292(0x144)][_0x15b292(0x14f)]([]),this[_0x15b292(0x144)][_0x15b292(0x281)]();}[_0x4a64d1(0x2fa)](){const _0x3d5148=_0x4a64d1;this[_0x3d5148(0x240)]||(this[_0x3d5148(0x240)]=!0x0,this['_session']['sessionStatus$'][_0x3d5148(0x11d)](d['takeUntil'](this['dispose$']))[_0x3d5148(0x1d2)](_0x4c895e=>{const _0x484891=_0x3d5148;_0x4c895e===u[_0x484891(0x308)][_0x484891(0x1e5)]?this['_toggleOnline']():this[_0x484891(0x2f4)]();}),this['_session']['event$'][_0x3d5148(0x11d)](d[_0x3d5148(0x11a)](this['dispose$']))[_0x3d5148(0x1d2)](_0x1628be=>{const _0x2d72b5=_0x3d5148,_0x3eb88e=_0x1628be[_0x2d72b5(0x14c)];_0x3eb88e===m[_0x2d72b5(0x2a3)][_0x2d72b5(0x28d)]&&this['_onCursorUpdate'](_0x1628be),_0x3eb88e===m[_0x2d72b5(0x2a3)][_0x2d72b5(0x19b)]&&this[_0x2d72b5(0x24d)](_0x1628be);}),this['disposeWithMe'](this[_0x3d5148(0x147)][_0x3d5148(0x297)](_0x2253f6=>{const _0x34299d=_0x3d5148,_0x3b09d3=_0x2253f6[_0x34299d(0x30d)];_0x3b09d3!=null&&this[_0x34299d(0x1d7)]&&_0x2253f6['id']===F['SetTextSelectionsOperation']['id']&&_0x3b09d3[_0x34299d(0x123)]===this[_0x34299d(0x14b)]&&_0x3b09d3[_0x34299d(0x137)]===!0x1&&_0x3b09d3[_0x34299d(0x16f)][_0x34299d(0x159)]>0x0&&this['_updateLocalCursor'](_0x3b09d3[_0x34299d(0x16f)]);})),this[_0x3d5148(0x2e7)][_0x3d5148(0x22a)][_0x3d5148(0x11d)](d['takeUntil'](this[_0x3d5148(0x298)]))[_0x3d5148(0x1d2)](_0x233f26=>{const _0x3291a6=_0x3d5148;if((_0x233f26==null?void 0x0:_0x233f26[_0x3291a6(0x14b)])!==this['unitID'])return;const _0x42a2e7={'eventID':m[_0x3291a6(0x2a3)][_0x3291a6(0x28d)],'data':_0x233f26};this[_0x3291a6(0x30c)](_0x42a2e7);}),this[_0x3d5148(0x1ba)](this['_commandService'][_0x3d5148(0x297)](_0x4b51a3=>{const _0x3ccf3d=_0x3d5148;if(_0x4b51a3[_0x3ccf3d(0x30d)]==null)return;const _0x62f9f3=_0x4b51a3['params'];if(_0x4b51a3['id']!==F['RichTextEditingMutation']['id']||_0x62f9f3[_0x3ccf3d(0x123)]!==this[_0x3ccf3d(0x14b)])return;const _0x494906={'id':'doc.mutation.rich-text-editing','params':_0x62f9f3},_0x153d3b=this[_0x3ccf3d(0x22b)];for(const [_0x27fa27,_0xee79c7]of _0x153d3b){const _0x20dfce={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x3ccf3d(0x14b)],'actions':null,'textRanges':_0xee79c7[_0x3ccf3d(0x16f)]}},_0x4d2125=this['_transformService']['transformMutation'](_0x494906,_0x20dfce,!0x1);if(m['isTransformMutationFailure'](_0x4d2125))throw _0x4d2125[_0x3ccf3d(0x201)];_0x153d3b[_0x3ccf3d(0x207)](_0x27fa27,{..._0xee79c7,'ranges':_0x4d2125[_0x3ccf3d(0x273)][_0x3ccf3d(0x30d)][_0x3ccf3d(0x360)]});}queueMicrotask(()=>{const _0x3557ce=_0x3ccf3d;this[_0x3557ce(0x2a5)]['next'](_0x153d3b);});})));}[_0x4a64d1(0x30c)](_0x19247c){const _0x2212ae=_0x4a64d1;var _0x307c4f,_0x25e664;const {memberID:_0x57a4b7,selection:_0x2edb45}=_0x19247c[_0x2212ae(0x2b8)],_0x1e3c3d=Je(_0x2edb45),_0x48022e=(_0x25e664=(_0x307c4f=this[_0x2212ae(0x1fa)]['getMember'](this[_0x2212ae(0x14b)],_0x57a4b7))==null?void 0x0:_0x307c4f[_0x2212ae(0x118)])!=null?_0x25e664:_0x2212ae(0x125),_0x4de770={'color':this[_0x2212ae(0x114)][_0x2212ae(0x150)](_0x57a4b7),'name':_0x48022e,'ranges':_0x1e3c3d},_0x4a9ab0=this[_0x2212ae(0x22b)];_0x4a9ab0[_0x2212ae(0x207)](_0x57a4b7,_0x4de770),this[_0x2212ae(0x2a5)][_0x2212ae(0x14f)](_0x4a9ab0);}[_0x4a64d1(0x24d)](_0x18d252){const _0x2aa475=_0x4a64d1,{memberID:_0x594f77}=_0x18d252[_0x2aa475(0x2b8)],_0x3cf22f=this['cursorInfo'];_0x3cf22f[_0x2aa475(0x27b)](_0x594f77),this[_0x2aa475(0x2a5)][_0x2aa475(0x14f)](_0x3cf22f);}[_0x4a64d1(0x2bd)](){const _0xc54f9=_0x4a64d1;var _0x1c0be5;if(this['_online']=!0x0,((_0x1c0be5=this[_0xc54f9(0x272)][_0xc54f9(0x1dc)]())==null?void 0x0:_0x1c0be5[_0xc54f9(0x129)]())!==this[_0xc54f9(0x14b)])return;const _0x15e37e=this['_injector'][_0xc54f9(0x2df)](F[_0xc54f9(0x39e)])[_0xc54f9(0x222)]();Array[_0xc54f9(0x387)](_0x15e37e)&&_0x15e37e[_0xc54f9(0x159)]>0x0&&this[_0xc54f9(0x338)](_0x15e37e);}[_0x4a64d1(0x2f4)](){const _0x20502c=_0x4a64d1;this[_0x20502c(0x1d7)]=!0x1;}};fe=Qe([L(0x2,a[_0x4a64d1(0x34b)](a[_0x4a64d1(0x1c8)])),L(0x3,a['Inject'](me)),L(0x4,a[_0x4a64d1(0x34b)](u[_0x4a64d1(0x318)])),L(0x5,a[_0x4a64d1(0x34b)](Ce)),L(0x6,m[_0x4a64d1(0x2d1)]),L(0x7,a['IUniverInstanceService']),L(0x8,a[_0x4a64d1(0x268)])],fe);var st=Object[_0x4a64d1(0x26f)],it=(_0x290a39,_0x4fb0a5,_0x2da551,_0x486796)=>{const _0x2a64ef=_0x4a64d1;for(var _0x15ee31=_0x486796>0x1?void 0x0:_0x486796?st(_0x4fb0a5,_0x2da551):_0x4fb0a5,_0x3786e4=_0x290a39[_0x2a64ef(0x159)]-0x1,_0x5f0b7e;_0x3786e4>=0x0;_0x3786e4--)(_0x5f0b7e=_0x290a39[_0x3786e4])&&(_0x15ee31=_0x5f0b7e(_0x15ee31)||_0x15ee31);return _0x15ee31;},w=(_0x440afb,_0x3d9c46)=>(_0x2b57b0,_0x2c0f72)=>_0x3d9c46(_0x2b57b0,_0x2c0f72,_0x440afb);const nt=0x12c,rt=0x64,ot=()=>{let _0x4295ab=[],_0x31be7a=!0x1;return _0x259f61=>{const _0x4d2643=_0x31bb;_0x4295ab[_0x4d2643(0x24c)](_0x259f61),_0x31be7a||(_0x31be7a=!0x0,setTimeout(()=>{_0x4295ab['forEach'](_0x145cf2=>_0x145cf2()),_0x4295ab=[],_0x31be7a=!0x1;}));};};let Se=class extends a[_0x4a64d1(0x20b)]{constructor(_0x180b07,_0x4346d9,_0x1b546f,_0x1fb595,_0x36b265,_0x22de8a,_0xf7a5b8,_0x575dcb){const _0x4ea3c0=_0x4a64d1;super(),h(this,'_online',!0x1),h(this,_0x4ea3c0(0x240),!0x1),h(this,'_cursorInfo$',new d[(_0x4ea3c0(0x32d))](new Map())),h(this,_0x4ea3c0(0x169),this[_0x4ea3c0(0x2a5)][_0x4ea3c0(0x238)]()),h(this,_0x4ea3c0(0x144),new d[(_0x4ea3c0(0x32d))]([])),h(this,_0x4ea3c0(0x2d4),this[_0x4ea3c0(0x144)]['pipe'](d[_0x4ea3c0(0x36b)](nt))),h(this,_0x4ea3c0(0x338),a['debounce']((_0x36ca8a,_0x2356bd)=>{const _0x4bcefd=_0x4ea3c0,_0x593cc3={'eventID':m[_0x4bcefd(0x2a3)][_0x4bcefd(0x28d)],'data':{'unitID':this['unitID'],'memberID':this[_0x4bcefd(0x2c9)][_0x4bcefd(0x16e)](),'selection':Ee[_0x4bcefd(0x300)](_0x36ca8a,_0x2356bd[_0x4bcefd(0x1de)])}};this[_0x4bcefd(0x2c9)]['send'](_0x593cc3,this[_0x4bcefd(0x14b)]);},rt)),(this[_0x4ea3c0(0x14b)]=_0x180b07,this[_0x4ea3c0(0x2c9)]=_0x4346d9,this[_0x4ea3c0(0x2bf)]=_0x1b546f,this[_0x4ea3c0(0x114)]=_0x1fb595,this[_0x4ea3c0(0x1fa)]=_0x36b265,this[_0x4ea3c0(0x272)]=_0x22de8a,this[_0x4ea3c0(0x147)]=_0xf7a5b8,this[_0x4ea3c0(0x130)]=_0x575dcb);}get[_0x4a64d1(0x22b)](){const _0x40cad8=_0x4a64d1;return this[_0x40cad8(0x2a5)][_0x40cad8(0x224)]();}get[_0x4a64d1(0x285)](){const _0x679bcb=_0x4a64d1;return this[_0x679bcb(0x144)][_0x679bcb(0x224)]();}[_0x4a64d1(0x197)](){const _0x1004bb=_0x4a64d1;super['dispose'](),this[_0x1004bb(0x2a5)][_0x1004bb(0x14f)](new Map()),this['_cursorInfo$']['complete'](),this[_0x1004bb(0x144)]['next']([]),this[_0x1004bb(0x144)]['complete']();}[_0x4a64d1(0x2fa)](){const _0x558d72=_0x4a64d1;this['_init']||(this[_0x558d72(0x240)]=!0x0,this['_session']['sessionStatus$']['pipe'](d[_0x558d72(0x11a)](this[_0x558d72(0x298)]))[_0x558d72(0x1d2)](_0x4dd1b0=>{const _0x174884=_0x558d72;_0x4dd1b0===u[_0x174884(0x308)][_0x174884(0x1e5)]?this[_0x174884(0x2bd)]():this[_0x174884(0x2f4)]();}),this[_0x558d72(0x2c9)][_0x558d72(0x388)][_0x558d72(0x11d)](d[_0x558d72(0x11a)](this[_0x558d72(0x298)]))[_0x558d72(0x1d2)](_0x5a3637=>{const _0x2e08f9=_0x558d72,_0x30805f=_0x5a3637[_0x2e08f9(0x14c)];_0x30805f===m[_0x2e08f9(0x2a3)][_0x2e08f9(0x28d)]&&this[_0x2e08f9(0x30c)](_0x5a3637),_0x30805f===m[_0x2e08f9(0x2a3)][_0x2e08f9(0x19b)]&&this[_0x2e08f9(0x24d)](_0x5a3637);}),this['_onRefRangeChange'](),this[_0x558d72(0x1ba)](this[_0x558d72(0x147)]['onCommandExecuted'](_0x347982=>{const _0x47f516=_0x558d72;if(this[_0x47f516(0x1d7)]&&_0x347982['id']===g[_0x47f516(0x2ee)]['id']&&_0x347982[_0x47f516(0x30d)][_0x47f516(0x123)]===this[_0x47f516(0x14b)]){const _0x2d9af0=_0x347982[_0x47f516(0x30d)];this[_0x47f516(0x338)](_0x2d9af0[_0x47f516(0x231)],_0x2d9af0[_0x47f516(0x359)][0x0]);}})));}[_0x4a64d1(0x30c)](_0x10aab0){const _0x39152c=_0x4a64d1;var _0x22a52b,_0x34d49d;const {memberID:_0xd8c40a,selection:_0x41263a}=_0x10aab0[_0x39152c(0x2b8)],{sheetName:_0x5970b8,range:_0x2659b0}=Ee[_0x39152c(0x2ff)](_0x41263a),_0x16f232={'name':(_0x34d49d=(_0x22a52b=this['_memberService'][_0x39152c(0x27f)](this[_0x39152c(0x14b)],_0xd8c40a))==null?void 0x0:_0x22a52b[_0x39152c(0x118)])!=null?_0x34d49d:_0x39152c(0x125),'range':this[_0x39152c(0x310)](_0x5970b8,_0x2659b0),'sheetID':_0x5970b8,'color':this['_colorAssignService'][_0x39152c(0x150)](_0xd8c40a),'selection':_0x41263a},_0x31853e=this[_0x39152c(0x22b)];_0x31853e['set'](_0xd8c40a,_0x16f232),this[_0x39152c(0x2a5)][_0x39152c(0x14f)](_0x31853e);}[_0x4a64d1(0x24d)](_0x527a29){const _0x83b122=_0x4a64d1,{memberID:_0x51ef93}=_0x527a29['data'],_0x3ab9d9=this[_0x83b122(0x22b)];_0x3ab9d9[_0x83b122(0x27b)](_0x51ef93),this[_0x83b122(0x2a5)][_0x83b122(0x14f)](_0x3ab9d9);}[_0x4a64d1(0x310)](_0xe99fe3,_0x54fc44){const _0x5b9568=_0x4a64d1;var _0x58352d,_0xf4076e;const _0x4092dd=(_0xf4076e=(_0x58352d=this[_0x5b9568(0x272)][_0x5b9568(0x1c5)](this[_0x5b9568(0x14b)]))==null?void 0x0:_0x58352d['getSheetBySheetId'](_0xe99fe3))==null?void 0x0:_0xf4076e['getMergeData']();return(_0x4092dd==null?void 0x0:_0x4092dd[_0x5b9568(0x122)](_0x1859e3=>a[_0x5b9568(0x366)]['contains'](_0x1859e3,_0x54fc44)))||_0x54fc44;}['_onRefRangeChange'](){const _0x38d0c4=_0x4a64d1,_0x406049=new a[(_0x38d0c4(0x36c))](),_0x1917fa=ot(),_0x184b76=()=>{const _0x2f95fe=_0x38d0c4;_0x406049[_0x2f95fe(0x197)]();const _0x3c1181=(_0x242718,_0x58fb4d,_0x52baa2,_0x199e1f)=>{const _0x52c93a=_0x2f95fe;let _0x1b4ea4=[];switch(_0x242718['id']){case g[_0x52c93a(0x24f)]['DeleteRangeMoveLeftCommandId']:{_0x1b4ea4=g[_0x52c93a(0x304)](_0x242718,_0x199e1f);break;}case g[_0x52c93a(0x24f)][_0x52c93a(0x25c)]:{_0x1b4ea4=g[_0x52c93a(0x3ac)](_0x242718,_0x199e1f);break;}case g[_0x52c93a(0x24f)]['InsertColCommandId']:{_0x1b4ea4=g[_0x52c93a(0x399)](_0x242718,_0x199e1f);break;}case g[_0x52c93a(0x24f)][_0x52c93a(0x295)]:{_0x1b4ea4=g[_0x52c93a(0x12c)](_0x242718,_0x199e1f);break;}case g['EffectRefRangId']['InsertRangeMoveRightCommandId']:{_0x1b4ea4=g[_0x52c93a(0x276)](_0x242718,_0x199e1f);break;}case g['EffectRefRangId']['InsertRowCommandId']:{_0x1b4ea4=g[_0x52c93a(0x15e)](_0x242718,_0x199e1f);break;}case g['EffectRefRangId'][_0x52c93a(0x141)]:{_0x1b4ea4=g[_0x52c93a(0x2b2)](_0x242718,_0x199e1f);break;}case g[_0x52c93a(0x24f)][_0x52c93a(0x1d0)]:{_0x1b4ea4=g[_0x52c93a(0x356)](_0x242718,_0x199e1f);break;}case g['EffectRefRangId'][_0x52c93a(0x1b8)]:{_0x1b4ea4=g[_0x52c93a(0x2a1)](_0x242718,_0x199e1f);break;}}const _0xfa5aca=g['runRefRangeMutations'](_0x1b4ea4,_0x199e1f),_0x59cf34=this['cursorInfo']['get'](_0x58fb4d);if(_0x59cf34&&_0xfa5aca){const _0x26adf8={..._0x59cf34,'range':_0xfa5aca};this[_0x52c93a(0x22b)][_0x52c93a(0x207)](_0x58fb4d,_0x26adf8),_0x1917fa(()=>{const _0x5695eb=_0x52c93a,_0x57ac7a=this[_0x5695eb(0x130)][_0x5695eb(0x2d5)](_0xfa5aca,_0x347d88=>(_0x57ac7a[_0x5695eb(0x197)](),_0x3c1181(_0x347d88,_0x58fb4d,_0x52baa2,_0xfa5aca)));_0x406049['add'](_0x57ac7a);});}return{'redos':[],'undos':[]};};this[_0x2f95fe(0x22b)][_0x2f95fe(0x173)]((_0x2c95cc,_0x21d3d3)=>{const _0xc0a510=_0x2f95fe,{range:_0x5e8d63,sheetID:_0x1d4dfc}=_0x2c95cc,_0x4240ec=this[_0xc0a510(0x130)]['registerRefRange'](_0x5e8d63,_0xd493ce=>(_0x4240ec[_0xc0a510(0x197)](),_0x3c1181(_0xd493ce,_0x21d3d3,_0x1d4dfc,_0x5e8d63)));_0x406049['add'](_0x4240ec);});};this[_0x38d0c4(0x1ba)](a[_0x38d0c4(0x37c)](this[_0x38d0c4(0x2a5)][_0x38d0c4(0x1d2)](()=>{_0x184b76();})));}[_0x4a64d1(0x2bd)](){const _0x53f255=_0x4a64d1;var _0x3c66bd,_0x275ec2;if(this[_0x53f255(0x1d7)]=!0x0,((_0x3c66bd=this[_0x53f255(0x272)]['getFocusedUnit']())==null?void 0x0:_0x3c66bd[_0x53f255(0x129)]())!==this[_0x53f255(0x14b)])return;const _0xbf9e1f=(_0x275ec2=this[_0x53f255(0x2bf)][_0x53f255(0x2df)](g[_0x53f255(0x31e)])[_0x53f255(0x35d)]())==null?void 0x0:_0x275ec2[0x0],_0x8b8725=this[_0x53f255(0x272)][_0x53f255(0x2cd)](a[_0x53f255(0x248)]['UNIVER_SHEET'])['getActiveSheet']();_0xbf9e1f&&_0x8b8725&&this[_0x53f255(0x338)](_0x8b8725[_0x53f255(0x2c8)](),_0xbf9e1f);}[_0x4a64d1(0x2f4)](){const _0x5dcd82=_0x4a64d1;this[_0x5dcd82(0x1d7)]=!0x1;}};Se=it([w(0x2,a[_0x4a64d1(0x34b)](a[_0x4a64d1(0x1c8)])),w(0x3,a[_0x4a64d1(0x34b)](me)),w(0x4,a[_0x4a64d1(0x34b)](u['MemberService'])),w(0x5,a[_0x4a64d1(0x1c7)]),w(0x6,a[_0x4a64d1(0x268)]),w(0x7,a['Inject'](g[_0x4a64d1(0x215)]))],Se);var at=Object['getOwnPropertyDescriptor'],ct=(_0x553871,_0x35253c,_0x49f255,_0x5c365c)=>{const _0x199e72=_0x4a64d1;for(var _0x31bb19=_0x5c365c>0x1?void 0x0:_0x5c365c?at(_0x35253c,_0x49f255):_0x35253c,_0x2e402f=_0x553871[_0x199e72(0x159)]-0x1,_0x2516ca;_0x2e402f>=0x0;_0x2e402f--)(_0x2516ca=_0x553871[_0x2e402f])&&(_0x31bb19=_0x2516ca(_0x31bb19)||_0x31bb19);return _0x31bb19;},ie=(_0x5611f5,_0x202537)=>(_0x54b9be,_0x74f338)=>_0x202537(_0x54b9be,_0x74f338,_0x5611f5);let x=class extends a[_0x4a64d1(0x20b)]{constructor(_0x5dec73,_0x5321ca,_0x138652){const _0x23c7c5=_0x4a64d1;super(),h(this,_0x23c7c5(0x38a),new Map()),h(this,_0x23c7c5(0x2cf),new d[(_0x23c7c5(0x229))]()),(this['_univerInstanceService']=_0x5dec73,this[_0x23c7c5(0x2bf)]=_0x5321ca,this[_0x23c7c5(0x249)]=_0x138652,this['_init']());}[_0x4a64d1(0x197)](){const _0x4f3d60=_0x4a64d1;super[_0x4f3d60(0x197)](),this[_0x4f3d60(0x2cf)]['complete'](),this[_0x4f3d60(0x38a)]['forEach'](_0x7ff17f=>_0x7ff17f['dispose']());}[_0x4a64d1(0x29d)](_0x27082f){const _0x27b688=_0x4a64d1;return this[_0x27b688(0x38a)][_0x27b688(0x158)](_0x27082f)?this[_0x27b688(0x38a)][_0x27b688(0x2df)](_0x27082f)[_0x27b688(0x169)]:this[_0x27b688(0x2cf)][_0x27b688(0x11d)](d[_0x27b688(0x13c)](_0x2e02a2=>_0x2e02a2['unitID']===_0x27082f),d[_0x27b688(0x243)](_0x526bba=>_0x526bba['cursorInfo$']));}['_init'](){const _0x4626b1=_0x4a64d1;this[_0x4626b1(0x272)]['getTypeOfUnitAdded$'](a['UniverInstanceType'][_0x4626b1(0x135)])['pipe'](d['takeUntil'](this[_0x4626b1(0x298)]))[_0x4626b1(0x1d2)](async _0x1dd94e=>{const _0x39d222=_0x4626b1,_0x529141=_0x1dd94e[_0x39d222(0x129)](),_0x761c45=await this[_0x39d222(0x2b9)](_0x529141);this[_0x39d222(0x2cf)][_0x39d222(0x14f)](_0x761c45),this['_entities'][_0x39d222(0x207)](_0x529141,_0x761c45);}),this[_0x4626b1(0x272)][_0x4626b1(0x2e0)](a[_0x4626b1(0x248)]['UNIVER_DOC'])['pipe'](d[_0x4626b1(0x11a)](this['dispose$']))[_0x4626b1(0x11d)](d[_0x4626b1(0x13c)](_0x30c17a=>!_0x30c17a[_0x4626b1(0x129)]()['startsWith']('__')))[_0x4626b1(0x1d2)](async _0x38cf00=>{const _0x42b2b4=_0x4626b1,_0x276db2=_0x38cf00['getUnitId'](),_0x2e177c=await this['_startDocCollabCursor'](_0x276db2);this[_0x42b2b4(0x2cf)]['next'](_0x2e177c),this[_0x42b2b4(0x38a)][_0x42b2b4(0x207)](_0x276db2,_0x2e177c);}),d[_0x4626b1(0x143)](this[_0x4626b1(0x272)][_0x4626b1(0x26d)](a['UniverInstanceType'][_0x4626b1(0x2ec)]),this[_0x4626b1(0x272)]['getTypeOfUnitDisposed$'](a[_0x4626b1(0x248)][_0x4626b1(0x135)]))['pipe'](d['takeUntil'](this[_0x4626b1(0x298)]))[_0x4626b1(0x1d2)](_0x102fcf=>{const _0x3de66d=_0x4626b1,_0x520ba1=_0x102fcf[_0x3de66d(0x129)](),_0x4bbbf5=this[_0x3de66d(0x38a)][_0x3de66d(0x2df)](_0x520ba1);_0x4bbbf5&&(_0x4bbbf5[_0x3de66d(0x197)](),this[_0x3de66d(0x38a)]['delete'](_0x520ba1));});}async[_0x4a64d1(0x2b9)](_0xdc5e18){const _0x79f081=_0x4a64d1,_0x2fa494=await this[_0x79f081(0x249)][_0x79f081(0x38d)](_0xdc5e18),_0x46d8cc=this[_0x79f081(0x2bf)][_0x79f081(0x253)](Se,_0xdc5e18,_0x2fa494);return _0x46d8cc[_0x79f081(0x2fa)](),_0x46d8cc;}async[_0x4a64d1(0x27d)](_0x1403e3){const _0x2964bd=_0x4a64d1,_0x4bbbcc=await this[_0x2964bd(0x249)][_0x2964bd(0x38d)](_0x1403e3),_0x39bd2e=this[_0x2964bd(0x2bf)][_0x2964bd(0x253)](fe,_0x1403e3,_0x4bbbcc);return _0x39bd2e[_0x2964bd(0x2fa)](),_0x39bd2e;}};x=ct([ie(0x0,a[_0x4a64d1(0x1c7)]),ie(0x1,a[_0x4a64d1(0x34b)](a[_0x4a64d1(0x1c8)])),ie(0x2,a['Inject'](u[_0x4a64d1(0x177)]))],x);const K=0x14,Re=0xc8,ne=0x4,lt=0x5;function _t(_0x119737,_0x3e0f01){const _0x154c9e=_0x4a64d1;let {radius:_0x9d8678,width:_0x4ae87d,height:_0x40ea99}=_0x3e0f01;_0x9d8678=_0x9d8678!=null?_0x9d8678:0x0,_0x4ae87d=_0x4ae87d!=null?_0x4ae87d:0x1e,_0x40ea99=_0x40ea99!=null?_0x40ea99:0x1e;let _0x411c16=0x0,_0x3ec18d=0x0,_0x4bda80=0x0;_0x411c16=_0x3ec18d=_0x4bda80=Math[_0x154c9e(0x2cb)](_0x9d8678,_0x4ae87d/0x2,_0x40ea99/0x2),_0x119737[_0x154c9e(0x115)](),_0x119737['moveTo'](_0x411c16,0x0),_0x119737[_0x154c9e(0x255)](_0x4ae87d-_0x3ec18d,0x0),_0x119737['arc'](_0x4ae87d-_0x3ec18d,_0x3ec18d,_0x3ec18d,Math['PI']*0x3/0x2,0x0,!0x1),_0x119737[_0x154c9e(0x255)](_0x4ae87d,_0x40ea99-_0x4bda80),_0x119737[_0x154c9e(0x1c2)](_0x4ae87d-_0x4bda80,_0x40ea99-_0x4bda80,_0x4bda80,0x0,Math['PI']/0x2,!0x1),_0x119737[_0x154c9e(0x255)](0x0,_0x40ea99),_0x119737[_0x154c9e(0x255)](0x0,_0x411c16),_0x119737[_0x154c9e(0x1c2)](_0x411c16,_0x411c16,_0x411c16,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x119737[_0x154c9e(0x21b)](),_0x3e0f01[_0x154c9e(0x2c2)]&&(_0x119737[_0x154c9e(0x31c)](),_0x119737[_0x154c9e(0x22e)]=_0x3e0f01[_0x154c9e(0x2c2)],_0x3e0f01[_0x154c9e(0x113)]===_0x154c9e(0x305)?_0x119737[_0x154c9e(0x2c2)](_0x154c9e(0x305)):_0x119737['fill'](),_0x119737[_0x154c9e(0x30b)]());}class ee extends p[_0x4a64d1(0x32c)]{constructor(_0x25a50a,_0x957100){const _0x455035=_0x4a64d1;super(_0x25a50a,_0x957100),h(this,_0x455035(0x2b0)),h(this,'text'),(this['color']=_0x957100==null?void 0x0:_0x957100[_0x455035(0x2b0)],this[_0x455035(0x16c)]=_0x957100==null?void 0x0:_0x957100[_0x455035(0x16c)]);}static[_0x4a64d1(0x15b)](_0x51c9e2,_0x1cf7e6){const _0x9af37c=_0x4a64d1,{text:_0x3ee16b,color:_0x523cd8}=_0x1cf7e6;_0x51c9e2[_0x9af37c(0x31c)](),_0x51c9e2[_0x9af37c(0x1ae)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x28bea6=_0x51c9e2[_0x9af37c(0x112)](_0x3ee16b)[_0x9af37c(0x33f)],_0x5a7bc7=Math[_0x9af37c(0x2cb)](_0x28bea6+0x2*ne,Re);_t(_0x51c9e2,{'height':K,'radius':0x4,'width':_0x5a7bc7,'fill':_0x523cd8}),_0x51c9e2[_0x9af37c(0x22e)]='#FFF';const _0x46e3cc=ne,_0x4dbb20=K-lt,_0x3d108b=Re-0x2*ne;if(_0x28bea6>_0x3d108b){let _0x126968='',_0x35b0b5=0x0;for(const _0x397af5 of _0x3ee16b){const _0x3fdb29=_0x51c9e2[_0x9af37c(0x112)](_0x397af5)[_0x9af37c(0x33f)];if(_0x35b0b5+_0x3fdb29<=_0x3d108b-_0x51c9e2[_0x9af37c(0x112)]('...')[_0x9af37c(0x33f)])_0x126968+=_0x397af5,_0x35b0b5+=_0x3fdb29;else{_0x126968+=_0x9af37c(0x20c);break;}}_0x51c9e2[_0x9af37c(0x1b3)](_0x126968,_0x46e3cc,_0x4dbb20);}else _0x51c9e2[_0x9af37c(0x1b3)](_0x3ee16b,_0x46e3cc,_0x4dbb20);_0x51c9e2[_0x9af37c(0x30b)]();}[_0x4a64d1(0x156)](_0x3ead68){const _0x281d09=_0x4a64d1;ee[_0x281d09(0x15b)](_0x3ead68,this);}}const re=_0x4a64d1(0x2ba),ht=_0x4a64d1(0x2c1),ut='collab-rect-range-',k=0x6,dt=1.5,oe=0x4,ft=1.5,St=_0x4a64d1(0x151);class De{constructor(_0x437c35,_0x55cabd,_0x560161,_0x4ed96e){const _0x30c59c=_0x4a64d1;h(this,_0x30c59c(0x1f6),[]),h(this,_0x30c59c(0x208),null),h(this,_0x30c59c(0x319),null),h(this,_0x30c59c(0x24e),null),h(this,_0x30c59c(0x331),null),h(this,'_eventUnsubscribe',null),(this[_0x30c59c(0x2bb)]=_0x437c35,this[_0x30c59c(0x1c6)]=_0x55cabd,this[_0x30c59c(0x344)]=_0x560161,this[_0x30c59c(0x225)]=_0x4ed96e,this[_0x30c59c(0x2cc)]());}set[_0x4a64d1(0x299)](_0x51a623){const _0xd6b629=_0x4a64d1;_0x51a623?(this[_0xd6b629(0x24e)]&&this[_0xd6b629(0x24e)][_0xd6b629(0x258)](),this[_0xd6b629(0x319)]&&this['_textBubble']['show']()):(this[_0xd6b629(0x24e)]&&this[_0xd6b629(0x24e)][_0xd6b629(0x19c)](),this['_textBubble']&&this[_0xd6b629(0x319)][_0xd6b629(0x258)]());}['dispose'](){const _0x55ce50=_0x4a64d1;for(const _0x1817a6 of this['_shapes'])_0x1817a6[_0x55ce50(0x197)]();this[_0x55ce50(0x319)]&&this[_0x55ce50(0x319)][_0x55ce50(0x197)](),this['_anchorDot']&&this[_0x55ce50(0x24e)][_0x55ce50(0x197)](),this['_anchor']&&this[_0x55ce50(0x208)][_0x55ce50(0x197)](),this[_0x55ce50(0x2da)]&&this[_0x55ce50(0x2da)]();}[_0x4a64d1(0x2cc)](){const _0x2a829e=_0x4a64d1;var _0x527a03;const {_docSkeleton:_0x43175d,_document:_0x544afa}=this,{color:_0x509a79,name:_0x2efe0e,ranges:_0x2a1a07}=this[_0x2a829e(0x2bb)],_0x193475=_0x544afa[_0x2a829e(0x171)](),{docsLeft:_0x50c43e,docsTop:_0x12d04a}=_0x193475,_0x2b90c5=new b[(_0x2a829e(0x2d6))](_0x193475,_0x43175d);for(const {startOffset:_0x15abfa,endOffset:_0xe0f174,rangeType:_0x27d04c,segmentId:_0x486ee4,segmentPage:_0x11a0c4,collapsed:_0x29b7b8,isActive:_0x179be7}of _0x2a1a07){const _0x5c7589=_0x43175d[_0x2a829e(0x35f)](_0x15abfa,!0x0,_0x486ee4,_0x11a0c4);let _0x1cc506=_0x43175d[_0x2a829e(0x35f)](_0xe0f174,!0x0,_0x486ee4,_0x11a0c4);if(_0x1cc506==null&&(_0x1cc506=_0x43175d[_0x2a829e(0x35f)](_0xe0f174-0x1,!0x1,_0x486ee4,_0x11a0c4)),_0x179be7){const {contentBoxPointGroup:_0x519b8c}=_0x2b90c5[_0x2a829e(0x1dd)](_0x1cc506,_0x1cc506);if(_0x519b8c[_0x2a829e(0x159)]===0x0)continue;this['_drawAnchor'](_0x509a79,_0x519b8c,_0x50c43e,_0x12d04a,_0x2efe0e),this[_0x2a829e(0x2da)]=this[_0x2a829e(0x180)]();}if(_0x5c7589&&_0x1cc506){if(_0x27d04c===a['DOC_RANGE_TYPE']['RECT']){const _0x2b189d=new b[(_0x2a829e(0x3a9))](_0x193475,_0x43175d),{pointGroup:_0xfd75b8}=(_0x527a03=_0x2b189d[_0x2a829e(0x1dd)](_0x5c7589,_0x1cc506))!=null?_0x527a03:{};if(_0xfd75b8==null||_0xfd75b8['length']===0x0)continue;this[_0x2a829e(0x351)](_0x509a79,_0xfd75b8,_0x50c43e,_0x12d04a);}else{if(!_0x29b7b8){const {borderBoxPointGroup:_0x3315c6}=_0x2b90c5['getRangePointData'](_0x5c7589,_0x1cc506);if(_0x3315c6[_0x2a829e(0x159)]===0x0)continue;this[_0x2a829e(0x11f)](_0x509a79,_0x3315c6,_0x50c43e,_0x12d04a);}}}}}[_0x4a64d1(0x283)](_0xda9fb3,_0x311db8,_0x3e9b13,_0x2dcb72,_0x1601e1){const _0x419388=_0x4a64d1,_0x68d672=this[_0x419388(0x20e)](_0x311db8),{left:_0x38189c,top:_0x129412,height:_0x1d82ce}=_0x68d672,_0x4b7c4d=this[_0x419388(0x178)](),_0x343cde=ft/_0x4b7c4d,_0x1c206f=new p[(_0x419388(0x292))](re+a[_0x419388(0x1fc)][_0x419388(0x1fd)](k),{'left':_0x38189c+_0x3e9b13-_0x343cde,'top':_0x129412+_0x2dcb72,'height':_0x1d82ce,'width':dt,'fill':_0xda9fb3||p['getColor'](a[_0x419388(0x11c)][_0x419388(0x29e)],0x0),'strokeWidth':_0x343cde,'stroke':St,'evented':!0x0});this[_0x419388(0x208)]=_0x1c206f,this[_0x419388(0x1c6)][_0x419388(0x1ad)](_0x1c206f,b[_0x419388(0x206)]);const _0x499a0b=new p['Rect'](re+a[_0x419388(0x1fc)][_0x419388(0x1fd)](k),{'left':_0x38189c+_0x3e9b13-_0x343cde,'top':_0x129412+_0x2dcb72-oe/0x2,'height':oe,'width':oe,'fill':_0xda9fb3||p[_0x419388(0x1b2)](a[_0x419388(0x11c)][_0x419388(0x29e)],0x0),'strokeWidth':0x0,'stroke':_0xda9fb3||p['getColor'](a[_0x419388(0x11c)]['black'],0x0),'evented':!0x1});this[_0x419388(0x24e)]=_0x499a0b,this['_scene'][_0x419388(0x1ad)](_0x499a0b,b[_0x419388(0x206)]);const _0x17fcf6=new ee(re+a[_0x419388(0x1fc)][_0x419388(0x1fd)](k),{'left':_0x38189c+_0x3e9b13-_0x343cde,'top':_0x129412+_0x2dcb72-K,'text':_0x1601e1,'color':_0xda9fb3});this['_textBubble']=_0x17fcf6,this[_0x419388(0x1c6)][_0x419388(0x1ad)](_0x17fcf6,b[_0x419388(0x206)]),this[_0x419388(0x299)]=!0x1;}[_0x4a64d1(0x180)](){const _0x2962b8=_0x4a64d1,_0x1a9a1b=this['_anchor'][_0x2962b8(0x18f)][_0x2962b8(0x2e5)](()=>{const _0x216bee=_0x2962b8;this[_0x216bee(0x299)]=!0x0;}),_0x366df4=this[_0x2962b8(0x208)][_0x2962b8(0x1df)][_0x2962b8(0x2e5)](()=>{const _0x52c6a4=_0x2962b8;this[_0x52c6a4(0x331)]&&clearTimeout(this[_0x52c6a4(0x331)]),this[_0x52c6a4(0x331)]=setTimeout(()=>{const _0x55b378=_0x52c6a4;this[_0x55b378(0x299)]=!0x1;},0x7d0);});return()=>{const _0x2a603d=_0x2962b8;_0x1a9a1b[_0x2a603d(0x1b7)](),_0x366df4['unsubscribe']();};}[_0x4a64d1(0x11f)](_0x2e0319,_0x289c6d,_0x4d5ac9,_0x4af292){const _0x19f8a2=_0x4a64d1,_0x5a1268=new a[(_0x19f8a2(0x179))](_0x2e0319)[_0x19f8a2(0x230)](0.2)['toRgbString'](),_0x44066c=new p[(_0x19f8a2(0x203))](ht+a[_0x19f8a2(0x1fc)]['generateRandomId'](k),{'pointsGroup':_0x289c6d,'fill':_0x5a1268||p[_0x19f8a2(0x1b2)](a[_0x19f8a2(0x11c)][_0x19f8a2(0x29e)],0.2),'left':_0x4d5ac9,'top':_0x4af292,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x19f8a2(0x24c)](_0x44066c),this[_0x19f8a2(0x1c6)][_0x19f8a2(0x1ad)](_0x44066c,b[_0x19f8a2(0x206)]);}[_0x4a64d1(0x351)](_0x46c222,_0x53247d,_0x5d48f1,_0x8b9b5d){const _0x5ebb14=_0x4a64d1,_0x360578=new a[(_0x5ebb14(0x179))](_0x46c222)[_0x5ebb14(0x230)](0.2)[_0x5ebb14(0x34e)](),_0x42af3b=new p[(_0x5ebb14(0x203))](ut+a['Tools'][_0x5ebb14(0x1fd)](k),{'pointsGroup':_0x53247d,'fill':_0x360578||p[_0x5ebb14(0x1b2)](a[_0x5ebb14(0x11c)]['black'],0.2),'left':_0x5d48f1,'top':_0x8b9b5d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5ebb14(0x1f6)][_0x5ebb14(0x24c)](_0x42af3b),this[_0x5ebb14(0x1c6)]['addObject'](_0x42af3b,b[_0x5ebb14(0x206)]);}[_0x4a64d1(0x20e)](_0x5a228c){const _0x5ad9c3=_0x5a228c[0x0],_0x13ed44=_0x5ad9c3[0x0],_0x703d6b=_0x5ad9c3[0x2],{x:_0x20bf82,y:_0x461cf9}=_0x13ed44,{x:_0x44c826,y:_0x51409a}=_0x703d6b;return{'left':_0x20bf82,'top':_0x461cf9,'width':_0x44c826-_0x20bf82,'height':_0x51409a-_0x461cf9};}['_getScale'](){const _0x1c2cb3=_0x4a64d1,{scaleX:_0x14839a,scaleY:_0x424203}=this['_scene']['getAncestorScale']();return Math[_0x1c2cb3(0x1e9)](_0x14839a,_0x424203);}}var It=Object[_0x4a64d1(0x26f)],vt=(_0x490a16,_0x579e6a,_0x48a782,_0x494b07)=>{const _0x544827=_0x4a64d1;for(var _0x2cf417=_0x494b07>0x1?void 0x0:_0x494b07?It(_0x579e6a,_0x48a782):_0x579e6a,_0x2d0410=_0x490a16[_0x544827(0x159)]-0x1,_0x1cc358;_0x2d0410>=0x0;_0x2d0410--)(_0x1cc358=_0x490a16[_0x2d0410])&&(_0x2cf417=_0x1cc358(_0x2cf417)||_0x2cf417);return _0x2cf417;},W=(_0x4419bb,_0x485901)=>(_0x20dedd,_0x126310)=>_0x485901(_0x20dedd,_0x126310,_0x4419bb);let Ie=class extends a['RxDisposable']{constructor(_0x2e4046,_0x2eb9b5,_0x423dbf,_0x454aaa,_0xab11e4){const _0x2bf4b6=_0x4a64d1;super(),h(this,_0x2bf4b6(0x2dd),[]),h(this,'_cursors',[]),(this['_context']=_0x2e4046,this[_0x2bf4b6(0x2f6)]=_0x2eb9b5,this[_0x2bf4b6(0x3a1)]=_0x423dbf,this['_commandService']=_0x454aaa,this[_0x2bf4b6(0x205)]=_0xab11e4,this[_0x2bf4b6(0x240)]());}['_init'](){const _0x53c2f6=_0x4a64d1,_0x4bcdb0=this[_0x53c2f6(0x373)][_0x53c2f6(0x123)],_0x1cb499=this[_0x53c2f6(0x2f6)];this[_0x53c2f6(0x1ba)](d[_0x53c2f6(0x21a)]([this['_collabCursorController'][_0x53c2f6(0x29d)](_0x4bcdb0),this['_themeService'][_0x53c2f6(0x221)]])[_0x53c2f6(0x11d)]($[_0x53c2f6(0x3a4)](([_0x59de01,_0x400be9])=>({'skeleton':_0x1cb499[_0x53c2f6(0x286)](),'cursors':[..._0x59de01[_0x53c2f6(0x1b1)]()][_0x53c2f6(0x166)](_0x5362e2=>({..._0x5362e2,'color':_0x400be9[_0x5362e2['color']]}))})))[_0x53c2f6(0x1d2)](_0x605241=>{const _0x1d5d71=_0x53c2f6;if(this[_0x1d5d71(0x2be)](),_0x605241){const {skeleton:_0x2f22a0,cursors:_0x503a2a}=_0x605241;this[_0x1d5d71(0x2a8)](_0x2f22a0,_0x503a2a);}})),this[_0x53c2f6(0x116)](),this[_0x53c2f6(0x3a8)]();}[_0x4a64d1(0x2a8)](_0x2b70a5,_0x302972){const _0x3473a6=_0x4a64d1,{scene:_0x3be28e,mainComponent:_0x5993a4}=this['_context'],_0x335436=_0x302972[_0x3473a6(0x3a4)](_0x51c98a=>new De(_0x51c98a,_0x3be28e,_0x2b70a5,_0x5993a4));this[_0x3473a6(0x2dd)]=_0x335436,this[_0x3473a6(0x153)]=_0x302972;}['_refreshCollabCursors'](){const _0x5d77e6=_0x4a64d1;this[_0x5d77e6(0x2be)]();const {scene:_0x5a3a1a,mainComponent:_0x47290d}=this[_0x5d77e6(0x373)],_0x24595c=this[_0x5d77e6(0x2f6)][_0x5d77e6(0x286)](),_0x1e3eac=this['_cursors'][_0x5d77e6(0x3a4)](_0x43ad9c=>new De(_0x43ad9c,_0x5a3a1a,_0x24595c,_0x47290d));this['_cursorShapes']=_0x1e3eac;}[_0x4a64d1(0x2be)](){const _0x1c3cc4=_0x4a64d1;this[_0x1c3cc4(0x2dd)][_0x1c3cc4(0x173)](_0x4e2664=>_0x4e2664[_0x1c3cc4(0x197)]()),this[_0x1c3cc4(0x2dd)]=[];}[_0x4a64d1(0x3a8)](){const _0x4c9d42=_0x4a64d1,_0x7c381d=[b[_0x4c9d42(0x2e9)]['id']];this[_0x4c9d42(0x1ba)](this[_0x4c9d42(0x147)]['onCommandExecuted'](_0x4f71df=>{const _0x161200=_0x4c9d42;_0x7c381d[_0x161200(0x2ae)](_0x4f71df['id'])&&_0x4f71df['params'][_0x161200(0x123)]===this[_0x161200(0x373)][_0x161200(0x123)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x1494e1=_0x4a64d1;this[_0x1494e1(0x1ba)](a[_0x1494e1(0x2b3)](this[_0x1494e1(0x373)]['engine'][_0x1494e1(0x1b6)])[_0x1494e1(0x11d)]($[_0x1494e1(0x13c)](_0x5d500b=>_0x5d500b[_0x1494e1(0x2f2)]===p[_0x1494e1(0x34a)]['resize']),$[_0x1494e1(0x376)](0x10))[_0x1494e1(0x1d2)](()=>{this['_refreshCollabCursors']();}));}};Ie=vt([W(0x1,a[_0x4a64d1(0x34b)](F['DocSkeletonManagerService'])),W(0x2,a[_0x4a64d1(0x34b)](x)),W(0x3,a[_0x4a64d1(0x268)]),W(0x4,a[_0x4a64d1(0x34b)](a['ThemeService']))],Ie);const gt=0x1,mt=1.5;class Ae extends p[_0x4a64d1(0x32c)]{constructor(_0x5c5696,_0x4bc3d0){const _0x20bdea=_0x4a64d1;super(_0x5c5696,_0x4bc3d0),h(this,_0x20bdea(0x1d4)),h(this,_0x20bdea(0x1a8),!0x1),h(this,_0x20bdea(0x364)),h(this,_0x20bdea(0x25f),''),h(this,_0x20bdea(0x34f),_0x20bdea(0x30f)),h(this,_0x20bdea(0x198)),(_0x4bc3d0&&this[_0x20bdea(0x36e)](_0x4bc3d0),this['onPointerEnter$'][_0x20bdea(0x2e5)](()=>this[_0x20bdea(0x36e)]({'hovered':!0x0})),this[_0x20bdea(0x1df)][_0x20bdea(0x2e5)](()=>this[_0x20bdea(0x36e)]({'hovered':!0x1})));}['setShapeProps'](_0xb3b94c){const _0x4ad1c1=_0x4a64d1;var _0x547e1a,_0x3d2415,_0x44ce20,_0x260fd5,_0x1c07af,_0x474cf2;this['_color']=(_0x547e1a=_0xb3b94c[_0x4ad1c1(0x2b0)])!=null?_0x547e1a:this[_0x4ad1c1(0x1d4)],this[_0x4ad1c1(0x1a8)]=(_0x3d2415=_0xb3b94c[_0x4ad1c1(0x126)])!=null?_0x3d2415:this[_0x4ad1c1(0x1a8)],this[_0x4ad1c1(0x364)]=(_0x44ce20=_0xb3b94c['range'])!=null?_0x44ce20:this[_0x4ad1c1(0x364)],this[_0x4ad1c1(0x25f)]=(_0x260fd5=_0xb3b94c[_0x4ad1c1(0x118)])!=null?_0x260fd5:this[_0x4ad1c1(0x25f)],this['_labelPosition']=(_0x1c07af=_0xb3b94c[_0x4ad1c1(0x2af)])!=null?_0x1c07af:this[_0x4ad1c1(0x34f)],this[_0x4ad1c1(0x198)]=(_0x474cf2=_0xb3b94c[_0x4ad1c1(0x155)])!=null?_0x474cf2:this[_0x4ad1c1(0x198)],this[_0x4ad1c1(0x279)]({'width':_0xb3b94c[_0x4ad1c1(0x33f)],'height':_0xb3b94c['height']});}[_0x4a64d1(0x397)](_0x312869){const _0x908af4=_0x4a64d1,{row:_0x209f20,column:_0x190fbd}=_0x312869;if(_0x209f20>=this[_0x908af4(0x364)][_0x908af4(0x2ea)]&&_0x209f20<=this[_0x908af4(0x364)][_0x908af4(0x2d8)]&&_0x190fbd>=this['_range']['startColumn']&&_0x190fbd<=this['_range'][_0x908af4(0x321)]){this[_0x908af4(0x36e)]({'hovered':!0x0});return;}this[_0x908af4(0x36e)]({'hovered':!0x1});}[_0x4a64d1(0x1f1)](_0x33b77e){return!0x1;}[_0x4a64d1(0x156)](_0x364989){const _0x46d9f7=_0x4a64d1;p['Rect'][_0x46d9f7(0x15b)](_0x364989,{'width':this[_0x46d9f7(0x33f)],'height':this[_0x46d9f7(0x353)],'strokeWidth':mt,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x46d9f7(0x1a8)]&&(_0x364989[_0x46d9f7(0x31c)](),_0x364989[_0x46d9f7(0x323)](0x1,0x0,0x0,0x1,this[_0x46d9f7(0x33f)],this[_0x46d9f7(0x34f)]===_0x46d9f7(0x354)?0x0:-0x14),ee['drawWith'](_0x364989,{'text':this[_0x46d9f7(0x25f)],'color':this[_0x46d9f7(0x1d4)]}),_0x364989[_0x46d9f7(0x30b)]());}}var Ct=Object[_0x4a64d1(0x26f)],pt=(_0x267d60,_0x5da8dd,_0x524e8a,_0x561b42)=>{for(var _0x1c000f=_0x561b42>0x1?void 0x0:_0x561b42?Ct(_0x5da8dd,_0x524e8a):_0x5da8dd,_0x196130=_0x267d60['length']-0x1,_0x59b4d0;_0x196130>=0x0;_0x196130--)(_0x59b4d0=_0x267d60[_0x196130])&&(_0x1c000f=_0x59b4d0(_0x1c000f)||_0x1c000f);return _0x1c000f;},ae=(_0x560be0,_0x41c7ab)=>(_0x502f28,_0x3dbe4e)=>_0x41c7ab(_0x502f28,_0x3dbe4e,_0x560be0);const bt=0x1389;let ve=class extends a[_0x4a64d1(0x20b)]{constructor(_0xc164fb,_0x25d5e4,_0x9ba232,_0x3b54fc){const _0xaa4d08=_0x4a64d1;super(),h(this,'_cursors',new Set()),h(this,'_lastPointer',null),(this[_0xaa4d08(0x373)]=_0xc164fb,this[_0xaa4d08(0x36d)]=_0x25d5e4,this[_0xaa4d08(0x3a1)]=_0x9ba232,this[_0xaa4d08(0x205)]=_0x3b54fc,this[_0xaa4d08(0x240)]());}[_0x4a64d1(0x240)](){const _0x3b6fb8=_0x4a64d1;this[_0x3b6fb8(0x36d)]['currentSkeleton$']['pipe']($['takeUntil'](this[_0x3b6fb8(0x298)]),$[_0x3b6fb8(0x243)](_0x31316b=>{const _0x20ef60=_0x3b6fb8;if(_0x31316b){const _0x3a846b=_0x31316b[_0x20ef60(0x27c)];return d[_0x20ef60(0x21a)](this[_0x20ef60(0x3a1)][_0x20ef60(0x29d)](this[_0x20ef60(0x373)][_0x20ef60(0x123)]),this[_0x20ef60(0x205)]['currentTheme$'])[_0x20ef60(0x11d)]($[_0x20ef60(0x3a4)](([_0x2dbaa3,_0x5e5e05])=>{const _0x38e98b=_0x20ef60,_0x4f3e65=new Map();return _0x2dbaa3[_0x38e98b(0x173)]((_0x267c73,_0x2a5449)=>{const _0xbff92a=_0x38e98b;if(_0x267c73[_0xbff92a(0x266)]===_0x3a846b){const _0xc34c9c={..._0x267c73};_0xc34c9c[_0xbff92a(0x2b0)]=_0x5e5e05[_0x267c73[_0xbff92a(0x2b0)]],_0x4f3e65[_0xbff92a(0x207)](_0x2a5449,_0xc34c9c);}}),{'skeleton':_0x31316b,'cursors':_0x4f3e65};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0x3b6fb8(0x1d2)](({skeleton:_0x12da65,cursors:_0x2f23c6})=>{const _0x19ca17=_0x3b6fb8;this[_0x19ca17(0x2be)](),_0x12da65&&this[_0x19ca17(0x2a8)](_0x12da65,_0x2f23c6);}),this[_0x3b6fb8(0x36d)]['currentSkeleton$'][_0x3b6fb8(0x1d2)](_0x3c21d1=>{const _0x2b7118=_0x3b6fb8;if(_0x3c21d1==null)return;const {skeleton:_0x239d90}=_0x3c21d1,{scene:_0x23ea07}=this['_context'];_0x23ea07[_0x2b7118(0x2c7)][_0x2b7118(0x2e5)](a[_0x2b7118(0x13f)](_0x2d1ecc=>{const _0x2b6889=_0x2b7118;var _0x100d76,_0x3d9842;const {offsetX:_0x50bd00,offsetY:_0x41df37}=_0x2d1ecc,{x:_0x1ce4be,y:_0x963c10}=_0x23ea07[_0x2b6889(0x289)](p[_0x2b6889(0x196)]['FromArray']([_0x50bd00,_0x41df37])),{scaleX:_0x96a752,scaleY:_0x86df01}=_0x23ea07[_0x2b6889(0x389)](),_0x46f3da=_0x23ea07['getViewport'](p[_0x2b6889(0x380)]['VIEW_MAIN']),_0x294705=_0x23ea07['getVpScrollXYInfoByPosToVp'](p[_0x2b6889(0x196)][_0x2b6889(0x32e)]([_0x1ce4be,_0x963c10]),_0x46f3da),_0x244109=_0x239d90[_0x2b6889(0x382)](_0x50bd00,_0x41df37,_0x96a752,_0x86df01,_0x294705);((_0x100d76=this[_0x2b6889(0x31f)])==null?void 0x0:_0x100d76[_0x2b6889(0x35e)])===_0x244109[_0x2b6889(0x35e)]&&((_0x3d9842=this['_lastPointer'])==null?void 0x0:_0x3d9842['row'])===_0x244109[_0x2b6889(0x314)]||this[_0x2b6889(0x153)]['forEach'](_0x3f7f87=>{const _0x24f391=_0x2b6889;_0x3f7f87[_0x24f391(0x397)](_0x244109);});},0x64));});}['_updateCollabCursors'](_0x143b7c,_0x2f023b){const _0x3e8d4e=_0x4a64d1;var _0x2c5275;const _0x378e94=(_0x2c5275=this[_0x3e8d4e(0x36d)][_0x3e8d4e(0x191)]())==null?void 0x0:_0x2c5275[_0x3e8d4e(0x291)];if(!_0x378e94)return;const _0xc98b02=this[_0x3e8d4e(0x1cf)]();if(!_0xc98b02)return;this[_0x3e8d4e(0x153)][_0x3e8d4e(0x173)](_0x4f8879=>{const _0x14e951=_0x3e8d4e;_0x4f8879[_0x14e951(0x218)]();});const {scene:_0x3fa097}=_0xc98b02,_0x3d5643=Et(Array[_0x3e8d4e(0x1eb)](_0x2f023b[_0x3e8d4e(0x1b1)]()))['map'](_0x1cbc0c=>{const _0x4d75f4=_0x3e8d4e,{color:_0x16b6ce,range:_0x3a0f86,name:_0xb4d794,selection:_0x5b82de,sheetID:_0x3c9e00}=_0x1cbc0c,{startColumn:_0x3af3a6,startRow:_0x40c2a0,endColumn:_0x156143,endRow:_0x462929}=_0x3a0f86,_0x353efb=X[_0x4d75f4(0x1fb)](_0x40c2a0,_0x3af3a6,_0x3fa097,_0x378e94),_0x4cd57a=X[_0x4d75f4(0x1fb)](_0x462929,_0x156143,_0x3fa097,_0x378e94),{columnHeaderHeightAndMarginTop:_0x367219}=_0x378e94,{startX:_0x18f6d4,startY:_0x5954bb}=_0x353efb,{endX:_0x56b559,endY:_0xfbeff4}=_0x4cd57a,_0xef2a4b=_0x56b559-_0x18f6d4,_0xb8818b=_0xfbeff4-_0x5954bb,_0x48a9f8={'labelPosition':_0x5954bb-_0x367219>=K?_0x4d75f4(0x30f):'bottom','sheetID':_0x3c9e00,'range':_0x3a0f86,'color':_0x16b6ce,'name':_0xb4d794,'selection':_0x5b82de,'left':_0x18f6d4,'top':_0x5954bb,'width':_0xef2a4b,'height':_0xb8818b,'evented':!0x1,'zIndex':bt};return new Ae(_0xb4d794,_0x48a9f8);});_0x3fa097[_0x3e8d4e(0x369)](_0x3d5643,gt),this[_0x3e8d4e(0x153)]=new Set(_0x3d5643);}[_0x4a64d1(0x2be)](){const _0x4986d5=_0x4a64d1;var _0x456a72;(_0x456a72=this[_0x4986d5(0x153)])==null||_0x456a72[_0x4986d5(0x173)](_0x284a41=>_0x284a41[_0x4986d5(0x197)]());}['_getSheetObject'](){const _0x1c88fe=_0x4a64d1;return X[_0x1c88fe(0x163)](this[_0x1c88fe(0x373)][_0x1c88fe(0x1d1)],this['_context']);}};ve=pt([ae(0x1,a[_0x4a64d1(0x34b)](X['SheetSkeletonManagerService'])),ae(0x2,a[_0x4a64d1(0x34b)](x)),ae(0x3,a[_0x4a64d1(0x34b)](a[_0x4a64d1(0x17c)]))],ve);function Et(_0x580c5f){const _0x269119=_0x4a64d1,_0x5cadc9=new Map();return _0x580c5f[_0x269119(0x173)](_0x1a48a8=>{const _0x15a54b=_0x269119;if(_0x5cadc9[_0x15a54b(0x158)](_0x1a48a8[_0x15a54b(0x247)])){const _0x1a4c25=_0x5cadc9[_0x15a54b(0x2df)](_0x1a48a8[_0x15a54b(0x247)]);_0x1a4c25['name']+=',\x20'+_0x1a48a8[_0x15a54b(0x118)];}else _0x5cadc9[_0x15a54b(0x207)](_0x1a48a8[_0x15a54b(0x247)],_0x1a48a8);}),Array['from'](_0x5cadc9['values']());}var E=function(){const _0x280d46=_0x4a64d1;return E=Object['assign']||function(_0x73ef18){const _0x548dcf=_0x31bb;for(var _0x2de7d5,_0x45ae97=0x1,_0x597b96=arguments[_0x548dcf(0x159)];_0x45ae97<_0x597b96;_0x45ae97++){_0x2de7d5=arguments[_0x45ae97];for(var _0x49632d in _0x2de7d5)Object[_0x548dcf(0x324)][_0x548dcf(0x1d9)]['call'](_0x2de7d5,_0x49632d)&&(_0x73ef18[_0x49632d]=_0x2de7d5[_0x49632d]);}return _0x73ef18;},E[_0x280d46(0x30a)](this,arguments);},Tt=function(_0x10ec78,_0x3c4e1b){const _0x28c513=_0x4a64d1;var _0x1f89ac={};for(var _0x25fa61 in _0x10ec78)Object[_0x28c513(0x324)][_0x28c513(0x1d9)][_0x28c513(0x14e)](_0x10ec78,_0x25fa61)&&_0x3c4e1b[_0x28c513(0x140)](_0x25fa61)<0x0&&(_0x1f89ac[_0x25fa61]=_0x10ec78[_0x25fa61]);if(_0x10ec78!=null&&typeof Object[_0x28c513(0x185)]==_0x28c513(0x2c6)){for(var _0x28bb0e=0x0,_0x25fa61=Object[_0x28c513(0x185)](_0x10ec78);_0x28bb0e<_0x25fa61['length'];_0x28bb0e++)_0x3c4e1b[_0x28c513(0x140)](_0x25fa61[_0x28bb0e])<0x0&&Object['prototype']['propertyIsEnumerable'][_0x28c513(0x14e)](_0x10ec78,_0x25fa61[_0x28bb0e])&&(_0x1f89ac[_0x25fa61[_0x28bb0e]]=_0x10ec78[_0x25fa61[_0x28bb0e]]);}return _0x1f89ac;},pe=M[_0x4a64d1(0x3a2)](function(_0x283cab,_0x32d173){const _0x54e785=_0x4a64d1;var _0x4b4b3f=_0x283cab['icon'],_0x438740=_0x283cab['id'],_0x1520da=_0x283cab['className'],_0x52d9a6=_0x283cab['extend'],_0x2a9570=Tt(_0x283cab,[_0x54e785(0x22c),'id',_0x54e785(0x33a),_0x54e785(0x20f)]),_0xd2a8d5=_0x54e785(0x124)[_0x54e785(0x1c3)](_0x438740,'\x20')[_0x54e785(0x1c3)](_0x1520da||'')[_0x54e785(0x340)](),_0x4d0882=M['useRef']('_'[_0x54e785(0x1c3)](Dt()));return we(_0x4b4b3f,''[_0x54e785(0x1c3)](_0x438740),{'defIds':_0x4b4b3f[_0x54e785(0x1f3)],'idSuffix':_0x4d0882[_0x54e785(0x261)]},E({'ref':_0x32d173,'className':_0xd2a8d5},_0x2a9570),_0x52d9a6);});function we(_0x340a4d,_0x126ba8,_0x1fadf8,_0x2c57b1,_0x183241){const _0xb101e8=_0x4a64d1;return M[_0xb101e8(0x372)](_0x340a4d[_0xb101e8(0x127)],E(E({'key':_0x126ba8},Ot(_0x340a4d,_0x1fadf8,_0x183241)),_0x2c57b1),(Rt(_0x340a4d,_0x1fadf8)[_0xb101e8(0x17d)]||[])[_0xb101e8(0x3a4)](function(_0x3de054,_0x23193a){const _0x189985=_0xb101e8;return we(_0x3de054,''[_0x189985(0x1c3)](_0x126ba8,'-')[_0x189985(0x1c3)](_0x340a4d[_0x189985(0x127)],'-')[_0x189985(0x1c3)](_0x23193a),_0x1fadf8,void 0x0,_0x183241);}));}function Ot(_0x2922b5,_0x5bda37,_0x3974d0){const _0x1f96ff=_0x4a64d1;var _0x4fdfb7=E({},_0x2922b5[_0x1f96ff(0x17a)]);_0x3974d0!=null&&_0x3974d0[_0x1f96ff(0x15f)]&&_0x4fdfb7[_0x1f96ff(0x2c2)]==='colorChannel1'&&(_0x4fdfb7[_0x1f96ff(0x2c2)]=_0x3974d0['colorChannel1']),_0x2922b5[_0x1f96ff(0x127)]===_0x1f96ff(0x38f)&&_0x4fdfb7['id']&&(_0x4fdfb7['id']=_0x4fdfb7['id']+_0x5bda37[_0x1f96ff(0x2b6)]),Object['entries'](_0x4fdfb7)['forEach'](function(_0xfbc8d5){const _0x18bb0e=_0x1f96ff;var _0x3dcfaf=_0xfbc8d5[0x0],_0x494220=_0xfbc8d5[0x1];_0x3dcfaf===_0x18bb0e(0x38f)&&typeof _0x494220==_0x18bb0e(0x209)&&(_0x4fdfb7[_0x3dcfaf]=_0x494220[_0x18bb0e(0x11b)](/url\(#(.*)\)/,'url(#$1'[_0x18bb0e(0x1c3)](_0x5bda37['idSuffix'],')')));});var _0x47d4c8=_0x5bda37[_0x1f96ff(0x1f3)];return!_0x47d4c8||_0x47d4c8[_0x1f96ff(0x159)]===0x0||(_0x2922b5[_0x1f96ff(0x127)]==='use'&&_0x4fdfb7['xlink:href']&&(_0x4fdfb7[_0x1f96ff(0x31a)]=_0x4fdfb7[_0x1f96ff(0x31a)]+_0x5bda37[_0x1f96ff(0x2b6)]),Object[_0x1f96ff(0x254)](_0x4fdfb7)[_0x1f96ff(0x173)](function(_0x5995ae){const _0x3bc8c1=_0x1f96ff;var _0x4d5939=_0x5995ae[0x0],_0x235a61=_0x5995ae[0x1];typeof _0x235a61==_0x3bc8c1(0x209)&&(_0x4fdfb7[_0x4d5939]=_0x235a61[_0x3bc8c1(0x11b)](/url\(#(.*)\)/,_0x3bc8c1(0x1f9)[_0x3bc8c1(0x1c3)](_0x5bda37[_0x3bc8c1(0x2b6)],')')));})),_0x4fdfb7;}function Rt(_0xca3dd,_0x1590b5){const _0x5e7458=_0x4a64d1;var _0x3e3f41,_0x18dc95=_0x1590b5[_0x5e7458(0x1f3)];return!_0x18dc95||_0x18dc95[_0x5e7458(0x159)]===0x0?_0xca3dd:_0xca3dd[_0x5e7458(0x127)]===_0x5e7458(0x119)&&(!((_0x3e3f41=_0xca3dd[_0x5e7458(0x17d)])===null||_0x3e3f41===void 0x0)&&_0x3e3f41[_0x5e7458(0x159)])?E(E({},_0xca3dd),{'children':_0xca3dd[_0x5e7458(0x17d)][_0x5e7458(0x3a4)](function(_0x1ad0e5){const _0x5de5b5=_0x5e7458;return typeof _0x1ad0e5[_0x5de5b5(0x17a)]['id']==_0x5de5b5(0x209)&&_0x18dc95&&_0x18dc95['indexOf'](_0x1ad0e5[_0x5de5b5(0x17a)]['id'])>-0x1?E(E({},_0x1ad0e5),{'attrs':E(E({},_0x1ad0e5[_0x5de5b5(0x17a)]),{'id':_0x1ad0e5[_0x5de5b5(0x17a)]['id']+_0x1590b5[_0x5de5b5(0x2b6)]})}):_0x1ad0e5;})}):_0xca3dd;}function Dt(){const _0x5d98aa=_0x4a64d1;return Math['random']()[_0x5d98aa(0x361)](0x24)['substring'](0x2,0x8);}pe[_0x4a64d1(0x2e2)]=_0x4a64d1(0x234);var Ut={'tag':_0x4a64d1(0x2eb),'attrs':{'fill':_0x4a64d1(0x1e2),'viewBox':_0x4a64d1(0x220),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x4a64d1(0x21e)},'children':[{'tag':'path','attrs':{'stroke':_0x4a64d1(0x1c4),'d':_0x4a64d1(0x264),'strokeLinecap':_0x4a64d1(0x1b9),'strokeLinejoin':_0x4a64d1(0x1b9),'strokeWidth':1.2}}]},{'tag':_0x4a64d1(0x119),'attrs':{},'children':[{'tag':_0x4a64d1(0x1fe),'attrs':{'id':_0x4a64d1(0x133)},'children':[{'tag':'path','attrs':{'fill':_0x4a64d1(0x2a0),'d':_0x4a64d1(0x219)}}]}]}],'defIds':[_0x4a64d1(0x133)]},ye=M[_0x4a64d1(0x3a2)](function(_0x941b2d,_0xf6b120){const _0xada350=_0x4a64d1;return M[_0xada350(0x372)](pe,Object[_0xada350(0x386)]({},_0x941b2d,{'id':_0xada350(0x2de),'ref':_0xf6b120,'icon':Ut}));});ye['displayName']=_0x4a64d1(0x1bb);var Nt={'tag':_0x4a64d1(0x2eb),'attrs':{'fill':_0x4a64d1(0x1e2),'viewBox':_0x4a64d1(0x13a),'width':_0x4a64d1(0x1db),'height':_0x4a64d1(0x1db)},'children':[{'tag':'g','attrs':{'clipPath':_0x4a64d1(0x154)},'children':[{'tag':_0x4a64d1(0x19e),'attrs':{'stroke':_0x4a64d1(0x1c4),'d':_0x4a64d1(0x164),'strokeLinecap':_0x4a64d1(0x1b9),'strokeLinejoin':_0x4a64d1(0x1b9),'strokeWidth':1.2}}]},{'tag':_0x4a64d1(0x119),'attrs':{},'children':[{'tag':_0x4a64d1(0x1fe),'attrs':{'id':_0x4a64d1(0x25d)},'children':[{'tag':_0x4a64d1(0x19e),'attrs':{'fill':'#fff','d':'M0\x200H16V16H0z','transform':_0x4a64d1(0x2e8)}}]}]}],'defIds':[_0x4a64d1(0x25d)]},$e=M[_0x4a64d1(0x3a2)](function(_0x20597e,_0x1f02d4){const _0x497abc=_0x4a64d1;return M[_0x497abc(0x372)](pe,Object[_0x497abc(0x386)]({},_0x20597e,{'id':_0x497abc(0x396),'ref':_0x1f02d4,'icon':Nt}));});$e[_0x4a64d1(0x2e2)]=_0x4a64d1(0x18e);function Mt(_0x263c61){const _0x4aab4e=_0x4a64d1;switch(_0x263c61){case u[_0x4aab4e(0x379)]['OFFLINE']:return _0x4aab4e(0x1a7);case u[_0x4aab4e(0x379)][_0x4aab4e(0x2e3)]:return _0x4aab4e(0x2dc);case u[_0x4aab4e(0x379)][_0x4aab4e(0x330)]:return _0x4aab4e(0x1af);case u[_0x4aab4e(0x379)][_0x4aab4e(0x2f5)]:return _0x4aab4e(0x3ab);case u['CollaborationStatus'][_0x4aab4e(0x188)]:case u[_0x4aab4e(0x379)]['AWAITING_WITH_PENDING']:return _0x4aab4e(0x189);case u[_0x4aab4e(0x379)][_0x4aab4e(0x1a2)]:case u[_0x4aab4e(0x379)][_0x4aab4e(0x322)]:return _0x4aab4e(0x241);}}function xe(_0x52dc9e){const _0x58ee6d=_0x4a64d1,{status$:_0x53d01e}=_0x52dc9e,_0x4adc9e=T[_0x58ee6d(0x370)](_0x53d01e,u[_0x58ee6d(0x379)]['NOT_COLLAB']),_0x32999f=T[_0x58ee6d(0x1b0)](a['LocaleService']),_0x23024a=T[_0x58ee6d(0x1b0)](u['CollaborationSessionService']),_0xab7e59=_0x4adc9e!==u[_0x58ee6d(0x379)][_0x58ee6d(0x1bf)],_0x5dab20=_0x32999f['t'](Mt(_0x4adc9e)),_0x984435=_0xab7e59?P[_0x58ee6d(0x26c)]($e,{}):P['jsx'](ye,{}),_0x569f09=M[_0x58ee6d(0x2c0)](()=>{const _0x4dc40c=_0x58ee6d;_0xab7e59||_0x23024a[_0x4dc40c(0x302)]();},[_0xab7e59,_0x23024a]);function _0x1c3940(){const _0x1a2d10=_0x58ee6d;return P[_0x1a2d10(0x2a4)](_0x1a2d10(0x2f7),{'className':_0x1a2d10(0x342),'onClick':_0x569f09,'children':[P[_0x1a2d10(0x26c)](_0x1a2d10(0x2f7),{'className':D[_0x1a2d10(0x33b)]('univer-flex\x20univer-mr-2\x20univer-text-[20px]',_0xab7e59?_0x1a2d10(0x23d):_0x1a2d10(0x131)),'children':_0x984435}),P['jsx'](_0x1a2d10(0x2f7),{'className':_0x1a2d10(0x157),'children':_0x5dab20})]});}return _0xab7e59?_0x1c3940():P[_0x58ee6d(0x26c)](D[_0x58ee6d(0x1ec)],{'title':_0x32999f['t'](_0x58ee6d(0x1e3)),'children':_0x1c3940()});}var Lt=Object[_0x4a64d1(0x26f)],Pt=(_0x1564ab,_0x33951f,_0x4edf89,_0x55288e)=>{const _0x14aa59=_0x4a64d1;for(var _0x5bb3b1=_0x55288e>0x1?void 0x0:_0x55288e?Lt(_0x33951f,_0x4edf89):_0x33951f,_0x21baf4=_0x1564ab[_0x14aa59(0x159)]-0x1,_0x42f400;_0x21baf4>=0x0;_0x21baf4--)(_0x42f400=_0x1564ab[_0x21baf4])&&(_0x5bb3b1=_0x42f400(_0x5bb3b1)||_0x5bb3b1);return _0x5bb3b1;},V=(_0x2f4c80,_0x3ecee4)=>(_0x1dfde0,_0x352620)=>_0x3ecee4(_0x1dfde0,_0x352620,_0x2f4c80);exports[_0x4a64d1(0x383)]=class extends a[_0x4a64d1(0x1b4)]{constructor(_0x68c700,_0x1c266d,_0x21ad56,_0xbba039){const _0x130275=_0x4a64d1;super(),h(this,_0x130275(0x1f2),new d[(_0x130275(0x32d))](u[_0x130275(0x379)][_0x130275(0x2f5)])),(this[_0x130275(0x272)]=_0x68c700,this[_0x130275(0x2bf)]=_0x1c266d,this[_0x130275(0x287)]=_0x21ad56,this[_0x130275(0x12f)]=_0xbba039,this[_0x130275(0x161)](),this[_0x130275(0x18d)]());}[_0x4a64d1(0x18d)](){const _0x6a9836=_0x4a64d1;this['disposeWithMe'](this['_univerInstanceService'][_0x6a9836(0x343)]['pipe'](d[_0x6a9836(0x243)](()=>{const _0x1b50e7=_0x6a9836,_0x4ea2ed=this[_0x1b50e7(0x272)][_0x1b50e7(0x1dc)]();return _0x4ea2ed?this[_0x1b50e7(0x287)][_0x1b50e7(0x284)](_0x4ea2ed[_0x1b50e7(0x129)]()):d['of'](null);}),d[_0x6a9836(0x243)](_0x112cf7=>_0x112cf7?_0x112cf7[_0x6a9836(0x146)]:d['of'](u[_0x6a9836(0x379)][_0x6a9836(0x2f5)])))[_0x6a9836(0x1d2)](_0x5bd5fb=>{const _0x43ff31=_0x6a9836;this[_0x43ff31(0x1f2)][_0x43ff31(0x14f)](_0x5bd5fb);}));}[_0x4a64d1(0x161)](){const _0x4cba10=_0x4a64d1;this[_0x4cba10(0x1ba)](this['_uiPartsService']['registerComponent'](T[_0x4cba10(0x195)][_0x4cba10(0x39f)],()=>T[_0x4cba10(0x165)](At({'status$':this[_0x4cba10(0x1f2)][_0x4cba10(0x238)]()}),this['_injector'])));}},exports[_0x4a64d1(0x383)]=Pt([V(0x0,a[_0x4a64d1(0x1c7)]),V(0x1,a['Inject'](a[_0x4a64d1(0x1c8)])),V(0x2,a[_0x4a64d1(0x34b)](u['CollaborationController'])),V(0x3,T[_0x4a64d1(0x2ce)])],exports[_0x4a64d1(0x383)]);function At(_0x3c04b4){const {status$:_0xaeebd8}=_0x3c04b4;return function(){const _0x57d0d4=_0x31bb;return P[_0x57d0d4(0x26c)](xe,{'status$':_0xaeebd8});};}var wt=Object[_0x4a64d1(0x26f)],yt=(_0x3cdc45,_0x4aeb1e,_0x306591,_0x57fabc)=>{for(var _0x1973a8=_0x57fabc>0x1?void 0x0:_0x57fabc?wt(_0x4aeb1e,_0x306591):_0x4aeb1e,_0x5a8de9=_0x3cdc45['length']-0x1,_0x5ea9eb;_0x5a8de9>=0x0;_0x5a8de9--)(_0x5ea9eb=_0x3cdc45[_0x5a8de9])&&(_0x1973a8=_0x5ea9eb(_0x1973a8)||_0x1973a8);return _0x1973a8;},y=(_0x176102,_0x5a2398)=>(_0x501e57,_0x165457)=>_0x5a2398(_0x501e57,_0x165457,_0x176102);let q=class extends a[_0x4a64d1(0x1b4)]{constructor(_0xc8b343,_0x301a86,_0x42f0f2,_0x5cac9a,_0x5a8e17,_0x5934ef){const _0x254b45=_0x4a64d1;super(),this[_0x254b45(0x1bd)]=_0xc8b343,this['_localCacheService']=_0x301a86,this['_collaborationUIEventService']=_0x42f0f2,this['_messageService']=_0x5cac9a,this[_0x254b45(0x303)]=_0x5a8e17,this['_localeService']=_0x5934ef,this[_0x254b45(0x172)](),this[_0x254b45(0x1e6)]();}[_0x4a64d1(0x172)](){const _0x5c0e6a=_0x4a64d1;this['disposeWithMe'](this[_0x5c0e6a(0x1bd)][_0x5c0e6a(0x1ea)](()=>{const _0x4571ad=_0x5c0e6a;if(this[_0x4571ad(0x246)][_0x4571ad(0x38e)]['size'])return this['_localeService']['t'](_0x4571ad(0x337));}));}['_initEvent'](){const _0x4ef432=_0x4a64d1;this[_0x4ef432(0x1ba)](this[_0x4ef432(0x339)][_0x4ef432(0x388)][_0x4ef432(0x1d2)](_0x563688=>{const _0x242f6a=_0x4ef432;_0x563688['id']===u[_0x242f6a(0x15d)][_0x242f6a(0x1b5)]&&this[_0x242f6a(0x307)]['show']({'type':D[_0x242f6a(0x24a)][_0x242f6a(0x306)],'content':this[_0x242f6a(0x13e)]['t'](_0x242f6a(0x267))}),_0x563688['id']===u[_0x242f6a(0x15d)][_0x242f6a(0x14d)]&&this[_0x242f6a(0x307)][_0x242f6a(0x19c)]({'type':D['MessageType'][_0x242f6a(0x306)],'content':this[_0x242f6a(0x13e)]['t']('collaboration.closeRoom')}),_0x563688['id']===u[_0x242f6a(0x15d)]['PERMISSION_DENIED']&&this[_0x242f6a(0x303)][_0x242f6a(0x19c)]({'title':this[_0x242f6a(0x13e)]['t'](_0x242f6a(0x24b)),'content':this[_0x242f6a(0x13e)]['t'](_0x242f6a(0x1e7)),'type':_0x242f6a(0x201),'duration':0x0}),_0x563688['id']===u[_0x242f6a(0x15d)][_0x242f6a(0x2e3)]&&this['_messageService']['show']({'type':D[_0x242f6a(0x24a)]['Error'],'content':this['_localeService']['t'](_0x242f6a(0x3a0))+'('+_0x563688['data']+')'}),_0x563688['id']===u[_0x242f6a(0x15d)][_0x242f6a(0x136)]&&this[_0x242f6a(0x307)]['show']({'type':D[_0x242f6a(0x24a)][_0x242f6a(0x306)],'content':this['_localeService']['t'](_0x563688[_0x242f6a(0x2b8)]||'')}),_0x563688['id']===u[_0x242f6a(0x15d)][_0x242f6a(0x228)]&&this[_0x242f6a(0x307)][_0x242f6a(0x19c)]({'type':D[_0x242f6a(0x24a)][_0x242f6a(0x306)],'content':this[_0x242f6a(0x13e)]['t']('session.will-retry')}),_0x563688['id']===u[_0x242f6a(0x15d)][_0x242f6a(0x194)]&&this['_messageService'][_0x242f6a(0x19c)]({'type':D['MessageType'][_0x242f6a(0x391)],'content':this[_0x242f6a(0x13e)]['t'](_0x242f6a(0x320))}),_0x563688['id']===u[_0x242f6a(0x15d)][_0x242f6a(0x1c0)]&&this['_messageService'][_0x242f6a(0x19c)]({'type':D['MessageType'][_0x242f6a(0x391)],'content':this['_localeService']['t'](_0x242f6a(0x17f))});}));}};q=yt([y(0x0,T[_0x4a64d1(0x30e)]),y(0x1,u[_0x4a64d1(0x312)]),y(0x2,a[_0x4a64d1(0x34b)](u[_0x4a64d1(0x145)])),y(0x3,T[_0x4a64d1(0x20a)]),y(0x4,T[_0x4a64d1(0x346)]),y(0x5,a['Inject'](a['LocaleService']))],q);const $t='collaboration-client-ui.config',Ue={},be=a['createIdentifier'](_0x4a64d1(0x381));var xt=Object[_0x4a64d1(0x26f)],jt=(_0xc592e7,_0x479d96,_0x1d2c58,_0x53e82e)=>{const _0x12a0a8=_0x4a64d1;for(var _0x419601=_0x53e82e>0x1?void 0x0:_0x53e82e?xt(_0x479d96,_0x1d2c58):_0x479d96,_0x218bb7=_0xc592e7[_0x12a0a8(0x159)]-0x1,_0x4deabc;_0x218bb7>=0x0;_0x218bb7--)(_0x4deabc=_0xc592e7[_0x218bb7])&&(_0x419601=_0x4deabc(_0x419601)||_0x419601);return _0x419601;},H=(_0x5f5150,_0x25a70e)=>(_0x5e43e7,_0x502a77)=>_0x25a70e(_0x5e43e7,_0x502a77,_0x5f5150);exports['CollaborationDataLoaderController']=class extends a['RxDisposable']{constructor(_0x124af7,_0x23efe7,_0x48d060,_0x555ad9,_0x4c97cd){const _0x3dd683=_0x4a64d1;super(),this[_0x3dd683(0x214)]=_0x124af7,this[_0x3dd683(0x32f)]=_0x23efe7,this[_0x3dd683(0x147)]=_0x48d060,this[_0x3dd683(0x37a)]=_0x555ad9,_0x4c97cd?_0x4c97cd==null||_0x4c97cd[_0x3dd683(0x395)]()[_0x3dd683(0x326)](()=>this['_init']()):(this[_0x3dd683(0x32f)][_0x3dd683(0x28c)](_0x3dd683(0x182),_0x3dd683(0x1a9)),this[_0x3dd683(0x240)]());}async[_0x4a64d1(0x240)](){const _0x6da71d=_0x4a64d1,_0x17bab6=this[_0x6da71d(0x214)][_0x6da71d(0x290)](_0x6da71d(0x1d1)),_0x3a79ee=this[_0x6da71d(0x214)]['getParam'](_0x6da71d(0x2f2)),_0x2bd87c=this['_urlService'][_0x6da71d(0x290)](_0x6da71d(0x1a3));if(!_0x17bab6||!_0x3a79ee){this['_logService'][_0x6da71d(0x28c)](_0x6da71d(0x182),_0x6da71d(0x18a));return;}const _0x34bdea=await this[_0x6da71d(0x37a)][_0x6da71d(0x199)](_0x17bab6,Number(_0x3a79ee),_0x2bd87c);_0x34bdea&&_0x34bdea instanceof a[_0x6da71d(0x335)]&&this[_0x6da71d(0x1d5)](_0x34bdea);}async[_0x4a64d1(0x1d5)](_0xa90750){const _0x477e85=_0x4a64d1;await this['_updateSubUnitFromURLParams'](_0xa90750),_0xa90750[_0x477e85(0x317)][_0x477e85(0x11d)](d['takeUntil'](this[_0x477e85(0x298)]))[_0x477e85(0x1d2)](_0xf5d150=>{const _0x220ff7=_0x477e85;_0xf5d150&&this[_0x220ff7(0x217)](_0xf5d150);}),this[_0x477e85(0x214)][_0x477e85(0x39c)][_0x477e85(0x11d)](d['takeUntil'](this[_0x477e85(0x298)]))[_0x477e85(0x1d2)](()=>this['_updateSubUnitFromURLParams'](_0xa90750));}[_0x4a64d1(0x217)](_0x4dad50,_0x4b4cd4=!0x1){const _0x4af874=_0x4a64d1,_0x494529=this[_0x4af874(0x214)][_0x4af874(0x290)](_0x4af874(0x1a3));_0x4dad50[_0x4af874(0x2c8)]()!==_0x494529&&this[_0x4af874(0x214)]['setParam'](_0x4af874(0x1a3),_0x4dad50[_0x4af874(0x2c8)](),_0x4b4cd4);}async[_0x4a64d1(0x29a)](_0x4b987d){const _0x52d0d3=_0x4a64d1;var _0x3aa43a;const _0x289322=this[_0x52d0d3(0x214)][_0x52d0d3(0x290)](_0x52d0d3(0x1a3));if(!_0x289322||!_0x4b987d['getSheetBySheetId'](_0x289322)){const _0x2de940=_0x4b987d[_0x52d0d3(0x21c)]()[0x0],_0x283b58=_0x4b987d['getSheetBySheetId'](_0x2de940);if(!_0x283b58)return;this[_0x52d0d3(0x217)](_0x283b58,!0x0),await this[_0x52d0d3(0x147)]['executeCommand'](g[_0x52d0d3(0x32a)]['id'],{'unitId':_0x4b987d[_0x52d0d3(0x129)](),'subUnitId':_0x2de940});return;}((_0x3aa43a=_0x4b987d[_0x52d0d3(0x394)]())==null?void 0x0:_0x3aa43a[_0x52d0d3(0x2c8)]())!==_0x289322&&await this[_0x52d0d3(0x147)][_0x52d0d3(0x3aa)](g[_0x52d0d3(0x32a)]['id'],{'unitId':_0x4b987d[_0x52d0d3(0x129)](),'subUnitId':_0x289322});}},exports[_0x4a64d1(0x237)]=jt([H(0x0,be),H(0x1,a[_0x4a64d1(0x309)]),H(0x2,a['ICommandService']),H(0x3,a[_0x4a64d1(0x34b)](u[_0x4a64d1(0x371)])),H(0x4,a[_0x4a64d1(0x390)](Ke[_0x4a64d1(0x1bc)]))],exports[_0x4a64d1(0x237)]);var Bt=Object[_0x4a64d1(0x26f)],kt=(_0x2bbfa9,_0x89202d,_0xbbd9c6,_0x251da0)=>{const _0x55e0ed=_0x4a64d1;for(var _0x1571da=_0x251da0>0x1?void 0x0:_0x251da0?Bt(_0x89202d,_0xbbd9c6):_0x89202d,_0x4529de=_0x2bbfa9[_0x55e0ed(0x159)]-0x1,_0x490b02;_0x4529de>=0x0;_0x4529de--)(_0x490b02=_0x2bbfa9[_0x4529de])&&(_0x1571da=_0x490b02(_0x1571da)||_0x1571da);return _0x1571da;},ce=(_0x2cd3f6,_0x58c867)=>(_0x5a6d02,_0x46d6e4)=>_0x58c867(_0x5a6d02,_0x46d6e4,_0x2cd3f6);let z=class{constructor(_0x63c6f7,_0x3b28e3,_0x15a399){const _0x354271=_0x4a64d1;this[_0x354271(0x2bf)]=_0x63c6f7,this[_0x354271(0x348)]=_0x3b28e3,this[_0x354271(0x336)]=_0x15a399;}[_0x4a64d1(0x28e)](_0x2c5573){const _0x5f55ec=_0x4a64d1;this[_0x5f55ec(0x250)](_0x2c5573),this[_0x5f55ec(0x375)](_0x2c5573);}[_0x4a64d1(0x1a0)](_0x329ba6){const _0x24a27c=_0x4a64d1,{unitID:_0x25271f}=_0x329ba6,_0x34529f=this[_0x24a27c(0x336)][_0x24a27c(0x1d3)](_0x25271f)[_0x24a27c(0x15c)](b[_0x24a27c(0x1ee)]),{redoCache:_0x451c35}=_0x34529f[_0x24a27c(0x378)]();if(_0x451c35[_0x24a27c(0x159)]===0x0)return _0x329ba6;let _0x21a4a0=a['Tools'][_0x24a27c(0x1ce)](_0x329ba6[_0x24a27c(0x2fd)][0x0]);for(let _0xd3d40d=0x0;_0xd3d40d<_0x451c35[_0x24a27c(0x159)];_0xd3d40d++){const _0xd3b7b3={'id':_0x24a27c(0x23b),'params':{..._0x451c35[_0xd3d40d]}},_0x2e67f2=this[_0x24a27c(0x348)][_0x24a27c(0x2b5)](_0x21a4a0,_0xd3b7b3,!0x1);if(m[_0x24a27c(0x2a7)](_0x2e67f2))throw _0x2e67f2[_0x24a27c(0x201)];_0x21a4a0=_0x2e67f2[_0x24a27c(0x32b)];}return{...a['Tools'][_0x24a27c(0x1ce)](_0x329ba6),'mutations':[_0x21a4a0]};}[_0x4a64d1(0x250)](_0x433400){const _0x486627=_0x4a64d1,{unitID:_0x7bd30e}=_0x433400,_0x22ffb0=this['_renderManagerService'][_0x486627(0x1d3)](_0x7bd30e)[_0x486627(0x15c)](b['DocIMEInputManagerService']),{undoCache:_0x508fed,redoCache:_0x37a582}=_0x22ffb0[_0x486627(0x378)]();if(_0x508fed[_0x486627(0x159)]===0x0||_0x37a582['length']===0x0)return;const _0x576178=[],_0x140e4e=[];let _0x160ff4=a[_0x486627(0x1fc)][_0x486627(0x1ce)](_0x433400['mutations'][0x0]),_0x1a9c67=a[_0x486627(0x1fc)][_0x486627(0x1ce)](_0x433400['mutations'][0x0]);for(let _0x182d82=_0x508fed[_0x486627(0x159)]-0x1;_0x182d82>=0x0;_0x182d82--){const _0x2fb8bc={'id':'doc.mutation.rich-text-editing','params':{..._0x508fed[_0x182d82]}},_0x11d48d={'id':_0x486627(0x23b),'params':{..._0x37a582[_0x182d82]}},_0x47f553=this[_0x486627(0x348)][_0x486627(0x2b5)](_0x160ff4,_0x2fb8bc,!0x1),_0x4156fa=this['_transformService'][_0x486627(0x2b5)](_0x1a9c67,_0x11d48d,!0x1);if(m[_0x486627(0x2a7)](_0x47f553))throw _0x47f553[_0x486627(0x201)];if(m[_0x486627(0x2a7)](_0x4156fa))throw _0x4156fa[_0x486627(0x201)];_0x576178[_0x486627(0x2d7)](_0x47f553[_0x486627(0x273)]['params']),_0x140e4e[_0x486627(0x2d7)](_0x4156fa['m2Prime'][_0x486627(0x30d)]),_0x160ff4=_0x47f553[_0x486627(0x32b)],_0x1a9c67=_0x4156fa[_0x486627(0x32b)];}_0x22ffb0['setUndoRedoMutationParamsCache']({'undoCache':_0x576178,'redoCache':_0x140e4e});}[_0x4a64d1(0x375)](_0x4a76cd){const _0x7d4fa7=_0x4a64d1,{unitID:_0x1c47a0}=_0x4a76cd,_0x4df7aa=this[_0x7d4fa7(0x336)]['getRenderById'](_0x1c47a0)[_0x7d4fa7(0x15c)](b[_0x7d4fa7(0x1ee)]),_0x1ba3cc=_0x4df7aa['getActiveRange']();if(_0x1ba3cc==null)return;const _0x2c9e5f=[{'id':_0x7d4fa7(0x23b),'params':{'unitId':_0x4a76cd[_0x7d4fa7(0x14b)],'actions':null,'textRanges':[_0x1ba3cc]}}],_0x55849c=this['_transformService']['transformMutationsWithChangeset'](_0x4a76cd,_0x2c9e5f);if(!m[_0x7d4fa7(0x328)](_0x55849c))throw _0x55849c[_0x7d4fa7(0x201)];const _0x5b34af=_0x55849c['m2Prime'][0x0][_0x7d4fa7(0x30d)][_0x7d4fa7(0x360)];Array[_0x7d4fa7(0x387)](_0x5b34af)&&_0x5b34af['length']&&_0x4df7aa[_0x7d4fa7(0x327)](_0x5b34af[0x0]);}};z=kt([ce(0x0,a['Inject'](a[_0x4a64d1(0x1c8)])),ce(0x1,m[_0x4a64d1(0x2d1)]),ce(0x2,p[_0x4a64d1(0x200)])],z);var Ht=Object[_0x4a64d1(0x26f)],Yt=(_0x4ea8f9,_0x519431,_0x5b97a4,_0x1d4270)=>{const _0x5e14ff=_0x4a64d1;for(var _0xda1abc=_0x1d4270>0x1?void 0x0:_0x1d4270?Ht(_0x519431,_0x5b97a4):_0x519431,_0x4dd5db=_0x4ea8f9[_0x5e14ff(0x159)]-0x1,_0x3cde1a;_0x4dd5db>=0x0;_0x4dd5db--)(_0x3cde1a=_0x4ea8f9[_0x4dd5db])&&(_0xda1abc=_0x3cde1a(_0xda1abc)||_0xda1abc);return _0xda1abc;},le=(_0x114435,_0x392089)=>(_0x36bdc4,_0x3a5116)=>_0x392089(_0x36bdc4,_0x3a5116,_0x114435);let J=class{constructor(_0x121565,_0x5e2059,_0x1ac085){const _0x4ebeb1=_0x4a64d1;this[_0x4ebeb1(0x2bf)]=_0x121565,this[_0x4ebeb1(0x348)]=_0x5e2059,this[_0x4ebeb1(0x293)]=_0x1ac085;}[_0x4a64d1(0x385)](_0x84b812){this['_transformHistoryAndStateStack'](_0x84b812);}['transformRemoteChangeset'](_0x35025a){const _0x2de4ea=_0x4a64d1,{unitID:_0x46ece8}=_0x35025a,{collaboration:_0x59b70f}=this[_0x2de4ea(0x293)][_0x2de4ea(0x1cb)](_0x46ece8);if(_0x59b70f[_0x2de4ea(0x159)]===0x0)return _0x35025a;let _0x36b2ee=a[_0x2de4ea(0x1fc)]['deepClone'](_0x35025a[_0x2de4ea(0x2fd)][0x0]);for(let _0x36aadb=0x0;_0x36aadb<_0x59b70f['length'];_0x36aadb++){const _0x1b4f2d={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x59b70f[_0x36aadb][_0x2de4ea(0x123)],..._0x59b70f[_0x36aadb]['redoState']}},_0x197ebd=this[_0x2de4ea(0x348)]['transformMutation'](_0x36b2ee,_0x1b4f2d,!0x1);if(m[_0x2de4ea(0x2a7)](_0x197ebd))throw _0x197ebd[_0x2de4ea(0x201)];_0x36b2ee=_0x197ebd[_0x2de4ea(0x32b)];}return{...a[_0x2de4ea(0x1fc)][_0x2de4ea(0x1ce)](_0x35025a),'mutations':[_0x36b2ee]};}[_0x4a64d1(0x29b)](_0x377340){const _0x5718f8=_0x4a64d1,{unitID:_0x3667aa}=_0x377340,{history:_0x94da6f,collaboration:_0x5c7c7f}=this['_docStateChangeManagerService']['getStateCache'](_0x3667aa);if(_0x94da6f[_0x5718f8(0x159)]===0x0&&_0x5c7c7f['length']===0x0)return;const _0x452ec7=[],_0x336bb2=[];let _0x18c4e1=a[_0x5718f8(0x1fc)][_0x5718f8(0x1ce)](_0x377340[_0x5718f8(0x2fd)][0x0]),_0x57a1a4=a[_0x5718f8(0x1fc)]['deepClone'](_0x377340[_0x5718f8(0x2fd)][0x0]);for(let _0x3c4d11=_0x94da6f[_0x5718f8(0x159)]-0x1;_0x3c4d11>=0x0;_0x3c4d11--){const _0x33ead4={'id':_0x5718f8(0x23b),'params':{'unitId':_0x94da6f[_0x3c4d11][_0x5718f8(0x123)],..._0x94da6f[_0x3c4d11][_0x5718f8(0x341)]}},_0x35b872={'id':_0x5718f8(0x23b),'params':{'unitId':_0x94da6f[_0x3c4d11][_0x5718f8(0x123)],..._0x94da6f[_0x3c4d11][_0x5718f8(0x34c)]}},_0x503a31=this[_0x5718f8(0x348)][_0x5718f8(0x2b5)](_0x18c4e1,_0x33ead4,!0x1),_0x456307=this['_transformService'][_0x5718f8(0x2b5)](_0x57a1a4,_0x35b872,!0x1);if(m['isTransformMutationFailure'](_0x503a31))throw _0x503a31[_0x5718f8(0x201)];if(m[_0x5718f8(0x2a7)](_0x456307))throw _0x456307[_0x5718f8(0x201)];_0x452ec7[_0x5718f8(0x2d7)]({..._0x94da6f[_0x3c4d11],'undoState':_0x503a31[_0x5718f8(0x273)][_0x5718f8(0x30d)],'redoState':_0x456307['m2Prime'][_0x5718f8(0x30d)]}),_0x18c4e1=_0x503a31['m1Prime'],_0x57a1a4=_0x456307[_0x5718f8(0x32b)];}_0x18c4e1=a[_0x5718f8(0x1fc)]['deepClone'](_0x377340[_0x5718f8(0x2fd)][0x0]),_0x57a1a4=a['Tools'][_0x5718f8(0x1ce)](_0x377340[_0x5718f8(0x2fd)][0x0]);for(let _0x32aeca=_0x5c7c7f[_0x5718f8(0x159)]-0x1;_0x32aeca>=0x0;_0x32aeca--){const _0x3f72e3={'id':_0x5718f8(0x23b),'params':{'unitId':_0x5c7c7f[_0x32aeca][_0x5718f8(0x123)],..._0x5c7c7f[_0x32aeca][_0x5718f8(0x341)]}},_0x5ca608={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5c7c7f[_0x32aeca]['unitId'],..._0x5c7c7f[_0x32aeca][_0x5718f8(0x34c)]}},_0x44466f=this['_transformService']['transformMutation'](_0x18c4e1,_0x3f72e3,!0x1),_0x362482=this[_0x5718f8(0x348)][_0x5718f8(0x2b5)](_0x57a1a4,_0x5ca608,!0x1);if(m[_0x5718f8(0x2a7)](_0x44466f))throw _0x44466f[_0x5718f8(0x201)];if(m[_0x5718f8(0x2a7)](_0x362482))throw _0x362482[_0x5718f8(0x201)];_0x336bb2['unshift']({..._0x5c7c7f[_0x32aeca],'undoState':_0x44466f[_0x5718f8(0x273)][_0x5718f8(0x30d)],'redoState':_0x362482[_0x5718f8(0x273)][_0x5718f8(0x30d)]}),_0x18c4e1=_0x44466f[_0x5718f8(0x32b)],_0x57a1a4=_0x362482[_0x5718f8(0x32b)];}this['_docStateChangeManagerService']['setStateCache'](_0x3667aa,{'history':_0x452ec7,'collaboration':_0x336bb2});}};function _0x5436(){const _0x2fcf91=['7773684ARraww','mergeOverrideWithDependencies','_init','collabStatus.synced','clearTimeout','switchMap','rxjs/operators','popstate','_localCacheService','selection','UniverInstanceType','_collabSessionService','MessageType','permission.title','push','_onCursorDelete','_anchorDot','EffectRefRangId','_transformUndoRedoStack','pluginName','shareReplay','createInstance','entries','lineTo','65668uLIQMe','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','hide','_id','invokeId','@univerjs/engine-formula','DeleteRangeMoveUpCommandId','on-line-single_clip0_910_349','_doCreateSocket','_name','setParam','current','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','INVALID_INVITE_CODE','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','react','sheetID','collaboration.single-unit.warning','ICommandService','getItem','saveImage','YUUMI_RATE_OVER_LIMIT','jsx','getTypeOfUnitDisposed$','YUUMI_AI_RUN_FAILED','getOwnPropertyDescriptor','verdancy600','distinctUntilChanged','_univerInstanceService','m2Prime','clearInterval','ticket','handleInsertRangeMoveRight','href','body','transformByState','INVITE_CODE_HAS_BEEN_UES','delete','sheetId','_startDocCollabCursor','_imageIoService','getMember','fromEvent','complete','_localStorageService','_drawAnchor','getCollabEntity$','roomMembers','getSkeleton','_collaborationController','@univerjs/sheets','getRelativeToViewportCoord','_selfUnitIDs','DocCollaborationEntity','debug','UPDATE_CURSOR','transformIMECache','COMPLETION_FINISHED','getParam','skeleton','Rect','_docStateChangeManagerService','HTTPService','InsertRangeMoveDownCommandId','LICENSE_DISTRO_REJECTED','onCommandExecuted','dispose$','_hover','_updateSubUnitFromURLParams','_transformHistoryAndStateStack','split','getCollabCursors$','black','getLocalCacheKey','#fff','handleIRemoveRow','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','CollaborationEvent','jsxs','_cursorInfo$','history','isTransformMutationFailure','_updateCollabCursors','jiqing500','UniverCollaborationClientUIPlugin','getCurrentRevOfUnit','pushState','UnitStatus','includes','labelPosition','color','@univerjs/core','handleMoveRange','fromEventSubject','touchDependencies','transformMutation','idSuffix','UNRECOGNIZED','data','_startSheetCollabCursor','collab-text-anchor-','_cursor','NOT_FOUND','_toggleOnline','_removeCollabCursors','_injector','useCallback','collab-text-range-','fill','Module','runId','_handleHeartbeatEvent','function','onPointerMove$','getSheetId','_session','ALREADY_EXISTS','min','_render','getCurrentUnitForType','IUIPartsService','_entityInit$','code','ITransformService','442NUWsDo','923248bzfjTV','roomMembers$','registerRefRange','NodePositionConvertToCursor','unshift','endRow','wsSessionTicketUrl','_eventUnsubscribe','Plugin','collabStatus.conflict','_cursorShapes','off-line-single','get','getTypeOfUnitAdded$','[RemoteUniscriptService]:\x20no\x20focused\x20unit','displayName','CONFLICT','@univerjs/design','subscribeEvent','key','_syncEditingCollabCursorService','translate(.97)','SetDocZoomRatioOperation','startRow','svg','UNIVER_DOC','send','SetSelectionsOperation','_docClipboardService','_cachedData','7LeRsjp','type','_getSaveTimeout','_toggleOffline','NOT_COLLAB','_docSkeletonManagerService','div','addEventListener','UNDEFINED','init','@univerjs/rpc','_send','mutations','LICENSE_EXPORT_SIZE_EXCEEDED','deserializeRangeWithSheet','serializeRangeWithSheet','WECHAT_HAS_BEEN_BOUND','reconnect','_notificationService','handleDeleteRangeMoveLeft','evenodd','Warning','_messageService','SessionStatus','ILogService','apply','restore','_onCursorUpdate','params','IBeforeCloseService','top','_getMergeRange','createSocket','ILocalCacheService','90tRqzhz','row','RECT','USER_NOT_INVITED_CODE','activeSheet$','MemberService','_textBubble','xlink:href','YUUMI_ALL_TABLES_IS_INVALID','save','_scheduleClearOtherTimer','SheetsSelectionsService','_lastPointer','session.connection-failed','endColumn','PENDING','transform','prototype','gold400','then','setActiveRange','isTransformMutationsWithChangesetSuccess','result','SetWorksheetActivateCommand','m1Prime','Shape','BehaviorSubject','FromArray','_logService','FETCH_MISS','_hideTimer','_heartbeatTimer','_unitStatus','unload','Workbook','_renderManagerService','collaboration-client.offline-data-not-saved','_updateLocalCursor','_collaborationUIEventService','className','clsx','_clearOtherTimers','post','_removeClearOtherTimer','width','trim','undoState','univer-flex\x20univer-items-center','focused$','_docSkeleton','TOO_MANY_REQUESTS','INotificationService','YUUMI_NO_CUBOID_FOR_QUESTION','_transformService','SheetCollabCursorShape','TRANSFORM_CHANGE_OBSERVABLE_TYPE','Inject','redoState','@univerjs/docs','toRgbString','_labelPosition','NO_OTHER_CLIENTS_EDITING','_drawRectRange','_docSyncEditingCollabCursorService','height','bottom','enableLocalCache','handleIRemoveCol','_scheduleHeartbeat','syncEditingCollabCursor','selections','ILocalStorageService','defineProperty','_getSessionTicket','getCurrentSelections','column','findNodePositionByCharIndex','textRanges','toString','_registerRenderDependencies','_configService','_range','_scheduleSaving','Rectangle','DEFAULT_WS_SESSION_TICKET_URL','BrowserCollaborationSocketService','addObjects','sessionTicket','debounceTime','DisposableCollection','_sheetSkeletonManagerService','setShapeProps','CollaborationController','useObservable','DataLoaderService','createElement','_context','MUTATION','_transformPreviousActiveRange','throttleTime','size','getUndoRedoMutationParamsCache','CollaborationStatus','_dataLoaderService','LocaleService','toDisposable','setItem','_docTransformStateCacheService','INVITE_CODE_ALREADY_BOUND','SHEET_VIEWPORT_KEY','uni.network.url-service','getCellPositionByOffset','DesktopCollaborationStatusDisplayController','_collabCursorState$','transformStateCache','assign','isArray','event$','getAncestorScale','_entities','rxjs','@univerjs/drawing','requireSession','saveTaskMap','mask','Optional','Error','docStateChange$','CommandType','getActiveSheet','whenReady','on-line-single','onMouseMove','_colorIndex','handleInsertCol','replaceState','RemoteUniscriptService','urlChange$','/run/','DocSelectionManagerService','HEADER_MENU','collaboration.closeRoom','_collabCursorController','forwardRef','4071630Gwtdmz','map','runOnServer','ISocketService','LICENSE_IMPORT_SIZE_EXCEEDED','_initCommandExecutedListener','NodePositionConvertToRectRange','executeCommand','collabStatus.notCollab','handleDeleteRangeMoveUp','transformSelections','measureText','fillRule','_colorAssignService','beginPath','_initResize','LOCAL_CACHE_INTERVAL','name','defs','takeUntil','replace','COLORS','pipe','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_drawTextRange','search','isActive','find','unitId','univerjs-icon\x20univerjs-icon-','Unknown\x20user','hovered','tag','registerRenderModule','getUnitId','_handleJoinEvent','_docTransformSelectionsService','handleInsertRangeMoveDown','Failed','_saveTaskMap','_uiPartsService','_refRangeService','univer-text-red-500','159DUzLYY','off-line-single_clip0_910_343','IConfigService','UNIVER_SHEET','JOIN_ROOM_FAILED','isEditing','source','_initDependencies','0\x200\x2017\x2016','YUUMI_ASYNCIO_CANCELLED','filter','registerDependencies','_localeService','debounce','indexOf','MoveRangeCommandId','_docTransformIMECacheService','merge','_roomMembers$','CollaborationUIEventService','status$','_commandService','setInterval','_initEntityListener','DependentOn','unitID','eventID','CLOSE_ROOM','call','next','assignAColorForMemberID','rgba(255,\x20255,\x20255,\x200.01)','saveOfflineData','_cursors','url(#on-line-single_clip0_910_349)','backgroundColor','_draw','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','has','length','onLocalMutation','drawWith','with','CollaborationUIEventId','handleInsertRow','colorChannel1','origin','_initStatusComponent','addHandlerCallback','getSheetObject','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','connectInjector','flatMap','IDocClipboardService','_saveCache','cursorInfo$','setConfig','_instanceService','text','INVALID_ARGUMENT','getMemberID','ranges','_config','getOffsetConfig','_setupBeforeClosingHandler','forEach','CollaborationSocketService','YUUMI_UNABLE_LOAD_URL','ENSURE_SNAPSHOT_EXECUTION','CollaborationSessionService','_getScale','ColorKit','attrs','UniverCollaborationClientPlugin','ThemeService','children','stringify','session.collaboration-timeout','_handleHover','961272cUUNSz','[CollaborationDataLoaderController]','exhaustSavingTask','purple300','getOwnPropertySymbols','LOGIN_FAILED','_registerDependencies','AWAITING','collabStatus.syncing','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','location','EMAIL_HAS_BEEN_BOUND','_initStatusListener','OnLineSingle','onPointerEnter$','APPLY_PERMISSION_DENIED','getCurrent','YUUMI_URL_COL_OUT_OF_RANGE','PERMISSION_DENIED','SOCKET_FAILED','BuiltInUIPart','Vector2','dispose','_backgroundColor','loadUnit','_createSocketURL','USERS_LEAVE','show','WebSocketService','path','WebBrowserSingleActiveUnitService','transformRemoteChangeset','CONNECTOR_DATA_TOO_LARGE','SYNCED','subunit','_ensureSubject','MOBILE_HAS_BEEN_BOUND','DocStateChangeManagerService','collabStatus.offline','_hovered','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','INVITE_CODE_REQUIRED','_disabled','red300','addObject','font','collabStatus.fetchMiss','useDependency','values','getColor','fillText','Disposable','OTHER_CLIENT_EDITING','onTransformChange$','unsubscribe','RemoveRowCommandId','round','disposeWithMe','OffLineSingle','IRemoteInstanceService','_beforeCloseService','loadOfflineData','OFFLINE','SUBMIT_CHANGESET_TIMEOUT','add','arc','concat','currentColor','getUniverSheetInstance','_scene','IUniverInstanceService','Injector','OTHER_CLIENTS_EDITING','searchParams','getStateCache','newValue','memberID','deepClone','_getSheetObject','RemoveColCommandId','unit','subscribe','getRenderById','_color','_setupSubUnitSync','APPLY_REJECT','_online','getConfig','hasOwnProperty','@univerjs/network','1em','getFocusedUnit','getRangePointData','range','onPointerLeave$','disableLocalCache','PY_RUNTIME_SCRIPT_ERROR','none','collab-client.tooltip.reconnect','42196990aIYtRJ','ONLINE','_initEvent','permission.content','_httpService','max','registerBeforeClose','from','Tooltip','WebURLService','DocIMEInputManagerService','DOC_RANGE_TYPE','ISnapshotServerService','triggerDblclick','_status$','defIds','_handleLeaveEvent','_unitOnClients','_shapes','some','ACTIVE_UNIT_EVENT_CHANNEL','url(#$1','_memberService','getCoordByCell','Tools','generateRandomId','clipPath','UNAUTHENTICATED','IRenderManagerService','error','storage','RegularPolygon','LICENSE_MAX_UNITS_EXCEEDED','_themeService','TEXT_RANGE_LAYER_INDEX','set','_anchor','string','IMessageService','RxDisposable','...','3726CryfoS','_getAnchorBounding','extend','parse','symbol','TEXT','APPLY_NON_SEQUENTIAL_REVISION','_urlService','RefRangeService','_assignedColors','_updateURLWithCurrentState','makeDirty','M0\x200H16V16H0z','combineLatest','closePath','getUnhiddenWorksheets','@univerjs/ui','url(#off-line-single_clip0_910_343)','_revisionService','0\x200\x2016\x2016','currentTheme$','getDocRanges','@univerjs-pro/collaboration-client','getValue','_document','LOCAL_CACHE_INTERVAL_KEY','APPLY_DUPLICATED','SOCKET_FAILED_RETRY','Subject','collabCursorState$','cursorInfo','icon','removeParam','fillStyle','APPLY_REVISION_CONFILICT','setAlpha','subUnitId','INTERNAL_ERROR','imageSourceType','UniverIcon','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','override','CollaborationDataLoaderController','asObservable','SNAPSHOT_INVALID_SNAPSHOT','SNAPSHOT_HAS_BEEN_REMOVED','doc.mutation.rich-text-editing','RevisionService','univer-text-green-500'];_0x5436=function(){return _0x2fcf91;};return _0x5436();}J=Yt([le(0x0,a['Inject'](a['Injector'])),le(0x1,m[_0x4a64d1(0x2d1)]),le(0x2,a[_0x4a64d1(0x34b)](b['DocStateChangeManagerService']))],J);var Ft=Object['getOwnPropertyDescriptor'],Wt=(_0x42f967,_0x123650,_0x4069e4,_0x46e11e)=>{for(var _0x25456d=_0x46e11e>0x1?void 0x0:_0x46e11e?Ft(_0x123650,_0x4069e4):_0x123650,_0x596491=_0x42f967['length']-0x1,_0x1e8fef;_0x596491>=0x0;_0x596491--)(_0x1e8fef=_0x42f967[_0x596491])&&(_0x25456d=_0x1e8fef(_0x25456d)||_0x25456d);return _0x25456d;},Ne=(_0x80cc4,_0x38be03)=>(_0x2e1f93,_0x446c46)=>_0x38be03(_0x2e1f93,_0x446c46,_0x80cc4);let Z=class{constructor(_0x512356,_0x50dcc6){this['_injector']=_0x512356,this['_transformService']=_0x50dcc6;}[_0x4a64d1(0x111)](_0x2fb0f1){const _0x25fb60=_0x4a64d1;var _0x351dc7;const _0x50b8ed=this[_0x25fb60(0x2bf)][_0x25fb60(0x2df)](F['DocSelectionManagerService']),_0xd5bf81=(_0x351dc7=_0x50b8ed[_0x25fb60(0x222)]())!=null?_0x351dc7:[];if(_0xd5bf81[_0x25fb60(0x159)]===0x0)return;const _0x3496e4=_0x2fb0f1['unitID'],_0x53d978=[{'id':_0x25fb60(0x23b),'params':{'unitId':_0x3496e4,'actions':null,'textRanges':_0xd5bf81}}],_0x24b3c8=this[_0x25fb60(0x348)]['transformMutationsWithChangeset'](_0x2fb0f1,_0x53d978);if(!m[_0x25fb60(0x328)](_0x24b3c8))throw _0x24b3c8[_0x25fb60(0x201)];const _0x574c69=_0x24b3c8[_0x25fb60(0x273)][0x0]['params']['textRanges'];Array[_0x25fb60(0x387)](_0x574c69)&&_0x574c69['length']&&_0x50b8ed['replaceDocRanges'](_0x574c69,{'unitId':_0x3496e4,'subUnitId':_0x3496e4},!0x1);}};Z=Wt([Ne(0x0,a[_0x4a64d1(0x34b)](a['Injector'])),Ne(0x1,m[_0x4a64d1(0x2d1)])],Z);var Vt=Object[_0x4a64d1(0x26f)],Xt=(_0x259ac3,_0x5e0129,_0x5d9e64,_0x3a1692)=>{const _0x2ce805=_0x4a64d1;for(var _0x282952=_0x3a1692>0x1?void 0x0:_0x3a1692?Vt(_0x5e0129,_0x5d9e64):_0x5e0129,_0x3dc3eb=_0x259ac3[_0x2ce805(0x159)]-0x1,_0x2888e9;_0x3dc3eb>=0x0;_0x3dc3eb--)(_0x2888e9=_0x259ac3[_0x3dc3eb])&&(_0x282952=_0x2888e9(_0x282952)||_0x282952);return _0x282952;},N=(_0xc0d7ef,_0x31cbeb)=>(_0xfde00e,_0x1fb8b0)=>_0x31cbeb(_0xfde00e,_0x1fb8b0,_0xc0d7ef);let Q=class extends a[_0x4a64d1(0x1b4)]{constructor(_0x415821,_0x495629,_0x13b04b,_0x3735f7,_0x22eea4,_0x20c4d9,_0x35873b,_0xd8e04a){const _0x3ac5a6=_0x4a64d1;super(),h(this,_0x3ac5a6(0x1f2),new d['BehaviorSubject'](u[_0x3ac5a6(0x379)][_0x3ac5a6(0x2f5)])),(this[_0x3ac5a6(0x293)]=_0x415821,this[_0x3ac5a6(0x287)]=_0x495629,this[_0x3ac5a6(0x142)]=_0x13b04b,this[_0x3ac5a6(0x37e)]=_0x3735f7,this[_0x3ac5a6(0x12b)]=_0x22eea4,this[_0x3ac5a6(0x352)]=_0x20c4d9,this['_messageService']=_0x35873b,this['_localeService']=_0xd8e04a,this[_0x3ac5a6(0x149)]());}['_initEntityListener'](){const _0x3030ea=_0x4a64d1;this[_0x3030ea(0x1ba)](this['_collaborationController']['entityInit$'][_0x3030ea(0x1d2)](_0x1e5241=>{const _0x53b81f=_0x3030ea,_0x528d55=this['_docStateChangeManagerService'][_0x53b81f(0x392)][_0x53b81f(0x1d2)](_0x10241d=>{const _0x3a8826=_0x53b81f;if(_0x10241d==null)return;const {unitId:_0x2e5e64,redoState:_0xa25649,commandId:_0x59c9a6}=_0x10241d;if(_0x2e5e64!==_0x1e5241['unitID'])return;const _0x598f4d={'id':_0x59c9a6,'type':a[_0x3a8826(0x393)][_0x3a8826(0x374)],'params':{'unitId':_0x2e5e64,'actions':_0xa25649['actions'],'textRanges':null}};_0x1e5241[_0x3a8826(0x15a)](_0x598f4d);});if(_0x1e5241[_0x53b81f(0x1ba)](_0x528d55),_0x1e5241 instanceof u[_0x53b81f(0x28b)]){const _0x19cb03={'onTransformIME':_0x374588=>this[_0x53b81f(0x142)]['transformIMECache'](_0x374588),'onTransformState':_0xc988f=>this[_0x53b81f(0x37e)][_0x53b81f(0x385)](_0xc988f),'onTransformSelections':_0x522e06=>this['_docTransformSelectionsService']['transformSelections'](_0x522e06),'onSyncEditingCollabCursor':_0x483788=>this['_docSyncEditingCollabCursorService'][_0x53b81f(0x358)](_0x483788),'onTransformRemoteChangesetByIMECache':_0x5ef450=>this[_0x53b81f(0x142)][_0x53b81f(0x1a0)](_0x5ef450),'onTransformRemoteChangesetByStateCache':_0x4331b1=>this[_0x53b81f(0x37e)][_0x53b81f(0x1a0)](_0x4331b1)};_0x1e5241[_0x53b81f(0x162)](_0x19cb03);}}));}};Q=Xt([N(0x0,a[_0x4a64d1(0x34b)](b[_0x4a64d1(0x1a6)])),N(0x1,a[_0x4a64d1(0x34b)](u[_0x4a64d1(0x36f)])),N(0x2,a[_0x4a64d1(0x34b)](z)),N(0x3,a[_0x4a64d1(0x34b)](J)),N(0x4,a[_0x4a64d1(0x34b)](Z)),N(0x5,a['Inject'](Ce)),N(0x6,T[_0x4a64d1(0x20a)]),N(0x7,a['Inject'](a[_0x4a64d1(0x37b)]))],Q);var Gt=Object[_0x4a64d1(0x26f)],Kt=(_0x2be405,_0x3128c0,_0x42ec44,_0xd9222b)=>{for(var _0x22b729=_0xd9222b>0x1?void 0x0:_0xd9222b?Gt(_0x3128c0,_0x42ec44):_0x3128c0,_0x567b12=_0x2be405['length']-0x1,_0x261f49;_0x567b12>=0x0;_0x567b12--)(_0x261f49=_0x2be405[_0x567b12])&&(_0x22b729=_0x261f49(_0x22b729)||_0x22b729);return _0x22b729;},_e=(_0x4ba2ef,_0xc55271)=>(_0x5c5e45,_0x5dfeb7)=>_0xc55271(_0x5c5e45,_0x5dfeb7,_0x4ba2ef);let ge=class extends a[_0x4a64d1(0x1b4)]{constructor(_0x4cdca2,_0x414946,_0x23331b){const _0x4a6af6=_0x4a64d1;super(),h(this,_0x4a6af6(0x2f0),new Map()),h(this,'_saveTaskMap',new Map()),h(this,_0x4a6af6(0x1ab),!0x1),(this['_configService']=_0x4cdca2,this[_0x4a6af6(0x282)]=_0x414946,this[_0x4a6af6(0x21f)]=_0x23331b);}[_0x4a64d1(0x1e0)](){const _0x5dbedf=_0x4a64d1;this[_0x5dbedf(0x1ab)]=!0x0;}[_0x4a64d1(0x355)](){const _0x142d67=_0x4a64d1;this[_0x142d67(0x1ab)]=!0x1;}get[_0x4a64d1(0x38e)](){const _0x5c34d2=_0x4a64d1;return this[_0x5c34d2(0x12e)];}['dispose'](){const _0x4e520c=_0x4a64d1;this[_0x4e520c(0x183)]()['then'](()=>super[_0x4e520c(0x197)]());}async[_0x4a64d1(0x1be)](_0x5c5ff9){const _0x1f73eb=_0x4a64d1;return this[_0x1f73eb(0x1ab)]?null:this['_localStorageService'][_0x1f73eb(0x269)](u[_0x1f73eb(0x29f)](_0x5c5ff9));}async[_0x4a64d1(0x152)](_0x11d829,_0x3bb54f){return!!this['_localStorageService']['setItem'](_0x11d829,_0x3bb54f);}['updateOfflineData'](_0x37b4d1,_0x2bacd0,_0x384b83,_0x3b5bd9){const _0x17e345=_0x4a64d1,_0xb9431e=this[_0x17e345(0x21f)][_0x17e345(0x2ab)](_0x37b4d1);this['_cachedData'][_0x17e345(0x207)](_0x37b4d1,{'unitID':_0x37b4d1,'type':_0x2bacd0,'awaitingChangeset':_0x384b83,'mutations':_0x3b5bd9,'rev':_0xb9431e}),this[_0x17e345(0x12e)]['has'](_0x37b4d1)||this[_0x17e345(0x365)](_0x37b4d1);}[_0x4a64d1(0x365)](_0x5d143d){const _0x5dbec7=_0x4a64d1,_0x9b1451=this[_0x5dbec7(0x2f3)]();_0x9b1451===0x0?this[_0x5dbec7(0x168)](_0x5d143d):this[_0x5dbec7(0x12e)][_0x5dbec7(0x207)](_0x5d143d,setTimeout(()=>this['_saveCache'](_0x5d143d),_0x9b1451));}['_getSaveTimeout'](){const _0x49afa2=_0x4a64d1;var _0x2811a3;return(_0x2811a3=this[_0x49afa2(0x363)]['getConfig'](u[_0x49afa2(0x226)]))!=null?_0x2811a3:u[_0x49afa2(0x117)];}['_saveCache'](_0x4ef596){const _0x56b65d=_0x4a64d1,_0x3fc59d=this['_saveTaskMap'][_0x56b65d(0x2df)](_0x4ef596);return _0x3fc59d!==void 0x0&&window['clearTimeout'](_0x3fc59d),this[_0x56b65d(0x282)]['setItem'](u[_0x56b65d(0x29f)](_0x4ef596),this[_0x56b65d(0x2f0)][_0x56b65d(0x2df)](_0x4ef596))['then'](()=>this['_saveTaskMap'][_0x56b65d(0x27b)](_0x4ef596));}async[_0x4a64d1(0x183)](){const _0x52a193=_0x4a64d1,_0x4e3d9e=[];this['_saveTaskMap'][_0x52a193(0x173)]((_0x1f02ce,_0x4f37cc)=>{const _0x4f6748=_0x52a193;window[_0x4f6748(0x242)](_0x1f02ce),_0x4e3d9e[_0x4f6748(0x24c)](this[_0x4f6748(0x168)](_0x4f37cc)[_0x4f6748(0x326)](()=>{const _0x524840=_0x4f6748;this[_0x524840(0x12e)]['delete'](_0x4f37cc);}));}),await Promise['all'](_0x4e3d9e);}};ge=Kt([_e(0x0,a[_0x4a64d1(0x134)]),_e(0x1,a[_0x4a64d1(0x35a)]),_e(0x2,a[_0x4a64d1(0x34b)](m[_0x4a64d1(0x23c)]))],ge);class je extends a[_0x4a64d1(0x20b)]{constructor(){const _0x455a51=_0x4a64d1;super(),h(this,_0x455a51(0x39c)),this[_0x455a51(0x39c)]=d[_0x455a51(0x280)](window,_0x455a51(0x245))[_0x455a51(0x11d)](d[_0x455a51(0x11a)](this[_0x455a51(0x298)]),d[_0x455a51(0x252)](0x1),d['mapTo'](void 0x0));}[_0x4a64d1(0x260)](_0x543311,_0x3de105,_0x2fe25d=!0x1){const _0x468f75=_0x4a64d1,_0x77a239=new URL(window[_0x468f75(0x18b)][_0x468f75(0x277)]);_0x77a239[_0x468f75(0x1ca)][_0x468f75(0x207)](_0x543311,_0x3de105),_0x2fe25d?window[_0x468f75(0x2a6)][_0x468f75(0x39a)]('','',_0x77a239[_0x468f75(0x361)]()):window[_0x468f75(0x2a6)]['pushState']('','',_0x77a239['toString']());}[_0x4a64d1(0x22d)](_0x589594,_0x53cd30=!0x1){const _0x480547=_0x4a64d1,_0x359fe9=new URL(window[_0x480547(0x18b)][_0x480547(0x277)]);_0x359fe9[_0x480547(0x1ca)]['delete'](_0x589594),_0x53cd30?window[_0x480547(0x2a6)][_0x480547(0x39a)]('','',_0x359fe9['toString']()):window[_0x480547(0x2a6)][_0x480547(0x2ac)]('','',_0x359fe9[_0x480547(0x361)]());}['getParam'](_0x162f6a){const _0x27af3e=_0x4a64d1;var _0x57d26c;return(_0x57d26c=new URL(window[_0x27af3e(0x18b)][_0x27af3e(0x277)])['searchParams']['get'](_0x162f6a))!=null?_0x57d26c:void 0x0;}}var qt=Object['defineProperty'],zt=Object[_0x4a64d1(0x26f)],Jt=(_0x453ba7,_0x344fd6,_0x5e3a1f)=>_0x344fd6 in _0x453ba7?qt(_0x453ba7,_0x344fd6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5e3a1f}):_0x453ba7[_0x344fd6]=_0x5e3a1f,Zt=(_0x48e7f0,_0x1942b9,_0x34068f,_0x77a2ac)=>{for(var _0x208b9a=_0x77a2ac>0x1?void 0x0:_0x77a2ac?zt(_0x1942b9,_0x34068f):_0x1942b9,_0x415906=_0x48e7f0['length']-0x1,_0x48248f;_0x415906>=0x0;_0x415906--)(_0x48248f=_0x48e7f0[_0x415906])&&(_0x208b9a=_0x48248f(_0x208b9a)||_0x208b9a);return _0x208b9a;},he=(_0xfc3ba2,_0x336780)=>(_0x2b0127,_0x6871f2)=>_0x336780(_0x2b0127,_0x6871f2,_0xfc3ba2),Qt=(_0x4f60c0,_0x211ae5,_0x448dc0)=>Jt(_0x4f60c0,_0x211ae5+'',_0x448dc0);const es='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';exports[_0x4a64d1(0x2aa)]=class extends a[_0x4a64d1(0x2db)]{constructor(_0x2e18e6=Ue,_0x57cf25,_0x291502,_0x4c0cdb){const _0x12c497=_0x4a64d1;super(),this[_0x12c497(0x170)]=_0x2e18e6,this[_0x12c497(0x336)]=_0x57cf25,this[_0x12c497(0x2bf)]=_0x291502,this[_0x12c497(0x363)]=_0x4c0cdb;const {..._0x3a27d7}=a[_0x12c497(0x143)]({},Ue,this[_0x12c497(0x170)]);this['_configService'][_0x12c497(0x16a)]($t,_0x3a27d7);}['onStarting'](){const _0x12a8a2=_0x4a64d1;this[_0x12a8a2(0x187)](),this[_0x12a8a2(0x139)]();}['onRendered'](){const _0x3e511e=_0x4a64d1;this[_0x3e511e(0x362)]();}[_0x4a64d1(0x187)](){const _0x11ab4e=_0x4a64d1;var _0x2df75a;const _0x1e9421=[[me],[Z],[z],[J],[Ce],[be,{'useClass':je}],[G[_0x11ab4e(0x3a6)],{'useClass':G[_0x11ab4e(0x19d)]}],[u[_0x11ab4e(0x312)],{'useClass':ge}],[exports['DesktopCollaborationStatusDisplayController']],[Q],[q],[x],[de],[exports[_0x11ab4e(0x237)]]];a[_0x11ab4e(0x13d)](this['_injector'],a[_0x11ab4e(0x23f)](_0x1e9421,(_0x2df75a=this[_0x11ab4e(0x170)])==null?void 0x0:_0x2df75a[_0x11ab4e(0x236)]));}['_registerRenderDependencies'](){const _0xb5de4d=_0x4a64d1;this[_0xb5de4d(0x1ba)](this['_renderManagerService'][_0xb5de4d(0x128)](a[_0xb5de4d(0x248)][_0xb5de4d(0x2ec)],[Ie])),this['disposeWithMe'](this[_0xb5de4d(0x336)]['registerRenderModule'](a['UniverInstanceType'][_0xb5de4d(0x135)],[ve]));}['_initDependencies'](){const _0x1a9d6b=_0x4a64d1;a[_0x1a9d6b(0x2b4)](this[_0x1a9d6b(0x2bf)],[[x],[exports[_0x1a9d6b(0x383)]],[Q],[q],[exports[_0x1a9d6b(0x237)]]]);}},Qt(exports['UniverCollaborationClientUIPlugin'],_0x4a64d1(0x251),es),exports[_0x4a64d1(0x2aa)]=Zt([a[_0x4a64d1(0x14a)](u[_0x4a64d1(0x17b)]),he(0x1,p[_0x4a64d1(0x200)]),he(0x2,a[_0x4a64d1(0x34b)](a[_0x4a64d1(0x1c8)])),he(0x3,a[_0x4a64d1(0x134)])],exports[_0x4a64d1(0x2aa)]);var ts=Object[_0x4a64d1(0x26f)],ss=(_0x50a5d0,_0x16fb9b,_0x33d2e0,_0x57bf4d)=>{const _0x5c0bdf=_0x4a64d1;for(var _0x343c1f=_0x57bf4d>0x1?void 0x0:_0x57bf4d?ts(_0x16fb9b,_0x33d2e0):_0x16fb9b,_0x529fbf=_0x50a5d0[_0x5c0bdf(0x159)]-0x1,_0x1ac0d8;_0x529fbf>=0x0;_0x529fbf--)(_0x1ac0d8=_0x50a5d0[_0x529fbf])&&(_0x343c1f=_0x1ac0d8(_0x343c1f)||_0x343c1f);return _0x343c1f;},Y=(_0x189d88,_0xa6c97a)=>(_0x42591c,_0xefe37c)=>_0xa6c97a(_0x42591c,_0xefe37c,_0x189d88);function _0x31bb(_0x260558,_0x34d458){const _0x54362e=_0x5436();return _0x31bb=function(_0x31bb6f,_0x20ff9b){_0x31bb6f=_0x31bb6f-0x111;let _0x1c88ab=_0x54362e[_0x31bb6f];return _0x1c88ab;},_0x31bb(_0x260558,_0x34d458);}exports['BrowserCollaborationSocketService']=class extends u[_0x4a64d1(0x174)]{constructor(_0x589056,_0x508eb4,_0x25ccfd,_0xe6f56b,_0x57a599){super(_0x589056,_0x508eb4,_0x25ccfd,_0xe6f56b,_0x57a599);}async[_0x4a64d1(0x311)](_0x27bb52){const _0x1ebb3f=_0x4a64d1,_0x4d6ff1=await this['_getSessionTicket'](),_0x3f9040=this[_0x1ebb3f(0x19a)](_0x27bb52,_0x4d6ff1);return this[_0x1ebb3f(0x25e)](_0x3f9040);}[_0x4a64d1(0x19a)](_0x4db31a,_0x1b7c44){const _0x1962b1=_0x4a64d1,_0x58d807=typeof window>'u'?new URL(_0x4db31a):new URL(_0x4db31a,window[_0x1962b1(0x18b)][_0x1962b1(0x160)]);_0x58d807['searchParams'][_0x1962b1(0x207)](_0x1962b1(0x36a),_0x1b7c44);const _0x35c76b=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x1962b1(0x120)]);return _0x35c76b['get'](_0x1962b1(0x2c4))&&_0x58d807['searchParams'][_0x1962b1(0x207)]('runId',_0x35c76b[_0x1962b1(0x2df)](_0x1962b1(0x2c4))),_0x58d807[_0x1962b1(0x361)]();}async[_0x4a64d1(0x35c)](){const _0x4edcbd=_0x4a64d1;var _0x4350f7,_0x3800e2,_0x16674d;const _0x40e9ab=this['_configService'][_0x4edcbd(0x1d8)](u['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x88fc78=(_0x4350f7=_0x40e9ab==null?void 0x0:_0x40e9ab[_0x4edcbd(0x2d9)])!=null?_0x4350f7:u[_0x4edcbd(0x367)];return(_0x16674d=(_0x3800e2=(await this[_0x4edcbd(0x1e8)][_0x4edcbd(0x2df)](_0x88fc78,{'headers':{'Content-Type':'application/json'}}))[_0x4edcbd(0x278)])==null?void 0x0:_0x3800e2[_0x4edcbd(0x275)])!=null?_0x16674d:'';}},exports[_0x4a64d1(0x368)]=ss([Y(0x0,a[_0x4a64d1(0x34b)](a['Injector'])),Y(0x1,a['Inject'](G[_0x4a64d1(0x294)])),Y(0x2,a[_0x4a64d1(0x134)]),Y(0x3,a['ILogService']),Y(0x4,m[_0x4a64d1(0x1f0)])],exports[_0x4a64d1(0x368)]);const Me=0x7530,Le=_0x4a64d1(0x1f8);class is extends a[_0x4a64d1(0x1b4)]{constructor(){const _0x2fc28e=_0x4a64d1;super(),h(this,_0x2fc28e(0x259),a['generateRandomId']()),h(this,_0x2fc28e(0x28a),new Set()),h(this,'_unitOnClients',new Map()),h(this,_0x2fc28e(0x332),null),h(this,_0x2fc28e(0x33c),new Map()),h(this,_0x2fc28e(0x333),new Map()),this[_0x2fc28e(0x240)]();}['dispose'](){const _0x10d35f=_0x4a64d1;super['dispose'](),this[_0x10d35f(0x33c)]['forEach']((_0x4342b9,_0x3d973e)=>this[_0x10d35f(0x33e)](_0x3d973e)),this[_0x10d35f(0x332)]&&window[_0x10d35f(0x274)](this['_heartbeatTimer']);}['getUnitStatus$'](_0x247cf1){const _0x211a0d=_0x4a64d1;return this['_ensureSubject'](_0x247cf1)['pipe'](d[_0x211a0d(0x271)]());}['editingUnit'](_0x3ac639){const _0x5a7a35=_0x4a64d1;this[_0x5a7a35(0x28a)][_0x5a7a35(0x377)]===0x0&&this['_scheduleHeartbeat'](),this[_0x5a7a35(0x28a)][_0x5a7a35(0x1c1)](_0x3ac639),this[_0x5a7a35(0x2fc)]({'type':0x0,'memberID':this[_0x5a7a35(0x259)],'unitIDs':[_0x3ac639],'isForwarded':!0x1});}['disposeUnit'](_0x2e8e18){const _0x15aec6=_0x4a64d1;this['_selfUnitIDs'][_0x15aec6(0x27b)](_0x2e8e18),this[_0x15aec6(0x28a)][_0x15aec6(0x377)]===0x0&&this[_0x15aec6(0x332)]&&window[_0x15aec6(0x274)](this[_0x15aec6(0x332)]);}[_0x4a64d1(0x240)](){const _0xa73594=_0x4a64d1;this['disposeWithMe'](a[_0xa73594(0x37c)](d[_0xa73594(0x280)](window,_0xa73594(0x202))[_0xa73594(0x1d2)](_0x5d1991=>{const _0x50c3ad=_0xa73594;if(_0x5d1991[_0x50c3ad(0x2e6)]!==Le||!_0x5d1991[_0x50c3ad(0x1cc)])return;const _0x2d1331=JSON[_0x50c3ad(0x210)](_0x5d1991[_0x50c3ad(0x1cc)]);this['_handleEvent'](_0x2d1331);}))),window[_0xa73594(0x2f8)](_0xa73594(0x334),()=>this[_0xa73594(0x2fc)]({'type':0x1,'memberID':this[_0xa73594(0x259)],'unitIDs':Array[_0xa73594(0x1eb)](this[_0xa73594(0x28a)])}));}['_handleEvent'](_0x5081d6){const _0x4d5887=_0x4a64d1;switch(_0x5081d6[_0x4d5887(0x2f2)]){case 0x0:this['_handleJoinEvent'](_0x5081d6);break;case 0x1:this[_0x4d5887(0x1f4)](_0x5081d6);break;case 0x2:this[_0x4d5887(0x2c5)](_0x5081d6);break;}}[_0x4a64d1(0x12a)](_0x1735a0){const _0x2a8bc7=_0x4a64d1,{unitIDs:_0x5d9409,memberID:_0x30f26a,isForwarded:_0x4585e9}=_0x1735a0;_0x5d9409[_0x2a8bc7(0x173)](_0x3be212=>{const _0x270fb8=_0x2a8bc7;if(!_0x4585e9&&this[_0x270fb8(0x1f5)]['has'](_0x3be212)&&this[_0x270fb8(0x1a4)](_0x3be212)[_0x270fb8(0x14f)](u[_0x270fb8(0x2ad)][_0x270fb8(0x1c9)]),!this[_0x270fb8(0x1f5)][_0x270fb8(0x158)](_0x3be212)||!this[_0x270fb8(0x1f5)][_0x270fb8(0x2df)](_0x3be212)['has'](_0x30f26a)){const _0x3cb251=this[_0x270fb8(0x1f5)]['get'](_0x3be212)||new Set();_0x3cb251[_0x270fb8(0x1c1)](_0x30f26a),this[_0x270fb8(0x1f5)][_0x270fb8(0x207)](_0x3be212,_0x3cb251),this['_scheduleClearOtherTimer'](_0x30f26a);}}),_0x4585e9||this[_0x2a8bc7(0x2fc)]({'type':0x0,'memberID':this[_0x2a8bc7(0x259)],'unitIDs':[...this[_0x2a8bc7(0x28a)]],'isForwarded':!0x0});}[_0x4a64d1(0x31d)](_0x506e8e){const _0x147d5c=_0x4a64d1;this['_removeClearOtherTimer'](_0x506e8e);const _0x169097=window['setTimeout'](()=>{const _0xc4b6a8=_0x31bb;this[_0xc4b6a8(0x1f5)]['forEach'](_0x3722f7=>{const _0x560c2b=_0xc4b6a8;_0x3722f7[_0x560c2b(0x27b)](_0x506e8e);});},Me*0x2);this[_0x147d5c(0x33c)][_0x147d5c(0x207)](_0x506e8e,_0x169097);}[_0x4a64d1(0x33e)](_0x4ca9b9){const _0x43712c=_0x4a64d1;if(this[_0x43712c(0x33c)][_0x43712c(0x158)](_0x4ca9b9)){const _0x4377fe=this[_0x43712c(0x33c)][_0x43712c(0x2df)](_0x4ca9b9);_0x4377fe&&window[_0x43712c(0x242)](_0x4377fe),this[_0x43712c(0x33c)][_0x43712c(0x207)](_0x4ca9b9,null);}}[_0x4a64d1(0x1f4)](_0x4c91d7){const _0x22c8c0=_0x4a64d1,{memberID:_0x5309a2,unitIDs:_0x539162}=_0x4c91d7;_0x539162[_0x22c8c0(0x173)](_0x6c4caa=>{const _0x5b985a=_0x22c8c0;var _0x18621d;const _0x391e19=this[_0x5b985a(0x1f5)]['get'](_0x6c4caa);_0x391e19&&(_0x391e19['delete'](_0x5309a2),(_0x18621d=this['_ensureSubject'](_0x6c4caa))==null||_0x18621d[_0x5b985a(0x14f)](_0x391e19[_0x5b985a(0x377)]===0x0?u[_0x5b985a(0x2ad)][_0x5b985a(0x350)]:u[_0x5b985a(0x2ad)][_0x5b985a(0x1c9)]));}),this[_0x22c8c0(0x33e)](_0x5309a2);}[_0x4a64d1(0x2c5)](_0x48e8e1){const _0x24c3be=_0x4a64d1;this['_scheduleClearOtherTimer'](_0x48e8e1[_0x24c3be(0x1cd)]);}['_send'](_0x20b30b){const _0x47a1dd=_0x4a64d1;localStorage[_0x47a1dd(0x37d)](Le,JSON[_0x47a1dd(0x17e)](_0x20b30b));}[_0x4a64d1(0x357)](){const _0x348a1b=_0x4a64d1;this[_0x348a1b(0x332)]=window[_0x348a1b(0x148)](()=>{const _0x18a737=_0x348a1b;this[_0x18a737(0x2fc)]({'type':0x2,'memberID':this['_id']});},Me);}[_0x4a64d1(0x1a4)](_0x5d43af){const _0x2be66c=_0x4a64d1;return this[_0x2be66c(0x333)][_0x2be66c(0x158)](_0x5d43af)||this[_0x2be66c(0x333)]['set'](_0x5d43af,new d[(_0x2be66c(0x32d))](u['UnitStatus']['NO_OTHER_CLIENTS_EDITING'])),this[_0x2be66c(0x333)][_0x2be66c(0x2df)](_0x5d43af);}}var Be=(_0x533806=>(_0x533806[_0x533806[_0x4a64d1(0x2f9)]=0x0]=_0x4a64d1(0x2f9),_0x533806[_0x533806['OK']=0x1]='OK',_0x533806[_0x533806[_0x4a64d1(0x232)]=0x2]='INTERNAL_ERROR',_0x533806[_0x533806['PERMISSION_DENIED']=0x3]=_0x4a64d1(0x193),_0x533806[_0x533806[_0x4a64d1(0x2bc)]=0x4]=_0x4a64d1(0x2bc),_0x533806[_0x533806[_0x4a64d1(0x1ff)]=0x5]=_0x4a64d1(0x1ff),_0x533806[_0x533806[_0x4a64d1(0x2ca)]=0x6]=_0x4a64d1(0x2ca),_0x533806[_0x533806[_0x4a64d1(0x16d)]=0x7]=_0x4a64d1(0x16d),_0x533806[_0x533806[_0x4a64d1(0x345)]=0x8]=_0x4a64d1(0x345),_0x533806[_0x533806[_0x4a64d1(0x28f)]=0x9]=_0x4a64d1(0x28f),_0x533806[_0x533806[_0x4a64d1(0x186)]=0xa]=_0x4a64d1(0x186),_0x533806[_0x533806['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x533806[_0x533806['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x4a64d1(0x239),_0x533806[_0x533806['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x4a64d1(0x23a),_0x533806[_0x533806['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x4a64d1(0x176),_0x533806[_0x533806[_0x4a64d1(0x1d6)]=0x1b59]=_0x4a64d1(0x1d6),_0x533806[_0x533806[_0x4a64d1(0x213)]=0x1b5a]=_0x4a64d1(0x213),_0x533806[_0x533806[_0x4a64d1(0x22f)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x533806[_0x533806[_0x4a64d1(0x190)]=0x1b5c]=_0x4a64d1(0x190),_0x533806[_0x533806[_0x4a64d1(0x227)]=0x1b5d]='APPLY_DUPLICATED',_0x533806[_0x533806[_0x4a64d1(0x1a1)]=0x1f41]=_0x4a64d1(0x1a1),_0x533806[_0x533806[_0x4a64d1(0x204)]=0x2329]=_0x4a64d1(0x204),_0x533806[_0x533806[_0x4a64d1(0x262)]=0x232a]=_0x4a64d1(0x262),_0x533806[_0x533806[_0x4a64d1(0x3a7)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x533806[_0x533806[_0x4a64d1(0x2fe)]=0x232c]=_0x4a64d1(0x2fe),_0x533806[_0x533806['LICENSE_DISTRO_REJECTED']=0x232d]=_0x4a64d1(0x296),_0x533806[_0x533806[_0x4a64d1(0x175)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x533806[_0x533806[_0x4a64d1(0x192)]=0x2712]=_0x4a64d1(0x192),_0x533806[_0x533806[_0x4a64d1(0x26b)]=0x2713]=_0x4a64d1(0x26b),_0x533806[_0x533806['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x533806[_0x533806[_0x4a64d1(0x347)]=0x271a]=_0x4a64d1(0x347),_0x533806[_0x533806[_0x4a64d1(0x13b)]=0x271b]=_0x4a64d1(0x13b),_0x533806[_0x533806[_0x4a64d1(0x11e)]=0x271c]=_0x4a64d1(0x11e),_0x533806[_0x533806[_0x4a64d1(0x31b)]=0x271d]=_0x4a64d1(0x31b),_0x533806[_0x533806['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x4a64d1(0x235),_0x533806[_0x533806['YUUMI_AI_RUN_FAILED']=0x271f]=_0x4a64d1(0x26e),_0x533806[_0x533806[_0x4a64d1(0x1e1)]=0x2af9]=_0x4a64d1(0x1e1),_0x533806[_0x533806['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x4a64d1(0x27a),_0x533806[_0x533806['INVALID_INVITE_CODE']=0x2ee2]=_0x4a64d1(0x263),_0x533806[_0x533806['INVITE_CODE_REQUIRED']=0x2ee3]=_0x4a64d1(0x1aa),_0x533806[_0x533806[_0x4a64d1(0x316)]=0x2ee4]=_0x4a64d1(0x316),_0x533806[_0x533806['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x4a64d1(0x37f),_0x533806[_0x533806[_0x4a64d1(0x301)]=0x32c9]=_0x4a64d1(0x301),_0x533806[_0x533806[_0x4a64d1(0x1a5)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x533806[_0x533806['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x4a64d1(0x18c),_0x533806[_0x533806[_0x4a64d1(0x2b7)]=-0x1]=_0x4a64d1(0x2b7),_0x533806))(Be||{}),ns=Object[_0x4a64d1(0x26f)],rs=(_0x551537,_0x5012c2,_0x5c3c58,_0x45fed1)=>{for(var _0x5af509=_0x45fed1>0x1?void 0x0:_0x45fed1?ns(_0x5012c2,_0x5c3c58):_0x5012c2,_0x4ce43c=_0x551537['length']-0x1,_0x241eb2;_0x4ce43c>=0x0;_0x4ce43c--)(_0x241eb2=_0x551537[_0x4ce43c])&&(_0x5af509=_0x241eb2(_0x5af509)||_0x5af509);return _0x5af509;},ue=(_0x26416a,_0x4d25df)=>(_0x15ea44,_0x851bfd)=>_0x4d25df(_0x15ea44,_0x851bfd,_0x26416a);exports['RemoteUniscriptService']=class extends a[_0x4a64d1(0x1b4)]{constructor(_0x587df7,_0x2b5b6c,_0x344f53){const _0x464aa6=_0x4a64d1;super(),this[_0x464aa6(0x16b)]=_0x587df7,this[_0x464aa6(0x1e8)]=_0x2b5b6c,this[_0x464aa6(0x363)]=_0x344f53;}async[_0x4a64d1(0x3a5)](_0x43d350,_0x2d3e7d,_0x144745,..._0x43195d){const _0x29f81e=_0x4a64d1;var _0x1a5db6,_0x1cc973,_0x2098e4,_0x37f01a;const _0x4cc8d0=this[_0x29f81e(0x16b)][_0x29f81e(0x1dc)]();if(!_0x4cc8d0)throw new Error(_0x29f81e(0x2e1));const _0x48567e=((_0x1a5db6=this[_0x29f81e(0x363)][_0x29f81e(0x1d8)](u[_0x29f81e(0x2a2)]))!=null?_0x1a5db6:u[_0x29f81e(0x257)])+'/'+_0x43d350+_0x29f81e(0x39d)+_0x2d3e7d,_0x4d7c30=new URL(window[_0x29f81e(0x18b)]['href']),_0x54fb13={'scriptId':_0x43d350,'runId':(_0x1cc973=_0x4d7c30[_0x29f81e(0x1ca)][_0x29f81e(0x2df)](_0x29f81e(0x2c4)))!=null?_0x1cc973:'','function':_0x2d3e7d,'unitId':_0x4cc8d0['getUnitId'](),'argsOfFunction':JSON[_0x29f81e(0x17e)](_0x43195d),'invokeId':(_0x2098e4=_0x144745[_0x29f81e(0x25a)])!=null?_0x2098e4:'','executionId':(_0x37f01a=_0x144745['executionId'])!=null?_0x37f01a:''};try{const _0x43f438=await this[_0x29f81e(0x1e8)][_0x29f81e(0x33d)](_0x48567e,{'body':_0x54fb13});return _0x43f438['body'][_0x29f81e(0x201)]&&_0x43f438[_0x29f81e(0x278)][_0x29f81e(0x201)][_0x29f81e(0x2d0)]!==Be['OK']?_0x29f81e(0x12d):_0x43f438[_0x29f81e(0x278)][_0x29f81e(0x329)];}catch{return _0x29f81e(0x12d);}}},exports[_0x4a64d1(0x39b)]=rs([ue(0x0,a['IUniverInstanceService']),ue(0x1,a[_0x4a64d1(0x34b)](G['HTTPService'])),ue(0x2,a[_0x4a64d1(0x134)])],exports[_0x4a64d1(0x39b)]),exports['CollaborationStatusDisplay']=xe,exports['IURLService']=be,exports[_0x4a64d1(0x349)]=Ae,exports[_0x4a64d1(0x19f)]=is,exports[_0x4a64d1(0x1ed)]=je;
@@ -1 +1 @@
1
- 'use strict';const _0x6f450a=_0x23cc;(function(_0x5c66d1,_0x3d7025){const _0x26cc69=_0x23cc,_0x3f4de3=_0x5c66d1();while(!![]){try{const _0x7194a2=parseInt(_0x26cc69(0x155))/0x1*(-parseInt(_0x26cc69(0x153))/0x2)+-parseInt(_0x26cc69(0x156))/0x3+-parseInt(_0x26cc69(0x14b))/0x4*(parseInt(_0x26cc69(0x157))/0x5)+parseInt(_0x26cc69(0x15e))/0x6*(parseInt(_0x26cc69(0x164))/0x7)+parseInt(_0x26cc69(0x15d))/0x8+-parseInt(_0x26cc69(0x14e))/0x9*(-parseInt(_0x26cc69(0x15b))/0xa)+-parseInt(_0x26cc69(0x150))/0xb*(parseInt(_0x26cc69(0x152))/0xc);if(_0x7194a2===_0x3d7025)break;else _0x3f4de3['push'](_0x3f4de3['shift']());}catch(_0x5d4ab1){_0x3f4de3['push'](_0x3f4de3['shift']());}}}(_0x4e9b,0xef267));function _0x23cc(_0x1d936c,_0x5918f6){const _0x4e9b4b=_0x4e9b();return _0x23cc=function(_0x23ccb2,_0x63705){_0x23ccb2=_0x23ccb2-0x14b;let _0x502c3d=_0x4e9b4b[_0x23ccb2];return _0x502c3d;},_0x23cc(_0x1d936c,_0x5918f6);}function _0x4e9b(){const _0x4da5e2=['Edit\x20conflicts','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','3704210JflnYv','Local\x20file','14336136PqSLnt','3277758anQcda','Syncing\x20server\x20data...','Connection\x20failed,\x20please\x20check\x20your\x20network.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','exports','14bGsVTy','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.','4951364DyRRxQ','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','45BkKNTA','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','6281FEwMgT','Authentication\x20Error','17004zkfNrj','2wrirlx','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','1156517pAhgix','1661052ETrNGf','5cqSSgD','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'];_0x4e9b=function(){return _0x4da5e2;};return _0x4e9b();}const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x6f450a(0x15f),'conflict':_0x6f450a(0x159),'notCollab':_0x6f450a(0x15c),'synced':'Synced','syncing':'Syncing...','offline':_0x6f450a(0x14f)},'session':{'connection-failed':_0x6f450a(0x160),'will-retry':_0x6f450a(0x154),'room-full':_0x6f450a(0x15a),'collaboration-timeout':_0x6f450a(0x14c)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x6f450a(0x165)},'permission':{'title':_0x6f450a(0x151),'content':_0x6f450a(0x158)},'collaboration':{'single-unit':{'warning':_0x6f450a(0x161)},'closeRoom':_0x6f450a(0x162)},'auth':{'needGotoLoginAlert':_0x6f450a(0x14d)}};module[_0x6f450a(0x163)]=e;
1
+ 'use strict';function _0x5f07(_0x18e9a1,_0x522091){const _0xe94a98=_0xe94a();return _0x5f07=function(_0x5f07f6,_0x40ff42){_0x5f07f6=_0x5f07f6-0x1df;let _0x338a69=_0xe94a98[_0x5f07f6];return _0x338a69;},_0x5f07(_0x18e9a1,_0x522091);}const _0x27f79b=_0x5f07;(function(_0x696940,_0x5d54ca){const _0x5375dc=_0x5f07,_0x29f06f=_0x696940();while(!![]){try{const _0x47a420=parseInt(_0x5375dc(0x1e0))/0x1+-parseInt(_0x5375dc(0x1ee))/0x2+parseInt(_0x5375dc(0x1e8))/0x3*(-parseInt(_0x5375dc(0x1f2))/0x4)+parseInt(_0x5375dc(0x1e1))/0x5+parseInt(_0x5375dc(0x1ed))/0x6+parseInt(_0x5375dc(0x1e7))/0x7+parseInt(_0x5375dc(0x1e4))/0x8*(parseInt(_0x5375dc(0x1df))/0x9);if(_0x47a420===_0x5d54ca)break;else _0x29f06f['push'](_0x29f06f['shift']());}catch(_0x4b42da){_0x29f06f['push'](_0x29f06f['shift']());}}}(_0xe94a,0xe7b1d));function _0xe94a(){const _0x1591ec=['Local\x20file','6212778GJXEKH','3498998RErtcb','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Connection\x20failed,\x20please\x20check\x20your\x20network.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','295064ttWMNO','Syncing...','Click\x20to\x20Reconnect','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Syncing\x20server\x20data...','Synced','906939dLOJjd','1893297OhOdCf','301900iZQfZH','Collaboration\x20Conflict','exports','16gUrbKL','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Authentication\x20Error','2234848UYRexp','33eFmFwX','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Edit\x20conflicts','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.'];_0xe94a=function(){return _0x1591ec;};return _0xe94a();}const e={'collab-client':{'tooltip':{'reconnect':_0x27f79b(0x1f4)}},'collabStatus':{'fetchMiss':_0x27f79b(0x1f6),'conflict':_0x27f79b(0x1ea),'notCollab':_0x27f79b(0x1ec),'synced':_0x27f79b(0x1f7),'syncing':_0x27f79b(0x1f3),'offline':_0x27f79b(0x1f1)},'session':{'connection-failed':_0x27f79b(0x1f0),'will-retry':_0x27f79b(0x1eb),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x27f79b(0x1e5)},'conflict':{'title':_0x27f79b(0x1e2),'content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':_0x27f79b(0x1e6),'content':_0x27f79b(0x1f5)},'collaboration':{'single-unit':{'warning':_0x27f79b(0x1e9)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x27f79b(0x1ef)}};module[_0x27f79b(0x1e3)]=e;