@univerjs-pro/collaboration-client-ui 0.9.0 → 0.9.1-nightly.202507041607

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 _0x6f952d=_0x1920;(function(_0x17ad8f,_0x2a52d2){const _0x4e6a65=_0x1920,_0x5583d1=_0x17ad8f();while(!![]){try{const _0x11f690=parseInt(_0x4e6a65(0x1b1))/0x1*(-parseInt(_0x4e6a65(0x1d3))/0x2)+parseInt(_0x4e6a65(0x8d))/0x3*(-parseInt(_0x4e6a65(0x160))/0x4)+parseInt(_0x4e6a65(0x172))/0x5*(parseInt(_0x4e6a65(0xf5))/0x6)+parseInt(_0x4e6a65(0x1b2))/0x7*(-parseInt(_0x4e6a65(0x163))/0x8)+parseInt(_0x4e6a65(0x15f))/0x9+parseInt(_0x4e6a65(0x1ff))/0xa*(parseInt(_0x4e6a65(0x109))/0xb)+parseInt(_0x4e6a65(0xe3))/0xc;if(_0x11f690===_0x2a52d2)break;else _0x5583d1['push'](_0x5583d1['shift']());}catch(_0x1415be){_0x5583d1['push'](_0x5583d1['shift']());}}}(_0x45b5,0x4949c));var $t=Object['defineProperty'],xt=(_0x17526c,_0xac176d,_0x4c7c13)=>_0xac176d in _0x17526c?$t(_0x17526c,_0xac176d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4c7c13}):_0x17526c[_0xac176d]=_0x4c7c13,_=(_0x4473d2,_0x2b862d,_0x3ed84b)=>xt(_0x4473d2,typeof _0x2b862d!='symbol'?_0x2b862d+'':_0x2b862d,_0x3ed84b);import{MemberService as _0x441684,SessionStatus as _0x2948c1,CollaborationSessionService as _0x338fb1,CollaborationStatus as _0x2cb0a0,CollaborationController as _0x2b30d1,ILocalCacheService as _0x4da2db,CollaborationUIEventService as _0x3329ad,CollaborationUIEventId as _0x117633,DataLoaderService as _0x5dcddc,DocCollaborationEntity as _0xb3aa28,getLocalCacheKey as _0x32759a,LOCAL_CACHE_INTERVAL as _0x531045,LOCAL_CACHE_INTERVAL_KEY as _0x14b207,UniverCollaborationClientPlugin as _0x1fa62f,CollaborationSocketService as _0x57641c,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x207f58,DEFAULT_WS_SESSION_TICKET_URL as _0x102dda,UnitStatus as _0x19f169,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x3a0e70,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x3b2874}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x5e6d7d,Disposable as _0x314d20,DOC_RANGE_TYPE as _0x29b49a,Inject as _0x2ad71f,Injector as _0x14214c,IUniverInstanceService as _0xf38a52,ICommandService as _0x4d6e9b,debounce as _0x59d06b,Rectangle as _0x3024e7,DisposableCollection as _0x4b8d95,toDisposable as _0x545ea3,UniverInstanceType as _0x1bc251,Tools as _0x123dff,COLORS as _0x56d04f,ColorKit as _0x4fcff7,ThemeService as _0x2005fd,fromEventSubject as _0x1c819b,LocaleService as _0x1d6e14,createIdentifier as _0x2b6b47,ILogService as _0x4162d0,Optional as _0x200084,Workbook as _0x3117c5,CommandType as _0x3a95a5,IConfigService as _0x27db46,ILocalStorageService as _0x39ce6c,DependentOn as _0xa20676,Plugin as _0x402252,merge as _0x431bb4,registerDependencies as _0x36eb4a,mergeOverrideWithDependencies as _0x2aa0c7,touchDependencies as _0x33ece9,generateRandomId as _0x271946}from'@univerjs/core';import{Shape as _0x2aad57,Rect as _0x59c86c,getColor as _0x36bd5f,RegularPolygon as _0x1f1108,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x47e241,Vector2 as _0x5c7f08,SHEET_VIEWPORT_KEY as _0x4effea,IRenderManagerService as _0x397b72}from'@univerjs/engine-render';import{ISocketService as _0x31881a,WebSocketService as _0x104ba1,HTTPService as _0x121683}from'@univerjs/network';import{IDocClipboardService as _0x49044a,NodePositionConvertToCursor as _0x311cba,NodePositionConvertToRectRange as _0x5705f8,TEXT_RANGE_LAYER_INDEX as _0x2619d5,SetDocZoomRatioOperation as _0x3d0060,DocIMEInputManagerService as _0x37c3da,DocStateChangeManagerService as _0x528106}from'@univerjs/docs-ui';import{IImageIoService as _0x35079f}from'@univerjs/drawing';import{BehaviorSubject as _0x25ddca,debounceTime as _0x237496,takeUntil as _0x147fa3,Subject as _0x4f017c,filter as _0x55040f,switchMap as _0x1467e7,merge as _0x1f3a02,combineLatest as _0x334567,of as _0x436a93,fromEvent as _0x3b2803,shareReplay as _0x315e11,mapTo as _0x4d926d,distinctUntilChanged as _0x38037e}from'rxjs';import{ITransformService as _0x23cfb3,CollaborationEvent as _0x410ea3,isTransformMutationFailure as _0x399df1,isTransformMutationsWithChangesetSuccess as _0x1939ee,RevisionService as _0x389b96,ISnapshotServerService as _0x549feb}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x3671a2,RichTextEditingMutation as _0x34c5b7,DocSelectionManagerService as _0x8e84b4,DocSkeletonManagerService as _0x500202}from'@univerjs/docs';import{deserializeRangeWithSheet as _0xc18a74,serializeRangeWithSheet as _0x15ae3e}from'@univerjs/engine-formula';import{RefRangeService as _0x165ea1,SetSelectionsOperation as _0x4aec22,SheetsSelectionsService as _0x34824b,EffectRefRangId as _0x5cf330,handleIRemoveRow as _0x403726,handleIRemoveCol as _0x198690,handleMoveRange as _0x51e359,handleInsertRow as _0x1ea899,handleInsertRangeMoveRight as _0x2349c2,handleInsertRangeMoveDown as _0x1b8001,handleInsertCol as _0x1830f7,handleDeleteRangeMoveUp as _0x2eecfe,handleDeleteRangeMoveLeft as _0x201fe2,runRefRangeMutations as _0x3882f8,SetWorksheetActivateCommand as _0x59f06e}from'@univerjs/sheets';import{map as _0x31365f,filter as _0x581d51,throttleTime as _0x19b056,takeUntil as _0x227a8e,switchMap as _0x37011b}from'rxjs/operators';import{SheetSkeletonManagerService as _0x4beabc,getCoordByCell as _0xa0c449,getSheetObject as _0x2c8e5f}from'@univerjs/sheets-ui';import{jsx as _0x40946b,jsxs as _0x5c1e11}from'react/jsx-runtime';import{useObservable as _0x2b77a4,useDependency as _0x12e57b,IUIPartsService as _0x5a568b,BuiltInUIPart as _0x344b76,connectInjector as _0x283f2b,IBeforeCloseService as _0x188b08,IMessageService as _0x16c293,INotificationService as _0x369ee3}from'@univerjs/ui';import{Tooltip as _0x43ed71,clsx as _0x2454df,MessageType as _0x1ad4d0}from'@univerjs/design';import{forwardRef as _0x2fd603,useRef as _0x24d2a2,createElement as _0x672ee0,useCallback as _0x26d198}from'react';import{IRemoteInstanceService as _0x2b90ec}from'@univerjs/rpc';var ci=Object[_0x6f952d(0x283)],li=(_0x279e33,_0x4f1196,_0x26ad27,_0x164bcb)=>{for(var _0x5ac570=_0x164bcb>0x1?void 0x0:_0x164bcb?ci(_0x4f1196,_0x26ad27):_0x4f1196,_0x3a7cb5=_0x279e33['length']-0x1,_0x3f3537;_0x3a7cb5>=0x0;_0x3a7cb5--)(_0x3f3537=_0x279e33[_0x3a7cb5])&&(_0x5ac570=_0x3f3537(_0x5ac570)||_0x5ac570);return _0x5ac570;},Je=(_0x28ff19,_0x2b838b)=>(_0x1032b1,_0x2c1aa9)=>_0x2b838b(_0x1032b1,_0x2c1aa9,_0x28ff19);let Ne=class extends _0x5e6d7d{constructor(_0x6d18f3,_0x20c419){const _0x53734d=_0x6f952d;super(),this[_0x53734d(0x1b7)]=_0x6d18f3,this[_0x53734d(0x1a3)]=_0x20c419,this[_0x53734d(0x16a)]();}[_0x6f952d(0x16a)](){const _0x570f10=_0x6f952d,_0x312473=this;this[_0x570f10(0xc7)](this['_docClipboardService'][_0x570f10(0x130)]({'onBeforePasteImage':async _0x329837=>{const _0x38cf6b=_0x570f10,_0x381b22=await _0x312473[_0x38cf6b(0x1a3)][_0x38cf6b(0x11d)](_0x329837);return _0x381b22?{'source':_0x381b22[_0x38cf6b(0x285)],'imageSourceType':_0x381b22['imageSourceType']}:null;}}));}};Ne=li([Je(0x0,_0x49044a),Je(0x1,_0x35079f)],Ne);const Ze=[_0x6f952d(0xb1),_0x6f952d(0xac),'green.600',_0x6f952d(0x23d),_0x6f952d(0x1ee),_0x6f952d(0xa7)];class ke extends _0x314d20{constructor(){const _0x251a84=_0x6f952d;super(...arguments),_(this,_0x251a84(0x197),new Map()),_(this,_0x251a84(0x222),0x0);}[_0x6f952d(0x273)](_0x10234e){const _0x93f45c=_0x6f952d;if(this[_0x93f45c(0x197)][_0x93f45c(0x1a8)](_0x10234e))return this[_0x93f45c(0x197)][_0x93f45c(0x261)](_0x10234e);const _0x2f0936=Ze[this[_0x93f45c(0x222)]];return this[_0x93f45c(0x222)]=(this[_0x93f45c(0x222)]+0x1)%Ze[_0x93f45c(0x158)],this[_0x93f45c(0x197)][_0x93f45c(0x129)](_0x10234e,_0x2f0936),_0x2f0936;}}function Tt(_0x146fcb){let _0x3f661a='';for(const _0x14786e of _0x146fcb){const {startOffset:_0x482744,endOffset:_0x869d11,isActive:_0x297a47,rangeType:_0x288205,segmentId:_0x3ed8b9,segmentPage:_0x43cce4}=_0x14786e;_0x3f661a['length']&&(_0x3f661a+=','),_0x3f661a+=_0x482744+':'+_0x869d11+':'+(_0x297a47?'1':'0')+':'+_0x288205+':'+_0x3ed8b9+':'+_0x43cce4;}return _0x3f661a;}function _i(_0xc03c9e){const _0x28283a=_0x6f952d,_0x30cc2a=_0xc03c9e[_0x28283a(0xb5)](','),_0xcdfe23=[];for(const _0x11cbe4 of _0x30cc2a){const [_0x16b6c4,_0x21ebdc,_0x1bd0b8,_0x2a758f,_0x1a3e93,_0x27a91d]=_0x11cbe4[_0x28283a(0xb5)](':');_0xcdfe23[_0x28283a(0x1a2)]({'startOffset':Number(_0x16b6c4),'endOffset':Number(_0x21ebdc),'collapsed':_0x16b6c4===_0x21ebdc,'isActive':_0x1bd0b8==='1','rangeType':_0x2a758f===_0x29b49a[_0x28283a(0xd8)]?_0x29b49a['TEXT']:_0x29b49a[_0x28283a(0x1fd)],'segmentId':typeof _0x1a3e93==_0x28283a(0x19b)?String(_0x1a3e93):'','segmentPage':Number(_0x27a91d!=null?_0x27a91d:-0x1)});}return _0xcdfe23[_0x28283a(0x269)](_0x8044dd=>_0x8044dd[_0x28283a(0x1c7)])||(_0xcdfe23[0x0]['isActive']=!0x0),_0xcdfe23;}class He extends _0x5e6d7d{constructor(){const _0x4540cf=_0x6f952d;super(...arguments),_(this,_0x4540cf(0x1f8),new _0x25ddca(null)),_(this,_0x4540cf(0x90),this['_collabCursorState$'][_0x4540cf(0xa1)]());}[_0x6f952d(0x26a)](_0x6574fe){const _0x2a0cd1=_0x6f952d,{unitID:_0x86342,memberID:_0x5721bb,textRanges:_0xa80f52}=_0x6574fe,_0x3d754c=Tt(_0xa80f52);if(_0x3d754c==='')return;const _0x1a4850={'unitID':_0x86342,'memberID':_0x5721bb,'selection':_0x3d754c};this[_0x2a0cd1(0x1f8)][_0x2a0cd1(0xa9)](_0x1a4850);}}var hi=Object[_0x6f952d(0x283)],ui=(_0x5c0cb7,_0x3012e7,_0x691dcc,_0x1838a3)=>{const _0x3a0726=_0x6f952d;for(var _0x100fef=_0x1838a3>0x1?void 0x0:_0x1838a3?hi(_0x3012e7,_0x691dcc):_0x3012e7,_0x47246f=_0x5c0cb7[_0x3a0726(0x158)]-0x1,_0x26c9b2;_0x47246f>=0x0;_0x47246f--)(_0x26c9b2=_0x5c0cb7[_0x47246f])&&(_0x100fef=_0x26c9b2(_0x100fef)||_0x100fef);return _0x100fef;},P=(_0x3a8436,_0x557d1f)=>(_0x20b2b2,_0x4de1bc)=>_0x557d1f(_0x20b2b2,_0x4de1bc,_0x3a8436);const di=0x12c,fi=0x64;let Ue=class extends _0x5e6d7d{constructor(_0x583baa,_0x5b1a4e,_0x230d02,_0x1fa289,_0x25c32f,_0x4f41b9,_0x459461,_0x1935d8,_0x2bc300){const _0x3babb9=_0x6f952d;super(),_(this,_0x3babb9(0x112),!0x1),_(this,_0x3babb9(0x16a),!0x1),_(this,_0x3babb9(0x202),new _0x25ddca(new Map())),_(this,_0x3babb9(0x223),this[_0x3babb9(0x202)]['asObservable']()),_(this,_0x3babb9(0x134),new _0x25ddca([])),_(this,_0x3babb9(0x136),this[_0x3babb9(0x134)][_0x3babb9(0x173)](_0x237496(di))),_(this,_0x3babb9(0x93),_0x59d06b(_0xf0b15a=>{const _0x4455d4=_0x3babb9,_0x1eefa2={'eventID':_0x410ea3[_0x4455d4(0xe4)],'data':{'unitID':this[_0x4455d4(0x201)],'memberID':this[_0x4455d4(0x18f)][_0x4455d4(0xc8)](),'selection':Tt(_0xf0b15a)}};this[_0x4455d4(0x18f)][_0x4455d4(0x108)](_0x1eefa2,this[_0x4455d4(0x201)]);},fi)),(this[_0x3babb9(0x201)]=_0x583baa,this['_session']=_0x5b1a4e,this[_0x3babb9(0x277)]=_0x230d02,this['_colorAssignService']=_0x1fa289,this['_memberService']=_0x25c32f,this[_0x3babb9(0xaa)]=_0x4f41b9,this[_0x3babb9(0x19a)]=_0x459461,this[_0x3babb9(0xc9)]=_0x1935d8,this['_commandService']=_0x2bc300);}get['cursorInfo'](){const _0x1e1d4c=_0x6f952d;return this[_0x1e1d4c(0x202)][_0x1e1d4c(0x1be)]();}get[_0x6f952d(0x1c1)](){return this['_roomMembers$']['getValue']();}[_0x6f952d(0x85)](){const _0x42e407=_0x6f952d;super[_0x42e407(0x85)](),this[_0x42e407(0x202)][_0x42e407(0xa9)](new Map()),this[_0x42e407(0x202)][_0x42e407(0x25b)](),this[_0x42e407(0x134)][_0x42e407(0xa9)]([]),this['_roomMembers$'][_0x42e407(0x25b)]();}[_0x6f952d(0x13e)](){const _0x5f349a=_0x6f952d;this[_0x5f349a(0x16a)]||(this['_init']=!0x0,this[_0x5f349a(0x18f)][_0x5f349a(0x18a)][_0x5f349a(0x173)](_0x147fa3(this[_0x5f349a(0x236)]))[_0x5f349a(0x1ba)](_0x37cd3a=>{const _0x283694=_0x5f349a;_0x37cd3a===_0x2948c1[_0x283694(0x22d)]?this[_0x283694(0xd4)]():this[_0x283694(0x279)]();}),this[_0x5f349a(0x18f)][_0x5f349a(0x1d4)]['pipe'](_0x147fa3(this['dispose$']))[_0x5f349a(0x1ba)](_0x134e58=>{const _0x283d54=_0x5f349a,_0x5ca2d7=_0x134e58[_0x283d54(0x1fa)];_0x5ca2d7===_0x410ea3[_0x283d54(0xe4)]&&this['_onCursorUpdate'](_0x134e58),_0x5ca2d7===_0x410ea3[_0x283d54(0x220)]&&this[_0x283d54(0xf7)](_0x134e58);}),this[_0x5f349a(0xc7)](this['_commandService'][_0x5f349a(0x97)](_0x5998b7=>{const _0x4eea01=_0x5f349a,_0x5881da=_0x5998b7['params'];_0x5881da!=null&&this[_0x4eea01(0x112)]&&_0x5998b7['id']===_0x3671a2['id']&&_0x5881da['unitId']===this['unitID']&&_0x5881da[_0x4eea01(0x184)]===!0x1&&_0x5881da[_0x4eea01(0x17a)][_0x4eea01(0x158)]>0x0&&this['_updateLocalCursor'](_0x5881da[_0x4eea01(0x17a)]);})),this[_0x5f349a(0xaa)][_0x5f349a(0x90)][_0x5f349a(0x173)](_0x147fa3(this[_0x5f349a(0x236)]))['subscribe'](_0x26d4cc=>{const _0x32734a=_0x5f349a;if((_0x26d4cc==null?void 0x0:_0x26d4cc[_0x32734a(0x201)])!==this['unitID'])return;const _0x546904={'eventID':_0x410ea3[_0x32734a(0xe4)],'data':_0x26d4cc};this['_onCursorUpdate'](_0x546904);}),this[_0x5f349a(0xc7)](this[_0x5f349a(0x19c)][_0x5f349a(0x97)](_0x3a57e5=>{const _0x569d4e=_0x5f349a;if(_0x3a57e5['params']==null)return;const _0xcb64d6=_0x3a57e5[_0x569d4e(0x80)];if(_0x3a57e5['id']!==_0x34c5b7['id']||_0xcb64d6['unitId']!==this[_0x569d4e(0x201)])return;const _0xda77c1={'id':'doc.mutation.rich-text-editing','params':_0xcb64d6},_0x3bd970=this[_0x569d4e(0x21b)];for(const [_0x3a40f6,_0x219025]of _0x3bd970){const _0x7a4162={'id':_0x569d4e(0x17d),'params':{'unitId':this[_0x569d4e(0x201)],'actions':null,'textRanges':_0x219025['ranges']}},_0x29a3ed=this[_0x569d4e(0x19a)][_0x569d4e(0x127)](_0xda77c1,_0x7a4162,!0x1);if(_0x399df1(_0x29a3ed))throw _0x29a3ed['error'];_0x3bd970[_0x569d4e(0x129)](_0x3a40f6,{..._0x219025,'ranges':_0x29a3ed[_0x569d4e(0x185)][_0x569d4e(0x80)][_0x569d4e(0x242)]});}queueMicrotask(()=>{const _0x3fbf4e=_0x569d4e;this[_0x3fbf4e(0x202)][_0x3fbf4e(0xa9)](_0x3bd970);});})));}[_0x6f952d(0x28b)](_0x58d0cb){const _0x3cfc8d=_0x6f952d;var _0x287705,_0x445a30;const {memberID:_0x47e740,selection:_0xbce996}=_0x58d0cb[_0x3cfc8d(0x194)],_0x2b3cd3=_i(_0xbce996),_0x4f6c33=(_0x445a30=(_0x287705=this['_memberService']['getMember'](this[_0x3cfc8d(0x201)],_0x47e740))==null?void 0x0:_0x287705['name'])!=null?_0x445a30:_0x3cfc8d(0x96),_0x422e53={'color':this[_0x3cfc8d(0x1ce)][_0x3cfc8d(0x273)](_0x47e740),'name':_0x4f6c33,'ranges':_0x2b3cd3},_0x4c23e2=this[_0x3cfc8d(0x21b)];_0x4c23e2['set'](_0x47e740,_0x422e53),this[_0x3cfc8d(0x202)][_0x3cfc8d(0xa9)](_0x4c23e2);}[_0x6f952d(0xf7)](_0x36f727){const _0x554149=_0x6f952d,{memberID:_0x1fcb9e}=_0x36f727['data'],_0x1133b7=this[_0x554149(0x21b)];_0x1133b7[_0x554149(0x230)](_0x1fcb9e),this[_0x554149(0x202)]['next'](_0x1133b7);}[_0x6f952d(0xd4)](){const _0x12ab3d=_0x6f952d;var _0x5acbaa;if(this[_0x12ab3d(0x112)]=!0x0,((_0x5acbaa=this[_0x12ab3d(0xc9)][_0x12ab3d(0x1c9)]())==null?void 0x0:_0x5acbaa[_0x12ab3d(0x212)]())!==this[_0x12ab3d(0x201)])return;const _0x33ae9a=this['_injector'][_0x12ab3d(0x261)](_0x8e84b4)[_0x12ab3d(0x1f0)]();Array['isArray'](_0x33ae9a)&&_0x33ae9a[_0x12ab3d(0x158)]>0x0&&this['_updateLocalCursor'](_0x33ae9a);}['_toggleOffline'](){const _0x570c2d=_0x6f952d;this[_0x570c2d(0x112)]=!0x1;}};Ue=ui([P(0x2,_0x2ad71f(_0x14214c)),P(0x3,_0x2ad71f(ke)),P(0x4,_0x2ad71f(_0x441684)),P(0x5,_0x2ad71f(He)),P(0x6,_0x23cfb3),P(0x7,_0xf38a52),P(0x8,_0x4d6e9b)],Ue);var Si=Object[_0x6f952d(0x283)],mi=(_0x52e1db,_0x4f158f,_0x41aac2,_0x30ab48)=>{const _0x4e9603=_0x6f952d;for(var _0x929581=_0x30ab48>0x1?void 0x0:_0x30ab48?Si(_0x4f158f,_0x41aac2):_0x4f158f,_0x2370c2=_0x52e1db[_0x4e9603(0x158)]-0x1,_0x4e005e;_0x2370c2>=0x0;_0x2370c2--)(_0x4e005e=_0x52e1db[_0x2370c2])&&(_0x929581=_0x4e005e(_0x929581)||_0x929581);return _0x929581;},x=(_0xd63390,_0xc7f18a)=>(_0x554af0,_0x5a0361)=>_0xc7f18a(_0x554af0,_0x5a0361,_0xd63390);const Ii=0x12c,gi=0x64,vi=()=>{let _0x3e8125=[],_0x136515=!0x1;return _0x1529bc=>{_0x3e8125['push'](_0x1529bc),_0x136515||(_0x136515=!0x0,setTimeout(()=>{const _0x1c6455=_0x1920;_0x3e8125[_0x1c6455(0x1f3)](_0x366687=>_0x366687()),_0x3e8125=[],_0x136515=!0x1;}));};};let Me=class extends _0x5e6d7d{constructor(_0x1f3312,_0x550b7a,_0x35f93d,_0xceba43,_0x1e7a4f,_0x12a6e9,_0xb9a01c,_0xeb4a33){const _0x5eb2df=_0x6f952d;super(),_(this,_0x5eb2df(0x112),!0x1),_(this,'_init',!0x1),_(this,_0x5eb2df(0x202),new _0x25ddca(new Map())),_(this,_0x5eb2df(0x223),this[_0x5eb2df(0x202)][_0x5eb2df(0xa1)]()),_(this,_0x5eb2df(0x134),new _0x25ddca([])),_(this,_0x5eb2df(0x136),this[_0x5eb2df(0x134)][_0x5eb2df(0x173)](_0x237496(Ii))),_(this,_0x5eb2df(0x93),_0x59d06b((_0x48a82e,_0x31a64d)=>{const _0x6376ba=_0x5eb2df,_0x4e27c5={'eventID':_0x410ea3[_0x6376ba(0xe4)],'data':{'unitID':this[_0x6376ba(0x201)],'memberID':this['_session']['getMemberID'](),'selection':_0x15ae3e(_0x48a82e,_0x31a64d[_0x6376ba(0x1d6)])}};this['_session'][_0x6376ba(0x108)](_0x4e27c5,this[_0x6376ba(0x201)]);},gi)),(this[_0x5eb2df(0x201)]=_0x1f3312,this[_0x5eb2df(0x18f)]=_0x550b7a,this[_0x5eb2df(0x277)]=_0x35f93d,this[_0x5eb2df(0x1ce)]=_0xceba43,this[_0x5eb2df(0xd6)]=_0x1e7a4f,this[_0x5eb2df(0xc9)]=_0x12a6e9,this[_0x5eb2df(0x19c)]=_0xb9a01c,this[_0x5eb2df(0x178)]=_0xeb4a33);}get[_0x6f952d(0x21b)](){const _0x1bef1b=_0x6f952d;return this[_0x1bef1b(0x202)][_0x1bef1b(0x1be)]();}get['roomMembers'](){return this['_roomMembers$']['getValue']();}[_0x6f952d(0x85)](){const _0x24a9ab=_0x6f952d;super[_0x24a9ab(0x85)](),this[_0x24a9ab(0x202)][_0x24a9ab(0xa9)](new Map()),this['_cursorInfo$'][_0x24a9ab(0x25b)](),this[_0x24a9ab(0x134)][_0x24a9ab(0xa9)]([]),this['_roomMembers$']['complete']();}['init'](){const _0x545235=_0x6f952d;this[_0x545235(0x16a)]||(this[_0x545235(0x16a)]=!0x0,this[_0x545235(0x18f)]['sessionStatus$'][_0x545235(0x173)](_0x147fa3(this[_0x545235(0x236)]))[_0x545235(0x1ba)](_0x2a0685=>{const _0x3e7335=_0x545235;_0x2a0685===_0x2948c1[_0x3e7335(0x22d)]?this[_0x3e7335(0xd4)]():this[_0x3e7335(0x279)]();}),this[_0x545235(0x18f)]['event$'][_0x545235(0x173)](_0x147fa3(this['dispose$']))[_0x545235(0x1ba)](_0x41d267=>{const _0x353458=_0x545235,_0x111785=_0x41d267[_0x353458(0x1fa)];_0x111785===_0x410ea3[_0x353458(0xe4)]&&this['_onCursorUpdate'](_0x41d267),_0x111785===_0x410ea3['USERS_LEAVE']&&this[_0x353458(0xf7)](_0x41d267);}),this[_0x545235(0x264)](),this[_0x545235(0xc7)](this[_0x545235(0x19c)]['onCommandExecuted'](_0x5a5f2c=>{const _0xd3bcbe=_0x545235;if(this[_0xd3bcbe(0x112)]&&_0x5a5f2c['id']===_0x4aec22['id']&&_0x5a5f2c[_0xd3bcbe(0x80)][_0xd3bcbe(0xb7)]===this[_0xd3bcbe(0x201)]){const _0x2ea55b=_0x5a5f2c['params'];this['_updateLocalCursor'](_0x2ea55b['subUnitId'],_0x2ea55b['selections'][0x0]);}})));}[_0x6f952d(0x28b)](_0x548dd8){const _0x4ddf9=_0x6f952d;var _0x74d263,_0xaea66e;const {memberID:_0x4c1b71,selection:_0x52ed42}=_0x548dd8['data'],{sheetName:_0x5527f0,range:_0x15bd55}=_0xc18a74(_0x52ed42),_0x6acb8b={'name':(_0xaea66e=(_0x74d263=this[_0x4ddf9(0xd6)][_0x4ddf9(0x17e)](this[_0x4ddf9(0x201)],_0x4c1b71))==null?void 0x0:_0x74d263['name'])!=null?_0xaea66e:_0x4ddf9(0x96),'range':this[_0x4ddf9(0xe2)](_0x5527f0,_0x15bd55),'sheetID':_0x5527f0,'color':this['_colorAssignService'][_0x4ddf9(0x273)](_0x4c1b71),'selection':_0x52ed42},_0x3519f7=this[_0x4ddf9(0x21b)];_0x3519f7['set'](_0x4c1b71,_0x6acb8b),this[_0x4ddf9(0x202)]['next'](_0x3519f7);}['_onCursorDelete'](_0x5523bc){const _0x59d7df=_0x6f952d,{memberID:_0x2dc41f}=_0x5523bc[_0x59d7df(0x194)],_0x52c46d=this[_0x59d7df(0x21b)];_0x52c46d[_0x59d7df(0x230)](_0x2dc41f),this[_0x59d7df(0x202)]['next'](_0x52c46d);}[_0x6f952d(0xe2)](_0x5c219f,_0x1dc231){const _0x419600=_0x6f952d;var _0x39da0e,_0x121427;const _0x10c790=(_0x121427=(_0x39da0e=this['_univerInstanceService']['getUniverSheetInstance'](this[_0x419600(0x201)]))==null?void 0x0:_0x39da0e['getSheetBySheetId'](_0x5c219f))==null?void 0x0:_0x121427[_0x419600(0xf1)]();return(_0x10c790==null?void 0x0:_0x10c790['find'](_0x4a56b9=>_0x3024e7[_0x419600(0x1aa)](_0x4a56b9,_0x1dc231)))||_0x1dc231;}['_onRefRangeChange'](){const _0x366627=_0x6f952d,_0x5b6d82=new _0x4b8d95(),_0x50157b=vi(),_0x104080=()=>{const _0x51b69f=_0x1920;_0x5b6d82[_0x51b69f(0x85)]();const _0x3751a9=(_0x44e763,_0x13e23a,_0x26c2c6,_0x2b0614)=>{const _0x58efab=_0x51b69f;let _0x164603=[];switch(_0x44e763['id']){case _0x5cf330[_0x58efab(0x1cc)]:{_0x164603=_0x201fe2(_0x44e763,_0x2b0614);break;}case _0x5cf330['DeleteRangeMoveUpCommandId']:{_0x164603=_0x2eecfe(_0x44e763,_0x2b0614);break;}case _0x5cf330[_0x58efab(0x274)]:{_0x164603=_0x1830f7(_0x44e763,_0x2b0614);break;}case _0x5cf330[_0x58efab(0x245)]:{_0x164603=_0x1b8001(_0x44e763,_0x2b0614);break;}case _0x5cf330[_0x58efab(0x262)]:{_0x164603=_0x2349c2(_0x44e763,_0x2b0614);break;}case _0x5cf330[_0x58efab(0x221)]:{_0x164603=_0x1ea899(_0x44e763,_0x2b0614);break;}case _0x5cf330[_0x58efab(0xc4)]:{_0x164603=_0x51e359(_0x44e763,_0x2b0614);break;}case _0x5cf330[_0x58efab(0x1b6)]:{_0x164603=_0x198690(_0x44e763,_0x2b0614);break;}case _0x5cf330[_0x58efab(0x287)]:{_0x164603=_0x403726(_0x44e763,_0x2b0614);break;}}const _0x39d97c=_0x3882f8(_0x164603,_0x2b0614),_0x36a705=this['cursorInfo'][_0x58efab(0x261)](_0x13e23a);if(_0x36a705&&_0x39d97c){const _0x19231b={..._0x36a705,'range':_0x39d97c};this[_0x58efab(0x21b)][_0x58efab(0x129)](_0x13e23a,_0x19231b),_0x50157b(()=>{const _0x185b7d=_0x58efab,_0x5c3927=this[_0x185b7d(0x178)][_0x185b7d(0x135)](_0x39d97c,_0x25751d=>(_0x5c3927[_0x185b7d(0x85)](),_0x3751a9(_0x25751d,_0x13e23a,_0x26c2c6,_0x39d97c)));_0x5b6d82[_0x185b7d(0x153)](_0x5c3927);});}return{'redos':[],'undos':[]};};this[_0x51b69f(0x21b)][_0x51b69f(0x1f3)]((_0x5c7a5c,_0x2a2d65)=>{const _0x4748a3=_0x51b69f,{range:_0x3fe824,sheetID:_0x187835}=_0x5c7a5c,_0x2129ac=this[_0x4748a3(0x178)][_0x4748a3(0x135)](_0x3fe824,_0x525193=>(_0x2129ac[_0x4748a3(0x85)](),_0x3751a9(_0x525193,_0x2a2d65,_0x187835,_0x3fe824)));_0x5b6d82[_0x4748a3(0x153)](_0x2129ac);});};this[_0x366627(0xc7)](_0x545ea3(this[_0x366627(0x202)][_0x366627(0x1ba)](()=>{_0x104080();})));}['_toggleOnline'](){const _0x5bf3ad=_0x6f952d;var _0x1c1f6d,_0x470ece;if(this['_online']=!0x0,((_0x1c1f6d=this[_0x5bf3ad(0xc9)][_0x5bf3ad(0x1c9)]())==null?void 0x0:_0x1c1f6d[_0x5bf3ad(0x212)]())!==this[_0x5bf3ad(0x201)])return;const _0x349503=(_0x470ece=this[_0x5bf3ad(0x277)][_0x5bf3ad(0x261)](_0x34824b)[_0x5bf3ad(0x208)]())==null?void 0x0:_0x470ece[0x0],_0x71c865=this[_0x5bf3ad(0xc9)][_0x5bf3ad(0x1e4)](_0x1bc251[_0x5bf3ad(0x276)])['getActiveSheet']();_0x349503&&_0x71c865&&this[_0x5bf3ad(0x93)](_0x71c865[_0x5bf3ad(0x14f)](),_0x349503);}[_0x6f952d(0x279)](){this['_online']=!0x1;}};Me=mi([x(0x2,_0x2ad71f(_0x14214c)),x(0x3,_0x2ad71f(ke)),x(0x4,_0x2ad71f(_0x441684)),x(0x5,_0xf38a52),x(0x6,_0x4d6e9b),x(0x7,_0x2ad71f(_0x165ea1))],Me);var pi=Object[_0x6f952d(0x283)],Ci=(_0x5adde7,_0x266084,_0x1ef1d0,_0x2f82b0)=>{const _0x149a45=_0x6f952d;for(var _0x200e6c=_0x2f82b0>0x1?void 0x0:_0x2f82b0?pi(_0x266084,_0x1ef1d0):_0x266084,_0x295a53=_0x5adde7[_0x149a45(0x158)]-0x1,_0x53b2c0;_0x295a53>=0x0;_0x295a53--)(_0x53b2c0=_0x5adde7[_0x295a53])&&(_0x200e6c=_0x53b2c0(_0x200e6c)||_0x200e6c);return _0x200e6c;},Se=(_0x513786,_0x594e46)=>(_0xf85ecc,_0xc2646a)=>_0x594e46(_0xf85ecc,_0xc2646a,_0x513786);let H=class extends _0x5e6d7d{constructor(_0x4e449d,_0x3f9552,_0x2fbc0d){const _0x200f56=_0x6f952d;super(),_(this,'_entities',new Map()),_(this,'_entityInit$',new _0x4f017c()),(this['_univerInstanceService']=_0x4e449d,this['_injector']=_0x3f9552,this['_collabSessionService']=_0x2fbc0d,this[_0x200f56(0x16a)]());}[_0x6f952d(0x85)](){const _0x201e8b=_0x6f952d;super['dispose'](),this['_entityInit$'][_0x201e8b(0x25b)](),this[_0x201e8b(0xdc)][_0x201e8b(0x1f3)](_0x19d676=>_0x19d676[_0x201e8b(0x85)]());}['getCollabCursors$'](_0x20b07a){const _0x40a037=_0x6f952d;return this[_0x40a037(0xdc)][_0x40a037(0x1a8)](_0x20b07a)?this[_0x40a037(0xdc)][_0x40a037(0x261)](_0x20b07a)['cursorInfo$']:this[_0x40a037(0x94)][_0x40a037(0x173)](_0x55040f(_0x561f31=>_0x561f31['unitID']===_0x20b07a),_0x1467e7(_0x90b555=>_0x90b555[_0x40a037(0x223)]));}[_0x6f952d(0x16a)](){const _0x416f7e=_0x6f952d;this[_0x416f7e(0xc9)][_0x416f7e(0x248)](_0x1bc251['UNIVER_SHEET'])[_0x416f7e(0x173)](_0x147fa3(this[_0x416f7e(0x236)]))[_0x416f7e(0x1ba)](async _0x1253c1=>{const _0xdae9e1=_0x416f7e,_0x136130=_0x1253c1[_0xdae9e1(0x212)](),_0x27a3d3=await this[_0xdae9e1(0x11b)](_0x136130);this['_entityInit$'][_0xdae9e1(0xa9)](_0x27a3d3),this[_0xdae9e1(0xdc)]['set'](_0x136130,_0x27a3d3);}),this[_0x416f7e(0xc9)][_0x416f7e(0x248)](_0x1bc251[_0x416f7e(0x263)])[_0x416f7e(0x173)](_0x147fa3(this[_0x416f7e(0x236)]))[_0x416f7e(0x173)](_0x55040f(_0x1035be=>!_0x1035be[_0x416f7e(0x212)]()[_0x416f7e(0x88)]('__')))[_0x416f7e(0x1ba)](async _0x2143f6=>{const _0x50f6b4=_0x416f7e,_0x3d5ccb=_0x2143f6[_0x50f6b4(0x212)](),_0x30325e=await this[_0x50f6b4(0x1ec)](_0x3d5ccb);this[_0x50f6b4(0x94)][_0x50f6b4(0xa9)](_0x30325e),this[_0x50f6b4(0xdc)][_0x50f6b4(0x129)](_0x3d5ccb,_0x30325e);}),_0x1f3a02(this[_0x416f7e(0xc9)][_0x416f7e(0x132)](_0x1bc251[_0x416f7e(0x263)]),this[_0x416f7e(0xc9)][_0x416f7e(0x132)](_0x1bc251[_0x416f7e(0x276)]))['pipe'](_0x147fa3(this[_0x416f7e(0x236)]))[_0x416f7e(0x1ba)](_0x1e40c9=>{const _0x21c9de=_0x416f7e,_0x2e8a06=_0x1e40c9[_0x21c9de(0x212)](),_0x13a8f7=this[_0x21c9de(0xdc)]['get'](_0x2e8a06);_0x13a8f7&&(_0x13a8f7[_0x21c9de(0x85)](),this[_0x21c9de(0xdc)][_0x21c9de(0x230)](_0x2e8a06));});}async[_0x6f952d(0x11b)](_0x45487a){const _0x5a6558=_0x6f952d,_0x4ab8f2=await this[_0x5a6558(0x13d)][_0x5a6558(0x224)](_0x45487a),_0x5e82f1=this['_injector'][_0x5a6558(0x26b)](Me,_0x45487a,_0x4ab8f2);return _0x5e82f1[_0x5a6558(0x13e)](),_0x5e82f1;}async['_startDocCollabCursor'](_0x371552){const _0x33b077=_0x6f952d,_0x3ab0d1=await this['_collabSessionService'][_0x33b077(0x224)](_0x371552),_0x31fac4=this[_0x33b077(0x277)][_0x33b077(0x26b)](Ue,_0x371552,_0x3ab0d1);return _0x31fac4[_0x33b077(0x13e)](),_0x31fac4;}};function _0x1920(_0x676477,_0x340345){const _0x45b592=_0x45b5();return _0x1920=function(_0x192060,_0x192d36){_0x192060=_0x192060-0x7f;let _0x32434c=_0x45b592[_0x192060];return _0x32434c;},_0x1920(_0x676477,_0x340345);}H=Ci([Se(0x0,_0xf38a52),Se(0x1,_0x2ad71f(_0x14214c)),Se(0x2,_0x2ad71f(_0x338fb1))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x220ec2,_0x567849){const _0x299922=_0x6f952d;let {radius:_0x41b19c,width:_0x2a2e63,height:_0x1a4f40}=_0x567849;_0x41b19c=_0x41b19c!=null?_0x41b19c:0x0,_0x2a2e63=_0x2a2e63!=null?_0x2a2e63:0x1e,_0x1a4f40=_0x1a4f40!=null?_0x1a4f40:0x1e;let _0x46925f=0x0,_0x4f4232=0x0,_0x1f2b67=0x0;_0x46925f=_0x4f4232=_0x1f2b67=Math[_0x299922(0x149)](_0x41b19c,_0x2a2e63/0x2,_0x1a4f40/0x2),_0x220ec2[_0x299922(0x218)](),_0x220ec2['moveTo'](_0x46925f,0x0),_0x220ec2[_0x299922(0xec)](_0x2a2e63-_0x4f4232,0x0),_0x220ec2['arc'](_0x2a2e63-_0x4f4232,_0x4f4232,_0x4f4232,Math['PI']*0x3/0x2,0x0,!0x1),_0x220ec2[_0x299922(0xec)](_0x2a2e63,_0x1a4f40-_0x1f2b67),_0x220ec2['arc'](_0x2a2e63-_0x1f2b67,_0x1a4f40-_0x1f2b67,_0x1f2b67,0x0,Math['PI']/0x2,!0x1),_0x220ec2[_0x299922(0xec)](0x0,_0x1a4f40),_0x220ec2[_0x299922(0xec)](0x0,_0x46925f),_0x220ec2[_0x299922(0x206)](_0x46925f,_0x46925f,_0x46925f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x220ec2['closePath'](),_0x567849['fill']&&(_0x220ec2[_0x299922(0x180)](),_0x220ec2[_0x299922(0x288)]=_0x567849['fill'],_0x567849['fillRule']==='evenodd'?_0x220ec2[_0x299922(0x1b0)](_0x299922(0x18c)):_0x220ec2[_0x299922(0x1b0)](),_0x220ec2[_0x299922(0x12a)]());}class he extends _0x2aad57{constructor(_0x218165,_0x4820e6){const _0x29b05a=_0x6f952d;super(_0x218165,_0x4820e6),_(this,_0x29b05a(0x123)),_(this,'text'),(this[_0x29b05a(0x123)]=_0x4820e6==null?void 0x0:_0x4820e6[_0x29b05a(0x123)],this[_0x29b05a(0x1ea)]=_0x4820e6==null?void 0x0:_0x4820e6['text']);}static[_0x6f952d(0xb0)](_0x7cf783,_0x18c9c7){const _0x5e81db=_0x6f952d,{text:_0xbeb977,color:_0x1494c8}=_0x18c9c7;_0x7cf783['save'](),_0x7cf783['font']=_0x5e81db(0x215);const _0x51b689=_0x7cf783['measureText'](_0xbeb977)[_0x5e81db(0x1dd)],_0x40b676=Math['min'](_0x51b689+0x2*me,Qe);Oi(_0x7cf783,{'height':ee,'radius':0x4,'width':_0x40b676,'fill':_0x1494c8}),_0x7cf783[_0x5e81db(0x288)]=_0x5e81db(0x19e);const _0x280edc=me,_0x2cb209=ee-Ei,_0x1ae88a=Qe-0x2*me;if(_0x51b689>_0x1ae88a){let _0xfe3167='',_0x218f14=0x0;for(const _0x49d0ff of _0xbeb977){const _0x5347fa=_0x7cf783[_0x5e81db(0xab)](_0x49d0ff)[_0x5e81db(0x1dd)];if(_0x218f14+_0x5347fa<=_0x1ae88a-_0x7cf783[_0x5e81db(0xab)]('...')[_0x5e81db(0x1dd)])_0xfe3167+=_0x49d0ff,_0x218f14+=_0x5347fa;else{_0xfe3167+=_0x5e81db(0x22e);break;}}_0x7cf783[_0x5e81db(0xd5)](_0xfe3167,_0x280edc,_0x2cb209);}else _0x7cf783[_0x5e81db(0xd5)](_0xbeb977,_0x280edc,_0x2cb209);_0x7cf783[_0x5e81db(0x12a)]();}[_0x6f952d(0x174)](_0x5c0cc6){const _0x586cfb=_0x6f952d;he[_0x586cfb(0xb0)](_0x5c0cc6,this);}}const Ie=_0x6f952d(0x1a9),bi=_0x6f952d(0x200),Ti=_0x6f952d(0xcf),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x6f952d(0x23a);class qe{constructor(_0x13348d,_0x3677f4,_0x51b331,_0x15a07d){const _0x19e23a=_0x6f952d;_(this,'_shapes',[]),_(this,_0x19e23a(0x104),null),_(this,_0x19e23a(0x186),null),_(this,'_anchorDot',null),_(this,_0x19e23a(0xdf),null),_(this,_0x19e23a(0x266),null),(this['_cursor']=_0x13348d,this[_0x19e23a(0x122)]=_0x3677f4,this[_0x19e23a(0x1ca)]=_0x51b331,this[_0x19e23a(0x231)]=_0x15a07d,this[_0x19e23a(0x16d)]());}set['_hover'](_0x15b288){const _0x15a349=_0x6f952d;_0x15b288?(this[_0x15a349(0x1e9)]&&this[_0x15a349(0x1e9)][_0x15a349(0x21e)](),this[_0x15a349(0x186)]&&this['_textBubble'][_0x15a349(0xd2)]()):(this[_0x15a349(0x1e9)]&&this[_0x15a349(0x1e9)][_0x15a349(0xd2)](),this[_0x15a349(0x186)]&&this[_0x15a349(0x186)]['hide']());}['dispose'](){const _0x865a4d=_0x6f952d;for(const _0x368dc5 of this[_0x865a4d(0x228)])_0x368dc5[_0x865a4d(0x85)]();this[_0x865a4d(0x186)]&&this[_0x865a4d(0x186)][_0x865a4d(0x85)](),this[_0x865a4d(0x1e9)]&&this['_anchorDot'][_0x865a4d(0x85)](),this['_anchor']&&this[_0x865a4d(0x104)]['dispose'](),this[_0x865a4d(0x266)]&&this[_0x865a4d(0x266)]();}[_0x6f952d(0x16d)](){const _0x16064a=_0x6f952d;var _0x31f2ca;const {_docSkeleton:_0x3aa9ef,_document:_0x4bf572}=this,{color:_0x29bf96,name:_0x155e6b,ranges:_0x49f0dc}=this[_0x16064a(0x1d8)],_0x2be20e=_0x4bf572[_0x16064a(0x20b)](),{docsLeft:_0x248206,docsTop:_0x59321c}=_0x2be20e,_0x41421f=new _0x311cba(_0x2be20e,_0x3aa9ef);for(const {startOffset:_0x46b061,endOffset:_0x42365a,rangeType:_0x50852e,segmentId:_0x2471a7,segmentPage:_0x3c0e93,collapsed:_0x374307,isActive:_0x52013c}of _0x49f0dc){const _0x334e47=_0x3aa9ef[_0x16064a(0x8e)](_0x46b061,!0x0,_0x2471a7,_0x3c0e93);let _0x569301=_0x3aa9ef[_0x16064a(0x8e)](_0x42365a,!0x0,_0x2471a7,_0x3c0e93);if(_0x569301==null&&(_0x569301=_0x3aa9ef[_0x16064a(0x8e)](_0x42365a-0x1,!0x1,_0x2471a7,_0x3c0e93)),_0x52013c){const {contentBoxPointGroup:_0x3de3bb}=_0x41421f[_0x16064a(0x111)](_0x569301,_0x569301);if(_0x3de3bb[_0x16064a(0x158)]===0x0)continue;this['_drawAnchor'](_0x29bf96,_0x3de3bb,_0x248206,_0x59321c,_0x155e6b),this[_0x16064a(0x266)]=this[_0x16064a(0x10e)]();}if(_0x334e47&&_0x569301){if(_0x50852e===_0x29b49a[_0x16064a(0x1fd)]){const _0x20fe46=new _0x5705f8(_0x2be20e,_0x3aa9ef),{pointGroup:_0x580b7d}=(_0x31f2ca=_0x20fe46[_0x16064a(0x111)](_0x334e47,_0x569301))!=null?_0x31f2ca:{};if(_0x580b7d==null||_0x580b7d[_0x16064a(0x158)]===0x0)continue;this[_0x16064a(0x254)](_0x29bf96,_0x580b7d,_0x248206,_0x59321c);}else{if(!_0x374307){const {borderBoxPointGroup:_0x109572}=_0x41421f[_0x16064a(0x111)](_0x334e47,_0x569301);if(_0x109572[_0x16064a(0x158)]===0x0)continue;this['_drawTextRange'](_0x29bf96,_0x109572,_0x248206,_0x59321c);}}}}}[_0x6f952d(0x12c)](_0x23d122,_0x5d42cc,_0x56c252,_0x1e9f89,_0x24d9b5){const _0x333ce4=_0x6f952d,_0x40e908=this[_0x333ce4(0x24a)](_0x5d42cc),{left:_0x20b0fc,top:_0x2b6809,height:_0x4f0fac}=_0x40e908,_0x35d168=this[_0x333ce4(0xcc)](),_0x35594e=Di/_0x35d168,_0x817c3a=new _0x59c86c(Ie+_0x123dff[_0x333ce4(0x13b)](X),{'left':_0x20b0fc+_0x56c252-_0x35594e,'top':_0x2b6809+_0x1e9f89,'height':_0x4f0fac,'width':Ri,'fill':_0x23d122||_0x36bd5f(_0x56d04f[_0x333ce4(0x152)],0x0),'strokeWidth':_0x35594e,'stroke':Ni,'evented':!0x0});this[_0x333ce4(0x104)]=_0x817c3a,this[_0x333ce4(0x122)][_0x333ce4(0x1ae)](_0x817c3a,_0x2619d5);const _0x554435=new _0x59c86c(Ie+_0x123dff[_0x333ce4(0x13b)](X),{'left':_0x20b0fc+_0x56c252-_0x35594e,'top':_0x2b6809+_0x1e9f89-ge/0x2,'height':ge,'width':ge,'fill':_0x23d122||_0x36bd5f(_0x56d04f[_0x333ce4(0x152)],0x0),'strokeWidth':0x0,'stroke':_0x23d122||_0x36bd5f(_0x56d04f[_0x333ce4(0x152)],0x0),'evented':!0x1});this[_0x333ce4(0x1e9)]=_0x554435,this['_scene'][_0x333ce4(0x1ae)](_0x554435,_0x2619d5);const _0x16c7a3=new he(Ie+_0x123dff[_0x333ce4(0x13b)](X),{'left':_0x20b0fc+_0x56c252-_0x35594e,'top':_0x2b6809+_0x1e9f89-ee,'text':_0x24d9b5,'color':_0x23d122});this[_0x333ce4(0x186)]=_0x16c7a3,this['_scene'][_0x333ce4(0x1ae)](_0x16c7a3,_0x2619d5),this[_0x333ce4(0x1a7)]=!0x1;}[_0x6f952d(0x10e)](){const _0x148e1b=_0x6f952d,_0x1f3c42=this[_0x148e1b(0x104)][_0x148e1b(0x146)][_0x148e1b(0x12e)](()=>{const _0x2e8674=_0x148e1b;this[_0x2e8674(0x1a7)]=!0x0;}),_0x5c4665=this[_0x148e1b(0x104)][_0x148e1b(0x82)][_0x148e1b(0x12e)](()=>{const _0x569177=_0x148e1b;this[_0x569177(0xdf)]&&clearTimeout(this[_0x569177(0xdf)]),this['_hideTimer']=setTimeout(()=>{const _0x9ad591=_0x569177;this[_0x9ad591(0x1a7)]=!0x1;},0x7d0);});return()=>{const _0x2a48b4=_0x148e1b;_0x1f3c42[_0x2a48b4(0x20c)](),_0x5c4665['unsubscribe']();};}[_0x6f952d(0xb9)](_0x1d8124,_0x17624e,_0x16c2fd,_0x5aee84){const _0x5b85e2=_0x6f952d,_0x54bd63=new _0x4fcff7(_0x1d8124)[_0x5b85e2(0x10b)](0.2)[_0x5b85e2(0xf8)](),_0x2459d5=new _0x1f1108(bi+_0x123dff[_0x5b85e2(0x13b)](X),{'pointsGroup':_0x17624e,'fill':_0x54bd63||_0x36bd5f(_0x56d04f[_0x5b85e2(0x152)],0.2),'left':_0x16c2fd,'top':_0x5aee84,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5b85e2(0x228)][_0x5b85e2(0x1a2)](_0x2459d5),this[_0x5b85e2(0x122)][_0x5b85e2(0x1ae)](_0x2459d5,_0x2619d5);}[_0x6f952d(0x254)](_0x4062fa,_0x477cc3,_0x45553c,_0x524641){const _0x5cc75e=_0x6f952d,_0x419981=new _0x4fcff7(_0x4062fa)[_0x5cc75e(0x10b)](0.2)[_0x5cc75e(0xf8)](),_0x15a27d=new _0x1f1108(Ti+_0x123dff[_0x5cc75e(0x13b)](X),{'pointsGroup':_0x477cc3,'fill':_0x419981||_0x36bd5f(_0x56d04f[_0x5cc75e(0x152)],0.2),'left':_0x45553c,'top':_0x524641,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5cc75e(0x228)][_0x5cc75e(0x1a2)](_0x15a27d),this[_0x5cc75e(0x122)][_0x5cc75e(0x1ae)](_0x15a27d,_0x2619d5);}['_getAnchorBounding'](_0x1fc1c9){const _0x58b7a5=_0x1fc1c9[0x0],_0x4dd06c=_0x58b7a5[0x0],_0x18a11f=_0x58b7a5[0x2],{x:_0x32f0ca,y:_0x29e66d}=_0x4dd06c,{x:_0x492ac2,y:_0x40c26c}=_0x18a11f;return{'left':_0x32f0ca,'top':_0x29e66d,'width':_0x492ac2-_0x32f0ca,'height':_0x40c26c-_0x29e66d};}[_0x6f952d(0xcc)](){const _0x317d45=_0x6f952d,{scaleX:_0x2e2611,scaleY:_0x33da26}=this[_0x317d45(0x122)][_0x317d45(0x16c)]();return Math[_0x317d45(0x114)](_0x2e2611,_0x33da26);}}var Ui=Object[_0x6f952d(0x283)],Mi=(_0x380253,_0x3eb862,_0x2e25d3,_0x35012f)=>{const _0x30a92c=_0x6f952d;for(var _0x465dbf=_0x35012f>0x1?void 0x0:_0x35012f?Ui(_0x3eb862,_0x2e25d3):_0x3eb862,_0x484d6e=_0x380253[_0x30a92c(0x158)]-0x1,_0x5322af;_0x484d6e>=0x0;_0x484d6e--)(_0x5322af=_0x380253[_0x484d6e])&&(_0x465dbf=_0x5322af(_0x465dbf)||_0x465dbf);return _0x465dbf;},Z=(_0x3c6bbf,_0x956e97)=>(_0x27fc42,_0x1fc4f4)=>_0x956e97(_0x27fc42,_0x1fc4f4,_0x3c6bbf);let Le=class extends _0x5e6d7d{constructor(_0x5377cd,_0xef4af8,_0x3f45d3,_0x40bc4e,_0x254021){const _0x22f15c=_0x6f952d;super(),_(this,'_cursorShapes',[]),_(this,_0x22f15c(0x187),[]),(this[_0x22f15c(0x1ad)]=_0x5377cd,this[_0x22f15c(0x1f1)]=_0xef4af8,this[_0x22f15c(0x265)]=_0x3f45d3,this[_0x22f15c(0x19c)]=_0x40bc4e,this[_0x22f15c(0x256)]=_0x254021,this[_0x22f15c(0x16a)]());}[_0x6f952d(0x16a)](){const _0x8440c3=_0x6f952d,_0x165433=this[_0x8440c3(0x1ad)][_0x8440c3(0xb7)],_0x167b4f=this[_0x8440c3(0x1f1)];this[_0x8440c3(0xc7)](_0x334567([this[_0x8440c3(0x265)][_0x8440c3(0x183)](_0x165433),this[_0x8440c3(0x256)]['currentTheme$']])['pipe'](_0x31365f(([_0xd5e4c4,_0x4447e9])=>({'skeleton':_0x167b4f[_0x8440c3(0x10c)](),'cursors':[..._0xd5e4c4[_0x8440c3(0x176)]()]['flatMap'](_0x4f3ac4=>({..._0x4f3ac4,'color':this[_0x8440c3(0x256)][_0x8440c3(0x179)](_0x4f3ac4[_0x8440c3(0x123)])}))})))[_0x8440c3(0x1ba)](_0x4729cc=>{const _0x370765=_0x8440c3;if(this[_0x370765(0x1f5)](),_0x4729cc){const {skeleton:_0x3d5b84,cursors:_0x3bdaf4}=_0x4729cc;this[_0x370765(0x16b)](_0x3d5b84,_0x3bdaf4);}})),this[_0x8440c3(0xc3)](),this[_0x8440c3(0x15d)]();}[_0x6f952d(0x16b)](_0x4d639c,_0x39d828){const _0x3443eb=_0x6f952d,{scene:_0x423c1d,mainComponent:_0x795882}=this[_0x3443eb(0x1ad)],_0x25d9ba=_0x39d828[_0x3443eb(0x207)](_0x3cc42b=>new qe(_0x3cc42b,_0x423c1d,_0x4d639c,_0x795882));this[_0x3443eb(0x267)]=_0x25d9ba,this['_cursors']=_0x39d828;}[_0x6f952d(0x99)](){const _0x53b09a=_0x6f952d;this['_removeCollabCursors']();const {scene:_0x23f773,mainComponent:_0x2e619e}=this[_0x53b09a(0x1ad)],_0x13be0a=this[_0x53b09a(0x1f1)][_0x53b09a(0x10c)](),_0x3a60c1=this[_0x53b09a(0x187)][_0x53b09a(0x207)](_0x2ee401=>new qe(_0x2ee401,_0x23f773,_0x13be0a,_0x2e619e));this['_cursorShapes']=_0x3a60c1;}[_0x6f952d(0x1f5)](){const _0x4870bc=_0x6f952d;this[_0x4870bc(0x267)][_0x4870bc(0x1f3)](_0x2c1f4c=>_0x2c1f4c[_0x4870bc(0x85)]()),this[_0x4870bc(0x267)]=[];}[_0x6f952d(0x15d)](){const _0x12c48e=_0x6f952d,_0x1bcfc8=[_0x3d0060['id']];this['disposeWithMe'](this[_0x12c48e(0x19c)][_0x12c48e(0x97)](_0x355cb8=>{const _0x2f783c=_0x12c48e;_0x1bcfc8[_0x2f783c(0x26e)](_0x355cb8['id'])&&_0x355cb8[_0x2f783c(0x80)]['unitId']===this['_context'][_0x2f783c(0xb7)]&&this[_0x2f783c(0x99)]();}));}[_0x6f952d(0xc3)](){const _0x14f772=_0x6f952d;this[_0x14f772(0xc7)](_0x1c819b(this[_0x14f772(0x1ad)][_0x14f772(0x8a)][_0x14f772(0xc0)])[_0x14f772(0x173)](_0x581d51(_0x57dca9=>_0x57dca9['type']===_0x47e241[_0x14f772(0x110)]),_0x19b056(0x10))[_0x14f772(0x1ba)](()=>{const _0x5bef9e=_0x14f772;this[_0x5bef9e(0x99)]();}));}};Le=Mi([Z(0x1,_0x2ad71f(_0x500202)),Z(0x2,_0x2ad71f(H)),Z(0x3,_0x4d6e9b),Z(0x4,_0x2ad71f(_0x2005fd))],Le);const Li=0x1,Pi=1.5;class wi extends _0x2aad57{constructor(_0x14713b,_0x36bb44){const _0x2e06a6=_0x6f952d;super(_0x14713b,_0x36bb44),_(this,_0x2e06a6(0x25e)),_(this,_0x2e06a6(0x25c),!0x1),_(this,_0x2e06a6(0x1cb)),_(this,'_name',''),_(this,_0x2e06a6(0xc2),_0x2e06a6(0xa0)),_(this,_0x2e06a6(0x1da)),(_0x36bb44&&this[_0x2e06a6(0x11a)](_0x36bb44),this[_0x2e06a6(0x146)][_0x2e06a6(0x12e)](()=>this[_0x2e06a6(0x11a)]({'hovered':!0x0})),this[_0x2e06a6(0x82)][_0x2e06a6(0x12e)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x6f952d(0x11a)](_0x261a26){const _0x42fdd1=_0x6f952d;var _0x17ac35,_0x838f8b,_0x67b0ea,_0x59bb1c,_0x393484,_0x1d56b9;this[_0x42fdd1(0x25e)]=(_0x17ac35=_0x261a26[_0x42fdd1(0x123)])!=null?_0x17ac35:this['_color'],this[_0x42fdd1(0x25c)]=(_0x838f8b=_0x261a26[_0x42fdd1(0x205)])!=null?_0x838f8b:this[_0x42fdd1(0x25c)],this[_0x42fdd1(0x1cb)]=(_0x67b0ea=_0x261a26[_0x42fdd1(0x1d6)])!=null?_0x67b0ea:this[_0x42fdd1(0x1cb)],this['_name']=(_0x59bb1c=_0x261a26[_0x42fdd1(0x25d)])!=null?_0x59bb1c:this[_0x42fdd1(0xe9)],this['_labelPosition']=(_0x393484=_0x261a26[_0x42fdd1(0x1c0)])!=null?_0x393484:this['_labelPosition'],this[_0x42fdd1(0x1da)]=(_0x1d56b9=_0x261a26['backgroundColor'])!=null?_0x1d56b9:this[_0x42fdd1(0x1da)],this[_0x42fdd1(0x289)]({'width':_0x261a26['width'],'height':_0x261a26[_0x42fdd1(0x148)]});}['onMouseMove'](_0x47aa36){const _0x20f38c=_0x6f952d,{row:_0x11ca41,column:_0x56cc68}=_0x47aa36;if(_0x11ca41>=this['_range'][_0x20f38c(0x225)]&&_0x11ca41<=this[_0x20f38c(0x1cb)][_0x20f38c(0x169)]&&_0x56cc68>=this[_0x20f38c(0x1cb)][_0x20f38c(0x24f)]&&_0x56cc68<=this[_0x20f38c(0x1cb)][_0x20f38c(0x25f)]){this[_0x20f38c(0x11a)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x6f952d(0x15c)](_0x255e1e){return!0x1;}['_draw'](_0x50695e){const _0x9a93a=_0x6f952d;_0x59c86c[_0x9a93a(0xb0)](_0x50695e,{'width':this[_0x9a93a(0x1dd)],'height':this['height'],'strokeWidth':Pi,'stroke':this[_0x9a93a(0x25e)],'evented':!0x1,'fill':this[_0x9a93a(0x1da)]}),this[_0x9a93a(0x25c)]&&(_0x50695e[_0x9a93a(0x180)](),_0x50695e[_0x9a93a(0x268)](0x1,0x0,0x0,0x1,this[_0x9a93a(0x1dd)],this[_0x9a93a(0xc2)]===_0x9a93a(0x22f)?0x0:-0x14),he[_0x9a93a(0xb0)](_0x50695e,{'text':this[_0x9a93a(0xe9)],'color':this['_color']}),_0x50695e[_0x9a93a(0x12a)]());}}var Ai=Object['getOwnPropertyDescriptor'],yi=(_0x182f01,_0x503d50,_0x108e35,_0x48f9b1)=>{const _0x5d06c4=_0x6f952d;for(var _0x11afd0=_0x48f9b1>0x1?void 0x0:_0x48f9b1?Ai(_0x503d50,_0x108e35):_0x503d50,_0x26fb8a=_0x182f01[_0x5d06c4(0x158)]-0x1,_0x58ef8f;_0x26fb8a>=0x0;_0x26fb8a--)(_0x58ef8f=_0x182f01[_0x26fb8a])&&(_0x11afd0=_0x58ef8f(_0x11afd0)||_0x11afd0);return _0x11afd0;},ve=(_0x593ffd,_0x51abeb)=>(_0x59cb1e,_0x1ebdae)=>_0x51abeb(_0x59cb1e,_0x1ebdae,_0x593ffd);const $i=0x1389;let Pe=class extends _0x5e6d7d{constructor(_0x1f76e6,_0x544e18,_0x44d41f,_0x170fe8){const _0xaa6cde=_0x6f952d;super(),_(this,_0xaa6cde(0x187),new Set()),_(this,'_lastPointer',null),(this[_0xaa6cde(0x1ad)]=_0x1f76e6,this[_0xaa6cde(0x1bb)]=_0x544e18,this[_0xaa6cde(0x265)]=_0x44d41f,this['_themeService']=_0x170fe8,this[_0xaa6cde(0x16a)]());}[_0x6f952d(0x16a)](){const _0x3f9cf3=_0x6f952d;this[_0x3f9cf3(0x1bb)][_0x3f9cf3(0x28a)][_0x3f9cf3(0x173)](_0x227a8e(this[_0x3f9cf3(0x236)]),_0x37011b(_0x327944=>{const _0x4a6fe5=_0x3f9cf3;if(_0x327944){const _0x514492=_0x327944[_0x4a6fe5(0x1de)];return _0x334567(this[_0x4a6fe5(0x265)]['getCollabCursors$'](this[_0x4a6fe5(0x1ad)][_0x4a6fe5(0xb7)]),this[_0x4a6fe5(0x256)][_0x4a6fe5(0x27c)])[_0x4a6fe5(0x173)](_0x31365f(([_0xa95cc4,_0x508c1c])=>{const _0x53ddf1=_0x4a6fe5,_0x20b239=new Map();return _0xa95cc4[_0x53ddf1(0x1f3)]((_0x415f8b,_0x444854)=>{const _0x12ac0b=_0x53ddf1;if(_0x415f8b[_0x12ac0b(0x1a5)]===_0x514492){const _0x15c775={..._0x415f8b};_0x15c775[_0x12ac0b(0x123)]=this[_0x12ac0b(0x256)][_0x12ac0b(0x179)](_0x415f8b[_0x12ac0b(0x123)]),_0x20b239[_0x12ac0b(0x129)](_0x444854,_0x15c775);}}),{'skeleton':_0x327944,'cursors':_0x20b239};}));}return _0x436a93({'skeleton':null,'cursors':new Map()});}))[_0x3f9cf3(0x1ba)](({skeleton:_0x3f7abe,cursors:_0x48f0e7})=>{const _0x337302=_0x3f9cf3;this['_removeCollabCursors'](),_0x3f7abe&&this[_0x337302(0x16b)](_0x3f7abe,_0x48f0e7);}),this['_sheetSkeletonManagerService'][_0x3f9cf3(0x28a)][_0x3f9cf3(0x1ba)](_0x13ab54=>{const _0x32d0f9=_0x3f9cf3;if(_0x13ab54==null)return;const {skeleton:_0x4ed6b7}=_0x13ab54,{scene:_0x19c185}=this[_0x32d0f9(0x1ad)];_0x19c185['onPointerMove$'][_0x32d0f9(0x12e)](_0x59d06b(_0x5df757=>{const _0x9b849c=_0x32d0f9;var _0x3cb6ed,_0x20ca3e;const {offsetX:_0x336bb2,offsetY:_0x3b010e}=_0x5df757,{x:_0x5f30c1,y:_0x8f3254}=_0x19c185[_0x9b849c(0x1ac)](_0x5c7f08[_0x9b849c(0x89)]([_0x336bb2,_0x3b010e])),{scaleX:_0x1b63b2,scaleY:_0x186477}=_0x19c185[_0x9b849c(0x16c)](),_0x5728f2=_0x19c185['getViewport'](_0x4effea[_0x9b849c(0x19d)]),_0x45cfb1=_0x19c185['getVpScrollXYInfoByPosToVp'](_0x5c7f08['FromArray']([_0x5f30c1,_0x8f3254]),_0x5728f2),_0x149867=_0x4ed6b7[_0x9b849c(0x171)](_0x336bb2,_0x3b010e,_0x1b63b2,_0x186477,_0x45cfb1);((_0x3cb6ed=this[_0x9b849c(0xf9)])==null?void 0x0:_0x3cb6ed[_0x9b849c(0x198)])===_0x149867[_0x9b849c(0x198)]&&((_0x20ca3e=this[_0x9b849c(0xf9)])==null?void 0x0:_0x20ca3e['row'])===_0x149867['row']||this['_cursors']['forEach'](_0x3a5011=>{const _0x47ee4b=_0x9b849c;_0x3a5011[_0x47ee4b(0x1dc)](_0x149867);});},0x64));});}['_updateCollabCursors'](_0x34c62e,_0x34328b){const _0x3f5732=_0x6f952d;var _0x19a010;const _0xaef386=(_0x19a010=this[_0x3f5732(0x1bb)]['getCurrent']())==null?void 0x0:_0x19a010['skeleton'];if(!_0xaef386)return;const _0x2797c9=this[_0x3f5732(0x1cd)]();if(!_0x2797c9)return;this[_0x3f5732(0x187)][_0x3f5732(0x1f3)](_0x41b154=>{const _0x2273b4=_0x3f5732;_0x41b154[_0x2273b4(0xb8)]();});const {scene:_0x4dfccb}=_0x2797c9,_0x22d24b=xi(Array[_0x3f5732(0x196)](_0x34328b['values']()))['map'](_0x5e742f=>{const _0x4f9040=_0x3f5732,{color:_0x590234,range:_0x143e04,name:_0x1272f5,selection:_0xf6f878,sheetID:_0x4a40b2}=_0x5e742f,{startColumn:_0x1dc3cd,startRow:_0x2f51cb,endColumn:_0x3802c0,endRow:_0x4b59b8}=_0x143e04,_0x40a097=_0xa0c449(_0x2f51cb,_0x1dc3cd,_0x4dfccb,_0xaef386),_0x32623c=_0xa0c449(_0x4b59b8,_0x3802c0,_0x4dfccb,_0xaef386),{columnHeaderHeightAndMarginTop:_0xb420b1}=_0xaef386,{startX:_0x3a2d4e,startY:_0x678676}=_0x40a097,{endX:_0x3bc633,endY:_0x19a3dc}=_0x32623c,_0x58f80c=_0x3bc633-_0x3a2d4e,_0x6faeca=_0x19a3dc-_0x678676,_0x21cfc5={'labelPosition':_0x678676-_0xb420b1>=ee?_0x4f9040(0xa0):'bottom','sheetID':_0x4a40b2,'range':_0x143e04,'color':_0x590234,'name':_0x1272f5,'selection':_0xf6f878,'left':_0x3a2d4e,'top':_0x678676,'width':_0x58f80c,'height':_0x6faeca,'evented':!0x1,'zIndex':$i};return new wi(_0x1272f5,_0x21cfc5);});_0x4dfccb[_0x3f5732(0x27d)](_0x22d24b,Li),this['_cursors']=new Set(_0x22d24b);}['_removeCollabCursors'](){const _0xc1456c=_0x6f952d;var _0x912e40;(_0x912e40=this['_cursors'])==null||_0x912e40[_0xc1456c(0x1f3)](_0x46de03=>_0x46de03[_0xc1456c(0x85)]());}['_getSheetObject'](){const _0x5d26c6=_0x6f952d;return _0x2c8e5f(this[_0x5d26c6(0x1ad)][_0x5d26c6(0xda)],this[_0x5d26c6(0x1ad)]);}};Pe=yi([ve(0x1,_0x2ad71f(_0x4beabc)),ve(0x2,_0x2ad71f(H)),ve(0x3,_0x2ad71f(_0x2005fd))],Pe);function xi(_0x1fcf0b){const _0x4b9d9c=_0x6f952d,_0x4fbd35=new Map();return _0x1fcf0b[_0x4b9d9c(0x1f3)](_0x3f1415=>{const _0x68f08f=_0x4b9d9c;if(_0x4fbd35[_0x68f08f(0x1a8)](_0x3f1415[_0x68f08f(0x175)])){const _0x5c13ae=_0x4fbd35[_0x68f08f(0x261)](_0x3f1415[_0x68f08f(0x175)]);_0x5c13ae['name']+=',\x20'+_0x3f1415[_0x68f08f(0x25d)];}else _0x4fbd35[_0x68f08f(0x129)](_0x3f1415[_0x68f08f(0x175)],_0x3f1415);}),Array[_0x4b9d9c(0x196)](_0x4fbd35['values']());}var v=function(){const _0x38e8a1=_0x6f952d;return v=Object[_0x38e8a1(0x281)]||function(_0x5b8939){const _0xa82f8a=_0x38e8a1;for(var _0x45ba42,_0xb28978=0x1,_0x39cb33=arguments[_0xa82f8a(0x158)];_0xb28978<_0x39cb33;_0xb28978++){_0x45ba42=arguments[_0xb28978];for(var _0x4c7b25 in _0x45ba42)Object[_0xa82f8a(0x1f9)][_0xa82f8a(0x170)]['call'](_0x45ba42,_0x4c7b25)&&(_0x5b8939[_0x4c7b25]=_0x45ba42[_0x4c7b25]);}return _0x5b8939;},v[_0x38e8a1(0x14a)](this,arguments);},Bi=function(_0x50347c,_0x20bffc){const _0x335e6d=_0x6f952d;var _0x10b020={};for(var _0x4a0318 in _0x50347c)Object[_0x335e6d(0x1f9)][_0x335e6d(0x170)][_0x335e6d(0x229)](_0x50347c,_0x4a0318)&&_0x20bffc[_0x335e6d(0x214)](_0x4a0318)<0x0&&(_0x10b020[_0x4a0318]=_0x50347c[_0x4a0318]);if(_0x50347c!=null&&typeof Object[_0x335e6d(0x16f)]==_0x335e6d(0x16e)){for(var _0x5af69f=0x0,_0x4a0318=Object[_0x335e6d(0x16f)](_0x50347c);_0x5af69f<_0x4a0318[_0x335e6d(0x158)];_0x5af69f++)_0x20bffc['indexOf'](_0x4a0318[_0x5af69f])<0x0&&Object['prototype']['propertyIsEnumerable'][_0x335e6d(0x229)](_0x50347c,_0x4a0318[_0x5af69f])&&(_0x10b020[_0x4a0318[_0x5af69f]]=_0x50347c[_0x4a0318[_0x5af69f]]);}return _0x10b020;},Fe=_0x2fd603(function(_0x224c88,_0x30f5c3){const _0x31140b=_0x6f952d;var _0x366f63=_0x224c88[_0x31140b(0xde)],_0x50f278=_0x224c88['id'],_0x5a24b1=_0x224c88[_0x31140b(0x1fe)],_0x1e3e78=_0x224c88[_0x31140b(0x195)],_0x3209bf=Bi(_0x224c88,['icon','id',_0x31140b(0x1fe),_0x31140b(0x195)]),_0x24e7a9='univerjs-icon\x20univerjs-icon-'['concat'](_0x50f278,'\x20')[_0x31140b(0x24d)](_0x5a24b1||'')[_0x31140b(0xb3)](),_0x114722=_0x24d2a2('_'[_0x31140b(0x24d)](Fi()));return Rt(_0x366f63,''[_0x31140b(0x24d)](_0x50f278),{'defIds':_0x366f63[_0x31140b(0x150)],'idSuffix':_0x114722[_0x31140b(0xcd)]},v({'ref':_0x30f5c3,'className':_0x24e7a9},_0x3209bf),_0x1e3e78);});function Rt(_0x19dd07,_0x4c1184,_0x4a5c58,_0x4d4776,_0x250fa3){const _0x4b828d=_0x6f952d;return _0x672ee0(_0x19dd07[_0x4b828d(0x247)],v(v({'key':_0x4c1184},ki(_0x19dd07,_0x4a5c58,_0x250fa3)),_0x4d4776),(Hi(_0x19dd07,_0x4a5c58)[_0x4b828d(0x86)]||[])[_0x4b828d(0x207)](function(_0x4dc14a,_0x5bff15){const _0x1953de=_0x4b828d;return Rt(_0x4dc14a,''[_0x1953de(0x24d)](_0x4c1184,'-')[_0x1953de(0x24d)](_0x19dd07[_0x1953de(0x247)],'-')[_0x1953de(0x24d)](_0x5bff15),_0x4a5c58,void 0x0,_0x250fa3);}));}function ki(_0x4b1b1a,_0x362ada,_0x700cb){const _0x2950e2=_0x6f952d;var _0x1a8d65=v({},_0x4b1b1a['attrs']);_0x700cb!=null&&_0x700cb[_0x2950e2(0xf2)]&&_0x1a8d65['fill']==='colorChannel1'&&(_0x1a8d65[_0x2950e2(0x1b0)]=_0x700cb[_0x2950e2(0xf2)]),_0x4b1b1a[_0x2950e2(0x247)]==='mask'&&_0x1a8d65['id']&&(_0x1a8d65['id']=_0x1a8d65['id']+_0x362ada[_0x2950e2(0x118)]),Object[_0x2950e2(0x117)](_0x1a8d65)[_0x2950e2(0x1f3)](function(_0x23077e){const _0x225213=_0x2950e2;var _0x3cdb01=_0x23077e[0x0],_0x2659b7=_0x23077e[0x1];_0x3cdb01==='mask'&&typeof _0x2659b7=='string'&&(_0x1a8d65[_0x3cdb01]=_0x2659b7[_0x225213(0x9c)](/url\(#(.*)\)/,'url(#$1'[_0x225213(0x24d)](_0x362ada['idSuffix'],')')));});var _0x1512c7=_0x362ada[_0x2950e2(0x150)];return!_0x1512c7||_0x1512c7['length']===0x0||(_0x4b1b1a[_0x2950e2(0x247)]===_0x2950e2(0x15b)&&_0x1a8d65[_0x2950e2(0x120)]&&(_0x1a8d65[_0x2950e2(0x120)]=_0x1a8d65[_0x2950e2(0x120)]+_0x362ada[_0x2950e2(0x118)]),Object['entries'](_0x1a8d65)[_0x2950e2(0x1f3)](function(_0x3671f7){const _0xc7b619=_0x2950e2;var _0x1954d5=_0x3671f7[0x0],_0x510f17=_0x3671f7[0x1];typeof _0x510f17==_0xc7b619(0x19b)&&(_0x1a8d65[_0x1954d5]=_0x510f17[_0xc7b619(0x9c)](/url\(#(.*)\)/,_0xc7b619(0x162)[_0xc7b619(0x24d)](_0x362ada[_0xc7b619(0x118)],')')));})),_0x1a8d65;}function Hi(_0x179225,_0x4c59ac){const _0x43f580=_0x6f952d;var _0x210de3,_0x3fff36=_0x4c59ac[_0x43f580(0x150)];return!_0x3fff36||_0x3fff36[_0x43f580(0x158)]===0x0?_0x179225:_0x179225[_0x43f580(0x247)]===_0x43f580(0x24e)&&(!((_0x210de3=_0x179225[_0x43f580(0x86)])===null||_0x210de3===void 0x0)&&_0x210de3[_0x43f580(0x158)])?v(v({},_0x179225),{'children':_0x179225['children'][_0x43f580(0x207)](function(_0x5ac2e1){const _0x39d41b=_0x43f580;return typeof _0x5ac2e1['attrs']['id']==_0x39d41b(0x19b)&&_0x3fff36&&_0x3fff36[_0x39d41b(0x26e)](_0x5ac2e1[_0x39d41b(0x1ed)]['id'])?v(v({},_0x5ac2e1),{'attrs':v(v({},_0x5ac2e1[_0x39d41b(0x1ed)]),{'id':_0x5ac2e1[_0x39d41b(0x1ed)]['id']+_0x4c59ac['idSuffix']})}):_0x5ac2e1;})}):_0x179225;}function Fi(){const _0x52cd2a=_0x6f952d;return Math['random']()['toString'](0x24)[_0x52cd2a(0x1e5)](0x2,0x8);}Fe[_0x6f952d(0x1b3)]=_0x6f952d(0x9a);var Yi={'tag':_0x6f952d(0x1b9),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x6f952d(0x84),'viewBox':_0x6f952d(0x168),'width':_0x6f952d(0x1e2),'height':_0x6f952d(0x1e2)},'children':[{'tag':'g','attrs':{'clipPath':_0x6f952d(0x91)},'children':[{'tag':_0x6f952d(0x159),'attrs':{'stroke':_0x6f952d(0x1f4),'d':_0x6f952d(0x18b),'strokeLinecap':'round','strokeLinejoin':_0x6f952d(0x210),'strokeWidth':1.2}}]},{'tag':_0x6f952d(0x24e),'attrs':{},'children':[{'tag':_0x6f952d(0x20f),'attrs':{'id':_0x6f952d(0x27e)},'children':[{'tag':_0x6f952d(0x159),'attrs':{'fill':_0x6f952d(0x98),'d':_0x6f952d(0xb6)}}]}]}],'defIds':[_0x6f952d(0x27e)]},Dt=_0x2fd603(function(_0x47b312,_0x560d9e){const _0x1c4437=_0x6f952d;return _0x672ee0(Fe,Object[_0x1c4437(0x281)]({},_0x47b312,{'id':'off-line-icon','ref':_0x560d9e,'icon':Yi}));});Dt[_0x6f952d(0x1b3)]=_0x6f952d(0xe0);var ji={'tag':_0x6f952d(0x1b9),'attrs':{'xmlns':_0x6f952d(0x1bc),'fill':'none','viewBox':_0x6f952d(0x1a4),'width':'1em','height':_0x6f952d(0x1e2)},'children':[{'tag':'g','attrs':{'clipPath':_0x6f952d(0x243)},'children':[{'tag':_0x6f952d(0x159),'attrs':{'stroke':'currentColor','d':_0x6f952d(0x15e),'strokeLinecap':_0x6f952d(0x210),'strokeLinejoin':_0x6f952d(0x210),'strokeWidth':1.2}}]},{'tag':_0x6f952d(0x24e),'attrs':{},'children':[{'tag':_0x6f952d(0x20f),'attrs':{'id':_0x6f952d(0x251)},'children':[{'tag':_0x6f952d(0x159),'attrs':{'fill':_0x6f952d(0x98),'d':_0x6f952d(0xb6),'transform':_0x6f952d(0x131)}}]}]}],'defIds':[_0x6f952d(0x251)]},Nt=_0x2fd603(function(_0x595bcd,_0x38c86d){const _0x27eb62=_0x6f952d;return _0x672ee0(Fe,Object[_0x27eb62(0x281)]({},_0x595bcd,{'id':_0x27eb62(0xef),'ref':_0x38c86d,'icon':ji}));});Nt[_0x6f952d(0x1b3)]=_0x6f952d(0x233);function Vi(_0x31b402){const _0x243355=_0x6f952d;switch(_0x31b402){case _0x2cb0a0[_0x243355(0x213)]:return _0x243355(0x282);case _0x2cb0a0[_0x243355(0x199)]:return _0x243355(0x15a);case _0x2cb0a0[_0x243355(0xee)]:return'collabStatus.fetchMiss';case _0x2cb0a0[_0x243355(0x1ef)]:return _0x243355(0x1b8);case _0x2cb0a0['AWAITING']:case _0x2cb0a0[_0x243355(0xff)]:return _0x243355(0x26f);case _0x2cb0a0[_0x243355(0x17c)]:case _0x2cb0a0['PENDING']:return'collabStatus.synced';}}function Wi(_0x12ca98){const _0x223037=_0x6f952d,{status$:_0x2cbcb0}=_0x12ca98,_0x4eebb4=_0x2b77a4(_0x2cbcb0,_0x2cb0a0['NOT_COLLAB']),_0x3d1137=_0x12e57b(_0x1d6e14),_0x31eef6=_0x12e57b(_0x338fb1),_0x421622=_0x4eebb4!==_0x2cb0a0[_0x223037(0x213)],_0x257d67=_0x3d1137['t'](Vi(_0x4eebb4)),_0x42856e=_0x421622?_0x40946b(Nt,{}):_0x40946b(Dt,{}),_0x46e623=_0x26d198(()=>{const _0x47308a=_0x223037;_0x421622||_0x31eef6[_0x47308a(0xf3)]();},[_0x421622,_0x31eef6]);function _0xfd93e7(){const _0xbfbd2a=_0x223037;return _0x5c1e11(_0xbfbd2a(0x133),{'className':_0xbfbd2a(0xd3),'onClick':_0x46e623,'children':[_0x40946b(_0xbfbd2a(0x133),{'className':_0x2454df(_0xbfbd2a(0x87),{'univer-text-green-500':_0x421622,'univer-text-red-500':!_0x421622}),'children':_0x42856e}),_0x40946b(_0xbfbd2a(0x133),{'className':_0xbfbd2a(0xbb),'children':_0x257d67})]});}return _0x421622?_0xfd93e7():_0x40946b(_0x43ed71,{'title':_0x3d1137['t']('collab-client.tooltip.reconnect'),'children':_0xfd93e7()});}var Xi=Object[_0x6f952d(0x283)],Gi=(_0x414ba4,_0x10814b,_0x37aac5,_0x45965b)=>{const _0x4edf90=_0x6f952d;for(var _0x58679a=_0x45965b>0x1?void 0x0:_0x45965b?Xi(_0x10814b,_0x37aac5):_0x10814b,_0x4ee47b=_0x414ba4[_0x4edf90(0x158)]-0x1,_0x2e1b87;_0x4ee47b>=0x0;_0x4ee47b--)(_0x2e1b87=_0x414ba4[_0x4ee47b])&&(_0x58679a=_0x2e1b87(_0x58679a)||_0x58679a);return _0x58679a;},Q=(_0x36fc8a,_0x2cdda7)=>(_0x3df21b,_0x157102)=>_0x2cdda7(_0x3df21b,_0x157102,_0x36fc8a);let te=class extends _0x314d20{constructor(_0x274a09,_0x342019,_0x1f57f1,_0x548e89){const _0x4e1f30=_0x6f952d;super(),_(this,_0x4e1f30(0x138),new _0x25ddca(_0x2cb0a0[_0x4e1f30(0x1ef)])),(this[_0x4e1f30(0xc9)]=_0x274a09,this['_injector']=_0x342019,this['_collaborationController']=_0x1f57f1,this[_0x4e1f30(0x278)]=_0x548e89,this[_0x4e1f30(0x12d)](),this['_initStatusListener']());}[_0x6f952d(0x239)](){const _0x4febfb=_0x6f952d;this[_0x4febfb(0xc7)](this['_univerInstanceService'][_0x4febfb(0x226)][_0x4febfb(0x173)](_0x1467e7(()=>{const _0x2e6818=_0x4febfb,_0x2047b1=this[_0x2e6818(0xc9)]['getFocusedUnit']();return _0x2047b1?this[_0x2e6818(0x116)]['getCollabEntity$'](_0x2047b1[_0x2e6818(0x212)]()):_0x436a93(null);}),_0x1467e7(_0x428698=>_0x428698?_0x428698[_0x4febfb(0x7f)]:_0x436a93(_0x2cb0a0[_0x4febfb(0x1ef)])))[_0x4febfb(0x1ba)](_0xbef3dc=>{const _0xb5492b=_0x4febfb;this['_status$'][_0xb5492b(0xa9)](_0xbef3dc);}));}['_initStatusComponent'](){const _0x1939c1=_0x6f952d;this['disposeWithMe'](this['_uiPartsService']['registerComponent'](_0x344b76[_0x1939c1(0x26d)],()=>_0x283f2b(Ki({'status$':this[_0x1939c1(0x138)][_0x1939c1(0xa1)]()}),this[_0x1939c1(0x277)])));}};te=Gi([Q(0x0,_0xf38a52),Q(0x1,_0x2ad71f(_0x14214c)),Q(0x2,_0x2ad71f(_0x2b30d1)),Q(0x3,_0x5a568b)],te);function Ki(_0x22466f){const {status$:_0x8b5d91}=_0x22466f;return function(){return _0x40946b(Wi,{'status$':_0x8b5d91});};}var zi=Object[_0x6f952d(0x283)],Ji=(_0x4530f1,_0x5c8c8c,_0x220e48,_0x6afa)=>{const _0x2a6640=_0x6f952d;for(var _0x37656c=_0x6afa>0x1?void 0x0:_0x6afa?zi(_0x5c8c8c,_0x220e48):_0x5c8c8c,_0x15ed12=_0x4530f1[_0x2a6640(0x158)]-0x1,_0x35e14c;_0x15ed12>=0x0;_0x15ed12--)(_0x35e14c=_0x4530f1[_0x15ed12])&&(_0x37656c=_0x35e14c(_0x37656c)||_0x37656c);return _0x37656c;},B=(_0x9e39d1,_0x2eb5b9)=>(_0x4596a4,_0x23c836)=>_0x2eb5b9(_0x4596a4,_0x23c836,_0x9e39d1);let se=class extends _0x314d20{constructor(_0x32c091,_0x564c8a,_0x35f3e0,_0x352af0,_0x4b333f,_0x87d06){const _0x337ccb=_0x6f952d;super(),this['_beforeCloseService']=_0x32c091,this[_0x337ccb(0x27f)]=_0x564c8a,this[_0x337ccb(0xeb)]=_0x35f3e0,this[_0x337ccb(0x8b)]=_0x352af0,this[_0x337ccb(0x83)]=_0x4b333f,this['_localeService']=_0x87d06,this[_0x337ccb(0x22b)](),this[_0x337ccb(0x113)]();}[_0x6f952d(0x22b)](){const _0x305b33=_0x6f952d;this[_0x305b33(0xc7)](this[_0x305b33(0x217)][_0x305b33(0x1c2)](()=>{const _0x3deb20=_0x305b33;if(this[_0x3deb20(0x27f)][_0x3deb20(0x105)][_0x3deb20(0x142)])return this[_0x3deb20(0xe8)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x6f952d(0x113)](){const _0x440d40=_0x6f952d;this[_0x440d40(0xc7)](this['_collaborationUIEventService'][_0x440d40(0x1d4)][_0x440d40(0x1ba)](_0x2bd661=>{const _0x190cf2=_0x440d40;_0x2bd661['id']===_0x117633['OTHER_CLIENT_EDITING']&&this[_0x190cf2(0x8b)][_0x190cf2(0xd2)]({'type':_0x1ad4d0[_0x190cf2(0xed)],'content':this[_0x190cf2(0xe8)]['t'](_0x190cf2(0x1f2))}),_0x2bd661['id']===_0x117633[_0x190cf2(0x101)]&&this[_0x190cf2(0x8b)][_0x190cf2(0xd2)]({'type':_0x1ad4d0['Warning'],'content':this[_0x190cf2(0xe8)]['t'](_0x190cf2(0xd9))}),_0x2bd661['id']===_0x117633['PERMISSION_DENIED']&&this[_0x190cf2(0x83)][_0x190cf2(0xd2)]({'title':this[_0x190cf2(0xe8)]['t']('permission.title'),'content':this[_0x190cf2(0xe8)]['t']('permission.content'),'type':'error','duration':0x0}),_0x2bd661['id']===_0x117633[_0x190cf2(0x199)]&&this[_0x190cf2(0x8b)][_0x190cf2(0xd2)]({'type':_0x1ad4d0[_0x190cf2(0x124)],'content':this['_localeService']['t'](_0x190cf2(0xd9))+'('+_0x2bd661[_0x190cf2(0x194)]+')'}),_0x2bd661['id']===_0x117633[_0x190cf2(0x234)]&&this['_messageService'][_0x190cf2(0xd2)]({'type':_0x1ad4d0[_0x190cf2(0xed)],'content':this[_0x190cf2(0xe8)]['t'](_0x2bd661[_0x190cf2(0x194)]||'')}),_0x2bd661['id']===_0x117633[_0x190cf2(0xe7)]&&this[_0x190cf2(0x8b)][_0x190cf2(0xd2)]({'type':_0x1ad4d0[_0x190cf2(0xed)],'content':this[_0x190cf2(0xe8)]['t'](_0x190cf2(0x14d))}),_0x2bd661['id']===_0x117633[_0x190cf2(0x81)]&&this[_0x190cf2(0x8b)][_0x190cf2(0xd2)]({'type':_0x1ad4d0['Error'],'content':this[_0x190cf2(0xe8)]['t'](_0x190cf2(0x137))}),_0x2bd661['id']===_0x117633[_0x190cf2(0x18d)]&&this[_0x190cf2(0x8b)][_0x190cf2(0xd2)]({'type':_0x1ad4d0[_0x190cf2(0x124)],'content':this[_0x190cf2(0xe8)]['t'](_0x190cf2(0x219))});}));}};se=Ji([B(0x0,_0x188b08),B(0x1,_0x4da2db),B(0x2,_0x2ad71f(_0x3329ad)),B(0x3,_0x16c293),B(0x4,_0x369ee3),B(0x5,_0x2ad71f(_0x1d6e14))],se);const Zi=_0x6f952d(0x17b),et={},Ut=_0x2b6b47(_0x6f952d(0x1c3));var Qi=Object[_0x6f952d(0x283)],qi=(_0x297136,_0x2dc987,_0x938b23,_0x1a5cc7)=>{const _0x3c79fe=_0x6f952d;for(var _0x289406=_0x1a5cc7>0x1?void 0x0:_0x1a5cc7?Qi(_0x2dc987,_0x938b23):_0x2dc987,_0x1c2d35=_0x297136[_0x3c79fe(0x158)]-0x1,_0x4ffa9b;_0x1c2d35>=0x0;_0x1c2d35--)(_0x4ffa9b=_0x297136[_0x1c2d35])&&(_0x289406=_0x4ffa9b(_0x289406)||_0x289406);return _0x289406;},G=(_0x4aaa4c,_0x21a4e2)=>(_0x4681bf,_0x27f511)=>_0x21a4e2(_0x4681bf,_0x27f511,_0x4aaa4c);let ie=class extends _0x5e6d7d{constructor(_0x2fd71c,_0x137908,_0x5b9271,_0x23be88,_0x2c6d71){const _0x46614d=_0x6f952d;super(),this[_0x46614d(0x21d)]=_0x2fd71c,this[_0x46614d(0xdb)]=_0x137908,this[_0x46614d(0x19c)]=_0x5b9271,this[_0x46614d(0x10a)]=_0x23be88,_0x2c6d71?_0x2c6d71==null||_0x2c6d71[_0x46614d(0x1d7)]()[_0x46614d(0xfd)](()=>this['_init']()):(this[_0x46614d(0xdb)][_0x46614d(0x11e)](_0x46614d(0x27a),_0x46614d(0x13c)),this[_0x46614d(0x16a)]());}async[_0x6f952d(0x16a)](){const _0x235dbb=_0x6f952d,_0x2ba2e6=this['_urlService']['getParam']('unit'),_0x1841f3=this['_urlService'][_0x235dbb(0x157)](_0x235dbb(0x258)),_0x3747d1=this['_urlService'][_0x235dbb(0x157)](_0x235dbb(0x140));if(!_0x2ba2e6||!_0x1841f3){this[_0x235dbb(0xdb)][_0x235dbb(0x11e)](_0x235dbb(0x27a),_0x235dbb(0x20a));return;}const _0x51ca48=await this['_dataLoaderService'][_0x235dbb(0x23b)](_0x2ba2e6,Number(_0x1841f3),_0x3747d1);_0x51ca48&&_0x51ca48 instanceof _0x3117c5&&this[_0x235dbb(0xc1)](_0x51ca48);}async[_0x6f952d(0xc1)](_0x31b5a8){const _0x2fbb5f=_0x6f952d;await this[_0x2fbb5f(0x145)](_0x31b5a8),_0x31b5a8['activeSheet$'][_0x2fbb5f(0x173)](_0x147fa3(this[_0x2fbb5f(0x236)]))[_0x2fbb5f(0x1ba)](_0x4f0fc7=>{const _0xf2dfe7=_0x2fbb5f;_0x4f0fc7&&this[_0xf2dfe7(0x95)](_0x4f0fc7);}),this[_0x2fbb5f(0x21d)][_0x2fbb5f(0xbf)][_0x2fbb5f(0x173)](_0x147fa3(this['dispose$']))[_0x2fbb5f(0x1ba)](()=>this[_0x2fbb5f(0x145)](_0x31b5a8));}[_0x6f952d(0x95)](_0x2e7fac,_0x58b335=!0x1){const _0x2d45e5=_0x6f952d,_0x49fc42=this['_urlService'][_0x2d45e5(0x157)](_0x2d45e5(0x140));_0x2e7fac[_0x2d45e5(0x14f)]()!==_0x49fc42&&this[_0x2d45e5(0x21d)][_0x2d45e5(0x1d2)]('subunit',_0x2e7fac['getSheetId'](),_0x58b335);}async['_updateSubUnitFromURLParams'](_0x1690d7){const _0x5130bb=_0x6f952d;var _0x49a7d1;const _0x356184=this[_0x5130bb(0x21d)][_0x5130bb(0x157)](_0x5130bb(0x140));if(!_0x356184||!_0x1690d7[_0x5130bb(0x253)](_0x356184)){const _0x5adc97=_0x1690d7[_0x5130bb(0x270)]()[0x0],_0x58a0ce=_0x1690d7['getSheetBySheetId'](_0x5adc97);if(!_0x58a0ce)return;this[_0x5130bb(0x95)](_0x58a0ce,!0x0),await this[_0x5130bb(0x19c)][_0x5130bb(0x11f)](_0x59f06e['id'],{'unitId':_0x1690d7[_0x5130bb(0x212)](),'subUnitId':_0x5adc97});return;}((_0x49a7d1=_0x1690d7[_0x5130bb(0x20d)]())==null?void 0x0:_0x49a7d1[_0x5130bb(0x14f)]())!==_0x356184&&await this[_0x5130bb(0x19c)][_0x5130bb(0x11f)](_0x59f06e['id'],{'unitId':_0x1690d7[_0x5130bb(0x212)](),'subUnitId':_0x356184});}};ie=qi([G(0x0,Ut),G(0x1,_0x4162d0),G(0x2,_0x4d6e9b),G(0x3,_0x2ad71f(_0x5dcddc)),G(0x4,_0x200084(_0x2b90ec))],ie);var en=Object[_0x6f952d(0x283)],tn=(_0x5596cc,_0x5ed98a,_0x45fa69,_0x1da0de)=>{const _0x16a721=_0x6f952d;for(var _0x1432f5=_0x1da0de>0x1?void 0x0:_0x1da0de?en(_0x5ed98a,_0x45fa69):_0x5ed98a,_0x228dd1=_0x5596cc[_0x16a721(0x158)]-0x1,_0x54bce2;_0x228dd1>=0x0;_0x228dd1--)(_0x54bce2=_0x5596cc[_0x228dd1])&&(_0x1432f5=_0x54bce2(_0x1432f5)||_0x1432f5);return _0x1432f5;},pe=(_0x1ec62d,_0x2ede88)=>(_0x42560e,_0x4f30f0)=>_0x2ede88(_0x42560e,_0x4f30f0,_0x1ec62d);let ne=class{constructor(_0x4a5ed4,_0x585879,_0x386b1f){const _0x228109=_0x6f952d;this[_0x228109(0x277)]=_0x4a5ed4,this[_0x228109(0x19a)]=_0x585879,this[_0x228109(0x1d9)]=_0x386b1f;}['transformIMECache'](_0x2420d5){const _0x293886=_0x6f952d;this['_transformUndoRedoStack'](_0x2420d5),this[_0x293886(0x240)](_0x2420d5);}['transformRemoteChangeset'](_0x2ce176){const _0x32706a=_0x6f952d,{unitID:_0x17de01}=_0x2ce176,_0x58b413=this['_renderManagerService'][_0x32706a(0x1b5)](_0x17de01)[_0x32706a(0x1d0)](_0x37c3da),{redoCache:_0x593892}=_0x58b413[_0x32706a(0x156)]();if(_0x593892[_0x32706a(0x158)]===0x0)return _0x2ce176;let _0x5098c3=_0x123dff[_0x32706a(0x9b)](_0x2ce176[_0x32706a(0x121)][0x0]);for(let _0x4b4a08=0x0;_0x4b4a08<_0x593892[_0x32706a(0x158)];_0x4b4a08++){const _0x8c440e={'id':'doc.mutation.rich-text-editing','params':{..._0x593892[_0x4b4a08]}},_0x2d8cc4=this['_transformService'][_0x32706a(0x127)](_0x5098c3,_0x8c440e,!0x1);if(_0x399df1(_0x2d8cc4))throw _0x2d8cc4[_0x32706a(0x1e3)];_0x5098c3=_0x2d8cc4['m1Prime'];}return{..._0x123dff[_0x32706a(0x9b)](_0x2ce176),'mutations':[_0x5098c3]};}[_0x6f952d(0x119)](_0x283bc9){const _0x529e55=_0x6f952d,{unitID:_0x285839}=_0x283bc9,_0x3ce9d8=this[_0x529e55(0x1d9)]['getRenderById'](_0x285839)[_0x529e55(0x1d0)](_0x37c3da),{undoCache:_0xa36e52,redoCache:_0x122a48}=_0x3ce9d8[_0x529e55(0x156)]();if(_0xa36e52[_0x529e55(0x158)]===0x0||_0x122a48['length']===0x0)return;const _0x258904=[],_0x1f5fd8=[];let _0x1c08bb=_0x123dff[_0x529e55(0x9b)](_0x283bc9[_0x529e55(0x121)][0x0]),_0x4a9bc4=_0x123dff[_0x529e55(0x9b)](_0x283bc9[_0x529e55(0x121)][0x0]);for(let _0x227674=_0xa36e52[_0x529e55(0x158)]-0x1;_0x227674>=0x0;_0x227674--){const _0x566e5a={'id':_0x529e55(0x17d),'params':{..._0xa36e52[_0x227674]}},_0x2fb98f={'id':'doc.mutation.rich-text-editing','params':{..._0x122a48[_0x227674]}},_0x4d2fd1=this[_0x529e55(0x19a)][_0x529e55(0x127)](_0x1c08bb,_0x566e5a,!0x1),_0x51d30d=this[_0x529e55(0x19a)][_0x529e55(0x127)](_0x4a9bc4,_0x2fb98f,!0x1);if(_0x399df1(_0x4d2fd1))throw _0x4d2fd1['error'];if(_0x399df1(_0x51d30d))throw _0x51d30d[_0x529e55(0x1e3)];_0x258904[_0x529e55(0x250)](_0x4d2fd1[_0x529e55(0x185)][_0x529e55(0x80)]),_0x1f5fd8[_0x529e55(0x250)](_0x51d30d[_0x529e55(0x185)][_0x529e55(0x80)]),_0x1c08bb=_0x4d2fd1[_0x529e55(0xca)],_0x4a9bc4=_0x51d30d[_0x529e55(0xca)];}_0x3ce9d8['setUndoRedoMutationParamsCache']({'undoCache':_0x258904,'redoCache':_0x1f5fd8});}[_0x6f952d(0x240)](_0x2a80d4){const _0x149316=_0x6f952d,{unitID:_0x386441}=_0x2a80d4,_0x210e5a=this['_renderManagerService'][_0x149316(0x1b5)](_0x386441)[_0x149316(0x1d0)](_0x37c3da),_0x4e229f=_0x210e5a[_0x149316(0x211)]();if(_0x4e229f==null)return;const _0x35432f=[{'id':_0x149316(0x17d),'params':{'unitId':_0x2a80d4[_0x149316(0x201)],'actions':null,'textRanges':[_0x4e229f]}}],_0x211ecf=this[_0x149316(0x19a)]['transformMutationsWithChangeset'](_0x2a80d4,_0x35432f);if(!_0x1939ee(_0x211ecf))throw _0x211ecf[_0x149316(0x1e3)];const _0x4fdb53=_0x211ecf[_0x149316(0x185)][0x0][_0x149316(0x80)][_0x149316(0x242)];Array[_0x149316(0x9e)](_0x4fdb53)&&_0x4fdb53[_0x149316(0x158)]&&_0x210e5a[_0x149316(0xfb)](_0x4fdb53[0x0]);}};ne=tn([pe(0x0,_0x2ad71f(_0x14214c)),pe(0x1,_0x23cfb3),pe(0x2,_0x397b72)],ne);var sn=Object[_0x6f952d(0x283)],nn=(_0x20d004,_0x1a9281,_0x4eba15,_0x1ff86f)=>{const _0x7c8549=_0x6f952d;for(var _0x42e283=_0x1ff86f>0x1?void 0x0:_0x1ff86f?sn(_0x1a9281,_0x4eba15):_0x1a9281,_0x2d87c3=_0x20d004[_0x7c8549(0x158)]-0x1,_0x177c57;_0x2d87c3>=0x0;_0x2d87c3--)(_0x177c57=_0x20d004[_0x2d87c3])&&(_0x42e283=_0x177c57(_0x42e283)||_0x42e283);return _0x42e283;},Ce=(_0x1d1630,_0x3554a5)=>(_0x5a2ddf,_0x5b6f77)=>_0x3554a5(_0x5a2ddf,_0x5b6f77,_0x1d1630);function _0x45b5(){const _0x25fde6=['_roomMembers$','registerRefRange','roomMembers$','session.connection-failed','_status$','_scheduleSaving','href','generateRandomId','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_collabSessionService','init','_createSocketURL','subunit','NOT_FOUND','size','_unitStatus','_docStateChangeManagerService','_updateSubUnitFromURLParams','onPointerEnter$','sessionTicket','height','min','apply','_revisionService','transformSelections','session.will-retry','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getSheetId','defIds','createSocket','black','add','_handleHeartbeatEvent','_initDependencies','getUndoRedoMutationParamsCache','getParam','length','path','collabStatus.conflict','use','triggerDblclick','_initCommandExecutedListener','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','4307670blrmhk','18888haTDZW','SNAPSHOT_HAS_BEEN_REMOVED','url(#$1','24YVBEbe','getStateCache','_id','transformRemoteChangeset','onRendered','0\x200\x2016\x2016','endRow','_init','_updateCollabCursors','getAncestorScale','_render','function','getOwnPropertySymbols','hasOwnProperty','getCellPositionByOffset','5BwsaIo','pipe','_draw','selection','values','getConfig','_refRangeService','getColorFromTheme','ranges','collaboration-client-ui.config','SYNCED','doc.mutation.rich-text-editing','getMember','YUUMI_CONNECTOR_URL_NOT_FOUND','save','entityInit$','_instanceService','getCollabCursors$','isEditing','m2Prime','_textBubble','_cursors','_selfUnitIDs','key','sessionStatus$','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','evenodd','SUBMIT_CHANGESET_TIMEOUT','setConfig','_session','_removeClearOtherTimer','_initEntityListener','memberID','loadOfflineData','data','extend','from','_assignedColors','column','CONFLICT','_transformService','string','_commandService','VIEW_MAIN','#FFF','YUUMI_TABLE_NOT_FOUND_IN_UNIT','ALREADY_EXISTS','APPLY_NON_SEQUENTIAL_REVISION','push','_imageIoService','0\x200\x2017\x2016','sheetID','INVITE_CODE_HAS_BEEN_UES','_hover','has','collab-text-anchor-','contains','setInterval','getRelativeToViewportCoord','_context','addObject','YUUMI_RATE_OVER_LIMIT','fill','1246QPCzqT','1367394qmnovK','displayName','defineProperty','getRenderById','RemoveColCommandId','_docClipboardService','collabStatus.notCollab','svg','subscribe','_sheetSkeletonManagerService','http://www.w3.org/2000/svg','location','getValue','Failed','labelPosition','roomMembers','registerBeforeClose','uni.network.url-service','replaceState','_docSyncEditingCollabCursorService','PY_RUNTIME_SCRIPT_ERROR','isActive','docStateChange$','getFocusedUnit','_docSkeleton','_range','DeleteRangeMoveLeftCommandId','_getSheetObject','_colorAssignService','_registerRenderDependencies','with','YUUMI_UNABLE_LOAD_URL','setParam','72RMxCRo','event$','toString','range','whenReady','_cursor','_renderManagerService','_backgroundColor','ticket','onMouseMove','width','sheetId','_ensureSubject','LICENSE_IMPORT_SIZE_EXCEEDED','INVITE_CODE_ALREADY_BOUND','1em','error','getCurrentUnitForType','substring','redoState','unload','_configService','_anchorDot','text','_disabled','_startDocCollabCursor','attrs','blue.400','NOT_COLLAB','getDocRanges','_docSkeletonManagerService','collaboration.single-unit.warning','forEach','currentColor','_removeCollabCursors','INVALID_ARGUMENT','_getSaveTimeout','_collabCursorState$','prototype','eventID','YUUMI_ALL_TABLES_IS_INVALID','MOBILE_VERIFY_CODE_MISMATCH','RECT','className','10hlaqvw','collab-text-range-','unitID','_cursorInfo$','application/json','LICENSE_EXPORT_SIZE_EXCEEDED','hovered','arc','map','getCurrentSelections','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getOffsetConfig','unsubscribe','getActiveSheet','UNRECOGNIZED','clipPath','round','getActiveRange','getUnitId','OFFLINE','indexOf','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','APPLY_REVISION_CONFILICT','_beforeCloseService','beginPath','session.collaboration-timeout','YUUMI_NO_CUBOID_FOR_QUESTION','cursorInfo','override','_urlService','hide','_docTransformIMECacheService','USERS_LEAVE','InsertRowCommandId','_colorIndex','cursorInfo$','requireSession','startRow','focused$','_localStorageService','_shapes','call','YUUMI_URL_COL_OUT_OF_RANGE','_setupBeforeClosingHandler','LICENSE_DISTRO_REJECTED','ONLINE','...','bottom','delete','_document','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','OnLineIcon','JOIN_ROOM_FAILED','_httpService','dispose$','newValue','disposeUnit','_initStatusListener','rgba(255,\x20255,\x20255,\x200.01)','loadUnit','pushState','red.300','USER_NOT_INVITED_CODE','_registerDependencies','_transformPreviousActiveRange','setStateCache','textRanges','url(#on-line-icon_clip0_910_349)','APPLY_PERMISSION_DENIED','InsertRangeMoveDownCommandId','pluginName','tag','getTypeOfUnitAdded$','popstate','_getAnchorBounding','stringify','executionId','concat','defs','startColumn','unshift','on-line-icon_clip0_910_349','parse','getSheetBySheetId','_drawRectRange','searchParams','_themeService','undoState','type','INTERNAL_ERROR','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','complete','_hovered','name','_color','endColumn','ENSURE_SNAPSHOT_EXECUTION','get','InsertRangeMoveRightCommandId','UNIVER_DOC','_onRefRangeChange','_collabCursorController','_eventUnsubscribe','_cursorShapes','transform','some','syncEditingCollabCursor','createInstance','_handleLeaveEvent','HEADER_MENU','includes','collabStatus.syncing','getUnhiddenWorksheets','_scheduleHeartbeat','_doCreateSocket','assignAColorForMemberID','InsertColCommandId','COMPLETION_FINISHED','UNIVER_SHEET','_injector','_uiPartsService','_toggleOffline','[CollaborationDataLoaderController]','clearInterval','currentTheme$','addObjects','off-line-icon_clip0_910_343','_localCacheService','storage','assign','collabStatus.offline','getOwnPropertyDescriptor','_getSessionTicket','source','ACTIVE_UNIT_EVENT_CHANNEL','RemoveRowCommandId','fillStyle','transformByState','currentSkeleton$','_onCursorUpdate','status$','params','SOCKET_FAILED','onPointerLeave$','_notificationService','none','dispose','children','univer-mr-2\x20univer-flex\x20univer-text-xl','startsWith','FromArray','engine','_messageService','PERMISSION_DENIED','306YUTMPp','findNodePositionByCharIndex','INVALID_INVITE_CODE','collabCursorState$','url(#off-line-icon_clip0_910_343)','/run/','_updateLocalCursor','_entityInit$','_updateURLWithCurrentState','Unknown\x20user','onCommandExecuted','white','_refreshCollabCursors','UniverIcon','deepClone','replace','EMAIL_VERIFY_CODE_MISMATCH','isArray','body','top','asObservable','YUUMI_ASYNCIO_CANCELLED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','actions','_transformHistoryAndStateStack','YUUMI_AI_RUN_FAILED','yellow.400','_saveCache','next','_syncEditingCollabCursorService','measureText','jiqing.500','NO_OTHER_CLIENTS_EDITING','transformStateCache','_scheduleClearOtherTimer','drawWith','purple.300','SNAPSHOT_INVALID_SNAPSHOT','trim','saveOfflineData','split','M0\x200H16V16H0z','unitId','makeDirty','_drawTextRange','addHandlerCallback','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','addEventListener','clearTimeout','_handleJoinEvent','urlChange$','onTransformChange$','_setupSubUnitSync','_labelPosition','_initResize','MoveRangeCommandId','_clearOtherTimers','LOGIN_FAILED','disposeWithMe','getMemberID','_univerInstanceService','m1Prime','_heartbeatTimer','_getScale','current','APPLY_REJECT','collab-rect-range-','result','setItem','show','univer-flex\x20univer-items-center','_toggleOnline','fillText','_memberService','UNDEFINED','TEXT','collaboration.closeRoom','unit','_logService','_entities','runOnServer','icon','_hideTimer','OffLineIcon','LICENSE_MAX_UNITS_EXCEEDED','_getMergeRange','4442208jdOrqb','UPDATE_CURSOR','_unitOnClients','_config','SOCKET_FAILED_RETRY','_localeService','_name','YUUMI_SUBSCRIPTION_NOT_FOUND','_collaborationUIEventService','lineTo','Warning','FETCH_MISS','on-line-icon','history','getMergeData','colorChannel1','reconnect','CHANGESET_REVISION_CONFILICT','2078322qPdvYp','all','_onCursorDelete','toRgbString','_lastPointer','[RemoteUniscriptService]:\x20no\x20focused\x20unit','setActiveRange','APPLY_DUPLICATED','then','_docTransformStateCacheService','AWAITING_WITH_PENDING','transformIMECache','CLOSE_ROOM','_docTransformSelectionsService','UNAUTHENTICATED','_anchor','saveTaskMap','_send','runId','send','2392643tReQyk','_dataLoaderService','setAlpha','getSkeleton','origin','_handleHover','INVITE_CODE_REQUIRED','resize','getRangePointData','_online','_initEvent','max','registerRenderModule','_collaborationController','entries','idSuffix','_transformUndoRedoStack','setShapeProps','_startSheetCollabCursor','_cachedData','saveImage','debug','executeCommand','xlink:href','mutations','_scene','color','Error','transformMutationsWithChangeset','WECHAT_HAS_BEEN_BOUND','transformMutation','_handleEvent','set','restore','_saveTaskMap','_drawAnchor','_initStatusComponent','subscribeEvent','editingUnit','addClipboardHook','translate(.97)','getTypeOfUnitDisposed$','div'];_0x45b5=function(){return _0x25fde6;};return _0x45b5();}let re=class{constructor(_0x166c73,_0x5b1a2b,_0x3e7c2d){const _0x18b4ba=_0x6f952d;this[_0x18b4ba(0x277)]=_0x166c73,this[_0x18b4ba(0x19a)]=_0x5b1a2b,this[_0x18b4ba(0x144)]=_0x3e7c2d;}['transformStateCache'](_0x5dc289){const _0x2ace1b=_0x6f952d;this[_0x2ace1b(0xa5)](_0x5dc289);}[_0x6f952d(0x166)](_0x26bc94){const _0x47f671=_0x6f952d,{unitID:_0x1d8364}=_0x26bc94,{collaboration:_0x4f5ceb}=this[_0x47f671(0x144)][_0x47f671(0x164)](_0x1d8364);if(_0x4f5ceb[_0x47f671(0x158)]===0x0)return _0x26bc94;let _0x481c3b=_0x123dff[_0x47f671(0x9b)](_0x26bc94[_0x47f671(0x121)][0x0]);for(let _0x22c162=0x0;_0x22c162<_0x4f5ceb['length'];_0x22c162++){const _0x4eb7dd={'id':_0x47f671(0x17d),'params':{'unitId':_0x4f5ceb[_0x22c162][_0x47f671(0xb7)],..._0x4f5ceb[_0x22c162][_0x47f671(0x1e6)]}},_0x88dcf3=this[_0x47f671(0x19a)][_0x47f671(0x127)](_0x481c3b,_0x4eb7dd,!0x1);if(_0x399df1(_0x88dcf3))throw _0x88dcf3['error'];_0x481c3b=_0x88dcf3[_0x47f671(0xca)];}return{..._0x123dff[_0x47f671(0x9b)](_0x26bc94),'mutations':[_0x481c3b]};}[_0x6f952d(0xa5)](_0x26ddf4){const _0x20890e=_0x6f952d,{unitID:_0x1f0d93}=_0x26ddf4,{history:_0x51e673,collaboration:_0x130aec}=this[_0x20890e(0x144)][_0x20890e(0x164)](_0x1f0d93);if(_0x51e673[_0x20890e(0x158)]===0x0&&_0x130aec[_0x20890e(0x158)]===0x0)return;const _0x4a4889=[],_0x1a197a=[];let _0x10e500=_0x123dff['deepClone'](_0x26ddf4[_0x20890e(0x121)][0x0]),_0xc05d0c=_0x123dff[_0x20890e(0x9b)](_0x26ddf4[_0x20890e(0x121)][0x0]);for(let _0x28a832=_0x51e673[_0x20890e(0x158)]-0x1;_0x28a832>=0x0;_0x28a832--){const _0x287fa7={'id':_0x20890e(0x17d),'params':{'unitId':_0x51e673[_0x28a832]['unitId'],..._0x51e673[_0x28a832][_0x20890e(0x257)]}},_0x5bd165={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x51e673[_0x28a832][_0x20890e(0xb7)],..._0x51e673[_0x28a832]['redoState']}},_0x238b04=this[_0x20890e(0x19a)][_0x20890e(0x127)](_0x10e500,_0x287fa7,!0x1),_0x5adbd4=this[_0x20890e(0x19a)]['transformMutation'](_0xc05d0c,_0x5bd165,!0x1);if(_0x399df1(_0x238b04))throw _0x238b04['error'];if(_0x399df1(_0x5adbd4))throw _0x5adbd4['error'];_0x4a4889[_0x20890e(0x250)]({..._0x51e673[_0x28a832],'undoState':_0x238b04['m2Prime'][_0x20890e(0x80)],'redoState':_0x5adbd4[_0x20890e(0x185)][_0x20890e(0x80)]}),_0x10e500=_0x238b04['m1Prime'],_0xc05d0c=_0x5adbd4['m1Prime'];}_0x10e500=_0x123dff['deepClone'](_0x26ddf4['mutations'][0x0]),_0xc05d0c=_0x123dff['deepClone'](_0x26ddf4[_0x20890e(0x121)][0x0]);for(let _0x23c7d7=_0x130aec[_0x20890e(0x158)]-0x1;_0x23c7d7>=0x0;_0x23c7d7--){const _0x5171a2={'id':_0x20890e(0x17d),'params':{'unitId':_0x130aec[_0x23c7d7][_0x20890e(0xb7)],..._0x130aec[_0x23c7d7][_0x20890e(0x257)]}},_0x2dad89={'id':_0x20890e(0x17d),'params':{'unitId':_0x130aec[_0x23c7d7][_0x20890e(0xb7)],..._0x130aec[_0x23c7d7][_0x20890e(0x1e6)]}},_0x34fb96=this[_0x20890e(0x19a)][_0x20890e(0x127)](_0x10e500,_0x5171a2,!0x1),_0x475952=this[_0x20890e(0x19a)][_0x20890e(0x127)](_0xc05d0c,_0x2dad89,!0x1);if(_0x399df1(_0x34fb96))throw _0x34fb96[_0x20890e(0x1e3)];if(_0x399df1(_0x475952))throw _0x475952['error'];_0x1a197a[_0x20890e(0x250)]({..._0x130aec[_0x23c7d7],'undoState':_0x34fb96['m2Prime']['params'],'redoState':_0x475952['m2Prime']['params']}),_0x10e500=_0x34fb96[_0x20890e(0xca)],_0xc05d0c=_0x475952[_0x20890e(0xca)];}this['_docStateChangeManagerService'][_0x20890e(0x241)](_0x1f0d93,{'history':_0x4a4889,'collaboration':_0x1a197a});}};re=nn([Ce(0x0,_0x2ad71f(_0x14214c)),Ce(0x1,_0x23cfb3),Ce(0x2,_0x2ad71f(_0x528106))],re);var rn=Object[_0x6f952d(0x283)],on=(_0xc36196,_0x2be19d,_0x4a9647,_0x69ea4c)=>{for(var _0x16973b=_0x69ea4c>0x1?void 0x0:_0x69ea4c?rn(_0x2be19d,_0x4a9647):_0x2be19d,_0x1b53d4=_0xc36196['length']-0x1,_0x88f4d2;_0x1b53d4>=0x0;_0x1b53d4--)(_0x88f4d2=_0xc36196[_0x1b53d4])&&(_0x16973b=_0x88f4d2(_0x16973b)||_0x16973b);return _0x16973b;},tt=(_0x5f075a,_0x243a04)=>(_0x4a271d,_0x115f18)=>_0x243a04(_0x4a271d,_0x115f18,_0x5f075a);let oe=class{constructor(_0x2d5260,_0x7b1e){const _0x37fb7b=_0x6f952d;this[_0x37fb7b(0x277)]=_0x2d5260,this[_0x37fb7b(0x19a)]=_0x7b1e;}[_0x6f952d(0x14c)](_0x4d8b15){const _0x338c50=_0x6f952d;var _0x5907b9;const _0x298439=this[_0x338c50(0x277)][_0x338c50(0x261)](_0x8e84b4),_0x54ea63=(_0x5907b9=_0x298439[_0x338c50(0x1f0)]())!=null?_0x5907b9:[];if(_0x54ea63[_0x338c50(0x158)]===0x0)return;const _0x3144ce=_0x4d8b15[_0x338c50(0x201)],_0x530ca4=[{'id':_0x338c50(0x17d),'params':{'unitId':_0x3144ce,'actions':null,'textRanges':_0x54ea63}}],_0x4bd10b=this['_transformService'][_0x338c50(0x125)](_0x4d8b15,_0x530ca4);if(!_0x1939ee(_0x4bd10b))throw _0x4bd10b[_0x338c50(0x1e3)];const _0x1380d1=_0x4bd10b['m2Prime'][0x0]['params'][_0x338c50(0x242)];Array[_0x338c50(0x9e)](_0x1380d1)&&_0x1380d1['length']&&_0x298439['replaceDocRanges'](_0x1380d1,{'unitId':_0x3144ce,'subUnitId':_0x3144ce},!0x1);}};oe=on([tt(0x0,_0x2ad71f(_0x14214c)),tt(0x1,_0x23cfb3)],oe);var an=Object[_0x6f952d(0x283)],cn=(_0xbe5b1d,_0x7445c8,_0x34dc3d,_0x1f427a)=>{const _0x574eb7=_0x6f952d;for(var _0x5a35d0=_0x1f427a>0x1?void 0x0:_0x1f427a?an(_0x7445c8,_0x34dc3d):_0x7445c8,_0x2cc3a1=_0xbe5b1d[_0x574eb7(0x158)]-0x1,_0x3b3298;_0x2cc3a1>=0x0;_0x2cc3a1--)(_0x3b3298=_0xbe5b1d[_0x2cc3a1])&&(_0x5a35d0=_0x3b3298(_0x5a35d0)||_0x5a35d0);return _0x5a35d0;},U=(_0x562715,_0x280774)=>(_0xa2a7a0,_0x5dd9bf)=>_0x280774(_0xa2a7a0,_0x5dd9bf,_0x562715);let ae=class extends _0x314d20{constructor(_0x1ba416,_0x4b176d,_0x63b5b0,_0x43c880,_0x28eb14,_0x1564da,_0x6de966,_0xd5701a){const _0x4c0595=_0x6f952d;super(),_(this,_0x4c0595(0x138),new _0x25ddca(_0x2cb0a0[_0x4c0595(0x1ef)])),(this[_0x4c0595(0x144)]=_0x1ba416,this['_collaborationController']=_0x4b176d,this[_0x4c0595(0x21f)]=_0x63b5b0,this['_docTransformStateCacheService']=_0x43c880,this[_0x4c0595(0x102)]=_0x28eb14,this[_0x4c0595(0x1c5)]=_0x1564da,this[_0x4c0595(0x8b)]=_0x6de966,this[_0x4c0595(0xe8)]=_0xd5701a,this['_initEntityListener']());}[_0x6f952d(0x191)](){const _0x3ecbec=_0x6f952d;this['disposeWithMe'](this['_collaborationController'][_0x3ecbec(0x181)][_0x3ecbec(0x1ba)](_0x52fdaf=>{const _0x3dd61a=_0x3ecbec,_0x21c115=this[_0x3dd61a(0x144)][_0x3dd61a(0x1c8)][_0x3dd61a(0x1ba)](_0x11ab38=>{const _0x1779e2=_0x3dd61a;if(_0x11ab38==null)return;const {unitId:_0x34fb2e,redoState:_0x5d9c8f,commandId:_0x18d765}=_0x11ab38;if(_0x34fb2e!==_0x52fdaf['unitID'])return;const _0x67225f={'id':_0x18d765,'type':_0x3a95a5['MUTATION'],'params':{'unitId':_0x34fb2e,'actions':_0x5d9c8f[_0x1779e2(0xa4)],'textRanges':null}};_0x52fdaf['onLocalMutation'](_0x67225f);});if(_0x52fdaf[_0x3dd61a(0xc7)](_0x21c115),_0x52fdaf instanceof _0xb3aa28){const _0x586c66={'onTransformIME':_0x47fbf4=>this[_0x3dd61a(0x21f)][_0x3dd61a(0x100)](_0x47fbf4),'onTransformState':_0x4db256=>this[_0x3dd61a(0xfe)][_0x3dd61a(0xae)](_0x4db256),'onTransformSelections':_0x2de9b0=>this['_docTransformSelectionsService']['transformSelections'](_0x2de9b0),'onSyncEditingCollabCursor':_0x408320=>this[_0x3dd61a(0x1c5)][_0x3dd61a(0x26a)](_0x408320),'onTransformRemoteChangesetByIMECache':_0x34af60=>this[_0x3dd61a(0x21f)]['transformRemoteChangeset'](_0x34af60),'onTransformRemoteChangesetByStateCache':_0x2c6675=>this[_0x3dd61a(0xfe)][_0x3dd61a(0x166)](_0x2c6675)};_0x52fdaf[_0x3dd61a(0xba)](_0x586c66);}}));}};ae=cn([U(0x0,_0x2ad71f(_0x528106)),U(0x1,_0x2ad71f(_0x2b30d1)),U(0x2,_0x2ad71f(ne)),U(0x3,_0x2ad71f(re)),U(0x4,_0x2ad71f(oe)),U(0x5,_0x2ad71f(He)),U(0x6,_0x16c293),U(0x7,_0x2ad71f(_0x1d6e14))],ae);var ln=Object[_0x6f952d(0x283)],_n=(_0x29a070,_0x37599f,_0x29a4f9,_0x40712a)=>{const _0xaf8a19=_0x6f952d;for(var _0x1eb593=_0x40712a>0x1?void 0x0:_0x40712a?ln(_0x37599f,_0x29a4f9):_0x37599f,_0x1d207d=_0x29a070[_0xaf8a19(0x158)]-0x1,_0x33d79e;_0x1d207d>=0x0;_0x1d207d--)(_0x33d79e=_0x29a070[_0x1d207d])&&(_0x1eb593=_0x33d79e(_0x1eb593)||_0x1eb593);return _0x1eb593;},Ee=(_0x5b92b2,_0x3af013)=>(_0x19f4f6,_0x21a6b6)=>_0x3af013(_0x19f4f6,_0x21a6b6,_0x5b92b2);let we=class extends _0x314d20{constructor(_0x100200,_0x35757e,_0x2f1ec1){const _0x3a4455=_0x6f952d;super(),_(this,'_cachedData',new Map()),_(this,_0x3a4455(0x12b),new Map()),_(this,_0x3a4455(0x1eb),!0x1),(this[_0x3a4455(0x1e8)]=_0x100200,this[_0x3a4455(0x227)]=_0x35757e,this['_revisionService']=_0x2f1ec1);}['disableLocalCache'](){const _0xa0bc70=_0x6f952d;this[_0xa0bc70(0x1eb)]=!0x0;}['enableLocalCache'](){const _0x5abdee=_0x6f952d;this[_0x5abdee(0x1eb)]=!0x1;}get[_0x6f952d(0x105)](){return this['_saveTaskMap'];}[_0x6f952d(0x85)](){const _0x312e8a=_0x6f952d;this['exhaustSavingTask']()[_0x312e8a(0xfd)](()=>super[_0x312e8a(0x85)]());}async[_0x6f952d(0x193)](_0x342c81){const _0x4b665d=_0x6f952d;return this[_0x4b665d(0x1eb)]?null:this[_0x4b665d(0x227)]['getItem'](_0x32759a(_0x342c81));}async[_0x6f952d(0xb4)](_0x4c67ce,_0xe2e67){const _0x29fc7b=_0x6f952d;return!!this[_0x29fc7b(0x227)]['setItem'](_0x4c67ce,_0xe2e67);}['updateOfflineData'](_0x53136c,_0x31d67a,_0x5a4855,_0x4cfba4){const _0x35abea=_0x6f952d,_0x4e7e04=this[_0x35abea(0x14b)]['getCurrentRevOfUnit'](_0x53136c);this[_0x35abea(0x11c)][_0x35abea(0x129)](_0x53136c,{'unitID':_0x53136c,'type':_0x31d67a,'awaitingChangeset':_0x5a4855,'mutations':_0x4cfba4,'rev':_0x4e7e04}),this['_saveTaskMap'][_0x35abea(0x1a8)](_0x53136c)||this[_0x35abea(0x139)](_0x53136c);}['_scheduleSaving'](_0x458cbc){const _0x5568b3=_0x6f952d,_0x304479=this[_0x5568b3(0x1f7)]();_0x304479===0x0?this[_0x5568b3(0xa8)](_0x458cbc):this[_0x5568b3(0x12b)][_0x5568b3(0x129)](_0x458cbc,setTimeout(()=>this[_0x5568b3(0xa8)](_0x458cbc),_0x304479));}['_getSaveTimeout'](){const _0x4bb597=_0x6f952d;var _0x3f9a1b;return(_0x3f9a1b=this[_0x4bb597(0x1e8)][_0x4bb597(0x177)](_0x14b207))!=null?_0x3f9a1b:_0x531045;}[_0x6f952d(0xa8)](_0x4af48e){const _0x523d1b=_0x6f952d,_0x3896a4=this[_0x523d1b(0x12b)][_0x523d1b(0x261)](_0x4af48e);return _0x3896a4!==void 0x0&&window[_0x523d1b(0xbd)](_0x3896a4),this['_localStorageService'][_0x523d1b(0xd1)](_0x32759a(_0x4af48e),this[_0x523d1b(0x11c)][_0x523d1b(0x261)](_0x4af48e))[_0x523d1b(0xfd)](()=>this[_0x523d1b(0x12b)][_0x523d1b(0x230)](_0x4af48e));}async['exhaustSavingTask'](){const _0x280e32=_0x6f952d,_0x3db4f3=[];this[_0x280e32(0x12b)]['forEach']((_0x12319f,_0x5681ac)=>{const _0x494f94=_0x280e32;window[_0x494f94(0xbd)](_0x12319f),_0x3db4f3['push'](this[_0x494f94(0xa8)](_0x5681ac)['then'](()=>{this['_saveTaskMap']['delete'](_0x5681ac);}));}),await Promise[_0x280e32(0xf6)](_0x3db4f3);}};we=_n([Ee(0x0,_0x27db46),Ee(0x1,_0x39ce6c),Ee(0x2,_0x2ad71f(_0x389b96))],we);class hn extends _0x5e6d7d{constructor(){const _0x467298=_0x6f952d;super(),_(this,'urlChange$'),this['urlChange$']=_0x3b2803(window,_0x467298(0x249))[_0x467298(0x173)](_0x147fa3(this[_0x467298(0x236)]),_0x315e11(0x1),_0x4d926d(void 0x0));}[_0x6f952d(0x1d2)](_0x1f595a,_0x3dd5a0,_0x452eb1=!0x1){const _0x31d5dc=_0x6f952d,_0x14c080=new URL(window[_0x31d5dc(0x1bd)][_0x31d5dc(0x13a)]);_0x14c080[_0x31d5dc(0x255)][_0x31d5dc(0x129)](_0x1f595a,_0x3dd5a0),_0x452eb1?window['history'][_0x31d5dc(0x1c4)]('','',_0x14c080[_0x31d5dc(0x1d5)]()):window[_0x31d5dc(0xf0)][_0x31d5dc(0x23c)]('','',_0x14c080[_0x31d5dc(0x1d5)]());}['removeParam'](_0x5c088e,_0x2233e7=!0x1){const _0x577b2e=_0x6f952d,_0x579d6a=new URL(window[_0x577b2e(0x1bd)]['href']);_0x579d6a['searchParams'][_0x577b2e(0x230)](_0x5c088e),_0x2233e7?window[_0x577b2e(0xf0)][_0x577b2e(0x1c4)]('','',_0x579d6a[_0x577b2e(0x1d5)]()):window[_0x577b2e(0xf0)][_0x577b2e(0x23c)]('','',_0x579d6a[_0x577b2e(0x1d5)]());}[_0x6f952d(0x157)](_0x14446c){const _0x35dc7b=_0x6f952d;var _0x5040b0;return(_0x5040b0=new URL(window[_0x35dc7b(0x1bd)]['href'])[_0x35dc7b(0x255)][_0x35dc7b(0x261)](_0x14446c))!=null?_0x5040b0:void 0x0;}}var un=Object[_0x6f952d(0x1b4)],dn=Object[_0x6f952d(0x283)],fn=(_0x586f87,_0x38541f,_0x31cf86)=>_0x38541f in _0x586f87?un(_0x586f87,_0x38541f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x31cf86}):_0x586f87[_0x38541f]=_0x31cf86,Sn=(_0x4a8272,_0x29ff75,_0x4b03eb,_0x232426)=>{const _0x5a2ee0=_0x6f952d;for(var _0x3e26e7=_0x232426>0x1?void 0x0:_0x232426?dn(_0x29ff75,_0x4b03eb):_0x29ff75,_0x46bae7=_0x4a8272[_0x5a2ee0(0x158)]-0x1,_0x215da7;_0x46bae7>=0x0;_0x46bae7--)(_0x215da7=_0x4a8272[_0x46bae7])&&(_0x3e26e7=_0x215da7(_0x3e26e7)||_0x3e26e7);return _0x3e26e7;},Oe=(_0x31f59b,_0x4c9db3)=>(_0x1f7913,_0x4ed2ae)=>_0x4c9db3(_0x1f7913,_0x4ed2ae,_0x31f59b),mn=(_0x1e8d25,_0x2fd082,_0x516fce)=>fn(_0x1e8d25,_0x2fd082+'',_0x516fce);const In=_0x6f952d(0x25a);let Ae=class extends _0x402252{constructor(_0x5a2826=et,_0x12de73,_0x1222ca,_0x1af5a0){const _0x167c15=_0x6f952d;super(),this[_0x167c15(0xe6)]=_0x5a2826,this[_0x167c15(0x1d9)]=_0x12de73,this[_0x167c15(0x277)]=_0x1222ca,this[_0x167c15(0x1e8)]=_0x1af5a0;const {..._0x50a910}=_0x431bb4({},et,this[_0x167c15(0xe6)]);this[_0x167c15(0x1e8)][_0x167c15(0x18e)](Zi,_0x50a910);}['onStarting'](){const _0x2d6d62=_0x6f952d;this[_0x2d6d62(0x23f)](),this[_0x2d6d62(0x155)]();}[_0x6f952d(0x167)](){const _0x3eff7e=_0x6f952d;this[_0x3eff7e(0x1cf)]();}[_0x6f952d(0x23f)](){const _0x144e95=_0x6f952d;var _0x5c526a;const _0x10e603=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x31881a,{'useClass':_0x104ba1}],[_0x4da2db,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x36eb4a(this[_0x144e95(0x277)],_0x2aa0c7(_0x10e603,(_0x5c526a=this['_config'])==null?void 0x0:_0x5c526a[_0x144e95(0x21c)]));}['_registerRenderDependencies'](){const _0xe585c2=_0x6f952d;this[_0xe585c2(0xc7)](this['_renderManagerService'][_0xe585c2(0x115)](_0x1bc251[_0xe585c2(0x263)],[Le])),this['disposeWithMe'](this[_0xe585c2(0x1d9)][_0xe585c2(0x115)](_0x1bc251['UNIVER_SHEET'],[Pe]));}[_0x6f952d(0x155)](){const _0x44af94=_0x6f952d;_0x33ece9(this[_0x44af94(0x277)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x6f952d(0x246),In),Ae=Sn([_0xa20676(_0x1fa62f),Oe(0x1,_0x397b72),Oe(0x2,_0x2ad71f(_0x14214c)),Oe(0x3,_0x27db46)],Ae);var gn=Object['getOwnPropertyDescriptor'],vn=(_0x42527f,_0x58e21a,_0x2b35ba,_0x2e1ffc)=>{const _0x1c0a85=_0x6f952d;for(var _0x356094=_0x2e1ffc>0x1?void 0x0:_0x2e1ffc?gn(_0x58e21a,_0x2b35ba):_0x58e21a,_0x527eac=_0x42527f[_0x1c0a85(0x158)]-0x1,_0x207f75;_0x527eac>=0x0;_0x527eac--)(_0x207f75=_0x42527f[_0x527eac])&&(_0x356094=_0x207f75(_0x356094)||_0x356094);return _0x356094;},K=(_0x29afe6,_0x4516c6)=>(_0x86a5df,_0x41b33f)=>_0x4516c6(_0x86a5df,_0x41b33f,_0x29afe6);let st=class extends _0x57641c{constructor(_0x2966dc,_0x1a5ccc,_0x3163c9,_0x3bca5e,_0x3eb4e4){super(_0x2966dc,_0x1a5ccc,_0x3163c9,_0x3bca5e,_0x3eb4e4);}async[_0x6f952d(0x151)](_0x3fc215){const _0x15531d=_0x6f952d,_0x264921=await this[_0x15531d(0x284)](),_0x377e03=this[_0x15531d(0x13f)](_0x3fc215,_0x264921);return this[_0x15531d(0x272)](_0x377e03);}[_0x6f952d(0x13f)](_0x1043bb,_0x2052d3){const _0x255bfc=_0x6f952d,_0x497de4=typeof window>'u'?new URL(_0x1043bb):new URL(_0x1043bb,window[_0x255bfc(0x1bd)][_0x255bfc(0x10d)]);_0x497de4[_0x255bfc(0x255)][_0x255bfc(0x129)](_0x255bfc(0x147),_0x2052d3);const _0x3bc6ba=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x255bfc(0x1bd)]['search']);return _0x3bc6ba['get'](_0x255bfc(0x107))&&_0x497de4['searchParams']['set']('runId',_0x3bc6ba[_0x255bfc(0x261)]('runId')),_0x497de4['toString']();}async[_0x6f952d(0x284)](){const _0x1e40ec=_0x6f952d;var _0x522eb9,_0x2fbd99,_0x49f7f2;const _0x4d8c36=this[_0x1e40ec(0x1e8)][_0x1e40ec(0x177)](_0x207f58),_0x1b3975=(_0x522eb9=_0x4d8c36==null?void 0x0:_0x4d8c36['wsSessionTicketUrl'])!=null?_0x522eb9:_0x102dda;return(_0x49f7f2=(_0x2fbd99=(await this[_0x1e40ec(0x235)]['get'](_0x1b3975,{'headers':{'Content-Type':_0x1e40ec(0x203)}}))[_0x1e40ec(0x9f)])==null?void 0x0:_0x2fbd99[_0x1e40ec(0x1db)])!=null?_0x49f7f2:'';}};st=vn([K(0x0,_0x2ad71f(_0x14214c)),K(0x1,_0x2ad71f(_0x121683)),K(0x2,_0x27db46),K(0x3,_0x4162d0),K(0x4,_0x549feb)],st);const it=0x7530,nt=_0x6f952d(0x286);class Fn extends _0x314d20{constructor(){const _0x38a4a8=_0x6f952d;super(),_(this,_0x38a4a8(0x165),_0x271946()),_(this,'_selfUnitIDs',new Set()),_(this,_0x38a4a8(0xe5),new Map()),_(this,_0x38a4a8(0xcb),null),_(this,'_clearOtherTimers',new Map()),_(this,_0x38a4a8(0x143),new Map()),this[_0x38a4a8(0x16a)]();}[_0x6f952d(0x85)](){const _0x11a476=_0x6f952d;super[_0x11a476(0x85)](),this[_0x11a476(0xc5)][_0x11a476(0x1f3)]((_0x50b26c,_0x18181c)=>this[_0x11a476(0x190)](_0x18181c)),this['_heartbeatTimer']&&window['clearInterval'](this[_0x11a476(0xcb)]);}['getUnitStatus$'](_0x301ba6){const _0x4f2222=_0x6f952d;return this['_ensureSubject'](_0x301ba6)[_0x4f2222(0x173)](_0x38037e());}[_0x6f952d(0x12f)](_0x41cd16){const _0x1200a0=_0x6f952d;this[_0x1200a0(0x188)][_0x1200a0(0x142)]===0x0&&this[_0x1200a0(0x271)](),this['_selfUnitIDs'][_0x1200a0(0x153)](_0x41cd16),this['_send']({'type':0x0,'memberID':this[_0x1200a0(0x165)],'unitIDs':[_0x41cd16],'isForwarded':!0x1});}[_0x6f952d(0x238)](_0x5c6ff5){const _0x537307=_0x6f952d;this[_0x537307(0x188)][_0x537307(0x230)](_0x5c6ff5),this['_selfUnitIDs']['size']===0x0&&this[_0x537307(0xcb)]&&window[_0x537307(0x27b)](this[_0x537307(0xcb)]);}[_0x6f952d(0x16a)](){const _0x4c7a3d=_0x6f952d;this[_0x4c7a3d(0xc7)](_0x545ea3(_0x3b2803(window,_0x4c7a3d(0x280))[_0x4c7a3d(0x1ba)](_0x464499=>{const _0x53c6b5=_0x4c7a3d;if(_0x464499[_0x53c6b5(0x189)]!==nt||!_0x464499[_0x53c6b5(0x237)])return;const _0xd1382b=JSON[_0x53c6b5(0x252)](_0x464499[_0x53c6b5(0x237)]);this[_0x53c6b5(0x128)](_0xd1382b);}))),window[_0x4c7a3d(0xbc)](_0x4c7a3d(0x1e7),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x4c7a3d(0x196)](this[_0x4c7a3d(0x188)])}));}[_0x6f952d(0x128)](_0xf6c683){const _0x13c893=_0x6f952d;switch(_0xf6c683[_0x13c893(0x258)]){case 0x0:this[_0x13c893(0xbe)](_0xf6c683);break;case 0x1:this[_0x13c893(0x26c)](_0xf6c683);break;case 0x2:this[_0x13c893(0x154)](_0xf6c683);break;}}[_0x6f952d(0xbe)](_0x261ade){const _0xc488a3=_0x6f952d,{unitIDs:_0x3a9d11,memberID:_0x414cfd,isForwarded:_0x44b9a9}=_0x261ade;_0x3a9d11['forEach'](_0x462bf1=>{const _0x3edbbe=_0x1920;if(!_0x44b9a9&&this[_0x3edbbe(0xe5)]['has'](_0x462bf1)&&this[_0x3edbbe(0x1df)](_0x462bf1)[_0x3edbbe(0xa9)](_0x19f169['OTHER_CLIENTS_EDITING']),!this['_unitOnClients'][_0x3edbbe(0x1a8)](_0x462bf1)||!this[_0x3edbbe(0xe5)][_0x3edbbe(0x261)](_0x462bf1)[_0x3edbbe(0x1a8)](_0x414cfd)){const _0x2a1194=this['_unitOnClients'][_0x3edbbe(0x261)](_0x462bf1)||new Set();_0x2a1194[_0x3edbbe(0x153)](_0x414cfd),this[_0x3edbbe(0xe5)][_0x3edbbe(0x129)](_0x462bf1,_0x2a1194),this['_scheduleClearOtherTimer'](_0x414cfd);}}),_0x44b9a9||this[_0xc488a3(0x106)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0xc488a3(0x188)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x5cd7f7){const _0x36b627=_0x6f952d;this[_0x36b627(0x190)](_0x5cd7f7);const _0x3e6e12=window['setTimeout'](()=>{const _0x5a6c63=_0x36b627;this[_0x5a6c63(0xe5)][_0x5a6c63(0x1f3)](_0x392d27=>{_0x392d27['delete'](_0x5cd7f7);});},it*0x2);this[_0x36b627(0xc5)][_0x36b627(0x129)](_0x5cd7f7,_0x3e6e12);}[_0x6f952d(0x190)](_0x19baa2){const _0x3eeeba=_0x6f952d;if(this[_0x3eeeba(0xc5)][_0x3eeeba(0x1a8)](_0x19baa2)){const _0xb6116e=this['_clearOtherTimers']['get'](_0x19baa2);_0xb6116e&&window[_0x3eeeba(0xbd)](_0xb6116e),this[_0x3eeeba(0xc5)][_0x3eeeba(0x129)](_0x19baa2,null);}}[_0x6f952d(0x26c)](_0x4b09e9){const _0xa1f8d5=_0x6f952d,{memberID:_0x522269,unitIDs:_0xeabd5c}=_0x4b09e9;_0xeabd5c[_0xa1f8d5(0x1f3)](_0x35adfe=>{const _0x1fe8b8=_0xa1f8d5;var _0x4a76cd;const _0x5122f2=this[_0x1fe8b8(0xe5)][_0x1fe8b8(0x261)](_0x35adfe);_0x5122f2&&(_0x5122f2['delete'](_0x522269),(_0x4a76cd=this['_ensureSubject'](_0x35adfe))==null||_0x4a76cd[_0x1fe8b8(0xa9)](_0x5122f2[_0x1fe8b8(0x142)]===0x0?_0x19f169['NO_OTHER_CLIENTS_EDITING']:_0x19f169['OTHER_CLIENTS_EDITING']));}),this[_0xa1f8d5(0x190)](_0x522269);}[_0x6f952d(0x154)](_0x2e910b){const _0x142634=_0x6f952d;this[_0x142634(0xaf)](_0x2e910b[_0x142634(0x192)]);}[_0x6f952d(0x106)](_0x2f4a97){localStorage['setItem'](nt,JSON['stringify'](_0x2f4a97));}[_0x6f952d(0x271)](){const _0x484934=_0x6f952d;this[_0x484934(0xcb)]=window[_0x484934(0x1ab)](()=>{const _0x350f97=_0x484934;this[_0x350f97(0x106)]({'type':0x2,'memberID':this['_id']});},it);}['_ensureSubject'](_0x469734){const _0x3722bd=_0x6f952d;return this[_0x3722bd(0x143)][_0x3722bd(0x1a8)](_0x469734)||this['_unitStatus'][_0x3722bd(0x129)](_0x469734,new _0x25ddca(_0x19f169[_0x3722bd(0xad)])),this[_0x3722bd(0x143)][_0x3722bd(0x261)](_0x469734);}}var Mt=(_0xa1837a=>(_0xa1837a[_0xa1837a[_0x6f952d(0xd7)]=0x0]=_0x6f952d(0xd7),_0xa1837a[_0xa1837a['OK']=0x1]='OK',_0xa1837a[_0xa1837a[_0x6f952d(0x259)]=0x2]=_0x6f952d(0x259),_0xa1837a[_0xa1837a[_0x6f952d(0x8c)]=0x3]=_0x6f952d(0x8c),_0xa1837a[_0xa1837a[_0x6f952d(0x141)]=0x4]=_0x6f952d(0x141),_0xa1837a[_0xa1837a[_0x6f952d(0x103)]=0x5]=_0x6f952d(0x103),_0xa1837a[_0xa1837a[_0x6f952d(0x1a0)]=0x6]='ALREADY_EXISTS',_0xa1837a[_0xa1837a[_0x6f952d(0x1f6)]=0x7]=_0x6f952d(0x1f6),_0xa1837a[_0xa1837a['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0xa1837a[_0xa1837a[_0x6f952d(0x275)]=0x9]=_0x6f952d(0x275),_0xa1837a[_0xa1837a[_0x6f952d(0xc6)]=0xa]=_0x6f952d(0xc6),_0xa1837a[_0xa1837a[_0x6f952d(0x1fc)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0xa1837a[_0xa1837a['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x6f952d(0x14e),_0xa1837a[_0xa1837a[_0x6f952d(0x9d)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0xa1837a[_0xa1837a['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x6f952d(0x209),_0xa1837a[_0xa1837a[_0x6f952d(0xf4)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0xa1837a[_0xa1837a[_0x6f952d(0xb2)]=0x1771]=_0x6f952d(0xb2),_0xa1837a[_0xa1837a[_0x6f952d(0x161)]=0x1772]=_0x6f952d(0x161),_0xa1837a[_0xa1837a[_0x6f952d(0x260)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0xa1837a[_0xa1837a[_0x6f952d(0xce)]=0x1b59]=_0x6f952d(0xce),_0xa1837a[_0xa1837a[_0x6f952d(0x1a1)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0xa1837a[_0xa1837a[_0x6f952d(0x216)]=0x1b5b]=_0x6f952d(0x216),_0xa1837a[_0xa1837a[_0x6f952d(0x244)]=0x1b5c]=_0x6f952d(0x244),_0xa1837a[_0xa1837a[_0x6f952d(0xfc)]=0x1b5d]=_0x6f952d(0xfc),_0xa1837a[_0xa1837a['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0xa1837a[_0xa1837a[_0x6f952d(0xe1)]=0x2329]=_0x6f952d(0xe1),_0xa1837a[_0xa1837a[_0x6f952d(0xa3)]=0x232a]=_0x6f952d(0xa3),_0xa1837a[_0xa1837a['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x6f952d(0x1e0),_0xa1837a[_0xa1837a[_0x6f952d(0x204)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0xa1837a[_0xa1837a[_0x6f952d(0x22c)]=0x232d]='LICENSE_DISTRO_REJECTED',_0xa1837a[_0xa1837a['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x6f952d(0x1d1),_0xa1837a[_0xa1837a[_0x6f952d(0x22a)]=0x2712]=_0x6f952d(0x22a),_0xa1837a[_0xa1837a[_0x6f952d(0x1af)]=0x2713]=_0x6f952d(0x1af),_0xa1837a[_0xa1837a[_0x6f952d(0xea)]=0x2714]=_0x6f952d(0xea),_0xa1837a[_0xa1837a[_0x6f952d(0x21a)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0xa1837a[_0xa1837a[_0x6f952d(0xa2)]=0x271b]=_0x6f952d(0xa2),_0xa1837a[_0xa1837a[_0x6f952d(0x19f)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0xa1837a[_0xa1837a[_0x6f952d(0x1fb)]=0x271d]=_0x6f952d(0x1fb),_0xa1837a[_0xa1837a['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x6f952d(0x232),_0xa1837a[_0xa1837a[_0x6f952d(0xa6)]=0x271f]=_0x6f952d(0xa6),_0xa1837a[_0xa1837a[_0x6f952d(0x17f)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0xa1837a[_0xa1837a[_0x6f952d(0x1c6)]=0x2af9]=_0x6f952d(0x1c6),_0xa1837a[_0xa1837a[_0x6f952d(0x1a6)]=0x2ee1]=_0x6f952d(0x1a6),_0xa1837a[_0xa1837a['INVALID_INVITE_CODE']=0x2ee2]=_0x6f952d(0x8f),_0xa1837a[_0xa1837a[_0x6f952d(0x10f)]=0x2ee3]=_0x6f952d(0x10f),_0xa1837a[_0xa1837a[_0x6f952d(0x23e)]=0x2ee4]=_0x6f952d(0x23e),_0xa1837a[_0xa1837a[_0x6f952d(0x1e1)]=0x2ee5]=_0x6f952d(0x1e1),_0xa1837a[_0xa1837a[_0x6f952d(0x126)]=0x32c9]=_0x6f952d(0x126),_0xa1837a[_0xa1837a['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0xa1837a[_0xa1837a['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0xa1837a[_0xa1837a[_0x6f952d(0x20e)]=-0x1]=_0x6f952d(0x20e),_0xa1837a))(Mt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x3dd524,_0x36f8df,_0xda58c6,_0x59f108)=>{const _0x4e0f83=_0x6f952d;for(var _0x542473=_0x59f108>0x1?void 0x0:_0x59f108?pn(_0x36f8df,_0xda58c6):_0x36f8df,_0x5c74a1=_0x3dd524[_0x4e0f83(0x158)]-0x1,_0x303846;_0x5c74a1>=0x0;_0x5c74a1--)(_0x303846=_0x3dd524[_0x5c74a1])&&(_0x542473=_0x303846(_0x542473)||_0x542473);return _0x542473;},be=(_0x24d06f,_0x4f3e0f)=>(_0x3349e7,_0x33ea88)=>_0x4f3e0f(_0x3349e7,_0x33ea88,_0x24d06f);let rt=class extends _0x314d20{constructor(_0x1be0b5,_0x3b82b4,_0x2d1eb8){const _0x28a349=_0x6f952d;super(),this[_0x28a349(0x182)]=_0x1be0b5,this[_0x28a349(0x235)]=_0x3b82b4,this['_configService']=_0x2d1eb8;}async[_0x6f952d(0xdd)](_0x2d6ed7,_0x382d8a,_0x52eafb,..._0x1272a0){const _0x28b65a=_0x6f952d;var _0x33889e,_0x5bfb3b,_0x57ac03,_0x93310c;const _0x3e95e5=this[_0x28b65a(0x182)][_0x28b65a(0x1c9)]();if(!_0x3e95e5)throw new Error(_0x28b65a(0xfa));const _0x43d15b=((_0x33889e=this[_0x28b65a(0x1e8)][_0x28b65a(0x177)](_0x3a0e70))!=null?_0x33889e:_0x3b2874)+'/'+_0x2d6ed7+_0x28b65a(0x92)+_0x382d8a,_0x234417=new URL(window[_0x28b65a(0x1bd)]['href']),_0x4b1a42={'scriptId':_0x2d6ed7,'runId':(_0x5bfb3b=_0x234417['searchParams']['get'](_0x28b65a(0x107)))!=null?_0x5bfb3b:'','function':_0x382d8a,'unitId':_0x3e95e5[_0x28b65a(0x212)](),'argsOfFunction':JSON[_0x28b65a(0x24b)](_0x1272a0),'invokeId':(_0x57ac03=_0x52eafb['invokeId'])!=null?_0x57ac03:'','executionId':(_0x93310c=_0x52eafb[_0x28b65a(0x24c)])!=null?_0x93310c:''};try{const _0x4269c7=await this[_0x28b65a(0x235)]['post'](_0x43d15b,{'body':_0x4b1a42});return _0x4269c7['body'][_0x28b65a(0x1e3)]&&_0x4269c7[_0x28b65a(0x9f)]['error']['code']!==Mt['OK']?_0x28b65a(0x1bf):_0x4269c7[_0x28b65a(0x9f)][_0x28b65a(0xd0)];}catch{return'Failed';}}};rt=Cn([be(0x0,_0xf38a52),be(0x1,_0x2ad71f(_0x121683)),be(0x2,_0x27db46)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Wi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
1
+ const _0x4e72fd=_0x3b51;(function(_0x4be960,_0x2fb5a6){const _0x13838b=_0x3b51,_0x5694d5=_0x4be960();while(!![]){try{const _0x3ce0ab=parseInt(_0x13838b(0x2bd))/0x1+-parseInt(_0x13838b(0x205))/0x2*(parseInt(_0x13838b(0x20a))/0x3)+-parseInt(_0x13838b(0x199))/0x4*(parseInt(_0x13838b(0x20b))/0x5)+-parseInt(_0x13838b(0x36d))/0x6+-parseInt(_0x13838b(0x312))/0x7+-parseInt(_0x13838b(0x284))/0x8*(-parseInt(_0x13838b(0x35f))/0x9)+parseInt(_0x13838b(0x178))/0xa;if(_0x3ce0ab===_0x2fb5a6)break;else _0x5694d5['push'](_0x5694d5['shift']());}catch(_0x37db53){_0x5694d5['push'](_0x5694d5['shift']());}}}(_0x3dc8,0xeb5b2));var $t=Object[_0x4e72fd(0x22f)],xt=(_0x28cb11,_0x242c7e,_0x4bf1dc)=>_0x242c7e in _0x28cb11?$t(_0x28cb11,_0x242c7e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4bf1dc}):_0x28cb11[_0x242c7e]=_0x4bf1dc,_=(_0x533011,_0x5bef2e,_0x5468e3)=>xt(_0x533011,typeof _0x5bef2e!=_0x4e72fd(0x2cc)?_0x5bef2e+'':_0x5bef2e,_0x5468e3);import{MemberService as _0x217f91,SessionStatus as _0x15bbd5,CollaborationSessionService as _0x2986ef,CollaborationStatus as _0x465d72,CollaborationController as _0x1e1b99,ILocalCacheService as _0x887162,CollaborationUIEventService as _0x1defd2,CollaborationUIEventId as _0x1f4da2,DataLoaderService as _0x6b9d31,DocCollaborationEntity as _0x3a6f5d,getLocalCacheKey as _0x67462b,LOCAL_CACHE_INTERVAL as _0x168836,LOCAL_CACHE_INTERVAL_KEY as _0x3488f1,UniverCollaborationClientPlugin as _0x4b81ab,CollaborationSocketService as _0x348568,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x29e661,DEFAULT_WS_SESSION_TICKET_URL as _0xf649ef,UnitStatus as _0x26a024,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x453571,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x56483c}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x4c7c7e,Disposable as _0x1ed90e,DOC_RANGE_TYPE as _0x33e6e5,Inject as _0x3978bf,Injector as _0x34e1fa,IUniverInstanceService as _0x3de8bd,ICommandService as _0x213a2d,debounce as _0x449743,Rectangle as _0x2a06c0,DisposableCollection as _0x20443a,toDisposable as _0x5dbc96,UniverInstanceType as _0x573968,Tools as _0x323f3c,COLORS as _0x3d340d,ColorKit as _0x4d8387,ThemeService as _0x598c2b,fromEventSubject as _0x33ebf8,LocaleService as _0x4d43d2,createIdentifier as _0x304b66,ILogService as _0x2c1045,Optional as _0x44507a,Workbook as _0x3debcb,CommandType as _0x15ab1b,IConfigService as _0xa39781,ILocalStorageService as _0x5e3c59,DependentOn as _0x5035b2,Plugin as _0x5a7775,merge as _0x324ce8,registerDependencies as _0x59786f,mergeOverrideWithDependencies as _0x1e1a8e,touchDependencies as _0x348680,generateRandomId as _0x23d190}from'@univerjs/core';import{Shape as _0x283367,Rect as _0x152506,getColor as _0x55c4f2,RegularPolygon as _0x2a9029,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x22d7d5,Vector2 as _0x4afb0f,SHEET_VIEWPORT_KEY as _0x2f8408,IRenderManagerService as _0x5e2470}from'@univerjs/engine-render';import{ISocketService as _0x5336bd,WebSocketService as _0x54593a,HTTPService as _0x356126}from'@univerjs/network';import{IDocClipboardService as _0x440991,NodePositionConvertToCursor as _0x9564a2,NodePositionConvertToRectRange as _0x45dbde,TEXT_RANGE_LAYER_INDEX as _0x599d24,SetDocZoomRatioOperation as _0x2a6140,DocIMEInputManagerService as _0x58cabd,DocStateChangeManagerService as _0x241ff9}from'@univerjs/docs-ui';import{IImageIoService as _0x41823b}from'@univerjs/drawing';import{BehaviorSubject as _0xbbcda8,debounceTime as _0xd6784,takeUntil as _0x48049b,Subject as _0x49a8fb,filter as _0x4b8ddd,switchMap as _0x422903,merge as _0x14c05a,combineLatest as _0x5f3e83,of as _0x59d378,fromEvent as _0x4f2d6b,shareReplay as _0x55a28c,mapTo as _0x5a226a,distinctUntilChanged as _0x45320f}from'rxjs';import{ITransformService as _0x3b0871,CollaborationEvent as _0x524295,isTransformMutationFailure as _0x467b0b,isTransformMutationsWithChangesetSuccess as _0x225003,RevisionService as _0x57cffe,ISnapshotServerService as _0x36ff2a}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x5300dc,RichTextEditingMutation as _0x344765,DocSelectionManagerService as _0x5ced89,DocSkeletonManagerService as _0x4241b3}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x1f808c,serializeRangeWithSheet as _0x4e16fa}from'@univerjs/engine-formula';import{RefRangeService as _0x569dbd,SetSelectionsOperation as _0xb118db,SheetsSelectionsService as _0x26d9fc,EffectRefRangId as _0x15d56d,handleIRemoveRow as _0xf1d0b0,handleIRemoveCol as _0x10f7cd,handleMoveRange as _0x39521b,handleInsertRow as _0x443956,handleInsertRangeMoveRight as _0x4ba41a,handleInsertRangeMoveDown as _0x57e431,handleInsertCol as _0x3f5579,handleDeleteRangeMoveUp as _0x3d99b7,handleDeleteRangeMoveLeft as _0x161bd7,runRefRangeMutations as _0x2123c2,SetWorksheetActivateCommand as _0x21d5ab}from'@univerjs/sheets';import{map as _0x5300d0,filter as _0x57683b,throttleTime as _0x10996d,takeUntil as _0x74c2c4,switchMap as _0x751ecb}from'rxjs/operators';import{SheetSkeletonManagerService as _0x3dde03,getCoordByCell as _0x46c784,getSheetObject as _0x56ac2a}from'@univerjs/sheets-ui';import{jsx as _0x4e3134,jsxs as _0x41dff2}from'react/jsx-runtime';import{useObservable as _0x2c7948,useDependency as _0x4ac78b,IUIPartsService as _0x110553,BuiltInUIPart as _0x5e0c72,connectInjector as _0x2ac687,IBeforeCloseService as _0x5812fa,IMessageService as _0x556324,INotificationService as _0x5d82b5}from'@univerjs/ui';import{Tooltip as _0x757013,clsx as _0x5490e6,MessageType as _0x398b05}from'@univerjs/design';import{forwardRef as _0x22ab66,useRef as _0x5e9ffd,createElement as _0xb3c7a5,useCallback as _0x549e10}from'react';import{IRemoteInstanceService as _0x4e5c3e}from'@univerjs/rpc';var ci=Object[_0x4e72fd(0x2d6)],li=(_0x15830c,_0x486d42,_0x27bde0,_0xd5e72e)=>{const _0x5d9004=_0x4e72fd;for(var _0x55cd5d=_0xd5e72e>0x1?void 0x0:_0xd5e72e?ci(_0x486d42,_0x27bde0):_0x486d42,_0x4c9b37=_0x15830c[_0x5d9004(0x330)]-0x1,_0x5f2d65;_0x4c9b37>=0x0;_0x4c9b37--)(_0x5f2d65=_0x15830c[_0x4c9b37])&&(_0x55cd5d=_0x5f2d65(_0x55cd5d)||_0x55cd5d);return _0x55cd5d;},Je=(_0x4bb113,_0x3fa100)=>(_0x259f47,_0x152042)=>_0x3fa100(_0x259f47,_0x152042,_0x4bb113);let Ne=class extends _0x4c7c7e{constructor(_0x116d36,_0x4a2055){const _0x4902b6=_0x4e72fd;super(),this[_0x4902b6(0x1a7)]=_0x116d36,this['_imageIoService']=_0x4a2055,this[_0x4902b6(0x2f8)]();}['_init'](){const _0x423f3e=_0x4e72fd,_0x57a5c1=this;this['disposeWithMe'](this[_0x423f3e(0x1a7)]['addClipboardHook']({'onBeforePasteImage':async _0x5752fc=>{const _0x1439c9=_0x423f3e,_0x27297d=await _0x57a5c1['_imageIoService'][_0x1439c9(0x354)](_0x5752fc);return _0x27297d?{'source':_0x27297d[_0x1439c9(0x269)],'imageSourceType':_0x27297d[_0x1439c9(0x2af)]}:null;}}));}};function _0x3dc8(){const _0x2376cf=['RECT','_selfUnitIDs','getFocusedUnit','source','_startDocCollabCursor','_toggleOffline','LICENSE_DISTRO_REJECTED','subscribe','startColumn','getValue','dispose','searchParams','url(#$1','_anchor','translate(.97)','fill','_colorIndex','bottom','APPLY_REVISION_CONFILICT','USERS_LEAVE','VIEW_MAIN','UPDATE_CURSOR','selections','TOO_MANY_REQUESTS','_updateCollabCursors','_updateSubUnitFromURLParams','top','NOT_FOUND','PERMISSION_DENIED','_clearOtherTimers','56QYggiB','href','_range','MoveRangeCommandId','random','DeleteRangeMoveLeftCommandId','_id','getUndoRedoMutationParamsCache','onRendered','getColorFromTheme','setParam','collaboration-client.offline-data-not-saved','exhaustSavingTask','_cachedData','on-line-icon','registerComponent','UNAUTHENTICATED','current','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','_collabCursorState$','getCollabCursors$','AWAITING','div','params','white','substring','getTypeOfUnitDisposed$','values','with','_roomMembers$','red.300','RemoveColCommandId','_color','error','getSheetBySheetId','status$','selection','FETCH_MISS','_handleHover','_docTransformSelectionsService','_docTransformStateCacheService','...','_eventUnsubscribe','imageSourceType','icon','getRangePointData','show','purple.300','CLOSE_ROOM','transformStateCache','unit','_name','name','registerRenderModule','text','popstate','colorChannel1','652655SEatdw','UNDEFINED','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','disposeUnit','_urlService','MOBILE_HAS_BEEN_BOUND','_sheetSkeletonManagerService','_localCacheService','getCellPositionByOffset','lineTo','send','jiqing.500','function','M0\x200H16V16H0z','SYNCED','symbol','_refRangeService','currentSkeleton$','_transformHistoryAndStateStack','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','getSkeleton','_hideTimer','LOGIN_FAILED','UNIVER_DOC','height','getOwnPropertyDescriptor','_messageService','_uiPartsService','onLocalMutation','transformIMECache','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','size','_render','ranges','fillStyle','roomMembers','INVITE_CODE_ALREADY_BOUND','_heartbeatTimer','wsSessionTicketUrl','UniverIcon','_handleJoinEvent','APPLY_NON_SEQUENTIAL_REVISION','_entityInit$','collab-text-anchor-','sheetID','_online','_initCommandExecutedListener','_context','_getSaveTimeout','indexOf','LICENSE_MAX_UNITS_EXCEEDED','_drawAnchor','fillText','all','activeSheet$','_disabled','makeDirty','_refreshCollabCursors','_themeService','_init','_notificationService','extend','_startSheetCollabCursor','YUUMI_TABLE_NOT_FOUND_IN_UNIT','rgba(255,\x20255,\x20255,\x200.01)','RemoveRowCommandId','disableLocalCache','_hovered','startsWith','setConfig','min','addObject','_localStorageService','INVITE_CODE_REQUIRED','className','_unitStatus','_renderManagerService','set','history','_initDependencies','YUUMI_SUBSCRIPTION_NOT_FOUND','_initStatusListener','clipPath','CONNECTOR_DATA_TOO_LARGE','_setupBeforeClosingHandler','4708928VcXFST','sheetId','getRelativeToViewportCoord','YUUMI_CONNECTOR_URL_NOT_FOUND','syncEditingCollabCursor','InsertColCommandId','_textBubble','USER_NOT_INVITED_CODE','use','dispose$','collabStatus.synced','_collaborationController','children','_updateURLWithCurrentState','_collabCursorController','Unknown\x20user','_ensureSubject','CONFLICT','UNRECOGNIZED','getMemberID','getStateCache','column','asObservable','attrs','clearInterval','resize','_instanceService','requireSession','get','_cursorInfo$','length','idSuffix','post','_transformService','round','[RemoteUniscriptService]:\x20no\x20focused\x20unit','1em','deepClone','hovered','0\x200\x2016\x2016','removeParam','_onCursorDelete','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','contains','collaboration.single-unit.warning','onTransformChange$','Error','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','transformRemoteChangeset','_scheduleHeartbeat','/run/','CHANGESET_REVISION_CONFILICT','add','search','m1Prime','_memberService','beginPath','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','includes','COMPLETION_FINISHED','concat','OffLineIcon','YUUMI_NO_CUBOID_FOR_QUESTION','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','defs','eventID','saveImage','drawWith','parse','getConfig','getUniverSheetInstance','color','unitID','ENSURE_SNAPSHOT_EXECUTION','location','_cursors','_logService','141642dgoprX','NO_OTHER_CLIENTS_EDITING','getRenderById','PY_RUNTIME_SCRIPT_ERROR','focused$','_scene','arc','push','font','_getSessionTicket','_transformUndoRedoStack','defIds','LICENSE_IMPORT_SIZE_EXCEEDED','_initEvent','5252826mcXFsl','off-line-icon_clip0_910_343','blue.400','transformSelections','clearTimeout','_config','roomMembers$','getDocRanges','addHandlerCallback','replaceDocRanges','unload','width','YUUMI_RATE_OVER_LIMIT','saveTaskMap','JOIN_ROOM_FAILED','complete','next','cursorInfo$','YUUMI_URL_COL_OUT_OF_RANGE','APPLY_REJECT','YUUMI_ALL_TABLES_IS_INVALID','univerjs-icon\x20univerjs-icon-','_initEntityListener','setShapeProps','_onCursorUpdate','_localeService','runId','_unitOnClients','yellow.400','52689500cuFvon','_document','labelPosition','assign','urlChange$','currentTheme$','endColumn','setUndoRedoMutationParamsCache','[CollaborationDataLoaderController]','MOBILE_VERIFY_CODE_MISMATCH','unsubscribe','getCurrent','range','data','map','memberID','_session','permission.content','black','split','_createSocketURL','_saveTaskMap','isArray','max','_status$','runOnServer','executeCommand','EMAIL_HAS_BEEN_BOUND','result','collaboration.closeRoom','evenodd','_removeCollabCursors','reconnect','14104vZZZpw','hasOwnProperty','forEach','toString','disposeWithMe','ONLINE','createSocket','HEADER_MENU','getSheetId','INVALID_INVITE_CODE','path','_send','_beforeCloseService','INVALID_ARGUMENT','_docClipboardService','onPointerMove$','transformMutationsWithChangeset','triggerDblclick','_lastPointer','_cursorShapes','off-line-icon','_drawRectRange','Failed','call','SNAPSHOT_HAS_BEEN_REMOVED','debug','subscribeEvent','WECHAT_HAS_BEEN_BOUND','_configService','getUnitStatus$','flatMap','key','_collabSessionService','getVpScrollXYInfoByPosToVp','getOwnPropertySymbols','OTHER_CLIENT_EDITING','_saveCache','_drawTextRange','_scheduleSaving','undoState','transformMutation','onCommandExecuted','_initStatusComponent','YUUMI_AI_RUN_FAILED','textRanges','tag','_univerInstanceService','loadOfflineData','_shapes','Warning','createInstance','_updateLocalCursor','measureText','onPointerEnter$','_syncEditingCollabCursorService','FromArray','stringify','_injector','YUUMI_ASYNCIO_CANCELLED','application/json','storage','mutations','LICENSE_EXPORT_SIZE_EXCEEDED','univer-mr-2\x20univer-flex\x20univer-text-xl','uni.network.url-service','TEXT','getOffsetConfig','MUTATION','_onRefRangeChange','m2Prime','SUBMIT_CHANGESET_TIMEOUT','_backgroundColor','_labelPosition','_removeClearOtherTimer','_doCreateSocket','svg','_assignedColors','green.600','on-line-icon_clip0_910_349','getMember','string','init','docStateChange$','has','_handleEvent','registerBeforeClose','executionId','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','getCurrentRevOfUnit','addEventListener','transformByState','APPLY_DUPLICATED','_commandService','origin','SNAPSHOT_INVALID_SNAPSHOT','event$','_getMergeRange','subUnitId','OTHER_CLIENTS_EDITING','getItem','row','startRow','setInterval','getUnhiddenWorksheets','_handleHeartbeatEvent','propertyIsEnumerable','YUUMI_UNABLE_LOAD_URL','session.will-retry','104536vPXSUn','_transformPreviousActiveRange','collaboration-client-ui.config','invokeId','_draw','99jdiXpv','2545cajoaW','onPointerLeave$','INVITE_CODE_HAS_BEEN_UES','delete','loadUnit','generateRandomId','getAncestorScale','replace','setActiveRange','displayName','_registerRenderDependencies','type','getParam','EMAIL_VERIFY_CODE_MISMATCH','_registerDependencies','getMergeData','subunit','xlink:href','editingUnit','isEditing','registerRefRange','pipe','findNodePositionByCharIndex','collab-client.tooltip.reconnect','_docSkeletonManagerService','_anchorDot','http://www.w3.org/2000/svg','_docSyncEditingCollabCursorService','actions','ticket','unshift','cursorInfo','_entities','collab-rect-range-','closePath','whenReady','defineProperty','saveOfflineData','enableLocalCache','_colorAssignService','onMouseMove','UNIVER_SHEET','univer-flex\x20univer-items-center','from','getViewport','replaceState','getUnitId','_handleLeaveEvent','collabCursorState$','doc.mutation.rich-text-editing','_initResize','SOCKET_FAILED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','collab-text-range-','mask','isActive','toRgbString','restore','_docStateChangeManagerService','unitId','apply','SOCKET_FAILED_RETRY','currentColor','save','none','collabStatus.conflict','assignAColorForMemberID','body','then','pushState','ALREADY_EXISTS','backgroundColor','setItem','_getScale','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_getAnchorBounding','_docTransformIMECacheService','_toggleOnline','_hover','hide','addObjects','_collaborationUIEventService','redoState','_getSheetObject','_scheduleClearOtherTimer','setAlpha','getTypeOfUnitAdded$','prototype','_httpService','NOT_COLLAB','entries'];_0x3dc8=function(){return _0x2376cf;};return _0x3dc8();}Ne=li([Je(0x0,_0x440991),Je(0x1,_0x41823b)],Ne);const Ze=[_0x4e72fd(0x2b3),_0x4e72fd(0x2c8),_0x4e72fd(0x1e6),_0x4e72fd(0x2a2),_0x4e72fd(0x36f),_0x4e72fd(0x177)];class ke extends _0x1ed90e{constructor(){const _0x4b42d8=_0x4e72fd;super(...arguments),_(this,_0x4b42d8(0x1e5),new Map()),_(this,_0x4b42d8(0x276),0x0);}['assignAColorForMemberID'](_0x11ae22){const _0x382460=_0x4e72fd;if(this[_0x382460(0x1e5)][_0x382460(0x1ec)](_0x11ae22))return this[_0x382460(0x1e5)][_0x382460(0x32e)](_0x11ae22);const _0x3bffce=Ze[this[_0x382460(0x276)]];return this[_0x382460(0x276)]=(this[_0x382460(0x276)]+0x1)%Ze[_0x382460(0x330)],this[_0x382460(0x1e5)][_0x382460(0x30a)](_0x11ae22,_0x3bffce),_0x3bffce;}}function Tt(_0x4da9fc){const _0x5e86cf=_0x4e72fd;let _0x563f60='';for(const _0x3da5cf of _0x4da9fc){const {startOffset:_0x1ceaba,endOffset:_0x45ccf9,isActive:_0x5f1122,rangeType:_0x5d416a,segmentId:_0x6f3d48,segmentPage:_0x44a9e1}=_0x3da5cf;_0x563f60[_0x5e86cf(0x330)]&&(_0x563f60+=','),_0x563f60+=_0x1ceaba+':'+_0x45ccf9+':'+(_0x5f1122?'1':'0')+':'+_0x5d416a+':'+_0x6f3d48+':'+_0x44a9e1;}return _0x563f60;}function _i(_0x20bcd6){const _0x456272=_0x4e72fd,_0x3d9560=_0x20bcd6[_0x456272(0x18b)](','),_0x26ee34=[];for(const _0x53a0c7 of _0x3d9560){const [_0x19748b,_0xd7cddb,_0x44529e,_0x282a6c,_0x5a113d,_0x5d1536]=_0x53a0c7[_0x456272(0x18b)](':');_0x26ee34[_0x456272(0x366)]({'startOffset':Number(_0x19748b),'endOffset':Number(_0xd7cddb),'collapsed':_0x19748b===_0xd7cddb,'isActive':_0x44529e==='1','rangeType':_0x282a6c===_0x33e6e5[_0x456272(0x1da)]?_0x33e6e5[_0x456272(0x1da)]:_0x33e6e5[_0x456272(0x266)],'segmentId':typeof _0x5a113d==_0x456272(0x1e9)?String(_0x5a113d):'','segmentPage':Number(_0x5d1536!=null?_0x5d1536:-0x1)});}return _0x26ee34['some'](_0x10da9c=>_0x10da9c[_0x456272(0x242)])||(_0x26ee34[0x0][_0x456272(0x242)]=!0x0),_0x26ee34;}class He extends _0x4c7c7e{constructor(){const _0x2eb0ea=_0x4e72fd;super(...arguments),_(this,'_collabCursorState$',new _0xbbcda8(null)),_(this,'collabCursorState$',this[_0x2eb0ea(0x297)][_0x2eb0ea(0x328)]());}[_0x4e72fd(0x316)](_0x50054e){const _0x3ef649=_0x4e72fd,{unitID:_0xecb652,memberID:_0x39c4a3,textRanges:_0x59213a}=_0x50054e,_0x48086d=Tt(_0x59213a);if(_0x48086d==='')return;const _0x599d84={'unitID':_0xecb652,'memberID':_0x39c4a3,'selection':_0x48086d};this[_0x3ef649(0x297)][_0x3ef649(0x16b)](_0x599d84);}}var hi=Object['getOwnPropertyDescriptor'],ui=(_0x46c320,_0x2472c0,_0x551ee9,_0x229347)=>{const _0x474396=_0x4e72fd;for(var _0x53979f=_0x229347>0x1?void 0x0:_0x229347?hi(_0x2472c0,_0x551ee9):_0x2472c0,_0x5a9951=_0x46c320[_0x474396(0x330)]-0x1,_0x8af1a8;_0x5a9951>=0x0;_0x5a9951--)(_0x8af1a8=_0x46c320[_0x5a9951])&&(_0x53979f=_0x8af1a8(_0x53979f)||_0x53979f);return _0x53979f;},P=(_0x8559cf,_0x5a9d11)=>(_0x322c18,_0x2fdeeb)=>_0x5a9d11(_0x322c18,_0x2fdeeb,_0x8559cf);const di=0x12c,fi=0x64;let Ue=class extends _0x4c7c7e{constructor(_0x2fd2d3,_0x29bb7f,_0x676414,_0x4023db,_0x56eba8,_0xfb45d1,_0xe24837,_0xd7a277,_0x2fad75){const _0x10216b=_0x4e72fd;super(),_(this,_0x10216b(0x2ea),!0x1),_(this,'_init',!0x1),_(this,'_cursorInfo$',new _0xbbcda8(new Map())),_(this,'cursorInfo$',this[_0x10216b(0x32f)][_0x10216b(0x328)]()),_(this,_0x10216b(0x2a1),new _0xbbcda8([])),_(this,_0x10216b(0x373),this['_roomMembers$']['pipe'](_0xd6784(di))),_(this,_0x10216b(0x1cc),_0x449743(_0x34036b=>{const _0x5051fe=_0x10216b,_0x1f145e={'eventID':_0x524295['UPDATE_CURSOR'],'data':{'unitID':this[_0x5051fe(0x35a)],'memberID':this[_0x5051fe(0x188)][_0x5051fe(0x325)](),'selection':Tt(_0x34036b)}};this[_0x5051fe(0x188)]['send'](_0x1f145e,this['unitID']);},fi)),(this[_0x10216b(0x35a)]=_0x2fd2d3,this['_session']=_0x29bb7f,this[_0x10216b(0x1d2)]=_0x676414,this['_colorAssignService']=_0x4023db,this[_0x10216b(0x349)]=_0x56eba8,this[_0x10216b(0x1cf)]=_0xfb45d1,this['_transformService']=_0xe24837,this[_0x10216b(0x1c7)]=_0xd7a277,this[_0x10216b(0x1f5)]=_0x2fad75);}get[_0x4e72fd(0x22a)](){return this['_cursorInfo$']['getValue']();}get[_0x4e72fd(0x2e0)](){const _0x112ead=_0x4e72fd;return this[_0x112ead(0x2a1)][_0x112ead(0x26f)]();}['dispose'](){const _0x421ba8=_0x4e72fd;super[_0x421ba8(0x270)](),this[_0x421ba8(0x32f)][_0x421ba8(0x16b)](new Map()),this[_0x421ba8(0x32f)]['complete'](),this['_roomMembers$'][_0x421ba8(0x16b)]([]),this['_roomMembers$']['complete']();}[_0x4e72fd(0x1ea)](){const _0xa2b6c=_0x4e72fd;this[_0xa2b6c(0x2f8)]||(this[_0xa2b6c(0x2f8)]=!0x0,this[_0xa2b6c(0x188)]['sessionStatus$']['pipe'](_0x48049b(this[_0xa2b6c(0x31b)]))[_0xa2b6c(0x26d)](_0x1ff820=>{const _0x548790=_0xa2b6c;_0x1ff820===_0x15bbd5['ONLINE']?this[_0x548790(0x258)]():this[_0x548790(0x26b)]();}),this[_0xa2b6c(0x188)][_0xa2b6c(0x1f8)]['pipe'](_0x48049b(this['dispose$']))[_0xa2b6c(0x26d)](_0x658858=>{const _0x271489=_0xa2b6c,_0x4414d7=_0x658858[_0x271489(0x353)];_0x4414d7===_0x524295[_0x271489(0x27b)]&&this['_onCursorUpdate'](_0x658858),_0x4414d7===_0x524295[_0x271489(0x279)]&&this[_0x271489(0x33b)](_0x658858);}),this[_0xa2b6c(0x19d)](this[_0xa2b6c(0x1f5)][_0xa2b6c(0x1c2)](_0x534dc2=>{const _0x5b987d=_0xa2b6c,_0x278f00=_0x534dc2[_0x5b987d(0x29b)];_0x278f00!=null&&this[_0x5b987d(0x2ea)]&&_0x534dc2['id']===_0x5300dc['id']&&_0x278f00['unitId']===this[_0x5b987d(0x35a)]&&_0x278f00[_0x5b987d(0x21e)]===!0x1&&_0x278f00[_0x5b987d(0x2de)][_0x5b987d(0x330)]>0x0&&this[_0x5b987d(0x1cc)](_0x278f00[_0x5b987d(0x2de)]);})),this['_syncEditingCollabCursorService'][_0xa2b6c(0x23b)][_0xa2b6c(0x220)](_0x48049b(this[_0xa2b6c(0x31b)]))[_0xa2b6c(0x26d)](_0x12a59a=>{const _0x355c0c=_0xa2b6c;if((_0x12a59a==null?void 0x0:_0x12a59a[_0x355c0c(0x35a)])!==this[_0x355c0c(0x35a)])return;const _0x32a1ba={'eventID':_0x524295[_0x355c0c(0x27b)],'data':_0x12a59a};this[_0x355c0c(0x173)](_0x32a1ba);}),this[_0xa2b6c(0x19d)](this[_0xa2b6c(0x1f5)]['onCommandExecuted'](_0x282ebc=>{const _0x23c43d=_0xa2b6c;if(_0x282ebc[_0x23c43d(0x29b)]==null)return;const _0x43575f=_0x282ebc[_0x23c43d(0x29b)];if(_0x282ebc['id']!==_0x344765['id']||_0x43575f[_0x23c43d(0x246)]!==this[_0x23c43d(0x35a)])return;const _0x34a2d2={'id':'doc.mutation.rich-text-editing','params':_0x43575f},_0x1fb098=this[_0x23c43d(0x22a)];for(const [_0xe273eb,_0x12d74f]of _0x1fb098){const _0x1aac1b={'id':_0x23c43d(0x23c),'params':{'unitId':this[_0x23c43d(0x35a)],'actions':null,'textRanges':_0x12d74f[_0x23c43d(0x2de)]}},_0x32e2e1=this[_0x23c43d(0x333)][_0x23c43d(0x1c1)](_0x34a2d2,_0x1aac1b,!0x1);if(_0x467b0b(_0x32e2e1))throw _0x32e2e1[_0x23c43d(0x2a5)];_0x1fb098[_0x23c43d(0x30a)](_0xe273eb,{..._0x12d74f,'ranges':_0x32e2e1['m2Prime'][_0x23c43d(0x29b)]['textRanges']});}queueMicrotask(()=>{const _0x2886ca=_0x23c43d;this['_cursorInfo$'][_0x2886ca(0x16b)](_0x1fb098);});})));}[_0x4e72fd(0x173)](_0x19329b){const _0x5db954=_0x4e72fd;var _0x7cefad,_0x2f484d;const {memberID:_0x1f9b45,selection:_0x118834}=_0x19329b[_0x5db954(0x185)],_0x51e659=_i(_0x118834),_0x453acd=(_0x2f484d=(_0x7cefad=this[_0x5db954(0x349)][_0x5db954(0x1e8)](this['unitID'],_0x1f9b45))==null?void 0x0:_0x7cefad[_0x5db954(0x2b8)])!=null?_0x2f484d:_0x5db954(0x321),_0x1225e3={'color':this[_0x5db954(0x232)][_0x5db954(0x24d)](_0x1f9b45),'name':_0x453acd,'ranges':_0x51e659},_0x5569e1=this[_0x5db954(0x22a)];_0x5569e1['set'](_0x1f9b45,_0x1225e3),this[_0x5db954(0x32f)][_0x5db954(0x16b)](_0x5569e1);}[_0x4e72fd(0x33b)](_0x15ef19){const _0x23b7e6=_0x4e72fd,{memberID:_0x59d435}=_0x15ef19[_0x23b7e6(0x185)],_0x5acdeb=this[_0x23b7e6(0x22a)];_0x5acdeb[_0x23b7e6(0x20e)](_0x59d435),this[_0x23b7e6(0x32f)]['next'](_0x5acdeb);}[_0x4e72fd(0x258)](){const _0x2c625e=_0x4e72fd;var _0x4f49a8;if(this[_0x2c625e(0x2ea)]=!0x0,((_0x4f49a8=this['_univerInstanceService'][_0x2c625e(0x268)]())==null?void 0x0:_0x4f49a8[_0x2c625e(0x239)]())!==this[_0x2c625e(0x35a)])return;const _0x84ad49=this[_0x2c625e(0x1d2)][_0x2c625e(0x32e)](_0x5ced89)[_0x2c625e(0x374)]();Array[_0x2c625e(0x18e)](_0x84ad49)&&_0x84ad49['length']>0x0&&this[_0x2c625e(0x1cc)](_0x84ad49);}[_0x4e72fd(0x26b)](){this['_online']=!0x1;}};Ue=ui([P(0x2,_0x3978bf(_0x34e1fa)),P(0x3,_0x3978bf(ke)),P(0x4,_0x3978bf(_0x217f91)),P(0x5,_0x3978bf(He)),P(0x6,_0x3b0871),P(0x7,_0x3de8bd),P(0x8,_0x213a2d)],Ue);var Si=Object['getOwnPropertyDescriptor'],mi=(_0x1c7811,_0x177279,_0x36bbc9,_0x27a20f)=>{const _0x461709=_0x4e72fd;for(var _0x350793=_0x27a20f>0x1?void 0x0:_0x27a20f?Si(_0x177279,_0x36bbc9):_0x177279,_0x28bbf7=_0x1c7811[_0x461709(0x330)]-0x1,_0x2ce91d;_0x28bbf7>=0x0;_0x28bbf7--)(_0x2ce91d=_0x1c7811[_0x28bbf7])&&(_0x350793=_0x2ce91d(_0x350793)||_0x350793);return _0x350793;},x=(_0x525e41,_0x48df4a)=>(_0x40024a,_0xae6cc9)=>_0x48df4a(_0x40024a,_0xae6cc9,_0x525e41);const Ii=0x12c,gi=0x64,vi=()=>{let _0x253220=[],_0x59fc20=!0x1;return _0xf9310c=>{const _0x4a21bc=_0x3b51;_0x253220[_0x4a21bc(0x366)](_0xf9310c),_0x59fc20||(_0x59fc20=!0x0,setTimeout(()=>{_0x253220['forEach'](_0x21f597=>_0x21f597()),_0x253220=[],_0x59fc20=!0x1;}));};};let Me=class extends _0x4c7c7e{constructor(_0x1e7856,_0x38d5b8,_0x2cb881,_0x56c870,_0x3b925e,_0x583c1b,_0x3e59bc,_0x5c2e8c){const _0x379c76=_0x4e72fd;super(),_(this,'_online',!0x1),_(this,_0x379c76(0x2f8),!0x1),_(this,_0x379c76(0x32f),new _0xbbcda8(new Map())),_(this,'cursorInfo$',this['_cursorInfo$'][_0x379c76(0x328)]()),_(this,'_roomMembers$',new _0xbbcda8([])),_(this,_0x379c76(0x373),this[_0x379c76(0x2a1)][_0x379c76(0x220)](_0xd6784(Ii))),_(this,_0x379c76(0x1cc),_0x449743((_0x530dd1,_0x4c819a)=>{const _0x23317f=_0x379c76,_0x3eefde={'eventID':_0x524295[_0x23317f(0x27b)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x23317f(0x325)](),'selection':_0x4e16fa(_0x530dd1,_0x4c819a['range'])}};this[_0x23317f(0x188)][_0x23317f(0x2c7)](_0x3eefde,this['unitID']);},gi)),(this[_0x379c76(0x35a)]=_0x1e7856,this[_0x379c76(0x188)]=_0x38d5b8,this[_0x379c76(0x1d2)]=_0x2cb881,this['_colorAssignService']=_0x56c870,this['_memberService']=_0x3b925e,this[_0x379c76(0x1c7)]=_0x583c1b,this['_commandService']=_0x3e59bc,this[_0x379c76(0x2cd)]=_0x5c2e8c);}get[_0x4e72fd(0x22a)](){const _0xc98d2f=_0x4e72fd;return this[_0xc98d2f(0x32f)]['getValue']();}get[_0x4e72fd(0x2e0)](){const _0x1fc0b8=_0x4e72fd;return this[_0x1fc0b8(0x2a1)][_0x1fc0b8(0x26f)]();}[_0x4e72fd(0x270)](){const _0xabd03e=_0x4e72fd;super[_0xabd03e(0x270)](),this[_0xabd03e(0x32f)][_0xabd03e(0x16b)](new Map()),this[_0xabd03e(0x32f)][_0xabd03e(0x16a)](),this['_roomMembers$'][_0xabd03e(0x16b)]([]),this[_0xabd03e(0x2a1)][_0xabd03e(0x16a)]();}[_0x4e72fd(0x1ea)](){const _0x151358=_0x4e72fd;this[_0x151358(0x2f8)]||(this[_0x151358(0x2f8)]=!0x0,this[_0x151358(0x188)]['sessionStatus$']['pipe'](_0x48049b(this[_0x151358(0x31b)]))['subscribe'](_0x19a1c0=>{const _0x1ad059=_0x151358;_0x19a1c0===_0x15bbd5[_0x1ad059(0x19e)]?this[_0x1ad059(0x258)]():this[_0x1ad059(0x26b)]();}),this[_0x151358(0x188)][_0x151358(0x1f8)][_0x151358(0x220)](_0x48049b(this[_0x151358(0x31b)]))['subscribe'](_0x107f00=>{const _0x2e9b08=_0x151358,_0x53bd1d=_0x107f00[_0x2e9b08(0x353)];_0x53bd1d===_0x524295[_0x2e9b08(0x27b)]&&this[_0x2e9b08(0x173)](_0x107f00),_0x53bd1d===_0x524295[_0x2e9b08(0x279)]&&this[_0x2e9b08(0x33b)](_0x107f00);}),this['_onRefRangeChange'](),this[_0x151358(0x19d)](this[_0x151358(0x1f5)][_0x151358(0x1c2)](_0x5ddbc7=>{const _0x67e840=_0x151358;if(this[_0x67e840(0x2ea)]&&_0x5ddbc7['id']===_0xb118db['id']&&_0x5ddbc7[_0x67e840(0x29b)][_0x67e840(0x246)]===this[_0x67e840(0x35a)]){const _0x3fe716=_0x5ddbc7[_0x67e840(0x29b)];this[_0x67e840(0x1cc)](_0x3fe716[_0x67e840(0x1fa)],_0x3fe716[_0x67e840(0x27c)][0x0]);}})));}[_0x4e72fd(0x173)](_0x52d5d3){const _0x16df07=_0x4e72fd;var _0x54a80e,_0x1f9558;const {memberID:_0x13559e,selection:_0x52cde9}=_0x52d5d3[_0x16df07(0x185)],{sheetName:_0xe4498f,range:_0x328b63}=_0x1f808c(_0x52cde9),_0x222962={'name':(_0x1f9558=(_0x54a80e=this['_memberService'][_0x16df07(0x1e8)](this['unitID'],_0x13559e))==null?void 0x0:_0x54a80e[_0x16df07(0x2b8)])!=null?_0x1f9558:_0x16df07(0x321),'range':this[_0x16df07(0x1f9)](_0xe4498f,_0x328b63),'sheetID':_0xe4498f,'color':this[_0x16df07(0x232)]['assignAColorForMemberID'](_0x13559e),'selection':_0x52cde9},_0x23ceae=this[_0x16df07(0x22a)];_0x23ceae[_0x16df07(0x30a)](_0x13559e,_0x222962),this['_cursorInfo$'][_0x16df07(0x16b)](_0x23ceae);}[_0x4e72fd(0x33b)](_0xdd788e){const _0x5d6595=_0x4e72fd,{memberID:_0x126f2b}=_0xdd788e[_0x5d6595(0x185)],_0x3c184d=this['cursorInfo'];_0x3c184d['delete'](_0x126f2b),this[_0x5d6595(0x32f)][_0x5d6595(0x16b)](_0x3c184d);}[_0x4e72fd(0x1f9)](_0x269348,_0x389988){const _0x9368cf=_0x4e72fd;var _0x22ae7d,_0x38bfd7;const _0x4e36e7=(_0x38bfd7=(_0x22ae7d=this[_0x9368cf(0x1c7)][_0x9368cf(0x358)](this['unitID']))==null?void 0x0:_0x22ae7d[_0x9368cf(0x2a6)](_0x269348))==null?void 0x0:_0x38bfd7[_0x9368cf(0x21a)]();return(_0x4e36e7==null?void 0x0:_0x4e36e7['find'](_0x598b4a=>_0x2a06c0[_0x9368cf(0x33d)](_0x598b4a,_0x389988)))||_0x389988;}[_0x4e72fd(0x1dd)](){const _0x16cd96=_0x4e72fd,_0x3b4811=new _0x20443a(),_0x2f7c6e=vi(),_0xde08c3=()=>{const _0x2c87de=_0x3b51;_0x3b4811[_0x2c87de(0x270)]();const _0x1cb4fd=(_0xcfa08d,_0x327eb1,_0x59d0f2,_0x1c9ed0)=>{const _0x5c75db=_0x2c87de;let _0x59bf84=[];switch(_0xcfa08d['id']){case _0x15d56d[_0x5c75db(0x289)]:{_0x59bf84=_0x161bd7(_0xcfa08d,_0x1c9ed0);break;}case _0x15d56d['DeleteRangeMoveUpCommandId']:{_0x59bf84=_0x3d99b7(_0xcfa08d,_0x1c9ed0);break;}case _0x15d56d[_0x5c75db(0x317)]:{_0x59bf84=_0x3f5579(_0xcfa08d,_0x1c9ed0);break;}case _0x15d56d['InsertRangeMoveDownCommandId']:{_0x59bf84=_0x57e431(_0xcfa08d,_0x1c9ed0);break;}case _0x15d56d['InsertRangeMoveRightCommandId']:{_0x59bf84=_0x4ba41a(_0xcfa08d,_0x1c9ed0);break;}case _0x15d56d['InsertRowCommandId']:{_0x59bf84=_0x443956(_0xcfa08d,_0x1c9ed0);break;}case _0x15d56d[_0x5c75db(0x287)]:{_0x59bf84=_0x39521b(_0xcfa08d,_0x1c9ed0);break;}case _0x15d56d[_0x5c75db(0x2a3)]:{_0x59bf84=_0x10f7cd(_0xcfa08d,_0x1c9ed0);break;}case _0x15d56d[_0x5c75db(0x2fe)]:{_0x59bf84=_0xf1d0b0(_0xcfa08d,_0x1c9ed0);break;}}const _0x390291=_0x2123c2(_0x59bf84,_0x1c9ed0),_0x298f6f=this[_0x5c75db(0x22a)][_0x5c75db(0x32e)](_0x327eb1);if(_0x298f6f&&_0x390291){const _0x4c0dfa={..._0x298f6f,'range':_0x390291};this['cursorInfo'][_0x5c75db(0x30a)](_0x327eb1,_0x4c0dfa),_0x2f7c6e(()=>{const _0x38bd16=_0x5c75db,_0x538338=this[_0x38bd16(0x2cd)][_0x38bd16(0x21f)](_0x390291,_0x4c3f11=>(_0x538338[_0x38bd16(0x270)](),_0x1cb4fd(_0x4c3f11,_0x327eb1,_0x59d0f2,_0x390291)));_0x3b4811[_0x38bd16(0x346)](_0x538338);});}return{'redos':[],'undos':[]};};this[_0x2c87de(0x22a)][_0x2c87de(0x19b)]((_0x5d2c8a,_0x371a82)=>{const _0x46d9c1=_0x2c87de,{range:_0x1f64ae,sheetID:_0x5b1bb0}=_0x5d2c8a,_0x2336f1=this[_0x46d9c1(0x2cd)][_0x46d9c1(0x21f)](_0x1f64ae,_0x5e0683=>(_0x2336f1[_0x46d9c1(0x270)](),_0x1cb4fd(_0x5e0683,_0x371a82,_0x5b1bb0,_0x1f64ae)));_0x3b4811[_0x46d9c1(0x346)](_0x2336f1);});};this[_0x16cd96(0x19d)](_0x5dbc96(this[_0x16cd96(0x32f)][_0x16cd96(0x26d)](()=>{_0xde08c3();})));}['_toggleOnline'](){const _0x446aba=_0x4e72fd;var _0x8f3d0a,_0x114c6d;if(this[_0x446aba(0x2ea)]=!0x0,((_0x8f3d0a=this[_0x446aba(0x1c7)]['getFocusedUnit']())==null?void 0x0:_0x8f3d0a['getUnitId']())!==this[_0x446aba(0x35a)])return;const _0x1cb185=(_0x114c6d=this[_0x446aba(0x1d2)][_0x446aba(0x32e)](_0x26d9fc)['getCurrentSelections']())==null?void 0x0:_0x114c6d[0x0],_0x4fdc1e=this[_0x446aba(0x1c7)]['getCurrentUnitForType'](_0x573968[_0x446aba(0x234)])['getActiveSheet']();_0x1cb185&&_0x4fdc1e&&this['_updateLocalCursor'](_0x4fdc1e[_0x446aba(0x1a1)](),_0x1cb185);}['_toggleOffline'](){const _0x2aa096=_0x4e72fd;this[_0x2aa096(0x2ea)]=!0x1;}};Me=mi([x(0x2,_0x3978bf(_0x34e1fa)),x(0x3,_0x3978bf(ke)),x(0x4,_0x3978bf(_0x217f91)),x(0x5,_0x3de8bd),x(0x6,_0x213a2d),x(0x7,_0x3978bf(_0x569dbd))],Me);var pi=Object[_0x4e72fd(0x2d6)],Ci=(_0x58c156,_0x2f9874,_0x2526c1,_0x4ae479)=>{for(var _0x3eb201=_0x4ae479>0x1?void 0x0:_0x4ae479?pi(_0x2f9874,_0x2526c1):_0x2f9874,_0x151bd1=_0x58c156['length']-0x1,_0x272558;_0x151bd1>=0x0;_0x151bd1--)(_0x272558=_0x58c156[_0x151bd1])&&(_0x3eb201=_0x272558(_0x3eb201)||_0x3eb201);return _0x3eb201;},Se=(_0x2e25ba,_0x579248)=>(_0x14039a,_0x3c1bab)=>_0x579248(_0x14039a,_0x3c1bab,_0x2e25ba);let H=class extends _0x4c7c7e{constructor(_0x24c333,_0x1890f4,_0x452920){const _0x2bb8ae=_0x4e72fd;super(),_(this,_0x2bb8ae(0x22b),new Map()),_(this,_0x2bb8ae(0x2e7),new _0x49a8fb()),(this[_0x2bb8ae(0x1c7)]=_0x24c333,this[_0x2bb8ae(0x1d2)]=_0x1890f4,this['_collabSessionService']=_0x452920,this[_0x2bb8ae(0x2f8)]());}[_0x4e72fd(0x270)](){const _0x26198d=_0x4e72fd;super[_0x26198d(0x270)](),this[_0x26198d(0x2e7)][_0x26198d(0x16a)](),this['_entities'][_0x26198d(0x19b)](_0x1a76aa=>_0x1a76aa[_0x26198d(0x270)]());}[_0x4e72fd(0x298)](_0x308e80){const _0x500408=_0x4e72fd;return this[_0x500408(0x22b)][_0x500408(0x1ec)](_0x308e80)?this[_0x500408(0x22b)][_0x500408(0x32e)](_0x308e80)[_0x500408(0x16c)]:this['_entityInit$'][_0x500408(0x220)](_0x4b8ddd(_0x30561c=>_0x30561c[_0x500408(0x35a)]===_0x308e80),_0x422903(_0x1a0547=>_0x1a0547['cursorInfo$']));}[_0x4e72fd(0x2f8)](){const _0x542f80=_0x4e72fd;this[_0x542f80(0x1c7)][_0x542f80(0x261)](_0x573968[_0x542f80(0x234)])[_0x542f80(0x220)](_0x48049b(this[_0x542f80(0x31b)]))[_0x542f80(0x26d)](async _0x370b3a=>{const _0x5a2f62=_0x542f80,_0x37aab3=_0x370b3a[_0x5a2f62(0x239)](),_0x7095e=await this[_0x5a2f62(0x2fb)](_0x37aab3);this['_entityInit$'][_0x5a2f62(0x16b)](_0x7095e),this[_0x5a2f62(0x22b)][_0x5a2f62(0x30a)](_0x37aab3,_0x7095e);}),this[_0x542f80(0x1c7)][_0x542f80(0x261)](_0x573968[_0x542f80(0x2d4)])['pipe'](_0x48049b(this['dispose$']))[_0x542f80(0x220)](_0x4b8ddd(_0x2c2c12=>!_0x2c2c12[_0x542f80(0x239)]()[_0x542f80(0x301)]('__')))['subscribe'](async _0x58aa77=>{const _0x5659da=_0x542f80,_0x5953b8=_0x58aa77['getUnitId'](),_0x3338a=await this[_0x5659da(0x26a)](_0x5953b8);this['_entityInit$'][_0x5659da(0x16b)](_0x3338a),this[_0x5659da(0x22b)][_0x5659da(0x30a)](_0x5953b8,_0x3338a);}),_0x14c05a(this[_0x542f80(0x1c7)][_0x542f80(0x29e)](_0x573968[_0x542f80(0x2d4)]),this[_0x542f80(0x1c7)][_0x542f80(0x29e)](_0x573968['UNIVER_SHEET']))[_0x542f80(0x220)](_0x48049b(this[_0x542f80(0x31b)]))[_0x542f80(0x26d)](_0x164ee7=>{const _0xc88266=_0x542f80,_0x1df054=_0x164ee7[_0xc88266(0x239)](),_0x594e2e=this[_0xc88266(0x22b)]['get'](_0x1df054);_0x594e2e&&(_0x594e2e[_0xc88266(0x270)](),this[_0xc88266(0x22b)][_0xc88266(0x20e)](_0x1df054));});}async['_startSheetCollabCursor'](_0x53c91c){const _0x356a3a=_0x4e72fd,_0x2f2bbd=await this[_0x356a3a(0x1b9)][_0x356a3a(0x32d)](_0x53c91c),_0x48b6f2=this['_injector']['createInstance'](Me,_0x53c91c,_0x2f2bbd);return _0x48b6f2[_0x356a3a(0x1ea)](),_0x48b6f2;}async[_0x4e72fd(0x26a)](_0x3e24a6){const _0x9f128b=_0x4e72fd,_0x2789d3=await this[_0x9f128b(0x1b9)]['requireSession'](_0x3e24a6),_0x1bee78=this[_0x9f128b(0x1d2)][_0x9f128b(0x1cb)](Ue,_0x3e24a6,_0x2789d3);return _0x1bee78['init'](),_0x1bee78;}};H=Ci([Se(0x0,_0x3de8bd),Se(0x1,_0x3978bf(_0x34e1fa)),Se(0x2,_0x3978bf(_0x2986ef))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x38e8f1,_0x29bbae){const _0x295eb8=_0x4e72fd;let {radius:_0x3bbdd1,width:_0x3900ec,height:_0x5e5330}=_0x29bbae;_0x3bbdd1=_0x3bbdd1!=null?_0x3bbdd1:0x0,_0x3900ec=_0x3900ec!=null?_0x3900ec:0x1e,_0x5e5330=_0x5e5330!=null?_0x5e5330:0x1e;let _0x62547=0x0,_0x4d6f8f=0x0,_0x1ddbe0=0x0;_0x62547=_0x4d6f8f=_0x1ddbe0=Math[_0x295eb8(0x303)](_0x3bbdd1,_0x3900ec/0x2,_0x5e5330/0x2),_0x38e8f1[_0x295eb8(0x34a)](),_0x38e8f1['moveTo'](_0x62547,0x0),_0x38e8f1[_0x295eb8(0x2c6)](_0x3900ec-_0x4d6f8f,0x0),_0x38e8f1[_0x295eb8(0x365)](_0x3900ec-_0x4d6f8f,_0x4d6f8f,_0x4d6f8f,Math['PI']*0x3/0x2,0x0,!0x1),_0x38e8f1[_0x295eb8(0x2c6)](_0x3900ec,_0x5e5330-_0x1ddbe0),_0x38e8f1[_0x295eb8(0x365)](_0x3900ec-_0x1ddbe0,_0x5e5330-_0x1ddbe0,_0x1ddbe0,0x0,Math['PI']/0x2,!0x1),_0x38e8f1[_0x295eb8(0x2c6)](0x0,_0x5e5330),_0x38e8f1[_0x295eb8(0x2c6)](0x0,_0x62547),_0x38e8f1[_0x295eb8(0x365)](_0x62547,_0x62547,_0x62547,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x38e8f1[_0x295eb8(0x22d)](),_0x29bbae[_0x295eb8(0x275)]&&(_0x38e8f1[_0x295eb8(0x24a)](),_0x38e8f1['fillStyle']=_0x29bbae['fill'],_0x29bbae['fillRule']===_0x295eb8(0x196)?_0x38e8f1['fill']('evenodd'):_0x38e8f1['fill'](),_0x38e8f1['restore']());}class he extends _0x283367{constructor(_0x213acc,_0xa6f07a){const _0xa62bff=_0x4e72fd;super(_0x213acc,_0xa6f07a),_(this,'color'),_(this,_0xa62bff(0x2ba)),(this[_0xa62bff(0x359)]=_0xa6f07a==null?void 0x0:_0xa6f07a[_0xa62bff(0x359)],this[_0xa62bff(0x2ba)]=_0xa6f07a==null?void 0x0:_0xa6f07a['text']);}static['drawWith'](_0x5d1638,_0x195625){const _0x46b6d8=_0x4e72fd,{text:_0x594886,color:_0x53b2b8}=_0x195625;_0x5d1638[_0x46b6d8(0x24a)](),_0x5d1638[_0x46b6d8(0x367)]=_0x46b6d8(0x2d0);const _0x123269=_0x5d1638['measureText'](_0x594886)[_0x46b6d8(0x166)],_0xc7f9b5=Math[_0x46b6d8(0x303)](_0x123269+0x2*me,Qe);Oi(_0x5d1638,{'height':ee,'radius':0x4,'width':_0xc7f9b5,'fill':_0x53b2b8}),_0x5d1638[_0x46b6d8(0x2df)]='#FFF';const _0x255ede=me,_0x55d5c6=ee-Ei,_0x605295=Qe-0x2*me;if(_0x123269>_0x605295){let _0xcaffef='',_0xf5b1a1=0x0;for(const _0x34b94b of _0x594886){const _0x378da0=_0x5d1638[_0x46b6d8(0x1cd)](_0x34b94b)['width'];if(_0xf5b1a1+_0x378da0<=_0x605295-_0x5d1638[_0x46b6d8(0x1cd)](_0x46b6d8(0x2ad))[_0x46b6d8(0x166)])_0xcaffef+=_0x34b94b,_0xf5b1a1+=_0x378da0;else{_0xcaffef+=_0x46b6d8(0x2ad);break;}}_0x5d1638['fillText'](_0xcaffef,_0x255ede,_0x55d5c6);}else _0x5d1638[_0x46b6d8(0x2f1)](_0x594886,_0x255ede,_0x55d5c6);_0x5d1638[_0x46b6d8(0x244)]();}[_0x4e72fd(0x209)](_0x306080){const _0x55d0b3=_0x4e72fd;he[_0x55d0b3(0x355)](_0x306080,this);}}const Ie=_0x4e72fd(0x2e8),bi=_0x4e72fd(0x240),Ti=_0x4e72fd(0x22c),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x4e72fd(0x2fd);class qe{constructor(_0x3ea166,_0x2555a4,_0x1b3a1b,_0x56859d){const _0x453e17=_0x4e72fd;_(this,_0x453e17(0x1c9),[]),_(this,_0x453e17(0x273),null),_(this,_0x453e17(0x318),null),_(this,_0x453e17(0x224),null),_(this,_0x453e17(0x2d2),null),_(this,'_eventUnsubscribe',null),(this['_cursor']=_0x3ea166,this['_scene']=_0x2555a4,this['_docSkeleton']=_0x1b3a1b,this[_0x453e17(0x179)]=_0x56859d,this[_0x453e17(0x2dd)]());}set['_hover'](_0x1277b2){const _0x377218=_0x4e72fd;_0x1277b2?(this[_0x377218(0x224)]&&this['_anchorDot'][_0x377218(0x25a)](),this['_textBubble']&&this[_0x377218(0x318)][_0x377218(0x2b2)]()):(this[_0x377218(0x224)]&&this['_anchorDot'][_0x377218(0x2b2)](),this['_textBubble']&&this['_textBubble'][_0x377218(0x25a)]());}[_0x4e72fd(0x270)](){const _0x145546=_0x4e72fd;for(const _0x435da6 of this['_shapes'])_0x435da6[_0x145546(0x270)]();this['_textBubble']&&this[_0x145546(0x318)]['dispose'](),this[_0x145546(0x224)]&&this[_0x145546(0x224)][_0x145546(0x270)](),this['_anchor']&&this['_anchor'][_0x145546(0x270)](),this[_0x145546(0x2ae)]&&this[_0x145546(0x2ae)]();}[_0x4e72fd(0x2dd)](){const _0x1dd6cc=_0x4e72fd;var _0x52b24f;const {_docSkeleton:_0x32ebd3,_document:_0x25e225}=this,{color:_0x5a3b40,name:_0x3b85a3,ranges:_0x15f129}=this['_cursor'],_0x573612=_0x25e225[_0x1dd6cc(0x1db)](),{docsLeft:_0xa7e13d,docsTop:_0x316b17}=_0x573612,_0x10f993=new _0x9564a2(_0x573612,_0x32ebd3);for(const {startOffset:_0x255027,endOffset:_0x463744,rangeType:_0x34a204,segmentId:_0xf09768,segmentPage:_0x59e514,collapsed:_0x328997,isActive:_0x1dadc1}of _0x15f129){const _0x232b50=_0x32ebd3[_0x1dd6cc(0x221)](_0x255027,!0x0,_0xf09768,_0x59e514);let _0x14472d=_0x32ebd3[_0x1dd6cc(0x221)](_0x463744,!0x0,_0xf09768,_0x59e514);if(_0x14472d==null&&(_0x14472d=_0x32ebd3[_0x1dd6cc(0x221)](_0x463744-0x1,!0x1,_0xf09768,_0x59e514)),_0x1dadc1){const {contentBoxPointGroup:_0x26fb3c}=_0x10f993['getRangePointData'](_0x14472d,_0x14472d);if(_0x26fb3c['length']===0x0)continue;this[_0x1dd6cc(0x2f0)](_0x5a3b40,_0x26fb3c,_0xa7e13d,_0x316b17,_0x3b85a3),this['_eventUnsubscribe']=this['_handleHover']();}if(_0x232b50&&_0x14472d){if(_0x34a204===_0x33e6e5[_0x1dd6cc(0x266)]){const _0x1fbc14=new _0x45dbde(_0x573612,_0x32ebd3),{pointGroup:_0x5e43c9}=(_0x52b24f=_0x1fbc14[_0x1dd6cc(0x2b1)](_0x232b50,_0x14472d))!=null?_0x52b24f:{};if(_0x5e43c9==null||_0x5e43c9[_0x1dd6cc(0x330)]===0x0)continue;this['_drawRectRange'](_0x5a3b40,_0x5e43c9,_0xa7e13d,_0x316b17);}else{if(!_0x328997){const {borderBoxPointGroup:_0x3c0c88}=_0x10f993['getRangePointData'](_0x232b50,_0x14472d);if(_0x3c0c88[_0x1dd6cc(0x330)]===0x0)continue;this[_0x1dd6cc(0x1be)](_0x5a3b40,_0x3c0c88,_0xa7e13d,_0x316b17);}}}}}[_0x4e72fd(0x2f0)](_0x50eae5,_0x4780e4,_0x7f5bc4,_0x42ff26,_0x20913d){const _0x45d907=_0x4e72fd,_0x1ed0d9=this[_0x45d907(0x256)](_0x4780e4),{left:_0x2ceb81,top:_0x58e1b7,height:_0x5e4e70}=_0x1ed0d9,_0x13d8f0=this[_0x45d907(0x254)](),_0x1c5b70=Di/_0x13d8f0,_0xa9e7ba=new _0x152506(Ie+_0x323f3c[_0x45d907(0x210)](X),{'left':_0x2ceb81+_0x7f5bc4-_0x1c5b70,'top':_0x58e1b7+_0x42ff26,'height':_0x5e4e70,'width':Ri,'fill':_0x50eae5||_0x55c4f2(_0x3d340d[_0x45d907(0x18a)],0x0),'strokeWidth':_0x1c5b70,'stroke':Ni,'evented':!0x0});this[_0x45d907(0x273)]=_0xa9e7ba,this[_0x45d907(0x364)][_0x45d907(0x304)](_0xa9e7ba,_0x599d24);const _0x584ee3=new _0x152506(Ie+_0x323f3c[_0x45d907(0x210)](X),{'left':_0x2ceb81+_0x7f5bc4-_0x1c5b70,'top':_0x58e1b7+_0x42ff26-ge/0x2,'height':ge,'width':ge,'fill':_0x50eae5||_0x55c4f2(_0x3d340d[_0x45d907(0x18a)],0x0),'strokeWidth':0x0,'stroke':_0x50eae5||_0x55c4f2(_0x3d340d[_0x45d907(0x18a)],0x0),'evented':!0x1});this[_0x45d907(0x224)]=_0x584ee3,this['_scene'][_0x45d907(0x304)](_0x584ee3,_0x599d24);const _0x5df45d=new he(Ie+_0x323f3c[_0x45d907(0x210)](X),{'left':_0x2ceb81+_0x7f5bc4-_0x1c5b70,'top':_0x58e1b7+_0x42ff26-ee,'text':_0x20913d,'color':_0x50eae5});this['_textBubble']=_0x5df45d,this[_0x45d907(0x364)]['addObject'](_0x5df45d,_0x599d24),this[_0x45d907(0x259)]=!0x1;}[_0x4e72fd(0x2aa)](){const _0x5bbe1c=_0x4e72fd,_0x277248=this[_0x5bbe1c(0x273)][_0x5bbe1c(0x1ce)][_0x5bbe1c(0x1b3)](()=>{this['_hover']=!0x0;}),_0x1a8d14=this[_0x5bbe1c(0x273)][_0x5bbe1c(0x20c)]['subscribeEvent'](()=>{const _0x5f3539=_0x5bbe1c;this['_hideTimer']&&clearTimeout(this[_0x5f3539(0x2d2)]),this[_0x5f3539(0x2d2)]=setTimeout(()=>{const _0x3d0de0=_0x5f3539;this[_0x3d0de0(0x259)]=!0x1;},0x7d0);});return()=>{const _0x1d4865=_0x5bbe1c;_0x277248[_0x1d4865(0x182)](),_0x1a8d14[_0x1d4865(0x182)]();};}['_drawTextRange'](_0x465500,_0x3f0bc9,_0x30469f,_0x2ab9d1){const _0x164990=_0x4e72fd,_0x4924e6=new _0x4d8387(_0x465500)[_0x164990(0x260)](0.2)['toRgbString'](),_0x1ae7d9=new _0x2a9029(bi+_0x323f3c['generateRandomId'](X),{'pointsGroup':_0x3f0bc9,'fill':_0x4924e6||_0x55c4f2(_0x3d340d['black'],0.2),'left':_0x30469f,'top':_0x2ab9d1,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x164990(0x366)](_0x1ae7d9),this[_0x164990(0x364)][_0x164990(0x304)](_0x1ae7d9,_0x599d24);}[_0x4e72fd(0x1ae)](_0x185d82,_0x488a42,_0x269c48,_0x4eaf7f){const _0x5035d6=_0x4e72fd,_0x3bfdb8=new _0x4d8387(_0x185d82)[_0x5035d6(0x260)](0.2)[_0x5035d6(0x243)](),_0xf3432a=new _0x2a9029(Ti+_0x323f3c[_0x5035d6(0x210)](X),{'pointsGroup':_0x488a42,'fill':_0x3bfdb8||_0x55c4f2(_0x3d340d[_0x5035d6(0x18a)],0.2),'left':_0x269c48,'top':_0x4eaf7f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5035d6(0x1c9)][_0x5035d6(0x366)](_0xf3432a),this['_scene'][_0x5035d6(0x304)](_0xf3432a,_0x599d24);}['_getAnchorBounding'](_0x467a76){const _0xbac887=_0x467a76[0x0],_0x53d5e0=_0xbac887[0x0],_0x5a77ef=_0xbac887[0x2],{x:_0x540f55,y:_0x17ee5a}=_0x53d5e0,{x:_0x5c87e3,y:_0x64af14}=_0x5a77ef;return{'left':_0x540f55,'top':_0x17ee5a,'width':_0x5c87e3-_0x540f55,'height':_0x64af14-_0x17ee5a};}['_getScale'](){const _0x5506f9=_0x4e72fd,{scaleX:_0x2174c8,scaleY:_0x4b1cc4}=this[_0x5506f9(0x364)][_0x5506f9(0x211)]();return Math[_0x5506f9(0x18f)](_0x2174c8,_0x4b1cc4);}}var Ui=Object[_0x4e72fd(0x2d6)],Mi=(_0x2e2475,_0x40900e,_0x13cbad,_0x583376)=>{for(var _0x201204=_0x583376>0x1?void 0x0:_0x583376?Ui(_0x40900e,_0x13cbad):_0x40900e,_0x3b4a7e=_0x2e2475['length']-0x1,_0x505f9a;_0x3b4a7e>=0x0;_0x3b4a7e--)(_0x505f9a=_0x2e2475[_0x3b4a7e])&&(_0x201204=_0x505f9a(_0x201204)||_0x201204);return _0x201204;},Z=(_0x2521a7,_0x595579)=>(_0x2e77be,_0x5aa6ab)=>_0x595579(_0x2e77be,_0x5aa6ab,_0x2521a7);let Le=class extends _0x4c7c7e{constructor(_0x25f170,_0x1662ec,_0x8e33a1,_0x11013e,_0x1fd159){const _0x30df15=_0x4e72fd;super(),_(this,'_cursorShapes',[]),_(this,_0x30df15(0x35d),[]),(this[_0x30df15(0x2ec)]=_0x25f170,this[_0x30df15(0x223)]=_0x1662ec,this[_0x30df15(0x320)]=_0x8e33a1,this[_0x30df15(0x1f5)]=_0x11013e,this[_0x30df15(0x2f7)]=_0x1fd159,this[_0x30df15(0x2f8)]());}[_0x4e72fd(0x2f8)](){const _0x52cb48=_0x4e72fd,_0xb70faf=this[_0x52cb48(0x2ec)]['unitId'],_0x449c48=this[_0x52cb48(0x223)];this[_0x52cb48(0x19d)](_0x5f3e83([this[_0x52cb48(0x320)][_0x52cb48(0x298)](_0xb70faf),this['_themeService'][_0x52cb48(0x17d)]])[_0x52cb48(0x220)](_0x5300d0(([_0x54af9b,_0x5f3504])=>({'skeleton':_0x449c48[_0x52cb48(0x2d1)](),'cursors':[..._0x54af9b[_0x52cb48(0x29f)]()][_0x52cb48(0x1b7)](_0x376501=>({..._0x376501,'color':this[_0x52cb48(0x2f7)][_0x52cb48(0x28d)](_0x376501[_0x52cb48(0x359)])}))})))[_0x52cb48(0x26d)](_0x685f36=>{const _0x133eb1=_0x52cb48;if(this[_0x133eb1(0x197)](),_0x685f36){const {skeleton:_0x1f4489,cursors:_0x20eb22}=_0x685f36;this[_0x133eb1(0x27e)](_0x1f4489,_0x20eb22);}})),this[_0x52cb48(0x23d)](),this[_0x52cb48(0x2eb)]();}[_0x4e72fd(0x27e)](_0x35aa65,_0x8202f8){const _0x5cf20a=_0x4e72fd,{scene:_0x4c3e58,mainComponent:_0x4a1f60}=this[_0x5cf20a(0x2ec)],_0x11d2d6=_0x8202f8[_0x5cf20a(0x186)](_0x4df7fa=>new qe(_0x4df7fa,_0x4c3e58,_0x35aa65,_0x4a1f60));this[_0x5cf20a(0x1ac)]=_0x11d2d6,this['_cursors']=_0x8202f8;}[_0x4e72fd(0x2f6)](){const _0x1cc387=_0x4e72fd;this[_0x1cc387(0x197)]();const {scene:_0x293c05,mainComponent:_0x3bc4c6}=this['_context'],_0x1ae238=this[_0x1cc387(0x223)]['getSkeleton'](),_0x3cb0b5=this[_0x1cc387(0x35d)]['map'](_0x4a4ecf=>new qe(_0x4a4ecf,_0x293c05,_0x1ae238,_0x3bc4c6));this[_0x1cc387(0x1ac)]=_0x3cb0b5;}[_0x4e72fd(0x197)](){const _0x55d44c=_0x4e72fd;this[_0x55d44c(0x1ac)]['forEach'](_0xb1c02c=>_0xb1c02c['dispose']()),this[_0x55d44c(0x1ac)]=[];}[_0x4e72fd(0x2eb)](){const _0x3e70f6=_0x4e72fd,_0x2379f1=[_0x2a6140['id']];this[_0x3e70f6(0x19d)](this[_0x3e70f6(0x1f5)]['onCommandExecuted'](_0x1a715d=>{const _0x2cda54=_0x3e70f6;_0x2379f1[_0x2cda54(0x34c)](_0x1a715d['id'])&&_0x1a715d[_0x2cda54(0x29b)][_0x2cda54(0x246)]===this[_0x2cda54(0x2ec)][_0x2cda54(0x246)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x51d885=_0x4e72fd;this[_0x51d885(0x19d)](_0x33ebf8(this['_context']['engine'][_0x51d885(0x33f)])[_0x51d885(0x220)](_0x57683b(_0x7f53b2=>_0x7f53b2[_0x51d885(0x216)]===_0x22d7d5[_0x51d885(0x32b)]),_0x10996d(0x10))[_0x51d885(0x26d)](()=>{const _0x3649b9=_0x51d885;this[_0x3649b9(0x2f6)]();}));}};Le=Mi([Z(0x1,_0x3978bf(_0x4241b3)),Z(0x2,_0x3978bf(H)),Z(0x3,_0x213a2d),Z(0x4,_0x3978bf(_0x598c2b))],Le);const Li=0x1,Pi=1.5;class wi extends _0x283367{constructor(_0x531ee8,_0x131210){const _0x571bb8=_0x4e72fd;super(_0x531ee8,_0x131210),_(this,'_color'),_(this,'_hovered',!0x1),_(this,_0x571bb8(0x286)),_(this,_0x571bb8(0x2b7),''),_(this,_0x571bb8(0x1e1),_0x571bb8(0x280)),_(this,_0x571bb8(0x1e0)),(_0x131210&&this[_0x571bb8(0x172)](_0x131210),this['onPointerEnter$'][_0x571bb8(0x1b3)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x571bb8(0x1b3)](()=>this[_0x571bb8(0x172)]({'hovered':!0x1})));}['setShapeProps'](_0xc667e2){const _0x246bd1=_0x4e72fd;var _0x4fc5d8,_0x6ee0c0,_0x367113,_0xee20a7,_0xc434da,_0x59d4c1;this[_0x246bd1(0x2a4)]=(_0x4fc5d8=_0xc667e2['color'])!=null?_0x4fc5d8:this[_0x246bd1(0x2a4)],this[_0x246bd1(0x300)]=(_0x6ee0c0=_0xc667e2[_0x246bd1(0x338)])!=null?_0x6ee0c0:this[_0x246bd1(0x300)],this[_0x246bd1(0x286)]=(_0x367113=_0xc667e2[_0x246bd1(0x184)])!=null?_0x367113:this['_range'],this[_0x246bd1(0x2b7)]=(_0xee20a7=_0xc667e2['name'])!=null?_0xee20a7:this[_0x246bd1(0x2b7)],this[_0x246bd1(0x1e1)]=(_0xc434da=_0xc667e2[_0x246bd1(0x17a)])!=null?_0xc434da:this['_labelPosition'],this[_0x246bd1(0x1e0)]=(_0x59d4c1=_0xc667e2[_0x246bd1(0x252)])!=null?_0x59d4c1:this[_0x246bd1(0x1e0)],this[_0x246bd1(0x1f3)]({'width':_0xc667e2[_0x246bd1(0x166)],'height':_0xc667e2[_0x246bd1(0x2d5)]});}[_0x4e72fd(0x233)](_0x390698){const _0x382385=_0x4e72fd,{row:_0x1fe3a9,column:_0x4931c5}=_0x390698;if(_0x1fe3a9>=this[_0x382385(0x286)][_0x382385(0x1fe)]&&_0x1fe3a9<=this['_range']['endRow']&&_0x4931c5>=this[_0x382385(0x286)][_0x382385(0x26e)]&&_0x4931c5<=this['_range'][_0x382385(0x17e)]){this[_0x382385(0x172)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x4e72fd(0x1aa)](_0x196645){return!0x1;}['_draw'](_0x11369c){const _0x5cc40d=_0x4e72fd;_0x152506[_0x5cc40d(0x355)](_0x11369c,{'width':this[_0x5cc40d(0x166)],'height':this[_0x5cc40d(0x2d5)],'strokeWidth':Pi,'stroke':this[_0x5cc40d(0x2a4)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x5cc40d(0x300)]&&(_0x11369c[_0x5cc40d(0x24a)](),_0x11369c['transform'](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x5cc40d(0x277)?0x0:-0x14),he[_0x5cc40d(0x355)](_0x11369c,{'text':this[_0x5cc40d(0x2b7)],'color':this[_0x5cc40d(0x2a4)]}),_0x11369c[_0x5cc40d(0x244)]());}}var Ai=Object[_0x4e72fd(0x2d6)],yi=(_0x332c86,_0x3ed250,_0xd1977,_0x3abc3e)=>{const _0x27554f=_0x4e72fd;for(var _0x29063a=_0x3abc3e>0x1?void 0x0:_0x3abc3e?Ai(_0x3ed250,_0xd1977):_0x3ed250,_0x4dca5f=_0x332c86[_0x27554f(0x330)]-0x1,_0x5841bc;_0x4dca5f>=0x0;_0x4dca5f--)(_0x5841bc=_0x332c86[_0x4dca5f])&&(_0x29063a=_0x5841bc(_0x29063a)||_0x29063a);return _0x29063a;},ve=(_0x40b151,_0x36ff0c)=>(_0x401e90,_0x5d626d)=>_0x36ff0c(_0x401e90,_0x5d626d,_0x40b151);const $i=0x1389;let Pe=class extends _0x4c7c7e{constructor(_0xacab33,_0x44c411,_0xc028e,_0x3e9d64){const _0x3a214a=_0x4e72fd;super(),_(this,'_cursors',new Set()),_(this,'_lastPointer',null),(this[_0x3a214a(0x2ec)]=_0xacab33,this[_0x3a214a(0x2c3)]=_0x44c411,this[_0x3a214a(0x320)]=_0xc028e,this['_themeService']=_0x3e9d64,this[_0x3a214a(0x2f8)]());}[_0x4e72fd(0x2f8)](){const _0x29b85b=_0x4e72fd;this[_0x29b85b(0x2c3)][_0x29b85b(0x2ce)][_0x29b85b(0x220)](_0x74c2c4(this[_0x29b85b(0x31b)]),_0x751ecb(_0x21f3e9=>{const _0x131d93=_0x29b85b;if(_0x21f3e9){const _0xfd2073=_0x21f3e9[_0x131d93(0x313)];return _0x5f3e83(this['_collabCursorController']['getCollabCursors$'](this[_0x131d93(0x2ec)][_0x131d93(0x246)]),this[_0x131d93(0x2f7)]['currentTheme$'])[_0x131d93(0x220)](_0x5300d0(([_0x21b585,_0x398470])=>{const _0x357f22=new Map();return _0x21b585['forEach']((_0x57ee3e,_0x2eeb9b)=>{const _0x3f1e0e=_0x3b51;if(_0x57ee3e[_0x3f1e0e(0x2e9)]===_0xfd2073){const _0x269265={..._0x57ee3e};_0x269265['color']=this[_0x3f1e0e(0x2f7)]['getColorFromTheme'](_0x57ee3e['color']),_0x357f22[_0x3f1e0e(0x30a)](_0x2eeb9b,_0x269265);}}),{'skeleton':_0x21f3e9,'cursors':_0x357f22};}));}return _0x59d378({'skeleton':null,'cursors':new Map()});}))[_0x29b85b(0x26d)](({skeleton:_0x4c2d60,cursors:_0x2fe2b4})=>{const _0x5dc895=_0x29b85b;this[_0x5dc895(0x197)](),_0x4c2d60&&this[_0x5dc895(0x27e)](_0x4c2d60,_0x2fe2b4);}),this[_0x29b85b(0x2c3)]['currentSkeleton$'][_0x29b85b(0x26d)](_0xa7b4d=>{const _0x3d4976=_0x29b85b;if(_0xa7b4d==null)return;const {skeleton:_0x59536a}=_0xa7b4d,{scene:_0x262ebf}=this[_0x3d4976(0x2ec)];_0x262ebf[_0x3d4976(0x1a8)]['subscribeEvent'](_0x449743(_0x15c71c=>{const _0x20f21c=_0x3d4976;var _0x2670cb,_0x3dcdaa;const {offsetX:_0x27cc12,offsetY:_0x268743}=_0x15c71c,{x:_0x48415f,y:_0x3d83c3}=_0x262ebf[_0x20f21c(0x314)](_0x4afb0f['FromArray']([_0x27cc12,_0x268743])),{scaleX:_0x4cbacd,scaleY:_0x7574cd}=_0x262ebf['getAncestorScale'](),_0x29c295=_0x262ebf[_0x20f21c(0x237)](_0x2f8408[_0x20f21c(0x27a)]),_0x429711=_0x262ebf[_0x20f21c(0x1ba)](_0x4afb0f[_0x20f21c(0x1d0)]([_0x48415f,_0x3d83c3]),_0x29c295),_0x55dfa0=_0x59536a[_0x20f21c(0x2c5)](_0x27cc12,_0x268743,_0x4cbacd,_0x7574cd,_0x429711);((_0x2670cb=this[_0x20f21c(0x1ab)])==null?void 0x0:_0x2670cb[_0x20f21c(0x327)])===_0x55dfa0[_0x20f21c(0x327)]&&((_0x3dcdaa=this[_0x20f21c(0x1ab)])==null?void 0x0:_0x3dcdaa[_0x20f21c(0x1fd)])===_0x55dfa0[_0x20f21c(0x1fd)]||this[_0x20f21c(0x35d)]['forEach'](_0xff6f21=>{const _0x37aee6=_0x20f21c;_0xff6f21[_0x37aee6(0x233)](_0x55dfa0);});},0x64));});}['_updateCollabCursors'](_0x19d3f5,_0x204972){const _0x18a942=_0x4e72fd;var _0x18c477;const _0x2bbcdf=(_0x18c477=this['_sheetSkeletonManagerService'][_0x18a942(0x183)]())==null?void 0x0:_0x18c477['skeleton'];if(!_0x2bbcdf)return;const _0x326d03=this[_0x18a942(0x25e)]();if(!_0x326d03)return;this[_0x18a942(0x35d)][_0x18a942(0x19b)](_0x6de72a=>{const _0x393df4=_0x18a942;_0x6de72a[_0x393df4(0x2f5)]();});const {scene:_0x1670b0}=_0x326d03,_0x423cf0=xi(Array['from'](_0x204972[_0x18a942(0x29f)]()))[_0x18a942(0x186)](_0x52acd0=>{const _0x180863=_0x18a942,{color:_0x16895a,range:_0x51228c,name:_0x39e529,selection:_0x2676f4,sheetID:_0x2719e2}=_0x52acd0,{startColumn:_0x298581,startRow:_0x2b5a1a,endColumn:_0x1bb75d,endRow:_0x23dc69}=_0x51228c,_0x114e3f=_0x46c784(_0x2b5a1a,_0x298581,_0x1670b0,_0x2bbcdf),_0x52020c=_0x46c784(_0x23dc69,_0x1bb75d,_0x1670b0,_0x2bbcdf),{columnHeaderHeightAndMarginTop:_0x3e4997}=_0x2bbcdf,{startX:_0x368843,startY:_0x419b6d}=_0x114e3f,{endX:_0x20329d,endY:_0x1a5562}=_0x52020c,_0x15280a=_0x20329d-_0x368843,_0x271819=_0x1a5562-_0x419b6d,_0x5a2f84={'labelPosition':_0x419b6d-_0x3e4997>=ee?_0x180863(0x280):_0x180863(0x277),'sheetID':_0x2719e2,'range':_0x51228c,'color':_0x16895a,'name':_0x39e529,'selection':_0x2676f4,'left':_0x368843,'top':_0x419b6d,'width':_0x15280a,'height':_0x271819,'evented':!0x1,'zIndex':$i};return new wi(_0x39e529,_0x5a2f84);});_0x1670b0[_0x18a942(0x25b)](_0x423cf0,Li),this[_0x18a942(0x35d)]=new Set(_0x423cf0);}[_0x4e72fd(0x197)](){const _0x308c5d=_0x4e72fd;var _0x227d20;(_0x227d20=this[_0x308c5d(0x35d)])==null||_0x227d20[_0x308c5d(0x19b)](_0x18b738=>_0x18b738[_0x308c5d(0x270)]());}[_0x4e72fd(0x25e)](){const _0x10fa60=_0x4e72fd;return _0x56ac2a(this[_0x10fa60(0x2ec)][_0x10fa60(0x2b6)],this[_0x10fa60(0x2ec)]);}};Pe=yi([ve(0x1,_0x3978bf(_0x3dde03)),ve(0x2,_0x3978bf(H)),ve(0x3,_0x3978bf(_0x598c2b))],Pe);function xi(_0x515cb9){const _0x467912=_0x4e72fd,_0x3f968f=new Map();return _0x515cb9[_0x467912(0x19b)](_0x202d1f=>{const _0x29d603=_0x467912;if(_0x3f968f[_0x29d603(0x1ec)](_0x202d1f[_0x29d603(0x2a8)])){const _0x520712=_0x3f968f['get'](_0x202d1f[_0x29d603(0x2a8)]);_0x520712[_0x29d603(0x2b8)]+=',\x20'+_0x202d1f[_0x29d603(0x2b8)];}else _0x3f968f[_0x29d603(0x30a)](_0x202d1f['selection'],_0x202d1f);}),Array[_0x467912(0x236)](_0x3f968f['values']());}var v=function(){const _0x38fc69=_0x4e72fd;return v=Object[_0x38fc69(0x17b)]||function(_0x1cb394){const _0x53e353=_0x38fc69;for(var _0x5adc68,_0x3aba3a=0x1,_0x5d947f=arguments[_0x53e353(0x330)];_0x3aba3a<_0x5d947f;_0x3aba3a++){_0x5adc68=arguments[_0x3aba3a];for(var _0x5428eb in _0x5adc68)Object['prototype'][_0x53e353(0x19a)][_0x53e353(0x1b0)](_0x5adc68,_0x5428eb)&&(_0x1cb394[_0x5428eb]=_0x5adc68[_0x5428eb]);}return _0x1cb394;},v[_0x38fc69(0x247)](this,arguments);},Bi=function(_0x39c05e,_0x5c5ef5){const _0x2c61b2=_0x4e72fd;var _0x5aa392={};for(var _0x5c91ce in _0x39c05e)Object[_0x2c61b2(0x262)][_0x2c61b2(0x19a)]['call'](_0x39c05e,_0x5c91ce)&&_0x5c5ef5['indexOf'](_0x5c91ce)<0x0&&(_0x5aa392[_0x5c91ce]=_0x39c05e[_0x5c91ce]);if(_0x39c05e!=null&&typeof Object[_0x2c61b2(0x1bb)]==_0x2c61b2(0x2c9)){for(var _0x45e507=0x0,_0x5c91ce=Object['getOwnPropertySymbols'](_0x39c05e);_0x45e507<_0x5c91ce[_0x2c61b2(0x330)];_0x45e507++)_0x5c5ef5[_0x2c61b2(0x2ee)](_0x5c91ce[_0x45e507])<0x0&&Object[_0x2c61b2(0x262)][_0x2c61b2(0x202)][_0x2c61b2(0x1b0)](_0x39c05e,_0x5c91ce[_0x45e507])&&(_0x5aa392[_0x5c91ce[_0x45e507]]=_0x39c05e[_0x5c91ce[_0x45e507]]);}return _0x5aa392;},Fe=_0x22ab66(function(_0x5a6b4d,_0x2ac845){const _0x2d27b6=_0x4e72fd;var _0xe69309=_0x5a6b4d[_0x2d27b6(0x2b0)],_0x3dccdb=_0x5a6b4d['id'],_0x132308=_0x5a6b4d['className'],_0x26728d=_0x5a6b4d[_0x2d27b6(0x2fa)],_0x1a7bea=Bi(_0x5a6b4d,[_0x2d27b6(0x2b0),'id',_0x2d27b6(0x307),_0x2d27b6(0x2fa)]),_0x2d0c22=_0x2d27b6(0x170)[_0x2d27b6(0x34e)](_0x3dccdb,'\x20')['concat'](_0x132308||'')['trim'](),_0x4253b0=_0x5e9ffd('_'[_0x2d27b6(0x34e)](Fi()));return Rt(_0xe69309,''[_0x2d27b6(0x34e)](_0x3dccdb),{'defIds':_0xe69309[_0x2d27b6(0x36a)],'idSuffix':_0x4253b0[_0x2d27b6(0x295)]},v({'ref':_0x2ac845,'className':_0x2d0c22},_0x1a7bea),_0x26728d);});function Rt(_0x57bb74,_0x136519,_0x1706eb,_0x3b466d,_0x6b535a){const _0x2575cd=_0x4e72fd;return _0xb3c7a5(_0x57bb74[_0x2575cd(0x1c6)],v(v({'key':_0x136519},ki(_0x57bb74,_0x1706eb,_0x6b535a)),_0x3b466d),(Hi(_0x57bb74,_0x1706eb)['children']||[])[_0x2575cd(0x186)](function(_0x48c2ce,_0x392fb5){const _0x59ae43=_0x2575cd;return Rt(_0x48c2ce,''[_0x59ae43(0x34e)](_0x136519,'-')[_0x59ae43(0x34e)](_0x57bb74['tag'],'-')[_0x59ae43(0x34e)](_0x392fb5),_0x1706eb,void 0x0,_0x6b535a);}));}function ki(_0x2c1680,_0x40034b,_0xbed319){const _0x2ff750=_0x4e72fd;var _0x5e763c=v({},_0x2c1680[_0x2ff750(0x329)]);_0xbed319!=null&&_0xbed319['colorChannel1']&&_0x5e763c[_0x2ff750(0x275)]===_0x2ff750(0x2bc)&&(_0x5e763c[_0x2ff750(0x275)]=_0xbed319[_0x2ff750(0x2bc)]),_0x2c1680[_0x2ff750(0x1c6)]===_0x2ff750(0x241)&&_0x5e763c['id']&&(_0x5e763c['id']=_0x5e763c['id']+_0x40034b[_0x2ff750(0x331)]),Object['entries'](_0x5e763c)[_0x2ff750(0x19b)](function(_0x13020c){const _0x4122b1=_0x2ff750;var _0x4272c3=_0x13020c[0x0],_0x44bbef=_0x13020c[0x1];_0x4272c3===_0x4122b1(0x241)&&typeof _0x44bbef==_0x4122b1(0x1e9)&&(_0x5e763c[_0x4272c3]=_0x44bbef[_0x4122b1(0x212)](/url\(#(.*)\)/,_0x4122b1(0x272)[_0x4122b1(0x34e)](_0x40034b['idSuffix'],')')));});var _0x48dbb0=_0x40034b[_0x2ff750(0x36a)];return!_0x48dbb0||_0x48dbb0['length']===0x0||(_0x2c1680[_0x2ff750(0x1c6)]===_0x2ff750(0x31a)&&_0x5e763c[_0x2ff750(0x21c)]&&(_0x5e763c['xlink:href']=_0x5e763c[_0x2ff750(0x21c)]+_0x40034b[_0x2ff750(0x331)]),Object[_0x2ff750(0x265)](_0x5e763c)[_0x2ff750(0x19b)](function(_0x4fee04){const _0x464268=_0x2ff750;var _0x86ff8f=_0x4fee04[0x0],_0x1f75aa=_0x4fee04[0x1];typeof _0x1f75aa==_0x464268(0x1e9)&&(_0x5e763c[_0x86ff8f]=_0x1f75aa['replace'](/url\(#(.*)\)/,_0x464268(0x272)['concat'](_0x40034b[_0x464268(0x331)],')')));})),_0x5e763c;}function Hi(_0x15f070,_0x28dca3){const _0x174d42=_0x4e72fd;var _0xa5a750,_0x4828d5=_0x28dca3['defIds'];return!_0x4828d5||_0x4828d5[_0x174d42(0x330)]===0x0?_0x15f070:_0x15f070['tag']===_0x174d42(0x352)&&(!((_0xa5a750=_0x15f070['children'])===null||_0xa5a750===void 0x0)&&_0xa5a750[_0x174d42(0x330)])?v(v({},_0x15f070),{'children':_0x15f070[_0x174d42(0x31e)][_0x174d42(0x186)](function(_0x218864){const _0x17f46a=_0x174d42;return typeof _0x218864[_0x17f46a(0x329)]['id']==_0x17f46a(0x1e9)&&_0x4828d5&&_0x4828d5[_0x17f46a(0x34c)](_0x218864['attrs']['id'])?v(v({},_0x218864),{'attrs':v(v({},_0x218864['attrs']),{'id':_0x218864[_0x17f46a(0x329)]['id']+_0x28dca3[_0x17f46a(0x331)]})}):_0x218864;})}):_0x15f070;}function _0x3b51(_0x3cd94a,_0x97e9cb){const _0x3dc8ea=_0x3dc8();return _0x3b51=function(_0x3b51e4,_0x343eef){_0x3b51e4=_0x3b51e4-0x163;let _0x387a85=_0x3dc8ea[_0x3b51e4];return _0x387a85;},_0x3b51(_0x3cd94a,_0x97e9cb);}function Fi(){const _0x46efc6=_0x4e72fd;return Math[_0x46efc6(0x288)]()[_0x46efc6(0x19c)](0x24)[_0x46efc6(0x29d)](0x2,0x8);}Fe['displayName']=_0x4e72fd(0x2e4);var Yi={'tag':_0x4e72fd(0x1e4),'attrs':{'xmlns':_0x4e72fd(0x225),'fill':_0x4e72fd(0x24b),'viewBox':_0x4e72fd(0x339),'width':_0x4e72fd(0x336),'height':_0x4e72fd(0x336)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x4e72fd(0x249),'d':_0x4e72fd(0x351),'strokeLinecap':_0x4e72fd(0x334),'strokeLinejoin':_0x4e72fd(0x334),'strokeWidth':1.2}}]},{'tag':_0x4e72fd(0x352),'attrs':{},'children':[{'tag':_0x4e72fd(0x30f),'attrs':{'id':_0x4e72fd(0x36e)},'children':[{'tag':_0x4e72fd(0x1a3),'attrs':{'fill':_0x4e72fd(0x29c),'d':_0x4e72fd(0x2ca)}}]}]}],'defIds':[_0x4e72fd(0x36e)]},Dt=_0x22ab66(function(_0x272bb3,_0x1230db){const _0x18a272=_0x4e72fd;return _0xb3c7a5(Fe,Object['assign']({},_0x272bb3,{'id':_0x18a272(0x1ad),'ref':_0x1230db,'icon':Yi}));});Dt[_0x4e72fd(0x214)]=_0x4e72fd(0x34f);var ji={'tag':_0x4e72fd(0x1e4),'attrs':{'xmlns':_0x4e72fd(0x225),'fill':_0x4e72fd(0x24b),'viewBox':'0\x200\x2017\x2016','width':_0x4e72fd(0x336),'height':_0x4e72fd(0x336)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x4e72fd(0x1a3),'attrs':{'stroke':_0x4e72fd(0x249),'d':_0x4e72fd(0x296),'strokeLinecap':'round','strokeLinejoin':_0x4e72fd(0x334),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x4e72fd(0x30f),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x4e72fd(0x29c),'d':_0x4e72fd(0x2ca),'transform':_0x4e72fd(0x274)}}]}]}],'defIds':[_0x4e72fd(0x1e7)]},Nt=_0x22ab66(function(_0x45cc2e,_0x295af6){const _0xbceb19=_0x4e72fd;return _0xb3c7a5(Fe,Object[_0xbceb19(0x17b)]({},_0x45cc2e,{'id':_0xbceb19(0x292),'ref':_0x295af6,'icon':ji}));});Nt[_0x4e72fd(0x214)]='OnLineIcon';function Vi(_0x2e3ba4){const _0x4acc4a=_0x4e72fd;switch(_0x2e3ba4){case _0x465d72['OFFLINE']:return'collabStatus.offline';case _0x465d72[_0x4acc4a(0x323)]:return _0x4acc4a(0x24c);case _0x465d72[_0x4acc4a(0x2a9)]:return'collabStatus.fetchMiss';case _0x465d72[_0x4acc4a(0x264)]:return'collabStatus.notCollab';case _0x465d72[_0x4acc4a(0x299)]:case _0x465d72['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case _0x465d72[_0x4acc4a(0x2cb)]:case _0x465d72['PENDING']:return _0x4acc4a(0x31c);}}function Wi(_0x32f7f4){const _0x4c1bf5=_0x4e72fd,{status$:_0x369067}=_0x32f7f4,_0x2e0f19=_0x2c7948(_0x369067,_0x465d72['NOT_COLLAB']),_0x1c8c13=_0x4ac78b(_0x4d43d2),_0x28cdd5=_0x4ac78b(_0x2986ef),_0x43bb59=_0x2e0f19!==_0x465d72['OFFLINE'],_0x285a1e=_0x1c8c13['t'](Vi(_0x2e0f19)),_0x3f2abb=_0x43bb59?_0x4e3134(Nt,{}):_0x4e3134(Dt,{}),_0x292254=_0x549e10(()=>{const _0x3cc8b8=_0x3b51;_0x43bb59||_0x28cdd5[_0x3cc8b8(0x198)]();},[_0x43bb59,_0x28cdd5]);function _0x447cc1(){const _0xc7f31f=_0x3b51;return _0x41dff2(_0xc7f31f(0x29a),{'className':_0xc7f31f(0x235),'onClick':_0x292254,'children':[_0x4e3134('div',{'className':_0x5490e6(_0xc7f31f(0x1d8),{'univer-text-green-500':_0x43bb59,'univer-text-red-500':!_0x43bb59}),'children':_0x3f2abb}),_0x4e3134(_0xc7f31f(0x29a),{'className':_0xc7f31f(0x255),'children':_0x285a1e})]});}return _0x43bb59?_0x447cc1():_0x4e3134(_0x757013,{'title':_0x1c8c13['t'](_0x4c1bf5(0x222)),'children':_0x447cc1()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x2a039a,_0xe3c0b3,_0x4be4ba,_0xa6e7a7)=>{const _0x1564f6=_0x4e72fd;for(var _0x44ba94=_0xa6e7a7>0x1?void 0x0:_0xa6e7a7?Xi(_0xe3c0b3,_0x4be4ba):_0xe3c0b3,_0x3473a9=_0x2a039a[_0x1564f6(0x330)]-0x1,_0x40b961;_0x3473a9>=0x0;_0x3473a9--)(_0x40b961=_0x2a039a[_0x3473a9])&&(_0x44ba94=_0x40b961(_0x44ba94)||_0x44ba94);return _0x44ba94;},Q=(_0x20c173,_0x2fdc29)=>(_0x422380,_0x379c08)=>_0x2fdc29(_0x422380,_0x379c08,_0x20c173);let te=class extends _0x1ed90e{constructor(_0x3d32c4,_0x484c65,_0x3c85a2,_0x1070bd){const _0x39a7e2=_0x4e72fd;super(),_(this,_0x39a7e2(0x190),new _0xbbcda8(_0x465d72[_0x39a7e2(0x264)])),(this[_0x39a7e2(0x1c7)]=_0x3d32c4,this[_0x39a7e2(0x1d2)]=_0x484c65,this[_0x39a7e2(0x31d)]=_0x3c85a2,this[_0x39a7e2(0x2d8)]=_0x1070bd,this[_0x39a7e2(0x1c3)](),this[_0x39a7e2(0x30e)]());}[_0x4e72fd(0x30e)](){const _0x401108=_0x4e72fd;this[_0x401108(0x19d)](this[_0x401108(0x1c7)][_0x401108(0x363)][_0x401108(0x220)](_0x422903(()=>{const _0x3be0f6=_0x401108,_0x2d9e9a=this[_0x3be0f6(0x1c7)]['getFocusedUnit']();return _0x2d9e9a?this['_collaborationController']['getCollabEntity$'](_0x2d9e9a[_0x3be0f6(0x239)]()):_0x59d378(null);}),_0x422903(_0x397d33=>_0x397d33?_0x397d33[_0x401108(0x2a7)]:_0x59d378(_0x465d72[_0x401108(0x264)])))[_0x401108(0x26d)](_0x4637aa=>{const _0xd3d362=_0x401108;this[_0xd3d362(0x190)][_0xd3d362(0x16b)](_0x4637aa);}));}[_0x4e72fd(0x1c3)](){const _0x38e0c9=_0x4e72fd;this['disposeWithMe'](this[_0x38e0c9(0x2d8)][_0x38e0c9(0x293)](_0x5e0c72[_0x38e0c9(0x1a0)],()=>_0x2ac687(Ki({'status$':this[_0x38e0c9(0x190)][_0x38e0c9(0x328)]()}),this[_0x38e0c9(0x1d2)])));}};te=Gi([Q(0x0,_0x3de8bd),Q(0x1,_0x3978bf(_0x34e1fa)),Q(0x2,_0x3978bf(_0x1e1b99)),Q(0x3,_0x110553)],te);function Ki(_0x48a12a){const {status$:_0x457a8d}=_0x48a12a;return function(){return _0x4e3134(Wi,{'status$':_0x457a8d});};}var zi=Object[_0x4e72fd(0x2d6)],Ji=(_0x2731e6,_0x20892c,_0x81e0aa,_0x5418fb)=>{for(var _0x40b643=_0x5418fb>0x1?void 0x0:_0x5418fb?zi(_0x20892c,_0x81e0aa):_0x20892c,_0x3293ce=_0x2731e6['length']-0x1,_0x430ea9;_0x3293ce>=0x0;_0x3293ce--)(_0x430ea9=_0x2731e6[_0x3293ce])&&(_0x40b643=_0x430ea9(_0x40b643)||_0x40b643);return _0x40b643;},B=(_0x1726df,_0x28da04)=>(_0x4290f9,_0x43b8f0)=>_0x28da04(_0x4290f9,_0x43b8f0,_0x1726df);let se=class extends _0x1ed90e{constructor(_0xb7548d,_0x3dc2ea,_0x30335b,_0x140c82,_0x1b748b,_0x106ef6){const _0x1af157=_0x4e72fd;super(),this[_0x1af157(0x1a5)]=_0xb7548d,this['_localCacheService']=_0x3dc2ea,this[_0x1af157(0x25c)]=_0x30335b,this[_0x1af157(0x2d7)]=_0x140c82,this[_0x1af157(0x2f9)]=_0x1b748b,this[_0x1af157(0x174)]=_0x106ef6,this[_0x1af157(0x311)](),this['_initEvent']();}['_setupBeforeClosingHandler'](){const _0xda0aee=_0x4e72fd;this[_0xda0aee(0x19d)](this[_0xda0aee(0x1a5)][_0xda0aee(0x1ee)](()=>{const _0x43bacc=_0xda0aee;if(this[_0x43bacc(0x2c4)][_0x43bacc(0x168)][_0x43bacc(0x2dc)])return this[_0x43bacc(0x174)]['t'](_0x43bacc(0x28f));}));}[_0x4e72fd(0x36c)](){const _0x491020=_0x4e72fd;this[_0x491020(0x19d)](this[_0x491020(0x25c)][_0x491020(0x1f8)][_0x491020(0x26d)](_0x4d5dd5=>{const _0x3cdbdf=_0x491020;_0x4d5dd5['id']===_0x1f4da2[_0x3cdbdf(0x1bc)]&&this[_0x3cdbdf(0x2d7)][_0x3cdbdf(0x2b2)]({'type':_0x398b05['Warning'],'content':this[_0x3cdbdf(0x174)]['t'](_0x3cdbdf(0x33e))}),_0x4d5dd5['id']===_0x1f4da2[_0x3cdbdf(0x2b4)]&&this['_messageService'][_0x3cdbdf(0x2b2)]({'type':_0x398b05[_0x3cdbdf(0x1ca)],'content':this[_0x3cdbdf(0x174)]['t'](_0x3cdbdf(0x195))}),_0x4d5dd5['id']===_0x1f4da2[_0x3cdbdf(0x282)]&&this['_notificationService']['show']({'title':this['_localeService']['t']('permission.title'),'content':this[_0x3cdbdf(0x174)]['t'](_0x3cdbdf(0x189)),'type':_0x3cdbdf(0x2a5),'duration':0x0}),_0x4d5dd5['id']===_0x1f4da2[_0x3cdbdf(0x323)]&&this[_0x3cdbdf(0x2d7)][_0x3cdbdf(0x2b2)]({'type':_0x398b05['Error'],'content':this[_0x3cdbdf(0x174)]['t'](_0x3cdbdf(0x195))+'('+_0x4d5dd5[_0x3cdbdf(0x185)]+')'}),_0x4d5dd5['id']===_0x1f4da2[_0x3cdbdf(0x169)]&&this[_0x3cdbdf(0x2d7)][_0x3cdbdf(0x2b2)]({'type':_0x398b05[_0x3cdbdf(0x1ca)],'content':this[_0x3cdbdf(0x174)]['t'](_0x4d5dd5['data']||'')}),_0x4d5dd5['id']===_0x1f4da2[_0x3cdbdf(0x248)]&&this[_0x3cdbdf(0x2d7)][_0x3cdbdf(0x2b2)]({'type':_0x398b05['Warning'],'content':this[_0x3cdbdf(0x174)]['t'](_0x3cdbdf(0x204))}),_0x4d5dd5['id']===_0x1f4da2[_0x3cdbdf(0x23e)]&&this[_0x3cdbdf(0x2d7)][_0x3cdbdf(0x2b2)]({'type':_0x398b05['Error'],'content':this['_localeService']['t']('session.connection-failed')}),_0x4d5dd5['id']===_0x1f4da2[_0x3cdbdf(0x1df)]&&this['_messageService'][_0x3cdbdf(0x2b2)]({'type':_0x398b05[_0x3cdbdf(0x340)],'content':this[_0x3cdbdf(0x174)]['t']('session.collaboration-timeout')});}));}};se=Ji([B(0x0,_0x5812fa),B(0x1,_0x887162),B(0x2,_0x3978bf(_0x1defd2)),B(0x3,_0x556324),B(0x4,_0x5d82b5),B(0x5,_0x3978bf(_0x4d43d2))],se);const Zi=_0x4e72fd(0x207),et={},Ut=_0x304b66(_0x4e72fd(0x1d9));var Qi=Object[_0x4e72fd(0x2d6)],qi=(_0xf047bd,_0xd6e40f,_0x2bd1d6,_0x3a986e)=>{const _0x8be27d=_0x4e72fd;for(var _0x5349d4=_0x3a986e>0x1?void 0x0:_0x3a986e?Qi(_0xd6e40f,_0x2bd1d6):_0xd6e40f,_0x36182e=_0xf047bd[_0x8be27d(0x330)]-0x1,_0xbcaa17;_0x36182e>=0x0;_0x36182e--)(_0xbcaa17=_0xf047bd[_0x36182e])&&(_0x5349d4=_0xbcaa17(_0x5349d4)||_0x5349d4);return _0x5349d4;},G=(_0xbaa4e1,_0x52ae7c)=>(_0x5872bf,_0x4dda0c)=>_0x52ae7c(_0x5872bf,_0x4dda0c,_0xbaa4e1);let ie=class extends _0x4c7c7e{constructor(_0x2d36dc,_0xfcf2b6,_0x2a7aca,_0x23d695,_0x52d94c){const _0x131b0c=_0x4e72fd;super(),this[_0x131b0c(0x2c1)]=_0x2d36dc,this[_0x131b0c(0x35e)]=_0xfcf2b6,this[_0x131b0c(0x1f5)]=_0x2a7aca,this['_dataLoaderService']=_0x23d695,_0x52d94c?_0x52d94c==null||_0x52d94c[_0x131b0c(0x22e)]()[_0x131b0c(0x24f)](()=>this['_init']()):(this[_0x131b0c(0x35e)][_0x131b0c(0x1b2)](_0x131b0c(0x180),_0x131b0c(0x1f0)),this[_0x131b0c(0x2f8)]());}async[_0x4e72fd(0x2f8)](){const _0x46dc6c=_0x4e72fd,_0x378539=this[_0x46dc6c(0x2c1)][_0x46dc6c(0x217)](_0x46dc6c(0x2b6)),_0xcb7d42=this['_urlService']['getParam'](_0x46dc6c(0x216)),_0x16d78c=this['_urlService'][_0x46dc6c(0x217)](_0x46dc6c(0x21b));if(!_0x378539||!_0xcb7d42){this[_0x46dc6c(0x35e)]['debug'](_0x46dc6c(0x180),_0x46dc6c(0x33c));return;}const _0x5bdc56=await this['_dataLoaderService'][_0x46dc6c(0x20f)](_0x378539,Number(_0xcb7d42),_0x16d78c);_0x5bdc56&&_0x5bdc56 instanceof _0x3debcb&&this['_setupSubUnitSync'](_0x5bdc56);}async['_setupSubUnitSync'](_0x15f3be){const _0x493d0f=_0x4e72fd;await this[_0x493d0f(0x27f)](_0x15f3be),_0x15f3be[_0x493d0f(0x2f3)][_0x493d0f(0x220)](_0x48049b(this[_0x493d0f(0x31b)]))[_0x493d0f(0x26d)](_0x27ef6d=>{const _0x8e7fe8=_0x493d0f;_0x27ef6d&&this[_0x8e7fe8(0x31f)](_0x27ef6d);}),this[_0x493d0f(0x2c1)][_0x493d0f(0x17c)][_0x493d0f(0x220)](_0x48049b(this['dispose$']))[_0x493d0f(0x26d)](()=>this['_updateSubUnitFromURLParams'](_0x15f3be));}[_0x4e72fd(0x31f)](_0x404820,_0xc71a4=!0x1){const _0x19e45e=_0x4e72fd,_0x1fa62f=this['_urlService'][_0x19e45e(0x217)]('subunit');_0x404820[_0x19e45e(0x1a1)]()!==_0x1fa62f&&this[_0x19e45e(0x2c1)][_0x19e45e(0x28e)](_0x19e45e(0x21b),_0x404820[_0x19e45e(0x1a1)](),_0xc71a4);}async[_0x4e72fd(0x27f)](_0xcb509e){const _0x2aa08f=_0x4e72fd;var _0x333df7;const _0x326554=this['_urlService'][_0x2aa08f(0x217)](_0x2aa08f(0x21b));if(!_0x326554||!_0xcb509e[_0x2aa08f(0x2a6)](_0x326554)){const _0x2c7693=_0xcb509e[_0x2aa08f(0x200)]()[0x0],_0x5d55d5=_0xcb509e[_0x2aa08f(0x2a6)](_0x2c7693);if(!_0x5d55d5)return;this[_0x2aa08f(0x31f)](_0x5d55d5,!0x0),await this[_0x2aa08f(0x1f5)][_0x2aa08f(0x192)](_0x21d5ab['id'],{'unitId':_0xcb509e[_0x2aa08f(0x239)](),'subUnitId':_0x2c7693});return;}((_0x333df7=_0xcb509e['getActiveSheet']())==null?void 0x0:_0x333df7[_0x2aa08f(0x1a1)]())!==_0x326554&&await this[_0x2aa08f(0x1f5)][_0x2aa08f(0x192)](_0x21d5ab['id'],{'unitId':_0xcb509e[_0x2aa08f(0x239)](),'subUnitId':_0x326554});}};ie=qi([G(0x0,Ut),G(0x1,_0x2c1045),G(0x2,_0x213a2d),G(0x3,_0x3978bf(_0x6b9d31)),G(0x4,_0x44507a(_0x4e5c3e))],ie);var en=Object[_0x4e72fd(0x2d6)],tn=(_0x442104,_0x27399f,_0x4a1daa,_0x57ec06)=>{for(var _0x12f7f9=_0x57ec06>0x1?void 0x0:_0x57ec06?en(_0x27399f,_0x4a1daa):_0x27399f,_0x9343a0=_0x442104['length']-0x1,_0x9a503;_0x9343a0>=0x0;_0x9343a0--)(_0x9a503=_0x442104[_0x9343a0])&&(_0x12f7f9=_0x9a503(_0x12f7f9)||_0x12f7f9);return _0x12f7f9;},pe=(_0x539fe7,_0x23b5c0)=>(_0x4fd5db,_0x24d2b8)=>_0x23b5c0(_0x4fd5db,_0x24d2b8,_0x539fe7);let ne=class{constructor(_0x399b8f,_0x2fff8a,_0x476c05){const _0x430af6=_0x4e72fd;this[_0x430af6(0x1d2)]=_0x399b8f,this[_0x430af6(0x333)]=_0x2fff8a,this[_0x430af6(0x309)]=_0x476c05;}[_0x4e72fd(0x2da)](_0x577c66){const _0x5041bb=_0x4e72fd;this['_transformUndoRedoStack'](_0x577c66),this[_0x5041bb(0x206)](_0x577c66);}['transformRemoteChangeset'](_0x54a417){const _0xadb035=_0x4e72fd,{unitID:_0x23744f}=_0x54a417,_0x2eca27=this['_renderManagerService'][_0xadb035(0x361)](_0x23744f)['with'](_0x58cabd),{redoCache:_0x435637}=_0x2eca27[_0xadb035(0x28b)]();if(_0x435637[_0xadb035(0x330)]===0x0)return _0x54a417;let _0x167bb7=_0x323f3c[_0xadb035(0x337)](_0x54a417[_0xadb035(0x1d6)][0x0]);for(let _0x5f264f=0x0;_0x5f264f<_0x435637[_0xadb035(0x330)];_0x5f264f++){const _0x4faf2e={'id':_0xadb035(0x23c),'params':{..._0x435637[_0x5f264f]}},_0x4d155c=this[_0xadb035(0x333)][_0xadb035(0x1c1)](_0x167bb7,_0x4faf2e,!0x1);if(_0x467b0b(_0x4d155c))throw _0x4d155c['error'];_0x167bb7=_0x4d155c['m1Prime'];}return{..._0x323f3c[_0xadb035(0x337)](_0x54a417),'mutations':[_0x167bb7]};}[_0x4e72fd(0x369)](_0x1b825a){const _0x420a8c=_0x4e72fd,{unitID:_0xa520bb}=_0x1b825a,_0x197164=this['_renderManagerService'][_0x420a8c(0x361)](_0xa520bb)[_0x420a8c(0x2a0)](_0x58cabd),{undoCache:_0xf1df71,redoCache:_0x1232c9}=_0x197164[_0x420a8c(0x28b)]();if(_0xf1df71[_0x420a8c(0x330)]===0x0||_0x1232c9['length']===0x0)return;const _0x2a95b0=[],_0x5f0a64=[];let _0x5d0592=_0x323f3c[_0x420a8c(0x337)](_0x1b825a['mutations'][0x0]),_0x402d24=_0x323f3c[_0x420a8c(0x337)](_0x1b825a['mutations'][0x0]);for(let _0x1b1c60=_0xf1df71[_0x420a8c(0x330)]-0x1;_0x1b1c60>=0x0;_0x1b1c60--){const _0x45cc7a={'id':_0x420a8c(0x23c),'params':{..._0xf1df71[_0x1b1c60]}},_0x20984b={'id':_0x420a8c(0x23c),'params':{..._0x1232c9[_0x1b1c60]}},_0x4dd05d=this[_0x420a8c(0x333)][_0x420a8c(0x1c1)](_0x5d0592,_0x45cc7a,!0x1),_0x24236c=this['_transformService'][_0x420a8c(0x1c1)](_0x402d24,_0x20984b,!0x1);if(_0x467b0b(_0x4dd05d))throw _0x4dd05d[_0x420a8c(0x2a5)];if(_0x467b0b(_0x24236c))throw _0x24236c[_0x420a8c(0x2a5)];_0x2a95b0[_0x420a8c(0x229)](_0x4dd05d[_0x420a8c(0x1de)]['params']),_0x5f0a64['unshift'](_0x24236c['m2Prime']['params']),_0x5d0592=_0x4dd05d[_0x420a8c(0x348)],_0x402d24=_0x24236c[_0x420a8c(0x348)];}_0x197164[_0x420a8c(0x17f)]({'undoCache':_0x2a95b0,'redoCache':_0x5f0a64});}[_0x4e72fd(0x206)](_0x468d72){const _0x4ecbad=_0x4e72fd,{unitID:_0x13feb0}=_0x468d72,_0x2a0548=this[_0x4ecbad(0x309)]['getRenderById'](_0x13feb0)[_0x4ecbad(0x2a0)](_0x58cabd),_0x81ec89=_0x2a0548['getActiveRange']();if(_0x81ec89==null)return;const _0x42bb89=[{'id':_0x4ecbad(0x23c),'params':{'unitId':_0x468d72[_0x4ecbad(0x35a)],'actions':null,'textRanges':[_0x81ec89]}}],_0x118316=this[_0x4ecbad(0x333)][_0x4ecbad(0x1a9)](_0x468d72,_0x42bb89);if(!_0x225003(_0x118316))throw _0x118316[_0x4ecbad(0x2a5)];const _0x5e8505=_0x118316[_0x4ecbad(0x1de)][0x0]['params']['textRanges'];Array['isArray'](_0x5e8505)&&_0x5e8505[_0x4ecbad(0x330)]&&_0x2a0548[_0x4ecbad(0x213)](_0x5e8505[0x0]);}};ne=tn([pe(0x0,_0x3978bf(_0x34e1fa)),pe(0x1,_0x3b0871),pe(0x2,_0x5e2470)],ne);var sn=Object[_0x4e72fd(0x2d6)],nn=(_0x38aa25,_0x55b624,_0x43bd32,_0x5b6acc)=>{const _0x129e35=_0x4e72fd;for(var _0xc32c45=_0x5b6acc>0x1?void 0x0:_0x5b6acc?sn(_0x55b624,_0x43bd32):_0x55b624,_0x322dcd=_0x38aa25[_0x129e35(0x330)]-0x1,_0x39a45f;_0x322dcd>=0x0;_0x322dcd--)(_0x39a45f=_0x38aa25[_0x322dcd])&&(_0xc32c45=_0x39a45f(_0xc32c45)||_0xc32c45);return _0xc32c45;},Ce=(_0x50449a,_0x1dbcb6)=>(_0x6e773f,_0x1f0c84)=>_0x1dbcb6(_0x6e773f,_0x1f0c84,_0x50449a);let re=class{constructor(_0x16e536,_0x12c499,_0x55623e){const _0x3ec76c=_0x4e72fd;this['_injector']=_0x16e536,this[_0x3ec76c(0x333)]=_0x12c499,this[_0x3ec76c(0x245)]=_0x55623e;}[_0x4e72fd(0x2b5)](_0x3e81c4){const _0x26e2eb=_0x4e72fd;this[_0x26e2eb(0x2cf)](_0x3e81c4);}[_0x4e72fd(0x342)](_0x3f94bf){const _0x43fec3=_0x4e72fd,{unitID:_0x22c38a}=_0x3f94bf,{collaboration:_0x4e1551}=this['_docStateChangeManagerService']['getStateCache'](_0x22c38a);if(_0x4e1551['length']===0x0)return _0x3f94bf;let _0xd3fce6=_0x323f3c[_0x43fec3(0x337)](_0x3f94bf[_0x43fec3(0x1d6)][0x0]);for(let _0x5cf187=0x0;_0x5cf187<_0x4e1551[_0x43fec3(0x330)];_0x5cf187++){const _0x29b40b={'id':_0x43fec3(0x23c),'params':{'unitId':_0x4e1551[_0x5cf187][_0x43fec3(0x246)],..._0x4e1551[_0x5cf187][_0x43fec3(0x25d)]}},_0x1fbf26=this[_0x43fec3(0x333)][_0x43fec3(0x1c1)](_0xd3fce6,_0x29b40b,!0x1);if(_0x467b0b(_0x1fbf26))throw _0x1fbf26[_0x43fec3(0x2a5)];_0xd3fce6=_0x1fbf26[_0x43fec3(0x348)];}return{..._0x323f3c[_0x43fec3(0x337)](_0x3f94bf),'mutations':[_0xd3fce6]};}[_0x4e72fd(0x2cf)](_0x1f5832){const _0xe0ea6a=_0x4e72fd,{unitID:_0x50e0d3}=_0x1f5832,{history:_0x491ecb,collaboration:_0x3d90e0}=this[_0xe0ea6a(0x245)][_0xe0ea6a(0x326)](_0x50e0d3);if(_0x491ecb[_0xe0ea6a(0x330)]===0x0&&_0x3d90e0[_0xe0ea6a(0x330)]===0x0)return;const _0x3c395f=[],_0x4aa552=[];let _0x57937a=_0x323f3c[_0xe0ea6a(0x337)](_0x1f5832[_0xe0ea6a(0x1d6)][0x0]),_0x5a4317=_0x323f3c[_0xe0ea6a(0x337)](_0x1f5832[_0xe0ea6a(0x1d6)][0x0]);for(let _0x3d254d=_0x491ecb['length']-0x1;_0x3d254d>=0x0;_0x3d254d--){const _0x5afd68={'id':_0xe0ea6a(0x23c),'params':{'unitId':_0x491ecb[_0x3d254d]['unitId'],..._0x491ecb[_0x3d254d][_0xe0ea6a(0x1c0)]}},_0x5c87a5={'id':_0xe0ea6a(0x23c),'params':{'unitId':_0x491ecb[_0x3d254d][_0xe0ea6a(0x246)],..._0x491ecb[_0x3d254d][_0xe0ea6a(0x25d)]}},_0x431c8d=this[_0xe0ea6a(0x333)]['transformMutation'](_0x57937a,_0x5afd68,!0x1),_0x4318e0=this[_0xe0ea6a(0x333)][_0xe0ea6a(0x1c1)](_0x5a4317,_0x5c87a5,!0x1);if(_0x467b0b(_0x431c8d))throw _0x431c8d[_0xe0ea6a(0x2a5)];if(_0x467b0b(_0x4318e0))throw _0x4318e0[_0xe0ea6a(0x2a5)];_0x3c395f['unshift']({..._0x491ecb[_0x3d254d],'undoState':_0x431c8d['m2Prime'][_0xe0ea6a(0x29b)],'redoState':_0x4318e0[_0xe0ea6a(0x1de)][_0xe0ea6a(0x29b)]}),_0x57937a=_0x431c8d['m1Prime'],_0x5a4317=_0x4318e0[_0xe0ea6a(0x348)];}_0x57937a=_0x323f3c['deepClone'](_0x1f5832[_0xe0ea6a(0x1d6)][0x0]),_0x5a4317=_0x323f3c[_0xe0ea6a(0x337)](_0x1f5832[_0xe0ea6a(0x1d6)][0x0]);for(let _0x1733f7=_0x3d90e0[_0xe0ea6a(0x330)]-0x1;_0x1733f7>=0x0;_0x1733f7--){const _0xd085f0={'id':_0xe0ea6a(0x23c),'params':{'unitId':_0x3d90e0[_0x1733f7][_0xe0ea6a(0x246)],..._0x3d90e0[_0x1733f7][_0xe0ea6a(0x1c0)]}},_0x3bb5f1={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3d90e0[_0x1733f7][_0xe0ea6a(0x246)],..._0x3d90e0[_0x1733f7][_0xe0ea6a(0x25d)]}},_0x389b44=this['_transformService']['transformMutation'](_0x57937a,_0xd085f0,!0x1),_0x56e8ba=this[_0xe0ea6a(0x333)]['transformMutation'](_0x5a4317,_0x3bb5f1,!0x1);if(_0x467b0b(_0x389b44))throw _0x389b44[_0xe0ea6a(0x2a5)];if(_0x467b0b(_0x56e8ba))throw _0x56e8ba[_0xe0ea6a(0x2a5)];_0x4aa552['unshift']({..._0x3d90e0[_0x1733f7],'undoState':_0x389b44[_0xe0ea6a(0x1de)][_0xe0ea6a(0x29b)],'redoState':_0x56e8ba[_0xe0ea6a(0x1de)][_0xe0ea6a(0x29b)]}),_0x57937a=_0x389b44[_0xe0ea6a(0x348)],_0x5a4317=_0x56e8ba[_0xe0ea6a(0x348)];}this['_docStateChangeManagerService']['setStateCache'](_0x50e0d3,{'history':_0x3c395f,'collaboration':_0x4aa552});}};re=nn([Ce(0x0,_0x3978bf(_0x34e1fa)),Ce(0x1,_0x3b0871),Ce(0x2,_0x3978bf(_0x241ff9))],re);var rn=Object[_0x4e72fd(0x2d6)],on=(_0x147bcc,_0x437f7a,_0x526ba2,_0x18f13e)=>{const _0x2cf1ea=_0x4e72fd;for(var _0x2d567f=_0x18f13e>0x1?void 0x0:_0x18f13e?rn(_0x437f7a,_0x526ba2):_0x437f7a,_0x3d63ab=_0x147bcc[_0x2cf1ea(0x330)]-0x1,_0x48dda3;_0x3d63ab>=0x0;_0x3d63ab--)(_0x48dda3=_0x147bcc[_0x3d63ab])&&(_0x2d567f=_0x48dda3(_0x2d567f)||_0x2d567f);return _0x2d567f;},tt=(_0x39b5a9,_0x287cdc)=>(_0x26de65,_0xfda5ac)=>_0x287cdc(_0x26de65,_0xfda5ac,_0x39b5a9);let oe=class{constructor(_0x2638be,_0x1b569b){const _0x18091c=_0x4e72fd;this[_0x18091c(0x1d2)]=_0x2638be,this[_0x18091c(0x333)]=_0x1b569b;}[_0x4e72fd(0x370)](_0x2b1fc2){const _0x51cda1=_0x4e72fd;var _0x35ca01;const _0x4642b0=this['_injector'][_0x51cda1(0x32e)](_0x5ced89),_0x508b46=(_0x35ca01=_0x4642b0[_0x51cda1(0x374)]())!=null?_0x35ca01:[];if(_0x508b46[_0x51cda1(0x330)]===0x0)return;const _0x5df59d=_0x2b1fc2['unitID'],_0x516ab1=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5df59d,'actions':null,'textRanges':_0x508b46}}],_0x5ac068=this[_0x51cda1(0x333)][_0x51cda1(0x1a9)](_0x2b1fc2,_0x516ab1);if(!_0x225003(_0x5ac068))throw _0x5ac068[_0x51cda1(0x2a5)];const _0x205391=_0x5ac068[_0x51cda1(0x1de)][0x0][_0x51cda1(0x29b)][_0x51cda1(0x1c5)];Array[_0x51cda1(0x18e)](_0x205391)&&_0x205391['length']&&_0x4642b0[_0x51cda1(0x164)](_0x205391,{'unitId':_0x5df59d,'subUnitId':_0x5df59d},!0x1);}};oe=on([tt(0x0,_0x3978bf(_0x34e1fa)),tt(0x1,_0x3b0871)],oe);var an=Object[_0x4e72fd(0x2d6)],cn=(_0x39d98d,_0x613f1d,_0x2bd5f4,_0x5b0cd0)=>{const _0x4384de=_0x4e72fd;for(var _0x54b7e6=_0x5b0cd0>0x1?void 0x0:_0x5b0cd0?an(_0x613f1d,_0x2bd5f4):_0x613f1d,_0x1c822b=_0x39d98d[_0x4384de(0x330)]-0x1,_0x4fac07;_0x1c822b>=0x0;_0x1c822b--)(_0x4fac07=_0x39d98d[_0x1c822b])&&(_0x54b7e6=_0x4fac07(_0x54b7e6)||_0x54b7e6);return _0x54b7e6;},U=(_0xee050d,_0x4f2cbb)=>(_0x5a30bb,_0x1a90ae)=>_0x4f2cbb(_0x5a30bb,_0x1a90ae,_0xee050d);let ae=class extends _0x1ed90e{constructor(_0x224066,_0x4c4380,_0x29ecf0,_0x11d112,_0x428f4f,_0x5c7121,_0x19af20,_0x264afa){const _0x35f755=_0x4e72fd;super(),_(this,'_status$',new _0xbbcda8(_0x465d72[_0x35f755(0x264)])),(this[_0x35f755(0x245)]=_0x224066,this[_0x35f755(0x31d)]=_0x4c4380,this[_0x35f755(0x257)]=_0x29ecf0,this['_docTransformStateCacheService']=_0x11d112,this[_0x35f755(0x2ab)]=_0x428f4f,this[_0x35f755(0x226)]=_0x5c7121,this[_0x35f755(0x2d7)]=_0x19af20,this[_0x35f755(0x174)]=_0x264afa,this[_0x35f755(0x171)]());}[_0x4e72fd(0x171)](){const _0x5a2f0f=_0x4e72fd;this['disposeWithMe'](this[_0x5a2f0f(0x31d)]['entityInit$']['subscribe'](_0x549601=>{const _0x3218c3=_0x5a2f0f,_0x2d5f7d=this['_docStateChangeManagerService'][_0x3218c3(0x1eb)][_0x3218c3(0x26d)](_0x1463d1=>{const _0x1bf22e=_0x3218c3;if(_0x1463d1==null)return;const {unitId:_0x14b466,redoState:_0x57ce64,commandId:_0x4507ac}=_0x1463d1;if(_0x14b466!==_0x549601[_0x1bf22e(0x35a)])return;const _0x43960c={'id':_0x4507ac,'type':_0x15ab1b[_0x1bf22e(0x1dc)],'params':{'unitId':_0x14b466,'actions':_0x57ce64[_0x1bf22e(0x227)],'textRanges':null}};_0x549601[_0x1bf22e(0x2d9)](_0x43960c);});if(_0x549601[_0x3218c3(0x19d)](_0x2d5f7d),_0x549601 instanceof _0x3a6f5d){const _0x12cc4d={'onTransformIME':_0xa1d050=>this[_0x3218c3(0x257)][_0x3218c3(0x2da)](_0xa1d050),'onTransformState':_0x4ad787=>this[_0x3218c3(0x2ac)][_0x3218c3(0x2b5)](_0x4ad787),'onTransformSelections':_0xe67a40=>this[_0x3218c3(0x2ab)][_0x3218c3(0x370)](_0xe67a40),'onSyncEditingCollabCursor':_0x1a8a8e=>this[_0x3218c3(0x226)][_0x3218c3(0x316)](_0x1a8a8e),'onTransformRemoteChangesetByIMECache':_0x44e216=>this['_docTransformIMECacheService'][_0x3218c3(0x342)](_0x44e216),'onTransformRemoteChangesetByStateCache':_0x17a8a4=>this['_docTransformStateCacheService'][_0x3218c3(0x342)](_0x17a8a4)};_0x549601[_0x3218c3(0x163)](_0x12cc4d);}}));}};ae=cn([U(0x0,_0x3978bf(_0x241ff9)),U(0x1,_0x3978bf(_0x1e1b99)),U(0x2,_0x3978bf(ne)),U(0x3,_0x3978bf(re)),U(0x4,_0x3978bf(oe)),U(0x5,_0x3978bf(He)),U(0x6,_0x556324),U(0x7,_0x3978bf(_0x4d43d2))],ae);var ln=Object[_0x4e72fd(0x2d6)],_n=(_0x28f253,_0x1dea46,_0x176105,_0x4b051f)=>{for(var _0x5eed97=_0x4b051f>0x1?void 0x0:_0x4b051f?ln(_0x1dea46,_0x176105):_0x1dea46,_0x3ccd6b=_0x28f253['length']-0x1,_0x2bc131;_0x3ccd6b>=0x0;_0x3ccd6b--)(_0x2bc131=_0x28f253[_0x3ccd6b])&&(_0x5eed97=_0x2bc131(_0x5eed97)||_0x5eed97);return _0x5eed97;},Ee=(_0x473355,_0x336bcc)=>(_0x13d59e,_0x6c730f)=>_0x336bcc(_0x13d59e,_0x6c730f,_0x473355);let we=class extends _0x1ed90e{constructor(_0x14cd6d,_0x4f9f0a,_0x16f258){const _0x39b079=_0x4e72fd;super(),_(this,'_cachedData',new Map()),_(this,_0x39b079(0x18d),new Map()),_(this,'_disabled',!0x1),(this[_0x39b079(0x1b5)]=_0x14cd6d,this['_localStorageService']=_0x4f9f0a,this['_revisionService']=_0x16f258);}[_0x4e72fd(0x2ff)](){this['_disabled']=!0x0;}[_0x4e72fd(0x231)](){const _0x2c1660=_0x4e72fd;this[_0x2c1660(0x2f4)]=!0x1;}get[_0x4e72fd(0x168)](){const _0x31990f=_0x4e72fd;return this[_0x31990f(0x18d)];}[_0x4e72fd(0x270)](){const _0x29a126=_0x4e72fd;this[_0x29a126(0x290)]()[_0x29a126(0x24f)](()=>super['dispose']());}async[_0x4e72fd(0x1c8)](_0x3a1987){const _0xe9ab6c=_0x4e72fd;return this[_0xe9ab6c(0x2f4)]?null:this[_0xe9ab6c(0x305)][_0xe9ab6c(0x1fc)](_0x67462b(_0x3a1987));}async[_0x4e72fd(0x230)](_0xe5d22d,_0x309989){const _0x6d23d7=_0x4e72fd;return!!this[_0x6d23d7(0x305)][_0x6d23d7(0x253)](_0xe5d22d,_0x309989);}['updateOfflineData'](_0x21fc37,_0x2a20c7,_0x2d833c,_0x2b6b1f){const _0x162be2=_0x4e72fd,_0x10da64=this['_revisionService'][_0x162be2(0x1f1)](_0x21fc37);this['_cachedData'][_0x162be2(0x30a)](_0x21fc37,{'unitID':_0x21fc37,'type':_0x2a20c7,'awaitingChangeset':_0x2d833c,'mutations':_0x2b6b1f,'rev':_0x10da64}),this[_0x162be2(0x18d)][_0x162be2(0x1ec)](_0x21fc37)||this[_0x162be2(0x1bf)](_0x21fc37);}['_scheduleSaving'](_0x1a9193){const _0x46722f=_0x4e72fd,_0x104c95=this[_0x46722f(0x2ed)]();_0x104c95===0x0?this[_0x46722f(0x1bd)](_0x1a9193):this[_0x46722f(0x18d)][_0x46722f(0x30a)](_0x1a9193,setTimeout(()=>this[_0x46722f(0x1bd)](_0x1a9193),_0x104c95));}['_getSaveTimeout'](){const _0x1382a9=_0x4e72fd;var _0xfe1a50;return(_0xfe1a50=this[_0x1382a9(0x1b5)][_0x1382a9(0x357)](_0x3488f1))!=null?_0xfe1a50:_0x168836;}[_0x4e72fd(0x1bd)](_0x1cd402){const _0x52e7e3=_0x4e72fd,_0x145413=this[_0x52e7e3(0x18d)][_0x52e7e3(0x32e)](_0x1cd402);return _0x145413!==void 0x0&&window[_0x52e7e3(0x371)](_0x145413),this[_0x52e7e3(0x305)][_0x52e7e3(0x253)](_0x67462b(_0x1cd402),this[_0x52e7e3(0x291)][_0x52e7e3(0x32e)](_0x1cd402))[_0x52e7e3(0x24f)](()=>this[_0x52e7e3(0x18d)]['delete'](_0x1cd402));}async['exhaustSavingTask'](){const _0x476343=_0x4e72fd,_0x30364b=[];this['_saveTaskMap'][_0x476343(0x19b)]((_0x1bcb6a,_0x228ad0)=>{const _0x250cde=_0x476343;window[_0x250cde(0x371)](_0x1bcb6a),_0x30364b[_0x250cde(0x366)](this['_saveCache'](_0x228ad0)['then'](()=>{const _0x4a3fb2=_0x250cde;this[_0x4a3fb2(0x18d)][_0x4a3fb2(0x20e)](_0x228ad0);}));}),await Promise[_0x476343(0x2f2)](_0x30364b);}};we=_n([Ee(0x0,_0xa39781),Ee(0x1,_0x5e3c59),Ee(0x2,_0x3978bf(_0x57cffe))],we);class hn extends _0x4c7c7e{constructor(){const _0x4378f0=_0x4e72fd;super(),_(this,'urlChange$'),this[_0x4378f0(0x17c)]=_0x4f2d6b(window,_0x4378f0(0x2bb))[_0x4378f0(0x220)](_0x48049b(this[_0x4378f0(0x31b)]),_0x55a28c(0x1),_0x5a226a(void 0x0));}[_0x4e72fd(0x28e)](_0x24160d,_0x59f05e,_0x34ce9b=!0x1){const _0x34c320=_0x4e72fd,_0x39225b=new URL(window[_0x34c320(0x35c)][_0x34c320(0x285)]);_0x39225b[_0x34c320(0x271)][_0x34c320(0x30a)](_0x24160d,_0x59f05e),_0x34ce9b?window[_0x34c320(0x30b)][_0x34c320(0x238)]('','',_0x39225b[_0x34c320(0x19c)]()):window[_0x34c320(0x30b)][_0x34c320(0x250)]('','',_0x39225b['toString']());}[_0x4e72fd(0x33a)](_0x6c3f15,_0x42e7f6=!0x1){const _0x18c5ad=_0x4e72fd,_0x1565a3=new URL(window['location'][_0x18c5ad(0x285)]);_0x1565a3[_0x18c5ad(0x271)]['delete'](_0x6c3f15),_0x42e7f6?window[_0x18c5ad(0x30b)][_0x18c5ad(0x238)]('','',_0x1565a3['toString']()):window[_0x18c5ad(0x30b)]['pushState']('','',_0x1565a3[_0x18c5ad(0x19c)]());}[_0x4e72fd(0x217)](_0x53a26b){const _0x407a85=_0x4e72fd;var _0x2e9975;return(_0x2e9975=new URL(window[_0x407a85(0x35c)][_0x407a85(0x285)])[_0x407a85(0x271)]['get'](_0x53a26b))!=null?_0x2e9975:void 0x0;}}var un=Object[_0x4e72fd(0x22f)],dn=Object[_0x4e72fd(0x2d6)],fn=(_0x5b3b03,_0x31e35e,_0x23fc0c)=>_0x31e35e in _0x5b3b03?un(_0x5b3b03,_0x31e35e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x23fc0c}):_0x5b3b03[_0x31e35e]=_0x23fc0c,Sn=(_0x170227,_0x46d2a7,_0x5c9447,_0x19eb56)=>{for(var _0x206319=_0x19eb56>0x1?void 0x0:_0x19eb56?dn(_0x46d2a7,_0x5c9447):_0x46d2a7,_0xb8cb94=_0x170227['length']-0x1,_0x5ec3;_0xb8cb94>=0x0;_0xb8cb94--)(_0x5ec3=_0x170227[_0xb8cb94])&&(_0x206319=_0x5ec3(_0x206319)||_0x206319);return _0x206319;},Oe=(_0x4e5adb,_0x2e7988)=>(_0x14b6eb,_0x29b383)=>_0x2e7988(_0x14b6eb,_0x29b383,_0x4e5adb),mn=(_0x2a2511,_0x1be29e,_0x95e7f)=>fn(_0x2a2511,_0x1be29e+'',_0x95e7f);const In=_0x4e72fd(0x2bf);let Ae=class extends _0x5a7775{constructor(_0x2f8874=et,_0x5aa5d5,_0x578fb6,_0x40fbb5){const _0x21638a=_0x4e72fd;super(),this[_0x21638a(0x372)]=_0x2f8874,this[_0x21638a(0x309)]=_0x5aa5d5,this['_injector']=_0x578fb6,this['_configService']=_0x40fbb5;const {..._0x51f970}=_0x324ce8({},et,this[_0x21638a(0x372)]);this['_configService'][_0x21638a(0x302)](Zi,_0x51f970);}['onStarting'](){const _0x2eda70=_0x4e72fd;this[_0x2eda70(0x219)](),this[_0x2eda70(0x30c)]();}[_0x4e72fd(0x28c)](){const _0x52b6d0=_0x4e72fd;this[_0x52b6d0(0x215)]();}[_0x4e72fd(0x219)](){const _0x59fbec=_0x4e72fd;var _0x51d2c8;const _0x6c4df0=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x5336bd,{'useClass':_0x54593a}],[_0x887162,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x59786f(this[_0x59fbec(0x1d2)],_0x1e1a8e(_0x6c4df0,(_0x51d2c8=this['_config'])==null?void 0x0:_0x51d2c8['override']));}[_0x4e72fd(0x215)](){const _0x3687d3=_0x4e72fd;this[_0x3687d3(0x19d)](this[_0x3687d3(0x309)][_0x3687d3(0x2b9)](_0x573968[_0x3687d3(0x2d4)],[Le])),this[_0x3687d3(0x19d)](this[_0x3687d3(0x309)]['registerRenderModule'](_0x573968[_0x3687d3(0x234)],[Pe]));}[_0x4e72fd(0x30c)](){const _0x216b97=_0x4e72fd;_0x348680(this[_0x216b97(0x1d2)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,'pluginName',In),Ae=Sn([_0x5035b2(_0x4b81ab),Oe(0x1,_0x5e2470),Oe(0x2,_0x3978bf(_0x34e1fa)),Oe(0x3,_0xa39781)],Ae);var gn=Object[_0x4e72fd(0x2d6)],vn=(_0xa67665,_0x9fc1c0,_0xb730a,_0x2bd9c5)=>{const _0x5e4f45=_0x4e72fd;for(var _0x32d949=_0x2bd9c5>0x1?void 0x0:_0x2bd9c5?gn(_0x9fc1c0,_0xb730a):_0x9fc1c0,_0x31c34d=_0xa67665[_0x5e4f45(0x330)]-0x1,_0x5c7ca6;_0x31c34d>=0x0;_0x31c34d--)(_0x5c7ca6=_0xa67665[_0x31c34d])&&(_0x32d949=_0x5c7ca6(_0x32d949)||_0x32d949);return _0x32d949;},K=(_0x45e36a,_0xd3130e)=>(_0x222238,_0x346c53)=>_0xd3130e(_0x222238,_0x346c53,_0x45e36a);let st=class extends _0x348568{constructor(_0x22779c,_0x4ebbad,_0x15f085,_0x4a7300,_0x16a80d){super(_0x22779c,_0x4ebbad,_0x15f085,_0x4a7300,_0x16a80d);}async[_0x4e72fd(0x19f)](_0xa50a5b){const _0x375101=_0x4e72fd,_0x176280=await this[_0x375101(0x368)](),_0x1685e0=this[_0x375101(0x18c)](_0xa50a5b,_0x176280);return this[_0x375101(0x1e3)](_0x1685e0);}[_0x4e72fd(0x18c)](_0x3b9611,_0x34316b){const _0x32a08d=_0x4e72fd,_0x3a239b=typeof window>'u'?new URL(_0x3b9611):new URL(_0x3b9611,window[_0x32a08d(0x35c)][_0x32a08d(0x1f6)]);_0x3a239b['searchParams'][_0x32a08d(0x30a)]('sessionTicket',_0x34316b);const _0x58dace=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x32a08d(0x35c)][_0x32a08d(0x347)]);return _0x58dace[_0x32a08d(0x32e)](_0x32a08d(0x175))&&_0x3a239b[_0x32a08d(0x271)]['set'](_0x32a08d(0x175),_0x58dace[_0x32a08d(0x32e)](_0x32a08d(0x175))),_0x3a239b[_0x32a08d(0x19c)]();}async['_getSessionTicket'](){const _0x4b8a69=_0x4e72fd;var _0x16d665,_0x53e7ff,_0x4b8838;const _0x5deff4=this[_0x4b8a69(0x1b5)][_0x4b8a69(0x357)](_0x29e661),_0x4c3089=(_0x16d665=_0x5deff4==null?void 0x0:_0x5deff4[_0x4b8a69(0x2e3)])!=null?_0x16d665:_0xf649ef;return(_0x4b8838=(_0x53e7ff=(await this[_0x4b8a69(0x263)][_0x4b8a69(0x32e)](_0x4c3089,{'headers':{'Content-Type':_0x4b8a69(0x1d4)}}))[_0x4b8a69(0x24e)])==null?void 0x0:_0x53e7ff[_0x4b8a69(0x228)])!=null?_0x4b8838:'';}};st=vn([K(0x0,_0x3978bf(_0x34e1fa)),K(0x1,_0x3978bf(_0x356126)),K(0x2,_0xa39781),K(0x3,_0x2c1045),K(0x4,_0x36ff2a)],st);const it=0x7530,nt='ACTIVE_UNIT_EVENT_CHANNEL';class Fn extends _0x1ed90e{constructor(){const _0x20da8a=_0x4e72fd;super(),_(this,_0x20da8a(0x28a),_0x23d190()),_(this,_0x20da8a(0x267),new Set()),_(this,_0x20da8a(0x176),new Map()),_(this,_0x20da8a(0x2e2),null),_(this,_0x20da8a(0x283),new Map()),_(this,'_unitStatus',new Map()),this[_0x20da8a(0x2f8)]();}['dispose'](){const _0x319386=_0x4e72fd;super['dispose'](),this['_clearOtherTimers'][_0x319386(0x19b)]((_0x30b521,_0x1afdb9)=>this['_removeClearOtherTimer'](_0x1afdb9)),this[_0x319386(0x2e2)]&&window[_0x319386(0x32a)](this[_0x319386(0x2e2)]);}[_0x4e72fd(0x1b6)](_0x188fff){const _0x12dcff=_0x4e72fd;return this[_0x12dcff(0x322)](_0x188fff)[_0x12dcff(0x220)](_0x45320f());}[_0x4e72fd(0x21d)](_0x240a85){const _0x5b69f4=_0x4e72fd;this['_selfUnitIDs'][_0x5b69f4(0x2dc)]===0x0&&this['_scheduleHeartbeat'](),this[_0x5b69f4(0x267)][_0x5b69f4(0x346)](_0x240a85),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x240a85],'isForwarded':!0x1});}[_0x4e72fd(0x2c0)](_0x4f12f4){const _0x1df818=_0x4e72fd;this[_0x1df818(0x267)][_0x1df818(0x20e)](_0x4f12f4),this[_0x1df818(0x267)][_0x1df818(0x2dc)]===0x0&&this[_0x1df818(0x2e2)]&&window[_0x1df818(0x32a)](this[_0x1df818(0x2e2)]);}['_init'](){const _0x2e4330=_0x4e72fd;this[_0x2e4330(0x19d)](_0x5dbc96(_0x4f2d6b(window,_0x2e4330(0x1d5))['subscribe'](_0x18b300=>{const _0x3497f4=_0x2e4330;if(_0x18b300[_0x3497f4(0x1b8)]!==nt||!_0x18b300['newValue'])return;const _0x38ad39=JSON[_0x3497f4(0x356)](_0x18b300['newValue']);this[_0x3497f4(0x1ed)](_0x38ad39);}))),window[_0x2e4330(0x1f2)](_0x2e4330(0x165),()=>this[_0x2e4330(0x1a4)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x2e4330(0x267)])}));}[_0x4e72fd(0x1ed)](_0x3f73ab){const _0x1d4fc3=_0x4e72fd;switch(_0x3f73ab[_0x1d4fc3(0x216)]){case 0x0:this[_0x1d4fc3(0x2e5)](_0x3f73ab);break;case 0x1:this['_handleLeaveEvent'](_0x3f73ab);break;case 0x2:this[_0x1d4fc3(0x201)](_0x3f73ab);break;}}[_0x4e72fd(0x2e5)](_0x432f53){const _0x5b6a3b=_0x4e72fd,{unitIDs:_0x2d4734,memberID:_0x25818a,isForwarded:_0x1b4000}=_0x432f53;_0x2d4734[_0x5b6a3b(0x19b)](_0x19ab9c=>{const _0xd7364a=_0x5b6a3b;if(!_0x1b4000&&this[_0xd7364a(0x176)][_0xd7364a(0x1ec)](_0x19ab9c)&&this['_ensureSubject'](_0x19ab9c)[_0xd7364a(0x16b)](_0x26a024[_0xd7364a(0x1fb)]),!this[_0xd7364a(0x176)]['has'](_0x19ab9c)||!this[_0xd7364a(0x176)][_0xd7364a(0x32e)](_0x19ab9c)[_0xd7364a(0x1ec)](_0x25818a)){const _0x49db18=this[_0xd7364a(0x176)][_0xd7364a(0x32e)](_0x19ab9c)||new Set();_0x49db18[_0xd7364a(0x346)](_0x25818a),this[_0xd7364a(0x176)]['set'](_0x19ab9c,_0x49db18),this[_0xd7364a(0x25f)](_0x25818a);}}),_0x1b4000||this[_0x5b6a3b(0x1a4)]({'type':0x0,'memberID':this[_0x5b6a3b(0x28a)],'unitIDs':[...this[_0x5b6a3b(0x267)]],'isForwarded':!0x0});}[_0x4e72fd(0x25f)](_0x219dc3){const _0x2e6a38=_0x4e72fd;this['_removeClearOtherTimer'](_0x219dc3);const _0x54b650=window['setTimeout'](()=>{const _0x47456b=_0x3b51;this[_0x47456b(0x176)][_0x47456b(0x19b)](_0x61f0db=>{_0x61f0db['delete'](_0x219dc3);});},it*0x2);this[_0x2e6a38(0x283)][_0x2e6a38(0x30a)](_0x219dc3,_0x54b650);}['_removeClearOtherTimer'](_0x36ba1e){const _0x5bff10=_0x4e72fd;if(this[_0x5bff10(0x283)]['has'](_0x36ba1e)){const _0x1ba9d2=this['_clearOtherTimers'][_0x5bff10(0x32e)](_0x36ba1e);_0x1ba9d2&&window[_0x5bff10(0x371)](_0x1ba9d2),this[_0x5bff10(0x283)]['set'](_0x36ba1e,null);}}[_0x4e72fd(0x23a)](_0x1286d7){const _0x5d3790=_0x4e72fd,{memberID:_0x1d6fa9,unitIDs:_0x54b58f}=_0x1286d7;_0x54b58f[_0x5d3790(0x19b)](_0x48db3d=>{const _0x3be1d3=_0x5d3790;var _0x567175;const _0x29586d=this[_0x3be1d3(0x176)][_0x3be1d3(0x32e)](_0x48db3d);_0x29586d&&(_0x29586d[_0x3be1d3(0x20e)](_0x1d6fa9),(_0x567175=this['_ensureSubject'](_0x48db3d))==null||_0x567175[_0x3be1d3(0x16b)](_0x29586d['size']===0x0?_0x26a024[_0x3be1d3(0x360)]:_0x26a024[_0x3be1d3(0x1fb)]));}),this[_0x5d3790(0x1e2)](_0x1d6fa9);}[_0x4e72fd(0x201)](_0x237d99){const _0x552e60=_0x4e72fd;this[_0x552e60(0x25f)](_0x237d99[_0x552e60(0x187)]);}[_0x4e72fd(0x1a4)](_0x560506){const _0x2ec9cc=_0x4e72fd;localStorage[_0x2ec9cc(0x253)](nt,JSON['stringify'](_0x560506));}[_0x4e72fd(0x343)](){const _0x272d63=_0x4e72fd;this[_0x272d63(0x2e2)]=window[_0x272d63(0x1ff)](()=>{const _0x29499a=_0x272d63;this[_0x29499a(0x1a4)]({'type':0x2,'memberID':this['_id']});},it);}['_ensureSubject'](_0xd39577){const _0x353a75=_0x4e72fd;return this[_0x353a75(0x308)]['has'](_0xd39577)||this[_0x353a75(0x308)][_0x353a75(0x30a)](_0xd39577,new _0xbbcda8(_0x26a024[_0x353a75(0x360)])),this[_0x353a75(0x308)][_0x353a75(0x32e)](_0xd39577);}}var Mt=(_0x1317a0=>(_0x1317a0[_0x1317a0[_0x4e72fd(0x2be)]=0x0]=_0x4e72fd(0x2be),_0x1317a0[_0x1317a0['OK']=0x1]='OK',_0x1317a0[_0x1317a0['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x1317a0[_0x1317a0['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x1317a0[_0x1317a0[_0x4e72fd(0x281)]=0x4]=_0x4e72fd(0x281),_0x1317a0[_0x1317a0['UNAUTHENTICATED']=0x5]=_0x4e72fd(0x294),_0x1317a0[_0x1317a0[_0x4e72fd(0x251)]=0x6]=_0x4e72fd(0x251),_0x1317a0[_0x1317a0[_0x4e72fd(0x1a6)]=0x7]=_0x4e72fd(0x1a6),_0x1317a0[_0x1317a0['TOO_MANY_REQUESTS']=0x8]=_0x4e72fd(0x27d),_0x1317a0[_0x1317a0[_0x4e72fd(0x34d)]=0x9]='COMPLETION_FINISHED',_0x1317a0[_0x1317a0['LOGIN_FAILED']=0xa]=_0x4e72fd(0x2d3),_0x1317a0[_0x1317a0[_0x4e72fd(0x181)]=0xb]=_0x4e72fd(0x181),_0x1317a0[_0x1317a0[_0x4e72fd(0x34b)]=0xc]=_0x4e72fd(0x34b),_0x1317a0[_0x1317a0[_0x4e72fd(0x218)]=0xd]=_0x4e72fd(0x218),_0x1317a0[_0x1317a0[_0x4e72fd(0x341)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x1317a0[_0x1317a0['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x4e72fd(0x345),_0x1317a0[_0x1317a0[_0x4e72fd(0x1f7)]=0x1771]=_0x4e72fd(0x1f7),_0x1317a0[_0x1317a0[_0x4e72fd(0x1b1)]=0x1772]=_0x4e72fd(0x1b1),_0x1317a0[_0x1317a0[_0x4e72fd(0x35b)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x1317a0[_0x1317a0[_0x4e72fd(0x16e)]=0x1b59]='APPLY_REJECT',_0x1317a0[_0x1317a0[_0x4e72fd(0x2e6)]=0x1b5a]=_0x4e72fd(0x2e6),_0x1317a0[_0x1317a0[_0x4e72fd(0x278)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x1317a0[_0x1317a0['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x1317a0[_0x1317a0[_0x4e72fd(0x1f4)]=0x1b5d]=_0x4e72fd(0x1f4),_0x1317a0[_0x1317a0[_0x4e72fd(0x310)]=0x1f41]=_0x4e72fd(0x310),_0x1317a0[_0x1317a0[_0x4e72fd(0x2ef)]=0x2329]=_0x4e72fd(0x2ef),_0x1317a0[_0x1317a0[_0x4e72fd(0x23f)]=0x232a]=_0x4e72fd(0x23f),_0x1317a0[_0x1317a0[_0x4e72fd(0x36b)]=0x232b]=_0x4e72fd(0x36b),_0x1317a0[_0x1317a0[_0x4e72fd(0x1d7)]=0x232c]=_0x4e72fd(0x1d7),_0x1317a0[_0x1317a0['LICENSE_DISTRO_REJECTED']=0x232d]=_0x4e72fd(0x26c),_0x1317a0[_0x1317a0['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x4e72fd(0x203),_0x1317a0[_0x1317a0[_0x4e72fd(0x16d)]=0x2712]=_0x4e72fd(0x16d),_0x1317a0[_0x1317a0[_0x4e72fd(0x167)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x1317a0[_0x1317a0['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x4e72fd(0x30d),_0x1317a0[_0x1317a0['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x4e72fd(0x350),_0x1317a0[_0x1317a0[_0x4e72fd(0x1d3)]=0x271b]=_0x4e72fd(0x1d3),_0x1317a0[_0x1317a0['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x4e72fd(0x2fc),_0x1317a0[_0x1317a0[_0x4e72fd(0x16f)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x1317a0[_0x1317a0[_0x4e72fd(0x2db)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x1317a0[_0x1317a0[_0x4e72fd(0x1c4)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x1317a0[_0x1317a0[_0x4e72fd(0x315)]=0x2720]=_0x4e72fd(0x315),_0x1317a0[_0x1317a0[_0x4e72fd(0x362)]=0x2af9]=_0x4e72fd(0x362),_0x1317a0[_0x1317a0[_0x4e72fd(0x20d)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x1317a0[_0x1317a0[_0x4e72fd(0x1a2)]=0x2ee2]=_0x4e72fd(0x1a2),_0x1317a0[_0x1317a0[_0x4e72fd(0x306)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x1317a0[_0x1317a0['USER_NOT_INVITED_CODE']=0x2ee4]=_0x4e72fd(0x319),_0x1317a0[_0x1317a0[_0x4e72fd(0x2e1)]=0x2ee5]=_0x4e72fd(0x2e1),_0x1317a0[_0x1317a0[_0x4e72fd(0x1b4)]=0x32c9]=_0x4e72fd(0x1b4),_0x1317a0[_0x1317a0[_0x4e72fd(0x2c2)]=0x32ca]=_0x4e72fd(0x2c2),_0x1317a0[_0x1317a0[_0x4e72fd(0x193)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x1317a0[_0x1317a0[_0x4e72fd(0x324)]=-0x1]=_0x4e72fd(0x324),_0x1317a0))(Mt||{}),pn=Object[_0x4e72fd(0x2d6)],Cn=(_0x2ec02b,_0xcc9a9d,_0x37636f,_0x2235e2)=>{const _0x5b9c28=_0x4e72fd;for(var _0x34d1a8=_0x2235e2>0x1?void 0x0:_0x2235e2?pn(_0xcc9a9d,_0x37636f):_0xcc9a9d,_0x49e07e=_0x2ec02b[_0x5b9c28(0x330)]-0x1,_0x2a3f27;_0x49e07e>=0x0;_0x49e07e--)(_0x2a3f27=_0x2ec02b[_0x49e07e])&&(_0x34d1a8=_0x2a3f27(_0x34d1a8)||_0x34d1a8);return _0x34d1a8;},be=(_0x350759,_0x2011f1)=>(_0x36df5f,_0x47b530)=>_0x2011f1(_0x36df5f,_0x47b530,_0x350759);let rt=class extends _0x1ed90e{constructor(_0x3b9231,_0x34c1ba,_0x2488df){const _0x232498=_0x4e72fd;super(),this[_0x232498(0x32c)]=_0x3b9231,this[_0x232498(0x263)]=_0x34c1ba,this[_0x232498(0x1b5)]=_0x2488df;}async[_0x4e72fd(0x191)](_0x126d66,_0x4ab7b6,_0x2bcc92,..._0x4d3531){const _0x14f133=_0x4e72fd;var _0x5cb666,_0x242916,_0x5d8f37,_0x378e89;const _0x5610a3=this['_instanceService'][_0x14f133(0x268)]();if(!_0x5610a3)throw new Error(_0x14f133(0x335));const _0x1e58a4=((_0x5cb666=this[_0x14f133(0x1b5)][_0x14f133(0x357)](_0x453571))!=null?_0x5cb666:_0x56483c)+'/'+_0x126d66+_0x14f133(0x344)+_0x4ab7b6,_0x177b67=new URL(window['location'][_0x14f133(0x285)]),_0x10af80={'scriptId':_0x126d66,'runId':(_0x242916=_0x177b67[_0x14f133(0x271)]['get']('runId'))!=null?_0x242916:'','function':_0x4ab7b6,'unitId':_0x5610a3['getUnitId'](),'argsOfFunction':JSON[_0x14f133(0x1d1)](_0x4d3531),'invokeId':(_0x5d8f37=_0x2bcc92[_0x14f133(0x208)])!=null?_0x5d8f37:'','executionId':(_0x378e89=_0x2bcc92[_0x14f133(0x1ef)])!=null?_0x378e89:''};try{const _0x39c659=await this[_0x14f133(0x263)][_0x14f133(0x332)](_0x1e58a4,{'body':_0x10af80});return _0x39c659[_0x14f133(0x24e)][_0x14f133(0x2a5)]&&_0x39c659[_0x14f133(0x24e)][_0x14f133(0x2a5)]['code']!==Mt['OK']?'Failed':_0x39c659[_0x14f133(0x24e)][_0x14f133(0x194)];}catch{return _0x14f133(0x1af);}}};rt=Cn([be(0x0,_0x3de8bd),be(0x1,_0x3978bf(_0x356126)),be(0x2,_0xa39781)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Wi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
@@ -1 +1 @@
1
- const _0x186b76=_0x34bc;function _0x5eae(){const _0x37c952=['Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','1184994EWtMBE','5SbbTyl','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','74450uGciEe','Edit\x20conflicts','Connection\x20failed,\x20please\x20check\x20your\x20network.','3352uQGwah','853516pWelgF','Authentication\x20Error','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Local\x20file','Syncing...','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','1463OkzisC','682357pHsohx','1467PXEHqg','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.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','5787276cayGLI','136gvJPTg','Syncing\x20server\x20data...','32648TNuDYJ'];_0x5eae=function(){return _0x37c952;};return _0x5eae();}function _0x34bc(_0x264c57,_0x2b4e03){const _0x5eae6b=_0x5eae();return _0x34bc=function(_0x34bce4,_0x32dde4){_0x34bce4=_0x34bce4-0x19d;let _0x357d58=_0x5eae6b[_0x34bce4];return _0x357d58;},_0x34bc(_0x264c57,_0x2b4e03);}(function(_0x6eabbc,_0x446442){const _0x40044c=_0x34bc,_0xf7eb41=_0x6eabbc();while(!![]){try{const _0x1d6dd8=parseInt(_0x40044c(0x1a9))/0x1+-parseInt(_0x40044c(0x1a2))/0x2+parseInt(_0x40044c(0x1aa))/0x3*(parseInt(_0x40044c(0x1a1))/0x4)+-parseInt(_0x40044c(0x1b3))/0x5*(parseInt(_0x40044c(0x1ad))/0x6)+parseInt(_0x40044c(0x1b0))/0x7*(parseInt(_0x40044c(0x1ae))/0x8)+-parseInt(_0x40044c(0x1b2))/0x9+-parseInt(_0x40044c(0x19e))/0xa*(-parseInt(_0x40044c(0x1a8))/0xb);if(_0x1d6dd8===_0x446442)break;else _0xf7eb41['push'](_0xf7eb41['shift']());}catch(_0x12f43e){_0xf7eb41['push'](_0xf7eb41['shift']());}}}(_0x5eae,0x9beb2));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x186b76(0x1af),'conflict':_0x186b76(0x19f),'notCollab':_0x186b76(0x1a5),'synced':'Synced','syncing':_0x186b76(0x1a6),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x186b76(0x1a0),'will-retry':_0x186b76(0x1b1),'room-full':_0x186b76(0x1ac),'collaboration-timeout':_0x186b76(0x1a7)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x186b76(0x1ab)},'permission':{'title':_0x186b76(0x1a3),'content':_0x186b76(0x1a4)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x186b76(0x19d)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};export{e as default};
1
+ function _0xc994(){const _0x3f38aa=['77WZyjUY','1981428bsVZTy','Authentication\x20Error','720120ERHDrh','2040RjxeUf','11OMOgyJ','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Local\x20file','825195IkwCnD','923907YcxWFt','Synced','Collaboration\x20Conflict','Syncing\x20server\x20data...','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','2CHEhLX','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','1856aexmIa','50BEzQfS','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Edit\x20conflicts','128838oYwZjA','Click\x20to\x20Reconnect','876159lVZTxK'];_0xc994=function(){return _0x3f38aa;};return _0xc994();}function _0x4e7c(_0x4c8ec8,_0xfefe2){const _0xc99447=_0xc994();return _0x4e7c=function(_0x4e7c89,_0x5adad5){_0x4e7c89=_0x4e7c89-0x1ba;let _0x2d1059=_0xc99447[_0x4e7c89];return _0x2d1059;},_0x4e7c(_0x4c8ec8,_0xfefe2);}const _0x457fbe=_0x4e7c;(function(_0x5ad1b0,_0x346010){const _0x294997=_0x4e7c,_0x474f21=_0x5ad1b0();while(!![]){try{const _0x1678f9=-parseInt(_0x294997(0x1c7))/0x1*(parseInt(_0x294997(0x1cc))/0x2)+-parseInt(_0x294997(0x1c2))/0x3*(-parseInt(_0x294997(0x1ce))/0x4)+parseInt(_0x294997(0x1c6))/0x5+-parseInt(_0x294997(0x1bb))/0x6*(-parseInt(_0x294997(0x1be))/0x7)+parseInt(_0x294997(0x1c1))/0x8+parseInt(_0x294997(0x1bd))/0x9*(parseInt(_0x294997(0x1cf))/0xa)+-parseInt(_0x294997(0x1c3))/0xb*(-parseInt(_0x294997(0x1bf))/0xc);if(_0x1678f9===_0x346010)break;else _0x474f21['push'](_0x474f21['shift']());}catch(_0x16409a){_0x474f21['push'](_0x474f21['shift']());}}}(_0xc994,0x828d8));const e={'collab-client':{'tooltip':{'reconnect':_0x457fbe(0x1bc)}},'collabStatus':{'fetchMiss':_0x457fbe(0x1ca),'conflict':_0x457fbe(0x1ba),'notCollab':_0x457fbe(0x1c5),'synced':_0x457fbe(0x1c8),'syncing':'Syncing...','offline':_0x457fbe(0x1c4)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x457fbe(0x1c9),'content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':_0x457fbe(0x1c0),'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':_0x457fbe(0x1cb)},'closeRoom':_0x457fbe(0x1d0)},'auth':{'needGotoLoginAlert':_0x457fbe(0x1cd)}};export{e as default};
@@ -1 +1 @@
1
- function _0x215c(_0x14751b,_0x36ccbd){const _0x46f8db=_0x46f8();return _0x215c=function(_0x215c25,_0x450b87){_0x215c25=_0x215c25-0x112;let _0x2faea7=_0x46f8db[_0x215c25];return _0x2faea7;},_0x215c(_0x14751b,_0x36ccbd);}const _0x102c9b=_0x215c;(function(_0x5147aa,_0x19da60){const _0xf35881=_0x215c,_0x238d48=_0x5147aa();while(!![]){try{const _0x520f28=parseInt(_0xf35881(0x127))/0x1*(parseInt(_0xf35881(0x120))/0x2)+parseInt(_0xf35881(0x114))/0x3+parseInt(_0xf35881(0x11c))/0x4+parseInt(_0xf35881(0x117))/0x5+-parseInt(_0xf35881(0x121))/0x6+parseInt(_0xf35881(0x124))/0x7+-parseInt(_0xf35881(0x11d))/0x8*(parseInt(_0xf35881(0x11e))/0x9);if(_0x520f28===_0x19da60)break;else _0x238d48['push'](_0x238d48['shift']());}catch(_0x34de2c){_0x238d48['push'](_0x238d48['shift']());}}}(_0x46f8,0x41f22));function _0x46f8(){const _0x16d0c4=['2274024Aulcyg','پرونده\x20محلی','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','791952xFHpdS','در\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رفت.','64ydpyuO','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','تداخل\x20ویرایش','496122cLNtmC','خطای\x20اعتبارسنجی','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','1919900CXdYhD','همگام\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کنید.','521836uYDHGO','37144lmnzrX','549mDOJCb','یک\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رفت.','4356JDrXvt'];_0x46f8=function(){return _0x16d0c4;};return _0x46f8();}const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':_0x102c9b(0x128),'conflict':_0x102c9b(0x113),'notCollab':_0x102c9b(0x122),'synced':_0x102c9b(0x118),'syncing':_0x102c9b(0x125),'offline':_0x102c9b(0x11a)},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','room-full':_0x102c9b(0x119),'collaboration-timeout':_0x102c9b(0x112)},'conflict':{'title':'تداخل\x20همکاری','content':_0x102c9b(0x11f)},'permission':{'title':_0x102c9b(0x115),'content':_0x102c9b(0x126)},'collaboration':{'single-unit':{'warning':_0x102c9b(0x116)},'closeRoom':_0x102c9b(0x123)},'auth':{'needGotoLoginAlert':_0x102c9b(0x11b)}};export{o as default};
1
+ function _0x3673(){const _0x1eea5f=['894223fzTGXZ','1588dJqQTD','2049730ewJNUz','1555939OeBAon','110kSMItr','6uUqBWU','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','9ivmBOr','1xiNjKq','در\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کنید.','642441rCVcIJ','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','74104tnadjj','خطای\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ویرایش','36hZszUw','893136ytlUqB','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','همگام\x20سازی'];_0x3673=function(){return _0x1eea5f;};return _0x3673();}const _0x49f8cc=_0x273f;(function(_0x235818,_0x7d8c88){const _0x5c767c=_0x273f,_0x4bd4ab=_0x235818();while(!![]){try{const _0x4d2736=-parseInt(_0x5c767c(0x1a3))/0x1*(parseInt(_0x5c767c(0x1a8))/0x2)+-parseInt(_0x5c767c(0x1a6))/0x3+parseInt(_0x5c767c(0x19c))/0x4*(parseInt(_0x5c767c(0x19f))/0x5)+-parseInt(_0x5c767c(0x1a0))/0x6*(-parseInt(_0x5c767c(0x19e))/0x7)+parseInt(_0x5c767c(0x1b1))/0x8+parseInt(_0x5c767c(0x1a2))/0x9*(-parseInt(_0x5c767c(0x19d))/0xa)+parseInt(_0x5c767c(0x19b))/0xb*(parseInt(_0x5c767c(0x1b0))/0xc);if(_0x4d2736===_0x7d8c88)break;else _0x4bd4ab['push'](_0x4bd4ab['shift']());}catch(_0x289cdd){_0x4bd4ab['push'](_0x4bd4ab['shift']());}}}(_0x3673,0x1fd38));const o={'collab-client':{'tooltip':{'reconnect':_0x49f8cc(0x1aa)}},'collabStatus':{'fetchMiss':_0x49f8cc(0x1ae),'conflict':_0x49f8cc(0x1af),'notCollab':_0x49f8cc(0x1ad),'synced':_0x49f8cc(0x1b3),'syncing':_0x49f8cc(0x1a4),'offline':'آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'},'session':{'connection-failed':_0x49f8cc(0x1b2),'will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','room-full':'اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','collaboration-timeout':_0x49f8cc(0x1ac)},'conflict':{'title':'تداخل\x20همکاری','content':_0x49f8cc(0x1ab)},'permission':{'title':_0x49f8cc(0x1a9),'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':_0x49f8cc(0x1a5)},'closeRoom':_0x49f8cc(0x1a7)},'auth':{'needGotoLoginAlert':_0x49f8cc(0x1a1)}};function _0x273f(_0x3a468d,_0x2bf5ad){const _0x3673c1=_0x3673();return _0x273f=function(_0x273fb5,_0x4f3737){_0x273fb5=_0x273fb5-0x19b;let _0x469a16=_0x3673c1[_0x273fb5];return _0x469a16;},_0x273f(_0x3a468d,_0x2bf5ad);}export{o as default};