@univerjs-pro/collaboration-client-ui 0.8.0-nightly.202505281606 → 0.8.0-nightly.202505291607
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/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/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/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/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/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x957043=_0x2011;(function(_0x4302d4,_0x1f351c){const _0x757fe5=_0x2011,_0x198864=_0x4302d4();while(!![]){try{const _0x51f9e7=parseInt(_0x757fe5(0x2de))/0x1+-parseInt(_0x757fe5(0x2db))/0x2+parseInt(_0x757fe5(0x396))/0x3*(-parseInt(_0x757fe5(0x2b6))/0x4)+-parseInt(_0x757fe5(0x290))/0x5*(parseInt(_0x757fe5(0x3ac))/0x6)+-parseInt(_0x757fe5(0x258))/0x7+parseInt(_0x757fe5(0x3eb))/0x8+-parseInt(_0x757fe5(0x35d))/0x9*(-parseInt(_0x757fe5(0x315))/0xa);if(_0x51f9e7===_0x1f351c)break;else _0x198864['push'](_0x198864['shift']());}catch(_0x5c0951){_0x198864['push'](_0x198864['shift']());}}}(_0x16b5,0xadce5));var $t=Object['defineProperty'],xt=(_0x309353,_0x116098,_0x2d35ef)=>_0x116098 in _0x309353?$t(_0x309353,_0x116098,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d35ef}):_0x309353[_0x116098]=_0x2d35ef,_=(_0xc96716,_0x18bdb1,_0x4d9eb8)=>xt(_0xc96716,typeof _0x18bdb1!=_0x957043(0x281)?_0x18bdb1+'':_0x18bdb1,_0x4d9eb8);import{MemberService as _0xea46d,SessionStatus as _0x150b64,CollaborationSessionService as _0x339ffc,CollaborationStatus as _0x381834,CollaborationController as _0xb4f4a1,ILocalCacheService as _0x5a319b,CollaborationUIEventService as _0x53f425,CollaborationUIEventId as _0x55ae13,DataLoaderService as _0x1fab07,DocCollaborationEntity as _0x15a596,getLocalCacheKey as _0x40f1fa,LOCAL_CACHE_INTERVAL as _0x21a9c4,LOCAL_CACHE_INTERVAL_KEY as _0x401078,UniverCollaborationClientPlugin as _0x2b25da,CollaborationSocketService as _0x103486,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x54b645,DEFAULT_WS_SESSION_TICKET_URL as _0x2c21f0,UnitStatus as _0x569233,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x1fe298,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x4155e4}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x22c522,Disposable as _0x4a6261,DOC_RANGE_TYPE as _0x586938,Inject as _0x79b2b4,Injector as _0x2f259a,IUniverInstanceService as _0x16f134,ICommandService as _0x46c5a2,debounce as _0x4eca6e,Rectangle as _0x5ea943,DisposableCollection as _0x147e2e,toDisposable as _0x197fb6,UniverInstanceType as _0x11e791,Tools as _0x5b06e2,COLORS as _0x764413,ColorKit as _0x288e7f,ThemeService as _0x490aa5,fromEventSubject as _0x4bc1b9,LocaleService as _0x1476d7,createIdentifier as _0xe327bc,ILogService as _0x2e1383,Optional as _0x21772a,Workbook as _0x479841,CommandType as _0x474b7f,IConfigService as _0x1240a8,ILocalStorageService as _0x39a058,DependentOn as _0x44505e,Plugin as _0x2dcb54,merge as _0x2ae923,registerDependencies as _0x2c55ae,mergeOverrideWithDependencies as _0x31859f,touchDependencies as _0x2c36fb,generateRandomId as _0x1e3df9}from'@univerjs/core';import{Shape as _0x3f4c5b,Rect as _0x575d1c,getColor as _0x265cf8,RegularPolygon as _0x5f87e4,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x470dff,Vector2 as _0x3d4a5f,SHEET_VIEWPORT_KEY as _0x433b49,IRenderManagerService as _0x47cbf5}from'@univerjs/engine-render';import{ISocketService as _0x31e56d,WebSocketService as _0x341ba9,HTTPService as _0x34a3dc}from'@univerjs/network';import{IDocClipboardService as _0x4aba0e,NodePositionConvertToCursor as _0x251cc6,NodePositionConvertToRectRange as _0x1e4ae6,TEXT_RANGE_LAYER_INDEX as _0x763413,SetDocZoomRatioOperation as _0x4e6e95,DocIMEInputManagerService as _0x598aad,DocStateChangeManagerService as _0x31daa2}from'@univerjs/docs-ui';import{IImageIoService as _0x541391}from'@univerjs/drawing';import{BehaviorSubject as _0x3dfdee,debounceTime as _0x281a31,takeUntil as _0x35dd28,Subject as _0x13de5d,filter as _0x4a9b42,switchMap as _0xf18957,merge as _0x9ffdbb,combineLatest as _0x4d89dc,of as _0x21ae2d,fromEvent as _0x378028,shareReplay as _0x203da3,mapTo as _0x60024,distinctUntilChanged as _0xb813e9}from'rxjs';import{SetTextSelectionsOperation as _0x347694,RichTextEditingMutation as _0x366ac1,DocSelectionManagerService as _0x50dd36,DocSkeletonManagerService as _0x597889}from'@univerjs/docs';import{ITransformService as _0x417ff5,CollaborationEvent as _0x12fdfb,isTransformMutationFailure as _0x7a4ffe,isTransformMutationsWithChangesetSuccess as _0x55936b,RevisionService as _0x1c0e24,ISnapshotServerService as _0x63c1ef}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x85074c,serializeRangeWithSheet as _0x5c2e23}from'@univerjs/engine-formula';import{RefRangeService as _0x1c6920,SetSelectionsOperation as _0x447f0a,SheetsSelectionsService as _0x41581f,EffectRefRangId as _0x50d145,handleIRemoveRow as _0x121d11,handleIRemoveCol as _0x2f0cba,handleMoveRange as _0x403cb9,handleInsertRow as _0x4c7aa9,handleInsertRangeMoveRight as _0x4b6594,handleInsertRangeMoveDown as _0x5a1112,handleInsertCol as _0x381ae7,handleDeleteRangeMoveUp as _0x9f5998,handleDeleteRangeMoveLeft as _0x23bded,runRefRangeMutations as _0x2b7fe4,SetWorksheetActivateCommand as _0x110d33}from'@univerjs/sheets';import{map as _0x4a76e2,filter as _0x75e491,throttleTime as _0x7aa9fb,takeUntil as _0x490efa,switchMap as _0x2403d7}from'rxjs/operators';import{SheetSkeletonManagerService as _0x141869,getCoordByCell as _0xe7b806,getSheetObject as _0x506945}from'@univerjs/sheets-ui';import{jsx as _0x35b522,jsxs as _0x34beb4}from'react/jsx-runtime';import{useObservable as _0xf8189f,useDependency as _0x2f5b7c,IUIPartsService as _0x386d61,BuiltInUIPart as _0x313ed3,connectInjector as _0x171d4c,IBeforeCloseService as _0x9a44af,IMessageService as _0x4db31f,INotificationService as _0xec7202}from'@univerjs/ui';import{Tooltip as _0x43bb58,clsx as _0x2074e2,MessageType as _0x4af6a0}from'@univerjs/design';import{forwardRef as _0x30f0d5,useRef as _0x1a3d09,createElement as _0x240f9b,useCallback as _0xcd9872}from'react';import{IRemoteInstanceService as _0x3a4cf1}from'@univerjs/rpc';var ci=Object[_0x957043(0x3e8)],li=(_0x4097dc,_0x557d20,_0x5c8f4d,_0x17b3d9)=>{const _0x54e0bf=_0x957043;for(var _0x2ab9f1=_0x17b3d9>0x1?void 0x0:_0x17b3d9?ci(_0x557d20,_0x5c8f4d):_0x557d20,_0x29c676=_0x4097dc[_0x54e0bf(0x3d8)]-0x1,_0x171ebb;_0x29c676>=0x0;_0x29c676--)(_0x171ebb=_0x4097dc[_0x29c676])&&(_0x2ab9f1=_0x171ebb(_0x2ab9f1)||_0x2ab9f1);return _0x2ab9f1;},Je=(_0x30edd1,_0x418050)=>(_0x57dea1,_0x26f3f2)=>_0x418050(_0x57dea1,_0x26f3f2,_0x30edd1);let Ne=class extends _0x22c522{constructor(_0x3ceb16,_0x565e51){const _0xb0eec5=_0x957043;super(),this[_0xb0eec5(0x1f3)]=_0x3ceb16,this[_0xb0eec5(0x3d4)]=_0x565e51,this[_0xb0eec5(0x3b9)]();}[_0x957043(0x3b9)](){const _0x55034d=_0x957043,_0x5289ed=this;this['disposeWithMe'](this['_docClipboardService'][_0x55034d(0x2ce)]({'onBeforePasteImage':async _0x419d94=>{const _0x56559b=_0x55034d,_0x2d84d7=await _0x5289ed[_0x56559b(0x3d4)][_0x56559b(0x2c6)](_0x419d94);return _0x2d84d7?{'source':_0x2d84d7[_0x56559b(0x238)],'imageSourceType':_0x2d84d7[_0x56559b(0x399)]}:null;}}));}};Ne=li([Je(0x0,_0x4aba0e),Je(0x1,_0x541391)],Ne);const Ze=[_0x957043(0x2df),_0x957043(0x2f3),_0x957043(0x272),_0x957043(0x27c),'blue.400',_0x957043(0x33b)];class ke extends _0x4a6261{constructor(){super(...arguments),_(this,'_assignedColors',new Map()),_(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x2267cc){const _0x45a283=_0x957043;if(this[_0x45a283(0x294)]['has'](_0x2267cc))return this['_assignedColors'][_0x45a283(0x379)](_0x2267cc);const _0x302c2d=Ze[this['_colorIndex']];return this[_0x45a283(0x268)]=(this[_0x45a283(0x268)]+0x1)%Ze[_0x45a283(0x3d8)],this[_0x45a283(0x294)][_0x45a283(0x332)](_0x2267cc,_0x302c2d),_0x302c2d;}}function Tt(_0x390e72){const _0x52e77b=_0x957043;let _0x59de65='';for(const _0x38b56e of _0x390e72){const {startOffset:_0x456bfe,endOffset:_0x17c567,isActive:_0x177f5c,rangeType:_0xa30ed6,segmentId:_0x562ee4,segmentPage:_0x1be44f}=_0x38b56e;_0x59de65[_0x52e77b(0x3d8)]&&(_0x59de65+=','),_0x59de65+=_0x456bfe+':'+_0x17c567+':'+(_0x177f5c?'1':'0')+':'+_0xa30ed6+':'+_0x562ee4+':'+_0x1be44f;}return _0x59de65;}function _i(_0x44f6c2){const _0x42b102=_0x957043,_0xc78d08=_0x44f6c2[_0x42b102(0x3e3)](','),_0x32265f=[];for(const _0x372b64 of _0xc78d08){const [_0x4b86f7,_0x51ac06,_0x38535a,_0x582178,_0x4caf7f,_0x4719a6]=_0x372b64[_0x42b102(0x3e3)](':');_0x32265f[_0x42b102(0x3c4)]({'startOffset':Number(_0x4b86f7),'endOffset':Number(_0x51ac06),'collapsed':_0x4b86f7===_0x51ac06,'isActive':_0x38535a==='1','rangeType':_0x582178===_0x586938['TEXT']?_0x586938['TEXT']:_0x586938[_0x42b102(0x382)],'segmentId':typeof _0x4caf7f=='string'?String(_0x4caf7f):'','segmentPage':Number(_0x4719a6!=null?_0x4719a6:-0x1)});}return _0x32265f[_0x42b102(0x214)](_0xf31437=>_0xf31437[_0x42b102(0x20f)])||(_0x32265f[0x0][_0x42b102(0x20f)]=!0x0),_0x32265f;}class He extends _0x22c522{constructor(){const _0x550d63=_0x957043;super(...arguments),_(this,_0x550d63(0x2da),new _0x3dfdee(null)),_(this,_0x550d63(0x31b),this['_collabCursorState$']['asObservable']());}['syncEditingCollabCursor'](_0x10881e){const _0x145f3f=_0x957043,{unitID:_0x132b83,memberID:_0x2b2814,textRanges:_0x3a5a3a}=_0x10881e,_0x25763c=Tt(_0x3a5a3a);if(_0x25763c==='')return;const _0x3f9516={'unitID':_0x132b83,'memberID':_0x2b2814,'selection':_0x25763c};this[_0x145f3f(0x2da)]['next'](_0x3f9516);}}var hi=Object[_0x957043(0x3e8)],ui=(_0x2d871e,_0x296cc0,_0x18c859,_0x14da94)=>{const _0x574834=_0x957043;for(var _0x5ab6ca=_0x14da94>0x1?void 0x0:_0x14da94?hi(_0x296cc0,_0x18c859):_0x296cc0,_0x49c667=_0x2d871e[_0x574834(0x3d8)]-0x1,_0x418d95;_0x49c667>=0x0;_0x49c667--)(_0x418d95=_0x2d871e[_0x49c667])&&(_0x5ab6ca=_0x418d95(_0x5ab6ca)||_0x5ab6ca);return _0x5ab6ca;},P=(_0x10983f,_0x43abe5)=>(_0x572902,_0x147834)=>_0x43abe5(_0x572902,_0x147834,_0x10983f);const di=0x12c,fi=0x64;let Ue=class extends _0x22c522{constructor(_0x4287f8,_0x52de1f,_0x575fc5,_0x1cc746,_0x32e8b7,_0x26915e,_0x3d2843,_0x16128f,_0x1bdbbe){const _0x455012=_0x957043;super(),_(this,_0x455012(0x334),!0x1),_(this,_0x455012(0x3b9),!0x1),_(this,_0x455012(0x2e8),new _0x3dfdee(new Map())),_(this,'cursorInfo$',this['_cursorInfo$'][_0x455012(0x3b2)]()),_(this,_0x455012(0x39b),new _0x3dfdee([])),_(this,_0x455012(0x21f),this['_roomMembers$'][_0x455012(0x260)](_0x281a31(di))),_(this,'_updateLocalCursor',_0x4eca6e(_0x22fda0=>{const _0x2403c5=_0x455012,_0x3f994c={'eventID':_0x12fdfb[_0x2403c5(0x241)],'data':{'unitID':this[_0x2403c5(0x215)],'memberID':this[_0x2403c5(0x366)][_0x2403c5(0x227)](),'selection':Tt(_0x22fda0)}};this[_0x2403c5(0x366)][_0x2403c5(0x3b7)](_0x3f994c,this[_0x2403c5(0x215)]);},fi)),(this[_0x455012(0x215)]=_0x4287f8,this[_0x455012(0x366)]=_0x52de1f,this['_injector']=_0x575fc5,this[_0x455012(0x35b)]=_0x1cc746,this[_0x455012(0x31c)]=_0x32e8b7,this['_syncEditingCollabCursorService']=_0x26915e,this[_0x455012(0x30f)]=_0x3d2843,this[_0x455012(0x1f1)]=_0x16128f,this['_commandService']=_0x1bdbbe);}get[_0x957043(0x348)](){const _0x9fe96f=_0x957043;return this['_cursorInfo$'][_0x9fe96f(0x2e2)]();}get['roomMembers'](){const _0xf5f722=_0x957043;return this[_0xf5f722(0x39b)][_0xf5f722(0x2e2)]();}[_0x957043(0x3aa)](){const _0x7008bd=_0x957043;super[_0x7008bd(0x3aa)](),this[_0x7008bd(0x2e8)][_0x7008bd(0x3c9)](new Map()),this['_cursorInfo$']['complete'](),this['_roomMembers$'][_0x7008bd(0x3c9)]([]),this['_roomMembers$'][_0x7008bd(0x360)]();}[_0x957043(0x20a)](){const _0x448199=_0x957043;this['_init']||(this[_0x448199(0x3b9)]=!0x0,this[_0x448199(0x366)][_0x448199(0x36a)][_0x448199(0x260)](_0x35dd28(this[_0x448199(0x2cb)]))[_0x448199(0x3a6)](_0x139a34=>{const _0x570815=_0x448199;_0x139a34===_0x150b64['ONLINE']?this[_0x570815(0x377)]():this['_toggleOffline']();}),this[_0x448199(0x366)][_0x448199(0x202)][_0x448199(0x260)](_0x35dd28(this['dispose$']))[_0x448199(0x3a6)](_0x24f901=>{const _0x35a3a3=_0x448199,_0x23b1c1=_0x24f901[_0x35a3a3(0x2c1)];_0x23b1c1===_0x12fdfb[_0x35a3a3(0x241)]&&this[_0x35a3a3(0x288)](_0x24f901),_0x23b1c1===_0x12fdfb['USERS_LEAVE']&&this[_0x35a3a3(0x24f)](_0x24f901);}),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x2be5e9=>{const _0x36cafc=_0x448199,_0x623ee0=_0x2be5e9[_0x36cafc(0x385)];_0x623ee0!=null&&this[_0x36cafc(0x334)]&&_0x2be5e9['id']===_0x347694['id']&&_0x623ee0['unitId']===this[_0x36cafc(0x215)]&&_0x623ee0['isEditing']===!0x1&&_0x623ee0[_0x36cafc(0x3a9)][_0x36cafc(0x3d8)]>0x0&&this[_0x36cafc(0x2b2)](_0x623ee0['ranges']);})),this[_0x448199(0x3a4)][_0x448199(0x31b)]['pipe'](_0x35dd28(this[_0x448199(0x2cb)]))[_0x448199(0x3a6)](_0x1b0ec7=>{const _0x2ce2c2=_0x448199;if((_0x1b0ec7==null?void 0x0:_0x1b0ec7['unitID'])!==this[_0x2ce2c2(0x215)])return;const _0x2199ad={'eventID':_0x12fdfb[_0x2ce2c2(0x241)],'data':_0x1b0ec7};this[_0x2ce2c2(0x288)](_0x2199ad);}),this['disposeWithMe'](this[_0x448199(0x2c2)][_0x448199(0x205)](_0x574a1f=>{const _0x104aba=_0x448199;if(_0x574a1f[_0x104aba(0x385)]==null)return;const _0x484361=_0x574a1f['params'];if(_0x574a1f['id']!==_0x366ac1['id']||_0x484361[_0x104aba(0x30d)]!==this['unitID'])return;const _0x2f7d5e={'id':_0x104aba(0x254),'params':_0x484361},_0x12c10b=this[_0x104aba(0x348)];for(const [_0x42bc0c,_0x14c691]of _0x12c10b){const _0x17a27b={'id':_0x104aba(0x254),'params':{'unitId':this[_0x104aba(0x215)],'actions':null,'textRanges':_0x14c691[_0x104aba(0x3a9)]}},_0xa0cafa=this[_0x104aba(0x30f)][_0x104aba(0x356)](_0x2f7d5e,_0x17a27b,!0x1);if(_0x7a4ffe(_0xa0cafa))throw _0xa0cafa['error'];_0x12c10b['set'](_0x42bc0c,{..._0x14c691,'ranges':_0xa0cafa['m2Prime'][_0x104aba(0x385)]['textRanges']});}queueMicrotask(()=>{const _0x40dd54=_0x104aba;this[_0x40dd54(0x2e8)]['next'](_0x12c10b);});})));}[_0x957043(0x288)](_0xde24f4){const _0x4050a3=_0x957043;var _0x3aa211,_0x11ffd2;const {memberID:_0x24bdb,selection:_0x54bba7}=_0xde24f4['data'],_0x3d6e0d=_i(_0x54bba7),_0x51ab09=(_0x11ffd2=(_0x3aa211=this[_0x4050a3(0x31c)][_0x4050a3(0x2e4)](this[_0x4050a3(0x215)],_0x24bdb))==null?void 0x0:_0x3aa211[_0x4050a3(0x306)])!=null?_0x11ffd2:'Unknown\x20user',_0x362fd3={'color':this[_0x4050a3(0x35b)][_0x4050a3(0x2b5)](_0x24bdb),'name':_0x51ab09,'ranges':_0x3d6e0d},_0x456f87=this[_0x4050a3(0x348)];_0x456f87['set'](_0x24bdb,_0x362fd3),this[_0x4050a3(0x2e8)][_0x4050a3(0x3c9)](_0x456f87);}[_0x957043(0x24f)](_0x52e7c9){const _0x106f1e=_0x957043,{memberID:_0x1f1b14}=_0x52e7c9['data'],_0x4af26c=this['cursorInfo'];_0x4af26c[_0x106f1e(0x333)](_0x1f1b14),this[_0x106f1e(0x2e8)][_0x106f1e(0x3c9)](_0x4af26c);}['_toggleOnline'](){const _0x176114=_0x957043;var _0x3e8ce9;if(this[_0x176114(0x334)]=!0x0,((_0x3e8ce9=this[_0x176114(0x1f1)][_0x176114(0x2b7)]())==null?void 0x0:_0x3e8ce9['getUnitId']())!==this[_0x176114(0x215)])return;const _0x49e0ec=this[_0x176114(0x267)][_0x176114(0x379)](_0x50dd36)['getDocRanges']();Array[_0x176114(0x303)](_0x49e0ec)&&_0x49e0ec[_0x176114(0x3d8)]>0x0&&this[_0x176114(0x2b2)](_0x49e0ec);}['_toggleOffline'](){const _0x27985f=_0x957043;this[_0x27985f(0x334)]=!0x1;}};Ue=ui([P(0x2,_0x79b2b4(_0x2f259a)),P(0x3,_0x79b2b4(ke)),P(0x4,_0x79b2b4(_0xea46d)),P(0x5,_0x79b2b4(He)),P(0x6,_0x417ff5),P(0x7,_0x16f134),P(0x8,_0x46c5a2)],Ue);function _0x2011(_0x521f86,_0x3b05b3){const _0x16b5b2=_0x16b5();return _0x2011=function(_0x201125,_0x4b1063){_0x201125=_0x201125-0x1ec;let _0xc7be5a=_0x16b5b2[_0x201125];return _0xc7be5a;},_0x2011(_0x521f86,_0x3b05b3);}var Si=Object[_0x957043(0x3e8)],mi=(_0x547286,_0xca6148,_0x47c4ee,_0xbd050c)=>{const _0x818c42=_0x957043;for(var _0x37f016=_0xbd050c>0x1?void 0x0:_0xbd050c?Si(_0xca6148,_0x47c4ee):_0xca6148,_0x1a71e6=_0x547286[_0x818c42(0x3d8)]-0x1,_0x536dd5;_0x1a71e6>=0x0;_0x1a71e6--)(_0x536dd5=_0x547286[_0x1a71e6])&&(_0x37f016=_0x536dd5(_0x37f016)||_0x37f016);return _0x37f016;},x=(_0x31ba7d,_0x51fa8a)=>(_0x297e40,_0x2de2dc)=>_0x51fa8a(_0x297e40,_0x2de2dc,_0x31ba7d);const Ii=0x12c,gi=0x64,vi=()=>{let _0xde569e=[],_0x993916=!0x1;return _0x421609=>{const _0x77276d=_0x2011;_0xde569e[_0x77276d(0x3c4)](_0x421609),_0x993916||(_0x993916=!0x0,setTimeout(()=>{_0xde569e['forEach'](_0x5e0d78=>_0x5e0d78()),_0xde569e=[],_0x993916=!0x1;}));};};let Me=class extends _0x22c522{constructor(_0x29d0fe,_0x5d9d05,_0x246fde,_0x23c458,_0x4bcb0f,_0x133a4b,_0x54cef5,_0xde9b21){const _0x488cea=_0x957043;super(),_(this,_0x488cea(0x334),!0x1),_(this,_0x488cea(0x3b9),!0x1),_(this,_0x488cea(0x2e8),new _0x3dfdee(new Map())),_(this,_0x488cea(0x3f1),this['_cursorInfo$']['asObservable']()),_(this,'_roomMembers$',new _0x3dfdee([])),_(this,_0x488cea(0x21f),this[_0x488cea(0x39b)][_0x488cea(0x260)](_0x281a31(Ii))),_(this,_0x488cea(0x2b2),_0x4eca6e((_0x3495b2,_0x100eff)=>{const _0x14431e=_0x488cea,_0x4815c2={'eventID':_0x12fdfb[_0x14431e(0x241)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x14431e(0x227)](),'selection':_0x5c2e23(_0x3495b2,_0x100eff[_0x14431e(0x259)])}};this[_0x14431e(0x366)]['send'](_0x4815c2,this[_0x14431e(0x215)]);},gi)),(this['unitID']=_0x29d0fe,this[_0x488cea(0x366)]=_0x5d9d05,this[_0x488cea(0x267)]=_0x246fde,this[_0x488cea(0x35b)]=_0x23c458,this[_0x488cea(0x31c)]=_0x4bcb0f,this[_0x488cea(0x1f1)]=_0x133a4b,this[_0x488cea(0x2c2)]=_0x54cef5,this[_0x488cea(0x298)]=_0xde9b21);}get[_0x957043(0x348)](){const _0x2d7286=_0x957043;return this[_0x2d7286(0x2e8)][_0x2d7286(0x2e2)]();}get[_0x957043(0x3bb)](){const _0x12ccf0=_0x957043;return this[_0x12ccf0(0x39b)]['getValue']();}[_0x957043(0x3aa)](){const _0x5d0bb8=_0x957043;super[_0x5d0bb8(0x3aa)](),this[_0x5d0bb8(0x2e8)][_0x5d0bb8(0x3c9)](new Map()),this[_0x5d0bb8(0x2e8)][_0x5d0bb8(0x360)](),this[_0x5d0bb8(0x39b)][_0x5d0bb8(0x3c9)]([]),this[_0x5d0bb8(0x39b)][_0x5d0bb8(0x360)]();}[_0x957043(0x20a)](){const _0xa4b2ea=_0x957043;this['_init']||(this[_0xa4b2ea(0x3b9)]=!0x0,this[_0xa4b2ea(0x366)]['sessionStatus$'][_0xa4b2ea(0x260)](_0x35dd28(this[_0xa4b2ea(0x2cb)]))[_0xa4b2ea(0x3a6)](_0x1e1010=>{const _0x42159a=_0xa4b2ea;_0x1e1010===_0x150b64[_0x42159a(0x2a0)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0xa4b2ea(0x366)][_0xa4b2ea(0x202)][_0xa4b2ea(0x260)](_0x35dd28(this['dispose$']))['subscribe'](_0x308f06=>{const _0xdd839e=_0xa4b2ea,_0x1001cd=_0x308f06[_0xdd839e(0x2c1)];_0x1001cd===_0x12fdfb['UPDATE_CURSOR']&&this[_0xdd839e(0x288)](_0x308f06),_0x1001cd===_0x12fdfb[_0xdd839e(0x27f)]&&this[_0xdd839e(0x24f)](_0x308f06);}),this[_0xa4b2ea(0x287)](),this[_0xa4b2ea(0x32b)](this[_0xa4b2ea(0x2c2)][_0xa4b2ea(0x205)](_0x890496=>{const _0x2c89d3=_0xa4b2ea;if(this[_0x2c89d3(0x334)]&&_0x890496['id']===_0x447f0a['id']&&_0x890496['params']['unitId']===this[_0x2c89d3(0x215)]){const _0x8fa4f1=_0x890496['params'];this['_updateLocalCursor'](_0x8fa4f1[_0x2c89d3(0x3d1)],_0x8fa4f1[_0x2c89d3(0x329)][0x0]);}})));}[_0x957043(0x288)](_0x2a9c96){const _0xff265c=_0x957043;var _0x1842ba,_0x5d5460;const {memberID:_0xde6ee7,selection:_0x3f9459}=_0x2a9c96[_0xff265c(0x301)],{sheetName:_0x142461,range:_0x3b35e6}=_0x85074c(_0x3f9459),_0x3ad889={'name':(_0x5d5460=(_0x1842ba=this[_0xff265c(0x31c)][_0xff265c(0x2e4)](this[_0xff265c(0x215)],_0xde6ee7))==null?void 0x0:_0x1842ba[_0xff265c(0x306)])!=null?_0x5d5460:_0xff265c(0x2ba),'range':this['_getMergeRange'](_0x142461,_0x3b35e6),'sheetID':_0x142461,'color':this[_0xff265c(0x35b)][_0xff265c(0x2b5)](_0xde6ee7),'selection':_0x3f9459},_0x6da217=this[_0xff265c(0x348)];_0x6da217[_0xff265c(0x332)](_0xde6ee7,_0x3ad889),this['_cursorInfo$'][_0xff265c(0x3c9)](_0x6da217);}['_onCursorDelete'](_0x3ac807){const _0x1836f6=_0x957043,{memberID:_0x3e0b12}=_0x3ac807[_0x1836f6(0x301)],_0xe762eb=this['cursorInfo'];_0xe762eb[_0x1836f6(0x333)](_0x3e0b12),this[_0x1836f6(0x2e8)][_0x1836f6(0x3c9)](_0xe762eb);}[_0x957043(0x1ff)](_0x818d0e,_0x3a8eda){const _0x2be660=_0x957043;var _0x57d778,_0x30a4a4;const _0x4c32d3=(_0x30a4a4=(_0x57d778=this[_0x2be660(0x1f1)]['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x57d778[_0x2be660(0x2fd)](_0x818d0e))==null?void 0x0:_0x30a4a4[_0x2be660(0x270)]();return(_0x4c32d3==null?void 0x0:_0x4c32d3['find'](_0x46f869=>_0x5ea943[_0x2be660(0x231)](_0x46f869,_0x3a8eda)))||_0x3a8eda;}['_onRefRangeChange'](){const _0x507419=new _0x147e2e(),_0x329a9c=vi(),_0x5b43fc=()=>{const _0x58a07f=_0x2011;_0x507419['dispose']();const _0x1015d5=(_0x1a2634,_0x57e33e,_0x14b2f1,_0x1cf62b)=>{const _0x4ba7fc=_0x2011;let _0x25c711=[];switch(_0x1a2634['id']){case _0x50d145[_0x4ba7fc(0x31d)]:{_0x25c711=_0x23bded(_0x1a2634,_0x1cf62b);break;}case _0x50d145[_0x4ba7fc(0x2d5)]:{_0x25c711=_0x9f5998(_0x1a2634,_0x1cf62b);break;}case _0x50d145[_0x4ba7fc(0x3d0)]:{_0x25c711=_0x381ae7(_0x1a2634,_0x1cf62b);break;}case _0x50d145[_0x4ba7fc(0x203)]:{_0x25c711=_0x5a1112(_0x1a2634,_0x1cf62b);break;}case _0x50d145[_0x4ba7fc(0x1ec)]:{_0x25c711=_0x4b6594(_0x1a2634,_0x1cf62b);break;}case _0x50d145['InsertRowCommandId']:{_0x25c711=_0x4c7aa9(_0x1a2634,_0x1cf62b);break;}case _0x50d145[_0x4ba7fc(0x343)]:{_0x25c711=_0x403cb9(_0x1a2634,_0x1cf62b);break;}case _0x50d145[_0x4ba7fc(0x2c7)]:{_0x25c711=_0x2f0cba(_0x1a2634,_0x1cf62b);break;}case _0x50d145[_0x4ba7fc(0x216)]:{_0x25c711=_0x121d11(_0x1a2634,_0x1cf62b);break;}}const _0x1c5cd8=_0x2b7fe4(_0x25c711,_0x1cf62b),_0x2f12cd=this[_0x4ba7fc(0x348)][_0x4ba7fc(0x379)](_0x57e33e);if(_0x2f12cd&&_0x1c5cd8){const _0x2f1ad6={..._0x2f12cd,'range':_0x1c5cd8};this[_0x4ba7fc(0x348)][_0x4ba7fc(0x332)](_0x57e33e,_0x2f1ad6),_0x329a9c(()=>{const _0xf83456=_0x4ba7fc,_0x18381c=this[_0xf83456(0x298)][_0xf83456(0x33c)](_0x1c5cd8,_0x479fea=>(_0x18381c[_0xf83456(0x3aa)](),_0x1015d5(_0x479fea,_0x57e33e,_0x14b2f1,_0x1c5cd8)));_0x507419[_0xf83456(0x242)](_0x18381c);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x58a07f(0x3e7)]((_0x57fbbe,_0x12e57c)=>{const _0x33df2f=_0x58a07f,{range:_0xd5f6b7,sheetID:_0x59b1d8}=_0x57fbbe,_0x3766d9=this[_0x33df2f(0x298)]['registerRefRange'](_0xd5f6b7,_0x56d17d=>(_0x3766d9[_0x33df2f(0x3aa)](),_0x1015d5(_0x56d17d,_0x12e57c,_0x59b1d8,_0xd5f6b7)));_0x507419[_0x33df2f(0x242)](_0x3766d9);});};this['disposeWithMe'](_0x197fb6(this['_cursorInfo$']['subscribe'](()=>{_0x5b43fc();})));}['_toggleOnline'](){const _0x284db=_0x957043;var _0x34e933,_0x5ace7d;if(this[_0x284db(0x334)]=!0x0,((_0x34e933=this[_0x284db(0x1f1)][_0x284db(0x2b7)]())==null?void 0x0:_0x34e933[_0x284db(0x2f6)]())!==this[_0x284db(0x215)])return;const _0x370388=(_0x5ace7d=this[_0x284db(0x267)][_0x284db(0x379)](_0x41581f)[_0x284db(0x2a5)]())==null?void 0x0:_0x5ace7d[0x0],_0x40b32f=this[_0x284db(0x1f1)][_0x284db(0x3dd)](_0x11e791[_0x284db(0x1f5)])['getActiveSheet']();_0x370388&&_0x40b32f&&this[_0x284db(0x2b2)](_0x40b32f[_0x284db(0x2fc)](),_0x370388);}['_toggleOffline'](){const _0x2a7340=_0x957043;this[_0x2a7340(0x334)]=!0x1;}};Me=mi([x(0x2,_0x79b2b4(_0x2f259a)),x(0x3,_0x79b2b4(ke)),x(0x4,_0x79b2b4(_0xea46d)),x(0x5,_0x16f134),x(0x6,_0x46c5a2),x(0x7,_0x79b2b4(_0x1c6920))],Me);var pi=Object[_0x957043(0x3e8)],Ci=(_0x465e5e,_0x3abbc7,_0x4b5ab1,_0x2f1260)=>{for(var _0x227daf=_0x2f1260>0x1?void 0x0:_0x2f1260?pi(_0x3abbc7,_0x4b5ab1):_0x3abbc7,_0x5cdf03=_0x465e5e['length']-0x1,_0x7303e;_0x5cdf03>=0x0;_0x5cdf03--)(_0x7303e=_0x465e5e[_0x5cdf03])&&(_0x227daf=_0x7303e(_0x227daf)||_0x227daf);return _0x227daf;},Se=(_0x2c42a0,_0x2c2590)=>(_0x98c8de,_0x202236)=>_0x2c2590(_0x98c8de,_0x202236,_0x2c42a0);let H=class extends _0x22c522{constructor(_0x1c5e02,_0x546b72,_0x53239d){const _0x5d4e34=_0x957043;super(),_(this,_0x5d4e34(0x218),new Map()),_(this,_0x5d4e34(0x361),new _0x13de5d()),(this[_0x5d4e34(0x1f1)]=_0x1c5e02,this[_0x5d4e34(0x267)]=_0x546b72,this['_collabSessionService']=_0x53239d,this[_0x5d4e34(0x3b9)]());}['dispose'](){const _0x7aa233=_0x957043;super['dispose'](),this[_0x7aa233(0x361)][_0x7aa233(0x360)](),this[_0x7aa233(0x218)]['forEach'](_0x2ec75d=>_0x2ec75d['dispose']());}[_0x957043(0x2f2)](_0x4e3af7){const _0x4cc118=_0x957043;return this['_entities'][_0x4cc118(0x23a)](_0x4e3af7)?this[_0x4cc118(0x218)][_0x4cc118(0x379)](_0x4e3af7)[_0x4cc118(0x3f1)]:this[_0x4cc118(0x361)]['pipe'](_0x4a9b42(_0x596b32=>_0x596b32[_0x4cc118(0x215)]===_0x4e3af7),_0xf18957(_0x3f3fed=>_0x3f3fed[_0x4cc118(0x3f1)]));}[_0x957043(0x3b9)](){const _0xe84601=_0x957043;this[_0xe84601(0x1f1)][_0xe84601(0x27e)](_0x11e791[_0xe84601(0x1f5)])[_0xe84601(0x260)](_0x35dd28(this[_0xe84601(0x2cb)]))[_0xe84601(0x3a6)](async _0x45ec05=>{const _0x2e60b5=_0xe84601,_0x4b3f9f=_0x45ec05['getUnitId'](),_0x1823e3=await this[_0x2e60b5(0x201)](_0x4b3f9f);this[_0x2e60b5(0x361)][_0x2e60b5(0x3c9)](_0x1823e3),this[_0x2e60b5(0x218)][_0x2e60b5(0x332)](_0x4b3f9f,_0x1823e3);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x11e791[_0xe84601(0x34e)])[_0xe84601(0x260)](_0x35dd28(this['dispose$']))[_0xe84601(0x260)](_0x4a9b42(_0x5efc22=>!_0x5efc22['getUnitId']()[_0xe84601(0x371)]('__')))[_0xe84601(0x3a6)](async _0x277915=>{const _0x3fbef4=_0xe84601,_0x57a4f9=_0x277915['getUnitId'](),_0x520217=await this['_startDocCollabCursor'](_0x57a4f9);this[_0x3fbef4(0x361)][_0x3fbef4(0x3c9)](_0x520217),this[_0x3fbef4(0x218)][_0x3fbef4(0x332)](_0x57a4f9,_0x520217);}),_0x9ffdbb(this[_0xe84601(0x1f1)][_0xe84601(0x357)](_0x11e791[_0xe84601(0x34e)]),this[_0xe84601(0x1f1)][_0xe84601(0x357)](_0x11e791[_0xe84601(0x1f5)]))['pipe'](_0x35dd28(this[_0xe84601(0x2cb)]))[_0xe84601(0x3a6)](_0x277fa1=>{const _0x31f141=_0xe84601,_0x1f13cb=_0x277fa1['getUnitId'](),_0x5a8c35=this[_0x31f141(0x218)][_0x31f141(0x379)](_0x1f13cb);_0x5a8c35&&(_0x5a8c35['dispose'](),this['_entities'][_0x31f141(0x333)](_0x1f13cb));});}async['_startSheetCollabCursor'](_0x46f080){const _0x3ea1d3=_0x957043,_0x3254d9=await this[_0x3ea1d3(0x29b)][_0x3ea1d3(0x200)](_0x46f080),_0x2a4620=this[_0x3ea1d3(0x267)][_0x3ea1d3(0x266)](Me,_0x46f080,_0x3254d9);return _0x2a4620[_0x3ea1d3(0x20a)](),_0x2a4620;}async['_startDocCollabCursor'](_0x184284){const _0x5203c4=_0x957043,_0x5a03e4=await this['_collabSessionService'][_0x5203c4(0x200)](_0x184284),_0x2aef05=this['_injector'][_0x5203c4(0x266)](Ue,_0x184284,_0x5a03e4);return _0x2aef05[_0x5203c4(0x20a)](),_0x2aef05;}};H=Ci([Se(0x0,_0x16f134),Se(0x1,_0x79b2b4(_0x2f259a)),Se(0x2,_0x79b2b4(_0x339ffc))],H);function _0x16b5(){const _0x20cc4e=['random','status$','toString','stringify','_registerDependencies','DeleteRangeMoveUpCommandId','endColumn','_hideTimer','[CollaborationDataLoaderController]','debug','_collabCursorState$','843726gbfIIb','beginPath','_notificationService','752648XLIBlc','purple.300','undoState','YUUMI_SUBSCRIPTION_NOT_FOUND','getValue','_initStatusListener','getMember','setParam','registerComponent','saveTaskMap','_cursorInfo$','_setupBeforeClosingHandler','_scheduleHeartbeat','from','_getSessionTicket','xlink:href','_config','className','_updateCollabCursors','key','getCollabCursors$','jiqing.500','_dataLoaderService','APPLY_REJECT','getUnitId','colorChannel1','then','round','loadUnit','m2Prime','getSheetId','getSheetBySheetId','YUUMI_TABLE_NOT_FOUND_IN_UNIT','registerBeforeClose','replaceDocRanges','data','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','isArray','setInterval','history','name','m1Prime','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_initEvent','UNAUTHENTICATED','assign','YUUMI_ALL_TABLES_IS_INVALID','unitId','row','_transformService','toRgbString','getCurrentRevOfUnit','application/json','flatMap','session.connection-failed','10170onwPCI','_registerRenderDependencies','text','CONNECTOR_DATA_TOO_LARGE','getRangePointData','_handleHeartbeatEvent','collabCursorState$','_memberService','DeleteRangeMoveLeftCommandId','none','MOBILE_HAS_BEEN_BOUND','call','FETCH_MISS','newValue','_clearOtherTimers','selection','prototype','PERMISSION_DENIED','getActiveRange','skeleton','selections','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','disposeWithMe','removeParam','_setupSubUnitSync','href','fill','endRow','INVALID_ARGUMENT','set','delete','_online','makeDirty','transformIMECache','_initDependencies','AWAITING','ACTIVE_UNIT_EVENT_CHANNEL','indexOf','yellow.400','registerRefRange','NOT_FOUND','getRelativeToViewportCoord','OTHER_CLIENT_EDITING','_localCacheService','lineTo','size','MoveRangeCommandId','_eventUnsubscribe','_textBubble','getCurrent','permission.title','cursorInfo','_collabCursorController','_docSkeleton','COMPLETION_FINISHED','column','addObject','UNIVER_DOC','measureText','current','_initCommandExecutedListener','replace','getOwnPropertySymbols','collab-rect-range-','saveOfflineData','transformMutation','getTypeOfUnitDisposed$','findNodePositionByCharIndex','YUUMI_URL_COL_OUT_OF_RANGE','_removeCollabCursors','_colorAssignService','_doCreateSocket','21555ZVJzuS','USER_NOT_INVITED_CODE','setShapeProps','complete','_entityInit$','restore','activeSheet$','_saveCache','propertyIsEnumerable','_session','concat','white','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','sessionStatus$','OTHER_CLIENTS_EDITING','Error','executeCommand','_beforeCloseService','_labelPosition','univerjs-icon\x20univerjs-icon-','startsWith','width','INVITE_CODE_REQUIRED','1em','textRanges','INVITE_CODE_HAS_BEEN_UES','_toggleOnline','_scheduleSaving','get','off-line-icon_clip0_910_343','reconnect','ENSURE_SNAPSHOT_EXECUTION','INVITE_CODE_ALREADY_BOUND','LOGIN_FAILED','YUUMI_UNABLE_LOAD_URL','defineProperty','string','RECT','collab-text-anchor-','transformStateCache','params','_localStorageService','bottom','getVpScrollXYInfoByPosToVp','url(#$1','_drawTextRange','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getParam','onMouseMove','with','collab-text-range-','_unitStatus','apply','addObjects','_uiPartsService','Failed','unsubscribe','24393ySzGHi','redoState','getAncestorScale','imageSourceType','sheetId','_roomMembers$','_document','SNAPSHOT_INVALID_SNAPSHOT','_transformPreviousActiveRange','min','disableLocalCache','_instanceService','_removeClearOtherTimer','INVALID_INVITE_CODE','_syncEditingCollabCursorService','onLocalMutation','subscribe','sessionTicket','APPLY_PERMISSION_DENIED','ranges','dispose','clearTimeout','6GywNMj','onPointerEnter$','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_color','path','collabStatus.notCollab','asObservable','_scheduleClearOtherTimer','_configService','_disabled','actions','send','getSkeleton','_init','PENDING','roomMembers','_send','_docTransformStateCacheService','onPointerLeave$','_messageService','PY_RUNTIME_SCRIPT_ERROR','_httpService','getItem','engine','push','_sheetSkeletonManagerService','LICENSE_EXPORT_SIZE_EXCEEDED','unshift','subscribeEvent','next','SUBMIT_CHANGESET_TIMEOUT','function','_handleHover','body','_refreshCollabCursors','getConfig','InsertColCommandId','subUnitId','setStateCache','map','_imageIoService','clipPath','idSuffix','_urlService','length','setConfig','attrs','_id','getActiveSheet','getCurrentUnitForType','_docSkeletonManagerService','_initStatusComponent','getStateCache','collabStatus.syncing','_logService','split','searchParams','replaceState','_anchor','forEach','getOwnPropertyDescriptor','_collaborationUIEventService','wsSessionTicketUrl','5223504iYNiEx','_shapes','focused$','collaboration-client.offline-data-not-saved','all','CLOSE_ROOM','cursorInfo$','search','_updateURLWithCurrentState','tag','InsertRangeMoveRightCommandId','APPLY_DUPLICATED','_heartbeatTimer','_range','session.will-retry','_univerInstanceService','black','_docClipboardService','font','UNIVER_SHEET','_hovered','loadOfflineData','getRenderById','_cursors','UNDEFINED','pluginName','_handleEvent','fillStyle','runId','_getMergeRange','requireSession','_startSheetCollabCursor','event$','InsertRangeMoveDownCommandId','_initEntityListener','onCommandExecuted','on-line-icon_clip0_910_349','_getSaveTimeout','translate(.97)','getColorFromTheme','init','mask','currentTheme$','SNAPSHOT_HAS_BEEN_REMOVED','currentSkeleton$','isActive','http://www.w3.org/2000/svg','session.collaboration-timeout','drawWith','exhaustSavingTask','some','unitID','RemoveRowCommandId','invokeId','_entities','error','code','ticket','LICENSE_MAX_UNITS_EXCEEDED','runOnServer','collabStatus.conflict','roomMembers$','rgba(255,\x20255,\x20255,\x200.01)','FromArray','_draw','MUTATION','_docStateChangeManagerService','whenReady','off-line-icon','getMemberID','collabStatus.fetchMiss','UNRECOGNIZED','addEventListener','children','on-line-icon','setTimeout','onStarting','deepClone','setAlpha','contains','labelPosition','APPLY_NON_SEQUENTIAL_REVISION','_saveTaskMap','hasOwnProperty','...','_themeService','source','NO_OTHER_CLIENTS_EDITING','has','enableLocalCache','NOT_COLLAB','_initResize','collabStatus.offline','_getSheetObject','OFFLINE','UPDATE_CURSOR','add','pushState','INTERNAL_ERROR','getViewport','_transformUndoRedoStack','_cachedData','_unitOnClients','_handleLeaveEvent','LICENSE_DISTRO_REJECTED','triggerDblclick','subunit','Warning','_selfUnitIDs','_onCursorDelete','defIds','setActiveRange','YUUMI_NO_CUBOID_FOR_QUESTION','getUnhiddenWorksheets','doc.mutation.rich-text-editing','generateRandomId','ALREADY_EXISTS','updateOfflineData','3020955ouuzwQ','range','_localeService','collaboration.closeRoom','/run/','_updateSubUnitFromURLParams','YUUMI_AI_RUN_FAILED','evenodd','pipe','svg','OnLineIcon','clearInterval','memberID','_ensureSubject','createInstance','_injector','_colorIndex','onPointerMove$','_cursor','_docSyncEditingCollabCursorService','height','_drawRectRange','use','_renderManagerService','getMergeData','urlChange$','green.600','_handleJoinEvent','_transformHistoryAndStateStack','OffLineIcon','type','entries','mutations','UniverIcon','APPLY_REVISION_CONFILICT','setUndoRedoMutationParamsCache','red.300','transformByState','getTypeOfUnitAdded$','USERS_LEAVE','WECHAT_HAS_BEEN_BOUND','symbol','div','_docTransformSelectionsService','_collaborationController','_revisionService','values','_onRefRangeChange','_onCursorUpdate','SYNCED','CONFLICT','_name','CHANGESET_REVISION_CONFILICT','_status$','TOO_MANY_REQUESTS','registerRenderModule','4346505ioYhUU','LICENSE_IMPORT_SIZE_EXCEEDED','extend','EMAIL_HAS_BEEN_BOUND','_assignedColors','location','M0\x200H16V16H0z','displayName','_refRangeService','show','defs','_collabSessionService','syncEditingCollabCursor','getUndoRedoMutationParamsCache','storage','disposeUnit','ONLINE','_cursorShapes','parse','getDocRanges','_lastPointer','getCurrentSelections','collabStatus.synced','_hover','getCellPositionByOffset','startColumn','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','YUUMI_ASYNCIO_CANCELLED','save','unit','includes','setItem','closePath','createSocket','_updateLocalCursor','_context','_getAnchorBounding','assignAColorForMemberID','692kOVfqz','getFocusedUnit','_scene','_anchorDot','Unknown\x20user','hovered','fillText','icon','top','YUUMI_RATE_OVER_LIMIT','transformRemoteChangeset','eventID','_commandService','color','entityInit$','url(#on-line-icon_clip0_910_349)','saveImage','RemoveColCommandId','_docTransformIMECacheService','arc','url(#off-line-icon_clip0_910_343)','dispose$','_backgroundColor','onTransformChange$','addClipboardHook','transformMutationsWithChangeset'];_0x16b5=function(){return _0x20cc4e;};return _0x16b5();}const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0xd30265,_0x22c5ff){const _0x930896=_0x957043;let {radius:_0x479f13,width:_0x20cc94,height:_0x46169b}=_0x22c5ff;_0x479f13=_0x479f13!=null?_0x479f13:0x0,_0x20cc94=_0x20cc94!=null?_0x20cc94:0x1e,_0x46169b=_0x46169b!=null?_0x46169b:0x1e;let _0x110367=0x0,_0x324040=0x0,_0x45f813=0x0;_0x110367=_0x324040=_0x45f813=Math[_0x930896(0x39f)](_0x479f13,_0x20cc94/0x2,_0x46169b/0x2),_0xd30265[_0x930896(0x2dc)](),_0xd30265['moveTo'](_0x110367,0x0),_0xd30265['lineTo'](_0x20cc94-_0x324040,0x0),_0xd30265[_0x930896(0x2c9)](_0x20cc94-_0x324040,_0x324040,_0x324040,Math['PI']*0x3/0x2,0x0,!0x1),_0xd30265['lineTo'](_0x20cc94,_0x46169b-_0x45f813),_0xd30265[_0x930896(0x2c9)](_0x20cc94-_0x45f813,_0x46169b-_0x45f813,_0x45f813,0x0,Math['PI']/0x2,!0x1),_0xd30265[_0x930896(0x341)](0x0,_0x46169b),_0xd30265[_0x930896(0x341)](0x0,_0x110367),_0xd30265['arc'](_0x110367,_0x110367,_0x110367,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xd30265[_0x930896(0x2b0)](),_0x22c5ff[_0x930896(0x32f)]&&(_0xd30265[_0x930896(0x2ac)](),_0xd30265[_0x930896(0x1fd)]=_0x22c5ff[_0x930896(0x32f)],_0x22c5ff['fillRule']==='evenodd'?_0xd30265[_0x930896(0x32f)](_0x930896(0x25f)):_0xd30265[_0x930896(0x32f)](),_0xd30265[_0x930896(0x362)]());}class he extends _0x3f4c5b{constructor(_0x255cdf,_0x58dc33){const _0x6b28a2=_0x957043;super(_0x255cdf,_0x58dc33),_(this,_0x6b28a2(0x2c3)),_(this,_0x6b28a2(0x317)),(this[_0x6b28a2(0x2c3)]=_0x58dc33==null?void 0x0:_0x58dc33[_0x6b28a2(0x2c3)],this[_0x6b28a2(0x317)]=_0x58dc33==null?void 0x0:_0x58dc33[_0x6b28a2(0x317)]);}static[_0x957043(0x212)](_0x51194b,_0x2c43ad){const _0x2f5fc8=_0x957043,{text:_0x2225c0,color:_0x5a335e}=_0x2c43ad;_0x51194b[_0x2f5fc8(0x2ac)](),_0x51194b[_0x2f5fc8(0x1f4)]=_0x2f5fc8(0x3ae);const _0x308314=_0x51194b[_0x2f5fc8(0x34f)](_0x2225c0)[_0x2f5fc8(0x372)],_0x3a55c1=Math[_0x2f5fc8(0x39f)](_0x308314+0x2*me,Qe);Oi(_0x51194b,{'height':ee,'radius':0x4,'width':_0x3a55c1,'fill':_0x5a335e}),_0x51194b['fillStyle']='#FFF';const _0x384557=me,_0x5a76a2=ee-Ei,_0x1ada98=Qe-0x2*me;if(_0x308314>_0x1ada98){let _0x4bc179='',_0x2c30b5=0x0;for(const _0x3e1090 of _0x2225c0){const _0x32c997=_0x51194b[_0x2f5fc8(0x34f)](_0x3e1090)['width'];if(_0x2c30b5+_0x32c997<=_0x1ada98-_0x51194b[_0x2f5fc8(0x34f)]('...')[_0x2f5fc8(0x372)])_0x4bc179+=_0x3e1090,_0x2c30b5+=_0x32c997;else{_0x4bc179+=_0x2f5fc8(0x236);break;}}_0x51194b[_0x2f5fc8(0x2bc)](_0x4bc179,_0x384557,_0x5a76a2);}else _0x51194b[_0x2f5fc8(0x2bc)](_0x2225c0,_0x384557,_0x5a76a2);_0x51194b[_0x2f5fc8(0x362)]();}[_0x957043(0x222)](_0x3be0d5){he['drawWith'](_0x3be0d5,this);}}const Ie=_0x957043(0x383),bi=_0x957043(0x38f),Ti=_0x957043(0x354),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x957043(0x220);class qe{constructor(_0x36c0fe,_0x1cae94,_0x249cf6,_0x2d3a92){const _0x27a6e2=_0x957043;_(this,_0x27a6e2(0x3ec),[]),_(this,'_anchor',null),_(this,_0x27a6e2(0x345),null),_(this,_0x27a6e2(0x2b9),null),_(this,_0x27a6e2(0x2d7),null),_(this,_0x27a6e2(0x344),null),(this[_0x27a6e2(0x26a)]=_0x36c0fe,this[_0x27a6e2(0x2b8)]=_0x1cae94,this[_0x27a6e2(0x34a)]=_0x249cf6,this[_0x27a6e2(0x39c)]=_0x2d3a92,this['_render']());}set[_0x957043(0x2a7)](_0x40781f){const _0x4e9f51=_0x957043;_0x40781f?(this[_0x4e9f51(0x2b9)]&&this[_0x4e9f51(0x2b9)]['hide'](),this[_0x4e9f51(0x345)]&&this[_0x4e9f51(0x345)][_0x4e9f51(0x299)]()):(this[_0x4e9f51(0x2b9)]&&this['_anchorDot'][_0x4e9f51(0x299)](),this[_0x4e9f51(0x345)]&&this['_textBubble']['hide']());}[_0x957043(0x3aa)](){const _0x3ef752=_0x957043;for(const _0x2f445c of this[_0x3ef752(0x3ec)])_0x2f445c[_0x3ef752(0x3aa)]();this['_textBubble']&&this[_0x3ef752(0x345)][_0x3ef752(0x3aa)](),this[_0x3ef752(0x2b9)]&&this[_0x3ef752(0x2b9)][_0x3ef752(0x3aa)](),this['_anchor']&&this[_0x3ef752(0x3e6)][_0x3ef752(0x3aa)](),this[_0x3ef752(0x344)]&&this[_0x3ef752(0x344)]();}['_render'](){const _0x4cb7d9=_0x957043;var _0x4a5543;const {_docSkeleton:_0x4fcb0d,_document:_0x504f5d}=this,{color:_0x1ec183,name:_0xd47fc1,ranges:_0x4155f2}=this[_0x4cb7d9(0x26a)],_0x293782=_0x504f5d['getOffsetConfig'](),{docsLeft:_0x56218d,docsTop:_0x3a7d34}=_0x293782,_0x5ec53b=new _0x251cc6(_0x293782,_0x4fcb0d);for(const {startOffset:_0x351320,endOffset:_0x4288c5,rangeType:_0x47cb5a,segmentId:_0x5759d8,segmentPage:_0x57f52b,collapsed:_0x1d6575,isActive:_0x415410}of _0x4155f2){const _0x5cdcb3=_0x4fcb0d[_0x4cb7d9(0x358)](_0x351320,!0x0,_0x5759d8,_0x57f52b);let _0x39e9e4=_0x4fcb0d[_0x4cb7d9(0x358)](_0x4288c5,!0x0,_0x5759d8,_0x57f52b);if(_0x39e9e4==null&&(_0x39e9e4=_0x4fcb0d['findNodePositionByCharIndex'](_0x4288c5-0x1,!0x1,_0x5759d8,_0x57f52b)),_0x415410){const {contentBoxPointGroup:_0x29505e}=_0x5ec53b[_0x4cb7d9(0x319)](_0x39e9e4,_0x39e9e4);if(_0x29505e[_0x4cb7d9(0x3d8)]===0x0)continue;this['_drawAnchor'](_0x1ec183,_0x29505e,_0x56218d,_0x3a7d34,_0xd47fc1),this[_0x4cb7d9(0x344)]=this[_0x4cb7d9(0x3cc)]();}if(_0x5cdcb3&&_0x39e9e4){if(_0x47cb5a===_0x586938[_0x4cb7d9(0x382)]){const _0x4dc1e7=new _0x1e4ae6(_0x293782,_0x4fcb0d),{pointGroup:_0x31e20b}=(_0x4a5543=_0x4dc1e7[_0x4cb7d9(0x319)](_0x5cdcb3,_0x39e9e4))!=null?_0x4a5543:{};if(_0x31e20b==null||_0x31e20b[_0x4cb7d9(0x3d8)]===0x0)continue;this[_0x4cb7d9(0x26d)](_0x1ec183,_0x31e20b,_0x56218d,_0x3a7d34);}else{if(!_0x1d6575){const {borderBoxPointGroup:_0x2650df}=_0x5ec53b[_0x4cb7d9(0x319)](_0x5cdcb3,_0x39e9e4);if(_0x2650df['length']===0x0)continue;this[_0x4cb7d9(0x38a)](_0x1ec183,_0x2650df,_0x56218d,_0x3a7d34);}}}}}['_drawAnchor'](_0xcd27a2,_0xb98c79,_0x5d0e5e,_0x36a30b,_0x22de17){const _0x2fc0b4=_0x957043,_0x13cf2b=this[_0x2fc0b4(0x2b4)](_0xb98c79),{left:_0x3259b8,top:_0x16aed7,height:_0x1b297c}=_0x13cf2b,_0x1a4b04=this['_getScale'](),_0x2102ba=Di/_0x1a4b04,_0x583975=new _0x575d1c(Ie+_0x5b06e2[_0x2fc0b4(0x255)](X),{'left':_0x3259b8+_0x5d0e5e-_0x2102ba,'top':_0x16aed7+_0x36a30b,'height':_0x1b297c,'width':Ri,'fill':_0xcd27a2||_0x265cf8(_0x764413[_0x2fc0b4(0x1f2)],0x0),'strokeWidth':_0x2102ba,'stroke':Ni,'evented':!0x0});this[_0x2fc0b4(0x3e6)]=_0x583975,this[_0x2fc0b4(0x2b8)][_0x2fc0b4(0x34d)](_0x583975,_0x763413);const _0x3bbf3a=new _0x575d1c(Ie+_0x5b06e2[_0x2fc0b4(0x255)](X),{'left':_0x3259b8+_0x5d0e5e-_0x2102ba,'top':_0x16aed7+_0x36a30b-ge/0x2,'height':ge,'width':ge,'fill':_0xcd27a2||_0x265cf8(_0x764413[_0x2fc0b4(0x1f2)],0x0),'strokeWidth':0x0,'stroke':_0xcd27a2||_0x265cf8(_0x764413[_0x2fc0b4(0x1f2)],0x0),'evented':!0x1});this[_0x2fc0b4(0x2b9)]=_0x3bbf3a,this[_0x2fc0b4(0x2b8)][_0x2fc0b4(0x34d)](_0x3bbf3a,_0x763413);const _0x2b6b95=new he(Ie+_0x5b06e2[_0x2fc0b4(0x255)](X),{'left':_0x3259b8+_0x5d0e5e-_0x2102ba,'top':_0x16aed7+_0x36a30b-ee,'text':_0x22de17,'color':_0xcd27a2});this[_0x2fc0b4(0x345)]=_0x2b6b95,this['_scene'][_0x2fc0b4(0x34d)](_0x2b6b95,_0x763413),this['_hover']=!0x1;}[_0x957043(0x3cc)](){const _0x1244d3=_0x957043,_0x526fc4=this[_0x1244d3(0x3e6)][_0x1244d3(0x3ad)][_0x1244d3(0x3c8)](()=>{this['_hover']=!0x0;}),_0x14ee8e=this[_0x1244d3(0x3e6)][_0x1244d3(0x3be)]['subscribeEvent'](()=>{const _0x226da2=_0x1244d3;this[_0x226da2(0x2d7)]&&clearTimeout(this[_0x226da2(0x2d7)]),this[_0x226da2(0x2d7)]=setTimeout(()=>{const _0x366331=_0x226da2;this[_0x366331(0x2a7)]=!0x1;},0x7d0);});return()=>{const _0x40887c=_0x1244d3;_0x526fc4[_0x40887c(0x395)](),_0x14ee8e[_0x40887c(0x395)]();};}[_0x957043(0x38a)](_0x5d6993,_0x47c1bc,_0x5e81d1,_0x35c0aa){const _0x1c2759=_0x957043,_0x17f776=new _0x288e7f(_0x5d6993)[_0x1c2759(0x230)](0.2)[_0x1c2759(0x310)](),_0x94ba60=new _0x5f87e4(bi+_0x5b06e2[_0x1c2759(0x255)](X),{'pointsGroup':_0x47c1bc,'fill':_0x17f776||_0x265cf8(_0x764413['black'],0.2),'left':_0x5e81d1,'top':_0x35c0aa,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1c2759(0x3ec)][_0x1c2759(0x3c4)](_0x94ba60),this[_0x1c2759(0x2b8)][_0x1c2759(0x34d)](_0x94ba60,_0x763413);}[_0x957043(0x26d)](_0x2e527d,_0x35d520,_0x238bc,_0x4aa150){const _0x48ec32=_0x957043,_0x334d76=new _0x288e7f(_0x2e527d)[_0x48ec32(0x230)](0.2)[_0x48ec32(0x310)](),_0x58b5ec=new _0x5f87e4(Ti+_0x5b06e2[_0x48ec32(0x255)](X),{'pointsGroup':_0x35d520,'fill':_0x334d76||_0x265cf8(_0x764413[_0x48ec32(0x1f2)],0.2),'left':_0x238bc,'top':_0x4aa150,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x48ec32(0x3ec)]['push'](_0x58b5ec),this[_0x48ec32(0x2b8)][_0x48ec32(0x34d)](_0x58b5ec,_0x763413);}['_getAnchorBounding'](_0xbe4ac5){const _0x376e4b=_0xbe4ac5[0x0],_0x1dae17=_0x376e4b[0x0],_0x314e4c=_0x376e4b[0x2],{x:_0x28762c,y:_0x3021e9}=_0x1dae17,{x:_0x22768a,y:_0x5a6738}=_0x314e4c;return{'left':_0x28762c,'top':_0x3021e9,'width':_0x22768a-_0x28762c,'height':_0x5a6738-_0x3021e9};}['_getScale'](){const _0x58c818=_0x957043,{scaleX:_0x2f2fa1,scaleY:_0x1f2b64}=this[_0x58c818(0x2b8)][_0x58c818(0x398)]();return Math['max'](_0x2f2fa1,_0x1f2b64);}}var Ui=Object[_0x957043(0x3e8)],Mi=(_0x32f1e9,_0x38a22a,_0xb078af,_0x633fc0)=>{const _0x50c42e=_0x957043;for(var _0x3445f3=_0x633fc0>0x1?void 0x0:_0x633fc0?Ui(_0x38a22a,_0xb078af):_0x38a22a,_0x3c100f=_0x32f1e9[_0x50c42e(0x3d8)]-0x1,_0x465a90;_0x3c100f>=0x0;_0x3c100f--)(_0x465a90=_0x32f1e9[_0x3c100f])&&(_0x3445f3=_0x465a90(_0x3445f3)||_0x3445f3);return _0x3445f3;},Z=(_0x13a4bb,_0x26dce2)=>(_0x311a43,_0x2ea8a4)=>_0x26dce2(_0x311a43,_0x2ea8a4,_0x13a4bb);let we=class extends _0x22c522{constructor(_0x41b96d,_0x3549fa,_0x26d6d6,_0x5daa5b,_0x1ba260){const _0x3a467d=_0x957043;super(),_(this,'_cursorShapes',[]),_(this,_0x3a467d(0x1f9),[]),(this['_context']=_0x41b96d,this['_docSkeletonManagerService']=_0x3549fa,this[_0x3a467d(0x349)]=_0x26d6d6,this[_0x3a467d(0x2c2)]=_0x5daa5b,this[_0x3a467d(0x237)]=_0x1ba260,this[_0x3a467d(0x3b9)]());}[_0x957043(0x3b9)](){const _0x1332ba=_0x957043,_0x49306e=this[_0x1332ba(0x2b3)][_0x1332ba(0x30d)],_0x506c2a=this['_docSkeletonManagerService'];this[_0x1332ba(0x32b)](_0x4d89dc([this['_collabCursorController'][_0x1332ba(0x2f2)](_0x49306e),this['_themeService'][_0x1332ba(0x20c)]])[_0x1332ba(0x260)](_0x4a76e2(([_0xae0886,_0x2325c3])=>({'skeleton':_0x506c2a[_0x1332ba(0x3b8)](),'cursors':[..._0xae0886[_0x1332ba(0x286)]()][_0x1332ba(0x313)](_0x4cd2a3=>({..._0x4cd2a3,'color':this[_0x1332ba(0x237)][_0x1332ba(0x209)](_0x4cd2a3[_0x1332ba(0x2c3)])}))})))['subscribe'](_0x44d880=>{const _0x24beca=_0x1332ba;if(this[_0x24beca(0x35a)](),_0x44d880){const {skeleton:_0x39bdc5,cursors:_0x141a50}=_0x44d880;this[_0x24beca(0x2f0)](_0x39bdc5,_0x141a50);}})),this['_initResize'](),this[_0x1332ba(0x351)]();}[_0x957043(0x2f0)](_0x5bc220,_0x2e7b1d){const _0x1dfeab=_0x957043,{scene:_0x53c293,mainComponent:_0x39e445}=this[_0x1dfeab(0x2b3)],_0x3f7897=_0x2e7b1d[_0x1dfeab(0x3d3)](_0x4c1ad1=>new qe(_0x4c1ad1,_0x53c293,_0x5bc220,_0x39e445));this['_cursorShapes']=_0x3f7897,this[_0x1dfeab(0x1f9)]=_0x2e7b1d;}[_0x957043(0x3ce)](){const _0xf3720b=_0x957043;this[_0xf3720b(0x35a)]();const {scene:_0x7e9b1c,mainComponent:_0x506773}=this[_0xf3720b(0x2b3)],_0x3ec42c=this[_0xf3720b(0x3de)][_0xf3720b(0x3b8)](),_0x410a8a=this[_0xf3720b(0x1f9)]['map'](_0x2b2bca=>new qe(_0x2b2bca,_0x7e9b1c,_0x3ec42c,_0x506773));this[_0xf3720b(0x2a1)]=_0x410a8a;}[_0x957043(0x35a)](){const _0x310d84=_0x957043;this[_0x310d84(0x2a1)][_0x310d84(0x3e7)](_0x1985dc=>_0x1985dc[_0x310d84(0x3aa)]()),this[_0x310d84(0x2a1)]=[];}[_0x957043(0x351)](){const _0xd1a883=_0x957043,_0x5459fe=[_0x4e6e95['id']];this[_0xd1a883(0x32b)](this[_0xd1a883(0x2c2)][_0xd1a883(0x205)](_0x1bc7bd=>{const _0x19a07d=_0xd1a883;_0x5459fe[_0x19a07d(0x2ae)](_0x1bc7bd['id'])&&_0x1bc7bd['params'][_0x19a07d(0x30d)]===this[_0x19a07d(0x2b3)]['unitId']&&this[_0x19a07d(0x3ce)]();}));}[_0x957043(0x23d)](){const _0x4f7277=_0x957043;this[_0x4f7277(0x32b)](_0x4bc1b9(this[_0x4f7277(0x2b3)][_0x4f7277(0x3c3)][_0x4f7277(0x2cd)])['pipe'](_0x75e491(_0x142c1b=>_0x142c1b[_0x4f7277(0x276)]===_0x470dff['resize']),_0x7aa9fb(0x10))['subscribe'](()=>{const _0x4f954b=_0x4f7277;this[_0x4f954b(0x3ce)]();}));}};we=Mi([Z(0x1,_0x79b2b4(_0x597889)),Z(0x2,_0x79b2b4(H)),Z(0x3,_0x46c5a2),Z(0x4,_0x79b2b4(_0x490aa5))],we);const wi=0x1,Pi=1.5;class Li extends _0x3f4c5b{constructor(_0x1fc490,_0x14fcff){const _0x153feb=_0x957043;super(_0x1fc490,_0x14fcff),_(this,_0x153feb(0x3af)),_(this,_0x153feb(0x1f6),!0x1),_(this,_0x153feb(0x1ef)),_(this,_0x153feb(0x28b),''),_(this,_0x153feb(0x36f),_0x153feb(0x2be)),_(this,'_backgroundColor'),(_0x14fcff&&this[_0x153feb(0x35f)](_0x14fcff),this[_0x153feb(0x3ad)][_0x153feb(0x3c8)](()=>this[_0x153feb(0x35f)]({'hovered':!0x0})),this[_0x153feb(0x3be)][_0x153feb(0x3c8)](()=>this[_0x153feb(0x35f)]({'hovered':!0x1})));}[_0x957043(0x35f)](_0xfa5313){const _0x326176=_0x957043;var _0x5b2dec,_0x1a6868,_0x6fc820,_0x5da8ee,_0x4f0cf4,_0x58e47c;this[_0x326176(0x3af)]=(_0x5b2dec=_0xfa5313['color'])!=null?_0x5b2dec:this[_0x326176(0x3af)],this[_0x326176(0x1f6)]=(_0x1a6868=_0xfa5313[_0x326176(0x2bb)])!=null?_0x1a6868:this['_hovered'],this[_0x326176(0x1ef)]=(_0x6fc820=_0xfa5313[_0x326176(0x259)])!=null?_0x6fc820:this[_0x326176(0x1ef)],this[_0x326176(0x28b)]=(_0x5da8ee=_0xfa5313[_0x326176(0x306)])!=null?_0x5da8ee:this['_name'],this[_0x326176(0x36f)]=(_0x4f0cf4=_0xfa5313[_0x326176(0x232)])!=null?_0x4f0cf4:this['_labelPosition'],this[_0x326176(0x2cc)]=(_0x58e47c=_0xfa5313['backgroundColor'])!=null?_0x58e47c:this['_backgroundColor'],this[_0x326176(0x27d)]({'width':_0xfa5313[_0x326176(0x372)],'height':_0xfa5313[_0x326176(0x26c)]});}[_0x957043(0x38d)](_0x4f8850){const _0x18849f=_0x957043,{row:_0x339bba,column:_0x4a19bf}=_0x4f8850;if(_0x339bba>=this[_0x18849f(0x1ef)]['startRow']&&_0x339bba<=this[_0x18849f(0x1ef)][_0x18849f(0x330)]&&_0x4a19bf>=this[_0x18849f(0x1ef)][_0x18849f(0x2a9)]&&_0x4a19bf<=this['_range'][_0x18849f(0x2d6)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x18849f(0x35f)]({'hovered':!0x1});}[_0x957043(0x24b)](_0x1c208c){return!0x1;}[_0x957043(0x222)](_0x37f88f){const _0x188bf2=_0x957043;_0x575d1c['drawWith'](_0x37f88f,{'width':this[_0x188bf2(0x372)],'height':this['height'],'strokeWidth':Pi,'stroke':this[_0x188bf2(0x3af)],'evented':!0x1,'fill':this[_0x188bf2(0x2cc)]}),this['_hovered']&&(_0x37f88f[_0x188bf2(0x2ac)](),_0x37f88f['transform'](0x1,0x0,0x0,0x1,this[_0x188bf2(0x372)],this[_0x188bf2(0x36f)]==='bottom'?0x0:-0x14),he[_0x188bf2(0x212)](_0x37f88f,{'text':this[_0x188bf2(0x28b)],'color':this[_0x188bf2(0x3af)]}),_0x37f88f[_0x188bf2(0x362)]());}}var Ai=Object[_0x957043(0x3e8)],yi=(_0x21beaf,_0x33f482,_0x54c66b,_0x55798c)=>{const _0x575824=_0x957043;for(var _0x69f734=_0x55798c>0x1?void 0x0:_0x55798c?Ai(_0x33f482,_0x54c66b):_0x33f482,_0x16d486=_0x21beaf[_0x575824(0x3d8)]-0x1,_0x126cda;_0x16d486>=0x0;_0x16d486--)(_0x126cda=_0x21beaf[_0x16d486])&&(_0x69f734=_0x126cda(_0x69f734)||_0x69f734);return _0x69f734;},ve=(_0x53ccde,_0x3f35ac)=>(_0x3d3190,_0x34b785)=>_0x3f35ac(_0x3d3190,_0x34b785,_0x53ccde);const $i=0x1389;let Pe=class extends _0x22c522{constructor(_0x3238f4,_0x167da3,_0x4c3c24,_0x4d15c4){const _0x3d34f2=_0x957043;super(),_(this,_0x3d34f2(0x1f9),new Set()),_(this,_0x3d34f2(0x2a4),null),(this[_0x3d34f2(0x2b3)]=_0x3238f4,this['_sheetSkeletonManagerService']=_0x167da3,this[_0x3d34f2(0x349)]=_0x4c3c24,this['_themeService']=_0x4d15c4,this[_0x3d34f2(0x3b9)]());}[_0x957043(0x3b9)](){const _0x124e75=_0x957043;this[_0x124e75(0x3c5)][_0x124e75(0x20e)][_0x124e75(0x260)](_0x490efa(this[_0x124e75(0x2cb)]),_0x2403d7(_0x3ca726=>{const _0x4e414d=_0x124e75;if(_0x3ca726){const _0x106908=_0x3ca726[_0x4e414d(0x39a)];return _0x4d89dc(this[_0x4e414d(0x349)][_0x4e414d(0x2f2)](this[_0x4e414d(0x2b3)][_0x4e414d(0x30d)]),this[_0x4e414d(0x237)][_0x4e414d(0x20c)])['pipe'](_0x4a76e2(([_0x3f9c5a,_0x4fee97])=>{const _0x583704=_0x4e414d,_0x1d39e4=new Map();return _0x3f9c5a[_0x583704(0x3e7)]((_0x54d8e0,_0x335108)=>{const _0x43b368=_0x583704;if(_0x54d8e0['sheetID']===_0x106908){const _0x4eefd5={..._0x54d8e0};_0x4eefd5[_0x43b368(0x2c3)]=this[_0x43b368(0x237)][_0x43b368(0x209)](_0x54d8e0[_0x43b368(0x2c3)]),_0x1d39e4[_0x43b368(0x332)](_0x335108,_0x4eefd5);}}),{'skeleton':_0x3ca726,'cursors':_0x1d39e4};}));}return _0x21ae2d({'skeleton':null,'cursors':new Map()});}))[_0x124e75(0x3a6)](({skeleton:_0x5e4943,cursors:_0x32d7ac})=>{const _0x531d81=_0x124e75;this[_0x531d81(0x35a)](),_0x5e4943&&this[_0x531d81(0x2f0)](_0x5e4943,_0x32d7ac);}),this[_0x124e75(0x3c5)]['currentSkeleton$'][_0x124e75(0x3a6)](_0x34c6ff=>{const _0x293f03=_0x124e75;if(_0x34c6ff==null)return;const {skeleton:_0x2c620d}=_0x34c6ff,{scene:_0x48db96}=this[_0x293f03(0x2b3)];_0x48db96[_0x293f03(0x269)][_0x293f03(0x3c8)](_0x4eca6e(_0x9c3383=>{const _0x3a80f4=_0x293f03;var _0x3984ef,_0x546c4c;const {offsetX:_0x37e799,offsetY:_0x485b04}=_0x9c3383,{x:_0x5eb2fb,y:_0x590cf5}=_0x48db96[_0x3a80f4(0x33e)](_0x3d4a5f[_0x3a80f4(0x221)]([_0x37e799,_0x485b04])),{scaleX:_0x1ef275,scaleY:_0xb7df5a}=_0x48db96[_0x3a80f4(0x398)](),_0x258bbf=_0x48db96[_0x3a80f4(0x245)](_0x433b49['VIEW_MAIN']),_0x2466ee=_0x48db96[_0x3a80f4(0x388)](_0x3d4a5f['FromArray']([_0x5eb2fb,_0x590cf5]),_0x258bbf),_0x1494b5=_0x2c620d[_0x3a80f4(0x2a8)](_0x37e799,_0x485b04,_0x1ef275,_0xb7df5a,_0x2466ee);((_0x3984ef=this[_0x3a80f4(0x2a4)])==null?void 0x0:_0x3984ef[_0x3a80f4(0x34c)])===_0x1494b5[_0x3a80f4(0x34c)]&&((_0x546c4c=this[_0x3a80f4(0x2a4)])==null?void 0x0:_0x546c4c[_0x3a80f4(0x30e)])===_0x1494b5[_0x3a80f4(0x30e)]||this[_0x3a80f4(0x1f9)][_0x3a80f4(0x3e7)](_0x40d979=>{const _0xe1d2c3=_0x3a80f4;_0x40d979[_0xe1d2c3(0x38d)](_0x1494b5);});},0x64));});}[_0x957043(0x2f0)](_0x311f24,_0x564020){const _0x3ed641=_0x957043;var _0x5811ea;const _0x731430=(_0x5811ea=this[_0x3ed641(0x3c5)][_0x3ed641(0x346)]())==null?void 0x0:_0x5811ea[_0x3ed641(0x328)];if(!_0x731430)return;const _0x12efb4=this[_0x3ed641(0x23f)]();if(!_0x12efb4)return;this[_0x3ed641(0x1f9)][_0x3ed641(0x3e7)](_0x34fb47=>{const _0x48e509=_0x3ed641;_0x34fb47[_0x48e509(0x335)]();});const {scene:_0x42932f}=_0x12efb4,_0x4dffe1=xi(Array[_0x3ed641(0x2eb)](_0x564020[_0x3ed641(0x286)]()))[_0x3ed641(0x3d3)](_0x3479c3=>{const _0x49b1a0=_0x3ed641,{color:_0x57bcee,range:_0x54ca5b,name:_0x55fe94,selection:_0x28414c,sheetID:_0x316c93}=_0x3479c3,{startColumn:_0x42cab3,startRow:_0x4acca1,endColumn:_0x222054,endRow:_0x4675e2}=_0x54ca5b,_0x162192=_0xe7b806(_0x4acca1,_0x42cab3,_0x42932f,_0x731430),_0x4eaa5c=_0xe7b806(_0x4675e2,_0x222054,_0x42932f,_0x731430),{columnHeaderHeightAndMarginTop:_0x209bdc}=_0x731430,{startX:_0x426fb5,startY:_0x435d42}=_0x162192,{endX:_0x525f3d,endY:_0x13b518}=_0x4eaa5c,_0x145849=_0x525f3d-_0x426fb5,_0xd7f866=_0x13b518-_0x435d42,_0x2869bc={'labelPosition':_0x435d42-_0x209bdc>=ee?_0x49b1a0(0x2be):_0x49b1a0(0x387),'sheetID':_0x316c93,'range':_0x54ca5b,'color':_0x57bcee,'name':_0x55fe94,'selection':_0x28414c,'left':_0x426fb5,'top':_0x435d42,'width':_0x145849,'height':_0xd7f866,'evented':!0x1,'zIndex':$i};return new Li(_0x55fe94,_0x2869bc);});_0x42932f[_0x3ed641(0x392)](_0x4dffe1,wi),this[_0x3ed641(0x1f9)]=new Set(_0x4dffe1);}[_0x957043(0x35a)](){const _0x51b6b9=_0x957043;var _0x26fc0a;(_0x26fc0a=this['_cursors'])==null||_0x26fc0a[_0x51b6b9(0x3e7)](_0x5d5f49=>_0x5d5f49['dispose']());}[_0x957043(0x23f)](){const _0x4fcb07=_0x957043;return _0x506945(this[_0x4fcb07(0x2b3)][_0x4fcb07(0x2ad)],this['_context']);}};Pe=yi([ve(0x1,_0x79b2b4(_0x141869)),ve(0x2,_0x79b2b4(H)),ve(0x3,_0x79b2b4(_0x490aa5))],Pe);function xi(_0x3832d2){const _0x55153a=_0x957043,_0x5246d9=new Map();return _0x3832d2[_0x55153a(0x3e7)](_0x28ee67=>{const _0x38a842=_0x55153a;if(_0x5246d9[_0x38a842(0x23a)](_0x28ee67['selection'])){const _0x46d93e=_0x5246d9[_0x38a842(0x379)](_0x28ee67['selection']);_0x46d93e[_0x38a842(0x306)]+=',\x20'+_0x28ee67[_0x38a842(0x306)];}else _0x5246d9[_0x38a842(0x332)](_0x28ee67[_0x38a842(0x324)],_0x28ee67);}),Array[_0x55153a(0x2eb)](_0x5246d9[_0x55153a(0x286)]());}var v=function(){const _0x1a4c2a=_0x957043;return v=Object[_0x1a4c2a(0x30b)]||function(_0x5c5135){const _0x4026d6=_0x1a4c2a;for(var _0x3f5944,_0x372198=0x1,_0x4e8b8c=arguments[_0x4026d6(0x3d8)];_0x372198<_0x4e8b8c;_0x372198++){_0x3f5944=arguments[_0x372198];for(var _0xa4bdf1 in _0x3f5944)Object[_0x4026d6(0x325)][_0x4026d6(0x235)][_0x4026d6(0x320)](_0x3f5944,_0xa4bdf1)&&(_0x5c5135[_0xa4bdf1]=_0x3f5944[_0xa4bdf1]);}return _0x5c5135;},v[_0x1a4c2a(0x391)](this,arguments);},Bi=function(_0x3ce52a,_0x4163b9){const _0x8f2934=_0x957043;var _0x5d32fb={};for(var _0x5489f2 in _0x3ce52a)Object[_0x8f2934(0x325)][_0x8f2934(0x235)][_0x8f2934(0x320)](_0x3ce52a,_0x5489f2)&&_0x4163b9[_0x8f2934(0x33a)](_0x5489f2)<0x0&&(_0x5d32fb[_0x5489f2]=_0x3ce52a[_0x5489f2]);if(_0x3ce52a!=null&&typeof Object['getOwnPropertySymbols']==_0x8f2934(0x3cb)){for(var _0x340694=0x0,_0x5489f2=Object[_0x8f2934(0x353)](_0x3ce52a);_0x340694<_0x5489f2['length'];_0x340694++)_0x4163b9[_0x8f2934(0x33a)](_0x5489f2[_0x340694])<0x0&&Object[_0x8f2934(0x325)][_0x8f2934(0x365)][_0x8f2934(0x320)](_0x3ce52a,_0x5489f2[_0x340694])&&(_0x5d32fb[_0x5489f2[_0x340694]]=_0x3ce52a[_0x5489f2[_0x340694]]);}return _0x5d32fb;},je=_0x30f0d5(function(_0xa19441,_0x390604){const _0x404dbc=_0x957043;var _0x100928=_0xa19441[_0x404dbc(0x2bd)],_0x38a567=_0xa19441['id'],_0x15b6e4=_0xa19441[_0x404dbc(0x2ef)],_0x3c1a10=_0xa19441['extend'],_0x19a9e5=Bi(_0xa19441,[_0x404dbc(0x2bd),'id',_0x404dbc(0x2ef),_0x404dbc(0x292)]),_0x4dc419=_0x404dbc(0x370)['concat'](_0x38a567,'\x20')[_0x404dbc(0x367)](_0x15b6e4||'')['trim'](),_0x448d4d=_0x1a3d09('_'[_0x404dbc(0x367)](ji()));return Rt(_0x100928,''[_0x404dbc(0x367)](_0x38a567),{'defIds':_0x100928[_0x404dbc(0x250)],'idSuffix':_0x448d4d[_0x404dbc(0x350)]},v({'ref':_0x390604,'className':_0x4dc419},_0x19a9e5),_0x3c1a10);});function Rt(_0x135eb4,_0x286f5d,_0x4511c8,_0x3af8a5,_0x18ad9a){const _0x807de9=_0x957043;return _0x240f9b(_0x135eb4[_0x807de9(0x3f4)],v(v({'key':_0x286f5d},ki(_0x135eb4,_0x4511c8,_0x18ad9a)),_0x3af8a5),(Hi(_0x135eb4,_0x4511c8)['children']||[])['map'](function(_0x412062,_0x111b60){const _0x507ecc=_0x807de9;return Rt(_0x412062,''[_0x507ecc(0x367)](_0x286f5d,'-')[_0x507ecc(0x367)](_0x135eb4[_0x507ecc(0x3f4)],'-')[_0x507ecc(0x367)](_0x111b60),_0x4511c8,void 0x0,_0x18ad9a);}));}function ki(_0x5c2d22,_0x3ccf0d,_0x3aa32d){const _0x5d2fa8=_0x957043;var _0x22e56d=v({},_0x5c2d22['attrs']);_0x3aa32d!=null&&_0x3aa32d[_0x5d2fa8(0x2f7)]&&_0x22e56d[_0x5d2fa8(0x32f)]===_0x5d2fa8(0x2f7)&&(_0x22e56d['fill']=_0x3aa32d[_0x5d2fa8(0x2f7)]),_0x5c2d22[_0x5d2fa8(0x3f4)]===_0x5d2fa8(0x20b)&&_0x22e56d['id']&&(_0x22e56d['id']=_0x22e56d['id']+_0x3ccf0d['idSuffix']),Object[_0x5d2fa8(0x277)](_0x22e56d)[_0x5d2fa8(0x3e7)](function(_0x21ada5){const _0x2a2800=_0x5d2fa8;var _0x2f3e28=_0x21ada5[0x0],_0x317927=_0x21ada5[0x1];_0x2f3e28==='mask'&&typeof _0x317927=='string'&&(_0x22e56d[_0x2f3e28]=_0x317927[_0x2a2800(0x352)](/url\(#(.*)\)/,_0x2a2800(0x389)[_0x2a2800(0x367)](_0x3ccf0d['idSuffix'],')')));});var _0x50e0df=_0x3ccf0d['defIds'];return!_0x50e0df||_0x50e0df['length']===0x0||(_0x5c2d22['tag']===_0x5d2fa8(0x26e)&&_0x22e56d[_0x5d2fa8(0x2ed)]&&(_0x22e56d[_0x5d2fa8(0x2ed)]=_0x22e56d[_0x5d2fa8(0x2ed)]+_0x3ccf0d['idSuffix']),Object[_0x5d2fa8(0x277)](_0x22e56d)[_0x5d2fa8(0x3e7)](function(_0xaaee0f){const _0x564354=_0x5d2fa8;var _0x17e2a8=_0xaaee0f[0x0],_0xb54065=_0xaaee0f[0x1];typeof _0xb54065==_0x564354(0x381)&&(_0x22e56d[_0x17e2a8]=_0xb54065[_0x564354(0x352)](/url\(#(.*)\)/,'url(#$1'[_0x564354(0x367)](_0x3ccf0d[_0x564354(0x3d6)],')')));})),_0x22e56d;}function Hi(_0x12305a,_0x5dc4bf){const _0x532cbe=_0x957043;var _0x529733,_0x5aa15b=_0x5dc4bf[_0x532cbe(0x250)];return!_0x5aa15b||_0x5aa15b[_0x532cbe(0x3d8)]===0x0?_0x12305a:_0x12305a[_0x532cbe(0x3f4)]===_0x532cbe(0x29a)&&(!((_0x529733=_0x12305a[_0x532cbe(0x22b)])===null||_0x529733===void 0x0)&&_0x529733['length'])?v(v({},_0x12305a),{'children':_0x12305a['children'][_0x532cbe(0x3d3)](function(_0x315af1){const _0x47f42c=_0x532cbe;return typeof _0x315af1[_0x47f42c(0x3da)]['id']==_0x47f42c(0x381)&&_0x5aa15b&&_0x5aa15b[_0x47f42c(0x2ae)](_0x315af1[_0x47f42c(0x3da)]['id'])?v(v({},_0x315af1),{'attrs':v(v({},_0x315af1[_0x47f42c(0x3da)]),{'id':_0x315af1[_0x47f42c(0x3da)]['id']+_0x5dc4bf[_0x47f42c(0x3d6)]})}):_0x315af1;})}):_0x12305a;}function ji(){const _0x5dc45f=_0x957043;return Math[_0x5dc45f(0x2d0)]()[_0x5dc45f(0x2d2)](0x24)['substring'](0x2,0x8);}je['displayName']=_0x957043(0x279);var Yi={'tag':_0x957043(0x261),'attrs':{'xmlns':_0x957043(0x210),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x957043(0x374),'height':_0x957043(0x374)},'children':[{'tag':'g','attrs':{'clipPath':_0x957043(0x2ca)},'children':[{'tag':_0x957043(0x3b0),'attrs':{'stroke':'currentColor','d':_0x957043(0x369),'strokeLinecap':'round','strokeLinejoin':_0x957043(0x2f9),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x957043(0x37a)},'children':[{'tag':_0x957043(0x3b0),'attrs':{'fill':_0x957043(0x368),'d':_0x957043(0x296)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},Dt=_0x30f0d5(function(_0x51daaa,_0x27d8ed){const _0x16a0fc=_0x957043;return _0x240f9b(je,Object['assign']({},_0x51daaa,{'id':_0x16a0fc(0x226),'ref':_0x27d8ed,'icon':Yi}));});Dt[_0x957043(0x297)]=_0x957043(0x275);var Fi={'tag':_0x957043(0x261),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x957043(0x31e),'viewBox':'0\x200\x2017\x2016','width':_0x957043(0x374),'height':_0x957043(0x374)},'children':[{'tag':'g','attrs':{'clipPath':_0x957043(0x2c5)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x957043(0x2f9),'strokeLinejoin':_0x957043(0x2f9),'strokeWidth':1.2}}]},{'tag':_0x957043(0x29a),'attrs':{},'children':[{'tag':_0x957043(0x3d5),'attrs':{'id':_0x957043(0x206)},'children':[{'tag':_0x957043(0x3b0),'attrs':{'fill':_0x957043(0x368),'d':_0x957043(0x296),'transform':_0x957043(0x208)}}]}]}],'defIds':[_0x957043(0x206)]},Nt=_0x30f0d5(function(_0x206459,_0x188777){const _0x28f667=_0x957043;return _0x240f9b(je,Object['assign']({},_0x206459,{'id':_0x28f667(0x22c),'ref':_0x188777,'icon':Fi}));});Nt[_0x957043(0x297)]=_0x957043(0x262);function Wi(_0x35f184){const _0x509274=_0x957043;switch(_0x35f184){case _0x381834[_0x509274(0x240)]:return _0x509274(0x23e);case _0x381834[_0x509274(0x28a)]:return _0x509274(0x21e);case _0x381834[_0x509274(0x321)]:return _0x509274(0x228);case _0x381834[_0x509274(0x23c)]:return _0x509274(0x3b1);case _0x381834[_0x509274(0x338)]:case _0x381834['AWAITING_WITH_PENDING']:return _0x509274(0x3e1);case _0x381834[_0x509274(0x289)]:case _0x381834[_0x509274(0x3ba)]:return _0x509274(0x2a6);}}function Vi(_0x14db9d){const _0x54a8de=_0x957043,{status$:_0xb933e2}=_0x14db9d,_0x2dd854=_0xf8189f(_0xb933e2,_0x381834['NOT_COLLAB']),_0x5680f7=_0x2f5b7c(_0x1476d7),_0x554f6e=_0x2f5b7c(_0x339ffc),_0x23aae3=_0x2dd854!==_0x381834[_0x54a8de(0x240)],_0xaddda6=_0x5680f7['t'](Wi(_0x2dd854)),_0x26094c=_0x23aae3?_0x35b522(Nt,{}):_0x35b522(Dt,{}),_0x3088ab=_0xcd9872(()=>{const _0x3fa734=_0x54a8de;_0x23aae3||_0x554f6e[_0x3fa734(0x37b)]();},[_0x23aae3,_0x554f6e]);function _0x35a9c9(){const _0x1b8bc2=_0x54a8de;return _0x34beb4(_0x1b8bc2(0x282),{'className':'univer-flex\x20univer-items-center','onClick':_0x3088ab,'children':[_0x35b522(_0x1b8bc2(0x282),{'className':_0x2074e2('univer-flex\x20univer-mr-2\x20univer-text-xl',{'univer-text-green-500':_0x23aae3,'univer-text-red-500':!_0x23aae3}),'children':_0x26094c}),_0x35b522('div',{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0xaddda6})]});}return _0x23aae3?_0x35a9c9():_0x35b522(_0x43bb58,{'title':_0x5680f7['t']('collab-client.tooltip.reconnect'),'children':_0x35a9c9()});}var Xi=Object[_0x957043(0x3e8)],Gi=(_0x4939ea,_0x420fc3,_0x4e0d20,_0x39fb3c)=>{const _0x2dd9aa=_0x957043;for(var _0x250293=_0x39fb3c>0x1?void 0x0:_0x39fb3c?Xi(_0x420fc3,_0x4e0d20):_0x420fc3,_0x456378=_0x4939ea[_0x2dd9aa(0x3d8)]-0x1,_0x30e20d;_0x456378>=0x0;_0x456378--)(_0x30e20d=_0x4939ea[_0x456378])&&(_0x250293=_0x30e20d(_0x250293)||_0x250293);return _0x250293;},Q=(_0x2b3d21,_0x385284)=>(_0x25d579,_0x4990a2)=>_0x385284(_0x25d579,_0x4990a2,_0x2b3d21);let te=class extends _0x4a6261{constructor(_0x4ce1c4,_0x1b947b,_0x4b16e0,_0x1a559d){const _0xb1e43a=_0x957043;super(),_(this,_0xb1e43a(0x28d),new _0x3dfdee(_0x381834[_0xb1e43a(0x23c)])),(this[_0xb1e43a(0x1f1)]=_0x4ce1c4,this['_injector']=_0x1b947b,this[_0xb1e43a(0x284)]=_0x4b16e0,this[_0xb1e43a(0x393)]=_0x1a559d,this[_0xb1e43a(0x3df)](),this[_0xb1e43a(0x2e3)]());}[_0x957043(0x2e3)](){const _0x26fca2=_0x957043;this[_0x26fca2(0x32b)](this['_univerInstanceService'][_0x26fca2(0x3ed)]['pipe'](_0xf18957(()=>{const _0x40e699=_0x26fca2,_0x1f06c6=this['_univerInstanceService'][_0x40e699(0x2b7)]();return _0x1f06c6?this['_collaborationController']['getCollabEntity$'](_0x1f06c6[_0x40e699(0x2f6)]()):_0x21ae2d(null);}),_0xf18957(_0xdc6dc0=>_0xdc6dc0?_0xdc6dc0[_0x26fca2(0x2d1)]:_0x21ae2d(_0x381834[_0x26fca2(0x23c)])))[_0x26fca2(0x3a6)](_0x1b3baf=>{const _0x2c0f76=_0x26fca2;this[_0x2c0f76(0x28d)][_0x2c0f76(0x3c9)](_0x1b3baf);}));}[_0x957043(0x3df)](){const _0x4e73dc=_0x957043;this['disposeWithMe'](this['_uiPartsService'][_0x4e73dc(0x2e6)](_0x313ed3['HEADER_MENU'],()=>_0x171d4c(Ki({'status$':this['_status$']['asObservable']()}),this[_0x4e73dc(0x267)])));}};te=Gi([Q(0x0,_0x16f134),Q(0x1,_0x79b2b4(_0x2f259a)),Q(0x2,_0x79b2b4(_0xb4f4a1)),Q(0x3,_0x386d61)],te);function Ki(_0x5e92cb){const {status$:_0x46c8a6}=_0x5e92cb;return function(){return _0x35b522(Vi,{'status$':_0x46c8a6});};}var zi=Object[_0x957043(0x3e8)],Ji=(_0xc8efaf,_0x4f9c42,_0x21ca22,_0x8f7ae8)=>{const _0x2f623e=_0x957043;for(var _0x280325=_0x8f7ae8>0x1?void 0x0:_0x8f7ae8?zi(_0x4f9c42,_0x21ca22):_0x4f9c42,_0x2f2dcb=_0xc8efaf[_0x2f623e(0x3d8)]-0x1,_0x2c830f;_0x2f2dcb>=0x0;_0x2f2dcb--)(_0x2c830f=_0xc8efaf[_0x2f2dcb])&&(_0x280325=_0x2c830f(_0x280325)||_0x280325);return _0x280325;},B=(_0x521c64,_0x315ae7)=>(_0x1792d1,_0x4dff8e)=>_0x315ae7(_0x1792d1,_0x4dff8e,_0x521c64);let se=class extends _0x4a6261{constructor(_0x18847a,_0x46a9bd,_0x2b2ed4,_0x4606d6,_0x1e931c,_0x215bee){const _0x195ad7=_0x957043;super(),this[_0x195ad7(0x36e)]=_0x18847a,this[_0x195ad7(0x340)]=_0x46a9bd,this[_0x195ad7(0x3e9)]=_0x2b2ed4,this[_0x195ad7(0x3bf)]=_0x4606d6,this[_0x195ad7(0x2dd)]=_0x1e931c,this[_0x195ad7(0x25a)]=_0x215bee,this[_0x195ad7(0x2e9)](),this['_initEvent']();}[_0x957043(0x2e9)](){const _0x54f54b=_0x957043;this['disposeWithMe'](this[_0x54f54b(0x36e)][_0x54f54b(0x2ff)](()=>{const _0x47d967=_0x54f54b;if(this[_0x47d967(0x340)][_0x47d967(0x2e7)][_0x47d967(0x342)])return this[_0x47d967(0x25a)]['t'](_0x47d967(0x3ee));}));}[_0x957043(0x309)](){const _0x28aee8=_0x957043;this[_0x28aee8(0x32b)](this[_0x28aee8(0x3e9)][_0x28aee8(0x202)][_0x28aee8(0x3a6)](_0x4ec1d1=>{const _0x44b012=_0x28aee8;_0x4ec1d1['id']===_0x55ae13[_0x44b012(0x33f)]&&this[_0x44b012(0x3bf)]['show']({'type':_0x4af6a0[_0x44b012(0x24d)],'content':this[_0x44b012(0x25a)]['t']('collaboration.single-unit.warning')}),_0x4ec1d1['id']===_0x55ae13[_0x44b012(0x3f0)]&&this[_0x44b012(0x3bf)]['show']({'type':_0x4af6a0['Warning'],'content':this['_localeService']['t'](_0x44b012(0x25b))}),_0x4ec1d1['id']===_0x55ae13[_0x44b012(0x326)]&&this[_0x44b012(0x2dd)][_0x44b012(0x299)]({'title':this[_0x44b012(0x25a)]['t'](_0x44b012(0x347)),'content':this[_0x44b012(0x25a)]['t']('permission.content'),'type':_0x44b012(0x219),'duration':0x0}),_0x4ec1d1['id']===_0x55ae13[_0x44b012(0x28a)]&&this[_0x44b012(0x3bf)][_0x44b012(0x299)]({'type':_0x4af6a0['Error'],'content':this[_0x44b012(0x25a)]['t'](_0x44b012(0x25b))+'('+_0x4ec1d1['data']+')'}),_0x4ec1d1['id']===_0x55ae13['JOIN_ROOM_FAILED']&&this['_messageService']['show']({'type':_0x4af6a0[_0x44b012(0x24d)],'content':this[_0x44b012(0x25a)]['t'](_0x4ec1d1[_0x44b012(0x301)]||'')}),_0x4ec1d1['id']===_0x55ae13['SOCKET_FAILED_RETRY']&&this['_messageService']['show']({'type':_0x4af6a0[_0x44b012(0x24d)],'content':this[_0x44b012(0x25a)]['t'](_0x44b012(0x1f0))}),_0x4ec1d1['id']===_0x55ae13['SOCKET_FAILED']&&this['_messageService']['show']({'type':_0x4af6a0[_0x44b012(0x36c)],'content':this['_localeService']['t'](_0x44b012(0x314))}),_0x4ec1d1['id']===_0x55ae13[_0x44b012(0x3ca)]&&this[_0x44b012(0x3bf)][_0x44b012(0x299)]({'type':_0x4af6a0['Error'],'content':this[_0x44b012(0x25a)]['t'](_0x44b012(0x211))});}));}};se=Ji([B(0x0,_0x9a44af),B(0x1,_0x5a319b),B(0x2,_0x79b2b4(_0x53f425)),B(0x3,_0x4db31f),B(0x4,_0xec7202),B(0x5,_0x79b2b4(_0x1476d7))],se);const Zi='collaboration-client-ui.config',et={},Ut=_0xe327bc('uni.network.url-service');var Qi=Object[_0x957043(0x3e8)],qi=(_0x48c957,_0x1983c6,_0x2858a6,_0x20fd23)=>{for(var _0x1809d=_0x20fd23>0x1?void 0x0:_0x20fd23?Qi(_0x1983c6,_0x2858a6):_0x1983c6,_0x5d994a=_0x48c957['length']-0x1,_0x4c2fa1;_0x5d994a>=0x0;_0x5d994a--)(_0x4c2fa1=_0x48c957[_0x5d994a])&&(_0x1809d=_0x4c2fa1(_0x1809d)||_0x1809d);return _0x1809d;},G=(_0x30a600,_0x55a975)=>(_0x5eae33,_0x597dbb)=>_0x55a975(_0x5eae33,_0x597dbb,_0x30a600);let ie=class extends _0x22c522{constructor(_0x36eb5e,_0x2095ea,_0x2743f8,_0x2b0457,_0x59f837){const _0x28d360=_0x957043;super(),this[_0x28d360(0x3d7)]=_0x36eb5e,this[_0x28d360(0x3e2)]=_0x2095ea,this['_commandService']=_0x2743f8,this[_0x28d360(0x2f4)]=_0x2b0457,_0x59f837?_0x59f837==null||_0x59f837[_0x28d360(0x225)]()[_0x28d360(0x2f8)](()=>this[_0x28d360(0x3b9)]()):(this[_0x28d360(0x3e2)][_0x28d360(0x2d9)](_0x28d360(0x2d8),_0x28d360(0x32a)),this[_0x28d360(0x3b9)]());}async['_init'](){const _0x191593=_0x957043,_0x5c734a=this[_0x191593(0x3d7)][_0x191593(0x38c)]('unit'),_0xc93a28=this['_urlService'][_0x191593(0x38c)](_0x191593(0x276)),_0x1c90e2=this[_0x191593(0x3d7)]['getParam'](_0x191593(0x24c));if(!_0x5c734a||!_0xc93a28){this[_0x191593(0x3e2)][_0x191593(0x2d9)]('[CollaborationDataLoaderController]',_0x191593(0x38b));return;}const _0x36b9dc=await this['_dataLoaderService'][_0x191593(0x2fa)](_0x5c734a,Number(_0xc93a28),_0x1c90e2);_0x36b9dc&&_0x36b9dc instanceof _0x479841&&this[_0x191593(0x32d)](_0x36b9dc);}async[_0x957043(0x32d)](_0x10bbad){const _0x5e0eb0=_0x957043;await this[_0x5e0eb0(0x25d)](_0x10bbad),_0x10bbad[_0x5e0eb0(0x363)][_0x5e0eb0(0x260)](_0x35dd28(this[_0x5e0eb0(0x2cb)]))[_0x5e0eb0(0x3a6)](_0x31ece6=>{_0x31ece6&&this['_updateURLWithCurrentState'](_0x31ece6);}),this['_urlService'][_0x5e0eb0(0x271)][_0x5e0eb0(0x260)](_0x35dd28(this[_0x5e0eb0(0x2cb)]))['subscribe'](()=>this[_0x5e0eb0(0x25d)](_0x10bbad));}[_0x957043(0x3f3)](_0x24113a,_0x1d1537=!0x1){const _0x1096e4=_0x957043,_0xec338f=this['_urlService']['getParam']('subunit');_0x24113a[_0x1096e4(0x2fc)]()!==_0xec338f&&this[_0x1096e4(0x3d7)][_0x1096e4(0x2e5)](_0x1096e4(0x24c),_0x24113a[_0x1096e4(0x2fc)](),_0x1d1537);}async[_0x957043(0x25d)](_0x30c9c7){const _0x356c92=_0x957043;var _0x2c981d;const _0x3e8d52=this[_0x356c92(0x3d7)][_0x356c92(0x38c)]('subunit');if(!_0x3e8d52||!_0x30c9c7[_0x356c92(0x2fd)](_0x3e8d52)){const _0x225b1f=_0x30c9c7[_0x356c92(0x253)]()[0x0],_0x4ca3f8=_0x30c9c7[_0x356c92(0x2fd)](_0x225b1f);if(!_0x4ca3f8)return;this['_updateURLWithCurrentState'](_0x4ca3f8,!0x0),await this[_0x356c92(0x2c2)]['executeCommand'](_0x110d33['id'],{'unitId':_0x30c9c7[_0x356c92(0x2f6)](),'subUnitId':_0x225b1f});return;}((_0x2c981d=_0x30c9c7[_0x356c92(0x3dc)]())==null?void 0x0:_0x2c981d[_0x356c92(0x2fc)]())!==_0x3e8d52&&await this[_0x356c92(0x2c2)][_0x356c92(0x36d)](_0x110d33['id'],{'unitId':_0x30c9c7['getUnitId'](),'subUnitId':_0x3e8d52});}};ie=qi([G(0x0,Ut),G(0x1,_0x2e1383),G(0x2,_0x46c5a2),G(0x3,_0x79b2b4(_0x1fab07)),G(0x4,_0x21772a(_0x3a4cf1))],ie);var en=Object[_0x957043(0x3e8)],tn=(_0x20d113,_0x3339a6,_0x5acce7,_0x30b168)=>{const _0x58555f=_0x957043;for(var _0x222298=_0x30b168>0x1?void 0x0:_0x30b168?en(_0x3339a6,_0x5acce7):_0x3339a6,_0x45f9e6=_0x20d113[_0x58555f(0x3d8)]-0x1,_0x2bb8ed;_0x45f9e6>=0x0;_0x45f9e6--)(_0x2bb8ed=_0x20d113[_0x45f9e6])&&(_0x222298=_0x2bb8ed(_0x222298)||_0x222298);return _0x222298;},pe=(_0x3b7ee8,_0x83f85c)=>(_0x42de23,_0x3d047e)=>_0x83f85c(_0x42de23,_0x3d047e,_0x3b7ee8);let ne=class{constructor(_0x35bd56,_0x5e20c7,_0x3faf83){const _0x54e17f=_0x957043;this[_0x54e17f(0x267)]=_0x35bd56,this[_0x54e17f(0x30f)]=_0x5e20c7,this[_0x54e17f(0x26f)]=_0x3faf83;}['transformIMECache'](_0x331ef1){const _0x5eb622=_0x957043;this[_0x5eb622(0x246)](_0x331ef1),this[_0x5eb622(0x39e)](_0x331ef1);}['transformRemoteChangeset'](_0x577335){const _0x195439=_0x957043,{unitID:_0x4767c4}=_0x577335,_0xb539a4=this[_0x195439(0x26f)][_0x195439(0x1f8)](_0x4767c4)[_0x195439(0x38e)](_0x598aad),{redoCache:_0x418a0f}=_0xb539a4[_0x195439(0x29d)]();if(_0x418a0f['length']===0x0)return _0x577335;let _0x3fa7f4=_0x5b06e2[_0x195439(0x22f)](_0x577335[_0x195439(0x278)][0x0]);for(let _0x1b74d8=0x0;_0x1b74d8<_0x418a0f[_0x195439(0x3d8)];_0x1b74d8++){const _0x147557={'id':_0x195439(0x254),'params':{..._0x418a0f[_0x1b74d8]}},_0x5d5096=this[_0x195439(0x30f)]['transformMutation'](_0x3fa7f4,_0x147557,!0x1);if(_0x7a4ffe(_0x5d5096))throw _0x5d5096[_0x195439(0x219)];_0x3fa7f4=_0x5d5096['m1Prime'];}return{..._0x5b06e2[_0x195439(0x22f)](_0x577335),'mutations':[_0x3fa7f4]};}[_0x957043(0x246)](_0x2826c9){const _0x1c493e=_0x957043,{unitID:_0x5c797e}=_0x2826c9,_0x327d93=this[_0x1c493e(0x26f)][_0x1c493e(0x1f8)](_0x5c797e)[_0x1c493e(0x38e)](_0x598aad),{undoCache:_0x55affb,redoCache:_0x118ee3}=_0x327d93[_0x1c493e(0x29d)]();if(_0x55affb[_0x1c493e(0x3d8)]===0x0||_0x118ee3[_0x1c493e(0x3d8)]===0x0)return;const _0x1f557a=[],_0x82c7e=[];let _0x8c302b=_0x5b06e2[_0x1c493e(0x22f)](_0x2826c9[_0x1c493e(0x278)][0x0]),_0x1ea9bf=_0x5b06e2[_0x1c493e(0x22f)](_0x2826c9[_0x1c493e(0x278)][0x0]);for(let _0xd5db5d=_0x55affb[_0x1c493e(0x3d8)]-0x1;_0xd5db5d>=0x0;_0xd5db5d--){const _0x4dbe6b={'id':'doc.mutation.rich-text-editing','params':{..._0x55affb[_0xd5db5d]}},_0x1373d8={'id':'doc.mutation.rich-text-editing','params':{..._0x118ee3[_0xd5db5d]}},_0x3e464d=this[_0x1c493e(0x30f)][_0x1c493e(0x356)](_0x8c302b,_0x4dbe6b,!0x1),_0x43b831=this[_0x1c493e(0x30f)][_0x1c493e(0x356)](_0x1ea9bf,_0x1373d8,!0x1);if(_0x7a4ffe(_0x3e464d))throw _0x3e464d[_0x1c493e(0x219)];if(_0x7a4ffe(_0x43b831))throw _0x43b831[_0x1c493e(0x219)];_0x1f557a['unshift'](_0x3e464d['m2Prime'][_0x1c493e(0x385)]),_0x82c7e[_0x1c493e(0x3c7)](_0x43b831[_0x1c493e(0x2fb)][_0x1c493e(0x385)]),_0x8c302b=_0x3e464d['m1Prime'],_0x1ea9bf=_0x43b831['m1Prime'];}_0x327d93[_0x1c493e(0x27b)]({'undoCache':_0x1f557a,'redoCache':_0x82c7e});}[_0x957043(0x39e)](_0x192713){const _0x2b83f3=_0x957043,{unitID:_0x5d6e03}=_0x192713,_0x57b664=this[_0x2b83f3(0x26f)][_0x2b83f3(0x1f8)](_0x5d6e03)['with'](_0x598aad),_0x9a916d=_0x57b664[_0x2b83f3(0x327)]();if(_0x9a916d==null)return;const _0x2eea65=[{'id':_0x2b83f3(0x254),'params':{'unitId':_0x192713[_0x2b83f3(0x215)],'actions':null,'textRanges':[_0x9a916d]}}],_0x2068fa=this[_0x2b83f3(0x30f)][_0x2b83f3(0x2cf)](_0x192713,_0x2eea65);if(!_0x55936b(_0x2068fa))throw _0x2068fa['error'];const _0x4820d6=_0x2068fa['m2Prime'][0x0][_0x2b83f3(0x385)][_0x2b83f3(0x375)];Array[_0x2b83f3(0x303)](_0x4820d6)&&_0x4820d6[_0x2b83f3(0x3d8)]&&_0x57b664[_0x2b83f3(0x251)](_0x4820d6[0x0]);}};ne=tn([pe(0x0,_0x79b2b4(_0x2f259a)),pe(0x1,_0x417ff5),pe(0x2,_0x47cbf5)],ne);var sn=Object[_0x957043(0x3e8)],nn=(_0x483767,_0x1e8100,_0x2e913a,_0x53f907)=>{const _0x307d67=_0x957043;for(var _0x10d62e=_0x53f907>0x1?void 0x0:_0x53f907?sn(_0x1e8100,_0x2e913a):_0x1e8100,_0x555a2f=_0x483767[_0x307d67(0x3d8)]-0x1,_0x57d244;_0x555a2f>=0x0;_0x555a2f--)(_0x57d244=_0x483767[_0x555a2f])&&(_0x10d62e=_0x57d244(_0x10d62e)||_0x10d62e);return _0x10d62e;},Ce=(_0x221600,_0x16623a)=>(_0x27ae3f,_0x96de15)=>_0x16623a(_0x27ae3f,_0x96de15,_0x221600);let re=class{constructor(_0xd33bab,_0x4cd51f,_0x568f44){const _0x30bae5=_0x957043;this[_0x30bae5(0x267)]=_0xd33bab,this[_0x30bae5(0x30f)]=_0x4cd51f,this['_docStateChangeManagerService']=_0x568f44;}[_0x957043(0x384)](_0x2be115){const _0x4fd0f1=_0x957043;this[_0x4fd0f1(0x274)](_0x2be115);}[_0x957043(0x2c0)](_0x2cb39a){const _0x1bcfa0=_0x957043,{unitID:_0x5d5d6b}=_0x2cb39a,{collaboration:_0x3062a8}=this['_docStateChangeManagerService'][_0x1bcfa0(0x3e0)](_0x5d5d6b);if(_0x3062a8[_0x1bcfa0(0x3d8)]===0x0)return _0x2cb39a;let _0x3428fc=_0x5b06e2['deepClone'](_0x2cb39a['mutations'][0x0]);for(let _0x22c453=0x0;_0x22c453<_0x3062a8['length'];_0x22c453++){const _0x5bf778={'id':_0x1bcfa0(0x254),'params':{'unitId':_0x3062a8[_0x22c453][_0x1bcfa0(0x30d)],..._0x3062a8[_0x22c453][_0x1bcfa0(0x397)]}},_0xd6601=this[_0x1bcfa0(0x30f)][_0x1bcfa0(0x356)](_0x3428fc,_0x5bf778,!0x1);if(_0x7a4ffe(_0xd6601))throw _0xd6601['error'];_0x3428fc=_0xd6601[_0x1bcfa0(0x307)];}return{..._0x5b06e2['deepClone'](_0x2cb39a),'mutations':[_0x3428fc]};}['_transformHistoryAndStateStack'](_0x223393){const _0x5f3895=_0x957043,{unitID:_0x22b3f2}=_0x223393,{history:_0xfa1044,collaboration:_0x26b133}=this['_docStateChangeManagerService'][_0x5f3895(0x3e0)](_0x22b3f2);if(_0xfa1044[_0x5f3895(0x3d8)]===0x0&&_0x26b133[_0x5f3895(0x3d8)]===0x0)return;const _0x2c2b6d=[],_0x367952=[];let _0x4d55b3=_0x5b06e2[_0x5f3895(0x22f)](_0x223393[_0x5f3895(0x278)][0x0]),_0x4ef1bb=_0x5b06e2[_0x5f3895(0x22f)](_0x223393['mutations'][0x0]);for(let _0x42a0f5=_0xfa1044[_0x5f3895(0x3d8)]-0x1;_0x42a0f5>=0x0;_0x42a0f5--){const _0x2a736a={'id':_0x5f3895(0x254),'params':{'unitId':_0xfa1044[_0x42a0f5]['unitId'],..._0xfa1044[_0x42a0f5]['undoState']}},_0x11c97e={'id':_0x5f3895(0x254),'params':{'unitId':_0xfa1044[_0x42a0f5][_0x5f3895(0x30d)],..._0xfa1044[_0x42a0f5][_0x5f3895(0x397)]}},_0x59d9a3=this[_0x5f3895(0x30f)][_0x5f3895(0x356)](_0x4d55b3,_0x2a736a,!0x1),_0xc0e73f=this[_0x5f3895(0x30f)][_0x5f3895(0x356)](_0x4ef1bb,_0x11c97e,!0x1);if(_0x7a4ffe(_0x59d9a3))throw _0x59d9a3[_0x5f3895(0x219)];if(_0x7a4ffe(_0xc0e73f))throw _0xc0e73f['error'];_0x2c2b6d[_0x5f3895(0x3c7)]({..._0xfa1044[_0x42a0f5],'undoState':_0x59d9a3[_0x5f3895(0x2fb)][_0x5f3895(0x385)],'redoState':_0xc0e73f['m2Prime'][_0x5f3895(0x385)]}),_0x4d55b3=_0x59d9a3['m1Prime'],_0x4ef1bb=_0xc0e73f['m1Prime'];}_0x4d55b3=_0x5b06e2[_0x5f3895(0x22f)](_0x223393[_0x5f3895(0x278)][0x0]),_0x4ef1bb=_0x5b06e2[_0x5f3895(0x22f)](_0x223393[_0x5f3895(0x278)][0x0]);for(let _0x38cff5=_0x26b133[_0x5f3895(0x3d8)]-0x1;_0x38cff5>=0x0;_0x38cff5--){const _0x17f5da={'id':_0x5f3895(0x254),'params':{'unitId':_0x26b133[_0x38cff5][_0x5f3895(0x30d)],..._0x26b133[_0x38cff5][_0x5f3895(0x2e0)]}},_0x40effe={'id':_0x5f3895(0x254),'params':{'unitId':_0x26b133[_0x38cff5]['unitId'],..._0x26b133[_0x38cff5][_0x5f3895(0x397)]}},_0x19c0a0=this[_0x5f3895(0x30f)][_0x5f3895(0x356)](_0x4d55b3,_0x17f5da,!0x1),_0x509826=this[_0x5f3895(0x30f)]['transformMutation'](_0x4ef1bb,_0x40effe,!0x1);if(_0x7a4ffe(_0x19c0a0))throw _0x19c0a0[_0x5f3895(0x219)];if(_0x7a4ffe(_0x509826))throw _0x509826[_0x5f3895(0x219)];_0x367952[_0x5f3895(0x3c7)]({..._0x26b133[_0x38cff5],'undoState':_0x19c0a0[_0x5f3895(0x2fb)][_0x5f3895(0x385)],'redoState':_0x509826[_0x5f3895(0x2fb)][_0x5f3895(0x385)]}),_0x4d55b3=_0x19c0a0[_0x5f3895(0x307)],_0x4ef1bb=_0x509826[_0x5f3895(0x307)];}this[_0x5f3895(0x224)][_0x5f3895(0x3d2)](_0x22b3f2,{'history':_0x2c2b6d,'collaboration':_0x367952});}};re=nn([Ce(0x0,_0x79b2b4(_0x2f259a)),Ce(0x1,_0x417ff5),Ce(0x2,_0x79b2b4(_0x31daa2))],re);var rn=Object['getOwnPropertyDescriptor'],on=(_0x885178,_0x94d148,_0x25427e,_0x297bb0)=>{const _0x369752=_0x957043;for(var _0x414107=_0x297bb0>0x1?void 0x0:_0x297bb0?rn(_0x94d148,_0x25427e):_0x94d148,_0x25c9f9=_0x885178[_0x369752(0x3d8)]-0x1,_0x32db1a;_0x25c9f9>=0x0;_0x25c9f9--)(_0x32db1a=_0x885178[_0x25c9f9])&&(_0x414107=_0x32db1a(_0x414107)||_0x414107);return _0x414107;},tt=(_0x3bd099,_0x5ea602)=>(_0x4e94db,_0x2829d9)=>_0x5ea602(_0x4e94db,_0x2829d9,_0x3bd099);let oe=class{constructor(_0x13e5c7,_0x51a8a9){const _0x57694a=_0x957043;this['_injector']=_0x13e5c7,this[_0x57694a(0x30f)]=_0x51a8a9;}['transformSelections'](_0x23f9aa){const _0xba9ec0=_0x957043;var _0x59b4e5;const _0x23fac9=this['_injector'][_0xba9ec0(0x379)](_0x50dd36),_0x409bd6=(_0x59b4e5=_0x23fac9[_0xba9ec0(0x2a3)]())!=null?_0x59b4e5:[];if(_0x409bd6[_0xba9ec0(0x3d8)]===0x0)return;const _0x43c06d=_0x23f9aa[_0xba9ec0(0x215)],_0xec58fd=[{'id':_0xba9ec0(0x254),'params':{'unitId':_0x43c06d,'actions':null,'textRanges':_0x409bd6}}],_0x139bdc=this[_0xba9ec0(0x30f)][_0xba9ec0(0x2cf)](_0x23f9aa,_0xec58fd);if(!_0x55936b(_0x139bdc))throw _0x139bdc[_0xba9ec0(0x219)];const _0x10a0bb=_0x139bdc[_0xba9ec0(0x2fb)][0x0][_0xba9ec0(0x385)][_0xba9ec0(0x375)];Array[_0xba9ec0(0x303)](_0x10a0bb)&&_0x10a0bb[_0xba9ec0(0x3d8)]&&_0x23fac9[_0xba9ec0(0x300)](_0x10a0bb,{'unitId':_0x43c06d,'subUnitId':_0x43c06d},!0x1);}};oe=on([tt(0x0,_0x79b2b4(_0x2f259a)),tt(0x1,_0x417ff5)],oe);var an=Object['getOwnPropertyDescriptor'],cn=(_0x260b3e,_0x1070ba,_0x5b70b2,_0xa3935f)=>{for(var _0x126024=_0xa3935f>0x1?void 0x0:_0xa3935f?an(_0x1070ba,_0x5b70b2):_0x1070ba,_0x219d1d=_0x260b3e['length']-0x1,_0x430d1a;_0x219d1d>=0x0;_0x219d1d--)(_0x430d1a=_0x260b3e[_0x219d1d])&&(_0x126024=_0x430d1a(_0x126024)||_0x126024);return _0x126024;},U=(_0x9cfa95,_0x4cf28a)=>(_0x14e166,_0x5b2429)=>_0x4cf28a(_0x14e166,_0x5b2429,_0x9cfa95);let ae=class extends _0x4a6261{constructor(_0x38ead8,_0x57b153,_0x184cd0,_0x48681b,_0x42c082,_0x10b1ad,_0x46fc48,_0x211e94){const _0x517b93=_0x957043;super(),_(this,_0x517b93(0x28d),new _0x3dfdee(_0x381834[_0x517b93(0x23c)])),(this[_0x517b93(0x224)]=_0x38ead8,this[_0x517b93(0x284)]=_0x57b153,this[_0x517b93(0x2c8)]=_0x184cd0,this[_0x517b93(0x3bd)]=_0x48681b,this['_docTransformSelectionsService']=_0x42c082,this[_0x517b93(0x26b)]=_0x10b1ad,this['_messageService']=_0x46fc48,this[_0x517b93(0x25a)]=_0x211e94,this['_initEntityListener']());}[_0x957043(0x204)](){const _0x262041=_0x957043;this[_0x262041(0x32b)](this['_collaborationController'][_0x262041(0x2c4)]['subscribe'](_0x162961=>{const _0x3e77a0=_0x262041,_0x462937=this[_0x3e77a0(0x224)]['docStateChange$'][_0x3e77a0(0x3a6)](_0x5a38a8=>{const _0x56d76f=_0x3e77a0;if(_0x5a38a8==null)return;const {unitId:_0x2d302a,redoState:_0x18ffc5,commandId:_0x353fcd}=_0x5a38a8;if(_0x2d302a!==_0x162961[_0x56d76f(0x215)])return;const _0x715dc4={'id':_0x353fcd,'type':_0x474b7f[_0x56d76f(0x223)],'params':{'unitId':_0x2d302a,'actions':_0x18ffc5[_0x56d76f(0x3b6)],'textRanges':null}};_0x162961[_0x56d76f(0x3a5)](_0x715dc4);});if(_0x162961[_0x3e77a0(0x32b)](_0x462937),_0x162961 instanceof _0x15a596){const _0x51b417={'onTransformIME':_0x2c8d72=>this[_0x3e77a0(0x2c8)][_0x3e77a0(0x336)](_0x2c8d72),'onTransformState':_0x323518=>this[_0x3e77a0(0x3bd)][_0x3e77a0(0x384)](_0x323518),'onTransformSelections':_0x16d95b=>this[_0x3e77a0(0x283)]['transformSelections'](_0x16d95b),'onSyncEditingCollabCursor':_0x42e347=>this[_0x3e77a0(0x26b)][_0x3e77a0(0x29c)](_0x42e347),'onTransformRemoteChangesetByIMECache':_0x48f8b2=>this['_docTransformIMECacheService'][_0x3e77a0(0x2c0)](_0x48f8b2),'onTransformRemoteChangesetByStateCache':_0x4f2da8=>this['_docTransformStateCacheService'][_0x3e77a0(0x2c0)](_0x4f2da8)};_0x162961['addHandlerCallback'](_0x51b417);}}));}};ae=cn([U(0x0,_0x79b2b4(_0x31daa2)),U(0x1,_0x79b2b4(_0xb4f4a1)),U(0x2,_0x79b2b4(ne)),U(0x3,_0x79b2b4(re)),U(0x4,_0x79b2b4(oe)),U(0x5,_0x79b2b4(He)),U(0x6,_0x4db31f),U(0x7,_0x79b2b4(_0x1476d7))],ae);var ln=Object[_0x957043(0x3e8)],_n=(_0x2ebd5e,_0xd3201b,_0x56a0a5,_0x15a4d5)=>{const _0x1bde5c=_0x957043;for(var _0x32b4cc=_0x15a4d5>0x1?void 0x0:_0x15a4d5?ln(_0xd3201b,_0x56a0a5):_0xd3201b,_0x551d95=_0x2ebd5e[_0x1bde5c(0x3d8)]-0x1,_0x982deb;_0x551d95>=0x0;_0x551d95--)(_0x982deb=_0x2ebd5e[_0x551d95])&&(_0x32b4cc=_0x982deb(_0x32b4cc)||_0x32b4cc);return _0x32b4cc;},Ee=(_0x14bb77,_0x474cd0)=>(_0x46da52,_0x4ec542)=>_0x474cd0(_0x46da52,_0x4ec542,_0x14bb77);let Le=class extends _0x4a6261{constructor(_0x4f4749,_0x513b9b,_0x222ea3){const _0x5eedc7=_0x957043;super(),_(this,_0x5eedc7(0x247),new Map()),_(this,_0x5eedc7(0x234),new Map()),_(this,'_disabled',!0x1),(this['_configService']=_0x4f4749,this[_0x5eedc7(0x386)]=_0x513b9b,this[_0x5eedc7(0x285)]=_0x222ea3);}[_0x957043(0x3a0)](){const _0x2d7cb4=_0x957043;this[_0x2d7cb4(0x3b5)]=!0x0;}[_0x957043(0x23b)](){this['_disabled']=!0x1;}get['saveTaskMap'](){const _0x55a4dc=_0x957043;return this[_0x55a4dc(0x234)];}['dispose'](){const _0x1e82b0=_0x957043;this[_0x1e82b0(0x213)]()[_0x1e82b0(0x2f8)](()=>super['dispose']());}async[_0x957043(0x1f7)](_0x499163){const _0x84b472=_0x957043;return this[_0x84b472(0x3b5)]?null:this[_0x84b472(0x386)][_0x84b472(0x3c2)](_0x40f1fa(_0x499163));}async[_0x957043(0x355)](_0x2417e2,_0x255b8c){return!!this['_localStorageService']['setItem'](_0x2417e2,_0x255b8c);}[_0x957043(0x257)](_0x220291,_0x18bf7c,_0x295d88,_0x559830){const _0x2b56f6=_0x957043,_0x3d9747=this['_revisionService'][_0x2b56f6(0x311)](_0x220291);this[_0x2b56f6(0x247)][_0x2b56f6(0x332)](_0x220291,{'unitID':_0x220291,'type':_0x18bf7c,'awaitingChangeset':_0x295d88,'mutations':_0x559830,'rev':_0x3d9747}),this[_0x2b56f6(0x234)][_0x2b56f6(0x23a)](_0x220291)||this[_0x2b56f6(0x378)](_0x220291);}[_0x957043(0x378)](_0x258594){const _0x22c700=_0x957043,_0xa48b25=this[_0x22c700(0x207)]();_0xa48b25===0x0?this[_0x22c700(0x364)](_0x258594):this[_0x22c700(0x234)][_0x22c700(0x332)](_0x258594,setTimeout(()=>this[_0x22c700(0x364)](_0x258594),_0xa48b25));}['_getSaveTimeout'](){var _0x4a5b5c;return(_0x4a5b5c=this['_configService']['getConfig'](_0x401078))!=null?_0x4a5b5c:_0x21a9c4;}[_0x957043(0x364)](_0x52fba5){const _0x4cd575=_0x957043,_0x1ff893=this['_saveTaskMap'][_0x4cd575(0x379)](_0x52fba5);return _0x1ff893!==void 0x0&&window[_0x4cd575(0x3ab)](_0x1ff893),this[_0x4cd575(0x386)][_0x4cd575(0x2af)](_0x40f1fa(_0x52fba5),this[_0x4cd575(0x247)][_0x4cd575(0x379)](_0x52fba5))[_0x4cd575(0x2f8)](()=>this[_0x4cd575(0x234)][_0x4cd575(0x333)](_0x52fba5));}async[_0x957043(0x213)](){const _0x142a44=_0x957043,_0x30a75d=[];this[_0x142a44(0x234)][_0x142a44(0x3e7)]((_0x272c37,_0x10fb34)=>{const _0xba0afc=_0x142a44;window[_0xba0afc(0x3ab)](_0x272c37),_0x30a75d[_0xba0afc(0x3c4)](this[_0xba0afc(0x364)](_0x10fb34)[_0xba0afc(0x2f8)](()=>{this['_saveTaskMap']['delete'](_0x10fb34);}));}),await Promise[_0x142a44(0x3ef)](_0x30a75d);}};Le=_n([Ee(0x0,_0x1240a8),Ee(0x1,_0x39a058),Ee(0x2,_0x79b2b4(_0x1c0e24))],Le);class hn extends _0x22c522{constructor(){const _0x4e3610=_0x957043;super(),_(this,_0x4e3610(0x271)),this[_0x4e3610(0x271)]=_0x378028(window,'popstate')[_0x4e3610(0x260)](_0x35dd28(this[_0x4e3610(0x2cb)]),_0x203da3(0x1),_0x60024(void 0x0));}[_0x957043(0x2e5)](_0x50aa23,_0x1087f0,_0x5acf30=!0x1){const _0x43fd7a=_0x957043,_0xdb2617=new URL(window[_0x43fd7a(0x295)]['href']);_0xdb2617[_0x43fd7a(0x3e4)][_0x43fd7a(0x332)](_0x50aa23,_0x1087f0),_0x5acf30?window[_0x43fd7a(0x305)][_0x43fd7a(0x3e5)]('','',_0xdb2617[_0x43fd7a(0x2d2)]()):window[_0x43fd7a(0x305)][_0x43fd7a(0x243)]('','',_0xdb2617[_0x43fd7a(0x2d2)]());}[_0x957043(0x32c)](_0x2ad86e,_0xbc4fbe=!0x1){const _0x4d6350=_0x957043,_0x1e312f=new URL(window['location'][_0x4d6350(0x32e)]);_0x1e312f[_0x4d6350(0x3e4)][_0x4d6350(0x333)](_0x2ad86e),_0xbc4fbe?window['history'][_0x4d6350(0x3e5)]('','',_0x1e312f[_0x4d6350(0x2d2)]()):window[_0x4d6350(0x305)][_0x4d6350(0x243)]('','',_0x1e312f[_0x4d6350(0x2d2)]());}[_0x957043(0x38c)](_0x118917){const _0x4e44bc=_0x957043;var _0x4ab799;return(_0x4ab799=new URL(window[_0x4e44bc(0x295)]['href'])[_0x4e44bc(0x3e4)][_0x4e44bc(0x379)](_0x118917))!=null?_0x4ab799:void 0x0;}}var un=Object[_0x957043(0x380)],dn=Object[_0x957043(0x3e8)],fn=(_0x447e31,_0x568509,_0x5ab483)=>_0x568509 in _0x447e31?un(_0x447e31,_0x568509,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5ab483}):_0x447e31[_0x568509]=_0x5ab483,Sn=(_0x56b8cf,_0x1acabc,_0x381bb6,_0x459b21)=>{const _0xec5bc7=_0x957043;for(var _0x5c0aed=_0x459b21>0x1?void 0x0:_0x459b21?dn(_0x1acabc,_0x381bb6):_0x1acabc,_0x143c25=_0x56b8cf[_0xec5bc7(0x3d8)]-0x1,_0x2b0573;_0x143c25>=0x0;_0x143c25--)(_0x2b0573=_0x56b8cf[_0x143c25])&&(_0x5c0aed=_0x2b0573(_0x5c0aed)||_0x5c0aed);return _0x5c0aed;},Oe=(_0x45af00,_0x22a818)=>(_0x1dd26d,_0x50e2fe)=>_0x22a818(_0x1dd26d,_0x50e2fe,_0x45af00),mn=(_0x11a2b2,_0x38d2d5,_0x3efeac)=>fn(_0x11a2b2,_0x38d2d5+'',_0x3efeac);const In=_0x957043(0x302);let Ae=class extends _0x2dcb54{constructor(_0xebfd05=et,_0x345883,_0x183f1f,_0x511924){const _0x2a8a8d=_0x957043;super(),this[_0x2a8a8d(0x2ee)]=_0xebfd05,this['_renderManagerService']=_0x345883,this[_0x2a8a8d(0x267)]=_0x183f1f,this[_0x2a8a8d(0x3b4)]=_0x511924;const {..._0x42df2e}=_0x2ae923({},et,this[_0x2a8a8d(0x2ee)]);this['_configService'][_0x2a8a8d(0x3d9)](Zi,_0x42df2e);}[_0x957043(0x22e)](){const _0x2ec5cd=_0x957043;this[_0x2ec5cd(0x2d4)](),this[_0x2ec5cd(0x337)]();}['onRendered'](){const _0x116ef3=_0x957043;this[_0x116ef3(0x316)]();}['_registerDependencies'](){const _0x52ed7e=_0x957043;var _0x1bbfb5;const _0x2ed58a=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x31e56d,{'useClass':_0x341ba9}],[_0x5a319b,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x2c55ae(this[_0x52ed7e(0x267)],_0x31859f(_0x2ed58a,(_0x1bbfb5=this['_config'])==null?void 0x0:_0x1bbfb5['override']));}[_0x957043(0x316)](){const _0x2d386a=_0x957043;this[_0x2d386a(0x32b)](this['_renderManagerService'][_0x2d386a(0x28f)](_0x11e791[_0x2d386a(0x34e)],[we])),this[_0x2d386a(0x32b)](this['_renderManagerService'][_0x2d386a(0x28f)](_0x11e791[_0x2d386a(0x1f5)],[Pe]));}[_0x957043(0x337)](){const _0x568135=_0x957043;_0x2c36fb(this[_0x568135(0x267)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x957043(0x1fb),In),Ae=Sn([_0x44505e(_0x2b25da),Oe(0x1,_0x47cbf5),Oe(0x2,_0x79b2b4(_0x2f259a)),Oe(0x3,_0x1240a8)],Ae);var gn=Object[_0x957043(0x3e8)],vn=(_0xaff37a,_0x2cb36d,_0x4dda4f,_0x1284db)=>{const _0x22c3ea=_0x957043;for(var _0x41aeec=_0x1284db>0x1?void 0x0:_0x1284db?gn(_0x2cb36d,_0x4dda4f):_0x2cb36d,_0x2dde54=_0xaff37a[_0x22c3ea(0x3d8)]-0x1,_0x23b3ab;_0x2dde54>=0x0;_0x2dde54--)(_0x23b3ab=_0xaff37a[_0x2dde54])&&(_0x41aeec=_0x23b3ab(_0x41aeec)||_0x41aeec);return _0x41aeec;},K=(_0xee915f,_0x37ad1e)=>(_0x4d5ff1,_0x330c48)=>_0x37ad1e(_0x4d5ff1,_0x330c48,_0xee915f);let st=class extends _0x103486{constructor(_0x468760,_0x32333e,_0x1e5a04,_0x301087,_0x1e8577){super(_0x468760,_0x32333e,_0x1e5a04,_0x301087,_0x1e8577);}async[_0x957043(0x2b1)](_0x3fe373){const _0x5cf00d=_0x957043,_0x1dc9db=await this[_0x5cf00d(0x2ec)](),_0x36a15b=this['_createSocketURL'](_0x3fe373,_0x1dc9db);return this[_0x5cf00d(0x35c)](_0x36a15b);}['_createSocketURL'](_0x338edd,_0x33f5bb){const _0x34c96b=_0x957043,_0x77f023=typeof window>'u'?new URL(_0x338edd):new URL(_0x338edd,window[_0x34c96b(0x295)]['origin']);_0x77f023['searchParams']['set'](_0x34c96b(0x3a7),_0x33f5bb);const _0x25bbf0=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x34c96b(0x3f2)]);return _0x25bbf0['get']('runId')&&_0x77f023['searchParams'][_0x34c96b(0x332)](_0x34c96b(0x1fe),_0x25bbf0[_0x34c96b(0x379)](_0x34c96b(0x1fe))),_0x77f023[_0x34c96b(0x2d2)]();}async[_0x957043(0x2ec)](){const _0x36dc77=_0x957043;var _0x1503bd,_0x57cb2a,_0x110cc9;const _0x190fcc=this[_0x36dc77(0x3b4)][_0x36dc77(0x3cf)](_0x54b645),_0xe3ad60=(_0x1503bd=_0x190fcc==null?void 0x0:_0x190fcc[_0x36dc77(0x3ea)])!=null?_0x1503bd:_0x2c21f0;return(_0x110cc9=(_0x57cb2a=(await this[_0x36dc77(0x3c1)][_0x36dc77(0x379)](_0xe3ad60,{'headers':{'Content-Type':_0x36dc77(0x312)}}))[_0x36dc77(0x3cd)])==null?void 0x0:_0x57cb2a[_0x36dc77(0x21b)])!=null?_0x110cc9:'';}};st=vn([K(0x0,_0x79b2b4(_0x2f259a)),K(0x1,_0x79b2b4(_0x34a3dc)),K(0x2,_0x1240a8),K(0x3,_0x2e1383),K(0x4,_0x63c1ef)],st);const it=0x7530,nt=_0x957043(0x339);class jn extends _0x4a6261{constructor(){const _0x3d644f=_0x957043;super(),_(this,_0x3d644f(0x3db),_0x1e3df9()),_(this,_0x3d644f(0x24e),new Set()),_(this,'_unitOnClients',new Map()),_(this,'_heartbeatTimer',null),_(this,_0x3d644f(0x323),new Map()),_(this,_0x3d644f(0x390),new Map()),this[_0x3d644f(0x3b9)]();}[_0x957043(0x3aa)](){const _0x2a54c7=_0x957043;super[_0x2a54c7(0x3aa)](),this['_clearOtherTimers']['forEach']((_0x2140e9,_0x332133)=>this['_removeClearOtherTimer'](_0x332133)),this[_0x2a54c7(0x1ee)]&&window[_0x2a54c7(0x263)](this[_0x2a54c7(0x1ee)]);}['getUnitStatus$'](_0x1b56aa){const _0x252d28=_0x957043;return this['_ensureSubject'](_0x1b56aa)[_0x252d28(0x260)](_0xb813e9());}['editingUnit'](_0x5281f0){const _0x5d58c3=_0x957043;this[_0x5d58c3(0x24e)][_0x5d58c3(0x342)]===0x0&&this[_0x5d58c3(0x2ea)](),this[_0x5d58c3(0x24e)][_0x5d58c3(0x242)](_0x5281f0),this[_0x5d58c3(0x3bc)]({'type':0x0,'memberID':this[_0x5d58c3(0x3db)],'unitIDs':[_0x5281f0],'isForwarded':!0x1});}[_0x957043(0x29f)](_0x425ddd){const _0x4b7739=_0x957043;this[_0x4b7739(0x24e)][_0x4b7739(0x333)](_0x425ddd),this[_0x4b7739(0x24e)][_0x4b7739(0x342)]===0x0&&this[_0x4b7739(0x1ee)]&&window[_0x4b7739(0x263)](this['_heartbeatTimer']);}['_init'](){const _0xffa526=_0x957043;this['disposeWithMe'](_0x197fb6(_0x378028(window,_0xffa526(0x29e))['subscribe'](_0x25b8d1=>{const _0x39194f=_0xffa526;if(_0x25b8d1[_0x39194f(0x2f1)]!==nt||!_0x25b8d1['newValue'])return;const _0x453c28=JSON[_0x39194f(0x2a2)](_0x25b8d1[_0x39194f(0x322)]);this[_0x39194f(0x1fc)](_0x453c28);}))),window[_0xffa526(0x22a)]('unload',()=>this[_0xffa526(0x3bc)]({'type':0x1,'memberID':this[_0xffa526(0x3db)],'unitIDs':Array[_0xffa526(0x2eb)](this[_0xffa526(0x24e)])}));}[_0x957043(0x1fc)](_0x5b32bb){const _0x656702=_0x957043;switch(_0x5b32bb[_0x656702(0x276)]){case 0x0:this[_0x656702(0x273)](_0x5b32bb);break;case 0x1:this['_handleLeaveEvent'](_0x5b32bb);break;case 0x2:this[_0x656702(0x31a)](_0x5b32bb);break;}}['_handleJoinEvent'](_0x1b4446){const _0x4c80ab=_0x957043,{unitIDs:_0x299db8,memberID:_0x34f713,isForwarded:_0xe5bc5b}=_0x1b4446;_0x299db8[_0x4c80ab(0x3e7)](_0x4062d3=>{const _0x5ac877=_0x4c80ab;if(!_0xe5bc5b&&this['_unitOnClients'][_0x5ac877(0x23a)](_0x4062d3)&&this[_0x5ac877(0x265)](_0x4062d3)['next'](_0x569233[_0x5ac877(0x36b)]),!this[_0x5ac877(0x248)][_0x5ac877(0x23a)](_0x4062d3)||!this[_0x5ac877(0x248)][_0x5ac877(0x379)](_0x4062d3)[_0x5ac877(0x23a)](_0x34f713)){const _0x25da14=this[_0x5ac877(0x248)][_0x5ac877(0x379)](_0x4062d3)||new Set();_0x25da14[_0x5ac877(0x242)](_0x34f713),this[_0x5ac877(0x248)]['set'](_0x4062d3,_0x25da14),this[_0x5ac877(0x3b3)](_0x34f713);}}),_0xe5bc5b||this[_0x4c80ab(0x3bc)]({'type':0x0,'memberID':this[_0x4c80ab(0x3db)],'unitIDs':[...this[_0x4c80ab(0x24e)]],'isForwarded':!0x0});}[_0x957043(0x3b3)](_0x412dd6){const _0x2da9fb=_0x957043;this[_0x2da9fb(0x3a2)](_0x412dd6);const _0x33e2a1=window[_0x2da9fb(0x22d)](()=>{const _0x41bf79=_0x2da9fb;this[_0x41bf79(0x248)][_0x41bf79(0x3e7)](_0x463d32=>{_0x463d32['delete'](_0x412dd6);});},it*0x2);this['_clearOtherTimers'][_0x2da9fb(0x332)](_0x412dd6,_0x33e2a1);}[_0x957043(0x3a2)](_0x6376db){const _0x3dac12=_0x957043;if(this[_0x3dac12(0x323)][_0x3dac12(0x23a)](_0x6376db)){const _0x2ad5c7=this[_0x3dac12(0x323)][_0x3dac12(0x379)](_0x6376db);_0x2ad5c7&&window['clearTimeout'](_0x2ad5c7),this[_0x3dac12(0x323)]['set'](_0x6376db,null);}}[_0x957043(0x249)](_0xe01ff){const _0x2cd702=_0x957043,{memberID:_0x55edef,unitIDs:_0x7ac2cf}=_0xe01ff;_0x7ac2cf[_0x2cd702(0x3e7)](_0x1a76f4=>{const _0x59f83c=_0x2cd702;var _0x5712b5;const _0x395589=this['_unitOnClients']['get'](_0x1a76f4);_0x395589&&(_0x395589['delete'](_0x55edef),(_0x5712b5=this[_0x59f83c(0x265)](_0x1a76f4))==null||_0x5712b5['next'](_0x395589['size']===0x0?_0x569233[_0x59f83c(0x239)]:_0x569233[_0x59f83c(0x36b)]));}),this[_0x2cd702(0x3a2)](_0x55edef);}[_0x957043(0x31a)](_0x5916b1){const _0x2e96f2=_0x957043;this[_0x2e96f2(0x3b3)](_0x5916b1[_0x2e96f2(0x264)]);}[_0x957043(0x3bc)](_0x23a055){const _0x1b1871=_0x957043;localStorage[_0x1b1871(0x2af)](nt,JSON[_0x1b1871(0x2d3)](_0x23a055));}['_scheduleHeartbeat'](){const _0x36889c=_0x957043;this[_0x36889c(0x1ee)]=window[_0x36889c(0x304)](()=>{const _0x3c8ed5=_0x36889c;this[_0x3c8ed5(0x3bc)]({'type':0x2,'memberID':this['_id']});},it);}[_0x957043(0x265)](_0xc2c574){const _0x45e654=_0x957043;return this[_0x45e654(0x390)][_0x45e654(0x23a)](_0xc2c574)||this['_unitStatus']['set'](_0xc2c574,new _0x3dfdee(_0x569233[_0x45e654(0x239)])),this[_0x45e654(0x390)][_0x45e654(0x379)](_0xc2c574);}}var Mt=(_0x22eae2=>(_0x22eae2[_0x22eae2['UNDEFINED']=0x0]=_0x957043(0x1fa),_0x22eae2[_0x22eae2['OK']=0x1]='OK',_0x22eae2[_0x22eae2[_0x957043(0x244)]=0x2]='INTERNAL_ERROR',_0x22eae2[_0x22eae2[_0x957043(0x326)]=0x3]=_0x957043(0x326),_0x22eae2[_0x22eae2[_0x957043(0x33d)]=0x4]=_0x957043(0x33d),_0x22eae2[_0x22eae2[_0x957043(0x30a)]=0x5]=_0x957043(0x30a),_0x22eae2[_0x22eae2[_0x957043(0x256)]=0x6]=_0x957043(0x256),_0x22eae2[_0x22eae2[_0x957043(0x331)]=0x7]=_0x957043(0x331),_0x22eae2[_0x22eae2[_0x957043(0x28e)]=0x8]='TOO_MANY_REQUESTS',_0x22eae2[_0x22eae2['COMPLETION_FINISHED']=0x9]=_0x957043(0x34b),_0x22eae2[_0x22eae2[_0x957043(0x37e)]=0xa]='LOGIN_FAILED',_0x22eae2[_0x22eae2[_0x957043(0x28c)]=0x1389]=_0x957043(0x28c),_0x22eae2[_0x22eae2['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x957043(0x39d),_0x22eae2[_0x22eae2[_0x957043(0x20d)]=0x1772]=_0x957043(0x20d),_0x22eae2[_0x22eae2[_0x957043(0x37c)]=0x1773]=_0x957043(0x37c),_0x22eae2[_0x22eae2[_0x957043(0x2f5)]=0x1b59]=_0x957043(0x2f5),_0x22eae2[_0x22eae2[_0x957043(0x233)]=0x1b5a]=_0x957043(0x233),_0x22eae2[_0x22eae2[_0x957043(0x27a)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x22eae2[_0x22eae2[_0x957043(0x3a8)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x22eae2[_0x22eae2[_0x957043(0x1ed)]=0x1b5d]=_0x957043(0x1ed),_0x22eae2[_0x22eae2[_0x957043(0x318)]=0x1f41]=_0x957043(0x318),_0x22eae2[_0x22eae2['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x957043(0x21c),_0x22eae2[_0x22eae2['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x957043(0x2aa),_0x22eae2[_0x22eae2[_0x957043(0x291)]=0x232b]=_0x957043(0x291),_0x22eae2[_0x22eae2[_0x957043(0x3c6)]=0x232c]=_0x957043(0x3c6),_0x22eae2[_0x22eae2[_0x957043(0x24a)]=0x232d]=_0x957043(0x24a),_0x22eae2[_0x22eae2[_0x957043(0x37f)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x22eae2[_0x22eae2['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x957043(0x359),_0x22eae2[_0x22eae2[_0x957043(0x2bf)]=0x2713]=_0x957043(0x2bf),_0x22eae2[_0x22eae2[_0x957043(0x2e1)]=0x2714]=_0x957043(0x2e1),_0x22eae2[_0x22eae2[_0x957043(0x252)]=0x271a]=_0x957043(0x252),_0x22eae2[_0x22eae2[_0x957043(0x2ab)]=0x271b]=_0x957043(0x2ab),_0x22eae2[_0x22eae2[_0x957043(0x2fe)]=0x271c]=_0x957043(0x2fe),_0x22eae2[_0x22eae2[_0x957043(0x30c)]=0x271d]=_0x957043(0x30c),_0x22eae2[_0x22eae2[_0x957043(0x308)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x22eae2[_0x22eae2[_0x957043(0x25e)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x22eae2[_0x22eae2['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x957043(0x3c0),_0x22eae2[_0x22eae2[_0x957043(0x376)]=0x2ee1]=_0x957043(0x376),_0x22eae2[_0x22eae2[_0x957043(0x3a3)]=0x2ee2]='INVALID_INVITE_CODE',_0x22eae2[_0x22eae2[_0x957043(0x373)]=0x2ee3]=_0x957043(0x373),_0x22eae2[_0x22eae2[_0x957043(0x35e)]=0x2ee4]=_0x957043(0x35e),_0x22eae2[_0x22eae2['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x957043(0x37d),_0x22eae2[_0x22eae2[_0x957043(0x280)]=0x32c9]=_0x957043(0x280),_0x22eae2[_0x22eae2[_0x957043(0x31f)]=0x32ca]=_0x957043(0x31f),_0x22eae2[_0x22eae2['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x957043(0x293),_0x22eae2[_0x22eae2['UNRECOGNIZED']=-0x1]=_0x957043(0x229),_0x22eae2))(Mt||{}),pn=Object[_0x957043(0x3e8)],Cn=(_0x30035a,_0x541117,_0x50e7ee,_0x56f5ad)=>{const _0x5d89d8=_0x957043;for(var _0x453053=_0x56f5ad>0x1?void 0x0:_0x56f5ad?pn(_0x541117,_0x50e7ee):_0x541117,_0x3942ad=_0x30035a[_0x5d89d8(0x3d8)]-0x1,_0x409532;_0x3942ad>=0x0;_0x3942ad--)(_0x409532=_0x30035a[_0x3942ad])&&(_0x453053=_0x409532(_0x453053)||_0x453053);return _0x453053;},be=(_0x12eaa5,_0x39166d)=>(_0x1e740a,_0x4983e7)=>_0x39166d(_0x1e740a,_0x4983e7,_0x12eaa5);let rt=class extends _0x4a6261{constructor(_0x27ab63,_0x348c8a,_0x527558){const _0x2e5141=_0x957043;super(),this['_instanceService']=_0x27ab63,this[_0x2e5141(0x3c1)]=_0x348c8a,this[_0x2e5141(0x3b4)]=_0x527558;}async[_0x957043(0x21d)](_0x102320,_0x516d50,_0x4be8ed,..._0x29ef81){const _0x597203=_0x957043;var _0x19fe84,_0x5e9fd1,_0x2a2dfb,_0x2ee9dd;const _0x2a1b3e=this[_0x597203(0x3a1)][_0x597203(0x2b7)]();if(!_0x2a1b3e)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x2f386d=((_0x19fe84=this[_0x597203(0x3b4)][_0x597203(0x3cf)](_0x1fe298))!=null?_0x19fe84:_0x4155e4)+'/'+_0x102320+_0x597203(0x25c)+_0x516d50,_0x2b7fa4=new URL(window[_0x597203(0x295)][_0x597203(0x32e)]),_0x1adbd0={'scriptId':_0x102320,'runId':(_0x5e9fd1=_0x2b7fa4[_0x597203(0x3e4)][_0x597203(0x379)]('runId'))!=null?_0x5e9fd1:'','function':_0x516d50,'unitId':_0x2a1b3e[_0x597203(0x2f6)](),'argsOfFunction':JSON[_0x597203(0x2d3)](_0x29ef81),'invokeId':(_0x2a2dfb=_0x4be8ed[_0x597203(0x217)])!=null?_0x2a2dfb:'','executionId':(_0x2ee9dd=_0x4be8ed['executionId'])!=null?_0x2ee9dd:''};try{const _0x5ba30f=await this[_0x597203(0x3c1)]['post'](_0x2f386d,{'body':_0x1adbd0});return _0x5ba30f[_0x597203(0x3cd)][_0x597203(0x219)]&&_0x5ba30f[_0x597203(0x3cd)]['error'][_0x597203(0x21a)]!==Mt['OK']?_0x597203(0x394):_0x5ba30f[_0x597203(0x3cd)]['result'];}catch{return _0x597203(0x394);}}};rt=Cn([be(0x0,_0x16f134),be(0x1,_0x79b2b4(_0x34a3dc)),be(0x2,_0x1240a8)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
|
1
|
+
const _0x500701=_0x201c;(function(_0x5e784e,_0x3534ed){const _0x468022=_0x201c,_0x941ed1=_0x5e784e();while(!![]){try{const _0x360c46=-parseInt(_0x468022(0x19b))/0x1*(parseInt(_0x468022(0x2ac))/0x2)+-parseInt(_0x468022(0x1ae))/0x3+-parseInt(_0x468022(0x169))/0x4+parseInt(_0x468022(0x1e9))/0x5+parseInt(_0x468022(0x25a))/0x6+parseInt(_0x468022(0x2ca))/0x7*(parseInt(_0x468022(0x278))/0x8)+-parseInt(_0x468022(0x217))/0x9*(-parseInt(_0x468022(0x161))/0xa);if(_0x360c46===_0x3534ed)break;else _0x941ed1['push'](_0x941ed1['shift']());}catch(_0x3178a0){_0x941ed1['push'](_0x941ed1['shift']());}}}(_0x15b0,0xa8184));var $t=Object[_0x500701(0x1b4)],xt=(_0x160918,_0x357799,_0x5a9ed8)=>_0x357799 in _0x160918?$t(_0x160918,_0x357799,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5a9ed8}):_0x160918[_0x357799]=_0x5a9ed8,_=(_0x4c03bd,_0x2d5cfc,_0x2da4ae)=>xt(_0x4c03bd,typeof _0x2d5cfc!=_0x500701(0x251)?_0x2d5cfc+'':_0x2d5cfc,_0x2da4ae);import{MemberService as _0x98ed6,SessionStatus as _0x3c94d8,CollaborationSessionService as _0x1d5bd3,CollaborationStatus as _0x3b52bb,CollaborationController as _0x56ded8,ILocalCacheService as _0x42439c,CollaborationUIEventService as _0x3dfa7b,CollaborationUIEventId as _0xddb0f4,DataLoaderService as _0x5ebf66,DocCollaborationEntity as _0x3113b3,getLocalCacheKey as _0x53bc47,LOCAL_CACHE_INTERVAL as _0x1dc753,LOCAL_CACHE_INTERVAL_KEY as _0x55cca2,UniverCollaborationClientPlugin as _0x492057,CollaborationSocketService as _0x1f4966,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x16c931,DEFAULT_WS_SESSION_TICKET_URL as _0x5466b7,UnitStatus as _0x499e2f,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x4e004d,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x294c26}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x51bb57,Disposable as _0xbdf073,DOC_RANGE_TYPE as _0x20cb98,Inject as _0x36f55a,Injector as _0x524dc3,IUniverInstanceService as _0x3a01ed,ICommandService as _0x44ae43,debounce as _0x270191,Rectangle as _0x5d496d,DisposableCollection as _0x163b76,toDisposable as _0x31417b,UniverInstanceType as _0x57d7e2,Tools as _0xd3854a,COLORS as _0xa0b366,ColorKit as _0x331b5e,ThemeService as _0x28de01,fromEventSubject as _0x133933,LocaleService as _0x52ac5b,createIdentifier as _0x41e36e,ILogService as _0x56e22c,Optional as _0x182852,Workbook as _0x4ba6e7,CommandType as _0x27f8ae,IConfigService as _0x1312da,ILocalStorageService as _0x39f1e9,DependentOn as _0x3f81bc,Plugin as _0x5ee79e,merge as _0x1e4789,registerDependencies as _0x32ed27,mergeOverrideWithDependencies as _0x4d34f1,touchDependencies as _0x58b8a4,generateRandomId as _0x4764a1}from'@univerjs/core';import{Shape as _0x1f573e,Rect as _0x2fb5cd,getColor as _0x8c785f,RegularPolygon as _0x51dbaa,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x56f247,Vector2 as _0xe085c2,SHEET_VIEWPORT_KEY as _0x1bfa2b,IRenderManagerService as _0x20379b}from'@univerjs/engine-render';import{ISocketService as _0x4df4f1,WebSocketService as _0x20d8c7,HTTPService as _0x4714d0}from'@univerjs/network';import{IDocClipboardService as _0xf5cf06,NodePositionConvertToCursor as _0x1e1661,NodePositionConvertToRectRange as _0x12c27a,TEXT_RANGE_LAYER_INDEX as _0x28a77f,SetDocZoomRatioOperation as _0x43d6d2,DocIMEInputManagerService as _0x1691fb,DocStateChangeManagerService as _0x321880}from'@univerjs/docs-ui';import{IImageIoService as _0x19a877}from'@univerjs/drawing';import{BehaviorSubject as _0x5a7c5d,debounceTime as _0x5d2d37,takeUntil as _0x13f70a,Subject as _0x200c52,filter as _0x85b57,switchMap as _0x161e64,merge as _0x3b5d4d,combineLatest as _0x149121,of as _0x40f510,fromEvent as _0x1c6ada,shareReplay as _0x392a8a,mapTo as _0x382ac5,distinctUntilChanged as _0x1fead7}from'rxjs';import{SetTextSelectionsOperation as _0x49e568,RichTextEditingMutation as _0x1b6e54,DocSelectionManagerService as _0x232d6a,DocSkeletonManagerService as _0x676da8}from'@univerjs/docs';import{ITransformService as _0x5ddb15,CollaborationEvent as _0x24d870,isTransformMutationFailure as _0x727f01,isTransformMutationsWithChangesetSuccess as _0x4b3101,RevisionService as _0x44f78e,ISnapshotServerService as _0x3b9b92}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x25c963,serializeRangeWithSheet as _0x115746}from'@univerjs/engine-formula';import{RefRangeService as _0x4709fb,SetSelectionsOperation as _0x217aca,SheetsSelectionsService as _0x34f1fe,EffectRefRangId as _0x486e35,handleIRemoveRow as _0x5c5d46,handleIRemoveCol as _0x445a8c,handleMoveRange as _0x390946,handleInsertRow as _0x4d014c,handleInsertRangeMoveRight as _0x487733,handleInsertRangeMoveDown as _0x5d43ae,handleInsertCol as _0x4f839b,handleDeleteRangeMoveUp as _0x2a5e2a,handleDeleteRangeMoveLeft as _0x1c2e74,runRefRangeMutations as _0x672700,SetWorksheetActivateCommand as _0x29d14d}from'@univerjs/sheets';import{map as _0x510b8c,filter as _0x46d147,throttleTime as _0x13f76c,takeUntil as _0x567b06,switchMap as _0x4284f1}from'rxjs/operators';import{SheetSkeletonManagerService as _0x2608ff,getCoordByCell as _0x119062,getSheetObject as _0x12664d}from'@univerjs/sheets-ui';import{jsx as _0x35442b,jsxs as _0xeee65}from'react/jsx-runtime';import{useObservable as _0x3496cb,useDependency as _0x6eba92,IUIPartsService as _0x2bab1c,BuiltInUIPart as _0x5a7bb1,connectInjector as _0x4ad499,IBeforeCloseService as _0x31834d,IMessageService as _0x13a97a,INotificationService as _0x5af6e2}from'@univerjs/ui';import{Tooltip as _0xd930f0,clsx as _0x2b6929,MessageType as _0x51a21e}from'@univerjs/design';import{forwardRef as _0x45d79,useRef as _0x2f8c55,createElement as _0x247d46,useCallback as _0x5228ad}from'react';import{IRemoteInstanceService as _0x51b5c6}from'@univerjs/rpc';var ci=Object[_0x500701(0x248)],li=(_0xfbea98,_0x329808,_0x5707e5,_0x2a7727)=>{const _0x57293a=_0x500701;for(var _0x1a4adf=_0x2a7727>0x1?void 0x0:_0x2a7727?ci(_0x329808,_0x5707e5):_0x329808,_0x4e4f37=_0xfbea98[_0x57293a(0x234)]-0x1,_0x4bfad2;_0x4e4f37>=0x0;_0x4e4f37--)(_0x4bfad2=_0xfbea98[_0x4e4f37])&&(_0x1a4adf=_0x4bfad2(_0x1a4adf)||_0x1a4adf);return _0x1a4adf;},Je=(_0x3766c5,_0x4007f6)=>(_0x20288f,_0x46c720)=>_0x4007f6(_0x20288f,_0x46c720,_0x3766c5);let Ne=class extends _0x51bb57{constructor(_0x5e2933,_0x206509){const _0x3f6410=_0x500701;super(),this[_0x3f6410(0x1a5)]=_0x5e2933,this[_0x3f6410(0x212)]=_0x206509,this[_0x3f6410(0x21e)]();}[_0x500701(0x21e)](){const _0xf1c490=_0x500701,_0x4bebe4=this;this[_0xf1c490(0x226)](this[_0xf1c490(0x1a5)][_0xf1c490(0x294)]({'onBeforePasteImage':async _0x23e028=>{const _0x1749ef=_0xf1c490,_0xe9b082=await _0x4bebe4['_imageIoService'][_0x1749ef(0x2b5)](_0x23e028);return _0xe9b082?{'source':_0xe9b082['source'],'imageSourceType':_0xe9b082[_0x1749ef(0x24a)]}:null;}}));}};Ne=li([Je(0x0,_0xf5cf06),Je(0x1,_0x19a877)],Ne);const Ze=['purple.300','jiqing.500',_0x500701(0x232),_0x500701(0x164),_0x500701(0x195),_0x500701(0x316)];class ke extends _0xbdf073{constructor(){const _0x240022=_0x500701;super(...arguments),_(this,_0x240022(0x2c9),new Map()),_(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x3baeab){const _0xc6b0f2=_0x500701;if(this[_0xc6b0f2(0x2c9)][_0xc6b0f2(0x1cb)](_0x3baeab))return this[_0xc6b0f2(0x2c9)][_0xc6b0f2(0x1a2)](_0x3baeab);const _0x28e997=Ze[this[_0xc6b0f2(0x193)]];return this['_colorIndex']=(this[_0xc6b0f2(0x193)]+0x1)%Ze[_0xc6b0f2(0x234)],this[_0xc6b0f2(0x2c9)]['set'](_0x3baeab,_0x28e997),_0x28e997;}}function Tt(_0x3f3315){const _0x36b7dc=_0x500701;let _0x1e3e00='';for(const _0x4e029c of _0x3f3315){const {startOffset:_0x3f7ccb,endOffset:_0x48fbed,isActive:_0x1ea459,rangeType:_0x28d7db,segmentId:_0x5405b0,segmentPage:_0x3387ca}=_0x4e029c;_0x1e3e00[_0x36b7dc(0x234)]&&(_0x1e3e00+=','),_0x1e3e00+=_0x3f7ccb+':'+_0x48fbed+':'+(_0x1ea459?'1':'0')+':'+_0x28d7db+':'+_0x5405b0+':'+_0x3387ca;}return _0x1e3e00;}function _i(_0x56f0c2){const _0x4df879=_0x500701,_0x246525=_0x56f0c2[_0x4df879(0x1e0)](','),_0x2d6429=[];for(const _0x2ac5d1 of _0x246525){const [_0xd4fe67,_0x3088e2,_0x3ddb95,_0x1908c1,_0x3ae6f8,_0x498c33]=_0x2ac5d1[_0x4df879(0x1e0)](':');_0x2d6429[_0x4df879(0x2a2)]({'startOffset':Number(_0xd4fe67),'endOffset':Number(_0x3088e2),'collapsed':_0xd4fe67===_0x3088e2,'isActive':_0x3ddb95==='1','rangeType':_0x1908c1===_0x20cb98['TEXT']?_0x20cb98[_0x4df879(0x1d8)]:_0x20cb98[_0x4df879(0x2b6)],'segmentId':typeof _0x3ae6f8==_0x4df879(0x2ae)?String(_0x3ae6f8):'','segmentPage':Number(_0x498c33!=null?_0x498c33:-0x1)});}return _0x2d6429[_0x4df879(0x2fb)](_0x1c5321=>_0x1c5321[_0x4df879(0x338)])||(_0x2d6429[0x0][_0x4df879(0x338)]=!0x0),_0x2d6429;}class He extends _0x51bb57{constructor(){const _0x463054=_0x500701;super(...arguments),_(this,_0x463054(0x292),new _0x5a7c5d(null)),_(this,_0x463054(0x308),this[_0x463054(0x292)][_0x463054(0x1fb)]());}[_0x500701(0x1af)](_0x11ec39){const _0x448937=_0x500701,{unitID:_0x1ef441,memberID:_0x341471,textRanges:_0x1d5e22}=_0x11ec39,_0x208e88=Tt(_0x1d5e22);if(_0x208e88==='')return;const _0x47a33c={'unitID':_0x1ef441,'memberID':_0x341471,'selection':_0x208e88};this[_0x448937(0x292)][_0x448937(0x1c9)](_0x47a33c);}}var hi=Object['getOwnPropertyDescriptor'],ui=(_0x36b258,_0x56773a,_0x446617,_0x55ded2)=>{const _0x109991=_0x500701;for(var _0x7d1c66=_0x55ded2>0x1?void 0x0:_0x55ded2?hi(_0x56773a,_0x446617):_0x56773a,_0x57dfa4=_0x36b258[_0x109991(0x234)]-0x1,_0xe9b1a9;_0x57dfa4>=0x0;_0x57dfa4--)(_0xe9b1a9=_0x36b258[_0x57dfa4])&&(_0x7d1c66=_0xe9b1a9(_0x7d1c66)||_0x7d1c66);return _0x7d1c66;},P=(_0x18c112,_0x241929)=>(_0x2f04fd,_0x54e8ff)=>_0x241929(_0x2f04fd,_0x54e8ff,_0x18c112);const di=0x12c,fi=0x64;let Ue=class extends _0x51bb57{constructor(_0x498cb7,_0x516ec8,_0x176202,_0x324115,_0x1c275a,_0x416832,_0x344a4b,_0x5af72c,_0x16371c){const _0x4bc299=_0x500701;super(),_(this,'_online',!0x1),_(this,_0x4bc299(0x21e),!0x1),_(this,_0x4bc299(0x1cf),new _0x5a7c5d(new Map())),_(this,'cursorInfo$',this[_0x4bc299(0x1cf)][_0x4bc299(0x1fb)]()),_(this,'_roomMembers$',new _0x5a7c5d([])),_(this,_0x4bc299(0x187),this['_roomMembers$']['pipe'](_0x5d2d37(di))),_(this,_0x4bc299(0x32e),_0x270191(_0x7c15e=>{const _0x459b4f=_0x4bc299,_0x1d0c2d={'eventID':_0x24d870[_0x459b4f(0x1ab)],'data':{'unitID':this[_0x459b4f(0x301)],'memberID':this[_0x459b4f(0x359)][_0x459b4f(0x273)](),'selection':Tt(_0x7c15e)}};this[_0x459b4f(0x359)]['send'](_0x1d0c2d,this[_0x459b4f(0x301)]);},fi)),(this[_0x4bc299(0x301)]=_0x498cb7,this[_0x4bc299(0x359)]=_0x516ec8,this[_0x4bc299(0x1a4)]=_0x176202,this[_0x4bc299(0x2ec)]=_0x324115,this[_0x4bc299(0x1be)]=_0x1c275a,this[_0x4bc299(0x1b7)]=_0x416832,this[_0x4bc299(0x2ce)]=_0x344a4b,this[_0x4bc299(0x27f)]=_0x5af72c,this[_0x4bc299(0x2b3)]=_0x16371c);}get[_0x500701(0x179)](){const _0x887d54=_0x500701;return this[_0x887d54(0x1cf)][_0x887d54(0x1a8)]();}get[_0x500701(0x348)](){const _0x276c35=_0x500701;return this[_0x276c35(0x2ee)]['getValue']();}[_0x500701(0x1e7)](){const _0x249054=_0x500701;super[_0x249054(0x1e7)](),this[_0x249054(0x1cf)][_0x249054(0x1c9)](new Map()),this[_0x249054(0x1cf)]['complete'](),this[_0x249054(0x2ee)][_0x249054(0x1c9)]([]),this['_roomMembers$']['complete']();}[_0x500701(0x1e3)](){const _0xe8d46=_0x500701;this[_0xe8d46(0x21e)]||(this[_0xe8d46(0x21e)]=!0x0,this[_0xe8d46(0x359)][_0xe8d46(0x2cb)][_0xe8d46(0x323)](_0x13f70a(this[_0xe8d46(0x310)]))['subscribe'](_0x3d5cdb=>{const _0x854fbc=_0xe8d46;_0x3d5cdb===_0x3c94d8[_0x854fbc(0x174)]?this[_0x854fbc(0x346)]():this[_0x854fbc(0x240)]();}),this[_0xe8d46(0x359)][_0xe8d46(0x15d)][_0xe8d46(0x323)](_0x13f70a(this['dispose$']))[_0xe8d46(0x320)](_0x2c36ba=>{const _0x439c9f=_0xe8d46,_0x143d62=_0x2c36ba[_0x439c9f(0x34e)];_0x143d62===_0x24d870[_0x439c9f(0x1ab)]&&this[_0x439c9f(0x190)](_0x2c36ba),_0x143d62===_0x24d870['USERS_LEAVE']&&this[_0x439c9f(0x162)](_0x2c36ba);}),this[_0xe8d46(0x226)](this['_commandService']['onCommandExecuted'](_0x3607f8=>{const _0x385515=_0xe8d46,_0x1cd1ef=_0x3607f8[_0x385515(0x2cd)];_0x1cd1ef!=null&&this['_online']&&_0x3607f8['id']===_0x49e568['id']&&_0x1cd1ef['unitId']===this[_0x385515(0x301)]&&_0x1cd1ef[_0x385515(0x2d4)]===!0x1&&_0x1cd1ef['ranges'][_0x385515(0x234)]>0x0&&this[_0x385515(0x32e)](_0x1cd1ef['ranges']);})),this[_0xe8d46(0x1b7)][_0xe8d46(0x308)][_0xe8d46(0x323)](_0x13f70a(this[_0xe8d46(0x310)]))['subscribe'](_0xb0e97a=>{const _0x2358e7=_0xe8d46;if((_0xb0e97a==null?void 0x0:_0xb0e97a[_0x2358e7(0x301)])!==this['unitID'])return;const _0x2371c7={'eventID':_0x24d870[_0x2358e7(0x1ab)],'data':_0xb0e97a};this[_0x2358e7(0x190)](_0x2371c7);}),this[_0xe8d46(0x226)](this[_0xe8d46(0x2b3)]['onCommandExecuted'](_0x5a63f4=>{const _0x4c919c=_0xe8d46;if(_0x5a63f4[_0x4c919c(0x2cd)]==null)return;const _0x5d327c=_0x5a63f4['params'];if(_0x5a63f4['id']!==_0x1b6e54['id']||_0x5d327c[_0x4c919c(0x319)]!==this[_0x4c919c(0x301)])return;const _0x2d9165={'id':_0x4c919c(0x2c3),'params':_0x5d327c},_0x376e5d=this[_0x4c919c(0x179)];for(const [_0x47b878,_0x435485]of _0x376e5d){const _0x10c015={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x4c919c(0x301)],'actions':null,'textRanges':_0x435485[_0x4c919c(0x175)]}},_0x3a727a=this[_0x4c919c(0x2ce)][_0x4c919c(0x24b)](_0x2d9165,_0x10c015,!0x1);if(_0x727f01(_0x3a727a))throw _0x3a727a[_0x4c919c(0x1eb)];_0x376e5d['set'](_0x47b878,{..._0x435485,'ranges':_0x3a727a['m2Prime']['params']['textRanges']});}queueMicrotask(()=>{const _0x22a4d8=_0x4c919c;this['_cursorInfo$'][_0x22a4d8(0x1c9)](_0x376e5d);});})));}['_onCursorUpdate'](_0x59e1e3){const _0x2e24e9=_0x500701;var _0x411710,_0x58d5cd;const {memberID:_0x2652ff,selection:_0x338738}=_0x59e1e3[_0x2e24e9(0x2dd)],_0x20a3ae=_i(_0x338738),_0x2be476=(_0x58d5cd=(_0x411710=this['_memberService']['getMember'](this[_0x2e24e9(0x301)],_0x2652ff))==null?void 0x0:_0x411710[_0x2e24e9(0x1c7)])!=null?_0x58d5cd:_0x2e24e9(0x306),_0xf99edd={'color':this[_0x2e24e9(0x2ec)][_0x2e24e9(0x274)](_0x2652ff),'name':_0x2be476,'ranges':_0x20a3ae},_0x37d92c=this[_0x2e24e9(0x179)];_0x37d92c['set'](_0x2652ff,_0xf99edd),this['_cursorInfo$'][_0x2e24e9(0x1c9)](_0x37d92c);}['_onCursorDelete'](_0x4b8c46){const _0x879ccd=_0x500701,{memberID:_0x47bd33}=_0x4b8c46['data'],_0x663e8d=this[_0x879ccd(0x179)];_0x663e8d[_0x879ccd(0x204)](_0x47bd33),this[_0x879ccd(0x1cf)]['next'](_0x663e8d);}[_0x500701(0x346)](){const _0x3d709d=_0x500701;var _0x1de255;if(this[_0x3d709d(0x189)]=!0x0,((_0x1de255=this[_0x3d709d(0x27f)][_0x3d709d(0x33f)]())==null?void 0x0:_0x1de255[_0x3d709d(0x215)]())!==this[_0x3d709d(0x301)])return;const _0x347fea=this[_0x3d709d(0x1a4)][_0x3d709d(0x1a2)](_0x232d6a)[_0x3d709d(0x269)]();Array[_0x3d709d(0x1b3)](_0x347fea)&&_0x347fea['length']>0x0&&this['_updateLocalCursor'](_0x347fea);}[_0x500701(0x240)](){const _0x4b0acf=_0x500701;this[_0x4b0acf(0x189)]=!0x1;}};Ue=ui([P(0x2,_0x36f55a(_0x524dc3)),P(0x3,_0x36f55a(ke)),P(0x4,_0x36f55a(_0x98ed6)),P(0x5,_0x36f55a(He)),P(0x6,_0x5ddb15),P(0x7,_0x3a01ed),P(0x8,_0x44ae43)],Ue);var Si=Object[_0x500701(0x248)],mi=(_0x5519cf,_0x241e78,_0x5ef1da,_0x3230f7)=>{const _0x3dcea7=_0x500701;for(var _0x207b83=_0x3230f7>0x1?void 0x0:_0x3230f7?Si(_0x241e78,_0x5ef1da):_0x241e78,_0x4f8fd8=_0x5519cf[_0x3dcea7(0x234)]-0x1,_0x2ead45;_0x4f8fd8>=0x0;_0x4f8fd8--)(_0x2ead45=_0x5519cf[_0x4f8fd8])&&(_0x207b83=_0x2ead45(_0x207b83)||_0x207b83);return _0x207b83;},x=(_0x5bf7b2,_0x3c84c9)=>(_0x58404a,_0x196cc0)=>_0x3c84c9(_0x58404a,_0x196cc0,_0x5bf7b2);const Ii=0x12c,gi=0x64,vi=()=>{let _0x2ddb4d=[],_0x511749=!0x1;return _0x35341c=>{_0x2ddb4d['push'](_0x35341c),_0x511749||(_0x511749=!0x0,setTimeout(()=>{_0x2ddb4d['forEach'](_0x532eb1=>_0x532eb1()),_0x2ddb4d=[],_0x511749=!0x1;}));};};let Me=class extends _0x51bb57{constructor(_0xc0e912,_0x3b7670,_0x287a60,_0x4c8f2f,_0x4e8dd3,_0x216e76,_0x513ea1,_0x33f636){const _0x1d4ef6=_0x500701;super(),_(this,_0x1d4ef6(0x189),!0x1),_(this,_0x1d4ef6(0x21e),!0x1),_(this,'_cursorInfo$',new _0x5a7c5d(new Map())),_(this,_0x1d4ef6(0x196),this[_0x1d4ef6(0x1cf)][_0x1d4ef6(0x1fb)]()),_(this,_0x1d4ef6(0x2ee),new _0x5a7c5d([])),_(this,_0x1d4ef6(0x187),this[_0x1d4ef6(0x2ee)]['pipe'](_0x5d2d37(Ii))),_(this,_0x1d4ef6(0x32e),_0x270191((_0x1eafcc,_0x4a6a85)=>{const _0x36ec6c=_0x1d4ef6,_0x3147af={'eventID':_0x24d870[_0x36ec6c(0x1ab)],'data':{'unitID':this['unitID'],'memberID':this[_0x36ec6c(0x359)]['getMemberID'](),'selection':_0x115746(_0x1eafcc,_0x4a6a85['range'])}};this['_session'][_0x36ec6c(0x16d)](_0x3147af,this[_0x36ec6c(0x301)]);},gi)),(this[_0x1d4ef6(0x301)]=_0xc0e912,this['_session']=_0x3b7670,this[_0x1d4ef6(0x1a4)]=_0x287a60,this[_0x1d4ef6(0x2ec)]=_0x4c8f2f,this[_0x1d4ef6(0x1be)]=_0x4e8dd3,this[_0x1d4ef6(0x27f)]=_0x216e76,this['_commandService']=_0x513ea1,this['_refRangeService']=_0x33f636);}get[_0x500701(0x179)](){const _0x44a793=_0x500701;return this[_0x44a793(0x1cf)]['getValue']();}get[_0x500701(0x348)](){const _0x29fb1c=_0x500701;return this[_0x29fb1c(0x2ee)][_0x29fb1c(0x1a8)]();}[_0x500701(0x1e7)](){const _0x5e1454=_0x500701;super[_0x5e1454(0x1e7)](),this[_0x5e1454(0x1cf)][_0x5e1454(0x1c9)](new Map()),this[_0x5e1454(0x1cf)][_0x5e1454(0x1d7)](),this[_0x5e1454(0x2ee)]['next']([]),this[_0x5e1454(0x2ee)][_0x5e1454(0x1d7)]();}[_0x500701(0x1e3)](){const _0x53736f=_0x500701;this['_init']||(this[_0x53736f(0x21e)]=!0x0,this['_session'][_0x53736f(0x2cb)][_0x53736f(0x323)](_0x13f70a(this[_0x53736f(0x310)]))['subscribe'](_0x30db86=>{const _0x56a15=_0x53736f;_0x30db86===_0x3c94d8[_0x56a15(0x174)]?this[_0x56a15(0x346)]():this['_toggleOffline']();}),this['_session'][_0x53736f(0x15d)][_0x53736f(0x323)](_0x13f70a(this[_0x53736f(0x310)]))[_0x53736f(0x320)](_0xba535f=>{const _0x34b803=_0x53736f,_0x3c0a25=_0xba535f[_0x34b803(0x34e)];_0x3c0a25===_0x24d870[_0x34b803(0x1ab)]&&this[_0x34b803(0x190)](_0xba535f),_0x3c0a25===_0x24d870[_0x34b803(0x1fc)]&&this[_0x34b803(0x162)](_0xba535f);}),this[_0x53736f(0x236)](),this[_0x53736f(0x226)](this[_0x53736f(0x2b3)][_0x53736f(0x337)](_0x2cb505=>{const _0x486c14=_0x53736f;if(this[_0x486c14(0x189)]&&_0x2cb505['id']===_0x217aca['id']&&_0x2cb505[_0x486c14(0x2cd)][_0x486c14(0x319)]===this[_0x486c14(0x301)]){const _0x2731de=_0x2cb505[_0x486c14(0x2cd)];this[_0x486c14(0x32e)](_0x2731de[_0x486c14(0x2e9)],_0x2731de[_0x486c14(0x213)][0x0]);}})));}[_0x500701(0x190)](_0xa2fea3){const _0x4cebce=_0x500701;var _0x178408,_0x356e06;const {memberID:_0x4fb73d,selection:_0x4bbec8}=_0xa2fea3[_0x4cebce(0x2dd)],{sheetName:_0x28e980,range:_0x7dd51d}=_0x25c963(_0x4bbec8),_0xb01e0f={'name':(_0x356e06=(_0x178408=this['_memberService'][_0x4cebce(0x303)](this[_0x4cebce(0x301)],_0x4fb73d))==null?void 0x0:_0x178408[_0x4cebce(0x1c7)])!=null?_0x356e06:_0x4cebce(0x306),'range':this[_0x4cebce(0x33a)](_0x28e980,_0x7dd51d),'sheetID':_0x28e980,'color':this[_0x4cebce(0x2ec)][_0x4cebce(0x274)](_0x4fb73d),'selection':_0x4bbec8},_0x51ce59=this['cursorInfo'];_0x51ce59['set'](_0x4fb73d,_0xb01e0f),this[_0x4cebce(0x1cf)]['next'](_0x51ce59);}[_0x500701(0x162)](_0x341500){const _0x27536d=_0x500701,{memberID:_0x5901ea}=_0x341500[_0x27536d(0x2dd)],_0x54962c=this[_0x27536d(0x179)];_0x54962c[_0x27536d(0x204)](_0x5901ea),this['_cursorInfo$'][_0x27536d(0x1c9)](_0x54962c);}[_0x500701(0x33a)](_0xad5b2d,_0x5ce5f7){const _0x314098=_0x500701;var _0xad0810,_0x50d723;const _0x1b7b79=(_0x50d723=(_0xad0810=this[_0x314098(0x27f)]['getUniverSheetInstance'](this[_0x314098(0x301)]))==null?void 0x0:_0xad0810['getSheetBySheetId'](_0xad5b2d))==null?void 0x0:_0x50d723[_0x314098(0x30e)]();return(_0x1b7b79==null?void 0x0:_0x1b7b79[_0x314098(0x1b0)](_0x5d67ec=>_0x5d496d['contains'](_0x5d67ec,_0x5ce5f7)))||_0x5ce5f7;}[_0x500701(0x236)](){const _0x27afbd=_0x500701,_0x190960=new _0x163b76(),_0x19c537=vi(),_0x1e08fb=()=>{const _0x3449b9=_0x201c;_0x190960[_0x3449b9(0x1e7)]();const _0x1c7f60=(_0x5bf611,_0x425412,_0x4c7598,_0x523dd4)=>{const _0x432951=_0x3449b9;let _0x1fde41=[];switch(_0x5bf611['id']){case _0x486e35[_0x432951(0x22b)]:{_0x1fde41=_0x1c2e74(_0x5bf611,_0x523dd4);break;}case _0x486e35['DeleteRangeMoveUpCommandId']:{_0x1fde41=_0x2a5e2a(_0x5bf611,_0x523dd4);break;}case _0x486e35['InsertColCommandId']:{_0x1fde41=_0x4f839b(_0x5bf611,_0x523dd4);break;}case _0x486e35[_0x432951(0x1ff)]:{_0x1fde41=_0x5d43ae(_0x5bf611,_0x523dd4);break;}case _0x486e35[_0x432951(0x2fc)]:{_0x1fde41=_0x487733(_0x5bf611,_0x523dd4);break;}case _0x486e35[_0x432951(0x186)]:{_0x1fde41=_0x4d014c(_0x5bf611,_0x523dd4);break;}case _0x486e35[_0x432951(0x247)]:{_0x1fde41=_0x390946(_0x5bf611,_0x523dd4);break;}case _0x486e35['RemoveColCommandId']:{_0x1fde41=_0x445a8c(_0x5bf611,_0x523dd4);break;}case _0x486e35['RemoveRowCommandId']:{_0x1fde41=_0x5c5d46(_0x5bf611,_0x523dd4);break;}}const _0x55155d=_0x672700(_0x1fde41,_0x523dd4),_0x21d03a=this[_0x432951(0x179)][_0x432951(0x1a2)](_0x425412);if(_0x21d03a&&_0x55155d){const _0x387b6c={..._0x21d03a,'range':_0x55155d};this[_0x432951(0x179)][_0x432951(0x2af)](_0x425412,_0x387b6c),_0x19c537(()=>{const _0x34dd5f=_0x432951,_0x106114=this[_0x34dd5f(0x20f)][_0x34dd5f(0x1e4)](_0x55155d,_0x476edd=>(_0x106114[_0x34dd5f(0x1e7)](),_0x1c7f60(_0x476edd,_0x425412,_0x4c7598,_0x55155d)));_0x190960[_0x34dd5f(0x1c3)](_0x106114);});}return{'redos':[],'undos':[]};};this[_0x3449b9(0x179)][_0x3449b9(0x295)]((_0x5546f4,_0x26dd45)=>{const _0x475a3a=_0x3449b9,{range:_0x41e5cd,sheetID:_0x11b1b4}=_0x5546f4,_0x31cc6e=this[_0x475a3a(0x20f)][_0x475a3a(0x1e4)](_0x41e5cd,_0x433134=>(_0x31cc6e[_0x475a3a(0x1e7)](),_0x1c7f60(_0x433134,_0x26dd45,_0x11b1b4,_0x41e5cd)));_0x190960['add'](_0x31cc6e);});};this['disposeWithMe'](_0x31417b(this['_cursorInfo$'][_0x27afbd(0x320)](()=>{_0x1e08fb();})));}[_0x500701(0x346)](){const _0x18ec97=_0x500701;var _0x155273,_0x190e20;if(this['_online']=!0x0,((_0x155273=this[_0x18ec97(0x27f)]['getFocusedUnit']())==null?void 0x0:_0x155273[_0x18ec97(0x215)]())!==this['unitID'])return;const _0x10827c=(_0x190e20=this['_injector'][_0x18ec97(0x1a2)](_0x34f1fe)[_0x18ec97(0x2e0)]())==null?void 0x0:_0x190e20[0x0],_0x2fd604=this[_0x18ec97(0x27f)][_0x18ec97(0x265)](_0x57d7e2['UNIVER_SHEET'])[_0x18ec97(0x222)]();_0x10827c&&_0x2fd604&&this[_0x18ec97(0x32e)](_0x2fd604['getSheetId'](),_0x10827c);}['_toggleOffline'](){const _0x3b5ab6=_0x500701;this[_0x3b5ab6(0x189)]=!0x1;}};Me=mi([x(0x2,_0x36f55a(_0x524dc3)),x(0x3,_0x36f55a(ke)),x(0x4,_0x36f55a(_0x98ed6)),x(0x5,_0x3a01ed),x(0x6,_0x44ae43),x(0x7,_0x36f55a(_0x4709fb))],Me);var pi=Object['getOwnPropertyDescriptor'],Ci=(_0x57c4fe,_0x1184c7,_0x7a3bb0,_0x3684bd)=>{const _0x258abd=_0x500701;for(var _0x30ba05=_0x3684bd>0x1?void 0x0:_0x3684bd?pi(_0x1184c7,_0x7a3bb0):_0x1184c7,_0x1d3ea5=_0x57c4fe[_0x258abd(0x234)]-0x1,_0x1766d9;_0x1d3ea5>=0x0;_0x1d3ea5--)(_0x1766d9=_0x57c4fe[_0x1d3ea5])&&(_0x30ba05=_0x1766d9(_0x30ba05)||_0x30ba05);return _0x30ba05;},Se=(_0x33bd52,_0x1c7e78)=>(_0x37bb6f,_0x53058a)=>_0x1c7e78(_0x37bb6f,_0x53058a,_0x33bd52);let H=class extends _0x51bb57{constructor(_0x296ef9,_0x51bcba,_0x50bcfa){const _0x1960a1=_0x500701;super(),_(this,'_entities',new Map()),_(this,_0x1960a1(0x20b),new _0x200c52()),(this['_univerInstanceService']=_0x296ef9,this[_0x1960a1(0x1a4)]=_0x51bcba,this[_0x1960a1(0x198)]=_0x50bcfa,this['_init']());}['dispose'](){const _0x1758c9=_0x500701;super['dispose'](),this[_0x1758c9(0x20b)][_0x1758c9(0x1d7)](),this[_0x1758c9(0x2c2)][_0x1758c9(0x295)](_0x402eb6=>_0x402eb6[_0x1758c9(0x1e7)]());}[_0x500701(0x270)](_0x581757){const _0x5041e6=_0x500701;return this[_0x5041e6(0x2c2)][_0x5041e6(0x1cb)](_0x581757)?this[_0x5041e6(0x2c2)][_0x5041e6(0x1a2)](_0x581757)[_0x5041e6(0x196)]:this[_0x5041e6(0x20b)][_0x5041e6(0x323)](_0x85b57(_0x1d0dd8=>_0x1d0dd8[_0x5041e6(0x301)]===_0x581757),_0x161e64(_0xe3b38a=>_0xe3b38a['cursorInfo$']));}[_0x500701(0x21e)](){const _0x10d4a1=_0x500701;this[_0x10d4a1(0x27f)][_0x10d4a1(0x168)](_0x57d7e2[_0x10d4a1(0x286)])[_0x10d4a1(0x323)](_0x13f70a(this[_0x10d4a1(0x310)]))[_0x10d4a1(0x320)](async _0x491e3c=>{const _0x4a3dcd=_0x10d4a1,_0x293e64=_0x491e3c[_0x4a3dcd(0x215)](),_0x1d12b4=await this[_0x4a3dcd(0x2de)](_0x293e64);this[_0x4a3dcd(0x20b)][_0x4a3dcd(0x1c9)](_0x1d12b4),this[_0x4a3dcd(0x2c2)][_0x4a3dcd(0x2af)](_0x293e64,_0x1d12b4);}),this[_0x10d4a1(0x27f)][_0x10d4a1(0x168)](_0x57d7e2[_0x10d4a1(0x1bb)])[_0x10d4a1(0x323)](_0x13f70a(this[_0x10d4a1(0x310)]))[_0x10d4a1(0x323)](_0x85b57(_0x25ef82=>!_0x25ef82[_0x10d4a1(0x215)]()[_0x10d4a1(0x239)]('__')))[_0x10d4a1(0x320)](async _0x2a43d2=>{const _0xb12eb3=_0x10d4a1,_0x15aa36=_0x2a43d2[_0xb12eb3(0x215)](),_0x3af512=await this['_startDocCollabCursor'](_0x15aa36);this[_0xb12eb3(0x20b)]['next'](_0x3af512),this[_0xb12eb3(0x2c2)]['set'](_0x15aa36,_0x3af512);}),_0x3b5d4d(this[_0x10d4a1(0x27f)][_0x10d4a1(0x178)](_0x57d7e2[_0x10d4a1(0x1bb)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x57d7e2[_0x10d4a1(0x286)]))['pipe'](_0x13f70a(this[_0x10d4a1(0x310)]))[_0x10d4a1(0x320)](_0x2252bd=>{const _0x55d5b8=_0x10d4a1,_0xf78af6=_0x2252bd['getUnitId'](),_0x4ae1c4=this['_entities'][_0x55d5b8(0x1a2)](_0xf78af6);_0x4ae1c4&&(_0x4ae1c4[_0x55d5b8(0x1e7)](),this[_0x55d5b8(0x2c2)][_0x55d5b8(0x204)](_0xf78af6));});}async['_startSheetCollabCursor'](_0x4df451){const _0x455682=_0x500701,_0x2bc90d=await this[_0x455682(0x198)]['requireSession'](_0x4df451),_0x509f2c=this['_injector'][_0x455682(0x2e7)](Me,_0x4df451,_0x2bc90d);return _0x509f2c[_0x455682(0x1e3)](),_0x509f2c;}async[_0x500701(0x25c)](_0x196a22){const _0x8fe033=_0x500701,_0x30da28=await this[_0x8fe033(0x198)]['requireSession'](_0x196a22),_0x4e6bc5=this[_0x8fe033(0x1a4)][_0x8fe033(0x2e7)](Ue,_0x196a22,_0x30da28);return _0x4e6bc5[_0x8fe033(0x1e3)](),_0x4e6bc5;}};H=Ci([Se(0x0,_0x3a01ed),Se(0x1,_0x36f55a(_0x524dc3)),Se(0x2,_0x36f55a(_0x1d5bd3))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x3c336f,_0x12d9fe){const _0xb0b9b9=_0x500701;let {radius:_0x16131f,width:_0x4002a3,height:_0xefcdbb}=_0x12d9fe;_0x16131f=_0x16131f!=null?_0x16131f:0x0,_0x4002a3=_0x4002a3!=null?_0x4002a3:0x1e,_0xefcdbb=_0xefcdbb!=null?_0xefcdbb:0x1e;let _0x20cd19=0x0,_0xa941a9=0x0,_0x5f5ca0=0x0;_0x20cd19=_0xa941a9=_0x5f5ca0=Math[_0xb0b9b9(0x20c)](_0x16131f,_0x4002a3/0x2,_0xefcdbb/0x2),_0x3c336f['beginPath'](),_0x3c336f[_0xb0b9b9(0x302)](_0x20cd19,0x0),_0x3c336f['lineTo'](_0x4002a3-_0xa941a9,0x0),_0x3c336f[_0xb0b9b9(0x245)](_0x4002a3-_0xa941a9,_0xa941a9,_0xa941a9,Math['PI']*0x3/0x2,0x0,!0x1),_0x3c336f['lineTo'](_0x4002a3,_0xefcdbb-_0x5f5ca0),_0x3c336f[_0xb0b9b9(0x245)](_0x4002a3-_0x5f5ca0,_0xefcdbb-_0x5f5ca0,_0x5f5ca0,0x0,Math['PI']/0x2,!0x1),_0x3c336f[_0xb0b9b9(0x16f)](0x0,_0xefcdbb),_0x3c336f['lineTo'](0x0,_0x20cd19),_0x3c336f[_0xb0b9b9(0x245)](_0x20cd19,_0x20cd19,_0x20cd19,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3c336f[_0xb0b9b9(0x26e)](),_0x12d9fe['fill']&&(_0x3c336f['save'](),_0x3c336f['fillStyle']=_0x12d9fe[_0xb0b9b9(0x31a)],_0x12d9fe['fillRule']==='evenodd'?_0x3c336f[_0xb0b9b9(0x31a)](_0xb0b9b9(0x218)):_0x3c336f[_0xb0b9b9(0x31a)](),_0x3c336f['restore']());}class he extends _0x1f573e{constructor(_0x589a31,_0x570b17){const _0x59b1d4=_0x500701;super(_0x589a31,_0x570b17),_(this,_0x59b1d4(0x30f)),_(this,_0x59b1d4(0x242)),(this[_0x59b1d4(0x30f)]=_0x570b17==null?void 0x0:_0x570b17['color'],this['text']=_0x570b17==null?void 0x0:_0x570b17[_0x59b1d4(0x242)]);}static[_0x500701(0x279)](_0x1ed552,_0x374ca4){const _0x1dd804=_0x500701,{text:_0x5aec85,color:_0x52ef44}=_0x374ca4;_0x1ed552[_0x1dd804(0x28f)](),_0x1ed552['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x32ffd9=_0x1ed552[_0x1dd804(0x1a6)](_0x5aec85)[_0x1dd804(0x24c)],_0x4c9ed3=Math[_0x1dd804(0x20c)](_0x32ffd9+0x2*me,Qe);Oi(_0x1ed552,{'height':ee,'radius':0x4,'width':_0x4c9ed3,'fill':_0x52ef44}),_0x1ed552[_0x1dd804(0x32f)]=_0x1dd804(0x2ea);const _0xea9b20=me,_0x8c0e56=ee-Ei,_0x532818=Qe-0x2*me;if(_0x32ffd9>_0x532818){let _0xe09fde='',_0x426d73=0x0;for(const _0x5c29f7 of _0x5aec85){const _0x18f03e=_0x1ed552[_0x1dd804(0x1a6)](_0x5c29f7)[_0x1dd804(0x24c)];if(_0x426d73+_0x18f03e<=_0x532818-_0x1ed552[_0x1dd804(0x1a6)](_0x1dd804(0x17e))[_0x1dd804(0x24c)])_0xe09fde+=_0x5c29f7,_0x426d73+=_0x18f03e;else{_0xe09fde+=_0x1dd804(0x17e);break;}}_0x1ed552[_0x1dd804(0x2ba)](_0xe09fde,_0xea9b20,_0x8c0e56);}else _0x1ed552[_0x1dd804(0x2ba)](_0x5aec85,_0xea9b20,_0x8c0e56);_0x1ed552[_0x1dd804(0x17d)]();}['_draw'](_0x44fb7d){const _0x248b3e=_0x500701;he[_0x248b3e(0x279)](_0x44fb7d,this);}}function _0x201c(_0x19f2ad,_0xbf4fcd){const _0x15b06a=_0x15b0();return _0x201c=function(_0x201cbf,_0x5049bc){_0x201cbf=_0x201cbf-0x15a;let _0x57de0c=_0x15b06a[_0x201cbf];return _0x57de0c;},_0x201c(_0x19f2ad,_0xbf4fcd);}const Ie='collab-text-anchor-',bi=_0x500701(0x31e),Ti='collab-rect-range-',X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x500701(0x2a3);class qe{constructor(_0x1dc254,_0x502c09,_0xc917a6,_0x2aae69){const _0x4a896e=_0x500701;_(this,_0x4a896e(0x276),[]),_(this,_0x4a896e(0x2b1),null),_(this,_0x4a896e(0x23e),null),_(this,_0x4a896e(0x228),null),_(this,_0x4a896e(0x2e6),null),_(this,_0x4a896e(0x272),null),(this[_0x4a896e(0x277)]=_0x1dc254,this['_scene']=_0x502c09,this[_0x4a896e(0x2d3)]=_0xc917a6,this['_document']=_0x2aae69,this['_render']());}set[_0x500701(0x2aa)](_0x2afc5d){const _0x3e53ef=_0x500701;_0x2afc5d?(this[_0x3e53ef(0x228)]&&this[_0x3e53ef(0x228)][_0x3e53ef(0x18c)](),this[_0x3e53ef(0x23e)]&&this['_textBubble']['show']()):(this[_0x3e53ef(0x228)]&&this['_anchorDot']['show'](),this[_0x3e53ef(0x23e)]&&this[_0x3e53ef(0x23e)]['hide']());}['dispose'](){const _0x4ebf85=_0x500701;for(const _0x157bfc of this[_0x4ebf85(0x276)])_0x157bfc[_0x4ebf85(0x1e7)]();this[_0x4ebf85(0x23e)]&&this['_textBubble']['dispose'](),this[_0x4ebf85(0x228)]&&this[_0x4ebf85(0x228)][_0x4ebf85(0x1e7)](),this[_0x4ebf85(0x2b1)]&&this[_0x4ebf85(0x2b1)][_0x4ebf85(0x1e7)](),this[_0x4ebf85(0x272)]&&this['_eventUnsubscribe']();}[_0x500701(0x347)](){const _0x3c2e34=_0x500701;var _0x331458;const {_docSkeleton:_0x55bc14,_document:_0x57ea89}=this,{color:_0x1256ec,name:_0x29f2e0,ranges:_0x1bfdd5}=this['_cursor'],_0x134214=_0x57ea89[_0x3c2e34(0x167)](),{docsLeft:_0x2e2634,docsTop:_0x567e29}=_0x134214,_0x3660ed=new _0x1e1661(_0x134214,_0x55bc14);for(const {startOffset:_0x5bf6cb,endOffset:_0xbf6128,rangeType:_0x55f7d7,segmentId:_0x335bb5,segmentPage:_0x56cb01,collapsed:_0x29f362,isActive:_0xbebacb}of _0x1bfdd5){const _0x43013e=_0x55bc14[_0x3c2e34(0x17a)](_0x5bf6cb,!0x0,_0x335bb5,_0x56cb01);let _0x49477c=_0x55bc14[_0x3c2e34(0x17a)](_0xbf6128,!0x0,_0x335bb5,_0x56cb01);if(_0x49477c==null&&(_0x49477c=_0x55bc14[_0x3c2e34(0x17a)](_0xbf6128-0x1,!0x1,_0x335bb5,_0x56cb01)),_0xbebacb){const {contentBoxPointGroup:_0x330cc1}=_0x3660ed[_0x3c2e34(0x28c)](_0x49477c,_0x49477c);if(_0x330cc1[_0x3c2e34(0x234)]===0x0)continue;this[_0x3c2e34(0x2bd)](_0x1256ec,_0x330cc1,_0x2e2634,_0x567e29,_0x29f2e0),this['_eventUnsubscribe']=this[_0x3c2e34(0x328)]();}if(_0x43013e&&_0x49477c){if(_0x55f7d7===_0x20cb98[_0x3c2e34(0x2b6)]){const _0x5ac8b1=new _0x12c27a(_0x134214,_0x55bc14),{pointGroup:_0x287127}=(_0x331458=_0x5ac8b1[_0x3c2e34(0x28c)](_0x43013e,_0x49477c))!=null?_0x331458:{};if(_0x287127==null||_0x287127['length']===0x0)continue;this[_0x3c2e34(0x185)](_0x1256ec,_0x287127,_0x2e2634,_0x567e29);}else{if(!_0x29f362){const {borderBoxPointGroup:_0x1c41e3}=_0x3660ed['getRangePointData'](_0x43013e,_0x49477c);if(_0x1c41e3[_0x3c2e34(0x234)]===0x0)continue;this[_0x3c2e34(0x181)](_0x1256ec,_0x1c41e3,_0x2e2634,_0x567e29);}}}}}[_0x500701(0x2bd)](_0x5e343e,_0x1045ac,_0x316d65,_0x53fa4c,_0x2b38e8){const _0x28af3a=_0x500701,_0x11702a=this[_0x28af3a(0x2fa)](_0x1045ac),{left:_0x33cf40,top:_0x43694d,height:_0x33aeae}=_0x11702a,_0x211a7a=this[_0x28af3a(0x300)](),_0x5077cc=Di/_0x211a7a,_0x4ae1c5=new _0x2fb5cd(Ie+_0xd3854a[_0x28af3a(0x200)](X),{'left':_0x33cf40+_0x316d65-_0x5077cc,'top':_0x43694d+_0x53fa4c,'height':_0x33aeae,'width':Ri,'fill':_0x5e343e||_0x8c785f(_0xa0b366[_0x28af3a(0x351)],0x0),'strokeWidth':_0x5077cc,'stroke':Ni,'evented':!0x0});this[_0x28af3a(0x2b1)]=_0x4ae1c5,this[_0x28af3a(0x1c6)]['addObject'](_0x4ae1c5,_0x28a77f);const _0x390ad6=new _0x2fb5cd(Ie+_0xd3854a[_0x28af3a(0x200)](X),{'left':_0x33cf40+_0x316d65-_0x5077cc,'top':_0x43694d+_0x53fa4c-ge/0x2,'height':ge,'width':ge,'fill':_0x5e343e||_0x8c785f(_0xa0b366[_0x28af3a(0x351)],0x0),'strokeWidth':0x0,'stroke':_0x5e343e||_0x8c785f(_0xa0b366['black'],0x0),'evented':!0x1});this[_0x28af3a(0x228)]=_0x390ad6,this[_0x28af3a(0x1c6)][_0x28af3a(0x1c2)](_0x390ad6,_0x28a77f);const _0x147cb7=new he(Ie+_0xd3854a[_0x28af3a(0x200)](X),{'left':_0x33cf40+_0x316d65-_0x5077cc,'top':_0x43694d+_0x53fa4c-ee,'text':_0x2b38e8,'color':_0x5e343e});this[_0x28af3a(0x23e)]=_0x147cb7,this[_0x28af3a(0x1c6)][_0x28af3a(0x1c2)](_0x147cb7,_0x28a77f),this[_0x28af3a(0x2aa)]=!0x1;}[_0x500701(0x328)](){const _0x4e9496=_0x500701,_0x171720=this['_anchor'][_0x4e9496(0x297)][_0x4e9496(0x2a4)](()=>{const _0x557dd7=_0x4e9496;this[_0x557dd7(0x2aa)]=!0x0;}),_0x5d134f=this[_0x4e9496(0x2b1)][_0x4e9496(0x32c)][_0x4e9496(0x2a4)](()=>{const _0x2c0963=_0x4e9496;this[_0x2c0963(0x2e6)]&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x2801e5=_0x2c0963;this[_0x2801e5(0x2aa)]=!0x1;},0x7d0);});return()=>{const _0x5d4ea7=_0x4e9496;_0x171720[_0x5d4ea7(0x329)](),_0x5d134f[_0x5d4ea7(0x329)]();};}[_0x500701(0x181)](_0x575fed,_0x2e7f9b,_0x19c5a9,_0x56217c){const _0x3bd4ae=_0x500701,_0x120bba=new _0x331b5e(_0x575fed)['setAlpha'](0.2)[_0x3bd4ae(0x326)](),_0x5b6128=new _0x51dbaa(bi+_0xd3854a[_0x3bd4ae(0x200)](X),{'pointsGroup':_0x2e7f9b,'fill':_0x120bba||_0x8c785f(_0xa0b366[_0x3bd4ae(0x351)],0.2),'left':_0x19c5a9,'top':_0x56217c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3bd4ae(0x276)][_0x3bd4ae(0x2a2)](_0x5b6128),this['_scene'][_0x3bd4ae(0x1c2)](_0x5b6128,_0x28a77f);}[_0x500701(0x185)](_0xc7d61c,_0x15abe8,_0x55937b,_0x4907d4){const _0x3caaa3=_0x500701,_0x302585=new _0x331b5e(_0xc7d61c)[_0x3caaa3(0x2b9)](0.2)[_0x3caaa3(0x326)](),_0x248e29=new _0x51dbaa(Ti+_0xd3854a[_0x3caaa3(0x200)](X),{'pointsGroup':_0x15abe8,'fill':_0x302585||_0x8c785f(_0xa0b366[_0x3caaa3(0x351)],0.2),'left':_0x55937b,'top':_0x4907d4,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3caaa3(0x276)][_0x3caaa3(0x2a2)](_0x248e29),this[_0x3caaa3(0x1c6)][_0x3caaa3(0x1c2)](_0x248e29,_0x28a77f);}[_0x500701(0x2fa)](_0x30279a){const _0x363ba5=_0x30279a[0x0],_0x1978f3=_0x363ba5[0x0],_0x3867cf=_0x363ba5[0x2],{x:_0x49d8a7,y:_0x33d97a}=_0x1978f3,{x:_0x2bee7c,y:_0x5e8fae}=_0x3867cf;return{'left':_0x49d8a7,'top':_0x33d97a,'width':_0x2bee7c-_0x49d8a7,'height':_0x5e8fae-_0x33d97a};}['_getScale'](){const _0x2bfb25=_0x500701,{scaleX:_0x2187ce,scaleY:_0x1f415a}=this[_0x2bfb25(0x1c6)][_0x2bfb25(0x271)]();return Math[_0x2bfb25(0x1c5)](_0x2187ce,_0x1f415a);}}var Ui=Object[_0x500701(0x248)],Mi=(_0x383ee6,_0x3a4234,_0x7d65a0,_0x4976b5)=>{for(var _0x339857=_0x4976b5>0x1?void 0x0:_0x4976b5?Ui(_0x3a4234,_0x7d65a0):_0x3a4234,_0x324ff5=_0x383ee6['length']-0x1,_0x2a4362;_0x324ff5>=0x0;_0x324ff5--)(_0x2a4362=_0x383ee6[_0x324ff5])&&(_0x339857=_0x2a4362(_0x339857)||_0x339857);return _0x339857;},Z=(_0x51ee07,_0x2e4a15)=>(_0x2c6653,_0x4c4b17)=>_0x2e4a15(_0x2c6653,_0x4c4b17,_0x51ee07);let we=class extends _0x51bb57{constructor(_0x119cbb,_0x136ea1,_0x188500,_0x29a5d2,_0x4b0e52){const _0x1f37e9=_0x500701;super(),_(this,_0x1f37e9(0x2da),[]),_(this,_0x1f37e9(0x1aa),[]),(this[_0x1f37e9(0x1e2)]=_0x119cbb,this['_docSkeletonManagerService']=_0x136ea1,this['_collabCursorController']=_0x188500,this['_commandService']=_0x29a5d2,this[_0x1f37e9(0x352)]=_0x4b0e52,this[_0x1f37e9(0x21e)]());}[_0x500701(0x21e)](){const _0x238b56=_0x500701,_0x23675a=this[_0x238b56(0x1e2)][_0x238b56(0x319)],_0x8be308=this[_0x238b56(0x1e1)];this[_0x238b56(0x226)](_0x149121([this[_0x238b56(0x20a)][_0x238b56(0x270)](_0x23675a),this[_0x238b56(0x352)][_0x238b56(0x357)]])[_0x238b56(0x323)](_0x510b8c(([_0x4fbe7e,_0x4b1d8e])=>({'skeleton':_0x8be308[_0x238b56(0x31c)](),'cursors':[..._0x4fbe7e[_0x238b56(0x1d1)]()][_0x238b56(0x2c1)](_0x2869c4=>({..._0x2869c4,'color':this['_themeService'][_0x238b56(0x2cc)](_0x2869c4[_0x238b56(0x30f)])}))})))[_0x238b56(0x320)](_0x2c2a43=>{const _0x3680a8=_0x238b56;if(this[_0x3680a8(0x355)](),_0x2c2a43){const {skeleton:_0x31482,cursors:_0x27094f}=_0x2c2a43;this[_0x3680a8(0x1c1)](_0x31482,_0x27094f);}})),this['_initResize'](),this[_0x238b56(0x2a1)]();}[_0x500701(0x1c1)](_0x6fc8a1,_0x4a9f6e){const _0x28d2e6=_0x500701,{scene:_0x5ba416,mainComponent:_0x9bd361}=this[_0x28d2e6(0x1e2)],_0x11e8d8=_0x4a9f6e[_0x28d2e6(0x1a7)](_0xf1dc4b=>new qe(_0xf1dc4b,_0x5ba416,_0x6fc8a1,_0x9bd361));this[_0x28d2e6(0x2da)]=_0x11e8d8,this[_0x28d2e6(0x1aa)]=_0x4a9f6e;}[_0x500701(0x22e)](){const _0x2d5aab=_0x500701;this[_0x2d5aab(0x355)]();const {scene:_0x109a30,mainComponent:_0x21354e}=this['_context'],_0x46bd77=this[_0x2d5aab(0x1e1)][_0x2d5aab(0x31c)](),_0x4840a=this[_0x2d5aab(0x1aa)]['map'](_0x22aaa2=>new qe(_0x22aaa2,_0x109a30,_0x46bd77,_0x21354e));this[_0x2d5aab(0x2da)]=_0x4840a;}['_removeCollabCursors'](){const _0x576f32=_0x500701;this[_0x576f32(0x2da)][_0x576f32(0x295)](_0x50dbb2=>_0x50dbb2[_0x576f32(0x1e7)]()),this[_0x576f32(0x2da)]=[];}['_initCommandExecutedListener'](){const _0x5b840a=_0x500701,_0x226a54=[_0x43d6d2['id']];this['disposeWithMe'](this[_0x5b840a(0x2b3)]['onCommandExecuted'](_0x362a63=>{const _0x14f6cd=_0x5b840a;_0x226a54[_0x14f6cd(0x1bd)](_0x362a63['id'])&&_0x362a63[_0x14f6cd(0x2cd)][_0x14f6cd(0x319)]===this['_context'][_0x14f6cd(0x319)]&&this[_0x14f6cd(0x22e)]();}));}['_initResize'](){const _0x248ece=_0x500701;this['disposeWithMe'](_0x133933(this[_0x248ece(0x1e2)][_0x248ece(0x2e5)][_0x248ece(0x26d)])[_0x248ece(0x323)](_0x46d147(_0x2b800d=>_0x2b800d[_0x248ece(0x2f5)]===_0x56f247[_0x248ece(0x1d3)]),_0x13f76c(0x10))[_0x248ece(0x320)](()=>{this['_refreshCollabCursors']();}));}};we=Mi([Z(0x1,_0x36f55a(_0x676da8)),Z(0x2,_0x36f55a(H)),Z(0x3,_0x44ae43),Z(0x4,_0x36f55a(_0x28de01))],we);const wi=0x1,Pi=1.5;class Li extends _0x1f573e{constructor(_0x55603b,_0x6e99d){const _0x3a224d=_0x500701;super(_0x55603b,_0x6e99d),_(this,_0x3a224d(0x249)),_(this,'_hovered',!0x1),_(this,_0x3a224d(0x220)),_(this,_0x3a224d(0x1f9),''),_(this,_0x3a224d(0x309),_0x3a224d(0x27c)),_(this,'_backgroundColor'),(_0x6e99d&&this[_0x3a224d(0x2e1)](_0x6e99d),this['onPointerEnter$'][_0x3a224d(0x2a4)](()=>this[_0x3a224d(0x2e1)]({'hovered':!0x0})),this[_0x3a224d(0x32c)][_0x3a224d(0x2a4)](()=>this[_0x3a224d(0x2e1)]({'hovered':!0x1})));}[_0x500701(0x2e1)](_0x441d37){const _0x1a4d37=_0x500701;var _0x3cfb08,_0x5a58bb,_0x280b99,_0x45544f,_0x3c0c63,_0x4a77ac;this['_color']=(_0x3cfb08=_0x441d37[_0x1a4d37(0x30f)])!=null?_0x3cfb08:this[_0x1a4d37(0x249)],this[_0x1a4d37(0x26b)]=(_0x5a58bb=_0x441d37[_0x1a4d37(0x336)])!=null?_0x5a58bb:this['_hovered'],this[_0x1a4d37(0x220)]=(_0x280b99=_0x441d37[_0x1a4d37(0x299)])!=null?_0x280b99:this[_0x1a4d37(0x220)],this[_0x1a4d37(0x1f9)]=(_0x45544f=_0x441d37[_0x1a4d37(0x1c7)])!=null?_0x45544f:this[_0x1a4d37(0x1f9)],this[_0x1a4d37(0x309)]=(_0x3c0c63=_0x441d37[_0x1a4d37(0x1fa)])!=null?_0x3c0c63:this[_0x1a4d37(0x309)],this[_0x1a4d37(0x307)]=(_0x4a77ac=_0x441d37[_0x1a4d37(0x2b2)])!=null?_0x4a77ac:this[_0x1a4d37(0x307)],this[_0x1a4d37(0x16c)]({'width':_0x441d37[_0x1a4d37(0x24c)],'height':_0x441d37[_0x1a4d37(0x2fd)]});}[_0x500701(0x33e)](_0x56b1fe){const _0x257014=_0x500701,{row:_0x2d868f,column:_0x1e05f0}=_0x56b1fe;if(_0x2d868f>=this[_0x257014(0x220)][_0x257014(0x231)]&&_0x2d868f<=this[_0x257014(0x220)][_0x257014(0x280)]&&_0x1e05f0>=this['_range'][_0x257014(0x1e8)]&&_0x1e05f0<=this[_0x257014(0x220)]['endColumn']){this[_0x257014(0x2e1)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x227af7){return!0x1;}['_draw'](_0x16159f){const _0x2167fa=_0x500701;_0x2fb5cd[_0x2167fa(0x279)](_0x16159f,{'width':this[_0x2167fa(0x24c)],'height':this['height'],'strokeWidth':Pi,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x2167fa(0x26b)]&&(_0x16159f[_0x2167fa(0x28f)](),_0x16159f[_0x2167fa(0x225)](0x1,0x0,0x0,0x1,this[_0x2167fa(0x24c)],this[_0x2167fa(0x309)]===_0x2167fa(0x2b4)?0x0:-0x14),he[_0x2167fa(0x279)](_0x16159f,{'text':this['_name'],'color':this[_0x2167fa(0x249)]}),_0x16159f['restore']());}}function _0x15b0(){const _0x36ea18=['_textBubble','_unitOnClients','_toggleOffline','clearInterval','text','on-line-icon','INTERNAL_ERROR','arc','href','MoveRangeCommandId','getOwnPropertyDescriptor','_color','imageSourceType','transformMutation','width','replace','size','_setupBeforeClosingHandler','_createSocketURL','symbol','displayName','on-line-icon_clip0_910_349','undoState','from','_docTransformSelectionsService','_transformHistoryAndStateStack','collabStatus.offline','url(#$1','6730878jjjTYc','currentSkeleton$','_startDocCollabCursor','INVITE_CODE_ALREADY_BOUND','_updateSubUnitFromURLParams','_scheduleClearOtherTimer','defs','PENDING','invokeId','history','transformStateCache','getCurrentUnitForType','YUUMI_NO_CUBOID_FOR_QUESTION','getCellPositionByOffset','CONNECTOR_DATA_TOO_LARGE','getDocRanges','div','_hovered','clearTimeout','onTransformChange$','closePath','unit','getCollabCursors$','getAncestorScale','_eventUnsubscribe','getMemberID','assignAColorForMemberID','collaboration-client.offline-data-not-saved','_shapes','_cursor','6024wfsGwq','drawWith','M0\x200H16V16H0z','prototype','top','LICENSE_EXPORT_SIZE_EXCEEDED','_localeService','_univerInstanceService','endRow','UniverIcon','entries','_disabled','TOO_MANY_REQUESTS','tag','UNIVER_SHEET','_updateURLWithCurrentState','removeParam','_collaborationController','urlChange$','m2Prime','getRangePointData','getItem','pushState','save','getSheetBySheetId','_revisionService','_collabCursorState$','_notificationService','addClipboardHook','forEach','SOCKET_FAILED','onPointerEnter$','_initStatusListener','range','getCurrentRevOfUnit','_setupSubUnitSync','collabStatus.fetchMiss','_initEvent','YUUMI_ALL_TABLES_IS_INVALID','_docSyncEditingCollabCursorService','newValue','_initCommandExecutedListener','push','rgba(255,\x20255,\x20255,\x200.01)','subscribeEvent','_handleJoinEvent','off-line-icon_clip0_910_343','indexOf','apply','trim','_hover','propertyIsEnumerable','2lZTrVs','_getSaveTimeout','string','set','SOCKET_FAILED_RETRY','_anchor','backgroundColor','_commandService','bottom','saveImage','RECT','addObjects','replaceDocRanges','setAlpha','fillText','_docTransformStateCacheService','debug','_drawAnchor','WECHAT_HAS_BEEN_BOUND','SNAPSHOT_HAS_BEEN_REMOVED','UNRECOGNIZED','flatMap','_entities','doc.mutation.rich-text-editing','APPLY_REVISION_CONFILICT','AWAITING_WITH_PENDING','searchParams','pluginName','http://www.w3.org/2000/svg','_assignedColors','406Uatjlp','sessionStatus$','getColorFromTheme','params','_transformService','JOIN_ROOM_FAILED','getViewport','0\x200\x2017\x2016','NOT_FOUND','_docSkeleton','isEditing','_collaborationUIEventService','_handleLeaveEvent','registerRenderModule','SYNCED','children','_cursorShapes','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','YUUMI_URL_COL_OUT_OF_RANGE','data','_startSheetCollabCursor','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','getCurrentSelections','setShapeProps','CHANGESET_REVISION_CONFILICT','univer-flex\x20univer-mr-2\x20univer-text-xl','/run/','engine','_hideTimer','createInstance','getConfig','subUnitId','#FFF','replaceState','_colorAssignService','whenReady','_roomMembers$','onLocalMutation','_clearOtherTimers','collabStatus.notCollab','INVALID_INVITE_CODE','setStateCache','NO_OTHER_CLIENTS_EDITING','type','_docTransformIMECacheService','sessionTicket','UNDEFINED','m1Prime','_getAnchorBounding','some','InsertRangeMoveRightCommandId','height','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_sheetSkeletonManagerService','_getScale','unitID','moveTo','getMember','concat','SUBMIT_CHANGESET_TIMEOUT','Unknown\x20user','_backgroundColor','collabCursorState$','_labelPosition','COMPLETION_FINISHED','collab-client.tooltip.reconnect','PY_RUNTIME_SCRIPT_ERROR','setUndoRedoMutationParamsCache','getMergeData','color','dispose$','unload','saveOfflineData','reconnect','attrs','_messageService','yellow.400','YUUMI_SUBSCRIPTION_NOT_FOUND','_saveCache','unitId','fill','idSuffix','getSkeleton','_selfUnitIDs','collab-text-range-','substring','subscribe','textRanges','YUUMI_AI_RUN_FAILED','pipe','status$','INVITE_CODE_HAS_BEEN_UES','toRgbString','CONFLICT','_handleHover','unsubscribe','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_logService','onPointerLeave$','session.collaboration-timeout','_updateLocalCursor','fillStyle','FromArray','all','_dataLoaderService','none','xlink:href','_configService','hovered','onCommandExecuted','isActive','onStarting','_getMergeRange','permission.content','docStateChange$','override','onMouseMove','getFocusedUnit','_getSheetObject','transformRemoteChangeset','YUUMI_ASYNCIO_CANCELLED','_unitStatus','location','collaboration-client-ui.config','_toggleOnline','_render','roomMembers','setParam','key','enableLocalCache','LOGIN_FAILED','YUUMI_RATE_OVER_LIMIT','eventID','activeSheet$','runId','black','_themeService','MOBILE_HAS_BEEN_BOUND','YUUMI_UNABLE_LOAD_URL','_removeCollabCursors','unshift','currentTheme$','_ensureSubject','_session','className','collabStatus.conflict','PERMISSION_DENIED','INVALID_ARGUMENT','event$','getActiveRange','exhaustSavingTask','OTHER_CLIENTS_EDITING','10hwyneT','_onCursorDelete','USER_NOT_INVITED_CODE','red.300','setConfig','extend','getOffsetConfig','getTypeOfUnitAdded$','3507084wcjxtK','column','session.will-retry','transformByState','send','1em','lineTo','_removeClearOtherTimer','getParam','univerjs-icon\x20univerjs-icon-','_scheduleSaving','ONLINE','ranges','getCurrent','getUnitStatus$','getTypeOfUnitDisposed$','cursorInfo','findNodePositionByCharIndex','_initDependencies','getOwnPropertySymbols','restore','...','OTHER_CLIENT_EDITING','show','_drawTextRange','_renderManagerService','clipPath','APPLY_PERMISSION_DENIED','_drawRectRange','InsertRowCommandId','roomMembers$','_handleHeartbeatEvent','_online','_urlService','VIEW_MAIN','hide','mask','_registerRenderDependencies','makeDirty','_onCursorUpdate','_initStatusComponent','HEADER_MENU','_colorIndex','icon','blue.400','cursorInfo$','_status$','_collabSessionService','SNAPSHOT_INVALID_SNAPSHOT','transformSelections','315731ACocZL','MUTATION','search','Failed','YUUMI_TABLE_NOT_FOUND_IN_UNIT','popstate','_id','get','UNAUTHENTICATED','_injector','_docClipboardService','measureText','map','getValue','colorChannel1','_cursors','UPDATE_CURSOR','NOT_COLLAB','registerBeforeClose','2609562LeNtSj','syncEditingCollabCursor','find','assign','_instanceService','isArray','defineProperty','onRendered','application/json','_syncEditingCollabCursorService','APPLY_DUPLICATED','collaboration.single-unit.warning','collabStatus.synced','UNIVER_DOC','ACTIVE_UNIT_EVENT_CHANNEL','includes','_memberService','permission.title','AWAITING','_updateCollabCursors','addObject','add','deepClone','max','_scene','name','subunit','next','ALREADY_EXISTS','has','white','loadUnit','_send','_cursorInfo$','call','values','path','resize','defIds','_registerDependencies','_localStorageService','complete','TEXT','_docStateChangeManagerService','transformIMECache','executeCommand','with','getRelativeToViewportCoord','APPLY_REJECT','origin','split','_docSkeletonManagerService','_context','init','registerRefRange','round','hasOwnProperty','dispose','startColumn','2224310Gwilwg','then','error','disposeUnit','_heartbeatTimer','off-line-icon','editingUnit','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','registerComponent','random','CLOSE_ROOM','_scheduleHeartbeat','toString','translate(.97)','selection','mutations','_name','labelPosition','asObservable','USERS_LEAVE','redoState','LICENSE_DISTRO_REJECTED','InsertRangeMoveDownCommandId','generateRandomId','currentColor','0\x200\x2016\x2016','stringify','delete','collaboration.closeRoom','LICENSE_MAX_UNITS_EXCEEDED','_config','url(#on-line-icon_clip0_910_349)','skeleton','_collabCursorController','_entityInit$','min','svg','uni.network.url-service','_refRangeService','ENSURE_SNAPSHOT_EXECUTION','LICENSE_IMPORT_SIZE_EXCEEDED','_imageIoService','selections','url(#off-line-icon_clip0_910_343)','getUnitId','body','10264707dOaThN','evenodd','INVITE_CODE_REQUIRED','_uiPartsService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_localCacheService','APPLY_NON_SEQUENTIAL_REVISION','_init','_handleEvent','_range','setItem','getActiveSheet','_cachedData','current','transform','disposeWithMe','_getSessionTicket','_anchorDot','getRenderById','_beforeCloseService','DeleteRangeMoveLeftCommandId','Warning','getCollabEntity$','_refreshCollabCursors','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_lastPointer','startRow','green.600','getSheetId','length','Error','_onRefRangeChange','_saveTaskMap','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','startsWith','_transformPreviousActiveRange','_transformUndoRedoStack','_initEntityListener','[CollaborationDataLoaderController]'];_0x15b0=function(){return _0x36ea18;};return _0x15b0();}var Ai=Object[_0x500701(0x248)],yi=(_0xa00242,_0x258b26,_0xd422bf,_0x44225f)=>{for(var _0x291ee2=_0x44225f>0x1?void 0x0:_0x44225f?Ai(_0x258b26,_0xd422bf):_0x258b26,_0x10d8f2=_0xa00242['length']-0x1,_0x47dc94;_0x10d8f2>=0x0;_0x10d8f2--)(_0x47dc94=_0xa00242[_0x10d8f2])&&(_0x291ee2=_0x47dc94(_0x291ee2)||_0x291ee2);return _0x291ee2;},ve=(_0x41daa0,_0x3f63d8)=>(_0x167f7f,_0x5cb713)=>_0x3f63d8(_0x167f7f,_0x5cb713,_0x41daa0);const $i=0x1389;let Pe=class extends _0x51bb57{constructor(_0x565874,_0x78d550,_0x40c04e,_0x4f9418){const _0x5018f3=_0x500701;super(),_(this,_0x5018f3(0x1aa),new Set()),_(this,'_lastPointer',null),(this[_0x5018f3(0x1e2)]=_0x565874,this[_0x5018f3(0x2ff)]=_0x78d550,this[_0x5018f3(0x20a)]=_0x40c04e,this[_0x5018f3(0x352)]=_0x4f9418,this[_0x5018f3(0x21e)]());}[_0x500701(0x21e)](){const _0xadb4f0=_0x500701;this[_0xadb4f0(0x2ff)][_0xadb4f0(0x25b)]['pipe'](_0x567b06(this['dispose$']),_0x4284f1(_0x3d6019=>{const _0x53f66a=_0xadb4f0;if(_0x3d6019){const _0x1511f5=_0x3d6019['sheetId'];return _0x149121(this['_collabCursorController']['getCollabCursors$'](this['_context']['unitId']),this[_0x53f66a(0x352)]['currentTheme$'])[_0x53f66a(0x323)](_0x510b8c(([_0x42ba8d,_0x2ca257])=>{const _0x52d36d=new Map();return _0x42ba8d['forEach']((_0x329e9a,_0x8150f1)=>{const _0x127e8f=_0x201c;if(_0x329e9a['sheetID']===_0x1511f5){const _0x50ac24={..._0x329e9a};_0x50ac24[_0x127e8f(0x30f)]=this[_0x127e8f(0x352)]['getColorFromTheme'](_0x329e9a[_0x127e8f(0x30f)]),_0x52d36d[_0x127e8f(0x2af)](_0x8150f1,_0x50ac24);}}),{'skeleton':_0x3d6019,'cursors':_0x52d36d};}));}return _0x40f510({'skeleton':null,'cursors':new Map()});}))[_0xadb4f0(0x320)](({skeleton:_0xf3a7fd,cursors:_0x35d5b0})=>{const _0x5fec15=_0xadb4f0;this[_0x5fec15(0x355)](),_0xf3a7fd&&this['_updateCollabCursors'](_0xf3a7fd,_0x35d5b0);}),this[_0xadb4f0(0x2ff)]['currentSkeleton$']['subscribe'](_0x3e10ae=>{const _0x5f4077=_0xadb4f0;if(_0x3e10ae==null)return;const {skeleton:_0x3aa73d}=_0x3e10ae,{scene:_0x2baf80}=this[_0x5f4077(0x1e2)];_0x2baf80['onPointerMove$'][_0x5f4077(0x2a4)](_0x270191(_0x4f34a8=>{const _0x406784=_0x5f4077;var _0x55d087,_0x462436;const {offsetX:_0x5602fd,offsetY:_0x1a2666}=_0x4f34a8,{x:_0x45fed1,y:_0x4c370c}=_0x2baf80[_0x406784(0x1dd)](_0xe085c2[_0x406784(0x330)]([_0x5602fd,_0x1a2666])),{scaleX:_0x207ed7,scaleY:_0x281143}=_0x2baf80[_0x406784(0x271)](),_0x402973=_0x2baf80[_0x406784(0x2d0)](_0x1bfa2b[_0x406784(0x18b)]),_0x14a389=_0x2baf80['getVpScrollXYInfoByPosToVp'](_0xe085c2[_0x406784(0x330)]([_0x45fed1,_0x4c370c]),_0x402973),_0x17c578=_0x3aa73d[_0x406784(0x267)](_0x5602fd,_0x1a2666,_0x207ed7,_0x281143,_0x14a389);((_0x55d087=this[_0x406784(0x230)])==null?void 0x0:_0x55d087['column'])===_0x17c578[_0x406784(0x16a)]&&((_0x462436=this[_0x406784(0x230)])==null?void 0x0:_0x462436['row'])===_0x17c578['row']||this[_0x406784(0x1aa)][_0x406784(0x295)](_0x3f1fdd=>{const _0x498713=_0x406784;_0x3f1fdd[_0x498713(0x33e)](_0x17c578);});},0x64));});}[_0x500701(0x1c1)](_0x4a5d68,_0x1b83fa){const _0x48baf7=_0x500701;var _0x43df9c;const _0x395f65=(_0x43df9c=this[_0x48baf7(0x2ff)][_0x48baf7(0x176)]())==null?void 0x0:_0x43df9c[_0x48baf7(0x209)];if(!_0x395f65)return;const _0x44465a=this[_0x48baf7(0x340)]();if(!_0x44465a)return;this[_0x48baf7(0x1aa)][_0x48baf7(0x295)](_0x5b68c6=>{const _0x521276=_0x48baf7;_0x5b68c6[_0x521276(0x18f)]();});const {scene:_0x3bc466}=_0x44465a,_0x48eaa3=xi(Array[_0x48baf7(0x255)](_0x1b83fa[_0x48baf7(0x1d1)]()))['map'](_0x47f6a5=>{const {color:_0x211bef,range:_0x314203,name:_0x1ca5c5,selection:_0x52897d,sheetID:_0x56069f}=_0x47f6a5,{startColumn:_0x57f9f1,startRow:_0x402728,endColumn:_0x282b48,endRow:_0x20855c}=_0x314203,_0x502b8a=_0x119062(_0x402728,_0x57f9f1,_0x3bc466,_0x395f65),_0x4d8d35=_0x119062(_0x20855c,_0x282b48,_0x3bc466,_0x395f65),{columnHeaderHeightAndMarginTop:_0x35a248}=_0x395f65,{startX:_0x4ff845,startY:_0x4ada7d}=_0x502b8a,{endX:_0x4acb69,endY:_0x55177f}=_0x4d8d35,_0x154df2=_0x4acb69-_0x4ff845,_0xd6eb8a=_0x55177f-_0x4ada7d,_0xf5fc52={'labelPosition':_0x4ada7d-_0x35a248>=ee?'top':'bottom','sheetID':_0x56069f,'range':_0x314203,'color':_0x211bef,'name':_0x1ca5c5,'selection':_0x52897d,'left':_0x4ff845,'top':_0x4ada7d,'width':_0x154df2,'height':_0xd6eb8a,'evented':!0x1,'zIndex':$i};return new Li(_0x1ca5c5,_0xf5fc52);});_0x3bc466[_0x48baf7(0x2b7)](_0x48eaa3,wi),this[_0x48baf7(0x1aa)]=new Set(_0x48eaa3);}[_0x500701(0x355)](){const _0x1ec944=_0x500701;var _0x1086b7;(_0x1086b7=this[_0x1ec944(0x1aa)])==null||_0x1086b7[_0x1ec944(0x295)](_0x49cafb=>_0x49cafb[_0x1ec944(0x1e7)]());}[_0x500701(0x340)](){const _0x5649d3=_0x500701;return _0x12664d(this[_0x5649d3(0x1e2)][_0x5649d3(0x26f)],this['_context']);}};Pe=yi([ve(0x1,_0x36f55a(_0x2608ff)),ve(0x2,_0x36f55a(H)),ve(0x3,_0x36f55a(_0x28de01))],Pe);function xi(_0x578e64){const _0x25f674=_0x500701,_0x1d6069=new Map();return _0x578e64[_0x25f674(0x295)](_0x5e8198=>{const _0x569bd6=_0x25f674;if(_0x1d6069[_0x569bd6(0x1cb)](_0x5e8198[_0x569bd6(0x1f7)])){const _0x4eb57e=_0x1d6069['get'](_0x5e8198[_0x569bd6(0x1f7)]);_0x4eb57e[_0x569bd6(0x1c7)]+=',\x20'+_0x5e8198[_0x569bd6(0x1c7)];}else _0x1d6069[_0x569bd6(0x2af)](_0x5e8198[_0x569bd6(0x1f7)],_0x5e8198);}),Array[_0x25f674(0x255)](_0x1d6069[_0x25f674(0x1d1)]());}var v=function(){const _0x5836e8=_0x500701;return v=Object[_0x5836e8(0x1b1)]||function(_0x55b750){const _0x991d5a=_0x5836e8;for(var _0x2ae1c0,_0x27ec13=0x1,_0x76169e=arguments[_0x991d5a(0x234)];_0x27ec13<_0x76169e;_0x27ec13++){_0x2ae1c0=arguments[_0x27ec13];for(var _0x1e2745 in _0x2ae1c0)Object[_0x991d5a(0x27b)][_0x991d5a(0x1e6)][_0x991d5a(0x1d0)](_0x2ae1c0,_0x1e2745)&&(_0x55b750[_0x1e2745]=_0x2ae1c0[_0x1e2745]);}return _0x55b750;},v[_0x5836e8(0x2a8)](this,arguments);},Bi=function(_0x21b87f,_0x2f5049){const _0x16936b=_0x500701;var _0x14f22e={};for(var _0x37204b in _0x21b87f)Object[_0x16936b(0x27b)][_0x16936b(0x1e6)][_0x16936b(0x1d0)](_0x21b87f,_0x37204b)&&_0x2f5049[_0x16936b(0x2a7)](_0x37204b)<0x0&&(_0x14f22e[_0x37204b]=_0x21b87f[_0x37204b]);if(_0x21b87f!=null&&typeof Object[_0x16936b(0x17c)]=='function'){for(var _0x30ea8c=0x0,_0x37204b=Object[_0x16936b(0x17c)](_0x21b87f);_0x30ea8c<_0x37204b[_0x16936b(0x234)];_0x30ea8c++)_0x2f5049[_0x16936b(0x2a7)](_0x37204b[_0x30ea8c])<0x0&&Object[_0x16936b(0x27b)][_0x16936b(0x2ab)][_0x16936b(0x1d0)](_0x21b87f,_0x37204b[_0x30ea8c])&&(_0x14f22e[_0x37204b[_0x30ea8c]]=_0x21b87f[_0x37204b[_0x30ea8c]]);}return _0x14f22e;},je=_0x45d79(function(_0x360318,_0x4a79a1){const _0x51a791=_0x500701;var _0x1c8688=_0x360318[_0x51a791(0x194)],_0x40be5c=_0x360318['id'],_0x5dac60=_0x360318[_0x51a791(0x35a)],_0x4fade3=_0x360318[_0x51a791(0x166)],_0x20f745=Bi(_0x360318,[_0x51a791(0x194),'id','className','extend']),_0x5fd4f7=_0x51a791(0x172)[_0x51a791(0x304)](_0x40be5c,'\x20')['concat'](_0x5dac60||'')[_0x51a791(0x2a9)](),_0x883b38=_0x2f8c55('_'[_0x51a791(0x304)](ji()));return Rt(_0x1c8688,''[_0x51a791(0x304)](_0x40be5c),{'defIds':_0x1c8688['defIds'],'idSuffix':_0x883b38[_0x51a791(0x224)]},v({'ref':_0x4a79a1,'className':_0x5fd4f7},_0x20f745),_0x4fade3);});function Rt(_0x40d862,_0x1adaf7,_0x228b9a,_0x2dcb76,_0x17ac5f){const _0x233fcd=_0x500701;return _0x247d46(_0x40d862['tag'],v(v({'key':_0x1adaf7},ki(_0x40d862,_0x228b9a,_0x17ac5f)),_0x2dcb76),(Hi(_0x40d862,_0x228b9a)[_0x233fcd(0x2d9)]||[])[_0x233fcd(0x1a7)](function(_0x238c3d,_0x505241){const _0xffcb9b=_0x233fcd;return Rt(_0x238c3d,''[_0xffcb9b(0x304)](_0x1adaf7,'-')[_0xffcb9b(0x304)](_0x40d862[_0xffcb9b(0x285)],'-')[_0xffcb9b(0x304)](_0x505241),_0x228b9a,void 0x0,_0x17ac5f);}));}function ki(_0x18c604,_0x2ef3a7,_0x450268){const _0x45d19e=_0x500701;var _0x58f59b=v({},_0x18c604[_0x45d19e(0x314)]);_0x450268!=null&&_0x450268[_0x45d19e(0x1a9)]&&_0x58f59b['fill']===_0x45d19e(0x1a9)&&(_0x58f59b[_0x45d19e(0x31a)]=_0x450268[_0x45d19e(0x1a9)]),_0x18c604[_0x45d19e(0x285)]===_0x45d19e(0x18d)&&_0x58f59b['id']&&(_0x58f59b['id']=_0x58f59b['id']+_0x2ef3a7[_0x45d19e(0x31b)]),Object[_0x45d19e(0x282)](_0x58f59b)[_0x45d19e(0x295)](function(_0x233e7e){const _0x379131=_0x45d19e;var _0x400e2e=_0x233e7e[0x0],_0xeaa65d=_0x233e7e[0x1];_0x400e2e===_0x379131(0x18d)&&typeof _0xeaa65d==_0x379131(0x2ae)&&(_0x58f59b[_0x400e2e]=_0xeaa65d[_0x379131(0x24d)](/url\(#(.*)\)/,_0x379131(0x259)[_0x379131(0x304)](_0x2ef3a7[_0x379131(0x31b)],')')));});var _0x453681=_0x2ef3a7['defIds'];return!_0x453681||_0x453681[_0x45d19e(0x234)]===0x0||(_0x18c604[_0x45d19e(0x285)]==='use'&&_0x58f59b[_0x45d19e(0x334)]&&(_0x58f59b[_0x45d19e(0x334)]=_0x58f59b[_0x45d19e(0x334)]+_0x2ef3a7[_0x45d19e(0x31b)]),Object[_0x45d19e(0x282)](_0x58f59b)[_0x45d19e(0x295)](function(_0x20bb2e){const _0xcd2534=_0x45d19e;var _0x5cd2ed=_0x20bb2e[0x0],_0x52ec29=_0x20bb2e[0x1];typeof _0x52ec29=='string'&&(_0x58f59b[_0x5cd2ed]=_0x52ec29['replace'](/url\(#(.*)\)/,'url(#$1'[_0xcd2534(0x304)](_0x2ef3a7['idSuffix'],')')));})),_0x58f59b;}function Hi(_0x379f42,_0x30cb8c){const _0x2f556f=_0x500701;var _0x497081,_0x56b619=_0x30cb8c[_0x2f556f(0x1d4)];return!_0x56b619||_0x56b619[_0x2f556f(0x234)]===0x0?_0x379f42:_0x379f42[_0x2f556f(0x285)]===_0x2f556f(0x260)&&(!((_0x497081=_0x379f42[_0x2f556f(0x2d9)])===null||_0x497081===void 0x0)&&_0x497081[_0x2f556f(0x234)])?v(v({},_0x379f42),{'children':_0x379f42['children'][_0x2f556f(0x1a7)](function(_0x4cea66){const _0x45393a=_0x2f556f;return typeof _0x4cea66[_0x45393a(0x314)]['id']=='string'&&_0x56b619&&_0x56b619[_0x45393a(0x1bd)](_0x4cea66[_0x45393a(0x314)]['id'])?v(v({},_0x4cea66),{'attrs':v(v({},_0x4cea66['attrs']),{'id':_0x4cea66[_0x45393a(0x314)]['id']+_0x30cb8c[_0x45393a(0x31b)]})}):_0x4cea66;})}):_0x379f42;}function ji(){const _0x47b867=_0x500701;return Math[_0x47b867(0x1f2)]()[_0x47b867(0x1f5)](0x24)[_0x47b867(0x31f)](0x2,0x8);}je[_0x500701(0x252)]=_0x500701(0x281);var Yi={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x500701(0x333),'viewBox':_0x500701(0x202),'width':_0x500701(0x16e),'height':_0x500701(0x16e)},'children':[{'tag':'g','attrs':{'clipPath':_0x500701(0x214)},'children':[{'tag':_0x500701(0x1d2),'attrs':{'stroke':_0x500701(0x201),'d':_0x500701(0x2db),'strokeLinecap':_0x500701(0x1e5),'strokeLinejoin':_0x500701(0x1e5),'strokeWidth':1.2}}]},{'tag':_0x500701(0x260),'attrs':{},'children':[{'tag':_0x500701(0x183),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x500701(0x1d2),'attrs':{'fill':'white','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x500701(0x2a6)]},Dt=_0x45d79(function(_0xbd22b0,_0x1ce4b1){const _0x2d96f1=_0x500701;return _0x247d46(je,Object[_0x2d96f1(0x1b1)]({},_0xbd22b0,{'id':_0x2d96f1(0x1ee),'ref':_0x1ce4b1,'icon':Yi}));});Dt['displayName']='OffLineIcon';var Fi={'tag':_0x500701(0x20d),'attrs':{'xmlns':_0x500701(0x2c8),'fill':_0x500701(0x333),'viewBox':_0x500701(0x2d1),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x500701(0x208)},'children':[{'tag':_0x500701(0x1d2),'attrs':{'stroke':_0x500701(0x201),'d':_0x500701(0x2df),'strokeLinecap':_0x500701(0x1e5),'strokeLinejoin':_0x500701(0x1e5),'strokeWidth':1.2}}]},{'tag':_0x500701(0x260),'attrs':{},'children':[{'tag':_0x500701(0x183),'attrs':{'id':_0x500701(0x253)},'children':[{'tag':'path','attrs':{'fill':_0x500701(0x1cc),'d':_0x500701(0x27a),'transform':_0x500701(0x1f6)}}]}]}],'defIds':[_0x500701(0x253)]},Nt=_0x45d79(function(_0x550533,_0x12372b){const _0x1f4355=_0x500701;return _0x247d46(je,Object['assign']({},_0x550533,{'id':_0x1f4355(0x243),'ref':_0x12372b,'icon':Fi}));});Nt[_0x500701(0x252)]='OnLineIcon';function Wi(_0x11c25d){const _0xaf5c67=_0x500701;switch(_0x11c25d){case _0x3b52bb['OFFLINE']:return _0xaf5c67(0x258);case _0x3b52bb['CONFLICT']:return _0xaf5c67(0x15a);case _0x3b52bb['FETCH_MISS']:return _0xaf5c67(0x29c);case _0x3b52bb['NOT_COLLAB']:return _0xaf5c67(0x2f1);case _0x3b52bb[_0xaf5c67(0x1c0)]:case _0x3b52bb[_0xaf5c67(0x2c5)]:return'collabStatus.syncing';case _0x3b52bb[_0xaf5c67(0x2d8)]:case _0x3b52bb[_0xaf5c67(0x261)]:return _0xaf5c67(0x1ba);}}function Vi(_0x1cc187){const _0x1505c3=_0x500701,{status$:_0x560657}=_0x1cc187,_0xf359a7=_0x3496cb(_0x560657,_0x3b52bb[_0x1505c3(0x1ac)]),_0x593ae6=_0x6eba92(_0x52ac5b),_0x1db3ae=_0x6eba92(_0x1d5bd3),_0x5b50a9=_0xf359a7!==_0x3b52bb['OFFLINE'],_0x4963a9=_0x593ae6['t'](Wi(_0xf359a7)),_0x43393b=_0x5b50a9?_0x35442b(Nt,{}):_0x35442b(Dt,{}),_0x5476b3=_0x5228ad(()=>{const _0x1595e9=_0x1505c3;_0x5b50a9||_0x1db3ae[_0x1595e9(0x313)]();},[_0x5b50a9,_0x1db3ae]);function _0x2613fb(){const _0x2ab169=_0x1505c3;return _0xeee65(_0x2ab169(0x26a),{'className':'univer-flex\x20univer-items-center','onClick':_0x5476b3,'children':[_0x35442b('div',{'className':_0x2b6929(_0x2ab169(0x2e3),{'univer-text-green-500':_0x5b50a9,'univer-text-red-500':!_0x5b50a9}),'children':_0x43393b}),_0x35442b(_0x2ab169(0x26a),{'className':_0x2ab169(0x22f),'children':_0x4963a9})]});}return _0x5b50a9?_0x2613fb():_0x35442b(_0xd930f0,{'title':_0x593ae6['t'](_0x1505c3(0x30b)),'children':_0x2613fb()});}var Xi=Object[_0x500701(0x248)],Gi=(_0x5a5028,_0x1161b5,_0x15f57c,_0x523e2a)=>{const _0x5d2378=_0x500701;for(var _0x51b355=_0x523e2a>0x1?void 0x0:_0x523e2a?Xi(_0x1161b5,_0x15f57c):_0x1161b5,_0x2e4f5b=_0x5a5028[_0x5d2378(0x234)]-0x1,_0x5eb979;_0x2e4f5b>=0x0;_0x2e4f5b--)(_0x5eb979=_0x5a5028[_0x2e4f5b])&&(_0x51b355=_0x5eb979(_0x51b355)||_0x51b355);return _0x51b355;},Q=(_0x26e74f,_0x320ed0)=>(_0x3772a6,_0x59b126)=>_0x320ed0(_0x3772a6,_0x59b126,_0x26e74f);let te=class extends _0xbdf073{constructor(_0x18706f,_0x10731c,_0x2e4589,_0x403b0){const _0xacb02f=_0x500701;super(),_(this,_0xacb02f(0x197),new _0x5a7c5d(_0x3b52bb[_0xacb02f(0x1ac)])),(this[_0xacb02f(0x27f)]=_0x18706f,this[_0xacb02f(0x1a4)]=_0x10731c,this[_0xacb02f(0x289)]=_0x2e4589,this['_uiPartsService']=_0x403b0,this['_initStatusComponent'](),this[_0xacb02f(0x298)]());}[_0x500701(0x298)](){const _0x5dd298=_0x500701;this['disposeWithMe'](this[_0x5dd298(0x27f)]['focused$'][_0x5dd298(0x323)](_0x161e64(()=>{const _0x2c4c5e=_0x5dd298,_0x39f504=this['_univerInstanceService']['getFocusedUnit']();return _0x39f504?this['_collaborationController'][_0x2c4c5e(0x22d)](_0x39f504[_0x2c4c5e(0x215)]()):_0x40f510(null);}),_0x161e64(_0x4f7d76=>_0x4f7d76?_0x4f7d76[_0x5dd298(0x324)]:_0x40f510(_0x3b52bb[_0x5dd298(0x1ac)])))[_0x5dd298(0x320)](_0x4383db=>{const _0x11559e=_0x5dd298;this['_status$'][_0x11559e(0x1c9)](_0x4383db);}));}[_0x500701(0x191)](){const _0x3259b9=_0x500701;this['disposeWithMe'](this[_0x3259b9(0x21a)][_0x3259b9(0x1f1)](_0x5a7bb1[_0x3259b9(0x192)],()=>_0x4ad499(Ki({'status$':this[_0x3259b9(0x197)][_0x3259b9(0x1fb)]()}),this[_0x3259b9(0x1a4)])));}};te=Gi([Q(0x0,_0x3a01ed),Q(0x1,_0x36f55a(_0x524dc3)),Q(0x2,_0x36f55a(_0x56ded8)),Q(0x3,_0x2bab1c)],te);function Ki(_0x849efa){const {status$:_0x4d1b70}=_0x849efa;return function(){return _0x35442b(Vi,{'status$':_0x4d1b70});};}var zi=Object[_0x500701(0x248)],Ji=(_0x554ce8,_0x3d4251,_0x3cce0a,_0x214e22)=>{const _0x2f59a6=_0x500701;for(var _0x9d493a=_0x214e22>0x1?void 0x0:_0x214e22?zi(_0x3d4251,_0x3cce0a):_0x3d4251,_0x15374f=_0x554ce8[_0x2f59a6(0x234)]-0x1,_0xd7eb40;_0x15374f>=0x0;_0x15374f--)(_0xd7eb40=_0x554ce8[_0x15374f])&&(_0x9d493a=_0xd7eb40(_0x9d493a)||_0x9d493a);return _0x9d493a;},B=(_0x2ca094,_0x12f257)=>(_0x930e70,_0xf6d1fe)=>_0x12f257(_0x930e70,_0xf6d1fe,_0x2ca094);let se=class extends _0xbdf073{constructor(_0x376c52,_0x51c9be,_0x240196,_0x49fd42,_0x3c42c7,_0x49fbdf){const _0x33f708=_0x500701;super(),this['_beforeCloseService']=_0x376c52,this[_0x33f708(0x21c)]=_0x51c9be,this[_0x33f708(0x2d5)]=_0x240196,this[_0x33f708(0x315)]=_0x49fd42,this[_0x33f708(0x293)]=_0x3c42c7,this[_0x33f708(0x27e)]=_0x49fbdf,this[_0x33f708(0x24f)](),this[_0x33f708(0x29d)]();}['_setupBeforeClosingHandler'](){const _0x3993dc=_0x500701;this[_0x3993dc(0x226)](this[_0x3993dc(0x22a)][_0x3993dc(0x1ad)](()=>{const _0x467486=_0x3993dc;if(this['_localCacheService']['saveTaskMap']['size'])return this[_0x467486(0x27e)]['t'](_0x467486(0x275));}));}[_0x500701(0x29d)](){const _0x1eec3c=_0x500701;this[_0x1eec3c(0x226)](this['_collaborationUIEventService']['event$'][_0x1eec3c(0x320)](_0x5a5ad1=>{const _0x5d7d03=_0x1eec3c;_0x5a5ad1['id']===_0xddb0f4[_0x5d7d03(0x17f)]&&this[_0x5d7d03(0x315)][_0x5d7d03(0x180)]({'type':_0x51a21e[_0x5d7d03(0x22c)],'content':this[_0x5d7d03(0x27e)]['t'](_0x5d7d03(0x1b9))}),_0x5a5ad1['id']===_0xddb0f4[_0x5d7d03(0x1f3)]&&this[_0x5d7d03(0x315)][_0x5d7d03(0x180)]({'type':_0x51a21e['Warning'],'content':this[_0x5d7d03(0x27e)]['t'](_0x5d7d03(0x205))}),_0x5a5ad1['id']===_0xddb0f4[_0x5d7d03(0x15b)]&&this[_0x5d7d03(0x293)][_0x5d7d03(0x180)]({'title':this[_0x5d7d03(0x27e)]['t'](_0x5d7d03(0x1bf)),'content':this[_0x5d7d03(0x27e)]['t'](_0x5d7d03(0x33b)),'type':'error','duration':0x0}),_0x5a5ad1['id']===_0xddb0f4[_0x5d7d03(0x327)]&&this[_0x5d7d03(0x315)]['show']({'type':_0x51a21e[_0x5d7d03(0x235)],'content':this['_localeService']['t'](_0x5d7d03(0x205))+'('+_0x5a5ad1[_0x5d7d03(0x2dd)]+')'}),_0x5a5ad1['id']===_0xddb0f4[_0x5d7d03(0x2cf)]&&this[_0x5d7d03(0x315)][_0x5d7d03(0x180)]({'type':_0x51a21e[_0x5d7d03(0x22c)],'content':this[_0x5d7d03(0x27e)]['t'](_0x5a5ad1[_0x5d7d03(0x2dd)]||'')}),_0x5a5ad1['id']===_0xddb0f4[_0x5d7d03(0x2b0)]&&this[_0x5d7d03(0x315)][_0x5d7d03(0x180)]({'type':_0x51a21e[_0x5d7d03(0x22c)],'content':this['_localeService']['t'](_0x5d7d03(0x16b))}),_0x5a5ad1['id']===_0xddb0f4[_0x5d7d03(0x296)]&&this[_0x5d7d03(0x315)][_0x5d7d03(0x180)]({'type':_0x51a21e[_0x5d7d03(0x235)],'content':this[_0x5d7d03(0x27e)]['t']('session.connection-failed')}),_0x5a5ad1['id']===_0xddb0f4[_0x5d7d03(0x305)]&&this[_0x5d7d03(0x315)][_0x5d7d03(0x180)]({'type':_0x51a21e['Error'],'content':this['_localeService']['t'](_0x5d7d03(0x32d))});}));}};se=Ji([B(0x0,_0x31834d),B(0x1,_0x42439c),B(0x2,_0x36f55a(_0x3dfa7b)),B(0x3,_0x13a97a),B(0x4,_0x5af6e2),B(0x5,_0x36f55a(_0x52ac5b))],se);const Zi=_0x500701(0x345),et={},Ut=_0x41e36e(_0x500701(0x20e));var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x18e788,_0x1d8b84,_0xae3f87,_0x45c162)=>{const _0x1451da=_0x500701;for(var _0x529166=_0x45c162>0x1?void 0x0:_0x45c162?Qi(_0x1d8b84,_0xae3f87):_0x1d8b84,_0x1a88ac=_0x18e788[_0x1451da(0x234)]-0x1,_0x326bed;_0x1a88ac>=0x0;_0x1a88ac--)(_0x326bed=_0x18e788[_0x1a88ac])&&(_0x529166=_0x326bed(_0x529166)||_0x529166);return _0x529166;},G=(_0x1994e7,_0x5eec10)=>(_0x5c7fe5,_0x3bd7b1)=>_0x5eec10(_0x5c7fe5,_0x3bd7b1,_0x1994e7);let ie=class extends _0x51bb57{constructor(_0x33cd28,_0x10756f,_0x22d1e6,_0x3dca71,_0x2215fe){const _0x508243=_0x500701;super(),this[_0x508243(0x18a)]=_0x33cd28,this[_0x508243(0x32b)]=_0x10756f,this[_0x508243(0x2b3)]=_0x22d1e6,this[_0x508243(0x332)]=_0x3dca71,_0x2215fe?_0x2215fe==null||_0x2215fe[_0x508243(0x2ed)]()['then'](()=>this['_init']()):(this[_0x508243(0x32b)][_0x508243(0x2bc)](_0x508243(0x23d),_0x508243(0x1f0)),this[_0x508243(0x21e)]());}async[_0x500701(0x21e)](){const _0x469a99=_0x500701,_0x2c2e26=this[_0x469a99(0x18a)]['getParam'](_0x469a99(0x26f)),_0x2b2695=this['_urlService'][_0x469a99(0x171)](_0x469a99(0x2f5)),_0x2b50a6=this['_urlService'][_0x469a99(0x171)](_0x469a99(0x1c8));if(!_0x2c2e26||!_0x2b2695){this[_0x469a99(0x32b)][_0x469a99(0x2bc)](_0x469a99(0x23d),_0x469a99(0x21b));return;}const _0x58886a=await this[_0x469a99(0x332)][_0x469a99(0x1cd)](_0x2c2e26,Number(_0x2b2695),_0x2b50a6);_0x58886a&&_0x58886a instanceof _0x4ba6e7&&this['_setupSubUnitSync'](_0x58886a);}async[_0x500701(0x29b)](_0x15733a){const _0x24a1ca=_0x500701;await this[_0x24a1ca(0x25e)](_0x15733a),_0x15733a[_0x24a1ca(0x34f)][_0x24a1ca(0x323)](_0x13f70a(this['dispose$']))['subscribe'](_0x36c287=>{const _0x15a73d=_0x24a1ca;_0x36c287&&this[_0x15a73d(0x287)](_0x36c287);}),this[_0x24a1ca(0x18a)][_0x24a1ca(0x28a)]['pipe'](_0x13f70a(this[_0x24a1ca(0x310)]))[_0x24a1ca(0x320)](()=>this['_updateSubUnitFromURLParams'](_0x15733a));}[_0x500701(0x287)](_0x518e0a,_0x1d4a09=!0x1){const _0x14bd56=_0x500701,_0x524631=this[_0x14bd56(0x18a)]['getParam'](_0x14bd56(0x1c8));_0x518e0a[_0x14bd56(0x233)]()!==_0x524631&&this['_urlService'][_0x14bd56(0x349)](_0x14bd56(0x1c8),_0x518e0a['getSheetId'](),_0x1d4a09);}async[_0x500701(0x25e)](_0x8cbf5d){const _0x1d93c1=_0x500701;var _0x57e0c2;const _0x3c61dc=this[_0x1d93c1(0x18a)][_0x1d93c1(0x171)]('subunit');if(!_0x3c61dc||!_0x8cbf5d[_0x1d93c1(0x290)](_0x3c61dc)){const _0x58f12f=_0x8cbf5d['getUnhiddenWorksheets']()[0x0],_0x557f55=_0x8cbf5d[_0x1d93c1(0x290)](_0x58f12f);if(!_0x557f55)return;this[_0x1d93c1(0x287)](_0x557f55,!0x0),await this[_0x1d93c1(0x2b3)][_0x1d93c1(0x1db)](_0x29d14d['id'],{'unitId':_0x8cbf5d[_0x1d93c1(0x215)](),'subUnitId':_0x58f12f});return;}((_0x57e0c2=_0x8cbf5d[_0x1d93c1(0x222)]())==null?void 0x0:_0x57e0c2[_0x1d93c1(0x233)]())!==_0x3c61dc&&await this[_0x1d93c1(0x2b3)][_0x1d93c1(0x1db)](_0x29d14d['id'],{'unitId':_0x8cbf5d[_0x1d93c1(0x215)](),'subUnitId':_0x3c61dc});}};ie=qi([G(0x0,Ut),G(0x1,_0x56e22c),G(0x2,_0x44ae43),G(0x3,_0x36f55a(_0x5ebf66)),G(0x4,_0x182852(_0x51b5c6))],ie);var en=Object[_0x500701(0x248)],tn=(_0x54d17b,_0x403701,_0x5452ae,_0x1627f2)=>{const _0x5cec8c=_0x500701;for(var _0xe9ceb8=_0x1627f2>0x1?void 0x0:_0x1627f2?en(_0x403701,_0x5452ae):_0x403701,_0x1af8fa=_0x54d17b[_0x5cec8c(0x234)]-0x1,_0x424e9a;_0x1af8fa>=0x0;_0x1af8fa--)(_0x424e9a=_0x54d17b[_0x1af8fa])&&(_0xe9ceb8=_0x424e9a(_0xe9ceb8)||_0xe9ceb8);return _0xe9ceb8;},pe=(_0xeaa7bb,_0x5c9272)=>(_0x550d87,_0xea457)=>_0x5c9272(_0x550d87,_0xea457,_0xeaa7bb);let ne=class{constructor(_0x48b125,_0x328748,_0x4fc876){const _0x29ae56=_0x500701;this[_0x29ae56(0x1a4)]=_0x48b125,this[_0x29ae56(0x2ce)]=_0x328748,this['_renderManagerService']=_0x4fc876;}['transformIMECache'](_0x2e97d7){const _0x10bfe8=_0x500701;this[_0x10bfe8(0x23b)](_0x2e97d7),this['_transformPreviousActiveRange'](_0x2e97d7);}['transformRemoteChangeset'](_0x4f2dad){const _0x10f3b5=_0x500701,{unitID:_0x149fca}=_0x4f2dad,_0x551e6f=this[_0x10f3b5(0x182)][_0x10f3b5(0x229)](_0x149fca)['with'](_0x1691fb),{redoCache:_0x226aef}=_0x551e6f['getUndoRedoMutationParamsCache']();if(_0x226aef['length']===0x0)return _0x4f2dad;let _0x1141e7=_0xd3854a[_0x10f3b5(0x1c4)](_0x4f2dad['mutations'][0x0]);for(let _0x3029e7=0x0;_0x3029e7<_0x226aef[_0x10f3b5(0x234)];_0x3029e7++){const _0x5f3bbe={'id':_0x10f3b5(0x2c3),'params':{..._0x226aef[_0x3029e7]}},_0x2b8a20=this['_transformService'][_0x10f3b5(0x24b)](_0x1141e7,_0x5f3bbe,!0x1);if(_0x727f01(_0x2b8a20))throw _0x2b8a20[_0x10f3b5(0x1eb)];_0x1141e7=_0x2b8a20['m1Prime'];}return{..._0xd3854a['deepClone'](_0x4f2dad),'mutations':[_0x1141e7]};}[_0x500701(0x23b)](_0x3d1a11){const _0x264b6d=_0x500701,{unitID:_0x153bbb}=_0x3d1a11,_0x40964c=this[_0x264b6d(0x182)][_0x264b6d(0x229)](_0x153bbb)[_0x264b6d(0x1dc)](_0x1691fb),{undoCache:_0x22d6ee,redoCache:_0x4955a8}=_0x40964c['getUndoRedoMutationParamsCache']();if(_0x22d6ee[_0x264b6d(0x234)]===0x0||_0x4955a8['length']===0x0)return;const _0x475497=[],_0x4b7a04=[];let _0x11b0af=_0xd3854a[_0x264b6d(0x1c4)](_0x3d1a11[_0x264b6d(0x1f8)][0x0]),_0x401410=_0xd3854a[_0x264b6d(0x1c4)](_0x3d1a11['mutations'][0x0]);for(let _0x12e96f=_0x22d6ee['length']-0x1;_0x12e96f>=0x0;_0x12e96f--){const _0x5e980d={'id':_0x264b6d(0x2c3),'params':{..._0x22d6ee[_0x12e96f]}},_0x4b20bc={'id':_0x264b6d(0x2c3),'params':{..._0x4955a8[_0x12e96f]}},_0x507b47=this['_transformService']['transformMutation'](_0x11b0af,_0x5e980d,!0x1),_0x4dd823=this[_0x264b6d(0x2ce)]['transformMutation'](_0x401410,_0x4b20bc,!0x1);if(_0x727f01(_0x507b47))throw _0x507b47[_0x264b6d(0x1eb)];if(_0x727f01(_0x4dd823))throw _0x4dd823[_0x264b6d(0x1eb)];_0x475497['unshift'](_0x507b47['m2Prime'][_0x264b6d(0x2cd)]),_0x4b7a04['unshift'](_0x4dd823[_0x264b6d(0x28b)]['params']),_0x11b0af=_0x507b47[_0x264b6d(0x2f9)],_0x401410=_0x4dd823[_0x264b6d(0x2f9)];}_0x40964c[_0x264b6d(0x30d)]({'undoCache':_0x475497,'redoCache':_0x4b7a04});}[_0x500701(0x23a)](_0x1663b9){const _0x59e4f7=_0x500701,{unitID:_0x550ce8}=_0x1663b9,_0x539f1d=this['_renderManagerService'][_0x59e4f7(0x229)](_0x550ce8)[_0x59e4f7(0x1dc)](_0x1691fb),_0x30deb1=_0x539f1d[_0x59e4f7(0x15e)]();if(_0x30deb1==null)return;const _0x14c6d3=[{'id':_0x59e4f7(0x2c3),'params':{'unitId':_0x1663b9['unitID'],'actions':null,'textRanges':[_0x30deb1]}}],_0x5160b7=this[_0x59e4f7(0x2ce)]['transformMutationsWithChangeset'](_0x1663b9,_0x14c6d3);if(!_0x4b3101(_0x5160b7))throw _0x5160b7[_0x59e4f7(0x1eb)];const _0x405fda=_0x5160b7[_0x59e4f7(0x28b)][0x0]['params'][_0x59e4f7(0x321)];Array[_0x59e4f7(0x1b3)](_0x405fda)&&_0x405fda[_0x59e4f7(0x234)]&&_0x539f1d['setActiveRange'](_0x405fda[0x0]);}};ne=tn([pe(0x0,_0x36f55a(_0x524dc3)),pe(0x1,_0x5ddb15),pe(0x2,_0x20379b)],ne);var sn=Object[_0x500701(0x248)],nn=(_0x24ebf4,_0x3964e8,_0x52155e,_0x488f73)=>{for(var _0x30e49b=_0x488f73>0x1?void 0x0:_0x488f73?sn(_0x3964e8,_0x52155e):_0x3964e8,_0x10c745=_0x24ebf4['length']-0x1,_0x3ae83c;_0x10c745>=0x0;_0x10c745--)(_0x3ae83c=_0x24ebf4[_0x10c745])&&(_0x30e49b=_0x3ae83c(_0x30e49b)||_0x30e49b);return _0x30e49b;},Ce=(_0x42aaf0,_0x179f09)=>(_0x32cee7,_0x312639)=>_0x179f09(_0x32cee7,_0x312639,_0x42aaf0);let re=class{constructor(_0x203fd7,_0x13556e,_0x522cbe){const _0x5eb27b=_0x500701;this['_injector']=_0x203fd7,this[_0x5eb27b(0x2ce)]=_0x13556e,this[_0x5eb27b(0x1d9)]=_0x522cbe;}[_0x500701(0x264)](_0x4bc6f3){const _0x309db6=_0x500701;this[_0x309db6(0x257)](_0x4bc6f3);}[_0x500701(0x341)](_0x2e4906){const _0x3adf7c=_0x500701,{unitID:_0x2abed8}=_0x2e4906,{collaboration:_0x517fc6}=this[_0x3adf7c(0x1d9)]['getStateCache'](_0x2abed8);if(_0x517fc6['length']===0x0)return _0x2e4906;let _0x397bcc=_0xd3854a['deepClone'](_0x2e4906[_0x3adf7c(0x1f8)][0x0]);for(let _0xc4e128=0x0;_0xc4e128<_0x517fc6[_0x3adf7c(0x234)];_0xc4e128++){const _0x52c9b8={'id':_0x3adf7c(0x2c3),'params':{'unitId':_0x517fc6[_0xc4e128]['unitId'],..._0x517fc6[_0xc4e128][_0x3adf7c(0x1fd)]}},_0x213094=this['_transformService']['transformMutation'](_0x397bcc,_0x52c9b8,!0x1);if(_0x727f01(_0x213094))throw _0x213094[_0x3adf7c(0x1eb)];_0x397bcc=_0x213094[_0x3adf7c(0x2f9)];}return{..._0xd3854a[_0x3adf7c(0x1c4)](_0x2e4906),'mutations':[_0x397bcc]};}[_0x500701(0x257)](_0x3c99b9){const _0x1db81b=_0x500701,{unitID:_0x48cd9e}=_0x3c99b9,{history:_0x31400a,collaboration:_0x2e4bbb}=this[_0x1db81b(0x1d9)]['getStateCache'](_0x48cd9e);if(_0x31400a[_0x1db81b(0x234)]===0x0&&_0x2e4bbb[_0x1db81b(0x234)]===0x0)return;const _0x4c6b8e=[],_0x3d92fb=[];let _0x3c1865=_0xd3854a['deepClone'](_0x3c99b9[_0x1db81b(0x1f8)][0x0]),_0x44a3dc=_0xd3854a[_0x1db81b(0x1c4)](_0x3c99b9['mutations'][0x0]);for(let _0x53878c=_0x31400a[_0x1db81b(0x234)]-0x1;_0x53878c>=0x0;_0x53878c--){const _0x23f040={'id':_0x1db81b(0x2c3),'params':{'unitId':_0x31400a[_0x53878c][_0x1db81b(0x319)],..._0x31400a[_0x53878c][_0x1db81b(0x254)]}},_0x5cb66c={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x31400a[_0x53878c][_0x1db81b(0x319)],..._0x31400a[_0x53878c][_0x1db81b(0x1fd)]}},_0x4e7cae=this[_0x1db81b(0x2ce)][_0x1db81b(0x24b)](_0x3c1865,_0x23f040,!0x1),_0x4bcc8e=this[_0x1db81b(0x2ce)]['transformMutation'](_0x44a3dc,_0x5cb66c,!0x1);if(_0x727f01(_0x4e7cae))throw _0x4e7cae[_0x1db81b(0x1eb)];if(_0x727f01(_0x4bcc8e))throw _0x4bcc8e['error'];_0x4c6b8e[_0x1db81b(0x356)]({..._0x31400a[_0x53878c],'undoState':_0x4e7cae[_0x1db81b(0x28b)][_0x1db81b(0x2cd)],'redoState':_0x4bcc8e[_0x1db81b(0x28b)][_0x1db81b(0x2cd)]}),_0x3c1865=_0x4e7cae[_0x1db81b(0x2f9)],_0x44a3dc=_0x4bcc8e[_0x1db81b(0x2f9)];}_0x3c1865=_0xd3854a[_0x1db81b(0x1c4)](_0x3c99b9[_0x1db81b(0x1f8)][0x0]),_0x44a3dc=_0xd3854a[_0x1db81b(0x1c4)](_0x3c99b9['mutations'][0x0]);for(let _0x1bd831=_0x2e4bbb['length']-0x1;_0x1bd831>=0x0;_0x1bd831--){const _0x332090={'id':_0x1db81b(0x2c3),'params':{'unitId':_0x2e4bbb[_0x1bd831][_0x1db81b(0x319)],..._0x2e4bbb[_0x1bd831][_0x1db81b(0x254)]}},_0x174222={'id':_0x1db81b(0x2c3),'params':{'unitId':_0x2e4bbb[_0x1bd831]['unitId'],..._0x2e4bbb[_0x1bd831][_0x1db81b(0x1fd)]}},_0x25a516=this[_0x1db81b(0x2ce)][_0x1db81b(0x24b)](_0x3c1865,_0x332090,!0x1),_0x1c939a=this[_0x1db81b(0x2ce)][_0x1db81b(0x24b)](_0x44a3dc,_0x174222,!0x1);if(_0x727f01(_0x25a516))throw _0x25a516['error'];if(_0x727f01(_0x1c939a))throw _0x1c939a['error'];_0x3d92fb['unshift']({..._0x2e4bbb[_0x1bd831],'undoState':_0x25a516['m2Prime'][_0x1db81b(0x2cd)],'redoState':_0x1c939a['m2Prime']['params']}),_0x3c1865=_0x25a516[_0x1db81b(0x2f9)],_0x44a3dc=_0x1c939a[_0x1db81b(0x2f9)];}this['_docStateChangeManagerService'][_0x1db81b(0x2f3)](_0x48cd9e,{'history':_0x4c6b8e,'collaboration':_0x3d92fb});}};re=nn([Ce(0x0,_0x36f55a(_0x524dc3)),Ce(0x1,_0x5ddb15),Ce(0x2,_0x36f55a(_0x321880))],re);var rn=Object['getOwnPropertyDescriptor'],on=(_0x4de73f,_0x32bca2,_0x409e08,_0x130343)=>{const _0x363842=_0x500701;for(var _0xf600ce=_0x130343>0x1?void 0x0:_0x130343?rn(_0x32bca2,_0x409e08):_0x32bca2,_0xfbb88e=_0x4de73f[_0x363842(0x234)]-0x1,_0x35ac9a;_0xfbb88e>=0x0;_0xfbb88e--)(_0x35ac9a=_0x4de73f[_0xfbb88e])&&(_0xf600ce=_0x35ac9a(_0xf600ce)||_0xf600ce);return _0xf600ce;},tt=(_0x29c20f,_0xedaf96)=>(_0x4e86ee,_0x540133)=>_0xedaf96(_0x4e86ee,_0x540133,_0x29c20f);let oe=class{constructor(_0x41259d,_0x198706){const _0x43e007=_0x500701;this[_0x43e007(0x1a4)]=_0x41259d,this[_0x43e007(0x2ce)]=_0x198706;}['transformSelections'](_0x11a5cc){const _0xa51f69=_0x500701;var _0x1955fc;const _0x23213b=this[_0xa51f69(0x1a4)][_0xa51f69(0x1a2)](_0x232d6a),_0x2fecc6=(_0x1955fc=_0x23213b['getDocRanges']())!=null?_0x1955fc:[];if(_0x2fecc6['length']===0x0)return;const _0x589d62=_0x11a5cc[_0xa51f69(0x301)],_0x2769ff=[{'id':_0xa51f69(0x2c3),'params':{'unitId':_0x589d62,'actions':null,'textRanges':_0x2fecc6}}],_0x388bcc=this[_0xa51f69(0x2ce)]['transformMutationsWithChangeset'](_0x11a5cc,_0x2769ff);if(!_0x4b3101(_0x388bcc))throw _0x388bcc[_0xa51f69(0x1eb)];const _0xcb0cff=_0x388bcc['m2Prime'][0x0]['params'][_0xa51f69(0x321)];Array[_0xa51f69(0x1b3)](_0xcb0cff)&&_0xcb0cff[_0xa51f69(0x234)]&&_0x23213b[_0xa51f69(0x2b8)](_0xcb0cff,{'unitId':_0x589d62,'subUnitId':_0x589d62},!0x1);}};oe=on([tt(0x0,_0x36f55a(_0x524dc3)),tt(0x1,_0x5ddb15)],oe);var an=Object[_0x500701(0x248)],cn=(_0x510ab2,_0xd185d9,_0x386a9d,_0x4f5711)=>{const _0x2c7159=_0x500701;for(var _0x5f3a84=_0x4f5711>0x1?void 0x0:_0x4f5711?an(_0xd185d9,_0x386a9d):_0xd185d9,_0x47bb06=_0x510ab2[_0x2c7159(0x234)]-0x1,_0x274f20;_0x47bb06>=0x0;_0x47bb06--)(_0x274f20=_0x510ab2[_0x47bb06])&&(_0x5f3a84=_0x274f20(_0x5f3a84)||_0x5f3a84);return _0x5f3a84;},U=(_0x5afd36,_0xc73668)=>(_0x174bfe,_0x71fea9)=>_0xc73668(_0x174bfe,_0x71fea9,_0x5afd36);let ae=class extends _0xbdf073{constructor(_0x21b4ff,_0x560021,_0x16ecf9,_0x4660b4,_0xecf23c,_0x2a3c33,_0x51074e,_0x5c8eba){const _0xe27c42=_0x500701;super(),_(this,'_status$',new _0x5a7c5d(_0x3b52bb[_0xe27c42(0x1ac)])),(this['_docStateChangeManagerService']=_0x21b4ff,this[_0xe27c42(0x289)]=_0x560021,this[_0xe27c42(0x2f6)]=_0x16ecf9,this['_docTransformStateCacheService']=_0x4660b4,this[_0xe27c42(0x256)]=_0xecf23c,this[_0xe27c42(0x29f)]=_0x2a3c33,this[_0xe27c42(0x315)]=_0x51074e,this['_localeService']=_0x5c8eba,this[_0xe27c42(0x23c)]());}['_initEntityListener'](){const _0x43fcda=_0x500701;this[_0x43fcda(0x226)](this[_0x43fcda(0x289)]['entityInit$'][_0x43fcda(0x320)](_0x121603=>{const _0x2db397=_0x43fcda,_0x191a47=this[_0x2db397(0x1d9)][_0x2db397(0x33c)][_0x2db397(0x320)](_0x47acfc=>{const _0x47b925=_0x2db397;if(_0x47acfc==null)return;const {unitId:_0x427a59,redoState:_0x67e7e1,commandId:_0x49c0ea}=_0x47acfc;if(_0x427a59!==_0x121603[_0x47b925(0x301)])return;const _0x559c17={'id':_0x49c0ea,'type':_0x27f8ae[_0x47b925(0x19c)],'params':{'unitId':_0x427a59,'actions':_0x67e7e1['actions'],'textRanges':null}};_0x121603[_0x47b925(0x2ef)](_0x559c17);});if(_0x121603[_0x2db397(0x226)](_0x191a47),_0x121603 instanceof _0x3113b3){const _0x132342={'onTransformIME':_0xbf911f=>this[_0x2db397(0x2f6)][_0x2db397(0x1da)](_0xbf911f),'onTransformState':_0x1779bf=>this[_0x2db397(0x2bb)]['transformStateCache'](_0x1779bf),'onTransformSelections':_0x25db59=>this[_0x2db397(0x256)][_0x2db397(0x19a)](_0x25db59),'onSyncEditingCollabCursor':_0x41be65=>this[_0x2db397(0x29f)][_0x2db397(0x1af)](_0x41be65),'onTransformRemoteChangesetByIMECache':_0x39a59a=>this['_docTransformIMECacheService'][_0x2db397(0x341)](_0x39a59a),'onTransformRemoteChangesetByStateCache':_0x1463bf=>this['_docTransformStateCacheService'][_0x2db397(0x341)](_0x1463bf)};_0x121603['addHandlerCallback'](_0x132342);}}));}};ae=cn([U(0x0,_0x36f55a(_0x321880)),U(0x1,_0x36f55a(_0x56ded8)),U(0x2,_0x36f55a(ne)),U(0x3,_0x36f55a(re)),U(0x4,_0x36f55a(oe)),U(0x5,_0x36f55a(He)),U(0x6,_0x13a97a),U(0x7,_0x36f55a(_0x52ac5b))],ae);var ln=Object[_0x500701(0x248)],_n=(_0x2b7306,_0x597dc9,_0x435772,_0x407c22)=>{const _0x3c67a6=_0x500701;for(var _0x1d65b2=_0x407c22>0x1?void 0x0:_0x407c22?ln(_0x597dc9,_0x435772):_0x597dc9,_0x60eb1f=_0x2b7306[_0x3c67a6(0x234)]-0x1,_0x44478d;_0x60eb1f>=0x0;_0x60eb1f--)(_0x44478d=_0x2b7306[_0x60eb1f])&&(_0x1d65b2=_0x44478d(_0x1d65b2)||_0x1d65b2);return _0x1d65b2;},Ee=(_0x542a8a,_0x425a4c)=>(_0x3ecc76,_0x502d14)=>_0x425a4c(_0x3ecc76,_0x502d14,_0x542a8a);let Le=class extends _0xbdf073{constructor(_0x217889,_0x283edf,_0x84d8e2){const _0x3a2fb7=_0x500701;super(),_(this,_0x3a2fb7(0x223),new Map()),_(this,_0x3a2fb7(0x237),new Map()),_(this,_0x3a2fb7(0x283),!0x1),(this[_0x3a2fb7(0x335)]=_0x217889,this[_0x3a2fb7(0x1d6)]=_0x283edf,this[_0x3a2fb7(0x291)]=_0x84d8e2);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x500701(0x34b)](){const _0x81b335=_0x500701;this[_0x81b335(0x283)]=!0x1;}get['saveTaskMap'](){const _0x3f6ba9=_0x500701;return this[_0x3f6ba9(0x237)];}[_0x500701(0x1e7)](){const _0x858df2=_0x500701;this[_0x858df2(0x15f)]()[_0x858df2(0x1ea)](()=>super['dispose']());}async['loadOfflineData'](_0x5efe15){const _0x3d5720=_0x500701;return this['_disabled']?null:this['_localStorageService'][_0x3d5720(0x28d)](_0x53bc47(_0x5efe15));}async[_0x500701(0x312)](_0x145781,_0x13f551){const _0x35dc71=_0x500701;return!!this[_0x35dc71(0x1d6)][_0x35dc71(0x221)](_0x145781,_0x13f551);}['updateOfflineData'](_0x1fe2a4,_0x4a648d,_0x2e92b2,_0x3e2490){const _0xd5213=_0x500701,_0x51f76a=this['_revisionService'][_0xd5213(0x29a)](_0x1fe2a4);this[_0xd5213(0x223)][_0xd5213(0x2af)](_0x1fe2a4,{'unitID':_0x1fe2a4,'type':_0x4a648d,'awaitingChangeset':_0x2e92b2,'mutations':_0x3e2490,'rev':_0x51f76a}),this['_saveTaskMap']['has'](_0x1fe2a4)||this[_0xd5213(0x173)](_0x1fe2a4);}['_scheduleSaving'](_0xa8a4d9){const _0x32f5c4=_0x500701,_0x18a43b=this[_0x32f5c4(0x2ad)]();_0x18a43b===0x0?this[_0x32f5c4(0x318)](_0xa8a4d9):this[_0x32f5c4(0x237)][_0x32f5c4(0x2af)](_0xa8a4d9,setTimeout(()=>this[_0x32f5c4(0x318)](_0xa8a4d9),_0x18a43b));}[_0x500701(0x2ad)](){const _0x42a200=_0x500701;var _0x537f3d;return(_0x537f3d=this[_0x42a200(0x335)][_0x42a200(0x2e8)](_0x55cca2))!=null?_0x537f3d:_0x1dc753;}['_saveCache'](_0x278b78){const _0x499338=_0x500701,_0x5d7434=this[_0x499338(0x237)][_0x499338(0x1a2)](_0x278b78);return _0x5d7434!==void 0x0&&window[_0x499338(0x26c)](_0x5d7434),this[_0x499338(0x1d6)][_0x499338(0x221)](_0x53bc47(_0x278b78),this[_0x499338(0x223)]['get'](_0x278b78))[_0x499338(0x1ea)](()=>this['_saveTaskMap'][_0x499338(0x204)](_0x278b78));}async['exhaustSavingTask'](){const _0xe1ba45=_0x500701,_0x332e81=[];this[_0xe1ba45(0x237)]['forEach']((_0xeb65f6,_0x191cfa)=>{const _0x3d8c5c=_0xe1ba45;window['clearTimeout'](_0xeb65f6),_0x332e81[_0x3d8c5c(0x2a2)](this[_0x3d8c5c(0x318)](_0x191cfa)['then'](()=>{const _0xeb0755=_0x3d8c5c;this[_0xeb0755(0x237)][_0xeb0755(0x204)](_0x191cfa);}));}),await Promise[_0xe1ba45(0x331)](_0x332e81);}};Le=_n([Ee(0x0,_0x1312da),Ee(0x1,_0x39f1e9),Ee(0x2,_0x36f55a(_0x44f78e))],Le);class hn extends _0x51bb57{constructor(){const _0x47f801=_0x500701;super(),_(this,'urlChange$'),this[_0x47f801(0x28a)]=_0x1c6ada(window,_0x47f801(0x1a0))['pipe'](_0x13f70a(this[_0x47f801(0x310)]),_0x392a8a(0x1),_0x382ac5(void 0x0));}[_0x500701(0x349)](_0x5db8db,_0x55fa83,_0x5719df=!0x1){const _0x323855=_0x500701,_0x4a74d3=new URL(window[_0x323855(0x344)][_0x323855(0x246)]);_0x4a74d3[_0x323855(0x2c6)]['set'](_0x5db8db,_0x55fa83),_0x5719df?window[_0x323855(0x263)][_0x323855(0x2eb)]('','',_0x4a74d3[_0x323855(0x1f5)]()):window[_0x323855(0x263)][_0x323855(0x28e)]('','',_0x4a74d3['toString']());}[_0x500701(0x288)](_0x5640ba,_0x1a8d9c=!0x1){const _0x120e85=_0x500701,_0x20410e=new URL(window[_0x120e85(0x344)][_0x120e85(0x246)]);_0x20410e[_0x120e85(0x2c6)][_0x120e85(0x204)](_0x5640ba),_0x1a8d9c?window[_0x120e85(0x263)]['replaceState']('','',_0x20410e[_0x120e85(0x1f5)]()):window[_0x120e85(0x263)][_0x120e85(0x28e)]('','',_0x20410e['toString']());}[_0x500701(0x171)](_0x2f050d){const _0x47c906=_0x500701;var _0x2b88bb;return(_0x2b88bb=new URL(window['location'][_0x47c906(0x246)])[_0x47c906(0x2c6)][_0x47c906(0x1a2)](_0x2f050d))!=null?_0x2b88bb:void 0x0;}}var un=Object[_0x500701(0x1b4)],dn=Object['getOwnPropertyDescriptor'],fn=(_0x4e6b03,_0x6acc61,_0x1b80d0)=>_0x6acc61 in _0x4e6b03?un(_0x4e6b03,_0x6acc61,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1b80d0}):_0x4e6b03[_0x6acc61]=_0x1b80d0,Sn=(_0x159e74,_0x44bab2,_0x4ef924,_0x218ef4)=>{for(var _0x50806e=_0x218ef4>0x1?void 0x0:_0x218ef4?dn(_0x44bab2,_0x4ef924):_0x44bab2,_0x137b53=_0x159e74['length']-0x1,_0xc4e9ab;_0x137b53>=0x0;_0x137b53--)(_0xc4e9ab=_0x159e74[_0x137b53])&&(_0x50806e=_0xc4e9ab(_0x50806e)||_0x50806e);return _0x50806e;},Oe=(_0x50d16c,_0x49d9ce)=>(_0x9aa832,_0x447235)=>_0x49d9ce(_0x9aa832,_0x447235,_0x50d16c),mn=(_0x3f3fbe,_0x30cbe4,_0x4d4a7b)=>fn(_0x3f3fbe,_0x30cbe4+'',_0x4d4a7b);const In=_0x500701(0x2fe);let Ae=class extends _0x5ee79e{constructor(_0xbd713=et,_0x4a12da,_0x4259bf,_0x282716){const _0x5c5d21=_0x500701;super(),this[_0x5c5d21(0x207)]=_0xbd713,this[_0x5c5d21(0x182)]=_0x4a12da,this[_0x5c5d21(0x1a4)]=_0x4259bf,this['_configService']=_0x282716;const {..._0x26aed7}=_0x1e4789({},et,this[_0x5c5d21(0x207)]);this[_0x5c5d21(0x335)][_0x5c5d21(0x165)](Zi,_0x26aed7);}[_0x500701(0x339)](){const _0x5e9a54=_0x500701;this['_registerDependencies'](),this[_0x5e9a54(0x17b)]();}[_0x500701(0x1b5)](){const _0x16badf=_0x500701;this[_0x16badf(0x18e)]();}[_0x500701(0x1d5)](){const _0x125b5a=_0x500701;var _0xf579f0;const _0x4436bd=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x4df4f1,{'useClass':_0x20d8c7}],[_0x42439c,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x32ed27(this[_0x125b5a(0x1a4)],_0x4d34f1(_0x4436bd,(_0xf579f0=this[_0x125b5a(0x207)])==null?void 0x0:_0xf579f0[_0x125b5a(0x33d)]));}[_0x500701(0x18e)](){const _0x4d8356=_0x500701;this[_0x4d8356(0x226)](this['_renderManagerService'][_0x4d8356(0x2d7)](_0x57d7e2[_0x4d8356(0x1bb)],[we])),this[_0x4d8356(0x226)](this['_renderManagerService'][_0x4d8356(0x2d7)](_0x57d7e2[_0x4d8356(0x286)],[Pe]));}[_0x500701(0x17b)](){const _0x1ce4bd=_0x500701;_0x58b8a4(this[_0x1ce4bd(0x1a4)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x500701(0x2c7),In),Ae=Sn([_0x3f81bc(_0x492057),Oe(0x1,_0x20379b),Oe(0x2,_0x36f55a(_0x524dc3)),Oe(0x3,_0x1312da)],Ae);var gn=Object['getOwnPropertyDescriptor'],vn=(_0x4db858,_0xcbd888,_0x1e4887,_0x5e5baa)=>{const _0x3dffba=_0x500701;for(var _0x487d3f=_0x5e5baa>0x1?void 0x0:_0x5e5baa?gn(_0xcbd888,_0x1e4887):_0xcbd888,_0xcf9e4e=_0x4db858[_0x3dffba(0x234)]-0x1,_0x557bf4;_0xcf9e4e>=0x0;_0xcf9e4e--)(_0x557bf4=_0x4db858[_0xcf9e4e])&&(_0x487d3f=_0x557bf4(_0x487d3f)||_0x487d3f);return _0x487d3f;},K=(_0x4d4f78,_0x2f944d)=>(_0x1d9844,_0x4c4812)=>_0x2f944d(_0x1d9844,_0x4c4812,_0x4d4f78);let st=class extends _0x1f4966{constructor(_0x19c9bd,_0x52f7d6,_0x41bb6f,_0x48dda9,_0x3f3020){super(_0x19c9bd,_0x52f7d6,_0x41bb6f,_0x48dda9,_0x3f3020);}async['createSocket'](_0x1c8944){const _0x50d778=_0x500701,_0x27d7f2=await this['_getSessionTicket'](),_0x5f3115=this[_0x50d778(0x250)](_0x1c8944,_0x27d7f2);return this['_doCreateSocket'](_0x5f3115);}[_0x500701(0x250)](_0x1a8262,_0x1194c0){const _0x2fa33d=_0x500701,_0x1165f7=typeof window>'u'?new URL(_0x1a8262):new URL(_0x1a8262,window[_0x2fa33d(0x344)][_0x2fa33d(0x1df)]);_0x1165f7['searchParams']['set'](_0x2fa33d(0x2f7),_0x1194c0);const _0x579313=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x2fa33d(0x19d)]);return _0x579313[_0x2fa33d(0x1a2)]('runId')&&_0x1165f7[_0x2fa33d(0x2c6)][_0x2fa33d(0x2af)](_0x2fa33d(0x350),_0x579313[_0x2fa33d(0x1a2)](_0x2fa33d(0x350))),_0x1165f7['toString']();}async[_0x500701(0x227)](){const _0x36dddb=_0x500701;var _0x403957,_0x3e4488,_0xca37a3;const _0x3ad527=this[_0x36dddb(0x335)][_0x36dddb(0x2e8)](_0x16c931),_0x293419=(_0x403957=_0x3ad527==null?void 0x0:_0x3ad527['wsSessionTicketUrl'])!=null?_0x403957:_0x5466b7;return(_0xca37a3=(_0x3e4488=(await this['_httpService'][_0x36dddb(0x1a2)](_0x293419,{'headers':{'Content-Type':_0x36dddb(0x1b6)}}))[_0x36dddb(0x216)])==null?void 0x0:_0x3e4488['ticket'])!=null?_0xca37a3:'';}};st=vn([K(0x0,_0x36f55a(_0x524dc3)),K(0x1,_0x36f55a(_0x4714d0)),K(0x2,_0x1312da),K(0x3,_0x56e22c),K(0x4,_0x3b9b92)],st);const it=0x7530,nt=_0x500701(0x1bc);class jn extends _0xbdf073{constructor(){const _0x50f6a6=_0x500701;super(),_(this,'_id',_0x4764a1()),_(this,_0x50f6a6(0x31d),new Set()),_(this,_0x50f6a6(0x23f),new Map()),_(this,_0x50f6a6(0x1ed),null),_(this,_0x50f6a6(0x2f0),new Map()),_(this,_0x50f6a6(0x343),new Map()),this[_0x50f6a6(0x21e)]();}[_0x500701(0x1e7)](){const _0x2aae96=_0x500701;super[_0x2aae96(0x1e7)](),this[_0x2aae96(0x2f0)]['forEach']((_0x188a7f,_0xbfb5f3)=>this[_0x2aae96(0x170)](_0xbfb5f3)),this[_0x2aae96(0x1ed)]&&window['clearInterval'](this[_0x2aae96(0x1ed)]);}[_0x500701(0x177)](_0x4311ec){const _0x4fad2d=_0x500701;return this[_0x4fad2d(0x358)](_0x4311ec)['pipe'](_0x1fead7());}[_0x500701(0x1ef)](_0x1e817b){const _0x492237=_0x500701;this[_0x492237(0x31d)][_0x492237(0x24e)]===0x0&&this[_0x492237(0x1f4)](),this['_selfUnitIDs'][_0x492237(0x1c3)](_0x1e817b),this[_0x492237(0x1ce)]({'type':0x0,'memberID':this[_0x492237(0x1a1)],'unitIDs':[_0x1e817b],'isForwarded':!0x1});}[_0x500701(0x1ec)](_0x3d6dcd){const _0x5463ce=_0x500701;this[_0x5463ce(0x31d)]['delete'](_0x3d6dcd),this['_selfUnitIDs']['size']===0x0&&this[_0x5463ce(0x1ed)]&&window[_0x5463ce(0x241)](this[_0x5463ce(0x1ed)]);}[_0x500701(0x21e)](){const _0x17af0e=_0x500701;this[_0x17af0e(0x226)](_0x31417b(_0x1c6ada(window,'storage')[_0x17af0e(0x320)](_0xf7dc89=>{const _0x101944=_0x17af0e;if(_0xf7dc89[_0x101944(0x34a)]!==nt||!_0xf7dc89[_0x101944(0x2a0)])return;const _0x5a5e00=JSON['parse'](_0xf7dc89[_0x101944(0x2a0)]);this[_0x101944(0x21f)](_0x5a5e00);}))),window['addEventListener'](_0x17af0e(0x311),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x17af0e(0x31d)])}));}['_handleEvent'](_0x5baf32){const _0x36c53d=_0x500701;switch(_0x5baf32[_0x36c53d(0x2f5)]){case 0x0:this[_0x36c53d(0x2a5)](_0x5baf32);break;case 0x1:this[_0x36c53d(0x2d6)](_0x5baf32);break;case 0x2:this[_0x36c53d(0x188)](_0x5baf32);break;}}[_0x500701(0x2a5)](_0x20a0a8){const _0x3712b7=_0x500701,{unitIDs:_0x43971c,memberID:_0x2a5d83,isForwarded:_0x2567e5}=_0x20a0a8;_0x43971c[_0x3712b7(0x295)](_0x2c519b=>{const _0xc5b024=_0x3712b7;if(!_0x2567e5&&this[_0xc5b024(0x23f)][_0xc5b024(0x1cb)](_0x2c519b)&&this[_0xc5b024(0x358)](_0x2c519b)[_0xc5b024(0x1c9)](_0x499e2f[_0xc5b024(0x160)]),!this[_0xc5b024(0x23f)][_0xc5b024(0x1cb)](_0x2c519b)||!this[_0xc5b024(0x23f)][_0xc5b024(0x1a2)](_0x2c519b)['has'](_0x2a5d83)){const _0x5031a3=this[_0xc5b024(0x23f)][_0xc5b024(0x1a2)](_0x2c519b)||new Set();_0x5031a3[_0xc5b024(0x1c3)](_0x2a5d83),this[_0xc5b024(0x23f)]['set'](_0x2c519b,_0x5031a3),this['_scheduleClearOtherTimer'](_0x2a5d83);}}),_0x2567e5||this[_0x3712b7(0x1ce)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x3712b7(0x31d)]],'isForwarded':!0x0});}[_0x500701(0x25f)](_0x2bf1bf){const _0x38f847=_0x500701;this[_0x38f847(0x170)](_0x2bf1bf);const _0x10cb34=window['setTimeout'](()=>{const _0x36d767=_0x38f847;this[_0x36d767(0x23f)][_0x36d767(0x295)](_0x16acab=>{const _0x591421=_0x36d767;_0x16acab[_0x591421(0x204)](_0x2bf1bf);});},it*0x2);this[_0x38f847(0x2f0)][_0x38f847(0x2af)](_0x2bf1bf,_0x10cb34);}[_0x500701(0x170)](_0x2509f9){const _0x1ab5a3=_0x500701;if(this[_0x1ab5a3(0x2f0)][_0x1ab5a3(0x1cb)](_0x2509f9)){const _0x7918b3=this['_clearOtherTimers'][_0x1ab5a3(0x1a2)](_0x2509f9);_0x7918b3&&window[_0x1ab5a3(0x26c)](_0x7918b3),this[_0x1ab5a3(0x2f0)][_0x1ab5a3(0x2af)](_0x2509f9,null);}}[_0x500701(0x2d6)](_0xcb0adf){const _0x58a38e=_0x500701,{memberID:_0x5d3a5c,unitIDs:_0x111741}=_0xcb0adf;_0x111741[_0x58a38e(0x295)](_0x2d7224=>{const _0x282d77=_0x58a38e;var _0x792581;const _0x3a2229=this['_unitOnClients'][_0x282d77(0x1a2)](_0x2d7224);_0x3a2229&&(_0x3a2229[_0x282d77(0x204)](_0x5d3a5c),(_0x792581=this[_0x282d77(0x358)](_0x2d7224))==null||_0x792581[_0x282d77(0x1c9)](_0x3a2229[_0x282d77(0x24e)]===0x0?_0x499e2f[_0x282d77(0x2f4)]:_0x499e2f[_0x282d77(0x160)]));}),this['_removeClearOtherTimer'](_0x5d3a5c);}['_handleHeartbeatEvent'](_0x2be615){const _0x1327f7=_0x500701;this[_0x1327f7(0x25f)](_0x2be615['memberID']);}[_0x500701(0x1ce)](_0xb26ef7){const _0x255bd8=_0x500701;localStorage[_0x255bd8(0x221)](nt,JSON[_0x255bd8(0x203)](_0xb26ef7));}['_scheduleHeartbeat'](){const _0x1ba516=_0x500701;this[_0x1ba516(0x1ed)]=window['setInterval'](()=>{const _0x2d8e9e=_0x1ba516;this[_0x2d8e9e(0x1ce)]({'type':0x2,'memberID':this[_0x2d8e9e(0x1a1)]});},it);}[_0x500701(0x358)](_0x41f31f){const _0x44adb0=_0x500701;return this[_0x44adb0(0x343)][_0x44adb0(0x1cb)](_0x41f31f)||this[_0x44adb0(0x343)][_0x44adb0(0x2af)](_0x41f31f,new _0x5a7c5d(_0x499e2f[_0x44adb0(0x2f4)])),this[_0x44adb0(0x343)][_0x44adb0(0x1a2)](_0x41f31f);}}var Mt=(_0xdeeae4=>(_0xdeeae4[_0xdeeae4['UNDEFINED']=0x0]=_0x500701(0x2f8),_0xdeeae4[_0xdeeae4['OK']=0x1]='OK',_0xdeeae4[_0xdeeae4[_0x500701(0x244)]=0x2]=_0x500701(0x244),_0xdeeae4[_0xdeeae4[_0x500701(0x15b)]=0x3]=_0x500701(0x15b),_0xdeeae4[_0xdeeae4['NOT_FOUND']=0x4]=_0x500701(0x2d2),_0xdeeae4[_0xdeeae4[_0x500701(0x1a3)]=0x5]=_0x500701(0x1a3),_0xdeeae4[_0xdeeae4[_0x500701(0x1ca)]=0x6]=_0x500701(0x1ca),_0xdeeae4[_0xdeeae4[_0x500701(0x15c)]=0x7]='INVALID_ARGUMENT',_0xdeeae4[_0xdeeae4['TOO_MANY_REQUESTS']=0x8]=_0x500701(0x284),_0xdeeae4[_0xdeeae4[_0x500701(0x30a)]=0x9]=_0x500701(0x30a),_0xdeeae4[_0xdeeae4[_0x500701(0x34c)]=0xa]=_0x500701(0x34c),_0xdeeae4[_0xdeeae4['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x500701(0x2e2),_0xdeeae4[_0xdeeae4[_0x500701(0x199)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0xdeeae4[_0xdeeae4[_0x500701(0x2bf)]=0x1772]=_0x500701(0x2bf),_0xdeeae4[_0xdeeae4['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x500701(0x210),_0xdeeae4[_0xdeeae4['APPLY_REJECT']=0x1b59]=_0x500701(0x1de),_0xdeeae4[_0xdeeae4[_0x500701(0x21d)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0xdeeae4[_0xdeeae4[_0x500701(0x2c4)]=0x1b5b]=_0x500701(0x2c4),_0xdeeae4[_0xdeeae4[_0x500701(0x184)]=0x1b5c]=_0x500701(0x184),_0xdeeae4[_0xdeeae4[_0x500701(0x1b8)]=0x1b5d]=_0x500701(0x1b8),_0xdeeae4[_0xdeeae4[_0x500701(0x268)]=0x1f41]=_0x500701(0x268),_0xdeeae4[_0xdeeae4['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x500701(0x206),_0xdeeae4[_0xdeeae4[_0x500701(0x238)]=0x232a]=_0x500701(0x238),_0xdeeae4[_0xdeeae4[_0x500701(0x211)]=0x232b]=_0x500701(0x211),_0xdeeae4[_0xdeeae4[_0x500701(0x27d)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0xdeeae4[_0xdeeae4[_0x500701(0x1fe)]=0x232d]=_0x500701(0x1fe),_0xdeeae4[_0xdeeae4[_0x500701(0x354)]=0x2711]=_0x500701(0x354),_0xdeeae4[_0xdeeae4[_0x500701(0x2dc)]=0x2712]=_0x500701(0x2dc),_0xdeeae4[_0xdeeae4['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x500701(0x34d),_0xdeeae4[_0xdeeae4[_0x500701(0x317)]=0x2714]=_0x500701(0x317),_0xdeeae4[_0xdeeae4[_0x500701(0x266)]=0x271a]=_0x500701(0x266),_0xdeeae4[_0xdeeae4[_0x500701(0x342)]=0x271b]=_0x500701(0x342),_0xdeeae4[_0xdeeae4['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x500701(0x19f),_0xdeeae4[_0xdeeae4[_0x500701(0x29e)]=0x271d]=_0x500701(0x29e),_0xdeeae4[_0xdeeae4[_0x500701(0x32a)]=0x271e]=_0x500701(0x32a),_0xdeeae4[_0xdeeae4[_0x500701(0x322)]=0x271f]='YUUMI_AI_RUN_FAILED',_0xdeeae4[_0xdeeae4[_0x500701(0x30c)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0xdeeae4[_0xdeeae4[_0x500701(0x325)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0xdeeae4[_0xdeeae4[_0x500701(0x2f2)]=0x2ee2]=_0x500701(0x2f2),_0xdeeae4[_0xdeeae4[_0x500701(0x219)]=0x2ee3]=_0x500701(0x219),_0xdeeae4[_0xdeeae4[_0x500701(0x163)]=0x2ee4]='USER_NOT_INVITED_CODE',_0xdeeae4[_0xdeeae4[_0x500701(0x25d)]=0x2ee5]=_0x500701(0x25d),_0xdeeae4[_0xdeeae4['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x500701(0x2be),_0xdeeae4[_0xdeeae4['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x500701(0x353),_0xdeeae4[_0xdeeae4['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0xdeeae4[_0xdeeae4[_0x500701(0x2c0)]=-0x1]=_0x500701(0x2c0),_0xdeeae4))(Mt||{}),pn=Object[_0x500701(0x248)],Cn=(_0x3aa9f3,_0x3796ff,_0x522b49,_0x5dadaa)=>{const _0x49785e=_0x500701;for(var _0x55c133=_0x5dadaa>0x1?void 0x0:_0x5dadaa?pn(_0x3796ff,_0x522b49):_0x3796ff,_0x6750c2=_0x3aa9f3[_0x49785e(0x234)]-0x1,_0x507ac6;_0x6750c2>=0x0;_0x6750c2--)(_0x507ac6=_0x3aa9f3[_0x6750c2])&&(_0x55c133=_0x507ac6(_0x55c133)||_0x55c133);return _0x55c133;},be=(_0x362c01,_0x3c5418)=>(_0x3c391b,_0x398678)=>_0x3c5418(_0x3c391b,_0x398678,_0x362c01);let rt=class extends _0xbdf073{constructor(_0x4c752c,_0x157d41,_0x57f337){super(),this['_instanceService']=_0x4c752c,this['_httpService']=_0x157d41,this['_configService']=_0x57f337;}async['runOnServer'](_0x34a67c,_0x483dac,_0x1205b0,..._0x1e2cef){const _0x11f35d=_0x500701;var _0x356fe2,_0x4e83d7,_0x57217c,_0x9beae0;const _0x288f37=this[_0x11f35d(0x1b2)]['getFocusedUnit']();if(!_0x288f37)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x331a55=((_0x356fe2=this[_0x11f35d(0x335)]['getConfig'](_0x4e004d))!=null?_0x356fe2:_0x294c26)+'/'+_0x34a67c+_0x11f35d(0x2e4)+_0x483dac,_0x274e38=new URL(window[_0x11f35d(0x344)]['href']),_0xb4703c={'scriptId':_0x34a67c,'runId':(_0x4e83d7=_0x274e38[_0x11f35d(0x2c6)][_0x11f35d(0x1a2)](_0x11f35d(0x350)))!=null?_0x4e83d7:'','function':_0x483dac,'unitId':_0x288f37['getUnitId'](),'argsOfFunction':JSON[_0x11f35d(0x203)](_0x1e2cef),'invokeId':(_0x57217c=_0x1205b0[_0x11f35d(0x262)])!=null?_0x57217c:'','executionId':(_0x9beae0=_0x1205b0['executionId'])!=null?_0x9beae0:''};try{const _0x525fa8=await this['_httpService']['post'](_0x331a55,{'body':_0xb4703c});return _0x525fa8[_0x11f35d(0x216)][_0x11f35d(0x1eb)]&&_0x525fa8[_0x11f35d(0x216)][_0x11f35d(0x1eb)]['code']!==Mt['OK']?_0x11f35d(0x19e):_0x525fa8[_0x11f35d(0x216)]['result'];}catch{return _0x11f35d(0x19e);}}};rt=Cn([be(0x0,_0x3a01ed),be(0x1,_0x36f55a(_0x4714d0)),be(0x2,_0x1312da)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x26156a=_0x4735;function _0x3275(){const _0x308a87=['4gmvuUW','3568GRBhrj','2674NzgdyH','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','469913mceOzo','276490NRhFsB','1633214IVkrPg','295479tScasH','Local\x20file','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Connection\x20failed,\x20please\x20check\x20your\x20network.','Authentication\x20Error','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','99dmuXfP','Collaboration\x20Conflict','805TMCLkC','1122kYOtNp','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Syncing\x20server\x20data...','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.','Syncing...','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','1478906jQrfHR','Synced','2iDXVNe','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','84KQXull'];_0x3275=function(){return _0x308a87;};return _0x3275();}(function(_0x310932,_0x4cea23){const _0x4006b0=_0x4735,_0x31ab71=_0x310932();while(!![]){try{const _0x5b1fb7=parseInt(_0x4006b0(0xb1))/0x1*(-parseInt(_0x4006b0(0xaa))/0x2)+parseInt(_0x4006b0(0xb4))/0x3*(-parseInt(_0x4006b0(0xad))/0x4)+-parseInt(_0x4006b0(0xbc))/0x5*(-parseInt(_0x4006b0(0xa1))/0x6)+parseInt(_0x4006b0(0xaf))/0x7*(-parseInt(_0x4006b0(0xae))/0x8)+parseInt(_0x4006b0(0xba))/0x9*(parseInt(_0x4006b0(0xb2))/0xa)+-parseInt(_0x4006b0(0xb3))/0xb+-parseInt(_0x4006b0(0xac))/0xc*(-parseInt(_0x4006b0(0xa8))/0xd);if(_0x5b1fb7===_0x4cea23)break;else _0x31ab71['push'](_0x31ab71['shift']());}catch(_0x36e681){_0x31ab71['push'](_0x31ab71['shift']());}}}(_0x3275,0x3b680));function _0x4735(_0x488401,_0x142bc3){const _0x327591=_0x3275();return _0x4735=function(_0x4735a2,_0x52cd85){_0x4735a2=_0x4735a2-0xa1;let _0x210cfc=_0x327591[_0x4735a2];return _0x210cfc;},_0x4735(_0x488401,_0x142bc3);}const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x26156a(0xa4),'conflict':'Edit\x20conflicts','notCollab':_0x26156a(0xb5),'synced':_0x26156a(0xa9),'syncing':_0x26156a(0xa6),'offline':_0x26156a(0xb6)},'session':{'connection-failed':_0x26156a(0xb7),'will-retry':_0x26156a(0xa3),'room-full':_0x26156a(0xa7),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x26156a(0xbb),'content':_0x26156a(0xa5)},'permission':{'title':_0x26156a(0xb8),'content':_0x26156a(0xab)},'collaboration':{'single-unit':{'warning':_0x26156a(0xb0)},'closeRoom':_0x26156a(0xa2)},'auth':{'needGotoLoginAlert':_0x26156a(0xb9)}};export{e as default};
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x4f7562=_0x3f7a;function _0x2978(){const _0x34a509=['466459sKHVDl','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','3508CGRNmb','شما\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شد.','3009168qqqSbD','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','خطای\x20اعتبارسنجی','139kBsIst','در\x20حال\x20همگام\x20سازی...','380815MUuMHf','همگام\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سرور...','8RrvaLg','3693192vyzzfE','پرونده\x20محلی','1389045dGWBtv','تداخل\x20همکاری','759grUPph','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','56SybXxL','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','258770yTYsiA'];_0x2978=function(){return _0x34a509;};return _0x2978();}(function(_0x57d36e,_0x5cff71){const _0x5033d2=_0x3f7a,_0x3af23d=_0x57d36e();while(!![]){try{const _0x1c6c29=parseInt(_0x5033d2(0x159))/0x1*(parseInt(_0x5033d2(0x153))/0x2)+-parseInt(_0x5033d2(0x162))/0x3+-parseInt(_0x5033d2(0x166))/0x4*(parseInt(_0x5033d2(0x15b))/0x5)+parseInt(_0x5033d2(0x160))/0x6+parseInt(_0x5033d2(0x151))/0x7*(parseInt(_0x5033d2(0x15f))/0x8)+-parseInt(_0x5033d2(0x156))/0x9+parseInt(_0x5033d2(0x150))/0xa*(parseInt(_0x5033d2(0x164))/0xb);if(_0x1c6c29===_0x5cff71)break;else _0x3af23d['push'](_0x3af23d['shift']());}catch(_0x570fc2){_0x3af23d['push'](_0x3af23d['shift']());}}}(_0x2978,0xcefdf));function _0x3f7a(_0x45aaf7,_0x25ccce){const _0x29786c=_0x2978();return _0x3f7a=function(_0x3f7af1,_0xe38976){_0x3f7af1=_0x3f7af1-0x14f;let _0xab69d8=_0x29786c[_0x3f7af1];return _0xab69d8;},_0x3f7a(_0x45aaf7,_0x25ccce);}const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':_0x4f7562(0x15e),'conflict':'تداخل\x20ویرایش','notCollab':_0x4f7562(0x161),'synced':_0x4f7562(0x15c),'syncing':_0x4f7562(0x15a),'offline':_0x4f7562(0x152)},'session':{'connection-failed':_0x4f7562(0x165),'will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','room-full':_0x4f7562(0x157),'collaboration-timeout':_0x4f7562(0x14f)},'conflict':{'title':_0x4f7562(0x163),'content':'یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'permission':{'title':_0x4f7562(0x158),'content':_0x4f7562(0x15d)},'collaboration':{'single-unit':{'warning':_0x4f7562(0x154)},'closeRoom':_0x4f7562(0x155)},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};export{o as default};
|