@univerjs-pro/collaboration-client-ui 0.9.2-nightly.202507181608 → 0.9.3-nightly.202507250750
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/index.d.ts +0 -2
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +33 -17
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x163b90=_0x30ea;(function(_0x5c11a3,_0x4f7eca){const _0xf1543f=_0x30ea,_0x6d85ef=_0x5c11a3();while(!![]){try{const _0x3e3c2f=parseInt(_0xf1543f(0xe4))/0x1*(-parseInt(_0xf1543f(0xfe))/0x2)+parseInt(_0xf1543f(0x273))/0x3+parseInt(_0xf1543f(0x28f))/0x4*(-parseInt(_0xf1543f(0x184))/0x5)+parseInt(_0xf1543f(0x10e))/0x6+parseInt(_0xf1543f(0x15f))/0x7*(parseInt(_0xf1543f(0x1b3))/0x8)+parseInt(_0xf1543f(0x10c))/0x9+parseInt(_0xf1543f(0x240))/0xa;if(_0x3e3c2f===_0x4f7eca)break;else _0x6d85ef['push'](_0x6d85ef['shift']());}catch(_0x48163c){_0x6d85ef['push'](_0x6d85ef['shift']());}}}(_0x3a7f,0xdc916));var xt=Object['defineProperty'],Bt=(_0x104967,_0x4e7c24,_0x1ea738)=>_0x4e7c24 in _0x104967?xt(_0x104967,_0x4e7c24,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1ea738}):_0x104967[_0x4e7c24]=_0x1ea738,_=(_0x5beb8e,_0x19ffba,_0x59a876)=>Bt(_0x5beb8e,typeof _0x19ffba!='symbol'?_0x19ffba+'':_0x19ffba,_0x59a876);import{MemberService as _0x55b3c1,SessionStatus as _0x41e033,CollaborationSessionService as _0x64397a,CollaborationStatus as _0x2a04bf,CollaborationController as _0x53a290,ILocalCacheService as _0x1189d6,CollaborationUIEventService as _0x5d2fa7,CollaborationUIEventId as _0x566cf6,DataLoaderService as _0x5763a5,DocCollaborationEntity as _0x232f91,getLocalCacheKey as _0x4cf464,LOCAL_CACHE_INTERVAL as _0x3b78ca,LOCAL_CACHE_INTERVAL_KEY as _0x316d49,UniverCollaborationClientPlugin as _0x583ada,CollaborationSocketService as _0xa4e37e,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x119690,DEFAULT_WS_SESSION_TICKET_URL as _0x3ea74b,UnitStatus as _0x409584,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x1c2f69,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x51c021}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x24bb3b,Disposable as _0x514786,DOC_RANGE_TYPE as _0x211be7,Inject as _0xe4d2b5,Injector as _0x5b513d,IUniverInstanceService as _0x8cba3f,ICommandService as _0xdb13dc,debounce as _0x5d4f62,Rectangle as _0x24253e,DisposableCollection as _0x38c65a,toDisposable as _0x3eabb5,UniverInstanceType as _0x36b1a7,generateRandomId as _0x5e883b,COLORS as _0x4324c8,ColorKit as _0x5d957e,ThemeService as _0x3e708f,fromEventSubject as _0x1fd535,LocaleService as _0x38c994,createIdentifier as _0x2a53e4,ILogService as _0x3bb633,Optional as _0x53efe8,Workbook as _0x179de7,Tools as _0x3ee9ed,CommandType as _0x562dac,IConfigService as _0x3e99f6,ILocalStorageService as _0x132c1a,DependentOn as _0x471963,Plugin as _0xb005cc,merge as _0x29ca65,registerDependencies as _0x28911d,mergeOverrideWithDependencies as _0x2b2316,touchDependencies as _0xfd41f3}from'@univerjs/core';import{Shape as _0x86beb2,Rect as _0x521d58,getColor as _0x20c176,RegularPolygon as _0x61497b,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x3f4629,Vector2 as _0x2a744f,SHEET_VIEWPORT_KEY as _0x3251cc,IRenderManagerService as _0x38659a}from'@univerjs/engine-render';import{ISocketService as _0x153317,WebSocketService as _0x414310,HTTPService as _0x48ded4}from'@univerjs/network';import{IDocClipboardService as _0x451438,NodePositionConvertToCursor as _0x36c519,NodePositionConvertToRectRange as _0xb411cc,TEXT_RANGE_LAYER_INDEX as _0x2817b7,SetDocZoomRatioOperation as _0x22b199,DocIMEInputManagerService as _0x2daf5d,DocStateChangeManagerService as _0x29f00f}from'@univerjs/docs-ui';import{IImageIoService as _0x2c8102}from'@univerjs/drawing';import{BehaviorSubject as _0x12ab3a,debounceTime as _0x1d84e1,takeUntil as _0x52c0b7,Subject as _0x130e38,filter as _0x3c5d6a,switchMap as _0x46fe91,merge as _0x52dd6b,combineLatest as _0x491a6c,of as _0xba8c7b,fromEvent as _0x16ca35,shareReplay as _0x3397f6,mapTo as _0x5062a5,distinctUntilChanged as _0x5aede7}from'rxjs';import{ITransformService as _0x3113cf,CollaborationEvent as _0x1c2028,isTransformMutationFailure as _0x5ecd23,isTransformMutationsWithChangesetSuccess as _0x112ac1,RevisionService as _0x1aa674,ISnapshotServerService as _0x5b1164}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x35ca4d,RichTextEditingMutation as _0xface44,DocSelectionManagerService as _0x2f4de8,DocSkeletonManagerService as _0x574676}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x29d2ff,serializeRangeWithSheet as _0x112af0}from'@univerjs/engine-formula';import{RefRangeService as _0x1d400e,SetSelectionsOperation as _0x2064e5,SheetsSelectionsService as _0x1247b4,EffectRefRangId as _0x51a5e4,handleIRemoveRow as _0x595b24,handleIRemoveCol as _0xb0e69e,handleMoveRange as _0x27acd2,handleInsertRow as _0x4143be,handleInsertRangeMoveRight as _0x5f3e49,handleInsertRangeMoveDown as _0x3841ca,handleInsertCol as _0x196557,handleDeleteRangeMoveUp as _0x5b5a84,handleDeleteRangeMoveLeft as _0x4de730,runRefRangeMutations as _0x4b277e,SetWorksheetActivateCommand as _0x6b49ca}from'@univerjs/sheets';import{map as _0x2ca3e9,filter as _0x31dd46,throttleTime as _0x1cb29f,takeUntil as _0x14bb95,switchMap as _0x442366}from'rxjs/operators';import{SheetSkeletonManagerService as _0x56a165,getCoordByCell as _0x3bad88,getSheetObject as _0x53a0cb}from'@univerjs/sheets-ui';import{jsx as _0x8162f5,jsxs as _0xf28f61}from'react/jsx-runtime';import{useObservable as _0x9d5159,useDependency as _0x256d1e,IUIPartsService as _0x1523e0,BuiltInUIPart as _0x51cdcb,connectInjector as _0x25fec0,IBeforeCloseService as _0x22dd84,IMessageService as _0x36f47c,INotificationService as _0x1f91f5}from'@univerjs/ui';import{Tooltip as _0x4b24c1,clsx as _0x3cabc2,MessageType as _0x2f8c05}from'@univerjs/design';import{forwardRef as _0x56ae08,useRef as _0x1be626,createElement as _0x3ace0b,useCallback as _0x2f7411}from'react';import{IRemoteInstanceService as _0x4c3728}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0x245bc8,_0x24cf64,_0x5acfa6,_0x52051d)=>{const _0x14f218=_0x30ea;for(var _0x26984d=_0x52051d>0x1?void 0x0:_0x52051d?ci(_0x24cf64,_0x5acfa6):_0x24cf64,_0x288e3e=_0x245bc8[_0x14f218(0x256)]-0x1,_0x1a7ece;_0x288e3e>=0x0;_0x288e3e--)(_0x1a7ece=_0x245bc8[_0x288e3e])&&(_0x26984d=_0x1a7ece(_0x26984d)||_0x26984d);return _0x26984d;},Ze=(_0x3a0c8f,_0x45de96)=>(_0x354331,_0x489f91)=>_0x45de96(_0x354331,_0x489f91,_0x3a0c8f);let Ue=class extends _0x24bb3b{constructor(_0xdf2a4b,_0x3c5034){const _0x44154b=_0x30ea;super(),this[_0x44154b(0x1ef)]=_0xdf2a4b,this[_0x44154b(0x15a)]=_0x3c5034,this[_0x44154b(0x25c)]();}[_0x163b90(0x25c)](){const _0x416ff7=_0x163b90,_0x471413=this;this[_0x416ff7(0x1fa)](this[_0x416ff7(0x1ef)][_0x416ff7(0x13f)]({'onBeforePasteImage':async _0x12a043=>{const _0x37ee3c=_0x416ff7,_0x23cc40=await _0x471413[_0x37ee3c(0x15a)][_0x37ee3c(0xc9)](_0x12a043);return _0x23cc40?{'source':_0x23cc40['source'],'imageSourceType':_0x23cc40[_0x37ee3c(0x226)]}:null;}}));}};Ue=li([Ze(0x0,_0x451438),Ze(0x1,_0x2c8102)],Ue);const Qe=[_0x163b90(0x126),'jiqing.500',_0x163b90(0x1f4),_0x163b90(0xee),_0x163b90(0x265),'yellow.400'];class He extends _0x514786{constructor(){super(...arguments),_(this,'_assignedColors',new Map()),_(this,'_colorIndex',0x0);}[_0x163b90(0x1fe)](_0x22ba20){const _0x4b1ee2=_0x163b90;if(this[_0x4b1ee2(0xfd)]['has'](_0x22ba20))return this['_assignedColors'][_0x4b1ee2(0x20d)](_0x22ba20);const _0x4d61f4=Qe[this[_0x4b1ee2(0x1a6)]];return this[_0x4b1ee2(0x1a6)]=(this[_0x4b1ee2(0x1a6)]+0x1)%Qe[_0x4b1ee2(0x256)],this['_assignedColors'][_0x4b1ee2(0x244)](_0x22ba20,_0x4d61f4),_0x4d61f4;}}function Rt(_0x4bd850){let _0x2840c7='';for(const _0x894cfe of _0x4bd850){const {startOffset:_0x1b34b4,endOffset:_0x59370f,isActive:_0x2366d1,rangeType:_0x360054,segmentId:_0x4ff8ff,segmentPage:_0x2b0025}=_0x894cfe;_0x2840c7['length']&&(_0x2840c7+=','),_0x2840c7+=_0x1b34b4+':'+_0x59370f+':'+(_0x2366d1?'1':'0')+':'+_0x360054+':'+_0x4ff8ff+':'+_0x2b0025;}return _0x2840c7;}function _i(_0x5a2704){const _0x34df90=_0x163b90,_0x10730b=_0x5a2704[_0x34df90(0x18b)](','),_0x4ce7d1=[];for(const _0x56f3d5 of _0x10730b){const [_0x29c33d,_0x581106,_0xd5aee2,_0x48a791,_0x577c5c,_0x5376db]=_0x56f3d5['split'](':');_0x4ce7d1[_0x34df90(0x1c5)]({'startOffset':Number(_0x29c33d),'endOffset':Number(_0x581106),'collapsed':_0x29c33d===_0x581106,'isActive':_0xd5aee2==='1','rangeType':_0x48a791===_0x211be7['TEXT']?_0x211be7[_0x34df90(0x144)]:_0x211be7[_0x34df90(0x180)],'segmentId':typeof _0x577c5c==_0x34df90(0x1d2)?String(_0x577c5c):'','segmentPage':Number(_0x5376db!=null?_0x5376db:-0x1)});}return _0x4ce7d1['some'](_0x303047=>_0x303047[_0x34df90(0x1c3)])||(_0x4ce7d1[0x0]['isActive']=!0x0),_0x4ce7d1;}class Fe extends _0x24bb3b{constructor(){const _0x53152d=_0x163b90;super(...arguments),_(this,_0x53152d(0xf7),new _0x12ab3a(null)),_(this,'collabCursorState$',this[_0x53152d(0xf7)][_0x53152d(0x22a)]());}[_0x163b90(0x26e)](_0x464c7e){const _0x4990e1=_0x163b90,{unitID:_0xd35a20,memberID:_0x52b47d,textRanges:_0x25a697}=_0x464c7e,_0x2aeaa7=Rt(_0x25a697);if(_0x2aeaa7==='')return;const _0x31e854={'unitID':_0xd35a20,'memberID':_0x52b47d,'selection':_0x2aeaa7};this[_0x4990e1(0xf7)][_0x4990e1(0x166)](_0x31e854);}}var hi=Object['getOwnPropertyDescriptor'],ui=(_0x56e7fc,_0x21fe7b,_0xf6bcd6,_0x22c4b3)=>{const _0x51789f=_0x163b90;for(var _0x3670de=_0x22c4b3>0x1?void 0x0:_0x22c4b3?hi(_0x21fe7b,_0xf6bcd6):_0x21fe7b,_0x3a4423=_0x56e7fc[_0x51789f(0x256)]-0x1,_0x29591d;_0x3a4423>=0x0;_0x3a4423--)(_0x29591d=_0x56e7fc[_0x3a4423])&&(_0x3670de=_0x29591d(_0x3670de)||_0x3670de);return _0x3670de;},P=(_0x17a43a,_0x27bcdc)=>(_0xc392b3,_0x120a67)=>_0x27bcdc(_0xc392b3,_0x120a67,_0x17a43a);const di=0x12c,fi=0x64;let Me=class extends _0x24bb3b{constructor(_0x5c7cfb,_0x32a27b,_0xb94b6f,_0x53883c,_0x26179c,_0x4ffba4,_0x290234,_0x3e2c04,_0x5efb45){const _0x4faf5b=_0x163b90;super(),_(this,_0x4faf5b(0x284),!0x1),_(this,_0x4faf5b(0x25c),!0x1),_(this,_0x4faf5b(0x193),new _0x12ab3a(new Map())),_(this,_0x4faf5b(0x1cf),this['_cursorInfo$']['asObservable']()),_(this,'_roomMembers$',new _0x12ab3a([])),_(this,_0x4faf5b(0x1b7),this[_0x4faf5b(0x257)][_0x4faf5b(0x13c)](_0x1d84e1(di))),_(this,_0x4faf5b(0x28d),_0x5d4f62(_0x3dd9ca=>{const _0x37b1c8=_0x4faf5b,_0x38f6c3={'eventID':_0x1c2028[_0x37b1c8(0x106)],'data':{'unitID':this[_0x37b1c8(0x103)],'memberID':this['_session'][_0x37b1c8(0x188)](),'selection':Rt(_0x3dd9ca)}};this[_0x37b1c8(0x19b)]['send'](_0x38f6c3,this[_0x37b1c8(0x103)]);},fi)),(this[_0x4faf5b(0x103)]=_0x5c7cfb,this[_0x4faf5b(0x19b)]=_0x32a27b,this['_injector']=_0xb94b6f,this['_colorAssignService']=_0x53883c,this[_0x4faf5b(0x2aa)]=_0x26179c,this[_0x4faf5b(0xd5)]=_0x4ffba4,this[_0x4faf5b(0x12c)]=_0x290234,this[_0x4faf5b(0x16f)]=_0x3e2c04,this[_0x4faf5b(0x245)]=_0x5efb45);}get[_0x163b90(0x2c0)](){const _0x52a7c0=_0x163b90;return this[_0x52a7c0(0x193)][_0x52a7c0(0x1d7)]();}get[_0x163b90(0x279)](){const _0x1b6beb=_0x163b90;return this[_0x1b6beb(0x257)][_0x1b6beb(0x1d7)]();}[_0x163b90(0x2bc)](){const _0x2fe20f=_0x163b90;super['dispose'](),this['_cursorInfo$'][_0x2fe20f(0x166)](new Map()),this[_0x2fe20f(0x193)][_0x2fe20f(0x173)](),this['_roomMembers$'][_0x2fe20f(0x166)]([]),this[_0x2fe20f(0x257)]['complete']();}[_0x163b90(0x102)](){const _0x1b94b0=_0x163b90;this[_0x1b94b0(0x25c)]||(this[_0x1b94b0(0x25c)]=!0x0,this[_0x1b94b0(0x19b)][_0x1b94b0(0x128)][_0x1b94b0(0x13c)](_0x52c0b7(this[_0x1b94b0(0x1c1)]))[_0x1b94b0(0x201)](_0x10e3f5=>{const _0x1045e2=_0x1b94b0;_0x10e3f5===_0x41e033['ONLINE']?this['_toggleOnline']():this[_0x1045e2(0x1b4)]();}),this[_0x1b94b0(0x19b)][_0x1b94b0(0x2ac)]['pipe'](_0x52c0b7(this['dispose$']))[_0x1b94b0(0x201)](_0x717e61=>{const _0x2de645=_0x1b94b0,_0x127d87=_0x717e61[_0x2de645(0x228)];_0x127d87===_0x1c2028[_0x2de645(0x106)]&&this[_0x2de645(0x1b2)](_0x717e61),_0x127d87===_0x1c2028['USERS_LEAVE']&&this[_0x2de645(0x2b6)](_0x717e61);}),this[_0x1b94b0(0x1fa)](this[_0x1b94b0(0x245)]['onCommandExecuted'](_0x3c5947=>{const _0xae0e66=_0x1b94b0,_0x3ac9b9=_0x3c5947[_0xae0e66(0x214)];_0x3ac9b9!=null&&this['_online']&&_0x3c5947['id']===_0x35ca4d['id']&&_0x3ac9b9[_0xae0e66(0x22e)]===this[_0xae0e66(0x103)]&&_0x3ac9b9[_0xae0e66(0x232)]===!0x1&&_0x3ac9b9[_0xae0e66(0x253)][_0xae0e66(0x256)]>0x0&&this[_0xae0e66(0x28d)](_0x3ac9b9['ranges']);})),this[_0x1b94b0(0xd5)][_0x1b94b0(0x22b)]['pipe'](_0x52c0b7(this[_0x1b94b0(0x1c1)]))['subscribe'](_0x3a804c=>{const _0x792013=_0x1b94b0;if((_0x3a804c==null?void 0x0:_0x3a804c[_0x792013(0x103)])!==this[_0x792013(0x103)])return;const _0x1fdfb3={'eventID':_0x1c2028['UPDATE_CURSOR'],'data':_0x3a804c};this[_0x792013(0x1b2)](_0x1fdfb3);}),this[_0x1b94b0(0x1fa)](this[_0x1b94b0(0x245)][_0x1b94b0(0x169)](_0x33dfd4=>{const _0x47c041=_0x1b94b0;if(_0x33dfd4[_0x47c041(0x214)]==null)return;const _0x25b77a=_0x33dfd4['params'];if(_0x33dfd4['id']!==_0xface44['id']||_0x25b77a[_0x47c041(0x22e)]!==this[_0x47c041(0x103)])return;const _0x16c54c={'id':_0x47c041(0x1ec),'params':_0x25b77a},_0x274c26=this[_0x47c041(0x2c0)];for(const [_0x2bb966,_0x3a46b6]of _0x274c26){const _0x4c6f0f={'id':_0x47c041(0x1ec),'params':{'unitId':this[_0x47c041(0x103)],'actions':null,'textRanges':_0x3a46b6[_0x47c041(0x253)]}},_0x21e735=this[_0x47c041(0x12c)][_0x47c041(0x1e5)](_0x16c54c,_0x4c6f0f,!0x1);if(_0x5ecd23(_0x21e735))throw _0x21e735[_0x47c041(0x1e7)];_0x274c26['set'](_0x2bb966,{..._0x3a46b6,'ranges':_0x21e735[_0x47c041(0x19f)][_0x47c041(0x214)][_0x47c041(0x132)]});}queueMicrotask(()=>{const _0x3523c2=_0x47c041;this[_0x3523c2(0x193)][_0x3523c2(0x166)](_0x274c26);});})));}[_0x163b90(0x1b2)](_0x1c4f5c){const _0x28fdf1=_0x163b90;var _0x59b704,_0x236f78;const {memberID:_0x22be0a,selection:_0x13997c}=_0x1c4f5c['data'],_0x2f1427=_i(_0x13997c),_0x494d97=(_0x236f78=(_0x59b704=this[_0x28fdf1(0x2aa)][_0x28fdf1(0x29a)](this['unitID'],_0x22be0a))==null?void 0x0:_0x59b704[_0x28fdf1(0x27b)])!=null?_0x236f78:_0x28fdf1(0xd4),_0xed90f6={'color':this[_0x28fdf1(0xd8)][_0x28fdf1(0x1fe)](_0x22be0a),'name':_0x494d97,'ranges':_0x2f1427},_0x53c05b=this[_0x28fdf1(0x2c0)];_0x53c05b[_0x28fdf1(0x244)](_0x22be0a,_0xed90f6),this[_0x28fdf1(0x193)]['next'](_0x53c05b);}[_0x163b90(0x2b6)](_0x3c42da){const _0x320e99=_0x163b90,{memberID:_0x46586f}=_0x3c42da['data'],_0x434181=this['cursorInfo'];_0x434181[_0x320e99(0x289)](_0x46586f),this['_cursorInfo$'][_0x320e99(0x166)](_0x434181);}[_0x163b90(0x251)](){const _0x331709=_0x163b90;var _0x55927c;if(this[_0x331709(0x284)]=!0x0,((_0x55927c=this['_univerInstanceService'][_0x331709(0x20c)]())==null?void 0x0:_0x55927c[_0x331709(0x275)]())!==this[_0x331709(0x103)])return;const _0x39b230=this['_injector'][_0x331709(0x20d)](_0x2f4de8)['getDocRanges']();Array[_0x331709(0x1b8)](_0x39b230)&&_0x39b230[_0x331709(0x256)]>0x0&&this[_0x331709(0x28d)](_0x39b230);}[_0x163b90(0x1b4)](){this['_online']=!0x1;}};Me=ui([P(0x2,_0xe4d2b5(_0x5b513d)),P(0x3,_0xe4d2b5(He)),P(0x4,_0xe4d2b5(_0x55b3c1)),P(0x5,_0xe4d2b5(Fe)),P(0x6,_0x3113cf),P(0x7,_0x8cba3f),P(0x8,_0xdb13dc)],Me);var Si=Object[_0x163b90(0x146)],mi=(_0xb72481,_0x1754f1,_0x33d97b,_0x4eab03)=>{const _0x44ed22=_0x163b90;for(var _0x46bb41=_0x4eab03>0x1?void 0x0:_0x4eab03?Si(_0x1754f1,_0x33d97b):_0x1754f1,_0xef44f4=_0xb72481[_0x44ed22(0x256)]-0x1,_0x23605c;_0xef44f4>=0x0;_0xef44f4--)(_0x23605c=_0xb72481[_0xef44f4])&&(_0x46bb41=_0x23605c(_0x46bb41)||_0x46bb41);return _0x46bb41;},x=(_0x3ca12a,_0x38a08f)=>(_0x1f8d00,_0x347a76)=>_0x38a08f(_0x1f8d00,_0x347a76,_0x3ca12a);const Ii=0x12c,vi=0x64,gi=()=>{let _0x59a4dd=[],_0x542afb=!0x1;return _0x5165aa=>{const _0x5b13e1=_0x30ea;_0x59a4dd[_0x5b13e1(0x1c5)](_0x5165aa),_0x542afb||(_0x542afb=!0x0,setTimeout(()=>{const _0x402118=_0x5b13e1;_0x59a4dd[_0x402118(0x2c4)](_0xd09b1f=>_0xd09b1f()),_0x59a4dd=[],_0x542afb=!0x1;}));};};let Le=class extends _0x24bb3b{constructor(_0x5d1146,_0x3a98ac,_0x42f718,_0x1bbba9,_0x56a068,_0x1bb085,_0x211c07,_0xf5e43b){const _0x168a9e=_0x163b90;super(),_(this,'_online',!0x1),_(this,_0x168a9e(0x25c),!0x1),_(this,_0x168a9e(0x193),new _0x12ab3a(new Map())),_(this,_0x168a9e(0x1cf),this[_0x168a9e(0x193)][_0x168a9e(0x22a)]()),_(this,_0x168a9e(0x257),new _0x12ab3a([])),_(this,_0x168a9e(0x1b7),this['_roomMembers$'][_0x168a9e(0x13c)](_0x1d84e1(Ii))),_(this,'_updateLocalCursor',_0x5d4f62((_0x2978ea,_0x2cf549)=>{const _0x3ce715=_0x168a9e,_0x37361a={'eventID':_0x1c2028[_0x3ce715(0x106)],'data':{'unitID':this[_0x3ce715(0x103)],'memberID':this[_0x3ce715(0x19b)][_0x3ce715(0x188)](),'selection':_0x112af0(_0x2978ea,_0x2cf549[_0x3ce715(0x21e)])}};this[_0x3ce715(0x19b)][_0x3ce715(0xce)](_0x37361a,this[_0x3ce715(0x103)]);},vi)),(this['unitID']=_0x5d1146,this[_0x168a9e(0x19b)]=_0x3a98ac,this[_0x168a9e(0x1e2)]=_0x42f718,this[_0x168a9e(0xd8)]=_0x1bbba9,this[_0x168a9e(0x2aa)]=_0x56a068,this[_0x168a9e(0x16f)]=_0x1bb085,this[_0x168a9e(0x245)]=_0x211c07,this['_refRangeService']=_0xf5e43b);}get['cursorInfo'](){const _0x3382d1=_0x163b90;return this[_0x3382d1(0x193)][_0x3382d1(0x1d7)]();}get[_0x163b90(0x279)](){const _0x349b85=_0x163b90;return this[_0x349b85(0x257)][_0x349b85(0x1d7)]();}[_0x163b90(0x2bc)](){const _0x3ec600=_0x163b90;super['dispose'](),this[_0x3ec600(0x193)]['next'](new Map()),this[_0x3ec600(0x193)]['complete'](),this[_0x3ec600(0x257)]['next']([]),this[_0x3ec600(0x257)][_0x3ec600(0x173)]();}[_0x163b90(0x102)](){const _0x44db9b=_0x163b90;this['_init']||(this[_0x44db9b(0x25c)]=!0x0,this[_0x44db9b(0x19b)][_0x44db9b(0x128)][_0x44db9b(0x13c)](_0x52c0b7(this[_0x44db9b(0x1c1)]))[_0x44db9b(0x201)](_0x359ad1=>{const _0x4b70ba=_0x44db9b;_0x359ad1===_0x41e033[_0x4b70ba(0xdc)]?this['_toggleOnline']():this[_0x4b70ba(0x1b4)]();}),this[_0x44db9b(0x19b)][_0x44db9b(0x2ac)][_0x44db9b(0x13c)](_0x52c0b7(this[_0x44db9b(0x1c1)]))[_0x44db9b(0x201)](_0x502d25=>{const _0x5ea39c=_0x44db9b,_0x277886=_0x502d25[_0x5ea39c(0x228)];_0x277886===_0x1c2028['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x502d25),_0x277886===_0x1c2028['USERS_LEAVE']&&this['_onCursorDelete'](_0x502d25);}),this[_0x44db9b(0xe6)](),this['disposeWithMe'](this[_0x44db9b(0x245)][_0x44db9b(0x169)](_0x51ef7e=>{const _0x254049=_0x44db9b;if(this['_online']&&_0x51ef7e['id']===_0x2064e5['id']&&_0x51ef7e[_0x254049(0x214)][_0x254049(0x22e)]===this[_0x254049(0x103)]){const _0x3811f4=_0x51ef7e[_0x254049(0x214)];this[_0x254049(0x28d)](_0x3811f4[_0x254049(0xe1)],_0x3811f4[_0x254049(0x194)][0x0]);}})));}['_onCursorUpdate'](_0x530a4f){const _0x29f02d=_0x163b90;var _0x4664ae,_0x140305;const {memberID:_0x15c638,selection:_0x29e533}=_0x530a4f[_0x29f02d(0x263)],{sheetName:_0x177ccc,range:_0x1c71a6}=_0x29d2ff(_0x29e533),_0x72e792={'name':(_0x140305=(_0x4664ae=this[_0x29f02d(0x2aa)][_0x29f02d(0x29a)](this[_0x29f02d(0x103)],_0x15c638))==null?void 0x0:_0x4664ae['name'])!=null?_0x140305:_0x29f02d(0xd4),'range':this[_0x29f02d(0x133)](_0x177ccc,_0x1c71a6),'sheetID':_0x177ccc,'color':this['_colorAssignService'][_0x29f02d(0x1fe)](_0x15c638),'selection':_0x29e533},_0x3fffec=this[_0x29f02d(0x2c0)];_0x3fffec['set'](_0x15c638,_0x72e792),this[_0x29f02d(0x193)][_0x29f02d(0x166)](_0x3fffec);}['_onCursorDelete'](_0x2a9202){const _0x112034=_0x163b90,{memberID:_0x274561}=_0x2a9202[_0x112034(0x263)],_0x178fc9=this['cursorInfo'];_0x178fc9[_0x112034(0x289)](_0x274561),this[_0x112034(0x193)][_0x112034(0x166)](_0x178fc9);}['_getMergeRange'](_0x122111,_0x4366e4){const _0x2232ce=_0x163b90;var _0x9dc87a,_0x3411fd;const _0x44db4c=(_0x3411fd=(_0x9dc87a=this[_0x2232ce(0x16f)]['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x9dc87a['getSheetBySheetId'](_0x122111))==null?void 0x0:_0x3411fd[_0x2232ce(0xdf)]();return(_0x44db4c==null?void 0x0:_0x44db4c[_0x2232ce(0x285)](_0x6bd07c=>_0x24253e[_0x2232ce(0x174)](_0x6bd07c,_0x4366e4)))||_0x4366e4;}['_onRefRangeChange'](){const _0xead396=_0x163b90,_0x1a34bf=new _0x38c65a(),_0x283e8a=gi(),_0x253516=()=>{const _0x4287b0=_0x30ea;_0x1a34bf[_0x4287b0(0x2bc)]();const _0x2e17ea=(_0x3442e5,_0x33de91,_0x52fa79,_0xe34d2d)=>{const _0x48f639=_0x4287b0;let _0x3f075d=[];switch(_0x3442e5['id']){case _0x51a5e4[_0x48f639(0x1d9)]:{_0x3f075d=_0x4de730(_0x3442e5,_0xe34d2d);break;}case _0x51a5e4[_0x48f639(0xbb)]:{_0x3f075d=_0x5b5a84(_0x3442e5,_0xe34d2d);break;}case _0x51a5e4[_0x48f639(0xd3)]:{_0x3f075d=_0x196557(_0x3442e5,_0xe34d2d);break;}case _0x51a5e4[_0x48f639(0xc2)]:{_0x3f075d=_0x3841ca(_0x3442e5,_0xe34d2d);break;}case _0x51a5e4[_0x48f639(0x1a2)]:{_0x3f075d=_0x5f3e49(_0x3442e5,_0xe34d2d);break;}case _0x51a5e4[_0x48f639(0x207)]:{_0x3f075d=_0x4143be(_0x3442e5,_0xe34d2d);break;}case _0x51a5e4['MoveRangeCommandId']:{_0x3f075d=_0x27acd2(_0x3442e5,_0xe34d2d);break;}case _0x51a5e4[_0x48f639(0x268)]:{_0x3f075d=_0xb0e69e(_0x3442e5,_0xe34d2d);break;}case _0x51a5e4['RemoveRowCommandId']:{_0x3f075d=_0x595b24(_0x3442e5,_0xe34d2d);break;}}const _0x2eb18d=_0x4b277e(_0x3f075d,_0xe34d2d),_0x956a6e=this[_0x48f639(0x2c0)]['get'](_0x33de91);if(_0x956a6e&&_0x2eb18d){const _0x587d56={..._0x956a6e,'range':_0x2eb18d};this[_0x48f639(0x2c0)][_0x48f639(0x244)](_0x33de91,_0x587d56),_0x283e8a(()=>{const _0x2751fd=_0x48f639,_0x2a146f=this[_0x2751fd(0x1d5)][_0x2751fd(0x158)](_0x2eb18d,_0x3ea2f5=>(_0x2a146f[_0x2751fd(0x2bc)](),_0x2e17ea(_0x3ea2f5,_0x33de91,_0x52fa79,_0x2eb18d)));_0x1a34bf[_0x2751fd(0x270)](_0x2a146f);});}return{'redos':[],'undos':[]};};this[_0x4287b0(0x2c0)][_0x4287b0(0x2c4)]((_0x1897f9,_0x596d27)=>{const _0xb7f003=_0x4287b0,{range:_0x529666,sheetID:_0x16a57a}=_0x1897f9,_0x5f2bc5=this['_refRangeService']['registerRefRange'](_0x529666,_0x1d4a84=>(_0x5f2bc5[_0xb7f003(0x2bc)](),_0x2e17ea(_0x1d4a84,_0x596d27,_0x16a57a,_0x529666)));_0x1a34bf[_0xb7f003(0x270)](_0x5f2bc5);});};this[_0xead396(0x1fa)](_0x3eabb5(this[_0xead396(0x193)][_0xead396(0x201)](()=>{_0x253516();})));}[_0x163b90(0x251)](){const _0x15aec6=_0x163b90;var _0x4fef77,_0x1affaa;if(this[_0x15aec6(0x284)]=!0x0,((_0x4fef77=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x4fef77[_0x15aec6(0x275)]())!==this[_0x15aec6(0x103)])return;const _0xcf5873=(_0x1affaa=this[_0x15aec6(0x1e2)]['get'](_0x1247b4)[_0x15aec6(0x22c)]())==null?void 0x0:_0x1affaa[0x0],_0x2e2f06=this[_0x15aec6(0x16f)]['getCurrentUnitForType'](_0x36b1a7[_0x15aec6(0x287)])['getActiveSheet']();_0xcf5873&&_0x2e2f06&&this['_updateLocalCursor'](_0x2e2f06[_0x15aec6(0x139)](),_0xcf5873);}[_0x163b90(0x1b4)](){const _0x1f099d=_0x163b90;this[_0x1f099d(0x284)]=!0x1;}};Le=mi([x(0x2,_0xe4d2b5(_0x5b513d)),x(0x3,_0xe4d2b5(He)),x(0x4,_0xe4d2b5(_0x55b3c1)),x(0x5,_0x8cba3f),x(0x6,_0xdb13dc),x(0x7,_0xe4d2b5(_0x1d400e))],Le);var pi=Object[_0x163b90(0x146)],Ci=(_0x3f14f8,_0x60d610,_0x56e2cf,_0x58f704)=>{const _0x39817e=_0x163b90;for(var _0x40a39f=_0x58f704>0x1?void 0x0:_0x58f704?pi(_0x60d610,_0x56e2cf):_0x60d610,_0x5dc674=_0x3f14f8[_0x39817e(0x256)]-0x1,_0x35ba6a;_0x5dc674>=0x0;_0x5dc674--)(_0x35ba6a=_0x3f14f8[_0x5dc674])&&(_0x40a39f=_0x35ba6a(_0x40a39f)||_0x40a39f);return _0x40a39f;},me=(_0x2a5fa1,_0x24a41f)=>(_0x3d220b,_0x24a142)=>_0x24a41f(_0x3d220b,_0x24a142,_0x2a5fa1);let F=class extends _0x24bb3b{constructor(_0x4b215e,_0x2d5548,_0x34ba3e){const _0x311f3e=_0x163b90;super(),_(this,_0x311f3e(0xcb),new Map()),_(this,_0x311f3e(0xeb),new _0x130e38()),(this['_univerInstanceService']=_0x4b215e,this['_injector']=_0x2d5548,this['_collabSessionService']=_0x34ba3e,this[_0x311f3e(0x25c)]());}[_0x163b90(0x2bc)](){const _0x3b9aa5=_0x163b90;super[_0x3b9aa5(0x2bc)](),this[_0x3b9aa5(0xeb)]['complete'](),this[_0x3b9aa5(0xcb)]['forEach'](_0x4c7d9d=>_0x4c7d9d[_0x3b9aa5(0x2bc)]());}['getCollabCursors$'](_0xccb7ae){const _0x932bb8=_0x163b90;return this['_entities'][_0x932bb8(0x2bb)](_0xccb7ae)?this[_0x932bb8(0xcb)][_0x932bb8(0x20d)](_0xccb7ae)[_0x932bb8(0x1cf)]:this['_entityInit$'][_0x932bb8(0x13c)](_0x3c5d6a(_0x4d8b0e=>_0x4d8b0e[_0x932bb8(0x103)]===_0xccb7ae),_0x46fe91(_0x225a46=>_0x225a46[_0x932bb8(0x1cf)]));}[_0x163b90(0x25c)](){const _0x293504=_0x163b90;this[_0x293504(0x16f)][_0x293504(0x2a6)](_0x36b1a7[_0x293504(0x287)])[_0x293504(0x13c)](_0x52c0b7(this[_0x293504(0x1c1)]))[_0x293504(0x201)](async _0x1c9e86=>{const _0xf559cc=_0x293504,_0x41b516=_0x1c9e86[_0xf559cc(0x275)](),_0x28fc87=await this['_startSheetCollabCursor'](_0x41b516);this[_0xf559cc(0xeb)][_0xf559cc(0x166)](_0x28fc87),this[_0xf559cc(0xcb)][_0xf559cc(0x244)](_0x41b516,_0x28fc87);}),this[_0x293504(0x16f)][_0x293504(0x2a6)](_0x36b1a7[_0x293504(0x21b)])[_0x293504(0x13c)](_0x52c0b7(this[_0x293504(0x1c1)]))[_0x293504(0x13c)](_0x3c5d6a(_0x45b75e=>!_0x45b75e['getUnitId']()[_0x293504(0x152)]('__')))['subscribe'](async _0x525d7c=>{const _0x20998b=_0x293504,_0x5597bc=_0x525d7c[_0x20998b(0x275)](),_0x575225=await this[_0x20998b(0x14a)](_0x5597bc);this[_0x20998b(0xeb)][_0x20998b(0x166)](_0x575225),this[_0x20998b(0xcb)][_0x20998b(0x244)](_0x5597bc,_0x575225);}),_0x52dd6b(this[_0x293504(0x16f)][_0x293504(0xc8)](_0x36b1a7[_0x293504(0x21b)]),this['_univerInstanceService'][_0x293504(0xc8)](_0x36b1a7[_0x293504(0x287)]))[_0x293504(0x13c)](_0x52c0b7(this[_0x293504(0x1c1)]))[_0x293504(0x201)](_0x3b2e80=>{const _0x54bc72=_0x293504,_0x43fd65=_0x3b2e80[_0x54bc72(0x275)](),_0xe962dc=this[_0x54bc72(0xcb)][_0x54bc72(0x20d)](_0x43fd65);_0xe962dc&&(_0xe962dc['dispose'](),this[_0x54bc72(0xcb)]['delete'](_0x43fd65));});}async[_0x163b90(0xc0)](_0x58033){const _0x1b283e=_0x163b90,_0x556596=await this['_collabSessionService'][_0x1b283e(0xb9)](_0x58033),_0x4490fc=this[_0x1b283e(0x1e2)][_0x1b283e(0x2a3)](Le,_0x58033,_0x556596);return _0x4490fc[_0x1b283e(0x102)](),_0x4490fc;}async[_0x163b90(0x14a)](_0x24d0ef){const _0x25d776=_0x163b90,_0x2c6b11=await this['_collabSessionService'][_0x25d776(0xb9)](_0x24d0ef),_0x5a584a=this['_injector'][_0x25d776(0x2a3)](Me,_0x24d0ef,_0x2c6b11);return _0x5a584a['init'](),_0x5a584a;}};F=Ci([me(0x0,_0x8cba3f),me(0x1,_0xe4d2b5(_0x5b513d)),me(0x2,_0xe4d2b5(_0x64397a))],F);const te=0x14,qe=0xc8,Ie=0x4,Ei=0x5;function Oi(_0x34bbb0,_0x48e816){const _0x3beadb=_0x163b90;let {radius:_0x2d1a5c,width:_0x517e49,height:_0x491c9a}=_0x48e816;_0x2d1a5c=_0x2d1a5c!=null?_0x2d1a5c:0x0,_0x517e49=_0x517e49!=null?_0x517e49:0x1e,_0x491c9a=_0x491c9a!=null?_0x491c9a:0x1e;let _0x5692ad=0x0,_0x1c3c45=0x0,_0x44cbe7=0x0;_0x5692ad=_0x1c3c45=_0x44cbe7=Math[_0x3beadb(0x160)](_0x2d1a5c,_0x517e49/0x2,_0x491c9a/0x2),_0x34bbb0[_0x3beadb(0x145)](),_0x34bbb0[_0x3beadb(0x208)](_0x5692ad,0x0),_0x34bbb0[_0x3beadb(0x137)](_0x517e49-_0x1c3c45,0x0),_0x34bbb0['arc'](_0x517e49-_0x1c3c45,_0x1c3c45,_0x1c3c45,Math['PI']*0x3/0x2,0x0,!0x1),_0x34bbb0[_0x3beadb(0x137)](_0x517e49,_0x491c9a-_0x44cbe7),_0x34bbb0['arc'](_0x517e49-_0x44cbe7,_0x491c9a-_0x44cbe7,_0x44cbe7,0x0,Math['PI']/0x2,!0x1),_0x34bbb0[_0x3beadb(0x137)](0x0,_0x491c9a),_0x34bbb0[_0x3beadb(0x137)](0x0,_0x5692ad),_0x34bbb0[_0x3beadb(0x149)](_0x5692ad,_0x5692ad,_0x5692ad,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x34bbb0[_0x3beadb(0xf6)](),_0x48e816['fill']&&(_0x34bbb0[_0x3beadb(0x105)](),_0x34bbb0[_0x3beadb(0x1be)]=_0x48e816[_0x3beadb(0xfc)],_0x48e816[_0x3beadb(0x1a7)]===_0x3beadb(0x1a5)?_0x34bbb0[_0x3beadb(0xfc)](_0x3beadb(0x1a5)):_0x34bbb0['fill'](),_0x34bbb0[_0x3beadb(0x295)]());}class ue extends _0x86beb2{constructor(_0x1a25b5,_0x4203df){const _0x4be8a5=_0x163b90;super(_0x1a25b5,_0x4203df),_(this,_0x4be8a5(0x2ae)),_(this,_0x4be8a5(0x248)),(this['color']=_0x4203df==null?void 0x0:_0x4203df[_0x4be8a5(0x2ae)],this[_0x4be8a5(0x248)]=_0x4203df==null?void 0x0:_0x4203df[_0x4be8a5(0x248)]);}static[_0x163b90(0x1c4)](_0x4ef3d3,_0xa8760){const _0x3017e3=_0x163b90,{text:_0x2cbef7,color:_0x449c3f}=_0xa8760;_0x4ef3d3['save'](),_0x4ef3d3[_0x3017e3(0x1da)]=_0x3017e3(0x1e6);const _0x4d3e31=_0x4ef3d3['measureText'](_0x2cbef7)[_0x3017e3(0x1d0)],_0x4041ba=Math[_0x3017e3(0x160)](_0x4d3e31+0x2*Ie,qe);Oi(_0x4ef3d3,{'height':te,'radius':0x4,'width':_0x4041ba,'fill':_0x449c3f}),_0x4ef3d3[_0x3017e3(0x1be)]='#FFF';const _0x583890=Ie,_0x12dc95=te-Ei,_0x47c1dd=qe-0x2*Ie;if(_0x4d3e31>_0x47c1dd){let _0x95ace4='',_0x4f8616=0x0;for(const _0x186c90 of _0x2cbef7){const _0x1a0e59=_0x4ef3d3[_0x3017e3(0x203)](_0x186c90)[_0x3017e3(0x1d0)];if(_0x4f8616+_0x1a0e59<=_0x47c1dd-_0x4ef3d3[_0x3017e3(0x203)](_0x3017e3(0x17f))[_0x3017e3(0x1d0)])_0x95ace4+=_0x186c90,_0x4f8616+=_0x1a0e59;else{_0x95ace4+=_0x3017e3(0x17f);break;}}_0x4ef3d3['fillText'](_0x95ace4,_0x583890,_0x12dc95);}else _0x4ef3d3[_0x3017e3(0x278)](_0x2cbef7,_0x583890,_0x12dc95);_0x4ef3d3[_0x3017e3(0x295)]();}['_draw'](_0xd8ec1c){const _0x14ebd0=_0x163b90;ue[_0x14ebd0(0x1c4)](_0xd8ec1c,this);}}function _0x3a7f(){const _0x164566=['_send','subscribeEvent','M0\x200H16V16H0z','getCurrentRevOfUnit','closePath','_collabCursorState$','_themeService','univer-flex\x20univer-items-center','top','_collaborationUIEventService','fill','_assignedColors','1209086LIUBvO','_initEvent','_setupSubUnitSync','Failed','init','unitID','ticket','save','UPDATE_CURSOR','_render','session.will-retry','UNDEFINED','engine','YUUMI_AI_RUN_FAILED','8524152WOZMqQ','currentSkeleton$','4301868AxFVio','getUndoRedoMutationParamsCache','toRgbString','setUndoRedoMutationParamsCache','runOnServer','off-line-icon_clip0_910_343','unshift','YUUMI_RATE_OVER_LIMIT','transform','_docStateChangeManagerService','_docTransformIMECacheService','_cursorShapes','_clearOtherTimers','getParam','application/json','SOCKET_FAILED_RETRY','addObject','post','_cachedData','addHandlerCallback','_sheetSkeletonManagerService','disableLocalCache','pluginName','with','purple.300','focused$','sessionStatus$','getSkeleton','Warning','redoState','_transformService','onPointerLeave$','_docTransformStateCacheService','activeSheet$','defIds','_status$','textRanges','_getMergeRange','div','urlChange$','collabStatus.offline','lineTo','TOO_MANY_REQUESTS','getSheetId','_urlService','extend','pipe','currentTheme$','concat','addClipboardHook','INVITE_CODE_REQUIRED','stringify','children','_getSheetObject','TEXT','beginPath','getOwnPropertyDescriptor','apply','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','arc','_startDocCollabCursor','loadOfflineData','transformMutationsWithChangeset','EMAIL_VERIFY_CODE_MISMATCH','Error','_cursors','from','_cursor','startsWith','getCollabCursors$','entries','setAlpha','_id','_createSocketURL','registerRefRange','icon','_imageIoService','_getSaveTimeout','OFFLINE','size','_eventUnsubscribe','1946ODNNsC','min','_docSkeleton','_unitStatus','replaceDocRanges','white','transformRemoteChangeset','next','setShapeProps','xlink:href','onCommandExecuted','resize','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','NO_OTHER_CLIENTS_EDITING','INVITE_CODE_ALREADY_BOUND','removeParam','_univerInstanceService','APPLY_PERMISSION_DENIED','APPLY_REVISION_CONFILICT','black','complete','contains','CONFLICT','entityInit$','createSocket','PERMISSION_DENIED','getItem','registerRenderModule','setConfig','_initDependencies','_hovered','_configService','...','RECT','clearInterval','currentColor','mask','4710paDLDI','_initCommandExecutedListener','_saveCache','saveOfflineData','getMemberID','call','href','split','_messageService','search','exhaustSavingTask','displayName','COMPLETION_FINISHED','PY_RUNTIME_SCRIPT_ERROR','includes','_cursorInfo$','selections','_context','http://www.w3.org/2000/svg','replace','_drawAnchor','_saveTaskMap','clearTimeout','_session','path','_textBubble','_scheduleSaving','m2Prime','none','1em','InsertRangeMoveRightCommandId','_notificationService','SUBMIT_CHANGESET_TIMEOUT','evenodd','_colorIndex','fillRule','makeDirty','then','memberID','use','bottom','_shapes','univer-mr-2\x20univer-flex\x20univer-text-xl','_disabled','getSheetBySheetId','LOGIN_FAILED','_onCursorUpdate','38256mdPvod','_toggleOffline','_anchorDot','_unitOnClients','roomMembers$','isArray','all','NOT_COLLAB','YUUMI_ALL_TABLES_IS_INVALID','_lastPointer','whenReady','fillStyle','collabStatus.synced','permission.content','dispose$','deepClone','isActive','drawWith','push','_scene','svg','_document','_collaborationController','_initResize','_name','collabStatus.syncing','_instanceService','attrs','cursorInfo$','width','getStateCache','string','selection','VIEW_MAIN','_refRangeService','setItem','getValue','_getSessionTicket','DeleteRangeMoveLeftCommandId','font','column','_range','_updateSubUnitFromURLParams','UniverIcon','pushState','findNodePositionByCharIndex','_initEntityListener','_injector','_logService','INVALID_INVITE_CODE','transformMutation','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','error','setTimeout','NOT_FOUND','on-line-icon_clip0_910_349','getRelativeToViewportCoord','doc.mutation.rich-text-editing','tag','defs','_docClipboardService','_handleJoinEvent','getCurrent','_dataLoaderService','USER_NOT_INVITED_CODE','green.600','propertyIsEnumerable','popstate','APPLY_REJECT','executeCommand','sessionTicket','disposeWithMe','replaceState','getActiveRange','endColumn','assignAColorForMemberID','_handleLeaveEvent','YUUMI_CONNECTOR_URL_NOT_FOUND','subscribe','addObjects','measureText','_renderManagerService','executionId','_color','InsertRowCommandId','moveTo','_collabCursorController','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','on-line-icon','getFocusedUnit','get','_handleHover','MOBILE_HAS_BEEN_BOUND','hide','MOBILE_VERIFY_CODE_MISMATCH','_docSkeletonManagerService','_scheduleHeartbeat','params','OffLineIcon','code','flatMap','setInterval','MUTATION','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','UNIVER_DOC','transformSelections','SNAPSHOT_INVALID_SNAPSHOT','range','AWAITING_WITH_PENDING','FromArray','CHANGESET_REVISION_CONFILICT','_setupBeforeClosingHandler','_transformHistoryAndStateStack','onPointerMove$','YUUMI_ASYNCIO_CANCELLED','imageSourceType','registerBeforeClose','eventID','className','asObservable','collabCursorState$','getCurrentSelections','_drawRectRange','unitId','registerComponent','location','hasOwnProperty','isEditing','transformIMECache','collaboration-client.offline-data-not-saved','getAncestorScale','_handleHeartbeatEvent','getColorFromTheme','round','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','collabStatus.fetchMiss','enableLocalCache','_scheduleClearOtherTimer','unit','url(#$1','assign','1184560KeQzPn','_removeClearOtherTimer','getCellPositionByOffset','_heartbeatTimer','set','_commandService','YUUMI_SUBSCRIPTION_NOT_FOUND','getConfig','text','getDocRanges','SNAPSHOT_HAS_BEEN_REMOVED','collabStatus.notCollab','undoState','defineProperty','body','EMAIL_HAS_BEEN_BOUND','_docSyncEditingCollabCursorService','_toggleOnline','origin','ranges','ALREADY_EXISTS','toString','length','_roomMembers$','_localStorageService','prototype','WECHAT_HAS_BEEN_BOUND','YUUMI_URL_COL_OUT_OF_RANGE','_init','FETCH_MISS','_getScale','collab-client.tooltip.reconnect','unsubscribe','_registerDependencies','CONNECTOR_DATA_TOO_LARGE','data','LICENSE_IMPORT_SIZE_EXCEEDED','blue.400','uni.network.url-service','0\x200\x2016\x2016','RemoveColCommandId','mutations','getOffsetConfig','reconnect','saveTaskMap','_initStatusListener','syncEditingCollabCursor','show','add','collab-text-anchor-','_refreshCollabCursors','2266560Vvtwre','substring','getUnitId','startRow','LICENSE_MAX_UNITS_EXCEEDED','fillText','roomMembers','YUUMI_NO_CUBOID_FOR_QUESTION','name','subunit','m1Prime','getRenderById','LICENSE_EXPORT_SIZE_EXCEEDED','newValue','_transformUndoRedoStack','_ensureSubject','actions','_online','find','APPLY_NON_SEQUENTIAL_REVISION','UNIVER_SHEET','PENDING','delete','addEventListener','INVALID_ARGUMENT','/run/','_updateLocalCursor','row','7452qNzlJX','type','LICENSE_DISTRO_REJECTED','[CollaborationDataLoaderController]','values','_updateCollabCursors','restore','_doCreateSocket','APPLY_DUPLICATED','off-line-icon','_httpService','getMember','_config','_anchor','HEADER_MENU','docStateChange$','function','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','collaboration.closeRoom','searchParams','createInstance','_transformPreviousActiveRange','skeleton','getTypeOfUnitAdded$','_handleEvent','INTERNAL_ERROR','_updateURLWithCurrentState','_memberService','_initStatusComponent','event$','override','color','_drawTextRange','collab-rect-range-','map','debug','height','_labelPosition','_hideTimer','_onCursorDelete','UNAUTHENTICATED','_selfUnitIDs','setActiveRange','setStateCache','has','dispose','_draw','_beforeCloseService','_localeService','cursorInfo','setParam','YUUMI_UNABLE_LOAD_URL','idSuffix','forEach','OnLineIcon','requireSession','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','DeleteRangeMoveUpCommandId','session.connection-failed','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','ENSURE_SNAPSHOT_EXECUTION','runId','_startSheetCollabCursor','permission.title','InsertRangeMoveDownCommandId','OTHER_CLIENTS_EDITING','invokeId','onMouseMove','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','updateOfflineData','getTypeOfUnitDisposed$','saveImage','clipPath','_entities','_registerRenderDependencies','_revisionService','send','session.collaboration-timeout','_removeCollabCursors','getRangePointData','sheetId','InsertColCommandId','Unknown\x20user','_syncEditingCollabCursorService','triggerDblclick','collaboration-client-ui.config','_colorAssignService','_getAnchorBounding','_backgroundColor','onPointerEnter$','ONLINE','wsSessionTicketUrl','random','getMergeData','INVITE_CODE_HAS_BEEN_UES','subUnitId','status$','url(#on-line-icon_clip0_910_349)','2RCtjpD','_localCacheService','_onRefRangeChange','[RemoteUniscriptService]:\x20no\x20focused\x20unit','max','_hover','url(#off-line-icon_clip0_910_343)','_entityInit$','_docTransformSelectionsService','unload','red.300','colorChannel1','collab-text-range-','history'];_0x3a7f=function(){return _0x164566;};return _0x3a7f();}const ve=_0x163b90(0x271),bi=_0x163b90(0xf0),Ti=_0x163b90(0x2b0),G=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni='rgba(255,\x20255,\x20255,\x200.01)';class et{constructor(_0x36384e,_0x5c655f,_0xd28a57,_0x1141a8){const _0x119b55=_0x163b90;_(this,'_shapes',[]),_(this,'_anchor',null),_(this,_0x119b55(0x19d),null),_(this,'_anchorDot',null),_(this,_0x119b55(0x2b5),null),_(this,_0x119b55(0x15e),null),(this[_0x119b55(0x151)]=_0x36384e,this[_0x119b55(0x1c6)]=_0x5c655f,this[_0x119b55(0x161)]=_0xd28a57,this[_0x119b55(0x1c8)]=_0x1141a8,this[_0x119b55(0x107)]());}set['_hover'](_0x45f999){const _0x5b1c13=_0x163b90;_0x45f999?(this[_0x5b1c13(0x1b5)]&&this['_anchorDot'][_0x5b1c13(0x210)](),this[_0x5b1c13(0x19d)]&&this[_0x5b1c13(0x19d)]['show']()):(this[_0x5b1c13(0x1b5)]&&this['_anchorDot'][_0x5b1c13(0x26f)](),this['_textBubble']&&this[_0x5b1c13(0x19d)][_0x5b1c13(0x210)]());}[_0x163b90(0x2bc)](){const _0x67ddc4=_0x163b90;for(const _0xb601ca of this[_0x67ddc4(0x1ad)])_0xb601ca[_0x67ddc4(0x2bc)]();this['_textBubble']&&this[_0x67ddc4(0x19d)]['dispose'](),this[_0x67ddc4(0x1b5)]&&this[_0x67ddc4(0x1b5)][_0x67ddc4(0x2bc)](),this['_anchor']&&this[_0x67ddc4(0x29c)]['dispose'](),this[_0x67ddc4(0x15e)]&&this[_0x67ddc4(0x15e)]();}[_0x163b90(0x107)](){const _0x4aa40b=_0x163b90;var _0x5f2549;const {_docSkeleton:_0x2f2e23,_document:_0x4d35e9}=this,{color:_0x5f37a6,name:_0x2fafa3,ranges:_0x449d3f}=this[_0x4aa40b(0x151)],_0x136c7a=_0x4d35e9[_0x4aa40b(0x26a)](),{docsLeft:_0x1a1687,docsTop:_0x2c6627}=_0x136c7a,_0x1fc417=new _0x36c519(_0x136c7a,_0x2f2e23);for(const {startOffset:_0x580fbb,endOffset:_0x528990,rangeType:_0x147cd4,segmentId:_0x55aa43,segmentPage:_0x3896f3,collapsed:_0x54c52d,isActive:_0x39a11e}of _0x449d3f){const _0x256a66=_0x2f2e23[_0x4aa40b(0x1e0)](_0x580fbb,!0x0,_0x55aa43,_0x3896f3);let _0xb9f897=_0x2f2e23[_0x4aa40b(0x1e0)](_0x528990,!0x0,_0x55aa43,_0x3896f3);if(_0xb9f897==null&&(_0xb9f897=_0x2f2e23[_0x4aa40b(0x1e0)](_0x528990-0x1,!0x1,_0x55aa43,_0x3896f3)),_0x39a11e){const {contentBoxPointGroup:_0x5ad880}=_0x1fc417[_0x4aa40b(0xd1)](_0xb9f897,_0xb9f897);if(_0x5ad880['length']===0x0)continue;this[_0x4aa40b(0x198)](_0x5f37a6,_0x5ad880,_0x1a1687,_0x2c6627,_0x2fafa3),this[_0x4aa40b(0x15e)]=this[_0x4aa40b(0x20e)]();}if(_0x256a66&&_0xb9f897){if(_0x147cd4===_0x211be7[_0x4aa40b(0x180)]){const _0x29c7ba=new _0xb411cc(_0x136c7a,_0x2f2e23),{pointGroup:_0x3780e3}=(_0x5f2549=_0x29c7ba[_0x4aa40b(0xd1)](_0x256a66,_0xb9f897))!=null?_0x5f2549:{};if(_0x3780e3==null||_0x3780e3[_0x4aa40b(0x256)]===0x0)continue;this[_0x4aa40b(0x22d)](_0x5f37a6,_0x3780e3,_0x1a1687,_0x2c6627);}else{if(!_0x54c52d){const {borderBoxPointGroup:_0x10531f}=_0x1fc417[_0x4aa40b(0xd1)](_0x256a66,_0xb9f897);if(_0x10531f['length']===0x0)continue;this['_drawTextRange'](_0x5f37a6,_0x10531f,_0x1a1687,_0x2c6627);}}}}}[_0x163b90(0x198)](_0x46979a,_0x44bd80,_0x500afe,_0x6043c,_0x21d948){const _0x19504e=_0x163b90,_0x4da379=this[_0x19504e(0xd9)](_0x44bd80),{left:_0x14b4bf,top:_0x14d9ce,height:_0x6a64ae}=_0x4da379,_0x26f3e8=this[_0x19504e(0x25e)](),_0x51fd3c=Di/_0x26f3e8,_0x2a41a9=new _0x521d58(ve+_0x5e883b(G),{'left':_0x14b4bf+_0x500afe-_0x51fd3c,'top':_0x14d9ce+_0x6043c,'height':_0x6a64ae,'width':Ri,'fill':_0x46979a||_0x20c176(_0x4324c8[_0x19504e(0x172)],0x0),'strokeWidth':_0x51fd3c,'stroke':Ni,'evented':!0x0});this[_0x19504e(0x29c)]=_0x2a41a9,this['_scene'][_0x19504e(0x11e)](_0x2a41a9,_0x2817b7);const _0x548f8a=new _0x521d58(ve+_0x5e883b(G),{'left':_0x14b4bf+_0x500afe-_0x51fd3c,'top':_0x14d9ce+_0x6043c-ge/0x2,'height':ge,'width':ge,'fill':_0x46979a||_0x20c176(_0x4324c8['black'],0x0),'strokeWidth':0x0,'stroke':_0x46979a||_0x20c176(_0x4324c8[_0x19504e(0x172)],0x0),'evented':!0x1});this[_0x19504e(0x1b5)]=_0x548f8a,this[_0x19504e(0x1c6)][_0x19504e(0x11e)](_0x548f8a,_0x2817b7);const _0x234548=new ue(ve+_0x5e883b(G),{'left':_0x14b4bf+_0x500afe-_0x51fd3c,'top':_0x14d9ce+_0x6043c-te,'text':_0x21d948,'color':_0x46979a});this[_0x19504e(0x19d)]=_0x234548,this[_0x19504e(0x1c6)][_0x19504e(0x11e)](_0x234548,_0x2817b7),this['_hover']=!0x1;}[_0x163b90(0x20e)](){const _0x2d5595=_0x163b90,_0x1a157e=this[_0x2d5595(0x29c)][_0x2d5595(0xdb)][_0x2d5595(0xf3)](()=>{const _0x4fa228=_0x2d5595;this[_0x4fa228(0xe9)]=!0x0;}),_0x14f60f=this[_0x2d5595(0x29c)][_0x2d5595(0x12d)][_0x2d5595(0xf3)](()=>{const _0x3c18fe=_0x2d5595;this[_0x3c18fe(0x2b5)]&&clearTimeout(this[_0x3c18fe(0x2b5)]),this[_0x3c18fe(0x2b5)]=setTimeout(()=>{const _0x78678a=_0x3c18fe;this[_0x78678a(0xe9)]=!0x1;},0x7d0);});return()=>{const _0x29cacf=_0x2d5595;_0x1a157e[_0x29cacf(0x260)](),_0x14f60f[_0x29cacf(0x260)]();};}[_0x163b90(0x2af)](_0x1538d7,_0x144ce1,_0x30020d,_0x2e86e5){const _0x503ea8=_0x163b90,_0x4253d8=new _0x5d957e(_0x1538d7)[_0x503ea8(0x155)](0.2)[_0x503ea8(0x110)](),_0x40c7e2=new _0x61497b(bi+_0x5e883b(G),{'pointsGroup':_0x144ce1,'fill':_0x4253d8||_0x20c176(_0x4324c8['black'],0.2),'left':_0x30020d,'top':_0x2e86e5,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x503ea8(0x1ad)][_0x503ea8(0x1c5)](_0x40c7e2),this['_scene'][_0x503ea8(0x11e)](_0x40c7e2,_0x2817b7);}[_0x163b90(0x22d)](_0xca2270,_0x3f6041,_0x3da62c,_0x3de0f7){const _0x3ec318=_0x163b90,_0x348656=new _0x5d957e(_0xca2270)[_0x3ec318(0x155)](0.2)['toRgbString'](),_0x4e0b84=new _0x61497b(Ti+_0x5e883b(G),{'pointsGroup':_0x3f6041,'fill':_0x348656||_0x20c176(_0x4324c8[_0x3ec318(0x172)],0.2),'left':_0x3da62c,'top':_0x3de0f7,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3ec318(0x1ad)][_0x3ec318(0x1c5)](_0x4e0b84),this[_0x3ec318(0x1c6)][_0x3ec318(0x11e)](_0x4e0b84,_0x2817b7);}['_getAnchorBounding'](_0x14a8f3){const _0x2feda9=_0x14a8f3[0x0],_0x3cb6b3=_0x2feda9[0x0],_0xb06216=_0x2feda9[0x2],{x:_0x3b91c9,y:_0xee99f4}=_0x3cb6b3,{x:_0x29aacc,y:_0x1a147f}=_0xb06216;return{'left':_0x3b91c9,'top':_0xee99f4,'width':_0x29aacc-_0x3b91c9,'height':_0x1a147f-_0xee99f4};}['_getScale'](){const _0x16ecfb=_0x163b90,{scaleX:_0x56f158,scaleY:_0x389f25}=this['_scene'][_0x16ecfb(0x235)]();return Math[_0x16ecfb(0xe8)](_0x56f158,_0x389f25);}}var Ui=Object['getOwnPropertyDescriptor'],Mi=(_0x271829,_0x350d1d,_0x1b03e1,_0x21d7bb)=>{const _0x49b751=_0x163b90;for(var _0x2fa3ab=_0x21d7bb>0x1?void 0x0:_0x21d7bb?Ui(_0x350d1d,_0x1b03e1):_0x350d1d,_0x5af0c3=_0x271829[_0x49b751(0x256)]-0x1,_0x29aaf5;_0x5af0c3>=0x0;_0x5af0c3--)(_0x29aaf5=_0x271829[_0x5af0c3])&&(_0x2fa3ab=_0x29aaf5(_0x2fa3ab)||_0x2fa3ab);return _0x2fa3ab;},Q=(_0x157d8d,_0x2ccb40)=>(_0x4a2d9c,_0x2104c4)=>_0x2ccb40(_0x4a2d9c,_0x2104c4,_0x157d8d);let Pe=class extends _0x24bb3b{constructor(_0x5b8f7c,_0x25a9b0,_0x2570bb,_0x1715a4,_0x467259){const _0x4600a0=_0x163b90;super(),_(this,_0x4600a0(0x119),[]),_(this,_0x4600a0(0x14f),[]),(this[_0x4600a0(0x195)]=_0x5b8f7c,this[_0x4600a0(0x212)]=_0x25a9b0,this['_collabCursorController']=_0x2570bb,this[_0x4600a0(0x245)]=_0x1715a4,this['_themeService']=_0x467259,this['_init']());}[_0x163b90(0x25c)](){const _0x4ebea5=_0x163b90,_0x1c832e=this[_0x4ebea5(0x195)][_0x4ebea5(0x22e)],_0x4ed3e4=this[_0x4ebea5(0x212)];this[_0x4ebea5(0x1fa)](_0x491a6c([this[_0x4ebea5(0x209)][_0x4ebea5(0x153)](_0x1c832e),this[_0x4ebea5(0xf8)][_0x4ebea5(0x13d)]])[_0x4ebea5(0x13c)](_0x2ca3e9(([_0x37ca4e,_0x190d88])=>({'skeleton':_0x4ed3e4[_0x4ebea5(0x129)](),'cursors':[..._0x37ca4e[_0x4ebea5(0x293)]()][_0x4ebea5(0x217)](_0x2b9567=>({..._0x2b9567,'color':this[_0x4ebea5(0xf8)][_0x4ebea5(0x237)](_0x2b9567['color'])}))})))[_0x4ebea5(0x201)](_0x3384e3=>{const _0x4c6544=_0x4ebea5;if(this[_0x4c6544(0xd0)](),_0x3384e3){const {skeleton:_0x4001a8,cursors:_0x4d7ee7}=_0x3384e3;this[_0x4c6544(0x294)](_0x4001a8,_0x4d7ee7);}})),this['_initResize'](),this[_0x4ebea5(0x185)]();}['_updateCollabCursors'](_0x58f8bf,_0x3f370e){const _0x2be10a=_0x163b90,{scene:_0x4a5841,mainComponent:_0x436459}=this[_0x2be10a(0x195)],_0x46a66b=_0x3f370e['map'](_0x5653c1=>new et(_0x5653c1,_0x4a5841,_0x58f8bf,_0x436459));this[_0x2be10a(0x119)]=_0x46a66b,this[_0x2be10a(0x14f)]=_0x3f370e;}['_refreshCollabCursors'](){const _0x110cc6=_0x163b90;this[_0x110cc6(0xd0)]();const {scene:_0x4a0f5d,mainComponent:_0x378a5e}=this[_0x110cc6(0x195)],_0x4b7c1=this['_docSkeletonManagerService']['getSkeleton'](),_0x113512=this[_0x110cc6(0x14f)]['map'](_0x410b13=>new et(_0x410b13,_0x4a0f5d,_0x4b7c1,_0x378a5e));this[_0x110cc6(0x119)]=_0x113512;}[_0x163b90(0xd0)](){const _0x59c4df=_0x163b90;this[_0x59c4df(0x119)][_0x59c4df(0x2c4)](_0x5bc286=>_0x5bc286[_0x59c4df(0x2bc)]()),this[_0x59c4df(0x119)]=[];}[_0x163b90(0x185)](){const _0x20a316=_0x163b90,_0x2b811a=[_0x22b199['id']];this[_0x20a316(0x1fa)](this[_0x20a316(0x245)][_0x20a316(0x169)](_0x2618a2=>{const _0x5cc534=_0x20a316;_0x2b811a[_0x5cc534(0x192)](_0x2618a2['id'])&&_0x2618a2[_0x5cc534(0x214)][_0x5cc534(0x22e)]===this['_context']['unitId']&&this[_0x5cc534(0x272)]();}));}[_0x163b90(0x1ca)](){const _0x1caa1e=_0x163b90;this[_0x1caa1e(0x1fa)](_0x1fd535(this[_0x1caa1e(0x195)][_0x1caa1e(0x10a)]['onTransformChange$'])[_0x1caa1e(0x13c)](_0x31dd46(_0x4dc026=>_0x4dc026[_0x1caa1e(0x290)]===_0x3f4629[_0x1caa1e(0x16a)]),_0x1cb29f(0x10))['subscribe'](()=>{const _0x782a02=_0x1caa1e;this[_0x782a02(0x272)]();}));}};Pe=Mi([Q(0x1,_0xe4d2b5(_0x574676)),Q(0x2,_0xe4d2b5(F)),Q(0x3,_0xdb13dc),Q(0x4,_0xe4d2b5(_0x3e708f))],Pe);const Li=0x1,Pi=1.5;class wi extends _0x86beb2{constructor(_0x45e92e,_0x213f5e){const _0xfdbeb7=_0x163b90;super(_0x45e92e,_0x213f5e),_(this,'_color'),_(this,_0xfdbeb7(0x17d),!0x1),_(this,_0xfdbeb7(0x1dc)),_(this,_0xfdbeb7(0x1cb),''),_(this,_0xfdbeb7(0x2b4),_0xfdbeb7(0xfa)),_(this,_0xfdbeb7(0xda)),(_0x213f5e&&this[_0xfdbeb7(0x167)](_0x213f5e),this[_0xfdbeb7(0xdb)][_0xfdbeb7(0xf3)](()=>this[_0xfdbeb7(0x167)]({'hovered':!0x0})),this[_0xfdbeb7(0x12d)][_0xfdbeb7(0xf3)](()=>this[_0xfdbeb7(0x167)]({'hovered':!0x1})));}['setShapeProps'](_0x17bdc6){const _0xc3ad20=_0x163b90;var _0x48e4b5,_0xb7c5cb,_0x44c338,_0x1e863f,_0x1dd035,_0x4dafc6;this['_color']=(_0x48e4b5=_0x17bdc6[_0xc3ad20(0x2ae)])!=null?_0x48e4b5:this[_0xc3ad20(0x206)],this['_hovered']=(_0xb7c5cb=_0x17bdc6['hovered'])!=null?_0xb7c5cb:this[_0xc3ad20(0x17d)],this[_0xc3ad20(0x1dc)]=(_0x44c338=_0x17bdc6[_0xc3ad20(0x21e)])!=null?_0x44c338:this[_0xc3ad20(0x1dc)],this['_name']=(_0x1e863f=_0x17bdc6[_0xc3ad20(0x27b)])!=null?_0x1e863f:this[_0xc3ad20(0x1cb)],this[_0xc3ad20(0x2b4)]=(_0x1dd035=_0x17bdc6['labelPosition'])!=null?_0x1dd035:this[_0xc3ad20(0x2b4)],this[_0xc3ad20(0xda)]=(_0x4dafc6=_0x17bdc6['backgroundColor'])!=null?_0x4dafc6:this['_backgroundColor'],this['transformByState']({'width':_0x17bdc6[_0xc3ad20(0x1d0)],'height':_0x17bdc6[_0xc3ad20(0x2b3)]});}['onMouseMove'](_0x50ef10){const _0x1d5288=_0x163b90,{row:_0x5d1a5d,column:_0x141a49}=_0x50ef10;if(_0x5d1a5d>=this[_0x1d5288(0x1dc)][_0x1d5288(0x276)]&&_0x5d1a5d<=this[_0x1d5288(0x1dc)]['endRow']&&_0x141a49>=this[_0x1d5288(0x1dc)]['startColumn']&&_0x141a49<=this[_0x1d5288(0x1dc)][_0x1d5288(0x1fd)]){this[_0x1d5288(0x167)]({'hovered':!0x0});return;}this[_0x1d5288(0x167)]({'hovered':!0x1});}[_0x163b90(0xd6)](_0x27bae5){return!0x1;}[_0x163b90(0x2bd)](_0x3dbd18){const _0x2cbdac=_0x163b90;_0x521d58['drawWith'](_0x3dbd18,{'width':this['width'],'height':this[_0x2cbdac(0x2b3)],'strokeWidth':Pi,'stroke':this[_0x2cbdac(0x206)],'evented':!0x1,'fill':this[_0x2cbdac(0xda)]}),this['_hovered']&&(_0x3dbd18['save'](),_0x3dbd18[_0x2cbdac(0x116)](0x1,0x0,0x0,0x1,this[_0x2cbdac(0x1d0)],this[_0x2cbdac(0x2b4)]==='bottom'?0x0:-0x14),ue['drawWith'](_0x3dbd18,{'text':this[_0x2cbdac(0x1cb)],'color':this[_0x2cbdac(0x206)]}),_0x3dbd18[_0x2cbdac(0x295)]());}}var Ai=Object['getOwnPropertyDescriptor'],yi=(_0x26e12e,_0x19e616,_0x9a5dfb,_0x6f4fc1)=>{for(var _0x5af016=_0x6f4fc1>0x1?void 0x0:_0x6f4fc1?Ai(_0x19e616,_0x9a5dfb):_0x19e616,_0x197858=_0x26e12e['length']-0x1,_0x3a9773;_0x197858>=0x0;_0x197858--)(_0x3a9773=_0x26e12e[_0x197858])&&(_0x5af016=_0x3a9773(_0x5af016)||_0x5af016);return _0x5af016;},pe=(_0x5a10ec,_0x2e5a79)=>(_0x401e6e,_0x2da248)=>_0x2e5a79(_0x401e6e,_0x2da248,_0x5a10ec);const $i=0x1389;let we=class extends _0x24bb3b{constructor(_0x3512de,_0x9afd52,_0x31d881,_0x35cd18){const _0x2288ee=_0x163b90;super(),_(this,_0x2288ee(0x14f),new Set()),_(this,_0x2288ee(0x1bc),null),(this[_0x2288ee(0x195)]=_0x3512de,this[_0x2288ee(0x122)]=_0x9afd52,this[_0x2288ee(0x209)]=_0x31d881,this[_0x2288ee(0xf8)]=_0x35cd18,this['_init']());}[_0x163b90(0x25c)](){const _0x2016ec=_0x163b90;this['_sheetSkeletonManagerService'][_0x2016ec(0x10d)]['pipe'](_0x14bb95(this[_0x2016ec(0x1c1)]),_0x442366(_0x2dd514=>{const _0x4a5088=_0x2016ec;if(_0x2dd514){const _0x20cbde=_0x2dd514[_0x4a5088(0xd2)];return _0x491a6c(this['_collabCursorController'][_0x4a5088(0x153)](this['_context'][_0x4a5088(0x22e)]),this['_themeService'][_0x4a5088(0x13d)])[_0x4a5088(0x13c)](_0x2ca3e9(([_0x3ea8b9,_0x20b889])=>{const _0x2eaa1b=_0x4a5088,_0x55e7db=new Map();return _0x3ea8b9[_0x2eaa1b(0x2c4)]((_0x1f6376,_0x3c9005)=>{const _0x10c431=_0x2eaa1b;if(_0x1f6376['sheetID']===_0x20cbde){const _0xeacf6b={..._0x1f6376};_0xeacf6b['color']=this[_0x10c431(0xf8)][_0x10c431(0x237)](_0x1f6376['color']),_0x55e7db[_0x10c431(0x244)](_0x3c9005,_0xeacf6b);}}),{'skeleton':_0x2dd514,'cursors':_0x55e7db};}));}return _0xba8c7b({'skeleton':null,'cursors':new Map()});}))[_0x2016ec(0x201)](({skeleton:_0x4a27e5,cursors:_0x3117ca})=>{const _0x2cc2af=_0x2016ec;this['_removeCollabCursors'](),_0x4a27e5&&this[_0x2cc2af(0x294)](_0x4a27e5,_0x3117ca);}),this['_sheetSkeletonManagerService'][_0x2016ec(0x10d)][_0x2016ec(0x201)](_0x350459=>{const _0x4e4e09=_0x2016ec;if(_0x350459==null)return;const {skeleton:_0x49516e}=_0x350459,{scene:_0x237ea9}=this[_0x4e4e09(0x195)];_0x237ea9[_0x4e4e09(0x224)]['subscribeEvent'](_0x5d4f62(_0x4471da=>{const _0x3690d0=_0x4e4e09;var _0x47c435,_0x4cf3c7;const {offsetX:_0x2455d5,offsetY:_0x1800cc}=_0x4471da,{x:_0x7e6ffb,y:_0x544e10}=_0x237ea9[_0x3690d0(0x1eb)](_0x2a744f[_0x3690d0(0x220)]([_0x2455d5,_0x1800cc])),{scaleX:_0x494d8a,scaleY:_0x1811ec}=_0x237ea9[_0x3690d0(0x235)](),_0x18a466=_0x237ea9['getViewport'](_0x3251cc[_0x3690d0(0x1d4)]),_0xa574a5=_0x237ea9['getVpScrollXYInfoByPosToVp'](_0x2a744f[_0x3690d0(0x220)]([_0x7e6ffb,_0x544e10]),_0x18a466),_0x3e44af=_0x49516e[_0x3690d0(0x242)](_0x2455d5,_0x1800cc,_0x494d8a,_0x1811ec,_0xa574a5);((_0x47c435=this['_lastPointer'])==null?void 0x0:_0x47c435['column'])===_0x3e44af[_0x3690d0(0x1db)]&&((_0x4cf3c7=this['_lastPointer'])==null?void 0x0:_0x4cf3c7[_0x3690d0(0x28e)])===_0x3e44af['row']||this[_0x3690d0(0x14f)][_0x3690d0(0x2c4)](_0x2fc49b=>{const _0x2c51d3=_0x3690d0;_0x2fc49b[_0x2c51d3(0xc5)](_0x3e44af);});},0x64));});}[_0x163b90(0x294)](_0x393f2e,_0x257a1b){const _0x2961e7=_0x163b90;var _0x1cbcd6;const _0x12df2b=(_0x1cbcd6=this[_0x2961e7(0x122)][_0x2961e7(0x1f1)]())==null?void 0x0:_0x1cbcd6[_0x2961e7(0x2a5)];if(!_0x12df2b)return;const _0x533a22=this[_0x2961e7(0x143)]();if(!_0x533a22)return;this[_0x2961e7(0x14f)][_0x2961e7(0x2c4)](_0x45aeee=>{const _0x5a2c95=_0x2961e7;_0x45aeee[_0x5a2c95(0x1a8)]();});const {scene:_0x58fa85}=_0x533a22,_0x30e76a=xi(Array[_0x2961e7(0x150)](_0x257a1b[_0x2961e7(0x293)]()))[_0x2961e7(0x2b1)](_0x68b119=>{const _0x1d9a9e=_0x2961e7,{color:_0x3b2783,range:_0x55de9e,name:_0xcbd1df,selection:_0x14f0b6,sheetID:_0x807379}=_0x68b119,{startColumn:_0x565afa,startRow:_0x47b80e,endColumn:_0x1b022f,endRow:_0x4d2ee2}=_0x55de9e,_0x3f41f1=_0x3bad88(_0x47b80e,_0x565afa,_0x58fa85,_0x12df2b),_0x4cd6e4=_0x3bad88(_0x4d2ee2,_0x1b022f,_0x58fa85,_0x12df2b),{columnHeaderHeightAndMarginTop:_0x4eb342}=_0x12df2b,{startX:_0x4418f5,startY:_0x214af7}=_0x3f41f1,{endX:_0x1c73a5,endY:_0x389a56}=_0x4cd6e4,_0x4ba770=_0x1c73a5-_0x4418f5,_0x1339f9=_0x389a56-_0x214af7,_0x936766={'labelPosition':_0x214af7-_0x4eb342>=te?'top':_0x1d9a9e(0x1ac),'sheetID':_0x807379,'range':_0x55de9e,'color':_0x3b2783,'name':_0xcbd1df,'selection':_0x14f0b6,'left':_0x4418f5,'top':_0x214af7,'width':_0x4ba770,'height':_0x1339f9,'evented':!0x1,'zIndex':$i};return new wi(_0xcbd1df,_0x936766);});_0x58fa85[_0x2961e7(0x202)](_0x30e76a,Li),this[_0x2961e7(0x14f)]=new Set(_0x30e76a);}['_removeCollabCursors'](){const _0xfea0cb=_0x163b90;var _0x59798e;(_0x59798e=this[_0xfea0cb(0x14f)])==null||_0x59798e['forEach'](_0x5c233f=>_0x5c233f['dispose']());}['_getSheetObject'](){const _0xdf3fa7=_0x163b90;return _0x53a0cb(this[_0xdf3fa7(0x195)][_0xdf3fa7(0x23d)],this[_0xdf3fa7(0x195)]);}};we=yi([pe(0x1,_0xe4d2b5(_0x56a165)),pe(0x2,_0xe4d2b5(F)),pe(0x3,_0xe4d2b5(_0x3e708f))],we);function xi(_0x4321b5){const _0x2cc319=_0x163b90,_0xd486b1=new Map();return _0x4321b5[_0x2cc319(0x2c4)](_0x33948f=>{const _0x467e02=_0x2cc319;if(_0xd486b1[_0x467e02(0x2bb)](_0x33948f['selection'])){const _0x5768fd=_0xd486b1[_0x467e02(0x20d)](_0x33948f['selection']);_0x5768fd['name']+=',\x20'+_0x33948f[_0x467e02(0x27b)];}else _0xd486b1[_0x467e02(0x244)](_0x33948f[_0x467e02(0x1d3)],_0x33948f);}),Array[_0x2cc319(0x150)](_0xd486b1[_0x2cc319(0x293)]());}var v=function(){const _0x34e341=_0x163b90;return v=Object['assign']||function(_0x57382b){const _0x5a45bf=_0x30ea;for(var _0xfe8bcc,_0x14804a=0x1,_0x4f1449=arguments[_0x5a45bf(0x256)];_0x14804a<_0x4f1449;_0x14804a++){_0xfe8bcc=arguments[_0x14804a];for(var _0x587b71 in _0xfe8bcc)Object[_0x5a45bf(0x259)][_0x5a45bf(0x231)][_0x5a45bf(0x189)](_0xfe8bcc,_0x587b71)&&(_0x57382b[_0x587b71]=_0xfe8bcc[_0x587b71]);}return _0x57382b;},v[_0x34e341(0x147)](this,arguments);},Bi=function(_0x4d90f1,_0x36cdfe){const _0xd2b7dc=_0x163b90;var _0x34528f={};for(var _0x97365 in _0x4d90f1)Object[_0xd2b7dc(0x259)][_0xd2b7dc(0x231)][_0xd2b7dc(0x189)](_0x4d90f1,_0x97365)&&_0x36cdfe['indexOf'](_0x97365)<0x0&&(_0x34528f[_0x97365]=_0x4d90f1[_0x97365]);if(_0x4d90f1!=null&&typeof Object['getOwnPropertySymbols']==_0xd2b7dc(0x29f)){for(var _0x43adc4=0x0,_0x97365=Object['getOwnPropertySymbols'](_0x4d90f1);_0x43adc4<_0x97365['length'];_0x43adc4++)_0x36cdfe['indexOf'](_0x97365[_0x43adc4])<0x0&&Object['prototype'][_0xd2b7dc(0x1f5)][_0xd2b7dc(0x189)](_0x4d90f1,_0x97365[_0x43adc4])&&(_0x34528f[_0x97365[_0x43adc4]]=_0x4d90f1[_0x97365[_0x43adc4]]);}return _0x34528f;},Ye=_0x56ae08(function(_0x113731,_0x5be6d3){const _0xf84c6a=_0x163b90;var _0x50cd97=_0x113731[_0xf84c6a(0x159)],_0x21cd77=_0x113731['id'],_0x40d777=_0x113731[_0xf84c6a(0x229)],_0x2d9cf5=_0x113731[_0xf84c6a(0x13b)],_0x5252a5=Bi(_0x113731,[_0xf84c6a(0x159),'id',_0xf84c6a(0x229),'extend']),_0x2a23ac='univerjs-icon\x20univerjs-icon-'[_0xf84c6a(0x13e)](_0x21cd77,'\x20')[_0xf84c6a(0x13e)](_0x40d777||'')['trim'](),_0x4b5bd9=_0x1be626('_'[_0xf84c6a(0x13e)](Fi()));return Dt(_0x50cd97,''['concat'](_0x21cd77),{'defIds':_0x50cd97[_0xf84c6a(0x130)],'idSuffix':_0x4b5bd9['current']},v({'ref':_0x5be6d3,'className':_0x2a23ac},_0x5252a5),_0x2d9cf5);});function Dt(_0x4ff2db,_0x377831,_0x5b063b,_0x347853,_0x2a91ad){const _0x5a7252=_0x163b90;return _0x3ace0b(_0x4ff2db[_0x5a7252(0x1ed)],v(v({'key':_0x377831},ki(_0x4ff2db,_0x5b063b,_0x2a91ad)),_0x347853),(Hi(_0x4ff2db,_0x5b063b)[_0x5a7252(0x142)]||[])[_0x5a7252(0x2b1)](function(_0x460abc,_0x3e9324){const _0x53f649=_0x5a7252;return Dt(_0x460abc,''[_0x53f649(0x13e)](_0x377831,'-')[_0x53f649(0x13e)](_0x4ff2db['tag'],'-')[_0x53f649(0x13e)](_0x3e9324),_0x5b063b,void 0x0,_0x2a91ad);}));}function ki(_0x63083,_0x1c8cff,_0x24cbb5){const _0x462b89=_0x163b90;var _0x4670b2=v({},_0x63083[_0x462b89(0x1ce)]);_0x24cbb5!=null&&_0x24cbb5['colorChannel1']&&_0x4670b2['fill']===_0x462b89(0xef)&&(_0x4670b2[_0x462b89(0xfc)]=_0x24cbb5[_0x462b89(0xef)]),_0x63083[_0x462b89(0x1ed)]===_0x462b89(0x183)&&_0x4670b2['id']&&(_0x4670b2['id']=_0x4670b2['id']+_0x1c8cff['idSuffix']),Object[_0x462b89(0x154)](_0x4670b2)[_0x462b89(0x2c4)](function(_0x5addb7){const _0xc2221e=_0x462b89;var _0xb84fe6=_0x5addb7[0x0],_0x8e199f=_0x5addb7[0x1];_0xb84fe6===_0xc2221e(0x183)&&typeof _0x8e199f==_0xc2221e(0x1d2)&&(_0x4670b2[_0xb84fe6]=_0x8e199f[_0xc2221e(0x197)](/url\(#(.*)\)/,_0xc2221e(0x23e)[_0xc2221e(0x13e)](_0x1c8cff[_0xc2221e(0x2c3)],')')));});var _0x468d54=_0x1c8cff[_0x462b89(0x130)];return!_0x468d54||_0x468d54['length']===0x0||(_0x63083[_0x462b89(0x1ed)]===_0x462b89(0x1ab)&&_0x4670b2['xlink:href']&&(_0x4670b2['xlink:href']=_0x4670b2[_0x462b89(0x168)]+_0x1c8cff[_0x462b89(0x2c3)]),Object[_0x462b89(0x154)](_0x4670b2)[_0x462b89(0x2c4)](function(_0x382a80){const _0x5d4536=_0x462b89;var _0x30cb4f=_0x382a80[0x0],_0x5e751b=_0x382a80[0x1];typeof _0x5e751b==_0x5d4536(0x1d2)&&(_0x4670b2[_0x30cb4f]=_0x5e751b[_0x5d4536(0x197)](/url\(#(.*)\)/,_0x5d4536(0x23e)[_0x5d4536(0x13e)](_0x1c8cff[_0x5d4536(0x2c3)],')')));})),_0x4670b2;}function Hi(_0x1b7840,_0x198db3){const _0x4155df=_0x163b90;var _0x45c874,_0x40307c=_0x198db3[_0x4155df(0x130)];return!_0x40307c||_0x40307c['length']===0x0?_0x1b7840:_0x1b7840[_0x4155df(0x1ed)]===_0x4155df(0x1ee)&&(!((_0x45c874=_0x1b7840[_0x4155df(0x142)])===null||_0x45c874===void 0x0)&&_0x45c874[_0x4155df(0x256)])?v(v({},_0x1b7840),{'children':_0x1b7840[_0x4155df(0x142)][_0x4155df(0x2b1)](function(_0x364bf3){const _0x31fa87=_0x4155df;return typeof _0x364bf3[_0x31fa87(0x1ce)]['id']==_0x31fa87(0x1d2)&&_0x40307c&&_0x40307c[_0x31fa87(0x192)](_0x364bf3[_0x31fa87(0x1ce)]['id'])?v(v({},_0x364bf3),{'attrs':v(v({},_0x364bf3[_0x31fa87(0x1ce)]),{'id':_0x364bf3['attrs']['id']+_0x198db3[_0x31fa87(0x2c3)]})}):_0x364bf3;})}):_0x1b7840;}function Fi(){const _0x337407=_0x163b90;return Math[_0x337407(0xde)]()[_0x337407(0x255)](0x24)[_0x337407(0x274)](0x2,0x8);}Ye[_0x163b90(0x18f)]=_0x163b90(0x1de);var Yi={'tag':'svg','attrs':{'xmlns':_0x163b90(0x196),'fill':_0x163b90(0x1a0),'viewBox':_0x163b90(0x267),'width':_0x163b90(0x1a1),'height':_0x163b90(0x1a1)},'children':[{'tag':'g','attrs':{'clipPath':_0x163b90(0xea)},'children':[{'tag':'path','attrs':{'stroke':_0x163b90(0x182),'d':_0x163b90(0x20a),'strokeLinecap':_0x163b90(0x238),'strokeLinejoin':_0x163b90(0x238),'strokeWidth':1.2}}]},{'tag':_0x163b90(0x1ee),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0x163b90(0x164),'d':_0x163b90(0xf4)}}]}]}],'defIds':[_0x163b90(0x113)]},Nt=_0x56ae08(function(_0x4e35c0,_0x15083c){const _0x5db360=_0x163b90;return _0x3ace0b(Ye,Object[_0x5db360(0x23f)]({},_0x4e35c0,{'id':_0x5db360(0x298),'ref':_0x15083c,'icon':Yi}));});Nt[_0x163b90(0x18f)]=_0x163b90(0x215);var ji={'tag':_0x163b90(0x1c7),'attrs':{'xmlns':_0x163b90(0x196),'fill':_0x163b90(0x1a0),'viewBox':'0\x200\x2017\x2016','width':_0x163b90(0x1a1),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x163b90(0xe3)},'children':[{'tag':_0x163b90(0x19c),'attrs':{'stroke':_0x163b90(0x182),'d':_0x163b90(0xbd),'strokeLinecap':_0x163b90(0x238),'strokeLinejoin':_0x163b90(0x238),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x163b90(0xca),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x163b90(0x19c),'attrs':{'fill':_0x163b90(0x164),'d':_0x163b90(0xf4),'transform':'translate(.97)'}}]}]}],'defIds':[_0x163b90(0x1ea)]},Ut=_0x56ae08(function(_0x16b42d,_0x24cc2a){const _0xd64c0=_0x163b90;return _0x3ace0b(Ye,Object[_0xd64c0(0x23f)]({},_0x16b42d,{'id':_0xd64c0(0x20b),'ref':_0x24cc2a,'icon':ji}));});Ut[_0x163b90(0x18f)]=_0x163b90(0x2c5);function Vi(_0x26fad7){const _0x2eb986=_0x163b90;switch(_0x26fad7){case _0x2a04bf[_0x2eb986(0x15c)]:return _0x2eb986(0x136);case _0x2a04bf[_0x2eb986(0x175)]:return'collabStatus.conflict';case _0x2a04bf[_0x2eb986(0x25d)]:return _0x2eb986(0x23a);case _0x2a04bf['NOT_COLLAB']:return _0x2eb986(0x24b);case _0x2a04bf['AWAITING']:case _0x2a04bf[_0x2eb986(0x21f)]:return _0x2eb986(0x1cc);case _0x2a04bf['SYNCED']:case _0x2a04bf[_0x2eb986(0x288)]:return _0x2eb986(0x1bf);}}function Wi(_0x28090a){const _0x10e8da=_0x163b90,{status$:_0x5d8354}=_0x28090a,_0x19c400=_0x9d5159(_0x5d8354,_0x2a04bf[_0x10e8da(0x1ba)]),_0x52afa6=_0x256d1e(_0x38c994),_0xd9401a=_0x256d1e(_0x64397a),_0x250529=_0x19c400!==_0x2a04bf[_0x10e8da(0x15c)],_0xedd262=_0x52afa6['t'](Vi(_0x19c400)),_0x1993f0=_0x250529?_0x8162f5(Ut,{}):_0x8162f5(Nt,{}),_0x4422ff=_0x2f7411(()=>{const _0x11113d=_0x10e8da;_0x250529||_0xd9401a[_0x11113d(0x26b)]();},[_0x250529,_0xd9401a]);function _0x4df123(){const _0x400201=_0x10e8da;return _0xf28f61('div',{'className':_0x400201(0xf9),'onClick':_0x4422ff,'children':[_0x8162f5(_0x400201(0x134),{'className':_0x3cabc2(_0x400201(0x1ae),{'univer-text-green-500':_0x250529,'univer-text-red-500':!_0x250529}),'children':_0x1993f0}),_0x8162f5(_0x400201(0x134),{'className':_0x400201(0x21a),'children':_0xedd262})]});}return _0x250529?_0x4df123():_0x8162f5(_0x4b24c1,{'title':_0x52afa6['t'](_0x10e8da(0x25f)),'children':_0x4df123()});}var Xi=Object[_0x163b90(0x146)],Gi=(_0x55b6b1,_0x357701,_0x874d68,_0x58e64a)=>{for(var _0x37a813=_0x58e64a>0x1?void 0x0:_0x58e64a?Xi(_0x357701,_0x874d68):_0x357701,_0x2ed4a7=_0x55b6b1['length']-0x1,_0x3a0e45;_0x2ed4a7>=0x0;_0x2ed4a7--)(_0x3a0e45=_0x55b6b1[_0x2ed4a7])&&(_0x37a813=_0x3a0e45(_0x37a813)||_0x37a813);return _0x37a813;},q=(_0x585a61,_0x23d4aa)=>(_0x27c4e1,_0x5bfc51)=>_0x23d4aa(_0x27c4e1,_0x5bfc51,_0x585a61);let se=class extends _0x514786{constructor(_0x389cdb,_0x380372,_0x5cebe7,_0x204e44){const _0x1063d3=_0x163b90;super(),_(this,'_status$',new _0x12ab3a(_0x2a04bf[_0x1063d3(0x1ba)])),(this[_0x1063d3(0x16f)]=_0x389cdb,this[_0x1063d3(0x1e2)]=_0x380372,this['_collaborationController']=_0x5cebe7,this['_uiPartsService']=_0x204e44,this[_0x1063d3(0x2ab)](),this[_0x1063d3(0x26d)]());}[_0x163b90(0x26d)](){const _0x33c854=_0x163b90;this[_0x33c854(0x1fa)](this[_0x33c854(0x16f)][_0x33c854(0x127)][_0x33c854(0x13c)](_0x46fe91(()=>{const _0x59fc98=_0x33c854,_0x2fc10c=this['_univerInstanceService'][_0x59fc98(0x20c)]();return _0x2fc10c?this[_0x59fc98(0x1c9)]['getCollabEntity$'](_0x2fc10c['getUnitId']()):_0xba8c7b(null);}),_0x46fe91(_0x286ec8=>_0x286ec8?_0x286ec8[_0x33c854(0xe2)]:_0xba8c7b(_0x2a04bf[_0x33c854(0x1ba)])))['subscribe'](_0x182599=>{const _0xdc9fd0=_0x33c854;this[_0xdc9fd0(0x131)][_0xdc9fd0(0x166)](_0x182599);}));}[_0x163b90(0x2ab)](){const _0x521848=_0x163b90;this[_0x521848(0x1fa)](this['_uiPartsService'][_0x521848(0x22f)](_0x51cdcb[_0x521848(0x29d)],()=>_0x25fec0(Ki({'status$':this['_status$'][_0x521848(0x22a)]()}),this[_0x521848(0x1e2)])));}};se=Gi([q(0x0,_0x8cba3f),q(0x1,_0xe4d2b5(_0x5b513d)),q(0x2,_0xe4d2b5(_0x53a290)),q(0x3,_0x1523e0)],se);function Ki(_0x396ac3){const {status$:_0x52807d}=_0x396ac3;return function(){return _0x8162f5(Wi,{'status$':_0x52807d});};}var zi=Object[_0x163b90(0x146)],Ji=(_0x46d640,_0x3bfa26,_0x465fee,_0x23ba67)=>{for(var _0x20e513=_0x23ba67>0x1?void 0x0:_0x23ba67?zi(_0x3bfa26,_0x465fee):_0x3bfa26,_0x349412=_0x46d640['length']-0x1,_0x2296f6;_0x349412>=0x0;_0x349412--)(_0x2296f6=_0x46d640[_0x349412])&&(_0x20e513=_0x2296f6(_0x20e513)||_0x20e513);return _0x20e513;},B=(_0x2f9148,_0x86ed89)=>(_0x455ba1,_0x55e442)=>_0x86ed89(_0x455ba1,_0x55e442,_0x2f9148);let ie=class extends _0x514786{constructor(_0x1a9f38,_0x218dfa,_0x52e463,_0x5e2d9d,_0x16d1fb,_0x55fa89){const _0x372c90=_0x163b90;super(),this[_0x372c90(0x2be)]=_0x1a9f38,this['_localCacheService']=_0x218dfa,this[_0x372c90(0xfb)]=_0x52e463,this[_0x372c90(0x18c)]=_0x5e2d9d,this[_0x372c90(0x1a3)]=_0x16d1fb,this[_0x372c90(0x2bf)]=_0x55fa89,this[_0x372c90(0x222)](),this['_initEvent']();}[_0x163b90(0x222)](){const _0x498276=_0x163b90;this['disposeWithMe'](this[_0x498276(0x2be)][_0x498276(0x227)](()=>{const _0x3eb6f4=_0x498276;if(this[_0x3eb6f4(0xe5)][_0x3eb6f4(0x26c)][_0x3eb6f4(0x15d)])return this[_0x3eb6f4(0x2bf)]['t'](_0x3eb6f4(0x234));}));}[_0x163b90(0xff)](){const _0x337d60=_0x163b90;this['disposeWithMe'](this['_collaborationUIEventService']['event$'][_0x337d60(0x201)](_0x36127a=>{const _0x52cc5a=_0x337d60;_0x36127a['id']===_0x566cf6['OTHER_CLIENT_EDITING']&&this[_0x52cc5a(0x18c)]['show']({'type':_0x2f8c05['Warning'],'content':this[_0x52cc5a(0x2bf)]['t']('collaboration.single-unit.warning')}),_0x36127a['id']===_0x566cf6['CLOSE_ROOM']&&this[_0x52cc5a(0x18c)][_0x52cc5a(0x26f)]({'type':_0x2f8c05[_0x52cc5a(0x12a)],'content':this[_0x52cc5a(0x2bf)]['t'](_0x52cc5a(0x2a1))}),_0x36127a['id']===_0x566cf6[_0x52cc5a(0x178)]&&this['_notificationService'][_0x52cc5a(0x26f)]({'title':this[_0x52cc5a(0x2bf)]['t'](_0x52cc5a(0xc1)),'content':this[_0x52cc5a(0x2bf)]['t'](_0x52cc5a(0x1c0)),'type':_0x52cc5a(0x1e7),'duration':0x0}),_0x36127a['id']===_0x566cf6[_0x52cc5a(0x175)]&&this[_0x52cc5a(0x18c)][_0x52cc5a(0x26f)]({'type':_0x2f8c05[_0x52cc5a(0x14e)],'content':this[_0x52cc5a(0x2bf)]['t']('collaboration.closeRoom')+'('+_0x36127a['data']+')'}),_0x36127a['id']===_0x566cf6['JOIN_ROOM_FAILED']&&this[_0x52cc5a(0x18c)][_0x52cc5a(0x26f)]({'type':_0x2f8c05['Warning'],'content':this[_0x52cc5a(0x2bf)]['t'](_0x36127a[_0x52cc5a(0x263)]||'')}),_0x36127a['id']===_0x566cf6[_0x52cc5a(0x11d)]&&this[_0x52cc5a(0x18c)][_0x52cc5a(0x26f)]({'type':_0x2f8c05[_0x52cc5a(0x12a)],'content':this[_0x52cc5a(0x2bf)]['t'](_0x52cc5a(0x108))}),_0x36127a['id']===_0x566cf6['SOCKET_FAILED']&&this[_0x52cc5a(0x18c)]['show']({'type':_0x2f8c05['Error'],'content':this['_localeService']['t'](_0x52cc5a(0xbc))}),_0x36127a['id']===_0x566cf6[_0x52cc5a(0x1a4)]&&this['_messageService'][_0x52cc5a(0x26f)]({'type':_0x2f8c05[_0x52cc5a(0x14e)],'content':this[_0x52cc5a(0x2bf)]['t'](_0x52cc5a(0xcf))});}));}};ie=Ji([B(0x0,_0x22dd84),B(0x1,_0x1189d6),B(0x2,_0xe4d2b5(_0x5d2fa7)),B(0x3,_0x36f47c),B(0x4,_0x1f91f5),B(0x5,_0xe4d2b5(_0x38c994))],ie);const Zi=_0x163b90(0xd7),tt={},Mt=_0x2a53e4(_0x163b90(0x266));var Qi=Object[_0x163b90(0x146)],qi=(_0x3f247e,_0x2feaab,_0x1c6086,_0x45c98a)=>{const _0x56c417=_0x163b90;for(var _0x323b71=_0x45c98a>0x1?void 0x0:_0x45c98a?Qi(_0x2feaab,_0x1c6086):_0x2feaab,_0x766fa8=_0x3f247e[_0x56c417(0x256)]-0x1,_0x16b5d8;_0x766fa8>=0x0;_0x766fa8--)(_0x16b5d8=_0x3f247e[_0x766fa8])&&(_0x323b71=_0x16b5d8(_0x323b71)||_0x323b71);return _0x323b71;},K=(_0x5c42ae,_0x5e9a5b)=>(_0x5cb899,_0x32bfee)=>_0x5e9a5b(_0x5cb899,_0x32bfee,_0x5c42ae);let ne=class extends _0x24bb3b{constructor(_0x40b90b,_0x5f3cba,_0x4188e2,_0x199229,_0x30f10b){const _0x576774=_0x163b90;super(),this[_0x576774(0x13a)]=_0x40b90b,this[_0x576774(0x1e3)]=_0x5f3cba,this[_0x576774(0x245)]=_0x4188e2,this[_0x576774(0x1f2)]=_0x199229,_0x30f10b?_0x30f10b==null||_0x30f10b[_0x576774(0x1bd)]()[_0x576774(0x1a9)](()=>this[_0x576774(0x25c)]()):(this['_logService'][_0x576774(0x2b2)](_0x576774(0x292),_0x576774(0xc6)),this['_init']());}async[_0x163b90(0x25c)](){const _0x41dfbb=_0x163b90,_0x349810=this['_urlService'][_0x41dfbb(0x11b)](_0x41dfbb(0x23d)),_0x4802a8=this[_0x41dfbb(0x13a)][_0x41dfbb(0x11b)]('type'),_0xeb1042=this[_0x41dfbb(0x13a)][_0x41dfbb(0x11b)](_0x41dfbb(0x27c));if(!_0x349810||!_0x4802a8){this['_logService'][_0x41dfbb(0x2b2)](_0x41dfbb(0x292),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x253791=await this['_dataLoaderService']['loadUnit'](_0x349810,Number(_0x4802a8),_0xeb1042);_0x253791&&_0x253791 instanceof _0x179de7&&this[_0x41dfbb(0x100)](_0x253791);}async[_0x163b90(0x100)](_0x551b30){const _0x2ca68f=_0x163b90;await this[_0x2ca68f(0x1dd)](_0x551b30),_0x551b30[_0x2ca68f(0x12f)][_0x2ca68f(0x13c)](_0x52c0b7(this[_0x2ca68f(0x1c1)]))[_0x2ca68f(0x201)](_0x282e0c=>{const _0x483fa1=_0x2ca68f;_0x282e0c&&this[_0x483fa1(0x2a9)](_0x282e0c);}),this[_0x2ca68f(0x13a)][_0x2ca68f(0x135)][_0x2ca68f(0x13c)](_0x52c0b7(this[_0x2ca68f(0x1c1)]))[_0x2ca68f(0x201)](()=>this[_0x2ca68f(0x1dd)](_0x551b30));}[_0x163b90(0x2a9)](_0x4cf75d,_0x275ff6=!0x1){const _0x4b7ad9=_0x163b90,_0x1362ab=this[_0x4b7ad9(0x13a)][_0x4b7ad9(0x11b)](_0x4b7ad9(0x27c));_0x4cf75d['getSheetId']()!==_0x1362ab&&this[_0x4b7ad9(0x13a)]['setParam'](_0x4b7ad9(0x27c),_0x4cf75d[_0x4b7ad9(0x139)](),_0x275ff6);}async[_0x163b90(0x1dd)](_0x3d478a){const _0x44da5f=_0x163b90;var _0x723b27;const _0x3b9b07=this[_0x44da5f(0x13a)]['getParam'](_0x44da5f(0x27c));if(!_0x3b9b07||!_0x3d478a[_0x44da5f(0x1b0)](_0x3b9b07)){const _0x542053=_0x3d478a['getUnhiddenWorksheets']()[0x0],_0x14b5dc=_0x3d478a[_0x44da5f(0x1b0)](_0x542053);if(!_0x14b5dc)return;this['_updateURLWithCurrentState'](_0x14b5dc,!0x0),await this['_commandService']['executeCommand'](_0x6b49ca['id'],{'unitId':_0x3d478a['getUnitId'](),'subUnitId':_0x542053});return;}((_0x723b27=_0x3d478a['getActiveSheet']())==null?void 0x0:_0x723b27[_0x44da5f(0x139)]())!==_0x3b9b07&&await this[_0x44da5f(0x245)][_0x44da5f(0x1f8)](_0x6b49ca['id'],{'unitId':_0x3d478a[_0x44da5f(0x275)](),'subUnitId':_0x3b9b07});}};ne=qi([K(0x0,Mt),K(0x1,_0x3bb633),K(0x2,_0xdb13dc),K(0x3,_0xe4d2b5(_0x5763a5)),K(0x4,_0x53efe8(_0x4c3728))],ne);var en=Object[_0x163b90(0x146)],tn=(_0x18c77c,_0x2f75f2,_0xc0084a,_0xfb7a2f)=>{for(var _0x534fe8=_0xfb7a2f>0x1?void 0x0:_0xfb7a2f?en(_0x2f75f2,_0xc0084a):_0x2f75f2,_0x5cff94=_0x18c77c['length']-0x1,_0x4f69bf;_0x5cff94>=0x0;_0x5cff94--)(_0x4f69bf=_0x18c77c[_0x5cff94])&&(_0x534fe8=_0x4f69bf(_0x534fe8)||_0x534fe8);return _0x534fe8;},Ce=(_0xd1ecab,_0x490e42)=>(_0x118394,_0x1dfb6b)=>_0x490e42(_0x118394,_0x1dfb6b,_0xd1ecab);let re=class{constructor(_0x4cc609,_0x20e8ab,_0x525ad7){const _0xf76386=_0x163b90;this[_0xf76386(0x1e2)]=_0x4cc609,this['_transformService']=_0x20e8ab,this[_0xf76386(0x204)]=_0x525ad7;}[_0x163b90(0x233)](_0xc8e1c5){const _0xcb6c30=_0x163b90;this[_0xcb6c30(0x281)](_0xc8e1c5),this[_0xcb6c30(0x2a4)](_0xc8e1c5);}['transformRemoteChangeset'](_0x392595){const _0x3e3fd0=_0x163b90,{unitID:_0x11b178}=_0x392595,_0x2f4cbc=this['_renderManagerService']['getRenderById'](_0x11b178)[_0x3e3fd0(0x125)](_0x2daf5d),{redoCache:_0x5b4647}=_0x2f4cbc['getUndoRedoMutationParamsCache']();if(_0x5b4647[_0x3e3fd0(0x256)]===0x0)return _0x392595;let _0x57b9ad=_0x3ee9ed[_0x3e3fd0(0x1c2)](_0x392595[_0x3e3fd0(0x269)][0x0]);for(let _0x4e1efd=0x0;_0x4e1efd<_0x5b4647[_0x3e3fd0(0x256)];_0x4e1efd++){const _0x1058aa={'id':_0x3e3fd0(0x1ec),'params':{..._0x5b4647[_0x4e1efd]}},_0x5a537b=this[_0x3e3fd0(0x12c)][_0x3e3fd0(0x1e5)](_0x57b9ad,_0x1058aa,!0x1);if(_0x5ecd23(_0x5a537b))throw _0x5a537b[_0x3e3fd0(0x1e7)];_0x57b9ad=_0x5a537b[_0x3e3fd0(0x27d)];}return{..._0x3ee9ed[_0x3e3fd0(0x1c2)](_0x392595),'mutations':[_0x57b9ad]};}[_0x163b90(0x281)](_0x10aa08){const _0x3d5c75=_0x163b90,{unitID:_0x1e80b9}=_0x10aa08,_0x7ca182=this[_0x3d5c75(0x204)][_0x3d5c75(0x27e)](_0x1e80b9)[_0x3d5c75(0x125)](_0x2daf5d),{undoCache:_0x4ce541,redoCache:_0x57afcd}=_0x7ca182[_0x3d5c75(0x10f)]();if(_0x4ce541[_0x3d5c75(0x256)]===0x0||_0x57afcd[_0x3d5c75(0x256)]===0x0)return;const _0x29909a=[],_0x43dfc8=[];let _0x1ff22b=_0x3ee9ed[_0x3d5c75(0x1c2)](_0x10aa08[_0x3d5c75(0x269)][0x0]),_0x15732a=_0x3ee9ed[_0x3d5c75(0x1c2)](_0x10aa08[_0x3d5c75(0x269)][0x0]);for(let _0x4e1d28=_0x4ce541[_0x3d5c75(0x256)]-0x1;_0x4e1d28>=0x0;_0x4e1d28--){const _0x329a49={'id':_0x3d5c75(0x1ec),'params':{..._0x4ce541[_0x4e1d28]}},_0x212b7e={'id':_0x3d5c75(0x1ec),'params':{..._0x57afcd[_0x4e1d28]}},_0x233929=this[_0x3d5c75(0x12c)][_0x3d5c75(0x1e5)](_0x1ff22b,_0x329a49,!0x1),_0x3a6f05=this['_transformService'][_0x3d5c75(0x1e5)](_0x15732a,_0x212b7e,!0x1);if(_0x5ecd23(_0x233929))throw _0x233929[_0x3d5c75(0x1e7)];if(_0x5ecd23(_0x3a6f05))throw _0x3a6f05[_0x3d5c75(0x1e7)];_0x29909a[_0x3d5c75(0x114)](_0x233929[_0x3d5c75(0x19f)][_0x3d5c75(0x214)]),_0x43dfc8[_0x3d5c75(0x114)](_0x3a6f05[_0x3d5c75(0x19f)][_0x3d5c75(0x214)]),_0x1ff22b=_0x233929['m1Prime'],_0x15732a=_0x3a6f05[_0x3d5c75(0x27d)];}_0x7ca182[_0x3d5c75(0x111)]({'undoCache':_0x29909a,'redoCache':_0x43dfc8});}[_0x163b90(0x2a4)](_0xa4277a){const _0x1a2e2f=_0x163b90,{unitID:_0x372497}=_0xa4277a,_0xa45a0a=this[_0x1a2e2f(0x204)][_0x1a2e2f(0x27e)](_0x372497)['with'](_0x2daf5d),_0x20da13=_0xa45a0a[_0x1a2e2f(0x1fc)]();if(_0x20da13==null)return;const _0x2226e5=[{'id':_0x1a2e2f(0x1ec),'params':{'unitId':_0xa4277a['unitID'],'actions':null,'textRanges':[_0x20da13]}}],_0xad64a0=this[_0x1a2e2f(0x12c)]['transformMutationsWithChangeset'](_0xa4277a,_0x2226e5);if(!_0x112ac1(_0xad64a0))throw _0xad64a0[_0x1a2e2f(0x1e7)];const _0x17e307=_0xad64a0[_0x1a2e2f(0x19f)][0x0]['params'][_0x1a2e2f(0x132)];Array['isArray'](_0x17e307)&&_0x17e307[_0x1a2e2f(0x256)]&&_0xa45a0a[_0x1a2e2f(0x2b9)](_0x17e307[0x0]);}};re=tn([Ce(0x0,_0xe4d2b5(_0x5b513d)),Ce(0x1,_0x3113cf),Ce(0x2,_0x38659a)],re);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x18f8c8,_0x3114bf,_0x4a99b4,_0x8635f6)=>{for(var _0x555fef=_0x8635f6>0x1?void 0x0:_0x8635f6?sn(_0x3114bf,_0x4a99b4):_0x3114bf,_0x4ebc54=_0x18f8c8['length']-0x1,_0x3ad4b8;_0x4ebc54>=0x0;_0x4ebc54--)(_0x3ad4b8=_0x18f8c8[_0x4ebc54])&&(_0x555fef=_0x3ad4b8(_0x555fef)||_0x555fef);return _0x555fef;},Ee=(_0x1d8198,_0x3e5587)=>(_0x14d55d,_0x45650c)=>_0x3e5587(_0x14d55d,_0x45650c,_0x1d8198);let oe=class{constructor(_0x38ec47,_0x4cbe03,_0x384ed3){const _0x3c61ed=_0x163b90;this['_injector']=_0x38ec47,this[_0x3c61ed(0x12c)]=_0x4cbe03,this[_0x3c61ed(0x117)]=_0x384ed3;}['transformStateCache'](_0x1b9b11){const _0x3a78d0=_0x163b90;this[_0x3a78d0(0x223)](_0x1b9b11);}[_0x163b90(0x165)](_0x25213b){const _0x13a724=_0x163b90,{unitID:_0x223473}=_0x25213b,{collaboration:_0xc5f4da}=this[_0x13a724(0x117)][_0x13a724(0x1d1)](_0x223473);if(_0xc5f4da['length']===0x0)return _0x25213b;let _0x351a50=_0x3ee9ed['deepClone'](_0x25213b[_0x13a724(0x269)][0x0]);for(let _0x5f381a=0x0;_0x5f381a<_0xc5f4da['length'];_0x5f381a++){const _0x2de650={'id':_0x13a724(0x1ec),'params':{'unitId':_0xc5f4da[_0x5f381a][_0x13a724(0x22e)],..._0xc5f4da[_0x5f381a][_0x13a724(0x12b)]}},_0xc9d051=this[_0x13a724(0x12c)][_0x13a724(0x1e5)](_0x351a50,_0x2de650,!0x1);if(_0x5ecd23(_0xc9d051))throw _0xc9d051[_0x13a724(0x1e7)];_0x351a50=_0xc9d051['m1Prime'];}return{..._0x3ee9ed['deepClone'](_0x25213b),'mutations':[_0x351a50]};}[_0x163b90(0x223)](_0x39e172){const _0x33b3f0=_0x163b90,{unitID:_0x34e16c}=_0x39e172,{history:_0x5ea26b,collaboration:_0x3325cc}=this[_0x33b3f0(0x117)][_0x33b3f0(0x1d1)](_0x34e16c);if(_0x5ea26b['length']===0x0&&_0x3325cc['length']===0x0)return;const _0x4c6eef=[],_0x3dea52=[];let _0x4795e1=_0x3ee9ed[_0x33b3f0(0x1c2)](_0x39e172[_0x33b3f0(0x269)][0x0]),_0x586cd9=_0x3ee9ed[_0x33b3f0(0x1c2)](_0x39e172[_0x33b3f0(0x269)][0x0]);for(let _0x42157b=_0x5ea26b[_0x33b3f0(0x256)]-0x1;_0x42157b>=0x0;_0x42157b--){const _0x3d3be2={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5ea26b[_0x42157b][_0x33b3f0(0x22e)],..._0x5ea26b[_0x42157b][_0x33b3f0(0x24c)]}},_0x5b424f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5ea26b[_0x42157b][_0x33b3f0(0x22e)],..._0x5ea26b[_0x42157b][_0x33b3f0(0x12b)]}},_0x19444a=this[_0x33b3f0(0x12c)][_0x33b3f0(0x1e5)](_0x4795e1,_0x3d3be2,!0x1),_0x25f710=this[_0x33b3f0(0x12c)]['transformMutation'](_0x586cd9,_0x5b424f,!0x1);if(_0x5ecd23(_0x19444a))throw _0x19444a['error'];if(_0x5ecd23(_0x25f710))throw _0x25f710['error'];_0x4c6eef[_0x33b3f0(0x114)]({..._0x5ea26b[_0x42157b],'undoState':_0x19444a['m2Prime']['params'],'redoState':_0x25f710[_0x33b3f0(0x19f)][_0x33b3f0(0x214)]}),_0x4795e1=_0x19444a[_0x33b3f0(0x27d)],_0x586cd9=_0x25f710[_0x33b3f0(0x27d)];}_0x4795e1=_0x3ee9ed[_0x33b3f0(0x1c2)](_0x39e172[_0x33b3f0(0x269)][0x0]),_0x586cd9=_0x3ee9ed['deepClone'](_0x39e172[_0x33b3f0(0x269)][0x0]);for(let _0x431c30=_0x3325cc[_0x33b3f0(0x256)]-0x1;_0x431c30>=0x0;_0x431c30--){const _0x5bbdfa={'id':_0x33b3f0(0x1ec),'params':{'unitId':_0x3325cc[_0x431c30][_0x33b3f0(0x22e)],..._0x3325cc[_0x431c30][_0x33b3f0(0x24c)]}},_0x7f8bcd={'id':_0x33b3f0(0x1ec),'params':{'unitId':_0x3325cc[_0x431c30][_0x33b3f0(0x22e)],..._0x3325cc[_0x431c30][_0x33b3f0(0x12b)]}},_0x58b9f=this['_transformService']['transformMutation'](_0x4795e1,_0x5bbdfa,!0x1),_0x407d3c=this['_transformService'][_0x33b3f0(0x1e5)](_0x586cd9,_0x7f8bcd,!0x1);if(_0x5ecd23(_0x58b9f))throw _0x58b9f[_0x33b3f0(0x1e7)];if(_0x5ecd23(_0x407d3c))throw _0x407d3c[_0x33b3f0(0x1e7)];_0x3dea52[_0x33b3f0(0x114)]({..._0x3325cc[_0x431c30],'undoState':_0x58b9f['m2Prime'][_0x33b3f0(0x214)],'redoState':_0x407d3c['m2Prime'][_0x33b3f0(0x214)]}),_0x4795e1=_0x58b9f[_0x33b3f0(0x27d)],_0x586cd9=_0x407d3c[_0x33b3f0(0x27d)];}this['_docStateChangeManagerService'][_0x33b3f0(0x2ba)](_0x34e16c,{'history':_0x4c6eef,'collaboration':_0x3dea52});}};oe=nn([Ee(0x0,_0xe4d2b5(_0x5b513d)),Ee(0x1,_0x3113cf),Ee(0x2,_0xe4d2b5(_0x29f00f))],oe);var rn=Object[_0x163b90(0x146)],on=(_0x575aa3,_0x173a77,_0x54f215,_0x4e4c21)=>{for(var _0x5e3b50=_0x4e4c21>0x1?void 0x0:_0x4e4c21?rn(_0x173a77,_0x54f215):_0x173a77,_0x5702bc=_0x575aa3['length']-0x1,_0x274635;_0x5702bc>=0x0;_0x5702bc--)(_0x274635=_0x575aa3[_0x5702bc])&&(_0x5e3b50=_0x274635(_0x5e3b50)||_0x5e3b50);return _0x5e3b50;},st=(_0x32cc60,_0x2b2a66)=>(_0x3d858c,_0x17701e)=>_0x2b2a66(_0x3d858c,_0x17701e,_0x32cc60);let ae=class{constructor(_0x520090,_0x4414eb){const _0x521f3f=_0x163b90;this[_0x521f3f(0x1e2)]=_0x520090,this[_0x521f3f(0x12c)]=_0x4414eb;}['transformSelections'](_0x23f1cd){const _0x279e5c=_0x163b90;var _0xf9034b;const _0x16e5ea=this[_0x279e5c(0x1e2)][_0x279e5c(0x20d)](_0x2f4de8),_0x49bd89=(_0xf9034b=_0x16e5ea[_0x279e5c(0x249)]())!=null?_0xf9034b:[];if(_0x49bd89['length']===0x0)return;const _0x5d680b=_0x23f1cd[_0x279e5c(0x103)],_0x23216a=[{'id':_0x279e5c(0x1ec),'params':{'unitId':_0x5d680b,'actions':null,'textRanges':_0x49bd89}}],_0x5d0093=this[_0x279e5c(0x12c)][_0x279e5c(0x14c)](_0x23f1cd,_0x23216a);if(!_0x112ac1(_0x5d0093))throw _0x5d0093[_0x279e5c(0x1e7)];const _0x26a597=_0x5d0093[_0x279e5c(0x19f)][0x0][_0x279e5c(0x214)][_0x279e5c(0x132)];Array[_0x279e5c(0x1b8)](_0x26a597)&&_0x26a597[_0x279e5c(0x256)]&&_0x16e5ea[_0x279e5c(0x163)](_0x26a597,{'unitId':_0x5d680b,'subUnitId':_0x5d680b},!0x1);}};ae=on([st(0x0,_0xe4d2b5(_0x5b513d)),st(0x1,_0x3113cf)],ae);var an=Object['getOwnPropertyDescriptor'],cn=(_0x15cf61,_0x52c8a9,_0x30f6b3,_0x2b05e8)=>{const _0x255950=_0x163b90;for(var _0x529e83=_0x2b05e8>0x1?void 0x0:_0x2b05e8?an(_0x52c8a9,_0x30f6b3):_0x52c8a9,_0x173ee5=_0x15cf61[_0x255950(0x256)]-0x1,_0x195461;_0x173ee5>=0x0;_0x173ee5--)(_0x195461=_0x15cf61[_0x173ee5])&&(_0x529e83=_0x195461(_0x529e83)||_0x529e83);return _0x529e83;},U=(_0x4eda7f,_0x2dc3eb)=>(_0x32a8b9,_0x59a3e5)=>_0x2dc3eb(_0x32a8b9,_0x59a3e5,_0x4eda7f);let ce=class extends _0x514786{constructor(_0x27904c,_0x1a082,_0x46b390,_0x40a188,_0x372829,_0xbb43b4,_0xaecd05,_0xd8ccb6){const _0x391127=_0x163b90;super(),_(this,_0x391127(0x131),new _0x12ab3a(_0x2a04bf[_0x391127(0x1ba)])),(this[_0x391127(0x117)]=_0x27904c,this[_0x391127(0x1c9)]=_0x1a082,this[_0x391127(0x118)]=_0x46b390,this[_0x391127(0x12e)]=_0x40a188,this[_0x391127(0xec)]=_0x372829,this[_0x391127(0x250)]=_0xbb43b4,this[_0x391127(0x18c)]=_0xaecd05,this[_0x391127(0x2bf)]=_0xd8ccb6,this['_initEntityListener']());}[_0x163b90(0x1e1)](){const _0x46050d=_0x163b90;this[_0x46050d(0x1fa)](this['_collaborationController'][_0x46050d(0x176)][_0x46050d(0x201)](_0xd0343=>{const _0x12be49=_0x46050d,_0x1c30e2=this[_0x12be49(0x117)][_0x12be49(0x29e)][_0x12be49(0x201)](_0x238ca5=>{const _0x272b38=_0x12be49;if(_0x238ca5==null)return;const {unitId:_0x218e96,redoState:_0x4dd575,commandId:_0x485e0e}=_0x238ca5;if(_0x218e96!==_0xd0343[_0x272b38(0x103)])return;const _0x5f91c0={'id':_0x485e0e,'type':_0x562dac[_0x272b38(0x219)],'params':{'unitId':_0x218e96,'actions':_0x4dd575[_0x272b38(0x283)],'textRanges':null}};_0xd0343['onLocalMutation'](_0x5f91c0);});if(_0xd0343['disposeWithMe'](_0x1c30e2),_0xd0343 instanceof _0x232f91){const _0x428858={'onTransformIME':_0x3fc422=>this[_0x12be49(0x118)][_0x12be49(0x233)](_0x3fc422),'onTransformState':_0x80c70e=>this[_0x12be49(0x12e)]['transformStateCache'](_0x80c70e),'onTransformSelections':_0x3e5d4e=>this[_0x12be49(0xec)][_0x12be49(0x21c)](_0x3e5d4e),'onSyncEditingCollabCursor':_0x46f97b=>this[_0x12be49(0x250)][_0x12be49(0x26e)](_0x46f97b),'onTransformRemoteChangesetByIMECache':_0x4bd346=>this[_0x12be49(0x118)]['transformRemoteChangeset'](_0x4bd346),'onTransformRemoteChangesetByStateCache':_0x4cd477=>this['_docTransformStateCacheService'][_0x12be49(0x165)](_0x4cd477)};_0xd0343[_0x12be49(0x121)](_0x428858);}}));}};ce=cn([U(0x0,_0xe4d2b5(_0x29f00f)),U(0x1,_0xe4d2b5(_0x53a290)),U(0x2,_0xe4d2b5(re)),U(0x3,_0xe4d2b5(oe)),U(0x4,_0xe4d2b5(ae)),U(0x5,_0xe4d2b5(Fe)),U(0x6,_0x36f47c),U(0x7,_0xe4d2b5(_0x38c994))],ce);var ln=Object[_0x163b90(0x146)],_n=(_0x4249ef,_0x6d6bc2,_0xe5e0a2,_0x4dc5b7)=>{const _0x3b0238=_0x163b90;for(var _0x3375ad=_0x4dc5b7>0x1?void 0x0:_0x4dc5b7?ln(_0x6d6bc2,_0xe5e0a2):_0x6d6bc2,_0xdecab1=_0x4249ef[_0x3b0238(0x256)]-0x1,_0x15b92d;_0xdecab1>=0x0;_0xdecab1--)(_0x15b92d=_0x4249ef[_0xdecab1])&&(_0x3375ad=_0x15b92d(_0x3375ad)||_0x3375ad);return _0x3375ad;},Oe=(_0x476344,_0x1b2118)=>(_0x4d6790,_0x1357db)=>_0x1b2118(_0x4d6790,_0x1357db,_0x476344);let Ae=class extends _0x514786{constructor(_0x4fbd0c,_0x5bb748,_0x37c907){const _0x2701bc=_0x163b90;super(),_(this,'_cachedData',new Map()),_(this,_0x2701bc(0x199),new Map()),_(this,'_disabled',!0x1),(this[_0x2701bc(0x17e)]=_0x4fbd0c,this[_0x2701bc(0x258)]=_0x5bb748,this['_revisionService']=_0x37c907);}[_0x163b90(0x123)](){this['_disabled']=!0x0;}[_0x163b90(0x23b)](){this['_disabled']=!0x1;}get[_0x163b90(0x26c)](){return this['_saveTaskMap'];}[_0x163b90(0x2bc)](){const _0x2afffd=_0x163b90;this[_0x2afffd(0x18e)]()['then'](()=>super[_0x2afffd(0x2bc)]());}async[_0x163b90(0x14b)](_0x3cff75){const _0x47f88b=_0x163b90;return this[_0x47f88b(0x1af)]?null:this[_0x47f88b(0x258)][_0x47f88b(0x179)](_0x4cf464(_0x3cff75));}async[_0x163b90(0x187)](_0x44d0be,_0x4c5d6b){const _0x5dbba4=_0x163b90;return!!this['_localStorageService'][_0x5dbba4(0x1d6)](_0x44d0be,_0x4c5d6b);}[_0x163b90(0xc7)](_0x2c0da5,_0x31bae7,_0x402422,_0xf1a4c2){const _0x2c0f94=_0x163b90,_0x7de19=this[_0x2c0f94(0xcd)][_0x2c0f94(0xf5)](_0x2c0da5);this[_0x2c0f94(0x120)]['set'](_0x2c0da5,{'unitID':_0x2c0da5,'type':_0x31bae7,'awaitingChangeset':_0x402422,'mutations':_0xf1a4c2,'rev':_0x7de19}),this[_0x2c0f94(0x199)][_0x2c0f94(0x2bb)](_0x2c0da5)||this[_0x2c0f94(0x19e)](_0x2c0da5);}['_scheduleSaving'](_0x5a0629){const _0x110745=_0x163b90,_0x14eff7=this[_0x110745(0x15b)]();_0x14eff7===0x0?this[_0x110745(0x186)](_0x5a0629):this[_0x110745(0x199)]['set'](_0x5a0629,setTimeout(()=>this[_0x110745(0x186)](_0x5a0629),_0x14eff7));}[_0x163b90(0x15b)](){const _0x3ed449=_0x163b90;var _0x559d79;return(_0x559d79=this[_0x3ed449(0x17e)][_0x3ed449(0x247)](_0x316d49))!=null?_0x559d79:_0x3b78ca;}[_0x163b90(0x186)](_0x32e4b9){const _0x3fc946=_0x163b90,_0x2eda9f=this[_0x3fc946(0x199)][_0x3fc946(0x20d)](_0x32e4b9);return _0x2eda9f!==void 0x0&&window['clearTimeout'](_0x2eda9f),this[_0x3fc946(0x258)]['setItem'](_0x4cf464(_0x32e4b9),this[_0x3fc946(0x120)][_0x3fc946(0x20d)](_0x32e4b9))['then'](()=>this[_0x3fc946(0x199)][_0x3fc946(0x289)](_0x32e4b9));}async[_0x163b90(0x18e)](){const _0x1b3b06=_0x163b90,_0x5c1a03=[];this[_0x1b3b06(0x199)]['forEach']((_0x13a5ea,_0x399804)=>{const _0x5116ad=_0x1b3b06;window['clearTimeout'](_0x13a5ea),_0x5c1a03['push'](this[_0x5116ad(0x186)](_0x399804)[_0x5116ad(0x1a9)](()=>{const _0x431ae2=_0x5116ad;this[_0x431ae2(0x199)]['delete'](_0x399804);}));}),await Promise[_0x1b3b06(0x1b9)](_0x5c1a03);}};Ae=_n([Oe(0x0,_0x3e99f6),Oe(0x1,_0x132c1a),Oe(0x2,_0xe4d2b5(_0x1aa674))],Ae);class hn extends _0x24bb3b{constructor(){const _0x40e63f=_0x163b90;super(),_(this,_0x40e63f(0x135)),this[_0x40e63f(0x135)]=_0x16ca35(window,_0x40e63f(0x1f6))['pipe'](_0x52c0b7(this['dispose$']),_0x3397f6(0x1),_0x5062a5(void 0x0));}[_0x163b90(0x2c1)](_0x5765ab,_0x3a835b,_0x420e50=!0x1){const _0xa53ef9=_0x163b90,_0x3bc7ff=new URL(window['location']['href']);_0x3bc7ff['searchParams'][_0xa53ef9(0x244)](_0x5765ab,_0x3a835b),_0x420e50?window[_0xa53ef9(0xf1)][_0xa53ef9(0x1fb)]('','',_0x3bc7ff[_0xa53ef9(0x255)]()):window[_0xa53ef9(0xf1)][_0xa53ef9(0x1df)]('','',_0x3bc7ff[_0xa53ef9(0x255)]());}[_0x163b90(0x16e)](_0x3053ca,_0x58d4a3=!0x1){const _0x48cf92=_0x163b90,_0x4d8a44=new URL(window['location'][_0x48cf92(0x18a)]);_0x4d8a44[_0x48cf92(0x2a2)][_0x48cf92(0x289)](_0x3053ca),_0x58d4a3?window[_0x48cf92(0xf1)]['replaceState']('','',_0x4d8a44['toString']()):window[_0x48cf92(0xf1)][_0x48cf92(0x1df)]('','',_0x4d8a44['toString']());}[_0x163b90(0x11b)](_0x577506){const _0x33b59=_0x163b90;var _0x102662;return(_0x102662=new URL(window['location']['href'])['searchParams'][_0x33b59(0x20d)](_0x577506))!=null?_0x102662:void 0x0;}}var un=Object[_0x163b90(0x24d)],dn=Object[_0x163b90(0x146)],fn=(_0xe8568,_0x170eb4,_0x2d0a79)=>_0x170eb4 in _0xe8568?un(_0xe8568,_0x170eb4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d0a79}):_0xe8568[_0x170eb4]=_0x2d0a79,Sn=(_0x50cded,_0x551617,_0x22819a,_0x2f248a)=>{for(var _0x3a9080=_0x2f248a>0x1?void 0x0:_0x2f248a?dn(_0x551617,_0x22819a):_0x551617,_0x2bf166=_0x50cded['length']-0x1,_0x2c8680;_0x2bf166>=0x0;_0x2bf166--)(_0x2c8680=_0x50cded[_0x2bf166])&&(_0x3a9080=_0x2c8680(_0x3a9080)||_0x3a9080);return _0x3a9080;},be=(_0x3d57e6,_0x4e6c96)=>(_0x3245c9,_0x1cbb89)=>_0x4e6c96(_0x3245c9,_0x1cbb89,_0x3d57e6),mn=(_0x38021f,_0x9bf784,_0x466259)=>fn(_0x38021f,_0x9bf784+'',_0x466259);const In=_0x163b90(0x2a0);let ye=class extends _0xb005cc{constructor(_0x41ff0b=tt,_0x406827,_0x49d6d0,_0xf2f56a){const _0x22897a=_0x163b90;super(),this['_config']=_0x41ff0b,this['_renderManagerService']=_0x406827,this[_0x22897a(0x1e2)]=_0x49d6d0,this[_0x22897a(0x17e)]=_0xf2f56a;const {..._0xdd99f2}=_0x29ca65({},tt,this['_config']);this[_0x22897a(0x17e)][_0x22897a(0x17b)](Zi,_0xdd99f2);}['onStarting'](){const _0xd4b6ef=_0x163b90;this[_0xd4b6ef(0x261)](),this[_0xd4b6ef(0x17c)]();}['onRendered'](){this['_registerRenderDependencies']();}[_0x163b90(0x261)](){const _0x270a00=_0x163b90;var _0x4c15c9;const _0x4bf7e4=[[He],[ae],[re],[oe],[Fe],[Mt,{'useClass':hn}],[_0x153317,{'useClass':_0x414310}],[_0x1189d6,{'useClass':Ae}],[se],[ce],[ie],[F],[Ue],[ne]];_0x28911d(this[_0x270a00(0x1e2)],_0x2b2316(_0x4bf7e4,(_0x4c15c9=this[_0x270a00(0x29b)])==null?void 0x0:_0x4c15c9[_0x270a00(0x2ad)]));}[_0x163b90(0xcc)](){const _0x504e28=_0x163b90;this[_0x504e28(0x1fa)](this[_0x504e28(0x204)][_0x504e28(0x17a)](_0x36b1a7[_0x504e28(0x21b)],[Pe])),this[_0x504e28(0x1fa)](this[_0x504e28(0x204)][_0x504e28(0x17a)](_0x36b1a7[_0x504e28(0x287)],[we]));}[_0x163b90(0x17c)](){const _0x2802bb=_0x163b90;_0xfd41f3(this[_0x2802bb(0x1e2)],[[F],[se],[ce],[ie],[ne]]);}};mn(ye,_0x163b90(0x124),In),ye=Sn([_0x471963(_0x583ada),be(0x1,_0x38659a),be(0x2,_0xe4d2b5(_0x5b513d)),be(0x3,_0x3e99f6)],ye);function _0x30ea(_0x12b658,_0xd1ec68){const _0x3a7fd3=_0x3a7f();return _0x30ea=function(_0x30ea5f,_0x53006){_0x30ea5f=_0x30ea5f-0xb9;let _0x390993=_0x3a7fd3[_0x30ea5f];return _0x390993;},_0x30ea(_0x12b658,_0xd1ec68);}var vn=Object[_0x163b90(0x146)],gn=(_0x3576e4,_0x2f5572,_0x240745,_0xf25b68)=>{for(var _0x40ca73=_0xf25b68>0x1?void 0x0:_0xf25b68?vn(_0x2f5572,_0x240745):_0x2f5572,_0x361f7f=_0x3576e4['length']-0x1,_0x45b85a;_0x361f7f>=0x0;_0x361f7f--)(_0x45b85a=_0x3576e4[_0x361f7f])&&(_0x40ca73=_0x45b85a(_0x40ca73)||_0x40ca73);return _0x40ca73;},z=(_0xe706f4,_0x5f45ea)=>(_0xcf5ffb,_0x748a53)=>_0x5f45ea(_0xcf5ffb,_0x748a53,_0xe706f4);let it=class extends _0xa4e37e{constructor(_0x42570b,_0xfea02b,_0xb9be7d,_0x3bb50d,_0x439258){super(_0x42570b,_0xfea02b,_0xb9be7d,_0x3bb50d,_0x439258);}async[_0x163b90(0x177)](_0x886942){const _0x3ce4ac=_0x163b90,_0x548edf=await this['_getSessionTicket'](),_0x2f0a75=this[_0x3ce4ac(0x157)](_0x886942,_0x548edf);return this[_0x3ce4ac(0x296)](_0x2f0a75);}[_0x163b90(0x157)](_0x513a19,_0x59b50a){const _0xa748af=_0x163b90,_0x3feb09=typeof window>'u'?new URL(_0x513a19):new URL(_0x513a19,window['location'][_0xa748af(0x252)]);_0x3feb09[_0xa748af(0x2a2)][_0xa748af(0x244)](_0xa748af(0x1f9),_0x59b50a);const _0x1b0862=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xa748af(0x230)][_0xa748af(0x18d)]);return _0x1b0862[_0xa748af(0x20d)]('runId')&&_0x3feb09[_0xa748af(0x2a2)][_0xa748af(0x244)](_0xa748af(0xbf),_0x1b0862[_0xa748af(0x20d)](_0xa748af(0xbf))),_0x3feb09['toString']();}async[_0x163b90(0x1d8)](){const _0x4d7407=_0x163b90;var _0x962d7e,_0xad6b49,_0x102872;const _0x45d736=this[_0x4d7407(0x17e)][_0x4d7407(0x247)](_0x119690),_0x3266e7=(_0x962d7e=_0x45d736==null?void 0x0:_0x45d736[_0x4d7407(0xdd)])!=null?_0x962d7e:_0x3ea74b;return(_0x102872=(_0xad6b49=(await this[_0x4d7407(0x299)][_0x4d7407(0x20d)](_0x3266e7,{'headers':{'Content-Type':_0x4d7407(0x11c)}}))[_0x4d7407(0x24e)])==null?void 0x0:_0xad6b49[_0x4d7407(0x104)])!=null?_0x102872:'';}};it=gn([z(0x0,_0xe4d2b5(_0x5b513d)),z(0x1,_0xe4d2b5(_0x48ded4)),z(0x2,_0x3e99f6),z(0x3,_0x3bb633),z(0x4,_0x5b1164)],it);const nt=0x7530,rt='ACTIVE_UNIT_EVENT_CHANNEL';class Fn extends _0x514786{constructor(){const _0x33d9ed=_0x163b90;super(),_(this,_0x33d9ed(0x156),_0x5e883b()),_(this,_0x33d9ed(0x2b8),new Set()),_(this,_0x33d9ed(0x1b6),new Map()),_(this,_0x33d9ed(0x243),null),_(this,'_clearOtherTimers',new Map()),_(this,_0x33d9ed(0x162),new Map()),this[_0x33d9ed(0x25c)]();}[_0x163b90(0x2bc)](){const _0x480bc7=_0x163b90;super['dispose'](),this['_clearOtherTimers']['forEach']((_0x29b43a,_0x4486c4)=>this['_removeClearOtherTimer'](_0x4486c4)),this[_0x480bc7(0x243)]&&window['clearInterval'](this[_0x480bc7(0x243)]);}['getUnitStatus$'](_0x5cb359){const _0x3448e4=_0x163b90;return this[_0x3448e4(0x282)](_0x5cb359)[_0x3448e4(0x13c)](_0x5aede7());}['editingUnit'](_0xe507f2){const _0x2718a7=_0x163b90;this[_0x2718a7(0x2b8)][_0x2718a7(0x15d)]===0x0&&this[_0x2718a7(0x213)](),this['_selfUnitIDs'][_0x2718a7(0x270)](_0xe507f2),this[_0x2718a7(0xf2)]({'type':0x0,'memberID':this[_0x2718a7(0x156)],'unitIDs':[_0xe507f2],'isForwarded':!0x1});}['disposeUnit'](_0x116b01){const _0x54f3d2=_0x163b90;this[_0x54f3d2(0x2b8)][_0x54f3d2(0x289)](_0x116b01),this[_0x54f3d2(0x2b8)]['size']===0x0&&this[_0x54f3d2(0x243)]&&window[_0x54f3d2(0x181)](this[_0x54f3d2(0x243)]);}[_0x163b90(0x25c)](){const _0xda409e=_0x163b90;this['disposeWithMe'](_0x3eabb5(_0x16ca35(window,'storage')[_0xda409e(0x201)](_0x4037c1=>{const _0x4a9504=_0xda409e;if(_0x4037c1['key']!==rt||!_0x4037c1[_0x4a9504(0x280)])return;const _0x59eca9=JSON['parse'](_0x4037c1[_0x4a9504(0x280)]);this[_0x4a9504(0x2a7)](_0x59eca9);}))),window[_0xda409e(0x28a)](_0xda409e(0xed),()=>this[_0xda409e(0xf2)]({'type':0x1,'memberID':this[_0xda409e(0x156)],'unitIDs':Array['from'](this[_0xda409e(0x2b8)])}));}[_0x163b90(0x2a7)](_0x1e11ea){const _0x3b97fe=_0x163b90;switch(_0x1e11ea[_0x3b97fe(0x290)]){case 0x0:this[_0x3b97fe(0x1f0)](_0x1e11ea);break;case 0x1:this['_handleLeaveEvent'](_0x1e11ea);break;case 0x2:this['_handleHeartbeatEvent'](_0x1e11ea);break;}}[_0x163b90(0x1f0)](_0x41fbef){const _0x122247=_0x163b90,{unitIDs:_0x29c338,memberID:_0x579914,isForwarded:_0x40619d}=_0x41fbef;_0x29c338[_0x122247(0x2c4)](_0x46e42d=>{const _0x21d582=_0x122247;if(!_0x40619d&&this[_0x21d582(0x1b6)][_0x21d582(0x2bb)](_0x46e42d)&&this[_0x21d582(0x282)](_0x46e42d)[_0x21d582(0x166)](_0x409584['OTHER_CLIENTS_EDITING']),!this['_unitOnClients'][_0x21d582(0x2bb)](_0x46e42d)||!this[_0x21d582(0x1b6)]['get'](_0x46e42d)[_0x21d582(0x2bb)](_0x579914)){const _0x2f1144=this[_0x21d582(0x1b6)]['get'](_0x46e42d)||new Set();_0x2f1144['add'](_0x579914),this[_0x21d582(0x1b6)][_0x21d582(0x244)](_0x46e42d,_0x2f1144),this[_0x21d582(0x23c)](_0x579914);}}),_0x40619d||this[_0x122247(0xf2)]({'type':0x0,'memberID':this[_0x122247(0x156)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x163b90(0x23c)](_0x503540){const _0x59230d=_0x163b90;this[_0x59230d(0x241)](_0x503540);const _0xb6ceb0=window[_0x59230d(0x1e8)](()=>{const _0x4edef1=_0x59230d;this[_0x4edef1(0x1b6)][_0x4edef1(0x2c4)](_0x4937cc=>{_0x4937cc['delete'](_0x503540);});},nt*0x2);this['_clearOtherTimers'][_0x59230d(0x244)](_0x503540,_0xb6ceb0);}['_removeClearOtherTimer'](_0x5ca4c6){const _0x27b7e6=_0x163b90;if(this[_0x27b7e6(0x11a)][_0x27b7e6(0x2bb)](_0x5ca4c6)){const _0x1a35a5=this[_0x27b7e6(0x11a)][_0x27b7e6(0x20d)](_0x5ca4c6);_0x1a35a5&&window[_0x27b7e6(0x19a)](_0x1a35a5),this['_clearOtherTimers'][_0x27b7e6(0x244)](_0x5ca4c6,null);}}[_0x163b90(0x1ff)](_0x49ec76){const _0x1578ba=_0x163b90,{memberID:_0xd3508c,unitIDs:_0x3af644}=_0x49ec76;_0x3af644['forEach'](_0x4249f5=>{const _0x15774d=_0x30ea;var _0x528b57;const _0x525b9b=this[_0x15774d(0x1b6)]['get'](_0x4249f5);_0x525b9b&&(_0x525b9b[_0x15774d(0x289)](_0xd3508c),(_0x528b57=this[_0x15774d(0x282)](_0x4249f5))==null||_0x528b57[_0x15774d(0x166)](_0x525b9b['size']===0x0?_0x409584[_0x15774d(0x16c)]:_0x409584[_0x15774d(0xc3)]));}),this[_0x1578ba(0x241)](_0xd3508c);}[_0x163b90(0x236)](_0x2c3c28){const _0x392250=_0x163b90;this[_0x392250(0x23c)](_0x2c3c28[_0x392250(0x1aa)]);}[_0x163b90(0xf2)](_0x3b7a9d){const _0x3c741b=_0x163b90;localStorage[_0x3c741b(0x1d6)](rt,JSON[_0x3c741b(0x141)](_0x3b7a9d));}[_0x163b90(0x213)](){const _0x15636f=_0x163b90;this[_0x15636f(0x243)]=window[_0x15636f(0x218)](()=>{const _0x259ecb=_0x15636f;this['_send']({'type':0x2,'memberID':this[_0x259ecb(0x156)]});},nt);}[_0x163b90(0x282)](_0x3639bf){const _0x43c8ec=_0x163b90;return this[_0x43c8ec(0x162)][_0x43c8ec(0x2bb)](_0x3639bf)||this['_unitStatus'][_0x43c8ec(0x244)](_0x3639bf,new _0x12ab3a(_0x409584[_0x43c8ec(0x16c)])),this[_0x43c8ec(0x162)][_0x43c8ec(0x20d)](_0x3639bf);}}var Lt=(_0x474d36=>(_0x474d36[_0x474d36[_0x163b90(0x109)]=0x0]=_0x163b90(0x109),_0x474d36[_0x474d36['OK']=0x1]='OK',_0x474d36[_0x474d36[_0x163b90(0x2a8)]=0x2]=_0x163b90(0x2a8),_0x474d36[_0x474d36[_0x163b90(0x178)]=0x3]=_0x163b90(0x178),_0x474d36[_0x474d36[_0x163b90(0x1e9)]=0x4]=_0x163b90(0x1e9),_0x474d36[_0x474d36['UNAUTHENTICATED']=0x5]=_0x163b90(0x2b7),_0x474d36[_0x474d36[_0x163b90(0x254)]=0x6]='ALREADY_EXISTS',_0x474d36[_0x474d36[_0x163b90(0x28b)]=0x7]=_0x163b90(0x28b),_0x474d36[_0x474d36[_0x163b90(0x138)]=0x8]=_0x163b90(0x138),_0x474d36[_0x474d36[_0x163b90(0x190)]=0x9]=_0x163b90(0x190),_0x474d36[_0x474d36['LOGIN_FAILED']=0xa]=_0x163b90(0x1b1),_0x474d36[_0x474d36['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x163b90(0x211),_0x474d36[_0x474d36[_0x163b90(0xba)]=0xc]=_0x163b90(0xba),_0x474d36[_0x474d36[_0x163b90(0x14d)]=0xd]=_0x163b90(0x14d),_0x474d36[_0x474d36[_0x163b90(0x16b)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x474d36[_0x474d36[_0x163b90(0x221)]=0x1389]=_0x163b90(0x221),_0x474d36[_0x474d36[_0x163b90(0x21d)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x474d36[_0x474d36['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x163b90(0x24a),_0x474d36[_0x474d36[_0x163b90(0xbe)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x474d36[_0x474d36[_0x163b90(0x1f7)]=0x1b59]=_0x163b90(0x1f7),_0x474d36[_0x474d36['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x163b90(0x286),_0x474d36[_0x474d36[_0x163b90(0x171)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x474d36[_0x474d36[_0x163b90(0x170)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x474d36[_0x474d36[_0x163b90(0x297)]=0x1b5d]='APPLY_DUPLICATED',_0x474d36[_0x474d36[_0x163b90(0x262)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x474d36[_0x474d36[_0x163b90(0x277)]=0x2329]=_0x163b90(0x277),_0x474d36[_0x474d36[_0x163b90(0x239)]=0x232a]=_0x163b90(0x239),_0x474d36[_0x474d36[_0x163b90(0x264)]=0x232b]=_0x163b90(0x264),_0x474d36[_0x474d36[_0x163b90(0x27f)]=0x232c]=_0x163b90(0x27f),_0x474d36[_0x474d36[_0x163b90(0x291)]=0x232d]=_0x163b90(0x291),_0x474d36[_0x474d36[_0x163b90(0x2c2)]=0x2711]=_0x163b90(0x2c2),_0x474d36[_0x474d36[_0x163b90(0x25b)]=0x2712]=_0x163b90(0x25b),_0x474d36[_0x474d36['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x163b90(0x115),_0x474d36[_0x474d36[_0x163b90(0x246)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x474d36[_0x474d36[_0x163b90(0x27a)]=0x271a]=_0x163b90(0x27a),_0x474d36[_0x474d36[_0x163b90(0x225)]=0x271b]=_0x163b90(0x225),_0x474d36[_0x474d36['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x474d36[_0x474d36[_0x163b90(0x1bb)]=0x271d]=_0x163b90(0x1bb),_0x474d36[_0x474d36['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x163b90(0x148),_0x474d36[_0x474d36[_0x163b90(0x10b)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x474d36[_0x474d36['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x163b90(0x200),_0x474d36[_0x474d36[_0x163b90(0x191)]=0x2af9]=_0x163b90(0x191),_0x474d36[_0x474d36[_0x163b90(0xe0)]=0x2ee1]=_0x163b90(0xe0),_0x474d36[_0x474d36[_0x163b90(0x1e4)]=0x2ee2]=_0x163b90(0x1e4),_0x474d36[_0x474d36[_0x163b90(0x140)]=0x2ee3]=_0x163b90(0x140),_0x474d36[_0x474d36[_0x163b90(0x1f3)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x474d36[_0x474d36[_0x163b90(0x16d)]=0x2ee5]=_0x163b90(0x16d),_0x474d36[_0x474d36[_0x163b90(0x25a)]=0x32c9]=_0x163b90(0x25a),_0x474d36[_0x474d36[_0x163b90(0x20f)]=0x32ca]=_0x163b90(0x20f),_0x474d36[_0x474d36['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x163b90(0x24f),_0x474d36[_0x474d36['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x474d36))(Lt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x277f2a,_0x25e8bc,_0x1afca6,_0xf65b3f)=>{const _0x1c0a3c=_0x163b90;for(var _0xab0035=_0xf65b3f>0x1?void 0x0:_0xf65b3f?pn(_0x25e8bc,_0x1afca6):_0x25e8bc,_0x2f08fc=_0x277f2a[_0x1c0a3c(0x256)]-0x1,_0x51fef7;_0x2f08fc>=0x0;_0x2f08fc--)(_0x51fef7=_0x277f2a[_0x2f08fc])&&(_0xab0035=_0x51fef7(_0xab0035)||_0xab0035);return _0xab0035;},Te=(_0x277f7b,_0x50385d)=>(_0x139f5d,_0x5abc03)=>_0x50385d(_0x139f5d,_0x5abc03,_0x277f7b);let ot=class extends _0x514786{constructor(_0x5b2af3,_0x5b88d4,_0x24dd16){const _0x4e56b1=_0x163b90;super(),this['_instanceService']=_0x5b2af3,this['_httpService']=_0x5b88d4,this[_0x4e56b1(0x17e)]=_0x24dd16;}async[_0x163b90(0x112)](_0x2156fa,_0xf48e99,_0x86f4dc,..._0x5f0a49){const _0x43aa5d=_0x163b90;var _0x498df1,_0x555498,_0x461654,_0x5db8ea;const _0x13b1fb=this[_0x43aa5d(0x1cd)][_0x43aa5d(0x20c)]();if(!_0x13b1fb)throw new Error(_0x43aa5d(0xe7));const _0x9e07db=((_0x498df1=this[_0x43aa5d(0x17e)]['getConfig'](_0x1c2f69))!=null?_0x498df1:_0x51c021)+'/'+_0x2156fa+_0x43aa5d(0x28c)+_0xf48e99,_0x3994a9=new URL(window[_0x43aa5d(0x230)][_0x43aa5d(0x18a)]),_0x48b744={'scriptId':_0x2156fa,'runId':(_0x555498=_0x3994a9[_0x43aa5d(0x2a2)][_0x43aa5d(0x20d)](_0x43aa5d(0xbf)))!=null?_0x555498:'','function':_0xf48e99,'unitId':_0x13b1fb['getUnitId'](),'argsOfFunction':JSON[_0x43aa5d(0x141)](_0x5f0a49),'invokeId':(_0x461654=_0x86f4dc[_0x43aa5d(0xc4)])!=null?_0x461654:'','executionId':(_0x5db8ea=_0x86f4dc[_0x43aa5d(0x205)])!=null?_0x5db8ea:''};try{const _0x65e36=await this[_0x43aa5d(0x299)][_0x43aa5d(0x11f)](_0x9e07db,{'body':_0x48b744});return _0x65e36['body']['error']&&_0x65e36[_0x43aa5d(0x24e)][_0x43aa5d(0x1e7)][_0x43aa5d(0x216)]!==Lt['OK']?_0x43aa5d(0x101):_0x65e36['body']['result'];}catch{return _0x43aa5d(0x101);}}};ot=Cn([Te(0x0,_0x8cba3f),Te(0x1,_0xe4d2b5(_0x48ded4)),Te(0x2,_0x3e99f6)],ot);export{it as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Wi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,Mt as IURLService,ot as RemoteUniscriptService,wi as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
|
1
|
+
const _0x1762ac=_0x182c;(function(_0x1d0016,_0x2ca6c8){const _0x5a9ea9=_0x182c,_0x2bb12d=_0x1d0016();while(!![]){try{const _0x4ee766=parseInt(_0x5a9ea9(0xfa))/0x1*(-parseInt(_0x5a9ea9(0x250))/0x2)+parseInt(_0x5a9ea9(0x219))/0x3*(-parseInt(_0x5a9ea9(0x2cf))/0x4)+-parseInt(_0x5a9ea9(0x28b))/0x5+parseInt(_0x5a9ea9(0x190))/0x6*(-parseInt(_0x5a9ea9(0x1f0))/0x7)+-parseInt(_0x5a9ea9(0xdc))/0x8+-parseInt(_0x5a9ea9(0x1ff))/0x9*(parseInt(_0x5a9ea9(0x110))/0xa)+parseInt(_0x5a9ea9(0x16e))/0xb;if(_0x4ee766===_0x2ca6c8)break;else _0x2bb12d['push'](_0x2bb12d['shift']());}catch(_0x2ba8b2){_0x2bb12d['push'](_0x2bb12d['shift']());}}}(_0x3079,0xca7d9));var xt=Object['defineProperty'],Bt=(_0x5b714c,_0xa28ada,_0x37357c)=>_0xa28ada in _0x5b714c?xt(_0x5b714c,_0xa28ada,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x37357c}):_0x5b714c[_0xa28ada]=_0x37357c,_=(_0x54a5ee,_0x2127bf,_0x47ddf0)=>Bt(_0x54a5ee,typeof _0x2127bf!=_0x1762ac(0x165)?_0x2127bf+'':_0x2127bf,_0x47ddf0);import{MemberService as _0x17ac4a,SessionStatus as _0x3aef03,CollaborationSessionService as _0x35a82b,CollaborationStatus as _0x23b08a,CollaborationController as _0x213766,ILocalCacheService as _0x4cefdc,CollaborationUIEventService as _0x1d4f2f,CollaborationUIEventId as _0x113961,DataLoaderService as _0x4d330c,DocCollaborationEntity as _0x3a9d16,getLocalCacheKey as _0x2d9407,LOCAL_CACHE_INTERVAL as _0x3f3c25,LOCAL_CACHE_INTERVAL_KEY as _0x559240,UniverCollaborationClientPlugin as _0x55d557,CollaborationSocketService as _0x12c1a2,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x27eb48,DEFAULT_WS_SESSION_TICKET_URL as _0x202f17,UnitStatus as _0x3deb19,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0xa85bb9,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x27ccee}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x28093b,Disposable as _0x5d8363,DOC_RANGE_TYPE as _0x19c392,Inject as _0x54b249,Injector as _0x486af7,IUniverInstanceService as _0x253376,ICommandService as _0x493ff1,debounce as _0x2d6ca4,Rectangle as _0x5574e0,DisposableCollection as _0x2c13d8,toDisposable as _0x498c8e,UniverInstanceType as _0x4b3b5f,generateRandomId as _0x4a9b37,COLORS as _0x139b87,ColorKit as _0x571d65,ThemeService as _0x2a7414,fromEventSubject as _0x148b09,LocaleService as _0x4f44af,createIdentifier as _0x3d0682,ILogService as _0x1fb54f,Optional as _0x5545ca,Workbook as _0x472d32,Tools as _0x326393,CommandType as _0x926111,IConfigService as _0x2e1edc,ILocalStorageService as _0x34e19f,DependentOn as _0x3753c4,Plugin as _0x5d6e37,merge as _0x141462,registerDependencies as _0xbf7213,mergeOverrideWithDependencies as _0x1f7a18,touchDependencies as _0x3baa6e}from'@univerjs/core';import{Shape as _0x3df4f1,Rect as _0x229dee,getColor as _0x3870a3,RegularPolygon as _0x5c8380,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x581398,Vector2 as _0x1ffb33,SHEET_VIEWPORT_KEY as _0x16fe4e,IRenderManagerService as _0x52f4dd}from'@univerjs/engine-render';import{ISocketService as _0xd4eb39,WebSocketService as _0x5f112c,HTTPService as _0x2a0e93}from'@univerjs/network';import{IDocClipboardService as _0x432b9a,NodePositionConvertToCursor as _0x2af9c4,NodePositionConvertToRectRange as _0x48a22d,TEXT_RANGE_LAYER_INDEX as _0x358fff,SetDocZoomRatioOperation as _0xa5c5c9,DocIMEInputManagerService as _0x1ea938,DocStateChangeManagerService as _0x182343}from'@univerjs/docs-ui';import{IImageIoService as _0x13eec4}from'@univerjs/drawing';import{BehaviorSubject as _0x5c4b3a,debounceTime as _0x537f04,takeUntil as _0x4e4cc7,Subject as _0x2dc4d3,filter as _0x1a40ce,switchMap as _0x1212d7,merge as _0x546c92,combineLatest as _0x2fe031,of as _0x10a367,fromEvent as _0xaa05a6,shareReplay as _0x8a8f2f,mapTo as _0x2d1c61,distinctUntilChanged as _0x339ca4}from'rxjs';import{ITransformService as _0xda71cb,CollaborationEvent as _0x5529e6,isTransformMutationFailure as _0x19d415,isTransformMutationsWithChangesetSuccess as _0x5d8f07,RevisionService as _0x3cae2d,ISnapshotServerService as _0x2e09ab}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x5863e2,RichTextEditingMutation as _0x5e5a95,DocSelectionManagerService as _0x292580,DocSkeletonManagerService as _0x231129}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x4719c1,serializeRangeWithSheet as _0x34ed03}from'@univerjs/engine-formula';import{RefRangeService as _0x7e52ab,SetSelectionsOperation as _0x5acddb,SheetsSelectionsService as _0x16c796,EffectRefRangId as _0x4b5112,handleIRemoveRow as _0x43bb12,handleIRemoveCol as _0xf53ec0,handleMoveRange as _0x23980a,handleInsertRow as _0x3de20b,handleInsertRangeMoveRight as _0x1db2ae,handleInsertRangeMoveDown as _0x33ec6b,handleInsertCol as _0x487845,handleDeleteRangeMoveUp as _0x318c09,handleDeleteRangeMoveLeft as _0x1c5d98,runRefRangeMutations as _0x29d2ea,SetWorksheetActivateCommand as _0x575189}from'@univerjs/sheets';import{map as _0x1e7205,filter as _0x11116a,throttleTime as _0x517bcf,takeUntil as _0x3575aa,switchMap as _0x2fc8f7}from'rxjs/operators';import{SheetSkeletonManagerService as _0x93c63e,getCoordByCell as _0x2a7612,getSheetObject as _0x445e13}from'@univerjs/sheets-ui';import{jsx as _0x2e0e6e,jsxs as _0x1feb53}from'react/jsx-runtime';import{useObservable as _0x1b2e23,useDependency as _0x4b071f,IUIPartsService as _0x49e93f,BuiltInUIPart as _0x3a2c61,connectInjector as _0x282b00,IBeforeCloseService as _0x22ec37,IMessageService as _0x23eb9a,INotificationService as _0x56633c}from'@univerjs/ui';import{Tooltip as _0x23fc72,clsx as _0x29e0c3,MessageType as _0x35b091}from'@univerjs/design';import{forwardRef as _0x78afa1,useRef as _0x5b3905,createElement as _0x2bd574,useCallback as _0x5287d1}from'react';import{IRemoteInstanceService as _0x3fde11}from'@univerjs/rpc';var ci=Object[_0x1762ac(0x1cc)],li=(_0x5bea76,_0x34fc33,_0x431571,_0x1ffe56)=>{const _0x403f7c=_0x1762ac;for(var _0x7d0eb7=_0x1ffe56>0x1?void 0x0:_0x1ffe56?ci(_0x34fc33,_0x431571):_0x34fc33,_0x4c6e35=_0x5bea76[_0x403f7c(0x196)]-0x1,_0x3087eb;_0x4c6e35>=0x0;_0x4c6e35--)(_0x3087eb=_0x5bea76[_0x4c6e35])&&(_0x7d0eb7=_0x3087eb(_0x7d0eb7)||_0x7d0eb7);return _0x7d0eb7;},Ze=(_0x4fd23b,_0xf87be9)=>(_0x3008c8,_0x319c3e)=>_0xf87be9(_0x3008c8,_0x319c3e,_0x4fd23b);let Ue=class extends _0x28093b{constructor(_0x125a19,_0x4d1356){const _0x229b9d=_0x1762ac;super(),this[_0x229b9d(0xde)]=_0x125a19,this[_0x229b9d(0x2ac)]=_0x4d1356,this['_init']();}[_0x1762ac(0x22f)](){const _0xa70686=_0x1762ac,_0x1c32b9=this;this[_0xa70686(0x18b)](this[_0xa70686(0xde)][_0xa70686(0xf7)]({'onBeforePasteImage':async _0x84cd4d=>{const _0x5551e8=_0xa70686,_0x4ad3a8=await _0x1c32b9[_0x5551e8(0x2ac)][_0x5551e8(0x2d5)](_0x84cd4d);return _0x4ad3a8?{'source':_0x4ad3a8[_0x5551e8(0x2a7)],'imageSourceType':_0x4ad3a8[_0x5551e8(0xd4)]}:null;}}));}};Ue=li([Ze(0x0,_0x432b9a),Ze(0x1,_0x13eec4)],Ue);const Qe=[_0x1762ac(0x257),_0x1762ac(0x1a2),'green.600',_0x1762ac(0x154),'blue.400',_0x1762ac(0x13c)];class He extends _0x5d8363{constructor(){const _0x316d80=_0x1762ac;super(...arguments),_(this,_0x316d80(0x172),new Map()),_(this,_0x316d80(0x18c),0x0);}[_0x1762ac(0x135)](_0x405cf4){const _0x573feb=_0x1762ac;if(this[_0x573feb(0x172)][_0x573feb(0x13b)](_0x405cf4))return this['_assignedColors'][_0x573feb(0x29b)](_0x405cf4);const _0x4c8a95=Qe[this[_0x573feb(0x18c)]];return this[_0x573feb(0x18c)]=(this[_0x573feb(0x18c)]+0x1)%Qe[_0x573feb(0x196)],this[_0x573feb(0x172)][_0x573feb(0x1e2)](_0x405cf4,_0x4c8a95),_0x4c8a95;}}function Rt(_0x117dd7){const _0x4c3fbd=_0x1762ac;let _0x55b567='';for(const _0x2710e1 of _0x117dd7){const {startOffset:_0x139ea0,endOffset:_0x2aa765,isActive:_0x2fb00b,rangeType:_0x1d7d05,segmentId:_0x130a3e,segmentPage:_0x851b12}=_0x2710e1;_0x55b567[_0x4c3fbd(0x196)]&&(_0x55b567+=','),_0x55b567+=_0x139ea0+':'+_0x2aa765+':'+(_0x2fb00b?'1':'0')+':'+_0x1d7d05+':'+_0x130a3e+':'+_0x851b12;}return _0x55b567;}function _i(_0x2fe915){const _0x1cd5d6=_0x1762ac,_0x3dad91=_0x2fe915['split'](','),_0x16d7d0=[];for(const _0x117349 of _0x3dad91){const [_0x4aeb53,_0x2af4ea,_0x37a328,_0x512a6c,_0x2735ca,_0x65a5a]=_0x117349['split'](':');_0x16d7d0['push']({'startOffset':Number(_0x4aeb53),'endOffset':Number(_0x2af4ea),'collapsed':_0x4aeb53===_0x2af4ea,'isActive':_0x37a328==='1','rangeType':_0x512a6c===_0x19c392[_0x1cd5d6(0x2a9)]?_0x19c392[_0x1cd5d6(0x2a9)]:_0x19c392['RECT'],'segmentId':typeof _0x2735ca=='string'?String(_0x2735ca):'','segmentPage':Number(_0x65a5a!=null?_0x65a5a:-0x1)});}return _0x16d7d0[_0x1cd5d6(0x225)](_0x257a41=>_0x257a41[_0x1cd5d6(0x121)])||(_0x16d7d0[0x0][_0x1cd5d6(0x121)]=!0x0),_0x16d7d0;}class Fe extends _0x28093b{constructor(){const _0x771c4e=_0x1762ac;super(...arguments),_(this,_0x771c4e(0xff),new _0x5c4b3a(null)),_(this,_0x771c4e(0x29a),this[_0x771c4e(0xff)][_0x771c4e(0x116)]());}['syncEditingCollabCursor'](_0x5f0ddb){const _0x1839df=_0x1762ac,{unitID:_0x4c4e86,memberID:_0x424984,textRanges:_0x59ee61}=_0x5f0ddb,_0x112388=Rt(_0x59ee61);if(_0x112388==='')return;const _0x53eeec={'unitID':_0x4c4e86,'memberID':_0x424984,'selection':_0x112388};this[_0x1839df(0xff)][_0x1839df(0x2c9)](_0x53eeec);}}var hi=Object[_0x1762ac(0x1cc)],ui=(_0x2fa768,_0x3f7f01,_0x546f39,_0x2cfa9c)=>{const _0x179626=_0x1762ac;for(var _0x2d0cfb=_0x2cfa9c>0x1?void 0x0:_0x2cfa9c?hi(_0x3f7f01,_0x546f39):_0x3f7f01,_0x173c95=_0x2fa768[_0x179626(0x196)]-0x1,_0x47d445;_0x173c95>=0x0;_0x173c95--)(_0x47d445=_0x2fa768[_0x173c95])&&(_0x2d0cfb=_0x47d445(_0x2d0cfb)||_0x2d0cfb);return _0x2d0cfb;},P=(_0x1dcb45,_0x3567ed)=>(_0x2fa432,_0x490865)=>_0x3567ed(_0x2fa432,_0x490865,_0x1dcb45);const di=0x12c,fi=0x64;let Me=class extends _0x28093b{constructor(_0x5e78c4,_0x5dd1fa,_0x65ef8e,_0x53fecf,_0x2cd4f8,_0x3b6dbc,_0x1976ca,_0xe93f84,_0x315dac){const _0x27c3e5=_0x1762ac;super(),_(this,_0x27c3e5(0x1c6),!0x1),_(this,_0x27c3e5(0x22f),!0x1),_(this,'_cursorInfo$',new _0x5c4b3a(new Map())),_(this,_0x27c3e5(0x17a),this[_0x27c3e5(0x1cd)][_0x27c3e5(0x116)]()),_(this,_0x27c3e5(0x271),new _0x5c4b3a([])),_(this,_0x27c3e5(0x2b1),this[_0x27c3e5(0x271)][_0x27c3e5(0x29f)](_0x537f04(di))),_(this,_0x27c3e5(0x2c3),_0x2d6ca4(_0x5fd77f=>{const _0xcf21b5=_0x27c3e5,_0x314b3e={'eventID':_0x5529e6[_0xcf21b5(0xe6)],'data':{'unitID':this[_0xcf21b5(0x188)],'memberID':this[_0xcf21b5(0xdb)][_0xcf21b5(0x1af)](),'selection':Rt(_0x5fd77f)}};this[_0xcf21b5(0xdb)][_0xcf21b5(0x25b)](_0x314b3e,this[_0xcf21b5(0x188)]);},fi)),(this['unitID']=_0x5e78c4,this[_0x27c3e5(0xdb)]=_0x5dd1fa,this[_0x27c3e5(0x101)]=_0x65ef8e,this[_0x27c3e5(0x119)]=_0x53fecf,this[_0x27c3e5(0x1d2)]=_0x2cd4f8,this[_0x27c3e5(0x1f7)]=_0x3b6dbc,this[_0x27c3e5(0x2a5)]=_0x1976ca,this[_0x27c3e5(0x1a4)]=_0xe93f84,this[_0x27c3e5(0x26f)]=_0x315dac);}get['cursorInfo'](){const _0x839b13=_0x1762ac;return this[_0x839b13(0x1cd)][_0x839b13(0xd7)]();}get[_0x1762ac(0x12e)](){const _0x1bb1f9=_0x1762ac;return this['_roomMembers$'][_0x1bb1f9(0xd7)]();}[_0x1762ac(0x1c0)](){const _0x24fa41=_0x1762ac;super['dispose'](),this[_0x24fa41(0x1cd)][_0x24fa41(0x2c9)](new Map()),this[_0x24fa41(0x1cd)]['complete'](),this['_roomMembers$'][_0x24fa41(0x2c9)]([]),this[_0x24fa41(0x271)]['complete']();}[_0x1762ac(0x1ae)](){const _0x8bdd86=_0x1762ac;this['_init']||(this['_init']=!0x0,this[_0x8bdd86(0xdb)][_0x8bdd86(0xf3)][_0x8bdd86(0x29f)](_0x4e4cc7(this[_0x8bdd86(0x27a)]))[_0x8bdd86(0x221)](_0x2befe5=>{const _0x262337=_0x8bdd86;_0x2befe5===_0x3aef03[_0x262337(0x1cb)]?this[_0x262337(0x205)]():this['_toggleOffline']();}),this[_0x8bdd86(0xdb)]['event$'][_0x8bdd86(0x29f)](_0x4e4cc7(this[_0x8bdd86(0x27a)]))['subscribe'](_0x3170c3=>{const _0x337d8e=_0x8bdd86,_0x11316c=_0x3170c3[_0x337d8e(0x233)];_0x11316c===_0x5529e6[_0x337d8e(0xe6)]&&this[_0x337d8e(0x167)](_0x3170c3),_0x11316c===_0x5529e6[_0x337d8e(0x1a8)]&&this[_0x337d8e(0x1ab)](_0x3170c3);}),this['disposeWithMe'](this[_0x8bdd86(0x26f)][_0x8bdd86(0x12c)](_0x16bd14=>{const _0x2052d6=_0x8bdd86,_0x40fc01=_0x16bd14['params'];_0x40fc01!=null&&this['_online']&&_0x16bd14['id']===_0x5863e2['id']&&_0x40fc01[_0x2052d6(0x169)]===this['unitID']&&_0x40fc01[_0x2052d6(0x1e3)]===!0x1&&_0x40fc01[_0x2052d6(0x1de)]['length']>0x0&&this[_0x2052d6(0x2c3)](_0x40fc01[_0x2052d6(0x1de)]);})),this[_0x8bdd86(0x1f7)][_0x8bdd86(0x29a)]['pipe'](_0x4e4cc7(this[_0x8bdd86(0x27a)]))[_0x8bdd86(0x221)](_0xba6a23=>{const _0x46993d=_0x8bdd86;if((_0xba6a23==null?void 0x0:_0xba6a23[_0x46993d(0x188)])!==this[_0x46993d(0x188)])return;const _0x581be8={'eventID':_0x5529e6['UPDATE_CURSOR'],'data':_0xba6a23};this[_0x46993d(0x167)](_0x581be8);}),this['disposeWithMe'](this['_commandService'][_0x8bdd86(0x12c)](_0x1cbc99=>{const _0x5bdd05=_0x8bdd86;if(_0x1cbc99[_0x5bdd05(0x20b)]==null)return;const _0x3d64c5=_0x1cbc99[_0x5bdd05(0x20b)];if(_0x1cbc99['id']!==_0x5e5a95['id']||_0x3d64c5[_0x5bdd05(0x169)]!==this[_0x5bdd05(0x188)])return;const _0x4fdb3e={'id':_0x5bdd05(0x15b),'params':_0x3d64c5},_0x1efdd9=this['cursorInfo'];for(const [_0x1b4d55,_0x517841]of _0x1efdd9){const _0x58dfd9={'id':_0x5bdd05(0x15b),'params':{'unitId':this[_0x5bdd05(0x188)],'actions':null,'textRanges':_0x517841['ranges']}},_0x220e20=this[_0x5bdd05(0x2a5)][_0x5bdd05(0x11b)](_0x4fdb3e,_0x58dfd9,!0x1);if(_0x19d415(_0x220e20))throw _0x220e20['error'];_0x1efdd9[_0x5bdd05(0x1e2)](_0x1b4d55,{..._0x517841,'ranges':_0x220e20[_0x5bdd05(0x1c8)]['params'][_0x5bdd05(0x186)]});}queueMicrotask(()=>{const _0x29d69e=_0x5bdd05;this[_0x29d69e(0x1cd)][_0x29d69e(0x2c9)](_0x1efdd9);});})));}['_onCursorUpdate'](_0x30b8e5){const _0x38dd41=_0x1762ac;var _0x55e8a7,_0x21cc8b;const {memberID:_0x4fbff5,selection:_0x5ce450}=_0x30b8e5[_0x38dd41(0x272)],_0x16865f=_i(_0x5ce450),_0x46c036=(_0x21cc8b=(_0x55e8a7=this[_0x38dd41(0x1d2)]['getMember'](this[_0x38dd41(0x188)],_0x4fbff5))==null?void 0x0:_0x55e8a7['name'])!=null?_0x21cc8b:_0x38dd41(0x2af),_0x48e79d={'color':this[_0x38dd41(0x119)][_0x38dd41(0x135)](_0x4fbff5),'name':_0x46c036,'ranges':_0x16865f},_0x3faf29=this[_0x38dd41(0x1e1)];_0x3faf29['set'](_0x4fbff5,_0x48e79d),this['_cursorInfo$'][_0x38dd41(0x2c9)](_0x3faf29);}[_0x1762ac(0x1ab)](_0x5a64f5){const _0x21250f=_0x1762ac,{memberID:_0x2f2e55}=_0x5a64f5[_0x21250f(0x272)],_0x468c36=this[_0x21250f(0x1e1)];_0x468c36[_0x21250f(0x2d4)](_0x2f2e55),this[_0x21250f(0x1cd)][_0x21250f(0x2c9)](_0x468c36);}['_toggleOnline'](){const _0x530def=_0x1762ac;var _0xc15bc9;if(this['_online']=!0x0,((_0xc15bc9=this[_0x530def(0x1a4)][_0x530def(0x211)]())==null?void 0x0:_0xc15bc9[_0x530def(0x1f4)]())!==this[_0x530def(0x188)])return;const _0x3d723e=this[_0x530def(0x101)][_0x530def(0x29b)](_0x292580)[_0x530def(0x177)]();Array[_0x530def(0x1bd)](_0x3d723e)&&_0x3d723e[_0x530def(0x196)]>0x0&&this[_0x530def(0x2c3)](_0x3d723e);}[_0x1762ac(0x264)](){const _0x4ecf76=_0x1762ac;this[_0x4ecf76(0x1c6)]=!0x1;}};Me=ui([P(0x2,_0x54b249(_0x486af7)),P(0x3,_0x54b249(He)),P(0x4,_0x54b249(_0x17ac4a)),P(0x5,_0x54b249(Fe)),P(0x6,_0xda71cb),P(0x7,_0x253376),P(0x8,_0x493ff1)],Me);var Si=Object['getOwnPropertyDescriptor'],mi=(_0x28004e,_0x4a9b82,_0x570bb7,_0x2d4efa)=>{const _0x398d2b=_0x1762ac;for(var _0x58c709=_0x2d4efa>0x1?void 0x0:_0x2d4efa?Si(_0x4a9b82,_0x570bb7):_0x4a9b82,_0x56f2de=_0x28004e[_0x398d2b(0x196)]-0x1,_0x22e8bf;_0x56f2de>=0x0;_0x56f2de--)(_0x22e8bf=_0x28004e[_0x56f2de])&&(_0x58c709=_0x22e8bf(_0x58c709)||_0x58c709);return _0x58c709;},x=(_0x249ac8,_0x3e8d44)=>(_0x4c4bc6,_0x4940b6)=>_0x3e8d44(_0x4c4bc6,_0x4940b6,_0x249ac8);const Ii=0x12c,vi=0x64,gi=()=>{let _0x5a284b=[],_0x13457c=!0x1;return _0x129a36=>{const _0x1d1e74=_0x182c;_0x5a284b[_0x1d1e74(0x12b)](_0x129a36),_0x13457c||(_0x13457c=!0x0,setTimeout(()=>{const _0x4a53f0=_0x1d1e74;_0x5a284b[_0x4a53f0(0x14e)](_0x13ab3b=>_0x13ab3b()),_0x5a284b=[],_0x13457c=!0x1;}));};};let Le=class extends _0x28093b{constructor(_0x5dac27,_0xbd7dcb,_0x4c2d11,_0x16495b,_0x1499a3,_0x2b0c3f,_0x24c1fb,_0x1e8fbd){const _0x59adb2=_0x1762ac;super(),_(this,_0x59adb2(0x1c6),!0x1),_(this,_0x59adb2(0x22f),!0x1),_(this,'_cursorInfo$',new _0x5c4b3a(new Map())),_(this,_0x59adb2(0x17a),this[_0x59adb2(0x1cd)]['asObservable']()),_(this,'_roomMembers$',new _0x5c4b3a([])),_(this,_0x59adb2(0x2b1),this['_roomMembers$'][_0x59adb2(0x29f)](_0x537f04(Ii))),_(this,_0x59adb2(0x2c3),_0x2d6ca4((_0x12578c,_0x5b4bec)=>{const _0x239386=_0x59adb2,_0x270dbe={'eventID':_0x5529e6[_0x239386(0xe6)],'data':{'unitID':this['unitID'],'memberID':this[_0x239386(0xdb)][_0x239386(0x1af)](),'selection':_0x34ed03(_0x12578c,_0x5b4bec[_0x239386(0x2ca)])}};this[_0x239386(0xdb)][_0x239386(0x25b)](_0x270dbe,this[_0x239386(0x188)]);},vi)),(this['unitID']=_0x5dac27,this[_0x59adb2(0xdb)]=_0xbd7dcb,this['_injector']=_0x4c2d11,this[_0x59adb2(0x119)]=_0x16495b,this[_0x59adb2(0x1d2)]=_0x1499a3,this[_0x59adb2(0x1a4)]=_0x2b0c3f,this[_0x59adb2(0x26f)]=_0x24c1fb,this[_0x59adb2(0x1e0)]=_0x1e8fbd);}get[_0x1762ac(0x1e1)](){const _0x2d2b13=_0x1762ac;return this[_0x2d2b13(0x1cd)][_0x2d2b13(0xd7)]();}get[_0x1762ac(0x12e)](){const _0x401b2d=_0x1762ac;return this[_0x401b2d(0x271)][_0x401b2d(0xd7)]();}['dispose'](){const _0x3ce260=_0x1762ac;super[_0x3ce260(0x1c0)](),this[_0x3ce260(0x1cd)][_0x3ce260(0x2c9)](new Map()),this[_0x3ce260(0x1cd)][_0x3ce260(0x1ef)](),this[_0x3ce260(0x271)][_0x3ce260(0x2c9)]([]),this[_0x3ce260(0x271)][_0x3ce260(0x1ef)]();}['init'](){const _0x645023=_0x1762ac;this[_0x645023(0x22f)]||(this['_init']=!0x0,this['_session']['sessionStatus$']['pipe'](_0x4e4cc7(this[_0x645023(0x27a)]))[_0x645023(0x221)](_0x248139=>{const _0x1e98f2=_0x645023;_0x248139===_0x3aef03[_0x1e98f2(0x1cb)]?this['_toggleOnline']():this[_0x1e98f2(0x264)]();}),this[_0x645023(0xdb)][_0x645023(0xf1)][_0x645023(0x29f)](_0x4e4cc7(this[_0x645023(0x27a)]))[_0x645023(0x221)](_0xa582bc=>{const _0x104153=_0x645023,_0x913d41=_0xa582bc['eventID'];_0x913d41===_0x5529e6['UPDATE_CURSOR']&&this[_0x104153(0x167)](_0xa582bc),_0x913d41===_0x5529e6[_0x104153(0x1a8)]&&this[_0x104153(0x1ab)](_0xa582bc);}),this['_onRefRangeChange'](),this[_0x645023(0x18b)](this['_commandService'][_0x645023(0x12c)](_0x39eab6=>{const _0x11a36e=_0x645023;if(this[_0x11a36e(0x1c6)]&&_0x39eab6['id']===_0x5acddb['id']&&_0x39eab6[_0x11a36e(0x20b)]['unitId']===this[_0x11a36e(0x188)]){const _0x477984=_0x39eab6[_0x11a36e(0x20b)];this[_0x11a36e(0x2c3)](_0x477984[_0x11a36e(0x298)],_0x477984[_0x11a36e(0x20c)][0x0]);}})));}[_0x1762ac(0x167)](_0x39354e){const _0x1e73cc=_0x1762ac;var _0x102bdc,_0x4941f2;const {memberID:_0x4f1932,selection:_0x3c3caf}=_0x39354e['data'],{sheetName:_0x38e55f,range:_0x2e1a37}=_0x4719c1(_0x3c3caf),_0x45c94b={'name':(_0x4941f2=(_0x102bdc=this[_0x1e73cc(0x1d2)][_0x1e73cc(0x200)](this[_0x1e73cc(0x188)],_0x4f1932))==null?void 0x0:_0x102bdc[_0x1e73cc(0x239)])!=null?_0x4941f2:_0x1e73cc(0x2af),'range':this[_0x1e73cc(0x21a)](_0x38e55f,_0x2e1a37),'sheetID':_0x38e55f,'color':this[_0x1e73cc(0x119)][_0x1e73cc(0x135)](_0x4f1932),'selection':_0x3c3caf},_0x5ba3a8=this[_0x1e73cc(0x1e1)];_0x5ba3a8[_0x1e73cc(0x1e2)](_0x4f1932,_0x45c94b),this['_cursorInfo$'][_0x1e73cc(0x2c9)](_0x5ba3a8);}[_0x1762ac(0x1ab)](_0x265e01){const _0x6a949c=_0x1762ac,{memberID:_0x23adbf}=_0x265e01['data'],_0x1f1c97=this[_0x6a949c(0x1e1)];_0x1f1c97[_0x6a949c(0x2d4)](_0x23adbf),this['_cursorInfo$'][_0x6a949c(0x2c9)](_0x1f1c97);}[_0x1762ac(0x21a)](_0x409074,_0x23a31d){const _0x6654ae=_0x1762ac;var _0x2cb42a,_0x476cce;const _0x626a1=(_0x476cce=(_0x2cb42a=this[_0x6654ae(0x1a4)][_0x6654ae(0x265)](this['unitID']))==null?void 0x0:_0x2cb42a[_0x6654ae(0x1f8)](_0x409074))==null?void 0x0:_0x476cce[_0x6654ae(0x242)]();return(_0x626a1==null?void 0x0:_0x626a1[_0x6654ae(0x1b8)](_0x37be0b=>_0x5574e0['contains'](_0x37be0b,_0x23a31d)))||_0x23a31d;}[_0x1762ac(0x19b)](){const _0x1df13c=_0x1762ac,_0x5774e4=new _0x2c13d8(),_0x1d648d=gi(),_0x53adb7=()=>{const _0x1cc717=_0x182c;_0x5774e4[_0x1cc717(0x1c0)]();const _0x3f0106=(_0x3198c7,_0xa7dee3,_0x3b495d,_0x2f6ee2)=>{const _0x23ca9d=_0x1cc717;let _0x5f419f=[];switch(_0x3198c7['id']){case _0x4b5112[_0x23ca9d(0xe1)]:{_0x5f419f=_0x1c5d98(_0x3198c7,_0x2f6ee2);break;}case _0x4b5112[_0x23ca9d(0x147)]:{_0x5f419f=_0x318c09(_0x3198c7,_0x2f6ee2);break;}case _0x4b5112[_0x23ca9d(0x192)]:{_0x5f419f=_0x487845(_0x3198c7,_0x2f6ee2);break;}case _0x4b5112[_0x23ca9d(0x1bb)]:{_0x5f419f=_0x33ec6b(_0x3198c7,_0x2f6ee2);break;}case _0x4b5112[_0x23ca9d(0x149)]:{_0x5f419f=_0x1db2ae(_0x3198c7,_0x2f6ee2);break;}case _0x4b5112[_0x23ca9d(0x26e)]:{_0x5f419f=_0x3de20b(_0x3198c7,_0x2f6ee2);break;}case _0x4b5112[_0x23ca9d(0x2d2)]:{_0x5f419f=_0x23980a(_0x3198c7,_0x2f6ee2);break;}case _0x4b5112[_0x23ca9d(0x146)]:{_0x5f419f=_0xf53ec0(_0x3198c7,_0x2f6ee2);break;}case _0x4b5112['RemoveRowCommandId']:{_0x5f419f=_0x43bb12(_0x3198c7,_0x2f6ee2);break;}}const _0x290037=_0x29d2ea(_0x5f419f,_0x2f6ee2),_0xf57f87=this[_0x23ca9d(0x1e1)][_0x23ca9d(0x29b)](_0xa7dee3);if(_0xf57f87&&_0x290037){const _0x161054={..._0xf57f87,'range':_0x290037};this[_0x23ca9d(0x1e1)][_0x23ca9d(0x1e2)](_0xa7dee3,_0x161054),_0x1d648d(()=>{const _0x29e0ac=_0x23ca9d,_0x26611e=this[_0x29e0ac(0x1e0)][_0x29e0ac(0xd0)](_0x290037,_0x3b09a1=>(_0x26611e['dispose'](),_0x3f0106(_0x3b09a1,_0xa7dee3,_0x3b495d,_0x290037)));_0x5774e4['add'](_0x26611e);});}return{'redos':[],'undos':[]};};this[_0x1cc717(0x1e1)]['forEach']((_0xa2c914,_0x2c77a8)=>{const _0x132a73=_0x1cc717,{range:_0x464468,sheetID:_0x5ca271}=_0xa2c914,_0x3a7571=this[_0x132a73(0x1e0)][_0x132a73(0xd0)](_0x464468,_0x174bd9=>(_0x3a7571[_0x132a73(0x1c0)](),_0x3f0106(_0x174bd9,_0x2c77a8,_0x5ca271,_0x464468)));_0x5774e4[_0x132a73(0x26c)](_0x3a7571);});};this[_0x1df13c(0x18b)](_0x498c8e(this['_cursorInfo$'][_0x1df13c(0x221)](()=>{_0x53adb7();})));}[_0x1762ac(0x205)](){const _0x2c412d=_0x1762ac;var _0x41b746,_0x243377;if(this[_0x2c412d(0x1c6)]=!0x0,((_0x41b746=this[_0x2c412d(0x1a4)][_0x2c412d(0x211)]())==null?void 0x0:_0x41b746[_0x2c412d(0x1f4)]())!==this[_0x2c412d(0x188)])return;const _0xcc58e6=(_0x243377=this[_0x2c412d(0x101)][_0x2c412d(0x29b)](_0x16c796)[_0x2c412d(0x132)]())==null?void 0x0:_0x243377[0x0],_0x3a49ee=this['_univerInstanceService'][_0x2c412d(0x150)](_0x4b3b5f[_0x2c412d(0x26a)])['getActiveSheet']();_0xcc58e6&&_0x3a49ee&&this[_0x2c412d(0x2c3)](_0x3a49ee[_0x2c412d(0x1c7)](),_0xcc58e6);}[_0x1762ac(0x264)](){const _0x4e71b3=_0x1762ac;this[_0x4e71b3(0x1c6)]=!0x1;}};function _0x182c(_0x3fcdc0,_0x27f69f){const _0x307984=_0x3079();return _0x182c=function(_0x182ceb,_0x3384d7){_0x182ceb=_0x182ceb-0xc6;let _0x3085dc=_0x307984[_0x182ceb];return _0x3085dc;},_0x182c(_0x3fcdc0,_0x27f69f);}Le=mi([x(0x2,_0x54b249(_0x486af7)),x(0x3,_0x54b249(He)),x(0x4,_0x54b249(_0x17ac4a)),x(0x5,_0x253376),x(0x6,_0x493ff1),x(0x7,_0x54b249(_0x7e52ab))],Le);var pi=Object[_0x1762ac(0x1cc)],Ci=(_0x1cb42a,_0x28aceb,_0x22235c,_0x454d38)=>{const _0x239944=_0x1762ac;for(var _0x5a843c=_0x454d38>0x1?void 0x0:_0x454d38?pi(_0x28aceb,_0x22235c):_0x28aceb,_0xb0a970=_0x1cb42a[_0x239944(0x196)]-0x1,_0x36f141;_0xb0a970>=0x0;_0xb0a970--)(_0x36f141=_0x1cb42a[_0xb0a970])&&(_0x5a843c=_0x36f141(_0x5a843c)||_0x5a843c);return _0x5a843c;},me=(_0x38cc60,_0x13fb9d)=>(_0x4cba6f,_0x465810)=>_0x13fb9d(_0x4cba6f,_0x465810,_0x38cc60);let F=class extends _0x28093b{constructor(_0x2b1aee,_0x548886,_0x467dc8){const _0x571ccf=_0x1762ac;super(),_(this,'_entities',new Map()),_(this,'_entityInit$',new _0x2dc4d3()),(this[_0x571ccf(0x1a4)]=_0x2b1aee,this['_injector']=_0x548886,this[_0x571ccf(0x227)]=_0x467dc8,this['_init']());}['dispose'](){const _0x32bba0=_0x1762ac;super[_0x32bba0(0x1c0)](),this[_0x32bba0(0x207)][_0x32bba0(0x1ef)](),this[_0x32bba0(0x21f)][_0x32bba0(0x14e)](_0x27f418=>_0x27f418[_0x32bba0(0x1c0)]());}[_0x1762ac(0x152)](_0x39458f){const _0x2b5d0f=_0x1762ac;return this['_entities'][_0x2b5d0f(0x13b)](_0x39458f)?this[_0x2b5d0f(0x21f)]['get'](_0x39458f)[_0x2b5d0f(0x17a)]:this[_0x2b5d0f(0x207)][_0x2b5d0f(0x29f)](_0x1a40ce(_0xcbadfa=>_0xcbadfa[_0x2b5d0f(0x188)]===_0x39458f),_0x1212d7(_0x1cd1bd=>_0x1cd1bd['cursorInfo$']));}['_init'](){const _0x2fb6c7=_0x1762ac;this[_0x2fb6c7(0x1a4)][_0x2fb6c7(0x23c)](_0x4b3b5f['UNIVER_SHEET'])[_0x2fb6c7(0x29f)](_0x4e4cc7(this['dispose$']))[_0x2fb6c7(0x221)](async _0xb77299=>{const _0x26634d=_0x2fb6c7,_0x13e509=_0xb77299[_0x26634d(0x1f4)](),_0x41f916=await this['_startSheetCollabCursor'](_0x13e509);this[_0x26634d(0x207)]['next'](_0x41f916),this[_0x26634d(0x21f)][_0x26634d(0x1e2)](_0x13e509,_0x41f916);}),this[_0x2fb6c7(0x1a4)][_0x2fb6c7(0x23c)](_0x4b3b5f[_0x2fb6c7(0x204)])[_0x2fb6c7(0x29f)](_0x4e4cc7(this[_0x2fb6c7(0x27a)]))[_0x2fb6c7(0x29f)](_0x1a40ce(_0x4e02ff=>!_0x4e02ff[_0x2fb6c7(0x1f4)]()[_0x2fb6c7(0x259)]('__')))[_0x2fb6c7(0x221)](async _0x17cdc7=>{const _0x56b974=_0x2fb6c7,_0x1912da=_0x17cdc7[_0x56b974(0x1f4)](),_0x1b165b=await this['_startDocCollabCursor'](_0x1912da);this['_entityInit$']['next'](_0x1b165b),this[_0x56b974(0x21f)][_0x56b974(0x1e2)](_0x1912da,_0x1b165b);}),_0x546c92(this[_0x2fb6c7(0x1a4)][_0x2fb6c7(0x157)](_0x4b3b5f['UNIVER_DOC']),this[_0x2fb6c7(0x1a4)][_0x2fb6c7(0x157)](_0x4b3b5f[_0x2fb6c7(0x26a)]))[_0x2fb6c7(0x29f)](_0x4e4cc7(this['dispose$']))[_0x2fb6c7(0x221)](_0xd9edb9=>{const _0x42bc2a=_0x2fb6c7,_0x4bcc8a=_0xd9edb9[_0x42bc2a(0x1f4)](),_0x53e01a=this['_entities']['get'](_0x4bcc8a);_0x53e01a&&(_0x53e01a[_0x42bc2a(0x1c0)](),this[_0x42bc2a(0x21f)][_0x42bc2a(0x2d4)](_0x4bcc8a));});}async[_0x1762ac(0x222)](_0x4afebc){const _0x5c8a73=_0x1762ac,_0x4af62f=await this[_0x5c8a73(0x227)]['requireSession'](_0x4afebc),_0x13287e=this[_0x5c8a73(0x101)][_0x5c8a73(0x2b9)](Le,_0x4afebc,_0x4af62f);return _0x13287e[_0x5c8a73(0x1ae)](),_0x13287e;}async[_0x1762ac(0x176)](_0x39d719){const _0x26a02f=_0x1762ac,_0x41b8c1=await this[_0x26a02f(0x227)][_0x26a02f(0x138)](_0x39d719),_0x47437f=this['_injector'][_0x26a02f(0x2b9)](Me,_0x39d719,_0x41b8c1);return _0x47437f[_0x26a02f(0x1ae)](),_0x47437f;}};F=Ci([me(0x0,_0x253376),me(0x1,_0x54b249(_0x486af7)),me(0x2,_0x54b249(_0x35a82b))],F);const te=0x14,qe=0xc8,Ie=0x4,Ei=0x5;function Oi(_0x188b09,_0x35a51b){const _0x104dd8=_0x1762ac;let {radius:_0x37f7c9,width:_0x203492,height:_0x3d9d43}=_0x35a51b;_0x37f7c9=_0x37f7c9!=null?_0x37f7c9:0x0,_0x203492=_0x203492!=null?_0x203492:0x1e,_0x3d9d43=_0x3d9d43!=null?_0x3d9d43:0x1e;let _0xd2878e=0x0,_0x3177a5=0x0,_0x20b178=0x0;_0xd2878e=_0x3177a5=_0x20b178=Math[_0x104dd8(0x1ba)](_0x37f7c9,_0x203492/0x2,_0x3d9d43/0x2),_0x188b09[_0x104dd8(0x126)](),_0x188b09[_0x104dd8(0x1b6)](_0xd2878e,0x0),_0x188b09[_0x104dd8(0xfe)](_0x203492-_0x3177a5,0x0),_0x188b09[_0x104dd8(0x11d)](_0x203492-_0x3177a5,_0x3177a5,_0x3177a5,Math['PI']*0x3/0x2,0x0,!0x1),_0x188b09[_0x104dd8(0xfe)](_0x203492,_0x3d9d43-_0x20b178),_0x188b09[_0x104dd8(0x11d)](_0x203492-_0x20b178,_0x3d9d43-_0x20b178,_0x20b178,0x0,Math['PI']/0x2,!0x1),_0x188b09[_0x104dd8(0xfe)](0x0,_0x3d9d43),_0x188b09[_0x104dd8(0xfe)](0x0,_0xd2878e),_0x188b09[_0x104dd8(0x11d)](_0xd2878e,_0xd2878e,_0xd2878e,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x188b09[_0x104dd8(0x24d)](),_0x35a51b['fill']&&(_0x188b09[_0x104dd8(0x24c)](),_0x188b09[_0x104dd8(0x18f)]=_0x35a51b[_0x104dd8(0x258)],_0x35a51b[_0x104dd8(0x158)]===_0x104dd8(0x19f)?_0x188b09[_0x104dd8(0x258)](_0x104dd8(0x19f)):_0x188b09[_0x104dd8(0x258)](),_0x188b09['restore']());}class ue extends _0x3df4f1{constructor(_0x58957d,_0x275245){const _0xccc644=_0x1762ac;super(_0x58957d,_0x275245),_(this,'color'),_(this,_0xccc644(0xc8)),(this['color']=_0x275245==null?void 0x0:_0x275245[_0xccc644(0x1f5)],this[_0xccc644(0xc8)]=_0x275245==null?void 0x0:_0x275245[_0xccc644(0xc8)]);}static[_0x1762ac(0x1a5)](_0x1103a8,_0x3c2d51){const _0x39eedb=_0x1762ac,{text:_0x27e3f1,color:_0x2eb433}=_0x3c2d51;_0x1103a8[_0x39eedb(0x24c)](),_0x1103a8[_0x39eedb(0x112)]=_0x39eedb(0xf8);const _0xeb4175=_0x1103a8[_0x39eedb(0x14b)](_0x27e3f1)[_0x39eedb(0x29d)],_0x581eb8=Math[_0x39eedb(0x1ba)](_0xeb4175+0x2*Ie,qe);Oi(_0x1103a8,{'height':te,'radius':0x4,'width':_0x581eb8,'fill':_0x2eb433}),_0x1103a8[_0x39eedb(0x18f)]=_0x39eedb(0x223);const _0x1cee90=Ie,_0x25794a=te-Ei,_0x3ab504=qe-0x2*Ie;if(_0xeb4175>_0x3ab504){let _0x11eb69='',_0x399950=0x0;for(const _0x2e2cbb of _0x27e3f1){const _0x3b22bb=_0x1103a8['measureText'](_0x2e2cbb)[_0x39eedb(0x29d)];if(_0x399950+_0x3b22bb<=_0x3ab504-_0x1103a8[_0x39eedb(0x14b)](_0x39eedb(0x1ed))[_0x39eedb(0x29d)])_0x11eb69+=_0x2e2cbb,_0x399950+=_0x3b22bb;else{_0x11eb69+=_0x39eedb(0x1ed);break;}}_0x1103a8[_0x39eedb(0x234)](_0x11eb69,_0x1cee90,_0x25794a);}else _0x1103a8[_0x39eedb(0x234)](_0x27e3f1,_0x1cee90,_0x25794a);_0x1103a8[_0x39eedb(0x263)]();}[_0x1762ac(0x292)](_0x76a953){const _0x169fa1=_0x1762ac;ue[_0x169fa1(0x1a5)](_0x76a953,this);}}const ve='collab-text-anchor-',bi=_0x1762ac(0x215),Ti=_0x1762ac(0x1e7),G=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x1762ac(0x1ce);function _0x3079(){const _0x28bed1=['map','hasOwnProperty','invokeId','MUTATION','OTHER_CLIENTS_EDITING','setParam','setItem','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','ranges','transformSelections','_refRangeService','cursorInfo','set','isEditing','EMAIL_HAS_BEEN_BOUND','_transformHistoryAndStateStack','clearTimeout','collab-rect-range-','registerBeforeClose','addEventListener','_unitOnClients','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','CONFLICT','...','_revisionService','complete','21WLthnI','WECHAT_HAS_BEEN_BOUND','univer-flex\x20univer-items-center','_scene','getUnitId','color','collaboration-client.offline-data-not-saved','_syncEditingCollabCursorService','getSheetBySheetId','_messageService','EMAIL_VERIFY_CODE_MISMATCH','_initStatusComponent','redoState','reconnect','MOBILE_VERIFY_CODE_MISMATCH','8154954ByMaVH','getMember','NOT_FOUND','getSkeleton','all','UNIVER_DOC','_toggleOnline','_handleJoinEvent','_entityInit$','INVITE_CODE_ALREADY_BOUND','backgroundColor','NOT_COLLAB','params','selections','loadUnit','_getScale','_cursors','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','getFocusedUnit','top','unit','_transformUndoRedoStack','collab-text-range-','_shapes','displayName','0\x200\x2017\x2016','561QZmjUI','_getMergeRange','addObject','_doCreateSocket','off-line-icon_clip0_910_343','[CollaborationDataLoaderController]','_entities','engine','subscribe','_startSheetCollabCursor','#FFF','_initEvent','some','setShapeProps','_collabSessionService','svg','unshift','_getSaveTimeout','_initStatusListener','ALREADY_EXISTS','_cursor','registerComponent','_init','_initEntityListener','use','INVITE_CODE_HAS_BEEN_UES','eventID','fillText','currentColor','_beforeCloseService','INVITE_CODE_REQUIRED','urlChange$','name','defs','getUndoRedoMutationParamsCache','getTypeOfUnitAdded$','registerRenderModule','_name','colorChannel1','bottom','0\x200\x2016\x2016','getMergeData','_dataLoaderService','_docStateChangeManagerService','stringify','location','replace','_drawTextRange','sheetID','loadOfflineData','size','save','closePath','LICENSE_IMPORT_SIZE_EXCEEDED','assign','352472avKiEV','getRangePointData','hide','_send','_range','_collabCursorController','YUUMI_CONNECTOR_URL_NOT_FOUND','purple.300','fill','startsWith','CONNECTOR_DATA_TOO_LARGE','send','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_docTransformSelectionsService','makeDirty','_hovered','currentTheme$','setTimeout','white','restore','_toggleOffline','getUniverSheetInstance','_createSocketURL','_color','_docSkeleton','transformRemoteChangeset','UNIVER_SHEET','prototype','add','transformByState','InsertRowCommandId','_commandService','call','_roomMembers$','data','setActiveRange','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_config','onTransformChange$','LICENSE_EXPORT_SIZE_EXCEEDED','getCurrent','SOCKET_FAILED_RETRY','dispose$','_docTransformStateCacheService','_heartbeatTimer','CHANGESET_REVISION_CONFILICT','m1Prime','USER_NOT_INVITED_CODE','APPLY_PERMISSION_DENIED','UNRECOGNIZED','deepClone','_id','CLOSE_ROOM','YUUMI_RATE_OVER_LIMIT','triggerDblclick','path','executionId','_initDependencies','row','4056060JZUJuA','getParam','addHandlerCallback','INTERNAL_ERROR','session.collaboration-timeout','collabStatus.fetchMiss','OFFLINE','_draw','_eventUnsubscribe','none','transformStateCache','saveOfflineData','getOffsetConfig','subUnitId','resize','collabCursorState$','get','then','width','FromArray','pipe','VIEW_MAIN','univerjs-icon\x20univerjs-icon-','startColumn','transformIMECache','OffLineIcon','_transformService','_httpService','source','from','TEXT','_getSessionTicket','_collaborationController','_imageIoService','YUUMI_AI_RUN_FAILED','clearInterval','Unknown\x20user','disableLocalCache','roomMembers$','sheetId','COMPLETION_FINISHED','storage','_lastPointer','with','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_initResize','createInstance','NO_OTHER_CLIENTS_EDITING','substring','docStateChange$','_renderManagerService','YUUMI_NO_CUBOID_FOR_QUESTION','enableLocalCache','_getSheetObject','div','apply','_updateLocalCursor','extend','_context','collabStatus.synced','getViewport','collabStatus.offline','next','range','column','whenReady','LICENSE_DISTRO_REJECTED','TOO_MANY_REQUESTS','28544mVUEQH','history','_initCommandExecutedListener','MoveRangeCommandId','_anchor','delete','saveImage','AWAITING','collabStatus.syncing','_notificationService','setUndoRedoMutationParamsCache','_registerRenderDependencies','text','LOGIN_FAILED','_selfUnitIDs','off-line-icon','_sheetSkeletonManagerService','body','_disabled','_backgroundColor','registerRefRange','FETCH_MISS','_urlService','collabStatus.notCollab','imageSourceType','_document','_collaborationUIEventService','getValue','endColumn','INVALID_ARGUMENT','toString','_session','2200304rdxAua','url(#$1','_docClipboardService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','INVALID_INVITE_CODE','DeleteRangeMoveLeftCommandId','_saveTaskMap','executeCommand','Failed','findNodePositionByCharIndex','UPDATE_CURSOR','_labelPosition','LICENSE_MAX_UNITS_EXCEEDED','type','entries','translate(.97)','_cachedData','exhaustSavingTask','string','_localCacheService','_hideTimer','event$','YUUMI_URL_COL_OUT_OF_RANGE','sessionStatus$','className','updateOfflineData','children','addClipboardHook','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_docSkeletonManagerService','8gncEPa','propertyIsEnumerable','search','collabStatus.conflict','lineTo','_collabCursorState$','_removeClearOtherTimer','_injector','replaceDocRanges','idSuffix','_localStorageService','permission.title','ENSURE_SNAPSHOT_EXECUTION','_textBubble','getOwnPropertySymbols','_unitStatus','SNAPSHOT_HAS_BEEN_REMOVED','_scheduleHeartbeat','_status$','disposeUnit','setAlpha','endRow','10hVnSiZ','origin','font','http://www.w3.org/2000/svg','_handleHover','_themeService','asObservable','unsubscribe','error','_colorAssignService','toRgbString','transformMutation','SNAPSHOT_INVALID_SNAPSHOT','arc','_removeCollabCursors','Warning','collaboration.closeRoom','isActive','tag','YUUMI_UNABLE_LOAD_URL','HEADER_MENU','_registerDependencies','beginPath','onPointerLeave$','editingUnit','APPLY_REVISION_CONFILICT','setInterval','push','onCommandExecuted','getCellPositionByOffset','roomMembers','getVpScrollXYInfoByPosToVp','popstate','_transformPreviousActiveRange','getCurrentSelections','getItem','entityInit$','assignAColorForMemberID','collaboration.single-unit.warning','_uiPartsService','requireSession','_drawAnchor','show','has','yellow.400','uni.network.url-service','SUBMIT_CHANGESET_TIMEOUT','OTHER_CLIENT_EDITING','APPLY_DUPLICATED','trim','attrs','OnLineIcon','getAncestorScale','mutations','RemoveColCommandId','DeleteRangeMoveUpCommandId','clipPath','InsertRangeMoveRightCommandId','searchParams','measureText','_scheduleClearOtherTimer','MOBILE_HAS_BEEN_BOUND','forEach','xlink:href','getCurrentUnitForType','/run/','getCollabCursors$','ACTIVE_UNIT_EVENT_CHANNEL','red.300','defineProperty','_handleLeaveEvent','getTypeOfUnitDisposed$','fillRule','replaceState','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','doc.mutation.rich-text-editing','APPLY_REJECT','url(#off-line-icon_clip0_910_343)','_setupSubUnitSync','indexOf','UniverIcon','_handleHeartbeatEvent','icon','_handleEvent','_getAnchorBounding','symbol','parse','_onCursorUpdate','getColorFromTheme','unitId','debug','_cursorShapes','addObjects','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','71011809XSoMiK','RECT','_configService','black','_assignedColors','_render','getRenderById','url(#on-line-icon_clip0_910_349)','_startDocCollabCursor','getDocRanges','PENDING','_drawRectRange','cursorInfo$','concat','_docTransformIMECacheService','code','_setupBeforeClosingHandler','PERMISSION_DENIED','mask','random','getCollabEntity$','UNAUTHENTICATED','getStateCache','_saveCache','textRanges','univer-mr-2\x20univer-flex\x20univer-text-xl','unitID','onPointerEnter$','status$','disposeWithMe','_colorIndex','APPLY_NON_SEQUENTIAL_REVISION','round','fillStyle','1779084mrareD','SOCKET_FAILED','InsertColCommandId','includes','session.will-retry','activeSheet$','length','session.connection-failed','subscribeEvent','function','subunit','_onRefRangeChange','saveTaskMap','_updateCollabCursors','getRelativeToViewportCoord','evenodd','newValue','onStarting','jiqing.500','_refreshCollabCursors','_univerInstanceService','drawWith','values','_docSyncEditingCollabCursorService','USERS_LEAVE','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_instanceService','_onCursorDelete','currentSkeleton$','YUUMI_SUBSCRIPTION_NOT_FOUND','init','getMemberID','_ensureSubject','getUnitStatus$','1em','wsSessionTicketUrl','UNDEFINED','_anchorDot','moveTo','height','find','_hover','min','InsertRangeMoveDownCommandId','JOIN_ROOM_FAILED','isArray','onMouseMove','_updateURLWithCurrentState','dispose','_clearOtherTimers','PY_RUNTIME_SCRIPT_ERROR','_localeService','href','defIds','_online','getSheetId','m2Prime','_scheduleSaving','runId','ONLINE','getOwnPropertyDescriptor','_cursorInfo$','rgba(255,\x20255,\x20255,\x200.01)','selection','_logService','pushState','_memberService','transformMutationsWithChangeset','syncEditingCollabCursor','getActiveSheet'];_0x3079=function(){return _0x28bed1;};return _0x3079();}class et{constructor(_0x3e622e,_0xbc1d2b,_0x44989b,_0x45483e){const _0x1010f3=_0x1762ac;_(this,_0x1010f3(0x216),[]),_(this,_0x1010f3(0x2d3),null),_(this,_0x1010f3(0x107),null),_(this,_0x1010f3(0x1b5),null),_(this,_0x1010f3(0xf0),null),_(this,_0x1010f3(0x293),null),(this[_0x1010f3(0x22d)]=_0x3e622e,this[_0x1010f3(0x1f3)]=_0xbc1d2b,this[_0x1010f3(0x268)]=_0x44989b,this[_0x1010f3(0xd5)]=_0x45483e,this['_render']());}set[_0x1762ac(0x1b9)](_0x348220){const _0x4848ee=_0x1762ac;_0x348220?(this['_anchorDot']&&this[_0x4848ee(0x1b5)][_0x4848ee(0x252)](),this[_0x4848ee(0x107)]&&this['_textBubble'][_0x4848ee(0x13a)]()):(this['_anchorDot']&&this['_anchorDot']['show'](),this[_0x4848ee(0x107)]&&this['_textBubble'][_0x4848ee(0x252)]());}[_0x1762ac(0x1c0)](){const _0x2c4ab0=_0x1762ac;for(const _0x4bad35 of this[_0x2c4ab0(0x216)])_0x4bad35[_0x2c4ab0(0x1c0)]();this[_0x2c4ab0(0x107)]&&this[_0x2c4ab0(0x107)]['dispose'](),this[_0x2c4ab0(0x1b5)]&&this['_anchorDot']['dispose'](),this[_0x2c4ab0(0x2d3)]&&this['_anchor'][_0x2c4ab0(0x1c0)](),this[_0x2c4ab0(0x293)]&&this[_0x2c4ab0(0x293)]();}[_0x1762ac(0x173)](){const _0x3a7ca1=_0x1762ac;var _0x5debed;const {_docSkeleton:_0x5070c1,_document:_0x499691}=this,{color:_0x3ff9ee,name:_0xd3cb64,ranges:_0x292182}=this[_0x3a7ca1(0x22d)],_0x37ab30=_0x499691[_0x3a7ca1(0x297)](),{docsLeft:_0x1275e8,docsTop:_0x27fbae}=_0x37ab30,_0x28dd3c=new _0x2af9c4(_0x37ab30,_0x5070c1);for(const {startOffset:_0x339118,endOffset:_0x540bd6,rangeType:_0x43a291,segmentId:_0x479fce,segmentPage:_0x3d5d1f,collapsed:_0x46b5e2,isActive:_0x3c3c33}of _0x292182){const _0x14fece=_0x5070c1[_0x3a7ca1(0xe5)](_0x339118,!0x0,_0x479fce,_0x3d5d1f);let _0x5af286=_0x5070c1['findNodePositionByCharIndex'](_0x540bd6,!0x0,_0x479fce,_0x3d5d1f);if(_0x5af286==null&&(_0x5af286=_0x5070c1['findNodePositionByCharIndex'](_0x540bd6-0x1,!0x1,_0x479fce,_0x3d5d1f)),_0x3c3c33){const {contentBoxPointGroup:_0x2ad341}=_0x28dd3c[_0x3a7ca1(0x251)](_0x5af286,_0x5af286);if(_0x2ad341[_0x3a7ca1(0x196)]===0x0)continue;this[_0x3a7ca1(0x139)](_0x3ff9ee,_0x2ad341,_0x1275e8,_0x27fbae,_0xd3cb64),this[_0x3a7ca1(0x293)]=this[_0x3a7ca1(0x114)]();}if(_0x14fece&&_0x5af286){if(_0x43a291===_0x19c392[_0x3a7ca1(0x16f)]){const _0x29cc2=new _0x48a22d(_0x37ab30,_0x5070c1),{pointGroup:_0x54c2cc}=(_0x5debed=_0x29cc2[_0x3a7ca1(0x251)](_0x14fece,_0x5af286))!=null?_0x5debed:{};if(_0x54c2cc==null||_0x54c2cc['length']===0x0)continue;this[_0x3a7ca1(0x179)](_0x3ff9ee,_0x54c2cc,_0x1275e8,_0x27fbae);}else{if(!_0x46b5e2){const {borderBoxPointGroup:_0x44e3d6}=_0x28dd3c['getRangePointData'](_0x14fece,_0x5af286);if(_0x44e3d6[_0x3a7ca1(0x196)]===0x0)continue;this[_0x3a7ca1(0x248)](_0x3ff9ee,_0x44e3d6,_0x1275e8,_0x27fbae);}}}}}['_drawAnchor'](_0x3f53b0,_0x84eb63,_0xd8e47,_0x5b7a01,_0x3a45df){const _0x1d28fc=_0x1762ac,_0x175ab3=this[_0x1d28fc(0x164)](_0x84eb63),{left:_0x1f2d21,top:_0x41a0b8,height:_0x271b4c}=_0x175ab3,_0x59e394=this[_0x1d28fc(0x20e)](),_0x115946=Di/_0x59e394,_0x8a8a88=new _0x229dee(ve+_0x4a9b37(G),{'left':_0x1f2d21+_0xd8e47-_0x115946,'top':_0x41a0b8+_0x5b7a01,'height':_0x271b4c,'width':Ri,'fill':_0x3f53b0||_0x3870a3(_0x139b87[_0x1d28fc(0x171)],0x0),'strokeWidth':_0x115946,'stroke':Ni,'evented':!0x0});this[_0x1d28fc(0x2d3)]=_0x8a8a88,this['_scene'][_0x1d28fc(0x21b)](_0x8a8a88,_0x358fff);const _0x5f1d1a=new _0x229dee(ve+_0x4a9b37(G),{'left':_0x1f2d21+_0xd8e47-_0x115946,'top':_0x41a0b8+_0x5b7a01-ge/0x2,'height':ge,'width':ge,'fill':_0x3f53b0||_0x3870a3(_0x139b87['black'],0x0),'strokeWidth':0x0,'stroke':_0x3f53b0||_0x3870a3(_0x139b87[_0x1d28fc(0x171)],0x0),'evented':!0x1});this[_0x1d28fc(0x1b5)]=_0x5f1d1a,this[_0x1d28fc(0x1f3)][_0x1d28fc(0x21b)](_0x5f1d1a,_0x358fff);const _0x500f17=new ue(ve+_0x4a9b37(G),{'left':_0x1f2d21+_0xd8e47-_0x115946,'top':_0x41a0b8+_0x5b7a01-te,'text':_0x3a45df,'color':_0x3f53b0});this[_0x1d28fc(0x107)]=_0x500f17,this[_0x1d28fc(0x1f3)]['addObject'](_0x500f17,_0x358fff),this['_hover']=!0x1;}[_0x1762ac(0x114)](){const _0x326654=_0x1762ac,_0x304589=this['_anchor'][_0x326654(0x189)][_0x326654(0x198)](()=>{const _0x2dd22b=_0x326654;this[_0x2dd22b(0x1b9)]=!0x0;}),_0x2c1abb=this[_0x326654(0x2d3)][_0x326654(0x127)][_0x326654(0x198)](()=>{const _0x4af4a7=_0x326654;this[_0x4af4a7(0xf0)]&&clearTimeout(this[_0x4af4a7(0xf0)]),this[_0x4af4a7(0xf0)]=setTimeout(()=>{const _0x29a9d6=_0x4af4a7;this[_0x29a9d6(0x1b9)]=!0x1;},0x7d0);});return()=>{const _0x36755e=_0x326654;_0x304589[_0x36755e(0x117)](),_0x2c1abb[_0x36755e(0x117)]();};}['_drawTextRange'](_0x2c340d,_0xff6cb5,_0x5b81d0,_0x4486a0){const _0x120660=_0x1762ac,_0x3f806d=new _0x571d65(_0x2c340d)['setAlpha'](0.2)[_0x120660(0x11a)](),_0x5e46b8=new _0x5c8380(bi+_0x4a9b37(G),{'pointsGroup':_0xff6cb5,'fill':_0x3f806d||_0x3870a3(_0x139b87['black'],0.2),'left':_0x5b81d0,'top':_0x4486a0,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x120660(0x216)][_0x120660(0x12b)](_0x5e46b8),this['_scene'][_0x120660(0x21b)](_0x5e46b8,_0x358fff);}[_0x1762ac(0x179)](_0x300ff6,_0x3b48e4,_0x4ff83b,_0x4e363a){const _0x57723c=_0x1762ac,_0x2d3d1a=new _0x571d65(_0x300ff6)[_0x57723c(0x10e)](0.2)[_0x57723c(0x11a)](),_0x24f5bc=new _0x5c8380(Ti+_0x4a9b37(G),{'pointsGroup':_0x3b48e4,'fill':_0x2d3d1a||_0x3870a3(_0x139b87['black'],0.2),'left':_0x4ff83b,'top':_0x4e363a,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x57723c(0x12b)](_0x24f5bc),this[_0x57723c(0x1f3)][_0x57723c(0x21b)](_0x24f5bc,_0x358fff);}[_0x1762ac(0x164)](_0x5c543a){const _0x30089b=_0x5c543a[0x0],_0x3d206b=_0x30089b[0x0],_0x51467f=_0x30089b[0x2],{x:_0x23ab70,y:_0xd5f35d}=_0x3d206b,{x:_0x40819f,y:_0x532838}=_0x51467f;return{'left':_0x23ab70,'top':_0xd5f35d,'width':_0x40819f-_0x23ab70,'height':_0x532838-_0xd5f35d};}[_0x1762ac(0x20e)](){const _0x5829b1=_0x1762ac,{scaleX:_0x4679ed,scaleY:_0x2b2367}=this[_0x5829b1(0x1f3)][_0x5829b1(0x144)]();return Math['max'](_0x4679ed,_0x2b2367);}}var Ui=Object['getOwnPropertyDescriptor'],Mi=(_0x23a316,_0x551acc,_0x50df53,_0x2f24a6)=>{for(var _0x46358b=_0x2f24a6>0x1?void 0x0:_0x2f24a6?Ui(_0x551acc,_0x50df53):_0x551acc,_0x55dadc=_0x23a316['length']-0x1,_0x1007c4;_0x55dadc>=0x0;_0x55dadc--)(_0x1007c4=_0x23a316[_0x55dadc])&&(_0x46358b=_0x1007c4(_0x46358b)||_0x46358b);return _0x46358b;},Q=(_0x13dd4a,_0x169d1f)=>(_0x369c35,_0x4a2c91)=>_0x169d1f(_0x369c35,_0x4a2c91,_0x13dd4a);let Pe=class extends _0x28093b{constructor(_0x45e582,_0x54a11c,_0x27df3e,_0x3436d7,_0x5e48af){const _0x397dca=_0x1762ac;super(),_(this,_0x397dca(0x16b),[]),_(this,'_cursors',[]),(this[_0x397dca(0x2c5)]=_0x45e582,this['_docSkeletonManagerService']=_0x54a11c,this[_0x397dca(0x255)]=_0x27df3e,this['_commandService']=_0x3436d7,this[_0x397dca(0x115)]=_0x5e48af,this['_init']());}[_0x1762ac(0x22f)](){const _0x1ad086=_0x1762ac,_0xa5b1b3=this[_0x1ad086(0x2c5)][_0x1ad086(0x169)],_0x558f66=this[_0x1ad086(0xf9)];this['disposeWithMe'](_0x2fe031([this[_0x1ad086(0x255)][_0x1ad086(0x152)](_0xa5b1b3),this[_0x1ad086(0x115)][_0x1ad086(0x260)]])[_0x1ad086(0x29f)](_0x1e7205(([_0x210333,_0x1d6afa])=>({'skeleton':_0x558f66[_0x1ad086(0x202)](),'cursors':[..._0x210333[_0x1ad086(0x1a6)]()]['flatMap'](_0x5c5b04=>({..._0x5c5b04,'color':this[_0x1ad086(0x115)][_0x1ad086(0x168)](_0x5c5b04[_0x1ad086(0x1f5)])}))})))[_0x1ad086(0x221)](_0x4a1469=>{const _0x5c9811=_0x1ad086;if(this[_0x5c9811(0x11e)](),_0x4a1469){const {skeleton:_0xa70d96,cursors:_0x4b70dd}=_0x4a1469;this[_0x5c9811(0x19d)](_0xa70d96,_0x4b70dd);}})),this[_0x1ad086(0x2b8)](),this[_0x1ad086(0x2d1)]();}[_0x1762ac(0x19d)](_0x366174,_0x33bd93){const _0x3bd24c=_0x1762ac,{scene:_0x14b2ee,mainComponent:_0x137d47}=this[_0x3bd24c(0x2c5)],_0x2dffe0=_0x33bd93[_0x3bd24c(0x1d6)](_0x290c50=>new et(_0x290c50,_0x14b2ee,_0x366174,_0x137d47));this['_cursorShapes']=_0x2dffe0,this['_cursors']=_0x33bd93;}[_0x1762ac(0x1a3)](){const _0x552a99=_0x1762ac;this[_0x552a99(0x11e)]();const {scene:_0x709c16,mainComponent:_0x230693}=this[_0x552a99(0x2c5)],_0x3ed16b=this[_0x552a99(0xf9)]['getSkeleton'](),_0x2fbe20=this[_0x552a99(0x20f)]['map'](_0x4da4bc=>new et(_0x4da4bc,_0x709c16,_0x3ed16b,_0x230693));this['_cursorShapes']=_0x2fbe20;}['_removeCollabCursors'](){const _0x34a1f2=_0x1762ac;this[_0x34a1f2(0x16b)]['forEach'](_0x25a505=>_0x25a505[_0x34a1f2(0x1c0)]()),this[_0x34a1f2(0x16b)]=[];}[_0x1762ac(0x2d1)](){const _0x229b20=_0x1762ac,_0x73713b=[_0xa5c5c9['id']];this[_0x229b20(0x18b)](this[_0x229b20(0x26f)][_0x229b20(0x12c)](_0x33ad7e=>{const _0x1be3f0=_0x229b20;_0x73713b[_0x1be3f0(0x193)](_0x33ad7e['id'])&&_0x33ad7e[_0x1be3f0(0x20b)]['unitId']===this[_0x1be3f0(0x2c5)][_0x1be3f0(0x169)]&&this[_0x1be3f0(0x1a3)]();}));}[_0x1762ac(0x2b8)](){const _0x359659=_0x1762ac;this[_0x359659(0x18b)](_0x148b09(this['_context'][_0x359659(0x220)][_0x359659(0x276)])['pipe'](_0x11116a(_0xe3b99c=>_0xe3b99c[_0x359659(0xe9)]===_0x581398[_0x359659(0x299)]),_0x517bcf(0x10))[_0x359659(0x221)](()=>{this['_refreshCollabCursors']();}));}};Pe=Mi([Q(0x1,_0x54b249(_0x231129)),Q(0x2,_0x54b249(F)),Q(0x3,_0x493ff1),Q(0x4,_0x54b249(_0x2a7414))],Pe);const Li=0x1,Pi=1.5;class wi extends _0x3df4f1{constructor(_0x2407a8,_0x289088){const _0x18cddf=_0x1762ac;super(_0x2407a8,_0x289088),_(this,_0x18cddf(0x267)),_(this,_0x18cddf(0x25f),!0x1),_(this,_0x18cddf(0x254)),_(this,_0x18cddf(0x23e),''),_(this,_0x18cddf(0xe7),_0x18cddf(0x212)),_(this,_0x18cddf(0xcf)),(_0x289088&&this[_0x18cddf(0x226)](_0x289088),this[_0x18cddf(0x189)][_0x18cddf(0x198)](()=>this[_0x18cddf(0x226)]({'hovered':!0x0})),this[_0x18cddf(0x127)][_0x18cddf(0x198)](()=>this[_0x18cddf(0x226)]({'hovered':!0x1})));}[_0x1762ac(0x226)](_0x22190b){const _0x394e01=_0x1762ac;var _0xbd2f3c,_0x162993,_0x578442,_0x4dbce9,_0x2ff009,_0x794403;this[_0x394e01(0x267)]=(_0xbd2f3c=_0x22190b['color'])!=null?_0xbd2f3c:this[_0x394e01(0x267)],this[_0x394e01(0x25f)]=(_0x162993=_0x22190b['hovered'])!=null?_0x162993:this[_0x394e01(0x25f)],this[_0x394e01(0x254)]=(_0x578442=_0x22190b['range'])!=null?_0x578442:this[_0x394e01(0x254)],this['_name']=(_0x4dbce9=_0x22190b[_0x394e01(0x239)])!=null?_0x4dbce9:this[_0x394e01(0x23e)],this[_0x394e01(0xe7)]=(_0x2ff009=_0x22190b['labelPosition'])!=null?_0x2ff009:this[_0x394e01(0xe7)],this[_0x394e01(0xcf)]=(_0x794403=_0x22190b[_0x394e01(0x209)])!=null?_0x794403:this[_0x394e01(0xcf)],this[_0x394e01(0x26d)]({'width':_0x22190b[_0x394e01(0x29d)],'height':_0x22190b[_0x394e01(0x1b7)]});}[_0x1762ac(0x1be)](_0x37c557){const _0x32e01d=_0x1762ac,{row:_0x181a76,column:_0x119256}=_0x37c557;if(_0x181a76>=this[_0x32e01d(0x254)]['startRow']&&_0x181a76<=this[_0x32e01d(0x254)][_0x32e01d(0x10f)]&&_0x119256>=this[_0x32e01d(0x254)][_0x32e01d(0x2a2)]&&_0x119256<=this[_0x32e01d(0x254)][_0x32e01d(0xd8)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x32e01d(0x226)]({'hovered':!0x1});}[_0x1762ac(0x286)](_0x5f498d){return!0x1;}[_0x1762ac(0x292)](_0x1622b3){const _0x53ece6=_0x1762ac;_0x229dee['drawWith'](_0x1622b3,{'width':this[_0x53ece6(0x29d)],'height':this[_0x53ece6(0x1b7)],'strokeWidth':Pi,'stroke':this[_0x53ece6(0x267)],'evented':!0x1,'fill':this[_0x53ece6(0xcf)]}),this[_0x53ece6(0x25f)]&&(_0x1622b3[_0x53ece6(0x24c)](),_0x1622b3['transform'](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x53ece6(0x240)?0x0:-0x14),ue[_0x53ece6(0x1a5)](_0x1622b3,{'text':this[_0x53ece6(0x23e)],'color':this[_0x53ece6(0x267)]}),_0x1622b3[_0x53ece6(0x263)]());}}var Ai=Object[_0x1762ac(0x1cc)],yi=(_0xd89016,_0x29a97d,_0x40a986,_0x30072e)=>{const _0x5405c6=_0x1762ac;for(var _0x20276a=_0x30072e>0x1?void 0x0:_0x30072e?Ai(_0x29a97d,_0x40a986):_0x29a97d,_0x316cf4=_0xd89016[_0x5405c6(0x196)]-0x1,_0x38f296;_0x316cf4>=0x0;_0x316cf4--)(_0x38f296=_0xd89016[_0x316cf4])&&(_0x20276a=_0x38f296(_0x20276a)||_0x20276a);return _0x20276a;},pe=(_0x2ce239,_0x48135f)=>(_0x3bce26,_0xaf4c51)=>_0x48135f(_0x3bce26,_0xaf4c51,_0x2ce239);const $i=0x1389;let we=class extends _0x28093b{constructor(_0x468e53,_0x1c8fb3,_0x285cc4,_0x22f76a){const _0x59901a=_0x1762ac;super(),_(this,_0x59901a(0x20f),new Set()),_(this,_0x59901a(0x2b5),null),(this[_0x59901a(0x2c5)]=_0x468e53,this[_0x59901a(0xcc)]=_0x1c8fb3,this[_0x59901a(0x255)]=_0x285cc4,this[_0x59901a(0x115)]=_0x22f76a,this[_0x59901a(0x22f)]());}[_0x1762ac(0x22f)](){const _0x46f47f=_0x1762ac;this[_0x46f47f(0xcc)][_0x46f47f(0x1ac)][_0x46f47f(0x29f)](_0x3575aa(this[_0x46f47f(0x27a)]),_0x2fc8f7(_0x57cedf=>{const _0x447d5a=_0x46f47f;if(_0x57cedf){const _0x2a2bc8=_0x57cedf[_0x447d5a(0x2b2)];return _0x2fe031(this[_0x447d5a(0x255)][_0x447d5a(0x152)](this[_0x447d5a(0x2c5)][_0x447d5a(0x169)]),this[_0x447d5a(0x115)]['currentTheme$'])['pipe'](_0x1e7205(([_0x5c1a6a,_0x225c5b])=>{const _0x416420=_0x447d5a,_0x407432=new Map();return _0x5c1a6a[_0x416420(0x14e)]((_0x2e55f7,_0x1963ed)=>{const _0x2016aa=_0x416420;if(_0x2e55f7[_0x2016aa(0x249)]===_0x2a2bc8){const _0xd5a283={..._0x2e55f7};_0xd5a283[_0x2016aa(0x1f5)]=this['_themeService']['getColorFromTheme'](_0x2e55f7[_0x2016aa(0x1f5)]),_0x407432['set'](_0x1963ed,_0xd5a283);}}),{'skeleton':_0x57cedf,'cursors':_0x407432};}));}return _0x10a367({'skeleton':null,'cursors':new Map()});}))[_0x46f47f(0x221)](({skeleton:_0x3b300d,cursors:_0x5cd7dd})=>{const _0x220809=_0x46f47f;this[_0x220809(0x11e)](),_0x3b300d&&this[_0x220809(0x19d)](_0x3b300d,_0x5cd7dd);}),this['_sheetSkeletonManagerService'][_0x46f47f(0x1ac)][_0x46f47f(0x221)](_0x2d7867=>{if(_0x2d7867==null)return;const {skeleton:_0x5854b8}=_0x2d7867,{scene:_0x268cb0}=this['_context'];_0x268cb0['onPointerMove$']['subscribeEvent'](_0x2d6ca4(_0x47997b=>{const _0x128fb9=_0x182c;var _0x249ee6,_0xa858b9;const {offsetX:_0x229b81,offsetY:_0x36c063}=_0x47997b,{x:_0x4694f3,y:_0x23c46c}=_0x268cb0[_0x128fb9(0x19e)](_0x1ffb33[_0x128fb9(0x29e)]([_0x229b81,_0x36c063])),{scaleX:_0x592c6c,scaleY:_0x4ab90f}=_0x268cb0[_0x128fb9(0x144)](),_0x2a7cea=_0x268cb0[_0x128fb9(0x2c7)](_0x16fe4e[_0x128fb9(0x2a0)]),_0x502b31=_0x268cb0[_0x128fb9(0x12f)](_0x1ffb33[_0x128fb9(0x29e)]([_0x4694f3,_0x23c46c]),_0x2a7cea),_0x1aa057=_0x5854b8[_0x128fb9(0x12d)](_0x229b81,_0x36c063,_0x592c6c,_0x4ab90f,_0x502b31);((_0x249ee6=this['_lastPointer'])==null?void 0x0:_0x249ee6['column'])===_0x1aa057[_0x128fb9(0x2cb)]&&((_0xa858b9=this[_0x128fb9(0x2b5)])==null?void 0x0:_0xa858b9[_0x128fb9(0x28a)])===_0x1aa057[_0x128fb9(0x28a)]||this[_0x128fb9(0x20f)][_0x128fb9(0x14e)](_0x5e5e54=>{const _0x2337b2=_0x128fb9;_0x5e5e54[_0x2337b2(0x1be)](_0x1aa057);});},0x64));});}[_0x1762ac(0x19d)](_0x131f2e,_0xab0c22){const _0x2f9bfd=_0x1762ac;var _0x1dfd7d;const _0x509a37=(_0x1dfd7d=this['_sheetSkeletonManagerService'][_0x2f9bfd(0x278)]())==null?void 0x0:_0x1dfd7d['skeleton'];if(!_0x509a37)return;const _0x44c9bb=this['_getSheetObject']();if(!_0x44c9bb)return;this['_cursors']['forEach'](_0x16ff99=>{const _0x1daa92=_0x2f9bfd;_0x16ff99[_0x1daa92(0x25e)]();});const {scene:_0x42deaa}=_0x44c9bb,_0x5ace05=xi(Array['from'](_0xab0c22[_0x2f9bfd(0x1a6)]()))['map'](_0x47e65d=>{const _0x35cb8c=_0x2f9bfd,{color:_0x88c92,range:_0x2c0ecf,name:_0x1ed975,selection:_0x5a6820,sheetID:_0x397864}=_0x47e65d,{startColumn:_0xe75856,startRow:_0x44d89d,endColumn:_0x2c55a4,endRow:_0x4dca19}=_0x2c0ecf,_0x1ebadb=_0x2a7612(_0x44d89d,_0xe75856,_0x42deaa,_0x509a37),_0x1e3229=_0x2a7612(_0x4dca19,_0x2c55a4,_0x42deaa,_0x509a37),{columnHeaderHeightAndMarginTop:_0x4a7bb3}=_0x509a37,{startX:_0x1ce70a,startY:_0x3b7d13}=_0x1ebadb,{endX:_0x20e83f,endY:_0x37cbb7}=_0x1e3229,_0x3aa5a9=_0x20e83f-_0x1ce70a,_0x4e4979=_0x37cbb7-_0x3b7d13,_0x30ab39={'labelPosition':_0x3b7d13-_0x4a7bb3>=te?_0x35cb8c(0x212):_0x35cb8c(0x240),'sheetID':_0x397864,'range':_0x2c0ecf,'color':_0x88c92,'name':_0x1ed975,'selection':_0x5a6820,'left':_0x1ce70a,'top':_0x3b7d13,'width':_0x3aa5a9,'height':_0x4e4979,'evented':!0x1,'zIndex':$i};return new wi(_0x1ed975,_0x30ab39);});_0x42deaa[_0x2f9bfd(0x16c)](_0x5ace05,Li),this[_0x2f9bfd(0x20f)]=new Set(_0x5ace05);}[_0x1762ac(0x11e)](){const _0x543af1=_0x1762ac;var _0x6959be;(_0x6959be=this[_0x543af1(0x20f)])==null||_0x6959be[_0x543af1(0x14e)](_0x31fe4a=>_0x31fe4a[_0x543af1(0x1c0)]());}[_0x1762ac(0x2c0)](){const _0x4530e3=_0x1762ac;return _0x445e13(this['_context'][_0x4530e3(0x213)],this[_0x4530e3(0x2c5)]);}};we=yi([pe(0x1,_0x54b249(_0x93c63e)),pe(0x2,_0x54b249(F)),pe(0x3,_0x54b249(_0x2a7414))],we);function xi(_0x2ba29f){const _0x3b4d2f=_0x1762ac,_0x4f173d=new Map();return _0x2ba29f['forEach'](_0x396fe1=>{const _0x37227e=_0x182c;if(_0x4f173d['has'](_0x396fe1[_0x37227e(0x1cf)])){const _0x38f31c=_0x4f173d[_0x37227e(0x29b)](_0x396fe1['selection']);_0x38f31c['name']+=',\x20'+_0x396fe1[_0x37227e(0x239)];}else _0x4f173d[_0x37227e(0x1e2)](_0x396fe1[_0x37227e(0x1cf)],_0x396fe1);}),Array[_0x3b4d2f(0x2a8)](_0x4f173d[_0x3b4d2f(0x1a6)]());}var v=function(){const _0x374cad=_0x1762ac;return v=Object[_0x374cad(0x24f)]||function(_0x11ce4d){const _0x2cf76c=_0x374cad;for(var _0x5b7443,_0x3d222c=0x1,_0x405994=arguments[_0x2cf76c(0x196)];_0x3d222c<_0x405994;_0x3d222c++){_0x5b7443=arguments[_0x3d222c];for(var _0x3ff31a in _0x5b7443)Object[_0x2cf76c(0x26b)][_0x2cf76c(0x1d7)][_0x2cf76c(0x270)](_0x5b7443,_0x3ff31a)&&(_0x11ce4d[_0x3ff31a]=_0x5b7443[_0x3ff31a]);}return _0x11ce4d;},v[_0x374cad(0x2c2)](this,arguments);},Bi=function(_0x1df6f2,_0x18e637){const _0x191f47=_0x1762ac;var _0xeb6629={};for(var _0x322187 in _0x1df6f2)Object[_0x191f47(0x26b)][_0x191f47(0x1d7)][_0x191f47(0x270)](_0x1df6f2,_0x322187)&&_0x18e637['indexOf'](_0x322187)<0x0&&(_0xeb6629[_0x322187]=_0x1df6f2[_0x322187]);if(_0x1df6f2!=null&&typeof Object[_0x191f47(0x108)]==_0x191f47(0x199)){for(var _0x2c05ab=0x0,_0x322187=Object[_0x191f47(0x108)](_0x1df6f2);_0x2c05ab<_0x322187[_0x191f47(0x196)];_0x2c05ab++)_0x18e637[_0x191f47(0x15f)](_0x322187[_0x2c05ab])<0x0&&Object[_0x191f47(0x26b)][_0x191f47(0xfb)][_0x191f47(0x270)](_0x1df6f2,_0x322187[_0x2c05ab])&&(_0xeb6629[_0x322187[_0x2c05ab]]=_0x1df6f2[_0x322187[_0x2c05ab]]);}return _0xeb6629;},Ye=_0x78afa1(function(_0x2cb889,_0x5c3caf){const _0x1f554d=_0x1762ac;var _0x137f98=_0x2cb889[_0x1f554d(0x162)],_0x51f36a=_0x2cb889['id'],_0x35d815=_0x2cb889[_0x1f554d(0xf4)],_0x34a30c=_0x2cb889[_0x1f554d(0x2c4)],_0x1e8082=Bi(_0x2cb889,[_0x1f554d(0x162),'id','className',_0x1f554d(0x2c4)]),_0x2ff1e6=_0x1f554d(0x2a1)[_0x1f554d(0x17b)](_0x51f36a,'\x20')[_0x1f554d(0x17b)](_0x35d815||'')[_0x1f554d(0x141)](),_0xf5bb97=_0x5b3905('_'[_0x1f554d(0x17b)](Fi()));return Dt(_0x137f98,''[_0x1f554d(0x17b)](_0x51f36a),{'defIds':_0x137f98[_0x1f554d(0x1c5)],'idSuffix':_0xf5bb97['current']},v({'ref':_0x5c3caf,'className':_0x2ff1e6},_0x1e8082),_0x34a30c);});function Dt(_0x1927db,_0x46ae39,_0x12545d,_0x559605,_0x366d2a){const _0x2152f9=_0x1762ac;return _0x2bd574(_0x1927db[_0x2152f9(0x122)],v(v({'key':_0x46ae39},ki(_0x1927db,_0x12545d,_0x366d2a)),_0x559605),(Hi(_0x1927db,_0x12545d)[_0x2152f9(0xf6)]||[])['map'](function(_0x350bc8,_0x2b1788){const _0x393b71=_0x2152f9;return Dt(_0x350bc8,''[_0x393b71(0x17b)](_0x46ae39,'-')[_0x393b71(0x17b)](_0x1927db[_0x393b71(0x122)],'-')[_0x393b71(0x17b)](_0x2b1788),_0x12545d,void 0x0,_0x366d2a);}));}function ki(_0x1d379a,_0xadc2cf,_0x34050b){const _0x50623b=_0x1762ac;var _0xc5068a=v({},_0x1d379a[_0x50623b(0x142)]);_0x34050b!=null&&_0x34050b['colorChannel1']&&_0xc5068a[_0x50623b(0x258)]===_0x50623b(0x23f)&&(_0xc5068a[_0x50623b(0x258)]=_0x34050b[_0x50623b(0x23f)]),_0x1d379a[_0x50623b(0x122)]===_0x50623b(0x180)&&_0xc5068a['id']&&(_0xc5068a['id']=_0xc5068a['id']+_0xadc2cf[_0x50623b(0x103)]),Object['entries'](_0xc5068a)[_0x50623b(0x14e)](function(_0x612e9){const _0x55253a=_0x50623b;var _0x236f0e=_0x612e9[0x0],_0x11c6e7=_0x612e9[0x1];_0x236f0e===_0x55253a(0x180)&&typeof _0x11c6e7==_0x55253a(0xee)&&(_0xc5068a[_0x236f0e]=_0x11c6e7['replace'](/url\(#(.*)\)/,_0x55253a(0xdd)[_0x55253a(0x17b)](_0xadc2cf[_0x55253a(0x103)],')')));});var _0x429192=_0xadc2cf['defIds'];return!_0x429192||_0x429192[_0x50623b(0x196)]===0x0||(_0x1d379a['tag']===_0x50623b(0x231)&&_0xc5068a[_0x50623b(0x14f)]&&(_0xc5068a[_0x50623b(0x14f)]=_0xc5068a[_0x50623b(0x14f)]+_0xadc2cf[_0x50623b(0x103)]),Object[_0x50623b(0xea)](_0xc5068a)[_0x50623b(0x14e)](function(_0x28a094){const _0x3a9303=_0x50623b;var _0x37cbc8=_0x28a094[0x0],_0x53f86a=_0x28a094[0x1];typeof _0x53f86a==_0x3a9303(0xee)&&(_0xc5068a[_0x37cbc8]=_0x53f86a[_0x3a9303(0x247)](/url\(#(.*)\)/,'url(#$1'[_0x3a9303(0x17b)](_0xadc2cf[_0x3a9303(0x103)],')')));})),_0xc5068a;}function Hi(_0x2d9597,_0x2cc86b){const _0xdbdd76=_0x1762ac;var _0x5d394a,_0x4ff16d=_0x2cc86b['defIds'];return!_0x4ff16d||_0x4ff16d[_0xdbdd76(0x196)]===0x0?_0x2d9597:_0x2d9597['tag']==='defs'&&(!((_0x5d394a=_0x2d9597[_0xdbdd76(0xf6)])===null||_0x5d394a===void 0x0)&&_0x5d394a['length'])?v(v({},_0x2d9597),{'children':_0x2d9597['children'][_0xdbdd76(0x1d6)](function(_0x2e1aca){const _0x2ecdd8=_0xdbdd76;return typeof _0x2e1aca[_0x2ecdd8(0x142)]['id']=='string'&&_0x4ff16d&&_0x4ff16d[_0x2ecdd8(0x193)](_0x2e1aca[_0x2ecdd8(0x142)]['id'])?v(v({},_0x2e1aca),{'attrs':v(v({},_0x2e1aca[_0x2ecdd8(0x142)]),{'id':_0x2e1aca[_0x2ecdd8(0x142)]['id']+_0x2cc86b[_0x2ecdd8(0x103)]})}):_0x2e1aca;})}):_0x2d9597;}function Fi(){const _0x5642b4=_0x1762ac;return Math[_0x5642b4(0x181)]()[_0x5642b4(0xda)](0x24)[_0x5642b4(0x2bb)](0x2,0x8);}Ye[_0x1762ac(0x217)]=_0x1762ac(0x160);var Yi={'tag':'svg','attrs':{'xmlns':_0x1762ac(0x113),'fill':_0x1762ac(0x294),'viewBox':_0x1762ac(0x241),'width':_0x1762ac(0x1b2),'height':_0x1762ac(0x1b2)},'children':[{'tag':'g','attrs':{'clipPath':_0x1762ac(0x15d)},'children':[{'tag':'path','attrs':{'stroke':_0x1762ac(0x235),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x1762ac(0x18e),'strokeLinejoin':_0x1762ac(0x18e),'strokeWidth':1.2}}]},{'tag':_0x1762ac(0x23a),'attrs':{},'children':[{'tag':_0x1762ac(0x148),'attrs':{'id':_0x1762ac(0x21d)},'children':[{'tag':'path','attrs':{'fill':_0x1762ac(0x262),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-icon_clip0_910_343']},Nt=_0x78afa1(function(_0x5bfd9b,_0x57870e){const _0x5d6d42=_0x1762ac;return _0x2bd574(Ye,Object[_0x5d6d42(0x24f)]({},_0x5bfd9b,{'id':_0x5d6d42(0xcb),'ref':_0x57870e,'icon':Yi}));});Nt['displayName']=_0x1762ac(0x2a4);var ji={'tag':_0x1762ac(0x228),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1762ac(0x294),'viewBox':_0x1762ac(0x218),'width':_0x1762ac(0x1b2),'height':_0x1762ac(0x1b2)},'children':[{'tag':'g','attrs':{'clipPath':_0x1762ac(0x175)},'children':[{'tag':_0x1762ac(0x287),'attrs':{'stroke':_0x1762ac(0x235),'d':_0x1762ac(0x210),'strokeLinecap':'round','strokeLinejoin':_0x1762ac(0x18e),'strokeWidth':1.2}}]},{'tag':_0x1762ac(0x23a),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':'white','d':'M0\x200H16V16H0z','transform':_0x1762ac(0xeb)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},Ut=_0x78afa1(function(_0x577db1,_0x481be6){const _0x143f9c=_0x1762ac;return _0x2bd574(Ye,Object[_0x143f9c(0x24f)]({},_0x577db1,{'id':'on-line-icon','ref':_0x481be6,'icon':ji}));});Ut[_0x1762ac(0x217)]=_0x1762ac(0x143);function Vi(_0x9828e){const _0x6b66d4=_0x1762ac;switch(_0x9828e){case _0x23b08a[_0x6b66d4(0x291)]:return _0x6b66d4(0x2c8);case _0x23b08a[_0x6b66d4(0x1ec)]:return _0x6b66d4(0xfd);case _0x23b08a[_0x6b66d4(0xd1)]:return _0x6b66d4(0x290);case _0x23b08a['NOT_COLLAB']:return _0x6b66d4(0xd3);case _0x23b08a[_0x6b66d4(0x2d6)]:case _0x23b08a['AWAITING_WITH_PENDING']:return _0x6b66d4(0x2d7);case _0x23b08a['SYNCED']:case _0x23b08a[_0x6b66d4(0x178)]:return _0x6b66d4(0x2c6);}}function Wi(_0x53b320){const _0x559d3c=_0x1762ac,{status$:_0x231966}=_0x53b320,_0xfe1915=_0x1b2e23(_0x231966,_0x23b08a[_0x559d3c(0x20a)]),_0x2d9185=_0x4b071f(_0x4f44af),_0x597043=_0x4b071f(_0x35a82b),_0x44d30d=_0xfe1915!==_0x23b08a[_0x559d3c(0x291)],_0x430cc8=_0x2d9185['t'](Vi(_0xfe1915)),_0x2f321a=_0x44d30d?_0x2e0e6e(Ut,{}):_0x2e0e6e(Nt,{}),_0x2f039b=_0x5287d1(()=>{const _0x45f1c7=_0x559d3c;_0x44d30d||_0x597043[_0x45f1c7(0x1fd)]();},[_0x44d30d,_0x597043]);function _0x27d8e8(){const _0xaabf4d=_0x559d3c;return _0x1feb53(_0xaabf4d(0x2c1),{'className':_0xaabf4d(0x1f2),'onClick':_0x2f039b,'children':[_0x2e0e6e(_0xaabf4d(0x2c1),{'className':_0x29e0c3(_0xaabf4d(0x187),{'univer-text-green-500':_0x44d30d,'univer-text-red-500':!_0x44d30d}),'children':_0x2f321a}),_0x2e0e6e(_0xaabf4d(0x2c1),{'className':_0xaabf4d(0x16d),'children':_0x430cc8})]});}return _0x44d30d?_0x27d8e8():_0x2e0e6e(_0x23fc72,{'title':_0x2d9185['t']('collab-client.tooltip.reconnect'),'children':_0x27d8e8()});}var Xi=Object[_0x1762ac(0x1cc)],Gi=(_0x1a9a98,_0x44f6ed,_0x3180df,_0x3549eb)=>{const _0xaab492=_0x1762ac;for(var _0x560545=_0x3549eb>0x1?void 0x0:_0x3549eb?Xi(_0x44f6ed,_0x3180df):_0x44f6ed,_0x25e985=_0x1a9a98[_0xaab492(0x196)]-0x1,_0x22da92;_0x25e985>=0x0;_0x25e985--)(_0x22da92=_0x1a9a98[_0x25e985])&&(_0x560545=_0x22da92(_0x560545)||_0x560545);return _0x560545;},q=(_0x2b429d,_0x368007)=>(_0x3f3dc8,_0x1e7b18)=>_0x368007(_0x3f3dc8,_0x1e7b18,_0x2b429d);let se=class extends _0x5d8363{constructor(_0x36776d,_0x5bb95a,_0x509ef4,_0x12968f){const _0x109ca4=_0x1762ac;super(),_(this,_0x109ca4(0x10c),new _0x5c4b3a(_0x23b08a[_0x109ca4(0x20a)])),(this[_0x109ca4(0x1a4)]=_0x36776d,this[_0x109ca4(0x101)]=_0x5bb95a,this[_0x109ca4(0x2ab)]=_0x509ef4,this[_0x109ca4(0x137)]=_0x12968f,this['_initStatusComponent'](),this[_0x109ca4(0x22b)]());}[_0x1762ac(0x22b)](){const _0x6dd2da=_0x1762ac;this['disposeWithMe'](this['_univerInstanceService']['focused$'][_0x6dd2da(0x29f)](_0x1212d7(()=>{const _0x1c0053=_0x6dd2da,_0x465dc8=this['_univerInstanceService'][_0x1c0053(0x211)]();return _0x465dc8?this['_collaborationController'][_0x1c0053(0x182)](_0x465dc8[_0x1c0053(0x1f4)]()):_0x10a367(null);}),_0x1212d7(_0x8a93ce=>_0x8a93ce?_0x8a93ce[_0x6dd2da(0x18a)]:_0x10a367(_0x23b08a[_0x6dd2da(0x20a)])))['subscribe'](_0x39ce56=>{const _0x4455f1=_0x6dd2da;this['_status$'][_0x4455f1(0x2c9)](_0x39ce56);}));}[_0x1762ac(0x1fb)](){const _0x354630=_0x1762ac;this[_0x354630(0x18b)](this[_0x354630(0x137)][_0x354630(0x22e)](_0x3a2c61[_0x354630(0x124)],()=>_0x282b00(Ki({'status$':this[_0x354630(0x10c)][_0x354630(0x116)]()}),this[_0x354630(0x101)])));}};se=Gi([q(0x0,_0x253376),q(0x1,_0x54b249(_0x486af7)),q(0x2,_0x54b249(_0x213766)),q(0x3,_0x49e93f)],se);function Ki(_0x2962c9){const {status$:_0x5e6396}=_0x2962c9;return function(){return _0x2e0e6e(Wi,{'status$':_0x5e6396});};}var zi=Object[_0x1762ac(0x1cc)],Ji=(_0xb0d54d,_0x47f7e9,_0xd45d63,_0x205a65)=>{for(var _0x5f2ef6=_0x205a65>0x1?void 0x0:_0x205a65?zi(_0x47f7e9,_0xd45d63):_0x47f7e9,_0x4e15da=_0xb0d54d['length']-0x1,_0x4861c7;_0x4e15da>=0x0;_0x4e15da--)(_0x4861c7=_0xb0d54d[_0x4e15da])&&(_0x5f2ef6=_0x4861c7(_0x5f2ef6)||_0x5f2ef6);return _0x5f2ef6;},B=(_0x20742a,_0x5da155)=>(_0xd499bc,_0x35feaa)=>_0x5da155(_0xd499bc,_0x35feaa,_0x20742a);let ie=class extends _0x5d8363{constructor(_0x2b8d05,_0x533257,_0x18969f,_0x32039b,_0x4670f8,_0x5e6ac1){const _0x309c84=_0x1762ac;super(),this[_0x309c84(0x236)]=_0x2b8d05,this[_0x309c84(0xef)]=_0x533257,this[_0x309c84(0xd6)]=_0x18969f,this[_0x309c84(0x1f9)]=_0x32039b,this['_notificationService']=_0x4670f8,this[_0x309c84(0x1c3)]=_0x5e6ac1,this['_setupBeforeClosingHandler'](),this[_0x309c84(0x224)]();}[_0x1762ac(0x17e)](){const _0x502517=_0x1762ac;this[_0x502517(0x18b)](this[_0x502517(0x236)][_0x502517(0x1e8)](()=>{const _0x461ded=_0x502517;if(this[_0x461ded(0xef)][_0x461ded(0x19c)]['size'])return this[_0x461ded(0x1c3)]['t'](_0x461ded(0x1f6));}));}['_initEvent'](){const _0x12a09a=_0x1762ac;this['disposeWithMe'](this[_0x12a09a(0xd6)][_0x12a09a(0xf1)][_0x12a09a(0x221)](_0x474f8c=>{const _0x35e713=_0x12a09a;_0x474f8c['id']===_0x113961[_0x35e713(0x13f)]&&this['_messageService'][_0x35e713(0x13a)]({'type':_0x35b091[_0x35e713(0x11f)],'content':this[_0x35e713(0x1c3)]['t'](_0x35e713(0x136))}),_0x474f8c['id']===_0x113961[_0x35e713(0x284)]&&this[_0x35e713(0x1f9)][_0x35e713(0x13a)]({'type':_0x35b091[_0x35e713(0x11f)],'content':this[_0x35e713(0x1c3)]['t'](_0x35e713(0x120))}),_0x474f8c['id']===_0x113961[_0x35e713(0x17f)]&&this[_0x35e713(0x2d8)][_0x35e713(0x13a)]({'title':this['_localeService']['t'](_0x35e713(0x105)),'content':this[_0x35e713(0x1c3)]['t']('permission.content'),'type':_0x35e713(0x118),'duration':0x0}),_0x474f8c['id']===_0x113961['CONFLICT']&&this[_0x35e713(0x1f9)][_0x35e713(0x13a)]({'type':_0x35b091['Error'],'content':this[_0x35e713(0x1c3)]['t'](_0x35e713(0x120))+'('+_0x474f8c[_0x35e713(0x272)]+')'}),_0x474f8c['id']===_0x113961[_0x35e713(0x1bc)]&&this[_0x35e713(0x1f9)][_0x35e713(0x13a)]({'type':_0x35b091[_0x35e713(0x11f)],'content':this[_0x35e713(0x1c3)]['t'](_0x474f8c[_0x35e713(0x272)]||'')}),_0x474f8c['id']===_0x113961[_0x35e713(0x279)]&&this[_0x35e713(0x1f9)][_0x35e713(0x13a)]({'type':_0x35b091[_0x35e713(0x11f)],'content':this[_0x35e713(0x1c3)]['t'](_0x35e713(0x194))}),_0x474f8c['id']===_0x113961[_0x35e713(0x191)]&&this['_messageService']['show']({'type':_0x35b091['Error'],'content':this[_0x35e713(0x1c3)]['t'](_0x35e713(0x197))}),_0x474f8c['id']===_0x113961[_0x35e713(0x13e)]&&this[_0x35e713(0x1f9)]['show']({'type':_0x35b091['Error'],'content':this[_0x35e713(0x1c3)]['t'](_0x35e713(0x28f))});}));}};ie=Ji([B(0x0,_0x22ec37),B(0x1,_0x4cefdc),B(0x2,_0x54b249(_0x1d4f2f)),B(0x3,_0x23eb9a),B(0x4,_0x56633c),B(0x5,_0x54b249(_0x4f44af))],ie);const Zi='collaboration-client-ui.config',tt={},Mt=_0x3d0682(_0x1762ac(0x13d));var Qi=Object[_0x1762ac(0x1cc)],qi=(_0x3cdacc,_0x248bb7,_0x5a974b,_0x53e51f)=>{const _0x86f4fc=_0x1762ac;for(var _0x5edd82=_0x53e51f>0x1?void 0x0:_0x53e51f?Qi(_0x248bb7,_0x5a974b):_0x248bb7,_0x3af575=_0x3cdacc[_0x86f4fc(0x196)]-0x1,_0x4c72e9;_0x3af575>=0x0;_0x3af575--)(_0x4c72e9=_0x3cdacc[_0x3af575])&&(_0x5edd82=_0x4c72e9(_0x5edd82)||_0x5edd82);return _0x5edd82;},K=(_0x36116d,_0x1377ae)=>(_0x258736,_0x1ad1d0)=>_0x1377ae(_0x258736,_0x1ad1d0,_0x36116d);let ne=class extends _0x28093b{constructor(_0x5bd040,_0x3f58d9,_0x471dd2,_0x2eb954,_0x2db582){const _0x23f02c=_0x1762ac;super(),this['_urlService']=_0x5bd040,this[_0x23f02c(0x1d0)]=_0x3f58d9,this[_0x23f02c(0x26f)]=_0x471dd2,this['_dataLoaderService']=_0x2eb954,_0x2db582?_0x2db582==null||_0x2db582[_0x23f02c(0x2cc)]()['then'](()=>this[_0x23f02c(0x22f)]()):(this[_0x23f02c(0x1d0)][_0x23f02c(0x16a)]('[CollaborationDataLoaderController]',_0x23f02c(0x1a9)),this[_0x23f02c(0x22f)]());}async[_0x1762ac(0x22f)](){const _0x8b507c=_0x1762ac,_0x4e816e=this[_0x8b507c(0xd2)][_0x8b507c(0x28c)]('unit'),_0x1d60b7=this[_0x8b507c(0xd2)][_0x8b507c(0x28c)](_0x8b507c(0xe9)),_0x1a538b=this[_0x8b507c(0xd2)][_0x8b507c(0x28c)](_0x8b507c(0x19a));if(!_0x4e816e||!_0x1d60b7){this[_0x8b507c(0x1d0)]['debug'](_0x8b507c(0x21e),_0x8b507c(0x2b7));return;}const _0x2bee41=await this[_0x8b507c(0x243)][_0x8b507c(0x20d)](_0x4e816e,Number(_0x1d60b7),_0x1a538b);_0x2bee41&&_0x2bee41 instanceof _0x472d32&&this[_0x8b507c(0x15e)](_0x2bee41);}async[_0x1762ac(0x15e)](_0x56db32){const _0xbd1dcd=_0x1762ac;await this['_updateSubUnitFromURLParams'](_0x56db32),_0x56db32[_0xbd1dcd(0x195)]['pipe'](_0x4e4cc7(this[_0xbd1dcd(0x27a)]))[_0xbd1dcd(0x221)](_0x1dc570=>{const _0x5702fd=_0xbd1dcd;_0x1dc570&&this[_0x5702fd(0x1bf)](_0x1dc570);}),this['_urlService'][_0xbd1dcd(0x238)]['pipe'](_0x4e4cc7(this[_0xbd1dcd(0x27a)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x56db32));}[_0x1762ac(0x1bf)](_0x200d63,_0x4f2bab=!0x1){const _0x50f47b=_0x1762ac,_0x4b3828=this['_urlService'][_0x50f47b(0x28c)](_0x50f47b(0x19a));_0x200d63[_0x50f47b(0x1c7)]()!==_0x4b3828&&this[_0x50f47b(0xd2)][_0x50f47b(0x1db)](_0x50f47b(0x19a),_0x200d63[_0x50f47b(0x1c7)](),_0x4f2bab);}async['_updateSubUnitFromURLParams'](_0x4b4778){const _0xc7a261=_0x1762ac;var _0x1b00ba;const _0x54eca3=this[_0xc7a261(0xd2)][_0xc7a261(0x28c)]('subunit');if(!_0x54eca3||!_0x4b4778['getSheetBySheetId'](_0x54eca3)){const _0x2dcab2=_0x4b4778['getUnhiddenWorksheets']()[0x0],_0x19ff24=_0x4b4778[_0xc7a261(0x1f8)](_0x2dcab2);if(!_0x19ff24)return;this[_0xc7a261(0x1bf)](_0x19ff24,!0x0),await this['_commandService']['executeCommand'](_0x575189['id'],{'unitId':_0x4b4778[_0xc7a261(0x1f4)](),'subUnitId':_0x2dcab2});return;}((_0x1b00ba=_0x4b4778[_0xc7a261(0x1d5)]())==null?void 0x0:_0x1b00ba['getSheetId']())!==_0x54eca3&&await this[_0xc7a261(0x26f)][_0xc7a261(0xe3)](_0x575189['id'],{'unitId':_0x4b4778[_0xc7a261(0x1f4)](),'subUnitId':_0x54eca3});}};ne=qi([K(0x0,Mt),K(0x1,_0x1fb54f),K(0x2,_0x493ff1),K(0x3,_0x54b249(_0x4d330c)),K(0x4,_0x5545ca(_0x3fde11))],ne);var en=Object[_0x1762ac(0x1cc)],tn=(_0x1eafbd,_0x50f233,_0x56de93,_0x1e46a0)=>{const _0x5cf0c=_0x1762ac;for(var _0x3e2a01=_0x1e46a0>0x1?void 0x0:_0x1e46a0?en(_0x50f233,_0x56de93):_0x50f233,_0xb701db=_0x1eafbd[_0x5cf0c(0x196)]-0x1,_0x4cd1df;_0xb701db>=0x0;_0xb701db--)(_0x4cd1df=_0x1eafbd[_0xb701db])&&(_0x3e2a01=_0x4cd1df(_0x3e2a01)||_0x3e2a01);return _0x3e2a01;},Ce=(_0x56121a,_0x1a62e9)=>(_0x331e9d,_0x3f834c)=>_0x1a62e9(_0x331e9d,_0x3f834c,_0x56121a);let re=class{constructor(_0x5b747d,_0x579bec,_0x584c78){const _0x547b3a=_0x1762ac;this[_0x547b3a(0x101)]=_0x5b747d,this[_0x547b3a(0x2a5)]=_0x579bec,this[_0x547b3a(0x2bd)]=_0x584c78;}['transformIMECache'](_0x12f940){const _0xf4b06c=_0x1762ac;this[_0xf4b06c(0x214)](_0x12f940),this[_0xf4b06c(0x131)](_0x12f940);}[_0x1762ac(0x269)](_0x530ba8){const _0x144bd5=_0x1762ac,{unitID:_0x33deac}=_0x530ba8,_0x35561a=this[_0x144bd5(0x2bd)][_0x144bd5(0x174)](_0x33deac)[_0x144bd5(0x2b6)](_0x1ea938),{redoCache:_0x5e8b3c}=_0x35561a['getUndoRedoMutationParamsCache']();if(_0x5e8b3c[_0x144bd5(0x196)]===0x0)return _0x530ba8;let _0x2537c5=_0x326393[_0x144bd5(0x282)](_0x530ba8[_0x144bd5(0x145)][0x0]);for(let _0x5af27e=0x0;_0x5af27e<_0x5e8b3c[_0x144bd5(0x196)];_0x5af27e++){const _0x2eb2d0={'id':_0x144bd5(0x15b),'params':{..._0x5e8b3c[_0x5af27e]}},_0x2a8713=this[_0x144bd5(0x2a5)]['transformMutation'](_0x2537c5,_0x2eb2d0,!0x1);if(_0x19d415(_0x2a8713))throw _0x2a8713[_0x144bd5(0x118)];_0x2537c5=_0x2a8713[_0x144bd5(0x27e)];}return{..._0x326393['deepClone'](_0x530ba8),'mutations':[_0x2537c5]};}[_0x1762ac(0x214)](_0x26d37f){const _0x498bb2=_0x1762ac,{unitID:_0x53a4dd}=_0x26d37f,_0x35e038=this[_0x498bb2(0x2bd)][_0x498bb2(0x174)](_0x53a4dd)[_0x498bb2(0x2b6)](_0x1ea938),{undoCache:_0x504e9b,redoCache:_0x31b80a}=_0x35e038[_0x498bb2(0x23b)]();if(_0x504e9b[_0x498bb2(0x196)]===0x0||_0x31b80a['length']===0x0)return;const _0x45d2c3=[],_0x15933f=[];let _0x29499d=_0x326393[_0x498bb2(0x282)](_0x26d37f[_0x498bb2(0x145)][0x0]),_0x26dc1c=_0x326393[_0x498bb2(0x282)](_0x26d37f['mutations'][0x0]);for(let _0x6a8593=_0x504e9b[_0x498bb2(0x196)]-0x1;_0x6a8593>=0x0;_0x6a8593--){const _0x3112b1={'id':'doc.mutation.rich-text-editing','params':{..._0x504e9b[_0x6a8593]}},_0xc659bf={'id':_0x498bb2(0x15b),'params':{..._0x31b80a[_0x6a8593]}},_0x2204f8=this[_0x498bb2(0x2a5)]['transformMutation'](_0x29499d,_0x3112b1,!0x1),_0x18ac8f=this[_0x498bb2(0x2a5)][_0x498bb2(0x11b)](_0x26dc1c,_0xc659bf,!0x1);if(_0x19d415(_0x2204f8))throw _0x2204f8[_0x498bb2(0x118)];if(_0x19d415(_0x18ac8f))throw _0x18ac8f[_0x498bb2(0x118)];_0x45d2c3['unshift'](_0x2204f8['m2Prime'][_0x498bb2(0x20b)]),_0x15933f[_0x498bb2(0x229)](_0x18ac8f['m2Prime']['params']),_0x29499d=_0x2204f8[_0x498bb2(0x27e)],_0x26dc1c=_0x18ac8f[_0x498bb2(0x27e)];}_0x35e038[_0x498bb2(0xc6)]({'undoCache':_0x45d2c3,'redoCache':_0x15933f});}[_0x1762ac(0x131)](_0x1c1ded){const _0x505ea9=_0x1762ac,{unitID:_0x1f1e89}=_0x1c1ded,_0x16ad48=this[_0x505ea9(0x2bd)]['getRenderById'](_0x1f1e89)['with'](_0x1ea938),_0x1892b1=_0x16ad48['getActiveRange']();if(_0x1892b1==null)return;const _0x10b8a8=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1c1ded['unitID'],'actions':null,'textRanges':[_0x1892b1]}}],_0x56cc67=this[_0x505ea9(0x2a5)][_0x505ea9(0x1d3)](_0x1c1ded,_0x10b8a8);if(!_0x5d8f07(_0x56cc67))throw _0x56cc67[_0x505ea9(0x118)];const _0x5a394a=_0x56cc67[_0x505ea9(0x1c8)][0x0][_0x505ea9(0x20b)][_0x505ea9(0x186)];Array[_0x505ea9(0x1bd)](_0x5a394a)&&_0x5a394a['length']&&_0x16ad48[_0x505ea9(0x273)](_0x5a394a[0x0]);}};re=tn([Ce(0x0,_0x54b249(_0x486af7)),Ce(0x1,_0xda71cb),Ce(0x2,_0x52f4dd)],re);var sn=Object[_0x1762ac(0x1cc)],nn=(_0x5928fa,_0x106452,_0x2e48a6,_0x36f3b3)=>{const _0xe87b11=_0x1762ac;for(var _0x2b0b73=_0x36f3b3>0x1?void 0x0:_0x36f3b3?sn(_0x106452,_0x2e48a6):_0x106452,_0x22e5bd=_0x5928fa[_0xe87b11(0x196)]-0x1,_0x176b61;_0x22e5bd>=0x0;_0x22e5bd--)(_0x176b61=_0x5928fa[_0x22e5bd])&&(_0x2b0b73=_0x176b61(_0x2b0b73)||_0x2b0b73);return _0x2b0b73;},Ee=(_0x93aa32,_0x49a8ba)=>(_0x139112,_0x5c2ed7)=>_0x49a8ba(_0x139112,_0x5c2ed7,_0x93aa32);let oe=class{constructor(_0x407250,_0x23cc94,_0x489e2f){const _0x5c13d4=_0x1762ac;this[_0x5c13d4(0x101)]=_0x407250,this[_0x5c13d4(0x2a5)]=_0x23cc94,this[_0x5c13d4(0x244)]=_0x489e2f;}['transformStateCache'](_0x1b6b25){const _0x14fc04=_0x1762ac;this[_0x14fc04(0x1e5)](_0x1b6b25);}[_0x1762ac(0x269)](_0x43186b){const _0x1ab786=_0x1762ac,{unitID:_0x134d52}=_0x43186b,{collaboration:_0xbb8d4}=this[_0x1ab786(0x244)][_0x1ab786(0x184)](_0x134d52);if(_0xbb8d4['length']===0x0)return _0x43186b;let _0x7d6cb4=_0x326393[_0x1ab786(0x282)](_0x43186b['mutations'][0x0]);for(let _0x25875a=0x0;_0x25875a<_0xbb8d4[_0x1ab786(0x196)];_0x25875a++){const _0x469821={'id':_0x1ab786(0x15b),'params':{'unitId':_0xbb8d4[_0x25875a][_0x1ab786(0x169)],..._0xbb8d4[_0x25875a][_0x1ab786(0x1fc)]}},_0x34fb84=this['_transformService']['transformMutation'](_0x7d6cb4,_0x469821,!0x1);if(_0x19d415(_0x34fb84))throw _0x34fb84[_0x1ab786(0x118)];_0x7d6cb4=_0x34fb84[_0x1ab786(0x27e)];}return{..._0x326393[_0x1ab786(0x282)](_0x43186b),'mutations':[_0x7d6cb4]};}[_0x1762ac(0x1e5)](_0x2bce49){const _0x33ccd3=_0x1762ac,{unitID:_0x28233e}=_0x2bce49,{history:_0x30f059,collaboration:_0x4de355}=this['_docStateChangeManagerService']['getStateCache'](_0x28233e);if(_0x30f059[_0x33ccd3(0x196)]===0x0&&_0x4de355[_0x33ccd3(0x196)]===0x0)return;const _0x13b593=[],_0x3719d0=[];let _0x27fffc=_0x326393[_0x33ccd3(0x282)](_0x2bce49['mutations'][0x0]),_0x458b40=_0x326393['deepClone'](_0x2bce49[_0x33ccd3(0x145)][0x0]);for(let _0x33c8da=_0x30f059[_0x33ccd3(0x196)]-0x1;_0x33c8da>=0x0;_0x33c8da--){const _0x279df2={'id':_0x33ccd3(0x15b),'params':{'unitId':_0x30f059[_0x33c8da]['unitId'],..._0x30f059[_0x33c8da]['undoState']}},_0x29ca9f={'id':_0x33ccd3(0x15b),'params':{'unitId':_0x30f059[_0x33c8da]['unitId'],..._0x30f059[_0x33c8da][_0x33ccd3(0x1fc)]}},_0x43c4d0=this[_0x33ccd3(0x2a5)][_0x33ccd3(0x11b)](_0x27fffc,_0x279df2,!0x1),_0x21cf80=this['_transformService'][_0x33ccd3(0x11b)](_0x458b40,_0x29ca9f,!0x1);if(_0x19d415(_0x43c4d0))throw _0x43c4d0[_0x33ccd3(0x118)];if(_0x19d415(_0x21cf80))throw _0x21cf80[_0x33ccd3(0x118)];_0x13b593[_0x33ccd3(0x229)]({..._0x30f059[_0x33c8da],'undoState':_0x43c4d0['m2Prime'][_0x33ccd3(0x20b)],'redoState':_0x21cf80[_0x33ccd3(0x1c8)]['params']}),_0x27fffc=_0x43c4d0[_0x33ccd3(0x27e)],_0x458b40=_0x21cf80[_0x33ccd3(0x27e)];}_0x27fffc=_0x326393[_0x33ccd3(0x282)](_0x2bce49[_0x33ccd3(0x145)][0x0]),_0x458b40=_0x326393[_0x33ccd3(0x282)](_0x2bce49[_0x33ccd3(0x145)][0x0]);for(let _0x3ef95d=_0x4de355[_0x33ccd3(0x196)]-0x1;_0x3ef95d>=0x0;_0x3ef95d--){const _0x3ae590={'id':_0x33ccd3(0x15b),'params':{'unitId':_0x4de355[_0x3ef95d][_0x33ccd3(0x169)],..._0x4de355[_0x3ef95d]['undoState']}},_0x5c000d={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4de355[_0x3ef95d][_0x33ccd3(0x169)],..._0x4de355[_0x3ef95d]['redoState']}},_0xe537b8=this[_0x33ccd3(0x2a5)][_0x33ccd3(0x11b)](_0x27fffc,_0x3ae590,!0x1),_0x500bd4=this[_0x33ccd3(0x2a5)][_0x33ccd3(0x11b)](_0x458b40,_0x5c000d,!0x1);if(_0x19d415(_0xe537b8))throw _0xe537b8['error'];if(_0x19d415(_0x500bd4))throw _0x500bd4[_0x33ccd3(0x118)];_0x3719d0['unshift']({..._0x4de355[_0x3ef95d],'undoState':_0xe537b8[_0x33ccd3(0x1c8)][_0x33ccd3(0x20b)],'redoState':_0x500bd4[_0x33ccd3(0x1c8)][_0x33ccd3(0x20b)]}),_0x27fffc=_0xe537b8[_0x33ccd3(0x27e)],_0x458b40=_0x500bd4[_0x33ccd3(0x27e)];}this[_0x33ccd3(0x244)]['setStateCache'](_0x28233e,{'history':_0x13b593,'collaboration':_0x3719d0});}};oe=nn([Ee(0x0,_0x54b249(_0x486af7)),Ee(0x1,_0xda71cb),Ee(0x2,_0x54b249(_0x182343))],oe);var rn=Object['getOwnPropertyDescriptor'],on=(_0x1d2cb7,_0x23f28a,_0x12221b,_0x5363e1)=>{const _0x17b137=_0x1762ac;for(var _0x184841=_0x5363e1>0x1?void 0x0:_0x5363e1?rn(_0x23f28a,_0x12221b):_0x23f28a,_0x57e74d=_0x1d2cb7[_0x17b137(0x196)]-0x1,_0x5c5895;_0x57e74d>=0x0;_0x57e74d--)(_0x5c5895=_0x1d2cb7[_0x57e74d])&&(_0x184841=_0x5c5895(_0x184841)||_0x184841);return _0x184841;},st=(_0x47b59f,_0x1d802e)=>(_0xfa7a4d,_0x13e9ea)=>_0x1d802e(_0xfa7a4d,_0x13e9ea,_0x47b59f);let ae=class{constructor(_0x4df778,_0x335152){const _0x1bf779=_0x1762ac;this['_injector']=_0x4df778,this[_0x1bf779(0x2a5)]=_0x335152;}[_0x1762ac(0x1df)](_0x3b1bbf){const _0x30c055=_0x1762ac;var _0x253131;const _0x5acb81=this['_injector'][_0x30c055(0x29b)](_0x292580),_0x3c18a7=(_0x253131=_0x5acb81[_0x30c055(0x177)]())!=null?_0x253131:[];if(_0x3c18a7[_0x30c055(0x196)]===0x0)return;const _0x509637=_0x3b1bbf[_0x30c055(0x188)],_0x258712=[{'id':_0x30c055(0x15b),'params':{'unitId':_0x509637,'actions':null,'textRanges':_0x3c18a7}}],_0x163935=this[_0x30c055(0x2a5)]['transformMutationsWithChangeset'](_0x3b1bbf,_0x258712);if(!_0x5d8f07(_0x163935))throw _0x163935['error'];const _0x4ab8bf=_0x163935[_0x30c055(0x1c8)][0x0]['params'][_0x30c055(0x186)];Array['isArray'](_0x4ab8bf)&&_0x4ab8bf[_0x30c055(0x196)]&&_0x5acb81[_0x30c055(0x102)](_0x4ab8bf,{'unitId':_0x509637,'subUnitId':_0x509637},!0x1);}};ae=on([st(0x0,_0x54b249(_0x486af7)),st(0x1,_0xda71cb)],ae);var an=Object['getOwnPropertyDescriptor'],cn=(_0x36e894,_0x355c12,_0x177244,_0x28cac7)=>{const _0x367705=_0x1762ac;for(var _0x1cc42b=_0x28cac7>0x1?void 0x0:_0x28cac7?an(_0x355c12,_0x177244):_0x355c12,_0x10168a=_0x36e894[_0x367705(0x196)]-0x1,_0x58f557;_0x10168a>=0x0;_0x10168a--)(_0x58f557=_0x36e894[_0x10168a])&&(_0x1cc42b=_0x58f557(_0x1cc42b)||_0x1cc42b);return _0x1cc42b;},U=(_0x505631,_0x54dbd3)=>(_0x2563c3,_0x2b0bd3)=>_0x54dbd3(_0x2563c3,_0x2b0bd3,_0x505631);let ce=class extends _0x5d8363{constructor(_0x2bd7b0,_0x29cca1,_0x41a951,_0x334414,_0x31e165,_0x5780fd,_0x15c2dd,_0x13f661){const _0x213c64=_0x1762ac;super(),_(this,'_status$',new _0x5c4b3a(_0x23b08a[_0x213c64(0x20a)])),(this[_0x213c64(0x244)]=_0x2bd7b0,this[_0x213c64(0x2ab)]=_0x29cca1,this[_0x213c64(0x17c)]=_0x41a951,this[_0x213c64(0x27b)]=_0x334414,this[_0x213c64(0x25d)]=_0x31e165,this[_0x213c64(0x1a7)]=_0x5780fd,this[_0x213c64(0x1f9)]=_0x15c2dd,this[_0x213c64(0x1c3)]=_0x13f661,this[_0x213c64(0x230)]());}[_0x1762ac(0x230)](){const _0x3f6733=_0x1762ac;this[_0x3f6733(0x18b)](this[_0x3f6733(0x2ab)][_0x3f6733(0x134)]['subscribe'](_0x57187a=>{const _0x27b5b7=_0x3f6733,_0x4dd1fb=this[_0x27b5b7(0x244)][_0x27b5b7(0x2bc)][_0x27b5b7(0x221)](_0x2610b8=>{const _0x4beb7b=_0x27b5b7;if(_0x2610b8==null)return;const {unitId:_0x20a26d,redoState:_0x2cf63e,commandId:_0x3a9400}=_0x2610b8;if(_0x20a26d!==_0x57187a[_0x4beb7b(0x188)])return;const _0x27d549={'id':_0x3a9400,'type':_0x926111[_0x4beb7b(0x1d9)],'params':{'unitId':_0x20a26d,'actions':_0x2cf63e['actions'],'textRanges':null}};_0x57187a['onLocalMutation'](_0x27d549);});if(_0x57187a[_0x27b5b7(0x18b)](_0x4dd1fb),_0x57187a instanceof _0x3a9d16){const _0x52a996={'onTransformIME':_0x1838de=>this[_0x27b5b7(0x17c)][_0x27b5b7(0x2a3)](_0x1838de),'onTransformState':_0x4ddb6a=>this[_0x27b5b7(0x27b)][_0x27b5b7(0x295)](_0x4ddb6a),'onTransformSelections':_0x47c000=>this['_docTransformSelectionsService'][_0x27b5b7(0x1df)](_0x47c000),'onSyncEditingCollabCursor':_0x4e9aaf=>this[_0x27b5b7(0x1a7)][_0x27b5b7(0x1d4)](_0x4e9aaf),'onTransformRemoteChangesetByIMECache':_0x567ccc=>this[_0x27b5b7(0x17c)][_0x27b5b7(0x269)](_0x567ccc),'onTransformRemoteChangesetByStateCache':_0x353ce5=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x353ce5)};_0x57187a[_0x27b5b7(0x28d)](_0x52a996);}}));}};ce=cn([U(0x0,_0x54b249(_0x182343)),U(0x1,_0x54b249(_0x213766)),U(0x2,_0x54b249(re)),U(0x3,_0x54b249(oe)),U(0x4,_0x54b249(ae)),U(0x5,_0x54b249(Fe)),U(0x6,_0x23eb9a),U(0x7,_0x54b249(_0x4f44af))],ce);var ln=Object[_0x1762ac(0x1cc)],_n=(_0x2c956c,_0x36b736,_0x3cd2df,_0x209e1e)=>{const _0x229550=_0x1762ac;for(var _0xf27b87=_0x209e1e>0x1?void 0x0:_0x209e1e?ln(_0x36b736,_0x3cd2df):_0x36b736,_0xc5bd28=_0x2c956c[_0x229550(0x196)]-0x1,_0x5e9aff;_0xc5bd28>=0x0;_0xc5bd28--)(_0x5e9aff=_0x2c956c[_0xc5bd28])&&(_0xf27b87=_0x5e9aff(_0xf27b87)||_0xf27b87);return _0xf27b87;},Oe=(_0x504d70,_0x1d35e9)=>(_0x5c01f6,_0x5edeca)=>_0x1d35e9(_0x5c01f6,_0x5edeca,_0x504d70);let Ae=class extends _0x5d8363{constructor(_0xb2fdbb,_0x1fe579,_0x171b83){const _0x4dc2b7=_0x1762ac;super(),_(this,'_cachedData',new Map()),_(this,'_saveTaskMap',new Map()),_(this,'_disabled',!0x1),(this['_configService']=_0xb2fdbb,this['_localStorageService']=_0x1fe579,this[_0x4dc2b7(0x1ee)]=_0x171b83);}[_0x1762ac(0x2b0)](){const _0x4da5cb=_0x1762ac;this[_0x4da5cb(0xce)]=!0x0;}[_0x1762ac(0x2bf)](){this['_disabled']=!0x1;}get[_0x1762ac(0x19c)](){const _0x4f74f3=_0x1762ac;return this[_0x4f74f3(0xe2)];}[_0x1762ac(0x1c0)](){const _0x2beb5a=_0x1762ac;this[_0x2beb5a(0xed)]()['then'](()=>super['dispose']());}async[_0x1762ac(0x24a)](_0x209fc2){const _0x4f9693=_0x1762ac;return this['_disabled']?null:this[_0x4f9693(0x104)][_0x4f9693(0x133)](_0x2d9407(_0x209fc2));}async[_0x1762ac(0x296)](_0x5de7ff,_0xfebeaa){const _0x4d3a47=_0x1762ac;return!!this[_0x4d3a47(0x104)][_0x4d3a47(0x1dc)](_0x5de7ff,_0xfebeaa);}[_0x1762ac(0xf5)](_0x4b1dbd,_0x17c179,_0x2f0d67,_0x362f37){const _0xa47cf2=_0x1762ac,_0xaa369e=this[_0xa47cf2(0x1ee)]['getCurrentRevOfUnit'](_0x4b1dbd);this[_0xa47cf2(0xec)][_0xa47cf2(0x1e2)](_0x4b1dbd,{'unitID':_0x4b1dbd,'type':_0x17c179,'awaitingChangeset':_0x2f0d67,'mutations':_0x362f37,'rev':_0xaa369e}),this[_0xa47cf2(0xe2)][_0xa47cf2(0x13b)](_0x4b1dbd)||this[_0xa47cf2(0x1c9)](_0x4b1dbd);}[_0x1762ac(0x1c9)](_0x1c5aab){const _0x5c367d=_0x1762ac,_0x59291a=this[_0x5c367d(0x22a)]();_0x59291a===0x0?this['_saveCache'](_0x1c5aab):this[_0x5c367d(0xe2)][_0x5c367d(0x1e2)](_0x1c5aab,setTimeout(()=>this[_0x5c367d(0x185)](_0x1c5aab),_0x59291a));}[_0x1762ac(0x22a)](){const _0xe0d93a=_0x1762ac;var _0x4d7f26;return(_0x4d7f26=this[_0xe0d93a(0x170)]['getConfig'](_0x559240))!=null?_0x4d7f26:_0x3f3c25;}[_0x1762ac(0x185)](_0x1487b1){const _0x2ffc71=_0x1762ac,_0x3ec27e=this[_0x2ffc71(0xe2)][_0x2ffc71(0x29b)](_0x1487b1);return _0x3ec27e!==void 0x0&&window['clearTimeout'](_0x3ec27e),this[_0x2ffc71(0x104)]['setItem'](_0x2d9407(_0x1487b1),this[_0x2ffc71(0xec)][_0x2ffc71(0x29b)](_0x1487b1))[_0x2ffc71(0x29c)](()=>this[_0x2ffc71(0xe2)]['delete'](_0x1487b1));}async[_0x1762ac(0xed)](){const _0x486970=_0x1762ac,_0x482de8=[];this[_0x486970(0xe2)][_0x486970(0x14e)]((_0x3b58d7,_0x4708fb)=>{const _0x4c31b7=_0x486970;window[_0x4c31b7(0x1e6)](_0x3b58d7),_0x482de8[_0x4c31b7(0x12b)](this[_0x4c31b7(0x185)](_0x4708fb)['then'](()=>{const _0xf82a42=_0x4c31b7;this[_0xf82a42(0xe2)][_0xf82a42(0x2d4)](_0x4708fb);}));}),await Promise[_0x486970(0x203)](_0x482de8);}};Ae=_n([Oe(0x0,_0x2e1edc),Oe(0x1,_0x34e19f),Oe(0x2,_0x54b249(_0x3cae2d))],Ae);class hn extends _0x28093b{constructor(){const _0x569282=_0x1762ac;super(),_(this,_0x569282(0x238)),this['urlChange$']=_0xaa05a6(window,_0x569282(0x130))[_0x569282(0x29f)](_0x4e4cc7(this[_0x569282(0x27a)]),_0x8a8f2f(0x1),_0x2d1c61(void 0x0));}[_0x1762ac(0x1db)](_0x224844,_0x4f065f,_0x3114c6=!0x1){const _0x1a7cd0=_0x1762ac,_0x197272=new URL(window[_0x1a7cd0(0x246)][_0x1a7cd0(0x1c4)]);_0x197272[_0x1a7cd0(0x14a)]['set'](_0x224844,_0x4f065f),_0x3114c6?window[_0x1a7cd0(0x2d0)][_0x1a7cd0(0x159)]('','',_0x197272[_0x1a7cd0(0xda)]()):window[_0x1a7cd0(0x2d0)][_0x1a7cd0(0x1d1)]('','',_0x197272['toString']());}['removeParam'](_0xb0aee7,_0x1cf605=!0x1){const _0x46b695=_0x1762ac,_0xe57b36=new URL(window['location'][_0x46b695(0x1c4)]);_0xe57b36[_0x46b695(0x14a)][_0x46b695(0x2d4)](_0xb0aee7),_0x1cf605?window['history'][_0x46b695(0x159)]('','',_0xe57b36[_0x46b695(0xda)]()):window[_0x46b695(0x2d0)][_0x46b695(0x1d1)]('','',_0xe57b36[_0x46b695(0xda)]());}['getParam'](_0x23dc60){const _0xebb7e0=_0x1762ac;var _0x1e5f52;return(_0x1e5f52=new URL(window[_0xebb7e0(0x246)][_0xebb7e0(0x1c4)])['searchParams'][_0xebb7e0(0x29b)](_0x23dc60))!=null?_0x1e5f52:void 0x0;}}var un=Object[_0x1762ac(0x155)],dn=Object[_0x1762ac(0x1cc)],fn=(_0xb8dc2d,_0x647249,_0x34ca8c)=>_0x647249 in _0xb8dc2d?un(_0xb8dc2d,_0x647249,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x34ca8c}):_0xb8dc2d[_0x647249]=_0x34ca8c,Sn=(_0x219d25,_0x43d972,_0x48d62e,_0x296b5e)=>{for(var _0x562137=_0x296b5e>0x1?void 0x0:_0x296b5e?dn(_0x43d972,_0x48d62e):_0x43d972,_0x31217d=_0x219d25['length']-0x1,_0x58b715;_0x31217d>=0x0;_0x31217d--)(_0x58b715=_0x219d25[_0x31217d])&&(_0x562137=_0x58b715(_0x562137)||_0x562137);return _0x562137;},be=(_0x1cb7e8,_0x220649)=>(_0x1aa0f4,_0x47b328)=>_0x220649(_0x1aa0f4,_0x47b328,_0x1cb7e8),mn=(_0x93d4a0,_0x51dfa4,_0xc57bdb)=>fn(_0x93d4a0,_0x51dfa4+'',_0xc57bdb);const In=_0x1762ac(0xdf);let ye=class extends _0x5d6e37{constructor(_0x2827f6=tt,_0x51ef1a,_0x5aaf59,_0x19936f){const _0x20c47b=_0x1762ac;super(),this['_config']=_0x2827f6,this[_0x20c47b(0x2bd)]=_0x51ef1a,this['_injector']=_0x5aaf59,this['_configService']=_0x19936f;const {..._0x1a6b75}=_0x141462({},tt,this[_0x20c47b(0x275)]);this[_0x20c47b(0x170)]['setConfig'](Zi,_0x1a6b75);}[_0x1762ac(0x1a1)](){const _0xd9ba66=_0x1762ac;this[_0xd9ba66(0x125)](),this[_0xd9ba66(0x289)]();}['onRendered'](){const _0x4da74d=_0x1762ac;this[_0x4da74d(0xc7)]();}[_0x1762ac(0x125)](){const _0x3da93c=_0x1762ac;var _0xca79d4;const _0x69b91f=[[He],[ae],[re],[oe],[Fe],[Mt,{'useClass':hn}],[_0xd4eb39,{'useClass':_0x5f112c}],[_0x4cefdc,{'useClass':Ae}],[se],[ce],[ie],[F],[Ue],[ne]];_0xbf7213(this[_0x3da93c(0x101)],_0x1f7a18(_0x69b91f,(_0xca79d4=this[_0x3da93c(0x275)])==null?void 0x0:_0xca79d4['override']));}[_0x1762ac(0xc7)](){const _0x19090a=_0x1762ac;this[_0x19090a(0x18b)](this[_0x19090a(0x2bd)][_0x19090a(0x23d)](_0x4b3b5f[_0x19090a(0x204)],[Pe])),this[_0x19090a(0x18b)](this[_0x19090a(0x2bd)][_0x19090a(0x23d)](_0x4b3b5f[_0x19090a(0x26a)],[we]));}[_0x1762ac(0x289)](){const _0x256001=_0x1762ac;_0x3baa6e(this[_0x256001(0x101)],[[F],[se],[ce],[ie],[ne]]);}};mn(ye,'pluginName',In),ye=Sn([_0x3753c4(_0x55d557),be(0x1,_0x52f4dd),be(0x2,_0x54b249(_0x486af7)),be(0x3,_0x2e1edc)],ye);var vn=Object[_0x1762ac(0x1cc)],gn=(_0x5d9987,_0x4bd7da,_0x48c40b,_0xc57e64)=>{const _0x263ac4=_0x1762ac;for(var _0x1a43f3=_0xc57e64>0x1?void 0x0:_0xc57e64?vn(_0x4bd7da,_0x48c40b):_0x4bd7da,_0x2f93c5=_0x5d9987[_0x263ac4(0x196)]-0x1,_0x434f02;_0x2f93c5>=0x0;_0x2f93c5--)(_0x434f02=_0x5d9987[_0x2f93c5])&&(_0x1a43f3=_0x434f02(_0x1a43f3)||_0x1a43f3);return _0x1a43f3;},z=(_0x27b00f,_0xf6b533)=>(_0x91f157,_0x2211df)=>_0xf6b533(_0x91f157,_0x2211df,_0x27b00f);let it=class extends _0x12c1a2{constructor(_0x52e70e,_0xc043db,_0x389038,_0x370a49,_0x16a474){super(_0x52e70e,_0xc043db,_0x389038,_0x370a49,_0x16a474);}async['createSocket'](_0x91fdc3){const _0x3b5c70=_0x1762ac,_0xed7c2a=await this[_0x3b5c70(0x2aa)](),_0x44a70b=this[_0x3b5c70(0x266)](_0x91fdc3,_0xed7c2a);return this[_0x3b5c70(0x21c)](_0x44a70b);}[_0x1762ac(0x266)](_0x5e6475,_0x5496bf){const _0x44a2e0=_0x1762ac,_0xa29fc0=typeof window>'u'?new URL(_0x5e6475):new URL(_0x5e6475,window['location'][_0x44a2e0(0x111)]);_0xa29fc0[_0x44a2e0(0x14a)][_0x44a2e0(0x1e2)]('sessionTicket',_0x5496bf);const _0x484830=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x44a2e0(0x246)][_0x44a2e0(0xfc)]);return _0x484830[_0x44a2e0(0x29b)]('runId')&&_0xa29fc0['searchParams'][_0x44a2e0(0x1e2)]('runId',_0x484830[_0x44a2e0(0x29b)]('runId')),_0xa29fc0[_0x44a2e0(0xda)]();}async[_0x1762ac(0x2aa)](){const _0x48f315=_0x1762ac;var _0x289482,_0x46eca2,_0x39dbb2;const _0x5d40e3=this['_configService']['getConfig'](_0x27eb48),_0x174eb6=(_0x289482=_0x5d40e3==null?void 0x0:_0x5d40e3[_0x48f315(0x1b3)])!=null?_0x289482:_0x202f17;return(_0x39dbb2=(_0x46eca2=(await this[_0x48f315(0x2a6)]['get'](_0x174eb6,{'headers':{'Content-Type':'application/json'}}))[_0x48f315(0xcd)])==null?void 0x0:_0x46eca2['ticket'])!=null?_0x39dbb2:'';}};it=gn([z(0x0,_0x54b249(_0x486af7)),z(0x1,_0x54b249(_0x2a0e93)),z(0x2,_0x2e1edc),z(0x3,_0x1fb54f),z(0x4,_0x2e09ab)],it);const nt=0x7530,rt=_0x1762ac(0x153);class Fn extends _0x5d8363{constructor(){const _0x31afc7=_0x1762ac;super(),_(this,_0x31afc7(0x283),_0x4a9b37()),_(this,'_selfUnitIDs',new Set()),_(this,_0x31afc7(0x1ea),new Map()),_(this,_0x31afc7(0x27c),null),_(this,_0x31afc7(0x1c1),new Map()),_(this,'_unitStatus',new Map()),this[_0x31afc7(0x22f)]();}[_0x1762ac(0x1c0)](){const _0x3c01ba=_0x1762ac;super[_0x3c01ba(0x1c0)](),this[_0x3c01ba(0x1c1)]['forEach']((_0x4e7cc0,_0x5c9fec)=>this[_0x3c01ba(0x100)](_0x5c9fec)),this['_heartbeatTimer']&&window[_0x3c01ba(0x2ae)](this[_0x3c01ba(0x27c)]);}[_0x1762ac(0x1b1)](_0xbae460){const _0x557569=_0x1762ac;return this[_0x557569(0x1b0)](_0xbae460)[_0x557569(0x29f)](_0x339ca4());}[_0x1762ac(0x128)](_0x2e9392){const _0x39ec30=_0x1762ac;this[_0x39ec30(0xca)]['size']===0x0&&this[_0x39ec30(0x10b)](),this[_0x39ec30(0xca)][_0x39ec30(0x26c)](_0x2e9392),this[_0x39ec30(0x253)]({'type':0x0,'memberID':this[_0x39ec30(0x283)],'unitIDs':[_0x2e9392],'isForwarded':!0x1});}[_0x1762ac(0x10d)](_0x2e46da){const _0x36f363=_0x1762ac;this[_0x36f363(0xca)][_0x36f363(0x2d4)](_0x2e46da),this[_0x36f363(0xca)][_0x36f363(0x24b)]===0x0&&this[_0x36f363(0x27c)]&&window[_0x36f363(0x2ae)](this[_0x36f363(0x27c)]);}[_0x1762ac(0x22f)](){const _0x26ac31=_0x1762ac;this['disposeWithMe'](_0x498c8e(_0xaa05a6(window,_0x26ac31(0x2b4))[_0x26ac31(0x221)](_0x2dca52=>{const _0x404abd=_0x26ac31;if(_0x2dca52['key']!==rt||!_0x2dca52[_0x404abd(0x1a0)])return;const _0x5e1ec5=JSON[_0x404abd(0x166)](_0x2dca52[_0x404abd(0x1a0)]);this[_0x404abd(0x163)](_0x5e1ec5);}))),window[_0x26ac31(0x1e9)]('unload',()=>this[_0x26ac31(0x253)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x26ac31(0xca)])}));}[_0x1762ac(0x163)](_0x5d6353){const _0x2c5b92=_0x1762ac;switch(_0x5d6353['type']){case 0x0:this[_0x2c5b92(0x206)](_0x5d6353);break;case 0x1:this[_0x2c5b92(0x156)](_0x5d6353);break;case 0x2:this[_0x2c5b92(0x161)](_0x5d6353);break;}}[_0x1762ac(0x206)](_0x5ea9d9){const _0x3e0e71=_0x1762ac,{unitIDs:_0x3217c,memberID:_0x1f5138,isForwarded:_0x478275}=_0x5ea9d9;_0x3217c[_0x3e0e71(0x14e)](_0x53dfd4=>{const _0x471560=_0x3e0e71;if(!_0x478275&&this['_unitOnClients']['has'](_0x53dfd4)&&this[_0x471560(0x1b0)](_0x53dfd4)[_0x471560(0x2c9)](_0x3deb19[_0x471560(0x1da)]),!this[_0x471560(0x1ea)]['has'](_0x53dfd4)||!this[_0x471560(0x1ea)]['get'](_0x53dfd4)[_0x471560(0x13b)](_0x1f5138)){const _0x42ad28=this[_0x471560(0x1ea)][_0x471560(0x29b)](_0x53dfd4)||new Set();_0x42ad28['add'](_0x1f5138),this[_0x471560(0x1ea)][_0x471560(0x1e2)](_0x53dfd4,_0x42ad28),this[_0x471560(0x14c)](_0x1f5138);}}),_0x478275||this[_0x3e0e71(0x253)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x1762ac(0x14c)](_0x1ed2fe){const _0x4000f7=_0x1762ac;this[_0x4000f7(0x100)](_0x1ed2fe);const _0xfda757=window[_0x4000f7(0x261)](()=>{const _0x2d0534=_0x4000f7;this[_0x2d0534(0x1ea)][_0x2d0534(0x14e)](_0x38b023=>{const _0x4c5056=_0x2d0534;_0x38b023[_0x4c5056(0x2d4)](_0x1ed2fe);});},nt*0x2);this[_0x4000f7(0x1c1)][_0x4000f7(0x1e2)](_0x1ed2fe,_0xfda757);}[_0x1762ac(0x100)](_0x26c518){const _0x171488=_0x1762ac;if(this[_0x171488(0x1c1)]['has'](_0x26c518)){const _0x2c9cef=this[_0x171488(0x1c1)][_0x171488(0x29b)](_0x26c518);_0x2c9cef&&window['clearTimeout'](_0x2c9cef),this[_0x171488(0x1c1)][_0x171488(0x1e2)](_0x26c518,null);}}[_0x1762ac(0x156)](_0x4ecefd){const {memberID:_0x5c124d,unitIDs:_0x538d90}=_0x4ecefd;_0x538d90['forEach'](_0xa2c5e4=>{const _0x96d566=_0x182c;var _0xaa00a6;const _0x5bc496=this[_0x96d566(0x1ea)][_0x96d566(0x29b)](_0xa2c5e4);_0x5bc496&&(_0x5bc496[_0x96d566(0x2d4)](_0x5c124d),(_0xaa00a6=this[_0x96d566(0x1b0)](_0xa2c5e4))==null||_0xaa00a6[_0x96d566(0x2c9)](_0x5bc496[_0x96d566(0x24b)]===0x0?_0x3deb19[_0x96d566(0x2ba)]:_0x3deb19[_0x96d566(0x1da)]));}),this['_removeClearOtherTimer'](_0x5c124d);}[_0x1762ac(0x161)](_0x459cc9){const _0xdae6d6=_0x1762ac;this[_0xdae6d6(0x14c)](_0x459cc9['memberID']);}['_send'](_0x155167){const _0xcdd41c=_0x1762ac;localStorage[_0xcdd41c(0x1dc)](rt,JSON['stringify'](_0x155167));}[_0x1762ac(0x10b)](){const _0x101b5e=_0x1762ac;this[_0x101b5e(0x27c)]=window[_0x101b5e(0x12a)](()=>{const _0x93c282=_0x101b5e;this[_0x93c282(0x253)]({'type':0x2,'memberID':this[_0x93c282(0x283)]});},nt);}['_ensureSubject'](_0x32e798){const _0x50e9b4=_0x1762ac;return this['_unitStatus'][_0x50e9b4(0x13b)](_0x32e798)||this[_0x50e9b4(0x109)]['set'](_0x32e798,new _0x5c4b3a(_0x3deb19[_0x50e9b4(0x2ba)])),this[_0x50e9b4(0x109)][_0x50e9b4(0x29b)](_0x32e798);}}var Lt=(_0x4ffb7a=>(_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x1b4)]=0x0]='UNDEFINED',_0x4ffb7a[_0x4ffb7a['OK']=0x1]='OK',_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x28e)]=0x2]=_0x1762ac(0x28e),_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x17f)]=0x3]=_0x1762ac(0x17f),_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x201)]=0x4]='NOT_FOUND',_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x183)]=0x5]=_0x1762ac(0x183),_0x4ffb7a[_0x4ffb7a['ALREADY_EXISTS']=0x6]=_0x1762ac(0x22c),_0x4ffb7a[_0x4ffb7a[_0x1762ac(0xd9)]=0x7]=_0x1762ac(0xd9),_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x2ce)]=0x8]=_0x1762ac(0x2ce),_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x2b3)]=0x9]=_0x1762ac(0x2b3),_0x4ffb7a[_0x4ffb7a[_0x1762ac(0xc9)]=0xa]=_0x1762ac(0xc9),_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x1fe)]=0xb]=_0x1762ac(0x1fe),_0x4ffb7a[_0x4ffb7a['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x1762ac(0x1dd),_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x1fa)]=0xd]=_0x1762ac(0x1fa),_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x25c)]=0xe]=_0x1762ac(0x25c),_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x27d)]=0x1389]=_0x1762ac(0x27d),_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x11c)]=0x1771]=_0x1762ac(0x11c),_0x4ffb7a[_0x4ffb7a['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x1762ac(0x10a),_0x4ffb7a[_0x4ffb7a['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x1762ac(0x106),_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x15c)]=0x1b59]='APPLY_REJECT',_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x18d)]=0x1b5a]=_0x1762ac(0x18d),_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x129)]=0x1b5b]=_0x1762ac(0x129),_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x280)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x140)]=0x1b5d]=_0x1762ac(0x140),_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x25a)]=0x1f41]=_0x1762ac(0x25a),_0x4ffb7a[_0x4ffb7a['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x1762ac(0xe8),_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x15a)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x24e)]=0x232b]=_0x1762ac(0x24e),_0x4ffb7a[_0x4ffb7a['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x1762ac(0x277),_0x4ffb7a[_0x4ffb7a['LICENSE_DISTRO_REJECTED']=0x232d]=_0x1762ac(0x2cd),_0x4ffb7a[_0x4ffb7a['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x1762ac(0x123),_0x4ffb7a[_0x4ffb7a['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x1762ac(0xf2),_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x285)]=0x2713]=_0x1762ac(0x285),_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x1ad)]=0x2714]=_0x1762ac(0x1ad),_0x4ffb7a[_0x4ffb7a['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x1762ac(0x2be),_0x4ffb7a[_0x4ffb7a['YUUMI_ASYNCIO_CANCELLED']=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x4ffb7a[_0x4ffb7a['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x4ffb7a[_0x4ffb7a['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x1eb)]=0x271e]=_0x1762ac(0x1eb),_0x4ffb7a[_0x4ffb7a['YUUMI_AI_RUN_FAILED']=0x271f]=_0x1762ac(0x2ad),_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x256)]=0x2720]=_0x1762ac(0x256),_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x1c2)]=0x2af9]=_0x1762ac(0x1c2),_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x232)]=0x2ee1]=_0x1762ac(0x232),_0x4ffb7a[_0x4ffb7a[_0x1762ac(0xe0)]=0x2ee2]=_0x1762ac(0xe0),_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x237)]=0x2ee3]=_0x1762ac(0x237),_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x27f)]=0x2ee4]=_0x1762ac(0x27f),_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x208)]=0x2ee5]=_0x1762ac(0x208),_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x1f1)]=0x32c9]=_0x1762ac(0x1f1),_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x14d)]=0x32ca]=_0x1762ac(0x14d),_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x1e4)]=0x32cb]=_0x1762ac(0x1e4),_0x4ffb7a[_0x4ffb7a['UNRECOGNIZED']=-0x1]=_0x1762ac(0x281),_0x4ffb7a))(Lt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x438695,_0x2bcdd7,_0x221465,_0x580f50)=>{const _0x2b60ff=_0x1762ac;for(var _0x4192ae=_0x580f50>0x1?void 0x0:_0x580f50?pn(_0x2bcdd7,_0x221465):_0x2bcdd7,_0x5c7629=_0x438695[_0x2b60ff(0x196)]-0x1,_0x384cbd;_0x5c7629>=0x0;_0x5c7629--)(_0x384cbd=_0x438695[_0x5c7629])&&(_0x4192ae=_0x384cbd(_0x4192ae)||_0x4192ae);return _0x4192ae;},Te=(_0x1db001,_0x3bcf5f)=>(_0x248c52,_0x589423)=>_0x3bcf5f(_0x248c52,_0x589423,_0x1db001);let ot=class extends _0x5d8363{constructor(_0xd8f660,_0x58ce48,_0x54fe45){const _0x3d1d98=_0x1762ac;super(),this[_0x3d1d98(0x1aa)]=_0xd8f660,this[_0x3d1d98(0x2a6)]=_0x58ce48,this[_0x3d1d98(0x170)]=_0x54fe45;}async['runOnServer'](_0x44fd4a,_0x37f933,_0x47132a,..._0x364e1e){const _0x5a00c5=_0x1762ac;var _0x543876,_0x2f1a61,_0x48c285,_0x38a20f;const _0x261f35=this[_0x5a00c5(0x1aa)][_0x5a00c5(0x211)]();if(!_0x261f35)throw new Error(_0x5a00c5(0x274));const _0x5e172e=((_0x543876=this[_0x5a00c5(0x170)]['getConfig'](_0xa85bb9))!=null?_0x543876:_0x27ccee)+'/'+_0x44fd4a+_0x5a00c5(0x151)+_0x37f933,_0x3db02e=new URL(window[_0x5a00c5(0x246)]['href']),_0x541219={'scriptId':_0x44fd4a,'runId':(_0x2f1a61=_0x3db02e[_0x5a00c5(0x14a)][_0x5a00c5(0x29b)](_0x5a00c5(0x1ca)))!=null?_0x2f1a61:'','function':_0x37f933,'unitId':_0x261f35['getUnitId'](),'argsOfFunction':JSON[_0x5a00c5(0x245)](_0x364e1e),'invokeId':(_0x48c285=_0x47132a[_0x5a00c5(0x1d8)])!=null?_0x48c285:'','executionId':(_0x38a20f=_0x47132a[_0x5a00c5(0x288)])!=null?_0x38a20f:''};try{const _0x51fa20=await this[_0x5a00c5(0x2a6)]['post'](_0x5e172e,{'body':_0x541219});return _0x51fa20[_0x5a00c5(0xcd)][_0x5a00c5(0x118)]&&_0x51fa20[_0x5a00c5(0xcd)][_0x5a00c5(0x118)][_0x5a00c5(0x17d)]!==Lt['OK']?_0x5a00c5(0xe4):_0x51fa20['body']['result'];}catch{return'Failed';}}};ot=Cn([Te(0x0,_0x253376),Te(0x1,_0x54b249(_0x2a0e93)),Te(0x2,_0x2e1edc)],ot);export{it as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,se as DesktopCollaborationStatusDisplayController,Mt as IURLService,ot as RemoteUniscriptService,wi as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
package/lib/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x3ea37b=_0x3687;function _0x3687(_0x231b0f,_0x4e438a){const _0x11dc2b=_0x11dc();return _0x3687=function(_0x3687dc,_0x22f72b){_0x3687dc=_0x3687dc-0x1e5;let _0x603622=_0x11dc2b[_0x3687dc];return _0x603622;},_0x3687(_0x231b0f,_0x4e438a);}(function(_0x264e98,_0x31cb1e){const _0x3e2dcf=_0x3687,_0xcb301=_0x264e98();while(!![]){try{const _0x4d460c=parseInt(_0x3e2dcf(0x1e9))/0x1+-parseInt(_0x3e2dcf(0x1fa))/0x2+-parseInt(_0x3e2dcf(0x1ea))/0x3+-parseInt(_0x3e2dcf(0x1f2))/0x4+-parseInt(_0x3e2dcf(0x1ed))/0x5+parseInt(_0x3e2dcf(0x1f4))/0x6+parseInt(_0x3e2dcf(0x1f9))/0x7*(parseInt(_0x3e2dcf(0x1f6))/0x8);if(_0x4d460c===_0x31cb1e)break;else _0xcb301['push'](_0xcb301['shift']());}catch(_0x463618){_0xcb301['push'](_0xcb301['shift']());}}}(_0x11dc,0xa4849));const e={'collab-client':{'tooltip':{'reconnect':_0x3ea37b(0x1e5)}},'collabStatus':{'fetchMiss':_0x3ea37b(0x1f7),'conflict':'Edit\x20conflicts','notCollab':_0x3ea37b(0x1f0),'synced':_0x3ea37b(0x1e7),'syncing':_0x3ea37b(0x1ee),'offline':_0x3ea37b(0x1f3)},'session':{'connection-failed':_0x3ea37b(0x1ec),'will-retry':_0x3ea37b(0x1f5),'room-full':_0x3ea37b(0x1e8),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':'Collaboration\x20Conflict','content':_0x3ea37b(0x1eb)},'permission':{'title':_0x3ea37b(0x1e6),'content':_0x3ea37b(0x1f1)},'collaboration':{'single-unit':{'warning':_0x3ea37b(0x1ef)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x3ea37b(0x1f8)}},o=e;export{o as default};function _0x11dc(){const _0x3912e8=['2790475YRyhWA','Syncing...','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Local\x20file','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','2161416APTPhg','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','1577796MomNby','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','584hFgRHC','Syncing\x20server\x20data...','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','106589BfRGsv','236784rfOQqj','Click\x20to\x20Reconnect','Authentication\x20Error','Synced','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','595750ciOsJX','238743vrCyyO','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.','Connection\x20failed,\x20please\x20check\x20your\x20network.'];_0x11dc=function(){return _0x3912e8;};return _0x11dc();}
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x10d5(_0xe286da,_0x45a65a){const _0x255ad6=_0x255a();return _0x10d5=function(_0x10d58a,_0x426684){_0x10d58a=_0x10d58a-0xda;let _0x5adc30=_0x255ad6[_0x10d58a];return _0x5adc30;},_0x10d5(_0xe286da,_0x45a65a);}function _0x255a(){const _0x44ad7a=['10034ZKPpzA','488577iMpZia','31hvfAZB','8wIUdFv','Connection\x20failed,\x20please\x20check\x20your\x20network.','1931245JvAShk','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Syncing...','Synced','Click\x20to\x20Reconnect','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Local\x20file','1448209BgjaDy','2032308RZkJwC','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Authentication\x20Error','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','8LGeACc','6crQwEo','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','1216870QBTXsS','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\x20Conflict','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.','Edit\x20conflicts','10109561eYsclb'];_0x255a=function(){return _0x44ad7a;};return _0x255a();}const _0x466041=_0x10d5;(function(_0x4aa901,_0x26647a){const _0x469509=_0x10d5,_0x166805=_0x4aa901();while(!![]){try{const _0x33890a=parseInt(_0x469509(0xee))/0x1*(parseInt(_0x469509(0xec))/0x2)+-parseInt(_0x469509(0xed))/0x3*(parseInt(_0x469509(0xef))/0x4)+-parseInt(_0x469509(0xf1))/0x5*(parseInt(_0x469509(0xe2))/0x6)+parseInt(_0x469509(0xdc))/0x7*(parseInt(_0x469509(0xe1))/0x8)+-parseInt(_0x469509(0xdd))/0x9+-parseInt(_0x469509(0xe6))/0xa+parseInt(_0x469509(0xeb))/0xb;if(_0x33890a===_0x26647a)break;else _0x166805['push'](_0x166805['shift']());}catch(_0x4517a6){_0x166805['push'](_0x166805['shift']());}}}(_0x255a,0x3632f));const e={'collab-client':{'tooltip':{'reconnect':_0x466041(0xf5)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x466041(0xea),'notCollab':_0x466041(0xdb),'synced':_0x466041(0xf4),'syncing':_0x466041(0xf3),'offline':_0x466041(0xe0)},'session':{'connection-failed':_0x466041(0xf0),'will-retry':_0x466041(0xde),'room-full':_0x466041(0xe3),'collaboration-timeout':_0x466041(0xe4)},'conflict':{'title':_0x466041(0xe8),'content':_0x466041(0xe9)},'permission':{'title':_0x466041(0xdf),'content':_0x466041(0xe7)},'collaboration':{'single-unit':{'warning':_0x466041(0xda)},'closeRoom':_0x466041(0xf2)},'auth':{'needGotoLoginAlert':_0x466041(0xe5)}};export{e as default};
|