@univerjs-pro/collaboration-client-ui 0.7.0-nightly.202504291607 → 0.7.0-nightly.202504301607
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/en-US.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/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/en-US.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/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/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.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/en-US.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/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 _0x2ff589=_0x8596;(function(_0x323879,_0x264506){const _0x16461b=_0x8596,_0xffcde=_0x323879();while(!![]){try{const _0x1f7518=-parseInt(_0x16461b(0x208))/0x1+parseInt(_0x16461b(0x1d7))/0x2*(parseInt(_0x16461b(0x330))/0x3)+parseInt(_0x16461b(0x1a0))/0x4+-parseInt(_0x16461b(0x1ae))/0x5+-parseInt(_0x16461b(0x365))/0x6+-parseInt(_0x16461b(0x20a))/0x7*(parseInt(_0x16461b(0x288))/0x8)+parseInt(_0x16461b(0x2a0))/0x9;if(_0x1f7518===_0x264506)break;else _0xffcde['push'](_0xffcde['shift']());}catch(_0x8ed654){_0xffcde['push'](_0xffcde['shift']());}}}(_0x4637,0x274c3));var $t=Object[_0x2ff589(0x34c)],xt=(_0x1aa178,_0x5cd8b8,_0x5adce1)=>_0x5cd8b8 in _0x1aa178?$t(_0x1aa178,_0x5cd8b8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5adce1}):_0x1aa178[_0x5cd8b8]=_0x5adce1,_=(_0xfdd44,_0x46e6fc,_0x3b994f)=>xt(_0xfdd44,typeof _0x46e6fc!='symbol'?_0x46e6fc+'':_0x46e6fc,_0x3b994f);import{MemberService as _0x40f3ca,SessionStatus as _0x44faa7,CollaborationSessionService as _0x462455,CollaborationStatus as _0x4aa8a3,CollaborationController as _0x515bb0,ILocalCacheService as _0x43711d,CollaborationUIEventService as _0x406941,CollaborationUIEventId as _0x13681f,DataLoaderService as _0x83b419,DocCollaborationEntity as _0x4566f0,getLocalCacheKey as _0x4dba00,LOCAL_CACHE_INTERVAL as _0x40fd8e,LOCAL_CACHE_INTERVAL_KEY as _0x2fd71a,UniverCollaborationClientPlugin as _0x239f66,CollaborationSocketService as _0x394641,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x44288f,DEFAULT_WS_SESSION_TICKET_URL as _0x3cd0bb,UnitStatus as _0x5a2aef,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x42c95e,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x1983c8}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x40e5ab,Disposable as _0x542665,DOC_RANGE_TYPE as _0x4aa5fb,Inject as _0x4abecf,Injector as _0x53572c,IUniverInstanceService as _0x298822,ICommandService as _0x792647,debounce as _0x34fdfc,Rectangle as _0x1a09f7,DisposableCollection as _0x1d0a8a,toDisposable as _0x55d959,UniverInstanceType as _0x50946e,Tools as _0x4c6864,COLORS as _0x3dfe11,ColorKit as _0x1aa726,ThemeService as _0x37cd77,fromEventSubject as _0x12640c,LocaleService as _0x40bb19,createIdentifier as _0x2bb225,ILogService as _0x192faf,Optional as _0x25f8fb,Workbook as _0x512a77,CommandType as _0x5001f2,IConfigService as _0x1b184c,ILocalStorageService as _0x55a9da,DependentOn as _0x4a873d,Plugin as _0x437d36,merge as _0x44ac71,registerDependencies as _0x28a0ca,mergeOverrideWithDependencies as _0x102870,touchDependencies as _0x5d4ea3,generateRandomId as _0x257b27}from'@univerjs/core';import{Shape as _0xb4d31a,Rect as _0x439a92,getColor as _0x536806,RegularPolygon as _0x541c40,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x56f88f,Vector2 as _0x28f4a7,SHEET_VIEWPORT_KEY as _0x136919,IRenderManagerService as _0x5b5ed4}from'@univerjs/engine-render';import{ISocketService as _0x152628,WebSocketService as _0xec30f7,HTTPService as _0x584f97}from'@univerjs/network';import{IDocClipboardService as _0x507f4b,NodePositionConvertToCursor as _0x37a881,NodePositionConvertToRectRange as _0x1da8f8,TEXT_RANGE_LAYER_INDEX as _0x380719,SetDocZoomRatioOperation as _0x56903b,DocIMEInputManagerService as _0x564bd7,DocStateChangeManagerService as _0x2ca1b9}from'@univerjs/docs-ui';import{IImageIoService as _0x580fc6}from'@univerjs/drawing';import{BehaviorSubject as _0x2da5c1,debounceTime as _0x1dc439,takeUntil as _0x16f876,Subject as _0x57e03f,filter as _0x1a0912,switchMap as _0xb29a9c,merge as _0x3fa897,combineLatest as _0x42d931,of as _0x88b8e7,fromEvent as _0x4502af,shareReplay as _0x356d01,mapTo as _0x3febe4,distinctUntilChanged as _0xe1bd26}from'rxjs';import{SetTextSelectionsOperation as _0x2ebf55,RichTextEditingMutation as _0x14bd43,DocSelectionManagerService as _0x393415,DocSkeletonManagerService as _0x484a46}from'@univerjs/docs';import{ITransformService as _0x540c7a,CollaborationEvent as _0x48ad00,isTransformMutationFailure as _0x456d9f,isTransformMutationsWithChangesetSuccess as _0x21ee65,RevisionService as _0x155a79,ISnapshotServerService as _0x19be19}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x45bd40,serializeRangeWithSheet as _0x21ca79}from'@univerjs/engine-formula';import{RefRangeService as _0x35a5e8,SetSelectionsOperation as _0x4c7654,SheetsSelectionsService as _0x224247,EffectRefRangId as _0x3858bc,handleIRemoveRow as _0x44ae5e,handleIRemoveCol as _0x225ce8,handleMoveRange as _0x376cc8,handleInsertRow as _0x3c6372,handleInsertRangeMoveRight as _0x2758a8,handleInsertRangeMoveDown as _0xd6324e,handleInsertCol as _0xe1166a,handleDeleteRangeMoveUp as _0x9b2a92,handleDeleteRangeMoveLeft as _0x30601c,runRefRangeMutations as _0x17f90f,SetWorksheetActivateCommand as _0x1dbe2e}from'@univerjs/sheets';import{map as _0x5988cd,filter as _0x3f7302,throttleTime as _0xecc5c4,takeUntil as _0x4c3014,switchMap as _0x3d47ea}from'rxjs/operators';import{SheetSkeletonManagerService as _0x8e2b42,getCoordByCell as _0x47d7bb,getSheetObject as _0x448d13}from'@univerjs/sheets-ui';import{jsx as _0x323394,jsxs as _0x35e950}from'react/jsx-runtime';import{useObservable as _0x5ecd6e,useDependency as _0x50fc98,IUIPartsService as _0x39ac7c,BuiltInUIPart as _0x5bfe74,connectInjector as _0x406057,IBeforeCloseService as _0xf1c20,IMessageService as _0x139df0,INotificationService as _0x4bb781}from'@univerjs/ui';function _0x8596(_0x22ddc1,_0x53aa03){const _0x46374a=_0x4637();return _0x8596=function(_0x85960a,_0x55e95){_0x85960a=_0x85960a-0x188;let _0x517b77=_0x46374a[_0x85960a];return _0x517b77;},_0x8596(_0x22ddc1,_0x53aa03);}import{Tooltip as _0x134f31,clsx as _0x27f21f,MessageType as _0x2b34b2}from'@univerjs/design';import{forwardRef as _0x3710a6,useRef as _0x236828,createElement as _0x323661,useCallback as _0x52eb62}from'react';import{IRemoteInstanceService as _0x3c7de9}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0x12f08b,_0x35c4a1,_0x5c0466,_0x267871)=>{const _0x4234bd=_0x2ff589;for(var _0x104b76=_0x267871>0x1?void 0x0:_0x267871?ci(_0x35c4a1,_0x5c0466):_0x35c4a1,_0x60a8a=_0x12f08b[_0x4234bd(0x298)]-0x1,_0x411be8;_0x60a8a>=0x0;_0x60a8a--)(_0x411be8=_0x12f08b[_0x60a8a])&&(_0x104b76=_0x411be8(_0x104b76)||_0x104b76);return _0x104b76;},Je=(_0x414643,_0xa77c88)=>(_0x338389,_0x25c656)=>_0xa77c88(_0x338389,_0x25c656,_0x414643);let Ne=class extends _0x40e5ab{constructor(_0x37cc0e,_0x1bf79e){const _0x4ee350=_0x2ff589;super(),this[_0x4ee350(0x283)]=_0x37cc0e,this[_0x4ee350(0x28a)]=_0x1bf79e,this['_init']();}['_init'](){const _0x3526d6=_0x2ff589,_0x15c589=this;this[_0x3526d6(0x279)](this[_0x3526d6(0x283)][_0x3526d6(0x2ca)]({'onBeforePasteImage':async _0x5abe70=>{const _0x36e174=_0x3526d6,_0x57fe01=await _0x15c589[_0x36e174(0x28a)][_0x36e174(0x218)](_0x5abe70);return _0x57fe01?{'source':_0x57fe01['source'],'imageSourceType':_0x57fe01[_0x36e174(0x20d)]}:null;}}));}};Ne=li([Je(0x0,_0x507f4b),Je(0x1,_0x580fc6)],Ne);const Ze=[_0x2ff589(0x209),_0x2ff589(0x2a9),_0x2ff589(0x188),_0x2ff589(0x1f1),_0x2ff589(0x2b2),_0x2ff589(0x31d)];class ke extends _0x542665{constructor(){const _0x10cfb5=_0x2ff589;super(...arguments),_(this,_0x10cfb5(0x1a9),new Map()),_(this,_0x10cfb5(0x30f),0x0);}['assignAColorForMemberID'](_0x18644b){const _0xf85ccd=_0x2ff589;if(this['_assignedColors'][_0xf85ccd(0x2f3)](_0x18644b))return this[_0xf85ccd(0x1a9)]['get'](_0x18644b);const _0x3796fc=Ze[this[_0xf85ccd(0x30f)]];return this[_0xf85ccd(0x30f)]=(this[_0xf85ccd(0x30f)]+0x1)%Ze['length'],this['_assignedColors'][_0xf85ccd(0x326)](_0x18644b,_0x3796fc),_0x3796fc;}}function Tt(_0x3a5e50){const _0x2c71c3=_0x2ff589;let _0x52768e='';for(const _0x45e32a of _0x3a5e50){const {startOffset:_0x1e14b7,endOffset:_0x3cbbe5,isActive:_0x5e1fe7,rangeType:_0x2c7426,segmentId:_0x5922b2,segmentPage:_0x53e2af}=_0x45e32a;_0x52768e[_0x2c71c3(0x298)]&&(_0x52768e+=','),_0x52768e+=_0x1e14b7+':'+_0x3cbbe5+':'+(_0x5e1fe7?'1':'0')+':'+_0x2c7426+':'+_0x5922b2+':'+_0x53e2af;}return _0x52768e;}function _i(_0x42378e){const _0x167b4f=_0x2ff589,_0xb92b32=_0x42378e[_0x167b4f(0x2dc)](','),_0x40deca=[];for(const _0x48242e of _0xb92b32){const [_0x369cd4,_0x56577f,_0x355542,_0x52420e,_0x4f5a9d,_0xad2992]=_0x48242e['split'](':');_0x40deca['push']({'startOffset':Number(_0x369cd4),'endOffset':Number(_0x56577f),'collapsed':_0x369cd4===_0x56577f,'isActive':_0x355542==='1','rangeType':_0x52420e===_0x4aa5fb[_0x167b4f(0x274)]?_0x4aa5fb[_0x167b4f(0x274)]:_0x4aa5fb[_0x167b4f(0x382)],'segmentId':typeof _0x4f5a9d==_0x167b4f(0x1b7)?String(_0x4f5a9d):'','segmentPage':Number(_0xad2992!=null?_0xad2992:-0x1)});}return _0x40deca[_0x167b4f(0x285)](_0x4150dc=>_0x4150dc[_0x167b4f(0x1ba)])||(_0x40deca[0x0][_0x167b4f(0x1ba)]=!0x0),_0x40deca;}class He extends _0x40e5ab{constructor(){const _0x401371=_0x2ff589;super(...arguments),_(this,_0x401371(0x1d9),new _0x2da5c1(null)),_(this,'collabCursorState$',this['_collabCursorState$']['asObservable']());}['syncEditingCollabCursor'](_0x53dbeb){const _0x2e7ca2=_0x2ff589,{unitID:_0x519f4c,memberID:_0x46901c,textRanges:_0x3f2711}=_0x53dbeb,_0x36916a=Tt(_0x3f2711);if(_0x36916a==='')return;const _0x432dad={'unitID':_0x519f4c,'memberID':_0x46901c,'selection':_0x36916a};this[_0x2e7ca2(0x1d9)][_0x2e7ca2(0x1d2)](_0x432dad);}}var hi=Object['getOwnPropertyDescriptor'],ui=(_0x411ebd,_0x271458,_0x46a502,_0x52f455)=>{const _0x2171b2=_0x2ff589;for(var _0x7c1cab=_0x52f455>0x1?void 0x0:_0x52f455?hi(_0x271458,_0x46a502):_0x271458,_0x54a74c=_0x411ebd[_0x2171b2(0x298)]-0x1,_0x43dbed;_0x54a74c>=0x0;_0x54a74c--)(_0x43dbed=_0x411ebd[_0x54a74c])&&(_0x7c1cab=_0x43dbed(_0x7c1cab)||_0x7c1cab);return _0x7c1cab;},w=(_0x4da4ac,_0x26a832)=>(_0xf1f998,_0xd175df)=>_0x26a832(_0xf1f998,_0xd175df,_0x4da4ac);const di=0x12c,fi=0x64;let Ue=class extends _0x40e5ab{constructor(_0x252146,_0x574791,_0x443db3,_0x2195ff,_0x575403,_0x543636,_0x1bc07a,_0x49c3bc,_0x2f1c4c){const _0x3081f6=_0x2ff589;super(),_(this,_0x3081f6(0x1e6),!0x1),_(this,_0x3081f6(0x2ec),!0x1),_(this,_0x3081f6(0x19e),new _0x2da5c1(new Map())),_(this,_0x3081f6(0x2ac),this[_0x3081f6(0x19e)][_0x3081f6(0x1e9)]()),_(this,'_roomMembers$',new _0x2da5c1([])),_(this,_0x3081f6(0x348),this['_roomMembers$'][_0x3081f6(0x1ee)](_0x1dc439(di))),_(this,_0x3081f6(0x21a),_0x34fdfc(_0x1b26d0=>{const _0x2a2451=_0x3081f6,_0x54cddf={'eventID':_0x48ad00[_0x2a2451(0x193)],'data':{'unitID':this[_0x2a2451(0x297)],'memberID':this[_0x2a2451(0x2fb)][_0x2a2451(0x267)](),'selection':Tt(_0x1b26d0)}};this[_0x2a2451(0x2fb)][_0x2a2451(0x29f)](_0x54cddf,this['unitID']);},fi)),(this[_0x3081f6(0x297)]=_0x252146,this[_0x3081f6(0x2fb)]=_0x574791,this[_0x3081f6(0x25a)]=_0x443db3,this[_0x3081f6(0x300)]=_0x2195ff,this['_memberService']=_0x575403,this[_0x3081f6(0x32c)]=_0x543636,this[_0x3081f6(0x253)]=_0x1bc07a,this[_0x3081f6(0x29b)]=_0x49c3bc,this['_commandService']=_0x2f1c4c);}get['cursorInfo'](){const _0xf3cd0b=_0x2ff589;return this['_cursorInfo$'][_0xf3cd0b(0x2b6)]();}get['roomMembers'](){const _0x39619c=_0x2ff589;return this['_roomMembers$'][_0x39619c(0x2b6)]();}[_0x2ff589(0x2fc)](){const _0x54fce6=_0x2ff589;super['dispose'](),this[_0x54fce6(0x19e)][_0x54fce6(0x1d2)](new Map()),this[_0x54fce6(0x19e)][_0x54fce6(0x270)](),this[_0x54fce6(0x2a1)]['next']([]),this['_roomMembers$'][_0x54fce6(0x270)]();}[_0x2ff589(0x1f3)](){const _0x33ac35=_0x2ff589;this[_0x33ac35(0x2ec)]||(this[_0x33ac35(0x2ec)]=!0x0,this['_session']['sessionStatus$'][_0x33ac35(0x1ee)](_0x16f876(this[_0x33ac35(0x35a)]))['subscribe'](_0x37db2b=>{const _0x37e6d6=_0x33ac35;_0x37db2b===_0x44faa7[_0x37e6d6(0x1d3)]?this[_0x37e6d6(0x1c6)]():this['_toggleOffline']();}),this['_session'][_0x33ac35(0x190)]['pipe'](_0x16f876(this[_0x33ac35(0x35a)]))[_0x33ac35(0x215)](_0x549730=>{const _0x2d3071=_0x33ac35,_0x36f493=_0x549730[_0x2d3071(0x31c)];_0x36f493===_0x48ad00[_0x2d3071(0x193)]&&this['_onCursorUpdate'](_0x549730),_0x36f493===_0x48ad00[_0x2d3071(0x361)]&&this['_onCursorDelete'](_0x549730);}),this[_0x33ac35(0x279)](this[_0x33ac35(0x2b9)][_0x33ac35(0x262)](_0x427f5e=>{const _0x1c76a1=_0x33ac35,_0x171b3f=_0x427f5e[_0x1c76a1(0x206)];_0x171b3f!=null&&this['_online']&&_0x427f5e['id']===_0x2ebf55['id']&&_0x171b3f[_0x1c76a1(0x2d3)]===this[_0x1c76a1(0x297)]&&_0x171b3f[_0x1c76a1(0x241)]===!0x1&&_0x171b3f['ranges']['length']>0x0&&this[_0x1c76a1(0x21a)](_0x171b3f[_0x1c76a1(0x23b)]);})),this[_0x33ac35(0x32c)][_0x33ac35(0x259)][_0x33ac35(0x1ee)](_0x16f876(this[_0x33ac35(0x35a)]))[_0x33ac35(0x215)](_0x51c948=>{const _0x3a6834=_0x33ac35;if((_0x51c948==null?void 0x0:_0x51c948['unitID'])!==this[_0x3a6834(0x297)])return;const _0xeaeb0={'eventID':_0x48ad00[_0x3a6834(0x193)],'data':_0x51c948};this[_0x3a6834(0x19f)](_0xeaeb0);}),this['disposeWithMe'](this[_0x33ac35(0x2b9)][_0x33ac35(0x262)](_0x546f7f=>{const _0x3d4958=_0x33ac35;if(_0x546f7f[_0x3d4958(0x206)]==null)return;const _0x5ab55a=_0x546f7f[_0x3d4958(0x206)];if(_0x546f7f['id']!==_0x14bd43['id']||_0x5ab55a[_0x3d4958(0x2d3)]!==this['unitID'])return;const _0x132cde={'id':_0x3d4958(0x1e3),'params':_0x5ab55a},_0x33f58a=this['cursorInfo'];for(const [_0x579dcd,_0x477ef4]of _0x33f58a){const _0x4ecc5d={'id':_0x3d4958(0x1e3),'params':{'unitId':this[_0x3d4958(0x297)],'actions':null,'textRanges':_0x477ef4[_0x3d4958(0x23b)]}},_0x422c40=this[_0x3d4958(0x253)][_0x3d4958(0x287)](_0x132cde,_0x4ecc5d,!0x1);if(_0x456d9f(_0x422c40))throw _0x422c40[_0x3d4958(0x1bb)];_0x33f58a['set'](_0x579dcd,{..._0x477ef4,'ranges':_0x422c40['m2Prime'][_0x3d4958(0x206)][_0x3d4958(0x36a)]});}queueMicrotask(()=>{const _0x45db19=_0x3d4958;this[_0x45db19(0x19e)][_0x45db19(0x1d2)](_0x33f58a);});})));}['_onCursorUpdate'](_0x3e529a){const _0x2a4628=_0x2ff589;var _0x134479,_0xe778f4;const {memberID:_0x292ceb,selection:_0x585165}=_0x3e529a[_0x2a4628(0x25d)],_0x4c4c57=_i(_0x585165),_0x22f88e=(_0xe778f4=(_0x134479=this['_memberService'][_0x2a4628(0x24e)](this[_0x2a4628(0x297)],_0x292ceb))==null?void 0x0:_0x134479[_0x2a4628(0x304)])!=null?_0xe778f4:_0x2a4628(0x2b0),_0x3e853a={'color':this[_0x2a4628(0x300)][_0x2a4628(0x196)](_0x292ceb),'name':_0x22f88e,'ranges':_0x4c4c57},_0x54c4b7=this['cursorInfo'];_0x54c4b7[_0x2a4628(0x326)](_0x292ceb,_0x3e853a),this[_0x2a4628(0x19e)][_0x2a4628(0x1d2)](_0x54c4b7);}['_onCursorDelete'](_0x4eacc2){const _0x1763b6=_0x2ff589,{memberID:_0x163ec7}=_0x4eacc2[_0x1763b6(0x25d)],_0x50df92=this[_0x1763b6(0x2ef)];_0x50df92[_0x1763b6(0x2e5)](_0x163ec7),this[_0x1763b6(0x19e)][_0x1763b6(0x1d2)](_0x50df92);}[_0x2ff589(0x1c6)](){const _0x146b22=_0x2ff589;var _0x581f86;if(this[_0x146b22(0x1e6)]=!0x0,((_0x581f86=this[_0x146b22(0x29b)]['getFocusedUnit']())==null?void 0x0:_0x581f86[_0x146b22(0x355)]())!==this[_0x146b22(0x297)])return;const _0x9bc3b=this['_injector'][_0x146b22(0x254)](_0x393415)[_0x146b22(0x236)]();Array[_0x146b22(0x1e4)](_0x9bc3b)&&_0x9bc3b[_0x146b22(0x298)]>0x0&&this[_0x146b22(0x21a)](_0x9bc3b);}['_toggleOffline'](){const _0x2d1e3e=_0x2ff589;this[_0x2d1e3e(0x1e6)]=!0x1;}};Ue=ui([w(0x2,_0x4abecf(_0x53572c)),w(0x3,_0x4abecf(ke)),w(0x4,_0x4abecf(_0x40f3ca)),w(0x5,_0x4abecf(He)),w(0x6,_0x540c7a),w(0x7,_0x298822),w(0x8,_0x792647)],Ue);var Si=Object[_0x2ff589(0x37c)],mi=(_0x348c3a,_0x8ca775,_0x4562f4,_0x5b7e07)=>{const _0x303b59=_0x2ff589;for(var _0x3400fb=_0x5b7e07>0x1?void 0x0:_0x5b7e07?Si(_0x8ca775,_0x4562f4):_0x8ca775,_0x2df5fa=_0x348c3a[_0x303b59(0x298)]-0x1,_0x58735a;_0x2df5fa>=0x0;_0x2df5fa--)(_0x58735a=_0x348c3a[_0x2df5fa])&&(_0x3400fb=_0x58735a(_0x3400fb)||_0x3400fb);return _0x3400fb;},x=(_0xdf9a8c,_0x3cb7ef)=>(_0x5c4d51,_0x5c188b)=>_0x3cb7ef(_0x5c4d51,_0x5c188b,_0xdf9a8c);const gi=0x12c,vi=0x64,Ii=()=>{let _0x5f5ce2=[],_0x49a27c=!0x1;return _0x462992=>{_0x5f5ce2['push'](_0x462992),_0x49a27c||(_0x49a27c=!0x0,setTimeout(()=>{const _0x11b59f=_0x8596;_0x5f5ce2[_0x11b59f(0x2c4)](_0x1cfa2f=>_0x1cfa2f()),_0x5f5ce2=[],_0x49a27c=!0x1;}));};};let Me=class extends _0x40e5ab{constructor(_0x97921,_0x8ad2d5,_0x471019,_0x4e94db,_0x212f6b,_0x4f60df,_0x57db85,_0x5298f7){const _0x2f573c=_0x2ff589;super(),_(this,_0x2f573c(0x1e6),!0x1),_(this,_0x2f573c(0x2ec),!0x1),_(this,_0x2f573c(0x19e),new _0x2da5c1(new Map())),_(this,_0x2f573c(0x2ac),this[_0x2f573c(0x19e)][_0x2f573c(0x1e9)]()),_(this,_0x2f573c(0x2a1),new _0x2da5c1([])),_(this,_0x2f573c(0x348),this[_0x2f573c(0x2a1)]['pipe'](_0x1dc439(gi))),_(this,_0x2f573c(0x21a),_0x34fdfc((_0x45e9aa,_0x3da21e)=>{const _0x45c99d=_0x2f573c,_0x1e56b8={'eventID':_0x48ad00[_0x45c99d(0x193)],'data':{'unitID':this[_0x45c99d(0x297)],'memberID':this['_session'][_0x45c99d(0x267)](),'selection':_0x21ca79(_0x45e9aa,_0x3da21e[_0x45c99d(0x2de)])}};this[_0x45c99d(0x2fb)][_0x45c99d(0x29f)](_0x1e56b8,this[_0x45c99d(0x297)]);},vi)),(this[_0x2f573c(0x297)]=_0x97921,this[_0x2f573c(0x2fb)]=_0x8ad2d5,this[_0x2f573c(0x25a)]=_0x471019,this[_0x2f573c(0x300)]=_0x4e94db,this['_memberService']=_0x212f6b,this[_0x2f573c(0x29b)]=_0x4f60df,this[_0x2f573c(0x2b9)]=_0x57db85,this['_refRangeService']=_0x5298f7);}get[_0x2ff589(0x2ef)](){const _0x10a65f=_0x2ff589;return this['_cursorInfo$'][_0x10a65f(0x2b6)]();}get['roomMembers'](){const _0x6cd1d6=_0x2ff589;return this[_0x6cd1d6(0x2a1)][_0x6cd1d6(0x2b6)]();}[_0x2ff589(0x2fc)](){const _0x2e03ac=_0x2ff589;super[_0x2e03ac(0x2fc)](),this[_0x2e03ac(0x19e)][_0x2e03ac(0x1d2)](new Map()),this[_0x2e03ac(0x19e)][_0x2e03ac(0x270)](),this[_0x2e03ac(0x2a1)]['next']([]),this[_0x2e03ac(0x2a1)][_0x2e03ac(0x270)]();}[_0x2ff589(0x1f3)](){const _0x4050de=_0x2ff589;this[_0x4050de(0x2ec)]||(this[_0x4050de(0x2ec)]=!0x0,this[_0x4050de(0x2fb)]['sessionStatus$']['pipe'](_0x16f876(this[_0x4050de(0x35a)]))[_0x4050de(0x215)](_0x4b3165=>{const _0x4c7f44=_0x4050de;_0x4b3165===_0x44faa7[_0x4c7f44(0x1d3)]?this[_0x4c7f44(0x1c6)]():this[_0x4c7f44(0x321)]();}),this[_0x4050de(0x2fb)][_0x4050de(0x190)][_0x4050de(0x1ee)](_0x16f876(this['dispose$']))['subscribe'](_0x19b4a4=>{const _0x5f0197=_0x4050de,_0x32cd32=_0x19b4a4[_0x5f0197(0x31c)];_0x32cd32===_0x48ad00[_0x5f0197(0x193)]&&this['_onCursorUpdate'](_0x19b4a4),_0x32cd32===_0x48ad00['USERS_LEAVE']&&this['_onCursorDelete'](_0x19b4a4);}),this[_0x4050de(0x261)](),this['disposeWithMe'](this[_0x4050de(0x2b9)][_0x4050de(0x262)](_0x1ff83e=>{const _0x401ca4=_0x4050de;if(this['_online']&&_0x1ff83e['id']===_0x4c7654['id']&&_0x1ff83e[_0x401ca4(0x206)][_0x401ca4(0x2d3)]===this['unitID']){const _0x14d675=_0x1ff83e[_0x401ca4(0x206)];this[_0x401ca4(0x21a)](_0x14d675['subUnitId'],_0x14d675['selections'][0x0]);}})));}[_0x2ff589(0x19f)](_0x301f6f){const _0xe6e7ab=_0x2ff589;var _0x4228a5,_0x321f00;const {memberID:_0x1c1028,selection:_0x20a5e1}=_0x301f6f[_0xe6e7ab(0x25d)],{sheetName:_0x5f171b,range:_0x21b6e5}=_0x45bd40(_0x20a5e1),_0x1c28ce={'name':(_0x321f00=(_0x4228a5=this[_0xe6e7ab(0x1b1)][_0xe6e7ab(0x24e)](this[_0xe6e7ab(0x297)],_0x1c1028))==null?void 0x0:_0x4228a5['name'])!=null?_0x321f00:_0xe6e7ab(0x2b0),'range':this[_0xe6e7ab(0x319)](_0x5f171b,_0x21b6e5),'sheetID':_0x5f171b,'color':this[_0xe6e7ab(0x300)][_0xe6e7ab(0x196)](_0x1c1028),'selection':_0x20a5e1},_0xee2fe2=this['cursorInfo'];_0xee2fe2[_0xe6e7ab(0x326)](_0x1c1028,_0x1c28ce),this['_cursorInfo$']['next'](_0xee2fe2);}[_0x2ff589(0x366)](_0x5cca36){const _0x468873=_0x2ff589,{memberID:_0x59aa45}=_0x5cca36[_0x468873(0x25d)],_0x32405b=this[_0x468873(0x2ef)];_0x32405b['delete'](_0x59aa45),this[_0x468873(0x19e)][_0x468873(0x1d2)](_0x32405b);}['_getMergeRange'](_0x1e17cb,_0x5ecfcf){const _0x49a0e3=_0x2ff589;var _0x22db6a,_0x473cca;const _0x40a78a=(_0x473cca=(_0x22db6a=this[_0x49a0e3(0x29b)][_0x49a0e3(0x266)](this['unitID']))==null?void 0x0:_0x22db6a[_0x49a0e3(0x2d4)](_0x1e17cb))==null?void 0x0:_0x473cca[_0x49a0e3(0x280)]();return(_0x40a78a==null?void 0x0:_0x40a78a[_0x49a0e3(0x260)](_0x31c51c=>_0x1a09f7['contains'](_0x31c51c,_0x5ecfcf)))||_0x5ecfcf;}['_onRefRangeChange'](){const _0x1120ac=_0x2ff589,_0x2f5b54=new _0x1d0a8a(),_0x4a9938=Ii(),_0x4bb827=()=>{const _0x500980=_0x8596;_0x2f5b54[_0x500980(0x2fc)]();const _0x470152=(_0x3dae69,_0x201aa2,_0x387ae0,_0x379223)=>{const _0x2a2878=_0x500980;let _0x440533=[];switch(_0x3dae69['id']){case _0x3858bc[_0x2a2878(0x1b4)]:{_0x440533=_0x30601c(_0x3dae69,_0x379223);break;}case _0x3858bc[_0x2a2878(0x2cb)]:{_0x440533=_0x9b2a92(_0x3dae69,_0x379223);break;}case _0x3858bc['InsertColCommandId']:{_0x440533=_0xe1166a(_0x3dae69,_0x379223);break;}case _0x3858bc[_0x2a2878(0x331)]:{_0x440533=_0xd6324e(_0x3dae69,_0x379223);break;}case _0x3858bc[_0x2a2878(0x32a)]:{_0x440533=_0x2758a8(_0x3dae69,_0x379223);break;}case _0x3858bc[_0x2a2878(0x222)]:{_0x440533=_0x3c6372(_0x3dae69,_0x379223);break;}case _0x3858bc[_0x2a2878(0x1cd)]:{_0x440533=_0x376cc8(_0x3dae69,_0x379223);break;}case _0x3858bc[_0x2a2878(0x2da)]:{_0x440533=_0x225ce8(_0x3dae69,_0x379223);break;}case _0x3858bc[_0x2a2878(0x299)]:{_0x440533=_0x44ae5e(_0x3dae69,_0x379223);break;}}const _0x2e77bb=_0x17f90f(_0x440533,_0x379223),_0x4d79c0=this[_0x2a2878(0x2ef)][_0x2a2878(0x254)](_0x201aa2);if(_0x4d79c0&&_0x2e77bb){const _0xb20641={..._0x4d79c0,'range':_0x2e77bb};this['cursorInfo'][_0x2a2878(0x326)](_0x201aa2,_0xb20641),_0x4a9938(()=>{const _0x40700f=_0x2a2878,_0xc42040=this[_0x40700f(0x2ce)][_0x40700f(0x2c8)](_0x2e77bb,_0x3fcaa7=>(_0xc42040[_0x40700f(0x2fc)](),_0x470152(_0x3fcaa7,_0x201aa2,_0x387ae0,_0x2e77bb)));_0x2f5b54[_0x40700f(0x1be)](_0xc42040);});}return{'redos':[],'undos':[]};};this[_0x500980(0x2ef)]['forEach']((_0xc20923,_0x1e43b6)=>{const _0x2d01cd=_0x500980,{range:_0x12d500,sheetID:_0x305926}=_0xc20923,_0x576c41=this[_0x2d01cd(0x2ce)][_0x2d01cd(0x2c8)](_0x12d500,_0x4fb4c2=>(_0x576c41[_0x2d01cd(0x2fc)](),_0x470152(_0x4fb4c2,_0x1e43b6,_0x305926,_0x12d500)));_0x2f5b54[_0x2d01cd(0x1be)](_0x576c41);});};this[_0x1120ac(0x279)](_0x55d959(this['_cursorInfo$'][_0x1120ac(0x215)](()=>{_0x4bb827();})));}[_0x2ff589(0x1c6)](){const _0x223256=_0x2ff589;var _0x3a0f98,_0x2a48d5;if(this[_0x223256(0x1e6)]=!0x0,((_0x3a0f98=this['_univerInstanceService'][_0x223256(0x292)]())==null?void 0x0:_0x3a0f98[_0x223256(0x355)]())!==this[_0x223256(0x297)])return;const _0x505f0d=(_0x2a48d5=this['_injector'][_0x223256(0x254)](_0x224247)['getCurrentSelections']())==null?void 0x0:_0x2a48d5[0x0],_0x1af4fa=this['_univerInstanceService'][_0x223256(0x342)](_0x50946e[_0x223256(0x18e)])[_0x223256(0x1cc)]();_0x505f0d&&_0x1af4fa&&this[_0x223256(0x21a)](_0x1af4fa['getSheetId'](),_0x505f0d);}[_0x2ff589(0x321)](){const _0x475513=_0x2ff589;this[_0x475513(0x1e6)]=!0x1;}};Me=mi([x(0x2,_0x4abecf(_0x53572c)),x(0x3,_0x4abecf(ke)),x(0x4,_0x4abecf(_0x40f3ca)),x(0x5,_0x298822),x(0x6,_0x792647),x(0x7,_0x4abecf(_0x35a5e8))],Me);var pi=Object[_0x2ff589(0x37c)],Ci=(_0x3ca704,_0x4d07fa,_0x4a5e40,_0x5cce47)=>{const _0x498435=_0x2ff589;for(var _0x5b7557=_0x5cce47>0x1?void 0x0:_0x5cce47?pi(_0x4d07fa,_0x4a5e40):_0x4d07fa,_0x48ffa5=_0x3ca704[_0x498435(0x298)]-0x1,_0x2f6371;_0x48ffa5>=0x0;_0x48ffa5--)(_0x2f6371=_0x3ca704[_0x48ffa5])&&(_0x5b7557=_0x2f6371(_0x5b7557)||_0x5b7557);return _0x5b7557;},Se=(_0x485432,_0x6a0dc3)=>(_0x4c2679,_0x11b9c0)=>_0x6a0dc3(_0x4c2679,_0x11b9c0,_0x485432);let H=class extends _0x40e5ab{constructor(_0x545f7d,_0x254005,_0x154441){const _0x330785=_0x2ff589;super(),_(this,_0x330785(0x2bd),new Map()),_(this,_0x330785(0x23e),new _0x57e03f()),(this['_univerInstanceService']=_0x545f7d,this[_0x330785(0x25a)]=_0x254005,this[_0x330785(0x351)]=_0x154441,this['_init']());}['dispose'](){const _0xaaa226=_0x2ff589;super['dispose'](),this[_0xaaa226(0x23e)][_0xaaa226(0x270)](),this[_0xaaa226(0x2bd)][_0xaaa226(0x2c4)](_0x265795=>_0x265795[_0xaaa226(0x2fc)]());}[_0x2ff589(0x1a8)](_0x494223){const _0x7e6e4e=_0x2ff589;return this[_0x7e6e4e(0x2bd)][_0x7e6e4e(0x2f3)](_0x494223)?this[_0x7e6e4e(0x2bd)][_0x7e6e4e(0x254)](_0x494223)[_0x7e6e4e(0x2ac)]:this[_0x7e6e4e(0x23e)][_0x7e6e4e(0x1ee)](_0x1a0912(_0x4384a7=>_0x4384a7[_0x7e6e4e(0x297)]===_0x494223),_0xb29a9c(_0x464d8c=>_0x464d8c['cursorInfo$']));}['_init'](){const _0x356639=_0x2ff589;this[_0x356639(0x29b)]['getTypeOfUnitAdded$'](_0x50946e['UNIVER_SHEET'])['pipe'](_0x16f876(this[_0x356639(0x35a)]))[_0x356639(0x215)](async _0x3cc49e=>{const _0x11f4e1=_0x356639,_0x442873=_0x3cc49e['getUnitId'](),_0x3bd435=await this['_startSheetCollabCursor'](_0x442873);this['_entityInit$'][_0x11f4e1(0x1d2)](_0x3bd435),this[_0x11f4e1(0x2bd)][_0x11f4e1(0x326)](_0x442873,_0x3bd435);}),this[_0x356639(0x29b)]['getTypeOfUnitAdded$'](_0x50946e['UNIVER_DOC'])[_0x356639(0x1ee)](_0x16f876(this[_0x356639(0x35a)]))['pipe'](_0x1a0912(_0x1e37a2=>!_0x1e37a2[_0x356639(0x355)]()[_0x356639(0x21f)]('__')))[_0x356639(0x215)](async _0x5ec5e8=>{const _0x402bd6=_0x356639,_0x521b82=_0x5ec5e8['getUnitId'](),_0x3b0b83=await this[_0x402bd6(0x18a)](_0x521b82);this[_0x402bd6(0x23e)][_0x402bd6(0x1d2)](_0x3b0b83),this[_0x402bd6(0x2bd)][_0x402bd6(0x326)](_0x521b82,_0x3b0b83);}),_0x3fa897(this[_0x356639(0x29b)]['getTypeOfUnitDisposed$'](_0x50946e['UNIVER_DOC']),this[_0x356639(0x29b)][_0x356639(0x32e)](_0x50946e[_0x356639(0x18e)]))['pipe'](_0x16f876(this['dispose$']))[_0x356639(0x215)](_0x2422c7=>{const _0x6ef0ba=_0x356639,_0x3270e9=_0x2422c7[_0x6ef0ba(0x355)](),_0x2d5ba2=this['_entities'][_0x6ef0ba(0x254)](_0x3270e9);_0x2d5ba2&&(_0x2d5ba2[_0x6ef0ba(0x2fc)](),this['_entities'][_0x6ef0ba(0x2e5)](_0x3270e9));});}async[_0x2ff589(0x203)](_0x17b923){const _0x2d3d82=_0x2ff589,_0x5bd391=await this['_collabSessionService'][_0x2d3d82(0x313)](_0x17b923),_0x7e9474=this[_0x2d3d82(0x25a)]['createInstance'](Me,_0x17b923,_0x5bd391);return _0x7e9474['init'](),_0x7e9474;}async[_0x2ff589(0x18a)](_0x280818){const _0x1fc80c=_0x2ff589,_0x45228b=await this['_collabSessionService']['requireSession'](_0x280818),_0x4595b4=this[_0x1fc80c(0x25a)]['createInstance'](Ue,_0x280818,_0x45228b);return _0x4595b4[_0x1fc80c(0x1f3)](),_0x4595b4;}};H=Ci([Se(0x0,_0x298822),Se(0x1,_0x4abecf(_0x53572c)),Se(0x2,_0x4abecf(_0x462455))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function bi(_0x370ab,_0x55454f){const _0x483af7=_0x2ff589;let {radius:_0xbb239e,width:_0x71f85d,height:_0x428fa2}=_0x55454f;_0xbb239e=_0xbb239e!=null?_0xbb239e:0x0,_0x71f85d=_0x71f85d!=null?_0x71f85d:0x1e,_0x428fa2=_0x428fa2!=null?_0x428fa2:0x1e;let _0xe9075=0x0,_0x2222f2=0x0,_0x3a9a7f=0x0;_0xe9075=_0x2222f2=_0x3a9a7f=Math[_0x483af7(0x1a4)](_0xbb239e,_0x71f85d/0x2,_0x428fa2/0x2),_0x370ab['beginPath'](),_0x370ab[_0x483af7(0x207)](_0xe9075,0x0),_0x370ab[_0x483af7(0x2d0)](_0x71f85d-_0x2222f2,0x0),_0x370ab[_0x483af7(0x231)](_0x71f85d-_0x2222f2,_0x2222f2,_0x2222f2,Math['PI']*0x3/0x2,0x0,!0x1),_0x370ab[_0x483af7(0x2d0)](_0x71f85d,_0x428fa2-_0x3a9a7f),_0x370ab['arc'](_0x71f85d-_0x3a9a7f,_0x428fa2-_0x3a9a7f,_0x3a9a7f,0x0,Math['PI']/0x2,!0x1),_0x370ab[_0x483af7(0x2d0)](0x0,_0x428fa2),_0x370ab[_0x483af7(0x2d0)](0x0,_0xe9075),_0x370ab[_0x483af7(0x231)](_0xe9075,_0xe9075,_0xe9075,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x370ab[_0x483af7(0x305)](),_0x55454f['fill']&&(_0x370ab[_0x483af7(0x277)](),_0x370ab['fillStyle']=_0x55454f['fill'],_0x55454f['fillRule']==='evenodd'?_0x370ab[_0x483af7(0x2db)](_0x483af7(0x36c)):_0x370ab[_0x483af7(0x2db)](),_0x370ab['restore']());}class he extends _0xb4d31a{constructor(_0x54097c,_0x1d6829){const _0x3cd1cf=_0x2ff589;super(_0x54097c,_0x1d6829),_(this,_0x3cd1cf(0x378)),_(this,_0x3cd1cf(0x35e)),(this[_0x3cd1cf(0x378)]=_0x1d6829==null?void 0x0:_0x1d6829[_0x3cd1cf(0x378)],this[_0x3cd1cf(0x35e)]=_0x1d6829==null?void 0x0:_0x1d6829[_0x3cd1cf(0x35e)]);}static[_0x2ff589(0x1a7)](_0x1d1df9,_0x4e5077){const _0x2b8642=_0x2ff589,{text:_0x3d2c93,color:_0x11e97c}=_0x4e5077;_0x1d1df9[_0x2b8642(0x277)](),_0x1d1df9[_0x2b8642(0x2d6)]=_0x2b8642(0x364);const _0x14d575=_0x1d1df9['measureText'](_0x3d2c93)['width'],_0x5bce7d=Math[_0x2b8642(0x1a4)](_0x14d575+0x2*me,Qe);bi(_0x1d1df9,{'height':ee,'radius':0x4,'width':_0x5bce7d,'fill':_0x11e97c}),_0x1d1df9[_0x2b8642(0x293)]=_0x2b8642(0x1ed);const _0x340e2e=me,_0x151e4d=ee-Ei,_0x23162e=Qe-0x2*me;if(_0x14d575>_0x23162e){let _0x5365b2='',_0x18cca2=0x0;for(const _0x21a34d of _0x3d2c93){const _0xcc431e=_0x1d1df9[_0x2b8642(0x2c5)](_0x21a34d)[_0x2b8642(0x29d)];if(_0x18cca2+_0xcc431e<=_0x23162e-_0x1d1df9['measureText'](_0x2b8642(0x368))[_0x2b8642(0x29d)])_0x5365b2+=_0x21a34d,_0x18cca2+=_0xcc431e;else{_0x5365b2+=_0x2b8642(0x368);break;}}_0x1d1df9['fillText'](_0x5365b2,_0x340e2e,_0x151e4d);}else _0x1d1df9[_0x2b8642(0x381)](_0x3d2c93,_0x340e2e,_0x151e4d);_0x1d1df9['restore']();}[_0x2ff589(0x213)](_0x44fbbd){const _0x59a4b1=_0x2ff589;he[_0x59a4b1(0x1a7)](_0x44fbbd,this);}}const ge=_0x2ff589(0x33b),Oi='collab-text-range-',Ti=_0x2ff589(0x328),X=0x6,Ri=1.5,ve=0x4,Di=1.5,Ni=_0x2ff589(0x2a5);class qe{constructor(_0x5c1db7,_0x20032f,_0x4cfb9c,_0x23aa4f){const _0x17afff=_0x2ff589;_(this,_0x17afff(0x21c),[]),_(this,_0x17afff(0x2f5),null),_(this,'_textBubble',null),_(this,_0x17afff(0x230),null),_(this,_0x17afff(0x240),null),_(this,_0x17afff(0x337),null),(this[_0x17afff(0x34b)]=_0x5c1db7,this[_0x17afff(0x2cd)]=_0x20032f,this[_0x17afff(0x2a6)]=_0x4cfb9c,this[_0x17afff(0x37a)]=_0x23aa4f,this[_0x17afff(0x2a3)]());}set[_0x2ff589(0x37f)](_0x33e4a1){const _0x2f4b3d=_0x2ff589;_0x33e4a1?(this[_0x2f4b3d(0x230)]&&this[_0x2f4b3d(0x230)]['hide'](),this[_0x2f4b3d(0x242)]&&this[_0x2f4b3d(0x242)][_0x2f4b3d(0x370)]()):(this[_0x2f4b3d(0x230)]&&this[_0x2f4b3d(0x230)][_0x2f4b3d(0x370)](),this['_textBubble']&&this[_0x2f4b3d(0x242)]['hide']());}[_0x2ff589(0x2fc)](){const _0x289e6c=_0x2ff589;for(const _0x1adb47 of this[_0x289e6c(0x21c)])_0x1adb47[_0x289e6c(0x2fc)]();this[_0x289e6c(0x242)]&&this['_textBubble'][_0x289e6c(0x2fc)](),this[_0x289e6c(0x230)]&&this[_0x289e6c(0x230)][_0x289e6c(0x2fc)](),this[_0x289e6c(0x2f5)]&&this['_anchor'][_0x289e6c(0x2fc)](),this[_0x289e6c(0x337)]&&this[_0x289e6c(0x337)]();}['_render'](){const _0x1c3ee6=_0x2ff589;var _0x16fef6;const {_docSkeleton:_0x48adc2,_document:_0x3f1b65}=this,{color:_0x1c5b54,name:_0x56f36d,ranges:_0x23235c}=this[_0x1c3ee6(0x34b)],_0xb2cd3e=_0x3f1b65[_0x1c3ee6(0x275)](),{docsLeft:_0x98a195,docsTop:_0x2a71ae}=_0xb2cd3e,_0x200eea=new _0x37a881(_0xb2cd3e,_0x48adc2);for(const {startOffset:_0x3e3ff2,endOffset:_0x55e66b,rangeType:_0x4b4469,segmentId:_0xbb769b,segmentPage:_0xc0b1cc,collapsed:_0xeb9fdf,isActive:_0x48c1ef}of _0x23235c){const _0x156095=_0x48adc2[_0x1c3ee6(0x34a)](_0x3e3ff2,!0x0,_0xbb769b,_0xc0b1cc);let _0xe822e2=_0x48adc2[_0x1c3ee6(0x34a)](_0x55e66b,!0x0,_0xbb769b,_0xc0b1cc);if(_0xe822e2==null&&(_0xe822e2=_0x48adc2[_0x1c3ee6(0x34a)](_0x55e66b-0x1,!0x1,_0xbb769b,_0xc0b1cc)),_0x48c1ef){const {contentBoxPointGroup:_0x1e03c5}=_0x200eea[_0x1c3ee6(0x30b)](_0xe822e2,_0xe822e2);if(_0x1e03c5[_0x1c3ee6(0x298)]===0x0)continue;this[_0x1c3ee6(0x201)](_0x1c5b54,_0x1e03c5,_0x98a195,_0x2a71ae,_0x56f36d),this[_0x1c3ee6(0x337)]=this[_0x1c3ee6(0x37b)]();}if(_0x156095&&_0xe822e2){if(_0x4b4469===_0x4aa5fb[_0x1c3ee6(0x382)]){const _0x4861b6=new _0x1da8f8(_0xb2cd3e,_0x48adc2),{pointGroup:_0x3a83cc}=(_0x16fef6=_0x4861b6['getRangePointData'](_0x156095,_0xe822e2))!=null?_0x16fef6:{};if(_0x3a83cc==null||_0x3a83cc[_0x1c3ee6(0x298)]===0x0)continue;this['_drawRectRange'](_0x1c5b54,_0x3a83cc,_0x98a195,_0x2a71ae);}else{if(!_0xeb9fdf){const {borderBoxPointGroup:_0x33fc2e}=_0x200eea[_0x1c3ee6(0x30b)](_0x156095,_0xe822e2);if(_0x33fc2e[_0x1c3ee6(0x298)]===0x0)continue;this[_0x1c3ee6(0x318)](_0x1c5b54,_0x33fc2e,_0x98a195,_0x2a71ae);}}}}}[_0x2ff589(0x201)](_0x3cf557,_0x4cc1ff,_0xcaa0ff,_0x2a86f4,_0x4ab3fe){const _0x1cb05f=_0x2ff589,_0x1e0eb4=this[_0x1cb05f(0x2ed)](_0x4cc1ff),{left:_0x29f9fa,top:_0x300146,height:_0x4ed18e}=_0x1e0eb4,_0x3946a0=this[_0x1cb05f(0x20c)](),_0x355342=Di/_0x3946a0,_0x506ab1=new _0x439a92(ge+_0x4c6864['generateRandomId'](X),{'left':_0x29f9fa+_0xcaa0ff-_0x355342,'top':_0x300146+_0x2a86f4,'height':_0x4ed18e,'width':Ri,'fill':_0x3cf557||_0x536806(_0x3dfe11[_0x1cb05f(0x2f1)],0x0),'strokeWidth':_0x355342,'stroke':Ni,'evented':!0x0});this['_anchor']=_0x506ab1,this[_0x1cb05f(0x2cd)][_0x1cb05f(0x339)](_0x506ab1,_0x380719);const _0x27f656=new _0x439a92(ge+_0x4c6864['generateRandomId'](X),{'left':_0x29f9fa+_0xcaa0ff-_0x355342,'top':_0x300146+_0x2a86f4-ve/0x2,'height':ve,'width':ve,'fill':_0x3cf557||_0x536806(_0x3dfe11[_0x1cb05f(0x2f1)],0x0),'strokeWidth':0x0,'stroke':_0x3cf557||_0x536806(_0x3dfe11[_0x1cb05f(0x2f1)],0x0),'evented':!0x1});this[_0x1cb05f(0x230)]=_0x27f656,this[_0x1cb05f(0x2cd)][_0x1cb05f(0x339)](_0x27f656,_0x380719);const _0xa8fe0e=new he(ge+_0x4c6864['generateRandomId'](X),{'left':_0x29f9fa+_0xcaa0ff-_0x355342,'top':_0x300146+_0x2a86f4-ee,'text':_0x4ab3fe,'color':_0x3cf557});this['_textBubble']=_0xa8fe0e,this[_0x1cb05f(0x2cd)][_0x1cb05f(0x339)](_0xa8fe0e,_0x380719),this[_0x1cb05f(0x37f)]=!0x1;}[_0x2ff589(0x37b)](){const _0x554307=_0x2ff589,_0x8e5655=this[_0x554307(0x2f5)][_0x554307(0x375)][_0x554307(0x24b)](()=>{const _0x154e6e=_0x554307;this[_0x154e6e(0x37f)]=!0x0;}),_0x53a0f2=this[_0x554307(0x2f5)][_0x554307(0x2a2)][_0x554307(0x24b)](()=>{const _0x56a64a=_0x554307;this[_0x56a64a(0x240)]&&clearTimeout(this[_0x56a64a(0x240)]),this[_0x56a64a(0x240)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x561c32=_0x554307;_0x8e5655[_0x561c32(0x219)](),_0x53a0f2['unsubscribe']();};}[_0x2ff589(0x318)](_0x1a38d1,_0x5bfe41,_0x385caf,_0x35f79a){const _0x84c7ed=_0x2ff589,_0x20f76c=new _0x1aa726(_0x1a38d1)[_0x84c7ed(0x2ae)](0.2)[_0x84c7ed(0x197)](),_0x380e59=new _0x541c40(Oi+_0x4c6864[_0x84c7ed(0x191)](X),{'pointsGroup':_0x5bfe41,'fill':_0x20f76c||_0x536806(_0x3dfe11['black'],0.2),'left':_0x385caf,'top':_0x35f79a,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x84c7ed(0x25c)](_0x380e59),this[_0x84c7ed(0x2cd)][_0x84c7ed(0x339)](_0x380e59,_0x380719);}[_0x2ff589(0x204)](_0x19502d,_0x2e6964,_0x45e77a,_0x420564){const _0x4abfe3=_0x2ff589,_0x2c53c0=new _0x1aa726(_0x19502d)[_0x4abfe3(0x2ae)](0.2)[_0x4abfe3(0x197)](),_0x3cbe5f=new _0x541c40(Ti+_0x4c6864[_0x4abfe3(0x191)](X),{'pointsGroup':_0x2e6964,'fill':_0x2c53c0||_0x536806(_0x3dfe11['black'],0.2),'left':_0x45e77a,'top':_0x420564,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4abfe3(0x21c)][_0x4abfe3(0x25c)](_0x3cbe5f),this[_0x4abfe3(0x2cd)][_0x4abfe3(0x339)](_0x3cbe5f,_0x380719);}['_getAnchorBounding'](_0x1f0788){const _0x14bfb9=_0x1f0788[0x0],_0x57cd04=_0x14bfb9[0x0],_0x1ca172=_0x14bfb9[0x2],{x:_0x5ff6ce,y:_0x324191}=_0x57cd04,{x:_0xfb1ee6,y:_0x44f875}=_0x1ca172;return{'left':_0x5ff6ce,'top':_0x324191,'width':_0xfb1ee6-_0x5ff6ce,'height':_0x44f875-_0x324191};}[_0x2ff589(0x20c)](){const _0x4e7ccd=_0x2ff589,{scaleX:_0x38ebf2,scaleY:_0x19e1c7}=this[_0x4e7ccd(0x2cd)][_0x4e7ccd(0x2cf)]();return Math[_0x4e7ccd(0x374)](_0x38ebf2,_0x19e1c7);}}var Ui=Object[_0x2ff589(0x37c)],Mi=(_0x54561e,_0x12795b,_0x4c0fbf,_0x4d42a2)=>{const _0x9a03d1=_0x2ff589;for(var _0x278e22=_0x4d42a2>0x1?void 0x0:_0x4d42a2?Ui(_0x12795b,_0x4c0fbf):_0x12795b,_0x549e33=_0x54561e[_0x9a03d1(0x298)]-0x1,_0x2506ba;_0x549e33>=0x0;_0x549e33--)(_0x2506ba=_0x54561e[_0x549e33])&&(_0x278e22=_0x2506ba(_0x278e22)||_0x278e22);return _0x278e22;},Z=(_0x3194f4,_0x490836)=>(_0xb66f25,_0x57d8da)=>_0x490836(_0xb66f25,_0x57d8da,_0x3194f4);let Pe=class extends _0x40e5ab{constructor(_0x3cd901,_0x17ccae,_0x4d9568,_0x180229,_0x10eba3){const _0x46f3af=_0x2ff589;super(),_(this,_0x46f3af(0x223),[]),_(this,'_cursors',[]),(this['_context']=_0x3cd901,this['_docSkeletonManagerService']=_0x17ccae,this['_collabCursorController']=_0x4d9568,this['_commandService']=_0x180229,this[_0x46f3af(0x200)]=_0x10eba3,this['_init']());}[_0x2ff589(0x2ec)](){const _0x453f28=_0x2ff589,_0x53b82b=this[_0x453f28(0x246)][_0x453f28(0x2d3)],_0x5dd6a1=this['_docSkeletonManagerService'];this[_0x453f28(0x279)](_0x42d931([this[_0x453f28(0x2e3)]['getCollabCursors$'](_0x53b82b),this[_0x453f28(0x200)][_0x453f28(0x281)]])[_0x453f28(0x1ee)](_0x5988cd(([_0x1edbd3,_0x2af9fa])=>({'skeleton':_0x5dd6a1[_0x453f28(0x1fa)](),'cursors':[..._0x1edbd3['values']()][_0x453f28(0x290)](_0x194f28=>({..._0x194f28,'color':_0x2af9fa[_0x194f28['color']]}))})))[_0x453f28(0x215)](_0x3cfebe=>{const _0x1f166a=_0x453f28;if(this[_0x1f166a(0x2b7)](),_0x3cfebe){const {skeleton:_0x294e5b,cursors:_0x3a026a}=_0x3cfebe;this[_0x1f166a(0x26b)](_0x294e5b,_0x3a026a);}})),this[_0x453f28(0x2d5)](),this[_0x453f28(0x2a7)]();}['_updateCollabCursors'](_0x56fb46,_0x3861b9){const _0x22ad4d=_0x2ff589,{scene:_0x84350d,mainComponent:_0x1c44db}=this[_0x22ad4d(0x246)],_0x9e4a8=_0x3861b9[_0x22ad4d(0x20e)](_0x1e8b05=>new qe(_0x1e8b05,_0x84350d,_0x56fb46,_0x1c44db));this[_0x22ad4d(0x223)]=_0x9e4a8,this[_0x22ad4d(0x252)]=_0x3861b9;}[_0x2ff589(0x1b3)](){const _0x5d71ea=_0x2ff589;this['_removeCollabCursors']();const {scene:_0x3bc058,mainComponent:_0x47517e}=this['_context'],_0x1ea642=this[_0x5d71ea(0x2b8)][_0x5d71ea(0x1fa)](),_0x21c017=this[_0x5d71ea(0x252)][_0x5d71ea(0x20e)](_0xc8c593=>new qe(_0xc8c593,_0x3bc058,_0x1ea642,_0x47517e));this[_0x5d71ea(0x223)]=_0x21c017;}['_removeCollabCursors'](){const _0x577b5d=_0x2ff589;this[_0x577b5d(0x223)][_0x577b5d(0x2c4)](_0x265dce=>_0x265dce[_0x577b5d(0x2fc)]()),this[_0x577b5d(0x223)]=[];}[_0x2ff589(0x2a7)](){const _0x47b6a6=_0x2ff589,_0x463870=[_0x56903b['id']];this[_0x47b6a6(0x279)](this[_0x47b6a6(0x2b9)][_0x47b6a6(0x262)](_0x59d2ad=>{const _0x2d0c91=_0x47b6a6;_0x463870['includes'](_0x59d2ad['id'])&&_0x59d2ad[_0x2d0c91(0x206)][_0x2d0c91(0x2d3)]===this[_0x2d0c91(0x246)][_0x2d0c91(0x2d3)]&&this[_0x2d0c91(0x1b3)]();}));}[_0x2ff589(0x2d5)](){const _0x1db6b4=_0x2ff589;this['disposeWithMe'](_0x12640c(this[_0x1db6b4(0x246)][_0x1db6b4(0x2cc)][_0x1db6b4(0x22f)])['pipe'](_0x3f7302(_0x2c6d20=>_0x2c6d20['type']===_0x56f88f[_0x1db6b4(0x358)]),_0xecc5c4(0x10))[_0x1db6b4(0x215)](()=>{const _0x5cae79=_0x1db6b4;this[_0x5cae79(0x1b3)]();}));}};Pe=Mi([Z(0x1,_0x4abecf(_0x484a46)),Z(0x2,_0x4abecf(H)),Z(0x3,_0x792647),Z(0x4,_0x4abecf(_0x37cd77))],Pe);const Pi=0x1,wi=1.5;class Li extends _0xb4d31a{constructor(_0x474c86,_0x39dc5a){const _0x5877da=_0x2ff589;super(_0x474c86,_0x39dc5a),_(this,_0x5877da(0x31b)),_(this,_0x5877da(0x344),!0x1),_(this,_0x5877da(0x263)),_(this,_0x5877da(0x27e),''),_(this,_0x5877da(0x2f7),'top'),_(this,_0x5877da(0x2ab)),(_0x39dc5a&&this['setShapeProps'](_0x39dc5a),this[_0x5877da(0x375)][_0x5877da(0x24b)](()=>this[_0x5877da(0x1f7)]({'hovered':!0x0})),this[_0x5877da(0x2a2)]['subscribeEvent'](()=>this[_0x5877da(0x1f7)]({'hovered':!0x1})));}[_0x2ff589(0x1f7)](_0x39eab4){const _0x580a5b=_0x2ff589;var _0x48bcc4,_0x3a4646,_0x20d976,_0x44e04f,_0x3917b5,_0x4aa37e;this[_0x580a5b(0x31b)]=(_0x48bcc4=_0x39eab4[_0x580a5b(0x378)])!=null?_0x48bcc4:this[_0x580a5b(0x31b)],this[_0x580a5b(0x344)]=(_0x3a4646=_0x39eab4['hovered'])!=null?_0x3a4646:this[_0x580a5b(0x344)],this[_0x580a5b(0x263)]=(_0x20d976=_0x39eab4[_0x580a5b(0x2de)])!=null?_0x20d976:this['_range'],this['_name']=(_0x44e04f=_0x39eab4['name'])!=null?_0x44e04f:this[_0x580a5b(0x27e)],this[_0x580a5b(0x2f7)]=(_0x3917b5=_0x39eab4[_0x580a5b(0x1e2)])!=null?_0x3917b5:this[_0x580a5b(0x2f7)],this['_backgroundColor']=(_0x4aa37e=_0x39eab4[_0x580a5b(0x23c)])!=null?_0x4aa37e:this['_backgroundColor'],this['transformByState']({'width':_0x39eab4[_0x580a5b(0x29d)],'height':_0x39eab4[_0x580a5b(0x32b)]});}[_0x2ff589(0x265)](_0x7540){const _0x366548=_0x2ff589,{row:_0xba6313,column:_0x2ca657}=_0x7540;if(_0xba6313>=this[_0x366548(0x263)][_0x366548(0x2ea)]&&_0xba6313<=this[_0x366548(0x263)][_0x366548(0x284)]&&_0x2ca657>=this[_0x366548(0x263)][_0x366548(0x21e)]&&_0x2ca657<=this[_0x366548(0x263)][_0x366548(0x35d)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x366548(0x1f7)]({'hovered':!0x1});}[_0x2ff589(0x18b)](_0x297fcd){return!0x1;}[_0x2ff589(0x213)](_0x5e2cd5){const _0x499ae3=_0x2ff589;_0x439a92[_0x499ae3(0x1a7)](_0x5e2cd5,{'width':this[_0x499ae3(0x29d)],'height':this['height'],'strokeWidth':wi,'stroke':this[_0x499ae3(0x31b)],'evented':!0x1,'fill':this[_0x499ae3(0x2ab)]}),this['_hovered']&&(_0x5e2cd5[_0x499ae3(0x277)](),_0x5e2cd5['transform'](0x1,0x0,0x0,0x1,this[_0x499ae3(0x29d)],this[_0x499ae3(0x2f7)]==='bottom'?0x0:-0x14),he[_0x499ae3(0x1a7)](_0x5e2cd5,{'text':this['_name'],'color':this[_0x499ae3(0x31b)]}),_0x5e2cd5['restore']());}}var Ai=Object[_0x2ff589(0x37c)],yi=(_0x4f90b3,_0x2ce84c,_0x1c8a3b,_0xc3de2d)=>{const _0x1e4b15=_0x2ff589;for(var _0x165935=_0xc3de2d>0x1?void 0x0:_0xc3de2d?Ai(_0x2ce84c,_0x1c8a3b):_0x2ce84c,_0x5d575e=_0x4f90b3[_0x1e4b15(0x298)]-0x1,_0x5041c2;_0x5d575e>=0x0;_0x5d575e--)(_0x5041c2=_0x4f90b3[_0x5d575e])&&(_0x165935=_0x5041c2(_0x165935)||_0x165935);return _0x165935;},Ie=(_0x453db1,_0x26434c)=>(_0x5aed77,_0x121da4)=>_0x26434c(_0x5aed77,_0x121da4,_0x453db1);function _0x4637(){const _0x4b905b=['executionId','_colorIndex','with','mask','currentColor','requireSession','runId','setParam','_docTransformSelectionsService','_transformPreviousActiveRange','_drawTextRange','_getMergeRange','getCurrent','_color','eventID','gold400','setItem','_unitOnClients','Error','_toggleOffline','collaboration.closeRoom','key','_initEntityListener','disableLocalCache','set','_id','collab-rect-range-','off-line-single','InsertRangeMoveRightCommandId','height','_syncEditingCollabCursorService','collabStatus.offline','getTypeOfUnitDisposed$','Warning','1833eIDFFl','InsertRangeMoveDownCommandId','getSheetId','call','_getSaveTimeout','SNAPSHOT_INVALID_SNAPSHOT','registerComponent','_eventUnsubscribe','LICENSE_IMPORT_SIZE_EXCEEDED','addObject','OnLineSingle','collab-text-anchor-','clipPath','UNAUTHENTICATED','univer-flex\x20univer-items-center','substring','clearInterval','_send','getCurrentUnitForType','collab-client.tooltip.reconnect','_hovered','_initDependencies','invokeId','registerBeforeClose','roomMembers$','unload','findNodePositionByCharIndex','_cursor','defineProperty','_createSocketURL','hasOwnProperty','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','size','_collabSessionService','FromArray','INVITE_CODE_ALREADY_BOUND','setInterval','getUnitId','currentSkeleton$','MUTATION','resize','_saveCache','dispose$','collaboration-client.offline-data-not-saved','getParam','endColumn','text','getCurrentRevOfUnit','M0\x200H16V16H0z','USERS_LEAVE','result','off-line-single_clip0_910_343','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','1864818cpvGrK','_onCursorDelete','_transformUndoRedoStack','...','_unitStatus','textRanges','permission.title','evenodd','addEventListener','UNRECOGNIZED','bottom','show','editingUnit','storage','search','max','onPointerEnter$','getRenderById','_scheduleHeartbeat','color','ALREADY_EXISTS','_document','_handleHover','getOwnPropertyDescriptor','updateOfflineData','_doCreateSocket','_hover','_ensureSubject','fillText','RECT','verdancy600','collabStatus.fetchMiss','_startDocCollabCursor','triggerDblclick','PERMISSION_DENIED','setTimeout','UNIVER_SHEET','m2Prime','event$','generateRandomId','_uiPartsService','UPDATE_CURSOR','_saveTaskMap','propertyIsEnumerable','assignAColorForMemberID','toRgbString','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','SOCKET_FAILED_RETRY','_initStatusListener','0\x200\x2016\x2016','then','_handleHeartbeatEvent','_cursorInfo$','_onCursorUpdate','1056516ydBOtI','_updateURLWithCurrentState','_scheduleClearOtherTimer','registerRenderModule','min','attrs','_registerRenderDependencies','drawWith','getCollabCursors$','_assignedColors','UNIVER_DOC','_instanceService','collabStatus.syncing','colorChannel1','505715YXRGha','focused$','defs','_memberService','function','_refreshCollabCursors','DeleteRangeMoveLeftCommandId','clearTimeout','AWAITING_WITH_PENDING','string','addObjects','replaceState','isActive','error','_registerDependencies','FETCH_MISS','add','onPointerMove$','session.will-retry','_cachedData','getCollabEntity$','sheetId','replace','univerjs-icon\x20univerjs-icon-','_toggleOnline','unshift','url(#$1','executeCommand','values','_setupSubUnitSync','getActiveSheet','MoveRangeCommandId','undoState','transformIMECache','TOO_MANY_REQUESTS','getViewport','next','ONLINE','docStateChange$','_docTransformStateCacheService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','70nUdcfT','extend','_collabCursorState$','indexOf','CONNECTOR_DATA_TOO_LARGE','defIds','path','_docSyncEditingCollabCursorService','setActiveRange','saveTaskMap','APPLY_NON_SEQUENTIAL_REVISION','labelPosition','doc.mutation.rich-text-editing','isArray','_setupBeforeClosingHandler','_online','univer-text-red-500','_status$','asObservable','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','_revisionService','uni.network.url-service','#FFF','pipe','location','_configService','red300','_httpService','init','row','_disabled','className','setShapeProps','_docTransformIMECacheService','mutations','getSkeleton','_heartbeatTimer','session.collaboration-timeout','INVALID_ARGUMENT','replaceDocRanges','USER_NOT_INVITED_CODE','_themeService','_drawAnchor','OFFLINE','_startSheetCollabCursor','_drawRectRange','subunit','params','moveTo','301863GwDlQf','purple300','7ZfRxxg','round','_getScale','imageSourceType','map','redoState','application/json','Failed','_collaborationUIEventService','_draw','_logService','subscribe','_updateSubUnitFromURLParams','YUUMI_NO_CUBOID_FOR_QUESTION','saveImage','unsubscribe','_updateLocalCursor','displayName','_shapes','_docStateChangeManagerService','startColumn','startsWith','#fff','_removeClearOtherTimer','InsertRowCommandId','_cursorShapes','_collaborationController','_handleJoinEvent','collabStatus.conflict','addHandlerCallback','YUUMI_UNABLE_LOAD_URL','setStateCache','ACTIVE_UNIT_EVENT_CHANNEL','getConfig','sessionTicket','_localeService','body','onTransformChange$','_anchorDot','arc','type','entityInit$','sheetID','parse','getDocRanges','popstate','_transformHistoryAndStateStack','m1Prime','column','ranges','backgroundColor','/run/','_entityInit$','use','_hideTimer','isEditing','_textBubble','getActiveRange','_getSessionTicket','getStateCache','_context','code','permission.content','ENSURE_SNAPSHOT_EXECUTION','_notificationService','subscribeEvent','exhaustSavingTask','_localStorageService','getMember','APPLY_PERMISSION_DENIED','_getSheetObject','from','_cursors','_transformService','get','INVALID_INVITE_CODE','WECHAT_HAS_BEEN_BOUND','onStarting','[CollaborationDataLoaderController]','collabCursorState$','_injector','prototype','push','data','toString','LICENSE_MAX_UNITS_EXCEEDED','find','_onRefRangeChange','onCommandExecuted','_range','NOT_FOUND','onMouseMove','getUniverSheetInstance','getMemberID','pushState','none','NO_OTHER_CLIENTS_EDITING','_updateCollabCursors','_renderManagerService','CONFLICT','_dataLoaderService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','complete','entries','PY_RUNTIME_SCRIPT_ERROR','_localCacheService','TEXT','getOffsetConfig','YUUMI_URL_COL_OUT_OF_RANGE','save','UNDEFINED','disposeWithMe','LOGIN_FAILED','selection','transformMutationsWithChangeset','YUUMI_RATE_OVER_LIMIT','_name','_lastPointer','getMergeData','currentTheme$','icon','_docClipboardService','endRow','some','concat','transformMutation','118344eLeMec','CHANGESET_REVISION_CONFILICT','_imageIoService','tag','[RemoteUniscriptService]:\x20no\x20focused\x20unit','JOIN_ROOM_FAILED','stringify','createSocket','flatMap','enableLocalCache','getFocusedUnit','fillStyle','getOwnPropertySymbols','reconnect','assign','unitID','length','RemoveRowCommandId','1em','_univerInstanceService','all','width','_urlService','send','5436459KNMdFu','_roomMembers$','onPointerLeave$','_render','href','rgba(255,\x20255,\x20255,\x200.01)','_docSkeleton','_initCommandExecutedListener','transformSelections','jiqing500','newValue','_backgroundColor','cursorInfo$','INTERNAL_ERROR','setAlpha','_clearOtherTimers','Unknown\x20user','skeleton','blue400','debug','INVITE_CODE_HAS_BEEN_UES','xlink:href','getValue','_removeCollabCursors','_docSkeletonManagerService','_commandService','current','MOBILE_HAS_BEEN_BOUND','on-line-single_clip0_910_349','_entities','YUUMI_ASYNCIO_CANCELLED','_config','div','children','_selfUnitIDs','_sheetSkeletonManagerService','forEach','measureText','loadUnit','APPLY_DUPLICATED','registerRefRange','INVITE_CODE_REQUIRED','addClipboardHook','DeleteRangeMoveUpCommandId','engine','_scene','_refRangeService','getAncestorScale','lineTo','makeDirty','_messageService','unitId','getSheetBySheetId','_initResize','font','history','_initStatusComponent','_beforeCloseService','RemoveColCommandId','fill','split','_handleLeaveEvent','range','APPLY_REVISION_CONFILICT','CLOSE_ROOM','OTHER_CLIENTS_EDITING','SUBMIT_CHANGESET_TIMEOUT','_collabCursorController','YUUMI_SUBSCRIPTION_NOT_FOUND','delete','LICENSE_DISTRO_REJECTED','APPLY_REJECT','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','SNAPSHOT_HAS_BEEN_REMOVED','startRow','COMPLETION_FINISHED','_init','_getAnchorBounding','_scheduleSaving','cursorInfo','UniverIcon','black','top','has','SYNCED','_anchor','loadOfflineData','_labelPosition','_handleEvent','collabStatus.synced','on-line-single','_session','dispose','collaboration.single-unit.warning','NOT_COLLAB','actions','_colorAssignService','idSuffix','trim','unit','name','closePath','transformStateCache','deepClone','svg','_initEvent','searchParams','getRangePointData','EMAIL_HAS_BEEN_BOUND','AWAITING'];_0x4637=function(){return _0x4b905b;};return _0x4637();}const $i=0x1389;let we=class extends _0x40e5ab{constructor(_0x5e495e,_0x5ce44e,_0xee656e,_0x32bffa){const _0x29f830=_0x2ff589;super(),_(this,_0x29f830(0x252),new Set()),_(this,_0x29f830(0x27f),null),(this['_context']=_0x5e495e,this[_0x29f830(0x2c3)]=_0x5ce44e,this[_0x29f830(0x2e3)]=_0xee656e,this[_0x29f830(0x200)]=_0x32bffa,this[_0x29f830(0x2ec)]());}[_0x2ff589(0x2ec)](){const _0x57a6c7=_0x2ff589;this[_0x57a6c7(0x2c3)]['currentSkeleton$'][_0x57a6c7(0x1ee)](_0x4c3014(this['dispose$']),_0x3d47ea(_0x2480f5=>{const _0x2d1f0e=_0x57a6c7;if(_0x2480f5){const _0x217bbd=_0x2480f5[_0x2d1f0e(0x1c3)];return _0x42d931(this['_collabCursorController'][_0x2d1f0e(0x1a8)](this['_context'][_0x2d1f0e(0x2d3)]),this[_0x2d1f0e(0x200)][_0x2d1f0e(0x281)])['pipe'](_0x5988cd(([_0x48a203,_0xc7196d])=>{const _0x34164d=new Map();return _0x48a203['forEach']((_0x35948c,_0x366612)=>{const _0xaf5e07=_0x8596;if(_0x35948c[_0xaf5e07(0x234)]===_0x217bbd){const _0x3a0d93={..._0x35948c};_0x3a0d93[_0xaf5e07(0x378)]=_0xc7196d[_0x35948c[_0xaf5e07(0x378)]],_0x34164d[_0xaf5e07(0x326)](_0x366612,_0x3a0d93);}}),{'skeleton':_0x2480f5,'cursors':_0x34164d};}));}return _0x88b8e7({'skeleton':null,'cursors':new Map()});}))[_0x57a6c7(0x215)](({skeleton:_0x261400,cursors:_0x346f10})=>{const _0x364cf5=_0x57a6c7;this[_0x364cf5(0x2b7)](),_0x261400&&this[_0x364cf5(0x26b)](_0x261400,_0x346f10);}),this[_0x57a6c7(0x2c3)][_0x57a6c7(0x356)]['subscribe'](_0x38c4b6=>{const _0x524cf6=_0x57a6c7;if(_0x38c4b6==null)return;const {skeleton:_0x498bee}=_0x38c4b6,{scene:_0x5ceb94}=this[_0x524cf6(0x246)];_0x5ceb94[_0x524cf6(0x1bf)][_0x524cf6(0x24b)](_0x34fdfc(_0x298048=>{const _0x34e70e=_0x524cf6;var _0x18fe96,_0x46d6b3;const {offsetX:_0x49130b,offsetY:_0x1df0ec}=_0x298048,{x:_0x560848,y:_0x2dc55b}=_0x5ceb94['getRelativeToViewportCoord'](_0x28f4a7['FromArray']([_0x49130b,_0x1df0ec])),{scaleX:_0x34e6f3,scaleY:_0x40e01e}=_0x5ceb94[_0x34e70e(0x2cf)](),_0x1ec167=_0x5ceb94[_0x34e70e(0x1d1)](_0x136919['VIEW_MAIN']),_0x1ec98b=_0x5ceb94['getVpScrollXYInfoByPosToVp'](_0x28f4a7[_0x34e70e(0x352)]([_0x560848,_0x2dc55b]),_0x1ec167),_0x316bb8=_0x498bee['getCellPositionByOffset'](_0x49130b,_0x1df0ec,_0x34e6f3,_0x40e01e,_0x1ec98b);((_0x18fe96=this[_0x34e70e(0x27f)])==null?void 0x0:_0x18fe96[_0x34e70e(0x23a)])===_0x316bb8[_0x34e70e(0x23a)]&&((_0x46d6b3=this[_0x34e70e(0x27f)])==null?void 0x0:_0x46d6b3['row'])===_0x316bb8[_0x34e70e(0x1f4)]||this['_cursors'][_0x34e70e(0x2c4)](_0x1f13cd=>{const _0x1f8320=_0x34e70e;_0x1f13cd[_0x1f8320(0x265)](_0x316bb8);});},0x64));});}[_0x2ff589(0x26b)](_0x5f0881,_0x214d9d){const _0x2209a6=_0x2ff589;var _0x19a64d;const _0x580f82=(_0x19a64d=this['_sheetSkeletonManagerService'][_0x2209a6(0x31a)]())==null?void 0x0:_0x19a64d[_0x2209a6(0x2b1)];if(!_0x580f82)return;const _0x2ac75d=this['_getSheetObject']();if(!_0x2ac75d)return;this[_0x2209a6(0x252)]['forEach'](_0x442e67=>{const _0xe805f1=_0x2209a6;_0x442e67[_0xe805f1(0x2d1)]();});const {scene:_0x170537}=_0x2ac75d,_0x4e359b=xi(Array[_0x2209a6(0x251)](_0x214d9d[_0x2209a6(0x1ca)]()))['map'](_0x586079=>{const _0x2013e6=_0x2209a6,{color:_0xd1fedc,range:_0x1f10c5,name:_0x78e63f,selection:_0x80017b,sheetID:_0x5729d8}=_0x586079,{startColumn:_0x1d5261,startRow:_0x5e9646,endColumn:_0x280ce1,endRow:_0x19c663}=_0x1f10c5,_0x5c1435=_0x47d7bb(_0x5e9646,_0x1d5261,_0x170537,_0x580f82),_0x4879e5=_0x47d7bb(_0x19c663,_0x280ce1,_0x170537,_0x580f82),{columnHeaderHeightAndMarginTop:_0x10d152}=_0x580f82,{startX:_0x458cae,startY:_0x3427ee}=_0x5c1435,{endX:_0x475714,endY:_0x1beb7d}=_0x4879e5,_0xc0446e=_0x475714-_0x458cae,_0x13fab1=_0x1beb7d-_0x3427ee,_0x313e29={'labelPosition':_0x3427ee-_0x10d152>=ee?_0x2013e6(0x2f2):_0x2013e6(0x36f),'sheetID':_0x5729d8,'range':_0x1f10c5,'color':_0xd1fedc,'name':_0x78e63f,'selection':_0x80017b,'left':_0x458cae,'top':_0x3427ee,'width':_0xc0446e,'height':_0x13fab1,'evented':!0x1,'zIndex':$i};return new Li(_0x78e63f,_0x313e29);});_0x170537[_0x2209a6(0x1b8)](_0x4e359b,Pi),this['_cursors']=new Set(_0x4e359b);}['_removeCollabCursors'](){const _0x47b904=_0x2ff589;var _0x399796;(_0x399796=this[_0x47b904(0x252)])==null||_0x399796[_0x47b904(0x2c4)](_0x5fc848=>_0x5fc848[_0x47b904(0x2fc)]());}[_0x2ff589(0x250)](){const _0x519c86=_0x2ff589;return _0x448d13(this[_0x519c86(0x246)][_0x519c86(0x303)],this[_0x519c86(0x246)]);}};we=yi([Ie(0x1,_0x4abecf(_0x8e2b42)),Ie(0x2,_0x4abecf(H)),Ie(0x3,_0x4abecf(_0x37cd77))],we);function xi(_0x30638a){const _0x476dd5=_0x2ff589,_0x5506f9=new Map();return _0x30638a[_0x476dd5(0x2c4)](_0x5cd8b5=>{const _0x511d8b=_0x476dd5;if(_0x5506f9[_0x511d8b(0x2f3)](_0x5cd8b5[_0x511d8b(0x27b)])){const _0x310e68=_0x5506f9[_0x511d8b(0x254)](_0x5cd8b5[_0x511d8b(0x27b)]);_0x310e68[_0x511d8b(0x304)]+=',\x20'+_0x5cd8b5['name'];}else _0x5506f9[_0x511d8b(0x326)](_0x5cd8b5[_0x511d8b(0x27b)],_0x5cd8b5);}),Array[_0x476dd5(0x251)](_0x5506f9[_0x476dd5(0x1ca)]());}var I=function(){return I=Object['assign']||function(_0x3cba5f){const _0x52d0a3=_0x8596;for(var _0x4079d0,_0x558760=0x1,_0x1517b5=arguments[_0x52d0a3(0x298)];_0x558760<_0x1517b5;_0x558760++){_0x4079d0=arguments[_0x558760];for(var _0x33a68e in _0x4079d0)Object[_0x52d0a3(0x25b)]['hasOwnProperty']['call'](_0x4079d0,_0x33a68e)&&(_0x3cba5f[_0x33a68e]=_0x4079d0[_0x33a68e]);}return _0x3cba5f;},I['apply'](this,arguments);},Bi=function(_0x2a7ae7,_0x19a381){const _0x15dbff=_0x2ff589;var _0x333ed7={};for(var _0x5c6ab8 in _0x2a7ae7)Object['prototype'][_0x15dbff(0x34e)][_0x15dbff(0x333)](_0x2a7ae7,_0x5c6ab8)&&_0x19a381[_0x15dbff(0x1da)](_0x5c6ab8)<0x0&&(_0x333ed7[_0x5c6ab8]=_0x2a7ae7[_0x5c6ab8]);if(_0x2a7ae7!=null&&typeof Object[_0x15dbff(0x294)]==_0x15dbff(0x1b2)){for(var _0x450802=0x0,_0x5c6ab8=Object[_0x15dbff(0x294)](_0x2a7ae7);_0x450802<_0x5c6ab8[_0x15dbff(0x298)];_0x450802++)_0x19a381[_0x15dbff(0x1da)](_0x5c6ab8[_0x450802])<0x0&&Object[_0x15dbff(0x25b)][_0x15dbff(0x195)][_0x15dbff(0x333)](_0x2a7ae7,_0x5c6ab8[_0x450802])&&(_0x333ed7[_0x5c6ab8[_0x450802]]=_0x2a7ae7[_0x5c6ab8[_0x450802]]);}return _0x333ed7;},je=_0x3710a6(function(_0x2a8a5f,_0x1c57dc){const _0x39e603=_0x2ff589;var _0x381d87=_0x2a8a5f['icon'],_0x3f9b94=_0x2a8a5f['id'],_0x8ee6de=_0x2a8a5f[_0x39e603(0x1f6)],_0x48cf3a=_0x2a8a5f[_0x39e603(0x1d8)],_0x127a1a=Bi(_0x2a8a5f,[_0x39e603(0x282),'id',_0x39e603(0x1f6),'extend']),_0x34b3e1=_0x39e603(0x1c5)['concat'](_0x3f9b94,'\x20')[_0x39e603(0x286)](_0x8ee6de||'')[_0x39e603(0x302)](),_0x396ce8=_0x236828('_'[_0x39e603(0x286)](ji()));return Rt(_0x381d87,''['concat'](_0x3f9b94),{'defIds':_0x381d87['defIds'],'idSuffix':_0x396ce8[_0x39e603(0x2ba)]},I({'ref':_0x1c57dc,'className':_0x34b3e1},_0x127a1a),_0x48cf3a);});function Rt(_0x510854,_0x29fabd,_0x3a0803,_0x5caca5,_0x42432a){const _0x4b48b1=_0x2ff589;return _0x323661(_0x510854[_0x4b48b1(0x28b)],I(I({'key':_0x29fabd},ki(_0x510854,_0x3a0803,_0x42432a)),_0x5caca5),(Hi(_0x510854,_0x3a0803)['children']||[])[_0x4b48b1(0x20e)](function(_0x5c5dad,_0x152ef5){const _0xf4aae0=_0x4b48b1;return Rt(_0x5c5dad,''['concat'](_0x29fabd,'-')[_0xf4aae0(0x286)](_0x510854[_0xf4aae0(0x28b)],'-')['concat'](_0x152ef5),_0x3a0803,void 0x0,_0x42432a);}));}function ki(_0x1a39d5,_0x5d0cbb,_0x60bfde){const _0x395ea2=_0x2ff589;var _0x501b6b=I({},_0x1a39d5[_0x395ea2(0x1a5)]);_0x60bfde!=null&&_0x60bfde['colorChannel1']&&_0x501b6b['fill']===_0x395ea2(0x1ad)&&(_0x501b6b['fill']=_0x60bfde[_0x395ea2(0x1ad)]),_0x1a39d5[_0x395ea2(0x28b)]===_0x395ea2(0x311)&&_0x501b6b['id']&&(_0x501b6b['id']=_0x501b6b['id']+_0x5d0cbb[_0x395ea2(0x301)]),Object[_0x395ea2(0x271)](_0x501b6b)[_0x395ea2(0x2c4)](function(_0x36d245){const _0x3d2289=_0x395ea2;var _0x252d61=_0x36d245[0x0],_0x3452d4=_0x36d245[0x1];_0x252d61===_0x3d2289(0x311)&&typeof _0x3452d4=='string'&&(_0x501b6b[_0x252d61]=_0x3452d4[_0x3d2289(0x1c4)](/url\(#(.*)\)/,_0x3d2289(0x1c8)[_0x3d2289(0x286)](_0x5d0cbb['idSuffix'],')')));});var _0x5c8944=_0x5d0cbb['defIds'];return!_0x5c8944||_0x5c8944[_0x395ea2(0x298)]===0x0||(_0x1a39d5['tag']===_0x395ea2(0x23f)&&_0x501b6b[_0x395ea2(0x2b5)]&&(_0x501b6b[_0x395ea2(0x2b5)]=_0x501b6b['xlink:href']+_0x5d0cbb[_0x395ea2(0x301)]),Object[_0x395ea2(0x271)](_0x501b6b)[_0x395ea2(0x2c4)](function(_0x40136){const _0x120bf0=_0x395ea2;var _0x555826=_0x40136[0x0],_0x5e5b41=_0x40136[0x1];typeof _0x5e5b41=='string'&&(_0x501b6b[_0x555826]=_0x5e5b41[_0x120bf0(0x1c4)](/url\(#(.*)\)/,_0x120bf0(0x1c8)[_0x120bf0(0x286)](_0x5d0cbb[_0x120bf0(0x301)],')')));})),_0x501b6b;}function Hi(_0x3a925d,_0x2537b3){const _0x90e8b0=_0x2ff589;var _0x1f28b3,_0x22ec49=_0x2537b3[_0x90e8b0(0x1dc)];return!_0x22ec49||_0x22ec49[_0x90e8b0(0x298)]===0x0?_0x3a925d:_0x3a925d[_0x90e8b0(0x28b)]==='defs'&&(!((_0x1f28b3=_0x3a925d[_0x90e8b0(0x2c1)])===null||_0x1f28b3===void 0x0)&&_0x1f28b3[_0x90e8b0(0x298)])?I(I({},_0x3a925d),{'children':_0x3a925d[_0x90e8b0(0x2c1)]['map'](function(_0x272343){const _0x23348f=_0x90e8b0;return typeof _0x272343[_0x23348f(0x1a5)]['id']==_0x23348f(0x1b7)&&_0x22ec49&&_0x22ec49[_0x23348f(0x1da)](_0x272343[_0x23348f(0x1a5)]['id'])>-0x1?I(I({},_0x272343),{'attrs':I(I({},_0x272343['attrs']),{'id':_0x272343[_0x23348f(0x1a5)]['id']+_0x2537b3[_0x23348f(0x301)]})}):_0x272343;})}):_0x3a925d;}function ji(){const _0x263995=_0x2ff589;return Math['random']()[_0x263995(0x25e)](0x24)[_0x263995(0x33f)](0x2,0x8);}je[_0x2ff589(0x21b)]=_0x2ff589(0x2f0);var Wi={'tag':'svg','attrs':{'fill':'none','viewBox':_0x2ff589(0x19b),'width':_0x2ff589(0x29a),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x2ff589(0x1dd),'attrs':{'stroke':_0x2ff589(0x312),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x2ff589(0x20b),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x2ff589(0x1b0),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x2ff589(0x363)},'children':[{'tag':_0x2ff589(0x1dd),'attrs':{'fill':_0x2ff589(0x220),'d':_0x2ff589(0x360)}}]}]}],'defIds':[_0x2ff589(0x363)]},Dt=_0x3710a6(function(_0x1b2692,_0x34124f){const _0x3a90ff=_0x2ff589;return _0x323661(je,Object[_0x3a90ff(0x296)]({},_0x1b2692,{'id':_0x3a90ff(0x329),'ref':_0x34124f,'icon':Wi}));});Dt[_0x2ff589(0x21b)]='OffLineSingle';var Fi={'tag':_0x2ff589(0x308),'attrs':{'fill':_0x2ff589(0x269),'viewBox':'0\x200\x2017\x2016','width':_0x2ff589(0x29a),'height':_0x2ff589(0x29a)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x2ff589(0x1dd),'attrs':{'stroke':_0x2ff589(0x312),'d':_0x2ff589(0x34f),'strokeLinecap':_0x2ff589(0x20b),'strokeLinejoin':_0x2ff589(0x20b),'strokeWidth':1.2}}]},{'tag':_0x2ff589(0x1b0),'attrs':{},'children':[{'tag':_0x2ff589(0x33c),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x2ff589(0x1dd),'attrs':{'fill':'#fff','d':_0x2ff589(0x360),'transform':'translate(.97)'}}]}]}],'defIds':[_0x2ff589(0x2bc)]},Nt=_0x3710a6(function(_0x338b99,_0x883e05){const _0x271552=_0x2ff589;return _0x323661(je,Object[_0x271552(0x296)]({},_0x338b99,{'id':_0x271552(0x2fa),'ref':_0x883e05,'icon':Fi}));});Nt['displayName']=_0x2ff589(0x33a);function Yi(_0x1b53ed){const _0x19c161=_0x2ff589;switch(_0x1b53ed){case _0x4aa8a3[_0x19c161(0x202)]:return _0x19c161(0x32d);case _0x4aa8a3['CONFLICT']:return _0x19c161(0x226);case _0x4aa8a3[_0x19c161(0x1bd)]:return _0x19c161(0x189);case _0x4aa8a3['NOT_COLLAB']:return'collabStatus.notCollab';case _0x4aa8a3[_0x19c161(0x30d)]:case _0x4aa8a3[_0x19c161(0x1b6)]:return _0x19c161(0x1ac);case _0x4aa8a3[_0x19c161(0x2f4)]:case _0x4aa8a3['PENDING']:return _0x19c161(0x2f9);}}function Vi(_0x241227){const _0x3f6867=_0x2ff589,{status$:_0x4c35d9}=_0x241227,_0x89f98e=_0x5ecd6e(_0x4c35d9,_0x4aa8a3[_0x3f6867(0x2fe)]),_0x41b922=_0x50fc98(_0x40bb19),_0x5d84bf=_0x50fc98(_0x462455),_0x24040d=_0x89f98e!==_0x4aa8a3[_0x3f6867(0x202)],_0x4251f6=_0x41b922['t'](Yi(_0x89f98e)),_0x54f10c=_0x24040d?_0x323394(Nt,{}):_0x323394(Dt,{}),_0x548fa5=_0x52eb62(()=>{const _0x34fff1=_0x3f6867;_0x24040d||_0x5d84bf[_0x34fff1(0x295)]();},[_0x24040d,_0x5d84bf]);function _0x5e30c7(){const _0x1203cd=_0x3f6867;return _0x35e950('div',{'className':_0x1203cd(0x33e),'onClick':_0x548fa5,'children':[_0x323394(_0x1203cd(0x2c0),{'className':_0x27f21f('univer-flex\x20univer-mr-2\x20univer-text-[20px]',_0x24040d?'univer-text-green-500':_0x1203cd(0x1e7)),'children':_0x54f10c}),_0x323394(_0x1203cd(0x2c0),{'className':_0x1203cd(0x1ea),'children':_0x4251f6})]});}return _0x24040d?_0x5e30c7():_0x323394(_0x134f31,{'title':_0x41b922['t'](_0x3f6867(0x343)),'children':_0x5e30c7()});}var Xi=Object[_0x2ff589(0x37c)],Gi=(_0x1e74ca,_0x446b88,_0x250149,_0x48c71c)=>{const _0x126e1b=_0x2ff589;for(var _0x290361=_0x48c71c>0x1?void 0x0:_0x48c71c?Xi(_0x446b88,_0x250149):_0x446b88,_0x24d0b=_0x1e74ca[_0x126e1b(0x298)]-0x1,_0x3f62e5;_0x24d0b>=0x0;_0x24d0b--)(_0x3f62e5=_0x1e74ca[_0x24d0b])&&(_0x290361=_0x3f62e5(_0x290361)||_0x290361);return _0x290361;},Q=(_0x3e2dfa,_0x9d92b4)=>(_0x4d539c,_0x1cd721)=>_0x9d92b4(_0x4d539c,_0x1cd721,_0x3e2dfa);let te=class extends _0x542665{constructor(_0x134761,_0x1ad871,_0x11fe3f,_0x3d1046){const _0xde8d89=_0x2ff589;super(),_(this,_0xde8d89(0x1e8),new _0x2da5c1(_0x4aa8a3[_0xde8d89(0x2fe)])),(this['_univerInstanceService']=_0x134761,this[_0xde8d89(0x25a)]=_0x1ad871,this[_0xde8d89(0x224)]=_0x11fe3f,this[_0xde8d89(0x192)]=_0x3d1046,this[_0xde8d89(0x2d8)](),this[_0xde8d89(0x19a)]());}[_0x2ff589(0x19a)](){const _0x277355=_0x2ff589;this[_0x277355(0x279)](this[_0x277355(0x29b)][_0x277355(0x1af)][_0x277355(0x1ee)](_0xb29a9c(()=>{const _0x184202=_0x277355,_0x2cfa11=this[_0x184202(0x29b)][_0x184202(0x292)]();return _0x2cfa11?this[_0x184202(0x224)][_0x184202(0x1c2)](_0x2cfa11['getUnitId']()):_0x88b8e7(null);}),_0xb29a9c(_0x27d05b=>_0x27d05b?_0x27d05b['status$']:_0x88b8e7(_0x4aa8a3[_0x277355(0x2fe)])))[_0x277355(0x215)](_0x4a8a59=>{const _0xe725dd=_0x277355;this[_0xe725dd(0x1e8)][_0xe725dd(0x1d2)](_0x4a8a59);}));}[_0x2ff589(0x2d8)](){const _0xdef2dc=_0x2ff589;this[_0xdef2dc(0x279)](this[_0xdef2dc(0x192)][_0xdef2dc(0x336)](_0x5bfe74['HEADER_MENU'],()=>_0x406057(Ki({'status$':this[_0xdef2dc(0x1e8)][_0xdef2dc(0x1e9)]()}),this[_0xdef2dc(0x25a)])));}};te=Gi([Q(0x0,_0x298822),Q(0x1,_0x4abecf(_0x53572c)),Q(0x2,_0x4abecf(_0x515bb0)),Q(0x3,_0x39ac7c)],te);function Ki(_0x21910c){const {status$:_0x4571a6}=_0x21910c;return function(){return _0x323394(Vi,{'status$':_0x4571a6});};}var zi=Object[_0x2ff589(0x37c)],Ji=(_0x3de8e2,_0x56dd1b,_0x2fab75,_0x4bfc1a)=>{const _0x2abf7c=_0x2ff589;for(var _0x5caf94=_0x4bfc1a>0x1?void 0x0:_0x4bfc1a?zi(_0x56dd1b,_0x2fab75):_0x56dd1b,_0x3ebd7e=_0x3de8e2[_0x2abf7c(0x298)]-0x1,_0xc275b7;_0x3ebd7e>=0x0;_0x3ebd7e--)(_0xc275b7=_0x3de8e2[_0x3ebd7e])&&(_0x5caf94=_0xc275b7(_0x5caf94)||_0x5caf94);return _0x5caf94;},B=(_0x349f52,_0x5188c1)=>(_0x57a901,_0x266417)=>_0x5188c1(_0x57a901,_0x266417,_0x349f52);let se=class extends _0x542665{constructor(_0xa28da8,_0x41452,_0x24be91,_0xfee9cc,_0x2bae0d,_0xa05401){const _0x4b8a27=_0x2ff589;super(),this['_beforeCloseService']=_0xa28da8,this['_localCacheService']=_0x41452,this[_0x4b8a27(0x212)]=_0x24be91,this[_0x4b8a27(0x2d2)]=_0xfee9cc,this[_0x4b8a27(0x24a)]=_0x2bae0d,this[_0x4b8a27(0x22d)]=_0xa05401,this[_0x4b8a27(0x1e5)](),this[_0x4b8a27(0x309)]();}[_0x2ff589(0x1e5)](){const _0x2e770f=_0x2ff589;this[_0x2e770f(0x279)](this[_0x2e770f(0x2d9)][_0x2e770f(0x347)](()=>{const _0x34c5ac=_0x2e770f;if(this[_0x34c5ac(0x273)][_0x34c5ac(0x1e0)][_0x34c5ac(0x350)])return this[_0x34c5ac(0x22d)]['t'](_0x34c5ac(0x35b));}));}[_0x2ff589(0x309)](){const _0x127d74=_0x2ff589;this['disposeWithMe'](this['_collaborationUIEventService'][_0x127d74(0x190)]['subscribe'](_0x25f80e=>{const _0x5f0d16=_0x127d74;_0x25f80e['id']===_0x13681f['OTHER_CLIENT_EDITING']&&this[_0x5f0d16(0x2d2)][_0x5f0d16(0x370)]({'type':_0x2b34b2[_0x5f0d16(0x32f)],'content':this[_0x5f0d16(0x22d)]['t'](_0x5f0d16(0x2fd))}),_0x25f80e['id']===_0x13681f[_0x5f0d16(0x2e0)]&&this['_messageService'][_0x5f0d16(0x370)]({'type':_0x2b34b2[_0x5f0d16(0x32f)],'content':this[_0x5f0d16(0x22d)]['t'](_0x5f0d16(0x322))}),_0x25f80e['id']===_0x13681f['PERMISSION_DENIED']&&this['_notificationService'][_0x5f0d16(0x370)]({'title':this[_0x5f0d16(0x22d)]['t'](_0x5f0d16(0x36b)),'content':this[_0x5f0d16(0x22d)]['t'](_0x5f0d16(0x248)),'type':'error','duration':0x0}),_0x25f80e['id']===_0x13681f[_0x5f0d16(0x26d)]&&this['_messageService'][_0x5f0d16(0x370)]({'type':_0x2b34b2[_0x5f0d16(0x320)],'content':this[_0x5f0d16(0x22d)]['t'](_0x5f0d16(0x322))+'('+_0x25f80e[_0x5f0d16(0x25d)]+')'}),_0x25f80e['id']===_0x13681f[_0x5f0d16(0x28d)]&&this[_0x5f0d16(0x2d2)][_0x5f0d16(0x370)]({'type':_0x2b34b2[_0x5f0d16(0x32f)],'content':this[_0x5f0d16(0x22d)]['t'](_0x25f80e['data']||'')}),_0x25f80e['id']===_0x13681f[_0x5f0d16(0x199)]&&this[_0x5f0d16(0x2d2)]['show']({'type':_0x2b34b2[_0x5f0d16(0x32f)],'content':this[_0x5f0d16(0x22d)]['t'](_0x5f0d16(0x1c0))}),_0x25f80e['id']===_0x13681f['SOCKET_FAILED']&&this[_0x5f0d16(0x2d2)][_0x5f0d16(0x370)]({'type':_0x2b34b2[_0x5f0d16(0x320)],'content':this[_0x5f0d16(0x22d)]['t']('session.connection-failed')}),_0x25f80e['id']===_0x13681f[_0x5f0d16(0x2e2)]&&this[_0x5f0d16(0x2d2)]['show']({'type':_0x2b34b2['Error'],'content':this[_0x5f0d16(0x22d)]['t'](_0x5f0d16(0x1fc))});}));}};se=Ji([B(0x0,_0xf1c20),B(0x1,_0x43711d),B(0x2,_0x4abecf(_0x406941)),B(0x3,_0x139df0),B(0x4,_0x4bb781),B(0x5,_0x4abecf(_0x40bb19))],se);const Zi='collaboration-client-ui.config',et={},Ut=_0x2bb225(_0x2ff589(0x1ec));var Qi=Object[_0x2ff589(0x37c)],qi=(_0x940e65,_0x4ea5b8,_0x483a76,_0x5695f6)=>{const _0x21564b=_0x2ff589;for(var _0x5d7a51=_0x5695f6>0x1?void 0x0:_0x5695f6?Qi(_0x4ea5b8,_0x483a76):_0x4ea5b8,_0x3146d5=_0x940e65[_0x21564b(0x298)]-0x1,_0x1d8189;_0x3146d5>=0x0;_0x3146d5--)(_0x1d8189=_0x940e65[_0x3146d5])&&(_0x5d7a51=_0x1d8189(_0x5d7a51)||_0x5d7a51);return _0x5d7a51;},G=(_0x161009,_0x246130)=>(_0x55ec9c,_0x17f0b3)=>_0x246130(_0x55ec9c,_0x17f0b3,_0x161009);let ie=class extends _0x40e5ab{constructor(_0x27f2ec,_0x369a95,_0x10d55e,_0x2dce73,_0x2a9bd9){const _0x248ee3=_0x2ff589;super(),this[_0x248ee3(0x29e)]=_0x27f2ec,this[_0x248ee3(0x214)]=_0x369a95,this[_0x248ee3(0x2b9)]=_0x10d55e,this['_dataLoaderService']=_0x2dce73,_0x2a9bd9?_0x2a9bd9==null||_0x2a9bd9['whenReady']()[_0x248ee3(0x19c)](()=>this[_0x248ee3(0x2ec)]()):(this[_0x248ee3(0x214)][_0x248ee3(0x2b3)](_0x248ee3(0x258),_0x248ee3(0x26f)),this['_init']());}async[_0x2ff589(0x2ec)](){const _0x379884=_0x2ff589,_0x1cfbd2=this[_0x379884(0x29e)][_0x379884(0x35c)]('unit'),_0x5f502e=this[_0x379884(0x29e)][_0x379884(0x35c)](_0x379884(0x232)),_0xda9773=this[_0x379884(0x29e)]['getParam']('subunit');if(!_0x1cfbd2||!_0x5f502e){this['_logService'][_0x379884(0x2b3)](_0x379884(0x258),_0x379884(0x2e8));return;}const _0x581cd7=await this[_0x379884(0x26e)][_0x379884(0x2c6)](_0x1cfbd2,Number(_0x5f502e),_0xda9773);_0x581cd7&&_0x581cd7 instanceof _0x512a77&&this[_0x379884(0x1cb)](_0x581cd7);}async[_0x2ff589(0x1cb)](_0x2c44ef){const _0x3207dc=_0x2ff589;await this[_0x3207dc(0x216)](_0x2c44ef),_0x2c44ef['activeSheet$'][_0x3207dc(0x1ee)](_0x16f876(this['dispose$']))[_0x3207dc(0x215)](_0x141b88=>{_0x141b88&&this['_updateURLWithCurrentState'](_0x141b88);}),this[_0x3207dc(0x29e)]['urlChange$']['pipe'](_0x16f876(this[_0x3207dc(0x35a)]))[_0x3207dc(0x215)](()=>this[_0x3207dc(0x216)](_0x2c44ef));}[_0x2ff589(0x1a1)](_0x54fb00,_0x513a07=!0x1){const _0x127f31=_0x2ff589,_0x1aef14=this[_0x127f31(0x29e)][_0x127f31(0x35c)](_0x127f31(0x205));_0x54fb00[_0x127f31(0x332)]()!==_0x1aef14&&this['_urlService'][_0x127f31(0x315)](_0x127f31(0x205),_0x54fb00[_0x127f31(0x332)](),_0x513a07);}async[_0x2ff589(0x216)](_0x376262){const _0xfa9ed9=_0x2ff589;var _0x41d2f0;const _0x1ad664=this[_0xfa9ed9(0x29e)][_0xfa9ed9(0x35c)](_0xfa9ed9(0x205));if(!_0x1ad664||!_0x376262[_0xfa9ed9(0x2d4)](_0x1ad664)){const _0x1ab8f6=_0x376262['getUnhiddenWorksheets']()[0x0],_0x593307=_0x376262[_0xfa9ed9(0x2d4)](_0x1ab8f6);if(!_0x593307)return;this[_0xfa9ed9(0x1a1)](_0x593307,!0x0),await this[_0xfa9ed9(0x2b9)][_0xfa9ed9(0x1c9)](_0x1dbe2e['id'],{'unitId':_0x376262[_0xfa9ed9(0x355)](),'subUnitId':_0x1ab8f6});return;}((_0x41d2f0=_0x376262[_0xfa9ed9(0x1cc)]())==null?void 0x0:_0x41d2f0[_0xfa9ed9(0x332)]())!==_0x1ad664&&await this[_0xfa9ed9(0x2b9)]['executeCommand'](_0x1dbe2e['id'],{'unitId':_0x376262['getUnitId'](),'subUnitId':_0x1ad664});}};ie=qi([G(0x0,Ut),G(0x1,_0x192faf),G(0x2,_0x792647),G(0x3,_0x4abecf(_0x83b419)),G(0x4,_0x25f8fb(_0x3c7de9))],ie);var en=Object[_0x2ff589(0x37c)],tn=(_0x9ff85d,_0x2b76f0,_0x25d2d9,_0x27d8ef)=>{for(var _0x16032e=_0x27d8ef>0x1?void 0x0:_0x27d8ef?en(_0x2b76f0,_0x25d2d9):_0x2b76f0,_0x554a6b=_0x9ff85d['length']-0x1,_0x2ffc43;_0x554a6b>=0x0;_0x554a6b--)(_0x2ffc43=_0x9ff85d[_0x554a6b])&&(_0x16032e=_0x2ffc43(_0x16032e)||_0x16032e);return _0x16032e;},pe=(_0x34f3e8,_0x356a43)=>(_0x2705f2,_0x4f19ad)=>_0x356a43(_0x2705f2,_0x4f19ad,_0x34f3e8);let ne=class{constructor(_0xf46d8f,_0x95452,_0x263311){const _0xd01b5e=_0x2ff589;this['_injector']=_0xf46d8f,this['_transformService']=_0x95452,this[_0xd01b5e(0x26c)]=_0x263311;}[_0x2ff589(0x1cf)](_0x44f499){const _0x4cf565=_0x2ff589;this[_0x4cf565(0x367)](_0x44f499),this[_0x4cf565(0x317)](_0x44f499);}['transformRemoteChangeset'](_0x292b0e){const _0x3589b6=_0x2ff589,{unitID:_0x3b2ea7}=_0x292b0e,_0x4024bd=this[_0x3589b6(0x26c)][_0x3589b6(0x376)](_0x3b2ea7)[_0x3589b6(0x310)](_0x564bd7),{redoCache:_0x1e5344}=_0x4024bd['getUndoRedoMutationParamsCache']();if(_0x1e5344[_0x3589b6(0x298)]===0x0)return _0x292b0e;let _0x2e6bc5=_0x4c6864['deepClone'](_0x292b0e['mutations'][0x0]);for(let _0x58d820=0x0;_0x58d820<_0x1e5344[_0x3589b6(0x298)];_0x58d820++){const _0x2dcaef={'id':'doc.mutation.rich-text-editing','params':{..._0x1e5344[_0x58d820]}},_0x9c47c7=this[_0x3589b6(0x253)][_0x3589b6(0x287)](_0x2e6bc5,_0x2dcaef,!0x1);if(_0x456d9f(_0x9c47c7))throw _0x9c47c7['error'];_0x2e6bc5=_0x9c47c7['m1Prime'];}return{..._0x4c6864[_0x3589b6(0x307)](_0x292b0e),'mutations':[_0x2e6bc5]};}['_transformUndoRedoStack'](_0x10b8ab){const _0x2a2c7f=_0x2ff589,{unitID:_0x13caa6}=_0x10b8ab,_0x538d74=this[_0x2a2c7f(0x26c)]['getRenderById'](_0x13caa6)['with'](_0x564bd7),{undoCache:_0x4dc479,redoCache:_0x45c18c}=_0x538d74['getUndoRedoMutationParamsCache']();if(_0x4dc479[_0x2a2c7f(0x298)]===0x0||_0x45c18c[_0x2a2c7f(0x298)]===0x0)return;const _0x3bb708=[],_0x1e9b4b=[];let _0x3001e6=_0x4c6864[_0x2a2c7f(0x307)](_0x10b8ab['mutations'][0x0]),_0x48ef02=_0x4c6864[_0x2a2c7f(0x307)](_0x10b8ab['mutations'][0x0]);for(let _0x3bca14=_0x4dc479[_0x2a2c7f(0x298)]-0x1;_0x3bca14>=0x0;_0x3bca14--){const _0x16c57b={'id':_0x2a2c7f(0x1e3),'params':{..._0x4dc479[_0x3bca14]}},_0xb15216={'id':_0x2a2c7f(0x1e3),'params':{..._0x45c18c[_0x3bca14]}},_0x18db0d=this['_transformService'][_0x2a2c7f(0x287)](_0x3001e6,_0x16c57b,!0x1),_0x503549=this['_transformService']['transformMutation'](_0x48ef02,_0xb15216,!0x1);if(_0x456d9f(_0x18db0d))throw _0x18db0d[_0x2a2c7f(0x1bb)];if(_0x456d9f(_0x503549))throw _0x503549['error'];_0x3bb708[_0x2a2c7f(0x1c7)](_0x18db0d[_0x2a2c7f(0x18f)][_0x2a2c7f(0x206)]),_0x1e9b4b['unshift'](_0x503549[_0x2a2c7f(0x18f)][_0x2a2c7f(0x206)]),_0x3001e6=_0x18db0d[_0x2a2c7f(0x239)],_0x48ef02=_0x503549[_0x2a2c7f(0x239)];}_0x538d74['setUndoRedoMutationParamsCache']({'undoCache':_0x3bb708,'redoCache':_0x1e9b4b});}[_0x2ff589(0x317)](_0x420f0e){const _0x2f601e=_0x2ff589,{unitID:_0x450ce3}=_0x420f0e,_0x18b5f9=this[_0x2f601e(0x26c)][_0x2f601e(0x376)](_0x450ce3)[_0x2f601e(0x310)](_0x564bd7),_0x2101a1=_0x18b5f9[_0x2f601e(0x243)]();if(_0x2101a1==null)return;const _0x43e851=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x420f0e['unitID'],'actions':null,'textRanges':[_0x2101a1]}}],_0x2cd101=this[_0x2f601e(0x253)][_0x2f601e(0x27c)](_0x420f0e,_0x43e851);if(!_0x21ee65(_0x2cd101))throw _0x2cd101[_0x2f601e(0x1bb)];const _0x338338=_0x2cd101[_0x2f601e(0x18f)][0x0][_0x2f601e(0x206)][_0x2f601e(0x36a)];Array['isArray'](_0x338338)&&_0x338338[_0x2f601e(0x298)]&&_0x18b5f9[_0x2f601e(0x1df)](_0x338338[0x0]);}};ne=tn([pe(0x0,_0x4abecf(_0x53572c)),pe(0x1,_0x540c7a),pe(0x2,_0x5b5ed4)],ne);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x2b8c2d,_0x19472f,_0x420ab4,_0x51a186)=>{const _0x404423=_0x2ff589;for(var _0x2933ac=_0x51a186>0x1?void 0x0:_0x51a186?sn(_0x19472f,_0x420ab4):_0x19472f,_0x33e41b=_0x2b8c2d[_0x404423(0x298)]-0x1,_0x7519ee;_0x33e41b>=0x0;_0x33e41b--)(_0x7519ee=_0x2b8c2d[_0x33e41b])&&(_0x2933ac=_0x7519ee(_0x2933ac)||_0x2933ac);return _0x2933ac;},Ce=(_0x34170f,_0x3efbca)=>(_0x58a734,_0x187896)=>_0x3efbca(_0x58a734,_0x187896,_0x34170f);let re=class{constructor(_0x4daef2,_0xbbe15c,_0x1b18db){const _0x4914e1=_0x2ff589;this[_0x4914e1(0x25a)]=_0x4daef2,this[_0x4914e1(0x253)]=_0xbbe15c,this[_0x4914e1(0x21d)]=_0x1b18db;}[_0x2ff589(0x306)](_0x1a867f){const _0x4e17a6=_0x2ff589;this[_0x4e17a6(0x238)](_0x1a867f);}['transformRemoteChangeset'](_0x1fd20d){const _0x5e2344=_0x2ff589,{unitID:_0x5e7658}=_0x1fd20d,{collaboration:_0x2bd6a5}=this[_0x5e2344(0x21d)]['getStateCache'](_0x5e7658);if(_0x2bd6a5['length']===0x0)return _0x1fd20d;let _0x4be9d6=_0x4c6864[_0x5e2344(0x307)](_0x1fd20d['mutations'][0x0]);for(let _0x3f45ee=0x0;_0x3f45ee<_0x2bd6a5[_0x5e2344(0x298)];_0x3f45ee++){const _0x4aa0f4={'id':_0x5e2344(0x1e3),'params':{'unitId':_0x2bd6a5[_0x3f45ee][_0x5e2344(0x2d3)],..._0x2bd6a5[_0x3f45ee][_0x5e2344(0x20f)]}},_0x3361e5=this[_0x5e2344(0x253)][_0x5e2344(0x287)](_0x4be9d6,_0x4aa0f4,!0x1);if(_0x456d9f(_0x3361e5))throw _0x3361e5[_0x5e2344(0x1bb)];_0x4be9d6=_0x3361e5['m1Prime'];}return{..._0x4c6864[_0x5e2344(0x307)](_0x1fd20d),'mutations':[_0x4be9d6]};}[_0x2ff589(0x238)](_0x31f75f){const _0x5b2b37=_0x2ff589,{unitID:_0x6129d7}=_0x31f75f,{history:_0x25eabc,collaboration:_0x4db2f5}=this['_docStateChangeManagerService'][_0x5b2b37(0x245)](_0x6129d7);if(_0x25eabc[_0x5b2b37(0x298)]===0x0&&_0x4db2f5[_0x5b2b37(0x298)]===0x0)return;const _0x261ef3=[],_0x12e998=[];let _0x1dcc7f=_0x4c6864[_0x5b2b37(0x307)](_0x31f75f[_0x5b2b37(0x1f9)][0x0]),_0x12f40f=_0x4c6864['deepClone'](_0x31f75f['mutations'][0x0]);for(let _0x26c2a0=_0x25eabc[_0x5b2b37(0x298)]-0x1;_0x26c2a0>=0x0;_0x26c2a0--){const _0x25465c={'id':_0x5b2b37(0x1e3),'params':{'unitId':_0x25eabc[_0x26c2a0][_0x5b2b37(0x2d3)],..._0x25eabc[_0x26c2a0][_0x5b2b37(0x1ce)]}},_0xd5ed6b={'id':_0x5b2b37(0x1e3),'params':{'unitId':_0x25eabc[_0x26c2a0][_0x5b2b37(0x2d3)],..._0x25eabc[_0x26c2a0][_0x5b2b37(0x20f)]}},_0x75f750=this['_transformService'][_0x5b2b37(0x287)](_0x1dcc7f,_0x25465c,!0x1),_0x1db8e9=this[_0x5b2b37(0x253)][_0x5b2b37(0x287)](_0x12f40f,_0xd5ed6b,!0x1);if(_0x456d9f(_0x75f750))throw _0x75f750['error'];if(_0x456d9f(_0x1db8e9))throw _0x1db8e9[_0x5b2b37(0x1bb)];_0x261ef3[_0x5b2b37(0x1c7)]({..._0x25eabc[_0x26c2a0],'undoState':_0x75f750[_0x5b2b37(0x18f)][_0x5b2b37(0x206)],'redoState':_0x1db8e9['m2Prime'][_0x5b2b37(0x206)]}),_0x1dcc7f=_0x75f750[_0x5b2b37(0x239)],_0x12f40f=_0x1db8e9[_0x5b2b37(0x239)];}_0x1dcc7f=_0x4c6864[_0x5b2b37(0x307)](_0x31f75f[_0x5b2b37(0x1f9)][0x0]),_0x12f40f=_0x4c6864[_0x5b2b37(0x307)](_0x31f75f['mutations'][0x0]);for(let _0x54f640=_0x4db2f5[_0x5b2b37(0x298)]-0x1;_0x54f640>=0x0;_0x54f640--){const _0x28359b={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4db2f5[_0x54f640]['unitId'],..._0x4db2f5[_0x54f640][_0x5b2b37(0x1ce)]}},_0x77b800={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4db2f5[_0x54f640]['unitId'],..._0x4db2f5[_0x54f640][_0x5b2b37(0x20f)]}},_0x45b816=this['_transformService'][_0x5b2b37(0x287)](_0x1dcc7f,_0x28359b,!0x1),_0x5c430f=this[_0x5b2b37(0x253)][_0x5b2b37(0x287)](_0x12f40f,_0x77b800,!0x1);if(_0x456d9f(_0x45b816))throw _0x45b816[_0x5b2b37(0x1bb)];if(_0x456d9f(_0x5c430f))throw _0x5c430f[_0x5b2b37(0x1bb)];_0x12e998[_0x5b2b37(0x1c7)]({..._0x4db2f5[_0x54f640],'undoState':_0x45b816['m2Prime'][_0x5b2b37(0x206)],'redoState':_0x5c430f['m2Prime'][_0x5b2b37(0x206)]}),_0x1dcc7f=_0x45b816[_0x5b2b37(0x239)],_0x12f40f=_0x5c430f[_0x5b2b37(0x239)];}this[_0x5b2b37(0x21d)][_0x5b2b37(0x229)](_0x6129d7,{'history':_0x261ef3,'collaboration':_0x12e998});}};re=nn([Ce(0x0,_0x4abecf(_0x53572c)),Ce(0x1,_0x540c7a),Ce(0x2,_0x4abecf(_0x2ca1b9))],re);var rn=Object[_0x2ff589(0x37c)],on=(_0x1befc7,_0x1c8d56,_0x45e29c,_0x5934bb)=>{const _0xa00c99=_0x2ff589;for(var _0x1a4e4f=_0x5934bb>0x1?void 0x0:_0x5934bb?rn(_0x1c8d56,_0x45e29c):_0x1c8d56,_0x7a9225=_0x1befc7[_0xa00c99(0x298)]-0x1,_0x1ed8ce;_0x7a9225>=0x0;_0x7a9225--)(_0x1ed8ce=_0x1befc7[_0x7a9225])&&(_0x1a4e4f=_0x1ed8ce(_0x1a4e4f)||_0x1a4e4f);return _0x1a4e4f;},tt=(_0x48bf3c,_0x5c8243)=>(_0x24241e,_0x3f1dc6)=>_0x5c8243(_0x24241e,_0x3f1dc6,_0x48bf3c);let oe=class{constructor(_0x32411e,_0x29ae87){const _0xa1ca9a=_0x2ff589;this['_injector']=_0x32411e,this[_0xa1ca9a(0x253)]=_0x29ae87;}['transformSelections'](_0xb42fc0){const _0x2c91f0=_0x2ff589;var _0x458c6c;const _0x7ac08a=this[_0x2c91f0(0x25a)][_0x2c91f0(0x254)](_0x393415),_0x2b4082=(_0x458c6c=_0x7ac08a[_0x2c91f0(0x236)]())!=null?_0x458c6c:[];if(_0x2b4082[_0x2c91f0(0x298)]===0x0)return;const _0x5cd196=_0xb42fc0[_0x2c91f0(0x297)],_0x189718=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5cd196,'actions':null,'textRanges':_0x2b4082}}],_0x43fdbc=this[_0x2c91f0(0x253)]['transformMutationsWithChangeset'](_0xb42fc0,_0x189718);if(!_0x21ee65(_0x43fdbc))throw _0x43fdbc[_0x2c91f0(0x1bb)];const _0x2e8d06=_0x43fdbc[_0x2c91f0(0x18f)][0x0][_0x2c91f0(0x206)][_0x2c91f0(0x36a)];Array[_0x2c91f0(0x1e4)](_0x2e8d06)&&_0x2e8d06['length']&&_0x7ac08a[_0x2c91f0(0x1fe)](_0x2e8d06,{'unitId':_0x5cd196,'subUnitId':_0x5cd196},!0x1);}};oe=on([tt(0x0,_0x4abecf(_0x53572c)),tt(0x1,_0x540c7a)],oe);var an=Object[_0x2ff589(0x37c)],cn=(_0x1104e9,_0x562ab8,_0x4832c5,_0x466a1f)=>{const _0x39841b=_0x2ff589;for(var _0x152fd1=_0x466a1f>0x1?void 0x0:_0x466a1f?an(_0x562ab8,_0x4832c5):_0x562ab8,_0x3c96ce=_0x1104e9[_0x39841b(0x298)]-0x1,_0x4a4702;_0x3c96ce>=0x0;_0x3c96ce--)(_0x4a4702=_0x1104e9[_0x3c96ce])&&(_0x152fd1=_0x4a4702(_0x152fd1)||_0x152fd1);return _0x152fd1;},U=(_0x38462e,_0x287015)=>(_0x43a468,_0x15d0e1)=>_0x287015(_0x43a468,_0x15d0e1,_0x38462e);let ae=class extends _0x542665{constructor(_0x524d65,_0xace2d4,_0xab161e,_0x54dff0,_0x3a02f6,_0x5aedf1,_0x11a062,_0x59a188){const _0x343288=_0x2ff589;super(),_(this,_0x343288(0x1e8),new _0x2da5c1(_0x4aa8a3[_0x343288(0x2fe)])),(this[_0x343288(0x21d)]=_0x524d65,this[_0x343288(0x224)]=_0xace2d4,this['_docTransformIMECacheService']=_0xab161e,this[_0x343288(0x1d5)]=_0x54dff0,this['_docTransformSelectionsService']=_0x3a02f6,this[_0x343288(0x1de)]=_0x5aedf1,this[_0x343288(0x2d2)]=_0x11a062,this[_0x343288(0x22d)]=_0x59a188,this[_0x343288(0x324)]());}[_0x2ff589(0x324)](){const _0x398a81=_0x2ff589;this['disposeWithMe'](this[_0x398a81(0x224)][_0x398a81(0x233)]['subscribe'](_0x4d49b5=>{const _0x13b4e5=_0x398a81,_0x18ea07=this[_0x13b4e5(0x21d)][_0x13b4e5(0x1d4)][_0x13b4e5(0x215)](_0x2647ea=>{const _0x4017bd=_0x13b4e5;if(_0x2647ea==null)return;const {unitId:_0x2fe6e2,redoState:_0x4792bf,commandId:_0x987bb5}=_0x2647ea;if(_0x2fe6e2!==_0x4d49b5['unitID'])return;const _0x72ac11={'id':_0x987bb5,'type':_0x5001f2[_0x4017bd(0x357)],'params':{'unitId':_0x2fe6e2,'actions':_0x4792bf[_0x4017bd(0x2ff)],'textRanges':null}};_0x4d49b5['onLocalMutation'](_0x72ac11);});if(_0x4d49b5[_0x13b4e5(0x279)](_0x18ea07),_0x4d49b5 instanceof _0x4566f0){const _0x4e592e={'onTransformIME':_0x40ba83=>this[_0x13b4e5(0x1f8)][_0x13b4e5(0x1cf)](_0x40ba83),'onTransformState':_0x1c1002=>this['_docTransformStateCacheService'][_0x13b4e5(0x306)](_0x1c1002),'onTransformSelections':_0x2b39b8=>this[_0x13b4e5(0x316)][_0x13b4e5(0x2a8)](_0x2b39b8),'onSyncEditingCollabCursor':_0x2aa46f=>this[_0x13b4e5(0x1de)]['syncEditingCollabCursor'](_0x2aa46f),'onTransformRemoteChangesetByIMECache':_0x55b695=>this[_0x13b4e5(0x1f8)]['transformRemoteChangeset'](_0x55b695),'onTransformRemoteChangesetByStateCache':_0x34d99e=>this[_0x13b4e5(0x1d5)]['transformRemoteChangeset'](_0x34d99e)};_0x4d49b5[_0x13b4e5(0x227)](_0x4e592e);}}));}};ae=cn([U(0x0,_0x4abecf(_0x2ca1b9)),U(0x1,_0x4abecf(_0x515bb0)),U(0x2,_0x4abecf(ne)),U(0x3,_0x4abecf(re)),U(0x4,_0x4abecf(oe)),U(0x5,_0x4abecf(He)),U(0x6,_0x139df0),U(0x7,_0x4abecf(_0x40bb19))],ae);var ln=Object[_0x2ff589(0x37c)],_n=(_0x2e9a30,_0x4ae5f7,_0x5f34ca,_0x4a8c70)=>{for(var _0x50aaf4=_0x4a8c70>0x1?void 0x0:_0x4a8c70?ln(_0x4ae5f7,_0x5f34ca):_0x4ae5f7,_0x2c231b=_0x2e9a30['length']-0x1,_0x1a1308;_0x2c231b>=0x0;_0x2c231b--)(_0x1a1308=_0x2e9a30[_0x2c231b])&&(_0x50aaf4=_0x1a1308(_0x50aaf4)||_0x50aaf4);return _0x50aaf4;},Ee=(_0x3f75e7,_0x508ba3)=>(_0x266382,_0xbefb32)=>_0x508ba3(_0x266382,_0xbefb32,_0x3f75e7);let Le=class extends _0x542665{constructor(_0x1289a8,_0x2b4106,_0x4722c8){const _0x32b507=_0x2ff589;super(),_(this,'_cachedData',new Map()),_(this,_0x32b507(0x194),new Map()),_(this,_0x32b507(0x1f5),!0x1),(this['_configService']=_0x1289a8,this[_0x32b507(0x24d)]=_0x2b4106,this['_revisionService']=_0x4722c8);}[_0x2ff589(0x325)](){const _0x1dbec0=_0x2ff589;this[_0x1dbec0(0x1f5)]=!0x0;}[_0x2ff589(0x291)](){const _0x24bbb4=_0x2ff589;this[_0x24bbb4(0x1f5)]=!0x1;}get[_0x2ff589(0x1e0)](){const _0x1dee06=_0x2ff589;return this[_0x1dee06(0x194)];}['dispose'](){const _0x543d35=_0x2ff589;this[_0x543d35(0x24c)]()[_0x543d35(0x19c)](()=>super['dispose']());}async[_0x2ff589(0x2f6)](_0x2bed56){const _0x15f2fc=_0x2ff589;return this[_0x15f2fc(0x1f5)]?null:this[_0x15f2fc(0x24d)]['getItem'](_0x4dba00(_0x2bed56));}async['saveOfflineData'](_0x482f89,_0x316cfb){return!!this['_localStorageService']['setItem'](_0x482f89,_0x316cfb);}[_0x2ff589(0x37d)](_0x3fea52,_0xb02c72,_0x2f67c9,_0x1a9a01){const _0x312442=_0x2ff589,_0x3d3762=this[_0x312442(0x1eb)][_0x312442(0x35f)](_0x3fea52);this[_0x312442(0x1c1)][_0x312442(0x326)](_0x3fea52,{'unitID':_0x3fea52,'type':_0xb02c72,'awaitingChangeset':_0x2f67c9,'mutations':_0x1a9a01,'rev':_0x3d3762}),this['_saveTaskMap'][_0x312442(0x2f3)](_0x3fea52)||this['_scheduleSaving'](_0x3fea52);}[_0x2ff589(0x2ee)](_0x4aebb8){const _0x400f03=_0x2ff589,_0x45bdf9=this['_getSaveTimeout']();_0x45bdf9===0x0?this['_saveCache'](_0x4aebb8):this[_0x400f03(0x194)][_0x400f03(0x326)](_0x4aebb8,setTimeout(()=>this[_0x400f03(0x359)](_0x4aebb8),_0x45bdf9));}[_0x2ff589(0x334)](){const _0x31f7e8=_0x2ff589;var _0x405cff;return(_0x405cff=this['_configService'][_0x31f7e8(0x22b)](_0x2fd71a))!=null?_0x405cff:_0x40fd8e;}[_0x2ff589(0x359)](_0xf9bfde){const _0x2833b7=_0x2ff589,_0x1be38f=this['_saveTaskMap'][_0x2833b7(0x254)](_0xf9bfde);return _0x1be38f!==void 0x0&&window[_0x2833b7(0x1b5)](_0x1be38f),this[_0x2833b7(0x24d)][_0x2833b7(0x31e)](_0x4dba00(_0xf9bfde),this[_0x2833b7(0x1c1)][_0x2833b7(0x254)](_0xf9bfde))[_0x2833b7(0x19c)](()=>this[_0x2833b7(0x194)][_0x2833b7(0x2e5)](_0xf9bfde));}async[_0x2ff589(0x24c)](){const _0x1b54c0=_0x2ff589,_0x1457ac=[];this[_0x1b54c0(0x194)][_0x1b54c0(0x2c4)]((_0x47fb31,_0x280318)=>{const _0x199802=_0x1b54c0;window[_0x199802(0x1b5)](_0x47fb31),_0x1457ac['push'](this[_0x199802(0x359)](_0x280318)['then'](()=>{const _0x504272=_0x199802;this[_0x504272(0x194)][_0x504272(0x2e5)](_0x280318);}));}),await Promise[_0x1b54c0(0x29c)](_0x1457ac);}};Le=_n([Ee(0x0,_0x1b184c),Ee(0x1,_0x55a9da),Ee(0x2,_0x4abecf(_0x155a79))],Le);class hn extends _0x40e5ab{constructor(){const _0x549f94=_0x2ff589;super(),_(this,'urlChange$'),this['urlChange$']=_0x4502af(window,_0x549f94(0x237))['pipe'](_0x16f876(this[_0x549f94(0x35a)]),_0x356d01(0x1),_0x3febe4(void 0x0));}['setParam'](_0x36ffbf,_0x3e32fd,_0x4c8d66=!0x1){const _0x449c3a=_0x2ff589,_0x403e61=new URL(window['location']['href']);_0x403e61[_0x449c3a(0x30a)][_0x449c3a(0x326)](_0x36ffbf,_0x3e32fd),_0x4c8d66?window['history'][_0x449c3a(0x1b9)]('','',_0x403e61['toString']()):window[_0x449c3a(0x2d7)][_0x449c3a(0x268)]('','',_0x403e61['toString']());}['removeParam'](_0x34e404,_0x19780f=!0x1){const _0x3600d3=_0x2ff589,_0x6c0c77=new URL(window[_0x3600d3(0x1ef)][_0x3600d3(0x2a4)]);_0x6c0c77[_0x3600d3(0x30a)][_0x3600d3(0x2e5)](_0x34e404),_0x19780f?window[_0x3600d3(0x2d7)]['replaceState']('','',_0x6c0c77[_0x3600d3(0x25e)]()):window[_0x3600d3(0x2d7)][_0x3600d3(0x268)]('','',_0x6c0c77['toString']());}[_0x2ff589(0x35c)](_0x8b42cc){const _0x38a5cf=_0x2ff589;var _0x5cf716;return(_0x5cf716=new URL(window[_0x38a5cf(0x1ef)][_0x38a5cf(0x2a4)])[_0x38a5cf(0x30a)][_0x38a5cf(0x254)](_0x8b42cc))!=null?_0x5cf716:void 0x0;}}var un=Object['defineProperty'],dn=Object[_0x2ff589(0x37c)],fn=(_0x7824d6,_0x5e7329,_0x384ff4)=>_0x5e7329 in _0x7824d6?un(_0x7824d6,_0x5e7329,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x384ff4}):_0x7824d6[_0x5e7329]=_0x384ff4,Sn=(_0x52b91a,_0x35b5e6,_0x16366c,_0x396092)=>{const _0x5ca4a9=_0x2ff589;for(var _0x316104=_0x396092>0x1?void 0x0:_0x396092?dn(_0x35b5e6,_0x16366c):_0x35b5e6,_0x47d83a=_0x52b91a[_0x5ca4a9(0x298)]-0x1,_0x198ac9;_0x47d83a>=0x0;_0x47d83a--)(_0x198ac9=_0x52b91a[_0x47d83a])&&(_0x316104=_0x198ac9(_0x316104)||_0x316104);return _0x316104;},be=(_0x3b7696,_0x708314)=>(_0x316b1e,_0xdcf659)=>_0x708314(_0x316b1e,_0xdcf659,_0x3b7696),mn=(_0x1b3eae,_0x119e45,_0x189fea)=>fn(_0x1b3eae,_0x119e45+'',_0x189fea);const gn=_0x2ff589(0x1d6);let Ae=class extends _0x437d36{constructor(_0x361e40=et,_0x10fae2,_0x5b2fda,_0x45c424){const _0xefb487=_0x2ff589;super(),this[_0xefb487(0x2bf)]=_0x361e40,this['_renderManagerService']=_0x10fae2,this[_0xefb487(0x25a)]=_0x5b2fda,this['_configService']=_0x45c424;const {..._0xb95e8e}=_0x44ac71({},et,this[_0xefb487(0x2bf)]);this[_0xefb487(0x1f0)]['setConfig'](Zi,_0xb95e8e);}[_0x2ff589(0x257)](){const _0x81e4f3=_0x2ff589;this[_0x81e4f3(0x1bc)](),this[_0x81e4f3(0x345)]();}['onRendered'](){const _0x186893=_0x2ff589;this[_0x186893(0x1a6)]();}[_0x2ff589(0x1bc)](){const _0x3b7f4e=_0x2ff589;var _0x1366d4;const _0x18eae7=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x152628,{'useClass':_0xec30f7}],[_0x43711d,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x28a0ca(this[_0x3b7f4e(0x25a)],_0x102870(_0x18eae7,(_0x1366d4=this['_config'])==null?void 0x0:_0x1366d4['override']));}['_registerRenderDependencies'](){const _0x3ca33e=_0x2ff589;this[_0x3ca33e(0x279)](this[_0x3ca33e(0x26c)][_0x3ca33e(0x1a3)](_0x50946e[_0x3ca33e(0x1aa)],[Pe])),this[_0x3ca33e(0x279)](this[_0x3ca33e(0x26c)][_0x3ca33e(0x1a3)](_0x50946e[_0x3ca33e(0x18e)],[we]));}[_0x2ff589(0x345)](){const _0xd66314=_0x2ff589;_0x5d4ea3(this[_0xd66314(0x25a)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,'pluginName',gn),Ae=Sn([_0x4a873d(_0x239f66),be(0x1,_0x5b5ed4),be(0x2,_0x4abecf(_0x53572c)),be(0x3,_0x1b184c)],Ae);var vn=Object[_0x2ff589(0x37c)],In=(_0x599dac,_0x1081ab,_0x26c7b5,_0x377318)=>{const _0x16d812=_0x2ff589;for(var _0x39047a=_0x377318>0x1?void 0x0:_0x377318?vn(_0x1081ab,_0x26c7b5):_0x1081ab,_0x2b5998=_0x599dac[_0x16d812(0x298)]-0x1,_0x17d4b2;_0x2b5998>=0x0;_0x2b5998--)(_0x17d4b2=_0x599dac[_0x2b5998])&&(_0x39047a=_0x17d4b2(_0x39047a)||_0x39047a);return _0x39047a;},K=(_0x50a517,_0x66e02c)=>(_0x144810,_0x5b25a9)=>_0x66e02c(_0x144810,_0x5b25a9,_0x50a517);let st=class extends _0x394641{constructor(_0x4db559,_0x5b559e,_0x569dfc,_0x52cf3e,_0xf2877){super(_0x4db559,_0x5b559e,_0x569dfc,_0x52cf3e,_0xf2877);}async[_0x2ff589(0x28f)](_0x197357){const _0x58c6e2=_0x2ff589,_0x1c9e4c=await this[_0x58c6e2(0x244)](),_0x107f4d=this[_0x58c6e2(0x34d)](_0x197357,_0x1c9e4c);return this[_0x58c6e2(0x37e)](_0x107f4d);}[_0x2ff589(0x34d)](_0x555970,_0x1db4bf){const _0x21c87e=_0x2ff589,_0x177679=typeof window>'u'?new URL(_0x555970):new URL(_0x555970,window[_0x21c87e(0x1ef)]['origin']);_0x177679['searchParams'][_0x21c87e(0x326)](_0x21c87e(0x22c),_0x1db4bf);const _0x425912=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x21c87e(0x1ef)][_0x21c87e(0x373)]);return _0x425912[_0x21c87e(0x254)](_0x21c87e(0x314))&&_0x177679[_0x21c87e(0x30a)][_0x21c87e(0x326)](_0x21c87e(0x314),_0x425912[_0x21c87e(0x254)](_0x21c87e(0x314))),_0x177679[_0x21c87e(0x25e)]();}async[_0x2ff589(0x244)](){const _0x5b96cb=_0x2ff589;var _0x400fb1,_0x5d7516,_0x2e0bed;const _0x4ca52a=this['_configService'][_0x5b96cb(0x22b)](_0x44288f),_0x343640=(_0x400fb1=_0x4ca52a==null?void 0x0:_0x4ca52a['wsSessionTicketUrl'])!=null?_0x400fb1:_0x3cd0bb;return(_0x2e0bed=(_0x5d7516=(await this[_0x5b96cb(0x1f2)][_0x5b96cb(0x254)](_0x343640,{'headers':{'Content-Type':_0x5b96cb(0x210)}}))[_0x5b96cb(0x22e)])==null?void 0x0:_0x5d7516['ticket'])!=null?_0x2e0bed:'';}};st=In([K(0x0,_0x4abecf(_0x53572c)),K(0x1,_0x4abecf(_0x584f97)),K(0x2,_0x1b184c),K(0x3,_0x192faf),K(0x4,_0x19be19)],st);const it=0x7530,nt=_0x2ff589(0x22a);class jn extends _0x542665{constructor(){const _0x5c3dac=_0x2ff589;super(),_(this,_0x5c3dac(0x327),_0x257b27()),_(this,'_selfUnitIDs',new Set()),_(this,_0x5c3dac(0x31f),new Map()),_(this,_0x5c3dac(0x1fb),null),_(this,'_clearOtherTimers',new Map()),_(this,_0x5c3dac(0x369),new Map()),this[_0x5c3dac(0x2ec)]();}[_0x2ff589(0x2fc)](){const _0x3ec6a0=_0x2ff589;super[_0x3ec6a0(0x2fc)](),this[_0x3ec6a0(0x2af)]['forEach']((_0x1b3435,_0xa2014)=>this['_removeClearOtherTimer'](_0xa2014)),this[_0x3ec6a0(0x1fb)]&&window[_0x3ec6a0(0x340)](this[_0x3ec6a0(0x1fb)]);}['getUnitStatus$'](_0x5ad5b8){const _0x16b5ad=_0x2ff589;return this[_0x16b5ad(0x380)](_0x5ad5b8)['pipe'](_0xe1bd26());}[_0x2ff589(0x371)](_0xbf2fab){const _0x333a07=_0x2ff589;this[_0x333a07(0x2c2)]['size']===0x0&&this['_scheduleHeartbeat'](),this[_0x333a07(0x2c2)]['add'](_0xbf2fab),this[_0x333a07(0x341)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0xbf2fab],'isForwarded':!0x1});}['disposeUnit'](_0x111e69){const _0x48d88e=_0x2ff589;this['_selfUnitIDs'][_0x48d88e(0x2e5)](_0x111e69),this[_0x48d88e(0x2c2)][_0x48d88e(0x350)]===0x0&&this[_0x48d88e(0x1fb)]&&window[_0x48d88e(0x340)](this['_heartbeatTimer']);}[_0x2ff589(0x2ec)](){const _0x49af3d=_0x2ff589;this[_0x49af3d(0x279)](_0x55d959(_0x4502af(window,_0x49af3d(0x372))[_0x49af3d(0x215)](_0x3df0d3=>{const _0x3e7264=_0x49af3d;if(_0x3df0d3[_0x3e7264(0x323)]!==nt||!_0x3df0d3['newValue'])return;const _0x14c42f=JSON[_0x3e7264(0x235)](_0x3df0d3[_0x3e7264(0x2aa)]);this[_0x3e7264(0x2f8)](_0x14c42f);}))),window[_0x49af3d(0x36d)](_0x49af3d(0x349),()=>this[_0x49af3d(0x341)]({'type':0x1,'memberID':this[_0x49af3d(0x327)],'unitIDs':Array[_0x49af3d(0x251)](this[_0x49af3d(0x2c2)])}));}[_0x2ff589(0x2f8)](_0x32e03e){const _0x54bbe6=_0x2ff589;switch(_0x32e03e['type']){case 0x0:this[_0x54bbe6(0x225)](_0x32e03e);break;case 0x1:this['_handleLeaveEvent'](_0x32e03e);break;case 0x2:this['_handleHeartbeatEvent'](_0x32e03e);break;}}[_0x2ff589(0x225)](_0x45213f){const _0x252b2b=_0x2ff589,{unitIDs:_0x2338aa,memberID:_0x1eb6be,isForwarded:_0x13fe42}=_0x45213f;_0x2338aa[_0x252b2b(0x2c4)](_0x404a80=>{const _0x274025=_0x252b2b;if(!_0x13fe42&&this[_0x274025(0x31f)][_0x274025(0x2f3)](_0x404a80)&&this['_ensureSubject'](_0x404a80)[_0x274025(0x1d2)](_0x5a2aef[_0x274025(0x2e1)]),!this[_0x274025(0x31f)][_0x274025(0x2f3)](_0x404a80)||!this[_0x274025(0x31f)][_0x274025(0x254)](_0x404a80)[_0x274025(0x2f3)](_0x1eb6be)){const _0x26009c=this[_0x274025(0x31f)]['get'](_0x404a80)||new Set();_0x26009c[_0x274025(0x1be)](_0x1eb6be),this[_0x274025(0x31f)]['set'](_0x404a80,_0x26009c),this['_scheduleClearOtherTimer'](_0x1eb6be);}}),_0x13fe42||this[_0x252b2b(0x341)]({'type':0x0,'memberID':this[_0x252b2b(0x327)],'unitIDs':[...this[_0x252b2b(0x2c2)]],'isForwarded':!0x0});}[_0x2ff589(0x1a2)](_0x5338c6){const _0xcba6b1=_0x2ff589;this[_0xcba6b1(0x221)](_0x5338c6);const _0x2134ea=window[_0xcba6b1(0x18d)](()=>{const _0x4b0b9d=_0xcba6b1;this[_0x4b0b9d(0x31f)]['forEach'](_0x2fe7a2=>{_0x2fe7a2['delete'](_0x5338c6);});},it*0x2);this['_clearOtherTimers'][_0xcba6b1(0x326)](_0x5338c6,_0x2134ea);}[_0x2ff589(0x221)](_0x657427){const _0x317954=_0x2ff589;if(this['_clearOtherTimers'][_0x317954(0x2f3)](_0x657427)){const _0x2cc37d=this[_0x317954(0x2af)]['get'](_0x657427);_0x2cc37d&&window[_0x317954(0x1b5)](_0x2cc37d),this[_0x317954(0x2af)][_0x317954(0x326)](_0x657427,null);}}[_0x2ff589(0x2dd)](_0x40e6a0){const _0x1643da=_0x2ff589,{memberID:_0x27f0e3,unitIDs:_0x3bb741}=_0x40e6a0;_0x3bb741['forEach'](_0x1f3189=>{const _0x2ae97c=_0x8596;var _0x2174ed;const _0xed5a89=this['_unitOnClients'][_0x2ae97c(0x254)](_0x1f3189);_0xed5a89&&(_0xed5a89[_0x2ae97c(0x2e5)](_0x27f0e3),(_0x2174ed=this['_ensureSubject'](_0x1f3189))==null||_0x2174ed[_0x2ae97c(0x1d2)](_0xed5a89['size']===0x0?_0x5a2aef[_0x2ae97c(0x26a)]:_0x5a2aef[_0x2ae97c(0x2e1)]));}),this[_0x1643da(0x221)](_0x27f0e3);}[_0x2ff589(0x19d)](_0x1680d1){const _0x23a428=_0x2ff589;this[_0x23a428(0x1a2)](_0x1680d1['memberID']);}['_send'](_0x17d66a){const _0x4c04e4=_0x2ff589;localStorage[_0x4c04e4(0x31e)](nt,JSON[_0x4c04e4(0x28e)](_0x17d66a));}[_0x2ff589(0x377)](){const _0x242fb3=_0x2ff589;this['_heartbeatTimer']=window[_0x242fb3(0x354)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},it);}['_ensureSubject'](_0x5bdaba){const _0x3395bc=_0x2ff589;return this[_0x3395bc(0x369)][_0x3395bc(0x2f3)](_0x5bdaba)||this[_0x3395bc(0x369)][_0x3395bc(0x326)](_0x5bdaba,new _0x2da5c1(_0x5a2aef[_0x3395bc(0x26a)])),this[_0x3395bc(0x369)][_0x3395bc(0x254)](_0x5bdaba);}}var Mt=(_0x5bcc28=>(_0x5bcc28[_0x5bcc28[_0x2ff589(0x278)]=0x0]='UNDEFINED',_0x5bcc28[_0x5bcc28['OK']=0x1]='OK',_0x5bcc28[_0x5bcc28[_0x2ff589(0x2ad)]=0x2]=_0x2ff589(0x2ad),_0x5bcc28[_0x5bcc28[_0x2ff589(0x18c)]=0x3]=_0x2ff589(0x18c),_0x5bcc28[_0x5bcc28[_0x2ff589(0x264)]=0x4]='NOT_FOUND',_0x5bcc28[_0x5bcc28[_0x2ff589(0x33d)]=0x5]='UNAUTHENTICATED',_0x5bcc28[_0x5bcc28[_0x2ff589(0x379)]=0x6]=_0x2ff589(0x379),_0x5bcc28[_0x5bcc28[_0x2ff589(0x1fd)]=0x7]=_0x2ff589(0x1fd),_0x5bcc28[_0x5bcc28[_0x2ff589(0x1d0)]=0x8]=_0x2ff589(0x1d0),_0x5bcc28[_0x5bcc28[_0x2ff589(0x2eb)]=0x9]=_0x2ff589(0x2eb),_0x5bcc28[_0x5bcc28['LOGIN_FAILED']=0xa]=_0x2ff589(0x27a),_0x5bcc28[_0x5bcc28[_0x2ff589(0x289)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5bcc28[_0x5bcc28['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x2ff589(0x335),_0x5bcc28[_0x5bcc28[_0x2ff589(0x2e9)]=0x1772]=_0x2ff589(0x2e9),_0x5bcc28[_0x5bcc28[_0x2ff589(0x249)]=0x1773]=_0x2ff589(0x249),_0x5bcc28[_0x5bcc28[_0x2ff589(0x2e7)]=0x1b59]=_0x2ff589(0x2e7),_0x5bcc28[_0x5bcc28['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x2ff589(0x1e1),_0x5bcc28[_0x5bcc28[_0x2ff589(0x2df)]=0x1b5b]=_0x2ff589(0x2df),_0x5bcc28[_0x5bcc28[_0x2ff589(0x24f)]=0x1b5c]=_0x2ff589(0x24f),_0x5bcc28[_0x5bcc28['APPLY_DUPLICATED']=0x1b5d]=_0x2ff589(0x2c7),_0x5bcc28[_0x5bcc28[_0x2ff589(0x1db)]=0x1f41]=_0x2ff589(0x1db),_0x5bcc28[_0x5bcc28[_0x2ff589(0x25f)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x5bcc28[_0x5bcc28['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x2ff589(0x198),_0x5bcc28[_0x5bcc28[_0x2ff589(0x338)]=0x232b]=_0x2ff589(0x338),_0x5bcc28[_0x5bcc28['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x5bcc28[_0x5bcc28['LICENSE_DISTRO_REJECTED']=0x232d]=_0x2ff589(0x2e6),_0x5bcc28[_0x5bcc28[_0x2ff589(0x228)]=0x2711]=_0x2ff589(0x228),_0x5bcc28[_0x5bcc28['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x2ff589(0x276),_0x5bcc28[_0x5bcc28[_0x2ff589(0x27d)]=0x2713]=_0x2ff589(0x27d),_0x5bcc28[_0x5bcc28[_0x2ff589(0x2e4)]=0x2714]=_0x2ff589(0x2e4),_0x5bcc28[_0x5bcc28[_0x2ff589(0x217)]=0x271a]=_0x2ff589(0x217),_0x5bcc28[_0x5bcc28[_0x2ff589(0x2be)]=0x271b]=_0x2ff589(0x2be),_0x5bcc28[_0x5bcc28[_0x2ff589(0x272)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x5bcc28[_0x5bcc28[_0x2ff589(0x2b4)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x5bcc28[_0x5bcc28['INVALID_INVITE_CODE']=0x2ee2]=_0x2ff589(0x255),_0x5bcc28[_0x5bcc28[_0x2ff589(0x2c9)]=0x2ee3]=_0x2ff589(0x2c9),_0x5bcc28[_0x5bcc28['USER_NOT_INVITED_CODE']=0x2ee4]=_0x2ff589(0x1ff),_0x5bcc28[_0x5bcc28[_0x2ff589(0x353)]=0x2ee5]=_0x2ff589(0x353),_0x5bcc28[_0x5bcc28[_0x2ff589(0x256)]=0x32c9]=_0x2ff589(0x256),_0x5bcc28[_0x5bcc28[_0x2ff589(0x2bb)]=0x32ca]=_0x2ff589(0x2bb),_0x5bcc28[_0x5bcc28[_0x2ff589(0x30c)]=0x32cb]=_0x2ff589(0x30c),_0x5bcc28[_0x5bcc28[_0x2ff589(0x36e)]=-0x1]=_0x2ff589(0x36e),_0x5bcc28))(Mt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x4fd6a7,_0x36caf7,_0x8925ae,_0x18501e)=>{const _0x4e7b19=_0x2ff589;for(var _0x435ccd=_0x18501e>0x1?void 0x0:_0x18501e?pn(_0x36caf7,_0x8925ae):_0x36caf7,_0x24f0f9=_0x4fd6a7[_0x4e7b19(0x298)]-0x1,_0x481054;_0x24f0f9>=0x0;_0x24f0f9--)(_0x481054=_0x4fd6a7[_0x24f0f9])&&(_0x435ccd=_0x481054(_0x435ccd)||_0x435ccd);return _0x435ccd;},Oe=(_0x253b26,_0x17a3c7)=>(_0x4f9815,_0x2b7bbc)=>_0x17a3c7(_0x4f9815,_0x2b7bbc,_0x253b26);let rt=class extends _0x542665{constructor(_0x123878,_0x2dba8d,_0xd65a95){const _0x60e1=_0x2ff589;super(),this['_instanceService']=_0x123878,this[_0x60e1(0x1f2)]=_0x2dba8d,this[_0x60e1(0x1f0)]=_0xd65a95;}async['runOnServer'](_0x52f8f6,_0x162a52,_0x274562,..._0x3fe411){const _0x418cae=_0x2ff589;var _0x55e208,_0x10114b,_0x337f0f,_0x20b513;const _0x33fd48=this[_0x418cae(0x1ab)][_0x418cae(0x292)]();if(!_0x33fd48)throw new Error(_0x418cae(0x28c));const _0x39e53a=((_0x55e208=this['_configService'][_0x418cae(0x22b)](_0x42c95e))!=null?_0x55e208:_0x1983c8)+'/'+_0x52f8f6+_0x418cae(0x23d)+_0x162a52,_0x12cd0e=new URL(window[_0x418cae(0x1ef)][_0x418cae(0x2a4)]),_0x557f67={'scriptId':_0x52f8f6,'runId':(_0x10114b=_0x12cd0e[_0x418cae(0x30a)][_0x418cae(0x254)](_0x418cae(0x314)))!=null?_0x10114b:'','function':_0x162a52,'unitId':_0x33fd48['getUnitId'](),'argsOfFunction':JSON[_0x418cae(0x28e)](_0x3fe411),'invokeId':(_0x337f0f=_0x274562[_0x418cae(0x346)])!=null?_0x337f0f:'','executionId':(_0x20b513=_0x274562[_0x418cae(0x30e)])!=null?_0x20b513:''};try{const _0x5bf7f6=await this[_0x418cae(0x1f2)]['post'](_0x39e53a,{'body':_0x557f67});return _0x5bf7f6['body'][_0x418cae(0x1bb)]&&_0x5bf7f6[_0x418cae(0x22e)][_0x418cae(0x1bb)][_0x418cae(0x247)]!==Mt['OK']?_0x418cae(0x211):_0x5bf7f6[_0x418cae(0x22e)][_0x418cae(0x362)];}catch{return _0x418cae(0x211);}}};rt=Cn([Oe(0x0,_0x298822),Oe(0x1,_0x4abecf(_0x584f97)),Oe(0x2,_0x1b184c)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
|
1
|
+
const _0x4c198e=_0x4497;(function(_0xbcce77,_0x2c0ee6){const _0x27d765=_0x4497,_0x4bdcde=_0xbcce77();while(!![]){try{const _0x300c45=-parseInt(_0x27d765(0xd4))/0x1*(-parseInt(_0x27d765(0x193))/0x2)+parseInt(_0x27d765(0x1dd))/0x3+parseInt(_0x27d765(0x284))/0x4+parseInt(_0x27d765(0xf1))/0x5*(-parseInt(_0x27d765(0x2d0))/0x6)+-parseInt(_0x27d765(0xe5))/0x7*(parseInt(_0x27d765(0x112))/0x8)+parseInt(_0x27d765(0xd9))/0x9+-parseInt(_0x27d765(0x273))/0xa*(parseInt(_0x27d765(0x160))/0xb);if(_0x300c45===_0x2c0ee6)break;else _0x4bdcde['push'](_0x4bdcde['shift']());}catch(_0x4e8845){_0x4bdcde['push'](_0x4bdcde['shift']());}}}(_0x496d,0x72f1d));var $t=Object[_0x4c198e(0x21d)],xt=(_0x22fc23,_0x44dfad,_0x12156d)=>_0x44dfad in _0x22fc23?$t(_0x22fc23,_0x44dfad,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x12156d}):_0x22fc23[_0x44dfad]=_0x12156d,_=(_0x83eee6,_0x1531c5,_0x2e8929)=>xt(_0x83eee6,typeof _0x1531c5!=_0x4c198e(0x2b6)?_0x1531c5+'':_0x1531c5,_0x2e8929);import{MemberService as _0x1dcf01,SessionStatus as _0x130c75,CollaborationSessionService as _0x943f5,CollaborationStatus as _0x3d7c1a,CollaborationController as _0x370053,ILocalCacheService as _0x5f4338,CollaborationUIEventService as _0x3c635e,CollaborationUIEventId as _0x268985,DataLoaderService as _0x441cd1,DocCollaborationEntity as _0x400eda,getLocalCacheKey as _0x3968f6,LOCAL_CACHE_INTERVAL as _0x33c8b9,LOCAL_CACHE_INTERVAL_KEY as _0x2508b0,UniverCollaborationClientPlugin as _0x3a43f1,CollaborationSocketService as _0x15931a,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x3fd43a,DEFAULT_WS_SESSION_TICKET_URL as _0x113a8c,UnitStatus as _0x37410c,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x3d26f8,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x5f40dc}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x146301,Disposable as _0x7630a4,DOC_RANGE_TYPE as _0x23fc60,Inject as _0x49f398,Injector as _0x1afadf,IUniverInstanceService as _0x1acba7,ICommandService as _0x167682,debounce as _0x2eb465,Rectangle as _0x4fec53,DisposableCollection as _0x29ffde,toDisposable as _0x3b8484,UniverInstanceType as _0x10f6ab,Tools as _0x11e118,COLORS as _0x2ac219,ColorKit as _0x20a8d2,ThemeService as _0x1d8a7f,fromEventSubject as _0xf405ef,LocaleService as _0x142e9f,createIdentifier as _0x26fbbb,ILogService as _0x445b5c,Optional as _0x29f068,Workbook as _0x9c45fd,CommandType as _0x110e67,IConfigService as _0x1723d8,ILocalStorageService as _0x352217,DependentOn as _0x24d3e1,Plugin as _0x55c32e,merge as _0x1f1cb9,registerDependencies as _0x59f5c2,mergeOverrideWithDependencies as _0x263397,touchDependencies as _0x472d82,generateRandomId as _0x47662c}from'@univerjs/core';import{Shape as _0x1169db,Rect as _0x37b73c,getColor as _0x4d699a,RegularPolygon as _0x22732c,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x117822,Vector2 as _0x397878,SHEET_VIEWPORT_KEY as _0x524d49,IRenderManagerService as _0x414d16}from'@univerjs/engine-render';import{ISocketService as _0x3d6aaa,WebSocketService as _0x5111de,HTTPService as _0x14748e}from'@univerjs/network';import{IDocClipboardService as _0x4bb467,NodePositionConvertToCursor as _0x21f2cc,NodePositionConvertToRectRange as _0x32d4a4,TEXT_RANGE_LAYER_INDEX as _0x3cf057,SetDocZoomRatioOperation as _0x4555a8,DocIMEInputManagerService as _0x4be6bd,DocStateChangeManagerService as _0x26ce67}from'@univerjs/docs-ui';import{IImageIoService as _0x462281}from'@univerjs/drawing';import{BehaviorSubject as _0x20d8ec,debounceTime as _0x49a7ef,takeUntil as _0x3ce21b,Subject as _0x27d8e7,filter as _0x335415,switchMap as _0x49b168,merge as _0x264432,combineLatest as _0x45250d,of as _0xab27dc,fromEvent as _0x25c95a,shareReplay as _0x3d5ae6,mapTo as _0x1f1293,distinctUntilChanged as _0x1ad046}from'rxjs';import{SetTextSelectionsOperation as _0x189a40,RichTextEditingMutation as _0x470502,DocSelectionManagerService as _0x5287a1,DocSkeletonManagerService as _0x5c7bdd}from'@univerjs/docs';import{ITransformService as _0x14357d,CollaborationEvent as _0x1ac8bf,isTransformMutationFailure as _0x3a621e,isTransformMutationsWithChangesetSuccess as _0x2e54a4,RevisionService as _0x7e56a6,ISnapshotServerService as _0x574c7e}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x1b32a2,serializeRangeWithSheet as _0x511282}from'@univerjs/engine-formula';import{RefRangeService as _0x48054b,SetSelectionsOperation as _0x52eb3e,SheetsSelectionsService as _0x27c769,EffectRefRangId as _0x55159f,handleIRemoveRow as _0x183f5a,handleIRemoveCol as _0x48d1de,handleMoveRange as _0x2e73a0,handleInsertRow as _0x428bdc,handleInsertRangeMoveRight as _0x432a92,handleInsertRangeMoveDown as _0x338427,handleInsertCol as _0x4082a5,handleDeleteRangeMoveUp as _0x550791,handleDeleteRangeMoveLeft as _0x35a492,runRefRangeMutations as _0x5e7925,SetWorksheetActivateCommand as _0x9e9e43}from'@univerjs/sheets';import{map as _0x56e805,filter as _0x493186,throttleTime as _0xa3f991,takeUntil as _0x23f5fe,switchMap as _0x1d30e4}from'rxjs/operators';import{SheetSkeletonManagerService as _0x1fbba9,getCoordByCell as _0x56cd2b,getSheetObject as _0x3a9b54}from'@univerjs/sheets-ui';import{jsx as _0x17a92e,jsxs as _0x597857}from'react/jsx-runtime';import{useObservable as _0x191b92,useDependency as _0x4f1c61,IUIPartsService as _0x624a63,BuiltInUIPart as _0x4bbbc9,connectInjector as _0xd83060,IBeforeCloseService as _0x1d36be,IMessageService as _0x3e1731,INotificationService as _0x592e82}from'@univerjs/ui';import{Tooltip as _0x8e9f5c,clsx as _0x282dce,MessageType as _0x1b45b0}from'@univerjs/design';import{forwardRef as _0x26063f,useRef as _0x5c9076,createElement as _0x1822dc,useCallback as _0x50b6c2}from'react';import{IRemoteInstanceService as _0x378366}from'@univerjs/rpc';var ci=Object[_0x4c198e(0x1fa)],li=(_0x1d0139,_0xe1224d,_0xf43ab3,_0x83ff46)=>{for(var _0x154f94=_0x83ff46>0x1?void 0x0:_0x83ff46?ci(_0xe1224d,_0xf43ab3):_0xe1224d,_0x17b80d=_0x1d0139['length']-0x1,_0x476246;_0x17b80d>=0x0;_0x17b80d--)(_0x476246=_0x1d0139[_0x17b80d])&&(_0x154f94=_0x476246(_0x154f94)||_0x154f94);return _0x154f94;},Je=(_0x46e508,_0x2ff3f0)=>(_0x307fc8,_0x326e51)=>_0x2ff3f0(_0x307fc8,_0x326e51,_0x46e508);let Ne=class extends _0x146301{constructor(_0x47d741,_0x15e1af){const _0x39f5fd=_0x4c198e;super(),this[_0x39f5fd(0x1a5)]=_0x47d741,this['_imageIoService']=_0x15e1af,this[_0x39f5fd(0x189)]();}[_0x4c198e(0x189)](){const _0x40fcaf=_0x4c198e,_0x1ebbf3=this;this[_0x40fcaf(0xdc)](this[_0x40fcaf(0x1a5)][_0x40fcaf(0x101)]({'onBeforePasteImage':async _0x1d3295=>{const _0x202b5e=_0x40fcaf,_0x54ccbe=await _0x1ebbf3[_0x202b5e(0x1f1)]['saveImage'](_0x1d3295);return _0x54ccbe?{'source':_0x54ccbe[_0x202b5e(0x22b)],'imageSourceType':_0x54ccbe[_0x202b5e(0x264)]}:null;}}));}};Ne=li([Je(0x0,_0x4bb467),Je(0x1,_0x462281)],Ne);const Ze=[_0x4c198e(0x26d),_0x4c198e(0x157),_0x4c198e(0x282),_0x4c198e(0x126),_0x4c198e(0x2d7),_0x4c198e(0x285)];class ke extends _0x7630a4{constructor(){const _0xf93665=_0x4c198e;super(...arguments),_(this,_0xf93665(0x2ce),new Map()),_(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x4849ea){const _0x1d06d7=_0x4c198e;if(this[_0x1d06d7(0x2ce)][_0x1d06d7(0x1a6)](_0x4849ea))return this[_0x1d06d7(0x2ce)][_0x1d06d7(0xfb)](_0x4849ea);const _0x1b072d=Ze[this[_0x1d06d7(0xeb)]];return this[_0x1d06d7(0xeb)]=(this[_0x1d06d7(0xeb)]+0x1)%Ze[_0x1d06d7(0x13c)],this[_0x1d06d7(0x2ce)]['set'](_0x4849ea,_0x1b072d),_0x1b072d;}}function Tt(_0x344794){const _0x4cc21=_0x4c198e;let _0x58b6e8='';for(const _0x53d4e5 of _0x344794){const {startOffset:_0x49d686,endOffset:_0x244adb,isActive:_0xcd331e,rangeType:_0x49d74c,segmentId:_0x866402,segmentPage:_0x4adbfd}=_0x53d4e5;_0x58b6e8[_0x4cc21(0x13c)]&&(_0x58b6e8+=','),_0x58b6e8+=_0x49d686+':'+_0x244adb+':'+(_0xcd331e?'1':'0')+':'+_0x49d74c+':'+_0x866402+':'+_0x4adbfd;}return _0x58b6e8;}function _i(_0x4d4a9d){const _0x2de8ba=_0x4c198e,_0x58d9c3=_0x4d4a9d[_0x2de8ba(0x2c7)](','),_0x1ca46d=[];for(const _0x4933a1 of _0x58d9c3){const [_0x1617da,_0x5347dd,_0x276aeb,_0x7cca28,_0x280f58,_0x5310e4]=_0x4933a1[_0x2de8ba(0x2c7)](':');_0x1ca46d[_0x2de8ba(0x117)]({'startOffset':Number(_0x1617da),'endOffset':Number(_0x5347dd),'collapsed':_0x1617da===_0x5347dd,'isActive':_0x276aeb==='1','rangeType':_0x7cca28===_0x23fc60[_0x2de8ba(0xfe)]?_0x23fc60[_0x2de8ba(0xfe)]:_0x23fc60['RECT'],'segmentId':typeof _0x280f58=='string'?String(_0x280f58):'','segmentPage':Number(_0x5310e4!=null?_0x5310e4:-0x1)});}return _0x1ca46d[_0x2de8ba(0xd5)](_0x575676=>_0x575676[_0x2de8ba(0x10f)])||(_0x1ca46d[0x0][_0x2de8ba(0x10f)]=!0x0),_0x1ca46d;}class He extends _0x146301{constructor(){const _0x6bbe1c=_0x4c198e;super(...arguments),_(this,_0x6bbe1c(0x271),new _0x20d8ec(null)),_(this,_0x6bbe1c(0x1f2),this[_0x6bbe1c(0x271)]['asObservable']());}[_0x4c198e(0x14b)](_0x50f752){const _0x1f896e=_0x4c198e,{unitID:_0x2835b8,memberID:_0x420f59,textRanges:_0x44afff}=_0x50f752,_0x150ae4=Tt(_0x44afff);if(_0x150ae4==='')return;const _0x1be965={'unitID':_0x2835b8,'memberID':_0x420f59,'selection':_0x150ae4};this['_collabCursorState$'][_0x1f896e(0x225)](_0x1be965);}}var hi=Object['getOwnPropertyDescriptor'],ui=(_0x55b186,_0x164a0f,_0x164522,_0x4fcbb)=>{const _0xa96f83=_0x4c198e;for(var _0x3c8207=_0x4fcbb>0x1?void 0x0:_0x4fcbb?hi(_0x164a0f,_0x164522):_0x164a0f,_0x10d5ea=_0x55b186[_0xa96f83(0x13c)]-0x1,_0xca5cee;_0x10d5ea>=0x0;_0x10d5ea--)(_0xca5cee=_0x55b186[_0x10d5ea])&&(_0x3c8207=_0xca5cee(_0x3c8207)||_0x3c8207);return _0x3c8207;},w=(_0xafd957,_0x64868a)=>(_0x257c78,_0x3902f5)=>_0x64868a(_0x257c78,_0x3902f5,_0xafd957);const di=0x12c,fi=0x64;let Ue=class extends _0x146301{constructor(_0x2874e5,_0x5d3a8e,_0x4787c0,_0x1980ae,_0x3400aa,_0x15bb2b,_0x2b1bfa,_0x1ba0ee,_0x4152d1){const _0x4b93e7=_0x4c198e;super(),_(this,_0x4b93e7(0x1c4),!0x1),_(this,_0x4b93e7(0x189),!0x1),_(this,'_cursorInfo$',new _0x20d8ec(new Map())),_(this,'cursorInfo$',this['_cursorInfo$']['asObservable']()),_(this,_0x4b93e7(0x170),new _0x20d8ec([])),_(this,_0x4b93e7(0x2af),this[_0x4b93e7(0x170)]['pipe'](_0x49a7ef(di))),_(this,_0x4b93e7(0x13a),_0x2eb465(_0x4c1220=>{const _0x5bca39=_0x4b93e7,_0x4b8e59={'eventID':_0x1ac8bf['UPDATE_CURSOR'],'data':{'unitID':this[_0x5bca39(0x291)],'memberID':this[_0x5bca39(0x186)][_0x5bca39(0x205)](),'selection':Tt(_0x4c1220)}};this['_session'][_0x5bca39(0x24d)](_0x4b8e59,this[_0x5bca39(0x291)]);},fi)),(this[_0x4b93e7(0x291)]=_0x2874e5,this[_0x4b93e7(0x186)]=_0x5d3a8e,this['_injector']=_0x4787c0,this[_0x4b93e7(0x1ef)]=_0x1980ae,this[_0x4b93e7(0xf2)]=_0x3400aa,this[_0x4b93e7(0x267)]=_0x15bb2b,this[_0x4b93e7(0x138)]=_0x2b1bfa,this[_0x4b93e7(0x2d4)]=_0x1ba0ee,this['_commandService']=_0x4152d1);}get[_0x4c198e(0x1ce)](){const _0xdd5dc3=_0x4c198e;return this[_0xdd5dc3(0x2cc)][_0xdd5dc3(0x245)]();}get[_0x4c198e(0x1a4)](){const _0x4d63da=_0x4c198e;return this[_0x4d63da(0x170)]['getValue']();}[_0x4c198e(0x2aa)](){const _0x15b3e3=_0x4c198e;super[_0x15b3e3(0x2aa)](),this['_cursorInfo$'][_0x15b3e3(0x225)](new Map()),this[_0x15b3e3(0x2cc)][_0x15b3e3(0x2cf)](),this[_0x15b3e3(0x170)][_0x15b3e3(0x225)]([]),this[_0x15b3e3(0x170)][_0x15b3e3(0x2cf)]();}['init'](){const _0x416437=_0x4c198e;this['_init']||(this['_init']=!0x0,this[_0x416437(0x186)][_0x416437(0x224)][_0x416437(0x133)](_0x3ce21b(this['dispose$']))[_0x416437(0x1c1)](_0xb4d772=>{const _0x47d2a7=_0x416437;_0xb4d772===_0x130c75[_0x47d2a7(0x26c)]?this['_toggleOnline']():this[_0x47d2a7(0x191)]();}),this['_session'][_0x416437(0x260)]['pipe'](_0x3ce21b(this[_0x416437(0x172)]))[_0x416437(0x1c1)](_0xe5a97e=>{const _0x33c007=_0x416437,_0xb2ccab=_0xe5a97e[_0x33c007(0x153)];_0xb2ccab===_0x1ac8bf[_0x33c007(0x10c)]&&this[_0x33c007(0x23b)](_0xe5a97e),_0xb2ccab===_0x1ac8bf['USERS_LEAVE']&&this[_0x33c007(0x142)](_0xe5a97e);}),this[_0x416437(0xdc)](this[_0x416437(0x29b)][_0x416437(0x2b3)](_0x7eadda=>{const _0x5aef96=_0x416437,_0x5e4d30=_0x7eadda[_0x5aef96(0x10e)];_0x5e4d30!=null&&this[_0x5aef96(0x1c4)]&&_0x7eadda['id']===_0x189a40['id']&&_0x5e4d30[_0x5aef96(0x2b7)]===this['unitID']&&_0x5e4d30['isEditing']===!0x1&&_0x5e4d30[_0x5aef96(0x232)][_0x5aef96(0x13c)]>0x0&&this['_updateLocalCursor'](_0x5e4d30[_0x5aef96(0x232)]);})),this[_0x416437(0x267)][_0x416437(0x1f2)]['pipe'](_0x3ce21b(this[_0x416437(0x172)]))[_0x416437(0x1c1)](_0x3fb3ee=>{const _0x33d7e4=_0x416437;if((_0x3fb3ee==null?void 0x0:_0x3fb3ee[_0x33d7e4(0x291)])!==this[_0x33d7e4(0x291)])return;const _0x4edd78={'eventID':_0x1ac8bf[_0x33d7e4(0x10c)],'data':_0x3fb3ee};this[_0x33d7e4(0x23b)](_0x4edd78);}),this[_0x416437(0xdc)](this[_0x416437(0x29b)][_0x416437(0x2b3)](_0x4856ec=>{const _0x1d67d1=_0x416437;if(_0x4856ec[_0x1d67d1(0x10e)]==null)return;const _0x489283=_0x4856ec[_0x1d67d1(0x10e)];if(_0x4856ec['id']!==_0x470502['id']||_0x489283[_0x1d67d1(0x2b7)]!==this['unitID'])return;const _0x18f75e={'id':_0x1d67d1(0x2d5),'params':_0x489283},_0x37df00=this['cursorInfo'];for(const [_0xcc8046,_0x341f24]of _0x37df00){const _0x5e78df={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x1d67d1(0x291)],'actions':null,'textRanges':_0x341f24[_0x1d67d1(0x232)]}},_0x307d0c=this[_0x1d67d1(0x138)][_0x1d67d1(0x289)](_0x18f75e,_0x5e78df,!0x1);if(_0x3a621e(_0x307d0c))throw _0x307d0c[_0x1d67d1(0x12e)];_0x37df00['set'](_0xcc8046,{..._0x341f24,'ranges':_0x307d0c[_0x1d67d1(0x140)][_0x1d67d1(0x10e)][_0x1d67d1(0x235)]});}queueMicrotask(()=>{const _0x37c33f=_0x1d67d1;this['_cursorInfo$'][_0x37c33f(0x225)](_0x37df00);});})));}[_0x4c198e(0x23b)](_0x367538){const _0x571c4c=_0x4c198e;var _0x49170f,_0x1c5382;const {memberID:_0x5c2957,selection:_0x2f0da4}=_0x367538[_0x571c4c(0x2ca)],_0x4f5502=_i(_0x2f0da4),_0x3bc69e=(_0x1c5382=(_0x49170f=this[_0x571c4c(0xf2)][_0x571c4c(0x163)](this[_0x571c4c(0x291)],_0x5c2957))==null?void 0x0:_0x49170f[_0x571c4c(0x197)])!=null?_0x1c5382:_0x571c4c(0xdb),_0x4d8949={'color':this[_0x571c4c(0x1ef)][_0x571c4c(0xf3)](_0x5c2957),'name':_0x3bc69e,'ranges':_0x4f5502},_0x178e6c=this['cursorInfo'];_0x178e6c[_0x571c4c(0x268)](_0x5c2957,_0x4d8949),this['_cursorInfo$']['next'](_0x178e6c);}[_0x4c198e(0x142)](_0x323d4b){const _0x2e3c12=_0x4c198e,{memberID:_0x2456f0}=_0x323d4b['data'],_0x3a43bd=this[_0x2e3c12(0x1ce)];_0x3a43bd[_0x2e3c12(0x107)](_0x2456f0),this[_0x2e3c12(0x2cc)][_0x2e3c12(0x225)](_0x3a43bd);}['_toggleOnline'](){const _0x232021=_0x4c198e;var _0x5ecf6d;if(this[_0x232021(0x1c4)]=!0x0,((_0x5ecf6d=this[_0x232021(0x2d4)][_0x232021(0x213)]())==null?void 0x0:_0x5ecf6d[_0x232021(0x2a1)]())!==this[_0x232021(0x291)])return;const _0x850c26=this['_injector'][_0x232021(0xfb)](_0x5287a1)[_0x232021(0x10a)]();Array[_0x232021(0x156)](_0x850c26)&&_0x850c26[_0x232021(0x13c)]>0x0&&this[_0x232021(0x13a)](_0x850c26);}[_0x4c198e(0x191)](){const _0xc0b1b7=_0x4c198e;this[_0xc0b1b7(0x1c4)]=!0x1;}};Ue=ui([w(0x2,_0x49f398(_0x1afadf)),w(0x3,_0x49f398(ke)),w(0x4,_0x49f398(_0x1dcf01)),w(0x5,_0x49f398(He)),w(0x6,_0x14357d),w(0x7,_0x1acba7),w(0x8,_0x167682)],Ue);var Si=Object[_0x4c198e(0x1fa)],mi=(_0x37f464,_0xdec72c,_0x51a85c,_0x128dfd)=>{const _0x497c19=_0x4c198e;for(var _0x469b40=_0x128dfd>0x1?void 0x0:_0x128dfd?Si(_0xdec72c,_0x51a85c):_0xdec72c,_0x3001e5=_0x37f464[_0x497c19(0x13c)]-0x1,_0x3259b8;_0x3001e5>=0x0;_0x3001e5--)(_0x3259b8=_0x37f464[_0x3001e5])&&(_0x469b40=_0x3259b8(_0x469b40)||_0x469b40);return _0x469b40;},x=(_0x365325,_0x1a367)=>(_0x54ef68,_0x23007d)=>_0x1a367(_0x54ef68,_0x23007d,_0x365325);const gi=0x12c,vi=0x64,Ii=()=>{let _0xa4c7b0=[],_0x1fa468=!0x1;return _0x250fdd=>{const _0x4ed8f0=_0x4497;_0xa4c7b0[_0x4ed8f0(0x117)](_0x250fdd),_0x1fa468||(_0x1fa468=!0x0,setTimeout(()=>{const _0x25e87a=_0x4ed8f0;_0xa4c7b0[_0x25e87a(0xdf)](_0x269b14=>_0x269b14()),_0xa4c7b0=[],_0x1fa468=!0x1;}));};};let Me=class extends _0x146301{constructor(_0x23794b,_0x22f2d4,_0x705538,_0x5b18de,_0x1d648d,_0x520a3a,_0xc2cf4a,_0x15a2a3){const _0x305ce4=_0x4c198e;super(),_(this,'_online',!0x1),_(this,'_init',!0x1),_(this,_0x305ce4(0x2cc),new _0x20d8ec(new Map())),_(this,'cursorInfo$',this[_0x305ce4(0x2cc)][_0x305ce4(0x10b)]()),_(this,_0x305ce4(0x170),new _0x20d8ec([])),_(this,'roomMembers$',this[_0x305ce4(0x170)][_0x305ce4(0x133)](_0x49a7ef(gi))),_(this,_0x305ce4(0x13a),_0x2eb465((_0x35b698,_0x547d8a)=>{const _0x223d8d=_0x305ce4,_0x1463ad={'eventID':_0x1ac8bf[_0x223d8d(0x10c)],'data':{'unitID':this['unitID'],'memberID':this[_0x223d8d(0x186)]['getMemberID'](),'selection':_0x511282(_0x35b698,_0x547d8a[_0x223d8d(0x294)])}};this['_session'][_0x223d8d(0x24d)](_0x1463ad,this[_0x223d8d(0x291)]);},vi)),(this[_0x305ce4(0x291)]=_0x23794b,this[_0x305ce4(0x186)]=_0x22f2d4,this[_0x305ce4(0x127)]=_0x705538,this[_0x305ce4(0x1ef)]=_0x5b18de,this['_memberService']=_0x1d648d,this[_0x305ce4(0x2d4)]=_0x520a3a,this[_0x305ce4(0x29b)]=_0xc2cf4a,this[_0x305ce4(0x155)]=_0x15a2a3);}get[_0x4c198e(0x1ce)](){const _0x30319c=_0x4c198e;return this[_0x30319c(0x2cc)]['getValue']();}get['roomMembers'](){const _0xabfeb4=_0x4c198e;return this[_0xabfeb4(0x170)][_0xabfeb4(0x245)]();}[_0x4c198e(0x2aa)](){const _0x50c1eb=_0x4c198e;super['dispose'](),this[_0x50c1eb(0x2cc)]['next'](new Map()),this['_cursorInfo$']['complete'](),this['_roomMembers$'][_0x50c1eb(0x225)]([]),this[_0x50c1eb(0x170)][_0x50c1eb(0x2cf)]();}[_0x4c198e(0x288)](){const _0x4d4b36=_0x4c198e;this['_init']||(this[_0x4d4b36(0x189)]=!0x0,this['_session'][_0x4d4b36(0x224)][_0x4d4b36(0x133)](_0x3ce21b(this['dispose$']))[_0x4d4b36(0x1c1)](_0x58a48a=>{const _0x18f7f5=_0x4d4b36;_0x58a48a===_0x130c75['ONLINE']?this['_toggleOnline']():this[_0x18f7f5(0x191)]();}),this[_0x4d4b36(0x186)][_0x4d4b36(0x260)]['pipe'](_0x3ce21b(this['dispose$']))[_0x4d4b36(0x1c1)](_0x17f679=>{const _0x4921d0=_0x4d4b36,_0x230fa7=_0x17f679[_0x4921d0(0x153)];_0x230fa7===_0x1ac8bf[_0x4921d0(0x10c)]&&this[_0x4921d0(0x23b)](_0x17f679),_0x230fa7===_0x1ac8bf['USERS_LEAVE']&&this[_0x4921d0(0x142)](_0x17f679);}),this[_0x4d4b36(0x209)](),this['disposeWithMe'](this[_0x4d4b36(0x29b)][_0x4d4b36(0x2b3)](_0x5656da=>{const _0x5d27a1=_0x4d4b36;if(this[_0x5d27a1(0x1c4)]&&_0x5656da['id']===_0x52eb3e['id']&&_0x5656da[_0x5d27a1(0x10e)][_0x5d27a1(0x2b7)]===this[_0x5d27a1(0x291)]){const _0x568fc9=_0x5656da[_0x5d27a1(0x10e)];this['_updateLocalCursor'](_0x568fc9['subUnitId'],_0x568fc9[_0x5d27a1(0x2ba)][0x0]);}})));}['_onCursorUpdate'](_0x541962){const _0x3f8c08=_0x4c198e;var _0x4624c8,_0x467854;const {memberID:_0xc1c312,selection:_0x5061e7}=_0x541962[_0x3f8c08(0x2ca)],{sheetName:_0x18bf4e,range:_0x1c9df7}=_0x1b32a2(_0x5061e7),_0xda099={'name':(_0x467854=(_0x4624c8=this['_memberService'][_0x3f8c08(0x163)](this['unitID'],_0xc1c312))==null?void 0x0:_0x4624c8[_0x3f8c08(0x197)])!=null?_0x467854:_0x3f8c08(0xdb),'range':this['_getMergeRange'](_0x18bf4e,_0x1c9df7),'sheetID':_0x18bf4e,'color':this['_colorAssignService'][_0x3f8c08(0xf3)](_0xc1c312),'selection':_0x5061e7},_0x29561c=this[_0x3f8c08(0x1ce)];_0x29561c[_0x3f8c08(0x268)](_0xc1c312,_0xda099),this[_0x3f8c08(0x2cc)][_0x3f8c08(0x225)](_0x29561c);}[_0x4c198e(0x142)](_0x4633c1){const _0x43ccf4=_0x4c198e,{memberID:_0x5ae4e7}=_0x4633c1[_0x43ccf4(0x2ca)],_0x561a6c=this[_0x43ccf4(0x1ce)];_0x561a6c[_0x43ccf4(0x107)](_0x5ae4e7),this[_0x43ccf4(0x2cc)][_0x43ccf4(0x225)](_0x561a6c);}[_0x4c198e(0x221)](_0x2f6804,_0x590ebc){const _0x16a541=_0x4c198e;var _0x13e8d1,_0x585eb1;const _0x2eddde=(_0x585eb1=(_0x13e8d1=this['_univerInstanceService'][_0x16a541(0x2c6)](this[_0x16a541(0x291)]))==null?void 0x0:_0x13e8d1[_0x16a541(0x23e)](_0x2f6804))==null?void 0x0:_0x585eb1[_0x16a541(0x12b)]();return(_0x2eddde==null?void 0x0:_0x2eddde[_0x16a541(0x2a8)](_0x441fc6=>_0x4fec53[_0x16a541(0x1e7)](_0x441fc6,_0x590ebc)))||_0x590ebc;}['_onRefRangeChange'](){const _0x730535=_0x4c198e,_0x101706=new _0x29ffde(),_0x51416d=Ii(),_0x11f8be=()=>{const _0x30acea=_0x4497;_0x101706[_0x30acea(0x2aa)]();const _0x4b56e2=(_0x47d6fb,_0x80e53a,_0x4637f3,_0x33d692)=>{const _0x4dfd38=_0x30acea;let _0x4a9eb7=[];switch(_0x47d6fb['id']){case _0x55159f[_0x4dfd38(0x1e6)]:{_0x4a9eb7=_0x35a492(_0x47d6fb,_0x33d692);break;}case _0x55159f[_0x4dfd38(0xd2)]:{_0x4a9eb7=_0x550791(_0x47d6fb,_0x33d692);break;}case _0x55159f[_0x4dfd38(0x15f)]:{_0x4a9eb7=_0x4082a5(_0x47d6fb,_0x33d692);break;}case _0x55159f[_0x4dfd38(0x25f)]:{_0x4a9eb7=_0x338427(_0x47d6fb,_0x33d692);break;}case _0x55159f[_0x4dfd38(0x20d)]:{_0x4a9eb7=_0x432a92(_0x47d6fb,_0x33d692);break;}case _0x55159f[_0x4dfd38(0x103)]:{_0x4a9eb7=_0x428bdc(_0x47d6fb,_0x33d692);break;}case _0x55159f[_0x4dfd38(0xd1)]:{_0x4a9eb7=_0x2e73a0(_0x47d6fb,_0x33d692);break;}case _0x55159f[_0x4dfd38(0x279)]:{_0x4a9eb7=_0x48d1de(_0x47d6fb,_0x33d692);break;}case _0x55159f[_0x4dfd38(0x174)]:{_0x4a9eb7=_0x183f5a(_0x47d6fb,_0x33d692);break;}}const _0x570d8f=_0x5e7925(_0x4a9eb7,_0x33d692),_0x38e4fa=this[_0x4dfd38(0x1ce)]['get'](_0x80e53a);if(_0x38e4fa&&_0x570d8f){const _0x2bd733={..._0x38e4fa,'range':_0x570d8f};this[_0x4dfd38(0x1ce)]['set'](_0x80e53a,_0x2bd733),_0x51416d(()=>{const _0x5d6d17=_0x4dfd38,_0x4f6c3e=this[_0x5d6d17(0x155)][_0x5d6d17(0x10d)](_0x570d8f,_0x39058a=>(_0x4f6c3e[_0x5d6d17(0x2aa)](),_0x4b56e2(_0x39058a,_0x80e53a,_0x4637f3,_0x570d8f)));_0x101706['add'](_0x4f6c3e);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x30acea(0xdf)]((_0x1f144f,_0x5a1985)=>{const _0x266f86=_0x30acea,{range:_0x19716e,sheetID:_0x34326e}=_0x1f144f,_0x42dca1=this[_0x266f86(0x155)]['registerRefRange'](_0x19716e,_0x212a7b=>(_0x42dca1[_0x266f86(0x2aa)](),_0x4b56e2(_0x212a7b,_0x5a1985,_0x34326e,_0x19716e)));_0x101706[_0x266f86(0x238)](_0x42dca1);});};this[_0x730535(0xdc)](_0x3b8484(this[_0x730535(0x2cc)][_0x730535(0x1c1)](()=>{_0x11f8be();})));}[_0x4c198e(0x270)](){const _0x298b78=_0x4c198e;var _0x217fd9,_0x75c24c;if(this[_0x298b78(0x1c4)]=!0x0,((_0x217fd9=this['_univerInstanceService'][_0x298b78(0x213)]())==null?void 0x0:_0x217fd9[_0x298b78(0x2a1)]())!==this['unitID'])return;const _0x4a0325=(_0x75c24c=this[_0x298b78(0x127)]['get'](_0x27c769)[_0x298b78(0x21f)]())==null?void 0x0:_0x75c24c[0x0],_0xcde483=this['_univerInstanceService'][_0x298b78(0x17e)](_0x10f6ab[_0x298b78(0x194)])[_0x298b78(0x28c)]();_0x4a0325&&_0xcde483&&this['_updateLocalCursor'](_0xcde483[_0x298b78(0x17b)](),_0x4a0325);}[_0x4c198e(0x191)](){const _0x3c9989=_0x4c198e;this[_0x3c9989(0x1c4)]=!0x1;}};Me=mi([x(0x2,_0x49f398(_0x1afadf)),x(0x3,_0x49f398(ke)),x(0x4,_0x49f398(_0x1dcf01)),x(0x5,_0x1acba7),x(0x6,_0x167682),x(0x7,_0x49f398(_0x48054b))],Me);var pi=Object[_0x4c198e(0x1fa)],Ci=(_0x1941e3,_0x2262e3,_0x4c0865,_0x431ee0)=>{for(var _0x108cdf=_0x431ee0>0x1?void 0x0:_0x431ee0?pi(_0x2262e3,_0x4c0865):_0x2262e3,_0x8ec9f8=_0x1941e3['length']-0x1,_0x10a89d;_0x8ec9f8>=0x0;_0x8ec9f8--)(_0x10a89d=_0x1941e3[_0x8ec9f8])&&(_0x108cdf=_0x10a89d(_0x108cdf)||_0x108cdf);return _0x108cdf;},Se=(_0x52be4d,_0x2da20e)=>(_0x689293,_0x3a51e2)=>_0x2da20e(_0x689293,_0x3a51e2,_0x52be4d);let H=class extends _0x146301{constructor(_0x20f32,_0x3c3804,_0x41fd15){const _0x4c94ff=_0x4c198e;super(),_(this,'_entities',new Map()),_(this,_0x4c94ff(0x219),new _0x27d8e7()),(this[_0x4c94ff(0x2d4)]=_0x20f32,this[_0x4c94ff(0x127)]=_0x3c3804,this[_0x4c94ff(0x22f)]=_0x41fd15,this['_init']());}[_0x4c198e(0x2aa)](){const _0x4eceea=_0x4c198e;super[_0x4eceea(0x2aa)](),this[_0x4eceea(0x219)]['complete'](),this[_0x4eceea(0xd8)][_0x4eceea(0xdf)](_0x103440=>_0x103440['dispose']());}[_0x4c198e(0x27c)](_0x5cb240){const _0x3ac073=_0x4c198e;return this[_0x3ac073(0xd8)][_0x3ac073(0x1a6)](_0x5cb240)?this[_0x3ac073(0xd8)][_0x3ac073(0xfb)](_0x5cb240)[_0x3ac073(0x2db)]:this[_0x3ac073(0x219)][_0x3ac073(0x133)](_0x335415(_0x18e0a7=>_0x18e0a7['unitID']===_0x5cb240),_0x49b168(_0x174011=>_0x174011[_0x3ac073(0x2db)]));}['_init'](){const _0x554e8e=_0x4c198e;this[_0x554e8e(0x2d4)][_0x554e8e(0x262)](_0x10f6ab[_0x554e8e(0x194)])[_0x554e8e(0x133)](_0x3ce21b(this[_0x554e8e(0x172)]))[_0x554e8e(0x1c1)](async _0x3f32a4=>{const _0x43d911=_0x554e8e,_0x5bfb77=_0x3f32a4[_0x43d911(0x2a1)](),_0x31b348=await this[_0x43d911(0x14d)](_0x5bfb77);this['_entityInit$'][_0x43d911(0x225)](_0x31b348),this[_0x43d911(0xd8)][_0x43d911(0x268)](_0x5bfb77,_0x31b348);}),this[_0x554e8e(0x2d4)][_0x554e8e(0x262)](_0x10f6ab[_0x554e8e(0x151)])['pipe'](_0x3ce21b(this[_0x554e8e(0x172)]))[_0x554e8e(0x133)](_0x335415(_0x254095=>!_0x254095[_0x554e8e(0x2a1)]()[_0x554e8e(0xe2)]('__')))[_0x554e8e(0x1c1)](async _0x16d764=>{const _0x2fc595=_0x554e8e,_0xc191c0=_0x16d764['getUnitId'](),_0x44f6d7=await this[_0x2fc595(0x229)](_0xc191c0);this[_0x2fc595(0x219)][_0x2fc595(0x225)](_0x44f6d7),this[_0x2fc595(0xd8)][_0x2fc595(0x268)](_0xc191c0,_0x44f6d7);}),_0x264432(this[_0x554e8e(0x2d4)][_0x554e8e(0x12a)](_0x10f6ab[_0x554e8e(0x151)]),this[_0x554e8e(0x2d4)][_0x554e8e(0x12a)](_0x10f6ab[_0x554e8e(0x194)]))[_0x554e8e(0x133)](_0x3ce21b(this['dispose$']))[_0x554e8e(0x1c1)](_0x4f282f=>{const _0x1d3f72=_0x554e8e,_0x334710=_0x4f282f[_0x1d3f72(0x2a1)](),_0x279c0c=this[_0x1d3f72(0xd8)][_0x1d3f72(0xfb)](_0x334710);_0x279c0c&&(_0x279c0c[_0x1d3f72(0x2aa)](),this['_entities']['delete'](_0x334710));});}async[_0x4c198e(0x14d)](_0x1e53d7){const _0x86c4b8=_0x4c198e,_0x3d4504=await this[_0x86c4b8(0x22f)][_0x86c4b8(0x246)](_0x1e53d7),_0x3aeba4=this[_0x86c4b8(0x127)]['createInstance'](Me,_0x1e53d7,_0x3d4504);return _0x3aeba4[_0x86c4b8(0x288)](),_0x3aeba4;}async['_startDocCollabCursor'](_0x2929c5){const _0x4392c9=_0x4c198e,_0x5fccf7=await this[_0x4392c9(0x22f)][_0x4392c9(0x246)](_0x2929c5),_0x319d38=this['_injector'][_0x4392c9(0x1e4)](Ue,_0x2929c5,_0x5fccf7);return _0x319d38[_0x4392c9(0x288)](),_0x319d38;}};H=Ci([Se(0x0,_0x1acba7),Se(0x1,_0x49f398(_0x1afadf)),Se(0x2,_0x49f398(_0x943f5))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function bi(_0x192d0d,_0x43a904){const _0x44b87=_0x4c198e;let {radius:_0x55c28c,width:_0x499827,height:_0x1849e5}=_0x43a904;_0x55c28c=_0x55c28c!=null?_0x55c28c:0x0,_0x499827=_0x499827!=null?_0x499827:0x1e,_0x1849e5=_0x1849e5!=null?_0x1849e5:0x1e;let _0x275315=0x0,_0xc0c494=0x0,_0x2ec8fe=0x0;_0x275315=_0xc0c494=_0x2ec8fe=Math[_0x44b87(0x1ae)](_0x55c28c,_0x499827/0x2,_0x1849e5/0x2),_0x192d0d[_0x44b87(0x29c)](),_0x192d0d[_0x44b87(0x292)](_0x275315,0x0),_0x192d0d[_0x44b87(0x166)](_0x499827-_0xc0c494,0x0),_0x192d0d[_0x44b87(0x2a6)](_0x499827-_0xc0c494,_0xc0c494,_0xc0c494,Math['PI']*0x3/0x2,0x0,!0x1),_0x192d0d[_0x44b87(0x166)](_0x499827,_0x1849e5-_0x2ec8fe),_0x192d0d[_0x44b87(0x2a6)](_0x499827-_0x2ec8fe,_0x1849e5-_0x2ec8fe,_0x2ec8fe,0x0,Math['PI']/0x2,!0x1),_0x192d0d[_0x44b87(0x166)](0x0,_0x1849e5),_0x192d0d[_0x44b87(0x166)](0x0,_0x275315),_0x192d0d[_0x44b87(0x2a6)](_0x275315,_0x275315,_0x275315,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x192d0d[_0x44b87(0x2d2)](),_0x43a904['fill']&&(_0x192d0d['save'](),_0x192d0d[_0x44b87(0x283)]=_0x43a904[_0x44b87(0x2ae)],_0x43a904['fillRule']===_0x44b87(0x134)?_0x192d0d[_0x44b87(0x2ae)](_0x44b87(0x134)):_0x192d0d[_0x44b87(0x2ae)](),_0x192d0d['restore']());}class he extends _0x1169db{constructor(_0x3a377c,_0x26e338){const _0x5a869b=_0x4c198e;super(_0x3a377c,_0x26e338),_(this,_0x5a869b(0x121)),_(this,'text'),(this['color']=_0x26e338==null?void 0x0:_0x26e338[_0x5a869b(0x121)],this['text']=_0x26e338==null?void 0x0:_0x26e338[_0x5a869b(0x231)]);}static[_0x4c198e(0xce)](_0x2744ba,_0x4930b1){const _0xa56e76=_0x4c198e,{text:_0x47db11,color:_0x22e121}=_0x4930b1;_0x2744ba[_0xa56e76(0x1cd)](),_0x2744ba[_0xa56e76(0x2a3)]=_0xa56e76(0x240);const _0x5e0504=_0x2744ba[_0xa56e76(0x2c0)](_0x47db11)[_0xa56e76(0xfd)],_0x2521f6=Math['min'](_0x5e0504+0x2*me,Qe);bi(_0x2744ba,{'height':ee,'radius':0x4,'width':_0x2521f6,'fill':_0x22e121}),_0x2744ba[_0xa56e76(0x283)]=_0xa56e76(0x2d8);const _0x4c5446=me,_0x157847=ee-Ei,_0x167848=Qe-0x2*me;if(_0x5e0504>_0x167848){let _0x217891='',_0x1b0d94=0x0;for(const _0x312d35 of _0x47db11){const _0x55090c=_0x2744ba[_0xa56e76(0x2c0)](_0x312d35)['width'];if(_0x1b0d94+_0x55090c<=_0x167848-_0x2744ba[_0xa56e76(0x2c0)](_0xa56e76(0x1dc))[_0xa56e76(0xfd)])_0x217891+=_0x312d35,_0x1b0d94+=_0x55090c;else{_0x217891+='...';break;}}_0x2744ba[_0xa56e76(0xe6)](_0x217891,_0x4c5446,_0x157847);}else _0x2744ba[_0xa56e76(0xe6)](_0x47db11,_0x4c5446,_0x157847);_0x2744ba[_0xa56e76(0x19a)]();}[_0x4c198e(0x1d8)](_0x29dca2){he['drawWith'](_0x29dca2,this);}}const ge=_0x4c198e(0x1d3),Oi='collab-text-range-',Ti=_0x4c198e(0x173),X=0x6,Ri=1.5,ve=0x4,Di=1.5,Ni='rgba(255,\x20255,\x20255,\x200.01)';function _0x496d(){const _0x4fb874=['_docSyncEditingCollabCursorService','_getSaveTimeout','_anchorDot','_send','syncEditingCollabCursor','_config','_startSheetCollabCursor','_docTransformStateCacheService','pushState','xlink:href','UNIVER_DOC','indexOf','eventID','_handleHover','_refRangeService','isArray','jiqing500','INVALID_INVITE_CODE','hasOwnProperty','icon','WECHAT_HAS_BEEN_BOUND','_unitStatus','getUnitStatus$','setParam','InsertColCommandId','2153327mnWIFh','LICENSE_MAX_UNITS_EXCEEDED','_docSkeletonManagerService','getMember','_cursorShapes','INVITE_CODE_ALREADY_BOUND','lineTo','_getSheetObject','_initResize','setActiveRange','getCollabEntity$','_ensureSubject','SUBMIT_CHANGESET_TIMEOUT','getItem','MUTATION','1em','_roomMembers$','enableLocalCache','dispose$','collab-rect-range-','RemoveRowCommandId','transformRemoteChangeset','getRelativeToViewportCoord','_lastPointer','_drawTextRange','APPLY_PERMISSION_DENIED','onRendered','getSheetId','addObjects','_localeService','getCurrentUnitForType','setItem','_handleHeartbeatEvent','_drawAnchor','_removeCollabCursors','CLOSE_ROOM','OffLineSingle','registerRenderModule','_session','collabStatus.syncing','PENDING','_init','post','_context','univer-text-green-500','disableLocalCache','LOGIN_FAILED','getStateCache','transformIMECache','_toggleOffline','_scheduleSaving','2VuhBbB','UNIVER_SHEET','currentColor','YUUMI_UNABLE_LOAD_URL','name','body','_range','restore','_uiPartsService','disposeUnit','_drawRectRange','OTHER_CLIENTS_EDITING','0\x200\x2016\x2016','mask','_httpService','[CollaborationDataLoaderController]','_notificationService','roomMembers','_docClipboardService','has','_updateCollabCursors','entityInit$','redoState','_setupSubUnitSync','UNDEFINED','colorChannel1','replaceDocRanges','min','bottom','JOIN_ROOM_FAILED','TOO_MANY_REQUESTS','height','editingUnit','_unitOnClients','M0\x200H16V16H0z','show','_updateURLWithCurrentState','SOCKET_FAILED','VIEW_MAIN','getSkeleton','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','getCellPositionByOffset','SNAPSHOT_HAS_BEEN_REMOVED','SYNCED','black','result','subscribe','function','_scheduleHeartbeat','_online','_color','_refreshCollabCursors','_collaborationUIEventService','INVALID_ARGUMENT','registerBeforeClose','replaceState','CONFLICT','defIds','save','cursorInfo','actions','hovered','from','permission.title','collab-text-anchor-','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','sheetID','_revisionService','saveOfflineData','_draw','currentSkeleton$','_selfUnitIDs','displayName','...','2629956QPBEWo','_cursor','subscribeEvent','history','map','className','setAlpha','createInstance','flatMap','DeleteRangeMoveLeftCommandId','contains','max','currentTheme$','NO_OTHER_CLIENTS_EDITING','searchParams','ticket','UNAUTHENTICATED','idSuffix','_colorAssignService','_shapes','_imageIoService','collabCursorState$','getCurrentRevOfUnit','_beforeCloseService','location','collabStatus.conflict','search','_saveCache','findNodePositionByCharIndex','getOwnPropertyDescriptor','addEventListener','_handleEvent','labelPosition','column','LICENSE_IMPORT_SIZE_EXCEEDED','_clearOtherTimers','onPointerEnter$','_removeClearOtherTimer','entries','EMAIL_HAS_BEEN_BOUND','getMemberID','getUnhiddenWorksheets','startRow','svg','_onRefRangeChange','transformMutationsWithChangeset','generateRandomId','tag','InsertRangeMoveRightCommandId','_getSessionTicket','on-line-single_clip0_910_349','AWAITING','Failed','_localStorageService','getFocusedUnit','univer-flex\x20univer-items-center','INVITE_CODE_REQUIRED','_collaborationController','YUUMI_RATE_OVER_LIMIT','children','_entityInit$','loadOfflineData','[RemoteUniscriptService]:\x20no\x20focused\x20unit','key','defineProperty','defs','getCurrentSelections','setStateCache','_getMergeRange','_eventUnsubscribe','INVITE_CODE_HAS_BEEN_UES','sessionStatus$','next','propertyIsEnumerable','size','prototype','_startDocCollabCursor','assign','source','FromArray','setConfig','onLocalMutation','_collabSessionService','CHANGESET_REVISION_CONFILICT','text','ranges','#fff','clearInterval','textRanges','_initEvent','backgroundColor','add','toString','replace','_onCursorUpdate','_cachedData','code','getSheetBySheetId','docStateChange$','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_heartbeatTimer','random','with','loadUnit','getValue','requireSession','APPLY_DUPLICATED','skeleton','_cursors','hide','APPLY_REVISION_CONFILICT','_render','send','subunit','OFFLINE','_hideTimer','attrs','SOCKET_FAILED_RETRY','newValue','_sheetSkeletonManagerService','APPLY_NON_SEQUENTIAL_REVISION','_initCommandExecutedListener','addHandlerCallback','unshift','override','url(#off-line-single_clip0_910_343)','_status$','INTERNAL_ERROR','_transformUndoRedoStack','top','InsertRangeMoveDownCommandId','event$','PY_RUNTIME_SCRIPT_ERROR','getTypeOfUnitAdded$','ALREADY_EXISTS','imageSourceType','string','_scheduleClearOtherTimer','_syncEditingCollabCursorService','set','parse','exhaustSavingTask','concat','ONLINE','purple300','_docSkeleton','UniverIcon','_toggleOnline','_collabCursorState$','getAncestorScale','90lixxYm','substring','off-line-single_clip0_910_343','RECT','stringify','_id','RemoveColCommandId','NOT_FOUND','endColumn','getCollabCursors$','setInterval','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','FETCH_MISS','round','use','verdancy600','fillStyle','2594872dunmEB','gold400','_themeService','m1Prime','init','transformMutation','YUUMI_NO_CUBOID_FOR_QUESTION','setTimeout','getActiveSheet','transformByState','_urlService','_instanceService','session.collaboration-timeout','unitID','moveTo','_handleJoinEvent','range','sessionTicket','removeParam','startColumn','getOffsetConfig','transform','transformStateCache','_commandService','beginPath','extend','engine','_updateSubUnitFromURLParams','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','getUnitId','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','font','_createSocketURL','div','arc','getConfig','find','YUUMI_SUBSCRIPTION_NOT_FOUND','dispose','all','toRgbString','resize','fill','roomMembers$','reconnect','updateOfflineData','_doCreateSocket','onCommandExecuted','href','selection','symbol','unitId','application/json','mutations','selections','onStarting','_docStateChangeManagerService','apply','collaboration-client-ui.config','getRenderById','measureText','deepClone','getOwnPropertySymbols','MOBILE_HAS_BEEN_BOUND','values','memberID','getUniverSheetInstance','split','_initStatusComponent','_transformPreviousActiveRange','data','storage','_cursorInfo$','_getScale','_assignedColors','complete','102jsuVQe','activeSheet$','closePath','_backgroundColor','_univerInstanceService','doc.mutation.rich-text-editing','_labelPosition','blue400','#FFF','runId','_transformHistoryAndStateStack','cursorInfo$','drawWith','getParam','_setupBeforeClosingHandler','MoveRangeCommandId','DeleteRangeMoveUpCommandId','_scene','660598bagHXo','some','_handleLeaveEvent','UNRECOGNIZED','_entities','8043354XFxYgD','urlChange$','Unknown\x20user','disposeWithMe','_registerRenderDependencies','_document','forEach','path','univer-flex\x20univer-mr-2\x20univer-text-[20px]','startsWith','url(#on-line-single_clip0_910_349)','_anchor','1954379fniSQs','fillText','saveTaskMap','url(#$1','Warning','clipPath','_colorIndex','_messageService','clearTimeout','USER_NOT_INVITED_CODE','_hover','SNAPSHOT_INVALID_SNAPSHOT','167015YstcVn','_memberService','assignAColorForMemberID','univerjs-icon\x20univerjs-icon-','origin','row','_getAnchorBounding','getUndoRedoMutationParamsCache','_collabCursorController','_initDependencies','get','debug','width','TEXT','getViewport','setShapeProps','addClipboardHook','makeDirty','InsertRowCommandId','getRangePointData','triggerDblclick','whenReady','delete','_dataLoaderService','trim','getDocRanges','asObservable','UPDATE_CURSOR','registerRefRange','params','isActive','_hovered','type','8iddrCX','ENSURE_SNAPSHOT_EXECUTION','collab-client.tooltip.reconnect','getActiveRange','OTHER_CLIENT_EDITING','push','addObject','_name','ACTIVE_UNIT_EVENT_CHANNEL','createSocket','session.connection-failed','YUUMI_URL_COL_OUT_OF_RANGE','collaboration.single-unit.warning','call','executeCommand','color','Error','_logService','_textBubble','_initStatusListener','red300','_injector','_docTransformIMECacheService','onPointerLeave$','getTypeOfUnitDisposed$','getMergeData','collaboration.closeRoom','NOT_COLLAB','error','APPLY_REJECT','LICENSE_EXPORT_SIZE_EXCEEDED','_configService','none','pipe','evenodd','_docTransformSelectionsService','transformSelections','onMouseMove','_transformService','unload','_updateLocalCursor','_renderManagerService','length','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','then','/run/','m2Prime','undoState','_onCursorDelete','_saveTaskMap','unit','_disabled','PERMISSION_DENIED'];_0x496d=function(){return _0x4fb874;};return _0x496d();}class qe{constructor(_0x35a3bb,_0x2fc80e,_0x5a15bd,_0x4efb06){const _0x25b41d=_0x4c198e;_(this,_0x25b41d(0x1f0),[]),_(this,'_anchor',null),_(this,_0x25b41d(0x124),null),_(this,'_anchorDot',null),_(this,_0x25b41d(0x250),null),_(this,'_eventUnsubscribe',null),(this[_0x25b41d(0x1de)]=_0x35a3bb,this[_0x25b41d(0xd3)]=_0x2fc80e,this[_0x25b41d(0x26e)]=_0x5a15bd,this[_0x25b41d(0xde)]=_0x4efb06,this[_0x25b41d(0x24c)]());}set['_hover'](_0x394aaf){const _0x481212=_0x4c198e;_0x394aaf?(this[_0x481212(0x149)]&&this['_anchorDot']['hide'](),this[_0x481212(0x124)]&&this[_0x481212(0x124)][_0x481212(0x1b6)]()):(this[_0x481212(0x149)]&&this[_0x481212(0x149)][_0x481212(0x1b6)](),this['_textBubble']&&this['_textBubble'][_0x481212(0x24a)]());}[_0x4c198e(0x2aa)](){const _0x1c24bd=_0x4c198e;for(const _0x60959d of this['_shapes'])_0x60959d[_0x1c24bd(0x2aa)]();this[_0x1c24bd(0x124)]&&this[_0x1c24bd(0x124)]['dispose'](),this['_anchorDot']&&this[_0x1c24bd(0x149)][_0x1c24bd(0x2aa)](),this[_0x1c24bd(0xe4)]&&this['_anchor']['dispose'](),this[_0x1c24bd(0x222)]&&this['_eventUnsubscribe']();}['_render'](){const _0xe009c9=_0x4c198e;var _0x5131e5;const {_docSkeleton:_0x504870,_document:_0x4e6bee}=this,{color:_0x2b13d6,name:_0xac859,ranges:_0x3656cf}=this['_cursor'],_0x508007=_0x4e6bee[_0xe009c9(0x298)](),{docsLeft:_0xeab632,docsTop:_0x4d75d7}=_0x508007,_0x50ea5b=new _0x21f2cc(_0x508007,_0x504870);for(const {startOffset:_0x17122f,endOffset:_0x3659f7,rangeType:_0x3f617c,segmentId:_0x1a5cd8,segmentPage:_0x29047c,collapsed:_0x3af395,isActive:_0x4884eb}of _0x3656cf){const _0x22e785=_0x504870['findNodePositionByCharIndex'](_0x17122f,!0x0,_0x1a5cd8,_0x29047c);let _0x5bbd4c=_0x504870[_0xe009c9(0x1f9)](_0x3659f7,!0x0,_0x1a5cd8,_0x29047c);if(_0x5bbd4c==null&&(_0x5bbd4c=_0x504870['findNodePositionByCharIndex'](_0x3659f7-0x1,!0x1,_0x1a5cd8,_0x29047c)),_0x4884eb){const {contentBoxPointGroup:_0x4b86b5}=_0x50ea5b[_0xe009c9(0x104)](_0x5bbd4c,_0x5bbd4c);if(_0x4b86b5[_0xe009c9(0x13c)]===0x0)continue;this[_0xe009c9(0x181)](_0x2b13d6,_0x4b86b5,_0xeab632,_0x4d75d7,_0xac859),this[_0xe009c9(0x222)]=this['_handleHover']();}if(_0x22e785&&_0x5bbd4c){if(_0x3f617c===_0x23fc60[_0xe009c9(0x276)]){const _0x56c07e=new _0x32d4a4(_0x508007,_0x504870),{pointGroup:_0x5d49a4}=(_0x5131e5=_0x56c07e[_0xe009c9(0x104)](_0x22e785,_0x5bbd4c))!=null?_0x5131e5:{};if(_0x5d49a4==null||_0x5d49a4['length']===0x0)continue;this[_0xe009c9(0x19d)](_0x2b13d6,_0x5d49a4,_0xeab632,_0x4d75d7);}else{if(!_0x3af395){const {borderBoxPointGroup:_0x2fe26b}=_0x50ea5b[_0xe009c9(0x104)](_0x22e785,_0x5bbd4c);if(_0x2fe26b['length']===0x0)continue;this[_0xe009c9(0x178)](_0x2b13d6,_0x2fe26b,_0xeab632,_0x4d75d7);}}}}}['_drawAnchor'](_0x55d972,_0x1f637d,_0x424728,_0x592a01,_0x602d4){const _0xefb15b=_0x4c198e,_0x1952e8=this[_0xefb15b(0xf7)](_0x1f637d),{left:_0x1a3fb0,top:_0x27c0bd,height:_0x1f4c76}=_0x1952e8,_0x1903e4=this[_0xefb15b(0x2cd)](),_0x21e21a=Di/_0x1903e4,_0x42cf87=new _0x37b73c(ge+_0x11e118[_0xefb15b(0x20b)](X),{'left':_0x1a3fb0+_0x424728-_0x21e21a,'top':_0x27c0bd+_0x592a01,'height':_0x1f4c76,'width':Ri,'fill':_0x55d972||_0x4d699a(_0x2ac219['black'],0x0),'strokeWidth':_0x21e21a,'stroke':Ni,'evented':!0x0});this['_anchor']=_0x42cf87,this[_0xefb15b(0xd3)][_0xefb15b(0x118)](_0x42cf87,_0x3cf057);const _0x338377=new _0x37b73c(ge+_0x11e118[_0xefb15b(0x20b)](X),{'left':_0x1a3fb0+_0x424728-_0x21e21a,'top':_0x27c0bd+_0x592a01-ve/0x2,'height':ve,'width':ve,'fill':_0x55d972||_0x4d699a(_0x2ac219['black'],0x0),'strokeWidth':0x0,'stroke':_0x55d972||_0x4d699a(_0x2ac219[_0xefb15b(0x1bf)],0x0),'evented':!0x1});this[_0xefb15b(0x149)]=_0x338377,this[_0xefb15b(0xd3)][_0xefb15b(0x118)](_0x338377,_0x3cf057);const _0x41def5=new he(ge+_0x11e118[_0xefb15b(0x20b)](X),{'left':_0x1a3fb0+_0x424728-_0x21e21a,'top':_0x27c0bd+_0x592a01-ee,'text':_0x602d4,'color':_0x55d972});this[_0xefb15b(0x124)]=_0x41def5,this['_scene'][_0xefb15b(0x118)](_0x41def5,_0x3cf057),this[_0xefb15b(0xef)]=!0x1;}[_0x4c198e(0x154)](){const _0x18a45d=_0x4c198e,_0x3c4810=this[_0x18a45d(0xe4)][_0x18a45d(0x201)]['subscribeEvent'](()=>{const _0x8ebfe2=_0x18a45d;this[_0x8ebfe2(0xef)]=!0x0;}),_0x1ecc66=this[_0x18a45d(0xe4)][_0x18a45d(0x129)]['subscribeEvent'](()=>{const _0x5f49ed=_0x18a45d;this[_0x5f49ed(0x250)]&&clearTimeout(this[_0x5f49ed(0x250)]),this[_0x5f49ed(0x250)]=setTimeout(()=>{const _0x20a914=_0x5f49ed;this[_0x20a914(0xef)]=!0x1;},0x7d0);});return()=>{_0x3c4810['unsubscribe'](),_0x1ecc66['unsubscribe']();};}[_0x4c198e(0x178)](_0x2d7bf5,_0x2e6615,_0x13a187,_0x51a2d1){const _0x1d0249=_0x4c198e,_0x357b82=new _0x20a8d2(_0x2d7bf5)['setAlpha'](0.2)['toRgbString'](),_0x41ef3a=new _0x22732c(Oi+_0x11e118['generateRandomId'](X),{'pointsGroup':_0x2e6615,'fill':_0x357b82||_0x4d699a(_0x2ac219['black'],0.2),'left':_0x13a187,'top':_0x51a2d1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1d0249(0x1f0)][_0x1d0249(0x117)](_0x41ef3a),this['_scene'][_0x1d0249(0x118)](_0x41ef3a,_0x3cf057);}[_0x4c198e(0x19d)](_0x1387c5,_0x4e67a8,_0x238ab1,_0x2fd24f){const _0x14a48d=_0x4c198e,_0xfedd3e=new _0x20a8d2(_0x1387c5)[_0x14a48d(0x1e3)](0.2)[_0x14a48d(0x2ac)](),_0x3f1bd7=new _0x22732c(Ti+_0x11e118[_0x14a48d(0x20b)](X),{'pointsGroup':_0x4e67a8,'fill':_0xfedd3e||_0x4d699a(_0x2ac219[_0x14a48d(0x1bf)],0.2),'left':_0x238ab1,'top':_0x2fd24f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x14a48d(0x1f0)][_0x14a48d(0x117)](_0x3f1bd7),this[_0x14a48d(0xd3)][_0x14a48d(0x118)](_0x3f1bd7,_0x3cf057);}[_0x4c198e(0xf7)](_0x3f2157){const _0x4a1945=_0x3f2157[0x0],_0x33f889=_0x4a1945[0x0],_0x443a6a=_0x4a1945[0x2],{x:_0x109b13,y:_0x1a42e9}=_0x33f889,{x:_0x1d39ce,y:_0x22a3e7}=_0x443a6a;return{'left':_0x109b13,'top':_0x1a42e9,'width':_0x1d39ce-_0x109b13,'height':_0x22a3e7-_0x1a42e9};}[_0x4c198e(0x2cd)](){const _0x5c31d2=_0x4c198e,{scaleX:_0x5b1a07,scaleY:_0x2c10f5}=this[_0x5c31d2(0xd3)]['getAncestorScale']();return Math[_0x5c31d2(0x1e8)](_0x5b1a07,_0x2c10f5);}}var Ui=Object[_0x4c198e(0x1fa)],Mi=(_0x31a348,_0x31fa20,_0x280169,_0x102f8b)=>{for(var _0x4fcc6d=_0x102f8b>0x1?void 0x0:_0x102f8b?Ui(_0x31fa20,_0x280169):_0x31fa20,_0x54d6d5=_0x31a348['length']-0x1,_0x21f6be;_0x54d6d5>=0x0;_0x54d6d5--)(_0x21f6be=_0x31a348[_0x54d6d5])&&(_0x4fcc6d=_0x21f6be(_0x4fcc6d)||_0x4fcc6d);return _0x4fcc6d;},Z=(_0x58844d,_0x23246a)=>(_0x3d0890,_0x5f058e)=>_0x23246a(_0x3d0890,_0x5f058e,_0x58844d);let Pe=class extends _0x146301{constructor(_0x4b4af0,_0x7d4c00,_0x118492,_0x50de6d,_0x6d516c){const _0x5827f1=_0x4c198e;super(),_(this,_0x5827f1(0x164),[]),_(this,_0x5827f1(0x249),[]),(this['_context']=_0x4b4af0,this['_docSkeletonManagerService']=_0x7d4c00,this[_0x5827f1(0xf9)]=_0x118492,this[_0x5827f1(0x29b)]=_0x50de6d,this[_0x5827f1(0x286)]=_0x6d516c,this[_0x5827f1(0x189)]());}[_0x4c198e(0x189)](){const _0x20036a=_0x4c198e,_0x1f2023=this['_context'][_0x20036a(0x2b7)],_0x408657=this[_0x20036a(0x162)];this['disposeWithMe'](_0x45250d([this['_collabCursorController']['getCollabCursors$'](_0x1f2023),this['_themeService'][_0x20036a(0x1e9)]])['pipe'](_0x56e805(([_0x527c74,_0x4818c2])=>({'skeleton':_0x408657[_0x20036a(0x1ba)](),'cursors':[..._0x527c74[_0x20036a(0x2c4)]()][_0x20036a(0x1e5)](_0x3fb292=>({..._0x3fb292,'color':_0x4818c2[_0x3fb292[_0x20036a(0x121)]]}))})))[_0x20036a(0x1c1)](_0x2506c7=>{const _0x5edc7d=_0x20036a;if(this[_0x5edc7d(0x182)](),_0x2506c7){const {skeleton:_0x230968,cursors:_0x1dbea3}=_0x2506c7;this['_updateCollabCursors'](_0x230968,_0x1dbea3);}})),this[_0x20036a(0x168)](),this[_0x20036a(0x256)]();}[_0x4c198e(0x1a7)](_0x5ac63f,_0x12349b){const _0x1ebda9=_0x4c198e,{scene:_0x4b5551,mainComponent:_0x35679f}=this[_0x1ebda9(0x18b)],_0x1f5b43=_0x12349b['map'](_0x5c491e=>new qe(_0x5c491e,_0x4b5551,_0x5ac63f,_0x35679f));this[_0x1ebda9(0x164)]=_0x1f5b43,this[_0x1ebda9(0x249)]=_0x12349b;}[_0x4c198e(0x1c6)](){const _0x1a5054=_0x4c198e;this[_0x1a5054(0x182)]();const {scene:_0x43dbbd,mainComponent:_0x24f6e9}=this[_0x1a5054(0x18b)],_0x979c0=this[_0x1a5054(0x162)]['getSkeleton'](),_0x13ba21=this[_0x1a5054(0x249)]['map'](_0x3d078b=>new qe(_0x3d078b,_0x43dbbd,_0x979c0,_0x24f6e9));this[_0x1a5054(0x164)]=_0x13ba21;}[_0x4c198e(0x182)](){const _0x204c8d=_0x4c198e;this[_0x204c8d(0x164)]['forEach'](_0x569691=>_0x569691[_0x204c8d(0x2aa)]()),this[_0x204c8d(0x164)]=[];}[_0x4c198e(0x256)](){const _0x6656f9=_0x4c198e,_0x22c8e2=[_0x4555a8['id']];this['disposeWithMe'](this[_0x6656f9(0x29b)][_0x6656f9(0x2b3)](_0x40d00f=>{const _0x217e0d=_0x6656f9;_0x22c8e2['includes'](_0x40d00f['id'])&&_0x40d00f['params'][_0x217e0d(0x2b7)]===this[_0x217e0d(0x18b)][_0x217e0d(0x2b7)]&&this[_0x217e0d(0x1c6)]();}));}[_0x4c198e(0x168)](){const _0x280d2a=_0x4c198e;this['disposeWithMe'](_0xf405ef(this['_context'][_0x280d2a(0x29e)]['onTransformChange$'])['pipe'](_0x493186(_0x271cd2=>_0x271cd2[_0x280d2a(0x111)]===_0x117822[_0x280d2a(0x2ad)]),_0xa3f991(0x10))['subscribe'](()=>{const _0x295a79=_0x280d2a;this[_0x295a79(0x1c6)]();}));}};Pe=Mi([Z(0x1,_0x49f398(_0x5c7bdd)),Z(0x2,_0x49f398(H)),Z(0x3,_0x167682),Z(0x4,_0x49f398(_0x1d8a7f))],Pe);const Pi=0x1,wi=1.5;class Li extends _0x1169db{constructor(_0x260397,_0x2ae3a2){const _0x257442=_0x4c198e;super(_0x260397,_0x2ae3a2),_(this,_0x257442(0x1c5)),_(this,_0x257442(0x110),!0x1),_(this,_0x257442(0x199)),_(this,_0x257442(0x119),''),_(this,_0x257442(0x2d6),_0x257442(0x25e)),_(this,_0x257442(0x2d3)),(_0x2ae3a2&&this[_0x257442(0x100)](_0x2ae3a2),this[_0x257442(0x201)][_0x257442(0x1df)](()=>this[_0x257442(0x100)]({'hovered':!0x0})),this[_0x257442(0x129)]['subscribeEvent'](()=>this[_0x257442(0x100)]({'hovered':!0x1})));}['setShapeProps'](_0x9b3f8){const _0x5f56bc=_0x4c198e;var _0x4e58fb,_0x138e3e,_0xa25bf1,_0x2c7d90,_0x4a7f0e,_0x34bdbe;this['_color']=(_0x4e58fb=_0x9b3f8[_0x5f56bc(0x121)])!=null?_0x4e58fb:this[_0x5f56bc(0x1c5)],this[_0x5f56bc(0x110)]=(_0x138e3e=_0x9b3f8[_0x5f56bc(0x1d0)])!=null?_0x138e3e:this['_hovered'],this[_0x5f56bc(0x199)]=(_0xa25bf1=_0x9b3f8[_0x5f56bc(0x294)])!=null?_0xa25bf1:this[_0x5f56bc(0x199)],this[_0x5f56bc(0x119)]=(_0x2c7d90=_0x9b3f8[_0x5f56bc(0x197)])!=null?_0x2c7d90:this[_0x5f56bc(0x119)],this[_0x5f56bc(0x2d6)]=(_0x4a7f0e=_0x9b3f8[_0x5f56bc(0x1fd)])!=null?_0x4a7f0e:this[_0x5f56bc(0x2d6)],this[_0x5f56bc(0x2d3)]=(_0x34bdbe=_0x9b3f8[_0x5f56bc(0x237)])!=null?_0x34bdbe:this['_backgroundColor'],this[_0x5f56bc(0x28d)]({'width':_0x9b3f8[_0x5f56bc(0xfd)],'height':_0x9b3f8['height']});}['onMouseMove'](_0x25abac){const _0x3c5b26=_0x4c198e,{row:_0x18dc8b,column:_0x188a7f}=_0x25abac;if(_0x18dc8b>=this['_range'][_0x3c5b26(0x207)]&&_0x18dc8b<=this[_0x3c5b26(0x199)]['endRow']&&_0x188a7f>=this[_0x3c5b26(0x199)][_0x3c5b26(0x297)]&&_0x188a7f<=this[_0x3c5b26(0x199)][_0x3c5b26(0x27b)]){this[_0x3c5b26(0x100)]({'hovered':!0x0});return;}this[_0x3c5b26(0x100)]({'hovered':!0x1});}[_0x4c198e(0x105)](_0x2fb4c0){return!0x1;}[_0x4c198e(0x1d8)](_0x45bfe8){const _0x1a2199=_0x4c198e;_0x37b73c[_0x1a2199(0xce)](_0x45bfe8,{'width':this['width'],'height':this[_0x1a2199(0x1b2)],'strokeWidth':wi,'stroke':this[_0x1a2199(0x1c5)],'evented':!0x1,'fill':this[_0x1a2199(0x2d3)]}),this[_0x1a2199(0x110)]&&(_0x45bfe8[_0x1a2199(0x1cd)](),_0x45bfe8[_0x1a2199(0x299)](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x1a2199(0x1af)?0x0:-0x14),he['drawWith'](_0x45bfe8,{'text':this[_0x1a2199(0x119)],'color':this[_0x1a2199(0x1c5)]}),_0x45bfe8['restore']());}}var Ai=Object[_0x4c198e(0x1fa)],yi=(_0x975333,_0x2674bb,_0x12b6a8,_0x9223a3)=>{for(var _0x13b570=_0x9223a3>0x1?void 0x0:_0x9223a3?Ai(_0x2674bb,_0x12b6a8):_0x2674bb,_0x52540f=_0x975333['length']-0x1,_0x70404e;_0x52540f>=0x0;_0x52540f--)(_0x70404e=_0x975333[_0x52540f])&&(_0x13b570=_0x70404e(_0x13b570)||_0x13b570);return _0x13b570;},Ie=(_0x49f630,_0x52a901)=>(_0x3fae34,_0x3ae718)=>_0x52a901(_0x3fae34,_0x3ae718,_0x49f630);const $i=0x1389;let we=class extends _0x146301{constructor(_0x25dfac,_0x2f4ece,_0x3296a6,_0x2598c3){const _0x3efbe5=_0x4c198e;super(),_(this,'_cursors',new Set()),_(this,'_lastPointer',null),(this[_0x3efbe5(0x18b)]=_0x25dfac,this['_sheetSkeletonManagerService']=_0x2f4ece,this[_0x3efbe5(0xf9)]=_0x3296a6,this['_themeService']=_0x2598c3,this['_init']());}['_init'](){const _0x96c196=_0x4c198e;this['_sheetSkeletonManagerService'][_0x96c196(0x1d9)][_0x96c196(0x133)](_0x23f5fe(this[_0x96c196(0x172)]),_0x1d30e4(_0x2b1822=>{const _0x693046=_0x96c196;if(_0x2b1822){const _0x5134bd=_0x2b1822['sheetId'];return _0x45250d(this[_0x693046(0xf9)][_0x693046(0x27c)](this[_0x693046(0x18b)]['unitId']),this[_0x693046(0x286)][_0x693046(0x1e9)])[_0x693046(0x133)](_0x56e805(([_0x68791e,_0x10bf6a])=>{const _0x51fcd6=_0x693046,_0x4e3ba3=new Map();return _0x68791e[_0x51fcd6(0xdf)]((_0x2fe551,_0x13c463)=>{const _0x33a664=_0x51fcd6;if(_0x2fe551[_0x33a664(0x1d5)]===_0x5134bd){const _0x16bd0d={..._0x2fe551};_0x16bd0d[_0x33a664(0x121)]=_0x10bf6a[_0x2fe551[_0x33a664(0x121)]],_0x4e3ba3[_0x33a664(0x268)](_0x13c463,_0x16bd0d);}}),{'skeleton':_0x2b1822,'cursors':_0x4e3ba3};}));}return _0xab27dc({'skeleton':null,'cursors':new Map()});}))[_0x96c196(0x1c1)](({skeleton:_0x3b487c,cursors:_0x1e5ff4})=>{const _0x5bab96=_0x96c196;this[_0x5bab96(0x182)](),_0x3b487c&&this[_0x5bab96(0x1a7)](_0x3b487c,_0x1e5ff4);}),this[_0x96c196(0x254)][_0x96c196(0x1d9)][_0x96c196(0x1c1)](_0x388f8b=>{const _0x4248bd=_0x96c196;if(_0x388f8b==null)return;const {skeleton:_0x1329dd}=_0x388f8b,{scene:_0x2624d6}=this[_0x4248bd(0x18b)];_0x2624d6['onPointerMove$'][_0x4248bd(0x1df)](_0x2eb465(_0x253fbe=>{const _0x26672f=_0x4248bd;var _0x4a3bc3,_0x254df5;const {offsetX:_0x56e642,offsetY:_0x105fac}=_0x253fbe,{x:_0xd79bdc,y:_0x109922}=_0x2624d6[_0x26672f(0x176)](_0x397878[_0x26672f(0x22c)]([_0x56e642,_0x105fac])),{scaleX:_0x40eb78,scaleY:_0x6e5d72}=_0x2624d6[_0x26672f(0x272)](),_0x1c743d=_0x2624d6[_0x26672f(0xff)](_0x524d49[_0x26672f(0x1b9)]),_0x32c259=_0x2624d6['getVpScrollXYInfoByPosToVp'](_0x397878[_0x26672f(0x22c)]([_0xd79bdc,_0x109922]),_0x1c743d),_0x5694cd=_0x1329dd[_0x26672f(0x1bc)](_0x56e642,_0x105fac,_0x40eb78,_0x6e5d72,_0x32c259);((_0x4a3bc3=this[_0x26672f(0x177)])==null?void 0x0:_0x4a3bc3[_0x26672f(0x1fe)])===_0x5694cd[_0x26672f(0x1fe)]&&((_0x254df5=this['_lastPointer'])==null?void 0x0:_0x254df5['row'])===_0x5694cd[_0x26672f(0xf6)]||this[_0x26672f(0x249)]['forEach'](_0x32463d=>{const _0x5ca6d9=_0x26672f;_0x32463d[_0x5ca6d9(0x137)](_0x5694cd);});},0x64));});}['_updateCollabCursors'](_0x2659ee,_0x40ead1){const _0x36ccb3=_0x4c198e;var _0x500a6d;const _0x1b9998=(_0x500a6d=this[_0x36ccb3(0x254)]['getCurrent']())==null?void 0x0:_0x500a6d[_0x36ccb3(0x248)];if(!_0x1b9998)return;const _0x17851a=this[_0x36ccb3(0x167)]();if(!_0x17851a)return;this[_0x36ccb3(0x249)][_0x36ccb3(0xdf)](_0x2169f4=>{const _0x1dd7c3=_0x36ccb3;_0x2169f4[_0x1dd7c3(0x102)]();});const {scene:_0x46af85}=_0x17851a,_0x5b5f84=xi(Array[_0x36ccb3(0x1d1)](_0x40ead1['values']()))[_0x36ccb3(0x1e1)](_0x3f8706=>{const _0x205971=_0x36ccb3,{color:_0x2d0add,range:_0xbaa41d,name:_0x378514,selection:_0x12a61f,sheetID:_0x1438c2}=_0x3f8706,{startColumn:_0x27d509,startRow:_0xaa169f,endColumn:_0x1a1f63,endRow:_0x34421d}=_0xbaa41d,_0x42afcf=_0x56cd2b(_0xaa169f,_0x27d509,_0x46af85,_0x1b9998),_0x5ccbc9=_0x56cd2b(_0x34421d,_0x1a1f63,_0x46af85,_0x1b9998),{columnHeaderHeightAndMarginTop:_0x488057}=_0x1b9998,{startX:_0x4532d1,startY:_0x5c2028}=_0x42afcf,{endX:_0x73540f,endY:_0x550d32}=_0x5ccbc9,_0x105f83=_0x73540f-_0x4532d1,_0x16592a=_0x550d32-_0x5c2028,_0x1bcd85={'labelPosition':_0x5c2028-_0x488057>=ee?_0x205971(0x25e):_0x205971(0x1af),'sheetID':_0x1438c2,'range':_0xbaa41d,'color':_0x2d0add,'name':_0x378514,'selection':_0x12a61f,'left':_0x4532d1,'top':_0x5c2028,'width':_0x105f83,'height':_0x16592a,'evented':!0x1,'zIndex':$i};return new Li(_0x378514,_0x1bcd85);});_0x46af85[_0x36ccb3(0x17c)](_0x5b5f84,Pi),this[_0x36ccb3(0x249)]=new Set(_0x5b5f84);}['_removeCollabCursors'](){const _0x1e0b36=_0x4c198e;var _0x262c55;(_0x262c55=this[_0x1e0b36(0x249)])==null||_0x262c55[_0x1e0b36(0xdf)](_0xca4d4e=>_0xca4d4e['dispose']());}['_getSheetObject'](){const _0x150907=_0x4c198e;return _0x3a9b54(this[_0x150907(0x18b)]['unit'],this['_context']);}};we=yi([Ie(0x1,_0x49f398(_0x1fbba9)),Ie(0x2,_0x49f398(H)),Ie(0x3,_0x49f398(_0x1d8a7f))],we);function xi(_0x3f1bf4){const _0x212e0b=_0x4c198e,_0xa4ec31=new Map();return _0x3f1bf4[_0x212e0b(0xdf)](_0x480f74=>{const _0x1bc5fd=_0x212e0b;if(_0xa4ec31[_0x1bc5fd(0x1a6)](_0x480f74[_0x1bc5fd(0x2b5)])){const _0x3ab3cd=_0xa4ec31[_0x1bc5fd(0xfb)](_0x480f74[_0x1bc5fd(0x2b5)]);_0x3ab3cd['name']+=',\x20'+_0x480f74[_0x1bc5fd(0x197)];}else _0xa4ec31[_0x1bc5fd(0x268)](_0x480f74[_0x1bc5fd(0x2b5)],_0x480f74);}),Array[_0x212e0b(0x1d1)](_0xa4ec31[_0x212e0b(0x2c4)]());}var I=function(){const _0xfe847b=_0x4c198e;return I=Object[_0xfe847b(0x22a)]||function(_0x2263ed){const _0x1eab74=_0xfe847b;for(var _0x5594eb,_0x22a1ff=0x1,_0x40ae96=arguments[_0x1eab74(0x13c)];_0x22a1ff<_0x40ae96;_0x22a1ff++){_0x5594eb=arguments[_0x22a1ff];for(var _0x5d4d17 in _0x5594eb)Object[_0x1eab74(0x228)][_0x1eab74(0x159)][_0x1eab74(0x11f)](_0x5594eb,_0x5d4d17)&&(_0x2263ed[_0x5d4d17]=_0x5594eb[_0x5d4d17]);}return _0x2263ed;},I[_0xfe847b(0x2bd)](this,arguments);},Bi=function(_0x256644,_0x469a53){const _0x5c5d2e=_0x4c198e;var _0x15f07b={};for(var _0x40f1ea in _0x256644)Object[_0x5c5d2e(0x228)]['hasOwnProperty'][_0x5c5d2e(0x11f)](_0x256644,_0x40f1ea)&&_0x469a53['indexOf'](_0x40f1ea)<0x0&&(_0x15f07b[_0x40f1ea]=_0x256644[_0x40f1ea]);if(_0x256644!=null&&typeof Object[_0x5c5d2e(0x2c2)]==_0x5c5d2e(0x1c2)){for(var _0x16a87e=0x0,_0x40f1ea=Object[_0x5c5d2e(0x2c2)](_0x256644);_0x16a87e<_0x40f1ea[_0x5c5d2e(0x13c)];_0x16a87e++)_0x469a53['indexOf'](_0x40f1ea[_0x16a87e])<0x0&&Object[_0x5c5d2e(0x228)][_0x5c5d2e(0x226)]['call'](_0x256644,_0x40f1ea[_0x16a87e])&&(_0x15f07b[_0x40f1ea[_0x16a87e]]=_0x256644[_0x40f1ea[_0x16a87e]]);}return _0x15f07b;},je=_0x26063f(function(_0x3de453,_0x18899c){const _0x52edec=_0x4c198e;var _0x377a15=_0x3de453[_0x52edec(0x15a)],_0x4d7fae=_0x3de453['id'],_0x866b55=_0x3de453[_0x52edec(0x1e2)],_0x2de55f=_0x3de453[_0x52edec(0x29d)],_0x1f204a=Bi(_0x3de453,[_0x52edec(0x15a),'id',_0x52edec(0x1e2),_0x52edec(0x29d)]),_0x52ca23=_0x52edec(0xf4)[_0x52edec(0x26b)](_0x4d7fae,'\x20')['concat'](_0x866b55||'')[_0x52edec(0x109)](),_0x3f82ae=_0x5c9076('_'[_0x52edec(0x26b)](ji()));return Rt(_0x377a15,''['concat'](_0x4d7fae),{'defIds':_0x377a15[_0x52edec(0x1cc)],'idSuffix':_0x3f82ae['current']},I({'ref':_0x18899c,'className':_0x52ca23},_0x1f204a),_0x2de55f);});function Rt(_0x5324fa,_0x57a243,_0x24f8c8,_0x2e1982,_0x12edd1){const _0x510979=_0x4c198e;return _0x1822dc(_0x5324fa[_0x510979(0x20c)],I(I({'key':_0x57a243},ki(_0x5324fa,_0x24f8c8,_0x12edd1)),_0x2e1982),(Hi(_0x5324fa,_0x24f8c8)[_0x510979(0x218)]||[])['map'](function(_0x99dcb5,_0x4111c6){const _0x1351b1=_0x510979;return Rt(_0x99dcb5,''['concat'](_0x57a243,'-')[_0x1351b1(0x26b)](_0x5324fa['tag'],'-')[_0x1351b1(0x26b)](_0x4111c6),_0x24f8c8,void 0x0,_0x12edd1);}));}function ki(_0x5c3c9c,_0x1a1261,_0x180b90){const _0x31f997=_0x4c198e;var _0x448501=I({},_0x5c3c9c[_0x31f997(0x251)]);_0x180b90!=null&&_0x180b90[_0x31f997(0x1ac)]&&_0x448501[_0x31f997(0x2ae)]===_0x31f997(0x1ac)&&(_0x448501[_0x31f997(0x2ae)]=_0x180b90['colorChannel1']),_0x5c3c9c[_0x31f997(0x20c)]===_0x31f997(0x1a0)&&_0x448501['id']&&(_0x448501['id']=_0x448501['id']+_0x1a1261[_0x31f997(0x1ee)]),Object[_0x31f997(0x203)](_0x448501)[_0x31f997(0xdf)](function(_0x49cb6d){const _0x272752=_0x31f997;var _0x425e6f=_0x49cb6d[0x0],_0x583dd1=_0x49cb6d[0x1];_0x425e6f===_0x272752(0x1a0)&&typeof _0x583dd1==_0x272752(0x265)&&(_0x448501[_0x425e6f]=_0x583dd1[_0x272752(0x23a)](/url\(#(.*)\)/,_0x272752(0xe8)['concat'](_0x1a1261['idSuffix'],')')));});var _0x24e7d6=_0x1a1261['defIds'];return!_0x24e7d6||_0x24e7d6[_0x31f997(0x13c)]===0x0||(_0x5c3c9c['tag']===_0x31f997(0x281)&&_0x448501['xlink:href']&&(_0x448501[_0x31f997(0x150)]=_0x448501[_0x31f997(0x150)]+_0x1a1261['idSuffix']),Object[_0x31f997(0x203)](_0x448501)[_0x31f997(0xdf)](function(_0x20254a){const _0x44715d=_0x31f997;var _0x3c3ec7=_0x20254a[0x0],_0x22030a=_0x20254a[0x1];typeof _0x22030a=='string'&&(_0x448501[_0x3c3ec7]=_0x22030a[_0x44715d(0x23a)](/url\(#(.*)\)/,_0x44715d(0xe8)[_0x44715d(0x26b)](_0x1a1261['idSuffix'],')')));})),_0x448501;}function Hi(_0x528a6a,_0xec0b1b){const _0x302a39=_0x4c198e;var _0x151189,_0x4cf4c2=_0xec0b1b['defIds'];return!_0x4cf4c2||_0x4cf4c2[_0x302a39(0x13c)]===0x0?_0x528a6a:_0x528a6a['tag']===_0x302a39(0x21e)&&(!((_0x151189=_0x528a6a[_0x302a39(0x218)])===null||_0x151189===void 0x0)&&_0x151189[_0x302a39(0x13c)])?I(I({},_0x528a6a),{'children':_0x528a6a[_0x302a39(0x218)][_0x302a39(0x1e1)](function(_0x3a5a24){const _0x4df05b=_0x302a39;return typeof _0x3a5a24[_0x4df05b(0x251)]['id']=='string'&&_0x4cf4c2&&_0x4cf4c2[_0x4df05b(0x152)](_0x3a5a24[_0x4df05b(0x251)]['id'])>-0x1?I(I({},_0x3a5a24),{'attrs':I(I({},_0x3a5a24[_0x4df05b(0x251)]),{'id':_0x3a5a24['attrs']['id']+_0xec0b1b['idSuffix']})}):_0x3a5a24;})}):_0x528a6a;}function ji(){const _0x56eb0b=_0x4c198e;return Math[_0x56eb0b(0x242)]()[_0x56eb0b(0x239)](0x24)[_0x56eb0b(0x274)](0x2,0x8);}je[_0x4c198e(0x1db)]=_0x4c198e(0x26f);var Wi={'tag':_0x4c198e(0x208),'attrs':{'fill':_0x4c198e(0x132),'viewBox':_0x4c198e(0x19f),'width':_0x4c198e(0x16f),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x4c198e(0x25a)},'children':[{'tag':_0x4c198e(0xe0),'attrs':{'stroke':'currentColor','d':_0x4c198e(0x1bb),'strokeLinecap':_0x4c198e(0x280),'strokeLinejoin':_0x4c198e(0x280),'strokeWidth':1.2}}]},{'tag':_0x4c198e(0x21e),'attrs':{},'children':[{'tag':_0x4c198e(0xea),'attrs':{'id':_0x4c198e(0x275)},'children':[{'tag':_0x4c198e(0xe0),'attrs':{'fill':_0x4c198e(0x233),'d':_0x4c198e(0x1b5)}}]}]}],'defIds':['off-line-single_clip0_910_343']},Dt=_0x26063f(function(_0xbd48fe,_0x177f40){return _0x1822dc(je,Object['assign']({},_0xbd48fe,{'id':'off-line-single','ref':_0x177f40,'icon':Wi}));});Dt[_0x4c198e(0x1db)]=_0x4c198e(0x184);var Fi={'tag':_0x4c198e(0x208),'attrs':{'fill':_0x4c198e(0x132),'viewBox':'0\x200\x2017\x2016','width':_0x4c198e(0x16f),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x4c198e(0xe3)},'children':[{'tag':_0x4c198e(0xe0),'attrs':{'stroke':_0x4c198e(0x195),'d':_0x4c198e(0x2a0),'strokeLinecap':_0x4c198e(0x280),'strokeLinejoin':_0x4c198e(0x280),'strokeWidth':1.2}}]},{'tag':_0x4c198e(0x21e),'attrs':{},'children':[{'tag':_0x4c198e(0xea),'attrs':{'id':_0x4c198e(0x20f)},'children':[{'tag':_0x4c198e(0xe0),'attrs':{'fill':'#fff','d':_0x4c198e(0x1b5),'transform':'translate(.97)'}}]}]}],'defIds':[_0x4c198e(0x20f)]},Nt=_0x26063f(function(_0x55d07d,_0x4817fb){const _0x285605=_0x4c198e;return _0x1822dc(je,Object[_0x285605(0x22a)]({},_0x55d07d,{'id':'on-line-single','ref':_0x4817fb,'icon':Fi}));});Nt[_0x4c198e(0x1db)]='OnLineSingle';function Yi(_0x3161bf){const _0x5579a6=_0x4c198e;switch(_0x3161bf){case _0x3d7c1a[_0x5579a6(0x24f)]:return'collabStatus.offline';case _0x3d7c1a[_0x5579a6(0x1cb)]:return _0x5579a6(0x1f6);case _0x3d7c1a[_0x5579a6(0x27f)]:return'collabStatus.fetchMiss';case _0x3d7c1a[_0x5579a6(0x12d)]:return'collabStatus.notCollab';case _0x3d7c1a[_0x5579a6(0x210)]:case _0x3d7c1a['AWAITING_WITH_PENDING']:return _0x5579a6(0x187);case _0x3d7c1a[_0x5579a6(0x1be)]:case _0x3d7c1a[_0x5579a6(0x188)]:return'collabStatus.synced';}}function Vi(_0x3e01ba){const _0x5806c9=_0x4c198e,{status$:_0x3705ec}=_0x3e01ba,_0x551a6e=_0x191b92(_0x3705ec,_0x3d7c1a[_0x5806c9(0x12d)]),_0x1abbe0=_0x4f1c61(_0x142e9f),_0x4d878f=_0x4f1c61(_0x943f5),_0x4d3a77=_0x551a6e!==_0x3d7c1a[_0x5806c9(0x24f)],_0x188342=_0x1abbe0['t'](Yi(_0x551a6e)),_0x16903e=_0x4d3a77?_0x17a92e(Nt,{}):_0x17a92e(Dt,{}),_0x199662=_0x50b6c2(()=>{const _0x17aa56=_0x5806c9;_0x4d3a77||_0x4d878f[_0x17aa56(0x2b0)]();},[_0x4d3a77,_0x4d878f]);function _0x56071d(){const _0x170475=_0x5806c9;return _0x597857(_0x170475(0x2a5),{'className':_0x170475(0x214),'onClick':_0x199662,'children':[_0x17a92e('div',{'className':_0x282dce(_0x170475(0xe1),_0x4d3a77?_0x170475(0x18c):'univer-text-red-500'),'children':_0x16903e}),_0x17a92e(_0x170475(0x2a5),{'className':_0x170475(0x1d4),'children':_0x188342})]});}return _0x4d3a77?_0x56071d():_0x17a92e(_0x8e9f5c,{'title':_0x1abbe0['t'](_0x5806c9(0x114)),'children':_0x56071d()});}var Xi=Object[_0x4c198e(0x1fa)],Gi=(_0x3e72ea,_0x1cdac5,_0x502dcd,_0x30bc1c)=>{const _0x2d2088=_0x4c198e;for(var _0x8606cb=_0x30bc1c>0x1?void 0x0:_0x30bc1c?Xi(_0x1cdac5,_0x502dcd):_0x1cdac5,_0x4b0178=_0x3e72ea[_0x2d2088(0x13c)]-0x1,_0x3851a3;_0x4b0178>=0x0;_0x4b0178--)(_0x3851a3=_0x3e72ea[_0x4b0178])&&(_0x8606cb=_0x3851a3(_0x8606cb)||_0x8606cb);return _0x8606cb;},Q=(_0x532fbb,_0x458b72)=>(_0xba01d0,_0x1848cc)=>_0x458b72(_0xba01d0,_0x1848cc,_0x532fbb);let te=class extends _0x7630a4{constructor(_0xd26562,_0x2427c8,_0x1e562c,_0x462fa9){const _0x1519c3=_0x4c198e;super(),_(this,_0x1519c3(0x25b),new _0x20d8ec(_0x3d7c1a[_0x1519c3(0x12d)])),(this[_0x1519c3(0x2d4)]=_0xd26562,this['_injector']=_0x2427c8,this[_0x1519c3(0x216)]=_0x1e562c,this[_0x1519c3(0x19b)]=_0x462fa9,this[_0x1519c3(0x2c8)](),this[_0x1519c3(0x125)]());}[_0x4c198e(0x125)](){const _0x562cf3=_0x4c198e;this[_0x562cf3(0xdc)](this[_0x562cf3(0x2d4)]['focused$'][_0x562cf3(0x133)](_0x49b168(()=>{const _0x4b8a0f=_0x562cf3,_0x3f23df=this['_univerInstanceService'][_0x4b8a0f(0x213)]();return _0x3f23df?this[_0x4b8a0f(0x216)][_0x4b8a0f(0x16a)](_0x3f23df['getUnitId']()):_0xab27dc(null);}),_0x49b168(_0x4c75a3=>_0x4c75a3?_0x4c75a3['status$']:_0xab27dc(_0x3d7c1a[_0x562cf3(0x12d)])))[_0x562cf3(0x1c1)](_0x44c719=>{const _0x226c49=_0x562cf3;this[_0x226c49(0x25b)]['next'](_0x44c719);}));}['_initStatusComponent'](){const _0x15e32a=_0x4c198e;this['disposeWithMe'](this[_0x15e32a(0x19b)]['registerComponent'](_0x4bbbc9['HEADER_MENU'],()=>_0xd83060(Ki({'status$':this['_status$'][_0x15e32a(0x10b)]()}),this[_0x15e32a(0x127)])));}};te=Gi([Q(0x0,_0x1acba7),Q(0x1,_0x49f398(_0x1afadf)),Q(0x2,_0x49f398(_0x370053)),Q(0x3,_0x624a63)],te);function Ki(_0x4c3599){const {status$:_0x16da6f}=_0x4c3599;return function(){return _0x17a92e(Vi,{'status$':_0x16da6f});};}var zi=Object['getOwnPropertyDescriptor'],Ji=(_0x21d8db,_0x3c6f57,_0x24aa33,_0x146a5b)=>{const _0x28580e=_0x4c198e;for(var _0x11a67c=_0x146a5b>0x1?void 0x0:_0x146a5b?zi(_0x3c6f57,_0x24aa33):_0x3c6f57,_0x205b04=_0x21d8db[_0x28580e(0x13c)]-0x1,_0x26ceee;_0x205b04>=0x0;_0x205b04--)(_0x26ceee=_0x21d8db[_0x205b04])&&(_0x11a67c=_0x26ceee(_0x11a67c)||_0x11a67c);return _0x11a67c;},B=(_0x4f0047,_0x1d9bb4)=>(_0x12c40f,_0x3a29b7)=>_0x1d9bb4(_0x12c40f,_0x3a29b7,_0x4f0047);let se=class extends _0x7630a4{constructor(_0x51fc0a,_0x3afe69,_0x301e09,_0x3260a1,_0x481f6b,_0x58cfd8){const _0x4ddebf=_0x4c198e;super(),this[_0x4ddebf(0x1f4)]=_0x51fc0a,this['_localCacheService']=_0x3afe69,this[_0x4ddebf(0x1c7)]=_0x301e09,this['_messageService']=_0x3260a1,this[_0x4ddebf(0x1a3)]=_0x481f6b,this[_0x4ddebf(0x17d)]=_0x58cfd8,this[_0x4ddebf(0xd0)](),this[_0x4ddebf(0x236)]();}['_setupBeforeClosingHandler'](){const _0x43a44d=_0x4c198e;this[_0x43a44d(0xdc)](this[_0x43a44d(0x1f4)][_0x43a44d(0x1c9)](()=>{const _0x408b38=_0x43a44d;if(this['_localCacheService'][_0x408b38(0xe7)][_0x408b38(0x227)])return this['_localeService']['t']('collaboration-client.offline-data-not-saved');}));}[_0x4c198e(0x236)](){const _0x2da7e6=_0x4c198e;this[_0x2da7e6(0xdc)](this[_0x2da7e6(0x1c7)]['event$'][_0x2da7e6(0x1c1)](_0x52f5ce=>{const _0x482ae0=_0x2da7e6;_0x52f5ce['id']===_0x268985[_0x482ae0(0x116)]&&this[_0x482ae0(0xec)]['show']({'type':_0x1b45b0['Warning'],'content':this['_localeService']['t'](_0x482ae0(0x11e))}),_0x52f5ce['id']===_0x268985[_0x482ae0(0x183)]&&this[_0x482ae0(0xec)]['show']({'type':_0x1b45b0[_0x482ae0(0xe9)],'content':this[_0x482ae0(0x17d)]['t']('collaboration.closeRoom')}),_0x52f5ce['id']===_0x268985[_0x482ae0(0x146)]&&this[_0x482ae0(0x1a3)][_0x482ae0(0x1b6)]({'title':this[_0x482ae0(0x17d)]['t'](_0x482ae0(0x1d2)),'content':this[_0x482ae0(0x17d)]['t']('permission.content'),'type':_0x482ae0(0x12e),'duration':0x0}),_0x52f5ce['id']===_0x268985[_0x482ae0(0x1cb)]&&this[_0x482ae0(0xec)]['show']({'type':_0x1b45b0[_0x482ae0(0x122)],'content':this['_localeService']['t'](_0x482ae0(0x12c))+'('+_0x52f5ce[_0x482ae0(0x2ca)]+')'}),_0x52f5ce['id']===_0x268985[_0x482ae0(0x1b0)]&&this['_messageService']['show']({'type':_0x1b45b0[_0x482ae0(0xe9)],'content':this['_localeService']['t'](_0x52f5ce[_0x482ae0(0x2ca)]||'')}),_0x52f5ce['id']===_0x268985[_0x482ae0(0x252)]&&this[_0x482ae0(0xec)][_0x482ae0(0x1b6)]({'type':_0x1b45b0[_0x482ae0(0xe9)],'content':this['_localeService']['t']('session.will-retry')}),_0x52f5ce['id']===_0x268985[_0x482ae0(0x1b8)]&&this[_0x482ae0(0xec)][_0x482ae0(0x1b6)]({'type':_0x1b45b0[_0x482ae0(0x122)],'content':this[_0x482ae0(0x17d)]['t'](_0x482ae0(0x11c))}),_0x52f5ce['id']===_0x268985[_0x482ae0(0x16c)]&&this[_0x482ae0(0xec)][_0x482ae0(0x1b6)]({'type':_0x1b45b0[_0x482ae0(0x122)],'content':this[_0x482ae0(0x17d)]['t'](_0x482ae0(0x290))});}));}};se=Ji([B(0x0,_0x1d36be),B(0x1,_0x5f4338),B(0x2,_0x49f398(_0x3c635e)),B(0x3,_0x3e1731),B(0x4,_0x592e82),B(0x5,_0x49f398(_0x142e9f))],se);const Zi=_0x4c198e(0x2be),et={},Ut=_0x26fbbb('uni.network.url-service');var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x1c7dc1,_0x35531e,_0x86e0a1,_0x10e67a)=>{const _0xbdc6f3=_0x4c198e;for(var _0x379b2c=_0x10e67a>0x1?void 0x0:_0x10e67a?Qi(_0x35531e,_0x86e0a1):_0x35531e,_0xd14895=_0x1c7dc1[_0xbdc6f3(0x13c)]-0x1,_0x13b1bb;_0xd14895>=0x0;_0xd14895--)(_0x13b1bb=_0x1c7dc1[_0xd14895])&&(_0x379b2c=_0x13b1bb(_0x379b2c)||_0x379b2c);return _0x379b2c;},G=(_0x1e2e90,_0x554a41)=>(_0x3c461c,_0x184398)=>_0x554a41(_0x3c461c,_0x184398,_0x1e2e90);let ie=class extends _0x146301{constructor(_0x19bacf,_0x34fe4f,_0x59d1c7,_0x552aa2,_0x106bf8){const _0x1eafa7=_0x4c198e;super(),this[_0x1eafa7(0x28e)]=_0x19bacf,this['_logService']=_0x34fe4f,this[_0x1eafa7(0x29b)]=_0x59d1c7,this[_0x1eafa7(0x108)]=_0x552aa2,_0x106bf8?_0x106bf8==null||_0x106bf8[_0x1eafa7(0x106)]()[_0x1eafa7(0x13e)](()=>this[_0x1eafa7(0x189)]()):(this[_0x1eafa7(0x123)]['debug'](_0x1eafa7(0x1a2),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x1eafa7(0x189)]());}async['_init'](){const _0x550cb5=_0x4c198e,_0x1f7da1=this[_0x550cb5(0x28e)][_0x550cb5(0xcf)](_0x550cb5(0x144)),_0x2b999e=this[_0x550cb5(0x28e)][_0x550cb5(0xcf)](_0x550cb5(0x111)),_0x2c21f8=this[_0x550cb5(0x28e)]['getParam'](_0x550cb5(0x24e));if(!_0x1f7da1||!_0x2b999e){this[_0x550cb5(0x123)][_0x550cb5(0xfc)]('[CollaborationDataLoaderController]',_0x550cb5(0x27e));return;}const _0x1aca98=await this[_0x550cb5(0x108)][_0x550cb5(0x244)](_0x1f7da1,Number(_0x2b999e),_0x2c21f8);_0x1aca98&&_0x1aca98 instanceof _0x9c45fd&&this[_0x550cb5(0x1aa)](_0x1aca98);}async['_setupSubUnitSync'](_0x15480c){const _0x1dc804=_0x4c198e;await this[_0x1dc804(0x29f)](_0x15480c),_0x15480c[_0x1dc804(0x2d1)][_0x1dc804(0x133)](_0x3ce21b(this[_0x1dc804(0x172)]))[_0x1dc804(0x1c1)](_0xf8f760=>{const _0x33c716=_0x1dc804;_0xf8f760&&this[_0x33c716(0x1b7)](_0xf8f760);}),this[_0x1dc804(0x28e)][_0x1dc804(0xda)][_0x1dc804(0x133)](_0x3ce21b(this[_0x1dc804(0x172)]))[_0x1dc804(0x1c1)](()=>this[_0x1dc804(0x29f)](_0x15480c));}[_0x4c198e(0x1b7)](_0x194586,_0x251fbb=!0x1){const _0x161919=_0x4c198e,_0x4dc20e=this[_0x161919(0x28e)]['getParam'](_0x161919(0x24e));_0x194586[_0x161919(0x17b)]()!==_0x4dc20e&&this['_urlService'][_0x161919(0x15e)](_0x161919(0x24e),_0x194586['getSheetId'](),_0x251fbb);}async[_0x4c198e(0x29f)](_0xa62c3){const _0x2396c4=_0x4c198e;var _0x2cc742;const _0x40d507=this[_0x2396c4(0x28e)][_0x2396c4(0xcf)](_0x2396c4(0x24e));if(!_0x40d507||!_0xa62c3[_0x2396c4(0x23e)](_0x40d507)){const _0x586ca2=_0xa62c3[_0x2396c4(0x206)]()[0x0],_0x300f42=_0xa62c3[_0x2396c4(0x23e)](_0x586ca2);if(!_0x300f42)return;this['_updateURLWithCurrentState'](_0x300f42,!0x0),await this[_0x2396c4(0x29b)][_0x2396c4(0x120)](_0x9e9e43['id'],{'unitId':_0xa62c3['getUnitId'](),'subUnitId':_0x586ca2});return;}((_0x2cc742=_0xa62c3[_0x2396c4(0x28c)]())==null?void 0x0:_0x2cc742[_0x2396c4(0x17b)]())!==_0x40d507&&await this[_0x2396c4(0x29b)][_0x2396c4(0x120)](_0x9e9e43['id'],{'unitId':_0xa62c3[_0x2396c4(0x2a1)](),'subUnitId':_0x40d507});}};function _0x4497(_0x937c2,_0x4180af){const _0x496d3f=_0x496d();return _0x4497=function(_0x44977e,_0x3d5f34){_0x44977e=_0x44977e-0xce;let _0x5d0e2f=_0x496d3f[_0x44977e];return _0x5d0e2f;},_0x4497(_0x937c2,_0x4180af);}ie=qi([G(0x0,Ut),G(0x1,_0x445b5c),G(0x2,_0x167682),G(0x3,_0x49f398(_0x441cd1)),G(0x4,_0x29f068(_0x378366))],ie);var en=Object[_0x4c198e(0x1fa)],tn=(_0x365a90,_0x475d13,_0xbf5490,_0x2ca60d)=>{const _0x5a1158=_0x4c198e;for(var _0xbaf9e3=_0x2ca60d>0x1?void 0x0:_0x2ca60d?en(_0x475d13,_0xbf5490):_0x475d13,_0x2b2cad=_0x365a90[_0x5a1158(0x13c)]-0x1,_0x12595e;_0x2b2cad>=0x0;_0x2b2cad--)(_0x12595e=_0x365a90[_0x2b2cad])&&(_0xbaf9e3=_0x12595e(_0xbaf9e3)||_0xbaf9e3);return _0xbaf9e3;},pe=(_0x4823eb,_0x191f75)=>(_0x27eb2f,_0x318a7f)=>_0x191f75(_0x27eb2f,_0x318a7f,_0x4823eb);let ne=class{constructor(_0x608f06,_0xb3a574,_0x426ad0){const _0x4505ed=_0x4c198e;this[_0x4505ed(0x127)]=_0x608f06,this[_0x4505ed(0x138)]=_0xb3a574,this[_0x4505ed(0x13b)]=_0x426ad0;}[_0x4c198e(0x190)](_0x5f38da){const _0x5728f4=_0x4c198e;this[_0x5728f4(0x25d)](_0x5f38da),this[_0x5728f4(0x2c9)](_0x5f38da);}[_0x4c198e(0x175)](_0x251539){const _0x5ec430=_0x4c198e,{unitID:_0x24713d}=_0x251539,_0x100053=this[_0x5ec430(0x13b)]['getRenderById'](_0x24713d)['with'](_0x4be6bd),{redoCache:_0x91717a}=_0x100053[_0x5ec430(0xf8)]();if(_0x91717a[_0x5ec430(0x13c)]===0x0)return _0x251539;let _0x269857=_0x11e118[_0x5ec430(0x2c1)](_0x251539[_0x5ec430(0x2b9)][0x0]);for(let _0x23bc00=0x0;_0x23bc00<_0x91717a[_0x5ec430(0x13c)];_0x23bc00++){const _0x29ac05={'id':'doc.mutation.rich-text-editing','params':{..._0x91717a[_0x23bc00]}},_0x76ea5f=this['_transformService'][_0x5ec430(0x289)](_0x269857,_0x29ac05,!0x1);if(_0x3a621e(_0x76ea5f))throw _0x76ea5f[_0x5ec430(0x12e)];_0x269857=_0x76ea5f['m1Prime'];}return{..._0x11e118[_0x5ec430(0x2c1)](_0x251539),'mutations':[_0x269857]};}[_0x4c198e(0x25d)](_0x5c9a50){const _0xaa3ace=_0x4c198e,{unitID:_0x3fb675}=_0x5c9a50,_0x56a98e=this[_0xaa3ace(0x13b)][_0xaa3ace(0x2bf)](_0x3fb675)[_0xaa3ace(0x243)](_0x4be6bd),{undoCache:_0x777d2,redoCache:_0x146c82}=_0x56a98e[_0xaa3ace(0xf8)]();if(_0x777d2[_0xaa3ace(0x13c)]===0x0||_0x146c82[_0xaa3ace(0x13c)]===0x0)return;const _0x5f7bf=[],_0x43b490=[];let _0x2d5377=_0x11e118[_0xaa3ace(0x2c1)](_0x5c9a50['mutations'][0x0]),_0x3268f2=_0x11e118['deepClone'](_0x5c9a50[_0xaa3ace(0x2b9)][0x0]);for(let _0xded06a=_0x777d2[_0xaa3ace(0x13c)]-0x1;_0xded06a>=0x0;_0xded06a--){const _0x4682d8={'id':'doc.mutation.rich-text-editing','params':{..._0x777d2[_0xded06a]}},_0x26fd67={'id':_0xaa3ace(0x2d5),'params':{..._0x146c82[_0xded06a]}},_0x4ed968=this[_0xaa3ace(0x138)][_0xaa3ace(0x289)](_0x2d5377,_0x4682d8,!0x1),_0x339cf9=this['_transformService'][_0xaa3ace(0x289)](_0x3268f2,_0x26fd67,!0x1);if(_0x3a621e(_0x4ed968))throw _0x4ed968[_0xaa3ace(0x12e)];if(_0x3a621e(_0x339cf9))throw _0x339cf9[_0xaa3ace(0x12e)];_0x5f7bf[_0xaa3ace(0x258)](_0x4ed968[_0xaa3ace(0x140)][_0xaa3ace(0x10e)]),_0x43b490[_0xaa3ace(0x258)](_0x339cf9['m2Prime'][_0xaa3ace(0x10e)]),_0x2d5377=_0x4ed968[_0xaa3ace(0x287)],_0x3268f2=_0x339cf9['m1Prime'];}_0x56a98e['setUndoRedoMutationParamsCache']({'undoCache':_0x5f7bf,'redoCache':_0x43b490});}[_0x4c198e(0x2c9)](_0x4271c7){const _0x35b552=_0x4c198e,{unitID:_0x1ecc26}=_0x4271c7,_0x2e31e9=this['_renderManagerService'][_0x35b552(0x2bf)](_0x1ecc26)[_0x35b552(0x243)](_0x4be6bd),_0xa32259=_0x2e31e9[_0x35b552(0x115)]();if(_0xa32259==null)return;const _0x4934bb=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4271c7[_0x35b552(0x291)],'actions':null,'textRanges':[_0xa32259]}}],_0xb22502=this[_0x35b552(0x138)][_0x35b552(0x20a)](_0x4271c7,_0x4934bb);if(!_0x2e54a4(_0xb22502))throw _0xb22502[_0x35b552(0x12e)];const _0x191759=_0xb22502[_0x35b552(0x140)][0x0]['params'][_0x35b552(0x235)];Array['isArray'](_0x191759)&&_0x191759[_0x35b552(0x13c)]&&_0x2e31e9[_0x35b552(0x169)](_0x191759[0x0]);}};ne=tn([pe(0x0,_0x49f398(_0x1afadf)),pe(0x1,_0x14357d),pe(0x2,_0x414d16)],ne);var sn=Object[_0x4c198e(0x1fa)],nn=(_0x4a889a,_0xc44670,_0x48a8a7,_0x187ba7)=>{const _0x1fabfb=_0x4c198e;for(var _0x2f2a4b=_0x187ba7>0x1?void 0x0:_0x187ba7?sn(_0xc44670,_0x48a8a7):_0xc44670,_0x25784a=_0x4a889a[_0x1fabfb(0x13c)]-0x1,_0x2385d8;_0x25784a>=0x0;_0x25784a--)(_0x2385d8=_0x4a889a[_0x25784a])&&(_0x2f2a4b=_0x2385d8(_0x2f2a4b)||_0x2f2a4b);return _0x2f2a4b;},Ce=(_0x42e940,_0x4fc019)=>(_0x291de8,_0x24a8b0)=>_0x4fc019(_0x291de8,_0x24a8b0,_0x42e940);let re=class{constructor(_0x538287,_0x67cd83,_0x1bfb4c){const _0x5686b8=_0x4c198e;this[_0x5686b8(0x127)]=_0x538287,this[_0x5686b8(0x138)]=_0x67cd83,this[_0x5686b8(0x2bc)]=_0x1bfb4c;}[_0x4c198e(0x29a)](_0x19815d){const _0x489f30=_0x4c198e;this[_0x489f30(0x2da)](_0x19815d);}[_0x4c198e(0x175)](_0x8beb5){const _0x5c4fdb=_0x4c198e,{unitID:_0x464095}=_0x8beb5,{collaboration:_0xbebba5}=this['_docStateChangeManagerService'][_0x5c4fdb(0x18f)](_0x464095);if(_0xbebba5[_0x5c4fdb(0x13c)]===0x0)return _0x8beb5;let _0x52062d=_0x11e118[_0x5c4fdb(0x2c1)](_0x8beb5[_0x5c4fdb(0x2b9)][0x0]);for(let _0x47fa2d=0x0;_0x47fa2d<_0xbebba5['length'];_0x47fa2d++){const _0x70b374={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xbebba5[_0x47fa2d][_0x5c4fdb(0x2b7)],..._0xbebba5[_0x47fa2d][_0x5c4fdb(0x1a9)]}},_0x56b630=this['_transformService']['transformMutation'](_0x52062d,_0x70b374,!0x1);if(_0x3a621e(_0x56b630))throw _0x56b630[_0x5c4fdb(0x12e)];_0x52062d=_0x56b630[_0x5c4fdb(0x287)];}return{..._0x11e118['deepClone'](_0x8beb5),'mutations':[_0x52062d]};}[_0x4c198e(0x2da)](_0x2d6ca6){const _0x375311=_0x4c198e,{unitID:_0x19573c}=_0x2d6ca6,{history:_0x8b4d00,collaboration:_0x455b1f}=this[_0x375311(0x2bc)][_0x375311(0x18f)](_0x19573c);if(_0x8b4d00['length']===0x0&&_0x455b1f['length']===0x0)return;const _0x3d2039=[],_0x398a3a=[];let _0xf82fcb=_0x11e118[_0x375311(0x2c1)](_0x2d6ca6[_0x375311(0x2b9)][0x0]),_0x2fe48b=_0x11e118[_0x375311(0x2c1)](_0x2d6ca6[_0x375311(0x2b9)][0x0]);for(let _0x338370=_0x8b4d00[_0x375311(0x13c)]-0x1;_0x338370>=0x0;_0x338370--){const _0x3c03a7={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x8b4d00[_0x338370]['unitId'],..._0x8b4d00[_0x338370][_0x375311(0x141)]}},_0x8edb9b={'id':_0x375311(0x2d5),'params':{'unitId':_0x8b4d00[_0x338370]['unitId'],..._0x8b4d00[_0x338370][_0x375311(0x1a9)]}},_0x5b109d=this[_0x375311(0x138)]['transformMutation'](_0xf82fcb,_0x3c03a7,!0x1),_0x138819=this[_0x375311(0x138)]['transformMutation'](_0x2fe48b,_0x8edb9b,!0x1);if(_0x3a621e(_0x5b109d))throw _0x5b109d[_0x375311(0x12e)];if(_0x3a621e(_0x138819))throw _0x138819[_0x375311(0x12e)];_0x3d2039['unshift']({..._0x8b4d00[_0x338370],'undoState':_0x5b109d[_0x375311(0x140)][_0x375311(0x10e)],'redoState':_0x138819[_0x375311(0x140)][_0x375311(0x10e)]}),_0xf82fcb=_0x5b109d['m1Prime'],_0x2fe48b=_0x138819['m1Prime'];}_0xf82fcb=_0x11e118[_0x375311(0x2c1)](_0x2d6ca6[_0x375311(0x2b9)][0x0]),_0x2fe48b=_0x11e118[_0x375311(0x2c1)](_0x2d6ca6[_0x375311(0x2b9)][0x0]);for(let _0x27614e=_0x455b1f[_0x375311(0x13c)]-0x1;_0x27614e>=0x0;_0x27614e--){const _0x5eba2e={'id':_0x375311(0x2d5),'params':{'unitId':_0x455b1f[_0x27614e]['unitId'],..._0x455b1f[_0x27614e][_0x375311(0x141)]}},_0x223fec={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x455b1f[_0x27614e][_0x375311(0x2b7)],..._0x455b1f[_0x27614e][_0x375311(0x1a9)]}},_0x3c9d0b=this[_0x375311(0x138)][_0x375311(0x289)](_0xf82fcb,_0x5eba2e,!0x1),_0x5bdfa8=this[_0x375311(0x138)][_0x375311(0x289)](_0x2fe48b,_0x223fec,!0x1);if(_0x3a621e(_0x3c9d0b))throw _0x3c9d0b[_0x375311(0x12e)];if(_0x3a621e(_0x5bdfa8))throw _0x5bdfa8['error'];_0x398a3a['unshift']({..._0x455b1f[_0x27614e],'undoState':_0x3c9d0b['m2Prime'][_0x375311(0x10e)],'redoState':_0x5bdfa8[_0x375311(0x140)][_0x375311(0x10e)]}),_0xf82fcb=_0x3c9d0b[_0x375311(0x287)],_0x2fe48b=_0x5bdfa8[_0x375311(0x287)];}this['_docStateChangeManagerService'][_0x375311(0x220)](_0x19573c,{'history':_0x3d2039,'collaboration':_0x398a3a});}};re=nn([Ce(0x0,_0x49f398(_0x1afadf)),Ce(0x1,_0x14357d),Ce(0x2,_0x49f398(_0x26ce67))],re);var rn=Object[_0x4c198e(0x1fa)],on=(_0xf92a07,_0x198cc1,_0xe19f63,_0x8429c6)=>{const _0x300868=_0x4c198e;for(var _0xe86634=_0x8429c6>0x1?void 0x0:_0x8429c6?rn(_0x198cc1,_0xe19f63):_0x198cc1,_0x557df4=_0xf92a07[_0x300868(0x13c)]-0x1,_0x386a32;_0x557df4>=0x0;_0x557df4--)(_0x386a32=_0xf92a07[_0x557df4])&&(_0xe86634=_0x386a32(_0xe86634)||_0xe86634);return _0xe86634;},tt=(_0x4fe63d,_0x1a9321)=>(_0x1dcf95,_0x674ae5)=>_0x1a9321(_0x1dcf95,_0x674ae5,_0x4fe63d);let oe=class{constructor(_0x2d7992,_0x2219cd){const _0x28d837=_0x4c198e;this[_0x28d837(0x127)]=_0x2d7992,this['_transformService']=_0x2219cd;}[_0x4c198e(0x136)](_0x377efd){const _0x3e4f30=_0x4c198e;var _0x4911bf;const _0x4d8d24=this[_0x3e4f30(0x127)][_0x3e4f30(0xfb)](_0x5287a1),_0xfafff5=(_0x4911bf=_0x4d8d24[_0x3e4f30(0x10a)]())!=null?_0x4911bf:[];if(_0xfafff5['length']===0x0)return;const _0x1fef41=_0x377efd['unitID'],_0x48068d=[{'id':_0x3e4f30(0x2d5),'params':{'unitId':_0x1fef41,'actions':null,'textRanges':_0xfafff5}}],_0x434c0b=this['_transformService'][_0x3e4f30(0x20a)](_0x377efd,_0x48068d);if(!_0x2e54a4(_0x434c0b))throw _0x434c0b[_0x3e4f30(0x12e)];const _0x746bb0=_0x434c0b['m2Prime'][0x0][_0x3e4f30(0x10e)][_0x3e4f30(0x235)];Array['isArray'](_0x746bb0)&&_0x746bb0[_0x3e4f30(0x13c)]&&_0x4d8d24[_0x3e4f30(0x1ad)](_0x746bb0,{'unitId':_0x1fef41,'subUnitId':_0x1fef41},!0x1);}};oe=on([tt(0x0,_0x49f398(_0x1afadf)),tt(0x1,_0x14357d)],oe);var an=Object[_0x4c198e(0x1fa)],cn=(_0x147b61,_0x2e9a0d,_0x2141ef,_0x1c9bf1)=>{const _0x195dba=_0x4c198e;for(var _0x58f1df=_0x1c9bf1>0x1?void 0x0:_0x1c9bf1?an(_0x2e9a0d,_0x2141ef):_0x2e9a0d,_0x26d02c=_0x147b61[_0x195dba(0x13c)]-0x1,_0x310529;_0x26d02c>=0x0;_0x26d02c--)(_0x310529=_0x147b61[_0x26d02c])&&(_0x58f1df=_0x310529(_0x58f1df)||_0x58f1df);return _0x58f1df;},U=(_0x4aedce,_0x1eb4e7)=>(_0x892a9a,_0x17afb5)=>_0x1eb4e7(_0x892a9a,_0x17afb5,_0x4aedce);let ae=class extends _0x7630a4{constructor(_0x1b3bc6,_0x1a2372,_0x54e2ea,_0x40f19f,_0x12037b,_0xf823c9,_0x912c69,_0x3f50e0){const _0x4031c9=_0x4c198e;super(),_(this,_0x4031c9(0x25b),new _0x20d8ec(_0x3d7c1a[_0x4031c9(0x12d)])),(this[_0x4031c9(0x2bc)]=_0x1b3bc6,this[_0x4031c9(0x216)]=_0x1a2372,this['_docTransformIMECacheService']=_0x54e2ea,this[_0x4031c9(0x14e)]=_0x40f19f,this[_0x4031c9(0x135)]=_0x12037b,this[_0x4031c9(0x147)]=_0xf823c9,this['_messageService']=_0x912c69,this[_0x4031c9(0x17d)]=_0x3f50e0,this['_initEntityListener']());}['_initEntityListener'](){const _0x19aa5f=_0x4c198e;this[_0x19aa5f(0xdc)](this[_0x19aa5f(0x216)][_0x19aa5f(0x1a8)][_0x19aa5f(0x1c1)](_0x2cc01a=>{const _0x461cf9=_0x19aa5f,_0x547e79=this[_0x461cf9(0x2bc)][_0x461cf9(0x23f)][_0x461cf9(0x1c1)](_0x4ebceb=>{const _0x31c26c=_0x461cf9;if(_0x4ebceb==null)return;const {unitId:_0x17ba7b,redoState:_0xe0d08b,commandId:_0x4dedd4}=_0x4ebceb;if(_0x17ba7b!==_0x2cc01a['unitID'])return;const _0x47c182={'id':_0x4dedd4,'type':_0x110e67[_0x31c26c(0x16e)],'params':{'unitId':_0x17ba7b,'actions':_0xe0d08b[_0x31c26c(0x1cf)],'textRanges':null}};_0x2cc01a[_0x31c26c(0x22e)](_0x47c182);});if(_0x2cc01a['disposeWithMe'](_0x547e79),_0x2cc01a instanceof _0x400eda){const _0x422780={'onTransformIME':_0x2feacd=>this[_0x461cf9(0x128)]['transformIMECache'](_0x2feacd),'onTransformState':_0x2a0c74=>this[_0x461cf9(0x14e)][_0x461cf9(0x29a)](_0x2a0c74),'onTransformSelections':_0x196d28=>this[_0x461cf9(0x135)][_0x461cf9(0x136)](_0x196d28),'onSyncEditingCollabCursor':_0x7c6466=>this[_0x461cf9(0x147)]['syncEditingCollabCursor'](_0x7c6466),'onTransformRemoteChangesetByIMECache':_0x2d9c12=>this[_0x461cf9(0x128)]['transformRemoteChangeset'](_0x2d9c12),'onTransformRemoteChangesetByStateCache':_0x193453=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x193453)};_0x2cc01a[_0x461cf9(0x257)](_0x422780);}}));}};ae=cn([U(0x0,_0x49f398(_0x26ce67)),U(0x1,_0x49f398(_0x370053)),U(0x2,_0x49f398(ne)),U(0x3,_0x49f398(re)),U(0x4,_0x49f398(oe)),U(0x5,_0x49f398(He)),U(0x6,_0x3e1731),U(0x7,_0x49f398(_0x142e9f))],ae);var ln=Object[_0x4c198e(0x1fa)],_n=(_0xab2407,_0x485d98,_0x25bfc8,_0x2b95d1)=>{const _0x211269=_0x4c198e;for(var _0x2198d4=_0x2b95d1>0x1?void 0x0:_0x2b95d1?ln(_0x485d98,_0x25bfc8):_0x485d98,_0x1dc9f1=_0xab2407[_0x211269(0x13c)]-0x1,_0x117f75;_0x1dc9f1>=0x0;_0x1dc9f1--)(_0x117f75=_0xab2407[_0x1dc9f1])&&(_0x2198d4=_0x117f75(_0x2198d4)||_0x2198d4);return _0x2198d4;},Ee=(_0x50267e,_0x5c534f)=>(_0x565e52,_0x214a7d)=>_0x5c534f(_0x565e52,_0x214a7d,_0x50267e);let Le=class extends _0x7630a4{constructor(_0x140dcc,_0x2a24f0,_0x454564){const _0x3ec50a=_0x4c198e;super(),_(this,'_cachedData',new Map()),_(this,_0x3ec50a(0x143),new Map()),_(this,_0x3ec50a(0x145),!0x1),(this[_0x3ec50a(0x131)]=_0x140dcc,this['_localStorageService']=_0x2a24f0,this[_0x3ec50a(0x1d6)]=_0x454564);}[_0x4c198e(0x18d)](){const _0x5956ec=_0x4c198e;this[_0x5956ec(0x145)]=!0x0;}[_0x4c198e(0x171)](){this['_disabled']=!0x1;}get[_0x4c198e(0xe7)](){const _0x3d0df1=_0x4c198e;return this[_0x3d0df1(0x143)];}['dispose'](){const _0x4345a6=_0x4c198e;this['exhaustSavingTask']()[_0x4345a6(0x13e)](()=>super[_0x4345a6(0x2aa)]());}async[_0x4c198e(0x21a)](_0x1ee8ed){const _0x49237a=_0x4c198e;return this[_0x49237a(0x145)]?null:this[_0x49237a(0x212)][_0x49237a(0x16d)](_0x3968f6(_0x1ee8ed));}async[_0x4c198e(0x1d7)](_0x287a0d,_0x21ad48){return!!this['_localStorageService']['setItem'](_0x287a0d,_0x21ad48);}[_0x4c198e(0x2b1)](_0x2f2a3b,_0x439baa,_0x434a42,_0x2d934c){const _0x567fda=_0x4c198e,_0x76fe3c=this[_0x567fda(0x1d6)][_0x567fda(0x1f3)](_0x2f2a3b);this['_cachedData'][_0x567fda(0x268)](_0x2f2a3b,{'unitID':_0x2f2a3b,'type':_0x439baa,'awaitingChangeset':_0x434a42,'mutations':_0x2d934c,'rev':_0x76fe3c}),this[_0x567fda(0x143)][_0x567fda(0x1a6)](_0x2f2a3b)||this[_0x567fda(0x192)](_0x2f2a3b);}[_0x4c198e(0x192)](_0x32836a){const _0x21717c=_0x4c198e,_0x23dbba=this[_0x21717c(0x148)]();_0x23dbba===0x0?this[_0x21717c(0x1f8)](_0x32836a):this[_0x21717c(0x143)][_0x21717c(0x268)](_0x32836a,setTimeout(()=>this[_0x21717c(0x1f8)](_0x32836a),_0x23dbba));}[_0x4c198e(0x148)](){const _0xae6ee2=_0x4c198e;var _0x1eb8d8;return(_0x1eb8d8=this[_0xae6ee2(0x131)][_0xae6ee2(0x2a7)](_0x2508b0))!=null?_0x1eb8d8:_0x33c8b9;}[_0x4c198e(0x1f8)](_0x5d1bd2){const _0x1bacbf=_0x4c198e,_0x9d94da=this['_saveTaskMap'][_0x1bacbf(0xfb)](_0x5d1bd2);return _0x9d94da!==void 0x0&&window[_0x1bacbf(0xed)](_0x9d94da),this[_0x1bacbf(0x212)][_0x1bacbf(0x17f)](_0x3968f6(_0x5d1bd2),this[_0x1bacbf(0x23c)][_0x1bacbf(0xfb)](_0x5d1bd2))[_0x1bacbf(0x13e)](()=>this[_0x1bacbf(0x143)][_0x1bacbf(0x107)](_0x5d1bd2));}async[_0x4c198e(0x26a)](){const _0x26ae31=_0x4c198e,_0x2dddd=[];this[_0x26ae31(0x143)]['forEach']((_0x4439b5,_0x4bae12)=>{const _0x58f39f=_0x26ae31;window[_0x58f39f(0xed)](_0x4439b5),_0x2dddd[_0x58f39f(0x117)](this[_0x58f39f(0x1f8)](_0x4bae12)[_0x58f39f(0x13e)](()=>{this['_saveTaskMap']['delete'](_0x4bae12);}));}),await Promise[_0x26ae31(0x2ab)](_0x2dddd);}};Le=_n([Ee(0x0,_0x1723d8),Ee(0x1,_0x352217),Ee(0x2,_0x49f398(_0x7e56a6))],Le);class hn extends _0x146301{constructor(){const _0x460107=_0x4c198e;super(),_(this,_0x460107(0xda)),this[_0x460107(0xda)]=_0x25c95a(window,'popstate')['pipe'](_0x3ce21b(this[_0x460107(0x172)]),_0x3d5ae6(0x1),_0x1f1293(void 0x0));}[_0x4c198e(0x15e)](_0x4937bc,_0x45734b,_0x1d9c95=!0x1){const _0x3d119a=_0x4c198e,_0x16b916=new URL(window[_0x3d119a(0x1f5)][_0x3d119a(0x2b4)]);_0x16b916[_0x3d119a(0x1eb)]['set'](_0x4937bc,_0x45734b),_0x1d9c95?window['history'][_0x3d119a(0x1ca)]('','',_0x16b916[_0x3d119a(0x239)]()):window[_0x3d119a(0x1e0)]['pushState']('','',_0x16b916[_0x3d119a(0x239)]());}[_0x4c198e(0x296)](_0x254c0e,_0x5f137b=!0x1){const _0x26a30d=_0x4c198e,_0x3f9b47=new URL(window[_0x26a30d(0x1f5)][_0x26a30d(0x2b4)]);_0x3f9b47[_0x26a30d(0x1eb)][_0x26a30d(0x107)](_0x254c0e),_0x5f137b?window[_0x26a30d(0x1e0)][_0x26a30d(0x1ca)]('','',_0x3f9b47[_0x26a30d(0x239)]()):window[_0x26a30d(0x1e0)][_0x26a30d(0x14f)]('','',_0x3f9b47[_0x26a30d(0x239)]());}['getParam'](_0xa284ad){const _0x329d48=_0x4c198e;var _0x1a2456;return(_0x1a2456=new URL(window[_0x329d48(0x1f5)]['href'])[_0x329d48(0x1eb)][_0x329d48(0xfb)](_0xa284ad))!=null?_0x1a2456:void 0x0;}}var un=Object[_0x4c198e(0x21d)],dn=Object[_0x4c198e(0x1fa)],fn=(_0x52c6d3,_0x96a867,_0x17d3be)=>_0x96a867 in _0x52c6d3?un(_0x52c6d3,_0x96a867,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x17d3be}):_0x52c6d3[_0x96a867]=_0x17d3be,Sn=(_0x6f0dba,_0x34c049,_0x179593,_0x46a622)=>{const _0x45f673=_0x4c198e;for(var _0x34d97c=_0x46a622>0x1?void 0x0:_0x46a622?dn(_0x34c049,_0x179593):_0x34c049,_0x1d2364=_0x6f0dba[_0x45f673(0x13c)]-0x1,_0x1c3dbc;_0x1d2364>=0x0;_0x1d2364--)(_0x1c3dbc=_0x6f0dba[_0x1d2364])&&(_0x34d97c=_0x1c3dbc(_0x34d97c)||_0x34d97c);return _0x34d97c;},be=(_0x1abf4a,_0x5313b6)=>(_0x4acdf0,_0x193c66)=>_0x5313b6(_0x4acdf0,_0x193c66,_0x1abf4a),mn=(_0x3a0fde,_0x9c78f9,_0x1370dc)=>fn(_0x3a0fde,_0x9c78f9+'',_0x1370dc);const gn=_0x4c198e(0x2a2);let Ae=class extends _0x55c32e{constructor(_0x166f47=et,_0x5c71ae,_0x5f1702,_0x3fc003){const _0x33bef7=_0x4c198e;super(),this[_0x33bef7(0x14c)]=_0x166f47,this['_renderManagerService']=_0x5c71ae,this['_injector']=_0x5f1702,this['_configService']=_0x3fc003;const {..._0x2abbef}=_0x1f1cb9({},et,this[_0x33bef7(0x14c)]);this[_0x33bef7(0x131)][_0x33bef7(0x22d)](Zi,_0x2abbef);}[_0x4c198e(0x2bb)](){const _0x24138f=_0x4c198e;this['_registerDependencies'](),this[_0x24138f(0xfa)]();}[_0x4c198e(0x17a)](){const _0x2c6eca=_0x4c198e;this[_0x2c6eca(0xdd)]();}['_registerDependencies'](){const _0x186ef1=_0x4c198e;var _0x3d9e7b;const _0x25b552=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x3d6aaa,{'useClass':_0x5111de}],[_0x5f4338,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x59f5c2(this[_0x186ef1(0x127)],_0x263397(_0x25b552,(_0x3d9e7b=this[_0x186ef1(0x14c)])==null?void 0x0:_0x3d9e7b[_0x186ef1(0x259)]));}['_registerRenderDependencies'](){const _0x8c22cb=_0x4c198e;this[_0x8c22cb(0xdc)](this[_0x8c22cb(0x13b)][_0x8c22cb(0x185)](_0x10f6ab[_0x8c22cb(0x151)],[Pe])),this[_0x8c22cb(0xdc)](this['_renderManagerService'][_0x8c22cb(0x185)](_0x10f6ab[_0x8c22cb(0x194)],[we]));}[_0x4c198e(0xfa)](){_0x472d82(this['_injector'],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,'pluginName',gn),Ae=Sn([_0x24d3e1(_0x3a43f1),be(0x1,_0x414d16),be(0x2,_0x49f398(_0x1afadf)),be(0x3,_0x1723d8)],Ae);var vn=Object[_0x4c198e(0x1fa)],In=(_0x546c05,_0x218d2e,_0x2d4211,_0x3c8a69)=>{const _0x1b7fe6=_0x4c198e;for(var _0x25c51d=_0x3c8a69>0x1?void 0x0:_0x3c8a69?vn(_0x218d2e,_0x2d4211):_0x218d2e,_0x577c73=_0x546c05[_0x1b7fe6(0x13c)]-0x1,_0xea9e82;_0x577c73>=0x0;_0x577c73--)(_0xea9e82=_0x546c05[_0x577c73])&&(_0x25c51d=_0xea9e82(_0x25c51d)||_0x25c51d);return _0x25c51d;},K=(_0x4be974,_0x36c2b1)=>(_0x42d5c7,_0x5722c4)=>_0x36c2b1(_0x42d5c7,_0x5722c4,_0x4be974);let st=class extends _0x15931a{constructor(_0x5597d5,_0x329927,_0x1c8d23,_0x47d891,_0x45b418){super(_0x5597d5,_0x329927,_0x1c8d23,_0x47d891,_0x45b418);}async[_0x4c198e(0x11b)](_0x4da4ff){const _0x6cc39d=_0x4c198e,_0x5bfe12=await this[_0x6cc39d(0x20e)](),_0x11d518=this[_0x6cc39d(0x2a4)](_0x4da4ff,_0x5bfe12);return this[_0x6cc39d(0x2b2)](_0x11d518);}[_0x4c198e(0x2a4)](_0x12f033,_0x24ff64){const _0x7bddc6=_0x4c198e,_0x2a5c35=typeof window>'u'?new URL(_0x12f033):new URL(_0x12f033,window[_0x7bddc6(0x1f5)][_0x7bddc6(0xf5)]);_0x2a5c35[_0x7bddc6(0x1eb)]['set'](_0x7bddc6(0x295),_0x24ff64);const _0x69d679=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x7bddc6(0x1f7)]);return _0x69d679['get'](_0x7bddc6(0x2d9))&&_0x2a5c35[_0x7bddc6(0x1eb)][_0x7bddc6(0x268)]('runId',_0x69d679[_0x7bddc6(0xfb)](_0x7bddc6(0x2d9))),_0x2a5c35[_0x7bddc6(0x239)]();}async['_getSessionTicket'](){const _0x5678df=_0x4c198e;var _0x2c0318,_0x23ad11,_0x3bbcd7;const _0x4cc02a=this['_configService'][_0x5678df(0x2a7)](_0x3fd43a),_0x4bfe8c=(_0x2c0318=_0x4cc02a==null?void 0x0:_0x4cc02a['wsSessionTicketUrl'])!=null?_0x2c0318:_0x113a8c;return(_0x3bbcd7=(_0x23ad11=(await this['_httpService'][_0x5678df(0xfb)](_0x4bfe8c,{'headers':{'Content-Type':_0x5678df(0x2b8)}}))['body'])==null?void 0x0:_0x23ad11[_0x5678df(0x1ec)])!=null?_0x3bbcd7:'';}};st=In([K(0x0,_0x49f398(_0x1afadf)),K(0x1,_0x49f398(_0x14748e)),K(0x2,_0x1723d8),K(0x3,_0x445b5c),K(0x4,_0x574c7e)],st);const it=0x7530,nt=_0x4c198e(0x11a);class jn extends _0x7630a4{constructor(){const _0x1639eb=_0x4c198e;super(),_(this,'_id',_0x47662c()),_(this,_0x1639eb(0x1da),new Set()),_(this,_0x1639eb(0x1b4),new Map()),_(this,'_heartbeatTimer',null),_(this,_0x1639eb(0x200),new Map()),_(this,'_unitStatus',new Map()),this['_init']();}[_0x4c198e(0x2aa)](){const _0x1c89e6=_0x4c198e;super[_0x1c89e6(0x2aa)](),this[_0x1c89e6(0x200)][_0x1c89e6(0xdf)]((_0x11cc86,_0x363833)=>this[_0x1c89e6(0x202)](_0x363833)),this['_heartbeatTimer']&&window[_0x1c89e6(0x234)](this[_0x1c89e6(0x241)]);}[_0x4c198e(0x15d)](_0x179ea9){const _0x2485cf=_0x4c198e;return this[_0x2485cf(0x16b)](_0x179ea9)['pipe'](_0x1ad046());}[_0x4c198e(0x1b3)](_0xbfe8f3){const _0x1eb036=_0x4c198e;this['_selfUnitIDs']['size']===0x0&&this[_0x1eb036(0x1c3)](),this[_0x1eb036(0x1da)][_0x1eb036(0x238)](_0xbfe8f3),this[_0x1eb036(0x14a)]({'type':0x0,'memberID':this[_0x1eb036(0x278)],'unitIDs':[_0xbfe8f3],'isForwarded':!0x1});}[_0x4c198e(0x19c)](_0x23bbc4){const _0x545d13=_0x4c198e;this[_0x545d13(0x1da)][_0x545d13(0x107)](_0x23bbc4),this[_0x545d13(0x1da)]['size']===0x0&&this['_heartbeatTimer']&&window[_0x545d13(0x234)](this['_heartbeatTimer']);}[_0x4c198e(0x189)](){const _0x3bac32=_0x4c198e;this[_0x3bac32(0xdc)](_0x3b8484(_0x25c95a(window,_0x3bac32(0x2cb))[_0x3bac32(0x1c1)](_0x36c0ae=>{const _0x162e15=_0x3bac32;if(_0x36c0ae[_0x162e15(0x21c)]!==nt||!_0x36c0ae[_0x162e15(0x253)])return;const _0x492149=JSON[_0x162e15(0x269)](_0x36c0ae['newValue']);this['_handleEvent'](_0x492149);}))),window[_0x3bac32(0x1fb)](_0x3bac32(0x139),()=>this[_0x3bac32(0x14a)]({'type':0x1,'memberID':this[_0x3bac32(0x278)],'unitIDs':Array[_0x3bac32(0x1d1)](this[_0x3bac32(0x1da)])}));}[_0x4c198e(0x1fc)](_0x2d7d49){const _0x5ac863=_0x4c198e;switch(_0x2d7d49[_0x5ac863(0x111)]){case 0x0:this['_handleJoinEvent'](_0x2d7d49);break;case 0x1:this[_0x5ac863(0xd6)](_0x2d7d49);break;case 0x2:this[_0x5ac863(0x180)](_0x2d7d49);break;}}[_0x4c198e(0x293)](_0x8de8a7){const _0x44a3a0=_0x4c198e,{unitIDs:_0x28f881,memberID:_0x5e21d9,isForwarded:_0x5bfb43}=_0x8de8a7;_0x28f881[_0x44a3a0(0xdf)](_0x3d9730=>{const _0x3b3915=_0x44a3a0;if(!_0x5bfb43&&this[_0x3b3915(0x1b4)][_0x3b3915(0x1a6)](_0x3d9730)&&this[_0x3b3915(0x16b)](_0x3d9730)[_0x3b3915(0x225)](_0x37410c[_0x3b3915(0x19e)]),!this['_unitOnClients'][_0x3b3915(0x1a6)](_0x3d9730)||!this[_0x3b3915(0x1b4)][_0x3b3915(0xfb)](_0x3d9730)[_0x3b3915(0x1a6)](_0x5e21d9)){const _0x2917e3=this[_0x3b3915(0x1b4)][_0x3b3915(0xfb)](_0x3d9730)||new Set();_0x2917e3[_0x3b3915(0x238)](_0x5e21d9),this[_0x3b3915(0x1b4)][_0x3b3915(0x268)](_0x3d9730,_0x2917e3),this[_0x3b3915(0x266)](_0x5e21d9);}}),_0x5bfb43||this[_0x44a3a0(0x14a)]({'type':0x0,'memberID':this[_0x44a3a0(0x278)],'unitIDs':[...this[_0x44a3a0(0x1da)]],'isForwarded':!0x0});}[_0x4c198e(0x266)](_0x1b45be){const _0x37026c=_0x4c198e;this['_removeClearOtherTimer'](_0x1b45be);const _0xbbbdf=window[_0x37026c(0x28b)](()=>{const _0x17837b=_0x37026c;this[_0x17837b(0x1b4)][_0x17837b(0xdf)](_0x36ffa6=>{const _0x387d8c=_0x17837b;_0x36ffa6[_0x387d8c(0x107)](_0x1b45be);});},it*0x2);this[_0x37026c(0x200)]['set'](_0x1b45be,_0xbbbdf);}['_removeClearOtherTimer'](_0x1e959d){const _0x5cfb06=_0x4c198e;if(this[_0x5cfb06(0x200)][_0x5cfb06(0x1a6)](_0x1e959d)){const _0x5930cb=this[_0x5cfb06(0x200)][_0x5cfb06(0xfb)](_0x1e959d);_0x5930cb&&window[_0x5cfb06(0xed)](_0x5930cb),this[_0x5cfb06(0x200)][_0x5cfb06(0x268)](_0x1e959d,null);}}[_0x4c198e(0xd6)](_0x12644f){const _0x6d0f89=_0x4c198e,{memberID:_0x2f4e76,unitIDs:_0x5d4d2f}=_0x12644f;_0x5d4d2f[_0x6d0f89(0xdf)](_0x54d407=>{const _0x5c0822=_0x6d0f89;var _0x10ef8c;const _0x20d655=this['_unitOnClients'][_0x5c0822(0xfb)](_0x54d407);_0x20d655&&(_0x20d655[_0x5c0822(0x107)](_0x2f4e76),(_0x10ef8c=this[_0x5c0822(0x16b)](_0x54d407))==null||_0x10ef8c[_0x5c0822(0x225)](_0x20d655[_0x5c0822(0x227)]===0x0?_0x37410c[_0x5c0822(0x1ea)]:_0x37410c[_0x5c0822(0x19e)]));}),this['_removeClearOtherTimer'](_0x2f4e76);}[_0x4c198e(0x180)](_0x132f08){const _0x1cff97=_0x4c198e;this[_0x1cff97(0x266)](_0x132f08[_0x1cff97(0x2c5)]);}[_0x4c198e(0x14a)](_0x55536a){const _0x5aecbb=_0x4c198e;localStorage[_0x5aecbb(0x17f)](nt,JSON[_0x5aecbb(0x277)](_0x55536a));}[_0x4c198e(0x1c3)](){const _0x5941c0=_0x4c198e;this['_heartbeatTimer']=window[_0x5941c0(0x27d)](()=>{const _0x294027=_0x5941c0;this['_send']({'type':0x2,'memberID':this[_0x294027(0x278)]});},it);}['_ensureSubject'](_0x204fe9){const _0x213ce2=_0x4c198e;return this[_0x213ce2(0x15c)][_0x213ce2(0x1a6)](_0x204fe9)||this[_0x213ce2(0x15c)][_0x213ce2(0x268)](_0x204fe9,new _0x20d8ec(_0x37410c[_0x213ce2(0x1ea)])),this[_0x213ce2(0x15c)]['get'](_0x204fe9);}}var Mt=(_0x1cbeee=>(_0x1cbeee[_0x1cbeee[_0x4c198e(0x1ab)]=0x0]=_0x4c198e(0x1ab),_0x1cbeee[_0x1cbeee['OK']=0x1]='OK',_0x1cbeee[_0x1cbeee[_0x4c198e(0x25c)]=0x2]=_0x4c198e(0x25c),_0x1cbeee[_0x1cbeee[_0x4c198e(0x146)]=0x3]=_0x4c198e(0x146),_0x1cbeee[_0x1cbeee[_0x4c198e(0x27a)]=0x4]='NOT_FOUND',_0x1cbeee[_0x1cbeee[_0x4c198e(0x1ed)]=0x5]='UNAUTHENTICATED',_0x1cbeee[_0x1cbeee[_0x4c198e(0x263)]=0x6]=_0x4c198e(0x263),_0x1cbeee[_0x1cbeee['INVALID_ARGUMENT']=0x7]=_0x4c198e(0x1c8),_0x1cbeee[_0x1cbeee[_0x4c198e(0x1b1)]=0x8]=_0x4c198e(0x1b1),_0x1cbeee[_0x1cbeee['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x1cbeee[_0x1cbeee[_0x4c198e(0x18e)]=0xa]='LOGIN_FAILED',_0x1cbeee[_0x1cbeee[_0x4c198e(0x230)]=0x1389]=_0x4c198e(0x230),_0x1cbeee[_0x1cbeee[_0x4c198e(0xf0)]=0x1771]=_0x4c198e(0xf0),_0x1cbeee[_0x1cbeee[_0x4c198e(0x1bd)]=0x1772]=_0x4c198e(0x1bd),_0x1cbeee[_0x1cbeee['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x4c198e(0x113),_0x1cbeee[_0x1cbeee[_0x4c198e(0x12f)]=0x1b59]=_0x4c198e(0x12f),_0x1cbeee[_0x1cbeee[_0x4c198e(0x255)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x1cbeee[_0x1cbeee[_0x4c198e(0x24b)]=0x1b5b]=_0x4c198e(0x24b),_0x1cbeee[_0x1cbeee[_0x4c198e(0x179)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x1cbeee[_0x1cbeee[_0x4c198e(0x247)]=0x1b5d]=_0x4c198e(0x247),_0x1cbeee[_0x1cbeee['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x1cbeee[_0x1cbeee[_0x4c198e(0x161)]=0x2329]=_0x4c198e(0x161),_0x1cbeee[_0x1cbeee['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x4c198e(0x13d),_0x1cbeee[_0x1cbeee[_0x4c198e(0x1ff)]=0x232b]=_0x4c198e(0x1ff),_0x1cbeee[_0x1cbeee[_0x4c198e(0x130)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x1cbeee[_0x1cbeee['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x1cbeee[_0x1cbeee[_0x4c198e(0x196)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x1cbeee[_0x1cbeee[_0x4c198e(0x11d)]=0x2712]=_0x4c198e(0x11d),_0x1cbeee[_0x1cbeee[_0x4c198e(0x217)]=0x2713]=_0x4c198e(0x217),_0x1cbeee[_0x1cbeee[_0x4c198e(0x2a9)]=0x2714]=_0x4c198e(0x2a9),_0x1cbeee[_0x1cbeee[_0x4c198e(0x28a)]=0x271a]=_0x4c198e(0x28a),_0x1cbeee[_0x1cbeee['YUUMI_ASYNCIO_CANCELLED']=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x1cbeee[_0x1cbeee[_0x4c198e(0x261)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x1cbeee[_0x1cbeee[_0x4c198e(0x223)]=0x2ee1]=_0x4c198e(0x223),_0x1cbeee[_0x1cbeee[_0x4c198e(0x158)]=0x2ee2]=_0x4c198e(0x158),_0x1cbeee[_0x1cbeee['INVITE_CODE_REQUIRED']=0x2ee3]=_0x4c198e(0x215),_0x1cbeee[_0x1cbeee['USER_NOT_INVITED_CODE']=0x2ee4]=_0x4c198e(0xee),_0x1cbeee[_0x1cbeee['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x4c198e(0x165),_0x1cbeee[_0x1cbeee[_0x4c198e(0x15b)]=0x32c9]=_0x4c198e(0x15b),_0x1cbeee[_0x1cbeee[_0x4c198e(0x2c3)]=0x32ca]=_0x4c198e(0x2c3),_0x1cbeee[_0x1cbeee[_0x4c198e(0x204)]=0x32cb]=_0x4c198e(0x204),_0x1cbeee[_0x1cbeee[_0x4c198e(0xd7)]=-0x1]=_0x4c198e(0xd7),_0x1cbeee))(Mt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x12ee85,_0x116e4e,_0x2acb95,_0x4b4d47)=>{const _0x4feea7=_0x4c198e;for(var _0x33a272=_0x4b4d47>0x1?void 0x0:_0x4b4d47?pn(_0x116e4e,_0x2acb95):_0x116e4e,_0x2c9e04=_0x12ee85[_0x4feea7(0x13c)]-0x1,_0x1cbd2f;_0x2c9e04>=0x0;_0x2c9e04--)(_0x1cbd2f=_0x12ee85[_0x2c9e04])&&(_0x33a272=_0x1cbd2f(_0x33a272)||_0x33a272);return _0x33a272;},Oe=(_0x2d4ea8,_0x36e105)=>(_0x2bb6c0,_0x2f9638)=>_0x36e105(_0x2bb6c0,_0x2f9638,_0x2d4ea8);let rt=class extends _0x7630a4{constructor(_0x69a03c,_0x5c4870,_0x559ed2){const _0x5a80c4=_0x4c198e;super(),this[_0x5a80c4(0x28f)]=_0x69a03c,this[_0x5a80c4(0x1a1)]=_0x5c4870,this['_configService']=_0x559ed2;}async['runOnServer'](_0xead6bc,_0x58d09f,_0x5bda2e,..._0x14f5bd){const _0x4faeda=_0x4c198e;var _0x4b3cae,_0xeca448,_0x3b41bb,_0xa7748e;const _0x14efe7=this['_instanceService'][_0x4faeda(0x213)]();if(!_0x14efe7)throw new Error(_0x4faeda(0x21b));const _0x51bc4f=((_0x4b3cae=this['_configService'][_0x4faeda(0x2a7)](_0x3d26f8))!=null?_0x4b3cae:_0x5f40dc)+'/'+_0xead6bc+_0x4faeda(0x13f)+_0x58d09f,_0x49beea=new URL(window['location'][_0x4faeda(0x2b4)]),_0x52fcd2={'scriptId':_0xead6bc,'runId':(_0xeca448=_0x49beea['searchParams'][_0x4faeda(0xfb)]('runId'))!=null?_0xeca448:'','function':_0x58d09f,'unitId':_0x14efe7[_0x4faeda(0x2a1)](),'argsOfFunction':JSON[_0x4faeda(0x277)](_0x14f5bd),'invokeId':(_0x3b41bb=_0x5bda2e['invokeId'])!=null?_0x3b41bb:'','executionId':(_0xa7748e=_0x5bda2e['executionId'])!=null?_0xa7748e:''};try{const _0x563d56=await this[_0x4faeda(0x1a1)][_0x4faeda(0x18a)](_0x51bc4f,{'body':_0x52fcd2});return _0x563d56[_0x4faeda(0x198)][_0x4faeda(0x12e)]&&_0x563d56[_0x4faeda(0x198)][_0x4faeda(0x12e)][_0x4faeda(0x23d)]!==Mt['OK']?_0x4faeda(0x211):_0x563d56[_0x4faeda(0x198)][_0x4faeda(0x1c0)];}catch{return _0x4faeda(0x211);}}};rt=Cn([Oe(0x0,_0x1acba7),Oe(0x1,_0x49f398(_0x14748e)),Oe(0x2,_0x1723d8)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x318c(){const _0x259d3c=['Collaboration\x20Conflict','Click\x20to\x20Reconnect','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','28978506zTMzvY','6295998CIfzkA','695wVAOcv','343114cAUSUd','Local\x20file','2056920cWSkYJ','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Syncing\x20server\x20data...','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','7knUFqn','1422196LOHYEI','Synced','7003352xrIbKI','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','44284faYGNC','Connection\x20failed,\x20please\x20check\x20your\x20network.','Edit\x20conflicts'];_0x318c=function(){return _0x259d3c;};return _0x318c();}const _0x26c655=_0x441d;(function(_0x35ff10,_0x32fd2a){const _0x230c5a=_0x441d,_0x26660b=_0x35ff10();while(!![]){try{const _0x3c3ae6=-parseInt(_0x230c5a(0x7b))/0x1+parseInt(_0x230c5a(0x6e))/0x2+parseInt(_0x230c5a(0x7d))/0x3+parseInt(_0x230c5a(0x72))/0x4*(-parseInt(_0x230c5a(0x7a))/0x5)+-parseInt(_0x230c5a(0x79))/0x6+-parseInt(_0x230c5a(0x6d))/0x7*(parseInt(_0x230c5a(0x70))/0x8)+parseInt(_0x230c5a(0x78))/0x9;if(_0x3c3ae6===_0x32fd2a)break;else _0x26660b['push'](_0x26660b['shift']());}catch(_0x4dca12){_0x26660b['push'](_0x26660b['shift']());}}}(_0x318c,0xc5b6d));function _0x441d(_0x168b8e,_0xbc82d3){const _0x318c93=_0x318c();return _0x441d=function(_0x441de2,_0x55568f){_0x441de2=_0x441de2-0x6d;let _0x50cf4b=_0x318c93[_0x441de2];return _0x50cf4b;},_0x441d(_0x168b8e,_0xbc82d3);}const e={'collab-client':{'tooltip':{'reconnect':_0x26c655(0x76)}},'collabStatus':{'fetchMiss':_0x26c655(0x80),'conflict':_0x26c655(0x74),'notCollab':_0x26c655(0x7c),'synced':_0x26c655(0x6f),'syncing':'Syncing...','offline':_0x26c655(0x77)},'session':{'connection-failed':_0x26c655(0x73),'will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':_0x26c655(0x71),'collaboration-timeout':_0x26c655(0x82)},'conflict':{'title':_0x26c655(0x75),'content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':'Authentication\x20Error','content':_0x26c655(0x81)},'collaboration':{'single-unit':{'warning':_0x26c655(0x7e)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x26c655(0x7f)}};export{e as default};
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x466d67=_0x2115;(function(_0x291b91,_0x398088){const _0x9d4915=_0x2115,_0x151f16=_0x291b91();while(!![]){try{const _0x36958c=parseInt(_0x9d4915(0x1c5))/0x1+-parseInt(_0x9d4915(0x1bc))/0x2*(-parseInt(_0x9d4915(0x1b4))/0x3)+-parseInt(_0x9d4915(0x1b5))/0x4*(parseInt(_0x9d4915(0x1c6))/0x5)+-parseInt(_0x9d4915(0x1c0))/0x6+-parseInt(_0x9d4915(0x1b8))/0x7+parseInt(_0x9d4915(0x1c4))/0x8+-parseInt(_0x9d4915(0x1ba))/0x9;if(_0x36958c===_0x398088)break;else _0x151f16['push'](_0x151f16['shift']());}catch(_0x402789){_0x151f16['push'](_0x151f16['shift']());}}}(_0x1b85,0x5cfa5));function _0x2115(_0x358982,_0x44833e){const _0x1b85d8=_0x1b85();return _0x2115=function(_0x211571,_0x5df7c4){_0x211571=_0x211571-0x1b4;let _0x8e6260=_0x1b85d8[_0x211571];return _0x8e6260;},_0x2115(_0x358982,_0x44833e);}const o={'collab-client':{'tooltip':{'reconnect':_0x466d67(0x1bf)}},'collabStatus':{'fetchMiss':_0x466d67(0x1bd),'conflict':_0x466d67(0x1bb),'notCollab':_0x466d67(0x1b9),'synced':_0x466d67(0x1c8),'syncing':_0x466d67(0x1c2),'offline':_0x466d67(0x1c9)},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','room-full':_0x466d67(0x1c7),'collaboration-timeout':_0x466d67(0x1c3)},'conflict':{'title':'تداخل\x20همکاری','content':'یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'permission':{'title':_0x466d67(0x1c1),'content':_0x466d67(0x1b7)},'collaboration':{'single-unit':{'warning':_0x466d67(0x1ca)},'closeRoom':_0x466d67(0x1b6)},'auth':{'needGotoLoginAlert':_0x466d67(0x1be)}};export{o as default};function _0x1b85(){const _0x1f1137=['275644Abzdei','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','497694phLwqO','خطای\x20اعتبارسنجی','در\x20حال\x20همگام\x20سازی...','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','3723984HavuID','438787EbANmh','599765AMoiWI','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','همگام\x20سازی','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','12UrnjVX','16QFLGnU','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','1053563zRlToy','پرونده\x20محلی','3253194gWqkEJ','تداخل\x20ویرایش'];_0x1b85=function(){return _0x1f1137;};return _0x1b85();}
|