@univerjs-pro/collaboration-client-ui 0.10.9 → 0.10.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/facade.js +1 -1
  38. package/lib/umd/index.js +1 -1
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +16 -16
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x155c84=_0x2b86;(function(_0x1dd38c,_0x3bdc9b){const _0xbcdaaf=_0x2b86,_0x46f5e9=_0x1dd38c();while(!![]){try{const _0x4fd37e=parseInt(_0xbcdaaf(0x327))/0x1*(-parseInt(_0xbcdaaf(0x252))/0x2)+parseInt(_0xbcdaaf(0x3a2))/0x3+-parseInt(_0xbcdaaf(0x1e7))/0x4*(-parseInt(_0xbcdaaf(0x358))/0x5)+-parseInt(_0xbcdaaf(0x31d))/0x6+parseInt(_0xbcdaaf(0x21e))/0x7+-parseInt(_0xbcdaaf(0x264))/0x8*(-parseInt(_0xbcdaaf(0x2d9))/0x9)+-parseInt(_0xbcdaaf(0x33b))/0xa*(parseInt(_0xbcdaaf(0x23d))/0xb);if(_0x4fd37e===_0x3bdc9b)break;else _0x46f5e9['push'](_0x46f5e9['shift']());}catch(_0x286ba9){_0x46f5e9['push'](_0x46f5e9['shift']());}}}(_0x464d,0x9afb8));var xt=Object[_0x155c84(0x1cd)],Bt=(_0x346838,_0x34cf28,_0x584503)=>_0x34cf28 in _0x346838?xt(_0x346838,_0x34cf28,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x584503}):_0x346838[_0x34cf28]=_0x584503,_=(_0x1d940c,_0x25ef8d,_0x1f37b6)=>Bt(_0x1d940c,typeof _0x25ef8d!=_0x155c84(0x366)?_0x25ef8d+'':_0x25ef8d,_0x1f37b6);import{jsx as _0x398f8a,jsxs as _0x4e1068}from'react/jsx-runtime';import{CollaborationStatus as _0x1390dc,CollaborationSessionService as _0x2cd667,CollaborationController as _0x2e104e,DataLoaderService as _0x1ef147,MemberService as _0x54b884,SessionStatus as _0x1e165f,ILocalCacheService as _0x3612d5,CollaborationUIEventService as _0x367ac8,CollaborationUIEventId as _0x2bacf7,DocCollaborationEntity as _0xc9e983,getLocalCacheKey as _0x3b4d1f,LOCAL_CACHE_INTERVAL as _0x121465,LOCAL_CACHE_INTERVAL_KEY as _0x347141,UniverCollaborationClientPlugin as _0x15440d,CollaborationSocketService as _0x1dbd4c,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x1f9e87,DEFAULT_WS_SESSION_TICKET_URL as _0x55f455,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x169e12,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x131740,UnitStatus as _0x3494c6}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x1ce949,IUniverInstanceService as _0x20a926,Inject as _0x44d4b3,Injector as _0x59b711,Disposable as _0x1a59fc,createIdentifier as _0x554057,ILogService as _0x31744c,ICommandService as _0x3432a4,Optional as _0x2d5e1d,RxDisposable as _0x3ff97f,Workbook as _0x4ba702,DOC_RANGE_TYPE as _0x521fc8,debounce as _0x34e03b,Rectangle as _0x506810,DisposableCollection as _0x429d24,toDisposable as _0x4a894b,UniverInstanceType as _0x2a5a3d,generateRandomId as _0x4d86b9,COLORS as _0x5bedbb,ColorKit as _0x2f8e48,ThemeService as _0xce648c,fromEventSubject as _0x15fe4e,Tools as _0x49d9e0,CommandType as _0x1548f1,IConfigService as _0x2c13e5,ILocalStorageService as _0x1d2727,DependentOn as _0x365884,Plugin as _0x53725b,merge as _0x1bd8a6,registerDependencies as _0x2d90f6,mergeOverrideWithDependencies as _0x14ddf8,touchDependencies as _0x4262f0}from'@univerjs/core';import{useObservable as _0x3208f1,useDependency as _0x53cb54,IUIPartsService as _0x3e9bc1,BuiltInUIPart as _0x3c68d5,connectInjector as _0x331fa0,IBeforeCloseService as _0x11dd02,IMessageService as _0x2373e8,INotificationService as _0x85a16c}from'@univerjs/ui';import{BehaviorSubject as _0x4e3b68,switchMap as _0x2f6030,of as _0xc40de,takeUntil as _0x224124,debounceTime as _0x404149,Subject as _0x1ff154,filter as _0x36e1a3,merge as _0x44c54b,combineLatest as _0x1cfb26,fromEvent as _0x3ce8ec,shareReplay as _0x28aeac,mapTo as _0x2f81c0,distinctUntilChanged as _0x518fa2}from'rxjs';import{Tooltip as _0x414d1f,clsx as _0x33d777,MessageType as _0x471b05}from'@univerjs/design';import{forwardRef as _0x33f586,useRef as _0x18b791,createElement as _0x32488f,useCallback as _0x5b60e7}from'react';import{IRemoteInstanceService as _0x5ee0da}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x57942a,RefRangeService as _0x3c0dfe,SetSelectionsOperation as _0x5b9158,SheetsSelectionsService as _0x1198c1,EffectRefRangId as _0x4ef076,handleIRemoveRow as _0x5122fc,handleIRemoveCol as _0x174869,handleMoveRange as _0x3519a1,handleInsertRow as _0x597693,handleInsertRangeMoveRight as _0x247b77,handleInsertRangeMoveDown as _0x5b9c8d,handleInsertCol as _0x4ac7ae,handleDeleteRangeMoveUp as _0x4e3291,handleDeleteRangeMoveLeft as _0x1d2c5a,runRefRangeMutations as _0x41c7fe}from'@univerjs/sheets';import{Shape as _0x149bdf,Rect as _0x5b4ba9,getColor as _0x509938,RegularPolygon as _0x3162c3,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x3cd12e,Vector2 as _0x296c50,SHEET_VIEWPORT_KEY as _0x1fccdc,IRenderManagerService as _0x2ddfe8}from'@univerjs/engine-render';import{ISocketService as _0x35ba6f,WebSocketService as _0x3169ad,HTTPService as _0x19e0bb}from'@univerjs/network';import{IDocClipboardService as _0x1cc923,NodePositionConvertToCursor as _0x5a8531,NodePositionConvertToRectRange as _0x5de1cb,TEXT_RANGE_LAYER_INDEX as _0x57fe66,SetDocZoomRatioOperation as _0x287e5b,DocIMEInputManagerService as _0x3d9ca7,DocStateChangeManagerService as _0x30a2d0}from'@univerjs/docs-ui';import{IImageIoService as _0x32eda1}from'@univerjs/drawing';import{ITransformService as _0x444fd0,CollaborationEvent as _0x30ffbd,isTransformMutationFailure as _0x518c16,isTransformMutationsWithChangesetSuccess as _0x22dac4,RevisionService as _0x5b4aea,ISnapshotServerService as _0x9f21c2}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x35f670,RichTextEditingMutation as _0x34addb,DocSelectionManagerService as _0x2a0c16,DocSkeletonManagerService as _0x1dde2d}from'@univerjs/docs';import{deserializeRangeWithSheet as _0xebfcc9,serializeRangeWithSheet as _0xb4486e}from'@univerjs/engine-formula';import{map as _0x12b0e8,filter as _0x418601,throttleTime as _0x2ea15f,takeUntil as _0x1e7977,switchMap as _0x364184}from'rxjs/operators';import{SheetSkeletonManagerService as _0x4090c0,getCoordByCell as _0x27682b,getSheetObject as _0x200b55}from'@univerjs/sheets-ui';var v=function(){const _0x4b52c6=_0x155c84;return v=Object[_0x4b52c6(0x2fb)]||function(_0x3a1816){const _0x36b2db=_0x4b52c6;for(var _0x353e4c,_0x5533d6=0x1,_0x446ad0=arguments['length'];_0x5533d6<_0x446ad0;_0x5533d6++){_0x353e4c=arguments[_0x5533d6];for(var _0x8a073f in _0x353e4c)Object[_0x36b2db(0x3a8)][_0x36b2db(0x1f6)][_0x36b2db(0x357)](_0x353e4c,_0x8a073f)&&(_0x3a1816[_0x8a073f]=_0x353e4c[_0x8a073f]);}return _0x3a1816;},v[_0x4b52c6(0x2f1)](this,arguments);},ci=function(_0x50856c,_0x28d7f7){const _0x2856d6=_0x155c84;var _0x1cb86c={};for(var _0x2ea714 in _0x50856c)Object[_0x2856d6(0x3a8)][_0x2856d6(0x1f6)][_0x2856d6(0x357)](_0x50856c,_0x2ea714)&&_0x28d7f7[_0x2856d6(0x20a)](_0x2ea714)<0x0&&(_0x1cb86c[_0x2ea714]=_0x50856c[_0x2ea714]);if(_0x50856c!=null&&typeof Object[_0x2856d6(0x1ac)]==_0x2856d6(0x300)){for(var _0x495953=0x0,_0x2ea714=Object['getOwnPropertySymbols'](_0x50856c);_0x495953<_0x2ea714[_0x2856d6(0x2bd)];_0x495953++)_0x28d7f7[_0x2856d6(0x20a)](_0x2ea714[_0x495953])<0x0&&Object['prototype'][_0x2856d6(0x316)][_0x2856d6(0x357)](_0x50856c,_0x2ea714[_0x495953])&&(_0x1cb86c[_0x2ea714[_0x495953]]=_0x50856c[_0x2ea714[_0x495953]]);}return _0x1cb86c;},ke=_0x33f586(function(_0x40bd45,_0x38aa85){const _0x499dd1=_0x155c84;var _0x234f16=_0x40bd45[_0x499dd1(0x3a6)],_0x42a502=_0x40bd45['id'],_0x53a8f9=_0x40bd45[_0x499dd1(0x292)],_0x338eea=_0x40bd45[_0x499dd1(0x2c2)],_0x28593f=ci(_0x40bd45,[_0x499dd1(0x3a6),'id',_0x499dd1(0x292),_0x499dd1(0x2c2)]),_0x3e8e62='univerjs-icon\x20univerjs-icon-'['concat'](_0x42a502,'\x20')['concat'](_0x53a8f9||'')[_0x499dd1(0x373)](),_0x111812=_0x18b791('_'[_0x499dd1(0x271)](hi()));return Rt(_0x234f16,''[_0x499dd1(0x271)](_0x42a502),{'defIds':_0x234f16['defIds'],'idSuffix':_0x111812[_0x499dd1(0x1d9)]},v({'ref':_0x38aa85,'className':_0x3e8e62},_0x28593f),_0x338eea);});function Rt(_0x4fd789,_0xacb257,_0x4fb344,_0x191183,_0x598d25){const _0x2b0044=_0x155c84;return _0x32488f(_0x4fd789[_0x2b0044(0x291)],v(v({'key':_0xacb257},li(_0x4fd789,_0x4fb344,_0x598d25)),_0x191183),(_i(_0x4fd789,_0x4fb344)[_0x2b0044(0x2af)]||[])['map'](function(_0x3c5b98,_0x5d148e){const _0x5855ec=_0x2b0044;return Rt(_0x3c5b98,''[_0x5855ec(0x271)](_0xacb257,'-')[_0x5855ec(0x271)](_0x4fd789[_0x5855ec(0x291)],'-')[_0x5855ec(0x271)](_0x5d148e),_0x4fb344,void 0x0,_0x598d25);}));}function li(_0x49fc62,_0x32f523,_0x3ef010){const _0x20ed51=_0x155c84;var _0x42ae7e=v({},_0x49fc62[_0x20ed51(0x32c)]);_0x3ef010!=null&&_0x3ef010[_0x20ed51(0x272)]&&_0x42ae7e[_0x20ed51(0x2b3)]===_0x20ed51(0x272)&&(_0x42ae7e[_0x20ed51(0x2b3)]=_0x3ef010['colorChannel1']),_0x49fc62[_0x20ed51(0x291)]==='mask'&&_0x42ae7e['id']&&(_0x42ae7e['id']=_0x42ae7e['id']+_0x32f523[_0x20ed51(0x1b2)]),Object[_0x20ed51(0x2a7)](_0x42ae7e)[_0x20ed51(0x350)](function(_0x44fb5e){const _0x1ed05b=_0x20ed51;var _0x1d9809=_0x44fb5e[0x0],_0x214462=_0x44fb5e[0x1];_0x1d9809===_0x1ed05b(0x3a3)&&typeof _0x214462==_0x1ed05b(0x307)&&(_0x42ae7e[_0x1d9809]=_0x214462['replace'](/url\(#(.*)\)/,_0x1ed05b(0x2eb)[_0x1ed05b(0x271)](_0x32f523[_0x1ed05b(0x1b2)],')')));});var _0x3bb5a6=_0x32f523[_0x20ed51(0x1a0)];return!_0x3bb5a6||_0x3bb5a6[_0x20ed51(0x2bd)]===0x0||(_0x49fc62['tag']==='use'&&_0x42ae7e[_0x20ed51(0x298)]&&(_0x42ae7e[_0x20ed51(0x298)]=_0x42ae7e[_0x20ed51(0x298)]+_0x32f523[_0x20ed51(0x1b2)]),Object[_0x20ed51(0x2a7)](_0x42ae7e)[_0x20ed51(0x350)](function(_0x385cf1){const _0x3606c8=_0x20ed51;var _0x3860ff=_0x385cf1[0x0],_0x346369=_0x385cf1[0x1];typeof _0x346369=='string'&&(_0x42ae7e[_0x3860ff]=_0x346369[_0x3606c8(0x1b1)](/url\(#(.*)\)/,_0x3606c8(0x2eb)[_0x3606c8(0x271)](_0x32f523[_0x3606c8(0x1b2)],')')));})),_0x42ae7e;}function _i(_0xe47279,_0x54b1b0){const _0x463161=_0x155c84;var _0x5f0d01,_0x53fb9f=_0x54b1b0[_0x463161(0x1a0)];return!_0x53fb9f||_0x53fb9f[_0x463161(0x2bd)]===0x0?_0xe47279:_0xe47279[_0x463161(0x291)]==='defs'&&(!((_0x5f0d01=_0xe47279[_0x463161(0x2af)])===null||_0x5f0d01===void 0x0)&&_0x5f0d01[_0x463161(0x2bd)])?v(v({},_0xe47279),{'children':_0xe47279[_0x463161(0x2af)][_0x463161(0x1b0)](function(_0x54b166){const _0x45df70=_0x463161;return typeof _0x54b166[_0x45df70(0x32c)]['id']==_0x45df70(0x307)&&_0x53fb9f&&_0x53fb9f[_0x45df70(0x2b2)](_0x54b166['attrs']['id'])?v(v({},_0x54b166),{'attrs':v(v({},_0x54b166[_0x45df70(0x32c)]),{'id':_0x54b166[_0x45df70(0x32c)]['id']+_0x54b1b0[_0x45df70(0x1b2)]})}):_0x54b166;})}):_0xe47279;}function hi(){const _0x31322a=_0x155c84;return Math[_0x31322a(0x1c0)]()[_0x31322a(0x281)](0x24)[_0x31322a(0x332)](0x2,0x8);}function _0x464d(){const _0x1f4044=['unsubscribe','getTypeOfUnitDisposed$','getUnitId','none','_initStatusListener','getItem','range','_saveCache','_collabSessionService','YUUMI_ALL_TABLES_IS_INVALID','focused$','onCommandExecuted','storage','requireSession','status$','539zyMhie','some','sheetID','_initEvent','TOO_MANY_REQUESTS','_online','has','collabCursorState$','svg','InsertColCommandId','_name','_initDependencies','all','SNAPSHOT_INVALID_SNAPSHOT','setStateCache','setAlpha','_render','row','_backgroundColor','send','makeDirty','1519262PXRkMQ','_commandService','name','dispose','_updateSubUnitFromURLParams','undoState','_renderManagerService','translate(.97)','roomMembers$','_sheetSkeletonManagerService','_toggleOnline','permission.content','MOBILE_VERIFY_CODE_MISMATCH','getActiveSheet','removeParam','findNodePositionByCharIndex','setShapeProps','bottom','10824AlihPY','DeleteRangeMoveUpCommandId','_clearOtherTimers','hide','_setupBeforeClosingHandler','currentColor','univer-flex\x20univer-items-center','sessionStatus$','YUUMI_AI_RUN_FAILED','getRenderById','registerRenderModule','invokeId','_toggleOffline','concat','colorChannel1','isEditing','UPDATE_CURSOR','clearTimeout','SOCKET_FAILED_RETRY','getCollabEntity$','restore','_transformUndoRedoStack','engine','M0\x200H16V16H0z','_disabled','delete','SNAPSHOT_HAS_BEEN_REMOVED','skeleton','save','toString','_httpService','LICENSE_MAX_UNITS_EXCEEDED','CONNECTOR_DATA_TOO_LARGE','[CollaborationDataLoaderController]','InsertRangeMoveDownCommandId','APPLY_NON_SEQUENTIAL_REVISION','complete','ENSURE_SNAPSHOT_EXECUTION','JOIN_ROOM_FAILED','getOwnPropertyDescriptor','entityInit$','_docClipboardService','_transformService','executeCommand','_docStateChangeManagerService','tag','className','_draw','_colorIndex','isArray','_getAnchorBounding','round','xlink:href','sheetId','_refreshCollabCursors','displayName','selection','replaceDocRanges','OffLineIcon','post','height','_setupSubUnitSync','_hovered','createInstance','div','get','runId','entries','unitId','_drawTextRange','saveTaskMap','setParam','_lastPointer','NO_OTHER_CLIENTS_EDITING','params','children','http://www.w3.org/2000/svg','_beforeCloseService','includes','fill','arc','mutations','from','hovered','pipe','_getScale','measureText','_cursorInfo$','_getSheetObject','length','flatMap','session.connection-failed','YUUMI_RATE_OVER_LIMIT','_docSkeletonManagerService','extend','closePath','getFocusedUnit','event$','RemoveRowCommandId','imageSourceType','push','result','NOT_FOUND','_collabCursorState$','enableLocalCache','_registerRenderDependencies','collabStatus.conflict','history','getVpScrollXYInfoByPosToVp','_handleHeartbeatEvent','getCollabCursors$','_revisionService','href','currentTheme$','OFFLINE','_getSessionTicket','_removeClearOtherTimer','6894JiGENA','RemoveColCommandId','getUndoRedoMutationParamsCache','green.600','setInterval','session.collaboration-timeout','_scheduleClearOtherTimer','black','ALREADY_EXISTS','_notificationService','_docSyncEditingCollabCursorService','split','setTimeout','off-line-icon_clip0_910_343','memberID','show','EMAIL_VERIFY_CODE_MISMATCH','onMouseMove','url(#$1','HEADER_MENU','_messageService','pluginName','_cachedData','0\x200\x2016\x2016','apply','collab-text-range-','LOGIN_FAILED','_ensureSubject','FromArray','getSkeleton','_transformPreviousActiveRange','addObject','_startDocCollabCursor','_updateCollabCursors','assign','univer-mr-2\x20univer-flex\x20univer-text-xl','runOnServer','collaboration-client-ui.config','AWAITING_WITH_PENDING','function','UNIVER_SHEET','getValue','assignAColorForMemberID','transformMutationsWithChangeset','onPointerLeave$','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','string','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_hover','_entities','CONFLICT','beginPath','INVITE_CODE_REQUIRED','_docTransformSelectionsService','uni.network.url-service','_scheduleHeartbeat','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getMember','_transformHistoryAndStateStack','INVITE_CODE_ALREADY_BOUND','_id','propertyIsEnumerable','startsWith','OTHER_CLIENTS_EDITING','PENDING','getCurrent','getSheetId','_unitOnClients','1041450meBBbo','top','getDocRanges','VIEW_MAIN','getParam','LICENSE_IMPORT_SIZE_EXCEEDED','sessionTicket','collabStatus.notCollab','parse','contains','1GbVAvL','PERMISSION_DENIED','USER_NOT_INVITED_CODE','_handleHover','_drawRectRange','attrs','YUUMI_TABLE_NOT_FOUND_IN_UNIT','dispose$','exhaustSavingTask','getConfig','OnLineIcon','substring','_heartbeatTimer','addClipboardHook','_onRefRangeChange','_updateLocalCursor','LICENSE_DISTRO_REJECTED','search','labelPosition','_saveTaskMap','215990xpzngS','APPLY_DUPLICATED','error','cursorInfo','color','white','_urlService','collab-text-anchor-','_handleEvent','newValue','evenodd','eventID','_collabCursorController','then','USERS_LEAVE','m1Prime','_localStorageService','moveTo','getUnhiddenWorksheets','transform','stringify','forEach','_logService','_getMergeRange','_uiPartsService','YUUMI_URL_COL_OUT_OF_RANGE','lineTo','setItem','call','1165WZSDKQ','type','_initResize','_doCreateSocket','_textBubble','_config','MoveRangeCommandId','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','getRangePointData','_scene','set','createSocket','_status$','transformIMECache','symbol','doc.mutation.rich-text-editing','on-line-icon','transformStateCache','disposeWithMe','_unitStatus','size','TEXT','asObservable','INVALID_ARGUMENT','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','syncEditingCollabCursor','setUndoRedoMutationParamsCache','trim','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','getColorFromTheme','collabStatus.synced','collab-rect-range-','transformMutation','replaceState','onStarting','_removeCollabCursors','_initEntityListener','subscribeEvent','origin','getTypeOfUnitAdded$','location','getUnitStatus$','debug','YUUMI_SUBSCRIPTION_NOT_FOUND','Warning','defs','ranges','INVALID_INVITE_CODE','onLocalMutation','_instanceService','getActiveRange','collaboration.single-unit.warning','subUnitId','getStateCache','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','red.300','YUUMI_NO_CUBOID_FOR_QUESTION','body','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','InsertRowCommandId','drawWith','pushState','subunit','AWAITING','OTHER_CLIENT_EDITING','_labelPosition','addHandlerCallback','url(#on-line-icon_clip0_910_349)','...','path','RECT','max','min','text','1031616KtpKVA','mask','loadUnit','_anchorDot','icon','PY_RUNTIME_SCRIPT_ERROR','prototype','collab-client.tooltip.reconnect','_roomMembers$','_hideTimer','_syncEditingCollabCursorService','Failed','Error','_injector','getCurrentUnitForType','application/json','defIds','_handleLeaveEvent','code','_context','FETCH_MISS','unshift','_assignedColors','ticket','urlChange$','getRelativeToViewportCoord','WECHAT_HAS_BEEN_BOUND','addEventListener','getOwnPropertySymbols','getMergeData','_getSaveTimeout','collabStatus.syncing','map','replace','idSuffix','disableLocalCache','getCurrentSelections','permission.title','_collaborationController','next','_memberService','column','_range','YUUMI_CONNECTOR_URL_NOT_FOUND','with','getSheetBySheetId','redoState','_onCursorDelete','random','UNRECOGNIZED','_localCacheService','width','cursorInfo$','unit','activeSheet$','addObjects','LICENSE_EXPORT_SIZE_EXCEEDED','_dataLoaderService','_docTransformStateCacheService','CHANGESET_REVISION_CONFILICT','resize','defineProperty','_initStatusComponent','_colorAssignService','disposeUnit','_configService','deepClone','subscribe','override','fillStyle','find','_shapes','_anchor','current','_cursor','DeleteRangeMoveLeftCommandId','_drawAnchor','searchParams','textRanges','onRendered','_session','EMAIL_HAS_BEEN_BOUND','toRgbString','APPLY_PERMISSION_DENIED','_onCursorUpdate','_startSheetCollabCursor','m2Prime','10628FXjoun','getMemberID','transformSelections','UniverIcon','setActiveRange','getAncestorScale','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','SUBMIT_CHANGESET_TIMEOUT','_eventUnsubscribe','roomMembers','reconnect','_cursorShapes','fillText','collaboration.closeRoom','MUTATION','hasOwnProperty','init','_localeService','blue.400','YUUMI_ASYNCIO_CANCELLED','clipPath','isActive','0\x200\x2017\x2016','Unknown\x20user','currentSkeleton$','_entityInit$','endColumn','_docTransformIMECacheService','1em','INVITE_CODE_HAS_BEEN_UES','_init','UNDEFINED','_univerInstanceService','collabStatus.offline','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','indexOf','SYNCED','ONLINE','_send','key','collaboration-client.offline-data-not-saved','_selfUnitIDs','MOBILE_HAS_BEEN_BOUND','_themeService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','InsertRangeMoveRightCommandId','UNAUTHENTICATED','session.will-retry','whenReady','onTransformChange$','jiqing.500','getViewport','_scheduleSaving','values','docStateChange$','4389098dnFLOh','transformRemoteChangeset','_createSocketURL','data','_updateURLWithCurrentState','_handleJoinEvent','NOT_COLLAB','_cursors','_color','unitID','COMPLETION_FINISHED','onPointerEnter$','add','ACTIVE_UNIT_EVENT_CHANNEL','UNIVER_DOC','/run/'];_0x464d=function(){return _0x1f4044;};return _0x464d();}ke[_0x155c84(0x29b)]=_0x155c84(0x1ea);var ui={'tag':_0x155c84(0x245),'attrs':{'xmlns':_0x155c84(0x2b0),'fill':'none','viewBox':_0x155c84(0x2f0),'width':_0x155c84(0x203),'height':_0x155c84(0x203)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x155c84(0x39d),'attrs':{'stroke':_0x155c84(0x269),'d':_0x155c84(0x374),'strokeLinecap':_0x155c84(0x297),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x155c84(0x385),'attrs':{},'children':[{'tag':_0x155c84(0x1fb),'attrs':{'id':_0x155c84(0x2e6)},'children':[{'tag':_0x155c84(0x39d),'attrs':{'fill':'white','d':_0x155c84(0x27b)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},Dt=_0x33f586(function(_0x5e8d28,_0x9774a3){const _0x191757=_0x155c84;return _0x32488f(ke,Object[_0x191757(0x2fb)]({},_0x5e8d28,{'id':'off-line-icon','ref':_0x9774a3,'icon':ui}));});Dt[_0x155c84(0x29b)]=_0x155c84(0x29e);var di={'tag':'svg','attrs':{'xmlns':_0x155c84(0x2b0),'fill':_0x155c84(0x231),'viewBox':_0x155c84(0x1fd),'width':_0x155c84(0x203),'height':_0x155c84(0x203)},'children':[{'tag':'g','attrs':{'clipPath':_0x155c84(0x39b)},'children':[{'tag':'path','attrs':{'stroke':_0x155c84(0x269),'d':_0x155c84(0x209),'strokeLinecap':_0x155c84(0x297),'strokeLinejoin':_0x155c84(0x297),'strokeWidth':1.2}}]},{'tag':_0x155c84(0x385),'attrs':{},'children':[{'tag':_0x155c84(0x1fb),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x155c84(0x39d),'attrs':{'fill':_0x155c84(0x340),'d':'M0\x200H16V16H0z','transform':_0x155c84(0x259)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},Nt=_0x33f586(function(_0x39a4b0,_0x5c4078){const _0x373160=_0x155c84;return _0x32488f(ke,Object[_0x373160(0x2fb)]({},_0x39a4b0,{'id':_0x373160(0x368),'ref':_0x5c4078,'icon':di}));});Nt[_0x155c84(0x29b)]=_0x155c84(0x331);function fi(_0x379c75){const _0x31ce1c=_0x155c84;switch(_0x379c75){case _0x1390dc[_0x31ce1c(0x2d6)]:return _0x31ce1c(0x208);case _0x1390dc['CONFLICT']:return _0x31ce1c(0x2ce);case _0x1390dc[_0x31ce1c(0x1a4)]:return'collabStatus.fetchMiss';case _0x1390dc[_0x31ce1c(0x224)]:return _0x31ce1c(0x324);case _0x1390dc[_0x31ce1c(0x397)]:case _0x1390dc[_0x31ce1c(0x2ff)]:return _0x31ce1c(0x1af);case _0x1390dc[_0x31ce1c(0x20b)]:case _0x1390dc[_0x31ce1c(0x319)]:return _0x31ce1c(0x376);}}function Si(_0x1f082f){const _0x19318f=_0x155c84,{status$:_0x22f7e3}=_0x1f082f,_0x5f5b69=_0x3208f1(_0x22f7e3,_0x1390dc[_0x19318f(0x224)]),_0x3e1a78=_0x53cb54(_0x1ce949),_0x453b25=_0x53cb54(_0x2cd667),_0x102b51=_0x5f5b69!==_0x1390dc[_0x19318f(0x2d6)],_0x318b93=_0x3e1a78['t'](fi(_0x5f5b69)),_0x36f417=_0x102b51?_0x398f8a(Nt,{}):_0x398f8a(Dt,{}),_0x238390=_0x5b60e7(()=>{const _0x464b62=_0x19318f;_0x102b51||_0x453b25[_0x464b62(0x1f1)]();},[_0x102b51,_0x453b25]);function _0xe0d2e8(){const _0x71f658=_0x19318f;return _0x4e1068('div',{'className':_0x71f658(0x26a),'onClick':_0x238390,'children':[_0x398f8a(_0x71f658(0x2a4),{'className':_0x33d777(_0x71f658(0x2fc),{'univer-text-green-500':_0x102b51,'univer-text-red-500':!_0x102b51}),'children':_0x36f417}),_0x398f8a(_0x71f658(0x2a4),{'className':_0x71f658(0x38e),'children':_0x318b93})]});}return _0x102b51?_0xe0d2e8():_0x398f8a(_0x414d1f,{'title':_0x3e1a78['t'](_0x19318f(0x197)),'children':_0xe0d2e8()});}var mi=Object[_0x155c84(0x28b)],Ii=(_0x4dcffa,_0x4ea366,_0x2a60af,_0x11b45e)=>{const _0x27dbd5=_0x155c84;for(var _0x7bc4c9=_0x11b45e>0x1?void 0x0:_0x11b45e?mi(_0x4ea366,_0x2a60af):_0x4ea366,_0x28284d=_0x4dcffa[_0x27dbd5(0x2bd)]-0x1,_0x97a772;_0x28284d>=0x0;_0x28284d--)(_0x97a772=_0x4dcffa[_0x28284d])&&(_0x7bc4c9=_0x97a772(_0x7bc4c9)||_0x7bc4c9);return _0x7bc4c9;},q=(_0x94ec66,_0x347db9)=>(_0x33d3ff,_0x1cb623)=>_0x347db9(_0x33d3ff,_0x1cb623,_0x94ec66);let se=class extends _0x1a59fc{constructor(_0x5887e0,_0x502cde,_0x3799c1,_0x216321){const _0x27edda=_0x155c84;super(),_(this,'_status$',new _0x4e3b68(_0x1390dc[_0x27edda(0x224)])),(this['_univerInstanceService']=_0x5887e0,this[_0x27edda(0x19d)]=_0x502cde,this[_0x27edda(0x1b6)]=_0x3799c1,this[_0x27edda(0x353)]=_0x216321,this[_0x27edda(0x1ce)](),this[_0x27edda(0x232)]());}[_0x155c84(0x232)](){const _0x4e034a=_0x155c84;this[_0x4e034a(0x36a)](this[_0x4e034a(0x207)][_0x4e034a(0x238)][_0x4e034a(0x2b8)](_0x2f6030(()=>{const _0x306640=_0x4e034a,_0x391711=this[_0x306640(0x207)][_0x306640(0x2c4)]();return _0x391711?this[_0x306640(0x1b6)][_0x306640(0x277)](_0x391711[_0x306640(0x230)]()):_0xc40de(null);}),_0x2f6030(_0x2bb1b6=>_0x2bb1b6?_0x2bb1b6[_0x4e034a(0x23c)]:_0xc40de(_0x1390dc[_0x4e034a(0x224)])))[_0x4e034a(0x1d3)](_0x54bbde=>{const _0x37a519=_0x4e034a;this[_0x37a519(0x364)][_0x37a519(0x1b7)](_0x54bbde);}));}[_0x155c84(0x1ce)](){const _0x49fe4c=_0x155c84;this[_0x49fe4c(0x36a)](this['_uiPartsService']['registerComponent'](_0x3c68d5[_0x49fe4c(0x2ec)],()=>_0x331fa0(vi({'status$':this[_0x49fe4c(0x364)][_0x49fe4c(0x36e)]()}),this[_0x49fe4c(0x19d)])));}};se=Ii([q(0x0,_0x20a926),q(0x1,_0x44d4b3(_0x59b711)),q(0x2,_0x44d4b3(_0x2e104e)),q(0x3,_0x3e9bc1)],se);function vi(_0x27aed2){const {status$:_0x159eb}=_0x27aed2;return function(){return _0x398f8a(Si,{'status$':_0x159eb});};}const Ut=_0x554057(_0x155c84(0x30f));var gi=Object[_0x155c84(0x28b)],pi=(_0x5f0d10,_0x4796a7,_0xa8371d,_0x2ed449)=>{const _0x112763=_0x155c84;for(var _0x283008=_0x2ed449>0x1?void 0x0:_0x2ed449?gi(_0x4796a7,_0xa8371d):_0x4796a7,_0x51c2fe=_0x5f0d10[_0x112763(0x2bd)]-0x1,_0x5d1f6d;_0x51c2fe>=0x0;_0x51c2fe--)(_0x5d1f6d=_0x5f0d10[_0x51c2fe])&&(_0x283008=_0x5d1f6d(_0x283008)||_0x283008);return _0x283008;},G=(_0x1514d1,_0x4d3ccc)=>(_0x13cd17,_0x27d17a)=>_0x4d3ccc(_0x13cd17,_0x27d17a,_0x1514d1);let ie=class extends _0x3ff97f{constructor(_0x5ad044,_0x1417a3,_0x2bd5ae,_0x40907f,_0x3f96f2){const _0x2d78ad=_0x155c84;super(),this['_urlService']=_0x5ad044,this['_logService']=_0x1417a3,this[_0x2d78ad(0x253)]=_0x2bd5ae,this[_0x2d78ad(0x1c9)]=_0x40907f,_0x3f96f2?_0x3f96f2==null||_0x3f96f2[_0x2d78ad(0x217)]()[_0x2d78ad(0x348)](()=>this[_0x2d78ad(0x205)]()):(this[_0x2d78ad(0x351)][_0x2d78ad(0x382)](_0x2d78ad(0x285),_0x2d78ad(0x392)),this[_0x2d78ad(0x205)]());}async['_init'](){const _0xc8841f=_0x155c84,_0x572169=this['_urlService']['getParam']('unit'),_0x578f17=this['_urlService']['getParam'](_0xc8841f(0x359)),_0x20c2e8=this[_0xc8841f(0x341)][_0xc8841f(0x321)](_0xc8841f(0x396));if(!_0x572169||!_0x578f17){this['_logService'][_0xc8841f(0x382)](_0xc8841f(0x285),_0xc8841f(0x311));return;}const _0x869cdb=await this[_0xc8841f(0x1c9)][_0xc8841f(0x3a4)](_0x572169,Number(_0x578f17),_0x20c2e8);_0x869cdb&&_0x869cdb instanceof _0x4ba702&&this[_0xc8841f(0x2a1)](_0x869cdb);}async['_setupSubUnitSync'](_0x214b08){const _0x21d89d=_0x155c84;await this[_0x21d89d(0x256)](_0x214b08),_0x214b08[_0x21d89d(0x1c6)][_0x21d89d(0x2b8)](_0x224124(this[_0x21d89d(0x32e)]))[_0x21d89d(0x1d3)](_0x4c4a8a=>{const _0x29344b=_0x21d89d;_0x4c4a8a&&this[_0x29344b(0x222)](_0x4c4a8a);}),this[_0x21d89d(0x341)]['urlChange$'][_0x21d89d(0x2b8)](_0x224124(this[_0x21d89d(0x32e)]))[_0x21d89d(0x1d3)](()=>this[_0x21d89d(0x256)](_0x214b08));}[_0x155c84(0x222)](_0x447a58,_0x5376df=!0x1){const _0x32cf20=_0x155c84,_0xbcbf4d=this[_0x32cf20(0x341)][_0x32cf20(0x321)](_0x32cf20(0x396));_0x447a58[_0x32cf20(0x31b)]()!==_0xbcbf4d&&this[_0x32cf20(0x341)][_0x32cf20(0x2ab)]('subunit',_0x447a58[_0x32cf20(0x31b)](),_0x5376df);}async['_updateSubUnitFromURLParams'](_0x5637aa){const _0x5cde12=_0x155c84;var _0x5ef983;const _0x3ecf47=this[_0x5cde12(0x341)]['getParam'](_0x5cde12(0x396));if(!_0x3ecf47||!_0x5637aa[_0x5cde12(0x1bd)](_0x3ecf47)){const _0x9560cb=_0x5637aa[_0x5cde12(0x34d)]()[0x0],_0x5d4111=_0x5637aa[_0x5cde12(0x1bd)](_0x9560cb);if(!_0x5d4111)return;this[_0x5cde12(0x222)](_0x5d4111,!0x0),await this['_commandService'][_0x5cde12(0x28f)](_0x57942a['id'],{'unitId':_0x5637aa[_0x5cde12(0x230)](),'subUnitId':_0x9560cb});return;}((_0x5ef983=_0x5637aa['getActiveSheet']())==null?void 0x0:_0x5ef983[_0x5cde12(0x31b)]())!==_0x3ecf47&&await this[_0x5cde12(0x253)]['executeCommand'](_0x57942a['id'],{'unitId':_0x5637aa[_0x5cde12(0x230)](),'subUnitId':_0x3ecf47});}};ie=pi([G(0x0,Ut),G(0x1,_0x31744c),G(0x2,_0x3432a4),G(0x3,_0x44d4b3(_0x1ef147)),G(0x4,_0x2d5e1d(_0x5ee0da))],ie);var Ci=Object['getOwnPropertyDescriptor'],Ei=(_0x1816b6,_0xffad59,_0x104e71,_0x8396de)=>{for(var _0x14b03a=_0x8396de>0x1?void 0x0:_0x8396de?Ci(_0xffad59,_0x104e71):_0xffad59,_0xd99ad1=_0x1816b6['length']-0x1,_0x2e3af0;_0xd99ad1>=0x0;_0xd99ad1--)(_0x2e3af0=_0x1816b6[_0xd99ad1])&&(_0x14b03a=_0x2e3af0(_0x14b03a)||_0x14b03a);return _0x14b03a;},Je=(_0x22c772,_0x15c71a)=>(_0x217d27,_0x840fbb)=>_0x15c71a(_0x217d27,_0x840fbb,_0x22c772);let Ne=class extends _0x3ff97f{constructor(_0x402424,_0x34d0e6){const _0x38412e=_0x155c84;super(),this[_0x38412e(0x28d)]=_0x402424,this['_imageIoService']=_0x34d0e6,this['_init']();}[_0x155c84(0x205)](){const _0x12d4cc=_0x155c84,_0x129762=this;this['disposeWithMe'](this[_0x12d4cc(0x28d)][_0x12d4cc(0x334)]({'onBeforePasteImage':async _0x1eca21=>{const _0x1c946c=_0x12d4cc,_0x4a27d8=await _0x129762['_imageIoService']['saveImage'](_0x1eca21);return _0x4a27d8?{'source':_0x4a27d8['source'],'imageSourceType':_0x4a27d8[_0x1c946c(0x2c7)]}:null;}}));}};Ne=Ei([Je(0x0,_0x1cc923),Je(0x1,_0x32eda1)],Ne);function _0x2b86(_0x2cbfdc,_0x4d9a27){const _0x464d06=_0x464d();return _0x2b86=function(_0x2b8656,_0x43da78){_0x2b8656=_0x2b8656-0x197;let _0x89361b=_0x464d06[_0x2b8656];return _0x89361b;},_0x2b86(_0x2cbfdc,_0x4d9a27);}const Ze=['purple.300',_0x155c84(0x219),_0x155c84(0x2dc),_0x155c84(0x38f),_0x155c84(0x1f9),'yellow.400'];class He extends _0x1a59fc{constructor(){const _0x3a56cc=_0x155c84;super(...arguments),_(this,'_assignedColors',new Map()),_(this,_0x3a56cc(0x294),0x0);}[_0x155c84(0x303)](_0x5bc05f){const _0x23e3a7=_0x155c84;if(this['_assignedColors']['has'](_0x5bc05f))return this['_assignedColors'][_0x23e3a7(0x2a5)](_0x5bc05f);const _0x47c72f=Ze[this[_0x23e3a7(0x294)]];return this[_0x23e3a7(0x294)]=(this[_0x23e3a7(0x294)]+0x1)%Ze[_0x23e3a7(0x2bd)],this[_0x23e3a7(0x1a6)][_0x23e3a7(0x362)](_0x5bc05f,_0x47c72f),_0x47c72f;}}function Mt(_0x2cd54f){const _0x20b436=_0x155c84;let _0x53513c='';for(const _0x37b5d5 of _0x2cd54f){const {startOffset:_0x408463,endOffset:_0x351a12,isActive:_0x2f1afc,rangeType:_0x35fb99,segmentId:_0x5a8970,segmentPage:_0x3ab63a}=_0x37b5d5;_0x53513c[_0x20b436(0x2bd)]&&(_0x53513c+=','),_0x53513c+=_0x408463+':'+_0x351a12+':'+(_0x2f1afc?'1':'0')+':'+_0x35fb99+':'+_0x5a8970+':'+_0x3ab63a;}return _0x53513c;}function Oi(_0x3c2d18){const _0x36d8d9=_0x155c84,_0x34bef1=_0x3c2d18[_0x36d8d9(0x2e4)](','),_0x374db2=[];for(const _0x86262a of _0x34bef1){const [_0x2c79aa,_0x460188,_0x442420,_0x9485ce,_0x419074,_0x249351]=_0x86262a[_0x36d8d9(0x2e4)](':');_0x374db2[_0x36d8d9(0x2c8)]({'startOffset':Number(_0x2c79aa),'endOffset':Number(_0x460188),'collapsed':_0x2c79aa===_0x460188,'isActive':_0x442420==='1','rangeType':_0x9485ce===_0x521fc8[_0x36d8d9(0x36d)]?_0x521fc8[_0x36d8d9(0x36d)]:_0x521fc8[_0x36d8d9(0x39e)],'segmentId':typeof _0x419074==_0x36d8d9(0x307)?String(_0x419074):'','segmentPage':Number(_0x249351!=null?_0x249351:-0x1)});}return _0x374db2[_0x36d8d9(0x23e)](_0x506d11=>_0x506d11[_0x36d8d9(0x1fc)])||(_0x374db2[0x0][_0x36d8d9(0x1fc)]=!0x0),_0x374db2;}class Fe extends _0x3ff97f{constructor(){const _0x2999e3=_0x155c84;super(...arguments),_(this,_0x2999e3(0x2cb),new _0x4e3b68(null)),_(this,_0x2999e3(0x244),this['_collabCursorState$'][_0x2999e3(0x36e)]());}[_0x155c84(0x371)](_0x40591c){const _0x47c37b=_0x155c84,{unitID:_0xa5c3d7,memberID:_0x311fd2,textRanges:_0x347792}=_0x40591c,_0x47d277=Mt(_0x347792);if(_0x47d277==='')return;const _0xb33aca={'unitID':_0xa5c3d7,'memberID':_0x311fd2,'selection':_0x47d277};this[_0x47c37b(0x2cb)][_0x47c37b(0x1b7)](_0xb33aca);}}var bi=Object[_0x155c84(0x28b)],Ti=(_0x5596e0,_0x221a9f,_0xbc002,_0x48c296)=>{const _0x165ee2=_0x155c84;for(var _0x1179d1=_0x48c296>0x1?void 0x0:_0x48c296?bi(_0x221a9f,_0xbc002):_0x221a9f,_0x83741f=_0x5596e0[_0x165ee2(0x2bd)]-0x1,_0x4721c6;_0x83741f>=0x0;_0x83741f--)(_0x4721c6=_0x5596e0[_0x83741f])&&(_0x1179d1=_0x4721c6(_0x1179d1)||_0x1179d1);return _0x1179d1;},P=(_0x25236f,_0x4160f9)=>(_0x584b40,_0x52385a)=>_0x4160f9(_0x584b40,_0x52385a,_0x25236f);const Ri=0x12c,Di=0x64;let Ue=class extends _0x3ff97f{constructor(_0x3c313a,_0xe015df,_0x310386,_0x48008f,_0x58f5cd,_0x205fab,_0x1663c4,_0x527008,_0x4ca59a){const _0x23e7b5=_0x155c84;super(),_(this,_0x23e7b5(0x242),!0x1),_(this,_0x23e7b5(0x205),!0x1),_(this,'_cursorInfo$',new _0x4e3b68(new Map())),_(this,_0x23e7b5(0x1c4),this['_cursorInfo$'][_0x23e7b5(0x36e)]()),_(this,'_roomMembers$',new _0x4e3b68([])),_(this,_0x23e7b5(0x25a),this[_0x23e7b5(0x198)][_0x23e7b5(0x2b8)](_0x404149(Ri))),_(this,_0x23e7b5(0x336),_0x34e03b(_0x5b8633=>{const _0x7f2a51=_0x23e7b5,_0x195ff8={'eventID':_0x30ffbd['UPDATE_CURSOR'],'data':{'unitID':this[_0x7f2a51(0x227)],'memberID':this[_0x7f2a51(0x1e0)]['getMemberID'](),'selection':Mt(_0x5b8633)}};this['_session'][_0x7f2a51(0x250)](_0x195ff8,this[_0x7f2a51(0x227)]);},Di)),(this['unitID']=_0x3c313a,this[_0x23e7b5(0x1e0)]=_0xe015df,this['_injector']=_0x310386,this[_0x23e7b5(0x1cf)]=_0x48008f,this[_0x23e7b5(0x1b8)]=_0x58f5cd,this[_0x23e7b5(0x19a)]=_0x205fab,this[_0x23e7b5(0x28e)]=_0x1663c4,this[_0x23e7b5(0x207)]=_0x527008,this[_0x23e7b5(0x253)]=_0x4ca59a);}get[_0x155c84(0x33e)](){const _0x3fa0b8=_0x155c84;return this[_0x3fa0b8(0x2bb)][_0x3fa0b8(0x302)]();}get[_0x155c84(0x1f0)](){return this['_roomMembers$']['getValue']();}[_0x155c84(0x255)](){const _0x51d8c9=_0x155c84;super[_0x51d8c9(0x255)](),this[_0x51d8c9(0x2bb)][_0x51d8c9(0x1b7)](new Map()),this[_0x51d8c9(0x2bb)]['complete'](),this[_0x51d8c9(0x198)][_0x51d8c9(0x1b7)]([]),this[_0x51d8c9(0x198)][_0x51d8c9(0x288)]();}[_0x155c84(0x1f7)](){const _0x35fe6f=_0x155c84;this[_0x35fe6f(0x205)]||(this['_init']=!0x0,this[_0x35fe6f(0x1e0)][_0x35fe6f(0x26b)]['pipe'](_0x224124(this[_0x35fe6f(0x32e)]))[_0x35fe6f(0x1d3)](_0x4ebfa5=>{const _0x332d14=_0x35fe6f;_0x4ebfa5===_0x1e165f[_0x332d14(0x20c)]?this[_0x332d14(0x25c)]():this[_0x332d14(0x270)]();}),this[_0x35fe6f(0x1e0)][_0x35fe6f(0x2c5)][_0x35fe6f(0x2b8)](_0x224124(this['dispose$']))[_0x35fe6f(0x1d3)](_0x2b3f5f=>{const _0xe02c12=_0x35fe6f,_0x53b995=_0x2b3f5f[_0xe02c12(0x346)];_0x53b995===_0x30ffbd[_0xe02c12(0x274)]&&this[_0xe02c12(0x1e4)](_0x2b3f5f),_0x53b995===_0x30ffbd['USERS_LEAVE']&&this[_0xe02c12(0x1bf)](_0x2b3f5f);}),this[_0x35fe6f(0x36a)](this[_0x35fe6f(0x253)][_0x35fe6f(0x239)](_0x239e61=>{const _0x62cbc=_0x35fe6f,_0x21ef33=_0x239e61[_0x62cbc(0x2ae)];_0x21ef33!=null&&this[_0x62cbc(0x242)]&&_0x239e61['id']===_0x35f670['id']&&_0x21ef33[_0x62cbc(0x2a8)]===this[_0x62cbc(0x227)]&&_0x21ef33[_0x62cbc(0x273)]===!0x1&&_0x21ef33[_0x62cbc(0x386)]['length']>0x0&&this['_updateLocalCursor'](_0x21ef33[_0x62cbc(0x386)]);})),this[_0x35fe6f(0x19a)][_0x35fe6f(0x244)][_0x35fe6f(0x2b8)](_0x224124(this[_0x35fe6f(0x32e)]))[_0x35fe6f(0x1d3)](_0xbf9dc5=>{const _0x52b73d=_0x35fe6f;if((_0xbf9dc5==null?void 0x0:_0xbf9dc5[_0x52b73d(0x227)])!==this[_0x52b73d(0x227)])return;const _0x128164={'eventID':_0x30ffbd[_0x52b73d(0x274)],'data':_0xbf9dc5};this[_0x52b73d(0x1e4)](_0x128164);}),this[_0x35fe6f(0x36a)](this[_0x35fe6f(0x253)][_0x35fe6f(0x239)](_0x177dec=>{const _0x880aff=_0x35fe6f;if(_0x177dec['params']==null)return;const _0x20e701=_0x177dec[_0x880aff(0x2ae)];if(_0x177dec['id']!==_0x34addb['id']||_0x20e701[_0x880aff(0x2a8)]!==this[_0x880aff(0x227)])return;const _0x5d3c96={'id':_0x880aff(0x367),'params':_0x20e701},_0x7034fa=this[_0x880aff(0x33e)];for(const [_0x3331a2,_0x360ec9]of _0x7034fa){const _0x169985={'id':_0x880aff(0x367),'params':{'unitId':this[_0x880aff(0x227)],'actions':null,'textRanges':_0x360ec9[_0x880aff(0x386)]}},_0xa01168=this[_0x880aff(0x28e)][_0x880aff(0x378)](_0x5d3c96,_0x169985,!0x1);if(_0x518c16(_0xa01168))throw _0xa01168['error'];_0x7034fa[_0x880aff(0x362)](_0x3331a2,{..._0x360ec9,'ranges':_0xa01168[_0x880aff(0x1e6)]['params']['textRanges']});}queueMicrotask(()=>{const _0x4736b3=_0x880aff;this[_0x4736b3(0x2bb)][_0x4736b3(0x1b7)](_0x7034fa);});})));}['_onCursorUpdate'](_0x33f9d6){const _0x3a3f8a=_0x155c84;var _0x1c63c0,_0x59d5ff;const {memberID:_0x4d64d7,selection:_0x10ac7c}=_0x33f9d6[_0x3a3f8a(0x221)],_0x39ab7d=Oi(_0x10ac7c),_0x26de46=(_0x59d5ff=(_0x1c63c0=this['_memberService'][_0x3a3f8a(0x312)](this[_0x3a3f8a(0x227)],_0x4d64d7))==null?void 0x0:_0x1c63c0['name'])!=null?_0x59d5ff:'Unknown\x20user',_0x5059de={'color':this[_0x3a3f8a(0x1cf)][_0x3a3f8a(0x303)](_0x4d64d7),'name':_0x26de46,'ranges':_0x39ab7d},_0x1dc717=this['cursorInfo'];_0x1dc717[_0x3a3f8a(0x362)](_0x4d64d7,_0x5059de),this[_0x3a3f8a(0x2bb)][_0x3a3f8a(0x1b7)](_0x1dc717);}[_0x155c84(0x1bf)](_0x5e12ba){const _0x5350f9=_0x155c84,{memberID:_0x223fb6}=_0x5e12ba['data'],_0x595dce=this['cursorInfo'];_0x595dce[_0x5350f9(0x27d)](_0x223fb6),this[_0x5350f9(0x2bb)]['next'](_0x595dce);}[_0x155c84(0x25c)](){const _0x6d9be2=_0x155c84;var _0x36a2b0;if(this[_0x6d9be2(0x242)]=!0x0,((_0x36a2b0=this[_0x6d9be2(0x207)][_0x6d9be2(0x2c4)]())==null?void 0x0:_0x36a2b0[_0x6d9be2(0x230)]())!==this['unitID'])return;const _0x533bad=this[_0x6d9be2(0x19d)][_0x6d9be2(0x2a5)](_0x2a0c16)['getDocRanges']();Array[_0x6d9be2(0x295)](_0x533bad)&&_0x533bad[_0x6d9be2(0x2bd)]>0x0&&this[_0x6d9be2(0x336)](_0x533bad);}[_0x155c84(0x270)](){this['_online']=!0x1;}};Ue=Ti([P(0x2,_0x44d4b3(_0x59b711)),P(0x3,_0x44d4b3(He)),P(0x4,_0x44d4b3(_0x54b884)),P(0x5,_0x44d4b3(Fe)),P(0x6,_0x444fd0),P(0x7,_0x20a926),P(0x8,_0x3432a4)],Ue);var Ni=Object[_0x155c84(0x28b)],Ui=(_0x22d42c,_0x1f5485,_0x448e76,_0x52420a)=>{const _0x4baf25=_0x155c84;for(var _0x2cc5da=_0x52420a>0x1?void 0x0:_0x52420a?Ni(_0x1f5485,_0x448e76):_0x1f5485,_0x34c186=_0x22d42c[_0x4baf25(0x2bd)]-0x1,_0x1d7f2f;_0x34c186>=0x0;_0x34c186--)(_0x1d7f2f=_0x22d42c[_0x34c186])&&(_0x2cc5da=_0x1d7f2f(_0x2cc5da)||_0x2cc5da);return _0x2cc5da;},x=(_0x4cf89f,_0x57b2d2)=>(_0x156659,_0x2552ef)=>_0x57b2d2(_0x156659,_0x2552ef,_0x4cf89f);const Mi=0x12c,Li=0x64,Pi=()=>{let _0x16cac4=[],_0x238105=!0x1;return _0x3e0732=>{const _0x18bbb3=_0x2b86;_0x16cac4[_0x18bbb3(0x2c8)](_0x3e0732),_0x238105||(_0x238105=!0x0,setTimeout(()=>{const _0x57d304=_0x18bbb3;_0x16cac4[_0x57d304(0x350)](_0x2291b0=>_0x2291b0()),_0x16cac4=[],_0x238105=!0x1;}));};};let Me=class extends _0x3ff97f{constructor(_0x4121e8,_0x5a74e1,_0x4dbad9,_0x419c2e,_0xa1e4ef,_0x248f45,_0x10f693,_0x457446){const _0x118b76=_0x155c84;super(),_(this,_0x118b76(0x242),!0x1),_(this,_0x118b76(0x205),!0x1),_(this,_0x118b76(0x2bb),new _0x4e3b68(new Map())),_(this,_0x118b76(0x1c4),this[_0x118b76(0x2bb)][_0x118b76(0x36e)]()),_(this,_0x118b76(0x198),new _0x4e3b68([])),_(this,'roomMembers$',this[_0x118b76(0x198)][_0x118b76(0x2b8)](_0x404149(Mi))),_(this,_0x118b76(0x336),_0x34e03b((_0x5188ca,_0x27def8)=>{const _0x1e6517=_0x118b76,_0x1153cb={'eventID':_0x30ffbd['UPDATE_CURSOR'],'data':{'unitID':this[_0x1e6517(0x227)],'memberID':this[_0x1e6517(0x1e0)][_0x1e6517(0x1e8)](),'selection':_0xb4486e(_0x5188ca,_0x27def8['range'])}};this['_session'][_0x1e6517(0x250)](_0x1153cb,this['unitID']);},Li)),(this[_0x118b76(0x227)]=_0x4121e8,this['_session']=_0x5a74e1,this[_0x118b76(0x19d)]=_0x4dbad9,this[_0x118b76(0x1cf)]=_0x419c2e,this[_0x118b76(0x1b8)]=_0xa1e4ef,this['_univerInstanceService']=_0x248f45,this[_0x118b76(0x253)]=_0x10f693,this['_refRangeService']=_0x457446);}get['cursorInfo'](){const _0xa8271b=_0x155c84;return this['_cursorInfo$'][_0xa8271b(0x302)]();}get['roomMembers'](){const _0x422560=_0x155c84;return this[_0x422560(0x198)][_0x422560(0x302)]();}[_0x155c84(0x255)](){const _0x35db6a=_0x155c84;super[_0x35db6a(0x255)](),this[_0x35db6a(0x2bb)][_0x35db6a(0x1b7)](new Map()),this['_cursorInfo$'][_0x35db6a(0x288)](),this[_0x35db6a(0x198)][_0x35db6a(0x1b7)]([]),this[_0x35db6a(0x198)]['complete']();}[_0x155c84(0x1f7)](){const _0x1c79ce=_0x155c84;this[_0x1c79ce(0x205)]||(this[_0x1c79ce(0x205)]=!0x0,this['_session']['sessionStatus$'][_0x1c79ce(0x2b8)](_0x224124(this['dispose$']))[_0x1c79ce(0x1d3)](_0x34c213=>{const _0x4d02cf=_0x1c79ce;_0x34c213===_0x1e165f[_0x4d02cf(0x20c)]?this[_0x4d02cf(0x25c)]():this[_0x4d02cf(0x270)]();}),this[_0x1c79ce(0x1e0)][_0x1c79ce(0x2c5)][_0x1c79ce(0x2b8)](_0x224124(this[_0x1c79ce(0x32e)]))[_0x1c79ce(0x1d3)](_0xdffd66=>{const _0x51f6aa=_0x1c79ce,_0x573f14=_0xdffd66[_0x51f6aa(0x346)];_0x573f14===_0x30ffbd[_0x51f6aa(0x274)]&&this[_0x51f6aa(0x1e4)](_0xdffd66),_0x573f14===_0x30ffbd[_0x51f6aa(0x349)]&&this[_0x51f6aa(0x1bf)](_0xdffd66);}),this[_0x1c79ce(0x335)](),this[_0x1c79ce(0x36a)](this[_0x1c79ce(0x253)][_0x1c79ce(0x239)](_0x101608=>{const _0x50ae98=_0x1c79ce;if(this[_0x50ae98(0x242)]&&_0x101608['id']===_0x5b9158['id']&&_0x101608['params'][_0x50ae98(0x2a8)]===this['unitID']){const _0x25b8a7=_0x101608[_0x50ae98(0x2ae)];this['_updateLocalCursor'](_0x25b8a7[_0x50ae98(0x38c)],_0x25b8a7['selections'][0x0]);}})));}[_0x155c84(0x1e4)](_0x5c59b2){const _0x59fc24=_0x155c84;var _0x180121,_0x32d712;const {memberID:_0x35a513,selection:_0x49a6ef}=_0x5c59b2[_0x59fc24(0x221)],{sheetName:_0x92c4e3,range:_0x2b3f17}=_0xebfcc9(_0x49a6ef),_0x38d3d7={'name':(_0x32d712=(_0x180121=this[_0x59fc24(0x1b8)][_0x59fc24(0x312)](this['unitID'],_0x35a513))==null?void 0x0:_0x180121['name'])!=null?_0x32d712:_0x59fc24(0x1fe),'range':this[_0x59fc24(0x352)](_0x92c4e3,_0x2b3f17),'sheetID':_0x92c4e3,'color':this[_0x59fc24(0x1cf)][_0x59fc24(0x303)](_0x35a513),'selection':_0x49a6ef},_0x34a634=this[_0x59fc24(0x33e)];_0x34a634[_0x59fc24(0x362)](_0x35a513,_0x38d3d7),this['_cursorInfo$'][_0x59fc24(0x1b7)](_0x34a634);}[_0x155c84(0x1bf)](_0x496256){const _0x13216a=_0x155c84,{memberID:_0x41cf4}=_0x496256['data'],_0x495e23=this[_0x13216a(0x33e)];_0x495e23[_0x13216a(0x27d)](_0x41cf4),this[_0x13216a(0x2bb)][_0x13216a(0x1b7)](_0x495e23);}[_0x155c84(0x352)](_0x164bd7,_0xffeda){const _0x2c8b56=_0x155c84;var _0x5e212d,_0x9be83c;const _0x4158b9=(_0x9be83c=(_0x5e212d=this[_0x2c8b56(0x207)]['getUniverSheetInstance'](this[_0x2c8b56(0x227)]))==null?void 0x0:_0x5e212d[_0x2c8b56(0x1bd)](_0x164bd7))==null?void 0x0:_0x9be83c[_0x2c8b56(0x1ad)]();return(_0x4158b9==null?void 0x0:_0x4158b9[_0x2c8b56(0x1d6)](_0x35918c=>_0x506810[_0x2c8b56(0x326)](_0x35918c,_0xffeda)))||_0xffeda;}[_0x155c84(0x335)](){const _0x4ad572=_0x155c84,_0x1c21e4=new _0x429d24(),_0x4db61f=Pi(),_0x486e04=()=>{const _0x1ed25d=_0x2b86;_0x1c21e4['dispose']();const _0xb7b46d=(_0x5c6596,_0xe1a26e,_0x2a59ba,_0x2414c1)=>{const _0x3b79fc=_0x2b86;let _0x342c1f=[];switch(_0x5c6596['id']){case _0x4ef076[_0x3b79fc(0x1db)]:{_0x342c1f=_0x1d2c5a(_0x5c6596,_0x2414c1);break;}case _0x4ef076[_0x3b79fc(0x265)]:{_0x342c1f=_0x4e3291(_0x5c6596,_0x2414c1);break;}case _0x4ef076[_0x3b79fc(0x246)]:{_0x342c1f=_0x4ac7ae(_0x5c6596,_0x2414c1);break;}case _0x4ef076[_0x3b79fc(0x286)]:{_0x342c1f=_0x5b9c8d(_0x5c6596,_0x2414c1);break;}case _0x4ef076[_0x3b79fc(0x214)]:{_0x342c1f=_0x247b77(_0x5c6596,_0x2414c1);break;}case _0x4ef076[_0x3b79fc(0x393)]:{_0x342c1f=_0x597693(_0x5c6596,_0x2414c1);break;}case _0x4ef076[_0x3b79fc(0x35e)]:{_0x342c1f=_0x3519a1(_0x5c6596,_0x2414c1);break;}case _0x4ef076[_0x3b79fc(0x2da)]:{_0x342c1f=_0x174869(_0x5c6596,_0x2414c1);break;}case _0x4ef076[_0x3b79fc(0x2c6)]:{_0x342c1f=_0x5122fc(_0x5c6596,_0x2414c1);break;}}const _0x42dbad=_0x41c7fe(_0x342c1f,_0x2414c1),_0x59a850=this[_0x3b79fc(0x33e)][_0x3b79fc(0x2a5)](_0xe1a26e);if(_0x59a850&&_0x42dbad){const _0x208ad={..._0x59a850,'range':_0x42dbad};this['cursorInfo'][_0x3b79fc(0x362)](_0xe1a26e,_0x208ad),_0x4db61f(()=>{const _0x2ba3e5=_0x3b79fc,_0x2fb656=this['_refRangeService']['registerRefRange'](_0x42dbad,_0x25923f=>(_0x2fb656['dispose'](),_0xb7b46d(_0x25923f,_0xe1a26e,_0x2a59ba,_0x42dbad)));_0x1c21e4[_0x2ba3e5(0x22a)](_0x2fb656);});}return{'redos':[],'undos':[]};};this[_0x1ed25d(0x33e)][_0x1ed25d(0x350)]((_0x577281,_0x49096d)=>{const {range:_0x4bc6b9,sheetID:_0x20f8fa}=_0x577281,_0x5b3fc8=this['_refRangeService']['registerRefRange'](_0x4bc6b9,_0x332d97=>(_0x5b3fc8['dispose'](),_0xb7b46d(_0x332d97,_0x49096d,_0x20f8fa,_0x4bc6b9)));_0x1c21e4['add'](_0x5b3fc8);});};this[_0x4ad572(0x36a)](_0x4a894b(this['_cursorInfo$'][_0x4ad572(0x1d3)](()=>{_0x486e04();})));}[_0x155c84(0x25c)](){const _0x7886a2=_0x155c84;var _0x229f45,_0x3a60e4;if(this[_0x7886a2(0x242)]=!0x0,((_0x229f45=this[_0x7886a2(0x207)]['getFocusedUnit']())==null?void 0x0:_0x229f45['getUnitId']())!==this[_0x7886a2(0x227)])return;const _0x14f2b1=(_0x3a60e4=this['_injector'][_0x7886a2(0x2a5)](_0x1198c1)[_0x7886a2(0x1b4)]())==null?void 0x0:_0x3a60e4[0x0],_0x52cf25=this[_0x7886a2(0x207)][_0x7886a2(0x19e)](_0x2a5a3d[_0x7886a2(0x301)])[_0x7886a2(0x25f)]();_0x14f2b1&&_0x52cf25&&this[_0x7886a2(0x336)](_0x52cf25['getSheetId'](),_0x14f2b1);}['_toggleOffline'](){this['_online']=!0x1;}};Me=Ui([x(0x2,_0x44d4b3(_0x59b711)),x(0x3,_0x44d4b3(He)),x(0x4,_0x44d4b3(_0x54b884)),x(0x5,_0x20a926),x(0x6,_0x3432a4),x(0x7,_0x44d4b3(_0x3c0dfe))],Me);var wi=Object[_0x155c84(0x28b)],Ai=(_0x1a6689,_0x55a1d9,_0x171034,_0x1a45ec)=>{const _0x100bee=_0x155c84;for(var _0x44a678=_0x1a45ec>0x1?void 0x0:_0x1a45ec?wi(_0x55a1d9,_0x171034):_0x55a1d9,_0x2a2c52=_0x1a6689[_0x100bee(0x2bd)]-0x1,_0x3e9139;_0x2a2c52>=0x0;_0x2a2c52--)(_0x3e9139=_0x1a6689[_0x2a2c52])&&(_0x44a678=_0x3e9139(_0x44a678)||_0x44a678);return _0x44a678;},me=(_0x3b7f07,_0x414c5b)=>(_0x330981,_0x19e435)=>_0x414c5b(_0x330981,_0x19e435,_0x3b7f07);let F=class extends _0x3ff97f{constructor(_0x256438,_0x226415,_0x188a2d){const _0x5e316c=_0x155c84;super(),_(this,'_entities',new Map()),_(this,_0x5e316c(0x200),new _0x1ff154()),(this[_0x5e316c(0x207)]=_0x256438,this[_0x5e316c(0x19d)]=_0x226415,this[_0x5e316c(0x236)]=_0x188a2d,this[_0x5e316c(0x205)]());}[_0x155c84(0x255)](){const _0x519658=_0x155c84;super[_0x519658(0x255)](),this[_0x519658(0x200)][_0x519658(0x288)](),this[_0x519658(0x30a)]['forEach'](_0x3d7112=>_0x3d7112[_0x519658(0x255)]());}[_0x155c84(0x2d2)](_0x3ee5d7){const _0x501231=_0x155c84;return this[_0x501231(0x30a)][_0x501231(0x243)](_0x3ee5d7)?this[_0x501231(0x30a)]['get'](_0x3ee5d7)[_0x501231(0x1c4)]:this[_0x501231(0x200)][_0x501231(0x2b8)](_0x36e1a3(_0x500400=>_0x500400['unitID']===_0x3ee5d7),_0x2f6030(_0x7f028a=>_0x7f028a[_0x501231(0x1c4)]));}['_init'](){const _0x350dd7=_0x155c84;this[_0x350dd7(0x207)]['getTypeOfUnitAdded$'](_0x2a5a3d[_0x350dd7(0x301)])[_0x350dd7(0x2b8)](_0x224124(this['dispose$']))[_0x350dd7(0x1d3)](async _0xb1ae3f=>{const _0x468787=_0x350dd7,_0x309620=_0xb1ae3f[_0x468787(0x230)](),_0x247d80=await this[_0x468787(0x1e5)](_0x309620);this[_0x468787(0x200)][_0x468787(0x1b7)](_0x247d80),this[_0x468787(0x30a)]['set'](_0x309620,_0x247d80);}),this[_0x350dd7(0x207)][_0x350dd7(0x37f)](_0x2a5a3d[_0x350dd7(0x22c)])['pipe'](_0x224124(this[_0x350dd7(0x32e)]))[_0x350dd7(0x2b8)](_0x36e1a3(_0x55177b=>!_0x55177b[_0x350dd7(0x230)]()[_0x350dd7(0x317)]('__')))[_0x350dd7(0x1d3)](async _0x4ca85b=>{const _0x3853f2=_0x350dd7,_0x53c518=_0x4ca85b[_0x3853f2(0x230)](),_0x2a5b6e=await this[_0x3853f2(0x2f9)](_0x53c518);this[_0x3853f2(0x200)]['next'](_0x2a5b6e),this[_0x3853f2(0x30a)]['set'](_0x53c518,_0x2a5b6e);}),_0x44c54b(this[_0x350dd7(0x207)][_0x350dd7(0x22f)](_0x2a5a3d[_0x350dd7(0x22c)]),this[_0x350dd7(0x207)][_0x350dd7(0x22f)](_0x2a5a3d[_0x350dd7(0x301)]))[_0x350dd7(0x2b8)](_0x224124(this[_0x350dd7(0x32e)]))[_0x350dd7(0x1d3)](_0x3aa027=>{const _0x5c90e8=_0x350dd7,_0x48f003=_0x3aa027[_0x5c90e8(0x230)](),_0x332bf3=this['_entities'][_0x5c90e8(0x2a5)](_0x48f003);_0x332bf3&&(_0x332bf3[_0x5c90e8(0x255)](),this['_entities'][_0x5c90e8(0x27d)](_0x48f003));});}async[_0x155c84(0x1e5)](_0x2452a0){const _0x27cc02=_0x155c84,_0x2d4d02=await this[_0x27cc02(0x236)]['requireSession'](_0x2452a0),_0x1625a7=this[_0x27cc02(0x19d)][_0x27cc02(0x2a3)](Me,_0x2452a0,_0x2d4d02);return _0x1625a7[_0x27cc02(0x1f7)](),_0x1625a7;}async['_startDocCollabCursor'](_0x3907eb){const _0x219e31=_0x155c84,_0x127cc8=await this[_0x219e31(0x236)][_0x219e31(0x23b)](_0x3907eb),_0x270873=this[_0x219e31(0x19d)][_0x219e31(0x2a3)](Ue,_0x3907eb,_0x127cc8);return _0x270873[_0x219e31(0x1f7)](),_0x270873;}};F=Ai([me(0x0,_0x20a926),me(0x1,_0x44d4b3(_0x59b711)),me(0x2,_0x44d4b3(_0x2cd667))],F);const J=0x14,Qe=0xc8,Ie=0x4,yi=0x5;function $i(_0x5b3f90,_0x44bc47){const _0x243dc7=_0x155c84;let {radius:_0x19fa2a,width:_0x28fcdf,height:_0x3c6246}=_0x44bc47;_0x19fa2a=_0x19fa2a!=null?_0x19fa2a:0x0,_0x28fcdf=_0x28fcdf!=null?_0x28fcdf:0x1e,_0x3c6246=_0x3c6246!=null?_0x3c6246:0x1e;let _0x5a0bd0=0x0,_0x333cca=0x0,_0x3cf7f5=0x0;_0x5a0bd0=_0x333cca=_0x3cf7f5=Math['min'](_0x19fa2a,_0x28fcdf/0x2,_0x3c6246/0x2),_0x5b3f90[_0x243dc7(0x30c)](),_0x5b3f90[_0x243dc7(0x34c)](_0x5a0bd0,0x0),_0x5b3f90[_0x243dc7(0x355)](_0x28fcdf-_0x333cca,0x0),_0x5b3f90[_0x243dc7(0x2b4)](_0x28fcdf-_0x333cca,_0x333cca,_0x333cca,Math['PI']*0x3/0x2,0x0,!0x1),_0x5b3f90['lineTo'](_0x28fcdf,_0x3c6246-_0x3cf7f5),_0x5b3f90['arc'](_0x28fcdf-_0x3cf7f5,_0x3c6246-_0x3cf7f5,_0x3cf7f5,0x0,Math['PI']/0x2,!0x1),_0x5b3f90[_0x243dc7(0x355)](0x0,_0x3c6246),_0x5b3f90[_0x243dc7(0x355)](0x0,_0x5a0bd0),_0x5b3f90[_0x243dc7(0x2b4)](_0x5a0bd0,_0x5a0bd0,_0x5a0bd0,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5b3f90[_0x243dc7(0x2c3)](),_0x44bc47['fill']&&(_0x5b3f90['save'](),_0x5b3f90[_0x243dc7(0x1d5)]=_0x44bc47[_0x243dc7(0x2b3)],_0x44bc47['fillRule']===_0x243dc7(0x345)?_0x5b3f90['fill'](_0x243dc7(0x345)):_0x5b3f90[_0x243dc7(0x2b3)](),_0x5b3f90[_0x243dc7(0x278)]());}class ue extends _0x149bdf{constructor(_0x43e97a,_0x3e9add){const _0x59bced=_0x155c84;super(_0x43e97a,_0x3e9add),_(this,_0x59bced(0x33f)),_(this,_0x59bced(0x3a1)),(this[_0x59bced(0x33f)]=_0x3e9add==null?void 0x0:_0x3e9add[_0x59bced(0x33f)],this['text']=_0x3e9add==null?void 0x0:_0x3e9add[_0x59bced(0x3a1)]);}static['drawWith'](_0x24fafd,_0x4bf038){const _0x160243=_0x155c84,{text:_0xa67219,color:_0x3f86e8}=_0x4bf038;_0x24fafd[_0x160243(0x280)](),_0x24fafd['font']=_0x160243(0x306);const _0x5d7b75=_0x24fafd[_0x160243(0x2ba)](_0xa67219)[_0x160243(0x1c3)],_0x4b65bc=Math[_0x160243(0x3a0)](_0x5d7b75+0x2*Ie,Qe);$i(_0x24fafd,{'height':J,'radius':0x4,'width':_0x4b65bc,'fill':_0x3f86e8}),_0x24fafd[_0x160243(0x1d5)]='#FFF';const _0x5c9bd2=Ie,_0x4e236a=J-yi,_0x41dc3b=Qe-0x2*Ie;if(_0x5d7b75>_0x41dc3b){let _0x135b7d='',_0x3099e0=0x0;for(const _0x3f588e of _0xa67219){const _0x514005=_0x24fafd[_0x160243(0x2ba)](_0x3f588e)[_0x160243(0x1c3)];if(_0x3099e0+_0x514005<=_0x41dc3b-_0x24fafd[_0x160243(0x2ba)](_0x160243(0x39c))[_0x160243(0x1c3)])_0x135b7d+=_0x3f588e,_0x3099e0+=_0x514005;else{_0x135b7d+='...';break;}}_0x24fafd[_0x160243(0x1f3)](_0x135b7d,_0x5c9bd2,_0x4e236a);}else _0x24fafd[_0x160243(0x1f3)](_0xa67219,_0x5c9bd2,_0x4e236a);_0x24fafd[_0x160243(0x278)]();}[_0x155c84(0x293)](_0x3a9d08){const _0x205cc3=_0x155c84;ue[_0x205cc3(0x394)](_0x3a9d08,this);}}const ve=_0x155c84(0x342),xi=_0x155c84(0x2f2),Bi=_0x155c84(0x377),K=0x6,ki=1.5,ge=0x4,Hi=1.5,Fi='rgba(255,\x20255,\x20255,\x200.01)';class qe{constructor(_0x5efb2b,_0xef3ea0,_0x4642e0,_0x194aeb){const _0x11be72=_0x155c84;_(this,_0x11be72(0x1d7),[]),_(this,_0x11be72(0x1d8),null),_(this,_0x11be72(0x35c),null),_(this,_0x11be72(0x3a5),null),_(this,_0x11be72(0x199),null),_(this,_0x11be72(0x1ef),null),(this[_0x11be72(0x1da)]=_0x5efb2b,this['_scene']=_0xef3ea0,this['_docSkeleton']=_0x4642e0,this['_document']=_0x194aeb,this[_0x11be72(0x24d)]());}set[_0x155c84(0x309)](_0x10559b){const _0x22be55=_0x155c84;_0x10559b?(this[_0x22be55(0x3a5)]&&this['_anchorDot'][_0x22be55(0x267)](),this[_0x22be55(0x35c)]&&this[_0x22be55(0x35c)][_0x22be55(0x2e8)]()):(this[_0x22be55(0x3a5)]&&this[_0x22be55(0x3a5)][_0x22be55(0x2e8)](),this[_0x22be55(0x35c)]&&this[_0x22be55(0x35c)]['hide']());}[_0x155c84(0x255)](){const _0x1e9026=_0x155c84;for(const _0x3cb906 of this[_0x1e9026(0x1d7)])_0x3cb906[_0x1e9026(0x255)]();this[_0x1e9026(0x35c)]&&this[_0x1e9026(0x35c)][_0x1e9026(0x255)](),this['_anchorDot']&&this[_0x1e9026(0x3a5)][_0x1e9026(0x255)](),this['_anchor']&&this['_anchor']['dispose'](),this[_0x1e9026(0x1ef)]&&this[_0x1e9026(0x1ef)]();}[_0x155c84(0x24d)](){const _0x46f907=_0x155c84;var _0x122ed9;const {_docSkeleton:_0x5d54cc,_document:_0x22847a}=this,{color:_0x4b3ef3,name:_0x19daaa,ranges:_0x3553df}=this['_cursor'],_0x5e5e4e=_0x22847a['getOffsetConfig'](),{docsLeft:_0x3810f2,docsTop:_0x50dcdb}=_0x5e5e4e,_0xe7f8b5=new _0x5a8531(_0x5e5e4e,_0x5d54cc);for(const {startOffset:_0x33fc05,endOffset:_0x32d28c,rangeType:_0xaf59cd,segmentId:_0x4f6f77,segmentPage:_0x6229f,collapsed:_0x18a4ac,isActive:_0x4a93a2}of _0x3553df){const _0x94691b=_0x5d54cc[_0x46f907(0x261)](_0x33fc05,!0x0,_0x4f6f77,_0x6229f);let _0x3eb051=_0x5d54cc['findNodePositionByCharIndex'](_0x32d28c,!0x0,_0x4f6f77,_0x6229f);if(_0x3eb051==null&&(_0x3eb051=_0x5d54cc[_0x46f907(0x261)](_0x32d28c-0x1,!0x1,_0x4f6f77,_0x6229f)),_0x4a93a2){const {contentBoxPointGroup:_0x2d2de4}=_0xe7f8b5[_0x46f907(0x360)](_0x3eb051,_0x3eb051);if(_0x2d2de4[_0x46f907(0x2bd)]===0x0)continue;this[_0x46f907(0x1dc)](_0x4b3ef3,_0x2d2de4,_0x3810f2,_0x50dcdb,_0x19daaa),this[_0x46f907(0x1ef)]=this[_0x46f907(0x32a)]();}if(_0x94691b&&_0x3eb051){if(_0xaf59cd===_0x521fc8[_0x46f907(0x39e)]){const _0xef69c0=new _0x5de1cb(_0x5e5e4e,_0x5d54cc),{pointGroup:_0x58a658}=(_0x122ed9=_0xef69c0['getRangePointData'](_0x94691b,_0x3eb051))!=null?_0x122ed9:{};if(_0x58a658==null||_0x58a658[_0x46f907(0x2bd)]===0x0)continue;this[_0x46f907(0x32b)](_0x4b3ef3,_0x58a658,_0x3810f2,_0x50dcdb);}else{if(!_0x18a4ac){const {borderBoxPointGroup:_0x262b52}=_0xe7f8b5['getRangePointData'](_0x94691b,_0x3eb051);if(_0x262b52['length']===0x0)continue;this[_0x46f907(0x2a9)](_0x4b3ef3,_0x262b52,_0x3810f2,_0x50dcdb);}}}}}[_0x155c84(0x1dc)](_0x112b6e,_0x8b7fdd,_0x1303b7,_0x16c5a2,_0x2b07aa){const _0x287aff=_0x155c84,_0x1a0bc1=this[_0x287aff(0x296)](_0x8b7fdd),{left:_0x29e6f0,top:_0x409b23,height:_0x5420cc}=_0x1a0bc1,_0x11320f=this['_getScale'](),_0xf43a8a=Hi/_0x11320f,_0x46dee1=new _0x5b4ba9(ve+_0x4d86b9(K),{'left':_0x29e6f0+_0x1303b7-_0xf43a8a,'top':_0x409b23+_0x16c5a2,'height':_0x5420cc,'width':ki,'fill':_0x112b6e||_0x509938(_0x5bedbb[_0x287aff(0x2e0)],0x0),'strokeWidth':_0xf43a8a,'stroke':Fi,'evented':!0x0});this[_0x287aff(0x1d8)]=_0x46dee1,this['_scene'][_0x287aff(0x2f8)](_0x46dee1,_0x57fe66);const _0x2a77f6=new _0x5b4ba9(ve+_0x4d86b9(K),{'left':_0x29e6f0+_0x1303b7-_0xf43a8a,'top':_0x409b23+_0x16c5a2-ge/0x2,'height':ge,'width':ge,'fill':_0x112b6e||_0x509938(_0x5bedbb['black'],0x0),'strokeWidth':0x0,'stroke':_0x112b6e||_0x509938(_0x5bedbb[_0x287aff(0x2e0)],0x0),'evented':!0x1});this[_0x287aff(0x3a5)]=_0x2a77f6,this['_scene'][_0x287aff(0x2f8)](_0x2a77f6,_0x57fe66);const _0x468d22=new ue(ve+_0x4d86b9(K),{'left':_0x29e6f0+_0x1303b7-_0xf43a8a,'top':_0x409b23+_0x16c5a2-J,'text':_0x2b07aa,'color':_0x112b6e});this['_textBubble']=_0x468d22,this['_scene'][_0x287aff(0x2f8)](_0x468d22,_0x57fe66),this['_hover']=!0x1;}[_0x155c84(0x32a)](){const _0x3c5fe4=_0x155c84,_0xfe800a=this[_0x3c5fe4(0x1d8)][_0x3c5fe4(0x229)]['subscribeEvent'](()=>{const _0x4b4230=_0x3c5fe4;this[_0x4b4230(0x309)]=!0x0;}),_0x1f3625=this[_0x3c5fe4(0x1d8)][_0x3c5fe4(0x305)][_0x3c5fe4(0x37d)](()=>{const _0x3a39d1=_0x3c5fe4;this[_0x3a39d1(0x199)]&&clearTimeout(this[_0x3a39d1(0x199)]),this[_0x3a39d1(0x199)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x2d625d=_0x3c5fe4;_0xfe800a[_0x2d625d(0x22e)](),_0x1f3625['unsubscribe']();};}[_0x155c84(0x2a9)](_0x18f0ae,_0x39b1fb,_0x8c45c5,_0x3f0f06){const _0x4180e7=_0x155c84,_0x2f2116=new _0x2f8e48(_0x18f0ae)['setAlpha'](0.2)[_0x4180e7(0x1e2)](),_0x276caf=new _0x3162c3(xi+_0x4d86b9(K),{'pointsGroup':_0x39b1fb,'fill':_0x2f2116||_0x509938(_0x5bedbb[_0x4180e7(0x2e0)],0.2),'left':_0x8c45c5,'top':_0x3f0f06,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x4180e7(0x2c8)](_0x276caf),this[_0x4180e7(0x361)][_0x4180e7(0x2f8)](_0x276caf,_0x57fe66);}[_0x155c84(0x32b)](_0x25015c,_0x5dc14f,_0x54b65b,_0x48933a){const _0x2a45fb=_0x155c84,_0x5ef130=new _0x2f8e48(_0x25015c)[_0x2a45fb(0x24c)](0.2)[_0x2a45fb(0x1e2)](),_0x312fd5=new _0x3162c3(Bi+_0x4d86b9(K),{'pointsGroup':_0x5dc14f,'fill':_0x5ef130||_0x509938(_0x5bedbb[_0x2a45fb(0x2e0)],0.2),'left':_0x54b65b,'top':_0x48933a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2a45fb(0x1d7)][_0x2a45fb(0x2c8)](_0x312fd5),this[_0x2a45fb(0x361)][_0x2a45fb(0x2f8)](_0x312fd5,_0x57fe66);}[_0x155c84(0x296)](_0x48e5ed){const _0xb09fad=_0x48e5ed[0x0],_0x453e5f=_0xb09fad[0x0],_0x24af72=_0xb09fad[0x2],{x:_0x4a87f6,y:_0xe009c}=_0x453e5f,{x:_0x325a9f,y:_0x168687}=_0x24af72;return{'left':_0x4a87f6,'top':_0xe009c,'width':_0x325a9f-_0x4a87f6,'height':_0x168687-_0xe009c};}[_0x155c84(0x2b9)](){const _0x1bc76b=_0x155c84,{scaleX:_0x495cf1,scaleY:_0x5bc33f}=this['_scene'][_0x1bc76b(0x1ec)]();return Math[_0x1bc76b(0x39f)](_0x495cf1,_0x5bc33f);}}var Yi=Object['getOwnPropertyDescriptor'],ji=(_0x1ee783,_0x417931,_0x3e76d1,_0x3a3763)=>{const _0x5d3ed2=_0x155c84;for(var _0x182837=_0x3a3763>0x1?void 0x0:_0x3a3763?Yi(_0x417931,_0x3e76d1):_0x417931,_0x423748=_0x1ee783[_0x5d3ed2(0x2bd)]-0x1,_0x13e254;_0x423748>=0x0;_0x423748--)(_0x13e254=_0x1ee783[_0x423748])&&(_0x182837=_0x13e254(_0x182837)||_0x182837);return _0x182837;},ee=(_0x2e428f,_0x4102f7)=>(_0x521723,_0xa222ae)=>_0x4102f7(_0x521723,_0xa222ae,_0x2e428f);let Le=class extends _0x3ff97f{constructor(_0x497f17,_0x359d4b,_0x27ffdc,_0x53625d,_0x309c06){const _0x1f37ce=_0x155c84;super(),_(this,_0x1f37ce(0x1f2),[]),_(this,_0x1f37ce(0x225),[]),(this[_0x1f37ce(0x1a3)]=_0x497f17,this[_0x1f37ce(0x2c1)]=_0x359d4b,this[_0x1f37ce(0x347)]=_0x27ffdc,this[_0x1f37ce(0x253)]=_0x53625d,this[_0x1f37ce(0x212)]=_0x309c06,this[_0x1f37ce(0x205)]());}[_0x155c84(0x205)](){const _0x13943f=_0x155c84,_0x2c9d68=this['_context']['unitId'],_0x169a6c=this[_0x13943f(0x2c1)];this[_0x13943f(0x36a)](_0x1cfb26([this[_0x13943f(0x347)][_0x13943f(0x2d2)](_0x2c9d68),this[_0x13943f(0x212)][_0x13943f(0x2d5)]])[_0x13943f(0x2b8)](_0x12b0e8(([_0x1a2d90,_0x29d8db])=>({'skeleton':_0x169a6c[_0x13943f(0x2f6)](),'cursors':[..._0x1a2d90[_0x13943f(0x21c)]()][_0x13943f(0x2be)](_0x5aa49c=>({..._0x5aa49c,'color':this['_themeService'][_0x13943f(0x375)](_0x5aa49c[_0x13943f(0x33f)])}))})))[_0x13943f(0x1d3)](_0x262b71=>{const _0xcd0108=_0x13943f;if(this[_0xcd0108(0x37b)](),_0x262b71){const {skeleton:_0x4ec53f,cursors:_0x5eb2b1}=_0x262b71;this[_0xcd0108(0x2fa)](_0x4ec53f,_0x5eb2b1);}})),this[_0x13943f(0x35a)](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x1bb6ba,_0x1949ab){const _0x181bcf=_0x155c84,{scene:_0x2b05d1,mainComponent:_0x1ae697}=this['_context'],_0x2a6ddb=_0x1949ab[_0x181bcf(0x1b0)](_0x3159a0=>new qe(_0x3159a0,_0x2b05d1,_0x1bb6ba,_0x1ae697));this[_0x181bcf(0x1f2)]=_0x2a6ddb,this[_0x181bcf(0x225)]=_0x1949ab;}[_0x155c84(0x29a)](){const _0x4d9e7d=_0x155c84;this[_0x4d9e7d(0x37b)]();const {scene:_0xcfe38b,mainComponent:_0x556e97}=this[_0x4d9e7d(0x1a3)],_0x3279e3=this[_0x4d9e7d(0x2c1)][_0x4d9e7d(0x2f6)](),_0x259d72=this['_cursors'][_0x4d9e7d(0x1b0)](_0x4c92ce=>new qe(_0x4c92ce,_0xcfe38b,_0x3279e3,_0x556e97));this[_0x4d9e7d(0x1f2)]=_0x259d72;}[_0x155c84(0x37b)](){const _0x2e8e10=_0x155c84;this[_0x2e8e10(0x1f2)][_0x2e8e10(0x350)](_0x47d8b3=>_0x47d8b3[_0x2e8e10(0x255)]()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x2d9a47=_0x155c84,_0x1f79bd=[_0x287e5b['id']];this[_0x2d9a47(0x36a)](this[_0x2d9a47(0x253)]['onCommandExecuted'](_0x33bf67=>{const _0x396479=_0x2d9a47;_0x1f79bd[_0x396479(0x2b2)](_0x33bf67['id'])&&_0x33bf67[_0x396479(0x2ae)][_0x396479(0x2a8)]===this['_context']['unitId']&&this[_0x396479(0x29a)]();}));}[_0x155c84(0x35a)](){const _0x558a44=_0x155c84;this[_0x558a44(0x36a)](_0x15fe4e(this[_0x558a44(0x1a3)][_0x558a44(0x27a)][_0x558a44(0x218)])[_0x558a44(0x2b8)](_0x418601(_0x23d29f=>_0x23d29f[_0x558a44(0x359)]===_0x3cd12e[_0x558a44(0x1cc)]),_0x2ea15f(0x10))[_0x558a44(0x1d3)](()=>{this['_refreshCollabCursors']();}));}};Le=ji([ee(0x1,_0x44d4b3(_0x1dde2d)),ee(0x2,_0x44d4b3(F)),ee(0x3,_0x3432a4),ee(0x4,_0x44d4b3(_0xce648c))],Le);const Vi=0x1,Wi=1.5;class Xi extends _0x149bdf{constructor(_0x2fd55b,_0xd53c75){const _0x457637=_0x155c84;super(_0x2fd55b,_0xd53c75),_(this,_0x457637(0x226)),_(this,'_hovered',!0x1),_(this,_0x457637(0x1ba)),_(this,_0x457637(0x247),''),_(this,_0x457637(0x399),'top'),_(this,_0x457637(0x24f)),(_0xd53c75&&this[_0x457637(0x262)](_0xd53c75),this[_0x457637(0x229)][_0x457637(0x37d)](()=>this[_0x457637(0x262)]({'hovered':!0x0})),this['onPointerLeave$'][_0x457637(0x37d)](()=>this[_0x457637(0x262)]({'hovered':!0x1})));}[_0x155c84(0x262)](_0x55cb20){const _0x549291=_0x155c84;var _0x5e0179,_0x5a63bf,_0x53c5a6,_0x398293,_0x5b51cb,_0x4b8f8f;this[_0x549291(0x226)]=(_0x5e0179=_0x55cb20['color'])!=null?_0x5e0179:this[_0x549291(0x226)],this[_0x549291(0x2a2)]=(_0x5a63bf=_0x55cb20[_0x549291(0x2b7)])!=null?_0x5a63bf:this['_hovered'],this[_0x549291(0x1ba)]=(_0x53c5a6=_0x55cb20[_0x549291(0x234)])!=null?_0x53c5a6:this[_0x549291(0x1ba)],this['_name']=(_0x398293=_0x55cb20['name'])!=null?_0x398293:this[_0x549291(0x247)],this[_0x549291(0x399)]=(_0x5b51cb=_0x55cb20[_0x549291(0x339)])!=null?_0x5b51cb:this[_0x549291(0x399)],this['_backgroundColor']=(_0x4b8f8f=_0x55cb20['backgroundColor'])!=null?_0x4b8f8f:this[_0x549291(0x24f)],this['transformByState']({'width':_0x55cb20[_0x549291(0x1c3)],'height':_0x55cb20[_0x549291(0x2a0)]});}[_0x155c84(0x2ea)](_0x51efdb){const _0x1c0795=_0x155c84,{row:_0x4b1cb6,column:_0x242377}=_0x51efdb;if(_0x4b1cb6>=this['_range']['startRow']&&_0x4b1cb6<=this[_0x1c0795(0x1ba)]['endRow']&&_0x242377>=this['_range']['startColumn']&&_0x242377<=this[_0x1c0795(0x1ba)][_0x1c0795(0x201)]){this[_0x1c0795(0x262)]({'hovered':!0x0});return;}this[_0x1c0795(0x262)]({'hovered':!0x1});}['triggerDblclick'](_0x558f67){return!0x1;}[_0x155c84(0x293)](_0x10ad76){const _0x558c35=_0x155c84;_0x5b4ba9[_0x558c35(0x394)](_0x10ad76,{'width':this[_0x558c35(0x1c3)],'height':this[_0x558c35(0x2a0)],'strokeWidth':Wi,'stroke':this[_0x558c35(0x226)],'evented':!0x1,'fill':this[_0x558c35(0x24f)]}),this[_0x558c35(0x2a2)]&&(_0x10ad76[_0x558c35(0x280)](),_0x10ad76[_0x558c35(0x34e)](0x1,0x0,0x0,0x1,this[_0x558c35(0x1c3)],this['_labelPosition']===_0x558c35(0x263)?0x0:-J),ue[_0x558c35(0x394)](_0x10ad76,{'text':this[_0x558c35(0x247)],'color':this['_color']}),_0x10ad76['restore']());}}var Gi=Object[_0x155c84(0x28b)],Ki=(_0x27de6a,_0x305b82,_0x14059e,_0x1fe270)=>{const _0xc22f7e=_0x155c84;for(var _0xbe3663=_0x1fe270>0x1?void 0x0:_0x1fe270?Gi(_0x305b82,_0x14059e):_0x305b82,_0x259fdc=_0x27de6a[_0xc22f7e(0x2bd)]-0x1,_0x5811bb;_0x259fdc>=0x0;_0x259fdc--)(_0x5811bb=_0x27de6a[_0x259fdc])&&(_0xbe3663=_0x5811bb(_0xbe3663)||_0xbe3663);return _0xbe3663;},pe=(_0x374995,_0x1ad70f)=>(_0x2d5ade,_0xe1a7ce)=>_0x1ad70f(_0x2d5ade,_0xe1a7ce,_0x374995);const zi=0x1389;let Pe=class extends _0x3ff97f{constructor(_0xc81ed8,_0x1c8b54,_0x499ef3,_0x4629f4){const _0x500fa7=_0x155c84;super(),_(this,_0x500fa7(0x225),new Set()),_(this,_0x500fa7(0x2ac),null),(this[_0x500fa7(0x1a3)]=_0xc81ed8,this['_sheetSkeletonManagerService']=_0x1c8b54,this[_0x500fa7(0x347)]=_0x499ef3,this['_themeService']=_0x4629f4,this[_0x500fa7(0x205)]());}[_0x155c84(0x205)](){const _0x2d37cc=_0x155c84;this[_0x2d37cc(0x25b)][_0x2d37cc(0x1ff)][_0x2d37cc(0x2b8)](_0x1e7977(this[_0x2d37cc(0x32e)]),_0x364184(_0x56f03a=>{const _0x338808=_0x2d37cc;if(_0x56f03a){const _0x2acaa5=_0x56f03a[_0x338808(0x299)];return _0x1cfb26(this[_0x338808(0x347)][_0x338808(0x2d2)](this['_context'][_0x338808(0x2a8)]),this[_0x338808(0x212)][_0x338808(0x2d5)])['pipe'](_0x12b0e8(([_0x214239,_0x4c6187])=>{const _0x3bdc87=_0x338808,_0x450fca=new Map();return _0x214239[_0x3bdc87(0x350)]((_0x16be74,_0x282b31)=>{const _0x2d337f=_0x3bdc87;if(_0x16be74[_0x2d337f(0x23f)]===_0x2acaa5){const _0x192c4a={..._0x16be74};_0x192c4a[_0x2d337f(0x33f)]=this['_themeService'][_0x2d337f(0x375)](_0x16be74['color']),_0x450fca['set'](_0x282b31,_0x192c4a);}}),{'skeleton':_0x56f03a,'cursors':_0x450fca};}));}return _0xc40de({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x2f6c4d,cursors:_0x90c0fb})=>{const _0x5ead4e=_0x2d37cc;this[_0x5ead4e(0x37b)](),_0x2f6c4d&&this[_0x5ead4e(0x2fa)](_0x2f6c4d,_0x90c0fb);}),this[_0x2d37cc(0x25b)][_0x2d37cc(0x1ff)][_0x2d37cc(0x1d3)](_0x3a0c4b=>{const _0x1a2502=_0x2d37cc;if(_0x3a0c4b==null)return;const {skeleton:_0x41d4b0}=_0x3a0c4b,{scene:_0x56f2aa}=this[_0x1a2502(0x1a3)];_0x56f2aa['onPointerMove$'][_0x1a2502(0x37d)](_0x34e03b(_0x2dbb29=>{const _0x4a5932=_0x1a2502;var _0x40ff28,_0x1ee972;const {offsetX:_0x3baa9b,offsetY:_0x559dc2}=_0x2dbb29,{x:_0x26ccfb,y:_0x451022}=_0x56f2aa[_0x4a5932(0x1a9)](_0x296c50[_0x4a5932(0x2f5)]([_0x3baa9b,_0x559dc2])),{scaleX:_0xa4556b,scaleY:_0x4cb627}=_0x56f2aa['getAncestorScale'](),_0x2f0e5b=_0x56f2aa[_0x4a5932(0x21a)](_0x1fccdc[_0x4a5932(0x320)]),_0x3de02=_0x56f2aa[_0x4a5932(0x2d0)](_0x296c50[_0x4a5932(0x2f5)]([_0x26ccfb,_0x451022]),_0x2f0e5b),_0x2c3f5a=_0x41d4b0['getCellPositionByOffset'](_0x3baa9b,_0x559dc2,_0xa4556b,_0x4cb627,_0x3de02);((_0x40ff28=this['_lastPointer'])==null?void 0x0:_0x40ff28['column'])===_0x2c3f5a[_0x4a5932(0x1b9)]&&((_0x1ee972=this[_0x4a5932(0x2ac)])==null?void 0x0:_0x1ee972[_0x4a5932(0x24e)])===_0x2c3f5a[_0x4a5932(0x24e)]||this[_0x4a5932(0x225)][_0x4a5932(0x350)](_0x5f22f4=>{const _0x2372f9=_0x4a5932;_0x5f22f4[_0x2372f9(0x2ea)](_0x2c3f5a);});},0x64));});}[_0x155c84(0x2fa)](_0x155002,_0x2617a5){const _0x31fc5b=_0x155c84;var _0x229e34;const _0x226ffd=(_0x229e34=this['_sheetSkeletonManagerService'][_0x31fc5b(0x31a)]())==null?void 0x0:_0x229e34[_0x31fc5b(0x27f)];if(!_0x226ffd)return;const _0x3f658a=this[_0x31fc5b(0x2bc)]();if(!_0x3f658a)return;this[_0x31fc5b(0x225)][_0x31fc5b(0x350)](_0x3c51b6=>{const _0x440c12=_0x31fc5b;_0x3c51b6[_0x440c12(0x251)]();});const {scene:_0x4c6df9}=_0x3f658a,_0xb7f9ed=Ji(Array[_0x31fc5b(0x2b6)](_0x2617a5[_0x31fc5b(0x21c)]()))['map'](_0x5401af=>{const _0x588f47=_0x31fc5b,{color:_0x32d428,range:_0xd6c9a2,name:_0x24e6d3,selection:_0x168916,sheetID:_0x5e942}=_0x5401af,{startColumn:_0x14f9a8,startRow:_0x4a6994,endColumn:_0x7c1f1b,endRow:_0x4c4203}=_0xd6c9a2,_0xdb169=_0x27682b(_0x4a6994,_0x14f9a8,_0x4c6df9,_0x226ffd),_0x1ec13d=_0x27682b(_0x4c4203,_0x7c1f1b,_0x4c6df9,_0x226ffd),{columnHeaderHeightAndMarginTop:_0x4ed137}=_0x226ffd,{startX:_0x41c9a7,startY:_0x4714e4}=_0xdb169,{endX:_0x1b22a0,endY:_0x846575}=_0x1ec13d,_0x4c6fe5=_0x1b22a0-_0x41c9a7,_0x39269a=_0x846575-_0x4714e4,_0x21a413={'labelPosition':_0x4714e4-_0x4ed137>=J?_0x588f47(0x31e):_0x588f47(0x263),'sheetID':_0x5e942,'range':_0xd6c9a2,'color':_0x32d428,'name':_0x24e6d3,'selection':_0x168916,'left':_0x41c9a7,'top':_0x4714e4,'width':_0x4c6fe5,'height':_0x39269a,'evented':!0x1,'zIndex':zi};return new Xi(_0x24e6d3,_0x21a413);});_0x4c6df9[_0x31fc5b(0x1c7)](_0xb7f9ed,Vi),this[_0x31fc5b(0x225)]=new Set(_0xb7f9ed);}[_0x155c84(0x37b)](){const _0x3bf079=_0x155c84;var _0x17adda;(_0x17adda=this[_0x3bf079(0x225)])==null||_0x17adda[_0x3bf079(0x350)](_0x1fd7f0=>_0x1fd7f0['dispose']());}[_0x155c84(0x2bc)](){const _0x513508=_0x155c84;return _0x200b55(this['_context'][_0x513508(0x1c5)],this[_0x513508(0x1a3)]);}};Pe=Ki([pe(0x1,_0x44d4b3(_0x4090c0)),pe(0x2,_0x44d4b3(F)),pe(0x3,_0x44d4b3(_0xce648c))],Pe);function Ji(_0x59264d){const _0x59efc2=_0x155c84,_0x2c3541=new Map();return _0x59264d['forEach'](_0x4a662e=>{const _0x481b54=_0x2b86;if(_0x2c3541[_0x481b54(0x243)](_0x4a662e[_0x481b54(0x29c)])){const _0x223b12=_0x2c3541[_0x481b54(0x2a5)](_0x4a662e[_0x481b54(0x29c)]);_0x223b12[_0x481b54(0x254)]+=',\x20'+_0x4a662e[_0x481b54(0x254)];}else _0x2c3541[_0x481b54(0x362)](_0x4a662e[_0x481b54(0x29c)],_0x4a662e);}),Array[_0x59efc2(0x2b6)](_0x2c3541[_0x59efc2(0x21c)]());}var Zi=Object[_0x155c84(0x28b)],Qi=(_0x52e9ae,_0x2687ee,_0x599429,_0x4ac6d5)=>{for(var _0x4da7dc=_0x4ac6d5>0x1?void 0x0:_0x4ac6d5?Zi(_0x2687ee,_0x599429):_0x2687ee,_0x31ce7f=_0x52e9ae['length']-0x1,_0x1de969;_0x31ce7f>=0x0;_0x31ce7f--)(_0x1de969=_0x52e9ae[_0x31ce7f])&&(_0x4da7dc=_0x1de969(_0x4da7dc)||_0x4da7dc);return _0x4da7dc;},B=(_0x464ac5,_0x21f8d5)=>(_0x592ed7,_0x79348a)=>_0x21f8d5(_0x592ed7,_0x79348a,_0x464ac5);let ne=class extends _0x1a59fc{constructor(_0x5d0bbb,_0xe6f30b,_0x649ce2,_0x390f96,_0x8803d5,_0x57361c){const _0x3f9afe=_0x155c84;super(),this[_0x3f9afe(0x2b1)]=_0x5d0bbb,this[_0x3f9afe(0x1c2)]=_0xe6f30b,this['_collaborationUIEventService']=_0x649ce2,this['_messageService']=_0x390f96,this[_0x3f9afe(0x2e2)]=_0x8803d5,this[_0x3f9afe(0x1f8)]=_0x57361c,this[_0x3f9afe(0x268)](),this[_0x3f9afe(0x240)]();}[_0x155c84(0x268)](){const _0x3674c4=_0x155c84;this[_0x3674c4(0x36a)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x567f2d=_0x3674c4;if(this[_0x567f2d(0x1c2)][_0x567f2d(0x2aa)]['size'])return this[_0x567f2d(0x1f8)]['t'](_0x567f2d(0x20f));}));}['_initEvent'](){const _0x49848c=_0x155c84;this[_0x49848c(0x36a)](this['_collaborationUIEventService'][_0x49848c(0x2c5)][_0x49848c(0x1d3)](_0x1b089c=>{const _0x3f617a=_0x49848c;_0x1b089c['id']===_0x2bacf7[_0x3f617a(0x398)]&&this[_0x3f617a(0x2ed)][_0x3f617a(0x2e8)]({'type':_0x471b05[_0x3f617a(0x384)],'content':this['_localeService']['t'](_0x3f617a(0x38b))}),_0x1b089c['id']===_0x2bacf7['CLOSE_ROOM']&&this[_0x3f617a(0x2ed)][_0x3f617a(0x2e8)]({'type':_0x471b05[_0x3f617a(0x384)],'content':this[_0x3f617a(0x1f8)]['t'](_0x3f617a(0x1f4))}),_0x1b089c['id']===_0x2bacf7['PERMISSION_DENIED']&&this['_notificationService'][_0x3f617a(0x2e8)]({'title':this['_localeService']['t'](_0x3f617a(0x1b5)),'content':this[_0x3f617a(0x1f8)]['t'](_0x3f617a(0x25d)),'type':_0x3f617a(0x33d),'duration':0x0}),_0x1b089c['id']===_0x2bacf7[_0x3f617a(0x30b)]&&this[_0x3f617a(0x2ed)][_0x3f617a(0x2e8)]({'type':_0x471b05[_0x3f617a(0x19c)],'content':this[_0x3f617a(0x1f8)]['t']('collaboration.closeRoom')+'('+_0x1b089c[_0x3f617a(0x221)]+')'}),_0x1b089c['id']===_0x2bacf7[_0x3f617a(0x28a)]&&this[_0x3f617a(0x2ed)][_0x3f617a(0x2e8)]({'type':_0x471b05['Warning'],'content':this[_0x3f617a(0x1f8)]['t'](_0x1b089c[_0x3f617a(0x221)]||'')}),_0x1b089c['id']===_0x2bacf7[_0x3f617a(0x276)]&&this[_0x3f617a(0x2ed)]['show']({'type':_0x471b05[_0x3f617a(0x384)],'content':this['_localeService']['t'](_0x3f617a(0x216))}),_0x1b089c['id']===_0x2bacf7['SOCKET_FAILED']&&this[_0x3f617a(0x2ed)][_0x3f617a(0x2e8)]({'type':_0x471b05[_0x3f617a(0x19c)],'content':this[_0x3f617a(0x1f8)]['t'](_0x3f617a(0x2bf))}),_0x1b089c['id']===_0x2bacf7[_0x3f617a(0x1ee)]&&this['_messageService'][_0x3f617a(0x2e8)]({'type':_0x471b05[_0x3f617a(0x19c)],'content':this[_0x3f617a(0x1f8)]['t'](_0x3f617a(0x2de))});}));}};ne=Qi([B(0x0,_0x11dd02),B(0x1,_0x3612d5),B(0x2,_0x44d4b3(_0x367ac8)),B(0x3,_0x2373e8),B(0x4,_0x85a16c),B(0x5,_0x44d4b3(_0x1ce949))],ne);const qi=_0x155c84(0x2fe),et={};var en=Object[_0x155c84(0x28b)],tn=(_0x2ce479,_0x3be905,_0x1a8495,_0x16aa62)=>{const _0x9193e4=_0x155c84;for(var _0x2244ac=_0x16aa62>0x1?void 0x0:_0x16aa62?en(_0x3be905,_0x1a8495):_0x3be905,_0x458ce8=_0x2ce479[_0x9193e4(0x2bd)]-0x1,_0x57d99a;_0x458ce8>=0x0;_0x458ce8--)(_0x57d99a=_0x2ce479[_0x458ce8])&&(_0x2244ac=_0x57d99a(_0x2244ac)||_0x2244ac);return _0x2244ac;},tt=(_0x31ab60,_0x34f171)=>(_0x370f8f,_0x5105b1)=>_0x34f171(_0x370f8f,_0x5105b1,_0x31ab60);let re=class{constructor(_0x4b38df,_0x9b69d2){this['_transformService']=_0x4b38df,this['_renderManagerService']=_0x9b69d2;}[_0x155c84(0x365)](_0x35cda1){const _0x20ae9b=_0x155c84;this['_transformUndoRedoStack'](_0x35cda1),this[_0x20ae9b(0x2f7)](_0x35cda1);}[_0x155c84(0x21f)](_0x30255c){const _0x9581b7=_0x155c84,{unitID:_0x3e4310}=_0x30255c,_0x5c39a8=this['_renderManagerService']['getRenderById'](_0x3e4310)['with'](_0x3d9ca7),{redoCache:_0x4838cd}=_0x5c39a8['getUndoRedoMutationParamsCache']();if(_0x4838cd[_0x9581b7(0x2bd)]===0x0)return _0x30255c;let _0x49881f=_0x49d9e0[_0x9581b7(0x1d2)](_0x30255c[_0x9581b7(0x2b5)][0x0]);for(let _0x581010=0x0;_0x581010<_0x4838cd[_0x9581b7(0x2bd)];_0x581010++){const _0x3e5489={'id':_0x9581b7(0x367),'params':{..._0x4838cd[_0x581010]}},_0x29bfe6=this['_transformService'][_0x9581b7(0x378)](_0x49881f,_0x3e5489,!0x1);if(_0x518c16(_0x29bfe6))throw _0x29bfe6['error'];_0x49881f=_0x29bfe6[_0x9581b7(0x34a)];}return{..._0x49d9e0[_0x9581b7(0x1d2)](_0x30255c),'mutations':[_0x49881f]};}[_0x155c84(0x279)](_0x473d0){const _0x492f68=_0x155c84,{unitID:_0x1dcefe}=_0x473d0,_0x4dcb54=this[_0x492f68(0x258)][_0x492f68(0x26d)](_0x1dcefe)[_0x492f68(0x1bc)](_0x3d9ca7),{undoCache:_0x4cf41e,redoCache:_0x397e38}=_0x4dcb54[_0x492f68(0x2db)]();if(_0x4cf41e[_0x492f68(0x2bd)]===0x0||_0x397e38[_0x492f68(0x2bd)]===0x0)return;const _0x1504cb=[],_0x504fbc=[];let _0x1bd9d1=_0x49d9e0[_0x492f68(0x1d2)](_0x473d0['mutations'][0x0]),_0x457fa6=_0x49d9e0[_0x492f68(0x1d2)](_0x473d0[_0x492f68(0x2b5)][0x0]);for(let _0x407d6c=_0x4cf41e[_0x492f68(0x2bd)]-0x1;_0x407d6c>=0x0;_0x407d6c--){const _0x2ac928={'id':_0x492f68(0x367),'params':{..._0x4cf41e[_0x407d6c]}},_0x2c50fe={'id':_0x492f68(0x367),'params':{..._0x397e38[_0x407d6c]}},_0x6a55a0=this[_0x492f68(0x28e)][_0x492f68(0x378)](_0x1bd9d1,_0x2ac928,!0x1),_0x44290d=this[_0x492f68(0x28e)]['transformMutation'](_0x457fa6,_0x2c50fe,!0x1);if(_0x518c16(_0x6a55a0))throw _0x6a55a0[_0x492f68(0x33d)];if(_0x518c16(_0x44290d))throw _0x44290d[_0x492f68(0x33d)];_0x1504cb[_0x492f68(0x1a5)](_0x6a55a0[_0x492f68(0x1e6)][_0x492f68(0x2ae)]),_0x504fbc[_0x492f68(0x1a5)](_0x44290d[_0x492f68(0x1e6)][_0x492f68(0x2ae)]),_0x1bd9d1=_0x6a55a0[_0x492f68(0x34a)],_0x457fa6=_0x44290d[_0x492f68(0x34a)];}_0x4dcb54[_0x492f68(0x372)]({'undoCache':_0x1504cb,'redoCache':_0x504fbc});}[_0x155c84(0x2f7)](_0x2c6a53){const _0x5e7a79=_0x155c84,{unitID:_0x36d2d9}=_0x2c6a53,_0x51cbee=this[_0x5e7a79(0x258)]['getRenderById'](_0x36d2d9)[_0x5e7a79(0x1bc)](_0x3d9ca7),_0x322a45=_0x51cbee[_0x5e7a79(0x38a)]();if(_0x322a45==null)return;const _0x2a65b9=[{'id':_0x5e7a79(0x367),'params':{'unitId':_0x2c6a53[_0x5e7a79(0x227)],'actions':null,'textRanges':[_0x322a45]}}],_0x35f1f6=this[_0x5e7a79(0x28e)][_0x5e7a79(0x304)](_0x2c6a53,_0x2a65b9);if(!_0x22dac4(_0x35f1f6))throw _0x35f1f6[_0x5e7a79(0x33d)];const _0x285ee2=_0x35f1f6['m2Prime'][0x0]['params']['textRanges'];Array['isArray'](_0x285ee2)&&_0x285ee2[_0x5e7a79(0x2bd)]&&_0x51cbee[_0x5e7a79(0x1eb)](_0x285ee2[0x0]);}};re=tn([tt(0x0,_0x444fd0),tt(0x1,_0x2ddfe8)],re);var sn=Object[_0x155c84(0x28b)],nn=(_0x3bcfb0,_0x111c6e,_0x261880,_0x14185e)=>{const _0x2fd1ec=_0x155c84;for(var _0x27daa0=_0x14185e>0x1?void 0x0:_0x14185e?sn(_0x111c6e,_0x261880):_0x111c6e,_0x11e3d1=_0x3bcfb0[_0x2fd1ec(0x2bd)]-0x1,_0x1861dd;_0x11e3d1>=0x0;_0x11e3d1--)(_0x1861dd=_0x3bcfb0[_0x11e3d1])&&(_0x27daa0=_0x1861dd(_0x27daa0)||_0x27daa0);return _0x27daa0;},Ce=(_0xda5569,_0x473f71)=>(_0x388443,_0x5285ac)=>_0x473f71(_0x388443,_0x5285ac,_0xda5569);let oe=class{constructor(_0x28cb3d,_0xf76ec2,_0x52a75f){const _0x4f7e81=_0x155c84;this[_0x4f7e81(0x19d)]=_0x28cb3d,this['_transformService']=_0xf76ec2,this[_0x4f7e81(0x290)]=_0x52a75f;}[_0x155c84(0x369)](_0x38b89c){const _0x3d71c3=_0x155c84;this[_0x3d71c3(0x313)](_0x38b89c);}[_0x155c84(0x21f)](_0x36a91c){const _0x52fbb1=_0x155c84,{unitID:_0x4bdfee}=_0x36a91c,{collaboration:_0x3e4753}=this['_docStateChangeManagerService'][_0x52fbb1(0x38d)](_0x4bdfee);if(_0x3e4753[_0x52fbb1(0x2bd)]===0x0)return _0x36a91c;let _0x52549e=_0x49d9e0[_0x52fbb1(0x1d2)](_0x36a91c[_0x52fbb1(0x2b5)][0x0]);for(let _0x32117b=0x0;_0x32117b<_0x3e4753[_0x52fbb1(0x2bd)];_0x32117b++){const _0x3b27f5={'id':_0x52fbb1(0x367),'params':{'unitId':_0x3e4753[_0x32117b][_0x52fbb1(0x2a8)],..._0x3e4753[_0x32117b][_0x52fbb1(0x1be)]}},_0x338a7d=this[_0x52fbb1(0x28e)][_0x52fbb1(0x378)](_0x52549e,_0x3b27f5,!0x1);if(_0x518c16(_0x338a7d))throw _0x338a7d[_0x52fbb1(0x33d)];_0x52549e=_0x338a7d[_0x52fbb1(0x34a)];}return{..._0x49d9e0[_0x52fbb1(0x1d2)](_0x36a91c),'mutations':[_0x52549e]};}[_0x155c84(0x313)](_0x23ce99){const _0x23259d=_0x155c84,{unitID:_0x2dc9a9}=_0x23ce99,{history:_0x32d568,collaboration:_0x3f135c}=this[_0x23259d(0x290)][_0x23259d(0x38d)](_0x2dc9a9);if(_0x32d568[_0x23259d(0x2bd)]===0x0&&_0x3f135c[_0x23259d(0x2bd)]===0x0)return;const _0xcf4406=[],_0x4156dd=[];let _0x1fa1b8=_0x49d9e0[_0x23259d(0x1d2)](_0x23ce99[_0x23259d(0x2b5)][0x0]),_0x408402=_0x49d9e0[_0x23259d(0x1d2)](_0x23ce99[_0x23259d(0x2b5)][0x0]);for(let _0xb70ba6=_0x32d568['length']-0x1;_0xb70ba6>=0x0;_0xb70ba6--){const _0x8d18de={'id':_0x23259d(0x367),'params':{'unitId':_0x32d568[_0xb70ba6][_0x23259d(0x2a8)],..._0x32d568[_0xb70ba6][_0x23259d(0x257)]}},_0x35906b={'id':_0x23259d(0x367),'params':{'unitId':_0x32d568[_0xb70ba6][_0x23259d(0x2a8)],..._0x32d568[_0xb70ba6][_0x23259d(0x1be)]}},_0x9f3e9c=this[_0x23259d(0x28e)][_0x23259d(0x378)](_0x1fa1b8,_0x8d18de,!0x1),_0x29b8ef=this[_0x23259d(0x28e)]['transformMutation'](_0x408402,_0x35906b,!0x1);if(_0x518c16(_0x9f3e9c))throw _0x9f3e9c['error'];if(_0x518c16(_0x29b8ef))throw _0x29b8ef[_0x23259d(0x33d)];_0xcf4406[_0x23259d(0x1a5)]({..._0x32d568[_0xb70ba6],'undoState':_0x9f3e9c['m2Prime'][_0x23259d(0x2ae)],'redoState':_0x29b8ef[_0x23259d(0x1e6)][_0x23259d(0x2ae)]}),_0x1fa1b8=_0x9f3e9c[_0x23259d(0x34a)],_0x408402=_0x29b8ef[_0x23259d(0x34a)];}_0x1fa1b8=_0x49d9e0[_0x23259d(0x1d2)](_0x23ce99[_0x23259d(0x2b5)][0x0]),_0x408402=_0x49d9e0[_0x23259d(0x1d2)](_0x23ce99['mutations'][0x0]);for(let _0x3a7419=_0x3f135c[_0x23259d(0x2bd)]-0x1;_0x3a7419>=0x0;_0x3a7419--){const _0x457d90={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3f135c[_0x3a7419][_0x23259d(0x2a8)],..._0x3f135c[_0x3a7419]['undoState']}},_0x4e6f86={'id':_0x23259d(0x367),'params':{'unitId':_0x3f135c[_0x3a7419][_0x23259d(0x2a8)],..._0x3f135c[_0x3a7419][_0x23259d(0x1be)]}},_0x4761fa=this[_0x23259d(0x28e)][_0x23259d(0x378)](_0x1fa1b8,_0x457d90,!0x1),_0xb4cae0=this[_0x23259d(0x28e)][_0x23259d(0x378)](_0x408402,_0x4e6f86,!0x1);if(_0x518c16(_0x4761fa))throw _0x4761fa['error'];if(_0x518c16(_0xb4cae0))throw _0xb4cae0[_0x23259d(0x33d)];_0x4156dd[_0x23259d(0x1a5)]({..._0x3f135c[_0x3a7419],'undoState':_0x4761fa[_0x23259d(0x1e6)][_0x23259d(0x2ae)],'redoState':_0xb4cae0[_0x23259d(0x1e6)][_0x23259d(0x2ae)]}),_0x1fa1b8=_0x4761fa[_0x23259d(0x34a)],_0x408402=_0xb4cae0[_0x23259d(0x34a)];}this['_docStateChangeManagerService'][_0x23259d(0x24b)](_0x2dc9a9,{'history':_0xcf4406,'collaboration':_0x4156dd});}};oe=nn([Ce(0x0,_0x44d4b3(_0x59b711)),Ce(0x1,_0x444fd0),Ce(0x2,_0x44d4b3(_0x30a2d0))],oe);var rn=Object[_0x155c84(0x28b)],on=(_0x426530,_0x512ce9,_0x6bcd2a,_0x1263bc)=>{const _0x3803a2=_0x155c84;for(var _0x3deea8=_0x1263bc>0x1?void 0x0:_0x1263bc?rn(_0x512ce9,_0x6bcd2a):_0x512ce9,_0x582aa2=_0x426530[_0x3803a2(0x2bd)]-0x1,_0x12052f;_0x582aa2>=0x0;_0x582aa2--)(_0x12052f=_0x426530[_0x582aa2])&&(_0x3deea8=_0x12052f(_0x3deea8)||_0x3deea8);return _0x3deea8;},st=(_0x26764b,_0x18cced)=>(_0x45e25c,_0x49d1e4)=>_0x18cced(_0x45e25c,_0x49d1e4,_0x26764b);let ae=class{constructor(_0x4e3205,_0x1d8178){const _0x13e8f0=_0x155c84;this[_0x13e8f0(0x19d)]=_0x4e3205,this['_transformService']=_0x1d8178;}[_0x155c84(0x1e9)](_0xcc2f92){const _0x388c30=_0x155c84;var _0x4e1cf7;const _0x10edbb=this[_0x388c30(0x19d)][_0x388c30(0x2a5)](_0x2a0c16),_0x12c649=(_0x4e1cf7=_0x10edbb[_0x388c30(0x31f)]())!=null?_0x4e1cf7:[];if(_0x12c649[_0x388c30(0x2bd)]===0x0)return;const _0x2a89f6=_0xcc2f92['unitID'],_0xb0c77b=[{'id':_0x388c30(0x367),'params':{'unitId':_0x2a89f6,'actions':null,'textRanges':_0x12c649}}],_0x19077b=this[_0x388c30(0x28e)][_0x388c30(0x304)](_0xcc2f92,_0xb0c77b);if(!_0x22dac4(_0x19077b))throw _0x19077b['error'];const _0x178886=_0x19077b[_0x388c30(0x1e6)][0x0][_0x388c30(0x2ae)][_0x388c30(0x1de)];Array['isArray'](_0x178886)&&_0x178886['length']&&_0x10edbb[_0x388c30(0x29d)](_0x178886,{'unitId':_0x2a89f6,'subUnitId':_0x2a89f6},!0x1);}};ae=on([st(0x0,_0x44d4b3(_0x59b711)),st(0x1,_0x444fd0)],ae);var an=Object[_0x155c84(0x28b)],cn=(_0x54aee5,_0x5f3c87,_0x50b620,_0x1ab8be)=>{const _0x3dafc3=_0x155c84;for(var _0x2ab38f=_0x1ab8be>0x1?void 0x0:_0x1ab8be?an(_0x5f3c87,_0x50b620):_0x5f3c87,_0x6f55da=_0x54aee5[_0x3dafc3(0x2bd)]-0x1,_0x1d63b4;_0x6f55da>=0x0;_0x6f55da--)(_0x1d63b4=_0x54aee5[_0x6f55da])&&(_0x2ab38f=_0x1d63b4(_0x2ab38f)||_0x2ab38f);return _0x2ab38f;},N=(_0x4dc233,_0xbc8188)=>(_0x465714,_0x20304a)=>_0xbc8188(_0x465714,_0x20304a,_0x4dc233);let ce=class extends _0x1a59fc{constructor(_0x21be5d,_0x178e50,_0x9725fc,_0x60367e,_0x463777,_0x5bdb8a,_0x3d5a5d,_0x2c16bb){const _0x4d2895=_0x155c84;super(),_(this,_0x4d2895(0x364),new _0x4e3b68(_0x1390dc['NOT_COLLAB'])),(this[_0x4d2895(0x290)]=_0x21be5d,this[_0x4d2895(0x1b6)]=_0x178e50,this['_docTransformIMECacheService']=_0x9725fc,this['_docTransformStateCacheService']=_0x60367e,this[_0x4d2895(0x30e)]=_0x463777,this['_docSyncEditingCollabCursorService']=_0x5bdb8a,this[_0x4d2895(0x2ed)]=_0x3d5a5d,this[_0x4d2895(0x1f8)]=_0x2c16bb,this['_initEntityListener']());}[_0x155c84(0x37c)](){const _0xd9fc18=_0x155c84;this[_0xd9fc18(0x36a)](this[_0xd9fc18(0x1b6)][_0xd9fc18(0x28c)][_0xd9fc18(0x1d3)](_0x421f3c=>{const _0x13c57f=_0xd9fc18,_0x13846a=this['_docStateChangeManagerService'][_0x13c57f(0x21d)]['subscribe'](_0x409216=>{const _0x254a76=_0x13c57f;if(_0x409216==null)return;const {unitId:_0x3957c0,redoState:_0x3f969f,commandId:_0x2e6b58}=_0x409216;if(_0x3957c0!==_0x421f3c[_0x254a76(0x227)])return;const _0x3dc69c={'id':_0x2e6b58,'type':_0x1548f1[_0x254a76(0x1f5)],'params':{'unitId':_0x3957c0,'actions':_0x3f969f['actions'],'textRanges':null}};_0x421f3c[_0x254a76(0x388)](_0x3dc69c);});if(_0x421f3c[_0x13c57f(0x36a)](_0x13846a),_0x421f3c instanceof _0xc9e983){const _0x408b0e={'onTransformIME':_0x63aa8a=>this['_docTransformIMECacheService'][_0x13c57f(0x365)](_0x63aa8a),'onTransformState':_0x3426dd=>this[_0x13c57f(0x1ca)][_0x13c57f(0x369)](_0x3426dd),'onTransformSelections':_0x35d59f=>this[_0x13c57f(0x30e)][_0x13c57f(0x1e9)](_0x35d59f),'onSyncEditingCollabCursor':_0x13a470=>this[_0x13c57f(0x2e3)]['syncEditingCollabCursor'](_0x13a470),'onTransformRemoteChangesetByIMECache':_0x19b134=>this[_0x13c57f(0x202)][_0x13c57f(0x21f)](_0x19b134),'onTransformRemoteChangesetByStateCache':_0xf1f818=>this['_docTransformStateCacheService'][_0x13c57f(0x21f)](_0xf1f818)};_0x421f3c[_0x13c57f(0x39a)](_0x408b0e);}}));}};ce=cn([N(0x0,_0x44d4b3(_0x30a2d0)),N(0x1,_0x44d4b3(_0x2e104e)),N(0x2,_0x44d4b3(re)),N(0x3,_0x44d4b3(oe)),N(0x4,_0x44d4b3(ae)),N(0x5,_0x44d4b3(Fe)),N(0x6,_0x2373e8),N(0x7,_0x44d4b3(_0x1ce949))],ce);var ln=Object[_0x155c84(0x28b)],_n=(_0x269e6b,_0x3418f4,_0x387182,_0x8ff963)=>{const _0x5c8fb3=_0x155c84;for(var _0x4db1ea=_0x8ff963>0x1?void 0x0:_0x8ff963?ln(_0x3418f4,_0x387182):_0x3418f4,_0x31bc44=_0x269e6b[_0x5c8fb3(0x2bd)]-0x1,_0x58b555;_0x31bc44>=0x0;_0x31bc44--)(_0x58b555=_0x269e6b[_0x31bc44])&&(_0x4db1ea=_0x58b555(_0x4db1ea)||_0x4db1ea);return _0x4db1ea;},Ee=(_0x16739e,_0x93b166)=>(_0x182abe,_0x4fd59b)=>_0x93b166(_0x182abe,_0x4fd59b,_0x16739e);let we=class extends _0x1a59fc{constructor(_0x4b5962,_0x2026bc,_0x48988b){const _0x39f631=_0x155c84;super(),_(this,_0x39f631(0x2ef),new Map()),_(this,_0x39f631(0x33a),new Map()),_(this,_0x39f631(0x27c),!0x1),(this['_configService']=_0x4b5962,this[_0x39f631(0x34b)]=_0x2026bc,this[_0x39f631(0x2d3)]=_0x48988b);}[_0x155c84(0x1b3)](){const _0x50d05e=_0x155c84;this[_0x50d05e(0x27c)]=!0x0;}[_0x155c84(0x2cc)](){const _0x528543=_0x155c84;this[_0x528543(0x27c)]=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0x155c84(0x255)](){const _0x5d5d0d=_0x155c84;this['exhaustSavingTask']()[_0x5d5d0d(0x348)](()=>super[_0x5d5d0d(0x255)]());}async['loadOfflineData'](_0x18ee79){const _0x5b9bb7=_0x155c84;return this[_0x5b9bb7(0x27c)]?null:this['_localStorageService'][_0x5b9bb7(0x233)](_0x3b4d1f(_0x18ee79));}async['saveOfflineData'](_0x13949e,_0x3631bd){const _0x3cc5c8=_0x155c84;return!!this[_0x3cc5c8(0x34b)]['setItem'](_0x13949e,_0x3631bd);}['updateOfflineData'](_0x456cce,_0x22e5da,_0x1a8d41,_0xbf3689){const _0x48bd02=_0x155c84,_0x91593a=this[_0x48bd02(0x2d3)]['getCurrentRevOfUnit'](_0x456cce);this[_0x48bd02(0x2ef)][_0x48bd02(0x362)](_0x456cce,{'unitID':_0x456cce,'type':_0x22e5da,'awaitingChangeset':_0x1a8d41,'mutations':_0xbf3689,'rev':_0x91593a}),this['_saveTaskMap'][_0x48bd02(0x243)](_0x456cce)||this['_scheduleSaving'](_0x456cce);}[_0x155c84(0x21b)](_0x58c55e){const _0x24ea47=_0x155c84,_0x16d103=this[_0x24ea47(0x1ae)]();_0x16d103===0x0?this['_saveCache'](_0x58c55e):this[_0x24ea47(0x33a)][_0x24ea47(0x362)](_0x58c55e,setTimeout(()=>this['_saveCache'](_0x58c55e),_0x16d103));}[_0x155c84(0x1ae)](){const _0x56a5db=_0x155c84;var _0x38b273;return(_0x38b273=this[_0x56a5db(0x1d1)][_0x56a5db(0x330)](_0x347141))!=null?_0x38b273:_0x121465;}[_0x155c84(0x235)](_0x2a2331){const _0x3b1142=_0x155c84,_0x2f8db0=this[_0x3b1142(0x33a)]['get'](_0x2a2331);return _0x2f8db0!==void 0x0&&window['clearTimeout'](_0x2f8db0),this[_0x3b1142(0x34b)]['setItem'](_0x3b4d1f(_0x2a2331),this[_0x3b1142(0x2ef)][_0x3b1142(0x2a5)](_0x2a2331))[_0x3b1142(0x348)](()=>this[_0x3b1142(0x33a)][_0x3b1142(0x27d)](_0x2a2331));}async[_0x155c84(0x32f)](){const _0x109200=_0x155c84,_0x26b0d6=[];this[_0x109200(0x33a)][_0x109200(0x350)]((_0x43d592,_0x50c788)=>{const _0x57e61c=_0x109200;window['clearTimeout'](_0x43d592),_0x26b0d6[_0x57e61c(0x2c8)](this[_0x57e61c(0x235)](_0x50c788)[_0x57e61c(0x348)](()=>{const _0x209e7f=_0x57e61c;this[_0x209e7f(0x33a)][_0x209e7f(0x27d)](_0x50c788);}));}),await Promise[_0x109200(0x249)](_0x26b0d6);}};we=_n([Ee(0x0,_0x2c13e5),Ee(0x1,_0x1d2727),Ee(0x2,_0x44d4b3(_0x5b4aea))],we);class hn extends _0x3ff97f{constructor(){const _0x2e6832=_0x155c84;super(),_(this,_0x2e6832(0x1a8)),this[_0x2e6832(0x1a8)]=_0x3ce8ec(window,'popstate')[_0x2e6832(0x2b8)](_0x224124(this['dispose$']),_0x28aeac(0x1),_0x2f81c0(void 0x0));}[_0x155c84(0x2ab)](_0x3703be,_0x49937c,_0x304fbb=!0x1){const _0x53b164=_0x155c84,_0x2d9333=new URL(window['location'][_0x53b164(0x2d4)]);_0x2d9333['searchParams'][_0x53b164(0x362)](_0x3703be,_0x49937c),_0x304fbb?window[_0x53b164(0x2cf)][_0x53b164(0x379)]('','',_0x2d9333[_0x53b164(0x281)]()):window['history']['pushState']('','',_0x2d9333[_0x53b164(0x281)]());}[_0x155c84(0x260)](_0x53efe2,_0x369e68=!0x1){const _0x233e17=_0x155c84,_0x20f509=new URL(window[_0x233e17(0x380)]['href']);_0x20f509[_0x233e17(0x1dd)][_0x233e17(0x27d)](_0x53efe2),_0x369e68?window[_0x233e17(0x2cf)][_0x233e17(0x379)]('','',_0x20f509[_0x233e17(0x281)]()):window[_0x233e17(0x2cf)][_0x233e17(0x395)]('','',_0x20f509[_0x233e17(0x281)]());}[_0x155c84(0x321)](_0x432e4b){const _0x313dcd=_0x155c84;var _0x14d879;return(_0x14d879=new URL(window[_0x313dcd(0x380)][_0x313dcd(0x2d4)])[_0x313dcd(0x1dd)]['get'](_0x432e4b))!=null?_0x14d879:void 0x0;}}var un=Object['defineProperty'],dn=Object[_0x155c84(0x28b)],fn=(_0x172993,_0x87ddf4,_0x4b8a9e)=>_0x87ddf4 in _0x172993?un(_0x172993,_0x87ddf4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4b8a9e}):_0x172993[_0x87ddf4]=_0x4b8a9e,Sn=(_0x50f20f,_0x52d17b,_0x3e037f,_0x1345cc)=>{for(var _0x36f563=_0x1345cc>0x1?void 0x0:_0x1345cc?dn(_0x52d17b,_0x3e037f):_0x52d17b,_0x5064fe=_0x50f20f['length']-0x1,_0x359dba;_0x5064fe>=0x0;_0x5064fe--)(_0x359dba=_0x50f20f[_0x5064fe])&&(_0x36f563=_0x359dba(_0x36f563)||_0x36f563);return _0x36f563;},Oe=(_0x157554,_0x57d6d7)=>(_0x11af47,_0xcc2eb9)=>_0x57d6d7(_0x11af47,_0xcc2eb9,_0x157554),mn=(_0x1ad9f3,_0x401aed,_0x51667b)=>fn(_0x1ad9f3,_0x401aed+'',_0x51667b);const In=_0x155c84(0x213);let Ae=class extends _0x53725b{constructor(_0x51f99e=et,_0xd8290a,_0x2d2f55,_0x4518ea){const _0x496e2b=_0x155c84;super(),this[_0x496e2b(0x35d)]=_0x51f99e,this[_0x496e2b(0x258)]=_0xd8290a,this[_0x496e2b(0x19d)]=_0x2d2f55,this['_configService']=_0x4518ea;const {..._0x4137a0}=_0x1bd8a6({},et,this[_0x496e2b(0x35d)]);this[_0x496e2b(0x1d1)]['setConfig'](qi,_0x4137a0);}[_0x155c84(0x37a)](){const _0x55c1f9=_0x155c84;this['_registerDependencies'](),this[_0x55c1f9(0x248)]();}[_0x155c84(0x1df)](){const _0x5e90b6=_0x155c84;this[_0x5e90b6(0x2cd)]();}['_registerDependencies'](){const _0x3d9838=_0x155c84;var _0x4bcfdb;const _0x11396f=[[He],[ae],[re],[oe],[Fe],[Ut,{'useClass':hn}],[_0x35ba6f,{'useClass':_0x3169ad}],[_0x3612d5,{'useClass':we}],[se],[ce],[ne],[F],[Ne],[ie]];_0x2d90f6(this[_0x3d9838(0x19d)],_0x14ddf8(_0x11396f,(_0x4bcfdb=this[_0x3d9838(0x35d)])==null?void 0x0:_0x4bcfdb[_0x3d9838(0x1d4)]));}[_0x155c84(0x2cd)](){const _0x5778d0=_0x155c84;this[_0x5778d0(0x36a)](this['_renderManagerService']['registerRenderModule'](_0x2a5a3d[_0x5778d0(0x22c)],[Le])),this[_0x5778d0(0x36a)](this[_0x5778d0(0x258)][_0x5778d0(0x26e)](_0x2a5a3d[_0x5778d0(0x301)],[Pe]));}[_0x155c84(0x248)](){_0x4262f0(this['_injector'],[[F],[se],[ce],[ne],[ie]]);}};mn(Ae,_0x155c84(0x2ee),In),Ae=Sn([_0x365884(_0x15440d),Oe(0x1,_0x2ddfe8),Oe(0x2,_0x44d4b3(_0x59b711)),Oe(0x3,_0x2c13e5)],Ae);var vn=Object[_0x155c84(0x28b)],gn=(_0x615b23,_0x335300,_0x1c5d91,_0x460797)=>{const _0x41fd4e=_0x155c84;for(var _0x14be56=_0x460797>0x1?void 0x0:_0x460797?vn(_0x335300,_0x1c5d91):_0x335300,_0x3649f6=_0x615b23[_0x41fd4e(0x2bd)]-0x1,_0x187be5;_0x3649f6>=0x0;_0x3649f6--)(_0x187be5=_0x615b23[_0x3649f6])&&(_0x14be56=_0x187be5(_0x14be56)||_0x14be56);return _0x14be56;},z=(_0x4c86df,_0x48ccad)=>(_0x368db4,_0x3f010e)=>_0x48ccad(_0x368db4,_0x3f010e,_0x4c86df);let it=class extends _0x1dbd4c{constructor(_0x26a2a8,_0x5def0c,_0x568241,_0x1f28bd,_0x4b6f61){super(_0x26a2a8,_0x5def0c,_0x568241,_0x1f28bd,_0x4b6f61);}async[_0x155c84(0x363)](_0x1753d7){const _0x478224=_0x155c84,_0x21c418=await this['_getSessionTicket'](),_0x5e1fd9=this[_0x478224(0x220)](_0x1753d7,_0x21c418);return this[_0x478224(0x35b)](_0x5e1fd9);}[_0x155c84(0x220)](_0x363aaf,_0x5b49fa){const _0x1a18e6=_0x155c84,_0x732068=typeof window>'u'?new URL(_0x363aaf):new URL(_0x363aaf,window[_0x1a18e6(0x380)][_0x1a18e6(0x37e)]);_0x732068[_0x1a18e6(0x1dd)]['set'](_0x1a18e6(0x323),_0x5b49fa);const _0x515bda=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x1a18e6(0x338)]);return _0x515bda[_0x1a18e6(0x2a5)]('runId')&&_0x732068[_0x1a18e6(0x1dd)]['set'](_0x1a18e6(0x2a6),_0x515bda['get'](_0x1a18e6(0x2a6))),_0x732068[_0x1a18e6(0x281)]();}async[_0x155c84(0x2d7)](){const _0x5e64a2=_0x155c84;var _0x7411fe,_0x49250c,_0x10dda4;const _0x29ef12=this[_0x5e64a2(0x1d1)][_0x5e64a2(0x330)](_0x1f9e87),_0x2cf08e=(_0x7411fe=_0x29ef12==null?void 0x0:_0x29ef12['wsSessionTicketUrl'])!=null?_0x7411fe:_0x55f455;return(_0x10dda4=(_0x49250c=(await this[_0x5e64a2(0x282)][_0x5e64a2(0x2a5)](_0x2cf08e,{'headers':{'Content-Type':_0x5e64a2(0x19f)}}))[_0x5e64a2(0x391)])==null?void 0x0:_0x49250c[_0x5e64a2(0x1a7)])!=null?_0x10dda4:'';}};it=gn([z(0x0,_0x44d4b3(_0x59b711)),z(0x1,_0x44d4b3(_0x19e0bb)),z(0x2,_0x2c13e5),z(0x3,_0x31744c),z(0x4,_0x9f21c2)],it);var Lt=(_0x3ae737=>(_0x3ae737[_0x3ae737[_0x155c84(0x206)]=0x0]=_0x155c84(0x206),_0x3ae737[_0x3ae737['OK']=0x1]='OK',_0x3ae737[_0x3ae737['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x3ae737[_0x3ae737['PERMISSION_DENIED']=0x3]=_0x155c84(0x328),_0x3ae737[_0x3ae737[_0x155c84(0x2ca)]=0x4]=_0x155c84(0x2ca),_0x3ae737[_0x3ae737[_0x155c84(0x215)]=0x5]=_0x155c84(0x215),_0x3ae737[_0x3ae737[_0x155c84(0x2e1)]=0x6]=_0x155c84(0x2e1),_0x3ae737[_0x3ae737[_0x155c84(0x36f)]=0x7]=_0x155c84(0x36f),_0x3ae737[_0x3ae737[_0x155c84(0x241)]=0x8]=_0x155c84(0x241),_0x3ae737[_0x3ae737[_0x155c84(0x228)]=0x9]=_0x155c84(0x228),_0x3ae737[_0x3ae737[_0x155c84(0x2f3)]=0xa]=_0x155c84(0x2f3),_0x3ae737[_0x3ae737[_0x155c84(0x25e)]=0xb]=_0x155c84(0x25e),_0x3ae737[_0x3ae737[_0x155c84(0x370)]=0xc]=_0x155c84(0x370),_0x3ae737[_0x3ae737[_0x155c84(0x2e9)]=0xd]=_0x155c84(0x2e9),_0x3ae737[_0x3ae737[_0x155c84(0x308)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x3ae737[_0x3ae737[_0x155c84(0x1cb)]=0x1389]=_0x155c84(0x1cb),_0x3ae737[_0x3ae737[_0x155c84(0x24a)]=0x1771]=_0x155c84(0x24a),_0x3ae737[_0x3ae737[_0x155c84(0x27e)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x3ae737[_0x3ae737[_0x155c84(0x289)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x3ae737[_0x3ae737['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x3ae737[_0x3ae737[_0x155c84(0x287)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x3ae737[_0x3ae737['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x3ae737[_0x3ae737[_0x155c84(0x1e3)]=0x1b5c]=_0x155c84(0x1e3),_0x3ae737[_0x3ae737['APPLY_DUPLICATED']=0x1b5d]=_0x155c84(0x33c),_0x3ae737[_0x3ae737[_0x155c84(0x284)]=0x1f41]=_0x155c84(0x284),_0x3ae737[_0x3ae737[_0x155c84(0x283)]=0x2329]=_0x155c84(0x283),_0x3ae737[_0x3ae737['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x155c84(0x1ed),_0x3ae737[_0x3ae737[_0x155c84(0x322)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x3ae737[_0x3ae737[_0x155c84(0x1c8)]=0x232c]=_0x155c84(0x1c8),_0x3ae737[_0x3ae737['LICENSE_DISTRO_REJECTED']=0x232d]=_0x155c84(0x337),_0x3ae737[_0x3ae737['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x3ae737[_0x3ae737[_0x155c84(0x354)]=0x2712]=_0x155c84(0x354),_0x3ae737[_0x3ae737[_0x155c84(0x2c0)]=0x2713]=_0x155c84(0x2c0),_0x3ae737[_0x3ae737[_0x155c84(0x383)]=0x2714]=_0x155c84(0x383),_0x3ae737[_0x3ae737[_0x155c84(0x390)]=0x271a]=_0x155c84(0x390),_0x3ae737[_0x3ae737[_0x155c84(0x1fa)]=0x271b]=_0x155c84(0x1fa),_0x3ae737[_0x3ae737[_0x155c84(0x32d)]=0x271c]=_0x155c84(0x32d),_0x3ae737[_0x3ae737['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x155c84(0x237),_0x3ae737[_0x3ae737[_0x155c84(0x35f)]=0x271e]=_0x155c84(0x35f),_0x3ae737[_0x3ae737['YUUMI_AI_RUN_FAILED']=0x271f]=_0x155c84(0x26c),_0x3ae737[_0x3ae737[_0x155c84(0x1bb)]=0x2720]=_0x155c84(0x1bb),_0x3ae737[_0x3ae737[_0x155c84(0x3a7)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x3ae737[_0x3ae737[_0x155c84(0x204)]=0x2ee1]=_0x155c84(0x204),_0x3ae737[_0x3ae737[_0x155c84(0x387)]=0x2ee2]=_0x155c84(0x387),_0x3ae737[_0x3ae737[_0x155c84(0x30d)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x3ae737[_0x3ae737[_0x155c84(0x329)]=0x2ee4]=_0x155c84(0x329),_0x3ae737[_0x3ae737[_0x155c84(0x314)]=0x2ee5]=_0x155c84(0x314),_0x3ae737[_0x3ae737[_0x155c84(0x1aa)]=0x32c9]=_0x155c84(0x1aa),_0x3ae737[_0x3ae737[_0x155c84(0x211)]=0x32ca]=_0x155c84(0x211),_0x3ae737[_0x3ae737[_0x155c84(0x1e1)]=0x32cb]=_0x155c84(0x1e1),_0x3ae737[_0x3ae737[_0x155c84(0x1c1)]=-0x1]=_0x155c84(0x1c1),_0x3ae737))(Lt||{}),pn=Object[_0x155c84(0x28b)],Cn=(_0x1fcb5b,_0x5784b2,_0x2c8302,_0x57ba86)=>{const _0x58009d=_0x155c84;for(var _0x563503=_0x57ba86>0x1?void 0x0:_0x57ba86?pn(_0x5784b2,_0x2c8302):_0x5784b2,_0x817b59=_0x1fcb5b[_0x58009d(0x2bd)]-0x1,_0x5352c5;_0x817b59>=0x0;_0x817b59--)(_0x5352c5=_0x1fcb5b[_0x817b59])&&(_0x563503=_0x5352c5(_0x563503)||_0x563503);return _0x563503;},be=(_0x285aef,_0x5803ab)=>(_0x4766ad,_0x36b3da)=>_0x5803ab(_0x4766ad,_0x36b3da,_0x285aef);let nt=class extends _0x1a59fc{constructor(_0x499341,_0x28cea7,_0x558473){const _0x1e7d9a=_0x155c84;super(),this[_0x1e7d9a(0x389)]=_0x499341,this['_httpService']=_0x28cea7,this[_0x1e7d9a(0x1d1)]=_0x558473;}async[_0x155c84(0x2fd)](_0x3309b7,_0x1bbff5,_0x478edb,..._0x5b55d9){const _0x2e1488=_0x155c84;var _0x1e6d67,_0x195d34,_0xc16ae8,_0x525bb4;const _0x7fc780=this[_0x2e1488(0x389)][_0x2e1488(0x2c4)]();if(!_0x7fc780)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x5d6c81=((_0x1e6d67=this[_0x2e1488(0x1d1)][_0x2e1488(0x330)](_0x169e12))!=null?_0x1e6d67:_0x131740)+'/'+_0x3309b7+_0x2e1488(0x22d)+_0x1bbff5,_0x45f9b9=new URL(window[_0x2e1488(0x380)][_0x2e1488(0x2d4)]),_0x1bc414={'scriptId':_0x3309b7,'runId':(_0x195d34=_0x45f9b9[_0x2e1488(0x1dd)]['get'](_0x2e1488(0x2a6)))!=null?_0x195d34:'','function':_0x1bbff5,'unitId':_0x7fc780[_0x2e1488(0x230)](),'argsOfFunction':JSON[_0x2e1488(0x34f)](_0x5b55d9),'invokeId':(_0xc16ae8=_0x478edb[_0x2e1488(0x26f)])!=null?_0xc16ae8:'','executionId':(_0x525bb4=_0x478edb['executionId'])!=null?_0x525bb4:''};try{const _0x1d4750=await this[_0x2e1488(0x282)][_0x2e1488(0x29f)](_0x5d6c81,{'body':_0x1bc414});return _0x1d4750[_0x2e1488(0x391)][_0x2e1488(0x33d)]&&_0x1d4750[_0x2e1488(0x391)]['error'][_0x2e1488(0x1a2)]!==Lt['OK']?_0x2e1488(0x19b):_0x1d4750[_0x2e1488(0x391)][_0x2e1488(0x2c9)];}catch{return _0x2e1488(0x19b);}}};nt=Cn([be(0x0,_0x20a926),be(0x1,_0x44d4b3(_0x19e0bb)),be(0x2,_0x2c13e5)],nt);const rt=0x7530,ot=_0x155c84(0x22b);class Fn extends _0x1a59fc{constructor(){const _0x1fd388=_0x155c84;super(),_(this,_0x1fd388(0x315),_0x4d86b9()),_(this,'_selfUnitIDs',new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x1fd388(0x333),null),_(this,_0x1fd388(0x266),new Map()),_(this,'_unitStatus',new Map()),this['_init']();}[_0x155c84(0x255)](){const _0x2712e6=_0x155c84;super['dispose'](),this['_clearOtherTimers'][_0x2712e6(0x350)]((_0x3fbf41,_0x5c9a0b)=>this[_0x2712e6(0x2d8)](_0x5c9a0b)),this['_heartbeatTimer']&&window['clearInterval'](this['_heartbeatTimer']);}[_0x155c84(0x381)](_0x1c1c92){const _0x398c14=_0x155c84;return this[_0x398c14(0x2f4)](_0x1c1c92)[_0x398c14(0x2b8)](_0x518fa2());}['editingUnit'](_0x339afe){const _0xaf6673=_0x155c84;this[_0xaf6673(0x210)]['size']===0x0&&this[_0xaf6673(0x310)](),this[_0xaf6673(0x210)][_0xaf6673(0x22a)](_0x339afe),this[_0xaf6673(0x20d)]({'type':0x0,'memberID':this[_0xaf6673(0x315)],'unitIDs':[_0x339afe],'isForwarded':!0x1});}[_0x155c84(0x1d0)](_0x5736df){const _0x1ffbf1=_0x155c84;this[_0x1ffbf1(0x210)]['delete'](_0x5736df),this['_selfUnitIDs'][_0x1ffbf1(0x36c)]===0x0&&this[_0x1ffbf1(0x333)]&&window['clearInterval'](this[_0x1ffbf1(0x333)]);}['_init'](){const _0x348377=_0x155c84;this[_0x348377(0x36a)](_0x4a894b(_0x3ce8ec(window,_0x348377(0x23a))[_0x348377(0x1d3)](_0x5e4adb=>{const _0x288280=_0x348377;if(_0x5e4adb[_0x288280(0x20e)]!==ot||!_0x5e4adb['newValue'])return;const _0x5d59e2=JSON[_0x288280(0x325)](_0x5e4adb[_0x288280(0x344)]);this[_0x288280(0x343)](_0x5d59e2);}))),window[_0x348377(0x1ab)]('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x348377(0x315)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}['_handleEvent'](_0xec81b9){const _0x44cad3=_0x155c84;switch(_0xec81b9[_0x44cad3(0x359)]){case 0x0:this[_0x44cad3(0x223)](_0xec81b9);break;case 0x1:this[_0x44cad3(0x1a1)](_0xec81b9);break;case 0x2:this[_0x44cad3(0x2d1)](_0xec81b9);break;}}['_handleJoinEvent'](_0x29b716){const _0x4fbf09=_0x155c84,{unitIDs:_0x2a13b0,memberID:_0x1416f6,isForwarded:_0xbb7d2a}=_0x29b716;_0x2a13b0[_0x4fbf09(0x350)](_0x507a41=>{const _0x41ad78=_0x4fbf09;if(!_0xbb7d2a&&this[_0x41ad78(0x31c)][_0x41ad78(0x243)](_0x507a41)&&this[_0x41ad78(0x2f4)](_0x507a41)['next'](_0x3494c6[_0x41ad78(0x318)]),!this[_0x41ad78(0x31c)][_0x41ad78(0x243)](_0x507a41)||!this['_unitOnClients']['get'](_0x507a41)[_0x41ad78(0x243)](_0x1416f6)){const _0x468d84=this[_0x41ad78(0x31c)][_0x41ad78(0x2a5)](_0x507a41)||new Set();_0x468d84['add'](_0x1416f6),this['_unitOnClients'][_0x41ad78(0x362)](_0x507a41,_0x468d84),this[_0x41ad78(0x2df)](_0x1416f6);}}),_0xbb7d2a||this[_0x4fbf09(0x20d)]({'type':0x0,'memberID':this[_0x4fbf09(0x315)],'unitIDs':[...this[_0x4fbf09(0x210)]],'isForwarded':!0x0});}[_0x155c84(0x2df)](_0x555767){const _0xff5452=_0x155c84;this[_0xff5452(0x2d8)](_0x555767);const _0x23b6f5=window[_0xff5452(0x2e5)](()=>{const _0x926d8e=_0xff5452;this[_0x926d8e(0x31c)][_0x926d8e(0x350)](_0x587d00=>{_0x587d00['delete'](_0x555767);});},rt*0x2);this[_0xff5452(0x266)][_0xff5452(0x362)](_0x555767,_0x23b6f5);}['_removeClearOtherTimer'](_0x18d8a2){const _0x5144d0=_0x155c84;if(this[_0x5144d0(0x266)][_0x5144d0(0x243)](_0x18d8a2)){const _0x472c9c=this['_clearOtherTimers'][_0x5144d0(0x2a5)](_0x18d8a2);_0x472c9c&&window[_0x5144d0(0x275)](_0x472c9c),this[_0x5144d0(0x266)][_0x5144d0(0x362)](_0x18d8a2,null);}}[_0x155c84(0x1a1)](_0x414d33){const _0x2fcc09=_0x155c84,{memberID:_0x19dcd0,unitIDs:_0x517a5c}=_0x414d33;_0x517a5c[_0x2fcc09(0x350)](_0x4c4287=>{const _0x1f1c05=_0x2fcc09;var _0x5d0508;const _0x335283=this[_0x1f1c05(0x31c)]['get'](_0x4c4287);_0x335283&&(_0x335283['delete'](_0x19dcd0),(_0x5d0508=this[_0x1f1c05(0x2f4)](_0x4c4287))==null||_0x5d0508[_0x1f1c05(0x1b7)](_0x335283['size']===0x0?_0x3494c6[_0x1f1c05(0x2ad)]:_0x3494c6['OTHER_CLIENTS_EDITING']));}),this[_0x2fcc09(0x2d8)](_0x19dcd0);}[_0x155c84(0x2d1)](_0x510142){const _0x103252=_0x155c84;this['_scheduleClearOtherTimer'](_0x510142[_0x103252(0x2e7)]);}[_0x155c84(0x20d)](_0x4086e5){const _0x452762=_0x155c84;localStorage[_0x452762(0x356)](ot,JSON[_0x452762(0x34f)](_0x4086e5));}['_scheduleHeartbeat'](){const _0x4ff965=_0x155c84;this[_0x4ff965(0x333)]=window[_0x4ff965(0x2dd)](()=>{const _0x460a86=_0x4ff965;this[_0x460a86(0x20d)]({'type':0x2,'memberID':this[_0x460a86(0x315)]});},rt);}[_0x155c84(0x2f4)](_0xb315b){const _0x46b73b=_0x155c84;return this[_0x46b73b(0x36b)][_0x46b73b(0x243)](_0xb315b)||this[_0x46b73b(0x36b)][_0x46b73b(0x362)](_0xb315b,new _0x4e3b68(_0x3494c6[_0x46b73b(0x2ad)])),this['_unitStatus']['get'](_0xb315b);}}export{it as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,se as DesktopCollaborationStatusDisplayController,Ut as IURLService,nt as RemoteUniscriptService,Xi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
1
+ const _0x7ad4b3=_0x26ec;(function(_0x1c2e26,_0xd97c8){const _0x4690b9=_0x26ec,_0x388864=_0x1c2e26();while(!![]){try{const _0x54725c=-parseInt(_0x4690b9(0x225))/0x1+-parseInt(_0x4690b9(0x219))/0x2*(parseInt(_0x4690b9(0x153))/0x3)+-parseInt(_0x4690b9(0x216))/0x4+-parseInt(_0x4690b9(0x2ad))/0x5*(parseInt(_0x4690b9(0x140))/0x6)+-parseInt(_0x4690b9(0x1fc))/0x7*(-parseInt(_0x4690b9(0x27c))/0x8)+parseInt(_0x4690b9(0x257))/0x9*(-parseInt(_0x4690b9(0x185))/0xa)+parseInt(_0x4690b9(0x1b9))/0xb;if(_0x54725c===_0xd97c8)break;else _0x388864['push'](_0x388864['shift']());}catch(_0x87be58){_0x388864['push'](_0x388864['shift']());}}}(_0x4d48,0xd3672));function _0x26ec(_0x40a5fb,_0xf9f461){const _0x4d4870=_0x4d48();return _0x26ec=function(_0x26ec07,_0x49b602){_0x26ec07=_0x26ec07-0xae;let _0x30ea5f=_0x4d4870[_0x26ec07];return _0x30ea5f;},_0x26ec(_0x40a5fb,_0xf9f461);}var xt=Object['defineProperty'],Bt=(_0x2089c8,_0x5d22d1,_0x53af53)=>_0x5d22d1 in _0x2089c8?xt(_0x2089c8,_0x5d22d1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x53af53}):_0x2089c8[_0x5d22d1]=_0x53af53,_=(_0x3eec9b,_0x8cf2af,_0x36d3ec)=>Bt(_0x3eec9b,typeof _0x8cf2af!='symbol'?_0x8cf2af+'':_0x8cf2af,_0x36d3ec);import{jsx as _0x109c70,jsxs as _0x36390a}from'react/jsx-runtime';import{CollaborationStatus as _0x3e3f9e,CollaborationSessionService as _0x365177,CollaborationController as _0x3e656b,DataLoaderService as _0x46bee4,MemberService as _0x480879,SessionStatus as _0x1e9ca2,ILocalCacheService as _0x2d7dea,CollaborationUIEventService as _0x44ffa7,CollaborationUIEventId as _0x2f4a27,DocCollaborationEntity as _0x5a967d,getLocalCacheKey as _0x1340c0,LOCAL_CACHE_INTERVAL as _0x270e8c,LOCAL_CACHE_INTERVAL_KEY as _0x3bc396,UniverCollaborationClientPlugin as _0x302fe2,CollaborationSocketService as _0x2336c8,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x2fb9a5,DEFAULT_WS_SESSION_TICKET_URL as _0x27e42c,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x33aaf9,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x39e3b2,UnitStatus as _0x2cb6cf}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x58e7cc,IUniverInstanceService as _0x12519b,Inject as _0x889d0a,Injector as _0x550574,Disposable as _0x8a3bb5,createIdentifier as _0x818019,ILogService as _0x3f92a0,ICommandService as _0x57c15d,Optional as _0xb805c3,RxDisposable as _0x2e5b84,Workbook as _0x3fccfb,DOC_RANGE_TYPE as _0x3b2fce,debounce as _0x3b690c,Rectangle as _0x2883e,DisposableCollection as _0x5b701d,toDisposable as _0x36a9dd,UniverInstanceType as _0x207290,generateRandomId as _0x37ad55,COLORS as _0x2eadac,ColorKit as _0x23c81c,ThemeService as _0x5614cb,fromEventSubject as _0x5e96b1,Tools as _0x2720d4,CommandType as _0x11acd5,IConfigService as _0x8a59df,ILocalStorageService as _0x47ea1f,DependentOn as _0x28802a,Plugin as _0x17b8c5,merge as _0x51b536,registerDependencies as _0x2b1e43,mergeOverrideWithDependencies as _0x24678c,touchDependencies as _0x35edb3}from'@univerjs/core';import{useObservable as _0xbecf14,useDependency as _0x5876ba,IUIPartsService as _0x4e9162,BuiltInUIPart as _0x4a978d,connectInjector as _0x3833ee,IBeforeCloseService as _0x3f3246,IMessageService as _0xddfcdf,INotificationService as _0x487fca}from'@univerjs/ui';import{BehaviorSubject as _0x498721,switchMap as _0x48d4a9,of as _0x1cd55f,takeUntil as _0x437630,debounceTime as _0x30bbb2,Subject as _0x43960d,filter as _0x25942c,merge as _0x486b68,combineLatest as _0x128bd5,fromEvent as _0x4e0479,shareReplay as _0x49ea48,mapTo as _0x4444bd,distinctUntilChanged as _0x2b484b}from'rxjs';import{Tooltip as _0x2138f0,clsx as _0x2d1451,MessageType as _0x57e84d}from'@univerjs/design';import{forwardRef as _0x67fe70,useRef as _0x236964,createElement as _0x47ca5e,useCallback as _0x39d7b5}from'react';import{IRemoteInstanceService as _0x34ab18}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x4e92e0,RefRangeService as _0x2e2d21,SetSelectionsOperation as _0x13c207,SheetsSelectionsService as _0x2c6afd,EffectRefRangId as _0x5e2d81,handleIRemoveRow as _0x4d40c1,handleIRemoveCol as _0x2aefec,handleMoveRange as _0x10c647,handleInsertRow as _0xc39cea,handleInsertRangeMoveRight as _0x3da955,handleInsertRangeMoveDown as _0x576f78,handleInsertCol as _0x5d4f63,handleDeleteRangeMoveUp as _0x2c8393,handleDeleteRangeMoveLeft as _0x3ecbe2,runRefRangeMutations as _0x49f3fb}from'@univerjs/sheets';import{Shape as _0x188272,Rect as _0x1a57fc,getColor as _0xcf6f54,RegularPolygon as _0x2bc643,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0xaa1d13,Vector2 as _0x2e581d,SHEET_VIEWPORT_KEY as _0x192468,IRenderManagerService as _0x290ee6}from'@univerjs/engine-render';import{ISocketService as _0x2a07e6,WebSocketService as _0x53059b,HTTPService as _0x1d1fae}from'@univerjs/network';function _0x4d48(){const _0x56d64f=['_localStorageService','deepClone','http://www.w3.org/2000/svg','transformStateCache','_cursors','unitID','NO_OTHER_CLIENTS_EDITING','_messageService','CONFLICT','exhaustSavingTask','transformMutationsWithChangeset','#FFF','_docTransformSelectionsService','urlChange$','APPLY_PERMISSION_DENIED','UNIVER_DOC','transform','_toggleOffline','NOT_FOUND','currentSkeleton$','addHandlerCallback','ONLINE','focused$','_urlService','currentTheme$','blue.400','DeleteRangeMoveLeftCommandId','size','CLOSE_ROOM','/run/','params','_hideTimer','measureText','_handleHover','_themeService','off-line-icon_clip0_910_343','invokeId','YUUMI_ALL_TABLES_IS_INVALID','clearTimeout','getUnitId','_session','_injector','set','data','syncEditingCollabCursor','_cachedData','_scheduleSaving','next','UniverIcon','subunit','defIds','indexOf','_onCursorUpdate','_labelPosition','loadUnit','getActiveSheet','_scheduleClearOtherTimer','cursorInfo$','setStateCache','concat','lineTo','dispose$','column','getColorFromTheme','344603njCAXI','location','use','setConfig','contains','_updateLocalCursor','_registerDependencies','_memberService','UPDATE_CURSOR','displayName','setAlpha','_handleEvent','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','INVITE_CODE_REQUIRED','transformMutation','_entities','_startSheetCollabCursor','white','status$','popstate','session.collaboration-timeout','_beforeCloseService','_lastPointer','_drawRectRange','_hovered','div','5051328MlpNPD','_collabSessionService','rgba(255,\x20255,\x20255,\x200.01)','26pVkDWo','YUUMI_NO_CUBOID_FOR_QUESTION','setTimeout','m1Prime','arc','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','toString','_toggleOnline','_saveTaskMap','getSheetId','attrs','Error','362735xVlQCA','sheetId','INVALID_INVITE_CODE','complete','_context','_anchor','clipPath','_univerInstanceService','assignAColorForMemberID','UNIVER_SHEET','all','idSuffix','mask','undoState','textRanges','_updateURLWithCurrentState','UNRECOGNIZED','_color','addObjects','none','from','children','PENDING','getConfig','dispose','name','hide','getOffsetConfig','ENSURE_SNAPSHOT_EXECUTION','body','mutations','_unitOnClients','MOBILE_VERIFY_CODE_MISMATCH','_docTransformIMECacheService','restore','_refreshCollabCursors','saveImage','YUUMI_URL_COL_OUT_OF_RANGE','_refRangeService','_cursorInfo$','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_initStatusComponent','_renderManagerService','_roomMembers$','1em','pipe','function','off-line-icon','getRelativeToViewportCoord','transformByState','1860156JMlteg','backgroundColor','getCurrentUnitForType','UNDEFINED','override','currentColor','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','onStarting','createInstance','_init','engine','disableLocalCache','YUUMI_CONNECTOR_URL_NOT_FOUND','hovered','_textBubble','cursorInfo','registerComponent','current','type','OTHER_CLIENT_EDITING','m2Prime','unsubscribe','_uiPartsService','removeParam','_range','setParam','UNAUTHENTICATED','doc.mutation.rich-text-editing','_initEvent','_logService','find','clearInterval','updateOfflineData','[CollaborationDataLoaderController]','getFocusedUnit','asObservable','_hover','120OkouJG','_getSheetObject','error','application/json','memberID','eventID','sheetID','init','subscribeEvent','flatMap','collabStatus.conflict','bottom','NOT_COLLAB','stringify','collabStatus.syncing','_commandService','_render','code','addClipboardHook','height','push','_doCreateSocket','INVALID_ARGUMENT','fillRule','black','unload','_shapes','_id','USER_NOT_INVITED_CODE','collaboration.single-unit.warning','_config','registerBeforeClose','isEditing','on-line-icon_clip0_910_349','event$','transformIMECache','red.300','entries','RemoveColCommandId','onPointerEnter$','_docSkeletonManagerService','Unknown\x20user','_initResize','_backgroundColor','unitId','LOGIN_FAILED','_eventUnsubscribe','storage','_ensureSubject','15LtGRQN','INTERNAL_ERROR','getOwnPropertyDescriptor','width','history','_initStatusListener','then','fillStyle','WECHAT_HAS_BEEN_BOUND','tag','triggerDblclick','registerRenderModule','evenodd','string','delete','_transformHistoryAndStateStack','_collabCursorController','unshift','saveOfflineData','DeleteRangeMoveUpCommandId','add','_registerRenderDependencies','includes','APPLY_REVISION_CONFILICT','_assignedColors','sessionStatus$','getParam','skeleton','setShapeProps','range','_notificationService','setActiveRange','registerRefRange','propertyIsEnumerable','RECT','round','_anchorDot','FETCH_MISS','search','startColumn','M0\x200H16V16H0z','_removeCollabCursors','_saveCache','USERS_LEAVE','collabStatus.synced','enableLocalCache','getTypeOfUnitDisposed$','sessionTicket','HEADER_MENU','collabStatus.offline','save','_drawTextRange','on-line-icon','onRendered','OFFLINE','_cursor','labelPosition','_docStateChangeManagerService','_imageIoService','getTypeOfUnitAdded$','fillText','MOBILE_HAS_BEEN_BOUND','send','endColumn','length','extend','getCurrentRevOfUnit','has','executeCommand','roomMembers','_cursorShapes','getMember','_docClipboardService','YUUMI_AI_RUN_FAILED','result','collab-text-anchor-','getCellPositionByOffset','univer-flex\x20univer-items-center','map','assign','YUUMI_ASYNCIO_CANCELLED','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getMergeData','JOIN_ROOM_FAILED','row','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','selection','Failed','LICENSE_IMPORT_SIZE_EXCEEDED','addEventListener','_configService','0\x200\x2017\x2016','show','href','_dataLoaderService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_onCursorDelete','APPLY_NON_SEQUENTIAL_REVISION','_transformService','0\x200\x2016\x2016','_draw','disposeWithMe','unit','getMemberID','loadOfflineData','_colorAssignService','ticket','hasOwnProperty','random','_startDocCollabCursor','url(#$1','getDocRanges','_syncEditingCollabCursorService','runId','SOCKET_FAILED','xlink:href','collab-client.tooltip.reconnect','EMAIL_VERIFY_CODE_MISMATCH','some','uni.network.url-service','TOO_MANY_REQUESTS','_docTransformStateCacheService','_clearOtherTimers','text','getViewport','univer-mr-2\x20univer-flex\x20univer-text-xl','makeDirty','permission.title','_sheetSkeletonManagerService','_entityInit$','_disabled','SYNCED','_colorIndex','onMouseMove','_updateCollabCursors','path','CONNECTOR_DATA_TOO_LARGE','_onRefRangeChange','_localCacheService','values','YUUMI_TABLE_NOT_FOUND_IN_UNIT','actions','transformSelections','VIEW_MAIN','key','_handleJoinEvent','entityInit$','_removeClearOtherTimer','TEXT','disposeUnit','trim','onLocalMutation','pluginName','collabCursorState$','searchParams','icon','_status$','collabStatus.fetchMiss','_name','_send','onPointerLeave$','getActiveRange','3370758AwuplY','colorChannel1','_selfUnitIDs','with','getOwnPropertySymbols','reconnect','_revisionService','roomMembers$','_handleHeartbeatEvent','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_getMergeRange','transformRemoteChangeset','RemoveRowCommandId','saveTaskMap','_initCommandExecutedListener','top','APPLY_REJECT','getCurrentSelections','getCollabEntity$','320685PbzwFp','_collaborationController','translate(.97)','subscribe','PY_RUNTIME_SCRIPT_ERROR','CHANGESET_REVISION_CONFILICT','getRenderById','getUnhiddenWorksheets','wsSessionTicketUrl','_scene','defs','_docSkeleton','getUnitStatus$','_getSessionTicket','_getAnchorBounding','_document','getUndoRedoMutationParamsCache','apply','InsertRangeMoveDownCommandId','ranges','ACTIVE_UNIT_EVENT_CHANNEL','beginPath','min','LICENSE_EXPORT_SIZE_EXCEEDED','whenReady','PERMISSION_DENIED','fill','requireSession','font','YUUMI_UNABLE_LOAD_URL','green.600','MoveRangeCommandId','OffLineIcon','jiqing.500','onPointerMove$','getValue','resize','getSheetBySheetId','setItem','findNodePositionByCharIndex','_initDependencies','univerjs-icon\x20univerjs-icon-','AWAITING_WITH_PENDING','isArray','OTHER_CLIENTS_EDITING','drawWith','OnLineIcon','activeSheet$','color','_initEntityListener','10Zcuvgt','_heartbeatTimer','_online','_instanceService','isActive','docStateChange$','ALREADY_EXISTS','_drawAnchor','onCommandExecuted','prototype','toRgbString','SOCKET_FAILED_RETRY','_transformPreviousActiveRange','replace','LICENSE_MAX_UNITS_EXCEEDED','session.will-retry','_getSaveTimeout','_scheduleHeartbeat','EMAIL_HAS_BEEN_BOUND','startsWith','_localeService','SNAPSHOT_HAS_BEEN_REMOVED','getAncestorScale','closePath','_updateSubUnitFromURLParams','YUUMI_RATE_OVER_LIMIT','get','_unitStatus','InsertColCommandId','origin','_setupBeforeClosingHandler','url(#on-line-icon_clip0_910_349)','svg','subUnitId','getCollabCursors$','_transformUndoRedoStack','forEach','addObject','collab-text-range-','split','getRangePointData','url(#off-line-icon_clip0_910_343)','call','LICENSE_DISTRO_REJECTED','defineProperty','FromArray','endRow','_httpService','...','debug','Warning','_getScale','55382096WMdaFF','_handleLeaveEvent','InsertRangeMoveRightCommandId'];_0x4d48=function(){return _0x56d64f;};return _0x4d48();}import{IDocClipboardService as _0x2e9cf3,NodePositionConvertToCursor as _0x2af382,NodePositionConvertToRectRange as _0x32d99b,TEXT_RANGE_LAYER_INDEX as _0x4a9cbd,SetDocZoomRatioOperation as _0xe4cbdf,DocIMEInputManagerService as _0x4be77f,DocStateChangeManagerService as _0x3cee7c}from'@univerjs/docs-ui';import{IImageIoService as _0x3ca52e}from'@univerjs/drawing';import{ITransformService as _0x4a217b,CollaborationEvent as _0x2d2798,isTransformMutationFailure as _0x5f28a4,isTransformMutationsWithChangesetSuccess as _0x263b03,RevisionService as _0x23f810,ISnapshotServerService as _0x21727a}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x5d8bc9,RichTextEditingMutation as _0x3677fc,DocSelectionManagerService as _0x421829,DocSkeletonManagerService as _0x31f118}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x352760,serializeRangeWithSheet as _0x1acd3f}from'@univerjs/engine-formula';import{map as _0x53476e,filter as _0x5efb0d,throttleTime as _0x2fec6d,takeUntil as _0xfe465f,switchMap as _0x53d6a1}from'rxjs/operators';import{SheetSkeletonManagerService as _0x1ed808,getCoordByCell as _0x83155a,getSheetObject as _0x56d09f}from'@univerjs/sheets-ui';var v=function(){const _0x1fd813=_0x26ec;return v=Object['assign']||function(_0x5814af){const _0x277a9c=_0x26ec;for(var _0x34ad89,_0x5170bd=0x1,_0x36d8a9=arguments[_0x277a9c(0xde)];_0x5170bd<_0x36d8a9;_0x5170bd++){_0x34ad89=arguments[_0x5170bd];for(var _0x115fc7 in _0x34ad89)Object[_0x277a9c(0x18e)][_0x277a9c(0x109)][_0x277a9c(0x1af)](_0x34ad89,_0x115fc7)&&(_0x5814af[_0x115fc7]=_0x34ad89[_0x115fc7]);}return _0x5814af;},v[_0x1fd813(0x164)](this,arguments);},ci=function(_0x40f089,_0x5e7eba){const _0x301c5c=_0x26ec;var _0x49d9eb={};for(var _0x316d89 in _0x40f089)Object[_0x301c5c(0x18e)][_0x301c5c(0x109)][_0x301c5c(0x1af)](_0x40f089,_0x316d89)&&_0x5e7eba[_0x301c5c(0x1ef)](_0x316d89)<0x0&&(_0x49d9eb[_0x316d89]=_0x40f089[_0x316d89]);if(_0x40f089!=null&&typeof Object['getOwnPropertySymbols']==_0x301c5c(0x253)){for(var _0x1d1f86=0x0,_0x316d89=Object[_0x301c5c(0x144)](_0x40f089);_0x1d1f86<_0x316d89[_0x301c5c(0xde)];_0x1d1f86++)_0x5e7eba[_0x301c5c(0x1ef)](_0x316d89[_0x1d1f86])<0x0&&Object[_0x301c5c(0x18e)][_0x301c5c(0xbf)]['call'](_0x40f089,_0x316d89[_0x1d1f86])&&(_0x49d9eb[_0x316d89[_0x1d1f86]]=_0x40f089[_0x316d89[_0x1d1f86]]);}return _0x49d9eb;},ke=_0x67fe70(function(_0x5f00e8,_0x529def){const _0x155af6=_0x26ec;var _0x2ac2ee=_0x5f00e8['icon'],_0x33bcb5=_0x5f00e8['id'],_0x36592c=_0x5f00e8['className'],_0x19dc13=_0x5f00e8[_0x155af6(0xdf)],_0x41dbe6=ci(_0x5f00e8,[_0x155af6(0x139),'id','className',_0x155af6(0xdf)]),_0x1eb3eb=_0x155af6(0x17c)['concat'](_0x33bcb5,'\x20')['concat'](_0x36592c||'')[_0x155af6(0x134)](),_0x5e94d7=_0x236964('_'['concat'](hi()));return Rt(_0x2ac2ee,''['concat'](_0x33bcb5),{'defIds':_0x2ac2ee[_0x155af6(0x1ee)],'idSuffix':_0x5e94d7[_0x155af6(0x268)]},v({'ref':_0x529def,'className':_0x1eb3eb},_0x41dbe6),_0x19dc13);});function Rt(_0x19dc0d,_0x250be1,_0xc3fa02,_0x501685,_0x46f686){const _0x39b007=_0x26ec;return _0x47ca5e(_0x19dc0d['tag'],v(v({'key':_0x250be1},li(_0x19dc0d,_0xc3fa02,_0x46f686)),_0x501685),(_i(_0x19dc0d,_0xc3fa02)['children']||[])[_0x39b007(0xec)](function(_0x44f773,_0xe36e9c){const _0x1e8102=_0x39b007;return Rt(_0x44f773,''[_0x1e8102(0x1f7)](_0x250be1,'-')[_0x1e8102(0x1f7)](_0x19dc0d[_0x1e8102(0x2b6)],'-')[_0x1e8102(0x1f7)](_0xe36e9c),_0xc3fa02,void 0x0,_0x46f686);}));}function li(_0x546443,_0x4ff90a,_0x511a9a){const _0x1f0c3f=_0x26ec;var _0x4d7efa=v({},_0x546443['attrs']);_0x511a9a!=null&&_0x511a9a['colorChannel1']&&_0x4d7efa[_0x1f0c3f(0x16d)]===_0x1f0c3f(0x141)&&(_0x4d7efa['fill']=_0x511a9a[_0x1f0c3f(0x141)]),_0x546443['tag']===_0x1f0c3f(0x231)&&_0x4d7efa['id']&&(_0x4d7efa['id']=_0x4d7efa['id']+_0x4ff90a['idSuffix']),Object['entries'](_0x4d7efa)['forEach'](function(_0x18f7c2){const _0x340a52=_0x1f0c3f;var _0x5ae9d4=_0x18f7c2[0x0],_0x73a3f7=_0x18f7c2[0x1];_0x5ae9d4===_0x340a52(0x231)&&typeof _0x73a3f7==_0x340a52(0x2ba)&&(_0x4d7efa[_0x5ae9d4]=_0x73a3f7[_0x340a52(0x192)](/url\(#(.*)\)/,_0x340a52(0x10c)[_0x340a52(0x1f7)](_0x4ff90a[_0x340a52(0x230)],')')));});var _0xf3828b=_0x4ff90a['defIds'];return!_0xf3828b||_0xf3828b[_0x1f0c3f(0xde)]===0x0||(_0x546443[_0x1f0c3f(0x2b6)]===_0x1f0c3f(0x1fe)&&_0x4d7efa['xlink:href']&&(_0x4d7efa[_0x1f0c3f(0x111)]=_0x4d7efa[_0x1f0c3f(0x111)]+_0x4ff90a[_0x1f0c3f(0x230)]),Object[_0x1f0c3f(0x2a1)](_0x4d7efa)['forEach'](function(_0x597218){const _0x4557f6=_0x1f0c3f;var _0x803f5d=_0x597218[0x0],_0x633af6=_0x597218[0x1];typeof _0x633af6==_0x4557f6(0x2ba)&&(_0x4d7efa[_0x803f5d]=_0x633af6['replace'](/url\(#(.*)\)/,_0x4557f6(0x10c)['concat'](_0x4ff90a[_0x4557f6(0x230)],')')));})),_0x4d7efa;}function _i(_0x19c933,_0x4bee27){const _0x4ab23f=_0x26ec;var _0x20a323,_0x3d5b00=_0x4bee27[_0x4ab23f(0x1ee)];return!_0x3d5b00||_0x3d5b00[_0x4ab23f(0xde)]===0x0?_0x19c933:_0x19c933[_0x4ab23f(0x2b6)]===_0x4ab23f(0x15d)&&(!((_0x20a323=_0x19c933[_0x4ab23f(0x23a)])===null||_0x20a323===void 0x0)&&_0x20a323[_0x4ab23f(0xde)])?v(v({},_0x19c933),{'children':_0x19c933[_0x4ab23f(0x23a)]['map'](function(_0x5332a4){const _0x253bd3=_0x4ab23f;return typeof _0x5332a4[_0x253bd3(0x223)]['id']==_0x253bd3(0x2ba)&&_0x3d5b00&&_0x3d5b00[_0x253bd3(0xb4)](_0x5332a4[_0x253bd3(0x223)]['id'])?v(v({},_0x5332a4),{'attrs':v(v({},_0x5332a4[_0x253bd3(0x223)]),{'id':_0x5332a4[_0x253bd3(0x223)]['id']+_0x4bee27['idSuffix']})}):_0x5332a4;})}):_0x19c933;}function hi(){const _0x210ac1=_0x26ec;return Math[_0x210ac1(0x10a)]()[_0x210ac1(0x21f)](0x24)['substring'](0x2,0x8);}ke['displayName']=_0x7ad4b3(0x1ec);var ui={'tag':_0x7ad4b3(0x1a5),'attrs':{'xmlns':_0x7ad4b3(0x1be),'fill':_0x7ad4b3(0x238),'viewBox':_0x7ad4b3(0x101),'width':_0x7ad4b3(0x251),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x7ad4b3(0x1ae)},'children':[{'tag':'path','attrs':{'stroke':_0x7ad4b3(0x25c),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x7ad4b3(0xc1),'strokeLinejoin':_0x7ad4b3(0xc1),'strokeWidth':1.2}}]},{'tag':_0x7ad4b3(0x15d),'attrs':{},'children':[{'tag':_0x7ad4b3(0x22b),'attrs':{'id':_0x7ad4b3(0x1df)},'children':[{'tag':_0x7ad4b3(0x125),'attrs':{'fill':_0x7ad4b3(0x20d),'d':_0x7ad4b3(0xc6)}}]}]}],'defIds':[_0x7ad4b3(0x1df)]},Dt=_0x67fe70(function(_0x311069,_0x3b94cb){const _0x2e1fcb=_0x7ad4b3;return _0x47ca5e(ke,Object['assign']({},_0x311069,{'id':_0x2e1fcb(0x254),'ref':_0x3b94cb,'icon':ui}));});Dt[_0x7ad4b3(0x205)]=_0x7ad4b3(0x173);var di={'tag':_0x7ad4b3(0x1a5),'attrs':{'xmlns':_0x7ad4b3(0x1be),'fill':_0x7ad4b3(0x238),'viewBox':_0x7ad4b3(0xf9),'width':_0x7ad4b3(0x251),'height':_0x7ad4b3(0x251)},'children':[{'tag':'g','attrs':{'clipPath':_0x7ad4b3(0x1a4)},'children':[{'tag':_0x7ad4b3(0x125),'attrs':{'stroke':_0x7ad4b3(0x25c),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x7ad4b3(0xc1),'strokeLinejoin':_0x7ad4b3(0xc1),'strokeWidth':1.2}}]},{'tag':_0x7ad4b3(0x15d),'attrs':{},'children':[{'tag':_0x7ad4b3(0x22b),'attrs':{'id':_0x7ad4b3(0x29d)},'children':[{'tag':_0x7ad4b3(0x125),'attrs':{'fill':_0x7ad4b3(0x20d),'d':_0x7ad4b3(0xc6),'transform':_0x7ad4b3(0x155)}}]}]}],'defIds':[_0x7ad4b3(0x29d)]},Nt=_0x67fe70(function(_0x1ca752,_0x5af552){const _0x2c75b3=_0x7ad4b3;return _0x47ca5e(ke,Object[_0x2c75b3(0xed)]({},_0x1ca752,{'id':_0x2c75b3(0xd2),'ref':_0x5af552,'icon':di}));});Nt[_0x7ad4b3(0x205)]=_0x7ad4b3(0x181);function fi(_0x582a5f){const _0x17de3f=_0x7ad4b3;switch(_0x582a5f){case _0x3e3f9e[_0x17de3f(0xd4)]:return _0x17de3f(0xcf);case _0x3e3f9e['CONFLICT']:return _0x17de3f(0x286);case _0x3e3f9e[_0x17de3f(0xc3)]:return _0x17de3f(0x13b);case _0x3e3f9e[_0x17de3f(0x288)]:return'collabStatus.notCollab';case _0x3e3f9e['AWAITING']:case _0x3e3f9e[_0x17de3f(0x17d)]:return _0x17de3f(0x28a);case _0x3e3f9e[_0x17de3f(0x121)]:case _0x3e3f9e[_0x17de3f(0x23b)]:return _0x17de3f(0xca);}}function Si(_0x1b758a){const _0x324843=_0x7ad4b3,{status$:_0x524a7d}=_0x1b758a,_0x2d415f=_0xbecf14(_0x524a7d,_0x3e3f9e[_0x324843(0x288)]),_0x2e81db=_0x5876ba(_0x58e7cc),_0x547993=_0x5876ba(_0x365177),_0x227ca0=_0x2d415f!==_0x3e3f9e[_0x324843(0xd4)],_0x37d557=_0x2e81db['t'](fi(_0x2d415f)),_0x2e6327=_0x227ca0?_0x109c70(Nt,{}):_0x109c70(Dt,{}),_0x267177=_0x39d7b5(()=>{const _0x14486d=_0x324843;_0x227ca0||_0x547993[_0x14486d(0x145)]();},[_0x227ca0,_0x547993]);function _0x3c1167(){const _0x5e7220=_0x324843;return _0x36390a(_0x5e7220(0x215),{'className':_0x5e7220(0xeb),'onClick':_0x267177,'children':[_0x109c70('div',{'className':_0x2d1451(_0x5e7220(0x11b),{'univer-text-green-500':_0x227ca0,'univer-text-red-500':!_0x227ca0}),'children':_0x2e6327}),_0x109c70('div',{'className':_0x5e7220(0x208),'children':_0x37d557})]});}return _0x227ca0?_0x3c1167():_0x109c70(_0x2138f0,{'title':_0x2e81db['t'](_0x324843(0x112)),'children':_0x3c1167()});}var mi=Object[_0x7ad4b3(0x2af)],Ii=(_0x459eb9,_0x3aabc8,_0x6809e5,_0x37cdca)=>{for(var _0x18fd1f=_0x37cdca>0x1?void 0x0:_0x37cdca?mi(_0x3aabc8,_0x6809e5):_0x3aabc8,_0x31e0a8=_0x459eb9['length']-0x1,_0x7dc84e;_0x31e0a8>=0x0;_0x31e0a8--)(_0x7dc84e=_0x459eb9[_0x31e0a8])&&(_0x18fd1f=_0x7dc84e(_0x18fd1f)||_0x18fd1f);return _0x18fd1f;},q=(_0x5e42c1,_0x3ec56c)=>(_0x1cd05b,_0x32a7f0)=>_0x3ec56c(_0x1cd05b,_0x32a7f0,_0x5e42c1);let se=class extends _0x8a3bb5{constructor(_0x112728,_0x5757da,_0x18eaf3,_0x30e6a3){const _0x528b07=_0x7ad4b3;super(),_(this,_0x528b07(0x13a),new _0x498721(_0x3e3f9e['NOT_COLLAB'])),(this[_0x528b07(0x22c)]=_0x112728,this[_0x528b07(0x1e5)]=_0x5757da,this['_collaborationController']=_0x18eaf3,this[_0x528b07(0x26d)]=_0x30e6a3,this[_0x528b07(0x24e)](),this[_0x528b07(0x2b2)]());}['_initStatusListener'](){const _0x8ae122=_0x7ad4b3;this['disposeWithMe'](this[_0x8ae122(0x22c)][_0x8ae122(0x1d2)][_0x8ae122(0x252)](_0x48d4a9(()=>{const _0x4a198b=_0x8ae122,_0x207fa5=this[_0x4a198b(0x22c)][_0x4a198b(0x279)]();return _0x207fa5?this[_0x4a198b(0x154)][_0x4a198b(0x152)](_0x207fa5[_0x4a198b(0x1e3)]()):_0x1cd55f(null);}),_0x48d4a9(_0x215c2f=>_0x215c2f?_0x215c2f[_0x8ae122(0x20e)]:_0x1cd55f(_0x3e3f9e[_0x8ae122(0x288)])))[_0x8ae122(0x156)](_0x55edea=>{const _0x31a346=_0x8ae122;this[_0x31a346(0x13a)][_0x31a346(0x1eb)](_0x55edea);}));}['_initStatusComponent'](){const _0x44a80f=_0x7ad4b3;this[_0x44a80f(0x103)](this['_uiPartsService'][_0x44a80f(0x267)](_0x4a978d[_0x44a80f(0xce)],()=>_0x3833ee(vi({'status$':this['_status$'][_0x44a80f(0x27a)]()}),this[_0x44a80f(0x1e5)])));}};se=Ii([q(0x0,_0x12519b),q(0x1,_0x889d0a(_0x550574)),q(0x2,_0x889d0a(_0x3e656b)),q(0x3,_0x4e9162)],se);function vi(_0x16caf8){const {status$:_0x42d139}=_0x16caf8;return function(){return _0x109c70(Si,{'status$':_0x42d139});};}const Ut=_0x818019(_0x7ad4b3(0x115));var gi=Object[_0x7ad4b3(0x2af)],pi=(_0x45882a,_0x11cb53,_0x186668,_0x5b6579)=>{const _0x1ad9ac=_0x7ad4b3;for(var _0x3b1c79=_0x5b6579>0x1?void 0x0:_0x5b6579?gi(_0x11cb53,_0x186668):_0x11cb53,_0x328a6e=_0x45882a[_0x1ad9ac(0xde)]-0x1,_0x21088a;_0x328a6e>=0x0;_0x328a6e--)(_0x21088a=_0x45882a[_0x328a6e])&&(_0x3b1c79=_0x21088a(_0x3b1c79)||_0x3b1c79);return _0x3b1c79;},G=(_0x1b90b3,_0x391aab)=>(_0x47ad41,_0x1f434b)=>_0x391aab(_0x47ad41,_0x1f434b,_0x1b90b3);let ie=class extends _0x2e5b84{constructor(_0x4981ff,_0x247c6d,_0x7977e2,_0x2f127f,_0x381c67){const _0x279562=_0x7ad4b3;super(),this[_0x279562(0x1d3)]=_0x4981ff,this['_logService']=_0x247c6d,this['_commandService']=_0x7977e2,this[_0x279562(0xfc)]=_0x2f127f,_0x381c67?_0x381c67==null||_0x381c67[_0x279562(0x16b)]()['then'](()=>this[_0x279562(0x260)]()):(this['_logService'][_0x279562(0x1b6)]('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x7ad4b3(0x260)](){const _0x902e36=_0x7ad4b3,_0xcb382e=this['_urlService'][_0x902e36(0xb8)](_0x902e36(0x104)),_0x37f304=this[_0x902e36(0x1d3)][_0x902e36(0xb8)](_0x902e36(0x269)),_0x58cefc=this[_0x902e36(0x1d3)][_0x902e36(0xb8)](_0x902e36(0x1ed));if(!_0xcb382e||!_0x37f304){this[_0x902e36(0x274)][_0x902e36(0x1b6)](_0x902e36(0x278),_0x902e36(0x25d));return;}const _0x48caf4=await this[_0x902e36(0xfc)][_0x902e36(0x1f2)](_0xcb382e,Number(_0x37f304),_0x58cefc);_0x48caf4&&_0x48caf4 instanceof _0x3fccfb&&this['_setupSubUnitSync'](_0x48caf4);}async['_setupSubUnitSync'](_0x336271){const _0x12d0d9=_0x7ad4b3;await this[_0x12d0d9(0x19d)](_0x336271),_0x336271[_0x12d0d9(0x182)]['pipe'](_0x437630(this[_0x12d0d9(0x1f9)]))[_0x12d0d9(0x156)](_0x207fc2=>{const _0x4465f4=_0x12d0d9;_0x207fc2&&this[_0x4465f4(0x234)](_0x207fc2);}),this[_0x12d0d9(0x1d3)][_0x12d0d9(0x1c9)][_0x12d0d9(0x252)](_0x437630(this[_0x12d0d9(0x1f9)]))[_0x12d0d9(0x156)](()=>this[_0x12d0d9(0x19d)](_0x336271));}[_0x7ad4b3(0x234)](_0x1d108c,_0x484a8a=!0x1){const _0x254961=_0x7ad4b3,_0xe6e67a=this[_0x254961(0x1d3)][_0x254961(0xb8)](_0x254961(0x1ed));_0x1d108c['getSheetId']()!==_0xe6e67a&&this[_0x254961(0x1d3)]['setParam'](_0x254961(0x1ed),_0x1d108c[_0x254961(0x222)](),_0x484a8a);}async['_updateSubUnitFromURLParams'](_0x5a3367){const _0x45b371=_0x7ad4b3;var _0x4dd616;const _0x139e4d=this[_0x45b371(0x1d3)][_0x45b371(0xb8)](_0x45b371(0x1ed));if(!_0x139e4d||!_0x5a3367[_0x45b371(0x178)](_0x139e4d)){const _0x483284=_0x5a3367[_0x45b371(0x15a)]()[0x0],_0x4bcf30=_0x5a3367['getSheetBySheetId'](_0x483284);if(!_0x4bcf30)return;this[_0x45b371(0x234)](_0x4bcf30,!0x0),await this[_0x45b371(0x28b)][_0x45b371(0xe2)](_0x4e92e0['id'],{'unitId':_0x5a3367[_0x45b371(0x1e3)](),'subUnitId':_0x483284});return;}((_0x4dd616=_0x5a3367[_0x45b371(0x1f3)]())==null?void 0x0:_0x4dd616['getSheetId']())!==_0x139e4d&&await this['_commandService'][_0x45b371(0xe2)](_0x4e92e0['id'],{'unitId':_0x5a3367[_0x45b371(0x1e3)](),'subUnitId':_0x139e4d});}};ie=pi([G(0x0,Ut),G(0x1,_0x3f92a0),G(0x2,_0x57c15d),G(0x3,_0x889d0a(_0x46bee4)),G(0x4,_0xb805c3(_0x34ab18))],ie);var Ci=Object[_0x7ad4b3(0x2af)],Ei=(_0x5b8e43,_0x23184e,_0x52ba79,_0x454430)=>{const _0x132724=_0x7ad4b3;for(var _0x366c62=_0x454430>0x1?void 0x0:_0x454430?Ci(_0x23184e,_0x52ba79):_0x23184e,_0x3c012e=_0x5b8e43[_0x132724(0xde)]-0x1,_0x16ff85;_0x3c012e>=0x0;_0x3c012e--)(_0x16ff85=_0x5b8e43[_0x3c012e])&&(_0x366c62=_0x16ff85(_0x366c62)||_0x366c62);return _0x366c62;},Je=(_0x4b01dd,_0x5a072d)=>(_0x22be2b,_0x3a913d)=>_0x5a072d(_0x22be2b,_0x3a913d,_0x4b01dd);let Ne=class extends _0x2e5b84{constructor(_0x40cf3f,_0x52bc19){const _0x2471be=_0x7ad4b3;super(),this['_docClipboardService']=_0x40cf3f,this[_0x2471be(0xd8)]=_0x52bc19,this[_0x2471be(0x260)]();}[_0x7ad4b3(0x260)](){const _0x447f8f=_0x7ad4b3,_0x78b4b=this;this[_0x447f8f(0x103)](this[_0x447f8f(0xe6)][_0x447f8f(0x28e)]({'onBeforePasteImage':async _0x45e221=>{const _0x3c1dbe=_0x447f8f,_0x38f04a=await _0x78b4b[_0x3c1dbe(0xd8)][_0x3c1dbe(0x249)](_0x45e221);return _0x38f04a?{'source':_0x38f04a['source'],'imageSourceType':_0x38f04a['imageSourceType']}:null;}}));}};Ne=Ei([Je(0x0,_0x2e9cf3),Je(0x1,_0x3ca52e)],Ne);const Ze=['purple.300',_0x7ad4b3(0x174),_0x7ad4b3(0x171),_0x7ad4b3(0x2a0),_0x7ad4b3(0x1d5),'yellow.400'];class He extends _0x8a3bb5{constructor(){const _0x14ee64=_0x7ad4b3;super(...arguments),_(this,_0x14ee64(0xb6),new Map()),_(this,'_colorIndex',0x0);}[_0x7ad4b3(0x22d)](_0x5c2672){const _0x17d1fb=_0x7ad4b3;if(this[_0x17d1fb(0xb6)][_0x17d1fb(0xe1)](_0x5c2672))return this[_0x17d1fb(0xb6)][_0x17d1fb(0x19f)](_0x5c2672);const _0x44a81e=Ze[this[_0x17d1fb(0x122)]];return this[_0x17d1fb(0x122)]=(this[_0x17d1fb(0x122)]+0x1)%Ze[_0x17d1fb(0xde)],this[_0x17d1fb(0xb6)]['set'](_0x5c2672,_0x44a81e),_0x44a81e;}}function Mt(_0xc79734){const _0x34a60d=_0x7ad4b3;let _0x1503d5='';for(const _0x360eb1 of _0xc79734){const {startOffset:_0x8a7285,endOffset:_0x12b1ba,isActive:_0x2c7d22,rangeType:_0x9cdff5,segmentId:_0x344b3e,segmentPage:_0x1c7406}=_0x360eb1;_0x1503d5[_0x34a60d(0xde)]&&(_0x1503d5+=','),_0x1503d5+=_0x8a7285+':'+_0x12b1ba+':'+(_0x2c7d22?'1':'0')+':'+_0x9cdff5+':'+_0x344b3e+':'+_0x1c7406;}return _0x1503d5;}function Oi(_0x17c3cc){const _0x3f59ba=_0x7ad4b3,_0xf5605c=_0x17c3cc[_0x3f59ba(0x1ac)](','),_0x1139ec=[];for(const _0x23d309 of _0xf5605c){const [_0x34b56c,_0x38b614,_0x11e248,_0x1dfe92,_0x5d918a,_0x27281c]=_0x23d309[_0x3f59ba(0x1ac)](':');_0x1139ec[_0x3f59ba(0x290)]({'startOffset':Number(_0x34b56c),'endOffset':Number(_0x38b614),'collapsed':_0x34b56c===_0x38b614,'isActive':_0x11e248==='1','rangeType':_0x1dfe92===_0x3b2fce[_0x3f59ba(0x132)]?_0x3b2fce['TEXT']:_0x3b2fce[_0x3f59ba(0xc0)],'segmentId':typeof _0x5d918a==_0x3f59ba(0x2ba)?String(_0x5d918a):'','segmentPage':Number(_0x27281c!=null?_0x27281c:-0x1)});}return _0x1139ec[_0x3f59ba(0x114)](_0x34c107=>_0x34c107[_0x3f59ba(0x189)])||(_0x1139ec[0x0][_0x3f59ba(0x189)]=!0x0),_0x1139ec;}class Fe extends _0x2e5b84{constructor(){const _0x476ee1=_0x7ad4b3;super(...arguments),_(this,'_collabCursorState$',new _0x498721(null)),_(this,_0x476ee1(0x137),this['_collabCursorState$'][_0x476ee1(0x27a)]());}[_0x7ad4b3(0x1e8)](_0x1ca9c1){const {unitID:_0x3f4dfb,memberID:_0x8dfad4,textRanges:_0xb016c}=_0x1ca9c1,_0x4f3762=Mt(_0xb016c);if(_0x4f3762==='')return;const _0x1e0463={'unitID':_0x3f4dfb,'memberID':_0x8dfad4,'selection':_0x4f3762};this['_collabCursorState$']['next'](_0x1e0463);}}var bi=Object[_0x7ad4b3(0x2af)],Ti=(_0x272b5d,_0x4e7f8c,_0x11ab40,_0x1b1bf6)=>{const _0x121f3f=_0x7ad4b3;for(var _0x1cf45c=_0x1b1bf6>0x1?void 0x0:_0x1b1bf6?bi(_0x4e7f8c,_0x11ab40):_0x4e7f8c,_0x4f8721=_0x272b5d[_0x121f3f(0xde)]-0x1,_0x495d08;_0x4f8721>=0x0;_0x4f8721--)(_0x495d08=_0x272b5d[_0x4f8721])&&(_0x1cf45c=_0x495d08(_0x1cf45c)||_0x1cf45c);return _0x1cf45c;},P=(_0x597425,_0x381874)=>(_0x38e4db,_0x5614a5)=>_0x381874(_0x38e4db,_0x5614a5,_0x597425);const Ri=0x12c,Di=0x64;let Ue=class extends _0x2e5b84{constructor(_0x5e3fbf,_0x404b1a,_0x545d50,_0x58f304,_0x3c6759,_0x5d0a3d,_0x1a9f95,_0x50e905,_0x245a8){const _0x2e89f6=_0x7ad4b3;super(),_(this,_0x2e89f6(0x187),!0x1),_(this,_0x2e89f6(0x260),!0x1),_(this,_0x2e89f6(0x24c),new _0x498721(new Map())),_(this,_0x2e89f6(0x1f5),this[_0x2e89f6(0x24c)][_0x2e89f6(0x27a)]()),_(this,_0x2e89f6(0x250),new _0x498721([])),_(this,_0x2e89f6(0x147),this[_0x2e89f6(0x250)][_0x2e89f6(0x252)](_0x30bbb2(Ri))),_(this,'_updateLocalCursor',_0x3b690c(_0x39e644=>{const _0x2b24b7=_0x2e89f6,_0x3655a5={'eventID':_0x2d2798['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x2b24b7(0x105)](),'selection':Mt(_0x39e644)}};this[_0x2b24b7(0x1e4)][_0x2b24b7(0xdc)](_0x3655a5,this[_0x2b24b7(0x1c1)]);},Di)),(this[_0x2e89f6(0x1c1)]=_0x5e3fbf,this[_0x2e89f6(0x1e4)]=_0x404b1a,this[_0x2e89f6(0x1e5)]=_0x545d50,this[_0x2e89f6(0x107)]=_0x58f304,this[_0x2e89f6(0x203)]=_0x3c6759,this['_syncEditingCollabCursorService']=_0x5d0a3d,this[_0x2e89f6(0x100)]=_0x1a9f95,this[_0x2e89f6(0x22c)]=_0x50e905,this[_0x2e89f6(0x28b)]=_0x245a8);}get[_0x7ad4b3(0x266)](){const _0x4992e0=_0x7ad4b3;return this['_cursorInfo$'][_0x4992e0(0x176)]();}get[_0x7ad4b3(0xe3)](){return this['_roomMembers$']['getValue']();}['dispose'](){const _0xb1ae71=_0x7ad4b3;super[_0xb1ae71(0x23d)](),this[_0xb1ae71(0x24c)][_0xb1ae71(0x1eb)](new Map()),this['_cursorInfo$'][_0xb1ae71(0x228)](),this[_0xb1ae71(0x250)]['next']([]),this[_0xb1ae71(0x250)][_0xb1ae71(0x228)]();}[_0x7ad4b3(0x283)](){const _0x944b9c=_0x7ad4b3;this[_0x944b9c(0x260)]||(this[_0x944b9c(0x260)]=!0x0,this[_0x944b9c(0x1e4)]['sessionStatus$'][_0x944b9c(0x252)](_0x437630(this['dispose$']))['subscribe'](_0x259604=>{const _0x550f4b=_0x944b9c;_0x259604===_0x1e9ca2['ONLINE']?this[_0x550f4b(0x220)]():this[_0x550f4b(0x1cd)]();}),this[_0x944b9c(0x1e4)][_0x944b9c(0x29e)][_0x944b9c(0x252)](_0x437630(this[_0x944b9c(0x1f9)]))[_0x944b9c(0x156)](_0x6b650e=>{const _0x1c9271=_0x944b9c,_0x90dcaa=_0x6b650e[_0x1c9271(0x281)];_0x90dcaa===_0x2d2798[_0x1c9271(0x204)]&&this[_0x1c9271(0x1f0)](_0x6b650e),_0x90dcaa===_0x2d2798[_0x1c9271(0xc9)]&&this[_0x1c9271(0xfe)](_0x6b650e);}),this['disposeWithMe'](this[_0x944b9c(0x28b)][_0x944b9c(0x18d)](_0x124743=>{const _0x421b15=_0x944b9c,_0x674e05=_0x124743[_0x421b15(0x1da)];_0x674e05!=null&&this[_0x421b15(0x187)]&&_0x124743['id']===_0x5d8bc9['id']&&_0x674e05[_0x421b15(0x2a8)]===this[_0x421b15(0x1c1)]&&_0x674e05[_0x421b15(0x29c)]===!0x1&&_0x674e05[_0x421b15(0x166)][_0x421b15(0xde)]>0x0&&this[_0x421b15(0x201)](_0x674e05[_0x421b15(0x166)]);})),this[_0x944b9c(0x10e)][_0x944b9c(0x137)]['pipe'](_0x437630(this[_0x944b9c(0x1f9)]))['subscribe'](_0x394cb3=>{const _0x348bbd=_0x944b9c;if((_0x394cb3==null?void 0x0:_0x394cb3['unitID'])!==this['unitID'])return;const _0x4d6188={'eventID':_0x2d2798[_0x348bbd(0x204)],'data':_0x394cb3};this[_0x348bbd(0x1f0)](_0x4d6188);}),this[_0x944b9c(0x103)](this['_commandService'][_0x944b9c(0x18d)](_0x14c859=>{const _0x5ba085=_0x944b9c;if(_0x14c859[_0x5ba085(0x1da)]==null)return;const _0xf85f77=_0x14c859[_0x5ba085(0x1da)];if(_0x14c859['id']!==_0x3677fc['id']||_0xf85f77[_0x5ba085(0x2a8)]!==this[_0x5ba085(0x1c1)])return;const _0x42bf86={'id':_0x5ba085(0x272),'params':_0xf85f77},_0x357577=this[_0x5ba085(0x266)];for(const [_0x367edf,_0x33647b]of _0x357577){const _0x591b31={'id':_0x5ba085(0x272),'params':{'unitId':this[_0x5ba085(0x1c1)],'actions':null,'textRanges':_0x33647b[_0x5ba085(0x166)]}},_0x4e5153=this[_0x5ba085(0x100)]['transformMutation'](_0x42bf86,_0x591b31,!0x1);if(_0x5f28a4(_0x4e5153))throw _0x4e5153['error'];_0x357577[_0x5ba085(0x1e6)](_0x367edf,{..._0x33647b,'ranges':_0x4e5153[_0x5ba085(0x26b)]['params'][_0x5ba085(0x233)]});}queueMicrotask(()=>{const _0x30f21a=_0x5ba085;this[_0x30f21a(0x24c)]['next'](_0x357577);});})));}[_0x7ad4b3(0x1f0)](_0x9f3e8e){const _0x5367c7=_0x7ad4b3;var _0x1b17a9,_0x3f4ec4;const {memberID:_0x5c23bd,selection:_0x5ead44}=_0x9f3e8e[_0x5367c7(0x1e7)],_0x280e02=Oi(_0x5ead44),_0x5a0790=(_0x3f4ec4=(_0x1b17a9=this[_0x5367c7(0x203)][_0x5367c7(0xe5)](this[_0x5367c7(0x1c1)],_0x5c23bd))==null?void 0x0:_0x1b17a9[_0x5367c7(0x23e)])!=null?_0x3f4ec4:_0x5367c7(0x2a5),_0x4cea36={'color':this['_colorAssignService'][_0x5367c7(0x22d)](_0x5c23bd),'name':_0x5a0790,'ranges':_0x280e02},_0x27dbe6=this[_0x5367c7(0x266)];_0x27dbe6[_0x5367c7(0x1e6)](_0x5c23bd,_0x4cea36),this[_0x5367c7(0x24c)][_0x5367c7(0x1eb)](_0x27dbe6);}[_0x7ad4b3(0xfe)](_0x4e22ca){const _0x1a5826=_0x7ad4b3,{memberID:_0x13e7c2}=_0x4e22ca[_0x1a5826(0x1e7)],_0x11dbc8=this[_0x1a5826(0x266)];_0x11dbc8[_0x1a5826(0x2bb)](_0x13e7c2),this[_0x1a5826(0x24c)]['next'](_0x11dbc8);}[_0x7ad4b3(0x220)](){const _0x5b30da=_0x7ad4b3;var _0x246386;if(this[_0x5b30da(0x187)]=!0x0,((_0x246386=this[_0x5b30da(0x22c)][_0x5b30da(0x279)]())==null?void 0x0:_0x246386['getUnitId']())!==this['unitID'])return;const _0xb6e30e=this[_0x5b30da(0x1e5)]['get'](_0x421829)['getDocRanges']();Array[_0x5b30da(0x17e)](_0xb6e30e)&&_0xb6e30e[_0x5b30da(0xde)]>0x0&&this[_0x5b30da(0x201)](_0xb6e30e);}[_0x7ad4b3(0x1cd)](){const _0x132927=_0x7ad4b3;this[_0x132927(0x187)]=!0x1;}};Ue=Ti([P(0x2,_0x889d0a(_0x550574)),P(0x3,_0x889d0a(He)),P(0x4,_0x889d0a(_0x480879)),P(0x5,_0x889d0a(Fe)),P(0x6,_0x4a217b),P(0x7,_0x12519b),P(0x8,_0x57c15d)],Ue);var Ni=Object[_0x7ad4b3(0x2af)],Ui=(_0x3671fe,_0x20a23b,_0x16bd97,_0x397dfb)=>{for(var _0x296f40=_0x397dfb>0x1?void 0x0:_0x397dfb?Ni(_0x20a23b,_0x16bd97):_0x20a23b,_0x5a9602=_0x3671fe['length']-0x1,_0x41e915;_0x5a9602>=0x0;_0x5a9602--)(_0x41e915=_0x3671fe[_0x5a9602])&&(_0x296f40=_0x41e915(_0x296f40)||_0x296f40);return _0x296f40;},x=(_0x3a5833,_0x5ed516)=>(_0x4cf294,_0x84517a)=>_0x5ed516(_0x4cf294,_0x84517a,_0x3a5833);const Mi=0x12c,Li=0x64,Pi=()=>{let _0x30d2db=[],_0x459c4a=!0x1;return _0x2cfff6=>{_0x30d2db['push'](_0x2cfff6),_0x459c4a||(_0x459c4a=!0x0,setTimeout(()=>{_0x30d2db['forEach'](_0x257d28=>_0x257d28()),_0x30d2db=[],_0x459c4a=!0x1;}));};};let Me=class extends _0x2e5b84{constructor(_0x1fc9d3,_0x2317b5,_0x4e5c21,_0x2fde8e,_0x42decd,_0x231cdb,_0x24041a,_0x3854ed){const _0x4a6503=_0x7ad4b3;super(),_(this,_0x4a6503(0x187),!0x1),_(this,_0x4a6503(0x260),!0x1),_(this,_0x4a6503(0x24c),new _0x498721(new Map())),_(this,_0x4a6503(0x1f5),this[_0x4a6503(0x24c)][_0x4a6503(0x27a)]()),_(this,_0x4a6503(0x250),new _0x498721([])),_(this,_0x4a6503(0x147),this[_0x4a6503(0x250)][_0x4a6503(0x252)](_0x30bbb2(Mi))),_(this,_0x4a6503(0x201),_0x3b690c((_0x33643e,_0x1fd2ef)=>{const _0x41ad8b=_0x4a6503,_0x59c92e={'eventID':_0x2d2798[_0x41ad8b(0x204)],'data':{'unitID':this[_0x41ad8b(0x1c1)],'memberID':this[_0x41ad8b(0x1e4)][_0x41ad8b(0x105)](),'selection':_0x1acd3f(_0x33643e,_0x1fd2ef[_0x41ad8b(0xbb)])}};this['_session'][_0x41ad8b(0xdc)](_0x59c92e,this[_0x41ad8b(0x1c1)]);},Li)),(this[_0x4a6503(0x1c1)]=_0x1fc9d3,this[_0x4a6503(0x1e4)]=_0x2317b5,this['_injector']=_0x4e5c21,this[_0x4a6503(0x107)]=_0x2fde8e,this[_0x4a6503(0x203)]=_0x42decd,this['_univerInstanceService']=_0x231cdb,this[_0x4a6503(0x28b)]=_0x24041a,this['_refRangeService']=_0x3854ed);}get['cursorInfo'](){return this['_cursorInfo$']['getValue']();}get['roomMembers'](){const _0x24910a=_0x7ad4b3;return this['_roomMembers$'][_0x24910a(0x176)]();}['dispose'](){const _0x2409bd=_0x7ad4b3;super['dispose'](),this[_0x2409bd(0x24c)][_0x2409bd(0x1eb)](new Map()),this['_cursorInfo$'][_0x2409bd(0x228)](),this[_0x2409bd(0x250)]['next']([]),this[_0x2409bd(0x250)][_0x2409bd(0x228)]();}['init'](){const _0x4c9a6c=_0x7ad4b3;this[_0x4c9a6c(0x260)]||(this['_init']=!0x0,this['_session'][_0x4c9a6c(0xb7)]['pipe'](_0x437630(this['dispose$']))['subscribe'](_0x5241e2=>{const _0x2be9c9=_0x4c9a6c;_0x5241e2===_0x1e9ca2[_0x2be9c9(0x1d1)]?this['_toggleOnline']():this[_0x2be9c9(0x1cd)]();}),this['_session']['event$'][_0x4c9a6c(0x252)](_0x437630(this[_0x4c9a6c(0x1f9)]))[_0x4c9a6c(0x156)](_0xff10e7=>{const _0x61979f=_0x4c9a6c,_0xc6c2c9=_0xff10e7[_0x61979f(0x281)];_0xc6c2c9===_0x2d2798['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0xff10e7),_0xc6c2c9===_0x2d2798[_0x61979f(0xc9)]&&this[_0x61979f(0xfe)](_0xff10e7);}),this[_0x4c9a6c(0x127)](),this[_0x4c9a6c(0x103)](this[_0x4c9a6c(0x28b)][_0x4c9a6c(0x18d)](_0x5eb4d4=>{const _0x1ad101=_0x4c9a6c;if(this[_0x1ad101(0x187)]&&_0x5eb4d4['id']===_0x13c207['id']&&_0x5eb4d4[_0x1ad101(0x1da)][_0x1ad101(0x2a8)]===this[_0x1ad101(0x1c1)]){const _0x2f64a5=_0x5eb4d4[_0x1ad101(0x1da)];this[_0x1ad101(0x201)](_0x2f64a5[_0x1ad101(0x1a6)],_0x2f64a5['selections'][0x0]);}})));}[_0x7ad4b3(0x1f0)](_0x3caa9b){const _0x4749fe=_0x7ad4b3;var _0xde7f6c,_0x48dfe7;const {memberID:_0xc20900,selection:_0x279944}=_0x3caa9b[_0x4749fe(0x1e7)],{sheetName:_0xd7d6f5,range:_0x99217d}=_0x352760(_0x279944),_0x7c85f1={'name':(_0x48dfe7=(_0xde7f6c=this[_0x4749fe(0x203)][_0x4749fe(0xe5)](this[_0x4749fe(0x1c1)],_0xc20900))==null?void 0x0:_0xde7f6c[_0x4749fe(0x23e)])!=null?_0x48dfe7:'Unknown\x20user','range':this[_0x4749fe(0x14a)](_0xd7d6f5,_0x99217d),'sheetID':_0xd7d6f5,'color':this[_0x4749fe(0x107)][_0x4749fe(0x22d)](_0xc20900),'selection':_0x279944},_0x5107bf=this[_0x4749fe(0x266)];_0x5107bf[_0x4749fe(0x1e6)](_0xc20900,_0x7c85f1),this[_0x4749fe(0x24c)][_0x4749fe(0x1eb)](_0x5107bf);}[_0x7ad4b3(0xfe)](_0x2ff7bb){const _0x4dcc5f=_0x7ad4b3,{memberID:_0x5a0f6c}=_0x2ff7bb[_0x4dcc5f(0x1e7)],_0x9f8aa5=this[_0x4dcc5f(0x266)];_0x9f8aa5[_0x4dcc5f(0x2bb)](_0x5a0f6c),this['_cursorInfo$']['next'](_0x9f8aa5);}[_0x7ad4b3(0x14a)](_0x57aabd,_0xcfafea){const _0x5ab101=_0x7ad4b3;var _0x4ffbd9,_0x2b91af;const _0x22581e=(_0x2b91af=(_0x4ffbd9=this[_0x5ab101(0x22c)]['getUniverSheetInstance'](this[_0x5ab101(0x1c1)]))==null?void 0x0:_0x4ffbd9[_0x5ab101(0x178)](_0x57aabd))==null?void 0x0:_0x2b91af[_0x5ab101(0xf0)]();return(_0x22581e==null?void 0x0:_0x22581e[_0x5ab101(0x275)](_0x3da05a=>_0x2883e[_0x5ab101(0x200)](_0x3da05a,_0xcfafea)))||_0xcfafea;}[_0x7ad4b3(0x127)](){const _0x56afd4=_0x7ad4b3,_0x3b630d=new _0x5b701d(),_0x2fcad2=Pi(),_0x5b61d9=()=>{const _0x335edf=_0x26ec;_0x3b630d[_0x335edf(0x23d)]();const _0x9395c8=(_0x26f9c5,_0x53094e,_0x384cff,_0xb92750)=>{const _0xfa4779=_0x335edf;let _0x4795b4=[];switch(_0x26f9c5['id']){case _0x5e2d81[_0xfa4779(0x1d6)]:{_0x4795b4=_0x3ecbe2(_0x26f9c5,_0xb92750);break;}case _0x5e2d81[_0xfa4779(0xb1)]:{_0x4795b4=_0x2c8393(_0x26f9c5,_0xb92750);break;}case _0x5e2d81[_0xfa4779(0x1a1)]:{_0x4795b4=_0x5d4f63(_0x26f9c5,_0xb92750);break;}case _0x5e2d81[_0xfa4779(0x165)]:{_0x4795b4=_0x576f78(_0x26f9c5,_0xb92750);break;}case _0x5e2d81[_0xfa4779(0x1bb)]:{_0x4795b4=_0x3da955(_0x26f9c5,_0xb92750);break;}case _0x5e2d81['InsertRowCommandId']:{_0x4795b4=_0xc39cea(_0x26f9c5,_0xb92750);break;}case _0x5e2d81[_0xfa4779(0x172)]:{_0x4795b4=_0x10c647(_0x26f9c5,_0xb92750);break;}case _0x5e2d81[_0xfa4779(0x2a2)]:{_0x4795b4=_0x2aefec(_0x26f9c5,_0xb92750);break;}case _0x5e2d81[_0xfa4779(0x14c)]:{_0x4795b4=_0x4d40c1(_0x26f9c5,_0xb92750);break;}}const _0x392629=_0x49f3fb(_0x4795b4,_0xb92750),_0x19ae86=this['cursorInfo'][_0xfa4779(0x19f)](_0x53094e);if(_0x19ae86&&_0x392629){const _0x3f5faf={..._0x19ae86,'range':_0x392629};this['cursorInfo'][_0xfa4779(0x1e6)](_0x53094e,_0x3f5faf),_0x2fcad2(()=>{const _0x2f6880=_0xfa4779,_0x2f35f2=this[_0x2f6880(0x24b)][_0x2f6880(0xbe)](_0x392629,_0x152679=>(_0x2f35f2[_0x2f6880(0x23d)](),_0x9395c8(_0x152679,_0x53094e,_0x384cff,_0x392629)));_0x3b630d[_0x2f6880(0xb2)](_0x2f35f2);});}return{'redos':[],'undos':[]};};this[_0x335edf(0x266)][_0x335edf(0x1a9)]((_0x18d8b9,_0x3a09ab)=>{const _0x122c8b=_0x335edf,{range:_0x1c6956,sheetID:_0x29cbfe}=_0x18d8b9,_0x59f3d1=this['_refRangeService'][_0x122c8b(0xbe)](_0x1c6956,_0x3bc5b2=>(_0x59f3d1[_0x122c8b(0x23d)](),_0x9395c8(_0x3bc5b2,_0x3a09ab,_0x29cbfe,_0x1c6956)));_0x3b630d[_0x122c8b(0xb2)](_0x59f3d1);});};this[_0x56afd4(0x103)](_0x36a9dd(this['_cursorInfo$']['subscribe'](()=>{_0x5b61d9();})));}[_0x7ad4b3(0x220)](){const _0x135bd3=_0x7ad4b3;var _0x38edd5,_0x5586e;if(this['_online']=!0x0,((_0x38edd5=this[_0x135bd3(0x22c)]['getFocusedUnit']())==null?void 0x0:_0x38edd5[_0x135bd3(0x1e3)]())!==this[_0x135bd3(0x1c1)])return;const _0x15c307=(_0x5586e=this[_0x135bd3(0x1e5)][_0x135bd3(0x19f)](_0x2c6afd)[_0x135bd3(0x151)]())==null?void 0x0:_0x5586e[0x0],_0x1cece9=this[_0x135bd3(0x22c)][_0x135bd3(0x259)](_0x207290['UNIVER_SHEET'])[_0x135bd3(0x1f3)]();_0x15c307&&_0x1cece9&&this[_0x135bd3(0x201)](_0x1cece9[_0x135bd3(0x222)](),_0x15c307);}[_0x7ad4b3(0x1cd)](){const _0x2bbfe5=_0x7ad4b3;this[_0x2bbfe5(0x187)]=!0x1;}};Me=Ui([x(0x2,_0x889d0a(_0x550574)),x(0x3,_0x889d0a(He)),x(0x4,_0x889d0a(_0x480879)),x(0x5,_0x12519b),x(0x6,_0x57c15d),x(0x7,_0x889d0a(_0x2e2d21))],Me);var wi=Object[_0x7ad4b3(0x2af)],Ai=(_0x1fd821,_0xc88798,_0x430ae9,_0x3f0659)=>{const _0x9302d8=_0x7ad4b3;for(var _0x5f159a=_0x3f0659>0x1?void 0x0:_0x3f0659?wi(_0xc88798,_0x430ae9):_0xc88798,_0x42a742=_0x1fd821[_0x9302d8(0xde)]-0x1,_0xa9c5bd;_0x42a742>=0x0;_0x42a742--)(_0xa9c5bd=_0x1fd821[_0x42a742])&&(_0x5f159a=_0xa9c5bd(_0x5f159a)||_0x5f159a);return _0x5f159a;},me=(_0x2dfb77,_0x48e620)=>(_0x12d501,_0x12c6f0)=>_0x48e620(_0x12d501,_0x12c6f0,_0x2dfb77);let F=class extends _0x2e5b84{constructor(_0x18ddd0,_0x1627bd,_0x4fdb4e){const _0x239aac=_0x7ad4b3;super(),_(this,_0x239aac(0x20b),new Map()),_(this,_0x239aac(0x11f),new _0x43960d()),(this[_0x239aac(0x22c)]=_0x18ddd0,this[_0x239aac(0x1e5)]=_0x1627bd,this[_0x239aac(0x217)]=_0x4fdb4e,this[_0x239aac(0x260)]());}[_0x7ad4b3(0x23d)](){const _0x21a89b=_0x7ad4b3;super['dispose'](),this[_0x21a89b(0x11f)]['complete'](),this[_0x21a89b(0x20b)][_0x21a89b(0x1a9)](_0x10f465=>_0x10f465['dispose']());}[_0x7ad4b3(0x1a7)](_0x50adc3){const _0x39efad=_0x7ad4b3;return this[_0x39efad(0x20b)][_0x39efad(0xe1)](_0x50adc3)?this[_0x39efad(0x20b)][_0x39efad(0x19f)](_0x50adc3)[_0x39efad(0x1f5)]:this[_0x39efad(0x11f)][_0x39efad(0x252)](_0x25942c(_0x265c36=>_0x265c36[_0x39efad(0x1c1)]===_0x50adc3),_0x48d4a9(_0x416097=>_0x416097[_0x39efad(0x1f5)]));}['_init'](){const _0x13af59=_0x7ad4b3;this[_0x13af59(0x22c)][_0x13af59(0xd9)](_0x207290['UNIVER_SHEET'])[_0x13af59(0x252)](_0x437630(this[_0x13af59(0x1f9)]))[_0x13af59(0x156)](async _0x13fb96=>{const _0x29136a=_0x13af59,_0x71d4a9=_0x13fb96[_0x29136a(0x1e3)](),_0xf2a241=await this[_0x29136a(0x20c)](_0x71d4a9);this[_0x29136a(0x11f)][_0x29136a(0x1eb)](_0xf2a241),this['_entities'][_0x29136a(0x1e6)](_0x71d4a9,_0xf2a241);}),this['_univerInstanceService'][_0x13af59(0xd9)](_0x207290['UNIVER_DOC'])['pipe'](_0x437630(this[_0x13af59(0x1f9)]))[_0x13af59(0x252)](_0x25942c(_0x19216=>!_0x19216['getUnitId']()[_0x13af59(0x198)]('__')))[_0x13af59(0x156)](async _0x2bc5c9=>{const _0x21814a=_0x13af59,_0x53dac0=_0x2bc5c9['getUnitId'](),_0x5cd854=await this[_0x21814a(0x10b)](_0x53dac0);this[_0x21814a(0x11f)][_0x21814a(0x1eb)](_0x5cd854),this[_0x21814a(0x20b)]['set'](_0x53dac0,_0x5cd854);}),_0x486b68(this['_univerInstanceService'][_0x13af59(0xcc)](_0x207290[_0x13af59(0x1cb)]),this[_0x13af59(0x22c)]['getTypeOfUnitDisposed$'](_0x207290[_0x13af59(0x22e)]))[_0x13af59(0x252)](_0x437630(this[_0x13af59(0x1f9)]))['subscribe'](_0x28ccaa=>{const _0x52bf85=_0x13af59,_0x70d21e=_0x28ccaa[_0x52bf85(0x1e3)](),_0x4d5aee=this['_entities'][_0x52bf85(0x19f)](_0x70d21e);_0x4d5aee&&(_0x4d5aee['dispose'](),this['_entities'][_0x52bf85(0x2bb)](_0x70d21e));});}async[_0x7ad4b3(0x20c)](_0x214eb4){const _0x517ab0=_0x7ad4b3,_0x499d67=await this['_collabSessionService'][_0x517ab0(0x16e)](_0x214eb4),_0x405f03=this[_0x517ab0(0x1e5)]['createInstance'](Me,_0x214eb4,_0x499d67);return _0x405f03[_0x517ab0(0x283)](),_0x405f03;}async['_startDocCollabCursor'](_0x2d90f7){const _0x570b68=_0x7ad4b3,_0x173c3e=await this[_0x570b68(0x217)][_0x570b68(0x16e)](_0x2d90f7),_0x328f47=this[_0x570b68(0x1e5)][_0x570b68(0x25f)](Ue,_0x2d90f7,_0x173c3e);return _0x328f47[_0x570b68(0x283)](),_0x328f47;}};F=Ai([me(0x0,_0x12519b),me(0x1,_0x889d0a(_0x550574)),me(0x2,_0x889d0a(_0x365177))],F);const J=0x14,Qe=0xc8,Ie=0x4,yi=0x5;function $i(_0x51c3d5,_0x1b16bd){const _0xc8fc33=_0x7ad4b3;let {radius:_0x38a95f,width:_0x371d3d,height:_0x3a6285}=_0x1b16bd;_0x38a95f=_0x38a95f!=null?_0x38a95f:0x0,_0x371d3d=_0x371d3d!=null?_0x371d3d:0x1e,_0x3a6285=_0x3a6285!=null?_0x3a6285:0x1e;let _0x16943e=0x0,_0x8fb057=0x0,_0x3141a6=0x0;_0x16943e=_0x8fb057=_0x3141a6=Math['min'](_0x38a95f,_0x371d3d/0x2,_0x3a6285/0x2),_0x51c3d5[_0xc8fc33(0x168)](),_0x51c3d5['moveTo'](_0x16943e,0x0),_0x51c3d5[_0xc8fc33(0x1f8)](_0x371d3d-_0x8fb057,0x0),_0x51c3d5[_0xc8fc33(0x21d)](_0x371d3d-_0x8fb057,_0x8fb057,_0x8fb057,Math['PI']*0x3/0x2,0x0,!0x1),_0x51c3d5[_0xc8fc33(0x1f8)](_0x371d3d,_0x3a6285-_0x3141a6),_0x51c3d5[_0xc8fc33(0x21d)](_0x371d3d-_0x3141a6,_0x3a6285-_0x3141a6,_0x3141a6,0x0,Math['PI']/0x2,!0x1),_0x51c3d5['lineTo'](0x0,_0x3a6285),_0x51c3d5[_0xc8fc33(0x1f8)](0x0,_0x16943e),_0x51c3d5['arc'](_0x16943e,_0x16943e,_0x16943e,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x51c3d5[_0xc8fc33(0x19c)](),_0x1b16bd[_0xc8fc33(0x16d)]&&(_0x51c3d5[_0xc8fc33(0xd0)](),_0x51c3d5[_0xc8fc33(0x2b4)]=_0x1b16bd[_0xc8fc33(0x16d)],_0x1b16bd[_0xc8fc33(0x293)]==='evenodd'?_0x51c3d5['fill'](_0xc8fc33(0x2b9)):_0x51c3d5[_0xc8fc33(0x16d)](),_0x51c3d5[_0xc8fc33(0x247)]());}class ue extends _0x188272{constructor(_0x2b7e53,_0x8a6d88){const _0x296f33=_0x7ad4b3;super(_0x2b7e53,_0x8a6d88),_(this,_0x296f33(0x183)),_(this,_0x296f33(0x119)),(this[_0x296f33(0x183)]=_0x8a6d88==null?void 0x0:_0x8a6d88[_0x296f33(0x183)],this[_0x296f33(0x119)]=_0x8a6d88==null?void 0x0:_0x8a6d88[_0x296f33(0x119)]);}static[_0x7ad4b3(0x180)](_0x27fa69,_0x228879){const _0x119eb1=_0x7ad4b3,{text:_0x44dbfe,color:_0x20564d}=_0x228879;_0x27fa69[_0x119eb1(0xd0)](),_0x27fa69[_0x119eb1(0x16f)]=_0x119eb1(0xfd);const _0x5bc013=_0x27fa69[_0x119eb1(0x1dc)](_0x44dbfe)['width'],_0x2bf95c=Math[_0x119eb1(0x169)](_0x5bc013+0x2*Ie,Qe);$i(_0x27fa69,{'height':J,'radius':0x4,'width':_0x2bf95c,'fill':_0x20564d}),_0x27fa69[_0x119eb1(0x2b4)]=_0x119eb1(0x1c7);const _0x5187ae=Ie,_0x43ddf9=J-yi,_0x243139=Qe-0x2*Ie;if(_0x5bc013>_0x243139){let _0x2f1fd8='',_0x38a82b=0x0;for(const _0x2b70d2 of _0x44dbfe){const _0x53e597=_0x27fa69[_0x119eb1(0x1dc)](_0x2b70d2)[_0x119eb1(0x2b0)];if(_0x38a82b+_0x53e597<=_0x243139-_0x27fa69[_0x119eb1(0x1dc)](_0x119eb1(0x1b5))[_0x119eb1(0x2b0)])_0x2f1fd8+=_0x2b70d2,_0x38a82b+=_0x53e597;else{_0x2f1fd8+=_0x119eb1(0x1b5);break;}}_0x27fa69[_0x119eb1(0xda)](_0x2f1fd8,_0x5187ae,_0x43ddf9);}else _0x27fa69[_0x119eb1(0xda)](_0x44dbfe,_0x5187ae,_0x43ddf9);_0x27fa69[_0x119eb1(0x247)]();}[_0x7ad4b3(0x102)](_0x3d0074){const _0xf13ada=_0x7ad4b3;ue[_0xf13ada(0x180)](_0x3d0074,this);}}const ve=_0x7ad4b3(0xe9),xi=_0x7ad4b3(0x1ab),Bi='collab-rect-range-',K=0x6,ki=1.5,ge=0x4,Hi=1.5,Fi=_0x7ad4b3(0x218);class qe{constructor(_0x72c303,_0x5089d4,_0x19fdaf,_0x179c9e){const _0x4fdd87=_0x7ad4b3;_(this,_0x4fdd87(0x296),[]),_(this,_0x4fdd87(0x22a),null),_(this,'_textBubble',null),_(this,_0x4fdd87(0xc2),null),_(this,_0x4fdd87(0x1db),null),_(this,_0x4fdd87(0x2aa),null),(this[_0x4fdd87(0xd5)]=_0x72c303,this[_0x4fdd87(0x15c)]=_0x5089d4,this[_0x4fdd87(0x15e)]=_0x19fdaf,this[_0x4fdd87(0x162)]=_0x179c9e,this[_0x4fdd87(0x28c)]());}set[_0x7ad4b3(0x27b)](_0x45b0db){const _0x113936=_0x7ad4b3;_0x45b0db?(this['_anchorDot']&&this['_anchorDot'][_0x113936(0x23f)](),this['_textBubble']&&this[_0x113936(0x265)][_0x113936(0xfa)]()):(this[_0x113936(0xc2)]&&this[_0x113936(0xc2)][_0x113936(0xfa)](),this[_0x113936(0x265)]&&this[_0x113936(0x265)][_0x113936(0x23f)]());}[_0x7ad4b3(0x23d)](){const _0x1e95d1=_0x7ad4b3;for(const _0x173c61 of this[_0x1e95d1(0x296)])_0x173c61[_0x1e95d1(0x23d)]();this[_0x1e95d1(0x265)]&&this['_textBubble'][_0x1e95d1(0x23d)](),this[_0x1e95d1(0xc2)]&&this[_0x1e95d1(0xc2)][_0x1e95d1(0x23d)](),this[_0x1e95d1(0x22a)]&&this[_0x1e95d1(0x22a)][_0x1e95d1(0x23d)](),this['_eventUnsubscribe']&&this[_0x1e95d1(0x2aa)]();}[_0x7ad4b3(0x28c)](){const _0x2253a4=_0x7ad4b3;var _0x23dd37;const {_docSkeleton:_0x47a264,_document:_0x53b5fa}=this,{color:_0x471948,name:_0x20f82a,ranges:_0x2c0852}=this[_0x2253a4(0xd5)],_0x194b31=_0x53b5fa[_0x2253a4(0x240)](),{docsLeft:_0x155680,docsTop:_0x432e38}=_0x194b31,_0x3c48c1=new _0x2af382(_0x194b31,_0x47a264);for(const {startOffset:_0x3e42fa,endOffset:_0x598408,rangeType:_0x5ba152,segmentId:_0x4e4c4b,segmentPage:_0x1d1767,collapsed:_0x238394,isActive:_0x2a9671}of _0x2c0852){const _0xbc0c0e=_0x47a264[_0x2253a4(0x17a)](_0x3e42fa,!0x0,_0x4e4c4b,_0x1d1767);let _0x4f8196=_0x47a264[_0x2253a4(0x17a)](_0x598408,!0x0,_0x4e4c4b,_0x1d1767);if(_0x4f8196==null&&(_0x4f8196=_0x47a264['findNodePositionByCharIndex'](_0x598408-0x1,!0x1,_0x4e4c4b,_0x1d1767)),_0x2a9671){const {contentBoxPointGroup:_0x1321f3}=_0x3c48c1[_0x2253a4(0x1ad)](_0x4f8196,_0x4f8196);if(_0x1321f3[_0x2253a4(0xde)]===0x0)continue;this[_0x2253a4(0x18c)](_0x471948,_0x1321f3,_0x155680,_0x432e38,_0x20f82a),this[_0x2253a4(0x2aa)]=this[_0x2253a4(0x1dd)]();}if(_0xbc0c0e&&_0x4f8196){if(_0x5ba152===_0x3b2fce[_0x2253a4(0xc0)]){const _0x5f088=new _0x32d99b(_0x194b31,_0x47a264),{pointGroup:_0x290378}=(_0x23dd37=_0x5f088[_0x2253a4(0x1ad)](_0xbc0c0e,_0x4f8196))!=null?_0x23dd37:{};if(_0x290378==null||_0x290378[_0x2253a4(0xde)]===0x0)continue;this[_0x2253a4(0x213)](_0x471948,_0x290378,_0x155680,_0x432e38);}else{if(!_0x238394){const {borderBoxPointGroup:_0x31638a}=_0x3c48c1[_0x2253a4(0x1ad)](_0xbc0c0e,_0x4f8196);if(_0x31638a[_0x2253a4(0xde)]===0x0)continue;this[_0x2253a4(0xd1)](_0x471948,_0x31638a,_0x155680,_0x432e38);}}}}}[_0x7ad4b3(0x18c)](_0x2828e8,_0xf40d28,_0x3dfb18,_0x3c8105,_0x8baee5){const _0x189f91=_0x7ad4b3,_0x211ecb=this[_0x189f91(0x161)](_0xf40d28),{left:_0x493a65,top:_0x524858,height:_0x57ebdf}=_0x211ecb,_0x336358=this['_getScale'](),_0x4a5387=Hi/_0x336358,_0x491f99=new _0x1a57fc(ve+_0x37ad55(K),{'left':_0x493a65+_0x3dfb18-_0x4a5387,'top':_0x524858+_0x3c8105,'height':_0x57ebdf,'width':ki,'fill':_0x2828e8||_0xcf6f54(_0x2eadac[_0x189f91(0x294)],0x0),'strokeWidth':_0x4a5387,'stroke':Fi,'evented':!0x0});this[_0x189f91(0x22a)]=_0x491f99,this[_0x189f91(0x15c)][_0x189f91(0x1aa)](_0x491f99,_0x4a9cbd);const _0x2662e8=new _0x1a57fc(ve+_0x37ad55(K),{'left':_0x493a65+_0x3dfb18-_0x4a5387,'top':_0x524858+_0x3c8105-ge/0x2,'height':ge,'width':ge,'fill':_0x2828e8||_0xcf6f54(_0x2eadac[_0x189f91(0x294)],0x0),'strokeWidth':0x0,'stroke':_0x2828e8||_0xcf6f54(_0x2eadac[_0x189f91(0x294)],0x0),'evented':!0x1});this[_0x189f91(0xc2)]=_0x2662e8,this['_scene']['addObject'](_0x2662e8,_0x4a9cbd);const _0x5162e6=new ue(ve+_0x37ad55(K),{'left':_0x493a65+_0x3dfb18-_0x4a5387,'top':_0x524858+_0x3c8105-J,'text':_0x8baee5,'color':_0x2828e8});this[_0x189f91(0x265)]=_0x5162e6,this[_0x189f91(0x15c)][_0x189f91(0x1aa)](_0x5162e6,_0x4a9cbd),this[_0x189f91(0x27b)]=!0x1;}[_0x7ad4b3(0x1dd)](){const _0x3bff29=_0x7ad4b3,_0x5e8d1a=this[_0x3bff29(0x22a)][_0x3bff29(0x2a3)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x3efa67=this['_anchor'][_0x3bff29(0x13e)][_0x3bff29(0x284)](()=>{const _0x10f293=_0x3bff29;this['_hideTimer']&&clearTimeout(this[_0x10f293(0x1db)]),this[_0x10f293(0x1db)]=setTimeout(()=>{const _0x115a6b=_0x10f293;this[_0x115a6b(0x27b)]=!0x1;},0x7d0);});return()=>{const _0x1e2aff=_0x3bff29;_0x5e8d1a[_0x1e2aff(0x26c)](),_0x3efa67['unsubscribe']();};}[_0x7ad4b3(0xd1)](_0x2bdf49,_0x19453f,_0x2df03c,_0x1ac1e4){const _0x52c23c=_0x7ad4b3,_0x3a8e3e=new _0x23c81c(_0x2bdf49)[_0x52c23c(0x206)](0.2)[_0x52c23c(0x18f)](),_0x27a563=new _0x2bc643(xi+_0x37ad55(K),{'pointsGroup':_0x19453f,'fill':_0x3a8e3e||_0xcf6f54(_0x2eadac['black'],0.2),'left':_0x2df03c,'top':_0x1ac1e4,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x52c23c(0x296)][_0x52c23c(0x290)](_0x27a563),this['_scene']['addObject'](_0x27a563,_0x4a9cbd);}[_0x7ad4b3(0x213)](_0x1a4c0f,_0x1c1902,_0x37d804,_0x1738ff){const _0x454278=_0x7ad4b3,_0x381ab5=new _0x23c81c(_0x1a4c0f)[_0x454278(0x206)](0.2)[_0x454278(0x18f)](),_0x15cfbd=new _0x2bc643(Bi+_0x37ad55(K),{'pointsGroup':_0x1c1902,'fill':_0x381ab5||_0xcf6f54(_0x2eadac[_0x454278(0x294)],0.2),'left':_0x37d804,'top':_0x1738ff,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x454278(0x296)][_0x454278(0x290)](_0x15cfbd),this[_0x454278(0x15c)]['addObject'](_0x15cfbd,_0x4a9cbd);}[_0x7ad4b3(0x161)](_0x1b6a43){const _0xfb5ce9=_0x1b6a43[0x0],_0x2621e1=_0xfb5ce9[0x0],_0xf14ed=_0xfb5ce9[0x2],{x:_0x74b970,y:_0x20b272}=_0x2621e1,{x:_0x1580c6,y:_0x5cdacb}=_0xf14ed;return{'left':_0x74b970,'top':_0x20b272,'width':_0x1580c6-_0x74b970,'height':_0x5cdacb-_0x20b272};}[_0x7ad4b3(0x1b8)](){const _0x48774d=_0x7ad4b3,{scaleX:_0x6f351d,scaleY:_0x7eac8f}=this[_0x48774d(0x15c)][_0x48774d(0x19b)]();return Math['max'](_0x6f351d,_0x7eac8f);}}var Yi=Object[_0x7ad4b3(0x2af)],ji=(_0x905f6e,_0x5a07f3,_0x4730ee,_0x33f460)=>{const _0x300453=_0x7ad4b3;for(var _0x28ffa4=_0x33f460>0x1?void 0x0:_0x33f460?Yi(_0x5a07f3,_0x4730ee):_0x5a07f3,_0x3db17b=_0x905f6e[_0x300453(0xde)]-0x1,_0x3fe353;_0x3db17b>=0x0;_0x3db17b--)(_0x3fe353=_0x905f6e[_0x3db17b])&&(_0x28ffa4=_0x3fe353(_0x28ffa4)||_0x28ffa4);return _0x28ffa4;},ee=(_0x3494ee,_0x188aac)=>(_0x200396,_0x493148)=>_0x188aac(_0x200396,_0x493148,_0x3494ee);let Le=class extends _0x2e5b84{constructor(_0x56505d,_0xeb3b24,_0x3ddedf,_0x3a6343,_0x40b779){const _0x3f94f6=_0x7ad4b3;super(),_(this,'_cursorShapes',[]),_(this,_0x3f94f6(0x1c0),[]),(this[_0x3f94f6(0x229)]=_0x56505d,this[_0x3f94f6(0x2a4)]=_0xeb3b24,this[_0x3f94f6(0xae)]=_0x3ddedf,this[_0x3f94f6(0x28b)]=_0x3a6343,this[_0x3f94f6(0x1de)]=_0x40b779,this[_0x3f94f6(0x260)]());}[_0x7ad4b3(0x260)](){const _0x426d2e=_0x7ad4b3,_0x8b4f3d=this['_context'][_0x426d2e(0x2a8)],_0x3c3244=this['_docSkeletonManagerService'];this[_0x426d2e(0x103)](_0x128bd5([this[_0x426d2e(0xae)][_0x426d2e(0x1a7)](_0x8b4f3d),this[_0x426d2e(0x1de)]['currentTheme$']])['pipe'](_0x53476e(([_0x1b1a10,_0x4c36d9])=>({'skeleton':_0x3c3244['getSkeleton'](),'cursors':[..._0x1b1a10[_0x426d2e(0x129)]()][_0x426d2e(0x285)](_0x366f76=>({..._0x366f76,'color':this[_0x426d2e(0x1de)][_0x426d2e(0x1fb)](_0x366f76[_0x426d2e(0x183)])}))})))[_0x426d2e(0x156)](_0x47c745=>{const _0x1399a4=_0x426d2e;if(this[_0x1399a4(0xc7)](),_0x47c745){const {skeleton:_0x18c747,cursors:_0x5c62c1}=_0x47c745;this[_0x1399a4(0x124)](_0x18c747,_0x5c62c1);}})),this[_0x426d2e(0x2a6)](),this[_0x426d2e(0x14e)]();}[_0x7ad4b3(0x124)](_0x3f71b0,_0x495aff){const _0x4b443f=_0x7ad4b3,{scene:_0x50164d,mainComponent:_0x3d0df5}=this[_0x4b443f(0x229)],_0x4b1990=_0x495aff[_0x4b443f(0xec)](_0x2e69ac=>new qe(_0x2e69ac,_0x50164d,_0x3f71b0,_0x3d0df5));this[_0x4b443f(0xe4)]=_0x4b1990,this[_0x4b443f(0x1c0)]=_0x495aff;}[_0x7ad4b3(0x248)](){const _0x3691b3=_0x7ad4b3;this['_removeCollabCursors']();const {scene:_0x257a83,mainComponent:_0x40c2e8}=this[_0x3691b3(0x229)],_0x25d093=this[_0x3691b3(0x2a4)]['getSkeleton'](),_0x51bc25=this[_0x3691b3(0x1c0)][_0x3691b3(0xec)](_0x230f1d=>new qe(_0x230f1d,_0x257a83,_0x25d093,_0x40c2e8));this[_0x3691b3(0xe4)]=_0x51bc25;}[_0x7ad4b3(0xc7)](){const _0x56e767=_0x7ad4b3;this[_0x56e767(0xe4)][_0x56e767(0x1a9)](_0x15642=>_0x15642[_0x56e767(0x23d)]()),this['_cursorShapes']=[];}[_0x7ad4b3(0x14e)](){const _0x2e4c23=_0x7ad4b3,_0x4b068e=[_0xe4cbdf['id']];this[_0x2e4c23(0x103)](this[_0x2e4c23(0x28b)][_0x2e4c23(0x18d)](_0x37a630=>{const _0x5834c5=_0x2e4c23;_0x4b068e[_0x5834c5(0xb4)](_0x37a630['id'])&&_0x37a630[_0x5834c5(0x1da)][_0x5834c5(0x2a8)]===this['_context']['unitId']&&this[_0x5834c5(0x248)]();}));}[_0x7ad4b3(0x2a6)](){const _0x3fbc75=_0x7ad4b3;this[_0x3fbc75(0x103)](_0x5e96b1(this[_0x3fbc75(0x229)][_0x3fbc75(0x261)]['onTransformChange$'])[_0x3fbc75(0x252)](_0x5efb0d(_0x4eac27=>_0x4eac27[_0x3fbc75(0x269)]===_0xaa1d13[_0x3fbc75(0x177)]),_0x2fec6d(0x10))[_0x3fbc75(0x156)](()=>{const _0x5b54cb=_0x3fbc75;this[_0x5b54cb(0x248)]();}));}};Le=ji([ee(0x1,_0x889d0a(_0x31f118)),ee(0x2,_0x889d0a(F)),ee(0x3,_0x57c15d),ee(0x4,_0x889d0a(_0x5614cb))],Le);const Vi=0x1,Wi=1.5;class Xi extends _0x188272{constructor(_0x113bbb,_0x32c6fe){const _0x3f7788=_0x7ad4b3;super(_0x113bbb,_0x32c6fe),_(this,'_color'),_(this,_0x3f7788(0x214),!0x1),_(this,_0x3f7788(0x26f)),_(this,_0x3f7788(0x13c),''),_(this,'_labelPosition',_0x3f7788(0x14f)),_(this,_0x3f7788(0x2a7)),(_0x32c6fe&&this[_0x3f7788(0xba)](_0x32c6fe),this[_0x3f7788(0x2a3)][_0x3f7788(0x284)](()=>this[_0x3f7788(0xba)]({'hovered':!0x0})),this[_0x3f7788(0x13e)][_0x3f7788(0x284)](()=>this[_0x3f7788(0xba)]({'hovered':!0x1})));}[_0x7ad4b3(0xba)](_0x4ceced){const _0x5b52e5=_0x7ad4b3;var _0x33dfdd,_0x3cb216,_0x2bab89,_0x27f0a2,_0x3eb56a,_0x697628;this[_0x5b52e5(0x236)]=(_0x33dfdd=_0x4ceced[_0x5b52e5(0x183)])!=null?_0x33dfdd:this['_color'],this[_0x5b52e5(0x214)]=(_0x3cb216=_0x4ceced[_0x5b52e5(0x264)])!=null?_0x3cb216:this[_0x5b52e5(0x214)],this[_0x5b52e5(0x26f)]=(_0x2bab89=_0x4ceced['range'])!=null?_0x2bab89:this['_range'],this[_0x5b52e5(0x13c)]=(_0x27f0a2=_0x4ceced[_0x5b52e5(0x23e)])!=null?_0x27f0a2:this['_name'],this['_labelPosition']=(_0x3eb56a=_0x4ceced[_0x5b52e5(0xd6)])!=null?_0x3eb56a:this[_0x5b52e5(0x1f1)],this[_0x5b52e5(0x2a7)]=(_0x697628=_0x4ceced[_0x5b52e5(0x258)])!=null?_0x697628:this[_0x5b52e5(0x2a7)],this[_0x5b52e5(0x256)]({'width':_0x4ceced[_0x5b52e5(0x2b0)],'height':_0x4ceced[_0x5b52e5(0x28f)]});}[_0x7ad4b3(0x123)](_0x470ff1){const _0x1510f8=_0x7ad4b3,{row:_0x318fe7,column:_0x25ee06}=_0x470ff1;if(_0x318fe7>=this['_range']['startRow']&&_0x318fe7<=this[_0x1510f8(0x26f)][_0x1510f8(0x1b3)]&&_0x25ee06>=this[_0x1510f8(0x26f)][_0x1510f8(0xc5)]&&_0x25ee06<=this[_0x1510f8(0x26f)][_0x1510f8(0xdd)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x1510f8(0xba)]({'hovered':!0x1});}[_0x7ad4b3(0x2b7)](_0x22d3cd){return!0x1;}['_draw'](_0x1e51e8){const _0xe5ae0=_0x7ad4b3;_0x1a57fc[_0xe5ae0(0x180)](_0x1e51e8,{'width':this['width'],'height':this[_0xe5ae0(0x28f)],'strokeWidth':Wi,'stroke':this[_0xe5ae0(0x236)],'evented':!0x1,'fill':this[_0xe5ae0(0x2a7)]}),this[_0xe5ae0(0x214)]&&(_0x1e51e8[_0xe5ae0(0xd0)](),_0x1e51e8[_0xe5ae0(0x1cc)](0x1,0x0,0x0,0x1,this[_0xe5ae0(0x2b0)],this[_0xe5ae0(0x1f1)]==='bottom'?0x0:-J),ue[_0xe5ae0(0x180)](_0x1e51e8,{'text':this[_0xe5ae0(0x13c)],'color':this[_0xe5ae0(0x236)]}),_0x1e51e8['restore']());}}var Gi=Object[_0x7ad4b3(0x2af)],Ki=(_0x51efee,_0x59ef70,_0xc8f6f6,_0x58be42)=>{for(var _0x11fa37=_0x58be42>0x1?void 0x0:_0x58be42?Gi(_0x59ef70,_0xc8f6f6):_0x59ef70,_0x256aac=_0x51efee['length']-0x1,_0xbcc8a;_0x256aac>=0x0;_0x256aac--)(_0xbcc8a=_0x51efee[_0x256aac])&&(_0x11fa37=_0xbcc8a(_0x11fa37)||_0x11fa37);return _0x11fa37;},pe=(_0xbd5823,_0x415fac)=>(_0x751405,_0x20bba1)=>_0x415fac(_0x751405,_0x20bba1,_0xbd5823);const zi=0x1389;let Pe=class extends _0x2e5b84{constructor(_0x589548,_0x551e5a,_0x142db,_0x425f8f){const _0xa1338d=_0x7ad4b3;super(),_(this,_0xa1338d(0x1c0),new Set()),_(this,_0xa1338d(0x212),null),(this[_0xa1338d(0x229)]=_0x589548,this[_0xa1338d(0x11e)]=_0x551e5a,this[_0xa1338d(0xae)]=_0x142db,this[_0xa1338d(0x1de)]=_0x425f8f,this[_0xa1338d(0x260)]());}['_init'](){const _0x23b234=_0x7ad4b3;this['_sheetSkeletonManagerService'][_0x23b234(0x1cf)][_0x23b234(0x252)](_0xfe465f(this['dispose$']),_0x53d6a1(_0x19ed4f=>{const _0x5d3b1c=_0x23b234;if(_0x19ed4f){const _0x30801d=_0x19ed4f[_0x5d3b1c(0x226)];return _0x128bd5(this[_0x5d3b1c(0xae)][_0x5d3b1c(0x1a7)](this[_0x5d3b1c(0x229)][_0x5d3b1c(0x2a8)]),this[_0x5d3b1c(0x1de)][_0x5d3b1c(0x1d4)])[_0x5d3b1c(0x252)](_0x53476e(([_0x216bf9,_0x4edb15])=>{const _0x365513=_0x5d3b1c,_0x1e7831=new Map();return _0x216bf9[_0x365513(0x1a9)]((_0x36e22d,_0x515090)=>{const _0x505df0=_0x365513;if(_0x36e22d[_0x505df0(0x282)]===_0x30801d){const _0x17c2bd={..._0x36e22d};_0x17c2bd['color']=this[_0x505df0(0x1de)][_0x505df0(0x1fb)](_0x36e22d[_0x505df0(0x183)]),_0x1e7831['set'](_0x515090,_0x17c2bd);}}),{'skeleton':_0x19ed4f,'cursors':_0x1e7831};}));}return _0x1cd55f({'skeleton':null,'cursors':new Map()});}))[_0x23b234(0x156)](({skeleton:_0x51977c,cursors:_0x3a3ed1})=>{const _0x5e4fe8=_0x23b234;this[_0x5e4fe8(0xc7)](),_0x51977c&&this[_0x5e4fe8(0x124)](_0x51977c,_0x3a3ed1);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x23b234(0x156)](_0x148474=>{const _0x865175=_0x23b234;if(_0x148474==null)return;const {skeleton:_0x4da7bb}=_0x148474,{scene:_0x4bcf45}=this[_0x865175(0x229)];_0x4bcf45[_0x865175(0x175)][_0x865175(0x284)](_0x3b690c(_0x161d81=>{const _0x227aea=_0x865175;var _0x52a9d7,_0x1559d5;const {offsetX:_0x5a902a,offsetY:_0xef8a6}=_0x161d81,{x:_0x1ba3ac,y:_0x2ae112}=_0x4bcf45[_0x227aea(0x255)](_0x2e581d[_0x227aea(0x1b2)]([_0x5a902a,_0xef8a6])),{scaleX:_0x4a550d,scaleY:_0x513e41}=_0x4bcf45['getAncestorScale'](),_0x259618=_0x4bcf45[_0x227aea(0x11a)](_0x192468[_0x227aea(0x12d)]),_0x2b1ac0=_0x4bcf45['getVpScrollXYInfoByPosToVp'](_0x2e581d['FromArray']([_0x1ba3ac,_0x2ae112]),_0x259618),_0x3a22be=_0x4da7bb[_0x227aea(0xea)](_0x5a902a,_0xef8a6,_0x4a550d,_0x513e41,_0x2b1ac0);((_0x52a9d7=this[_0x227aea(0x212)])==null?void 0x0:_0x52a9d7[_0x227aea(0x1fa)])===_0x3a22be['column']&&((_0x1559d5=this['_lastPointer'])==null?void 0x0:_0x1559d5[_0x227aea(0xf2)])===_0x3a22be[_0x227aea(0xf2)]||this['_cursors'][_0x227aea(0x1a9)](_0x49cbe0=>{_0x49cbe0['onMouseMove'](_0x3a22be);});},0x64));});}[_0x7ad4b3(0x124)](_0x3ca21a,_0x5aebf9){const _0x4ae3a9=_0x7ad4b3;var _0x3808c5;const _0x3d357d=(_0x3808c5=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x3808c5[_0x4ae3a9(0xb9)];if(!_0x3d357d)return;const _0x46c7b9=this[_0x4ae3a9(0x27d)]();if(!_0x46c7b9)return;this[_0x4ae3a9(0x1c0)]['forEach'](_0xb5c0e2=>{const _0x2395c0=_0x4ae3a9;_0xb5c0e2[_0x2395c0(0x11c)]();});const {scene:_0x301789}=_0x46c7b9,_0x4a3a64=Ji(Array[_0x4ae3a9(0x239)](_0x5aebf9[_0x4ae3a9(0x129)]()))['map'](_0x1064f5=>{const _0x93b333=_0x4ae3a9,{color:_0x500d9c,range:_0x463a07,name:_0x24b47e,selection:_0x3cb3f9,sheetID:_0xa3f325}=_0x1064f5,{startColumn:_0x4fe0ca,startRow:_0x3214f3,endColumn:_0x25be53,endRow:_0x16cb65}=_0x463a07,_0x2bedac=_0x83155a(_0x3214f3,_0x4fe0ca,_0x301789,_0x3d357d),_0x16724c=_0x83155a(_0x16cb65,_0x25be53,_0x301789,_0x3d357d),{columnHeaderHeightAndMarginTop:_0x337d39}=_0x3d357d,{startX:_0x54f6ac,startY:_0x1f41af}=_0x2bedac,{endX:_0xd94551,endY:_0x114fbb}=_0x16724c,_0x1a8ec4=_0xd94551-_0x54f6ac,_0x3ca11f=_0x114fbb-_0x1f41af,_0x25ff1f={'labelPosition':_0x1f41af-_0x337d39>=J?_0x93b333(0x14f):_0x93b333(0x287),'sheetID':_0xa3f325,'range':_0x463a07,'color':_0x500d9c,'name':_0x24b47e,'selection':_0x3cb3f9,'left':_0x54f6ac,'top':_0x1f41af,'width':_0x1a8ec4,'height':_0x3ca11f,'evented':!0x1,'zIndex':zi};return new Xi(_0x24b47e,_0x25ff1f);});_0x301789[_0x4ae3a9(0x237)](_0x4a3a64,Vi),this[_0x4ae3a9(0x1c0)]=new Set(_0x4a3a64);}['_removeCollabCursors'](){const _0x3f3331=_0x7ad4b3;var _0x1c70bc;(_0x1c70bc=this[_0x3f3331(0x1c0)])==null||_0x1c70bc[_0x3f3331(0x1a9)](_0x2450e9=>_0x2450e9[_0x3f3331(0x23d)]());}[_0x7ad4b3(0x27d)](){const _0x398797=_0x7ad4b3;return _0x56d09f(this[_0x398797(0x229)]['unit'],this[_0x398797(0x229)]);}};Pe=Ki([pe(0x1,_0x889d0a(_0x1ed808)),pe(0x2,_0x889d0a(F)),pe(0x3,_0x889d0a(_0x5614cb))],Pe);function Ji(_0x5923f6){const _0x21d344=_0x7ad4b3,_0x40b0c4=new Map();return _0x5923f6[_0x21d344(0x1a9)](_0x4bd919=>{const _0x139580=_0x21d344;if(_0x40b0c4['has'](_0x4bd919['selection'])){const _0x1d5f6b=_0x40b0c4[_0x139580(0x19f)](_0x4bd919[_0x139580(0xf4)]);_0x1d5f6b[_0x139580(0x23e)]+=',\x20'+_0x4bd919[_0x139580(0x23e)];}else _0x40b0c4[_0x139580(0x1e6)](_0x4bd919[_0x139580(0xf4)],_0x4bd919);}),Array[_0x21d344(0x239)](_0x40b0c4[_0x21d344(0x129)]());}var Zi=Object['getOwnPropertyDescriptor'],Qi=(_0xa01057,_0x4d70a4,_0x1f99ac,_0x5a15e9)=>{for(var _0x35e6ad=_0x5a15e9>0x1?void 0x0:_0x5a15e9?Zi(_0x4d70a4,_0x1f99ac):_0x4d70a4,_0x150372=_0xa01057['length']-0x1,_0x4a521;_0x150372>=0x0;_0x150372--)(_0x4a521=_0xa01057[_0x150372])&&(_0x35e6ad=_0x4a521(_0x35e6ad)||_0x35e6ad);return _0x35e6ad;},B=(_0x47385a,_0x3f54c9)=>(_0x56d0de,_0xb72437)=>_0x3f54c9(_0x56d0de,_0xb72437,_0x47385a);let ne=class extends _0x8a3bb5{constructor(_0x311365,_0x265ccd,_0x3998ff,_0x15affd,_0x4940e2,_0x170147){const _0x3033a3=_0x7ad4b3;super(),this[_0x3033a3(0x211)]=_0x311365,this[_0x3033a3(0x128)]=_0x265ccd,this['_collaborationUIEventService']=_0x3998ff,this['_messageService']=_0x15affd,this[_0x3033a3(0xbc)]=_0x4940e2,this[_0x3033a3(0x199)]=_0x170147,this[_0x3033a3(0x1a3)](),this[_0x3033a3(0x273)]();}[_0x7ad4b3(0x1a3)](){const _0x2945c0=_0x7ad4b3;this[_0x2945c0(0x103)](this[_0x2945c0(0x211)][_0x2945c0(0x29b)](()=>{const _0x559790=_0x2945c0;if(this[_0x559790(0x128)][_0x559790(0x14d)][_0x559790(0x1d7)])return this[_0x559790(0x199)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x7ad4b3(0x273)](){const _0x574178=_0x7ad4b3;this[_0x574178(0x103)](this['_collaborationUIEventService'][_0x574178(0x29e)]['subscribe'](_0x42b5e7=>{const _0x3aaae2=_0x574178;_0x42b5e7['id']===_0x2f4a27[_0x3aaae2(0x26a)]&&this[_0x3aaae2(0x1c3)]['show']({'type':_0x57e84d[_0x3aaae2(0x1b7)],'content':this[_0x3aaae2(0x199)]['t'](_0x3aaae2(0x299))}),_0x42b5e7['id']===_0x2f4a27[_0x3aaae2(0x1d8)]&&this[_0x3aaae2(0x1c3)][_0x3aaae2(0xfa)]({'type':_0x57e84d[_0x3aaae2(0x1b7)],'content':this[_0x3aaae2(0x199)]['t']('collaboration.closeRoom')}),_0x42b5e7['id']===_0x2f4a27[_0x3aaae2(0x16c)]&&this[_0x3aaae2(0xbc)][_0x3aaae2(0xfa)]({'title':this['_localeService']['t'](_0x3aaae2(0x11d)),'content':this[_0x3aaae2(0x199)]['t']('permission.content'),'type':'error','duration':0x0}),_0x42b5e7['id']===_0x2f4a27[_0x3aaae2(0x1c4)]&&this[_0x3aaae2(0x1c3)][_0x3aaae2(0xfa)]({'type':_0x57e84d[_0x3aaae2(0x224)],'content':this[_0x3aaae2(0x199)]['t']('collaboration.closeRoom')+'('+_0x42b5e7['data']+')'}),_0x42b5e7['id']===_0x2f4a27[_0x3aaae2(0xf1)]&&this[_0x3aaae2(0x1c3)][_0x3aaae2(0xfa)]({'type':_0x57e84d[_0x3aaae2(0x1b7)],'content':this['_localeService']['t'](_0x42b5e7[_0x3aaae2(0x1e7)]||'')}),_0x42b5e7['id']===_0x2f4a27[_0x3aaae2(0x190)]&&this[_0x3aaae2(0x1c3)][_0x3aaae2(0xfa)]({'type':_0x57e84d[_0x3aaae2(0x1b7)],'content':this['_localeService']['t'](_0x3aaae2(0x194))}),_0x42b5e7['id']===_0x2f4a27[_0x3aaae2(0x110)]&&this[_0x3aaae2(0x1c3)][_0x3aaae2(0xfa)]({'type':_0x57e84d[_0x3aaae2(0x224)],'content':this[_0x3aaae2(0x199)]['t']('session.connection-failed')}),_0x42b5e7['id']===_0x2f4a27['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x3aaae2(0x1c3)][_0x3aaae2(0xfa)]({'type':_0x57e84d[_0x3aaae2(0x224)],'content':this['_localeService']['t'](_0x3aaae2(0x210))});}));}};ne=Qi([B(0x0,_0x3f3246),B(0x1,_0x2d7dea),B(0x2,_0x889d0a(_0x44ffa7)),B(0x3,_0xddfcdf),B(0x4,_0x487fca),B(0x5,_0x889d0a(_0x58e7cc))],ne);const qi='collaboration-client-ui.config',et={};var en=Object['getOwnPropertyDescriptor'],tn=(_0xaaba8b,_0x1dfa56,_0x413085,_0x31ec43)=>{const _0x50269=_0x7ad4b3;for(var _0x2692b4=_0x31ec43>0x1?void 0x0:_0x31ec43?en(_0x1dfa56,_0x413085):_0x1dfa56,_0x5aad0e=_0xaaba8b[_0x50269(0xde)]-0x1,_0x217071;_0x5aad0e>=0x0;_0x5aad0e--)(_0x217071=_0xaaba8b[_0x5aad0e])&&(_0x2692b4=_0x217071(_0x2692b4)||_0x2692b4);return _0x2692b4;},tt=(_0x4705a4,_0x3897d5)=>(_0x10601e,_0x190902)=>_0x3897d5(_0x10601e,_0x190902,_0x4705a4);let re=class{constructor(_0x22301f,_0xb262e1){const _0x4c1c71=_0x7ad4b3;this[_0x4c1c71(0x100)]=_0x22301f,this[_0x4c1c71(0x24f)]=_0xb262e1;}['transformIMECache'](_0x4a333c){const _0xa46f36=_0x7ad4b3;this[_0xa46f36(0x1a8)](_0x4a333c),this[_0xa46f36(0x191)](_0x4a333c);}[_0x7ad4b3(0x14b)](_0x910baf){const _0x12c26b=_0x7ad4b3,{unitID:_0x46ec05}=_0x910baf,_0x490eeb=this[_0x12c26b(0x24f)][_0x12c26b(0x159)](_0x46ec05)[_0x12c26b(0x143)](_0x4be77f),{redoCache:_0x5c0356}=_0x490eeb[_0x12c26b(0x163)]();if(_0x5c0356[_0x12c26b(0xde)]===0x0)return _0x910baf;let _0x28a370=_0x2720d4['deepClone'](_0x910baf['mutations'][0x0]);for(let _0x34dba1=0x0;_0x34dba1<_0x5c0356['length'];_0x34dba1++){const _0x36ac17={'id':_0x12c26b(0x272),'params':{..._0x5c0356[_0x34dba1]}},_0x9f5453=this[_0x12c26b(0x100)][_0x12c26b(0x20a)](_0x28a370,_0x36ac17,!0x1);if(_0x5f28a4(_0x9f5453))throw _0x9f5453[_0x12c26b(0x27e)];_0x28a370=_0x9f5453[_0x12c26b(0x21c)];}return{..._0x2720d4['deepClone'](_0x910baf),'mutations':[_0x28a370]};}['_transformUndoRedoStack'](_0x36dd62){const _0x14cdfe=_0x7ad4b3,{unitID:_0x47a0d9}=_0x36dd62,_0x98de68=this[_0x14cdfe(0x24f)][_0x14cdfe(0x159)](_0x47a0d9)[_0x14cdfe(0x143)](_0x4be77f),{undoCache:_0x6c768e,redoCache:_0x4ff1ae}=_0x98de68[_0x14cdfe(0x163)]();if(_0x6c768e[_0x14cdfe(0xde)]===0x0||_0x4ff1ae[_0x14cdfe(0xde)]===0x0)return;const _0x48d615=[],_0x554377=[];let _0xbc20a9=_0x2720d4['deepClone'](_0x36dd62[_0x14cdfe(0x243)][0x0]),_0x27ab0a=_0x2720d4[_0x14cdfe(0x1bd)](_0x36dd62[_0x14cdfe(0x243)][0x0]);for(let _0x42df98=_0x6c768e['length']-0x1;_0x42df98>=0x0;_0x42df98--){const _0x304b70={'id':_0x14cdfe(0x272),'params':{..._0x6c768e[_0x42df98]}},_0x1afed4={'id':_0x14cdfe(0x272),'params':{..._0x4ff1ae[_0x42df98]}},_0x2b5aea=this[_0x14cdfe(0x100)][_0x14cdfe(0x20a)](_0xbc20a9,_0x304b70,!0x1),_0x1ac883=this[_0x14cdfe(0x100)][_0x14cdfe(0x20a)](_0x27ab0a,_0x1afed4,!0x1);if(_0x5f28a4(_0x2b5aea))throw _0x2b5aea[_0x14cdfe(0x27e)];if(_0x5f28a4(_0x1ac883))throw _0x1ac883[_0x14cdfe(0x27e)];_0x48d615[_0x14cdfe(0xaf)](_0x2b5aea['m2Prime']['params']),_0x554377[_0x14cdfe(0xaf)](_0x1ac883[_0x14cdfe(0x26b)][_0x14cdfe(0x1da)]),_0xbc20a9=_0x2b5aea[_0x14cdfe(0x21c)],_0x27ab0a=_0x1ac883[_0x14cdfe(0x21c)];}_0x98de68['setUndoRedoMutationParamsCache']({'undoCache':_0x48d615,'redoCache':_0x554377});}[_0x7ad4b3(0x191)](_0x2576b9){const _0x1e25dd=_0x7ad4b3,{unitID:_0x222d52}=_0x2576b9,_0x2b6590=this['_renderManagerService'][_0x1e25dd(0x159)](_0x222d52)['with'](_0x4be77f),_0x40a368=_0x2b6590[_0x1e25dd(0x13f)]();if(_0x40a368==null)return;const _0x4222ce=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2576b9['unitID'],'actions':null,'textRanges':[_0x40a368]}}],_0x4252a4=this[_0x1e25dd(0x100)][_0x1e25dd(0x1c6)](_0x2576b9,_0x4222ce);if(!_0x263b03(_0x4252a4))throw _0x4252a4[_0x1e25dd(0x27e)];const _0x1d017b=_0x4252a4[_0x1e25dd(0x26b)][0x0][_0x1e25dd(0x1da)][_0x1e25dd(0x233)];Array[_0x1e25dd(0x17e)](_0x1d017b)&&_0x1d017b[_0x1e25dd(0xde)]&&_0x2b6590[_0x1e25dd(0xbd)](_0x1d017b[0x0]);}};re=tn([tt(0x0,_0x4a217b),tt(0x1,_0x290ee6)],re);var sn=Object[_0x7ad4b3(0x2af)],nn=(_0x4d91ec,_0x2d0780,_0x37c628,_0x51d7dc)=>{const _0x4a8677=_0x7ad4b3;for(var _0x393ad4=_0x51d7dc>0x1?void 0x0:_0x51d7dc?sn(_0x2d0780,_0x37c628):_0x2d0780,_0x13e882=_0x4d91ec[_0x4a8677(0xde)]-0x1,_0x51a90d;_0x13e882>=0x0;_0x13e882--)(_0x51a90d=_0x4d91ec[_0x13e882])&&(_0x393ad4=_0x51a90d(_0x393ad4)||_0x393ad4);return _0x393ad4;},Ce=(_0x5ecdc1,_0x348e4c)=>(_0x3c05a7,_0x4221b3)=>_0x348e4c(_0x3c05a7,_0x4221b3,_0x5ecdc1);let oe=class{constructor(_0x26e08d,_0x5ed5e8,_0x1df5de){const _0x20e2df=_0x7ad4b3;this[_0x20e2df(0x1e5)]=_0x26e08d,this[_0x20e2df(0x100)]=_0x5ed5e8,this[_0x20e2df(0xd7)]=_0x1df5de;}[_0x7ad4b3(0x1bf)](_0x3c3633){const _0x253c27=_0x7ad4b3;this[_0x253c27(0x2bc)](_0x3c3633);}[_0x7ad4b3(0x14b)](_0x38e450){const _0x45fd34=_0x7ad4b3,{unitID:_0x12a45a}=_0x38e450,{collaboration:_0x59a4de}=this[_0x45fd34(0xd7)]['getStateCache'](_0x12a45a);if(_0x59a4de[_0x45fd34(0xde)]===0x0)return _0x38e450;let _0x56ad86=_0x2720d4['deepClone'](_0x38e450[_0x45fd34(0x243)][0x0]);for(let _0x5a2bf3=0x0;_0x5a2bf3<_0x59a4de['length'];_0x5a2bf3++){const _0x568514={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x59a4de[_0x5a2bf3][_0x45fd34(0x2a8)],..._0x59a4de[_0x5a2bf3]['redoState']}},_0x647b59=this[_0x45fd34(0x100)][_0x45fd34(0x20a)](_0x56ad86,_0x568514,!0x1);if(_0x5f28a4(_0x647b59))throw _0x647b59[_0x45fd34(0x27e)];_0x56ad86=_0x647b59[_0x45fd34(0x21c)];}return{..._0x2720d4[_0x45fd34(0x1bd)](_0x38e450),'mutations':[_0x56ad86]};}[_0x7ad4b3(0x2bc)](_0x5b388e){const _0x38f57a=_0x7ad4b3,{unitID:_0x26a429}=_0x5b388e,{history:_0x2a8468,collaboration:_0x427c15}=this[_0x38f57a(0xd7)]['getStateCache'](_0x26a429);if(_0x2a8468['length']===0x0&&_0x427c15[_0x38f57a(0xde)]===0x0)return;const _0x4aa7bb=[],_0xf210ae=[];let _0x1a701f=_0x2720d4[_0x38f57a(0x1bd)](_0x5b388e[_0x38f57a(0x243)][0x0]),_0x23312f=_0x2720d4[_0x38f57a(0x1bd)](_0x5b388e[_0x38f57a(0x243)][0x0]);for(let _0x4838ac=_0x2a8468[_0x38f57a(0xde)]-0x1;_0x4838ac>=0x0;_0x4838ac--){const _0x175f04={'id':_0x38f57a(0x272),'params':{'unitId':_0x2a8468[_0x4838ac][_0x38f57a(0x2a8)],..._0x2a8468[_0x4838ac][_0x38f57a(0x232)]}},_0x1b7c6f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2a8468[_0x4838ac][_0x38f57a(0x2a8)],..._0x2a8468[_0x4838ac]['redoState']}},_0x246b9c=this['_transformService']['transformMutation'](_0x1a701f,_0x175f04,!0x1),_0x3bb809=this['_transformService'][_0x38f57a(0x20a)](_0x23312f,_0x1b7c6f,!0x1);if(_0x5f28a4(_0x246b9c))throw _0x246b9c[_0x38f57a(0x27e)];if(_0x5f28a4(_0x3bb809))throw _0x3bb809[_0x38f57a(0x27e)];_0x4aa7bb[_0x38f57a(0xaf)]({..._0x2a8468[_0x4838ac],'undoState':_0x246b9c[_0x38f57a(0x26b)][_0x38f57a(0x1da)],'redoState':_0x3bb809[_0x38f57a(0x26b)]['params']}),_0x1a701f=_0x246b9c[_0x38f57a(0x21c)],_0x23312f=_0x3bb809[_0x38f57a(0x21c)];}_0x1a701f=_0x2720d4[_0x38f57a(0x1bd)](_0x5b388e[_0x38f57a(0x243)][0x0]),_0x23312f=_0x2720d4[_0x38f57a(0x1bd)](_0x5b388e[_0x38f57a(0x243)][0x0]);for(let _0x216261=_0x427c15['length']-0x1;_0x216261>=0x0;_0x216261--){const _0x5e8421={'id':_0x38f57a(0x272),'params':{'unitId':_0x427c15[_0x216261]['unitId'],..._0x427c15[_0x216261][_0x38f57a(0x232)]}},_0x1c71d1={'id':_0x38f57a(0x272),'params':{'unitId':_0x427c15[_0x216261][_0x38f57a(0x2a8)],..._0x427c15[_0x216261]['redoState']}},_0x58c9b0=this['_transformService'][_0x38f57a(0x20a)](_0x1a701f,_0x5e8421,!0x1),_0x5cd6c8=this[_0x38f57a(0x100)][_0x38f57a(0x20a)](_0x23312f,_0x1c71d1,!0x1);if(_0x5f28a4(_0x58c9b0))throw _0x58c9b0['error'];if(_0x5f28a4(_0x5cd6c8))throw _0x5cd6c8[_0x38f57a(0x27e)];_0xf210ae[_0x38f57a(0xaf)]({..._0x427c15[_0x216261],'undoState':_0x58c9b0[_0x38f57a(0x26b)][_0x38f57a(0x1da)],'redoState':_0x5cd6c8[_0x38f57a(0x26b)][_0x38f57a(0x1da)]}),_0x1a701f=_0x58c9b0[_0x38f57a(0x21c)],_0x23312f=_0x5cd6c8[_0x38f57a(0x21c)];}this['_docStateChangeManagerService'][_0x38f57a(0x1f6)](_0x26a429,{'history':_0x4aa7bb,'collaboration':_0xf210ae});}};oe=nn([Ce(0x0,_0x889d0a(_0x550574)),Ce(0x1,_0x4a217b),Ce(0x2,_0x889d0a(_0x3cee7c))],oe);var rn=Object['getOwnPropertyDescriptor'],on=(_0x43b9d9,_0x313940,_0x1e00ce,_0x45a2e1)=>{const _0x5ce2dd=_0x7ad4b3;for(var _0x15664b=_0x45a2e1>0x1?void 0x0:_0x45a2e1?rn(_0x313940,_0x1e00ce):_0x313940,_0x45dbdc=_0x43b9d9[_0x5ce2dd(0xde)]-0x1,_0x48f43f;_0x45dbdc>=0x0;_0x45dbdc--)(_0x48f43f=_0x43b9d9[_0x45dbdc])&&(_0x15664b=_0x48f43f(_0x15664b)||_0x15664b);return _0x15664b;},st=(_0x432104,_0x54cd88)=>(_0x54830f,_0x16e6ff)=>_0x54cd88(_0x54830f,_0x16e6ff,_0x432104);let ae=class{constructor(_0x28b9b1,_0x21aa90){const _0x30dcea=_0x7ad4b3;this[_0x30dcea(0x1e5)]=_0x28b9b1,this[_0x30dcea(0x100)]=_0x21aa90;}[_0x7ad4b3(0x12c)](_0x1a2f37){const _0x18cf5e=_0x7ad4b3;var _0x51a811;const _0x10e244=this[_0x18cf5e(0x1e5)][_0x18cf5e(0x19f)](_0x421829),_0x53b1c8=(_0x51a811=_0x10e244[_0x18cf5e(0x10d)]())!=null?_0x51a811:[];if(_0x53b1c8['length']===0x0)return;const _0x1225e7=_0x1a2f37[_0x18cf5e(0x1c1)],_0x388898=[{'id':_0x18cf5e(0x272),'params':{'unitId':_0x1225e7,'actions':null,'textRanges':_0x53b1c8}}],_0x2331f9=this[_0x18cf5e(0x100)]['transformMutationsWithChangeset'](_0x1a2f37,_0x388898);if(!_0x263b03(_0x2331f9))throw _0x2331f9['error'];const _0x178aec=_0x2331f9[_0x18cf5e(0x26b)][0x0]['params'][_0x18cf5e(0x233)];Array['isArray'](_0x178aec)&&_0x178aec[_0x18cf5e(0xde)]&&_0x10e244['replaceDocRanges'](_0x178aec,{'unitId':_0x1225e7,'subUnitId':_0x1225e7},!0x1);}};ae=on([st(0x0,_0x889d0a(_0x550574)),st(0x1,_0x4a217b)],ae);var an=Object[_0x7ad4b3(0x2af)],cn=(_0x4f7921,_0x443389,_0x39302d,_0x316060)=>{const _0x39ca11=_0x7ad4b3;for(var _0x1e8d8c=_0x316060>0x1?void 0x0:_0x316060?an(_0x443389,_0x39302d):_0x443389,_0x4a86a8=_0x4f7921[_0x39ca11(0xde)]-0x1,_0x44e12d;_0x4a86a8>=0x0;_0x4a86a8--)(_0x44e12d=_0x4f7921[_0x4a86a8])&&(_0x1e8d8c=_0x44e12d(_0x1e8d8c)||_0x1e8d8c);return _0x1e8d8c;},N=(_0x2e2724,_0x126dd9)=>(_0x4106aa,_0x505cc0)=>_0x126dd9(_0x4106aa,_0x505cc0,_0x2e2724);let ce=class extends _0x8a3bb5{constructor(_0x2611cb,_0x453d69,_0x4147f3,_0x451266,_0x579aec,_0x247077,_0x29166f,_0xde78b8){const _0x15a9d8=_0x7ad4b3;super(),_(this,_0x15a9d8(0x13a),new _0x498721(_0x3e3f9e[_0x15a9d8(0x288)])),(this['_docStateChangeManagerService']=_0x2611cb,this['_collaborationController']=_0x453d69,this['_docTransformIMECacheService']=_0x4147f3,this[_0x15a9d8(0x117)]=_0x451266,this[_0x15a9d8(0x1c8)]=_0x579aec,this['_docSyncEditingCollabCursorService']=_0x247077,this[_0x15a9d8(0x1c3)]=_0x29166f,this[_0x15a9d8(0x199)]=_0xde78b8,this[_0x15a9d8(0x184)]());}['_initEntityListener'](){const _0x10d4e6=_0x7ad4b3;this[_0x10d4e6(0x103)](this[_0x10d4e6(0x154)][_0x10d4e6(0x130)][_0x10d4e6(0x156)](_0x24d0ab=>{const _0x4578ce=_0x10d4e6,_0x9ded14=this[_0x4578ce(0xd7)][_0x4578ce(0x18a)][_0x4578ce(0x156)](_0x148b1c=>{const _0x3d307d=_0x4578ce;if(_0x148b1c==null)return;const {unitId:_0x56fc57,redoState:_0x536414,commandId:_0x150b19}=_0x148b1c;if(_0x56fc57!==_0x24d0ab['unitID'])return;const _0x3b9f43={'id':_0x150b19,'type':_0x11acd5['MUTATION'],'params':{'unitId':_0x56fc57,'actions':_0x536414[_0x3d307d(0x12b)],'textRanges':null}};_0x24d0ab[_0x3d307d(0x135)](_0x3b9f43);});if(_0x24d0ab[_0x4578ce(0x103)](_0x9ded14),_0x24d0ab instanceof _0x5a967d){const _0x27aa23={'onTransformIME':_0x1ae7b9=>this[_0x4578ce(0x246)][_0x4578ce(0x29f)](_0x1ae7b9),'onTransformState':_0x42a21c=>this[_0x4578ce(0x117)][_0x4578ce(0x1bf)](_0x42a21c),'onTransformSelections':_0x269824=>this[_0x4578ce(0x1c8)][_0x4578ce(0x12c)](_0x269824),'onSyncEditingCollabCursor':_0x30d818=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x30d818),'onTransformRemoteChangesetByIMECache':_0xf0c87a=>this[_0x4578ce(0x246)][_0x4578ce(0x14b)](_0xf0c87a),'onTransformRemoteChangesetByStateCache':_0x44ee0c=>this[_0x4578ce(0x117)][_0x4578ce(0x14b)](_0x44ee0c)};_0x24d0ab[_0x4578ce(0x1d0)](_0x27aa23);}}));}};ce=cn([N(0x0,_0x889d0a(_0x3cee7c)),N(0x1,_0x889d0a(_0x3e656b)),N(0x2,_0x889d0a(re)),N(0x3,_0x889d0a(oe)),N(0x4,_0x889d0a(ae)),N(0x5,_0x889d0a(Fe)),N(0x6,_0xddfcdf),N(0x7,_0x889d0a(_0x58e7cc))],ce);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x321038,_0xd32b8f,_0x8a729d,_0x26cc86)=>{const _0x1a43c6=_0x7ad4b3;for(var _0x6a3535=_0x26cc86>0x1?void 0x0:_0x26cc86?ln(_0xd32b8f,_0x8a729d):_0xd32b8f,_0x13ca9e=_0x321038[_0x1a43c6(0xde)]-0x1,_0x48d052;_0x13ca9e>=0x0;_0x13ca9e--)(_0x48d052=_0x321038[_0x13ca9e])&&(_0x6a3535=_0x48d052(_0x6a3535)||_0x6a3535);return _0x6a3535;},Ee=(_0x135579,_0x3e9577)=>(_0x436a0f,_0x5663c6)=>_0x3e9577(_0x436a0f,_0x5663c6,_0x135579);let we=class extends _0x8a3bb5{constructor(_0x2f07f7,_0x4e2bcb,_0x14977f){const _0x265d11=_0x7ad4b3;super(),_(this,_0x265d11(0x1e9),new Map()),_(this,'_saveTaskMap',new Map()),_(this,'_disabled',!0x1),(this[_0x265d11(0xf8)]=_0x2f07f7,this[_0x265d11(0x1bc)]=_0x4e2bcb,this['_revisionService']=_0x14977f);}[_0x7ad4b3(0x262)](){const _0x33b62a=_0x7ad4b3;this[_0x33b62a(0x120)]=!0x0;}[_0x7ad4b3(0xcb)](){const _0x59bc8c=_0x7ad4b3;this[_0x59bc8c(0x120)]=!0x1;}get[_0x7ad4b3(0x14d)](){return this['_saveTaskMap'];}[_0x7ad4b3(0x23d)](){const _0x4a8f31=_0x7ad4b3;this[_0x4a8f31(0x1c5)]()[_0x4a8f31(0x2b3)](()=>super['dispose']());}async[_0x7ad4b3(0x106)](_0x26424c){const _0x58e9e9=_0x7ad4b3;return this[_0x58e9e9(0x120)]?null:this[_0x58e9e9(0x1bc)]['getItem'](_0x1340c0(_0x26424c));}async[_0x7ad4b3(0xb0)](_0x47a515,_0x5c2d6d){const _0xa0fbdb=_0x7ad4b3;return!!this[_0xa0fbdb(0x1bc)][_0xa0fbdb(0x179)](_0x47a515,_0x5c2d6d);}[_0x7ad4b3(0x277)](_0x32f179,_0x21ed15,_0x2a49d6,_0x2d50ca){const _0x3cb477=_0x7ad4b3,_0x166112=this[_0x3cb477(0x146)][_0x3cb477(0xe0)](_0x32f179);this['_cachedData'][_0x3cb477(0x1e6)](_0x32f179,{'unitID':_0x32f179,'type':_0x21ed15,'awaitingChangeset':_0x2a49d6,'mutations':_0x2d50ca,'rev':_0x166112}),this[_0x3cb477(0x221)][_0x3cb477(0xe1)](_0x32f179)||this[_0x3cb477(0x1ea)](_0x32f179);}['_scheduleSaving'](_0x3ed6e9){const _0x27dab1=_0x7ad4b3,_0x10d9eb=this[_0x27dab1(0x195)]();_0x10d9eb===0x0?this['_saveCache'](_0x3ed6e9):this['_saveTaskMap'][_0x27dab1(0x1e6)](_0x3ed6e9,setTimeout(()=>this[_0x27dab1(0xc8)](_0x3ed6e9),_0x10d9eb));}[_0x7ad4b3(0x195)](){const _0x1a28b1=_0x7ad4b3;var _0x2cae79;return(_0x2cae79=this[_0x1a28b1(0xf8)][_0x1a28b1(0x23c)](_0x3bc396))!=null?_0x2cae79:_0x270e8c;}[_0x7ad4b3(0xc8)](_0x190d90){const _0x4afdb1=_0x7ad4b3,_0x1f61a3=this[_0x4afdb1(0x221)][_0x4afdb1(0x19f)](_0x190d90);return _0x1f61a3!==void 0x0&&window[_0x4afdb1(0x1e2)](_0x1f61a3),this[_0x4afdb1(0x1bc)][_0x4afdb1(0x179)](_0x1340c0(_0x190d90),this['_cachedData']['get'](_0x190d90))[_0x4afdb1(0x2b3)](()=>this[_0x4afdb1(0x221)][_0x4afdb1(0x2bb)](_0x190d90));}async[_0x7ad4b3(0x1c5)](){const _0x11eb9d=_0x7ad4b3,_0x3fe130=[];this[_0x11eb9d(0x221)][_0x11eb9d(0x1a9)]((_0x1c6218,_0x3b8e30)=>{const _0x44a686=_0x11eb9d;window[_0x44a686(0x1e2)](_0x1c6218),_0x3fe130[_0x44a686(0x290)](this[_0x44a686(0xc8)](_0x3b8e30)[_0x44a686(0x2b3)](()=>{const _0x2e4f4c=_0x44a686;this[_0x2e4f4c(0x221)][_0x2e4f4c(0x2bb)](_0x3b8e30);}));}),await Promise[_0x11eb9d(0x22f)](_0x3fe130);}};we=_n([Ee(0x0,_0x8a59df),Ee(0x1,_0x47ea1f),Ee(0x2,_0x889d0a(_0x23f810))],we);class hn extends _0x2e5b84{constructor(){const _0x2ebbc8=_0x7ad4b3;super(),_(this,'urlChange$'),this[_0x2ebbc8(0x1c9)]=_0x4e0479(window,_0x2ebbc8(0x20f))[_0x2ebbc8(0x252)](_0x437630(this['dispose$']),_0x49ea48(0x1),_0x4444bd(void 0x0));}[_0x7ad4b3(0x270)](_0x12c318,_0x388f79,_0x2e8045=!0x1){const _0x108208=_0x7ad4b3,_0x335843=new URL(window[_0x108208(0x1fd)][_0x108208(0xfb)]);_0x335843['searchParams']['set'](_0x12c318,_0x388f79),_0x2e8045?window[_0x108208(0x2b1)]['replaceState']('','',_0x335843[_0x108208(0x21f)]()):window[_0x108208(0x2b1)]['pushState']('','',_0x335843[_0x108208(0x21f)]());}[_0x7ad4b3(0x26e)](_0x4b5842,_0x1fb549=!0x1){const _0x27f23c=_0x7ad4b3,_0x4ab2d9=new URL(window[_0x27f23c(0x1fd)][_0x27f23c(0xfb)]);_0x4ab2d9[_0x27f23c(0x138)][_0x27f23c(0x2bb)](_0x4b5842),_0x1fb549?window[_0x27f23c(0x2b1)]['replaceState']('','',_0x4ab2d9[_0x27f23c(0x21f)]()):window[_0x27f23c(0x2b1)]['pushState']('','',_0x4ab2d9['toString']());}[_0x7ad4b3(0xb8)](_0x1e80a3){const _0x334a33=_0x7ad4b3;var _0x5e0df5;return(_0x5e0df5=new URL(window[_0x334a33(0x1fd)][_0x334a33(0xfb)])[_0x334a33(0x138)][_0x334a33(0x19f)](_0x1e80a3))!=null?_0x5e0df5:void 0x0;}}var un=Object[_0x7ad4b3(0x1b1)],dn=Object['getOwnPropertyDescriptor'],fn=(_0x651fa1,_0x34f866,_0x3b29e8)=>_0x34f866 in _0x651fa1?un(_0x651fa1,_0x34f866,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3b29e8}):_0x651fa1[_0x34f866]=_0x3b29e8,Sn=(_0x37594f,_0x5a2555,_0x5b0688,_0x1c2149)=>{for(var _0x5d5298=_0x1c2149>0x1?void 0x0:_0x1c2149?dn(_0x5a2555,_0x5b0688):_0x5a2555,_0x40cf42=_0x37594f['length']-0x1,_0x157721;_0x40cf42>=0x0;_0x40cf42--)(_0x157721=_0x37594f[_0x40cf42])&&(_0x5d5298=_0x157721(_0x5d5298)||_0x5d5298);return _0x5d5298;},Oe=(_0x579c93,_0x30c0b9)=>(_0x1fa9e4,_0x484520)=>_0x30c0b9(_0x1fa9e4,_0x484520,_0x579c93),mn=(_0x202107,_0x4592f6,_0x414884)=>fn(_0x202107,_0x4592f6+'',_0x414884);const In='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ae=class extends _0x17b8c5{constructor(_0x3983e0=et,_0x43aace,_0xb496e8,_0xaf0647){const _0x5a4326=_0x7ad4b3;super(),this['_config']=_0x3983e0,this['_renderManagerService']=_0x43aace,this[_0x5a4326(0x1e5)]=_0xb496e8,this[_0x5a4326(0xf8)]=_0xaf0647;const {..._0x47ca0c}=_0x51b536({},et,this['_config']);this[_0x5a4326(0xf8)][_0x5a4326(0x1ff)](qi,_0x47ca0c);}[_0x7ad4b3(0x25e)](){const _0x113714=_0x7ad4b3;this['_registerDependencies'](),this[_0x113714(0x17b)]();}[_0x7ad4b3(0xd3)](){const _0x496241=_0x7ad4b3;this[_0x496241(0xb3)]();}[_0x7ad4b3(0x202)](){const _0x366952=_0x7ad4b3;var _0x45cdea;const _0x42436e=[[He],[ae],[re],[oe],[Fe],[Ut,{'useClass':hn}],[_0x2a07e6,{'useClass':_0x53059b}],[_0x2d7dea,{'useClass':we}],[se],[ce],[ne],[F],[Ne],[ie]];_0x2b1e43(this[_0x366952(0x1e5)],_0x24678c(_0x42436e,(_0x45cdea=this[_0x366952(0x29a)])==null?void 0x0:_0x45cdea[_0x366952(0x25b)]));}[_0x7ad4b3(0xb3)](){const _0x5c67b8=_0x7ad4b3;this['disposeWithMe'](this[_0x5c67b8(0x24f)]['registerRenderModule'](_0x207290[_0x5c67b8(0x1cb)],[Le])),this[_0x5c67b8(0x103)](this[_0x5c67b8(0x24f)][_0x5c67b8(0x2b8)](_0x207290[_0x5c67b8(0x22e)],[Pe]));}[_0x7ad4b3(0x17b)](){const _0xa2a8c4=_0x7ad4b3;_0x35edb3(this[_0xa2a8c4(0x1e5)],[[F],[se],[ce],[ne],[ie]]);}};mn(Ae,_0x7ad4b3(0x136),In),Ae=Sn([_0x28802a(_0x302fe2),Oe(0x1,_0x290ee6),Oe(0x2,_0x889d0a(_0x550574)),Oe(0x3,_0x8a59df)],Ae);var vn=Object[_0x7ad4b3(0x2af)],gn=(_0x17d3c4,_0xe45318,_0x5222c6,_0x22da6c)=>{const _0x5f48c1=_0x7ad4b3;for(var _0x41164c=_0x22da6c>0x1?void 0x0:_0x22da6c?vn(_0xe45318,_0x5222c6):_0xe45318,_0x5a5418=_0x17d3c4[_0x5f48c1(0xde)]-0x1,_0x51af90;_0x5a5418>=0x0;_0x5a5418--)(_0x51af90=_0x17d3c4[_0x5a5418])&&(_0x41164c=_0x51af90(_0x41164c)||_0x41164c);return _0x41164c;},z=(_0x3c6509,_0x2781ef)=>(_0x1d2bd5,_0x553bc6)=>_0x2781ef(_0x1d2bd5,_0x553bc6,_0x3c6509);let it=class extends _0x2336c8{constructor(_0x3237d9,_0x26270c,_0x126e1b,_0x4f17d6,_0x13b152){super(_0x3237d9,_0x26270c,_0x126e1b,_0x4f17d6,_0x13b152);}async['createSocket'](_0x321ecf){const _0x14fb15=_0x7ad4b3,_0x279aa7=await this[_0x14fb15(0x160)](),_0x2a7d7e=this['_createSocketURL'](_0x321ecf,_0x279aa7);return this[_0x14fb15(0x291)](_0x2a7d7e);}['_createSocketURL'](_0x143ec7,_0x49258d){const _0x2cd93f=_0x7ad4b3,_0x41648a=typeof window>'u'?new URL(_0x143ec7):new URL(_0x143ec7,window[_0x2cd93f(0x1fd)][_0x2cd93f(0x1a2)]);_0x41648a[_0x2cd93f(0x138)]['set'](_0x2cd93f(0xcd),_0x49258d);const _0x1827f8=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2cd93f(0x1fd)][_0x2cd93f(0xc4)]);return _0x1827f8['get'](_0x2cd93f(0x10f))&&_0x41648a['searchParams'][_0x2cd93f(0x1e6)](_0x2cd93f(0x10f),_0x1827f8[_0x2cd93f(0x19f)](_0x2cd93f(0x10f))),_0x41648a['toString']();}async[_0x7ad4b3(0x160)](){const _0x3776e3=_0x7ad4b3;var _0x153e0f,_0xd9a617,_0x4e6638;const _0x1b0fa2=this[_0x3776e3(0xf8)][_0x3776e3(0x23c)](_0x2fb9a5),_0x3a56d8=(_0x153e0f=_0x1b0fa2==null?void 0x0:_0x1b0fa2[_0x3776e3(0x15b)])!=null?_0x153e0f:_0x27e42c;return(_0x4e6638=(_0xd9a617=(await this['_httpService']['get'](_0x3a56d8,{'headers':{'Content-Type':_0x3776e3(0x27f)}}))[_0x3776e3(0x242)])==null?void 0x0:_0xd9a617[_0x3776e3(0x108)])!=null?_0x4e6638:'';}};it=gn([z(0x0,_0x889d0a(_0x550574)),z(0x1,_0x889d0a(_0x1d1fae)),z(0x2,_0x8a59df),z(0x3,_0x3f92a0),z(0x4,_0x21727a)],it);var Lt=(_0x29c8ea=>(_0x29c8ea[_0x29c8ea['UNDEFINED']=0x0]=_0x7ad4b3(0x25a),_0x29c8ea[_0x29c8ea['OK']=0x1]='OK',_0x29c8ea[_0x29c8ea[_0x7ad4b3(0x2ae)]=0x2]='INTERNAL_ERROR',_0x29c8ea[_0x29c8ea[_0x7ad4b3(0x16c)]=0x3]=_0x7ad4b3(0x16c),_0x29c8ea[_0x29c8ea[_0x7ad4b3(0x1ce)]=0x4]=_0x7ad4b3(0x1ce),_0x29c8ea[_0x29c8ea[_0x7ad4b3(0x271)]=0x5]='UNAUTHENTICATED',_0x29c8ea[_0x29c8ea[_0x7ad4b3(0x18b)]=0x6]='ALREADY_EXISTS',_0x29c8ea[_0x29c8ea[_0x7ad4b3(0x292)]=0x7]='INVALID_ARGUMENT',_0x29c8ea[_0x29c8ea[_0x7ad4b3(0x116)]=0x8]=_0x7ad4b3(0x116),_0x29c8ea[_0x29c8ea['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x29c8ea[_0x29c8ea[_0x7ad4b3(0x2a9)]=0xa]=_0x7ad4b3(0x2a9),_0x29c8ea[_0x29c8ea['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x7ad4b3(0x245),_0x29c8ea[_0x29c8ea[_0x7ad4b3(0x149)]=0xc]=_0x7ad4b3(0x149),_0x29c8ea[_0x29c8ea[_0x7ad4b3(0x113)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x29c8ea[_0x29c8ea[_0x7ad4b3(0xef)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x29c8ea[_0x29c8ea[_0x7ad4b3(0x158)]=0x1389]=_0x7ad4b3(0x158),_0x29c8ea[_0x29c8ea['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x29c8ea[_0x29c8ea[_0x7ad4b3(0x19a)]=0x1772]=_0x7ad4b3(0x19a),_0x29c8ea[_0x29c8ea['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x7ad4b3(0x241),_0x29c8ea[_0x29c8ea['APPLY_REJECT']=0x1b59]=_0x7ad4b3(0x150),_0x29c8ea[_0x29c8ea[_0x7ad4b3(0xff)]=0x1b5a]=_0x7ad4b3(0xff),_0x29c8ea[_0x29c8ea[_0x7ad4b3(0xb5)]=0x1b5b]=_0x7ad4b3(0xb5),_0x29c8ea[_0x29c8ea[_0x7ad4b3(0x1ca)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x29c8ea[_0x29c8ea['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x29c8ea[_0x29c8ea[_0x7ad4b3(0x126)]=0x1f41]=_0x7ad4b3(0x126),_0x29c8ea[_0x29c8ea[_0x7ad4b3(0x193)]=0x2329]=_0x7ad4b3(0x193),_0x29c8ea[_0x29c8ea['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x7ad4b3(0x21e),_0x29c8ea[_0x29c8ea[_0x7ad4b3(0xf6)]=0x232b]=_0x7ad4b3(0xf6),_0x29c8ea[_0x29c8ea[_0x7ad4b3(0x16a)]=0x232c]=_0x7ad4b3(0x16a),_0x29c8ea[_0x29c8ea[_0x7ad4b3(0x1b0)]=0x232d]=_0x7ad4b3(0x1b0),_0x29c8ea[_0x29c8ea[_0x7ad4b3(0x170)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x29c8ea[_0x29c8ea[_0x7ad4b3(0x24a)]=0x2712]=_0x7ad4b3(0x24a),_0x29c8ea[_0x29c8ea['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x7ad4b3(0x19e),_0x29c8ea[_0x29c8ea['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x29c8ea[_0x29c8ea['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x7ad4b3(0x21a),_0x29c8ea[_0x29c8ea[_0x7ad4b3(0xee)]=0x271b]=_0x7ad4b3(0xee),_0x29c8ea[_0x29c8ea['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x7ad4b3(0x12a),_0x29c8ea[_0x29c8ea[_0x7ad4b3(0x1e1)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x29c8ea[_0x29c8ea['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x7ad4b3(0xf3),_0x29c8ea[_0x29c8ea['YUUMI_AI_RUN_FAILED']=0x271f]=_0x7ad4b3(0xe7),_0x29c8ea[_0x29c8ea['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x7ad4b3(0x263),_0x29c8ea[_0x29c8ea['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x7ad4b3(0x157),_0x29c8ea[_0x29c8ea['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x29c8ea[_0x29c8ea['INVALID_INVITE_CODE']=0x2ee2]=_0x7ad4b3(0x227),_0x29c8ea[_0x29c8ea[_0x7ad4b3(0x209)]=0x2ee3]=_0x7ad4b3(0x209),_0x29c8ea[_0x29c8ea[_0x7ad4b3(0x298)]=0x2ee4]=_0x7ad4b3(0x298),_0x29c8ea[_0x29c8ea['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x29c8ea[_0x29c8ea[_0x7ad4b3(0x2b5)]=0x32c9]=_0x7ad4b3(0x2b5),_0x29c8ea[_0x29c8ea['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x7ad4b3(0xdb),_0x29c8ea[_0x29c8ea[_0x7ad4b3(0x197)]=0x32cb]=_0x7ad4b3(0x197),_0x29c8ea[_0x29c8ea[_0x7ad4b3(0x235)]=-0x1]=_0x7ad4b3(0x235),_0x29c8ea))(Lt||{}),pn=Object[_0x7ad4b3(0x2af)],Cn=(_0x75cbd3,_0x233ced,_0x2b528c,_0x4d4dc1)=>{const _0x54f1d0=_0x7ad4b3;for(var _0x18a2f9=_0x4d4dc1>0x1?void 0x0:_0x4d4dc1?pn(_0x233ced,_0x2b528c):_0x233ced,_0x203631=_0x75cbd3[_0x54f1d0(0xde)]-0x1,_0xfffe93;_0x203631>=0x0;_0x203631--)(_0xfffe93=_0x75cbd3[_0x203631])&&(_0x18a2f9=_0xfffe93(_0x18a2f9)||_0x18a2f9);return _0x18a2f9;},be=(_0x93d6e,_0xe568a3)=>(_0x472112,_0x50d4b0)=>_0xe568a3(_0x472112,_0x50d4b0,_0x93d6e);let nt=class extends _0x8a3bb5{constructor(_0x256c5e,_0x16caa7,_0x22a11c){const _0x52a7d3=_0x7ad4b3;super(),this[_0x52a7d3(0x188)]=_0x256c5e,this['_httpService']=_0x16caa7,this[_0x52a7d3(0xf8)]=_0x22a11c;}async['runOnServer'](_0x5240dc,_0x5e9e5e,_0x3e018b,..._0x7e8555){const _0x584956=_0x7ad4b3;var _0x34fb39,_0x3265c4,_0x325e58,_0x1041f1;const _0x5700f1=this['_instanceService'][_0x584956(0x279)]();if(!_0x5700f1)throw new Error(_0x584956(0x24d));const _0x2a3958=((_0x34fb39=this[_0x584956(0xf8)][_0x584956(0x23c)](_0x33aaf9))!=null?_0x34fb39:_0x39e3b2)+'/'+_0x5240dc+_0x584956(0x1d9)+_0x5e9e5e,_0x182707=new URL(window[_0x584956(0x1fd)]['href']),_0x5172d0={'scriptId':_0x5240dc,'runId':(_0x3265c4=_0x182707[_0x584956(0x138)][_0x584956(0x19f)]('runId'))!=null?_0x3265c4:'','function':_0x5e9e5e,'unitId':_0x5700f1[_0x584956(0x1e3)](),'argsOfFunction':JSON[_0x584956(0x289)](_0x7e8555),'invokeId':(_0x325e58=_0x3e018b[_0x584956(0x1e0)])!=null?_0x325e58:'','executionId':(_0x1041f1=_0x3e018b['executionId'])!=null?_0x1041f1:''};try{const _0x3d68e2=await this[_0x584956(0x1b4)]['post'](_0x2a3958,{'body':_0x5172d0});return _0x3d68e2['body'][_0x584956(0x27e)]&&_0x3d68e2[_0x584956(0x242)][_0x584956(0x27e)][_0x584956(0x28d)]!==Lt['OK']?_0x584956(0xf5):_0x3d68e2[_0x584956(0x242)][_0x584956(0xe8)];}catch{return'Failed';}}};nt=Cn([be(0x0,_0x12519b),be(0x1,_0x889d0a(_0x1d1fae)),be(0x2,_0x8a59df)],nt);const rt=0x7530,ot=_0x7ad4b3(0x167);class Fn extends _0x8a3bb5{constructor(){const _0x4387eb=_0x7ad4b3;super(),_(this,'_id',_0x37ad55()),_(this,'_selfUnitIDs',new Set()),_(this,_0x4387eb(0x244),new Map()),_(this,_0x4387eb(0x186),null),_(this,_0x4387eb(0x118),new Map()),_(this,_0x4387eb(0x1a0),new Map()),this[_0x4387eb(0x260)]();}[_0x7ad4b3(0x23d)](){const _0x10397e=_0x7ad4b3;super[_0x10397e(0x23d)](),this[_0x10397e(0x118)]['forEach']((_0x47f63d,_0x14ec41)=>this[_0x10397e(0x131)](_0x14ec41)),this[_0x10397e(0x186)]&&window[_0x10397e(0x276)](this[_0x10397e(0x186)]);}[_0x7ad4b3(0x15f)](_0x5c98b8){const _0xfd3876=_0x7ad4b3;return this[_0xfd3876(0x2ac)](_0x5c98b8)[_0xfd3876(0x252)](_0x2b484b());}['editingUnit'](_0x591bff){const _0x223bae=_0x7ad4b3;this[_0x223bae(0x142)][_0x223bae(0x1d7)]===0x0&&this['_scheduleHeartbeat'](),this[_0x223bae(0x142)]['add'](_0x591bff),this[_0x223bae(0x13d)]({'type':0x0,'memberID':this[_0x223bae(0x297)],'unitIDs':[_0x591bff],'isForwarded':!0x1});}[_0x7ad4b3(0x133)](_0x3f46e3){const _0x109be7=_0x7ad4b3;this['_selfUnitIDs'][_0x109be7(0x2bb)](_0x3f46e3),this['_selfUnitIDs']['size']===0x0&&this[_0x109be7(0x186)]&&window[_0x109be7(0x276)](this['_heartbeatTimer']);}['_init'](){const _0x10f44c=_0x7ad4b3;this[_0x10f44c(0x103)](_0x36a9dd(_0x4e0479(window,_0x10f44c(0x2ab))['subscribe'](_0x19d2c=>{const _0x26200f=_0x10f44c;if(_0x19d2c[_0x26200f(0x12e)]!==ot||!_0x19d2c['newValue'])return;const _0x1a9817=JSON['parse'](_0x19d2c['newValue']);this['_handleEvent'](_0x1a9817);}))),window[_0x10f44c(0xf7)](_0x10f44c(0x295),()=>this[_0x10f44c(0x13d)]({'type':0x1,'memberID':this[_0x10f44c(0x297)],'unitIDs':Array['from'](this[_0x10f44c(0x142)])}));}[_0x7ad4b3(0x207)](_0x539821){const _0x52999b=_0x7ad4b3;switch(_0x539821[_0x52999b(0x269)]){case 0x0:this['_handleJoinEvent'](_0x539821);break;case 0x1:this[_0x52999b(0x1ba)](_0x539821);break;case 0x2:this[_0x52999b(0x148)](_0x539821);break;}}[_0x7ad4b3(0x12f)](_0x379887){const _0x19946c=_0x7ad4b3,{unitIDs:_0x25b9c8,memberID:_0x5015c5,isForwarded:_0x217e9f}=_0x379887;_0x25b9c8[_0x19946c(0x1a9)](_0x2c25a1=>{const _0x9d5fe6=_0x19946c;if(!_0x217e9f&&this[_0x9d5fe6(0x244)][_0x9d5fe6(0xe1)](_0x2c25a1)&&this[_0x9d5fe6(0x2ac)](_0x2c25a1)[_0x9d5fe6(0x1eb)](_0x2cb6cf['OTHER_CLIENTS_EDITING']),!this[_0x9d5fe6(0x244)][_0x9d5fe6(0xe1)](_0x2c25a1)||!this[_0x9d5fe6(0x244)][_0x9d5fe6(0x19f)](_0x2c25a1)[_0x9d5fe6(0xe1)](_0x5015c5)){const _0x185892=this[_0x9d5fe6(0x244)][_0x9d5fe6(0x19f)](_0x2c25a1)||new Set();_0x185892[_0x9d5fe6(0xb2)](_0x5015c5),this[_0x9d5fe6(0x244)][_0x9d5fe6(0x1e6)](_0x2c25a1,_0x185892),this['_scheduleClearOtherTimer'](_0x5015c5);}}),_0x217e9f||this[_0x19946c(0x13d)]({'type':0x0,'memberID':this[_0x19946c(0x297)],'unitIDs':[...this[_0x19946c(0x142)]],'isForwarded':!0x0});}[_0x7ad4b3(0x1f4)](_0x2c8ab1){const _0x54a782=_0x7ad4b3;this[_0x54a782(0x131)](_0x2c8ab1);const _0x4aef47=window[_0x54a782(0x21b)](()=>{const _0x119b01=_0x54a782;this[_0x119b01(0x244)][_0x119b01(0x1a9)](_0x42f03d=>{_0x42f03d['delete'](_0x2c8ab1);});},rt*0x2);this[_0x54a782(0x118)]['set'](_0x2c8ab1,_0x4aef47);}[_0x7ad4b3(0x131)](_0x4c504f){const _0x4285b1=_0x7ad4b3;if(this['_clearOtherTimers'][_0x4285b1(0xe1)](_0x4c504f)){const _0x525702=this['_clearOtherTimers'][_0x4285b1(0x19f)](_0x4c504f);_0x525702&&window[_0x4285b1(0x1e2)](_0x525702),this['_clearOtherTimers'][_0x4285b1(0x1e6)](_0x4c504f,null);}}[_0x7ad4b3(0x1ba)](_0x1a0350){const _0x48ef40=_0x7ad4b3,{memberID:_0x1f1061,unitIDs:_0x25f177}=_0x1a0350;_0x25f177[_0x48ef40(0x1a9)](_0x5829b7=>{const _0x5a3104=_0x48ef40;var _0x45e1c0;const _0x1521bd=this[_0x5a3104(0x244)][_0x5a3104(0x19f)](_0x5829b7);_0x1521bd&&(_0x1521bd[_0x5a3104(0x2bb)](_0x1f1061),(_0x45e1c0=this['_ensureSubject'](_0x5829b7))==null||_0x45e1c0[_0x5a3104(0x1eb)](_0x1521bd[_0x5a3104(0x1d7)]===0x0?_0x2cb6cf[_0x5a3104(0x1c2)]:_0x2cb6cf[_0x5a3104(0x17f)]));}),this[_0x48ef40(0x131)](_0x1f1061);}[_0x7ad4b3(0x148)](_0xc6e34){const _0x332ee8=_0x7ad4b3;this[_0x332ee8(0x1f4)](_0xc6e34[_0x332ee8(0x280)]);}['_send'](_0x342d98){const _0x2281e4=_0x7ad4b3;localStorage[_0x2281e4(0x179)](ot,JSON[_0x2281e4(0x289)](_0x342d98));}[_0x7ad4b3(0x196)](){this['_heartbeatTimer']=window['setInterval'](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},rt);}['_ensureSubject'](_0x568d49){const _0x109649=_0x7ad4b3;return this[_0x109649(0x1a0)]['has'](_0x568d49)||this[_0x109649(0x1a0)][_0x109649(0x1e6)](_0x568d49,new _0x498721(_0x2cb6cf[_0x109649(0x1c2)])),this[_0x109649(0x1a0)][_0x109649(0x19f)](_0x568d49);}}export{it as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,se as DesktopCollaborationStatusDisplayController,Ut as IURLService,nt as RemoteUniscriptService,Xi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
@@ -1 +1 @@
1
- function _0x5d1b(_0x50cdd7,_0x3afc20){const _0x281558=_0x2815();return _0x5d1b=function(_0x5d1bfb,_0x376cb5){_0x5d1bfb=_0x5d1bfb-0xaf;let _0x3ab745=_0x281558[_0x5d1bfb];return _0x3ab745;},_0x5d1b(_0x50cdd7,_0x3afc20);}const _0x2790e9=_0x5d1b;function _0x2815(){const _0x5f433e=['Connection\x20failed,\x20please\x20check\x20your\x20network.','4321392MeNClR','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Edit\x20conflicts','Syncing...','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','305910hjZios','4880058VbuKvZ','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','1390494ZkAJDY','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.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Collaboration\x20Conflict','14dIOHxP','4320012WOzLpa','Authentication\x20Error','3847460XiTZci','6216528tDUsPN','Syncing\x20server\x20data...','Local\x20file'];_0x2815=function(){return _0x5f433e;};return _0x2815();}(function(_0x1b581c,_0x3655a9){const _0x2934d8=_0x5d1b,_0x13b4e1=_0x1b581c();while(!![]){try{const _0x1be9ae=-parseInt(_0x2934d8(0xb2))/0x1+parseInt(_0x2934d8(0xaf))/0x2+parseInt(_0x2934d8(0xbe))/0x3+-parseInt(_0x2934d8(0xb7))/0x4+-parseInt(_0x2934d8(0xb9))/0x5+parseInt(_0x2934d8(0xb0))/0x6+-parseInt(_0x2934d8(0xb6))/0x7*(-parseInt(_0x2934d8(0xba))/0x8);if(_0x1be9ae===_0x3655a9)break;else _0x13b4e1['push'](_0x13b4e1['shift']());}catch(_0x2710ec){_0x13b4e1['push'](_0x13b4e1['shift']());}}}(_0x2815,0xb0009));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x2790e9(0xbb),'conflict':_0x2790e9(0xc0),'notCollab':_0x2790e9(0xbc),'synced':'Synced','syncing':_0x2790e9(0xc1),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x2790e9(0xbd),'will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':_0x2790e9(0xbf),'collaboration-timeout':_0x2790e9(0xc2)},'conflict':{'title':_0x2790e9(0xb5),'content':_0x2790e9(0xb3)},'permission':{'title':_0x2790e9(0xb8),'content':_0x2790e9(0xb4)},'collaboration':{'single-unit':{'warning':_0x2790e9(0xb1)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}},o=e;export{o as default};
1
+ const _0x4cccb4=_0x5699;function _0x2b8f(){const _0x186e32=['Connection\x20failed,\x20please\x20check\x20your\x20network.','323355XqbiLt','990556WOYqUh','Syncing\x20server\x20data...','794864dYEGvB','Local\x20file','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','390158vXweUD','Edit\x20conflicts','Syncing...','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','821400pzTUvr','4257810STjJPF','42amOFYH','634252NouqxU','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Collaboration\x20Conflict','Authentication\x20Error','Click\x20to\x20Reconnect','3koRtuN'];_0x2b8f=function(){return _0x186e32;};return _0x2b8f();}function _0x5699(_0x19f23c,_0x576d26){const _0x2b8f43=_0x2b8f();return _0x5699=function(_0x5699ab,_0x4ee7f1){_0x5699ab=_0x5699ab-0x135;let _0x224241=_0x2b8f43[_0x5699ab];return _0x224241;},_0x5699(_0x19f23c,_0x576d26);}(function(_0x744be0,_0x56b1db){const _0x1240c3=_0x5699,_0x53b475=_0x744be0();while(!![]){try{const _0x3b42e9=parseInt(_0x1240c3(0x136))/0x1+parseInt(_0x1240c3(0x140))/0x2*(parseInt(_0x1240c3(0x145))/0x3)+-parseInt(_0x1240c3(0x148))/0x4+-parseInt(_0x1240c3(0x147))/0x5*(parseInt(_0x1240c3(0x13f))/0x6)+-parseInt(_0x1240c3(0x14a))/0x7+-parseInt(_0x1240c3(0x13d))/0x8+parseInt(_0x1240c3(0x13e))/0x9;if(_0x3b42e9===_0x56b1db)break;else _0x53b475['push'](_0x53b475['shift']());}catch(_0x123de3){_0x53b475['push'](_0x53b475['shift']());}}}(_0x2b8f,0x40683));const e={'collab-client':{'tooltip':{'reconnect':_0x4cccb4(0x144)}},'collabStatus':{'fetchMiss':_0x4cccb4(0x149),'conflict':_0x4cccb4(0x137),'notCollab':_0x4cccb4(0x14b),'synced':'Synced','syncing':_0x4cccb4(0x138),'offline':_0x4cccb4(0x13a)},'session':{'connection-failed':_0x4cccb4(0x146),'will-retry':_0x4cccb4(0x13b),'room-full':_0x4cccb4(0x141),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x4cccb4(0x142),'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':_0x4cccb4(0x143),'content':_0x4cccb4(0x135)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x4cccb4(0x139)},'auth':{'needGotoLoginAlert':_0x4cccb4(0x13c)}},o=e;export{o as default};
@@ -1 +1 @@
1
- const _0x48f458=_0x51d7;function _0x51d7(_0x4ff197,_0x51718b){const _0x399317=_0x3993();return _0x51d7=function(_0x51d7e9,_0x1021d2){_0x51d7e9=_0x51d7e9-0x135;let _0x588797=_0x399317[_0x51d7e9];return _0x588797;},_0x51d7(_0x4ff197,_0x51718b);}(function(_0x142278,_0x1e6dcc){const _0x292c73=_0x51d7,_0x437217=_0x142278();while(!![]){try{const _0x57c9be=-parseInt(_0x292c73(0x13e))/0x1+parseInt(_0x292c73(0x13a))/0x2*(-parseInt(_0x292c73(0x141))/0x3)+-parseInt(_0x292c73(0x135))/0x4+parseInt(_0x292c73(0x14b))/0x5*(parseInt(_0x292c73(0x139))/0x6)+parseInt(_0x292c73(0x14c))/0x7+-parseInt(_0x292c73(0x144))/0x8+parseInt(_0x292c73(0x13c))/0x9*(parseInt(_0x292c73(0x140))/0xa);if(_0x57c9be===_0x1e6dcc)break;else _0x437217['push'](_0x437217['shift']());}catch(_0x19bf9f){_0x437217['push'](_0x437217['shift']());}}}(_0x3993,0x8f67d));const e={'collab-client':{'tooltip':{'reconnect':_0x48f458(0x136)}},'collabStatus':{'fetchMiss':_0x48f458(0x14e),'conflict':_0x48f458(0x143),'notCollab':_0x48f458(0x13d),'synced':_0x48f458(0x137),'syncing':_0x48f458(0x14d),'offline':_0x48f458(0x146)},'session':{'connection-failed':_0x48f458(0x138),'will-retry':_0x48f458(0x148),'room-full':_0x48f458(0x13f),'collaboration-timeout':_0x48f458(0x145)},'conflict':{'title':'Collaboration\x20Conflict','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':_0x48f458(0x13b),'content':_0x48f458(0x149)},'collaboration':{'single-unit':{'warning':_0x48f458(0x142)},'closeRoom':_0x48f458(0x14a)},'auth':{'needGotoLoginAlert':_0x48f458(0x147)}};function _0x3993(){const _0x1e0e08=['10kKDdhJ','5987079PdYmhc','Syncing...','Syncing\x20server\x20data...','750760aPCvPj','Click\x20to\x20Reconnect','Synced','Connection\x20failed,\x20please\x20check\x20your\x20network.','2203116DaPxgg','12874YdJyRX','Authentication\x20Error','801GkpSDN','Local\x20file','538692AnKqUB','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','164270MqAxVK','282YOxzKn','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Edit\x20conflicts','9062584oJLlCU','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'];_0x3993=function(){return _0x1e0e08;};return _0x3993();}export{e as default};
1
+ const _0x48c956=_0xd117;function _0xd117(_0x200579,_0x33a676){const _0x2450bb=_0x2450();return _0xd117=function(_0xd11719,_0x203a42){_0xd11719=_0xd11719-0x171;let _0x57a2a5=_0x2450bb[_0xd11719];return _0x57a2a5;},_0xd117(_0x200579,_0x33a676);}(function(_0x43f31a,_0x2a859d){const _0x470f67=_0xd117,_0x1d06f6=_0x43f31a();while(!![]){try{const _0x1e3bf8=parseInt(_0x470f67(0x17f))/0x1*(parseInt(_0x470f67(0x17d))/0x2)+-parseInt(_0x470f67(0x171))/0x3+parseInt(_0x470f67(0x186))/0x4*(parseInt(_0x470f67(0x17b))/0x5)+-parseInt(_0x470f67(0x17a))/0x6*(parseInt(_0x470f67(0x177))/0x7)+parseInt(_0x470f67(0x181))/0x8+-parseInt(_0x470f67(0x184))/0x9+-parseInt(_0x470f67(0x174))/0xa*(-parseInt(_0x470f67(0x172))/0xb);if(_0x1e3bf8===_0x2a859d)break;else _0x1d06f6['push'](_0x1d06f6['shift']());}catch(_0x438adf){_0x1d06f6['push'](_0x1d06f6['shift']());}}}(_0x2450,0x8f827));const e={'collab-client':{'tooltip':{'reconnect':_0x48c956(0x17c)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x48c956(0x180),'notCollab':'Local\x20file','synced':_0x48c956(0x176),'syncing':_0x48c956(0x17e),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x48c956(0x178),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x48c956(0x179),'content':_0x48c956(0x183)},'permission':{'title':_0x48c956(0x182),'content':_0x48c956(0x175)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x48c956(0x173)},'auth':{'needGotoLoginAlert':_0x48c956(0x185)}};function _0x2450(){const _0x48bae3=['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.','5763573HpajFa','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','4vtaJbb','3409224rWtbkw','1231549qdMChB','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','150NWjyZA','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Synced','175txnwBz','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Collaboration\x20Conflict','112782Eoyhuc','1161035WydOcn','Click\x20to\x20Reconnect','8gYactH','Syncing...','141924jIeXvK','Edit\x20conflicts','2842056qQOUGM','Authentication\x20Error'];_0x2450=function(){return _0x48bae3;};return _0x2450();}export{e as default};