@univerjs-pro/collaboration-client-ui 0.8.0-nightly.202505301607 → 0.8.0-nightly.202505311606

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 _0x4efb46=_0x28ab;(function(_0x53ce04,_0x3a7a62){const _0x1b98d1=_0x28ab,_0x59731c=_0x53ce04();while(!![]){try{const _0xde8de1=parseInt(_0x1b98d1(0x330))/0x1*(-parseInt(_0x1b98d1(0x33d))/0x2)+-parseInt(_0x1b98d1(0x1bf))/0x3*(parseInt(_0x1b98d1(0x1fe))/0x4)+-parseInt(_0x1b98d1(0x29c))/0x5+parseInt(_0x1b98d1(0x16a))/0x6*(-parseInt(_0x1b98d1(0x26d))/0x7)+-parseInt(_0x1b98d1(0x324))/0x8*(parseInt(_0x1b98d1(0x264))/0x9)+parseInt(_0x1b98d1(0x281))/0xa+parseInt(_0x1b98d1(0x2c6))/0xb*(parseInt(_0x1b98d1(0x243))/0xc);if(_0xde8de1===_0x3a7a62)break;else _0x59731c['push'](_0x59731c['shift']());}catch(_0x443cf5){_0x59731c['push'](_0x59731c['shift']());}}}(_0x906e,0x86c3d));var $t=Object[_0x4efb46(0x283)],xt=(_0x3db749,_0x521325,_0x20825b)=>_0x521325 in _0x3db749?$t(_0x3db749,_0x521325,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x20825b}):_0x3db749[_0x521325]=_0x20825b,_=(_0x3418d4,_0x5c4cbe,_0x3d7799)=>xt(_0x3418d4,typeof _0x5c4cbe!=_0x4efb46(0x2b0)?_0x5c4cbe+'':_0x5c4cbe,_0x3d7799);import{MemberService as _0x36d44a,SessionStatus as _0x36e997,CollaborationSessionService as _0x1a5d93,CollaborationStatus as _0x2fb3dc,CollaborationController as _0x209cdd,ILocalCacheService as _0x32856e,CollaborationUIEventService as _0x582dfc,CollaborationUIEventId as _0x373aa0,DataLoaderService as _0x1653c9,DocCollaborationEntity as _0x5007f0,getLocalCacheKey as _0x5aebcf,LOCAL_CACHE_INTERVAL as _0x5dc579,LOCAL_CACHE_INTERVAL_KEY as _0x3a3ad1,UniverCollaborationClientPlugin as _0x5bf239,CollaborationSocketService as _0x329e6f,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x1297d2,DEFAULT_WS_SESSION_TICKET_URL as _0x366de9,UnitStatus as _0xbaefe9,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x515373,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x29348a}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x264876,Disposable as _0x56014e,DOC_RANGE_TYPE as _0x47ea56,Inject as _0xc24e4b,Injector as _0x35c1bd,IUniverInstanceService as _0xb3fb3f,ICommandService as _0xc68a40,debounce as _0x10b8fb,Rectangle as _0x4e0edf,DisposableCollection as _0x302056,toDisposable as _0x19548f,UniverInstanceType as _0x3f742a,Tools as _0x24e58b,COLORS as _0x219248,ColorKit as _0x39995a,ThemeService as _0x3a07ea,fromEventSubject as _0x3ef67d,LocaleService as _0xe5abc6,createIdentifier as _0x11359d,ILogService as _0x5ce2e9,Optional as _0x232a08,Workbook as _0x1e4069,CommandType as _0x632caa,IConfigService as _0x332256,ILocalStorageService as _0xeced3c,DependentOn as _0x5d2859,Plugin as _0x21d542,merge as _0x294622,registerDependencies as _0x589ccb,mergeOverrideWithDependencies as _0x544fe0,touchDependencies as _0x4dfeac,generateRandomId as _0x4980f9}from'@univerjs/core';import{Shape as _0x50f11a,Rect as _0x37cfd0,getColor as _0x3f4962,RegularPolygon as _0x22432b,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x47f57f,Vector2 as _0x507064,SHEET_VIEWPORT_KEY as _0x160298,IRenderManagerService as _0x2baf14}from'@univerjs/engine-render';import{ISocketService as _0x5ace9a,WebSocketService as _0x1e46f2,HTTPService as _0x434602}from'@univerjs/network';import{IDocClipboardService as _0x109a88,NodePositionConvertToCursor as _0x511890,NodePositionConvertToRectRange as _0x2827a9,TEXT_RANGE_LAYER_INDEX as _0x4c5bce,SetDocZoomRatioOperation as _0x3b78bf,DocIMEInputManagerService as _0x3b1b9c,DocStateChangeManagerService as _0x5ca87d}from'@univerjs/docs-ui';import{IImageIoService as _0x55c491}from'@univerjs/drawing';import{BehaviorSubject as _0xc73289,debounceTime as _0x47a830,takeUntil as _0x760463,Subject as _0x2413fc,filter as _0x140671,switchMap as _0x1b9fb8,merge as _0x10fadc,combineLatest as _0x5be441,of as _0x4846f1,fromEvent as _0x2e4f04,shareReplay as _0x4e92ea,mapTo as _0x10fcff,distinctUntilChanged as _0x9e2d26}from'rxjs';import{SetTextSelectionsOperation as _0x73adb3,RichTextEditingMutation as _0x1cb735,DocSelectionManagerService as _0x5afbad,DocSkeletonManagerService as _0x34549c}from'@univerjs/docs';import{ITransformService as _0xc02503,CollaborationEvent as _0x119239,isTransformMutationFailure as _0x4dbfd1,isTransformMutationsWithChangesetSuccess as _0x1c81b1,RevisionService as _0x141ad4,ISnapshotServerService as _0x5f08f1}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x507f40,serializeRangeWithSheet as _0x54c2fd}from'@univerjs/engine-formula';import{RefRangeService as _0x2b1c69,SetSelectionsOperation as _0x42b29b,SheetsSelectionsService as _0x3e1129,EffectRefRangId as _0x16b958,handleIRemoveRow as _0x1e46d7,handleIRemoveCol as _0x5c6a0a,handleMoveRange as _0x28c7fd,handleInsertRow as _0x4f5ace,handleInsertRangeMoveRight as _0xc933e1,handleInsertRangeMoveDown as _0x29eb48,handleInsertCol as _0x3b6c6e,handleDeleteRangeMoveUp as _0x48e611,handleDeleteRangeMoveLeft as _0x585076,runRefRangeMutations as _0x5056ce,SetWorksheetActivateCommand as _0x3f9a83}from'@univerjs/sheets';import{map as _0x90759a,filter as _0x10acae,throttleTime as _0x1133d9,takeUntil as _0x492ddb,switchMap as _0x385aee}from'rxjs/operators';import{SheetSkeletonManagerService as _0x25b8e3,getCoordByCell as _0x3bbc56,getSheetObject as _0x207f8a}from'@univerjs/sheets-ui';import{jsx as _0x4b1da7,jsxs as _0xab21e5}from'react/jsx-runtime';import{useObservable as _0x4fff27,useDependency as _0x37419a,IUIPartsService as _0x513ab5,BuiltInUIPart as _0x55c190,connectInjector as _0x38a51b,IBeforeCloseService as _0x445e71,IMessageService as _0x251236,INotificationService as _0x34023a}from'@univerjs/ui';import{Tooltip as _0x2eed63,clsx as _0x5e46e7,MessageType as _0x230161}from'@univerjs/design';import{forwardRef as _0xf2f6e1,useRef as _0x4551a4,createElement as _0x244245,useCallback as _0xe4d2e2}from'react';import{IRemoteInstanceService as _0x429d76}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0x1c76a8,_0x69740e,_0x356150,_0x328d69)=>{const _0x4c62cf=_0x4efb46;for(var _0xc98173=_0x328d69>0x1?void 0x0:_0x328d69?ci(_0x69740e,_0x356150):_0x69740e,_0x50636a=_0x1c76a8[_0x4c62cf(0x23c)]-0x1,_0x1dc0aa;_0x50636a>=0x0;_0x50636a--)(_0x1dc0aa=_0x1c76a8[_0x50636a])&&(_0xc98173=_0x1dc0aa(_0xc98173)||_0xc98173);return _0xc98173;},Je=(_0x488c3d,_0x406bc1)=>(_0x1b268f,_0x53da15)=>_0x406bc1(_0x1b268f,_0x53da15,_0x488c3d);let Ne=class extends _0x264876{constructor(_0x39587e,_0x141556){const _0x52bfa4=_0x4efb46;super(),this[_0x52bfa4(0x2e8)]=_0x39587e,this[_0x52bfa4(0x206)]=_0x141556,this[_0x52bfa4(0x2a5)]();}[_0x4efb46(0x2a5)](){const _0xcf156c=_0x4efb46,_0x3c7238=this;this[_0xcf156c(0x1ee)](this[_0xcf156c(0x2e8)][_0xcf156c(0x1a5)]({'onBeforePasteImage':async _0x4157ea=>{const _0x1039bd=_0xcf156c,_0x4db527=await _0x3c7238[_0x1039bd(0x206)][_0x1039bd(0x2d4)](_0x4157ea);return _0x4db527?{'source':_0x4db527['source'],'imageSourceType':_0x4db527[_0x1039bd(0x2c1)]}:null;}}));}};Ne=li([Je(0x0,_0x109a88),Je(0x1,_0x55c491)],Ne);const Ze=[_0x4efb46(0x28a),_0x4efb46(0x2d9),_0x4efb46(0x1ec),_0x4efb46(0x179),_0x4efb46(0x2bc),_0x4efb46(0x254)];class ke extends _0x56014e{constructor(){const _0x2bdc15=_0x4efb46;super(...arguments),_(this,_0x2bdc15(0x2b7),new Map()),_(this,_0x2bdc15(0x183),0x0);}[_0x4efb46(0x2b6)](_0x4d4a5c){const _0x306ced=_0x4efb46;if(this['_assignedColors'][_0x306ced(0x20a)](_0x4d4a5c))return this[_0x306ced(0x2b7)]['get'](_0x4d4a5c);const _0x30f3ac=Ze[this['_colorIndex']];return this[_0x306ced(0x183)]=(this[_0x306ced(0x183)]+0x1)%Ze[_0x306ced(0x23c)],this[_0x306ced(0x2b7)]['set'](_0x4d4a5c,_0x30f3ac),_0x30f3ac;}}function Tt(_0x5d9d7d){const _0x57eece=_0x4efb46;let _0x537bef='';for(const _0x24bd99 of _0x5d9d7d){const {startOffset:_0x5853eb,endOffset:_0x4be134,isActive:_0xa9d91e,rangeType:_0x4f06b5,segmentId:_0x507bb3,segmentPage:_0xf01312}=_0x24bd99;_0x537bef[_0x57eece(0x23c)]&&(_0x537bef+=','),_0x537bef+=_0x5853eb+':'+_0x4be134+':'+(_0xa9d91e?'1':'0')+':'+_0x4f06b5+':'+_0x507bb3+':'+_0xf01312;}return _0x537bef;}function _i(_0x142846){const _0x3bd04c=_0x4efb46,_0x57f662=_0x142846[_0x3bd04c(0x15a)](','),_0x16ef9c=[];for(const _0x269325 of _0x57f662){const [_0x2a74ea,_0xbae530,_0x16b6d0,_0x23413f,_0x25a450,_0xdd799c]=_0x269325[_0x3bd04c(0x15a)](':');_0x16ef9c[_0x3bd04c(0x1d1)]({'startOffset':Number(_0x2a74ea),'endOffset':Number(_0xbae530),'collapsed':_0x2a74ea===_0xbae530,'isActive':_0x16b6d0==='1','rangeType':_0x23413f===_0x47ea56['TEXT']?_0x47ea56[_0x3bd04c(0x162)]:_0x47ea56[_0x3bd04c(0x169)],'segmentId':typeof _0x25a450==_0x3bd04c(0x1bc)?String(_0x25a450):'','segmentPage':Number(_0xdd799c!=null?_0xdd799c:-0x1)});}return _0x16ef9c[_0x3bd04c(0x25f)](_0x49422a=>_0x49422a[_0x3bd04c(0x178)])||(_0x16ef9c[0x0][_0x3bd04c(0x178)]=!0x0),_0x16ef9c;}class He extends _0x264876{constructor(){const _0x5c2b75=_0x4efb46;super(...arguments),_(this,_0x5c2b75(0x21f),new _0xc73289(null)),_(this,_0x5c2b75(0x150),this[_0x5c2b75(0x21f)][_0x5c2b75(0x2ea)]());}['syncEditingCollabCursor'](_0x381ae2){const _0xa62d8=_0x4efb46,{unitID:_0x43f889,memberID:_0x15ce59,textRanges:_0x23a391}=_0x381ae2,_0x5100a0=Tt(_0x23a391);if(_0x5100a0==='')return;const _0x18e210={'unitID':_0x43f889,'memberID':_0x15ce59,'selection':_0x5100a0};this[_0xa62d8(0x21f)][_0xa62d8(0x326)](_0x18e210);}}var hi=Object[_0x4efb46(0x14b)],ui=(_0x1f350d,_0x52ba13,_0x101ea5,_0x3be71f)=>{const _0x3fc824=_0x4efb46;for(var _0x498c0a=_0x3be71f>0x1?void 0x0:_0x3be71f?hi(_0x52ba13,_0x101ea5):_0x52ba13,_0x3dabfb=_0x1f350d[_0x3fc824(0x23c)]-0x1,_0x57a71e;_0x3dabfb>=0x0;_0x3dabfb--)(_0x57a71e=_0x1f350d[_0x3dabfb])&&(_0x498c0a=_0x57a71e(_0x498c0a)||_0x498c0a);return _0x498c0a;},P=(_0x581bc9,_0x43463b)=>(_0x574a3f,_0x54ddef)=>_0x43463b(_0x574a3f,_0x54ddef,_0x581bc9);const di=0x12c,fi=0x64;function _0x28ab(_0x2abf13,_0x3e6c39){const _0x906eb4=_0x906e();return _0x28ab=function(_0x28abd1,_0x184e31){_0x28abd1=_0x28abd1-0x147;let _0x515d5c=_0x906eb4[_0x28abd1];return _0x515d5c;},_0x28ab(_0x2abf13,_0x3e6c39);}let Ue=class extends _0x264876{constructor(_0x4b3db8,_0x39a24f,_0x37ddef,_0x46902b,_0x4b016f,_0x273979,_0x3c4898,_0x540ee2,_0xb7cb4c){const _0x3c197d=_0x4efb46;super(),_(this,'_online',!0x1),_(this,_0x3c197d(0x2a5),!0x1),_(this,_0x3c197d(0x17b),new _0xc73289(new Map())),_(this,_0x3c197d(0x2f5),this[_0x3c197d(0x17b)][_0x3c197d(0x2ea)]()),_(this,_0x3c197d(0x184),new _0xc73289([])),_(this,_0x3c197d(0x14a),this[_0x3c197d(0x184)][_0x3c197d(0x22f)](_0x47a830(di))),_(this,_0x3c197d(0x23b),_0x10b8fb(_0x17a34c=>{const _0xdb14ae=_0x3c197d,_0x2b2dd4={'eventID':_0x119239['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0xdb14ae(0x2c8)][_0xdb14ae(0x350)](),'selection':Tt(_0x17a34c)}};this[_0xdb14ae(0x2c8)][_0xdb14ae(0x2b5)](_0x2b2dd4,this[_0xdb14ae(0x19d)]);},fi)),(this[_0x3c197d(0x19d)]=_0x4b3db8,this[_0x3c197d(0x2c8)]=_0x39a24f,this[_0x3c197d(0x23f)]=_0x37ddef,this[_0x3c197d(0x16e)]=_0x46902b,this['_memberService']=_0x4b016f,this[_0x3c197d(0x23a)]=_0x273979,this[_0x3c197d(0x1ba)]=_0x3c4898,this[_0x3c197d(0x2d1)]=_0x540ee2,this[_0x3c197d(0x207)]=_0xb7cb4c);}get['cursorInfo'](){const _0x35fda2=_0x4efb46;return this[_0x35fda2(0x17b)][_0x35fda2(0x2e9)]();}get[_0x4efb46(0x340)](){const _0x20742c=_0x4efb46;return this[_0x20742c(0x184)][_0x20742c(0x2e9)]();}[_0x4efb46(0x1b7)](){const _0x3eda18=_0x4efb46;super[_0x3eda18(0x1b7)](),this[_0x3eda18(0x17b)][_0x3eda18(0x326)](new Map()),this[_0x3eda18(0x17b)][_0x3eda18(0x33b)](),this[_0x3eda18(0x184)][_0x3eda18(0x326)]([]),this['_roomMembers$'][_0x3eda18(0x33b)]();}[_0x4efb46(0x28f)](){const _0x3e064b=_0x4efb46;this['_init']||(this[_0x3e064b(0x2a5)]=!0x0,this[_0x3e064b(0x2c8)][_0x3e064b(0x182)][_0x3e064b(0x22f)](_0x760463(this['dispose$']))[_0x3e064b(0x157)](_0x103e61=>{const _0x495323=_0x3e064b;_0x103e61===_0x36e997[_0x495323(0x227)]?this[_0x495323(0x235)]():this[_0x495323(0x2cf)]();}),this[_0x3e064b(0x2c8)][_0x3e064b(0x30e)][_0x3e064b(0x22f)](_0x760463(this['dispose$']))[_0x3e064b(0x157)](_0x15c72f=>{const _0x247dc3=_0x3e064b,_0x24f7e4=_0x15c72f[_0x247dc3(0x29a)];_0x24f7e4===_0x119239[_0x247dc3(0x26b)]&&this[_0x247dc3(0x1cd)](_0x15c72f),_0x24f7e4===_0x119239[_0x247dc3(0x355)]&&this[_0x247dc3(0x17d)](_0x15c72f);}),this[_0x3e064b(0x1ee)](this[_0x3e064b(0x207)][_0x3e064b(0x1ef)](_0x21abd7=>{const _0x70289d=_0x3e064b,_0x29cc41=_0x21abd7[_0x70289d(0x1b2)];_0x29cc41!=null&&this[_0x70289d(0x1d7)]&&_0x21abd7['id']===_0x73adb3['id']&&_0x29cc41[_0x70289d(0x152)]===this[_0x70289d(0x19d)]&&_0x29cc41[_0x70289d(0x1b9)]===!0x1&&_0x29cc41[_0x70289d(0x2d8)]['length']>0x0&&this['_updateLocalCursor'](_0x29cc41[_0x70289d(0x2d8)]);})),this['_syncEditingCollabCursorService'][_0x3e064b(0x150)]['pipe'](_0x760463(this['dispose$']))[_0x3e064b(0x157)](_0x3f81e7=>{const _0x265295=_0x3e064b;if((_0x3f81e7==null?void 0x0:_0x3f81e7['unitID'])!==this['unitID'])return;const _0x20f67d={'eventID':_0x119239[_0x265295(0x26b)],'data':_0x3f81e7};this[_0x265295(0x1cd)](_0x20f67d);}),this[_0x3e064b(0x1ee)](this[_0x3e064b(0x207)][_0x3e064b(0x1ef)](_0xe84e77=>{const _0x1e38a1=_0x3e064b;if(_0xe84e77[_0x1e38a1(0x1b2)]==null)return;const _0x34ac58=_0xe84e77['params'];if(_0xe84e77['id']!==_0x1cb735['id']||_0x34ac58[_0x1e38a1(0x152)]!==this['unitID'])return;const _0x9b3cfa={'id':_0x1e38a1(0x2d5),'params':_0x34ac58},_0x499884=this[_0x1e38a1(0x336)];for(const [_0x54d752,_0xa9c1b9]of _0x499884){const _0x513469={'id':_0x1e38a1(0x2d5),'params':{'unitId':this[_0x1e38a1(0x19d)],'actions':null,'textRanges':_0xa9c1b9[_0x1e38a1(0x2d8)]}},_0x2a5fda=this['_transformService'][_0x1e38a1(0x2d3)](_0x9b3cfa,_0x513469,!0x1);if(_0x4dbfd1(_0x2a5fda))throw _0x2a5fda[_0x1e38a1(0x2d7)];_0x499884[_0x1e38a1(0x311)](_0x54d752,{..._0xa9c1b9,'ranges':_0x2a5fda[_0x1e38a1(0x2da)][_0x1e38a1(0x1b2)][_0x1e38a1(0x2ec)]});}queueMicrotask(()=>{const _0x2b0c2b=_0x1e38a1;this[_0x2b0c2b(0x17b)][_0x2b0c2b(0x326)](_0x499884);});})));}[_0x4efb46(0x1cd)](_0x30ca0a){const _0x27ace0=_0x4efb46;var _0x29c799,_0x20af60;const {memberID:_0x59cd91,selection:_0x13c56b}=_0x30ca0a['data'],_0x3ffec8=_i(_0x13c56b),_0x378131=(_0x20af60=(_0x29c799=this[_0x27ace0(0x278)][_0x27ace0(0x1be)](this[_0x27ace0(0x19d)],_0x59cd91))==null?void 0x0:_0x29c799[_0x27ace0(0x289)])!=null?_0x20af60:_0x27ace0(0x309),_0x50640e={'color':this[_0x27ace0(0x16e)][_0x27ace0(0x2b6)](_0x59cd91),'name':_0x378131,'ranges':_0x3ffec8},_0x5bb3f6=this['cursorInfo'];_0x5bb3f6['set'](_0x59cd91,_0x50640e),this[_0x27ace0(0x17b)]['next'](_0x5bb3f6);}['_onCursorDelete'](_0x3971ce){const _0x4c4da0=_0x4efb46,{memberID:_0x54168b}=_0x3971ce[_0x4c4da0(0x269)],_0x2f6065=this[_0x4c4da0(0x336)];_0x2f6065[_0x4c4da0(0x30a)](_0x54168b),this[_0x4c4da0(0x17b)][_0x4c4da0(0x326)](_0x2f6065);}['_toggleOnline'](){const _0x34e956=_0x4efb46;var _0x4f7fd7;if(this[_0x34e956(0x1d7)]=!0x0,((_0x4f7fd7=this[_0x34e956(0x2d1)]['getFocusedUnit']())==null?void 0x0:_0x4f7fd7[_0x34e956(0x15b)]())!==this[_0x34e956(0x19d)])return;const _0x2425dc=this[_0x34e956(0x23f)][_0x34e956(0x352)](_0x5afbad)[_0x34e956(0x1ae)]();Array[_0x34e956(0x343)](_0x2425dc)&&_0x2425dc[_0x34e956(0x23c)]>0x0&&this[_0x34e956(0x23b)](_0x2425dc);}[_0x4efb46(0x2cf)](){this['_online']=!0x1;}};Ue=ui([P(0x2,_0xc24e4b(_0x35c1bd)),P(0x3,_0xc24e4b(ke)),P(0x4,_0xc24e4b(_0x36d44a)),P(0x5,_0xc24e4b(He)),P(0x6,_0xc02503),P(0x7,_0xb3fb3f),P(0x8,_0xc68a40)],Ue);var Si=Object[_0x4efb46(0x14b)],mi=(_0x5eb574,_0x1d3b65,_0x5cc8c0,_0xea5a17)=>{const _0x1b2e24=_0x4efb46;for(var _0x1ab79c=_0xea5a17>0x1?void 0x0:_0xea5a17?Si(_0x1d3b65,_0x5cc8c0):_0x1d3b65,_0x509ac4=_0x5eb574[_0x1b2e24(0x23c)]-0x1,_0x3c3135;_0x509ac4>=0x0;_0x509ac4--)(_0x3c3135=_0x5eb574[_0x509ac4])&&(_0x1ab79c=_0x3c3135(_0x1ab79c)||_0x1ab79c);return _0x1ab79c;},x=(_0x357aee,_0x37c8c0)=>(_0x22d3cf,_0x4bd66f)=>_0x37c8c0(_0x22d3cf,_0x4bd66f,_0x357aee);const Ii=0x12c,gi=0x64,vi=()=>{let _0x2ce17f=[],_0x40c92f=!0x1;return _0x123477=>{_0x2ce17f['push'](_0x123477),_0x40c92f||(_0x40c92f=!0x0,setTimeout(()=>{const _0xfc736b=_0x28ab;_0x2ce17f[_0xfc736b(0x19e)](_0x4c31cb=>_0x4c31cb()),_0x2ce17f=[],_0x40c92f=!0x1;}));};};let Me=class extends _0x264876{constructor(_0x3e467d,_0x1970e4,_0x142d12,_0x5d461e,_0x5b7c7c,_0x30c547,_0x45377d,_0x1e9ed6){const _0x9458cf=_0x4efb46;super(),_(this,_0x9458cf(0x1d7),!0x1),_(this,_0x9458cf(0x2a5),!0x1),_(this,_0x9458cf(0x17b),new _0xc73289(new Map())),_(this,_0x9458cf(0x2f5),this[_0x9458cf(0x17b)][_0x9458cf(0x2ea)]()),_(this,'_roomMembers$',new _0xc73289([])),_(this,_0x9458cf(0x14a),this['_roomMembers$'][_0x9458cf(0x22f)](_0x47a830(Ii))),_(this,'_updateLocalCursor',_0x10b8fb((_0x3a5ac7,_0x123d0e)=>{const _0x2db38e=_0x9458cf,_0x3433a5={'eventID':_0x119239[_0x2db38e(0x26b)],'data':{'unitID':this[_0x2db38e(0x19d)],'memberID':this[_0x2db38e(0x2c8)]['getMemberID'](),'selection':_0x54c2fd(_0x3a5ac7,_0x123d0e['range'])}};this[_0x2db38e(0x2c8)]['send'](_0x3433a5,this['unitID']);},gi)),(this[_0x9458cf(0x19d)]=_0x3e467d,this[_0x9458cf(0x2c8)]=_0x1970e4,this[_0x9458cf(0x23f)]=_0x142d12,this[_0x9458cf(0x16e)]=_0x5d461e,this[_0x9458cf(0x278)]=_0x5b7c7c,this[_0x9458cf(0x2d1)]=_0x30c547,this[_0x9458cf(0x207)]=_0x45377d,this['_refRangeService']=_0x1e9ed6);}get[_0x4efb46(0x336)](){const _0x4908d2=_0x4efb46;return this[_0x4908d2(0x17b)][_0x4908d2(0x2e9)]();}get[_0x4efb46(0x340)](){const _0x5c9288=_0x4efb46;return this[_0x5c9288(0x184)]['getValue']();}[_0x4efb46(0x1b7)](){const _0x2b7e88=_0x4efb46;super[_0x2b7e88(0x1b7)](),this[_0x2b7e88(0x17b)][_0x2b7e88(0x326)](new Map()),this[_0x2b7e88(0x17b)][_0x2b7e88(0x33b)](),this[_0x2b7e88(0x184)]['next']([]),this['_roomMembers$'][_0x2b7e88(0x33b)]();}[_0x4efb46(0x28f)](){const _0x2fbc6f=_0x4efb46;this[_0x2fbc6f(0x2a5)]||(this[_0x2fbc6f(0x2a5)]=!0x0,this[_0x2fbc6f(0x2c8)]['sessionStatus$']['pipe'](_0x760463(this[_0x2fbc6f(0x34d)]))['subscribe'](_0x38971d=>{const _0x259a9e=_0x2fbc6f;_0x38971d===_0x36e997[_0x259a9e(0x227)]?this[_0x259a9e(0x235)]():this[_0x259a9e(0x2cf)]();}),this[_0x2fbc6f(0x2c8)][_0x2fbc6f(0x30e)][_0x2fbc6f(0x22f)](_0x760463(this[_0x2fbc6f(0x34d)]))[_0x2fbc6f(0x157)](_0xb62cc7=>{const _0x2a4937=_0x2fbc6f,_0x1103ce=_0xb62cc7[_0x2a4937(0x29a)];_0x1103ce===_0x119239['UPDATE_CURSOR']&&this[_0x2a4937(0x1cd)](_0xb62cc7),_0x1103ce===_0x119239[_0x2a4937(0x355)]&&this[_0x2a4937(0x17d)](_0xb62cc7);}),this[_0x2fbc6f(0x293)](),this[_0x2fbc6f(0x1ee)](this[_0x2fbc6f(0x207)][_0x2fbc6f(0x1ef)](_0x2ef696=>{const _0x4fcd53=_0x2fbc6f;if(this['_online']&&_0x2ef696['id']===_0x42b29b['id']&&_0x2ef696[_0x4fcd53(0x1b2)][_0x4fcd53(0x152)]===this['unitID']){const _0x22e415=_0x2ef696[_0x4fcd53(0x1b2)];this[_0x4fcd53(0x23b)](_0x22e415['subUnitId'],_0x22e415[_0x4fcd53(0x240)][0x0]);}})));}['_onCursorUpdate'](_0x29d50c){const _0x3ecb54=_0x4efb46;var _0x3cd2d1,_0x28d325;const {memberID:_0x5eb1ee,selection:_0x9e53cb}=_0x29d50c['data'],{sheetName:_0x8d30f4,range:_0x580d4d}=_0x507f40(_0x9e53cb),_0x127d7c={'name':(_0x28d325=(_0x3cd2d1=this[_0x3ecb54(0x278)][_0x3ecb54(0x1be)](this['unitID'],_0x5eb1ee))==null?void 0x0:_0x3cd2d1[_0x3ecb54(0x289)])!=null?_0x28d325:_0x3ecb54(0x309),'range':this[_0x3ecb54(0x274)](_0x8d30f4,_0x580d4d),'sheetID':_0x8d30f4,'color':this[_0x3ecb54(0x16e)]['assignAColorForMemberID'](_0x5eb1ee),'selection':_0x9e53cb},_0x224fe8=this[_0x3ecb54(0x336)];_0x224fe8[_0x3ecb54(0x311)](_0x5eb1ee,_0x127d7c),this[_0x3ecb54(0x17b)][_0x3ecb54(0x326)](_0x224fe8);}[_0x4efb46(0x17d)](_0x318b05){const _0x58a7cc=_0x4efb46,{memberID:_0x121504}=_0x318b05[_0x58a7cc(0x269)],_0x3440a4=this[_0x58a7cc(0x336)];_0x3440a4['delete'](_0x121504),this[_0x58a7cc(0x17b)][_0x58a7cc(0x326)](_0x3440a4);}[_0x4efb46(0x274)](_0x4b2cf7,_0x3ed60b){const _0x1bb7a1=_0x4efb46;var _0x34269b,_0x3568d0;const _0x21d2c8=(_0x3568d0=(_0x34269b=this[_0x1bb7a1(0x2d1)][_0x1bb7a1(0x319)](this[_0x1bb7a1(0x19d)]))==null?void 0x0:_0x34269b[_0x1bb7a1(0x156)](_0x4b2cf7))==null?void 0x0:_0x3568d0['getMergeData']();return(_0x21d2c8==null?void 0x0:_0x21d2c8[_0x1bb7a1(0x1fd)](_0x2f2cd9=>_0x4e0edf['contains'](_0x2f2cd9,_0x3ed60b)))||_0x3ed60b;}[_0x4efb46(0x293)](){const _0x3454e2=_0x4efb46,_0x35451c=new _0x302056(),_0x49d475=vi(),_0x5ea436=()=>{const _0x79b2a3=_0x28ab;_0x35451c[_0x79b2a3(0x1b7)]();const _0x46e9eb=(_0x1a1e65,_0x12acca,_0x3a6554,_0x40e1d9)=>{const _0xb438f2=_0x79b2a3;let _0x2a7329=[];switch(_0x1a1e65['id']){case _0x16b958[_0xb438f2(0x14e)]:{_0x2a7329=_0x585076(_0x1a1e65,_0x40e1d9);break;}case _0x16b958[_0xb438f2(0x2f4)]:{_0x2a7329=_0x48e611(_0x1a1e65,_0x40e1d9);break;}case _0x16b958[_0xb438f2(0x1a8)]:{_0x2a7329=_0x3b6c6e(_0x1a1e65,_0x40e1d9);break;}case _0x16b958[_0xb438f2(0x24b)]:{_0x2a7329=_0x29eb48(_0x1a1e65,_0x40e1d9);break;}case _0x16b958[_0xb438f2(0x325)]:{_0x2a7329=_0xc933e1(_0x1a1e65,_0x40e1d9);break;}case _0x16b958[_0xb438f2(0x19b)]:{_0x2a7329=_0x4f5ace(_0x1a1e65,_0x40e1d9);break;}case _0x16b958[_0xb438f2(0x1de)]:{_0x2a7329=_0x28c7fd(_0x1a1e65,_0x40e1d9);break;}case _0x16b958[_0xb438f2(0x1fa)]:{_0x2a7329=_0x5c6a0a(_0x1a1e65,_0x40e1d9);break;}case _0x16b958[_0xb438f2(0x33c)]:{_0x2a7329=_0x1e46d7(_0x1a1e65,_0x40e1d9);break;}}const _0x501feb=_0x5056ce(_0x2a7329,_0x40e1d9),_0x28011b=this['cursorInfo']['get'](_0x12acca);if(_0x28011b&&_0x501feb){const _0x4e0524={..._0x28011b,'range':_0x501feb};this['cursorInfo'][_0xb438f2(0x311)](_0x12acca,_0x4e0524),_0x49d475(()=>{const _0x29bfa9=_0xb438f2,_0x2650b9=this['_refRangeService'][_0x29bfa9(0x21e)](_0x501feb,_0x3a28a1=>(_0x2650b9[_0x29bfa9(0x1b7)](),_0x46e9eb(_0x3a28a1,_0x12acca,_0x3a6554,_0x501feb)));_0x35451c[_0x29bfa9(0x2df)](_0x2650b9);});}return{'redos':[],'undos':[]};};this[_0x79b2a3(0x336)][_0x79b2a3(0x19e)]((_0x1df325,_0x5bad5b)=>{const _0x1f4ddb=_0x79b2a3,{range:_0x1fe5a6,sheetID:_0x28041b}=_0x1df325,_0x12e5fd=this[_0x1f4ddb(0x31b)][_0x1f4ddb(0x21e)](_0x1fe5a6,_0x3fb521=>(_0x12e5fd[_0x1f4ddb(0x1b7)](),_0x46e9eb(_0x3fb521,_0x5bad5b,_0x28041b,_0x1fe5a6)));_0x35451c[_0x1f4ddb(0x2df)](_0x12e5fd);});};this['disposeWithMe'](_0x19548f(this[_0x3454e2(0x17b)]['subscribe'](()=>{_0x5ea436();})));}[_0x4efb46(0x235)](){const _0x16dca6=_0x4efb46;var _0xabe467,_0x3f3cf5;if(this[_0x16dca6(0x1d7)]=!0x0,((_0xabe467=this[_0x16dca6(0x2d1)][_0x16dca6(0x263)]())==null?void 0x0:_0xabe467['getUnitId']())!==this[_0x16dca6(0x19d)])return;const _0x363483=(_0x3f3cf5=this[_0x16dca6(0x23f)][_0x16dca6(0x352)](_0x3e1129)[_0x16dca6(0x20c)]())==null?void 0x0:_0x3f3cf5[0x0],_0x2b6dcb=this[_0x16dca6(0x2d1)][_0x16dca6(0x1af)](_0x3f742a[_0x16dca6(0x304)])['getActiveSheet']();_0x363483&&_0x2b6dcb&&this[_0x16dca6(0x23b)](_0x2b6dcb[_0x16dca6(0x287)](),_0x363483);}[_0x4efb46(0x2cf)](){const _0x1a34bb=_0x4efb46;this[_0x1a34bb(0x1d7)]=!0x1;}};Me=mi([x(0x2,_0xc24e4b(_0x35c1bd)),x(0x3,_0xc24e4b(ke)),x(0x4,_0xc24e4b(_0x36d44a)),x(0x5,_0xb3fb3f),x(0x6,_0xc68a40),x(0x7,_0xc24e4b(_0x2b1c69))],Me);var pi=Object[_0x4efb46(0x14b)],Ci=(_0x5a0534,_0x33876c,_0x5b6473,_0x29a4bc)=>{const _0x4b2592=_0x4efb46;for(var _0x1c13b9=_0x29a4bc>0x1?void 0x0:_0x29a4bc?pi(_0x33876c,_0x5b6473):_0x33876c,_0xafa80e=_0x5a0534[_0x4b2592(0x23c)]-0x1,_0x52f46b;_0xafa80e>=0x0;_0xafa80e--)(_0x52f46b=_0x5a0534[_0xafa80e])&&(_0x1c13b9=_0x52f46b(_0x1c13b9)||_0x1c13b9);return _0x1c13b9;},Se=(_0x5cc30c,_0x3c6af6)=>(_0x19174a,_0x370eef)=>_0x3c6af6(_0x19174a,_0x370eef,_0x5cc30c);let H=class extends _0x264876{constructor(_0x362c8f,_0x44d1d3,_0x457681){const _0x585b4c=_0x4efb46;super(),_(this,_0x585b4c(0x2eb),new Map()),_(this,_0x585b4c(0x33a),new _0x2413fc()),(this[_0x585b4c(0x2d1)]=_0x362c8f,this[_0x585b4c(0x23f)]=_0x44d1d3,this['_collabSessionService']=_0x457681,this[_0x585b4c(0x2a5)]());}[_0x4efb46(0x1b7)](){const _0xc46ba7=_0x4efb46;super[_0xc46ba7(0x1b7)](),this['_entityInit$'][_0xc46ba7(0x33b)](),this[_0xc46ba7(0x2eb)][_0xc46ba7(0x19e)](_0x3d90c9=>_0x3d90c9[_0xc46ba7(0x1b7)]());}['getCollabCursors$'](_0x2d685f){const _0x3b6332=_0x4efb46;return this[_0x3b6332(0x2eb)][_0x3b6332(0x20a)](_0x2d685f)?this[_0x3b6332(0x2eb)]['get'](_0x2d685f)[_0x3b6332(0x2f5)]:this[_0x3b6332(0x33a)][_0x3b6332(0x22f)](_0x140671(_0x10f932=>_0x10f932['unitID']===_0x2d685f),_0x1b9fb8(_0x1bc552=>_0x1bc552[_0x3b6332(0x2f5)]));}[_0x4efb46(0x2a5)](){const _0x56cbcc=_0x4efb46;this[_0x56cbcc(0x2d1)]['getTypeOfUnitAdded$'](_0x3f742a[_0x56cbcc(0x304)])[_0x56cbcc(0x22f)](_0x760463(this[_0x56cbcc(0x34d)]))[_0x56cbcc(0x157)](async _0x155b68=>{const _0x3199ec=_0x56cbcc,_0x228cc2=_0x155b68[_0x3199ec(0x15b)](),_0xfc738e=await this[_0x3199ec(0x14f)](_0x228cc2);this['_entityInit$'][_0x3199ec(0x326)](_0xfc738e),this[_0x3199ec(0x2eb)]['set'](_0x228cc2,_0xfc738e);}),this['_univerInstanceService'][_0x56cbcc(0x2e3)](_0x3f742a[_0x56cbcc(0x189)])[_0x56cbcc(0x22f)](_0x760463(this[_0x56cbcc(0x34d)]))[_0x56cbcc(0x22f)](_0x140671(_0x1d66f2=>!_0x1d66f2[_0x56cbcc(0x15b)]()[_0x56cbcc(0x337)]('__')))['subscribe'](async _0x3eb052=>{const _0x40ae21=_0x56cbcc,_0x2a600a=_0x3eb052[_0x40ae21(0x15b)](),_0x16964e=await this['_startDocCollabCursor'](_0x2a600a);this['_entityInit$'][_0x40ae21(0x326)](_0x16964e),this[_0x40ae21(0x2eb)]['set'](_0x2a600a,_0x16964e);}),_0x10fadc(this['_univerInstanceService'][_0x56cbcc(0x1eb)](_0x3f742a['UNIVER_DOC']),this[_0x56cbcc(0x2d1)][_0x56cbcc(0x1eb)](_0x3f742a[_0x56cbcc(0x304)]))[_0x56cbcc(0x22f)](_0x760463(this['dispose$']))['subscribe'](_0x3c0cea=>{const _0x29bc37=_0x56cbcc,_0x372289=_0x3c0cea['getUnitId'](),_0x54bfd3=this[_0x29bc37(0x2eb)][_0x29bc37(0x352)](_0x372289);_0x54bfd3&&(_0x54bfd3[_0x29bc37(0x1b7)](),this['_entities'][_0x29bc37(0x30a)](_0x372289));});}async['_startSheetCollabCursor'](_0x464f22){const _0x3fa59c=_0x4efb46,_0x54e212=await this[_0x3fa59c(0x2cc)][_0x3fa59c(0x1a4)](_0x464f22),_0x585c74=this['_injector']['createInstance'](Me,_0x464f22,_0x54e212);return _0x585c74[_0x3fa59c(0x28f)](),_0x585c74;}async['_startDocCollabCursor'](_0x5bba58){const _0x3472b4=_0x4efb46,_0x45745e=await this['_collabSessionService'][_0x3472b4(0x1a4)](_0x5bba58),_0x235f4e=this[_0x3472b4(0x23f)][_0x3472b4(0x2db)](Ue,_0x5bba58,_0x45745e);return _0x235f4e['init'](),_0x235f4e;}};H=Ci([Se(0x0,_0xb3fb3f),Se(0x1,_0xc24e4b(_0x35c1bd)),Se(0x2,_0xc24e4b(_0x1a5d93))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x3663ef,_0x5bffd8){const _0x2d05ec=_0x4efb46;let {radius:_0x75be3a,width:_0x4e6ed3,height:_0x3b144f}=_0x5bffd8;_0x75be3a=_0x75be3a!=null?_0x75be3a:0x0,_0x4e6ed3=_0x4e6ed3!=null?_0x4e6ed3:0x1e,_0x3b144f=_0x3b144f!=null?_0x3b144f:0x1e;let _0x355ec3=0x0,_0x260499=0x0,_0x5142c1=0x0;_0x355ec3=_0x260499=_0x5142c1=Math[_0x2d05ec(0x2ad)](_0x75be3a,_0x4e6ed3/0x2,_0x3b144f/0x2),_0x3663ef[_0x2d05ec(0x21a)](),_0x3663ef[_0x2d05ec(0x185)](_0x355ec3,0x0),_0x3663ef[_0x2d05ec(0x25e)](_0x4e6ed3-_0x260499,0x0),_0x3663ef['arc'](_0x4e6ed3-_0x260499,_0x260499,_0x260499,Math['PI']*0x3/0x2,0x0,!0x1),_0x3663ef[_0x2d05ec(0x25e)](_0x4e6ed3,_0x3b144f-_0x5142c1),_0x3663ef['arc'](_0x4e6ed3-_0x5142c1,_0x3b144f-_0x5142c1,_0x5142c1,0x0,Math['PI']/0x2,!0x1),_0x3663ef[_0x2d05ec(0x25e)](0x0,_0x3b144f),_0x3663ef[_0x2d05ec(0x25e)](0x0,_0x355ec3),_0x3663ef[_0x2d05ec(0x186)](_0x355ec3,_0x355ec3,_0x355ec3,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3663ef[_0x2d05ec(0x294)](),_0x5bffd8[_0x2d05ec(0x303)]&&(_0x3663ef[_0x2d05ec(0x299)](),_0x3663ef[_0x2d05ec(0x1a9)]=_0x5bffd8[_0x2d05ec(0x303)],_0x5bffd8[_0x2d05ec(0x27d)]==='evenodd'?_0x3663ef[_0x2d05ec(0x303)](_0x2d05ec(0x210)):_0x3663ef['fill'](),_0x3663ef[_0x2d05ec(0x2e5)]());}class he extends _0x50f11a{constructor(_0x43649e,_0x3d442b){const _0x5cd019=_0x4efb46;super(_0x43649e,_0x3d442b),_(this,_0x5cd019(0x302)),_(this,_0x5cd019(0x31f)),(this[_0x5cd019(0x302)]=_0x3d442b==null?void 0x0:_0x3d442b[_0x5cd019(0x302)],this['text']=_0x3d442b==null?void 0x0:_0x3d442b['text']);}static[_0x4efb46(0x2e7)](_0xc5fb22,_0x41331b){const _0x27dbff=_0x4efb46,{text:_0x5286f1,color:_0x3213a2}=_0x41331b;_0xc5fb22[_0x27dbff(0x299)](),_0xc5fb22[_0x27dbff(0x27e)]=_0x27dbff(0x1e2);const _0x2d32d3=_0xc5fb22[_0x27dbff(0x228)](_0x5286f1)[_0x27dbff(0x280)],_0x1a5c26=Math[_0x27dbff(0x2ad)](_0x2d32d3+0x2*me,Qe);Oi(_0xc5fb22,{'height':ee,'radius':0x4,'width':_0x1a5c26,'fill':_0x3213a2}),_0xc5fb22['fillStyle']='#FFF';const _0x5d7686=me,_0x1b8951=ee-Ei,_0xcb8d35=Qe-0x2*me;if(_0x2d32d3>_0xcb8d35){let _0x3ef0cc='',_0x1028ed=0x0;for(const _0x8ec65f of _0x5286f1){const _0x1cc97b=_0xc5fb22[_0x27dbff(0x228)](_0x8ec65f)[_0x27dbff(0x280)];if(_0x1028ed+_0x1cc97b<=_0xcb8d35-_0xc5fb22['measureText'](_0x27dbff(0x353))[_0x27dbff(0x280)])_0x3ef0cc+=_0x8ec65f,_0x1028ed+=_0x1cc97b;else{_0x3ef0cc+=_0x27dbff(0x353);break;}}_0xc5fb22['fillText'](_0x3ef0cc,_0x5d7686,_0x1b8951);}else _0xc5fb22[_0x27dbff(0x301)](_0x5286f1,_0x5d7686,_0x1b8951);_0xc5fb22['restore']();}[_0x4efb46(0x265)](_0x427b73){he['drawWith'](_0x427b73,this);}}const Ie=_0x4efb46(0x161),bi=_0x4efb46(0x1f8),Ti=_0x4efb46(0x213),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x4efb46(0x30f);class qe{constructor(_0x24c100,_0x21e5d7,_0x527659,_0x5a1e12){const _0x15256a=_0x4efb46;_(this,'_shapes',[]),_(this,'_anchor',null),_(this,_0x15256a(0x2b9),null),_(this,_0x15256a(0x204),null),_(this,'_hideTimer',null),_(this,_0x15256a(0x354),null),(this['_cursor']=_0x24c100,this['_scene']=_0x21e5d7,this[_0x15256a(0x2f3)]=_0x527659,this['_document']=_0x5a1e12,this[_0x15256a(0x323)]());}set[_0x4efb46(0x266)](_0x489d08){const _0x56c1d9=_0x4efb46;_0x489d08?(this['_anchorDot']&&this['_anchorDot']['hide'](),this[_0x56c1d9(0x2b9)]&&this['_textBubble'][_0x56c1d9(0x24c)]()):(this[_0x56c1d9(0x204)]&&this[_0x56c1d9(0x204)][_0x56c1d9(0x24c)](),this[_0x56c1d9(0x2b9)]&&this[_0x56c1d9(0x2b9)][_0x56c1d9(0x351)]());}[_0x4efb46(0x1b7)](){const _0x16a53d=_0x4efb46;for(const _0x71bff9 of this[_0x16a53d(0x232)])_0x71bff9['dispose']();this[_0x16a53d(0x2b9)]&&this[_0x16a53d(0x2b9)][_0x16a53d(0x1b7)](),this[_0x16a53d(0x204)]&&this[_0x16a53d(0x204)][_0x16a53d(0x1b7)](),this[_0x16a53d(0x159)]&&this['_anchor'][_0x16a53d(0x1b7)](),this[_0x16a53d(0x354)]&&this[_0x16a53d(0x354)]();}[_0x4efb46(0x323)](){const _0x488b37=_0x4efb46;var _0x370a5;const {_docSkeleton:_0x521af4,_document:_0x31161e}=this,{color:_0x489e45,name:_0x2507b0,ranges:_0x4268e1}=this[_0x488b37(0x163)],_0x3cb66d=_0x31161e[_0x488b37(0x28b)](),{docsLeft:_0x45acf5,docsTop:_0x8f12b3}=_0x3cb66d,_0x243586=new _0x511890(_0x3cb66d,_0x521af4);for(const {startOffset:_0x181327,endOffset:_0x13f83f,rangeType:_0x195431,segmentId:_0x5f1076,segmentPage:_0x39f640,collapsed:_0x48f5d3,isActive:_0x96dd26}of _0x4268e1){const _0x431131=_0x521af4[_0x488b37(0x2c0)](_0x181327,!0x0,_0x5f1076,_0x39f640);let _0x2eaca8=_0x521af4[_0x488b37(0x2c0)](_0x13f83f,!0x0,_0x5f1076,_0x39f640);if(_0x2eaca8==null&&(_0x2eaca8=_0x521af4[_0x488b37(0x2c0)](_0x13f83f-0x1,!0x1,_0x5f1076,_0x39f640)),_0x96dd26){const {contentBoxPointGroup:_0x4eddc7}=_0x243586[_0x488b37(0x1b1)](_0x2eaca8,_0x2eaca8);if(_0x4eddc7[_0x488b37(0x23c)]===0x0)continue;this[_0x488b37(0x290)](_0x489e45,_0x4eddc7,_0x45acf5,_0x8f12b3,_0x2507b0),this['_eventUnsubscribe']=this['_handleHover']();}if(_0x431131&&_0x2eaca8){if(_0x195431===_0x47ea56[_0x488b37(0x169)]){const _0x298a7b=new _0x2827a9(_0x3cb66d,_0x521af4),{pointGroup:_0x778712}=(_0x370a5=_0x298a7b[_0x488b37(0x1b1)](_0x431131,_0x2eaca8))!=null?_0x370a5:{};if(_0x778712==null||_0x778712[_0x488b37(0x23c)]===0x0)continue;this[_0x488b37(0x19c)](_0x489e45,_0x778712,_0x45acf5,_0x8f12b3);}else{if(!_0x48f5d3){const {borderBoxPointGroup:_0x57ea95}=_0x243586[_0x488b37(0x1b1)](_0x431131,_0x2eaca8);if(_0x57ea95[_0x488b37(0x23c)]===0x0)continue;this[_0x488b37(0x1c5)](_0x489e45,_0x57ea95,_0x45acf5,_0x8f12b3);}}}}}[_0x4efb46(0x290)](_0x2e2a12,_0x1c0557,_0x2e4826,_0x2971c9,_0x1321a5){const _0x5d9adb=_0x4efb46,_0x3edd2a=this['_getAnchorBounding'](_0x1c0557),{left:_0x42508d,top:_0x5f2894,height:_0x509c7b}=_0x3edd2a,_0x1160ee=this[_0x5d9adb(0x2fe)](),_0x356c48=Di/_0x1160ee,_0x234296=new _0x37cfd0(Ie+_0x24e58b[_0x5d9adb(0x230)](X),{'left':_0x42508d+_0x2e4826-_0x356c48,'top':_0x5f2894+_0x2971c9,'height':_0x509c7b,'width':Ri,'fill':_0x2e2a12||_0x3f4962(_0x219248[_0x5d9adb(0x25b)],0x0),'strokeWidth':_0x356c48,'stroke':Ni,'evented':!0x0});this[_0x5d9adb(0x159)]=_0x234296,this[_0x5d9adb(0x249)]['addObject'](_0x234296,_0x4c5bce);const _0x3cd82b=new _0x37cfd0(Ie+_0x24e58b[_0x5d9adb(0x230)](X),{'left':_0x42508d+_0x2e4826-_0x356c48,'top':_0x5f2894+_0x2971c9-ge/0x2,'height':ge,'width':ge,'fill':_0x2e2a12||_0x3f4962(_0x219248[_0x5d9adb(0x25b)],0x0),'strokeWidth':0x0,'stroke':_0x2e2a12||_0x3f4962(_0x219248['black'],0x0),'evented':!0x1});this[_0x5d9adb(0x204)]=_0x3cd82b,this[_0x5d9adb(0x249)]['addObject'](_0x3cd82b,_0x4c5bce);const _0xfea105=new he(Ie+_0x24e58b['generateRandomId'](X),{'left':_0x42508d+_0x2e4826-_0x356c48,'top':_0x5f2894+_0x2971c9-ee,'text':_0x1321a5,'color':_0x2e2a12});this[_0x5d9adb(0x2b9)]=_0xfea105,this[_0x5d9adb(0x249)][_0x5d9adb(0x1e1)](_0xfea105,_0x4c5bce),this[_0x5d9adb(0x266)]=!0x1;}[_0x4efb46(0x1f4)](){const _0x1f7618=_0x4efb46,_0x5a65f1=this[_0x1f7618(0x159)][_0x1f7618(0x2d6)][_0x1f7618(0x28e)](()=>{this['_hover']=!0x0;}),_0x194097=this[_0x1f7618(0x159)][_0x1f7618(0x1e9)][_0x1f7618(0x28e)](()=>{const _0x4d994a=_0x1f7618;this[_0x4d994a(0x34c)]&&clearTimeout(this[_0x4d994a(0x34c)]),this[_0x4d994a(0x34c)]=setTimeout(()=>{const _0x229684=_0x4d994a;this[_0x229684(0x266)]=!0x1;},0x7d0);});return()=>{const _0x27d4c5=_0x1f7618;_0x5a65f1[_0x27d4c5(0x208)](),_0x194097[_0x27d4c5(0x208)]();};}[_0x4efb46(0x1c5)](_0xd7b160,_0x44d111,_0x147523,_0x53a95a){const _0x354e26=_0x4efb46,_0x57f6d0=new _0x39995a(_0xd7b160)[_0x354e26(0x321)](0.2)[_0x354e26(0x26f)](),_0x4b92f8=new _0x22432b(bi+_0x24e58b['generateRandomId'](X),{'pointsGroup':_0x44d111,'fill':_0x57f6d0||_0x3f4962(_0x219248[_0x354e26(0x25b)],0.2),'left':_0x147523,'top':_0x53a95a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x354e26(0x232)][_0x354e26(0x1d1)](_0x4b92f8),this[_0x354e26(0x249)][_0x354e26(0x1e1)](_0x4b92f8,_0x4c5bce);}[_0x4efb46(0x19c)](_0x580553,_0x41da50,_0x5902c8,_0x33dc47){const _0x3efbda=_0x4efb46,_0x31853b=new _0x39995a(_0x580553)[_0x3efbda(0x321)](0.2)['toRgbString'](),_0x1168b3=new _0x22432b(Ti+_0x24e58b[_0x3efbda(0x230)](X),{'pointsGroup':_0x41da50,'fill':_0x31853b||_0x3f4962(_0x219248[_0x3efbda(0x25b)],0.2),'left':_0x5902c8,'top':_0x33dc47,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3efbda(0x232)]['push'](_0x1168b3),this[_0x3efbda(0x249)]['addObject'](_0x1168b3,_0x4c5bce);}[_0x4efb46(0x149)](_0x173223){const _0x1c9f59=_0x173223[0x0],_0x3a4b23=_0x1c9f59[0x0],_0x43f167=_0x1c9f59[0x2],{x:_0x235ef9,y:_0x1e1613}=_0x3a4b23,{x:_0x5429e3,y:_0x125d6f}=_0x43f167;return{'left':_0x235ef9,'top':_0x1e1613,'width':_0x5429e3-_0x235ef9,'height':_0x125d6f-_0x1e1613};}[_0x4efb46(0x2fe)](){const _0x1eff1f=_0x4efb46,{scaleX:_0x536cf4,scaleY:_0x383514}=this[_0x1eff1f(0x249)][_0x1eff1f(0x1c9)]();return Math[_0x1eff1f(0x16c)](_0x536cf4,_0x383514);}}var Ui=Object[_0x4efb46(0x14b)],Mi=(_0x3e77d5,_0x14f55a,_0x7f2d57,_0x545897)=>{const _0x46cb3c=_0x4efb46;for(var _0x46051a=_0x545897>0x1?void 0x0:_0x545897?Ui(_0x14f55a,_0x7f2d57):_0x14f55a,_0x14901c=_0x3e77d5[_0x46cb3c(0x23c)]-0x1,_0x203150;_0x14901c>=0x0;_0x14901c--)(_0x203150=_0x3e77d5[_0x14901c])&&(_0x46051a=_0x203150(_0x46051a)||_0x46051a);return _0x46051a;},Z=(_0x2e898e,_0x1898a2)=>(_0x56ec77,_0x4732e2)=>_0x1898a2(_0x56ec77,_0x4732e2,_0x2e898e);let we=class extends _0x264876{constructor(_0x371455,_0x409a6b,_0x22c2ab,_0x2ec8cb,_0x5e9346){const _0x2d9ffa=_0x4efb46;super(),_(this,_0x2d9ffa(0x1b6),[]),_(this,_0x2d9ffa(0x17a),[]),(this['_context']=_0x371455,this[_0x2d9ffa(0x2ab)]=_0x409a6b,this['_collabCursorController']=_0x22c2ab,this['_commandService']=_0x2ec8cb,this['_themeService']=_0x5e9346,this['_init']());}[_0x4efb46(0x2a5)](){const _0x2a832a=_0x4efb46,_0x231219=this[_0x2a832a(0x2f9)][_0x2a832a(0x152)],_0x39bdda=this[_0x2a832a(0x2ab)];this[_0x2a832a(0x1ee)](_0x5be441([this[_0x2a832a(0x17e)][_0x2a832a(0x1d0)](_0x231219),this[_0x2a832a(0x1c8)][_0x2a832a(0x258)]])[_0x2a832a(0x22f)](_0x90759a(([_0x3a9405,_0x4b2b56])=>({'skeleton':_0x39bdda[_0x2a832a(0x202)](),'cursors':[..._0x3a9405[_0x2a832a(0x2b2)]()][_0x2a832a(0x2f7)](_0x3625bc=>({..._0x3625bc,'color':this[_0x2a832a(0x1c8)][_0x2a832a(0x14c)](_0x3625bc[_0x2a832a(0x302)])}))})))['subscribe'](_0x350831=>{const _0x101f29=_0x2a832a;if(this[_0x101f29(0x248)](),_0x350831){const {skeleton:_0x24c439,cursors:_0x1ef7a8}=_0x350831;this[_0x101f29(0x2dc)](_0x24c439,_0x1ef7a8);}})),this[_0x2a832a(0x1cf)](),this[_0x2a832a(0x1c7)]();}[_0x4efb46(0x2dc)](_0x426cbf,_0xef1a5c){const _0x530a14=_0x4efb46,{scene:_0x16740d,mainComponent:_0x561f1e}=this[_0x530a14(0x2f9)],_0x206c20=_0xef1a5c[_0x530a14(0x23e)](_0x51820f=>new qe(_0x51820f,_0x16740d,_0x426cbf,_0x561f1e));this[_0x530a14(0x1b6)]=_0x206c20,this[_0x530a14(0x17a)]=_0xef1a5c;}['_refreshCollabCursors'](){const _0x20fd49=_0x4efb46;this[_0x20fd49(0x248)]();const {scene:_0x39e1a3,mainComponent:_0x550335}=this[_0x20fd49(0x2f9)],_0x4193ae=this[_0x20fd49(0x2ab)]['getSkeleton'](),_0x2caa10=this[_0x20fd49(0x17a)][_0x20fd49(0x23e)](_0x3049d3=>new qe(_0x3049d3,_0x39e1a3,_0x4193ae,_0x550335));this[_0x20fd49(0x1b6)]=_0x2caa10;}[_0x4efb46(0x248)](){const _0x58d33e=_0x4efb46;this[_0x58d33e(0x1b6)]['forEach'](_0x5c50e8=>_0x5c50e8[_0x58d33e(0x1b7)]()),this[_0x58d33e(0x1b6)]=[];}['_initCommandExecutedListener'](){const _0x3e8db9=_0x4efb46,_0x1f86ae=[_0x3b78bf['id']];this[_0x3e8db9(0x1ee)](this[_0x3e8db9(0x207)][_0x3e8db9(0x1ef)](_0x284fb4=>{const _0x23455d=_0x3e8db9;_0x1f86ae[_0x23455d(0x1e6)](_0x284fb4['id'])&&_0x284fb4[_0x23455d(0x1b2)]['unitId']===this[_0x23455d(0x2f9)][_0x23455d(0x152)]&&this['_refreshCollabCursors']();}));}[_0x4efb46(0x1cf)](){const _0x1da246=_0x4efb46;this[_0x1da246(0x1ee)](_0x3ef67d(this['_context'][_0x1da246(0x1c6)][_0x1da246(0x1d8)])[_0x1da246(0x22f)](_0x10acae(_0x44b13b=>_0x44b13b[_0x1da246(0x2e4)]===_0x47f57f[_0x1da246(0x1aa)]),_0x1133d9(0x10))[_0x1da246(0x157)](()=>{const _0x53cefa=_0x1da246;this[_0x53cefa(0x1fc)]();}));}};we=Mi([Z(0x1,_0xc24e4b(_0x34549c)),Z(0x2,_0xc24e4b(H)),Z(0x3,_0xc68a40),Z(0x4,_0xc24e4b(_0x3a07ea))],we);const wi=0x1,Pi=1.5;class Li extends _0x50f11a{constructor(_0x2673ac,_0x405438){const _0xa3b42e=_0x4efb46;super(_0x2673ac,_0x405438),_(this,_0xa3b42e(0x335)),_(this,'_hovered',!0x1),_(this,_0xa3b42e(0x260)),_(this,_0xa3b42e(0x158),''),_(this,'_labelPosition',_0xa3b42e(0x30d)),_(this,_0xa3b42e(0x18a)),(_0x405438&&this[_0xa3b42e(0x1a2)](_0x405438),this[_0xa3b42e(0x2d6)]['subscribeEvent'](()=>this[_0xa3b42e(0x1a2)]({'hovered':!0x0})),this['onPointerLeave$'][_0xa3b42e(0x28e)](()=>this[_0xa3b42e(0x1a2)]({'hovered':!0x1})));}[_0x4efb46(0x1a2)](_0xe8cbd3){const _0x422486=_0x4efb46;var _0x359a92,_0x22cfa8,_0x3a0880,_0x36c66a,_0x3d873a,_0x313fef;this[_0x422486(0x335)]=(_0x359a92=_0xe8cbd3[_0x422486(0x302)])!=null?_0x359a92:this[_0x422486(0x335)],this[_0x422486(0x344)]=(_0x22cfa8=_0xe8cbd3['hovered'])!=null?_0x22cfa8:this[_0x422486(0x344)],this[_0x422486(0x260)]=(_0x3a0880=_0xe8cbd3[_0x422486(0x24f)])!=null?_0x3a0880:this[_0x422486(0x260)],this[_0x422486(0x158)]=(_0x36c66a=_0xe8cbd3[_0x422486(0x289)])!=null?_0x36c66a:this[_0x422486(0x158)],this[_0x422486(0x29b)]=(_0x3d873a=_0xe8cbd3[_0x422486(0x291)])!=null?_0x3d873a:this['_labelPosition'],this[_0x422486(0x18a)]=(_0x313fef=_0xe8cbd3[_0x422486(0x1f0)])!=null?_0x313fef:this[_0x422486(0x18a)],this['transformByState']({'width':_0xe8cbd3[_0x422486(0x280)],'height':_0xe8cbd3[_0x422486(0x15d)]});}['onMouseMove'](_0x13de3b){const _0x3cd69f=_0x4efb46,{row:_0x156ae8,column:_0x57fb52}=_0x13de3b;if(_0x156ae8>=this[_0x3cd69f(0x260)]['startRow']&&_0x156ae8<=this['_range'][_0x3cd69f(0x23d)]&&_0x57fb52>=this[_0x3cd69f(0x260)][_0x3cd69f(0x211)]&&_0x57fb52<=this[_0x3cd69f(0x260)][_0x3cd69f(0x154)]){this[_0x3cd69f(0x1a2)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x4efb46(0x22b)](_0x4135a9){return!0x1;}[_0x4efb46(0x265)](_0x4bf9a3){const _0x19880d=_0x4efb46;_0x37cfd0[_0x19880d(0x2e7)](_0x4bf9a3,{'width':this['width'],'height':this['height'],'strokeWidth':Pi,'stroke':this[_0x19880d(0x335)],'evented':!0x1,'fill':this[_0x19880d(0x18a)]}),this['_hovered']&&(_0x4bf9a3[_0x19880d(0x299)](),_0x4bf9a3[_0x19880d(0x33e)](0x1,0x0,0x0,0x1,this[_0x19880d(0x280)],this[_0x19880d(0x29b)]==='bottom'?0x0:-0x14),he[_0x19880d(0x2e7)](_0x4bf9a3,{'text':this[_0x19880d(0x158)],'color':this[_0x19880d(0x335)]}),_0x4bf9a3[_0x19880d(0x2e5)]());}}var Ai=Object[_0x4efb46(0x14b)],yi=(_0x9da685,_0x9f6cd3,_0x33e561,_0x51df88)=>{const _0x36ffa6=_0x4efb46;for(var _0x5823fc=_0x51df88>0x1?void 0x0:_0x51df88?Ai(_0x9f6cd3,_0x33e561):_0x9f6cd3,_0x37084f=_0x9da685[_0x36ffa6(0x23c)]-0x1,_0x484bd4;_0x37084f>=0x0;_0x37084f--)(_0x484bd4=_0x9da685[_0x37084f])&&(_0x5823fc=_0x484bd4(_0x5823fc)||_0x5823fc);return _0x5823fc;},ve=(_0x5f5b7e,_0x121ca0)=>(_0x590f26,_0x4788e5)=>_0x121ca0(_0x590f26,_0x4788e5,_0x5f5b7e);const $i=0x1389;let Pe=class extends _0x264876{constructor(_0x1909b7,_0x38eaa9,_0x1d829d,_0x791e19){const _0x4a72f4=_0x4efb46;super(),_(this,_0x4a72f4(0x17a),new Set()),_(this,_0x4a72f4(0x320),null),(this['_context']=_0x1909b7,this[_0x4a72f4(0x1db)]=_0x38eaa9,this[_0x4a72f4(0x17e)]=_0x1d829d,this[_0x4a72f4(0x1c8)]=_0x791e19,this['_init']());}[_0x4efb46(0x2a5)](){const _0x286241=_0x4efb46;this[_0x286241(0x1db)]['currentSkeleton$'][_0x286241(0x22f)](_0x492ddb(this['dispose$']),_0x385aee(_0x1b9c71=>{const _0x346e93=_0x286241;if(_0x1b9c71){const _0x485b7a=_0x1b9c71[_0x346e93(0x1cc)];return _0x5be441(this[_0x346e93(0x17e)][_0x346e93(0x1d0)](this[_0x346e93(0x2f9)][_0x346e93(0x152)]),this[_0x346e93(0x1c8)][_0x346e93(0x258)])['pipe'](_0x90759a(([_0x4d8855,_0x59b5bc])=>{const _0x443779=_0x346e93,_0x594972=new Map();return _0x4d8855[_0x443779(0x19e)]((_0x397e3b,_0x548706)=>{const _0x3fea70=_0x443779;if(_0x397e3b['sheetID']===_0x485b7a){const _0x543df3={..._0x397e3b};_0x543df3['color']=this[_0x3fea70(0x1c8)][_0x3fea70(0x14c)](_0x397e3b[_0x3fea70(0x302)]),_0x594972[_0x3fea70(0x311)](_0x548706,_0x543df3);}}),{'skeleton':_0x1b9c71,'cursors':_0x594972};}));}return _0x4846f1({'skeleton':null,'cursors':new Map()});}))[_0x286241(0x157)](({skeleton:_0x27000a,cursors:_0x2f6399})=>{const _0x4b8d6c=_0x286241;this[_0x4b8d6c(0x248)](),_0x27000a&&this['_updateCollabCursors'](_0x27000a,_0x2f6399);}),this['_sheetSkeletonManagerService'][_0x286241(0x2c9)]['subscribe'](_0x3c4ce7=>{const _0x54409e=_0x286241;if(_0x3c4ce7==null)return;const {skeleton:_0x571775}=_0x3c4ce7,{scene:_0x35a52a}=this[_0x54409e(0x2f9)];_0x35a52a[_0x54409e(0x1cb)][_0x54409e(0x28e)](_0x10b8fb(_0x49335a=>{const _0x21fa98=_0x54409e;var _0x380560,_0x2ed646;const {offsetX:_0x5466b2,offsetY:_0x20faba}=_0x49335a,{x:_0xd0d94a,y:_0x2b5002}=_0x35a52a['getRelativeToViewportCoord'](_0x507064[_0x21fa98(0x1a0)]([_0x5466b2,_0x20faba])),{scaleX:_0x1b2ab4,scaleY:_0x5295fd}=_0x35a52a[_0x21fa98(0x1c9)](),_0x1b5cde=_0x35a52a[_0x21fa98(0x239)](_0x160298[_0x21fa98(0x170)]),_0x30ffb2=_0x35a52a['getVpScrollXYInfoByPosToVp'](_0x507064[_0x21fa98(0x1a0)]([_0xd0d94a,_0x2b5002]),_0x1b5cde),_0x954ad3=_0x571775['getCellPositionByOffset'](_0x5466b2,_0x20faba,_0x1b2ab4,_0x5295fd,_0x30ffb2);((_0x380560=this['_lastPointer'])==null?void 0x0:_0x380560[_0x21fa98(0x18c)])===_0x954ad3[_0x21fa98(0x18c)]&&((_0x2ed646=this[_0x21fa98(0x320)])==null?void 0x0:_0x2ed646[_0x21fa98(0x345)])===_0x954ad3['row']||this[_0x21fa98(0x17a)][_0x21fa98(0x19e)](_0x176b54=>{_0x176b54['onMouseMove'](_0x954ad3);});},0x64));});}[_0x4efb46(0x2dc)](_0x4e8a2c,_0x3971bc){const _0x21338b=_0x4efb46;var _0x5f4c7a;const _0x291369=(_0x5f4c7a=this['_sheetSkeletonManagerService'][_0x21338b(0x28d)]())==null?void 0x0:_0x5f4c7a[_0x21338b(0x312)];if(!_0x291369)return;const _0x2a2829=this[_0x21338b(0x259)]();if(!_0x2a2829)return;this['_cursors'][_0x21338b(0x19e)](_0x3154da=>{_0x3154da['makeDirty']();});const {scene:_0x1fc1fc}=_0x2a2829,_0x41f237=xi(Array[_0x21338b(0x153)](_0x3971bc[_0x21338b(0x2b2)]()))[_0x21338b(0x23e)](_0x321174=>{const _0x7cdf23=_0x21338b,{color:_0x18dc30,range:_0x5f3206,name:_0x50c6c,selection:_0x569076,sheetID:_0x425add}=_0x321174,{startColumn:_0x5032b1,startRow:_0x452b66,endColumn:_0x13057a,endRow:_0x131661}=_0x5f3206,_0x3e18e2=_0x3bbc56(_0x452b66,_0x5032b1,_0x1fc1fc,_0x291369),_0x5a9db3=_0x3bbc56(_0x131661,_0x13057a,_0x1fc1fc,_0x291369),{columnHeaderHeightAndMarginTop:_0x23091b}=_0x291369,{startX:_0x34208f,startY:_0x22e2b0}=_0x3e18e2,{endX:_0x8acfb4,endY:_0x5662cd}=_0x5a9db3,_0x11e3d6=_0x8acfb4-_0x34208f,_0xf99e5=_0x5662cd-_0x22e2b0,_0x1526a3={'labelPosition':_0x22e2b0-_0x23091b>=ee?'top':_0x7cdf23(0x191),'sheetID':_0x425add,'range':_0x5f3206,'color':_0x18dc30,'name':_0x50c6c,'selection':_0x569076,'left':_0x34208f,'top':_0x22e2b0,'width':_0x11e3d6,'height':_0xf99e5,'evented':!0x1,'zIndex':$i};return new Li(_0x50c6c,_0x1526a3);});_0x1fc1fc[_0x21338b(0x221)](_0x41f237,wi),this[_0x21338b(0x17a)]=new Set(_0x41f237);}['_removeCollabCursors'](){const _0x2edb75=_0x4efb46;var _0x305070;(_0x305070=this[_0x2edb75(0x17a)])==null||_0x305070['forEach'](_0x438174=>_0x438174[_0x2edb75(0x1b7)]());}[_0x4efb46(0x259)](){const _0x87fad4=_0x4efb46;return _0x207f8a(this[_0x87fad4(0x2f9)][_0x87fad4(0x2b3)],this[_0x87fad4(0x2f9)]);}};Pe=yi([ve(0x1,_0xc24e4b(_0x25b8e3)),ve(0x2,_0xc24e4b(H)),ve(0x3,_0xc24e4b(_0x3a07ea))],Pe);function xi(_0x11d6be){const _0x300092=_0x4efb46,_0x3f611d=new Map();return _0x11d6be[_0x300092(0x19e)](_0x5e8c5b=>{const _0x3401b4=_0x300092;if(_0x3f611d[_0x3401b4(0x20a)](_0x5e8c5b['selection'])){const _0x177425=_0x3f611d[_0x3401b4(0x352)](_0x5e8c5b[_0x3401b4(0x1c3)]);_0x177425[_0x3401b4(0x289)]+=',\x20'+_0x5e8c5b[_0x3401b4(0x289)];}else _0x3f611d[_0x3401b4(0x311)](_0x5e8c5b[_0x3401b4(0x1c3)],_0x5e8c5b);}),Array['from'](_0x3f611d[_0x300092(0x2b2)]());}var v=function(){const _0x1fc404=_0x4efb46;return v=Object[_0x1fc404(0x219)]||function(_0x1ee796){const _0x3dc6c4=_0x1fc404;for(var _0x911c6c,_0x2c9803=0x1,_0x8fa1d=arguments[_0x3dc6c4(0x23c)];_0x2c9803<_0x8fa1d;_0x2c9803++){_0x911c6c=arguments[_0x2c9803];for(var _0x1f898d in _0x911c6c)Object['prototype']['hasOwnProperty'][_0x3dc6c4(0x284)](_0x911c6c,_0x1f898d)&&(_0x1ee796[_0x1f898d]=_0x911c6c[_0x1f898d]);}return _0x1ee796;},v[_0x1fc404(0x307)](this,arguments);},Bi=function(_0x53563e,_0x1d9852){const _0x241a71=_0x4efb46;var _0xca915c={};for(var _0x593f5d in _0x53563e)Object['prototype'][_0x241a71(0x15c)]['call'](_0x53563e,_0x593f5d)&&_0x1d9852[_0x241a71(0x20f)](_0x593f5d)<0x0&&(_0xca915c[_0x593f5d]=_0x53563e[_0x593f5d]);if(_0x53563e!=null&&typeof Object[_0x241a71(0x329)]==_0x241a71(0x247)){for(var _0x53c805=0x0,_0x593f5d=Object[_0x241a71(0x329)](_0x53563e);_0x53c805<_0x593f5d[_0x241a71(0x23c)];_0x53c805++)_0x1d9852[_0x241a71(0x20f)](_0x593f5d[_0x53c805])<0x0&&Object[_0x241a71(0x1dd)][_0x241a71(0x2aa)][_0x241a71(0x284)](_0x53563e,_0x593f5d[_0x53c805])&&(_0xca915c[_0x593f5d[_0x53c805]]=_0x53563e[_0x593f5d[_0x53c805]]);}return _0xca915c;},je=_0xf2f6e1(function(_0x26c05f,_0xd303cd){const _0xec4af9=_0x4efb46;var _0xa1a630=_0x26c05f[_0xec4af9(0x174)],_0x428a4e=_0x26c05f['id'],_0x424299=_0x26c05f['className'],_0x4c0cb8=_0x26c05f[_0xec4af9(0x25d)],_0x4dabda=Bi(_0x26c05f,[_0xec4af9(0x174),'id',_0xec4af9(0x1f7),_0xec4af9(0x25d)]),_0x17c51c=_0xec4af9(0x168)[_0xec4af9(0x216)](_0x428a4e,'\x20')['concat'](_0x424299||'')[_0xec4af9(0x173)](),_0x2cc50a=_0x4551a4('_'[_0xec4af9(0x216)](ji()));return Rt(_0xa1a630,''[_0xec4af9(0x216)](_0x428a4e),{'defIds':_0xa1a630[_0xec4af9(0x2ed)],'idSuffix':_0x2cc50a['current']},v({'ref':_0xd303cd,'className':_0x17c51c},_0x4dabda),_0x4c0cb8);});function Rt(_0x24cf71,_0x2faf5c,_0x4cc9bc,_0x7e9eac,_0x205d2c){const _0x3e55d6=_0x4efb46;return _0x244245(_0x24cf71['tag'],v(v({'key':_0x2faf5c},ki(_0x24cf71,_0x4cc9bc,_0x205d2c)),_0x7e9eac),(Hi(_0x24cf71,_0x4cc9bc)[_0x3e55d6(0x273)]||[])[_0x3e55d6(0x23e)](function(_0x3526ac,_0x57a18e){const _0x2d14ba=_0x3e55d6;return Rt(_0x3526ac,''[_0x2d14ba(0x216)](_0x2faf5c,'-')[_0x2d14ba(0x216)](_0x24cf71['tag'],'-')[_0x2d14ba(0x216)](_0x57a18e),_0x4cc9bc,void 0x0,_0x205d2c);}));}function ki(_0x35b7eb,_0x3eea2e,_0x7c9dfb){const _0x1d4924=_0x4efb46;var _0x22a644=v({},_0x35b7eb[_0x1d4924(0x1df)]);_0x7c9dfb!=null&&_0x7c9dfb['colorChannel1']&&_0x22a644[_0x1d4924(0x303)]===_0x1d4924(0x327)&&(_0x22a644[_0x1d4924(0x303)]=_0x7c9dfb['colorChannel1']),_0x35b7eb[_0x1d4924(0x2ff)]==='mask'&&_0x22a644['id']&&(_0x22a644['id']=_0x22a644['id']+_0x3eea2e[_0x1d4924(0x27f)]),Object[_0x1d4924(0x2ac)](_0x22a644)[_0x1d4924(0x19e)](function(_0x41dc0c){const _0x471aca=_0x1d4924;var _0x2d7d42=_0x41dc0c[0x0],_0x4f3306=_0x41dc0c[0x1];_0x2d7d42===_0x471aca(0x166)&&typeof _0x4f3306=='string'&&(_0x22a644[_0x2d7d42]=_0x4f3306[_0x471aca(0x181)](/url\(#(.*)\)/,_0x471aca(0x244)[_0x471aca(0x216)](_0x3eea2e[_0x471aca(0x27f)],')')));});var _0x21937e=_0x3eea2e[_0x1d4924(0x2ed)];return!_0x21937e||_0x21937e[_0x1d4924(0x23c)]===0x0||(_0x35b7eb[_0x1d4924(0x2ff)]===_0x1d4924(0x308)&&_0x22a644[_0x1d4924(0x1bb)]&&(_0x22a644[_0x1d4924(0x1bb)]=_0x22a644[_0x1d4924(0x1bb)]+_0x3eea2e[_0x1d4924(0x27f)]),Object[_0x1d4924(0x2ac)](_0x22a644)['forEach'](function(_0x528970){const _0x37f5fd=_0x1d4924;var _0x252ad0=_0x528970[0x0],_0x7edb45=_0x528970[0x1];typeof _0x7edb45==_0x37f5fd(0x1bc)&&(_0x22a644[_0x252ad0]=_0x7edb45[_0x37f5fd(0x181)](/url\(#(.*)\)/,_0x37f5fd(0x244)['concat'](_0x3eea2e[_0x37f5fd(0x27f)],')')));})),_0x22a644;}function Hi(_0x3aa014,_0x1a76cf){const _0x52c61a=_0x4efb46;var _0x182103,_0x4b17c1=_0x1a76cf[_0x52c61a(0x2ed)];return!_0x4b17c1||_0x4b17c1[_0x52c61a(0x23c)]===0x0?_0x3aa014:_0x3aa014[_0x52c61a(0x2ff)]===_0x52c61a(0x20e)&&(!((_0x182103=_0x3aa014[_0x52c61a(0x273)])===null||_0x182103===void 0x0)&&_0x182103['length'])?v(v({},_0x3aa014),{'children':_0x3aa014[_0x52c61a(0x273)][_0x52c61a(0x23e)](function(_0x1faa59){const _0x457539=_0x52c61a;return typeof _0x1faa59[_0x457539(0x1df)]['id']=='string'&&_0x4b17c1&&_0x4b17c1[_0x457539(0x1e6)](_0x1faa59[_0x457539(0x1df)]['id'])?v(v({},_0x1faa59),{'attrs':v(v({},_0x1faa59[_0x457539(0x1df)]),{'id':_0x1faa59[_0x457539(0x1df)]['id']+_0x1a76cf[_0x457539(0x27f)]})}):_0x1faa59;})}):_0x3aa014;}function ji(){const _0x238a04=_0x4efb46;return Math[_0x238a04(0x1ca)]()[_0x238a04(0x2d0)](0x24)[_0x238a04(0x2ef)](0x2,0x8);}je[_0x4efb46(0x21b)]=_0x4efb46(0x306);var Yi={'tag':'svg','attrs':{'xmlns':_0x4efb46(0x342),'fill':_0x4efb46(0x16b),'viewBox':'0\x200\x2016\x2016','width':_0x4efb46(0x1f1),'height':_0x4efb46(0x1f1)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x4efb46(0x203),'attrs':{'stroke':_0x4efb46(0x1d5),'d':_0x4efb46(0x1c1),'strokeLinecap':_0x4efb46(0x1b8),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x4efb46(0x20e),'attrs':{},'children':[{'tag':_0x4efb46(0x225),'attrs':{'id':_0x4efb46(0x292)},'children':[{'tag':_0x4efb46(0x203),'attrs':{'fill':_0x4efb46(0x282),'d':_0x4efb46(0x2cd)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},Dt=_0xf2f6e1(function(_0x57d439,_0x5bd8e0){const _0x1319cc=_0x4efb46;return _0x244245(je,Object[_0x1319cc(0x219)]({},_0x57d439,{'id':_0x1319cc(0x347),'ref':_0x5bd8e0,'icon':Yi}));});Dt[_0x4efb46(0x21b)]=_0x4efb46(0x2f0);var Fi={'tag':_0x4efb46(0x297),'attrs':{'xmlns':_0x4efb46(0x342),'fill':_0x4efb46(0x16b),'viewBox':_0x4efb46(0x2c5),'width':_0x4efb46(0x1f1),'height':_0x4efb46(0x1f1)},'children':[{'tag':'g','attrs':{'clipPath':_0x4efb46(0x2fa)},'children':[{'tag':_0x4efb46(0x203),'attrs':{'stroke':_0x4efb46(0x1d5),'d':_0x4efb46(0x1e5),'strokeLinecap':'round','strokeLinejoin':_0x4efb46(0x1b8),'strokeWidth':1.2}}]},{'tag':_0x4efb46(0x20e),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x4efb46(0x2a0)},'children':[{'tag':_0x4efb46(0x203),'attrs':{'fill':_0x4efb46(0x282),'d':_0x4efb46(0x2cd),'transform':_0x4efb46(0x205)}}]}]}],'defIds':[_0x4efb46(0x2a0)]},Nt=_0xf2f6e1(function(_0x284855,_0x5a2ff1){const _0x11aa80=_0x4efb46;return _0x244245(je,Object['assign']({},_0x284855,{'id':_0x11aa80(0x1c0),'ref':_0x5a2ff1,'icon':Fi}));});Nt[_0x4efb46(0x21b)]=_0x4efb46(0x155);function Wi(_0x2747bf){const _0x423803=_0x4efb46;switch(_0x2747bf){case _0x2fb3dc[_0x423803(0x1ff)]:return _0x423803(0x171);case _0x2fb3dc[_0x423803(0x2b8)]:return _0x423803(0x2c7);case _0x2fb3dc[_0x423803(0x2a9)]:return'collabStatus.fetchMiss';case _0x2fb3dc[_0x423803(0x14d)]:return _0x423803(0x2af);case _0x2fb3dc[_0x423803(0x1f3)]:case _0x2fb3dc[_0x423803(0x233)]:return _0x423803(0x315);case _0x2fb3dc[_0x423803(0x1ab)]:case _0x2fb3dc[_0x423803(0x245)]:return'collabStatus.synced';}}function _0x906e(){const _0x1d078d=['disableLocalCache','ACTIVE_UNIT_EVENT_CHANNEL','mutations','sessionTicket','fillRule','font','idSuffix','width','9429640bEfRJd','white','defineProperty','call','SNAPSHOT_HAS_BEEN_REMOVED','INVALID_INVITE_CODE','getSheetId','_localCacheService','name','purple.300','getOffsetConfig','_initDependencies','getCurrent','subscribeEvent','init','_drawAnchor','labelPosition','off-line-icon_clip0_910_343','_onRefRangeChange','closePath','collaboration-client-ui.config','_status$','svg','Warning','save','eventID','_labelPosition','3458815EdeNac','with','NO_OTHER_CLIENTS_EDITING','setInterval','on-line-icon_clip0_910_349','INVITE_CODE_ALREADY_BOUND','_scheduleClearOtherTimer','replaceState','PERMISSION_DENIED','_init','subunit','PY_RUNTIME_SCRIPT_ERROR','then','FETCH_MISS','propertyIsEnumerable','_docSkeletonManagerService','entries','min','createSocket','collabStatus.notCollab','symbol','transformRemoteChangeset','values','unit','storage','send','assignAColorForMemberID','_assignedColors','CONFLICT','_textBubble','getActiveRange','_disabled','blue.400','registerRenderModule','YUUMI_ASYNCIO_CANCELLED','LICENSE_IMPORT_SIZE_EXCEEDED','findNodePositionByCharIndex','imageSourceType','m1Prime','Failed','debug','0\x200\x2017\x2016','25849164STFOnE','collabStatus.conflict','_session','currentSkeleton$','LOGIN_FAILED','transformIMECache','_collabSessionService','M0\x200H16V16H0z','whenReady','_toggleOffline','toString','_univerInstanceService','_renderManagerService','transformMutation','saveImage','doc.mutation.rich-text-editing','onPointerEnter$','error','ranges','jiqing.500','m2Prime','createInstance','_updateCollabCursors','undoState','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','add','searchParams','_scheduleSaving','_messageService','getTypeOfUnitAdded$','type','restore','transformStateCache','drawWith','_docClipboardService','getValue','asObservable','_entities','textRanges','defIds','_id','substring','OffLineIcon','_updateURLWithCurrentState','memberID','_docSkeleton','DeleteRangeMoveUpCommandId','cursorInfo$','_saveTaskMap','flatMap','getCurrentRevOfUnit','_context','url(#on-line-icon_clip0_910_349)','_docSyncEditingCollabCursorService','INVITE_CODE_REQUIRED','session.collaboration-timeout','_getScale','tag','_beforeCloseService','fillText','color','fill','UNIVER_SHEET','onLocalMutation','UniverIcon','apply','use','Unknown\x20user','delete','UNAUTHENTICATED','_saveCache','top','event$','rgba(255,\x20255,\x20255,\x200.01)','_registerRenderDependencies','set','skeleton','WECHAT_HAS_BEEN_BOUND','setUndoRedoMutationParamsCache','collabStatus.syncing','MUTATION','onRendered','univer-flex\x20univer-items-center','getUniverSheetInstance','LICENSE_EXPORT_SIZE_EXCEEDED','_refRangeService','_clearOtherTimers','session.will-retry','pushState','text','_lastPointer','setAlpha','_uiPartsService','_render','8zSEhUl','InsertRangeMoveRightCommandId','next','colorChannel1','onStarting','getOwnPropertySymbols','MOBILE_HAS_BEEN_BOUND','result','addEventListener','urlChange$','OTHER_CLIENTS_EDITING','exhaustSavingTask','242DmZFLa','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_handleJoinEvent','addHandlerCallback','focused$','_color','cursorInfo','startsWith','LICENSE_MAX_UNITS_EXCEEDED','status$','_entityInit$','complete','RemoveRowCommandId','3188huduUg','transform','_unitOnClients','roomMembers','deepClone','http://www.w3.org/2000/svg','isArray','_hovered','row','getUnhiddenWorksheets','off-line-icon','YUUMI_URL_COL_OUT_OF_RANGE','_collaborationUIEventService','_initStatusComponent','newValue','_hideTimer','dispose$','_cachedData','_registerDependencies','getMemberID','hide','get','...','_eventUnsubscribe','USERS_LEAVE','_updateSubUnitFromURLParams','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_config','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','Error','_getAnchorBounding','roomMembers$','getOwnPropertyDescriptor','getColorFromTheme','NOT_COLLAB','DeleteRangeMoveLeftCommandId','_startSheetCollabCursor','collabCursorState$','CHANGESET_REVISION_CONFILICT','unitId','from','endColumn','OnLineIcon','getSheetBySheetId','subscribe','_name','_anchor','split','getUnitId','hasOwnProperty','height','_send','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','YUUMI_TABLE_NOT_FOUND_IN_UNIT','collab-text-anchor-','TEXT','_cursor','unload','CLOSE_ROOM','mask','_setupBeforeClosingHandler','univerjs-icon\x20univerjs-icon-','RECT','6yikJOE','none','max','YUUMI_SUBSCRIPTION_NOT_FOUND','_colorAssignService','uni.network.url-service','VIEW_MAIN','collabStatus.offline','ALREADY_EXISTS','trim','icon','HEADER_MENU','OTHER_CLIENT_EDITING','origin','isActive','red.300','_cursors','_cursorInfo$','_instanceService','_onCursorDelete','_collabCursorController','_handleEvent','activeSheet$','replace','sessionStatus$','_colorIndex','_roomMembers$','moveTo','arc','[CollaborationDataLoaderController]','_getSessionTicket','UNIVER_DOC','_backgroundColor','CONNECTOR_DATA_TOO_LARGE','column','application/json','_unitStatus','YUUMI_NO_CUBOID_FOR_QUESTION','_docTransformSelectionsService','bottom','_localeService','setItem','collab-client.tooltip.reconnect','location','_collaborationController','YUUMI_RATE_OVER_LIMIT','loadOfflineData','YUUMI_UNABLE_LOAD_URL','_revisionService','InsertRowCommandId','_drawRectRange','unitID','forEach','_docStateChangeManagerService','FromArray','executionId','setShapeProps','permission.title','requireSession','addClipboardHook','getParam','APPLY_DUPLICATED','InsertColCommandId','fillStyle','resize','SYNCED','_configService','UNRECOGNIZED','getDocRanges','getCurrentUnitForType','_createSocketURL','getRangePointData','params','JOIN_ROOM_FAILED','_transformHistoryAndStateStack','setStateCache','_cursorShapes','dispose','round','isEditing','_transformService','xlink:href','string','_docTransformIMECacheService','getMember','93078OlSKKo','on-line-icon','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','_dataLoaderService','selection','search','_drawTextRange','engine','_initCommandExecutedListener','_themeService','getAncestorScale','random','onPointerMove$','sheetId','_onCursorUpdate','_initEvent','_initResize','getCollabCursors$','push','_transformPreviousActiveRange','override','_urlService','currentColor','runId','_online','onTransformChange$','setTimeout','_heartbeatTimer','_sheetSkeletonManagerService','pluginName','prototype','MoveRangeCommandId','attrs','_getSaveTimeout','addObject','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','code','disposeUnit','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','includes','APPLY_REJECT','ticket','onPointerLeave$','clearInterval','getTypeOfUnitDisposed$','green.600','_docTransformStateCacheService','disposeWithMe','onCommandExecuted','backgroundColor','1em','getUndoRedoMutationParamsCache','AWAITING','_handleHover','NOT_FOUND','_localStorageService','className','collab-text-range-','COMPLETION_FINISHED','RemoveColCommandId','EMAIL_HAS_BEEN_BOUND','_refreshCollabCursors','find','36XwapQC','OFFLINE','APPLY_NON_SEQUENTIAL_REVISION','univer-flex\x20univer-mr-2\x20univer-text-xl','getSkeleton','path','_anchorDot','translate(.97)','_imageIoService','_commandService','unsubscribe','APPLY_PERMISSION_DENIED','has','loadUnit','getCurrentSelections','setActiveRange','defs','indexOf','evenodd','startColumn','INTERNAL_ERROR','collab-rect-range-','getItem','_notificationService','concat','setParam','entityInit$','assign','beginPath','displayName','unshift','APPLY_REVISION_CONFILICT','registerRefRange','_collabCursorState$','div','addObjects','transformMutationsWithChangeset','INVALID_ARGUMENT','_doCreateSocket','clipPath','enableLocalCache','ONLINE','measureText','stringify','YUUMI_AI_RUN_FAILED','triggerDblclick','permission.content','history','getConfig','pipe','generateRandomId','ENSURE_SNAPSHOT_EXECUTION','_shapes','AWAITING_WITH_PENDING','SOCKET_FAILED','_toggleOnline','collaboration-client.offline-data-not-saved','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','registerComponent','getViewport','_syncEditingCollabCursorService','_updateLocalCursor','length','endRow','map','_injector','selections','_selfUnitIDs','registerBeforeClose','12YuolrM','url(#$1','PENDING','saveTaskMap','function','_removeCollabCursors','_scene','TOO_MANY_REQUESTS','InsertRangeMoveDownCommandId','show','_ensureSubject','removeParam','range','INVITE_CODE_HAS_BEEN_UES','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_transformUndoRedoStack','_logService','yellow.400','redoState','_setupSubUnitSync','SUBMIT_CHANGESET_TIMEOUT','currentTheme$','_getSheetObject','body','black','getRenderById','extend','lineTo','some','_range','_httpService','popstate','getFocusedUnit','8190981iSDfyp','_draw','_hover','setConfig','collaboration.closeRoom','data','editingUnit','UPDATE_CURSOR','_handleLeaveEvent','3318259nOqhpe','href','toRgbString','size','_removeClearOtherTimer','post','children','_getMergeRange','LICENSE_DISTRO_REJECTED','_initEntityListener','clearTimeout','_memberService'];_0x906e=function(){return _0x1d078d;};return _0x906e();}function Vi(_0x318832){const _0x1b781d=_0x4efb46,{status$:_0x49c067}=_0x318832,_0x4dda4b=_0x4fff27(_0x49c067,_0x2fb3dc[_0x1b781d(0x14d)]),_0xbbdb8f=_0x37419a(_0xe5abc6),_0x266f43=_0x37419a(_0x1a5d93),_0x3d25d7=_0x4dda4b!==_0x2fb3dc[_0x1b781d(0x1ff)],_0x2ec746=_0xbbdb8f['t'](Wi(_0x4dda4b)),_0x1cd12=_0x3d25d7?_0x4b1da7(Nt,{}):_0x4b1da7(Dt,{}),_0x8e170c=_0xe4d2e2(()=>{_0x3d25d7||_0x266f43['reconnect']();},[_0x3d25d7,_0x266f43]);function _0x3615db(){const _0xf24d80=_0x1b781d;return _0xab21e5(_0xf24d80(0x220),{'className':_0xf24d80(0x318),'onClick':_0x8e170c,'children':[_0x4b1da7(_0xf24d80(0x220),{'className':_0x5e46e7(_0xf24d80(0x201),{'univer-text-green-500':_0x3d25d7,'univer-text-red-500':!_0x3d25d7}),'children':_0x1cd12}),_0x4b1da7('div',{'className':_0xf24d80(0x15f),'children':_0x2ec746})]});}return _0x3d25d7?_0x3615db():_0x4b1da7(_0x2eed63,{'title':_0xbbdb8f['t'](_0x1b781d(0x194)),'children':_0x3615db()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x1b051f,_0x1ed271,_0x22dcae,_0x50fee6)=>{const _0x3804b1=_0x4efb46;for(var _0x19c1fd=_0x50fee6>0x1?void 0x0:_0x50fee6?Xi(_0x1ed271,_0x22dcae):_0x1ed271,_0x37bf02=_0x1b051f[_0x3804b1(0x23c)]-0x1,_0x496fd6;_0x37bf02>=0x0;_0x37bf02--)(_0x496fd6=_0x1b051f[_0x37bf02])&&(_0x19c1fd=_0x496fd6(_0x19c1fd)||_0x19c1fd);return _0x19c1fd;},Q=(_0x5edf2e,_0x555770)=>(_0x52cbb5,_0x2cc32f)=>_0x555770(_0x52cbb5,_0x2cc32f,_0x5edf2e);let te=class extends _0x56014e{constructor(_0xc26d50,_0xa748b7,_0x212fa0,_0x7645f3){const _0x12aaf2=_0x4efb46;super(),_(this,'_status$',new _0xc73289(_0x2fb3dc[_0x12aaf2(0x14d)])),(this[_0x12aaf2(0x2d1)]=_0xc26d50,this[_0x12aaf2(0x23f)]=_0xa748b7,this[_0x12aaf2(0x196)]=_0x212fa0,this[_0x12aaf2(0x322)]=_0x7645f3,this[_0x12aaf2(0x34a)](),this['_initStatusListener']());}['_initStatusListener'](){const _0x5ac626=_0x4efb46;this[_0x5ac626(0x1ee)](this[_0x5ac626(0x2d1)][_0x5ac626(0x334)][_0x5ac626(0x22f)](_0x1b9fb8(()=>{const _0x2ede92=_0x5ac626,_0x1fc994=this['_univerInstanceService'][_0x2ede92(0x263)]();return _0x1fc994?this[_0x2ede92(0x196)]['getCollabEntity$'](_0x1fc994[_0x2ede92(0x15b)]()):_0x4846f1(null);}),_0x1b9fb8(_0x9f7167=>_0x9f7167?_0x9f7167[_0x5ac626(0x339)]:_0x4846f1(_0x2fb3dc[_0x5ac626(0x14d)])))[_0x5ac626(0x157)](_0x4a3606=>{const _0x524b52=_0x5ac626;this[_0x524b52(0x296)][_0x524b52(0x326)](_0x4a3606);}));}[_0x4efb46(0x34a)](){const _0x4a8e52=_0x4efb46;this[_0x4a8e52(0x1ee)](this[_0x4a8e52(0x322)][_0x4a8e52(0x238)](_0x55c190[_0x4a8e52(0x175)],()=>_0x38a51b(Ki({'status$':this[_0x4a8e52(0x296)][_0x4a8e52(0x2ea)]()}),this[_0x4a8e52(0x23f)])));}};te=Gi([Q(0x0,_0xb3fb3f),Q(0x1,_0xc24e4b(_0x35c1bd)),Q(0x2,_0xc24e4b(_0x209cdd)),Q(0x3,_0x513ab5)],te);function Ki(_0x2c131f){const {status$:_0x4555d9}=_0x2c131f;return function(){return _0x4b1da7(Vi,{'status$':_0x4555d9});};}var zi=Object[_0x4efb46(0x14b)],Ji=(_0xc80d4c,_0x41b17d,_0x2b5299,_0xdb7d59)=>{const _0x3b696c=_0x4efb46;for(var _0x21c75b=_0xdb7d59>0x1?void 0x0:_0xdb7d59?zi(_0x41b17d,_0x2b5299):_0x41b17d,_0x425d55=_0xc80d4c[_0x3b696c(0x23c)]-0x1,_0x5eb5c6;_0x425d55>=0x0;_0x425d55--)(_0x5eb5c6=_0xc80d4c[_0x425d55])&&(_0x21c75b=_0x5eb5c6(_0x21c75b)||_0x21c75b);return _0x21c75b;},B=(_0x499f21,_0x488dd3)=>(_0x5e129e,_0x5bd88d)=>_0x488dd3(_0x5e129e,_0x5bd88d,_0x499f21);let se=class extends _0x56014e{constructor(_0xcd13fd,_0xfaa93a,_0x1559a6,_0x443875,_0x117a43,_0x502ab5){const _0x242625=_0x4efb46;super(),this[_0x242625(0x300)]=_0xcd13fd,this[_0x242625(0x288)]=_0xfaa93a,this['_collaborationUIEventService']=_0x1559a6,this[_0x242625(0x2e2)]=_0x443875,this[_0x242625(0x215)]=_0x117a43,this[_0x242625(0x192)]=_0x502ab5,this[_0x242625(0x167)](),this['_initEvent']();}[_0x4efb46(0x167)](){const _0x77e1bf=_0x4efb46;this[_0x77e1bf(0x1ee)](this[_0x77e1bf(0x300)][_0x77e1bf(0x242)](()=>{const _0x4da185=_0x77e1bf;if(this[_0x4da185(0x288)]['saveTaskMap'][_0x4da185(0x270)])return this[_0x4da185(0x192)]['t'](_0x4da185(0x236));}));}[_0x4efb46(0x1ce)](){const _0x1ff9b0=_0x4efb46;this[_0x1ff9b0(0x1ee)](this[_0x1ff9b0(0x349)][_0x1ff9b0(0x30e)][_0x1ff9b0(0x157)](_0x143a11=>{const _0x5867f8=_0x1ff9b0;_0x143a11['id']===_0x373aa0[_0x5867f8(0x176)]&&this['_messageService'][_0x5867f8(0x24c)]({'type':_0x230161[_0x5867f8(0x298)],'content':this[_0x5867f8(0x192)]['t']('collaboration.single-unit.warning')}),_0x143a11['id']===_0x373aa0[_0x5867f8(0x165)]&&this[_0x5867f8(0x2e2)][_0x5867f8(0x24c)]({'type':_0x230161[_0x5867f8(0x298)],'content':this['_localeService']['t'](_0x5867f8(0x268))}),_0x143a11['id']===_0x373aa0[_0x5867f8(0x2a4)]&&this[_0x5867f8(0x215)][_0x5867f8(0x24c)]({'title':this[_0x5867f8(0x192)]['t'](_0x5867f8(0x1a3)),'content':this[_0x5867f8(0x192)]['t'](_0x5867f8(0x22c)),'type':_0x5867f8(0x2d7),'duration':0x0}),_0x143a11['id']===_0x373aa0[_0x5867f8(0x2b8)]&&this['_messageService'][_0x5867f8(0x24c)]({'type':_0x230161[_0x5867f8(0x148)],'content':this[_0x5867f8(0x192)]['t'](_0x5867f8(0x268))+'('+_0x143a11[_0x5867f8(0x269)]+')'}),_0x143a11['id']===_0x373aa0[_0x5867f8(0x1b3)]&&this[_0x5867f8(0x2e2)][_0x5867f8(0x24c)]({'type':_0x230161['Warning'],'content':this[_0x5867f8(0x192)]['t'](_0x143a11['data']||'')}),_0x143a11['id']===_0x373aa0['SOCKET_FAILED_RETRY']&&this[_0x5867f8(0x2e2)][_0x5867f8(0x24c)]({'type':_0x230161[_0x5867f8(0x298)],'content':this[_0x5867f8(0x192)]['t'](_0x5867f8(0x31d))}),_0x143a11['id']===_0x373aa0[_0x5867f8(0x234)]&&this[_0x5867f8(0x2e2)][_0x5867f8(0x24c)]({'type':_0x230161[_0x5867f8(0x148)],'content':this[_0x5867f8(0x192)]['t']('session.connection-failed')}),_0x143a11['id']===_0x373aa0[_0x5867f8(0x257)]&&this['_messageService'][_0x5867f8(0x24c)]({'type':_0x230161['Error'],'content':this['_localeService']['t'](_0x5867f8(0x2fd))});}));}};se=Ji([B(0x0,_0x445e71),B(0x1,_0x32856e),B(0x2,_0xc24e4b(_0x582dfc)),B(0x3,_0x251236),B(0x4,_0x34023a),B(0x5,_0xc24e4b(_0xe5abc6))],se);const Zi=_0x4efb46(0x295),et={},Ut=_0x11359d(_0x4efb46(0x16f));var Qi=Object[_0x4efb46(0x14b)],qi=(_0x4d6ce8,_0x255a6e,_0xbc81aa,_0x395bbb)=>{const _0x10a96a=_0x4efb46;for(var _0x55f842=_0x395bbb>0x1?void 0x0:_0x395bbb?Qi(_0x255a6e,_0xbc81aa):_0x255a6e,_0x1f1858=_0x4d6ce8[_0x10a96a(0x23c)]-0x1,_0x15268c;_0x1f1858>=0x0;_0x1f1858--)(_0x15268c=_0x4d6ce8[_0x1f1858])&&(_0x55f842=_0x15268c(_0x55f842)||_0x55f842);return _0x55f842;},G=(_0x338bf6,_0x9b2fe2)=>(_0x455b31,_0x2e961a)=>_0x9b2fe2(_0x455b31,_0x2e961a,_0x338bf6);let ie=class extends _0x264876{constructor(_0x48646c,_0x4f0c8b,_0x36e07d,_0x5255c4,_0x2a3772){const _0x18b1ed=_0x4efb46;super(),this['_urlService']=_0x48646c,this[_0x18b1ed(0x253)]=_0x4f0c8b,this[_0x18b1ed(0x207)]=_0x36e07d,this[_0x18b1ed(0x1c2)]=_0x5255c4,_0x2a3772?_0x2a3772==null||_0x2a3772[_0x18b1ed(0x2ce)]()[_0x18b1ed(0x2a8)](()=>this[_0x18b1ed(0x2a5)]()):(this[_0x18b1ed(0x253)][_0x18b1ed(0x2c4)](_0x18b1ed(0x187),_0x18b1ed(0x2de)),this[_0x18b1ed(0x2a5)]());}async[_0x4efb46(0x2a5)](){const _0x575822=_0x4efb46,_0x31bd28=this[_0x575822(0x1d4)][_0x575822(0x1a6)](_0x575822(0x2b3)),_0x321350=this[_0x575822(0x1d4)][_0x575822(0x1a6)](_0x575822(0x2e4)),_0x35dbb9=this[_0x575822(0x1d4)][_0x575822(0x1a6)]('subunit');if(!_0x31bd28||!_0x321350){this['_logService'][_0x575822(0x2c4)]('[CollaborationDataLoaderController]',_0x575822(0x331));return;}const _0x1f9426=await this[_0x575822(0x1c2)][_0x575822(0x20b)](_0x31bd28,Number(_0x321350),_0x35dbb9);_0x1f9426&&_0x1f9426 instanceof _0x1e4069&&this[_0x575822(0x256)](_0x1f9426);}async[_0x4efb46(0x256)](_0x38a2f8){const _0x4caa9e=_0x4efb46;await this['_updateSubUnitFromURLParams'](_0x38a2f8),_0x38a2f8[_0x4caa9e(0x180)][_0x4caa9e(0x22f)](_0x760463(this[_0x4caa9e(0x34d)]))[_0x4caa9e(0x157)](_0x501b61=>{const _0x4a9a23=_0x4caa9e;_0x501b61&&this[_0x4a9a23(0x2f1)](_0x501b61);}),this[_0x4caa9e(0x1d4)][_0x4caa9e(0x32d)][_0x4caa9e(0x22f)](_0x760463(this[_0x4caa9e(0x34d)]))[_0x4caa9e(0x157)](()=>this[_0x4caa9e(0x356)](_0x38a2f8));}['_updateURLWithCurrentState'](_0x3d11ee,_0x2f262f=!0x1){const _0x73d069=_0x4efb46,_0x3827f1=this[_0x73d069(0x1d4)][_0x73d069(0x1a6)]('subunit');_0x3d11ee['getSheetId']()!==_0x3827f1&&this[_0x73d069(0x1d4)][_0x73d069(0x217)](_0x73d069(0x2a6),_0x3d11ee[_0x73d069(0x287)](),_0x2f262f);}async[_0x4efb46(0x356)](_0xc3e8d8){const _0x1b8ed3=_0x4efb46;var _0x208464;const _0x333b38=this[_0x1b8ed3(0x1d4)]['getParam'](_0x1b8ed3(0x2a6));if(!_0x333b38||!_0xc3e8d8[_0x1b8ed3(0x156)](_0x333b38)){const _0x24c08f=_0xc3e8d8[_0x1b8ed3(0x346)]()[0x0],_0x39e836=_0xc3e8d8[_0x1b8ed3(0x156)](_0x24c08f);if(!_0x39e836)return;this['_updateURLWithCurrentState'](_0x39e836,!0x0),await this[_0x1b8ed3(0x207)]['executeCommand'](_0x3f9a83['id'],{'unitId':_0xc3e8d8[_0x1b8ed3(0x15b)](),'subUnitId':_0x24c08f});return;}((_0x208464=_0xc3e8d8['getActiveSheet']())==null?void 0x0:_0x208464[_0x1b8ed3(0x287)]())!==_0x333b38&&await this[_0x1b8ed3(0x207)]['executeCommand'](_0x3f9a83['id'],{'unitId':_0xc3e8d8[_0x1b8ed3(0x15b)](),'subUnitId':_0x333b38});}};ie=qi([G(0x0,Ut),G(0x1,_0x5ce2e9),G(0x2,_0xc68a40),G(0x3,_0xc24e4b(_0x1653c9)),G(0x4,_0x232a08(_0x429d76))],ie);var en=Object[_0x4efb46(0x14b)],tn=(_0x50b30b,_0x13446c,_0x3271ce,_0x54349f)=>{for(var _0x5c7085=_0x54349f>0x1?void 0x0:_0x54349f?en(_0x13446c,_0x3271ce):_0x13446c,_0x177ffe=_0x50b30b['length']-0x1,_0x3a49cb;_0x177ffe>=0x0;_0x177ffe--)(_0x3a49cb=_0x50b30b[_0x177ffe])&&(_0x5c7085=_0x3a49cb(_0x5c7085)||_0x5c7085);return _0x5c7085;},pe=(_0x52b56d,_0x4ab9a2)=>(_0x32c44b,_0x3e4fd2)=>_0x4ab9a2(_0x32c44b,_0x3e4fd2,_0x52b56d);let ne=class{constructor(_0x401723,_0x5e7470,_0x278002){const _0x3820bb=_0x4efb46;this[_0x3820bb(0x23f)]=_0x401723,this['_transformService']=_0x5e7470,this['_renderManagerService']=_0x278002;}['transformIMECache'](_0x292e9e){const _0x159f0c=_0x4efb46;this[_0x159f0c(0x252)](_0x292e9e),this[_0x159f0c(0x1d2)](_0x292e9e);}[_0x4efb46(0x2b1)](_0x21502d){const _0x50068f=_0x4efb46,{unitID:_0x4b24b4}=_0x21502d,_0x315089=this[_0x50068f(0x2d2)][_0x50068f(0x25c)](_0x4b24b4)['with'](_0x3b1b9c),{redoCache:_0x5aa2d7}=_0x315089[_0x50068f(0x1f2)]();if(_0x5aa2d7['length']===0x0)return _0x21502d;let _0x4dc077=_0x24e58b[_0x50068f(0x341)](_0x21502d[_0x50068f(0x27b)][0x0]);for(let _0x553db8=0x0;_0x553db8<_0x5aa2d7['length'];_0x553db8++){const _0x4ad1af={'id':_0x50068f(0x2d5),'params':{..._0x5aa2d7[_0x553db8]}},_0x49f66d=this[_0x50068f(0x1ba)][_0x50068f(0x2d3)](_0x4dc077,_0x4ad1af,!0x1);if(_0x4dbfd1(_0x49f66d))throw _0x49f66d[_0x50068f(0x2d7)];_0x4dc077=_0x49f66d[_0x50068f(0x2c2)];}return{..._0x24e58b[_0x50068f(0x341)](_0x21502d),'mutations':[_0x4dc077]};}[_0x4efb46(0x252)](_0x31e028){const _0x175acf=_0x4efb46,{unitID:_0x5388ab}=_0x31e028,_0x5590e2=this['_renderManagerService'][_0x175acf(0x25c)](_0x5388ab)[_0x175acf(0x29d)](_0x3b1b9c),{undoCache:_0x48054d,redoCache:_0x4a0797}=_0x5590e2[_0x175acf(0x1f2)]();if(_0x48054d['length']===0x0||_0x4a0797[_0x175acf(0x23c)]===0x0)return;const _0xc006f1=[],_0x4876f8=[];let _0xf3c1c8=_0x24e58b['deepClone'](_0x31e028[_0x175acf(0x27b)][0x0]),_0x1ad077=_0x24e58b[_0x175acf(0x341)](_0x31e028[_0x175acf(0x27b)][0x0]);for(let _0x1450db=_0x48054d[_0x175acf(0x23c)]-0x1;_0x1450db>=0x0;_0x1450db--){const _0x4c629b={'id':_0x175acf(0x2d5),'params':{..._0x48054d[_0x1450db]}},_0x55ff4e={'id':_0x175acf(0x2d5),'params':{..._0x4a0797[_0x1450db]}},_0x186cac=this['_transformService'][_0x175acf(0x2d3)](_0xf3c1c8,_0x4c629b,!0x1),_0x469687=this[_0x175acf(0x1ba)][_0x175acf(0x2d3)](_0x1ad077,_0x55ff4e,!0x1);if(_0x4dbfd1(_0x186cac))throw _0x186cac[_0x175acf(0x2d7)];if(_0x4dbfd1(_0x469687))throw _0x469687[_0x175acf(0x2d7)];_0xc006f1[_0x175acf(0x21c)](_0x186cac[_0x175acf(0x2da)][_0x175acf(0x1b2)]),_0x4876f8[_0x175acf(0x21c)](_0x469687[_0x175acf(0x2da)][_0x175acf(0x1b2)]),_0xf3c1c8=_0x186cac['m1Prime'],_0x1ad077=_0x469687[_0x175acf(0x2c2)];}_0x5590e2[_0x175acf(0x314)]({'undoCache':_0xc006f1,'redoCache':_0x4876f8});}['_transformPreviousActiveRange'](_0x2b4da3){const _0x54aaae=_0x4efb46,{unitID:_0x2cc3bd}=_0x2b4da3,_0x17c2fc=this[_0x54aaae(0x2d2)][_0x54aaae(0x25c)](_0x2cc3bd)['with'](_0x3b1b9c),_0x45dc13=_0x17c2fc[_0x54aaae(0x2ba)]();if(_0x45dc13==null)return;const _0x29da2e=[{'id':_0x54aaae(0x2d5),'params':{'unitId':_0x2b4da3[_0x54aaae(0x19d)],'actions':null,'textRanges':[_0x45dc13]}}],_0x46483f=this[_0x54aaae(0x1ba)]['transformMutationsWithChangeset'](_0x2b4da3,_0x29da2e);if(!_0x1c81b1(_0x46483f))throw _0x46483f['error'];const _0x168bd4=_0x46483f['m2Prime'][0x0][_0x54aaae(0x1b2)][_0x54aaae(0x2ec)];Array['isArray'](_0x168bd4)&&_0x168bd4['length']&&_0x17c2fc[_0x54aaae(0x20d)](_0x168bd4[0x0]);}};ne=tn([pe(0x0,_0xc24e4b(_0x35c1bd)),pe(0x1,_0xc02503),pe(0x2,_0x2baf14)],ne);var sn=Object[_0x4efb46(0x14b)],nn=(_0x12f47b,_0x217273,_0x309bd8,_0x5b6ca4)=>{const _0x1c1c49=_0x4efb46;for(var _0x497542=_0x5b6ca4>0x1?void 0x0:_0x5b6ca4?sn(_0x217273,_0x309bd8):_0x217273,_0x5071b1=_0x12f47b[_0x1c1c49(0x23c)]-0x1,_0x51896e;_0x5071b1>=0x0;_0x5071b1--)(_0x51896e=_0x12f47b[_0x5071b1])&&(_0x497542=_0x51896e(_0x497542)||_0x497542);return _0x497542;},Ce=(_0x501ff7,_0x3b9614)=>(_0x2f76d5,_0x293508)=>_0x3b9614(_0x2f76d5,_0x293508,_0x501ff7);let re=class{constructor(_0x1410ec,_0x5103f1,_0x301c67){const _0x45f40a=_0x4efb46;this[_0x45f40a(0x23f)]=_0x1410ec,this[_0x45f40a(0x1ba)]=_0x5103f1,this['_docStateChangeManagerService']=_0x301c67;}['transformStateCache'](_0x2cc50f){const _0x5edfd1=_0x4efb46;this[_0x5edfd1(0x1b4)](_0x2cc50f);}[_0x4efb46(0x2b1)](_0x2d5ae9){const _0x1f6050=_0x4efb46,{unitID:_0x4d8f7e}=_0x2d5ae9,{collaboration:_0x49a6da}=this['_docStateChangeManagerService']['getStateCache'](_0x4d8f7e);if(_0x49a6da[_0x1f6050(0x23c)]===0x0)return _0x2d5ae9;let _0x410347=_0x24e58b[_0x1f6050(0x341)](_0x2d5ae9[_0x1f6050(0x27b)][0x0]);for(let _0x438fb5=0x0;_0x438fb5<_0x49a6da[_0x1f6050(0x23c)];_0x438fb5++){const _0x53f886={'id':_0x1f6050(0x2d5),'params':{'unitId':_0x49a6da[_0x438fb5][_0x1f6050(0x152)],..._0x49a6da[_0x438fb5][_0x1f6050(0x255)]}},_0x3fb38a=this['_transformService'][_0x1f6050(0x2d3)](_0x410347,_0x53f886,!0x1);if(_0x4dbfd1(_0x3fb38a))throw _0x3fb38a['error'];_0x410347=_0x3fb38a[_0x1f6050(0x2c2)];}return{..._0x24e58b[_0x1f6050(0x341)](_0x2d5ae9),'mutations':[_0x410347]};}[_0x4efb46(0x1b4)](_0x22c958){const _0x2bc282=_0x4efb46,{unitID:_0x458846}=_0x22c958,{history:_0x305442,collaboration:_0x34bae8}=this[_0x2bc282(0x19f)]['getStateCache'](_0x458846);if(_0x305442[_0x2bc282(0x23c)]===0x0&&_0x34bae8[_0x2bc282(0x23c)]===0x0)return;const _0x43d80a=[],_0x3fbe92=[];let _0x59bd78=_0x24e58b[_0x2bc282(0x341)](_0x22c958[_0x2bc282(0x27b)][0x0]),_0xeabdb0=_0x24e58b[_0x2bc282(0x341)](_0x22c958[_0x2bc282(0x27b)][0x0]);for(let _0x58cc79=_0x305442[_0x2bc282(0x23c)]-0x1;_0x58cc79>=0x0;_0x58cc79--){const _0x2f6d27={'id':_0x2bc282(0x2d5),'params':{'unitId':_0x305442[_0x58cc79][_0x2bc282(0x152)],..._0x305442[_0x58cc79][_0x2bc282(0x2dd)]}},_0x1593a0={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x305442[_0x58cc79]['unitId'],..._0x305442[_0x58cc79][_0x2bc282(0x255)]}},_0x4fa644=this[_0x2bc282(0x1ba)][_0x2bc282(0x2d3)](_0x59bd78,_0x2f6d27,!0x1),_0x5a7458=this[_0x2bc282(0x1ba)][_0x2bc282(0x2d3)](_0xeabdb0,_0x1593a0,!0x1);if(_0x4dbfd1(_0x4fa644))throw _0x4fa644[_0x2bc282(0x2d7)];if(_0x4dbfd1(_0x5a7458))throw _0x5a7458['error'];_0x43d80a['unshift']({..._0x305442[_0x58cc79],'undoState':_0x4fa644['m2Prime'][_0x2bc282(0x1b2)],'redoState':_0x5a7458['m2Prime']['params']}),_0x59bd78=_0x4fa644['m1Prime'],_0xeabdb0=_0x5a7458['m1Prime'];}_0x59bd78=_0x24e58b['deepClone'](_0x22c958['mutations'][0x0]),_0xeabdb0=_0x24e58b['deepClone'](_0x22c958[_0x2bc282(0x27b)][0x0]);for(let _0x16351f=_0x34bae8[_0x2bc282(0x23c)]-0x1;_0x16351f>=0x0;_0x16351f--){const _0x1f6106={'id':_0x2bc282(0x2d5),'params':{'unitId':_0x34bae8[_0x16351f][_0x2bc282(0x152)],..._0x34bae8[_0x16351f][_0x2bc282(0x2dd)]}},_0x21a7ab={'id':_0x2bc282(0x2d5),'params':{'unitId':_0x34bae8[_0x16351f][_0x2bc282(0x152)],..._0x34bae8[_0x16351f][_0x2bc282(0x255)]}},_0xda5d5d=this['_transformService'][_0x2bc282(0x2d3)](_0x59bd78,_0x1f6106,!0x1),_0x2b2c8e=this[_0x2bc282(0x1ba)][_0x2bc282(0x2d3)](_0xeabdb0,_0x21a7ab,!0x1);if(_0x4dbfd1(_0xda5d5d))throw _0xda5d5d[_0x2bc282(0x2d7)];if(_0x4dbfd1(_0x2b2c8e))throw _0x2b2c8e[_0x2bc282(0x2d7)];_0x3fbe92[_0x2bc282(0x21c)]({..._0x34bae8[_0x16351f],'undoState':_0xda5d5d['m2Prime'][_0x2bc282(0x1b2)],'redoState':_0x2b2c8e['m2Prime'][_0x2bc282(0x1b2)]}),_0x59bd78=_0xda5d5d[_0x2bc282(0x2c2)],_0xeabdb0=_0x2b2c8e['m1Prime'];}this[_0x2bc282(0x19f)][_0x2bc282(0x1b5)](_0x458846,{'history':_0x43d80a,'collaboration':_0x3fbe92});}};re=nn([Ce(0x0,_0xc24e4b(_0x35c1bd)),Ce(0x1,_0xc02503),Ce(0x2,_0xc24e4b(_0x5ca87d))],re);var rn=Object['getOwnPropertyDescriptor'],on=(_0x262934,_0x460c45,_0xb5d3a5,_0x24189f)=>{const _0x3962f6=_0x4efb46;for(var _0x16a3e0=_0x24189f>0x1?void 0x0:_0x24189f?rn(_0x460c45,_0xb5d3a5):_0x460c45,_0x3d4497=_0x262934[_0x3962f6(0x23c)]-0x1,_0xc046bf;_0x3d4497>=0x0;_0x3d4497--)(_0xc046bf=_0x262934[_0x3d4497])&&(_0x16a3e0=_0xc046bf(_0x16a3e0)||_0x16a3e0);return _0x16a3e0;},tt=(_0x54cfc8,_0x90b96d)=>(_0x4a31fe,_0x22a8db)=>_0x90b96d(_0x4a31fe,_0x22a8db,_0x54cfc8);let oe=class{constructor(_0x1636ac,_0x462320){const _0x235c6c=_0x4efb46;this[_0x235c6c(0x23f)]=_0x1636ac,this[_0x235c6c(0x1ba)]=_0x462320;}['transformSelections'](_0xb05f62){const _0x472aba=_0x4efb46;var _0x57bc7a;const _0x54f2f1=this['_injector']['get'](_0x5afbad),_0x3cc2ce=(_0x57bc7a=_0x54f2f1[_0x472aba(0x1ae)]())!=null?_0x57bc7a:[];if(_0x3cc2ce[_0x472aba(0x23c)]===0x0)return;const _0x1fe64e=_0xb05f62[_0x472aba(0x19d)],_0x5d3f17=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1fe64e,'actions':null,'textRanges':_0x3cc2ce}}],_0x2cce0c=this['_transformService'][_0x472aba(0x222)](_0xb05f62,_0x5d3f17);if(!_0x1c81b1(_0x2cce0c))throw _0x2cce0c[_0x472aba(0x2d7)];const _0x34c069=_0x2cce0c[_0x472aba(0x2da)][0x0][_0x472aba(0x1b2)]['textRanges'];Array[_0x472aba(0x343)](_0x34c069)&&_0x34c069[_0x472aba(0x23c)]&&_0x54f2f1['replaceDocRanges'](_0x34c069,{'unitId':_0x1fe64e,'subUnitId':_0x1fe64e},!0x1);}};oe=on([tt(0x0,_0xc24e4b(_0x35c1bd)),tt(0x1,_0xc02503)],oe);var an=Object[_0x4efb46(0x14b)],cn=(_0x542359,_0x7e7c82,_0x173f6f,_0x114229)=>{const _0x365fd0=_0x4efb46;for(var _0x12dc54=_0x114229>0x1?void 0x0:_0x114229?an(_0x7e7c82,_0x173f6f):_0x7e7c82,_0x9c14d1=_0x542359[_0x365fd0(0x23c)]-0x1,_0x35358f;_0x9c14d1>=0x0;_0x9c14d1--)(_0x35358f=_0x542359[_0x9c14d1])&&(_0x12dc54=_0x35358f(_0x12dc54)||_0x12dc54);return _0x12dc54;},U=(_0x392fac,_0x256bf8)=>(_0x5ec638,_0x224074)=>_0x256bf8(_0x5ec638,_0x224074,_0x392fac);let ae=class extends _0x56014e{constructor(_0x352273,_0x5ebb89,_0x5a5021,_0x5beb62,_0x5b3297,_0x33a7f3,_0x56ae7c,_0x4e7fe6){const _0x3ede7a=_0x4efb46;super(),_(this,'_status$',new _0xc73289(_0x2fb3dc[_0x3ede7a(0x14d)])),(this['_docStateChangeManagerService']=_0x352273,this['_collaborationController']=_0x5ebb89,this[_0x3ede7a(0x1bd)]=_0x5a5021,this[_0x3ede7a(0x1ed)]=_0x5beb62,this[_0x3ede7a(0x190)]=_0x5b3297,this[_0x3ede7a(0x2fb)]=_0x33a7f3,this[_0x3ede7a(0x2e2)]=_0x56ae7c,this[_0x3ede7a(0x192)]=_0x4e7fe6,this[_0x3ede7a(0x276)]());}[_0x4efb46(0x276)](){const _0x5e4a61=_0x4efb46;this[_0x5e4a61(0x1ee)](this[_0x5e4a61(0x196)][_0x5e4a61(0x218)][_0x5e4a61(0x157)](_0x327452=>{const _0x5b5b11=_0x5e4a61,_0x20ac60=this[_0x5b5b11(0x19f)]['docStateChange$'][_0x5b5b11(0x157)](_0x2448a4=>{const _0x574c75=_0x5b5b11;if(_0x2448a4==null)return;const {unitId:_0x78c0a6,redoState:_0x7ffefd,commandId:_0x48b0bf}=_0x2448a4;if(_0x78c0a6!==_0x327452['unitID'])return;const _0x575288={'id':_0x48b0bf,'type':_0x632caa[_0x574c75(0x316)],'params':{'unitId':_0x78c0a6,'actions':_0x7ffefd['actions'],'textRanges':null}};_0x327452[_0x574c75(0x305)](_0x575288);});if(_0x327452[_0x5b5b11(0x1ee)](_0x20ac60),_0x327452 instanceof _0x5007f0){const _0x30aedc={'onTransformIME':_0x1196dc=>this['_docTransformIMECacheService'][_0x5b5b11(0x2cb)](_0x1196dc),'onTransformState':_0x111444=>this['_docTransformStateCacheService'][_0x5b5b11(0x2e6)](_0x111444),'onTransformSelections':_0x1fa7d8=>this[_0x5b5b11(0x190)]['transformSelections'](_0x1fa7d8),'onSyncEditingCollabCursor':_0x5978c8=>this[_0x5b5b11(0x2fb)]['syncEditingCollabCursor'](_0x5978c8),'onTransformRemoteChangesetByIMECache':_0x3a35ad=>this[_0x5b5b11(0x1bd)][_0x5b5b11(0x2b1)](_0x3a35ad),'onTransformRemoteChangesetByStateCache':_0x1eb549=>this[_0x5b5b11(0x1ed)][_0x5b5b11(0x2b1)](_0x1eb549)};_0x327452[_0x5b5b11(0x333)](_0x30aedc);}}));}};ae=cn([U(0x0,_0xc24e4b(_0x5ca87d)),U(0x1,_0xc24e4b(_0x209cdd)),U(0x2,_0xc24e4b(ne)),U(0x3,_0xc24e4b(re)),U(0x4,_0xc24e4b(oe)),U(0x5,_0xc24e4b(He)),U(0x6,_0x251236),U(0x7,_0xc24e4b(_0xe5abc6))],ae);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x589349,_0x35937a,_0x3cbfc1,_0x5f2380)=>{for(var _0x3d6229=_0x5f2380>0x1?void 0x0:_0x5f2380?ln(_0x35937a,_0x3cbfc1):_0x35937a,_0x51ece9=_0x589349['length']-0x1,_0x15022f;_0x51ece9>=0x0;_0x51ece9--)(_0x15022f=_0x589349[_0x51ece9])&&(_0x3d6229=_0x15022f(_0x3d6229)||_0x3d6229);return _0x3d6229;},Ee=(_0xb31481,_0x259aa7)=>(_0x2f8faf,_0x4e5b5a)=>_0x259aa7(_0x2f8faf,_0x4e5b5a,_0xb31481);let Le=class extends _0x56014e{constructor(_0x1ab12c,_0x187a0e,_0xfa85ea){const _0x45a732=_0x4efb46;super(),_(this,_0x45a732(0x34e),new Map()),_(this,'_saveTaskMap',new Map()),_(this,_0x45a732(0x2bb),!0x1),(this[_0x45a732(0x1ac)]=_0x1ab12c,this[_0x45a732(0x1f6)]=_0x187a0e,this['_revisionService']=_0xfa85ea);}[_0x4efb46(0x279)](){const _0x582ae7=_0x4efb46;this[_0x582ae7(0x2bb)]=!0x0;}[_0x4efb46(0x226)](){const _0x294d33=_0x4efb46;this[_0x294d33(0x2bb)]=!0x1;}get[_0x4efb46(0x246)](){const _0x23a7e3=_0x4efb46;return this[_0x23a7e3(0x2f6)];}[_0x4efb46(0x1b7)](){const _0xc02059=_0x4efb46;this[_0xc02059(0x32f)]()[_0xc02059(0x2a8)](()=>super[_0xc02059(0x1b7)]());}async[_0x4efb46(0x198)](_0x3c2b4d){const _0x321615=_0x4efb46;return this[_0x321615(0x2bb)]?null:this[_0x321615(0x1f6)][_0x321615(0x214)](_0x5aebcf(_0x3c2b4d));}async['saveOfflineData'](_0x43632f,_0x2c0781){const _0xa607aa=_0x4efb46;return!!this[_0xa607aa(0x1f6)]['setItem'](_0x43632f,_0x2c0781);}['updateOfflineData'](_0x49c385,_0x526cf7,_0x4d5177,_0x264bc6){const _0x247349=_0x4efb46,_0x9ba27c=this[_0x247349(0x19a)][_0x247349(0x2f8)](_0x49c385);this['_cachedData'][_0x247349(0x311)](_0x49c385,{'unitID':_0x49c385,'type':_0x526cf7,'awaitingChangeset':_0x4d5177,'mutations':_0x264bc6,'rev':_0x9ba27c}),this['_saveTaskMap']['has'](_0x49c385)||this['_scheduleSaving'](_0x49c385);}[_0x4efb46(0x2e1)](_0x3f894a){const _0x499951=_0x4efb46,_0x2677a8=this[_0x499951(0x1e0)]();_0x2677a8===0x0?this['_saveCache'](_0x3f894a):this['_saveTaskMap'][_0x499951(0x311)](_0x3f894a,setTimeout(()=>this[_0x499951(0x30c)](_0x3f894a),_0x2677a8));}['_getSaveTimeout'](){const _0x2387d0=_0x4efb46;var _0x152eec;return(_0x152eec=this[_0x2387d0(0x1ac)][_0x2387d0(0x22e)](_0x3a3ad1))!=null?_0x152eec:_0x5dc579;}[_0x4efb46(0x30c)](_0x329933){const _0x3761c4=_0x4efb46,_0x5e2ae5=this[_0x3761c4(0x2f6)][_0x3761c4(0x352)](_0x329933);return _0x5e2ae5!==void 0x0&&window[_0x3761c4(0x277)](_0x5e2ae5),this[_0x3761c4(0x1f6)]['setItem'](_0x5aebcf(_0x329933),this[_0x3761c4(0x34e)]['get'](_0x329933))['then'](()=>this[_0x3761c4(0x2f6)][_0x3761c4(0x30a)](_0x329933));}async[_0x4efb46(0x32f)](){const _0x12c751=_0x4efb46,_0x7c4dc=[];this['_saveTaskMap'][_0x12c751(0x19e)]((_0x49b3e2,_0x410a8a)=>{const _0x2d9ac3=_0x12c751;window[_0x2d9ac3(0x277)](_0x49b3e2),_0x7c4dc[_0x2d9ac3(0x1d1)](this[_0x2d9ac3(0x30c)](_0x410a8a)[_0x2d9ac3(0x2a8)](()=>{const _0x252025=_0x2d9ac3;this[_0x252025(0x2f6)][_0x252025(0x30a)](_0x410a8a);}));}),await Promise['all'](_0x7c4dc);}};Le=_n([Ee(0x0,_0x332256),Ee(0x1,_0xeced3c),Ee(0x2,_0xc24e4b(_0x141ad4))],Le);class hn extends _0x264876{constructor(){const _0x324f7d=_0x4efb46;super(),_(this,_0x324f7d(0x32d)),this[_0x324f7d(0x32d)]=_0x2e4f04(window,_0x324f7d(0x262))[_0x324f7d(0x22f)](_0x760463(this[_0x324f7d(0x34d)]),_0x4e92ea(0x1),_0x10fcff(void 0x0));}[_0x4efb46(0x217)](_0x289c98,_0x2e546e,_0x2bcaf0=!0x1){const _0x637d70=_0x4efb46,_0x4db87a=new URL(window[_0x637d70(0x195)][_0x637d70(0x26e)]);_0x4db87a[_0x637d70(0x2e0)][_0x637d70(0x311)](_0x289c98,_0x2e546e),_0x2bcaf0?window['history']['replaceState']('','',_0x4db87a['toString']()):window[_0x637d70(0x22d)][_0x637d70(0x31e)]('','',_0x4db87a[_0x637d70(0x2d0)]());}[_0x4efb46(0x24e)](_0x426750,_0xc8918a=!0x1){const _0x4e2b7b=_0x4efb46,_0x43480b=new URL(window[_0x4e2b7b(0x195)][_0x4e2b7b(0x26e)]);_0x43480b['searchParams'][_0x4e2b7b(0x30a)](_0x426750),_0xc8918a?window[_0x4e2b7b(0x22d)][_0x4e2b7b(0x2a3)]('','',_0x43480b[_0x4e2b7b(0x2d0)]()):window['history']['pushState']('','',_0x43480b[_0x4e2b7b(0x2d0)]());}['getParam'](_0x2e8627){const _0x31ea96=_0x4efb46;var _0x163c5;return(_0x163c5=new URL(window[_0x31ea96(0x195)][_0x31ea96(0x26e)])[_0x31ea96(0x2e0)][_0x31ea96(0x352)](_0x2e8627))!=null?_0x163c5:void 0x0;}}var un=Object[_0x4efb46(0x283)],dn=Object[_0x4efb46(0x14b)],fn=(_0x55018e,_0x336ab4,_0x236bcd)=>_0x336ab4 in _0x55018e?un(_0x55018e,_0x336ab4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x236bcd}):_0x55018e[_0x336ab4]=_0x236bcd,Sn=(_0x3aeae7,_0x3dbd8d,_0x30c97e,_0x34822b)=>{const _0x16bba7=_0x4efb46;for(var _0x5223c9=_0x34822b>0x1?void 0x0:_0x34822b?dn(_0x3dbd8d,_0x30c97e):_0x3dbd8d,_0x5a66d6=_0x3aeae7[_0x16bba7(0x23c)]-0x1,_0x22d1fa;_0x5a66d6>=0x0;_0x5a66d6--)(_0x22d1fa=_0x3aeae7[_0x5a66d6])&&(_0x5223c9=_0x22d1fa(_0x5223c9)||_0x5223c9);return _0x5223c9;},Oe=(_0x2c568b,_0x404576)=>(_0x4e803d,_0x4361f1)=>_0x404576(_0x4e803d,_0x4361f1,_0x2c568b),mn=(_0x1a561f,_0x52ab6a,_0x5873a4)=>fn(_0x1a561f,_0x52ab6a+'',_0x5873a4);const In=_0x4efb46(0x237);let Ae=class extends _0x21d542{constructor(_0x2df748=et,_0x1a2f18,_0x3bd75c,_0x2d7cb5){const _0x4480b9=_0x4efb46;super(),this['_config']=_0x2df748,this[_0x4480b9(0x2d2)]=_0x1a2f18,this[_0x4480b9(0x23f)]=_0x3bd75c,this[_0x4480b9(0x1ac)]=_0x2d7cb5;const {..._0x56fff0}=_0x294622({},et,this[_0x4480b9(0x358)]);this[_0x4480b9(0x1ac)][_0x4480b9(0x267)](Zi,_0x56fff0);}[_0x4efb46(0x328)](){const _0x2010b5=_0x4efb46;this['_registerDependencies'](),this[_0x2010b5(0x28c)]();}[_0x4efb46(0x317)](){const _0x1dd258=_0x4efb46;this[_0x1dd258(0x310)]();}[_0x4efb46(0x34f)](){const _0x47de59=_0x4efb46;var _0x46954f;const _0x532916=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x5ace9a,{'useClass':_0x1e46f2}],[_0x32856e,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x589ccb(this[_0x47de59(0x23f)],_0x544fe0(_0x532916,(_0x46954f=this[_0x47de59(0x358)])==null?void 0x0:_0x46954f[_0x47de59(0x1d3)]));}[_0x4efb46(0x310)](){const _0x3c4128=_0x4efb46;this['disposeWithMe'](this[_0x3c4128(0x2d2)]['registerRenderModule'](_0x3f742a[_0x3c4128(0x189)],[we])),this[_0x3c4128(0x1ee)](this[_0x3c4128(0x2d2)][_0x3c4128(0x2bd)](_0x3f742a[_0x3c4128(0x304)],[Pe]));}[_0x4efb46(0x28c)](){const _0x58e26b=_0x4efb46;_0x4dfeac(this[_0x58e26b(0x23f)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x4efb46(0x1dc),In),Ae=Sn([_0x5d2859(_0x5bf239),Oe(0x1,_0x2baf14),Oe(0x2,_0xc24e4b(_0x35c1bd)),Oe(0x3,_0x332256)],Ae);var gn=Object[_0x4efb46(0x14b)],vn=(_0x2518cb,_0xc4cbca,_0x1dac30,_0x3dab81)=>{for(var _0xf4824b=_0x3dab81>0x1?void 0x0:_0x3dab81?gn(_0xc4cbca,_0x1dac30):_0xc4cbca,_0x212785=_0x2518cb['length']-0x1,_0x18f1ce;_0x212785>=0x0;_0x212785--)(_0x18f1ce=_0x2518cb[_0x212785])&&(_0xf4824b=_0x18f1ce(_0xf4824b)||_0xf4824b);return _0xf4824b;},K=(_0x10c40d,_0x3068b9)=>(_0x2eb3c1,_0x4a0023)=>_0x3068b9(_0x2eb3c1,_0x4a0023,_0x10c40d);let st=class extends _0x329e6f{constructor(_0x28708e,_0x244b22,_0x110885,_0x400ac2,_0x37011b){super(_0x28708e,_0x244b22,_0x110885,_0x400ac2,_0x37011b);}async[_0x4efb46(0x2ae)](_0x4ed6b8){const _0x17a170=_0x4efb46,_0x936dc5=await this[_0x17a170(0x188)](),_0x1d62e3=this[_0x17a170(0x1b0)](_0x4ed6b8,_0x936dc5);return this[_0x17a170(0x224)](_0x1d62e3);}['_createSocketURL'](_0x36994f,_0x4a7a9b){const _0x39f0d9=_0x4efb46,_0x15088f=typeof window>'u'?new URL(_0x36994f):new URL(_0x36994f,window[_0x39f0d9(0x195)][_0x39f0d9(0x177)]);_0x15088f['searchParams'][_0x39f0d9(0x311)](_0x39f0d9(0x27c),_0x4a7a9b);const _0x355142=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x39f0d9(0x1c4)]);return _0x355142['get'](_0x39f0d9(0x1d6))&&_0x15088f[_0x39f0d9(0x2e0)][_0x39f0d9(0x311)](_0x39f0d9(0x1d6),_0x355142[_0x39f0d9(0x352)](_0x39f0d9(0x1d6))),_0x15088f[_0x39f0d9(0x2d0)]();}async[_0x4efb46(0x188)](){const _0x23c4c8=_0x4efb46;var _0x205505,_0x530e41,_0x1658eb;const _0x833df0=this[_0x23c4c8(0x1ac)][_0x23c4c8(0x22e)](_0x1297d2),_0x54bd52=(_0x205505=_0x833df0==null?void 0x0:_0x833df0['wsSessionTicketUrl'])!=null?_0x205505:_0x366de9;return(_0x1658eb=(_0x530e41=(await this['_httpService'][_0x23c4c8(0x352)](_0x54bd52,{'headers':{'Content-Type':_0x23c4c8(0x18d)}}))[_0x23c4c8(0x25a)])==null?void 0x0:_0x530e41[_0x23c4c8(0x1e8)])!=null?_0x1658eb:'';}};st=vn([K(0x0,_0xc24e4b(_0x35c1bd)),K(0x1,_0xc24e4b(_0x434602)),K(0x2,_0x332256),K(0x3,_0x5ce2e9),K(0x4,_0x5f08f1)],st);const it=0x7530,nt=_0x4efb46(0x27a);class jn extends _0x56014e{constructor(){const _0x3dc8cc=_0x4efb46;super(),_(this,_0x3dc8cc(0x2ee),_0x4980f9()),_(this,_0x3dc8cc(0x241),new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x3dc8cc(0x1da),null),_(this,_0x3dc8cc(0x31c),new Map()),_(this,_0x3dc8cc(0x18e),new Map()),this[_0x3dc8cc(0x2a5)]();}[_0x4efb46(0x1b7)](){const _0x3017ee=_0x4efb46;super[_0x3017ee(0x1b7)](),this[_0x3017ee(0x31c)][_0x3017ee(0x19e)]((_0x32f7e8,_0x5847ff)=>this[_0x3017ee(0x271)](_0x5847ff)),this[_0x3017ee(0x1da)]&&window[_0x3017ee(0x1ea)](this['_heartbeatTimer']);}['getUnitStatus$'](_0x4b6bcf){return this['_ensureSubject'](_0x4b6bcf)['pipe'](_0x9e2d26());}[_0x4efb46(0x26a)](_0x1b91cb){const _0x3c3b7b=_0x4efb46;this[_0x3c3b7b(0x241)][_0x3c3b7b(0x270)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x3c3b7b(0x2df)](_0x1b91cb),this[_0x3c3b7b(0x15e)]({'type':0x0,'memberID':this[_0x3c3b7b(0x2ee)],'unitIDs':[_0x1b91cb],'isForwarded':!0x1});}[_0x4efb46(0x1e4)](_0x4b5d0b){const _0x3ec4f1=_0x4efb46;this[_0x3ec4f1(0x241)][_0x3ec4f1(0x30a)](_0x4b5d0b),this['_selfUnitIDs'][_0x3ec4f1(0x270)]===0x0&&this[_0x3ec4f1(0x1da)]&&window['clearInterval'](this[_0x3ec4f1(0x1da)]);}['_init'](){const _0x38e4e2=_0x4efb46;this['disposeWithMe'](_0x19548f(_0x2e4f04(window,_0x38e4e2(0x2b4))[_0x38e4e2(0x157)](_0x3d1c2e=>{const _0x42887f=_0x38e4e2;if(_0x3d1c2e['key']!==nt||!_0x3d1c2e[_0x42887f(0x34b)])return;const _0x362370=JSON['parse'](_0x3d1c2e[_0x42887f(0x34b)]);this[_0x42887f(0x17f)](_0x362370);}))),window[_0x38e4e2(0x32c)](_0x38e4e2(0x164),()=>this[_0x38e4e2(0x15e)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}['_handleEvent'](_0x5960a4){const _0xa3b184=_0x4efb46;switch(_0x5960a4[_0xa3b184(0x2e4)]){case 0x0:this['_handleJoinEvent'](_0x5960a4);break;case 0x1:this[_0xa3b184(0x26c)](_0x5960a4);break;case 0x2:this['_handleHeartbeatEvent'](_0x5960a4);break;}}[_0x4efb46(0x332)](_0x4e2554){const _0x445c93=_0x4efb46,{unitIDs:_0x3c29e3,memberID:_0x307186,isForwarded:_0x5d8875}=_0x4e2554;_0x3c29e3[_0x445c93(0x19e)](_0x4b0b14=>{const _0x312b97=_0x445c93;if(!_0x5d8875&&this['_unitOnClients'][_0x312b97(0x20a)](_0x4b0b14)&&this[_0x312b97(0x24d)](_0x4b0b14)[_0x312b97(0x326)](_0xbaefe9[_0x312b97(0x32e)]),!this[_0x312b97(0x33f)][_0x312b97(0x20a)](_0x4b0b14)||!this['_unitOnClients'][_0x312b97(0x352)](_0x4b0b14)[_0x312b97(0x20a)](_0x307186)){const _0xecf954=this[_0x312b97(0x33f)]['get'](_0x4b0b14)||new Set();_0xecf954[_0x312b97(0x2df)](_0x307186),this[_0x312b97(0x33f)][_0x312b97(0x311)](_0x4b0b14,_0xecf954),this[_0x312b97(0x2a2)](_0x307186);}}),_0x5d8875||this[_0x445c93(0x15e)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x445c93(0x241)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x4bd1f7){const _0x2fcb05=_0x4efb46;this['_removeClearOtherTimer'](_0x4bd1f7);const _0x2f9f4e=window[_0x2fcb05(0x1d9)](()=>{const _0x13f047=_0x2fcb05;this[_0x13f047(0x33f)][_0x13f047(0x19e)](_0x343a26=>{const _0x596dc3=_0x13f047;_0x343a26[_0x596dc3(0x30a)](_0x4bd1f7);});},it*0x2);this[_0x2fcb05(0x31c)][_0x2fcb05(0x311)](_0x4bd1f7,_0x2f9f4e);}['_removeClearOtherTimer'](_0x318fb1){const _0x131e62=_0x4efb46;if(this[_0x131e62(0x31c)]['has'](_0x318fb1)){const _0x35296=this[_0x131e62(0x31c)]['get'](_0x318fb1);_0x35296&&window[_0x131e62(0x277)](_0x35296),this['_clearOtherTimers']['set'](_0x318fb1,null);}}[_0x4efb46(0x26c)](_0x2f08cb){const _0x48b64a=_0x4efb46,{memberID:_0x5e4f9b,unitIDs:_0x20e09b}=_0x2f08cb;_0x20e09b[_0x48b64a(0x19e)](_0x563abb=>{const _0x7c4a0a=_0x48b64a;var _0x5d617c;const _0x60a503=this[_0x7c4a0a(0x33f)][_0x7c4a0a(0x352)](_0x563abb);_0x60a503&&(_0x60a503[_0x7c4a0a(0x30a)](_0x5e4f9b),(_0x5d617c=this[_0x7c4a0a(0x24d)](_0x563abb))==null||_0x5d617c[_0x7c4a0a(0x326)](_0x60a503[_0x7c4a0a(0x270)]===0x0?_0xbaefe9[_0x7c4a0a(0x29e)]:_0xbaefe9[_0x7c4a0a(0x32e)]));}),this['_removeClearOtherTimer'](_0x5e4f9b);}['_handleHeartbeatEvent'](_0x5da83f){const _0x2e95ec=_0x4efb46;this[_0x2e95ec(0x2a2)](_0x5da83f[_0x2e95ec(0x2f2)]);}['_send'](_0x1459a2){const _0x741ad3=_0x4efb46;localStorage[_0x741ad3(0x193)](nt,JSON[_0x741ad3(0x229)](_0x1459a2));}['_scheduleHeartbeat'](){const _0xfad807=_0x4efb46;this['_heartbeatTimer']=window[_0xfad807(0x29f)](()=>{const _0x3e13f0=_0xfad807;this['_send']({'type':0x2,'memberID':this[_0x3e13f0(0x2ee)]});},it);}[_0x4efb46(0x24d)](_0x452a0f){const _0x408e74=_0x4efb46;return this[_0x408e74(0x18e)][_0x408e74(0x20a)](_0x452a0f)||this[_0x408e74(0x18e)]['set'](_0x452a0f,new _0xc73289(_0xbaefe9[_0x408e74(0x29e)])),this['_unitStatus'][_0x408e74(0x352)](_0x452a0f);}}var Mt=(_0x5525bf=>(_0x5525bf[_0x5525bf['UNDEFINED']=0x0]='UNDEFINED',_0x5525bf[_0x5525bf['OK']=0x1]='OK',_0x5525bf[_0x5525bf[_0x4efb46(0x212)]=0x2]=_0x4efb46(0x212),_0x5525bf[_0x5525bf['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x5525bf[_0x5525bf[_0x4efb46(0x1f5)]=0x4]=_0x4efb46(0x1f5),_0x5525bf[_0x5525bf[_0x4efb46(0x30b)]=0x5]='UNAUTHENTICATED',_0x5525bf[_0x5525bf[_0x4efb46(0x172)]=0x6]=_0x4efb46(0x172),_0x5525bf[_0x5525bf[_0x4efb46(0x223)]=0x7]=_0x4efb46(0x223),_0x5525bf[_0x5525bf[_0x4efb46(0x24a)]=0x8]=_0x4efb46(0x24a),_0x5525bf[_0x5525bf[_0x4efb46(0x1f9)]=0x9]=_0x4efb46(0x1f9),_0x5525bf[_0x5525bf['LOGIN_FAILED']=0xa]=_0x4efb46(0x2ca),_0x5525bf[_0x5525bf['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x4efb46(0x151),_0x5525bf[_0x5525bf['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x5525bf[_0x5525bf[_0x4efb46(0x285)]=0x1772]=_0x4efb46(0x285),_0x5525bf[_0x5525bf[_0x4efb46(0x231)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x5525bf[_0x5525bf[_0x4efb46(0x1e7)]=0x1b59]='APPLY_REJECT',_0x5525bf[_0x5525bf[_0x4efb46(0x200)]=0x1b5a]=_0x4efb46(0x200),_0x5525bf[_0x5525bf[_0x4efb46(0x21d)]=0x1b5b]=_0x4efb46(0x21d),_0x5525bf[_0x5525bf[_0x4efb46(0x209)]=0x1b5c]=_0x4efb46(0x209),_0x5525bf[_0x5525bf[_0x4efb46(0x1a7)]=0x1b5d]=_0x4efb46(0x1a7),_0x5525bf[_0x5525bf[_0x4efb46(0x18b)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x5525bf[_0x5525bf[_0x4efb46(0x338)]=0x2329]=_0x4efb46(0x338),_0x5525bf[_0x5525bf['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x4efb46(0x357),_0x5525bf[_0x5525bf[_0x4efb46(0x2bf)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x5525bf[_0x5525bf[_0x4efb46(0x31a)]=0x232c]=_0x4efb46(0x31a),_0x5525bf[_0x5525bf['LICENSE_DISTRO_REJECTED']=0x232d]=_0x4efb46(0x275),_0x5525bf[_0x5525bf[_0x4efb46(0x199)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x5525bf[_0x5525bf[_0x4efb46(0x348)]=0x2712]=_0x4efb46(0x348),_0x5525bf[_0x5525bf[_0x4efb46(0x197)]=0x2713]=_0x4efb46(0x197),_0x5525bf[_0x5525bf[_0x4efb46(0x16d)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x5525bf[_0x5525bf[_0x4efb46(0x18f)]=0x271a]=_0x4efb46(0x18f),_0x5525bf[_0x5525bf[_0x4efb46(0x2be)]=0x271b]=_0x4efb46(0x2be),_0x5525bf[_0x5525bf[_0x4efb46(0x160)]=0x271c]=_0x4efb46(0x160),_0x5525bf[_0x5525bf['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x5525bf[_0x5525bf[_0x4efb46(0x147)]=0x271e]=_0x4efb46(0x147),_0x5525bf[_0x5525bf[_0x4efb46(0x22a)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x5525bf[_0x5525bf[_0x4efb46(0x2a7)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x5525bf[_0x5525bf[_0x4efb46(0x250)]=0x2ee1]=_0x4efb46(0x250),_0x5525bf[_0x5525bf[_0x4efb46(0x286)]=0x2ee2]=_0x4efb46(0x286),_0x5525bf[_0x5525bf[_0x4efb46(0x2fc)]=0x2ee3]=_0x4efb46(0x2fc),_0x5525bf[_0x5525bf['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x5525bf[_0x5525bf[_0x4efb46(0x2a1)]=0x2ee5]=_0x4efb46(0x2a1),_0x5525bf[_0x5525bf[_0x4efb46(0x313)]=0x32c9]=_0x4efb46(0x313),_0x5525bf[_0x5525bf['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x4efb46(0x32a),_0x5525bf[_0x5525bf['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x4efb46(0x1fb),_0x5525bf[_0x5525bf['UNRECOGNIZED']=-0x1]=_0x4efb46(0x1ad),_0x5525bf))(Mt||{}),pn=Object[_0x4efb46(0x14b)],Cn=(_0x49fe07,_0x5f362e,_0x1e4ebe,_0x386336)=>{const _0x33d954=_0x4efb46;for(var _0x7ccbfe=_0x386336>0x1?void 0x0:_0x386336?pn(_0x5f362e,_0x1e4ebe):_0x5f362e,_0x577304=_0x49fe07[_0x33d954(0x23c)]-0x1,_0x38b15d;_0x577304>=0x0;_0x577304--)(_0x38b15d=_0x49fe07[_0x577304])&&(_0x7ccbfe=_0x38b15d(_0x7ccbfe)||_0x7ccbfe);return _0x7ccbfe;},be=(_0x22a4c5,_0x1829c8)=>(_0xd321a3,_0x2dae11)=>_0x1829c8(_0xd321a3,_0x2dae11,_0x22a4c5);let rt=class extends _0x56014e{constructor(_0x4a9e82,_0x7d7148,_0x52c046){const _0x318d49=_0x4efb46;super(),this['_instanceService']=_0x4a9e82,this[_0x318d49(0x261)]=_0x7d7148,this[_0x318d49(0x1ac)]=_0x52c046;}async['runOnServer'](_0x25223c,_0x3eae9d,_0x27f3a9,..._0x5bbc98){const _0x146ad3=_0x4efb46;var _0x3996b0,_0x1a5cde,_0x3dad5b,_0x5b9170;const _0x33a9e2=this[_0x146ad3(0x17c)][_0x146ad3(0x263)]();if(!_0x33a9e2)throw new Error(_0x146ad3(0x251));const _0x36202c=((_0x3996b0=this['_configService'][_0x146ad3(0x22e)](_0x515373))!=null?_0x3996b0:_0x29348a)+'/'+_0x25223c+'/run/'+_0x3eae9d,_0x4caf97=new URL(window[_0x146ad3(0x195)][_0x146ad3(0x26e)]),_0x854c3b={'scriptId':_0x25223c,'runId':(_0x1a5cde=_0x4caf97[_0x146ad3(0x2e0)][_0x146ad3(0x352)]('runId'))!=null?_0x1a5cde:'','function':_0x3eae9d,'unitId':_0x33a9e2['getUnitId'](),'argsOfFunction':JSON[_0x146ad3(0x229)](_0x5bbc98),'invokeId':(_0x3dad5b=_0x27f3a9['invokeId'])!=null?_0x3dad5b:'','executionId':(_0x5b9170=_0x27f3a9[_0x146ad3(0x1a1)])!=null?_0x5b9170:''};try{const _0x221322=await this[_0x146ad3(0x261)][_0x146ad3(0x272)](_0x36202c,{'body':_0x854c3b});return _0x221322[_0x146ad3(0x25a)]['error']&&_0x221322['body'][_0x146ad3(0x2d7)][_0x146ad3(0x1e3)]!==Mt['OK']?_0x146ad3(0x2c3):_0x221322['body'][_0x146ad3(0x32b)];}catch{return _0x146ad3(0x2c3);}}};rt=Cn([be(0x0,_0xb3fb3f),be(0x1,_0xc24e4b(_0x434602)),be(0x2,_0x332256)],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 _0x17c635=_0x13d3;(function(_0x106a7d,_0x53fb8a){const _0x62dbce=_0x13d3,_0x43b987=_0x106a7d();while(!![]){try{const _0x54ad84=-parseInt(_0x62dbce(0x37d))/0x1*(parseInt(_0x62dbce(0x2be))/0x2)+-parseInt(_0x62dbce(0x317))/0x3+-parseInt(_0x62dbce(0x255))/0x4*(parseInt(_0x62dbce(0x29e))/0x5)+parseInt(_0x62dbce(0x211))/0x6+parseInt(_0x62dbce(0x1d5))/0x7+parseInt(_0x62dbce(0x28d))/0x8*(-parseInt(_0x62dbce(0x1da))/0x9)+parseInt(_0x62dbce(0x3a5))/0xa*(parseInt(_0x62dbce(0x289))/0xb);if(_0x54ad84===_0x53fb8a)break;else _0x43b987['push'](_0x43b987['shift']());}catch(_0x5436b6){_0x43b987['push'](_0x43b987['shift']());}}}(_0xf6ea,0x7841f));var $t=Object[_0x17c635(0x1eb)],xt=(_0x298c84,_0x541d5e,_0x4387da)=>_0x541d5e in _0x298c84?$t(_0x298c84,_0x541d5e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4387da}):_0x298c84[_0x541d5e]=_0x4387da,_=(_0x35f2b6,_0x38df3a,_0x55d60c)=>xt(_0x35f2b6,typeof _0x38df3a!=_0x17c635(0x201)?_0x38df3a+'':_0x38df3a,_0x55d60c);import{MemberService as _0x4b94cb,SessionStatus as _0x2cb63d,CollaborationSessionService as _0x4a7bfc,CollaborationStatus as _0x2affd3,CollaborationController as _0x5b2169,ILocalCacheService as _0x12eac7,CollaborationUIEventService as _0x217d1b,CollaborationUIEventId as _0x23a4aa,DataLoaderService as _0x18d58b,DocCollaborationEntity as _0x42cc67,getLocalCacheKey as _0x156a39,LOCAL_CACHE_INTERVAL as _0x5c0d86,LOCAL_CACHE_INTERVAL_KEY as _0x50ed5c,UniverCollaborationClientPlugin as _0x47ab9c,CollaborationSocketService as _0x12974d,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x50dc20,DEFAULT_WS_SESSION_TICKET_URL as _0x578348,UnitStatus as _0x3fb639,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x46c57d,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x4cfb8a}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x5c44e6,Disposable as _0x629666,DOC_RANGE_TYPE as _0x3e5bba,Inject as _0x2eb397,Injector as _0x597056,IUniverInstanceService as _0x26b67a,ICommandService as _0x35ee2f,debounce as _0x27ab95,Rectangle as _0x428eba,DisposableCollection as _0x5daaad,toDisposable as _0x36e603,UniverInstanceType as _0x2c47d7,Tools as _0x450a88,COLORS as _0x2a2dbf,ColorKit as _0x4cbba2,ThemeService as _0x4ffddf,fromEventSubject as _0x12d0fe,LocaleService as _0x1123b3,createIdentifier as _0x284797,ILogService as _0xaeedb1,Optional as _0x481c91,Workbook as _0x9a8bc3,CommandType as _0x19fa75,IConfigService as _0xe650f0,ILocalStorageService as _0x4a6020,DependentOn as _0x140f68,Plugin as _0x35f057,merge as _0xb34657,registerDependencies as _0x151c2d,mergeOverrideWithDependencies as _0x36bd2d,touchDependencies as _0x4aedff,generateRandomId as _0x3c905e}from'@univerjs/core';import{Shape as _0x15bb4e,Rect as _0x507dd3,getColor as _0x30d8ae,RegularPolygon as _0x2da338,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x2835bd,Vector2 as _0x4e7430,SHEET_VIEWPORT_KEY as _0xd886c9,IRenderManagerService as _0x5c59f7}from'@univerjs/engine-render';import{ISocketService as _0x100a88,WebSocketService as _0x19b7b1,HTTPService as _0x3a430c}from'@univerjs/network';import{IDocClipboardService as _0x1d7ec4,NodePositionConvertToCursor as _0xa81833,NodePositionConvertToRectRange as _0x1b3357,TEXT_RANGE_LAYER_INDEX as _0x35b4cc,SetDocZoomRatioOperation as _0x19901a,DocIMEInputManagerService as _0x7411a1,DocStateChangeManagerService as _0x5dcdf5}from'@univerjs/docs-ui';import{IImageIoService as _0x55bd08}from'@univerjs/drawing';import{BehaviorSubject as _0x5db965,debounceTime as _0x10a2d7,takeUntil as _0x4fc11c,Subject as _0x430578,filter as _0x5a532e,switchMap as _0x4fcdee,merge as _0x179cd3,combineLatest as _0x3a9b5c,of as _0x3ac931,fromEvent as _0x1c7d37,shareReplay as _0x191487,mapTo as _0x88af17,distinctUntilChanged as _0x126808}from'rxjs';import{SetTextSelectionsOperation as _0x82e65f,RichTextEditingMutation as _0x1b4eed,DocSelectionManagerService as _0x16c6fd,DocSkeletonManagerService as _0x51951f}from'@univerjs/docs';import{ITransformService as _0x51dc78,CollaborationEvent as _0x4edd53,isTransformMutationFailure as _0x280807,isTransformMutationsWithChangesetSuccess as _0x4cde3c,RevisionService as _0x37e690,ISnapshotServerService as _0xf5c7dd}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x28f094,serializeRangeWithSheet as _0x3bc81f}from'@univerjs/engine-formula';import{RefRangeService as _0x342bfc,SetSelectionsOperation as _0x27acb3,SheetsSelectionsService as _0xf736a4,EffectRefRangId as _0x3a75d0,handleIRemoveRow as _0x41ad50,handleIRemoveCol as _0xe2309,handleMoveRange as _0x4e921f,handleInsertRow as _0x38d5bb,handleInsertRangeMoveRight as _0x5f23d9,handleInsertRangeMoveDown as _0x58e80a,handleInsertCol as _0x2631b4,handleDeleteRangeMoveUp as _0x49c009,handleDeleteRangeMoveLeft as _0x1c2b37,runRefRangeMutations as _0x2d1c6a,SetWorksheetActivateCommand as _0x237271}from'@univerjs/sheets';import{map as _0x54cd30,filter as _0x986a90,throttleTime as _0x22fc6d,takeUntil as _0xc03ae9,switchMap as _0x5a631c}from'rxjs/operators';import{SheetSkeletonManagerService as _0x25e49a,getCoordByCell as _0x55f2dc,getSheetObject as _0x30498b}from'@univerjs/sheets-ui';import{jsx as _0x30f419,jsxs as _0xf931a5}from'react/jsx-runtime';import{useObservable as _0x1756a6,useDependency as _0x1558ad,IUIPartsService as _0x1dd70f,BuiltInUIPart as _0x56bc18,connectInjector as _0xcefb2d,IBeforeCloseService as _0x4195b2,IMessageService as _0x2d0054,INotificationService as _0xec008e}from'@univerjs/ui';import{Tooltip as _0x1a9e1d,clsx as _0x8ec4b2,MessageType as _0x19eb65}from'@univerjs/design';import{forwardRef as _0x3e3ee3,useRef as _0x1af6e7,createElement as _0x540591,useCallback as _0x5e76e6}from'react';import{IRemoteInstanceService as _0x5210e0}from'@univerjs/rpc';var ci=Object[_0x17c635(0x23d)],li=(_0x5f2f68,_0x25f570,_0x3e9c72,_0x20b108)=>{for(var _0x20cc4c=_0x20b108>0x1?void 0x0:_0x20b108?ci(_0x25f570,_0x3e9c72):_0x25f570,_0x2fefb5=_0x5f2f68['length']-0x1,_0x2cdb49;_0x2fefb5>=0x0;_0x2fefb5--)(_0x2cdb49=_0x5f2f68[_0x2fefb5])&&(_0x20cc4c=_0x2cdb49(_0x20cc4c)||_0x20cc4c);return _0x20cc4c;},Je=(_0xec7c43,_0x33cd2b)=>(_0x2a387a,_0xc265bc)=>_0x33cd2b(_0x2a387a,_0xc265bc,_0xec7c43);let Ne=class extends _0x5c44e6{constructor(_0x562991,_0x4056aa){const _0x294edc=_0x17c635;super(),this[_0x294edc(0x370)]=_0x562991,this['_imageIoService']=_0x4056aa,this[_0x294edc(0x384)]();}[_0x17c635(0x384)](){const _0x1a7003=_0x17c635,_0x2c9047=this;this['disposeWithMe'](this[_0x1a7003(0x370)]['addClipboardHook']({'onBeforePasteImage':async _0x467efc=>{const _0x328b8d=_0x1a7003,_0x339866=await _0x2c9047['_imageIoService'][_0x328b8d(0x274)](_0x467efc);return _0x339866?{'source':_0x339866[_0x328b8d(0x388)],'imageSourceType':_0x339866[_0x328b8d(0x354)]}:null;}}));}};Ne=li([Je(0x0,_0x1d7ec4),Je(0x1,_0x55bd08)],Ne);const Ze=[_0x17c635(0x282),_0x17c635(0x2af),_0x17c635(0x1fe),_0x17c635(0x375),_0x17c635(0x38a),_0x17c635(0x2d3)];class ke extends _0x629666{constructor(){const _0x373b42=_0x17c635;super(...arguments),_(this,_0x373b42(0x379),new Map()),_(this,_0x373b42(0x398),0x0);}['assignAColorForMemberID'](_0x5d3313){const _0x5d0278=_0x17c635;if(this[_0x5d0278(0x379)][_0x5d0278(0x329)](_0x5d3313))return this[_0x5d0278(0x379)][_0x5d0278(0x318)](_0x5d3313);const _0x3c77d1=Ze[this[_0x5d0278(0x398)]];return this[_0x5d0278(0x398)]=(this[_0x5d0278(0x398)]+0x1)%Ze[_0x5d0278(0x25c)],this[_0x5d0278(0x379)]['set'](_0x5d3313,_0x3c77d1),_0x3c77d1;}}function Tt(_0x16ae2c){const _0x3a8e41=_0x17c635;let _0x4459df='';for(const _0x24497d of _0x16ae2c){const {startOffset:_0x26858f,endOffset:_0x2e4eae,isActive:_0x8f08ed,rangeType:_0x3f8eab,segmentId:_0x19bb1c,segmentPage:_0x3db46e}=_0x24497d;_0x4459df[_0x3a8e41(0x25c)]&&(_0x4459df+=','),_0x4459df+=_0x26858f+':'+_0x2e4eae+':'+(_0x8f08ed?'1':'0')+':'+_0x3f8eab+':'+_0x19bb1c+':'+_0x3db46e;}return _0x4459df;}function _i(_0x753aa3){const _0x3207dd=_0x17c635,_0x233db1=_0x753aa3[_0x3207dd(0x259)](','),_0x2cefb3=[];for(const _0x477907 of _0x233db1){const [_0x59dfd6,_0x31a0f3,_0x2356f7,_0x4e33e2,_0x3684e8,_0x48fa32]=_0x477907[_0x3207dd(0x259)](':');_0x2cefb3[_0x3207dd(0x24f)]({'startOffset':Number(_0x59dfd6),'endOffset':Number(_0x31a0f3),'collapsed':_0x59dfd6===_0x31a0f3,'isActive':_0x2356f7==='1','rangeType':_0x4e33e2===_0x3e5bba['TEXT']?_0x3e5bba[_0x3207dd(0x333)]:_0x3e5bba[_0x3207dd(0x2a2)],'segmentId':typeof _0x3684e8==_0x3207dd(0x3a1)?String(_0x3684e8):'','segmentPage':Number(_0x48fa32!=null?_0x48fa32:-0x1)});}return _0x2cefb3[_0x3207dd(0x2c9)](_0x410bf8=>_0x410bf8['isActive'])||(_0x2cefb3[0x0][_0x3207dd(0x22d)]=!0x0),_0x2cefb3;}class He extends _0x5c44e6{constructor(){const _0x3b2936=_0x17c635;super(...arguments),_(this,_0x3b2936(0x2c1),new _0x5db965(null)),_(this,'collabCursorState$',this['_collabCursorState$'][_0x3b2936(0x300)]());}['syncEditingCollabCursor'](_0x20ffdf){const _0x4f0464=_0x17c635,{unitID:_0x2bd10c,memberID:_0x42777c,textRanges:_0x3ff43b}=_0x20ffdf,_0x448e19=Tt(_0x3ff43b);if(_0x448e19==='')return;const _0x30d4be={'unitID':_0x2bd10c,'memberID':_0x42777c,'selection':_0x448e19};this[_0x4f0464(0x2c1)][_0x4f0464(0x32a)](_0x30d4be);}}var hi=Object[_0x17c635(0x23d)],ui=(_0x4f4a51,_0x5771b0,_0x4cb73a,_0xbaccd4)=>{const _0x1732c4=_0x17c635;for(var _0x3a5b03=_0xbaccd4>0x1?void 0x0:_0xbaccd4?hi(_0x5771b0,_0x4cb73a):_0x5771b0,_0x7d73f3=_0x4f4a51[_0x1732c4(0x25c)]-0x1,_0x4a3027;_0x7d73f3>=0x0;_0x7d73f3--)(_0x4a3027=_0x4f4a51[_0x7d73f3])&&(_0x3a5b03=_0x4a3027(_0x3a5b03)||_0x3a5b03);return _0x3a5b03;},P=(_0x4f6647,_0x4aa05a)=>(_0xd2a114,_0x2ffc3b)=>_0x4aa05a(_0xd2a114,_0x2ffc3b,_0x4f6647);const di=0x12c,fi=0x64;let Ue=class extends _0x5c44e6{constructor(_0x11b248,_0x29cd1a,_0x188216,_0x50422e,_0xe479d,_0xbcc547,_0x3dd43f,_0x1dab96,_0x273ea6){const _0x483f6e=_0x17c635;super(),_(this,'_online',!0x1),_(this,_0x483f6e(0x384),!0x1),_(this,_0x483f6e(0x27d),new _0x5db965(new Map())),_(this,'cursorInfo$',this[_0x483f6e(0x27d)][_0x483f6e(0x300)]()),_(this,_0x483f6e(0x399),new _0x5db965([])),_(this,_0x483f6e(0x269),this[_0x483f6e(0x399)][_0x483f6e(0x345)](_0x10a2d7(di))),_(this,_0x483f6e(0x28f),_0x27ab95(_0x13af15=>{const _0x368d82=_0x483f6e,_0x3aad53={'eventID':_0x4edd53[_0x368d82(0x240)],'data':{'unitID':this[_0x368d82(0x310)],'memberID':this['_session'][_0x368d82(0x254)](),'selection':Tt(_0x13af15)}};this['_session'][_0x368d82(0x337)](_0x3aad53,this[_0x368d82(0x310)]);},fi)),(this[_0x483f6e(0x310)]=_0x11b248,this[_0x483f6e(0x294)]=_0x29cd1a,this[_0x483f6e(0x25b)]=_0x188216,this[_0x483f6e(0x22f)]=_0x50422e,this[_0x483f6e(0x2ed)]=_0xe479d,this[_0x483f6e(0x2d7)]=_0xbcc547,this[_0x483f6e(0x363)]=_0x3dd43f,this[_0x483f6e(0x1a2)]=_0x1dab96,this[_0x483f6e(0x233)]=_0x273ea6);}get[_0x17c635(0x2f5)](){const _0x5fe0c6=_0x17c635;return this[_0x5fe0c6(0x27d)][_0x5fe0c6(0x2b7)]();}get[_0x17c635(0x1cd)](){return this['_roomMembers$']['getValue']();}[_0x17c635(0x299)](){const _0x5b6b19=_0x17c635;super[_0x5b6b19(0x299)](),this[_0x5b6b19(0x27d)][_0x5b6b19(0x32a)](new Map()),this[_0x5b6b19(0x27d)][_0x5b6b19(0x2e3)](),this[_0x5b6b19(0x399)]['next']([]),this['_roomMembers$'][_0x5b6b19(0x2e3)]();}[_0x17c635(0x276)](){const _0x3b2eee=_0x17c635;this['_init']||(this[_0x3b2eee(0x384)]=!0x0,this[_0x3b2eee(0x294)][_0x3b2eee(0x206)][_0x3b2eee(0x345)](_0x4fc11c(this[_0x3b2eee(0x386)]))['subscribe'](_0x48b361=>{const _0x20b939=_0x3b2eee;_0x48b361===_0x2cb63d[_0x20b939(0x36e)]?this['_toggleOnline']():this[_0x20b939(0x36b)]();}),this['_session'][_0x3b2eee(0x27b)][_0x3b2eee(0x345)](_0x4fc11c(this[_0x3b2eee(0x386)]))[_0x3b2eee(0x31b)](_0x1a1d4f=>{const _0x1177b2=_0x3b2eee,_0x31fb2c=_0x1a1d4f['eventID'];_0x31fb2c===_0x4edd53['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x1a1d4f),_0x31fb2c===_0x4edd53[_0x1177b2(0x29f)]&&this['_onCursorDelete'](_0x1a1d4f);}),this[_0x3b2eee(0x322)](this['_commandService'][_0x3b2eee(0x1d3)](_0x65733f=>{const _0x27f7c4=_0x3b2eee,_0x1de28f=_0x65733f['params'];_0x1de28f!=null&&this[_0x27f7c4(0x2fe)]&&_0x65733f['id']===_0x82e65f['id']&&_0x1de28f[_0x27f7c4(0x1ef)]===this[_0x27f7c4(0x310)]&&_0x1de28f[_0x27f7c4(0x217)]===!0x1&&_0x1de28f[_0x27f7c4(0x2ae)]['length']>0x0&&this[_0x27f7c4(0x28f)](_0x1de28f['ranges']);})),this['_syncEditingCollabCursorService'][_0x3b2eee(0x1bb)][_0x3b2eee(0x345)](_0x4fc11c(this[_0x3b2eee(0x386)]))['subscribe'](_0x145db0=>{const _0x3e1d4f=_0x3b2eee;if((_0x145db0==null?void 0x0:_0x145db0[_0x3e1d4f(0x310)])!==this['unitID'])return;const _0x288601={'eventID':_0x4edd53[_0x3e1d4f(0x240)],'data':_0x145db0};this[_0x3e1d4f(0x2f8)](_0x288601);}),this['disposeWithMe'](this[_0x3b2eee(0x233)][_0x3b2eee(0x1d3)](_0xdae218=>{const _0x2091f5=_0x3b2eee;if(_0xdae218[_0x2091f5(0x39a)]==null)return;const _0x2b7aa4=_0xdae218[_0x2091f5(0x39a)];if(_0xdae218['id']!==_0x1b4eed['id']||_0x2b7aa4[_0x2091f5(0x1ef)]!==this[_0x2091f5(0x310)])return;const _0x470e39={'id':_0x2091f5(0x334),'params':_0x2b7aa4},_0x30e10f=this[_0x2091f5(0x2f5)];for(const [_0x439657,_0x3b06f6]of _0x30e10f){const _0x420e58={'id':_0x2091f5(0x334),'params':{'unitId':this[_0x2091f5(0x310)],'actions':null,'textRanges':_0x3b06f6[_0x2091f5(0x2ae)]}},_0x140c8a=this[_0x2091f5(0x363)]['transformMutation'](_0x470e39,_0x420e58,!0x1);if(_0x280807(_0x140c8a))throw _0x140c8a['error'];_0x30e10f[_0x2091f5(0x1c2)](_0x439657,{..._0x3b06f6,'ranges':_0x140c8a[_0x2091f5(0x391)][_0x2091f5(0x39a)][_0x2091f5(0x1e7)]});}queueMicrotask(()=>{const _0x9e5766=_0x2091f5;this[_0x9e5766(0x27d)][_0x9e5766(0x32a)](_0x30e10f);});})));}[_0x17c635(0x2f8)](_0x5e466f){const _0x32ffc4=_0x17c635;var _0x253660,_0x2ffc6a;const {memberID:_0x77617f,selection:_0x3df4bc}=_0x5e466f[_0x32ffc4(0x2d8)],_0x15b068=_i(_0x3df4bc),_0x2c7ee0=(_0x2ffc6a=(_0x253660=this['_memberService']['getMember'](this[_0x32ffc4(0x310)],_0x77617f))==null?void 0x0:_0x253660['name'])!=null?_0x2ffc6a:_0x32ffc4(0x20a),_0x1fc759={'color':this[_0x32ffc4(0x22f)][_0x32ffc4(0x1b1)](_0x77617f),'name':_0x2c7ee0,'ranges':_0x15b068},_0x3b71ee=this[_0x32ffc4(0x2f5)];_0x3b71ee['set'](_0x77617f,_0x1fc759),this[_0x32ffc4(0x27d)][_0x32ffc4(0x32a)](_0x3b71ee);}[_0x17c635(0x214)](_0x3a5cc5){const _0xd9784c=_0x17c635,{memberID:_0x46735f}=_0x3a5cc5[_0xd9784c(0x2d8)],_0x56790f=this[_0xd9784c(0x2f5)];_0x56790f['delete'](_0x46735f),this[_0xd9784c(0x27d)][_0xd9784c(0x32a)](_0x56790f);}['_toggleOnline'](){const _0xf3b6d1=_0x17c635;var _0xd5a886;if(this[_0xf3b6d1(0x2fe)]=!0x0,((_0xd5a886=this[_0xf3b6d1(0x1a2)][_0xf3b6d1(0x1a6)]())==null?void 0x0:_0xd5a886['getUnitId']())!==this['unitID'])return;const _0x485011=this[_0xf3b6d1(0x25b)]['get'](_0x16c6fd)[_0xf3b6d1(0x1e0)]();Array[_0xf3b6d1(0x340)](_0x485011)&&_0x485011[_0xf3b6d1(0x25c)]>0x0&&this[_0xf3b6d1(0x28f)](_0x485011);}[_0x17c635(0x36b)](){const _0x494b4a=_0x17c635;this[_0x494b4a(0x2fe)]=!0x1;}};Ue=ui([P(0x2,_0x2eb397(_0x597056)),P(0x3,_0x2eb397(ke)),P(0x4,_0x2eb397(_0x4b94cb)),P(0x5,_0x2eb397(He)),P(0x6,_0x51dc78),P(0x7,_0x26b67a),P(0x8,_0x35ee2f)],Ue);var Si=Object['getOwnPropertyDescriptor'],mi=(_0x12515d,_0x381867,_0x16aa64,_0x52b9cc)=>{const _0x889e97=_0x17c635;for(var _0x204840=_0x52b9cc>0x1?void 0x0:_0x52b9cc?Si(_0x381867,_0x16aa64):_0x381867,_0x2db4b7=_0x12515d[_0x889e97(0x25c)]-0x1,_0xaee1dd;_0x2db4b7>=0x0;_0x2db4b7--)(_0xaee1dd=_0x12515d[_0x2db4b7])&&(_0x204840=_0xaee1dd(_0x204840)||_0x204840);return _0x204840;},x=(_0xfcd7da,_0x18d250)=>(_0x275f36,_0x5db5f4)=>_0x18d250(_0x275f36,_0x5db5f4,_0xfcd7da);const Ii=0x12c,gi=0x64,vi=()=>{let _0x5a1665=[],_0x2c2c34=!0x1;return _0x230767=>{_0x5a1665['push'](_0x230767),_0x2c2c34||(_0x2c2c34=!0x0,setTimeout(()=>{_0x5a1665['forEach'](_0x117b3a=>_0x117b3a()),_0x5a1665=[],_0x2c2c34=!0x1;}));};};let Me=class extends _0x5c44e6{constructor(_0xbbb005,_0x12021e,_0x4c5116,_0x44b8cd,_0x27d599,_0x363a13,_0x6c52bd,_0x2723e9){const _0x249c92=_0x17c635;super(),_(this,_0x249c92(0x2fe),!0x1),_(this,_0x249c92(0x384),!0x1),_(this,'_cursorInfo$',new _0x5db965(new Map())),_(this,_0x249c92(0x218),this['_cursorInfo$'][_0x249c92(0x300)]()),_(this,'_roomMembers$',new _0x5db965([])),_(this,'roomMembers$',this[_0x249c92(0x399)][_0x249c92(0x345)](_0x10a2d7(Ii))),_(this,_0x249c92(0x28f),_0x27ab95((_0x2d99fd,_0x91b20f)=>{const _0x9fd359=_0x249c92,_0x2ab2aa={'eventID':_0x4edd53[_0x9fd359(0x240)],'data':{'unitID':this[_0x9fd359(0x310)],'memberID':this[_0x9fd359(0x294)][_0x9fd359(0x254)](),'selection':_0x3bc81f(_0x2d99fd,_0x91b20f[_0x9fd359(0x21e)])}};this[_0x9fd359(0x294)][_0x9fd359(0x337)](_0x2ab2aa,this[_0x9fd359(0x310)]);},gi)),(this[_0x249c92(0x310)]=_0xbbb005,this[_0x249c92(0x294)]=_0x12021e,this[_0x249c92(0x25b)]=_0x4c5116,this[_0x249c92(0x22f)]=_0x44b8cd,this['_memberService']=_0x27d599,this[_0x249c92(0x1a2)]=_0x363a13,this['_commandService']=_0x6c52bd,this['_refRangeService']=_0x2723e9);}get[_0x17c635(0x2f5)](){const _0x31f6dc=_0x17c635;return this[_0x31f6dc(0x27d)][_0x31f6dc(0x2b7)]();}get[_0x17c635(0x1cd)](){const _0x16eb90=_0x17c635;return this[_0x16eb90(0x399)][_0x16eb90(0x2b7)]();}[_0x17c635(0x299)](){const _0x2a779c=_0x17c635;super[_0x2a779c(0x299)](),this['_cursorInfo$'][_0x2a779c(0x32a)](new Map()),this[_0x2a779c(0x27d)][_0x2a779c(0x2e3)](),this['_roomMembers$']['next']([]),this[_0x2a779c(0x399)]['complete']();}['init'](){const _0x417489=_0x17c635;this[_0x417489(0x384)]||(this[_0x417489(0x384)]=!0x0,this['_session'][_0x417489(0x206)][_0x417489(0x345)](_0x4fc11c(this['dispose$']))['subscribe'](_0x2972f2=>{const _0xfb394c=_0x417489;_0x2972f2===_0x2cb63d['ONLINE']?this[_0xfb394c(0x31a)]():this['_toggleOffline']();}),this['_session'][_0x417489(0x27b)][_0x417489(0x345)](_0x4fc11c(this[_0x417489(0x386)]))['subscribe'](_0x6f569e=>{const _0x3ee289=_0x417489,_0x5ea130=_0x6f569e[_0x3ee289(0x2b8)];_0x5ea130===_0x4edd53[_0x3ee289(0x240)]&&this[_0x3ee289(0x2f8)](_0x6f569e),_0x5ea130===_0x4edd53[_0x3ee289(0x29f)]&&this['_onCursorDelete'](_0x6f569e);}),this[_0x417489(0x262)](),this[_0x417489(0x322)](this['_commandService']['onCommandExecuted'](_0x194533=>{const _0x450b5e=_0x417489;if(this[_0x450b5e(0x2fe)]&&_0x194533['id']===_0x27acb3['id']&&_0x194533[_0x450b5e(0x39a)][_0x450b5e(0x1ef)]===this['unitID']){const _0x58a9c2=_0x194533[_0x450b5e(0x39a)];this[_0x450b5e(0x28f)](_0x58a9c2[_0x450b5e(0x343)],_0x58a9c2[_0x450b5e(0x35f)][0x0]);}})));}[_0x17c635(0x2f8)](_0x128d37){const _0x3d3d63=_0x17c635;var _0x38919f,_0x56e060;const {memberID:_0x350251,selection:_0x32c9fe}=_0x128d37[_0x3d3d63(0x2d8)],{sheetName:_0x5c1c08,range:_0x5845ac}=_0x28f094(_0x32c9fe),_0x370ea5={'name':(_0x56e060=(_0x38919f=this['_memberService'][_0x3d3d63(0x285)](this[_0x3d3d63(0x310)],_0x350251))==null?void 0x0:_0x38919f[_0x3d3d63(0x2bd)])!=null?_0x56e060:_0x3d3d63(0x20a),'range':this[_0x3d3d63(0x20f)](_0x5c1c08,_0x5845ac),'sheetID':_0x5c1c08,'color':this[_0x3d3d63(0x22f)][_0x3d3d63(0x1b1)](_0x350251),'selection':_0x32c9fe},_0x28632a=this[_0x3d3d63(0x2f5)];_0x28632a['set'](_0x350251,_0x370ea5),this[_0x3d3d63(0x27d)][_0x3d3d63(0x32a)](_0x28632a);}[_0x17c635(0x214)](_0xcd9a75){const _0x2fbc6b=_0x17c635,{memberID:_0x47093f}=_0xcd9a75[_0x2fbc6b(0x2d8)],_0x12d292=this['cursorInfo'];_0x12d292['delete'](_0x47093f),this[_0x2fbc6b(0x27d)]['next'](_0x12d292);}[_0x17c635(0x20f)](_0x20b636,_0xb330c3){const _0x582672=_0x17c635;var _0x5c8864,_0x371a3a;const _0x33a3e1=(_0x371a3a=(_0x5c8864=this[_0x582672(0x1a2)][_0x582672(0x344)](this[_0x582672(0x310)]))==null?void 0x0:_0x5c8864[_0x582672(0x2f9)](_0x20b636))==null?void 0x0:_0x371a3a['getMergeData']();return(_0x33a3e1==null?void 0x0:_0x33a3e1['find'](_0x3c2075=>_0x428eba[_0x582672(0x283)](_0x3c2075,_0xb330c3)))||_0xb330c3;}[_0x17c635(0x262)](){const _0x337653=_0x17c635,_0x4b811a=new _0x5daaad(),_0x463171=vi(),_0x20d593=()=>{const _0x25641f=_0x13d3;_0x4b811a[_0x25641f(0x299)]();const _0x4f0410=(_0x4d78bd,_0x5dc7a5,_0x446478,_0x2edd51)=>{const _0x26b4db=_0x25641f;let _0x5577b8=[];switch(_0x4d78bd['id']){case _0x3a75d0['DeleteRangeMoveLeftCommandId']:{_0x5577b8=_0x1c2b37(_0x4d78bd,_0x2edd51);break;}case _0x3a75d0['DeleteRangeMoveUpCommandId']:{_0x5577b8=_0x49c009(_0x4d78bd,_0x2edd51);break;}case _0x3a75d0[_0x26b4db(0x1d6)]:{_0x5577b8=_0x2631b4(_0x4d78bd,_0x2edd51);break;}case _0x3a75d0[_0x26b4db(0x1f9)]:{_0x5577b8=_0x58e80a(_0x4d78bd,_0x2edd51);break;}case _0x3a75d0[_0x26b4db(0x212)]:{_0x5577b8=_0x5f23d9(_0x4d78bd,_0x2edd51);break;}case _0x3a75d0[_0x26b4db(0x341)]:{_0x5577b8=_0x38d5bb(_0x4d78bd,_0x2edd51);break;}case _0x3a75d0[_0x26b4db(0x24e)]:{_0x5577b8=_0x4e921f(_0x4d78bd,_0x2edd51);break;}case _0x3a75d0[_0x26b4db(0x351)]:{_0x5577b8=_0xe2309(_0x4d78bd,_0x2edd51);break;}case _0x3a75d0[_0x26b4db(0x313)]:{_0x5577b8=_0x41ad50(_0x4d78bd,_0x2edd51);break;}}const _0x16c0cd=_0x2d1c6a(_0x5577b8,_0x2edd51),_0x20aafb=this[_0x26b4db(0x2f5)][_0x26b4db(0x318)](_0x5dc7a5);if(_0x20aafb&&_0x16c0cd){const _0xfcc83b={..._0x20aafb,'range':_0x16c0cd};this[_0x26b4db(0x2f5)][_0x26b4db(0x1c2)](_0x5dc7a5,_0xfcc83b),_0x463171(()=>{const _0x332e76=_0x26b4db,_0x9daa2d=this[_0x332e76(0x2c2)][_0x332e76(0x32d)](_0x16c0cd,_0x224182=>(_0x9daa2d[_0x332e76(0x299)](),_0x4f0410(_0x224182,_0x5dc7a5,_0x446478,_0x16c0cd)));_0x4b811a[_0x332e76(0x25e)](_0x9daa2d);});}return{'redos':[],'undos':[]};};this[_0x25641f(0x2f5)]['forEach']((_0x5ea23d,_0x2652ef)=>{const _0xdb600=_0x25641f,{range:_0x2b0d67,sheetID:_0x31de80}=_0x5ea23d,_0xe217da=this[_0xdb600(0x2c2)][_0xdb600(0x32d)](_0x2b0d67,_0x9a11ec=>(_0xe217da[_0xdb600(0x299)](),_0x4f0410(_0x9a11ec,_0x2652ef,_0x31de80,_0x2b0d67)));_0x4b811a[_0xdb600(0x25e)](_0xe217da);});};this[_0x337653(0x322)](_0x36e603(this[_0x337653(0x27d)]['subscribe'](()=>{_0x20d593();})));}['_toggleOnline'](){const _0x5a74bc=_0x17c635;var _0x22ebab,_0x5f0618;if(this[_0x5a74bc(0x2fe)]=!0x0,((_0x22ebab=this['_univerInstanceService'][_0x5a74bc(0x1a6)]())==null?void 0x0:_0x22ebab[_0x5a74bc(0x21b)]())!==this['unitID'])return;const _0xa26364=(_0x5f0618=this[_0x5a74bc(0x25b)]['get'](_0xf736a4)[_0x5a74bc(0x320)]())==null?void 0x0:_0x5f0618[0x0],_0x394eba=this['_univerInstanceService'][_0x5a74bc(0x21c)](_0x2c47d7[_0x5a74bc(0x226)])[_0x5a74bc(0x34f)]();_0xa26364&&_0x394eba&&this[_0x5a74bc(0x28f)](_0x394eba[_0x5a74bc(0x2e4)](),_0xa26364);}[_0x17c635(0x36b)](){const _0x569234=_0x17c635;this[_0x569234(0x2fe)]=!0x1;}};Me=mi([x(0x2,_0x2eb397(_0x597056)),x(0x3,_0x2eb397(ke)),x(0x4,_0x2eb397(_0x4b94cb)),x(0x5,_0x26b67a),x(0x6,_0x35ee2f),x(0x7,_0x2eb397(_0x342bfc))],Me);var pi=Object['getOwnPropertyDescriptor'],Ci=(_0x8bbc1d,_0x2152ec,_0x334727,_0x44879b)=>{const _0x23a0ac=_0x17c635;for(var _0x3f58f1=_0x44879b>0x1?void 0x0:_0x44879b?pi(_0x2152ec,_0x334727):_0x2152ec,_0x4130f8=_0x8bbc1d[_0x23a0ac(0x25c)]-0x1,_0x598a4b;_0x4130f8>=0x0;_0x4130f8--)(_0x598a4b=_0x8bbc1d[_0x4130f8])&&(_0x3f58f1=_0x598a4b(_0x3f58f1)||_0x3f58f1);return _0x3f58f1;},Se=(_0x264341,_0xe4f6ea)=>(_0x5ed5bd,_0x2c5fee)=>_0xe4f6ea(_0x5ed5bd,_0x2c5fee,_0x264341);let H=class extends _0x5c44e6{constructor(_0x3c6c99,_0x58ba77,_0x15496b){const _0x58dc18=_0x17c635;super(),_(this,_0x58dc18(0x222),new Map()),_(this,_0x58dc18(0x213),new _0x430578()),(this[_0x58dc18(0x1a2)]=_0x3c6c99,this['_injector']=_0x58ba77,this[_0x58dc18(0x227)]=_0x15496b,this[_0x58dc18(0x384)]());}[_0x17c635(0x299)](){const _0x5d139b=_0x17c635;super[_0x5d139b(0x299)](),this['_entityInit$']['complete'](),this[_0x5d139b(0x222)][_0x5d139b(0x1d2)](_0x50fb27=>_0x50fb27[_0x5d139b(0x299)]());}[_0x17c635(0x3a3)](_0x8ec8b9){const _0x3612f2=_0x17c635;return this[_0x3612f2(0x222)][_0x3612f2(0x329)](_0x8ec8b9)?this[_0x3612f2(0x222)]['get'](_0x8ec8b9)[_0x3612f2(0x218)]:this[_0x3612f2(0x213)]['pipe'](_0x5a532e(_0xed1d9c=>_0xed1d9c[_0x3612f2(0x310)]===_0x8ec8b9),_0x4fcdee(_0x5c2b2f=>_0x5c2b2f[_0x3612f2(0x218)]));}[_0x17c635(0x384)](){const _0x5a3d2e=_0x17c635;this[_0x5a3d2e(0x1a2)]['getTypeOfUnitAdded$'](_0x2c47d7['UNIVER_SHEET'])['pipe'](_0x4fc11c(this[_0x5a3d2e(0x386)]))[_0x5a3d2e(0x31b)](async _0x45479d=>{const _0x2ba0d0=_0x5a3d2e,_0x3b79b4=_0x45479d[_0x2ba0d0(0x21b)](),_0x37af76=await this[_0x2ba0d0(0x1f5)](_0x3b79b4);this['_entityInit$'][_0x2ba0d0(0x32a)](_0x37af76),this[_0x2ba0d0(0x222)][_0x2ba0d0(0x1c2)](_0x3b79b4,_0x37af76);}),this[_0x5a3d2e(0x1a2)][_0x5a3d2e(0x1de)](_0x2c47d7[_0x5a3d2e(0x39f)])[_0x5a3d2e(0x345)](_0x4fc11c(this[_0x5a3d2e(0x386)]))[_0x5a3d2e(0x345)](_0x5a532e(_0x1beca4=>!_0x1beca4['getUnitId']()['startsWith']('__')))[_0x5a3d2e(0x31b)](async _0x4fb294=>{const _0x2989ef=_0x5a3d2e,_0x5acda0=_0x4fb294['getUnitId'](),_0x4ad3ba=await this[_0x2989ef(0x1c5)](_0x5acda0);this[_0x2989ef(0x213)][_0x2989ef(0x32a)](_0x4ad3ba),this[_0x2989ef(0x222)][_0x2989ef(0x1c2)](_0x5acda0,_0x4ad3ba);}),_0x179cd3(this['_univerInstanceService'][_0x5a3d2e(0x1e2)](_0x2c47d7[_0x5a3d2e(0x39f)]),this[_0x5a3d2e(0x1a2)][_0x5a3d2e(0x1e2)](_0x2c47d7[_0x5a3d2e(0x226)]))[_0x5a3d2e(0x345)](_0x4fc11c(this['dispose$']))[_0x5a3d2e(0x31b)](_0x107b21=>{const _0x53d1e9=_0x5a3d2e,_0x4ff12c=_0x107b21[_0x53d1e9(0x21b)](),_0x36b100=this[_0x53d1e9(0x222)]['get'](_0x4ff12c);_0x36b100&&(_0x36b100['dispose'](),this['_entities'][_0x53d1e9(0x2f4)](_0x4ff12c));});}async[_0x17c635(0x1f5)](_0x314fce){const _0x3d6141=_0x17c635,_0xc15fa1=await this[_0x3d6141(0x227)]['requireSession'](_0x314fce),_0x5b0c8c=this[_0x3d6141(0x25b)][_0x3d6141(0x316)](Me,_0x314fce,_0xc15fa1);return _0x5b0c8c[_0x3d6141(0x276)](),_0x5b0c8c;}async['_startDocCollabCursor'](_0xbb1612){const _0x24b848=_0x17c635,_0x152be0=await this['_collabSessionService'][_0x24b848(0x1a0)](_0xbb1612),_0x5d17be=this[_0x24b848(0x25b)]['createInstance'](Ue,_0xbb1612,_0x152be0);return _0x5d17be[_0x24b848(0x276)](),_0x5d17be;}};function _0x13d3(_0x1fac5d,_0x403fad){const _0xf6ea63=_0xf6ea();return _0x13d3=function(_0x13d3a8,_0x3627cd){_0x13d3a8=_0x13d3a8-0x1a0;let _0x203888=_0xf6ea63[_0x13d3a8];return _0x203888;},_0x13d3(_0x1fac5d,_0x403fad);}H=Ci([Se(0x0,_0x26b67a),Se(0x1,_0x2eb397(_0x597056)),Se(0x2,_0x2eb397(_0x4a7bfc))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x27ceb3,_0x2425da){const _0x3554d3=_0x17c635;let {radius:_0x34f620,width:_0xabf28f,height:_0x4cc24}=_0x2425da;_0x34f620=_0x34f620!=null?_0x34f620:0x0,_0xabf28f=_0xabf28f!=null?_0xabf28f:0x1e,_0x4cc24=_0x4cc24!=null?_0x4cc24:0x1e;let _0x410c57=0x0,_0x1d2513=0x0,_0x25a5f9=0x0;_0x410c57=_0x1d2513=_0x25a5f9=Math[_0x3554d3(0x36f)](_0x34f620,_0xabf28f/0x2,_0x4cc24/0x2),_0x27ceb3[_0x3554d3(0x2cd)](),_0x27ceb3[_0x3554d3(0x1e1)](_0x410c57,0x0),_0x27ceb3[_0x3554d3(0x1b9)](_0xabf28f-_0x1d2513,0x0),_0x27ceb3[_0x3554d3(0x39c)](_0xabf28f-_0x1d2513,_0x1d2513,_0x1d2513,Math['PI']*0x3/0x2,0x0,!0x1),_0x27ceb3['lineTo'](_0xabf28f,_0x4cc24-_0x25a5f9),_0x27ceb3[_0x3554d3(0x39c)](_0xabf28f-_0x25a5f9,_0x4cc24-_0x25a5f9,_0x25a5f9,0x0,Math['PI']/0x2,!0x1),_0x27ceb3['lineTo'](0x0,_0x4cc24),_0x27ceb3[_0x3554d3(0x1b9)](0x0,_0x410c57),_0x27ceb3[_0x3554d3(0x39c)](_0x410c57,_0x410c57,_0x410c57,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x27ceb3[_0x3554d3(0x2b6)](),_0x2425da[_0x3554d3(0x228)]&&(_0x27ceb3['save'](),_0x27ceb3['fillStyle']=_0x2425da[_0x3554d3(0x228)],_0x2425da[_0x3554d3(0x2fd)]===_0x3554d3(0x2ab)?_0x27ceb3[_0x3554d3(0x228)](_0x3554d3(0x2ab)):_0x27ceb3[_0x3554d3(0x228)](),_0x27ceb3['restore']());}class he extends _0x15bb4e{constructor(_0x2e1b66,_0x12c10b){const _0x1609ca=_0x17c635;super(_0x2e1b66,_0x12c10b),_(this,'color'),_(this,'text'),(this[_0x1609ca(0x31f)]=_0x12c10b==null?void 0x0:_0x12c10b[_0x1609ca(0x31f)],this[_0x1609ca(0x1c1)]=_0x12c10b==null?void 0x0:_0x12c10b[_0x1609ca(0x1c1)]);}static[_0x17c635(0x2d1)](_0x6dbb40,_0x439d4d){const _0x8d5a89=_0x17c635,{text:_0x42c34e,color:_0x1487e5}=_0x439d4d;_0x6dbb40[_0x8d5a89(0x24a)](),_0x6dbb40[_0x8d5a89(0x3a0)]=_0x8d5a89(0x2da);const _0x1fa19d=_0x6dbb40[_0x8d5a89(0x1f4)](_0x42c34e)[_0x8d5a89(0x37a)],_0x4ffde5=Math[_0x8d5a89(0x36f)](_0x1fa19d+0x2*me,Qe);Oi(_0x6dbb40,{'height':ee,'radius':0x4,'width':_0x4ffde5,'fill':_0x1487e5}),_0x6dbb40['fillStyle']=_0x8d5a89(0x335);const _0x50fee2=me,_0x4b2e7c=ee-Ei,_0x2a12d5=Qe-0x2*me;if(_0x1fa19d>_0x2a12d5){let _0x2fcbb3='',_0x37b7f3=0x0;for(const _0x6ef7ec of _0x42c34e){const _0x605118=_0x6dbb40[_0x8d5a89(0x1f4)](_0x6ef7ec)[_0x8d5a89(0x37a)];if(_0x37b7f3+_0x605118<=_0x2a12d5-_0x6dbb40[_0x8d5a89(0x1f4)](_0x8d5a89(0x1a3))[_0x8d5a89(0x37a)])_0x2fcbb3+=_0x6ef7ec,_0x37b7f3+=_0x605118;else{_0x2fcbb3+=_0x8d5a89(0x1a3);break;}}_0x6dbb40['fillText'](_0x2fcbb3,_0x50fee2,_0x4b2e7c);}else _0x6dbb40[_0x8d5a89(0x2d2)](_0x42c34e,_0x50fee2,_0x4b2e7c);_0x6dbb40[_0x8d5a89(0x1c6)]();}[_0x17c635(0x353)](_0x3e70d7){const _0x593fb6=_0x17c635;he[_0x593fb6(0x2d1)](_0x3e70d7,this);}}const Ie=_0x17c635(0x2b9),bi='collab-text-range-',Ti=_0x17c635(0x346),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni='rgba(255,\x20255,\x20255,\x200.01)';class qe{constructor(_0x2d0e19,_0x299674,_0x45119d,_0x353dcf){const _0x474aee=_0x17c635;_(this,_0x474aee(0x251),[]),_(this,_0x474aee(0x27a),null),_(this,_0x474aee(0x385),null),_(this,_0x474aee(0x328),null),_(this,_0x474aee(0x268),null),_(this,_0x474aee(0x367),null),(this['_cursor']=_0x2d0e19,this[_0x474aee(0x232)]=_0x299674,this[_0x474aee(0x200)]=_0x45119d,this[_0x474aee(0x360)]=_0x353dcf,this[_0x474aee(0x1e6)]());}set[_0x17c635(0x204)](_0x4cf155){const _0x5018fb=_0x17c635;_0x4cf155?(this['_anchorDot']&&this['_anchorDot'][_0x5018fb(0x1db)](),this[_0x5018fb(0x385)]&&this[_0x5018fb(0x385)]['show']()):(this['_anchorDot']&&this[_0x5018fb(0x328)][_0x5018fb(0x270)](),this[_0x5018fb(0x385)]&&this[_0x5018fb(0x385)][_0x5018fb(0x1db)]());}[_0x17c635(0x299)](){const _0x3cf84d=_0x17c635;for(const _0x4f3384 of this['_shapes'])_0x4f3384[_0x3cf84d(0x299)]();this['_textBubble']&&this[_0x3cf84d(0x385)][_0x3cf84d(0x299)](),this['_anchorDot']&&this[_0x3cf84d(0x328)][_0x3cf84d(0x299)](),this['_anchor']&&this['_anchor']['dispose'](),this[_0x3cf84d(0x367)]&&this[_0x3cf84d(0x367)]();}[_0x17c635(0x1e6)](){const _0xf771b2=_0x17c635;var _0x1629ed;const {_docSkeleton:_0x29eb12,_document:_0x2738a5}=this,{color:_0x1d1930,name:_0x10149d,ranges:_0x4f7a90}=this[_0xf771b2(0x2cb)],_0x909583=_0x2738a5['getOffsetConfig'](),{docsLeft:_0x277342,docsTop:_0x13f953}=_0x909583,_0x379287=new _0xa81833(_0x909583,_0x29eb12);for(const {startOffset:_0x584241,endOffset:_0x1b89a4,rangeType:_0x69de06,segmentId:_0x218562,segmentPage:_0x5e9a5d,collapsed:_0x3afc6c,isActive:_0x19eada}of _0x4f7a90){const _0x29f9e5=_0x29eb12[_0xf771b2(0x2b4)](_0x584241,!0x0,_0x218562,_0x5e9a5d);let _0x3bf7d9=_0x29eb12[_0xf771b2(0x2b4)](_0x1b89a4,!0x0,_0x218562,_0x5e9a5d);if(_0x3bf7d9==null&&(_0x3bf7d9=_0x29eb12[_0xf771b2(0x2b4)](_0x1b89a4-0x1,!0x1,_0x218562,_0x5e9a5d)),_0x19eada){const {contentBoxPointGroup:_0x19b342}=_0x379287[_0xf771b2(0x397)](_0x3bf7d9,_0x3bf7d9);if(_0x19b342[_0xf771b2(0x25c)]===0x0)continue;this[_0xf771b2(0x2a7)](_0x1d1930,_0x19b342,_0x277342,_0x13f953,_0x10149d),this['_eventUnsubscribe']=this[_0xf771b2(0x2e1)]();}if(_0x29f9e5&&_0x3bf7d9){if(_0x69de06===_0x3e5bba[_0xf771b2(0x2a2)]){const _0xe301f7=new _0x1b3357(_0x909583,_0x29eb12),{pointGroup:_0x59750d}=(_0x1629ed=_0xe301f7[_0xf771b2(0x397)](_0x29f9e5,_0x3bf7d9))!=null?_0x1629ed:{};if(_0x59750d==null||_0x59750d[_0xf771b2(0x25c)]===0x0)continue;this['_drawRectRange'](_0x1d1930,_0x59750d,_0x277342,_0x13f953);}else{if(!_0x3afc6c){const {borderBoxPointGroup:_0x6678c4}=_0x379287[_0xf771b2(0x397)](_0x29f9e5,_0x3bf7d9);if(_0x6678c4['length']===0x0)continue;this[_0xf771b2(0x1a9)](_0x1d1930,_0x6678c4,_0x277342,_0x13f953);}}}}}[_0x17c635(0x2a7)](_0x15aea8,_0x44ecbe,_0x6a04e0,_0x417b21,_0x33e055){const _0x5a4633=_0x17c635,_0x4e030f=this[_0x5a4633(0x280)](_0x44ecbe),{left:_0x41c388,top:_0x37ad47,height:_0x343f0b}=_0x4e030f,_0xe0dbf7=this['_getScale'](),_0x5bac6f=Di/_0xe0dbf7,_0x1b2c89=new _0x507dd3(Ie+_0x450a88[_0x5a4633(0x286)](X),{'left':_0x41c388+_0x6a04e0-_0x5bac6f,'top':_0x37ad47+_0x417b21,'height':_0x343f0b,'width':Ri,'fill':_0x15aea8||_0x30d8ae(_0x2a2dbf[_0x5a4633(0x2a5)],0x0),'strokeWidth':_0x5bac6f,'stroke':Ni,'evented':!0x0});this[_0x5a4633(0x27a)]=_0x1b2c89,this[_0x5a4633(0x232)]['addObject'](_0x1b2c89,_0x35b4cc);const _0x27f40e=new _0x507dd3(Ie+_0x450a88['generateRandomId'](X),{'left':_0x41c388+_0x6a04e0-_0x5bac6f,'top':_0x37ad47+_0x417b21-ge/0x2,'height':ge,'width':ge,'fill':_0x15aea8||_0x30d8ae(_0x2a2dbf[_0x5a4633(0x2a5)],0x0),'strokeWidth':0x0,'stroke':_0x15aea8||_0x30d8ae(_0x2a2dbf[_0x5a4633(0x2a5)],0x0),'evented':!0x1});this['_anchorDot']=_0x27f40e,this[_0x5a4633(0x232)][_0x5a4633(0x308)](_0x27f40e,_0x35b4cc);const _0x2efd49=new he(Ie+_0x450a88[_0x5a4633(0x286)](X),{'left':_0x41c388+_0x6a04e0-_0x5bac6f,'top':_0x37ad47+_0x417b21-ee,'text':_0x33e055,'color':_0x15aea8});this[_0x5a4633(0x385)]=_0x2efd49,this[_0x5a4633(0x232)][_0x5a4633(0x308)](_0x2efd49,_0x35b4cc),this[_0x5a4633(0x204)]=!0x1;}['_handleHover'](){const _0x5cab40=_0x17c635,_0xa6ff4f=this[_0x5cab40(0x27a)][_0x5cab40(0x290)][_0x5cab40(0x35a)](()=>{const _0x4deaf3=_0x5cab40;this[_0x4deaf3(0x204)]=!0x0;}),_0x27e85e=this[_0x5cab40(0x27a)][_0x5cab40(0x1c0)][_0x5cab40(0x35a)](()=>{const _0x5ac3db=_0x5cab40;this['_hideTimer']&&clearTimeout(this[_0x5ac3db(0x268)]),this[_0x5ac3db(0x268)]=setTimeout(()=>{const _0x1e077b=_0x5ac3db;this[_0x1e077b(0x204)]=!0x1;},0x7d0);});return()=>{const _0x57f1fa=_0x5cab40;_0xa6ff4f['unsubscribe'](),_0x27e85e[_0x57f1fa(0x36a)]();};}['_drawTextRange'](_0xa58dba,_0x1c801c,_0x53c87c,_0x25aa2c){const _0x37a103=_0x17c635,_0x42c6de=new _0x4cbba2(_0xa58dba)[_0x37a103(0x1ab)](0.2)[_0x37a103(0x1ce)](),_0x4bd886=new _0x2da338(bi+_0x450a88[_0x37a103(0x286)](X),{'pointsGroup':_0x1c801c,'fill':_0x42c6de||_0x30d8ae(_0x2a2dbf[_0x37a103(0x2a5)],0.2),'left':_0x53c87c,'top':_0x25aa2c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x37a103(0x251)][_0x37a103(0x24f)](_0x4bd886),this[_0x37a103(0x232)][_0x37a103(0x308)](_0x4bd886,_0x35b4cc);}[_0x17c635(0x1d0)](_0x5bd4e5,_0x228e3c,_0x1ea03e,_0x2109d3){const _0x414463=_0x17c635,_0x44eb3a=new _0x4cbba2(_0x5bd4e5)[_0x414463(0x1ab)](0.2)[_0x414463(0x1ce)](),_0x3fa5cb=new _0x2da338(Ti+_0x450a88[_0x414463(0x286)](X),{'pointsGroup':_0x228e3c,'fill':_0x44eb3a||_0x30d8ae(_0x2a2dbf[_0x414463(0x2a5)],0.2),'left':_0x1ea03e,'top':_0x2109d3,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x414463(0x251)][_0x414463(0x24f)](_0x3fa5cb),this['_scene'][_0x414463(0x308)](_0x3fa5cb,_0x35b4cc);}[_0x17c635(0x280)](_0xe40560){const _0xb725fb=_0xe40560[0x0],_0x51356c=_0xb725fb[0x0],_0x30eecb=_0xb725fb[0x2],{x:_0x10c7b4,y:_0xc08a06}=_0x51356c,{x:_0x150841,y:_0x20348b}=_0x30eecb;return{'left':_0x10c7b4,'top':_0xc08a06,'width':_0x150841-_0x10c7b4,'height':_0x20348b-_0xc08a06};}[_0x17c635(0x324)](){const _0x4dfc94=_0x17c635,{scaleX:_0x575eed,scaleY:_0x46784e}=this[_0x4dfc94(0x232)]['getAncestorScale']();return Math[_0x4dfc94(0x39d)](_0x575eed,_0x46784e);}}var Ui=Object[_0x17c635(0x23d)],Mi=(_0x9390f1,_0x409a49,_0x579fde,_0x386509)=>{for(var _0x55b285=_0x386509>0x1?void 0x0:_0x386509?Ui(_0x409a49,_0x579fde):_0x409a49,_0x1621ce=_0x9390f1['length']-0x1,_0x4bdb0a;_0x1621ce>=0x0;_0x1621ce--)(_0x4bdb0a=_0x9390f1[_0x1621ce])&&(_0x55b285=_0x4bdb0a(_0x55b285)||_0x55b285);return _0x55b285;},Z=(_0x5cb9db,_0x36fb2b)=>(_0xc72e45,_0x51eea5)=>_0x36fb2b(_0xc72e45,_0x51eea5,_0x5cb9db);let we=class extends _0x5c44e6{constructor(_0x13cfa7,_0x4edca1,_0x29a929,_0x2cc95f,_0x286bd8){const _0x4e2e56=_0x17c635;super(),_(this,'_cursorShapes',[]),_(this,'_cursors',[]),(this[_0x4e2e56(0x2e9)]=_0x13cfa7,this[_0x4e2e56(0x1bf)]=_0x4edca1,this[_0x4e2e56(0x277)]=_0x29a929,this[_0x4e2e56(0x233)]=_0x2cc95f,this[_0x4e2e56(0x1e8)]=_0x286bd8,this[_0x4e2e56(0x384)]());}[_0x17c635(0x384)](){const _0x588a13=_0x17c635,_0xb23ab4=this[_0x588a13(0x2e9)][_0x588a13(0x1ef)],_0x269b21=this[_0x588a13(0x1bf)];this[_0x588a13(0x322)](_0x3a9b5c([this['_collabCursorController'][_0x588a13(0x3a3)](_0xb23ab4),this[_0x588a13(0x1e8)]['currentTheme$']])[_0x588a13(0x345)](_0x54cd30(([_0x20eaae,_0x110083])=>({'skeleton':_0x269b21[_0x588a13(0x1d1)](),'cursors':[..._0x20eaae['values']()][_0x588a13(0x2dc)](_0x3f1f19=>({..._0x3f1f19,'color':this[_0x588a13(0x1e8)]['getColorFromTheme'](_0x3f1f19[_0x588a13(0x31f)])}))})))[_0x588a13(0x31b)](_0x430bd6=>{const _0x530617=_0x588a13;if(this[_0x530617(0x2d5)](),_0x430bd6){const {skeleton:_0x57fd4f,cursors:_0x58f01f}=_0x430bd6;this['_updateCollabCursors'](_0x57fd4f,_0x58f01f);}})),this[_0x588a13(0x2f1)](),this['_initCommandExecutedListener']();}[_0x17c635(0x2ea)](_0x5e7e3c,_0x18d06e){const _0x29daf1=_0x17c635,{scene:_0x5aee40,mainComponent:_0x158f16}=this['_context'],_0x22e49d=_0x18d06e[_0x29daf1(0x33c)](_0x98a36b=>new qe(_0x98a36b,_0x5aee40,_0x5e7e3c,_0x158f16));this[_0x29daf1(0x23c)]=_0x22e49d,this[_0x29daf1(0x1f2)]=_0x18d06e;}[_0x17c635(0x35e)](){const _0x5b29b2=_0x17c635;this[_0x5b29b2(0x2d5)]();const {scene:_0x2a1642,mainComponent:_0x3bb830}=this[_0x5b29b2(0x2e9)],_0x41b06c=this[_0x5b29b2(0x1bf)][_0x5b29b2(0x1d1)](),_0x440b22=this[_0x5b29b2(0x1f2)][_0x5b29b2(0x33c)](_0x496aed=>new qe(_0x496aed,_0x2a1642,_0x41b06c,_0x3bb830));this[_0x5b29b2(0x23c)]=_0x440b22;}[_0x17c635(0x2d5)](){const _0xef3cb=_0x17c635;this['_cursorShapes'][_0xef3cb(0x1d2)](_0x3868c7=>_0x3868c7[_0xef3cb(0x299)]()),this[_0xef3cb(0x23c)]=[];}[_0x17c635(0x33e)](){const _0x4f3147=_0x17c635,_0x3906a5=[_0x19901a['id']];this['disposeWithMe'](this[_0x4f3147(0x233)][_0x4f3147(0x1d3)](_0x38968d=>{const _0x2f400e=_0x4f3147;_0x3906a5['includes'](_0x38968d['id'])&&_0x38968d[_0x2f400e(0x39a)][_0x2f400e(0x1ef)]===this[_0x2f400e(0x2e9)][_0x2f400e(0x1ef)]&&this[_0x2f400e(0x35e)]();}));}[_0x17c635(0x2f1)](){const _0x244b27=_0x17c635;this[_0x244b27(0x322)](_0x12d0fe(this[_0x244b27(0x2e9)][_0x244b27(0x1b0)]['onTransformChange$'])[_0x244b27(0x345)](_0x986a90(_0x279624=>_0x279624[_0x244b27(0x23f)]===_0x2835bd[_0x244b27(0x1d8)]),_0x22fc6d(0x10))['subscribe'](()=>{const _0xbfb6ee=_0x244b27;this[_0xbfb6ee(0x35e)]();}));}};we=Mi([Z(0x1,_0x2eb397(_0x51951f)),Z(0x2,_0x2eb397(H)),Z(0x3,_0x35ee2f),Z(0x4,_0x2eb397(_0x4ffddf))],we);const wi=0x1,Pi=1.5;class Li extends _0x15bb4e{constructor(_0x355571,_0x33407d){const _0x183a01=_0x17c635;super(_0x355571,_0x33407d),_(this,'_color'),_(this,'_hovered',!0x1),_(this,_0x183a01(0x278)),_(this,_0x183a01(0x33d),''),_(this,_0x183a01(0x33f),_0x183a01(0x23b)),_(this,_0x183a01(0x24c)),(_0x33407d&&this[_0x183a01(0x2b5)](_0x33407d),this[_0x183a01(0x290)][_0x183a01(0x35a)](()=>this[_0x183a01(0x2b5)]({'hovered':!0x0})),this[_0x183a01(0x1c0)][_0x183a01(0x35a)](()=>this[_0x183a01(0x2b5)]({'hovered':!0x1})));}[_0x17c635(0x2b5)](_0x561fcc){const _0x5de7c0=_0x17c635;var _0x2ca263,_0x1ee521,_0x39d959,_0xa1e424,_0x3bee00,_0x1e18fd;this[_0x5de7c0(0x309)]=(_0x2ca263=_0x561fcc[_0x5de7c0(0x31f)])!=null?_0x2ca263:this['_color'],this[_0x5de7c0(0x1f6)]=(_0x1ee521=_0x561fcc[_0x5de7c0(0x315)])!=null?_0x1ee521:this[_0x5de7c0(0x1f6)],this['_range']=(_0x39d959=_0x561fcc[_0x5de7c0(0x21e)])!=null?_0x39d959:this[_0x5de7c0(0x278)],this[_0x5de7c0(0x33d)]=(_0xa1e424=_0x561fcc[_0x5de7c0(0x2bd)])!=null?_0xa1e424:this[_0x5de7c0(0x33d)],this['_labelPosition']=(_0x3bee00=_0x561fcc[_0x5de7c0(0x37e)])!=null?_0x3bee00:this['_labelPosition'],this[_0x5de7c0(0x24c)]=(_0x1e18fd=_0x561fcc[_0x5de7c0(0x2bf)])!=null?_0x1e18fd:this[_0x5de7c0(0x24c)],this[_0x5de7c0(0x32c)]({'width':_0x561fcc[_0x5de7c0(0x37a)],'height':_0x561fcc[_0x5de7c0(0x20c)]});}[_0x17c635(0x22e)](_0x56022f){const _0x3e0b99=_0x17c635,{row:_0x59e7f3,column:_0xfdc3ca}=_0x56022f;if(_0x59e7f3>=this[_0x3e0b99(0x278)][_0x3e0b99(0x361)]&&_0x59e7f3<=this[_0x3e0b99(0x278)][_0x3e0b99(0x382)]&&_0xfdc3ca>=this[_0x3e0b99(0x278)][_0x3e0b99(0x2f0)]&&_0xfdc3ca<=this[_0x3e0b99(0x278)][_0x3e0b99(0x237)]){this[_0x3e0b99(0x2b5)]({'hovered':!0x0});return;}this[_0x3e0b99(0x2b5)]({'hovered':!0x1});}[_0x17c635(0x2a4)](_0x3e666d){return!0x1;}['_draw'](_0x8606a2){const _0x2d10b4=_0x17c635;_0x507dd3[_0x2d10b4(0x2d1)](_0x8606a2,{'width':this[_0x2d10b4(0x37a)],'height':this[_0x2d10b4(0x20c)],'strokeWidth':Pi,'stroke':this[_0x2d10b4(0x309)],'evented':!0x1,'fill':this[_0x2d10b4(0x24c)]}),this[_0x2d10b4(0x1f6)]&&(_0x8606a2[_0x2d10b4(0x24a)](),_0x8606a2[_0x2d10b4(0x22a)](0x1,0x0,0x0,0x1,this['width'],this[_0x2d10b4(0x33f)]==='bottom'?0x0:-0x14),he[_0x2d10b4(0x2d1)](_0x8606a2,{'text':this['_name'],'color':this[_0x2d10b4(0x309)]}),_0x8606a2['restore']());}}var Ai=Object[_0x17c635(0x23d)],yi=(_0x289e49,_0xb31c7f,_0x4e0225,_0x585238)=>{const _0x3734d5=_0x17c635;for(var _0x15da37=_0x585238>0x1?void 0x0:_0x585238?Ai(_0xb31c7f,_0x4e0225):_0xb31c7f,_0x1b57f4=_0x289e49[_0x3734d5(0x25c)]-0x1,_0x2ae702;_0x1b57f4>=0x0;_0x1b57f4--)(_0x2ae702=_0x289e49[_0x1b57f4])&&(_0x15da37=_0x2ae702(_0x15da37)||_0x15da37);return _0x15da37;},ve=(_0x27b672,_0x23b50e)=>(_0x30ccf1,_0xbc32a4)=>_0x23b50e(_0x30ccf1,_0xbc32a4,_0x27b672);const $i=0x1389;let Pe=class extends _0x5c44e6{constructor(_0x229a0b,_0x5a6e38,_0x18e1a7,_0x20e790){const _0x1163f1=_0x17c635;super(),_(this,_0x1163f1(0x1f2),new Set()),_(this,_0x1163f1(0x34c),null),(this[_0x1163f1(0x2e9)]=_0x229a0b,this[_0x1163f1(0x28a)]=_0x5a6e38,this[_0x1163f1(0x277)]=_0x18e1a7,this['_themeService']=_0x20e790,this[_0x1163f1(0x384)]());}[_0x17c635(0x384)](){const _0x525792=_0x17c635;this[_0x525792(0x28a)][_0x525792(0x350)][_0x525792(0x345)](_0xc03ae9(this[_0x525792(0x386)]),_0x5a631c(_0x121b0a=>{const _0x446654=_0x525792;if(_0x121b0a){const _0x2a72f9=_0x121b0a[_0x446654(0x287)];return _0x3a9b5c(this['_collabCursorController']['getCollabCursors$'](this['_context'][_0x446654(0x1ef)]),this[_0x446654(0x1e8)][_0x446654(0x348)])[_0x446654(0x345)](_0x54cd30(([_0x514115,_0x28503e])=>{const _0x15a850=_0x446654,_0x1dbfa6=new Map();return _0x514115[_0x15a850(0x1d2)]((_0x2ddd6b,_0x410993)=>{const _0x30922c=_0x15a850;if(_0x2ddd6b[_0x30922c(0x2ca)]===_0x2a72f9){const _0x40dbdf={..._0x2ddd6b};_0x40dbdf[_0x30922c(0x31f)]=this[_0x30922c(0x1e8)][_0x30922c(0x38d)](_0x2ddd6b[_0x30922c(0x31f)]),_0x1dbfa6[_0x30922c(0x1c2)](_0x410993,_0x40dbdf);}}),{'skeleton':_0x121b0a,'cursors':_0x1dbfa6};}));}return _0x3ac931({'skeleton':null,'cursors':new Map()});}))[_0x525792(0x31b)](({skeleton:_0x579b71,cursors:_0x354613})=>{const _0x5c42ce=_0x525792;this[_0x5c42ce(0x2d5)](),_0x579b71&&this[_0x5c42ce(0x2ea)](_0x579b71,_0x354613);}),this['_sheetSkeletonManagerService'][_0x525792(0x350)]['subscribe'](_0x41c78e=>{const _0x29f1eb=_0x525792;if(_0x41c78e==null)return;const {skeleton:_0x4dded1}=_0x41c78e,{scene:_0x43cae1}=this[_0x29f1eb(0x2e9)];_0x43cae1[_0x29f1eb(0x1e9)][_0x29f1eb(0x35a)](_0x27ab95(_0x27ff97=>{const _0x3d9384=_0x29f1eb;var _0x23462b,_0x41d3bb;const {offsetX:_0x2e1b03,offsetY:_0x3d8ff1}=_0x27ff97,{x:_0x21876a,y:_0x2d6dc9}=_0x43cae1[_0x3d9384(0x37f)](_0x4e7430['FromArray']([_0x2e1b03,_0x3d8ff1])),{scaleX:_0x5bb616,scaleY:_0x33f0df}=_0x43cae1['getAncestorScale'](),_0xac86ec=_0x43cae1[_0x3d9384(0x1c9)](_0xd886c9['VIEW_MAIN']),_0x5cbd95=_0x43cae1['getVpScrollXYInfoByPosToVp'](_0x4e7430[_0x3d9384(0x34a)]([_0x21876a,_0x2d6dc9]),_0xac86ec),_0x1c8725=_0x4dded1['getCellPositionByOffset'](_0x2e1b03,_0x3d8ff1,_0x5bb616,_0x33f0df,_0x5cbd95);((_0x23462b=this[_0x3d9384(0x34c)])==null?void 0x0:_0x23462b[_0x3d9384(0x2bc)])===_0x1c8725[_0x3d9384(0x2bc)]&&((_0x41d3bb=this['_lastPointer'])==null?void 0x0:_0x41d3bb[_0x3d9384(0x377)])===_0x1c8725[_0x3d9384(0x377)]||this[_0x3d9384(0x1f2)][_0x3d9384(0x1d2)](_0x1dd66f=>{const _0x5d2f35=_0x3d9384;_0x1dd66f[_0x5d2f35(0x22e)](_0x1c8725);});},0x64));});}[_0x17c635(0x2ea)](_0x27c119,_0x4cc4a4){const _0x5d7a31=_0x17c635;var _0x577db7;const _0x15b842=(_0x577db7=this[_0x5d7a31(0x28a)][_0x5d7a31(0x352)]())==null?void 0x0:_0x577db7[_0x5d7a31(0x36d)];if(!_0x15b842)return;const _0x5c4c83=this[_0x5d7a31(0x383)]();if(!_0x5c4c83)return;this['_cursors'][_0x5d7a31(0x1d2)](_0x559021=>{const _0x1b98e0=_0x5d7a31;_0x559021[_0x1b98e0(0x1f3)]();});const {scene:_0xcaecc9}=_0x5c4c83,_0x23fc90=xi(Array[_0x5d7a31(0x239)](_0x4cc4a4[_0x5d7a31(0x2f2)]()))[_0x5d7a31(0x33c)](_0x29c97a=>{const _0x45ae7b=_0x5d7a31,{color:_0x4c3205,range:_0x602182,name:_0x2b9178,selection:_0x255e90,sheetID:_0x290b12}=_0x29c97a,{startColumn:_0xe0d6f3,startRow:_0x27838e,endColumn:_0x2ebfd2,endRow:_0x4f6c4f}=_0x602182,_0x2155c8=_0x55f2dc(_0x27838e,_0xe0d6f3,_0xcaecc9,_0x15b842),_0x44d50a=_0x55f2dc(_0x4f6c4f,_0x2ebfd2,_0xcaecc9,_0x15b842),{columnHeaderHeightAndMarginTop:_0x41db43}=_0x15b842,{startX:_0xe074b5,startY:_0x41c526}=_0x2155c8,{endX:_0x15e530,endY:_0x59eb6a}=_0x44d50a,_0x529718=_0x15e530-_0xe074b5,_0x55a563=_0x59eb6a-_0x41c526,_0x5cd16b={'labelPosition':_0x41c526-_0x41db43>=ee?_0x45ae7b(0x23b):_0x45ae7b(0x20e),'sheetID':_0x290b12,'range':_0x602182,'color':_0x4c3205,'name':_0x2b9178,'selection':_0x255e90,'left':_0xe074b5,'top':_0x41c526,'width':_0x529718,'height':_0x55a563,'evented':!0x1,'zIndex':$i};return new Li(_0x2b9178,_0x5cd16b);});_0xcaecc9[_0x5d7a31(0x29a)](_0x23fc90,wi),this[_0x5d7a31(0x1f2)]=new Set(_0x23fc90);}[_0x17c635(0x2d5)](){var _0x39df67;(_0x39df67=this['_cursors'])==null||_0x39df67['forEach'](_0x168546=>_0x168546['dispose']());}[_0x17c635(0x383)](){const _0x245349=_0x17c635;return _0x30498b(this[_0x245349(0x2e9)]['unit'],this[_0x245349(0x2e9)]);}};Pe=yi([ve(0x1,_0x2eb397(_0x25e49a)),ve(0x2,_0x2eb397(H)),ve(0x3,_0x2eb397(_0x4ffddf))],Pe);function xi(_0x511085){const _0x5a8ba2=_0x17c635,_0x20352d=new Map();return _0x511085[_0x5a8ba2(0x1d2)](_0x3e62ab=>{const _0x42f397=_0x5a8ba2;if(_0x20352d[_0x42f397(0x329)](_0x3e62ab[_0x42f397(0x371)])){const _0x286775=_0x20352d[_0x42f397(0x318)](_0x3e62ab[_0x42f397(0x371)]);_0x286775[_0x42f397(0x2bd)]+=',\x20'+_0x3e62ab[_0x42f397(0x2bd)];}else _0x20352d[_0x42f397(0x1c2)](_0x3e62ab[_0x42f397(0x371)],_0x3e62ab);}),Array[_0x5a8ba2(0x239)](_0x20352d[_0x5a8ba2(0x2f2)]());}var v=function(){return v=Object['assign']||function(_0x123134){const _0x394015=_0x13d3;for(var _0x4185d4,_0x1bf157=0x1,_0x1d9a67=arguments[_0x394015(0x25c)];_0x1bf157<_0x1d9a67;_0x1bf157++){_0x4185d4=arguments[_0x1bf157];for(var _0x93399c in _0x4185d4)Object[_0x394015(0x224)]['hasOwnProperty'][_0x394015(0x372)](_0x4185d4,_0x93399c)&&(_0x123134[_0x93399c]=_0x4185d4[_0x93399c]);}return _0x123134;},v['apply'](this,arguments);},Bi=function(_0x4f9f4f,_0x197dc4){const _0x1c939e=_0x17c635;var _0x135ba8={};for(var _0x542ddc in _0x4f9f4f)Object[_0x1c939e(0x224)][_0x1c939e(0x39e)][_0x1c939e(0x372)](_0x4f9f4f,_0x542ddc)&&_0x197dc4[_0x1c939e(0x1bd)](_0x542ddc)<0x0&&(_0x135ba8[_0x542ddc]=_0x4f9f4f[_0x542ddc]);if(_0x4f9f4f!=null&&typeof Object[_0x1c939e(0x1c3)]=='function'){for(var _0x4587e5=0x0,_0x542ddc=Object[_0x1c939e(0x1c3)](_0x4f9f4f);_0x4587e5<_0x542ddc[_0x1c939e(0x25c)];_0x4587e5++)_0x197dc4[_0x1c939e(0x1bd)](_0x542ddc[_0x4587e5])<0x0&&Object[_0x1c939e(0x224)][_0x1c939e(0x1d7)]['call'](_0x4f9f4f,_0x542ddc[_0x4587e5])&&(_0x135ba8[_0x542ddc[_0x4587e5]]=_0x4f9f4f[_0x542ddc[_0x4587e5]]);}return _0x135ba8;},je=_0x3e3ee3(function(_0x44016d,_0x13ea6f){const _0x16ee45=_0x17c635;var _0x5bfd2d=_0x44016d[_0x16ee45(0x244)],_0x149448=_0x44016d['id'],_0x26c061=_0x44016d[_0x16ee45(0x1ad)],_0x18f3ca=_0x44016d[_0x16ee45(0x210)],_0x1d1378=Bi(_0x44016d,['icon','id','className',_0x16ee45(0x210)]),_0x1a9572=_0x16ee45(0x2e2)[_0x16ee45(0x28c)](_0x149448,'\x20')['concat'](_0x26c061||'')[_0x16ee45(0x389)](),_0x223e50=_0x1af6e7('_'[_0x16ee45(0x28c)](ji()));return Rt(_0x5bfd2d,''['concat'](_0x149448),{'defIds':_0x5bfd2d[_0x16ee45(0x2a0)],'idSuffix':_0x223e50[_0x16ee45(0x1f1)]},v({'ref':_0x13ea6f,'className':_0x1a9572},_0x1d1378),_0x18f3ca);});function Rt(_0x24f639,_0x4c3fe0,_0x99eef2,_0x3acbfe,_0x228db6){const _0x51e275=_0x17c635;return _0x540591(_0x24f639['tag'],v(v({'key':_0x4c3fe0},ki(_0x24f639,_0x99eef2,_0x228db6)),_0x3acbfe),(Hi(_0x24f639,_0x99eef2)[_0x51e275(0x321)]||[])['map'](function(_0x545874,_0x1d4c37){const _0x2512e5=_0x51e275;return Rt(_0x545874,''[_0x2512e5(0x28c)](_0x4c3fe0,'-')[_0x2512e5(0x28c)](_0x24f639[_0x2512e5(0x2dd)],'-')[_0x2512e5(0x28c)](_0x1d4c37),_0x99eef2,void 0x0,_0x228db6);}));}function ki(_0x1929de,_0x256bd6,_0x198fe9){const _0x3d247f=_0x17c635;var _0xf07cc5=v({},_0x1929de[_0x3d247f(0x1d4)]);_0x198fe9!=null&&_0x198fe9[_0x3d247f(0x258)]&&_0xf07cc5[_0x3d247f(0x228)]===_0x3d247f(0x258)&&(_0xf07cc5['fill']=_0x198fe9[_0x3d247f(0x258)]),_0x1929de[_0x3d247f(0x2dd)]==='mask'&&_0xf07cc5['id']&&(_0xf07cc5['id']=_0xf07cc5['id']+_0x256bd6[_0x3d247f(0x29c)]),Object[_0x3d247f(0x312)](_0xf07cc5)[_0x3d247f(0x1d2)](function(_0x463e7b){const _0x16b1e9=_0x3d247f;var _0x2682a6=_0x463e7b[0x0],_0x2929c1=_0x463e7b[0x1];_0x2682a6===_0x16b1e9(0x25a)&&typeof _0x2929c1==_0x16b1e9(0x3a1)&&(_0xf07cc5[_0x2682a6]=_0x2929c1[_0x16b1e9(0x1cb)](/url\(#(.*)\)/,_0x16b1e9(0x216)[_0x16b1e9(0x28c)](_0x256bd6['idSuffix'],')')));});var _0x281e0=_0x256bd6[_0x3d247f(0x2a0)];return!_0x281e0||_0x281e0['length']===0x0||(_0x1929de[_0x3d247f(0x2dd)]===_0x3d247f(0x355)&&_0xf07cc5[_0x3d247f(0x1ae)]&&(_0xf07cc5[_0x3d247f(0x1ae)]=_0xf07cc5[_0x3d247f(0x1ae)]+_0x256bd6[_0x3d247f(0x29c)]),Object[_0x3d247f(0x312)](_0xf07cc5)[_0x3d247f(0x1d2)](function(_0x179a91){const _0x26eb61=_0x3d247f;var _0x1f592f=_0x179a91[0x0],_0x5d362a=_0x179a91[0x1];typeof _0x5d362a==_0x26eb61(0x3a1)&&(_0xf07cc5[_0x1f592f]=_0x5d362a[_0x26eb61(0x1cb)](/url\(#(.*)\)/,_0x26eb61(0x216)['concat'](_0x256bd6['idSuffix'],')')));})),_0xf07cc5;}function Hi(_0x437b94,_0x50d0fd){const _0x7e121d=_0x17c635;var _0x3e5de2,_0x53342c=_0x50d0fd['defIds'];return!_0x53342c||_0x53342c[_0x7e121d(0x25c)]===0x0?_0x437b94:_0x437b94[_0x7e121d(0x2dd)]===_0x7e121d(0x1f0)&&(!((_0x3e5de2=_0x437b94[_0x7e121d(0x321)])===null||_0x3e5de2===void 0x0)&&_0x3e5de2[_0x7e121d(0x25c)])?v(v({},_0x437b94),{'children':_0x437b94['children'][_0x7e121d(0x33c)](function(_0x383840){const _0x5ee2ca=_0x7e121d;return typeof _0x383840[_0x5ee2ca(0x1d4)]['id']=='string'&&_0x53342c&&_0x53342c[_0x5ee2ca(0x238)](_0x383840[_0x5ee2ca(0x1d4)]['id'])?v(v({},_0x383840),{'attrs':v(v({},_0x383840[_0x5ee2ca(0x1d4)]),{'id':_0x383840[_0x5ee2ca(0x1d4)]['id']+_0x50d0fd[_0x5ee2ca(0x29c)]})}):_0x383840;})}):_0x437b94;}function ji(){const _0x2dc0a3=_0x17c635;return Math[_0x2dc0a3(0x25f)]()[_0x2dc0a3(0x207)](0x24)['substring'](0x2,0x8);}je[_0x17c635(0x1ee)]=_0x17c635(0x2bb);var Yi={'tag':_0x17c635(0x2d0),'attrs':{'xmlns':_0x17c635(0x205),'fill':'none','viewBox':_0x17c635(0x2d9),'width':_0x17c635(0x2f7),'height':_0x17c635(0x2f7)},'children':[{'tag':'g','attrs':{'clipPath':_0x17c635(0x266)},'children':[{'tag':'path','attrs':{'stroke':_0x17c635(0x38b),'d':_0x17c635(0x275),'strokeLinecap':_0x17c635(0x2b2),'strokeLinejoin':_0x17c635(0x2b2),'strokeWidth':1.2}}]},{'tag':_0x17c635(0x1f0),'attrs':{},'children':[{'tag':_0x17c635(0x2a8),'attrs':{'id':_0x17c635(0x349)},'children':[{'tag':_0x17c635(0x32e),'attrs':{'fill':_0x17c635(0x2c8),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x17c635(0x349)]},Dt=_0x3e3ee3(function(_0x261352,_0x3d3706){const _0x2dad7e=_0x17c635;return _0x540591(je,Object[_0x2dad7e(0x2e6)]({},_0x261352,{'id':_0x2dad7e(0x32b),'ref':_0x3d3706,'icon':Yi}));});Dt[_0x17c635(0x1ee)]='OffLineIcon';var Fi={'tag':_0x17c635(0x2d0),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x17c635(0x1f7),'width':'1em','height':_0x17c635(0x2f7)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x17c635(0x32e),'attrs':{'stroke':_0x17c635(0x38b),'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':_0x17c635(0x2b2),'strokeLinejoin':_0x17c635(0x2b2),'strokeWidth':1.2}}]},{'tag':_0x17c635(0x1f0),'attrs':{},'children':[{'tag':_0x17c635(0x2a8),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x17c635(0x32e),'attrs':{'fill':_0x17c635(0x2c8),'d':'M0\x200H16V16H0z','transform':_0x17c635(0x236)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},Nt=_0x3e3ee3(function(_0x302b09,_0x2ec3b5){const _0x40de27=_0x17c635;return _0x540591(je,Object['assign']({},_0x302b09,{'id':_0x40de27(0x327),'ref':_0x2ec3b5,'icon':Fi}));});Nt['displayName']=_0x17c635(0x303);function Wi(_0x3d33d9){const _0x52e700=_0x17c635;switch(_0x3d33d9){case _0x2affd3['OFFLINE']:return'collabStatus.offline';case _0x2affd3[_0x52e700(0x359)]:return _0x52e700(0x2ba);case _0x2affd3[_0x52e700(0x267)]:return _0x52e700(0x2ee);case _0x2affd3[_0x52e700(0x392)]:return _0x52e700(0x1ed);case _0x2affd3[_0x52e700(0x38f)]:case _0x2affd3[_0x52e700(0x229)]:return'collabStatus.syncing';case _0x2affd3[_0x52e700(0x1e4)]:case _0x2affd3[_0x52e700(0x27c)]:return _0x52e700(0x27f);}}function Vi(_0x70e917){const _0x29143e=_0x17c635,{status$:_0x381b1b}=_0x70e917,_0x295305=_0x1756a6(_0x381b1b,_0x2affd3[_0x29143e(0x392)]),_0x4a377e=_0x1558ad(_0x1123b3),_0x11bfc8=_0x1558ad(_0x4a7bfc),_0x3ffee4=_0x295305!==_0x2affd3[_0x29143e(0x32f)],_0x64e475=_0x4a377e['t'](Wi(_0x295305)),_0x3e2ebe=_0x3ffee4?_0x30f419(Nt,{}):_0x30f419(Dt,{}),_0x188edb=_0x5e76e6(()=>{_0x3ffee4||_0x11bfc8['reconnect']();},[_0x3ffee4,_0x11bfc8]);function _0x10ec13(){const _0x1f4dad=_0x29143e;return _0xf931a5(_0x1f4dad(0x284),{'className':_0x1f4dad(0x2ad),'onClick':_0x188edb,'children':[_0x30f419(_0x1f4dad(0x284),{'className':_0x8ec4b2(_0x1f4dad(0x26a),{'univer-text-green-500':_0x3ffee4,'univer-text-red-500':!_0x3ffee4}),'children':_0x3e2ebe}),_0x30f419(_0x1f4dad(0x284),{'className':_0x1f4dad(0x265),'children':_0x64e475})]});}return _0x3ffee4?_0x10ec13():_0x30f419(_0x1a9e1d,{'title':_0x4a377e['t'](_0x29143e(0x1fd)),'children':_0x10ec13()});}var Xi=Object[_0x17c635(0x23d)],Gi=(_0x4df382,_0x4b5f08,_0x2d1f66,_0x46e36d)=>{const _0xa69da1=_0x17c635;for(var _0x273c3a=_0x46e36d>0x1?void 0x0:_0x46e36d?Xi(_0x4b5f08,_0x2d1f66):_0x4b5f08,_0x2503ea=_0x4df382[_0xa69da1(0x25c)]-0x1,_0x13beb6;_0x2503ea>=0x0;_0x2503ea--)(_0x13beb6=_0x4df382[_0x2503ea])&&(_0x273c3a=_0x13beb6(_0x273c3a)||_0x273c3a);return _0x273c3a;},Q=(_0x5725af,_0x2f42f9)=>(_0x4222c2,_0x474ed7)=>_0x2f42f9(_0x4222c2,_0x474ed7,_0x5725af);let te=class extends _0x629666{constructor(_0x3f463d,_0x567230,_0x5bb513,_0x102a25){const _0x261d28=_0x17c635;super(),_(this,'_status$',new _0x5db965(_0x2affd3[_0x261d28(0x392)])),(this['_univerInstanceService']=_0x3f463d,this[_0x261d28(0x25b)]=_0x567230,this[_0x261d28(0x1cf)]=_0x5bb513,this[_0x261d28(0x373)]=_0x102a25,this[_0x261d28(0x271)](),this[_0x261d28(0x366)]());}[_0x17c635(0x366)](){const _0x2a09a7=_0x17c635;this['disposeWithMe'](this[_0x2a09a7(0x1a2)][_0x2a09a7(0x311)][_0x2a09a7(0x345)](_0x4fcdee(()=>{const _0x3d1f1e=_0x2a09a7,_0x23827f=this['_univerInstanceService'][_0x3d1f1e(0x1a6)]();return _0x23827f?this['_collaborationController']['getCollabEntity$'](_0x23827f[_0x3d1f1e(0x21b)]()):_0x3ac931(null);}),_0x4fcdee(_0x4ad51e=>_0x4ad51e?_0x4ad51e[_0x2a09a7(0x23e)]:_0x3ac931(_0x2affd3[_0x2a09a7(0x392)])))[_0x2a09a7(0x31b)](_0x3283b4=>{this['_status$']['next'](_0x3283b4);}));}[_0x17c635(0x271)](){const _0x399f1f=_0x17c635;this[_0x399f1f(0x322)](this[_0x399f1f(0x373)][_0x399f1f(0x1ec)](_0x56bc18['HEADER_MENU'],()=>_0xcefb2d(Ki({'status$':this['_status$'][_0x399f1f(0x300)]()}),this[_0x399f1f(0x25b)])));}};te=Gi([Q(0x0,_0x26b67a),Q(0x1,_0x2eb397(_0x597056)),Q(0x2,_0x2eb397(_0x5b2169)),Q(0x3,_0x1dd70f)],te);function Ki(_0x1cd1ad){const {status$:_0x3e2711}=_0x1cd1ad;return function(){return _0x30f419(Vi,{'status$':_0x3e2711});};}var zi=Object['getOwnPropertyDescriptor'],Ji=(_0x291b10,_0x21e403,_0x340ab9,_0x13926d)=>{const _0x31cdb1=_0x17c635;for(var _0x24fa35=_0x13926d>0x1?void 0x0:_0x13926d?zi(_0x21e403,_0x340ab9):_0x21e403,_0x265e84=_0x291b10[_0x31cdb1(0x25c)]-0x1,_0x34f207;_0x265e84>=0x0;_0x265e84--)(_0x34f207=_0x291b10[_0x265e84])&&(_0x24fa35=_0x34f207(_0x24fa35)||_0x24fa35);return _0x24fa35;},B=(_0x4a0b18,_0x39e3eb)=>(_0x384c32,_0x29a12a)=>_0x39e3eb(_0x384c32,_0x29a12a,_0x4a0b18);let se=class extends _0x629666{constructor(_0x2f98b3,_0x9750f2,_0x2ac690,_0x538c96,_0x59cc8d,_0x48b597){const _0x302716=_0x17c635;super(),this[_0x302716(0x1dc)]=_0x2f98b3,this['_localCacheService']=_0x9750f2,this[_0x302716(0x2b3)]=_0x2ac690,this[_0x302716(0x261)]=_0x538c96,this[_0x302716(0x365)]=_0x59cc8d,this[_0x302716(0x387)]=_0x48b597,this[_0x302716(0x306)](),this['_initEvent']();}[_0x17c635(0x306)](){const _0x58df74=_0x17c635;this[_0x58df74(0x322)](this[_0x58df74(0x1dc)][_0x58df74(0x215)](()=>{const _0x54382b=_0x58df74;if(this['_localCacheService'][_0x54382b(0x2a1)][_0x54382b(0x325)])return this['_localeService']['t']('collaboration-client.offline-data-not-saved');}));}[_0x17c635(0x37c)](){const _0x19fbcc=_0x17c635;this[_0x19fbcc(0x322)](this[_0x19fbcc(0x2b3)]['event$'][_0x19fbcc(0x31b)](_0x2390e0=>{const _0x2ad9f6=_0x19fbcc;_0x2390e0['id']===_0x23a4aa['OTHER_CLIENT_EDITING']&&this[_0x2ad9f6(0x261)][_0x2ad9f6(0x270)]({'type':_0x19eb65['Warning'],'content':this['_localeService']['t'](_0x2ad9f6(0x2a9))}),_0x2390e0['id']===_0x23a4aa[_0x2ad9f6(0x248)]&&this[_0x2ad9f6(0x261)][_0x2ad9f6(0x270)]({'type':_0x19eb65[_0x2ad9f6(0x2e7)],'content':this[_0x2ad9f6(0x387)]['t'](_0x2ad9f6(0x220))}),_0x2390e0['id']===_0x23a4aa[_0x2ad9f6(0x357)]&&this[_0x2ad9f6(0x365)][_0x2ad9f6(0x270)]({'title':this[_0x2ad9f6(0x387)]['t'](_0x2ad9f6(0x336)),'content':this[_0x2ad9f6(0x387)]['t'](_0x2ad9f6(0x1b4)),'type':_0x2ad9f6(0x1c7),'duration':0x0}),_0x2390e0['id']===_0x23a4aa[_0x2ad9f6(0x359)]&&this[_0x2ad9f6(0x261)][_0x2ad9f6(0x270)]({'type':_0x19eb65['Error'],'content':this['_localeService']['t'](_0x2ad9f6(0x220))+'('+_0x2390e0['data']+')'}),_0x2390e0['id']===_0x23a4aa[_0x2ad9f6(0x26f)]&&this[_0x2ad9f6(0x261)][_0x2ad9f6(0x270)]({'type':_0x19eb65[_0x2ad9f6(0x2e7)],'content':this[_0x2ad9f6(0x387)]['t'](_0x2390e0[_0x2ad9f6(0x2d8)]||'')}),_0x2390e0['id']===_0x23a4aa[_0x2ad9f6(0x297)]&&this[_0x2ad9f6(0x261)][_0x2ad9f6(0x270)]({'type':_0x19eb65['Warning'],'content':this[_0x2ad9f6(0x387)]['t'](_0x2ad9f6(0x35b))}),_0x2390e0['id']===_0x23a4aa[_0x2ad9f6(0x332)]&&this['_messageService'][_0x2ad9f6(0x270)]({'type':_0x19eb65[_0x2ad9f6(0x202)],'content':this['_localeService']['t'](_0x2ad9f6(0x34e))}),_0x2390e0['id']===_0x23a4aa[_0x2ad9f6(0x368)]&&this[_0x2ad9f6(0x261)][_0x2ad9f6(0x270)]({'type':_0x19eb65[_0x2ad9f6(0x202)],'content':this[_0x2ad9f6(0x387)]['t'](_0x2ad9f6(0x31d))});}));}};se=Ji([B(0x0,_0x4195b2),B(0x1,_0x12eac7),B(0x2,_0x2eb397(_0x217d1b)),B(0x3,_0x2d0054),B(0x4,_0xec008e),B(0x5,_0x2eb397(_0x1123b3))],se);function _0xf6ea(){const _0x8161db=['getCurrentUnitForType','whenReady','range','_scheduleHeartbeat','collaboration.closeRoom','ENSURE_SNAPSHOT_EXECUTION','_entities','_urlService','prototype','disposeUnit','UNIVER_SHEET','_collabSessionService','fill','AWAITING_WITH_PENDING','transform','pushState','_scheduleClearOtherTimer','isActive','onMouseMove','_colorAssignService','_updateSubUnitFromURLParams','_localStorageService','_scene','_commandService','transformStateCache','setParam','translate(.97)','endColumn','includes','from','getConfig','top','_cursorShapes','getOwnPropertyDescriptor','status$','type','UPDATE_CURSOR','subunit','debug','MUTATION','icon','TOO_MANY_REQUESTS','_docTransformStateCacheService','runOnServer','CLOSE_ROOM','NOT_FOUND','save','transformMutationsWithChangeset','_backgroundColor','executeCommand','MoveRangeCommandId','push','_handleEvent','_shapes','[CollaborationDataLoaderController]','application/json','getMemberID','314872UGiByC','getUnitStatus$','executionId','colorChannel1','split','mask','_injector','length','_instanceService','add','random','getUndoRedoMutationParamsCache','_messageService','_onRefRangeChange','mutations','UNDEFINED','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','url(#off-line-icon_clip0_910_343)','FETCH_MISS','_hideTimer','roomMembers$','univer-flex\x20univer-mr-2\x20univer-text-xl','setItem','searchParams','exhaustSavingTask','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','JOIN_ROOM_FAILED','show','_initStatusComponent','INVALID_ARGUMENT','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','saveImage','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','init','_collabCursorController','_range','_send','_anchor','event$','PENDING','_cursorInfo$','sessionTicket','collabStatus.synced','_getAnchorBounding','YUUMI_RATE_OVER_LIMIT','purple.300','contains','div','getMember','generateRandomId','sheetId','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','33qYThEJ','_sheetSkeletonManagerService','_handleLeaveEvent','concat','1151544AfqVzq','onLocalMutation','_updateLocalCursor','onPointerEnter$','collaboration-client-ui.config','invokeId','LICENSE_EXPORT_SIZE_EXCEEDED','_session','removeParam','_doCreateSocket','SOCKET_FAILED_RETRY','UNAUTHENTICATED','dispose','addObjects','APPLY_PERMISSION_DENIED','idSuffix','setInterval','20ddUTqf','USERS_LEAVE','defIds','saveTaskMap','RECT','_logService','triggerDblclick','black','addEventListener','_drawAnchor','clipPath','collaboration.single-unit.warning','_docSyncEditingCollabCursorService','evenodd','_clearOtherTimers','univer-flex\x20univer-items-center','ranges','jiqing.500','_updateURLWithCurrentState','createSocket','round','_collaborationUIEventService','findNodePositionByCharIndex','setShapeProps','closePath','getValue','eventID','collab-text-anchor-','collabStatus.conflict','UniverIcon','column','name','146zxKQlg','backgroundColor','_createSocketURL','_collabCursorState$','_refRangeService','_initEntityListener','transformSelections','unshift','redoState','APPLY_DUPLICATED','white','some','sheetID','_cursor','_disabled','beginPath','_httpService','getCurrentRevOfUnit','svg','drawWith','fillText','yellow.400','YUUMI_AI_RUN_FAILED','_removeCollabCursors','editingUnit','_syncEditingCollabCursorService','data','0\x200\x2016\x2016','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','body','flatMap','tag','_docTransformSelectionsService','/run/','INVITE_CODE_REQUIRED','_handleHover','univerjs-icon\x20univerjs-icon-','complete','getSheetId','key','assign','Warning','then','_context','_updateCollabCursors','actions','loadOfflineData','_memberService','collabStatus.fetchMiss','undoState','startColumn','_initResize','values','LICENSE_IMPORT_SIZE_EXCEEDED','delete','cursorInfo','history','1em','_onCursorUpdate','getSheetBySheetId','wsSessionTicketUrl','href','_saveTaskMap','fillRule','_online','newValue','asObservable','post','_revisionService','OnLineIcon','unit','addHandlerCallback','_setupBeforeClosingHandler','unload','addObject','_color','INVALID_INVITE_CODE','disableLocalCache','urlChange$','Failed','CONNECTOR_DATA_TOO_LARGE','YUUMI_SUBSCRIPTION_NOT_FOUND','unitID','focused$','entries','RemoveRowCommandId','_dataLoaderService','hovered','createInstance','1247016kJlVkG','get','ALREADY_EXISTS','_toggleOnline','subscribe','_renderManagerService','session.collaboration-timeout','setStateCache','color','getCurrentSelections','children','disposeWithMe','WECHAT_HAS_BEEN_BOUND','_getScale','size','_docStateChangeManagerService','on-line-icon','_anchorDot','has','next','off-line-icon','transformByState','registerRefRange','path','OFFLINE','setConfig','_getSessionTicket','SOCKET_FAILED','TEXT','doc.mutation.rich-text-editing','#FFF','permission.title','send','_setupSubUnitSync','_unitOnClients','with','setActiveRange','map','_name','_initCommandExecutedListener','_labelPosition','isArray','InsertRowCommandId','code','subUnitId','getUniverSheetInstance','pipe','collab-rect-range-','_saveCache','currentTheme$','off-line-icon_clip0_910_343','FromArray','_unitStatus','_lastPointer','transformRemoteChangeset','session.connection-failed','getActiveSheet','currentSkeleton$','RemoveColCommandId','getCurrent','_draw','imageSourceType','use','YUUMI_URL_COL_OUT_OF_RANGE','PERMISSION_DENIED','INVITE_CODE_HAS_BEEN_UES','CONFLICT','subscribeEvent','session.will-retry','_transformPreviousActiveRange','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_refreshCollabCursors','selections','_document','startRow','_removeClearOtherTimer','_transformService','SNAPSHOT_HAS_BEEN_REMOVED','_notificationService','_initStatusListener','_eventUnsubscribe','SUBMIT_CHANGESET_TIMEOUT','_transformUndoRedoStack','unsubscribe','_toggleOffline','transformMutation','skeleton','ONLINE','min','_docClipboardService','selection','call','_uiPartsService','NO_OTHER_CLIENTS_EDITING','red.300','_docTransformIMECacheService','row','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_assignedColors','width','registerRenderModule','_initEvent','12175QuJaqd','labelPosition','getRelativeToViewportCoord','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','result','endRow','_getSheetObject','_init','_textBubble','dispose$','_localeService','source','trim','blue.400','currentColor','_ensureSubject','getColorFromTheme','APPLY_NON_SEQUENTIAL_REVISION','AWAITING','_registerDependencies','m2Prime','NOT_COLLAB','_getSaveTimeout','pluginName','stringify','YUUMI_NO_CUBOID_FOR_QUESTION','getRangePointData','_colorIndex','_roomMembers$','params','LICENSE_MAX_UNITS_EXCEEDED','arc','max','hasOwnProperty','UNIVER_DOC','font','string','CHANGESET_REVISION_CONFILICT','getCollabCursors$','SNAPSHOT_INVALID_SNAPSHOT','5941170rZvmQg','USER_NOT_INVITED_CODE','requireSession','location','_univerInstanceService','...','YUUMI_UNABLE_LOAD_URL','LICENSE_DISTRO_REJECTED','getFocusedUnit','_heartbeatTimer','getStateCache','_drawTextRange','docStateChange$','setAlpha','memberID','className','xlink:href','_configService','engine','assignAColorForMemberID','getRenderById','APPLY_REVISION_CONFILICT','permission.content','enableLocalCache','replaceDocRanges','clearInterval','_handleHeartbeatEvent','lineTo','_handleJoinEvent','collabCursorState$','popstate','indexOf','deepClone','_docSkeletonManagerService','onPointerLeave$','text','set','getOwnPropertySymbols','_transformHistoryAndStateStack','_startDocCollabCursor','restore','error','getParam','getViewport','YUUMI_ASYNCIO_CANCELLED','replace','_status$','roomMembers','toRgbString','_collaborationController','_drawRectRange','getSkeleton','forEach','onCommandExecuted','attrs','2382513lgtGMG','InsertColCommandId','propertyIsEnumerable','resize','_registerRenderDependencies','36bchJPz','hide','_beforeCloseService','_id','getTypeOfUnitAdded$','activeSheet$','getDocRanges','moveTo','getTypeOfUnitDisposed$','OTHER_CLIENTS_EDITING','SYNCED','INVITE_CODE_ALREADY_BOUND','_render','textRanges','_themeService','onPointerMove$','m1Prime','defineProperty','registerComponent','collabStatus.notCollab','displayName','unitId','defs','current','_cursors','makeDirty','measureText','_startSheetCollabCursor','_hovered','0\x200\x2017\x2016','_selfUnitIDs','InsertRangeMoveDownCommandId','INTERNAL_ERROR','transformIMECache','onRendered','collab-client.tooltip.reconnect','green.600','replaceState','_docSkeleton','symbol','Error','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_hover','http://www.w3.org/2000/svg','sessionStatus$','toString','YUUMI_ALL_TABLES_IS_INVALID','_cachedData','Unknown\x20user','runId','height','PY_RUNTIME_SCRIPT_ERROR','bottom','_getMergeRange','extend','3389736TfjIXQ','InsertRangeMoveRightCommandId','_entityInit$','_onCursorDelete','registerBeforeClose','url(#$1','isEditing','cursorInfo$','UNRECOGNIZED','getItem','getUnitId'];_0xf6ea=function(){return _0x8161db;};return _0xf6ea();}const Zi=_0x17c635(0x291),et={},Ut=_0x284797('uni.network.url-service');var Qi=Object[_0x17c635(0x23d)],qi=(_0x5bf793,_0x2b5818,_0x51cb2b,_0x5bbcce)=>{const _0x372479=_0x17c635;for(var _0x25be08=_0x5bbcce>0x1?void 0x0:_0x5bbcce?Qi(_0x2b5818,_0x51cb2b):_0x2b5818,_0x345aac=_0x5bf793[_0x372479(0x25c)]-0x1,_0x2de342;_0x345aac>=0x0;_0x345aac--)(_0x2de342=_0x5bf793[_0x345aac])&&(_0x25be08=_0x2de342(_0x25be08)||_0x25be08);return _0x25be08;},G=(_0x239163,_0x51daef)=>(_0x543428,_0xcdee7a)=>_0x51daef(_0x543428,_0xcdee7a,_0x239163);let ie=class extends _0x5c44e6{constructor(_0x1a8f96,_0x3f9c31,_0x59663b,_0x39aa35,_0x30444a){const _0x5e02c7=_0x17c635;super(),this[_0x5e02c7(0x223)]=_0x1a8f96,this['_logService']=_0x3f9c31,this[_0x5e02c7(0x233)]=_0x59663b,this[_0x5e02c7(0x314)]=_0x39aa35,_0x30444a?_0x30444a==null||_0x30444a[_0x5e02c7(0x21d)]()[_0x5e02c7(0x2e8)](()=>this['_init']()):(this['_logService'][_0x5e02c7(0x242)](_0x5e02c7(0x252),_0x5e02c7(0x26e)),this[_0x5e02c7(0x384)]());}async[_0x17c635(0x384)](){const _0xbc4304=_0x17c635,_0x1bf939=this[_0xbc4304(0x223)][_0xbc4304(0x1c8)](_0xbc4304(0x304)),_0x2a87a4=this[_0xbc4304(0x223)][_0xbc4304(0x1c8)](_0xbc4304(0x23f)),_0x10645e=this[_0xbc4304(0x223)][_0xbc4304(0x1c8)]('subunit');if(!_0x1bf939||!_0x2a87a4){this[_0xbc4304(0x2a3)][_0xbc4304(0x242)](_0xbc4304(0x252),_0xbc4304(0x273));return;}const _0x33cdaa=await this['_dataLoaderService']['loadUnit'](_0x1bf939,Number(_0x2a87a4),_0x10645e);_0x33cdaa&&_0x33cdaa instanceof _0x9a8bc3&&this[_0xbc4304(0x338)](_0x33cdaa);}async[_0x17c635(0x338)](_0x22da6c){const _0x525b28=_0x17c635;await this[_0x525b28(0x230)](_0x22da6c),_0x22da6c[_0x525b28(0x1df)][_0x525b28(0x345)](_0x4fc11c(this[_0x525b28(0x386)]))['subscribe'](_0x5dafce=>{const _0x37bd3b=_0x525b28;_0x5dafce&&this[_0x37bd3b(0x2b0)](_0x5dafce);}),this[_0x525b28(0x223)][_0x525b28(0x30c)][_0x525b28(0x345)](_0x4fc11c(this[_0x525b28(0x386)]))[_0x525b28(0x31b)](()=>this[_0x525b28(0x230)](_0x22da6c));}[_0x17c635(0x2b0)](_0x14d5bd,_0x7fdb81=!0x1){const _0x508920=_0x17c635,_0x58f31e=this[_0x508920(0x223)][_0x508920(0x1c8)]('subunit');_0x14d5bd[_0x508920(0x2e4)]()!==_0x58f31e&&this['_urlService'][_0x508920(0x235)](_0x508920(0x241),_0x14d5bd['getSheetId'](),_0x7fdb81);}async[_0x17c635(0x230)](_0x1be852){const _0x18e368=_0x17c635;var _0x3e0cd0;const _0x186ede=this[_0x18e368(0x223)][_0x18e368(0x1c8)](_0x18e368(0x241));if(!_0x186ede||!_0x1be852[_0x18e368(0x2f9)](_0x186ede)){const _0x2fd6a3=_0x1be852['getUnhiddenWorksheets']()[0x0],_0x3ffd05=_0x1be852[_0x18e368(0x2f9)](_0x2fd6a3);if(!_0x3ffd05)return;this[_0x18e368(0x2b0)](_0x3ffd05,!0x0),await this[_0x18e368(0x233)][_0x18e368(0x24d)](_0x237271['id'],{'unitId':_0x1be852[_0x18e368(0x21b)](),'subUnitId':_0x2fd6a3});return;}((_0x3e0cd0=_0x1be852[_0x18e368(0x34f)]())==null?void 0x0:_0x3e0cd0[_0x18e368(0x2e4)]())!==_0x186ede&&await this['_commandService'][_0x18e368(0x24d)](_0x237271['id'],{'unitId':_0x1be852[_0x18e368(0x21b)](),'subUnitId':_0x186ede});}};ie=qi([G(0x0,Ut),G(0x1,_0xaeedb1),G(0x2,_0x35ee2f),G(0x3,_0x2eb397(_0x18d58b)),G(0x4,_0x481c91(_0x5210e0))],ie);var en=Object['getOwnPropertyDescriptor'],tn=(_0x1f8db8,_0x27754f,_0x1fe9e4,_0x68d857)=>{const _0x326f07=_0x17c635;for(var _0x21718e=_0x68d857>0x1?void 0x0:_0x68d857?en(_0x27754f,_0x1fe9e4):_0x27754f,_0x483ea6=_0x1f8db8[_0x326f07(0x25c)]-0x1,_0x14e467;_0x483ea6>=0x0;_0x483ea6--)(_0x14e467=_0x1f8db8[_0x483ea6])&&(_0x21718e=_0x14e467(_0x21718e)||_0x21718e);return _0x21718e;},pe=(_0x3aedcc,_0x1d1cf5)=>(_0x256a72,_0x51352c)=>_0x1d1cf5(_0x256a72,_0x51352c,_0x3aedcc);let ne=class{constructor(_0x1561e3,_0x2bf332,_0x4145cd){const _0x513458=_0x17c635;this[_0x513458(0x25b)]=_0x1561e3,this[_0x513458(0x363)]=_0x2bf332,this[_0x513458(0x31c)]=_0x4145cd;}[_0x17c635(0x1fb)](_0x2182bb){const _0x33d90b=_0x17c635;this[_0x33d90b(0x369)](_0x2182bb),this[_0x33d90b(0x35c)](_0x2182bb);}[_0x17c635(0x34d)](_0x16c44d){const _0x420ea6=_0x17c635,{unitID:_0x4f381a}=_0x16c44d,_0x2f93d4=this[_0x420ea6(0x31c)]['getRenderById'](_0x4f381a)[_0x420ea6(0x33a)](_0x7411a1),{redoCache:_0x211995}=_0x2f93d4[_0x420ea6(0x260)]();if(_0x211995['length']===0x0)return _0x16c44d;let _0x53b12f=_0x450a88[_0x420ea6(0x1be)](_0x16c44d[_0x420ea6(0x263)][0x0]);for(let _0x23dc9a=0x0;_0x23dc9a<_0x211995[_0x420ea6(0x25c)];_0x23dc9a++){const _0x43d298={'id':_0x420ea6(0x334),'params':{..._0x211995[_0x23dc9a]}},_0x4e42b1=this[_0x420ea6(0x363)][_0x420ea6(0x36c)](_0x53b12f,_0x43d298,!0x1);if(_0x280807(_0x4e42b1))throw _0x4e42b1[_0x420ea6(0x1c7)];_0x53b12f=_0x4e42b1[_0x420ea6(0x1ea)];}return{..._0x450a88['deepClone'](_0x16c44d),'mutations':[_0x53b12f]};}[_0x17c635(0x369)](_0x41b290){const _0x3256d8=_0x17c635,{unitID:_0x2dc119}=_0x41b290,_0x121eb4=this[_0x3256d8(0x31c)][_0x3256d8(0x1b2)](_0x2dc119)[_0x3256d8(0x33a)](_0x7411a1),{undoCache:_0x55e511,redoCache:_0x5c6f5a}=_0x121eb4[_0x3256d8(0x260)]();if(_0x55e511[_0x3256d8(0x25c)]===0x0||_0x5c6f5a[_0x3256d8(0x25c)]===0x0)return;const _0x4b1b36=[],_0xf48ba3=[];let _0x1252f2=_0x450a88['deepClone'](_0x41b290[_0x3256d8(0x263)][0x0]),_0x299404=_0x450a88['deepClone'](_0x41b290['mutations'][0x0]);for(let _0x55be20=_0x55e511['length']-0x1;_0x55be20>=0x0;_0x55be20--){const _0x16511c={'id':'doc.mutation.rich-text-editing','params':{..._0x55e511[_0x55be20]}},_0x494c24={'id':_0x3256d8(0x334),'params':{..._0x5c6f5a[_0x55be20]}},_0x4f9c44=this[_0x3256d8(0x363)][_0x3256d8(0x36c)](_0x1252f2,_0x16511c,!0x1),_0x4cd043=this[_0x3256d8(0x363)][_0x3256d8(0x36c)](_0x299404,_0x494c24,!0x1);if(_0x280807(_0x4f9c44))throw _0x4f9c44[_0x3256d8(0x1c7)];if(_0x280807(_0x4cd043))throw _0x4cd043[_0x3256d8(0x1c7)];_0x4b1b36[_0x3256d8(0x2c5)](_0x4f9c44[_0x3256d8(0x391)]['params']),_0xf48ba3[_0x3256d8(0x2c5)](_0x4cd043['m2Prime'][_0x3256d8(0x39a)]),_0x1252f2=_0x4f9c44[_0x3256d8(0x1ea)],_0x299404=_0x4cd043['m1Prime'];}_0x121eb4['setUndoRedoMutationParamsCache']({'undoCache':_0x4b1b36,'redoCache':_0xf48ba3});}[_0x17c635(0x35c)](_0x727ce9){const _0x3b3f2e=_0x17c635,{unitID:_0x140d30}=_0x727ce9,_0x4fa744=this['_renderManagerService']['getRenderById'](_0x140d30)['with'](_0x7411a1),_0x135723=_0x4fa744['getActiveRange']();if(_0x135723==null)return;const _0x3f2ec2=[{'id':_0x3b3f2e(0x334),'params':{'unitId':_0x727ce9[_0x3b3f2e(0x310)],'actions':null,'textRanges':[_0x135723]}}],_0x269af4=this[_0x3b3f2e(0x363)][_0x3b3f2e(0x24b)](_0x727ce9,_0x3f2ec2);if(!_0x4cde3c(_0x269af4))throw _0x269af4[_0x3b3f2e(0x1c7)];const _0x4da787=_0x269af4['m2Prime'][0x0]['params']['textRanges'];Array[_0x3b3f2e(0x340)](_0x4da787)&&_0x4da787[_0x3b3f2e(0x25c)]&&_0x4fa744[_0x3b3f2e(0x33b)](_0x4da787[0x0]);}};ne=tn([pe(0x0,_0x2eb397(_0x597056)),pe(0x1,_0x51dc78),pe(0x2,_0x5c59f7)],ne);var sn=Object[_0x17c635(0x23d)],nn=(_0x4e6cff,_0x7d51a2,_0x38438a,_0x39809a)=>{const _0x40c5f9=_0x17c635;for(var _0x514929=_0x39809a>0x1?void 0x0:_0x39809a?sn(_0x7d51a2,_0x38438a):_0x7d51a2,_0x4acaeb=_0x4e6cff[_0x40c5f9(0x25c)]-0x1,_0x431e85;_0x4acaeb>=0x0;_0x4acaeb--)(_0x431e85=_0x4e6cff[_0x4acaeb])&&(_0x514929=_0x431e85(_0x514929)||_0x514929);return _0x514929;},Ce=(_0x2c862f,_0x2d8bff)=>(_0x5bfc06,_0xb17fb2)=>_0x2d8bff(_0x5bfc06,_0xb17fb2,_0x2c862f);let re=class{constructor(_0x436caa,_0x52a5db,_0x35683f){const _0x3ec0ae=_0x17c635;this[_0x3ec0ae(0x25b)]=_0x436caa,this[_0x3ec0ae(0x363)]=_0x52a5db,this[_0x3ec0ae(0x326)]=_0x35683f;}[_0x17c635(0x234)](_0x154f44){const _0x4ea049=_0x17c635;this[_0x4ea049(0x1c4)](_0x154f44);}[_0x17c635(0x34d)](_0x4e6472){const _0x4821b5=_0x17c635,{unitID:_0x4c4440}=_0x4e6472,{collaboration:_0x24846a}=this[_0x4821b5(0x326)][_0x4821b5(0x1a8)](_0x4c4440);if(_0x24846a[_0x4821b5(0x25c)]===0x0)return _0x4e6472;let _0x34c72f=_0x450a88[_0x4821b5(0x1be)](_0x4e6472[_0x4821b5(0x263)][0x0]);for(let _0x5d0689=0x0;_0x5d0689<_0x24846a[_0x4821b5(0x25c)];_0x5d0689++){const _0x277340={'id':_0x4821b5(0x334),'params':{'unitId':_0x24846a[_0x5d0689][_0x4821b5(0x1ef)],..._0x24846a[_0x5d0689]['redoState']}},_0x1ae7bc=this[_0x4821b5(0x363)][_0x4821b5(0x36c)](_0x34c72f,_0x277340,!0x1);if(_0x280807(_0x1ae7bc))throw _0x1ae7bc['error'];_0x34c72f=_0x1ae7bc[_0x4821b5(0x1ea)];}return{..._0x450a88['deepClone'](_0x4e6472),'mutations':[_0x34c72f]};}['_transformHistoryAndStateStack'](_0xb7c685){const _0x54b9f9=_0x17c635,{unitID:_0x5e2950}=_0xb7c685,{history:_0x4d1399,collaboration:_0x1c6cb8}=this['_docStateChangeManagerService'][_0x54b9f9(0x1a8)](_0x5e2950);if(_0x4d1399[_0x54b9f9(0x25c)]===0x0&&_0x1c6cb8[_0x54b9f9(0x25c)]===0x0)return;const _0x350ebd=[],_0x2080fd=[];let _0x226d2d=_0x450a88[_0x54b9f9(0x1be)](_0xb7c685[_0x54b9f9(0x263)][0x0]),_0x445c48=_0x450a88[_0x54b9f9(0x1be)](_0xb7c685[_0x54b9f9(0x263)][0x0]);for(let _0x3a4675=_0x4d1399[_0x54b9f9(0x25c)]-0x1;_0x3a4675>=0x0;_0x3a4675--){const _0x4d3e53={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4d1399[_0x3a4675][_0x54b9f9(0x1ef)],..._0x4d1399[_0x3a4675]['undoState']}},_0x151854={'id':_0x54b9f9(0x334),'params':{'unitId':_0x4d1399[_0x3a4675]['unitId'],..._0x4d1399[_0x3a4675][_0x54b9f9(0x2c6)]}},_0x5a937f=this['_transformService']['transformMutation'](_0x226d2d,_0x4d3e53,!0x1),_0x4d588a=this[_0x54b9f9(0x363)][_0x54b9f9(0x36c)](_0x445c48,_0x151854,!0x1);if(_0x280807(_0x5a937f))throw _0x5a937f['error'];if(_0x280807(_0x4d588a))throw _0x4d588a[_0x54b9f9(0x1c7)];_0x350ebd['unshift']({..._0x4d1399[_0x3a4675],'undoState':_0x5a937f['m2Prime'][_0x54b9f9(0x39a)],'redoState':_0x4d588a[_0x54b9f9(0x391)]['params']}),_0x226d2d=_0x5a937f[_0x54b9f9(0x1ea)],_0x445c48=_0x4d588a[_0x54b9f9(0x1ea)];}_0x226d2d=_0x450a88[_0x54b9f9(0x1be)](_0xb7c685[_0x54b9f9(0x263)][0x0]),_0x445c48=_0x450a88[_0x54b9f9(0x1be)](_0xb7c685[_0x54b9f9(0x263)][0x0]);for(let _0x2d1472=_0x1c6cb8[_0x54b9f9(0x25c)]-0x1;_0x2d1472>=0x0;_0x2d1472--){const _0x4783c3={'id':_0x54b9f9(0x334),'params':{'unitId':_0x1c6cb8[_0x2d1472][_0x54b9f9(0x1ef)],..._0x1c6cb8[_0x2d1472][_0x54b9f9(0x2ef)]}},_0x3b7cbd={'id':_0x54b9f9(0x334),'params':{'unitId':_0x1c6cb8[_0x2d1472][_0x54b9f9(0x1ef)],..._0x1c6cb8[_0x2d1472][_0x54b9f9(0x2c6)]}},_0x5c1321=this[_0x54b9f9(0x363)]['transformMutation'](_0x226d2d,_0x4783c3,!0x1),_0x17aed7=this[_0x54b9f9(0x363)][_0x54b9f9(0x36c)](_0x445c48,_0x3b7cbd,!0x1);if(_0x280807(_0x5c1321))throw _0x5c1321[_0x54b9f9(0x1c7)];if(_0x280807(_0x17aed7))throw _0x17aed7[_0x54b9f9(0x1c7)];_0x2080fd[_0x54b9f9(0x2c5)]({..._0x1c6cb8[_0x2d1472],'undoState':_0x5c1321[_0x54b9f9(0x391)][_0x54b9f9(0x39a)],'redoState':_0x17aed7[_0x54b9f9(0x391)][_0x54b9f9(0x39a)]}),_0x226d2d=_0x5c1321[_0x54b9f9(0x1ea)],_0x445c48=_0x17aed7[_0x54b9f9(0x1ea)];}this[_0x54b9f9(0x326)][_0x54b9f9(0x31e)](_0x5e2950,{'history':_0x350ebd,'collaboration':_0x2080fd});}};re=nn([Ce(0x0,_0x2eb397(_0x597056)),Ce(0x1,_0x51dc78),Ce(0x2,_0x2eb397(_0x5dcdf5))],re);var rn=Object[_0x17c635(0x23d)],on=(_0x241391,_0x3f643c,_0x50e1f1,_0x378b53)=>{const _0x2aa8ca=_0x17c635;for(var _0x2c49f9=_0x378b53>0x1?void 0x0:_0x378b53?rn(_0x3f643c,_0x50e1f1):_0x3f643c,_0x667623=_0x241391[_0x2aa8ca(0x25c)]-0x1,_0xe99ac2;_0x667623>=0x0;_0x667623--)(_0xe99ac2=_0x241391[_0x667623])&&(_0x2c49f9=_0xe99ac2(_0x2c49f9)||_0x2c49f9);return _0x2c49f9;},tt=(_0x2863a9,_0x4a59aa)=>(_0x3afed5,_0x5d6f11)=>_0x4a59aa(_0x3afed5,_0x5d6f11,_0x2863a9);let oe=class{constructor(_0x404d0b,_0x37cc53){const _0x161346=_0x17c635;this[_0x161346(0x25b)]=_0x404d0b,this[_0x161346(0x363)]=_0x37cc53;}[_0x17c635(0x2c4)](_0x23b1e2){const _0x59972f=_0x17c635;var _0x5c7f63;const _0x3a33f3=this['_injector'][_0x59972f(0x318)](_0x16c6fd),_0x1b7ea0=(_0x5c7f63=_0x3a33f3[_0x59972f(0x1e0)]())!=null?_0x5c7f63:[];if(_0x1b7ea0[_0x59972f(0x25c)]===0x0)return;const _0x2cad62=_0x23b1e2[_0x59972f(0x310)],_0xb0040b=[{'id':_0x59972f(0x334),'params':{'unitId':_0x2cad62,'actions':null,'textRanges':_0x1b7ea0}}],_0x48463c=this['_transformService'][_0x59972f(0x24b)](_0x23b1e2,_0xb0040b);if(!_0x4cde3c(_0x48463c))throw _0x48463c[_0x59972f(0x1c7)];const _0x8c48d=_0x48463c[_0x59972f(0x391)][0x0][_0x59972f(0x39a)][_0x59972f(0x1e7)];Array[_0x59972f(0x340)](_0x8c48d)&&_0x8c48d[_0x59972f(0x25c)]&&_0x3a33f3[_0x59972f(0x1b6)](_0x8c48d,{'unitId':_0x2cad62,'subUnitId':_0x2cad62},!0x1);}};oe=on([tt(0x0,_0x2eb397(_0x597056)),tt(0x1,_0x51dc78)],oe);var an=Object[_0x17c635(0x23d)],cn=(_0x220897,_0x4e28dc,_0x55d1c5,_0x5f04c6)=>{const _0x2a84d4=_0x17c635;for(var _0x5a80b8=_0x5f04c6>0x1?void 0x0:_0x5f04c6?an(_0x4e28dc,_0x55d1c5):_0x4e28dc,_0x2f18f8=_0x220897[_0x2a84d4(0x25c)]-0x1,_0x3ab213;_0x2f18f8>=0x0;_0x2f18f8--)(_0x3ab213=_0x220897[_0x2f18f8])&&(_0x5a80b8=_0x3ab213(_0x5a80b8)||_0x5a80b8);return _0x5a80b8;},U=(_0x2dfdfb,_0x4dd51e)=>(_0x4a5d0a,_0x1749da)=>_0x4dd51e(_0x4a5d0a,_0x1749da,_0x2dfdfb);let ae=class extends _0x629666{constructor(_0x349e7e,_0x1f6343,_0x207fd2,_0x16b499,_0x964456,_0x278711,_0x40df94,_0x5e68ef){const _0x82523a=_0x17c635;super(),_(this,_0x82523a(0x1cc),new _0x5db965(_0x2affd3[_0x82523a(0x392)])),(this[_0x82523a(0x326)]=_0x349e7e,this[_0x82523a(0x1cf)]=_0x1f6343,this[_0x82523a(0x376)]=_0x207fd2,this[_0x82523a(0x246)]=_0x16b499,this[_0x82523a(0x2de)]=_0x964456,this[_0x82523a(0x2aa)]=_0x278711,this['_messageService']=_0x40df94,this[_0x82523a(0x387)]=_0x5e68ef,this[_0x82523a(0x2c3)]());}[_0x17c635(0x2c3)](){const _0x696e99=_0x17c635;this[_0x696e99(0x322)](this[_0x696e99(0x1cf)]['entityInit$'][_0x696e99(0x31b)](_0x178d39=>{const _0x44f008=_0x696e99,_0x449b46=this[_0x44f008(0x326)][_0x44f008(0x1aa)][_0x44f008(0x31b)](_0x19fdf6=>{const _0x477992=_0x44f008;if(_0x19fdf6==null)return;const {unitId:_0x22873b,redoState:_0x43c873,commandId:_0x4322bf}=_0x19fdf6;if(_0x22873b!==_0x178d39[_0x477992(0x310)])return;const _0x5f25cd={'id':_0x4322bf,'type':_0x19fa75[_0x477992(0x243)],'params':{'unitId':_0x22873b,'actions':_0x43c873[_0x477992(0x2eb)],'textRanges':null}};_0x178d39[_0x477992(0x28e)](_0x5f25cd);});if(_0x178d39[_0x44f008(0x322)](_0x449b46),_0x178d39 instanceof _0x42cc67){const _0x4654ff={'onTransformIME':_0x5bfc0b=>this[_0x44f008(0x376)]['transformIMECache'](_0x5bfc0b),'onTransformState':_0x1718ce=>this['_docTransformStateCacheService'][_0x44f008(0x234)](_0x1718ce),'onTransformSelections':_0x1c3f37=>this[_0x44f008(0x2de)][_0x44f008(0x2c4)](_0x1c3f37),'onSyncEditingCollabCursor':_0x39a089=>this[_0x44f008(0x2aa)]['syncEditingCollabCursor'](_0x39a089),'onTransformRemoteChangesetByIMECache':_0x2d743a=>this[_0x44f008(0x376)]['transformRemoteChangeset'](_0x2d743a),'onTransformRemoteChangesetByStateCache':_0x2707ce=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x2707ce)};_0x178d39[_0x44f008(0x305)](_0x4654ff);}}));}};ae=cn([U(0x0,_0x2eb397(_0x5dcdf5)),U(0x1,_0x2eb397(_0x5b2169)),U(0x2,_0x2eb397(ne)),U(0x3,_0x2eb397(re)),U(0x4,_0x2eb397(oe)),U(0x5,_0x2eb397(He)),U(0x6,_0x2d0054),U(0x7,_0x2eb397(_0x1123b3))],ae);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x1a7b8f,_0x22cfc7,_0x2bfb7a,_0xa08638)=>{const _0x32eddb=_0x17c635;for(var _0x5607b9=_0xa08638>0x1?void 0x0:_0xa08638?ln(_0x22cfc7,_0x2bfb7a):_0x22cfc7,_0x2fbe6b=_0x1a7b8f[_0x32eddb(0x25c)]-0x1,_0x22a39c;_0x2fbe6b>=0x0;_0x2fbe6b--)(_0x22a39c=_0x1a7b8f[_0x2fbe6b])&&(_0x5607b9=_0x22a39c(_0x5607b9)||_0x5607b9);return _0x5607b9;},Ee=(_0x50a5a7,_0x50cd76)=>(_0x1b4001,_0x1ea274)=>_0x50cd76(_0x1b4001,_0x1ea274,_0x50a5a7);let Le=class extends _0x629666{constructor(_0xb451b9,_0x28b047,_0x53e1f4){const _0x518bec=_0x17c635;super(),_(this,_0x518bec(0x209),new Map()),_(this,_0x518bec(0x2fc),new Map()),_(this,'_disabled',!0x1),(this['_configService']=_0xb451b9,this['_localStorageService']=_0x28b047,this[_0x518bec(0x302)]=_0x53e1f4);}[_0x17c635(0x30b)](){const _0x45903b=_0x17c635;this[_0x45903b(0x2cc)]=!0x0;}[_0x17c635(0x1b5)](){this['_disabled']=!0x1;}get[_0x17c635(0x2a1)](){const _0x12c31a=_0x17c635;return this[_0x12c31a(0x2fc)];}[_0x17c635(0x299)](){const _0x5505ca=_0x17c635;this[_0x5505ca(0x26d)]()[_0x5505ca(0x2e8)](()=>super[_0x5505ca(0x299)]());}async[_0x17c635(0x2ec)](_0x46e755){const _0xf675ef=_0x17c635;return this[_0xf675ef(0x2cc)]?null:this[_0xf675ef(0x231)][_0xf675ef(0x21a)](_0x156a39(_0x46e755));}async['saveOfflineData'](_0x4ee614,_0x333454){const _0x554e2b=_0x17c635;return!!this[_0x554e2b(0x231)]['setItem'](_0x4ee614,_0x333454);}['updateOfflineData'](_0x41f107,_0x46fc21,_0x43b35d,_0x283cee){const _0x5876f6=_0x17c635,_0x34cbbd=this[_0x5876f6(0x302)][_0x5876f6(0x2cf)](_0x41f107);this[_0x5876f6(0x209)][_0x5876f6(0x1c2)](_0x41f107,{'unitID':_0x41f107,'type':_0x46fc21,'awaitingChangeset':_0x43b35d,'mutations':_0x283cee,'rev':_0x34cbbd}),this[_0x5876f6(0x2fc)][_0x5876f6(0x329)](_0x41f107)||this['_scheduleSaving'](_0x41f107);}['_scheduleSaving'](_0x408133){const _0x997a6a=_0x17c635,_0x5dee0b=this[_0x997a6a(0x393)]();_0x5dee0b===0x0?this[_0x997a6a(0x347)](_0x408133):this[_0x997a6a(0x2fc)][_0x997a6a(0x1c2)](_0x408133,setTimeout(()=>this[_0x997a6a(0x347)](_0x408133),_0x5dee0b));}[_0x17c635(0x393)](){var _0x468344;return(_0x468344=this['_configService']['getConfig'](_0x50ed5c))!=null?_0x468344:_0x5c0d86;}[_0x17c635(0x347)](_0x93478){const _0x4e36bd=_0x17c635,_0x5f178f=this[_0x4e36bd(0x2fc)][_0x4e36bd(0x318)](_0x93478);return _0x5f178f!==void 0x0&&window['clearTimeout'](_0x5f178f),this[_0x4e36bd(0x231)][_0x4e36bd(0x26b)](_0x156a39(_0x93478),this[_0x4e36bd(0x209)][_0x4e36bd(0x318)](_0x93478))[_0x4e36bd(0x2e8)](()=>this['_saveTaskMap'][_0x4e36bd(0x2f4)](_0x93478));}async[_0x17c635(0x26d)](){const _0x12c627=_0x17c635,_0xdb1865=[];this['_saveTaskMap'][_0x12c627(0x1d2)]((_0x235344,_0x235d17)=>{const _0x5a454b=_0x12c627;window['clearTimeout'](_0x235344),_0xdb1865['push'](this['_saveCache'](_0x235d17)[_0x5a454b(0x2e8)](()=>{const _0x32f571=_0x5a454b;this[_0x32f571(0x2fc)][_0x32f571(0x2f4)](_0x235d17);}));}),await Promise['all'](_0xdb1865);}};Le=_n([Ee(0x0,_0xe650f0),Ee(0x1,_0x4a6020),Ee(0x2,_0x2eb397(_0x37e690))],Le);class hn extends _0x5c44e6{constructor(){const _0x35cea1=_0x17c635;super(),_(this,'urlChange$'),this[_0x35cea1(0x30c)]=_0x1c7d37(window,_0x35cea1(0x1bc))[_0x35cea1(0x345)](_0x4fc11c(this[_0x35cea1(0x386)]),_0x191487(0x1),_0x88af17(void 0x0));}['setParam'](_0x25acdf,_0x418647,_0x1af6dc=!0x1){const _0x449dc6=_0x17c635,_0x1ec01e=new URL(window[_0x449dc6(0x1a1)][_0x449dc6(0x2fb)]);_0x1ec01e[_0x449dc6(0x26c)][_0x449dc6(0x1c2)](_0x25acdf,_0x418647),_0x1af6dc?window['history'][_0x449dc6(0x1ff)]('','',_0x1ec01e[_0x449dc6(0x207)]()):window[_0x449dc6(0x2f6)]['pushState']('','',_0x1ec01e[_0x449dc6(0x207)]());}[_0x17c635(0x295)](_0x406f0e,_0x5015b8=!0x1){const _0x54a471=_0x17c635,_0x5cc175=new URL(window[_0x54a471(0x1a1)]['href']);_0x5cc175[_0x54a471(0x26c)][_0x54a471(0x2f4)](_0x406f0e),_0x5015b8?window[_0x54a471(0x2f6)][_0x54a471(0x1ff)]('','',_0x5cc175[_0x54a471(0x207)]()):window[_0x54a471(0x2f6)][_0x54a471(0x22b)]('','',_0x5cc175[_0x54a471(0x207)]());}[_0x17c635(0x1c8)](_0x4ff396){const _0xc84393=_0x17c635;var _0x2ba8ee;return(_0x2ba8ee=new URL(window[_0xc84393(0x1a1)]['href'])[_0xc84393(0x26c)]['get'](_0x4ff396))!=null?_0x2ba8ee:void 0x0;}}var un=Object[_0x17c635(0x1eb)],dn=Object[_0x17c635(0x23d)],fn=(_0x5d6a0a,_0x5072d0,_0x1fb8ed)=>_0x5072d0 in _0x5d6a0a?un(_0x5d6a0a,_0x5072d0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1fb8ed}):_0x5d6a0a[_0x5072d0]=_0x1fb8ed,Sn=(_0x11ce8d,_0x16fa87,_0x1719ce,_0x5319f6)=>{const _0x2eb29c=_0x17c635;for(var _0x50622d=_0x5319f6>0x1?void 0x0:_0x5319f6?dn(_0x16fa87,_0x1719ce):_0x16fa87,_0x1855b1=_0x11ce8d[_0x2eb29c(0x25c)]-0x1,_0x99d952;_0x1855b1>=0x0;_0x1855b1--)(_0x99d952=_0x11ce8d[_0x1855b1])&&(_0x50622d=_0x99d952(_0x50622d)||_0x50622d);return _0x50622d;},Oe=(_0x327398,_0x55901f)=>(_0x24d496,_0x5ebfee)=>_0x55901f(_0x24d496,_0x5ebfee,_0x327398),mn=(_0x4b4e71,_0x3aebf1,_0x324687)=>fn(_0x4b4e71,_0x3aebf1+'',_0x324687);const In=_0x17c635(0x203);let Ae=class extends _0x35f057{constructor(_0x36f590=et,_0x5a30cf,_0x4d4140,_0x4982e2){const _0x3b7234=_0x17c635;super(),this['_config']=_0x36f590,this['_renderManagerService']=_0x5a30cf,this[_0x3b7234(0x25b)]=_0x4d4140,this[_0x3b7234(0x1af)]=_0x4982e2;const {..._0x306373}=_0xb34657({},et,this['_config']);this[_0x3b7234(0x1af)][_0x3b7234(0x330)](Zi,_0x306373);}['onStarting'](){this['_registerDependencies'](),this['_initDependencies']();}[_0x17c635(0x1fc)](){const _0x24e161=_0x17c635;this[_0x24e161(0x1d9)]();}[_0x17c635(0x390)](){const _0x252166=_0x17c635;var _0x5c86e6;const _0x226e27=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x100a88,{'useClass':_0x19b7b1}],[_0x12eac7,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x151c2d(this[_0x252166(0x25b)],_0x36bd2d(_0x226e27,(_0x5c86e6=this['_config'])==null?void 0x0:_0x5c86e6['override']));}[_0x17c635(0x1d9)](){const _0x5baa46=_0x17c635;this['disposeWithMe'](this[_0x5baa46(0x31c)]['registerRenderModule'](_0x2c47d7[_0x5baa46(0x39f)],[we])),this[_0x5baa46(0x322)](this['_renderManagerService'][_0x5baa46(0x37b)](_0x2c47d7[_0x5baa46(0x226)],[Pe]));}['_initDependencies'](){const _0x133a2c=_0x17c635;_0x4aedff(this[_0x133a2c(0x25b)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x17c635(0x394),In),Ae=Sn([_0x140f68(_0x47ab9c),Oe(0x1,_0x5c59f7),Oe(0x2,_0x2eb397(_0x597056)),Oe(0x3,_0xe650f0)],Ae);var gn=Object[_0x17c635(0x23d)],vn=(_0x1059b2,_0x32fb31,_0x27e115,_0x1b4dc2)=>{const _0x3401ea=_0x17c635;for(var _0x23d427=_0x1b4dc2>0x1?void 0x0:_0x1b4dc2?gn(_0x32fb31,_0x27e115):_0x32fb31,_0x59580c=_0x1059b2[_0x3401ea(0x25c)]-0x1,_0xa5d5cd;_0x59580c>=0x0;_0x59580c--)(_0xa5d5cd=_0x1059b2[_0x59580c])&&(_0x23d427=_0xa5d5cd(_0x23d427)||_0x23d427);return _0x23d427;},K=(_0x1f1c96,_0x519d23)=>(_0x1a211f,_0x17de53)=>_0x519d23(_0x1a211f,_0x17de53,_0x1f1c96);let st=class extends _0x12974d{constructor(_0x6a5020,_0x2d3235,_0x5bcf06,_0x4a2271,_0x2cca38){super(_0x6a5020,_0x2d3235,_0x5bcf06,_0x4a2271,_0x2cca38);}async[_0x17c635(0x2b1)](_0x4a6601){const _0x473489=_0x17c635,_0x52b1ec=await this[_0x473489(0x331)](),_0x4e0223=this[_0x473489(0x2c0)](_0x4a6601,_0x52b1ec);return this[_0x473489(0x296)](_0x4e0223);}[_0x17c635(0x2c0)](_0x13b482,_0x2072fa){const _0x4f5126=_0x17c635,_0x3bd501=typeof window>'u'?new URL(_0x13b482):new URL(_0x13b482,window[_0x4f5126(0x1a1)]['origin']);_0x3bd501[_0x4f5126(0x26c)][_0x4f5126(0x1c2)](_0x4f5126(0x27e),_0x2072fa);const _0x10f70a=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4f5126(0x1a1)]['search']);return _0x10f70a[_0x4f5126(0x318)]('runId')&&_0x3bd501[_0x4f5126(0x26c)][_0x4f5126(0x1c2)]('runId',_0x10f70a[_0x4f5126(0x318)](_0x4f5126(0x20b))),_0x3bd501[_0x4f5126(0x207)]();}async[_0x17c635(0x331)](){const _0x4e08f5=_0x17c635;var _0x55fe83,_0xb05eb6,_0x5c045b;const _0xc560ac=this[_0x4e08f5(0x1af)]['getConfig'](_0x50dc20),_0x13829e=(_0x55fe83=_0xc560ac==null?void 0x0:_0xc560ac[_0x4e08f5(0x2fa)])!=null?_0x55fe83:_0x578348;return(_0x5c045b=(_0xb05eb6=(await this[_0x4e08f5(0x2ce)]['get'](_0x13829e,{'headers':{'Content-Type':_0x4e08f5(0x253)}}))[_0x4e08f5(0x2db)])==null?void 0x0:_0xb05eb6['ticket'])!=null?_0x5c045b:'';}};st=vn([K(0x0,_0x2eb397(_0x597056)),K(0x1,_0x2eb397(_0x3a430c)),K(0x2,_0xe650f0),K(0x3,_0xaeedb1),K(0x4,_0xf5c7dd)],st);const it=0x7530,nt='ACTIVE_UNIT_EVENT_CHANNEL';class jn extends _0x629666{constructor(){const _0x1cd120=_0x17c635;super(),_(this,_0x1cd120(0x1dd),_0x3c905e()),_(this,_0x1cd120(0x1f8),new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x1cd120(0x1a7),null),_(this,_0x1cd120(0x2ac),new Map()),_(this,_0x1cd120(0x34b),new Map()),this[_0x1cd120(0x384)]();}[_0x17c635(0x299)](){const _0x23396c=_0x17c635;super[_0x23396c(0x299)](),this[_0x23396c(0x2ac)]['forEach']((_0x17d307,_0xc05198)=>this['_removeClearOtherTimer'](_0xc05198)),this[_0x23396c(0x1a7)]&&window['clearInterval'](this[_0x23396c(0x1a7)]);}[_0x17c635(0x256)](_0x8e7434){const _0x3ab166=_0x17c635;return this[_0x3ab166(0x38c)](_0x8e7434)[_0x3ab166(0x345)](_0x126808());}[_0x17c635(0x2d6)](_0x250bf9){const _0x3723cf=_0x17c635;this[_0x3723cf(0x1f8)][_0x3723cf(0x325)]===0x0&&this[_0x3723cf(0x21f)](),this[_0x3723cf(0x1f8)][_0x3723cf(0x25e)](_0x250bf9),this[_0x3723cf(0x279)]({'type':0x0,'memberID':this[_0x3723cf(0x1dd)],'unitIDs':[_0x250bf9],'isForwarded':!0x1});}[_0x17c635(0x225)](_0xcfe013){const _0x4d4fea=_0x17c635;this[_0x4d4fea(0x1f8)]['delete'](_0xcfe013),this[_0x4d4fea(0x1f8)][_0x4d4fea(0x325)]===0x0&&this[_0x4d4fea(0x1a7)]&&window[_0x4d4fea(0x1b7)](this[_0x4d4fea(0x1a7)]);}[_0x17c635(0x384)](){const _0x47977b=_0x17c635;this[_0x47977b(0x322)](_0x36e603(_0x1c7d37(window,'storage')[_0x47977b(0x31b)](_0x19d6e9=>{const _0x5d48a4=_0x47977b;if(_0x19d6e9[_0x5d48a4(0x2e5)]!==nt||!_0x19d6e9[_0x5d48a4(0x2ff)])return;const _0x556120=JSON['parse'](_0x19d6e9[_0x5d48a4(0x2ff)]);this[_0x5d48a4(0x250)](_0x556120);}))),window[_0x47977b(0x2a6)](_0x47977b(0x307),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x47977b(0x239)](this[_0x47977b(0x1f8)])}));}[_0x17c635(0x250)](_0x5a247e){const _0x53db96=_0x17c635;switch(_0x5a247e[_0x53db96(0x23f)]){case 0x0:this[_0x53db96(0x1ba)](_0x5a247e);break;case 0x1:this[_0x53db96(0x28b)](_0x5a247e);break;case 0x2:this[_0x53db96(0x1b8)](_0x5a247e);break;}}[_0x17c635(0x1ba)](_0x59af70){const _0x26fe11=_0x17c635,{unitIDs:_0xd7dbe,memberID:_0x11525a,isForwarded:_0x2ce8bd}=_0x59af70;_0xd7dbe[_0x26fe11(0x1d2)](_0x48c244=>{const _0x280b06=_0x26fe11;if(!_0x2ce8bd&&this[_0x280b06(0x339)][_0x280b06(0x329)](_0x48c244)&&this['_ensureSubject'](_0x48c244)[_0x280b06(0x32a)](_0x3fb639[_0x280b06(0x1e3)]),!this[_0x280b06(0x339)][_0x280b06(0x329)](_0x48c244)||!this[_0x280b06(0x339)][_0x280b06(0x318)](_0x48c244)['has'](_0x11525a)){const _0x145b90=this[_0x280b06(0x339)][_0x280b06(0x318)](_0x48c244)||new Set();_0x145b90['add'](_0x11525a),this[_0x280b06(0x339)][_0x280b06(0x1c2)](_0x48c244,_0x145b90),this[_0x280b06(0x22c)](_0x11525a);}}),_0x2ce8bd||this['_send']({'type':0x0,'memberID':this[_0x26fe11(0x1dd)],'unitIDs':[...this[_0x26fe11(0x1f8)]],'isForwarded':!0x0});}[_0x17c635(0x22c)](_0x16f9f9){const _0x20d2a8=_0x17c635;this['_removeClearOtherTimer'](_0x16f9f9);const _0x218d6c=window['setTimeout'](()=>{const _0x2bf02b=_0x13d3;this[_0x2bf02b(0x339)][_0x2bf02b(0x1d2)](_0x430434=>{_0x430434['delete'](_0x16f9f9);});},it*0x2);this['_clearOtherTimers'][_0x20d2a8(0x1c2)](_0x16f9f9,_0x218d6c);}[_0x17c635(0x362)](_0x74c478){const _0xd7b775=_0x17c635;if(this[_0xd7b775(0x2ac)][_0xd7b775(0x329)](_0x74c478)){const _0x141ce0=this[_0xd7b775(0x2ac)][_0xd7b775(0x318)](_0x74c478);_0x141ce0&&window['clearTimeout'](_0x141ce0),this[_0xd7b775(0x2ac)]['set'](_0x74c478,null);}}[_0x17c635(0x28b)](_0x4e5b85){const _0x5907b9=_0x17c635,{memberID:_0x5a18f6,unitIDs:_0x4fcd85}=_0x4e5b85;_0x4fcd85['forEach'](_0x291c4f=>{const _0x4e1fac=_0x13d3;var _0x2681c6;const _0x553f58=this['_unitOnClients']['get'](_0x291c4f);_0x553f58&&(_0x553f58['delete'](_0x5a18f6),(_0x2681c6=this[_0x4e1fac(0x38c)](_0x291c4f))==null||_0x2681c6[_0x4e1fac(0x32a)](_0x553f58[_0x4e1fac(0x325)]===0x0?_0x3fb639[_0x4e1fac(0x374)]:_0x3fb639['OTHER_CLIENTS_EDITING']));}),this[_0x5907b9(0x362)](_0x5a18f6);}[_0x17c635(0x1b8)](_0x5f4aed){const _0x131f3e=_0x17c635;this[_0x131f3e(0x22c)](_0x5f4aed[_0x131f3e(0x1ac)]);}[_0x17c635(0x279)](_0x26e947){const _0xa9d976=_0x17c635;localStorage[_0xa9d976(0x26b)](nt,JSON[_0xa9d976(0x395)](_0x26e947));}[_0x17c635(0x21f)](){const _0x82ee6=_0x17c635;this[_0x82ee6(0x1a7)]=window[_0x82ee6(0x29d)](()=>{const _0x59d291=_0x82ee6;this[_0x59d291(0x279)]({'type':0x2,'memberID':this[_0x59d291(0x1dd)]});},it);}['_ensureSubject'](_0x4431c3){const _0x5b37b0=_0x17c635;return this['_unitStatus'][_0x5b37b0(0x329)](_0x4431c3)||this[_0x5b37b0(0x34b)][_0x5b37b0(0x1c2)](_0x4431c3,new _0x5db965(_0x3fb639['NO_OTHER_CLIENTS_EDITING'])),this[_0x5b37b0(0x34b)][_0x5b37b0(0x318)](_0x4431c3);}}var Mt=(_0x50bed4=>(_0x50bed4[_0x50bed4[_0x17c635(0x264)]=0x0]=_0x17c635(0x264),_0x50bed4[_0x50bed4['OK']=0x1]='OK',_0x50bed4[_0x50bed4[_0x17c635(0x1fa)]=0x2]=_0x17c635(0x1fa),_0x50bed4[_0x50bed4[_0x17c635(0x357)]=0x3]=_0x17c635(0x357),_0x50bed4[_0x50bed4[_0x17c635(0x249)]=0x4]=_0x17c635(0x249),_0x50bed4[_0x50bed4[_0x17c635(0x298)]=0x5]=_0x17c635(0x298),_0x50bed4[_0x50bed4['ALREADY_EXISTS']=0x6]=_0x17c635(0x319),_0x50bed4[_0x50bed4[_0x17c635(0x272)]=0x7]=_0x17c635(0x272),_0x50bed4[_0x50bed4['TOO_MANY_REQUESTS']=0x8]=_0x17c635(0x245),_0x50bed4[_0x50bed4['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x50bed4[_0x50bed4['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x50bed4[_0x50bed4[_0x17c635(0x3a2)]=0x1389]=_0x17c635(0x3a2),_0x50bed4[_0x50bed4[_0x17c635(0x3a4)]=0x1771]=_0x17c635(0x3a4),_0x50bed4[_0x50bed4[_0x17c635(0x364)]=0x1772]=_0x17c635(0x364),_0x50bed4[_0x50bed4[_0x17c635(0x221)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x50bed4[_0x50bed4['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x50bed4[_0x50bed4[_0x17c635(0x38e)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x50bed4[_0x50bed4[_0x17c635(0x1b3)]=0x1b5b]=_0x17c635(0x1b3),_0x50bed4[_0x50bed4[_0x17c635(0x29b)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x50bed4[_0x50bed4[_0x17c635(0x2c7)]=0x1b5d]='APPLY_DUPLICATED',_0x50bed4[_0x50bed4[_0x17c635(0x30e)]=0x1f41]=_0x17c635(0x30e),_0x50bed4[_0x50bed4[_0x17c635(0x39b)]=0x2329]=_0x17c635(0x39b),_0x50bed4[_0x50bed4[_0x17c635(0x288)]=0x232a]=_0x17c635(0x288),_0x50bed4[_0x50bed4[_0x17c635(0x2f3)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x50bed4[_0x50bed4[_0x17c635(0x293)]=0x232c]=_0x17c635(0x293),_0x50bed4[_0x50bed4['LICENSE_DISTRO_REJECTED']=0x232d]=_0x17c635(0x1a5),_0x50bed4[_0x50bed4[_0x17c635(0x1a4)]=0x2711]=_0x17c635(0x1a4),_0x50bed4[_0x50bed4[_0x17c635(0x356)]=0x2712]=_0x17c635(0x356),_0x50bed4[_0x50bed4[_0x17c635(0x281)]=0x2713]=_0x17c635(0x281),_0x50bed4[_0x50bed4[_0x17c635(0x30f)]=0x2714]=_0x17c635(0x30f),_0x50bed4[_0x50bed4[_0x17c635(0x396)]=0x271a]=_0x17c635(0x396),_0x50bed4[_0x50bed4[_0x17c635(0x1ca)]=0x271b]=_0x17c635(0x1ca),_0x50bed4[_0x50bed4[_0x17c635(0x378)]=0x271c]=_0x17c635(0x378),_0x50bed4[_0x50bed4[_0x17c635(0x208)]=0x271d]=_0x17c635(0x208),_0x50bed4[_0x50bed4[_0x17c635(0x380)]=0x271e]=_0x17c635(0x380),_0x50bed4[_0x50bed4[_0x17c635(0x2d4)]=0x271f]=_0x17c635(0x2d4),_0x50bed4[_0x50bed4[_0x17c635(0x20d)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x50bed4[_0x50bed4[_0x17c635(0x358)]=0x2ee1]=_0x17c635(0x358),_0x50bed4[_0x50bed4['INVALID_INVITE_CODE']=0x2ee2]=_0x17c635(0x30a),_0x50bed4[_0x50bed4[_0x17c635(0x2e0)]=0x2ee3]=_0x17c635(0x2e0),_0x50bed4[_0x50bed4[_0x17c635(0x3a6)]=0x2ee4]=_0x17c635(0x3a6),_0x50bed4[_0x50bed4[_0x17c635(0x1e5)]=0x2ee5]=_0x17c635(0x1e5),_0x50bed4[_0x50bed4[_0x17c635(0x323)]=0x32c9]=_0x17c635(0x323),_0x50bed4[_0x50bed4['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x50bed4[_0x50bed4['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x50bed4[_0x50bed4[_0x17c635(0x219)]=-0x1]=_0x17c635(0x219),_0x50bed4))(Mt||{}),pn=Object[_0x17c635(0x23d)],Cn=(_0x474e6e,_0x17afcc,_0x431dbb,_0x39595c)=>{const _0x5cc0f4=_0x17c635;for(var _0x5840d0=_0x39595c>0x1?void 0x0:_0x39595c?pn(_0x17afcc,_0x431dbb):_0x17afcc,_0x545140=_0x474e6e[_0x5cc0f4(0x25c)]-0x1,_0x33e5c7;_0x545140>=0x0;_0x545140--)(_0x33e5c7=_0x474e6e[_0x545140])&&(_0x5840d0=_0x33e5c7(_0x5840d0)||_0x5840d0);return _0x5840d0;},be=(_0x7a9397,_0x58ed7c)=>(_0x366e7f,_0x2880a5)=>_0x58ed7c(_0x366e7f,_0x2880a5,_0x7a9397);let rt=class extends _0x629666{constructor(_0x3e5d72,_0x5a65d7,_0x56d328){const _0x1f7bc1=_0x17c635;super(),this[_0x1f7bc1(0x25d)]=_0x3e5d72,this['_httpService']=_0x5a65d7,this['_configService']=_0x56d328;}async[_0x17c635(0x247)](_0x1b5ed1,_0x48f277,_0x4b4ac2,..._0x2b294d){const _0x2498de=_0x17c635;var _0x15401e,_0x1cd0be,_0x43ca83,_0x3eed36;const _0x241b08=this[_0x2498de(0x25d)][_0x2498de(0x1a6)]();if(!_0x241b08)throw new Error(_0x2498de(0x35d));const _0x153708=((_0x15401e=this[_0x2498de(0x1af)][_0x2498de(0x23a)](_0x46c57d))!=null?_0x15401e:_0x4cfb8a)+'/'+_0x1b5ed1+_0x2498de(0x2df)+_0x48f277,_0x3da7e6=new URL(window[_0x2498de(0x1a1)][_0x2498de(0x2fb)]),_0x579a7c={'scriptId':_0x1b5ed1,'runId':(_0x1cd0be=_0x3da7e6['searchParams'][_0x2498de(0x318)](_0x2498de(0x20b)))!=null?_0x1cd0be:'','function':_0x48f277,'unitId':_0x241b08[_0x2498de(0x21b)](),'argsOfFunction':JSON[_0x2498de(0x395)](_0x2b294d),'invokeId':(_0x43ca83=_0x4b4ac2[_0x2498de(0x292)])!=null?_0x43ca83:'','executionId':(_0x3eed36=_0x4b4ac2[_0x2498de(0x257)])!=null?_0x3eed36:''};try{const _0x47853e=await this[_0x2498de(0x2ce)][_0x2498de(0x301)](_0x153708,{'body':_0x579a7c});return _0x47853e['body'][_0x2498de(0x1c7)]&&_0x47853e['body'][_0x2498de(0x1c7)][_0x2498de(0x342)]!==Mt['OK']?_0x2498de(0x30d):_0x47853e['body'][_0x2498de(0x381)];}catch{return _0x2498de(0x30d);}}};rt=Cn([be(0x0,_0x26b67a),be(0x1,_0x2eb397(_0x3a430c)),be(0x2,_0xe650f0)],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
- function _0x2fd0(_0x500db4,_0x346a7f){const _0x4ffe44=_0x4ffe();return _0x2fd0=function(_0x2fd08a,_0x2bdadb){_0x2fd08a=_0x2fd08a-0xd5;let _0x5b62de=_0x4ffe44[_0x2fd08a];return _0x5b62de;},_0x2fd0(_0x500db4,_0x346a7f);}function _0x4ffe(){const _0x1c8800=['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.','444612ZgbLuF','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Synced','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','1126503mQpodz','231816jLnHhK','Connection\x20failed,\x20please\x20check\x20your\x20network.','Syncing\x20server\x20data...','Authentication\x20Error','345IchbIZ','87772UMlJhO','Local\x20file','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Click\x20to\x20Reconnect','18BkKrBA','6920TJYdhr','29272bDcSAR','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Edit\x20conflicts','102480PzvtMp'];_0x4ffe=function(){return _0x1c8800;};return _0x4ffe();}const _0x554d7b=_0x2fd0;(function(_0x38853b,_0x2ed306){const _0x590b73=_0x2fd0,_0x3a7cd1=_0x38853b();while(!![]){try{const _0x4f757c=parseInt(_0x590b73(0xde))/0x1+parseInt(_0x590b73(0xe9))/0x2+-parseInt(_0x590b73(0xd9))/0x3+parseInt(_0x590b73(0xe5))/0x4*(parseInt(_0x590b73(0xdd))/0x5)+parseInt(_0x590b73(0xeb))/0x6+-parseInt(_0x590b73(0xd8))/0x7+-parseInt(_0x590b73(0xe6))/0x8*(-parseInt(_0x590b73(0xe4))/0x9);if(_0x4f757c===_0x2ed306)break;else _0x3a7cd1['push'](_0x3a7cd1['shift']());}catch(_0x587f6f){_0x3a7cd1['push'](_0x3a7cd1['shift']());}}}(_0x4ffe,0x18ce1));const e={'collab-client':{'tooltip':{'reconnect':_0x554d7b(0xe3)}},'collabStatus':{'fetchMiss':_0x554d7b(0xdb),'conflict':_0x554d7b(0xe8),'notCollab':_0x554d7b(0xdf),'synced':_0x554d7b(0xd6),'syncing':'Syncing...','offline':_0x554d7b(0xe7)},'session':{'connection-failed':_0x554d7b(0xda),'will-retry':_0x554d7b(0xe1),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':'Collaboration\x20Conflict','content':_0x554d7b(0xea)},'permission':{'title':_0x554d7b(0xdc),'content':_0x554d7b(0xd7)},'collaboration':{'single-unit':{'warning':_0x554d7b(0xd5)},'closeRoom':_0x554d7b(0xe0)},'auth':{'needGotoLoginAlert':_0x554d7b(0xe2)}};export{e as default};
1
+ const _0x118594=_0x5782;function _0x5782(_0x65f0d0,_0xcdb520){const _0x473a0e=_0x473a();return _0x5782=function(_0x57828b,_0x29554a){_0x57828b=_0x57828b-0xaa;let _0x585241=_0x473a0e[_0x57828b];return _0x585241;},_0x5782(_0x65f0d0,_0xcdb520);}function _0x473a(){const _0x131e81=['73764LQWasb','Synced','Syncing\x20server\x20data...','48aqDwVr','Connection\x20failed,\x20please\x20check\x20your\x20network.','1843002xlVMkr','Syncing...','207nHTCCb','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','9640ropHhF','38324siowME','10647PUGikT','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','13864KOuSqX','Authentication\x20Error','3432wIldhv','Click\x20to\x20Reconnect','Local\x20file','183SdSpRI','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.','5fiHvvw','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Collaboration\x20Conflict','7840308BqMOXk','7799AFCJda'];_0x473a=function(){return _0x131e81;};return _0x473a();}(function(_0x57ccf1,_0x1166f8){const _0x538de7=_0x5782,_0x140ea8=_0x57ccf1();while(!![]){try{const _0x3c47cc=parseInt(_0x538de7(0xad))/0x1*(-parseInt(_0x538de7(0xbf))/0x2)+-parseInt(_0x538de7(0xb5))/0x3*(-parseInt(_0x538de7(0xbc))/0x4)+parseInt(_0x538de7(0xb7))/0x5*(parseInt(_0x538de7(0xc1))/0x6)+parseInt(_0x538de7(0xba))/0x7+parseInt(_0x538de7(0xb0))/0x8*(-parseInt(_0x538de7(0xaa))/0x9)+parseInt(_0x538de7(0xac))/0xa*(-parseInt(_0x538de7(0xbb))/0xb)+-parseInt(_0x538de7(0xb2))/0xc*(parseInt(_0x538de7(0xae))/0xd);if(_0x3c47cc===_0x1166f8)break;else _0x140ea8['push'](_0x140ea8['shift']());}catch(_0x3aaf8b){_0x140ea8['push'](_0x140ea8['shift']());}}}(_0x473a,0xa4bcf));const e={'collab-client':{'tooltip':{'reconnect':_0x118594(0xb3)}},'collabStatus':{'fetchMiss':_0x118594(0xbe),'conflict':'Edit\x20conflicts','notCollab':_0x118594(0xb4),'synced':_0x118594(0xbd),'syncing':_0x118594(0xc2),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x118594(0xc0),'will-retry':_0x118594(0xaf),'room-full':_0x118594(0xb8),'collaboration-timeout':_0x118594(0xab)},'conflict':{'title':_0x118594(0xb9),'content':_0x118594(0xb6)},'permission':{'title':_0x118594(0xb1),'content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':'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 _0x1dc6d4=_0x214d;(function(_0x40530c,_0x35ce6f){const _0x362558=_0x214d,_0x25b89d=_0x40530c();while(!![]){try{const _0x4b7083=parseInt(_0x362558(0xfb))/0x1+parseInt(_0x362558(0xff))/0x2*(-parseInt(_0x362558(0x109))/0x3)+-parseInt(_0x362558(0x10a))/0x4*(parseInt(_0x362558(0x10b))/0x5)+-parseInt(_0x362558(0x101))/0x6+-parseInt(_0x362558(0xfa))/0x7*(parseInt(_0x362558(0x102))/0x8)+parseInt(_0x362558(0xfe))/0x9*(-parseInt(_0x362558(0xf7))/0xa)+parseInt(_0x362558(0xf9))/0xb;if(_0x4b7083===_0x35ce6f)break;else _0x25b89d['push'](_0x25b89d['shift']());}catch(_0x58633c){_0x25b89d['push'](_0x25b89d['shift']());}}}(_0x3e66,0x74fa0));const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':_0x1dc6d4(0x100),'conflict':_0x1dc6d4(0x106),'notCollab':_0x1dc6d4(0xfd),'synced':_0x1dc6d4(0xfc),'syncing':'در\x20حال\x20همگام\x20سازی...','offline':_0x1dc6d4(0xf4)},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','room-full':_0x1dc6d4(0x103),'collaboration-timeout':'سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.'},'conflict':{'title':_0x1dc6d4(0xf5),'content':_0x1dc6d4(0xf6)},'permission':{'title':_0x1dc6d4(0x104),'content':_0x1dc6d4(0xf8)},'collaboration':{'single-unit':{'warning':_0x1dc6d4(0x108)},'closeRoom':_0x1dc6d4(0x107)},'auth':{'needGotoLoginAlert':_0x1dc6d4(0x105)}};export{o as default};function _0x214d(_0x27da14,_0x21a133){const _0x3e66d9=_0x3e66();return _0x214d=function(_0x214dd8,_0x52909e){_0x214dd8=_0x214dd8-0xf4;let _0x533e65=_0x3e66d9[_0x214dd8];return _0x533e65;},_0x214d(_0x27da14,_0x21a133);}function _0x3e66(){const _0x24972d=['آفلاین،\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رفت.','20qAIIoG','اعمال\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رفت.','25685572QVLjZB','21Ctvmrl','699693xowTXP','همگام\x20سازی','پرونده\x20محلی','3080079nBLccr','938rKvoOq','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','1578684spBAii','2439960nBxzOb','اتاق\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کنید.','1275yhNGDf','4UiMIra','2468615FuzaMU'];_0x3e66=function(){return _0x24972d;};return _0x3e66();}
1
+ const _0x4fb64c=_0x5457;(function(_0x379076,_0x419b4a){const _0x749610=_0x5457,_0xf24fe4=_0x379076();while(!![]){try{const _0x53687d=-parseInt(_0x749610(0x10e))/0x1*(-parseInt(_0x749610(0x10f))/0x2)+-parseInt(_0x749610(0x106))/0x3*(parseInt(_0x749610(0x10c))/0x4)+-parseInt(_0x749610(0x113))/0x5*(-parseInt(_0x749610(0x10d))/0x6)+-parseInt(_0x749610(0x117))/0x7*(-parseInt(_0x749610(0x108))/0x8)+parseInt(_0x749610(0x114))/0x9+-parseInt(_0x749610(0x102))/0xa+-parseInt(_0x749610(0x103))/0xb;if(_0x53687d===_0x419b4a)break;else _0xf24fe4['push'](_0xf24fe4['shift']());}catch(_0x4e747a){_0xf24fe4['push'](_0xf24fe4['shift']());}}}(_0x1e47,0x76f77));const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':'در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','conflict':_0x4fb64c(0x115),'notCollab':_0x4fb64c(0x111),'synced':'همگام\x20سازی','syncing':_0x4fb64c(0x112),'offline':_0x4fb64c(0x104)},'session':{'connection-failed':_0x4fb64c(0x10b),'will-retry':_0x4fb64c(0x109),'room-full':_0x4fb64c(0x105),'collaboration-timeout':_0x4fb64c(0x10a)},'conflict':{'title':_0x4fb64c(0x116),'content':_0x4fb64c(0x107)},'permission':{'title':'خطای\x20اعتبارسنجی','content':'اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'collaboration':{'single-unit':{'warning':_0x4fb64c(0x110)},'closeRoom':_0x4fb64c(0x101)},'auth':{'needGotoLoginAlert':_0x4fb64c(0x118)}};function _0x1e47(){const _0x49e495=['1184jjnCYF','اتصال\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کنید.','132yApbNc','24KiuMmT','77txrSTP','23006KOaadQ','شما\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سازی...','1199010esPUzZ','730827CfTTEG','تداخل\x20ویرایش','تداخل\x20همکاری','33313PQfOYQ','ورود\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شد.','7047390szhfSt','7003117RmgMmM','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','72891reAdNy','یک\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رفت.'];_0x1e47=function(){return _0x49e495;};return _0x1e47();}function _0x5457(_0x428863,_0x70ece0){const _0x1e47b4=_0x1e47();return _0x5457=function(_0x54571e,_0x2cf03){_0x54571e=_0x54571e-0x101;let _0x17df6c=_0x1e47b4[_0x54571e];return _0x17df6c;},_0x5457(_0x428863,_0x70ece0);}export{o as default};