@univerjs-pro/collaboration-client-ui 0.10.6-experimental.20250904-44da50e → 0.10.6-nightly.202509060614
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +16 -16
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x54b204=_0x1d22;(function(_0x2e2698,_0x136418){const _0x4450b6=_0x1d22,_0x592b00=_0x2e2698();while(!![]){try{const _0x4b3b1f=-parseInt(_0x4450b6(0x204))/0x1+parseInt(_0x4450b6(0x28c))/0x2+-parseInt(_0x4450b6(0x29a))/0x3+parseInt(_0x4450b6(0x367))/0x4*(-parseInt(_0x4450b6(0x3b3))/0x5)+parseInt(_0x4450b6(0x3b8))/0x6+parseInt(_0x4450b6(0x206))/0x7+parseInt(_0x4450b6(0x31d))/0x8;if(_0x4b3b1f===_0x136418)break;else _0x592b00['push'](_0x592b00['shift']());}catch(_0x5c390a){_0x592b00['push'](_0x592b00['shift']());}}}(_0xb77a,0x89e71));var xt=Object['defineProperty'],Bt=(_0x48e074,_0x55309d,_0x25eb16)=>_0x55309d in _0x48e074?xt(_0x48e074,_0x55309d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x25eb16}):_0x48e074[_0x55309d]=_0x25eb16,_=(_0x53ea33,_0x45526c,_0x291b72)=>Bt(_0x53ea33,typeof _0x45526c!=_0x54b204(0x391)?_0x45526c+'':_0x45526c,_0x291b72);import{jsx as _0x366760,jsxs as _0x4d2601}from'react/jsx-runtime';import{CollaborationStatus as _0x284bb6,CollaborationSessionService as _0x11a03b,CollaborationController as _0x519227,DataLoaderService as _0x5a3ea7,MemberService as _0x5cfe13,SessionStatus as _0x3bb8af,ILocalCacheService as _0xc48228,CollaborationUIEventService as _0xcfee56,CollaborationUIEventId as _0x176ce1,DocCollaborationEntity as _0x325b13,getLocalCacheKey as _0x82b9e6,LOCAL_CACHE_INTERVAL as _0x121e19,LOCAL_CACHE_INTERVAL_KEY as _0x5b5bef,UniverCollaborationClientPlugin as _0x497c5c,CollaborationSocketService as _0x121e68,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x1151cd,DEFAULT_WS_SESSION_TICKET_URL as _0x22d252,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x2fb49f,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x3173a9,UnitStatus as _0x3320c8}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x38053a,IUniverInstanceService as _0x353b09,Inject as _0x564dc3,Injector as _0x4523b0,Disposable as _0x4dbb35,createIdentifier as _0x5efefa,ILogService as _0x4ae4b5,ICommandService as _0x627c2a,Optional as _0x12fc0a,RxDisposable as _0x1fdcdf,Workbook as _0x37f166,DOC_RANGE_TYPE as _0x3d8c47,debounce as _0x417bdc,Rectangle as _0xcb7282,DisposableCollection as _0x1822b0,toDisposable as _0x2dce4a,UniverInstanceType as _0x42b153,generateRandomId as _0x1fbd32,COLORS as _0x3554cb,ColorKit as _0x1fa32a,ThemeService as _0x5199de,fromEventSubject as _0x4bae0f,Tools as _0x585ba0,CommandType as _0xf5ba0e,IConfigService as _0x573d33,ILocalStorageService as _0x47cc68,DependentOn as _0x2c6589,Plugin as _0x4bdb08,merge as _0x86bf59,registerDependencies as _0x1592b2,mergeOverrideWithDependencies as _0x578e71,touchDependencies as _0x4b7cde}from'@univerjs/core';import{useObservable as _0x7aa4c0,useDependency as _0x348c8c,IUIPartsService as _0x4e8939,BuiltInUIPart as _0x3c68b7,connectInjector as _0x2697c4,IBeforeCloseService as _0x2d8f77,IMessageService as _0x2dff99,INotificationService as _0x2cfd19}from'@univerjs/ui';import{BehaviorSubject as _0x3e7b98,switchMap as _0x2ad325,of as _0x4f46b3,takeUntil as _0x4f79cf,debounceTime as _0x28b85f,Subject as _0x1fd513,filter as _0x5cfdf8,merge as _0x331290,combineLatest as _0x45bad2,fromEvent as _0x262a20,shareReplay as _0x205ffa,mapTo as _0x494858,distinctUntilChanged as _0x29eedb}from'rxjs';import{Tooltip as _0x2f7fc4,clsx as _0x56b7ce,MessageType as _0x23a90c}from'@univerjs/design';import{forwardRef as _0x24d212,useRef as _0x4d5885,createElement as _0x45f75b,useCallback as _0x481d84}from'react';import{IRemoteInstanceService as _0x192825}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x2862f7,RefRangeService as _0x416294,SetSelectionsOperation as _0x4bd2cd,SheetsSelectionsService as _0x43443d,EffectRefRangId as _0x1cc113,handleIRemoveRow as _0x5284a6,handleIRemoveCol as _0x47f8b9,handleMoveRange as _0x1883ff,handleInsertRow as _0x4be3e,handleInsertRangeMoveRight as _0x2593a0,handleInsertRangeMoveDown as _0x306176,handleInsertCol as _0x22232b,handleDeleteRangeMoveUp as _0x532f16,handleDeleteRangeMoveLeft as _0x233278,runRefRangeMutations as _0x492b22}from'@univerjs/sheets';import{Shape as _0x1f7265,Rect as _0x598847,getColor as _0x20fff4,RegularPolygon as _0xa9c792,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x332adc,Vector2 as _0x5ee37d,SHEET_VIEWPORT_KEY as _0x4e6e5c,IRenderManagerService as _0x368abc}from'@univerjs/engine-render';import{ISocketService as _0x27e693,WebSocketService as _0x3f5e61,HTTPService as _0x3b42d9}from'@univerjs/network';import{IDocClipboardService as _0x1fd62d,NodePositionConvertToCursor as _0x1fc625,NodePositionConvertToRectRange as _0x38ab7f,TEXT_RANGE_LAYER_INDEX as _0xe1dd3b,SetDocZoomRatioOperation as _0x2d89a5,DocIMEInputManagerService as _0x3763d0,DocStateChangeManagerService as _0x1941cb}from'@univerjs/docs-ui';import{IImageIoService as _0x10b012}from'@univerjs/drawing';import{ITransformService as _0x1dd84e,CollaborationEvent as _0x3334a9,isTransformMutationFailure as _0x39527b,isTransformMutationsWithChangesetSuccess as _0xf96115,RevisionService as _0x3dd31c,ISnapshotServerService as _0x3ddf6b}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x43a4e2,RichTextEditingMutation as _0x5e7f5d,DocSelectionManagerService as _0x3d26f6,DocSkeletonManagerService as _0x251911}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x17ef00,serializeRangeWithSheet as _0x46e175}from'@univerjs/engine-formula';import{map as _0x510b42,filter as _0x3473bf,throttleTime as _0x4a0314,takeUntil as _0x17b3cc,switchMap as _0x3571d7}from'rxjs/operators';import{SheetSkeletonManagerService as _0x45f47a,getCoordByCell as _0x4df0fd,getSheetObject as _0x317b5b}from'@univerjs/sheets-ui';var v=function(){const _0x2dbd95=_0x54b204;return v=Object[_0x2dbd95(0x23d)]||function(_0x14faa0){const _0x262afa=_0x2dbd95;for(var _0x59e9ff,_0x3db37d=0x1,_0x20ea5e=arguments['length'];_0x3db37d<_0x20ea5e;_0x3db37d++){_0x59e9ff=arguments[_0x3db37d];for(var _0x5d1811 in _0x59e9ff)Object[_0x262afa(0x3d4)][_0x262afa(0x370)][_0x262afa(0x297)](_0x59e9ff,_0x5d1811)&&(_0x14faa0[_0x5d1811]=_0x59e9ff[_0x5d1811]);}return _0x14faa0;},v[_0x2dbd95(0x35c)](this,arguments);},ci=function(_0x1d4fa5,_0x6a2908){const _0x51d114=_0x54b204;var _0x4df47d={};for(var _0x306a00 in _0x1d4fa5)Object['prototype'][_0x51d114(0x370)][_0x51d114(0x297)](_0x1d4fa5,_0x306a00)&&_0x6a2908[_0x51d114(0x368)](_0x306a00)<0x0&&(_0x4df47d[_0x306a00]=_0x1d4fa5[_0x306a00]);if(_0x1d4fa5!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x146790=0x0,_0x306a00=Object['getOwnPropertySymbols'](_0x1d4fa5);_0x146790<_0x306a00[_0x51d114(0x26d)];_0x146790++)_0x6a2908[_0x51d114(0x368)](_0x306a00[_0x146790])<0x0&&Object[_0x51d114(0x3d4)][_0x51d114(0x31e)][_0x51d114(0x297)](_0x1d4fa5,_0x306a00[_0x146790])&&(_0x4df47d[_0x306a00[_0x146790]]=_0x1d4fa5[_0x306a00[_0x146790]]);}return _0x4df47d;},ke=_0x24d212(function(_0x30ef08,_0x1d7fc5){const _0x4f6d83=_0x54b204;var _0x3aba02=_0x30ef08[_0x4f6d83(0x31b)],_0x4b5379=_0x30ef08['id'],_0x4bfbda=_0x30ef08['className'],_0x5e7b7c=_0x30ef08[_0x4f6d83(0x3e4)],_0x4ff719=ci(_0x30ef08,[_0x4f6d83(0x31b),'id',_0x4f6d83(0x334),_0x4f6d83(0x3e4)]),_0x12fe6b=_0x4f6d83(0x24b)[_0x4f6d83(0x307)](_0x4b5379,'\x20')[_0x4f6d83(0x307)](_0x4bfbda||'')[_0x4f6d83(0x360)](),_0x47e3df=_0x4d5885('_'[_0x4f6d83(0x307)](hi()));return Rt(_0x3aba02,''[_0x4f6d83(0x307)](_0x4b5379),{'defIds':_0x3aba02[_0x4f6d83(0x390)],'idSuffix':_0x47e3df[_0x4f6d83(0x2fb)]},v({'ref':_0x1d7fc5,'className':_0x12fe6b},_0x4ff719),_0x5e7b7c);});function Rt(_0x45d693,_0x2815c3,_0x42b186,_0x27b247,_0x307da2){const _0x25dc86=_0x54b204;return _0x45f75b(_0x45d693[_0x25dc86(0x34e)],v(v({'key':_0x2815c3},li(_0x45d693,_0x42b186,_0x307da2)),_0x27b247),(_i(_0x45d693,_0x42b186)[_0x25dc86(0x376)]||[])[_0x25dc86(0x296)](function(_0x4dc04e,_0x52d8a7){const _0x4806ca=_0x25dc86;return Rt(_0x4dc04e,''[_0x4806ca(0x307)](_0x2815c3,'-')[_0x4806ca(0x307)](_0x45d693[_0x4806ca(0x34e)],'-')['concat'](_0x52d8a7),_0x42b186,void 0x0,_0x307da2);}));}function li(_0x2a169a,_0x178235,_0x2cb646){const _0x212b6f=_0x54b204;var _0x1c48e9=v({},_0x2a169a[_0x212b6f(0x291)]);_0x2cb646!=null&&_0x2cb646[_0x212b6f(0x29f)]&&_0x1c48e9[_0x212b6f(0x3c0)]===_0x212b6f(0x29f)&&(_0x1c48e9[_0x212b6f(0x3c0)]=_0x2cb646['colorChannel1']),_0x2a169a[_0x212b6f(0x34e)]===_0x212b6f(0x20b)&&_0x1c48e9['id']&&(_0x1c48e9['id']=_0x1c48e9['id']+_0x178235[_0x212b6f(0x221)]),Object[_0x212b6f(0x2d7)](_0x1c48e9)['forEach'](function(_0x459b02){const _0x3f92c7=_0x212b6f;var _0x13b837=_0x459b02[0x0],_0x3986ba=_0x459b02[0x1];_0x13b837==='mask'&&typeof _0x3986ba=='string'&&(_0x1c48e9[_0x13b837]=_0x3986ba[_0x3f92c7(0x2cd)](/url\(#(.*)\)/,'url(#$1'[_0x3f92c7(0x307)](_0x178235['idSuffix'],')')));});var _0x190f36=_0x178235[_0x212b6f(0x390)];return!_0x190f36||_0x190f36[_0x212b6f(0x26d)]===0x0||(_0x2a169a[_0x212b6f(0x34e)]==='use'&&_0x1c48e9[_0x212b6f(0x1fa)]&&(_0x1c48e9[_0x212b6f(0x1fa)]=_0x1c48e9['xlink:href']+_0x178235['idSuffix']),Object[_0x212b6f(0x2d7)](_0x1c48e9)[_0x212b6f(0x339)](function(_0x490620){const _0x275992=_0x212b6f;var _0x5a9861=_0x490620[0x0],_0x1b6c01=_0x490620[0x1];typeof _0x1b6c01==_0x275992(0x25f)&&(_0x1c48e9[_0x5a9861]=_0x1b6c01[_0x275992(0x2cd)](/url\(#(.*)\)/,_0x275992(0x3a5)[_0x275992(0x307)](_0x178235[_0x275992(0x221)],')')));})),_0x1c48e9;}function _i(_0x5c0416,_0x4b7720){const _0x3e6976=_0x54b204;var _0x4673a5,_0x59719a=_0x4b7720[_0x3e6976(0x390)];return!_0x59719a||_0x59719a[_0x3e6976(0x26d)]===0x0?_0x5c0416:_0x5c0416['tag']===_0x3e6976(0x21b)&&(!((_0x4673a5=_0x5c0416[_0x3e6976(0x376)])===null||_0x4673a5===void 0x0)&&_0x4673a5['length'])?v(v({},_0x5c0416),{'children':_0x5c0416['children'][_0x3e6976(0x296)](function(_0x437db1){const _0x37cacb=_0x3e6976;return typeof _0x437db1[_0x37cacb(0x291)]['id']==_0x37cacb(0x25f)&&_0x59719a&&_0x59719a['includes'](_0x437db1['attrs']['id'])?v(v({},_0x437db1),{'attrs':v(v({},_0x437db1[_0x37cacb(0x291)]),{'id':_0x437db1['attrs']['id']+_0x4b7720[_0x37cacb(0x221)]})}):_0x437db1;})}):_0x5c0416;}function hi(){const _0x58dedc=_0x54b204;return Math[_0x58dedc(0x2af)]()['toString'](0x24)[_0x58dedc(0x3c1)](0x2,0x8);}ke[_0x54b204(0x3b2)]=_0x54b204(0x357);var ui={'tag':_0x54b204(0x3ca),'attrs':{'xmlns':_0x54b204(0x293),'fill':_0x54b204(0x1f2),'viewBox':'0\x200\x2016\x2016','width':_0x54b204(0x2a4),'height':_0x54b204(0x2a4)},'children':[{'tag':'g','attrs':{'clipPath':_0x54b204(0x314)},'children':[{'tag':'path','attrs':{'stroke':_0x54b204(0x231),'d':_0x54b204(0x323),'strokeLinecap':_0x54b204(0x2c0),'strokeLinejoin':_0x54b204(0x2c0),'strokeWidth':1.2}}]},{'tag':_0x54b204(0x21b),'attrs':{},'children':[{'tag':_0x54b204(0x396),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x54b204(0x275),'attrs':{'fill':_0x54b204(0x3c9),'d':_0x54b204(0x24d)}}]}]}],'defIds':[_0x54b204(0x32c)]},Dt=_0x24d212(function(_0x2d5258,_0x1fe02f){const _0x32d22b=_0x54b204;return _0x45f75b(ke,Object['assign']({},_0x2d5258,{'id':_0x32d22b(0x3af),'ref':_0x1fe02f,'icon':ui}));});Dt[_0x54b204(0x3b2)]=_0x54b204(0x39b);function _0xb77a(){const _0x107e0f=['then','NO_OTHER_CLIENTS_EDITING','transformStateCache','_hideTimer','subscribeEvent','icon','YUUMI_ALL_TABLES_IS_INVALID','3752408NuKmkJ','propertyIsEnumerable','JOIN_ROOM_FAILED','session.connection-failed','type','USER_NOT_INVITED_CODE','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','YUUMI_UNABLE_LOAD_URL','_transformHistoryAndStateStack','send','getUndoRedoMutationParamsCache','transformMutation','requireSession','href','YUUMI_ASYNCIO_CANCELLED','off-line-icon_clip0_910_343','entityInit$','YUUMI_NO_CUBOID_FOR_QUESTION','getCurrentRevOfUnit','onPointerLeave$','_themeService','makeDirty','_status$','className','collabStatus.offline','onMouseMove','_instanceService','arc','forEach','INVALID_ARGUMENT','height','next','fillRule','div','_toggleOffline','clearTimeout','_localStorageService','_ensureSubject','MOBILE_VERIFY_CODE_MISMATCH','_initResize','_collaborationUIEventService','size','UNDEFINED','_getScale','getUniverSheetInstance','INVITE_CODE_ALREADY_BOUND','_logService','getRenderById','getItem','tag','executionId','ENSURE_SNAPSHOT_EXECUTION','deepClone','_cursorShapes','collab-rect-range-','getSheetId','getTypeOfUnitDisposed$','_registerDependencies','UniverIcon','body','_roomMembers$','_handleLeaveEvent','_clearOtherTimers','apply','UNIVER_DOC','PERMISSION_DENIED','_colorAssignService','trim','_handleJoinEvent','imageSourceType','...','getOwnPropertyDescriptor','subscribe','setParam','4234216jFCFrN','indexOf','getViewport','YUUMI_SUBSCRIPTION_NOT_FOUND','Error','startsWith','collaboration.closeRoom','_colorIndex','_shapes','hasOwnProperty','getRangePointData','_messageService','isArray','_drawTextRange','permission.content','children','UNRECOGNIZED','restore','addClipboardHook','_handleHover','CONFLICT','APPLY_PERMISSION_DENIED','endColumn','LOGIN_FAILED','dispose$','params','_initEntityListener','data','setItem','_collaborationController','origin','_anchor','transformRemoteChangeset','range','INVITE_CODE_HAS_BEEN_UES','m1Prime','_createSocketURL','_initCommandExecutedListener','_unitOnClients','roomMembers$','selections','defIds','symbol','createSocket','disposeWithMe','bottom','urlChange$','clipPath','_document','RemoveColCommandId','VIEW_MAIN','SUBMIT_CHANGESET_TIMEOUT','OffLineIcon','_entityInit$','APPLY_NON_SEQUENTIAL_REVISION','beginPath','_syncEditingCollabCursorService','cursorInfo','_transformPreviousActiveRange','_online','_draw','getConfig','url(#$1','UNIVER_SHEET','registerComponent','_collabCursorController','onStarting','location','black','row','setTimeout','fillText','off-line-icon','textRanges','_updateCollabCursors','displayName','5XrgeuC','NOT_FOUND','_session','search','asObservable','5263434ddaFBS','m2Prime','INTERNAL_ERROR','_transformUndoRedoStack','getCollabEntity$','OTHER_CLIENTS_EDITING','_scheduleHeartbeat','removeParam','fill','substring','color','event$','_getAnchorBounding','wsSessionTicketUrl','runId','_docClipboardService','createInstance','white','svg','pipe','getOffsetConfig','_id','collabStatus.notCollab','max','error','_heartbeatTimer','status$','NOT_COLLAB','prototype','_onRefRangeChange','_uiPartsService','_saveCache','getCurrent','AWAITING_WITH_PENDING','_refreshCollabCursors','_setupBeforeClosingHandler','disableLocalCache','init','YUUMI_URL_COL_OUT_OF_RANGE','updateOfflineData','blue.400','TOO_MANY_REQUESTS','getSkeleton','INVALID_INVITE_CODE','extend','transformIMECache','_initDependencies','_cachedData','0\x200\x2017\x2016','_dataLoaderService','_hover','name','_eventUnsubscribe','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','getMemberID','_updateSubUnitFromURLParams','_context','addObject','doc.mutation.rich-text-editing','width','ONLINE','none','onPointerEnter$','getDocRanges','_anchorDot','toString','_startDocCollabCursor','_getMergeRange','_scheduleSaving','xlink:href','_getSheetObject','UNAUTHENTICATED','LICENSE_DISTRO_REJECTED','InsertRowCommandId','font','getCurrentSelections','defineProperty','OnLineIcon','_beforeCloseService','75572dMXFxx','_color','3822063SwpcOC','_labelPosition','getSheetBySheetId','popstate','ALREADY_EXISTS','mask','pushState','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','editingUnit','some','split','sessionTicket','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','_disabled','actions','hide','_hovered','MOBILE_HAS_BEEN_BOUND','executeCommand','stringify','_onCursorUpdate','defs','EMAIL_HAS_BEEN_BOUND','_doCreateSocket','disposeUnit','_entities','getActiveRange','idSuffix','MUTATION','USERS_LEAVE','application/json','_updateURLWithCurrentState','push','CHANGESET_REVISION_CONFILICT','collabStatus.conflict','values','exhaustSavingTask','all','_scheduleClearOtherTimer','result','currentTheme$','getActiveSheet','memberID','currentColor','_init','SOCKET_FAILED_RETRY','_transformService','CLOSE_ROOM','column','_send','getMember','lineTo','/run/','univer-flex\x20univer-items-center','undoState','assign','[CollaborationDataLoaderController]','_localCacheService','_getSessionTicket','getRelativeToViewportCoord','_imageIoService','_handleHeartbeatEvent','WECHAT_HAS_BEEN_BOUND','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_commandService','isActive','uni.network.url-service','permission.title','_registerRenderDependencies','univerjs-icon\x20univerjs-icon-','getTypeOfUnitAdded$','M0\x200H16V16H0z','YUUMI_TABLE_NOT_FOUND_IN_UNIT','collab-client.tooltip.reconnect','SNAPSHOT_INVALID_SNAPSHOT','SOCKET_FAILED','_unitStatus','collaboration-client.offline-data-not-saved','searchParams','onRendered','mutations','measureText','selection','syncEditingCollabCursor','SNAPSHOT_HAS_BEEN_REMOVED','getCollabCursors$','_docSkeletonManagerService','roomMembers','isEditing','string','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_injector','purple.300','_httpService','setConfig','pluginName','redoState','post','_textBubble','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','closePath','saveTaskMap','clearInterval','length','_docSkeleton','session.will-retry','_drawAnchor','InsertColCommandId','unitId','newValue','history','path','_backgroundColor','unitID','APPLY_DUPLICATED','_localeService','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','add','_cursors','FromArray','COMPLETION_FINISHED','collabStatus.fetchMiss','UPDATE_CURSOR','EMAIL_VERIFY_CODE_MISMATCH','assignAColorForMemberID','jiqing.500','labelPosition','getStateCache','_cursorInfo$','PY_RUNTIME_SCRIPT_ERROR','_univerInstanceService','on-line-icon','with','collabCursorState$','644590oTMFwy','_removeCollabCursors','FETCH_MISS','findNodePositionByCharIndex','save','attrs','_getSaveTimeout','http://www.w3.org/2000/svg','registerRefRange','transformSelections','map','call','InsertRangeMoveRightCommandId','set','1546857oNwfWS','unload','getMergeData','PENDING','registerRenderModule','colorChannel1','_docTransformSelectionsService','saveImage','LICENSE_MAX_UNITS_EXCEEDED','setStateCache','1em','unsubscribe','_saveTaskMap','_collabCursorState$','_sheetSkeletonManagerService','has','getFocusedUnit','_onCursorDelete','_name','_notificationService','get','random','_range','_configService','top','#FFF','getUnitStatus$','_memberService','LICENSE_IMPORT_SIZE_EXCEEDED','RECT','_assignedColors','_scene','_renderManagerService','setShapeProps','_refRangeService','url(#on-line-icon_clip0_910_349)','_docTransformStateCacheService','transform','round','getValue','ACTIVE_UNIT_EVENT_CHANNEL','replaceState','collaboration.single-unit.warning','univer-mr-2\x20univer-flex\x20univer-text-xl','onTransformChange$','_drawRectRange','rgba(255,\x20255,\x20255,\x200.01)','endRow','_revisionService','_initStatusListener','getUnhiddenWorksheets','replace','YUUMI_RATE_OVER_LIMIT','_render','fillStyle','_updateLocalCursor','text','INVITE_CODE_REQUIRED','onCommandExecuted','_cursor','dispose','entries','subunit','getParam','cursorInfo$','red.300','delete','resize','debug','_initEvent','InsertRangeMoveDownCommandId','APPLY_REJECT','sheetID','invokeId','toRgbString','green.600','_toggleOnline','Unknown\x20user','_collabSessionService','collabStatus.syncing','_selfUnitIDs','setInterval','ranges','show','addEventListener','unit','ticket','transformMutationsWithChangeset','_removeClearOtherTimer','loadUnit','_config','_setupSubUnitSync','currentSkeleton$','sessionStatus$','focused$','unshift','AWAITING','current','_lastPointer','getCellPositionByOffset','Warning','loadOfflineData','on-line-icon_clip0_910_349','getVpScrollXYInfoByPosToVp','from','setAlpha','_startSheetCollabCursor','storage','OFFLINE','concat','CONNECTOR_DATA_TOO_LARGE','YUUMI_AI_RUN_FAILED','includes','collaboration-client-ui.config','getColorFromTheme','complete','addHandlerCallback','key','_urlService','Failed','translate(.97)','_docStateChangeManagerService','url(#off-line-icon_clip0_910_343)','getUnitId'];_0xb77a=function(){return _0x107e0f;};return _0xb77a();}var di={'tag':_0x54b204(0x3ca),'attrs':{'xmlns':_0x54b204(0x293),'fill':'none','viewBox':_0x54b204(0x1e5),'width':'1em','height':_0x54b204(0x2a4)},'children':[{'tag':'g','attrs':{'clipPath':_0x54b204(0x2bd)},'children':[{'tag':_0x54b204(0x275),'attrs':{'stroke':'currentColor','d':_0x54b204(0x212),'strokeLinecap':_0x54b204(0x2c0),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x54b204(0x21b),'attrs':{},'children':[{'tag':_0x54b204(0x396),'attrs':{'id':_0x54b204(0x300)},'children':[{'tag':_0x54b204(0x275),'attrs':{'fill':'white','d':_0x54b204(0x24d),'transform':_0x54b204(0x312)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},Nt=_0x24d212(function(_0x12aa81,_0x3353bd){const _0x559bb7=_0x54b204;return _0x45f75b(ke,Object[_0x559bb7(0x23d)]({},_0x12aa81,{'id':_0x559bb7(0x289),'ref':_0x3353bd,'icon':di}));});Nt[_0x54b204(0x3b2)]=_0x54b204(0x202);function fi(_0x4eecf6){const _0x4ecfb0=_0x54b204;switch(_0x4eecf6){case _0x284bb6['OFFLINE']:return _0x4ecfb0(0x335);case _0x284bb6[_0x4ecfb0(0x37b)]:return _0x4ecfb0(0x228);case _0x284bb6[_0x4ecfb0(0x28e)]:return _0x4ecfb0(0x27f);case _0x284bb6['NOT_COLLAB']:return _0x4ecfb0(0x3ce);case _0x284bb6[_0x4ecfb0(0x2fa)]:case _0x284bb6[_0x4ecfb0(0x3d9)]:return _0x4ecfb0(0x2e9);case _0x284bb6['SYNCED']:case _0x284bb6[_0x4ecfb0(0x29d)]:return'collabStatus.synced';}}function Si(_0x208e80){const _0xa82a03=_0x54b204,{status$:_0x2baefb}=_0x208e80,_0x47c319=_0x7aa4c0(_0x2baefb,_0x284bb6['NOT_COLLAB']),_0x4e33aa=_0x348c8c(_0x38053a),_0x5c6f2d=_0x348c8c(_0x11a03b),_0x713396=_0x47c319!==_0x284bb6[_0xa82a03(0x306)],_0x4aaaf2=_0x4e33aa['t'](fi(_0x47c319)),_0x5a86f3=_0x713396?_0x366760(Nt,{}):_0x366760(Dt,{}),_0x5a0f85=_0x481d84(()=>{_0x713396||_0x5c6f2d['reconnect']();},[_0x713396,_0x5c6f2d]);function _0x109c53(){const _0x38ff7b=_0xa82a03;return _0x4d2601('div',{'className':_0x38ff7b(0x23b),'onClick':_0x5a0f85,'children':[_0x366760('div',{'className':_0x56b7ce(_0x38ff7b(0x2c5),{'univer-text-green-500':_0x713396,'univer-text-red-500':!_0x713396}),'children':_0x5a86f3}),_0x366760(_0x38ff7b(0x33e),{'className':_0x38ff7b(0x269),'children':_0x4aaaf2})]});}return _0x713396?_0x109c53():_0x366760(_0x2f7fc4,{'title':_0x4e33aa['t'](_0xa82a03(0x24f)),'children':_0x109c53()});}var mi=Object[_0x54b204(0x364)],Ii=(_0x55f651,_0x9d51eb,_0x300c19,_0x4f8444)=>{const _0x11a942=_0x54b204;for(var _0x189727=_0x4f8444>0x1?void 0x0:_0x4f8444?mi(_0x9d51eb,_0x300c19):_0x9d51eb,_0x34766a=_0x55f651[_0x11a942(0x26d)]-0x1,_0x1015db;_0x34766a>=0x0;_0x34766a--)(_0x1015db=_0x55f651[_0x34766a])&&(_0x189727=_0x1015db(_0x189727)||_0x189727);return _0x189727;},q=(_0x20223d,_0x1b6d5e)=>(_0x329e07,_0x2c69c6)=>_0x1b6d5e(_0x329e07,_0x2c69c6,_0x20223d);let se=class extends _0x4dbb35{constructor(_0x502de4,_0x22c4d1,_0x137034,_0x1bcc59){const _0x1bedff=_0x54b204;super(),_(this,'_status$',new _0x3e7b98(_0x284bb6[_0x1bedff(0x3d3)])),(this[_0x1bedff(0x288)]=_0x502de4,this[_0x1bedff(0x261)]=_0x22c4d1,this['_collaborationController']=_0x137034,this[_0x1bedff(0x3d6)]=_0x1bcc59,this['_initStatusComponent'](),this[_0x1bedff(0x2cb)]());}[_0x54b204(0x2cb)](){const _0x17e14d=_0x54b204;this[_0x17e14d(0x393)](this[_0x17e14d(0x288)][_0x17e14d(0x2f8)]['pipe'](_0x2ad325(()=>{const _0x77cbd8=_0x17e14d,_0x2aed6c=this[_0x77cbd8(0x288)][_0x77cbd8(0x2aa)]();return _0x2aed6c?this[_0x77cbd8(0x384)][_0x77cbd8(0x3bc)](_0x2aed6c[_0x77cbd8(0x315)]()):_0x4f46b3(null);}),_0x2ad325(_0x30ae94=>_0x30ae94?_0x30ae94[_0x17e14d(0x3d2)]:_0x4f46b3(_0x284bb6[_0x17e14d(0x3d3)])))[_0x17e14d(0x365)](_0x51d94a=>{const _0x4272eb=_0x17e14d;this[_0x4272eb(0x333)][_0x4272eb(0x33c)](_0x51d94a);}));}['_initStatusComponent'](){const _0x34c7f6=_0x54b204;this[_0x34c7f6(0x393)](this[_0x34c7f6(0x3d6)][_0x34c7f6(0x3a7)](_0x3c68b7['HEADER_MENU'],()=>_0x2697c4(vi({'status$':this['_status$'][_0x34c7f6(0x3b7)]()}),this[_0x34c7f6(0x261)])));}};se=Ii([q(0x0,_0x353b09),q(0x1,_0x564dc3(_0x4523b0)),q(0x2,_0x564dc3(_0x519227)),q(0x3,_0x4e8939)],se);function vi(_0x376892){const {status$:_0x4221fa}=_0x376892;return function(){return _0x366760(Si,{'status$':_0x4221fa});};}const Ut=_0x5efefa(_0x54b204(0x248));var gi=Object[_0x54b204(0x364)],pi=(_0x21a41a,_0x58e948,_0x517625,_0x58ddcb)=>{for(var _0x409eaf=_0x58ddcb>0x1?void 0x0:_0x58ddcb?gi(_0x58e948,_0x517625):_0x58e948,_0x2a7791=_0x21a41a['length']-0x1,_0x3f1cfe;_0x2a7791>=0x0;_0x2a7791--)(_0x3f1cfe=_0x21a41a[_0x2a7791])&&(_0x409eaf=_0x3f1cfe(_0x409eaf)||_0x409eaf);return _0x409eaf;},G=(_0x27af90,_0x5bd514)=>(_0x4ca574,_0x1d673f)=>_0x5bd514(_0x4ca574,_0x1d673f,_0x27af90);let ie=class extends _0x1fdcdf{constructor(_0x29e6df,_0xf0230c,_0x4e602f,_0x4d59ee,_0x294e70){const _0x17eab3=_0x54b204;super(),this['_urlService']=_0x29e6df,this[_0x17eab3(0x34b)]=_0xf0230c,this[_0x17eab3(0x246)]=_0x4e602f,this[_0x17eab3(0x1e6)]=_0x4d59ee,_0x294e70?_0x294e70==null||_0x294e70['whenReady']()[_0x17eab3(0x316)](()=>this[_0x17eab3(0x232)]()):(this[_0x17eab3(0x34b)][_0x17eab3(0x2de)](_0x17eab3(0x23e),_0x17eab3(0x1ea)),this['_init']());}async[_0x54b204(0x232)](){const _0x344833=_0x54b204,_0x563252=this[_0x344833(0x310)][_0x344833(0x2d9)](_0x344833(0x2ef)),_0x440ca8=this[_0x344833(0x310)]['getParam'](_0x344833(0x321)),_0x508afa=this[_0x344833(0x310)][_0x344833(0x2d9)](_0x344833(0x2d8));if(!_0x563252||!_0x440ca8){this['_logService'][_0x344833(0x2de)](_0x344833(0x23e),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x5bd414=await this['_dataLoaderService'][_0x344833(0x2f3)](_0x563252,Number(_0x440ca8),_0x508afa);_0x5bd414&&_0x5bd414 instanceof _0x37f166&&this[_0x344833(0x2f5)](_0x5bd414);}async[_0x54b204(0x2f5)](_0x3eb599){const _0x54ba05=_0x54b204;await this[_0x54ba05(0x1ec)](_0x3eb599),_0x3eb599['activeSheet$'][_0x54ba05(0x3cb)](_0x4f79cf(this['dispose$']))['subscribe'](_0xde2c67=>{const _0x1c432d=_0x54ba05;_0xde2c67&&this[_0x1c432d(0x225)](_0xde2c67);}),this[_0x54ba05(0x310)][_0x54ba05(0x395)]['pipe'](_0x4f79cf(this['dispose$']))['subscribe'](()=>this[_0x54ba05(0x1ec)](_0x3eb599));}['_updateURLWithCurrentState'](_0x7b5ff0,_0x307c1d=!0x1){const _0x31053b=_0x54b204,_0x776774=this[_0x31053b(0x310)][_0x31053b(0x2d9)](_0x31053b(0x2d8));_0x7b5ff0['getSheetId']()!==_0x776774&&this['_urlService']['setParam'](_0x31053b(0x2d8),_0x7b5ff0['getSheetId'](),_0x307c1d);}async[_0x54b204(0x1ec)](_0x41bf06){const _0x39e633=_0x54b204;var _0x524c0b;const _0x50ed86=this['_urlService'][_0x39e633(0x2d9)](_0x39e633(0x2d8));if(!_0x50ed86||!_0x41bf06[_0x39e633(0x208)](_0x50ed86)){const _0x4774b3=_0x41bf06[_0x39e633(0x2cc)]()[0x0],_0x1547c4=_0x41bf06[_0x39e633(0x208)](_0x4774b3);if(!_0x1547c4)return;this['_updateURLWithCurrentState'](_0x1547c4,!0x0),await this[_0x39e633(0x246)][_0x39e633(0x218)](_0x2862f7['id'],{'unitId':_0x41bf06['getUnitId'](),'subUnitId':_0x4774b3});return;}((_0x524c0b=_0x41bf06[_0x39e633(0x22f)]())==null?void 0x0:_0x524c0b[_0x39e633(0x354)]())!==_0x50ed86&&await this[_0x39e633(0x246)]['executeCommand'](_0x2862f7['id'],{'unitId':_0x41bf06['getUnitId'](),'subUnitId':_0x50ed86});}};ie=pi([G(0x0,Ut),G(0x1,_0x4ae4b5),G(0x2,_0x627c2a),G(0x3,_0x564dc3(_0x5a3ea7)),G(0x4,_0x12fc0a(_0x192825))],ie);var Ci=Object[_0x54b204(0x364)],Ei=(_0x9d145e,_0x50cd77,_0x2f8bec,_0x4b6caf)=>{const _0x9f627=_0x54b204;for(var _0x40b119=_0x4b6caf>0x1?void 0x0:_0x4b6caf?Ci(_0x50cd77,_0x2f8bec):_0x50cd77,_0x3ef4dc=_0x9d145e[_0x9f627(0x26d)]-0x1,_0x53f2c5;_0x3ef4dc>=0x0;_0x3ef4dc--)(_0x53f2c5=_0x9d145e[_0x3ef4dc])&&(_0x40b119=_0x53f2c5(_0x40b119)||_0x40b119);return _0x40b119;},Je=(_0x44bb9e,_0x19b86b)=>(_0x58a9a0,_0x279055)=>_0x19b86b(_0x58a9a0,_0x279055,_0x44bb9e);let Ne=class extends _0x1fdcdf{constructor(_0x20598d,_0x3abfd1){const _0xae154a=_0x54b204;super(),this[_0xae154a(0x3c7)]=_0x20598d,this[_0xae154a(0x242)]=_0x3abfd1,this[_0xae154a(0x232)]();}[_0x54b204(0x232)](){const _0xfe1e09=_0x54b204,_0x313d37=this;this[_0xfe1e09(0x393)](this[_0xfe1e09(0x3c7)][_0xfe1e09(0x379)]({'onBeforePasteImage':async _0x9706e8=>{const _0x22faf3=_0xfe1e09,_0x2ee162=await _0x313d37[_0x22faf3(0x242)][_0x22faf3(0x2a1)](_0x9706e8);return _0x2ee162?{'source':_0x2ee162['source'],'imageSourceType':_0x2ee162[_0x22faf3(0x362)]}:null;}}));}};Ne=Ei([Je(0x0,_0x1fd62d),Je(0x1,_0x10b012)],Ne);const Ze=[_0x54b204(0x262),_0x54b204(0x283),_0x54b204(0x2e5),_0x54b204(0x2db),_0x54b204(0x3e0),'yellow.400'];class He extends _0x4dbb35{constructor(){const _0x166e34=_0x54b204;super(...arguments),_(this,_0x166e34(0x2b8),new Map()),_(this,_0x166e34(0x36e),0x0);}[_0x54b204(0x282)](_0x1dd792){const _0x4ca58a=_0x54b204;if(this[_0x4ca58a(0x2b8)][_0x4ca58a(0x2a9)](_0x1dd792))return this[_0x4ca58a(0x2b8)]['get'](_0x1dd792);const _0x57d134=Ze[this[_0x4ca58a(0x36e)]];return this[_0x4ca58a(0x36e)]=(this['_colorIndex']+0x1)%Ze[_0x4ca58a(0x26d)],this[_0x4ca58a(0x2b8)][_0x4ca58a(0x299)](_0x1dd792,_0x57d134),_0x57d134;}}function Mt(_0x187e91){const _0x295e65=_0x54b204;let _0x4ddf3e='';for(const _0x582595 of _0x187e91){const {startOffset:_0x14136a,endOffset:_0x529f80,isActive:_0x51c9d1,rangeType:_0x5b4b04,segmentId:_0x4e424e,segmentPage:_0x2e2ae0}=_0x582595;_0x4ddf3e[_0x295e65(0x26d)]&&(_0x4ddf3e+=','),_0x4ddf3e+=_0x14136a+':'+_0x529f80+':'+(_0x51c9d1?'1':'0')+':'+_0x5b4b04+':'+_0x4e424e+':'+_0x2e2ae0;}return _0x4ddf3e;}function Oi(_0x265115){const _0x3589d1=_0x54b204,_0x140c69=_0x265115[_0x3589d1(0x210)](','),_0x2427f4=[];for(const _0x31c4e4 of _0x140c69){const [_0x250c08,_0x102ea5,_0x3538a8,_0x4a34d7,_0x269e90,_0x41e7c4]=_0x31c4e4[_0x3589d1(0x210)](':');_0x2427f4[_0x3589d1(0x226)]({'startOffset':Number(_0x250c08),'endOffset':Number(_0x102ea5),'collapsed':_0x250c08===_0x102ea5,'isActive':_0x3538a8==='1','rangeType':_0x4a34d7===_0x3d8c47['TEXT']?_0x3d8c47['TEXT']:_0x3d8c47[_0x3589d1(0x2b7)],'segmentId':typeof _0x269e90=='string'?String(_0x269e90):'','segmentPage':Number(_0x41e7c4!=null?_0x41e7c4:-0x1)});}return _0x2427f4[_0x3589d1(0x20f)](_0x5a7ae4=>_0x5a7ae4[_0x3589d1(0x247)])||(_0x2427f4[0x0][_0x3589d1(0x247)]=!0x0),_0x2427f4;}class Fe extends _0x1fdcdf{constructor(){const _0x1eb35a=_0x54b204;super(...arguments),_(this,_0x1eb35a(0x2a7),new _0x3e7b98(null)),_(this,_0x1eb35a(0x28b),this[_0x1eb35a(0x2a7)][_0x1eb35a(0x3b7)]());}['syncEditingCollabCursor'](_0x5d2613){const _0x462357=_0x54b204,{unitID:_0xe65d2f,memberID:_0x510c6c,textRanges:_0x418f20}=_0x5d2613,_0x356bf2=Mt(_0x418f20);if(_0x356bf2==='')return;const _0x2b0cad={'unitID':_0xe65d2f,'memberID':_0x510c6c,'selection':_0x356bf2};this[_0x462357(0x2a7)][_0x462357(0x33c)](_0x2b0cad);}}var bi=Object[_0x54b204(0x364)],Ti=(_0xd87a85,_0x35e759,_0x1ed9b5,_0x23f749)=>{const _0x13dcc5=_0x54b204;for(var _0x13bc11=_0x23f749>0x1?void 0x0:_0x23f749?bi(_0x35e759,_0x1ed9b5):_0x35e759,_0x2157b4=_0xd87a85[_0x13dcc5(0x26d)]-0x1,_0x174d9f;_0x2157b4>=0x0;_0x2157b4--)(_0x174d9f=_0xd87a85[_0x2157b4])&&(_0x13bc11=_0x174d9f(_0x13bc11)||_0x13bc11);return _0x13bc11;},P=(_0x3a86cd,_0x1c0d39)=>(_0x39ee57,_0xa7fcee)=>_0x1c0d39(_0x39ee57,_0xa7fcee,_0x3a86cd);const Ri=0x12c,Di=0x64;let Ue=class extends _0x1fdcdf{constructor(_0x4ab751,_0x3b0463,_0x538e5e,_0x535dd9,_0x485c1d,_0xe252d1,_0x476725,_0x505a21,_0x4706b7){const _0x1228a4=_0x54b204;super(),_(this,_0x1228a4(0x3a2),!0x1),_(this,_0x1228a4(0x232),!0x1),_(this,'_cursorInfo$',new _0x3e7b98(new Map())),_(this,'cursorInfo$',this[_0x1228a4(0x286)]['asObservable']()),_(this,'_roomMembers$',new _0x3e7b98([])),_(this,_0x1228a4(0x38e),this[_0x1228a4(0x359)]['pipe'](_0x28b85f(Ri))),_(this,_0x1228a4(0x2d1),_0x417bdc(_0x20ca84=>{const _0x38e372=_0x1228a4,_0x185fc5={'eventID':_0x3334a9[_0x38e372(0x280)],'data':{'unitID':this[_0x38e372(0x277)],'memberID':this[_0x38e372(0x3b5)][_0x38e372(0x1eb)](),'selection':Mt(_0x20ca84)}};this[_0x38e372(0x3b5)]['send'](_0x185fc5,this[_0x38e372(0x277)]);},Di)),(this[_0x1228a4(0x277)]=_0x4ab751,this[_0x1228a4(0x3b5)]=_0x3b0463,this[_0x1228a4(0x261)]=_0x538e5e,this[_0x1228a4(0x35f)]=_0x535dd9,this[_0x1228a4(0x2b5)]=_0x485c1d,this[_0x1228a4(0x39f)]=_0xe252d1,this['_transformService']=_0x476725,this[_0x1228a4(0x288)]=_0x505a21,this[_0x1228a4(0x246)]=_0x4706b7);}get['cursorInfo'](){const _0x2df7f1=_0x54b204;return this[_0x2df7f1(0x286)][_0x2df7f1(0x2c1)]();}get[_0x54b204(0x25d)](){const _0x2ad704=_0x54b204;return this[_0x2ad704(0x359)][_0x2ad704(0x2c1)]();}[_0x54b204(0x2d6)](){const _0x17b936=_0x54b204;super['dispose'](),this[_0x17b936(0x286)][_0x17b936(0x33c)](new Map()),this[_0x17b936(0x286)][_0x17b936(0x30d)](),this[_0x17b936(0x359)][_0x17b936(0x33c)]([]),this[_0x17b936(0x359)]['complete']();}['init'](){const _0x5c3464=_0x54b204;this[_0x5c3464(0x232)]||(this[_0x5c3464(0x232)]=!0x0,this[_0x5c3464(0x3b5)][_0x5c3464(0x2f7)][_0x5c3464(0x3cb)](_0x4f79cf(this[_0x5c3464(0x37f)]))[_0x5c3464(0x365)](_0x469868=>{const _0x3ae0a5=_0x5c3464;_0x469868===_0x3bb8af[_0x3ae0a5(0x1f1)]?this[_0x3ae0a5(0x2e6)]():this[_0x3ae0a5(0x33f)]();}),this['_session'][_0x5c3464(0x3c3)]['pipe'](_0x4f79cf(this['dispose$']))['subscribe'](_0x77e0bc=>{const _0x26b882=_0x5c3464,_0x71b454=_0x77e0bc['eventID'];_0x71b454===_0x3334a9['UPDATE_CURSOR']&&this[_0x26b882(0x21a)](_0x77e0bc),_0x71b454===_0x3334a9[_0x26b882(0x223)]&&this[_0x26b882(0x2ab)](_0x77e0bc);}),this[_0x5c3464(0x393)](this[_0x5c3464(0x246)][_0x5c3464(0x2d4)](_0x35f2b9=>{const _0x1ae7f9=_0x5c3464,_0xcb8bf3=_0x35f2b9[_0x1ae7f9(0x380)];_0xcb8bf3!=null&&this[_0x1ae7f9(0x3a2)]&&_0x35f2b9['id']===_0x43a4e2['id']&&_0xcb8bf3['unitId']===this['unitID']&&_0xcb8bf3[_0x1ae7f9(0x25e)]===!0x1&&_0xcb8bf3[_0x1ae7f9(0x2ec)]['length']>0x0&&this[_0x1ae7f9(0x2d1)](_0xcb8bf3[_0x1ae7f9(0x2ec)]);})),this['_syncEditingCollabCursorService'][_0x5c3464(0x28b)]['pipe'](_0x4f79cf(this[_0x5c3464(0x37f)]))[_0x5c3464(0x365)](_0x48eca6=>{const _0x435edf=_0x5c3464;if((_0x48eca6==null?void 0x0:_0x48eca6[_0x435edf(0x277)])!==this[_0x435edf(0x277)])return;const _0x5c9387={'eventID':_0x3334a9[_0x435edf(0x280)],'data':_0x48eca6};this[_0x435edf(0x21a)](_0x5c9387);}),this[_0x5c3464(0x393)](this[_0x5c3464(0x246)]['onCommandExecuted'](_0x1d1b8a=>{const _0x5d9a5c=_0x5c3464;if(_0x1d1b8a['params']==null)return;const _0x417809=_0x1d1b8a[_0x5d9a5c(0x380)];if(_0x1d1b8a['id']!==_0x5e7f5d['id']||_0x417809[_0x5d9a5c(0x272)]!==this['unitID'])return;const _0x455afa={'id':_0x5d9a5c(0x1ef),'params':_0x417809},_0x4271ae=this['cursorInfo'];for(const [_0x393363,_0x2107f6]of _0x4271ae){const _0x129eb4={'id':_0x5d9a5c(0x1ef),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x2107f6[_0x5d9a5c(0x2ec)]}},_0x59ede1=this[_0x5d9a5c(0x234)][_0x5d9a5c(0x328)](_0x455afa,_0x129eb4,!0x1);if(_0x39527b(_0x59ede1))throw _0x59ede1[_0x5d9a5c(0x3d0)];_0x4271ae[_0x5d9a5c(0x299)](_0x393363,{..._0x2107f6,'ranges':_0x59ede1[_0x5d9a5c(0x3b9)][_0x5d9a5c(0x380)]['textRanges']});}queueMicrotask(()=>{const _0x19b062=_0x5d9a5c;this['_cursorInfo$'][_0x19b062(0x33c)](_0x4271ae);});})));}[_0x54b204(0x21a)](_0xefd4b8){const _0x556d38=_0x54b204;var _0x3b3f68,_0x27beda;const {memberID:_0x45a6b2,selection:_0x3a50b2}=_0xefd4b8[_0x556d38(0x382)],_0x402c30=Oi(_0x3a50b2),_0x10d14c=(_0x27beda=(_0x3b3f68=this[_0x556d38(0x2b5)][_0x556d38(0x238)](this[_0x556d38(0x277)],_0x45a6b2))==null?void 0x0:_0x3b3f68[_0x556d38(0x1e8)])!=null?_0x27beda:_0x556d38(0x2e7),_0x4a9d57={'color':this['_colorAssignService'][_0x556d38(0x282)](_0x45a6b2),'name':_0x10d14c,'ranges':_0x402c30},_0x54ed3c=this['cursorInfo'];_0x54ed3c[_0x556d38(0x299)](_0x45a6b2,_0x4a9d57),this[_0x556d38(0x286)]['next'](_0x54ed3c);}['_onCursorDelete'](_0x4f49c3){const _0x229b89=_0x54b204,{memberID:_0x41cf93}=_0x4f49c3[_0x229b89(0x382)],_0x266f7e=this['cursorInfo'];_0x266f7e[_0x229b89(0x2dc)](_0x41cf93),this['_cursorInfo$'][_0x229b89(0x33c)](_0x266f7e);}[_0x54b204(0x2e6)](){const _0x2e8308=_0x54b204;var _0x35a043;if(this[_0x2e8308(0x3a2)]=!0x0,((_0x35a043=this[_0x2e8308(0x288)][_0x2e8308(0x2aa)]())==null?void 0x0:_0x35a043[_0x2e8308(0x315)]())!==this[_0x2e8308(0x277)])return;const _0x4b18c8=this[_0x2e8308(0x261)][_0x2e8308(0x2ae)](_0x3d26f6)[_0x2e8308(0x1f4)]();Array[_0x2e8308(0x373)](_0x4b18c8)&&_0x4b18c8[_0x2e8308(0x26d)]>0x0&&this[_0x2e8308(0x2d1)](_0x4b18c8);}['_toggleOffline'](){const _0x25093b=_0x54b204;this[_0x25093b(0x3a2)]=!0x1;}};Ue=Ti([P(0x2,_0x564dc3(_0x4523b0)),P(0x3,_0x564dc3(He)),P(0x4,_0x564dc3(_0x5cfe13)),P(0x5,_0x564dc3(Fe)),P(0x6,_0x1dd84e),P(0x7,_0x353b09),P(0x8,_0x627c2a)],Ue);var Ni=Object[_0x54b204(0x364)],Ui=(_0x319c70,_0x331ba9,_0x2a4026,_0x12411d)=>{const _0x310439=_0x54b204;for(var _0x23f864=_0x12411d>0x1?void 0x0:_0x12411d?Ni(_0x331ba9,_0x2a4026):_0x331ba9,_0x4ed57f=_0x319c70[_0x310439(0x26d)]-0x1,_0x4892c7;_0x4ed57f>=0x0;_0x4ed57f--)(_0x4892c7=_0x319c70[_0x4ed57f])&&(_0x23f864=_0x4892c7(_0x23f864)||_0x23f864);return _0x23f864;},x=(_0x1f2766,_0x76f4a2)=>(_0x5b1f3a,_0x12354a)=>_0x76f4a2(_0x5b1f3a,_0x12354a,_0x1f2766);const Mi=0x12c,Li=0x64,Pi=()=>{let _0x4c9229=[],_0x182212=!0x1;return _0x11ab56=>{const _0x56e4d0=_0x1d22;_0x4c9229[_0x56e4d0(0x226)](_0x11ab56),_0x182212||(_0x182212=!0x0,setTimeout(()=>{const _0x1b1257=_0x56e4d0;_0x4c9229[_0x1b1257(0x339)](_0x275609=>_0x275609()),_0x4c9229=[],_0x182212=!0x1;}));};};let Me=class extends _0x1fdcdf{constructor(_0x20ab49,_0x67aa23,_0xf4cd83,_0x5bc940,_0x4aff19,_0x1143ab,_0x13427d,_0x4969ef){const _0x4f22a3=_0x54b204;super(),_(this,_0x4f22a3(0x3a2),!0x1),_(this,'_init',!0x1),_(this,'_cursorInfo$',new _0x3e7b98(new Map())),_(this,'cursorInfo$',this['_cursorInfo$']['asObservable']()),_(this,_0x4f22a3(0x359),new _0x3e7b98([])),_(this,_0x4f22a3(0x38e),this[_0x4f22a3(0x359)][_0x4f22a3(0x3cb)](_0x28b85f(Mi))),_(this,_0x4f22a3(0x2d1),_0x417bdc((_0x169c14,_0x425d4d)=>{const _0x317be5=_0x4f22a3,_0x542de3={'eventID':_0x3334a9[_0x317be5(0x280)],'data':{'unitID':this[_0x317be5(0x277)],'memberID':this[_0x317be5(0x3b5)][_0x317be5(0x1eb)](),'selection':_0x46e175(_0x169c14,_0x425d4d['range'])}};this[_0x317be5(0x3b5)][_0x317be5(0x326)](_0x542de3,this[_0x317be5(0x277)]);},Li)),(this[_0x4f22a3(0x277)]=_0x20ab49,this[_0x4f22a3(0x3b5)]=_0x67aa23,this['_injector']=_0xf4cd83,this[_0x4f22a3(0x35f)]=_0x5bc940,this['_memberService']=_0x4aff19,this[_0x4f22a3(0x288)]=_0x1143ab,this[_0x4f22a3(0x246)]=_0x13427d,this[_0x4f22a3(0x2bc)]=_0x4969ef);}get[_0x54b204(0x3a0)](){const _0x42ffb1=_0x54b204;return this[_0x42ffb1(0x286)][_0x42ffb1(0x2c1)]();}get['roomMembers'](){const _0x102409=_0x54b204;return this[_0x102409(0x359)][_0x102409(0x2c1)]();}[_0x54b204(0x2d6)](){const _0x5af410=_0x54b204;super[_0x5af410(0x2d6)](),this[_0x5af410(0x286)][_0x5af410(0x33c)](new Map()),this[_0x5af410(0x286)][_0x5af410(0x30d)](),this[_0x5af410(0x359)][_0x5af410(0x33c)]([]),this[_0x5af410(0x359)][_0x5af410(0x30d)]();}[_0x54b204(0x3dd)](){const _0x42cf48=_0x54b204;this[_0x42cf48(0x232)]||(this[_0x42cf48(0x232)]=!0x0,this[_0x42cf48(0x3b5)][_0x42cf48(0x2f7)][_0x42cf48(0x3cb)](_0x4f79cf(this['dispose$']))[_0x42cf48(0x365)](_0x3738b5=>{const _0x5749f8=_0x42cf48;_0x3738b5===_0x3bb8af[_0x5749f8(0x1f1)]?this[_0x5749f8(0x2e6)]():this[_0x5749f8(0x33f)]();}),this[_0x42cf48(0x3b5)][_0x42cf48(0x3c3)]['pipe'](_0x4f79cf(this['dispose$']))[_0x42cf48(0x365)](_0x13981a=>{const _0xd7973a=_0x42cf48,_0x32dcbd=_0x13981a['eventID'];_0x32dcbd===_0x3334a9['UPDATE_CURSOR']&&this[_0xd7973a(0x21a)](_0x13981a),_0x32dcbd===_0x3334a9[_0xd7973a(0x223)]&&this[_0xd7973a(0x2ab)](_0x13981a);}),this[_0x42cf48(0x3d5)](),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0xefb30e=>{const _0xb9402=_0x42cf48;if(this[_0xb9402(0x3a2)]&&_0xefb30e['id']===_0x4bd2cd['id']&&_0xefb30e['params'][_0xb9402(0x272)]===this[_0xb9402(0x277)]){const _0x5cd49c=_0xefb30e['params'];this[_0xb9402(0x2d1)](_0x5cd49c['subUnitId'],_0x5cd49c[_0xb9402(0x38f)][0x0]);}})));}[_0x54b204(0x21a)](_0xebdc56){const _0x500f4e=_0x54b204;var _0x21ecb9,_0x1edcde;const {memberID:_0x46ae34,selection:_0x5c7d2f}=_0xebdc56[_0x500f4e(0x382)],{sheetName:_0x1b0274,range:_0x3da786}=_0x17ef00(_0x5c7d2f),_0x26a8a3={'name':(_0x1edcde=(_0x21ecb9=this[_0x500f4e(0x2b5)][_0x500f4e(0x238)](this['unitID'],_0x46ae34))==null?void 0x0:_0x21ecb9['name'])!=null?_0x1edcde:_0x500f4e(0x2e7),'range':this['_getMergeRange'](_0x1b0274,_0x3da786),'sheetID':_0x1b0274,'color':this[_0x500f4e(0x35f)]['assignAColorForMemberID'](_0x46ae34),'selection':_0x5c7d2f},_0x3d82aa=this[_0x500f4e(0x3a0)];_0x3d82aa[_0x500f4e(0x299)](_0x46ae34,_0x26a8a3),this[_0x500f4e(0x286)][_0x500f4e(0x33c)](_0x3d82aa);}[_0x54b204(0x2ab)](_0x2d610e){const _0x426198=_0x54b204,{memberID:_0x4931ab}=_0x2d610e[_0x426198(0x382)],_0x1bdba0=this['cursorInfo'];_0x1bdba0[_0x426198(0x2dc)](_0x4931ab),this[_0x426198(0x286)]['next'](_0x1bdba0);}[_0x54b204(0x1f8)](_0x28180f,_0x5ef73d){const _0x14476b=_0x54b204;var _0x7b4dfb,_0x567a12;const _0x56318c=(_0x567a12=(_0x7b4dfb=this['_univerInstanceService'][_0x14476b(0x349)](this[_0x14476b(0x277)]))==null?void 0x0:_0x7b4dfb[_0x14476b(0x208)](_0x28180f))==null?void 0x0:_0x567a12[_0x14476b(0x29c)]();return(_0x56318c==null?void 0x0:_0x56318c['find'](_0x4cc72d=>_0xcb7282['contains'](_0x4cc72d,_0x5ef73d)))||_0x5ef73d;}[_0x54b204(0x3d5)](){const _0x30f089=_0x54b204,_0xfa7c8e=new _0x1822b0(),_0x20dfe4=Pi(),_0x8e60c9=()=>{const _0xf92ad9=_0x1d22;_0xfa7c8e[_0xf92ad9(0x2d6)]();const _0x1db8b1=(_0x5e72d2,_0x2a61e1,_0x445627,_0x21ab9a)=>{const _0x2a8999=_0xf92ad9;let _0x405d29=[];switch(_0x5e72d2['id']){case _0x1cc113['DeleteRangeMoveLeftCommandId']:{_0x405d29=_0x233278(_0x5e72d2,_0x21ab9a);break;}case _0x1cc113['DeleteRangeMoveUpCommandId']:{_0x405d29=_0x532f16(_0x5e72d2,_0x21ab9a);break;}case _0x1cc113[_0x2a8999(0x271)]:{_0x405d29=_0x22232b(_0x5e72d2,_0x21ab9a);break;}case _0x1cc113[_0x2a8999(0x2e0)]:{_0x405d29=_0x306176(_0x5e72d2,_0x21ab9a);break;}case _0x1cc113[_0x2a8999(0x298)]:{_0x405d29=_0x2593a0(_0x5e72d2,_0x21ab9a);break;}case _0x1cc113[_0x2a8999(0x1fe)]:{_0x405d29=_0x4be3e(_0x5e72d2,_0x21ab9a);break;}case _0x1cc113['MoveRangeCommandId']:{_0x405d29=_0x1883ff(_0x5e72d2,_0x21ab9a);break;}case _0x1cc113[_0x2a8999(0x398)]:{_0x405d29=_0x47f8b9(_0x5e72d2,_0x21ab9a);break;}case _0x1cc113['RemoveRowCommandId']:{_0x405d29=_0x5284a6(_0x5e72d2,_0x21ab9a);break;}}const _0x34a0d5=_0x492b22(_0x405d29,_0x21ab9a),_0x3e2d7e=this[_0x2a8999(0x3a0)][_0x2a8999(0x2ae)](_0x2a61e1);if(_0x3e2d7e&&_0x34a0d5){const _0x38f4b1={..._0x3e2d7e,'range':_0x34a0d5};this[_0x2a8999(0x3a0)][_0x2a8999(0x299)](_0x2a61e1,_0x38f4b1),_0x20dfe4(()=>{const _0x2c65d6=_0x2a8999,_0x114633=this['_refRangeService'][_0x2c65d6(0x294)](_0x34a0d5,_0x4896cf=>(_0x114633[_0x2c65d6(0x2d6)](),_0x1db8b1(_0x4896cf,_0x2a61e1,_0x445627,_0x34a0d5)));_0xfa7c8e[_0x2c65d6(0x27b)](_0x114633);});}return{'redos':[],'undos':[]};};this[_0xf92ad9(0x3a0)][_0xf92ad9(0x339)]((_0x58e196,_0xff0385)=>{const _0x1edb1a=_0xf92ad9,{range:_0xd91d27,sheetID:_0x497de7}=_0x58e196,_0x37fc22=this['_refRangeService'][_0x1edb1a(0x294)](_0xd91d27,_0x346d6b=>(_0x37fc22[_0x1edb1a(0x2d6)](),_0x1db8b1(_0x346d6b,_0xff0385,_0x497de7,_0xd91d27)));_0xfa7c8e[_0x1edb1a(0x27b)](_0x37fc22);});};this['disposeWithMe'](_0x2dce4a(this[_0x30f089(0x286)][_0x30f089(0x365)](()=>{_0x8e60c9();})));}[_0x54b204(0x2e6)](){const _0xf6ca92=_0x54b204;var _0x5acf5e,_0x5c7c28;if(this[_0xf6ca92(0x3a2)]=!0x0,((_0x5acf5e=this[_0xf6ca92(0x288)]['getFocusedUnit']())==null?void 0x0:_0x5acf5e['getUnitId']())!==this[_0xf6ca92(0x277)])return;const _0x4aeb92=(_0x5c7c28=this['_injector'][_0xf6ca92(0x2ae)](_0x43443d)[_0xf6ca92(0x200)]())==null?void 0x0:_0x5c7c28[0x0],_0x2b4314=this['_univerInstanceService']['getCurrentUnitForType'](_0x42b153[_0xf6ca92(0x3a6)])['getActiveSheet']();_0x4aeb92&&_0x2b4314&&this['_updateLocalCursor'](_0x2b4314[_0xf6ca92(0x354)](),_0x4aeb92);}['_toggleOffline'](){const _0x523c80=_0x54b204;this[_0x523c80(0x3a2)]=!0x1;}};Me=Ui([x(0x2,_0x564dc3(_0x4523b0)),x(0x3,_0x564dc3(He)),x(0x4,_0x564dc3(_0x5cfe13)),x(0x5,_0x353b09),x(0x6,_0x627c2a),x(0x7,_0x564dc3(_0x416294))],Me);var wi=Object[_0x54b204(0x364)],Ai=(_0x103f3d,_0x2deb31,_0x504fc7,_0x1ceb3a)=>{const _0x3a94b9=_0x54b204;for(var _0x504361=_0x1ceb3a>0x1?void 0x0:_0x1ceb3a?wi(_0x2deb31,_0x504fc7):_0x2deb31,_0x3e59ff=_0x103f3d[_0x3a94b9(0x26d)]-0x1,_0x4b12fe;_0x3e59ff>=0x0;_0x3e59ff--)(_0x4b12fe=_0x103f3d[_0x3e59ff])&&(_0x504361=_0x4b12fe(_0x504361)||_0x504361);return _0x504361;},me=(_0x337ac8,_0x87479c)=>(_0x207118,_0x3b5a4b)=>_0x87479c(_0x207118,_0x3b5a4b,_0x337ac8);let F=class extends _0x1fdcdf{constructor(_0x1a7de9,_0x39bfcf,_0x3cc409){const _0x5b8fd8=_0x54b204;super(),_(this,_0x5b8fd8(0x21f),new Map()),_(this,_0x5b8fd8(0x39c),new _0x1fd513()),(this[_0x5b8fd8(0x288)]=_0x1a7de9,this[_0x5b8fd8(0x261)]=_0x39bfcf,this['_collabSessionService']=_0x3cc409,this[_0x5b8fd8(0x232)]());}[_0x54b204(0x2d6)](){const _0x3b7ed4=_0x54b204;super[_0x3b7ed4(0x2d6)](),this[_0x3b7ed4(0x39c)][_0x3b7ed4(0x30d)](),this['_entities'][_0x3b7ed4(0x339)](_0x502b85=>_0x502b85[_0x3b7ed4(0x2d6)]());}[_0x54b204(0x25b)](_0x1bc261){const _0x2dc061=_0x54b204;return this[_0x2dc061(0x21f)]['has'](_0x1bc261)?this[_0x2dc061(0x21f)][_0x2dc061(0x2ae)](_0x1bc261)[_0x2dc061(0x2da)]:this['_entityInit$'][_0x2dc061(0x3cb)](_0x5cfdf8(_0x5d8ac0=>_0x5d8ac0[_0x2dc061(0x277)]===_0x1bc261),_0x2ad325(_0x497349=>_0x497349['cursorInfo$']));}['_init'](){const _0x35010f=_0x54b204;this[_0x35010f(0x288)]['getTypeOfUnitAdded$'](_0x42b153['UNIVER_SHEET'])['pipe'](_0x4f79cf(this[_0x35010f(0x37f)]))[_0x35010f(0x365)](async _0x501316=>{const _0x2a794c=_0x35010f,_0x43efa6=_0x501316[_0x2a794c(0x315)](),_0x38ab28=await this[_0x2a794c(0x304)](_0x43efa6);this[_0x2a794c(0x39c)]['next'](_0x38ab28),this[_0x2a794c(0x21f)][_0x2a794c(0x299)](_0x43efa6,_0x38ab28);}),this[_0x35010f(0x288)][_0x35010f(0x24c)](_0x42b153['UNIVER_DOC'])[_0x35010f(0x3cb)](_0x4f79cf(this[_0x35010f(0x37f)]))[_0x35010f(0x3cb)](_0x5cfdf8(_0x5c80b5=>!_0x5c80b5[_0x35010f(0x315)]()[_0x35010f(0x36c)]('__')))[_0x35010f(0x365)](async _0x4435a6=>{const _0x31d305=_0x35010f,_0x35c7e6=_0x4435a6['getUnitId'](),_0xfbcb5a=await this[_0x31d305(0x1f7)](_0x35c7e6);this[_0x31d305(0x39c)][_0x31d305(0x33c)](_0xfbcb5a),this[_0x31d305(0x21f)]['set'](_0x35c7e6,_0xfbcb5a);}),_0x331290(this[_0x35010f(0x288)][_0x35010f(0x355)](_0x42b153['UNIVER_DOC']),this[_0x35010f(0x288)][_0x35010f(0x355)](_0x42b153['UNIVER_SHEET']))[_0x35010f(0x3cb)](_0x4f79cf(this[_0x35010f(0x37f)]))[_0x35010f(0x365)](_0x4f8283=>{const _0x4ac794=_0x35010f,_0x3cfa77=_0x4f8283[_0x4ac794(0x315)](),_0x59144f=this['_entities'][_0x4ac794(0x2ae)](_0x3cfa77);_0x59144f&&(_0x59144f[_0x4ac794(0x2d6)](),this['_entities']['delete'](_0x3cfa77));});}async['_startSheetCollabCursor'](_0x1b3eee){const _0x356578=_0x54b204,_0x1713f5=await this['_collabSessionService'][_0x356578(0x329)](_0x1b3eee),_0x3015b4=this[_0x356578(0x261)][_0x356578(0x3c8)](Me,_0x1b3eee,_0x1713f5);return _0x3015b4[_0x356578(0x3dd)](),_0x3015b4;}async['_startDocCollabCursor'](_0x524685){const _0x1cf8b0=_0x54b204,_0x36cf3f=await this[_0x1cf8b0(0x2e8)][_0x1cf8b0(0x329)](_0x524685),_0x2ec8d5=this[_0x1cf8b0(0x261)][_0x1cf8b0(0x3c8)](Ue,_0x524685,_0x36cf3f);return _0x2ec8d5[_0x1cf8b0(0x3dd)](),_0x2ec8d5;}};F=Ai([me(0x0,_0x353b09),me(0x1,_0x564dc3(_0x4523b0)),me(0x2,_0x564dc3(_0x11a03b))],F);const J=0x14,Qe=0xc8,Ie=0x4,yi=0x5;function $i(_0x4d9cd1,_0xfd3672){const _0x36a4b3=_0x54b204;let {radius:_0x38da6e,width:_0x66bac3,height:_0x477f3d}=_0xfd3672;_0x38da6e=_0x38da6e!=null?_0x38da6e:0x0,_0x66bac3=_0x66bac3!=null?_0x66bac3:0x1e,_0x477f3d=_0x477f3d!=null?_0x477f3d:0x1e;let _0x4c3599=0x0,_0x2d844e=0x0,_0x4e1cd9=0x0;_0x4c3599=_0x2d844e=_0x4e1cd9=Math['min'](_0x38da6e,_0x66bac3/0x2,_0x477f3d/0x2),_0x4d9cd1[_0x36a4b3(0x39e)](),_0x4d9cd1['moveTo'](_0x4c3599,0x0),_0x4d9cd1[_0x36a4b3(0x239)](_0x66bac3-_0x2d844e,0x0),_0x4d9cd1[_0x36a4b3(0x338)](_0x66bac3-_0x2d844e,_0x2d844e,_0x2d844e,Math['PI']*0x3/0x2,0x0,!0x1),_0x4d9cd1[_0x36a4b3(0x239)](_0x66bac3,_0x477f3d-_0x4e1cd9),_0x4d9cd1[_0x36a4b3(0x338)](_0x66bac3-_0x4e1cd9,_0x477f3d-_0x4e1cd9,_0x4e1cd9,0x0,Math['PI']/0x2,!0x1),_0x4d9cd1[_0x36a4b3(0x239)](0x0,_0x477f3d),_0x4d9cd1['lineTo'](0x0,_0x4c3599),_0x4d9cd1[_0x36a4b3(0x338)](_0x4c3599,_0x4c3599,_0x4c3599,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4d9cd1[_0x36a4b3(0x26a)](),_0xfd3672[_0x36a4b3(0x3c0)]&&(_0x4d9cd1[_0x36a4b3(0x290)](),_0x4d9cd1['fillStyle']=_0xfd3672[_0x36a4b3(0x3c0)],_0xfd3672[_0x36a4b3(0x33d)]==='evenodd'?_0x4d9cd1['fill']('evenodd'):_0x4d9cd1[_0x36a4b3(0x3c0)](),_0x4d9cd1[_0x36a4b3(0x378)]());}class ue extends _0x1f7265{constructor(_0x4883f9,_0x29eb7e){const _0x37bb3c=_0x54b204;super(_0x4883f9,_0x29eb7e),_(this,_0x37bb3c(0x3c2)),_(this,_0x37bb3c(0x2d2)),(this[_0x37bb3c(0x3c2)]=_0x29eb7e==null?void 0x0:_0x29eb7e['color'],this[_0x37bb3c(0x2d2)]=_0x29eb7e==null?void 0x0:_0x29eb7e[_0x37bb3c(0x2d2)]);}static['drawWith'](_0xec4467,_0xb69d23){const _0x28a2cc=_0x54b204,{text:_0x4b2882,color:_0x54ecee}=_0xb69d23;_0xec4467[_0x28a2cc(0x290)](),_0xec4467[_0x28a2cc(0x1ff)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x55f1ba=_0xec4467[_0x28a2cc(0x257)](_0x4b2882)['width'],_0x3fb330=Math['min'](_0x55f1ba+0x2*Ie,Qe);$i(_0xec4467,{'height':J,'radius':0x4,'width':_0x3fb330,'fill':_0x54ecee}),_0xec4467[_0x28a2cc(0x2d0)]=_0x28a2cc(0x2b3);const _0x272286=Ie,_0x75ec6b=J-yi,_0x503bbe=Qe-0x2*Ie;if(_0x55f1ba>_0x503bbe){let _0x3e8bfa='',_0x57e05d=0x0;for(const _0x15f93f of _0x4b2882){const _0x41b267=_0xec4467[_0x28a2cc(0x257)](_0x15f93f)['width'];if(_0x57e05d+_0x41b267<=_0x503bbe-_0xec4467[_0x28a2cc(0x257)](_0x28a2cc(0x363))[_0x28a2cc(0x1f0)])_0x3e8bfa+=_0x15f93f,_0x57e05d+=_0x41b267;else{_0x3e8bfa+=_0x28a2cc(0x363);break;}}_0xec4467[_0x28a2cc(0x3ae)](_0x3e8bfa,_0x272286,_0x75ec6b);}else _0xec4467[_0x28a2cc(0x3ae)](_0x4b2882,_0x272286,_0x75ec6b);_0xec4467[_0x28a2cc(0x378)]();}['_draw'](_0x1abcb1){ue['drawWith'](_0x1abcb1,this);}}const ve='collab-text-anchor-',xi='collab-text-range-',Bi=_0x54b204(0x353),K=0x6,ki=1.5,ge=0x4,Hi=1.5,Fi=_0x54b204(0x2c8);class qe{constructor(_0x49f72f,_0x35bf14,_0x53efb4,_0x4cb5e2){const _0x505788=_0x54b204;_(this,_0x505788(0x36f),[]),_(this,'_anchor',null),_(this,_0x505788(0x268),null),_(this,_0x505788(0x1f5),null),_(this,'_hideTimer',null),_(this,_0x505788(0x1e9),null),(this[_0x505788(0x2d5)]=_0x49f72f,this['_scene']=_0x35bf14,this[_0x505788(0x26e)]=_0x53efb4,this[_0x505788(0x397)]=_0x4cb5e2,this[_0x505788(0x2cf)]());}set[_0x54b204(0x1e7)](_0x15159b){const _0x48b61f=_0x54b204;_0x15159b?(this[_0x48b61f(0x1f5)]&&this['_anchorDot'][_0x48b61f(0x215)](),this[_0x48b61f(0x268)]&&this[_0x48b61f(0x268)]['show']()):(this[_0x48b61f(0x1f5)]&&this[_0x48b61f(0x1f5)]['show'](),this[_0x48b61f(0x268)]&&this[_0x48b61f(0x268)]['hide']());}[_0x54b204(0x2d6)](){const _0x41eabf=_0x54b204;for(const _0x527c16 of this[_0x41eabf(0x36f)])_0x527c16[_0x41eabf(0x2d6)]();this[_0x41eabf(0x268)]&&this[_0x41eabf(0x268)][_0x41eabf(0x2d6)](),this[_0x41eabf(0x1f5)]&&this[_0x41eabf(0x1f5)][_0x41eabf(0x2d6)](),this[_0x41eabf(0x386)]&&this[_0x41eabf(0x386)][_0x41eabf(0x2d6)](),this['_eventUnsubscribe']&&this[_0x41eabf(0x1e9)]();}[_0x54b204(0x2cf)](){const _0x3fe254=_0x54b204;var _0x352ef5;const {_docSkeleton:_0xbdcb9e,_document:_0x4525fa}=this,{color:_0x198a48,name:_0xd6e937,ranges:_0xd2136}=this['_cursor'],_0xc9f616=_0x4525fa[_0x3fe254(0x3cc)](),{docsLeft:_0x5e5340,docsTop:_0x144838}=_0xc9f616,_0x4d8ad4=new _0x1fc625(_0xc9f616,_0xbdcb9e);for(const {startOffset:_0x18b85d,endOffset:_0x2141ab,rangeType:_0x2bb39e,segmentId:_0x6fc30b,segmentPage:_0x5ce8cd,collapsed:_0x262b52,isActive:_0x2426ca}of _0xd2136){const _0xa1217f=_0xbdcb9e[_0x3fe254(0x28f)](_0x18b85d,!0x0,_0x6fc30b,_0x5ce8cd);let _0x10a4e0=_0xbdcb9e[_0x3fe254(0x28f)](_0x2141ab,!0x0,_0x6fc30b,_0x5ce8cd);if(_0x10a4e0==null&&(_0x10a4e0=_0xbdcb9e[_0x3fe254(0x28f)](_0x2141ab-0x1,!0x1,_0x6fc30b,_0x5ce8cd)),_0x2426ca){const {contentBoxPointGroup:_0x1a0ae7}=_0x4d8ad4[_0x3fe254(0x371)](_0x10a4e0,_0x10a4e0);if(_0x1a0ae7[_0x3fe254(0x26d)]===0x0)continue;this[_0x3fe254(0x270)](_0x198a48,_0x1a0ae7,_0x5e5340,_0x144838,_0xd6e937),this['_eventUnsubscribe']=this['_handleHover']();}if(_0xa1217f&&_0x10a4e0){if(_0x2bb39e===_0x3d8c47[_0x3fe254(0x2b7)]){const _0x255c96=new _0x38ab7f(_0xc9f616,_0xbdcb9e),{pointGroup:_0x481443}=(_0x352ef5=_0x255c96[_0x3fe254(0x371)](_0xa1217f,_0x10a4e0))!=null?_0x352ef5:{};if(_0x481443==null||_0x481443[_0x3fe254(0x26d)]===0x0)continue;this[_0x3fe254(0x2c7)](_0x198a48,_0x481443,_0x5e5340,_0x144838);}else{if(!_0x262b52){const {borderBoxPointGroup:_0x3ddc38}=_0x4d8ad4[_0x3fe254(0x371)](_0xa1217f,_0x10a4e0);if(_0x3ddc38[_0x3fe254(0x26d)]===0x0)continue;this[_0x3fe254(0x374)](_0x198a48,_0x3ddc38,_0x5e5340,_0x144838);}}}}}['_drawAnchor'](_0x5e959d,_0x217703,_0x4b7b4c,_0x1de049,_0x35ec0c){const _0x3a0bd9=_0x54b204,_0x490bf0=this[_0x3a0bd9(0x3c4)](_0x217703),{left:_0x22d1ce,top:_0x17c0e1,height:_0x3fc056}=_0x490bf0,_0x3687cb=this[_0x3a0bd9(0x348)](),_0x4a0399=Hi/_0x3687cb,_0x2394c4=new _0x598847(ve+_0x1fbd32(K),{'left':_0x22d1ce+_0x4b7b4c-_0x4a0399,'top':_0x17c0e1+_0x1de049,'height':_0x3fc056,'width':ki,'fill':_0x5e959d||_0x20fff4(_0x3554cb['black'],0x0),'strokeWidth':_0x4a0399,'stroke':Fi,'evented':!0x0});this['_anchor']=_0x2394c4,this['_scene'][_0x3a0bd9(0x1ee)](_0x2394c4,_0xe1dd3b);const _0x11a44d=new _0x598847(ve+_0x1fbd32(K),{'left':_0x22d1ce+_0x4b7b4c-_0x4a0399,'top':_0x17c0e1+_0x1de049-ge/0x2,'height':ge,'width':ge,'fill':_0x5e959d||_0x20fff4(_0x3554cb['black'],0x0),'strokeWidth':0x0,'stroke':_0x5e959d||_0x20fff4(_0x3554cb[_0x3a0bd9(0x3ab)],0x0),'evented':!0x1});this['_anchorDot']=_0x11a44d,this[_0x3a0bd9(0x2b9)][_0x3a0bd9(0x1ee)](_0x11a44d,_0xe1dd3b);const _0xf590fe=new ue(ve+_0x1fbd32(K),{'left':_0x22d1ce+_0x4b7b4c-_0x4a0399,'top':_0x17c0e1+_0x1de049-J,'text':_0x35ec0c,'color':_0x5e959d});this['_textBubble']=_0xf590fe,this[_0x3a0bd9(0x2b9)]['addObject'](_0xf590fe,_0xe1dd3b),this[_0x3a0bd9(0x1e7)]=!0x1;}[_0x54b204(0x37a)](){const _0x12d9bf=_0x54b204,_0x161658=this[_0x12d9bf(0x386)][_0x12d9bf(0x1f3)][_0x12d9bf(0x31a)](()=>{this['_hover']=!0x0;}),_0x101642=this['_anchor'][_0x12d9bf(0x330)]['subscribeEvent'](()=>{const _0x256ba7=_0x12d9bf;this[_0x256ba7(0x319)]&&clearTimeout(this[_0x256ba7(0x319)]),this[_0x256ba7(0x319)]=setTimeout(()=>{const _0x16bfb2=_0x256ba7;this[_0x16bfb2(0x1e7)]=!0x1;},0x7d0);});return()=>{const _0x3faf71=_0x12d9bf;_0x161658[_0x3faf71(0x2a5)](),_0x101642['unsubscribe']();};}[_0x54b204(0x374)](_0x347d45,_0x1e1c99,_0x2a4563,_0x55b28c){const _0x30f15f=_0x54b204,_0x47e392=new _0x1fa32a(_0x347d45)[_0x30f15f(0x303)](0.2)[_0x30f15f(0x2e4)](),_0x31e6c9=new _0xa9c792(xi+_0x1fbd32(K),{'pointsGroup':_0x1e1c99,'fill':_0x47e392||_0x20fff4(_0x3554cb[_0x30f15f(0x3ab)],0.2),'left':_0x2a4563,'top':_0x55b28c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x30f15f(0x36f)][_0x30f15f(0x226)](_0x31e6c9),this[_0x30f15f(0x2b9)][_0x30f15f(0x1ee)](_0x31e6c9,_0xe1dd3b);}[_0x54b204(0x2c7)](_0xeaaa4a,_0x5a0d72,_0xa03893,_0x57bb34){const _0x775afd=_0x54b204,_0x2b6cf4=new _0x1fa32a(_0xeaaa4a)[_0x775afd(0x303)](0.2)[_0x775afd(0x2e4)](),_0x3ac0e4=new _0xa9c792(Bi+_0x1fbd32(K),{'pointsGroup':_0x5a0d72,'fill':_0x2b6cf4||_0x20fff4(_0x3554cb[_0x775afd(0x3ab)],0.2),'left':_0xa03893,'top':_0x57bb34,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x775afd(0x36f)][_0x775afd(0x226)](_0x3ac0e4),this[_0x775afd(0x2b9)][_0x775afd(0x1ee)](_0x3ac0e4,_0xe1dd3b);}[_0x54b204(0x3c4)](_0x4851ac){const _0x1748f8=_0x4851ac[0x0],_0x466391=_0x1748f8[0x0],_0x315ecd=_0x1748f8[0x2],{x:_0x2f8c92,y:_0x145d3}=_0x466391,{x:_0x158b46,y:_0x46659a}=_0x315ecd;return{'left':_0x2f8c92,'top':_0x145d3,'width':_0x158b46-_0x2f8c92,'height':_0x46659a-_0x145d3};}[_0x54b204(0x348)](){const _0xa627c6=_0x54b204,{scaleX:_0x34d364,scaleY:_0x44cd85}=this[_0xa627c6(0x2b9)]['getAncestorScale']();return Math[_0xa627c6(0x3cf)](_0x34d364,_0x44cd85);}}var Yi=Object[_0x54b204(0x364)],ji=(_0x472dcb,_0x2b7e28,_0x5372f0,_0x1cbc6f)=>{for(var _0x2c7300=_0x1cbc6f>0x1?void 0x0:_0x1cbc6f?Yi(_0x2b7e28,_0x5372f0):_0x2b7e28,_0x425490=_0x472dcb['length']-0x1,_0x4d27ef;_0x425490>=0x0;_0x425490--)(_0x4d27ef=_0x472dcb[_0x425490])&&(_0x2c7300=_0x4d27ef(_0x2c7300)||_0x2c7300);return _0x2c7300;},ee=(_0x5a7e96,_0x44f9eb)=>(_0x2306fb,_0x32cc6b)=>_0x44f9eb(_0x2306fb,_0x32cc6b,_0x5a7e96);let Le=class extends _0x1fdcdf{constructor(_0x313c4e,_0x40118f,_0x2721c5,_0x3c94ca,_0x11f3df){const _0xf34cce=_0x54b204;super(),_(this,_0xf34cce(0x352),[]),_(this,_0xf34cce(0x27c),[]),(this[_0xf34cce(0x1ed)]=_0x313c4e,this[_0xf34cce(0x25c)]=_0x40118f,this[_0xf34cce(0x3a8)]=_0x2721c5,this[_0xf34cce(0x246)]=_0x3c94ca,this[_0xf34cce(0x331)]=_0x11f3df,this[_0xf34cce(0x232)]());}[_0x54b204(0x232)](){const _0x48b9a0=_0x54b204,_0x15c396=this[_0x48b9a0(0x1ed)]['unitId'],_0x3c972a=this['_docSkeletonManagerService'];this['disposeWithMe'](_0x45bad2([this['_collabCursorController'][_0x48b9a0(0x25b)](_0x15c396),this[_0x48b9a0(0x331)][_0x48b9a0(0x22e)]])['pipe'](_0x510b42(([_0x43042c,_0x37b6e5])=>({'skeleton':_0x3c972a[_0x48b9a0(0x3e2)](),'cursors':[..._0x43042c[_0x48b9a0(0x229)]()]['flatMap'](_0x4d180b=>({..._0x4d180b,'color':this[_0x48b9a0(0x331)][_0x48b9a0(0x30c)](_0x4d180b['color'])}))})))[_0x48b9a0(0x365)](_0x5aad6d=>{const _0xe2716e=_0x48b9a0;if(this[_0xe2716e(0x28d)](),_0x5aad6d){const {skeleton:_0x8551cd,cursors:_0x38d08f}=_0x5aad6d;this[_0xe2716e(0x3b1)](_0x8551cd,_0x38d08f);}})),this[_0x48b9a0(0x344)](),this[_0x48b9a0(0x38c)]();}[_0x54b204(0x3b1)](_0x2578d3,_0x3c52a8){const _0x21ae69=_0x54b204,{scene:_0x3a1274,mainComponent:_0x3eaf92}=this[_0x21ae69(0x1ed)],_0x269ffe=_0x3c52a8[_0x21ae69(0x296)](_0x42383c=>new qe(_0x42383c,_0x3a1274,_0x2578d3,_0x3eaf92));this[_0x21ae69(0x352)]=_0x269ffe,this[_0x21ae69(0x27c)]=_0x3c52a8;}[_0x54b204(0x3da)](){const _0x8354ac=_0x54b204;this[_0x8354ac(0x28d)]();const {scene:_0x164e99,mainComponent:_0x2c512f}=this[_0x8354ac(0x1ed)],_0x2afad6=this[_0x8354ac(0x25c)][_0x8354ac(0x3e2)](),_0x324764=this[_0x8354ac(0x27c)][_0x8354ac(0x296)](_0xea3e54=>new qe(_0xea3e54,_0x164e99,_0x2afad6,_0x2c512f));this[_0x8354ac(0x352)]=_0x324764;}[_0x54b204(0x28d)](){const _0x1488d5=_0x54b204;this[_0x1488d5(0x352)][_0x1488d5(0x339)](_0x5e6480=>_0x5e6480[_0x1488d5(0x2d6)]()),this['_cursorShapes']=[];}[_0x54b204(0x38c)](){const _0x5614fb=_0x54b204,_0xf8a245=[_0x2d89a5['id']];this[_0x5614fb(0x393)](this[_0x5614fb(0x246)][_0x5614fb(0x2d4)](_0x1c8efb=>{const _0x287b91=_0x5614fb;_0xf8a245[_0x287b91(0x30a)](_0x1c8efb['id'])&&_0x1c8efb[_0x287b91(0x380)][_0x287b91(0x272)]===this[_0x287b91(0x1ed)]['unitId']&&this['_refreshCollabCursors']();}));}[_0x54b204(0x344)](){const _0x33f9ef=_0x54b204;this['disposeWithMe'](_0x4bae0f(this[_0x33f9ef(0x1ed)]['engine'][_0x33f9ef(0x2c6)])[_0x33f9ef(0x3cb)](_0x3473bf(_0x50738e=>_0x50738e[_0x33f9ef(0x321)]===_0x332adc[_0x33f9ef(0x2dd)]),_0x4a0314(0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};Le=ji([ee(0x1,_0x564dc3(_0x251911)),ee(0x2,_0x564dc3(F)),ee(0x3,_0x627c2a),ee(0x4,_0x564dc3(_0x5199de))],Le);const Vi=0x1,Wi=1.5;class Xi extends _0x1f7265{constructor(_0x312c81,_0x4b2f6b){const _0x2f099c=_0x54b204;super(_0x312c81,_0x4b2f6b),_(this,'_color'),_(this,'_hovered',!0x1),_(this,_0x2f099c(0x2b0)),_(this,'_name',''),_(this,_0x2f099c(0x207),'top'),_(this,_0x2f099c(0x276)),(_0x4b2f6b&&this[_0x2f099c(0x2bb)](_0x4b2f6b),this[_0x2f099c(0x1f3)]['subscribeEvent'](()=>this[_0x2f099c(0x2bb)]({'hovered':!0x0})),this[_0x2f099c(0x330)][_0x2f099c(0x31a)](()=>this[_0x2f099c(0x2bb)]({'hovered':!0x1})));}[_0x54b204(0x2bb)](_0x518273){const _0x4873e7=_0x54b204;var _0x2d9853,_0x4818bb,_0x1a5b20,_0x46a61f,_0x347b0d,_0x31c4eb;this['_color']=(_0x2d9853=_0x518273[_0x4873e7(0x3c2)])!=null?_0x2d9853:this[_0x4873e7(0x205)],this[_0x4873e7(0x216)]=(_0x4818bb=_0x518273['hovered'])!=null?_0x4818bb:this[_0x4873e7(0x216)],this[_0x4873e7(0x2b0)]=(_0x1a5b20=_0x518273[_0x4873e7(0x388)])!=null?_0x1a5b20:this[_0x4873e7(0x2b0)],this[_0x4873e7(0x2ac)]=(_0x46a61f=_0x518273['name'])!=null?_0x46a61f:this[_0x4873e7(0x2ac)],this[_0x4873e7(0x207)]=(_0x347b0d=_0x518273[_0x4873e7(0x284)])!=null?_0x347b0d:this['_labelPosition'],this[_0x4873e7(0x276)]=(_0x31c4eb=_0x518273['backgroundColor'])!=null?_0x31c4eb:this[_0x4873e7(0x276)],this['transformByState']({'width':_0x518273[_0x4873e7(0x1f0)],'height':_0x518273[_0x4873e7(0x33b)]});}[_0x54b204(0x336)](_0x3792b2){const _0x16cbf7=_0x54b204,{row:_0x476364,column:_0x39f6fe}=_0x3792b2;if(_0x476364>=this['_range']['startRow']&&_0x476364<=this[_0x16cbf7(0x2b0)][_0x16cbf7(0x2c9)]&&_0x39f6fe>=this[_0x16cbf7(0x2b0)]['startColumn']&&_0x39f6fe<=this[_0x16cbf7(0x2b0)][_0x16cbf7(0x37d)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x16cbf7(0x2bb)]({'hovered':!0x1});}['triggerDblclick'](_0x3c2e2d){return!0x1;}[_0x54b204(0x3a3)](_0x55108e){const _0x1fc9b6=_0x54b204;_0x598847['drawWith'](_0x55108e,{'width':this[_0x1fc9b6(0x1f0)],'height':this['height'],'strokeWidth':Wi,'stroke':this[_0x1fc9b6(0x205)],'evented':!0x1,'fill':this[_0x1fc9b6(0x276)]}),this[_0x1fc9b6(0x216)]&&(_0x55108e[_0x1fc9b6(0x290)](),_0x55108e[_0x1fc9b6(0x2bf)](0x1,0x0,0x0,0x1,this[_0x1fc9b6(0x1f0)],this[_0x1fc9b6(0x207)]===_0x1fc9b6(0x394)?0x0:-J),ue['drawWith'](_0x55108e,{'text':this['_name'],'color':this['_color']}),_0x55108e[_0x1fc9b6(0x378)]());}}var Gi=Object['getOwnPropertyDescriptor'],Ki=(_0x12537a,_0x2677c9,_0xba05a2,_0x3580b0)=>{const _0x49bdc0=_0x54b204;for(var _0x265fc3=_0x3580b0>0x1?void 0x0:_0x3580b0?Gi(_0x2677c9,_0xba05a2):_0x2677c9,_0x1231ed=_0x12537a[_0x49bdc0(0x26d)]-0x1,_0x247a61;_0x1231ed>=0x0;_0x1231ed--)(_0x247a61=_0x12537a[_0x1231ed])&&(_0x265fc3=_0x247a61(_0x265fc3)||_0x265fc3);return _0x265fc3;},pe=(_0x5498ba,_0x139c3b)=>(_0x1cf79a,_0x33e3fd)=>_0x139c3b(_0x1cf79a,_0x33e3fd,_0x5498ba);const zi=0x1389;function _0x1d22(_0x44b80b,_0x10816c){const _0xb77a30=_0xb77a();return _0x1d22=function(_0x1d22bd,_0x3e47c0){_0x1d22bd=_0x1d22bd-0x1e5;let _0x30dd95=_0xb77a30[_0x1d22bd];return _0x30dd95;},_0x1d22(_0x44b80b,_0x10816c);}let Pe=class extends _0x1fdcdf{constructor(_0x3c2df6,_0x55b407,_0x5331ef,_0x504d99){const _0x3cacad=_0x54b204;super(),_(this,_0x3cacad(0x27c),new Set()),_(this,_0x3cacad(0x2fc),null),(this['_context']=_0x3c2df6,this['_sheetSkeletonManagerService']=_0x55b407,this['_collabCursorController']=_0x5331ef,this[_0x3cacad(0x331)]=_0x504d99,this[_0x3cacad(0x232)]());}[_0x54b204(0x232)](){const _0x287aef=_0x54b204;this[_0x287aef(0x2a8)]['currentSkeleton$'][_0x287aef(0x3cb)](_0x17b3cc(this[_0x287aef(0x37f)]),_0x3571d7(_0x16d2b8=>{const _0x304f55=_0x287aef;if(_0x16d2b8){const _0x41c553=_0x16d2b8['sheetId'];return _0x45bad2(this[_0x304f55(0x3a8)][_0x304f55(0x25b)](this['_context']['unitId']),this['_themeService']['currentTheme$'])['pipe'](_0x510b42(([_0x41fa12,_0x12685a])=>{const _0x2ad77e=new Map();return _0x41fa12['forEach']((_0x398ec9,_0x24d9f1)=>{const _0xa90cca=_0x1d22;if(_0x398ec9[_0xa90cca(0x2e2)]===_0x41c553){const _0x408dd0={..._0x398ec9};_0x408dd0[_0xa90cca(0x3c2)]=this['_themeService']['getColorFromTheme'](_0x398ec9[_0xa90cca(0x3c2)]),_0x2ad77e[_0xa90cca(0x299)](_0x24d9f1,_0x408dd0);}}),{'skeleton':_0x16d2b8,'cursors':_0x2ad77e};}));}return _0x4f46b3({'skeleton':null,'cursors':new Map()});}))[_0x287aef(0x365)](({skeleton:_0x3313aa,cursors:_0x682e9e})=>{const _0x489f75=_0x287aef;this[_0x489f75(0x28d)](),_0x3313aa&&this['_updateCollabCursors'](_0x3313aa,_0x682e9e);}),this[_0x287aef(0x2a8)][_0x287aef(0x2f6)][_0x287aef(0x365)](_0x44ce9e=>{const _0x520584=_0x287aef;if(_0x44ce9e==null)return;const {skeleton:_0x2b81a9}=_0x44ce9e,{scene:_0x4f9e42}=this[_0x520584(0x1ed)];_0x4f9e42['onPointerMove$']['subscribeEvent'](_0x417bdc(_0x4fd7b3=>{const _0xfac17f=_0x520584;var _0x29e6ab,_0x5e21cf;const {offsetX:_0x36a743,offsetY:_0x5b710f}=_0x4fd7b3,{x:_0x1c3e7d,y:_0x2457e3}=_0x4f9e42[_0xfac17f(0x241)](_0x5ee37d['FromArray']([_0x36a743,_0x5b710f])),{scaleX:_0x231eec,scaleY:_0x53d3bb}=_0x4f9e42['getAncestorScale'](),_0x33d545=_0x4f9e42[_0xfac17f(0x369)](_0x4e6e5c[_0xfac17f(0x399)]),_0x535bae=_0x4f9e42[_0xfac17f(0x301)](_0x5ee37d[_0xfac17f(0x27d)]([_0x1c3e7d,_0x2457e3]),_0x33d545),_0x16c6d2=_0x2b81a9[_0xfac17f(0x2fd)](_0x36a743,_0x5b710f,_0x231eec,_0x53d3bb,_0x535bae);((_0x29e6ab=this[_0xfac17f(0x2fc)])==null?void 0x0:_0x29e6ab[_0xfac17f(0x236)])===_0x16c6d2[_0xfac17f(0x236)]&&((_0x5e21cf=this[_0xfac17f(0x2fc)])==null?void 0x0:_0x5e21cf[_0xfac17f(0x3ac)])===_0x16c6d2[_0xfac17f(0x3ac)]||this['_cursors'][_0xfac17f(0x339)](_0x5bde9e=>{const _0x5b6d14=_0xfac17f;_0x5bde9e[_0x5b6d14(0x336)](_0x16c6d2);});},0x64));});}[_0x54b204(0x3b1)](_0xd19d5e,_0x1a0ecb){const _0x374e5d=_0x54b204;var _0x4b96a7;const _0x5c92af=(_0x4b96a7=this['_sheetSkeletonManagerService'][_0x374e5d(0x3d8)]())==null?void 0x0:_0x4b96a7['skeleton'];if(!_0x5c92af)return;const _0x32f6fe=this[_0x374e5d(0x1fb)]();if(!_0x32f6fe)return;this['_cursors'][_0x374e5d(0x339)](_0x1b8215=>{const _0x14f278=_0x374e5d;_0x1b8215[_0x14f278(0x332)]();});const {scene:_0x175e5c}=_0x32f6fe,_0xb6e60d=Ji(Array[_0x374e5d(0x302)](_0x1a0ecb[_0x374e5d(0x229)]()))[_0x374e5d(0x296)](_0x118e1f=>{const _0x4c58a3=_0x374e5d,{color:_0x451b7c,range:_0x5d2561,name:_0x583b68,selection:_0x43827b,sheetID:_0x16bd95}=_0x118e1f,{startColumn:_0x1e405f,startRow:_0x3f73b7,endColumn:_0x4ebf66,endRow:_0x467ff9}=_0x5d2561,_0x3f7c48=_0x4df0fd(_0x3f73b7,_0x1e405f,_0x175e5c,_0x5c92af),_0x2836f8=_0x4df0fd(_0x467ff9,_0x4ebf66,_0x175e5c,_0x5c92af),{columnHeaderHeightAndMarginTop:_0x4bb8d8}=_0x5c92af,{startX:_0x3ba716,startY:_0x308fdb}=_0x3f7c48,{endX:_0x4b89d9,endY:_0xd6c9dc}=_0x2836f8,_0x26fe26=_0x4b89d9-_0x3ba716,_0x16db5c=_0xd6c9dc-_0x308fdb,_0x3cfc09={'labelPosition':_0x308fdb-_0x4bb8d8>=J?_0x4c58a3(0x2b2):_0x4c58a3(0x394),'sheetID':_0x16bd95,'range':_0x5d2561,'color':_0x451b7c,'name':_0x583b68,'selection':_0x43827b,'left':_0x3ba716,'top':_0x308fdb,'width':_0x26fe26,'height':_0x16db5c,'evented':!0x1,'zIndex':zi};return new Xi(_0x583b68,_0x3cfc09);});_0x175e5c['addObjects'](_0xb6e60d,Vi),this[_0x374e5d(0x27c)]=new Set(_0xb6e60d);}['_removeCollabCursors'](){const _0x1f9151=_0x54b204;var _0x40c4ad;(_0x40c4ad=this[_0x1f9151(0x27c)])==null||_0x40c4ad[_0x1f9151(0x339)](_0x4f0225=>_0x4f0225[_0x1f9151(0x2d6)]());}['_getSheetObject'](){const _0x563b66=_0x54b204;return _0x317b5b(this['_context']['unit'],this[_0x563b66(0x1ed)]);}};Pe=Ki([pe(0x1,_0x564dc3(_0x45f47a)),pe(0x2,_0x564dc3(F)),pe(0x3,_0x564dc3(_0x5199de))],Pe);function Ji(_0x4de5b7){const _0x9d164c=_0x54b204,_0x2a3f6a=new Map();return _0x4de5b7[_0x9d164c(0x339)](_0x4081be=>{const _0x4193f9=_0x9d164c;if(_0x2a3f6a[_0x4193f9(0x2a9)](_0x4081be['selection'])){const _0x488af9=_0x2a3f6a[_0x4193f9(0x2ae)](_0x4081be[_0x4193f9(0x258)]);_0x488af9[_0x4193f9(0x1e8)]+=',\x20'+_0x4081be[_0x4193f9(0x1e8)];}else _0x2a3f6a['set'](_0x4081be[_0x4193f9(0x258)],_0x4081be);}),Array[_0x9d164c(0x302)](_0x2a3f6a[_0x9d164c(0x229)]());}var Zi=Object[_0x54b204(0x364)],Qi=(_0x251736,_0x289ebc,_0xe98784,_0x234128)=>{const _0x36741c=_0x54b204;for(var _0x165890=_0x234128>0x1?void 0x0:_0x234128?Zi(_0x289ebc,_0xe98784):_0x289ebc,_0xe7afcf=_0x251736[_0x36741c(0x26d)]-0x1,_0x1c1415;_0xe7afcf>=0x0;_0xe7afcf--)(_0x1c1415=_0x251736[_0xe7afcf])&&(_0x165890=_0x1c1415(_0x165890)||_0x165890);return _0x165890;},B=(_0x5427aa,_0x5967a2)=>(_0x3867ed,_0x322e06)=>_0x5967a2(_0x3867ed,_0x322e06,_0x5427aa);let ne=class extends _0x4dbb35{constructor(_0x376d50,_0x491e2e,_0x2d1b46,_0x19b90a,_0x41698a,_0x2b7900){const _0x4f545a=_0x54b204;super(),this[_0x4f545a(0x203)]=_0x376d50,this[_0x4f545a(0x23f)]=_0x491e2e,this[_0x4f545a(0x345)]=_0x2d1b46,this[_0x4f545a(0x372)]=_0x19b90a,this[_0x4f545a(0x2ad)]=_0x41698a,this[_0x4f545a(0x279)]=_0x2b7900,this[_0x4f545a(0x3db)](),this[_0x4f545a(0x2df)]();}[_0x54b204(0x3db)](){const _0x4cd82e=_0x54b204;this['disposeWithMe'](this[_0x4cd82e(0x203)]['registerBeforeClose'](()=>{const _0x1271c0=_0x4cd82e;if(this['_localCacheService'][_0x1271c0(0x26b)][_0x1271c0(0x346)])return this[_0x1271c0(0x279)]['t'](_0x1271c0(0x253));}));}['_initEvent'](){const _0x4bc795=_0x54b204;this[_0x4bc795(0x393)](this[_0x4bc795(0x345)][_0x4bc795(0x3c3)]['subscribe'](_0x45c331=>{const _0x224013=_0x4bc795;_0x45c331['id']===_0x176ce1['OTHER_CLIENT_EDITING']&&this[_0x224013(0x372)]['show']({'type':_0x23a90c[_0x224013(0x2fe)],'content':this[_0x224013(0x279)]['t'](_0x224013(0x2c4))}),_0x45c331['id']===_0x176ce1[_0x224013(0x235)]&&this[_0x224013(0x372)][_0x224013(0x2ed)]({'type':_0x23a90c[_0x224013(0x2fe)],'content':this[_0x224013(0x279)]['t'](_0x224013(0x36d))}),_0x45c331['id']===_0x176ce1[_0x224013(0x35e)]&&this['_notificationService'][_0x224013(0x2ed)]({'title':this[_0x224013(0x279)]['t'](_0x224013(0x249)),'content':this[_0x224013(0x279)]['t'](_0x224013(0x375)),'type':'error','duration':0x0}),_0x45c331['id']===_0x176ce1[_0x224013(0x37b)]&&this[_0x224013(0x372)]['show']({'type':_0x23a90c['Error'],'content':this[_0x224013(0x279)]['t'](_0x224013(0x36d))+'('+_0x45c331[_0x224013(0x382)]+')'}),_0x45c331['id']===_0x176ce1[_0x224013(0x31f)]&&this[_0x224013(0x372)]['show']({'type':_0x23a90c[_0x224013(0x2fe)],'content':this[_0x224013(0x279)]['t'](_0x45c331[_0x224013(0x382)]||'')}),_0x45c331['id']===_0x176ce1[_0x224013(0x233)]&&this['_messageService'][_0x224013(0x2ed)]({'type':_0x23a90c[_0x224013(0x2fe)],'content':this[_0x224013(0x279)]['t'](_0x224013(0x26f))}),_0x45c331['id']===_0x176ce1[_0x224013(0x251)]&&this['_messageService'][_0x224013(0x2ed)]({'type':_0x23a90c[_0x224013(0x36b)],'content':this['_localeService']['t'](_0x224013(0x320))}),_0x45c331['id']===_0x176ce1[_0x224013(0x39a)]&&this[_0x224013(0x372)][_0x224013(0x2ed)]({'type':_0x23a90c[_0x224013(0x36b)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};ne=Qi([B(0x0,_0x2d8f77),B(0x1,_0xc48228),B(0x2,_0x564dc3(_0xcfee56)),B(0x3,_0x2dff99),B(0x4,_0x2cfd19),B(0x5,_0x564dc3(_0x38053a))],ne);const qi=_0x54b204(0x30b),et={};var en=Object[_0x54b204(0x364)],tn=(_0x3aad73,_0x10b949,_0x3cd23c,_0x41a191)=>{const _0x184fdf=_0x54b204;for(var _0x22585e=_0x41a191>0x1?void 0x0:_0x41a191?en(_0x10b949,_0x3cd23c):_0x10b949,_0x4c896e=_0x3aad73[_0x184fdf(0x26d)]-0x1,_0x342387;_0x4c896e>=0x0;_0x4c896e--)(_0x342387=_0x3aad73[_0x4c896e])&&(_0x22585e=_0x342387(_0x22585e)||_0x22585e);return _0x22585e;},tt=(_0x21ba8f,_0x2dec03)=>(_0xb5f3d,_0x3d67a2)=>_0x2dec03(_0xb5f3d,_0x3d67a2,_0x21ba8f);let re=class{constructor(_0xad98c,_0x5ba601){const _0x353db6=_0x54b204;this[_0x353db6(0x234)]=_0xad98c,this['_renderManagerService']=_0x5ba601;}[_0x54b204(0x3e5)](_0x1a7c56){const _0x3a7930=_0x54b204;this[_0x3a7930(0x3bb)](_0x1a7c56),this[_0x3a7930(0x3a1)](_0x1a7c56);}['transformRemoteChangeset'](_0x37ec02){const _0x3cb8a6=_0x54b204,{unitID:_0x340c0a}=_0x37ec02,_0x90ab8e=this[_0x3cb8a6(0x2ba)]['getRenderById'](_0x340c0a)[_0x3cb8a6(0x28a)](_0x3763d0),{redoCache:_0x373476}=_0x90ab8e[_0x3cb8a6(0x327)]();if(_0x373476[_0x3cb8a6(0x26d)]===0x0)return _0x37ec02;let _0x153a7a=_0x585ba0[_0x3cb8a6(0x351)](_0x37ec02[_0x3cb8a6(0x256)][0x0]);for(let _0x450595=0x0;_0x450595<_0x373476[_0x3cb8a6(0x26d)];_0x450595++){const _0x1f2340={'id':_0x3cb8a6(0x1ef),'params':{..._0x373476[_0x450595]}},_0xccf9ac=this[_0x3cb8a6(0x234)][_0x3cb8a6(0x328)](_0x153a7a,_0x1f2340,!0x1);if(_0x39527b(_0xccf9ac))throw _0xccf9ac[_0x3cb8a6(0x3d0)];_0x153a7a=_0xccf9ac[_0x3cb8a6(0x38a)];}return{..._0x585ba0['deepClone'](_0x37ec02),'mutations':[_0x153a7a]};}['_transformUndoRedoStack'](_0x6965ad){const _0xde3e66=_0x54b204,{unitID:_0x2a42e9}=_0x6965ad,_0x1bfb74=this[_0xde3e66(0x2ba)][_0xde3e66(0x34c)](_0x2a42e9)[_0xde3e66(0x28a)](_0x3763d0),{undoCache:_0x1d984a,redoCache:_0x51656b}=_0x1bfb74[_0xde3e66(0x327)]();if(_0x1d984a[_0xde3e66(0x26d)]===0x0||_0x51656b[_0xde3e66(0x26d)]===0x0)return;const _0x18d7b4=[],_0x2d2c15=[];let _0x2ccf7d=_0x585ba0[_0xde3e66(0x351)](_0x6965ad['mutations'][0x0]),_0x59e029=_0x585ba0['deepClone'](_0x6965ad['mutations'][0x0]);for(let _0x590c00=_0x1d984a[_0xde3e66(0x26d)]-0x1;_0x590c00>=0x0;_0x590c00--){const _0x415cb4={'id':_0xde3e66(0x1ef),'params':{..._0x1d984a[_0x590c00]}},_0x17f190={'id':_0xde3e66(0x1ef),'params':{..._0x51656b[_0x590c00]}},_0xa5ccf3=this['_transformService'][_0xde3e66(0x328)](_0x2ccf7d,_0x415cb4,!0x1),_0x342e98=this['_transformService']['transformMutation'](_0x59e029,_0x17f190,!0x1);if(_0x39527b(_0xa5ccf3))throw _0xa5ccf3[_0xde3e66(0x3d0)];if(_0x39527b(_0x342e98))throw _0x342e98['error'];_0x18d7b4[_0xde3e66(0x2f9)](_0xa5ccf3[_0xde3e66(0x3b9)][_0xde3e66(0x380)]),_0x2d2c15['unshift'](_0x342e98[_0xde3e66(0x3b9)]['params']),_0x2ccf7d=_0xa5ccf3[_0xde3e66(0x38a)],_0x59e029=_0x342e98[_0xde3e66(0x38a)];}_0x1bfb74['setUndoRedoMutationParamsCache']({'undoCache':_0x18d7b4,'redoCache':_0x2d2c15});}[_0x54b204(0x3a1)](_0xe6896e){const _0x317f95=_0x54b204,{unitID:_0x5649a9}=_0xe6896e,_0x4caf5e=this[_0x317f95(0x2ba)][_0x317f95(0x34c)](_0x5649a9)[_0x317f95(0x28a)](_0x3763d0),_0x159394=_0x4caf5e[_0x317f95(0x220)]();if(_0x159394==null)return;const _0x5eecc7=[{'id':_0x317f95(0x1ef),'params':{'unitId':_0xe6896e[_0x317f95(0x277)],'actions':null,'textRanges':[_0x159394]}}],_0x276b6d=this[_0x317f95(0x234)][_0x317f95(0x2f1)](_0xe6896e,_0x5eecc7);if(!_0xf96115(_0x276b6d))throw _0x276b6d['error'];const _0x28df30=_0x276b6d[_0x317f95(0x3b9)][0x0][_0x317f95(0x380)][_0x317f95(0x3b0)];Array[_0x317f95(0x373)](_0x28df30)&&_0x28df30[_0x317f95(0x26d)]&&_0x4caf5e['setActiveRange'](_0x28df30[0x0]);}};re=tn([tt(0x0,_0x1dd84e),tt(0x1,_0x368abc)],re);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x3afb93,_0x3ee4b5,_0xec8666,_0x170f37)=>{const _0x37fc03=_0x54b204;for(var _0x46758e=_0x170f37>0x1?void 0x0:_0x170f37?sn(_0x3ee4b5,_0xec8666):_0x3ee4b5,_0x2ced77=_0x3afb93[_0x37fc03(0x26d)]-0x1,_0x2d354f;_0x2ced77>=0x0;_0x2ced77--)(_0x2d354f=_0x3afb93[_0x2ced77])&&(_0x46758e=_0x2d354f(_0x46758e)||_0x46758e);return _0x46758e;},Ce=(_0x407e55,_0x205e8e)=>(_0x1cc1d6,_0x4023d5)=>_0x205e8e(_0x1cc1d6,_0x4023d5,_0x407e55);let oe=class{constructor(_0x5ebb70,_0x200bd0,_0x292f80){const _0x1cd40e=_0x54b204;this[_0x1cd40e(0x261)]=_0x5ebb70,this['_transformService']=_0x200bd0,this[_0x1cd40e(0x313)]=_0x292f80;}['transformStateCache'](_0x4ac2b8){this['_transformHistoryAndStateStack'](_0x4ac2b8);}[_0x54b204(0x387)](_0x4afb9b){const _0x77d8fd=_0x54b204,{unitID:_0x5f5cce}=_0x4afb9b,{collaboration:_0x5b3a57}=this[_0x77d8fd(0x313)][_0x77d8fd(0x285)](_0x5f5cce);if(_0x5b3a57[_0x77d8fd(0x26d)]===0x0)return _0x4afb9b;let _0x1feabd=_0x585ba0[_0x77d8fd(0x351)](_0x4afb9b['mutations'][0x0]);for(let _0x2c4708=0x0;_0x2c4708<_0x5b3a57['length'];_0x2c4708++){const _0x377d2b={'id':_0x77d8fd(0x1ef),'params':{'unitId':_0x5b3a57[_0x2c4708][_0x77d8fd(0x272)],..._0x5b3a57[_0x2c4708][_0x77d8fd(0x266)]}},_0x32b67b=this['_transformService'][_0x77d8fd(0x328)](_0x1feabd,_0x377d2b,!0x1);if(_0x39527b(_0x32b67b))throw _0x32b67b[_0x77d8fd(0x3d0)];_0x1feabd=_0x32b67b[_0x77d8fd(0x38a)];}return{..._0x585ba0[_0x77d8fd(0x351)](_0x4afb9b),'mutations':[_0x1feabd]};}[_0x54b204(0x325)](_0x4eb80f){const _0x240cc4=_0x54b204,{unitID:_0x37a7a5}=_0x4eb80f,{history:_0x2403de,collaboration:_0x6c8bb2}=this[_0x240cc4(0x313)][_0x240cc4(0x285)](_0x37a7a5);if(_0x2403de[_0x240cc4(0x26d)]===0x0&&_0x6c8bb2[_0x240cc4(0x26d)]===0x0)return;const _0x856451=[],_0x573049=[];let _0x3fbd8b=_0x585ba0[_0x240cc4(0x351)](_0x4eb80f[_0x240cc4(0x256)][0x0]),_0x5abc6e=_0x585ba0[_0x240cc4(0x351)](_0x4eb80f[_0x240cc4(0x256)][0x0]);for(let _0x5673dd=_0x2403de['length']-0x1;_0x5673dd>=0x0;_0x5673dd--){const _0x25328a={'id':_0x240cc4(0x1ef),'params':{'unitId':_0x2403de[_0x5673dd]['unitId'],..._0x2403de[_0x5673dd][_0x240cc4(0x23c)]}},_0x12bd21={'id':_0x240cc4(0x1ef),'params':{'unitId':_0x2403de[_0x5673dd][_0x240cc4(0x272)],..._0x2403de[_0x5673dd][_0x240cc4(0x266)]}},_0x4c1e72=this[_0x240cc4(0x234)][_0x240cc4(0x328)](_0x3fbd8b,_0x25328a,!0x1),_0x576384=this['_transformService']['transformMutation'](_0x5abc6e,_0x12bd21,!0x1);if(_0x39527b(_0x4c1e72))throw _0x4c1e72[_0x240cc4(0x3d0)];if(_0x39527b(_0x576384))throw _0x576384[_0x240cc4(0x3d0)];_0x856451['unshift']({..._0x2403de[_0x5673dd],'undoState':_0x4c1e72[_0x240cc4(0x3b9)][_0x240cc4(0x380)],'redoState':_0x576384[_0x240cc4(0x3b9)][_0x240cc4(0x380)]}),_0x3fbd8b=_0x4c1e72['m1Prime'],_0x5abc6e=_0x576384[_0x240cc4(0x38a)];}_0x3fbd8b=_0x585ba0[_0x240cc4(0x351)](_0x4eb80f['mutations'][0x0]),_0x5abc6e=_0x585ba0[_0x240cc4(0x351)](_0x4eb80f[_0x240cc4(0x256)][0x0]);for(let _0x15b706=_0x6c8bb2['length']-0x1;_0x15b706>=0x0;_0x15b706--){const _0x3bc5ed={'id':_0x240cc4(0x1ef),'params':{'unitId':_0x6c8bb2[_0x15b706][_0x240cc4(0x272)],..._0x6c8bb2[_0x15b706]['undoState']}},_0x11e069={'id':_0x240cc4(0x1ef),'params':{'unitId':_0x6c8bb2[_0x15b706][_0x240cc4(0x272)],..._0x6c8bb2[_0x15b706]['redoState']}},_0x4cb46d=this['_transformService'][_0x240cc4(0x328)](_0x3fbd8b,_0x3bc5ed,!0x1),_0x161e43=this[_0x240cc4(0x234)][_0x240cc4(0x328)](_0x5abc6e,_0x11e069,!0x1);if(_0x39527b(_0x4cb46d))throw _0x4cb46d['error'];if(_0x39527b(_0x161e43))throw _0x161e43[_0x240cc4(0x3d0)];_0x573049['unshift']({..._0x6c8bb2[_0x15b706],'undoState':_0x4cb46d[_0x240cc4(0x3b9)][_0x240cc4(0x380)],'redoState':_0x161e43[_0x240cc4(0x3b9)][_0x240cc4(0x380)]}),_0x3fbd8b=_0x4cb46d[_0x240cc4(0x38a)],_0x5abc6e=_0x161e43[_0x240cc4(0x38a)];}this['_docStateChangeManagerService'][_0x240cc4(0x2a3)](_0x37a7a5,{'history':_0x856451,'collaboration':_0x573049});}};oe=nn([Ce(0x0,_0x564dc3(_0x4523b0)),Ce(0x1,_0x1dd84e),Ce(0x2,_0x564dc3(_0x1941cb))],oe);var rn=Object['getOwnPropertyDescriptor'],on=(_0x30501a,_0x4cd419,_0x18bd54,_0x4cebf4)=>{const _0x21e31d=_0x54b204;for(var _0x9be75a=_0x4cebf4>0x1?void 0x0:_0x4cebf4?rn(_0x4cd419,_0x18bd54):_0x4cd419,_0x51ecb9=_0x30501a[_0x21e31d(0x26d)]-0x1,_0x100cfd;_0x51ecb9>=0x0;_0x51ecb9--)(_0x100cfd=_0x30501a[_0x51ecb9])&&(_0x9be75a=_0x100cfd(_0x9be75a)||_0x9be75a);return _0x9be75a;},st=(_0x2a9416,_0x21a43f)=>(_0x182213,_0x8457d0)=>_0x21a43f(_0x182213,_0x8457d0,_0x2a9416);let ae=class{constructor(_0xfed155,_0x4b1990){const _0x344b80=_0x54b204;this[_0x344b80(0x261)]=_0xfed155,this[_0x344b80(0x234)]=_0x4b1990;}['transformSelections'](_0x4d2124){const _0x20eed9=_0x54b204;var _0x3df625;const _0x436c5f=this[_0x20eed9(0x261)][_0x20eed9(0x2ae)](_0x3d26f6),_0x1c3336=(_0x3df625=_0x436c5f[_0x20eed9(0x1f4)]())!=null?_0x3df625:[];if(_0x1c3336['length']===0x0)return;const _0x54bd13=_0x4d2124[_0x20eed9(0x277)],_0x11029a=[{'id':_0x20eed9(0x1ef),'params':{'unitId':_0x54bd13,'actions':null,'textRanges':_0x1c3336}}],_0x427bc5=this['_transformService'][_0x20eed9(0x2f1)](_0x4d2124,_0x11029a);if(!_0xf96115(_0x427bc5))throw _0x427bc5['error'];const _0x18aa04=_0x427bc5[_0x20eed9(0x3b9)][0x0]['params'][_0x20eed9(0x3b0)];Array[_0x20eed9(0x373)](_0x18aa04)&&_0x18aa04['length']&&_0x436c5f['replaceDocRanges'](_0x18aa04,{'unitId':_0x54bd13,'subUnitId':_0x54bd13},!0x1);}};ae=on([st(0x0,_0x564dc3(_0x4523b0)),st(0x1,_0x1dd84e)],ae);var an=Object[_0x54b204(0x364)],cn=(_0x1524fa,_0x2935c8,_0x2277b4,_0x4a49e0)=>{const _0x49c92c=_0x54b204;for(var _0x1d1f9c=_0x4a49e0>0x1?void 0x0:_0x4a49e0?an(_0x2935c8,_0x2277b4):_0x2935c8,_0x66e846=_0x1524fa[_0x49c92c(0x26d)]-0x1,_0x290d40;_0x66e846>=0x0;_0x66e846--)(_0x290d40=_0x1524fa[_0x66e846])&&(_0x1d1f9c=_0x290d40(_0x1d1f9c)||_0x1d1f9c);return _0x1d1f9c;},N=(_0x54eb3f,_0x46bf8f)=>(_0x473cc3,_0x350a8f)=>_0x46bf8f(_0x473cc3,_0x350a8f,_0x54eb3f);let ce=class extends _0x4dbb35{constructor(_0x48cac0,_0x473034,_0x286724,_0xb8b7c3,_0x3b0bff,_0x22d0b1,_0x336e97,_0x2a2fe7){const _0x1e6135=_0x54b204;super(),_(this,_0x1e6135(0x333),new _0x3e7b98(_0x284bb6['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0x48cac0,this[_0x1e6135(0x384)]=_0x473034,this['_docTransformIMECacheService']=_0x286724,this[_0x1e6135(0x2be)]=_0xb8b7c3,this[_0x1e6135(0x2a0)]=_0x3b0bff,this['_docSyncEditingCollabCursorService']=_0x22d0b1,this[_0x1e6135(0x372)]=_0x336e97,this[_0x1e6135(0x279)]=_0x2a2fe7,this[_0x1e6135(0x381)]());}[_0x54b204(0x381)](){const _0x25b461=_0x54b204;this[_0x25b461(0x393)](this[_0x25b461(0x384)][_0x25b461(0x32d)]['subscribe'](_0x21cf71=>{const _0x3350fa=_0x25b461,_0x533380=this[_0x3350fa(0x313)]['docStateChange$'][_0x3350fa(0x365)](_0x3ddbd7=>{const _0xba3a2e=_0x3350fa;if(_0x3ddbd7==null)return;const {unitId:_0x11bf1b,redoState:_0x55a926,commandId:_0x1c6e42}=_0x3ddbd7;if(_0x11bf1b!==_0x21cf71['unitID'])return;const _0x2a3bb4={'id':_0x1c6e42,'type':_0xf5ba0e[_0xba3a2e(0x222)],'params':{'unitId':_0x11bf1b,'actions':_0x55a926[_0xba3a2e(0x214)],'textRanges':null}};_0x21cf71['onLocalMutation'](_0x2a3bb4);});if(_0x21cf71[_0x3350fa(0x393)](_0x533380),_0x21cf71 instanceof _0x325b13){const _0x342c0b={'onTransformIME':_0x2bf685=>this['_docTransformIMECacheService'][_0x3350fa(0x3e5)](_0x2bf685),'onTransformState':_0x288ac8=>this[_0x3350fa(0x2be)][_0x3350fa(0x318)](_0x288ac8),'onTransformSelections':_0x45d75a=>this[_0x3350fa(0x2a0)][_0x3350fa(0x295)](_0x45d75a),'onSyncEditingCollabCursor':_0x519153=>this['_docSyncEditingCollabCursorService'][_0x3350fa(0x259)](_0x519153),'onTransformRemoteChangesetByIMECache':_0x9e0f0e=>this['_docTransformIMECacheService'][_0x3350fa(0x387)](_0x9e0f0e),'onTransformRemoteChangesetByStateCache':_0x27d6b3=>this[_0x3350fa(0x2be)][_0x3350fa(0x387)](_0x27d6b3)};_0x21cf71[_0x3350fa(0x30e)](_0x342c0b);}}));}};ce=cn([N(0x0,_0x564dc3(_0x1941cb)),N(0x1,_0x564dc3(_0x519227)),N(0x2,_0x564dc3(re)),N(0x3,_0x564dc3(oe)),N(0x4,_0x564dc3(ae)),N(0x5,_0x564dc3(Fe)),N(0x6,_0x2dff99),N(0x7,_0x564dc3(_0x38053a))],ce);var ln=Object[_0x54b204(0x364)],_n=(_0x526735,_0x5160b0,_0x3dbbc6,_0x18d203)=>{const _0x53697b=_0x54b204;for(var _0x30d2eb=_0x18d203>0x1?void 0x0:_0x18d203?ln(_0x5160b0,_0x3dbbc6):_0x5160b0,_0x1b8a8b=_0x526735[_0x53697b(0x26d)]-0x1,_0x5ce36f;_0x1b8a8b>=0x0;_0x1b8a8b--)(_0x5ce36f=_0x526735[_0x1b8a8b])&&(_0x30d2eb=_0x5ce36f(_0x30d2eb)||_0x30d2eb);return _0x30d2eb;},Ee=(_0x27bae6,_0x1124c)=>(_0x16ffe3,_0x58b666)=>_0x1124c(_0x16ffe3,_0x58b666,_0x27bae6);let we=class extends _0x4dbb35{constructor(_0x1a08e7,_0x5821f9,_0x2e7329){const _0x433813=_0x54b204;super(),_(this,_0x433813(0x3e7),new Map()),_(this,_0x433813(0x2a6),new Map()),_(this,_0x433813(0x213),!0x1),(this[_0x433813(0x2b1)]=_0x1a08e7,this[_0x433813(0x341)]=_0x5821f9,this[_0x433813(0x2ca)]=_0x2e7329);}[_0x54b204(0x3dc)](){const _0x13fba0=_0x54b204;this[_0x13fba0(0x213)]=!0x0;}['enableLocalCache'](){const _0x381cec=_0x54b204;this[_0x381cec(0x213)]=!0x1;}get[_0x54b204(0x26b)](){const _0x410b8d=_0x54b204;return this[_0x410b8d(0x2a6)];}['dispose'](){const _0x5ca27f=_0x54b204;this[_0x5ca27f(0x22a)]()['then'](()=>super[_0x5ca27f(0x2d6)]());}async[_0x54b204(0x2ff)](_0x4cd7ce){const _0x62a55c=_0x54b204;return this[_0x62a55c(0x213)]?null:this['_localStorageService'][_0x62a55c(0x34d)](_0x82b9e6(_0x4cd7ce));}async['saveOfflineData'](_0x56bafd,_0x416743){const _0x527036=_0x54b204;return!!this['_localStorageService'][_0x527036(0x383)](_0x56bafd,_0x416743);}[_0x54b204(0x3df)](_0x5e7ec3,_0x416ea9,_0xc648b6,_0x2240ca){const _0x500ada=_0x54b204,_0x16c6b3=this[_0x500ada(0x2ca)][_0x500ada(0x32f)](_0x5e7ec3);this[_0x500ada(0x3e7)][_0x500ada(0x299)](_0x5e7ec3,{'unitID':_0x5e7ec3,'type':_0x416ea9,'awaitingChangeset':_0xc648b6,'mutations':_0x2240ca,'rev':_0x16c6b3}),this[_0x500ada(0x2a6)][_0x500ada(0x2a9)](_0x5e7ec3)||this[_0x500ada(0x1f9)](_0x5e7ec3);}[_0x54b204(0x1f9)](_0x58347b){const _0xe7ab8b=_0x54b204,_0x4392b4=this[_0xe7ab8b(0x292)]();_0x4392b4===0x0?this[_0xe7ab8b(0x3d7)](_0x58347b):this['_saveTaskMap']['set'](_0x58347b,setTimeout(()=>this[_0xe7ab8b(0x3d7)](_0x58347b),_0x4392b4));}[_0x54b204(0x292)](){var _0x4c43cb;return(_0x4c43cb=this['_configService']['getConfig'](_0x5b5bef))!=null?_0x4c43cb:_0x121e19;}[_0x54b204(0x3d7)](_0x3ab3a4){const _0x37aed3=_0x54b204,_0x2ee07a=this['_saveTaskMap']['get'](_0x3ab3a4);return _0x2ee07a!==void 0x0&&window[_0x37aed3(0x340)](_0x2ee07a),this[_0x37aed3(0x341)][_0x37aed3(0x383)](_0x82b9e6(_0x3ab3a4),this[_0x37aed3(0x3e7)][_0x37aed3(0x2ae)](_0x3ab3a4))['then'](()=>this[_0x37aed3(0x2a6)]['delete'](_0x3ab3a4));}async[_0x54b204(0x22a)](){const _0x73c427=_0x54b204,_0x14b5e9=[];this[_0x73c427(0x2a6)][_0x73c427(0x339)]((_0x15a813,_0x3781eb)=>{const _0x1cd298=_0x73c427;window[_0x1cd298(0x340)](_0x15a813),_0x14b5e9[_0x1cd298(0x226)](this['_saveCache'](_0x3781eb)[_0x1cd298(0x316)](()=>{const _0x3f8a5b=_0x1cd298;this['_saveTaskMap'][_0x3f8a5b(0x2dc)](_0x3781eb);}));}),await Promise[_0x73c427(0x22b)](_0x14b5e9);}};we=_n([Ee(0x0,_0x573d33),Ee(0x1,_0x47cc68),Ee(0x2,_0x564dc3(_0x3dd31c))],we);class hn extends _0x1fdcdf{constructor(){const _0x36e1de=_0x54b204;super(),_(this,_0x36e1de(0x395)),this[_0x36e1de(0x395)]=_0x262a20(window,_0x36e1de(0x209))[_0x36e1de(0x3cb)](_0x4f79cf(this[_0x36e1de(0x37f)]),_0x205ffa(0x1),_0x494858(void 0x0));}[_0x54b204(0x366)](_0x2a15d8,_0x3cc679,_0x2ea547=!0x1){const _0x454a3c=_0x54b204,_0x39b0da=new URL(window[_0x454a3c(0x3aa)]['href']);_0x39b0da[_0x454a3c(0x254)]['set'](_0x2a15d8,_0x3cc679),_0x2ea547?window['history'][_0x454a3c(0x2c3)]('','',_0x39b0da[_0x454a3c(0x1f6)]()):window[_0x454a3c(0x274)]['pushState']('','',_0x39b0da[_0x454a3c(0x1f6)]());}[_0x54b204(0x3bf)](_0x343640,_0x4b85bf=!0x1){const _0x2d7b59=_0x54b204,_0x355d85=new URL(window['location'][_0x2d7b59(0x32a)]);_0x355d85[_0x2d7b59(0x254)][_0x2d7b59(0x2dc)](_0x343640),_0x4b85bf?window[_0x2d7b59(0x274)][_0x2d7b59(0x2c3)]('','',_0x355d85['toString']()):window[_0x2d7b59(0x274)][_0x2d7b59(0x20c)]('','',_0x355d85['toString']());}[_0x54b204(0x2d9)](_0x8556d2){const _0x37e29b=_0x54b204;var _0x40100b;return(_0x40100b=new URL(window[_0x37e29b(0x3aa)][_0x37e29b(0x32a)])[_0x37e29b(0x254)][_0x37e29b(0x2ae)](_0x8556d2))!=null?_0x40100b:void 0x0;}}var un=Object[_0x54b204(0x201)],dn=Object[_0x54b204(0x364)],fn=(_0x2db8de,_0x3f3d00,_0x43a03b)=>_0x3f3d00 in _0x2db8de?un(_0x2db8de,_0x3f3d00,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x43a03b}):_0x2db8de[_0x3f3d00]=_0x43a03b,Sn=(_0x5bd867,_0x2bb96b,_0x4b3b4a,_0x1aa719)=>{for(var _0x3088d9=_0x1aa719>0x1?void 0x0:_0x1aa719?dn(_0x2bb96b,_0x4b3b4a):_0x2bb96b,_0x564783=_0x5bd867['length']-0x1,_0x2599c4;_0x564783>=0x0;_0x564783--)(_0x2599c4=_0x5bd867[_0x564783])&&(_0x3088d9=_0x2599c4(_0x3088d9)||_0x3088d9);return _0x3088d9;},Oe=(_0x34392f,_0x4cdce9)=>(_0x2612f5,_0x25ea53)=>_0x4cdce9(_0x2612f5,_0x25ea53,_0x34392f),mn=(_0x1dcd0a,_0xf9c4ec,_0x3c7c62)=>fn(_0x1dcd0a,_0xf9c4ec+'',_0x3c7c62);const In=_0x54b204(0x20d);let Ae=class extends _0x4bdb08{constructor(_0x4657bf=et,_0x50935c,_0x4e6656,_0x3c35d7){const _0x509f12=_0x54b204;super(),this[_0x509f12(0x2f4)]=_0x4657bf,this[_0x509f12(0x2ba)]=_0x50935c,this[_0x509f12(0x261)]=_0x4e6656,this[_0x509f12(0x2b1)]=_0x3c35d7;const {..._0x4b662f}=_0x86bf59({},et,this[_0x509f12(0x2f4)]);this[_0x509f12(0x2b1)][_0x509f12(0x264)](qi,_0x4b662f);}[_0x54b204(0x3a9)](){const _0x223f35=_0x54b204;this[_0x223f35(0x356)](),this[_0x223f35(0x3e6)]();}[_0x54b204(0x255)](){const _0x202425=_0x54b204;this[_0x202425(0x24a)]();}[_0x54b204(0x356)](){const _0x124f35=_0x54b204;var _0x55b8d0;const _0x5244ec=[[He],[ae],[re],[oe],[Fe],[Ut,{'useClass':hn}],[_0x27e693,{'useClass':_0x3f5e61}],[_0xc48228,{'useClass':we}],[se],[ce],[ne],[F],[Ne],[ie]];_0x1592b2(this[_0x124f35(0x261)],_0x578e71(_0x5244ec,(_0x55b8d0=this['_config'])==null?void 0x0:_0x55b8d0['override']));}[_0x54b204(0x24a)](){const _0x57ecfb=_0x54b204;this[_0x57ecfb(0x393)](this[_0x57ecfb(0x2ba)][_0x57ecfb(0x29e)](_0x42b153[_0x57ecfb(0x35d)],[Le])),this[_0x57ecfb(0x393)](this[_0x57ecfb(0x2ba)][_0x57ecfb(0x29e)](_0x42b153[_0x57ecfb(0x3a6)],[Pe]));}['_initDependencies'](){const _0x219722=_0x54b204;_0x4b7cde(this[_0x219722(0x261)],[[F],[se],[ce],[ne],[ie]]);}};mn(Ae,_0x54b204(0x265),In),Ae=Sn([_0x2c6589(_0x497c5c),Oe(0x1,_0x368abc),Oe(0x2,_0x564dc3(_0x4523b0)),Oe(0x3,_0x573d33)],Ae);var vn=Object[_0x54b204(0x364)],gn=(_0x2ae065,_0x100ef2,_0x18677f,_0x44dedf)=>{const _0x556ba7=_0x54b204;for(var _0x32c148=_0x44dedf>0x1?void 0x0:_0x44dedf?vn(_0x100ef2,_0x18677f):_0x100ef2,_0x37a9ea=_0x2ae065[_0x556ba7(0x26d)]-0x1,_0x51a446;_0x37a9ea>=0x0;_0x37a9ea--)(_0x51a446=_0x2ae065[_0x37a9ea])&&(_0x32c148=_0x51a446(_0x32c148)||_0x32c148);return _0x32c148;},z=(_0x14a81d,_0x5c027b)=>(_0x1e56e0,_0x121866)=>_0x5c027b(_0x1e56e0,_0x121866,_0x14a81d);let it=class extends _0x121e68{constructor(_0x294574,_0x4f292e,_0x1c0e6e,_0x37ceea,_0xb3e6cd){super(_0x294574,_0x4f292e,_0x1c0e6e,_0x37ceea,_0xb3e6cd);}async[_0x54b204(0x392)](_0x326e4c){const _0x57e9d9=_0x54b204,_0x25a3ee=await this[_0x57e9d9(0x240)](),_0xfbbebc=this[_0x57e9d9(0x38b)](_0x326e4c,_0x25a3ee);return this[_0x57e9d9(0x21d)](_0xfbbebc);}['_createSocketURL'](_0x9af818,_0x5ed63c){const _0x5c97d5=_0x54b204,_0xd012ef=typeof window>'u'?new URL(_0x9af818):new URL(_0x9af818,window['location'][_0x5c97d5(0x385)]);_0xd012ef['searchParams'][_0x5c97d5(0x299)](_0x5c97d5(0x211),_0x5ed63c);const _0x9f52fa=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5c97d5(0x3aa)][_0x5c97d5(0x3b6)]);return _0x9f52fa[_0x5c97d5(0x2ae)]('runId')&&_0xd012ef[_0x5c97d5(0x254)][_0x5c97d5(0x299)](_0x5c97d5(0x3c6),_0x9f52fa['get'](_0x5c97d5(0x3c6))),_0xd012ef[_0x5c97d5(0x1f6)]();}async[_0x54b204(0x240)](){const _0x50d177=_0x54b204;var _0x364d07,_0xfdde66,_0x191e9e;const _0x1936b2=this['_configService'][_0x50d177(0x3a4)](_0x1151cd),_0x3332d9=(_0x364d07=_0x1936b2==null?void 0x0:_0x1936b2[_0x50d177(0x3c5)])!=null?_0x364d07:_0x22d252;return(_0x191e9e=(_0xfdde66=(await this[_0x50d177(0x263)]['get'](_0x3332d9,{'headers':{'Content-Type':_0x50d177(0x224)}}))[_0x50d177(0x358)])==null?void 0x0:_0xfdde66[_0x50d177(0x2f0)])!=null?_0x191e9e:'';}};it=gn([z(0x0,_0x564dc3(_0x4523b0)),z(0x1,_0x564dc3(_0x3b42d9)),z(0x2,_0x573d33),z(0x3,_0x4ae4b5),z(0x4,_0x3ddf6b)],it);var Lt=(_0x5f333b=>(_0x5f333b[_0x5f333b[_0x54b204(0x347)]=0x0]=_0x54b204(0x347),_0x5f333b[_0x5f333b['OK']=0x1]='OK',_0x5f333b[_0x5f333b[_0x54b204(0x3ba)]=0x2]='INTERNAL_ERROR',_0x5f333b[_0x5f333b[_0x54b204(0x35e)]=0x3]=_0x54b204(0x35e),_0x5f333b[_0x5f333b[_0x54b204(0x3b4)]=0x4]=_0x54b204(0x3b4),_0x5f333b[_0x5f333b[_0x54b204(0x1fc)]=0x5]=_0x54b204(0x1fc),_0x5f333b[_0x5f333b[_0x54b204(0x20a)]=0x6]=_0x54b204(0x20a),_0x5f333b[_0x5f333b[_0x54b204(0x33a)]=0x7]='INVALID_ARGUMENT',_0x5f333b[_0x5f333b[_0x54b204(0x3e1)]=0x8]=_0x54b204(0x3e1),_0x5f333b[_0x5f333b[_0x54b204(0x27e)]=0x9]=_0x54b204(0x27e),_0x5f333b[_0x5f333b[_0x54b204(0x37e)]=0xa]=_0x54b204(0x37e),_0x5f333b[_0x5f333b['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x54b204(0x343),_0x5f333b[_0x5f333b[_0x54b204(0x27a)]=0xc]=_0x54b204(0x27a),_0x5f333b[_0x5f333b[_0x54b204(0x281)]=0xd]=_0x54b204(0x281),_0x5f333b[_0x5f333b['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x5f333b[_0x5f333b[_0x54b204(0x227)]=0x1389]=_0x54b204(0x227),_0x5f333b[_0x5f333b[_0x54b204(0x250)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x5f333b[_0x5f333b[_0x54b204(0x25a)]=0x1772]=_0x54b204(0x25a),_0x5f333b[_0x5f333b[_0x54b204(0x350)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x5f333b[_0x5f333b[_0x54b204(0x2e1)]=0x1b59]=_0x54b204(0x2e1),_0x5f333b[_0x5f333b[_0x54b204(0x39d)]=0x1b5a]=_0x54b204(0x39d),_0x5f333b[_0x5f333b['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x5f333b[_0x5f333b[_0x54b204(0x37c)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x5f333b[_0x5f333b['APPLY_DUPLICATED']=0x1b5d]=_0x54b204(0x278),_0x5f333b[_0x5f333b[_0x54b204(0x308)]=0x1f41]=_0x54b204(0x308),_0x5f333b[_0x5f333b[_0x54b204(0x2a2)]=0x2329]=_0x54b204(0x2a2),_0x5f333b[_0x5f333b['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x5f333b[_0x5f333b[_0x54b204(0x2b6)]=0x232b]=_0x54b204(0x2b6),_0x5f333b[_0x5f333b['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x5f333b[_0x5f333b['LICENSE_DISTRO_REJECTED']=0x232d]=_0x54b204(0x1fd),_0x5f333b[_0x5f333b['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x54b204(0x324),_0x5f333b[_0x5f333b[_0x54b204(0x3de)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x5f333b[_0x5f333b['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x54b204(0x2ce),_0x5f333b[_0x5f333b[_0x54b204(0x36a)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x5f333b[_0x5f333b[_0x54b204(0x32e)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x5f333b[_0x5f333b[_0x54b204(0x32b)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x5f333b[_0x5f333b[_0x54b204(0x24e)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x5f333b[_0x5f333b[_0x54b204(0x31c)]=0x271d]=_0x54b204(0x31c),_0x5f333b[_0x5f333b[_0x54b204(0x245)]=0x271e]=_0x54b204(0x245),_0x5f333b[_0x5f333b[_0x54b204(0x309)]=0x271f]=_0x54b204(0x309),_0x5f333b[_0x5f333b['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x5f333b[_0x5f333b[_0x54b204(0x287)]=0x2af9]=_0x54b204(0x287),_0x5f333b[_0x5f333b[_0x54b204(0x389)]=0x2ee1]=_0x54b204(0x389),_0x5f333b[_0x5f333b[_0x54b204(0x3e3)]=0x2ee2]='INVALID_INVITE_CODE',_0x5f333b[_0x5f333b[_0x54b204(0x2d3)]=0x2ee3]=_0x54b204(0x2d3),_0x5f333b[_0x5f333b[_0x54b204(0x322)]=0x2ee4]=_0x54b204(0x322),_0x5f333b[_0x5f333b[_0x54b204(0x34a)]=0x2ee5]=_0x54b204(0x34a),_0x5f333b[_0x5f333b[_0x54b204(0x244)]=0x32c9]=_0x54b204(0x244),_0x5f333b[_0x5f333b[_0x54b204(0x217)]=0x32ca]=_0x54b204(0x217),_0x5f333b[_0x5f333b[_0x54b204(0x21c)]=0x32cb]=_0x54b204(0x21c),_0x5f333b[_0x5f333b[_0x54b204(0x377)]=-0x1]='UNRECOGNIZED',_0x5f333b))(Lt||{}),pn=Object[_0x54b204(0x364)],Cn=(_0x34e350,_0x3daa41,_0x345a7c,_0x44a906)=>{for(var _0x807a1a=_0x44a906>0x1?void 0x0:_0x44a906?pn(_0x3daa41,_0x345a7c):_0x3daa41,_0x1f109f=_0x34e350['length']-0x1,_0x3822de;_0x1f109f>=0x0;_0x1f109f--)(_0x3822de=_0x34e350[_0x1f109f])&&(_0x807a1a=_0x3822de(_0x807a1a)||_0x807a1a);return _0x807a1a;},be=(_0x8dc4fa,_0x1746f0)=>(_0x1240ff,_0x1d09b8)=>_0x1746f0(_0x1240ff,_0x1d09b8,_0x8dc4fa);let nt=class extends _0x4dbb35{constructor(_0x459348,_0x2a447b,_0x253ff8){const _0x42fb68=_0x54b204;super(),this[_0x42fb68(0x337)]=_0x459348,this[_0x42fb68(0x263)]=_0x2a447b,this['_configService']=_0x253ff8;}async['runOnServer'](_0x2836dd,_0x28c13f,_0xabe230,..._0x16dc8a){const _0x555817=_0x54b204;var _0x4185ea,_0x56600f,_0x1f171f,_0xa52776;const _0x58ec00=this[_0x555817(0x337)][_0x555817(0x2aa)]();if(!_0x58ec00)throw new Error(_0x555817(0x260));const _0x56dc75=((_0x4185ea=this[_0x555817(0x2b1)]['getConfig'](_0x2fb49f))!=null?_0x4185ea:_0x3173a9)+'/'+_0x2836dd+_0x555817(0x23a)+_0x28c13f,_0x45cd60=new URL(window['location']['href']),_0x4f08ee={'scriptId':_0x2836dd,'runId':(_0x56600f=_0x45cd60[_0x555817(0x254)][_0x555817(0x2ae)]('runId'))!=null?_0x56600f:'','function':_0x28c13f,'unitId':_0x58ec00[_0x555817(0x315)](),'argsOfFunction':JSON[_0x555817(0x219)](_0x16dc8a),'invokeId':(_0x1f171f=_0xabe230[_0x555817(0x2e3)])!=null?_0x1f171f:'','executionId':(_0xa52776=_0xabe230[_0x555817(0x34f)])!=null?_0xa52776:''};try{const _0x222b64=await this[_0x555817(0x263)][_0x555817(0x267)](_0x56dc75,{'body':_0x4f08ee});return _0x222b64[_0x555817(0x358)]['error']&&_0x222b64[_0x555817(0x358)][_0x555817(0x3d0)]['code']!==Lt['OK']?_0x555817(0x311):_0x222b64[_0x555817(0x358)][_0x555817(0x22d)];}catch{return _0x555817(0x311);}}};nt=Cn([be(0x0,_0x353b09),be(0x1,_0x564dc3(_0x3b42d9)),be(0x2,_0x573d33)],nt);const rt=0x7530,ot=_0x54b204(0x2c2);class Fn extends _0x4dbb35{constructor(){const _0x546688=_0x54b204;super(),_(this,_0x546688(0x3cd),_0x1fbd32()),_(this,'_selfUnitIDs',new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x546688(0x3d1),null),_(this,'_clearOtherTimers',new Map()),_(this,_0x546688(0x252),new Map()),this[_0x546688(0x232)]();}[_0x54b204(0x2d6)](){const _0x4a888b=_0x54b204;super[_0x4a888b(0x2d6)](),this[_0x4a888b(0x35b)][_0x4a888b(0x339)]((_0x53b1f9,_0x3c2c06)=>this[_0x4a888b(0x2f2)](_0x3c2c06)),this[_0x4a888b(0x3d1)]&&window[_0x4a888b(0x26c)](this[_0x4a888b(0x3d1)]);}[_0x54b204(0x2b4)](_0x1be4e6){const _0x503cb1=_0x54b204;return this[_0x503cb1(0x342)](_0x1be4e6)[_0x503cb1(0x3cb)](_0x29eedb());}[_0x54b204(0x20e)](_0x469c30){const _0x45a08e=_0x54b204;this[_0x45a08e(0x2ea)][_0x45a08e(0x346)]===0x0&&this[_0x45a08e(0x3be)](),this['_selfUnitIDs'][_0x45a08e(0x27b)](_0x469c30),this[_0x45a08e(0x237)]({'type':0x0,'memberID':this[_0x45a08e(0x3cd)],'unitIDs':[_0x469c30],'isForwarded':!0x1});}[_0x54b204(0x21e)](_0x502663){const _0xfd206e=_0x54b204;this[_0xfd206e(0x2ea)][_0xfd206e(0x2dc)](_0x502663),this['_selfUnitIDs'][_0xfd206e(0x346)]===0x0&&this['_heartbeatTimer']&&window[_0xfd206e(0x26c)](this[_0xfd206e(0x3d1)]);}['_init'](){const _0x327f5b=_0x54b204;this[_0x327f5b(0x393)](_0x2dce4a(_0x262a20(window,_0x327f5b(0x305))[_0x327f5b(0x365)](_0x4d126e=>{const _0x2649d0=_0x327f5b;if(_0x4d126e[_0x2649d0(0x30f)]!==ot||!_0x4d126e[_0x2649d0(0x273)])return;const _0xc458dc=JSON['parse'](_0x4d126e[_0x2649d0(0x273)]);this['_handleEvent'](_0xc458dc);}))),window[_0x327f5b(0x2ee)](_0x327f5b(0x29b),()=>this[_0x327f5b(0x237)]({'type':0x1,'memberID':this[_0x327f5b(0x3cd)],'unitIDs':Array[_0x327f5b(0x302)](this[_0x327f5b(0x2ea)])}));}['_handleEvent'](_0x1aa990){const _0x5ea7c4=_0x54b204;switch(_0x1aa990[_0x5ea7c4(0x321)]){case 0x0:this[_0x5ea7c4(0x361)](_0x1aa990);break;case 0x1:this[_0x5ea7c4(0x35a)](_0x1aa990);break;case 0x2:this[_0x5ea7c4(0x243)](_0x1aa990);break;}}[_0x54b204(0x361)](_0x25d5b4){const _0x1bfd9c=_0x54b204,{unitIDs:_0x4d32ba,memberID:_0xecc5e7,isForwarded:_0x22c06c}=_0x25d5b4;_0x4d32ba[_0x1bfd9c(0x339)](_0x21cb46=>{const _0x5ad525=_0x1bfd9c;if(!_0x22c06c&&this[_0x5ad525(0x38d)][_0x5ad525(0x2a9)](_0x21cb46)&&this[_0x5ad525(0x342)](_0x21cb46)[_0x5ad525(0x33c)](_0x3320c8[_0x5ad525(0x3bd)]),!this[_0x5ad525(0x38d)]['has'](_0x21cb46)||!this['_unitOnClients'][_0x5ad525(0x2ae)](_0x21cb46)[_0x5ad525(0x2a9)](_0xecc5e7)){const _0x452156=this[_0x5ad525(0x38d)][_0x5ad525(0x2ae)](_0x21cb46)||new Set();_0x452156[_0x5ad525(0x27b)](_0xecc5e7),this[_0x5ad525(0x38d)][_0x5ad525(0x299)](_0x21cb46,_0x452156),this[_0x5ad525(0x22c)](_0xecc5e7);}}),_0x22c06c||this[_0x1bfd9c(0x237)]({'type':0x0,'memberID':this[_0x1bfd9c(0x3cd)],'unitIDs':[...this[_0x1bfd9c(0x2ea)]],'isForwarded':!0x0});}[_0x54b204(0x22c)](_0x1ed849){const _0x3e6566=_0x54b204;this[_0x3e6566(0x2f2)](_0x1ed849);const _0x38b855=window[_0x3e6566(0x3ad)](()=>{const _0x2363ec=_0x3e6566;this['_unitOnClients'][_0x2363ec(0x339)](_0x5014ec=>{_0x5014ec['delete'](_0x1ed849);});},rt*0x2);this['_clearOtherTimers'][_0x3e6566(0x299)](_0x1ed849,_0x38b855);}[_0x54b204(0x2f2)](_0x1cb09a){const _0x8bb562=_0x54b204;if(this[_0x8bb562(0x35b)]['has'](_0x1cb09a)){const _0x44872b=this[_0x8bb562(0x35b)]['get'](_0x1cb09a);_0x44872b&&window[_0x8bb562(0x340)](_0x44872b),this[_0x8bb562(0x35b)][_0x8bb562(0x299)](_0x1cb09a,null);}}[_0x54b204(0x35a)](_0x24e860){const _0x2281b3=_0x54b204,{memberID:_0x3a8022,unitIDs:_0x423ea6}=_0x24e860;_0x423ea6[_0x2281b3(0x339)](_0x52634d=>{const _0x54b7f1=_0x2281b3;var _0x3b1dac;const _0x42e71f=this[_0x54b7f1(0x38d)][_0x54b7f1(0x2ae)](_0x52634d);_0x42e71f&&(_0x42e71f[_0x54b7f1(0x2dc)](_0x3a8022),(_0x3b1dac=this['_ensureSubject'](_0x52634d))==null||_0x3b1dac[_0x54b7f1(0x33c)](_0x42e71f[_0x54b7f1(0x346)]===0x0?_0x3320c8[_0x54b7f1(0x317)]:_0x3320c8[_0x54b7f1(0x3bd)]));}),this[_0x2281b3(0x2f2)](_0x3a8022);}[_0x54b204(0x243)](_0x298dc4){const _0x337161=_0x54b204;this[_0x337161(0x22c)](_0x298dc4[_0x337161(0x230)]);}[_0x54b204(0x237)](_0x4cfb74){const _0x2f1cd3=_0x54b204;localStorage['setItem'](ot,JSON[_0x2f1cd3(0x219)](_0x4cfb74));}[_0x54b204(0x3be)](){const _0x2de570=_0x54b204;this[_0x2de570(0x3d1)]=window[_0x2de570(0x2eb)](()=>{const _0x29cad8=_0x2de570;this['_send']({'type':0x2,'memberID':this[_0x29cad8(0x3cd)]});},rt);}[_0x54b204(0x342)](_0x2f2013){const _0x591c47=_0x54b204;return this[_0x591c47(0x252)]['has'](_0x2f2013)||this[_0x591c47(0x252)][_0x591c47(0x299)](_0x2f2013,new _0x3e7b98(_0x3320c8[_0x591c47(0x317)])),this[_0x591c47(0x252)][_0x591c47(0x2ae)](_0x2f2013);}}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 _0x514347=_0x35fb;(function(_0xeae832,_0x173efa){const _0x532538=_0x35fb,_0x1a8fbf=_0xeae832();while(!![]){try{const _0x46d369=-parseInt(_0x532538(0x2a4))/0x1*(-parseInt(_0x532538(0x2f6))/0x2)+parseInt(_0x532538(0x372))/0x3+parseInt(_0x532538(0x1b8))/0x4+parseInt(_0x532538(0x2e0))/0x5+parseInt(_0x532538(0x294))/0x6*(parseInt(_0x532538(0x204))/0x7)+-parseInt(_0x532538(0x309))/0x8+parseInt(_0x532538(0x2b0))/0x9*(-parseInt(_0x532538(0x25d))/0xa);if(_0x46d369===_0x173efa)break;else _0x1a8fbf['push'](_0x1a8fbf['shift']());}catch(_0x373e55){_0x1a8fbf['push'](_0x1a8fbf['shift']());}}}(_0x434e,0x25b35));var xt=Object[_0x514347(0x348)],Bt=(_0x2113ad,_0x17d3c0,_0x3cab4c)=>_0x17d3c0 in _0x2113ad?xt(_0x2113ad,_0x17d3c0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3cab4c}):_0x2113ad[_0x17d3c0]=_0x3cab4c,_=(_0x10ffdc,_0x47115b,_0x1eccf8)=>Bt(_0x10ffdc,typeof _0x47115b!=_0x514347(0x2d8)?_0x47115b+'':_0x47115b,_0x1eccf8);import{jsx as _0x241ebd,jsxs as _0x2e3114}from'react/jsx-runtime';import{CollaborationStatus as _0x7e6acb,CollaborationSessionService as _0x228e1a,CollaborationController as _0x4755ac,DataLoaderService as _0x35603b,MemberService as _0x22285b,SessionStatus as _0x3bf1d3,ILocalCacheService as _0x3ff8d0,CollaborationUIEventService as _0x2c15d7,CollaborationUIEventId as _0x1b6ac4,DocCollaborationEntity as _0x1abf4f,getLocalCacheKey as _0x4c201a,LOCAL_CACHE_INTERVAL as _0x2ea309,LOCAL_CACHE_INTERVAL_KEY as _0x5e3c4a,UniverCollaborationClientPlugin as _0x3500cc,CollaborationSocketService as _0x171668,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x478aeb,DEFAULT_WS_SESSION_TICKET_URL as _0xe45bc,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x2c641c,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x29344e,UnitStatus as _0x391b6b}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x3b8afc,IUniverInstanceService as _0x2ec70f,Inject as _0x199102,Injector as _0x5d1904,Disposable as _0x6ab83e,createIdentifier as _0x22e32a,ILogService as _0x486f03,ICommandService as _0x4aa35c,Optional as _0x48c07a,RxDisposable as _0x5941cc,Workbook as _0x6c7551,DOC_RANGE_TYPE as _0xdb047a,debounce as _0x445839,Rectangle as _0x503653,DisposableCollection as _0x50ae4a,toDisposable as _0xe19ae0,UniverInstanceType as _0x50b062,generateRandomId as _0x5b1fc8,COLORS as _0xa2a834,ColorKit as _0x3dcd36,ThemeService as _0x26ae7b,fromEventSubject as _0x351fdd,Tools as _0x5cbd6f,CommandType as _0x48577c,IConfigService as _0xf9f7e9,ILocalStorageService as _0x3edc7c,DependentOn as _0x22f470,Plugin as _0x466099,merge as _0x4798ee,registerDependencies as _0x314f5a,mergeOverrideWithDependencies as _0x31d61b,touchDependencies as _0xba5b39}from'@univerjs/core';import{useObservable as _0x45ee4d,useDependency as _0xdaf22b,IUIPartsService as _0x5d1cd3,BuiltInUIPart as _0xa65074,connectInjector as _0x4a0881,IBeforeCloseService as _0x4b1f08,IMessageService as _0x109eea,INotificationService as _0x293e66}from'@univerjs/ui';import{BehaviorSubject as _0x59c4e2,switchMap as _0x5a40db,of as _0x1b6305,takeUntil as _0x2a9ca9,debounceTime as _0x4aee69,Subject as _0x1cd852,filter as _0x479930,merge as _0x1aaa82,combineLatest as _0x4488ec,fromEvent as _0xd74d5e,shareReplay as _0x4d209a,mapTo as _0x362984,distinctUntilChanged as _0x450ef9}from'rxjs';import{Tooltip as _0x5d4720,clsx as _0x4378ff,MessageType as _0x4f1e2f}from'@univerjs/design';import{forwardRef as _0x2d95dd,useRef as _0x5c6741,createElement as _0x475a59,useCallback as _0xd11756}from'react';import{IRemoteInstanceService as _0x52f403}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x312fec,RefRangeService as _0x281dd2,SetSelectionsOperation as _0x6be0d3,SheetsSelectionsService as _0x287ba4,EffectRefRangId as _0xaf06b7,handleIRemoveRow as _0x452a56,handleIRemoveCol as _0x2ba05e,handleMoveRange as _0x26f0df,handleInsertRow as _0x22be95,handleInsertRangeMoveRight as _0x59b37f,handleInsertRangeMoveDown as _0x893dc6,handleInsertCol as _0x5195a7,handleDeleteRangeMoveUp as _0x440073,handleDeleteRangeMoveLeft as _0x13f0f1,runRefRangeMutations as _0x433c69}from'@univerjs/sheets';import{Shape as _0x2682e9,Rect as _0x5e8da8,getColor as _0x49efb5,RegularPolygon as _0x5c8d28,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x3e91fc,Vector2 as _0x1f58d4,SHEET_VIEWPORT_KEY as _0x25adba,IRenderManagerService as _0x253730}from'@univerjs/engine-render';import{ISocketService as _0x25eca7,WebSocketService as _0x44a48c,HTTPService as _0x327d2c}from'@univerjs/network';import{IDocClipboardService as _0x3033e1,NodePositionConvertToCursor as _0x1f4925,NodePositionConvertToRectRange as _0x407b5b,TEXT_RANGE_LAYER_INDEX as _0x5256d3,SetDocZoomRatioOperation as _0x3aeea9,DocIMEInputManagerService as _0x5a8ec3,DocStateChangeManagerService as _0x453065}from'@univerjs/docs-ui';import{IImageIoService as _0x39a295}from'@univerjs/drawing';import{ITransformService as _0x46ccb6,CollaborationEvent as _0x46fd0c,isTransformMutationFailure as _0x182c42,isTransformMutationsWithChangesetSuccess as _0xd59276,RevisionService as _0x20fce4,ISnapshotServerService as _0x2f32c1}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x4cdb54,RichTextEditingMutation as _0x6d60ad,DocSelectionManagerService as _0x563f76,DocSkeletonManagerService as _0x12095e}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x2eff64,serializeRangeWithSheet as _0x40f921}from'@univerjs/engine-formula';import{map as _0x118565,filter as _0x518d2c,throttleTime as _0x5956fc,takeUntil as _0x46e1fd,switchMap as _0x46a48d}from'rxjs/operators';import{SheetSkeletonManagerService as _0x2909e7,getCoordByCell as _0x5d9dd9,getSheetObject as _0x3e1e6c}from'@univerjs/sheets-ui';var v=function(){const _0x524bb8=_0x514347;return v=Object[_0x524bb8(0x307)]||function(_0x28c6a1){const _0x2e533e=_0x524bb8;for(var _0x3c0c3f,_0x2159e6=0x1,_0x5da988=arguments[_0x2e533e(0x374)];_0x2159e6<_0x5da988;_0x2159e6++){_0x3c0c3f=arguments[_0x2159e6];for(var _0x51dfb0 in _0x3c0c3f)Object['prototype'][_0x2e533e(0x19a)]['call'](_0x3c0c3f,_0x51dfb0)&&(_0x28c6a1[_0x51dfb0]=_0x3c0c3f[_0x51dfb0]);}return _0x28c6a1;},v[_0x524bb8(0x1f9)](this,arguments);},ci=function(_0x41fc2a,_0x5cc52c){const _0x262ac8=_0x514347;var _0x44885d={};for(var _0x257222 in _0x41fc2a)Object[_0x262ac8(0x261)][_0x262ac8(0x19a)][_0x262ac8(0x24e)](_0x41fc2a,_0x257222)&&_0x5cc52c['indexOf'](_0x257222)<0x0&&(_0x44885d[_0x257222]=_0x41fc2a[_0x257222]);if(_0x41fc2a!=null&&typeof Object[_0x262ac8(0x2c2)]==_0x262ac8(0x2cb)){for(var _0x1934ac=0x0,_0x257222=Object[_0x262ac8(0x2c2)](_0x41fc2a);_0x1934ac<_0x257222[_0x262ac8(0x374)];_0x1934ac++)_0x5cc52c['indexOf'](_0x257222[_0x1934ac])<0x0&&Object['prototype'][_0x262ac8(0x315)][_0x262ac8(0x24e)](_0x41fc2a,_0x257222[_0x1934ac])&&(_0x44885d[_0x257222[_0x1934ac]]=_0x41fc2a[_0x257222[_0x1934ac]]);}return _0x44885d;},ke=_0x2d95dd(function(_0x2d93a2,_0x26937f){const _0x126ad2=_0x514347;var _0x4186f9=_0x2d93a2['icon'],_0x18b089=_0x2d93a2['id'],_0x45dd95=_0x2d93a2[_0x126ad2(0x251)],_0x4969ac=_0x2d93a2[_0x126ad2(0x362)],_0x4e9535=ci(_0x2d93a2,[_0x126ad2(0x1c7),'id',_0x126ad2(0x251),_0x126ad2(0x362)]),_0xf9d758=_0x126ad2(0x2fb)[_0x126ad2(0x35b)](_0x18b089,'\x20')[_0x126ad2(0x35b)](_0x45dd95||'')[_0x126ad2(0x2f0)](),_0xc392a1=_0x5c6741('_'[_0x126ad2(0x35b)](hi()));return Rt(_0x4186f9,''[_0x126ad2(0x35b)](_0x18b089),{'defIds':_0x4186f9[_0x126ad2(0x19e)],'idSuffix':_0xc392a1['current']},v({'ref':_0x26937f,'className':_0xf9d758},_0x4e9535),_0x4969ac);});function Rt(_0x3f6603,_0x30654a,_0x3dd06a,_0x1f4b1f,_0x58706d){const _0x1a02fa=_0x514347;return _0x475a59(_0x3f6603[_0x1a02fa(0x310)],v(v({'key':_0x30654a},li(_0x3f6603,_0x3dd06a,_0x58706d)),_0x1f4b1f),(_i(_0x3f6603,_0x3dd06a)['children']||[])[_0x1a02fa(0x27f)](function(_0x1ff9bd,_0x669cf2){const _0x289f29=_0x1a02fa;return Rt(_0x1ff9bd,''[_0x289f29(0x35b)](_0x30654a,'-')[_0x289f29(0x35b)](_0x3f6603[_0x289f29(0x310)],'-')[_0x289f29(0x35b)](_0x669cf2),_0x3dd06a,void 0x0,_0x58706d);}));}function li(_0x457da2,_0x1b5db3,_0x3af6ce){const _0x325908=_0x514347;var _0x16cc1b=v({},_0x457da2['attrs']);_0x3af6ce!=null&&_0x3af6ce[_0x325908(0x1b5)]&&_0x16cc1b[_0x325908(0x28c)]===_0x325908(0x1b5)&&(_0x16cc1b['fill']=_0x3af6ce[_0x325908(0x1b5)]),_0x457da2[_0x325908(0x310)]===_0x325908(0x340)&&_0x16cc1b['id']&&(_0x16cc1b['id']=_0x16cc1b['id']+_0x1b5db3[_0x325908(0x2ec)]),Object[_0x325908(0x1dd)](_0x16cc1b)[_0x325908(0x2fa)](function(_0x4d5896){const _0x4b164a=_0x325908;var _0x3e552f=_0x4d5896[0x0],_0x587ebb=_0x4d5896[0x1];_0x3e552f===_0x4b164a(0x340)&&typeof _0x587ebb==_0x4b164a(0x2fc)&&(_0x16cc1b[_0x3e552f]=_0x587ebb['replace'](/url\(#(.*)\)/,_0x4b164a(0x34b)[_0x4b164a(0x35b)](_0x1b5db3[_0x4b164a(0x2ec)],')')));});var _0x100bd4=_0x1b5db3[_0x325908(0x19e)];return!_0x100bd4||_0x100bd4[_0x325908(0x374)]===0x0||(_0x457da2[_0x325908(0x310)]==='use'&&_0x16cc1b[_0x325908(0x1e6)]&&(_0x16cc1b['xlink:href']=_0x16cc1b['xlink:href']+_0x1b5db3[_0x325908(0x2ec)]),Object[_0x325908(0x1dd)](_0x16cc1b)[_0x325908(0x2fa)](function(_0x50e39c){const _0x28daa6=_0x325908;var _0x365c7f=_0x50e39c[0x0],_0xcacfd9=_0x50e39c[0x1];typeof _0xcacfd9==_0x28daa6(0x2fc)&&(_0x16cc1b[_0x365c7f]=_0xcacfd9[_0x28daa6(0x21b)](/url\(#(.*)\)/,'url(#$1'[_0x28daa6(0x35b)](_0x1b5db3[_0x28daa6(0x2ec)],')')));})),_0x16cc1b;}function _i(_0x3b4195,_0x231e9a){const _0x3afbbd=_0x514347;var _0x124362,_0x8ea9fb=_0x231e9a[_0x3afbbd(0x19e)];return!_0x8ea9fb||_0x8ea9fb[_0x3afbbd(0x374)]===0x0?_0x3b4195:_0x3b4195[_0x3afbbd(0x310)]==='defs'&&(!((_0x124362=_0x3b4195[_0x3afbbd(0x291)])===null||_0x124362===void 0x0)&&_0x124362[_0x3afbbd(0x374)])?v(v({},_0x3b4195),{'children':_0x3b4195[_0x3afbbd(0x291)][_0x3afbbd(0x27f)](function(_0x144db8){const _0x501a04=_0x3afbbd;return typeof _0x144db8[_0x501a04(0x1a3)]['id']==_0x501a04(0x2fc)&&_0x8ea9fb&&_0x8ea9fb[_0x501a04(0x257)](_0x144db8['attrs']['id'])?v(v({},_0x144db8),{'attrs':v(v({},_0x144db8[_0x501a04(0x1a3)]),{'id':_0x144db8[_0x501a04(0x1a3)]['id']+_0x231e9a[_0x501a04(0x2ec)]})}):_0x144db8;})}):_0x3b4195;}function hi(){const _0x454e23=_0x514347;return Math[_0x454e23(0x186)]()['toString'](0x24)[_0x454e23(0x335)](0x2,0x8);}ke['displayName']=_0x514347(0x2b4);var ui={'tag':_0x514347(0x2cd),'attrs':{'xmlns':_0x514347(0x338),'fill':_0x514347(0x2d0),'viewBox':_0x514347(0x2d4),'width':_0x514347(0x32a),'height':_0x514347(0x32a)},'children':[{'tag':'g','attrs':{'clipPath':_0x514347(0x2f7)},'children':[{'tag':'path','attrs':{'stroke':_0x514347(0x377),'d':_0x514347(0x33b),'strokeLinecap':_0x514347(0x296),'strokeLinejoin':_0x514347(0x296),'strokeWidth':1.2}}]},{'tag':_0x514347(0x242),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x514347(0x27d)},'children':[{'tag':_0x514347(0x361),'attrs':{'fill':'white','d':_0x514347(0x32b)}}]}]}],'defIds':[_0x514347(0x27d)]},Dt=_0x2d95dd(function(_0x3af98b,_0x5d5442){const _0xf98757=_0x514347;return _0x475a59(ke,Object[_0xf98757(0x307)]({},_0x3af98b,{'id':'off-line-icon','ref':_0x5d5442,'icon':ui}));});Dt[_0x514347(0x19f)]='OffLineIcon';var di={'tag':_0x514347(0x2cd),'attrs':{'xmlns':_0x514347(0x338),'fill':_0x514347(0x2d0),'viewBox':_0x514347(0x252),'width':_0x514347(0x32a),'height':_0x514347(0x32a)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x514347(0x361),'attrs':{'stroke':_0x514347(0x377),'d':_0x514347(0x249),'strokeLinecap':_0x514347(0x296),'strokeLinejoin':_0x514347(0x296),'strokeWidth':1.2}}]},{'tag':_0x514347(0x242),'attrs':{},'children':[{'tag':_0x514347(0x182),'attrs':{'id':_0x514347(0x23c)},'children':[{'tag':'path','attrs':{'fill':_0x514347(0x1a1),'d':_0x514347(0x32b),'transform':_0x514347(0x1cf)}}]}]}],'defIds':[_0x514347(0x23c)]},Nt=_0x2d95dd(function(_0x356ba7,_0x429797){const _0x460ba7=_0x514347;return _0x475a59(ke,Object[_0x460ba7(0x307)]({},_0x356ba7,{'id':_0x460ba7(0x300),'ref':_0x429797,'icon':di}));});Nt[_0x514347(0x19f)]='OnLineIcon';function fi(_0x566e58){const _0x37464e=_0x514347;switch(_0x566e58){case _0x7e6acb[_0x37464e(0x2a2)]:return _0x37464e(0x2b7);case _0x7e6acb[_0x37464e(0x1d2)]:return _0x37464e(0x201);case _0x7e6acb['FETCH_MISS']:return _0x37464e(0x27c);case _0x7e6acb[_0x37464e(0x337)]:return _0x37464e(0x26c);case _0x7e6acb[_0x37464e(0x260)]:case _0x7e6acb[_0x37464e(0x1f1)]:return _0x37464e(0x2dd);case _0x7e6acb[_0x37464e(0x364)]:case _0x7e6acb[_0x37464e(0x287)]:return _0x37464e(0x22e);}}function Si(_0x173df7){const _0x14a429=_0x514347,{status$:_0x3fbad0}=_0x173df7,_0xfb7cfb=_0x45ee4d(_0x3fbad0,_0x7e6acb[_0x14a429(0x337)]),_0x187ca2=_0xdaf22b(_0x3b8afc),_0x4b77e0=_0xdaf22b(_0x228e1a),_0x322c5a=_0xfb7cfb!==_0x7e6acb[_0x14a429(0x2a2)],_0x26de4f=_0x187ca2['t'](fi(_0xfb7cfb)),_0x11e4cd=_0x322c5a?_0x241ebd(Nt,{}):_0x241ebd(Dt,{}),_0x85bd7c=_0xd11756(()=>{const _0x20f6f0=_0x14a429;_0x322c5a||_0x4b77e0[_0x20f6f0(0x2c0)]();},[_0x322c5a,_0x4b77e0]);function _0x39cbc9(){const _0x5309d6=_0x14a429;return _0x2e3114(_0x5309d6(0x2af),{'className':_0x5309d6(0x1c4),'onClick':_0x85bd7c,'children':[_0x241ebd(_0x5309d6(0x2af),{'className':_0x4378ff(_0x5309d6(0x359),{'univer-text-green-500':_0x322c5a,'univer-text-red-500':!_0x322c5a}),'children':_0x11e4cd}),_0x241ebd(_0x5309d6(0x2af),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x26de4f})]});}return _0x322c5a?_0x39cbc9():_0x241ebd(_0x5d4720,{'title':_0x187ca2['t'](_0x14a429(0x1a4)),'children':_0x39cbc9()});}var mi=Object[_0x514347(0x190)],Ii=(_0x1d4fe9,_0x5b96d7,_0x54b5f6,_0x402c18)=>{for(var _0x4b0104=_0x402c18>0x1?void 0x0:_0x402c18?mi(_0x5b96d7,_0x54b5f6):_0x5b96d7,_0x31be76=_0x1d4fe9['length']-0x1,_0x19a45f;_0x31be76>=0x0;_0x31be76--)(_0x19a45f=_0x1d4fe9[_0x31be76])&&(_0x4b0104=_0x19a45f(_0x4b0104)||_0x4b0104);return _0x4b0104;},q=(_0x172a22,_0x2c1fad)=>(_0x497efb,_0xea7efb)=>_0x2c1fad(_0x497efb,_0xea7efb,_0x172a22);let se=class extends _0x6ab83e{constructor(_0x17be61,_0x4d5533,_0x427844,_0x2ad9c2){const _0x54e902=_0x514347;super(),_(this,'_status$',new _0x59c4e2(_0x7e6acb[_0x54e902(0x337)])),(this['_univerInstanceService']=_0x17be61,this['_injector']=_0x4d5533,this[_0x54e902(0x1f8)]=_0x427844,this[_0x54e902(0x286)]=_0x2ad9c2,this[_0x54e902(0x2d6)](),this['_initStatusListener']());}[_0x514347(0x37a)](){const _0x1c4c0a=_0x514347;this['disposeWithMe'](this[_0x1c4c0a(0x25b)][_0x1c4c0a(0x1fc)][_0x1c4c0a(0x27a)](_0x5a40db(()=>{const _0x53a754=_0x1c4c0a,_0x1b5f5e=this[_0x53a754(0x25b)][_0x53a754(0x20f)]();return _0x1b5f5e?this[_0x53a754(0x1f8)]['getCollabEntity$'](_0x1b5f5e[_0x53a754(0x37d)]()):_0x1b6305(null);}),_0x5a40db(_0xb849d8=>_0xb849d8?_0xb849d8[_0x1c4c0a(0x18d)]:_0x1b6305(_0x7e6acb[_0x1c4c0a(0x337)])))[_0x1c4c0a(0x2f5)](_0x476526=>{const _0x3b60f8=_0x1c4c0a;this[_0x3b60f8(0x199)][_0x3b60f8(0x376)](_0x476526);}));}[_0x514347(0x2d6)](){const _0x15a5e2=_0x514347;this[_0x15a5e2(0x266)](this['_uiPartsService'][_0x15a5e2(0x2b8)](_0xa65074[_0x15a5e2(0x30c)],()=>_0x4a0881(vi({'status$':this[_0x15a5e2(0x199)]['asObservable']()}),this[_0x15a5e2(0x1d4)])));}};se=Ii([q(0x0,_0x2ec70f),q(0x1,_0x199102(_0x5d1904)),q(0x2,_0x199102(_0x4755ac)),q(0x3,_0x5d1cd3)],se);function vi(_0x1b521d){const {status$:_0xc623d2}=_0x1b521d;return function(){return _0x241ebd(Si,{'status$':_0xc623d2});};}const Ut=_0x22e32a('uni.network.url-service');var gi=Object[_0x514347(0x190)],pi=(_0xb75e77,_0x7a2189,_0x217744,_0x58cdfc)=>{const _0x1b908d=_0x514347;for(var _0x5edd79=_0x58cdfc>0x1?void 0x0:_0x58cdfc?gi(_0x7a2189,_0x217744):_0x7a2189,_0x2c4fee=_0xb75e77[_0x1b908d(0x374)]-0x1,_0x2befa1;_0x2c4fee>=0x0;_0x2c4fee--)(_0x2befa1=_0xb75e77[_0x2c4fee])&&(_0x5edd79=_0x2befa1(_0x5edd79)||_0x5edd79);return _0x5edd79;},G=(_0x191a53,_0x1cbc62)=>(_0x2adb0a,_0xf7871f)=>_0x1cbc62(_0x2adb0a,_0xf7871f,_0x191a53);let ie=class extends _0x5941cc{constructor(_0x3d557d,_0xc1510f,_0x11ef4a,_0x39b2c2,_0x2f6e33){const _0x598991=_0x514347;super(),this[_0x598991(0x331)]=_0x3d557d,this['_logService']=_0xc1510f,this[_0x598991(0x2f9)]=_0x11ef4a,this[_0x598991(0x334)]=_0x39b2c2,_0x2f6e33?_0x2f6e33==null||_0x2f6e33['whenReady']()[_0x598991(0x2e5)](()=>this[_0x598991(0x2a6)]()):(this[_0x598991(0x342)][_0x598991(0x2eb)](_0x598991(0x285),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x598991(0x2a6)]());}async['_init'](){const _0x2c9556=_0x514347,_0x3b5d78=this['_urlService'][_0x2c9556(0x1f0)]('unit'),_0x5c0b51=this[_0x2c9556(0x331)]['getParam']('type'),_0x50295e=this[_0x2c9556(0x331)]['getParam'](_0x2c9556(0x2b6));if(!_0x3b5d78||!_0x5c0b51){this[_0x2c9556(0x342)]['debug']('[CollaborationDataLoaderController]',_0x2c9556(0x298));return;}const _0x68f55e=await this['_dataLoaderService']['loadUnit'](_0x3b5d78,Number(_0x5c0b51),_0x50295e);_0x68f55e&&_0x68f55e instanceof _0x6c7551&&this['_setupSubUnitSync'](_0x68f55e);}async[_0x514347(0x304)](_0x1a7bb0){const _0x18c642=_0x514347;await this[_0x18c642(0x2fe)](_0x1a7bb0),_0x1a7bb0[_0x18c642(0x200)]['pipe'](_0x2a9ca9(this['dispose$']))[_0x18c642(0x2f5)](_0xe32cb5=>{_0xe32cb5&&this['_updateURLWithCurrentState'](_0xe32cb5);}),this['_urlService'][_0x18c642(0x26e)][_0x18c642(0x27a)](_0x2a9ca9(this['dispose$']))[_0x18c642(0x2f5)](()=>this[_0x18c642(0x2fe)](_0x1a7bb0));}['_updateURLWithCurrentState'](_0x2f1596,_0x540a75=!0x1){const _0x1a8160=_0x514347,_0x563798=this['_urlService'][_0x1a8160(0x1f0)](_0x1a8160(0x2b6));_0x2f1596['getSheetId']()!==_0x563798&&this[_0x1a8160(0x331)][_0x1a8160(0x293)](_0x1a8160(0x2b6),_0x2f1596[_0x1a8160(0x2aa)](),_0x540a75);}async[_0x514347(0x2fe)](_0x2789ee){const _0x3b3613=_0x514347;var _0x2ddbe5;const _0xb838dc=this[_0x3b3613(0x331)][_0x3b3613(0x1f0)](_0x3b3613(0x2b6));if(!_0xb838dc||!_0x2789ee[_0x3b3613(0x2db)](_0xb838dc)){const _0x2a3cb8=_0x2789ee[_0x3b3613(0x28a)]()[0x0],_0x5ba935=_0x2789ee[_0x3b3613(0x2db)](_0x2a3cb8);if(!_0x5ba935)return;this[_0x3b3613(0x1c3)](_0x5ba935,!0x0),await this[_0x3b3613(0x2f9)]['executeCommand'](_0x312fec['id'],{'unitId':_0x2789ee[_0x3b3613(0x37d)](),'subUnitId':_0x2a3cb8});return;}((_0x2ddbe5=_0x2789ee[_0x3b3613(0x35f)]())==null?void 0x0:_0x2ddbe5[_0x3b3613(0x2aa)]())!==_0xb838dc&&await this[_0x3b3613(0x2f9)][_0x3b3613(0x31f)](_0x312fec['id'],{'unitId':_0x2789ee[_0x3b3613(0x37d)](),'subUnitId':_0xb838dc});}};ie=pi([G(0x0,Ut),G(0x1,_0x486f03),G(0x2,_0x4aa35c),G(0x3,_0x199102(_0x35603b)),G(0x4,_0x48c07a(_0x52f403))],ie);var Ci=Object['getOwnPropertyDescriptor'],Ei=(_0x21a039,_0x47b89c,_0x47c850,_0x742be)=>{const _0x1a774c=_0x514347;for(var _0x33b93b=_0x742be>0x1?void 0x0:_0x742be?Ci(_0x47b89c,_0x47c850):_0x47b89c,_0x338eac=_0x21a039[_0x1a774c(0x374)]-0x1,_0x130b93;_0x338eac>=0x0;_0x338eac--)(_0x130b93=_0x21a039[_0x338eac])&&(_0x33b93b=_0x130b93(_0x33b93b)||_0x33b93b);return _0x33b93b;},Je=(_0x4e4413,_0x133a07)=>(_0x1c595f,_0x829466)=>_0x133a07(_0x1c595f,_0x829466,_0x4e4413);let Ne=class extends _0x5941cc{constructor(_0x3ee44e,_0x50977b){const _0x435e35=_0x514347;super(),this[_0x435e35(0x241)]=_0x3ee44e,this['_imageIoService']=_0x50977b,this['_init']();}['_init'](){const _0x132fdb=_0x514347,_0x43af43=this;this[_0x132fdb(0x266)](this['_docClipboardService'][_0x132fdb(0x282)]({'onBeforePasteImage':async _0x5be459=>{const _0x3450aa=_0x132fdb,_0x4da9b5=await _0x43af43[_0x3450aa(0x352)][_0x3450aa(0x1b9)](_0x5be459);return _0x4da9b5?{'source':_0x4da9b5[_0x3450aa(0x2dc)],'imageSourceType':_0x4da9b5[_0x3450aa(0x292)]}:null;}}));}};Ne=Ei([Je(0x0,_0x3033e1),Je(0x1,_0x39a295)],Ne);const Ze=['purple.300',_0x514347(0x2e7),_0x514347(0x216),'red.300','blue.400','yellow.400'];class He extends _0x6ab83e{constructor(){const _0x489917=_0x514347;super(...arguments),_(this,'_assignedColors',new Map()),_(this,_0x489917(0x274),0x0);}['assignAColorForMemberID'](_0x1c097b){const _0x2309fc=_0x514347;if(this[_0x2309fc(0x1bb)][_0x2309fc(0x20c)](_0x1c097b))return this['_assignedColors']['get'](_0x1c097b);const _0x3884e1=Ze[this['_colorIndex']];return this[_0x2309fc(0x274)]=(this[_0x2309fc(0x274)]+0x1)%Ze[_0x2309fc(0x374)],this[_0x2309fc(0x1bb)][_0x2309fc(0x1e2)](_0x1c097b,_0x3884e1),_0x3884e1;}}function Mt(_0x2fb1a4){const _0x4ae11c=_0x514347;let _0x4f41a0='';for(const _0xba97bd of _0x2fb1a4){const {startOffset:_0x22414a,endOffset:_0x185c24,isActive:_0x14d028,rangeType:_0x46d498,segmentId:_0x349526,segmentPage:_0x4eba66}=_0xba97bd;_0x4f41a0[_0x4ae11c(0x374)]&&(_0x4f41a0+=','),_0x4f41a0+=_0x22414a+':'+_0x185c24+':'+(_0x14d028?'1':'0')+':'+_0x46d498+':'+_0x349526+':'+_0x4eba66;}return _0x4f41a0;}function Oi(_0x1fcffc){const _0x44716e=_0x514347,_0x2c4e60=_0x1fcffc[_0x44716e(0x238)](','),_0x34c34d=[];for(const _0x105339 of _0x2c4e60){const [_0x48179e,_0x36568e,_0x3e683d,_0xb9d58d,_0x406090,_0x358138]=_0x105339[_0x44716e(0x238)](':');_0x34c34d[_0x44716e(0x34d)]({'startOffset':Number(_0x48179e),'endOffset':Number(_0x36568e),'collapsed':_0x48179e===_0x36568e,'isActive':_0x3e683d==='1','rangeType':_0xb9d58d===_0xdb047a[_0x44716e(0x19b)]?_0xdb047a[_0x44716e(0x19b)]:_0xdb047a[_0x44716e(0x2fd)],'segmentId':typeof _0x406090==_0x44716e(0x2fc)?String(_0x406090):'','segmentPage':Number(_0x358138!=null?_0x358138:-0x1)});}return _0x34c34d[_0x44716e(0x289)](_0x4d67f3=>_0x4d67f3[_0x44716e(0x2f8)])||(_0x34c34d[0x0][_0x44716e(0x2f8)]=!0x0),_0x34c34d;}class Fe extends _0x5941cc{constructor(){const _0x3f12e8=_0x514347;super(...arguments),_(this,_0x3f12e8(0x358),new _0x59c4e2(null)),_(this,_0x3f12e8(0x269),this['_collabCursorState$']['asObservable']());}[_0x514347(0x203)](_0x4289ed){const _0xb2b872=_0x514347,{unitID:_0x188734,memberID:_0x3af317,textRanges:_0x1c50c5}=_0x4289ed,_0x487ab6=Mt(_0x1c50c5);if(_0x487ab6==='')return;const _0x3452e9={'unitID':_0x188734,'memberID':_0x3af317,'selection':_0x487ab6};this['_collabCursorState$'][_0xb2b872(0x376)](_0x3452e9);}}var bi=Object['getOwnPropertyDescriptor'],Ti=(_0x1ea5de,_0x47ec2e,_0x5a7438,_0x3fa37c)=>{for(var _0x3adb2a=_0x3fa37c>0x1?void 0x0:_0x3fa37c?bi(_0x47ec2e,_0x5a7438):_0x47ec2e,_0x52410b=_0x1ea5de['length']-0x1,_0x2e7309;_0x52410b>=0x0;_0x52410b--)(_0x2e7309=_0x1ea5de[_0x52410b])&&(_0x3adb2a=_0x2e7309(_0x3adb2a)||_0x3adb2a);return _0x3adb2a;},P=(_0x2adade,_0x9dbdd0)=>(_0x32e8d7,_0x4813f9)=>_0x9dbdd0(_0x32e8d7,_0x4813f9,_0x2adade);const Ri=0x12c,Di=0x64;function _0x35fb(_0x5ca24b,_0x339b39){const _0x434e71=_0x434e();return _0x35fb=function(_0x35fb8a,_0xc67c9b){_0x35fb8a=_0x35fb8a-0x17a;let _0x44622e=_0x434e71[_0x35fb8a];return _0x44622e;},_0x35fb(_0x5ca24b,_0x339b39);}let Ue=class extends _0x5941cc{constructor(_0x576f30,_0x413e8f,_0x273bc2,_0x2b4c45,_0x39b062,_0x323f7e,_0xf33bb6,_0x252428,_0x217fdb){const _0xd9650b=_0x514347;super(),_(this,'_online',!0x1),_(this,_0xd9650b(0x2a6),!0x1),_(this,'_cursorInfo$',new _0x59c4e2(new Map())),_(this,'cursorInfo$',this[_0xd9650b(0x195)][_0xd9650b(0x33e)]()),_(this,_0xd9650b(0x228),new _0x59c4e2([])),_(this,'roomMembers$',this[_0xd9650b(0x228)][_0xd9650b(0x27a)](_0x4aee69(Ri))),_(this,_0xd9650b(0x271),_0x445839(_0x17e740=>{const _0x15d8de=_0xd9650b,_0x280811={'eventID':_0x46fd0c['UPDATE_CURSOR'],'data':{'unitID':this[_0x15d8de(0x28f)],'memberID':this[_0x15d8de(0x370)][_0x15d8de(0x36a)](),'selection':Mt(_0x17e740)}};this[_0x15d8de(0x370)]['send'](_0x280811,this['unitID']);},Di)),(this[_0xd9650b(0x28f)]=_0x576f30,this[_0xd9650b(0x370)]=_0x413e8f,this['_injector']=_0x273bc2,this[_0xd9650b(0x2ff)]=_0x2b4c45,this[_0xd9650b(0x320)]=_0x39b062,this['_syncEditingCollabCursorService']=_0x323f7e,this['_transformService']=_0xf33bb6,this['_univerInstanceService']=_0x252428,this[_0xd9650b(0x2f9)]=_0x217fdb);}get[_0x514347(0x2d9)](){return this['_cursorInfo$']['getValue']();}get[_0x514347(0x267)](){const _0x5b6a75=_0x514347;return this[_0x5b6a75(0x228)][_0x5b6a75(0x344)]();}[_0x514347(0x2c6)](){const _0x2cb043=_0x514347;super[_0x2cb043(0x2c6)](),this[_0x2cb043(0x195)][_0x2cb043(0x376)](new Map()),this[_0x2cb043(0x195)]['complete'](),this[_0x2cb043(0x228)][_0x2cb043(0x376)]([]),this[_0x2cb043(0x228)]['complete']();}[_0x514347(0x36d)](){const _0x5e3693=_0x514347;this['_init']||(this[_0x5e3693(0x2a6)]=!0x0,this[_0x5e3693(0x370)][_0x5e3693(0x22a)]['pipe'](_0x2a9ca9(this[_0x5e3693(0x18a)]))[_0x5e3693(0x2f5)](_0x3a233e=>{const _0x48ad1f=_0x5e3693;_0x3a233e===_0x3bf1d3[_0x48ad1f(0x36b)]?this[_0x48ad1f(0x2ab)]():this['_toggleOffline']();}),this[_0x5e3693(0x370)][_0x5e3693(0x31c)][_0x5e3693(0x27a)](_0x2a9ca9(this[_0x5e3693(0x18a)]))[_0x5e3693(0x2f5)](_0xe35737=>{const _0x323931=_0x5e3693,_0x5944c1=_0xe35737[_0x323931(0x187)];_0x5944c1===_0x46fd0c[_0x323931(0x325)]&&this[_0x323931(0x2c3)](_0xe35737),_0x5944c1===_0x46fd0c[_0x323931(0x268)]&&this[_0x323931(0x2ba)](_0xe35737);}),this[_0x5e3693(0x266)](this[_0x5e3693(0x2f9)][_0x5e3693(0x18b)](_0x52946c=>{const _0x585420=_0x5e3693,_0x24dd93=_0x52946c['params'];_0x24dd93!=null&&this[_0x585420(0x330)]&&_0x52946c['id']===_0x4cdb54['id']&&_0x24dd93[_0x585420(0x36e)]===this['unitID']&&_0x24dd93[_0x585420(0x248)]===!0x1&&_0x24dd93['ranges'][_0x585420(0x374)]>0x0&&this[_0x585420(0x271)](_0x24dd93[_0x585420(0x37b)]);})),this['_syncEditingCollabCursorService'][_0x5e3693(0x269)][_0x5e3693(0x27a)](_0x2a9ca9(this[_0x5e3693(0x18a)]))['subscribe'](_0x1b70d4=>{const _0x1ebf85=_0x5e3693;if((_0x1b70d4==null?void 0x0:_0x1b70d4[_0x1ebf85(0x28f)])!==this[_0x1ebf85(0x28f)])return;const _0x7c95e2={'eventID':_0x46fd0c[_0x1ebf85(0x325)],'data':_0x1b70d4};this[_0x1ebf85(0x2c3)](_0x7c95e2);}),this[_0x5e3693(0x266)](this[_0x5e3693(0x2f9)][_0x5e3693(0x18b)](_0x25314a=>{const _0x50f49c=_0x5e3693;if(_0x25314a[_0x50f49c(0x24b)]==null)return;const _0x215f2b=_0x25314a[_0x50f49c(0x24b)];if(_0x25314a['id']!==_0x6d60ad['id']||_0x215f2b['unitId']!==this[_0x50f49c(0x28f)])return;const _0x1309a1={'id':'doc.mutation.rich-text-editing','params':_0x215f2b},_0x29aa03=this[_0x50f49c(0x2d9)];for(const [_0x3c3f73,_0x18b2a5]of _0x29aa03){const _0x22d6a8={'id':_0x50f49c(0x312),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x18b2a5[_0x50f49c(0x37b)]}},_0x4a8f73=this[_0x50f49c(0x34a)]['transformMutation'](_0x1309a1,_0x22d6a8,!0x1);if(_0x182c42(_0x4a8f73))throw _0x4a8f73['error'];_0x29aa03['set'](_0x3c3f73,{..._0x18b2a5,'ranges':_0x4a8f73[_0x50f49c(0x230)][_0x50f49c(0x24b)][_0x50f49c(0x345)]});}queueMicrotask(()=>{const _0x3ca013=_0x50f49c;this[_0x3ca013(0x195)][_0x3ca013(0x376)](_0x29aa03);});})));}[_0x514347(0x2c3)](_0x21eb7b){const _0x1a86af=_0x514347;var _0x2aab05,_0x4c970b;const {memberID:_0x426e48,selection:_0x44cea6}=_0x21eb7b[_0x1a86af(0x332)],_0x554165=Oi(_0x44cea6),_0x3cfe30=(_0x4c970b=(_0x2aab05=this[_0x1a86af(0x320)][_0x1a86af(0x381)](this[_0x1a86af(0x28f)],_0x426e48))==null?void 0x0:_0x2aab05[_0x1a86af(0x35e)])!=null?_0x4c970b:'Unknown\x20user',_0x4d96a6={'color':this[_0x1a86af(0x2ff)][_0x1a86af(0x2bc)](_0x426e48),'name':_0x3cfe30,'ranges':_0x554165},_0x1b943f=this[_0x1a86af(0x2d9)];_0x1b943f[_0x1a86af(0x1e2)](_0x426e48,_0x4d96a6),this['_cursorInfo$']['next'](_0x1b943f);}[_0x514347(0x2ba)](_0x494dd6){const _0x372415=_0x514347,{memberID:_0x18b852}=_0x494dd6[_0x372415(0x332)],_0x5ecfe5=this[_0x372415(0x2d9)];_0x5ecfe5['delete'](_0x18b852),this['_cursorInfo$'][_0x372415(0x376)](_0x5ecfe5);}[_0x514347(0x2ab)](){const _0x3a856d=_0x514347;var _0x487eb9;if(this['_online']=!0x0,((_0x487eb9=this[_0x3a856d(0x25b)][_0x3a856d(0x20f)]())==null?void 0x0:_0x487eb9[_0x3a856d(0x37d)]())!==this[_0x3a856d(0x28f)])return;const _0xab2b4e=this['_injector'][_0x3a856d(0x1af)](_0x563f76)[_0x3a856d(0x326)]();Array['isArray'](_0xab2b4e)&&_0xab2b4e[_0x3a856d(0x374)]>0x0&&this[_0x3a856d(0x271)](_0xab2b4e);}[_0x514347(0x225)](){const _0x47f3a9=_0x514347;this[_0x47f3a9(0x330)]=!0x1;}};Ue=Ti([P(0x2,_0x199102(_0x5d1904)),P(0x3,_0x199102(He)),P(0x4,_0x199102(_0x22285b)),P(0x5,_0x199102(Fe)),P(0x6,_0x46ccb6),P(0x7,_0x2ec70f),P(0x8,_0x4aa35c)],Ue);var Ni=Object[_0x514347(0x190)],Ui=(_0x2e5cfc,_0x2cf5b5,_0x24e36e,_0x3a79c5)=>{for(var _0x4491ac=_0x3a79c5>0x1?void 0x0:_0x3a79c5?Ni(_0x2cf5b5,_0x24e36e):_0x2cf5b5,_0x3b583f=_0x2e5cfc['length']-0x1,_0x54cb80;_0x3b583f>=0x0;_0x3b583f--)(_0x54cb80=_0x2e5cfc[_0x3b583f])&&(_0x4491ac=_0x54cb80(_0x4491ac)||_0x4491ac);return _0x4491ac;},x=(_0x35f0c2,_0x8fb9c1)=>(_0x5e7732,_0xd4b8c1)=>_0x8fb9c1(_0x5e7732,_0xd4b8c1,_0x35f0c2);const Mi=0x12c,Li=0x64,Pi=()=>{let _0x1e48b6=[],_0x9a5c5f=!0x1;return _0x555200=>{const _0x4e8e6e=_0x35fb;_0x1e48b6[_0x4e8e6e(0x34d)](_0x555200),_0x9a5c5f||(_0x9a5c5f=!0x0,setTimeout(()=>{const _0x4bd209=_0x4e8e6e;_0x1e48b6[_0x4bd209(0x2fa)](_0x3a4791=>_0x3a4791()),_0x1e48b6=[],_0x9a5c5f=!0x1;}));};};let Me=class extends _0x5941cc{constructor(_0x854e5f,_0x5b67f3,_0x601453,_0x52cdf5,_0x10c8fe,_0x3b7b94,_0x3ecd07,_0x1dc1e6){const _0x3893e0=_0x514347;super(),_(this,_0x3893e0(0x330),!0x1),_(this,_0x3893e0(0x2a6),!0x1),_(this,'_cursorInfo$',new _0x59c4e2(new Map())),_(this,_0x3893e0(0x193),this[_0x3893e0(0x195)][_0x3893e0(0x33e)]()),_(this,_0x3893e0(0x228),new _0x59c4e2([])),_(this,_0x3893e0(0x2bb),this[_0x3893e0(0x228)]['pipe'](_0x4aee69(Mi))),_(this,_0x3893e0(0x271),_0x445839((_0x5016ef,_0xa8d4fc)=>{const _0x57059b=_0x3893e0,_0x38c0e4={'eventID':_0x46fd0c['UPDATE_CURSOR'],'data':{'unitID':this[_0x57059b(0x28f)],'memberID':this[_0x57059b(0x370)][_0x57059b(0x36a)](),'selection':_0x40f921(_0x5016ef,_0xa8d4fc['range'])}};this[_0x57059b(0x370)][_0x57059b(0x1ed)](_0x38c0e4,this[_0x57059b(0x28f)]);},Li)),(this[_0x3893e0(0x28f)]=_0x854e5f,this[_0x3893e0(0x370)]=_0x5b67f3,this['_injector']=_0x601453,this[_0x3893e0(0x2ff)]=_0x52cdf5,this[_0x3893e0(0x320)]=_0x10c8fe,this[_0x3893e0(0x25b)]=_0x3b7b94,this[_0x3893e0(0x2f9)]=_0x3ecd07,this['_refRangeService']=_0x1dc1e6);}get['cursorInfo'](){const _0x327941=_0x514347;return this[_0x327941(0x195)][_0x327941(0x344)]();}get['roomMembers'](){const _0x3dc840=_0x514347;return this['_roomMembers$'][_0x3dc840(0x344)]();}[_0x514347(0x2c6)](){const _0x415b6d=_0x514347;super[_0x415b6d(0x2c6)](),this[_0x415b6d(0x195)]['next'](new Map()),this['_cursorInfo$'][_0x415b6d(0x1c2)](),this['_roomMembers$']['next']([]),this[_0x415b6d(0x228)][_0x415b6d(0x1c2)]();}['init'](){const _0x1c8226=_0x514347;this[_0x1c8226(0x2a6)]||(this[_0x1c8226(0x2a6)]=!0x0,this[_0x1c8226(0x370)]['sessionStatus$']['pipe'](_0x2a9ca9(this['dispose$']))[_0x1c8226(0x2f5)](_0x4704a8=>{const _0x2b36b4=_0x1c8226;_0x4704a8===_0x3bf1d3['ONLINE']?this[_0x2b36b4(0x2ab)]():this[_0x2b36b4(0x225)]();}),this[_0x1c8226(0x370)]['event$'][_0x1c8226(0x27a)](_0x2a9ca9(this[_0x1c8226(0x18a)]))[_0x1c8226(0x2f5)](_0x69ecae=>{const _0x3f6cb8=_0x1c8226,_0x5edc4a=_0x69ecae[_0x3f6cb8(0x187)];_0x5edc4a===_0x46fd0c['UPDATE_CURSOR']&&this[_0x3f6cb8(0x2c3)](_0x69ecae),_0x5edc4a===_0x46fd0c[_0x3f6cb8(0x268)]&&this[_0x3f6cb8(0x2ba)](_0x69ecae);}),this['_onRefRangeChange'](),this[_0x1c8226(0x266)](this['_commandService'][_0x1c8226(0x18b)](_0x418fc3=>{const _0x53da71=_0x1c8226;if(this[_0x53da71(0x330)]&&_0x418fc3['id']===_0x6be0d3['id']&&_0x418fc3[_0x53da71(0x24b)][_0x53da71(0x36e)]===this[_0x53da71(0x28f)]){const _0xfcafd0=_0x418fc3[_0x53da71(0x24b)];this[_0x53da71(0x271)](_0xfcafd0['subUnitId'],_0xfcafd0[_0x53da71(0x1ae)][0x0]);}})));}['_onCursorUpdate'](_0x4ae92e){const _0x297bf7=_0x514347;var _0x3ab02,_0x138750;const {memberID:_0x27099f,selection:_0x515d8b}=_0x4ae92e[_0x297bf7(0x332)],{sheetName:_0x1d9483,range:_0x17cc4d}=_0x2eff64(_0x515d8b),_0xa4f09b={'name':(_0x138750=(_0x3ab02=this[_0x297bf7(0x320)][_0x297bf7(0x381)](this[_0x297bf7(0x28f)],_0x27099f))==null?void 0x0:_0x3ab02[_0x297bf7(0x35e)])!=null?_0x138750:'Unknown\x20user','range':this['_getMergeRange'](_0x1d9483,_0x17cc4d),'sheetID':_0x1d9483,'color':this['_colorAssignService'][_0x297bf7(0x2bc)](_0x27099f),'selection':_0x515d8b},_0x43e06a=this[_0x297bf7(0x2d9)];_0x43e06a[_0x297bf7(0x1e2)](_0x27099f,_0xa4f09b),this['_cursorInfo$'][_0x297bf7(0x376)](_0x43e06a);}[_0x514347(0x2ba)](_0x17ef4d){const _0x43e5d6=_0x514347,{memberID:_0x4c2cc2}=_0x17ef4d[_0x43e5d6(0x332)],_0x3079b9=this[_0x43e5d6(0x2d9)];_0x3079b9[_0x43e5d6(0x346)](_0x4c2cc2),this[_0x43e5d6(0x195)][_0x43e5d6(0x376)](_0x3079b9);}[_0x514347(0x1e1)](_0x51ea8a,_0x5d8bf7){const _0x36168e=_0x514347;var _0x2a918e,_0x533a50;const _0x2eb6c9=(_0x533a50=(_0x2a918e=this['_univerInstanceService'][_0x36168e(0x20b)](this[_0x36168e(0x28f)]))==null?void 0x0:_0x2a918e[_0x36168e(0x2db)](_0x51ea8a))==null?void 0x0:_0x533a50[_0x36168e(0x37c)]();return(_0x2eb6c9==null?void 0x0:_0x2eb6c9[_0x36168e(0x232)](_0x1b6770=>_0x503653['contains'](_0x1b6770,_0x5d8bf7)))||_0x5d8bf7;}['_onRefRangeChange'](){const _0x1feafb=_0x514347,_0x5451a5=new _0x50ae4a(),_0x56af19=Pi(),_0x6203f2=()=>{const _0x4d3e5c=_0x35fb;_0x5451a5[_0x4d3e5c(0x2c6)]();const _0x23f0e6=(_0x239bb2,_0x4f5aef,_0x178a46,_0xb30a94)=>{const _0x9c3fe5=_0x4d3e5c;let _0x319260=[];switch(_0x239bb2['id']){case _0xaf06b7[_0x9c3fe5(0x34c)]:{_0x319260=_0x13f0f1(_0x239bb2,_0xb30a94);break;}case _0xaf06b7[_0x9c3fe5(0x2ce)]:{_0x319260=_0x440073(_0x239bb2,_0xb30a94);break;}case _0xaf06b7[_0x9c3fe5(0x350)]:{_0x319260=_0x5195a7(_0x239bb2,_0xb30a94);break;}case _0xaf06b7[_0x9c3fe5(0x1a6)]:{_0x319260=_0x893dc6(_0x239bb2,_0xb30a94);break;}case _0xaf06b7[_0x9c3fe5(0x34f)]:{_0x319260=_0x59b37f(_0x239bb2,_0xb30a94);break;}case _0xaf06b7[_0x9c3fe5(0x1b6)]:{_0x319260=_0x22be95(_0x239bb2,_0xb30a94);break;}case _0xaf06b7['MoveRangeCommandId']:{_0x319260=_0x26f0df(_0x239bb2,_0xb30a94);break;}case _0xaf06b7['RemoveColCommandId']:{_0x319260=_0x2ba05e(_0x239bb2,_0xb30a94);break;}case _0xaf06b7[_0x9c3fe5(0x28e)]:{_0x319260=_0x452a56(_0x239bb2,_0xb30a94);break;}}const _0x710fe8=_0x433c69(_0x319260,_0xb30a94),_0x739fb6=this[_0x9c3fe5(0x2d9)][_0x9c3fe5(0x1af)](_0x4f5aef);if(_0x739fb6&&_0x710fe8){const _0xd36e72={..._0x739fb6,'range':_0x710fe8};this[_0x9c3fe5(0x2d9)][_0x9c3fe5(0x1e2)](_0x4f5aef,_0xd36e72),_0x56af19(()=>{const _0x5b3f63=_0x9c3fe5,_0x140ac7=this[_0x5b3f63(0x368)][_0x5b3f63(0x378)](_0x710fe8,_0x566487=>(_0x140ac7[_0x5b3f63(0x2c6)](),_0x23f0e6(_0x566487,_0x4f5aef,_0x178a46,_0x710fe8)));_0x5451a5['add'](_0x140ac7);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x4d3e5c(0x2fa)]((_0x4e58aa,_0xbd849c)=>{const _0x3ac1a2=_0x4d3e5c,{range:_0x41f0fa,sheetID:_0x36920d}=_0x4e58aa,_0x765f11=this[_0x3ac1a2(0x368)]['registerRefRange'](_0x41f0fa,_0x4ca82b=>(_0x765f11[_0x3ac1a2(0x2c6)](),_0x23f0e6(_0x4ca82b,_0xbd849c,_0x36920d,_0x41f0fa)));_0x5451a5[_0x3ac1a2(0x2ad)](_0x765f11);});};this[_0x1feafb(0x266)](_0xe19ae0(this[_0x1feafb(0x195)]['subscribe'](()=>{_0x6203f2();})));}[_0x514347(0x2ab)](){const _0x5430ac=_0x514347;var _0x2ef6ac,_0x3a9a34;if(this[_0x5430ac(0x330)]=!0x0,((_0x2ef6ac=this[_0x5430ac(0x25b)]['getFocusedUnit']())==null?void 0x0:_0x2ef6ac['getUnitId']())!==this[_0x5430ac(0x28f)])return;const _0x9934c4=(_0x3a9a34=this[_0x5430ac(0x1d4)]['get'](_0x287ba4)[_0x5430ac(0x2b5)]())==null?void 0x0:_0x3a9a34[0x0],_0x2a862f=this[_0x5430ac(0x25b)][_0x5430ac(0x1c1)](_0x50b062[_0x5430ac(0x2f4)])['getActiveSheet']();_0x9934c4&&_0x2a862f&&this[_0x5430ac(0x271)](_0x2a862f[_0x5430ac(0x2aa)](),_0x9934c4);}[_0x514347(0x225)](){this['_online']=!0x1;}};Me=Ui([x(0x2,_0x199102(_0x5d1904)),x(0x3,_0x199102(He)),x(0x4,_0x199102(_0x22285b)),x(0x5,_0x2ec70f),x(0x6,_0x4aa35c),x(0x7,_0x199102(_0x281dd2))],Me);var wi=Object[_0x514347(0x190)],Ai=(_0xf8ed51,_0x5bbb04,_0x228d88,_0x4d473c)=>{const _0x144a00=_0x514347;for(var _0x1f2d2c=_0x4d473c>0x1?void 0x0:_0x4d473c?wi(_0x5bbb04,_0x228d88):_0x5bbb04,_0x4ceff3=_0xf8ed51[_0x144a00(0x374)]-0x1,_0x1db5d8;_0x4ceff3>=0x0;_0x4ceff3--)(_0x1db5d8=_0xf8ed51[_0x4ceff3])&&(_0x1f2d2c=_0x1db5d8(_0x1f2d2c)||_0x1f2d2c);return _0x1f2d2c;},me=(_0x3c91a6,_0x484193)=>(_0x41cdd3,_0x1d4e31)=>_0x484193(_0x41cdd3,_0x1d4e31,_0x3c91a6);let F=class extends _0x5941cc{constructor(_0x11e686,_0x56ded0,_0xda839d){const _0x3047dd=_0x514347;super(),_(this,_0x3047dd(0x354),new Map()),_(this,'_entityInit$',new _0x1cd852()),(this['_univerInstanceService']=_0x11e686,this[_0x3047dd(0x1d4)]=_0x56ded0,this['_collabSessionService']=_0xda839d,this[_0x3047dd(0x2a6)]());}[_0x514347(0x2c6)](){const _0x149a52=_0x514347;super[_0x149a52(0x2c6)](),this[_0x149a52(0x191)][_0x149a52(0x1c2)](),this['_entities'][_0x149a52(0x2fa)](_0x27a90b=>_0x27a90b[_0x149a52(0x2c6)]());}['getCollabCursors$'](_0x7b9278){const _0x5804f0=_0x514347;return this['_entities'][_0x5804f0(0x20c)](_0x7b9278)?this['_entities'][_0x5804f0(0x1af)](_0x7b9278)[_0x5804f0(0x193)]:this[_0x5804f0(0x191)][_0x5804f0(0x27a)](_0x479930(_0x55e532=>_0x55e532[_0x5804f0(0x28f)]===_0x7b9278),_0x5a40db(_0x129fb0=>_0x129fb0[_0x5804f0(0x193)]));}['_init'](){const _0x2411b9=_0x514347;this[_0x2411b9(0x25b)][_0x2411b9(0x17e)](_0x50b062[_0x2411b9(0x2f4)])[_0x2411b9(0x27a)](_0x2a9ca9(this['dispose$']))[_0x2411b9(0x2f5)](async _0x2cf9dd=>{const _0x21dee0=_0x2411b9,_0x2da7cb=_0x2cf9dd[_0x21dee0(0x37d)](),_0x5f175a=await this[_0x21dee0(0x367)](_0x2da7cb);this[_0x21dee0(0x191)][_0x21dee0(0x376)](_0x5f175a),this[_0x21dee0(0x354)][_0x21dee0(0x1e2)](_0x2da7cb,_0x5f175a);}),this['_univerInstanceService'][_0x2411b9(0x17e)](_0x50b062[_0x2411b9(0x1f6)])[_0x2411b9(0x27a)](_0x2a9ca9(this[_0x2411b9(0x18a)]))['pipe'](_0x479930(_0x466890=>!_0x466890[_0x2411b9(0x37d)]()['startsWith']('__')))[_0x2411b9(0x2f5)](async _0x138074=>{const _0x2d94bd=_0x2411b9,_0x554d7f=_0x138074[_0x2d94bd(0x37d)](),_0x24ab8a=await this[_0x2d94bd(0x227)](_0x554d7f);this['_entityInit$'][_0x2d94bd(0x376)](_0x24ab8a),this[_0x2d94bd(0x354)][_0x2d94bd(0x1e2)](_0x554d7f,_0x24ab8a);}),_0x1aaa82(this['_univerInstanceService'][_0x2411b9(0x17d)](_0x50b062[_0x2411b9(0x1f6)]),this[_0x2411b9(0x25b)]['getTypeOfUnitDisposed$'](_0x50b062[_0x2411b9(0x2f4)]))[_0x2411b9(0x27a)](_0x2a9ca9(this[_0x2411b9(0x18a)]))[_0x2411b9(0x2f5)](_0x4f4837=>{const _0x20de49=_0x2411b9,_0x3ea812=_0x4f4837['getUnitId'](),_0x470e45=this['_entities'][_0x20de49(0x1af)](_0x3ea812);_0x470e45&&(_0x470e45[_0x20de49(0x2c6)](),this['_entities'][_0x20de49(0x346)](_0x3ea812));});}async[_0x514347(0x367)](_0x47e26e){const _0x2ae807=_0x514347,_0x3ce428=await this[_0x2ae807(0x237)][_0x2ae807(0x27b)](_0x47e26e),_0x59a7c3=this[_0x2ae807(0x1d4)][_0x2ae807(0x21c)](Me,_0x47e26e,_0x3ce428);return _0x59a7c3[_0x2ae807(0x36d)](),_0x59a7c3;}async[_0x514347(0x227)](_0x70696d){const _0x353991=_0x514347,_0x87a1d=await this['_collabSessionService']['requireSession'](_0x70696d),_0x2c0c7b=this[_0x353991(0x1d4)][_0x353991(0x21c)](Ue,_0x70696d,_0x87a1d);return _0x2c0c7b[_0x353991(0x36d)](),_0x2c0c7b;}};F=Ai([me(0x0,_0x2ec70f),me(0x1,_0x199102(_0x5d1904)),me(0x2,_0x199102(_0x228e1a))],F);const J=0x14,Qe=0xc8,Ie=0x4,yi=0x5;function $i(_0x35fb19,_0x2d77de){const _0x44a683=_0x514347;let {radius:_0x439c90,width:_0x19cb0b,height:_0x54e6a6}=_0x2d77de;_0x439c90=_0x439c90!=null?_0x439c90:0x0,_0x19cb0b=_0x19cb0b!=null?_0x19cb0b:0x1e,_0x54e6a6=_0x54e6a6!=null?_0x54e6a6:0x1e;let _0x55dc96=0x0,_0x251adf=0x0,_0xf83ff8=0x0;_0x55dc96=_0x251adf=_0xf83ff8=Math[_0x44a683(0x253)](_0x439c90,_0x19cb0b/0x2,_0x54e6a6/0x2),_0x35fb19[_0x44a683(0x23d)](),_0x35fb19[_0x44a683(0x31d)](_0x55dc96,0x0),_0x35fb19['lineTo'](_0x19cb0b-_0x251adf,0x0),_0x35fb19[_0x44a683(0x1ef)](_0x19cb0b-_0x251adf,_0x251adf,_0x251adf,Math['PI']*0x3/0x2,0x0,!0x1),_0x35fb19['lineTo'](_0x19cb0b,_0x54e6a6-_0xf83ff8),_0x35fb19[_0x44a683(0x1ef)](_0x19cb0b-_0xf83ff8,_0x54e6a6-_0xf83ff8,_0xf83ff8,0x0,Math['PI']/0x2,!0x1),_0x35fb19[_0x44a683(0x209)](0x0,_0x54e6a6),_0x35fb19[_0x44a683(0x209)](0x0,_0x55dc96),_0x35fb19[_0x44a683(0x1ef)](_0x55dc96,_0x55dc96,_0x55dc96,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x35fb19['closePath'](),_0x2d77de[_0x44a683(0x28c)]&&(_0x35fb19[_0x44a683(0x196)](),_0x35fb19['fillStyle']=_0x2d77de[_0x44a683(0x28c)],_0x2d77de[_0x44a683(0x2f1)]===_0x44a683(0x211)?_0x35fb19[_0x44a683(0x28c)](_0x44a683(0x211)):_0x35fb19[_0x44a683(0x28c)](),_0x35fb19['restore']());}class ue extends _0x2682e9{constructor(_0x4c5953,_0x4fb942){const _0x3e34f7=_0x514347;super(_0x4c5953,_0x4fb942),_(this,'color'),_(this,_0x3e34f7(0x306)),(this[_0x3e34f7(0x1f2)]=_0x4fb942==null?void 0x0:_0x4fb942['color'],this[_0x3e34f7(0x306)]=_0x4fb942==null?void 0x0:_0x4fb942['text']);}static[_0x514347(0x2bf)](_0x23a702,_0x46804c){const _0x62437=_0x514347,{text:_0x1a623f,color:_0x1aad44}=_0x46804c;_0x23a702[_0x62437(0x196)](),_0x23a702[_0x62437(0x205)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x55f11a=_0x23a702[_0x62437(0x357)](_0x1a623f)[_0x62437(0x2e3)],_0x19a576=Math[_0x62437(0x253)](_0x55f11a+0x2*Ie,Qe);$i(_0x23a702,{'height':J,'radius':0x4,'width':_0x19a576,'fill':_0x1aad44}),_0x23a702[_0x62437(0x256)]=_0x62437(0x347);const _0x174a2a=Ie,_0x3052ab=J-yi,_0x16f069=Qe-0x2*Ie;if(_0x55f11a>_0x16f069){let _0x52c62c='',_0x4b4a92=0x0;for(const _0xa74d12 of _0x1a623f){const _0x346511=_0x23a702['measureText'](_0xa74d12)[_0x62437(0x2e3)];if(_0x4b4a92+_0x346511<=_0x16f069-_0x23a702[_0x62437(0x357)](_0x62437(0x272))[_0x62437(0x2e3)])_0x52c62c+=_0xa74d12,_0x4b4a92+=_0x346511;else{_0x52c62c+=_0x62437(0x272);break;}}_0x23a702[_0x62437(0x379)](_0x52c62c,_0x174a2a,_0x3052ab);}else _0x23a702[_0x62437(0x379)](_0x1a623f,_0x174a2a,_0x3052ab);_0x23a702['restore']();}[_0x514347(0x277)](_0x5d58f4){const _0x5e6081=_0x514347;ue[_0x5e6081(0x2bf)](_0x5d58f4,this);}}const ve=_0x514347(0x32e),xi=_0x514347(0x1e3),Bi='collab-rect-range-',K=0x6,ki=1.5,ge=0x4,Hi=1.5,Fi=_0x514347(0x22f);class qe{constructor(_0x5e3c2d,_0xc0af90,_0x19fe39,_0x213b84){const _0x192a08=_0x514347;_(this,_0x192a08(0x22b),[]),_(this,_0x192a08(0x233),null),_(this,'_textBubble',null),_(this,_0x192a08(0x36f),null),_(this,_0x192a08(0x270),null),_(this,_0x192a08(0x28b),null),(this[_0x192a08(0x2b9)]=_0x5e3c2d,this[_0x192a08(0x192)]=_0xc0af90,this[_0x192a08(0x1ba)]=_0x19fe39,this[_0x192a08(0x1d1)]=_0x213b84,this['_render']());}set[_0x514347(0x35d)](_0x868a62){const _0x268062=_0x514347;_0x868a62?(this[_0x268062(0x36f)]&&this[_0x268062(0x36f)][_0x268062(0x2ae)](),this[_0x268062(0x206)]&&this['_textBubble'][_0x268062(0x2f3)]()):(this[_0x268062(0x36f)]&&this[_0x268062(0x36f)]['show'](),this[_0x268062(0x206)]&&this[_0x268062(0x206)][_0x268062(0x2ae)]());}[_0x514347(0x2c6)](){const _0x43d386=_0x514347;for(const _0x543655 of this[_0x43d386(0x22b)])_0x543655[_0x43d386(0x2c6)]();this[_0x43d386(0x206)]&&this[_0x43d386(0x206)][_0x43d386(0x2c6)](),this[_0x43d386(0x36f)]&&this[_0x43d386(0x36f)][_0x43d386(0x2c6)](),this[_0x43d386(0x233)]&&this['_anchor'][_0x43d386(0x2c6)](),this[_0x43d386(0x28b)]&&this[_0x43d386(0x28b)]();}[_0x514347(0x1d9)](){const _0xd1cb34=_0x514347;var _0x47ef7f;const {_docSkeleton:_0x4adbcd,_document:_0x222991}=this,{color:_0x36563d,name:_0xf02606,ranges:_0x293b96}=this[_0xd1cb34(0x2b9)],_0x3ea8f0=_0x222991[_0xd1cb34(0x311)](),{docsLeft:_0x28cf7d,docsTop:_0x3c4fdc}=_0x3ea8f0,_0x210869=new _0x1f4925(_0x3ea8f0,_0x4adbcd);for(const {startOffset:_0x4c8540,endOffset:_0x4537c7,rangeType:_0x5018fe,segmentId:_0x1d60ed,segmentPage:_0x16ca51,collapsed:_0x5bfcbb,isActive:_0x5d26b4}of _0x293b96){const _0x5dfc98=_0x4adbcd[_0xd1cb34(0x1ad)](_0x4c8540,!0x0,_0x1d60ed,_0x16ca51);let _0x29d006=_0x4adbcd[_0xd1cb34(0x1ad)](_0x4537c7,!0x0,_0x1d60ed,_0x16ca51);if(_0x29d006==null&&(_0x29d006=_0x4adbcd[_0xd1cb34(0x1ad)](_0x4537c7-0x1,!0x1,_0x1d60ed,_0x16ca51)),_0x5d26b4){const {contentBoxPointGroup:_0x3da47a}=_0x210869[_0xd1cb34(0x1e9)](_0x29d006,_0x29d006);if(_0x3da47a[_0xd1cb34(0x374)]===0x0)continue;this[_0xd1cb34(0x23a)](_0x36563d,_0x3da47a,_0x28cf7d,_0x3c4fdc,_0xf02606),this[_0xd1cb34(0x28b)]=this[_0xd1cb34(0x21e)]();}if(_0x5dfc98&&_0x29d006){if(_0x5018fe===_0xdb047a[_0xd1cb34(0x2fd)]){const _0x436262=new _0x407b5b(_0x3ea8f0,_0x4adbcd),{pointGroup:_0x1a9c8c}=(_0x47ef7f=_0x436262[_0xd1cb34(0x1e9)](_0x5dfc98,_0x29d006))!=null?_0x47ef7f:{};if(_0x1a9c8c==null||_0x1a9c8c[_0xd1cb34(0x374)]===0x0)continue;this['_drawRectRange'](_0x36563d,_0x1a9c8c,_0x28cf7d,_0x3c4fdc);}else{if(!_0x5bfcbb){const {borderBoxPointGroup:_0x2b37c7}=_0x210869[_0xd1cb34(0x1e9)](_0x5dfc98,_0x29d006);if(_0x2b37c7[_0xd1cb34(0x374)]===0x0)continue;this[_0xd1cb34(0x333)](_0x36563d,_0x2b37c7,_0x28cf7d,_0x3c4fdc);}}}}}['_drawAnchor'](_0x3f7eba,_0x1b5242,_0x2afaa6,_0x41e427,_0xedc023){const _0x5e4eed=_0x514347,_0x5be1f8=this[_0x5e4eed(0x353)](_0x1b5242),{left:_0x3a6330,top:_0x253ece,height:_0x1c068c}=_0x5be1f8,_0x40d686=this['_getScale'](),_0x470809=Hi/_0x40d686,_0x4230ea=new _0x5e8da8(ve+_0x5b1fc8(K),{'left':_0x3a6330+_0x2afaa6-_0x470809,'top':_0x253ece+_0x41e427,'height':_0x1c068c,'width':ki,'fill':_0x3f7eba||_0x49efb5(_0xa2a834[_0x5e4eed(0x215)],0x0),'strokeWidth':_0x470809,'stroke':Fi,'evented':!0x0});this[_0x5e4eed(0x233)]=_0x4230ea,this[_0x5e4eed(0x192)][_0x5e4eed(0x1cd)](_0x4230ea,_0x5256d3);const _0x4c5ac6=new _0x5e8da8(ve+_0x5b1fc8(K),{'left':_0x3a6330+_0x2afaa6-_0x470809,'top':_0x253ece+_0x41e427-ge/0x2,'height':ge,'width':ge,'fill':_0x3f7eba||_0x49efb5(_0xa2a834['black'],0x0),'strokeWidth':0x0,'stroke':_0x3f7eba||_0x49efb5(_0xa2a834[_0x5e4eed(0x215)],0x0),'evented':!0x1});this['_anchorDot']=_0x4c5ac6,this[_0x5e4eed(0x192)][_0x5e4eed(0x1cd)](_0x4c5ac6,_0x5256d3);const _0x5d8021=new ue(ve+_0x5b1fc8(K),{'left':_0x3a6330+_0x2afaa6-_0x470809,'top':_0x253ece+_0x41e427-J,'text':_0xedc023,'color':_0x3f7eba});this[_0x5e4eed(0x206)]=_0x5d8021,this['_scene'][_0x5e4eed(0x1cd)](_0x5d8021,_0x5256d3),this[_0x5e4eed(0x35d)]=!0x1;}['_handleHover'](){const _0x33f654=_0x514347,_0x284a89=this['_anchor'][_0x33f654(0x297)][_0x33f654(0x2ca)](()=>{const _0x3d6b5d=_0x33f654;this[_0x3d6b5d(0x35d)]=!0x0;}),_0x2c265b=this[_0x33f654(0x233)][_0x33f654(0x22d)]['subscribeEvent'](()=>{const _0x1470ec=_0x33f654;this[_0x1470ec(0x270)]&&clearTimeout(this[_0x1470ec(0x270)]),this['_hideTimer']=setTimeout(()=>{const _0x25f3b6=_0x1470ec;this[_0x25f3b6(0x35d)]=!0x1;},0x7d0);});return()=>{const _0x11a6a0=_0x33f654;_0x284a89[_0x11a6a0(0x1ec)](),_0x2c265b[_0x11a6a0(0x1ec)]();};}[_0x514347(0x333)](_0x2d9a02,_0x4abe74,_0x1383f7,_0x27bd1c){const _0xd9eb57=_0x514347,_0x3674c8=new _0x3dcd36(_0x2d9a02)[_0xd9eb57(0x24d)](0.2)[_0xd9eb57(0x220)](),_0x11028e=new _0x5c8d28(xi+_0x5b1fc8(K),{'pointsGroup':_0x4abe74,'fill':_0x3674c8||_0x49efb5(_0xa2a834['black'],0.2),'left':_0x1383f7,'top':_0x27bd1c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xd9eb57(0x22b)][_0xd9eb57(0x34d)](_0x11028e),this['_scene']['addObject'](_0x11028e,_0x5256d3);}[_0x514347(0x1b2)](_0x28849d,_0x37de01,_0x537482,_0x17a83a){const _0x221a36=_0x514347,_0x43d940=new _0x3dcd36(_0x28849d)['setAlpha'](0.2)['toRgbString'](),_0xc29893=new _0x5c8d28(Bi+_0x5b1fc8(K),{'pointsGroup':_0x37de01,'fill':_0x43d940||_0x49efb5(_0xa2a834[_0x221a36(0x215)],0.2),'left':_0x537482,'top':_0x17a83a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x221a36(0x22b)]['push'](_0xc29893),this['_scene'][_0x221a36(0x1cd)](_0xc29893,_0x5256d3);}['_getAnchorBounding'](_0x191651){const _0x702071=_0x191651[0x0],_0x43cd21=_0x702071[0x0],_0x1f5e0b=_0x702071[0x2],{x:_0x104cc3,y:_0x317e20}=_0x43cd21,{x:_0x35c0b0,y:_0x214183}=_0x1f5e0b;return{'left':_0x104cc3,'top':_0x317e20,'width':_0x35c0b0-_0x104cc3,'height':_0x214183-_0x317e20};}['_getScale'](){const _0x118c4b=_0x514347,{scaleX:_0x1c86c5,scaleY:_0x4f7672}=this[_0x118c4b(0x192)][_0x118c4b(0x2c5)]();return Math[_0x118c4b(0x247)](_0x1c86c5,_0x4f7672);}}var Yi=Object[_0x514347(0x190)],ji=(_0x26914e,_0x263111,_0x1595f5,_0x4ea155)=>{const _0x4fec48=_0x514347;for(var _0x2b9993=_0x4ea155>0x1?void 0x0:_0x4ea155?Yi(_0x263111,_0x1595f5):_0x263111,_0x2c5506=_0x26914e[_0x4fec48(0x374)]-0x1,_0x51ac2a;_0x2c5506>=0x0;_0x2c5506--)(_0x51ac2a=_0x26914e[_0x2c5506])&&(_0x2b9993=_0x51ac2a(_0x2b9993)||_0x2b9993);return _0x2b9993;},ee=(_0x38c10e,_0x465247)=>(_0x7425f5,_0x62f872)=>_0x465247(_0x7425f5,_0x62f872,_0x38c10e);let Le=class extends _0x5941cc{constructor(_0x16f976,_0x4ebec9,_0x3334ad,_0x3ee319,_0x23c635){const _0x5e300a=_0x514347;super(),_(this,_0x5e300a(0x2d5),[]),_(this,_0x5e300a(0x1ee),[]),(this[_0x5e300a(0x1f5)]=_0x16f976,this['_docSkeletonManagerService']=_0x4ebec9,this[_0x5e300a(0x2e2)]=_0x3334ad,this[_0x5e300a(0x2f9)]=_0x3ee319,this[_0x5e300a(0x31a)]=_0x23c635,this[_0x5e300a(0x2a6)]());}[_0x514347(0x2a6)](){const _0x280cca=_0x514347,_0x4648b3=this[_0x280cca(0x1f5)][_0x280cca(0x36e)],_0x22e52a=this[_0x280cca(0x278)];this[_0x280cca(0x266)](_0x4488ec([this['_collabCursorController'][_0x280cca(0x243)](_0x4648b3),this[_0x280cca(0x31a)][_0x280cca(0x234)]])[_0x280cca(0x27a)](_0x118565(([_0x598ee6,_0x29d6f5])=>({'skeleton':_0x22e52a['getSkeleton'](),'cursors':[..._0x598ee6['values']()]['flatMap'](_0x1a1e18=>({..._0x1a1e18,'color':this[_0x280cca(0x31a)][_0x280cca(0x194)](_0x1a1e18[_0x280cca(0x1f2)])}))})))[_0x280cca(0x2f5)](_0x5acaf5=>{const _0x41e4ae=_0x280cca;if(this[_0x41e4ae(0x23f)](),_0x5acaf5){const {skeleton:_0x448637,cursors:_0x12415e}=_0x5acaf5;this[_0x41e4ae(0x1e4)](_0x448637,_0x12415e);}})),this[_0x280cca(0x1f7)](),this[_0x280cca(0x339)]();}[_0x514347(0x1e4)](_0x2e7353,_0x47b6c9){const _0x4905fb=_0x514347,{scene:_0x4e0bbb,mainComponent:_0xdbe8bd}=this[_0x4905fb(0x1f5)],_0x1f6957=_0x47b6c9[_0x4905fb(0x27f)](_0x58f8ec=>new qe(_0x58f8ec,_0x4e0bbb,_0x2e7353,_0xdbe8bd));this[_0x4905fb(0x2d5)]=_0x1f6957,this[_0x4905fb(0x1ee)]=_0x47b6c9;}[_0x514347(0x30a)](){const _0x39b222=_0x514347;this[_0x39b222(0x23f)]();const {scene:_0x3051f3,mainComponent:_0x1e72b8}=this[_0x39b222(0x1f5)],_0x39bef0=this['_docSkeletonManagerService']['getSkeleton'](),_0x2aa11e=this['_cursors'][_0x39b222(0x27f)](_0x3f27ed=>new qe(_0x3f27ed,_0x3051f3,_0x39bef0,_0x1e72b8));this['_cursorShapes']=_0x2aa11e;}[_0x514347(0x23f)](){const _0x167e29=_0x514347;this['_cursorShapes'][_0x167e29(0x2fa)](_0x4a8474=>_0x4a8474[_0x167e29(0x2c6)]()),this[_0x167e29(0x2d5)]=[];}['_initCommandExecutedListener'](){const _0x2901ae=_0x514347,_0x36d7c6=[_0x3aeea9['id']];this['disposeWithMe'](this[_0x2901ae(0x2f9)][_0x2901ae(0x18b)](_0x3649eb=>{const _0x3cf7f5=_0x2901ae;_0x36d7c6['includes'](_0x3649eb['id'])&&_0x3649eb['params'][_0x3cf7f5(0x36e)]===this[_0x3cf7f5(0x1f5)][_0x3cf7f5(0x36e)]&&this[_0x3cf7f5(0x30a)]();}));}['_initResize'](){const _0x30aaac=_0x514347;this[_0x30aaac(0x266)](_0x351fdd(this[_0x30aaac(0x1f5)][_0x30aaac(0x1cb)][_0x30aaac(0x1bd)])[_0x30aaac(0x27a)](_0x518d2c(_0x1ae901=>_0x1ae901[_0x30aaac(0x1bf)]===_0x3e91fc[_0x30aaac(0x229)]),_0x5956fc(0x10))[_0x30aaac(0x2f5)](()=>{const _0xc49482=_0x30aaac;this[_0xc49482(0x30a)]();}));}};Le=ji([ee(0x1,_0x199102(_0x12095e)),ee(0x2,_0x199102(F)),ee(0x3,_0x4aa35c),ee(0x4,_0x199102(_0x26ae7b))],Le);const Vi=0x1,Wi=1.5;class Xi extends _0x2682e9{constructor(_0x545030,_0x4e75bb){const _0x4c2b19=_0x514347;super(_0x545030,_0x4e75bb),_(this,_0x4c2b19(0x19c)),_(this,'_hovered',!0x1),_(this,_0x4c2b19(0x318)),_(this,'_name',''),_(this,'_labelPosition',_0x4c2b19(0x1e0)),_(this,_0x4c2b19(0x18c)),(_0x4e75bb&&this[_0x4c2b19(0x29a)](_0x4e75bb),this[_0x4c2b19(0x297)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x4c2b19(0x22d)][_0x4c2b19(0x2ca)](()=>this[_0x4c2b19(0x29a)]({'hovered':!0x1})));}[_0x514347(0x29a)](_0x5cdfc6){const _0x35f702=_0x514347;var _0x6d95cb,_0x1ec157,_0x25297f,_0x240ec2,_0x367058,_0x2614ef;this[_0x35f702(0x19c)]=(_0x6d95cb=_0x5cdfc6['color'])!=null?_0x6d95cb:this['_color'],this['_hovered']=(_0x1ec157=_0x5cdfc6[_0x35f702(0x24f)])!=null?_0x1ec157:this[_0x35f702(0x2e4)],this[_0x35f702(0x318)]=(_0x25297f=_0x5cdfc6[_0x35f702(0x29f)])!=null?_0x25297f:this[_0x35f702(0x318)],this[_0x35f702(0x32f)]=(_0x240ec2=_0x5cdfc6['name'])!=null?_0x240ec2:this[_0x35f702(0x32f)],this[_0x35f702(0x18f)]=(_0x367058=_0x5cdfc6[_0x35f702(0x264)])!=null?_0x367058:this[_0x35f702(0x18f)],this[_0x35f702(0x18c)]=(_0x2614ef=_0x5cdfc6[_0x35f702(0x240)])!=null?_0x2614ef:this[_0x35f702(0x18c)],this['transformByState']({'width':_0x5cdfc6[_0x35f702(0x2e3)],'height':_0x5cdfc6[_0x35f702(0x313)]});}[_0x514347(0x281)](_0x3a724d){const _0x2faa74=_0x514347,{row:_0x32bc92,column:_0x3f3c93}=_0x3a724d;if(_0x32bc92>=this[_0x2faa74(0x318)][_0x2faa74(0x185)]&&_0x32bc92<=this['_range'][_0x2faa74(0x1b4)]&&_0x3f3c93>=this[_0x2faa74(0x318)]['startColumn']&&_0x3f3c93<=this[_0x2faa74(0x318)][_0x2faa74(0x301)]){this[_0x2faa74(0x29a)]({'hovered':!0x0});return;}this[_0x2faa74(0x29a)]({'hovered':!0x1});}['triggerDblclick'](_0x375c6f){return!0x1;}[_0x514347(0x277)](_0x96b6b1){const _0x6390df=_0x514347;_0x5e8da8['drawWith'](_0x96b6b1,{'width':this['width'],'height':this[_0x6390df(0x313)],'strokeWidth':Wi,'stroke':this[_0x6390df(0x19c)],'evented':!0x1,'fill':this[_0x6390df(0x18c)]}),this['_hovered']&&(_0x96b6b1['save'](),_0x96b6b1[_0x6390df(0x2a3)](0x1,0x0,0x0,0x1,this['width'],this[_0x6390df(0x18f)]===_0x6390df(0x2cf)?0x0:-J),ue[_0x6390df(0x2bf)](_0x96b6b1,{'text':this[_0x6390df(0x32f)],'color':this[_0x6390df(0x19c)]}),_0x96b6b1[_0x6390df(0x308)]());}}var Gi=Object[_0x514347(0x190)],Ki=(_0x39b382,_0x2e389f,_0x1db990,_0x4cbc51)=>{const _0xb8f0b4=_0x514347;for(var _0x53a728=_0x4cbc51>0x1?void 0x0:_0x4cbc51?Gi(_0x2e389f,_0x1db990):_0x2e389f,_0x22e61a=_0x39b382[_0xb8f0b4(0x374)]-0x1,_0x272cba;_0x22e61a>=0x0;_0x22e61a--)(_0x272cba=_0x39b382[_0x22e61a])&&(_0x53a728=_0x272cba(_0x53a728)||_0x53a728);return _0x53a728;},pe=(_0x10e77d,_0x1e4c81)=>(_0x5bcd02,_0x19c375)=>_0x1e4c81(_0x5bcd02,_0x19c375,_0x10e77d);const zi=0x1389;let Pe=class extends _0x5941cc{constructor(_0x489fe6,_0x1cdf50,_0x5c8f44,_0x1c8fef){const _0x1e4098=_0x514347;super(),_(this,_0x1e4098(0x1ee),new Set()),_(this,'_lastPointer',null),(this[_0x1e4098(0x1f5)]=_0x489fe6,this[_0x1e4098(0x373)]=_0x1cdf50,this[_0x1e4098(0x2e2)]=_0x5c8f44,this[_0x1e4098(0x31a)]=_0x1c8fef,this['_init']());}['_init'](){const _0x43212d=_0x514347;this[_0x43212d(0x373)]['currentSkeleton$'][_0x43212d(0x27a)](_0x46e1fd(this[_0x43212d(0x18a)]),_0x46a48d(_0x2235f7=>{const _0x2ea80d=_0x43212d;if(_0x2235f7){const _0x45ffad=_0x2235f7[_0x2ea80d(0x1be)];return _0x4488ec(this[_0x2ea80d(0x2e2)][_0x2ea80d(0x243)](this[_0x2ea80d(0x1f5)]['unitId']),this[_0x2ea80d(0x31a)][_0x2ea80d(0x234)])[_0x2ea80d(0x27a)](_0x118565(([_0xe174fa,_0xab929])=>{const _0x55f3de=_0x2ea80d,_0x2c441a=new Map();return _0xe174fa[_0x55f3de(0x2fa)]((_0x800f76,_0x213f2a)=>{const _0x85210a=_0x55f3de;if(_0x800f76['sheetID']===_0x45ffad){const _0x13663c={..._0x800f76};_0x13663c[_0x85210a(0x1f2)]=this[_0x85210a(0x31a)][_0x85210a(0x194)](_0x800f76[_0x85210a(0x1f2)]),_0x2c441a[_0x85210a(0x1e2)](_0x213f2a,_0x13663c);}}),{'skeleton':_0x2235f7,'cursors':_0x2c441a};}));}return _0x1b6305({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x5dc379,cursors:_0x4fcc2b})=>{const _0x1cf3ac=_0x43212d;this[_0x1cf3ac(0x23f)](),_0x5dc379&&this['_updateCollabCursors'](_0x5dc379,_0x4fcc2b);}),this[_0x43212d(0x373)][_0x43212d(0x2a9)][_0x43212d(0x2f5)](_0x4ad44c=>{const _0x321dec=_0x43212d;if(_0x4ad44c==null)return;const {skeleton:_0x4d3516}=_0x4ad44c,{scene:_0x4e2539}=this[_0x321dec(0x1f5)];_0x4e2539[_0x321dec(0x1e7)]['subscribeEvent'](_0x445839(_0x38a8a7=>{const _0x5b59c1=_0x321dec;var _0x36078c,_0x2d2cd2;const {offsetX:_0x5942fa,offsetY:_0x406c99}=_0x38a8a7,{x:_0x1a1de0,y:_0x3d9f3f}=_0x4e2539['getRelativeToViewportCoord'](_0x1f58d4[_0x5b59c1(0x2d3)]([_0x5942fa,_0x406c99])),{scaleX:_0x4ae841,scaleY:_0x1e5236}=_0x4e2539[_0x5b59c1(0x2c5)](),_0x4f3ece=_0x4e2539[_0x5b59c1(0x2bd)](_0x25adba[_0x5b59c1(0x1f4)]),_0xdc05d7=_0x4e2539[_0x5b59c1(0x218)](_0x1f58d4[_0x5b59c1(0x2d3)]([_0x1a1de0,_0x3d9f3f]),_0x4f3ece),_0x23c208=_0x4d3516['getCellPositionByOffset'](_0x5942fa,_0x406c99,_0x4ae841,_0x1e5236,_0xdc05d7);((_0x36078c=this[_0x5b59c1(0x380)])==null?void 0x0:_0x36078c['column'])===_0x23c208['column']&&((_0x2d2cd2=this[_0x5b59c1(0x380)])==null?void 0x0:_0x2d2cd2[_0x5b59c1(0x2b1)])===_0x23c208['row']||this[_0x5b59c1(0x1ee)]['forEach'](_0x510ab9=>{const _0x21bbae=_0x5b59c1;_0x510ab9[_0x21bbae(0x281)](_0x23c208);});},0x64));});}[_0x514347(0x1e4)](_0x2c16d0,_0x58f85d){const _0x45772d=_0x514347;var _0x5e8681;const _0x4a1cc2=(_0x5e8681=this[_0x45772d(0x373)][_0x45772d(0x1d0)]())==null?void 0x0:_0x5e8681[_0x45772d(0x2b2)];if(!_0x4a1cc2)return;const _0x588139=this[_0x45772d(0x223)]();if(!_0x588139)return;this['_cursors'][_0x45772d(0x2fa)](_0x5a31d9=>{_0x5a31d9['makeDirty']();});const {scene:_0x5b2297}=_0x588139,_0x4eccf7=Ji(Array[_0x45772d(0x2c4)](_0x58f85d[_0x45772d(0x265)]()))[_0x45772d(0x27f)](_0x584a0f=>{const _0x1cce24=_0x45772d,{color:_0x5552fb,range:_0x2506fa,name:_0x3e849a,selection:_0x4876f8,sheetID:_0x449bfe}=_0x584a0f,{startColumn:_0x2b0d7d,startRow:_0x191074,endColumn:_0x40a86e,endRow:_0x3429d4}=_0x2506fa,_0x12ae8f=_0x5d9dd9(_0x191074,_0x2b0d7d,_0x5b2297,_0x4a1cc2),_0x1628a4=_0x5d9dd9(_0x3429d4,_0x40a86e,_0x5b2297,_0x4a1cc2),{columnHeaderHeightAndMarginTop:_0x403ab3}=_0x4a1cc2,{startX:_0x3b2edf,startY:_0x2cfbbe}=_0x12ae8f,{endX:_0x26974e,endY:_0xb6b3b6}=_0x1628a4,_0x48a21c=_0x26974e-_0x3b2edf,_0x4c3c38=_0xb6b3b6-_0x2cfbbe,_0x5f2567={'labelPosition':_0x2cfbbe-_0x403ab3>=J?_0x1cce24(0x1e0):'bottom','sheetID':_0x449bfe,'range':_0x2506fa,'color':_0x5552fb,'name':_0x3e849a,'selection':_0x4876f8,'left':_0x3b2edf,'top':_0x2cfbbe,'width':_0x48a21c,'height':_0x4c3c38,'evented':!0x1,'zIndex':zi};return new Xi(_0x3e849a,_0x5f2567);});_0x5b2297[_0x45772d(0x299)](_0x4eccf7,Vi),this['_cursors']=new Set(_0x4eccf7);}['_removeCollabCursors'](){const _0x1052e9=_0x514347;var _0x24bc66;(_0x24bc66=this['_cursors'])==null||_0x24bc66[_0x1052e9(0x2fa)](_0x157375=>_0x157375[_0x1052e9(0x2c6)]());}[_0x514347(0x223)](){const _0x24fc3d=_0x514347;return _0x3e1e6c(this[_0x24fc3d(0x1f5)][_0x24fc3d(0x2b3)],this[_0x24fc3d(0x1f5)]);}};Pe=Ki([pe(0x1,_0x199102(_0x2909e7)),pe(0x2,_0x199102(F)),pe(0x3,_0x199102(_0x26ae7b))],Pe);function Ji(_0x36709c){const _0x12f157=_0x514347,_0x352907=new Map();return _0x36709c[_0x12f157(0x2fa)](_0x4c3b04=>{const _0x46eaa1=_0x12f157;if(_0x352907[_0x46eaa1(0x20c)](_0x4c3b04[_0x46eaa1(0x1d8)])){const _0x347b05=_0x352907[_0x46eaa1(0x1af)](_0x4c3b04['selection']);_0x347b05[_0x46eaa1(0x35e)]+=',\x20'+_0x4c3b04[_0x46eaa1(0x35e)];}else _0x352907[_0x46eaa1(0x1e2)](_0x4c3b04[_0x46eaa1(0x1d8)],_0x4c3b04);}),Array[_0x12f157(0x2c4)](_0x352907['values']());}var Zi=Object['getOwnPropertyDescriptor'],Qi=(_0x4fb8dc,_0x394e9f,_0x495b0e,_0x9b9fa7)=>{const _0x4bcb8e=_0x514347;for(var _0x4df305=_0x9b9fa7>0x1?void 0x0:_0x9b9fa7?Zi(_0x394e9f,_0x495b0e):_0x394e9f,_0x17de51=_0x4fb8dc[_0x4bcb8e(0x374)]-0x1,_0x3ee965;_0x17de51>=0x0;_0x17de51--)(_0x3ee965=_0x4fb8dc[_0x17de51])&&(_0x4df305=_0x3ee965(_0x4df305)||_0x4df305);return _0x4df305;},B=(_0x502588,_0x5ef842)=>(_0x569770,_0x42cd45)=>_0x5ef842(_0x569770,_0x42cd45,_0x502588);let ne=class extends _0x6ab83e{constructor(_0x1e46a6,_0x456636,_0x1b408b,_0x1a9f99,_0x17284c,_0x4dd444){const _0x5acec1=_0x514347;super(),this[_0x5acec1(0x213)]=_0x1e46a6,this[_0x5acec1(0x21f)]=_0x456636,this[_0x5acec1(0x250)]=_0x1b408b,this[_0x5acec1(0x262)]=_0x1a9f99,this['_notificationService']=_0x17284c,this[_0x5acec1(0x316)]=_0x4dd444,this[_0x5acec1(0x288)](),this[_0x5acec1(0x1b1)]();}['_setupBeforeClosingHandler'](){const _0x4f8996=_0x514347;this[_0x4f8996(0x266)](this['_beforeCloseService'][_0x4f8996(0x2ef)](()=>{const _0xcc11a8=_0x4f8996;if(this[_0xcc11a8(0x21f)]['saveTaskMap'][_0xcc11a8(0x255)])return this['_localeService']['t'](_0xcc11a8(0x1d7));}));}[_0x514347(0x1b1)](){const _0x32ab6a=_0x514347;this[_0x32ab6a(0x266)](this[_0x32ab6a(0x250)][_0x32ab6a(0x31c)][_0x32ab6a(0x2f5)](_0x1dd5bc=>{const _0x20e93c=_0x32ab6a;_0x1dd5bc['id']===_0x1b6ac4['OTHER_CLIENT_EDITING']&&this[_0x20e93c(0x262)][_0x20e93c(0x2f3)]({'type':_0x4f1e2f[_0x20e93c(0x17f)],'content':this[_0x20e93c(0x316)]['t'](_0x20e93c(0x2da))}),_0x1dd5bc['id']===_0x1b6ac4[_0x20e93c(0x236)]&&this[_0x20e93c(0x262)]['show']({'type':_0x4f1e2f[_0x20e93c(0x17f)],'content':this['_localeService']['t'](_0x20e93c(0x245))}),_0x1dd5bc['id']===_0x1b6ac4[_0x20e93c(0x2e9)]&&this['_notificationService'][_0x20e93c(0x2f3)]({'title':this['_localeService']['t'](_0x20e93c(0x25f)),'content':this['_localeService']['t']('permission.content'),'type':_0x20e93c(0x328),'duration':0x0}),_0x1dd5bc['id']===_0x1b6ac4[_0x20e93c(0x1d2)]&&this[_0x20e93c(0x262)][_0x20e93c(0x2f3)]({'type':_0x4f1e2f[_0x20e93c(0x1b3)],'content':this[_0x20e93c(0x316)]['t'](_0x20e93c(0x245))+'('+_0x1dd5bc[_0x20e93c(0x332)]+')'}),_0x1dd5bc['id']===_0x1b6ac4[_0x20e93c(0x198)]&&this['_messageService'][_0x20e93c(0x2f3)]({'type':_0x4f1e2f['Warning'],'content':this[_0x20e93c(0x316)]['t'](_0x1dd5bc[_0x20e93c(0x332)]||'')}),_0x1dd5bc['id']===_0x1b6ac4[_0x20e93c(0x30b)]&&this[_0x20e93c(0x262)][_0x20e93c(0x2f3)]({'type':_0x4f1e2f[_0x20e93c(0x17f)],'content':this[_0x20e93c(0x316)]['t'](_0x20e93c(0x1c0))}),_0x1dd5bc['id']===_0x1b6ac4[_0x20e93c(0x217)]&&this[_0x20e93c(0x262)][_0x20e93c(0x2f3)]({'type':_0x4f1e2f['Error'],'content':this[_0x20e93c(0x316)]['t'](_0x20e93c(0x2e8))}),_0x1dd5bc['id']===_0x1b6ac4[_0x20e93c(0x1cc)]&&this[_0x20e93c(0x262)][_0x20e93c(0x2f3)]({'type':_0x4f1e2f[_0x20e93c(0x1b3)],'content':this[_0x20e93c(0x316)]['t'](_0x20e93c(0x20d))});}));}};ne=Qi([B(0x0,_0x4b1f08),B(0x1,_0x3ff8d0),B(0x2,_0x199102(_0x2c15d7)),B(0x3,_0x109eea),B(0x4,_0x293e66),B(0x5,_0x199102(_0x3b8afc))],ne);const qi=_0x514347(0x37e),et={};var en=Object[_0x514347(0x190)],tn=(_0x175a74,_0x4b9b1f,_0x5c70e1,_0xe46720)=>{const _0x41cafa=_0x514347;for(var _0x567fac=_0xe46720>0x1?void 0x0:_0xe46720?en(_0x4b9b1f,_0x5c70e1):_0x4b9b1f,_0x3ec053=_0x175a74[_0x41cafa(0x374)]-0x1,_0x5a151e;_0x3ec053>=0x0;_0x3ec053--)(_0x5a151e=_0x175a74[_0x3ec053])&&(_0x567fac=_0x5a151e(_0x567fac)||_0x567fac);return _0x567fac;},tt=(_0x4004d5,_0x59ce27)=>(_0x517011,_0xeeba76)=>_0x59ce27(_0x517011,_0xeeba76,_0x4004d5);let re=class{constructor(_0x20b35d,_0x3fc09f){const _0x441f94=_0x514347;this[_0x441f94(0x34a)]=_0x20b35d,this[_0x441f94(0x323)]=_0x3fc09f;}[_0x514347(0x188)](_0x5e0aaa){const _0x141c77=_0x514347;this[_0x141c77(0x2a5)](_0x5e0aaa),this[_0x141c77(0x327)](_0x5e0aaa);}['transformRemoteChangeset'](_0x4a4774){const _0x5b0e1d=_0x514347,{unitID:_0x283245}=_0x4a4774,_0x27d028=this[_0x5b0e1d(0x323)][_0x5b0e1d(0x336)](_0x283245)['with'](_0x5a8ec3),{redoCache:_0x328745}=_0x27d028[_0x5b0e1d(0x25e)]();if(_0x328745[_0x5b0e1d(0x374)]===0x0)return _0x4a4774;let _0x2cc82f=_0x5cbd6f[_0x5b0e1d(0x305)](_0x4a4774[_0x5b0e1d(0x29c)][0x0]);for(let _0x15e332=0x0;_0x15e332<_0x328745[_0x5b0e1d(0x374)];_0x15e332++){const _0x5f4a73={'id':_0x5b0e1d(0x312),'params':{..._0x328745[_0x15e332]}},_0x1bb858=this[_0x5b0e1d(0x34a)][_0x5b0e1d(0x1f3)](_0x2cc82f,_0x5f4a73,!0x1);if(_0x182c42(_0x1bb858))throw _0x1bb858[_0x5b0e1d(0x328)];_0x2cc82f=_0x1bb858['m1Prime'];}return{..._0x5cbd6f[_0x5b0e1d(0x305)](_0x4a4774),'mutations':[_0x2cc82f]};}['_transformUndoRedoStack'](_0x50ae68){const _0xcd1483=_0x514347,{unitID:_0x25c613}=_0x50ae68,_0x8d0ecc=this['_renderManagerService']['getRenderById'](_0x25c613)[_0xcd1483(0x26f)](_0x5a8ec3),{undoCache:_0x5b99ac,redoCache:_0x2e42c6}=_0x8d0ecc[_0xcd1483(0x25e)]();if(_0x5b99ac[_0xcd1483(0x374)]===0x0||_0x2e42c6[_0xcd1483(0x374)]===0x0)return;const _0x30a117=[],_0x56b0be=[];let _0x48cfd0=_0x5cbd6f[_0xcd1483(0x305)](_0x50ae68[_0xcd1483(0x29c)][0x0]),_0x11778a=_0x5cbd6f['deepClone'](_0x50ae68[_0xcd1483(0x29c)][0x0]);for(let _0x25cb07=_0x5b99ac[_0xcd1483(0x374)]-0x1;_0x25cb07>=0x0;_0x25cb07--){const _0x35e6fd={'id':_0xcd1483(0x312),'params':{..._0x5b99ac[_0x25cb07]}},_0xd200a4={'id':_0xcd1483(0x312),'params':{..._0x2e42c6[_0x25cb07]}},_0x1f805b=this[_0xcd1483(0x34a)]['transformMutation'](_0x48cfd0,_0x35e6fd,!0x1),_0x1522f5=this['_transformService']['transformMutation'](_0x11778a,_0xd200a4,!0x1);if(_0x182c42(_0x1f805b))throw _0x1f805b[_0xcd1483(0x328)];if(_0x182c42(_0x1522f5))throw _0x1522f5[_0xcd1483(0x328)];_0x30a117[_0xcd1483(0x17c)](_0x1f805b[_0xcd1483(0x230)][_0xcd1483(0x24b)]),_0x56b0be[_0xcd1483(0x17c)](_0x1522f5[_0xcd1483(0x230)][_0xcd1483(0x24b)]),_0x48cfd0=_0x1f805b[_0xcd1483(0x25c)],_0x11778a=_0x1522f5[_0xcd1483(0x25c)];}_0x8d0ecc[_0xcd1483(0x2d1)]({'undoCache':_0x30a117,'redoCache':_0x56b0be});}['_transformPreviousActiveRange'](_0x23dbf4){const _0x155053=_0x514347,{unitID:_0x4c9660}=_0x23dbf4,_0x3ca39e=this[_0x155053(0x323)]['getRenderById'](_0x4c9660)[_0x155053(0x26f)](_0x5a8ec3),_0x356f9a=_0x3ca39e[_0x155053(0x1de)]();if(_0x356f9a==null)return;const _0x3dc1ee=[{'id':_0x155053(0x312),'params':{'unitId':_0x23dbf4['unitID'],'actions':null,'textRanges':[_0x356f9a]}}],_0x3365f8=this[_0x155053(0x34a)]['transformMutationsWithChangeset'](_0x23dbf4,_0x3dc1ee);if(!_0xd59276(_0x3365f8))throw _0x3365f8[_0x155053(0x328)];const _0x4683d0=_0x3365f8[_0x155053(0x230)][0x0][_0x155053(0x24b)][_0x155053(0x345)];Array['isArray'](_0x4683d0)&&_0x4683d0['length']&&_0x3ca39e[_0x155053(0x369)](_0x4683d0[0x0]);}};re=tn([tt(0x0,_0x46ccb6),tt(0x1,_0x253730)],re);var sn=Object[_0x514347(0x190)],nn=(_0x1b1dce,_0xbdfb6f,_0x462e55,_0x1a077b)=>{const _0x2a4417=_0x514347;for(var _0x2a3a70=_0x1a077b>0x1?void 0x0:_0x1a077b?sn(_0xbdfb6f,_0x462e55):_0xbdfb6f,_0x345efd=_0x1b1dce[_0x2a4417(0x374)]-0x1,_0x2171d6;_0x345efd>=0x0;_0x345efd--)(_0x2171d6=_0x1b1dce[_0x345efd])&&(_0x2a3a70=_0x2171d6(_0x2a3a70)||_0x2a3a70);return _0x2a3a70;},Ce=(_0x56809b,_0x3efcae)=>(_0x1301c2,_0x12e91d)=>_0x3efcae(_0x1301c2,_0x12e91d,_0x56809b);let oe=class{constructor(_0x15c69e,_0xbc9661,_0x41f498){const _0xe9a428=_0x514347;this[_0xe9a428(0x1d4)]=_0x15c69e,this[_0xe9a428(0x34a)]=_0xbc9661,this[_0xe9a428(0x197)]=_0x41f498;}[_0x514347(0x2ee)](_0x50126f){this['_transformHistoryAndStateStack'](_0x50126f);}['transformRemoteChangeset'](_0x2f1bf4){const _0x185efe=_0x514347,{unitID:_0x544402}=_0x2f1bf4,{collaboration:_0x26b6b5}=this[_0x185efe(0x197)][_0x185efe(0x32c)](_0x544402);if(_0x26b6b5['length']===0x0)return _0x2f1bf4;let _0x4a074f=_0x5cbd6f[_0x185efe(0x305)](_0x2f1bf4[_0x185efe(0x29c)][0x0]);for(let _0x480902=0x0;_0x480902<_0x26b6b5[_0x185efe(0x374)];_0x480902++){const _0x13c354={'id':_0x185efe(0x312),'params':{'unitId':_0x26b6b5[_0x480902][_0x185efe(0x36e)],..._0x26b6b5[_0x480902][_0x185efe(0x302)]}},_0x3cf72b=this[_0x185efe(0x34a)]['transformMutation'](_0x4a074f,_0x13c354,!0x1);if(_0x182c42(_0x3cf72b))throw _0x3cf72b['error'];_0x4a074f=_0x3cf72b['m1Prime'];}return{..._0x5cbd6f['deepClone'](_0x2f1bf4),'mutations':[_0x4a074f]};}[_0x514347(0x324)](_0x146eeb){const _0x21dfe9=_0x514347,{unitID:_0x11ebf6}=_0x146eeb,{history:_0x54906a,collaboration:_0x30ff4e}=this[_0x21dfe9(0x197)][_0x21dfe9(0x32c)](_0x11ebf6);if(_0x54906a[_0x21dfe9(0x374)]===0x0&&_0x30ff4e[_0x21dfe9(0x374)]===0x0)return;const _0x4ac752=[],_0x5dada1=[];let _0x474f58=_0x5cbd6f[_0x21dfe9(0x305)](_0x146eeb[_0x21dfe9(0x29c)][0x0]),_0x112cfc=_0x5cbd6f[_0x21dfe9(0x305)](_0x146eeb['mutations'][0x0]);for(let _0x597678=_0x54906a[_0x21dfe9(0x374)]-0x1;_0x597678>=0x0;_0x597678--){const _0x323aa7={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x54906a[_0x597678][_0x21dfe9(0x36e)],..._0x54906a[_0x597678][_0x21dfe9(0x184)]}},_0x5f1acf={'id':_0x21dfe9(0x312),'params':{'unitId':_0x54906a[_0x597678][_0x21dfe9(0x36e)],..._0x54906a[_0x597678][_0x21dfe9(0x302)]}},_0x3f788f=this[_0x21dfe9(0x34a)][_0x21dfe9(0x1f3)](_0x474f58,_0x323aa7,!0x1),_0xa4df91=this['_transformService']['transformMutation'](_0x112cfc,_0x5f1acf,!0x1);if(_0x182c42(_0x3f788f))throw _0x3f788f[_0x21dfe9(0x328)];if(_0x182c42(_0xa4df91))throw _0xa4df91[_0x21dfe9(0x328)];_0x4ac752[_0x21dfe9(0x17c)]({..._0x54906a[_0x597678],'undoState':_0x3f788f[_0x21dfe9(0x230)]['params'],'redoState':_0xa4df91['m2Prime'][_0x21dfe9(0x24b)]}),_0x474f58=_0x3f788f[_0x21dfe9(0x25c)],_0x112cfc=_0xa4df91[_0x21dfe9(0x25c)];}_0x474f58=_0x5cbd6f[_0x21dfe9(0x305)](_0x146eeb['mutations'][0x0]),_0x112cfc=_0x5cbd6f[_0x21dfe9(0x305)](_0x146eeb['mutations'][0x0]);for(let _0x41d51a=_0x30ff4e[_0x21dfe9(0x374)]-0x1;_0x41d51a>=0x0;_0x41d51a--){const _0x1c1789={'id':_0x21dfe9(0x312),'params':{'unitId':_0x30ff4e[_0x41d51a][_0x21dfe9(0x36e)],..._0x30ff4e[_0x41d51a]['undoState']}},_0x323d0a={'id':_0x21dfe9(0x312),'params':{'unitId':_0x30ff4e[_0x41d51a][_0x21dfe9(0x36e)],..._0x30ff4e[_0x41d51a]['redoState']}},_0x51d13f=this['_transformService'][_0x21dfe9(0x1f3)](_0x474f58,_0x1c1789,!0x1),_0x27b077=this[_0x21dfe9(0x34a)][_0x21dfe9(0x1f3)](_0x112cfc,_0x323d0a,!0x1);if(_0x182c42(_0x51d13f))throw _0x51d13f[_0x21dfe9(0x328)];if(_0x182c42(_0x27b077))throw _0x27b077[_0x21dfe9(0x328)];_0x5dada1[_0x21dfe9(0x17c)]({..._0x30ff4e[_0x41d51a],'undoState':_0x51d13f[_0x21dfe9(0x230)]['params'],'redoState':_0x27b077[_0x21dfe9(0x230)][_0x21dfe9(0x24b)]}),_0x474f58=_0x51d13f[_0x21dfe9(0x25c)],_0x112cfc=_0x27b077[_0x21dfe9(0x25c)];}this[_0x21dfe9(0x197)][_0x21dfe9(0x25a)](_0x11ebf6,{'history':_0x4ac752,'collaboration':_0x5dada1});}};oe=nn([Ce(0x0,_0x199102(_0x5d1904)),Ce(0x1,_0x46ccb6),Ce(0x2,_0x199102(_0x453065))],oe);var rn=Object[_0x514347(0x190)],on=(_0x463be1,_0x14f2c2,_0x58b834,_0x3b371a)=>{const _0x4c46a6=_0x514347;for(var _0x5047ad=_0x3b371a>0x1?void 0x0:_0x3b371a?rn(_0x14f2c2,_0x58b834):_0x14f2c2,_0x3aebf7=_0x463be1[_0x4c46a6(0x374)]-0x1,_0x5075a0;_0x3aebf7>=0x0;_0x3aebf7--)(_0x5075a0=_0x463be1[_0x3aebf7])&&(_0x5047ad=_0x5075a0(_0x5047ad)||_0x5047ad);return _0x5047ad;},st=(_0x2ecfb9,_0x5bbdf2)=>(_0x3b9d72,_0xc5cb29)=>_0x5bbdf2(_0x3b9d72,_0xc5cb29,_0x2ecfb9);let ae=class{constructor(_0x252822,_0x472a96){const _0x251508=_0x514347;this[_0x251508(0x1d4)]=_0x252822,this['_transformService']=_0x472a96;}[_0x514347(0x33a)](_0xe5453){const _0x523d79=_0x514347;var _0x58233d;const _0x11ad2d=this[_0x523d79(0x1d4)]['get'](_0x563f76),_0x44d843=(_0x58233d=_0x11ad2d[_0x523d79(0x326)]())!=null?_0x58233d:[];if(_0x44d843[_0x523d79(0x374)]===0x0)return;const _0x5f8b34=_0xe5453[_0x523d79(0x28f)],_0x1a3958=[{'id':_0x523d79(0x312),'params':{'unitId':_0x5f8b34,'actions':null,'textRanges':_0x44d843}}],_0x44be4c=this[_0x523d79(0x34a)][_0x523d79(0x317)](_0xe5453,_0x1a3958);if(!_0xd59276(_0x44be4c))throw _0x44be4c[_0x523d79(0x328)];const _0x30df85=_0x44be4c[_0x523d79(0x230)][0x0][_0x523d79(0x24b)][_0x523d79(0x345)];Array['isArray'](_0x30df85)&&_0x30df85[_0x523d79(0x374)]&&_0x11ad2d[_0x523d79(0x2c1)](_0x30df85,{'unitId':_0x5f8b34,'subUnitId':_0x5f8b34},!0x1);}};ae=on([st(0x0,_0x199102(_0x5d1904)),st(0x1,_0x46ccb6)],ae);var an=Object[_0x514347(0x190)],cn=(_0x85b1d2,_0x501ab5,_0x1e98ed,_0x3ea64b)=>{for(var _0x51470c=_0x3ea64b>0x1?void 0x0:_0x3ea64b?an(_0x501ab5,_0x1e98ed):_0x501ab5,_0x47db13=_0x85b1d2['length']-0x1,_0x1c31ec;_0x47db13>=0x0;_0x47db13--)(_0x1c31ec=_0x85b1d2[_0x47db13])&&(_0x51470c=_0x1c31ec(_0x51470c)||_0x51470c);return _0x51470c;},N=(_0x6de9c6,_0x2b0602)=>(_0x321672,_0x4e0f67)=>_0x2b0602(_0x321672,_0x4e0f67,_0x6de9c6);let ce=class extends _0x6ab83e{constructor(_0x2eabf4,_0xc078c6,_0xe88b60,_0x1b121f,_0x9c96de,_0x36dd73,_0x44f697,_0x96c98f){const _0x1c52d6=_0x514347;super(),_(this,_0x1c52d6(0x199),new _0x59c4e2(_0x7e6acb[_0x1c52d6(0x337)])),(this[_0x1c52d6(0x197)]=_0x2eabf4,this['_collaborationController']=_0xc078c6,this[_0x1c52d6(0x284)]=_0xe88b60,this['_docTransformStateCacheService']=_0x1b121f,this[_0x1c52d6(0x22c)]=_0x9c96de,this[_0x1c52d6(0x231)]=_0x36dd73,this[_0x1c52d6(0x262)]=_0x44f697,this[_0x1c52d6(0x316)]=_0x96c98f,this[_0x1c52d6(0x1eb)]());}[_0x514347(0x1eb)](){const _0x474d6b=_0x514347;this[_0x474d6b(0x266)](this['_collaborationController'][_0x474d6b(0x1db)]['subscribe'](_0x46a205=>{const _0x3f52f5=_0x474d6b,_0x620d5a=this[_0x3f52f5(0x197)][_0x3f52f5(0x239)][_0x3f52f5(0x2f5)](_0x175ad5=>{const _0x365031=_0x3f52f5;if(_0x175ad5==null)return;const {unitId:_0x4ef082,redoState:_0x32c3bd,commandId:_0x43be04}=_0x175ad5;if(_0x4ef082!==_0x46a205['unitID'])return;const _0x395ab5={'id':_0x43be04,'type':_0x48577c['MUTATION'],'params':{'unitId':_0x4ef082,'actions':_0x32c3bd[_0x365031(0x319)],'textRanges':null}};_0x46a205['onLocalMutation'](_0x395ab5);});if(_0x46a205[_0x3f52f5(0x266)](_0x620d5a),_0x46a205 instanceof _0x1abf4f){const _0x2d89d9={'onTransformIME':_0x3af0e7=>this[_0x3f52f5(0x284)][_0x3f52f5(0x188)](_0x3af0e7),'onTransformState':_0x19dc96=>this[_0x3f52f5(0x202)]['transformStateCache'](_0x19dc96),'onTransformSelections':_0x489f30=>this[_0x3f52f5(0x22c)][_0x3f52f5(0x33a)](_0x489f30),'onSyncEditingCollabCursor':_0x89792f=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x89792f),'onTransformRemoteChangesetByIMECache':_0x346408=>this['_docTransformIMECacheService'][_0x3f52f5(0x20e)](_0x346408),'onTransformRemoteChangesetByStateCache':_0x31db14=>this[_0x3f52f5(0x202)][_0x3f52f5(0x20e)](_0x31db14)};_0x46a205[_0x3f52f5(0x24c)](_0x2d89d9);}}));}};ce=cn([N(0x0,_0x199102(_0x453065)),N(0x1,_0x199102(_0x4755ac)),N(0x2,_0x199102(re)),N(0x3,_0x199102(oe)),N(0x4,_0x199102(ae)),N(0x5,_0x199102(Fe)),N(0x6,_0x109eea),N(0x7,_0x199102(_0x3b8afc))],ce);var ln=Object[_0x514347(0x190)],_n=(_0x178272,_0x5900a6,_0x177923,_0x599305)=>{const _0x31a9e2=_0x514347;for(var _0x12694a=_0x599305>0x1?void 0x0:_0x599305?ln(_0x5900a6,_0x177923):_0x5900a6,_0x307eca=_0x178272[_0x31a9e2(0x374)]-0x1,_0x22128d;_0x307eca>=0x0;_0x307eca--)(_0x22128d=_0x178272[_0x307eca])&&(_0x12694a=_0x22128d(_0x12694a)||_0x12694a);return _0x12694a;},Ee=(_0x46e569,_0x135fdf)=>(_0x12bec6,_0x3101aa)=>_0x135fdf(_0x12bec6,_0x3101aa,_0x46e569);let we=class extends _0x6ab83e{constructor(_0x1c83e6,_0xe7014f,_0x47ebdd){const _0x2fe405=_0x514347;super(),_(this,_0x2fe405(0x321),new Map()),_(this,_0x2fe405(0x18e),new Map()),_(this,'_disabled',!0x1),(this['_configService']=_0x1c83e6,this[_0x2fe405(0x2c9)]=_0xe7014f,this[_0x2fe405(0x1ff)]=_0x47ebdd);}[_0x514347(0x2c8)](){const _0x53d57d=_0x514347;this[_0x53d57d(0x254)]=!0x0;}[_0x514347(0x17a)](){const _0xa339c4=_0x514347;this[_0xa339c4(0x254)]=!0x1;}get[_0x514347(0x2e6)](){const _0x145e6d=_0x514347;return this[_0x145e6d(0x18e)];}['dispose'](){const _0x4b3a5c=_0x514347;this[_0x4b3a5c(0x20a)]()['then'](()=>super[_0x4b3a5c(0x2c6)]());}async[_0x514347(0x355)](_0xd6ef71){const _0x586e41=_0x514347;return this[_0x586e41(0x254)]?null:this['_localStorageService'][_0x586e41(0x1da)](_0x4c201a(_0xd6ef71));}async[_0x514347(0x1fa)](_0x26b6fd,_0x1286eb){const _0x1474ad=_0x514347;return!!this[_0x1474ad(0x2c9)][_0x1474ad(0x23b)](_0x26b6fd,_0x1286eb);}[_0x514347(0x2de)](_0x11c1bd,_0xc661de,_0x1b66c7,_0x41484a){const _0x1dd480=_0x514347,_0x16ac74=this['_revisionService']['getCurrentRevOfUnit'](_0x11c1bd);this[_0x1dd480(0x321)][_0x1dd480(0x1e2)](_0x11c1bd,{'unitID':_0x11c1bd,'type':_0xc661de,'awaitingChangeset':_0x1b66c7,'mutations':_0x41484a,'rev':_0x16ac74}),this['_saveTaskMap'][_0x1dd480(0x20c)](_0x11c1bd)||this[_0x1dd480(0x235)](_0x11c1bd);}['_scheduleSaving'](_0x5002cf){const _0x565290=_0x514347,_0x4eb632=this[_0x565290(0x37f)]();_0x4eb632===0x0?this[_0x565290(0x212)](_0x5002cf):this[_0x565290(0x18e)][_0x565290(0x1e2)](_0x5002cf,setTimeout(()=>this['_saveCache'](_0x5002cf),_0x4eb632));}['_getSaveTimeout'](){const _0x4ca7b9=_0x514347;var _0x193e7c;return(_0x193e7c=this[_0x4ca7b9(0x33c)]['getConfig'](_0x5e3c4a))!=null?_0x193e7c:_0x2ea309;}[_0x514347(0x212)](_0xf45957){const _0x2e64a5=_0x514347,_0x573a96=this[_0x2e64a5(0x18e)]['get'](_0xf45957);return _0x573a96!==void 0x0&&window[_0x2e64a5(0x356)](_0x573a96),this[_0x2e64a5(0x2c9)][_0x2e64a5(0x23b)](_0x4c201a(_0xf45957),this['_cachedData'][_0x2e64a5(0x1af)](_0xf45957))[_0x2e64a5(0x2e5)](()=>this['_saveTaskMap'][_0x2e64a5(0x346)](_0xf45957));}async[_0x514347(0x20a)](){const _0x581cab=_0x514347,_0x22346f=[];this[_0x581cab(0x18e)][_0x581cab(0x2fa)]((_0x4b343e,_0x4f395b)=>{const _0x196286=_0x581cab;window[_0x196286(0x356)](_0x4b343e),_0x22346f[_0x196286(0x34d)](this[_0x196286(0x212)](_0x4f395b)[_0x196286(0x2e5)](()=>{const _0x1c60f1=_0x196286;this[_0x1c60f1(0x18e)][_0x1c60f1(0x346)](_0x4f395b);}));}),await Promise[_0x581cab(0x279)](_0x22346f);}};we=_n([Ee(0x0,_0xf9f7e9),Ee(0x1,_0x3edc7c),Ee(0x2,_0x199102(_0x20fce4))],we);class hn extends _0x5941cc{constructor(){const _0x37498a=_0x514347;super(),_(this,_0x37498a(0x26e)),this[_0x37498a(0x26e)]=_0xd74d5e(window,_0x37498a(0x29b))['pipe'](_0x2a9ca9(this[_0x37498a(0x18a)]),_0x4d209a(0x1),_0x362984(void 0x0));}[_0x514347(0x293)](_0x12c1f8,_0x3a8949,_0x642336=!0x1){const _0xc8cc29=_0x514347,_0x1776b8=new URL(window[_0xc8cc29(0x365)][_0xc8cc29(0x19d)]);_0x1776b8[_0xc8cc29(0x258)][_0xc8cc29(0x1e2)](_0x12c1f8,_0x3a8949),_0x642336?window[_0xc8cc29(0x1d6)][_0xc8cc29(0x276)]('','',_0x1776b8[_0xc8cc29(0x181)]()):window['history'][_0xc8cc29(0x1e8)]('','',_0x1776b8['toString']());}[_0x514347(0x219)](_0x24acc6,_0x4203c6=!0x1){const _0x37f79d=_0x514347,_0x53bddb=new URL(window[_0x37f79d(0x365)][_0x37f79d(0x19d)]);_0x53bddb[_0x37f79d(0x258)][_0x37f79d(0x346)](_0x24acc6),_0x4203c6?window[_0x37f79d(0x1d6)]['replaceState']('','',_0x53bddb[_0x37f79d(0x181)]()):window[_0x37f79d(0x1d6)][_0x37f79d(0x1e8)]('','',_0x53bddb['toString']());}['getParam'](_0x358b7c){const _0x1c6de4=_0x514347;var _0x21524a;return(_0x21524a=new URL(window[_0x1c6de4(0x365)]['href'])['searchParams'][_0x1c6de4(0x1af)](_0x358b7c))!=null?_0x21524a:void 0x0;}}var un=Object[_0x514347(0x348)],dn=Object['getOwnPropertyDescriptor'],fn=(_0x52d83c,_0x58b939,_0x9406e6)=>_0x58b939 in _0x52d83c?un(_0x52d83c,_0x58b939,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x9406e6}):_0x52d83c[_0x58b939]=_0x9406e6,Sn=(_0x3f1f11,_0x517d48,_0x48f941,_0x156906)=>{for(var _0x17b19d=_0x156906>0x1?void 0x0:_0x156906?dn(_0x517d48,_0x48f941):_0x517d48,_0x2fa69e=_0x3f1f11['length']-0x1,_0x5d6575;_0x2fa69e>=0x0;_0x2fa69e--)(_0x5d6575=_0x3f1f11[_0x2fa69e])&&(_0x17b19d=_0x5d6575(_0x17b19d)||_0x17b19d);return _0x17b19d;},Oe=(_0x11f812,_0x4bc99a)=>(_0xe8bd95,_0x211f04)=>_0x4bc99a(_0xe8bd95,_0x211f04,_0x11f812),mn=(_0x21af32,_0xc33dc8,_0x1a5fc4)=>fn(_0x21af32,_0xc33dc8+'',_0x1a5fc4);const In='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ae=class extends _0x466099{constructor(_0x4ba763=et,_0x5c61ad,_0x1dd0dc,_0x119d8f){const _0x4b9643=_0x514347;super(),this[_0x4b9643(0x1df)]=_0x4ba763,this[_0x4b9643(0x323)]=_0x5c61ad,this['_injector']=_0x1dd0dc,this[_0x4b9643(0x33c)]=_0x119d8f;const {..._0x44f085}=_0x4798ee({},et,this[_0x4b9643(0x1df)]);this['_configService'][_0x4b9643(0x2a7)](qi,_0x44f085);}[_0x514347(0x2d7)](){const _0x1eb097=_0x514347;this[_0x1eb097(0x2a0)](),this[_0x1eb097(0x322)]();}[_0x514347(0x1b7)](){this['_registerRenderDependencies']();}[_0x514347(0x2a0)](){const _0x1de834=_0x514347;var _0x46f938;const _0x2f8b75=[[He],[ae],[re],[oe],[Fe],[Ut,{'useClass':hn}],[_0x25eca7,{'useClass':_0x44a48c}],[_0x3ff8d0,{'useClass':we}],[se],[ce],[ne],[F],[Ne],[ie]];_0x314f5a(this[_0x1de834(0x1d4)],_0x31d61b(_0x2f8b75,(_0x46f938=this['_config'])==null?void 0x0:_0x46f938[_0x1de834(0x1a9)]));}['_registerRenderDependencies'](){const _0x13a961=_0x514347;this[_0x13a961(0x266)](this[_0x13a961(0x323)][_0x13a961(0x1a2)](_0x50b062[_0x13a961(0x1f6)],[Le])),this[_0x13a961(0x266)](this['_renderManagerService']['registerRenderModule'](_0x50b062[_0x13a961(0x2f4)],[Pe]));}[_0x514347(0x322)](){const _0x2cdfe3=_0x514347;_0xba5b39(this[_0x2cdfe3(0x1d4)],[[F],[se],[ce],[ne],[ie]]);}};mn(Ae,'pluginName',In),Ae=Sn([_0x22f470(_0x3500cc),Oe(0x1,_0x253730),Oe(0x2,_0x199102(_0x5d1904)),Oe(0x3,_0xf9f7e9)],Ae);var vn=Object[_0x514347(0x190)],gn=(_0x3fe281,_0x1dd7bc,_0x41bf7d,_0x794c2)=>{const _0x1e8db3=_0x514347;for(var _0x441bf0=_0x794c2>0x1?void 0x0:_0x794c2?vn(_0x1dd7bc,_0x41bf7d):_0x1dd7bc,_0x21974a=_0x3fe281[_0x1e8db3(0x374)]-0x1,_0x482940;_0x21974a>=0x0;_0x21974a--)(_0x482940=_0x3fe281[_0x21974a])&&(_0x441bf0=_0x482940(_0x441bf0)||_0x441bf0);return _0x441bf0;},z=(_0x36072e,_0x4cad6c)=>(_0x3e78db,_0x506302)=>_0x4cad6c(_0x3e78db,_0x506302,_0x36072e);let it=class extends _0x171668{constructor(_0x87315e,_0x16ab1e,_0x143d8d,_0x8646f0,_0xad1c0c){super(_0x87315e,_0x16ab1e,_0x143d8d,_0x8646f0,_0xad1c0c);}async['createSocket'](_0x4b42b1){const _0x5e7df3=_0x514347,_0x33bc27=await this[_0x5e7df3(0x214)](),_0xfd5710=this[_0x5e7df3(0x30e)](_0x4b42b1,_0x33bc27);return this['_doCreateSocket'](_0xfd5710);}[_0x514347(0x30e)](_0x390ac0,_0x357b0f){const _0x5df561=_0x514347,_0x245d93=typeof window>'u'?new URL(_0x390ac0):new URL(_0x390ac0,window[_0x5df561(0x365)][_0x5df561(0x208)]);_0x245d93[_0x5df561(0x258)][_0x5df561(0x1e2)](_0x5df561(0x1fe),_0x357b0f);const _0x43aaa2=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x5df561(0x1d3)]);return _0x43aaa2[_0x5df561(0x1af)](_0x5df561(0x33f))&&_0x245d93[_0x5df561(0x258)][_0x5df561(0x1e2)]('runId',_0x43aaa2[_0x5df561(0x1af)](_0x5df561(0x33f))),_0x245d93[_0x5df561(0x181)]();}async[_0x514347(0x214)](){const _0x73114=_0x514347;var _0x110847,_0x24c0fd,_0x56a849;const _0x5c42ae=this['_configService'][_0x73114(0x349)](_0x478aeb),_0x5bbbfc=(_0x110847=_0x5c42ae==null?void 0x0:_0x5c42ae[_0x73114(0x1ce)])!=null?_0x110847:_0xe45bc;return(_0x56a849=(_0x24c0fd=(await this[_0x73114(0x2ed)]['get'](_0x5bbbfc,{'headers':{'Content-Type':_0x73114(0x222)}}))[_0x73114(0x224)])==null?void 0x0:_0x24c0fd[_0x73114(0x375)])!=null?_0x56a849:'';}};it=gn([z(0x0,_0x199102(_0x5d1904)),z(0x1,_0x199102(_0x327d2c)),z(0x2,_0xf9f7e9),z(0x3,_0x486f03),z(0x4,_0x2f32c1)],it);var Lt=(_0x338f83=>(_0x338f83[_0x338f83[_0x514347(0x295)]=0x0]=_0x514347(0x295),_0x338f83[_0x338f83['OK']=0x1]='OK',_0x338f83[_0x338f83['INTERNAL_ERROR']=0x2]=_0x514347(0x26d),_0x338f83[_0x338f83[_0x514347(0x2e9)]=0x3]='PERMISSION_DENIED',_0x338f83[_0x338f83[_0x514347(0x189)]=0x4]='NOT_FOUND',_0x338f83[_0x338f83[_0x514347(0x2a8)]=0x5]=_0x514347(0x2a8),_0x338f83[_0x338f83[_0x514347(0x1c5)]=0x6]='ALREADY_EXISTS',_0x338f83[_0x338f83['INVALID_ARGUMENT']=0x7]=_0x514347(0x2f2),_0x338f83[_0x338f83[_0x514347(0x1a5)]=0x8]=_0x514347(0x1a5),_0x338f83[_0x338f83['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x338f83[_0x338f83[_0x514347(0x303)]=0xa]=_0x514347(0x303),_0x338f83[_0x338f83[_0x514347(0x1fd)]=0xb]=_0x514347(0x1fd),_0x338f83[_0x338f83[_0x514347(0x273)]=0xc]=_0x514347(0x273),_0x338f83[_0x338f83['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x514347(0x36c),_0x338f83[_0x338f83[_0x514347(0x26a)]=0xe]=_0x514347(0x26a),_0x338f83[_0x338f83[_0x514347(0x1aa)]=0x1389]=_0x514347(0x1aa),_0x338f83[_0x338f83[_0x514347(0x21d)]=0x1771]=_0x514347(0x21d),_0x338f83[_0x338f83['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x514347(0x2d2),_0x338f83[_0x338f83[_0x514347(0x351)]=0x1773]=_0x514347(0x351),_0x338f83[_0x338f83[_0x514347(0x263)]=0x1b59]=_0x514347(0x263),_0x338f83[_0x338f83['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x338f83[_0x338f83[_0x514347(0x371)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x338f83[_0x338f83[_0x514347(0x210)]=0x1b5c]=_0x514347(0x210),_0x338f83[_0x338f83[_0x514347(0x1ea)]=0x1b5d]=_0x514347(0x1ea),_0x338f83[_0x338f83['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x514347(0x2e1),_0x338f83[_0x338f83['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x514347(0x275),_0x338f83[_0x338f83['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x514347(0x1ac),_0x338f83[_0x338f83[_0x514347(0x24a)]=0x232b]=_0x514347(0x24a),_0x338f83[_0x338f83[_0x514347(0x30d)]=0x232c]=_0x514347(0x30d),_0x338f83[_0x338f83[_0x514347(0x343)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x338f83[_0x338f83[_0x514347(0x314)]=0x2711]=_0x514347(0x314),_0x338f83[_0x338f83[_0x514347(0x32d)]=0x2712]=_0x514347(0x32d),_0x338f83[_0x338f83[_0x514347(0x1a0)]=0x2713]=_0x514347(0x1a0),_0x338f83[_0x338f83[_0x514347(0x1c8)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x338f83[_0x338f83['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x338f83[_0x338f83[_0x514347(0x1c6)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x338f83[_0x338f83['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x514347(0x366),_0x338f83[_0x338f83[_0x514347(0x2df)]=0x271d]=_0x514347(0x2df),_0x338f83[_0x338f83[_0x514347(0x30f)]=0x271e]=_0x514347(0x30f),_0x338f83[_0x338f83['YUUMI_AI_RUN_FAILED']=0x271f]=_0x514347(0x1a7),_0x338f83[_0x338f83[_0x514347(0x207)]=0x2720]=_0x514347(0x207),_0x338f83[_0x338f83[_0x514347(0x329)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x338f83[_0x338f83[_0x514347(0x180)]=0x2ee1]=_0x514347(0x180),_0x338f83[_0x338f83[_0x514347(0x17b)]=0x2ee2]=_0x514347(0x17b),_0x338f83[_0x338f83[_0x514347(0x290)]=0x2ee3]=_0x514347(0x290),_0x338f83[_0x338f83[_0x514347(0x1fb)]=0x2ee4]=_0x514347(0x1fb),_0x338f83[_0x338f83[_0x514347(0x1e5)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x338f83[_0x338f83[_0x514347(0x26b)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x338f83[_0x338f83[_0x514347(0x1dc)]=0x32ca]=_0x514347(0x1dc),_0x338f83[_0x338f83[_0x514347(0x29e)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x338f83[_0x338f83[_0x514347(0x280)]=-0x1]=_0x514347(0x280),_0x338f83))(Lt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x4c6004,_0x691427,_0x4172b7,_0x3bd28a)=>{const _0xf5426a=_0x514347;for(var _0x50870c=_0x3bd28a>0x1?void 0x0:_0x3bd28a?pn(_0x691427,_0x4172b7):_0x691427,_0x2cf644=_0x4c6004[_0xf5426a(0x374)]-0x1,_0x482623;_0x2cf644>=0x0;_0x2cf644--)(_0x482623=_0x4c6004[_0x2cf644])&&(_0x50870c=_0x482623(_0x50870c)||_0x50870c);return _0x50870c;},be=(_0x49e5d3,_0x37cfe9)=>(_0x2aa75c,_0x1ac18f)=>_0x37cfe9(_0x2aa75c,_0x1ac18f,_0x49e5d3);let nt=class extends _0x6ab83e{constructor(_0x5dc6a5,_0x1eca2f,_0x1fcbc7){const _0x6deaa8=_0x514347;super(),this[_0x6deaa8(0x28d)]=_0x5dc6a5,this[_0x6deaa8(0x2ed)]=_0x1eca2f,this['_configService']=_0x1fcbc7;}async['runOnServer'](_0x32de58,_0x1276fd,_0x2fcb58,..._0x2f0e6e){const _0x1fb40=_0x514347;var _0x16907c,_0x3fadad,_0x44ebcb,_0x3bfd0b;const _0x4f0f3d=this[_0x1fb40(0x28d)][_0x1fb40(0x20f)]();if(!_0x4f0f3d)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x3c3716=((_0x16907c=this[_0x1fb40(0x33c)][_0x1fb40(0x349)](_0x2c641c))!=null?_0x16907c:_0x29344e)+'/'+_0x32de58+_0x1fb40(0x29d)+_0x1276fd,_0x161d19=new URL(window[_0x1fb40(0x365)]['href']),_0x28a832={'scriptId':_0x32de58,'runId':(_0x3fadad=_0x161d19['searchParams'][_0x1fb40(0x1af)](_0x1fb40(0x33f)))!=null?_0x3fadad:'','function':_0x1276fd,'unitId':_0x4f0f3d[_0x1fb40(0x37d)](),'argsOfFunction':JSON['stringify'](_0x2f0e6e),'invokeId':(_0x44ebcb=_0x2fcb58['invokeId'])!=null?_0x44ebcb:'','executionId':(_0x3bfd0b=_0x2fcb58[_0x1fb40(0x2cc)])!=null?_0x3bfd0b:''};try{const _0x3b725c=await this['_httpService'][_0x1fb40(0x1bc)](_0x3c3716,{'body':_0x28a832});return _0x3b725c['body']['error']&&_0x3b725c['body']['error'][_0x1fb40(0x246)]!==Lt['OK']?_0x1fb40(0x283):_0x3b725c['body']['result'];}catch{return _0x1fb40(0x283);}}};nt=Cn([be(0x0,_0x2ec70f),be(0x1,_0x199102(_0x327d2c)),be(0x2,_0xf9f7e9)],nt);const rt=0x7530,ot=_0x514347(0x2be);function _0x434e(){const _0x3e288f=['WECHAT_HAS_BEEN_BOUND','collabStatus.notCollab','INTERNAL_ERROR','urlChange$','with','_hideTimer','_updateLocalCursor','...','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_colorIndex','LICENSE_MAX_UNITS_EXCEEDED','replaceState','_draw','_docSkeletonManagerService','all','pipe','requireSession','collabStatus.fetchMiss','off-line-icon_clip0_910_343','_ensureSubject','map','UNRECOGNIZED','onMouseMove','addClipboardHook','Failed','_docTransformIMECacheService','[CollaborationDataLoaderController]','_uiPartsService','PENDING','_setupBeforeClosingHandler','some','getUnhiddenWorksheets','_eventUnsubscribe','fill','_instanceService','RemoveRowCommandId','unitID','INVITE_CODE_REQUIRED','children','imageSourceType','setParam','24HLCrtW','UNDEFINED','round','onPointerEnter$','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','addObjects','setShapeProps','popstate','mutations','/run/','EMAIL_HAS_BEEN_BOUND','range','_registerDependencies','_unitStatus','OFFLINE','transform','15361TJWZMA','_transformUndoRedoStack','_init','setConfig','UNAUTHENTICATED','currentSkeleton$','getSheetId','_toggleOnline','disposeUnit','add','hide','div','1863otCUDU','row','skeleton','unit','UniverIcon','getCurrentSelections','subunit','collabStatus.offline','registerComponent','_cursor','_onCursorDelete','roomMembers$','assignAColorForMemberID','getViewport','ACTIVE_UNIT_EVENT_CHANNEL','drawWith','reconnect','replaceDocRanges','getOwnPropertySymbols','_onCursorUpdate','from','getAncestorScale','dispose','addEventListener','disableLocalCache','_localStorageService','subscribeEvent','function','executionId','svg','DeleteRangeMoveUpCommandId','bottom','none','setUndoRedoMutationParamsCache','SNAPSHOT_HAS_BEEN_REMOVED','FromArray','0\x200\x2016\x2016','_cursorShapes','_initStatusComponent','onStarting','symbol','cursorInfo','collaboration.single-unit.warning','getSheetBySheetId','source','collabStatus.syncing','updateOfflineData','YUUMI_ALL_TABLES_IS_INVALID','716620pGOSxm','CONNECTOR_DATA_TOO_LARGE','_collabCursorController','width','_hovered','then','saveTaskMap','jiqing.500','session.connection-failed','PERMISSION_DENIED','_heartbeatTimer','debug','idSuffix','_httpService','transformStateCache','registerBeforeClose','trim','fillRule','INVALID_ARGUMENT','show','UNIVER_SHEET','subscribe','36eiMjMz','url(#off-line-icon_clip0_910_343)','isActive','_commandService','forEach','univerjs-icon\x20univerjs-icon-','string','RECT','_updateSubUnitFromURLParams','_colorAssignService','on-line-icon','endColumn','redoState','LOGIN_FAILED','_setupSubUnitSync','deepClone','text','assign','restore','1790040AgsvXR','_refreshCollabCursors','SOCKET_FAILED_RETRY','HEADER_MENU','LICENSE_EXPORT_SIZE_EXCEEDED','_createSocketURL','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','tag','getOffsetConfig','doc.mutation.rich-text-editing','height','YUUMI_UNABLE_LOAD_URL','propertyIsEnumerable','_localeService','transformMutationsWithChangeset','_range','actions','_themeService','clearInterval','event$','moveTo','newValue','executeCommand','_memberService','_cachedData','_initDependencies','_renderManagerService','_transformHistoryAndStateStack','UPDATE_CURSOR','getDocRanges','_transformPreviousActiveRange','error','PY_RUNTIME_SCRIPT_ERROR','1em','M0\x200H16V16H0z','getStateCache','YUUMI_URL_COL_OUT_OF_RANGE','collab-text-anchor-','_name','_online','_urlService','data','_drawTextRange','_dataLoaderService','substring','getRenderById','NOT_COLLAB','http://www.w3.org/2000/svg','_initCommandExecutedListener','transformSelections','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','_configService','OTHER_CLIENTS_EDITING','asObservable','runId','mask','setTimeout','_logService','LICENSE_DISTRO_REJECTED','getValue','textRanges','delete','#FFF','defineProperty','getConfig','_transformService','url(#$1','DeleteRangeMoveLeftCommandId','push','_handleEvent','InsertRangeMoveRightCommandId','InsertColCommandId','ENSURE_SNAPSHOT_EXECUTION','_imageIoService','_getAnchorBounding','_entities','loadOfflineData','clearTimeout','measureText','_collabCursorState$','univer-mr-2\x20univer-flex\x20univer-text-xl','_removeClearOtherTimer','concat','unload','_hover','name','getActiveSheet','_handleJoinEvent','path','extend','_selfUnitIDs','SYNCED','location','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_startSheetCollabCursor','_refRangeService','setActiveRange','getMemberID','ONLINE','EMAIL_VERIFY_CODE_MISMATCH','init','unitId','_anchorDot','_session','APPLY_REVISION_CONFILICT','749802vsTvvr','_sheetSkeletonManagerService','length','ticket','next','currentColor','registerRefRange','fillText','_initStatusListener','ranges','getMergeData','getUnitId','collaboration-client-ui.config','_getSaveTimeout','_lastPointer','getMember','enableLocalCache','INVALID_INVITE_CODE','unshift','getTypeOfUnitDisposed$','getTypeOfUnitAdded$','Warning','INVITE_CODE_HAS_BEEN_UES','toString','clipPath','setInterval','undoState','startRow','random','eventID','transformIMECache','NOT_FOUND','dispose$','onCommandExecuted','_backgroundColor','status$','_saveTaskMap','_labelPosition','getOwnPropertyDescriptor','_entityInit$','_scene','cursorInfo$','getColorFromTheme','_cursorInfo$','save','_docStateChangeManagerService','JOIN_ROOM_FAILED','_status$','hasOwnProperty','TEXT','_color','href','defIds','displayName','YUUMI_RATE_OVER_LIMIT','white','registerRenderModule','attrs','collab-client.tooltip.reconnect','TOO_MANY_REQUESTS','InsertRangeMoveDownCommandId','YUUMI_AI_RUN_FAILED','stringify','override','CHANGESET_REVISION_CONFILICT','_scheduleClearOtherTimer','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','findNodePositionByCharIndex','selections','get','_scheduleHeartbeat','_initEvent','_drawRectRange','Error','endRow','colorChannel1','InsertRowCommandId','onRendered','1066584xUwZEY','saveImage','_docSkeleton','_assignedColors','post','onTransformChange$','sheetId','type','session.will-retry','getCurrentUnitForType','complete','_updateURLWithCurrentState','univer-flex\x20univer-items-center','ALREADY_EXISTS','YUUMI_ASYNCIO_CANCELLED','icon','YUUMI_SUBSCRIPTION_NOT_FOUND','NO_OTHER_CLIENTS_EDITING','_id','engine','SUBMIT_CHANGESET_TIMEOUT','addObject','wsSessionTicketUrl','translate(.97)','getCurrent','_document','CONFLICT','search','_injector','_unitOnClients','history','collaboration-client.offline-data-not-saved','selection','_render','getItem','entityInit$','MOBILE_HAS_BEEN_BOUND','entries','getActiveRange','_config','top','_getMergeRange','set','collab-text-range-','_updateCollabCursors','INVITE_CODE_ALREADY_BOUND','xlink:href','onPointerMove$','pushState','getRangePointData','APPLY_DUPLICATED','_initEntityListener','unsubscribe','send','_cursors','arc','getParam','AWAITING_WITH_PENDING','color','transformMutation','VIEW_MAIN','_context','UNIVER_DOC','_initResize','_collaborationController','apply','saveOfflineData','USER_NOT_INVITED_CODE','focused$','MOBILE_VERIFY_CODE_MISMATCH','sessionTicket','_revisionService','activeSheet$','collabStatus.conflict','_docTransformStateCacheService','syncEditingCollabCursor','533687QsYUZf','font','_textBubble','YUUMI_CONNECTOR_URL_NOT_FOUND','origin','lineTo','exhaustSavingTask','getUniverSheetInstance','has','session.collaboration-timeout','transformRemoteChangeset','getFocusedUnit','APPLY_PERMISSION_DENIED','evenodd','_saveCache','_beforeCloseService','_getSessionTicket','black','green.600','SOCKET_FAILED','getVpScrollXYInfoByPosToVp','removeParam','_handleLeaveEvent','replace','createInstance','SNAPSHOT_INVALID_SNAPSHOT','_handleHover','_localCacheService','toRgbString','_clearOtherTimers','application/json','_getSheetObject','body','_toggleOffline','key','_startDocCollabCursor','_roomMembers$','resize','sessionStatus$','_shapes','_docTransformSelectionsService','onPointerLeave$','collabStatus.synced','rgba(255,\x20255,\x20255,\x200.01)','m2Prime','_docSyncEditingCollabCursorService','find','_anchor','currentTheme$','_scheduleSaving','CLOSE_ROOM','_collabSessionService','split','docStateChange$','_drawAnchor','setItem','on-line-icon_clip0_910_349','beginPath','_handleHeartbeatEvent','_removeCollabCursors','backgroundColor','_docClipboardService','defs','getCollabCursors$','_send','collaboration.closeRoom','code','max','isEditing','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','LICENSE_IMPORT_SIZE_EXCEEDED','params','addHandlerCallback','setAlpha','call','hovered','_collaborationUIEventService','className','0\x200\x2017\x2016','min','_disabled','size','fillStyle','includes','searchParams','memberID','setStateCache','_univerInstanceService','m1Prime','41700JRuXPv','getUndoRedoMutationParamsCache','permission.title','AWAITING','prototype','_messageService','APPLY_REJECT','labelPosition','values','disposeWithMe','roomMembers','USERS_LEAVE','collabCursorState$','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED'];_0x434e=function(){return _0x3e288f;};return _0x434e();}class Fn extends _0x6ab83e{constructor(){const _0x4af2ef=_0x514347;super(),_(this,_0x4af2ef(0x1ca),_0x5b1fc8()),_(this,_0x4af2ef(0x363),new Set()),_(this,_0x4af2ef(0x1d5),new Map()),_(this,_0x4af2ef(0x2ea),null),_(this,_0x4af2ef(0x221),new Map()),_(this,'_unitStatus',new Map()),this[_0x4af2ef(0x2a6)]();}[_0x514347(0x2c6)](){const _0x31538c=_0x514347;super[_0x31538c(0x2c6)](),this['_clearOtherTimers'][_0x31538c(0x2fa)]((_0x2fa4a4,_0x2b42ec)=>this[_0x31538c(0x35a)](_0x2b42ec)),this['_heartbeatTimer']&&window['clearInterval'](this[_0x31538c(0x2ea)]);}['getUnitStatus$'](_0x492beb){const _0x1e4015=_0x514347;return this[_0x1e4015(0x27e)](_0x492beb)[_0x1e4015(0x27a)](_0x450ef9());}['editingUnit'](_0x36327e){const _0x111db0=_0x514347;this[_0x111db0(0x363)][_0x111db0(0x255)]===0x0&&this[_0x111db0(0x1b0)](),this['_selfUnitIDs'][_0x111db0(0x2ad)](_0x36327e),this['_send']({'type':0x0,'memberID':this[_0x111db0(0x1ca)],'unitIDs':[_0x36327e],'isForwarded':!0x1});}[_0x514347(0x2ac)](_0x501a54){const _0x67d519=_0x514347;this[_0x67d519(0x363)][_0x67d519(0x346)](_0x501a54),this[_0x67d519(0x363)][_0x67d519(0x255)]===0x0&&this[_0x67d519(0x2ea)]&&window[_0x67d519(0x31b)](this[_0x67d519(0x2ea)]);}[_0x514347(0x2a6)](){const _0x4e8f3a=_0x514347;this[_0x4e8f3a(0x266)](_0xe19ae0(_0xd74d5e(window,'storage')[_0x4e8f3a(0x2f5)](_0x12d8f7=>{const _0x2d6341=_0x4e8f3a;if(_0x12d8f7[_0x2d6341(0x226)]!==ot||!_0x12d8f7[_0x2d6341(0x31e)])return;const _0x1bff7a=JSON['parse'](_0x12d8f7[_0x2d6341(0x31e)]);this[_0x2d6341(0x34e)](_0x1bff7a);}))),window[_0x4e8f3a(0x2c7)](_0x4e8f3a(0x35c),()=>this[_0x4e8f3a(0x244)]({'type':0x1,'memberID':this[_0x4e8f3a(0x1ca)],'unitIDs':Array[_0x4e8f3a(0x2c4)](this[_0x4e8f3a(0x363)])}));}['_handleEvent'](_0x5070d5){const _0x2deaba=_0x514347;switch(_0x5070d5[_0x2deaba(0x1bf)]){case 0x0:this[_0x2deaba(0x360)](_0x5070d5);break;case 0x1:this[_0x2deaba(0x21a)](_0x5070d5);break;case 0x2:this[_0x2deaba(0x23e)](_0x5070d5);break;}}[_0x514347(0x360)](_0x317b42){const _0x13c1b2=_0x514347,{unitIDs:_0x27ad0f,memberID:_0x5c5f3d,isForwarded:_0x32d050}=_0x317b42;_0x27ad0f['forEach'](_0x3a14e8=>{const _0x1ac645=_0x35fb;if(!_0x32d050&&this[_0x1ac645(0x1d5)][_0x1ac645(0x20c)](_0x3a14e8)&&this[_0x1ac645(0x27e)](_0x3a14e8)['next'](_0x391b6b['OTHER_CLIENTS_EDITING']),!this[_0x1ac645(0x1d5)][_0x1ac645(0x20c)](_0x3a14e8)||!this['_unitOnClients'][_0x1ac645(0x1af)](_0x3a14e8)[_0x1ac645(0x20c)](_0x5c5f3d)){const _0x45505c=this[_0x1ac645(0x1d5)][_0x1ac645(0x1af)](_0x3a14e8)||new Set();_0x45505c[_0x1ac645(0x2ad)](_0x5c5f3d),this['_unitOnClients']['set'](_0x3a14e8,_0x45505c),this['_scheduleClearOtherTimer'](_0x5c5f3d);}}),_0x32d050||this[_0x13c1b2(0x244)]({'type':0x0,'memberID':this[_0x13c1b2(0x1ca)],'unitIDs':[...this[_0x13c1b2(0x363)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x138863){const _0x5c94dc=_0x514347;this[_0x5c94dc(0x35a)](_0x138863);const _0x3f939b=window[_0x5c94dc(0x341)](()=>{const _0x2980ce=_0x5c94dc;this[_0x2980ce(0x1d5)]['forEach'](_0x2ca0ef=>{const _0x331e89=_0x2980ce;_0x2ca0ef[_0x331e89(0x346)](_0x138863);});},rt*0x2);this[_0x5c94dc(0x221)][_0x5c94dc(0x1e2)](_0x138863,_0x3f939b);}['_removeClearOtherTimer'](_0x49a290){const _0x128457=_0x514347;if(this[_0x128457(0x221)]['has'](_0x49a290)){const _0x219a0f=this[_0x128457(0x221)][_0x128457(0x1af)](_0x49a290);_0x219a0f&&window[_0x128457(0x356)](_0x219a0f),this['_clearOtherTimers']['set'](_0x49a290,null);}}[_0x514347(0x21a)](_0x1df218){const _0x1f1836=_0x514347,{memberID:_0x1306d7,unitIDs:_0x38b378}=_0x1df218;_0x38b378[_0x1f1836(0x2fa)](_0x597b48=>{const _0x1765e0=_0x1f1836;var _0x126d8b;const _0x3293d2=this[_0x1765e0(0x1d5)]['get'](_0x597b48);_0x3293d2&&(_0x3293d2[_0x1765e0(0x346)](_0x1306d7),(_0x126d8b=this[_0x1765e0(0x27e)](_0x597b48))==null||_0x126d8b[_0x1765e0(0x376)](_0x3293d2[_0x1765e0(0x255)]===0x0?_0x391b6b[_0x1765e0(0x1c9)]:_0x391b6b[_0x1765e0(0x33d)]));}),this[_0x1f1836(0x35a)](_0x1306d7);}['_handleHeartbeatEvent'](_0x4e36a8){const _0x3faace=_0x514347;this[_0x3faace(0x1ab)](_0x4e36a8[_0x3faace(0x259)]);}[_0x514347(0x244)](_0x1c8c73){const _0x439194=_0x514347;localStorage[_0x439194(0x23b)](ot,JSON[_0x439194(0x1a8)](_0x1c8c73));}[_0x514347(0x1b0)](){const _0x31d8b5=_0x514347;this[_0x31d8b5(0x2ea)]=window[_0x31d8b5(0x183)](()=>{const _0x566660=_0x31d8b5;this['_send']({'type':0x2,'memberID':this[_0x566660(0x1ca)]});},rt);}[_0x514347(0x27e)](_0x47c961){const _0x2fad72=_0x514347;return this[_0x2fad72(0x2a1)][_0x2fad72(0x20c)](_0x47c961)||this[_0x2fad72(0x2a1)][_0x2fad72(0x1e2)](_0x47c961,new _0x59c4e2(_0x391b6b['NO_OTHER_CLIENTS_EDITING'])),this[_0x2fad72(0x2a1)][_0x2fad72(0x1af)](_0x47c961);}}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};
|
package/lib/es/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x4c58(){const _0x16381b=['2016428gnicsa','Collaboration\x20Conflict','Local\x20file','Edit\x20conflicts','70504WILjCG','Click\x20to\x20Reconnect','58152DrUNRP','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.','400nvYboi','49093IcGYCN','477TWTUxd','7615QilXbQ','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','936103zEWMUj','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Syncing\x20server\x20data...','Syncing...','310176FKjGQG','Synced','Connection\x20failed,\x20please\x20check\x20your\x20network.','7YGmZxK','1446cECHiI','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'];_0x4c58=function(){return _0x16381b;};return _0x4c58();}const _0x46c146=_0x1a20;(function(_0x362458,_0x3ceb44){const _0x103b09=_0x1a20,_0x266d31=_0x362458();while(!![]){try{const _0x18e9d9=parseInt(_0x103b09(0x1ce))/0x1*(-parseInt(_0x103b09(0x1be))/0x2)+parseInt(_0x103b09(0x1cb))/0x3+-parseInt(_0x103b09(0x1d1))/0x4+-parseInt(_0x103b09(0x1c3))/0x5*(-parseInt(_0x103b09(0x1cf))/0x6)+-parseInt(_0x103b09(0x1c6))/0x7+-parseInt(_0x103b09(0x1bc))/0x8*(-parseInt(_0x103b09(0x1c2))/0x9)+-parseInt(_0x103b09(0x1c0))/0xa*(-parseInt(_0x103b09(0x1c1))/0xb);if(_0x18e9d9===_0x3ceb44)break;else _0x266d31['push'](_0x266d31['shift']());}catch(_0x2c5296){_0x266d31['push'](_0x266d31['shift']());}}}(_0x4c58,0x430f4));const e={'collab-client':{'tooltip':{'reconnect':_0x46c146(0x1bd)}},'collabStatus':{'fetchMiss':_0x46c146(0x1c9),'conflict':_0x46c146(0x1bb),'notCollab':_0x46c146(0x1ba),'synced':_0x46c146(0x1cc),'syncing':_0x46c146(0x1ca),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x46c146(0x1cd),'will-retry':_0x46c146(0x1c7),'room-full':_0x46c146(0x1c8),'collaboration-timeout':_0x46c146(0x1c5)},'conflict':{'title':_0x46c146(0x1b9),'content':_0x46c146(0x1bf)},'permission':{'title':'Authentication\x20Error','content':_0x46c146(0x1d0)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x46c146(0x1c4)}},o=e;function _0x1a20(_0x368b2a,_0x238b8c){const _0x4c5812=_0x4c58();return _0x1a20=function(_0x1a20c4,_0xe2af44){_0x1a20c4=_0x1a20c4-0x1b9;let _0x3316a7=_0x4c5812[_0x1a20c4];return _0x3316a7;},_0x1a20(_0x368b2a,_0x238b8c);}export{o as default};
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x4fe5(_0x3efce4,_0x293f1d){const _0x395617=_0x3956();return _0x4fe5=function(_0x4fe561,_0x3d6b85){_0x4fe561=_0x4fe561-0x1db;let _0x4b5707=_0x395617[_0x4fe561];return _0x4b5707;},_0x4fe5(_0x3efce4,_0x293f1d);}const _0x39d05e=_0x4fe5;(function(_0x4be949,_0x1ddb2a){const _0x5e4c63=_0x4fe5,_0x395b40=_0x4be949();while(!![]){try{const _0x4ad106=-parseInt(_0x5e4c63(0x1ec))/0x1+-parseInt(_0x5e4c63(0x1e8))/0x2*(parseInt(_0x5e4c63(0x1ed))/0x3)+parseInt(_0x5e4c63(0x1df))/0x4+-parseInt(_0x5e4c63(0x1e6))/0x5*(parseInt(_0x5e4c63(0x1dc))/0x6)+-parseInt(_0x5e4c63(0x1e3))/0x7+parseInt(_0x5e4c63(0x1ee))/0x8+-parseInt(_0x5e4c63(0x1dd))/0x9*(-parseInt(_0x5e4c63(0x1e4))/0xa);if(_0x4ad106===_0x1ddb2a)break;else _0x395b40['push'](_0x395b40['shift']());}catch(_0x4730cc){_0x395b40['push'](_0x395b40['shift']());}}}(_0x3956,0x1d2bd));function _0x3956(){const _0x445fc6=['Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','788830AHXmCi','1438880CIRJVE','Syncing...','250mtJpsw','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','12746XkMztA','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Authentication\x20Error','227326kSiWtu','60NjirPW','1695616JxHmLX','Syncing\x20server\x20data...','Edit\x20conflicts','Local\x20file','13044UMXhBA','18DPJJYG','Click\x20to\x20Reconnect','783732SvELkx','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Synced'];_0x3956=function(){return _0x445fc6;};return _0x3956();}const e={'collab-client':{'tooltip':{'reconnect':_0x39d05e(0x1de)}},'collabStatus':{'fetchMiss':_0x39d05e(0x1ef),'conflict':_0x39d05e(0x1f0),'notCollab':_0x39d05e(0x1db),'synced':_0x39d05e(0x1e1),'syncing':_0x39d05e(0x1e5),'offline':_0x39d05e(0x1e7)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x39d05e(0x1e9)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x39d05e(0x1ea)},'permission':{'title':_0x39d05e(0x1eb),'content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x39d05e(0x1e0)},'auth':{'needGotoLoginAlert':_0x39d05e(0x1e2)}};export{e as default};
|