@univerjs-pro/collaboration-client-ui 0.6.10-experimental.20250428-ab93895 → 0.6.10-experimental.20250428-63779a3

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/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x541ec7=_0x4d4b;(function(_0x50e60d,_0x4b7faa){const _0x5d635e=_0x4d4b,_0x369412=_0x50e60d();while(!![]){try{const _0x373df4=-parseInt(_0x5d635e(0x330))/0x1+-parseInt(_0x5d635e(0x3b1))/0x2*(parseInt(_0x5d635e(0x384))/0x3)+-parseInt(_0x5d635e(0x214))/0x4*(-parseInt(_0x5d635e(0x2fc))/0x5)+-parseInt(_0x5d635e(0x2eb))/0x6+-parseInt(_0x5d635e(0x31e))/0x7+parseInt(_0x5d635e(0x2d9))/0x8*(-parseInt(_0x5d635e(0x21b))/0x9)+parseInt(_0x5d635e(0x21c))/0xa;if(_0x373df4===_0x4b7faa)break;else _0x369412['push'](_0x369412['shift']());}catch(_0x169ca8){_0x369412['push'](_0x369412['shift']());}}}(_0x10bb,0xda956));var $t=Object[_0x541ec7(0x1bd)],xt=(_0x4387e6,_0x4ab67b,_0x393528)=>_0x4ab67b in _0x4387e6?$t(_0x4387e6,_0x4ab67b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x393528}):_0x4387e6[_0x4ab67b]=_0x393528,_=(_0x172cf2,_0xacad80,_0x374bed)=>xt(_0x172cf2,typeof _0xacad80!=_0x541ec7(0x251)?_0xacad80+'':_0xacad80,_0x374bed);import{MemberService as _0x4ae1ea,SessionStatus as _0x155d1d,CollaborationSessionService as _0x56b072,CollaborationStatus as _0x411ece,CollaborationController as _0x484e43,ILocalCacheService as _0x7a7549,CollaborationUIEventService as _0x40487b,CollaborationUIEventId as _0x3276a8,DataLoaderService as _0xcd4f7d,DocCollaborationEntity as _0x56dabe,getLocalCacheKey as _0x474008,LOCAL_CACHE_INTERVAL as _0x5086d1,LOCAL_CACHE_INTERVAL_KEY as _0x4fa27b,UniverCollaborationClientPlugin as _0x11f5d1,CollaborationSocketService as _0x50e698,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x1468d8,DEFAULT_WS_SESSION_TICKET_URL as _0x1f5f98,UnitStatus as _0x451596,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x3b382c,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x449097}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x54b14c,Disposable as _0x4ef276,DOC_RANGE_TYPE as _0x3516cb,Inject as _0x103d04,Injector as _0xd692d6,IUniverInstanceService as _0xb44ffb,ICommandService as _0x11e1d9,debounce as _0x382b9e,Rectangle as _0x5b3c88,DisposableCollection as _0x25559b,toDisposable as _0x1d2d8f,UniverInstanceType as _0x24a6a1,Tools as _0xe6710b,COLORS as _0x1d0a3d,ColorKit as _0x548ecc,ThemeService as _0x525bf9,fromEventSubject as _0x3c089b,LocaleService as _0x43f363,createIdentifier as _0x2776a9,ILogService as _0x48a758,Optional as _0x2e1a60,Workbook as _0x2153fe,CommandType as _0x274cf4,IConfigService as _0x40fb79,ILocalStorageService as _0x26707b,DependentOn as _0x529dd5,Plugin as _0x1122e1,merge as _0x4eb21b,registerDependencies as _0x23b0fd,mergeOverrideWithDependencies as _0x3217b5,touchDependencies as _0x4e9859,generateRandomId as _0x42dff8}from'@univerjs/core';import{Shape as _0x46b5ff,Rect as _0x428ec8,getColor as _0x50fcc7,RegularPolygon as _0xe3c809,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x2ed89f,Vector2 as _0x4153a3,SHEET_VIEWPORT_KEY as _0x265048,IRenderManagerService as _0x2f4050}from'@univerjs/engine-render';import{ISocketService as _0xb32ccf,WebSocketService as _0x360998,HTTPService as _0x3c7530}from'@univerjs/network';import{IDocClipboardService as _0x35f09c,NodePositionConvertToCursor as _0x224439,NodePositionConvertToRectRange as _0x406f57,TEXT_RANGE_LAYER_INDEX as _0x37ebab,SetDocZoomRatioOperation as _0x28a82a,DocIMEInputManagerService as _0x2ac90c,DocStateChangeManagerService as _0xac8e70}from'@univerjs/docs-ui';function _0x4d4b(_0x38063e,_0x33705a){const _0x10bbd8=_0x10bb();return _0x4d4b=function(_0x4d4b3e,_0x263c46){_0x4d4b3e=_0x4d4b3e-0x1b1;let _0x66bcf6=_0x10bbd8[_0x4d4b3e];return _0x66bcf6;},_0x4d4b(_0x38063e,_0x33705a);}import{IImageIoService as _0x36e8d9}from'@univerjs/drawing';import{BehaviorSubject as _0x4ebf3e,debounceTime as _0x1128e5,takeUntil as _0x4bdb4f,Subject as _0x3c35e3,filter as _0x3b2552,switchMap as _0x1b3d7f,merge as _0x46d08b,combineLatest as _0x4c1cd7,of as _0x574d8b,fromEvent as _0x3c2d75,shareReplay as _0x34a290,mapTo as _0x317e44,distinctUntilChanged as _0x583682}from'rxjs';import{SetTextSelectionsOperation as _0x5aa4a3,RichTextEditingMutation as _0x434421,DocSelectionManagerService as _0x1276ee,DocSkeletonManagerService as _0x1bd89a}from'@univerjs/docs';import{ITransformService as _0x21a9f7,CollaborationEvent as _0x2129fa,isTransformMutationFailure as _0x4bdbc5,isTransformMutationsWithChangesetSuccess as _0x289120,RevisionService as _0x134e6e,ISnapshotServerService as _0x1aac4b}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x5d09dc,serializeRangeWithSheet as _0x79dc72}from'@univerjs/engine-formula';import{RefRangeService as _0x3a9f4b,SetSelectionsOperation as _0xacc777,SheetsSelectionsService as _0x29b046,EffectRefRangId as _0x481f2a,handleIRemoveRow as _0x19aa1f,handleIRemoveCol as _0x395dc2,handleMoveRange as _0xe1d6cf,handleInsertRow as _0x28555c,handleInsertRangeMoveRight as _0x3abd80,handleInsertRangeMoveDown as _0xc17b35,handleInsertCol as _0x2b758a,handleDeleteRangeMoveUp as _0x53d240,handleDeleteRangeMoveLeft as _0x454553,runRefRangeMutations as _0x2610f4,SetWorksheetActivateCommand as _0x2e996d}from'@univerjs/sheets';import{map as _0x2dce3d,filter as _0x575aa5,throttleTime as _0x56c389,takeUntil as _0xd696f4,switchMap as _0x5c4d4d}from'rxjs/operators';import{SheetSkeletonManagerService as _0x79e2c9,getCoordByCell as _0x28a531,getSheetObject as _0x4cc46a}from'@univerjs/sheets-ui';import{jsx as _0x24065b,jsxs as _0x58f149}from'react/jsx-runtime';import{useObservable as _0x96edab,useDependency as _0x30da27,IUIPartsService as _0x8639be,BuiltInUIPart as _0x152e9c,connectInjector as _0x3b5e52,IBeforeCloseService as _0x469ac5,IMessageService as _0x4f41d6,INotificationService as _0x5c3ef0}from'@univerjs/ui';import{Tooltip as _0x2a4531,clsx as _0x49827e,MessageType as _0x1438cd}from'@univerjs/design';import{forwardRef as _0x148269,useRef as _0x4383c8,createElement as _0x1bf0e2,useCallback as _0x534f08}from'react';import{IRemoteInstanceService as _0x39c092}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0x2ba4bf,_0xc955a,_0x90036c,_0x305127)=>{const _0x1cb2db=_0x541ec7;for(var _0x314175=_0x305127>0x1?void 0x0:_0x305127?ci(_0xc955a,_0x90036c):_0xc955a,_0x107699=_0x2ba4bf[_0x1cb2db(0x24a)]-0x1,_0x3fd3df;_0x107699>=0x0;_0x107699--)(_0x3fd3df=_0x2ba4bf[_0x107699])&&(_0x314175=_0x3fd3df(_0x314175)||_0x314175);return _0x314175;},Je=(_0x35b8ec,_0x1b6c2e)=>(_0x5e5dd7,_0x4d3aac)=>_0x1b6c2e(_0x5e5dd7,_0x4d3aac,_0x35b8ec);let Ne=class extends _0x54b14c{constructor(_0xb43804,_0x422118){const _0x362c79=_0x541ec7;super(),this['_docClipboardService']=_0xb43804,this['_imageIoService']=_0x422118,this[_0x362c79(0x1bb)]();}['_init'](){const _0x121666=_0x541ec7,_0x1beb66=this;this[_0x121666(0x1be)](this['_docClipboardService'][_0x121666(0x310)]({'onBeforePasteImage':async _0x3b5f9c=>{const _0x2a239d=_0x121666,_0x23bd25=await _0x1beb66[_0x2a239d(0x1c3)][_0x2a239d(0x3b2)](_0x3b5f9c);return _0x23bd25?{'source':_0x23bd25[_0x2a239d(0x38d)],'imageSourceType':_0x23bd25[_0x2a239d(0x1ff)]}:null;}}));}};Ne=li([Je(0x0,_0x35f09c),Je(0x1,_0x36e8d9)],Ne);const Ze=[_0x541ec7(0x244),_0x541ec7(0x28d),_0x541ec7(0x231),_0x541ec7(0x293),_0x541ec7(0x29c),_0x541ec7(0x290)];class ke extends _0x4ef276{constructor(){const _0x3d196a=_0x541ec7;super(...arguments),_(this,_0x3d196a(0x316),new Map()),_(this,_0x3d196a(0x203),0x0);}['assignAColorForMemberID'](_0x553bf3){const _0x4e5a48=_0x541ec7;if(this[_0x4e5a48(0x316)]['has'](_0x553bf3))return this['_assignedColors'][_0x4e5a48(0x28f)](_0x553bf3);const _0x3304f4=Ze[this[_0x4e5a48(0x203)]];return this[_0x4e5a48(0x203)]=(this['_colorIndex']+0x1)%Ze[_0x4e5a48(0x24a)],this[_0x4e5a48(0x316)]['set'](_0x553bf3,_0x3304f4),_0x3304f4;}}function Tt(_0x9cf786){const _0x2c8bf5=_0x541ec7;let _0x4d6d96='';for(const _0x1d4374 of _0x9cf786){const {startOffset:_0x9f547e,endOffset:_0x285a97,isActive:_0x1f0985,rangeType:_0x2e7f8,segmentId:_0x5dd882,segmentPage:_0x4c83bf}=_0x1d4374;_0x4d6d96[_0x2c8bf5(0x24a)]&&(_0x4d6d96+=','),_0x4d6d96+=_0x9f547e+':'+_0x285a97+':'+(_0x1f0985?'1':'0')+':'+_0x2e7f8+':'+_0x5dd882+':'+_0x4c83bf;}return _0x4d6d96;}function _i(_0x5417fb){const _0xf1573b=_0x541ec7,_0x1d1aba=_0x5417fb['split'](','),_0x5ea450=[];for(const _0x4ef5fc of _0x1d1aba){const [_0x5a71a2,_0x331275,_0x44e290,_0x139549,_0x3e6ace,_0x7f6aca]=_0x4ef5fc[_0xf1573b(0x3b4)](':');_0x5ea450[_0xf1573b(0x2af)]({'startOffset':Number(_0x5a71a2),'endOffset':Number(_0x331275),'collapsed':_0x5a71a2===_0x331275,'isActive':_0x44e290==='1','rangeType':_0x139549===_0x3516cb[_0xf1573b(0x311)]?_0x3516cb[_0xf1573b(0x311)]:_0x3516cb[_0xf1573b(0x396)],'segmentId':typeof _0x3e6ace==_0xf1573b(0x2b3)?String(_0x3e6ace):'','segmentPage':Number(_0x7f6aca!=null?_0x7f6aca:-0x1)});}return _0x5ea450[_0xf1573b(0x1d4)](_0xa669fd=>_0xa669fd[_0xf1573b(0x3ae)])||(_0x5ea450[0x0][_0xf1573b(0x3ae)]=!0x0),_0x5ea450;}class He extends _0x54b14c{constructor(){const _0x878704=_0x541ec7;super(...arguments),_(this,_0x878704(0x299),new _0x4ebf3e(null)),_(this,'collabCursorState$',this[_0x878704(0x299)]['asObservable']());}[_0x541ec7(0x265)](_0x547975){const _0x4b70e4=_0x541ec7,{unitID:_0x265049,memberID:_0x39efe2,textRanges:_0xdae78a}=_0x547975,_0x47fcd9=Tt(_0xdae78a);if(_0x47fcd9==='')return;const _0xa69fb9={'unitID':_0x265049,'memberID':_0x39efe2,'selection':_0x47fcd9};this[_0x4b70e4(0x299)][_0x4b70e4(0x351)](_0xa69fb9);}}var hi=Object['getOwnPropertyDescriptor'],ui=(_0x560a3a,_0x108174,_0x181b17,_0x169fdd)=>{const _0x3e6416=_0x541ec7;for(var _0x96d736=_0x169fdd>0x1?void 0x0:_0x169fdd?hi(_0x108174,_0x181b17):_0x108174,_0x2456e0=_0x560a3a[_0x3e6416(0x24a)]-0x1,_0x5c77ab;_0x2456e0>=0x0;_0x2456e0--)(_0x5c77ab=_0x560a3a[_0x2456e0])&&(_0x96d736=_0x5c77ab(_0x96d736)||_0x96d736);return _0x96d736;},w=(_0x590940,_0x139016)=>(_0x29be26,_0x3602d9)=>_0x139016(_0x29be26,_0x3602d9,_0x590940);const di=0x12c,fi=0x64;let Ue=class extends _0x54b14c{constructor(_0x41c4d7,_0x18ee9c,_0x4cfb78,_0x34fb61,_0x483cb5,_0x2128cb,_0x27a823,_0x3f59fa,_0xdbb0f5){const _0x1bc0eb=_0x541ec7;super(),_(this,_0x1bc0eb(0x202),!0x1),_(this,'_init',!0x1),_(this,_0x1bc0eb(0x2d1),new _0x4ebf3e(new Map())),_(this,_0x1bc0eb(0x1d7),this[_0x1bc0eb(0x2d1)][_0x1bc0eb(0x33e)]()),_(this,_0x1bc0eb(0x35a),new _0x4ebf3e([])),_(this,_0x1bc0eb(0x230),this[_0x1bc0eb(0x35a)][_0x1bc0eb(0x32a)](_0x1128e5(di))),_(this,'_updateLocalCursor',_0x382b9e(_0x365159=>{const _0x9e058d=_0x1bc0eb,_0x322685={'eventID':_0x2129fa[_0x9e058d(0x368)],'data':{'unitID':this['unitID'],'memberID':this[_0x9e058d(0x221)][_0x9e058d(0x39a)](),'selection':Tt(_0x365159)}};this[_0x9e058d(0x221)][_0x9e058d(0x2bc)](_0x322685,this[_0x9e058d(0x2d3)]);},fi)),(this[_0x1bc0eb(0x2d3)]=_0x41c4d7,this[_0x1bc0eb(0x221)]=_0x18ee9c,this[_0x1bc0eb(0x23f)]=_0x4cfb78,this[_0x1bc0eb(0x201)]=_0x34fb61,this[_0x1bc0eb(0x1b4)]=_0x483cb5,this['_syncEditingCollabCursorService']=_0x2128cb,this[_0x1bc0eb(0x3a3)]=_0x27a823,this[_0x1bc0eb(0x1f4)]=_0x3f59fa,this[_0x1bc0eb(0x360)]=_0xdbb0f5);}get[_0x541ec7(0x23d)](){const _0x3f44bf=_0x541ec7;return this[_0x3f44bf(0x2d1)][_0x3f44bf(0x2b4)]();}get[_0x541ec7(0x380)](){const _0x46078a=_0x541ec7;return this[_0x46078a(0x35a)][_0x46078a(0x2b4)]();}['dispose'](){const _0x258b10=_0x541ec7;super['dispose'](),this[_0x258b10(0x2d1)][_0x258b10(0x351)](new Map()),this[_0x258b10(0x2d1)][_0x258b10(0x395)](),this[_0x258b10(0x35a)][_0x258b10(0x351)]([]),this['_roomMembers$']['complete']();}[_0x541ec7(0x2e0)](){const _0x23cd0a=_0x541ec7;this[_0x23cd0a(0x1bb)]||(this[_0x23cd0a(0x1bb)]=!0x0,this[_0x23cd0a(0x221)][_0x23cd0a(0x295)][_0x23cd0a(0x32a)](_0x4bdb4f(this[_0x23cd0a(0x3a7)]))['subscribe'](_0x596879=>{const _0x23c818=_0x23cd0a;_0x596879===_0x155d1d[_0x23c818(0x376)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x23cd0a(0x221)][_0x23cd0a(0x33c)]['pipe'](_0x4bdb4f(this['dispose$']))[_0x23cd0a(0x339)](_0x3d2ce5=>{const _0x55a2a4=_0x23cd0a,_0x29b92b=_0x3d2ce5['eventID'];_0x29b92b===_0x2129fa[_0x55a2a4(0x368)]&&this[_0x55a2a4(0x262)](_0x3d2ce5),_0x29b92b===_0x2129fa[_0x55a2a4(0x3ab)]&&this[_0x55a2a4(0x326)](_0x3d2ce5);}),this[_0x23cd0a(0x1be)](this[_0x23cd0a(0x360)][_0x23cd0a(0x1ba)](_0x35c054=>{const _0x2a0bb4=_0x23cd0a,_0x31ea97=_0x35c054[_0x2a0bb4(0x315)];_0x31ea97!=null&&this[_0x2a0bb4(0x202)]&&_0x35c054['id']===_0x5aa4a3['id']&&_0x31ea97[_0x2a0bb4(0x1d1)]===this['unitID']&&_0x31ea97[_0x2a0bb4(0x2b5)]===!0x1&&_0x31ea97[_0x2a0bb4(0x303)][_0x2a0bb4(0x24a)]>0x0&&this[_0x2a0bb4(0x1de)](_0x31ea97[_0x2a0bb4(0x303)]);})),this['_syncEditingCollabCursorService'][_0x23cd0a(0x1d8)][_0x23cd0a(0x32a)](_0x4bdb4f(this['dispose$']))['subscribe'](_0x20e350=>{const _0xea2b7a=_0x23cd0a;if((_0x20e350==null?void 0x0:_0x20e350['unitID'])!==this[_0xea2b7a(0x2d3)])return;const _0x49669b={'eventID':_0x2129fa[_0xea2b7a(0x368)],'data':_0x20e350};this[_0xea2b7a(0x262)](_0x49669b);}),this['disposeWithMe'](this[_0x23cd0a(0x360)][_0x23cd0a(0x1ba)](_0x514436=>{const _0xa564a8=_0x23cd0a;if(_0x514436['params']==null)return;const _0x4f08bf=_0x514436['params'];if(_0x514436['id']!==_0x434421['id']||_0x4f08bf['unitId']!==this[_0xa564a8(0x2d3)])return;const _0x591663={'id':_0xa564a8(0x22b),'params':_0x4f08bf},_0x54a8a4=this[_0xa564a8(0x23d)];for(const [_0x32d946,_0x2d2565]of _0x54a8a4){const _0x1e31ed={'id':_0xa564a8(0x22b),'params':{'unitId':this[_0xa564a8(0x2d3)],'actions':null,'textRanges':_0x2d2565['ranges']}},_0x2ec8e5=this[_0xa564a8(0x3a3)][_0xa564a8(0x20e)](_0x591663,_0x1e31ed,!0x1);if(_0x4bdbc5(_0x2ec8e5))throw _0x2ec8e5['error'];_0x54a8a4[_0xa564a8(0x31b)](_0x32d946,{..._0x2d2565,'ranges':_0x2ec8e5[_0xa564a8(0x2ef)][_0xa564a8(0x315)][_0xa564a8(0x1b2)]});}queueMicrotask(()=>{const _0x591541=_0xa564a8;this[_0x591541(0x2d1)][_0x591541(0x351)](_0x54a8a4);});})));}[_0x541ec7(0x262)](_0x2ff4f7){const _0x1fdf46=_0x541ec7;var _0x1c64cf,_0x39f6c1;const {memberID:_0x3e3aaf,selection:_0x46ca47}=_0x2ff4f7[_0x1fdf46(0x36c)],_0x1834ff=_i(_0x46ca47),_0x68d929=(_0x39f6c1=(_0x1c64cf=this['_memberService'][_0x1fdf46(0x259)](this[_0x1fdf46(0x2d3)],_0x3e3aaf))==null?void 0x0:_0x1c64cf[_0x1fdf46(0x37d)])!=null?_0x39f6c1:_0x1fdf46(0x24f),_0x350a64={'color':this[_0x1fdf46(0x201)][_0x1fdf46(0x30f)](_0x3e3aaf),'name':_0x68d929,'ranges':_0x1834ff},_0x712bd8=this[_0x1fdf46(0x23d)];_0x712bd8[_0x1fdf46(0x31b)](_0x3e3aaf,_0x350a64),this[_0x1fdf46(0x2d1)][_0x1fdf46(0x351)](_0x712bd8);}['_onCursorDelete'](_0x3bea90){const _0x30bfd4=_0x541ec7,{memberID:_0x54d2f1}=_0x3bea90['data'],_0x4a9ec1=this[_0x30bfd4(0x23d)];_0x4a9ec1[_0x30bfd4(0x240)](_0x54d2f1),this['_cursorInfo$'][_0x30bfd4(0x351)](_0x4a9ec1);}[_0x541ec7(0x3a6)](){const _0x566c2e=_0x541ec7;var _0xbc3185;if(this[_0x566c2e(0x202)]=!0x0,((_0xbc3185=this['_univerInstanceService'][_0x566c2e(0x29a)]())==null?void 0x0:_0xbc3185[_0x566c2e(0x2a6)]())!==this['unitID'])return;const _0xe242d8=this['_injector'][_0x566c2e(0x28f)](_0x1276ee)[_0x566c2e(0x26c)]();Array[_0x566c2e(0x1f0)](_0xe242d8)&&_0xe242d8[_0x566c2e(0x24a)]>0x0&&this[_0x566c2e(0x1de)](_0xe242d8);}['_toggleOffline'](){const _0x5b1bc0=_0x541ec7;this[_0x5b1bc0(0x202)]=!0x1;}};Ue=ui([w(0x2,_0x103d04(_0xd692d6)),w(0x3,_0x103d04(ke)),w(0x4,_0x103d04(_0x4ae1ea)),w(0x5,_0x103d04(He)),w(0x6,_0x21a9f7),w(0x7,_0xb44ffb),w(0x8,_0x11e1d9)],Ue);var Si=Object[_0x541ec7(0x34f)],mi=(_0x232f4c,_0x58487b,_0x26c8f4,_0x4559aa)=>{const _0x234abb=_0x541ec7;for(var _0x65d263=_0x4559aa>0x1?void 0x0:_0x4559aa?Si(_0x58487b,_0x26c8f4):_0x58487b,_0x4824a7=_0x232f4c[_0x234abb(0x24a)]-0x1,_0x376c51;_0x4824a7>=0x0;_0x4824a7--)(_0x376c51=_0x232f4c[_0x4824a7])&&(_0x65d263=_0x376c51(_0x65d263)||_0x65d263);return _0x65d263;},x=(_0x489d1d,_0x885b21)=>(_0x452ac9,_0x42ffaf)=>_0x885b21(_0x452ac9,_0x42ffaf,_0x489d1d);const gi=0x12c,vi=0x64,Ii=()=>{let _0x4fef37=[],_0x323b01=!0x1;return _0x12437f=>{const _0x1c2edf=_0x4d4b;_0x4fef37[_0x1c2edf(0x2af)](_0x12437f),_0x323b01||(_0x323b01=!0x0,setTimeout(()=>{const _0x5179d8=_0x1c2edf;_0x4fef37[_0x5179d8(0x320)](_0x1c768d=>_0x1c768d()),_0x4fef37=[],_0x323b01=!0x1;}));};};let Me=class extends _0x54b14c{constructor(_0x391d65,_0xaa919a,_0x1462f8,_0x4b84a8,_0x2607e5,_0xdd3b4f,_0x4f4c47,_0x3f8a9e){const _0x57ad09=_0x541ec7;super(),_(this,_0x57ad09(0x202),!0x1),_(this,_0x57ad09(0x1bb),!0x1),_(this,'_cursorInfo$',new _0x4ebf3e(new Map())),_(this,'cursorInfo$',this[_0x57ad09(0x2d1)][_0x57ad09(0x33e)]()),_(this,'_roomMembers$',new _0x4ebf3e([])),_(this,_0x57ad09(0x230),this[_0x57ad09(0x35a)]['pipe'](_0x1128e5(gi))),_(this,_0x57ad09(0x1de),_0x382b9e((_0x4182da,_0x53ac1a)=>{const _0x910a12=_0x57ad09,_0x1589aa={'eventID':_0x2129fa['UPDATE_CURSOR'],'data':{'unitID':this[_0x910a12(0x2d3)],'memberID':this[_0x910a12(0x221)][_0x910a12(0x39a)](),'selection':_0x79dc72(_0x4182da,_0x53ac1a[_0x910a12(0x3af)])}};this[_0x910a12(0x221)][_0x910a12(0x2bc)](_0x1589aa,this[_0x910a12(0x2d3)]);},vi)),(this[_0x57ad09(0x2d3)]=_0x391d65,this[_0x57ad09(0x221)]=_0xaa919a,this[_0x57ad09(0x23f)]=_0x1462f8,this[_0x57ad09(0x201)]=_0x4b84a8,this[_0x57ad09(0x1b4)]=_0x2607e5,this[_0x57ad09(0x1f4)]=_0xdd3b4f,this['_commandService']=_0x4f4c47,this['_refRangeService']=_0x3f8a9e);}get['cursorInfo'](){const _0xac4f5a=_0x541ec7;return this['_cursorInfo$'][_0xac4f5a(0x2b4)]();}get[_0x541ec7(0x380)](){const _0x35be8d=_0x541ec7;return this[_0x35be8d(0x35a)]['getValue']();}['dispose'](){const _0x5c1d48=_0x541ec7;super[_0x5c1d48(0x30e)](),this[_0x5c1d48(0x2d1)][_0x5c1d48(0x351)](new Map()),this[_0x5c1d48(0x2d1)][_0x5c1d48(0x395)](),this['_roomMembers$'][_0x5c1d48(0x351)]([]),this[_0x5c1d48(0x35a)][_0x5c1d48(0x395)]();}[_0x541ec7(0x2e0)](){const _0x5c6bb7=_0x541ec7;this[_0x5c6bb7(0x1bb)]||(this[_0x5c6bb7(0x1bb)]=!0x0,this['_session'][_0x5c6bb7(0x295)][_0x5c6bb7(0x32a)](_0x4bdb4f(this[_0x5c6bb7(0x3a7)]))[_0x5c6bb7(0x339)](_0x32942b=>{const _0x55bab7=_0x5c6bb7;_0x32942b===_0x155d1d['ONLINE']?this[_0x55bab7(0x3a6)]():this['_toggleOffline']();}),this[_0x5c6bb7(0x221)][_0x5c6bb7(0x33c)]['pipe'](_0x4bdb4f(this[_0x5c6bb7(0x3a7)]))['subscribe'](_0x1125d7=>{const _0x3b07fd=_0x5c6bb7,_0x549957=_0x1125d7[_0x3b07fd(0x2ec)];_0x549957===_0x2129fa[_0x3b07fd(0x368)]&&this[_0x3b07fd(0x262)](_0x1125d7),_0x549957===_0x2129fa[_0x3b07fd(0x3ab)]&&this[_0x3b07fd(0x326)](_0x1125d7);}),this[_0x5c6bb7(0x250)](),this[_0x5c6bb7(0x1be)](this[_0x5c6bb7(0x360)][_0x5c6bb7(0x1ba)](_0x5c9978=>{const _0x1974f5=_0x5c6bb7;if(this[_0x1974f5(0x202)]&&_0x5c9978['id']===_0xacc777['id']&&_0x5c9978['params'][_0x1974f5(0x1d1)]===this[_0x1974f5(0x2d3)]){const _0x32b56e=_0x5c9978[_0x1974f5(0x315)];this['_updateLocalCursor'](_0x32b56e['subUnitId'],_0x32b56e[_0x1974f5(0x28a)][0x0]);}})));}[_0x541ec7(0x262)](_0x49fe21){const _0x55b455=_0x541ec7;var _0x160b15,_0xbc583c;const {memberID:_0xd4114a,selection:_0x519cd4}=_0x49fe21['data'],{sheetName:_0x2f45be,range:_0x214eeb}=_0x5d09dc(_0x519cd4),_0xf34041={'name':(_0xbc583c=(_0x160b15=this[_0x55b455(0x1b4)][_0x55b455(0x259)](this['unitID'],_0xd4114a))==null?void 0x0:_0x160b15[_0x55b455(0x37d)])!=null?_0xbc583c:_0x55b455(0x24f),'range':this['_getMergeRange'](_0x2f45be,_0x214eeb),'sheetID':_0x2f45be,'color':this[_0x55b455(0x201)]['assignAColorForMemberID'](_0xd4114a),'selection':_0x519cd4},_0x4ac72f=this['cursorInfo'];_0x4ac72f[_0x55b455(0x31b)](_0xd4114a,_0xf34041),this['_cursorInfo$']['next'](_0x4ac72f);}[_0x541ec7(0x326)](_0x3ba477){const _0x2be6e2=_0x541ec7,{memberID:_0x529d40}=_0x3ba477[_0x2be6e2(0x36c)],_0xdee84=this['cursorInfo'];_0xdee84['delete'](_0x529d40),this[_0x2be6e2(0x2d1)][_0x2be6e2(0x351)](_0xdee84);}[_0x541ec7(0x301)](_0xb96ef9,_0x4c9021){const _0x17f5b7=_0x541ec7;var _0x2ca1da,_0x17b5fb;const _0xc49d6f=(_0x17b5fb=(_0x2ca1da=this[_0x17f5b7(0x1f4)][_0x17f5b7(0x2f3)](this[_0x17f5b7(0x2d3)]))==null?void 0x0:_0x2ca1da[_0x17f5b7(0x2d6)](_0xb96ef9))==null?void 0x0:_0x17b5fb[_0x17f5b7(0x1ec)]();return(_0xc49d6f==null?void 0x0:_0xc49d6f[_0x17f5b7(0x1f3)](_0x5c58cc=>_0x5b3c88[_0x17f5b7(0x25a)](_0x5c58cc,_0x4c9021)))||_0x4c9021;}[_0x541ec7(0x250)](){const _0x5c0587=_0x541ec7,_0x4aaae2=new _0x25559b(),_0x8b2a33=Ii(),_0x59356a=()=>{const _0x1a8aa5=_0x4d4b;_0x4aaae2[_0x1a8aa5(0x30e)]();const _0x5e7531=(_0x20f809,_0x158b82,_0x492a06,_0x1bd834)=>{const _0x4158ed=_0x1a8aa5;let _0x445ec4=[];switch(_0x20f809['id']){case _0x481f2a[_0x4158ed(0x35b)]:{_0x445ec4=_0x454553(_0x20f809,_0x1bd834);break;}case _0x481f2a['DeleteRangeMoveUpCommandId']:{_0x445ec4=_0x53d240(_0x20f809,_0x1bd834);break;}case _0x481f2a[_0x4158ed(0x341)]:{_0x445ec4=_0x2b758a(_0x20f809,_0x1bd834);break;}case _0x481f2a['InsertRangeMoveDownCommandId']:{_0x445ec4=_0xc17b35(_0x20f809,_0x1bd834);break;}case _0x481f2a['InsertRangeMoveRightCommandId']:{_0x445ec4=_0x3abd80(_0x20f809,_0x1bd834);break;}case _0x481f2a[_0x4158ed(0x271)]:{_0x445ec4=_0x28555c(_0x20f809,_0x1bd834);break;}case _0x481f2a[_0x4158ed(0x1f7)]:{_0x445ec4=_0xe1d6cf(_0x20f809,_0x1bd834);break;}case _0x481f2a[_0x4158ed(0x2b0)]:{_0x445ec4=_0x395dc2(_0x20f809,_0x1bd834);break;}case _0x481f2a['RemoveRowCommandId']:{_0x445ec4=_0x19aa1f(_0x20f809,_0x1bd834);break;}}const _0x5de950=_0x2610f4(_0x445ec4,_0x1bd834),_0x598ff3=this[_0x4158ed(0x23d)][_0x4158ed(0x28f)](_0x158b82);if(_0x598ff3&&_0x5de950){const _0x15bf66={..._0x598ff3,'range':_0x5de950};this[_0x4158ed(0x23d)][_0x4158ed(0x31b)](_0x158b82,_0x15bf66),_0x8b2a33(()=>{const _0x1d3661=_0x4158ed,_0x3b1895=this[_0x1d3661(0x2c1)]['registerRefRange'](_0x5de950,_0x247dd2=>(_0x3b1895[_0x1d3661(0x30e)](),_0x5e7531(_0x247dd2,_0x158b82,_0x492a06,_0x5de950)));_0x4aaae2['add'](_0x3b1895);});}return{'redos':[],'undos':[]};};this[_0x1a8aa5(0x23d)][_0x1a8aa5(0x320)]((_0x19ed49,_0x2f937e)=>{const _0x32b23b=_0x1a8aa5,{range:_0xeef706,sheetID:_0x29f728}=_0x19ed49,_0x30fd99=this[_0x32b23b(0x2c1)][_0x32b23b(0x24c)](_0xeef706,_0x1b4871=>(_0x30fd99['dispose'](),_0x5e7531(_0x1b4871,_0x2f937e,_0x29f728,_0xeef706)));_0x4aaae2[_0x32b23b(0x2db)](_0x30fd99);});};this[_0x5c0587(0x1be)](_0x1d2d8f(this[_0x5c0587(0x2d1)][_0x5c0587(0x339)](()=>{_0x59356a();})));}['_toggleOnline'](){const _0x2a65f8=_0x541ec7;var _0x46f678,_0x18082a;if(this[_0x2a65f8(0x202)]=!0x0,((_0x46f678=this[_0x2a65f8(0x1f4)][_0x2a65f8(0x29a)]())==null?void 0x0:_0x46f678[_0x2a65f8(0x2a6)]())!==this['unitID'])return;const _0x3728c5=(_0x18082a=this[_0x2a65f8(0x23f)][_0x2a65f8(0x28f)](_0x29b046)[_0x2a65f8(0x3a0)]())==null?void 0x0:_0x18082a[0x0],_0x399a06=this['_univerInstanceService']['getCurrentUnitForType'](_0x24a6a1[_0x2a65f8(0x313)])[_0x2a65f8(0x1ed)]();_0x3728c5&&_0x399a06&&this[_0x2a65f8(0x1de)](_0x399a06['getSheetId'](),_0x3728c5);}[_0x541ec7(0x248)](){const _0x30e67c=_0x541ec7;this[_0x30e67c(0x202)]=!0x1;}};Me=mi([x(0x2,_0x103d04(_0xd692d6)),x(0x3,_0x103d04(ke)),x(0x4,_0x103d04(_0x4ae1ea)),x(0x5,_0xb44ffb),x(0x6,_0x11e1d9),x(0x7,_0x103d04(_0x3a9f4b))],Me);var pi=Object[_0x541ec7(0x34f)],Ci=(_0x97aedd,_0x43a0f9,_0x29ce8d,_0x37f5b2)=>{const _0x42b369=_0x541ec7;for(var _0x148e70=_0x37f5b2>0x1?void 0x0:_0x37f5b2?pi(_0x43a0f9,_0x29ce8d):_0x43a0f9,_0x49bbd1=_0x97aedd[_0x42b369(0x24a)]-0x1,_0x113a49;_0x49bbd1>=0x0;_0x49bbd1--)(_0x113a49=_0x97aedd[_0x49bbd1])&&(_0x148e70=_0x113a49(_0x148e70)||_0x148e70);return _0x148e70;},Se=(_0x6731b9,_0x2cb11e)=>(_0x1772c1,_0x4dd4c6)=>_0x2cb11e(_0x1772c1,_0x4dd4c6,_0x6731b9);let H=class extends _0x54b14c{constructor(_0x129ca7,_0x594a10,_0x2f82b3){const _0x3baab8=_0x541ec7;super(),_(this,_0x3baab8(0x3b0),new Map()),_(this,'_entityInit$',new _0x3c35e3()),(this[_0x3baab8(0x1f4)]=_0x129ca7,this['_injector']=_0x594a10,this[_0x3baab8(0x21d)]=_0x2f82b3,this['_init']());}[_0x541ec7(0x30e)](){const _0xb31e5f=_0x541ec7;super[_0xb31e5f(0x30e)](),this[_0xb31e5f(0x363)][_0xb31e5f(0x395)](),this[_0xb31e5f(0x3b0)][_0xb31e5f(0x320)](_0x2e6862=>_0x2e6862[_0xb31e5f(0x30e)]());}[_0x541ec7(0x20f)](_0x5006a8){const _0x5a97c2=_0x541ec7;return this[_0x5a97c2(0x3b0)][_0x5a97c2(0x272)](_0x5006a8)?this[_0x5a97c2(0x3b0)][_0x5a97c2(0x28f)](_0x5006a8)[_0x5a97c2(0x1d7)]:this[_0x5a97c2(0x363)][_0x5a97c2(0x32a)](_0x3b2552(_0x546399=>_0x546399[_0x5a97c2(0x2d3)]===_0x5006a8),_0x1b3d7f(_0x3070f0=>_0x3070f0['cursorInfo$']));}['_init'](){const _0x1d68a7=_0x541ec7;this['_univerInstanceService'][_0x1d68a7(0x2f0)](_0x24a6a1['UNIVER_SHEET'])[_0x1d68a7(0x32a)](_0x4bdb4f(this[_0x1d68a7(0x3a7)]))['subscribe'](async _0x2e9b56=>{const _0x42b1c9=_0x1d68a7,_0x1b18aa=_0x2e9b56[_0x42b1c9(0x2a6)](),_0x53b28e=await this[_0x42b1c9(0x23a)](_0x1b18aa);this[_0x42b1c9(0x363)][_0x42b1c9(0x351)](_0x53b28e),this[_0x42b1c9(0x3b0)][_0x42b1c9(0x31b)](_0x1b18aa,_0x53b28e);}),this[_0x1d68a7(0x1f4)][_0x1d68a7(0x2f0)](_0x24a6a1[_0x1d68a7(0x345)])[_0x1d68a7(0x32a)](_0x4bdb4f(this[_0x1d68a7(0x3a7)]))[_0x1d68a7(0x32a)](_0x3b2552(_0x510380=>!_0x510380['getUnitId']()[_0x1d68a7(0x29d)]('__')))[_0x1d68a7(0x339)](async _0x33f24c=>{const _0x2e4f48=_0x1d68a7,_0x25e9c2=_0x33f24c[_0x2e4f48(0x2a6)](),_0x457645=await this['_startDocCollabCursor'](_0x25e9c2);this[_0x2e4f48(0x363)][_0x2e4f48(0x351)](_0x457645),this[_0x2e4f48(0x3b0)][_0x2e4f48(0x31b)](_0x25e9c2,_0x457645);}),_0x46d08b(this[_0x1d68a7(0x1f4)][_0x1d68a7(0x25f)](_0x24a6a1[_0x1d68a7(0x345)]),this[_0x1d68a7(0x1f4)][_0x1d68a7(0x25f)](_0x24a6a1[_0x1d68a7(0x313)]))[_0x1d68a7(0x32a)](_0x4bdb4f(this[_0x1d68a7(0x3a7)]))[_0x1d68a7(0x339)](_0x1d943b=>{const _0xc30e54=_0x1d68a7,_0x4262a1=_0x1d943b[_0xc30e54(0x2a6)](),_0x3687bf=this[_0xc30e54(0x3b0)]['get'](_0x4262a1);_0x3687bf&&(_0x3687bf[_0xc30e54(0x30e)](),this[_0xc30e54(0x3b0)][_0xc30e54(0x240)](_0x4262a1));});}async[_0x541ec7(0x23a)](_0xbe9ad7){const _0x3f07bb=_0x541ec7,_0x19631d=await this[_0x3f07bb(0x21d)]['requireSession'](_0xbe9ad7),_0x4334d6=this['_injector'][_0x3f07bb(0x3aa)](Me,_0xbe9ad7,_0x19631d);return _0x4334d6['init'](),_0x4334d6;}async[_0x541ec7(0x274)](_0x9fa23e){const _0x241e7f=_0x541ec7,_0x500143=await this[_0x241e7f(0x21d)][_0x241e7f(0x36f)](_0x9fa23e),_0x191f11=this['_injector'][_0x241e7f(0x3aa)](Ue,_0x9fa23e,_0x500143);return _0x191f11[_0x241e7f(0x2e0)](),_0x191f11;}};H=Ci([Se(0x0,_0xb44ffb),Se(0x1,_0x103d04(_0xd692d6)),Se(0x2,_0x103d04(_0x56b072))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function bi(_0x2c3b3b,_0x3c2dad){const _0x1e2789=_0x541ec7;let {radius:_0x433f14,width:_0x532ea8,height:_0x8e7be3}=_0x3c2dad;_0x433f14=_0x433f14!=null?_0x433f14:0x0,_0x532ea8=_0x532ea8!=null?_0x532ea8:0x1e,_0x8e7be3=_0x8e7be3!=null?_0x8e7be3:0x1e;let _0x2bd97f=0x0,_0x2e999f=0x0,_0x21b784=0x0;_0x2bd97f=_0x2e999f=_0x21b784=Math[_0x1e2789(0x3b3)](_0x433f14,_0x532ea8/0x2,_0x8e7be3/0x2),_0x2c3b3b['beginPath'](),_0x2c3b3b[_0x1e2789(0x3a9)](_0x2bd97f,0x0),_0x2c3b3b[_0x1e2789(0x2de)](_0x532ea8-_0x2e999f,0x0),_0x2c3b3b[_0x1e2789(0x288)](_0x532ea8-_0x2e999f,_0x2e999f,_0x2e999f,Math['PI']*0x3/0x2,0x0,!0x1),_0x2c3b3b[_0x1e2789(0x2de)](_0x532ea8,_0x8e7be3-_0x21b784),_0x2c3b3b['arc'](_0x532ea8-_0x21b784,_0x8e7be3-_0x21b784,_0x21b784,0x0,Math['PI']/0x2,!0x1),_0x2c3b3b[_0x1e2789(0x2de)](0x0,_0x8e7be3),_0x2c3b3b[_0x1e2789(0x2de)](0x0,_0x2bd97f),_0x2c3b3b['arc'](_0x2bd97f,_0x2bd97f,_0x2bd97f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2c3b3b[_0x1e2789(0x2b7)](),_0x3c2dad[_0x1e2789(0x1da)]&&(_0x2c3b3b[_0x1e2789(0x2f8)](),_0x2c3b3b['fillStyle']=_0x3c2dad['fill'],_0x3c2dad['fillRule']==='evenodd'?_0x2c3b3b[_0x1e2789(0x1da)](_0x1e2789(0x352)):_0x2c3b3b[_0x1e2789(0x1da)](),_0x2c3b3b[_0x1e2789(0x1f1)]());}class he extends _0x46b5ff{constructor(_0x388247,_0x122207){const _0x2860bf=_0x541ec7;super(_0x388247,_0x122207),_(this,_0x2860bf(0x34a)),_(this,'text'),(this[_0x2860bf(0x34a)]=_0x122207==null?void 0x0:_0x122207[_0x2860bf(0x34a)],this['text']=_0x122207==null?void 0x0:_0x122207['text']);}static[_0x541ec7(0x309)](_0x4b130c,_0x2b60a3){const _0x1828de=_0x541ec7,{text:_0x43ad38,color:_0x508290}=_0x2b60a3;_0x4b130c[_0x1828de(0x2f8)](),_0x4b130c[_0x1828de(0x1ce)]=_0x1828de(0x2e3);const _0x39d12f=_0x4b130c['measureText'](_0x43ad38)[_0x1828de(0x379)],_0x489003=Math[_0x1828de(0x3b3)](_0x39d12f+0x2*me,Qe);bi(_0x4b130c,{'height':ee,'radius':0x4,'width':_0x489003,'fill':_0x508290}),_0x4b130c[_0x1828de(0x317)]=_0x1828de(0x1e8);const _0x5d9a5d=me,_0x5c967c=ee-Ei,_0x2e7fd9=Qe-0x2*me;if(_0x39d12f>_0x2e7fd9){let _0x5d46f2='',_0x2dc97d=0x0;for(const _0x4e46e8 of _0x43ad38){const _0x17c2eb=_0x4b130c[_0x1828de(0x27f)](_0x4e46e8)[_0x1828de(0x379)];if(_0x2dc97d+_0x17c2eb<=_0x2e7fd9-_0x4b130c[_0x1828de(0x27f)](_0x1828de(0x24e))[_0x1828de(0x379)])_0x5d46f2+=_0x4e46e8,_0x2dc97d+=_0x17c2eb;else{_0x5d46f2+=_0x1828de(0x24e);break;}}_0x4b130c[_0x1828de(0x365)](_0x5d46f2,_0x5d9a5d,_0x5c967c);}else _0x4b130c['fillText'](_0x43ad38,_0x5d9a5d,_0x5c967c);_0x4b130c[_0x1828de(0x1f1)]();}[_0x541ec7(0x1f9)](_0x5909af){he['drawWith'](_0x5909af,this);}}const ge=_0x541ec7(0x243),Oi=_0x541ec7(0x21f),Ti=_0x541ec7(0x1cb),X=0x6,Ri=1.5,ve=0x4,Di=1.5,Ni=_0x541ec7(0x2f7);class qe{constructor(_0xcf1050,_0x2561c6,_0x1bb017,_0x5ce443){const _0x5e51b6=_0x541ec7;_(this,_0x5e51b6(0x30a),[]),_(this,_0x5e51b6(0x319),null),_(this,_0x5e51b6(0x2c2),null),_(this,'_anchorDot',null),_(this,_0x5e51b6(0x2f9),null),_(this,_0x5e51b6(0x22f),null),(this['_cursor']=_0xcf1050,this[_0x5e51b6(0x31c)]=_0x2561c6,this[_0x5e51b6(0x2fe)]=_0x1bb017,this[_0x5e51b6(0x1f5)]=_0x5ce443,this[_0x5e51b6(0x2fb)]());}set[_0x541ec7(0x369)](_0x41f779){const _0x2b31eb=_0x541ec7;_0x41f779?(this[_0x2b31eb(0x1d3)]&&this[_0x2b31eb(0x1d3)][_0x2b31eb(0x32f)](),this[_0x2b31eb(0x2c2)]&&this[_0x2b31eb(0x2c2)][_0x2b31eb(0x38b)]()):(this[_0x2b31eb(0x1d3)]&&this['_anchorDot'][_0x2b31eb(0x38b)](),this['_textBubble']&&this['_textBubble'][_0x2b31eb(0x32f)]());}[_0x541ec7(0x30e)](){const _0x83022c=_0x541ec7;for(const _0x5e492f of this[_0x83022c(0x30a)])_0x5e492f[_0x83022c(0x30e)]();this[_0x83022c(0x2c2)]&&this[_0x83022c(0x2c2)][_0x83022c(0x30e)](),this[_0x83022c(0x1d3)]&&this[_0x83022c(0x1d3)][_0x83022c(0x30e)](),this[_0x83022c(0x319)]&&this[_0x83022c(0x319)][_0x83022c(0x30e)](),this[_0x83022c(0x22f)]&&this[_0x83022c(0x22f)]();}['_render'](){const _0xa18bc0=_0x541ec7;var _0x50a33a;const {_docSkeleton:_0x498be1,_document:_0x1852dd}=this,{color:_0x2426ed,name:_0x4c2480,ranges:_0x55c0da}=this['_cursor'],_0x51408c=_0x1852dd[_0xa18bc0(0x2d4)](),{docsLeft:_0x38e4e8,docsTop:_0x59f8e0}=_0x51408c,_0xc729ce=new _0x224439(_0x51408c,_0x498be1);for(const {startOffset:_0x881c87,endOffset:_0x3d9909,rangeType:_0x587498,segmentId:_0x1bd6eb,segmentPage:_0x5955db,collapsed:_0x32bff0,isActive:_0x123d04}of _0x55c0da){const _0x572622=_0x498be1[_0xa18bc0(0x289)](_0x881c87,!0x0,_0x1bd6eb,_0x5955db);let _0x53818c=_0x498be1[_0xa18bc0(0x289)](_0x3d9909,!0x0,_0x1bd6eb,_0x5955db);if(_0x53818c==null&&(_0x53818c=_0x498be1['findNodePositionByCharIndex'](_0x3d9909-0x1,!0x1,_0x1bd6eb,_0x5955db)),_0x123d04){const {contentBoxPointGroup:_0x5b59d6}=_0xc729ce['getRangePointData'](_0x53818c,_0x53818c);if(_0x5b59d6[_0xa18bc0(0x24a)]===0x0)continue;this[_0xa18bc0(0x27d)](_0x2426ed,_0x5b59d6,_0x38e4e8,_0x59f8e0,_0x4c2480),this[_0xa18bc0(0x22f)]=this[_0xa18bc0(0x304)]();}if(_0x572622&&_0x53818c){if(_0x587498===_0x3516cb[_0xa18bc0(0x396)]){const _0x45e84f=new _0x406f57(_0x51408c,_0x498be1),{pointGroup:_0x1fe5c8}=(_0x50a33a=_0x45e84f[_0xa18bc0(0x277)](_0x572622,_0x53818c))!=null?_0x50a33a:{};if(_0x1fe5c8==null||_0x1fe5c8[_0xa18bc0(0x24a)]===0x0)continue;this[_0xa18bc0(0x296)](_0x2426ed,_0x1fe5c8,_0x38e4e8,_0x59f8e0);}else{if(!_0x32bff0){const {borderBoxPointGroup:_0x2d4fc3}=_0xc729ce[_0xa18bc0(0x277)](_0x572622,_0x53818c);if(_0x2d4fc3[_0xa18bc0(0x24a)]===0x0)continue;this[_0xa18bc0(0x238)](_0x2426ed,_0x2d4fc3,_0x38e4e8,_0x59f8e0);}}}}}[_0x541ec7(0x27d)](_0x1588cd,_0x2d5764,_0x2f2bdd,_0x4d8f5e,_0x56ba76){const _0x7e9b26=_0x541ec7,_0x237041=this[_0x7e9b26(0x2a3)](_0x2d5764),{left:_0x333747,top:_0xaeea50,height:_0x55b2d3}=_0x237041,_0x198bc8=this['_getScale'](),_0x32870d=Di/_0x198bc8,_0x48bba8=new _0x428ec8(ge+_0xe6710b[_0x7e9b26(0x279)](X),{'left':_0x333747+_0x2f2bdd-_0x32870d,'top':_0xaeea50+_0x4d8f5e,'height':_0x55b2d3,'width':Ri,'fill':_0x1588cd||_0x50fcc7(_0x1d0a3d['black'],0x0),'strokeWidth':_0x32870d,'stroke':Ni,'evented':!0x0});this[_0x7e9b26(0x319)]=_0x48bba8,this[_0x7e9b26(0x31c)][_0x7e9b26(0x3a5)](_0x48bba8,_0x37ebab);const _0x32cc7f=new _0x428ec8(ge+_0xe6710b['generateRandomId'](X),{'left':_0x333747+_0x2f2bdd-_0x32870d,'top':_0xaeea50+_0x4d8f5e-ve/0x2,'height':ve,'width':ve,'fill':_0x1588cd||_0x50fcc7(_0x1d0a3d[_0x7e9b26(0x297)],0x0),'strokeWidth':0x0,'stroke':_0x1588cd||_0x50fcc7(_0x1d0a3d[_0x7e9b26(0x297)],0x0),'evented':!0x1});this['_anchorDot']=_0x32cc7f,this[_0x7e9b26(0x31c)][_0x7e9b26(0x3a5)](_0x32cc7f,_0x37ebab);const _0x18cdee=new he(ge+_0xe6710b[_0x7e9b26(0x279)](X),{'left':_0x333747+_0x2f2bdd-_0x32870d,'top':_0xaeea50+_0x4d8f5e-ee,'text':_0x56ba76,'color':_0x1588cd});this[_0x7e9b26(0x2c2)]=_0x18cdee,this['_scene'][_0x7e9b26(0x3a5)](_0x18cdee,_0x37ebab),this['_hover']=!0x1;}['_handleHover'](){const _0x575fb7=_0x541ec7,_0x4ecc50=this[_0x575fb7(0x319)][_0x575fb7(0x2b8)][_0x575fb7(0x2ba)](()=>{this['_hover']=!0x0;}),_0x476436=this['_anchor']['onPointerLeave$'][_0x575fb7(0x2ba)](()=>{const _0x1eaf0d=_0x575fb7;this[_0x1eaf0d(0x2f9)]&&clearTimeout(this['_hideTimer']),this[_0x1eaf0d(0x2f9)]=setTimeout(()=>{const _0x32fb99=_0x1eaf0d;this[_0x32fb99(0x369)]=!0x1;},0x7d0);});return()=>{const _0x2ba2f2=_0x575fb7;_0x4ecc50[_0x2ba2f2(0x327)](),_0x476436[_0x2ba2f2(0x327)]();};}['_drawTextRange'](_0xbd6e9c,_0x405e08,_0x3b2603,_0x360197){const _0x1f4a90=_0x541ec7,_0x226806=new _0x548ecc(_0xbd6e9c)[_0x1f4a90(0x228)](0.2)[_0x1f4a90(0x31a)](),_0x55d080=new _0xe3c809(Oi+_0xe6710b[_0x1f4a90(0x279)](X),{'pointsGroup':_0x405e08,'fill':_0x226806||_0x50fcc7(_0x1d0a3d[_0x1f4a90(0x297)],0.2),'left':_0x3b2603,'top':_0x360197,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x55d080),this[_0x1f4a90(0x31c)][_0x1f4a90(0x3a5)](_0x55d080,_0x37ebab);}[_0x541ec7(0x296)](_0x37523c,_0x17a618,_0x5b3b20,_0x2b4dfc){const _0x43c7bb=_0x541ec7,_0x4b694b=new _0x548ecc(_0x37523c)['setAlpha'](0.2)[_0x43c7bb(0x31a)](),_0x51a756=new _0xe3c809(Ti+_0xe6710b[_0x43c7bb(0x279)](X),{'pointsGroup':_0x17a618,'fill':_0x4b694b||_0x50fcc7(_0x1d0a3d[_0x43c7bb(0x297)],0.2),'left':_0x5b3b20,'top':_0x2b4dfc,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x43c7bb(0x30a)]['push'](_0x51a756),this[_0x43c7bb(0x31c)][_0x43c7bb(0x3a5)](_0x51a756,_0x37ebab);}[_0x541ec7(0x2a3)](_0x1c2d9a){const _0x5a137e=_0x1c2d9a[0x0],_0x253596=_0x5a137e[0x0],_0x372f96=_0x5a137e[0x2],{x:_0xacb3ca,y:_0x2c3f4d}=_0x253596,{x:_0x14fc4b,y:_0x2f5391}=_0x372f96;return{'left':_0xacb3ca,'top':_0x2c3f4d,'width':_0x14fc4b-_0xacb3ca,'height':_0x2f5391-_0x2c3f4d};}['_getScale'](){const _0x184983=_0x541ec7,{scaleX:_0x56c616,scaleY:_0x23fd85}=this['_scene'][_0x184983(0x333)]();return Math['max'](_0x56c616,_0x23fd85);}}var Ui=Object[_0x541ec7(0x34f)],Mi=(_0xa6e2c7,_0x711f7b,_0x2eb5f6,_0x1edfc3)=>{const _0x5ef78b=_0x541ec7;for(var _0x223f59=_0x1edfc3>0x1?void 0x0:_0x1edfc3?Ui(_0x711f7b,_0x2eb5f6):_0x711f7b,_0x18ec88=_0xa6e2c7[_0x5ef78b(0x24a)]-0x1,_0x5b79e1;_0x18ec88>=0x0;_0x18ec88--)(_0x5b79e1=_0xa6e2c7[_0x18ec88])&&(_0x223f59=_0x5b79e1(_0x223f59)||_0x223f59);return _0x223f59;},Z=(_0x9009db,_0x5865a7)=>(_0x4ecbe7,_0x4a4fd3)=>_0x5865a7(_0x4ecbe7,_0x4a4fd3,_0x9009db);let Pe=class extends _0x54b14c{constructor(_0x78af54,_0x35613f,_0x384a79,_0xffcf48,_0x812f4e){const _0x5e1d65=_0x541ec7;super(),_(this,_0x5e1d65(0x2d8),[]),_(this,'_cursors',[]),(this[_0x5e1d65(0x36a)]=_0x78af54,this[_0x5e1d65(0x1df)]=_0x35613f,this[_0x5e1d65(0x1b5)]=_0x384a79,this[_0x5e1d65(0x360)]=_0xffcf48,this['_themeService']=_0x812f4e,this['_init']());}[_0x541ec7(0x1bb)](){const _0x2f7beb=_0x541ec7,_0x4e93bc=this['_context'][_0x2f7beb(0x1d1)],_0x197266=this[_0x2f7beb(0x1df)];this[_0x2f7beb(0x1be)](_0x4c1cd7([this[_0x2f7beb(0x1b5)][_0x2f7beb(0x20f)](_0x4e93bc),this[_0x2f7beb(0x233)][_0x2f7beb(0x2e2)]])['pipe'](_0x2dce3d(([_0x188653,_0x1006de])=>({'skeleton':_0x197266[_0x2f7beb(0x275)](),'cursors':[..._0x188653[_0x2f7beb(0x21e)]()][_0x2f7beb(0x270)](_0x3b2bd6=>({..._0x3b2bd6,'color':_0x1006de[_0x3b2bd6[_0x2f7beb(0x34a)]]}))})))['subscribe'](_0xd34014=>{const _0x53b54e=_0x2f7beb;if(this[_0x53b54e(0x27a)](),_0xd34014){const {skeleton:_0x4265bb,cursors:_0x14681f}=_0xd34014;this['_updateCollabCursors'](_0x4265bb,_0x14681f);}})),this[_0x2f7beb(0x249)](),this[_0x2f7beb(0x323)]();}[_0x541ec7(0x25c)](_0x5174e5,_0x31c483){const _0x26762d=_0x541ec7,{scene:_0x3a25b4,mainComponent:_0x386b02}=this[_0x26762d(0x36a)],_0x567044=_0x31c483[_0x26762d(0x1d2)](_0x44ea44=>new qe(_0x44ea44,_0x3a25b4,_0x5174e5,_0x386b02));this[_0x26762d(0x2d8)]=_0x567044,this[_0x26762d(0x286)]=_0x31c483;}['_refreshCollabCursors'](){const _0x2aea4c=_0x541ec7;this[_0x2aea4c(0x27a)]();const {scene:_0x379b20,mainComponent:_0x3ef644}=this[_0x2aea4c(0x36a)],_0x11e463=this[_0x2aea4c(0x1df)]['getSkeleton'](),_0x3665f5=this[_0x2aea4c(0x286)]['map'](_0x4d014c=>new qe(_0x4d014c,_0x379b20,_0x11e463,_0x3ef644));this[_0x2aea4c(0x2d8)]=_0x3665f5;}[_0x541ec7(0x27a)](){const _0x124332=_0x541ec7;this[_0x124332(0x2d8)][_0x124332(0x320)](_0x24c70b=>_0x24c70b['dispose']()),this[_0x124332(0x2d8)]=[];}['_initCommandExecutedListener'](){const _0x5838e5=_0x541ec7,_0x26837d=[_0x28a82a['id']];this[_0x5838e5(0x1be)](this['_commandService'][_0x5838e5(0x1ba)](_0x22228f=>{const _0x136709=_0x5838e5;_0x26837d[_0x136709(0x348)](_0x22228f['id'])&&_0x22228f['params'][_0x136709(0x1d1)]===this[_0x136709(0x36a)]['unitId']&&this[_0x136709(0x1e1)]();}));}[_0x541ec7(0x249)](){const _0x267834=_0x541ec7;this[_0x267834(0x1be)](_0x3c089b(this['_context']['engine'][_0x267834(0x398)])['pipe'](_0x575aa5(_0x4412af=>_0x4412af['type']===_0x2ed89f[_0x267834(0x324)]),_0x56c389(0x10))[_0x267834(0x339)](()=>{const _0x2aae38=_0x267834;this[_0x2aae38(0x1e1)]();}));}};Pe=Mi([Z(0x1,_0x103d04(_0x1bd89a)),Z(0x2,_0x103d04(H)),Z(0x3,_0x11e1d9),Z(0x4,_0x103d04(_0x525bf9))],Pe);const Pi=0x1,wi=1.5;class Li extends _0x46b5ff{constructor(_0x5ed2ea,_0x2a2797){const _0x3dad56=_0x541ec7;super(_0x5ed2ea,_0x2a2797),_(this,'_color'),_(this,_0x3dad56(0x2cd),!0x1),_(this,_0x3dad56(0x3ad)),_(this,_0x3dad56(0x2ed),''),_(this,_0x3dad56(0x2a7),_0x3dad56(0x33f)),_(this,'_backgroundColor'),(_0x2a2797&&this[_0x3dad56(0x1f2)](_0x2a2797),this[_0x3dad56(0x2b8)][_0x3dad56(0x2ba)](()=>this[_0x3dad56(0x1f2)]({'hovered':!0x0})),this[_0x3dad56(0x1dc)][_0x3dad56(0x2ba)](()=>this[_0x3dad56(0x1f2)]({'hovered':!0x1})));}[_0x541ec7(0x1f2)](_0x45163f){const _0x5d826a=_0x541ec7;var _0x278a15,_0xa55fa1,_0x74821d,_0x2f33a0,_0x386d30,_0x5756e1;this[_0x5d826a(0x38c)]=(_0x278a15=_0x45163f[_0x5d826a(0x34a)])!=null?_0x278a15:this['_color'],this[_0x5d826a(0x2cd)]=(_0xa55fa1=_0x45163f[_0x5d826a(0x287)])!=null?_0xa55fa1:this[_0x5d826a(0x2cd)],this[_0x5d826a(0x3ad)]=(_0x74821d=_0x45163f[_0x5d826a(0x3af)])!=null?_0x74821d:this[_0x5d826a(0x3ad)],this[_0x5d826a(0x2ed)]=(_0x2f33a0=_0x45163f[_0x5d826a(0x37d)])!=null?_0x2f33a0:this[_0x5d826a(0x2ed)],this['_labelPosition']=(_0x386d30=_0x45163f[_0x5d826a(0x257)])!=null?_0x386d30:this['_labelPosition'],this['_backgroundColor']=(_0x5756e1=_0x45163f[_0x5d826a(0x239)])!=null?_0x5756e1:this[_0x5d826a(0x225)],this[_0x5d826a(0x3a4)]({'width':_0x45163f['width'],'height':_0x45163f[_0x5d826a(0x306)]});}[_0x541ec7(0x27c)](_0xdc73e3){const _0x1205a2=_0x541ec7,{row:_0x5063d1,column:_0x37e99b}=_0xdc73e3;if(_0x5063d1>=this[_0x1205a2(0x3ad)][_0x1205a2(0x1e6)]&&_0x5063d1<=this[_0x1205a2(0x3ad)][_0x1205a2(0x1bc)]&&_0x37e99b>=this[_0x1205a2(0x3ad)]['startColumn']&&_0x37e99b<=this[_0x1205a2(0x3ad)][_0x1205a2(0x37b)]){this[_0x1205a2(0x1f2)]({'hovered':!0x0});return;}this[_0x1205a2(0x1f2)]({'hovered':!0x1});}['triggerDblclick'](_0x24515a){return!0x1;}[_0x541ec7(0x1f9)](_0x1dc6a0){const _0x2e5acf=_0x541ec7;_0x428ec8[_0x2e5acf(0x309)](_0x1dc6a0,{'width':this['width'],'height':this[_0x2e5acf(0x306)],'strokeWidth':wi,'stroke':this[_0x2e5acf(0x38c)],'evented':!0x1,'fill':this[_0x2e5acf(0x225)]}),this[_0x2e5acf(0x2cd)]&&(_0x1dc6a0[_0x2e5acf(0x2f8)](),_0x1dc6a0['transform'](0x1,0x0,0x0,0x1,this[_0x2e5acf(0x379)],this[_0x2e5acf(0x2a7)]===_0x2e5acf(0x1ca)?0x0:-0x14),he[_0x2e5acf(0x309)](_0x1dc6a0,{'text':this[_0x2e5acf(0x2ed)],'color':this['_color']}),_0x1dc6a0[_0x2e5acf(0x1f1)]());}}var Ai=Object[_0x541ec7(0x34f)],yi=(_0x117aed,_0x1a1c02,_0xb39d53,_0x1344e9)=>{const _0x5e5e10=_0x541ec7;for(var _0x404dd9=_0x1344e9>0x1?void 0x0:_0x1344e9?Ai(_0x1a1c02,_0xb39d53):_0x1a1c02,_0x374b7b=_0x117aed[_0x5e5e10(0x24a)]-0x1,_0x95789f;_0x374b7b>=0x0;_0x374b7b--)(_0x95789f=_0x117aed[_0x374b7b])&&(_0x404dd9=_0x95789f(_0x404dd9)||_0x404dd9);return _0x404dd9;},Ie=(_0x3e3db0,_0xeff653)=>(_0x474e7a,_0x367ac6)=>_0xeff653(_0x474e7a,_0x367ac6,_0x3e3db0);const $i=0x1389;let we=class extends _0x54b14c{constructor(_0x1f29ff,_0x3f8004,_0x47f2ae,_0x27549c){const _0x26f606=_0x541ec7;super(),_(this,_0x26f606(0x286),new Set()),_(this,'_lastPointer',null),(this[_0x26f606(0x36a)]=_0x1f29ff,this['_sheetSkeletonManagerService']=_0x3f8004,this[_0x26f606(0x1b5)]=_0x47f2ae,this['_themeService']=_0x27549c,this[_0x26f606(0x1bb)]());}[_0x541ec7(0x1bb)](){const _0x1ee9c0=_0x541ec7;this[_0x1ee9c0(0x2ff)][_0x1ee9c0(0x353)]['pipe'](_0xd696f4(this[_0x1ee9c0(0x3a7)]),_0x5c4d4d(_0x257f05=>{const _0x265f94=_0x1ee9c0;if(_0x257f05){const _0x30db89=_0x257f05[_0x265f94(0x1ee)];return _0x4c1cd7(this[_0x265f94(0x1b5)][_0x265f94(0x20f)](this[_0x265f94(0x36a)][_0x265f94(0x1d1)]),this[_0x265f94(0x233)][_0x265f94(0x2e2)])['pipe'](_0x2dce3d(([_0x578b03,_0x4bb018])=>{const _0x4b2c55=new Map();return _0x578b03['forEach']((_0x1d6027,_0x40456f)=>{const _0x57b03b=_0x4d4b;if(_0x1d6027[_0x57b03b(0x1fa)]===_0x30db89){const _0x401c4b={..._0x1d6027};_0x401c4b['color']=_0x4bb018[_0x1d6027['color']],_0x4b2c55[_0x57b03b(0x31b)](_0x40456f,_0x401c4b);}}),{'skeleton':_0x257f05,'cursors':_0x4b2c55};}));}return _0x574d8b({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x36ba8d,cursors:_0x2048c2})=>{this['_removeCollabCursors'](),_0x36ba8d&&this['_updateCollabCursors'](_0x36ba8d,_0x2048c2);}),this[_0x1ee9c0(0x2ff)][_0x1ee9c0(0x353)][_0x1ee9c0(0x339)](_0x197edf=>{const _0x349f03=_0x1ee9c0;if(_0x197edf==null)return;const {skeleton:_0x58a963}=_0x197edf,{scene:_0x11f107}=this[_0x349f03(0x36a)];_0x11f107[_0x349f03(0x342)]['subscribeEvent'](_0x382b9e(_0x3ec808=>{const _0x2d1b2f=_0x349f03;var _0x841d36,_0x366aef;const {offsetX:_0x2ea63d,offsetY:_0x5ebb3d}=_0x3ec808,{x:_0x4797ef,y:_0x372d05}=_0x11f107[_0x2d1b2f(0x222)](_0x4153a3['FromArray']([_0x2ea63d,_0x5ebb3d])),{scaleX:_0x404051,scaleY:_0x5d5409}=_0x11f107['getAncestorScale'](),_0x2973b4=_0x11f107['getViewport'](_0x265048[_0x2d1b2f(0x1cd)]),_0x308bd4=_0x11f107[_0x2d1b2f(0x372)](_0x4153a3[_0x2d1b2f(0x356)]([_0x4797ef,_0x372d05]),_0x2973b4),_0x5e6379=_0x58a963['getCellPositionByOffset'](_0x2ea63d,_0x5ebb3d,_0x404051,_0x5d5409,_0x308bd4);((_0x841d36=this['_lastPointer'])==null?void 0x0:_0x841d36[_0x2d1b2f(0x31f)])===_0x5e6379['column']&&((_0x366aef=this[_0x2d1b2f(0x2da)])==null?void 0x0:_0x366aef[_0x2d1b2f(0x388)])===_0x5e6379[_0x2d1b2f(0x388)]||this[_0x2d1b2f(0x286)][_0x2d1b2f(0x320)](_0x4f4a08=>{const _0x31d8ea=_0x2d1b2f;_0x4f4a08[_0x31d8ea(0x27c)](_0x5e6379);});},0x64));});}[_0x541ec7(0x25c)](_0x58f02e,_0x475bcc){const _0x3ef8b6=_0x541ec7;var _0x263eee;const _0x4a9f13=(_0x263eee=this[_0x3ef8b6(0x2ff)]['getCurrent']())==null?void 0x0:_0x263eee['skeleton'];if(!_0x4a9f13)return;const _0x59ddb6=this[_0x3ef8b6(0x1e0)]();if(!_0x59ddb6)return;this['_cursors'][_0x3ef8b6(0x320)](_0x92b53f=>{_0x92b53f['makeDirty']();});const {scene:_0x1198bc}=_0x59ddb6,_0x2ab97e=xi(Array[_0x3ef8b6(0x25b)](_0x475bcc[_0x3ef8b6(0x21e)]()))[_0x3ef8b6(0x1d2)](_0x593b05=>{const _0x4518e9=_0x3ef8b6,{color:_0x58b191,range:_0xc52f63,name:_0x30df1c,selection:_0x15122f,sheetID:_0x39841b}=_0x593b05,{startColumn:_0x1c0ebd,startRow:_0x35e1df,endColumn:_0x57f7d1,endRow:_0x5ec1e3}=_0xc52f63,_0x490b04=_0x28a531(_0x35e1df,_0x1c0ebd,_0x1198bc,_0x4a9f13),_0x990d1b=_0x28a531(_0x5ec1e3,_0x57f7d1,_0x1198bc,_0x4a9f13),{columnHeaderHeightAndMarginTop:_0x482338}=_0x4a9f13,{startX:_0x70a595,startY:_0x466f2b}=_0x490b04,{endX:_0x12b2d9,endY:_0x2c0f9a}=_0x990d1b,_0x15e210=_0x12b2d9-_0x70a595,_0x53108c=_0x2c0f9a-_0x466f2b,_0x47cd14={'labelPosition':_0x466f2b-_0x482338>=ee?_0x4518e9(0x33f):_0x4518e9(0x1ca),'sheetID':_0x39841b,'range':_0xc52f63,'color':_0x58b191,'name':_0x30df1c,'selection':_0x15122f,'left':_0x70a595,'top':_0x466f2b,'width':_0x15e210,'height':_0x53108c,'evented':!0x1,'zIndex':$i};return new Li(_0x30df1c,_0x47cd14);});_0x1198bc[_0x3ef8b6(0x2c8)](_0x2ab97e,Pi),this['_cursors']=new Set(_0x2ab97e);}['_removeCollabCursors'](){const _0x353d1f=_0x541ec7;var _0x78a045;(_0x78a045=this[_0x353d1f(0x286)])==null||_0x78a045[_0x353d1f(0x320)](_0x169826=>_0x169826[_0x353d1f(0x30e)]());}['_getSheetObject'](){const _0x4cadbd=_0x541ec7;return _0x4cc46a(this[_0x4cadbd(0x36a)][_0x4cadbd(0x20a)],this['_context']);}};we=yi([Ie(0x1,_0x103d04(_0x79e2c9)),Ie(0x2,_0x103d04(H)),Ie(0x3,_0x103d04(_0x525bf9))],we);function xi(_0x39486f){const _0xfc1583=_0x541ec7,_0x5e8b6b=new Map();return _0x39486f[_0xfc1583(0x320)](_0x4a1a1f=>{const _0x1d891e=_0xfc1583;if(_0x5e8b6b['has'](_0x4a1a1f['selection'])){const _0x5946db=_0x5e8b6b['get'](_0x4a1a1f['selection']);_0x5946db['name']+=',\x20'+_0x4a1a1f[_0x1d891e(0x37d)];}else _0x5e8b6b['set'](_0x4a1a1f['selection'],_0x4a1a1f);}),Array[_0xfc1583(0x25b)](_0x5e8b6b[_0xfc1583(0x21e)]());}var I=function(){const _0x16d612=_0x541ec7;return I=Object[_0x16d612(0x208)]||function(_0x46362b){const _0x3e049e=_0x16d612;for(var _0x1e2560,_0x889258=0x1,_0x30c4be=arguments[_0x3e049e(0x24a)];_0x889258<_0x30c4be;_0x889258++){_0x1e2560=arguments[_0x889258];for(var _0x15aaa7 in _0x1e2560)Object[_0x3e049e(0x1cc)]['hasOwnProperty'][_0x3e049e(0x1c0)](_0x1e2560,_0x15aaa7)&&(_0x46362b[_0x15aaa7]=_0x1e2560[_0x15aaa7]);}return _0x46362b;},I[_0x16d612(0x2c0)](this,arguments);},Bi=function(_0x28d3a0,_0x338fe8){const _0x68e50e=_0x541ec7;var _0x22da07={};for(var _0xdbf846 in _0x28d3a0)Object[_0x68e50e(0x1cc)]['hasOwnProperty'][_0x68e50e(0x1c0)](_0x28d3a0,_0xdbf846)&&_0x338fe8[_0x68e50e(0x325)](_0xdbf846)<0x0&&(_0x22da07[_0xdbf846]=_0x28d3a0[_0xdbf846]);if(_0x28d3a0!=null&&typeof Object[_0x68e50e(0x268)]=='function'){for(var _0x5768a2=0x0,_0xdbf846=Object[_0x68e50e(0x268)](_0x28d3a0);_0x5768a2<_0xdbf846[_0x68e50e(0x24a)];_0x5768a2++)_0x338fe8[_0x68e50e(0x325)](_0xdbf846[_0x5768a2])<0x0&&Object[_0x68e50e(0x1cc)]['propertyIsEnumerable'][_0x68e50e(0x1c0)](_0x28d3a0,_0xdbf846[_0x5768a2])&&(_0x22da07[_0xdbf846[_0x5768a2]]=_0x28d3a0[_0xdbf846[_0x5768a2]]);}return _0x22da07;},je=_0x148269(function(_0x3578ea,_0x14f5d8){const _0xdcd900=_0x541ec7;var _0x2036e0=_0x3578ea[_0xdcd900(0x2e9)],_0x4522bc=_0x3578ea['id'],_0x5b4a87=_0x3578ea[_0xdcd900(0x394)],_0x3f0094=_0x3578ea[_0xdcd900(0x218)],_0xf60225=Bi(_0x3578ea,[_0xdcd900(0x2e9),'id','className',_0xdcd900(0x218)]),_0x5dbf9e=_0xdcd900(0x390)[_0xdcd900(0x300)](_0x4522bc,'\x20')[_0xdcd900(0x300)](_0x5b4a87||'')[_0xdcd900(0x217)](),_0x2cd1f4=_0x4383c8('_'['concat'](ji()));return Rt(_0x2036e0,''[_0xdcd900(0x300)](_0x4522bc),{'defIds':_0x2036e0['defIds'],'idSuffix':_0x2cd1f4[_0xdcd900(0x264)]},I({'ref':_0x14f5d8,'className':_0x5dbf9e},_0xf60225),_0x3f0094);});function Rt(_0x2e534f,_0x52f625,_0x3ce11b,_0x5c2921,_0x425094){const _0x233197=_0x541ec7;return _0x1bf0e2(_0x2e534f[_0x233197(0x312)],I(I({'key':_0x52f625},ki(_0x2e534f,_0x3ce11b,_0x425094)),_0x5c2921),(Hi(_0x2e534f,_0x3ce11b)[_0x233197(0x23b)]||[])[_0x233197(0x1d2)](function(_0x3ecfbb,_0x2e444d){const _0x586464=_0x233197;return Rt(_0x3ecfbb,''[_0x586464(0x300)](_0x52f625,'-')[_0x586464(0x300)](_0x2e534f[_0x586464(0x312)],'-')[_0x586464(0x300)](_0x2e444d),_0x3ce11b,void 0x0,_0x425094);}));}function ki(_0xc66b8b,_0x31c14d,_0x1b96b9){const _0x457584=_0x541ec7;var _0x1e5c57=I({},_0xc66b8b[_0x457584(0x213)]);_0x1b96b9!=null&&_0x1b96b9[_0x457584(0x28c)]&&_0x1e5c57[_0x457584(0x1da)]===_0x457584(0x28c)&&(_0x1e5c57['fill']=_0x1b96b9['colorChannel1']),_0xc66b8b['tag']==='mask'&&_0x1e5c57['id']&&(_0x1e5c57['id']=_0x1e5c57['id']+_0x31c14d[_0x457584(0x328)]),Object['entries'](_0x1e5c57)[_0x457584(0x320)](function(_0x382ccb){const _0x32d47f=_0x457584;var _0x455d24=_0x382ccb[0x0],_0x19aa65=_0x382ccb[0x1];_0x455d24===_0x32d47f(0x2f1)&&typeof _0x19aa65==_0x32d47f(0x2b3)&&(_0x1e5c57[_0x455d24]=_0x19aa65[_0x32d47f(0x21a)](/url\(#(.*)\)/,'url(#$1'[_0x32d47f(0x300)](_0x31c14d[_0x32d47f(0x328)],')')));});var _0x4afea5=_0x31c14d['defIds'];return!_0x4afea5||_0x4afea5['length']===0x0||(_0xc66b8b[_0x457584(0x312)]===_0x457584(0x1e5)&&_0x1e5c57['xlink:href']&&(_0x1e5c57[_0x457584(0x26e)]=_0x1e5c57[_0x457584(0x26e)]+_0x31c14d[_0x457584(0x328)]),Object[_0x457584(0x1fc)](_0x1e5c57)[_0x457584(0x320)](function(_0x16f090){const _0x426ffb=_0x457584;var _0x162c42=_0x16f090[0x0],_0x32accd=_0x16f090[0x1];typeof _0x32accd==_0x426ffb(0x2b3)&&(_0x1e5c57[_0x162c42]=_0x32accd[_0x426ffb(0x21a)](/url\(#(.*)\)/,_0x426ffb(0x291)[_0x426ffb(0x300)](_0x31c14d[_0x426ffb(0x328)],')')));})),_0x1e5c57;}function Hi(_0x24dfc9,_0x4dc94b){const _0x2dd410=_0x541ec7;var _0x5eda42,_0x1c435f=_0x4dc94b[_0x2dd410(0x1e7)];return!_0x1c435f||_0x1c435f[_0x2dd410(0x24a)]===0x0?_0x24dfc9:_0x24dfc9[_0x2dd410(0x312)]===_0x2dd410(0x237)&&(!((_0x5eda42=_0x24dfc9[_0x2dd410(0x23b)])===null||_0x5eda42===void 0x0)&&_0x5eda42[_0x2dd410(0x24a)])?I(I({},_0x24dfc9),{'children':_0x24dfc9[_0x2dd410(0x23b)][_0x2dd410(0x1d2)](function(_0x4c4c5c){const _0x5486f6=_0x2dd410;return typeof _0x4c4c5c['attrs']['id']=='string'&&_0x1c435f&&_0x1c435f['indexOf'](_0x4c4c5c[_0x5486f6(0x213)]['id'])>-0x1?I(I({},_0x4c4c5c),{'attrs':I(I({},_0x4c4c5c[_0x5486f6(0x213)]),{'id':_0x4c4c5c['attrs']['id']+_0x4dc94b[_0x5486f6(0x328)]})}):_0x4c4c5c;})}):_0x24dfc9;}function ji(){const _0x33d169=_0x541ec7;return Math[_0x33d169(0x29f)]()[_0x33d169(0x2ac)](0x24)['substring'](0x2,0x8);}je['displayName']=_0x541ec7(0x346);var Wi={'tag':_0x541ec7(0x2c3),'attrs':{'fill':_0x541ec7(0x38e),'viewBox':_0x541ec7(0x292),'width':_0x541ec7(0x284),'height':_0x541ec7(0x284)},'children':[{'tag':'g','attrs':{'clipPath':_0x541ec7(0x276)},'children':[{'tag':_0x541ec7(0x347),'attrs':{'stroke':_0x541ec7(0x358),'d':_0x541ec7(0x1b3),'strokeLinecap':_0x541ec7(0x2e8),'strokeLinejoin':_0x541ec7(0x2e8),'strokeWidth':1.2}}]},{'tag':_0x541ec7(0x237),'attrs':{},'children':[{'tag':_0x541ec7(0x25e),'attrs':{'id':_0x541ec7(0x204)},'children':[{'tag':_0x541ec7(0x347),'attrs':{'fill':_0x541ec7(0x278),'d':_0x541ec7(0x273)}}]}]}],'defIds':[_0x541ec7(0x204)]},Dt=_0x148269(function(_0x1f27aa,_0x4dfd80){const _0x243fad=_0x541ec7;return _0x1bf0e2(je,Object[_0x243fad(0x208)]({},_0x1f27aa,{'id':_0x243fad(0x340),'ref':_0x4dfd80,'icon':Wi}));});Dt['displayName']=_0x541ec7(0x2d7);var Fi={'tag':_0x541ec7(0x2c3),'attrs':{'fill':_0x541ec7(0x38e),'viewBox':_0x541ec7(0x1ef),'width':_0x541ec7(0x284),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x541ec7(0x354)},'children':[{'tag':_0x541ec7(0x347),'attrs':{'stroke':_0x541ec7(0x358),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x541ec7(0x2e8),'strokeLinejoin':_0x541ec7(0x2e8),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x541ec7(0x25e),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x541ec7(0x347),'attrs':{'fill':'#fff','d':_0x541ec7(0x273),'transform':_0x541ec7(0x245)}}]}]}],'defIds':[_0x541ec7(0x2c9)]},Nt=_0x148269(function(_0x2cf54e,_0x9ab7f){const _0x550d0f=_0x541ec7;return _0x1bf0e2(je,Object[_0x550d0f(0x208)]({},_0x2cf54e,{'id':_0x550d0f(0x37e),'ref':_0x9ab7f,'icon':Fi}));});Nt[_0x541ec7(0x362)]=_0x541ec7(0x332);function Yi(_0xc6ef39){const _0x59a3ff=_0x541ec7;switch(_0xc6ef39){case _0x411ece[_0x59a3ff(0x399)]:return _0x59a3ff(0x33d);case _0x411ece[_0x59a3ff(0x2b9)]:return _0x59a3ff(0x26d);case _0x411ece[_0x59a3ff(0x1b9)]:return _0x59a3ff(0x22d);case _0x411ece['NOT_COLLAB']:return _0x59a3ff(0x2ce);case _0x411ece[_0x59a3ff(0x1b7)]:case _0x411ece['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case _0x411ece[_0x59a3ff(0x357)]:case _0x411ece[_0x59a3ff(0x266)]:return _0x59a3ff(0x364);}}function Vi(_0x1d1d95){const _0x4fc69a=_0x541ec7,{status$:_0x3ea594}=_0x1d1d95,_0x67c8c5=_0x96edab(_0x3ea594,_0x411ece[_0x4fc69a(0x2dd)]),_0x13d443=_0x30da27(_0x43f363),_0x5c6ae2=_0x30da27(_0x56b072),_0x543bb1=_0x67c8c5!==_0x411ece['OFFLINE'],_0x367ba1=_0x13d443['t'](Yi(_0x67c8c5)),_0x128ca8=_0x543bb1?_0x24065b(Nt,{}):_0x24065b(Dt,{}),_0x9d7ad3=_0x534f08(()=>{const _0x1dd626=_0x4fc69a;_0x543bb1||_0x5c6ae2[_0x1dd626(0x1fe)]();},[_0x543bb1,_0x5c6ae2]);function _0x23590d(){const _0x2c520c=_0x4fc69a;return _0x58f149('div',{'className':'univer-flex\x20univer-items-center','onClick':_0x9d7ad3,'children':[_0x24065b(_0x2c520c(0x200),{'className':_0x49827e(_0x2c520c(0x2d0),_0x543bb1?'univer-text-green-500':_0x2c520c(0x2d2)),'children':_0x128ca8}),_0x24065b('div',{'className':_0x2c520c(0x26b),'children':_0x367ba1})]});}return _0x543bb1?_0x23590d():_0x24065b(_0x2a4531,{'title':_0x13d443['t'](_0x4fc69a(0x32e)),'children':_0x23590d()});}var Xi=Object[_0x541ec7(0x34f)],Gi=(_0xb4381a,_0x4620ea,_0x410e71,_0x2433e4)=>{const _0x33731f=_0x541ec7;for(var _0x982fbd=_0x2433e4>0x1?void 0x0:_0x2433e4?Xi(_0x4620ea,_0x410e71):_0x4620ea,_0x47f74e=_0xb4381a[_0x33731f(0x24a)]-0x1,_0x1f246f;_0x47f74e>=0x0;_0x47f74e--)(_0x1f246f=_0xb4381a[_0x47f74e])&&(_0x982fbd=_0x1f246f(_0x982fbd)||_0x982fbd);return _0x982fbd;},Q=(_0x43d74a,_0x590af6)=>(_0x3bc08d,_0x385a8e)=>_0x590af6(_0x3bc08d,_0x385a8e,_0x43d74a);let te=class extends _0x4ef276{constructor(_0xdc4e89,_0x3bde7d,_0x215e41,_0x369065){const _0x5c4fcc=_0x541ec7;super(),_(this,_0x5c4fcc(0x337),new _0x4ebf3e(_0x411ece[_0x5c4fcc(0x2dd)])),(this['_univerInstanceService']=_0xdc4e89,this[_0x5c4fcc(0x23f)]=_0x3bde7d,this[_0x5c4fcc(0x2c6)]=_0x215e41,this[_0x5c4fcc(0x227)]=_0x369065,this[_0x5c4fcc(0x2e5)](),this[_0x5c4fcc(0x1d0)]());}[_0x541ec7(0x1d0)](){const _0x4d3794=_0x541ec7;this[_0x4d3794(0x1be)](this[_0x4d3794(0x1f4)][_0x4d3794(0x322)][_0x4d3794(0x32a)](_0x1b3d7f(()=>{const _0x4f333c=_0x4d3794,_0x427a45=this['_univerInstanceService'][_0x4f333c(0x29a)]();return _0x427a45?this[_0x4f333c(0x2c6)]['getCollabEntity$'](_0x427a45[_0x4f333c(0x2a6)]()):_0x574d8b(null);}),_0x1b3d7f(_0x57a7d9=>_0x57a7d9?_0x57a7d9[_0x4d3794(0x38f)]:_0x574d8b(_0x411ece[_0x4d3794(0x2dd)])))[_0x4d3794(0x339)](_0x233a1e=>{const _0x490623=_0x4d3794;this[_0x490623(0x337)][_0x490623(0x351)](_0x233a1e);}));}[_0x541ec7(0x2e5)](){const _0x4daba5=_0x541ec7;this[_0x4daba5(0x1be)](this['_uiPartsService'][_0x4daba5(0x2a2)](_0x152e9c[_0x4daba5(0x224)],()=>_0x3b5e52(Ki({'status$':this[_0x4daba5(0x337)][_0x4daba5(0x33e)]()}),this[_0x4daba5(0x23f)])));}};function _0x10bb(){const _0x1c6589=['616729MRqgqe','NOT_FOUND','OnLineSingle','getAncestorScale','_doCreateSocket','INTERNAL_ERROR','SNAPSHOT_INVALID_SNAPSHOT','_status$','addHandlerCallback','subscribe','getSheetId','[CollaborationDataLoaderController]','event$','collabStatus.offline','asObservable','top','off-line-single','InsertColCommandId','onPointerMove$','runOnServer','history','UNIVER_DOC','UniverIcon','path','includes','_selfUnitIDs','color','_transformHistoryAndStateStack','updateOfflineData','getCurrentRevOfUnit','_transformUndoRedoStack','getOwnPropertyDescriptor','getParam','next','evenodd','currentSkeleton$','url(#on-line-single_clip0_910_349)','then','FromArray','SYNCED','currentColor','_beforeCloseService','_roomMembers$','DeleteRangeMoveLeftCommandId','_handleEvent','executionId','SNAPSHOT_HAS_BEEN_REMOVED','_id','_commandService','YUUMI_RATE_OVER_LIMIT','displayName','_entityInit$','collabStatus.synced','fillText','_renderManagerService','MUTATION','UPDATE_CURSOR','_hover','_context','transformMutationsWithChangeset','data','_disabled','size','requireSession','transformSelections','Error','getVpScrollXYInfoByPosToVp','onRendered','CONNECTOR_DATA_TOO_LARGE','activeSheet$','ONLINE','disableLocalCache','m1Prime','width','location','endColumn','pushState','name','on-line-single','sessionTicket','roomMembers','_registerDependencies','clearInterval','INVALID_INVITE_CODE','48759DUmJHK','_cachedData','YUUMI_UNABLE_LOAD_URL','getUndoRedoMutationParamsCache','row','debug','APPLY_REJECT','show','_color','source','none','status$','univerjs-icon\x20univerjs-icon-','_send','searchParams','memberID','className','complete','RECT','ticket','onTransformChange$','OFFLINE','getMemberID','COMPLETION_FINISHED','replaceDocRanges','CLOSE_ROOM','PY_RUNTIME_SCRIPT_ERROR','transformIMECache','getCurrentSelections','_saveCache','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_transformService','transformByState','addObject','_toggleOnline','dispose$','TOO_MANY_REQUESTS','moveTo','createInstance','USERS_LEAVE','collaboration.closeRoom','_range','isActive','range','_entities','2TyvXcQ','saveImage','min','split','_config','parse','textRanges','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','_memberService','_collabCursorController','registerBeforeClose','AWAITING','getItem','FETCH_MISS','onCommandExecuted','_init','endRow','defineProperty','disposeWithMe','getStateCache','call','session.collaboration-timeout','setActiveRange','_imageIoService','_messageService','_collaborationUIEventService','getActiveRange','_scheduleSaving','_urlService','replaceState','bottom','collab-rect-range-','prototype','VIEW_MAIN','font','key','_initStatusListener','unitId','map','_anchorDot','some','_unitStatus','with','cursorInfo$','collabCursorState$','loadOfflineData','fill','saveTaskMap','onPointerLeave$','_setupSubUnitSync','_updateLocalCursor','_docSkeletonManagerService','_getSheetObject','_refreshCollabCursors','clearTimeout','undoState','onLocalMutation','use','startRow','defIds','#FFF','unshift','_dataLoaderService','onStarting','getMergeData','getActiveSheet','sheetId','0\x200\x2017\x2016','isArray','restore','setShapeProps','find','_univerInstanceService','_document','OTHER_CLIENTS_EDITING','MoveRangeCommandId','Warning','_draw','sheetID','UNAUTHENTICATED','entries','INVITE_CODE_HAS_BEEN_UES','reconnect','imageSourceType','div','_colorAssignService','_online','_colorIndex','off-line-single_clip0_910_343','_heartbeatTimer','_clearOtherTimers','executeCommand','assign','uni.network.url-service','unit','UNDEFINED','APPLY_DUPLICATED','subunit','transformMutation','getCollabCursors$','NO_OTHER_CLIENTS_EDITING','LICENSE_IMPORT_SIZE_EXCEEDED','getConfig','attrs','4IlozhH','PERMISSION_DENIED','runId','trim','extend','editingUnit','replace','6219ZQNFYU','25624660QixlNt','_collabSessionService','values','collab-text-range-','LOGIN_FAILED','_session','getRelativeToViewportCoord','INVITE_CODE_ALREADY_BOUND','HEADER_MENU','_backgroundColor','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_uiPartsService','setAlpha','getUnhiddenWorksheets','_createSocketURL','doc.mutation.rich-text-editing','INVITE_CODE_REQUIRED','collabStatus.fetchMiss','YUUMI_SUBSCRIPTION_NOT_FOUND','_eventUnsubscribe','roomMembers$','verdancy600','INVALID_ARGUMENT','_themeService','MOBILE_HAS_BEEN_BOUND','newValue','permission.title','defs','_drawTextRange','backgroundColor','_startSheetCollabCursor','children','YUUMI_URL_COL_OUT_OF_RANGE','cursorInfo','setUndoRedoMutationParamsCache','_injector','delete','createSocket','_docStateChangeManagerService','collab-text-anchor-','purple300','translate(.97)','_revisionService','ALREADY_EXISTS','_toggleOffline','_initResize','length','setInterval','registerRefRange','CHANGESET_REVISION_CONFILICT','...','Unknown\x20user','_onRefRangeChange','symbol','deepClone','EMAIL_HAS_BEEN_BOUND','mutations','type','collaboration.single-unit.warning','labelPosition','[RemoteUniscriptService]:\x20no\x20focused\x20unit','getMember','contains','from','_updateCollabCursors','/run/','clipPath','getTypeOfUnitDisposed$','Failed','setStateCache','_onCursorUpdate','href','current','syncEditingCollabCursor','PENDING','transformRemoteChangeset','getOwnPropertySymbols','UNRECOGNIZED','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','getDocRanges','collabStatus.conflict','xlink:href','setTimeout','flatMap','InsertRowCommandId','has','M0\x200H16V16H0z','_startDocCollabCursor','getSkeleton','url(#off-line-single_clip0_910_343)','getRangePointData','#fff','generateRandomId','_removeCollabCursors','_unitOnClients','onMouseMove','_drawAnchor','actions','measureText','_localCacheService','YUUMI_NO_CUBOID_FOR_QUESTION','whenReady','ACTIVE_UNIT_EVENT_CHANNEL','1em','YUUMI_ASYNCIO_CANCELLED','_cursors','hovered','arc','findNodePositionByCharIndex','selections','_handleHeartbeatEvent','colorChannel1','jiqing500','body','get','gold400','url(#$1','0\x200\x2016\x2016','red300','setItem','sessionStatus$','_drawRectRange','black','_getSessionTicket','_collabCursorState$','getFocusedUnit','redoState','blue400','startsWith','_initEntityListener','random','docStateChange$','_setupBeforeClosingHandler','registerComponent','_getAnchorBounding','_scheduleClearOtherTimer','disposeUnit','getUnitId','_labelPosition','_instanceService','LICENSE_DISTRO_REJECTED','APPLY_PERMISSION_DENIED','urlChange$','toString','_transformPreviousActiveRange','removeParam','push','RemoveColCommandId','WECHAT_HAS_BEEN_BOUND','origin','string','getValue','isEditing','session.connection-failed','closePath','onPointerEnter$','CONFLICT','subscribeEvent','_scheduleHeartbeat','send','APPLY_REVISION_CONFILICT','registerRenderModule','_getSaveTimeout','apply','_refRangeService','_textBubble','svg','post','_updateURLWithCurrentState','_collaborationController','wsSessionTicketUrl','addObjects','on-line-single_clip0_910_349','setParam','_removeClearOtherTimer','_docTransformIMECacheService','_hovered','collabStatus.notCollab','_ensureSubject','univer-flex\x20univer-mr-2\x20univer-text-[20px]','_cursorInfo$','univer-text-red-500','unitID','getOffsetConfig','_configService','getSheetBySheetId','OffLineSingle','_cursorShapes','10392vGLVHi','_lastPointer','add','_docTransformSelectionsService','NOT_COLLAB','lineTo','USER_NOT_INVITED_CODE','init','_httpService','currentTheme$','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_localeService','_initStatusComponent','_registerRenderDependencies','stringify','round','icon','_localStorageService','23250eOAKBN','eventID','_name','_handleJoinEvent','m2Prime','getTypeOfUnitAdded$','mask','APPLY_NON_SEQUENTIAL_REVISION','getUniverSheetInstance','transformStateCache','error','_logService','rgba(255,\x20255,\x20255,\x200.01)','save','_hideTimer','loadUnit','_render','5505685SXnbJU','OTHER_CLIENT_EDITING','_docSkeleton','_sheetSkeletonManagerService','concat','_getMergeRange','search','ranges','_handleHover','LICENSE_MAX_UNITS_EXCEEDED','height','all','_saveTaskMap','drawWith','_shapes','ENSURE_SNAPSHOT_EXECUTION','result','collaboration-client.offline-data-not-saved','dispose','assignAColorForMemberID','addClipboardHook','TEXT','tag','UNIVER_SHEET','getRenderById','params','_assignedColors','fillStyle','_initDependencies','_anchor','toRgbString','set','_scene','_notificationService','8636733ufrQeg','column','forEach','_updateSubUnitFromURLParams','focused$','_initCommandExecutedListener','resize','indexOf','_onCursorDelete','unsubscribe','idSuffix','pluginName','pipe','LICENSE_EXPORT_SIZE_EXCEEDED','storage','saveOfflineData','collab-client.tooltip.reconnect','hide'];_0x10bb=function(){return _0x1c6589;};return _0x10bb();}te=Gi([Q(0x0,_0xb44ffb),Q(0x1,_0x103d04(_0xd692d6)),Q(0x2,_0x103d04(_0x484e43)),Q(0x3,_0x8639be)],te);function Ki(_0x3f042a){const {status$:_0x5728c6}=_0x3f042a;return function(){return _0x24065b(Vi,{'status$':_0x5728c6});};}var zi=Object['getOwnPropertyDescriptor'],Ji=(_0x358fc4,_0x5cae5f,_0x4a7798,_0xa178f7)=>{const _0x2bc7cd=_0x541ec7;for(var _0x215a8c=_0xa178f7>0x1?void 0x0:_0xa178f7?zi(_0x5cae5f,_0x4a7798):_0x5cae5f,_0x2e76e8=_0x358fc4[_0x2bc7cd(0x24a)]-0x1,_0x33a044;_0x2e76e8>=0x0;_0x2e76e8--)(_0x33a044=_0x358fc4[_0x2e76e8])&&(_0x215a8c=_0x33a044(_0x215a8c)||_0x215a8c);return _0x215a8c;},B=(_0x2c0330,_0x269da4)=>(_0x561fe6,_0x186333)=>_0x269da4(_0x561fe6,_0x186333,_0x2c0330);let se=class extends _0x4ef276{constructor(_0x1fae96,_0x220630,_0xf32c4d,_0x39fe3d,_0x25d487,_0x4e21ed){const _0x29a7d3=_0x541ec7;super(),this['_beforeCloseService']=_0x1fae96,this[_0x29a7d3(0x280)]=_0x220630,this[_0x29a7d3(0x1c5)]=_0xf32c4d,this[_0x29a7d3(0x1c4)]=_0x39fe3d,this[_0x29a7d3(0x31d)]=_0x25d487,this[_0x29a7d3(0x2e4)]=_0x4e21ed,this[_0x29a7d3(0x2a1)](),this['_initEvent']();}[_0x541ec7(0x2a1)](){const _0x46545f=_0x541ec7;this[_0x46545f(0x1be)](this[_0x46545f(0x359)][_0x46545f(0x1b6)](()=>{const _0x1151c9=_0x46545f;if(this[_0x1151c9(0x280)]['saveTaskMap'][_0x1151c9(0x36e)])return this['_localeService']['t'](_0x1151c9(0x30d));}));}['_initEvent'](){const _0x1b202d=_0x541ec7;this[_0x1b202d(0x1be)](this[_0x1b202d(0x1c5)][_0x1b202d(0x33c)][_0x1b202d(0x339)](_0x4f7feb=>{const _0x15a936=_0x1b202d;_0x4f7feb['id']===_0x3276a8[_0x15a936(0x2fd)]&&this[_0x15a936(0x1c4)][_0x15a936(0x38b)]({'type':_0x1438cd[_0x15a936(0x1f8)],'content':this['_localeService']['t'](_0x15a936(0x256))}),_0x4f7feb['id']===_0x3276a8[_0x15a936(0x39d)]&&this[_0x15a936(0x1c4)][_0x15a936(0x38b)]({'type':_0x1438cd[_0x15a936(0x1f8)],'content':this[_0x15a936(0x2e4)]['t'](_0x15a936(0x3ac))}),_0x4f7feb['id']===_0x3276a8[_0x15a936(0x215)]&&this[_0x15a936(0x31d)][_0x15a936(0x38b)]({'title':this['_localeService']['t'](_0x15a936(0x236)),'content':this[_0x15a936(0x2e4)]['t']('permission.content'),'type':_0x15a936(0x2f5),'duration':0x0}),_0x4f7feb['id']===_0x3276a8[_0x15a936(0x2b9)]&&this[_0x15a936(0x1c4)][_0x15a936(0x38b)]({'type':_0x1438cd[_0x15a936(0x371)],'content':this[_0x15a936(0x2e4)]['t'](_0x15a936(0x3ac))+'('+_0x4f7feb['data']+')'}),_0x4f7feb['id']===_0x3276a8['JOIN_ROOM_FAILED']&&this[_0x15a936(0x1c4)]['show']({'type':_0x1438cd['Warning'],'content':this[_0x15a936(0x2e4)]['t'](_0x4f7feb[_0x15a936(0x36c)]||'')}),_0x4f7feb['id']===_0x3276a8['SOCKET_FAILED_RETRY']&&this['_messageService'][_0x15a936(0x38b)]({'type':_0x1438cd['Warning'],'content':this['_localeService']['t']('session.will-retry')}),_0x4f7feb['id']===_0x3276a8['SOCKET_FAILED']&&this[_0x15a936(0x1c4)][_0x15a936(0x38b)]({'type':_0x1438cd['Error'],'content':this[_0x15a936(0x2e4)]['t'](_0x15a936(0x2b6))}),_0x4f7feb['id']===_0x3276a8['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService'][_0x15a936(0x38b)]({'type':_0x1438cd[_0x15a936(0x371)],'content':this[_0x15a936(0x2e4)]['t'](_0x15a936(0x1c1))});}));}};se=Ji([B(0x0,_0x469ac5),B(0x1,_0x7a7549),B(0x2,_0x103d04(_0x40487b)),B(0x3,_0x4f41d6),B(0x4,_0x5c3ef0),B(0x5,_0x103d04(_0x43f363))],se);const Zi='collaboration-client-ui.config',et={},Ut=_0x2776a9(_0x541ec7(0x209));var Qi=Object[_0x541ec7(0x34f)],qi=(_0x2a612b,_0x1c41ab,_0x558ec2,_0x4b6810)=>{for(var _0x565a72=_0x4b6810>0x1?void 0x0:_0x4b6810?Qi(_0x1c41ab,_0x558ec2):_0x1c41ab,_0x4cb9ec=_0x2a612b['length']-0x1,_0x2e5c2a;_0x4cb9ec>=0x0;_0x4cb9ec--)(_0x2e5c2a=_0x2a612b[_0x4cb9ec])&&(_0x565a72=_0x2e5c2a(_0x565a72)||_0x565a72);return _0x565a72;},G=(_0x126145,_0x558503)=>(_0x10b004,_0x3dc002)=>_0x558503(_0x10b004,_0x3dc002,_0x126145);let ie=class extends _0x54b14c{constructor(_0x548c8e,_0x451475,_0x493431,_0x23251a,_0x3a85a1){const _0x36161f=_0x541ec7;super(),this[_0x36161f(0x1c8)]=_0x548c8e,this['_logService']=_0x451475,this[_0x36161f(0x360)]=_0x493431,this[_0x36161f(0x1ea)]=_0x23251a,_0x3a85a1?_0x3a85a1==null||_0x3a85a1[_0x36161f(0x282)]()[_0x36161f(0x355)](()=>this[_0x36161f(0x1bb)]()):(this[_0x36161f(0x2f6)][_0x36161f(0x389)](_0x36161f(0x33b),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x36161f(0x1bb)]());}async[_0x541ec7(0x1bb)](){const _0x5c26c2=_0x541ec7,_0x2b25f4=this[_0x5c26c2(0x1c8)][_0x5c26c2(0x350)](_0x5c26c2(0x20a)),_0x1eb84d=this[_0x5c26c2(0x1c8)][_0x5c26c2(0x350)](_0x5c26c2(0x255)),_0x56f611=this[_0x5c26c2(0x1c8)][_0x5c26c2(0x350)](_0x5c26c2(0x20d));if(!_0x2b25f4||!_0x1eb84d){this['_logService'][_0x5c26c2(0x389)]('[CollaborationDataLoaderController]',_0x5c26c2(0x26a));return;}const _0x1707ef=await this[_0x5c26c2(0x1ea)][_0x5c26c2(0x2fa)](_0x2b25f4,Number(_0x1eb84d),_0x56f611);_0x1707ef&&_0x1707ef instanceof _0x2153fe&&this[_0x5c26c2(0x1dd)](_0x1707ef);}async['_setupSubUnitSync'](_0x3bae5d){const _0x2f670b=_0x541ec7;await this[_0x2f670b(0x321)](_0x3bae5d),_0x3bae5d[_0x2f670b(0x375)]['pipe'](_0x4bdb4f(this[_0x2f670b(0x3a7)]))['subscribe'](_0x1fca6d=>{_0x1fca6d&&this['_updateURLWithCurrentState'](_0x1fca6d);}),this['_urlService'][_0x2f670b(0x2ab)][_0x2f670b(0x32a)](_0x4bdb4f(this['dispose$']))[_0x2f670b(0x339)](()=>this[_0x2f670b(0x321)](_0x3bae5d));}[_0x541ec7(0x2c5)](_0x17f770,_0x1ae5ce=!0x1){const _0x53184c=_0x541ec7,_0xeb115f=this['_urlService'][_0x53184c(0x350)]('subunit');_0x17f770[_0x53184c(0x33a)]()!==_0xeb115f&&this[_0x53184c(0x1c8)][_0x53184c(0x2ca)](_0x53184c(0x20d),_0x17f770['getSheetId'](),_0x1ae5ce);}async[_0x541ec7(0x321)](_0x5f0aeb){const _0x463213=_0x541ec7;var _0x10a9fc;const _0x3eac62=this[_0x463213(0x1c8)]['getParam']('subunit');if(!_0x3eac62||!_0x5f0aeb[_0x463213(0x2d6)](_0x3eac62)){const _0x50db47=_0x5f0aeb[_0x463213(0x229)]()[0x0],_0x5d9367=_0x5f0aeb[_0x463213(0x2d6)](_0x50db47);if(!_0x5d9367)return;this[_0x463213(0x2c5)](_0x5d9367,!0x0),await this[_0x463213(0x360)][_0x463213(0x207)](_0x2e996d['id'],{'unitId':_0x5f0aeb[_0x463213(0x2a6)](),'subUnitId':_0x50db47});return;}((_0x10a9fc=_0x5f0aeb['getActiveSheet']())==null?void 0x0:_0x10a9fc[_0x463213(0x33a)]())!==_0x3eac62&&await this[_0x463213(0x360)]['executeCommand'](_0x2e996d['id'],{'unitId':_0x5f0aeb[_0x463213(0x2a6)](),'subUnitId':_0x3eac62});}};ie=qi([G(0x0,Ut),G(0x1,_0x48a758),G(0x2,_0x11e1d9),G(0x3,_0x103d04(_0xcd4f7d)),G(0x4,_0x2e1a60(_0x39c092))],ie);var en=Object[_0x541ec7(0x34f)],tn=(_0x101a5d,_0x3089ae,_0x373143,_0x28e323)=>{for(var _0x52cce3=_0x28e323>0x1?void 0x0:_0x28e323?en(_0x3089ae,_0x373143):_0x3089ae,_0x2b214e=_0x101a5d['length']-0x1,_0x3e88e3;_0x2b214e>=0x0;_0x2b214e--)(_0x3e88e3=_0x101a5d[_0x2b214e])&&(_0x52cce3=_0x3e88e3(_0x52cce3)||_0x52cce3);return _0x52cce3;},pe=(_0x5a0382,_0x2960a6)=>(_0x51ed38,_0x948f73)=>_0x2960a6(_0x51ed38,_0x948f73,_0x5a0382);let ne=class{constructor(_0x29c583,_0x112544,_0x354317){const _0x346c94=_0x541ec7;this[_0x346c94(0x23f)]=_0x29c583,this[_0x346c94(0x3a3)]=_0x112544,this[_0x346c94(0x366)]=_0x354317;}[_0x541ec7(0x39f)](_0x29626d){const _0x4c17fe=_0x541ec7;this[_0x4c17fe(0x34e)](_0x29626d),this[_0x4c17fe(0x2ad)](_0x29626d);}[_0x541ec7(0x267)](_0x327f42){const _0x38610e=_0x541ec7,{unitID:_0x6b5965}=_0x327f42,_0x43888d=this[_0x38610e(0x366)][_0x38610e(0x314)](_0x6b5965)['with'](_0x2ac90c),{redoCache:_0x52a76d}=_0x43888d['getUndoRedoMutationParamsCache']();if(_0x52a76d[_0x38610e(0x24a)]===0x0)return _0x327f42;let _0x1c8357=_0xe6710b[_0x38610e(0x252)](_0x327f42[_0x38610e(0x254)][0x0]);for(let _0x3b1627=0x0;_0x3b1627<_0x52a76d[_0x38610e(0x24a)];_0x3b1627++){const _0x17a825={'id':_0x38610e(0x22b),'params':{..._0x52a76d[_0x3b1627]}},_0x2ef477=this[_0x38610e(0x3a3)]['transformMutation'](_0x1c8357,_0x17a825,!0x1);if(_0x4bdbc5(_0x2ef477))throw _0x2ef477['error'];_0x1c8357=_0x2ef477[_0x38610e(0x378)];}return{..._0xe6710b[_0x38610e(0x252)](_0x327f42),'mutations':[_0x1c8357]};}[_0x541ec7(0x34e)](_0x148677){const _0x3bb5bd=_0x541ec7,{unitID:_0x4a1b4f}=_0x148677,_0x54c3d5=this[_0x3bb5bd(0x366)][_0x3bb5bd(0x314)](_0x4a1b4f)[_0x3bb5bd(0x1d6)](_0x2ac90c),{undoCache:_0x1e6d83,redoCache:_0x24132a}=_0x54c3d5[_0x3bb5bd(0x387)]();if(_0x1e6d83[_0x3bb5bd(0x24a)]===0x0||_0x24132a[_0x3bb5bd(0x24a)]===0x0)return;const _0x2d298a=[],_0x3d96ef=[];let _0x423cab=_0xe6710b[_0x3bb5bd(0x252)](_0x148677[_0x3bb5bd(0x254)][0x0]),_0x112d21=_0xe6710b['deepClone'](_0x148677['mutations'][0x0]);for(let _0x36af37=_0x1e6d83[_0x3bb5bd(0x24a)]-0x1;_0x36af37>=0x0;_0x36af37--){const _0x32c596={'id':_0x3bb5bd(0x22b),'params':{..._0x1e6d83[_0x36af37]}},_0x27d872={'id':_0x3bb5bd(0x22b),'params':{..._0x24132a[_0x36af37]}},_0x2306da=this[_0x3bb5bd(0x3a3)][_0x3bb5bd(0x20e)](_0x423cab,_0x32c596,!0x1),_0x3ea861=this[_0x3bb5bd(0x3a3)][_0x3bb5bd(0x20e)](_0x112d21,_0x27d872,!0x1);if(_0x4bdbc5(_0x2306da))throw _0x2306da[_0x3bb5bd(0x2f5)];if(_0x4bdbc5(_0x3ea861))throw _0x3ea861[_0x3bb5bd(0x2f5)];_0x2d298a[_0x3bb5bd(0x1e9)](_0x2306da[_0x3bb5bd(0x2ef)][_0x3bb5bd(0x315)]),_0x3d96ef['unshift'](_0x3ea861[_0x3bb5bd(0x2ef)][_0x3bb5bd(0x315)]),_0x423cab=_0x2306da[_0x3bb5bd(0x378)],_0x112d21=_0x3ea861[_0x3bb5bd(0x378)];}_0x54c3d5[_0x3bb5bd(0x23e)]({'undoCache':_0x2d298a,'redoCache':_0x3d96ef});}[_0x541ec7(0x2ad)](_0x456c1c){const _0x16f11b=_0x541ec7,{unitID:_0x520cc3}=_0x456c1c,_0xa46dda=this[_0x16f11b(0x366)]['getRenderById'](_0x520cc3)[_0x16f11b(0x1d6)](_0x2ac90c),_0x2a3ab3=_0xa46dda[_0x16f11b(0x1c6)]();if(_0x2a3ab3==null)return;const _0x4b05c8=[{'id':_0x16f11b(0x22b),'params':{'unitId':_0x456c1c[_0x16f11b(0x2d3)],'actions':null,'textRanges':[_0x2a3ab3]}}],_0x2b5284=this['_transformService'][_0x16f11b(0x36b)](_0x456c1c,_0x4b05c8);if(!_0x289120(_0x2b5284))throw _0x2b5284[_0x16f11b(0x2f5)];const _0x26334d=_0x2b5284[_0x16f11b(0x2ef)][0x0][_0x16f11b(0x315)][_0x16f11b(0x1b2)];Array[_0x16f11b(0x1f0)](_0x26334d)&&_0x26334d[_0x16f11b(0x24a)]&&_0xa46dda[_0x16f11b(0x1c2)](_0x26334d[0x0]);}};ne=tn([pe(0x0,_0x103d04(_0xd692d6)),pe(0x1,_0x21a9f7),pe(0x2,_0x2f4050)],ne);var sn=Object[_0x541ec7(0x34f)],nn=(_0x17a596,_0x11e3d8,_0x3ca2d1,_0xf995f6)=>{const _0x175d93=_0x541ec7;for(var _0x18947c=_0xf995f6>0x1?void 0x0:_0xf995f6?sn(_0x11e3d8,_0x3ca2d1):_0x11e3d8,_0x147138=_0x17a596[_0x175d93(0x24a)]-0x1,_0x30ba3b;_0x147138>=0x0;_0x147138--)(_0x30ba3b=_0x17a596[_0x147138])&&(_0x18947c=_0x30ba3b(_0x18947c)||_0x18947c);return _0x18947c;},Ce=(_0x57a06d,_0x5d08b8)=>(_0x550fa4,_0x484c2a)=>_0x5d08b8(_0x550fa4,_0x484c2a,_0x57a06d);let re=class{constructor(_0x4b0d33,_0x31d027,_0x3b40f4){const _0x2636f1=_0x541ec7;this['_injector']=_0x4b0d33,this[_0x2636f1(0x3a3)]=_0x31d027,this[_0x2636f1(0x242)]=_0x3b40f4;}['transformStateCache'](_0x455924){const _0x4f5b18=_0x541ec7;this[_0x4f5b18(0x34b)](_0x455924);}[_0x541ec7(0x267)](_0x2f973a){const _0x565605=_0x541ec7,{unitID:_0x95a4b0}=_0x2f973a,{collaboration:_0x378781}=this[_0x565605(0x242)][_0x565605(0x1bf)](_0x95a4b0);if(_0x378781[_0x565605(0x24a)]===0x0)return _0x2f973a;let _0x2a7ecc=_0xe6710b[_0x565605(0x252)](_0x2f973a[_0x565605(0x254)][0x0]);for(let _0x5be1b2=0x0;_0x5be1b2<_0x378781['length'];_0x5be1b2++){const _0x52683b={'id':_0x565605(0x22b),'params':{'unitId':_0x378781[_0x5be1b2]['unitId'],..._0x378781[_0x5be1b2][_0x565605(0x29b)]}},_0x27010a=this[_0x565605(0x3a3)][_0x565605(0x20e)](_0x2a7ecc,_0x52683b,!0x1);if(_0x4bdbc5(_0x27010a))throw _0x27010a[_0x565605(0x2f5)];_0x2a7ecc=_0x27010a[_0x565605(0x378)];}return{..._0xe6710b[_0x565605(0x252)](_0x2f973a),'mutations':[_0x2a7ecc]};}[_0x541ec7(0x34b)](_0x1c6792){const _0x353b15=_0x541ec7,{unitID:_0x4d3a7f}=_0x1c6792,{history:_0x2b5e36,collaboration:_0xef0e9b}=this[_0x353b15(0x242)][_0x353b15(0x1bf)](_0x4d3a7f);if(_0x2b5e36[_0x353b15(0x24a)]===0x0&&_0xef0e9b[_0x353b15(0x24a)]===0x0)return;const _0x3bf7d7=[],_0x320ddd=[];let _0x55c82b=_0xe6710b[_0x353b15(0x252)](_0x1c6792[_0x353b15(0x254)][0x0]),_0x500fd3=_0xe6710b['deepClone'](_0x1c6792[_0x353b15(0x254)][0x0]);for(let _0x3b696c=_0x2b5e36[_0x353b15(0x24a)]-0x1;_0x3b696c>=0x0;_0x3b696c--){const _0x295571={'id':_0x353b15(0x22b),'params':{'unitId':_0x2b5e36[_0x3b696c][_0x353b15(0x1d1)],..._0x2b5e36[_0x3b696c]['undoState']}},_0x4e20eb={'id':_0x353b15(0x22b),'params':{'unitId':_0x2b5e36[_0x3b696c][_0x353b15(0x1d1)],..._0x2b5e36[_0x3b696c][_0x353b15(0x29b)]}},_0x5a1541=this['_transformService'][_0x353b15(0x20e)](_0x55c82b,_0x295571,!0x1),_0x7af766=this[_0x353b15(0x3a3)][_0x353b15(0x20e)](_0x500fd3,_0x4e20eb,!0x1);if(_0x4bdbc5(_0x5a1541))throw _0x5a1541[_0x353b15(0x2f5)];if(_0x4bdbc5(_0x7af766))throw _0x7af766[_0x353b15(0x2f5)];_0x3bf7d7[_0x353b15(0x1e9)]({..._0x2b5e36[_0x3b696c],'undoState':_0x5a1541[_0x353b15(0x2ef)][_0x353b15(0x315)],'redoState':_0x7af766['m2Prime'][_0x353b15(0x315)]}),_0x55c82b=_0x5a1541[_0x353b15(0x378)],_0x500fd3=_0x7af766['m1Prime'];}_0x55c82b=_0xe6710b[_0x353b15(0x252)](_0x1c6792[_0x353b15(0x254)][0x0]),_0x500fd3=_0xe6710b[_0x353b15(0x252)](_0x1c6792[_0x353b15(0x254)][0x0]);for(let _0x3de977=_0xef0e9b['length']-0x1;_0x3de977>=0x0;_0x3de977--){const _0x552e7c={'id':_0x353b15(0x22b),'params':{'unitId':_0xef0e9b[_0x3de977][_0x353b15(0x1d1)],..._0xef0e9b[_0x3de977][_0x353b15(0x1e3)]}},_0x32cc82={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xef0e9b[_0x3de977][_0x353b15(0x1d1)],..._0xef0e9b[_0x3de977][_0x353b15(0x29b)]}},_0x59720b=this[_0x353b15(0x3a3)]['transformMutation'](_0x55c82b,_0x552e7c,!0x1),_0x16e491=this[_0x353b15(0x3a3)][_0x353b15(0x20e)](_0x500fd3,_0x32cc82,!0x1);if(_0x4bdbc5(_0x59720b))throw _0x59720b[_0x353b15(0x2f5)];if(_0x4bdbc5(_0x16e491))throw _0x16e491[_0x353b15(0x2f5)];_0x320ddd[_0x353b15(0x1e9)]({..._0xef0e9b[_0x3de977],'undoState':_0x59720b['m2Prime'][_0x353b15(0x315)],'redoState':_0x16e491[_0x353b15(0x2ef)][_0x353b15(0x315)]}),_0x55c82b=_0x59720b[_0x353b15(0x378)],_0x500fd3=_0x16e491[_0x353b15(0x378)];}this[_0x353b15(0x242)][_0x353b15(0x261)](_0x4d3a7f,{'history':_0x3bf7d7,'collaboration':_0x320ddd});}};re=nn([Ce(0x0,_0x103d04(_0xd692d6)),Ce(0x1,_0x21a9f7),Ce(0x2,_0x103d04(_0xac8e70))],re);var rn=Object[_0x541ec7(0x34f)],on=(_0xb139b6,_0x200950,_0x53635b,_0x38ae02)=>{const _0x113feb=_0x541ec7;for(var _0xca0d2e=_0x38ae02>0x1?void 0x0:_0x38ae02?rn(_0x200950,_0x53635b):_0x200950,_0x3aa9e4=_0xb139b6[_0x113feb(0x24a)]-0x1,_0x6858ba;_0x3aa9e4>=0x0;_0x3aa9e4--)(_0x6858ba=_0xb139b6[_0x3aa9e4])&&(_0xca0d2e=_0x6858ba(_0xca0d2e)||_0xca0d2e);return _0xca0d2e;},tt=(_0x9cb934,_0xd76eca)=>(_0x329f19,_0x2e73c2)=>_0xd76eca(_0x329f19,_0x2e73c2,_0x9cb934);let oe=class{constructor(_0x524dd4,_0xa9f51f){const _0x5232e5=_0x541ec7;this[_0x5232e5(0x23f)]=_0x524dd4,this[_0x5232e5(0x3a3)]=_0xa9f51f;}[_0x541ec7(0x370)](_0x583dbf){const _0xcc556e=_0x541ec7;var _0x678448;const _0x5e6910=this[_0xcc556e(0x23f)][_0xcc556e(0x28f)](_0x1276ee),_0x1c6292=(_0x678448=_0x5e6910['getDocRanges']())!=null?_0x678448:[];if(_0x1c6292[_0xcc556e(0x24a)]===0x0)return;const _0x179065=_0x583dbf[_0xcc556e(0x2d3)],_0xb83a9e=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x179065,'actions':null,'textRanges':_0x1c6292}}],_0x3e72e5=this['_transformService'][_0xcc556e(0x36b)](_0x583dbf,_0xb83a9e);if(!_0x289120(_0x3e72e5))throw _0x3e72e5[_0xcc556e(0x2f5)];const _0x2a8da6=_0x3e72e5['m2Prime'][0x0][_0xcc556e(0x315)]['textRanges'];Array[_0xcc556e(0x1f0)](_0x2a8da6)&&_0x2a8da6[_0xcc556e(0x24a)]&&_0x5e6910[_0xcc556e(0x39c)](_0x2a8da6,{'unitId':_0x179065,'subUnitId':_0x179065},!0x1);}};oe=on([tt(0x0,_0x103d04(_0xd692d6)),tt(0x1,_0x21a9f7)],oe);var an=Object[_0x541ec7(0x34f)],cn=(_0x243351,_0x29e072,_0x41f688,_0x209590)=>{const _0x4ec3ed=_0x541ec7;for(var _0x3b174e=_0x209590>0x1?void 0x0:_0x209590?an(_0x29e072,_0x41f688):_0x29e072,_0x30fed4=_0x243351[_0x4ec3ed(0x24a)]-0x1,_0x55d6f3;_0x30fed4>=0x0;_0x30fed4--)(_0x55d6f3=_0x243351[_0x30fed4])&&(_0x3b174e=_0x55d6f3(_0x3b174e)||_0x3b174e);return _0x3b174e;},U=(_0x2abf45,_0x50f4ca)=>(_0x5e6d19,_0x1d1752)=>_0x50f4ca(_0x5e6d19,_0x1d1752,_0x2abf45);let ae=class extends _0x4ef276{constructor(_0x374a78,_0x2a8b0d,_0x4d8f2c,_0x4e5c76,_0x254a09,_0x28c13b,_0x187b2a,_0x3fd481){const _0x5882d1=_0x541ec7;super(),_(this,_0x5882d1(0x337),new _0x4ebf3e(_0x411ece['NOT_COLLAB'])),(this[_0x5882d1(0x242)]=_0x374a78,this[_0x5882d1(0x2c6)]=_0x2a8b0d,this[_0x5882d1(0x2cc)]=_0x4d8f2c,this['_docTransformStateCacheService']=_0x4e5c76,this[_0x5882d1(0x2dc)]=_0x254a09,this['_docSyncEditingCollabCursorService']=_0x28c13b,this[_0x5882d1(0x1c4)]=_0x187b2a,this[_0x5882d1(0x2e4)]=_0x3fd481,this['_initEntityListener']());}[_0x541ec7(0x29e)](){const _0x165921=_0x541ec7;this[_0x165921(0x1be)](this[_0x165921(0x2c6)]['entityInit$']['subscribe'](_0x3900df=>{const _0x34b6c1=_0x165921,_0x476b50=this[_0x34b6c1(0x242)][_0x34b6c1(0x2a0)][_0x34b6c1(0x339)](_0x5e02af=>{const _0x385780=_0x34b6c1;if(_0x5e02af==null)return;const {unitId:_0x5966ca,redoState:_0x5ad98c,commandId:_0x2d84e4}=_0x5e02af;if(_0x5966ca!==_0x3900df[_0x385780(0x2d3)])return;const _0x3bb612={'id':_0x2d84e4,'type':_0x274cf4[_0x385780(0x367)],'params':{'unitId':_0x5966ca,'actions':_0x5ad98c[_0x385780(0x27e)],'textRanges':null}};_0x3900df[_0x385780(0x1e4)](_0x3bb612);});if(_0x3900df['disposeWithMe'](_0x476b50),_0x3900df instanceof _0x56dabe){const _0x313c8f={'onTransformIME':_0x4ce132=>this[_0x34b6c1(0x2cc)][_0x34b6c1(0x39f)](_0x4ce132),'onTransformState':_0x1cd677=>this['_docTransformStateCacheService'][_0x34b6c1(0x2f4)](_0x1cd677),'onTransformSelections':_0x169794=>this[_0x34b6c1(0x2dc)][_0x34b6c1(0x370)](_0x169794),'onSyncEditingCollabCursor':_0x14c140=>this['_docSyncEditingCollabCursorService'][_0x34b6c1(0x265)](_0x14c140),'onTransformRemoteChangesetByIMECache':_0x5be6c5=>this[_0x34b6c1(0x2cc)]['transformRemoteChangeset'](_0x5be6c5),'onTransformRemoteChangesetByStateCache':_0xa49b65=>this['_docTransformStateCacheService'][_0x34b6c1(0x267)](_0xa49b65)};_0x3900df[_0x34b6c1(0x338)](_0x313c8f);}}));}};ae=cn([U(0x0,_0x103d04(_0xac8e70)),U(0x1,_0x103d04(_0x484e43)),U(0x2,_0x103d04(ne)),U(0x3,_0x103d04(re)),U(0x4,_0x103d04(oe)),U(0x5,_0x103d04(He)),U(0x6,_0x4f41d6),U(0x7,_0x103d04(_0x43f363))],ae);var ln=Object[_0x541ec7(0x34f)],_n=(_0x2a1bf0,_0x211aa3,_0x5d3629,_0x5de405)=>{const _0x255129=_0x541ec7;for(var _0x6f2b6e=_0x5de405>0x1?void 0x0:_0x5de405?ln(_0x211aa3,_0x5d3629):_0x211aa3,_0x3278b6=_0x2a1bf0[_0x255129(0x24a)]-0x1,_0xd18080;_0x3278b6>=0x0;_0x3278b6--)(_0xd18080=_0x2a1bf0[_0x3278b6])&&(_0x6f2b6e=_0xd18080(_0x6f2b6e)||_0x6f2b6e);return _0x6f2b6e;},Ee=(_0x403104,_0x388149)=>(_0x2b1f15,_0x3d0e26)=>_0x388149(_0x2b1f15,_0x3d0e26,_0x403104);let Le=class extends _0x4ef276{constructor(_0x5c7b1b,_0x4fd9da,_0x29ead1){const _0x4d6584=_0x541ec7;super(),_(this,_0x4d6584(0x385),new Map()),_(this,_0x4d6584(0x308),new Map()),_(this,_0x4d6584(0x36d),!0x1),(this[_0x4d6584(0x2d5)]=_0x5c7b1b,this[_0x4d6584(0x2ea)]=_0x4fd9da,this[_0x4d6584(0x246)]=_0x29ead1);}[_0x541ec7(0x377)](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x3734d0=_0x541ec7;this[_0x3734d0(0x36d)]=!0x1;}get[_0x541ec7(0x1db)](){return this['_saveTaskMap'];}[_0x541ec7(0x30e)](){const _0x255b4e=_0x541ec7;this['exhaustSavingTask']()[_0x255b4e(0x355)](()=>super[_0x255b4e(0x30e)]());}async[_0x541ec7(0x1d9)](_0x4db77e){const _0x2523b2=_0x541ec7;return this[_0x2523b2(0x36d)]?null:this['_localStorageService'][_0x2523b2(0x1b8)](_0x474008(_0x4db77e));}async[_0x541ec7(0x32d)](_0x1230af,_0x1a053c){const _0x200b2b=_0x541ec7;return!!this[_0x200b2b(0x2ea)][_0x200b2b(0x294)](_0x1230af,_0x1a053c);}[_0x541ec7(0x34c)](_0x3def0f,_0x16945c,_0x4a9087,_0x5b62b6){const _0x27eb89=_0x541ec7,_0xfb1022=this[_0x27eb89(0x246)][_0x27eb89(0x34d)](_0x3def0f);this[_0x27eb89(0x385)][_0x27eb89(0x31b)](_0x3def0f,{'unitID':_0x3def0f,'type':_0x16945c,'awaitingChangeset':_0x4a9087,'mutations':_0x5b62b6,'rev':_0xfb1022}),this[_0x27eb89(0x308)][_0x27eb89(0x272)](_0x3def0f)||this[_0x27eb89(0x1c7)](_0x3def0f);}['_scheduleSaving'](_0x454781){const _0x1dc493=_0x541ec7,_0x25ec97=this[_0x1dc493(0x2bf)]();_0x25ec97===0x0?this[_0x1dc493(0x3a1)](_0x454781):this[_0x1dc493(0x308)]['set'](_0x454781,setTimeout(()=>this[_0x1dc493(0x3a1)](_0x454781),_0x25ec97));}['_getSaveTimeout'](){const _0xbac4de=_0x541ec7;var _0xbab634;return(_0xbab634=this['_configService'][_0xbac4de(0x212)](_0x4fa27b))!=null?_0xbab634:_0x5086d1;}[_0x541ec7(0x3a1)](_0x59ce86){const _0x333c83=_0x541ec7,_0x28bf47=this['_saveTaskMap'][_0x333c83(0x28f)](_0x59ce86);return _0x28bf47!==void 0x0&&window[_0x333c83(0x1e2)](_0x28bf47),this[_0x333c83(0x2ea)][_0x333c83(0x294)](_0x474008(_0x59ce86),this[_0x333c83(0x385)][_0x333c83(0x28f)](_0x59ce86))[_0x333c83(0x355)](()=>this[_0x333c83(0x308)]['delete'](_0x59ce86));}async['exhaustSavingTask'](){const _0x5be1c6=_0x541ec7,_0x2b0602=[];this[_0x5be1c6(0x308)][_0x5be1c6(0x320)]((_0x30fec5,_0x14153b)=>{const _0x5b0dfa=_0x5be1c6;window[_0x5b0dfa(0x1e2)](_0x30fec5),_0x2b0602['push'](this[_0x5b0dfa(0x3a1)](_0x14153b)[_0x5b0dfa(0x355)](()=>{const _0x59461f=_0x5b0dfa;this[_0x59461f(0x308)][_0x59461f(0x240)](_0x14153b);}));}),await Promise[_0x5be1c6(0x307)](_0x2b0602);}};Le=_n([Ee(0x0,_0x40fb79),Ee(0x1,_0x26707b),Ee(0x2,_0x103d04(_0x134e6e))],Le);class hn extends _0x54b14c{constructor(){const _0xe7b1cd=_0x541ec7;super(),_(this,_0xe7b1cd(0x2ab)),this['urlChange$']=_0x3c2d75(window,'popstate')[_0xe7b1cd(0x32a)](_0x4bdb4f(this[_0xe7b1cd(0x3a7)]),_0x34a290(0x1),_0x317e44(void 0x0));}[_0x541ec7(0x2ca)](_0x1583fd,_0x2770c2,_0x58ce19=!0x1){const _0x45001b=_0x541ec7,_0x259549=new URL(window[_0x45001b(0x37a)]['href']);_0x259549[_0x45001b(0x392)][_0x45001b(0x31b)](_0x1583fd,_0x2770c2),_0x58ce19?window[_0x45001b(0x344)][_0x45001b(0x1c9)]('','',_0x259549[_0x45001b(0x2ac)]()):window['history']['pushState']('','',_0x259549[_0x45001b(0x2ac)]());}[_0x541ec7(0x2ae)](_0x26d7ff,_0x24f752=!0x1){const _0x3d188d=_0x541ec7,_0x1db2b2=new URL(window[_0x3d188d(0x37a)][_0x3d188d(0x263)]);_0x1db2b2['searchParams'][_0x3d188d(0x240)](_0x26d7ff),_0x24f752?window[_0x3d188d(0x344)][_0x3d188d(0x1c9)]('','',_0x1db2b2['toString']()):window[_0x3d188d(0x344)][_0x3d188d(0x37c)]('','',_0x1db2b2[_0x3d188d(0x2ac)]());}[_0x541ec7(0x350)](_0x491361){const _0x4392e9=_0x541ec7;var _0x15d532;return(_0x15d532=new URL(window[_0x4392e9(0x37a)][_0x4392e9(0x263)])['searchParams'][_0x4392e9(0x28f)](_0x491361))!=null?_0x15d532:void 0x0;}}var un=Object[_0x541ec7(0x1bd)],dn=Object[_0x541ec7(0x34f)],fn=(_0x2eabf3,_0x38b4b5,_0x5d6c08)=>_0x38b4b5 in _0x2eabf3?un(_0x2eabf3,_0x38b4b5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5d6c08}):_0x2eabf3[_0x38b4b5]=_0x5d6c08,Sn=(_0x35a06f,_0x147479,_0x2fbdf7,_0x4edc77)=>{const _0x4a2ab3=_0x541ec7;for(var _0x2de360=_0x4edc77>0x1?void 0x0:_0x4edc77?dn(_0x147479,_0x2fbdf7):_0x147479,_0x116abe=_0x35a06f[_0x4a2ab3(0x24a)]-0x1,_0x3fffa3;_0x116abe>=0x0;_0x116abe--)(_0x3fffa3=_0x35a06f[_0x116abe])&&(_0x2de360=_0x3fffa3(_0x2de360)||_0x2de360);return _0x2de360;},be=(_0x454011,_0x40fe7d)=>(_0xb382ba,_0x24d653)=>_0x40fe7d(_0xb382ba,_0x24d653,_0x454011),mn=(_0xe078fb,_0x2c5886,_0x2b8db5)=>fn(_0xe078fb,_0x2c5886+'',_0x2b8db5);const gn=_0x541ec7(0x226);let Ae=class extends _0x1122e1{constructor(_0xfbcdc3=et,_0x341764,_0x4da705,_0x23afc1){const _0x2bf6bd=_0x541ec7;super(),this[_0x2bf6bd(0x3b5)]=_0xfbcdc3,this[_0x2bf6bd(0x366)]=_0x341764,this[_0x2bf6bd(0x23f)]=_0x4da705,this[_0x2bf6bd(0x2d5)]=_0x23afc1;const {..._0x39f912}=_0x4eb21b({},et,this[_0x2bf6bd(0x3b5)]);this[_0x2bf6bd(0x2d5)]['setConfig'](Zi,_0x39f912);}[_0x541ec7(0x1eb)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x541ec7(0x373)](){this['_registerRenderDependencies']();}[_0x541ec7(0x381)](){const _0x2cbd29=_0x541ec7;var _0x23285f;const _0xa7d48d=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0xb32ccf,{'useClass':_0x360998}],[_0x7a7549,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x23b0fd(this[_0x2cbd29(0x23f)],_0x3217b5(_0xa7d48d,(_0x23285f=this[_0x2cbd29(0x3b5)])==null?void 0x0:_0x23285f['override']));}[_0x541ec7(0x2e6)](){const _0x1472a9=_0x541ec7;this[_0x1472a9(0x1be)](this['_renderManagerService'][_0x1472a9(0x2be)](_0x24a6a1[_0x1472a9(0x345)],[Pe])),this[_0x1472a9(0x1be)](this[_0x1472a9(0x366)][_0x1472a9(0x2be)](_0x24a6a1['UNIVER_SHEET'],[we]));}[_0x541ec7(0x318)](){_0x4e9859(this['_injector'],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x541ec7(0x329),gn),Ae=Sn([_0x529dd5(_0x11f5d1),be(0x1,_0x2f4050),be(0x2,_0x103d04(_0xd692d6)),be(0x3,_0x40fb79)],Ae);var vn=Object[_0x541ec7(0x34f)],In=(_0x3a1c74,_0x5c18b5,_0x58aadc,_0x47810e)=>{for(var _0x433cec=_0x47810e>0x1?void 0x0:_0x47810e?vn(_0x5c18b5,_0x58aadc):_0x5c18b5,_0x1402d2=_0x3a1c74['length']-0x1,_0x1a7662;_0x1402d2>=0x0;_0x1402d2--)(_0x1a7662=_0x3a1c74[_0x1402d2])&&(_0x433cec=_0x1a7662(_0x433cec)||_0x433cec);return _0x433cec;},K=(_0x1c2e66,_0xf90dfe)=>(_0x413fdf,_0x12dbb8)=>_0xf90dfe(_0x413fdf,_0x12dbb8,_0x1c2e66);let st=class extends _0x50e698{constructor(_0x25437c,_0x3bb9c9,_0x5c05b5,_0x4808a4,_0x2e39c8){super(_0x25437c,_0x3bb9c9,_0x5c05b5,_0x4808a4,_0x2e39c8);}async[_0x541ec7(0x241)](_0x4e8f87){const _0x492853=_0x541ec7,_0x5ea704=await this[_0x492853(0x298)](),_0x2a90cf=this['_createSocketURL'](_0x4e8f87,_0x5ea704);return this[_0x492853(0x334)](_0x2a90cf);}[_0x541ec7(0x22a)](_0x5d9fb0,_0x500326){const _0x2f3e8b=_0x541ec7,_0x2b2908=typeof window>'u'?new URL(_0x5d9fb0):new URL(_0x5d9fb0,window[_0x2f3e8b(0x37a)][_0x2f3e8b(0x2b2)]);_0x2b2908['searchParams']['set'](_0x2f3e8b(0x37f),_0x500326);const _0x91c0f1=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x2f3e8b(0x302)]);return _0x91c0f1[_0x2f3e8b(0x28f)](_0x2f3e8b(0x216))&&_0x2b2908[_0x2f3e8b(0x392)][_0x2f3e8b(0x31b)](_0x2f3e8b(0x216),_0x91c0f1[_0x2f3e8b(0x28f)]('runId')),_0x2b2908[_0x2f3e8b(0x2ac)]();}async['_getSessionTicket'](){const _0x2ce812=_0x541ec7;var _0x2de9b4,_0x164e70,_0x298985;const _0x50eba7=this['_configService']['getConfig'](_0x1468d8),_0x30ccaf=(_0x2de9b4=_0x50eba7==null?void 0x0:_0x50eba7[_0x2ce812(0x2c7)])!=null?_0x2de9b4:_0x1f5f98;return(_0x298985=(_0x164e70=(await this[_0x2ce812(0x2e1)]['get'](_0x30ccaf,{'headers':{'Content-Type':'application/json'}}))[_0x2ce812(0x28e)])==null?void 0x0:_0x164e70[_0x2ce812(0x397)])!=null?_0x298985:'';}};st=In([K(0x0,_0x103d04(_0xd692d6)),K(0x1,_0x103d04(_0x3c7530)),K(0x2,_0x40fb79),K(0x3,_0x48a758),K(0x4,_0x1aac4b)],st);const it=0x7530,nt=_0x541ec7(0x283);class jn extends _0x4ef276{constructor(){const _0x286a92=_0x541ec7;super(),_(this,'_id',_0x42dff8()),_(this,'_selfUnitIDs',new Set()),_(this,_0x286a92(0x27b),new Map()),_(this,_0x286a92(0x205),null),_(this,_0x286a92(0x206),new Map()),_(this,_0x286a92(0x1d5),new Map()),this[_0x286a92(0x1bb)]();}['dispose'](){const _0x409ddb=_0x541ec7;super['dispose'](),this[_0x409ddb(0x206)][_0x409ddb(0x320)]((_0x1926da,_0x144095)=>this[_0x409ddb(0x2cb)](_0x144095)),this[_0x409ddb(0x205)]&&window[_0x409ddb(0x382)](this[_0x409ddb(0x205)]);}['getUnitStatus$'](_0x2481bc){const _0x2c3c29=_0x541ec7;return this[_0x2c3c29(0x2cf)](_0x2481bc)['pipe'](_0x583682());}[_0x541ec7(0x219)](_0x118f5b){const _0xa29a6b=_0x541ec7;this[_0xa29a6b(0x349)][_0xa29a6b(0x36e)]===0x0&&this[_0xa29a6b(0x2bb)](),this[_0xa29a6b(0x349)][_0xa29a6b(0x2db)](_0x118f5b),this[_0xa29a6b(0x391)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x118f5b],'isForwarded':!0x1});}[_0x541ec7(0x2a5)](_0x471a72){const _0x57b586=_0x541ec7;this['_selfUnitIDs'][_0x57b586(0x240)](_0x471a72),this['_selfUnitIDs'][_0x57b586(0x36e)]===0x0&&this[_0x57b586(0x205)]&&window[_0x57b586(0x382)](this[_0x57b586(0x205)]);}[_0x541ec7(0x1bb)](){const _0x550c21=_0x541ec7;this[_0x550c21(0x1be)](_0x1d2d8f(_0x3c2d75(window,_0x550c21(0x32c))[_0x550c21(0x339)](_0x79d020=>{const _0x2b4152=_0x550c21;if(_0x79d020[_0x2b4152(0x1cf)]!==nt||!_0x79d020['newValue'])return;const _0x55df16=JSON[_0x2b4152(0x1b1)](_0x79d020[_0x2b4152(0x235)]);this[_0x2b4152(0x35c)](_0x55df16);}))),window['addEventListener']('unload',()=>this[_0x550c21(0x391)]({'type':0x1,'memberID':this[_0x550c21(0x35f)],'unitIDs':Array[_0x550c21(0x25b)](this[_0x550c21(0x349)])}));}[_0x541ec7(0x35c)](_0x22f120){switch(_0x22f120['type']){case 0x0:this['_handleJoinEvent'](_0x22f120);break;case 0x1:this['_handleLeaveEvent'](_0x22f120);break;case 0x2:this['_handleHeartbeatEvent'](_0x22f120);break;}}[_0x541ec7(0x2ee)](_0xd6f3e9){const _0xfefae=_0x541ec7,{unitIDs:_0x22035b,memberID:_0x1605b3,isForwarded:_0x7d4c30}=_0xd6f3e9;_0x22035b[_0xfefae(0x320)](_0x17339d=>{const _0x57860d=_0xfefae;if(!_0x7d4c30&&this['_unitOnClients'][_0x57860d(0x272)](_0x17339d)&&this[_0x57860d(0x2cf)](_0x17339d)[_0x57860d(0x351)](_0x451596[_0x57860d(0x1f6)]),!this[_0x57860d(0x27b)][_0x57860d(0x272)](_0x17339d)||!this[_0x57860d(0x27b)][_0x57860d(0x28f)](_0x17339d)[_0x57860d(0x272)](_0x1605b3)){const _0x40b1de=this[_0x57860d(0x27b)]['get'](_0x17339d)||new Set();_0x40b1de['add'](_0x1605b3),this['_unitOnClients'][_0x57860d(0x31b)](_0x17339d,_0x40b1de),this[_0x57860d(0x2a4)](_0x1605b3);}}),_0x7d4c30||this[_0xfefae(0x391)]({'type':0x0,'memberID':this[_0xfefae(0x35f)],'unitIDs':[...this[_0xfefae(0x349)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x3b3551){const _0x1f0d50=_0x541ec7;this[_0x1f0d50(0x2cb)](_0x3b3551);const _0x1f6f0c=window[_0x1f0d50(0x26f)](()=>{const _0x3dc875=_0x1f0d50;this[_0x3dc875(0x27b)][_0x3dc875(0x320)](_0x3d9c7c=>{_0x3d9c7c['delete'](_0x3b3551);});},it*0x2);this[_0x1f0d50(0x206)]['set'](_0x3b3551,_0x1f6f0c);}[_0x541ec7(0x2cb)](_0x15c5f6){const _0x4245d2=_0x541ec7;if(this['_clearOtherTimers'][_0x4245d2(0x272)](_0x15c5f6)){const _0x5a6c86=this[_0x4245d2(0x206)]['get'](_0x15c5f6);_0x5a6c86&&window[_0x4245d2(0x1e2)](_0x5a6c86),this[_0x4245d2(0x206)][_0x4245d2(0x31b)](_0x15c5f6,null);}}['_handleLeaveEvent'](_0x2518f5){const _0x4225ab=_0x541ec7,{memberID:_0x1f42a0,unitIDs:_0x4efd05}=_0x2518f5;_0x4efd05[_0x4225ab(0x320)](_0x312a46=>{const _0x27d609=_0x4225ab;var _0x17ce51;const _0x29e3ee=this[_0x27d609(0x27b)][_0x27d609(0x28f)](_0x312a46);_0x29e3ee&&(_0x29e3ee[_0x27d609(0x240)](_0x1f42a0),(_0x17ce51=this[_0x27d609(0x2cf)](_0x312a46))==null||_0x17ce51['next'](_0x29e3ee[_0x27d609(0x36e)]===0x0?_0x451596[_0x27d609(0x210)]:_0x451596[_0x27d609(0x1f6)]));}),this[_0x4225ab(0x2cb)](_0x1f42a0);}[_0x541ec7(0x28b)](_0x458762){const _0x49dce2=_0x541ec7;this[_0x49dce2(0x2a4)](_0x458762[_0x49dce2(0x393)]);}[_0x541ec7(0x391)](_0x331b16){const _0x3b9c1c=_0x541ec7;localStorage['setItem'](nt,JSON[_0x3b9c1c(0x2e7)](_0x331b16));}[_0x541ec7(0x2bb)](){const _0x285b5f=_0x541ec7;this[_0x285b5f(0x205)]=window[_0x285b5f(0x24b)](()=>{const _0x137736=_0x285b5f;this['_send']({'type':0x2,'memberID':this[_0x137736(0x35f)]});},it);}[_0x541ec7(0x2cf)](_0x54a43){const _0x20d70c=_0x541ec7;return this[_0x20d70c(0x1d5)][_0x20d70c(0x272)](_0x54a43)||this[_0x20d70c(0x1d5)]['set'](_0x54a43,new _0x4ebf3e(_0x451596[_0x20d70c(0x210)])),this[_0x20d70c(0x1d5)]['get'](_0x54a43);}}var Mt=(_0x2a690c=>(_0x2a690c[_0x2a690c[_0x541ec7(0x20b)]=0x0]='UNDEFINED',_0x2a690c[_0x2a690c['OK']=0x1]='OK',_0x2a690c[_0x2a690c[_0x541ec7(0x335)]=0x2]='INTERNAL_ERROR',_0x2a690c[_0x2a690c[_0x541ec7(0x215)]=0x3]=_0x541ec7(0x215),_0x2a690c[_0x2a690c[_0x541ec7(0x331)]=0x4]='NOT_FOUND',_0x2a690c[_0x2a690c[_0x541ec7(0x1fb)]=0x5]='UNAUTHENTICATED',_0x2a690c[_0x2a690c['ALREADY_EXISTS']=0x6]=_0x541ec7(0x247),_0x2a690c[_0x2a690c['INVALID_ARGUMENT']=0x7]=_0x541ec7(0x232),_0x2a690c[_0x2a690c['TOO_MANY_REQUESTS']=0x8]=_0x541ec7(0x3a8),_0x2a690c[_0x2a690c['COMPLETION_FINISHED']=0x9]=_0x541ec7(0x39b),_0x2a690c[_0x2a690c['LOGIN_FAILED']=0xa]=_0x541ec7(0x220),_0x2a690c[_0x2a690c[_0x541ec7(0x24d)]=0x1389]=_0x541ec7(0x24d),_0x2a690c[_0x2a690c[_0x541ec7(0x336)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x2a690c[_0x2a690c[_0x541ec7(0x35e)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x2a690c[_0x2a690c[_0x541ec7(0x30b)]=0x1773]=_0x541ec7(0x30b),_0x2a690c[_0x2a690c[_0x541ec7(0x38a)]=0x1b59]=_0x541ec7(0x38a),_0x2a690c[_0x2a690c[_0x541ec7(0x2f2)]=0x1b5a]=_0x541ec7(0x2f2),_0x2a690c[_0x2a690c[_0x541ec7(0x2bd)]=0x1b5b]=_0x541ec7(0x2bd),_0x2a690c[_0x2a690c[_0x541ec7(0x2aa)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x2a690c[_0x2a690c[_0x541ec7(0x20c)]=0x1b5d]=_0x541ec7(0x20c),_0x2a690c[_0x2a690c[_0x541ec7(0x374)]=0x1f41]=_0x541ec7(0x374),_0x2a690c[_0x2a690c['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x541ec7(0x305),_0x2a690c[_0x2a690c[_0x541ec7(0x3a2)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x2a690c[_0x2a690c[_0x541ec7(0x211)]=0x232b]=_0x541ec7(0x211),_0x2a690c[_0x2a690c['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x541ec7(0x32b),_0x2a690c[_0x2a690c['LICENSE_DISTRO_REJECTED']=0x232d]=_0x541ec7(0x2a9),_0x2a690c[_0x2a690c[_0x541ec7(0x386)]=0x2711]=_0x541ec7(0x386),_0x2a690c[_0x2a690c[_0x541ec7(0x23c)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x2a690c[_0x2a690c[_0x541ec7(0x361)]=0x2713]=_0x541ec7(0x361),_0x2a690c[_0x2a690c['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x541ec7(0x22e),_0x2a690c[_0x2a690c[_0x541ec7(0x281)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x2a690c[_0x2a690c[_0x541ec7(0x285)]=0x271b]=_0x541ec7(0x285),_0x2a690c[_0x2a690c['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x541ec7(0x39e),_0x2a690c[_0x2a690c[_0x541ec7(0x1fd)]=0x2ee1]=_0x541ec7(0x1fd),_0x2a690c[_0x2a690c[_0x541ec7(0x383)]=0x2ee2]='INVALID_INVITE_CODE',_0x2a690c[_0x2a690c[_0x541ec7(0x22c)]=0x2ee3]=_0x541ec7(0x22c),_0x2a690c[_0x2a690c[_0x541ec7(0x2df)]=0x2ee4]=_0x541ec7(0x2df),_0x2a690c[_0x2a690c[_0x541ec7(0x223)]=0x2ee5]=_0x541ec7(0x223),_0x2a690c[_0x2a690c[_0x541ec7(0x2b1)]=0x32c9]=_0x541ec7(0x2b1),_0x2a690c[_0x2a690c[_0x541ec7(0x234)]=0x32ca]=_0x541ec7(0x234),_0x2a690c[_0x2a690c[_0x541ec7(0x253)]=0x32cb]=_0x541ec7(0x253),_0x2a690c[_0x2a690c['UNRECOGNIZED']=-0x1]=_0x541ec7(0x269),_0x2a690c))(Mt||{}),pn=Object[_0x541ec7(0x34f)],Cn=(_0x200241,_0xc579a4,_0x4c866b,_0x313386)=>{const _0x47155c=_0x541ec7;for(var _0x5a13ce=_0x313386>0x1?void 0x0:_0x313386?pn(_0xc579a4,_0x4c866b):_0xc579a4,_0x4f8601=_0x200241[_0x47155c(0x24a)]-0x1,_0x2a4242;_0x4f8601>=0x0;_0x4f8601--)(_0x2a4242=_0x200241[_0x4f8601])&&(_0x5a13ce=_0x2a4242(_0x5a13ce)||_0x5a13ce);return _0x5a13ce;},Oe=(_0x46a720,_0x418dff)=>(_0x54988b,_0x3f99ec)=>_0x418dff(_0x54988b,_0x3f99ec,_0x46a720);let rt=class extends _0x4ef276{constructor(_0x58b550,_0x35aed0,_0x510bf0){const _0x2ce676=_0x541ec7;super(),this[_0x2ce676(0x2a8)]=_0x58b550,this[_0x2ce676(0x2e1)]=_0x35aed0,this[_0x2ce676(0x2d5)]=_0x510bf0;}async[_0x541ec7(0x343)](_0xb766fe,_0x470aa3,_0x5e4b48,..._0x251e6a){const _0x35640d=_0x541ec7;var _0x3a8eb9,_0x309df1,_0x9e803d,_0x241b4d;const _0x2d9f6d=this[_0x35640d(0x2a8)][_0x35640d(0x29a)]();if(!_0x2d9f6d)throw new Error(_0x35640d(0x258));const _0x37c644=((_0x3a8eb9=this[_0x35640d(0x2d5)][_0x35640d(0x212)](_0x3b382c))!=null?_0x3a8eb9:_0x449097)+'/'+_0xb766fe+_0x35640d(0x25d)+_0x470aa3,_0x391ae5=new URL(window[_0x35640d(0x37a)]['href']),_0x556d63={'scriptId':_0xb766fe,'runId':(_0x309df1=_0x391ae5[_0x35640d(0x392)][_0x35640d(0x28f)](_0x35640d(0x216)))!=null?_0x309df1:'','function':_0x470aa3,'unitId':_0x2d9f6d[_0x35640d(0x2a6)](),'argsOfFunction':JSON[_0x35640d(0x2e7)](_0x251e6a),'invokeId':(_0x9e803d=_0x5e4b48['invokeId'])!=null?_0x9e803d:'','executionId':(_0x241b4d=_0x5e4b48[_0x35640d(0x35d)])!=null?_0x241b4d:''};try{const _0x4d0c40=await this[_0x35640d(0x2e1)][_0x35640d(0x2c4)](_0x37c644,{'body':_0x556d63});return _0x4d0c40[_0x35640d(0x28e)]['error']&&_0x4d0c40[_0x35640d(0x28e)][_0x35640d(0x2f5)]['code']!==Mt['OK']?_0x35640d(0x260):_0x4d0c40['body'][_0x35640d(0x30c)];}catch{return _0x35640d(0x260);}}};rt=Cn([Oe(0x0,_0xb44ffb),Oe(0x1,_0x103d04(_0x3c7530)),Oe(0x2,_0x40fb79)],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 _0x5e9d2a=_0x232c;(function(_0x7820aa,_0x56c825){const _0x197465=_0x232c,_0x5657ca=_0x7820aa();while(!![]){try{const _0x3ca199=-parseInt(_0x197465(0x251))/0x1+-parseInt(_0x197465(0x18b))/0x2*(parseInt(_0x197465(0x276))/0x3)+-parseInt(_0x197465(0xda))/0x4*(parseInt(_0x197465(0x24a))/0x5)+parseInt(_0x197465(0xac))/0x6+-parseInt(_0x197465(0x123))/0x7*(-parseInt(_0x197465(0x18d))/0x8)+parseInt(_0x197465(0x1dd))/0x9*(-parseInt(_0x197465(0x92))/0xa)+parseInt(_0x197465(0x259))/0xb;if(_0x3ca199===_0x56c825)break;else _0x5657ca['push'](_0x5657ca['shift']());}catch(_0x1e5806){_0x5657ca['push'](_0x5657ca['shift']());}}}(_0x25ef,0x5e554));var $t=Object[_0x5e9d2a(0x1af)],xt=(_0x2227e2,_0x7ab2e7,_0x5a2f87)=>_0x7ab2e7 in _0x2227e2?$t(_0x2227e2,_0x7ab2e7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5a2f87}):_0x2227e2[_0x7ab2e7]=_0x5a2f87,_=(_0x960688,_0x18988c,_0x54a48e)=>xt(_0x960688,typeof _0x18988c!='symbol'?_0x18988c+'':_0x18988c,_0x54a48e);import{MemberService as _0x3d743a,SessionStatus as _0xbe6e8d,CollaborationSessionService as _0x1f628c,CollaborationStatus as _0x2bb882,CollaborationController as _0x5818ba,ILocalCacheService as _0x48bf36,CollaborationUIEventService as _0x40dfbd,CollaborationUIEventId as _0x5ad7be,DataLoaderService as _0x126004,DocCollaborationEntity as _0xa8c8e4,getLocalCacheKey as _0x3573d9,LOCAL_CACHE_INTERVAL as _0x42b703,LOCAL_CACHE_INTERVAL_KEY as _0x2a7a01,UniverCollaborationClientPlugin as _0x1a896e,CollaborationSocketService as _0x5308bc,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x3593b6,DEFAULT_WS_SESSION_TICKET_URL as _0x28ee03,UnitStatus as _0x4b9ec2,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x507d96,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x5661ee}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x21dcc4,Disposable as _0x5348ab,DOC_RANGE_TYPE as _0x125039,Inject as _0x2afc3f,Injector as _0x1ccbb8,IUniverInstanceService as _0x31afa3,ICommandService as _0x334d0c,debounce as _0x824db9,Rectangle as _0x1a7cee,DisposableCollection as _0x5658a2,toDisposable as _0x2f98b2,UniverInstanceType as _0xe74d3,Tools as _0x1cd6f0,COLORS as _0x246b1b,ColorKit as _0x1b1612,ThemeService as _0xfa9357,fromEventSubject as _0x38897a,LocaleService as _0x17d115,createIdentifier as _0x104114,ILogService as _0x1936a9,Optional as _0x7fd890,Workbook as _0x2e092b,CommandType as _0xffdb93,IConfigService as _0x335bdb,ILocalStorageService as _0x53feb7,DependentOn as _0x5a6ae2,Plugin as _0x4977e4,merge as _0x343961,registerDependencies as _0x3c0aa9,mergeOverrideWithDependencies as _0x4c7ef2,touchDependencies as _0x56af15,generateRandomId as _0x3a1a85}from'@univerjs/core';import{Shape as _0x501a18,Rect as _0x4b74cd,getColor as _0x1b013d,RegularPolygon as _0x1b5dc2,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x5081f1,Vector2 as _0x115866,SHEET_VIEWPORT_KEY as _0x71d1a5,IRenderManagerService as _0x49603f}from'@univerjs/engine-render';import{ISocketService as _0x52d687,WebSocketService as _0x3f16fb,HTTPService as _0x5b1d0d}from'@univerjs/network';import{IDocClipboardService as _0x2843cb,NodePositionConvertToCursor as _0x18cbcc,NodePositionConvertToRectRange as _0x50be1a,TEXT_RANGE_LAYER_INDEX as _0x52c651,SetDocZoomRatioOperation as _0x1995a1,DocIMEInputManagerService as _0x44fef9,DocStateChangeManagerService as _0x4ac406}from'@univerjs/docs-ui';import{IImageIoService as _0x3ea083}from'@univerjs/drawing';import{BehaviorSubject as _0x1084b7,debounceTime as _0xf05629,takeUntil as _0x41fc4e,Subject as _0x1d0774,filter as _0x50a92c,switchMap as _0x11c9ec,merge as _0x205f36,combineLatest as _0x43605d,of as _0x261b16,fromEvent as _0x55984f,shareReplay as _0x2bcb9c,mapTo as _0x2169f6,distinctUntilChanged as _0x2b3d97}from'rxjs';import{SetTextSelectionsOperation as _0x101751,RichTextEditingMutation as _0x534dfe,DocSelectionManagerService as _0x647975,DocSkeletonManagerService as _0x58a93a}from'@univerjs/docs';import{ITransformService as _0x282b64,CollaborationEvent as _0x1f842a,isTransformMutationFailure as _0x1caf96,isTransformMutationsWithChangesetSuccess as _0x1ee331,RevisionService as _0xbe9a23,ISnapshotServerService as _0x2903a1}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x22e502,serializeRangeWithSheet as _0x4d5673}from'@univerjs/engine-formula';import{RefRangeService as _0x3f7a07,SetSelectionsOperation as _0x15a133,SheetsSelectionsService as _0x5e315a,EffectRefRangId as _0x5807c2,handleIRemoveRow as _0x5974c2,handleIRemoveCol as _0x23b66d,handleMoveRange as _0x283ed5,handleInsertRow as _0x105796,handleInsertRangeMoveRight as _0x5c9ceb,handleInsertRangeMoveDown as _0xa1b84c,handleInsertCol as _0x4560d1,handleDeleteRangeMoveUp as _0xb7bb0e,handleDeleteRangeMoveLeft as _0x1f688d,runRefRangeMutations as _0x43f1b3,SetWorksheetActivateCommand as _0x9b3c39}from'@univerjs/sheets';import{map as _0x317f64,filter as _0x3bce79,throttleTime as _0x4093be,takeUntil as _0x2c9e00,switchMap as _0x2d4d5e}from'rxjs/operators';import{SheetSkeletonManagerService as _0x20dec5,getCoordByCell as _0x26e36d,getSheetObject as _0x569a41}from'@univerjs/sheets-ui';import{jsx as _0x1d9f11,jsxs as _0x12afa9}from'react/jsx-runtime';import{useObservable as _0x18d5ef,useDependency as _0x308a04,IUIPartsService as _0x1bc0ee,BuiltInUIPart as _0x5189d0,connectInjector as _0x11159d,IBeforeCloseService as _0x2717ba,IMessageService as _0x5ea77a,INotificationService as _0x291042}from'@univerjs/ui';import{Tooltip as _0x2518f7,clsx as _0x1168ce,MessageType as _0x50c4f8}from'@univerjs/design';import{forwardRef as _0x239842,useRef as _0x108310,createElement as _0x276974,useCallback as _0x5ccf53}from'react';import{IRemoteInstanceService as _0x2d26ad}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0xc1c3de,_0x44acd6,_0x28d488,_0x40b6c8)=>{const _0x4a0114=_0x5e9d2a;for(var _0x3c3a3f=_0x40b6c8>0x1?void 0x0:_0x40b6c8?ci(_0x44acd6,_0x28d488):_0x44acd6,_0x332e61=_0xc1c3de[_0x4a0114(0x26f)]-0x1,_0x3e2e46;_0x332e61>=0x0;_0x332e61--)(_0x3e2e46=_0xc1c3de[_0x332e61])&&(_0x3c3a3f=_0x3e2e46(_0x3c3a3f)||_0x3c3a3f);return _0x3c3a3f;},Je=(_0xa58b0e,_0x2ae9f7)=>(_0x560c7c,_0x9328db)=>_0x2ae9f7(_0x560c7c,_0x9328db,_0xa58b0e);let Ne=class extends _0x21dcc4{constructor(_0x1dd46d,_0xacf0a9){const _0x4187b9=_0x5e9d2a;super(),this[_0x4187b9(0x186)]=_0x1dd46d,this['_imageIoService']=_0xacf0a9,this[_0x4187b9(0x136)]();}[_0x5e9d2a(0x136)](){const _0x16ca9f=_0x5e9d2a,_0x51bbdb=this;this[_0x16ca9f(0xf6)](this[_0x16ca9f(0x186)][_0x16ca9f(0x178)]({'onBeforePasteImage':async _0x3355aa=>{const _0x589f5f=_0x16ca9f,_0x35cfb6=await _0x51bbdb[_0x589f5f(0x13a)][_0x589f5f(0x15b)](_0x3355aa);return _0x35cfb6?{'source':_0x35cfb6[_0x589f5f(0x129)],'imageSourceType':_0x35cfb6[_0x589f5f(0xe7)]}:null;}}));}};Ne=li([Je(0x0,_0x2843cb),Je(0x1,_0x3ea083)],Ne);const Ze=['purple300',_0x5e9d2a(0x173),'verdancy600',_0x5e9d2a(0x22a),_0x5e9d2a(0xc3),_0x5e9d2a(0x114)];class ke extends _0x5348ab{constructor(){const _0x5cf3c7=_0x5e9d2a;super(...arguments),_(this,_0x5cf3c7(0xfa),new Map()),_(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x55c69d){const _0x4a548e=_0x5e9d2a;if(this['_assignedColors']['has'](_0x55c69d))return this[_0x4a548e(0xfa)][_0x4a548e(0x88)](_0x55c69d);const _0x1be31d=Ze[this[_0x4a548e(0x204)]];return this[_0x4a548e(0x204)]=(this[_0x4a548e(0x204)]+0x1)%Ze['length'],this[_0x4a548e(0xfa)][_0x4a548e(0x138)](_0x55c69d,_0x1be31d),_0x1be31d;}}function Tt(_0x1d6f05){const _0x333866=_0x5e9d2a;let _0xfb4464='';for(const _0x5908a7 of _0x1d6f05){const {startOffset:_0x4db088,endOffset:_0x4d0413,isActive:_0x345bc7,rangeType:_0x5132cd,segmentId:_0x7a2fd9,segmentPage:_0xf0337c}=_0x5908a7;_0xfb4464[_0x333866(0x26f)]&&(_0xfb4464+=','),_0xfb4464+=_0x4db088+':'+_0x4d0413+':'+(_0x345bc7?'1':'0')+':'+_0x5132cd+':'+_0x7a2fd9+':'+_0xf0337c;}return _0xfb4464;}function _i(_0x361003){const _0x27589c=_0x5e9d2a,_0x56c6d3=_0x361003['split'](','),_0x1aa073=[];for(const _0x907179 of _0x56c6d3){const [_0x27e91e,_0x36ceb6,_0x5d7579,_0x596e49,_0x188bd1,_0x4a3f2c]=_0x907179[_0x27589c(0x162)](':');_0x1aa073[_0x27589c(0xb9)]({'startOffset':Number(_0x27e91e),'endOffset':Number(_0x36ceb6),'collapsed':_0x27e91e===_0x36ceb6,'isActive':_0x5d7579==='1','rangeType':_0x596e49===_0x125039[_0x27589c(0x22c)]?_0x125039[_0x27589c(0x22c)]:_0x125039['RECT'],'segmentId':typeof _0x188bd1==_0x27589c(0x1a3)?String(_0x188bd1):'','segmentPage':Number(_0x4a3f2c!=null?_0x4a3f2c:-0x1)});}return _0x1aa073['some'](_0x30b0f2=>_0x30b0f2[_0x27589c(0x1f6)])||(_0x1aa073[0x0][_0x27589c(0x1f6)]=!0x0),_0x1aa073;}class He extends _0x21dcc4{constructor(){const _0x5ae72b=_0x5e9d2a;super(...arguments),_(this,_0x5ae72b(0x1c5),new _0x1084b7(null)),_(this,_0x5ae72b(0x151),this[_0x5ae72b(0x1c5)]['asObservable']());}[_0x5e9d2a(0x11e)](_0x3f2ce9){const _0x33fd8f=_0x5e9d2a,{unitID:_0x2c4186,memberID:_0x21ccb9,textRanges:_0x279410}=_0x3f2ce9,_0x52c9b9=Tt(_0x279410);if(_0x52c9b9==='')return;const _0x331b3b={'unitID':_0x2c4186,'memberID':_0x21ccb9,'selection':_0x52c9b9};this[_0x33fd8f(0x1c5)][_0x33fd8f(0x1d3)](_0x331b3b);}}var hi=Object[_0x5e9d2a(0x101)],ui=(_0x241d1b,_0x65c86a,_0x60a1b2,_0x2adbd7)=>{const _0x9624a8=_0x5e9d2a;for(var _0x20d4dd=_0x2adbd7>0x1?void 0x0:_0x2adbd7?hi(_0x65c86a,_0x60a1b2):_0x65c86a,_0x481e82=_0x241d1b[_0x9624a8(0x26f)]-0x1,_0x1e8262;_0x481e82>=0x0;_0x481e82--)(_0x1e8262=_0x241d1b[_0x481e82])&&(_0x20d4dd=_0x1e8262(_0x20d4dd)||_0x20d4dd);return _0x20d4dd;},w=(_0x9bd3f9,_0x1cda83)=>(_0x571ba3,_0x5c37bf)=>_0x1cda83(_0x571ba3,_0x5c37bf,_0x9bd3f9);const di=0x12c,fi=0x64;let Ue=class extends _0x21dcc4{constructor(_0x2c454f,_0x3a8a95,_0x2106f7,_0x34bfae,_0x5a84ed,_0x5847fe,_0x544921,_0x325041,_0x29526d){const _0x52c5ba=_0x5e9d2a;super(),_(this,_0x52c5ba(0x269),!0x1),_(this,_0x52c5ba(0x136),!0x1),_(this,_0x52c5ba(0x9f),new _0x1084b7(new Map())),_(this,_0x52c5ba(0xaa),this[_0x52c5ba(0x9f)][_0x52c5ba(0x1bb)]()),_(this,'_roomMembers$',new _0x1084b7([])),_(this,_0x52c5ba(0x232),this[_0x52c5ba(0x240)][_0x52c5ba(0x1f7)](_0xf05629(di))),_(this,_0x52c5ba(0xf9),_0x824db9(_0x1496fc=>{const _0x4aab44=_0x52c5ba,_0x3a8248={'eventID':_0x1f842a[_0x4aab44(0x1bc)],'data':{'unitID':this['unitID'],'memberID':this[_0x4aab44(0x1d0)][_0x4aab44(0x1c8)](),'selection':Tt(_0x1496fc)}};this[_0x4aab44(0x1d0)][_0x4aab44(0x217)](_0x3a8248,this[_0x4aab44(0x1cf)]);},fi)),(this[_0x52c5ba(0x1cf)]=_0x2c454f,this[_0x52c5ba(0x1d0)]=_0x3a8a95,this[_0x52c5ba(0x160)]=_0x2106f7,this[_0x52c5ba(0x14c)]=_0x34bfae,this[_0x52c5ba(0xcf)]=_0x5a84ed,this[_0x52c5ba(0x1f8)]=_0x5847fe,this['_transformService']=_0x544921,this[_0x52c5ba(0x235)]=_0x325041,this[_0x52c5ba(0x154)]=_0x29526d);}get[_0x5e9d2a(0x1e1)](){const _0x3cff12=_0x5e9d2a;return this['_cursorInfo$'][_0x3cff12(0x257)]();}get[_0x5e9d2a(0x1a7)](){const _0x1479ae=_0x5e9d2a;return this[_0x1479ae(0x240)]['getValue']();}[_0x5e9d2a(0x17a)](){const _0x184859=_0x5e9d2a;super['dispose'](),this[_0x184859(0x9f)][_0x184859(0x1d3)](new Map()),this[_0x184859(0x9f)][_0x184859(0xde)](),this[_0x184859(0x240)]['next']([]),this[_0x184859(0x240)][_0x184859(0xde)]();}[_0x5e9d2a(0xef)](){const _0x3f18cb=_0x5e9d2a;this['_init']||(this[_0x3f18cb(0x136)]=!0x0,this[_0x3f18cb(0x1d0)]['sessionStatus$'][_0x3f18cb(0x1f7)](_0x41fc4e(this[_0x3f18cb(0x25b)]))['subscribe'](_0x544646=>{const _0xac45a6=_0x3f18cb;_0x544646===_0xbe6e8d[_0xac45a6(0xf8)]?this[_0xac45a6(0xb5)]():this[_0xac45a6(0xed)]();}),this['_session']['event$'][_0x3f18cb(0x1f7)](_0x41fc4e(this['dispose$']))[_0x3f18cb(0x25d)](_0x245d6c=>{const _0x29bc76=_0x3f18cb,_0x230868=_0x245d6c[_0x29bc76(0x23f)];_0x230868===_0x1f842a[_0x29bc76(0x1bc)]&&this[_0x29bc76(0x134)](_0x245d6c),_0x230868===_0x1f842a['USERS_LEAVE']&&this[_0x29bc76(0xb6)](_0x245d6c);}),this['disposeWithMe'](this[_0x3f18cb(0x154)][_0x3f18cb(0xd9)](_0x947264=>{const _0x3832a6=_0x3f18cb,_0x499db8=_0x947264[_0x3832a6(0x168)];_0x499db8!=null&&this[_0x3832a6(0x269)]&&_0x947264['id']===_0x101751['id']&&_0x499db8[_0x3832a6(0x10d)]===this[_0x3832a6(0x1cf)]&&_0x499db8[_0x3832a6(0x211)]===!0x1&&_0x499db8[_0x3832a6(0x233)]['length']>0x0&&this[_0x3832a6(0xf9)](_0x499db8['ranges']);})),this[_0x3f18cb(0x1f8)]['collabCursorState$'][_0x3f18cb(0x1f7)](_0x41fc4e(this[_0x3f18cb(0x25b)]))[_0x3f18cb(0x25d)](_0x1e5987=>{const _0x912259=_0x3f18cb;if((_0x1e5987==null?void 0x0:_0x1e5987[_0x912259(0x1cf)])!==this[_0x912259(0x1cf)])return;const _0x3b156e={'eventID':_0x1f842a[_0x912259(0x1bc)],'data':_0x1e5987};this[_0x912259(0x134)](_0x3b156e);}),this['disposeWithMe'](this[_0x3f18cb(0x154)]['onCommandExecuted'](_0x217983=>{const _0x4dae91=_0x3f18cb;if(_0x217983[_0x4dae91(0x168)]==null)return;const _0x34ad91=_0x217983[_0x4dae91(0x168)];if(_0x217983['id']!==_0x534dfe['id']||_0x34ad91[_0x4dae91(0x10d)]!==this[_0x4dae91(0x1cf)])return;const _0x15c6dd={'id':_0x4dae91(0x1ea),'params':_0x34ad91},_0x282b9b=this[_0x4dae91(0x1e1)];for(const [_0x5010d6,_0x5bb88d]of _0x282b9b){const _0x49151a={'id':_0x4dae91(0x1ea),'params':{'unitId':this[_0x4dae91(0x1cf)],'actions':null,'textRanges':_0x5bb88d['ranges']}},_0x49c731=this[_0x4dae91(0x10b)]['transformMutation'](_0x15c6dd,_0x49151a,!0x1);if(_0x1caf96(_0x49c731))throw _0x49c731['error'];_0x282b9b['set'](_0x5010d6,{..._0x5bb88d,'ranges':_0x49c731[_0x4dae91(0x1bd)]['params'][_0x4dae91(0x27e)]});}queueMicrotask(()=>{const _0x130774=_0x4dae91;this[_0x130774(0x9f)]['next'](_0x282b9b);});})));}[_0x5e9d2a(0x134)](_0x46ab28){const _0x36127c=_0x5e9d2a;var _0x1a828b,_0x1b837a;const {memberID:_0x18febb,selection:_0x101276}=_0x46ab28['data'],_0x248fbf=_i(_0x101276),_0x4fd56f=(_0x1b837a=(_0x1a828b=this['_memberService'][_0x36127c(0x108)](this['unitID'],_0x18febb))==null?void 0x0:_0x1a828b[_0x36127c(0xdf)])!=null?_0x1b837a:_0x36127c(0xf3),_0x538a21={'color':this[_0x36127c(0x14c)][_0x36127c(0x1e2)](_0x18febb),'name':_0x4fd56f,'ranges':_0x248fbf},_0x579961=this['cursorInfo'];_0x579961['set'](_0x18febb,_0x538a21),this[_0x36127c(0x9f)][_0x36127c(0x1d3)](_0x579961);}[_0x5e9d2a(0xb6)](_0xf302ea){const _0xbd94f2=_0x5e9d2a,{memberID:_0x47c804}=_0xf302ea[_0xbd94f2(0x9c)],_0xa0c6a8=this[_0xbd94f2(0x1e1)];_0xa0c6a8[_0xbd94f2(0x13e)](_0x47c804),this[_0xbd94f2(0x9f)][_0xbd94f2(0x1d3)](_0xa0c6a8);}['_toggleOnline'](){const _0x4cdae5=_0x5e9d2a;var _0x25edba;if(this[_0x4cdae5(0x269)]=!0x0,((_0x25edba=this[_0x4cdae5(0x235)][_0x4cdae5(0xcb)]())==null?void 0x0:_0x25edba[_0x4cdae5(0xd6)]())!==this[_0x4cdae5(0x1cf)])return;const _0x2c1170=this[_0x4cdae5(0x160)][_0x4cdae5(0x88)](_0x647975)[_0x4cdae5(0x248)]();Array[_0x4cdae5(0x16a)](_0x2c1170)&&_0x2c1170['length']>0x0&&this[_0x4cdae5(0xf9)](_0x2c1170);}[_0x5e9d2a(0xed)](){const _0x27fc19=_0x5e9d2a;this[_0x27fc19(0x269)]=!0x1;}};Ue=ui([w(0x2,_0x2afc3f(_0x1ccbb8)),w(0x3,_0x2afc3f(ke)),w(0x4,_0x2afc3f(_0x3d743a)),w(0x5,_0x2afc3f(He)),w(0x6,_0x282b64),w(0x7,_0x31afa3),w(0x8,_0x334d0c)],Ue);var Si=Object['getOwnPropertyDescriptor'],mi=(_0x126ceb,_0x339114,_0x25d86a,_0x23b66a)=>{const _0x31dec5=_0x5e9d2a;for(var _0x124c47=_0x23b66a>0x1?void 0x0:_0x23b66a?Si(_0x339114,_0x25d86a):_0x339114,_0x34a1e4=_0x126ceb[_0x31dec5(0x26f)]-0x1,_0x4bc717;_0x34a1e4>=0x0;_0x34a1e4--)(_0x4bc717=_0x126ceb[_0x34a1e4])&&(_0x124c47=_0x4bc717(_0x124c47)||_0x124c47);return _0x124c47;},x=(_0x4f91c4,_0x140c20)=>(_0x2840bd,_0x5dbab9)=>_0x140c20(_0x2840bd,_0x5dbab9,_0x4f91c4);const gi=0x12c,vi=0x64,Ii=()=>{let _0xaf972a=[],_0x4cdc67=!0x1;return _0x2b00b3=>{const _0x4eb770=_0x232c;_0xaf972a[_0x4eb770(0xb9)](_0x2b00b3),_0x4cdc67||(_0x4cdc67=!0x0,setTimeout(()=>{const _0x17b85d=_0x4eb770;_0xaf972a[_0x17b85d(0x281)](_0x3e346e=>_0x3e346e()),_0xaf972a=[],_0x4cdc67=!0x1;}));};};let Me=class extends _0x21dcc4{constructor(_0x3e7284,_0x56b19c,_0x59766a,_0x45d186,_0xab29ba,_0x1f0e26,_0x305260,_0x496164){const _0x231d38=_0x5e9d2a;super(),_(this,_0x231d38(0x269),!0x1),_(this,_0x231d38(0x136),!0x1),_(this,'_cursorInfo$',new _0x1084b7(new Map())),_(this,'cursorInfo$',this['_cursorInfo$'][_0x231d38(0x1bb)]()),_(this,'_roomMembers$',new _0x1084b7([])),_(this,_0x231d38(0x232),this[_0x231d38(0x240)][_0x231d38(0x1f7)](_0xf05629(gi))),_(this,_0x231d38(0xf9),_0x824db9((_0x25f3ad,_0x3eaa43)=>{const _0x267348=_0x231d38,_0x4614be={'eventID':_0x1f842a[_0x267348(0x1bc)],'data':{'unitID':this[_0x267348(0x1cf)],'memberID':this[_0x267348(0x1d0)][_0x267348(0x1c8)](),'selection':_0x4d5673(_0x25f3ad,_0x3eaa43[_0x267348(0x8f)])}};this[_0x267348(0x1d0)][_0x267348(0x217)](_0x4614be,this['unitID']);},vi)),(this[_0x231d38(0x1cf)]=_0x3e7284,this['_session']=_0x56b19c,this[_0x231d38(0x160)]=_0x59766a,this[_0x231d38(0x14c)]=_0x45d186,this[_0x231d38(0xcf)]=_0xab29ba,this[_0x231d38(0x235)]=_0x1f0e26,this[_0x231d38(0x154)]=_0x305260,this[_0x231d38(0x83)]=_0x496164);}get[_0x5e9d2a(0x1e1)](){return this['_cursorInfo$']['getValue']();}get[_0x5e9d2a(0x1a7)](){const _0x14a952=_0x5e9d2a;return this[_0x14a952(0x240)][_0x14a952(0x257)]();}[_0x5e9d2a(0x17a)](){const _0x25b39e=_0x5e9d2a;super['dispose'](),this[_0x25b39e(0x9f)][_0x25b39e(0x1d3)](new Map()),this['_cursorInfo$'][_0x25b39e(0xde)](),this['_roomMembers$'][_0x25b39e(0x1d3)]([]),this[_0x25b39e(0x240)][_0x25b39e(0xde)]();}['init'](){const _0x2a9675=_0x5e9d2a;this[_0x2a9675(0x136)]||(this['_init']=!0x0,this[_0x2a9675(0x1d0)]['sessionStatus$'][_0x2a9675(0x1f7)](_0x41fc4e(this[_0x2a9675(0x25b)]))['subscribe'](_0x3e5d91=>{const _0x4edbf8=_0x2a9675;_0x3e5d91===_0xbe6e8d[_0x4edbf8(0xf8)]?this[_0x4edbf8(0xb5)]():this['_toggleOffline']();}),this['_session']['event$']['pipe'](_0x41fc4e(this[_0x2a9675(0x25b)]))[_0x2a9675(0x25d)](_0x56d10a=>{const _0x4a88ea=_0x2a9675,_0x26ff46=_0x56d10a[_0x4a88ea(0x23f)];_0x26ff46===_0x1f842a[_0x4a88ea(0x1bc)]&&this[_0x4a88ea(0x134)](_0x56d10a),_0x26ff46===_0x1f842a[_0x4a88ea(0x132)]&&this[_0x4a88ea(0xb6)](_0x56d10a);}),this[_0x2a9675(0x149)](),this[_0x2a9675(0xf6)](this[_0x2a9675(0x154)]['onCommandExecuted'](_0x779941=>{const _0x5afd89=_0x2a9675;if(this[_0x5afd89(0x269)]&&_0x779941['id']===_0x15a133['id']&&_0x779941['params'][_0x5afd89(0x10d)]===this[_0x5afd89(0x1cf)]){const _0x4a2a82=_0x779941[_0x5afd89(0x168)];this['_updateLocalCursor'](_0x4a2a82[_0x5afd89(0x98)],_0x4a2a82[_0x5afd89(0x156)][0x0]);}})));}['_onCursorUpdate'](_0x46f484){const _0x5540c3=_0x5e9d2a;var _0x526ce0,_0x22fd4d;const {memberID:_0x63f3f3,selection:_0x2632d3}=_0x46f484[_0x5540c3(0x9c)],{sheetName:_0x2627c,range:_0x47fc8d}=_0x22e502(_0x2632d3),_0xbc209f={'name':(_0x22fd4d=(_0x526ce0=this[_0x5540c3(0xcf)]['getMember'](this['unitID'],_0x63f3f3))==null?void 0x0:_0x526ce0[_0x5540c3(0xdf)])!=null?_0x22fd4d:'Unknown\x20user','range':this[_0x5540c3(0x261)](_0x2627c,_0x47fc8d),'sheetID':_0x2627c,'color':this[_0x5540c3(0x14c)][_0x5540c3(0x1e2)](_0x63f3f3),'selection':_0x2632d3},_0x1bb68e=this['cursorInfo'];_0x1bb68e[_0x5540c3(0x138)](_0x63f3f3,_0xbc209f),this['_cursorInfo$'][_0x5540c3(0x1d3)](_0x1bb68e);}[_0x5e9d2a(0xb6)](_0x33753e){const _0x48e6c9=_0x5e9d2a,{memberID:_0x38e1c0}=_0x33753e[_0x48e6c9(0x9c)],_0x279b80=this[_0x48e6c9(0x1e1)];_0x279b80['delete'](_0x38e1c0),this[_0x48e6c9(0x9f)][_0x48e6c9(0x1d3)](_0x279b80);}[_0x5e9d2a(0x261)](_0x3eb4a2,_0x620d0f){const _0x60e9b8=_0x5e9d2a;var _0x28f811,_0x227aa4;const _0x4a61d7=(_0x227aa4=(_0x28f811=this[_0x60e9b8(0x235)][_0x60e9b8(0x91)](this[_0x60e9b8(0x1cf)]))==null?void 0x0:_0x28f811[_0x60e9b8(0x197)](_0x3eb4a2))==null?void 0x0:_0x227aa4[_0x60e9b8(0x23d)]();return(_0x4a61d7==null?void 0x0:_0x4a61d7[_0x60e9b8(0x236)](_0x2fbc6d=>_0x1a7cee['contains'](_0x2fbc6d,_0x620d0f)))||_0x620d0f;}[_0x5e9d2a(0x149)](){const _0x26bf1c=_0x5e9d2a,_0x22bc84=new _0x5658a2(),_0x3c3e2b=Ii(),_0x27a55d=()=>{const _0x418332=_0x232c;_0x22bc84[_0x418332(0x17a)]();const _0x254482=(_0x2678a2,_0x8669ab,_0x24cd02,_0x56fea3)=>{const _0x3a4c18=_0x418332;let _0x575fd0=[];switch(_0x2678a2['id']){case _0x5807c2[_0x3a4c18(0xb4)]:{_0x575fd0=_0x1f688d(_0x2678a2,_0x56fea3);break;}case _0x5807c2['DeleteRangeMoveUpCommandId']:{_0x575fd0=_0xb7bb0e(_0x2678a2,_0x56fea3);break;}case _0x5807c2[_0x3a4c18(0x1d7)]:{_0x575fd0=_0x4560d1(_0x2678a2,_0x56fea3);break;}case _0x5807c2[_0x3a4c18(0x212)]:{_0x575fd0=_0xa1b84c(_0x2678a2,_0x56fea3);break;}case _0x5807c2[_0x3a4c18(0xfd)]:{_0x575fd0=_0x5c9ceb(_0x2678a2,_0x56fea3);break;}case _0x5807c2[_0x3a4c18(0x11d)]:{_0x575fd0=_0x105796(_0x2678a2,_0x56fea3);break;}case _0x5807c2[_0x3a4c18(0x201)]:{_0x575fd0=_0x283ed5(_0x2678a2,_0x56fea3);break;}case _0x5807c2[_0x3a4c18(0x17c)]:{_0x575fd0=_0x23b66d(_0x2678a2,_0x56fea3);break;}case _0x5807c2['RemoveRowCommandId']:{_0x575fd0=_0x5974c2(_0x2678a2,_0x56fea3);break;}}const _0x303566=_0x43f1b3(_0x575fd0,_0x56fea3),_0x4ff934=this[_0x3a4c18(0x1e1)][_0x3a4c18(0x88)](_0x8669ab);if(_0x4ff934&&_0x303566){const _0x22c582={..._0x4ff934,'range':_0x303566};this[_0x3a4c18(0x1e1)][_0x3a4c18(0x138)](_0x8669ab,_0x22c582),_0x3c3e2b(()=>{const _0x3db148=_0x3a4c18,_0x5bb863=this['_refRangeService'][_0x3db148(0x141)](_0x303566,_0x4e60ad=>(_0x5bb863['dispose'](),_0x254482(_0x4e60ad,_0x8669ab,_0x24cd02,_0x303566)));_0x22bc84[_0x3db148(0x1b8)](_0x5bb863);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x418332(0x281)]((_0x17b8c5,_0x18da9c)=>{const _0x481800=_0x418332,{range:_0x139f59,sheetID:_0x4f10eb}=_0x17b8c5,_0xc1310=this[_0x481800(0x83)]['registerRefRange'](_0x139f59,_0x3fc0ce=>(_0xc1310[_0x481800(0x17a)](),_0x254482(_0x3fc0ce,_0x18da9c,_0x4f10eb,_0x139f59)));_0x22bc84[_0x481800(0x1b8)](_0xc1310);});};this[_0x26bf1c(0xf6)](_0x2f98b2(this['_cursorInfo$']['subscribe'](()=>{_0x27a55d();})));}[_0x5e9d2a(0xb5)](){const _0xd89d86=_0x5e9d2a;var _0x2622fd,_0x4a643b;if(this[_0xd89d86(0x269)]=!0x0,((_0x2622fd=this['_univerInstanceService'][_0xd89d86(0xcb)]())==null?void 0x0:_0x2622fd['getUnitId']())!==this[_0xd89d86(0x1cf)])return;const _0x3a8554=(_0x4a643b=this[_0xd89d86(0x160)][_0xd89d86(0x88)](_0x5e315a)[_0xd89d86(0x239)]())==null?void 0x0:_0x4a643b[0x0],_0x227f7a=this[_0xd89d86(0x235)]['getCurrentUnitForType'](_0xe74d3[_0xd89d86(0x85)])[_0xd89d86(0x20f)]();_0x3a8554&&_0x227f7a&&this[_0xd89d86(0xf9)](_0x227f7a['getSheetId'](),_0x3a8554);}[_0x5e9d2a(0xed)](){this['_online']=!0x1;}};Me=mi([x(0x2,_0x2afc3f(_0x1ccbb8)),x(0x3,_0x2afc3f(ke)),x(0x4,_0x2afc3f(_0x3d743a)),x(0x5,_0x31afa3),x(0x6,_0x334d0c),x(0x7,_0x2afc3f(_0x3f7a07))],Me);var pi=Object[_0x5e9d2a(0x101)],Ci=(_0x189605,_0x233e43,_0x1c2fc8,_0x69b177)=>{const _0x28582d=_0x5e9d2a;for(var _0x1b5392=_0x69b177>0x1?void 0x0:_0x69b177?pi(_0x233e43,_0x1c2fc8):_0x233e43,_0x3d807f=_0x189605[_0x28582d(0x26f)]-0x1,_0x273a26;_0x3d807f>=0x0;_0x3d807f--)(_0x273a26=_0x189605[_0x3d807f])&&(_0x1b5392=_0x273a26(_0x1b5392)||_0x1b5392);return _0x1b5392;},Se=(_0x5c7090,_0x41cbb5)=>(_0x230116,_0xd30146)=>_0x41cbb5(_0x230116,_0xd30146,_0x5c7090);let H=class extends _0x21dcc4{constructor(_0x1a2d74,_0x3e6169,_0x598f52){const _0x3e5861=_0x5e9d2a;super(),_(this,_0x3e5861(0x17b),new Map()),_(this,'_entityInit$',new _0x1d0774()),(this[_0x3e5861(0x235)]=_0x1a2d74,this[_0x3e5861(0x160)]=_0x3e6169,this['_collabSessionService']=_0x598f52,this[_0x3e5861(0x136)]());}[_0x5e9d2a(0x17a)](){const _0x3a9b90=_0x5e9d2a;super[_0x3a9b90(0x17a)](),this[_0x3a9b90(0x24f)][_0x3a9b90(0xde)](),this['_entities']['forEach'](_0x1e9ea8=>_0x1e9ea8[_0x3a9b90(0x17a)]());}[_0x5e9d2a(0xa3)](_0x4388e3){const _0x359d86=_0x5e9d2a;return this['_entities'][_0x359d86(0x225)](_0x4388e3)?this[_0x359d86(0x17b)]['get'](_0x4388e3)['cursorInfo$']:this[_0x359d86(0x24f)][_0x359d86(0x1f7)](_0x50a92c(_0x32442c=>_0x32442c['unitID']===_0x4388e3),_0x11c9ec(_0x4f6088=>_0x4f6088[_0x359d86(0xaa)]));}[_0x5e9d2a(0x136)](){const _0xd12245=_0x5e9d2a;this[_0xd12245(0x235)]['getTypeOfUnitAdded$'](_0xe74d3['UNIVER_SHEET'])[_0xd12245(0x1f7)](_0x41fc4e(this[_0xd12245(0x25b)]))[_0xd12245(0x25d)](async _0x3cae54=>{const _0x6f7629=_0xd12245,_0xa7d122=_0x3cae54[_0x6f7629(0xd6)](),_0x295a6d=await this['_startSheetCollabCursor'](_0xa7d122);this[_0x6f7629(0x24f)]['next'](_0x295a6d),this[_0x6f7629(0x17b)][_0x6f7629(0x138)](_0xa7d122,_0x295a6d);}),this[_0xd12245(0x235)][_0xd12245(0x20a)](_0xe74d3[_0xd12245(0x26a)])[_0xd12245(0x1f7)](_0x41fc4e(this[_0xd12245(0x25b)]))[_0xd12245(0x1f7)](_0x50a92c(_0x1a41dd=>!_0x1a41dd[_0xd12245(0xd6)]()[_0xd12245(0xf2)]('__')))[_0xd12245(0x25d)](async _0x46ba77=>{const _0x1a71ac=_0xd12245,_0x2290cd=_0x46ba77[_0x1a71ac(0xd6)](),_0x4c5bfb=await this[_0x1a71ac(0xc4)](_0x2290cd);this[_0x1a71ac(0x24f)]['next'](_0x4c5bfb),this[_0x1a71ac(0x17b)]['set'](_0x2290cd,_0x4c5bfb);}),_0x205f36(this['_univerInstanceService'][_0xd12245(0x275)](_0xe74d3[_0xd12245(0x26a)]),this['_univerInstanceService'][_0xd12245(0x275)](_0xe74d3['UNIVER_SHEET']))['pipe'](_0x41fc4e(this[_0xd12245(0x25b)]))['subscribe'](_0x24b263=>{const _0x672630=_0xd12245,_0xa7ed4c=_0x24b263['getUnitId'](),_0x3669c0=this['_entities'][_0x672630(0x88)](_0xa7ed4c);_0x3669c0&&(_0x3669c0[_0x672630(0x17a)](),this[_0x672630(0x17b)][_0x672630(0x13e)](_0xa7ed4c));});}async[_0x5e9d2a(0x194)](_0x22e3e1){const _0x38ceda=_0x5e9d2a,_0x4b4c87=await this[_0x38ceda(0x22f)][_0x38ceda(0x155)](_0x22e3e1),_0x2df993=this[_0x38ceda(0x160)][_0x38ceda(0x147)](Me,_0x22e3e1,_0x4b4c87);return _0x2df993['init'](),_0x2df993;}async['_startDocCollabCursor'](_0x3ff143){const _0x3327b7=_0x5e9d2a,_0x581c55=await this[_0x3327b7(0x22f)][_0x3327b7(0x155)](_0x3ff143),_0x402362=this[_0x3327b7(0x160)][_0x3327b7(0x147)](Ue,_0x3ff143,_0x581c55);return _0x402362['init'](),_0x402362;}};H=Ci([Se(0x0,_0x31afa3),Se(0x1,_0x2afc3f(_0x1ccbb8)),Se(0x2,_0x2afc3f(_0x1f628c))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function bi(_0x29a0a3,_0x1bba3b){const _0x3b23ba=_0x5e9d2a;let {radius:_0x297079,width:_0x4c1779,height:_0x5f284c}=_0x1bba3b;_0x297079=_0x297079!=null?_0x297079:0x0,_0x4c1779=_0x4c1779!=null?_0x4c1779:0x1e,_0x5f284c=_0x5f284c!=null?_0x5f284c:0x1e;let _0x5387e4=0x0,_0x42c82e=0x0,_0x28840a=0x0;_0x5387e4=_0x42c82e=_0x28840a=Math[_0x3b23ba(0x163)](_0x297079,_0x4c1779/0x2,_0x5f284c/0x2),_0x29a0a3[_0x3b23ba(0x14d)](),_0x29a0a3[_0x3b23ba(0x254)](_0x5387e4,0x0),_0x29a0a3['lineTo'](_0x4c1779-_0x42c82e,0x0),_0x29a0a3[_0x3b23ba(0x27d)](_0x4c1779-_0x42c82e,_0x42c82e,_0x42c82e,Math['PI']*0x3/0x2,0x0,!0x1),_0x29a0a3['lineTo'](_0x4c1779,_0x5f284c-_0x28840a),_0x29a0a3[_0x3b23ba(0x27d)](_0x4c1779-_0x28840a,_0x5f284c-_0x28840a,_0x28840a,0x0,Math['PI']/0x2,!0x1),_0x29a0a3[_0x3b23ba(0x13b)](0x0,_0x5f284c),_0x29a0a3[_0x3b23ba(0x13b)](0x0,_0x5387e4),_0x29a0a3[_0x3b23ba(0x27d)](_0x5387e4,_0x5387e4,_0x5387e4,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x29a0a3[_0x3b23ba(0x19d)](),_0x1bba3b[_0x3b23ba(0x271)]&&(_0x29a0a3[_0x3b23ba(0x224)](),_0x29a0a3[_0x3b23ba(0x121)]=_0x1bba3b['fill'],_0x1bba3b[_0x3b23ba(0x22b)]===_0x3b23ba(0x1a8)?_0x29a0a3[_0x3b23ba(0x271)](_0x3b23ba(0x1a8)):_0x29a0a3[_0x3b23ba(0x271)](),_0x29a0a3[_0x3b23ba(0xae)]());}class he extends _0x501a18{constructor(_0x19c384,_0x3f35d1){const _0x95fdc2=_0x5e9d2a;super(_0x19c384,_0x3f35d1),_(this,'color'),_(this,_0x95fdc2(0x27b)),(this[_0x95fdc2(0x181)]=_0x3f35d1==null?void 0x0:_0x3f35d1[_0x95fdc2(0x181)],this['text']=_0x3f35d1==null?void 0x0:_0x3f35d1[_0x95fdc2(0x27b)]);}static['drawWith'](_0x1bf7f7,_0x431f60){const _0x34818e=_0x5e9d2a,{text:_0x1bee1d,color:_0x502e7b}=_0x431f60;_0x1bf7f7[_0x34818e(0x224)](),_0x1bf7f7[_0x34818e(0x205)]=_0x34818e(0x1b3);const _0x481ff0=_0x1bf7f7[_0x34818e(0x1e7)](_0x1bee1d)[_0x34818e(0x1c9)],_0x3c38aa=Math[_0x34818e(0x163)](_0x481ff0+0x2*me,Qe);bi(_0x1bf7f7,{'height':ee,'radius':0x4,'width':_0x3c38aa,'fill':_0x502e7b}),_0x1bf7f7['fillStyle']=_0x34818e(0xe8);const _0xfefdf6=me,_0x3949f5=ee-Ei,_0x2f7155=Qe-0x2*me;if(_0x481ff0>_0x2f7155){let _0x2136a5='',_0x130b25=0x0;for(const _0x3f88a2 of _0x1bee1d){const _0x43a337=_0x1bf7f7[_0x34818e(0x1e7)](_0x3f88a2)[_0x34818e(0x1c9)];if(_0x130b25+_0x43a337<=_0x2f7155-_0x1bf7f7[_0x34818e(0x1e7)]('...')['width'])_0x2136a5+=_0x3f88a2,_0x130b25+=_0x43a337;else{_0x2136a5+=_0x34818e(0x185);break;}}_0x1bf7f7['fillText'](_0x2136a5,_0xfefdf6,_0x3949f5);}else _0x1bf7f7['fillText'](_0x1bee1d,_0xfefdf6,_0x3949f5);_0x1bf7f7['restore']();}[_0x5e9d2a(0x1b0)](_0x298ddd){const _0x1b90cf=_0x5e9d2a;he[_0x1b90cf(0x1b1)](_0x298ddd,this);}}const ge=_0x5e9d2a(0x1da),Oi=_0x5e9d2a(0x125),Ti='collab-rect-range-',X=0x6,Ri=1.5,ve=0x4,Di=1.5,Ni='rgba(255,\x20255,\x20255,\x200.01)';class qe{constructor(_0x30641a,_0x4216d5,_0x418549,_0x412676){const _0xb5d2d3=_0x5e9d2a;_(this,_0xb5d2d3(0x200),[]),_(this,_0xb5d2d3(0x1e8),null),_(this,_0xb5d2d3(0x1db),null),_(this,_0xb5d2d3(0x1ec),null),_(this,_0xb5d2d3(0x247),null),_(this,'_eventUnsubscribe',null),(this[_0xb5d2d3(0xa2)]=_0x30641a,this[_0xb5d2d3(0x126)]=_0x4216d5,this['_docSkeleton']=_0x418549,this['_document']=_0x412676,this[_0xb5d2d3(0x21a)]());}set[_0x5e9d2a(0x137)](_0x3ecaf5){const _0x4e3c45=_0x5e9d2a;_0x3ecaf5?(this['_anchorDot']&&this[_0x4e3c45(0x1ec)][_0x4e3c45(0x11a)](),this[_0x4e3c45(0x1db)]&&this[_0x4e3c45(0x1db)][_0x4e3c45(0x94)]()):(this['_anchorDot']&&this[_0x4e3c45(0x1ec)][_0x4e3c45(0x94)](),this[_0x4e3c45(0x1db)]&&this[_0x4e3c45(0x1db)][_0x4e3c45(0x11a)]());}[_0x5e9d2a(0x17a)](){const _0x324d5b=_0x5e9d2a;for(const _0x5d1195 of this['_shapes'])_0x5d1195[_0x324d5b(0x17a)]();this[_0x324d5b(0x1db)]&&this[_0x324d5b(0x1db)][_0x324d5b(0x17a)](),this['_anchorDot']&&this[_0x324d5b(0x1ec)][_0x324d5b(0x17a)](),this[_0x324d5b(0x1e8)]&&this[_0x324d5b(0x1e8)]['dispose'](),this['_eventUnsubscribe']&&this[_0x324d5b(0x272)]();}[_0x5e9d2a(0x21a)](){const _0x42d8d2=_0x5e9d2a;var _0x1e224f;const {_docSkeleton:_0x11a17a,_document:_0x487357}=this,{color:_0x19d473,name:_0x41a9f3,ranges:_0x4b3d76}=this['_cursor'],_0x3b513a=_0x487357[_0x42d8d2(0xd8)](),{docsLeft:_0x41d7fb,docsTop:_0x5d7703}=_0x3b513a,_0xebb8e7=new _0x18cbcc(_0x3b513a,_0x11a17a);for(const {startOffset:_0x72e3b5,endOffset:_0x305f33,rangeType:_0x56f85a,segmentId:_0x3c1f18,segmentPage:_0x210e13,collapsed:_0x401c30,isActive:_0x4d1d39}of _0x4b3d76){const _0x1bea28=_0x11a17a[_0x42d8d2(0x1c6)](_0x72e3b5,!0x0,_0x3c1f18,_0x210e13);let _0x70e1fd=_0x11a17a['findNodePositionByCharIndex'](_0x305f33,!0x0,_0x3c1f18,_0x210e13);if(_0x70e1fd==null&&(_0x70e1fd=_0x11a17a['findNodePositionByCharIndex'](_0x305f33-0x1,!0x1,_0x3c1f18,_0x210e13)),_0x4d1d39){const {contentBoxPointGroup:_0x21a47e}=_0xebb8e7[_0x42d8d2(0x12b)](_0x70e1fd,_0x70e1fd);if(_0x21a47e['length']===0x0)continue;this[_0x42d8d2(0x242)](_0x19d473,_0x21a47e,_0x41d7fb,_0x5d7703,_0x41a9f3),this[_0x42d8d2(0x272)]=this['_handleHover']();}if(_0x1bea28&&_0x70e1fd){if(_0x56f85a===_0x125039[_0x42d8d2(0x262)]){const _0x5d682c=new _0x50be1a(_0x3b513a,_0x11a17a),{pointGroup:_0xcfc2ab}=(_0x1e224f=_0x5d682c[_0x42d8d2(0x12b)](_0x1bea28,_0x70e1fd))!=null?_0x1e224f:{};if(_0xcfc2ab==null||_0xcfc2ab[_0x42d8d2(0x26f)]===0x0)continue;this['_drawRectRange'](_0x19d473,_0xcfc2ab,_0x41d7fb,_0x5d7703);}else{if(!_0x401c30){const {borderBoxPointGroup:_0x12b533}=_0xebb8e7[_0x42d8d2(0x12b)](_0x1bea28,_0x70e1fd);if(_0x12b533['length']===0x0)continue;this[_0x42d8d2(0x12a)](_0x19d473,_0x12b533,_0x41d7fb,_0x5d7703);}}}}}[_0x5e9d2a(0x242)](_0x2b0764,_0x516727,_0x35fab6,_0x4c99c0,_0x248e55){const _0x2d605c=_0x5e9d2a,_0x29e962=this[_0x2d605c(0x243)](_0x516727),{left:_0x218855,top:_0xcf744e,height:_0x26df82}=_0x29e962,_0x5129e4=this['_getScale'](),_0x908965=Di/_0x5129e4,_0x373119=new _0x4b74cd(ge+_0x1cd6f0[_0x2d605c(0x1c1)](X),{'left':_0x218855+_0x35fab6-_0x908965,'top':_0xcf744e+_0x4c99c0,'height':_0x26df82,'width':Ri,'fill':_0x2b0764||_0x1b013d(_0x246b1b['black'],0x0),'strokeWidth':_0x908965,'stroke':Ni,'evented':!0x0});this[_0x2d605c(0x1e8)]=_0x373119,this[_0x2d605c(0x126)][_0x2d605c(0x16e)](_0x373119,_0x52c651);const _0x1bf0bd=new _0x4b74cd(ge+_0x1cd6f0['generateRandomId'](X),{'left':_0x218855+_0x35fab6-_0x908965,'top':_0xcf744e+_0x4c99c0-ve/0x2,'height':ve,'width':ve,'fill':_0x2b0764||_0x1b013d(_0x246b1b[_0x2d605c(0x237)],0x0),'strokeWidth':0x0,'stroke':_0x2b0764||_0x1b013d(_0x246b1b[_0x2d605c(0x237)],0x0),'evented':!0x1});this[_0x2d605c(0x1ec)]=_0x1bf0bd,this[_0x2d605c(0x126)][_0x2d605c(0x16e)](_0x1bf0bd,_0x52c651);const _0x65b278=new he(ge+_0x1cd6f0[_0x2d605c(0x1c1)](X),{'left':_0x218855+_0x35fab6-_0x908965,'top':_0xcf744e+_0x4c99c0-ee,'text':_0x248e55,'color':_0x2b0764});this[_0x2d605c(0x1db)]=_0x65b278,this[_0x2d605c(0x126)][_0x2d605c(0x16e)](_0x65b278,_0x52c651),this[_0x2d605c(0x137)]=!0x1;}[_0x5e9d2a(0x1de)](){const _0x1da60a=_0x5e9d2a,_0x49a3e8=this['_anchor'][_0x1da60a(0x14f)][_0x1da60a(0x1f2)](()=>{const _0x3be921=_0x1da60a;this[_0x3be921(0x137)]=!0x0;}),_0x43ad57=this['_anchor'][_0x1da60a(0x1a1)][_0x1da60a(0x1f2)](()=>{const _0x232643=_0x1da60a;this[_0x232643(0x247)]&&clearTimeout(this['_hideTimer']),this[_0x232643(0x247)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x768ee8=_0x1da60a;_0x49a3e8['unsubscribe'](),_0x43ad57[_0x768ee8(0xcd)]();};}[_0x5e9d2a(0x12a)](_0x3863e0,_0x2272d7,_0x46d1ff,_0x35ebf9){const _0x51067a=_0x5e9d2a,_0x2c9356=new _0x1b1612(_0x3863e0)[_0x51067a(0x1e4)](0.2)[_0x51067a(0x93)](),_0x396b0a=new _0x1b5dc2(Oi+_0x1cd6f0[_0x51067a(0x1c1)](X),{'pointsGroup':_0x2272d7,'fill':_0x2c9356||_0x1b013d(_0x246b1b[_0x51067a(0x237)],0.2),'left':_0x46d1ff,'top':_0x35ebf9,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x51067a(0x200)][_0x51067a(0xb9)](_0x396b0a),this[_0x51067a(0x126)][_0x51067a(0x16e)](_0x396b0a,_0x52c651);}[_0x5e9d2a(0x1a4)](_0x25a746,_0x1210d3,_0x4449c4,_0x29a3fc){const _0x365dc1=_0x5e9d2a,_0x334d23=new _0x1b1612(_0x25a746)[_0x365dc1(0x1e4)](0.2)[_0x365dc1(0x93)](),_0x41cb8f=new _0x1b5dc2(Ti+_0x1cd6f0[_0x365dc1(0x1c1)](X),{'pointsGroup':_0x1210d3,'fill':_0x334d23||_0x1b013d(_0x246b1b[_0x365dc1(0x237)],0.2),'left':_0x4449c4,'top':_0x29a3fc,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x365dc1(0xb9)](_0x41cb8f),this[_0x365dc1(0x126)]['addObject'](_0x41cb8f,_0x52c651);}[_0x5e9d2a(0x243)](_0x4db347){const _0x5b18ec=_0x4db347[0x0],_0x2e6dbe=_0x5b18ec[0x0],_0x11fda5=_0x5b18ec[0x2],{x:_0x1e0ea0,y:_0x3db786}=_0x2e6dbe,{x:_0x13f3ea,y:_0x4727bd}=_0x11fda5;return{'left':_0x1e0ea0,'top':_0x3db786,'width':_0x13f3ea-_0x1e0ea0,'height':_0x4727bd-_0x3db786};}[_0x5e9d2a(0x13c)](){const _0x1c20b1=_0x5e9d2a,{scaleX:_0x28d580,scaleY:_0x1c44ff}=this[_0x1c20b1(0x126)][_0x1c20b1(0xdc)]();return Math[_0x1c20b1(0x1fc)](_0x28d580,_0x1c44ff);}}var Ui=Object[_0x5e9d2a(0x101)],Mi=(_0x2b866f,_0x19262c,_0xf99f0d,_0x54ad26)=>{const _0x259f9a=_0x5e9d2a;for(var _0x1669fc=_0x54ad26>0x1?void 0x0:_0x54ad26?Ui(_0x19262c,_0xf99f0d):_0x19262c,_0xb35030=_0x2b866f[_0x259f9a(0x26f)]-0x1,_0x2ead8a;_0xb35030>=0x0;_0xb35030--)(_0x2ead8a=_0x2b866f[_0xb35030])&&(_0x1669fc=_0x2ead8a(_0x1669fc)||_0x1669fc);return _0x1669fc;},Z=(_0x17b580,_0x5a27c1)=>(_0x3f4757,_0x2fb328)=>_0x5a27c1(_0x3f4757,_0x2fb328,_0x17b580);let Pe=class extends _0x21dcc4{constructor(_0x553bc3,_0x473d8c,_0x5ec8ab,_0x561b66,_0x19e608){const _0x1f92b0=_0x5e9d2a;super(),_(this,'_cursorShapes',[]),_(this,_0x1f92b0(0xec),[]),(this[_0x1f92b0(0x24e)]=_0x553bc3,this[_0x1f92b0(0x208)]=_0x473d8c,this[_0x1f92b0(0x274)]=_0x5ec8ab,this[_0x1f92b0(0x154)]=_0x561b66,this[_0x1f92b0(0x135)]=_0x19e608,this['_init']());}[_0x5e9d2a(0x136)](){const _0x2c4764=_0x5e9d2a,_0x2f985e=this[_0x2c4764(0x24e)][_0x2c4764(0x10d)],_0x1525b1=this[_0x2c4764(0x208)];this[_0x2c4764(0xf6)](_0x43605d([this[_0x2c4764(0x274)]['getCollabCursors$'](_0x2f985e),this['_themeService']['currentTheme$']])['pipe'](_0x317f64(([_0x2997a3,_0xc135aa])=>({'skeleton':_0x1525b1[_0x2c4764(0x127)](),'cursors':[..._0x2997a3[_0x2c4764(0x10a)]()][_0x2c4764(0x25c)](_0x48033b=>({..._0x48033b,'color':_0xc135aa[_0x48033b['color']]}))})))[_0x2c4764(0x25d)](_0x3dc4db=>{const _0x136299=_0x2c4764;if(this[_0x136299(0x246)](),_0x3dc4db){const {skeleton:_0x1bfdfb,cursors:_0x319e5a}=_0x3dc4db;this['_updateCollabCursors'](_0x1bfdfb,_0x319e5a);}})),this[_0x2c4764(0x176)](),this[_0x2c4764(0x1ca)]();}[_0x5e9d2a(0x95)](_0x761d6c,_0x530a15){const _0x50d3d5=_0x5e9d2a,{scene:_0x13937d,mainComponent:_0x123b20}=this['_context'],_0x272070=_0x530a15['map'](_0x3f8158=>new qe(_0x3f8158,_0x13937d,_0x761d6c,_0x123b20));this[_0x50d3d5(0x146)]=_0x272070,this[_0x50d3d5(0xec)]=_0x530a15;}[_0x5e9d2a(0x182)](){const _0x53a42b=_0x5e9d2a;this[_0x53a42b(0x246)]();const {scene:_0x4e7ded,mainComponent:_0x5a615b}=this[_0x53a42b(0x24e)],_0x4aa59e=this['_docSkeletonManagerService'][_0x53a42b(0x127)](),_0x3ce6f9=this['_cursors'][_0x53a42b(0x1a9)](_0x9d482d=>new qe(_0x9d482d,_0x4e7ded,_0x4aa59e,_0x5a615b));this[_0x53a42b(0x146)]=_0x3ce6f9;}[_0x5e9d2a(0x246)](){const _0x8cf99a=_0x5e9d2a;this[_0x8cf99a(0x146)][_0x8cf99a(0x281)](_0x22f26c=>_0x22f26c['dispose']()),this[_0x8cf99a(0x146)]=[];}[_0x5e9d2a(0x1ca)](){const _0x20ff24=_0x5e9d2a,_0x23bc6f=[_0x1995a1['id']];this[_0x20ff24(0xf6)](this['_commandService'][_0x20ff24(0xd9)](_0x1976fd=>{const _0x2526b5=_0x20ff24;_0x23bc6f[_0x2526b5(0x279)](_0x1976fd['id'])&&_0x1976fd['params']['unitId']===this[_0x2526b5(0x24e)][_0x2526b5(0x10d)]&&this[_0x2526b5(0x182)]();}));}[_0x5e9d2a(0x176)](){const _0x190c8a=_0x5e9d2a;this[_0x190c8a(0xf6)](_0x38897a(this['_context'][_0x190c8a(0x15f)]['onTransformChange$'])[_0x190c8a(0x1f7)](_0x3bce79(_0x506b5a=>_0x506b5a[_0x190c8a(0xd5)]===_0x5081f1['resize']),_0x4093be(0x10))[_0x190c8a(0x25d)](()=>{const _0xee6f12=_0x190c8a;this[_0xee6f12(0x182)]();}));}};Pe=Mi([Z(0x1,_0x2afc3f(_0x58a93a)),Z(0x2,_0x2afc3f(H)),Z(0x3,_0x334d0c),Z(0x4,_0x2afc3f(_0xfa9357))],Pe);const Pi=0x1,wi=1.5;class Li extends _0x501a18{constructor(_0x488383,_0x414bfe){const _0x52e965=_0x5e9d2a;super(_0x488383,_0x414bfe),_(this,_0x52e965(0x213)),_(this,_0x52e965(0xca),!0x1),_(this,'_range'),_(this,'_name',''),_(this,_0x52e965(0x122),'top'),_(this,_0x52e965(0xeb)),(_0x414bfe&&this[_0x52e965(0x106)](_0x414bfe),this[_0x52e965(0x14f)][_0x52e965(0x1f2)](()=>this[_0x52e965(0x106)]({'hovered':!0x0})),this[_0x52e965(0x1a1)][_0x52e965(0x1f2)](()=>this[_0x52e965(0x106)]({'hovered':!0x1})));}[_0x5e9d2a(0x106)](_0x8da007){const _0x4bfdbf=_0x5e9d2a;var _0x304fb2,_0x3489fe,_0x1c0c3f,_0x52b581,_0x1e030f,_0x29df93;this[_0x4bfdbf(0x213)]=(_0x304fb2=_0x8da007[_0x4bfdbf(0x181)])!=null?_0x304fb2:this[_0x4bfdbf(0x213)],this[_0x4bfdbf(0xca)]=(_0x3489fe=_0x8da007[_0x4bfdbf(0x11b)])!=null?_0x3489fe:this[_0x4bfdbf(0xca)],this[_0x4bfdbf(0x9e)]=(_0x1c0c3f=_0x8da007['range'])!=null?_0x1c0c3f:this[_0x4bfdbf(0x9e)],this[_0x4bfdbf(0x140)]=(_0x52b581=_0x8da007[_0x4bfdbf(0xdf)])!=null?_0x52b581:this[_0x4bfdbf(0x140)],this[_0x4bfdbf(0x122)]=(_0x1e030f=_0x8da007['labelPosition'])!=null?_0x1e030f:this[_0x4bfdbf(0x122)],this[_0x4bfdbf(0xeb)]=(_0x29df93=_0x8da007[_0x4bfdbf(0x10e)])!=null?_0x29df93:this[_0x4bfdbf(0xeb)],this[_0x4bfdbf(0x103)]({'width':_0x8da007['width'],'height':_0x8da007[_0x4bfdbf(0x9b)]});}['onMouseMove'](_0x55488b){const _0x3cdbc4=_0x5e9d2a,{row:_0x129224,column:_0x3f4590}=_0x55488b;if(_0x129224>=this[_0x3cdbc4(0x9e)][_0x3cdbc4(0x1c3)]&&_0x129224<=this[_0x3cdbc4(0x9e)]['endRow']&&_0x3f4590>=this[_0x3cdbc4(0x9e)][_0x3cdbc4(0x169)]&&_0x3f4590<=this[_0x3cdbc4(0x9e)][_0x3cdbc4(0xfc)]){this[_0x3cdbc4(0x106)]({'hovered':!0x0});return;}this[_0x3cdbc4(0x106)]({'hovered':!0x1});}[_0x5e9d2a(0x270)](_0x551e4e){return!0x1;}[_0x5e9d2a(0x1b0)](_0x4daa44){const _0x4ec63d=_0x5e9d2a;_0x4b74cd[_0x4ec63d(0x1b1)](_0x4daa44,{'width':this[_0x4ec63d(0x1c9)],'height':this['height'],'strokeWidth':wi,'stroke':this[_0x4ec63d(0x213)],'evented':!0x1,'fill':this[_0x4ec63d(0xeb)]}),this[_0x4ec63d(0xca)]&&(_0x4daa44[_0x4ec63d(0x224)](),_0x4daa44['transform'](0x1,0x0,0x0,0x1,this[_0x4ec63d(0x1c9)],this[_0x4ec63d(0x122)]===_0x4ec63d(0x1fe)?0x0:-0x14),he[_0x4ec63d(0x1b1)](_0x4daa44,{'text':this[_0x4ec63d(0x140)],'color':this['_color']}),_0x4daa44[_0x4ec63d(0xae)]());}}var Ai=Object[_0x5e9d2a(0x101)],yi=(_0x1541a0,_0x966db8,_0x33e792,_0x17aa1a)=>{for(var _0x37df14=_0x17aa1a>0x1?void 0x0:_0x17aa1a?Ai(_0x966db8,_0x33e792):_0x966db8,_0x15cab9=_0x1541a0['length']-0x1,_0x8d3c4a;_0x15cab9>=0x0;_0x15cab9--)(_0x8d3c4a=_0x1541a0[_0x15cab9])&&(_0x37df14=_0x8d3c4a(_0x37df14)||_0x37df14);return _0x37df14;},Ie=(_0x302469,_0x428de4)=>(_0x565371,_0x4576e6)=>_0x428de4(_0x565371,_0x4576e6,_0x302469);function _0x232c(_0x347753,_0x4f4115){const _0x25ef78=_0x25ef();return _0x232c=function(_0x232c5e,_0x1d85eb){_0x232c5e=_0x232c5e-0x80;let _0x1bed9e=_0x25ef78[_0x232c5e];return _0x1bed9e;},_0x232c(_0x347753,_0x4f4115);}const $i=0x1389;let we=class extends _0x21dcc4{constructor(_0x203062,_0x54ba08,_0x305384,_0x3c2873){const _0x575f87=_0x5e9d2a;super(),_(this,_0x575f87(0xec),new Set()),_(this,_0x575f87(0xa0),null),(this[_0x575f87(0x24e)]=_0x203062,this[_0x575f87(0xf5)]=_0x54ba08,this[_0x575f87(0x274)]=_0x305384,this['_themeService']=_0x3c2873,this[_0x575f87(0x136)]());}[_0x5e9d2a(0x136)](){const _0x421768=_0x5e9d2a;this[_0x421768(0xf5)][_0x421768(0x172)][_0x421768(0x1f7)](_0x2c9e00(this[_0x421768(0x25b)]),_0x2d4d5e(_0x20daea=>{const _0x332ea7=_0x421768;if(_0x20daea){const _0x3eb0fc=_0x20daea[_0x332ea7(0x1f1)];return _0x43605d(this[_0x332ea7(0x274)]['getCollabCursors$'](this['_context'][_0x332ea7(0x10d)]),this['_themeService'][_0x332ea7(0x1ad)])['pipe'](_0x317f64(([_0x583329,_0x171eb9])=>{const _0xb81ecc=_0x332ea7,_0xc1bf18=new Map();return _0x583329[_0xb81ecc(0x281)]((_0x5a97a6,_0x55fe85)=>{const _0x208744=_0xb81ecc;if(_0x5a97a6['sheetID']===_0x3eb0fc){const _0x1fdf42={..._0x5a97a6};_0x1fdf42[_0x208744(0x181)]=_0x171eb9[_0x5a97a6[_0x208744(0x181)]],_0xc1bf18[_0x208744(0x138)](_0x55fe85,_0x1fdf42);}}),{'skeleton':_0x20daea,'cursors':_0xc1bf18};}));}return _0x261b16({'skeleton':null,'cursors':new Map()});}))[_0x421768(0x25d)](({skeleton:_0x521a37,cursors:_0x87a785})=>{const _0x5849da=_0x421768;this['_removeCollabCursors'](),_0x521a37&&this[_0x5849da(0x95)](_0x521a37,_0x87a785);}),this[_0x421768(0xf5)]['currentSkeleton$'][_0x421768(0x25d)](_0x506ef4=>{const _0x4e7a19=_0x421768;if(_0x506ef4==null)return;const {skeleton:_0x368f2c}=_0x506ef4,{scene:_0x2c1918}=this[_0x4e7a19(0x24e)];_0x2c1918[_0x4e7a19(0x252)][_0x4e7a19(0x1f2)](_0x824db9(_0x22f18a=>{const _0x148cf9=_0x4e7a19;var _0x169fa6,_0x2d44c3;const {offsetX:_0x130f89,offsetY:_0x2af03f}=_0x22f18a,{x:_0x50f630,y:_0x40e343}=_0x2c1918[_0x148cf9(0x209)](_0x115866[_0x148cf9(0x18f)]([_0x130f89,_0x2af03f])),{scaleX:_0x39bfc4,scaleY:_0x5b47ec}=_0x2c1918['getAncestorScale'](),_0x581dfd=_0x2c1918[_0x148cf9(0x15d)](_0x71d1a5[_0x148cf9(0x105)]),_0x4195ba=_0x2c1918['getVpScrollXYInfoByPosToVp'](_0x115866[_0x148cf9(0x18f)]([_0x50f630,_0x40e343]),_0x581dfd),_0x41915d=_0x368f2c[_0x148cf9(0x107)](_0x130f89,_0x2af03f,_0x39bfc4,_0x5b47ec,_0x4195ba);((_0x169fa6=this[_0x148cf9(0xa0)])==null?void 0x0:_0x169fa6[_0x148cf9(0x16f)])===_0x41915d[_0x148cf9(0x16f)]&&((_0x2d44c3=this[_0x148cf9(0xa0)])==null?void 0x0:_0x2d44c3['row'])===_0x41915d[_0x148cf9(0x214)]||this[_0x148cf9(0xec)]['forEach'](_0xd32ad3=>{_0xd32ad3['onMouseMove'](_0x41915d);});},0x64));});}[_0x5e9d2a(0x95)](_0x502284,_0x4df830){const _0xc78b20=_0x5e9d2a;var _0x263b9d;const _0x3eb266=(_0x263b9d=this['_sheetSkeletonManagerService'][_0xc78b20(0x219)]())==null?void 0x0:_0x263b9d[_0xc78b20(0x1ed)];if(!_0x3eb266)return;const _0x1a1890=this['_getSheetObject']();if(!_0x1a1890)return;this[_0xc78b20(0xec)][_0xc78b20(0x281)](_0x4e4880=>{const _0x1702d7=_0xc78b20;_0x4e4880[_0x1702d7(0xf7)]();});const {scene:_0x3415fd}=_0x1a1890,_0x2c64e2=xi(Array[_0xc78b20(0x87)](_0x4df830['values']()))[_0xc78b20(0x1a9)](_0x17a68e=>{const _0x266dd3=_0xc78b20,{color:_0xa172f0,range:_0x35663b,name:_0x5c04e6,selection:_0x2afec1,sheetID:_0x193e87}=_0x17a68e,{startColumn:_0x4753a6,startRow:_0xfdb5e9,endColumn:_0x3ad8d1,endRow:_0x1c4b0e}=_0x35663b,_0x228112=_0x26e36d(_0xfdb5e9,_0x4753a6,_0x3415fd,_0x3eb266),_0x1fd330=_0x26e36d(_0x1c4b0e,_0x3ad8d1,_0x3415fd,_0x3eb266),{columnHeaderHeightAndMarginTop:_0x53a5f0}=_0x3eb266,{startX:_0x2089fb,startY:_0x412c29}=_0x228112,{endX:_0x45934d,endY:_0x467233}=_0x1fd330,_0x543f92=_0x45934d-_0x2089fb,_0x15be74=_0x467233-_0x412c29,_0xe0658={'labelPosition':_0x412c29-_0x53a5f0>=ee?_0x266dd3(0xaf):_0x266dd3(0x1fe),'sheetID':_0x193e87,'range':_0x35663b,'color':_0xa172f0,'name':_0x5c04e6,'selection':_0x2afec1,'left':_0x2089fb,'top':_0x412c29,'width':_0x543f92,'height':_0x15be74,'evented':!0x1,'zIndex':$i};return new Li(_0x5c04e6,_0xe0658);});_0x3415fd['addObjects'](_0x2c64e2,Pi),this[_0xc78b20(0xec)]=new Set(_0x2c64e2);}[_0x5e9d2a(0x246)](){const _0x3d912b=_0x5e9d2a;var _0x377185;(_0x377185=this[_0x3d912b(0xec)])==null||_0x377185[_0x3d912b(0x281)](_0xcf8be6=>_0xcf8be6[_0x3d912b(0x17a)]());}[_0x5e9d2a(0x9a)](){const _0x1dd92c=_0x5e9d2a;return _0x569a41(this[_0x1dd92c(0x24e)][_0x1dd92c(0x1f9)],this['_context']);}};we=yi([Ie(0x1,_0x2afc3f(_0x20dec5)),Ie(0x2,_0x2afc3f(H)),Ie(0x3,_0x2afc3f(_0xfa9357))],we);function xi(_0x18e602){const _0x3895fa=_0x5e9d2a,_0xe3e8b=new Map();return _0x18e602[_0x3895fa(0x281)](_0x52bb89=>{const _0x120ee0=_0x3895fa;if(_0xe3e8b[_0x120ee0(0x225)](_0x52bb89[_0x120ee0(0x25a)])){const _0x1f0892=_0xe3e8b[_0x120ee0(0x88)](_0x52bb89[_0x120ee0(0x25a)]);_0x1f0892[_0x120ee0(0xdf)]+=',\x20'+_0x52bb89['name'];}else _0xe3e8b[_0x120ee0(0x138)](_0x52bb89[_0x120ee0(0x25a)],_0x52bb89);}),Array[_0x3895fa(0x87)](_0xe3e8b[_0x3895fa(0x10a)]());}var I=function(){return I=Object['assign']||function(_0x42fcd4){const _0x2da764=_0x232c;for(var _0x9f6ba3,_0x3575eb=0x1,_0x10c202=arguments[_0x2da764(0x26f)];_0x3575eb<_0x10c202;_0x3575eb++){_0x9f6ba3=arguments[_0x3575eb];for(var _0x1e34c8 in _0x9f6ba3)Object[_0x2da764(0xff)][_0x2da764(0xd2)][_0x2da764(0xfe)](_0x9f6ba3,_0x1e34c8)&&(_0x42fcd4[_0x1e34c8]=_0x9f6ba3[_0x1e34c8]);}return _0x42fcd4;},I['apply'](this,arguments);},Bi=function(_0x1ede54,_0x2eabb8){const _0x26b8be=_0x5e9d2a;var _0x32177d={};for(var _0x3dfcdd in _0x1ede54)Object[_0x26b8be(0xff)]['hasOwnProperty'][_0x26b8be(0xfe)](_0x1ede54,_0x3dfcdd)&&_0x2eabb8[_0x26b8be(0x80)](_0x3dfcdd)<0x0&&(_0x32177d[_0x3dfcdd]=_0x1ede54[_0x3dfcdd]);if(_0x1ede54!=null&&typeof Object[_0x26b8be(0x13f)]==_0x26b8be(0x1be)){for(var _0x261aeb=0x0,_0x3dfcdd=Object[_0x26b8be(0x13f)](_0x1ede54);_0x261aeb<_0x3dfcdd[_0x26b8be(0x26f)];_0x261aeb++)_0x2eabb8[_0x26b8be(0x80)](_0x3dfcdd[_0x261aeb])<0x0&&Object[_0x26b8be(0xff)][_0x26b8be(0x258)][_0x26b8be(0xfe)](_0x1ede54,_0x3dfcdd[_0x261aeb])&&(_0x32177d[_0x3dfcdd[_0x261aeb]]=_0x1ede54[_0x3dfcdd[_0x261aeb]]);}return _0x32177d;},je=_0x239842(function(_0x23bd40,_0x1a5780){const _0x57e778=_0x5e9d2a;var _0x13f31f=_0x23bd40[_0x57e778(0x10c)],_0x4c5916=_0x23bd40['id'],_0x3ac454=_0x23bd40[_0x57e778(0x97)],_0x5cf790=_0x23bd40['extend'],_0x2f8c4c=Bi(_0x23bd40,['icon','id',_0x57e778(0x97),_0x57e778(0x1cd)]),_0x3ac95e=_0x57e778(0xb7)[_0x57e778(0x192)](_0x4c5916,'\x20')[_0x57e778(0x192)](_0x3ac454||'')[_0x57e778(0x1c7)](),_0x40a976=_0x108310('_'[_0x57e778(0x192)](ji()));return Rt(_0x13f31f,''[_0x57e778(0x192)](_0x4c5916),{'defIds':_0x13f31f[_0x57e778(0x19a)],'idSuffix':_0x40a976[_0x57e778(0x23c)]},I({'ref':_0x1a5780,'className':_0x3ac95e},_0x2f8c4c),_0x5cf790);});function Rt(_0x33cd3b,_0x2ad661,_0x414015,_0x5f06ff,_0x1ec360){const _0x2151ba=_0x5e9d2a;return _0x276974(_0x33cd3b['tag'],I(I({'key':_0x2ad661},ki(_0x33cd3b,_0x414015,_0x1ec360)),_0x5f06ff),(Hi(_0x33cd3b,_0x414015)[_0x2151ba(0x1cc)]||[])[_0x2151ba(0x1a9)](function(_0x38fa7e,_0x1a04f8){const _0xa1cad7=_0x2151ba;return Rt(_0x38fa7e,''['concat'](_0x2ad661,'-')['concat'](_0x33cd3b[_0xa1cad7(0x159)],'-')[_0xa1cad7(0x192)](_0x1a04f8),_0x414015,void 0x0,_0x1ec360);}));}function ki(_0x487420,_0x31ca30,_0x504392){const _0x2133ce=_0x5e9d2a;var _0x584645=I({},_0x487420['attrs']);_0x504392!=null&&_0x504392[_0x2133ce(0xbc)]&&_0x584645[_0x2133ce(0x271)]==='colorChannel1'&&(_0x584645[_0x2133ce(0x271)]=_0x504392[_0x2133ce(0xbc)]),_0x487420[_0x2133ce(0x159)]===_0x2133ce(0x1ac)&&_0x584645['id']&&(_0x584645['id']=_0x584645['id']+_0x31ca30[_0x2133ce(0x1b6)]),Object[_0x2133ce(0x223)](_0x584645)[_0x2133ce(0x281)](function(_0x56ba62){const _0x242b7e=_0x2133ce;var _0x3e6c3a=_0x56ba62[0x0],_0x326d14=_0x56ba62[0x1];_0x3e6c3a===_0x242b7e(0x1ac)&&typeof _0x326d14==_0x242b7e(0x1a3)&&(_0x584645[_0x3e6c3a]=_0x326d14['replace'](/url\(#(.*)\)/,_0x242b7e(0xb1)[_0x242b7e(0x192)](_0x31ca30[_0x242b7e(0x1b6)],')')));});var _0x3920d2=_0x31ca30[_0x2133ce(0x19a)];return!_0x3920d2||_0x3920d2[_0x2133ce(0x26f)]===0x0||(_0x487420[_0x2133ce(0x159)]===_0x2133ce(0xdb)&&_0x584645[_0x2133ce(0x96)]&&(_0x584645[_0x2133ce(0x96)]=_0x584645[_0x2133ce(0x96)]+_0x31ca30[_0x2133ce(0x1b6)]),Object[_0x2133ce(0x223)](_0x584645)[_0x2133ce(0x281)](function(_0x2e2c19){const _0x6576d1=_0x2133ce;var _0x2fc2c6=_0x2e2c19[0x0],_0x25be84=_0x2e2c19[0x1];typeof _0x25be84==_0x6576d1(0x1a3)&&(_0x584645[_0x2fc2c6]=_0x25be84['replace'](/url\(#(.*)\)/,_0x6576d1(0xb1)[_0x6576d1(0x192)](_0x31ca30[_0x6576d1(0x1b6)],')')));})),_0x584645;}function Hi(_0x489de4,_0x5b5ce0){const _0x178beb=_0x5e9d2a;var _0x329c90,_0xc43608=_0x5b5ce0[_0x178beb(0x19a)];return!_0xc43608||_0xc43608[_0x178beb(0x26f)]===0x0?_0x489de4:_0x489de4[_0x178beb(0x159)]===_0x178beb(0xc0)&&(!((_0x329c90=_0x489de4[_0x178beb(0x1cc)])===null||_0x329c90===void 0x0)&&_0x329c90[_0x178beb(0x26f)])?I(I({},_0x489de4),{'children':_0x489de4[_0x178beb(0x1cc)][_0x178beb(0x1a9)](function(_0x265f02){const _0x5e16f4=_0x178beb;return typeof _0x265f02[_0x5e16f4(0x218)]['id']=='string'&&_0xc43608&&_0xc43608[_0x5e16f4(0x80)](_0x265f02[_0x5e16f4(0x218)]['id'])>-0x1?I(I({},_0x265f02),{'attrs':I(I({},_0x265f02[_0x5e16f4(0x218)]),{'id':_0x265f02[_0x5e16f4(0x218)]['id']+_0x5b5ce0[_0x5e16f4(0x1b6)]})}):_0x265f02;})}):_0x489de4;}function ji(){const _0x559cfc=_0x5e9d2a;return Math[_0x559cfc(0x196)]()[_0x559cfc(0x109)](0x24)['substring'](0x2,0x8);}je[_0x5e9d2a(0x282)]='UniverIcon';var Wi={'tag':_0x5e9d2a(0x267),'attrs':{'fill':_0x5e9d2a(0x1c4),'viewBox':'0\x200\x2016\x2016','width':_0x5e9d2a(0x177),'height':_0x5e9d2a(0x177)},'children':[{'tag':'g','attrs':{'clipPath':_0x5e9d2a(0xe2)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x5e9d2a(0x25f),'strokeLinecap':_0x5e9d2a(0xbd),'strokeLinejoin':_0x5e9d2a(0xbd),'strokeWidth':1.2}}]},{'tag':_0x5e9d2a(0xc0),'attrs':{},'children':[{'tag':_0x5e9d2a(0xee),'attrs':{'id':_0x5e9d2a(0x12e)},'children':[{'tag':_0x5e9d2a(0x20d),'attrs':{'fill':_0x5e9d2a(0xba),'d':_0x5e9d2a(0xbf)}}]}]}],'defIds':[_0x5e9d2a(0x12e)]},Dt=_0x239842(function(_0x2b19dd,_0x18afe4){const _0x48b77c=_0x5e9d2a;return _0x276974(je,Object['assign']({},_0x2b19dd,{'id':_0x48b77c(0x1a5),'ref':_0x18afe4,'icon':Wi}));});Dt[_0x5e9d2a(0x282)]='OffLineSingle';var Fi={'tag':_0x5e9d2a(0x267),'attrs':{'fill':_0x5e9d2a(0x1c4),'viewBox':_0x5e9d2a(0x256),'width':_0x5e9d2a(0x177),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x5e9d2a(0x20d),'attrs':{'stroke':'currentColor','d':_0x5e9d2a(0x250),'strokeLinecap':_0x5e9d2a(0xbd),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x5e9d2a(0xc0),'attrs':{},'children':[{'tag':_0x5e9d2a(0xee),'attrs':{'id':_0x5e9d2a(0xc7)},'children':[{'tag':'path','attrs':{'fill':_0x5e9d2a(0xba),'d':_0x5e9d2a(0xbf),'transform':_0x5e9d2a(0x166)}}]}]}],'defIds':['on-line-single_clip0_910_349']},Nt=_0x239842(function(_0x43d4fc,_0x39e810){const _0x2ddd8d=_0x5e9d2a;return _0x276974(je,Object['assign']({},_0x43d4fc,{'id':_0x2ddd8d(0x100),'ref':_0x39e810,'icon':Fi}));});Nt['displayName']=_0x5e9d2a(0x124);function Yi(_0x3fbfc9){const _0x4cd749=_0x5e9d2a;switch(_0x3fbfc9){case _0x2bb882[_0x4cd749(0x17d)]:return'collabStatus.offline';case _0x2bb882[_0x4cd749(0xab)]:return _0x4cd749(0x266);case _0x2bb882[_0x4cd749(0x90)]:return _0x4cd749(0x1ba);case _0x2bb882[_0x4cd749(0x14a)]:return'collabStatus.notCollab';case _0x2bb882[_0x4cd749(0x1a0)]:case _0x2bb882[_0x4cd749(0x1cb)]:return _0x4cd749(0x1d6);case _0x2bb882['SYNCED']:case _0x2bb882[_0x4cd749(0x195)]:return _0x4cd749(0x20e);}}function Vi(_0x1078a6){const _0x3a1fcc=_0x5e9d2a,{status$:_0x4e5756}=_0x1078a6,_0x2eafc3=_0x18d5ef(_0x4e5756,_0x2bb882[_0x3a1fcc(0x14a)]),_0x5a1c3d=_0x308a04(_0x17d115),_0x41d2cb=_0x308a04(_0x1f628c),_0x34f328=_0x2eafc3!==_0x2bb882[_0x3a1fcc(0x17d)],_0x9592f2=_0x5a1c3d['t'](Yi(_0x2eafc3)),_0x48a5a5=_0x34f328?_0x1d9f11(Nt,{}):_0x1d9f11(Dt,{}),_0x2a75db=_0x5ccf53(()=>{const _0x4e62a0=_0x3a1fcc;_0x34f328||_0x41d2cb[_0x4e62a0(0x8a)]();},[_0x34f328,_0x41d2cb]);function _0x312d3b(){const _0x2bb37c=_0x3a1fcc;return _0x12afa9(_0x2bb37c(0x183),{'className':_0x2bb37c(0x23e),'onClick':_0x2a75db,'children':[_0x1d9f11('div',{'className':_0x1168ce(_0x2bb37c(0x144),_0x34f328?_0x2bb37c(0x1bf):_0x2bb37c(0x8b)),'children':_0x48a5a5}),_0x1d9f11(_0x2bb37c(0x183),{'className':'univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','children':_0x9592f2})]});}return _0x34f328?_0x312d3b():_0x1d9f11(_0x2518f7,{'title':_0x5a1c3d['t'](_0x3a1fcc(0x86)),'children':_0x312d3b()});}function _0x25ef(){const _0x28ab33=['column','getUnitStatus$','undoState','currentSkeleton$','jiqing500','_collaborationController','collaboration-client.offline-data-not-saved','_initResize','1em','addClipboardHook','debug','dispose','_entities','RemoveColCommandId','OFFLINE','transformMutationsWithChangeset','_clearOtherTimers','collaboration-client-ui.config','color','_refreshCollabCursors','div','stringify','...','_docClipboardService','_updateURLWithCurrentState','_config','_docTransformIMECacheService','runOnServer','1402914ISsLMI','_saveCache','708464YdjnZf','_setupSubUnitSync','FromArray','_initStatusComponent','OTHER_CLIENTS_EDITING','concat','_notificationService','_startSheetCollabCursor','PENDING','random','getSheetBySheetId','transformRemoteChangeset','_registerRenderDependencies','defIds','_selfUnitIDs','error','closePath','OTHER_CLIENT_EDITING','INVALID_ARGUMENT','AWAITING','onPointerLeave$','_status$','string','_drawRectRange','off-line-single','LICENSE_MAX_UNITS_EXCEEDED','roomMembers','evenodd','map','setUndoRedoMutationParamsCache','application/json','mask','currentTheme$','setParam','defineProperty','_draw','drawWith','LOGIN_FAILED','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','size','_docTransformStateCacheService','idSuffix','_revisionService','add','transformSelections','collabStatus.fetchMiss','asObservable','UPDATE_CURSOR','m2Prime','function','univer-text-green-500','key','generateRandomId','_collaborationUIEventService','startRow','none','_collabCursorState$','findNodePositionByCharIndex','trim','getMemberID','width','_initCommandExecutedListener','AWAITING_WITH_PENDING','children','extend','UNDEFINED','unitID','_session','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','EMAIL_HAS_BEEN_BOUND','next','event$','_localeService','collabStatus.syncing','InsertColCommandId','popstate','Failed','collab-text-anchor-','_textBubble','HEADER_MENU','5676849WDKYUZ','_handleHover','with','collaboration.single-unit.warning','cursorInfo','assignAColorForMemberID','_initEntityListener','setAlpha','PY_RUNTIME_SCRIPT_ERROR','m1Prime','measureText','_anchor','_ensureSubject','doc.mutation.rich-text-editing','UNAUTHENTICATED','_anchorDot','skeleton','onStarting','session.connection-failed','redoState','sheetId','subscribeEvent','transformStateCache','_unitOnClients','body','isActive','pipe','_syncEditingCollabCursorService','unit','_uiPartsService','registerRenderModule','max','parse','bottom','_localStorageService','_shapes','MoveRangeCommandId','getUndoRedoMutationParamsCache','addEventListener','_colorIndex','font','subunit','location','_docSkeletonManagerService','getRelativeToViewportCoord','getTypeOfUnitAdded$','href','SOCKET_FAILED','path','collabStatus.synced','getActiveSheet','SUBMIT_CHANGESET_TIMEOUT','isEditing','InsertRangeMoveDownCommandId','_color','row','deepClone','PERMISSION_DENIED','send','attrs','getCurrent','_render','transformIMECache','getCurrentRevOfUnit','permission.title','COMPLETION_FINISHED','loadUnit','post','_configService','editingUnit','entries','save','has','getCollabEntity$','WECHAT_HAS_BEEN_BOUND','_logService','override','red300','fillRule','TEXT','getSheetId','urlChange$','_collabSessionService','transformMutation','APPLY_REJECT','roomMembers$','ranges','_docStateChangeManagerService','_univerInstanceService','find','black','setTimeout','getCurrentSelections','LICENSE_DISTRO_REJECTED','APPLY_NON_SEQUENTIAL_REVISION','current','getMergeData','univer-flex\x20univer-items-center','eventID','_roomMembers$','_initStatusListener','_drawAnchor','_getAnchorBounding','_renderManagerService','code','_removeCollabCursors','_hideTimer','getDocRanges','LICENSE_IMPORT_SIZE_EXCEEDED','12085FhgKNq','clearTimeout','USER_NOT_INVITED_CODE','setConfig','_context','_entityInit$','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','89002HnhkzF','onPointerMove$','searchParams','moveTo','_updateSubUnitFromURLParams','0\x200\x2017\x2016','getValue','propertyIsEnumerable','11315161vikQBW','selection','dispose$','flatMap','subscribe','_urlService','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','[CollaborationDataLoaderController]','_getMergeRange','RECT','_saveTaskMap','replaceState','CONNECTOR_DATA_TOO_LARGE','collabStatus.conflict','svg','ALREADY_EXISTS','_online','UNIVER_DOC','executionId','getParam','getStateCache','registerBeforeClose','length','triggerDblclick','fill','_eventUnsubscribe','APPLY_DUPLICATED','_collabCursorController','getTypeOfUnitDisposed$','3LbWGpm','pushState','onRendered','includes','enableLocalCache','text','focused$','arc','textRanges','pluginName','_docTransformSelectionsService','forEach','displayName','collaboration.closeRoom','then','indexOf','_handleJoinEvent','_registerDependencies','_refRangeService','exhaustSavingTask','UNIVER_SHEET','collab-client.tooltip.reconnect','from','get','_getSessionTicket','reconnect','univer-text-red-500','setItem','_transformPreviousActiveRange','all','range','FETCH_MISS','getUniverSheetInstance','10XQyzMW','toRgbString','show','_updateCollabCursors','xlink:href','className','subUnitId','_localCacheService','_getSheetObject','height','data','_scheduleClearOtherTimer','_range','_cursorInfo$','_lastPointer','CHANGESET_REVISION_CONFILICT','_cursor','getCollabCursors$','SOCKET_FAILED_RETRY','INVITE_CODE_ALREADY_BOUND','removeParam','SNAPSHOT_HAS_BEEN_REMOVED','_doCreateSocket','INTERNAL_ERROR','cursorInfo$','CONFLICT','4353000SVEFrq','_send','restore','top','[RemoteUniscriptService]:\x20no\x20focused\x20unit','url(#$1','TOO_MANY_REQUESTS','saveTaskMap','DeleteRangeMoveLeftCommandId','_toggleOnline','_onCursorDelete','univerjs-icon\x20univerjs-icon-','memberID','push','#fff','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','colorChannel1','round','_dataLoaderService','M0\x200H16V16H0z','defs','YUUMI_RATE_OVER_LIMIT','_initDependencies','blue400','_startDocCollabCursor','_handleEvent','INVITE_CODE_HAS_BEEN_UES','on-line-single_clip0_910_349','setActiveRange','storage','_hovered','getFocusedUnit','_getSaveTimeout','unsubscribe','ENSURE_SNAPSHOT_EXECUTION','_memberService','runId','docStateChange$','hasOwnProperty','_unitStatus','unshift','type','getUnitId','disableLocalCache','getOffsetConfig','onCommandExecuted','1084pBfwFY','use','getAncestorScale','Warning','complete','name','UNRECOGNIZED','_beforeCloseService','url(#off-line-single_clip0_910_343)','getItem','_heartbeatTimer','_transformUndoRedoStack','YUUMI_NO_CUBOID_FOR_QUESTION','imageSourceType','#FFF','YUUMI_SUBSCRIPTION_NOT_FOUND','mutations','_backgroundColor','_cursors','_toggleOffline','clipPath','init','ticket','JOIN_ROOM_FAILED','startsWith','Unknown\x20user','clearInterval','_sheetSkeletonManagerService','disposeWithMe','makeDirty','ONLINE','_updateLocalCursor','_assignedColors','whenReady','endColumn','InsertRangeMoveRightCommandId','call','prototype','on-line-single','getOwnPropertyDescriptor','Error','transformByState','YUUMI_UNABLE_LOAD_URL','VIEW_MAIN','setShapeProps','getCellPositionByOffset','getMember','toString','values','_transformService','icon','unitId','backgroundColor','history','sessionTicket','activeSheet$','search','disposeUnit','gold400','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_httpService','session.will-retry','result','MOBILE_HAS_BEEN_BOUND','hide','hovered','_instanceService','InsertRowCommandId','syncEditingCollabCursor','status$','replaceDocRanges','fillStyle','_labelPosition','56NOktpg','OnLineSingle','collab-text-range-','_scene','getSkeleton','YUUMI_URL_COL_OUT_OF_RANGE','source','_drawTextRange','getRangePointData','_removeClearOtherTimer','SNAPSHOT_INVALID_SNAPSHOT','off-line-single_clip0_910_343','origin','_transformHistoryAndStateStack','_cachedData','USERS_LEAVE','getActiveRange','_onCursorUpdate','_themeService','_init','_hover','set','_docSyncEditingCollabCursorService','_imageIoService','lineTo','_getScale','unload','delete','getOwnPropertySymbols','_name','registerRefRange','saveOfflineData','_setupBeforeClosingHandler','univer-flex\x20univer-mr-2\x20univer-text-[20px]','_handleHeartbeatEvent','_cursorShapes','createInstance','actions','_onRefRangeChange','NOT_COLLAB','_scheduleSaving','_colorAssignService','beginPath','YUUMI_ASYNCIO_CANCELLED','onPointerEnter$','INVITE_CODE_REQUIRED','collabCursorState$','APPLY_REVISION_CONFILICT','newValue','_commandService','requireSession','selections','NOT_FOUND','_handleLeaveEvent','tag','LICENSE_EXPORT_SIZE_EXCEEDED','saveImage','_messageService','getViewport','_initEvent','engine','_injector','_disabled','split','min','getRenderById','APPLY_PERMISSION_DENIED','translate(.97)','/run/','params','startColumn','isArray','getConfig','executeCommand','_id','addObject'];_0x25ef=function(){return _0x28ab33;};return _0x25ef();}var Xi=Object[_0x5e9d2a(0x101)],Gi=(_0x43f10b,_0x1c32a1,_0x49ed75,_0xb34509)=>{for(var _0x3343dc=_0xb34509>0x1?void 0x0:_0xb34509?Xi(_0x1c32a1,_0x49ed75):_0x1c32a1,_0x2c8c46=_0x43f10b['length']-0x1,_0x137f8c;_0x2c8c46>=0x0;_0x2c8c46--)(_0x137f8c=_0x43f10b[_0x2c8c46])&&(_0x3343dc=_0x137f8c(_0x3343dc)||_0x3343dc);return _0x3343dc;},Q=(_0x184ee0,_0x1af47e)=>(_0x5d5851,_0x37ff8c)=>_0x1af47e(_0x5d5851,_0x37ff8c,_0x184ee0);let te=class extends _0x5348ab{constructor(_0x437549,_0x32b295,_0x57c692,_0x32926e){const _0x176b46=_0x5e9d2a;super(),_(this,_0x176b46(0x1a2),new _0x1084b7(_0x2bb882[_0x176b46(0x14a)])),(this[_0x176b46(0x235)]=_0x437549,this[_0x176b46(0x160)]=_0x32b295,this[_0x176b46(0x174)]=_0x57c692,this['_uiPartsService']=_0x32926e,this[_0x176b46(0x190)](),this['_initStatusListener']());}[_0x5e9d2a(0x241)](){const _0x424e14=_0x5e9d2a;this['disposeWithMe'](this[_0x424e14(0x235)][_0x424e14(0x27c)][_0x424e14(0x1f7)](_0x11c9ec(()=>{const _0x2dd6d1=_0x424e14,_0x555409=this[_0x2dd6d1(0x235)][_0x2dd6d1(0xcb)]();return _0x555409?this[_0x2dd6d1(0x174)][_0x2dd6d1(0x226)](_0x555409[_0x2dd6d1(0xd6)]()):_0x261b16(null);}),_0x11c9ec(_0x930d7e=>_0x930d7e?_0x930d7e[_0x424e14(0x11f)]:_0x261b16(_0x2bb882[_0x424e14(0x14a)])))[_0x424e14(0x25d)](_0x12e2d2=>{const _0x27e2c5=_0x424e14;this[_0x27e2c5(0x1a2)][_0x27e2c5(0x1d3)](_0x12e2d2);}));}['_initStatusComponent'](){const _0x16903b=_0x5e9d2a;this[_0x16903b(0xf6)](this[_0x16903b(0x1fa)]['registerComponent'](_0x5189d0[_0x16903b(0x1dc)],()=>_0x11159d(Ki({'status$':this[_0x16903b(0x1a2)][_0x16903b(0x1bb)]()}),this[_0x16903b(0x160)])));}};te=Gi([Q(0x0,_0x31afa3),Q(0x1,_0x2afc3f(_0x1ccbb8)),Q(0x2,_0x2afc3f(_0x5818ba)),Q(0x3,_0x1bc0ee)],te);function Ki(_0x47fab3){const {status$:_0x127617}=_0x47fab3;return function(){return _0x1d9f11(Vi,{'status$':_0x127617});};}var zi=Object[_0x5e9d2a(0x101)],Ji=(_0x345b90,_0x49a0c2,_0x11b66f,_0xffe67e)=>{for(var _0x4e99e8=_0xffe67e>0x1?void 0x0:_0xffe67e?zi(_0x49a0c2,_0x11b66f):_0x49a0c2,_0x17bc1d=_0x345b90['length']-0x1,_0x50f056;_0x17bc1d>=0x0;_0x17bc1d--)(_0x50f056=_0x345b90[_0x17bc1d])&&(_0x4e99e8=_0x50f056(_0x4e99e8)||_0x4e99e8);return _0x4e99e8;},B=(_0x5d644e,_0x3c3745)=>(_0x2ff6ce,_0x518856)=>_0x3c3745(_0x2ff6ce,_0x518856,_0x5d644e);let se=class extends _0x5348ab{constructor(_0x2a4f81,_0x2aabe4,_0x2be699,_0x16fe63,_0x5be49a,_0xac4eb9){const _0x18c54f=_0x5e9d2a;super(),this[_0x18c54f(0xe1)]=_0x2a4f81,this[_0x18c54f(0x99)]=_0x2aabe4,this[_0x18c54f(0x1c2)]=_0x2be699,this['_messageService']=_0x16fe63,this[_0x18c54f(0x193)]=_0x5be49a,this[_0x18c54f(0x1d5)]=_0xac4eb9,this[_0x18c54f(0x143)](),this[_0x18c54f(0x15e)]();}['_setupBeforeClosingHandler'](){const _0x2d5e7b=_0x5e9d2a;this['disposeWithMe'](this['_beforeCloseService'][_0x2d5e7b(0x26e)](()=>{const _0x352df7=_0x2d5e7b;if(this['_localCacheService'][_0x352df7(0xb3)][_0x352df7(0x1b4)])return this[_0x352df7(0x1d5)]['t'](_0x352df7(0x175));}));}['_initEvent'](){const _0x5bc153=_0x5e9d2a;this[_0x5bc153(0xf6)](this['_collaborationUIEventService'][_0x5bc153(0x1d4)][_0x5bc153(0x25d)](_0x12cb4c=>{const _0x33d081=_0x5bc153;_0x12cb4c['id']===_0x5ad7be[_0x33d081(0x19e)]&&this[_0x33d081(0x15c)][_0x33d081(0x94)]({'type':_0x50c4f8[_0x33d081(0xdd)],'content':this[_0x33d081(0x1d5)]['t'](_0x33d081(0x1e0))}),_0x12cb4c['id']===_0x5ad7be['CLOSE_ROOM']&&this[_0x33d081(0x15c)]['show']({'type':_0x50c4f8[_0x33d081(0xdd)],'content':this[_0x33d081(0x1d5)]['t'](_0x33d081(0x283))}),_0x12cb4c['id']===_0x5ad7be['PERMISSION_DENIED']&&this[_0x33d081(0x193)][_0x33d081(0x94)]({'title':this[_0x33d081(0x1d5)]['t'](_0x33d081(0x21d)),'content':this[_0x33d081(0x1d5)]['t']('permission.content'),'type':'error','duration':0x0}),_0x12cb4c['id']===_0x5ad7be['CONFLICT']&&this[_0x33d081(0x15c)][_0x33d081(0x94)]({'type':_0x50c4f8[_0x33d081(0x102)],'content':this['_localeService']['t'](_0x33d081(0x283))+'('+_0x12cb4c[_0x33d081(0x9c)]+')'}),_0x12cb4c['id']===_0x5ad7be[_0x33d081(0xf1)]&&this[_0x33d081(0x15c)][_0x33d081(0x94)]({'type':_0x50c4f8[_0x33d081(0xdd)],'content':this[_0x33d081(0x1d5)]['t'](_0x12cb4c['data']||'')}),_0x12cb4c['id']===_0x5ad7be[_0x33d081(0xa4)]&&this['_messageService'][_0x33d081(0x94)]({'type':_0x50c4f8[_0x33d081(0xdd)],'content':this[_0x33d081(0x1d5)]['t'](_0x33d081(0x117))}),_0x12cb4c['id']===_0x5ad7be[_0x33d081(0x20c)]&&this['_messageService']['show']({'type':_0x50c4f8['Error'],'content':this['_localeService']['t'](_0x33d081(0x1ef))}),_0x12cb4c['id']===_0x5ad7be[_0x33d081(0x210)]&&this[_0x33d081(0x15c)][_0x33d081(0x94)]({'type':_0x50c4f8[_0x33d081(0x102)],'content':this[_0x33d081(0x1d5)]['t']('session.collaboration-timeout')});}));}};se=Ji([B(0x0,_0x2717ba),B(0x1,_0x48bf36),B(0x2,_0x2afc3f(_0x40dfbd)),B(0x3,_0x5ea77a),B(0x4,_0x291042),B(0x5,_0x2afc3f(_0x17d115))],se);const Zi=_0x5e9d2a(0x180),et={},Ut=_0x104114('uni.network.url-service');var Qi=Object[_0x5e9d2a(0x101)],qi=(_0x52ed8a,_0x10fda7,_0x2b10b0,_0x166a03)=>{for(var _0x3dee2b=_0x166a03>0x1?void 0x0:_0x166a03?Qi(_0x10fda7,_0x2b10b0):_0x10fda7,_0x1931e3=_0x52ed8a['length']-0x1,_0xabf4c2;_0x1931e3>=0x0;_0x1931e3--)(_0xabf4c2=_0x52ed8a[_0x1931e3])&&(_0x3dee2b=_0xabf4c2(_0x3dee2b)||_0x3dee2b);return _0x3dee2b;},G=(_0x34ebd5,_0x1c808f)=>(_0x53716a,_0x4832c0)=>_0x1c808f(_0x53716a,_0x4832c0,_0x34ebd5);let ie=class extends _0x21dcc4{constructor(_0x363696,_0x596dcb,_0x406f91,_0x230648,_0x67cae9){const _0x170abf=_0x5e9d2a;super(),this[_0x170abf(0x25e)]=_0x363696,this[_0x170abf(0x228)]=_0x596dcb,this[_0x170abf(0x154)]=_0x406f91,this[_0x170abf(0xbe)]=_0x230648,_0x67cae9?_0x67cae9==null||_0x67cae9[_0x170abf(0xfb)]()['then'](()=>this[_0x170abf(0x136)]()):(this[_0x170abf(0x228)][_0x170abf(0x179)]('[CollaborationDataLoaderController]',_0x170abf(0xbb)),this[_0x170abf(0x136)]());}async[_0x5e9d2a(0x136)](){const _0x299d6f=_0x5e9d2a,_0x532aea=this[_0x299d6f(0x25e)]['getParam'](_0x299d6f(0x1f9)),_0x179cf2=this[_0x299d6f(0x25e)]['getParam'](_0x299d6f(0xd5)),_0x199374=this[_0x299d6f(0x25e)][_0x299d6f(0x26c)](_0x299d6f(0x206));if(!_0x532aea||!_0x179cf2){this[_0x299d6f(0x228)][_0x299d6f(0x179)](_0x299d6f(0x260),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x41d56b=await this['_dataLoaderService'][_0x299d6f(0x21f)](_0x532aea,Number(_0x179cf2),_0x199374);_0x41d56b&&_0x41d56b instanceof _0x2e092b&&this[_0x299d6f(0x18e)](_0x41d56b);}async[_0x5e9d2a(0x18e)](_0x216c4a){const _0x3094e9=_0x5e9d2a;await this[_0x3094e9(0x255)](_0x216c4a),_0x216c4a[_0x3094e9(0x111)][_0x3094e9(0x1f7)](_0x41fc4e(this['dispose$']))[_0x3094e9(0x25d)](_0x593378=>{_0x593378&&this['_updateURLWithCurrentState'](_0x593378);}),this[_0x3094e9(0x25e)][_0x3094e9(0x22e)][_0x3094e9(0x1f7)](_0x41fc4e(this[_0x3094e9(0x25b)]))[_0x3094e9(0x25d)](()=>this[_0x3094e9(0x255)](_0x216c4a));}[_0x5e9d2a(0x187)](_0x37c04a,_0x1f1f50=!0x1){const _0x38fbff=_0x5e9d2a,_0x3a0043=this['_urlService'][_0x38fbff(0x26c)](_0x38fbff(0x206));_0x37c04a['getSheetId']()!==_0x3a0043&&this[_0x38fbff(0x25e)][_0x38fbff(0x1ae)](_0x38fbff(0x206),_0x37c04a['getSheetId'](),_0x1f1f50);}async[_0x5e9d2a(0x255)](_0x363ee5){const _0x1d5c33=_0x5e9d2a;var _0x51bb86;const _0x2baea9=this[_0x1d5c33(0x25e)][_0x1d5c33(0x26c)]('subunit');if(!_0x2baea9||!_0x363ee5['getSheetBySheetId'](_0x2baea9)){const _0x349e38=_0x363ee5['getUnhiddenWorksheets']()[0x0],_0x4d5cfc=_0x363ee5[_0x1d5c33(0x197)](_0x349e38);if(!_0x4d5cfc)return;this[_0x1d5c33(0x187)](_0x4d5cfc,!0x0),await this[_0x1d5c33(0x154)]['executeCommand'](_0x9b3c39['id'],{'unitId':_0x363ee5[_0x1d5c33(0xd6)](),'subUnitId':_0x349e38});return;}((_0x51bb86=_0x363ee5[_0x1d5c33(0x20f)]())==null?void 0x0:_0x51bb86[_0x1d5c33(0x22d)]())!==_0x2baea9&&await this[_0x1d5c33(0x154)][_0x1d5c33(0x16c)](_0x9b3c39['id'],{'unitId':_0x363ee5[_0x1d5c33(0xd6)](),'subUnitId':_0x2baea9});}};ie=qi([G(0x0,Ut),G(0x1,_0x1936a9),G(0x2,_0x334d0c),G(0x3,_0x2afc3f(_0x126004)),G(0x4,_0x7fd890(_0x2d26ad))],ie);var en=Object[_0x5e9d2a(0x101)],tn=(_0x2e1006,_0x3f8523,_0x471d9f,_0x3a802b)=>{const _0x3c7ef9=_0x5e9d2a;for(var _0x162d9f=_0x3a802b>0x1?void 0x0:_0x3a802b?en(_0x3f8523,_0x471d9f):_0x3f8523,_0x58f6e9=_0x2e1006[_0x3c7ef9(0x26f)]-0x1,_0x5f4473;_0x58f6e9>=0x0;_0x58f6e9--)(_0x5f4473=_0x2e1006[_0x58f6e9])&&(_0x162d9f=_0x5f4473(_0x162d9f)||_0x162d9f);return _0x162d9f;},pe=(_0x1cca0d,_0x6c664a)=>(_0x2adb24,_0xc8e983)=>_0x6c664a(_0x2adb24,_0xc8e983,_0x1cca0d);let ne=class{constructor(_0x22673d,_0x1455da,_0x2dc4d9){const _0x4b627c=_0x5e9d2a;this[_0x4b627c(0x160)]=_0x22673d,this[_0x4b627c(0x10b)]=_0x1455da,this[_0x4b627c(0x244)]=_0x2dc4d9;}[_0x5e9d2a(0x21b)](_0x2d4ebb){const _0x3c319d=_0x5e9d2a;this['_transformUndoRedoStack'](_0x2d4ebb),this[_0x3c319d(0x8d)](_0x2d4ebb);}[_0x5e9d2a(0x198)](_0x4ae10a){const _0x505671=_0x5e9d2a,{unitID:_0x4512bd}=_0x4ae10a,_0x470004=this[_0x505671(0x244)][_0x505671(0x164)](_0x4512bd)[_0x505671(0x1df)](_0x44fef9),{redoCache:_0x737cf4}=_0x470004['getUndoRedoMutationParamsCache']();if(_0x737cf4[_0x505671(0x26f)]===0x0)return _0x4ae10a;let _0x20a7a5=_0x1cd6f0[_0x505671(0x215)](_0x4ae10a['mutations'][0x0]);for(let _0x54adab=0x0;_0x54adab<_0x737cf4[_0x505671(0x26f)];_0x54adab++){const _0x5354b2={'id':_0x505671(0x1ea),'params':{..._0x737cf4[_0x54adab]}},_0x4c0e8e=this[_0x505671(0x10b)]['transformMutation'](_0x20a7a5,_0x5354b2,!0x1);if(_0x1caf96(_0x4c0e8e))throw _0x4c0e8e[_0x505671(0x19c)];_0x20a7a5=_0x4c0e8e['m1Prime'];}return{..._0x1cd6f0[_0x505671(0x215)](_0x4ae10a),'mutations':[_0x20a7a5]};}[_0x5e9d2a(0xe5)](_0x368553){const _0xc96f24=_0x5e9d2a,{unitID:_0x2907c2}=_0x368553,_0x41faed=this['_renderManagerService'][_0xc96f24(0x164)](_0x2907c2)['with'](_0x44fef9),{undoCache:_0x59a0eb,redoCache:_0x39ea7a}=_0x41faed[_0xc96f24(0x202)]();if(_0x59a0eb['length']===0x0||_0x39ea7a['length']===0x0)return;const _0x491fc8=[],_0x2a175c=[];let _0x46d0ba=_0x1cd6f0[_0xc96f24(0x215)](_0x368553['mutations'][0x0]),_0x1f262a=_0x1cd6f0[_0xc96f24(0x215)](_0x368553['mutations'][0x0]);for(let _0x43e158=_0x59a0eb['length']-0x1;_0x43e158>=0x0;_0x43e158--){const _0x161ff2={'id':_0xc96f24(0x1ea),'params':{..._0x59a0eb[_0x43e158]}},_0x75ce31={'id':'doc.mutation.rich-text-editing','params':{..._0x39ea7a[_0x43e158]}},_0x2647e7=this[_0xc96f24(0x10b)]['transformMutation'](_0x46d0ba,_0x161ff2,!0x1),_0x23e806=this['_transformService'][_0xc96f24(0x230)](_0x1f262a,_0x75ce31,!0x1);if(_0x1caf96(_0x2647e7))throw _0x2647e7['error'];if(_0x1caf96(_0x23e806))throw _0x23e806[_0xc96f24(0x19c)];_0x491fc8['unshift'](_0x2647e7['m2Prime'][_0xc96f24(0x168)]),_0x2a175c[_0xc96f24(0xd4)](_0x23e806[_0xc96f24(0x1bd)][_0xc96f24(0x168)]),_0x46d0ba=_0x2647e7[_0xc96f24(0x1e6)],_0x1f262a=_0x23e806[_0xc96f24(0x1e6)];}_0x41faed[_0xc96f24(0x1aa)]({'undoCache':_0x491fc8,'redoCache':_0x2a175c});}[_0x5e9d2a(0x8d)](_0x3952d4){const _0x7a9d24=_0x5e9d2a,{unitID:_0x4db62e}=_0x3952d4,_0x448ae5=this[_0x7a9d24(0x244)][_0x7a9d24(0x164)](_0x4db62e)['with'](_0x44fef9),_0x33fd93=_0x448ae5[_0x7a9d24(0x133)]();if(_0x33fd93==null)return;const _0x5e318a=[{'id':_0x7a9d24(0x1ea),'params':{'unitId':_0x3952d4['unitID'],'actions':null,'textRanges':[_0x33fd93]}}],_0x2b196e=this['_transformService']['transformMutationsWithChangeset'](_0x3952d4,_0x5e318a);if(!_0x1ee331(_0x2b196e))throw _0x2b196e['error'];const _0x149fbb=_0x2b196e[_0x7a9d24(0x1bd)][0x0]['params'][_0x7a9d24(0x27e)];Array['isArray'](_0x149fbb)&&_0x149fbb[_0x7a9d24(0x26f)]&&_0x448ae5[_0x7a9d24(0xc8)](_0x149fbb[0x0]);}};ne=tn([pe(0x0,_0x2afc3f(_0x1ccbb8)),pe(0x1,_0x282b64),pe(0x2,_0x49603f)],ne);var sn=Object[_0x5e9d2a(0x101)],nn=(_0x5146b0,_0x36fa5e,_0x2ffb3c,_0x568328)=>{for(var _0x5120e9=_0x568328>0x1?void 0x0:_0x568328?sn(_0x36fa5e,_0x2ffb3c):_0x36fa5e,_0xfa623a=_0x5146b0['length']-0x1,_0x210f89;_0xfa623a>=0x0;_0xfa623a--)(_0x210f89=_0x5146b0[_0xfa623a])&&(_0x5120e9=_0x210f89(_0x5120e9)||_0x5120e9);return _0x5120e9;},Ce=(_0x5977e8,_0x583e77)=>(_0x2214fe,_0x5b23d1)=>_0x583e77(_0x2214fe,_0x5b23d1,_0x5977e8);let re=class{constructor(_0x210107,_0x2e6b44,_0x4bf773){const _0x509daa=_0x5e9d2a;this[_0x509daa(0x160)]=_0x210107,this[_0x509daa(0x10b)]=_0x2e6b44,this[_0x509daa(0x234)]=_0x4bf773;}[_0x5e9d2a(0x1f3)](_0x4bec08){const _0x540f1b=_0x5e9d2a;this[_0x540f1b(0x130)](_0x4bec08);}[_0x5e9d2a(0x198)](_0x68e537){const _0x3ad2f3=_0x5e9d2a,{unitID:_0x5211f2}=_0x68e537,{collaboration:_0x2d2570}=this['_docStateChangeManagerService'][_0x3ad2f3(0x26d)](_0x5211f2);if(_0x2d2570[_0x3ad2f3(0x26f)]===0x0)return _0x68e537;let _0xe6557f=_0x1cd6f0[_0x3ad2f3(0x215)](_0x68e537['mutations'][0x0]);for(let _0x575e3d=0x0;_0x575e3d<_0x2d2570[_0x3ad2f3(0x26f)];_0x575e3d++){const _0x5d6ca6={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2d2570[_0x575e3d]['unitId'],..._0x2d2570[_0x575e3d][_0x3ad2f3(0x1f0)]}},_0x51768e=this[_0x3ad2f3(0x10b)][_0x3ad2f3(0x230)](_0xe6557f,_0x5d6ca6,!0x1);if(_0x1caf96(_0x51768e))throw _0x51768e[_0x3ad2f3(0x19c)];_0xe6557f=_0x51768e[_0x3ad2f3(0x1e6)];}return{..._0x1cd6f0[_0x3ad2f3(0x215)](_0x68e537),'mutations':[_0xe6557f]};}['_transformHistoryAndStateStack'](_0x5bbb09){const _0x333845=_0x5e9d2a,{unitID:_0x3fe4f8}=_0x5bbb09,{history:_0x4d7285,collaboration:_0x9793bf}=this['_docStateChangeManagerService'][_0x333845(0x26d)](_0x3fe4f8);if(_0x4d7285[_0x333845(0x26f)]===0x0&&_0x9793bf[_0x333845(0x26f)]===0x0)return;const _0x44d167=[],_0x4e5976=[];let _0x38de38=_0x1cd6f0[_0x333845(0x215)](_0x5bbb09['mutations'][0x0]),_0x4efe1f=_0x1cd6f0[_0x333845(0x215)](_0x5bbb09[_0x333845(0xea)][0x0]);for(let _0x22e0f8=_0x4d7285[_0x333845(0x26f)]-0x1;_0x22e0f8>=0x0;_0x22e0f8--){const _0x417d85={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4d7285[_0x22e0f8][_0x333845(0x10d)],..._0x4d7285[_0x22e0f8][_0x333845(0x171)]}},_0x7f5411={'id':_0x333845(0x1ea),'params':{'unitId':_0x4d7285[_0x22e0f8][_0x333845(0x10d)],..._0x4d7285[_0x22e0f8][_0x333845(0x1f0)]}},_0x52f441=this[_0x333845(0x10b)][_0x333845(0x230)](_0x38de38,_0x417d85,!0x1),_0x3060f2=this['_transformService']['transformMutation'](_0x4efe1f,_0x7f5411,!0x1);if(_0x1caf96(_0x52f441))throw _0x52f441[_0x333845(0x19c)];if(_0x1caf96(_0x3060f2))throw _0x3060f2[_0x333845(0x19c)];_0x44d167[_0x333845(0xd4)]({..._0x4d7285[_0x22e0f8],'undoState':_0x52f441[_0x333845(0x1bd)][_0x333845(0x168)],'redoState':_0x3060f2['m2Prime'][_0x333845(0x168)]}),_0x38de38=_0x52f441[_0x333845(0x1e6)],_0x4efe1f=_0x3060f2[_0x333845(0x1e6)];}_0x38de38=_0x1cd6f0[_0x333845(0x215)](_0x5bbb09[_0x333845(0xea)][0x0]),_0x4efe1f=_0x1cd6f0[_0x333845(0x215)](_0x5bbb09[_0x333845(0xea)][0x0]);for(let _0x3a72e6=_0x9793bf[_0x333845(0x26f)]-0x1;_0x3a72e6>=0x0;_0x3a72e6--){const _0x1d4ce9={'id':_0x333845(0x1ea),'params':{'unitId':_0x9793bf[_0x3a72e6][_0x333845(0x10d)],..._0x9793bf[_0x3a72e6][_0x333845(0x171)]}},_0xb13dbe={'id':_0x333845(0x1ea),'params':{'unitId':_0x9793bf[_0x3a72e6][_0x333845(0x10d)],..._0x9793bf[_0x3a72e6]['redoState']}},_0x2a63f6=this[_0x333845(0x10b)]['transformMutation'](_0x38de38,_0x1d4ce9,!0x1),_0x1d30a5=this[_0x333845(0x10b)][_0x333845(0x230)](_0x4efe1f,_0xb13dbe,!0x1);if(_0x1caf96(_0x2a63f6))throw _0x2a63f6[_0x333845(0x19c)];if(_0x1caf96(_0x1d30a5))throw _0x1d30a5['error'];_0x4e5976['unshift']({..._0x9793bf[_0x3a72e6],'undoState':_0x2a63f6[_0x333845(0x1bd)][_0x333845(0x168)],'redoState':_0x1d30a5[_0x333845(0x1bd)]['params']}),_0x38de38=_0x2a63f6[_0x333845(0x1e6)],_0x4efe1f=_0x1d30a5[_0x333845(0x1e6)];}this[_0x333845(0x234)]['setStateCache'](_0x3fe4f8,{'history':_0x44d167,'collaboration':_0x4e5976});}};re=nn([Ce(0x0,_0x2afc3f(_0x1ccbb8)),Ce(0x1,_0x282b64),Ce(0x2,_0x2afc3f(_0x4ac406))],re);var rn=Object['getOwnPropertyDescriptor'],on=(_0x2f8985,_0x3aee1b,_0x3f01e0,_0x48e23e)=>{const _0xfed1b1=_0x5e9d2a;for(var _0x1af7ab=_0x48e23e>0x1?void 0x0:_0x48e23e?rn(_0x3aee1b,_0x3f01e0):_0x3aee1b,_0x3e4adf=_0x2f8985[_0xfed1b1(0x26f)]-0x1,_0x5a983d;_0x3e4adf>=0x0;_0x3e4adf--)(_0x5a983d=_0x2f8985[_0x3e4adf])&&(_0x1af7ab=_0x5a983d(_0x1af7ab)||_0x1af7ab);return _0x1af7ab;},tt=(_0xa0bf8e,_0x50d84d)=>(_0x2c6c30,_0x18838b)=>_0x50d84d(_0x2c6c30,_0x18838b,_0xa0bf8e);let oe=class{constructor(_0x53c53a,_0x30e0ce){const _0x232b22=_0x5e9d2a;this[_0x232b22(0x160)]=_0x53c53a,this[_0x232b22(0x10b)]=_0x30e0ce;}[_0x5e9d2a(0x1b9)](_0x111729){const _0x7e6cc1=_0x5e9d2a;var _0x245cac;const _0x5a3a82=this[_0x7e6cc1(0x160)]['get'](_0x647975),_0x2ae8a7=(_0x245cac=_0x5a3a82[_0x7e6cc1(0x248)]())!=null?_0x245cac:[];if(_0x2ae8a7[_0x7e6cc1(0x26f)]===0x0)return;const _0x37eb5a=_0x111729[_0x7e6cc1(0x1cf)],_0x5606d8=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x37eb5a,'actions':null,'textRanges':_0x2ae8a7}}],_0x41ad53=this[_0x7e6cc1(0x10b)][_0x7e6cc1(0x17e)](_0x111729,_0x5606d8);if(!_0x1ee331(_0x41ad53))throw _0x41ad53[_0x7e6cc1(0x19c)];const _0x593d13=_0x41ad53[_0x7e6cc1(0x1bd)][0x0][_0x7e6cc1(0x168)][_0x7e6cc1(0x27e)];Array[_0x7e6cc1(0x16a)](_0x593d13)&&_0x593d13[_0x7e6cc1(0x26f)]&&_0x5a3a82[_0x7e6cc1(0x120)](_0x593d13,{'unitId':_0x37eb5a,'subUnitId':_0x37eb5a},!0x1);}};oe=on([tt(0x0,_0x2afc3f(_0x1ccbb8)),tt(0x1,_0x282b64)],oe);var an=Object['getOwnPropertyDescriptor'],cn=(_0x23d006,_0x5e021f,_0xd48324,_0x3d0812)=>{const _0x3a4f00=_0x5e9d2a;for(var _0x5892c1=_0x3d0812>0x1?void 0x0:_0x3d0812?an(_0x5e021f,_0xd48324):_0x5e021f,_0x465e1f=_0x23d006[_0x3a4f00(0x26f)]-0x1,_0x1a6988;_0x465e1f>=0x0;_0x465e1f--)(_0x1a6988=_0x23d006[_0x465e1f])&&(_0x5892c1=_0x1a6988(_0x5892c1)||_0x5892c1);return _0x5892c1;},U=(_0x3a3d19,_0x580713)=>(_0x5c5304,_0x22bca9)=>_0x580713(_0x5c5304,_0x22bca9,_0x3a3d19);let ae=class extends _0x5348ab{constructor(_0x5109ba,_0x23f5ee,_0x1c9088,_0x68b4c6,_0x5f241c,_0x4bda72,_0x2f729e,_0x50cb4e){const _0x5db1e2=_0x5e9d2a;super(),_(this,_0x5db1e2(0x1a2),new _0x1084b7(_0x2bb882[_0x5db1e2(0x14a)])),(this['_docStateChangeManagerService']=_0x5109ba,this['_collaborationController']=_0x23f5ee,this['_docTransformIMECacheService']=_0x1c9088,this['_docTransformStateCacheService']=_0x68b4c6,this[_0x5db1e2(0x280)]=_0x5f241c,this[_0x5db1e2(0x139)]=_0x4bda72,this[_0x5db1e2(0x15c)]=_0x2f729e,this[_0x5db1e2(0x1d5)]=_0x50cb4e,this[_0x5db1e2(0x1e3)]());}[_0x5e9d2a(0x1e3)](){const _0xa34e52=_0x5e9d2a;this['disposeWithMe'](this[_0xa34e52(0x174)]['entityInit$'][_0xa34e52(0x25d)](_0x390e8a=>{const _0x33ab8a=_0xa34e52,_0x1ee79c=this[_0x33ab8a(0x234)][_0x33ab8a(0xd1)][_0x33ab8a(0x25d)](_0x59458c=>{const _0x313fad=_0x33ab8a;if(_0x59458c==null)return;const {unitId:_0x2d74e5,redoState:_0x40d5f7,commandId:_0x5d7c4f}=_0x59458c;if(_0x2d74e5!==_0x390e8a[_0x313fad(0x1cf)])return;const _0x4376c3={'id':_0x5d7c4f,'type':_0xffdb93['MUTATION'],'params':{'unitId':_0x2d74e5,'actions':_0x40d5f7[_0x313fad(0x148)],'textRanges':null}};_0x390e8a['onLocalMutation'](_0x4376c3);});if(_0x390e8a[_0x33ab8a(0xf6)](_0x1ee79c),_0x390e8a instanceof _0xa8c8e4){const _0x4bdf68={'onTransformIME':_0x4d2e98=>this[_0x33ab8a(0x189)]['transformIMECache'](_0x4d2e98),'onTransformState':_0x197cb7=>this[_0x33ab8a(0x1b5)]['transformStateCache'](_0x197cb7),'onTransformSelections':_0x2cf05a=>this[_0x33ab8a(0x280)]['transformSelections'](_0x2cf05a),'onSyncEditingCollabCursor':_0x289f2f=>this[_0x33ab8a(0x139)]['syncEditingCollabCursor'](_0x289f2f),'onTransformRemoteChangesetByIMECache':_0x5edf9d=>this['_docTransformIMECacheService'][_0x33ab8a(0x198)](_0x5edf9d),'onTransformRemoteChangesetByStateCache':_0x439582=>this['_docTransformStateCacheService'][_0x33ab8a(0x198)](_0x439582)};_0x390e8a['addHandlerCallback'](_0x4bdf68);}}));}};ae=cn([U(0x0,_0x2afc3f(_0x4ac406)),U(0x1,_0x2afc3f(_0x5818ba)),U(0x2,_0x2afc3f(ne)),U(0x3,_0x2afc3f(re)),U(0x4,_0x2afc3f(oe)),U(0x5,_0x2afc3f(He)),U(0x6,_0x5ea77a),U(0x7,_0x2afc3f(_0x17d115))],ae);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x524272,_0x11ca93,_0xd6a601,_0x56204f)=>{const _0x1da821=_0x5e9d2a;for(var _0x314707=_0x56204f>0x1?void 0x0:_0x56204f?ln(_0x11ca93,_0xd6a601):_0x11ca93,_0xa8c162=_0x524272[_0x1da821(0x26f)]-0x1,_0x17dbf0;_0xa8c162>=0x0;_0xa8c162--)(_0x17dbf0=_0x524272[_0xa8c162])&&(_0x314707=_0x17dbf0(_0x314707)||_0x314707);return _0x314707;},Ee=(_0x3bb587,_0x13fca6)=>(_0xe8e2e1,_0x583cd1)=>_0x13fca6(_0xe8e2e1,_0x583cd1,_0x3bb587);let Le=class extends _0x5348ab{constructor(_0x16cbcb,_0x4e67bd,_0x2be5e8){const _0xacc5ee=_0x5e9d2a;super(),_(this,_0xacc5ee(0x131),new Map()),_(this,_0xacc5ee(0x263),new Map()),_(this,_0xacc5ee(0x161),!0x1),(this[_0xacc5ee(0x221)]=_0x16cbcb,this[_0xacc5ee(0x1ff)]=_0x4e67bd,this[_0xacc5ee(0x1b7)]=_0x2be5e8);}[_0x5e9d2a(0xd7)](){const _0x4eadc3=_0x5e9d2a;this[_0x4eadc3(0x161)]=!0x0;}[_0x5e9d2a(0x27a)](){const _0xebeb87=_0x5e9d2a;this[_0xebeb87(0x161)]=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0x5e9d2a(0x17a)](){const _0x5118a7=_0x5e9d2a;this[_0x5118a7(0x84)]()[_0x5118a7(0x284)](()=>super[_0x5118a7(0x17a)]());}async['loadOfflineData'](_0x3bed21){const _0x31bd6e=_0x5e9d2a;return this[_0x31bd6e(0x161)]?null:this[_0x31bd6e(0x1ff)][_0x31bd6e(0xe3)](_0x3573d9(_0x3bed21));}async[_0x5e9d2a(0x142)](_0x3e2a3f,_0x134db2){const _0xb3ce8f=_0x5e9d2a;return!!this[_0xb3ce8f(0x1ff)][_0xb3ce8f(0x8c)](_0x3e2a3f,_0x134db2);}['updateOfflineData'](_0x49b94f,_0x55be7d,_0x141d93,_0x2517f9){const _0x3e290d=_0x5e9d2a,_0x4143f4=this[_0x3e290d(0x1b7)][_0x3e290d(0x21c)](_0x49b94f);this['_cachedData'][_0x3e290d(0x138)](_0x49b94f,{'unitID':_0x49b94f,'type':_0x55be7d,'awaitingChangeset':_0x141d93,'mutations':_0x2517f9,'rev':_0x4143f4}),this[_0x3e290d(0x263)][_0x3e290d(0x225)](_0x49b94f)||this[_0x3e290d(0x14b)](_0x49b94f);}[_0x5e9d2a(0x14b)](_0x2a0e4a){const _0x762fb0=_0x5e9d2a,_0x1e5c6c=this[_0x762fb0(0xcc)]();_0x1e5c6c===0x0?this['_saveCache'](_0x2a0e4a):this[_0x762fb0(0x263)][_0x762fb0(0x138)](_0x2a0e4a,setTimeout(()=>this[_0x762fb0(0x18c)](_0x2a0e4a),_0x1e5c6c));}['_getSaveTimeout'](){const _0x10aa6f=_0x5e9d2a;var _0x369989;return(_0x369989=this['_configService'][_0x10aa6f(0x16b)](_0x2a7a01))!=null?_0x369989:_0x42b703;}[_0x5e9d2a(0x18c)](_0x1ad58d){const _0x172807=_0x5e9d2a,_0x557c35=this['_saveTaskMap'][_0x172807(0x88)](_0x1ad58d);return _0x557c35!==void 0x0&&window[_0x172807(0x24b)](_0x557c35),this[_0x172807(0x1ff)][_0x172807(0x8c)](_0x3573d9(_0x1ad58d),this['_cachedData']['get'](_0x1ad58d))[_0x172807(0x284)](()=>this[_0x172807(0x263)][_0x172807(0x13e)](_0x1ad58d));}async[_0x5e9d2a(0x84)](){const _0x590658=_0x5e9d2a,_0x937b80=[];this['_saveTaskMap']['forEach']((_0x2c9a42,_0x1e4c2e)=>{const _0x4ec486=_0x232c;window[_0x4ec486(0x24b)](_0x2c9a42),_0x937b80[_0x4ec486(0xb9)](this[_0x4ec486(0x18c)](_0x1e4c2e)[_0x4ec486(0x284)](()=>{const _0x58a456=_0x4ec486;this[_0x58a456(0x263)][_0x58a456(0x13e)](_0x1e4c2e);}));}),await Promise[_0x590658(0x8e)](_0x937b80);}};Le=_n([Ee(0x0,_0x335bdb),Ee(0x1,_0x53feb7),Ee(0x2,_0x2afc3f(_0xbe9a23))],Le);class hn extends _0x21dcc4{constructor(){const _0x118570=_0x5e9d2a;super(),_(this,_0x118570(0x22e)),this[_0x118570(0x22e)]=_0x55984f(window,_0x118570(0x1d8))['pipe'](_0x41fc4e(this[_0x118570(0x25b)]),_0x2bcb9c(0x1),_0x2169f6(void 0x0));}[_0x5e9d2a(0x1ae)](_0xd07c6,_0x2e2756,_0x588f0f=!0x1){const _0x370da1=_0x5e9d2a,_0x54f68a=new URL(window[_0x370da1(0x207)][_0x370da1(0x20b)]);_0x54f68a[_0x370da1(0x253)][_0x370da1(0x138)](_0xd07c6,_0x2e2756),_0x588f0f?window['history'][_0x370da1(0x264)]('','',_0x54f68a[_0x370da1(0x109)]()):window[_0x370da1(0x10f)][_0x370da1(0x277)]('','',_0x54f68a[_0x370da1(0x109)]());}[_0x5e9d2a(0xa6)](_0xe1cbf3,_0x59336e=!0x1){const _0x3167fd=_0x5e9d2a,_0x37816b=new URL(window[_0x3167fd(0x207)][_0x3167fd(0x20b)]);_0x37816b[_0x3167fd(0x253)][_0x3167fd(0x13e)](_0xe1cbf3),_0x59336e?window[_0x3167fd(0x10f)][_0x3167fd(0x264)]('','',_0x37816b[_0x3167fd(0x109)]()):window['history']['pushState']('','',_0x37816b[_0x3167fd(0x109)]());}[_0x5e9d2a(0x26c)](_0x4f9abd){const _0x58f471=_0x5e9d2a;var _0x343c55;return(_0x343c55=new URL(window['location'][_0x58f471(0x20b)])['searchParams'][_0x58f471(0x88)](_0x4f9abd))!=null?_0x343c55:void 0x0;}}var un=Object[_0x5e9d2a(0x1af)],dn=Object[_0x5e9d2a(0x101)],fn=(_0x4d7bb9,_0x5c8767,_0x3b8bfa)=>_0x5c8767 in _0x4d7bb9?un(_0x4d7bb9,_0x5c8767,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3b8bfa}):_0x4d7bb9[_0x5c8767]=_0x3b8bfa,Sn=(_0x3a493e,_0x2aeabe,_0x30c267,_0x4dbb14)=>{const _0x58af3f=_0x5e9d2a;for(var _0x589ba3=_0x4dbb14>0x1?void 0x0:_0x4dbb14?dn(_0x2aeabe,_0x30c267):_0x2aeabe,_0x171b8d=_0x3a493e[_0x58af3f(0x26f)]-0x1,_0x1d3bc6;_0x171b8d>=0x0;_0x171b8d--)(_0x1d3bc6=_0x3a493e[_0x171b8d])&&(_0x589ba3=_0x1d3bc6(_0x589ba3)||_0x589ba3);return _0x589ba3;},be=(_0x9f30e9,_0x544fe6)=>(_0x798fa2,_0x4e1757)=>_0x544fe6(_0x798fa2,_0x4e1757,_0x9f30e9),mn=(_0x4bb730,_0x5f2b61,_0x2dde56)=>fn(_0x4bb730,_0x5f2b61+'',_0x2dde56);const gn=_0x5e9d2a(0x115);let Ae=class extends _0x4977e4{constructor(_0x456717=et,_0x314cee,_0x3fcb2f,_0x3d314c){const _0x26a825=_0x5e9d2a;super(),this[_0x26a825(0x188)]=_0x456717,this[_0x26a825(0x244)]=_0x314cee,this[_0x26a825(0x160)]=_0x3fcb2f,this[_0x26a825(0x221)]=_0x3d314c;const {..._0x1d2ad6}=_0x343961({},et,this['_config']);this[_0x26a825(0x221)][_0x26a825(0x24d)](Zi,_0x1d2ad6);}[_0x5e9d2a(0x1ee)](){const _0x2239a2=_0x5e9d2a;this[_0x2239a2(0x82)](),this[_0x2239a2(0xc2)]();}[_0x5e9d2a(0x278)](){const _0x533ee7=_0x5e9d2a;this[_0x533ee7(0x199)]();}[_0x5e9d2a(0x82)](){const _0x113819=_0x5e9d2a;var _0x52c00e;const _0x374d85=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x52d687,{'useClass':_0x3f16fb}],[_0x48bf36,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x3c0aa9(this['_injector'],_0x4c7ef2(_0x374d85,(_0x52c00e=this[_0x113819(0x188)])==null?void 0x0:_0x52c00e[_0x113819(0x229)]));}[_0x5e9d2a(0x199)](){const _0x5dce09=_0x5e9d2a;this['disposeWithMe'](this[_0x5dce09(0x244)][_0x5dce09(0x1fb)](_0xe74d3[_0x5dce09(0x26a)],[Pe])),this[_0x5dce09(0xf6)](this['_renderManagerService'][_0x5dce09(0x1fb)](_0xe74d3[_0x5dce09(0x85)],[we]));}[_0x5e9d2a(0xc2)](){const _0x774c09=_0x5e9d2a;_0x56af15(this[_0x774c09(0x160)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x5e9d2a(0x27f),gn),Ae=Sn([_0x5a6ae2(_0x1a896e),be(0x1,_0x49603f),be(0x2,_0x2afc3f(_0x1ccbb8)),be(0x3,_0x335bdb)],Ae);var vn=Object[_0x5e9d2a(0x101)],In=(_0x224044,_0x4a1a12,_0x3dc612,_0x513b05)=>{const _0x41c219=_0x5e9d2a;for(var _0x4e7a51=_0x513b05>0x1?void 0x0:_0x513b05?vn(_0x4a1a12,_0x3dc612):_0x4a1a12,_0x184412=_0x224044[_0x41c219(0x26f)]-0x1,_0x3371e5;_0x184412>=0x0;_0x184412--)(_0x3371e5=_0x224044[_0x184412])&&(_0x4e7a51=_0x3371e5(_0x4e7a51)||_0x4e7a51);return _0x4e7a51;},K=(_0x32721a,_0x2dd6fa)=>(_0x59e1e2,_0x4e5e7f)=>_0x2dd6fa(_0x59e1e2,_0x4e5e7f,_0x32721a);let st=class extends _0x5308bc{constructor(_0x548819,_0x464134,_0x1c4308,_0x4be484,_0x4fc362){super(_0x548819,_0x464134,_0x1c4308,_0x4be484,_0x4fc362);}async['createSocket'](_0x588b3e){const _0xcdd695=_0x5e9d2a,_0x530695=await this[_0xcdd695(0x89)](),_0x732ca=this['_createSocketURL'](_0x588b3e,_0x530695);return this[_0xcdd695(0xa8)](_0x732ca);}['_createSocketURL'](_0xc955b9,_0x5db7be){const _0xa6f9fa=_0x5e9d2a,_0x2ba573=typeof window>'u'?new URL(_0xc955b9):new URL(_0xc955b9,window[_0xa6f9fa(0x207)][_0xa6f9fa(0x12f)]);_0x2ba573['searchParams']['set'](_0xa6f9fa(0x110),_0x5db7be);const _0x1bd2d6=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xa6f9fa(0x207)][_0xa6f9fa(0x112)]);return _0x1bd2d6['get']('runId')&&_0x2ba573[_0xa6f9fa(0x253)]['set'](_0xa6f9fa(0xd0),_0x1bd2d6[_0xa6f9fa(0x88)]('runId')),_0x2ba573[_0xa6f9fa(0x109)]();}async['_getSessionTicket'](){const _0xad920a=_0x5e9d2a;var _0x549c03,_0x2c2051,_0x5c1be7;const _0x305793=this[_0xad920a(0x221)][_0xad920a(0x16b)](_0x3593b6),_0x4ba81e=(_0x549c03=_0x305793==null?void 0x0:_0x305793['wsSessionTicketUrl'])!=null?_0x549c03:_0x28ee03;return(_0x5c1be7=(_0x2c2051=(await this[_0xad920a(0x116)]['get'](_0x4ba81e,{'headers':{'Content-Type':_0xad920a(0x1ab)}}))[_0xad920a(0x1f5)])==null?void 0x0:_0x2c2051[_0xad920a(0xf0)])!=null?_0x5c1be7:'';}};st=In([K(0x0,_0x2afc3f(_0x1ccbb8)),K(0x1,_0x2afc3f(_0x5b1d0d)),K(0x2,_0x335bdb),K(0x3,_0x1936a9),K(0x4,_0x2903a1)],st);const it=0x7530,nt='ACTIVE_UNIT_EVENT_CHANNEL';class jn extends _0x5348ab{constructor(){const _0x1781e3=_0x5e9d2a;super(),_(this,'_id',_0x3a1a85()),_(this,_0x1781e3(0x19b),new Set()),_(this,_0x1781e3(0x1f4),new Map()),_(this,_0x1781e3(0xe4),null),_(this,_0x1781e3(0x17f),new Map()),_(this,'_unitStatus',new Map()),this[_0x1781e3(0x136)]();}['dispose'](){const _0x11ae20=_0x5e9d2a;super[_0x11ae20(0x17a)](),this[_0x11ae20(0x17f)][_0x11ae20(0x281)]((_0x41fed3,_0x27ac09)=>this['_removeClearOtherTimer'](_0x27ac09)),this[_0x11ae20(0xe4)]&&window[_0x11ae20(0xf4)](this[_0x11ae20(0xe4)]);}[_0x5e9d2a(0x170)](_0x36a3ec){const _0x3401a4=_0x5e9d2a;return this[_0x3401a4(0x1e9)](_0x36a3ec)['pipe'](_0x2b3d97());}[_0x5e9d2a(0x222)](_0x3dde86){const _0x2dec19=_0x5e9d2a;this['_selfUnitIDs'][_0x2dec19(0x1b4)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x2dec19(0x1b8)](_0x3dde86),this[_0x2dec19(0xad)]({'type':0x0,'memberID':this[_0x2dec19(0x16d)],'unitIDs':[_0x3dde86],'isForwarded':!0x1});}[_0x5e9d2a(0x113)](_0x2f4782){const _0x4559b6=_0x5e9d2a;this[_0x4559b6(0x19b)][_0x4559b6(0x13e)](_0x2f4782),this[_0x4559b6(0x19b)][_0x4559b6(0x1b4)]===0x0&&this[_0x4559b6(0xe4)]&&window[_0x4559b6(0xf4)](this[_0x4559b6(0xe4)]);}['_init'](){const _0x2c85e4=_0x5e9d2a;this[_0x2c85e4(0xf6)](_0x2f98b2(_0x55984f(window,_0x2c85e4(0xc9))['subscribe'](_0x286be9=>{const _0x5066f7=_0x2c85e4;if(_0x286be9[_0x5066f7(0x1c0)]!==nt||!_0x286be9[_0x5066f7(0x153)])return;const _0x26d54d=JSON[_0x5066f7(0x1fd)](_0x286be9[_0x5066f7(0x153)]);this[_0x5066f7(0xc5)](_0x26d54d);}))),window[_0x2c85e4(0x203)](_0x2c85e4(0x13d),()=>this[_0x2c85e4(0xad)]({'type':0x1,'memberID':this[_0x2c85e4(0x16d)],'unitIDs':Array[_0x2c85e4(0x87)](this['_selfUnitIDs'])}));}[_0x5e9d2a(0xc5)](_0x2a7750){const _0xa3270c=_0x5e9d2a;switch(_0x2a7750[_0xa3270c(0xd5)]){case 0x0:this[_0xa3270c(0x81)](_0x2a7750);break;case 0x1:this[_0xa3270c(0x158)](_0x2a7750);break;case 0x2:this[_0xa3270c(0x145)](_0x2a7750);break;}}[_0x5e9d2a(0x81)](_0x56cc3f){const _0x31c4c=_0x5e9d2a,{unitIDs:_0x231769,memberID:_0x369a76,isForwarded:_0x694648}=_0x56cc3f;_0x231769['forEach'](_0x4bac10=>{const _0x161a17=_0x232c;if(!_0x694648&&this['_unitOnClients'][_0x161a17(0x225)](_0x4bac10)&&this[_0x161a17(0x1e9)](_0x4bac10)['next'](_0x4b9ec2[_0x161a17(0x191)]),!this[_0x161a17(0x1f4)][_0x161a17(0x225)](_0x4bac10)||!this[_0x161a17(0x1f4)]['get'](_0x4bac10)['has'](_0x369a76)){const _0xd42fef=this['_unitOnClients'][_0x161a17(0x88)](_0x4bac10)||new Set();_0xd42fef[_0x161a17(0x1b8)](_0x369a76),this[_0x161a17(0x1f4)][_0x161a17(0x138)](_0x4bac10,_0xd42fef),this[_0x161a17(0x9d)](_0x369a76);}}),_0x694648||this[_0x31c4c(0xad)]({'type':0x0,'memberID':this[_0x31c4c(0x16d)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x5e9d2a(0x9d)](_0x565047){const _0x55e2cb=_0x5e9d2a;this[_0x55e2cb(0x12c)](_0x565047);const _0x585289=window[_0x55e2cb(0x238)](()=>{const _0x35b60d=_0x55e2cb;this[_0x35b60d(0x1f4)][_0x35b60d(0x281)](_0x169238=>{const _0x64b90b=_0x35b60d;_0x169238[_0x64b90b(0x13e)](_0x565047);});},it*0x2);this[_0x55e2cb(0x17f)][_0x55e2cb(0x138)](_0x565047,_0x585289);}['_removeClearOtherTimer'](_0x4f9321){const _0x57209a=_0x5e9d2a;if(this['_clearOtherTimers']['has'](_0x4f9321)){const _0x396098=this[_0x57209a(0x17f)]['get'](_0x4f9321);_0x396098&&window[_0x57209a(0x24b)](_0x396098),this[_0x57209a(0x17f)]['set'](_0x4f9321,null);}}['_handleLeaveEvent'](_0x4ca74f){const _0x44043a=_0x5e9d2a,{memberID:_0x542be7,unitIDs:_0x166be7}=_0x4ca74f;_0x166be7[_0x44043a(0x281)](_0x228a96=>{const _0x1528fc=_0x44043a;var _0x34ae08;const _0x5220c3=this['_unitOnClients'][_0x1528fc(0x88)](_0x228a96);_0x5220c3&&(_0x5220c3['delete'](_0x542be7),(_0x34ae08=this[_0x1528fc(0x1e9)](_0x228a96))==null||_0x34ae08[_0x1528fc(0x1d3)](_0x5220c3[_0x1528fc(0x1b4)]===0x0?_0x4b9ec2['NO_OTHER_CLIENTS_EDITING']:_0x4b9ec2['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x542be7);}[_0x5e9d2a(0x145)](_0x12fc35){const _0x58226e=_0x5e9d2a;this['_scheduleClearOtherTimer'](_0x12fc35[_0x58226e(0xb8)]);}[_0x5e9d2a(0xad)](_0x59d6ca){const _0x3c7f5d=_0x5e9d2a;localStorage[_0x3c7f5d(0x8c)](nt,JSON[_0x3c7f5d(0x184)](_0x59d6ca));}['_scheduleHeartbeat'](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x234d78=_0x232c;this[_0x234d78(0xad)]({'type':0x2,'memberID':this[_0x234d78(0x16d)]});},it);}[_0x5e9d2a(0x1e9)](_0x31decf){const _0x2aa360=_0x5e9d2a;return this['_unitStatus'][_0x2aa360(0x225)](_0x31decf)||this[_0x2aa360(0xd3)][_0x2aa360(0x138)](_0x31decf,new _0x1084b7(_0x4b9ec2['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus']['get'](_0x31decf);}}var Mt=(_0x1baacc=>(_0x1baacc[_0x1baacc[_0x5e9d2a(0x1ce)]=0x0]='UNDEFINED',_0x1baacc[_0x1baacc['OK']=0x1]='OK',_0x1baacc[_0x1baacc[_0x5e9d2a(0xa9)]=0x2]=_0x5e9d2a(0xa9),_0x1baacc[_0x1baacc[_0x5e9d2a(0x216)]=0x3]='PERMISSION_DENIED',_0x1baacc[_0x1baacc[_0x5e9d2a(0x157)]=0x4]=_0x5e9d2a(0x157),_0x1baacc[_0x1baacc['UNAUTHENTICATED']=0x5]=_0x5e9d2a(0x1eb),_0x1baacc[_0x1baacc[_0x5e9d2a(0x268)]=0x6]=_0x5e9d2a(0x268),_0x1baacc[_0x1baacc[_0x5e9d2a(0x19f)]=0x7]='INVALID_ARGUMENT',_0x1baacc[_0x1baacc[_0x5e9d2a(0xb2)]=0x8]='TOO_MANY_REQUESTS',_0x1baacc[_0x1baacc['COMPLETION_FINISHED']=0x9]=_0x5e9d2a(0x21e),_0x1baacc[_0x1baacc[_0x5e9d2a(0x1b2)]=0xa]=_0x5e9d2a(0x1b2),_0x1baacc[_0x1baacc[_0x5e9d2a(0xa1)]=0x1389]=_0x5e9d2a(0xa1),_0x1baacc[_0x1baacc[_0x5e9d2a(0x12d)]=0x1771]=_0x5e9d2a(0x12d),_0x1baacc[_0x1baacc[_0x5e9d2a(0xa7)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x1baacc[_0x1baacc[_0x5e9d2a(0xce)]=0x1773]=_0x5e9d2a(0xce),_0x1baacc[_0x1baacc[_0x5e9d2a(0x231)]=0x1b59]=_0x5e9d2a(0x231),_0x1baacc[_0x1baacc[_0x5e9d2a(0x23b)]=0x1b5a]=_0x5e9d2a(0x23b),_0x1baacc[_0x1baacc[_0x5e9d2a(0x152)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x1baacc[_0x1baacc[_0x5e9d2a(0x165)]=0x1b5c]=_0x5e9d2a(0x165),_0x1baacc[_0x1baacc[_0x5e9d2a(0x273)]=0x1b5d]=_0x5e9d2a(0x273),_0x1baacc[_0x1baacc[_0x5e9d2a(0x265)]=0x1f41]=_0x5e9d2a(0x265),_0x1baacc[_0x1baacc[_0x5e9d2a(0x1a6)]=0x2329]=_0x5e9d2a(0x1a6),_0x1baacc[_0x1baacc['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x5e9d2a(0x1d1),_0x1baacc[_0x1baacc['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x5e9d2a(0x249),_0x1baacc[_0x1baacc['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x5e9d2a(0x15a),_0x1baacc[_0x1baacc[_0x5e9d2a(0x23a)]=0x232d]=_0x5e9d2a(0x23a),_0x1baacc[_0x1baacc[_0x5e9d2a(0x104)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x1baacc[_0x1baacc[_0x5e9d2a(0x128)]=0x2712]=_0x5e9d2a(0x128),_0x1baacc[_0x1baacc['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x5e9d2a(0xc1),_0x1baacc[_0x1baacc[_0x5e9d2a(0xe9)]=0x2714]=_0x5e9d2a(0xe9),_0x1baacc[_0x1baacc[_0x5e9d2a(0xe6)]=0x271a]=_0x5e9d2a(0xe6),_0x1baacc[_0x1baacc[_0x5e9d2a(0x14e)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x1baacc[_0x1baacc[_0x5e9d2a(0x1e5)]=0x2af9]=_0x5e9d2a(0x1e5),_0x1baacc[_0x1baacc[_0x5e9d2a(0xc6)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x1baacc[_0x1baacc['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x1baacc[_0x1baacc[_0x5e9d2a(0x150)]=0x2ee3]=_0x5e9d2a(0x150),_0x1baacc[_0x1baacc[_0x5e9d2a(0x24c)]=0x2ee4]=_0x5e9d2a(0x24c),_0x1baacc[_0x1baacc[_0x5e9d2a(0xa5)]=0x2ee5]=_0x5e9d2a(0xa5),_0x1baacc[_0x1baacc[_0x5e9d2a(0x227)]=0x32c9]=_0x5e9d2a(0x227),_0x1baacc[_0x1baacc[_0x5e9d2a(0x119)]=0x32ca]=_0x5e9d2a(0x119),_0x1baacc[_0x1baacc[_0x5e9d2a(0x1d2)]=0x32cb]=_0x5e9d2a(0x1d2),_0x1baacc[_0x1baacc[_0x5e9d2a(0xe0)]=-0x1]=_0x5e9d2a(0xe0),_0x1baacc))(Mt||{}),pn=Object[_0x5e9d2a(0x101)],Cn=(_0x2f684b,_0x474054,_0x614b99,_0x770b98)=>{for(var _0x22af9a=_0x770b98>0x1?void 0x0:_0x770b98?pn(_0x474054,_0x614b99):_0x474054,_0x3e9612=_0x2f684b['length']-0x1,_0x1dc756;_0x3e9612>=0x0;_0x3e9612--)(_0x1dc756=_0x2f684b[_0x3e9612])&&(_0x22af9a=_0x1dc756(_0x22af9a)||_0x22af9a);return _0x22af9a;},Oe=(_0x2de89c,_0x43ff8f)=>(_0x1355cd,_0x4144d1)=>_0x43ff8f(_0x1355cd,_0x4144d1,_0x2de89c);let rt=class extends _0x5348ab{constructor(_0x39a773,_0xd2dea3,_0x2966be){const _0x5415fe=_0x5e9d2a;super(),this[_0x5415fe(0x11c)]=_0x39a773,this['_httpService']=_0xd2dea3,this['_configService']=_0x2966be;}async[_0x5e9d2a(0x18a)](_0x4202c9,_0x66ccd,_0x1c3c66,..._0x54e3ce){const _0x5f399f=_0x5e9d2a;var _0x40be9a,_0x141951,_0x54aba9,_0x4b3782;const _0x249876=this[_0x5f399f(0x11c)]['getFocusedUnit']();if(!_0x249876)throw new Error(_0x5f399f(0xb0));const _0x2cd22f=((_0x40be9a=this['_configService'][_0x5f399f(0x16b)](_0x507d96))!=null?_0x40be9a:_0x5661ee)+'/'+_0x4202c9+_0x5f399f(0x167)+_0x66ccd,_0x2576fc=new URL(window[_0x5f399f(0x207)][_0x5f399f(0x20b)]),_0x5b929e={'scriptId':_0x4202c9,'runId':(_0x141951=_0x2576fc[_0x5f399f(0x253)][_0x5f399f(0x88)](_0x5f399f(0xd0)))!=null?_0x141951:'','function':_0x66ccd,'unitId':_0x249876['getUnitId'](),'argsOfFunction':JSON[_0x5f399f(0x184)](_0x54e3ce),'invokeId':(_0x54aba9=_0x1c3c66['invokeId'])!=null?_0x54aba9:'','executionId':(_0x4b3782=_0x1c3c66[_0x5f399f(0x26b)])!=null?_0x4b3782:''};try{const _0x30c2f3=await this[_0x5f399f(0x116)][_0x5f399f(0x220)](_0x2cd22f,{'body':_0x5b929e});return _0x30c2f3[_0x5f399f(0x1f5)][_0x5f399f(0x19c)]&&_0x30c2f3[_0x5f399f(0x1f5)][_0x5f399f(0x19c)][_0x5f399f(0x245)]!==Mt['OK']?_0x5f399f(0x1d9):_0x30c2f3[_0x5f399f(0x1f5)][_0x5f399f(0x118)];}catch{return _0x5f399f(0x1d9);}}};rt=Cn([Oe(0x0,_0x31afa3),Oe(0x1,_0x2afc3f(_0x5b1d0d)),Oe(0x2,_0x335bdb)],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 +1 @@
1
- const _0x4f0892=_0xe9b4;(function(_0x5d91ff,_0xb12568){const _0x1c39c4=_0xe9b4,_0x37dda2=_0x5d91ff();while(!![]){try{const _0x26c228=parseInt(_0x1c39c4(0xa1))/0x1*(-parseInt(_0x1c39c4(0xab))/0x2)+parseInt(_0x1c39c4(0xa2))/0x3+-parseInt(_0x1c39c4(0xb4))/0x4*(-parseInt(_0x1c39c4(0xa6))/0x5)+-parseInt(_0x1c39c4(0xb8))/0x6+parseInt(_0x1c39c4(0xb9))/0x7*(-parseInt(_0x1c39c4(0xac))/0x8)+parseInt(_0x1c39c4(0xa0))/0x9*(-parseInt(_0x1c39c4(0xae))/0xa)+parseInt(_0x1c39c4(0xad))/0xb;if(_0x26c228===_0xb12568)break;else _0x37dda2['push'](_0x37dda2['shift']());}catch(_0x1351e7){_0x37dda2['push'](_0x37dda2['shift']());}}}(_0x1692,0xf0efd));function _0x1692(){const _0x7cb7b2=['Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Synced','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','27920BJAzKg','64088gfFInF','35612852ddKuLS','1998810nIGSKN','Click\x20to\x20Reconnect','Local\x20file','Collaboration\x20Conflict','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Edit\x20conflicts','4uHZYon','Connection\x20failed,\x20please\x20check\x20your\x20network.','Authentication\x20Error','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','7220256ZOQEIk','77TSnbTl','63COWgUJ','113uPpFQM','4533966TZbmRh','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Syncing\x20server\x20data...','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','2530835leMimv','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.'];_0x1692=function(){return _0x7cb7b2;};return _0x1692();}const e={'collab-client':{'tooltip':{'reconnect':_0x4f0892(0xaf)}},'collabStatus':{'fetchMiss':_0x4f0892(0xa4),'conflict':_0x4f0892(0xb3),'notCollab':_0x4f0892(0xb0),'synced':_0x4f0892(0xa9),'syncing':'Syncing...','offline':_0x4f0892(0xb2)},'session':{'connection-failed':_0x4f0892(0xb5),'will-retry':_0x4f0892(0xa5),'room-full':_0x4f0892(0xa7),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x4f0892(0xb1),'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':_0x4f0892(0xb6),'content':_0x4f0892(0xb7)},'collaboration':{'single-unit':{'warning':_0x4f0892(0xa3)},'closeRoom':_0x4f0892(0xa8)},'auth':{'needGotoLoginAlert':_0x4f0892(0xaa)}};function _0xe9b4(_0x480a6a,_0x284c07){const _0x16929b=_0x1692();return _0xe9b4=function(_0xe9b422,_0x42fd0d){_0xe9b422=_0xe9b422-0xa0;let _0x319454=_0x16929b[_0xe9b422];return _0x319454;},_0xe9b4(_0x480a6a,_0x284c07);}export{e as default};
1
+ function _0x15ba(){const _0x25d3e8=['Click\x20to\x20Reconnect','Authentication\x20Error','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Connection\x20failed,\x20please\x20check\x20your\x20network.','4894866LOzmZJ','10191870zJNLsP','Local\x20file','15348rWBJxZ','59912HjrujX','161uDhJQp','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.','Syncing\x20server\x20data...','Synced','1670SKqYRY','Edit\x20conflicts','313851MhEJmI','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','196114YemztF','4774914QbheCI','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'];_0x15ba=function(){return _0x25d3e8;};return _0x15ba();}function _0x55b3(_0x425842,_0x22a488){const _0x15ba28=_0x15ba();return _0x55b3=function(_0x55b328,_0x5e7399){_0x55b328=_0x55b328-0x7b;let _0x52d000=_0x15ba28[_0x55b328];return _0x52d000;},_0x55b3(_0x425842,_0x22a488);}const _0x16571d=_0x55b3;(function(_0x136b5b,_0x32305d){const _0x28e29d=_0x55b3,_0x5c01ba=_0x136b5b();while(!![]){try{const _0xe46de7=parseInt(_0x28e29d(0x90))/0x1+parseInt(_0x28e29d(0x7e))/0x2+parseInt(_0x28e29d(0x7f))/0x3+parseInt(_0x28e29d(0x88))/0x4*(-parseInt(_0x28e29d(0x8e))/0x5)+-parseInt(_0x28e29d(0x85))/0x6+-parseInt(_0x28e29d(0x8a))/0x7*(parseInt(_0x28e29d(0x89))/0x8)+parseInt(_0x28e29d(0x86))/0x9;if(_0xe46de7===_0x32305d)break;else _0x5c01ba['push'](_0x5c01ba['shift']());}catch(_0x113ebf){_0x5c01ba['push'](_0x5c01ba['shift']());}}}(_0x15ba,0xd3838));const e={'collab-client':{'tooltip':{'reconnect':_0x16571d(0x81)}},'collabStatus':{'fetchMiss':_0x16571d(0x8c),'conflict':_0x16571d(0x8f),'notCollab':_0x16571d(0x87),'synced':_0x16571d(0x8d),'syncing':'Syncing...','offline':_0x16571d(0x7c)},'session':{'connection-failed':_0x16571d(0x84),'will-retry':_0x16571d(0x7d),'room-full':_0x16571d(0x7b),'collaboration-timeout':_0x16571d(0x80)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x16571d(0x8b)},'permission':{'title':_0x16571d(0x82),'content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':_0x16571d(0x83)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};export{e as default};
@@ -1 +1 @@
1
- const _0xc53cff=_0x3946;function _0x280a(){const _0x1bce9a=['یک\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در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','پرونده\x20محلی','در\x20حال\x20همگام\x20سازی...','5028822ogaxDv','557421aFaNyL','اتاق\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ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','348260siSGqW','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','2448992bHDWAo','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','تداخل\x20همکاری','331723hYogkh','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','346448Qyciam','15uyrHLI','تداخل\x20ویرایش','7992912xzBeGR','همگام\x20سازی'];_0x280a=function(){return _0x1bce9a;};return _0x280a();}(function(_0x41a2ca,_0x2403fd){const _0x896409=_0x3946,_0x411d5d=_0x41a2ca();while(!![]){try{const _0xe13706=-parseInt(_0x896409(0x7b))/0x1+parseInt(_0x896409(0x7d))/0x2+-parseInt(_0x896409(0x70))/0x3+-parseInt(_0x896409(0x75))/0x4*(-parseInt(_0x896409(0x7e))/0x5)+-parseInt(_0x896409(0x6f))/0x6+parseInt(_0x896409(0x78))/0x7+parseInt(_0x896409(0x80))/0x8;if(_0xe13706===_0x2403fd)break;else _0x411d5d['push'](_0x411d5d['shift']());}catch(_0x12b0d6){_0x411d5d['push'](_0x411d5d['shift']());}}}(_0x280a,0x686ca));function _0x3946(_0x289478,_0x6b74e4){const _0x280a41=_0x280a();return _0x3946=function(_0x394667,_0x7e217a){_0x394667=_0x394667-0x6d;let _0x56fabd=_0x280a41[_0x394667];return _0x56fabd;},_0x3946(_0x289478,_0x6b74e4);}const o={'collab-client':{'tooltip':{'reconnect':_0xc53cff(0x77)}},'collabStatus':{'fetchMiss':_0xc53cff(0x7c),'conflict':_0xc53cff(0x7f),'notCollab':_0xc53cff(0x6d),'synced':_0xc53cff(0x81),'syncing':_0xc53cff(0x6e),'offline':_0xc53cff(0x73)},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':_0xc53cff(0x79),'room-full':_0xc53cff(0x71),'collaboration-timeout':_0xc53cff(0x76)},'conflict':{'title':_0xc53cff(0x7a),'content':_0xc53cff(0x82)},'permission':{'title':_0xc53cff(0x83),'content':_0xc53cff(0x84)},'collaboration':{'single-unit':{'warning':_0xc53cff(0x72)},'closeRoom':_0xc53cff(0x74)},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};export{o as default};
1
+ const _0x580438=_0x38d8;(function(_0x56f0a1,_0x5e5042){const _0x3202ba=_0x38d8,_0x39cf52=_0x56f0a1();while(!![]){try{const _0x325977=-parseInt(_0x3202ba(0x1a4))/0x1+parseInt(_0x3202ba(0x1a3))/0x2+-parseInt(_0x3202ba(0x1ac))/0x3*(-parseInt(_0x3202ba(0x1b0))/0x4)+-parseInt(_0x3202ba(0x1a0))/0x5*(-parseInt(_0x3202ba(0x1ab))/0x6)+parseInt(_0x3202ba(0x1b2))/0x7*(parseInt(_0x3202ba(0x19e))/0x8)+parseInt(_0x3202ba(0x1a1))/0x9+-parseInt(_0x3202ba(0x1ae))/0xa;if(_0x325977===_0x5e5042)break;else _0x39cf52['push'](_0x39cf52['shift']());}catch(_0x48493d){_0x39cf52['push'](_0x39cf52['shift']());}}}(_0x4a89,0x53bd5));function _0x4a89(){const _0x413085=['برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','1253152IHJElY','در\x20حال\x20همگام\x20سازی...','1574330SWYCgo','4316013tBFdde','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','779574ZLWzVZ','125717pICOSx','پرونده\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صفحه\x20از\x20بین\x20خواهند\x20رفت.','همگام\x20سازی','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','6tpvqzJ','216dkBYHa','خطای\x20اعتبارسنجی','13219680flUUUB','تداخل\x20ویرایش','16288exYzdX','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','14vjDotw','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','تداخل\x20همکاری'];_0x4a89=function(){return _0x413085;};return _0x4a89();}function _0x38d8(_0x181fe8,_0x5f27ba){const _0x4a89b4=_0x4a89();return _0x38d8=function(_0x38d8cd,_0x2011b8){_0x38d8cd=_0x38d8cd-0x19c;let _0x1b2416=_0x4a89b4[_0x38d8cd];return _0x1b2416;},_0x38d8(_0x181fe8,_0x5f27ba);}const o={'collab-client':{'tooltip':{'reconnect':_0x580438(0x19d)}},'collabStatus':{'fetchMiss':_0x580438(0x1a6),'conflict':_0x580438(0x1af),'notCollab':_0x580438(0x1a5),'synced':_0x580438(0x1a9),'syncing':_0x580438(0x19f),'offline':'آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','room-full':_0x580438(0x1a7),'collaboration-timeout':_0x580438(0x1a2)},'conflict':{'title':_0x580438(0x19c),'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':_0x580438(0x1ad),'content':_0x580438(0x1a8)},'collaboration':{'single-unit':{'warning':_0x580438(0x1b1)},'closeRoom':_0x580438(0x1b3)},'auth':{'needGotoLoginAlert':_0x580438(0x1aa)}};export{o as default};