@univerjs-pro/collaboration-client-ui 0.9.0 → 0.9.1-nightly.202507051607
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/en-US.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/en-US.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/en-US.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/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.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 +16 -16
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x6f952d=_0x1920;(function(_0x17ad8f,_0x2a52d2){const _0x4e6a65=_0x1920,_0x5583d1=_0x17ad8f();while(!![]){try{const _0x11f690=parseInt(_0x4e6a65(0x1b1))/0x1*(-parseInt(_0x4e6a65(0x1d3))/0x2)+parseInt(_0x4e6a65(0x8d))/0x3*(-parseInt(_0x4e6a65(0x160))/0x4)+parseInt(_0x4e6a65(0x172))/0x5*(parseInt(_0x4e6a65(0xf5))/0x6)+parseInt(_0x4e6a65(0x1b2))/0x7*(-parseInt(_0x4e6a65(0x163))/0x8)+parseInt(_0x4e6a65(0x15f))/0x9+parseInt(_0x4e6a65(0x1ff))/0xa*(parseInt(_0x4e6a65(0x109))/0xb)+parseInt(_0x4e6a65(0xe3))/0xc;if(_0x11f690===_0x2a52d2)break;else _0x5583d1['push'](_0x5583d1['shift']());}catch(_0x1415be){_0x5583d1['push'](_0x5583d1['shift']());}}}(_0x45b5,0x4949c));var $t=Object['defineProperty'],xt=(_0x17526c,_0xac176d,_0x4c7c13)=>_0xac176d in _0x17526c?$t(_0x17526c,_0xac176d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4c7c13}):_0x17526c[_0xac176d]=_0x4c7c13,_=(_0x4473d2,_0x2b862d,_0x3ed84b)=>xt(_0x4473d2,typeof _0x2b862d!='symbol'?_0x2b862d+'':_0x2b862d,_0x3ed84b);import{MemberService as _0x441684,SessionStatus as _0x2948c1,CollaborationSessionService as _0x338fb1,CollaborationStatus as _0x2cb0a0,CollaborationController as _0x2b30d1,ILocalCacheService as _0x4da2db,CollaborationUIEventService as _0x3329ad,CollaborationUIEventId as _0x117633,DataLoaderService as _0x5dcddc,DocCollaborationEntity as _0xb3aa28,getLocalCacheKey as _0x32759a,LOCAL_CACHE_INTERVAL as _0x531045,LOCAL_CACHE_INTERVAL_KEY as _0x14b207,UniverCollaborationClientPlugin as _0x1fa62f,CollaborationSocketService as _0x57641c,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x207f58,DEFAULT_WS_SESSION_TICKET_URL as _0x102dda,UnitStatus as _0x19f169,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x3a0e70,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x3b2874}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x5e6d7d,Disposable as _0x314d20,DOC_RANGE_TYPE as _0x29b49a,Inject as _0x2ad71f,Injector as _0x14214c,IUniverInstanceService as _0xf38a52,ICommandService as _0x4d6e9b,debounce as _0x59d06b,Rectangle as _0x3024e7,DisposableCollection as _0x4b8d95,toDisposable as _0x545ea3,UniverInstanceType as _0x1bc251,Tools as _0x123dff,COLORS as _0x56d04f,ColorKit as _0x4fcff7,ThemeService as _0x2005fd,fromEventSubject as _0x1c819b,LocaleService as _0x1d6e14,createIdentifier as _0x2b6b47,ILogService as _0x4162d0,Optional as _0x200084,Workbook as _0x3117c5,CommandType as _0x3a95a5,IConfigService as _0x27db46,ILocalStorageService as _0x39ce6c,DependentOn as _0xa20676,Plugin as _0x402252,merge as _0x431bb4,registerDependencies as _0x36eb4a,mergeOverrideWithDependencies as _0x2aa0c7,touchDependencies as _0x33ece9,generateRandomId as _0x271946}from'@univerjs/core';import{Shape as _0x2aad57,Rect as _0x59c86c,getColor as _0x36bd5f,RegularPolygon as _0x1f1108,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x47e241,Vector2 as _0x5c7f08,SHEET_VIEWPORT_KEY as _0x4effea,IRenderManagerService as _0x397b72}from'@univerjs/engine-render';import{ISocketService as _0x31881a,WebSocketService as _0x104ba1,HTTPService as _0x121683}from'@univerjs/network';import{IDocClipboardService as _0x49044a,NodePositionConvertToCursor as _0x311cba,NodePositionConvertToRectRange as _0x5705f8,TEXT_RANGE_LAYER_INDEX as _0x2619d5,SetDocZoomRatioOperation as _0x3d0060,DocIMEInputManagerService as _0x37c3da,DocStateChangeManagerService as _0x528106}from'@univerjs/docs-ui';import{IImageIoService as _0x35079f}from'@univerjs/drawing';import{BehaviorSubject as _0x25ddca,debounceTime as _0x237496,takeUntil as _0x147fa3,Subject as _0x4f017c,filter as _0x55040f,switchMap as _0x1467e7,merge as _0x1f3a02,combineLatest as _0x334567,of as _0x436a93,fromEvent as _0x3b2803,shareReplay as _0x315e11,mapTo as _0x4d926d,distinctUntilChanged as _0x38037e}from'rxjs';import{ITransformService as _0x23cfb3,CollaborationEvent as _0x410ea3,isTransformMutationFailure as _0x399df1,isTransformMutationsWithChangesetSuccess as _0x1939ee,RevisionService as _0x389b96,ISnapshotServerService as _0x549feb}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x3671a2,RichTextEditingMutation as _0x34c5b7,DocSelectionManagerService as _0x8e84b4,DocSkeletonManagerService as _0x500202}from'@univerjs/docs';import{deserializeRangeWithSheet as _0xc18a74,serializeRangeWithSheet as _0x15ae3e}from'@univerjs/engine-formula';import{RefRangeService as _0x165ea1,SetSelectionsOperation as _0x4aec22,SheetsSelectionsService as _0x34824b,EffectRefRangId as _0x5cf330,handleIRemoveRow as _0x403726,handleIRemoveCol as _0x198690,handleMoveRange as _0x51e359,handleInsertRow as _0x1ea899,handleInsertRangeMoveRight as _0x2349c2,handleInsertRangeMoveDown as _0x1b8001,handleInsertCol as _0x1830f7,handleDeleteRangeMoveUp as _0x2eecfe,handleDeleteRangeMoveLeft as _0x201fe2,runRefRangeMutations as _0x3882f8,SetWorksheetActivateCommand as _0x59f06e}from'@univerjs/sheets';import{map as _0x31365f,filter as _0x581d51,throttleTime as _0x19b056,takeUntil as _0x227a8e,switchMap as _0x37011b}from'rxjs/operators';import{SheetSkeletonManagerService as _0x4beabc,getCoordByCell as _0xa0c449,getSheetObject as _0x2c8e5f}from'@univerjs/sheets-ui';import{jsx as _0x40946b,jsxs as _0x5c1e11}from'react/jsx-runtime';import{useObservable as _0x2b77a4,useDependency as _0x12e57b,IUIPartsService as _0x5a568b,BuiltInUIPart as _0x344b76,connectInjector as _0x283f2b,IBeforeCloseService as _0x188b08,IMessageService as _0x16c293,INotificationService as _0x369ee3}from'@univerjs/ui';import{Tooltip as _0x43ed71,clsx as _0x2454df,MessageType as _0x1ad4d0}from'@univerjs/design';import{forwardRef as _0x2fd603,useRef as _0x24d2a2,createElement as _0x672ee0,useCallback as _0x26d198}from'react';import{IRemoteInstanceService as _0x2b90ec}from'@univerjs/rpc';var ci=Object[_0x6f952d(0x283)],li=(_0x279e33,_0x4f1196,_0x26ad27,_0x164bcb)=>{for(var _0x5ac570=_0x164bcb>0x1?void 0x0:_0x164bcb?ci(_0x4f1196,_0x26ad27):_0x4f1196,_0x3a7cb5=_0x279e33['length']-0x1,_0x3f3537;_0x3a7cb5>=0x0;_0x3a7cb5--)(_0x3f3537=_0x279e33[_0x3a7cb5])&&(_0x5ac570=_0x3f3537(_0x5ac570)||_0x5ac570);return _0x5ac570;},Je=(_0x28ff19,_0x2b838b)=>(_0x1032b1,_0x2c1aa9)=>_0x2b838b(_0x1032b1,_0x2c1aa9,_0x28ff19);let Ne=class extends _0x5e6d7d{constructor(_0x6d18f3,_0x20c419){const _0x53734d=_0x6f952d;super(),this[_0x53734d(0x1b7)]=_0x6d18f3,this[_0x53734d(0x1a3)]=_0x20c419,this[_0x53734d(0x16a)]();}[_0x6f952d(0x16a)](){const _0x570f10=_0x6f952d,_0x312473=this;this[_0x570f10(0xc7)](this['_docClipboardService'][_0x570f10(0x130)]({'onBeforePasteImage':async _0x329837=>{const _0x38cf6b=_0x570f10,_0x381b22=await _0x312473[_0x38cf6b(0x1a3)][_0x38cf6b(0x11d)](_0x329837);return _0x381b22?{'source':_0x381b22[_0x38cf6b(0x285)],'imageSourceType':_0x381b22['imageSourceType']}:null;}}));}};Ne=li([Je(0x0,_0x49044a),Je(0x1,_0x35079f)],Ne);const Ze=[_0x6f952d(0xb1),_0x6f952d(0xac),'green.600',_0x6f952d(0x23d),_0x6f952d(0x1ee),_0x6f952d(0xa7)];class ke extends _0x314d20{constructor(){const _0x251a84=_0x6f952d;super(...arguments),_(this,_0x251a84(0x197),new Map()),_(this,_0x251a84(0x222),0x0);}[_0x6f952d(0x273)](_0x10234e){const _0x93f45c=_0x6f952d;if(this[_0x93f45c(0x197)][_0x93f45c(0x1a8)](_0x10234e))return this[_0x93f45c(0x197)][_0x93f45c(0x261)](_0x10234e);const _0x2f0936=Ze[this[_0x93f45c(0x222)]];return this[_0x93f45c(0x222)]=(this[_0x93f45c(0x222)]+0x1)%Ze[_0x93f45c(0x158)],this[_0x93f45c(0x197)][_0x93f45c(0x129)](_0x10234e,_0x2f0936),_0x2f0936;}}function Tt(_0x146fcb){let _0x3f661a='';for(const _0x14786e of _0x146fcb){const {startOffset:_0x482744,endOffset:_0x869d11,isActive:_0x297a47,rangeType:_0x288205,segmentId:_0x3ed8b9,segmentPage:_0x43cce4}=_0x14786e;_0x3f661a['length']&&(_0x3f661a+=','),_0x3f661a+=_0x482744+':'+_0x869d11+':'+(_0x297a47?'1':'0')+':'+_0x288205+':'+_0x3ed8b9+':'+_0x43cce4;}return _0x3f661a;}function _i(_0xc03c9e){const _0x28283a=_0x6f952d,_0x30cc2a=_0xc03c9e[_0x28283a(0xb5)](','),_0xcdfe23=[];for(const _0x11cbe4 of _0x30cc2a){const [_0x16b6c4,_0x21ebdc,_0x1bd0b8,_0x2a758f,_0x1a3e93,_0x27a91d]=_0x11cbe4[_0x28283a(0xb5)](':');_0xcdfe23[_0x28283a(0x1a2)]({'startOffset':Number(_0x16b6c4),'endOffset':Number(_0x21ebdc),'collapsed':_0x16b6c4===_0x21ebdc,'isActive':_0x1bd0b8==='1','rangeType':_0x2a758f===_0x29b49a[_0x28283a(0xd8)]?_0x29b49a['TEXT']:_0x29b49a[_0x28283a(0x1fd)],'segmentId':typeof _0x1a3e93==_0x28283a(0x19b)?String(_0x1a3e93):'','segmentPage':Number(_0x27a91d!=null?_0x27a91d:-0x1)});}return _0xcdfe23[_0x28283a(0x269)](_0x8044dd=>_0x8044dd[_0x28283a(0x1c7)])||(_0xcdfe23[0x0]['isActive']=!0x0),_0xcdfe23;}class He extends _0x5e6d7d{constructor(){const _0x4540cf=_0x6f952d;super(...arguments),_(this,_0x4540cf(0x1f8),new _0x25ddca(null)),_(this,_0x4540cf(0x90),this['_collabCursorState$'][_0x4540cf(0xa1)]());}[_0x6f952d(0x26a)](_0x6574fe){const _0x2a0cd1=_0x6f952d,{unitID:_0x86342,memberID:_0x5721bb,textRanges:_0xa80f52}=_0x6574fe,_0x3d754c=Tt(_0xa80f52);if(_0x3d754c==='')return;const _0x1a4850={'unitID':_0x86342,'memberID':_0x5721bb,'selection':_0x3d754c};this[_0x2a0cd1(0x1f8)][_0x2a0cd1(0xa9)](_0x1a4850);}}var hi=Object[_0x6f952d(0x283)],ui=(_0x5c0cb7,_0x3012e7,_0x691dcc,_0x1838a3)=>{const _0x3a0726=_0x6f952d;for(var _0x100fef=_0x1838a3>0x1?void 0x0:_0x1838a3?hi(_0x3012e7,_0x691dcc):_0x3012e7,_0x47246f=_0x5c0cb7[_0x3a0726(0x158)]-0x1,_0x26c9b2;_0x47246f>=0x0;_0x47246f--)(_0x26c9b2=_0x5c0cb7[_0x47246f])&&(_0x100fef=_0x26c9b2(_0x100fef)||_0x100fef);return _0x100fef;},P=(_0x3a8436,_0x557d1f)=>(_0x20b2b2,_0x4de1bc)=>_0x557d1f(_0x20b2b2,_0x4de1bc,_0x3a8436);const di=0x12c,fi=0x64;let Ue=class extends _0x5e6d7d{constructor(_0x583baa,_0x5b1a4e,_0x230d02,_0x1fa289,_0x25c32f,_0x4f41b9,_0x459461,_0x1935d8,_0x2bc300){const _0x3babb9=_0x6f952d;super(),_(this,_0x3babb9(0x112),!0x1),_(this,_0x3babb9(0x16a),!0x1),_(this,_0x3babb9(0x202),new _0x25ddca(new Map())),_(this,_0x3babb9(0x223),this[_0x3babb9(0x202)]['asObservable']()),_(this,_0x3babb9(0x134),new _0x25ddca([])),_(this,_0x3babb9(0x136),this[_0x3babb9(0x134)][_0x3babb9(0x173)](_0x237496(di))),_(this,_0x3babb9(0x93),_0x59d06b(_0xf0b15a=>{const _0x4455d4=_0x3babb9,_0x1eefa2={'eventID':_0x410ea3[_0x4455d4(0xe4)],'data':{'unitID':this[_0x4455d4(0x201)],'memberID':this[_0x4455d4(0x18f)][_0x4455d4(0xc8)](),'selection':Tt(_0xf0b15a)}};this[_0x4455d4(0x18f)][_0x4455d4(0x108)](_0x1eefa2,this[_0x4455d4(0x201)]);},fi)),(this[_0x3babb9(0x201)]=_0x583baa,this['_session']=_0x5b1a4e,this[_0x3babb9(0x277)]=_0x230d02,this['_colorAssignService']=_0x1fa289,this['_memberService']=_0x25c32f,this[_0x3babb9(0xaa)]=_0x4f41b9,this[_0x3babb9(0x19a)]=_0x459461,this[_0x3babb9(0xc9)]=_0x1935d8,this['_commandService']=_0x2bc300);}get['cursorInfo'](){const _0x1e1d4c=_0x6f952d;return this[_0x1e1d4c(0x202)][_0x1e1d4c(0x1be)]();}get[_0x6f952d(0x1c1)](){return this['_roomMembers$']['getValue']();}[_0x6f952d(0x85)](){const _0x42e407=_0x6f952d;super[_0x42e407(0x85)](),this[_0x42e407(0x202)][_0x42e407(0xa9)](new Map()),this[_0x42e407(0x202)][_0x42e407(0x25b)](),this[_0x42e407(0x134)][_0x42e407(0xa9)]([]),this['_roomMembers$'][_0x42e407(0x25b)]();}[_0x6f952d(0x13e)](){const _0x5f349a=_0x6f952d;this[_0x5f349a(0x16a)]||(this['_init']=!0x0,this[_0x5f349a(0x18f)][_0x5f349a(0x18a)][_0x5f349a(0x173)](_0x147fa3(this[_0x5f349a(0x236)]))[_0x5f349a(0x1ba)](_0x37cd3a=>{const _0x283694=_0x5f349a;_0x37cd3a===_0x2948c1[_0x283694(0x22d)]?this[_0x283694(0xd4)]():this[_0x283694(0x279)]();}),this[_0x5f349a(0x18f)][_0x5f349a(0x1d4)]['pipe'](_0x147fa3(this['dispose$']))[_0x5f349a(0x1ba)](_0x134e58=>{const _0x283d54=_0x5f349a,_0x5ca2d7=_0x134e58[_0x283d54(0x1fa)];_0x5ca2d7===_0x410ea3[_0x283d54(0xe4)]&&this['_onCursorUpdate'](_0x134e58),_0x5ca2d7===_0x410ea3[_0x283d54(0x220)]&&this[_0x283d54(0xf7)](_0x134e58);}),this[_0x5f349a(0xc7)](this['_commandService'][_0x5f349a(0x97)](_0x5998b7=>{const _0x4eea01=_0x5f349a,_0x5881da=_0x5998b7['params'];_0x5881da!=null&&this[_0x4eea01(0x112)]&&_0x5998b7['id']===_0x3671a2['id']&&_0x5881da['unitId']===this['unitID']&&_0x5881da[_0x4eea01(0x184)]===!0x1&&_0x5881da[_0x4eea01(0x17a)][_0x4eea01(0x158)]>0x0&&this['_updateLocalCursor'](_0x5881da[_0x4eea01(0x17a)]);})),this[_0x5f349a(0xaa)][_0x5f349a(0x90)][_0x5f349a(0x173)](_0x147fa3(this[_0x5f349a(0x236)]))['subscribe'](_0x26d4cc=>{const _0x32734a=_0x5f349a;if((_0x26d4cc==null?void 0x0:_0x26d4cc[_0x32734a(0x201)])!==this['unitID'])return;const _0x546904={'eventID':_0x410ea3[_0x32734a(0xe4)],'data':_0x26d4cc};this['_onCursorUpdate'](_0x546904);}),this[_0x5f349a(0xc7)](this[_0x5f349a(0x19c)][_0x5f349a(0x97)](_0x3a57e5=>{const _0x569d4e=_0x5f349a;if(_0x3a57e5['params']==null)return;const _0xcb64d6=_0x3a57e5[_0x569d4e(0x80)];if(_0x3a57e5['id']!==_0x34c5b7['id']||_0xcb64d6['unitId']!==this[_0x569d4e(0x201)])return;const _0xda77c1={'id':'doc.mutation.rich-text-editing','params':_0xcb64d6},_0x3bd970=this[_0x569d4e(0x21b)];for(const [_0x3a40f6,_0x219025]of _0x3bd970){const _0x7a4162={'id':_0x569d4e(0x17d),'params':{'unitId':this[_0x569d4e(0x201)],'actions':null,'textRanges':_0x219025['ranges']}},_0x29a3ed=this[_0x569d4e(0x19a)][_0x569d4e(0x127)](_0xda77c1,_0x7a4162,!0x1);if(_0x399df1(_0x29a3ed))throw _0x29a3ed['error'];_0x3bd970[_0x569d4e(0x129)](_0x3a40f6,{..._0x219025,'ranges':_0x29a3ed[_0x569d4e(0x185)][_0x569d4e(0x80)][_0x569d4e(0x242)]});}queueMicrotask(()=>{const _0x3fbf4e=_0x569d4e;this[_0x3fbf4e(0x202)][_0x3fbf4e(0xa9)](_0x3bd970);});})));}[_0x6f952d(0x28b)](_0x58d0cb){const _0x3cfc8d=_0x6f952d;var _0x287705,_0x445a30;const {memberID:_0x47e740,selection:_0xbce996}=_0x58d0cb[_0x3cfc8d(0x194)],_0x2b3cd3=_i(_0xbce996),_0x4f6c33=(_0x445a30=(_0x287705=this['_memberService']['getMember'](this[_0x3cfc8d(0x201)],_0x47e740))==null?void 0x0:_0x287705['name'])!=null?_0x445a30:_0x3cfc8d(0x96),_0x422e53={'color':this[_0x3cfc8d(0x1ce)][_0x3cfc8d(0x273)](_0x47e740),'name':_0x4f6c33,'ranges':_0x2b3cd3},_0x4c23e2=this[_0x3cfc8d(0x21b)];_0x4c23e2['set'](_0x47e740,_0x422e53),this[_0x3cfc8d(0x202)][_0x3cfc8d(0xa9)](_0x4c23e2);}[_0x6f952d(0xf7)](_0x36f727){const _0x554149=_0x6f952d,{memberID:_0x1fcb9e}=_0x36f727['data'],_0x1133b7=this[_0x554149(0x21b)];_0x1133b7[_0x554149(0x230)](_0x1fcb9e),this[_0x554149(0x202)]['next'](_0x1133b7);}[_0x6f952d(0xd4)](){const _0x12ab3d=_0x6f952d;var _0x5acbaa;if(this[_0x12ab3d(0x112)]=!0x0,((_0x5acbaa=this[_0x12ab3d(0xc9)][_0x12ab3d(0x1c9)]())==null?void 0x0:_0x5acbaa[_0x12ab3d(0x212)]())!==this[_0x12ab3d(0x201)])return;const _0x33ae9a=this['_injector'][_0x12ab3d(0x261)](_0x8e84b4)[_0x12ab3d(0x1f0)]();Array['isArray'](_0x33ae9a)&&_0x33ae9a[_0x12ab3d(0x158)]>0x0&&this['_updateLocalCursor'](_0x33ae9a);}['_toggleOffline'](){const _0x570c2d=_0x6f952d;this[_0x570c2d(0x112)]=!0x1;}};Ue=ui([P(0x2,_0x2ad71f(_0x14214c)),P(0x3,_0x2ad71f(ke)),P(0x4,_0x2ad71f(_0x441684)),P(0x5,_0x2ad71f(He)),P(0x6,_0x23cfb3),P(0x7,_0xf38a52),P(0x8,_0x4d6e9b)],Ue);var Si=Object[_0x6f952d(0x283)],mi=(_0x52e1db,_0x4f158f,_0x41aac2,_0x30ab48)=>{const _0x4e9603=_0x6f952d;for(var _0x929581=_0x30ab48>0x1?void 0x0:_0x30ab48?Si(_0x4f158f,_0x41aac2):_0x4f158f,_0x2370c2=_0x52e1db[_0x4e9603(0x158)]-0x1,_0x4e005e;_0x2370c2>=0x0;_0x2370c2--)(_0x4e005e=_0x52e1db[_0x2370c2])&&(_0x929581=_0x4e005e(_0x929581)||_0x929581);return _0x929581;},x=(_0xd63390,_0xc7f18a)=>(_0x554af0,_0x5a0361)=>_0xc7f18a(_0x554af0,_0x5a0361,_0xd63390);const Ii=0x12c,gi=0x64,vi=()=>{let _0x3e8125=[],_0x136515=!0x1;return _0x1529bc=>{_0x3e8125['push'](_0x1529bc),_0x136515||(_0x136515=!0x0,setTimeout(()=>{const _0x1c6455=_0x1920;_0x3e8125[_0x1c6455(0x1f3)](_0x366687=>_0x366687()),_0x3e8125=[],_0x136515=!0x1;}));};};let Me=class extends _0x5e6d7d{constructor(_0x1f3312,_0x550b7a,_0x35f93d,_0xceba43,_0x1e7a4f,_0x12a6e9,_0xb9a01c,_0xeb4a33){const _0x5eb2df=_0x6f952d;super(),_(this,_0x5eb2df(0x112),!0x1),_(this,'_init',!0x1),_(this,_0x5eb2df(0x202),new _0x25ddca(new Map())),_(this,_0x5eb2df(0x223),this[_0x5eb2df(0x202)][_0x5eb2df(0xa1)]()),_(this,_0x5eb2df(0x134),new _0x25ddca([])),_(this,_0x5eb2df(0x136),this[_0x5eb2df(0x134)][_0x5eb2df(0x173)](_0x237496(Ii))),_(this,_0x5eb2df(0x93),_0x59d06b((_0x48a82e,_0x31a64d)=>{const _0x6376ba=_0x5eb2df,_0x4e27c5={'eventID':_0x410ea3[_0x6376ba(0xe4)],'data':{'unitID':this[_0x6376ba(0x201)],'memberID':this['_session']['getMemberID'](),'selection':_0x15ae3e(_0x48a82e,_0x31a64d[_0x6376ba(0x1d6)])}};this['_session'][_0x6376ba(0x108)](_0x4e27c5,this[_0x6376ba(0x201)]);},gi)),(this[_0x5eb2df(0x201)]=_0x1f3312,this[_0x5eb2df(0x18f)]=_0x550b7a,this[_0x5eb2df(0x277)]=_0x35f93d,this[_0x5eb2df(0x1ce)]=_0xceba43,this[_0x5eb2df(0xd6)]=_0x1e7a4f,this[_0x5eb2df(0xc9)]=_0x12a6e9,this[_0x5eb2df(0x19c)]=_0xb9a01c,this[_0x5eb2df(0x178)]=_0xeb4a33);}get[_0x6f952d(0x21b)](){const _0x1bef1b=_0x6f952d;return this[_0x1bef1b(0x202)][_0x1bef1b(0x1be)]();}get['roomMembers'](){return this['_roomMembers$']['getValue']();}[_0x6f952d(0x85)](){const _0x24a9ab=_0x6f952d;super[_0x24a9ab(0x85)](),this[_0x24a9ab(0x202)][_0x24a9ab(0xa9)](new Map()),this['_cursorInfo$'][_0x24a9ab(0x25b)](),this[_0x24a9ab(0x134)][_0x24a9ab(0xa9)]([]),this['_roomMembers$']['complete']();}['init'](){const _0x545235=_0x6f952d;this[_0x545235(0x16a)]||(this[_0x545235(0x16a)]=!0x0,this[_0x545235(0x18f)]['sessionStatus$'][_0x545235(0x173)](_0x147fa3(this[_0x545235(0x236)]))[_0x545235(0x1ba)](_0x2a0685=>{const _0x3e7335=_0x545235;_0x2a0685===_0x2948c1[_0x3e7335(0x22d)]?this[_0x3e7335(0xd4)]():this[_0x3e7335(0x279)]();}),this[_0x545235(0x18f)]['event$'][_0x545235(0x173)](_0x147fa3(this['dispose$']))[_0x545235(0x1ba)](_0x41d267=>{const _0x353458=_0x545235,_0x111785=_0x41d267[_0x353458(0x1fa)];_0x111785===_0x410ea3[_0x353458(0xe4)]&&this['_onCursorUpdate'](_0x41d267),_0x111785===_0x410ea3['USERS_LEAVE']&&this[_0x353458(0xf7)](_0x41d267);}),this[_0x545235(0x264)](),this[_0x545235(0xc7)](this[_0x545235(0x19c)]['onCommandExecuted'](_0x5a5f2c=>{const _0xd3bcbe=_0x545235;if(this[_0xd3bcbe(0x112)]&&_0x5a5f2c['id']===_0x4aec22['id']&&_0x5a5f2c[_0xd3bcbe(0x80)][_0xd3bcbe(0xb7)]===this[_0xd3bcbe(0x201)]){const _0x2ea55b=_0x5a5f2c['params'];this['_updateLocalCursor'](_0x2ea55b['subUnitId'],_0x2ea55b['selections'][0x0]);}})));}[_0x6f952d(0x28b)](_0x548dd8){const _0x4ddf9=_0x6f952d;var _0x74d263,_0xaea66e;const {memberID:_0x4c1b71,selection:_0x52ed42}=_0x548dd8['data'],{sheetName:_0x5527f0,range:_0x15bd55}=_0xc18a74(_0x52ed42),_0x6acb8b={'name':(_0xaea66e=(_0x74d263=this[_0x4ddf9(0xd6)][_0x4ddf9(0x17e)](this[_0x4ddf9(0x201)],_0x4c1b71))==null?void 0x0:_0x74d263['name'])!=null?_0xaea66e:_0x4ddf9(0x96),'range':this[_0x4ddf9(0xe2)](_0x5527f0,_0x15bd55),'sheetID':_0x5527f0,'color':this['_colorAssignService'][_0x4ddf9(0x273)](_0x4c1b71),'selection':_0x52ed42},_0x3519f7=this[_0x4ddf9(0x21b)];_0x3519f7['set'](_0x4c1b71,_0x6acb8b),this[_0x4ddf9(0x202)]['next'](_0x3519f7);}['_onCursorDelete'](_0x5523bc){const _0x59d7df=_0x6f952d,{memberID:_0x2dc41f}=_0x5523bc[_0x59d7df(0x194)],_0x52c46d=this[_0x59d7df(0x21b)];_0x52c46d[_0x59d7df(0x230)](_0x2dc41f),this[_0x59d7df(0x202)]['next'](_0x52c46d);}[_0x6f952d(0xe2)](_0x5c219f,_0x1dc231){const _0x419600=_0x6f952d;var _0x39da0e,_0x121427;const _0x10c790=(_0x121427=(_0x39da0e=this['_univerInstanceService']['getUniverSheetInstance'](this[_0x419600(0x201)]))==null?void 0x0:_0x39da0e['getSheetBySheetId'](_0x5c219f))==null?void 0x0:_0x121427[_0x419600(0xf1)]();return(_0x10c790==null?void 0x0:_0x10c790['find'](_0x4a56b9=>_0x3024e7[_0x419600(0x1aa)](_0x4a56b9,_0x1dc231)))||_0x1dc231;}['_onRefRangeChange'](){const _0x366627=_0x6f952d,_0x5b6d82=new _0x4b8d95(),_0x50157b=vi(),_0x104080=()=>{const _0x51b69f=_0x1920;_0x5b6d82[_0x51b69f(0x85)]();const _0x3751a9=(_0x44e763,_0x13e23a,_0x26c2c6,_0x2b0614)=>{const _0x58efab=_0x51b69f;let _0x164603=[];switch(_0x44e763['id']){case _0x5cf330[_0x58efab(0x1cc)]:{_0x164603=_0x201fe2(_0x44e763,_0x2b0614);break;}case _0x5cf330['DeleteRangeMoveUpCommandId']:{_0x164603=_0x2eecfe(_0x44e763,_0x2b0614);break;}case _0x5cf330[_0x58efab(0x274)]:{_0x164603=_0x1830f7(_0x44e763,_0x2b0614);break;}case _0x5cf330[_0x58efab(0x245)]:{_0x164603=_0x1b8001(_0x44e763,_0x2b0614);break;}case _0x5cf330[_0x58efab(0x262)]:{_0x164603=_0x2349c2(_0x44e763,_0x2b0614);break;}case _0x5cf330[_0x58efab(0x221)]:{_0x164603=_0x1ea899(_0x44e763,_0x2b0614);break;}case _0x5cf330[_0x58efab(0xc4)]:{_0x164603=_0x51e359(_0x44e763,_0x2b0614);break;}case _0x5cf330[_0x58efab(0x1b6)]:{_0x164603=_0x198690(_0x44e763,_0x2b0614);break;}case _0x5cf330[_0x58efab(0x287)]:{_0x164603=_0x403726(_0x44e763,_0x2b0614);break;}}const _0x39d97c=_0x3882f8(_0x164603,_0x2b0614),_0x36a705=this['cursorInfo'][_0x58efab(0x261)](_0x13e23a);if(_0x36a705&&_0x39d97c){const _0x19231b={..._0x36a705,'range':_0x39d97c};this[_0x58efab(0x21b)][_0x58efab(0x129)](_0x13e23a,_0x19231b),_0x50157b(()=>{const _0x185b7d=_0x58efab,_0x5c3927=this[_0x185b7d(0x178)][_0x185b7d(0x135)](_0x39d97c,_0x25751d=>(_0x5c3927[_0x185b7d(0x85)](),_0x3751a9(_0x25751d,_0x13e23a,_0x26c2c6,_0x39d97c)));_0x5b6d82[_0x185b7d(0x153)](_0x5c3927);});}return{'redos':[],'undos':[]};};this[_0x51b69f(0x21b)][_0x51b69f(0x1f3)]((_0x5c7a5c,_0x2a2d65)=>{const _0x4748a3=_0x51b69f,{range:_0x3fe824,sheetID:_0x187835}=_0x5c7a5c,_0x2129ac=this[_0x4748a3(0x178)][_0x4748a3(0x135)](_0x3fe824,_0x525193=>(_0x2129ac[_0x4748a3(0x85)](),_0x3751a9(_0x525193,_0x2a2d65,_0x187835,_0x3fe824)));_0x5b6d82[_0x4748a3(0x153)](_0x2129ac);});};this[_0x366627(0xc7)](_0x545ea3(this[_0x366627(0x202)][_0x366627(0x1ba)](()=>{_0x104080();})));}['_toggleOnline'](){const _0x5bf3ad=_0x6f952d;var _0x1c1f6d,_0x470ece;if(this['_online']=!0x0,((_0x1c1f6d=this[_0x5bf3ad(0xc9)][_0x5bf3ad(0x1c9)]())==null?void 0x0:_0x1c1f6d[_0x5bf3ad(0x212)]())!==this[_0x5bf3ad(0x201)])return;const _0x349503=(_0x470ece=this[_0x5bf3ad(0x277)][_0x5bf3ad(0x261)](_0x34824b)[_0x5bf3ad(0x208)]())==null?void 0x0:_0x470ece[0x0],_0x71c865=this[_0x5bf3ad(0xc9)][_0x5bf3ad(0x1e4)](_0x1bc251[_0x5bf3ad(0x276)])['getActiveSheet']();_0x349503&&_0x71c865&&this[_0x5bf3ad(0x93)](_0x71c865[_0x5bf3ad(0x14f)](),_0x349503);}[_0x6f952d(0x279)](){this['_online']=!0x1;}};Me=mi([x(0x2,_0x2ad71f(_0x14214c)),x(0x3,_0x2ad71f(ke)),x(0x4,_0x2ad71f(_0x441684)),x(0x5,_0xf38a52),x(0x6,_0x4d6e9b),x(0x7,_0x2ad71f(_0x165ea1))],Me);var pi=Object[_0x6f952d(0x283)],Ci=(_0x5adde7,_0x266084,_0x1ef1d0,_0x2f82b0)=>{const _0x149a45=_0x6f952d;for(var _0x200e6c=_0x2f82b0>0x1?void 0x0:_0x2f82b0?pi(_0x266084,_0x1ef1d0):_0x266084,_0x295a53=_0x5adde7[_0x149a45(0x158)]-0x1,_0x53b2c0;_0x295a53>=0x0;_0x295a53--)(_0x53b2c0=_0x5adde7[_0x295a53])&&(_0x200e6c=_0x53b2c0(_0x200e6c)||_0x200e6c);return _0x200e6c;},Se=(_0x513786,_0x594e46)=>(_0xf85ecc,_0xc2646a)=>_0x594e46(_0xf85ecc,_0xc2646a,_0x513786);let H=class extends _0x5e6d7d{constructor(_0x4e449d,_0x3f9552,_0x2fbc0d){const _0x200f56=_0x6f952d;super(),_(this,'_entities',new Map()),_(this,'_entityInit$',new _0x4f017c()),(this['_univerInstanceService']=_0x4e449d,this['_injector']=_0x3f9552,this['_collabSessionService']=_0x2fbc0d,this[_0x200f56(0x16a)]());}[_0x6f952d(0x85)](){const _0x201e8b=_0x6f952d;super['dispose'](),this['_entityInit$'][_0x201e8b(0x25b)](),this[_0x201e8b(0xdc)][_0x201e8b(0x1f3)](_0x19d676=>_0x19d676[_0x201e8b(0x85)]());}['getCollabCursors$'](_0x20b07a){const _0x40a037=_0x6f952d;return this[_0x40a037(0xdc)][_0x40a037(0x1a8)](_0x20b07a)?this[_0x40a037(0xdc)][_0x40a037(0x261)](_0x20b07a)['cursorInfo$']:this[_0x40a037(0x94)][_0x40a037(0x173)](_0x55040f(_0x561f31=>_0x561f31['unitID']===_0x20b07a),_0x1467e7(_0x90b555=>_0x90b555[_0x40a037(0x223)]));}[_0x6f952d(0x16a)](){const _0x416f7e=_0x6f952d;this[_0x416f7e(0xc9)][_0x416f7e(0x248)](_0x1bc251['UNIVER_SHEET'])[_0x416f7e(0x173)](_0x147fa3(this[_0x416f7e(0x236)]))[_0x416f7e(0x1ba)](async _0x1253c1=>{const _0xdae9e1=_0x416f7e,_0x136130=_0x1253c1[_0xdae9e1(0x212)](),_0x27a3d3=await this[_0xdae9e1(0x11b)](_0x136130);this['_entityInit$'][_0xdae9e1(0xa9)](_0x27a3d3),this[_0xdae9e1(0xdc)]['set'](_0x136130,_0x27a3d3);}),this[_0x416f7e(0xc9)][_0x416f7e(0x248)](_0x1bc251[_0x416f7e(0x263)])[_0x416f7e(0x173)](_0x147fa3(this[_0x416f7e(0x236)]))[_0x416f7e(0x173)](_0x55040f(_0x1035be=>!_0x1035be[_0x416f7e(0x212)]()[_0x416f7e(0x88)]('__')))[_0x416f7e(0x1ba)](async _0x2143f6=>{const _0x50f6b4=_0x416f7e,_0x3d5ccb=_0x2143f6[_0x50f6b4(0x212)](),_0x30325e=await this[_0x50f6b4(0x1ec)](_0x3d5ccb);this[_0x50f6b4(0x94)][_0x50f6b4(0xa9)](_0x30325e),this[_0x50f6b4(0xdc)][_0x50f6b4(0x129)](_0x3d5ccb,_0x30325e);}),_0x1f3a02(this[_0x416f7e(0xc9)][_0x416f7e(0x132)](_0x1bc251[_0x416f7e(0x263)]),this[_0x416f7e(0xc9)][_0x416f7e(0x132)](_0x1bc251[_0x416f7e(0x276)]))['pipe'](_0x147fa3(this[_0x416f7e(0x236)]))[_0x416f7e(0x1ba)](_0x1e40c9=>{const _0x21c9de=_0x416f7e,_0x2e8a06=_0x1e40c9[_0x21c9de(0x212)](),_0x13a8f7=this[_0x21c9de(0xdc)]['get'](_0x2e8a06);_0x13a8f7&&(_0x13a8f7[_0x21c9de(0x85)](),this[_0x21c9de(0xdc)][_0x21c9de(0x230)](_0x2e8a06));});}async[_0x6f952d(0x11b)](_0x45487a){const _0x5a6558=_0x6f952d,_0x4ab8f2=await this[_0x5a6558(0x13d)][_0x5a6558(0x224)](_0x45487a),_0x5e82f1=this['_injector'][_0x5a6558(0x26b)](Me,_0x45487a,_0x4ab8f2);return _0x5e82f1[_0x5a6558(0x13e)](),_0x5e82f1;}async['_startDocCollabCursor'](_0x371552){const _0x33b077=_0x6f952d,_0x3ab0d1=await this['_collabSessionService'][_0x33b077(0x224)](_0x371552),_0x31fac4=this[_0x33b077(0x277)][_0x33b077(0x26b)](Ue,_0x371552,_0x3ab0d1);return _0x31fac4[_0x33b077(0x13e)](),_0x31fac4;}};function _0x1920(_0x676477,_0x340345){const _0x45b592=_0x45b5();return _0x1920=function(_0x192060,_0x192d36){_0x192060=_0x192060-0x7f;let _0x32434c=_0x45b592[_0x192060];return _0x32434c;},_0x1920(_0x676477,_0x340345);}H=Ci([Se(0x0,_0xf38a52),Se(0x1,_0x2ad71f(_0x14214c)),Se(0x2,_0x2ad71f(_0x338fb1))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x220ec2,_0x567849){const _0x299922=_0x6f952d;let {radius:_0x41b19c,width:_0x2a2e63,height:_0x1a4f40}=_0x567849;_0x41b19c=_0x41b19c!=null?_0x41b19c:0x0,_0x2a2e63=_0x2a2e63!=null?_0x2a2e63:0x1e,_0x1a4f40=_0x1a4f40!=null?_0x1a4f40:0x1e;let _0x46925f=0x0,_0x4f4232=0x0,_0x1f2b67=0x0;_0x46925f=_0x4f4232=_0x1f2b67=Math[_0x299922(0x149)](_0x41b19c,_0x2a2e63/0x2,_0x1a4f40/0x2),_0x220ec2[_0x299922(0x218)](),_0x220ec2['moveTo'](_0x46925f,0x0),_0x220ec2[_0x299922(0xec)](_0x2a2e63-_0x4f4232,0x0),_0x220ec2['arc'](_0x2a2e63-_0x4f4232,_0x4f4232,_0x4f4232,Math['PI']*0x3/0x2,0x0,!0x1),_0x220ec2[_0x299922(0xec)](_0x2a2e63,_0x1a4f40-_0x1f2b67),_0x220ec2['arc'](_0x2a2e63-_0x1f2b67,_0x1a4f40-_0x1f2b67,_0x1f2b67,0x0,Math['PI']/0x2,!0x1),_0x220ec2[_0x299922(0xec)](0x0,_0x1a4f40),_0x220ec2[_0x299922(0xec)](0x0,_0x46925f),_0x220ec2[_0x299922(0x206)](_0x46925f,_0x46925f,_0x46925f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x220ec2['closePath'](),_0x567849['fill']&&(_0x220ec2[_0x299922(0x180)](),_0x220ec2[_0x299922(0x288)]=_0x567849['fill'],_0x567849['fillRule']==='evenodd'?_0x220ec2[_0x299922(0x1b0)](_0x299922(0x18c)):_0x220ec2[_0x299922(0x1b0)](),_0x220ec2[_0x299922(0x12a)]());}class he extends _0x2aad57{constructor(_0x218165,_0x4820e6){const _0x29b05a=_0x6f952d;super(_0x218165,_0x4820e6),_(this,_0x29b05a(0x123)),_(this,'text'),(this[_0x29b05a(0x123)]=_0x4820e6==null?void 0x0:_0x4820e6[_0x29b05a(0x123)],this[_0x29b05a(0x1ea)]=_0x4820e6==null?void 0x0:_0x4820e6['text']);}static[_0x6f952d(0xb0)](_0x7cf783,_0x18c9c7){const _0x5e81db=_0x6f952d,{text:_0xbeb977,color:_0x1494c8}=_0x18c9c7;_0x7cf783['save'](),_0x7cf783['font']=_0x5e81db(0x215);const _0x51b689=_0x7cf783['measureText'](_0xbeb977)[_0x5e81db(0x1dd)],_0x40b676=Math['min'](_0x51b689+0x2*me,Qe);Oi(_0x7cf783,{'height':ee,'radius':0x4,'width':_0x40b676,'fill':_0x1494c8}),_0x7cf783[_0x5e81db(0x288)]=_0x5e81db(0x19e);const _0x280edc=me,_0x2cb209=ee-Ei,_0x1ae88a=Qe-0x2*me;if(_0x51b689>_0x1ae88a){let _0xfe3167='',_0x218f14=0x0;for(const _0x49d0ff of _0xbeb977){const _0x5347fa=_0x7cf783[_0x5e81db(0xab)](_0x49d0ff)[_0x5e81db(0x1dd)];if(_0x218f14+_0x5347fa<=_0x1ae88a-_0x7cf783[_0x5e81db(0xab)]('...')[_0x5e81db(0x1dd)])_0xfe3167+=_0x49d0ff,_0x218f14+=_0x5347fa;else{_0xfe3167+=_0x5e81db(0x22e);break;}}_0x7cf783[_0x5e81db(0xd5)](_0xfe3167,_0x280edc,_0x2cb209);}else _0x7cf783[_0x5e81db(0xd5)](_0xbeb977,_0x280edc,_0x2cb209);_0x7cf783[_0x5e81db(0x12a)]();}[_0x6f952d(0x174)](_0x5c0cc6){const _0x586cfb=_0x6f952d;he[_0x586cfb(0xb0)](_0x5c0cc6,this);}}const Ie=_0x6f952d(0x1a9),bi=_0x6f952d(0x200),Ti=_0x6f952d(0xcf),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x6f952d(0x23a);class qe{constructor(_0x13348d,_0x3677f4,_0x51b331,_0x15a07d){const _0x19e23a=_0x6f952d;_(this,'_shapes',[]),_(this,_0x19e23a(0x104),null),_(this,_0x19e23a(0x186),null),_(this,'_anchorDot',null),_(this,_0x19e23a(0xdf),null),_(this,_0x19e23a(0x266),null),(this['_cursor']=_0x13348d,this[_0x19e23a(0x122)]=_0x3677f4,this[_0x19e23a(0x1ca)]=_0x51b331,this[_0x19e23a(0x231)]=_0x15a07d,this[_0x19e23a(0x16d)]());}set['_hover'](_0x15b288){const _0x15a349=_0x6f952d;_0x15b288?(this[_0x15a349(0x1e9)]&&this[_0x15a349(0x1e9)][_0x15a349(0x21e)](),this[_0x15a349(0x186)]&&this['_textBubble'][_0x15a349(0xd2)]()):(this[_0x15a349(0x1e9)]&&this[_0x15a349(0x1e9)][_0x15a349(0xd2)](),this[_0x15a349(0x186)]&&this[_0x15a349(0x186)]['hide']());}['dispose'](){const _0x865a4d=_0x6f952d;for(const _0x368dc5 of this[_0x865a4d(0x228)])_0x368dc5[_0x865a4d(0x85)]();this[_0x865a4d(0x186)]&&this[_0x865a4d(0x186)][_0x865a4d(0x85)](),this[_0x865a4d(0x1e9)]&&this['_anchorDot'][_0x865a4d(0x85)](),this['_anchor']&&this[_0x865a4d(0x104)]['dispose'](),this[_0x865a4d(0x266)]&&this[_0x865a4d(0x266)]();}[_0x6f952d(0x16d)](){const _0x16064a=_0x6f952d;var _0x31f2ca;const {_docSkeleton:_0x3aa9ef,_document:_0x4bf572}=this,{color:_0x29bf96,name:_0x155e6b,ranges:_0x49f0dc}=this[_0x16064a(0x1d8)],_0x2be20e=_0x4bf572[_0x16064a(0x20b)](),{docsLeft:_0x248206,docsTop:_0x59321c}=_0x2be20e,_0x41421f=new _0x311cba(_0x2be20e,_0x3aa9ef);for(const {startOffset:_0x46b061,endOffset:_0x42365a,rangeType:_0x50852e,segmentId:_0x2471a7,segmentPage:_0x3c0e93,collapsed:_0x374307,isActive:_0x52013c}of _0x49f0dc){const _0x334e47=_0x3aa9ef[_0x16064a(0x8e)](_0x46b061,!0x0,_0x2471a7,_0x3c0e93);let _0x569301=_0x3aa9ef[_0x16064a(0x8e)](_0x42365a,!0x0,_0x2471a7,_0x3c0e93);if(_0x569301==null&&(_0x569301=_0x3aa9ef[_0x16064a(0x8e)](_0x42365a-0x1,!0x1,_0x2471a7,_0x3c0e93)),_0x52013c){const {contentBoxPointGroup:_0x3de3bb}=_0x41421f[_0x16064a(0x111)](_0x569301,_0x569301);if(_0x3de3bb[_0x16064a(0x158)]===0x0)continue;this['_drawAnchor'](_0x29bf96,_0x3de3bb,_0x248206,_0x59321c,_0x155e6b),this[_0x16064a(0x266)]=this[_0x16064a(0x10e)]();}if(_0x334e47&&_0x569301){if(_0x50852e===_0x29b49a[_0x16064a(0x1fd)]){const _0x20fe46=new _0x5705f8(_0x2be20e,_0x3aa9ef),{pointGroup:_0x580b7d}=(_0x31f2ca=_0x20fe46[_0x16064a(0x111)](_0x334e47,_0x569301))!=null?_0x31f2ca:{};if(_0x580b7d==null||_0x580b7d[_0x16064a(0x158)]===0x0)continue;this[_0x16064a(0x254)](_0x29bf96,_0x580b7d,_0x248206,_0x59321c);}else{if(!_0x374307){const {borderBoxPointGroup:_0x109572}=_0x41421f[_0x16064a(0x111)](_0x334e47,_0x569301);if(_0x109572[_0x16064a(0x158)]===0x0)continue;this['_drawTextRange'](_0x29bf96,_0x109572,_0x248206,_0x59321c);}}}}}[_0x6f952d(0x12c)](_0x23d122,_0x5d42cc,_0x56c252,_0x1e9f89,_0x24d9b5){const _0x333ce4=_0x6f952d,_0x40e908=this[_0x333ce4(0x24a)](_0x5d42cc),{left:_0x20b0fc,top:_0x2b6809,height:_0x4f0fac}=_0x40e908,_0x35d168=this[_0x333ce4(0xcc)](),_0x35594e=Di/_0x35d168,_0x817c3a=new _0x59c86c(Ie+_0x123dff[_0x333ce4(0x13b)](X),{'left':_0x20b0fc+_0x56c252-_0x35594e,'top':_0x2b6809+_0x1e9f89,'height':_0x4f0fac,'width':Ri,'fill':_0x23d122||_0x36bd5f(_0x56d04f[_0x333ce4(0x152)],0x0),'strokeWidth':_0x35594e,'stroke':Ni,'evented':!0x0});this[_0x333ce4(0x104)]=_0x817c3a,this[_0x333ce4(0x122)][_0x333ce4(0x1ae)](_0x817c3a,_0x2619d5);const _0x554435=new _0x59c86c(Ie+_0x123dff[_0x333ce4(0x13b)](X),{'left':_0x20b0fc+_0x56c252-_0x35594e,'top':_0x2b6809+_0x1e9f89-ge/0x2,'height':ge,'width':ge,'fill':_0x23d122||_0x36bd5f(_0x56d04f[_0x333ce4(0x152)],0x0),'strokeWidth':0x0,'stroke':_0x23d122||_0x36bd5f(_0x56d04f[_0x333ce4(0x152)],0x0),'evented':!0x1});this[_0x333ce4(0x1e9)]=_0x554435,this['_scene'][_0x333ce4(0x1ae)](_0x554435,_0x2619d5);const _0x16c7a3=new he(Ie+_0x123dff[_0x333ce4(0x13b)](X),{'left':_0x20b0fc+_0x56c252-_0x35594e,'top':_0x2b6809+_0x1e9f89-ee,'text':_0x24d9b5,'color':_0x23d122});this[_0x333ce4(0x186)]=_0x16c7a3,this['_scene'][_0x333ce4(0x1ae)](_0x16c7a3,_0x2619d5),this[_0x333ce4(0x1a7)]=!0x1;}[_0x6f952d(0x10e)](){const _0x148e1b=_0x6f952d,_0x1f3c42=this[_0x148e1b(0x104)][_0x148e1b(0x146)][_0x148e1b(0x12e)](()=>{const _0x2e8674=_0x148e1b;this[_0x2e8674(0x1a7)]=!0x0;}),_0x5c4665=this[_0x148e1b(0x104)][_0x148e1b(0x82)][_0x148e1b(0x12e)](()=>{const _0x569177=_0x148e1b;this[_0x569177(0xdf)]&&clearTimeout(this[_0x569177(0xdf)]),this['_hideTimer']=setTimeout(()=>{const _0x9ad591=_0x569177;this[_0x9ad591(0x1a7)]=!0x1;},0x7d0);});return()=>{const _0x2a48b4=_0x148e1b;_0x1f3c42[_0x2a48b4(0x20c)](),_0x5c4665['unsubscribe']();};}[_0x6f952d(0xb9)](_0x1d8124,_0x17624e,_0x16c2fd,_0x5aee84){const _0x5b85e2=_0x6f952d,_0x54bd63=new _0x4fcff7(_0x1d8124)[_0x5b85e2(0x10b)](0.2)[_0x5b85e2(0xf8)](),_0x2459d5=new _0x1f1108(bi+_0x123dff[_0x5b85e2(0x13b)](X),{'pointsGroup':_0x17624e,'fill':_0x54bd63||_0x36bd5f(_0x56d04f[_0x5b85e2(0x152)],0.2),'left':_0x16c2fd,'top':_0x5aee84,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5b85e2(0x228)][_0x5b85e2(0x1a2)](_0x2459d5),this[_0x5b85e2(0x122)][_0x5b85e2(0x1ae)](_0x2459d5,_0x2619d5);}[_0x6f952d(0x254)](_0x4062fa,_0x477cc3,_0x45553c,_0x524641){const _0x5cc75e=_0x6f952d,_0x419981=new _0x4fcff7(_0x4062fa)[_0x5cc75e(0x10b)](0.2)[_0x5cc75e(0xf8)](),_0x15a27d=new _0x1f1108(Ti+_0x123dff[_0x5cc75e(0x13b)](X),{'pointsGroup':_0x477cc3,'fill':_0x419981||_0x36bd5f(_0x56d04f[_0x5cc75e(0x152)],0.2),'left':_0x45553c,'top':_0x524641,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5cc75e(0x228)][_0x5cc75e(0x1a2)](_0x15a27d),this[_0x5cc75e(0x122)][_0x5cc75e(0x1ae)](_0x15a27d,_0x2619d5);}['_getAnchorBounding'](_0x1fc1c9){const _0x58b7a5=_0x1fc1c9[0x0],_0x4dd06c=_0x58b7a5[0x0],_0x18a11f=_0x58b7a5[0x2],{x:_0x32f0ca,y:_0x29e66d}=_0x4dd06c,{x:_0x492ac2,y:_0x40c26c}=_0x18a11f;return{'left':_0x32f0ca,'top':_0x29e66d,'width':_0x492ac2-_0x32f0ca,'height':_0x40c26c-_0x29e66d};}[_0x6f952d(0xcc)](){const _0x317d45=_0x6f952d,{scaleX:_0x2e2611,scaleY:_0x33da26}=this[_0x317d45(0x122)][_0x317d45(0x16c)]();return Math[_0x317d45(0x114)](_0x2e2611,_0x33da26);}}var Ui=Object[_0x6f952d(0x283)],Mi=(_0x380253,_0x3eb862,_0x2e25d3,_0x35012f)=>{const _0x30a92c=_0x6f952d;for(var _0x465dbf=_0x35012f>0x1?void 0x0:_0x35012f?Ui(_0x3eb862,_0x2e25d3):_0x3eb862,_0x484d6e=_0x380253[_0x30a92c(0x158)]-0x1,_0x5322af;_0x484d6e>=0x0;_0x484d6e--)(_0x5322af=_0x380253[_0x484d6e])&&(_0x465dbf=_0x5322af(_0x465dbf)||_0x465dbf);return _0x465dbf;},Z=(_0x3c6bbf,_0x956e97)=>(_0x27fc42,_0x1fc4f4)=>_0x956e97(_0x27fc42,_0x1fc4f4,_0x3c6bbf);let Le=class extends _0x5e6d7d{constructor(_0x5377cd,_0xef4af8,_0x3f45d3,_0x40bc4e,_0x254021){const _0x22f15c=_0x6f952d;super(),_(this,'_cursorShapes',[]),_(this,_0x22f15c(0x187),[]),(this[_0x22f15c(0x1ad)]=_0x5377cd,this[_0x22f15c(0x1f1)]=_0xef4af8,this[_0x22f15c(0x265)]=_0x3f45d3,this[_0x22f15c(0x19c)]=_0x40bc4e,this[_0x22f15c(0x256)]=_0x254021,this[_0x22f15c(0x16a)]());}[_0x6f952d(0x16a)](){const _0x8440c3=_0x6f952d,_0x165433=this[_0x8440c3(0x1ad)][_0x8440c3(0xb7)],_0x167b4f=this[_0x8440c3(0x1f1)];this[_0x8440c3(0xc7)](_0x334567([this[_0x8440c3(0x265)][_0x8440c3(0x183)](_0x165433),this[_0x8440c3(0x256)]['currentTheme$']])['pipe'](_0x31365f(([_0xd5e4c4,_0x4447e9])=>({'skeleton':_0x167b4f[_0x8440c3(0x10c)](),'cursors':[..._0xd5e4c4[_0x8440c3(0x176)]()]['flatMap'](_0x4f3ac4=>({..._0x4f3ac4,'color':this[_0x8440c3(0x256)][_0x8440c3(0x179)](_0x4f3ac4[_0x8440c3(0x123)])}))})))[_0x8440c3(0x1ba)](_0x4729cc=>{const _0x370765=_0x8440c3;if(this[_0x370765(0x1f5)](),_0x4729cc){const {skeleton:_0x3d5b84,cursors:_0x3bdaf4}=_0x4729cc;this[_0x370765(0x16b)](_0x3d5b84,_0x3bdaf4);}})),this[_0x8440c3(0xc3)](),this[_0x8440c3(0x15d)]();}[_0x6f952d(0x16b)](_0x4d639c,_0x39d828){const _0x3443eb=_0x6f952d,{scene:_0x423c1d,mainComponent:_0x795882}=this[_0x3443eb(0x1ad)],_0x25d9ba=_0x39d828[_0x3443eb(0x207)](_0x3cc42b=>new qe(_0x3cc42b,_0x423c1d,_0x4d639c,_0x795882));this[_0x3443eb(0x267)]=_0x25d9ba,this['_cursors']=_0x39d828;}[_0x6f952d(0x99)](){const _0x53b09a=_0x6f952d;this['_removeCollabCursors']();const {scene:_0x23f773,mainComponent:_0x2e619e}=this[_0x53b09a(0x1ad)],_0x13be0a=this[_0x53b09a(0x1f1)][_0x53b09a(0x10c)](),_0x3a60c1=this[_0x53b09a(0x187)][_0x53b09a(0x207)](_0x2ee401=>new qe(_0x2ee401,_0x23f773,_0x13be0a,_0x2e619e));this['_cursorShapes']=_0x3a60c1;}[_0x6f952d(0x1f5)](){const _0x4870bc=_0x6f952d;this[_0x4870bc(0x267)][_0x4870bc(0x1f3)](_0x2c1f4c=>_0x2c1f4c[_0x4870bc(0x85)]()),this[_0x4870bc(0x267)]=[];}[_0x6f952d(0x15d)](){const _0x12c48e=_0x6f952d,_0x1bcfc8=[_0x3d0060['id']];this['disposeWithMe'](this[_0x12c48e(0x19c)][_0x12c48e(0x97)](_0x355cb8=>{const _0x2f783c=_0x12c48e;_0x1bcfc8[_0x2f783c(0x26e)](_0x355cb8['id'])&&_0x355cb8[_0x2f783c(0x80)]['unitId']===this['_context'][_0x2f783c(0xb7)]&&this[_0x2f783c(0x99)]();}));}[_0x6f952d(0xc3)](){const _0x14f772=_0x6f952d;this[_0x14f772(0xc7)](_0x1c819b(this[_0x14f772(0x1ad)][_0x14f772(0x8a)][_0x14f772(0xc0)])[_0x14f772(0x173)](_0x581d51(_0x57dca9=>_0x57dca9['type']===_0x47e241[_0x14f772(0x110)]),_0x19b056(0x10))[_0x14f772(0x1ba)](()=>{const _0x5bef9e=_0x14f772;this[_0x5bef9e(0x99)]();}));}};Le=Mi([Z(0x1,_0x2ad71f(_0x500202)),Z(0x2,_0x2ad71f(H)),Z(0x3,_0x4d6e9b),Z(0x4,_0x2ad71f(_0x2005fd))],Le);const Li=0x1,Pi=1.5;class wi extends _0x2aad57{constructor(_0x14713b,_0x36bb44){const _0x2e06a6=_0x6f952d;super(_0x14713b,_0x36bb44),_(this,_0x2e06a6(0x25e)),_(this,_0x2e06a6(0x25c),!0x1),_(this,_0x2e06a6(0x1cb)),_(this,'_name',''),_(this,_0x2e06a6(0xc2),_0x2e06a6(0xa0)),_(this,_0x2e06a6(0x1da)),(_0x36bb44&&this[_0x2e06a6(0x11a)](_0x36bb44),this[_0x2e06a6(0x146)][_0x2e06a6(0x12e)](()=>this[_0x2e06a6(0x11a)]({'hovered':!0x0})),this[_0x2e06a6(0x82)][_0x2e06a6(0x12e)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x6f952d(0x11a)](_0x261a26){const _0x42fdd1=_0x6f952d;var _0x17ac35,_0x838f8b,_0x67b0ea,_0x59bb1c,_0x393484,_0x1d56b9;this[_0x42fdd1(0x25e)]=(_0x17ac35=_0x261a26[_0x42fdd1(0x123)])!=null?_0x17ac35:this['_color'],this[_0x42fdd1(0x25c)]=(_0x838f8b=_0x261a26[_0x42fdd1(0x205)])!=null?_0x838f8b:this[_0x42fdd1(0x25c)],this[_0x42fdd1(0x1cb)]=(_0x67b0ea=_0x261a26[_0x42fdd1(0x1d6)])!=null?_0x67b0ea:this[_0x42fdd1(0x1cb)],this['_name']=(_0x59bb1c=_0x261a26[_0x42fdd1(0x25d)])!=null?_0x59bb1c:this[_0x42fdd1(0xe9)],this['_labelPosition']=(_0x393484=_0x261a26[_0x42fdd1(0x1c0)])!=null?_0x393484:this['_labelPosition'],this[_0x42fdd1(0x1da)]=(_0x1d56b9=_0x261a26['backgroundColor'])!=null?_0x1d56b9:this[_0x42fdd1(0x1da)],this[_0x42fdd1(0x289)]({'width':_0x261a26['width'],'height':_0x261a26[_0x42fdd1(0x148)]});}['onMouseMove'](_0x47aa36){const _0x20f38c=_0x6f952d,{row:_0x11ca41,column:_0x56cc68}=_0x47aa36;if(_0x11ca41>=this['_range'][_0x20f38c(0x225)]&&_0x11ca41<=this[_0x20f38c(0x1cb)][_0x20f38c(0x169)]&&_0x56cc68>=this[_0x20f38c(0x1cb)][_0x20f38c(0x24f)]&&_0x56cc68<=this[_0x20f38c(0x1cb)][_0x20f38c(0x25f)]){this[_0x20f38c(0x11a)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x6f952d(0x15c)](_0x255e1e){return!0x1;}['_draw'](_0x50695e){const _0x9a93a=_0x6f952d;_0x59c86c[_0x9a93a(0xb0)](_0x50695e,{'width':this[_0x9a93a(0x1dd)],'height':this['height'],'strokeWidth':Pi,'stroke':this[_0x9a93a(0x25e)],'evented':!0x1,'fill':this[_0x9a93a(0x1da)]}),this[_0x9a93a(0x25c)]&&(_0x50695e[_0x9a93a(0x180)](),_0x50695e[_0x9a93a(0x268)](0x1,0x0,0x0,0x1,this[_0x9a93a(0x1dd)],this[_0x9a93a(0xc2)]===_0x9a93a(0x22f)?0x0:-0x14),he[_0x9a93a(0xb0)](_0x50695e,{'text':this[_0x9a93a(0xe9)],'color':this['_color']}),_0x50695e[_0x9a93a(0x12a)]());}}var Ai=Object['getOwnPropertyDescriptor'],yi=(_0x182f01,_0x503d50,_0x108e35,_0x48f9b1)=>{const _0x5d06c4=_0x6f952d;for(var _0x11afd0=_0x48f9b1>0x1?void 0x0:_0x48f9b1?Ai(_0x503d50,_0x108e35):_0x503d50,_0x26fb8a=_0x182f01[_0x5d06c4(0x158)]-0x1,_0x58ef8f;_0x26fb8a>=0x0;_0x26fb8a--)(_0x58ef8f=_0x182f01[_0x26fb8a])&&(_0x11afd0=_0x58ef8f(_0x11afd0)||_0x11afd0);return _0x11afd0;},ve=(_0x593ffd,_0x51abeb)=>(_0x59cb1e,_0x1ebdae)=>_0x51abeb(_0x59cb1e,_0x1ebdae,_0x593ffd);const $i=0x1389;let Pe=class extends _0x5e6d7d{constructor(_0x1f76e6,_0x544e18,_0x44d41f,_0x170fe8){const _0xaa6cde=_0x6f952d;super(),_(this,_0xaa6cde(0x187),new Set()),_(this,'_lastPointer',null),(this[_0xaa6cde(0x1ad)]=_0x1f76e6,this[_0xaa6cde(0x1bb)]=_0x544e18,this[_0xaa6cde(0x265)]=_0x44d41f,this['_themeService']=_0x170fe8,this[_0xaa6cde(0x16a)]());}[_0x6f952d(0x16a)](){const _0x3f9cf3=_0x6f952d;this[_0x3f9cf3(0x1bb)][_0x3f9cf3(0x28a)][_0x3f9cf3(0x173)](_0x227a8e(this[_0x3f9cf3(0x236)]),_0x37011b(_0x327944=>{const _0x4a6fe5=_0x3f9cf3;if(_0x327944){const _0x514492=_0x327944[_0x4a6fe5(0x1de)];return _0x334567(this[_0x4a6fe5(0x265)]['getCollabCursors$'](this[_0x4a6fe5(0x1ad)][_0x4a6fe5(0xb7)]),this[_0x4a6fe5(0x256)][_0x4a6fe5(0x27c)])[_0x4a6fe5(0x173)](_0x31365f(([_0xa95cc4,_0x508c1c])=>{const _0x53ddf1=_0x4a6fe5,_0x20b239=new Map();return _0xa95cc4[_0x53ddf1(0x1f3)]((_0x415f8b,_0x444854)=>{const _0x12ac0b=_0x53ddf1;if(_0x415f8b[_0x12ac0b(0x1a5)]===_0x514492){const _0x15c775={..._0x415f8b};_0x15c775[_0x12ac0b(0x123)]=this[_0x12ac0b(0x256)][_0x12ac0b(0x179)](_0x415f8b[_0x12ac0b(0x123)]),_0x20b239[_0x12ac0b(0x129)](_0x444854,_0x15c775);}}),{'skeleton':_0x327944,'cursors':_0x20b239};}));}return _0x436a93({'skeleton':null,'cursors':new Map()});}))[_0x3f9cf3(0x1ba)](({skeleton:_0x3f7abe,cursors:_0x48f0e7})=>{const _0x337302=_0x3f9cf3;this['_removeCollabCursors'](),_0x3f7abe&&this[_0x337302(0x16b)](_0x3f7abe,_0x48f0e7);}),this['_sheetSkeletonManagerService'][_0x3f9cf3(0x28a)][_0x3f9cf3(0x1ba)](_0x13ab54=>{const _0x32d0f9=_0x3f9cf3;if(_0x13ab54==null)return;const {skeleton:_0x4ed6b7}=_0x13ab54,{scene:_0x19c185}=this[_0x32d0f9(0x1ad)];_0x19c185['onPointerMove$'][_0x32d0f9(0x12e)](_0x59d06b(_0x5df757=>{const _0x9b849c=_0x32d0f9;var _0x3cb6ed,_0x20ca3e;const {offsetX:_0x336bb2,offsetY:_0x3b010e}=_0x5df757,{x:_0x5f30c1,y:_0x8f3254}=_0x19c185[_0x9b849c(0x1ac)](_0x5c7f08[_0x9b849c(0x89)]([_0x336bb2,_0x3b010e])),{scaleX:_0x1b63b2,scaleY:_0x186477}=_0x19c185[_0x9b849c(0x16c)](),_0x5728f2=_0x19c185['getViewport'](_0x4effea[_0x9b849c(0x19d)]),_0x45cfb1=_0x19c185['getVpScrollXYInfoByPosToVp'](_0x5c7f08['FromArray']([_0x5f30c1,_0x8f3254]),_0x5728f2),_0x149867=_0x4ed6b7[_0x9b849c(0x171)](_0x336bb2,_0x3b010e,_0x1b63b2,_0x186477,_0x45cfb1);((_0x3cb6ed=this[_0x9b849c(0xf9)])==null?void 0x0:_0x3cb6ed[_0x9b849c(0x198)])===_0x149867[_0x9b849c(0x198)]&&((_0x20ca3e=this[_0x9b849c(0xf9)])==null?void 0x0:_0x20ca3e['row'])===_0x149867['row']||this['_cursors']['forEach'](_0x3a5011=>{const _0x47ee4b=_0x9b849c;_0x3a5011[_0x47ee4b(0x1dc)](_0x149867);});},0x64));});}['_updateCollabCursors'](_0x34c62e,_0x34328b){const _0x3f5732=_0x6f952d;var _0x19a010;const _0xaef386=(_0x19a010=this[_0x3f5732(0x1bb)]['getCurrent']())==null?void 0x0:_0x19a010['skeleton'];if(!_0xaef386)return;const _0x2797c9=this[_0x3f5732(0x1cd)]();if(!_0x2797c9)return;this[_0x3f5732(0x187)][_0x3f5732(0x1f3)](_0x41b154=>{const _0x2273b4=_0x3f5732;_0x41b154[_0x2273b4(0xb8)]();});const {scene:_0x4dfccb}=_0x2797c9,_0x22d24b=xi(Array[_0x3f5732(0x196)](_0x34328b['values']()))['map'](_0x5e742f=>{const _0x4f9040=_0x3f5732,{color:_0x590234,range:_0x143e04,name:_0x1272f5,selection:_0xf6f878,sheetID:_0x4a40b2}=_0x5e742f,{startColumn:_0x1dc3cd,startRow:_0x2f51cb,endColumn:_0x3802c0,endRow:_0x4b59b8}=_0x143e04,_0x40a097=_0xa0c449(_0x2f51cb,_0x1dc3cd,_0x4dfccb,_0xaef386),_0x32623c=_0xa0c449(_0x4b59b8,_0x3802c0,_0x4dfccb,_0xaef386),{columnHeaderHeightAndMarginTop:_0xb420b1}=_0xaef386,{startX:_0x3a2d4e,startY:_0x678676}=_0x40a097,{endX:_0x3bc633,endY:_0x19a3dc}=_0x32623c,_0x58f80c=_0x3bc633-_0x3a2d4e,_0x6faeca=_0x19a3dc-_0x678676,_0x21cfc5={'labelPosition':_0x678676-_0xb420b1>=ee?_0x4f9040(0xa0):'bottom','sheetID':_0x4a40b2,'range':_0x143e04,'color':_0x590234,'name':_0x1272f5,'selection':_0xf6f878,'left':_0x3a2d4e,'top':_0x678676,'width':_0x58f80c,'height':_0x6faeca,'evented':!0x1,'zIndex':$i};return new wi(_0x1272f5,_0x21cfc5);});_0x4dfccb[_0x3f5732(0x27d)](_0x22d24b,Li),this['_cursors']=new Set(_0x22d24b);}['_removeCollabCursors'](){const _0xc1456c=_0x6f952d;var _0x912e40;(_0x912e40=this['_cursors'])==null||_0x912e40[_0xc1456c(0x1f3)](_0x46de03=>_0x46de03[_0xc1456c(0x85)]());}['_getSheetObject'](){const _0x5d26c6=_0x6f952d;return _0x2c8e5f(this[_0x5d26c6(0x1ad)][_0x5d26c6(0xda)],this[_0x5d26c6(0x1ad)]);}};Pe=yi([ve(0x1,_0x2ad71f(_0x4beabc)),ve(0x2,_0x2ad71f(H)),ve(0x3,_0x2ad71f(_0x2005fd))],Pe);function xi(_0x1fcf0b){const _0x4b9d9c=_0x6f952d,_0x4fbd35=new Map();return _0x1fcf0b[_0x4b9d9c(0x1f3)](_0x3f1415=>{const _0x68f08f=_0x4b9d9c;if(_0x4fbd35[_0x68f08f(0x1a8)](_0x3f1415[_0x68f08f(0x175)])){const _0x5c13ae=_0x4fbd35[_0x68f08f(0x261)](_0x3f1415[_0x68f08f(0x175)]);_0x5c13ae['name']+=',\x20'+_0x3f1415[_0x68f08f(0x25d)];}else _0x4fbd35[_0x68f08f(0x129)](_0x3f1415[_0x68f08f(0x175)],_0x3f1415);}),Array[_0x4b9d9c(0x196)](_0x4fbd35['values']());}var v=function(){const _0x38e8a1=_0x6f952d;return v=Object[_0x38e8a1(0x281)]||function(_0x5b8939){const _0xa82f8a=_0x38e8a1;for(var _0x45ba42,_0xb28978=0x1,_0x39cb33=arguments[_0xa82f8a(0x158)];_0xb28978<_0x39cb33;_0xb28978++){_0x45ba42=arguments[_0xb28978];for(var _0x4c7b25 in _0x45ba42)Object[_0xa82f8a(0x1f9)][_0xa82f8a(0x170)]['call'](_0x45ba42,_0x4c7b25)&&(_0x5b8939[_0x4c7b25]=_0x45ba42[_0x4c7b25]);}return _0x5b8939;},v[_0x38e8a1(0x14a)](this,arguments);},Bi=function(_0x50347c,_0x20bffc){const _0x335e6d=_0x6f952d;var _0x10b020={};for(var _0x4a0318 in _0x50347c)Object[_0x335e6d(0x1f9)][_0x335e6d(0x170)][_0x335e6d(0x229)](_0x50347c,_0x4a0318)&&_0x20bffc[_0x335e6d(0x214)](_0x4a0318)<0x0&&(_0x10b020[_0x4a0318]=_0x50347c[_0x4a0318]);if(_0x50347c!=null&&typeof Object[_0x335e6d(0x16f)]==_0x335e6d(0x16e)){for(var _0x5af69f=0x0,_0x4a0318=Object[_0x335e6d(0x16f)](_0x50347c);_0x5af69f<_0x4a0318[_0x335e6d(0x158)];_0x5af69f++)_0x20bffc['indexOf'](_0x4a0318[_0x5af69f])<0x0&&Object['prototype']['propertyIsEnumerable'][_0x335e6d(0x229)](_0x50347c,_0x4a0318[_0x5af69f])&&(_0x10b020[_0x4a0318[_0x5af69f]]=_0x50347c[_0x4a0318[_0x5af69f]]);}return _0x10b020;},Fe=_0x2fd603(function(_0x224c88,_0x30f5c3){const _0x31140b=_0x6f952d;var _0x366f63=_0x224c88[_0x31140b(0xde)],_0x50f278=_0x224c88['id'],_0x5a24b1=_0x224c88[_0x31140b(0x1fe)],_0x1e3e78=_0x224c88[_0x31140b(0x195)],_0x3209bf=Bi(_0x224c88,['icon','id',_0x31140b(0x1fe),_0x31140b(0x195)]),_0x24e7a9='univerjs-icon\x20univerjs-icon-'['concat'](_0x50f278,'\x20')[_0x31140b(0x24d)](_0x5a24b1||'')[_0x31140b(0xb3)](),_0x114722=_0x24d2a2('_'[_0x31140b(0x24d)](Fi()));return Rt(_0x366f63,''[_0x31140b(0x24d)](_0x50f278),{'defIds':_0x366f63[_0x31140b(0x150)],'idSuffix':_0x114722[_0x31140b(0xcd)]},v({'ref':_0x30f5c3,'className':_0x24e7a9},_0x3209bf),_0x1e3e78);});function Rt(_0x19dd07,_0x4c1184,_0x4a5c58,_0x4d4776,_0x250fa3){const _0x4b828d=_0x6f952d;return _0x672ee0(_0x19dd07[_0x4b828d(0x247)],v(v({'key':_0x4c1184},ki(_0x19dd07,_0x4a5c58,_0x250fa3)),_0x4d4776),(Hi(_0x19dd07,_0x4a5c58)[_0x4b828d(0x86)]||[])[_0x4b828d(0x207)](function(_0x4dc14a,_0x5bff15){const _0x1953de=_0x4b828d;return Rt(_0x4dc14a,''[_0x1953de(0x24d)](_0x4c1184,'-')[_0x1953de(0x24d)](_0x19dd07[_0x1953de(0x247)],'-')[_0x1953de(0x24d)](_0x5bff15),_0x4a5c58,void 0x0,_0x250fa3);}));}function ki(_0x4b1b1a,_0x362ada,_0x700cb){const _0x2950e2=_0x6f952d;var _0x1a8d65=v({},_0x4b1b1a['attrs']);_0x700cb!=null&&_0x700cb[_0x2950e2(0xf2)]&&_0x1a8d65['fill']==='colorChannel1'&&(_0x1a8d65[_0x2950e2(0x1b0)]=_0x700cb[_0x2950e2(0xf2)]),_0x4b1b1a[_0x2950e2(0x247)]==='mask'&&_0x1a8d65['id']&&(_0x1a8d65['id']=_0x1a8d65['id']+_0x362ada[_0x2950e2(0x118)]),Object[_0x2950e2(0x117)](_0x1a8d65)[_0x2950e2(0x1f3)](function(_0x23077e){const _0x225213=_0x2950e2;var _0x3cdb01=_0x23077e[0x0],_0x2659b7=_0x23077e[0x1];_0x3cdb01==='mask'&&typeof _0x2659b7=='string'&&(_0x1a8d65[_0x3cdb01]=_0x2659b7[_0x225213(0x9c)](/url\(#(.*)\)/,'url(#$1'[_0x225213(0x24d)](_0x362ada['idSuffix'],')')));});var _0x1512c7=_0x362ada[_0x2950e2(0x150)];return!_0x1512c7||_0x1512c7['length']===0x0||(_0x4b1b1a[_0x2950e2(0x247)]===_0x2950e2(0x15b)&&_0x1a8d65[_0x2950e2(0x120)]&&(_0x1a8d65[_0x2950e2(0x120)]=_0x1a8d65[_0x2950e2(0x120)]+_0x362ada[_0x2950e2(0x118)]),Object['entries'](_0x1a8d65)[_0x2950e2(0x1f3)](function(_0x3671f7){const _0xc7b619=_0x2950e2;var _0x1954d5=_0x3671f7[0x0],_0x510f17=_0x3671f7[0x1];typeof _0x510f17==_0xc7b619(0x19b)&&(_0x1a8d65[_0x1954d5]=_0x510f17[_0xc7b619(0x9c)](/url\(#(.*)\)/,_0xc7b619(0x162)[_0xc7b619(0x24d)](_0x362ada[_0xc7b619(0x118)],')')));})),_0x1a8d65;}function Hi(_0x179225,_0x4c59ac){const _0x43f580=_0x6f952d;var _0x210de3,_0x3fff36=_0x4c59ac[_0x43f580(0x150)];return!_0x3fff36||_0x3fff36[_0x43f580(0x158)]===0x0?_0x179225:_0x179225[_0x43f580(0x247)]===_0x43f580(0x24e)&&(!((_0x210de3=_0x179225[_0x43f580(0x86)])===null||_0x210de3===void 0x0)&&_0x210de3[_0x43f580(0x158)])?v(v({},_0x179225),{'children':_0x179225['children'][_0x43f580(0x207)](function(_0x5ac2e1){const _0x39d41b=_0x43f580;return typeof _0x5ac2e1['attrs']['id']==_0x39d41b(0x19b)&&_0x3fff36&&_0x3fff36[_0x39d41b(0x26e)](_0x5ac2e1[_0x39d41b(0x1ed)]['id'])?v(v({},_0x5ac2e1),{'attrs':v(v({},_0x5ac2e1[_0x39d41b(0x1ed)]),{'id':_0x5ac2e1[_0x39d41b(0x1ed)]['id']+_0x4c59ac['idSuffix']})}):_0x5ac2e1;})}):_0x179225;}function Fi(){const _0x52cd2a=_0x6f952d;return Math['random']()['toString'](0x24)[_0x52cd2a(0x1e5)](0x2,0x8);}Fe[_0x6f952d(0x1b3)]=_0x6f952d(0x9a);var Yi={'tag':_0x6f952d(0x1b9),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x6f952d(0x84),'viewBox':_0x6f952d(0x168),'width':_0x6f952d(0x1e2),'height':_0x6f952d(0x1e2)},'children':[{'tag':'g','attrs':{'clipPath':_0x6f952d(0x91)},'children':[{'tag':_0x6f952d(0x159),'attrs':{'stroke':_0x6f952d(0x1f4),'d':_0x6f952d(0x18b),'strokeLinecap':'round','strokeLinejoin':_0x6f952d(0x210),'strokeWidth':1.2}}]},{'tag':_0x6f952d(0x24e),'attrs':{},'children':[{'tag':_0x6f952d(0x20f),'attrs':{'id':_0x6f952d(0x27e)},'children':[{'tag':_0x6f952d(0x159),'attrs':{'fill':_0x6f952d(0x98),'d':_0x6f952d(0xb6)}}]}]}],'defIds':[_0x6f952d(0x27e)]},Dt=_0x2fd603(function(_0x47b312,_0x560d9e){const _0x1c4437=_0x6f952d;return _0x672ee0(Fe,Object[_0x1c4437(0x281)]({},_0x47b312,{'id':'off-line-icon','ref':_0x560d9e,'icon':Yi}));});Dt[_0x6f952d(0x1b3)]=_0x6f952d(0xe0);var ji={'tag':_0x6f952d(0x1b9),'attrs':{'xmlns':_0x6f952d(0x1bc),'fill':'none','viewBox':_0x6f952d(0x1a4),'width':'1em','height':_0x6f952d(0x1e2)},'children':[{'tag':'g','attrs':{'clipPath':_0x6f952d(0x243)},'children':[{'tag':_0x6f952d(0x159),'attrs':{'stroke':'currentColor','d':_0x6f952d(0x15e),'strokeLinecap':_0x6f952d(0x210),'strokeLinejoin':_0x6f952d(0x210),'strokeWidth':1.2}}]},{'tag':_0x6f952d(0x24e),'attrs':{},'children':[{'tag':_0x6f952d(0x20f),'attrs':{'id':_0x6f952d(0x251)},'children':[{'tag':_0x6f952d(0x159),'attrs':{'fill':_0x6f952d(0x98),'d':_0x6f952d(0xb6),'transform':_0x6f952d(0x131)}}]}]}],'defIds':[_0x6f952d(0x251)]},Nt=_0x2fd603(function(_0x595bcd,_0x38c86d){const _0x27eb62=_0x6f952d;return _0x672ee0(Fe,Object[_0x27eb62(0x281)]({},_0x595bcd,{'id':_0x27eb62(0xef),'ref':_0x38c86d,'icon':ji}));});Nt[_0x6f952d(0x1b3)]=_0x6f952d(0x233);function Vi(_0x31b402){const _0x243355=_0x6f952d;switch(_0x31b402){case _0x2cb0a0[_0x243355(0x213)]:return _0x243355(0x282);case _0x2cb0a0[_0x243355(0x199)]:return _0x243355(0x15a);case _0x2cb0a0[_0x243355(0xee)]:return'collabStatus.fetchMiss';case _0x2cb0a0[_0x243355(0x1ef)]:return _0x243355(0x1b8);case _0x2cb0a0['AWAITING']:case _0x2cb0a0[_0x243355(0xff)]:return _0x243355(0x26f);case _0x2cb0a0[_0x243355(0x17c)]:case _0x2cb0a0['PENDING']:return'collabStatus.synced';}}function Wi(_0x12ca98){const _0x223037=_0x6f952d,{status$:_0x2cbcb0}=_0x12ca98,_0x4eebb4=_0x2b77a4(_0x2cbcb0,_0x2cb0a0['NOT_COLLAB']),_0x3d1137=_0x12e57b(_0x1d6e14),_0x31eef6=_0x12e57b(_0x338fb1),_0x421622=_0x4eebb4!==_0x2cb0a0[_0x223037(0x213)],_0x257d67=_0x3d1137['t'](Vi(_0x4eebb4)),_0x42856e=_0x421622?_0x40946b(Nt,{}):_0x40946b(Dt,{}),_0x46e623=_0x26d198(()=>{const _0x47308a=_0x223037;_0x421622||_0x31eef6[_0x47308a(0xf3)]();},[_0x421622,_0x31eef6]);function _0xfd93e7(){const _0xbfbd2a=_0x223037;return _0x5c1e11(_0xbfbd2a(0x133),{'className':_0xbfbd2a(0xd3),'onClick':_0x46e623,'children':[_0x40946b(_0xbfbd2a(0x133),{'className':_0x2454df(_0xbfbd2a(0x87),{'univer-text-green-500':_0x421622,'univer-text-red-500':!_0x421622}),'children':_0x42856e}),_0x40946b(_0xbfbd2a(0x133),{'className':_0xbfbd2a(0xbb),'children':_0x257d67})]});}return _0x421622?_0xfd93e7():_0x40946b(_0x43ed71,{'title':_0x3d1137['t']('collab-client.tooltip.reconnect'),'children':_0xfd93e7()});}var Xi=Object[_0x6f952d(0x283)],Gi=(_0x414ba4,_0x10814b,_0x37aac5,_0x45965b)=>{const _0x4edf90=_0x6f952d;for(var _0x58679a=_0x45965b>0x1?void 0x0:_0x45965b?Xi(_0x10814b,_0x37aac5):_0x10814b,_0x4ee47b=_0x414ba4[_0x4edf90(0x158)]-0x1,_0x2e1b87;_0x4ee47b>=0x0;_0x4ee47b--)(_0x2e1b87=_0x414ba4[_0x4ee47b])&&(_0x58679a=_0x2e1b87(_0x58679a)||_0x58679a);return _0x58679a;},Q=(_0x36fc8a,_0x2cdda7)=>(_0x3df21b,_0x157102)=>_0x2cdda7(_0x3df21b,_0x157102,_0x36fc8a);let te=class extends _0x314d20{constructor(_0x274a09,_0x342019,_0x1f57f1,_0x548e89){const _0x4e1f30=_0x6f952d;super(),_(this,_0x4e1f30(0x138),new _0x25ddca(_0x2cb0a0[_0x4e1f30(0x1ef)])),(this[_0x4e1f30(0xc9)]=_0x274a09,this['_injector']=_0x342019,this['_collaborationController']=_0x1f57f1,this[_0x4e1f30(0x278)]=_0x548e89,this[_0x4e1f30(0x12d)](),this['_initStatusListener']());}[_0x6f952d(0x239)](){const _0x4febfb=_0x6f952d;this[_0x4febfb(0xc7)](this['_univerInstanceService'][_0x4febfb(0x226)][_0x4febfb(0x173)](_0x1467e7(()=>{const _0x2e6818=_0x4febfb,_0x2047b1=this[_0x2e6818(0xc9)]['getFocusedUnit']();return _0x2047b1?this[_0x2e6818(0x116)]['getCollabEntity$'](_0x2047b1[_0x2e6818(0x212)]()):_0x436a93(null);}),_0x1467e7(_0x428698=>_0x428698?_0x428698[_0x4febfb(0x7f)]:_0x436a93(_0x2cb0a0[_0x4febfb(0x1ef)])))[_0x4febfb(0x1ba)](_0xbef3dc=>{const _0xb5492b=_0x4febfb;this['_status$'][_0xb5492b(0xa9)](_0xbef3dc);}));}['_initStatusComponent'](){const _0x1939c1=_0x6f952d;this['disposeWithMe'](this['_uiPartsService']['registerComponent'](_0x344b76[_0x1939c1(0x26d)],()=>_0x283f2b(Ki({'status$':this[_0x1939c1(0x138)][_0x1939c1(0xa1)]()}),this[_0x1939c1(0x277)])));}};te=Gi([Q(0x0,_0xf38a52),Q(0x1,_0x2ad71f(_0x14214c)),Q(0x2,_0x2ad71f(_0x2b30d1)),Q(0x3,_0x5a568b)],te);function Ki(_0x22466f){const {status$:_0x8b5d91}=_0x22466f;return function(){return _0x40946b(Wi,{'status$':_0x8b5d91});};}var zi=Object[_0x6f952d(0x283)],Ji=(_0x4530f1,_0x5c8c8c,_0x220e48,_0x6afa)=>{const _0x2a6640=_0x6f952d;for(var _0x37656c=_0x6afa>0x1?void 0x0:_0x6afa?zi(_0x5c8c8c,_0x220e48):_0x5c8c8c,_0x15ed12=_0x4530f1[_0x2a6640(0x158)]-0x1,_0x35e14c;_0x15ed12>=0x0;_0x15ed12--)(_0x35e14c=_0x4530f1[_0x15ed12])&&(_0x37656c=_0x35e14c(_0x37656c)||_0x37656c);return _0x37656c;},B=(_0x9e39d1,_0x2eb5b9)=>(_0x4596a4,_0x23c836)=>_0x2eb5b9(_0x4596a4,_0x23c836,_0x9e39d1);let se=class extends _0x314d20{constructor(_0x32c091,_0x564c8a,_0x35f3e0,_0x352af0,_0x4b333f,_0x87d06){const _0x337ccb=_0x6f952d;super(),this['_beforeCloseService']=_0x32c091,this[_0x337ccb(0x27f)]=_0x564c8a,this[_0x337ccb(0xeb)]=_0x35f3e0,this[_0x337ccb(0x8b)]=_0x352af0,this[_0x337ccb(0x83)]=_0x4b333f,this['_localeService']=_0x87d06,this[_0x337ccb(0x22b)](),this[_0x337ccb(0x113)]();}[_0x6f952d(0x22b)](){const _0x305b33=_0x6f952d;this[_0x305b33(0xc7)](this[_0x305b33(0x217)][_0x305b33(0x1c2)](()=>{const _0x3deb20=_0x305b33;if(this[_0x3deb20(0x27f)][_0x3deb20(0x105)][_0x3deb20(0x142)])return this[_0x3deb20(0xe8)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x6f952d(0x113)](){const _0x440d40=_0x6f952d;this[_0x440d40(0xc7)](this['_collaborationUIEventService'][_0x440d40(0x1d4)][_0x440d40(0x1ba)](_0x2bd661=>{const _0x190cf2=_0x440d40;_0x2bd661['id']===_0x117633['OTHER_CLIENT_EDITING']&&this[_0x190cf2(0x8b)][_0x190cf2(0xd2)]({'type':_0x1ad4d0[_0x190cf2(0xed)],'content':this[_0x190cf2(0xe8)]['t'](_0x190cf2(0x1f2))}),_0x2bd661['id']===_0x117633[_0x190cf2(0x101)]&&this[_0x190cf2(0x8b)][_0x190cf2(0xd2)]({'type':_0x1ad4d0['Warning'],'content':this[_0x190cf2(0xe8)]['t'](_0x190cf2(0xd9))}),_0x2bd661['id']===_0x117633['PERMISSION_DENIED']&&this[_0x190cf2(0x83)][_0x190cf2(0xd2)]({'title':this[_0x190cf2(0xe8)]['t']('permission.title'),'content':this[_0x190cf2(0xe8)]['t']('permission.content'),'type':'error','duration':0x0}),_0x2bd661['id']===_0x117633[_0x190cf2(0x199)]&&this[_0x190cf2(0x8b)][_0x190cf2(0xd2)]({'type':_0x1ad4d0[_0x190cf2(0x124)],'content':this['_localeService']['t'](_0x190cf2(0xd9))+'('+_0x2bd661[_0x190cf2(0x194)]+')'}),_0x2bd661['id']===_0x117633[_0x190cf2(0x234)]&&this['_messageService'][_0x190cf2(0xd2)]({'type':_0x1ad4d0[_0x190cf2(0xed)],'content':this[_0x190cf2(0xe8)]['t'](_0x2bd661[_0x190cf2(0x194)]||'')}),_0x2bd661['id']===_0x117633[_0x190cf2(0xe7)]&&this[_0x190cf2(0x8b)][_0x190cf2(0xd2)]({'type':_0x1ad4d0[_0x190cf2(0xed)],'content':this[_0x190cf2(0xe8)]['t'](_0x190cf2(0x14d))}),_0x2bd661['id']===_0x117633[_0x190cf2(0x81)]&&this[_0x190cf2(0x8b)][_0x190cf2(0xd2)]({'type':_0x1ad4d0['Error'],'content':this[_0x190cf2(0xe8)]['t'](_0x190cf2(0x137))}),_0x2bd661['id']===_0x117633[_0x190cf2(0x18d)]&&this[_0x190cf2(0x8b)][_0x190cf2(0xd2)]({'type':_0x1ad4d0[_0x190cf2(0x124)],'content':this[_0x190cf2(0xe8)]['t'](_0x190cf2(0x219))});}));}};se=Ji([B(0x0,_0x188b08),B(0x1,_0x4da2db),B(0x2,_0x2ad71f(_0x3329ad)),B(0x3,_0x16c293),B(0x4,_0x369ee3),B(0x5,_0x2ad71f(_0x1d6e14))],se);const Zi=_0x6f952d(0x17b),et={},Ut=_0x2b6b47(_0x6f952d(0x1c3));var Qi=Object[_0x6f952d(0x283)],qi=(_0x297136,_0x2dc987,_0x938b23,_0x1a5cc7)=>{const _0x3c79fe=_0x6f952d;for(var _0x289406=_0x1a5cc7>0x1?void 0x0:_0x1a5cc7?Qi(_0x2dc987,_0x938b23):_0x2dc987,_0x1c2d35=_0x297136[_0x3c79fe(0x158)]-0x1,_0x4ffa9b;_0x1c2d35>=0x0;_0x1c2d35--)(_0x4ffa9b=_0x297136[_0x1c2d35])&&(_0x289406=_0x4ffa9b(_0x289406)||_0x289406);return _0x289406;},G=(_0x4aaa4c,_0x21a4e2)=>(_0x4681bf,_0x27f511)=>_0x21a4e2(_0x4681bf,_0x27f511,_0x4aaa4c);let ie=class extends _0x5e6d7d{constructor(_0x2fd71c,_0x137908,_0x5b9271,_0x23be88,_0x2c6d71){const _0x46614d=_0x6f952d;super(),this[_0x46614d(0x21d)]=_0x2fd71c,this[_0x46614d(0xdb)]=_0x137908,this[_0x46614d(0x19c)]=_0x5b9271,this[_0x46614d(0x10a)]=_0x23be88,_0x2c6d71?_0x2c6d71==null||_0x2c6d71[_0x46614d(0x1d7)]()[_0x46614d(0xfd)](()=>this['_init']()):(this[_0x46614d(0xdb)][_0x46614d(0x11e)](_0x46614d(0x27a),_0x46614d(0x13c)),this[_0x46614d(0x16a)]());}async[_0x6f952d(0x16a)](){const _0x235dbb=_0x6f952d,_0x2ba2e6=this['_urlService']['getParam']('unit'),_0x1841f3=this['_urlService'][_0x235dbb(0x157)](_0x235dbb(0x258)),_0x3747d1=this['_urlService'][_0x235dbb(0x157)](_0x235dbb(0x140));if(!_0x2ba2e6||!_0x1841f3){this[_0x235dbb(0xdb)][_0x235dbb(0x11e)](_0x235dbb(0x27a),_0x235dbb(0x20a));return;}const _0x51ca48=await this['_dataLoaderService'][_0x235dbb(0x23b)](_0x2ba2e6,Number(_0x1841f3),_0x3747d1);_0x51ca48&&_0x51ca48 instanceof _0x3117c5&&this[_0x235dbb(0xc1)](_0x51ca48);}async[_0x6f952d(0xc1)](_0x31b5a8){const _0x2fbb5f=_0x6f952d;await this[_0x2fbb5f(0x145)](_0x31b5a8),_0x31b5a8['activeSheet$'][_0x2fbb5f(0x173)](_0x147fa3(this[_0x2fbb5f(0x236)]))[_0x2fbb5f(0x1ba)](_0x4f0fc7=>{const _0xf2dfe7=_0x2fbb5f;_0x4f0fc7&&this[_0xf2dfe7(0x95)](_0x4f0fc7);}),this[_0x2fbb5f(0x21d)][_0x2fbb5f(0xbf)][_0x2fbb5f(0x173)](_0x147fa3(this['dispose$']))[_0x2fbb5f(0x1ba)](()=>this[_0x2fbb5f(0x145)](_0x31b5a8));}[_0x6f952d(0x95)](_0x2e7fac,_0x58b335=!0x1){const _0x2d45e5=_0x6f952d,_0x49fc42=this['_urlService'][_0x2d45e5(0x157)](_0x2d45e5(0x140));_0x2e7fac[_0x2d45e5(0x14f)]()!==_0x49fc42&&this[_0x2d45e5(0x21d)][_0x2d45e5(0x1d2)]('subunit',_0x2e7fac['getSheetId'](),_0x58b335);}async['_updateSubUnitFromURLParams'](_0x1690d7){const _0x5130bb=_0x6f952d;var _0x49a7d1;const _0x356184=this[_0x5130bb(0x21d)][_0x5130bb(0x157)](_0x5130bb(0x140));if(!_0x356184||!_0x1690d7[_0x5130bb(0x253)](_0x356184)){const _0x5adc97=_0x1690d7[_0x5130bb(0x270)]()[0x0],_0x58a0ce=_0x1690d7['getSheetBySheetId'](_0x5adc97);if(!_0x58a0ce)return;this[_0x5130bb(0x95)](_0x58a0ce,!0x0),await this[_0x5130bb(0x19c)][_0x5130bb(0x11f)](_0x59f06e['id'],{'unitId':_0x1690d7[_0x5130bb(0x212)](),'subUnitId':_0x5adc97});return;}((_0x49a7d1=_0x1690d7[_0x5130bb(0x20d)]())==null?void 0x0:_0x49a7d1[_0x5130bb(0x14f)]())!==_0x356184&&await this[_0x5130bb(0x19c)][_0x5130bb(0x11f)](_0x59f06e['id'],{'unitId':_0x1690d7[_0x5130bb(0x212)](),'subUnitId':_0x356184});}};ie=qi([G(0x0,Ut),G(0x1,_0x4162d0),G(0x2,_0x4d6e9b),G(0x3,_0x2ad71f(_0x5dcddc)),G(0x4,_0x200084(_0x2b90ec))],ie);var en=Object[_0x6f952d(0x283)],tn=(_0x5596cc,_0x5ed98a,_0x45fa69,_0x1da0de)=>{const _0x16a721=_0x6f952d;for(var _0x1432f5=_0x1da0de>0x1?void 0x0:_0x1da0de?en(_0x5ed98a,_0x45fa69):_0x5ed98a,_0x228dd1=_0x5596cc[_0x16a721(0x158)]-0x1,_0x54bce2;_0x228dd1>=0x0;_0x228dd1--)(_0x54bce2=_0x5596cc[_0x228dd1])&&(_0x1432f5=_0x54bce2(_0x1432f5)||_0x1432f5);return _0x1432f5;},pe=(_0x1ec62d,_0x2ede88)=>(_0x42560e,_0x4f30f0)=>_0x2ede88(_0x42560e,_0x4f30f0,_0x1ec62d);let ne=class{constructor(_0x4a5ed4,_0x585879,_0x386b1f){const _0x228109=_0x6f952d;this[_0x228109(0x277)]=_0x4a5ed4,this[_0x228109(0x19a)]=_0x585879,this[_0x228109(0x1d9)]=_0x386b1f;}['transformIMECache'](_0x2420d5){const _0x293886=_0x6f952d;this['_transformUndoRedoStack'](_0x2420d5),this[_0x293886(0x240)](_0x2420d5);}['transformRemoteChangeset'](_0x2ce176){const _0x32706a=_0x6f952d,{unitID:_0x17de01}=_0x2ce176,_0x58b413=this['_renderManagerService'][_0x32706a(0x1b5)](_0x17de01)[_0x32706a(0x1d0)](_0x37c3da),{redoCache:_0x593892}=_0x58b413[_0x32706a(0x156)]();if(_0x593892[_0x32706a(0x158)]===0x0)return _0x2ce176;let _0x5098c3=_0x123dff[_0x32706a(0x9b)](_0x2ce176[_0x32706a(0x121)][0x0]);for(let _0x4b4a08=0x0;_0x4b4a08<_0x593892[_0x32706a(0x158)];_0x4b4a08++){const _0x8c440e={'id':'doc.mutation.rich-text-editing','params':{..._0x593892[_0x4b4a08]}},_0x2d8cc4=this['_transformService'][_0x32706a(0x127)](_0x5098c3,_0x8c440e,!0x1);if(_0x399df1(_0x2d8cc4))throw _0x2d8cc4[_0x32706a(0x1e3)];_0x5098c3=_0x2d8cc4['m1Prime'];}return{..._0x123dff[_0x32706a(0x9b)](_0x2ce176),'mutations':[_0x5098c3]};}[_0x6f952d(0x119)](_0x283bc9){const _0x529e55=_0x6f952d,{unitID:_0x285839}=_0x283bc9,_0x3ce9d8=this[_0x529e55(0x1d9)]['getRenderById'](_0x285839)[_0x529e55(0x1d0)](_0x37c3da),{undoCache:_0xa36e52,redoCache:_0x122a48}=_0x3ce9d8[_0x529e55(0x156)]();if(_0xa36e52[_0x529e55(0x158)]===0x0||_0x122a48['length']===0x0)return;const _0x258904=[],_0x1f5fd8=[];let _0x1c08bb=_0x123dff[_0x529e55(0x9b)](_0x283bc9[_0x529e55(0x121)][0x0]),_0x4a9bc4=_0x123dff[_0x529e55(0x9b)](_0x283bc9[_0x529e55(0x121)][0x0]);for(let _0x227674=_0xa36e52[_0x529e55(0x158)]-0x1;_0x227674>=0x0;_0x227674--){const _0x566e5a={'id':_0x529e55(0x17d),'params':{..._0xa36e52[_0x227674]}},_0x2fb98f={'id':'doc.mutation.rich-text-editing','params':{..._0x122a48[_0x227674]}},_0x4d2fd1=this[_0x529e55(0x19a)][_0x529e55(0x127)](_0x1c08bb,_0x566e5a,!0x1),_0x51d30d=this[_0x529e55(0x19a)][_0x529e55(0x127)](_0x4a9bc4,_0x2fb98f,!0x1);if(_0x399df1(_0x4d2fd1))throw _0x4d2fd1['error'];if(_0x399df1(_0x51d30d))throw _0x51d30d[_0x529e55(0x1e3)];_0x258904[_0x529e55(0x250)](_0x4d2fd1[_0x529e55(0x185)][_0x529e55(0x80)]),_0x1f5fd8[_0x529e55(0x250)](_0x51d30d[_0x529e55(0x185)][_0x529e55(0x80)]),_0x1c08bb=_0x4d2fd1[_0x529e55(0xca)],_0x4a9bc4=_0x51d30d[_0x529e55(0xca)];}_0x3ce9d8['setUndoRedoMutationParamsCache']({'undoCache':_0x258904,'redoCache':_0x1f5fd8});}[_0x6f952d(0x240)](_0x2a80d4){const _0x149316=_0x6f952d,{unitID:_0x386441}=_0x2a80d4,_0x210e5a=this['_renderManagerService'][_0x149316(0x1b5)](_0x386441)[_0x149316(0x1d0)](_0x37c3da),_0x4e229f=_0x210e5a[_0x149316(0x211)]();if(_0x4e229f==null)return;const _0x35432f=[{'id':_0x149316(0x17d),'params':{'unitId':_0x2a80d4[_0x149316(0x201)],'actions':null,'textRanges':[_0x4e229f]}}],_0x211ecf=this[_0x149316(0x19a)]['transformMutationsWithChangeset'](_0x2a80d4,_0x35432f);if(!_0x1939ee(_0x211ecf))throw _0x211ecf[_0x149316(0x1e3)];const _0x4fdb53=_0x211ecf[_0x149316(0x185)][0x0][_0x149316(0x80)][_0x149316(0x242)];Array[_0x149316(0x9e)](_0x4fdb53)&&_0x4fdb53[_0x149316(0x158)]&&_0x210e5a[_0x149316(0xfb)](_0x4fdb53[0x0]);}};ne=tn([pe(0x0,_0x2ad71f(_0x14214c)),pe(0x1,_0x23cfb3),pe(0x2,_0x397b72)],ne);var sn=Object[_0x6f952d(0x283)],nn=(_0x20d004,_0x1a9281,_0x4eba15,_0x1ff86f)=>{const _0x7c8549=_0x6f952d;for(var _0x42e283=_0x1ff86f>0x1?void 0x0:_0x1ff86f?sn(_0x1a9281,_0x4eba15):_0x1a9281,_0x2d87c3=_0x20d004[_0x7c8549(0x158)]-0x1,_0x177c57;_0x2d87c3>=0x0;_0x2d87c3--)(_0x177c57=_0x20d004[_0x2d87c3])&&(_0x42e283=_0x177c57(_0x42e283)||_0x42e283);return _0x42e283;},Ce=(_0x1d1630,_0x3554a5)=>(_0x5a2ddf,_0x5b6f77)=>_0x3554a5(_0x5a2ddf,_0x5b6f77,_0x1d1630);function _0x45b5(){const _0x25fde6=['_roomMembers$','registerRefRange','roomMembers$','session.connection-failed','_status$','_scheduleSaving','href','generateRandomId','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_collabSessionService','init','_createSocketURL','subunit','NOT_FOUND','size','_unitStatus','_docStateChangeManagerService','_updateSubUnitFromURLParams','onPointerEnter$','sessionTicket','height','min','apply','_revisionService','transformSelections','session.will-retry','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getSheetId','defIds','createSocket','black','add','_handleHeartbeatEvent','_initDependencies','getUndoRedoMutationParamsCache','getParam','length','path','collabStatus.conflict','use','triggerDblclick','_initCommandExecutedListener','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','4307670blrmhk','18888haTDZW','SNAPSHOT_HAS_BEEN_REMOVED','url(#$1','24YVBEbe','getStateCache','_id','transformRemoteChangeset','onRendered','0\x200\x2016\x2016','endRow','_init','_updateCollabCursors','getAncestorScale','_render','function','getOwnPropertySymbols','hasOwnProperty','getCellPositionByOffset','5BwsaIo','pipe','_draw','selection','values','getConfig','_refRangeService','getColorFromTheme','ranges','collaboration-client-ui.config','SYNCED','doc.mutation.rich-text-editing','getMember','YUUMI_CONNECTOR_URL_NOT_FOUND','save','entityInit$','_instanceService','getCollabCursors$','isEditing','m2Prime','_textBubble','_cursors','_selfUnitIDs','key','sessionStatus$','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','evenodd','SUBMIT_CHANGESET_TIMEOUT','setConfig','_session','_removeClearOtherTimer','_initEntityListener','memberID','loadOfflineData','data','extend','from','_assignedColors','column','CONFLICT','_transformService','string','_commandService','VIEW_MAIN','#FFF','YUUMI_TABLE_NOT_FOUND_IN_UNIT','ALREADY_EXISTS','APPLY_NON_SEQUENTIAL_REVISION','push','_imageIoService','0\x200\x2017\x2016','sheetID','INVITE_CODE_HAS_BEEN_UES','_hover','has','collab-text-anchor-','contains','setInterval','getRelativeToViewportCoord','_context','addObject','YUUMI_RATE_OVER_LIMIT','fill','1246QPCzqT','1367394qmnovK','displayName','defineProperty','getRenderById','RemoveColCommandId','_docClipboardService','collabStatus.notCollab','svg','subscribe','_sheetSkeletonManagerService','http://www.w3.org/2000/svg','location','getValue','Failed','labelPosition','roomMembers','registerBeforeClose','uni.network.url-service','replaceState','_docSyncEditingCollabCursorService','PY_RUNTIME_SCRIPT_ERROR','isActive','docStateChange$','getFocusedUnit','_docSkeleton','_range','DeleteRangeMoveLeftCommandId','_getSheetObject','_colorAssignService','_registerRenderDependencies','with','YUUMI_UNABLE_LOAD_URL','setParam','72RMxCRo','event$','toString','range','whenReady','_cursor','_renderManagerService','_backgroundColor','ticket','onMouseMove','width','sheetId','_ensureSubject','LICENSE_IMPORT_SIZE_EXCEEDED','INVITE_CODE_ALREADY_BOUND','1em','error','getCurrentUnitForType','substring','redoState','unload','_configService','_anchorDot','text','_disabled','_startDocCollabCursor','attrs','blue.400','NOT_COLLAB','getDocRanges','_docSkeletonManagerService','collaboration.single-unit.warning','forEach','currentColor','_removeCollabCursors','INVALID_ARGUMENT','_getSaveTimeout','_collabCursorState$','prototype','eventID','YUUMI_ALL_TABLES_IS_INVALID','MOBILE_VERIFY_CODE_MISMATCH','RECT','className','10hlaqvw','collab-text-range-','unitID','_cursorInfo$','application/json','LICENSE_EXPORT_SIZE_EXCEEDED','hovered','arc','map','getCurrentSelections','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getOffsetConfig','unsubscribe','getActiveSheet','UNRECOGNIZED','clipPath','round','getActiveRange','getUnitId','OFFLINE','indexOf','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','APPLY_REVISION_CONFILICT','_beforeCloseService','beginPath','session.collaboration-timeout','YUUMI_NO_CUBOID_FOR_QUESTION','cursorInfo','override','_urlService','hide','_docTransformIMECacheService','USERS_LEAVE','InsertRowCommandId','_colorIndex','cursorInfo$','requireSession','startRow','focused$','_localStorageService','_shapes','call','YUUMI_URL_COL_OUT_OF_RANGE','_setupBeforeClosingHandler','LICENSE_DISTRO_REJECTED','ONLINE','...','bottom','delete','_document','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','OnLineIcon','JOIN_ROOM_FAILED','_httpService','dispose$','newValue','disposeUnit','_initStatusListener','rgba(255,\x20255,\x20255,\x200.01)','loadUnit','pushState','red.300','USER_NOT_INVITED_CODE','_registerDependencies','_transformPreviousActiveRange','setStateCache','textRanges','url(#on-line-icon_clip0_910_349)','APPLY_PERMISSION_DENIED','InsertRangeMoveDownCommandId','pluginName','tag','getTypeOfUnitAdded$','popstate','_getAnchorBounding','stringify','executionId','concat','defs','startColumn','unshift','on-line-icon_clip0_910_349','parse','getSheetBySheetId','_drawRectRange','searchParams','_themeService','undoState','type','INTERNAL_ERROR','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','complete','_hovered','name','_color','endColumn','ENSURE_SNAPSHOT_EXECUTION','get','InsertRangeMoveRightCommandId','UNIVER_DOC','_onRefRangeChange','_collabCursorController','_eventUnsubscribe','_cursorShapes','transform','some','syncEditingCollabCursor','createInstance','_handleLeaveEvent','HEADER_MENU','includes','collabStatus.syncing','getUnhiddenWorksheets','_scheduleHeartbeat','_doCreateSocket','assignAColorForMemberID','InsertColCommandId','COMPLETION_FINISHED','UNIVER_SHEET','_injector','_uiPartsService','_toggleOffline','[CollaborationDataLoaderController]','clearInterval','currentTheme$','addObjects','off-line-icon_clip0_910_343','_localCacheService','storage','assign','collabStatus.offline','getOwnPropertyDescriptor','_getSessionTicket','source','ACTIVE_UNIT_EVENT_CHANNEL','RemoveRowCommandId','fillStyle','transformByState','currentSkeleton$','_onCursorUpdate','status$','params','SOCKET_FAILED','onPointerLeave$','_notificationService','none','dispose','children','univer-mr-2\x20univer-flex\x20univer-text-xl','startsWith','FromArray','engine','_messageService','PERMISSION_DENIED','306YUTMPp','findNodePositionByCharIndex','INVALID_INVITE_CODE','collabCursorState$','url(#off-line-icon_clip0_910_343)','/run/','_updateLocalCursor','_entityInit$','_updateURLWithCurrentState','Unknown\x20user','onCommandExecuted','white','_refreshCollabCursors','UniverIcon','deepClone','replace','EMAIL_VERIFY_CODE_MISMATCH','isArray','body','top','asObservable','YUUMI_ASYNCIO_CANCELLED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','actions','_transformHistoryAndStateStack','YUUMI_AI_RUN_FAILED','yellow.400','_saveCache','next','_syncEditingCollabCursorService','measureText','jiqing.500','NO_OTHER_CLIENTS_EDITING','transformStateCache','_scheduleClearOtherTimer','drawWith','purple.300','SNAPSHOT_INVALID_SNAPSHOT','trim','saveOfflineData','split','M0\x200H16V16H0z','unitId','makeDirty','_drawTextRange','addHandlerCallback','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','addEventListener','clearTimeout','_handleJoinEvent','urlChange$','onTransformChange$','_setupSubUnitSync','_labelPosition','_initResize','MoveRangeCommandId','_clearOtherTimers','LOGIN_FAILED','disposeWithMe','getMemberID','_univerInstanceService','m1Prime','_heartbeatTimer','_getScale','current','APPLY_REJECT','collab-rect-range-','result','setItem','show','univer-flex\x20univer-items-center','_toggleOnline','fillText','_memberService','UNDEFINED','TEXT','collaboration.closeRoom','unit','_logService','_entities','runOnServer','icon','_hideTimer','OffLineIcon','LICENSE_MAX_UNITS_EXCEEDED','_getMergeRange','4442208jdOrqb','UPDATE_CURSOR','_unitOnClients','_config','SOCKET_FAILED_RETRY','_localeService','_name','YUUMI_SUBSCRIPTION_NOT_FOUND','_collaborationUIEventService','lineTo','Warning','FETCH_MISS','on-line-icon','history','getMergeData','colorChannel1','reconnect','CHANGESET_REVISION_CONFILICT','2078322qPdvYp','all','_onCursorDelete','toRgbString','_lastPointer','[RemoteUniscriptService]:\x20no\x20focused\x20unit','setActiveRange','APPLY_DUPLICATED','then','_docTransformStateCacheService','AWAITING_WITH_PENDING','transformIMECache','CLOSE_ROOM','_docTransformSelectionsService','UNAUTHENTICATED','_anchor','saveTaskMap','_send','runId','send','2392643tReQyk','_dataLoaderService','setAlpha','getSkeleton','origin','_handleHover','INVITE_CODE_REQUIRED','resize','getRangePointData','_online','_initEvent','max','registerRenderModule','_collaborationController','entries','idSuffix','_transformUndoRedoStack','setShapeProps','_startSheetCollabCursor','_cachedData','saveImage','debug','executeCommand','xlink:href','mutations','_scene','color','Error','transformMutationsWithChangeset','WECHAT_HAS_BEEN_BOUND','transformMutation','_handleEvent','set','restore','_saveTaskMap','_drawAnchor','_initStatusComponent','subscribeEvent','editingUnit','addClipboardHook','translate(.97)','getTypeOfUnitDisposed$','div'];_0x45b5=function(){return _0x25fde6;};return _0x45b5();}let re=class{constructor(_0x166c73,_0x5b1a2b,_0x3e7c2d){const _0x18b4ba=_0x6f952d;this[_0x18b4ba(0x277)]=_0x166c73,this[_0x18b4ba(0x19a)]=_0x5b1a2b,this[_0x18b4ba(0x144)]=_0x3e7c2d;}['transformStateCache'](_0x5dc289){const _0x2ace1b=_0x6f952d;this[_0x2ace1b(0xa5)](_0x5dc289);}[_0x6f952d(0x166)](_0x26bc94){const _0x47f671=_0x6f952d,{unitID:_0x1d8364}=_0x26bc94,{collaboration:_0x4f5ceb}=this[_0x47f671(0x144)][_0x47f671(0x164)](_0x1d8364);if(_0x4f5ceb[_0x47f671(0x158)]===0x0)return _0x26bc94;let _0x481c3b=_0x123dff[_0x47f671(0x9b)](_0x26bc94[_0x47f671(0x121)][0x0]);for(let _0x22c162=0x0;_0x22c162<_0x4f5ceb['length'];_0x22c162++){const _0x4eb7dd={'id':_0x47f671(0x17d),'params':{'unitId':_0x4f5ceb[_0x22c162][_0x47f671(0xb7)],..._0x4f5ceb[_0x22c162][_0x47f671(0x1e6)]}},_0x88dcf3=this[_0x47f671(0x19a)][_0x47f671(0x127)](_0x481c3b,_0x4eb7dd,!0x1);if(_0x399df1(_0x88dcf3))throw _0x88dcf3['error'];_0x481c3b=_0x88dcf3[_0x47f671(0xca)];}return{..._0x123dff[_0x47f671(0x9b)](_0x26bc94),'mutations':[_0x481c3b]};}[_0x6f952d(0xa5)](_0x26ddf4){const _0x20890e=_0x6f952d,{unitID:_0x1f0d93}=_0x26ddf4,{history:_0x51e673,collaboration:_0x130aec}=this[_0x20890e(0x144)][_0x20890e(0x164)](_0x1f0d93);if(_0x51e673[_0x20890e(0x158)]===0x0&&_0x130aec[_0x20890e(0x158)]===0x0)return;const _0x4a4889=[],_0x1a197a=[];let _0x10e500=_0x123dff['deepClone'](_0x26ddf4[_0x20890e(0x121)][0x0]),_0xc05d0c=_0x123dff[_0x20890e(0x9b)](_0x26ddf4[_0x20890e(0x121)][0x0]);for(let _0x28a832=_0x51e673[_0x20890e(0x158)]-0x1;_0x28a832>=0x0;_0x28a832--){const _0x287fa7={'id':_0x20890e(0x17d),'params':{'unitId':_0x51e673[_0x28a832]['unitId'],..._0x51e673[_0x28a832][_0x20890e(0x257)]}},_0x5bd165={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x51e673[_0x28a832][_0x20890e(0xb7)],..._0x51e673[_0x28a832]['redoState']}},_0x238b04=this[_0x20890e(0x19a)][_0x20890e(0x127)](_0x10e500,_0x287fa7,!0x1),_0x5adbd4=this[_0x20890e(0x19a)]['transformMutation'](_0xc05d0c,_0x5bd165,!0x1);if(_0x399df1(_0x238b04))throw _0x238b04['error'];if(_0x399df1(_0x5adbd4))throw _0x5adbd4['error'];_0x4a4889[_0x20890e(0x250)]({..._0x51e673[_0x28a832],'undoState':_0x238b04['m2Prime'][_0x20890e(0x80)],'redoState':_0x5adbd4[_0x20890e(0x185)][_0x20890e(0x80)]}),_0x10e500=_0x238b04['m1Prime'],_0xc05d0c=_0x5adbd4['m1Prime'];}_0x10e500=_0x123dff['deepClone'](_0x26ddf4['mutations'][0x0]),_0xc05d0c=_0x123dff['deepClone'](_0x26ddf4[_0x20890e(0x121)][0x0]);for(let _0x23c7d7=_0x130aec[_0x20890e(0x158)]-0x1;_0x23c7d7>=0x0;_0x23c7d7--){const _0x5171a2={'id':_0x20890e(0x17d),'params':{'unitId':_0x130aec[_0x23c7d7][_0x20890e(0xb7)],..._0x130aec[_0x23c7d7][_0x20890e(0x257)]}},_0x2dad89={'id':_0x20890e(0x17d),'params':{'unitId':_0x130aec[_0x23c7d7][_0x20890e(0xb7)],..._0x130aec[_0x23c7d7][_0x20890e(0x1e6)]}},_0x34fb96=this[_0x20890e(0x19a)][_0x20890e(0x127)](_0x10e500,_0x5171a2,!0x1),_0x475952=this[_0x20890e(0x19a)][_0x20890e(0x127)](_0xc05d0c,_0x2dad89,!0x1);if(_0x399df1(_0x34fb96))throw _0x34fb96[_0x20890e(0x1e3)];if(_0x399df1(_0x475952))throw _0x475952['error'];_0x1a197a[_0x20890e(0x250)]({..._0x130aec[_0x23c7d7],'undoState':_0x34fb96['m2Prime']['params'],'redoState':_0x475952['m2Prime']['params']}),_0x10e500=_0x34fb96[_0x20890e(0xca)],_0xc05d0c=_0x475952[_0x20890e(0xca)];}this['_docStateChangeManagerService'][_0x20890e(0x241)](_0x1f0d93,{'history':_0x4a4889,'collaboration':_0x1a197a});}};re=nn([Ce(0x0,_0x2ad71f(_0x14214c)),Ce(0x1,_0x23cfb3),Ce(0x2,_0x2ad71f(_0x528106))],re);var rn=Object[_0x6f952d(0x283)],on=(_0xc36196,_0x2be19d,_0x4a9647,_0x69ea4c)=>{for(var _0x16973b=_0x69ea4c>0x1?void 0x0:_0x69ea4c?rn(_0x2be19d,_0x4a9647):_0x2be19d,_0x1b53d4=_0xc36196['length']-0x1,_0x88f4d2;_0x1b53d4>=0x0;_0x1b53d4--)(_0x88f4d2=_0xc36196[_0x1b53d4])&&(_0x16973b=_0x88f4d2(_0x16973b)||_0x16973b);return _0x16973b;},tt=(_0x5f075a,_0x243a04)=>(_0x4a271d,_0x115f18)=>_0x243a04(_0x4a271d,_0x115f18,_0x5f075a);let oe=class{constructor(_0x2d5260,_0x7b1e){const _0x37fb7b=_0x6f952d;this[_0x37fb7b(0x277)]=_0x2d5260,this[_0x37fb7b(0x19a)]=_0x7b1e;}[_0x6f952d(0x14c)](_0x4d8b15){const _0x338c50=_0x6f952d;var _0x5907b9;const _0x298439=this[_0x338c50(0x277)][_0x338c50(0x261)](_0x8e84b4),_0x54ea63=(_0x5907b9=_0x298439[_0x338c50(0x1f0)]())!=null?_0x5907b9:[];if(_0x54ea63[_0x338c50(0x158)]===0x0)return;const _0x3144ce=_0x4d8b15[_0x338c50(0x201)],_0x530ca4=[{'id':_0x338c50(0x17d),'params':{'unitId':_0x3144ce,'actions':null,'textRanges':_0x54ea63}}],_0x4bd10b=this['_transformService'][_0x338c50(0x125)](_0x4d8b15,_0x530ca4);if(!_0x1939ee(_0x4bd10b))throw _0x4bd10b[_0x338c50(0x1e3)];const _0x1380d1=_0x4bd10b['m2Prime'][0x0]['params'][_0x338c50(0x242)];Array[_0x338c50(0x9e)](_0x1380d1)&&_0x1380d1['length']&&_0x298439['replaceDocRanges'](_0x1380d1,{'unitId':_0x3144ce,'subUnitId':_0x3144ce},!0x1);}};oe=on([tt(0x0,_0x2ad71f(_0x14214c)),tt(0x1,_0x23cfb3)],oe);var an=Object[_0x6f952d(0x283)],cn=(_0xbe5b1d,_0x7445c8,_0x34dc3d,_0x1f427a)=>{const _0x574eb7=_0x6f952d;for(var _0x5a35d0=_0x1f427a>0x1?void 0x0:_0x1f427a?an(_0x7445c8,_0x34dc3d):_0x7445c8,_0x2cc3a1=_0xbe5b1d[_0x574eb7(0x158)]-0x1,_0x3b3298;_0x2cc3a1>=0x0;_0x2cc3a1--)(_0x3b3298=_0xbe5b1d[_0x2cc3a1])&&(_0x5a35d0=_0x3b3298(_0x5a35d0)||_0x5a35d0);return _0x5a35d0;},U=(_0x562715,_0x280774)=>(_0xa2a7a0,_0x5dd9bf)=>_0x280774(_0xa2a7a0,_0x5dd9bf,_0x562715);let ae=class extends _0x314d20{constructor(_0x1ba416,_0x4b176d,_0x63b5b0,_0x43c880,_0x28eb14,_0x1564da,_0x6de966,_0xd5701a){const _0x4c0595=_0x6f952d;super(),_(this,_0x4c0595(0x138),new _0x25ddca(_0x2cb0a0[_0x4c0595(0x1ef)])),(this[_0x4c0595(0x144)]=_0x1ba416,this['_collaborationController']=_0x4b176d,this[_0x4c0595(0x21f)]=_0x63b5b0,this['_docTransformStateCacheService']=_0x43c880,this[_0x4c0595(0x102)]=_0x28eb14,this[_0x4c0595(0x1c5)]=_0x1564da,this[_0x4c0595(0x8b)]=_0x6de966,this[_0x4c0595(0xe8)]=_0xd5701a,this['_initEntityListener']());}[_0x6f952d(0x191)](){const _0x3ecbec=_0x6f952d;this['disposeWithMe'](this['_collaborationController'][_0x3ecbec(0x181)][_0x3ecbec(0x1ba)](_0x52fdaf=>{const _0x3dd61a=_0x3ecbec,_0x21c115=this[_0x3dd61a(0x144)][_0x3dd61a(0x1c8)][_0x3dd61a(0x1ba)](_0x11ab38=>{const _0x1779e2=_0x3dd61a;if(_0x11ab38==null)return;const {unitId:_0x34fb2e,redoState:_0x5d9c8f,commandId:_0x18d765}=_0x11ab38;if(_0x34fb2e!==_0x52fdaf['unitID'])return;const _0x67225f={'id':_0x18d765,'type':_0x3a95a5['MUTATION'],'params':{'unitId':_0x34fb2e,'actions':_0x5d9c8f[_0x1779e2(0xa4)],'textRanges':null}};_0x52fdaf['onLocalMutation'](_0x67225f);});if(_0x52fdaf[_0x3dd61a(0xc7)](_0x21c115),_0x52fdaf instanceof _0xb3aa28){const _0x586c66={'onTransformIME':_0x47fbf4=>this[_0x3dd61a(0x21f)][_0x3dd61a(0x100)](_0x47fbf4),'onTransformState':_0x4db256=>this[_0x3dd61a(0xfe)][_0x3dd61a(0xae)](_0x4db256),'onTransformSelections':_0x2de9b0=>this['_docTransformSelectionsService']['transformSelections'](_0x2de9b0),'onSyncEditingCollabCursor':_0x408320=>this[_0x3dd61a(0x1c5)][_0x3dd61a(0x26a)](_0x408320),'onTransformRemoteChangesetByIMECache':_0x34af60=>this[_0x3dd61a(0x21f)]['transformRemoteChangeset'](_0x34af60),'onTransformRemoteChangesetByStateCache':_0x2c6675=>this[_0x3dd61a(0xfe)][_0x3dd61a(0x166)](_0x2c6675)};_0x52fdaf[_0x3dd61a(0xba)](_0x586c66);}}));}};ae=cn([U(0x0,_0x2ad71f(_0x528106)),U(0x1,_0x2ad71f(_0x2b30d1)),U(0x2,_0x2ad71f(ne)),U(0x3,_0x2ad71f(re)),U(0x4,_0x2ad71f(oe)),U(0x5,_0x2ad71f(He)),U(0x6,_0x16c293),U(0x7,_0x2ad71f(_0x1d6e14))],ae);var ln=Object[_0x6f952d(0x283)],_n=(_0x29a070,_0x37599f,_0x29a4f9,_0x40712a)=>{const _0xaf8a19=_0x6f952d;for(var _0x1eb593=_0x40712a>0x1?void 0x0:_0x40712a?ln(_0x37599f,_0x29a4f9):_0x37599f,_0x1d207d=_0x29a070[_0xaf8a19(0x158)]-0x1,_0x33d79e;_0x1d207d>=0x0;_0x1d207d--)(_0x33d79e=_0x29a070[_0x1d207d])&&(_0x1eb593=_0x33d79e(_0x1eb593)||_0x1eb593);return _0x1eb593;},Ee=(_0x5b92b2,_0x3af013)=>(_0x19f4f6,_0x21a6b6)=>_0x3af013(_0x19f4f6,_0x21a6b6,_0x5b92b2);let we=class extends _0x314d20{constructor(_0x100200,_0x35757e,_0x2f1ec1){const _0x3a4455=_0x6f952d;super(),_(this,'_cachedData',new Map()),_(this,_0x3a4455(0x12b),new Map()),_(this,_0x3a4455(0x1eb),!0x1),(this[_0x3a4455(0x1e8)]=_0x100200,this[_0x3a4455(0x227)]=_0x35757e,this['_revisionService']=_0x2f1ec1);}['disableLocalCache'](){const _0xa0bc70=_0x6f952d;this[_0xa0bc70(0x1eb)]=!0x0;}['enableLocalCache'](){const _0x5abdee=_0x6f952d;this[_0x5abdee(0x1eb)]=!0x1;}get[_0x6f952d(0x105)](){return this['_saveTaskMap'];}[_0x6f952d(0x85)](){const _0x312e8a=_0x6f952d;this['exhaustSavingTask']()[_0x312e8a(0xfd)](()=>super[_0x312e8a(0x85)]());}async[_0x6f952d(0x193)](_0x342c81){const _0x4b665d=_0x6f952d;return this[_0x4b665d(0x1eb)]?null:this[_0x4b665d(0x227)]['getItem'](_0x32759a(_0x342c81));}async[_0x6f952d(0xb4)](_0x4c67ce,_0xe2e67){const _0x29fc7b=_0x6f952d;return!!this[_0x29fc7b(0x227)]['setItem'](_0x4c67ce,_0xe2e67);}['updateOfflineData'](_0x53136c,_0x31d67a,_0x5a4855,_0x4cfba4){const _0x35abea=_0x6f952d,_0x4e7e04=this[_0x35abea(0x14b)]['getCurrentRevOfUnit'](_0x53136c);this[_0x35abea(0x11c)][_0x35abea(0x129)](_0x53136c,{'unitID':_0x53136c,'type':_0x31d67a,'awaitingChangeset':_0x5a4855,'mutations':_0x4cfba4,'rev':_0x4e7e04}),this['_saveTaskMap'][_0x35abea(0x1a8)](_0x53136c)||this[_0x35abea(0x139)](_0x53136c);}['_scheduleSaving'](_0x458cbc){const _0x5568b3=_0x6f952d,_0x304479=this[_0x5568b3(0x1f7)]();_0x304479===0x0?this[_0x5568b3(0xa8)](_0x458cbc):this[_0x5568b3(0x12b)][_0x5568b3(0x129)](_0x458cbc,setTimeout(()=>this[_0x5568b3(0xa8)](_0x458cbc),_0x304479));}['_getSaveTimeout'](){const _0x4bb597=_0x6f952d;var _0x3f9a1b;return(_0x3f9a1b=this[_0x4bb597(0x1e8)][_0x4bb597(0x177)](_0x14b207))!=null?_0x3f9a1b:_0x531045;}[_0x6f952d(0xa8)](_0x4af48e){const _0x523d1b=_0x6f952d,_0x3896a4=this[_0x523d1b(0x12b)][_0x523d1b(0x261)](_0x4af48e);return _0x3896a4!==void 0x0&&window[_0x523d1b(0xbd)](_0x3896a4),this['_localStorageService'][_0x523d1b(0xd1)](_0x32759a(_0x4af48e),this[_0x523d1b(0x11c)][_0x523d1b(0x261)](_0x4af48e))[_0x523d1b(0xfd)](()=>this[_0x523d1b(0x12b)][_0x523d1b(0x230)](_0x4af48e));}async['exhaustSavingTask'](){const _0x280e32=_0x6f952d,_0x3db4f3=[];this[_0x280e32(0x12b)]['forEach']((_0x12319f,_0x5681ac)=>{const _0x494f94=_0x280e32;window[_0x494f94(0xbd)](_0x12319f),_0x3db4f3['push'](this[_0x494f94(0xa8)](_0x5681ac)['then'](()=>{this['_saveTaskMap']['delete'](_0x5681ac);}));}),await Promise[_0x280e32(0xf6)](_0x3db4f3);}};we=_n([Ee(0x0,_0x27db46),Ee(0x1,_0x39ce6c),Ee(0x2,_0x2ad71f(_0x389b96))],we);class hn extends _0x5e6d7d{constructor(){const _0x467298=_0x6f952d;super(),_(this,'urlChange$'),this['urlChange$']=_0x3b2803(window,_0x467298(0x249))[_0x467298(0x173)](_0x147fa3(this[_0x467298(0x236)]),_0x315e11(0x1),_0x4d926d(void 0x0));}[_0x6f952d(0x1d2)](_0x1f595a,_0x3dd5a0,_0x452eb1=!0x1){const _0x31d5dc=_0x6f952d,_0x14c080=new URL(window[_0x31d5dc(0x1bd)][_0x31d5dc(0x13a)]);_0x14c080[_0x31d5dc(0x255)][_0x31d5dc(0x129)](_0x1f595a,_0x3dd5a0),_0x452eb1?window['history'][_0x31d5dc(0x1c4)]('','',_0x14c080[_0x31d5dc(0x1d5)]()):window[_0x31d5dc(0xf0)][_0x31d5dc(0x23c)]('','',_0x14c080[_0x31d5dc(0x1d5)]());}['removeParam'](_0x5c088e,_0x2233e7=!0x1){const _0x577b2e=_0x6f952d,_0x579d6a=new URL(window[_0x577b2e(0x1bd)]['href']);_0x579d6a['searchParams'][_0x577b2e(0x230)](_0x5c088e),_0x2233e7?window[_0x577b2e(0xf0)][_0x577b2e(0x1c4)]('','',_0x579d6a[_0x577b2e(0x1d5)]()):window[_0x577b2e(0xf0)][_0x577b2e(0x23c)]('','',_0x579d6a[_0x577b2e(0x1d5)]());}[_0x6f952d(0x157)](_0x14446c){const _0x35dc7b=_0x6f952d;var _0x5040b0;return(_0x5040b0=new URL(window[_0x35dc7b(0x1bd)]['href'])[_0x35dc7b(0x255)][_0x35dc7b(0x261)](_0x14446c))!=null?_0x5040b0:void 0x0;}}var un=Object[_0x6f952d(0x1b4)],dn=Object[_0x6f952d(0x283)],fn=(_0x586f87,_0x38541f,_0x31cf86)=>_0x38541f in _0x586f87?un(_0x586f87,_0x38541f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x31cf86}):_0x586f87[_0x38541f]=_0x31cf86,Sn=(_0x4a8272,_0x29ff75,_0x4b03eb,_0x232426)=>{const _0x5a2ee0=_0x6f952d;for(var _0x3e26e7=_0x232426>0x1?void 0x0:_0x232426?dn(_0x29ff75,_0x4b03eb):_0x29ff75,_0x46bae7=_0x4a8272[_0x5a2ee0(0x158)]-0x1,_0x215da7;_0x46bae7>=0x0;_0x46bae7--)(_0x215da7=_0x4a8272[_0x46bae7])&&(_0x3e26e7=_0x215da7(_0x3e26e7)||_0x3e26e7);return _0x3e26e7;},Oe=(_0x31f59b,_0x4c9db3)=>(_0x1f7913,_0x4ed2ae)=>_0x4c9db3(_0x1f7913,_0x4ed2ae,_0x31f59b),mn=(_0x1e8d25,_0x2fd082,_0x516fce)=>fn(_0x1e8d25,_0x2fd082+'',_0x516fce);const In=_0x6f952d(0x25a);let Ae=class extends _0x402252{constructor(_0x5a2826=et,_0x12de73,_0x1222ca,_0x1af5a0){const _0x167c15=_0x6f952d;super(),this[_0x167c15(0xe6)]=_0x5a2826,this[_0x167c15(0x1d9)]=_0x12de73,this[_0x167c15(0x277)]=_0x1222ca,this[_0x167c15(0x1e8)]=_0x1af5a0;const {..._0x50a910}=_0x431bb4({},et,this[_0x167c15(0xe6)]);this[_0x167c15(0x1e8)][_0x167c15(0x18e)](Zi,_0x50a910);}['onStarting'](){const _0x2d6d62=_0x6f952d;this[_0x2d6d62(0x23f)](),this[_0x2d6d62(0x155)]();}[_0x6f952d(0x167)](){const _0x3eff7e=_0x6f952d;this[_0x3eff7e(0x1cf)]();}[_0x6f952d(0x23f)](){const _0x144e95=_0x6f952d;var _0x5c526a;const _0x10e603=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x31881a,{'useClass':_0x104ba1}],[_0x4da2db,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x36eb4a(this[_0x144e95(0x277)],_0x2aa0c7(_0x10e603,(_0x5c526a=this['_config'])==null?void 0x0:_0x5c526a[_0x144e95(0x21c)]));}['_registerRenderDependencies'](){const _0xe585c2=_0x6f952d;this[_0xe585c2(0xc7)](this['_renderManagerService'][_0xe585c2(0x115)](_0x1bc251[_0xe585c2(0x263)],[Le])),this['disposeWithMe'](this[_0xe585c2(0x1d9)][_0xe585c2(0x115)](_0x1bc251['UNIVER_SHEET'],[Pe]));}[_0x6f952d(0x155)](){const _0x44af94=_0x6f952d;_0x33ece9(this[_0x44af94(0x277)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x6f952d(0x246),In),Ae=Sn([_0xa20676(_0x1fa62f),Oe(0x1,_0x397b72),Oe(0x2,_0x2ad71f(_0x14214c)),Oe(0x3,_0x27db46)],Ae);var gn=Object['getOwnPropertyDescriptor'],vn=(_0x42527f,_0x58e21a,_0x2b35ba,_0x2e1ffc)=>{const _0x1c0a85=_0x6f952d;for(var _0x356094=_0x2e1ffc>0x1?void 0x0:_0x2e1ffc?gn(_0x58e21a,_0x2b35ba):_0x58e21a,_0x527eac=_0x42527f[_0x1c0a85(0x158)]-0x1,_0x207f75;_0x527eac>=0x0;_0x527eac--)(_0x207f75=_0x42527f[_0x527eac])&&(_0x356094=_0x207f75(_0x356094)||_0x356094);return _0x356094;},K=(_0x29afe6,_0x4516c6)=>(_0x86a5df,_0x41b33f)=>_0x4516c6(_0x86a5df,_0x41b33f,_0x29afe6);let st=class extends _0x57641c{constructor(_0x2966dc,_0x1a5ccc,_0x3163c9,_0x3bca5e,_0x3eb4e4){super(_0x2966dc,_0x1a5ccc,_0x3163c9,_0x3bca5e,_0x3eb4e4);}async[_0x6f952d(0x151)](_0x3fc215){const _0x15531d=_0x6f952d,_0x264921=await this[_0x15531d(0x284)](),_0x377e03=this[_0x15531d(0x13f)](_0x3fc215,_0x264921);return this[_0x15531d(0x272)](_0x377e03);}[_0x6f952d(0x13f)](_0x1043bb,_0x2052d3){const _0x255bfc=_0x6f952d,_0x497de4=typeof window>'u'?new URL(_0x1043bb):new URL(_0x1043bb,window[_0x255bfc(0x1bd)][_0x255bfc(0x10d)]);_0x497de4[_0x255bfc(0x255)][_0x255bfc(0x129)](_0x255bfc(0x147),_0x2052d3);const _0x3bc6ba=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x255bfc(0x1bd)]['search']);return _0x3bc6ba['get'](_0x255bfc(0x107))&&_0x497de4['searchParams']['set']('runId',_0x3bc6ba[_0x255bfc(0x261)]('runId')),_0x497de4['toString']();}async[_0x6f952d(0x284)](){const _0x1e40ec=_0x6f952d;var _0x522eb9,_0x2fbd99,_0x49f7f2;const _0x4d8c36=this[_0x1e40ec(0x1e8)][_0x1e40ec(0x177)](_0x207f58),_0x1b3975=(_0x522eb9=_0x4d8c36==null?void 0x0:_0x4d8c36['wsSessionTicketUrl'])!=null?_0x522eb9:_0x102dda;return(_0x49f7f2=(_0x2fbd99=(await this[_0x1e40ec(0x235)]['get'](_0x1b3975,{'headers':{'Content-Type':_0x1e40ec(0x203)}}))[_0x1e40ec(0x9f)])==null?void 0x0:_0x2fbd99[_0x1e40ec(0x1db)])!=null?_0x49f7f2:'';}};st=vn([K(0x0,_0x2ad71f(_0x14214c)),K(0x1,_0x2ad71f(_0x121683)),K(0x2,_0x27db46),K(0x3,_0x4162d0),K(0x4,_0x549feb)],st);const it=0x7530,nt=_0x6f952d(0x286);class Fn extends _0x314d20{constructor(){const _0x38a4a8=_0x6f952d;super(),_(this,_0x38a4a8(0x165),_0x271946()),_(this,'_selfUnitIDs',new Set()),_(this,_0x38a4a8(0xe5),new Map()),_(this,_0x38a4a8(0xcb),null),_(this,'_clearOtherTimers',new Map()),_(this,_0x38a4a8(0x143),new Map()),this[_0x38a4a8(0x16a)]();}[_0x6f952d(0x85)](){const _0x11a476=_0x6f952d;super[_0x11a476(0x85)](),this[_0x11a476(0xc5)][_0x11a476(0x1f3)]((_0x50b26c,_0x18181c)=>this[_0x11a476(0x190)](_0x18181c)),this['_heartbeatTimer']&&window['clearInterval'](this[_0x11a476(0xcb)]);}['getUnitStatus$'](_0x301ba6){const _0x4f2222=_0x6f952d;return this['_ensureSubject'](_0x301ba6)[_0x4f2222(0x173)](_0x38037e());}[_0x6f952d(0x12f)](_0x41cd16){const _0x1200a0=_0x6f952d;this[_0x1200a0(0x188)][_0x1200a0(0x142)]===0x0&&this[_0x1200a0(0x271)](),this['_selfUnitIDs'][_0x1200a0(0x153)](_0x41cd16),this['_send']({'type':0x0,'memberID':this[_0x1200a0(0x165)],'unitIDs':[_0x41cd16],'isForwarded':!0x1});}[_0x6f952d(0x238)](_0x5c6ff5){const _0x537307=_0x6f952d;this[_0x537307(0x188)][_0x537307(0x230)](_0x5c6ff5),this['_selfUnitIDs']['size']===0x0&&this[_0x537307(0xcb)]&&window[_0x537307(0x27b)](this[_0x537307(0xcb)]);}[_0x6f952d(0x16a)](){const _0x4c7a3d=_0x6f952d;this[_0x4c7a3d(0xc7)](_0x545ea3(_0x3b2803(window,_0x4c7a3d(0x280))[_0x4c7a3d(0x1ba)](_0x464499=>{const _0x53c6b5=_0x4c7a3d;if(_0x464499[_0x53c6b5(0x189)]!==nt||!_0x464499[_0x53c6b5(0x237)])return;const _0xd1382b=JSON[_0x53c6b5(0x252)](_0x464499[_0x53c6b5(0x237)]);this[_0x53c6b5(0x128)](_0xd1382b);}))),window[_0x4c7a3d(0xbc)](_0x4c7a3d(0x1e7),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x4c7a3d(0x196)](this[_0x4c7a3d(0x188)])}));}[_0x6f952d(0x128)](_0xf6c683){const _0x13c893=_0x6f952d;switch(_0xf6c683[_0x13c893(0x258)]){case 0x0:this[_0x13c893(0xbe)](_0xf6c683);break;case 0x1:this[_0x13c893(0x26c)](_0xf6c683);break;case 0x2:this[_0x13c893(0x154)](_0xf6c683);break;}}[_0x6f952d(0xbe)](_0x261ade){const _0xc488a3=_0x6f952d,{unitIDs:_0x3a9d11,memberID:_0x414cfd,isForwarded:_0x44b9a9}=_0x261ade;_0x3a9d11['forEach'](_0x462bf1=>{const _0x3edbbe=_0x1920;if(!_0x44b9a9&&this[_0x3edbbe(0xe5)]['has'](_0x462bf1)&&this[_0x3edbbe(0x1df)](_0x462bf1)[_0x3edbbe(0xa9)](_0x19f169['OTHER_CLIENTS_EDITING']),!this['_unitOnClients'][_0x3edbbe(0x1a8)](_0x462bf1)||!this[_0x3edbbe(0xe5)][_0x3edbbe(0x261)](_0x462bf1)[_0x3edbbe(0x1a8)](_0x414cfd)){const _0x2a1194=this['_unitOnClients'][_0x3edbbe(0x261)](_0x462bf1)||new Set();_0x2a1194[_0x3edbbe(0x153)](_0x414cfd),this[_0x3edbbe(0xe5)][_0x3edbbe(0x129)](_0x462bf1,_0x2a1194),this['_scheduleClearOtherTimer'](_0x414cfd);}}),_0x44b9a9||this[_0xc488a3(0x106)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0xc488a3(0x188)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x5cd7f7){const _0x36b627=_0x6f952d;this[_0x36b627(0x190)](_0x5cd7f7);const _0x3e6e12=window['setTimeout'](()=>{const _0x5a6c63=_0x36b627;this[_0x5a6c63(0xe5)][_0x5a6c63(0x1f3)](_0x392d27=>{_0x392d27['delete'](_0x5cd7f7);});},it*0x2);this[_0x36b627(0xc5)][_0x36b627(0x129)](_0x5cd7f7,_0x3e6e12);}[_0x6f952d(0x190)](_0x19baa2){const _0x3eeeba=_0x6f952d;if(this[_0x3eeeba(0xc5)][_0x3eeeba(0x1a8)](_0x19baa2)){const _0xb6116e=this['_clearOtherTimers']['get'](_0x19baa2);_0xb6116e&&window[_0x3eeeba(0xbd)](_0xb6116e),this[_0x3eeeba(0xc5)][_0x3eeeba(0x129)](_0x19baa2,null);}}[_0x6f952d(0x26c)](_0x4b09e9){const _0xa1f8d5=_0x6f952d,{memberID:_0x522269,unitIDs:_0xeabd5c}=_0x4b09e9;_0xeabd5c[_0xa1f8d5(0x1f3)](_0x35adfe=>{const _0x1fe8b8=_0xa1f8d5;var _0x4a76cd;const _0x5122f2=this[_0x1fe8b8(0xe5)][_0x1fe8b8(0x261)](_0x35adfe);_0x5122f2&&(_0x5122f2['delete'](_0x522269),(_0x4a76cd=this['_ensureSubject'](_0x35adfe))==null||_0x4a76cd[_0x1fe8b8(0xa9)](_0x5122f2[_0x1fe8b8(0x142)]===0x0?_0x19f169['NO_OTHER_CLIENTS_EDITING']:_0x19f169['OTHER_CLIENTS_EDITING']));}),this[_0xa1f8d5(0x190)](_0x522269);}[_0x6f952d(0x154)](_0x2e910b){const _0x142634=_0x6f952d;this[_0x142634(0xaf)](_0x2e910b[_0x142634(0x192)]);}[_0x6f952d(0x106)](_0x2f4a97){localStorage['setItem'](nt,JSON['stringify'](_0x2f4a97));}[_0x6f952d(0x271)](){const _0x484934=_0x6f952d;this[_0x484934(0xcb)]=window[_0x484934(0x1ab)](()=>{const _0x350f97=_0x484934;this[_0x350f97(0x106)]({'type':0x2,'memberID':this['_id']});},it);}['_ensureSubject'](_0x469734){const _0x3722bd=_0x6f952d;return this[_0x3722bd(0x143)][_0x3722bd(0x1a8)](_0x469734)||this['_unitStatus'][_0x3722bd(0x129)](_0x469734,new _0x25ddca(_0x19f169[_0x3722bd(0xad)])),this[_0x3722bd(0x143)][_0x3722bd(0x261)](_0x469734);}}var Mt=(_0xa1837a=>(_0xa1837a[_0xa1837a[_0x6f952d(0xd7)]=0x0]=_0x6f952d(0xd7),_0xa1837a[_0xa1837a['OK']=0x1]='OK',_0xa1837a[_0xa1837a[_0x6f952d(0x259)]=0x2]=_0x6f952d(0x259),_0xa1837a[_0xa1837a[_0x6f952d(0x8c)]=0x3]=_0x6f952d(0x8c),_0xa1837a[_0xa1837a[_0x6f952d(0x141)]=0x4]=_0x6f952d(0x141),_0xa1837a[_0xa1837a[_0x6f952d(0x103)]=0x5]=_0x6f952d(0x103),_0xa1837a[_0xa1837a[_0x6f952d(0x1a0)]=0x6]='ALREADY_EXISTS',_0xa1837a[_0xa1837a[_0x6f952d(0x1f6)]=0x7]=_0x6f952d(0x1f6),_0xa1837a[_0xa1837a['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0xa1837a[_0xa1837a[_0x6f952d(0x275)]=0x9]=_0x6f952d(0x275),_0xa1837a[_0xa1837a[_0x6f952d(0xc6)]=0xa]=_0x6f952d(0xc6),_0xa1837a[_0xa1837a[_0x6f952d(0x1fc)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0xa1837a[_0xa1837a['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x6f952d(0x14e),_0xa1837a[_0xa1837a[_0x6f952d(0x9d)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0xa1837a[_0xa1837a['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x6f952d(0x209),_0xa1837a[_0xa1837a[_0x6f952d(0xf4)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0xa1837a[_0xa1837a[_0x6f952d(0xb2)]=0x1771]=_0x6f952d(0xb2),_0xa1837a[_0xa1837a[_0x6f952d(0x161)]=0x1772]=_0x6f952d(0x161),_0xa1837a[_0xa1837a[_0x6f952d(0x260)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0xa1837a[_0xa1837a[_0x6f952d(0xce)]=0x1b59]=_0x6f952d(0xce),_0xa1837a[_0xa1837a[_0x6f952d(0x1a1)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0xa1837a[_0xa1837a[_0x6f952d(0x216)]=0x1b5b]=_0x6f952d(0x216),_0xa1837a[_0xa1837a[_0x6f952d(0x244)]=0x1b5c]=_0x6f952d(0x244),_0xa1837a[_0xa1837a[_0x6f952d(0xfc)]=0x1b5d]=_0x6f952d(0xfc),_0xa1837a[_0xa1837a['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0xa1837a[_0xa1837a[_0x6f952d(0xe1)]=0x2329]=_0x6f952d(0xe1),_0xa1837a[_0xa1837a[_0x6f952d(0xa3)]=0x232a]=_0x6f952d(0xa3),_0xa1837a[_0xa1837a['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x6f952d(0x1e0),_0xa1837a[_0xa1837a[_0x6f952d(0x204)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0xa1837a[_0xa1837a[_0x6f952d(0x22c)]=0x232d]='LICENSE_DISTRO_REJECTED',_0xa1837a[_0xa1837a['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x6f952d(0x1d1),_0xa1837a[_0xa1837a[_0x6f952d(0x22a)]=0x2712]=_0x6f952d(0x22a),_0xa1837a[_0xa1837a[_0x6f952d(0x1af)]=0x2713]=_0x6f952d(0x1af),_0xa1837a[_0xa1837a[_0x6f952d(0xea)]=0x2714]=_0x6f952d(0xea),_0xa1837a[_0xa1837a[_0x6f952d(0x21a)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0xa1837a[_0xa1837a[_0x6f952d(0xa2)]=0x271b]=_0x6f952d(0xa2),_0xa1837a[_0xa1837a[_0x6f952d(0x19f)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0xa1837a[_0xa1837a[_0x6f952d(0x1fb)]=0x271d]=_0x6f952d(0x1fb),_0xa1837a[_0xa1837a['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x6f952d(0x232),_0xa1837a[_0xa1837a[_0x6f952d(0xa6)]=0x271f]=_0x6f952d(0xa6),_0xa1837a[_0xa1837a[_0x6f952d(0x17f)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0xa1837a[_0xa1837a[_0x6f952d(0x1c6)]=0x2af9]=_0x6f952d(0x1c6),_0xa1837a[_0xa1837a[_0x6f952d(0x1a6)]=0x2ee1]=_0x6f952d(0x1a6),_0xa1837a[_0xa1837a['INVALID_INVITE_CODE']=0x2ee2]=_0x6f952d(0x8f),_0xa1837a[_0xa1837a[_0x6f952d(0x10f)]=0x2ee3]=_0x6f952d(0x10f),_0xa1837a[_0xa1837a[_0x6f952d(0x23e)]=0x2ee4]=_0x6f952d(0x23e),_0xa1837a[_0xa1837a[_0x6f952d(0x1e1)]=0x2ee5]=_0x6f952d(0x1e1),_0xa1837a[_0xa1837a[_0x6f952d(0x126)]=0x32c9]=_0x6f952d(0x126),_0xa1837a[_0xa1837a['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0xa1837a[_0xa1837a['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0xa1837a[_0xa1837a[_0x6f952d(0x20e)]=-0x1]=_0x6f952d(0x20e),_0xa1837a))(Mt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x3dd524,_0x36f8df,_0xda58c6,_0x59f108)=>{const _0x4e0f83=_0x6f952d;for(var _0x542473=_0x59f108>0x1?void 0x0:_0x59f108?pn(_0x36f8df,_0xda58c6):_0x36f8df,_0x5c74a1=_0x3dd524[_0x4e0f83(0x158)]-0x1,_0x303846;_0x5c74a1>=0x0;_0x5c74a1--)(_0x303846=_0x3dd524[_0x5c74a1])&&(_0x542473=_0x303846(_0x542473)||_0x542473);return _0x542473;},be=(_0x24d06f,_0x4f3e0f)=>(_0x3349e7,_0x33ea88)=>_0x4f3e0f(_0x3349e7,_0x33ea88,_0x24d06f);let rt=class extends _0x314d20{constructor(_0x1be0b5,_0x3b82b4,_0x2d1eb8){const _0x28a349=_0x6f952d;super(),this[_0x28a349(0x182)]=_0x1be0b5,this[_0x28a349(0x235)]=_0x3b82b4,this['_configService']=_0x2d1eb8;}async[_0x6f952d(0xdd)](_0x2d6ed7,_0x382d8a,_0x52eafb,..._0x1272a0){const _0x28b65a=_0x6f952d;var _0x33889e,_0x5bfb3b,_0x57ac03,_0x93310c;const _0x3e95e5=this[_0x28b65a(0x182)][_0x28b65a(0x1c9)]();if(!_0x3e95e5)throw new Error(_0x28b65a(0xfa));const _0x43d15b=((_0x33889e=this[_0x28b65a(0x1e8)][_0x28b65a(0x177)](_0x3a0e70))!=null?_0x33889e:_0x3b2874)+'/'+_0x2d6ed7+_0x28b65a(0x92)+_0x382d8a,_0x234417=new URL(window[_0x28b65a(0x1bd)]['href']),_0x4b1a42={'scriptId':_0x2d6ed7,'runId':(_0x5bfb3b=_0x234417['searchParams']['get'](_0x28b65a(0x107)))!=null?_0x5bfb3b:'','function':_0x382d8a,'unitId':_0x3e95e5[_0x28b65a(0x212)](),'argsOfFunction':JSON[_0x28b65a(0x24b)](_0x1272a0),'invokeId':(_0x57ac03=_0x52eafb['invokeId'])!=null?_0x57ac03:'','executionId':(_0x93310c=_0x52eafb[_0x28b65a(0x24c)])!=null?_0x93310c:''};try{const _0x4269c7=await this[_0x28b65a(0x235)]['post'](_0x43d15b,{'body':_0x4b1a42});return _0x4269c7['body'][_0x28b65a(0x1e3)]&&_0x4269c7[_0x28b65a(0x9f)]['error']['code']!==Mt['OK']?_0x28b65a(0x1bf):_0x4269c7[_0x28b65a(0x9f)][_0x28b65a(0xd0)];}catch{return'Failed';}}};rt=Cn([be(0x0,_0xf38a52),be(0x1,_0x2ad71f(_0x121683)),be(0x2,_0x27db46)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Wi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
|
1
|
+
const _0x2ae815=_0x33d1;(function(_0x19a0b7,_0x2f67f1){const _0x1c34fe=_0x33d1,_0xe8c99=_0x19a0b7();while(!![]){try{const _0x1394b9=parseInt(_0x1c34fe(0x33d))/0x1*(parseInt(_0x1c34fe(0x3a4))/0x2)+-parseInt(_0x1c34fe(0x219))/0x3+-parseInt(_0x1c34fe(0x39b))/0x4+-parseInt(_0x1c34fe(0x394))/0x5+-parseInt(_0x1c34fe(0x2cf))/0x6+parseInt(_0x1c34fe(0x1f5))/0x7*(parseInt(_0x1c34fe(0x28b))/0x8)+-parseInt(_0x1c34fe(0x3cd))/0x9;if(_0x1394b9===_0x2f67f1)break;else _0xe8c99['push'](_0xe8c99['shift']());}catch(_0x1411b2){_0xe8c99['push'](_0xe8c99['shift']());}}}(_0x11f7,0x21cba));var $t=Object[_0x2ae815(0x325)],xt=(_0x5e8265,_0x9e1797,_0x3cebbd)=>_0x9e1797 in _0x5e8265?$t(_0x5e8265,_0x9e1797,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3cebbd}):_0x5e8265[_0x9e1797]=_0x3cebbd,_=(_0x28d06e,_0x376335,_0x37af9b)=>xt(_0x28d06e,typeof _0x376335!=_0x2ae815(0x2cb)?_0x376335+'':_0x376335,_0x37af9b);import{MemberService as _0x27ee41,SessionStatus as _0x10ffd3,CollaborationSessionService as _0x29a13d,CollaborationStatus as _0x26c424,CollaborationController as _0x3732e4,ILocalCacheService as _0x1fc3bf,CollaborationUIEventService as _0x4c7657,CollaborationUIEventId as _0x453ebd,DataLoaderService as _0x2a8c71,DocCollaborationEntity as _0x55424a,getLocalCacheKey as _0x4c8e21,LOCAL_CACHE_INTERVAL as _0x318a8c,LOCAL_CACHE_INTERVAL_KEY as _0x4dceaa,UniverCollaborationClientPlugin as _0x5c7199,CollaborationSocketService as _0x2cdb51,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x35f8d6,DEFAULT_WS_SESSION_TICKET_URL as _0x1c62f1,UnitStatus as _0x2d4cd9,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x6c9c18,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0xf52bc0}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x52f50e,Disposable as _0x123ff0,DOC_RANGE_TYPE as _0xd1ab71,Inject as _0x49192a,Injector as _0x2b1a2d,IUniverInstanceService as _0x4bbc96,ICommandService as _0xcda1fd,debounce as _0x54a6f4,Rectangle as _0xd7734,DisposableCollection as _0x1ed755,toDisposable as _0x359686,UniverInstanceType as _0x228d13,Tools as _0x578e6a,COLORS as _0xcd4671,ColorKit as _0x6185cf,ThemeService as _0x41a633,fromEventSubject as _0x4fe563,LocaleService as _0x196392,createIdentifier as _0x32ecea,ILogService as _0xca71c3,Optional as _0x34312a,Workbook as _0x137457,CommandType as _0x30bfa3,IConfigService as _0x1a7e11,ILocalStorageService as _0xd62bcd,DependentOn as _0x5405de,Plugin as _0x161816,merge as _0x26c666,registerDependencies as _0x43bded,mergeOverrideWithDependencies as _0x394c93,touchDependencies as _0x10d8b7,generateRandomId as _0x20ce64}from'@univerjs/core';import{Shape as _0x385877,Rect as _0x12a59f,getColor as _0x4ad86d,RegularPolygon as _0xc3fcdc,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x1b6a1c,Vector2 as _0x34581c,SHEET_VIEWPORT_KEY as _0x2231e2,IRenderManagerService as _0x3cfe77}from'@univerjs/engine-render';import{ISocketService as _0x519693,WebSocketService as _0x35cf48,HTTPService as _0x494073}from'@univerjs/network';import{IDocClipboardService as _0x561eb8,NodePositionConvertToCursor as _0x3e46f8,NodePositionConvertToRectRange as _0x3c9709,TEXT_RANGE_LAYER_INDEX as _0x4c920a,SetDocZoomRatioOperation as _0x234fa4,DocIMEInputManagerService as _0x5d503c,DocStateChangeManagerService as _0x36c05c}from'@univerjs/docs-ui';import{IImageIoService as _0x8af5ab}from'@univerjs/drawing';import{BehaviorSubject as _0x5b919a,debounceTime as _0x5b4d93,takeUntil as _0x414215,Subject as _0x9b61cd,filter as _0x55afe1,switchMap as _0x1ad60f,merge as _0x473737,combineLatest as _0x306a07,of as _0x1bff98,fromEvent as _0x44f2a7,shareReplay as _0x3f8bf0,mapTo as _0x385ef4,distinctUntilChanged as _0x4ba13c}from'rxjs';import{ITransformService as _0x77f8a4,CollaborationEvent as _0x4f4634,isTransformMutationFailure as _0x3b7057,isTransformMutationsWithChangesetSuccess as _0x222375,RevisionService as _0x101993,ISnapshotServerService as _0x37352d}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x4d5ad2,RichTextEditingMutation as _0xe77899,DocSelectionManagerService as _0x184719,DocSkeletonManagerService as _0xd28c7d}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x42a00a,serializeRangeWithSheet as _0x560c6d}from'@univerjs/engine-formula';import{RefRangeService as _0x26fb51,SetSelectionsOperation as _0xc9cc81,SheetsSelectionsService as _0x4bdb37,EffectRefRangId as _0x2060f9,handleIRemoveRow as _0x1bf91a,handleIRemoveCol as _0x422c42,handleMoveRange as _0x59606e,handleInsertRow as _0x3dfdf7,handleInsertRangeMoveRight as _0x3ab160,handleInsertRangeMoveDown as _0x27aefd,handleInsertCol as _0x2aee66,handleDeleteRangeMoveUp as _0x324afd,handleDeleteRangeMoveLeft as _0xe3e87c,runRefRangeMutations as _0x499bae,SetWorksheetActivateCommand as _0x31f835}from'@univerjs/sheets';import{map as _0x226666,filter as _0x1d831c,throttleTime as _0x33b57f,takeUntil as _0xf9e086,switchMap as _0x5db1ee}from'rxjs/operators';import{SheetSkeletonManagerService as _0x340cc9,getCoordByCell as _0x26e949,getSheetObject as _0x4550bc}from'@univerjs/sheets-ui';import{jsx as _0x25868f,jsxs as _0x1c7228}from'react/jsx-runtime';import{useObservable as _0x10ba71,useDependency as _0x1e868d,IUIPartsService as _0x231792,BuiltInUIPart as _0x532f4c,connectInjector as _0x19e6c5,IBeforeCloseService as _0x3939b2,IMessageService as _0x1742f7,INotificationService as _0x559171}from'@univerjs/ui';import{Tooltip as _0x51b9f3,clsx as _0xa266a1,MessageType as _0x1d100b}from'@univerjs/design';import{forwardRef as _0x4c4465,useRef as _0x2dac3a,createElement as _0x40f7ca,useCallback as _0x2563eb}from'react';import{IRemoteInstanceService as _0x28970f}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0x2c6a7e,_0x56ecb0,_0xe1371e,_0x132e36)=>{const _0x5a8dce=_0x2ae815;for(var _0x123320=_0x132e36>0x1?void 0x0:_0x132e36?ci(_0x56ecb0,_0xe1371e):_0x56ecb0,_0x2d4174=_0x2c6a7e[_0x5a8dce(0x254)]-0x1,_0x260d90;_0x2d4174>=0x0;_0x2d4174--)(_0x260d90=_0x2c6a7e[_0x2d4174])&&(_0x123320=_0x260d90(_0x123320)||_0x123320);return _0x123320;},Je=(_0x59b49d,_0x49ec9e)=>(_0x543487,_0x14ac0a)=>_0x49ec9e(_0x543487,_0x14ac0a,_0x59b49d);let Ne=class extends _0x52f50e{constructor(_0xbb23ed,_0x2a800e){const _0x5eedda=_0x2ae815;super(),this[_0x5eedda(0x22c)]=_0xbb23ed,this[_0x5eedda(0x39a)]=_0x2a800e,this[_0x5eedda(0x214)]();}[_0x2ae815(0x214)](){const _0x58b8e2=_0x2ae815,_0x3eae1c=this;this['disposeWithMe'](this['_docClipboardService'][_0x58b8e2(0x2db)]({'onBeforePasteImage':async _0x182e99=>{const _0x157bce=_0x58b8e2,_0x451fa7=await _0x3eae1c[_0x157bce(0x39a)][_0x157bce(0x2fc)](_0x182e99);return _0x451fa7?{'source':_0x451fa7[_0x157bce(0x393)],'imageSourceType':_0x451fa7[_0x157bce(0x201)]}:null;}}));}};Ne=li([Je(0x0,_0x561eb8),Je(0x1,_0x8af5ab)],Ne);const Ze=['purple.300',_0x2ae815(0x3ca),'green.600','red.300',_0x2ae815(0x257),_0x2ae815(0x39d)];class ke extends _0x123ff0{constructor(){const _0x466a1b=_0x2ae815;super(...arguments),_(this,'_assignedColors',new Map()),_(this,_0x466a1b(0x2de),0x0);}[_0x2ae815(0x243)](_0x5be2f0){const _0x1f348a=_0x2ae815;if(this[_0x1f348a(0x281)]['has'](_0x5be2f0))return this[_0x1f348a(0x281)]['get'](_0x5be2f0);const _0x40f4d0=Ze[this[_0x1f348a(0x2de)]];return this[_0x1f348a(0x2de)]=(this[_0x1f348a(0x2de)]+0x1)%Ze['length'],this[_0x1f348a(0x281)]['set'](_0x5be2f0,_0x40f4d0),_0x40f4d0;}}function Tt(_0x410efa){let _0x138729='';for(const _0x142385 of _0x410efa){const {startOffset:_0x51e65e,endOffset:_0x44291d,isActive:_0x1b7fa3,rangeType:_0x28b3c2,segmentId:_0xc989a1,segmentPage:_0x3ea9fa}=_0x142385;_0x138729['length']&&(_0x138729+=','),_0x138729+=_0x51e65e+':'+_0x44291d+':'+(_0x1b7fa3?'1':'0')+':'+_0x28b3c2+':'+_0xc989a1+':'+_0x3ea9fa;}return _0x138729;}function _i(_0x53d43b){const _0x917e=_0x2ae815,_0x4eda92=_0x53d43b['split'](','),_0x23c7eb=[];for(const _0x511bcf of _0x4eda92){const [_0xac7da6,_0x17fc1f,_0x572174,_0x164500,_0x3ca636,_0x5b85d5]=_0x511bcf[_0x917e(0x3a1)](':');_0x23c7eb[_0x917e(0x3aa)]({'startOffset':Number(_0xac7da6),'endOffset':Number(_0x17fc1f),'collapsed':_0xac7da6===_0x17fc1f,'isActive':_0x572174==='1','rangeType':_0x164500===_0xd1ab71['TEXT']?_0xd1ab71[_0x917e(0x35a)]:_0xd1ab71[_0x917e(0x32d)],'segmentId':typeof _0x3ca636==_0x917e(0x3da)?String(_0x3ca636):'','segmentPage':Number(_0x5b85d5!=null?_0x5b85d5:-0x1)});}return _0x23c7eb[_0x917e(0x311)](_0x528c91=>_0x528c91['isActive'])||(_0x23c7eb[0x0][_0x917e(0x21a)]=!0x0),_0x23c7eb;}class He extends _0x52f50e{constructor(){const _0x262da8=_0x2ae815;super(...arguments),_(this,_0x262da8(0x225),new _0x5b919a(null)),_(this,_0x262da8(0x1e3),this[_0x262da8(0x225)][_0x262da8(0x2dc)]());}[_0x2ae815(0x1f7)](_0x2205a8){const _0x25dae1=_0x2ae815,{unitID:_0xa00074,memberID:_0x286c15,textRanges:_0x8fffe3}=_0x2205a8,_0x2a0d7d=Tt(_0x8fffe3);if(_0x2a0d7d==='')return;const _0x5e6394={'unitID':_0xa00074,'memberID':_0x286c15,'selection':_0x2a0d7d};this[_0x25dae1(0x225)][_0x25dae1(0x215)](_0x5e6394);}}var hi=Object[_0x2ae815(0x223)],ui=(_0x292bce,_0x1901d9,_0x5afa25,_0x1a2bee)=>{const _0x35a8dc=_0x2ae815;for(var _0x39350b=_0x1a2bee>0x1?void 0x0:_0x1a2bee?hi(_0x1901d9,_0x5afa25):_0x1901d9,_0x12b982=_0x292bce[_0x35a8dc(0x254)]-0x1,_0x1f46ad;_0x12b982>=0x0;_0x12b982--)(_0x1f46ad=_0x292bce[_0x12b982])&&(_0x39350b=_0x1f46ad(_0x39350b)||_0x39350b);return _0x39350b;},P=(_0x1e05fa,_0x410e14)=>(_0x40871e,_0x2cd29a)=>_0x410e14(_0x40871e,_0x2cd29a,_0x1e05fa);const di=0x12c,fi=0x64;let Ue=class extends _0x52f50e{constructor(_0x23ea11,_0x13c1af,_0x2b604e,_0x2fcbdd,_0x35b892,_0x16f2a3,_0x4908f0,_0x30fe75,_0x233626){const _0x2f1793=_0x2ae815;super(),_(this,_0x2f1793(0x1f2),!0x1),_(this,'_init',!0x1),_(this,_0x2f1793(0x256),new _0x5b919a(new Map())),_(this,_0x2f1793(0x25b),this[_0x2f1793(0x256)][_0x2f1793(0x2dc)]()),_(this,_0x2f1793(0x35f),new _0x5b919a([])),_(this,_0x2f1793(0x2bc),this[_0x2f1793(0x35f)][_0x2f1793(0x1e6)](_0x5b4d93(di))),_(this,_0x2f1793(0x23e),_0x54a6f4(_0x544ad3=>{const _0x48a2cb=_0x2f1793,_0x4afb3d={'eventID':_0x4f4634['UPDATE_CURSOR'],'data':{'unitID':this[_0x48a2cb(0x3ab)],'memberID':this[_0x48a2cb(0x3e9)]['getMemberID'](),'selection':Tt(_0x544ad3)}};this[_0x48a2cb(0x3e9)][_0x48a2cb(0x29a)](_0x4afb3d,this[_0x48a2cb(0x3ab)]);},fi)),(this['unitID']=_0x23ea11,this[_0x2f1793(0x3e9)]=_0x13c1af,this[_0x2f1793(0x2a1)]=_0x2b604e,this[_0x2f1793(0x238)]=_0x2fcbdd,this[_0x2f1793(0x1e7)]=_0x35b892,this[_0x2f1793(0x38b)]=_0x16f2a3,this[_0x2f1793(0x20d)]=_0x4908f0,this[_0x2f1793(0x3b8)]=_0x30fe75,this['_commandService']=_0x233626);}get[_0x2ae815(0x361)](){const _0xa0a004=_0x2ae815;return this[_0xa0a004(0x256)][_0xa0a004(0x354)]();}get[_0x2ae815(0x1e8)](){const _0x2dbbc4=_0x2ae815;return this[_0x2dbbc4(0x35f)]['getValue']();}[_0x2ae815(0x2bb)](){const _0x24c69a=_0x2ae815;super[_0x24c69a(0x2bb)](),this[_0x24c69a(0x256)]['next'](new Map()),this[_0x24c69a(0x256)][_0x24c69a(0x3dc)](),this['_roomMembers$'][_0x24c69a(0x215)]([]),this[_0x24c69a(0x35f)][_0x24c69a(0x3dc)]();}[_0x2ae815(0x2d2)](){const _0x229cf2=_0x2ae815;this[_0x229cf2(0x214)]||(this[_0x229cf2(0x214)]=!0x0,this['_session'][_0x229cf2(0x34e)]['pipe'](_0x414215(this['dispose$']))[_0x229cf2(0x38d)](_0x59474e=>{const _0x791cbc=_0x229cf2;_0x59474e===_0x10ffd3[_0x791cbc(0x38c)]?this[_0x791cbc(0x3c5)]():this[_0x791cbc(0x30e)]();}),this[_0x229cf2(0x3e9)][_0x229cf2(0x3d6)][_0x229cf2(0x1e6)](_0x414215(this[_0x229cf2(0x328)]))[_0x229cf2(0x38d)](_0x2735ec=>{const _0x1eedb0=_0x229cf2,_0x455afc=_0x2735ec['eventID'];_0x455afc===_0x4f4634[_0x1eedb0(0x213)]&&this[_0x1eedb0(0x29f)](_0x2735ec),_0x455afc===_0x4f4634[_0x1eedb0(0x339)]&&this[_0x1eedb0(0x3d7)](_0x2735ec);}),this[_0x229cf2(0x211)](this[_0x229cf2(0x3b2)][_0x229cf2(0x205)](_0x10eebc=>{const _0x49ccc5=_0x229cf2,_0x7901b5=_0x10eebc[_0x49ccc5(0x25e)];_0x7901b5!=null&&this[_0x49ccc5(0x1f2)]&&_0x10eebc['id']===_0x4d5ad2['id']&&_0x7901b5[_0x49ccc5(0x3d2)]===this['unitID']&&_0x7901b5['isEditing']===!0x1&&_0x7901b5[_0x49ccc5(0x334)][_0x49ccc5(0x254)]>0x0&&this[_0x49ccc5(0x23e)](_0x7901b5['ranges']);})),this[_0x229cf2(0x38b)]['collabCursorState$']['pipe'](_0x414215(this[_0x229cf2(0x328)]))[_0x229cf2(0x38d)](_0x545e25=>{const _0x1b3f34=_0x229cf2;if((_0x545e25==null?void 0x0:_0x545e25['unitID'])!==this[_0x1b3f34(0x3ab)])return;const _0x3b6b12={'eventID':_0x4f4634[_0x1b3f34(0x213)],'data':_0x545e25};this['_onCursorUpdate'](_0x3b6b12);}),this[_0x229cf2(0x211)](this[_0x229cf2(0x3b2)]['onCommandExecuted'](_0x4123e7=>{const _0x1925db=_0x229cf2;if(_0x4123e7[_0x1925db(0x25e)]==null)return;const _0x5da6d0=_0x4123e7['params'];if(_0x4123e7['id']!==_0xe77899['id']||_0x5da6d0[_0x1925db(0x3d2)]!==this[_0x1925db(0x3ab)])return;const _0x2b1432={'id':_0x1925db(0x380),'params':_0x5da6d0},_0x24cb9a=this[_0x1925db(0x361)];for(const [_0x2688ee,_0x3f0551]of _0x24cb9a){const _0x4f08a9={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x1925db(0x3ab)],'actions':null,'textRanges':_0x3f0551[_0x1925db(0x334)]}},_0x29b752=this[_0x1925db(0x20d)]['transformMutation'](_0x2b1432,_0x4f08a9,!0x1);if(_0x3b7057(_0x29b752))throw _0x29b752[_0x1925db(0x321)];_0x24cb9a[_0x1925db(0x2c1)](_0x2688ee,{..._0x3f0551,'ranges':_0x29b752[_0x1925db(0x39f)]['params']['textRanges']});}queueMicrotask(()=>{const _0x4b52a7=_0x1925db;this[_0x4b52a7(0x256)][_0x4b52a7(0x215)](_0x24cb9a);});})));}[_0x2ae815(0x29f)](_0x497edf){const _0x500405=_0x2ae815;var _0x4c7107,_0x3131d4;const {memberID:_0x126a2e,selection:_0xceac70}=_0x497edf['data'],_0x4eb7f5=_i(_0xceac70),_0x3a5ee3=(_0x3131d4=(_0x4c7107=this[_0x500405(0x1e7)][_0x500405(0x1ee)](this[_0x500405(0x3ab)],_0x126a2e))==null?void 0x0:_0x4c7107[_0x500405(0x2c6)])!=null?_0x3131d4:'Unknown\x20user',_0x4359fa={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x126a2e),'name':_0x3a5ee3,'ranges':_0x4eb7f5},_0x363611=this[_0x500405(0x361)];_0x363611[_0x500405(0x2c1)](_0x126a2e,_0x4359fa),this[_0x500405(0x256)]['next'](_0x363611);}['_onCursorDelete'](_0x3da123){const _0x51031d=_0x2ae815,{memberID:_0x4c1d5c}=_0x3da123[_0x51031d(0x30c)],_0x119829=this[_0x51031d(0x361)];_0x119829[_0x51031d(0x373)](_0x4c1d5c),this['_cursorInfo$']['next'](_0x119829);}['_toggleOnline'](){const _0x1af2f3=_0x2ae815;var _0x58483f;if(this[_0x1af2f3(0x1f2)]=!0x0,((_0x58483f=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x58483f['getUnitId']())!==this[_0x1af2f3(0x3ab)])return;const _0x129f1c=this['_injector'][_0x1af2f3(0x31b)](_0x184719)[_0x1af2f3(0x20a)]();Array[_0x1af2f3(0x22d)](_0x129f1c)&&_0x129f1c[_0x1af2f3(0x254)]>0x0&&this[_0x1af2f3(0x23e)](_0x129f1c);}[_0x2ae815(0x30e)](){this['_online']=!0x1;}};Ue=ui([P(0x2,_0x49192a(_0x2b1a2d)),P(0x3,_0x49192a(ke)),P(0x4,_0x49192a(_0x27ee41)),P(0x5,_0x49192a(He)),P(0x6,_0x77f8a4),P(0x7,_0x4bbc96),P(0x8,_0xcda1fd)],Ue);var Si=Object[_0x2ae815(0x223)],mi=(_0x5d7be1,_0x500f8b,_0x47a54a,_0x1d32ca)=>{const _0x115c34=_0x2ae815;for(var _0x19b845=_0x1d32ca>0x1?void 0x0:_0x1d32ca?Si(_0x500f8b,_0x47a54a):_0x500f8b,_0x124753=_0x5d7be1[_0x115c34(0x254)]-0x1,_0x8d2e65;_0x124753>=0x0;_0x124753--)(_0x8d2e65=_0x5d7be1[_0x124753])&&(_0x19b845=_0x8d2e65(_0x19b845)||_0x19b845);return _0x19b845;},x=(_0x4a2d5e,_0x1c466f)=>(_0x5d3de3,_0x1fa1f6)=>_0x1c466f(_0x5d3de3,_0x1fa1f6,_0x4a2d5e);const Ii=0x12c,gi=0x64,vi=()=>{let _0x4bcaf5=[],_0x5be417=!0x1;return _0x188f47=>{const _0x1f2120=_0x33d1;_0x4bcaf5[_0x1f2120(0x3aa)](_0x188f47),_0x5be417||(_0x5be417=!0x0,setTimeout(()=>{const _0x27e1ba=_0x1f2120;_0x4bcaf5[_0x27e1ba(0x2a8)](_0xae5aa4=>_0xae5aa4()),_0x4bcaf5=[],_0x5be417=!0x1;}));};};let Me=class extends _0x52f50e{constructor(_0x44767f,_0x47062a,_0x143eab,_0x53131d,_0x2491c7,_0x201f5c,_0x5ecc05,_0x594f38){const _0x340561=_0x2ae815;super(),_(this,_0x340561(0x1f2),!0x1),_(this,'_init',!0x1),_(this,'_cursorInfo$',new _0x5b919a(new Map())),_(this,_0x340561(0x25b),this[_0x340561(0x256)][_0x340561(0x2dc)]()),_(this,_0x340561(0x35f),new _0x5b919a([])),_(this,_0x340561(0x2bc),this['_roomMembers$']['pipe'](_0x5b4d93(Ii))),_(this,_0x340561(0x23e),_0x54a6f4((_0x32c3d2,_0x35c47f)=>{const _0x3a1d98=_0x340561,_0x523df5={'eventID':_0x4f4634[_0x3a1d98(0x213)],'data':{'unitID':this[_0x3a1d98(0x3ab)],'memberID':this[_0x3a1d98(0x3e9)][_0x3a1d98(0x239)](),'selection':_0x560c6d(_0x32c3d2,_0x35c47f[_0x3a1d98(0x39c)])}};this[_0x3a1d98(0x3e9)]['send'](_0x523df5,this[_0x3a1d98(0x3ab)]);},gi)),(this[_0x340561(0x3ab)]=_0x44767f,this[_0x340561(0x3e9)]=_0x47062a,this[_0x340561(0x2a1)]=_0x143eab,this[_0x340561(0x238)]=_0x53131d,this['_memberService']=_0x2491c7,this[_0x340561(0x3b8)]=_0x201f5c,this[_0x340561(0x3b2)]=_0x5ecc05,this[_0x340561(0x29c)]=_0x594f38);}get['cursorInfo'](){return this['_cursorInfo$']['getValue']();}get[_0x2ae815(0x1e8)](){const _0x54a859=_0x2ae815;return this['_roomMembers$'][_0x54a859(0x354)]();}[_0x2ae815(0x2bb)](){const _0x1118d6=_0x2ae815;super['dispose'](),this['_cursorInfo$'][_0x1118d6(0x215)](new Map()),this[_0x1118d6(0x256)][_0x1118d6(0x3dc)](),this['_roomMembers$'][_0x1118d6(0x215)]([]),this[_0x1118d6(0x35f)]['complete']();}[_0x2ae815(0x2d2)](){const _0x586e10=_0x2ae815;this['_init']||(this['_init']=!0x0,this[_0x586e10(0x3e9)][_0x586e10(0x34e)][_0x586e10(0x1e6)](_0x414215(this['dispose$']))[_0x586e10(0x38d)](_0x48b770=>{const _0x24f771=_0x586e10;_0x48b770===_0x10ffd3['ONLINE']?this['_toggleOnline']():this[_0x24f771(0x30e)]();}),this[_0x586e10(0x3e9)][_0x586e10(0x3d6)]['pipe'](_0x414215(this[_0x586e10(0x328)]))['subscribe'](_0x34c9a2=>{const _0x5f3c53=_0x586e10,_0x3f97a4=_0x34c9a2['eventID'];_0x3f97a4===_0x4f4634[_0x5f3c53(0x213)]&&this[_0x5f3c53(0x29f)](_0x34c9a2),_0x3f97a4===_0x4f4634[_0x5f3c53(0x339)]&&this[_0x5f3c53(0x3d7)](_0x34c9a2);}),this['_onRefRangeChange'](),this[_0x586e10(0x211)](this[_0x586e10(0x3b2)][_0x586e10(0x205)](_0x47e679=>{const _0x4985a4=_0x586e10;if(this[_0x4985a4(0x1f2)]&&_0x47e679['id']===_0xc9cc81['id']&&_0x47e679[_0x4985a4(0x25e)][_0x4985a4(0x3d2)]===this[_0x4985a4(0x3ab)]){const _0x5bc53d=_0x47e679[_0x4985a4(0x25e)];this['_updateLocalCursor'](_0x5bc53d[_0x4985a4(0x216)],_0x5bc53d[_0x4985a4(0x222)][0x0]);}})));}['_onCursorUpdate'](_0x2dfe0e){const _0x513269=_0x2ae815;var _0x28450b,_0x139d0a;const {memberID:_0x5efbb1,selection:_0x448fd0}=_0x2dfe0e[_0x513269(0x30c)],{sheetName:_0x202210,range:_0x2e275b}=_0x42a00a(_0x448fd0),_0x281f52={'name':(_0x139d0a=(_0x28450b=this[_0x513269(0x1e7)][_0x513269(0x1ee)](this[_0x513269(0x3ab)],_0x5efbb1))==null?void 0x0:_0x28450b[_0x513269(0x2c6)])!=null?_0x139d0a:_0x513269(0x355),'range':this['_getMergeRange'](_0x202210,_0x2e275b),'sheetID':_0x202210,'color':this[_0x513269(0x238)][_0x513269(0x243)](_0x5efbb1),'selection':_0x448fd0},_0x307b29=this[_0x513269(0x361)];_0x307b29[_0x513269(0x2c1)](_0x5efbb1,_0x281f52),this[_0x513269(0x256)][_0x513269(0x215)](_0x307b29);}['_onCursorDelete'](_0x438d05){const _0x20494b=_0x2ae815,{memberID:_0x373b0d}=_0x438d05[_0x20494b(0x30c)],_0x1c5e52=this[_0x20494b(0x361)];_0x1c5e52[_0x20494b(0x373)](_0x373b0d),this[_0x20494b(0x256)][_0x20494b(0x215)](_0x1c5e52);}[_0x2ae815(0x3a8)](_0x1b121e,_0x4402e9){const _0x4939c9=_0x2ae815;var _0x1d982e,_0x358fc2;const _0x45f9e1=(_0x358fc2=(_0x1d982e=this[_0x4939c9(0x3b8)][_0x4939c9(0x36b)](this[_0x4939c9(0x3ab)]))==null?void 0x0:_0x1d982e['getSheetBySheetId'](_0x1b121e))==null?void 0x0:_0x358fc2[_0x4939c9(0x26e)]();return(_0x45f9e1==null?void 0x0:_0x45f9e1[_0x4939c9(0x1f9)](_0x3bb53f=>_0xd7734[_0x4939c9(0x277)](_0x3bb53f,_0x4402e9)))||_0x4402e9;}[_0x2ae815(0x206)](){const _0x387db0=_0x2ae815,_0x3548fe=new _0x1ed755(),_0x390fb0=vi(),_0x58f73a=()=>{const _0x1dde7a=_0x33d1;_0x3548fe['dispose']();const _0x55dbe8=(_0x424ce3,_0x280a99,_0xfc07b8,_0xa043fc)=>{const _0x948e8f=_0x33d1;let _0x5ec68d=[];switch(_0x424ce3['id']){case _0x2060f9[_0x948e8f(0x2ed)]:{_0x5ec68d=_0xe3e87c(_0x424ce3,_0xa043fc);break;}case _0x2060f9[_0x948e8f(0x20c)]:{_0x5ec68d=_0x324afd(_0x424ce3,_0xa043fc);break;}case _0x2060f9[_0x948e8f(0x232)]:{_0x5ec68d=_0x2aee66(_0x424ce3,_0xa043fc);break;}case _0x2060f9['InsertRangeMoveDownCommandId']:{_0x5ec68d=_0x27aefd(_0x424ce3,_0xa043fc);break;}case _0x2060f9['InsertRangeMoveRightCommandId']:{_0x5ec68d=_0x3ab160(_0x424ce3,_0xa043fc);break;}case _0x2060f9[_0x948e8f(0x252)]:{_0x5ec68d=_0x3dfdf7(_0x424ce3,_0xa043fc);break;}case _0x2060f9[_0x948e8f(0x331)]:{_0x5ec68d=_0x59606e(_0x424ce3,_0xa043fc);break;}case _0x2060f9['RemoveColCommandId']:{_0x5ec68d=_0x422c42(_0x424ce3,_0xa043fc);break;}case _0x2060f9[_0x948e8f(0x1ed)]:{_0x5ec68d=_0x1bf91a(_0x424ce3,_0xa043fc);break;}}const _0x5483a7=_0x499bae(_0x5ec68d,_0xa043fc),_0x56c3e1=this[_0x948e8f(0x361)][_0x948e8f(0x31b)](_0x280a99);if(_0x56c3e1&&_0x5483a7){const _0x4ddece={..._0x56c3e1,'range':_0x5483a7};this[_0x948e8f(0x361)][_0x948e8f(0x2c1)](_0x280a99,_0x4ddece),_0x390fb0(()=>{const _0x5e911d=_0x948e8f,_0x394c08=this['_refRangeService'][_0x5e911d(0x301)](_0x5483a7,_0x3dd8bd=>(_0x394c08['dispose'](),_0x55dbe8(_0x3dd8bd,_0x280a99,_0xfc07b8,_0x5483a7)));_0x3548fe[_0x5e911d(0x2f4)](_0x394c08);});}return{'redos':[],'undos':[]};};this[_0x1dde7a(0x361)][_0x1dde7a(0x2a8)]((_0x3e032c,_0x4f1f2e)=>{const _0x594010=_0x1dde7a,{range:_0x1a0c8d,sheetID:_0x275bc5}=_0x3e032c,_0x25ddaf=this['_refRangeService']['registerRefRange'](_0x1a0c8d,_0x3f87e3=>(_0x25ddaf[_0x594010(0x2bb)](),_0x55dbe8(_0x3f87e3,_0x4f1f2e,_0x275bc5,_0x1a0c8d)));_0x3548fe['add'](_0x25ddaf);});};this[_0x387db0(0x211)](_0x359686(this[_0x387db0(0x256)]['subscribe'](()=>{_0x58f73a();})));}[_0x2ae815(0x3c5)](){const _0x75fa4c=_0x2ae815;var _0x22394c,_0x44b9d3;if(this[_0x75fa4c(0x1f2)]=!0x0,((_0x22394c=this['_univerInstanceService'][_0x75fa4c(0x251)]())==null?void 0x0:_0x22394c[_0x75fa4c(0x2c9)]())!==this[_0x75fa4c(0x3ab)])return;const _0x1932bf=(_0x44b9d3=this[_0x75fa4c(0x2a1)][_0x75fa4c(0x31b)](_0x4bdb37)[_0x75fa4c(0x362)]())==null?void 0x0:_0x44b9d3[0x0],_0x5cf200=this[_0x75fa4c(0x3b8)][_0x75fa4c(0x24a)](_0x228d13['UNIVER_SHEET'])[_0x75fa4c(0x2ac)]();_0x1932bf&&_0x5cf200&&this[_0x75fa4c(0x23e)](_0x5cf200['getSheetId'](),_0x1932bf);}['_toggleOffline'](){this['_online']=!0x1;}};function _0x33d1(_0x23cb39,_0xcfa4d5){const _0x11f72b=_0x11f7();return _0x33d1=function(_0x33d1ba,_0x499064){_0x33d1ba=_0x33d1ba-0x1e3;let _0xc144a7=_0x11f72b[_0x33d1ba];return _0xc144a7;},_0x33d1(_0x23cb39,_0xcfa4d5);}Me=mi([x(0x2,_0x49192a(_0x2b1a2d)),x(0x3,_0x49192a(ke)),x(0x4,_0x49192a(_0x27ee41)),x(0x5,_0x4bbc96),x(0x6,_0xcda1fd),x(0x7,_0x49192a(_0x26fb51))],Me);var pi=Object[_0x2ae815(0x223)],Ci=(_0x5dd71f,_0x4e31f5,_0x213395,_0x2ea0e8)=>{const _0x5e45ae=_0x2ae815;for(var _0x2621ac=_0x2ea0e8>0x1?void 0x0:_0x2ea0e8?pi(_0x4e31f5,_0x213395):_0x4e31f5,_0x1d52ca=_0x5dd71f[_0x5e45ae(0x254)]-0x1,_0x28b5c4;_0x1d52ca>=0x0;_0x1d52ca--)(_0x28b5c4=_0x5dd71f[_0x1d52ca])&&(_0x2621ac=_0x28b5c4(_0x2621ac)||_0x2621ac);return _0x2621ac;},Se=(_0x4feb00,_0x469014)=>(_0x3b0613,_0x2800f5)=>_0x469014(_0x3b0613,_0x2800f5,_0x4feb00);let H=class extends _0x52f50e{constructor(_0xc927e3,_0x400986,_0x5bd0a2){const _0x95fb0d=_0x2ae815;super(),_(this,_0x95fb0d(0x288),new Map()),_(this,_0x95fb0d(0x356),new _0x9b61cd()),(this[_0x95fb0d(0x3b8)]=_0xc927e3,this[_0x95fb0d(0x2a1)]=_0x400986,this['_collabSessionService']=_0x5bd0a2,this[_0x95fb0d(0x214)]());}['dispose'](){const _0x4adaa3=_0x2ae815;super[_0x4adaa3(0x2bb)](),this[_0x4adaa3(0x356)][_0x4adaa3(0x3dc)](),this['_entities'][_0x4adaa3(0x2a8)](_0x3bb99a=>_0x3bb99a[_0x4adaa3(0x2bb)]());}['getCollabCursors$'](_0x1744cb){const _0x20f027=_0x2ae815;return this[_0x20f027(0x288)]['has'](_0x1744cb)?this['_entities'][_0x20f027(0x31b)](_0x1744cb)['cursorInfo$']:this[_0x20f027(0x356)][_0x20f027(0x1e6)](_0x55afe1(_0x39641e=>_0x39641e[_0x20f027(0x3ab)]===_0x1744cb),_0x1ad60f(_0x15f9fd=>_0x15f9fd[_0x20f027(0x25b)]));}[_0x2ae815(0x214)](){const _0xb15512=_0x2ae815;this['_univerInstanceService'][_0xb15512(0x3e4)](_0x228d13['UNIVER_SHEET'])[_0xb15512(0x1e6)](_0x414215(this[_0xb15512(0x328)]))[_0xb15512(0x38d)](async _0x472156=>{const _0x2026b2=_0xb15512,_0x113345=_0x472156[_0x2026b2(0x2c9)](),_0x3fbc15=await this[_0x2026b2(0x326)](_0x113345);this[_0x2026b2(0x356)]['next'](_0x3fbc15),this['_entities']['set'](_0x113345,_0x3fbc15);}),this[_0xb15512(0x3b8)]['getTypeOfUnitAdded$'](_0x228d13[_0xb15512(0x3e8)])[_0xb15512(0x1e6)](_0x414215(this[_0xb15512(0x328)]))[_0xb15512(0x1e6)](_0x55afe1(_0x5a0de3=>!_0x5a0de3['getUnitId']()[_0xb15512(0x24f)]('__')))['subscribe'](async _0x400dfd=>{const _0x10d8f5=_0xb15512,_0x4e90dd=_0x400dfd[_0x10d8f5(0x2c9)](),_0x23ab70=await this[_0x10d8f5(0x204)](_0x4e90dd);this[_0x10d8f5(0x356)][_0x10d8f5(0x215)](_0x23ab70),this[_0x10d8f5(0x288)][_0x10d8f5(0x2c1)](_0x4e90dd,_0x23ab70);}),_0x473737(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x228d13['UNIVER_DOC']),this[_0xb15512(0x3b8)][_0xb15512(0x302)](_0x228d13[_0xb15512(0x27a)]))[_0xb15512(0x1e6)](_0x414215(this[_0xb15512(0x328)]))[_0xb15512(0x38d)](_0x6716e0=>{const _0x205f78=_0xb15512,_0x36e29b=_0x6716e0['getUnitId'](),_0x9b1079=this[_0x205f78(0x288)][_0x205f78(0x31b)](_0x36e29b);_0x9b1079&&(_0x9b1079[_0x205f78(0x2bb)](),this[_0x205f78(0x288)]['delete'](_0x36e29b));});}async['_startSheetCollabCursor'](_0x271ce5){const _0x35e39f=_0x2ae815,_0x25ee74=await this['_collabSessionService']['requireSession'](_0x271ce5),_0x546d63=this[_0x35e39f(0x2a1)]['createInstance'](Me,_0x271ce5,_0x25ee74);return _0x546d63[_0x35e39f(0x2d2)](),_0x546d63;}async[_0x2ae815(0x204)](_0x40f0a1){const _0x564c6d=_0x2ae815,_0x351558=await this[_0x564c6d(0x319)][_0x564c6d(0x235)](_0x40f0a1),_0x308cfa=this[_0x564c6d(0x2a1)][_0x564c6d(0x33f)](Ue,_0x40f0a1,_0x351558);return _0x308cfa['init'](),_0x308cfa;}};H=Ci([Se(0x0,_0x4bbc96),Se(0x1,_0x49192a(_0x2b1a2d)),Se(0x2,_0x49192a(_0x29a13d))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x4de45d,_0x1516e5){const _0x5d29da=_0x2ae815;let {radius:_0x1b60d9,width:_0x312921,height:_0x2e56b3}=_0x1516e5;_0x1b60d9=_0x1b60d9!=null?_0x1b60d9:0x0,_0x312921=_0x312921!=null?_0x312921:0x1e,_0x2e56b3=_0x2e56b3!=null?_0x2e56b3:0x1e;let _0x58ce41=0x0,_0x42e598=0x0,_0xe7ccf6=0x0;_0x58ce41=_0x42e598=_0xe7ccf6=Math[_0x5d29da(0x372)](_0x1b60d9,_0x312921/0x2,_0x2e56b3/0x2),_0x4de45d[_0x5d29da(0x229)](),_0x4de45d[_0x5d29da(0x2a4)](_0x58ce41,0x0),_0x4de45d['lineTo'](_0x312921-_0x42e598,0x0),_0x4de45d[_0x5d29da(0x387)](_0x312921-_0x42e598,_0x42e598,_0x42e598,Math['PI']*0x3/0x2,0x0,!0x1),_0x4de45d[_0x5d29da(0x3e5)](_0x312921,_0x2e56b3-_0xe7ccf6),_0x4de45d[_0x5d29da(0x387)](_0x312921-_0xe7ccf6,_0x2e56b3-_0xe7ccf6,_0xe7ccf6,0x0,Math['PI']/0x2,!0x1),_0x4de45d[_0x5d29da(0x3e5)](0x0,_0x2e56b3),_0x4de45d[_0x5d29da(0x3e5)](0x0,_0x58ce41),_0x4de45d[_0x5d29da(0x387)](_0x58ce41,_0x58ce41,_0x58ce41,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4de45d[_0x5d29da(0x228)](),_0x1516e5[_0x5d29da(0x3a7)]&&(_0x4de45d[_0x5d29da(0x385)](),_0x4de45d['fillStyle']=_0x1516e5['fill'],_0x1516e5['fillRule']===_0x5d29da(0x237)?_0x4de45d[_0x5d29da(0x3a7)](_0x5d29da(0x237)):_0x4de45d[_0x5d29da(0x3a7)](),_0x4de45d['restore']());}class he extends _0x385877{constructor(_0x9347ae,_0x265c94){const _0x29fda7=_0x2ae815;super(_0x9347ae,_0x265c94),_(this,_0x29fda7(0x234)),_(this,_0x29fda7(0x34d)),(this[_0x29fda7(0x234)]=_0x265c94==null?void 0x0:_0x265c94['color'],this[_0x29fda7(0x34d)]=_0x265c94==null?void 0x0:_0x265c94[_0x29fda7(0x34d)]);}static[_0x2ae815(0x3e0)](_0x4cdf96,_0x231482){const _0x538f1e=_0x2ae815,{text:_0x1e5c32,color:_0x4f9229}=_0x231482;_0x4cdf96[_0x538f1e(0x385)](),_0x4cdf96['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x50d144=_0x4cdf96[_0x538f1e(0x30d)](_0x1e5c32)['width'],_0x1c69fc=Math[_0x538f1e(0x372)](_0x50d144+0x2*me,Qe);Oi(_0x4cdf96,{'height':ee,'radius':0x4,'width':_0x1c69fc,'fill':_0x4f9229}),_0x4cdf96[_0x538f1e(0x27b)]=_0x538f1e(0x290);const _0x4ef43b=me,_0x375135=ee-Ei,_0x1a182e=Qe-0x2*me;if(_0x50d144>_0x1a182e){let _0x492391='',_0x39961e=0x0;for(const _0x1a980d of _0x1e5c32){const _0x126b31=_0x4cdf96[_0x538f1e(0x30d)](_0x1a980d)[_0x538f1e(0x3b4)];if(_0x39961e+_0x126b31<=_0x1a182e-_0x4cdf96[_0x538f1e(0x30d)](_0x538f1e(0x3d3))['width'])_0x492391+=_0x1a980d,_0x39961e+=_0x126b31;else{_0x492391+=_0x538f1e(0x3d3);break;}}_0x4cdf96[_0x538f1e(0x37c)](_0x492391,_0x4ef43b,_0x375135);}else _0x4cdf96[_0x538f1e(0x37c)](_0x1e5c32,_0x4ef43b,_0x375135);_0x4cdf96[_0x538f1e(0x3cb)]();}[_0x2ae815(0x272)](_0x1e682a){const _0xc56461=_0x2ae815;he[_0xc56461(0x3e0)](_0x1e682a,this);}}const Ie='collab-text-anchor-',bi='collab-text-range-',Ti=_0x2ae815(0x3e1),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x2ae815(0x273);class qe{constructor(_0x122b1b,_0x34d79b,_0x15d3c7,_0x2a7376){const _0x52e56d=_0x2ae815;_(this,_0x52e56d(0x316),[]),_(this,_0x52e56d(0x34f),null),_(this,_0x52e56d(0x3df),null),_(this,_0x52e56d(0x287),null),_(this,_0x52e56d(0x358),null),_(this,_0x52e56d(0x21f),null),(this[_0x52e56d(0x323)]=_0x122b1b,this[_0x52e56d(0x1e4)]=_0x34d79b,this['_docSkeleton']=_0x15d3c7,this[_0x52e56d(0x2c4)]=_0x2a7376,this[_0x52e56d(0x227)]());}set[_0x2ae815(0x2a0)](_0xbc7b5c){const _0x103d77=_0x2ae815;_0xbc7b5c?(this['_anchorDot']&&this['_anchorDot'][_0x103d77(0x25a)](),this[_0x103d77(0x3df)]&&this[_0x103d77(0x3df)]['show']()):(this[_0x103d77(0x287)]&&this[_0x103d77(0x287)]['show'](),this[_0x103d77(0x3df)]&&this[_0x103d77(0x3df)]['hide']());}[_0x2ae815(0x2bb)](){const _0xc4be08=_0x2ae815;for(const _0x5283c2 of this[_0xc4be08(0x316)])_0x5283c2[_0xc4be08(0x2bb)]();this['_textBubble']&&this[_0xc4be08(0x3df)][_0xc4be08(0x2bb)](),this[_0xc4be08(0x287)]&&this['_anchorDot'][_0xc4be08(0x2bb)](),this[_0xc4be08(0x34f)]&&this[_0xc4be08(0x34f)]['dispose'](),this['_eventUnsubscribe']&&this[_0xc4be08(0x21f)]();}[_0x2ae815(0x227)](){const _0x1c457c=_0x2ae815;var _0x2fad8b;const {_docSkeleton:_0x1fe39e,_document:_0x9bc929}=this,{color:_0x375b99,name:_0x53706d,ranges:_0x1d1d0b}=this[_0x1c457c(0x323)],_0x393429=_0x9bc929[_0x1c457c(0x35d)](),{docsLeft:_0x4e5205,docsTop:_0x31481f}=_0x393429,_0x159def=new _0x3e46f8(_0x393429,_0x1fe39e);for(const {startOffset:_0x4e7903,endOffset:_0x512cd5,rangeType:_0x5efb6d,segmentId:_0x258c6f,segmentPage:_0x2b7bef,collapsed:_0x203758,isActive:_0x1badad}of _0x1d1d0b){const _0x56c38b=_0x1fe39e[_0x1c457c(0x202)](_0x4e7903,!0x0,_0x258c6f,_0x2b7bef);let _0x2a51c2=_0x1fe39e[_0x1c457c(0x202)](_0x512cd5,!0x0,_0x258c6f,_0x2b7bef);if(_0x2a51c2==null&&(_0x2a51c2=_0x1fe39e[_0x1c457c(0x202)](_0x512cd5-0x1,!0x1,_0x258c6f,_0x2b7bef)),_0x1badad){const {contentBoxPointGroup:_0x29ba50}=_0x159def['getRangePointData'](_0x2a51c2,_0x2a51c2);if(_0x29ba50[_0x1c457c(0x254)]===0x0)continue;this[_0x1c457c(0x397)](_0x375b99,_0x29ba50,_0x4e5205,_0x31481f,_0x53706d),this['_eventUnsubscribe']=this[_0x1c457c(0x2d9)]();}if(_0x56c38b&&_0x2a51c2){if(_0x5efb6d===_0xd1ab71[_0x1c457c(0x32d)]){const _0x19c202=new _0x3c9709(_0x393429,_0x1fe39e),{pointGroup:_0x6d9fa3}=(_0x2fad8b=_0x19c202[_0x1c457c(0x2b6)](_0x56c38b,_0x2a51c2))!=null?_0x2fad8b:{};if(_0x6d9fa3==null||_0x6d9fa3[_0x1c457c(0x254)]===0x0)continue;this[_0x1c457c(0x24c)](_0x375b99,_0x6d9fa3,_0x4e5205,_0x31481f);}else{if(!_0x203758){const {borderBoxPointGroup:_0x49ce0d}=_0x159def[_0x1c457c(0x2b6)](_0x56c38b,_0x2a51c2);if(_0x49ce0d[_0x1c457c(0x254)]===0x0)continue;this['_drawTextRange'](_0x375b99,_0x49ce0d,_0x4e5205,_0x31481f);}}}}}[_0x2ae815(0x397)](_0x476bba,_0x334e2d,_0x5400ea,_0x34dc6d,_0xbd8976){const _0x58c81d=_0x2ae815,_0x3b2dc5=this['_getAnchorBounding'](_0x334e2d),{left:_0x4b5503,top:_0x4d709a,height:_0x35aee2}=_0x3b2dc5,_0x43d4a=this[_0x58c81d(0x27c)](),_0x1f19d4=Di/_0x43d4a,_0x5f1281=new _0x12a59f(Ie+_0x578e6a[_0x58c81d(0x329)](X),{'left':_0x4b5503+_0x5400ea-_0x1f19d4,'top':_0x4d709a+_0x34dc6d,'height':_0x35aee2,'width':Ri,'fill':_0x476bba||_0x4ad86d(_0xcd4671['black'],0x0),'strokeWidth':_0x1f19d4,'stroke':Ni,'evented':!0x0});this['_anchor']=_0x5f1281,this['_scene'][_0x58c81d(0x324)](_0x5f1281,_0x4c920a);const _0x24e702=new _0x12a59f(Ie+_0x578e6a[_0x58c81d(0x329)](X),{'left':_0x4b5503+_0x5400ea-_0x1f19d4,'top':_0x4d709a+_0x34dc6d-ge/0x2,'height':ge,'width':ge,'fill':_0x476bba||_0x4ad86d(_0xcd4671[_0x58c81d(0x31d)],0x0),'strokeWidth':0x0,'stroke':_0x476bba||_0x4ad86d(_0xcd4671[_0x58c81d(0x31d)],0x0),'evented':!0x1});this[_0x58c81d(0x287)]=_0x24e702,this[_0x58c81d(0x1e4)]['addObject'](_0x24e702,_0x4c920a);const _0x5039b5=new he(Ie+_0x578e6a[_0x58c81d(0x329)](X),{'left':_0x4b5503+_0x5400ea-_0x1f19d4,'top':_0x4d709a+_0x34dc6d-ee,'text':_0xbd8976,'color':_0x476bba});this['_textBubble']=_0x5039b5,this['_scene'][_0x58c81d(0x324)](_0x5039b5,_0x4c920a),this[_0x58c81d(0x2a0)]=!0x1;}['_handleHover'](){const _0x4387c1=_0x2ae815,_0x236a32=this[_0x4387c1(0x34f)][_0x4387c1(0x35c)][_0x4387c1(0x21c)](()=>{this['_hover']=!0x0;}),_0x30ffe9=this[_0x4387c1(0x34f)]['onPointerLeave$']['subscribeEvent'](()=>{const _0x8a2352=_0x4387c1;this[_0x8a2352(0x358)]&&clearTimeout(this[_0x8a2352(0x358)]),this[_0x8a2352(0x358)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x287c14=_0x4387c1;_0x236a32['unsubscribe'](),_0x30ffe9[_0x287c14(0x29e)]();};}['_drawTextRange'](_0x1e40ba,_0xa3d052,_0x195e1b,_0x368f84){const _0x142198=_0x2ae815,_0x3c3f86=new _0x6185cf(_0x1e40ba)[_0x142198(0x2a2)](0.2)['toRgbString'](),_0x58aaba=new _0xc3fcdc(bi+_0x578e6a[_0x142198(0x329)](X),{'pointsGroup':_0xa3d052,'fill':_0x3c3f86||_0x4ad86d(_0xcd4671[_0x142198(0x31d)],0.2),'left':_0x195e1b,'top':_0x368f84,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x142198(0x316)][_0x142198(0x3aa)](_0x58aaba),this[_0x142198(0x1e4)][_0x142198(0x324)](_0x58aaba,_0x4c920a);}[_0x2ae815(0x24c)](_0x11cb2d,_0x2b38ed,_0x19606c,_0x13ea5b){const _0x23c97f=_0x2ae815,_0xa6bf16=new _0x6185cf(_0x11cb2d)['setAlpha'](0.2)[_0x23c97f(0x2c8)](),_0x35e134=new _0xc3fcdc(Ti+_0x578e6a[_0x23c97f(0x329)](X),{'pointsGroup':_0x2b38ed,'fill':_0xa6bf16||_0x4ad86d(_0xcd4671['black'],0.2),'left':_0x19606c,'top':_0x13ea5b,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x23c97f(0x3aa)](_0x35e134),this['_scene'][_0x23c97f(0x324)](_0x35e134,_0x4c920a);}[_0x2ae815(0x392)](_0x440344){const _0x2114a6=_0x440344[0x0],_0x25d196=_0x2114a6[0x0],_0x36744a=_0x2114a6[0x2],{x:_0x5e3d46,y:_0x23f1b3}=_0x25d196,{x:_0xfdf00c,y:_0x5bfba3}=_0x36744a;return{'left':_0x5e3d46,'top':_0x23f1b3,'width':_0xfdf00c-_0x5e3d46,'height':_0x5bfba3-_0x23f1b3};}[_0x2ae815(0x27c)](){const _0x27965a=_0x2ae815,{scaleX:_0x116d03,scaleY:_0x38c635}=this[_0x27965a(0x1e4)][_0x27965a(0x34b)]();return Math[_0x27965a(0x3c8)](_0x116d03,_0x38c635);}}var Ui=Object[_0x2ae815(0x223)],Mi=(_0x265ba3,_0x1bf1df,_0x580635,_0x564b5f)=>{const _0x2a941e=_0x2ae815;for(var _0x2b35a3=_0x564b5f>0x1?void 0x0:_0x564b5f?Ui(_0x1bf1df,_0x580635):_0x1bf1df,_0x207e99=_0x265ba3[_0x2a941e(0x254)]-0x1,_0x36ac48;_0x207e99>=0x0;_0x207e99--)(_0x36ac48=_0x265ba3[_0x207e99])&&(_0x2b35a3=_0x36ac48(_0x2b35a3)||_0x2b35a3);return _0x2b35a3;},Z=(_0x931ef8,_0x28c6da)=>(_0x6d3724,_0x4cba05)=>_0x28c6da(_0x6d3724,_0x4cba05,_0x931ef8);let Le=class extends _0x52f50e{constructor(_0xe6f2df,_0xb76af,_0x90555b,_0xee5ce5,_0x26d442){const _0x48d777=_0x2ae815;super(),_(this,_0x48d777(0x3ac),[]),_(this,_0x48d777(0x306),[]),(this['_context']=_0xe6f2df,this[_0x48d777(0x2bd)]=_0xb76af,this['_collabCursorController']=_0x90555b,this[_0x48d777(0x3b2)]=_0xee5ce5,this[_0x48d777(0x378)]=_0x26d442,this['_init']());}['_init'](){const _0x57757d=_0x2ae815,_0x5b8de3=this[_0x57757d(0x231)]['unitId'],_0x20ec46=this['_docSkeletonManagerService'];this[_0x57757d(0x211)](_0x306a07([this[_0x57757d(0x3a5)][_0x57757d(0x1f4)](_0x5b8de3),this[_0x57757d(0x378)][_0x57757d(0x3ad)]])[_0x57757d(0x1e6)](_0x226666(([_0xa7a6a0,_0x845767])=>({'skeleton':_0x20ec46[_0x57757d(0x314)](),'cursors':[..._0xa7a6a0[_0x57757d(0x27d)]()][_0x57757d(0x3b3)](_0xf847e3=>({..._0xf847e3,'color':this[_0x57757d(0x378)][_0x57757d(0x2f1)](_0xf847e3[_0x57757d(0x234)])}))})))['subscribe'](_0xe61ab3=>{const _0x2a82a6=_0x57757d;if(this[_0x2a82a6(0x271)](),_0xe61ab3){const {skeleton:_0x1e8034,cursors:_0x4885c6}=_0xe61ab3;this['_updateCollabCursors'](_0x1e8034,_0x4885c6);}})),this[_0x57757d(0x3d0)](),this[_0x57757d(0x20b)]();}[_0x2ae815(0x336)](_0x40752e,_0xefde9a){const _0x1944b3=_0x2ae815,{scene:_0xb63309,mainComponent:_0x494217}=this[_0x1944b3(0x231)],_0x1b8561=_0xefde9a['map'](_0x404907=>new qe(_0x404907,_0xb63309,_0x40752e,_0x494217));this[_0x1944b3(0x3ac)]=_0x1b8561,this['_cursors']=_0xefde9a;}[_0x2ae815(0x337)](){const _0x2d4319=_0x2ae815;this[_0x2d4319(0x271)]();const {scene:_0x2528e8,mainComponent:_0x236f96}=this['_context'],_0x3411a4=this['_docSkeletonManagerService'][_0x2d4319(0x314)](),_0x20e874=this[_0x2d4319(0x306)]['map'](_0x2a722a=>new qe(_0x2a722a,_0x2528e8,_0x3411a4,_0x236f96));this[_0x2d4319(0x3ac)]=_0x20e874;}[_0x2ae815(0x271)](){const _0x332d35=_0x2ae815;this[_0x332d35(0x3ac)]['forEach'](_0x1dbba1=>_0x1dbba1[_0x332d35(0x2bb)]()),this[_0x332d35(0x3ac)]=[];}[_0x2ae815(0x20b)](){const _0x3624c0=_0x2ae815,_0x461975=[_0x234fa4['id']];this[_0x3624c0(0x211)](this[_0x3624c0(0x3b2)][_0x3624c0(0x205)](_0x44ef4e=>{const _0x174b4a=_0x3624c0;_0x461975[_0x174b4a(0x3db)](_0x44ef4e['id'])&&_0x44ef4e[_0x174b4a(0x25e)]['unitId']===this[_0x174b4a(0x231)][_0x174b4a(0x3d2)]&&this[_0x174b4a(0x337)]();}));}['_initResize'](){const _0x56d985=_0x2ae815;this[_0x56d985(0x211)](_0x4fe563(this['_context'][_0x56d985(0x23a)][_0x56d985(0x2ba)])[_0x56d985(0x1e6)](_0x1d831c(_0x1b86ef=>_0x1b86ef[_0x56d985(0x34c)]===_0x1b6a1c['resize']),_0x33b57f(0x10))['subscribe'](()=>{const _0xe8e428=_0x56d985;this[_0xe8e428(0x337)]();}));}};Le=Mi([Z(0x1,_0x49192a(_0xd28c7d)),Z(0x2,_0x49192a(H)),Z(0x3,_0xcda1fd),Z(0x4,_0x49192a(_0x41a633))],Le);const Li=0x1,Pi=1.5;class wi extends _0x385877{constructor(_0x1cf187,_0x2bb681){const _0x563ee5=_0x2ae815;super(_0x1cf187,_0x2bb681),_(this,_0x563ee5(0x308)),_(this,'_hovered',!0x1),_(this,_0x563ee5(0x341)),_(this,_0x563ee5(0x258),''),_(this,_0x563ee5(0x247),_0x563ee5(0x2e5)),_(this,_0x563ee5(0x207)),(_0x2bb681&&this[_0x563ee5(0x1fc)](_0x2bb681),this[_0x563ee5(0x35c)]['subscribeEvent'](()=>this[_0x563ee5(0x1fc)]({'hovered':!0x0})),this[_0x563ee5(0x32b)][_0x563ee5(0x21c)](()=>this[_0x563ee5(0x1fc)]({'hovered':!0x1})));}[_0x2ae815(0x1fc)](_0xc08a59){const _0x33e0cb=_0x2ae815;var _0x2a115d,_0x22f9cc,_0x2e2299,_0x283872,_0x37375f,_0x5de367;this['_color']=(_0x2a115d=_0xc08a59[_0x33e0cb(0x234)])!=null?_0x2a115d:this[_0x33e0cb(0x308)],this['_hovered']=(_0x22f9cc=_0xc08a59['hovered'])!=null?_0x22f9cc:this['_hovered'],this['_range']=(_0x2e2299=_0xc08a59[_0x33e0cb(0x39c)])!=null?_0x2e2299:this[_0x33e0cb(0x341)],this[_0x33e0cb(0x258)]=(_0x283872=_0xc08a59[_0x33e0cb(0x2c6)])!=null?_0x283872:this[_0x33e0cb(0x258)],this[_0x33e0cb(0x247)]=(_0x37375f=_0xc08a59['labelPosition'])!=null?_0x37375f:this[_0x33e0cb(0x247)],this[_0x33e0cb(0x207)]=(_0x5de367=_0xc08a59['backgroundColor'])!=null?_0x5de367:this['_backgroundColor'],this[_0x33e0cb(0x2e7)]({'width':_0xc08a59['width'],'height':_0xc08a59[_0x33e0cb(0x365)]});}[_0x2ae815(0x275)](_0x40e1ec){const _0x273616=_0x2ae815,{row:_0xbdca42,column:_0x14f2ee}=_0x40e1ec;if(_0xbdca42>=this['_range']['startRow']&&_0xbdca42<=this[_0x273616(0x341)][_0x273616(0x23f)]&&_0x14f2ee>=this['_range'][_0x273616(0x217)]&&_0x14f2ee<=this[_0x273616(0x341)][_0x273616(0x2df)]){this[_0x273616(0x1fc)]({'hovered':!0x0});return;}this[_0x273616(0x1fc)]({'hovered':!0x1});}[_0x2ae815(0x2b9)](_0x7ddfd5){return!0x1;}[_0x2ae815(0x272)](_0x884937){const _0x48f81c=_0x2ae815;_0x12a59f[_0x48f81c(0x3e0)](_0x884937,{'width':this['width'],'height':this['height'],'strokeWidth':Pi,'stroke':this[_0x48f81c(0x308)],'evented':!0x1,'fill':this[_0x48f81c(0x207)]}),this[_0x48f81c(0x2f6)]&&(_0x884937[_0x48f81c(0x385)](),_0x884937[_0x48f81c(0x23b)](0x1,0x0,0x0,0x1,this['width'],this[_0x48f81c(0x247)]===_0x48f81c(0x30f)?0x0:-0x14),he[_0x48f81c(0x3e0)](_0x884937,{'text':this[_0x48f81c(0x258)],'color':this[_0x48f81c(0x308)]}),_0x884937['restore']());}}var Ai=Object['getOwnPropertyDescriptor'],yi=(_0x400e78,_0x48ff5b,_0x485e11,_0x3c021d)=>{const _0xbb57e8=_0x2ae815;for(var _0x31ca97=_0x3c021d>0x1?void 0x0:_0x3c021d?Ai(_0x48ff5b,_0x485e11):_0x48ff5b,_0x2c01bd=_0x400e78[_0xbb57e8(0x254)]-0x1,_0x2f9797;_0x2c01bd>=0x0;_0x2c01bd--)(_0x2f9797=_0x400e78[_0x2c01bd])&&(_0x31ca97=_0x2f9797(_0x31ca97)||_0x31ca97);return _0x31ca97;},ve=(_0x17f0d1,_0x270d54)=>(_0x3b38d8,_0x255c99)=>_0x270d54(_0x3b38d8,_0x255c99,_0x17f0d1);const $i=0x1389;let Pe=class extends _0x52f50e{constructor(_0x23d319,_0x1f8d16,_0x4c69b3,_0x293300){const _0x4d0134=_0x2ae815;super(),_(this,_0x4d0134(0x306),new Set()),_(this,_0x4d0134(0x36a),null),(this['_context']=_0x23d319,this['_sheetSkeletonManagerService']=_0x1f8d16,this[_0x4d0134(0x3a5)]=_0x4c69b3,this[_0x4d0134(0x378)]=_0x293300,this[_0x4d0134(0x214)]());}[_0x2ae815(0x214)](){const _0x4fd99a=_0x2ae815;this[_0x4fd99a(0x352)]['currentSkeleton$'][_0x4fd99a(0x1e6)](_0xf9e086(this['dispose$']),_0x5db1ee(_0x4a25f0=>{const _0x387141=_0x4fd99a;if(_0x4a25f0){const _0x9abc8=_0x4a25f0[_0x387141(0x25c)];return _0x306a07(this[_0x387141(0x3a5)][_0x387141(0x1f4)](this[_0x387141(0x231)][_0x387141(0x3d2)]),this[_0x387141(0x378)]['currentTheme$'])[_0x387141(0x1e6)](_0x226666(([_0x293586,_0xf99235])=>{const _0x38c8ce=_0x387141,_0x3542c2=new Map();return _0x293586[_0x38c8ce(0x2a8)]((_0x562a69,_0x4a2fae)=>{const _0x4b6f51=_0x38c8ce;if(_0x562a69['sheetID']===_0x9abc8){const _0x2ef25e={..._0x562a69};_0x2ef25e['color']=this[_0x4b6f51(0x378)][_0x4b6f51(0x2f1)](_0x562a69['color']),_0x3542c2[_0x4b6f51(0x2c1)](_0x4a2fae,_0x2ef25e);}}),{'skeleton':_0x4a25f0,'cursors':_0x3542c2};}));}return _0x1bff98({'skeleton':null,'cursors':new Map()});}))[_0x4fd99a(0x38d)](({skeleton:_0xdc197d,cursors:_0x5d27b7})=>{const _0x4c136d=_0x4fd99a;this[_0x4c136d(0x271)](),_0xdc197d&&this[_0x4c136d(0x336)](_0xdc197d,_0x5d27b7);}),this[_0x4fd99a(0x352)][_0x4fd99a(0x368)][_0x4fd99a(0x38d)](_0x306070=>{const _0x378f58=_0x4fd99a;if(_0x306070==null)return;const {skeleton:_0x4d6c80}=_0x306070,{scene:_0x4e170a}=this[_0x378f58(0x231)];_0x4e170a[_0x378f58(0x3bb)][_0x378f58(0x21c)](_0x54a6f4(_0x1b8a2d=>{const _0x27b43c=_0x378f58;var _0xae5fd5,_0x59e51d;const {offsetX:_0x1f659f,offsetY:_0x4cf956}=_0x1b8a2d,{x:_0x5b6626,y:_0x275aaa}=_0x4e170a[_0x27b43c(0x366)](_0x34581c[_0x27b43c(0x1f8)]([_0x1f659f,_0x4cf956])),{scaleX:_0x4d914f,scaleY:_0x579173}=_0x4e170a['getAncestorScale'](),_0x23970e=_0x4e170a['getViewport'](_0x2231e2['VIEW_MAIN']),_0x16c7a8=_0x4e170a[_0x27b43c(0x348)](_0x34581c[_0x27b43c(0x1f8)]([_0x5b6626,_0x275aaa]),_0x23970e),_0x5a9507=_0x4d6c80[_0x27b43c(0x33b)](_0x1f659f,_0x4cf956,_0x4d914f,_0x579173,_0x16c7a8);((_0xae5fd5=this[_0x27b43c(0x36a)])==null?void 0x0:_0xae5fd5[_0x27b43c(0x381)])===_0x5a9507[_0x27b43c(0x381)]&&((_0x59e51d=this['_lastPointer'])==null?void 0x0:_0x59e51d[_0x27b43c(0x2eb)])===_0x5a9507[_0x27b43c(0x2eb)]||this['_cursors'][_0x27b43c(0x2a8)](_0x1b0a19=>{_0x1b0a19['onMouseMove'](_0x5a9507);});},0x64));});}[_0x2ae815(0x336)](_0x46e118,_0x3e3620){const _0x559611=_0x2ae815;var _0x51375d;const _0x4bc23a=(_0x51375d=this[_0x559611(0x352)][_0x559611(0x292)]())==null?void 0x0:_0x51375d[_0x559611(0x266)];if(!_0x4bc23a)return;const _0x17e2b2=this[_0x559611(0x3c2)]();if(!_0x17e2b2)return;this[_0x559611(0x306)]['forEach'](_0x320a8c=>{const _0x53631c=_0x559611;_0x320a8c[_0x53631c(0x2e8)]();});const {scene:_0xc77a8f}=_0x17e2b2,_0x29261a=xi(Array[_0x559611(0x249)](_0x3e3620['values']()))[_0x559611(0x3d5)](_0x5e35c7=>{const _0x59a4ec=_0x559611,{color:_0x2d58b5,range:_0x339ad3,name:_0x50b3e2,selection:_0x413f99,sheetID:_0x52485c}=_0x5e35c7,{startColumn:_0x169ae1,startRow:_0x372648,endColumn:_0x31622e,endRow:_0x4730e7}=_0x339ad3,_0x27450=_0x26e949(_0x372648,_0x169ae1,_0xc77a8f,_0x4bc23a),_0x5992c0=_0x26e949(_0x4730e7,_0x31622e,_0xc77a8f,_0x4bc23a),{columnHeaderHeightAndMarginTop:_0x42bb0d}=_0x4bc23a,{startX:_0x4e719e,startY:_0x1f61b9}=_0x27450,{endX:_0x93a571,endY:_0x265fe3}=_0x5992c0,_0x191d2a=_0x93a571-_0x4e719e,_0x2f5cb0=_0x265fe3-_0x1f61b9,_0x26028e={'labelPosition':_0x1f61b9-_0x42bb0d>=ee?_0x59a4ec(0x2e5):_0x59a4ec(0x30f),'sheetID':_0x52485c,'range':_0x339ad3,'color':_0x2d58b5,'name':_0x50b3e2,'selection':_0x413f99,'left':_0x4e719e,'top':_0x1f61b9,'width':_0x191d2a,'height':_0x2f5cb0,'evented':!0x1,'zIndex':$i};return new wi(_0x50b3e2,_0x26028e);});_0xc77a8f[_0x559611(0x3b1)](_0x29261a,Li),this[_0x559611(0x306)]=new Set(_0x29261a);}[_0x2ae815(0x271)](){const _0x18f5ca=_0x2ae815;var _0x5e2ade;(_0x5e2ade=this[_0x18f5ca(0x306)])==null||_0x5e2ade[_0x18f5ca(0x2a8)](_0x178fef=>_0x178fef['dispose']());}[_0x2ae815(0x3c2)](){const _0x255c2c=_0x2ae815;return _0x4550bc(this[_0x255c2c(0x231)]['unit'],this['_context']);}};Pe=yi([ve(0x1,_0x49192a(_0x340cc9)),ve(0x2,_0x49192a(H)),ve(0x3,_0x49192a(_0x41a633))],Pe);function xi(_0xa98b7a){const _0x37a41f=_0x2ae815,_0x24b4f9=new Map();return _0xa98b7a[_0x37a41f(0x2a8)](_0x35f380=>{const _0x2ad093=_0x37a41f;if(_0x24b4f9[_0x2ad093(0x346)](_0x35f380['selection'])){const _0x11605b=_0x24b4f9[_0x2ad093(0x31b)](_0x35f380[_0x2ad093(0x283)]);_0x11605b['name']+=',\x20'+_0x35f380[_0x2ad093(0x2c6)];}else _0x24b4f9[_0x2ad093(0x2c1)](_0x35f380[_0x2ad093(0x283)],_0x35f380);}),Array[_0x37a41f(0x249)](_0x24b4f9[_0x37a41f(0x27d)]());}var v=function(){const _0x39f1eb=_0x2ae815;return v=Object[_0x39f1eb(0x2ae)]||function(_0x2691ab){const _0xf5fbb4=_0x39f1eb;for(var _0x5c1387,_0x245eed=0x1,_0x30dfa1=arguments[_0xf5fbb4(0x254)];_0x245eed<_0x30dfa1;_0x245eed++){_0x5c1387=arguments[_0x245eed];for(var _0x2f44d6 in _0x5c1387)Object[_0xf5fbb4(0x26d)][_0xf5fbb4(0x29b)]['call'](_0x5c1387,_0x2f44d6)&&(_0x2691ab[_0x2f44d6]=_0x5c1387[_0x2f44d6]);}return _0x2691ab;},v[_0x39f1eb(0x33a)](this,arguments);},Bi=function(_0x63a49d,_0xfefff0){const _0x4c5c73=_0x2ae815;var _0x2b91cb={};for(var _0x1de767 in _0x63a49d)Object[_0x4c5c73(0x26d)][_0x4c5c73(0x29b)][_0x4c5c73(0x267)](_0x63a49d,_0x1de767)&&_0xfefff0[_0x4c5c73(0x29d)](_0x1de767)<0x0&&(_0x2b91cb[_0x1de767]=_0x63a49d[_0x1de767]);if(_0x63a49d!=null&&typeof Object[_0x4c5c73(0x343)]=='function'){for(var _0x22cd41=0x0,_0x1de767=Object[_0x4c5c73(0x343)](_0x63a49d);_0x22cd41<_0x1de767['length'];_0x22cd41++)_0xfefff0[_0x4c5c73(0x29d)](_0x1de767[_0x22cd41])<0x0&&Object[_0x4c5c73(0x26d)][_0x4c5c73(0x376)][_0x4c5c73(0x267)](_0x63a49d,_0x1de767[_0x22cd41])&&(_0x2b91cb[_0x1de767[_0x22cd41]]=_0x63a49d[_0x1de767[_0x22cd41]]);}return _0x2b91cb;},Fe=_0x4c4465(function(_0x92f27a,_0x5dee13){const _0x4a4626=_0x2ae815;var _0x4d15e2=_0x92f27a[_0x4a4626(0x27f)],_0x2bb4c7=_0x92f27a['id'],_0x1dd60c=_0x92f27a[_0x4a4626(0x24b)],_0x2b3aba=_0x92f27a['extend'],_0x51a671=Bi(_0x92f27a,[_0x4a4626(0x27f),'id',_0x4a4626(0x24b),_0x4a4626(0x320)]),_0x339d04=_0x4a4626(0x32a)[_0x4a4626(0x274)](_0x2bb4c7,'\x20')['concat'](_0x1dd60c||'')['trim'](),_0x298e43=_0x2dac3a('_'[_0x4a4626(0x274)](Fi()));return Rt(_0x4d15e2,''[_0x4a4626(0x274)](_0x2bb4c7),{'defIds':_0x4d15e2['defIds'],'idSuffix':_0x298e43['current']},v({'ref':_0x5dee13,'className':_0x339d04},_0x51a671),_0x2b3aba);});function Rt(_0x1557fe,_0x510526,_0x282543,_0x5016b3,_0x537f43){const _0x5c9ba3=_0x2ae815;return _0x40f7ca(_0x1557fe[_0x5c9ba3(0x313)],v(v({'key':_0x510526},ki(_0x1557fe,_0x282543,_0x537f43)),_0x5016b3),(Hi(_0x1557fe,_0x282543)['children']||[])['map'](function(_0x28e572,_0x4db30d){const _0x3ea755=_0x5c9ba3;return Rt(_0x28e572,''['concat'](_0x510526,'-')[_0x3ea755(0x274)](_0x1557fe[_0x3ea755(0x313)],'-')[_0x3ea755(0x274)](_0x4db30d),_0x282543,void 0x0,_0x537f43);}));}function ki(_0x3dd478,_0x315ad0,_0x1b9df3){const _0x561140=_0x2ae815;var _0x33d77c=v({},_0x3dd478['attrs']);_0x1b9df3!=null&&_0x1b9df3['colorChannel1']&&_0x33d77c['fill']===_0x561140(0x263)&&(_0x33d77c['fill']=_0x1b9df3['colorChannel1']),_0x3dd478[_0x561140(0x313)]===_0x561140(0x33e)&&_0x33d77c['id']&&(_0x33d77c['id']=_0x33d77c['id']+_0x315ad0[_0x561140(0x1e9)]),Object[_0x561140(0x294)](_0x33d77c)[_0x561140(0x2a8)](function(_0x53ac0f){const _0x19965c=_0x561140;var _0x5f0930=_0x53ac0f[0x0],_0x5ae84d=_0x53ac0f[0x1];_0x5f0930===_0x19965c(0x33e)&&typeof _0x5ae84d==_0x19965c(0x3da)&&(_0x33d77c[_0x5f0930]=_0x5ae84d['replace'](/url\(#(.*)\)/,'url(#$1'['concat'](_0x315ad0[_0x19965c(0x1e9)],')')));});var _0x1313f3=_0x315ad0[_0x561140(0x279)];return!_0x1313f3||_0x1313f3[_0x561140(0x254)]===0x0||(_0x3dd478['tag']===_0x561140(0x248)&&_0x33d77c[_0x561140(0x3d8)]&&(_0x33d77c[_0x561140(0x3d8)]=_0x33d77c['xlink:href']+_0x315ad0[_0x561140(0x1e9)]),Object['entries'](_0x33d77c)[_0x561140(0x2a8)](function(_0x1c0ca8){const _0x265b07=_0x561140;var _0x30265f=_0x1c0ca8[0x0],_0x52aa91=_0x1c0ca8[0x1];typeof _0x52aa91==_0x265b07(0x3da)&&(_0x33d77c[_0x30265f]=_0x52aa91[_0x265b07(0x2ea)](/url\(#(.*)\)/,_0x265b07(0x24d)[_0x265b07(0x274)](_0x315ad0[_0x265b07(0x1e9)],')')));})),_0x33d77c;}function Hi(_0x40a7a9,_0x4cdc84){const _0x2a2f7e=_0x2ae815;var _0xd7ea7c,_0x565722=_0x4cdc84['defIds'];return!_0x565722||_0x565722['length']===0x0?_0x40a7a9:_0x40a7a9[_0x2a2f7e(0x313)]===_0x2a2f7e(0x344)&&(!((_0xd7ea7c=_0x40a7a9[_0x2a2f7e(0x2c3)])===null||_0xd7ea7c===void 0x0)&&_0xd7ea7c['length'])?v(v({},_0x40a7a9),{'children':_0x40a7a9[_0x2a2f7e(0x2c3)][_0x2a2f7e(0x3d5)](function(_0x583625){const _0x495aa6=_0x2a2f7e;return typeof _0x583625[_0x495aa6(0x262)]['id']==_0x495aa6(0x3da)&&_0x565722&&_0x565722['includes'](_0x583625[_0x495aa6(0x262)]['id'])?v(v({},_0x583625),{'attrs':v(v({},_0x583625[_0x495aa6(0x262)]),{'id':_0x583625[_0x495aa6(0x262)]['id']+_0x4cdc84[_0x495aa6(0x1e9)]})}):_0x583625;})}):_0x40a7a9;}function Fi(){const _0x24a364=_0x2ae815;return Math[_0x24a364(0x333)]()[_0x24a364(0x242)](0x24)[_0x24a364(0x2b3)](0x2,0x8);}Fe['displayName']='UniverIcon';var Yi={'tag':'svg','attrs':{'xmlns':_0x2ae815(0x2c7),'fill':_0x2ae815(0x36f),'viewBox':_0x2ae815(0x37a),'width':'1em','height':_0x2ae815(0x3c6)},'children':[{'tag':'g','attrs':{'clipPath':_0x2ae815(0x2b2)},'children':[{'tag':_0x2ae815(0x3bc),'attrs':{'stroke':_0x2ae815(0x24e),'d':_0x2ae815(0x22b),'strokeLinecap':'round','strokeLinejoin':_0x2ae815(0x26a),'strokeWidth':1.2}}]},{'tag':_0x2ae815(0x344),'attrs':{},'children':[{'tag':_0x2ae815(0x35b),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x2ae815(0x3bc),'attrs':{'fill':_0x2ae815(0x2b8),'d':_0x2ae815(0x37d)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},Dt=_0x4c4465(function(_0x47faaa,_0x287117){const _0x40c9e0=_0x2ae815;return _0x40f7ca(Fe,Object['assign']({},_0x47faaa,{'id':_0x40c9e0(0x338),'ref':_0x287117,'icon':Yi}));});function _0x11f7(){const _0x38cc44=['init','_id','enableLocalCache','_updateSubUnitFromURLParams','on-line-icon_clip0_910_349','INVITE_CODE_REQUIRED','_doCreateSocket','_handleHover','getItem','addClipboardHook','asObservable','_saveCache','_colorIndex','endColumn','_docTransformSelectionsService','CLOSE_ROOM','removeParam','UNAUTHENTICATED','getParam','top','MOBILE_VERIFY_CODE_MISMATCH','transformByState','makeDirty','textRanges','replace','row','then','DeleteRangeMoveLeftCommandId','_initEvent','YUUMI_RATE_OVER_LIMIT','collabStatus.fetchMiss','getColorFromTheme','LICENSE_DISTRO_REJECTED','storage','add','result','_hovered','univer-flex\x20univer-items-center','_disabled','_urlService','onLocalMutation','YUUMI_NO_CUBOID_FOR_QUESTION','saveImage','clearInterval','all','OFFLINE','permission.content','registerRefRange','getTypeOfUnitDisposed$','CHANGESET_REVISION_CONFILICT','Failed','Error','_cursors','univer-mr-2\x20univer-flex\x20univer-text-xl','_color','AWAITING_WITH_PENDING','SNAPSHOT_HAS_BEEN_REMOVED','_initEntityListener','data','measureText','_toggleOffline','bottom','_dataLoaderService','some','mutations','tag','getSkeleton','addHandlerCallback','_shapes','session.connection-failed','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_collabSessionService','_initStatusListener','get','loadOfflineData','black','[CollaborationDataLoaderController]','parse','extend','error','invokeId','_cursor','addObject','defineProperty','_startSheetCollabCursor','ticket','dispose$','generateRandomId','univerjs-icon\x20univerjs-icon-','onPointerLeave$','with','RECT','transformIMECache','INVITE_CODE_ALREADY_BOUND','LICENSE_MAX_UNITS_EXCEEDED','MoveRangeCommandId','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','random','ranges','SOCKET_FAILED','_updateCollabCursors','_refreshCollabCursors','off-line-icon','USERS_LEAVE','apply','getCellPositionByOffset','docStateChange$','143mzjMft','mask','createInstance','uni.network.url-service','_range','_ensureSubject','getOwnPropertySymbols','defs','_notificationService','has','_unitStatus','getVpScrollXYInfoByPosToVp','application/json','subunit','getAncestorScale','type','text','sessionStatus$','_anchor','UNRECOGNIZED','saveOfflineData','_sheetSkeletonManagerService','registerComponent','getValue','Unknown\x20user','_entityInit$','debug','_hideTimer','_status$','TEXT','clipPath','onPointerEnter$','getOffsetConfig','displayName','_roomMembers$','whenReady','cursorInfo','getCurrentSelections','AWAITING','url(#on-line-icon_clip0_910_349)','height','getRelativeToViewportCoord','YUUMI_AI_RUN_FAILED','currentSkeleton$','_handleLeaveEvent','_lastPointer','getUniverSheetInstance','clearTimeout','CONFLICT','show','none','EMAIL_VERIFY_CODE_MISMATCH','_cachedData','min','delete','onStarting','_scheduleHeartbeat','propertyIsEnumerable','search','_themeService','_transformUndoRedoStack','0\x200\x2016\x2016','0\x200\x2017\x2016','fillText','M0\x200H16V16H0z','_docSyncEditingCollabCursorService','on-line-icon','doc.mutation.rich-text-editing','column','_selfUnitIDs','transformStateCache','_send','save','collabStatus.offline','arc','_renderManagerService','editingUnit','_docStateChangeManagerService','_syncEditingCollabCursorService','ONLINE','subscribe','undoState','_messageService','unshift','getActiveRange','_getAnchorBounding','source','13055mipTIb','YUUMI_ALL_TABLES_IS_INVALID','UNDEFINED','_drawAnchor','div','MUTATION','_imageIoService','228372DiqIzH','range','yellow.400','registerBeforeClose','m2Prime','getStateCache','split','translate(.97)','runId','2164XDsebm','_collabCursorController','LICENSE_EXPORT_SIZE_EXCEEDED','fill','_getMergeRange','_initStatusComponent','push','unitID','_cursorShapes','currentTheme$','_setupSubUnitSync','actions','OTHER_CLIENT_EDITING','addObjects','_commandService','flatMap','width','_docTransformIMECacheService','NOT_COLLAB','JOIN_ROOM_FAILED','_univerInstanceService','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','newValue','onPointerMove$','path','key','_docTransformStateCacheService','searchParams','_setupBeforeClosingHandler','_unitOnClients','_getSheetObject','_localCacheService','INVALID_INVITE_CODE','_toggleOnline','1em','APPLY_NON_SEQUENTIAL_REVISION','max','getSheetId','jiqing.500','restore','transformMutationsWithChangeset','130824nrxNaW','svg','SOCKET_FAILED_RETRY','_initResize','LICENSE_IMPORT_SIZE_EXCEEDED','unitId','...','executeCommand','map','event$','_onCursorDelete','xlink:href','transformMutation','string','includes','complete','_transformHistoryAndStateStack','_getSaveTimeout','_textBubble','drawWith','collab-rect-range-','unit','COMPLETION_FINISHED','getTypeOfUnitAdded$','lineTo','_updateURLWithCurrentState','NOT_FOUND','UNIVER_DOC','_session','setActiveRange','collabCursorState$','_scene','sessionTicket','pipe','_memberService','roomMembers','idSuffix','_registerDependencies','getCurrentRevOfUnit','collabStatus.notCollab','RemoveRowCommandId','getMember','setConfig','href','createSocket','_online','_removeClearOtherTimer','getCollabCursors$','7wQtkZK','SNAPSHOT_INVALID_SNAPSHOT','syncEditingCollabCursor','FromArray','find','transformRemoteChangeset','_config','setShapeProps','status$','getConfig','deepClone','disposeUnit','imageSourceType','findNodePositionByCharIndex','runOnServer','_startDocCollabCursor','onCommandExecuted','_onRefRangeChange','_backgroundColor','_handleJoinEvent','setParam','getDocRanges','_initCommandExecutedListener','DeleteRangeMoveUpCommandId','_transformService','stringify','_transformPreviousActiveRange','PERMISSION_DENIED','disposeWithMe','_scheduleClearOtherTimer','UPDATE_CURSOR','_init','next','subUnitId','startColumn','APPLY_PERMISSION_DENIED','131871mSoJKT','isActive','activeSheet$','subscribeEvent','transformSelections','APPLY_DUPLICATED','_eventUnsubscribe','_localStorageService','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','selections','getOwnPropertyDescriptor','location','_collabCursorState$','wsSessionTicketUrl','_render','closePath','beginPath','_instanceService','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','_docClipboardService','isArray','YUUMI_SUBSCRIPTION_NOT_FOUND','onRendered','Warning','_context','InsertColCommandId','YUUMI_UNABLE_LOAD_URL','color','requireSession','MOBILE_HAS_BEEN_BOUND','evenodd','_colorAssignService','getMemberID','engine','transform','/run/','CONNECTOR_DATA_TOO_LARGE','_updateLocalCursor','endRow','getSheetBySheetId','_collaborationController','toString','assignAColorForMemberID','setStateCache','_revisionService','USER_NOT_INVITED_CODE','_labelPosition','use','from','getCurrentUnitForType','className','_drawRectRange','url(#$1','currentColor','startsWith','_httpService','getFocusedUnit','InsertRowCommandId','collabStatus.synced','length','urlChange$','_cursorInfo$','blue.400','_name','collab-client.tooltip.reconnect','hide','cursorInfo$','sheetId','APPLY_REJECT','params','_logService','_initDependencies','YUUMI_CONNECTOR_URL_NOT_FOUND','attrs','colorChannel1','INVALID_ARGUMENT','focused$','skeleton','call','code','saveTaskMap','round','PY_RUNTIME_SCRIPT_ERROR','APPLY_REVISION_CONFILICT','prototype','getMergeData','getUndoRedoMutationParamsCache','executionId','_removeCollabCursors','_draw','rgba(255,\x20255,\x20255,\x200.01)','concat','onMouseMove','_handleEvent','contains','collaboration-client.offline-data-not-saved','defIds','UNIVER_SHEET','fillStyle','_getScale','values','_configService','icon','ALREADY_EXISTS','_assignedColors','INVITE_CODE_HAS_BEEN_UES','selection','m1Prime','_clearOtherTimers','_localeService','_anchorDot','_entities','_beforeCloseService','history','1151824dOBXQb','_heartbeatTimer','redoState','addEventListener','_getSessionTicket','#FFF','disableLocalCache','getCurrent','NO_OTHER_CLIENTS_EDITING','entries','_scheduleSaving','YUUMI_URL_COL_OUT_OF_RANGE','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','popstate','_handleHeartbeatEvent','send','hasOwnProperty','_refRangeService','indexOf','unsubscribe','_onCursorUpdate','_hover','_injector','setAlpha','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','moveTo','body','ENSURE_SNAPSHOT_EXECUTION','session.will-retry','forEach','setItem','ACTIVE_UNIT_EVENT_CHANNEL','size','getActiveSheet','exhaustSavingTask','assign','INTERNAL_ERROR','getRenderById','EMAIL_HAS_BEEN_BOUND','url(#off-line-icon_clip0_910_343)','substring','pushState','OTHER_CLIENTS_EDITING','getRangePointData','collaboration.closeRoom','white','triggerDblclick','onTransformChange$','dispose','roomMembers$','_docSkeletonManagerService','WECHAT_HAS_BEEN_BOUND','OnLineIcon','entityInit$','set','getUnitStatus$','children','_document','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','name','http://www.w3.org/2000/svg','toRgbString','getUnitId','TOO_MANY_REQUESTS','symbol','getCollabEntity$','_saveTaskMap','_registerRenderDependencies','252486pVAZhj','PENDING','_collaborationUIEventService'];_0x11f7=function(){return _0x38cc44;};return _0x11f7();}Dt[_0x2ae815(0x35e)]='OffLineIcon';var ji={'tag':_0x2ae815(0x3ce),'attrs':{'xmlns':_0x2ae815(0x2c7),'fill':_0x2ae815(0x36f),'viewBox':_0x2ae815(0x37b),'width':_0x2ae815(0x3c6),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x2ae815(0x364)},'children':[{'tag':_0x2ae815(0x3bc),'attrs':{'stroke':'currentColor','d':_0x2ae815(0x221),'strokeLinecap':'round','strokeLinejoin':_0x2ae815(0x26a),'strokeWidth':1.2}}]},{'tag':_0x2ae815(0x344),'attrs':{},'children':[{'tag':_0x2ae815(0x35b),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x2ae815(0x2b8),'d':_0x2ae815(0x37d),'transform':_0x2ae815(0x3a2)}}]}]}],'defIds':[_0x2ae815(0x2d6)]},Nt=_0x4c4465(function(_0x2e0851,_0x5c4355){const _0x12d600=_0x2ae815;return _0x40f7ca(Fe,Object['assign']({},_0x2e0851,{'id':_0x12d600(0x37f),'ref':_0x5c4355,'icon':ji}));});Nt['displayName']=_0x2ae815(0x2bf);function Vi(_0x38a7ac){const _0xecb2f5=_0x2ae815;switch(_0x38a7ac){case _0x26c424[_0xecb2f5(0x2ff)]:return _0xecb2f5(0x386);case _0x26c424[_0xecb2f5(0x36d)]:return'collabStatus.conflict';case _0x26c424['FETCH_MISS']:return _0xecb2f5(0x2f0);case _0x26c424[_0xecb2f5(0x3b6)]:return _0xecb2f5(0x1ec);case _0x26c424[_0xecb2f5(0x363)]:case _0x26c424[_0xecb2f5(0x309)]:return'collabStatus.syncing';case _0x26c424['SYNCED']:case _0x26c424[_0xecb2f5(0x2d0)]:return _0xecb2f5(0x253);}}function Wi(_0x360714){const _0x47bb61=_0x2ae815,{status$:_0x1fb603}=_0x360714,_0x58efd6=_0x10ba71(_0x1fb603,_0x26c424['NOT_COLLAB']),_0x4b7aef=_0x1e868d(_0x196392),_0x31545f=_0x1e868d(_0x29a13d),_0x3d8ae2=_0x58efd6!==_0x26c424['OFFLINE'],_0x435034=_0x4b7aef['t'](Vi(_0x58efd6)),_0x3833e2=_0x3d8ae2?_0x25868f(Nt,{}):_0x25868f(Dt,{}),_0x1d3062=_0x2563eb(()=>{_0x3d8ae2||_0x31545f['reconnect']();},[_0x3d8ae2,_0x31545f]);function _0x2931ce(){const _0x45248c=_0x33d1;return _0x1c7228(_0x45248c(0x398),{'className':_0x45248c(0x2f7),'onClick':_0x1d3062,'children':[_0x25868f('div',{'className':_0xa266a1(_0x45248c(0x307),{'univer-text-green-500':_0x3d8ae2,'univer-text-red-500':!_0x3d8ae2}),'children':_0x3833e2}),_0x25868f(_0x45248c(0x398),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x435034})]});}return _0x3d8ae2?_0x2931ce():_0x25868f(_0x51b9f3,{'title':_0x4b7aef['t'](_0x47bb61(0x259)),'children':_0x2931ce()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x27adf1,_0x2e91be,_0x23b7e1,_0x503bf2)=>{for(var _0x4001a3=_0x503bf2>0x1?void 0x0:_0x503bf2?Xi(_0x2e91be,_0x23b7e1):_0x2e91be,_0x269d6d=_0x27adf1['length']-0x1,_0x18b562;_0x269d6d>=0x0;_0x269d6d--)(_0x18b562=_0x27adf1[_0x269d6d])&&(_0x4001a3=_0x18b562(_0x4001a3)||_0x4001a3);return _0x4001a3;},Q=(_0x5ff1d1,_0x43ffa1)=>(_0x2b3022,_0x3009a2)=>_0x43ffa1(_0x2b3022,_0x3009a2,_0x5ff1d1);let te=class extends _0x123ff0{constructor(_0x1db62c,_0x38e192,_0x18e36f,_0x18a3e9){const _0x3c7da7=_0x2ae815;super(),_(this,_0x3c7da7(0x359),new _0x5b919a(_0x26c424[_0x3c7da7(0x3b6)])),(this[_0x3c7da7(0x3b8)]=_0x1db62c,this[_0x3c7da7(0x2a1)]=_0x38e192,this[_0x3c7da7(0x241)]=_0x18e36f,this['_uiPartsService']=_0x18a3e9,this[_0x3c7da7(0x3a9)](),this[_0x3c7da7(0x31a)]());}[_0x2ae815(0x31a)](){const _0x39cb11=_0x2ae815;this[_0x39cb11(0x211)](this[_0x39cb11(0x3b8)][_0x39cb11(0x265)]['pipe'](_0x1ad60f(()=>{const _0x1bb486=_0x39cb11,_0x5d6858=this[_0x1bb486(0x3b8)][_0x1bb486(0x251)]();return _0x5d6858?this[_0x1bb486(0x241)][_0x1bb486(0x2cc)](_0x5d6858[_0x1bb486(0x2c9)]()):_0x1bff98(null);}),_0x1ad60f(_0x4102d6=>_0x4102d6?_0x4102d6[_0x39cb11(0x1fd)]:_0x1bff98(_0x26c424[_0x39cb11(0x3b6)])))[_0x39cb11(0x38d)](_0x2d70cb=>{const _0x31605b=_0x39cb11;this[_0x31605b(0x359)][_0x31605b(0x215)](_0x2d70cb);}));}[_0x2ae815(0x3a9)](){const _0x176808=_0x2ae815;this[_0x176808(0x211)](this['_uiPartsService'][_0x176808(0x353)](_0x532f4c['HEADER_MENU'],()=>_0x19e6c5(Ki({'status$':this[_0x176808(0x359)][_0x176808(0x2dc)]()}),this['_injector'])));}};te=Gi([Q(0x0,_0x4bbc96),Q(0x1,_0x49192a(_0x2b1a2d)),Q(0x2,_0x49192a(_0x3732e4)),Q(0x3,_0x231792)],te);function Ki(_0x229bcd){const {status$:_0x4efae0}=_0x229bcd;return function(){return _0x25868f(Wi,{'status$':_0x4efae0});};}var zi=Object[_0x2ae815(0x223)],Ji=(_0x52e671,_0x59e1df,_0x4a68bc,_0x37ba6f)=>{const _0x10fef6=_0x2ae815;for(var _0x322f3a=_0x37ba6f>0x1?void 0x0:_0x37ba6f?zi(_0x59e1df,_0x4a68bc):_0x59e1df,_0x4d664c=_0x52e671[_0x10fef6(0x254)]-0x1,_0x6c5917;_0x4d664c>=0x0;_0x4d664c--)(_0x6c5917=_0x52e671[_0x4d664c])&&(_0x322f3a=_0x6c5917(_0x322f3a)||_0x322f3a);return _0x322f3a;},B=(_0x3c84a8,_0x4d5d8b)=>(_0x470df5,_0x42c06b)=>_0x4d5d8b(_0x470df5,_0x42c06b,_0x3c84a8);let se=class extends _0x123ff0{constructor(_0x551900,_0x232fb8,_0x12ab4a,_0x5aed35,_0x590978,_0x3e47c9){const _0x25db11=_0x2ae815;super(),this[_0x25db11(0x289)]=_0x551900,this['_localCacheService']=_0x232fb8,this['_collaborationUIEventService']=_0x12ab4a,this[_0x25db11(0x38f)]=_0x5aed35,this[_0x25db11(0x345)]=_0x590978,this[_0x25db11(0x286)]=_0x3e47c9,this[_0x25db11(0x3c0)](),this[_0x25db11(0x2ee)]();}[_0x2ae815(0x3c0)](){const _0x4caa60=_0x2ae815;this[_0x4caa60(0x211)](this[_0x4caa60(0x289)][_0x4caa60(0x39e)](()=>{const _0x33ecde=_0x4caa60;if(this[_0x33ecde(0x3c3)][_0x33ecde(0x269)][_0x33ecde(0x2ab)])return this[_0x33ecde(0x286)]['t'](_0x33ecde(0x278));}));}[_0x2ae815(0x2ee)](){const _0x4fe05e=_0x2ae815;this['disposeWithMe'](this[_0x4fe05e(0x2d1)][_0x4fe05e(0x3d6)][_0x4fe05e(0x38d)](_0x21dc7b=>{const _0x23b772=_0x4fe05e;_0x21dc7b['id']===_0x453ebd[_0x23b772(0x3b0)]&&this[_0x23b772(0x38f)][_0x23b772(0x36e)]({'type':_0x1d100b['Warning'],'content':this['_localeService']['t']('collaboration.single-unit.warning')}),_0x21dc7b['id']===_0x453ebd[_0x23b772(0x2e1)]&&this[_0x23b772(0x38f)][_0x23b772(0x36e)]({'type':_0x1d100b[_0x23b772(0x230)],'content':this['_localeService']['t'](_0x23b772(0x2b7))}),_0x21dc7b['id']===_0x453ebd['PERMISSION_DENIED']&&this['_notificationService'][_0x23b772(0x36e)]({'title':this['_localeService']['t']('permission.title'),'content':this[_0x23b772(0x286)]['t'](_0x23b772(0x300)),'type':_0x23b772(0x321),'duration':0x0}),_0x21dc7b['id']===_0x453ebd['CONFLICT']&&this['_messageService'][_0x23b772(0x36e)]({'type':_0x1d100b[_0x23b772(0x305)],'content':this[_0x23b772(0x286)]['t'](_0x23b772(0x2b7))+'('+_0x21dc7b[_0x23b772(0x30c)]+')'}),_0x21dc7b['id']===_0x453ebd[_0x23b772(0x3b7)]&&this['_messageService'][_0x23b772(0x36e)]({'type':_0x1d100b[_0x23b772(0x230)],'content':this[_0x23b772(0x286)]['t'](_0x21dc7b['data']||'')}),_0x21dc7b['id']===_0x453ebd[_0x23b772(0x3cf)]&&this[_0x23b772(0x38f)][_0x23b772(0x36e)]({'type':_0x1d100b[_0x23b772(0x230)],'content':this[_0x23b772(0x286)]['t'](_0x23b772(0x2a7))}),_0x21dc7b['id']===_0x453ebd[_0x23b772(0x335)]&&this[_0x23b772(0x38f)][_0x23b772(0x36e)]({'type':_0x1d100b[_0x23b772(0x305)],'content':this['_localeService']['t'](_0x23b772(0x317))}),_0x21dc7b['id']===_0x453ebd['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x23b772(0x38f)]['show']({'type':_0x1d100b[_0x23b772(0x305)],'content':this[_0x23b772(0x286)]['t']('session.collaboration-timeout')});}));}};se=Ji([B(0x0,_0x3939b2),B(0x1,_0x1fc3bf),B(0x2,_0x49192a(_0x4c7657)),B(0x3,_0x1742f7),B(0x4,_0x559171),B(0x5,_0x49192a(_0x196392))],se);const Zi='collaboration-client-ui.config',et={},Ut=_0x32ecea(_0x2ae815(0x340));var Qi=Object[_0x2ae815(0x223)],qi=(_0x5e57c4,_0x3c2626,_0x62dff7,_0x3889b4)=>{for(var _0xfae85=_0x3889b4>0x1?void 0x0:_0x3889b4?Qi(_0x3c2626,_0x62dff7):_0x3c2626,_0x8ce6c8=_0x5e57c4['length']-0x1,_0x3581c8;_0x8ce6c8>=0x0;_0x8ce6c8--)(_0x3581c8=_0x5e57c4[_0x8ce6c8])&&(_0xfae85=_0x3581c8(_0xfae85)||_0xfae85);return _0xfae85;},G=(_0x3fb385,_0x3571c0)=>(_0x4f1059,_0x1beaa5)=>_0x3571c0(_0x4f1059,_0x1beaa5,_0x3fb385);let ie=class extends _0x52f50e{constructor(_0x8f1fc1,_0x30a87d,_0x4b8136,_0x4b1fb3,_0x1a62eb){const _0x21bbbc=_0x2ae815;super(),this[_0x21bbbc(0x2f9)]=_0x8f1fc1,this['_logService']=_0x30a87d,this[_0x21bbbc(0x3b2)]=_0x4b8136,this[_0x21bbbc(0x310)]=_0x4b1fb3,_0x1a62eb?_0x1a62eb==null||_0x1a62eb[_0x21bbbc(0x360)]()[_0x21bbbc(0x2ec)](()=>this[_0x21bbbc(0x214)]()):(this['_logService'][_0x21bbbc(0x357)](_0x21bbbc(0x31e),_0x21bbbc(0x2c5)),this[_0x21bbbc(0x214)]());}async[_0x2ae815(0x214)](){const _0x38eafa=_0x2ae815,_0x5f2954=this[_0x38eafa(0x2f9)]['getParam'](_0x38eafa(0x3e2)),_0x311f21=this['_urlService'][_0x38eafa(0x2e4)]('type'),_0x7d459c=this[_0x38eafa(0x2f9)][_0x38eafa(0x2e4)](_0x38eafa(0x34a));if(!_0x5f2954||!_0x311f21){this[_0x38eafa(0x25f)][_0x38eafa(0x357)](_0x38eafa(0x31e),_0x38eafa(0x332));return;}const _0x5d83ee=await this['_dataLoaderService']['loadUnit'](_0x5f2954,Number(_0x311f21),_0x7d459c);_0x5d83ee&&_0x5d83ee instanceof _0x137457&&this[_0x38eafa(0x3ae)](_0x5d83ee);}async[_0x2ae815(0x3ae)](_0x910c64){const _0x26387d=_0x2ae815;await this[_0x26387d(0x2d5)](_0x910c64),_0x910c64[_0x26387d(0x21b)]['pipe'](_0x414215(this[_0x26387d(0x328)]))[_0x26387d(0x38d)](_0x57c409=>{const _0x5b32bf=_0x26387d;_0x57c409&&this[_0x5b32bf(0x3e6)](_0x57c409);}),this[_0x26387d(0x2f9)]['urlChange$'][_0x26387d(0x1e6)](_0x414215(this['dispose$']))[_0x26387d(0x38d)](()=>this['_updateSubUnitFromURLParams'](_0x910c64));}[_0x2ae815(0x3e6)](_0x54aeab,_0x2b585b=!0x1){const _0x449771=_0x2ae815,_0x371669=this[_0x449771(0x2f9)][_0x449771(0x2e4)]('subunit');_0x54aeab[_0x449771(0x3c9)]()!==_0x371669&&this[_0x449771(0x2f9)][_0x449771(0x209)](_0x449771(0x34a),_0x54aeab[_0x449771(0x3c9)](),_0x2b585b);}async[_0x2ae815(0x2d5)](_0x5005b6){const _0x1ea1f8=_0x2ae815;var _0x20e4d8;const _0x50ac79=this[_0x1ea1f8(0x2f9)][_0x1ea1f8(0x2e4)](_0x1ea1f8(0x34a));if(!_0x50ac79||!_0x5005b6[_0x1ea1f8(0x240)](_0x50ac79)){const _0x164d2c=_0x5005b6['getUnhiddenWorksheets']()[0x0],_0x330e4b=_0x5005b6[_0x1ea1f8(0x240)](_0x164d2c);if(!_0x330e4b)return;this[_0x1ea1f8(0x3e6)](_0x330e4b,!0x0),await this[_0x1ea1f8(0x3b2)][_0x1ea1f8(0x3d4)](_0x31f835['id'],{'unitId':_0x5005b6[_0x1ea1f8(0x2c9)](),'subUnitId':_0x164d2c});return;}((_0x20e4d8=_0x5005b6[_0x1ea1f8(0x2ac)]())==null?void 0x0:_0x20e4d8['getSheetId']())!==_0x50ac79&&await this[_0x1ea1f8(0x3b2)][_0x1ea1f8(0x3d4)](_0x31f835['id'],{'unitId':_0x5005b6[_0x1ea1f8(0x2c9)](),'subUnitId':_0x50ac79});}};ie=qi([G(0x0,Ut),G(0x1,_0xca71c3),G(0x2,_0xcda1fd),G(0x3,_0x49192a(_0x2a8c71)),G(0x4,_0x34312a(_0x28970f))],ie);var en=Object[_0x2ae815(0x223)],tn=(_0xae212f,_0x23a8cf,_0x130753,_0x467d50)=>{const _0xa8fad4=_0x2ae815;for(var _0x9aee47=_0x467d50>0x1?void 0x0:_0x467d50?en(_0x23a8cf,_0x130753):_0x23a8cf,_0x33ec61=_0xae212f[_0xa8fad4(0x254)]-0x1,_0x2969cf;_0x33ec61>=0x0;_0x33ec61--)(_0x2969cf=_0xae212f[_0x33ec61])&&(_0x9aee47=_0x2969cf(_0x9aee47)||_0x9aee47);return _0x9aee47;},pe=(_0x1b929c,_0x4acf8c)=>(_0x16638b,_0x57e64c)=>_0x4acf8c(_0x16638b,_0x57e64c,_0x1b929c);let ne=class{constructor(_0x5ab34b,_0x55b2f7,_0x2cb590){const _0x35c130=_0x2ae815;this['_injector']=_0x5ab34b,this[_0x35c130(0x20d)]=_0x55b2f7,this[_0x35c130(0x388)]=_0x2cb590;}[_0x2ae815(0x32e)](_0x1f742f){const _0x241f24=_0x2ae815;this[_0x241f24(0x379)](_0x1f742f),this[_0x241f24(0x20f)](_0x1f742f);}[_0x2ae815(0x1fa)](_0x57d76d){const _0x18cff1=_0x2ae815,{unitID:_0x518d8c}=_0x57d76d,_0x139c1d=this[_0x18cff1(0x388)][_0x18cff1(0x2b0)](_0x518d8c)[_0x18cff1(0x32c)](_0x5d503c),{redoCache:_0x964ce7}=_0x139c1d[_0x18cff1(0x26f)]();if(_0x964ce7[_0x18cff1(0x254)]===0x0)return _0x57d76d;let _0xaa78fd=_0x578e6a['deepClone'](_0x57d76d[_0x18cff1(0x312)][0x0]);for(let _0x17c131=0x0;_0x17c131<_0x964ce7[_0x18cff1(0x254)];_0x17c131++){const _0x418d85={'id':'doc.mutation.rich-text-editing','params':{..._0x964ce7[_0x17c131]}},_0x2d1d15=this[_0x18cff1(0x20d)][_0x18cff1(0x3d9)](_0xaa78fd,_0x418d85,!0x1);if(_0x3b7057(_0x2d1d15))throw _0x2d1d15['error'];_0xaa78fd=_0x2d1d15[_0x18cff1(0x284)];}return{..._0x578e6a[_0x18cff1(0x1ff)](_0x57d76d),'mutations':[_0xaa78fd]};}[_0x2ae815(0x379)](_0x1b70ef){const _0x6011d3=_0x2ae815,{unitID:_0x6266d5}=_0x1b70ef,_0x24fdc9=this[_0x6011d3(0x388)][_0x6011d3(0x2b0)](_0x6266d5)[_0x6011d3(0x32c)](_0x5d503c),{undoCache:_0x278cc0,redoCache:_0x2533f7}=_0x24fdc9[_0x6011d3(0x26f)]();if(_0x278cc0[_0x6011d3(0x254)]===0x0||_0x2533f7[_0x6011d3(0x254)]===0x0)return;const _0x9b0c7c=[],_0x49731c=[];let _0x27cdba=_0x578e6a[_0x6011d3(0x1ff)](_0x1b70ef[_0x6011d3(0x312)][0x0]),_0x59cb4b=_0x578e6a[_0x6011d3(0x1ff)](_0x1b70ef[_0x6011d3(0x312)][0x0]);for(let _0x226ce7=_0x278cc0[_0x6011d3(0x254)]-0x1;_0x226ce7>=0x0;_0x226ce7--){const _0x37b353={'id':_0x6011d3(0x380),'params':{..._0x278cc0[_0x226ce7]}},_0x1eff80={'id':_0x6011d3(0x380),'params':{..._0x2533f7[_0x226ce7]}},_0x3fa3aa=this[_0x6011d3(0x20d)][_0x6011d3(0x3d9)](_0x27cdba,_0x37b353,!0x1),_0x529d5c=this[_0x6011d3(0x20d)]['transformMutation'](_0x59cb4b,_0x1eff80,!0x1);if(_0x3b7057(_0x3fa3aa))throw _0x3fa3aa[_0x6011d3(0x321)];if(_0x3b7057(_0x529d5c))throw _0x529d5c[_0x6011d3(0x321)];_0x9b0c7c[_0x6011d3(0x390)](_0x3fa3aa['m2Prime'][_0x6011d3(0x25e)]),_0x49731c[_0x6011d3(0x390)](_0x529d5c[_0x6011d3(0x39f)][_0x6011d3(0x25e)]),_0x27cdba=_0x3fa3aa[_0x6011d3(0x284)],_0x59cb4b=_0x529d5c[_0x6011d3(0x284)];}_0x24fdc9['setUndoRedoMutationParamsCache']({'undoCache':_0x9b0c7c,'redoCache':_0x49731c});}['_transformPreviousActiveRange'](_0x148419){const _0x5951a2=_0x2ae815,{unitID:_0x35fa82}=_0x148419,_0xa4a0de=this[_0x5951a2(0x388)][_0x5951a2(0x2b0)](_0x35fa82)[_0x5951a2(0x32c)](_0x5d503c),_0xcf1cd4=_0xa4a0de[_0x5951a2(0x391)]();if(_0xcf1cd4==null)return;const _0x2b2431=[{'id':_0x5951a2(0x380),'params':{'unitId':_0x148419[_0x5951a2(0x3ab)],'actions':null,'textRanges':[_0xcf1cd4]}}],_0x1bcea4=this['_transformService']['transformMutationsWithChangeset'](_0x148419,_0x2b2431);if(!_0x222375(_0x1bcea4))throw _0x1bcea4['error'];const _0x390c38=_0x1bcea4['m2Prime'][0x0][_0x5951a2(0x25e)][_0x5951a2(0x2e9)];Array[_0x5951a2(0x22d)](_0x390c38)&&_0x390c38[_0x5951a2(0x254)]&&_0xa4a0de[_0x5951a2(0x3ea)](_0x390c38[0x0]);}};ne=tn([pe(0x0,_0x49192a(_0x2b1a2d)),pe(0x1,_0x77f8a4),pe(0x2,_0x3cfe77)],ne);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x5a81d0,_0x1415fe,_0x186a62,_0xa33f53)=>{const _0x45bdb7=_0x2ae815;for(var _0x2fbc60=_0xa33f53>0x1?void 0x0:_0xa33f53?sn(_0x1415fe,_0x186a62):_0x1415fe,_0x1fcb46=_0x5a81d0[_0x45bdb7(0x254)]-0x1,_0x35e0c3;_0x1fcb46>=0x0;_0x1fcb46--)(_0x35e0c3=_0x5a81d0[_0x1fcb46])&&(_0x2fbc60=_0x35e0c3(_0x2fbc60)||_0x2fbc60);return _0x2fbc60;},Ce=(_0x341cc6,_0x87064d)=>(_0x4e8406,_0x48e636)=>_0x87064d(_0x4e8406,_0x48e636,_0x341cc6);let re=class{constructor(_0x3cb748,_0x3a35d5,_0x50251e){const _0x4c4ada=_0x2ae815;this[_0x4c4ada(0x2a1)]=_0x3cb748,this[_0x4c4ada(0x20d)]=_0x3a35d5,this[_0x4c4ada(0x38a)]=_0x50251e;}[_0x2ae815(0x383)](_0x3d5e86){const _0x2dc6fc=_0x2ae815;this[_0x2dc6fc(0x3dd)](_0x3d5e86);}[_0x2ae815(0x1fa)](_0x190d22){const _0xc19374=_0x2ae815,{unitID:_0x5a9ac8}=_0x190d22,{collaboration:_0x31b61e}=this[_0xc19374(0x38a)][_0xc19374(0x3a0)](_0x5a9ac8);if(_0x31b61e[_0xc19374(0x254)]===0x0)return _0x190d22;let _0x453447=_0x578e6a['deepClone'](_0x190d22['mutations'][0x0]);for(let _0x4f12ef=0x0;_0x4f12ef<_0x31b61e[_0xc19374(0x254)];_0x4f12ef++){const _0x1f91d0={'id':_0xc19374(0x380),'params':{'unitId':_0x31b61e[_0x4f12ef][_0xc19374(0x3d2)],..._0x31b61e[_0x4f12ef][_0xc19374(0x28d)]}},_0x44a2e2=this[_0xc19374(0x20d)][_0xc19374(0x3d9)](_0x453447,_0x1f91d0,!0x1);if(_0x3b7057(_0x44a2e2))throw _0x44a2e2['error'];_0x453447=_0x44a2e2[_0xc19374(0x284)];}return{..._0x578e6a[_0xc19374(0x1ff)](_0x190d22),'mutations':[_0x453447]};}[_0x2ae815(0x3dd)](_0x2e80d1){const _0x188cb0=_0x2ae815,{unitID:_0x2f7bba}=_0x2e80d1,{history:_0xdc031,collaboration:_0x4db90d}=this[_0x188cb0(0x38a)]['getStateCache'](_0x2f7bba);if(_0xdc031[_0x188cb0(0x254)]===0x0&&_0x4db90d[_0x188cb0(0x254)]===0x0)return;const _0x1538b4=[],_0x5c72be=[];let _0x25c458=_0x578e6a[_0x188cb0(0x1ff)](_0x2e80d1[_0x188cb0(0x312)][0x0]),_0x4050e0=_0x578e6a[_0x188cb0(0x1ff)](_0x2e80d1['mutations'][0x0]);for(let _0x56e040=_0xdc031['length']-0x1;_0x56e040>=0x0;_0x56e040--){const _0x39b025={'id':_0x188cb0(0x380),'params':{'unitId':_0xdc031[_0x56e040][_0x188cb0(0x3d2)],..._0xdc031[_0x56e040][_0x188cb0(0x38e)]}},_0x178039={'id':_0x188cb0(0x380),'params':{'unitId':_0xdc031[_0x56e040]['unitId'],..._0xdc031[_0x56e040]['redoState']}},_0x15c9e1=this[_0x188cb0(0x20d)][_0x188cb0(0x3d9)](_0x25c458,_0x39b025,!0x1),_0x25053c=this[_0x188cb0(0x20d)][_0x188cb0(0x3d9)](_0x4050e0,_0x178039,!0x1);if(_0x3b7057(_0x15c9e1))throw _0x15c9e1[_0x188cb0(0x321)];if(_0x3b7057(_0x25053c))throw _0x25053c[_0x188cb0(0x321)];_0x1538b4['unshift']({..._0xdc031[_0x56e040],'undoState':_0x15c9e1['m2Prime'][_0x188cb0(0x25e)],'redoState':_0x25053c['m2Prime'][_0x188cb0(0x25e)]}),_0x25c458=_0x15c9e1[_0x188cb0(0x284)],_0x4050e0=_0x25053c[_0x188cb0(0x284)];}_0x25c458=_0x578e6a[_0x188cb0(0x1ff)](_0x2e80d1[_0x188cb0(0x312)][0x0]),_0x4050e0=_0x578e6a[_0x188cb0(0x1ff)](_0x2e80d1[_0x188cb0(0x312)][0x0]);for(let _0x366ad2=_0x4db90d['length']-0x1;_0x366ad2>=0x0;_0x366ad2--){const _0x6d6e1a={'id':_0x188cb0(0x380),'params':{'unitId':_0x4db90d[_0x366ad2][_0x188cb0(0x3d2)],..._0x4db90d[_0x366ad2][_0x188cb0(0x38e)]}},_0x13f2e9={'id':_0x188cb0(0x380),'params':{'unitId':_0x4db90d[_0x366ad2][_0x188cb0(0x3d2)],..._0x4db90d[_0x366ad2][_0x188cb0(0x28d)]}},_0x2d931d=this[_0x188cb0(0x20d)][_0x188cb0(0x3d9)](_0x25c458,_0x6d6e1a,!0x1),_0x24c261=this[_0x188cb0(0x20d)][_0x188cb0(0x3d9)](_0x4050e0,_0x13f2e9,!0x1);if(_0x3b7057(_0x2d931d))throw _0x2d931d['error'];if(_0x3b7057(_0x24c261))throw _0x24c261[_0x188cb0(0x321)];_0x5c72be[_0x188cb0(0x390)]({..._0x4db90d[_0x366ad2],'undoState':_0x2d931d[_0x188cb0(0x39f)][_0x188cb0(0x25e)],'redoState':_0x24c261[_0x188cb0(0x39f)]['params']}),_0x25c458=_0x2d931d[_0x188cb0(0x284)],_0x4050e0=_0x24c261[_0x188cb0(0x284)];}this[_0x188cb0(0x38a)][_0x188cb0(0x244)](_0x2f7bba,{'history':_0x1538b4,'collaboration':_0x5c72be});}};re=nn([Ce(0x0,_0x49192a(_0x2b1a2d)),Ce(0x1,_0x77f8a4),Ce(0x2,_0x49192a(_0x36c05c))],re);var rn=Object[_0x2ae815(0x223)],on=(_0x36f9f8,_0x134f54,_0x3157f0,_0x122335)=>{const _0x50c5d0=_0x2ae815;for(var _0x1bc60a=_0x122335>0x1?void 0x0:_0x122335?rn(_0x134f54,_0x3157f0):_0x134f54,_0x2a7e1c=_0x36f9f8[_0x50c5d0(0x254)]-0x1,_0x32b189;_0x2a7e1c>=0x0;_0x2a7e1c--)(_0x32b189=_0x36f9f8[_0x2a7e1c])&&(_0x1bc60a=_0x32b189(_0x1bc60a)||_0x1bc60a);return _0x1bc60a;},tt=(_0x58612f,_0x3f3b3c)=>(_0x518805,_0x1044c9)=>_0x3f3b3c(_0x518805,_0x1044c9,_0x58612f);let oe=class{constructor(_0x15956a,_0x367ed7){const _0x11075b=_0x2ae815;this['_injector']=_0x15956a,this[_0x11075b(0x20d)]=_0x367ed7;}[_0x2ae815(0x21d)](_0x1a6c24){const _0x2890b5=_0x2ae815;var _0x524dff;const _0x88c02f=this[_0x2890b5(0x2a1)][_0x2890b5(0x31b)](_0x184719),_0x583303=(_0x524dff=_0x88c02f[_0x2890b5(0x20a)]())!=null?_0x524dff:[];if(_0x583303[_0x2890b5(0x254)]===0x0)return;const _0x3a5feb=_0x1a6c24[_0x2890b5(0x3ab)],_0x3f1f49=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3a5feb,'actions':null,'textRanges':_0x583303}}],_0x5481ad=this[_0x2890b5(0x20d)][_0x2890b5(0x3cc)](_0x1a6c24,_0x3f1f49);if(!_0x222375(_0x5481ad))throw _0x5481ad[_0x2890b5(0x321)];const _0x3be5a4=_0x5481ad[_0x2890b5(0x39f)][0x0][_0x2890b5(0x25e)][_0x2890b5(0x2e9)];Array[_0x2890b5(0x22d)](_0x3be5a4)&&_0x3be5a4[_0x2890b5(0x254)]&&_0x88c02f['replaceDocRanges'](_0x3be5a4,{'unitId':_0x3a5feb,'subUnitId':_0x3a5feb},!0x1);}};oe=on([tt(0x0,_0x49192a(_0x2b1a2d)),tt(0x1,_0x77f8a4)],oe);var an=Object['getOwnPropertyDescriptor'],cn=(_0x71b9a2,_0x4d9294,_0x216f13,_0xa32206)=>{const _0x51ef23=_0x2ae815;for(var _0x2c3e7a=_0xa32206>0x1?void 0x0:_0xa32206?an(_0x4d9294,_0x216f13):_0x4d9294,_0x54860d=_0x71b9a2[_0x51ef23(0x254)]-0x1,_0x56d0f9;_0x54860d>=0x0;_0x54860d--)(_0x56d0f9=_0x71b9a2[_0x54860d])&&(_0x2c3e7a=_0x56d0f9(_0x2c3e7a)||_0x2c3e7a);return _0x2c3e7a;},U=(_0x46fdc1,_0x378abf)=>(_0x4af255,_0x12cdcf)=>_0x378abf(_0x4af255,_0x12cdcf,_0x46fdc1);let ae=class extends _0x123ff0{constructor(_0x365665,_0x472e5e,_0x43ee62,_0x1568c2,_0x325f41,_0x51ceb8,_0x1b3b19,_0x4d38d6){const _0x5b03eb=_0x2ae815;super(),_(this,_0x5b03eb(0x359),new _0x5b919a(_0x26c424[_0x5b03eb(0x3b6)])),(this[_0x5b03eb(0x38a)]=_0x365665,this[_0x5b03eb(0x241)]=_0x472e5e,this[_0x5b03eb(0x3b5)]=_0x43ee62,this['_docTransformStateCacheService']=_0x1568c2,this[_0x5b03eb(0x2e0)]=_0x325f41,this[_0x5b03eb(0x37e)]=_0x51ceb8,this[_0x5b03eb(0x38f)]=_0x1b3b19,this[_0x5b03eb(0x286)]=_0x4d38d6,this[_0x5b03eb(0x30b)]());}[_0x2ae815(0x30b)](){const _0x1f013f=_0x2ae815;this[_0x1f013f(0x211)](this[_0x1f013f(0x241)][_0x1f013f(0x2c0)]['subscribe'](_0x4a986b=>{const _0x378d05=_0x1f013f,_0x51fbed=this[_0x378d05(0x38a)][_0x378d05(0x33c)][_0x378d05(0x38d)](_0x2a7bc8=>{const _0x5d12da=_0x378d05;if(_0x2a7bc8==null)return;const {unitId:_0x14b986,redoState:_0x249c88,commandId:_0x725279}=_0x2a7bc8;if(_0x14b986!==_0x4a986b[_0x5d12da(0x3ab)])return;const _0xd60469={'id':_0x725279,'type':_0x30bfa3[_0x5d12da(0x399)],'params':{'unitId':_0x14b986,'actions':_0x249c88[_0x5d12da(0x3af)],'textRanges':null}};_0x4a986b[_0x5d12da(0x2fa)](_0xd60469);});if(_0x4a986b[_0x378d05(0x211)](_0x51fbed),_0x4a986b instanceof _0x55424a){const _0x50aa76={'onTransformIME':_0x4c2bcb=>this[_0x378d05(0x3b5)][_0x378d05(0x32e)](_0x4c2bcb),'onTransformState':_0x57d87f=>this['_docTransformStateCacheService']['transformStateCache'](_0x57d87f),'onTransformSelections':_0x4de58e=>this['_docTransformSelectionsService']['transformSelections'](_0x4de58e),'onSyncEditingCollabCursor':_0xcc0ce=>this[_0x378d05(0x37e)]['syncEditingCollabCursor'](_0xcc0ce),'onTransformRemoteChangesetByIMECache':_0x3c3dad=>this[_0x378d05(0x3b5)][_0x378d05(0x1fa)](_0x3c3dad),'onTransformRemoteChangesetByStateCache':_0x168d1e=>this[_0x378d05(0x3be)]['transformRemoteChangeset'](_0x168d1e)};_0x4a986b[_0x378d05(0x315)](_0x50aa76);}}));}};ae=cn([U(0x0,_0x49192a(_0x36c05c)),U(0x1,_0x49192a(_0x3732e4)),U(0x2,_0x49192a(ne)),U(0x3,_0x49192a(re)),U(0x4,_0x49192a(oe)),U(0x5,_0x49192a(He)),U(0x6,_0x1742f7),U(0x7,_0x49192a(_0x196392))],ae);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x1d3a41,_0x51102d,_0x58ac82,_0x3a5b7a)=>{const _0x8d7035=_0x2ae815;for(var _0x11bace=_0x3a5b7a>0x1?void 0x0:_0x3a5b7a?ln(_0x51102d,_0x58ac82):_0x51102d,_0x1aac77=_0x1d3a41[_0x8d7035(0x254)]-0x1,_0x4f33aa;_0x1aac77>=0x0;_0x1aac77--)(_0x4f33aa=_0x1d3a41[_0x1aac77])&&(_0x11bace=_0x4f33aa(_0x11bace)||_0x11bace);return _0x11bace;},Ee=(_0x1dee96,_0x2fc24f)=>(_0x5f0c90,_0x19aa19)=>_0x2fc24f(_0x5f0c90,_0x19aa19,_0x1dee96);let we=class extends _0x123ff0{constructor(_0x5a8fa5,_0x4b43ee,_0x2f182a){const _0x5c85be=_0x2ae815;super(),_(this,_0x5c85be(0x371),new Map()),_(this,'_saveTaskMap',new Map()),_(this,_0x5c85be(0x2f8),!0x1),(this[_0x5c85be(0x27e)]=_0x5a8fa5,this[_0x5c85be(0x220)]=_0x4b43ee,this['_revisionService']=_0x2f182a);}[_0x2ae815(0x291)](){const _0x56ef57=_0x2ae815;this[_0x56ef57(0x2f8)]=!0x0;}[_0x2ae815(0x2d4)](){const _0x2254bc=_0x2ae815;this[_0x2254bc(0x2f8)]=!0x1;}get[_0x2ae815(0x269)](){const _0x413a31=_0x2ae815;return this[_0x413a31(0x2cd)];}[_0x2ae815(0x2bb)](){const _0x5b40b0=_0x2ae815;this[_0x5b40b0(0x2ad)]()[_0x5b40b0(0x2ec)](()=>super['dispose']());}async[_0x2ae815(0x31c)](_0x44e118){const _0x2df48b=_0x2ae815;return this['_disabled']?null:this['_localStorageService'][_0x2df48b(0x2da)](_0x4c8e21(_0x44e118));}async[_0x2ae815(0x351)](_0xb0df40,_0x298ff2){const _0x484643=_0x2ae815;return!!this[_0x484643(0x220)][_0x484643(0x2a9)](_0xb0df40,_0x298ff2);}['updateOfflineData'](_0x921703,_0x1d67d8,_0x1ebae2,_0x2dec45){const _0x2ba70a=_0x2ae815,_0xf9da8c=this[_0x2ba70a(0x245)][_0x2ba70a(0x1eb)](_0x921703);this[_0x2ba70a(0x371)][_0x2ba70a(0x2c1)](_0x921703,{'unitID':_0x921703,'type':_0x1d67d8,'awaitingChangeset':_0x1ebae2,'mutations':_0x2dec45,'rev':_0xf9da8c}),this[_0x2ba70a(0x2cd)][_0x2ba70a(0x346)](_0x921703)||this['_scheduleSaving'](_0x921703);}[_0x2ae815(0x295)](_0x43bc61){const _0x142421=_0x2ae815,_0x187d01=this[_0x142421(0x3de)]();_0x187d01===0x0?this[_0x142421(0x2dd)](_0x43bc61):this[_0x142421(0x2cd)][_0x142421(0x2c1)](_0x43bc61,setTimeout(()=>this['_saveCache'](_0x43bc61),_0x187d01));}[_0x2ae815(0x3de)](){const _0xf2d4ae=_0x2ae815;var _0x24ac10;return(_0x24ac10=this[_0xf2d4ae(0x27e)][_0xf2d4ae(0x1fe)](_0x4dceaa))!=null?_0x24ac10:_0x318a8c;}[_0x2ae815(0x2dd)](_0x39ef91){const _0x303ce2=_0x2ae815,_0x50d926=this[_0x303ce2(0x2cd)][_0x303ce2(0x31b)](_0x39ef91);return _0x50d926!==void 0x0&&window['clearTimeout'](_0x50d926),this[_0x303ce2(0x220)]['setItem'](_0x4c8e21(_0x39ef91),this[_0x303ce2(0x371)][_0x303ce2(0x31b)](_0x39ef91))['then'](()=>this[_0x303ce2(0x2cd)][_0x303ce2(0x373)](_0x39ef91));}async['exhaustSavingTask'](){const _0x5e8b72=_0x2ae815,_0x4a1e7c=[];this[_0x5e8b72(0x2cd)][_0x5e8b72(0x2a8)]((_0x3e2146,_0x226e56)=>{const _0x41c967=_0x5e8b72;window[_0x41c967(0x36c)](_0x3e2146),_0x4a1e7c[_0x41c967(0x3aa)](this[_0x41c967(0x2dd)](_0x226e56)['then'](()=>{const _0xbfc058=_0x41c967;this[_0xbfc058(0x2cd)][_0xbfc058(0x373)](_0x226e56);}));}),await Promise[_0x5e8b72(0x2fe)](_0x4a1e7c);}};we=_n([Ee(0x0,_0x1a7e11),Ee(0x1,_0xd62bcd),Ee(0x2,_0x49192a(_0x101993))],we);class hn extends _0x52f50e{constructor(){const _0x45d619=_0x2ae815;super(),_(this,'urlChange$'),this[_0x45d619(0x255)]=_0x44f2a7(window,_0x45d619(0x298))['pipe'](_0x414215(this[_0x45d619(0x328)]),_0x3f8bf0(0x1),_0x385ef4(void 0x0));}[_0x2ae815(0x209)](_0xdd59,_0x4367c6,_0x290d17=!0x1){const _0x254e38=_0x2ae815,_0x1d6088=new URL(window[_0x254e38(0x224)][_0x254e38(0x1f0)]);_0x1d6088['searchParams'][_0x254e38(0x2c1)](_0xdd59,_0x4367c6),_0x290d17?window[_0x254e38(0x28a)]['replaceState']('','',_0x1d6088[_0x254e38(0x242)]()):window['history'][_0x254e38(0x2b4)]('','',_0x1d6088[_0x254e38(0x242)]());}[_0x2ae815(0x2e2)](_0x571cde,_0x29d6c5=!0x1){const _0x51d9cb=_0x2ae815,_0x2cfa60=new URL(window[_0x51d9cb(0x224)]['href']);_0x2cfa60[_0x51d9cb(0x3bf)][_0x51d9cb(0x373)](_0x571cde),_0x29d6c5?window[_0x51d9cb(0x28a)]['replaceState']('','',_0x2cfa60[_0x51d9cb(0x242)]()):window[_0x51d9cb(0x28a)][_0x51d9cb(0x2b4)]('','',_0x2cfa60['toString']());}[_0x2ae815(0x2e4)](_0x378179){const _0x3e30f9=_0x2ae815;var _0x444916;return(_0x444916=new URL(window[_0x3e30f9(0x224)][_0x3e30f9(0x1f0)])['searchParams'][_0x3e30f9(0x31b)](_0x378179))!=null?_0x444916:void 0x0;}}var un=Object[_0x2ae815(0x325)],dn=Object[_0x2ae815(0x223)],fn=(_0x249003,_0xe3990d,_0x4a219b)=>_0xe3990d in _0x249003?un(_0x249003,_0xe3990d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4a219b}):_0x249003[_0xe3990d]=_0x4a219b,Sn=(_0x5ad19d,_0x491e3e,_0x3f87d0,_0x3de26d)=>{const _0x501acb=_0x2ae815;for(var _0x391f9d=_0x3de26d>0x1?void 0x0:_0x3de26d?dn(_0x491e3e,_0x3f87d0):_0x491e3e,_0x541fab=_0x5ad19d[_0x501acb(0x254)]-0x1,_0x504df2;_0x541fab>=0x0;_0x541fab--)(_0x504df2=_0x5ad19d[_0x541fab])&&(_0x391f9d=_0x504df2(_0x391f9d)||_0x391f9d);return _0x391f9d;},Oe=(_0x4a3094,_0x222bdc)=>(_0x2420de,_0x145f44)=>_0x222bdc(_0x2420de,_0x145f44,_0x4a3094),mn=(_0x226fcf,_0x3cb0a4,_0x1d250d)=>fn(_0x226fcf,_0x3cb0a4+'',_0x1d250d);const In='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ae=class extends _0x161816{constructor(_0x373c39=et,_0x4542a7,_0x204a18,_0x247d0d){const _0x287f38=_0x2ae815;super(),this[_0x287f38(0x1fb)]=_0x373c39,this[_0x287f38(0x388)]=_0x4542a7,this['_injector']=_0x204a18,this[_0x287f38(0x27e)]=_0x247d0d;const {..._0x3a3052}=_0x26c666({},et,this[_0x287f38(0x1fb)]);this[_0x287f38(0x27e)][_0x287f38(0x1ef)](Zi,_0x3a3052);}[_0x2ae815(0x374)](){const _0x538ccf=_0x2ae815;this[_0x538ccf(0x1ea)](),this[_0x538ccf(0x260)]();}[_0x2ae815(0x22f)](){this['_registerRenderDependencies']();}[_0x2ae815(0x1ea)](){var _0x1cac2d;const _0xd63e17=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x519693,{'useClass':_0x35cf48}],[_0x1fc3bf,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x43bded(this['_injector'],_0x394c93(_0xd63e17,(_0x1cac2d=this['_config'])==null?void 0x0:_0x1cac2d['override']));}[_0x2ae815(0x2ce)](){const _0x57b543=_0x2ae815;this[_0x57b543(0x211)](this['_renderManagerService']['registerRenderModule'](_0x228d13[_0x57b543(0x3e8)],[Le])),this[_0x57b543(0x211)](this[_0x57b543(0x388)]['registerRenderModule'](_0x228d13[_0x57b543(0x27a)],[Pe]));}[_0x2ae815(0x260)](){const _0x53a069=_0x2ae815;_0x10d8b7(this[_0x53a069(0x2a1)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,'pluginName',In),Ae=Sn([_0x5405de(_0x5c7199),Oe(0x1,_0x3cfe77),Oe(0x2,_0x49192a(_0x2b1a2d)),Oe(0x3,_0x1a7e11)],Ae);var gn=Object[_0x2ae815(0x223)],vn=(_0x78395e,_0x85cecf,_0x2626ae,_0x49482c)=>{for(var _0x1f7131=_0x49482c>0x1?void 0x0:_0x49482c?gn(_0x85cecf,_0x2626ae):_0x85cecf,_0x4905bd=_0x78395e['length']-0x1,_0x31256b;_0x4905bd>=0x0;_0x4905bd--)(_0x31256b=_0x78395e[_0x4905bd])&&(_0x1f7131=_0x31256b(_0x1f7131)||_0x1f7131);return _0x1f7131;},K=(_0x4397f1,_0x2208ae)=>(_0x2e5c34,_0x4f7749)=>_0x2208ae(_0x2e5c34,_0x4f7749,_0x4397f1);let st=class extends _0x2cdb51{constructor(_0x5bfa21,_0x322adf,_0x4c1e91,_0x7f8be2,_0x526cc2){super(_0x5bfa21,_0x322adf,_0x4c1e91,_0x7f8be2,_0x526cc2);}async[_0x2ae815(0x1f1)](_0xac61f8){const _0x539817=_0x2ae815,_0x2d1a94=await this[_0x539817(0x28f)](),_0x5c677f=this['_createSocketURL'](_0xac61f8,_0x2d1a94);return this[_0x539817(0x2d8)](_0x5c677f);}['_createSocketURL'](_0x31c74a,_0x117583){const _0x535687=_0x2ae815,_0x3ca070=typeof window>'u'?new URL(_0x31c74a):new URL(_0x31c74a,window['location']['origin']);_0x3ca070[_0x535687(0x3bf)]['set'](_0x535687(0x1e5),_0x117583);const _0x2d8c65=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x535687(0x224)][_0x535687(0x377)]);return _0x2d8c65[_0x535687(0x31b)](_0x535687(0x3a3))&&_0x3ca070[_0x535687(0x3bf)][_0x535687(0x2c1)](_0x535687(0x3a3),_0x2d8c65['get'](_0x535687(0x3a3))),_0x3ca070['toString']();}async[_0x2ae815(0x28f)](){const _0x198971=_0x2ae815;var _0x29ade9,_0x303126,_0x23206b;const _0xbe085=this[_0x198971(0x27e)][_0x198971(0x1fe)](_0x35f8d6),_0x87f549=(_0x29ade9=_0xbe085==null?void 0x0:_0xbe085[_0x198971(0x226)])!=null?_0x29ade9:_0x1c62f1;return(_0x23206b=(_0x303126=(await this[_0x198971(0x250)][_0x198971(0x31b)](_0x87f549,{'headers':{'Content-Type':_0x198971(0x349)}}))['body'])==null?void 0x0:_0x303126[_0x198971(0x327)])!=null?_0x23206b:'';}};st=vn([K(0x0,_0x49192a(_0x2b1a2d)),K(0x1,_0x49192a(_0x494073)),K(0x2,_0x1a7e11),K(0x3,_0xca71c3),K(0x4,_0x37352d)],st);const it=0x7530,nt=_0x2ae815(0x2aa);class Fn extends _0x123ff0{constructor(){const _0x448ab9=_0x2ae815;super(),_(this,'_id',_0x20ce64()),_(this,'_selfUnitIDs',new Set()),_(this,_0x448ab9(0x3c1),new Map()),_(this,_0x448ab9(0x28c),null),_(this,_0x448ab9(0x285),new Map()),_(this,_0x448ab9(0x347),new Map()),this['_init']();}[_0x2ae815(0x2bb)](){const _0x51ccce=_0x2ae815;super['dispose'](),this['_clearOtherTimers'][_0x51ccce(0x2a8)]((_0x5c9faf,_0x5a81fe)=>this['_removeClearOtherTimer'](_0x5a81fe)),this[_0x51ccce(0x28c)]&&window[_0x51ccce(0x2fd)](this[_0x51ccce(0x28c)]);}[_0x2ae815(0x2c2)](_0x28e408){const _0x29a2a9=_0x2ae815;return this[_0x29a2a9(0x342)](_0x28e408)['pipe'](_0x4ba13c());}[_0x2ae815(0x389)](_0x434dd5){const _0x45779c=_0x2ae815;this[_0x45779c(0x382)][_0x45779c(0x2ab)]===0x0&&this[_0x45779c(0x375)](),this[_0x45779c(0x382)][_0x45779c(0x2f4)](_0x434dd5),this[_0x45779c(0x384)]({'type':0x0,'memberID':this[_0x45779c(0x2d3)],'unitIDs':[_0x434dd5],'isForwarded':!0x1});}[_0x2ae815(0x200)](_0x537df9){const _0x13af2c=_0x2ae815;this[_0x13af2c(0x382)]['delete'](_0x537df9),this['_selfUnitIDs'][_0x13af2c(0x2ab)]===0x0&&this[_0x13af2c(0x28c)]&&window[_0x13af2c(0x2fd)](this[_0x13af2c(0x28c)]);}[_0x2ae815(0x214)](){const _0x4495be=_0x2ae815;this[_0x4495be(0x211)](_0x359686(_0x44f2a7(window,_0x4495be(0x2f3))[_0x4495be(0x38d)](_0x3e0389=>{const _0x478667=_0x4495be;if(_0x3e0389[_0x478667(0x3bd)]!==nt||!_0x3e0389['newValue'])return;const _0x18c8e2=JSON[_0x478667(0x31f)](_0x3e0389[_0x478667(0x3ba)]);this[_0x478667(0x276)](_0x18c8e2);}))),window[_0x4495be(0x28e)]('unload',()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x4495be(0x382)])}));}[_0x2ae815(0x276)](_0x3d77ea){const _0x191035=_0x2ae815;switch(_0x3d77ea[_0x191035(0x34c)]){case 0x0:this[_0x191035(0x208)](_0x3d77ea);break;case 0x1:this[_0x191035(0x369)](_0x3d77ea);break;case 0x2:this[_0x191035(0x299)](_0x3d77ea);break;}}[_0x2ae815(0x208)](_0x3fd5b2){const _0x9284e5=_0x2ae815,{unitIDs:_0x3ee4b5,memberID:_0x389b34,isForwarded:_0x4e7e3e}=_0x3fd5b2;_0x3ee4b5[_0x9284e5(0x2a8)](_0x42b7de=>{const _0x3a82a0=_0x9284e5;if(!_0x4e7e3e&&this[_0x3a82a0(0x3c1)][_0x3a82a0(0x346)](_0x42b7de)&&this[_0x3a82a0(0x342)](_0x42b7de)[_0x3a82a0(0x215)](_0x2d4cd9[_0x3a82a0(0x2b5)]),!this[_0x3a82a0(0x3c1)][_0x3a82a0(0x346)](_0x42b7de)||!this[_0x3a82a0(0x3c1)][_0x3a82a0(0x31b)](_0x42b7de)[_0x3a82a0(0x346)](_0x389b34)){const _0x14f8d0=this[_0x3a82a0(0x3c1)][_0x3a82a0(0x31b)](_0x42b7de)||new Set();_0x14f8d0[_0x3a82a0(0x2f4)](_0x389b34),this[_0x3a82a0(0x3c1)][_0x3a82a0(0x2c1)](_0x42b7de,_0x14f8d0),this[_0x3a82a0(0x212)](_0x389b34);}}),_0x4e7e3e||this[_0x9284e5(0x384)]({'type':0x0,'memberID':this[_0x9284e5(0x2d3)],'unitIDs':[...this[_0x9284e5(0x382)]],'isForwarded':!0x0});}[_0x2ae815(0x212)](_0x55f616){const _0x517e45=_0x2ae815;this[_0x517e45(0x1f3)](_0x55f616);const _0x239526=window['setTimeout'](()=>{const _0x38813f=_0x517e45;this[_0x38813f(0x3c1)][_0x38813f(0x2a8)](_0x572d0f=>{_0x572d0f['delete'](_0x55f616);});},it*0x2);this['_clearOtherTimers'][_0x517e45(0x2c1)](_0x55f616,_0x239526);}['_removeClearOtherTimer'](_0x3c5a92){const _0x4fe1df=_0x2ae815;if(this[_0x4fe1df(0x285)][_0x4fe1df(0x346)](_0x3c5a92)){const _0x4d0587=this[_0x4fe1df(0x285)][_0x4fe1df(0x31b)](_0x3c5a92);_0x4d0587&&window[_0x4fe1df(0x36c)](_0x4d0587),this[_0x4fe1df(0x285)][_0x4fe1df(0x2c1)](_0x3c5a92,null);}}['_handleLeaveEvent'](_0x43f2f2){const _0x1440bc=_0x2ae815,{memberID:_0x243bc3,unitIDs:_0x597b54}=_0x43f2f2;_0x597b54[_0x1440bc(0x2a8)](_0x13de25=>{const _0x2a9ba0=_0x1440bc;var _0xc5cc23;const _0x1fe217=this[_0x2a9ba0(0x3c1)][_0x2a9ba0(0x31b)](_0x13de25);_0x1fe217&&(_0x1fe217['delete'](_0x243bc3),(_0xc5cc23=this[_0x2a9ba0(0x342)](_0x13de25))==null||_0xc5cc23[_0x2a9ba0(0x215)](_0x1fe217[_0x2a9ba0(0x2ab)]===0x0?_0x2d4cd9[_0x2a9ba0(0x293)]:_0x2d4cd9['OTHER_CLIENTS_EDITING']));}),this[_0x1440bc(0x1f3)](_0x243bc3);}['_handleHeartbeatEvent'](_0x3f9ec6){const _0x1dcc8c=_0x2ae815;this[_0x1dcc8c(0x212)](_0x3f9ec6['memberID']);}[_0x2ae815(0x384)](_0x27af36){const _0xcc0107=_0x2ae815;localStorage[_0xcc0107(0x2a9)](nt,JSON[_0xcc0107(0x20e)](_0x27af36));}[_0x2ae815(0x375)](){const _0x3dc456=_0x2ae815;this[_0x3dc456(0x28c)]=window['setInterval'](()=>{const _0x239d49=_0x3dc456;this[_0x239d49(0x384)]({'type':0x2,'memberID':this[_0x239d49(0x2d3)]});},it);}[_0x2ae815(0x342)](_0xd22f04){const _0xe45e17=_0x2ae815;return this[_0xe45e17(0x347)][_0xe45e17(0x346)](_0xd22f04)||this['_unitStatus'][_0xe45e17(0x2c1)](_0xd22f04,new _0x5b919a(_0x2d4cd9[_0xe45e17(0x293)])),this[_0xe45e17(0x347)][_0xe45e17(0x31b)](_0xd22f04);}}var Mt=(_0x1b3014=>(_0x1b3014[_0x1b3014[_0x2ae815(0x396)]=0x0]=_0x2ae815(0x396),_0x1b3014[_0x1b3014['OK']=0x1]='OK',_0x1b3014[_0x1b3014['INTERNAL_ERROR']=0x2]=_0x2ae815(0x2af),_0x1b3014[_0x1b3014[_0x2ae815(0x210)]=0x3]=_0x2ae815(0x210),_0x1b3014[_0x1b3014[_0x2ae815(0x3e7)]=0x4]=_0x2ae815(0x3e7),_0x1b3014[_0x1b3014[_0x2ae815(0x2e3)]=0x5]='UNAUTHENTICATED',_0x1b3014[_0x1b3014[_0x2ae815(0x280)]=0x6]='ALREADY_EXISTS',_0x1b3014[_0x1b3014['INVALID_ARGUMENT']=0x7]=_0x2ae815(0x264),_0x1b3014[_0x1b3014['TOO_MANY_REQUESTS']=0x8]=_0x2ae815(0x2ca),_0x1b3014[_0x1b3014[_0x2ae815(0x3e3)]=0x9]='COMPLETION_FINISHED',_0x1b3014[_0x1b3014['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x1b3014[_0x1b3014[_0x2ae815(0x2e6)]=0xb]=_0x2ae815(0x2e6),_0x1b3014[_0x1b3014['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x2ae815(0x3b9),_0x1b3014[_0x1b3014[_0x2ae815(0x370)]=0xd]=_0x2ae815(0x370),_0x1b3014[_0x1b3014['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x2ae815(0x2a3),_0x1b3014[_0x1b3014[_0x2ae815(0x303)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x1b3014[_0x1b3014[_0x2ae815(0x1f6)]=0x1771]=_0x2ae815(0x1f6),_0x1b3014[_0x1b3014['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x2ae815(0x30a),_0x1b3014[_0x1b3014['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x2ae815(0x2a6),_0x1b3014[_0x1b3014[_0x2ae815(0x25d)]=0x1b59]=_0x2ae815(0x25d),_0x1b3014[_0x1b3014[_0x2ae815(0x3c7)]=0x1b5a]=_0x2ae815(0x3c7),_0x1b3014[_0x1b3014[_0x2ae815(0x26c)]=0x1b5b]=_0x2ae815(0x26c),_0x1b3014[_0x1b3014[_0x2ae815(0x218)]=0x1b5c]=_0x2ae815(0x218),_0x1b3014[_0x1b3014[_0x2ae815(0x21e)]=0x1b5d]=_0x2ae815(0x21e),_0x1b3014[_0x1b3014[_0x2ae815(0x23d)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x1b3014[_0x1b3014['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x2ae815(0x330),_0x1b3014[_0x1b3014[_0x2ae815(0x297)]=0x232a]=_0x2ae815(0x297),_0x1b3014[_0x1b3014[_0x2ae815(0x3d1)]=0x232b]=_0x2ae815(0x3d1),_0x1b3014[_0x1b3014[_0x2ae815(0x3a6)]=0x232c]=_0x2ae815(0x3a6),_0x1b3014[_0x1b3014[_0x2ae815(0x2f2)]=0x232d]=_0x2ae815(0x2f2),_0x1b3014[_0x1b3014[_0x2ae815(0x233)]=0x2711]=_0x2ae815(0x233),_0x1b3014[_0x1b3014['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x2ae815(0x296),_0x1b3014[_0x1b3014[_0x2ae815(0x2ef)]=0x2713]=_0x2ae815(0x2ef),_0x1b3014[_0x1b3014[_0x2ae815(0x22e)]=0x2714]=_0x2ae815(0x22e),_0x1b3014[_0x1b3014[_0x2ae815(0x2fb)]=0x271a]=_0x2ae815(0x2fb),_0x1b3014[_0x1b3014['YUUMI_ASYNCIO_CANCELLED']=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x1b3014[_0x1b3014[_0x2ae815(0x318)]=0x271c]=_0x2ae815(0x318),_0x1b3014[_0x1b3014[_0x2ae815(0x395)]=0x271d]=_0x2ae815(0x395),_0x1b3014[_0x1b3014['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x1b3014[_0x1b3014[_0x2ae815(0x367)]=0x271f]=_0x2ae815(0x367),_0x1b3014[_0x1b3014[_0x2ae815(0x261)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x1b3014[_0x1b3014[_0x2ae815(0x26b)]=0x2af9]=_0x2ae815(0x26b),_0x1b3014[_0x1b3014['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x2ae815(0x282),_0x1b3014[_0x1b3014[_0x2ae815(0x3c4)]=0x2ee2]=_0x2ae815(0x3c4),_0x1b3014[_0x1b3014[_0x2ae815(0x2d7)]=0x2ee3]=_0x2ae815(0x2d7),_0x1b3014[_0x1b3014[_0x2ae815(0x246)]=0x2ee4]=_0x2ae815(0x246),_0x1b3014[_0x1b3014['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x2ae815(0x32f),_0x1b3014[_0x1b3014[_0x2ae815(0x2be)]=0x32c9]=_0x2ae815(0x2be),_0x1b3014[_0x1b3014[_0x2ae815(0x236)]=0x32ca]=_0x2ae815(0x236),_0x1b3014[_0x1b3014[_0x2ae815(0x2b1)]=0x32cb]=_0x2ae815(0x2b1),_0x1b3014[_0x1b3014[_0x2ae815(0x350)]=-0x1]='UNRECOGNIZED',_0x1b3014))(Mt||{}),pn=Object[_0x2ae815(0x223)],Cn=(_0x1c5bd9,_0x3c0254,_0x51a124,_0x170eff)=>{for(var _0x45fd27=_0x170eff>0x1?void 0x0:_0x170eff?pn(_0x3c0254,_0x51a124):_0x3c0254,_0x1aa300=_0x1c5bd9['length']-0x1,_0x342cfd;_0x1aa300>=0x0;_0x1aa300--)(_0x342cfd=_0x1c5bd9[_0x1aa300])&&(_0x45fd27=_0x342cfd(_0x45fd27)||_0x45fd27);return _0x45fd27;},be=(_0x27bf62,_0x523311)=>(_0x20498d,_0x668002)=>_0x523311(_0x20498d,_0x668002,_0x27bf62);let rt=class extends _0x123ff0{constructor(_0x38f444,_0xfe4ecc,_0x51af4f){const _0x11f883=_0x2ae815;super(),this['_instanceService']=_0x38f444,this[_0x11f883(0x250)]=_0xfe4ecc,this[_0x11f883(0x27e)]=_0x51af4f;}async[_0x2ae815(0x203)](_0x442d79,_0x2b4cf7,_0x2cb0fe,..._0x4b87d9){const _0x1348b2=_0x2ae815;var _0x3881e1,_0x31966f,_0x1d840d,_0x5795d2;const _0x638678=this[_0x1348b2(0x22a)][_0x1348b2(0x251)]();if(!_0x638678)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x59fff8=((_0x3881e1=this[_0x1348b2(0x27e)][_0x1348b2(0x1fe)](_0x6c9c18))!=null?_0x3881e1:_0xf52bc0)+'/'+_0x442d79+_0x1348b2(0x23c)+_0x2b4cf7,_0x1b6f82=new URL(window[_0x1348b2(0x224)][_0x1348b2(0x1f0)]),_0x543bc4={'scriptId':_0x442d79,'runId':(_0x31966f=_0x1b6f82[_0x1348b2(0x3bf)]['get'](_0x1348b2(0x3a3)))!=null?_0x31966f:'','function':_0x2b4cf7,'unitId':_0x638678[_0x1348b2(0x2c9)](),'argsOfFunction':JSON[_0x1348b2(0x20e)](_0x4b87d9),'invokeId':(_0x1d840d=_0x2cb0fe[_0x1348b2(0x322)])!=null?_0x1d840d:'','executionId':(_0x5795d2=_0x2cb0fe[_0x1348b2(0x270)])!=null?_0x5795d2:''};try{const _0x1922fa=await this[_0x1348b2(0x250)]['post'](_0x59fff8,{'body':_0x543bc4});return _0x1922fa[_0x1348b2(0x2a5)][_0x1348b2(0x321)]&&_0x1922fa[_0x1348b2(0x2a5)][_0x1348b2(0x321)][_0x1348b2(0x268)]!==Mt['OK']?_0x1348b2(0x304):_0x1922fa[_0x1348b2(0x2a5)][_0x1348b2(0x2f5)];}catch{return _0x1348b2(0x304);}}};rt=Cn([be(0x0,_0x4bbc96),be(0x1,_0x49192a(_0x494073)),be(0x2,_0x1a7e11)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Wi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x2c54ad=_0x1c2f;(function(_0x2ec373,_0x312d86){const _0xb5bd5b=_0x1c2f,_0x24d70a=_0x2ec373();while(!![]){try{const _0x304347=-parseInt(_0xb5bd5b(0x101))/0x1+-parseInt(_0xb5bd5b(0x108))/0x2*(parseInt(_0xb5bd5b(0x10a))/0x3)+-parseInt(_0xb5bd5b(0x10d))/0x4*(parseInt(_0xb5bd5b(0xfa))/0x5)+-parseInt(_0xb5bd5b(0x10b))/0x6+-parseInt(_0xb5bd5b(0x10c))/0x7+-parseInt(_0xb5bd5b(0x103))/0x8*(parseInt(_0xb5bd5b(0xfd))/0x9)+parseInt(_0xb5bd5b(0x105))/0xa;if(_0x304347===_0x312d86)break;else _0x24d70a['push'](_0x24d70a['shift']());}catch(_0x28947c){_0x24d70a['push'](_0x24d70a['shift']());}}}(_0x5e5a,0xba034));function _0x5e5a(){const _0x304da2=['205756bLWOFW','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Synced','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','135ucapnG','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Connection\x20failed,\x20please\x20check\x20your\x20network.','3939876vrOaUz','Edit\x20conflicts','Syncing\x20server\x20data...','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','257238nfeffh','Authentication\x20Error','8NLphng','Collaboration\x20Conflict','39950460KxIRHK','Syncing...','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','941438REwZDh','Local\x20file','3qEOwgi','58884XuJChT','4681250ObeICz'];_0x5e5a=function(){return _0x304da2;};return _0x5e5a();}const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x2c54ad(0xff),'conflict':_0x2c54ad(0xfe),'notCollab':_0x2c54ad(0x109),'synced':_0x2c54ad(0x10f),'syncing':_0x2c54ad(0x106),'offline':_0x2c54ad(0x100)},'session':{'connection-failed':_0x2c54ad(0xfc),'will-retry':_0x2c54ad(0x110),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x2c54ad(0xfb)},'conflict':{'title':_0x2c54ad(0x104),'content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':_0x2c54ad(0x102),'content':_0x2c54ad(0x107)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x2c54ad(0x10e)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};function _0x1c2f(_0xf3e715,_0xc149df){const _0x5e5aff=_0x5e5a();return _0x1c2f=function(_0x1c2f68,_0x3bb196){_0x1c2f68=_0x1c2f68-0xfa;let _0x57f435=_0x5e5aff[_0x1c2f68];return _0x57f435;},_0x1c2f(_0xf3e715,_0xc149df);}export{e as default};
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x36ef(_0x38ae2a,_0xa4f741){const _0x34ad52=_0x34ad();return _0x36ef=function(_0x36ef74,_0x18c6a2){_0x36ef74=_0x36ef74-0x1c1;let _0x514b44=_0x34ad52[_0x36ef74];return _0x514b44;},_0x36ef(_0x38ae2a,_0xa4f741);}function _0x34ad(){const _0x2c2335=['سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','در\x20حال\x20همگام\x20سازی...','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','همگام\x20سازی','10ZLgRYT','خطای\x20اعتبارسنجی','894741vMNukg','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','197050Tuqcmh','2016642ytLfTS','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','2057202eyyHCq','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','تداخل\x20همکاری','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','پرونده\x20محلی','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','4yRVUcg','2390096bhdXKC','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','1786014kMiArI','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','677162DSjoIU','2syoonA'];_0x34ad=function(){return _0x2c2335;};return _0x34ad();}const _0x57d2a0=_0x36ef;(function(_0x15d5ea,_0x30a91c){const _0x5d0283=_0x36ef,_0x5cf63d=_0x15d5ea();while(!![]){try{const _0x359112=-parseInt(_0x5d0283(0x1c4))/0x1*(-parseInt(_0x5d0283(0x1c3))/0x2)+-parseInt(_0x5d0283(0x1cb))/0x3+parseInt(_0x5d0283(0x1d7))/0x4*(parseInt(_0x5d0283(0x1cd))/0x5)+parseInt(_0x5d0283(0x1ce))/0x6+-parseInt(_0x5d0283(0x1d0))/0x7+-parseInt(_0x5d0283(0x1d8))/0x8+parseInt(_0x5d0283(0x1c1))/0x9*(parseInt(_0x5d0283(0x1c9))/0xa);if(_0x359112===_0x30a91c)break;else _0x5cf63d['push'](_0x5cf63d['shift']());}catch(_0x1566db){_0x5cf63d['push'](_0x5cf63d['shift']());}}}(_0x34ad,0x57f26));const o={'collab-client':{'tooltip':{'reconnect':_0x57d2a0(0x1d5)}},'collabStatus':{'fetchMiss':_0x57d2a0(0x1c2),'conflict':'تداخل\x20ویرایش','notCollab':_0x57d2a0(0x1d4),'synced':_0x57d2a0(0x1c8),'syncing':_0x57d2a0(0x1c6),'offline':_0x57d2a0(0x1cf)},'session':{'connection-failed':_0x57d2a0(0x1d6),'will-retry':_0x57d2a0(0x1c7),'room-full':_0x57d2a0(0x1d9),'collaboration-timeout':_0x57d2a0(0x1c5)},'conflict':{'title':_0x57d2a0(0x1d2),'content':_0x57d2a0(0x1d1)},'permission':{'title':_0x57d2a0(0x1ca),'content':'اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'collaboration':{'single-unit':{'warning':_0x57d2a0(0x1d3)},'closeRoom':_0x57d2a0(0x1cc)},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};export{o as default};
|