@univerjs-pro/collaboration-client-ui 0.7.0-nightly.202505141607 → 0.7.0

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/index.js CHANGED
@@ -1 +1 @@
1
- const _0x3d6112=_0xba75;(function(_0x3deec7,_0x4500f5){const _0x2851e4=_0xba75,_0x4102fd=_0x3deec7();while(!![]){try{const _0x3df094=parseInt(_0x2851e4(0x1f6))/0x1*(parseInt(_0x2851e4(0x1f8))/0x2)+parseInt(_0x2851e4(0x219))/0x3*(parseInt(_0x2851e4(0x1b9))/0x4)+parseInt(_0x2851e4(0x1c1))/0x5*(-parseInt(_0x2851e4(0xe4))/0x6)+-parseInt(_0x2851e4(0x1e6))/0x7*(parseInt(_0x2851e4(0x18b))/0x8)+-parseInt(_0x2851e4(0x24b))/0x9*(parseInt(_0x2851e4(0x10c))/0xa)+-parseInt(_0x2851e4(0x1dc))/0xb*(parseInt(_0x2851e4(0x1f7))/0xc)+parseInt(_0x2851e4(0x16d))/0xd;if(_0x3df094===_0x4500f5)break;else _0x4102fd['push'](_0x4102fd['shift']());}catch(_0x5ba2a5){_0x4102fd['push'](_0x4102fd['shift']());}}}(_0x8a48,0x7410a));var $t=Object['defineProperty'],xt=(_0x387582,_0x353e84,_0x3ab733)=>_0x353e84 in _0x387582?$t(_0x387582,_0x353e84,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3ab733}):_0x387582[_0x353e84]=_0x3ab733,_=(_0x52a6ed,_0x3c3326,_0x1efa2b)=>xt(_0x52a6ed,typeof _0x3c3326!='symbol'?_0x3c3326+'':_0x3c3326,_0x1efa2b);import{MemberService as _0x5a6d39,SessionStatus as _0x3638f4,CollaborationSessionService as _0x328520,CollaborationStatus as _0x2623c5,CollaborationController as _0xaf5c2f,ILocalCacheService as _0x1fd64a,CollaborationUIEventService as _0x35fc47,CollaborationUIEventId as _0x3d558c,DataLoaderService as _0x53f527,DocCollaborationEntity as _0x53f2c4,getLocalCacheKey as _0x15bc90,LOCAL_CACHE_INTERVAL as _0x37174f,LOCAL_CACHE_INTERVAL_KEY as _0x5d2009,UniverCollaborationClientPlugin as _0x43157e,CollaborationSocketService as _0x564c51,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x5de693,DEFAULT_WS_SESSION_TICKET_URL as _0x54f978,UnitStatus as _0x3ce189,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x1b51fb,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x1c8d1d}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x5b42a6,Disposable as _0x4247c1,DOC_RANGE_TYPE as _0x53b7a4,Inject as _0x377ebc,Injector as _0x18407a,IUniverInstanceService as _0x436d21,ICommandService as _0x44b6ac,debounce as _0x1e542b,Rectangle as _0x370f81,DisposableCollection as _0x1d0049,toDisposable as _0x31eaac,UniverInstanceType as _0x5eb008,Tools as _0x7a64af,COLORS as _0x683ab3,ColorKit as _0x4f87c1,ThemeService as _0x5c68ab,fromEventSubject as _0x438f83,LocaleService as _0x3a12f7,createIdentifier as _0x368a83,ILogService as _0x1bb699,Optional as _0xf1a2cb,Workbook as _0x1c502f,CommandType as _0x1245ed,IConfigService as _0x2d2e8c,ILocalStorageService as _0x37d46a,DependentOn as _0x3fce1a,Plugin as _0x32746a,merge as _0x5beda5,registerDependencies as _0x3d2f0e,mergeOverrideWithDependencies as _0x8ac12e,touchDependencies as _0x1ca206,generateRandomId as _0x4a3ad7}from'@univerjs/core';import{Shape as _0x136101,Rect as _0x1bf7c5,getColor as _0x35b1a7,RegularPolygon as _0xd54ccf,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x24fbf9,Vector2 as _0x4959ee,SHEET_VIEWPORT_KEY as _0x5ed4de,IRenderManagerService as _0x1be675}from'@univerjs/engine-render';import{ISocketService as _0x22f0b6,WebSocketService as _0x3f9aec,HTTPService as _0x5229c9}from'@univerjs/network';import{IDocClipboardService as _0xec2e55,NodePositionConvertToCursor as _0x5235e8,NodePositionConvertToRectRange as _0x1479c6,TEXT_RANGE_LAYER_INDEX as _0x2a3be8,SetDocZoomRatioOperation as _0x29ce9a,DocIMEInputManagerService as _0x5d4131,DocStateChangeManagerService as _0x29c109}from'@univerjs/docs-ui';import{IImageIoService as _0x3a1d2c}from'@univerjs/drawing';import{BehaviorSubject as _0x5c61df,debounceTime as _0x30c296,takeUntil as _0x972255,Subject as _0x251050,filter as _0x39a0fd,switchMap as _0x4bddf2,merge as _0x42d744,combineLatest as _0x222edd,of as _0x4d0dc1,fromEvent as _0x5431f8,shareReplay as _0x1444bd,mapTo as _0x36569d,distinctUntilChanged as _0x484b49}from'rxjs';import{SetTextSelectionsOperation as _0x5331e6,RichTextEditingMutation as _0x20fe79,DocSelectionManagerService as _0x26f622,DocSkeletonManagerService as _0x422ab9}from'@univerjs/docs';import{ITransformService as _0x4161cd,CollaborationEvent as _0xf9e934,isTransformMutationFailure as _0x1c1a14,isTransformMutationsWithChangesetSuccess as _0x43ef65,RevisionService as _0x560d08,ISnapshotServerService as _0x5434b9}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x525acb,serializeRangeWithSheet as _0x2f3b51}from'@univerjs/engine-formula';import{RefRangeService as _0x3e2d86,SetSelectionsOperation as _0x293b88,SheetsSelectionsService as _0x2cecbb,EffectRefRangId as _0x24ea6a,handleIRemoveRow as _0x27a93b,handleIRemoveCol as _0x3e5535,handleMoveRange as _0x1e2860,handleInsertRow as _0x163d93,handleInsertRangeMoveRight as _0x3d15dc,handleInsertRangeMoveDown as _0x310ec3,handleInsertCol as _0x2e7a9d,handleDeleteRangeMoveUp as _0x35e492,handleDeleteRangeMoveLeft as _0x2bd2bd,runRefRangeMutations as _0x485e03,SetWorksheetActivateCommand as _0x11858c}from'@univerjs/sheets';import{map as _0x175771,filter as _0x419324,throttleTime as _0x133089,takeUntil as _0x7c48e4,switchMap as _0x5ef9b7}from'rxjs/operators';import{SheetSkeletonManagerService as _0x411135,getCoordByCell as _0x44fd03,getSheetObject as _0x4d69f5}from'@univerjs/sheets-ui';import{jsx as _0x234927,jsxs as _0x3e1077}from'react/jsx-runtime';import{useObservable as _0x2c5955,useDependency as _0x3b18fa,IUIPartsService as _0x552950,BuiltInUIPart as _0xf598a1,connectInjector as _0x37825b,IBeforeCloseService as _0x31ff70,IMessageService as _0x2c7eb3,INotificationService as _0x57ba6d}from'@univerjs/ui';import{Tooltip as _0x1db6c5,clsx as _0x437ed7,MessageType as _0x54d06f}from'@univerjs/design';import{forwardRef as _0x10e9ab,useRef as _0x238a25,createElement as _0x571cf1,useCallback as _0xd3b2d5}from'react';import{IRemoteInstanceService as _0x21401e}from'@univerjs/rpc';var ci=Object[_0x3d6112(0xad)],li=(_0xbfb0d7,_0x3af9da,_0x3726d7,_0x4d7c57)=>{const _0x14c69e=_0x3d6112;for(var _0x443521=_0x4d7c57>0x1?void 0x0:_0x4d7c57?ci(_0x3af9da,_0x3726d7):_0x3af9da,_0x23046e=_0xbfb0d7[_0x14c69e(0x1e9)]-0x1,_0x529df4;_0x23046e>=0x0;_0x23046e--)(_0x529df4=_0xbfb0d7[_0x23046e])&&(_0x443521=_0x529df4(_0x443521)||_0x443521);return _0x443521;},Je=(_0x6e84a8,_0x386f9e)=>(_0x5a7eb2,_0x36a56a)=>_0x386f9e(_0x5a7eb2,_0x36a56a,_0x6e84a8);function _0xba75(_0x22f897,_0x10ede1){const _0x8a48bd=_0x8a48();return _0xba75=function(_0xba7515,_0x57f216){_0xba7515=_0xba7515-0x7c;let _0x149515=_0x8a48bd[_0xba7515];return _0x149515;},_0xba75(_0x22f897,_0x10ede1);}let Ne=class extends _0x5b42a6{constructor(_0x1c3529,_0x5e9f2b){const _0x5092d3=_0x3d6112;super(),this[_0x5092d3(0x16f)]=_0x1c3529,this[_0x5092d3(0x265)]=_0x5e9f2b,this[_0x5092d3(0x170)]();}['_init'](){const _0x5a95cf=_0x3d6112,_0x524694=this;this[_0x5a95cf(0x121)](this[_0x5a95cf(0x16f)]['addClipboardHook']({'onBeforePasteImage':async _0x4ec6d4=>{const _0x217437=_0x5a95cf,_0x371319=await _0x524694['_imageIoService']['saveImage'](_0x4ec6d4);return _0x371319?{'source':_0x371319[_0x217437(0x25f)],'imageSourceType':_0x371319[_0x217437(0xce)]}:null;}}));}};Ne=li([Je(0x0,_0xec2e55),Je(0x1,_0x3a1d2c)],Ne);const Ze=['purple.300',_0x3d6112(0x85),_0x3d6112(0x1aa),_0x3d6112(0x229),_0x3d6112(0x134),'yellow.400'];class ke extends _0x4247c1{constructor(){const _0x190cdf=_0x3d6112;super(...arguments),_(this,_0x190cdf(0xd7),new Map()),_(this,_0x190cdf(0x234),0x0);}['assignAColorForMemberID'](_0x58efe5){const _0x25b3bb=_0x3d6112;if(this[_0x25b3bb(0xd7)][_0x25b3bb(0x174)](_0x58efe5))return this['_assignedColors'][_0x25b3bb(0xd8)](_0x58efe5);const _0x554db4=Ze[this[_0x25b3bb(0x234)]];return this['_colorIndex']=(this[_0x25b3bb(0x234)]+0x1)%Ze['length'],this['_assignedColors'][_0x25b3bb(0x12b)](_0x58efe5,_0x554db4),_0x554db4;}}function Tt(_0x589a94){const _0x1a150e=_0x3d6112;let _0x10264c='';for(const _0x5e2fea of _0x589a94){const {startOffset:_0x2e85d9,endOffset:_0x1529e4,isActive:_0x38b385,rangeType:_0x37a78b,segmentId:_0x118f4f,segmentPage:_0x2feda9}=_0x5e2fea;_0x10264c[_0x1a150e(0x1e9)]&&(_0x10264c+=','),_0x10264c+=_0x2e85d9+':'+_0x1529e4+':'+(_0x38b385?'1':'0')+':'+_0x37a78b+':'+_0x118f4f+':'+_0x2feda9;}return _0x10264c;}function _i(_0x3c2be5){const _0x55ff69=_0x3d6112,_0x2f6eaa=_0x3c2be5[_0x55ff69(0x173)](','),_0x52c98c=[];for(const _0x1e61c5 of _0x2f6eaa){const [_0x36030b,_0x4f8182,_0x3735ea,_0x15c195,_0x2357c6,_0x17fb29]=_0x1e61c5[_0x55ff69(0x173)](':');_0x52c98c[_0x55ff69(0x112)]({'startOffset':Number(_0x36030b),'endOffset':Number(_0x4f8182),'collapsed':_0x36030b===_0x4f8182,'isActive':_0x3735ea==='1','rangeType':_0x15c195===_0x53b7a4['TEXT']?_0x53b7a4[_0x55ff69(0x105)]:_0x53b7a4[_0x55ff69(0x24c)],'segmentId':typeof _0x2357c6==_0x55ff69(0x215)?String(_0x2357c6):'','segmentPage':Number(_0x17fb29!=null?_0x17fb29:-0x1)});}return _0x52c98c[_0x55ff69(0xba)](_0x3bab18=>_0x3bab18[_0x55ff69(0x266)])||(_0x52c98c[0x0][_0x55ff69(0x266)]=!0x0),_0x52c98c;}class He extends _0x5b42a6{constructor(){const _0x5d6b60=_0x3d6112;super(...arguments),_(this,_0x5d6b60(0xd1),new _0x5c61df(null)),_(this,_0x5d6b60(0x255),this[_0x5d6b60(0xd1)]['asObservable']());}[_0x3d6112(0x193)](_0x2856fe){const _0x361dea=_0x3d6112,{unitID:_0xc61ee5,memberID:_0x4d83ec,textRanges:_0x15191e}=_0x2856fe,_0xb0aa70=Tt(_0x15191e);if(_0xb0aa70==='')return;const _0x44cbd1={'unitID':_0xc61ee5,'memberID':_0x4d83ec,'selection':_0xb0aa70};this[_0x361dea(0xd1)][_0x361dea(0x260)](_0x44cbd1);}}var hi=Object[_0x3d6112(0xad)],ui=(_0x2bf694,_0x199756,_0x3221e0,_0x45a9fc)=>{const _0x1fa249=_0x3d6112;for(var _0x3b042b=_0x45a9fc>0x1?void 0x0:_0x45a9fc?hi(_0x199756,_0x3221e0):_0x199756,_0x37a970=_0x2bf694[_0x1fa249(0x1e9)]-0x1,_0x473cdd;_0x37a970>=0x0;_0x37a970--)(_0x473cdd=_0x2bf694[_0x37a970])&&(_0x3b042b=_0x473cdd(_0x3b042b)||_0x3b042b);return _0x3b042b;},L=(_0x169cc4,_0x3550aa)=>(_0x51de7f,_0x423764)=>_0x3550aa(_0x51de7f,_0x423764,_0x169cc4);const di=0x12c,fi=0x64;let Ue=class extends _0x5b42a6{constructor(_0x4f3cfe,_0x2ccf81,_0x35e665,_0x5c6f4e,_0x102771,_0x2b7a6f,_0x21b3e5,_0x244809,_0x5d6545){const _0x2921cc=_0x3d6112;super(),_(this,_0x2921cc(0x19e),!0x1),_(this,'_init',!0x1),_(this,_0x2921cc(0xa2),new _0x5c61df(new Map())),_(this,_0x2921cc(0x26d),this['_cursorInfo$'][_0x2921cc(0x1b2)]()),_(this,_0x2921cc(0x1c6),new _0x5c61df([])),_(this,_0x2921cc(0xe6),this[_0x2921cc(0x1c6)][_0x2921cc(0x1b4)](_0x30c296(di))),_(this,_0x2921cc(0x92),_0x1e542b(_0x39d854=>{const _0x93e4dd=_0x2921cc,_0x3999c7={'eventID':_0xf9e934[_0x93e4dd(0x1d8)],'data':{'unitID':this[_0x93e4dd(0x155)],'memberID':this[_0x93e4dd(0x204)][_0x93e4dd(0x95)](),'selection':Tt(_0x39d854)}};this[_0x93e4dd(0x204)]['send'](_0x3999c7,this[_0x93e4dd(0x155)]);},fi)),(this[_0x2921cc(0x155)]=_0x4f3cfe,this['_session']=_0x2ccf81,this[_0x2921cc(0xe5)]=_0x35e665,this['_colorAssignService']=_0x5c6f4e,this['_memberService']=_0x102771,this[_0x2921cc(0x1df)]=_0x2b7a6f,this[_0x2921cc(0xb5)]=_0x21b3e5,this['_univerInstanceService']=_0x244809,this[_0x2921cc(0xf1)]=_0x5d6545);}get['cursorInfo'](){const _0x2dbf10=_0x3d6112;return this[_0x2dbf10(0xa2)][_0x2dbf10(0xa3)]();}get[_0x3d6112(0x209)](){const _0xdcaa0b=_0x3d6112;return this['_roomMembers$'][_0xdcaa0b(0xa3)]();}[_0x3d6112(0xa7)](){const _0x4806d9=_0x3d6112;super[_0x4806d9(0xa7)](),this[_0x4806d9(0xa2)][_0x4806d9(0x260)](new Map()),this[_0x4806d9(0xa2)][_0x4806d9(0x26b)](),this[_0x4806d9(0x1c6)][_0x4806d9(0x260)]([]),this['_roomMembers$'][_0x4806d9(0x26b)]();}[_0x3d6112(0x180)](){const _0x1d450c=_0x3d6112;this[_0x1d450c(0x170)]||(this[_0x1d450c(0x170)]=!0x0,this[_0x1d450c(0x204)][_0x1d450c(0xa6)]['pipe'](_0x972255(this[_0x1d450c(0x1ba)]))['subscribe'](_0x48bda=>{const _0x554a6d=_0x1d450c;_0x48bda===_0x3638f4[_0x554a6d(0x15c)]?this['_toggleOnline']():this[_0x554a6d(0xf2)]();}),this[_0x1d450c(0x204)][_0x1d450c(0x1da)][_0x1d450c(0x1b4)](_0x972255(this['dispose$']))[_0x1d450c(0xf5)](_0x1f5a28=>{const _0x5cc240=_0x1d450c,_0x56d12b=_0x1f5a28[_0x5cc240(0x20c)];_0x56d12b===_0xf9e934[_0x5cc240(0x1d8)]&&this[_0x5cc240(0x91)](_0x1f5a28),_0x56d12b===_0xf9e934[_0x5cc240(0x17c)]&&this[_0x5cc240(0x189)](_0x1f5a28);}),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x270094=>{const _0x3d04b2=_0x1d450c,_0xffd941=_0x270094[_0x3d04b2(0x96)];_0xffd941!=null&&this['_online']&&_0x270094['id']===_0x5331e6['id']&&_0xffd941['unitId']===this['unitID']&&_0xffd941[_0x3d04b2(0xdf)]===!0x1&&_0xffd941[_0x3d04b2(0x227)]['length']>0x0&&this['_updateLocalCursor'](_0xffd941[_0x3d04b2(0x227)]);})),this[_0x1d450c(0x1df)][_0x1d450c(0x255)][_0x1d450c(0x1b4)](_0x972255(this[_0x1d450c(0x1ba)]))[_0x1d450c(0xf5)](_0x4e839d=>{const _0x435ab2=_0x1d450c;if((_0x4e839d==null?void 0x0:_0x4e839d[_0x435ab2(0x155)])!==this[_0x435ab2(0x155)])return;const _0xd3eb8e={'eventID':_0xf9e934[_0x435ab2(0x1d8)],'data':_0x4e839d};this[_0x435ab2(0x91)](_0xd3eb8e);}),this[_0x1d450c(0x121)](this[_0x1d450c(0xf1)][_0x1d450c(0x258)](_0x36c2ec=>{const _0xd060dd=_0x1d450c;if(_0x36c2ec['params']==null)return;const _0x5afab1=_0x36c2ec[_0xd060dd(0x96)];if(_0x36c2ec['id']!==_0x20fe79['id']||_0x5afab1['unitId']!==this[_0xd060dd(0x155)])return;const _0x5b2a2f={'id':_0xd060dd(0x1b8),'params':_0x5afab1},_0x41dda6=this['cursorInfo'];for(const [_0x539981,_0x51a4c7]of _0x41dda6){const _0x2543b0={'id':_0xd060dd(0x1b8),'params':{'unitId':this[_0xd060dd(0x155)],'actions':null,'textRanges':_0x51a4c7[_0xd060dd(0x227)]}},_0x1f3f20=this[_0xd060dd(0xb5)][_0xd060dd(0x1fb)](_0x5b2a2f,_0x2543b0,!0x1);if(_0x1c1a14(_0x1f3f20))throw _0x1f3f20[_0xd060dd(0xa5)];_0x41dda6[_0xd060dd(0x12b)](_0x539981,{..._0x51a4c7,'ranges':_0x1f3f20['m2Prime'][_0xd060dd(0x96)][_0xd060dd(0x151)]});}queueMicrotask(()=>{const _0x53fbb4=_0xd060dd;this['_cursorInfo$'][_0x53fbb4(0x260)](_0x41dda6);});})));}[_0x3d6112(0x91)](_0x584079){const _0x3a27=_0x3d6112;var _0xe94f8c,_0x2053c7;const {memberID:_0x11a6df,selection:_0x5e9023}=_0x584079[_0x3a27(0x276)],_0xd22b48=_i(_0x5e9023),_0x1d77fd=(_0x2053c7=(_0xe94f8c=this[_0x3a27(0x25e)][_0x3a27(0x247)](this[_0x3a27(0x155)],_0x11a6df))==null?void 0x0:_0xe94f8c[_0x3a27(0xac)])!=null?_0x2053c7:_0x3a27(0x1cf),_0x30876a={'color':this[_0x3a27(0x1cb)][_0x3a27(0x241)](_0x11a6df),'name':_0x1d77fd,'ranges':_0xd22b48},_0x163e99=this[_0x3a27(0x139)];_0x163e99[_0x3a27(0x12b)](_0x11a6df,_0x30876a),this[_0x3a27(0xa2)][_0x3a27(0x260)](_0x163e99);}[_0x3d6112(0x189)](_0x3fa867){const _0x569f0f=_0x3d6112,{memberID:_0x1784fb}=_0x3fa867[_0x569f0f(0x276)],_0x33b675=this['cursorInfo'];_0x33b675[_0x569f0f(0x22f)](_0x1784fb),this[_0x569f0f(0xa2)][_0x569f0f(0x260)](_0x33b675);}[_0x3d6112(0x13b)](){const _0x4c3e05=_0x3d6112;var _0x2a04f3;if(this[_0x4c3e05(0x19e)]=!0x0,((_0x2a04f3=this[_0x4c3e05(0x168)][_0x4c3e05(0x221)]())==null?void 0x0:_0x2a04f3[_0x4c3e05(0x10d)]())!==this[_0x4c3e05(0x155)])return;const _0x58df06=this[_0x4c3e05(0xe5)][_0x4c3e05(0xd8)](_0x26f622)['getDocRanges']();Array['isArray'](_0x58df06)&&_0x58df06[_0x4c3e05(0x1e9)]>0x0&&this['_updateLocalCursor'](_0x58df06);}['_toggleOffline'](){this['_online']=!0x1;}};Ue=ui([L(0x2,_0x377ebc(_0x18407a)),L(0x3,_0x377ebc(ke)),L(0x4,_0x377ebc(_0x5a6d39)),L(0x5,_0x377ebc(He)),L(0x6,_0x4161cd),L(0x7,_0x436d21),L(0x8,_0x44b6ac)],Ue);var Si=Object[_0x3d6112(0xad)],mi=(_0x4bcacb,_0x464faf,_0x70856b,_0x39ae15)=>{for(var _0x4603ef=_0x39ae15>0x1?void 0x0:_0x39ae15?Si(_0x464faf,_0x70856b):_0x464faf,_0x42e5e0=_0x4bcacb['length']-0x1,_0x167794;_0x42e5e0>=0x0;_0x42e5e0--)(_0x167794=_0x4bcacb[_0x42e5e0])&&(_0x4603ef=_0x167794(_0x4603ef)||_0x4603ef);return _0x4603ef;},x=(_0x4e4ed8,_0x3b5b42)=>(_0x440d63,_0x3fac6a)=>_0x3b5b42(_0x440d63,_0x3fac6a,_0x4e4ed8);const gi=0x12c,Ii=0x64,vi=()=>{let _0x25d20e=[],_0x54c9ec=!0x1;return _0x55b4c1=>{const _0x4f3ae4=_0xba75;_0x25d20e[_0x4f3ae4(0x112)](_0x55b4c1),_0x54c9ec||(_0x54c9ec=!0x0,setTimeout(()=>{const _0x20154f=_0x4f3ae4;_0x25d20e[_0x20154f(0xf7)](_0x13dd6c=>_0x13dd6c()),_0x25d20e=[],_0x54c9ec=!0x1;}));};};let Me=class extends _0x5b42a6{constructor(_0x1a9a86,_0x1dbaa4,_0x27630e,_0x3b8647,_0x42438d,_0x1b1b4b,_0x483faf,_0x1bc5d7){const _0x14bf23=_0x3d6112;super(),_(this,_0x14bf23(0x19e),!0x1),_(this,_0x14bf23(0x170),!0x1),_(this,_0x14bf23(0xa2),new _0x5c61df(new Map())),_(this,_0x14bf23(0x26d),this['_cursorInfo$'][_0x14bf23(0x1b2)]()),_(this,_0x14bf23(0x1c6),new _0x5c61df([])),_(this,'roomMembers$',this[_0x14bf23(0x1c6)]['pipe'](_0x30c296(gi))),_(this,_0x14bf23(0x92),_0x1e542b((_0x4d8491,_0x475a44)=>{const _0x580ff2=_0x14bf23,_0xe352eb={'eventID':_0xf9e934[_0x580ff2(0x1d8)],'data':{'unitID':this[_0x580ff2(0x155)],'memberID':this[_0x580ff2(0x204)][_0x580ff2(0x95)](),'selection':_0x2f3b51(_0x4d8491,_0x475a44[_0x580ff2(0x13d)])}};this['_session'][_0x580ff2(0x129)](_0xe352eb,this[_0x580ff2(0x155)]);},Ii)),(this[_0x14bf23(0x155)]=_0x1a9a86,this[_0x14bf23(0x204)]=_0x1dbaa4,this[_0x14bf23(0xe5)]=_0x27630e,this['_colorAssignService']=_0x3b8647,this[_0x14bf23(0x25e)]=_0x42438d,this['_univerInstanceService']=_0x1b1b4b,this[_0x14bf23(0xf1)]=_0x483faf,this['_refRangeService']=_0x1bc5d7);}get[_0x3d6112(0x139)](){const _0x21c76b=_0x3d6112;return this[_0x21c76b(0xa2)][_0x21c76b(0xa3)]();}get['roomMembers'](){return this['_roomMembers$']['getValue']();}[_0x3d6112(0xa7)](){const _0x45a9c5=_0x3d6112;super['dispose'](),this[_0x45a9c5(0xa2)][_0x45a9c5(0x260)](new Map()),this[_0x45a9c5(0xa2)][_0x45a9c5(0x26b)](),this[_0x45a9c5(0x1c6)]['next']([]),this[_0x45a9c5(0x1c6)][_0x45a9c5(0x26b)]();}[_0x3d6112(0x180)](){const _0x22ac7b=_0x3d6112;this[_0x22ac7b(0x170)]||(this[_0x22ac7b(0x170)]=!0x0,this[_0x22ac7b(0x204)][_0x22ac7b(0xa6)]['pipe'](_0x972255(this[_0x22ac7b(0x1ba)]))['subscribe'](_0x4afa8a=>{const _0x5dcdaa=_0x22ac7b;_0x4afa8a===_0x3638f4['ONLINE']?this['_toggleOnline']():this[_0x5dcdaa(0xf2)]();}),this[_0x22ac7b(0x204)]['event$'][_0x22ac7b(0x1b4)](_0x972255(this[_0x22ac7b(0x1ba)]))[_0x22ac7b(0xf5)](_0x1e4cf7=>{const _0x573681=_0x22ac7b,_0x10aa2a=_0x1e4cf7[_0x573681(0x20c)];_0x10aa2a===_0xf9e934['UPDATE_CURSOR']&&this[_0x573681(0x91)](_0x1e4cf7),_0x10aa2a===_0xf9e934[_0x573681(0x17c)]&&this[_0x573681(0x189)](_0x1e4cf7);}),this[_0x22ac7b(0x238)](),this[_0x22ac7b(0x121)](this['_commandService'][_0x22ac7b(0x258)](_0x543639=>{const _0x23bffe=_0x22ac7b;if(this[_0x23bffe(0x19e)]&&_0x543639['id']===_0x293b88['id']&&_0x543639[_0x23bffe(0x96)][_0x23bffe(0x9f)]===this[_0x23bffe(0x155)]){const _0xfb9eb8=_0x543639[_0x23bffe(0x96)];this['_updateLocalCursor'](_0xfb9eb8[_0x23bffe(0x142)],_0xfb9eb8[_0x23bffe(0x111)][0x0]);}})));}[_0x3d6112(0x91)](_0x209952){const _0x3ea290=_0x3d6112;var _0x322d6d,_0x347c00;const {memberID:_0x494ef6,selection:_0x68ed5}=_0x209952[_0x3ea290(0x276)],{sheetName:_0x3a2df7,range:_0x27859c}=_0x525acb(_0x68ed5),_0x2273d4={'name':(_0x347c00=(_0x322d6d=this['_memberService'][_0x3ea290(0x247)](this[_0x3ea290(0x155)],_0x494ef6))==null?void 0x0:_0x322d6d[_0x3ea290(0xac)])!=null?_0x347c00:_0x3ea290(0x1cf),'range':this['_getMergeRange'](_0x3a2df7,_0x27859c),'sheetID':_0x3a2df7,'color':this[_0x3ea290(0x1cb)]['assignAColorForMemberID'](_0x494ef6),'selection':_0x68ed5},_0x3bc4a0=this[_0x3ea290(0x139)];_0x3bc4a0[_0x3ea290(0x12b)](_0x494ef6,_0x2273d4),this[_0x3ea290(0xa2)][_0x3ea290(0x260)](_0x3bc4a0);}[_0x3d6112(0x189)](_0x1cf2b1){const _0x3ac9ab=_0x3d6112,{memberID:_0x439ca9}=_0x1cf2b1[_0x3ac9ab(0x276)],_0x2f68f3=this[_0x3ac9ab(0x139)];_0x2f68f3[_0x3ac9ab(0x22f)](_0x439ca9),this[_0x3ac9ab(0xa2)][_0x3ac9ab(0x260)](_0x2f68f3);}['_getMergeRange'](_0x41abe8,_0x49cae2){const _0xfc8956=_0x3d6112;var _0x1b0ed6,_0x3b064a;const _0x533083=(_0x3b064a=(_0x1b0ed6=this['_univerInstanceService']['getUniverSheetInstance'](this[_0xfc8956(0x155)]))==null?void 0x0:_0x1b0ed6['getSheetBySheetId'](_0x41abe8))==null?void 0x0:_0x3b064a['getMergeData']();return(_0x533083==null?void 0x0:_0x533083[_0xfc8956(0xc6)](_0x141a74=>_0x370f81[_0xfc8956(0x18c)](_0x141a74,_0x49cae2)))||_0x49cae2;}[_0x3d6112(0x238)](){const _0x497867=_0x3d6112,_0x16fed3=new _0x1d0049(),_0x1c01cc=vi(),_0x37feb8=()=>{const _0x4c7301=_0xba75;_0x16fed3[_0x4c7301(0xa7)]();const _0x1a1bd9=(_0xfbffee,_0x31ab7e,_0x161bee,_0x2ee0e6)=>{const _0x588417=_0x4c7301;let _0x42eaeb=[];switch(_0xfbffee['id']){case _0x24ea6a['DeleteRangeMoveLeftCommandId']:{_0x42eaeb=_0x2bd2bd(_0xfbffee,_0x2ee0e6);break;}case _0x24ea6a[_0x588417(0x1b5)]:{_0x42eaeb=_0x35e492(_0xfbffee,_0x2ee0e6);break;}case _0x24ea6a[_0x588417(0x1a8)]:{_0x42eaeb=_0x2e7a9d(_0xfbffee,_0x2ee0e6);break;}case _0x24ea6a[_0x588417(0x1b0)]:{_0x42eaeb=_0x310ec3(_0xfbffee,_0x2ee0e6);break;}case _0x24ea6a[_0x588417(0x253)]:{_0x42eaeb=_0x3d15dc(_0xfbffee,_0x2ee0e6);break;}case _0x24ea6a['InsertRowCommandId']:{_0x42eaeb=_0x163d93(_0xfbffee,_0x2ee0e6);break;}case _0x24ea6a[_0x588417(0x110)]:{_0x42eaeb=_0x1e2860(_0xfbffee,_0x2ee0e6);break;}case _0x24ea6a['RemoveColCommandId']:{_0x42eaeb=_0x3e5535(_0xfbffee,_0x2ee0e6);break;}case _0x24ea6a[_0x588417(0xf6)]:{_0x42eaeb=_0x27a93b(_0xfbffee,_0x2ee0e6);break;}}const _0x3dcec6=_0x485e03(_0x42eaeb,_0x2ee0e6),_0x2664cf=this[_0x588417(0x139)][_0x588417(0xd8)](_0x31ab7e);if(_0x2664cf&&_0x3dcec6){const _0x355ce7={..._0x2664cf,'range':_0x3dcec6};this['cursorInfo'][_0x588417(0x12b)](_0x31ab7e,_0x355ce7),_0x1c01cc(()=>{const _0x5868d4=_0x588417,_0x57d406=this['_refRangeService']['registerRefRange'](_0x3dcec6,_0x1e9e2a=>(_0x57d406[_0x5868d4(0xa7)](),_0x1a1bd9(_0x1e9e2a,_0x31ab7e,_0x161bee,_0x3dcec6)));_0x16fed3[_0x5868d4(0x1c3)](_0x57d406);});}return{'redos':[],'undos':[]};};this[_0x4c7301(0x139)][_0x4c7301(0xf7)]((_0x24b94f,_0x1f7011)=>{const _0x24725e=_0x4c7301,{range:_0x3ae751,sheetID:_0x242eb5}=_0x24b94f,_0x2cc8c8=this['_refRangeService'][_0x24725e(0xde)](_0x3ae751,_0x4ca93d=>(_0x2cc8c8['dispose'](),_0x1a1bd9(_0x4ca93d,_0x1f7011,_0x242eb5,_0x3ae751)));_0x16fed3[_0x24725e(0x1c3)](_0x2cc8c8);});};this['disposeWithMe'](_0x31eaac(this[_0x497867(0xa2)]['subscribe'](()=>{_0x37feb8();})));}[_0x3d6112(0x13b)](){const _0x4fbeca=_0x3d6112;var _0x40fe7c,_0x47e3c1;if(this[_0x4fbeca(0x19e)]=!0x0,((_0x40fe7c=this[_0x4fbeca(0x168)][_0x4fbeca(0x221)]())==null?void 0x0:_0x40fe7c['getUnitId']())!==this[_0x4fbeca(0x155)])return;const _0x1427ad=(_0x47e3c1=this[_0x4fbeca(0xe5)]['get'](_0x2cecbb)[_0x4fbeca(0x98)]())==null?void 0x0:_0x47e3c1[0x0],_0xc8c461=this[_0x4fbeca(0x168)][_0x4fbeca(0x156)](_0x5eb008[_0x4fbeca(0x1bb)])[_0x4fbeca(0x143)]();_0x1427ad&&_0xc8c461&&this[_0x4fbeca(0x92)](_0xc8c461[_0x4fbeca(0x271)](),_0x1427ad);}[_0x3d6112(0xf2)](){this['_online']=!0x1;}};Me=mi([x(0x2,_0x377ebc(_0x18407a)),x(0x3,_0x377ebc(ke)),x(0x4,_0x377ebc(_0x5a6d39)),x(0x5,_0x436d21),x(0x6,_0x44b6ac),x(0x7,_0x377ebc(_0x3e2d86))],Me);var pi=Object[_0x3d6112(0xad)],Ci=(_0xeddfe9,_0x4543d7,_0x32c1c6,_0x231726)=>{const _0xab2ceb=_0x3d6112;for(var _0x3e48da=_0x231726>0x1?void 0x0:_0x231726?pi(_0x4543d7,_0x32c1c6):_0x4543d7,_0x485054=_0xeddfe9[_0xab2ceb(0x1e9)]-0x1,_0x1931ae;_0x485054>=0x0;_0x485054--)(_0x1931ae=_0xeddfe9[_0x485054])&&(_0x3e48da=_0x1931ae(_0x3e48da)||_0x3e48da);return _0x3e48da;},Se=(_0x9969b8,_0x2e632f)=>(_0x3d9890,_0x4bb333)=>_0x2e632f(_0x3d9890,_0x4bb333,_0x9969b8);let H=class extends _0x5b42a6{constructor(_0x21d552,_0x391dd7,_0x2cf508){const _0x191f72=_0x3d6112;super(),_(this,'_entities',new Map()),_(this,_0x191f72(0x19f),new _0x251050()),(this[_0x191f72(0x168)]=_0x21d552,this[_0x191f72(0xe5)]=_0x391dd7,this[_0x191f72(0x166)]=_0x2cf508,this[_0x191f72(0x170)]());}['dispose'](){const _0x5ec59c=_0x3d6112;super[_0x5ec59c(0xa7)](),this[_0x5ec59c(0x19f)][_0x5ec59c(0x26b)](),this[_0x5ec59c(0x100)][_0x5ec59c(0xf7)](_0x3a495d=>_0x3a495d[_0x5ec59c(0xa7)]());}[_0x3d6112(0x26c)](_0x448e4c){const _0x4b9996=_0x3d6112;return this['_entities']['has'](_0x448e4c)?this[_0x4b9996(0x100)][_0x4b9996(0xd8)](_0x448e4c)[_0x4b9996(0x26d)]:this[_0x4b9996(0x19f)]['pipe'](_0x39a0fd(_0x30aa06=>_0x30aa06[_0x4b9996(0x155)]===_0x448e4c),_0x4bddf2(_0x98e67b=>_0x98e67b['cursorInfo$']));}[_0x3d6112(0x170)](){const _0x343c63=_0x3d6112;this[_0x343c63(0x168)]['getTypeOfUnitAdded$'](_0x5eb008[_0x343c63(0x1bb)])['pipe'](_0x972255(this['dispose$']))[_0x343c63(0xf5)](async _0x2f251b=>{const _0x73c1f0=_0x343c63,_0x4918ef=_0x2f251b[_0x73c1f0(0x10d)](),_0x166e3a=await this[_0x73c1f0(0x153)](_0x4918ef);this[_0x73c1f0(0x19f)][_0x73c1f0(0x260)](_0x166e3a),this['_entities']['set'](_0x4918ef,_0x166e3a);}),this['_univerInstanceService'][_0x343c63(0x1e8)](_0x5eb008[_0x343c63(0x115)])[_0x343c63(0x1b4)](_0x972255(this[_0x343c63(0x1ba)]))[_0x343c63(0x1b4)](_0x39a0fd(_0x22243a=>!_0x22243a[_0x343c63(0x10d)]()[_0x343c63(0xcc)]('__')))[_0x343c63(0xf5)](async _0xbfd3c4=>{const _0x3374f5=_0x343c63,_0x20348b=_0xbfd3c4[_0x3374f5(0x10d)](),_0x256703=await this[_0x3374f5(0xfc)](_0x20348b);this[_0x3374f5(0x19f)][_0x3374f5(0x260)](_0x256703),this[_0x3374f5(0x100)][_0x3374f5(0x12b)](_0x20348b,_0x256703);}),_0x42d744(this[_0x343c63(0x168)][_0x343c63(0x257)](_0x5eb008['UNIVER_DOC']),this[_0x343c63(0x168)]['getTypeOfUnitDisposed$'](_0x5eb008['UNIVER_SHEET']))[_0x343c63(0x1b4)](_0x972255(this[_0x343c63(0x1ba)]))[_0x343c63(0xf5)](_0x114dad=>{const _0x36c5a5=_0x343c63,_0xd93744=_0x114dad[_0x36c5a5(0x10d)](),_0x3c039a=this[_0x36c5a5(0x100)]['get'](_0xd93744);_0x3c039a&&(_0x3c039a[_0x36c5a5(0xa7)](),this[_0x36c5a5(0x100)]['delete'](_0xd93744));});}async['_startSheetCollabCursor'](_0x546cae){const _0x525595=_0x3d6112,_0x4cbe80=await this[_0x525595(0x166)][_0x525595(0x192)](_0x546cae),_0x4bf61f=this['_injector']['createInstance'](Me,_0x546cae,_0x4cbe80);return _0x4bf61f['init'](),_0x4bf61f;}async[_0x3d6112(0xfc)](_0x2f9222){const _0x506143=_0x3d6112,_0x2c0865=await this['_collabSessionService']['requireSession'](_0x2f9222),_0x27f603=this['_injector'][_0x506143(0xd0)](Ue,_0x2f9222,_0x2c0865);return _0x27f603[_0x506143(0x180)](),_0x27f603;}};H=Ci([Se(0x0,_0x436d21),Se(0x1,_0x377ebc(_0x18407a)),Se(0x2,_0x377ebc(_0x328520))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x1f9ba5,_0x5a896e){const _0x3dad74=_0x3d6112;let {radius:_0x2234c4,width:_0x204214,height:_0x1cb470}=_0x5a896e;_0x2234c4=_0x2234c4!=null?_0x2234c4:0x0,_0x204214=_0x204214!=null?_0x204214:0x1e,_0x1cb470=_0x1cb470!=null?_0x1cb470:0x1e;let _0x55d6e0=0x0,_0x232780=0x0,_0x26102e=0x0;_0x55d6e0=_0x232780=_0x26102e=Math['min'](_0x2234c4,_0x204214/0x2,_0x1cb470/0x2),_0x1f9ba5['beginPath'](),_0x1f9ba5[_0x3dad74(0x11b)](_0x55d6e0,0x0),_0x1f9ba5['lineTo'](_0x204214-_0x232780,0x0),_0x1f9ba5[_0x3dad74(0x12e)](_0x204214-_0x232780,_0x232780,_0x232780,Math['PI']*0x3/0x2,0x0,!0x1),_0x1f9ba5[_0x3dad74(0x176)](_0x204214,_0x1cb470-_0x26102e),_0x1f9ba5[_0x3dad74(0x12e)](_0x204214-_0x26102e,_0x1cb470-_0x26102e,_0x26102e,0x0,Math['PI']/0x2,!0x1),_0x1f9ba5['lineTo'](0x0,_0x1cb470),_0x1f9ba5[_0x3dad74(0x176)](0x0,_0x55d6e0),_0x1f9ba5['arc'](_0x55d6e0,_0x55d6e0,_0x55d6e0,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1f9ba5[_0x3dad74(0x109)](),_0x5a896e[_0x3dad74(0xe3)]&&(_0x1f9ba5[_0x3dad74(0x1a9)](),_0x1f9ba5[_0x3dad74(0x186)]=_0x5a896e[_0x3dad74(0xe3)],_0x5a896e[_0x3dad74(0xf4)]===_0x3dad74(0xae)?_0x1f9ba5[_0x3dad74(0xe3)](_0x3dad74(0xae)):_0x1f9ba5['fill'](),_0x1f9ba5[_0x3dad74(0xee)]());}class he extends _0x136101{constructor(_0x21f9cc,_0x4a075f){const _0x2a4f92=_0x3d6112;super(_0x21f9cc,_0x4a075f),_(this,'color'),_(this,_0x2a4f92(0x108)),(this[_0x2a4f92(0x25a)]=_0x4a075f==null?void 0x0:_0x4a075f[_0x2a4f92(0x25a)],this[_0x2a4f92(0x108)]=_0x4a075f==null?void 0x0:_0x4a075f[_0x2a4f92(0x108)]);}static[_0x3d6112(0x14f)](_0x303019,_0x5bec4b){const _0x25e759=_0x3d6112,{text:_0x397f48,color:_0x9d7d2f}=_0x5bec4b;_0x303019[_0x25e759(0x1a9)](),_0x303019[_0x25e759(0xe2)]=_0x25e759(0x1c7);const _0x40d331=_0x303019[_0x25e759(0x7c)](_0x397f48)[_0x25e759(0x90)],_0xc2c0ce=Math[_0x25e759(0x214)](_0x40d331+0x2*me,Qe);Oi(_0x303019,{'height':ee,'radius':0x4,'width':_0xc2c0ce,'fill':_0x9d7d2f}),_0x303019['fillStyle']='#FFF';const _0x52f9e4=me,_0x138a69=ee-Ei,_0x568767=Qe-0x2*me;if(_0x40d331>_0x568767){let _0x3536f0='',_0x396714=0x0;for(const _0x5a8448 of _0x397f48){const _0x510e03=_0x303019[_0x25e759(0x7c)](_0x5a8448)[_0x25e759(0x90)];if(_0x396714+_0x510e03<=_0x568767-_0x303019[_0x25e759(0x7c)](_0x25e759(0x106))[_0x25e759(0x90)])_0x3536f0+=_0x5a8448,_0x396714+=_0x510e03;else{_0x3536f0+=_0x25e759(0x106);break;}}_0x303019[_0x25e759(0x147)](_0x3536f0,_0x52f9e4,_0x138a69);}else _0x303019[_0x25e759(0x147)](_0x397f48,_0x52f9e4,_0x138a69);_0x303019[_0x25e759(0xee)]();}['_draw'](_0x3e0151){const _0x4cb39a=_0x3d6112;he[_0x4cb39a(0x14f)](_0x3e0151,this);}}const ge='collab-text-anchor-',bi=_0x3d6112(0x26f),Ti=_0x3d6112(0xa4),X=0x6,Ri=1.5,Ie=0x4,Di=1.5,Ni=_0x3d6112(0x198);class qe{constructor(_0x44b5ce,_0x5656cc,_0x22e69d,_0x1bbdf6){const _0x4a091f=_0x3d6112;_(this,_0x4a091f(0x203),[]),_(this,_0x4a091f(0x188),null),_(this,_0x4a091f(0x273),null),_(this,_0x4a091f(0x207),null),_(this,_0x4a091f(0xe0),null),_(this,_0x4a091f(0xff),null),(this[_0x4a091f(0x13a)]=_0x44b5ce,this[_0x4a091f(0x194)]=_0x5656cc,this[_0x4a091f(0x17e)]=_0x22e69d,this['_document']=_0x1bbdf6,this[_0x4a091f(0x8b)]());}set[_0x3d6112(0x165)](_0x370ad7){const _0x5a6e0a=_0x3d6112;_0x370ad7?(this['_anchorDot']&&this[_0x5a6e0a(0x207)][_0x5a6e0a(0xb8)](),this[_0x5a6e0a(0x273)]&&this[_0x5a6e0a(0x273)][_0x5a6e0a(0x1d4)]()):(this[_0x5a6e0a(0x207)]&&this[_0x5a6e0a(0x207)]['show'](),this[_0x5a6e0a(0x273)]&&this[_0x5a6e0a(0x273)][_0x5a6e0a(0xb8)]());}['dispose'](){const _0x5eecbc=_0x3d6112;for(const _0x47440b of this['_shapes'])_0x47440b[_0x5eecbc(0xa7)]();this[_0x5eecbc(0x273)]&&this[_0x5eecbc(0x273)][_0x5eecbc(0xa7)](),this[_0x5eecbc(0x207)]&&this['_anchorDot'][_0x5eecbc(0xa7)](),this[_0x5eecbc(0x188)]&&this['_anchor']['dispose'](),this[_0x5eecbc(0xff)]&&this[_0x5eecbc(0xff)]();}[_0x3d6112(0x8b)](){const _0x360f50=_0x3d6112;var _0x26e3d8;const {_docSkeleton:_0x3094fb,_document:_0x416762}=this,{color:_0x370f42,name:_0x205e91,ranges:_0x3f3edb}=this[_0x360f50(0x13a)],_0x3b6284=_0x416762['getOffsetConfig'](),{docsLeft:_0x4b621d,docsTop:_0x372823}=_0x3b6284,_0x3526d1=new _0x5235e8(_0x3b6284,_0x3094fb);for(const {startOffset:_0x15310d,endOffset:_0x153e5e,rangeType:_0x511878,segmentId:_0x3d5d56,segmentPage:_0x4e5ada,collapsed:_0x370846,isActive:_0x23ff0c}of _0x3f3edb){const _0x1c8725=_0x3094fb[_0x360f50(0x1d0)](_0x15310d,!0x0,_0x3d5d56,_0x4e5ada);let _0x5edfd1=_0x3094fb['findNodePositionByCharIndex'](_0x153e5e,!0x0,_0x3d5d56,_0x4e5ada);if(_0x5edfd1==null&&(_0x5edfd1=_0x3094fb[_0x360f50(0x1d0)](_0x153e5e-0x1,!0x1,_0x3d5d56,_0x4e5ada)),_0x23ff0c){const {contentBoxPointGroup:_0x180924}=_0x3526d1[_0x360f50(0x243)](_0x5edfd1,_0x5edfd1);if(_0x180924[_0x360f50(0x1e9)]===0x0)continue;this[_0x360f50(0x19c)](_0x370f42,_0x180924,_0x4b621d,_0x372823,_0x205e91),this[_0x360f50(0xff)]=this[_0x360f50(0x7e)]();}if(_0x1c8725&&_0x5edfd1){if(_0x511878===_0x53b7a4[_0x360f50(0x24c)]){const _0x5a1644=new _0x1479c6(_0x3b6284,_0x3094fb),{pointGroup:_0x284073}=(_0x26e3d8=_0x5a1644[_0x360f50(0x243)](_0x1c8725,_0x5edfd1))!=null?_0x26e3d8:{};if(_0x284073==null||_0x284073['length']===0x0)continue;this[_0x360f50(0x235)](_0x370f42,_0x284073,_0x4b621d,_0x372823);}else{if(!_0x370846){const {borderBoxPointGroup:_0x4f0541}=_0x3526d1[_0x360f50(0x243)](_0x1c8725,_0x5edfd1);if(_0x4f0541[_0x360f50(0x1e9)]===0x0)continue;this[_0x360f50(0x1c9)](_0x370f42,_0x4f0541,_0x4b621d,_0x372823);}}}}}[_0x3d6112(0x19c)](_0x42a5dd,_0x58aca1,_0x3e66f2,_0x17b9c3,_0xa46239){const _0x5d7adb=_0x3d6112,_0x1bcbf5=this[_0x5d7adb(0x232)](_0x58aca1),{left:_0x2a9384,top:_0x1143e3,height:_0x189c87}=_0x1bcbf5,_0x5986aa=this[_0x5d7adb(0x19d)](),_0x264806=Di/_0x5986aa,_0x29fcb5=new _0x1bf7c5(ge+_0x7a64af[_0x5d7adb(0x14d)](X),{'left':_0x2a9384+_0x3e66f2-_0x264806,'top':_0x1143e3+_0x17b9c3,'height':_0x189c87,'width':Ri,'fill':_0x42a5dd||_0x35b1a7(_0x683ab3['black'],0x0),'strokeWidth':_0x264806,'stroke':Ni,'evented':!0x0});this[_0x5d7adb(0x188)]=_0x29fcb5,this[_0x5d7adb(0x194)][_0x5d7adb(0x1cd)](_0x29fcb5,_0x2a3be8);const _0x12842e=new _0x1bf7c5(ge+_0x7a64af[_0x5d7adb(0x14d)](X),{'left':_0x2a9384+_0x3e66f2-_0x264806,'top':_0x1143e3+_0x17b9c3-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x42a5dd||_0x35b1a7(_0x683ab3[_0x5d7adb(0x259)],0x0),'strokeWidth':0x0,'stroke':_0x42a5dd||_0x35b1a7(_0x683ab3['black'],0x0),'evented':!0x1});this[_0x5d7adb(0x207)]=_0x12842e,this[_0x5d7adb(0x194)][_0x5d7adb(0x1cd)](_0x12842e,_0x2a3be8);const _0x58e7b1=new he(ge+_0x7a64af['generateRandomId'](X),{'left':_0x2a9384+_0x3e66f2-_0x264806,'top':_0x1143e3+_0x17b9c3-ee,'text':_0xa46239,'color':_0x42a5dd});this[_0x5d7adb(0x273)]=_0x58e7b1,this[_0x5d7adb(0x194)][_0x5d7adb(0x1cd)](_0x58e7b1,_0x2a3be8),this[_0x5d7adb(0x165)]=!0x1;}[_0x3d6112(0x7e)](){const _0x3ffd9c=_0x3d6112,_0x1f8e31=this[_0x3ffd9c(0x188)][_0x3ffd9c(0x97)][_0x3ffd9c(0x201)](()=>{this['_hover']=!0x0;}),_0x143762=this[_0x3ffd9c(0x188)][_0x3ffd9c(0xb6)][_0x3ffd9c(0x201)](()=>{const _0x3d5893=_0x3ffd9c;this[_0x3d5893(0xe0)]&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x24b9c1=_0x3d5893;this[_0x24b9c1(0x165)]=!0x1;},0x7d0);});return()=>{const _0x3bb680=_0x3ffd9c;_0x1f8e31[_0x3bb680(0x94)](),_0x143762[_0x3bb680(0x94)]();};}[_0x3d6112(0x1c9)](_0x4d2f76,_0x4bb250,_0x2488aa,_0x2d446f){const _0xaecd56=_0x3d6112,_0x27ed7b=new _0x4f87c1(_0x4d2f76)['setAlpha'](0.2)['toRgbString'](),_0x57897a=new _0xd54ccf(bi+_0x7a64af[_0xaecd56(0x14d)](X),{'pointsGroup':_0x4bb250,'fill':_0x27ed7b||_0x35b1a7(_0x683ab3['black'],0.2),'left':_0x2488aa,'top':_0x2d446f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xaecd56(0x203)][_0xaecd56(0x112)](_0x57897a),this['_scene'][_0xaecd56(0x1cd)](_0x57897a,_0x2a3be8);}[_0x3d6112(0x235)](_0x12bddc,_0x34e57c,_0xa209df,_0x4177b1){const _0x3ff401=_0x3d6112,_0x18bd39=new _0x4f87c1(_0x12bddc)[_0x3ff401(0xf9)](0.2)[_0x3ff401(0x200)](),_0x23164d=new _0xd54ccf(Ti+_0x7a64af[_0x3ff401(0x14d)](X),{'pointsGroup':_0x34e57c,'fill':_0x18bd39||_0x35b1a7(_0x683ab3[_0x3ff401(0x259)],0.2),'left':_0xa209df,'top':_0x4177b1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3ff401(0x203)][_0x3ff401(0x112)](_0x23164d),this[_0x3ff401(0x194)]['addObject'](_0x23164d,_0x2a3be8);}[_0x3d6112(0x232)](_0x33884a){const _0x15d906=_0x33884a[0x0],_0x7c8803=_0x15d906[0x0],_0x46e6cb=_0x15d906[0x2],{x:_0xe080b6,y:_0x1d008b}=_0x7c8803,{x:_0x345b85,y:_0xaf4cb2}=_0x46e6cb;return{'left':_0xe080b6,'top':_0x1d008b,'width':_0x345b85-_0xe080b6,'height':_0xaf4cb2-_0x1d008b};}['_getScale'](){const _0x419a5b=_0x3d6112,{scaleX:_0xb7ddc,scaleY:_0x590faf}=this['_scene'][_0x419a5b(0x13f)]();return Math[_0x419a5b(0x196)](_0xb7ddc,_0x590faf);}}var Ui=Object['getOwnPropertyDescriptor'],Mi=(_0x1f56eb,_0x3fbec0,_0x29c263,_0x3f2ef5)=>{const _0x385365=_0x3d6112;for(var _0x3dbbe7=_0x3f2ef5>0x1?void 0x0:_0x3f2ef5?Ui(_0x3fbec0,_0x29c263):_0x3fbec0,_0x41204c=_0x1f56eb[_0x385365(0x1e9)]-0x1,_0x3959e6;_0x41204c>=0x0;_0x41204c--)(_0x3959e6=_0x1f56eb[_0x41204c])&&(_0x3dbbe7=_0x3959e6(_0x3dbbe7)||_0x3dbbe7);return _0x3dbbe7;},Z=(_0x2f3c5a,_0xd0ad34)=>(_0x274dc5,_0x72eed1)=>_0xd0ad34(_0x274dc5,_0x72eed1,_0x2f3c5a);let Pe=class extends _0x5b42a6{constructor(_0x2148ea,_0x50f95e,_0x200cf3,_0x137f80,_0x11a530){const _0x22ee7d=_0x3d6112;super(),_(this,_0x22ee7d(0xcd),[]),_(this,_0x22ee7d(0x21c),[]),(this[_0x22ee7d(0x18a)]=_0x2148ea,this[_0x22ee7d(0x11e)]=_0x50f95e,this[_0x22ee7d(0x181)]=_0x200cf3,this['_commandService']=_0x137f80,this[_0x22ee7d(0x275)]=_0x11a530,this['_init']());}['_init'](){const _0x14266e=_0x3d6112,_0x2f3287=this[_0x14266e(0x18a)][_0x14266e(0x9f)],_0x5af73e=this[_0x14266e(0x11e)];this[_0x14266e(0x121)](_0x222edd([this[_0x14266e(0x181)][_0x14266e(0x26c)](_0x2f3287),this[_0x14266e(0x275)][_0x14266e(0x231)]])[_0x14266e(0x1b4)](_0x175771(([_0x5b8a5a,_0x18a97e])=>({'skeleton':_0x5af73e[_0x14266e(0x216)](),'cursors':[..._0x5b8a5a[_0x14266e(0xdc)]()][_0x14266e(0xb4)](_0x6c8418=>({..._0x6c8418,'color':this[_0x14266e(0x275)][_0x14266e(0x24d)](_0x6c8418['color'])}))})))[_0x14266e(0xf5)](_0x36425a=>{const _0xd21da4=_0x14266e;if(this[_0xd21da4(0xf3)](),_0x36425a){const {skeleton:_0x564cb5,cursors:_0x512414}=_0x36425a;this['_updateCollabCursors'](_0x564cb5,_0x512414);}})),this[_0x14266e(0x9e)](),this[_0x14266e(0x10e)]();}['_updateCollabCursors'](_0x124195,_0x34fee6){const _0x239448=_0x3d6112,{scene:_0x5ac6c8,mainComponent:_0x8acdb5}=this[_0x239448(0x18a)],_0x4d0ff7=_0x34fee6[_0x239448(0x11f)](_0xae9673=>new qe(_0xae9673,_0x5ac6c8,_0x124195,_0x8acdb5));this[_0x239448(0xcd)]=_0x4d0ff7,this[_0x239448(0x21c)]=_0x34fee6;}[_0x3d6112(0x254)](){const _0x4ddcd1=_0x3d6112;this[_0x4ddcd1(0xf3)]();const {scene:_0x232bdc,mainComponent:_0x508722}=this['_context'],_0x465f29=this[_0x4ddcd1(0x11e)][_0x4ddcd1(0x216)](),_0x508893=this[_0x4ddcd1(0x21c)][_0x4ddcd1(0x11f)](_0x5ab251=>new qe(_0x5ab251,_0x232bdc,_0x465f29,_0x508722));this[_0x4ddcd1(0xcd)]=_0x508893;}['_removeCollabCursors'](){const _0x39e2cc=_0x3d6112;this[_0x39e2cc(0xcd)][_0x39e2cc(0xf7)](_0x55b234=>_0x55b234['dispose']()),this[_0x39e2cc(0xcd)]=[];}[_0x3d6112(0x10e)](){const _0x328879=_0x3d6112,_0x4571d8=[_0x29ce9a['id']];this[_0x328879(0x121)](this['_commandService'][_0x328879(0x258)](_0x20bb19=>{const _0x2ca2bf=_0x328879;_0x4571d8['includes'](_0x20bb19['id'])&&_0x20bb19[_0x2ca2bf(0x96)][_0x2ca2bf(0x9f)]===this[_0x2ca2bf(0x18a)]['unitId']&&this['_refreshCollabCursors']();}));}[_0x3d6112(0x9e)](){const _0x4a9e68=_0x3d6112;this[_0x4a9e68(0x121)](_0x438f83(this[_0x4a9e68(0x18a)]['engine'][_0x4a9e68(0x7f)])[_0x4a9e68(0x1b4)](_0x419324(_0x243669=>_0x243669[_0x4a9e68(0x154)]===_0x24fbf9[_0x4a9e68(0x9a)]),_0x133089(0x10))[_0x4a9e68(0xf5)](()=>{const _0x55f7eb=_0x4a9e68;this[_0x55f7eb(0x254)]();}));}};Pe=Mi([Z(0x1,_0x377ebc(_0x422ab9)),Z(0x2,_0x377ebc(H)),Z(0x3,_0x44b6ac),Z(0x4,_0x377ebc(_0x5c68ab))],Pe);const Pi=0x1,Li=1.5;class wi extends _0x136101{constructor(_0x2ca803,_0x5e9c52){const _0x54f9e4=_0x3d6112;super(_0x2ca803,_0x5e9c52),_(this,_0x54f9e4(0x268)),_(this,_0x54f9e4(0x160),!0x1),_(this,_0x54f9e4(0xbf)),_(this,_0x54f9e4(0x20f),''),_(this,_0x54f9e4(0x86),'top'),_(this,_0x54f9e4(0x270)),(_0x5e9c52&&this[_0x54f9e4(0xe9)](_0x5e9c52),this[_0x54f9e4(0x97)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x54f9e4(0xb6)][_0x54f9e4(0x201)](()=>this[_0x54f9e4(0xe9)]({'hovered':!0x1})));}[_0x3d6112(0xe9)](_0x473f9d){const _0xd55cd9=_0x3d6112;var _0x56ed03,_0x4feb0a,_0x40448,_0x3ca64f,_0x568e52,_0x5ae377;this[_0xd55cd9(0x268)]=(_0x56ed03=_0x473f9d['color'])!=null?_0x56ed03:this[_0xd55cd9(0x268)],this[_0xd55cd9(0x160)]=(_0x4feb0a=_0x473f9d[_0xd55cd9(0x1ea)])!=null?_0x4feb0a:this['_hovered'],this[_0xd55cd9(0xbf)]=(_0x40448=_0x473f9d[_0xd55cd9(0x13d)])!=null?_0x40448:this[_0xd55cd9(0xbf)],this[_0xd55cd9(0x20f)]=(_0x3ca64f=_0x473f9d[_0xd55cd9(0xac)])!=null?_0x3ca64f:this['_name'],this[_0xd55cd9(0x86)]=(_0x568e52=_0x473f9d[_0xd55cd9(0x1b3)])!=null?_0x568e52:this[_0xd55cd9(0x86)],this[_0xd55cd9(0x270)]=(_0x5ae377=_0x473f9d[_0xd55cd9(0x14c)])!=null?_0x5ae377:this['_backgroundColor'],this['transformByState']({'width':_0x473f9d['width'],'height':_0x473f9d['height']});}[_0x3d6112(0x22c)](_0x5d3915){const _0x53ab3a=_0x3d6112,{row:_0x1e587e,column:_0x16a54e}=_0x5d3915;if(_0x1e587e>=this['_range']['startRow']&&_0x1e587e<=this[_0x53ab3a(0xbf)][_0x53ab3a(0x210)]&&_0x16a54e>=this[_0x53ab3a(0xbf)][_0x53ab3a(0x239)]&&_0x16a54e<=this[_0x53ab3a(0xbf)][_0x53ab3a(0xcb)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x53ab3a(0xe9)]({'hovered':!0x1});}[_0x3d6112(0x13e)](_0x269e37){return!0x1;}[_0x3d6112(0x1b1)](_0x32105a){const _0x107a48=_0x3d6112;_0x1bf7c5[_0x107a48(0x14f)](_0x32105a,{'width':this['width'],'height':this[_0x107a48(0x230)],'strokeWidth':Li,'stroke':this[_0x107a48(0x268)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x107a48(0x160)]&&(_0x32105a[_0x107a48(0x1a9)](),_0x32105a['transform'](0x1,0x0,0x0,0x1,this[_0x107a48(0x90)],this['_labelPosition']==='bottom'?0x0:-0x14),he[_0x107a48(0x14f)](_0x32105a,{'text':this[_0x107a48(0x20f)],'color':this[_0x107a48(0x268)]}),_0x32105a[_0x107a48(0xee)]());}}var Ai=Object[_0x3d6112(0xad)],yi=(_0x216f5f,_0x1648e,_0xb32a5c,_0xf4537e)=>{for(var _0x276654=_0xf4537e>0x1?void 0x0:_0xf4537e?Ai(_0x1648e,_0xb32a5c):_0x1648e,_0x1ac03c=_0x216f5f['length']-0x1,_0x2467a0;_0x1ac03c>=0x0;_0x1ac03c--)(_0x2467a0=_0x216f5f[_0x1ac03c])&&(_0x276654=_0x2467a0(_0x276654)||_0x276654);return _0x276654;},ve=(_0x1657c8,_0x1973f6)=>(_0xf9448a,_0x4842dd)=>_0x1973f6(_0xf9448a,_0x4842dd,_0x1657c8);const $i=0x1389;let Le=class extends _0x5b42a6{constructor(_0x7cd3ad,_0x1208f4,_0xa1156f,_0x25a067){const _0xbf1424=_0x3d6112;super(),_(this,_0xbf1424(0x21c),new Set()),_(this,_0xbf1424(0x1ac),null),(this[_0xbf1424(0x18a)]=_0x7cd3ad,this[_0xbf1424(0x228)]=_0x1208f4,this[_0xbf1424(0x181)]=_0xa1156f,this[_0xbf1424(0x275)]=_0x25a067,this['_init']());}[_0x3d6112(0x170)](){const _0x47ad11=_0x3d6112;this[_0x47ad11(0x228)]['currentSkeleton$'][_0x47ad11(0x1b4)](_0x7c48e4(this[_0x47ad11(0x1ba)]),_0x5ef9b7(_0x2f586a=>{const _0x36c284=_0x47ad11;if(_0x2f586a){const _0x23f04f=_0x2f586a[_0x36c284(0xb2)];return _0x222edd(this['_collabCursorController'][_0x36c284(0x26c)](this['_context'][_0x36c284(0x9f)]),this[_0x36c284(0x275)][_0x36c284(0x231)])[_0x36c284(0x1b4)](_0x175771(([_0x1c660b,_0x34606a])=>{const _0x35f13e=_0x36c284,_0x2e746e=new Map();return _0x1c660b[_0x35f13e(0xf7)]((_0x21ff7f,_0x2178e6)=>{const _0xd29617=_0x35f13e;if(_0x21ff7f['sheetID']===_0x23f04f){const _0x354e84={..._0x21ff7f};_0x354e84[_0xd29617(0x25a)]=this['_themeService']['getColorFromTheme'](_0x21ff7f[_0xd29617(0x25a)]),_0x2e746e[_0xd29617(0x12b)](_0x2178e6,_0x354e84);}}),{'skeleton':_0x2f586a,'cursors':_0x2e746e};}));}return _0x4d0dc1({'skeleton':null,'cursors':new Map()});}))[_0x47ad11(0xf5)](({skeleton:_0x1f525c,cursors:_0x179831})=>{const _0x26b636=_0x47ad11;this[_0x26b636(0xf3)](),_0x1f525c&&this[_0x26b636(0x89)](_0x1f525c,_0x179831);}),this[_0x47ad11(0x228)][_0x47ad11(0x1fe)]['subscribe'](_0x2710bf=>{const _0x1b672c=_0x47ad11;if(_0x2710bf==null)return;const {skeleton:_0x21d35a}=_0x2710bf,{scene:_0x144cea}=this['_context'];_0x144cea[_0x1b672c(0x161)][_0x1b672c(0x201)](_0x1e542b(_0x41ae8b=>{const _0x18dca9=_0x1b672c;var _0xd870fd,_0x357b97;const {offsetX:_0x3602d2,offsetY:_0x22b8ec}=_0x41ae8b,{x:_0x764fc,y:_0x48253b}=_0x144cea[_0x18dca9(0x1d9)](_0x4959ee[_0x18dca9(0xc9)]([_0x3602d2,_0x22b8ec])),{scaleX:_0x376cf0,scaleY:_0xe8908b}=_0x144cea[_0x18dca9(0x13f)](),_0x33f957=_0x144cea['getViewport'](_0x5ed4de[_0x18dca9(0x130)]),_0xa9c26c=_0x144cea['getVpScrollXYInfoByPosToVp'](_0x4959ee[_0x18dca9(0xc9)]([_0x764fc,_0x48253b]),_0x33f957),_0x27cb1d=_0x21d35a[_0x18dca9(0x1be)](_0x3602d2,_0x22b8ec,_0x376cf0,_0xe8908b,_0xa9c26c);((_0xd870fd=this['_lastPointer'])==null?void 0x0:_0xd870fd[_0x18dca9(0xda)])===_0x27cb1d[_0x18dca9(0xda)]&&((_0x357b97=this[_0x18dca9(0x1ac)])==null?void 0x0:_0x357b97[_0x18dca9(0x202)])===_0x27cb1d['row']||this[_0x18dca9(0x21c)][_0x18dca9(0xf7)](_0x88d487=>{const _0x27e1e9=_0x18dca9;_0x88d487[_0x27e1e9(0x22c)](_0x27cb1d);});},0x64));});}[_0x3d6112(0x89)](_0x3782a7,_0x2a6976){const _0xe34896=_0x3d6112;var _0x3ea81d;const _0x2bb677=(_0x3ea81d=this[_0xe34896(0x228)][_0xe34896(0x261)]())==null?void 0x0:_0x3ea81d[_0xe34896(0x132)];if(!_0x2bb677)return;const _0x1eda4d=this[_0xe34896(0x16b)]();if(!_0x1eda4d)return;this[_0xe34896(0x21c)]['forEach'](_0x3b2856=>{_0x3b2856['makeDirty']();});const {scene:_0x26293c}=_0x1eda4d,_0x5ec3dd=xi(Array[_0xe34896(0x1d2)](_0x2a6976[_0xe34896(0xdc)]()))[_0xe34896(0x11f)](_0xa1e288=>{const {color:_0x4fb2ef,range:_0x296ac8,name:_0x1e0927,selection:_0x5616e9,sheetID:_0x4fa728}=_0xa1e288,{startColumn:_0x52a45b,startRow:_0x4c9f02,endColumn:_0x57053e,endRow:_0x55712e}=_0x296ac8,_0xed7d36=_0x44fd03(_0x4c9f02,_0x52a45b,_0x26293c,_0x2bb677),_0xeb248c=_0x44fd03(_0x55712e,_0x57053e,_0x26293c,_0x2bb677),{columnHeaderHeightAndMarginTop:_0x45a89a}=_0x2bb677,{startX:_0x5426bf,startY:_0x35dc4e}=_0xed7d36,{endX:_0x103ec1,endY:_0xfd3c62}=_0xeb248c,_0x3dfc39=_0x103ec1-_0x5426bf,_0x4ec712=_0xfd3c62-_0x35dc4e,_0xf1636c={'labelPosition':_0x35dc4e-_0x45a89a>=ee?'top':'bottom','sheetID':_0x4fa728,'range':_0x296ac8,'color':_0x4fb2ef,'name':_0x1e0927,'selection':_0x5616e9,'left':_0x5426bf,'top':_0x35dc4e,'width':_0x3dfc39,'height':_0x4ec712,'evented':!0x1,'zIndex':$i};return new wi(_0x1e0927,_0xf1636c);});_0x26293c[_0xe34896(0x148)](_0x5ec3dd,Pi),this['_cursors']=new Set(_0x5ec3dd);}[_0x3d6112(0xf3)](){const _0x311a26=_0x3d6112;var _0x1ae2ca;(_0x1ae2ca=this['_cursors'])==null||_0x1ae2ca[_0x311a26(0xf7)](_0x161ba3=>_0x161ba3[_0x311a26(0xa7)]());}['_getSheetObject'](){const _0x52ae93=_0x3d6112;return _0x4d69f5(this['_context'][_0x52ae93(0x22e)],this[_0x52ae93(0x18a)]);}};Le=yi([ve(0x1,_0x377ebc(_0x411135)),ve(0x2,_0x377ebc(H)),ve(0x3,_0x377ebc(_0x5c68ab))],Le);function xi(_0x579751){const _0x4b55cd=_0x3d6112,_0x1cba57=new Map();return _0x579751['forEach'](_0x148fc7=>{const _0x294864=_0xba75;if(_0x1cba57['has'](_0x148fc7[_0x294864(0xd3)])){const _0x4eb58e=_0x1cba57[_0x294864(0xd8)](_0x148fc7[_0x294864(0xd3)]);_0x4eb58e[_0x294864(0xac)]+=',\x20'+_0x148fc7[_0x294864(0xac)];}else _0x1cba57['set'](_0x148fc7[_0x294864(0xd3)],_0x148fc7);}),Array[_0x4b55cd(0x1d2)](_0x1cba57[_0x4b55cd(0xdc)]());}var v=function(){const _0x33a48b=_0x3d6112;return v=Object[_0x33a48b(0x24e)]||function(_0x338515){const _0x1e4c98=_0x33a48b;for(var _0x1df53f,_0x40a4a0=0x1,_0x28e2a1=arguments['length'];_0x40a4a0<_0x28e2a1;_0x40a4a0++){_0x1df53f=arguments[_0x40a4a0];for(var _0x3330d9 in _0x1df53f)Object[_0x1e4c98(0x187)][_0x1e4c98(0x199)][_0x1e4c98(0x8d)](_0x1df53f,_0x3330d9)&&(_0x338515[_0x3330d9]=_0x1df53f[_0x3330d9]);}return _0x338515;},v[_0x33a48b(0x195)](this,arguments);},Bi=function(_0x1452b4,_0x132898){const _0x375a14=_0x3d6112;var _0x12c525={};for(var _0xd02dba in _0x1452b4)Object[_0x375a14(0x187)]['hasOwnProperty'][_0x375a14(0x8d)](_0x1452b4,_0xd02dba)&&_0x132898[_0x375a14(0xc2)](_0xd02dba)<0x0&&(_0x12c525[_0xd02dba]=_0x1452b4[_0xd02dba]);if(_0x1452b4!=null&&typeof Object[_0x375a14(0x1e3)]==_0x375a14(0x190)){for(var _0x40ade1=0x0,_0xd02dba=Object[_0x375a14(0x1e3)](_0x1452b4);_0x40ade1<_0xd02dba[_0x375a14(0x1e9)];_0x40ade1++)_0x132898[_0x375a14(0xc2)](_0xd02dba[_0x40ade1])<0x0&&Object[_0x375a14(0x187)][_0x375a14(0x16e)][_0x375a14(0x8d)](_0x1452b4,_0xd02dba[_0x40ade1])&&(_0x12c525[_0xd02dba[_0x40ade1]]=_0x1452b4[_0xd02dba[_0x40ade1]]);}return _0x12c525;},je=_0x10e9ab(function(_0x22ac7c,_0x175ae9){const _0x3b9dbd=_0x3d6112;var _0x1e6709=_0x22ac7c[_0x3b9dbd(0x88)],_0x233096=_0x22ac7c['id'],_0xfb9325=_0x22ac7c['className'],_0x390b72=_0x22ac7c[_0x3b9dbd(0x9b)],_0x332c11=Bi(_0x22ac7c,[_0x3b9dbd(0x88),'id',_0x3b9dbd(0x144),_0x3b9dbd(0x9b)]),_0x5eadee=_0x3b9dbd(0x15a)[_0x3b9dbd(0x141)](_0x233096,'\x20')[_0x3b9dbd(0x141)](_0xfb9325||'')[_0x3b9dbd(0xec)](),_0x5d4286=_0x238a25('_'[_0x3b9dbd(0x141)](ji()));return Rt(_0x1e6709,''[_0x3b9dbd(0x141)](_0x233096),{'defIds':_0x1e6709[_0x3b9dbd(0x178)],'idSuffix':_0x5d4286[_0x3b9dbd(0x1f9)]},v({'ref':_0x175ae9,'className':_0x5eadee},_0x332c11),_0x390b72);});function Rt(_0x5e779c,_0x4b1d26,_0x1974ed,_0x544bd0,_0xcb36d3){const _0x34ab33=_0x3d6112;return _0x571cf1(_0x5e779c[_0x34ab33(0x1ae)],v(v({'key':_0x4b1d26},ki(_0x5e779c,_0x1974ed,_0xcb36d3)),_0x544bd0),(Hi(_0x5e779c,_0x1974ed)[_0x34ab33(0x222)]||[])['map'](function(_0x48b94c,_0x4f4154){const _0x51b9f6=_0x34ab33;return Rt(_0x48b94c,''[_0x51b9f6(0x141)](_0x4b1d26,'-')[_0x51b9f6(0x141)](_0x5e779c[_0x51b9f6(0x1ae)],'-')['concat'](_0x4f4154),_0x1974ed,void 0x0,_0xcb36d3);}));}function ki(_0x4de510,_0x30e823,_0x67dbc4){const _0x2f0ac9=_0x3d6112;var _0x19a539=v({},_0x4de510[_0x2f0ac9(0x101)]);_0x67dbc4!=null&&_0x67dbc4[_0x2f0ac9(0x14e)]&&_0x19a539[_0x2f0ac9(0xe3)]==='colorChannel1'&&(_0x19a539['fill']=_0x67dbc4[_0x2f0ac9(0x14e)]),_0x4de510[_0x2f0ac9(0x1ae)]===_0x2f0ac9(0xcf)&&_0x19a539['id']&&(_0x19a539['id']=_0x19a539['id']+_0x30e823['idSuffix']),Object['entries'](_0x19a539)[_0x2f0ac9(0xf7)](function(_0x2d6326){const _0x3a2fa2=_0x2f0ac9;var _0x1c5051=_0x2d6326[0x0],_0x123456=_0x2d6326[0x1];_0x1c5051==='mask'&&typeof _0x123456==_0x3a2fa2(0x215)&&(_0x19a539[_0x1c5051]=_0x123456['replace'](/url\(#(.*)\)/,'url(#$1'['concat'](_0x30e823[_0x3a2fa2(0x249)],')')));});var _0xe0f2db=_0x30e823[_0x2f0ac9(0x178)];return!_0xe0f2db||_0xe0f2db['length']===0x0||(_0x4de510['tag']==='use'&&_0x19a539[_0x2f0ac9(0x84)]&&(_0x19a539['xlink:href']=_0x19a539[_0x2f0ac9(0x84)]+_0x30e823[_0x2f0ac9(0x249)]),Object['entries'](_0x19a539)[_0x2f0ac9(0xf7)](function(_0x364809){const _0x53f1e9=_0x2f0ac9;var _0x2a99ba=_0x364809[0x0],_0x489ff9=_0x364809[0x1];typeof _0x489ff9==_0x53f1e9(0x215)&&(_0x19a539[_0x2a99ba]=_0x489ff9[_0x53f1e9(0x9d)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x30e823[_0x53f1e9(0x249)],')')));})),_0x19a539;}function Hi(_0x346d49,_0x3e3317){const _0x174c8d=_0x3d6112;var _0x17f76e,_0xe616a=_0x3e3317[_0x174c8d(0x178)];return!_0xe616a||_0xe616a[_0x174c8d(0x1e9)]===0x0?_0x346d49:_0x346d49[_0x174c8d(0x1ae)]===_0x174c8d(0x138)&&(!((_0x17f76e=_0x346d49['children'])===null||_0x17f76e===void 0x0)&&_0x17f76e[_0x174c8d(0x1e9)])?v(v({},_0x346d49),{'children':_0x346d49[_0x174c8d(0x222)]['map'](function(_0x22d6c0){const _0x3810be=_0x174c8d;return typeof _0x22d6c0[_0x3810be(0x101)]['id']==_0x3810be(0x215)&&_0xe616a&&_0xe616a[_0x3810be(0xc2)](_0x22d6c0['attrs']['id'])>-0x1?v(v({},_0x22d6c0),{'attrs':v(v({},_0x22d6c0[_0x3810be(0x101)]),{'id':_0x22d6c0['attrs']['id']+_0x3e3317[_0x3810be(0x249)]})}):_0x22d6c0;})}):_0x346d49;}function ji(){const _0x3023cf=_0x3d6112;return Math[_0x3023cf(0x135)]()[_0x3023cf(0x162)](0x24)[_0x3023cf(0x248)](0x2,0x8);}je[_0x3d6112(0x1fc)]=_0x3d6112(0x137);var Yi={'tag':_0x3d6112(0x197),'attrs':{'fill':_0x3d6112(0xfb),'viewBox':_0x3d6112(0x127),'width':_0x3d6112(0xa0),'height':_0x3d6112(0xa0)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x3d6112(0x256),'attrs':{'stroke':_0x3d6112(0xbd),'d':_0x3d6112(0x1d5),'strokeLinecap':'round','strokeLinejoin':_0x3d6112(0xbc),'strokeWidth':1.2}}]},{'tag':_0x3d6112(0x138),'attrs':{},'children':[{'tag':_0x3d6112(0x1c4),'attrs':{'id':_0x3d6112(0xc7)},'children':[{'tag':_0x3d6112(0x256),'attrs':{'fill':_0x3d6112(0x104),'d':_0x3d6112(0x1cc)}}]}]}],'defIds':[_0x3d6112(0xc7)]},Dt=_0x10e9ab(function(_0x411f1d,_0x339ae6){const _0x337fd7=_0x3d6112;return _0x571cf1(je,Object[_0x337fd7(0x24e)]({},_0x411f1d,{'id':_0x337fd7(0x246),'ref':_0x339ae6,'icon':Yi}));});Dt[_0x3d6112(0x1fc)]=_0x3d6112(0x83);var Fi={'tag':'svg','attrs':{'fill':'none','viewBox':_0x3d6112(0x1f3),'width':_0x3d6112(0xa0),'height':_0x3d6112(0xa0)},'children':[{'tag':'g','attrs':{'clipPath':_0x3d6112(0x171)},'children':[{'tag':_0x3d6112(0x256),'attrs':{'stroke':_0x3d6112(0xbd),'d':_0x3d6112(0x211),'strokeLinecap':_0x3d6112(0xbc),'strokeLinejoin':_0x3d6112(0xbc),'strokeWidth':1.2}}]},{'tag':_0x3d6112(0x138),'attrs':{},'children':[{'tag':_0x3d6112(0x1c4),'attrs':{'id':_0x3d6112(0xd4)},'children':[{'tag':_0x3d6112(0x256),'attrs':{'fill':_0x3d6112(0x104),'d':_0x3d6112(0x1cc),'transform':_0x3d6112(0x22b)}}]}]}],'defIds':[_0x3d6112(0xd4)]},Nt=_0x10e9ab(function(_0x89b78c,_0x347de9){const _0x586f42=_0x3d6112;return _0x571cf1(je,Object[_0x586f42(0x24e)]({},_0x89b78c,{'id':_0x586f42(0x10b),'ref':_0x347de9,'icon':Fi}));});Nt[_0x3d6112(0x1fc)]=_0x3d6112(0x146);function Wi(_0x1edf31){const _0x3633b6=_0x3d6112;switch(_0x1edf31){case _0x2623c5[_0x3633b6(0x93)]:return _0x3633b6(0x1af);case _0x2623c5[_0x3633b6(0x107)]:return _0x3633b6(0x1a4);case _0x2623c5[_0x3633b6(0x21f)]:return _0x3633b6(0x20b);case _0x2623c5[_0x3633b6(0x24a)]:return'collabStatus.notCollab';case _0x2623c5[_0x3633b6(0x1bc)]:case _0x2623c5['AWAITING_WITH_PENDING']:return _0x3633b6(0x99);case _0x2623c5['SYNCED']:case _0x2623c5[_0x3633b6(0x164)]:return _0x3633b6(0x1ee);}}function Vi(_0x2bd617){const _0x1f8de1=_0x3d6112,{status$:_0x139a10}=_0x2bd617,_0x1a83af=_0x2c5955(_0x139a10,_0x2623c5[_0x1f8de1(0x24a)]),_0x1d6c5b=_0x3b18fa(_0x3a12f7),_0x1ad728=_0x3b18fa(_0x328520),_0xdc0bac=_0x1a83af!==_0x2623c5[_0x1f8de1(0x93)],_0x4da50c=_0x1d6c5b['t'](Wi(_0x1a83af)),_0x24889c=_0xdc0bac?_0x234927(Nt,{}):_0x234927(Dt,{}),_0x1ba555=_0xd3b2d5(()=>{_0xdc0bac||_0x1ad728['reconnect']();},[_0xdc0bac,_0x1ad728]);function _0x420786(){const _0x2adfc8=_0x1f8de1;return _0x3e1077(_0x2adfc8(0x25d),{'className':_0x2adfc8(0x1d6),'onClick':_0x1ba555,'children':[_0x234927(_0x2adfc8(0x25d),{'className':_0x437ed7(_0x2adfc8(0x183),{'univer-text-green-500':_0xdc0bac,'univer-text-red-500':!_0xdc0bac}),'children':_0x24889c}),_0x234927(_0x2adfc8(0x25d),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:univer-text-gray-200','children':_0x4da50c})]});}return _0xdc0bac?_0x420786():_0x234927(_0x1db6c5,{'title':_0x1d6c5b['t']('collab-client.tooltip.reconnect'),'children':_0x420786()});}var Xi=Object[_0x3d6112(0xad)],Gi=(_0x2dc34d,_0x54b3d5,_0x2043b7,_0x320d3c)=>{const _0x45800f=_0x3d6112;for(var _0x479841=_0x320d3c>0x1?void 0x0:_0x320d3c?Xi(_0x54b3d5,_0x2043b7):_0x54b3d5,_0x2b5ea9=_0x2dc34d[_0x45800f(0x1e9)]-0x1,_0x32ffbb;_0x2b5ea9>=0x0;_0x2b5ea9--)(_0x32ffbb=_0x2dc34d[_0x2b5ea9])&&(_0x479841=_0x32ffbb(_0x479841)||_0x479841);return _0x479841;},Q=(_0x561800,_0x260982)=>(_0x5f4034,_0x425ba2)=>_0x260982(_0x5f4034,_0x425ba2,_0x561800);let te=class extends _0x4247c1{constructor(_0x2a4be8,_0x41973b,_0x9858b0,_0x1d6293){const _0x284987=_0x3d6112;super(),_(this,_0x284987(0x1e0),new _0x5c61df(_0x2623c5[_0x284987(0x24a)])),(this['_univerInstanceService']=_0x2a4be8,this[_0x284987(0xe5)]=_0x41973b,this[_0x284987(0x117)]=_0x9858b0,this[_0x284987(0xe7)]=_0x1d6293,this[_0x284987(0x125)](),this[_0x284987(0xe1)]());}[_0x3d6112(0xe1)](){const _0x4e5b0e=_0x3d6112;this[_0x4e5b0e(0x121)](this[_0x4e5b0e(0x168)][_0x4e5b0e(0x18d)][_0x4e5b0e(0x1b4)](_0x4bddf2(()=>{const _0xb9249f=_0x4e5b0e,_0x42cf4f=this[_0xb9249f(0x168)][_0xb9249f(0x221)]();return _0x42cf4f?this[_0xb9249f(0x117)]['getCollabEntity$'](_0x42cf4f['getUnitId']()):_0x4d0dc1(null);}),_0x4bddf2(_0x3674ae=>_0x3674ae?_0x3674ae[_0x4e5b0e(0xc4)]:_0x4d0dc1(_0x2623c5[_0x4e5b0e(0x24a)])))['subscribe'](_0x145016=>{const _0x736ffe=_0x4e5b0e;this[_0x736ffe(0x1e0)]['next'](_0x145016);}));}[_0x3d6112(0x125)](){const _0x51707e=_0x3d6112;this[_0x51707e(0x121)](this['_uiPartsService']['registerComponent'](_0xf598a1['HEADER_MENU'],()=>_0x37825b(Ki({'status$':this[_0x51707e(0x1e0)][_0x51707e(0x1b2)]()}),this[_0x51707e(0xe5)])));}};te=Gi([Q(0x0,_0x436d21),Q(0x1,_0x377ebc(_0x18407a)),Q(0x2,_0x377ebc(_0xaf5c2f)),Q(0x3,_0x552950)],te);function Ki(_0x730b0f){const {status$:_0x4114dd}=_0x730b0f;return function(){return _0x234927(Vi,{'status$':_0x4114dd});};}var zi=Object[_0x3d6112(0xad)],Ji=(_0x13fa59,_0x5c1e2c,_0x1d350e,_0x3e0351)=>{for(var _0x24c7a5=_0x3e0351>0x1?void 0x0:_0x3e0351?zi(_0x5c1e2c,_0x1d350e):_0x5c1e2c,_0x3500a1=_0x13fa59['length']-0x1,_0xf5c0f9;_0x3500a1>=0x0;_0x3500a1--)(_0xf5c0f9=_0x13fa59[_0x3500a1])&&(_0x24c7a5=_0xf5c0f9(_0x24c7a5)||_0x24c7a5);return _0x24c7a5;},B=(_0x383693,_0x40be12)=>(_0x3a113a,_0x5a9d17)=>_0x40be12(_0x3a113a,_0x5a9d17,_0x383693);let se=class extends _0x4247c1{constructor(_0x3c2847,_0x43edb3,_0x2e20d7,_0x3db4e8,_0x3df805,_0x5e4ebc){const _0x4c5ba9=_0x3d6112;super(),this[_0x4c5ba9(0x1fd)]=_0x3c2847,this[_0x4c5ba9(0xbe)]=_0x43edb3,this[_0x4c5ba9(0x23d)]=_0x2e20d7,this[_0x4c5ba9(0x218)]=_0x3db4e8,this[_0x4c5ba9(0x1ec)]=_0x3df805,this[_0x4c5ba9(0xab)]=_0x5e4ebc,this['_setupBeforeClosingHandler'](),this['_initEvent']();}['_setupBeforeClosingHandler'](){const _0x329e5d=_0x3d6112;this[_0x329e5d(0x121)](this[_0x329e5d(0x1fd)][_0x329e5d(0x23f)](()=>{const _0x3948d8=_0x329e5d;if(this[_0x3948d8(0xbe)]['saveTaskMap']['size'])return this[_0x3948d8(0xab)]['t'](_0x3948d8(0x1e7));}));}['_initEvent'](){const _0x3a5204=_0x3d6112;this[_0x3a5204(0x121)](this[_0x3a5204(0x23d)][_0x3a5204(0x1da)][_0x3a5204(0xf5)](_0x5168d2=>{const _0xb85fe8=_0x3a5204;_0x5168d2['id']===_0x3d558c[_0xb85fe8(0x81)]&&this[_0xb85fe8(0x218)][_0xb85fe8(0x1d4)]({'type':_0x54d06f[_0xb85fe8(0xb1)],'content':this[_0xb85fe8(0xab)]['t']('collaboration.single-unit.warning')}),_0x5168d2['id']===_0x3d558c['CLOSE_ROOM']&&this[_0xb85fe8(0x218)][_0xb85fe8(0x1d4)]({'type':_0x54d06f[_0xb85fe8(0xb1)],'content':this['_localeService']['t'](_0xb85fe8(0x123))}),_0x5168d2['id']===_0x3d558c[_0xb85fe8(0x1ad)]&&this[_0xb85fe8(0x1ec)]['show']({'title':this[_0xb85fe8(0xab)]['t']('permission.title'),'content':this[_0xb85fe8(0xab)]['t']('permission.content'),'type':_0xb85fe8(0xa5),'duration':0x0}),_0x5168d2['id']===_0x3d558c[_0xb85fe8(0x107)]&&this[_0xb85fe8(0x218)]['show']({'type':_0x54d06f[_0xb85fe8(0x16a)],'content':this['_localeService']['t'](_0xb85fe8(0x123))+'('+_0x5168d2[_0xb85fe8(0x276)]+')'}),_0x5168d2['id']===_0x3d558c[_0xb85fe8(0xc3)]&&this[_0xb85fe8(0x218)][_0xb85fe8(0x1d4)]({'type':_0x54d06f[_0xb85fe8(0xb1)],'content':this[_0xb85fe8(0xab)]['t'](_0x5168d2['data']||'')}),_0x5168d2['id']===_0x3d558c[_0xb85fe8(0x233)]&&this[_0xb85fe8(0x218)][_0xb85fe8(0x1d4)]({'type':_0x54d06f[_0xb85fe8(0xb1)],'content':this[_0xb85fe8(0xab)]['t'](_0xb85fe8(0x17b))}),_0x5168d2['id']===_0x3d558c[_0xb85fe8(0x1ce)]&&this[_0xb85fe8(0x218)]['show']({'type':_0x54d06f[_0xb85fe8(0x16a)],'content':this[_0xb85fe8(0xab)]['t'](_0xb85fe8(0x242))}),_0x5168d2['id']===_0x3d558c['SUBMIT_CHANGESET_TIMEOUT']&&this[_0xb85fe8(0x218)][_0xb85fe8(0x1d4)]({'type':_0x54d06f[_0xb85fe8(0x16a)],'content':this[_0xb85fe8(0xab)]['t'](_0xb85fe8(0x11c))});}));}};se=Ji([B(0x0,_0x31ff70),B(0x1,_0x1fd64a),B(0x2,_0x377ebc(_0x35fc47)),B(0x3,_0x2c7eb3),B(0x4,_0x57ba6d),B(0x5,_0x377ebc(_0x3a12f7))],se);const Zi='collaboration-client-ui.config',et={},Ut=_0x368a83('uni.network.url-service');var Qi=Object[_0x3d6112(0xad)],qi=(_0x54d2cd,_0x5f1b93,_0x541a0f,_0x3d8ca9)=>{const _0x4770ca=_0x3d6112;for(var _0x11d5f4=_0x3d8ca9>0x1?void 0x0:_0x3d8ca9?Qi(_0x5f1b93,_0x541a0f):_0x5f1b93,_0x46d2d5=_0x54d2cd[_0x4770ca(0x1e9)]-0x1,_0x1c126d;_0x46d2d5>=0x0;_0x46d2d5--)(_0x1c126d=_0x54d2cd[_0x46d2d5])&&(_0x11d5f4=_0x1c126d(_0x11d5f4)||_0x11d5f4);return _0x11d5f4;},G=(_0x44c08f,_0x4735f9)=>(_0x3aca3b,_0x5b33d1)=>_0x4735f9(_0x3aca3b,_0x5b33d1,_0x44c08f);let ie=class extends _0x5b42a6{constructor(_0x3790aa,_0x4c0621,_0x4c0f5f,_0x4e724d,_0x400d91){const _0x103202=_0x3d6112;super(),this[_0x103202(0x126)]=_0x3790aa,this['_logService']=_0x4c0621,this['_commandService']=_0x4c0f5f,this['_dataLoaderService']=_0x4e724d,_0x400d91?_0x400d91==null||_0x400d91[_0x103202(0xd2)]()[_0x103202(0x224)](()=>this[_0x103202(0x170)]()):(this['_logService'][_0x103202(0x1c5)]('[CollaborationDataLoaderController]',_0x103202(0x103)),this[_0x103202(0x170)]());}async[_0x3d6112(0x170)](){const _0x5a24b9=_0x3d6112,_0x37cc6b=this[_0x5a24b9(0x126)]['getParam'](_0x5a24b9(0x22e)),_0x205df7=this[_0x5a24b9(0x126)]['getParam'](_0x5a24b9(0x154)),_0x2e5606=this[_0x5a24b9(0x126)][_0x5a24b9(0x116)](_0x5a24b9(0x237));if(!_0x37cc6b||!_0x205df7){this['_logService'][_0x5a24b9(0x1c5)](_0x5a24b9(0x20a),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0xc4bcbf=await this[_0x5a24b9(0x145)][_0x5a24b9(0x1bf)](_0x37cc6b,Number(_0x205df7),_0x2e5606);_0xc4bcbf&&_0xc4bcbf instanceof _0x1c502f&&this['_setupSubUnitSync'](_0xc4bcbf);}async[_0x3d6112(0x267)](_0x56f8d0){const _0x4995a3=_0x3d6112;await this['_updateSubUnitFromURLParams'](_0x56f8d0),_0x56f8d0[_0x4995a3(0x21d)][_0x4995a3(0x1b4)](_0x972255(this['dispose$']))[_0x4995a3(0xf5)](_0x207b28=>{const _0x3bf1ce=_0x4995a3;_0x207b28&&this[_0x3bf1ce(0x1e1)](_0x207b28);}),this[_0x4995a3(0x126)][_0x4995a3(0x15e)]['pipe'](_0x972255(this[_0x4995a3(0x1ba)]))[_0x4995a3(0xf5)](()=>this[_0x4995a3(0x1ab)](_0x56f8d0));}[_0x3d6112(0x1e1)](_0x3637d7,_0x9291bf=!0x1){const _0x585738=_0x3d6112,_0x497a88=this[_0x585738(0x126)][_0x585738(0x116)]('subunit');_0x3637d7[_0x585738(0x271)]()!==_0x497a88&&this[_0x585738(0x126)][_0x585738(0x1ff)]('subunit',_0x3637d7['getSheetId'](),_0x9291bf);}async[_0x3d6112(0x1ab)](_0x4d0cd0){const _0x1aced6=_0x3d6112;var _0x2467e4;const _0x1d0b61=this[_0x1aced6(0x126)][_0x1aced6(0x116)](_0x1aced6(0x237));if(!_0x1d0b61||!_0x4d0cd0[_0x1aced6(0x150)](_0x1d0b61)){const _0x468766=_0x4d0cd0[_0x1aced6(0x1a5)]()[0x0],_0x17fec8=_0x4d0cd0[_0x1aced6(0x150)](_0x468766);if(!_0x17fec8)return;this[_0x1aced6(0x1e1)](_0x17fec8,!0x0),await this[_0x1aced6(0xf1)]['executeCommand'](_0x11858c['id'],{'unitId':_0x4d0cd0[_0x1aced6(0x10d)](),'subUnitId':_0x468766});return;}((_0x2467e4=_0x4d0cd0[_0x1aced6(0x143)]())==null?void 0x0:_0x2467e4[_0x1aced6(0x271)]())!==_0x1d0b61&&await this[_0x1aced6(0xf1)][_0x1aced6(0x252)](_0x11858c['id'],{'unitId':_0x4d0cd0['getUnitId'](),'subUnitId':_0x1d0b61});}};ie=qi([G(0x0,Ut),G(0x1,_0x1bb699),G(0x2,_0x44b6ac),G(0x3,_0x377ebc(_0x53f527)),G(0x4,_0xf1a2cb(_0x21401e))],ie);var en=Object[_0x3d6112(0xad)],tn=(_0x1ce3d7,_0x5a974e,_0x2cbf3c,_0x29128b)=>{const _0x1862bb=_0x3d6112;for(var _0x5e3d3a=_0x29128b>0x1?void 0x0:_0x29128b?en(_0x5a974e,_0x2cbf3c):_0x5a974e,_0x3438cb=_0x1ce3d7[_0x1862bb(0x1e9)]-0x1,_0x124fd5;_0x3438cb>=0x0;_0x3438cb--)(_0x124fd5=_0x1ce3d7[_0x3438cb])&&(_0x5e3d3a=_0x124fd5(_0x5e3d3a)||_0x5e3d3a);return _0x5e3d3a;},pe=(_0x4f2290,_0x257f6d)=>(_0xdcff49,_0x46fd89)=>_0x257f6d(_0xdcff49,_0x46fd89,_0x4f2290);let ne=class{constructor(_0x487fca,_0x5922b1,_0xdedd10){const _0x297361=_0x3d6112;this[_0x297361(0xe5)]=_0x487fca,this[_0x297361(0xb5)]=_0x5922b1,this[_0x297361(0x1ed)]=_0xdedd10;}['transformIMECache'](_0x3ccbf1){const _0x1fc8a1=_0x3d6112;this[_0x1fc8a1(0x119)](_0x3ccbf1),this[_0x1fc8a1(0x1c2)](_0x3ccbf1);}[_0x3d6112(0x1c8)](_0x329b1e){const _0x197acd=_0x3d6112,{unitID:_0x34dd13}=_0x329b1e,_0x3a90c7=this[_0x197acd(0x1ed)]['getRenderById'](_0x34dd13)[_0x197acd(0x1bd)](_0x5d4131),{redoCache:_0x1d1a63}=_0x3a90c7['getUndoRedoMutationParamsCache']();if(_0x1d1a63[_0x197acd(0x1e9)]===0x0)return _0x329b1e;let _0x45ee48=_0x7a64af['deepClone'](_0x329b1e['mutations'][0x0]);for(let _0x23bff7=0x0;_0x23bff7<_0x1d1a63[_0x197acd(0x1e9)];_0x23bff7++){const _0x4f1dab={'id':_0x197acd(0x1b8),'params':{..._0x1d1a63[_0x23bff7]}},_0x7e36f5=this[_0x197acd(0xb5)][_0x197acd(0x1fb)](_0x45ee48,_0x4f1dab,!0x1);if(_0x1c1a14(_0x7e36f5))throw _0x7e36f5[_0x197acd(0xa5)];_0x45ee48=_0x7e36f5['m1Prime'];}return{..._0x7a64af['deepClone'](_0x329b1e),'mutations':[_0x45ee48]};}[_0x3d6112(0x119)](_0x5e52a3){const _0xed30db=_0x3d6112,{unitID:_0x21d6a3}=_0x5e52a3,_0xcc6dd3=this['_renderManagerService'][_0xed30db(0xfa)](_0x21d6a3)[_0xed30db(0x1bd)](_0x5d4131),{undoCache:_0x19f398,redoCache:_0x37f543}=_0xcc6dd3['getUndoRedoMutationParamsCache']();if(_0x19f398[_0xed30db(0x1e9)]===0x0||_0x37f543[_0xed30db(0x1e9)]===0x0)return;const _0x534e47=[],_0x64efcf=[];let _0x2d6ac2=_0x7a64af[_0xed30db(0x1b6)](_0x5e52a3[_0xed30db(0xa8)][0x0]),_0x2901f5=_0x7a64af['deepClone'](_0x5e52a3[_0xed30db(0xa8)][0x0]);for(let _0x46eaf5=_0x19f398[_0xed30db(0x1e9)]-0x1;_0x46eaf5>=0x0;_0x46eaf5--){const _0x5ffb46={'id':'doc.mutation.rich-text-editing','params':{..._0x19f398[_0x46eaf5]}},_0x317f35={'id':'doc.mutation.rich-text-editing','params':{..._0x37f543[_0x46eaf5]}},_0x444c8f=this[_0xed30db(0xb5)][_0xed30db(0x1fb)](_0x2d6ac2,_0x5ffb46,!0x1),_0xd22acd=this[_0xed30db(0xb5)][_0xed30db(0x1fb)](_0x2901f5,_0x317f35,!0x1);if(_0x1c1a14(_0x444c8f))throw _0x444c8f[_0xed30db(0xa5)];if(_0x1c1a14(_0xd22acd))throw _0xd22acd[_0xed30db(0xa5)];_0x534e47[_0xed30db(0x113)](_0x444c8f[_0xed30db(0x1d1)][_0xed30db(0x96)]),_0x64efcf[_0xed30db(0x113)](_0xd22acd[_0xed30db(0x1d1)][_0xed30db(0x96)]),_0x2d6ac2=_0x444c8f['m1Prime'],_0x2901f5=_0xd22acd[_0xed30db(0x124)];}_0xcc6dd3['setUndoRedoMutationParamsCache']({'undoCache':_0x534e47,'redoCache':_0x64efcf});}['_transformPreviousActiveRange'](_0x1f36be){const _0x23611b=_0x3d6112,{unitID:_0x49bff3}=_0x1f36be,_0x6fa04c=this[_0x23611b(0x1ed)][_0x23611b(0xfa)](_0x49bff3)[_0x23611b(0x1bd)](_0x5d4131),_0x5c0219=_0x6fa04c[_0x23611b(0x122)]();if(_0x5c0219==null)return;const _0x12702d=[{'id':_0x23611b(0x1b8),'params':{'unitId':_0x1f36be[_0x23611b(0x155)],'actions':null,'textRanges':[_0x5c0219]}}],_0x3adbae=this[_0x23611b(0xb5)][_0x23611b(0x269)](_0x1f36be,_0x12702d);if(!_0x43ef65(_0x3adbae))throw _0x3adbae[_0x23611b(0xa5)];const _0x59a47d=_0x3adbae['m2Prime'][0x0]['params'][_0x23611b(0x151)];Array[_0x23611b(0x1d7)](_0x59a47d)&&_0x59a47d[_0x23611b(0x1e9)]&&_0x6fa04c[_0x23611b(0xd5)](_0x59a47d[0x0]);}};ne=tn([pe(0x0,_0x377ebc(_0x18407a)),pe(0x1,_0x4161cd),pe(0x2,_0x1be675)],ne);var sn=Object[_0x3d6112(0xad)],nn=(_0x50bbd7,_0x27ba41,_0x2ffb34,_0x1f9cec)=>{const _0x21e940=_0x3d6112;for(var _0x46671f=_0x1f9cec>0x1?void 0x0:_0x1f9cec?sn(_0x27ba41,_0x2ffb34):_0x27ba41,_0x4626f3=_0x50bbd7[_0x21e940(0x1e9)]-0x1,_0x369e1b;_0x4626f3>=0x0;_0x4626f3--)(_0x369e1b=_0x50bbd7[_0x4626f3])&&(_0x46671f=_0x369e1b(_0x46671f)||_0x46671f);return _0x46671f;},Ce=(_0x1e6f1f,_0x295414)=>(_0x5e8939,_0x19f489)=>_0x295414(_0x5e8939,_0x19f489,_0x1e6f1f);let re=class{constructor(_0x936fc3,_0x1b10f9,_0xb2acc9){const _0x515bdd=_0x3d6112;this[_0x515bdd(0xe5)]=_0x936fc3,this[_0x515bdd(0xb5)]=_0x1b10f9,this[_0x515bdd(0x225)]=_0xb2acc9;}[_0x3d6112(0xc5)](_0x5e7142){const _0x564797=_0x3d6112;this[_0x564797(0x17f)](_0x5e7142);}[_0x3d6112(0x1c8)](_0x4bed6f){const _0x2d3773=_0x3d6112,{unitID:_0x1b8f1a}=_0x4bed6f,{collaboration:_0x31307a}=this[_0x2d3773(0x225)][_0x2d3773(0x172)](_0x1b8f1a);if(_0x31307a[_0x2d3773(0x1e9)]===0x0)return _0x4bed6f;let _0x2b07be=_0x7a64af[_0x2d3773(0x1b6)](_0x4bed6f['mutations'][0x0]);for(let _0x1a1133=0x0;_0x1a1133<_0x31307a[_0x2d3773(0x1e9)];_0x1a1133++){const _0x1a1c48={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x31307a[_0x1a1133][_0x2d3773(0x9f)],..._0x31307a[_0x1a1133]['redoState']}},_0x22532f=this[_0x2d3773(0xb5)][_0x2d3773(0x1fb)](_0x2b07be,_0x1a1c48,!0x1);if(_0x1c1a14(_0x22532f))throw _0x22532f['error'];_0x2b07be=_0x22532f[_0x2d3773(0x124)];}return{..._0x7a64af[_0x2d3773(0x1b6)](_0x4bed6f),'mutations':[_0x2b07be]};}['_transformHistoryAndStateStack'](_0x2d1397){const _0x48fe85=_0x3d6112,{unitID:_0x104d15}=_0x2d1397,{history:_0xc9934f,collaboration:_0x150a34}=this['_docStateChangeManagerService'][_0x48fe85(0x172)](_0x104d15);if(_0xc9934f[_0x48fe85(0x1e9)]===0x0&&_0x150a34['length']===0x0)return;const _0x3d411e=[],_0x4ba202=[];let _0x10262e=_0x7a64af[_0x48fe85(0x1b6)](_0x2d1397[_0x48fe85(0xa8)][0x0]),_0x10e732=_0x7a64af[_0x48fe85(0x1b6)](_0x2d1397[_0x48fe85(0xa8)][0x0]);for(let _0x1f2ee9=_0xc9934f[_0x48fe85(0x1e9)]-0x1;_0x1f2ee9>=0x0;_0x1f2ee9--){const _0xc2fe9f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xc9934f[_0x1f2ee9]['unitId'],..._0xc9934f[_0x1f2ee9][_0x48fe85(0xf8)]}},_0x2338f1={'id':_0x48fe85(0x1b8),'params':{'unitId':_0xc9934f[_0x1f2ee9]['unitId'],..._0xc9934f[_0x1f2ee9][_0x48fe85(0xf0)]}},_0xb2f8c1=this[_0x48fe85(0xb5)]['transformMutation'](_0x10262e,_0xc2fe9f,!0x1),_0x152e87=this[_0x48fe85(0xb5)][_0x48fe85(0x1fb)](_0x10e732,_0x2338f1,!0x1);if(_0x1c1a14(_0xb2f8c1))throw _0xb2f8c1[_0x48fe85(0xa5)];if(_0x1c1a14(_0x152e87))throw _0x152e87[_0x48fe85(0xa5)];_0x3d411e['unshift']({..._0xc9934f[_0x1f2ee9],'undoState':_0xb2f8c1[_0x48fe85(0x1d1)][_0x48fe85(0x96)],'redoState':_0x152e87[_0x48fe85(0x1d1)][_0x48fe85(0x96)]}),_0x10262e=_0xb2f8c1[_0x48fe85(0x124)],_0x10e732=_0x152e87[_0x48fe85(0x124)];}_0x10262e=_0x7a64af[_0x48fe85(0x1b6)](_0x2d1397[_0x48fe85(0xa8)][0x0]),_0x10e732=_0x7a64af[_0x48fe85(0x1b6)](_0x2d1397[_0x48fe85(0xa8)][0x0]);for(let _0x9a2a86=_0x150a34[_0x48fe85(0x1e9)]-0x1;_0x9a2a86>=0x0;_0x9a2a86--){const _0x188236={'id':_0x48fe85(0x1b8),'params':{'unitId':_0x150a34[_0x9a2a86]['unitId'],..._0x150a34[_0x9a2a86][_0x48fe85(0xf8)]}},_0x423a2e={'id':_0x48fe85(0x1b8),'params':{'unitId':_0x150a34[_0x9a2a86][_0x48fe85(0x9f)],..._0x150a34[_0x9a2a86][_0x48fe85(0xf0)]}},_0x4970c3=this['_transformService']['transformMutation'](_0x10262e,_0x188236,!0x1),_0x5ea005=this[_0x48fe85(0xb5)][_0x48fe85(0x1fb)](_0x10e732,_0x423a2e,!0x1);if(_0x1c1a14(_0x4970c3))throw _0x4970c3[_0x48fe85(0xa5)];if(_0x1c1a14(_0x5ea005))throw _0x5ea005[_0x48fe85(0xa5)];_0x4ba202[_0x48fe85(0x113)]({..._0x150a34[_0x9a2a86],'undoState':_0x4970c3[_0x48fe85(0x1d1)][_0x48fe85(0x96)],'redoState':_0x5ea005[_0x48fe85(0x1d1)][_0x48fe85(0x96)]}),_0x10262e=_0x4970c3['m1Prime'],_0x10e732=_0x5ea005[_0x48fe85(0x124)];}this['_docStateChangeManagerService'][_0x48fe85(0x12c)](_0x104d15,{'history':_0x3d411e,'collaboration':_0x4ba202});}};re=nn([Ce(0x0,_0x377ebc(_0x18407a)),Ce(0x1,_0x4161cd),Ce(0x2,_0x377ebc(_0x29c109))],re);var rn=Object[_0x3d6112(0xad)],on=(_0x49e3a4,_0x572932,_0x3f5809,_0x38f4a0)=>{const _0x2a1bf0=_0x3d6112;for(var _0x5b2034=_0x38f4a0>0x1?void 0x0:_0x38f4a0?rn(_0x572932,_0x3f5809):_0x572932,_0x576ee7=_0x49e3a4[_0x2a1bf0(0x1e9)]-0x1,_0x3c9f04;_0x576ee7>=0x0;_0x576ee7--)(_0x3c9f04=_0x49e3a4[_0x576ee7])&&(_0x5b2034=_0x3c9f04(_0x5b2034)||_0x5b2034);return _0x5b2034;},tt=(_0xd078df,_0x297107)=>(_0x5cd2ab,_0x16b902)=>_0x297107(_0x5cd2ab,_0x16b902,_0xd078df);let oe=class{constructor(_0x57bb1c,_0x4eab3d){const _0x3c206b=_0x3d6112;this[_0x3c206b(0xe5)]=_0x57bb1c,this[_0x3c206b(0xb5)]=_0x4eab3d;}['transformSelections'](_0x4d784e){const _0x2a0962=_0x3d6112;var _0x350118;const _0x38e090=this[_0x2a0962(0xe5)]['get'](_0x26f622),_0x20d23b=(_0x350118=_0x38e090['getDocRanges']())!=null?_0x350118:[];if(_0x20d23b[_0x2a0962(0x1e9)]===0x0)return;const _0x1b5639=_0x4d784e[_0x2a0962(0x155)],_0x411b3a=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1b5639,'actions':null,'textRanges':_0x20d23b}}],_0x2f07a8=this['_transformService'][_0x2a0962(0x269)](_0x4d784e,_0x411b3a);if(!_0x43ef65(_0x2f07a8))throw _0x2f07a8[_0x2a0962(0xa5)];const _0x1e6bd3=_0x2f07a8[_0x2a0962(0x1d1)][0x0]['params']['textRanges'];Array[_0x2a0962(0x1d7)](_0x1e6bd3)&&_0x1e6bd3['length']&&_0x38e090[_0x2a0962(0x236)](_0x1e6bd3,{'unitId':_0x1b5639,'subUnitId':_0x1b5639},!0x1);}};oe=on([tt(0x0,_0x377ebc(_0x18407a)),tt(0x1,_0x4161cd)],oe);function _0x8a48(){const _0x33f592=['_registerRenderDependencies','post','InsertColCommandId','save','green.600','_updateSubUnitFromURLParams','_lastPointer','PERMISSION_DENIED','tag','collabStatus.offline','InsertRangeMoveDownCommandId','_draw','asObservable','labelPosition','pipe','DeleteRangeMoveUpCommandId','deepClone','[RemoteUniscriptService]:\x20no\x20focused\x20unit','doc.mutation.rich-text-editing','40jdvkmk','dispose$','UNIVER_SHEET','AWAITING','with','getCellPositionByOffset','loadUnit','INVITE_CODE_HAS_BEEN_UES','80555pXjcvu','_transformPreviousActiveRange','add','clipPath','debug','_roomMembers$','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','transformRemoteChangeset','_drawTextRange','LOGIN_FAILED','_colorAssignService','M0\x200H16V16H0z','addObject','SOCKET_FAILED','Unknown\x20user','findNodePositionByCharIndex','m2Prime','from','APPLY_DUPLICATED','show','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','univer-flex\x20univer-items-center','isArray','UPDATE_CURSOR','getRelativeToViewportCoord','event$','_registerDependencies','7590407Tdqlfo','transformIMECache','CONNECTOR_DATA_TOO_LARGE','_syncEditingCollabCursorService','_status$','_updateURLWithCurrentState','_httpService','getOwnPropertySymbols','_docTransformStateCacheService','_unitOnClients','1001931ZtwXCe','collaboration-client.offline-data-not-saved','getTypeOfUnitAdded$','length','hovered','disableLocalCache','_notificationService','_renderManagerService','collabStatus.synced','body','LICENSE_MAX_UNITS_EXCEEDED','createSocket','disposeUnit','0\x200\x2017\x2016','onLocalMutation','MOBILE_HAS_BEEN_BOUND','530042ESRkZC','12bCeVdm','2IbtOlc','current','LICENSE_IMPORT_SIZE_EXCEEDED','transformMutation','displayName','_beforeCloseService','currentSkeleton$','setParam','toRgbString','subscribeEvent','row','_shapes','_session','getCurrentRevOfUnit','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_anchorDot','INVITE_CODE_REQUIRED','roomMembers','[CollaborationDataLoaderController]','collabStatus.fetchMiss','eventID','pluginName','WECHAT_HAS_BEEN_BOUND','_name','endRow','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','_doCreateSocket','_saveTaskMap','min','string','getSkeleton','location','_messageService','214182weUKKa','href','INVALID_ARGUMENT','_cursors','activeSheet$','NO_OTHER_CLIENTS_EDITING','FETCH_MISS','saveTaskMap','getFocusedUnit','children','SNAPSHOT_INVALID_SNAPSHOT','then','_docStateChangeManagerService','history','ranges','_sheetSkeletonManagerService','red.300','pushState','translate(.97)','onMouseMove','_scheduleSaving','unit','delete','height','currentTheme$','_getAnchorBounding','SOCKET_FAILED_RETRY','_colorIndex','_drawRectRange','replaceDocRanges','subunit','_onRefRangeChange','startColumn','ALREADY_EXISTS','ticket','_handleHeartbeatEvent','_collaborationUIEventService','_docTransformIMECacheService','registerBeforeClose','memberID','assignAColorForMemberID','session.connection-failed','getRangePointData','ENSURE_SNAPSHOT_EXECUTION','_configService','off-line-single','getMember','substring','idSuffix','NOT_COLLAB','18TLzDbM','RECT','getColorFromTheme','assign','registerRenderModule','entityInit$','Failed','executeCommand','InsertRangeMoveRightCommandId','_refreshCollabCursors','collabCursorState$','path','getTypeOfUnitDisposed$','onCommandExecuted','black','color','application/json','INVITE_CODE_ALREADY_BOUND','div','_memberService','source','next','getCurrent','YUUMI_RATE_OVER_LIMIT','COMPLETION_FINISHED','LICENSE_DISTRO_REJECTED','_imageIoService','isActive','_setupSubUnitSync','_color','transformMutationsWithChangeset','getUnitStatus$','complete','getCollabCursors$','cursorInfo$','LICENSE_EXPORT_SIZE_EXCEEDED','collab-text-range-','_backgroundColor','getSheetId','searchParams','_textBubble','size','_themeService','data','measureText','getItem','_handleHover','onTransformChange$','CHANGESET_REVISION_CONFILICT','OTHER_CLIENT_EDITING','YUUMI_URL_COL_OUT_OF_RANGE','OffLineSingle','xlink:href','jiqing.500','_labelPosition','clearTimeout','icon','_updateCollabCursors','_scheduleClearOtherTimer','_render','search','call','runId','_clearOtherTimers','width','_onCursorUpdate','_updateLocalCursor','OFFLINE','unsubscribe','getMemberID','params','onPointerEnter$','getCurrentSelections','collabStatus.syncing','resize','extend','_handleLeaveEvent','replace','_initResize','unitId','1em','result','_cursorInfo$','getValue','collab-rect-range-','error','sessionStatus$','dispose','mutations','_handleEvent','MUTATION','_localeService','name','getOwnPropertyDescriptor','evenodd','replaceState','loadOfflineData','Warning','sheetId','origin','flatMap','_transformService','onPointerLeave$','TOO_MANY_REQUESTS','hide','_saveCache','some','updateOfflineData','round','currentColor','_localCacheService','_range','_cachedData','UNAUTHENTICATED','indexOf','JOIN_ROOM_FAILED','status$','transformStateCache','find','off-line-single_clip0_910_343','_localStorageService','FromArray','stringify','endColumn','startsWith','_cursorShapes','imageSourceType','mask','createInstance','_collabCursorState$','whenReady','selection','on-line-single_clip0_910_349','setActiveRange','code','_assignedColors','get','invokeId','column','newValue','values','_selfUnitIDs','registerRefRange','isEditing','_hideTimer','_initStatusListener','font','fill','318lDFBwa','_injector','roomMembers$','_uiPartsService','SNAPSHOT_HAS_BEEN_REMOVED','setShapeProps','onStarting','YUUMI_AI_RUN_FAILED','trim','executionId','restore','APPLY_REJECT','redoState','_commandService','_toggleOffline','_removeCollabCursors','fillRule','subscribe','RemoveRowCommandId','forEach','undoState','setAlpha','getRenderById','none','_startDocCollabCursor','addEventListener','_removeClearOtherTimer','_eventUnsubscribe','_entities','attrs','_initDependencies','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','#fff','TEXT','...','CONFLICT','text','closePath','runOnServer','on-line-single','1436470SWoaFB','getUnitId','_initCommandExecutedListener','INTERNAL_ERROR','MoveRangeCommandId','selections','push','unshift','YUUMI_ALL_TABLES_IS_INVALID','UNIVER_DOC','getParam','_collaborationController','_heartbeatTimer','_transformUndoRedoStack','_handleJoinEvent','moveTo','session.collaboration-timeout','UNDEFINED','_docSkeletonManagerService','map','_docSyncEditingCollabCursorService','disposeWithMe','getActiveRange','collaboration.closeRoom','m1Prime','_initStatusComponent','_urlService','0\x200\x2016\x2016','unload','send','_getSessionTicket','set','setStateCache','_send','arc','YUUMI_ASYNCIO_CANCELLED','VIEW_MAIN','_config','skeleton','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','blue.400','random','ACTIVE_UNIT_EVENT_CHANNEL','UniverIcon','defs','cursorInfo','_cursor','_toggleOnline','key','range','triggerDblclick','getAncestorScale','_id','concat','subUnitId','getActiveSheet','className','_dataLoaderService','OnLineSingle','fillText','addObjects','_disabled','saveOfflineData','exhaustSavingTask','backgroundColor','generateRandomId','colorChannel1','drawWith','getSheetBySheetId','textRanges','APPLY_NON_SEQUENTIAL_REVISION','_startSheetCollabCursor','type','unitID','getCurrentUnitForType','YUUMI_SUBSCRIPTION_NOT_FOUND','storage','YUUMI_NO_CUBOID_FOR_QUESTION','univerjs-icon\x20univerjs-icon-','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','ONLINE','EMAIL_HAS_BEEN_BOUND','urlChange$','_getSaveTimeout','_hovered','onPointerMove$','toString','_unitStatus','PENDING','_hover','_collabSessionService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_univerInstanceService','transformSelections','Error','_getSheetObject','defineProperty','17535700QIdFmW','propertyIsEnumerable','_docClipboardService','_init','url(#on-line-single_clip0_910_349)','getStateCache','split','has','_instanceService','lineTo','USER_NOT_INVITED_CODE','defIds','all','APPLY_PERMISSION_DENIED','session.will-retry','USERS_LEAVE','getConfig','_docSkeleton','_transformHistoryAndStateStack','init','_collabCursorController','PY_RUNTIME_SCRIPT_ERROR','univer-flex\x20univer-mr-2\x20univer-text-xl','NOT_FOUND','_createSocketURL','fillStyle','prototype','_anchor','_onCursorDelete','_context','16PHRuOq','contains','focused$','clearInterval','INVALID_INVITE_CODE','function','actions','requireSession','syncEditingCollabCursor','_scene','apply','max','svg','rgba(255,\x20255,\x20255,\x200.01)','hasOwnProperty','YUUMI_UNABLE_LOAD_URL','_ensureSubject','_drawAnchor','_getScale','_online','_entityInit$','UNRECOGNIZED','_initEntityListener','OTHER_CLIENTS_EDITING','setItem','collabStatus.conflict','getUnhiddenWorksheets'];_0x8a48=function(){return _0x33f592;};return _0x8a48();}var an=Object[_0x3d6112(0xad)],cn=(_0x2993c4,_0x324be8,_0x587409,_0x528755)=>{const _0x204d39=_0x3d6112;for(var _0x468536=_0x528755>0x1?void 0x0:_0x528755?an(_0x324be8,_0x587409):_0x324be8,_0x4fd4d6=_0x2993c4[_0x204d39(0x1e9)]-0x1,_0x357e00;_0x4fd4d6>=0x0;_0x4fd4d6--)(_0x357e00=_0x2993c4[_0x4fd4d6])&&(_0x468536=_0x357e00(_0x468536)||_0x468536);return _0x468536;},U=(_0x19434e,_0x56519c)=>(_0x46f5ba,_0x4068ef)=>_0x56519c(_0x46f5ba,_0x4068ef,_0x19434e);let ae=class extends _0x4247c1{constructor(_0x1b7e46,_0x2d3aaf,_0x39328d,_0x566057,_0x443a85,_0x60a1bb,_0xe52c40,_0x19d489){const _0x159de9=_0x3d6112;super(),_(this,_0x159de9(0x1e0),new _0x5c61df(_0x2623c5['NOT_COLLAB'])),(this[_0x159de9(0x225)]=_0x1b7e46,this[_0x159de9(0x117)]=_0x2d3aaf,this[_0x159de9(0x23e)]=_0x39328d,this[_0x159de9(0x1e4)]=_0x566057,this['_docTransformSelectionsService']=_0x443a85,this[_0x159de9(0x120)]=_0x60a1bb,this['_messageService']=_0xe52c40,this[_0x159de9(0xab)]=_0x19d489,this[_0x159de9(0x1a1)]());}['_initEntityListener'](){const _0x9d2b1c=_0x3d6112;this[_0x9d2b1c(0x121)](this[_0x9d2b1c(0x117)][_0x9d2b1c(0x250)][_0x9d2b1c(0xf5)](_0x5c7b05=>{const _0x29abc2=_0x9d2b1c,_0x367559=this[_0x29abc2(0x225)]['docStateChange$']['subscribe'](_0x198a16=>{const _0x5a1189=_0x29abc2;if(_0x198a16==null)return;const {unitId:_0x4fc96a,redoState:_0x2c32f6,commandId:_0x7a0d49}=_0x198a16;if(_0x4fc96a!==_0x5c7b05[_0x5a1189(0x155)])return;const _0x48fcb2={'id':_0x7a0d49,'type':_0x1245ed[_0x5a1189(0xaa)],'params':{'unitId':_0x4fc96a,'actions':_0x2c32f6[_0x5a1189(0x191)],'textRanges':null}};_0x5c7b05[_0x5a1189(0x1f4)](_0x48fcb2);});if(_0x5c7b05['disposeWithMe'](_0x367559),_0x5c7b05 instanceof _0x53f2c4){const _0x533a2c={'onTransformIME':_0xcf45ba=>this[_0x29abc2(0x23e)][_0x29abc2(0x1dd)](_0xcf45ba),'onTransformState':_0x16a5ef=>this['_docTransformStateCacheService']['transformStateCache'](_0x16a5ef),'onTransformSelections':_0x10cc3e=>this['_docTransformSelectionsService'][_0x29abc2(0x169)](_0x10cc3e),'onSyncEditingCollabCursor':_0x594b41=>this['_docSyncEditingCollabCursorService'][_0x29abc2(0x193)](_0x594b41),'onTransformRemoteChangesetByIMECache':_0x3babc4=>this['_docTransformIMECacheService'][_0x29abc2(0x1c8)](_0x3babc4),'onTransformRemoteChangesetByStateCache':_0x3df546=>this[_0x29abc2(0x1e4)]['transformRemoteChangeset'](_0x3df546)};_0x5c7b05['addHandlerCallback'](_0x533a2c);}}));}};ae=cn([U(0x0,_0x377ebc(_0x29c109)),U(0x1,_0x377ebc(_0xaf5c2f)),U(0x2,_0x377ebc(ne)),U(0x3,_0x377ebc(re)),U(0x4,_0x377ebc(oe)),U(0x5,_0x377ebc(He)),U(0x6,_0x2c7eb3),U(0x7,_0x377ebc(_0x3a12f7))],ae);var ln=Object[_0x3d6112(0xad)],_n=(_0x2d8971,_0x3ecf2f,_0x51d327,_0x4726f5)=>{const _0x4a5d02=_0x3d6112;for(var _0x4e705f=_0x4726f5>0x1?void 0x0:_0x4726f5?ln(_0x3ecf2f,_0x51d327):_0x3ecf2f,_0xa6641f=_0x2d8971[_0x4a5d02(0x1e9)]-0x1,_0x59f0cb;_0xa6641f>=0x0;_0xa6641f--)(_0x59f0cb=_0x2d8971[_0xa6641f])&&(_0x4e705f=_0x59f0cb(_0x4e705f)||_0x4e705f);return _0x4e705f;},Ee=(_0x7d3e6b,_0x48ae92)=>(_0x4bf39d,_0x1b6278)=>_0x48ae92(_0x4bf39d,_0x1b6278,_0x7d3e6b);let we=class extends _0x4247c1{constructor(_0x5767d2,_0xa0417c,_0x350a88){const _0x45001a=_0x3d6112;super(),_(this,'_cachedData',new Map()),_(this,_0x45001a(0x213),new Map()),_(this,_0x45001a(0x149),!0x1),(this['_configService']=_0x5767d2,this['_localStorageService']=_0xa0417c,this['_revisionService']=_0x350a88);}[_0x3d6112(0x1eb)](){const _0x309491=_0x3d6112;this[_0x309491(0x149)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get[_0x3d6112(0x220)](){const _0x1f4620=_0x3d6112;return this[_0x1f4620(0x213)];}[_0x3d6112(0xa7)](){const _0x5ee3ad=_0x3d6112;this[_0x5ee3ad(0x14b)]()[_0x5ee3ad(0x224)](()=>super[_0x5ee3ad(0xa7)]());}async[_0x3d6112(0xb0)](_0x232288){const _0x190429=_0x3d6112;return this['_disabled']?null:this[_0x190429(0xc8)][_0x190429(0x7d)](_0x15bc90(_0x232288));}async[_0x3d6112(0x14a)](_0x58a605,_0x1c5ba9){const _0x322ed4=_0x3d6112;return!!this[_0x322ed4(0xc8)][_0x322ed4(0x1a3)](_0x58a605,_0x1c5ba9);}[_0x3d6112(0xbb)](_0x5a419b,_0x536f3b,_0x4909a1,_0x2b12ca){const _0x30921e=_0x3d6112,_0x6f286=this['_revisionService'][_0x30921e(0x205)](_0x5a419b);this['_cachedData'][_0x30921e(0x12b)](_0x5a419b,{'unitID':_0x5a419b,'type':_0x536f3b,'awaitingChangeset':_0x4909a1,'mutations':_0x2b12ca,'rev':_0x6f286}),this[_0x30921e(0x213)]['has'](_0x5a419b)||this[_0x30921e(0x22d)](_0x5a419b);}[_0x3d6112(0x22d)](_0x56d34e){const _0x197749=_0x3d6112,_0x4d7cac=this[_0x197749(0x15f)]();_0x4d7cac===0x0?this[_0x197749(0xb9)](_0x56d34e):this['_saveTaskMap']['set'](_0x56d34e,setTimeout(()=>this[_0x197749(0xb9)](_0x56d34e),_0x4d7cac));}[_0x3d6112(0x15f)](){const _0x30e0d2=_0x3d6112;var _0x596b22;return(_0x596b22=this[_0x30e0d2(0x245)][_0x30e0d2(0x17d)](_0x5d2009))!=null?_0x596b22:_0x37174f;}['_saveCache'](_0x2672cf){const _0x179320=_0x3d6112,_0xe819b1=this[_0x179320(0x213)][_0x179320(0xd8)](_0x2672cf);return _0xe819b1!==void 0x0&&window[_0x179320(0x87)](_0xe819b1),this[_0x179320(0xc8)][_0x179320(0x1a3)](_0x15bc90(_0x2672cf),this[_0x179320(0xc0)][_0x179320(0xd8)](_0x2672cf))['then'](()=>this[_0x179320(0x213)][_0x179320(0x22f)](_0x2672cf));}async[_0x3d6112(0x14b)](){const _0x436156=_0x3d6112,_0x99569a=[];this['_saveTaskMap'][_0x436156(0xf7)]((_0x327622,_0x24e24d)=>{const _0x6223eb=_0x436156;window[_0x6223eb(0x87)](_0x327622),_0x99569a[_0x6223eb(0x112)](this[_0x6223eb(0xb9)](_0x24e24d)[_0x6223eb(0x224)](()=>{const _0x49a112=_0x6223eb;this[_0x49a112(0x213)]['delete'](_0x24e24d);}));}),await Promise[_0x436156(0x179)](_0x99569a);}};we=_n([Ee(0x0,_0x2d2e8c),Ee(0x1,_0x37d46a),Ee(0x2,_0x377ebc(_0x560d08))],we);class hn extends _0x5b42a6{constructor(){const _0x12aec1=_0x3d6112;super(),_(this,_0x12aec1(0x15e)),this[_0x12aec1(0x15e)]=_0x5431f8(window,'popstate')[_0x12aec1(0x1b4)](_0x972255(this['dispose$']),_0x1444bd(0x1),_0x36569d(void 0x0));}[_0x3d6112(0x1ff)](_0x1d30dc,_0x4db7b3,_0x3d12e8=!0x1){const _0x18524d=_0x3d6112,_0x228182=new URL(window[_0x18524d(0x217)][_0x18524d(0x21a)]);_0x228182[_0x18524d(0x272)][_0x18524d(0x12b)](_0x1d30dc,_0x4db7b3),_0x3d12e8?window[_0x18524d(0x226)]['replaceState']('','',_0x228182['toString']()):window[_0x18524d(0x226)][_0x18524d(0x22a)]('','',_0x228182[_0x18524d(0x162)]());}['removeParam'](_0x5e3770,_0x4097e7=!0x1){const _0x45f0aa=_0x3d6112,_0x3e04c5=new URL(window[_0x45f0aa(0x217)]['href']);_0x3e04c5['searchParams'][_0x45f0aa(0x22f)](_0x5e3770),_0x4097e7?window[_0x45f0aa(0x226)][_0x45f0aa(0xaf)]('','',_0x3e04c5[_0x45f0aa(0x162)]()):window[_0x45f0aa(0x226)][_0x45f0aa(0x22a)]('','',_0x3e04c5[_0x45f0aa(0x162)]());}[_0x3d6112(0x116)](_0x333f9e){const _0x324e7e=_0x3d6112;var _0x529394;return(_0x529394=new URL(window[_0x324e7e(0x217)]['href'])[_0x324e7e(0x272)][_0x324e7e(0xd8)](_0x333f9e))!=null?_0x529394:void 0x0;}}var un=Object[_0x3d6112(0x16c)],dn=Object[_0x3d6112(0xad)],fn=(_0x17834e,_0x27441,_0x57417c)=>_0x27441 in _0x17834e?un(_0x17834e,_0x27441,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x57417c}):_0x17834e[_0x27441]=_0x57417c,Sn=(_0x4374de,_0x551417,_0x1dadd3,_0x37c9db)=>{const _0xde4b76=_0x3d6112;for(var _0x52ad01=_0x37c9db>0x1?void 0x0:_0x37c9db?dn(_0x551417,_0x1dadd3):_0x551417,_0x361c54=_0x4374de[_0xde4b76(0x1e9)]-0x1,_0x50751e;_0x361c54>=0x0;_0x361c54--)(_0x50751e=_0x4374de[_0x361c54])&&(_0x52ad01=_0x50751e(_0x52ad01)||_0x52ad01);return _0x52ad01;},Oe=(_0x39e856,_0x2cb8e7)=>(_0x1c9576,_0x1f7d1d)=>_0x2cb8e7(_0x1c9576,_0x1f7d1d,_0x39e856),mn=(_0x135264,_0x4f3a1c,_0x3398c7)=>fn(_0x135264,_0x4f3a1c+'',_0x3398c7);const gn=_0x3d6112(0x133);let Ae=class extends _0x32746a{constructor(_0x30a83a=et,_0x3440ab,_0x3b38ac,_0x2d8cae){const _0x1dec8d=_0x3d6112;super(),this[_0x1dec8d(0x131)]=_0x30a83a,this[_0x1dec8d(0x1ed)]=_0x3440ab,this[_0x1dec8d(0xe5)]=_0x3b38ac,this[_0x1dec8d(0x245)]=_0x2d8cae;const {..._0x3725e4}=_0x5beda5({},et,this[_0x1dec8d(0x131)]);this[_0x1dec8d(0x245)]['setConfig'](Zi,_0x3725e4);}[_0x3d6112(0xea)](){const _0x277eee=_0x3d6112;this[_0x277eee(0x1db)](),this[_0x277eee(0x102)]();}['onRendered'](){const _0x4fe472=_0x3d6112;this[_0x4fe472(0x1a6)]();}[_0x3d6112(0x1db)](){const _0x9a0c3a=_0x3d6112;var _0x211b19;const _0x265d69=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x22f0b6,{'useClass':_0x3f9aec}],[_0x1fd64a,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x3d2f0e(this[_0x9a0c3a(0xe5)],_0x8ac12e(_0x265d69,(_0x211b19=this[_0x9a0c3a(0x131)])==null?void 0x0:_0x211b19['override']));}[_0x3d6112(0x1a6)](){const _0x1011f3=_0x3d6112;this[_0x1011f3(0x121)](this[_0x1011f3(0x1ed)][_0x1011f3(0x24f)](_0x5eb008[_0x1011f3(0x115)],[Pe])),this[_0x1011f3(0x121)](this['_renderManagerService'][_0x1011f3(0x24f)](_0x5eb008[_0x1011f3(0x1bb)],[Le]));}[_0x3d6112(0x102)](){const _0x5a3701=_0x3d6112;_0x1ca206(this[_0x5a3701(0xe5)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x3d6112(0x20d),gn),Ae=Sn([_0x3fce1a(_0x43157e),Oe(0x1,_0x1be675),Oe(0x2,_0x377ebc(_0x18407a)),Oe(0x3,_0x2d2e8c)],Ae);var In=Object[_0x3d6112(0xad)],vn=(_0x14edcc,_0x15f909,_0x585362,_0x824374)=>{const _0x45fff0=_0x3d6112;for(var _0x28e065=_0x824374>0x1?void 0x0:_0x824374?In(_0x15f909,_0x585362):_0x15f909,_0x4c6151=_0x14edcc[_0x45fff0(0x1e9)]-0x1,_0xee45e8;_0x4c6151>=0x0;_0x4c6151--)(_0xee45e8=_0x14edcc[_0x4c6151])&&(_0x28e065=_0xee45e8(_0x28e065)||_0x28e065);return _0x28e065;},K=(_0x551abd,_0x151d99)=>(_0x1542e5,_0x49d513)=>_0x151d99(_0x1542e5,_0x49d513,_0x551abd);let st=class extends _0x564c51{constructor(_0x18368f,_0x3ea9c5,_0x4ed7d2,_0x5de84b,_0x24377d){super(_0x18368f,_0x3ea9c5,_0x4ed7d2,_0x5de84b,_0x24377d);}async[_0x3d6112(0x1f1)](_0x7bfcef){const _0x1bbb81=_0x3d6112,_0x5b03f7=await this[_0x1bbb81(0x12a)](),_0x440d2f=this[_0x1bbb81(0x185)](_0x7bfcef,_0x5b03f7);return this[_0x1bbb81(0x212)](_0x440d2f);}[_0x3d6112(0x185)](_0x575920,_0x30d7e2){const _0x43ba6c=_0x3d6112,_0x33f2ce=typeof window>'u'?new URL(_0x575920):new URL(_0x575920,window[_0x43ba6c(0x217)][_0x43ba6c(0xb3)]);_0x33f2ce[_0x43ba6c(0x272)]['set']('sessionTicket',_0x30d7e2);const _0x534bdd=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x43ba6c(0x8c)]);return _0x534bdd['get'](_0x43ba6c(0x8e))&&_0x33f2ce['searchParams'][_0x43ba6c(0x12b)](_0x43ba6c(0x8e),_0x534bdd[_0x43ba6c(0xd8)]('runId')),_0x33f2ce[_0x43ba6c(0x162)]();}async[_0x3d6112(0x12a)](){const _0x4db112=_0x3d6112;var _0x494b7c,_0x41c730,_0x90301b;const _0x44cff2=this[_0x4db112(0x245)][_0x4db112(0x17d)](_0x5de693),_0x100565=(_0x494b7c=_0x44cff2==null?void 0x0:_0x44cff2['wsSessionTicketUrl'])!=null?_0x494b7c:_0x54f978;return(_0x90301b=(_0x41c730=(await this[_0x4db112(0x1e2)][_0x4db112(0xd8)](_0x100565,{'headers':{'Content-Type':_0x4db112(0x25b)}}))[_0x4db112(0x1ef)])==null?void 0x0:_0x41c730[_0x4db112(0x23b)])!=null?_0x90301b:'';}};st=vn([K(0x0,_0x377ebc(_0x18407a)),K(0x1,_0x377ebc(_0x5229c9)),K(0x2,_0x2d2e8c),K(0x3,_0x1bb699),K(0x4,_0x5434b9)],st);const it=0x7530,nt=_0x3d6112(0x136);class jn extends _0x4247c1{constructor(){const _0x435ea=_0x3d6112;super(),_(this,_0x435ea(0x140),_0x4a3ad7()),_(this,'_selfUnitIDs',new Set()),_(this,_0x435ea(0x1e5),new Map()),_(this,_0x435ea(0x118),null),_(this,'_clearOtherTimers',new Map()),_(this,_0x435ea(0x163),new Map()),this['_init']();}[_0x3d6112(0xa7)](){const _0x5ae272=_0x3d6112;super['dispose'](),this[_0x5ae272(0x8f)][_0x5ae272(0xf7)]((_0xa8955a,_0x23eabf)=>this[_0x5ae272(0xfe)](_0x23eabf)),this[_0x5ae272(0x118)]&&window['clearInterval'](this[_0x5ae272(0x118)]);}[_0x3d6112(0x26a)](_0x123ccf){const _0x2fb6f2=_0x3d6112;return this['_ensureSubject'](_0x123ccf)[_0x2fb6f2(0x1b4)](_0x484b49());}['editingUnit'](_0x51f612){const _0x3801b9=_0x3d6112;this[_0x3801b9(0xdd)][_0x3801b9(0x274)]===0x0&&this['_scheduleHeartbeat'](),this[_0x3801b9(0xdd)]['add'](_0x51f612),this[_0x3801b9(0x12d)]({'type':0x0,'memberID':this[_0x3801b9(0x140)],'unitIDs':[_0x51f612],'isForwarded':!0x1});}[_0x3d6112(0x1f2)](_0x3b1083){const _0x2a4513=_0x3d6112;this['_selfUnitIDs'][_0x2a4513(0x22f)](_0x3b1083),this[_0x2a4513(0xdd)][_0x2a4513(0x274)]===0x0&&this['_heartbeatTimer']&&window[_0x2a4513(0x18e)](this[_0x2a4513(0x118)]);}[_0x3d6112(0x170)](){const _0x277683=_0x3d6112;this[_0x277683(0x121)](_0x31eaac(_0x5431f8(window,_0x277683(0x158))[_0x277683(0xf5)](_0x5e3c8d=>{const _0x19b3a4=_0x277683;if(_0x5e3c8d[_0x19b3a4(0x13c)]!==nt||!_0x5e3c8d[_0x19b3a4(0xdb)])return;const _0x261fb1=JSON['parse'](_0x5e3c8d[_0x19b3a4(0xdb)]);this['_handleEvent'](_0x261fb1);}))),window[_0x277683(0xfd)](_0x277683(0x128),()=>this['_send']({'type':0x1,'memberID':this[_0x277683(0x140)],'unitIDs':Array['from'](this[_0x277683(0xdd)])}));}[_0x3d6112(0xa9)](_0x146eaf){const _0x580065=_0x3d6112;switch(_0x146eaf[_0x580065(0x154)]){case 0x0:this[_0x580065(0x11a)](_0x146eaf);break;case 0x1:this[_0x580065(0x9c)](_0x146eaf);break;case 0x2:this[_0x580065(0x23c)](_0x146eaf);break;}}[_0x3d6112(0x11a)](_0xfa47d5){const _0x142234=_0x3d6112,{unitIDs:_0x158baf,memberID:_0x5a2748,isForwarded:_0x3712ac}=_0xfa47d5;_0x158baf[_0x142234(0xf7)](_0x486e9b=>{const _0x3addbd=_0x142234;if(!_0x3712ac&&this[_0x3addbd(0x1e5)]['has'](_0x486e9b)&&this[_0x3addbd(0x19b)](_0x486e9b)[_0x3addbd(0x260)](_0x3ce189[_0x3addbd(0x1a2)]),!this['_unitOnClients']['has'](_0x486e9b)||!this[_0x3addbd(0x1e5)]['get'](_0x486e9b)['has'](_0x5a2748)){const _0x4ed0aa=this[_0x3addbd(0x1e5)]['get'](_0x486e9b)||new Set();_0x4ed0aa['add'](_0x5a2748),this[_0x3addbd(0x1e5)][_0x3addbd(0x12b)](_0x486e9b,_0x4ed0aa),this[_0x3addbd(0x8a)](_0x5a2748);}}),_0x3712ac||this[_0x142234(0x12d)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x142234(0xdd)]],'isForwarded':!0x0});}[_0x3d6112(0x8a)](_0xb039a2){const _0x1c763a=_0x3d6112;this[_0x1c763a(0xfe)](_0xb039a2);const _0x511068=window['setTimeout'](()=>{const _0x271a69=_0x1c763a;this[_0x271a69(0x1e5)][_0x271a69(0xf7)](_0x2340fc=>{const _0x2c9977=_0x271a69;_0x2340fc[_0x2c9977(0x22f)](_0xb039a2);});},it*0x2);this[_0x1c763a(0x8f)][_0x1c763a(0x12b)](_0xb039a2,_0x511068);}[_0x3d6112(0xfe)](_0x425a4b){const _0x2d4883=_0x3d6112;if(this[_0x2d4883(0x8f)]['has'](_0x425a4b)){const _0x1336cf=this[_0x2d4883(0x8f)][_0x2d4883(0xd8)](_0x425a4b);_0x1336cf&&window[_0x2d4883(0x87)](_0x1336cf),this[_0x2d4883(0x8f)][_0x2d4883(0x12b)](_0x425a4b,null);}}['_handleLeaveEvent'](_0x55e56a){const _0x5675f2=_0x3d6112,{memberID:_0x2274a8,unitIDs:_0xa8ca9}=_0x55e56a;_0xa8ca9[_0x5675f2(0xf7)](_0x5891b7=>{const _0x51c2aa=_0x5675f2;var _0x38f3fe;const _0x444d2e=this[_0x51c2aa(0x1e5)][_0x51c2aa(0xd8)](_0x5891b7);_0x444d2e&&(_0x444d2e[_0x51c2aa(0x22f)](_0x2274a8),(_0x38f3fe=this['_ensureSubject'](_0x5891b7))==null||_0x38f3fe[_0x51c2aa(0x260)](_0x444d2e['size']===0x0?_0x3ce189['NO_OTHER_CLIENTS_EDITING']:_0x3ce189[_0x51c2aa(0x1a2)]));}),this[_0x5675f2(0xfe)](_0x2274a8);}[_0x3d6112(0x23c)](_0x37bfcf){const _0x3bad95=_0x3d6112;this[_0x3bad95(0x8a)](_0x37bfcf[_0x3bad95(0x240)]);}[_0x3d6112(0x12d)](_0x50549c){const _0x166f0b=_0x3d6112;localStorage[_0x166f0b(0x1a3)](nt,JSON[_0x166f0b(0xca)](_0x50549c));}['_scheduleHeartbeat'](){const _0x2d80c7=_0x3d6112;this[_0x2d80c7(0x118)]=window['setInterval'](()=>{const _0x2e59e7=_0x2d80c7;this[_0x2e59e7(0x12d)]({'type':0x2,'memberID':this['_id']});},it);}['_ensureSubject'](_0x344cb6){const _0x1cf30e=_0x3d6112;return this[_0x1cf30e(0x163)]['has'](_0x344cb6)||this['_unitStatus'][_0x1cf30e(0x12b)](_0x344cb6,new _0x5c61df(_0x3ce189[_0x1cf30e(0x21e)])),this[_0x1cf30e(0x163)]['get'](_0x344cb6);}}var Mt=(_0x44b8d4=>(_0x44b8d4[_0x44b8d4[_0x3d6112(0x11d)]=0x0]=_0x3d6112(0x11d),_0x44b8d4[_0x44b8d4['OK']=0x1]='OK',_0x44b8d4[_0x44b8d4[_0x3d6112(0x10f)]=0x2]='INTERNAL_ERROR',_0x44b8d4[_0x44b8d4[_0x3d6112(0x1ad)]=0x3]=_0x3d6112(0x1ad),_0x44b8d4[_0x44b8d4['NOT_FOUND']=0x4]=_0x3d6112(0x184),_0x44b8d4[_0x44b8d4['UNAUTHENTICATED']=0x5]=_0x3d6112(0xc1),_0x44b8d4[_0x44b8d4[_0x3d6112(0x23a)]=0x6]=_0x3d6112(0x23a),_0x44b8d4[_0x44b8d4[_0x3d6112(0x21b)]=0x7]=_0x3d6112(0x21b),_0x44b8d4[_0x44b8d4[_0x3d6112(0xb7)]=0x8]='TOO_MANY_REQUESTS',_0x44b8d4[_0x44b8d4[_0x3d6112(0x263)]=0x9]=_0x3d6112(0x263),_0x44b8d4[_0x44b8d4[_0x3d6112(0x1ca)]=0xa]=_0x3d6112(0x1ca),_0x44b8d4[_0x44b8d4[_0x3d6112(0x80)]=0x1389]=_0x3d6112(0x80),_0x44b8d4[_0x44b8d4['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x3d6112(0x223),_0x44b8d4[_0x44b8d4[_0x3d6112(0xe8)]=0x1772]=_0x3d6112(0xe8),_0x44b8d4[_0x44b8d4[_0x3d6112(0x244)]=0x1773]=_0x3d6112(0x244),_0x44b8d4[_0x44b8d4[_0x3d6112(0xef)]=0x1b59]=_0x3d6112(0xef),_0x44b8d4[_0x44b8d4['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x3d6112(0x152),_0x44b8d4[_0x44b8d4['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x44b8d4[_0x44b8d4[_0x3d6112(0x17a)]=0x1b5c]=_0x3d6112(0x17a),_0x44b8d4[_0x44b8d4[_0x3d6112(0x1d3)]=0x1b5d]=_0x3d6112(0x1d3),_0x44b8d4[_0x44b8d4[_0x3d6112(0x1de)]=0x1f41]=_0x3d6112(0x1de),_0x44b8d4[_0x44b8d4[_0x3d6112(0x1f0)]=0x2329]=_0x3d6112(0x1f0),_0x44b8d4[_0x44b8d4[_0x3d6112(0x15b)]=0x232a]=_0x3d6112(0x15b),_0x44b8d4[_0x44b8d4[_0x3d6112(0x1fa)]=0x232b]=_0x3d6112(0x1fa),_0x44b8d4[_0x44b8d4[_0x3d6112(0x26e)]=0x232c]=_0x3d6112(0x26e),_0x44b8d4[_0x44b8d4[_0x3d6112(0x264)]=0x232d]=_0x3d6112(0x264),_0x44b8d4[_0x44b8d4['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x3d6112(0x19a),_0x44b8d4[_0x44b8d4[_0x3d6112(0x82)]=0x2712]=_0x3d6112(0x82),_0x44b8d4[_0x44b8d4[_0x3d6112(0x262)]=0x2713]=_0x3d6112(0x262),_0x44b8d4[_0x44b8d4['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x3d6112(0x157),_0x44b8d4[_0x44b8d4['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x3d6112(0x159),_0x44b8d4[_0x44b8d4[_0x3d6112(0x12f)]=0x271b]=_0x3d6112(0x12f),_0x44b8d4[_0x44b8d4[_0x3d6112(0x167)]=0x271c]=_0x3d6112(0x167),_0x44b8d4[_0x44b8d4[_0x3d6112(0x114)]=0x271d]=_0x3d6112(0x114),_0x44b8d4[_0x44b8d4[_0x3d6112(0x206)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x44b8d4[_0x44b8d4['YUUMI_AI_RUN_FAILED']=0x271f]=_0x3d6112(0xeb),_0x44b8d4[_0x44b8d4[_0x3d6112(0x182)]=0x2af9]=_0x3d6112(0x182),_0x44b8d4[_0x44b8d4['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x3d6112(0x1c0),_0x44b8d4[_0x44b8d4[_0x3d6112(0x18f)]=0x2ee2]=_0x3d6112(0x18f),_0x44b8d4[_0x44b8d4['INVITE_CODE_REQUIRED']=0x2ee3]=_0x3d6112(0x208),_0x44b8d4[_0x44b8d4[_0x3d6112(0x177)]=0x2ee4]=_0x3d6112(0x177),_0x44b8d4[_0x44b8d4[_0x3d6112(0x25c)]=0x2ee5]=_0x3d6112(0x25c),_0x44b8d4[_0x44b8d4['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x3d6112(0x20e),_0x44b8d4[_0x44b8d4[_0x3d6112(0x1f5)]=0x32ca]=_0x3d6112(0x1f5),_0x44b8d4[_0x44b8d4[_0x3d6112(0x15d)]=0x32cb]=_0x3d6112(0x15d),_0x44b8d4[_0x44b8d4[_0x3d6112(0x1a0)]=-0x1]=_0x3d6112(0x1a0),_0x44b8d4))(Mt||{}),pn=Object[_0x3d6112(0xad)],Cn=(_0x5785cd,_0x4c2ff1,_0x2902e9,_0x515249)=>{const _0x2ba6c4=_0x3d6112;for(var _0x285e8c=_0x515249>0x1?void 0x0:_0x515249?pn(_0x4c2ff1,_0x2902e9):_0x4c2ff1,_0x2ca7a9=_0x5785cd[_0x2ba6c4(0x1e9)]-0x1,_0x1e4322;_0x2ca7a9>=0x0;_0x2ca7a9--)(_0x1e4322=_0x5785cd[_0x2ca7a9])&&(_0x285e8c=_0x1e4322(_0x285e8c)||_0x285e8c);return _0x285e8c;},be=(_0x897026,_0x39264c)=>(_0x2233e1,_0x3c2d23)=>_0x39264c(_0x2233e1,_0x3c2d23,_0x897026);let rt=class extends _0x4247c1{constructor(_0x559ea4,_0x2d6885,_0x1e67b2){const _0x5aba87=_0x3d6112;super(),this[_0x5aba87(0x175)]=_0x559ea4,this[_0x5aba87(0x1e2)]=_0x2d6885,this[_0x5aba87(0x245)]=_0x1e67b2;}async[_0x3d6112(0x10a)](_0x178373,_0x580e24,_0x3c73c9,..._0x4798ca){const _0x3561db=_0x3d6112;var _0x44d8b8,_0x83e453,_0x557da3,_0x916960;const _0x243f54=this[_0x3561db(0x175)][_0x3561db(0x221)]();if(!_0x243f54)throw new Error(_0x3561db(0x1b7));const _0x12b2c6=((_0x44d8b8=this[_0x3561db(0x245)]['getConfig'](_0x1b51fb))!=null?_0x44d8b8:_0x1c8d1d)+'/'+_0x178373+'/run/'+_0x580e24,_0x1618d0=new URL(window[_0x3561db(0x217)]['href']),_0x28ae85={'scriptId':_0x178373,'runId':(_0x83e453=_0x1618d0[_0x3561db(0x272)][_0x3561db(0xd8)](_0x3561db(0x8e)))!=null?_0x83e453:'','function':_0x580e24,'unitId':_0x243f54[_0x3561db(0x10d)](),'argsOfFunction':JSON[_0x3561db(0xca)](_0x4798ca),'invokeId':(_0x557da3=_0x3c73c9[_0x3561db(0xd9)])!=null?_0x557da3:'','executionId':(_0x916960=_0x3c73c9[_0x3561db(0xed)])!=null?_0x916960:''};try{const _0x597849=await this['_httpService'][_0x3561db(0x1a7)](_0x12b2c6,{'body':_0x28ae85});return _0x597849['body'][_0x3561db(0xa5)]&&_0x597849['body'][_0x3561db(0xa5)][_0x3561db(0xd6)]!==Mt['OK']?_0x3561db(0x251):_0x597849[_0x3561db(0x1ef)][_0x3561db(0xa1)];}catch{return'Failed';}}};rt=Cn([be(0x0,_0x436d21),be(0x1,_0x377ebc(_0x5229c9)),be(0x2,_0x2d2e8c)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
1
+ const _0x4b3101=_0x1eb4;(function(_0x1ac801,_0x46417b){const _0x3c1004=_0x1eb4,_0x354561=_0x1ac801();while(!![]){try{const _0x2b28e4=-parseInt(_0x3c1004(0x218))/0x1+-parseInt(_0x3c1004(0x22f))/0x2+parseInt(_0x3c1004(0x1d6))/0x3*(-parseInt(_0x3c1004(0x30d))/0x4)+parseInt(_0x3c1004(0x257))/0x5+parseInt(_0x3c1004(0x1c7))/0x6*(parseInt(_0x3c1004(0x13a))/0x7)+-parseInt(_0x3c1004(0x143))/0x8*(parseInt(_0x3c1004(0x1f6))/0x9)+parseInt(_0x3c1004(0x235))/0xa*(parseInt(_0x3c1004(0x2e8))/0xb);if(_0x2b28e4===_0x46417b)break;else _0x354561['push'](_0x354561['shift']());}catch(_0x44b841){_0x354561['push'](_0x354561['shift']());}}}(_0x20ca,0x5a1a7));var $t=Object[_0x4b3101(0x1ae)],xt=(_0x3c555b,_0x5cf96c,_0x74aa63)=>_0x5cf96c in _0x3c555b?$t(_0x3c555b,_0x5cf96c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x74aa63}):_0x3c555b[_0x5cf96c]=_0x74aa63,_=(_0x1a1620,_0x55e30d,_0x4ae6cb)=>xt(_0x1a1620,typeof _0x55e30d!=_0x4b3101(0x2ec)?_0x55e30d+'':_0x55e30d,_0x4ae6cb);import{MemberService as _0x427d5d,SessionStatus as _0x2cf5fc,CollaborationSessionService as _0x57af04,CollaborationStatus as _0x1fd667,CollaborationController as _0x146ed1,ILocalCacheService as _0x164d04,CollaborationUIEventService as _0x2b6b49,CollaborationUIEventId as _0x41fed9,DataLoaderService as _0x33dba0,DocCollaborationEntity as _0x2a8014,getLocalCacheKey as _0x214651,LOCAL_CACHE_INTERVAL as _0x190ee2,LOCAL_CACHE_INTERVAL_KEY as _0xe5bac6,UniverCollaborationClientPlugin as _0x13f0fd,CollaborationSocketService as _0xc6486c,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x314741,DEFAULT_WS_SESSION_TICKET_URL as _0x2ebe8b,UnitStatus as _0x4919dc,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x2861a0,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x22e9c5}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x47bff4,Disposable as _0x79b64d,DOC_RANGE_TYPE as _0x3b57fc,Inject as _0x43c406,Injector as _0xab2866,IUniverInstanceService as _0x15da02,ICommandService as _0x50bf78,debounce as _0x38b5c1,Rectangle as _0x457cdc,DisposableCollection as _0x59d3ec,toDisposable as _0x4c94c1,UniverInstanceType as _0x32c954,Tools as _0xa51f61,COLORS as _0x16a9a4,ColorKit as _0x20d019,ThemeService as _0x413de4,fromEventSubject as _0x10f59b,LocaleService as _0x60315a,createIdentifier as _0x1739e2,ILogService as _0x4ce572,Optional as _0x5e61e3,Workbook as _0xa4e2a5,CommandType as _0x138e6a,IConfigService as _0x43fb15,ILocalStorageService as _0x33785b,DependentOn as _0x42cbbe,Plugin as _0x27e0d4,merge as _0x2b6a2d,registerDependencies as _0x5145ae,mergeOverrideWithDependencies as _0x3678fd,touchDependencies as _0x3e1667,generateRandomId as _0x17d706}from'@univerjs/core';import{Shape as _0xd8418d,Rect as _0xb00101,getColor as _0x223dfa,RegularPolygon as _0x16b6cc,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x6df5f4,Vector2 as _0x416952,SHEET_VIEWPORT_KEY as _0x512f2a,IRenderManagerService as _0x85740c}from'@univerjs/engine-render';import{ISocketService as _0x52514f,WebSocketService as _0x21a68c,HTTPService as _0x2b1470}from'@univerjs/network';import{IDocClipboardService as _0x2eb8e1,NodePositionConvertToCursor as _0x38e0f7,NodePositionConvertToRectRange as _0x2dadd0,TEXT_RANGE_LAYER_INDEX as _0x546c8d,SetDocZoomRatioOperation as _0x505713,DocIMEInputManagerService as _0x4c0370,DocStateChangeManagerService as _0x12d2f4}from'@univerjs/docs-ui';import{IImageIoService as _0x5cd99a}from'@univerjs/drawing';import{BehaviorSubject as _0x485a13,debounceTime as _0x137afa,takeUntil as _0x364374,Subject as _0x14ce54,filter as _0x3548f1,switchMap as _0x184868,merge as _0x464825,combineLatest as _0x99cfc6,of as _0x127d0c,fromEvent as _0x10c8be,shareReplay as _0x1f1816,mapTo as _0x2647f4,distinctUntilChanged as _0x27de52}from'rxjs';import{SetTextSelectionsOperation as _0x375346,RichTextEditingMutation as _0x3c1799,DocSelectionManagerService as _0x48f233,DocSkeletonManagerService as _0x35965b}from'@univerjs/docs';import{ITransformService as _0xed2e53,CollaborationEvent as _0x33921f,isTransformMutationFailure as _0x45f25f,isTransformMutationsWithChangesetSuccess as _0x3291bd,RevisionService as _0x191963,ISnapshotServerService as _0x2c5b5c}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x16ddbb,serializeRangeWithSheet as _0x2f2e73}from'@univerjs/engine-formula';import{RefRangeService as _0x1f29b1,SetSelectionsOperation as _0x58dff2,SheetsSelectionsService as _0x1f73fd,EffectRefRangId as _0x295cd0,handleIRemoveRow as _0x569632,handleIRemoveCol as _0x23654f,handleMoveRange as _0x33b264,handleInsertRow as _0x5a495b,handleInsertRangeMoveRight as _0x27a3db,handleInsertRangeMoveDown as _0x205d76,handleInsertCol as _0x3ce1d7,handleDeleteRangeMoveUp as _0x1414bb,handleDeleteRangeMoveLeft as _0x479589,runRefRangeMutations as _0xb522c5,SetWorksheetActivateCommand as _0x4c770a}from'@univerjs/sheets';import{map as _0x132908,filter as _0x135aa8,throttleTime as _0x34ad01,takeUntil as _0x5e64ad,switchMap as _0x3e04d7}from'rxjs/operators';import{SheetSkeletonManagerService as _0x4990fa,getCoordByCell as _0x4038ad,getSheetObject as _0x52bd00}from'@univerjs/sheets-ui';import{jsx as _0x4041d4,jsxs as _0x41f326}from'react/jsx-runtime';import{useObservable as _0x3aa67c,useDependency as _0xfa01b5,IUIPartsService as _0x128a88,BuiltInUIPart as _0x5cf55c,connectInjector as _0x381baa,IBeforeCloseService as _0x56d1bb,IMessageService as _0x4736b1,INotificationService as _0xc5bfab}from'@univerjs/ui';import{Tooltip as _0x12d97d,clsx as _0x4748a2,MessageType as _0xc5a6d9}from'@univerjs/design';import{forwardRef as _0x2a37b9,useRef as _0xc17e21,createElement as _0x214129,useCallback as _0x329941}from'react';import{IRemoteInstanceService as _0x52d4bd}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0x4748d1,_0x586219,_0x2c006a,_0x18bee8)=>{const _0x261056=_0x4b3101;for(var _0x35665a=_0x18bee8>0x1?void 0x0:_0x18bee8?ci(_0x586219,_0x2c006a):_0x586219,_0x41e6e9=_0x4748d1[_0x261056(0x140)]-0x1,_0x5eb861;_0x41e6e9>=0x0;_0x41e6e9--)(_0x5eb861=_0x4748d1[_0x41e6e9])&&(_0x35665a=_0x5eb861(_0x35665a)||_0x35665a);return _0x35665a;},Je=(_0x18506d,_0x338e0a)=>(_0x5e30ac,_0x3f4e0a)=>_0x338e0a(_0x5e30ac,_0x3f4e0a,_0x18506d);let Ne=class extends _0x47bff4{constructor(_0x33e816,_0x5d7703){const _0x31c37a=_0x4b3101;super(),this[_0x31c37a(0x323)]=_0x33e816,this[_0x31c37a(0x313)]=_0x5d7703,this['_init']();}['_init'](){const _0x41270f=_0x4b3101,_0x2e04fb=this;this[_0x41270f(0x26e)](this[_0x41270f(0x323)][_0x41270f(0x133)]({'onBeforePasteImage':async _0x3bf830=>{const _0x35f054=_0x41270f,_0x112755=await _0x2e04fb['_imageIoService'][_0x35f054(0x2b4)](_0x3bf830);return _0x112755?{'source':_0x112755[_0x35f054(0x1cb)],'imageSourceType':_0x112755[_0x35f054(0x2a5)]}:null;}}));}};Ne=li([Je(0x0,_0x2eb8e1),Je(0x1,_0x5cd99a)],Ne);const Ze=[_0x4b3101(0x2f8),_0x4b3101(0x1b1),_0x4b3101(0x303),'red.300',_0x4b3101(0x20a),'yellow.400'];class ke extends _0x79b64d{constructor(){super(...arguments),_(this,'_assignedColors',new Map()),_(this,'_colorIndex',0x0);}[_0x4b3101(0x147)](_0x365fe3){const _0x547e00=_0x4b3101;if(this[_0x547e00(0x23a)][_0x547e00(0x28f)](_0x365fe3))return this[_0x547e00(0x23a)]['get'](_0x365fe3);const _0x4d7f3c=Ze[this[_0x547e00(0x2ed)]];return this['_colorIndex']=(this[_0x547e00(0x2ed)]+0x1)%Ze[_0x547e00(0x140)],this[_0x547e00(0x23a)][_0x547e00(0x330)](_0x365fe3,_0x4d7f3c),_0x4d7f3c;}}function Tt(_0x1f3ac4){const _0x47a965=_0x4b3101;let _0x1b9390='';for(const _0x46d3d9 of _0x1f3ac4){const {startOffset:_0x4fb0e0,endOffset:_0x28ed04,isActive:_0x17f783,rangeType:_0x3e8d1f,segmentId:_0x59edc4,segmentPage:_0x3f3009}=_0x46d3d9;_0x1b9390[_0x47a965(0x140)]&&(_0x1b9390+=','),_0x1b9390+=_0x4fb0e0+':'+_0x28ed04+':'+(_0x17f783?'1':'0')+':'+_0x3e8d1f+':'+_0x59edc4+':'+_0x3f3009;}return _0x1b9390;}function _i(_0x1b2bf0){const _0x2d6c8b=_0x4b3101,_0x264f63=_0x1b2bf0['split'](','),_0x53323f=[];for(const _0x4286a9 of _0x264f63){const [_0x3d24f5,_0x5ca32f,_0x450bcb,_0x3d084c,_0x394a42,_0x2a35c7]=_0x4286a9['split'](':');_0x53323f['push']({'startOffset':Number(_0x3d24f5),'endOffset':Number(_0x5ca32f),'collapsed':_0x3d24f5===_0x5ca32f,'isActive':_0x450bcb==='1','rangeType':_0x3d084c===_0x3b57fc[_0x2d6c8b(0x310)]?_0x3b57fc[_0x2d6c8b(0x310)]:_0x3b57fc[_0x2d6c8b(0x179)],'segmentId':typeof _0x394a42==_0x2d6c8b(0x1a0)?String(_0x394a42):'','segmentPage':Number(_0x2a35c7!=null?_0x2a35c7:-0x1)});}return _0x53323f[_0x2d6c8b(0x290)](_0x1f50e8=>_0x1f50e8[_0x2d6c8b(0x2d6)])||(_0x53323f[0x0][_0x2d6c8b(0x2d6)]=!0x0),_0x53323f;}class He extends _0x47bff4{constructor(){const _0x512af0=_0x4b3101;super(...arguments),_(this,_0x512af0(0x2b6),new _0x485a13(null)),_(this,'collabCursorState$',this[_0x512af0(0x2b6)][_0x512af0(0x1d8)]());}['syncEditingCollabCursor'](_0x244972){const _0x29eb06=_0x4b3101,{unitID:_0x372cb4,memberID:_0x3ec26b,textRanges:_0x193b9e}=_0x244972,_0x135a49=Tt(_0x193b9e);if(_0x135a49==='')return;const _0x5c4d87={'unitID':_0x372cb4,'memberID':_0x3ec26b,'selection':_0x135a49};this[_0x29eb06(0x2b6)][_0x29eb06(0x333)](_0x5c4d87);}}var hi=Object[_0x4b3101(0x18b)],ui=(_0x5d7822,_0x213d29,_0x56f514,_0x5112ba)=>{const _0x287d9e=_0x4b3101;for(var _0x19c95c=_0x5112ba>0x1?void 0x0:_0x5112ba?hi(_0x213d29,_0x56f514):_0x213d29,_0x556bd7=_0x5d7822[_0x287d9e(0x140)]-0x1,_0x161d96;_0x556bd7>=0x0;_0x556bd7--)(_0x161d96=_0x5d7822[_0x556bd7])&&(_0x19c95c=_0x161d96(_0x19c95c)||_0x19c95c);return _0x19c95c;},L=(_0x3e824a,_0x138117)=>(_0x12676e,_0x3ccd18)=>_0x138117(_0x12676e,_0x3ccd18,_0x3e824a);const di=0x12c,fi=0x64;let Ue=class extends _0x47bff4{constructor(_0x9323be,_0x38fe9a,_0xd82d06,_0xace2b6,_0x5d7275,_0x3eca7a,_0x518d32,_0x3054a0,_0x30179d){const _0xc8a16c=_0x4b3101;super(),_(this,_0xc8a16c(0x1a6),!0x1),_(this,_0xc8a16c(0x26f),!0x1),_(this,_0xc8a16c(0x136),new _0x485a13(new Map())),_(this,_0xc8a16c(0x211),this[_0xc8a16c(0x136)]['asObservable']()),_(this,_0xc8a16c(0x324),new _0x485a13([])),_(this,_0xc8a16c(0x189),this[_0xc8a16c(0x324)][_0xc8a16c(0x2e4)](_0x137afa(di))),_(this,_0xc8a16c(0x266),_0x38b5c1(_0xefef9d=>{const _0x53dae5=_0xc8a16c,_0x6fa52e={'eventID':_0x33921f[_0x53dae5(0x177)],'data':{'unitID':this[_0x53dae5(0x1da)],'memberID':this[_0x53dae5(0x146)][_0x53dae5(0x25c)](),'selection':Tt(_0xefef9d)}};this['_session'][_0x53dae5(0x27c)](_0x6fa52e,this[_0x53dae5(0x1da)]);},fi)),(this[_0xc8a16c(0x1da)]=_0x9323be,this[_0xc8a16c(0x146)]=_0x38fe9a,this['_injector']=_0xd82d06,this[_0xc8a16c(0x1ed)]=_0xace2b6,this[_0xc8a16c(0x249)]=_0x5d7275,this[_0xc8a16c(0x2c9)]=_0x3eca7a,this[_0xc8a16c(0x268)]=_0x518d32,this['_univerInstanceService']=_0x3054a0,this['_commandService']=_0x30179d);}get[_0x4b3101(0x14e)](){const _0x5405a4=_0x4b3101;return this['_cursorInfo$'][_0x5405a4(0x2a1)]();}get['roomMembers'](){const _0x47f025=_0x4b3101;return this[_0x47f025(0x324)]['getValue']();}[_0x4b3101(0x2d1)](){const _0xa05474=_0x4b3101;super[_0xa05474(0x2d1)](),this['_cursorInfo$'][_0xa05474(0x333)](new Map()),this[_0xa05474(0x136)]['complete'](),this[_0xa05474(0x324)]['next']([]),this[_0xa05474(0x324)]['complete']();}['init'](){const _0x316eec=_0x4b3101;this[_0x316eec(0x26f)]||(this[_0x316eec(0x26f)]=!0x0,this[_0x316eec(0x146)][_0x316eec(0x1e9)][_0x316eec(0x2e4)](_0x364374(this[_0x316eec(0x30f)]))['subscribe'](_0x3de09b=>{const _0x3203bf=_0x316eec;_0x3de09b===_0x2cf5fc['ONLINE']?this['_toggleOnline']():this[_0x3203bf(0x32f)]();}),this[_0x316eec(0x146)]['event$'][_0x316eec(0x2e4)](_0x364374(this[_0x316eec(0x30f)]))['subscribe'](_0x11ee9d=>{const _0x558e8f=_0x316eec,_0x25f984=_0x11ee9d[_0x558e8f(0x14d)];_0x25f984===_0x33921f[_0x558e8f(0x177)]&&this[_0x558e8f(0x26d)](_0x11ee9d),_0x25f984===_0x33921f[_0x558e8f(0x24e)]&&this['_onCursorDelete'](_0x11ee9d);}),this['disposeWithMe'](this[_0x316eec(0x2f2)]['onCommandExecuted'](_0x5ae7f3=>{const _0x5b62f9=_0x316eec,_0x47f637=_0x5ae7f3['params'];_0x47f637!=null&&this[_0x5b62f9(0x1a6)]&&_0x5ae7f3['id']===_0x375346['id']&&_0x47f637['unitId']===this[_0x5b62f9(0x1da)]&&_0x47f637[_0x5b62f9(0x307)]===!0x1&&_0x47f637['ranges'][_0x5b62f9(0x140)]>0x0&&this[_0x5b62f9(0x266)](_0x47f637[_0x5b62f9(0x309)]);})),this['_syncEditingCollabCursorService'][_0x316eec(0x204)]['pipe'](_0x364374(this[_0x316eec(0x30f)]))[_0x316eec(0x26a)](_0x1a741d=>{const _0x180e40=_0x316eec;if((_0x1a741d==null?void 0x0:_0x1a741d[_0x180e40(0x1da)])!==this[_0x180e40(0x1da)])return;const _0x4c9c2d={'eventID':_0x33921f[_0x180e40(0x177)],'data':_0x1a741d};this['_onCursorUpdate'](_0x4c9c2d);}),this[_0x316eec(0x26e)](this['_commandService'][_0x316eec(0x2c8)](_0x51e080=>{const _0x12d43c=_0x316eec;if(_0x51e080[_0x12d43c(0x17d)]==null)return;const _0x1dfc01=_0x51e080[_0x12d43c(0x17d)];if(_0x51e080['id']!==_0x3c1799['id']||_0x1dfc01[_0x12d43c(0x1de)]!==this[_0x12d43c(0x1da)])return;const _0x5355a2={'id':_0x12d43c(0x1c9),'params':_0x1dfc01},_0x318783=this[_0x12d43c(0x14e)];for(const [_0x37d6d8,_0x2b184d]of _0x318783){const _0x41b050={'id':_0x12d43c(0x1c9),'params':{'unitId':this[_0x12d43c(0x1da)],'actions':null,'textRanges':_0x2b184d[_0x12d43c(0x309)]}},_0x56150d=this[_0x12d43c(0x268)][_0x12d43c(0x162)](_0x5355a2,_0x41b050,!0x1);if(_0x45f25f(_0x56150d))throw _0x56150d['error'];_0x318783[_0x12d43c(0x330)](_0x37d6d8,{..._0x2b184d,'ranges':_0x56150d[_0x12d43c(0x1d2)][_0x12d43c(0x17d)][_0x12d43c(0x1fa)]});}queueMicrotask(()=>{const _0x2898c3=_0x12d43c;this[_0x2898c3(0x136)][_0x2898c3(0x333)](_0x318783);});})));}['_onCursorUpdate'](_0x432823){const _0x281087=_0x4b3101;var _0x5b9a35,_0x2f3e02;const {memberID:_0x1364bc,selection:_0xc7437}=_0x432823[_0x281087(0x2f3)],_0x137848=_i(_0xc7437),_0x254f80=(_0x2f3e02=(_0x5b9a35=this[_0x281087(0x249)][_0x281087(0x234)](this['unitID'],_0x1364bc))==null?void 0x0:_0x5b9a35[_0x281087(0x19e)])!=null?_0x2f3e02:_0x281087(0x2e9),_0x29d6c9={'color':this[_0x281087(0x1ed)]['assignAColorForMemberID'](_0x1364bc),'name':_0x254f80,'ranges':_0x137848},_0x3d5323=this[_0x281087(0x14e)];_0x3d5323[_0x281087(0x330)](_0x1364bc,_0x29d6c9),this[_0x281087(0x136)][_0x281087(0x333)](_0x3d5323);}[_0x4b3101(0x17b)](_0x51b79f){const _0x30167b=_0x4b3101,{memberID:_0x1952d4}=_0x51b79f[_0x30167b(0x2f3)],_0x532578=this['cursorInfo'];_0x532578[_0x30167b(0x260)](_0x1952d4),this['_cursorInfo$']['next'](_0x532578);}['_toggleOnline'](){const _0x516546=_0x4b3101;var _0xaade45;if(this[_0x516546(0x1a6)]=!0x0,((_0xaade45=this[_0x516546(0x21f)]['getFocusedUnit']())==null?void 0x0:_0xaade45[_0x516546(0x193)]())!==this[_0x516546(0x1da)])return;const _0x51a358=this[_0x516546(0x22a)][_0x516546(0x2c7)](_0x48f233)['getDocRanges']();Array['isArray'](_0x51a358)&&_0x51a358[_0x516546(0x140)]>0x0&&this[_0x516546(0x266)](_0x51a358);}[_0x4b3101(0x32f)](){this['_online']=!0x1;}};Ue=ui([L(0x2,_0x43c406(_0xab2866)),L(0x3,_0x43c406(ke)),L(0x4,_0x43c406(_0x427d5d)),L(0x5,_0x43c406(He)),L(0x6,_0xed2e53),L(0x7,_0x15da02),L(0x8,_0x50bf78)],Ue);var Si=Object[_0x4b3101(0x18b)],mi=(_0x2e39dd,_0xdcf0ea,_0x1dfae5,_0x182fcf)=>{for(var _0x428d4a=_0x182fcf>0x1?void 0x0:_0x182fcf?Si(_0xdcf0ea,_0x1dfae5):_0xdcf0ea,_0xe0f9e2=_0x2e39dd['length']-0x1,_0x518a21;_0xe0f9e2>=0x0;_0xe0f9e2--)(_0x518a21=_0x2e39dd[_0xe0f9e2])&&(_0x428d4a=_0x518a21(_0x428d4a)||_0x428d4a);return _0x428d4a;},x=(_0x132051,_0x3714c4)=>(_0x35d81e,_0x51c4c2)=>_0x3714c4(_0x35d81e,_0x51c4c2,_0x132051);const gi=0x12c,Ii=0x64,vi=()=>{let _0x30e07e=[],_0x323bd0=!0x1;return _0x21c378=>{_0x30e07e['push'](_0x21c378),_0x323bd0||(_0x323bd0=!0x0,setTimeout(()=>{const _0x3f8792=_0x1eb4;_0x30e07e[_0x3f8792(0x16f)](_0x43ac39=>_0x43ac39()),_0x30e07e=[],_0x323bd0=!0x1;}));};};let Me=class extends _0x47bff4{constructor(_0x9724a4,_0x3cb946,_0x103c1f,_0x179786,_0x39735f,_0x1ee59d,_0x1cd45d,_0x72383f){const _0x574674=_0x4b3101;super(),_(this,'_online',!0x1),_(this,_0x574674(0x26f),!0x1),_(this,_0x574674(0x136),new _0x485a13(new Map())),_(this,'cursorInfo$',this['_cursorInfo$']['asObservable']()),_(this,_0x574674(0x324),new _0x485a13([])),_(this,_0x574674(0x189),this[_0x574674(0x324)][_0x574674(0x2e4)](_0x137afa(gi))),_(this,_0x574674(0x266),_0x38b5c1((_0x35970d,_0x444d1f)=>{const _0x263431=_0x574674,_0x326bc6={'eventID':_0x33921f['UPDATE_CURSOR'],'data':{'unitID':this[_0x263431(0x1da)],'memberID':this[_0x263431(0x146)][_0x263431(0x25c)](),'selection':_0x2f2e73(_0x35970d,_0x444d1f[_0x263431(0x22e)])}};this[_0x263431(0x146)][_0x263431(0x27c)](_0x326bc6,this[_0x263431(0x1da)]);},Ii)),(this[_0x574674(0x1da)]=_0x9724a4,this[_0x574674(0x146)]=_0x3cb946,this[_0x574674(0x22a)]=_0x103c1f,this[_0x574674(0x1ed)]=_0x179786,this[_0x574674(0x249)]=_0x39735f,this[_0x574674(0x21f)]=_0x1ee59d,this[_0x574674(0x2f2)]=_0x1cd45d,this['_refRangeService']=_0x72383f);}get[_0x4b3101(0x14e)](){const _0x5c32e8=_0x4b3101;return this[_0x5c32e8(0x136)][_0x5c32e8(0x2a1)]();}get[_0x4b3101(0x28e)](){const _0x409c12=_0x4b3101;return this['_roomMembers$'][_0x409c12(0x2a1)]();}[_0x4b3101(0x2d1)](){const _0x195e31=_0x4b3101;super[_0x195e31(0x2d1)](),this[_0x195e31(0x136)][_0x195e31(0x333)](new Map()),this['_cursorInfo$']['complete'](),this['_roomMembers$'][_0x195e31(0x333)]([]),this[_0x195e31(0x324)][_0x195e31(0x1e1)]();}[_0x4b3101(0x2d8)](){const _0x405755=_0x4b3101;this['_init']||(this[_0x405755(0x26f)]=!0x0,this[_0x405755(0x146)][_0x405755(0x1e9)][_0x405755(0x2e4)](_0x364374(this[_0x405755(0x30f)]))[_0x405755(0x26a)](_0x45d5ea=>{const _0xc04558=_0x405755;_0x45d5ea===_0x2cf5fc['ONLINE']?this['_toggleOnline']():this[_0xc04558(0x32f)]();}),this[_0x405755(0x146)][_0x405755(0x1c3)][_0x405755(0x2e4)](_0x364374(this[_0x405755(0x30f)]))[_0x405755(0x26a)](_0x172e65=>{const _0x38a98f=_0x405755,_0x455e1f=_0x172e65[_0x38a98f(0x14d)];_0x455e1f===_0x33921f[_0x38a98f(0x177)]&&this[_0x38a98f(0x26d)](_0x172e65),_0x455e1f===_0x33921f[_0x38a98f(0x24e)]&&this[_0x38a98f(0x17b)](_0x172e65);}),this['_onRefRangeChange'](),this[_0x405755(0x26e)](this[_0x405755(0x2f2)][_0x405755(0x2c8)](_0x279be3=>{const _0x51a2fa=_0x405755;if(this[_0x51a2fa(0x1a6)]&&_0x279be3['id']===_0x58dff2['id']&&_0x279be3[_0x51a2fa(0x17d)]['unitId']===this['unitID']){const _0x1c96d2=_0x279be3[_0x51a2fa(0x17d)];this[_0x51a2fa(0x266)](_0x1c96d2[_0x51a2fa(0x2ef)],_0x1c96d2['selections'][0x0]);}})));}[_0x4b3101(0x26d)](_0x280e5c){const _0x1df0be=_0x4b3101;var _0x3d940f,_0x302a45;const {memberID:_0x2a9cfa,selection:_0x4a8621}=_0x280e5c['data'],{sheetName:_0x40a1d7,range:_0x32d62f}=_0x16ddbb(_0x4a8621),_0x37f6d9={'name':(_0x302a45=(_0x3d940f=this[_0x1df0be(0x249)][_0x1df0be(0x234)](this[_0x1df0be(0x1da)],_0x2a9cfa))==null?void 0x0:_0x3d940f['name'])!=null?_0x302a45:_0x1df0be(0x2e9),'range':this[_0x1df0be(0x194)](_0x40a1d7,_0x32d62f),'sheetID':_0x40a1d7,'color':this[_0x1df0be(0x1ed)][_0x1df0be(0x147)](_0x2a9cfa),'selection':_0x4a8621},_0x1e7635=this[_0x1df0be(0x14e)];_0x1e7635[_0x1df0be(0x330)](_0x2a9cfa,_0x37f6d9),this[_0x1df0be(0x136)][_0x1df0be(0x333)](_0x1e7635);}[_0x4b3101(0x17b)](_0x2551d5){const _0x426e0d=_0x4b3101,{memberID:_0x47bcfa}=_0x2551d5[_0x426e0d(0x2f3)],_0x330f2e=this[_0x426e0d(0x14e)];_0x330f2e[_0x426e0d(0x260)](_0x47bcfa),this[_0x426e0d(0x136)]['next'](_0x330f2e);}[_0x4b3101(0x194)](_0x4a6c66,_0x30d43d){const _0x481e9b=_0x4b3101;var _0xc4a061,_0x2d6cbb;const _0x153701=(_0x2d6cbb=(_0xc4a061=this[_0x481e9b(0x21f)][_0x481e9b(0x1f0)](this[_0x481e9b(0x1da)]))==null?void 0x0:_0xc4a061[_0x481e9b(0x2f1)](_0x4a6c66))==null?void 0x0:_0x2d6cbb[_0x481e9b(0x286)]();return(_0x153701==null?void 0x0:_0x153701[_0x481e9b(0x32c)](_0x3ff6e1=>_0x457cdc[_0x481e9b(0x1bd)](_0x3ff6e1,_0x30d43d)))||_0x30d43d;}[_0x4b3101(0x2d7)](){const _0x516b57=_0x4b3101,_0x4af631=new _0x59d3ec(),_0x504061=vi(),_0x37742e=()=>{const _0x480683=_0x1eb4;_0x4af631['dispose']();const _0x17545f=(_0x75f5a2,_0x708bdf,_0x49b204,_0x52269b)=>{const _0x4ed948=_0x1eb4;let _0x273cf9=[];switch(_0x75f5a2['id']){case _0x295cd0[_0x4ed948(0x254)]:{_0x273cf9=_0x479589(_0x75f5a2,_0x52269b);break;}case _0x295cd0['DeleteRangeMoveUpCommandId']:{_0x273cf9=_0x1414bb(_0x75f5a2,_0x52269b);break;}case _0x295cd0['InsertColCommandId']:{_0x273cf9=_0x3ce1d7(_0x75f5a2,_0x52269b);break;}case _0x295cd0['InsertRangeMoveDownCommandId']:{_0x273cf9=_0x205d76(_0x75f5a2,_0x52269b);break;}case _0x295cd0[_0x4ed948(0x1aa)]:{_0x273cf9=_0x27a3db(_0x75f5a2,_0x52269b);break;}case _0x295cd0['InsertRowCommandId']:{_0x273cf9=_0x5a495b(_0x75f5a2,_0x52269b);break;}case _0x295cd0[_0x4ed948(0x1bb)]:{_0x273cf9=_0x33b264(_0x75f5a2,_0x52269b);break;}case _0x295cd0['RemoveColCommandId']:{_0x273cf9=_0x23654f(_0x75f5a2,_0x52269b);break;}case _0x295cd0[_0x4ed948(0x154)]:{_0x273cf9=_0x569632(_0x75f5a2,_0x52269b);break;}}const _0x1541b0=_0xb522c5(_0x273cf9,_0x52269b),_0x52bd96=this[_0x4ed948(0x14e)][_0x4ed948(0x2c7)](_0x708bdf);if(_0x52bd96&&_0x1541b0){const _0xcccba2={..._0x52bd96,'range':_0x1541b0};this[_0x4ed948(0x14e)][_0x4ed948(0x330)](_0x708bdf,_0xcccba2),_0x504061(()=>{const _0x1fa47e=_0x4ed948,_0xed6002=this[_0x1fa47e(0x2bb)][_0x1fa47e(0x225)](_0x1541b0,_0x5e47e8=>(_0xed6002[_0x1fa47e(0x2d1)](),_0x17545f(_0x5e47e8,_0x708bdf,_0x49b204,_0x1541b0)));_0x4af631[_0x1fa47e(0x314)](_0xed6002);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x480683(0x16f)]((_0xed830a,_0x5dd08b)=>{const _0x396e38=_0x480683,{range:_0x14abc0,sheetID:_0xdf2259}=_0xed830a,_0x22c617=this[_0x396e38(0x2bb)][_0x396e38(0x225)](_0x14abc0,_0x10eb2d=>(_0x22c617[_0x396e38(0x2d1)](),_0x17545f(_0x10eb2d,_0x5dd08b,_0xdf2259,_0x14abc0)));_0x4af631[_0x396e38(0x314)](_0x22c617);});};this[_0x516b57(0x26e)](_0x4c94c1(this[_0x516b57(0x136)][_0x516b57(0x26a)](()=>{_0x37742e();})));}['_toggleOnline'](){const _0xc2b0bc=_0x4b3101;var _0x5132e6,_0x1f65f3;if(this[_0xc2b0bc(0x1a6)]=!0x0,((_0x5132e6=this[_0xc2b0bc(0x21f)][_0xc2b0bc(0x24b)]())==null?void 0x0:_0x5132e6[_0xc2b0bc(0x193)]())!==this[_0xc2b0bc(0x1da)])return;const _0x532dc3=(_0x1f65f3=this['_injector']['get'](_0x1f73fd)['getCurrentSelections']())==null?void 0x0:_0x1f65f3[0x0],_0x462414=this[_0xc2b0bc(0x21f)][_0xc2b0bc(0x2b9)](_0x32c954[_0xc2b0bc(0x1c8)])[_0xc2b0bc(0x20d)]();_0x532dc3&&_0x462414&&this[_0xc2b0bc(0x266)](_0x462414[_0xc2b0bc(0x2cf)](),_0x532dc3);}['_toggleOffline'](){const _0x42f6a9=_0x4b3101;this[_0x42f6a9(0x1a6)]=!0x1;}};Me=mi([x(0x2,_0x43c406(_0xab2866)),x(0x3,_0x43c406(ke)),x(0x4,_0x43c406(_0x427d5d)),x(0x5,_0x15da02),x(0x6,_0x50bf78),x(0x7,_0x43c406(_0x1f29b1))],Me);var pi=Object[_0x4b3101(0x18b)],Ci=(_0x3f63de,_0x3e9aff,_0x285691,_0x3714e2)=>{for(var _0x3f9b96=_0x3714e2>0x1?void 0x0:_0x3714e2?pi(_0x3e9aff,_0x285691):_0x3e9aff,_0x1c24df=_0x3f63de['length']-0x1,_0xe2ec94;_0x1c24df>=0x0;_0x1c24df--)(_0xe2ec94=_0x3f63de[_0x1c24df])&&(_0x3f9b96=_0xe2ec94(_0x3f9b96)||_0x3f9b96);return _0x3f9b96;},Se=(_0x203cde,_0x41ee51)=>(_0x325e16,_0x1c3393)=>_0x41ee51(_0x325e16,_0x1c3393,_0x203cde);let H=class extends _0x47bff4{constructor(_0x40bae6,_0x3fbe82,_0x1cd8f5){const _0x4cd2f9=_0x4b3101;super(),_(this,'_entities',new Map()),_(this,_0x4cd2f9(0x264),new _0x14ce54()),(this[_0x4cd2f9(0x21f)]=_0x40bae6,this[_0x4cd2f9(0x22a)]=_0x3fbe82,this[_0x4cd2f9(0x30c)]=_0x1cd8f5,this[_0x4cd2f9(0x26f)]());}[_0x4b3101(0x2d1)](){const _0x552e27=_0x4b3101;super['dispose'](),this['_entityInit$']['complete'](),this[_0x552e27(0x199)][_0x552e27(0x16f)](_0x374aba=>_0x374aba[_0x552e27(0x2d1)]());}[_0x4b3101(0x23d)](_0x44d6d0){const _0x4cf729=_0x4b3101;return this[_0x4cf729(0x199)][_0x4cf729(0x28f)](_0x44d6d0)?this[_0x4cf729(0x199)][_0x4cf729(0x2c7)](_0x44d6d0)[_0x4cf729(0x211)]:this[_0x4cf729(0x264)][_0x4cf729(0x2e4)](_0x3548f1(_0x198213=>_0x198213[_0x4cf729(0x1da)]===_0x44d6d0),_0x184868(_0x4acb4f=>_0x4acb4f[_0x4cf729(0x211)]));}[_0x4b3101(0x26f)](){const _0x340a3d=_0x4b3101;this[_0x340a3d(0x21f)][_0x340a3d(0x15b)](_0x32c954[_0x340a3d(0x1c8)])[_0x340a3d(0x2e4)](_0x364374(this[_0x340a3d(0x30f)]))[_0x340a3d(0x26a)](async _0x103775=>{const _0x57324b=_0x340a3d,_0x5c5cc1=_0x103775[_0x57324b(0x193)](),_0x5d722c=await this['_startSheetCollabCursor'](_0x5c5cc1);this[_0x57324b(0x264)][_0x57324b(0x333)](_0x5d722c),this[_0x57324b(0x199)][_0x57324b(0x330)](_0x5c5cc1,_0x5d722c);}),this[_0x340a3d(0x21f)]['getTypeOfUnitAdded$'](_0x32c954['UNIVER_DOC'])[_0x340a3d(0x2e4)](_0x364374(this[_0x340a3d(0x30f)]))[_0x340a3d(0x2e4)](_0x3548f1(_0x53f93a=>!_0x53f93a[_0x340a3d(0x193)]()[_0x340a3d(0x293)]('__')))[_0x340a3d(0x26a)](async _0x2b8d21=>{const _0x4b0a98=_0x340a3d,_0x5e7ba1=_0x2b8d21[_0x4b0a98(0x193)](),_0x404970=await this[_0x4b0a98(0x21d)](_0x5e7ba1);this[_0x4b0a98(0x264)]['next'](_0x404970),this[_0x4b0a98(0x199)][_0x4b0a98(0x330)](_0x5e7ba1,_0x404970);}),_0x464825(this[_0x340a3d(0x21f)]['getTypeOfUnitDisposed$'](_0x32c954[_0x340a3d(0x16b)]),this[_0x340a3d(0x21f)]['getTypeOfUnitDisposed$'](_0x32c954['UNIVER_SHEET']))['pipe'](_0x364374(this[_0x340a3d(0x30f)]))['subscribe'](_0x47a657=>{const _0x2045f0=_0x340a3d,_0x3ab8eb=_0x47a657[_0x2045f0(0x193)](),_0x1cacbe=this[_0x2045f0(0x199)][_0x2045f0(0x2c7)](_0x3ab8eb);_0x1cacbe&&(_0x1cacbe[_0x2045f0(0x2d1)](),this[_0x2045f0(0x199)][_0x2045f0(0x260)](_0x3ab8eb));});}async[_0x4b3101(0x214)](_0x2aa746){const _0x4bc9b5=_0x4b3101,_0xad4f21=await this['_collabSessionService']['requireSession'](_0x2aa746),_0x318f45=this[_0x4bc9b5(0x22a)][_0x4bc9b5(0x18e)](Me,_0x2aa746,_0xad4f21);return _0x318f45[_0x4bc9b5(0x2d8)](),_0x318f45;}async[_0x4b3101(0x21d)](_0x415704){const _0xe6a97=_0x4b3101,_0x1425b5=await this[_0xe6a97(0x30c)]['requireSession'](_0x415704),_0x3c7a42=this[_0xe6a97(0x22a)][_0xe6a97(0x18e)](Ue,_0x415704,_0x1425b5);return _0x3c7a42[_0xe6a97(0x2d8)](),_0x3c7a42;}};H=Ci([Se(0x0,_0x15da02),Se(0x1,_0x43c406(_0xab2866)),Se(0x2,_0x43c406(_0x57af04))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x42fb56,_0x590c21){const _0x55c906=_0x4b3101;let {radius:_0x215bbb,width:_0x7135d4,height:_0x542449}=_0x590c21;_0x215bbb=_0x215bbb!=null?_0x215bbb:0x0,_0x7135d4=_0x7135d4!=null?_0x7135d4:0x1e,_0x542449=_0x542449!=null?_0x542449:0x1e;let _0x4d7749=0x0,_0x26894d=0x0,_0x146d3c=0x0;_0x4d7749=_0x26894d=_0x146d3c=Math[_0x55c906(0x155)](_0x215bbb,_0x7135d4/0x2,_0x542449/0x2),_0x42fb56[_0x55c906(0x152)](),_0x42fb56[_0x55c906(0x1b9)](_0x4d7749,0x0),_0x42fb56[_0x55c906(0x232)](_0x7135d4-_0x26894d,0x0),_0x42fb56[_0x55c906(0x250)](_0x7135d4-_0x26894d,_0x26894d,_0x26894d,Math['PI']*0x3/0x2,0x0,!0x1),_0x42fb56[_0x55c906(0x232)](_0x7135d4,_0x542449-_0x146d3c),_0x42fb56[_0x55c906(0x250)](_0x7135d4-_0x146d3c,_0x542449-_0x146d3c,_0x146d3c,0x0,Math['PI']/0x2,!0x1),_0x42fb56['lineTo'](0x0,_0x542449),_0x42fb56[_0x55c906(0x232)](0x0,_0x4d7749),_0x42fb56[_0x55c906(0x250)](_0x4d7749,_0x4d7749,_0x4d7749,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x42fb56[_0x55c906(0x2fa)](),_0x590c21[_0x55c906(0x316)]&&(_0x42fb56[_0x55c906(0x306)](),_0x42fb56[_0x55c906(0x223)]=_0x590c21[_0x55c906(0x316)],_0x590c21['fillRule']===_0x55c906(0x1b5)?_0x42fb56[_0x55c906(0x316)]('evenodd'):_0x42fb56[_0x55c906(0x316)](),_0x42fb56[_0x55c906(0x209)]());}class he extends _0xd8418d{constructor(_0x2857d0,_0x54ec68){const _0x36ef46=_0x4b3101;super(_0x2857d0,_0x54ec68),_(this,_0x36ef46(0x272)),_(this,'text'),(this[_0x36ef46(0x272)]=_0x54ec68==null?void 0x0:_0x54ec68[_0x36ef46(0x272)],this[_0x36ef46(0x2d5)]=_0x54ec68==null?void 0x0:_0x54ec68[_0x36ef46(0x2d5)]);}static[_0x4b3101(0x23b)](_0x5dbaf1,_0x232466){const _0x5162aa=_0x4b3101,{text:_0x3e6e04,color:_0x31c98f}=_0x232466;_0x5dbaf1[_0x5162aa(0x306)](),_0x5dbaf1[_0x5162aa(0x241)]=_0x5162aa(0x2e1);const _0x418080=_0x5dbaf1['measureText'](_0x3e6e04)['width'],_0x27361e=Math['min'](_0x418080+0x2*me,Qe);Oi(_0x5dbaf1,{'height':ee,'radius':0x4,'width':_0x27361e,'fill':_0x31c98f}),_0x5dbaf1['fillStyle']=_0x5162aa(0x263);const _0xc39164=me,_0x3a0a29=ee-Ei,_0x5d0555=Qe-0x2*me;if(_0x418080>_0x5d0555){let _0x2d3da7='',_0x2fe23f=0x0;for(const _0x2b268a of _0x3e6e04){const _0x361ece=_0x5dbaf1[_0x5162aa(0x267)](_0x2b268a)[_0x5162aa(0x203)];if(_0x2fe23f+_0x361ece<=_0x5d0555-_0x5dbaf1[_0x5162aa(0x267)]('...')[_0x5162aa(0x203)])_0x2d3da7+=_0x2b268a,_0x2fe23f+=_0x361ece;else{_0x2d3da7+='...';break;}}_0x5dbaf1['fillText'](_0x2d3da7,_0xc39164,_0x3a0a29);}else _0x5dbaf1[_0x5162aa(0x2f4)](_0x3e6e04,_0xc39164,_0x3a0a29);_0x5dbaf1[_0x5162aa(0x209)]();}[_0x4b3101(0x2a7)](_0x5b8347){const _0x8be5d7=_0x4b3101;he[_0x8be5d7(0x23b)](_0x5b8347,this);}}const ge=_0x4b3101(0x20f),bi=_0x4b3101(0x245),Ti=_0x4b3101(0x25f),X=0x6,Ri=1.5,Ie=0x4,Di=1.5,Ni=_0x4b3101(0x1a7);class qe{constructor(_0x415d96,_0x39ddbe,_0x266f30,_0x40b9cd){const _0x2464a4=_0x4b3101;_(this,_0x2464a4(0x2eb),[]),_(this,_0x2464a4(0x157),null),_(this,_0x2464a4(0x1ec),null),_(this,_0x2464a4(0x275),null),_(this,'_hideTimer',null),_(this,_0x2464a4(0x2fc),null),(this[_0x2464a4(0x1a4)]=_0x415d96,this[_0x2464a4(0x280)]=_0x39ddbe,this[_0x2464a4(0x19b)]=_0x266f30,this['_document']=_0x40b9cd,this[_0x2464a4(0x29e)]());}set[_0x4b3101(0x18d)](_0x5a6bea){const _0x38c5d9=_0x4b3101;_0x5a6bea?(this[_0x38c5d9(0x275)]&&this[_0x38c5d9(0x275)][_0x38c5d9(0x148)](),this[_0x38c5d9(0x1ec)]&&this[_0x38c5d9(0x1ec)][_0x38c5d9(0x19a)]()):(this['_anchorDot']&&this[_0x38c5d9(0x275)][_0x38c5d9(0x19a)](),this[_0x38c5d9(0x1ec)]&&this['_textBubble'][_0x38c5d9(0x148)]());}['dispose'](){const _0x121a4b=_0x4b3101;for(const _0x3b8de5 of this['_shapes'])_0x3b8de5[_0x121a4b(0x2d1)]();this[_0x121a4b(0x1ec)]&&this[_0x121a4b(0x1ec)][_0x121a4b(0x2d1)](),this[_0x121a4b(0x275)]&&this['_anchorDot'][_0x121a4b(0x2d1)](),this[_0x121a4b(0x157)]&&this[_0x121a4b(0x157)][_0x121a4b(0x2d1)](),this['_eventUnsubscribe']&&this[_0x121a4b(0x2fc)]();}[_0x4b3101(0x29e)](){const _0x2d0a39=_0x4b3101;var _0x2561ee;const {_docSkeleton:_0x17a230,_document:_0x410283}=this,{color:_0x537bcb,name:_0x2648b2,ranges:_0x3c26d3}=this['_cursor'],_0xffb3b1=_0x410283[_0x2d0a39(0x201)](),{docsLeft:_0x263cfa,docsTop:_0x28f000}=_0xffb3b1,_0x22221c=new _0x38e0f7(_0xffb3b1,_0x17a230);for(const {startOffset:_0x4e4649,endOffset:_0x4cd08b,rangeType:_0x5bb8aa,segmentId:_0x3760e8,segmentPage:_0x4ba727,collapsed:_0x425642,isActive:_0x2e9fdf}of _0x3c26d3){const _0x824f13=_0x17a230['findNodePositionByCharIndex'](_0x4e4649,!0x0,_0x3760e8,_0x4ba727);let _0x13fea5=_0x17a230[_0x2d0a39(0x1e8)](_0x4cd08b,!0x0,_0x3760e8,_0x4ba727);if(_0x13fea5==null&&(_0x13fea5=_0x17a230[_0x2d0a39(0x1e8)](_0x4cd08b-0x1,!0x1,_0x3760e8,_0x4ba727)),_0x2e9fdf){const {contentBoxPointGroup:_0x29344c}=_0x22221c[_0x2d0a39(0x270)](_0x13fea5,_0x13fea5);if(_0x29344c[_0x2d0a39(0x140)]===0x0)continue;this[_0x2d0a39(0x19c)](_0x537bcb,_0x29344c,_0x263cfa,_0x28f000,_0x2648b2),this[_0x2d0a39(0x2fc)]=this[_0x2d0a39(0x23f)]();}if(_0x824f13&&_0x13fea5){if(_0x5bb8aa===_0x3b57fc['RECT']){const _0x3d0334=new _0x2dadd0(_0xffb3b1,_0x17a230),{pointGroup:_0xa8bdb8}=(_0x2561ee=_0x3d0334[_0x2d0a39(0x270)](_0x824f13,_0x13fea5))!=null?_0x2561ee:{};if(_0xa8bdb8==null||_0xa8bdb8['length']===0x0)continue;this[_0x2d0a39(0x2b8)](_0x537bcb,_0xa8bdb8,_0x263cfa,_0x28f000);}else{if(!_0x425642){const {borderBoxPointGroup:_0x19aba7}=_0x22221c[_0x2d0a39(0x270)](_0x824f13,_0x13fea5);if(_0x19aba7[_0x2d0a39(0x140)]===0x0)continue;this[_0x2d0a39(0x216)](_0x537bcb,_0x19aba7,_0x263cfa,_0x28f000);}}}}}[_0x4b3101(0x19c)](_0x707050,_0x176b8c,_0x331a2e,_0x202118,_0x25992d){const _0x199d89=_0x4b3101,_0x1b8815=this[_0x199d89(0x312)](_0x176b8c),{left:_0x235fba,top:_0x8e2df7,height:_0x4b217b}=_0x1b8815,_0x4b46cb=this[_0x199d89(0x287)](),_0xe78c58=Di/_0x4b46cb,_0xb5c53=new _0xb00101(ge+_0xa51f61[_0x199d89(0x335)](X),{'left':_0x235fba+_0x331a2e-_0xe78c58,'top':_0x8e2df7+_0x202118,'height':_0x4b217b,'width':Ri,'fill':_0x707050||_0x223dfa(_0x16a9a4['black'],0x0),'strokeWidth':_0xe78c58,'stroke':Ni,'evented':!0x0});this[_0x199d89(0x157)]=_0xb5c53,this['_scene'][_0x199d89(0x145)](_0xb5c53,_0x546c8d);const _0x2ea53b=new _0xb00101(ge+_0xa51f61['generateRandomId'](X),{'left':_0x235fba+_0x331a2e-_0xe78c58,'top':_0x8e2df7+_0x202118-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x707050||_0x223dfa(_0x16a9a4[_0x199d89(0x2fd)],0x0),'strokeWidth':0x0,'stroke':_0x707050||_0x223dfa(_0x16a9a4[_0x199d89(0x2fd)],0x0),'evented':!0x1});this[_0x199d89(0x275)]=_0x2ea53b,this[_0x199d89(0x280)][_0x199d89(0x145)](_0x2ea53b,_0x546c8d);const _0x25357a=new he(ge+_0xa51f61[_0x199d89(0x335)](X),{'left':_0x235fba+_0x331a2e-_0xe78c58,'top':_0x8e2df7+_0x202118-ee,'text':_0x25992d,'color':_0x707050});this[_0x199d89(0x1ec)]=_0x25357a,this[_0x199d89(0x280)][_0x199d89(0x145)](_0x25357a,_0x546c8d),this[_0x199d89(0x18d)]=!0x1;}['_handleHover'](){const _0x27d6ae=_0x4b3101,_0x8e585=this[_0x27d6ae(0x157)][_0x27d6ae(0x2fb)][_0x27d6ae(0x161)](()=>{const _0x309153=_0x27d6ae;this[_0x309153(0x18d)]=!0x0;}),_0x518398=this[_0x27d6ae(0x157)]['onPointerLeave$'][_0x27d6ae(0x161)](()=>{const _0x208af6=_0x27d6ae;this[_0x208af6(0x184)]&&clearTimeout(this['_hideTimer']),this[_0x208af6(0x184)]=setTimeout(()=>{const _0x3f9f10=_0x208af6;this[_0x3f9f10(0x18d)]=!0x1;},0x7d0);});return()=>{const _0x5ca117=_0x27d6ae;_0x8e585['unsubscribe'](),_0x518398[_0x5ca117(0x175)]();};}[_0x4b3101(0x216)](_0x2c6494,_0x369440,_0x976e29,_0x50df0d){const _0x53442d=_0x4b3101,_0x385915=new _0x20d019(_0x2c6494)[_0x53442d(0x14b)](0.2)['toRgbString'](),_0x836327=new _0x16b6cc(bi+_0xa51f61[_0x53442d(0x335)](X),{'pointsGroup':_0x369440,'fill':_0x385915||_0x223dfa(_0x16a9a4[_0x53442d(0x2fd)],0.2),'left':_0x976e29,'top':_0x50df0d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x53442d(0x2eb)][_0x53442d(0x13c)](_0x836327),this[_0x53442d(0x280)]['addObject'](_0x836327,_0x546c8d);}[_0x4b3101(0x2b8)](_0x2b25b6,_0x1bfa47,_0x10d226,_0x14cced){const _0x138f49=_0x4b3101,_0x1fbf3e=new _0x20d019(_0x2b25b6)[_0x138f49(0x14b)](0.2)[_0x138f49(0x2e3)](),_0x218915=new _0x16b6cc(Ti+_0xa51f61[_0x138f49(0x335)](X),{'pointsGroup':_0x1bfa47,'fill':_0x1fbf3e||_0x223dfa(_0x16a9a4[_0x138f49(0x2fd)],0.2),'left':_0x10d226,'top':_0x14cced,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x138f49(0x2eb)]['push'](_0x218915),this['_scene'][_0x138f49(0x145)](_0x218915,_0x546c8d);}[_0x4b3101(0x312)](_0x537872){const _0x1b28f1=_0x537872[0x0],_0x538539=_0x1b28f1[0x0],_0x24da6d=_0x1b28f1[0x2],{x:_0x5802fb,y:_0x2b6b0a}=_0x538539,{x:_0x5658a5,y:_0x4c1318}=_0x24da6d;return{'left':_0x5802fb,'top':_0x2b6b0a,'width':_0x5658a5-_0x5802fb,'height':_0x4c1318-_0x2b6b0a};}[_0x4b3101(0x287)](){const _0x118667=_0x4b3101,{scaleX:_0x5bf3ae,scaleY:_0x353b67}=this[_0x118667(0x280)][_0x118667(0x1b6)]();return Math[_0x118667(0x30b)](_0x5bf3ae,_0x353b67);}}var Ui=Object[_0x4b3101(0x18b)],Mi=(_0x58545f,_0x24d8e5,_0x3c2919,_0x36f191)=>{for(var _0x1d2b2e=_0x36f191>0x1?void 0x0:_0x36f191?Ui(_0x24d8e5,_0x3c2919):_0x24d8e5,_0x351e74=_0x58545f['length']-0x1,_0xca5067;_0x351e74>=0x0;_0x351e74--)(_0xca5067=_0x58545f[_0x351e74])&&(_0x1d2b2e=_0xca5067(_0x1d2b2e)||_0x1d2b2e);return _0x1d2b2e;},Z=(_0xb4292d,_0x4bd427)=>(_0x2a3552,_0x2a934a)=>_0x4bd427(_0x2a3552,_0x2a934a,_0xb4292d);let Pe=class extends _0x47bff4{constructor(_0x500a74,_0x48c441,_0xde6cba,_0x59c77b,_0x5f5b85){const _0x1f69f5=_0x4b3101;super(),_(this,_0x1f69f5(0x292),[]),_(this,_0x1f69f5(0x289),[]),(this['_context']=_0x500a74,this[_0x1f69f5(0x166)]=_0x48c441,this['_collabCursorController']=_0xde6cba,this['_commandService']=_0x59c77b,this[_0x1f69f5(0x1c4)]=_0x5f5b85,this[_0x1f69f5(0x26f)]());}[_0x4b3101(0x26f)](){const _0x1774d6=_0x4b3101,_0x1b9380=this['_context'][_0x1774d6(0x1de)],_0x192f6d=this[_0x1774d6(0x166)];this[_0x1774d6(0x26e)](_0x99cfc6([this[_0x1774d6(0x2d3)][_0x1774d6(0x23d)](_0x1b9380),this[_0x1774d6(0x1c4)][_0x1774d6(0x308)]])[_0x1774d6(0x2e4)](_0x132908(([_0x37da95,_0x5f16e8])=>({'skeleton':_0x192f6d[_0x1774d6(0x27a)](),'cursors':[..._0x37da95[_0x1774d6(0x21c)]()][_0x1774d6(0x1bc)](_0x42981f=>({..._0x42981f,'color':this['_themeService'][_0x1774d6(0x246)](_0x42981f[_0x1774d6(0x272)])}))})))[_0x1774d6(0x26a)](_0x15d6cb=>{const _0x4832b9=_0x1774d6;if(this['_removeCollabCursors'](),_0x15d6cb){const {skeleton:_0x7fdfc4,cursors:_0x5d7c34}=_0x15d6cb;this[_0x4832b9(0x150)](_0x7fdfc4,_0x5d7c34);}})),this[_0x1774d6(0x240)](),this[_0x1774d6(0x296)]();}['_updateCollabCursors'](_0x2b488e,_0x53510f){const _0x47b897=_0x4b3101,{scene:_0xf20e95,mainComponent:_0x1c2a7d}=this[_0x47b897(0x1a1)],_0x5e6f80=_0x53510f[_0x47b897(0x16a)](_0x16e062=>new qe(_0x16e062,_0xf20e95,_0x2b488e,_0x1c2a7d));this[_0x47b897(0x292)]=_0x5e6f80,this['_cursors']=_0x53510f;}['_refreshCollabCursors'](){const _0x514446=_0x4b3101;this[_0x514446(0x197)]();const {scene:_0x35afb2,mainComponent:_0x20d673}=this[_0x514446(0x1a1)],_0x20c352=this[_0x514446(0x166)][_0x514446(0x27a)](),_0xfc483d=this[_0x514446(0x289)][_0x514446(0x16a)](_0x576e52=>new qe(_0x576e52,_0x35afb2,_0x20c352,_0x20d673));this[_0x514446(0x292)]=_0xfc483d;}['_removeCollabCursors'](){const _0x1b6e66=_0x4b3101;this[_0x1b6e66(0x292)][_0x1b6e66(0x16f)](_0x597658=>_0x597658['dispose']()),this['_cursorShapes']=[];}[_0x4b3101(0x296)](){const _0xa18698=_0x4b3101,_0x48fd84=[_0x505713['id']];this[_0xa18698(0x26e)](this[_0xa18698(0x2f2)][_0xa18698(0x2c8)](_0x1c0ede=>{const _0x244700=_0xa18698;_0x48fd84[_0x244700(0x220)](_0x1c0ede['id'])&&_0x1c0ede[_0x244700(0x17d)][_0x244700(0x1de)]===this[_0x244700(0x1a1)][_0x244700(0x1de)]&&this[_0x244700(0x1e7)]();}));}['_initResize'](){const _0xfea590=_0x4b3101;this[_0xfea590(0x26e)](_0x10f59b(this['_context']['engine'][_0xfea590(0x25d)])[_0xfea590(0x2e4)](_0x135aa8(_0x586d0c=>_0x586d0c[_0xfea590(0x1dd)]===_0x6df5f4[_0xfea590(0x24f)]),_0x34ad01(0x10))[_0xfea590(0x26a)](()=>{const _0x1b0032=_0xfea590;this[_0x1b0032(0x1e7)]();}));}};Pe=Mi([Z(0x1,_0x43c406(_0x35965b)),Z(0x2,_0x43c406(H)),Z(0x3,_0x50bf78),Z(0x4,_0x43c406(_0x413de4))],Pe);const Pi=0x1,Li=1.5;class wi extends _0xd8418d{constructor(_0x40da79,_0x2ccdd5){const _0x5f1c6e=_0x4b3101;super(_0x40da79,_0x2ccdd5),_(this,_0x5f1c6e(0x173)),_(this,'_hovered',!0x1),_(this,_0x5f1c6e(0x1bf)),_(this,_0x5f1c6e(0x31a),''),_(this,_0x5f1c6e(0x1f3),_0x5f1c6e(0x1af)),_(this,_0x5f1c6e(0x25e)),(_0x2ccdd5&&this['setShapeProps'](_0x2ccdd5),this[_0x5f1c6e(0x2fb)][_0x5f1c6e(0x161)](()=>this[_0x5f1c6e(0x1d3)]({'hovered':!0x0})),this[_0x5f1c6e(0x31d)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x4b3101(0x1d3)](_0xf75472){const _0x98c7fc=_0x4b3101;var _0xc34eab,_0x220377,_0x5f41d1,_0x171c35,_0x11a507,_0x439f57;this['_color']=(_0xc34eab=_0xf75472[_0x98c7fc(0x272)])!=null?_0xc34eab:this[_0x98c7fc(0x173)],this[_0x98c7fc(0x2c3)]=(_0x220377=_0xf75472[_0x98c7fc(0x210)])!=null?_0x220377:this['_hovered'],this['_range']=(_0x5f41d1=_0xf75472[_0x98c7fc(0x22e)])!=null?_0x5f41d1:this[_0x98c7fc(0x1bf)],this['_name']=(_0x171c35=_0xf75472[_0x98c7fc(0x19e)])!=null?_0x171c35:this['_name'],this[_0x98c7fc(0x1f3)]=(_0x11a507=_0xf75472['labelPosition'])!=null?_0x11a507:this[_0x98c7fc(0x1f3)],this['_backgroundColor']=(_0x439f57=_0xf75472[_0x98c7fc(0x2a0)])!=null?_0x439f57:this[_0x98c7fc(0x25e)],this['transformByState']({'width':_0xf75472[_0x98c7fc(0x203)],'height':_0xf75472[_0x98c7fc(0x1fd)]});}[_0x4b3101(0x2bc)](_0x5b855d){const _0x4a6ffb=_0x4b3101,{row:_0x394bf4,column:_0x26d053}=_0x5b855d;if(_0x394bf4>=this[_0x4a6ffb(0x1bf)][_0x4a6ffb(0x32a)]&&_0x394bf4<=this['_range'][_0x4a6ffb(0x1b8)]&&_0x26d053>=this[_0x4a6ffb(0x1bf)][_0x4a6ffb(0x2ca)]&&_0x26d053<=this[_0x4a6ffb(0x1bf)]['endColumn']){this[_0x4a6ffb(0x1d3)]({'hovered':!0x0});return;}this[_0x4a6ffb(0x1d3)]({'hovered':!0x1});}[_0x4b3101(0x274)](_0x443def){return!0x1;}['_draw'](_0x16c561){const _0x1dc9ff=_0x4b3101;_0xb00101['drawWith'](_0x16c561,{'width':this[_0x1dc9ff(0x203)],'height':this[_0x1dc9ff(0x1fd)],'strokeWidth':Li,'stroke':this[_0x1dc9ff(0x173)],'evented':!0x1,'fill':this[_0x1dc9ff(0x25e)]}),this[_0x1dc9ff(0x2c3)]&&(_0x16c561[_0x1dc9ff(0x306)](),_0x16c561[_0x1dc9ff(0x2cb)](0x1,0x0,0x0,0x1,this[_0x1dc9ff(0x203)],this[_0x1dc9ff(0x1f3)]===_0x1dc9ff(0x14f)?0x0:-0x14),he[_0x1dc9ff(0x23b)](_0x16c561,{'text':this['_name'],'color':this[_0x1dc9ff(0x173)]}),_0x16c561[_0x1dc9ff(0x209)]());}}var Ai=Object[_0x4b3101(0x18b)],yi=(_0x56c515,_0x3acbb7,_0x39490c,_0x1c2f4c)=>{const _0x4380d3=_0x4b3101;for(var _0x4062e1=_0x1c2f4c>0x1?void 0x0:_0x1c2f4c?Ai(_0x3acbb7,_0x39490c):_0x3acbb7,_0x14e705=_0x56c515[_0x4380d3(0x140)]-0x1,_0x118e46;_0x14e705>=0x0;_0x14e705--)(_0x118e46=_0x56c515[_0x14e705])&&(_0x4062e1=_0x118e46(_0x4062e1)||_0x4062e1);return _0x4062e1;},ve=(_0x1c337d,_0xd91693)=>(_0x27d281,_0x67812e)=>_0xd91693(_0x27d281,_0x67812e,_0x1c337d);const $i=0x1389;let Le=class extends _0x47bff4{constructor(_0x2c825f,_0x379170,_0x8f171b,_0x42fac6){const _0x365139=_0x4b3101;super(),_(this,'_cursors',new Set()),_(this,'_lastPointer',null),(this['_context']=_0x2c825f,this[_0x365139(0x1eb)]=_0x379170,this[_0x365139(0x2d3)]=_0x8f171b,this[_0x365139(0x1c4)]=_0x42fac6,this[_0x365139(0x26f)]());}[_0x4b3101(0x26f)](){const _0xb12e7e=_0x4b3101;this[_0xb12e7e(0x1eb)][_0xb12e7e(0x20c)]['pipe'](_0x5e64ad(this[_0xb12e7e(0x30f)]),_0x3e04d7(_0x4b47f7=>{const _0x5bbc94=_0xb12e7e;if(_0x4b47f7){const _0x5b5ba5=_0x4b47f7[_0x5bbc94(0x138)];return _0x99cfc6(this[_0x5bbc94(0x2d3)][_0x5bbc94(0x23d)](this['_context'][_0x5bbc94(0x1de)]),this[_0x5bbc94(0x1c4)][_0x5bbc94(0x308)])[_0x5bbc94(0x2e4)](_0x132908(([_0x13e66c,_0x325ad4])=>{const _0x596e99=_0x5bbc94,_0x5eb39e=new Map();return _0x13e66c[_0x596e99(0x16f)]((_0x3a8881,_0x4b0281)=>{const _0x33bcb4=_0x596e99;if(_0x3a8881[_0x33bcb4(0x243)]===_0x5b5ba5){const _0x4eb843={..._0x3a8881};_0x4eb843[_0x33bcb4(0x272)]=this['_themeService'][_0x33bcb4(0x246)](_0x3a8881[_0x33bcb4(0x272)]),_0x5eb39e[_0x33bcb4(0x330)](_0x4b0281,_0x4eb843);}}),{'skeleton':_0x4b47f7,'cursors':_0x5eb39e};}));}return _0x127d0c({'skeleton':null,'cursors':new Map()});}))[_0xb12e7e(0x26a)](({skeleton:_0x27e616,cursors:_0x23acda})=>{this['_removeCollabCursors'](),_0x27e616&&this['_updateCollabCursors'](_0x27e616,_0x23acda);}),this[_0xb12e7e(0x1eb)][_0xb12e7e(0x20c)][_0xb12e7e(0x26a)](_0x29d979=>{const _0x8e5096=_0xb12e7e;if(_0x29d979==null)return;const {skeleton:_0x5b079d}=_0x29d979,{scene:_0x4113f5}=this[_0x8e5096(0x1a1)];_0x4113f5[_0x8e5096(0x1d5)][_0x8e5096(0x161)](_0x38b5c1(_0xcdc259=>{const _0x442483=_0x8e5096;var _0x2dce35,_0xf809b4;const {offsetX:_0x103fa2,offsetY:_0x57f244}=_0xcdc259,{x:_0x1a97a4,y:_0x304573}=_0x4113f5['getRelativeToViewportCoord'](_0x416952[_0x442483(0x2d2)]([_0x103fa2,_0x57f244])),{scaleX:_0x186dc9,scaleY:_0x36bd91}=_0x4113f5[_0x442483(0x1b6)](),_0x196ec0=_0x4113f5['getViewport'](_0x512f2a[_0x442483(0x21a)]),_0x29c50e=_0x4113f5[_0x442483(0x14a)](_0x416952[_0x442483(0x2d2)]([_0x1a97a4,_0x304573]),_0x196ec0),_0x1a50b4=_0x5b079d[_0x442483(0x15e)](_0x103fa2,_0x57f244,_0x186dc9,_0x36bd91,_0x29c50e);((_0x2dce35=this[_0x442483(0x149)])==null?void 0x0:_0x2dce35[_0x442483(0x2ce)])===_0x1a50b4['column']&&((_0xf809b4=this[_0x442483(0x149)])==null?void 0x0:_0xf809b4['row'])===_0x1a50b4[_0x442483(0x2e7)]||this['_cursors'][_0x442483(0x16f)](_0x385f03=>{const _0x5c94e9=_0x442483;_0x385f03[_0x5c94e9(0x2bc)](_0x1a50b4);});},0x64));});}[_0x4b3101(0x150)](_0x3a97e9,_0x2a3227){const _0x423367=_0x4b3101;var _0x5097c9;const _0x49d1cf=(_0x5097c9=this[_0x423367(0x1eb)][_0x423367(0x227)]())==null?void 0x0:_0x5097c9[_0x423367(0x2db)];if(!_0x49d1cf)return;const _0x27f85e=this[_0x423367(0x167)]();if(!_0x27f85e)return;this[_0x423367(0x289)][_0x423367(0x16f)](_0x4ad3df=>{_0x4ad3df['makeDirty']();});const {scene:_0x4232c6}=_0x27f85e,_0x3fb48=xi(Array[_0x423367(0x26b)](_0x2a3227[_0x423367(0x21c)]()))['map'](_0x585f35=>{const _0x355727=_0x423367,{color:_0x1f8940,range:_0xf0f047,name:_0x51adc6,selection:_0x2df5cc,sheetID:_0x2d8414}=_0x585f35,{startColumn:_0x1b75e1,startRow:_0x5be21f,endColumn:_0x28ad58,endRow:_0x364355}=_0xf0f047,_0x29975a=_0x4038ad(_0x5be21f,_0x1b75e1,_0x4232c6,_0x49d1cf),_0x534199=_0x4038ad(_0x364355,_0x28ad58,_0x4232c6,_0x49d1cf),{columnHeaderHeightAndMarginTop:_0x5ced95}=_0x49d1cf,{startX:_0x5cf977,startY:_0x3e7fcd}=_0x29975a,{endX:_0x218e3e,endY:_0x583796}=_0x534199,_0x39a785=_0x218e3e-_0x5cf977,_0x1a76b5=_0x583796-_0x3e7fcd,_0x389d9d={'labelPosition':_0x3e7fcd-_0x5ced95>=ee?_0x355727(0x1af):_0x355727(0x14f),'sheetID':_0x2d8414,'range':_0xf0f047,'color':_0x1f8940,'name':_0x51adc6,'selection':_0x2df5cc,'left':_0x5cf977,'top':_0x3e7fcd,'width':_0x39a785,'height':_0x1a76b5,'evented':!0x1,'zIndex':$i};return new wi(_0x51adc6,_0x389d9d);});_0x4232c6[_0x423367(0x29f)](_0x3fb48,Pi),this[_0x423367(0x289)]=new Set(_0x3fb48);}[_0x4b3101(0x197)](){const _0x5c964f=_0x4b3101;var _0x52709e;(_0x52709e=this[_0x5c964f(0x289)])==null||_0x52709e['forEach'](_0x1cd027=>_0x1cd027[_0x5c964f(0x2d1)]());}['_getSheetObject'](){const _0xc4d59e=_0x4b3101;return _0x52bd00(this[_0xc4d59e(0x1a1)]['unit'],this['_context']);}};Le=yi([ve(0x1,_0x43c406(_0x4990fa)),ve(0x2,_0x43c406(H)),ve(0x3,_0x43c406(_0x413de4))],Le);function xi(_0xfe5be){const _0x4b704f=_0x4b3101,_0x189187=new Map();return _0xfe5be[_0x4b704f(0x16f)](_0x415e8f=>{const _0x59aefc=_0x4b704f;if(_0x189187['has'](_0x415e8f['selection'])){const _0x114f9d=_0x189187[_0x59aefc(0x2c7)](_0x415e8f[_0x59aefc(0x1be)]);_0x114f9d[_0x59aefc(0x19e)]+=',\x20'+_0x415e8f[_0x59aefc(0x19e)];}else _0x189187[_0x59aefc(0x330)](_0x415e8f[_0x59aefc(0x1be)],_0x415e8f);}),Array[_0x4b704f(0x26b)](_0x189187[_0x4b704f(0x21c)]());}var v=function(){const _0x1edd25=_0x4b3101;return v=Object[_0x1edd25(0x301)]||function(_0x34a399){const _0x5d5afb=_0x1edd25;for(var _0x5d6d9d,_0x1a9484=0x1,_0x501cb3=arguments[_0x5d5afb(0x140)];_0x1a9484<_0x501cb3;_0x1a9484++){_0x5d6d9d=arguments[_0x1a9484];for(var _0x6b44a5 in _0x5d6d9d)Object['prototype'][_0x5d5afb(0x284)][_0x5d5afb(0x29c)](_0x5d6d9d,_0x6b44a5)&&(_0x34a399[_0x6b44a5]=_0x5d6d9d[_0x6b44a5]);}return _0x34a399;},v['apply'](this,arguments);},Bi=function(_0x32ce48,_0x250d37){const _0x30b8b5=_0x4b3101;var _0x33ba86={};for(var _0x565c1d in _0x32ce48)Object[_0x30b8b5(0x2da)][_0x30b8b5(0x284)][_0x30b8b5(0x29c)](_0x32ce48,_0x565c1d)&&_0x250d37[_0x30b8b5(0x24c)](_0x565c1d)<0x0&&(_0x33ba86[_0x565c1d]=_0x32ce48[_0x565c1d]);if(_0x32ce48!=null&&typeof Object[_0x30b8b5(0x328)]==_0x30b8b5(0x2b2)){for(var _0x4376d6=0x0,_0x565c1d=Object[_0x30b8b5(0x328)](_0x32ce48);_0x4376d6<_0x565c1d[_0x30b8b5(0x140)];_0x4376d6++)_0x250d37[_0x30b8b5(0x24c)](_0x565c1d[_0x4376d6])<0x0&&Object['prototype'][_0x30b8b5(0x2ff)][_0x30b8b5(0x29c)](_0x32ce48,_0x565c1d[_0x4376d6])&&(_0x33ba86[_0x565c1d[_0x4376d6]]=_0x32ce48[_0x565c1d[_0x4376d6]]);}return _0x33ba86;},je=_0x2a37b9(function(_0x2d8d9b,_0x55b372){const _0x1f273d=_0x4b3101;var _0x23746a=_0x2d8d9b[_0x1f273d(0x19f)],_0x52332c=_0x2d8d9b['id'],_0x8d840c=_0x2d8d9b[_0x1f273d(0x151)],_0x473cca=_0x2d8d9b['extend'],_0x323231=Bi(_0x2d8d9b,[_0x1f273d(0x19f),'id','className',_0x1f273d(0x230)]),_0x1ddb60=_0x1f273d(0x206)['concat'](_0x52332c,'\x20')[_0x1f273d(0x28c)](_0x8d840c||'')[_0x1f273d(0x15c)](),_0x2abebf=_0xc17e21('_'[_0x1f273d(0x28c)](ji()));return Rt(_0x23746a,''['concat'](_0x52332c),{'defIds':_0x23746a['defIds'],'idSuffix':_0x2abebf[_0x1f273d(0x1b7)]},v({'ref':_0x55b372,'className':_0x1ddb60},_0x323231),_0x473cca);});function Rt(_0x30d980,_0x563527,_0xdb2ea1,_0x136591,_0x46e694){const _0x26e28f=_0x4b3101;return _0x214129(_0x30d980['tag'],v(v({'key':_0x563527},ki(_0x30d980,_0xdb2ea1,_0x46e694)),_0x136591),(Hi(_0x30d980,_0xdb2ea1)[_0x26e28f(0x2c5)]||[])[_0x26e28f(0x16a)](function(_0xe4ea0d,_0x5736a6){const _0x46d6ed=_0x26e28f;return Rt(_0xe4ea0d,''['concat'](_0x563527,'-')[_0x46d6ed(0x28c)](_0x30d980['tag'],'-')[_0x46d6ed(0x28c)](_0x5736a6),_0xdb2ea1,void 0x0,_0x46e694);}));}function ki(_0x520b86,_0x1fe297,_0x3ead40){const _0x3542eb=_0x4b3101;var _0xac15e5=v({},_0x520b86[_0x3542eb(0x277)]);_0x3ead40!=null&&_0x3ead40[_0x3542eb(0x13f)]&&_0xac15e5[_0x3542eb(0x316)]===_0x3542eb(0x13f)&&(_0xac15e5[_0x3542eb(0x316)]=_0x3ead40[_0x3542eb(0x13f)]),_0x520b86[_0x3542eb(0x281)]===_0x3542eb(0x2b7)&&_0xac15e5['id']&&(_0xac15e5['id']=_0xac15e5['id']+_0x1fe297['idSuffix']),Object[_0x3542eb(0x1f1)](_0xac15e5)['forEach'](function(_0x181726){const _0x3e3562=_0x3542eb;var _0x23635d=_0x181726[0x0],_0x1537d3=_0x181726[0x1];_0x23635d===_0x3e3562(0x2b7)&&typeof _0x1537d3==_0x3e3562(0x1a0)&&(_0xac15e5[_0x23635d]=_0x1537d3[_0x3e3562(0x325)](/url\(#(.*)\)/,_0x3e3562(0x27b)[_0x3e3562(0x28c)](_0x1fe297[_0x3e3562(0x329)],')')));});var _0x146203=_0x1fe297[_0x3542eb(0x22c)];return!_0x146203||_0x146203[_0x3542eb(0x140)]===0x0||(_0x520b86['tag']===_0x3542eb(0x291)&&_0xac15e5[_0x3542eb(0x278)]&&(_0xac15e5[_0x3542eb(0x278)]=_0xac15e5[_0x3542eb(0x278)]+_0x1fe297[_0x3542eb(0x329)]),Object[_0x3542eb(0x1f1)](_0xac15e5)['forEach'](function(_0x5007a8){const _0x57c9a5=_0x3542eb;var _0x1ddddb=_0x5007a8[0x0],_0xc5a70b=_0x5007a8[0x1];typeof _0xc5a70b=='string'&&(_0xac15e5[_0x1ddddb]=_0xc5a70b[_0x57c9a5(0x325)](/url\(#(.*)\)/,_0x57c9a5(0x27b)[_0x57c9a5(0x28c)](_0x1fe297['idSuffix'],')')));})),_0xac15e5;}function Hi(_0x9e8b20,_0x40ee56){const _0x30058c=_0x4b3101;var _0x19df66,_0x3d87ff=_0x40ee56['defIds'];return!_0x3d87ff||_0x3d87ff[_0x30058c(0x140)]===0x0?_0x9e8b20:_0x9e8b20[_0x30058c(0x281)]===_0x30058c(0x1ab)&&(!((_0x19df66=_0x9e8b20[_0x30058c(0x2c5)])===null||_0x19df66===void 0x0)&&_0x19df66[_0x30058c(0x140)])?v(v({},_0x9e8b20),{'children':_0x9e8b20[_0x30058c(0x2c5)][_0x30058c(0x16a)](function(_0x447ee8){const _0x56eecd=_0x30058c;return typeof _0x447ee8[_0x56eecd(0x277)]['id']==_0x56eecd(0x1a0)&&_0x3d87ff&&_0x3d87ff['indexOf'](_0x447ee8['attrs']['id'])>-0x1?v(v({},_0x447ee8),{'attrs':v(v({},_0x447ee8['attrs']),{'id':_0x447ee8[_0x56eecd(0x277)]['id']+_0x40ee56[_0x56eecd(0x329)]})}):_0x447ee8;})}):_0x9e8b20;}function ji(){const _0x4771a3=_0x4b3101;return Math[_0x4771a3(0x32b)]()[_0x4771a3(0x18a)](0x24)[_0x4771a3(0x319)](0x2,0x8);}je[_0x4b3101(0x2ad)]='UniverIcon';var Yi={'tag':_0x4b3101(0x258),'attrs':{'fill':'none','viewBox':_0x4b3101(0x265),'width':_0x4b3101(0x1ea),'height':_0x4b3101(0x1ea)},'children':[{'tag':'g','attrs':{'clipPath':_0x4b3101(0x2cc)},'children':[{'tag':_0x4b3101(0x1ee),'attrs':{'stroke':'currentColor','d':_0x4b3101(0x16e),'strokeLinecap':_0x4b3101(0x200),'strokeLinejoin':_0x4b3101(0x200),'strokeWidth':1.2}}]},{'tag':_0x4b3101(0x1ab),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x4b3101(0x28d)},'children':[{'tag':_0x4b3101(0x1ee),'attrs':{'fill':_0x4b3101(0x1f2),'d':_0x4b3101(0x2f6)}}]}]}],'defIds':[_0x4b3101(0x28d)]},Dt=_0x2a37b9(function(_0x11dbd3,_0x476e71){const _0x294473=_0x4b3101;return _0x214129(je,Object[_0x294473(0x301)]({},_0x11dbd3,{'id':_0x294473(0x283),'ref':_0x476e71,'icon':Yi}));});Dt[_0x4b3101(0x2ad)]=_0x4b3101(0x185);var Fi={'tag':_0x4b3101(0x258),'attrs':{'fill':_0x4b3101(0x233),'viewBox':_0x4b3101(0x21e),'width':_0x4b3101(0x1ea),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x4b3101(0x304)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x4b3101(0x190),'strokeLinecap':'round','strokeLinejoin':_0x4b3101(0x200),'strokeWidth':1.2}}]},{'tag':_0x4b3101(0x1ab),'attrs':{},'children':[{'tag':_0x4b3101(0x30e),'attrs':{'id':_0x4b3101(0x160)},'children':[{'tag':_0x4b3101(0x1ee),'attrs':{'fill':_0x4b3101(0x1f2),'d':_0x4b3101(0x2f6),'transform':_0x4b3101(0x299)}}]}]}],'defIds':[_0x4b3101(0x160)]},Nt=_0x2a37b9(function(_0x55187a,_0x55d2d8){const _0x5da43d=_0x4b3101;return _0x214129(je,Object[_0x5da43d(0x301)]({},_0x55187a,{'id':_0x5da43d(0x1b3),'ref':_0x55d2d8,'icon':Fi}));});Nt[_0x4b3101(0x2ad)]='OnLineSingle';function Wi(_0xf18929){const _0x2e68dc=_0x4b3101;switch(_0xf18929){case _0x1fd667[_0x2e68dc(0x326)]:return _0x2e68dc(0x2f5);case _0x1fd667[_0x2e68dc(0x1fc)]:return _0x2e68dc(0x334);case _0x1fd667[_0x2e68dc(0x279)]:return'collabStatus.fetchMiss';case _0x1fd667[_0x2e68dc(0x1e4)]:return _0x2e68dc(0x196);case _0x1fd667[_0x2e68dc(0x183)]:case _0x1fd667['AWAITING_WITH_PENDING']:return _0x2e68dc(0x239);case _0x1fd667[_0x2e68dc(0x2bd)]:case _0x1fd667[_0x2e68dc(0x22d)]:return'collabStatus.synced';}}function Vi(_0x411efe){const _0x8abb94=_0x4b3101,{status$:_0x5c3ab5}=_0x411efe,_0xf2ff70=_0x3aa67c(_0x5c3ab5,_0x1fd667[_0x8abb94(0x1e4)]),_0x3628eb=_0xfa01b5(_0x60315a),_0x3cc74d=_0xfa01b5(_0x57af04),_0x29c4e2=_0xf2ff70!==_0x1fd667['OFFLINE'],_0x521f1c=_0x3628eb['t'](Wi(_0xf2ff70)),_0x35e98b=_0x29c4e2?_0x4041d4(Nt,{}):_0x4041d4(Dt,{}),_0x377b96=_0x329941(()=>{_0x29c4e2||_0x3cc74d['reconnect']();},[_0x29c4e2,_0x3cc74d]);function _0x23c3cf(){const _0x3e32a3=_0x8abb94;return _0x41f326('div',{'className':_0x3e32a3(0x1e2),'onClick':_0x377b96,'children':[_0x4041d4(_0x3e32a3(0x294),{'className':_0x4748a2('univer-flex\x20univer-mr-2\x20univer-text-xl',{'univer-text-green-500':_0x29c4e2,'univer-text-red-500':!_0x29c4e2}),'children':_0x35e98b}),_0x4041d4('div',{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:univer-text-gray-200','children':_0x521f1c})]});}return _0x29c4e2?_0x23c3cf():_0x4041d4(_0x12d97d,{'title':_0x3628eb['t']('collab-client.tooltip.reconnect'),'children':_0x23c3cf()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x2599cc,_0x1256b2,_0x169b96,_0x1898ff)=>{for(var _0x176e48=_0x1898ff>0x1?void 0x0:_0x1898ff?Xi(_0x1256b2,_0x169b96):_0x1256b2,_0x21a062=_0x2599cc['length']-0x1,_0x18f5c9;_0x21a062>=0x0;_0x21a062--)(_0x18f5c9=_0x2599cc[_0x21a062])&&(_0x176e48=_0x18f5c9(_0x176e48)||_0x176e48);return _0x176e48;},Q=(_0x1f9eb5,_0x1f3246)=>(_0x2d0996,_0x3d8dbe)=>_0x1f3246(_0x2d0996,_0x3d8dbe,_0x1f9eb5);let te=class extends _0x79b64d{constructor(_0x325ccf,_0xd1e836,_0x1767f2,_0x2ff50e){const _0x1c5662=_0x4b3101;super(),_(this,'_status$',new _0x485a13(_0x1fd667[_0x1c5662(0x1e4)])),(this[_0x1c5662(0x21f)]=_0x325ccf,this[_0x1c5662(0x22a)]=_0xd1e836,this[_0x1c5662(0x169)]=_0x1767f2,this[_0x1c5662(0x311)]=_0x2ff50e,this['_initStatusComponent'](),this[_0x1c5662(0x1f7)]());}[_0x4b3101(0x1f7)](){const _0x4f7ff7=_0x4b3101;this[_0x4f7ff7(0x26e)](this['_univerInstanceService'][_0x4f7ff7(0x1fe)][_0x4f7ff7(0x2e4)](_0x184868(()=>{const _0x246f0c=_0x4f7ff7,_0x4206fc=this[_0x246f0c(0x21f)][_0x246f0c(0x24b)]();return _0x4206fc?this[_0x246f0c(0x169)][_0x246f0c(0x300)](_0x4206fc[_0x246f0c(0x193)]()):_0x127d0c(null);}),_0x184868(_0x32b142=>_0x32b142?_0x32b142[_0x4f7ff7(0x174)]:_0x127d0c(_0x1fd667[_0x4f7ff7(0x1e4)])))[_0x4f7ff7(0x26a)](_0x5c1329=>{this['_status$']['next'](_0x5c1329);}));}['_initStatusComponent'](){const _0x4c6e85=_0x4b3101;this[_0x4c6e85(0x26e)](this['_uiPartsService'][_0x4c6e85(0x231)](_0x5cf55c['HEADER_MENU'],()=>_0x381baa(Ki({'status$':this[_0x4c6e85(0x29d)]['asObservable']()}),this[_0x4c6e85(0x22a)])));}};te=Gi([Q(0x0,_0x15da02),Q(0x1,_0x43c406(_0xab2866)),Q(0x2,_0x43c406(_0x146ed1)),Q(0x3,_0x128a88)],te);function Ki(_0x20cfc1){const {status$:_0x2219dd}=_0x20cfc1;return function(){return _0x4041d4(Vi,{'status$':_0x2219dd});};}var zi=Object[_0x4b3101(0x18b)],Ji=(_0x270338,_0x550cde,_0x2c60ad,_0x517e81)=>{const _0x191b30=_0x4b3101;for(var _0x1409a7=_0x517e81>0x1?void 0x0:_0x517e81?zi(_0x550cde,_0x2c60ad):_0x550cde,_0x420fe2=_0x270338[_0x191b30(0x140)]-0x1,_0x44afb5;_0x420fe2>=0x0;_0x420fe2--)(_0x44afb5=_0x270338[_0x420fe2])&&(_0x1409a7=_0x44afb5(_0x1409a7)||_0x1409a7);return _0x1409a7;},B=(_0x42f086,_0x568ae5)=>(_0x17b715,_0x466f50)=>_0x568ae5(_0x17b715,_0x466f50,_0x42f086);function _0x1eb4(_0x56bede,_0x3888e7){const _0x20cade=_0x20ca();return _0x1eb4=function(_0x1eb43a,_0x52a3ca){_0x1eb43a=_0x1eb43a-0x133;let _0x1ed4ed=_0x20cade[_0x1eb43a];return _0x1ed4ed;},_0x1eb4(_0x56bede,_0x3888e7);}let se=class extends _0x79b64d{constructor(_0x3461e9,_0x32fda4,_0x25d31a,_0x5de00f,_0x2ec964,_0x32da55){const _0x53dadb=_0x4b3101;super(),this['_beforeCloseService']=_0x3461e9,this[_0x53dadb(0x1a8)]=_0x32fda4,this[_0x53dadb(0x226)]=_0x25d31a,this[_0x53dadb(0x153)]=_0x5de00f,this['_notificationService']=_0x2ec964,this[_0x53dadb(0x28b)]=_0x32da55,this[_0x53dadb(0x144)](),this[_0x53dadb(0x336)]();}['_setupBeforeClosingHandler'](){const _0x2323a9=_0x4b3101;this[_0x2323a9(0x26e)](this[_0x2323a9(0x256)]['registerBeforeClose'](()=>{const _0x6f2037=_0x2323a9;if(this['_localCacheService'][_0x6f2037(0x20e)][_0x6f2037(0x327)])return this[_0x6f2037(0x28b)]['t'](_0x6f2037(0x202));}));}[_0x4b3101(0x336)](){const _0x12f677=_0x4b3101;this[_0x12f677(0x26e)](this[_0x12f677(0x226)][_0x12f677(0x1c3)]['subscribe'](_0x39cfb9=>{const _0xfc3bac=_0x12f677;_0x39cfb9['id']===_0x41fed9['OTHER_CLIENT_EDITING']&&this['_messageService'][_0xfc3bac(0x19a)]({'type':_0xc5a6d9[_0xfc3bac(0x262)],'content':this[_0xfc3bac(0x28b)]['t'](_0xfc3bac(0x320))}),_0x39cfb9['id']===_0x41fed9[_0xfc3bac(0x31c)]&&this['_messageService']['show']({'type':_0xc5a6d9[_0xfc3bac(0x262)],'content':this[_0xfc3bac(0x28b)]['t'](_0xfc3bac(0x168))}),_0x39cfb9['id']===_0x41fed9[_0xfc3bac(0x1df)]&&this[_0xfc3bac(0x217)][_0xfc3bac(0x19a)]({'title':this[_0xfc3bac(0x28b)]['t'](_0xfc3bac(0x1dc)),'content':this['_localeService']['t'](_0xfc3bac(0x2a2)),'type':_0xfc3bac(0x2ea),'duration':0x0}),_0x39cfb9['id']===_0x41fed9[_0xfc3bac(0x1fc)]&&this[_0xfc3bac(0x153)][_0xfc3bac(0x19a)]({'type':_0xc5a6d9[_0xfc3bac(0x228)],'content':this[_0xfc3bac(0x28b)]['t'](_0xfc3bac(0x168))+'('+_0x39cfb9[_0xfc3bac(0x2f3)]+')'}),_0x39cfb9['id']===_0x41fed9[_0xfc3bac(0x1e3)]&&this[_0xfc3bac(0x153)][_0xfc3bac(0x19a)]({'type':_0xc5a6d9[_0xfc3bac(0x262)],'content':this[_0xfc3bac(0x28b)]['t'](_0x39cfb9[_0xfc3bac(0x2f3)]||'')}),_0x39cfb9['id']===_0x41fed9[_0xfc3bac(0x17f)]&&this[_0xfc3bac(0x153)]['show']({'type':_0xc5a6d9[_0xfc3bac(0x262)],'content':this[_0xfc3bac(0x28b)]['t'](_0xfc3bac(0x1ad))}),_0x39cfb9['id']===_0x41fed9[_0xfc3bac(0x212)]&&this['_messageService'][_0xfc3bac(0x19a)]({'type':_0xc5a6d9[_0xfc3bac(0x228)],'content':this['_localeService']['t'](_0xfc3bac(0x1cc))}),_0x39cfb9['id']===_0x41fed9['SUBMIT_CHANGESET_TIMEOUT']&&this[_0xfc3bac(0x153)][_0xfc3bac(0x19a)]({'type':_0xc5a6d9['Error'],'content':this[_0xfc3bac(0x28b)]['t']('session.collaboration-timeout')});}));}};se=Ji([B(0x0,_0x56d1bb),B(0x1,_0x164d04),B(0x2,_0x43c406(_0x2b6b49)),B(0x3,_0x4736b1),B(0x4,_0xc5bfab),B(0x5,_0x43c406(_0x60315a))],se);const Zi=_0x4b3101(0x276),et={},Ut=_0x1739e2('uni.network.url-service');var Qi=Object[_0x4b3101(0x18b)],qi=(_0x493db5,_0x29f61a,_0x5c980a,_0x290f10)=>{for(var _0x2528c9=_0x290f10>0x1?void 0x0:_0x290f10?Qi(_0x29f61a,_0x5c980a):_0x29f61a,_0x3861d2=_0x493db5['length']-0x1,_0x9afa84;_0x3861d2>=0x0;_0x3861d2--)(_0x9afa84=_0x493db5[_0x3861d2])&&(_0x2528c9=_0x9afa84(_0x2528c9)||_0x2528c9);return _0x2528c9;},G=(_0x4d84df,_0x1e8c27)=>(_0x265f08,_0x22a2af)=>_0x1e8c27(_0x265f08,_0x22a2af,_0x4d84df);let ie=class extends _0x47bff4{constructor(_0x276113,_0x45a675,_0x2e52db,_0x1882ec,_0x48ae51){const _0x42a5a4=_0x4b3101;super(),this[_0x42a5a4(0x1d7)]=_0x276113,this[_0x42a5a4(0x273)]=_0x45a675,this['_commandService']=_0x2e52db,this[_0x42a5a4(0x181)]=_0x1882ec,_0x48ae51?_0x48ae51==null||_0x48ae51['whenReady']()[_0x42a5a4(0x2a9)](()=>this[_0x42a5a4(0x26f)]()):(this['_logService'][_0x42a5a4(0x32e)](_0x42a5a4(0x285),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x42a5a4(0x26f)]());}async['_init'](){const _0x3a3b74=_0x4b3101,_0x33818b=this[_0x3a3b74(0x1d7)][_0x3a3b74(0x1c6)](_0x3a3b74(0x288)),_0x1e53cc=this[_0x3a3b74(0x1d7)][_0x3a3b74(0x1c6)](_0x3a3b74(0x1dd)),_0xe44000=this[_0x3a3b74(0x1d7)][_0x3a3b74(0x1c6)](_0x3a3b74(0x27d));if(!_0x33818b||!_0x1e53cc){this[_0x3a3b74(0x273)][_0x3a3b74(0x32e)](_0x3a3b74(0x285),_0x3a3b74(0x295));return;}const _0x4a4b81=await this['_dataLoaderService'][_0x3a3b74(0x213)](_0x33818b,Number(_0x1e53cc),_0xe44000);_0x4a4b81&&_0x4a4b81 instanceof _0xa4e2a5&&this['_setupSubUnitSync'](_0x4a4b81);}async['_setupSubUnitSync'](_0x1a995f){const _0x556976=_0x4b3101;await this[_0x556976(0x2c0)](_0x1a995f),_0x1a995f[_0x556976(0x2ee)][_0x556976(0x2e4)](_0x364374(this[_0x556976(0x30f)]))[_0x556976(0x26a)](_0x2e83e7=>{_0x2e83e7&&this['_updateURLWithCurrentState'](_0x2e83e7);}),this[_0x556976(0x1d7)][_0x556976(0x1c0)][_0x556976(0x2e4)](_0x364374(this[_0x556976(0x30f)]))[_0x556976(0x26a)](()=>this[_0x556976(0x2c0)](_0x1a995f));}['_updateURLWithCurrentState'](_0x186a4e,_0x5a8de7=!0x1){const _0x7df17d=_0x4b3101,_0x5e640c=this[_0x7df17d(0x1d7)][_0x7df17d(0x1c6)](_0x7df17d(0x27d));_0x186a4e[_0x7df17d(0x2cf)]()!==_0x5e640c&&this[_0x7df17d(0x1d7)][_0x7df17d(0x322)](_0x7df17d(0x27d),_0x186a4e[_0x7df17d(0x2cf)](),_0x5a8de7);}async[_0x4b3101(0x2c0)](_0x4c7294){const _0x58c0fe=_0x4b3101;var _0x42eb49;const _0x334ff6=this[_0x58c0fe(0x1d7)][_0x58c0fe(0x1c6)](_0x58c0fe(0x27d));if(!_0x334ff6||!_0x4c7294['getSheetBySheetId'](_0x334ff6)){const _0x5eb70c=_0x4c7294['getUnhiddenWorksheets']()[0x0],_0x5bc577=_0x4c7294[_0x58c0fe(0x2f1)](_0x5eb70c);if(!_0x5bc577)return;this[_0x58c0fe(0x1ac)](_0x5bc577,!0x0),await this[_0x58c0fe(0x2f2)][_0x58c0fe(0x1ef)](_0x4c770a['id'],{'unitId':_0x4c7294[_0x58c0fe(0x193)](),'subUnitId':_0x5eb70c});return;}((_0x42eb49=_0x4c7294[_0x58c0fe(0x20d)]())==null?void 0x0:_0x42eb49[_0x58c0fe(0x2cf)]())!==_0x334ff6&&await this[_0x58c0fe(0x2f2)][_0x58c0fe(0x1ef)](_0x4c770a['id'],{'unitId':_0x4c7294['getUnitId'](),'subUnitId':_0x334ff6});}};ie=qi([G(0x0,Ut),G(0x1,_0x4ce572),G(0x2,_0x50bf78),G(0x3,_0x43c406(_0x33dba0)),G(0x4,_0x5e61e3(_0x52d4bd))],ie);var en=Object[_0x4b3101(0x18b)],tn=(_0x5383a8,_0x59a9ad,_0x74a457,_0x2792a4)=>{const _0x10dd82=_0x4b3101;for(var _0x1f248b=_0x2792a4>0x1?void 0x0:_0x2792a4?en(_0x59a9ad,_0x74a457):_0x59a9ad,_0xac8b31=_0x5383a8[_0x10dd82(0x140)]-0x1,_0x136cad;_0xac8b31>=0x0;_0xac8b31--)(_0x136cad=_0x5383a8[_0xac8b31])&&(_0x1f248b=_0x136cad(_0x1f248b)||_0x1f248b);return _0x1f248b;},pe=(_0x4a8380,_0x3d2d2f)=>(_0x4899c2,_0x1028eb)=>_0x3d2d2f(_0x4899c2,_0x1028eb,_0x4a8380);let ne=class{constructor(_0x2d0a52,_0x37b9fc,_0x109de4){const _0x5f0629=_0x4b3101;this[_0x5f0629(0x22a)]=_0x2d0a52,this[_0x5f0629(0x268)]=_0x37b9fc,this[_0x5f0629(0x159)]=_0x109de4;}[_0x4b3101(0x1d1)](_0x15545c){const _0x29736d=_0x4b3101;this[_0x29736d(0x18f)](_0x15545c),this['_transformPreviousActiveRange'](_0x15545c);}['transformRemoteChangeset'](_0x4f2786){const _0x38cc36=_0x4b3101,{unitID:_0x2d1232}=_0x4f2786,_0x1365ec=this[_0x38cc36(0x159)][_0x38cc36(0x2c4)](_0x2d1232)[_0x38cc36(0x219)](_0x4c0370),{redoCache:_0xe253a4}=_0x1365ec['getUndoRedoMutationParamsCache']();if(_0xe253a4[_0x38cc36(0x140)]===0x0)return _0x4f2786;let _0xec94e3=_0xa51f61[_0x38cc36(0x15f)](_0x4f2786[_0x38cc36(0x198)][0x0]);for(let _0x19eb1f=0x0;_0x19eb1f<_0xe253a4[_0x38cc36(0x140)];_0x19eb1f++){const _0x4517b5={'id':'doc.mutation.rich-text-editing','params':{..._0xe253a4[_0x19eb1f]}},_0xa0d19=this[_0x38cc36(0x268)]['transformMutation'](_0xec94e3,_0x4517b5,!0x1);if(_0x45f25f(_0xa0d19))throw _0xa0d19[_0x38cc36(0x2ea)];_0xec94e3=_0xa0d19[_0x38cc36(0x1f4)];}return{..._0xa51f61['deepClone'](_0x4f2786),'mutations':[_0xec94e3]};}[_0x4b3101(0x18f)](_0x5e8fb7){const _0x68704c=_0x4b3101,{unitID:_0x54f10c}=_0x5e8fb7,_0x185579=this['_renderManagerService']['getRenderById'](_0x54f10c)['with'](_0x4c0370),{undoCache:_0x58dcc8,redoCache:_0x243002}=_0x185579[_0x68704c(0x1f8)]();if(_0x58dcc8[_0x68704c(0x140)]===0x0||_0x243002[_0x68704c(0x140)]===0x0)return;const _0x27f32c=[],_0x2a00db=[];let _0x5a07f3=_0xa51f61['deepClone'](_0x5e8fb7[_0x68704c(0x198)][0x0]),_0x5d2fa5=_0xa51f61[_0x68704c(0x15f)](_0x5e8fb7[_0x68704c(0x198)][0x0]);for(let _0x18db0f=_0x58dcc8[_0x68704c(0x140)]-0x1;_0x18db0f>=0x0;_0x18db0f--){const _0x4f959e={'id':_0x68704c(0x1c9),'params':{..._0x58dcc8[_0x18db0f]}},_0x102090={'id':_0x68704c(0x1c9),'params':{..._0x243002[_0x18db0f]}},_0x38e84e=this[_0x68704c(0x268)][_0x68704c(0x162)](_0x5a07f3,_0x4f959e,!0x1),_0xec59d=this[_0x68704c(0x268)][_0x68704c(0x162)](_0x5d2fa5,_0x102090,!0x1);if(_0x45f25f(_0x38e84e))throw _0x38e84e['error'];if(_0x45f25f(_0xec59d))throw _0xec59d['error'];_0x27f32c['unshift'](_0x38e84e['m2Prime'][_0x68704c(0x17d)]),_0x2a00db[_0x68704c(0x1ff)](_0xec59d['m2Prime'][_0x68704c(0x17d)]),_0x5a07f3=_0x38e84e[_0x68704c(0x1f4)],_0x5d2fa5=_0xec59d[_0x68704c(0x1f4)];}_0x185579[_0x68704c(0x2dc)]({'undoCache':_0x27f32c,'redoCache':_0x2a00db});}[_0x4b3101(0x2b5)](_0x5607b1){const _0x4e7d19=_0x4b3101,{unitID:_0x4577b8}=_0x5607b1,_0x40db4b=this[_0x4e7d19(0x159)][_0x4e7d19(0x2c4)](_0x4577b8)[_0x4e7d19(0x219)](_0x4c0370),_0x3bee78=_0x40db4b['getActiveRange']();if(_0x3bee78==null)return;const _0x3cb790=[{'id':_0x4e7d19(0x1c9),'params':{'unitId':_0x5607b1['unitID'],'actions':null,'textRanges':[_0x3bee78]}}],_0x4bfdb3=this[_0x4e7d19(0x268)][_0x4e7d19(0x26c)](_0x5607b1,_0x3cb790);if(!_0x3291bd(_0x4bfdb3))throw _0x4bfdb3[_0x4e7d19(0x2ea)];const _0x3aa9e9=_0x4bfdb3[_0x4e7d19(0x1d2)][0x0][_0x4e7d19(0x17d)][_0x4e7d19(0x1fa)];Array[_0x4e7d19(0x332)](_0x3aa9e9)&&_0x3aa9e9[_0x4e7d19(0x140)]&&_0x40db4b[_0x4e7d19(0x255)](_0x3aa9e9[0x0]);}};ne=tn([pe(0x0,_0x43c406(_0xab2866)),pe(0x1,_0xed2e53),pe(0x2,_0x85740c)],ne);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x4df65a,_0x3192b0,_0x325a91,_0x36d5e4)=>{const _0x405e7d=_0x4b3101;for(var _0x585f74=_0x36d5e4>0x1?void 0x0:_0x36d5e4?sn(_0x3192b0,_0x325a91):_0x3192b0,_0x5795dd=_0x4df65a[_0x405e7d(0x140)]-0x1,_0x31b288;_0x5795dd>=0x0;_0x5795dd--)(_0x31b288=_0x4df65a[_0x5795dd])&&(_0x585f74=_0x31b288(_0x585f74)||_0x585f74);return _0x585f74;},Ce=(_0x1d2654,_0x2ae5c8)=>(_0x4b9082,_0x1100d5)=>_0x2ae5c8(_0x4b9082,_0x1100d5,_0x1d2654);let re=class{constructor(_0x6d0d5c,_0x2b7e88,_0x7b5d0a){const _0x1997a4=_0x4b3101;this[_0x1997a4(0x22a)]=_0x6d0d5c,this[_0x1997a4(0x268)]=_0x2b7e88,this[_0x1997a4(0x2dd)]=_0x7b5d0a;}['transformStateCache'](_0x44bb3e){this['_transformHistoryAndStateStack'](_0x44bb3e);}[_0x4b3101(0x1a5)](_0x60c52f){const _0x2787bf=_0x4b3101,{unitID:_0x1f3d79}=_0x60c52f,{collaboration:_0x2e09e0}=this['_docStateChangeManagerService'][_0x2787bf(0x22b)](_0x1f3d79);if(_0x2e09e0[_0x2787bf(0x140)]===0x0)return _0x60c52f;let _0x4d9f13=_0xa51f61[_0x2787bf(0x15f)](_0x60c52f[_0x2787bf(0x198)][0x0]);for(let _0x238c8=0x0;_0x238c8<_0x2e09e0[_0x2787bf(0x140)];_0x238c8++){const _0x5b620a={'id':_0x2787bf(0x1c9),'params':{'unitId':_0x2e09e0[_0x238c8][_0x2787bf(0x1de)],..._0x2e09e0[_0x238c8]['redoState']}},_0x37222b=this[_0x2787bf(0x268)][_0x2787bf(0x162)](_0x4d9f13,_0x5b620a,!0x1);if(_0x45f25f(_0x37222b))throw _0x37222b[_0x2787bf(0x2ea)];_0x4d9f13=_0x37222b[_0x2787bf(0x1f4)];}return{..._0xa51f61[_0x2787bf(0x15f)](_0x60c52f),'mutations':[_0x4d9f13]};}[_0x4b3101(0x23e)](_0x1d3810){const _0x16ac71=_0x4b3101,{unitID:_0x36bbaf}=_0x1d3810,{history:_0x150cbf,collaboration:_0x449ced}=this[_0x16ac71(0x2dd)]['getStateCache'](_0x36bbaf);if(_0x150cbf[_0x16ac71(0x140)]===0x0&&_0x449ced['length']===0x0)return;const _0x4d6c7d=[],_0x59ccc0=[];let _0x25a02e=_0xa51f61[_0x16ac71(0x15f)](_0x1d3810[_0x16ac71(0x198)][0x0]),_0x386e9a=_0xa51f61[_0x16ac71(0x15f)](_0x1d3810[_0x16ac71(0x198)][0x0]);for(let _0x357815=_0x150cbf['length']-0x1;_0x357815>=0x0;_0x357815--){const _0x3d463f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x150cbf[_0x357815][_0x16ac71(0x1de)],..._0x150cbf[_0x357815][_0x16ac71(0x229)]}},_0x46b494={'id':_0x16ac71(0x1c9),'params':{'unitId':_0x150cbf[_0x357815]['unitId'],..._0x150cbf[_0x357815][_0x16ac71(0x134)]}},_0x3b651a=this['_transformService']['transformMutation'](_0x25a02e,_0x3d463f,!0x1),_0x2f84ea=this[_0x16ac71(0x268)][_0x16ac71(0x162)](_0x386e9a,_0x46b494,!0x1);if(_0x45f25f(_0x3b651a))throw _0x3b651a[_0x16ac71(0x2ea)];if(_0x45f25f(_0x2f84ea))throw _0x2f84ea['error'];_0x4d6c7d['unshift']({..._0x150cbf[_0x357815],'undoState':_0x3b651a[_0x16ac71(0x1d2)][_0x16ac71(0x17d)],'redoState':_0x2f84ea['m2Prime'][_0x16ac71(0x17d)]}),_0x25a02e=_0x3b651a[_0x16ac71(0x1f4)],_0x386e9a=_0x2f84ea[_0x16ac71(0x1f4)];}_0x25a02e=_0xa51f61['deepClone'](_0x1d3810[_0x16ac71(0x198)][0x0]),_0x386e9a=_0xa51f61['deepClone'](_0x1d3810[_0x16ac71(0x198)][0x0]);for(let _0x1bbfe2=_0x449ced[_0x16ac71(0x140)]-0x1;_0x1bbfe2>=0x0;_0x1bbfe2--){const _0x1af79b={'id':_0x16ac71(0x1c9),'params':{'unitId':_0x449ced[_0x1bbfe2][_0x16ac71(0x1de)],..._0x449ced[_0x1bbfe2][_0x16ac71(0x229)]}},_0x56835d={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x449ced[_0x1bbfe2][_0x16ac71(0x1de)],..._0x449ced[_0x1bbfe2][_0x16ac71(0x134)]}},_0x42d77a=this[_0x16ac71(0x268)][_0x16ac71(0x162)](_0x25a02e,_0x1af79b,!0x1),_0x11339f=this[_0x16ac71(0x268)][_0x16ac71(0x162)](_0x386e9a,_0x56835d,!0x1);if(_0x45f25f(_0x42d77a))throw _0x42d77a['error'];if(_0x45f25f(_0x11339f))throw _0x11339f['error'];_0x59ccc0[_0x16ac71(0x1ff)]({..._0x449ced[_0x1bbfe2],'undoState':_0x42d77a[_0x16ac71(0x1d2)][_0x16ac71(0x17d)],'redoState':_0x11339f[_0x16ac71(0x1d2)]['params']}),_0x25a02e=_0x42d77a[_0x16ac71(0x1f4)],_0x386e9a=_0x11339f[_0x16ac71(0x1f4)];}this[_0x16ac71(0x2dd)][_0x16ac71(0x2e6)](_0x36bbaf,{'history':_0x4d6c7d,'collaboration':_0x59ccc0});}};re=nn([Ce(0x0,_0x43c406(_0xab2866)),Ce(0x1,_0xed2e53),Ce(0x2,_0x43c406(_0x12d2f4))],re);var rn=Object['getOwnPropertyDescriptor'],on=(_0x8bc2cf,_0x3cc8bb,_0x5728e5,_0xeb6641)=>{const _0x4fd1c2=_0x4b3101;for(var _0x21cf28=_0xeb6641>0x1?void 0x0:_0xeb6641?rn(_0x3cc8bb,_0x5728e5):_0x3cc8bb,_0x944c0c=_0x8bc2cf[_0x4fd1c2(0x140)]-0x1,_0x2b8beb;_0x944c0c>=0x0;_0x944c0c--)(_0x2b8beb=_0x8bc2cf[_0x944c0c])&&(_0x21cf28=_0x2b8beb(_0x21cf28)||_0x21cf28);return _0x21cf28;},tt=(_0x57dacf,_0xee8182)=>(_0x50b2dc,_0x399fd1)=>_0xee8182(_0x50b2dc,_0x399fd1,_0x57dacf);let oe=class{constructor(_0x48eef9,_0x59fa29){const _0x16d59b=_0x4b3101;this[_0x16d59b(0x22a)]=_0x48eef9,this[_0x16d59b(0x268)]=_0x59fa29;}['transformSelections'](_0x25d58e){const _0x3e70d3=_0x4b3101;var _0x2331ec;const _0x5d62b4=this['_injector']['get'](_0x48f233),_0x448fc1=(_0x2331ec=_0x5d62b4[_0x3e70d3(0x244)]())!=null?_0x2331ec:[];if(_0x448fc1[_0x3e70d3(0x140)]===0x0)return;const _0x104273=_0x25d58e[_0x3e70d3(0x1da)],_0x38a78f=[{'id':_0x3e70d3(0x1c9),'params':{'unitId':_0x104273,'actions':null,'textRanges':_0x448fc1}}],_0x72908e=this[_0x3e70d3(0x268)][_0x3e70d3(0x26c)](_0x25d58e,_0x38a78f);if(!_0x3291bd(_0x72908e))throw _0x72908e[_0x3e70d3(0x2ea)];const _0x4b6a9e=_0x72908e[_0x3e70d3(0x1d2)][0x0][_0x3e70d3(0x17d)][_0x3e70d3(0x1fa)];Array[_0x3e70d3(0x332)](_0x4b6a9e)&&_0x4b6a9e[_0x3e70d3(0x140)]&&_0x5d62b4[_0x3e70d3(0x24a)](_0x4b6a9e,{'unitId':_0x104273,'subUnitId':_0x104273},!0x1);}};oe=on([tt(0x0,_0x43c406(_0xab2866)),tt(0x1,_0xed2e53)],oe);var an=Object['getOwnPropertyDescriptor'],cn=(_0x396fa7,_0x46be94,_0x5e730f,_0x691573)=>{for(var _0x205cec=_0x691573>0x1?void 0x0:_0x691573?an(_0x46be94,_0x5e730f):_0x46be94,_0x9508d4=_0x396fa7['length']-0x1,_0x277a3e;_0x9508d4>=0x0;_0x9508d4--)(_0x277a3e=_0x396fa7[_0x9508d4])&&(_0x205cec=_0x277a3e(_0x205cec)||_0x205cec);return _0x205cec;},U=(_0x399d03,_0x3d2de5)=>(_0x5407f8,_0x1fc720)=>_0x3d2de5(_0x5407f8,_0x1fc720,_0x399d03);let ae=class extends _0x79b64d{constructor(_0x38a3ce,_0xe3577,_0x46eef8,_0x56e5d8,_0x3215df,_0x2cd641,_0xe3b0a6,_0x54036e){const _0x11a978=_0x4b3101;super(),_(this,_0x11a978(0x29d),new _0x485a13(_0x1fd667[_0x11a978(0x1e4)])),(this[_0x11a978(0x2dd)]=_0x38a3ce,this[_0x11a978(0x169)]=_0xe3577,this['_docTransformIMECacheService']=_0x46eef8,this[_0x11a978(0x2a8)]=_0x56e5d8,this['_docTransformSelectionsService']=_0x3215df,this['_docSyncEditingCollabCursorService']=_0x2cd641,this[_0x11a978(0x153)]=_0xe3b0a6,this[_0x11a978(0x28b)]=_0x54036e,this[_0x11a978(0x18c)]());}['_initEntityListener'](){const _0x1edbe=_0x4b3101;this[_0x1edbe(0x26e)](this[_0x1edbe(0x169)][_0x1edbe(0x1e6)]['subscribe'](_0x30d987=>{const _0x28254f=_0x1edbe,_0x5162d0=this[_0x28254f(0x2dd)]['docStateChange$'][_0x28254f(0x26a)](_0x30d3cd=>{const _0x1e52a0=_0x28254f;if(_0x30d3cd==null)return;const {unitId:_0x32d66f,redoState:_0x499194,commandId:_0x57cea7}=_0x30d3cd;if(_0x32d66f!==_0x30d987[_0x1e52a0(0x1da)])return;const _0x4ef307={'id':_0x57cea7,'type':_0x138e6a[_0x1e52a0(0x1ba)],'params':{'unitId':_0x32d66f,'actions':_0x499194[_0x1e52a0(0x158)],'textRanges':null}};_0x30d987[_0x1e52a0(0x238)](_0x4ef307);});if(_0x30d987['disposeWithMe'](_0x5162d0),_0x30d987 instanceof _0x2a8014){const _0x12ac72={'onTransformIME':_0x4095e5=>this[_0x28254f(0x2f9)][_0x28254f(0x1d1)](_0x4095e5),'onTransformState':_0x5ed4fa=>this[_0x28254f(0x2a8)][_0x28254f(0x30a)](_0x5ed4fa),'onTransformSelections':_0x32942b=>this['_docTransformSelectionsService']['transformSelections'](_0x32942b),'onSyncEditingCollabCursor':_0x569fb9=>this[_0x28254f(0x1e5)][_0x28254f(0x1cd)](_0x569fb9),'onTransformRemoteChangesetByIMECache':_0x3e2508=>this[_0x28254f(0x2f9)][_0x28254f(0x1a5)](_0x3e2508),'onTransformRemoteChangesetByStateCache':_0x10355e=>this[_0x28254f(0x2a8)][_0x28254f(0x1a5)](_0x10355e)};_0x30d987[_0x28254f(0x251)](_0x12ac72);}}));}};ae=cn([U(0x0,_0x43c406(_0x12d2f4)),U(0x1,_0x43c406(_0x146ed1)),U(0x2,_0x43c406(ne)),U(0x3,_0x43c406(re)),U(0x4,_0x43c406(oe)),U(0x5,_0x43c406(He)),U(0x6,_0x4736b1),U(0x7,_0x43c406(_0x60315a))],ae);var ln=Object[_0x4b3101(0x18b)],_n=(_0x2d1fca,_0x2a4b04,_0x4c02ec,_0x24e448)=>{for(var _0x593997=_0x24e448>0x1?void 0x0:_0x24e448?ln(_0x2a4b04,_0x4c02ec):_0x2a4b04,_0x50b47b=_0x2d1fca['length']-0x1,_0x2e6ced;_0x50b47b>=0x0;_0x50b47b--)(_0x2e6ced=_0x2d1fca[_0x50b47b])&&(_0x593997=_0x2e6ced(_0x593997)||_0x593997);return _0x593997;},Ee=(_0x3cac8d,_0x8e6521)=>(_0x5121f5,_0x5ad18e)=>_0x8e6521(_0x5121f5,_0x5ad18e,_0x3cac8d);let we=class extends _0x79b64d{constructor(_0x325bb6,_0x4653b4,_0x26d643){const _0x419ddf=_0x4b3101;super(),_(this,_0x419ddf(0x1c1),new Map()),_(this,_0x419ddf(0x331),new Map()),_(this,_0x419ddf(0x222),!0x1),(this[_0x419ddf(0x13b)]=_0x325bb6,this[_0x419ddf(0x171)]=_0x4653b4,this[_0x419ddf(0x1f9)]=_0x26d643);}[_0x4b3101(0x176)](){this['_disabled']=!0x0;}[_0x4b3101(0x2aa)](){const _0xece125=_0x4b3101;this[_0xece125(0x222)]=!0x1;}get[_0x4b3101(0x20e)](){const _0x65f7af=_0x4b3101;return this[_0x65f7af(0x331)];}['dispose'](){const _0x2982a0=_0x4b3101;this[_0x2982a0(0x215)]()[_0x2982a0(0x2a9)](()=>super[_0x2982a0(0x2d1)]());}async[_0x4b3101(0x2b0)](_0x5adb68){const _0x3b4c9e=_0x4b3101;return this[_0x3b4c9e(0x222)]?null:this[_0x3b4c9e(0x171)][_0x3b4c9e(0x156)](_0x214651(_0x5adb68));}async[_0x4b3101(0x192)](_0x141ec3,_0x29857a){const _0xd230e7=_0x4b3101;return!!this[_0xd230e7(0x171)]['setItem'](_0x141ec3,_0x29857a);}[_0x4b3101(0x2c1)](_0x1775cb,_0x16f5e3,_0x48ce3a,_0x499c3c){const _0x5305fb=_0x4b3101,_0x1643ad=this[_0x5305fb(0x1f9)][_0x5305fb(0x23c)](_0x1775cb);this[_0x5305fb(0x1c1)][_0x5305fb(0x330)](_0x1775cb,{'unitID':_0x1775cb,'type':_0x16f5e3,'awaitingChangeset':_0x48ce3a,'mutations':_0x499c3c,'rev':_0x1643ad}),this[_0x5305fb(0x331)][_0x5305fb(0x28f)](_0x1775cb)||this[_0x5305fb(0x16d)](_0x1775cb);}['_scheduleSaving'](_0x3acfea){const _0x49ba8e=_0x4b3101,_0x27f636=this[_0x49ba8e(0x32d)]();_0x27f636===0x0?this[_0x49ba8e(0x180)](_0x3acfea):this[_0x49ba8e(0x331)][_0x49ba8e(0x330)](_0x3acfea,setTimeout(()=>this['_saveCache'](_0x3acfea),_0x27f636));}[_0x4b3101(0x32d)](){const _0x4952b0=_0x4b3101;var _0x3ca9ee;return(_0x3ca9ee=this[_0x4952b0(0x13b)][_0x4952b0(0x1c5)](_0xe5bac6))!=null?_0x3ca9ee:_0x190ee2;}[_0x4b3101(0x180)](_0x58ad70){const _0x22a487=_0x4b3101,_0x1b8e6b=this[_0x22a487(0x331)][_0x22a487(0x2c7)](_0x58ad70);return _0x1b8e6b!==void 0x0&&window[_0x22a487(0x321)](_0x1b8e6b),this['_localStorageService'][_0x22a487(0x17e)](_0x214651(_0x58ad70),this[_0x22a487(0x1c1)]['get'](_0x58ad70))['then'](()=>this[_0x22a487(0x331)][_0x22a487(0x260)](_0x58ad70));}async[_0x4b3101(0x215)](){const _0x48d7db=_0x4b3101,_0x44c3b4=[];this['_saveTaskMap'][_0x48d7db(0x16f)]((_0x35ab5c,_0x5ecb0c)=>{const _0x3f8233=_0x48d7db;window[_0x3f8233(0x321)](_0x35ab5c),_0x44c3b4[_0x3f8233(0x13c)](this[_0x3f8233(0x180)](_0x5ecb0c)[_0x3f8233(0x2a9)](()=>{const _0x2d0b0a=_0x3f8233;this['_saveTaskMap'][_0x2d0b0a(0x260)](_0x5ecb0c);}));}),await Promise[_0x48d7db(0x2ac)](_0x44c3b4);}};we=_n([Ee(0x0,_0x43fb15),Ee(0x1,_0x33785b),Ee(0x2,_0x43c406(_0x191963))],we);class hn extends _0x47bff4{constructor(){const _0x3b1fe5=_0x4b3101;super(),_(this,_0x3b1fe5(0x1c0)),this[_0x3b1fe5(0x1c0)]=_0x10c8be(window,_0x3b1fe5(0x2c2))[_0x3b1fe5(0x2e4)](_0x364374(this['dispose$']),_0x1f1816(0x1),_0x2647f4(void 0x0));}[_0x4b3101(0x322)](_0x310692,_0x4337bd,_0x1b2751=!0x1){const _0x3fa141=_0x4b3101,_0x493674=new URL(window['location'][_0x3fa141(0x2e5)]);_0x493674['searchParams'][_0x3fa141(0x330)](_0x310692,_0x4337bd),_0x1b2751?window['history'][_0x3fa141(0x2a4)]('','',_0x493674[_0x3fa141(0x18a)]()):window[_0x3fa141(0x165)]['pushState']('','',_0x493674[_0x3fa141(0x18a)]());}[_0x4b3101(0x205)](_0x4db244,_0x4ae06f=!0x1){const _0xfd440b=_0x4b3101,_0x38bf2e=new URL(window[_0xfd440b(0x1f5)][_0xfd440b(0x2e5)]);_0x38bf2e[_0xfd440b(0x2f7)][_0xfd440b(0x260)](_0x4db244),_0x4ae06f?window[_0xfd440b(0x165)][_0xfd440b(0x2a4)]('','',_0x38bf2e['toString']()):window['history'][_0xfd440b(0x2f0)]('','',_0x38bf2e[_0xfd440b(0x18a)]());}[_0x4b3101(0x1c6)](_0x257e30){const _0x1ce9c2=_0x4b3101;var _0x55d40c;return(_0x55d40c=new URL(window[_0x1ce9c2(0x1f5)][_0x1ce9c2(0x2e5)])[_0x1ce9c2(0x2f7)][_0x1ce9c2(0x2c7)](_0x257e30))!=null?_0x55d40c:void 0x0;}}var un=Object['defineProperty'],dn=Object['getOwnPropertyDescriptor'],fn=(_0x3a223e,_0x415f30,_0x263fe9)=>_0x415f30 in _0x3a223e?un(_0x3a223e,_0x415f30,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x263fe9}):_0x3a223e[_0x415f30]=_0x263fe9,Sn=(_0x39d543,_0x4c3aaa,_0x3aa49b,_0x1a3979)=>{for(var _0x39bf7a=_0x1a3979>0x1?void 0x0:_0x1a3979?dn(_0x4c3aaa,_0x3aa49b):_0x4c3aaa,_0x278917=_0x39d543['length']-0x1,_0x14fca9;_0x278917>=0x0;_0x278917--)(_0x14fca9=_0x39d543[_0x278917])&&(_0x39bf7a=_0x14fca9(_0x39bf7a)||_0x39bf7a);return _0x39bf7a;},Oe=(_0x534286,_0x361c21)=>(_0x3b8558,_0x16083b)=>_0x361c21(_0x3b8558,_0x16083b,_0x534286),mn=(_0x125b1d,_0x3b62cc,_0x257858)=>fn(_0x125b1d,_0x3b62cc+'',_0x257858);const gn=_0x4b3101(0x318);let Ae=class extends _0x27e0d4{constructor(_0x2c274c=et,_0x58140c,_0x4b022c,_0x30d9b1){const _0x188290=_0x4b3101;super(),this[_0x188290(0x31f)]=_0x2c274c,this[_0x188290(0x159)]=_0x58140c,this[_0x188290(0x22a)]=_0x4b022c,this[_0x188290(0x13b)]=_0x30d9b1;const {..._0x1f81e0}=_0x2b6a2d({},et,this['_config']);this[_0x188290(0x13b)]['setConfig'](Zi,_0x1f81e0);}[_0x4b3101(0x27f)](){const _0x412a71=_0x4b3101;this['_registerDependencies'](),this[_0x412a71(0x31e)]();}[_0x4b3101(0x15d)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x550cd7=_0x4b3101;var _0x42aa64;const _0x322f23=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x52514f,{'useClass':_0x21a68c}],[_0x164d04,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x5145ae(this[_0x550cd7(0x22a)],_0x3678fd(_0x322f23,(_0x42aa64=this[_0x550cd7(0x31f)])==null?void 0x0:_0x42aa64['override']));}['_registerRenderDependencies'](){const _0x469106=_0x4b3101;this[_0x469106(0x26e)](this[_0x469106(0x159)][_0x469106(0x142)](_0x32c954[_0x469106(0x16b)],[Pe])),this[_0x469106(0x26e)](this[_0x469106(0x159)][_0x469106(0x142)](_0x32c954[_0x469106(0x1c8)],[Le]));}[_0x4b3101(0x31e)](){_0x3e1667(this['_injector'],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x4b3101(0x1d9),gn),Ae=Sn([_0x42cbbe(_0x13f0fd),Oe(0x1,_0x85740c),Oe(0x2,_0x43c406(_0xab2866)),Oe(0x3,_0x43fb15)],Ae);var In=Object[_0x4b3101(0x18b)],vn=(_0x70fb57,_0x5a237b,_0x11d5e2,_0x2d401a)=>{const _0x130c1d=_0x4b3101;for(var _0x2c203a=_0x2d401a>0x1?void 0x0:_0x2d401a?In(_0x5a237b,_0x11d5e2):_0x5a237b,_0x5cd6c3=_0x70fb57[_0x130c1d(0x140)]-0x1,_0x259545;_0x5cd6c3>=0x0;_0x5cd6c3--)(_0x259545=_0x70fb57[_0x5cd6c3])&&(_0x2c203a=_0x259545(_0x2c203a)||_0x2c203a);return _0x2c203a;},K=(_0xb589f5,_0x69d168)=>(_0x2806e1,_0x15f6d2)=>_0x69d168(_0x2806e1,_0x15f6d2,_0xb589f5);let st=class extends _0xc6486c{constructor(_0x262784,_0x944c4e,_0x308ab9,_0x325b07,_0x27664d){super(_0x262784,_0x944c4e,_0x308ab9,_0x325b07,_0x27664d);}async[_0x4b3101(0x247)](_0x1e28fc){const _0x3d52a9=_0x4b3101,_0x38061e=await this[_0x3d52a9(0x2d4)](),_0x5c0113=this[_0x3d52a9(0x17a)](_0x1e28fc,_0x38061e);return this[_0x3d52a9(0x305)](_0x5c0113);}[_0x4b3101(0x17a)](_0x3317f9,_0x39a66b){const _0x971623=_0x4b3101,_0x53cd88=typeof window>'u'?new URL(_0x3317f9):new URL(_0x3317f9,window[_0x971623(0x1f5)][_0x971623(0x1a9)]);_0x53cd88[_0x971623(0x2f7)]['set'](_0x971623(0x182),_0x39a66b);const _0x193f72=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x971623(0x1f5)][_0x971623(0x17c)]);return _0x193f72[_0x971623(0x2c7)]('runId')&&_0x53cd88['searchParams']['set'](_0x971623(0x2d9),_0x193f72['get'](_0x971623(0x2d9))),_0x53cd88['toString']();}async[_0x4b3101(0x2d4)](){const _0x354bb5=_0x4b3101;var _0x590112,_0x55f090,_0xaff57a;const _0x1cc5c0=this['_configService']['getConfig'](_0x314741),_0x19b724=(_0x590112=_0x1cc5c0==null?void 0x0:_0x1cc5c0[_0x354bb5(0x2bf)])!=null?_0x590112:_0x2ebe8b;return(_0xaff57a=(_0x55f090=(await this['_httpService']['get'](_0x19b724,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x55f090['ticket'])!=null?_0xaff57a:'';}};function _0x20ca(){const _0x4ab73d=['arc','addHandlerCallback','_unitStatus','YUUMI_NO_CUBOID_FOR_QUESTION','DeleteRangeMoveLeftCommandId','setActiveRange','_beforeCloseService','2723120YJRrfC','svg','YUUMI_URL_COL_OUT_OF_RANGE','post','_send','getMemberID','onTransformChange$','_backgroundColor','collab-rect-range-','delete','APPLY_REJECT','Warning','#FFF','_entityInit$','0\x200\x2016\x2016','_updateLocalCursor','measureText','_transformService','SNAPSHOT_HAS_BEEN_REMOVED','subscribe','from','transformMutationsWithChangeset','_onCursorUpdate','disposeWithMe','_init','getRangePointData','disposeUnit','color','_logService','triggerDblclick','_anchorDot','collaboration-client-ui.config','attrs','xlink:href','FETCH_MISS','getSkeleton','url(#$1','send','subunit','UNAUTHENTICATED','onStarting','_scene','tag','_scheduleClearOtherTimer','off-line-single','hasOwnProperty','[CollaborationDataLoaderController]','getMergeData','_getScale','unit','_cursors','unload','_localeService','concat','off-line-single_clip0_910_343','roomMembers','has','some','use','_cursorShapes','startsWith','div','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_initCommandExecutedListener','NOT_FOUND','Failed','translate(.97)','LICENSE_DISTRO_REJECTED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','call','_status$','_render','addObjects','backgroundColor','getValue','permission.content','WECHAT_HAS_BEEN_BOUND','replaceState','imageSourceType','YUUMI_ASYNCIO_CANCELLED','_draw','_docTransformStateCacheService','then','enableLocalCache','clearInterval','all','displayName','getUnitStatus$','setTimeout','loadOfflineData','editingUnit','function','_handleLeaveEvent','saveImage','_transformPreviousActiveRange','_collabCursorState$','mask','_drawRectRange','getCurrentUnitForType','LOGIN_FAILED','_refRangeService','onMouseMove','SYNCED','APPLY_REVISION_CONFILICT','wsSessionTicketUrl','_updateSubUnitFromURLParams','updateOfflineData','popstate','_hovered','getRenderById','children','COMPLETION_FINISHED','get','onCommandExecuted','_syncEditingCollabCursorService','startColumn','transform','url(#off-line-single_clip0_910_343)','YUUMI_ALL_TABLES_IS_INVALID','column','getSheetId','runOnServer','dispose','FromArray','_collabCursorController','_getSessionTicket','text','isActive','_onRefRangeChange','init','runId','prototype','skeleton','setUndoRedoMutationParamsCache','_docStateChangeManagerService','parse','_heartbeatTimer','APPLY_PERMISSION_DENIED','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_handleEvent','toRgbString','pipe','href','setStateCache','row','3864707fBHavi','Unknown\x20user','error','_shapes','symbol','_colorIndex','activeSheet$','subUnitId','pushState','getSheetBySheetId','_commandService','data','fillText','collabStatus.offline','M0\x200H16V16H0z','searchParams','purple.300','_docTransformIMECacheService','closePath','onPointerEnter$','_eventUnsubscribe','black','newValue','propertyIsEnumerable','getCollabEntity$','assign','PY_RUNTIME_SCRIPT_ERROR','green.600','url(#on-line-single_clip0_910_349)','_doCreateSocket','save','isEditing','currentTheme$','ranges','transformStateCache','max','_collabSessionService','4gykPMi','clipPath','dispose$','TEXT','_uiPartsService','_getAnchorBounding','_imageIoService','add','INVITE_CODE_REQUIRED','fill','memberID','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','substring','_name','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','CLOSE_ROOM','onPointerLeave$','_initDependencies','_config','collaboration.single-unit.warning','clearTimeout','setParam','_docClipboardService','_roomMembers$','replace','OFFLINE','size','getOwnPropertySymbols','idSuffix','startRow','random','find','_getSaveTimeout','debug','_toggleOffline','set','_saveTaskMap','isArray','next','collabStatus.conflict','generateRandomId','_initEvent','LICENSE_EXPORT_SIZE_EXCEEDED','addClipboardHook','redoState','_removeClearOtherTimer','_cursorInfo$','result','sheetId','_selfUnitIDs','7RuyzDc','_configService','push','APPLY_DUPLICATED','INTERNAL_ERROR','colorChannel1','length','CHANGESET_REVISION_CONFILICT','registerRenderModule','288psVAQL','_setupBeforeClosingHandler','addObject','_session','assignAColorForMemberID','hide','_lastPointer','getVpScrollXYInfoByPosToVp','setAlpha','ENSURE_SNAPSHOT_EXECUTION','eventID','cursorInfo','bottom','_updateCollabCursors','className','beginPath','_messageService','RemoveRowCommandId','min','getItem','_anchor','actions','_renderManagerService','INVITE_CODE_ALREADY_BOUND','getTypeOfUnitAdded$','trim','onRendered','getCellPositionByOffset','deepClone','on-line-single_clip0_910_349','subscribeEvent','transformMutation','_clearOtherTimers','addEventListener','history','_docSkeletonManagerService','_getSheetObject','collaboration.closeRoom','_collaborationController','map','UNIVER_DOC','LICENSE_MAX_UNITS_EXCEEDED','_scheduleSaving','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','forEach','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_localStorageService','OTHER_CLIENTS_EDITING','_color','status$','unsubscribe','disableLocalCache','UPDATE_CURSOR','code','RECT','_createSocketURL','_onCursorDelete','search','params','setItem','SOCKET_FAILED_RETRY','_saveCache','_dataLoaderService','sessionTicket','AWAITING','_hideTimer','OffLineSingle','_instanceService','YUUMI_AI_RUN_FAILED','ACTIVE_UNIT_EVENT_CHANNEL','roomMembers$','toString','getOwnPropertyDescriptor','_initEntityListener','_hover','createInstance','_transformUndoRedoStack','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','setInterval','saveOfflineData','getUnitId','_getMergeRange','YUUMI_TABLE_NOT_FOUND_IN_UNIT','collabStatus.notCollab','_removeCollabCursors','mutations','_entities','show','_docSkeleton','_drawAnchor','executionId','name','icon','string','_context','YUUMI_RATE_OVER_LIMIT','stringify','_cursor','transformRemoteChangeset','_online','rgba(255,\x20255,\x20255,\x200.01)','_localCacheService','origin','InsertRangeMoveRightCommandId','defs','_updateURLWithCurrentState','session.will-retry','defineProperty','top','UNRECOGNIZED','jiqing.500','MOBILE_HAS_BEEN_BOUND','on-line-single','USER_NOT_INVITED_CODE','evenodd','getAncestorScale','current','endRow','moveTo','MUTATION','MoveRangeCommandId','flatMap','contains','selection','_range','urlChange$','_cachedData','body','event$','_themeService','getConfig','getParam','456828EyVTNz','UNIVER_SHEET','doc.mutation.rich-text-editing','INVALID_ARGUMENT','source','session.connection-failed','syncEditingCollabCursor','ALREADY_EXISTS','SNAPSHOT_INVALID_SNAPSHOT','_handleJoinEvent','transformIMECache','m2Prime','setShapeProps','UNDEFINED','onPointerMove$','28731FfOWGU','_urlService','asObservable','pluginName','unitID','CONNECTOR_DATA_TOO_LARGE','permission.title','type','unitId','PERMISSION_DENIED','NO_OTHER_CLIENTS_EDITING','complete','univer-flex\x20univer-items-center','JOIN_ROOM_FAILED','NOT_COLLAB','_docSyncEditingCollabCursorService','entityInit$','_refreshCollabCursors','findNodePositionByCharIndex','sessionStatus$','1em','_sheetSkeletonManagerService','_textBubble','_colorAssignService','path','executeCommand','getUniverSheetInstance','entries','#fff','_labelPosition','m1Prime','location','23085wbJnah','_initStatusListener','getUndoRedoMutationParamsCache','_revisionService','textRanges','_id','CONFLICT','height','focused$','unshift','round','getOffsetConfig','collaboration-client.offline-data-not-saved','width','collabCursorState$','removeParam','univerjs-icon\x20univerjs-icon-','YUUMI_SUBSCRIPTION_NOT_FOUND','_scheduleHeartbeat','restore','blue.400','_unitOnClients','currentSkeleton$','getActiveSheet','saveTaskMap','collab-text-anchor-','hovered','cursorInfo$','SOCKET_FAILED','loadUnit','_startSheetCollabCursor','exhaustSavingTask','_drawTextRange','_notificationService','173346hjXZhR','with','VIEW_MAIN','INVALID_INVITE_CODE','values','_startDocCollabCursor','0\x200\x2017\x2016','_univerInstanceService','includes','EMAIL_HAS_BEEN_BOUND','_disabled','fillStyle','invokeId','registerRefRange','_collaborationUIEventService','getCurrent','Error','undoState','_injector','getStateCache','defIds','PENDING','range','655546UOlNCL','extend','registerComponent','lineTo','none','getMember','10HHkGeo','LICENSE_IMPORT_SIZE_EXCEEDED','_ensureSubject','onLocalMutation','collabStatus.syncing','_assignedColors','drawWith','getCurrentRevOfUnit','getCollabCursors$','_transformHistoryAndStateStack','_handleHover','_initResize','font','TOO_MANY_REQUESTS','sheetID','getDocRanges','collab-text-range-','getColorFromTheme','createSocket','APPLY_NON_SEQUENTIAL_REVISION','_memberService','replaceDocRanges','getFocusedUnit','indexOf','YUUMI_UNABLE_LOAD_URL','USERS_LEAVE','resize'];_0x20ca=function(){return _0x4ab73d;};return _0x20ca();}st=vn([K(0x0,_0x43c406(_0xab2866)),K(0x1,_0x43c406(_0x2b1470)),K(0x2,_0x43fb15),K(0x3,_0x4ce572),K(0x4,_0x2c5b5c)],st);const it=0x7530,nt=_0x4b3101(0x188);class jn extends _0x79b64d{constructor(){const _0x55e234=_0x4b3101;super(),_(this,_0x55e234(0x1fb),_0x17d706()),_(this,_0x55e234(0x139),new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x55e234(0x2df),null),_(this,_0x55e234(0x163),new Map()),_(this,'_unitStatus',new Map()),this['_init']();}[_0x4b3101(0x2d1)](){const _0x29a7d7=_0x4b3101;super[_0x29a7d7(0x2d1)](),this[_0x29a7d7(0x163)][_0x29a7d7(0x16f)]((_0x23bc58,_0x508292)=>this[_0x29a7d7(0x135)](_0x508292)),this['_heartbeatTimer']&&window['clearInterval'](this[_0x29a7d7(0x2df)]);}[_0x4b3101(0x2ae)](_0x368f25){const _0xe4aa34=_0x4b3101;return this[_0xe4aa34(0x237)](_0x368f25)[_0xe4aa34(0x2e4)](_0x27de52());}[_0x4b3101(0x2b1)](_0x9adcb5){const _0x4ebe83=_0x4b3101;this['_selfUnitIDs'][_0x4ebe83(0x327)]===0x0&&this['_scheduleHeartbeat'](),this[_0x4ebe83(0x139)]['add'](_0x9adcb5),this[_0x4ebe83(0x25b)]({'type':0x0,'memberID':this[_0x4ebe83(0x1fb)],'unitIDs':[_0x9adcb5],'isForwarded':!0x1});}[_0x4b3101(0x271)](_0x6861e9){const _0x2c35f6=_0x4b3101;this[_0x2c35f6(0x139)]['delete'](_0x6861e9),this['_selfUnitIDs'][_0x2c35f6(0x327)]===0x0&&this[_0x2c35f6(0x2df)]&&window[_0x2c35f6(0x2ab)](this[_0x2c35f6(0x2df)]);}[_0x4b3101(0x26f)](){const _0x5255d3=_0x4b3101;this[_0x5255d3(0x26e)](_0x4c94c1(_0x10c8be(window,'storage')[_0x5255d3(0x26a)](_0x36db2a=>{const _0x383ffd=_0x5255d3;if(_0x36db2a['key']!==nt||!_0x36db2a[_0x383ffd(0x2fe)])return;const _0x3abfe8=JSON[_0x383ffd(0x2de)](_0x36db2a[_0x383ffd(0x2fe)]);this['_handleEvent'](_0x3abfe8);}))),window[_0x5255d3(0x164)](_0x5255d3(0x28a),()=>this[_0x5255d3(0x25b)]({'type':0x1,'memberID':this[_0x5255d3(0x1fb)],'unitIDs':Array[_0x5255d3(0x26b)](this[_0x5255d3(0x139)])}));}[_0x4b3101(0x2e2)](_0x2d64c6){const _0x14f5da=_0x4b3101;switch(_0x2d64c6[_0x14f5da(0x1dd)]){case 0x0:this['_handleJoinEvent'](_0x2d64c6);break;case 0x1:this[_0x14f5da(0x2b3)](_0x2d64c6);break;case 0x2:this['_handleHeartbeatEvent'](_0x2d64c6);break;}}[_0x4b3101(0x1d0)](_0x4371b8){const _0x3d366f=_0x4b3101,{unitIDs:_0x1a46b3,memberID:_0x2d2dc1,isForwarded:_0x211ff8}=_0x4371b8;_0x1a46b3[_0x3d366f(0x16f)](_0x5443a0=>{const _0x5414e8=_0x3d366f;if(!_0x211ff8&&this[_0x5414e8(0x20b)][_0x5414e8(0x28f)](_0x5443a0)&&this[_0x5414e8(0x237)](_0x5443a0)[_0x5414e8(0x333)](_0x4919dc[_0x5414e8(0x172)]),!this['_unitOnClients']['has'](_0x5443a0)||!this[_0x5414e8(0x20b)][_0x5414e8(0x2c7)](_0x5443a0)[_0x5414e8(0x28f)](_0x2d2dc1)){const _0x3fe3b0=this[_0x5414e8(0x20b)][_0x5414e8(0x2c7)](_0x5443a0)||new Set();_0x3fe3b0[_0x5414e8(0x314)](_0x2d2dc1),this[_0x5414e8(0x20b)]['set'](_0x5443a0,_0x3fe3b0),this[_0x5414e8(0x282)](_0x2d2dc1);}}),_0x211ff8||this['_send']({'type':0x0,'memberID':this[_0x3d366f(0x1fb)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x89be88){const _0x539e9e=_0x4b3101;this[_0x539e9e(0x135)](_0x89be88);const _0x106301=window[_0x539e9e(0x2af)](()=>{const _0x2cd9b0=_0x539e9e;this[_0x2cd9b0(0x20b)][_0x2cd9b0(0x16f)](_0x392af5=>{const _0x2b92d0=_0x2cd9b0;_0x392af5[_0x2b92d0(0x260)](_0x89be88);});},it*0x2);this[_0x539e9e(0x163)][_0x539e9e(0x330)](_0x89be88,_0x106301);}[_0x4b3101(0x135)](_0x4b48d3){const _0x48e9d4=_0x4b3101;if(this['_clearOtherTimers'][_0x48e9d4(0x28f)](_0x4b48d3)){const _0xba558f=this['_clearOtherTimers'][_0x48e9d4(0x2c7)](_0x4b48d3);_0xba558f&&window[_0x48e9d4(0x321)](_0xba558f),this[_0x48e9d4(0x163)]['set'](_0x4b48d3,null);}}[_0x4b3101(0x2b3)](_0x1170d7){const _0x4c72ba=_0x4b3101,{memberID:_0x4b0101,unitIDs:_0x133607}=_0x1170d7;_0x133607[_0x4c72ba(0x16f)](_0x37a843=>{const _0x1cf8c0=_0x4c72ba;var _0x4ca741;const _0x196f81=this[_0x1cf8c0(0x20b)][_0x1cf8c0(0x2c7)](_0x37a843);_0x196f81&&(_0x196f81['delete'](_0x4b0101),(_0x4ca741=this['_ensureSubject'](_0x37a843))==null||_0x4ca741[_0x1cf8c0(0x333)](_0x196f81[_0x1cf8c0(0x327)]===0x0?_0x4919dc['NO_OTHER_CLIENTS_EDITING']:_0x4919dc['OTHER_CLIENTS_EDITING']));}),this[_0x4c72ba(0x135)](_0x4b0101);}['_handleHeartbeatEvent'](_0x40fb3f){const _0x1bf29a=_0x4b3101;this[_0x1bf29a(0x282)](_0x40fb3f[_0x1bf29a(0x317)]);}[_0x4b3101(0x25b)](_0x53ca75){const _0xc86e2f=_0x4b3101;localStorage[_0xc86e2f(0x17e)](nt,JSON[_0xc86e2f(0x1a3)](_0x53ca75));}[_0x4b3101(0x208)](){const _0x472963=_0x4b3101;this[_0x472963(0x2df)]=window[_0x472963(0x191)](()=>{const _0x5da914=_0x472963;this[_0x5da914(0x25b)]({'type':0x2,'memberID':this[_0x5da914(0x1fb)]});},it);}[_0x4b3101(0x237)](_0x6f51ec){const _0x3c4ac0=_0x4b3101;return this[_0x3c4ac0(0x252)]['has'](_0x6f51ec)||this[_0x3c4ac0(0x252)][_0x3c4ac0(0x330)](_0x6f51ec,new _0x485a13(_0x4919dc[_0x3c4ac0(0x1e0)])),this[_0x3c4ac0(0x252)]['get'](_0x6f51ec);}}var Mt=(_0x5be942=>(_0x5be942[_0x5be942[_0x4b3101(0x1d4)]=0x0]='UNDEFINED',_0x5be942[_0x5be942['OK']=0x1]='OK',_0x5be942[_0x5be942['INTERNAL_ERROR']=0x2]=_0x4b3101(0x13e),_0x5be942[_0x5be942[_0x4b3101(0x1df)]=0x3]=_0x4b3101(0x1df),_0x5be942[_0x5be942[_0x4b3101(0x297)]=0x4]=_0x4b3101(0x297),_0x5be942[_0x5be942[_0x4b3101(0x27e)]=0x5]=_0x4b3101(0x27e),_0x5be942[_0x5be942[_0x4b3101(0x1ce)]=0x6]=_0x4b3101(0x1ce),_0x5be942[_0x5be942[_0x4b3101(0x1ca)]=0x7]=_0x4b3101(0x1ca),_0x5be942[_0x5be942[_0x4b3101(0x242)]=0x8]='TOO_MANY_REQUESTS',_0x5be942[_0x5be942['COMPLETION_FINISHED']=0x9]=_0x4b3101(0x2c6),_0x5be942[_0x5be942[_0x4b3101(0x2ba)]=0xa]='LOGIN_FAILED',_0x5be942[_0x5be942[_0x4b3101(0x141)]=0x1389]=_0x4b3101(0x141),_0x5be942[_0x5be942[_0x4b3101(0x1cf)]=0x1771]=_0x4b3101(0x1cf),_0x5be942[_0x5be942[_0x4b3101(0x269)]=0x1772]=_0x4b3101(0x269),_0x5be942[_0x5be942[_0x4b3101(0x14c)]=0x1773]=_0x4b3101(0x14c),_0x5be942[_0x5be942[_0x4b3101(0x261)]=0x1b59]='APPLY_REJECT',_0x5be942[_0x5be942[_0x4b3101(0x248)]=0x1b5a]=_0x4b3101(0x248),_0x5be942[_0x5be942[_0x4b3101(0x2be)]=0x1b5b]=_0x4b3101(0x2be),_0x5be942[_0x5be942[_0x4b3101(0x2e0)]=0x1b5c]=_0x4b3101(0x2e0),_0x5be942[_0x5be942[_0x4b3101(0x13d)]=0x1b5d]=_0x4b3101(0x13d),_0x5be942[_0x5be942[_0x4b3101(0x1db)]=0x1f41]=_0x4b3101(0x1db),_0x5be942[_0x5be942[_0x4b3101(0x16c)]=0x2329]=_0x4b3101(0x16c),_0x5be942[_0x5be942[_0x4b3101(0x29b)]=0x232a]=_0x4b3101(0x29b),_0x5be942[_0x5be942[_0x4b3101(0x236)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x5be942[_0x5be942[_0x4b3101(0x337)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x5be942[_0x5be942[_0x4b3101(0x29a)]=0x232d]=_0x4b3101(0x29a),_0x5be942[_0x5be942[_0x4b3101(0x24d)]=0x2711]=_0x4b3101(0x24d),_0x5be942[_0x5be942[_0x4b3101(0x259)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x5be942[_0x5be942['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x4b3101(0x1a2),_0x5be942[_0x5be942['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x4b3101(0x207),_0x5be942[_0x5be942[_0x4b3101(0x253)]=0x271a]=_0x4b3101(0x253),_0x5be942[_0x5be942[_0x4b3101(0x2a6)]=0x271b]=_0x4b3101(0x2a6),_0x5be942[_0x5be942['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x4b3101(0x195),_0x5be942[_0x5be942[_0x4b3101(0x2cd)]=0x271d]=_0x4b3101(0x2cd),_0x5be942[_0x5be942[_0x4b3101(0x31b)]=0x271e]=_0x4b3101(0x31b),_0x5be942[_0x5be942['YUUMI_AI_RUN_FAILED']=0x271f]=_0x4b3101(0x187),_0x5be942[_0x5be942[_0x4b3101(0x302)]=0x2af9]=_0x4b3101(0x302),_0x5be942[_0x5be942['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x5be942[_0x5be942[_0x4b3101(0x21b)]=0x2ee2]=_0x4b3101(0x21b),_0x5be942[_0x5be942[_0x4b3101(0x315)]=0x2ee3]=_0x4b3101(0x315),_0x5be942[_0x5be942[_0x4b3101(0x1b4)]=0x2ee4]=_0x4b3101(0x1b4),_0x5be942[_0x5be942[_0x4b3101(0x15a)]=0x2ee5]=_0x4b3101(0x15a),_0x5be942[_0x5be942[_0x4b3101(0x2a3)]=0x32c9]=_0x4b3101(0x2a3),_0x5be942[_0x5be942[_0x4b3101(0x1b2)]=0x32ca]=_0x4b3101(0x1b2),_0x5be942[_0x5be942[_0x4b3101(0x221)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x5be942[_0x5be942[_0x4b3101(0x1b0)]=-0x1]=_0x4b3101(0x1b0),_0x5be942))(Mt||{}),pn=Object[_0x4b3101(0x18b)],Cn=(_0x304b31,_0x321da7,_0x51aa18,_0x5ef2b6)=>{for(var _0x2abdfd=_0x5ef2b6>0x1?void 0x0:_0x5ef2b6?pn(_0x321da7,_0x51aa18):_0x321da7,_0x577a39=_0x304b31['length']-0x1,_0x39ec11;_0x577a39>=0x0;_0x577a39--)(_0x39ec11=_0x304b31[_0x577a39])&&(_0x2abdfd=_0x39ec11(_0x2abdfd)||_0x2abdfd);return _0x2abdfd;},be=(_0x89565,_0x70f891)=>(_0x2cd89c,_0x452022)=>_0x70f891(_0x2cd89c,_0x452022,_0x89565);let rt=class extends _0x79b64d{constructor(_0x380275,_0x5cd397,_0x3b991b){const _0x44d2cb=_0x4b3101;super(),this[_0x44d2cb(0x186)]=_0x380275,this['_httpService']=_0x5cd397,this[_0x44d2cb(0x13b)]=_0x3b991b;}async[_0x4b3101(0x2d0)](_0xed550a,_0x6cea9a,_0x277004,..._0x5c188c){const _0x465df1=_0x4b3101;var _0x551ddc,_0x52d141,_0x10589a,_0x45117d;const _0x233eaa=this[_0x465df1(0x186)][_0x465df1(0x24b)]();if(!_0x233eaa)throw new Error(_0x465df1(0x170));const _0x5e56dd=((_0x551ddc=this[_0x465df1(0x13b)][_0x465df1(0x1c5)](_0x2861a0))!=null?_0x551ddc:_0x22e9c5)+'/'+_0xed550a+'/run/'+_0x6cea9a,_0x9677e8=new URL(window[_0x465df1(0x1f5)][_0x465df1(0x2e5)]),_0x55de32={'scriptId':_0xed550a,'runId':(_0x52d141=_0x9677e8[_0x465df1(0x2f7)][_0x465df1(0x2c7)](_0x465df1(0x2d9)))!=null?_0x52d141:'','function':_0x6cea9a,'unitId':_0x233eaa[_0x465df1(0x193)](),'argsOfFunction':JSON['stringify'](_0x5c188c),'invokeId':(_0x10589a=_0x277004[_0x465df1(0x224)])!=null?_0x10589a:'','executionId':(_0x45117d=_0x277004[_0x465df1(0x19d)])!=null?_0x45117d:''};try{const _0x27e1d6=await this['_httpService'][_0x465df1(0x25a)](_0x5e56dd,{'body':_0x55de32});return _0x27e1d6[_0x465df1(0x1c2)][_0x465df1(0x2ea)]&&_0x27e1d6['body'][_0x465df1(0x2ea)][_0x465df1(0x178)]!==Mt['OK']?_0x465df1(0x298):_0x27e1d6[_0x465df1(0x1c2)][_0x465df1(0x137)];}catch{return _0x465df1(0x298);}}};rt=Cn([be(0x0,_0x15da02),be(0x1,_0x43c406(_0x2b1470)),be(0x2,_0x43fb15)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
@@ -1 +1 @@
1
- const _0x350a32=_0x3c38;function _0xf83e(){const _0x2b3052=['64qorCli','Local\x20file','20Kntnaz','143485aYeSxm','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','2050281vKrUmZ','8866693OpeLaN','Click\x20to\x20Reconnect','Syncing...','1528956JGvHgx','108783SBxuGb','27YuMiAh','5774abLreI','Edit\x20conflicts','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Synced','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','186249cHUxkK','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Syncing\x20server\x20data...','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','10OoRUCZ'];_0xf83e=function(){return _0x2b3052;};return _0xf83e();}(function(_0x23bdb5,_0x348b44){const _0x522fc3=_0x3c38,_0x4cd6d0=_0x23bdb5();while(!![]){try{const _0x2752c3=-parseInt(_0x522fc3(0x1bb))/0x1+parseInt(_0x522fc3(0x1bd))/0x2*(parseInt(_0x522fc3(0x1bc))/0x3)+parseInt(_0x522fc3(0x1b3))/0x4*(parseInt(_0x522fc3(0x1b4))/0x5)+-parseInt(_0x522fc3(0x1ba))/0x6+parseInt(_0x522fc3(0x1c3))/0x7*(-parseInt(_0x522fc3(0x1b1))/0x8)+parseInt(_0x522fc3(0x1b6))/0x9*(-parseInt(_0x522fc3(0x1b0))/0xa)+parseInt(_0x522fc3(0x1b7))/0xb;if(_0x2752c3===_0x348b44)break;else _0x4cd6d0['push'](_0x4cd6d0['shift']());}catch(_0x3ce7c8){_0x4cd6d0['push'](_0x4cd6d0['shift']());}}}(_0xf83e,0x29cf9));function _0x3c38(_0x16633e,_0x362a25){const _0xf83e63=_0xf83e();return _0x3c38=function(_0x3c3860,_0x539fef){_0x3c3860=_0x3c3860-0x1af;let _0x3cf356=_0xf83e63[_0x3c3860];return _0x3cf356;},_0x3c38(_0x16633e,_0x362a25);}const e={'collab-client':{'tooltip':{'reconnect':_0x350a32(0x1b8)}},'collabStatus':{'fetchMiss':_0x350a32(0x1c5),'conflict':_0x350a32(0x1be),'notCollab':_0x350a32(0x1b2),'synced':_0x350a32(0x1c1),'syncing':_0x350a32(0x1b9),'offline':_0x350a32(0x1c2)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x350a32(0x1b5),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':'Collaboration\x20Conflict','content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':'Authentication\x20Error','content':_0x350a32(0x1af)},'collaboration':{'single-unit':{'warning':_0x350a32(0x1c4)},'closeRoom':_0x350a32(0x1bf)},'auth':{'needGotoLoginAlert':_0x350a32(0x1c0)}};export{e as default};
1
+ const _0x320b86=_0x1c6f;(function(_0x26fb13,_0x3ea6bb){const _0x42cf8c=_0x1c6f,_0x397d88=_0x26fb13();while(!![]){try{const _0x5e1a07=parseInt(_0x42cf8c(0x9e))/0x1*(parseInt(_0x42cf8c(0xa9))/0x2)+parseInt(_0x42cf8c(0xa0))/0x3+-parseInt(_0x42cf8c(0xa3))/0x4*(-parseInt(_0x42cf8c(0xa2))/0x5)+parseInt(_0x42cf8c(0xa5))/0x6+parseInt(_0x42cf8c(0xad))/0x7*(parseInt(_0x42cf8c(0xa4))/0x8)+-parseInt(_0x42cf8c(0xab))/0x9*(parseInt(_0x42cf8c(0xb3))/0xa)+-parseInt(_0x42cf8c(0xa1))/0xb;if(_0x5e1a07===_0x3ea6bb)break;else _0x397d88['push'](_0x397d88['shift']());}catch(_0x4332ea){_0x397d88['push'](_0x397d88['shift']());}}}(_0x1654,0xee35e));function _0x1654(){const _0x4b732b=['10694AWTUdp','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','513IdWcNh','Edit\x20conflicts','1716862HhbSSy','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Authentication\x20Error','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Local\x20file','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','307420MSnHzy','Synced','353iwqJyi','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.','3162639GTjFbh','42294813EuXSys','4605LGaSoj','7112IxYeKc','8FAPUUB','10490874bjPoEo','Click\x20to\x20Reconnect','Syncing\x20server\x20data...','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.'];_0x1654=function(){return _0x4b732b;};return _0x1654();}function _0x1c6f(_0x432cad,_0x3856b7){const _0x165427=_0x1654();return _0x1c6f=function(_0x1c6f7c,_0x1a3899){_0x1c6f7c=_0x1c6f7c-0x9e;let _0x4a3e59=_0x165427[_0x1c6f7c];return _0x4a3e59;},_0x1c6f(_0x432cad,_0x3856b7);}const e={'collab-client':{'tooltip':{'reconnect':_0x320b86(0xa6)}},'collabStatus':{'fetchMiss':_0x320b86(0xa7),'conflict':_0x320b86(0xac),'notCollab':_0x320b86(0xb1),'synced':_0x320b86(0xb4),'syncing':'Syncing...','offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x320b86(0xaa),'room-full':_0x320b86(0xa8),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':'Collaboration\x20Conflict','content':_0x320b86(0x9f)},'permission':{'title':_0x320b86(0xaf),'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':_0x320b86(0xb0)},'closeRoom':_0x320b86(0xae)},'auth':{'needGotoLoginAlert':_0x320b86(0xb2)}};export{e as default};
@@ -1 +1 @@
1
- const _0x148a45=_0x1a8b;function _0x1a8b(_0x1cd308,_0x10cb95){const _0x31ed4a=_0x31ed();return _0x1a8b=function(_0x1a8b47,_0x566ca1){_0x1a8b47=_0x1a8b47-0xb3;let _0x137c41=_0x31ed4a[_0x1a8b47];return _0x137c41;},_0x1a8b(_0x1cd308,_0x10cb95);}function _0x31ed(){const _0x1d6569=['اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','1841iwUinU','4pNggwr','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','275166qsMWhi','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','806tWOWMV','1105716zbRwAM','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','13670zENAyQ','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','7325820xaHxbQ','تداخل\x20ویرایش','همگام\x20سازی','3949aIhNMx','در\x20حال\x20همگام\x20سازی...','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','156840vDNIJX','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','349053oaZUGI','6yPPdRq','خطای\x20اعتبارسنجی','14472HipPRb','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','80aHoKds'];_0x31ed=function(){return _0x1d6569;};return _0x31ed();}(function(_0x34aed9,_0x5ed45c){const _0x3e8b68=_0x1a8b,_0x52a39f=_0x34aed9();while(!![]){try{const _0x136553=-parseInt(_0x3e8b68(0xc5))/0x1*(-parseInt(_0x3e8b68(0xb4))/0x2)+-parseInt(_0x3e8b68(0xc6))/0x3*(-parseInt(_0x3e8b68(0xb9))/0x4)+-parseInt(_0x3e8b68(0xca))/0x5*(parseInt(_0x3e8b68(0xb6))/0x6)+parseInt(_0x3e8b68(0xb3))/0x7*(parseInt(_0x3e8b68(0xc8))/0x8)+parseInt(_0x3e8b68(0xbd))/0x9+-parseInt(_0x3e8b68(0xbb))/0xa*(parseInt(_0x3e8b68(0xc0))/0xb)+parseInt(_0x3e8b68(0xc3))/0xc*(-parseInt(_0x3e8b68(0xb8))/0xd);if(_0x136553===_0x5ed45c)break;else _0x52a39f['push'](_0x52a39f['shift']());}catch(_0x1ac341){_0x52a39f['push'](_0x52a39f['shift']());}}}(_0x31ed,0x7b7f2));const o={'collab-client':{'tooltip':{'reconnect':_0x148a45(0xc9)}},'collabStatus':{'fetchMiss':_0x148a45(0xc2),'conflict':_0x148a45(0xbe),'notCollab':'پرونده\x20محلی','synced':_0x148a45(0xbf),'syncing':_0x148a45(0xc1),'offline':_0x148a45(0xc4)},'session':{'connection-failed':_0x148a45(0xba),'will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','room-full':_0x148a45(0xcb),'collaboration-timeout':_0x148a45(0xb5)},'conflict':{'title':'تداخل\x20همکاری','content':'یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'permission':{'title':_0x148a45(0xc7),'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':_0x148a45(0xb7)},'closeRoom':_0x148a45(0xcc)},'auth':{'needGotoLoginAlert':_0x148a45(0xbc)}};export{o as default};
1
+ const _0x4ff05c=_0x1806;(function(_0x58f295,_0x2bd93c){const _0x1d1322=_0x1806,_0x343a30=_0x58f295();while(!![]){try{const _0x10f6f0=parseInt(_0x1d1322(0xc4))/0x1+-parseInt(_0x1d1322(0xbe))/0x2*(parseInt(_0x1d1322(0xc5))/0x3)+parseInt(_0x1d1322(0xb5))/0x4+parseInt(_0x1d1322(0xb7))/0x5*(-parseInt(_0x1d1322(0xb8))/0x6)+parseInt(_0x1d1322(0xb9))/0x7+parseInt(_0x1d1322(0xc7))/0x8+-parseInt(_0x1d1322(0xb6))/0x9;if(_0x10f6f0===_0x2bd93c)break;else _0x343a30['push'](_0x343a30['shift']());}catch(_0x5caa4b){_0x343a30['push'](_0x343a30['shift']());}}}(_0x2598,0x8a9a3));function _0x1806(_0x3c4177,_0x26ccdc){const _0x25985e=_0x2598();return _0x1806=function(_0x18068d,_0x29b8d6){_0x18068d=_0x18068d-0xb2;let _0x15317e=_0x25985e[_0x18068d];return _0x15317e;},_0x1806(_0x3c4177,_0x26ccdc);}const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':_0x4ff05c(0xc8),'conflict':_0x4ff05c(0xc2),'notCollab':_0x4ff05c(0xba),'synced':_0x4ff05c(0xb3),'syncing':_0x4ff05c(0xb2),'offline':'آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'},'session':{'connection-failed':_0x4ff05c(0xbb),'will-retry':_0x4ff05c(0xc0),'room-full':'اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','collaboration-timeout':_0x4ff05c(0xbd)},'conflict':{'title':_0x4ff05c(0xc3),'content':'یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'permission':{'title':_0x4ff05c(0xbc),'content':_0x4ff05c(0xbf)},'collaboration':{'single-unit':{'warning':_0x4ff05c(0xc6)},'closeRoom':_0x4ff05c(0xc1)},'auth':{'needGotoLoginAlert':_0x4ff05c(0xb4)}};function _0x2598(){const _0x44b8da=['همگام\x20سازی','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','3957912wdtQCm','4919049vYFyJc','3835SzhVIN','4236wSeaBj','1021153Noamdl','پرونده\x20محلی','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','خطای\x20اعتبارسنجی','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','2mMNVqe','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','تداخل\x20ویرایش','تداخل\x20همکاری','599409ANJwOv','1537491fuEEnF','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','3468072reaMuX','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','در\x20حال\x20همگام\x20سازی...'];_0x2598=function(){return _0x44b8da;};return _0x2598();}export{o as default};