@univerjs-pro/collaboration-client-ui 0.9.3 → 0.9.4-nightly.202507290757
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/index.d.ts +0 -2
- package/lib/types/services/ime-cache-transform/doc-transform-ime-cache.service.d.ts +1 -3
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +17 -17
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x8d5cf8=_0x42a6;(function(_0x21f56a,_0x23f662){const _0x556e55=_0x42a6,_0x13e001=_0x21f56a();while(!![]){try{const _0x1b9c0b=parseInt(_0x556e55(0x173))/0x1+-parseInt(_0x556e55(0x17f))/0x2*(-parseInt(_0x556e55(0x297))/0x3)+parseInt(_0x556e55(0x2ae))/0x4*(parseInt(_0x556e55(0x1f6))/0x5)+-parseInt(_0x556e55(0x1fc))/0x6+-parseInt(_0x556e55(0x2d9))/0x7*(-parseInt(_0x556e55(0x26e))/0x8)+-parseInt(_0x556e55(0x238))/0x9*(-parseInt(_0x556e55(0xf4))/0xa)+-parseInt(_0x556e55(0x15e))/0xb;if(_0x1b9c0b===_0x23f662)break;else _0x13e001['push'](_0x13e001['shift']());}catch(_0x4d5c17){_0x13e001['push'](_0x13e001['shift']());}}}(_0x1839,0x3a384));var xt=Object[_0x8d5cf8(0x1a2)],Bt=(_0x4a3959,_0x4da931,_0x40f097)=>_0x4da931 in _0x4a3959?xt(_0x4a3959,_0x4da931,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x40f097}):_0x4a3959[_0x4da931]=_0x40f097,_=(_0x3ef867,_0xdf94e1,_0x1376df)=>Bt(_0x3ef867,typeof _0xdf94e1!=_0x8d5cf8(0x25f)?_0xdf94e1+'':_0xdf94e1,_0x1376df);function _0x42a6(_0x5dbe70,_0x3db448){const _0x183984=_0x1839();return _0x42a6=function(_0x42a6b6,_0x3b4522){_0x42a6b6=_0x42a6b6-0xdf;let _0x1d507a=_0x183984[_0x42a6b6];return _0x1d507a;},_0x42a6(_0x5dbe70,_0x3db448);}import{MemberService as _0x4f6dd1,SessionStatus as _0x5650d3,CollaborationSessionService as _0xffc754,CollaborationStatus as _0xbfaff5,CollaborationController as _0x3c6559,ILocalCacheService as _0x483b5d,CollaborationUIEventService as _0xa818b3,CollaborationUIEventId as _0x1855d6,DataLoaderService as _0x5c323b,DocCollaborationEntity as _0x67c9bf,getLocalCacheKey as _0x200d8a,LOCAL_CACHE_INTERVAL as _0x1a33e5,LOCAL_CACHE_INTERVAL_KEY as _0x240bb3,UniverCollaborationClientPlugin as _0x12af4b,CollaborationSocketService as _0x5a249f,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x1e777a,DEFAULT_WS_SESSION_TICKET_URL as _0xb67a36,UnitStatus as _0x48b077,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x98b0f9,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x8dad6a}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x3c867d,Disposable as _0x32e48f,DOC_RANGE_TYPE as _0x455b31,Inject as _0x1a3b2a,Injector as _0x4fa6a4,IUniverInstanceService as _0x562792,ICommandService as _0x1ea0fe,debounce as _0x4b6109,Rectangle as _0x4e9155,DisposableCollection as _0x27a633,toDisposable as _0x192f45,UniverInstanceType as _0x536f1d,generateRandomId as _0x329535,COLORS as _0x56248b,ColorKit as _0x11d916,ThemeService as _0x1b9233,fromEventSubject as _0x3b4df3,LocaleService as _0x12013b,createIdentifier as _0xe3ec3b,ILogService as _0x30d796,Optional as _0x5e8d02,Workbook as _0x25a725,Tools as _0x5056d7,CommandType as _0x18088c,IConfigService as _0xe1599c,ILocalStorageService as _0x5af182,DependentOn as _0x12c1b8,Plugin as _0x298542,merge as _0x410ec3,registerDependencies as _0x308788,mergeOverrideWithDependencies as _0x122e9c,touchDependencies as _0x4c4c3f}from'@univerjs/core';import{Shape as _0x450e23,Rect as _0x68b4a4,getColor as _0x372ab3,RegularPolygon as _0x2f7e47,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x426709,Vector2 as _0x2a8fa6,SHEET_VIEWPORT_KEY as _0x5a3abf,IRenderManagerService as _0x188bfb}from'@univerjs/engine-render';import{ISocketService as _0x5c790c,WebSocketService as _0x7fdf5b,HTTPService as _0x32f590}from'@univerjs/network';import{IDocClipboardService as _0x27b415,NodePositionConvertToCursor as _0x2582a6,NodePositionConvertToRectRange as _0xe868ed,TEXT_RANGE_LAYER_INDEX as _0xa6a8ec,SetDocZoomRatioOperation as _0x8a025,DocIMEInputManagerService as _0x47c70f,DocStateChangeManagerService as _0xc2758c}from'@univerjs/docs-ui';import{IImageIoService as _0x1ff75a}from'@univerjs/drawing';import{BehaviorSubject as _0xed8a6e,debounceTime as _0x1ab885,takeUntil as _0x1316d6,Subject as _0x5904bd,filter as _0x575a76,switchMap as _0x1ea62d,merge as _0x178454,combineLatest as _0x362697,of as _0x35c99b,fromEvent as _0x517a35,shareReplay as _0x18cde6,mapTo as _0x9e94d0,distinctUntilChanged as _0xf7c20f}from'rxjs';import{ITransformService as _0x1f39b3,CollaborationEvent as _0xfa579d,isTransformMutationFailure as _0xc0c83d,isTransformMutationsWithChangesetSuccess as _0x29221a,RevisionService as _0x2809e3,ISnapshotServerService as _0x20a96e}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0xfc2757,RichTextEditingMutation as _0x123bec,DocSelectionManagerService as _0x23c6c6,DocSkeletonManagerService as _0x509d4d}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x4f91be,serializeRangeWithSheet as _0x462196}from'@univerjs/engine-formula';import{RefRangeService as _0x4c285e,SetSelectionsOperation as _0x4e5dcb,SheetsSelectionsService as _0x277eec,EffectRefRangId as _0x19df72,handleIRemoveRow as _0x4e7836,handleIRemoveCol as _0x2a524e,handleMoveRange as _0x2ea4f6,handleInsertRow as _0x51292b,handleInsertRangeMoveRight as _0x663f6,handleInsertRangeMoveDown as _0x225b5a,handleInsertCol as _0x5d9bb1,handleDeleteRangeMoveUp as _0xe6bb7f,handleDeleteRangeMoveLeft as _0x5cd270,runRefRangeMutations as _0x29e55f,SetWorksheetActivateCommand as _0x9b6d2b}from'@univerjs/sheets';import{map as _0x1239c4,filter as _0x5ee277,throttleTime as _0x3abe66,takeUntil as _0x11d28b,switchMap as _0x1d574f}from'rxjs/operators';import{SheetSkeletonManagerService as _0x34ad35,getCoordByCell as _0x124ed5,getSheetObject as _0xd07a33}from'@univerjs/sheets-ui';import{jsx as _0x4a0075,jsxs as _0x40a0f9}from'react/jsx-runtime';import{useObservable as _0x28ae18,useDependency as _0x23d667,IUIPartsService as _0x471289,BuiltInUIPart as _0x4a708c,connectInjector as _0x534aa2,IBeforeCloseService as _0x6d8e30,IMessageService as _0x4fe881,INotificationService as _0x3b9eb4}from'@univerjs/ui';import{Tooltip as _0x4b28d7,clsx as _0x46accd,MessageType as _0x18e795}from'@univerjs/design';import{forwardRef as _0x3db6fb,useRef as _0x4cc4e7,createElement as _0x291c33,useCallback as _0x301a37}from'react';import{IRemoteInstanceService as _0x5f5a54}from'@univerjs/rpc';var ci=Object[_0x8d5cf8(0x23f)],li=(_0x4bb625,_0x20ac81,_0x15e176,_0x59c7a6)=>{const _0x56baa4=_0x8d5cf8;for(var _0x2892b7=_0x59c7a6>0x1?void 0x0:_0x59c7a6?ci(_0x20ac81,_0x15e176):_0x20ac81,_0x57b45a=_0x4bb625[_0x56baa4(0x18a)]-0x1,_0x563204;_0x57b45a>=0x0;_0x57b45a--)(_0x563204=_0x4bb625[_0x57b45a])&&(_0x2892b7=_0x563204(_0x2892b7)||_0x2892b7);return _0x2892b7;},Ze=(_0x1a7757,_0x4245e2)=>(_0x104bcf,_0x4c0bde)=>_0x4245e2(_0x104bcf,_0x4c0bde,_0x1a7757);let Ue=class extends _0x3c867d{constructor(_0x4f95c2,_0x353673){const _0x29dd95=_0x8d5cf8;super(),this[_0x29dd95(0x116)]=_0x4f95c2,this['_imageIoService']=_0x353673,this[_0x29dd95(0x2e4)]();}[_0x8d5cf8(0x2e4)](){const _0x2749e8=_0x8d5cf8,_0x32212b=this;this[_0x2749e8(0x11e)](this[_0x2749e8(0x116)][_0x2749e8(0x24b)]({'onBeforePasteImage':async _0x2d26f1=>{const _0x1154e6=_0x2749e8,_0x24ebe1=await _0x32212b['_imageIoService'][_0x1154e6(0x2b4)](_0x2d26f1);return _0x24ebe1?{'source':_0x24ebe1[_0x1154e6(0x120)],'imageSourceType':_0x24ebe1[_0x1154e6(0x1bd)]}:null;}}));}};Ue=li([Ze(0x0,_0x27b415),Ze(0x1,_0x1ff75a)],Ue);const Qe=[_0x8d5cf8(0x1bf),_0x8d5cf8(0x21c),_0x8d5cf8(0x1be),_0x8d5cf8(0x2d0),'blue.400','yellow.400'];class He extends _0x32e48f{constructor(){const _0x8855f9=_0x8d5cf8;super(...arguments),_(this,_0x8855f9(0x185),new Map()),_(this,_0x8855f9(0x1c4),0x0);}[_0x8d5cf8(0x189)](_0x5bde3c){const _0x16a187=_0x8d5cf8;if(this[_0x16a187(0x185)]['has'](_0x5bde3c))return this['_assignedColors'][_0x16a187(0x1d0)](_0x5bde3c);const _0xad52c1=Qe[this['_colorIndex']];return this['_colorIndex']=(this[_0x16a187(0x1c4)]+0x1)%Qe[_0x16a187(0x18a)],this['_assignedColors'][_0x16a187(0xfe)](_0x5bde3c,_0xad52c1),_0xad52c1;}}function Rt(_0x221eb9){const _0x5eee66=_0x8d5cf8;let _0x18c08e='';for(const _0x232c02 of _0x221eb9){const {startOffset:_0x2f1f34,endOffset:_0x72afb4,isActive:_0x269709,rangeType:_0x4a206f,segmentId:_0x56d64f,segmentPage:_0x5114e9}=_0x232c02;_0x18c08e[_0x5eee66(0x18a)]&&(_0x18c08e+=','),_0x18c08e+=_0x2f1f34+':'+_0x72afb4+':'+(_0x269709?'1':'0')+':'+_0x4a206f+':'+_0x56d64f+':'+_0x5114e9;}return _0x18c08e;}function _i(_0x490611){const _0xb5c9d7=_0x8d5cf8,_0x165b5d=_0x490611['split'](','),_0x4084ce=[];for(const _0x251fe1 of _0x165b5d){const [_0x4a8ba3,_0x263fec,_0x805f98,_0x5c095d,_0x325184,_0x42e8ae]=_0x251fe1[_0xb5c9d7(0x257)](':');_0x4084ce[_0xb5c9d7(0x2cc)]({'startOffset':Number(_0x4a8ba3),'endOffset':Number(_0x263fec),'collapsed':_0x4a8ba3===_0x263fec,'isActive':_0x805f98==='1','rangeType':_0x5c095d===_0x455b31['TEXT']?_0x455b31[_0xb5c9d7(0x2a4)]:_0x455b31['RECT'],'segmentId':typeof _0x325184==_0xb5c9d7(0x10e)?String(_0x325184):'','segmentPage':Number(_0x42e8ae!=null?_0x42e8ae:-0x1)});}return _0x4084ce[_0xb5c9d7(0x1cf)](_0x38bdb4=>_0x38bdb4[_0xb5c9d7(0x2d5)])||(_0x4084ce[0x0][_0xb5c9d7(0x2d5)]=!0x0),_0x4084ce;}class Fe extends _0x3c867d{constructor(){const _0x5d7ed5=_0x8d5cf8;super(...arguments),_(this,_0x5d7ed5(0x207),new _0xed8a6e(null)),_(this,_0x5d7ed5(0x19a),this[_0x5d7ed5(0x207)][_0x5d7ed5(0x2e2)]());}['syncEditingCollabCursor'](_0xd8d6a4){const {unitID:_0x3695b8,memberID:_0x51bab2,textRanges:_0x2dc09c}=_0xd8d6a4,_0x604e1b=Rt(_0x2dc09c);if(_0x604e1b==='')return;const _0x356d9b={'unitID':_0x3695b8,'memberID':_0x51bab2,'selection':_0x604e1b};this['_collabCursorState$']['next'](_0x356d9b);}}var hi=Object[_0x8d5cf8(0x23f)],ui=(_0x29f45b,_0x4c2dc3,_0x1895d3,_0x590231)=>{const _0xc3b5be=_0x8d5cf8;for(var _0xa02dfb=_0x590231>0x1?void 0x0:_0x590231?hi(_0x4c2dc3,_0x1895d3):_0x4c2dc3,_0x4d6e88=_0x29f45b[_0xc3b5be(0x18a)]-0x1,_0x3dd5f7;_0x4d6e88>=0x0;_0x4d6e88--)(_0x3dd5f7=_0x29f45b[_0x4d6e88])&&(_0xa02dfb=_0x3dd5f7(_0xa02dfb)||_0xa02dfb);return _0xa02dfb;},P=(_0x1a2e49,_0x1324fc)=>(_0x5a8bf8,_0x438aa9)=>_0x1324fc(_0x5a8bf8,_0x438aa9,_0x1a2e49);const di=0x12c,fi=0x64;let Me=class extends _0x3c867d{constructor(_0x3c61dd,_0xf48235,_0x104018,_0x28cf45,_0x1fef14,_0x55c1ba,_0x579bd4,_0x594e4b,_0x2ab014){const _0x161c1a=_0x8d5cf8;super(),_(this,_0x161c1a(0x2a6),!0x1),_(this,_0x161c1a(0x2e4),!0x1),_(this,_0x161c1a(0x2b9),new _0xed8a6e(new Map())),_(this,_0x161c1a(0x20b),this[_0x161c1a(0x2b9)][_0x161c1a(0x2e2)]()),_(this,_0x161c1a(0x267),new _0xed8a6e([])),_(this,_0x161c1a(0x1aa),this[_0x161c1a(0x267)][_0x161c1a(0x141)](_0x1ab885(di))),_(this,_0x161c1a(0x2ad),_0x4b6109(_0x2c9fe4=>{const _0x550ae0=_0x161c1a,_0x2f7f8e={'eventID':_0xfa579d['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x550ae0(0x239)][_0x550ae0(0xf2)](),'selection':Rt(_0x2c9fe4)}};this[_0x550ae0(0x239)]['send'](_0x2f7f8e,this[_0x550ae0(0x18f)]);},fi)),(this['unitID']=_0x3c61dd,this[_0x161c1a(0x239)]=_0xf48235,this['_injector']=_0x104018,this[_0x161c1a(0x168)]=_0x28cf45,this['_memberService']=_0x1fef14,this[_0x161c1a(0x1f2)]=_0x55c1ba,this[_0x161c1a(0x219)]=_0x579bd4,this[_0x161c1a(0x13e)]=_0x594e4b,this[_0x161c1a(0x218)]=_0x2ab014);}get[_0x8d5cf8(0x163)](){const _0x146479=_0x8d5cf8;return this[_0x146479(0x2b9)][_0x146479(0x26f)]();}get[_0x8d5cf8(0x22c)](){const _0x5268e3=_0x8d5cf8;return this[_0x5268e3(0x267)][_0x5268e3(0x26f)]();}[_0x8d5cf8(0x22d)](){const _0x186f48=_0x8d5cf8;super['dispose'](),this[_0x186f48(0x2b9)]['next'](new Map()),this[_0x186f48(0x2b9)][_0x186f48(0xf1)](),this[_0x186f48(0x267)]['next']([]),this[_0x186f48(0x267)][_0x186f48(0xf1)]();}['init'](){const _0x5cdf47=_0x8d5cf8;this[_0x5cdf47(0x2e4)]||(this[_0x5cdf47(0x2e4)]=!0x0,this[_0x5cdf47(0x239)][_0x5cdf47(0x12d)]['pipe'](_0x1316d6(this['dispose$']))[_0x5cdf47(0x1fe)](_0x7fd7aa=>{const _0x9cb2de=_0x5cdf47;_0x7fd7aa===_0x5650d3[_0x9cb2de(0x177)]?this[_0x9cb2de(0x1ed)]():this[_0x9cb2de(0x13f)]();}),this['_session'][_0x5cdf47(0x1f3)]['pipe'](_0x1316d6(this[_0x5cdf47(0xf6)]))[_0x5cdf47(0x1fe)](_0x52e87c=>{const _0x4eda37=_0x5cdf47,_0x7cc7ad=_0x52e87c[_0x4eda37(0xec)];_0x7cc7ad===_0xfa579d['UPDATE_CURSOR']&&this[_0x4eda37(0x137)](_0x52e87c),_0x7cc7ad===_0xfa579d['USERS_LEAVE']&&this[_0x4eda37(0x1c7)](_0x52e87c);}),this['disposeWithMe'](this[_0x5cdf47(0x218)][_0x5cdf47(0x1c0)](_0x828870=>{const _0x3ae84b=_0x5cdf47,_0xafadf6=_0x828870[_0x3ae84b(0x286)];_0xafadf6!=null&&this[_0x3ae84b(0x2a6)]&&_0x828870['id']===_0xfc2757['id']&&_0xafadf6[_0x3ae84b(0x2a8)]===this[_0x3ae84b(0x18f)]&&_0xafadf6['isEditing']===!0x1&&_0xafadf6[_0x3ae84b(0x2b5)][_0x3ae84b(0x18a)]>0x0&&this[_0x3ae84b(0x2ad)](_0xafadf6[_0x3ae84b(0x2b5)]);})),this[_0x5cdf47(0x1f2)][_0x5cdf47(0x19a)][_0x5cdf47(0x141)](_0x1316d6(this[_0x5cdf47(0xf6)]))[_0x5cdf47(0x1fe)](_0x4feb4d=>{const _0x4ebffc=_0x5cdf47;if((_0x4feb4d==null?void 0x0:_0x4feb4d[_0x4ebffc(0x18f)])!==this[_0x4ebffc(0x18f)])return;const _0xb7d0df={'eventID':_0xfa579d[_0x4ebffc(0x1c6)],'data':_0x4feb4d};this[_0x4ebffc(0x137)](_0xb7d0df);}),this[_0x5cdf47(0x11e)](this[_0x5cdf47(0x218)][_0x5cdf47(0x1c0)](_0x1ef778=>{const _0x355203=_0x5cdf47;if(_0x1ef778[_0x355203(0x286)]==null)return;const _0x54b4eb=_0x1ef778[_0x355203(0x286)];if(_0x1ef778['id']!==_0x123bec['id']||_0x54b4eb[_0x355203(0x2a8)]!==this['unitID'])return;const _0x234e13={'id':_0x355203(0x127),'params':_0x54b4eb},_0x398769=this[_0x355203(0x163)];for(const [_0x346dae,_0x2d6941]of _0x398769){const _0x4d4bd3={'id':_0x355203(0x127),'params':{'unitId':this[_0x355203(0x18f)],'actions':null,'textRanges':_0x2d6941[_0x355203(0x2b5)]}},_0x2a687d=this[_0x355203(0x219)]['transformMutation'](_0x234e13,_0x4d4bd3,!0x1);if(_0xc0c83d(_0x2a687d))throw _0x2a687d[_0x355203(0x26b)];_0x398769[_0x355203(0xfe)](_0x346dae,{..._0x2d6941,'ranges':_0x2a687d[_0x355203(0x1e4)][_0x355203(0x286)][_0x355203(0x119)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x398769);});})));}[_0x8d5cf8(0x137)](_0x2439ce){const _0x29302b=_0x8d5cf8;var _0x36d868,_0x19a0b1;const {memberID:_0x31b847,selection:_0x16c131}=_0x2439ce[_0x29302b(0x152)],_0x489b5a=_i(_0x16c131),_0x4b62c9=(_0x19a0b1=(_0x36d868=this[_0x29302b(0x11d)][_0x29302b(0x106)](this[_0x29302b(0x18f)],_0x31b847))==null?void 0x0:_0x36d868[_0x29302b(0x125)])!=null?_0x19a0b1:'Unknown\x20user',_0x2af026={'color':this[_0x29302b(0x168)]['assignAColorForMemberID'](_0x31b847),'name':_0x4b62c9,'ranges':_0x489b5a},_0x2820f9=this[_0x29302b(0x163)];_0x2820f9[_0x29302b(0xfe)](_0x31b847,_0x2af026),this[_0x29302b(0x2b9)][_0x29302b(0x2e6)](_0x2820f9);}[_0x8d5cf8(0x1c7)](_0x2baa7e){const _0x439986=_0x8d5cf8,{memberID:_0x274715}=_0x2baa7e['data'],_0x4b3bf2=this[_0x439986(0x163)];_0x4b3bf2[_0x439986(0x14b)](_0x274715),this[_0x439986(0x2b9)]['next'](_0x4b3bf2);}[_0x8d5cf8(0x1ed)](){const _0x28e0ea=_0x8d5cf8;var _0x3d9d5b;if(this[_0x28e0ea(0x2a6)]=!0x0,((_0x3d9d5b=this['_univerInstanceService'][_0x28e0ea(0x10d)]())==null?void 0x0:_0x3d9d5b[_0x28e0ea(0x248)]())!==this['unitID'])return;const _0xa03a3e=this[_0x28e0ea(0x21b)][_0x28e0ea(0x1d0)](_0x23c6c6)[_0x28e0ea(0x175)]();Array[_0x28e0ea(0xe7)](_0xa03a3e)&&_0xa03a3e[_0x28e0ea(0x18a)]>0x0&&this[_0x28e0ea(0x2ad)](_0xa03a3e);}[_0x8d5cf8(0x13f)](){this['_online']=!0x1;}};Me=ui([P(0x2,_0x1a3b2a(_0x4fa6a4)),P(0x3,_0x1a3b2a(He)),P(0x4,_0x1a3b2a(_0x4f6dd1)),P(0x5,_0x1a3b2a(Fe)),P(0x6,_0x1f39b3),P(0x7,_0x562792),P(0x8,_0x1ea0fe)],Me);var Si=Object[_0x8d5cf8(0x23f)],mi=(_0x403774,_0x56fce2,_0x313fbc,_0x409964)=>{const _0x5690a8=_0x8d5cf8;for(var _0x3b58e=_0x409964>0x1?void 0x0:_0x409964?Si(_0x56fce2,_0x313fbc):_0x56fce2,_0x32e185=_0x403774[_0x5690a8(0x18a)]-0x1,_0x3da8f0;_0x32e185>=0x0;_0x32e185--)(_0x3da8f0=_0x403774[_0x32e185])&&(_0x3b58e=_0x3da8f0(_0x3b58e)||_0x3b58e);return _0x3b58e;},x=(_0x2ea20d,_0x2ccaa3)=>(_0x4f79e7,_0xde8ff6)=>_0x2ccaa3(_0x4f79e7,_0xde8ff6,_0x2ea20d);const Ii=0x12c,vi=0x64,gi=()=>{let _0x1c7cc1=[],_0x31a435=!0x1;return _0x407e82=>{const _0x35f30c=_0x42a6;_0x1c7cc1[_0x35f30c(0x2cc)](_0x407e82),_0x31a435||(_0x31a435=!0x0,setTimeout(()=>{const _0xfc9a52=_0x35f30c;_0x1c7cc1[_0xfc9a52(0x270)](_0x4caef2=>_0x4caef2()),_0x1c7cc1=[],_0x31a435=!0x1;}));};};let Le=class extends _0x3c867d{constructor(_0x44da12,_0x335a93,_0x1d86c6,_0x3f96df,_0x3645d6,_0x2adf1c,_0x4a82b0,_0x253142){const _0x3f943e=_0x8d5cf8;super(),_(this,_0x3f943e(0x2a6),!0x1),_(this,_0x3f943e(0x2e4),!0x1),_(this,_0x3f943e(0x2b9),new _0xed8a6e(new Map())),_(this,_0x3f943e(0x20b),this[_0x3f943e(0x2b9)][_0x3f943e(0x2e2)]()),_(this,_0x3f943e(0x267),new _0xed8a6e([])),_(this,_0x3f943e(0x1aa),this[_0x3f943e(0x267)][_0x3f943e(0x141)](_0x1ab885(Ii))),_(this,_0x3f943e(0x2ad),_0x4b6109((_0x4dc6b7,_0x5a46bf)=>{const _0x5f498c=_0x3f943e,_0x67ad95={'eventID':_0xfa579d['UPDATE_CURSOR'],'data':{'unitID':this[_0x5f498c(0x18f)],'memberID':this[_0x5f498c(0x239)][_0x5f498c(0xf2)](),'selection':_0x462196(_0x4dc6b7,_0x5a46bf['range'])}};this[_0x5f498c(0x239)][_0x5f498c(0x259)](_0x67ad95,this[_0x5f498c(0x18f)]);},vi)),(this[_0x3f943e(0x18f)]=_0x44da12,this['_session']=_0x335a93,this[_0x3f943e(0x21b)]=_0x1d86c6,this[_0x3f943e(0x168)]=_0x3f96df,this[_0x3f943e(0x11d)]=_0x3645d6,this['_univerInstanceService']=_0x2adf1c,this[_0x3f943e(0x218)]=_0x4a82b0,this[_0x3f943e(0x12e)]=_0x253142);}get[_0x8d5cf8(0x163)](){const _0x3adcfa=_0x8d5cf8;return this['_cursorInfo$'][_0x3adcfa(0x26f)]();}get[_0x8d5cf8(0x22c)](){const _0x5e4bfe=_0x8d5cf8;return this[_0x5e4bfe(0x267)][_0x5e4bfe(0x26f)]();}['dispose'](){const _0x401ba4=_0x8d5cf8;super[_0x401ba4(0x22d)](),this[_0x401ba4(0x2b9)][_0x401ba4(0x2e6)](new Map()),this['_cursorInfo$']['complete'](),this[_0x401ba4(0x267)][_0x401ba4(0x2e6)]([]),this['_roomMembers$'][_0x401ba4(0xf1)]();}[_0x8d5cf8(0xe2)](){const _0xbfe3f2=_0x8d5cf8;this[_0xbfe3f2(0x2e4)]||(this['_init']=!0x0,this[_0xbfe3f2(0x239)][_0xbfe3f2(0x12d)]['pipe'](_0x1316d6(this[_0xbfe3f2(0xf6)]))[_0xbfe3f2(0x1fe)](_0x4f787e=>{const _0x2adaa6=_0xbfe3f2;_0x4f787e===_0x5650d3[_0x2adaa6(0x177)]?this['_toggleOnline']():this[_0x2adaa6(0x13f)]();}),this['_session'][_0xbfe3f2(0x1f3)]['pipe'](_0x1316d6(this[_0xbfe3f2(0xf6)]))['subscribe'](_0xc17bd6=>{const _0x2774f7=_0xbfe3f2,_0x58b0d3=_0xc17bd6['eventID'];_0x58b0d3===_0xfa579d[_0x2774f7(0x1c6)]&&this[_0x2774f7(0x137)](_0xc17bd6),_0x58b0d3===_0xfa579d[_0x2774f7(0x264)]&&this[_0x2774f7(0x1c7)](_0xc17bd6);}),this[_0xbfe3f2(0x2e7)](),this['disposeWithMe'](this[_0xbfe3f2(0x218)][_0xbfe3f2(0x1c0)](_0x197992=>{const _0x4fa467=_0xbfe3f2;if(this[_0x4fa467(0x2a6)]&&_0x197992['id']===_0x4e5dcb['id']&&_0x197992[_0x4fa467(0x286)][_0x4fa467(0x2a8)]===this[_0x4fa467(0x18f)]){const _0x4b5041=_0x197992[_0x4fa467(0x286)];this['_updateLocalCursor'](_0x4b5041[_0x4fa467(0x1a6)],_0x4b5041[_0x4fa467(0x1e2)][0x0]);}})));}['_onCursorUpdate'](_0x41862e){const _0x32523f=_0x8d5cf8;var _0x412151,_0x1418e2;const {memberID:_0x3b791e,selection:_0x2f0b74}=_0x41862e[_0x32523f(0x152)],{sheetName:_0x25f3a5,range:_0x564ef3}=_0x4f91be(_0x2f0b74),_0x2fdbd5={'name':(_0x1418e2=(_0x412151=this['_memberService'][_0x32523f(0x106)](this[_0x32523f(0x18f)],_0x3b791e))==null?void 0x0:_0x412151['name'])!=null?_0x1418e2:_0x32523f(0x102),'range':this[_0x32523f(0xdf)](_0x25f3a5,_0x564ef3),'sheetID':_0x25f3a5,'color':this[_0x32523f(0x168)][_0x32523f(0x189)](_0x3b791e),'selection':_0x2f0b74},_0x3ef380=this[_0x32523f(0x163)];_0x3ef380[_0x32523f(0xfe)](_0x3b791e,_0x2fdbd5),this[_0x32523f(0x2b9)][_0x32523f(0x2e6)](_0x3ef380);}[_0x8d5cf8(0x1c7)](_0x5ad9a4){const _0x2aa56e=_0x8d5cf8,{memberID:_0x4b8cb9}=_0x5ad9a4[_0x2aa56e(0x152)],_0x2d6e72=this[_0x2aa56e(0x163)];_0x2d6e72['delete'](_0x4b8cb9),this[_0x2aa56e(0x2b9)][_0x2aa56e(0x2e6)](_0x2d6e72);}[_0x8d5cf8(0xdf)](_0x2f985b,_0xd9e366){const _0xc3ab1e=_0x8d5cf8;var _0x53fbf1,_0x45b315;const _0x37ad25=(_0x45b315=(_0x53fbf1=this[_0xc3ab1e(0x13e)][_0xc3ab1e(0x269)](this[_0xc3ab1e(0x18f)]))==null?void 0x0:_0x53fbf1[_0xc3ab1e(0x1ec)](_0x2f985b))==null?void 0x0:_0x45b315[_0xc3ab1e(0x2bf)]();return(_0x37ad25==null?void 0x0:_0x37ad25['find'](_0xb129fd=>_0x4e9155[_0xc3ab1e(0x165)](_0xb129fd,_0xd9e366)))||_0xd9e366;}[_0x8d5cf8(0x2e7)](){const _0x1154a8=_0x8d5cf8,_0x579df3=new _0x27a633(),_0x204bb8=gi(),_0x59c9cb=()=>{const _0x6159a4=_0x42a6;_0x579df3[_0x6159a4(0x22d)]();const _0x466f24=(_0x5da46d,_0x491e2a,_0x196fb9,_0x491f5a)=>{const _0xf9741=_0x6159a4;let _0x4849bc=[];switch(_0x5da46d['id']){case _0x19df72['DeleteRangeMoveLeftCommandId']:{_0x4849bc=_0x5cd270(_0x5da46d,_0x491f5a);break;}case _0x19df72[_0xf9741(0x11f)]:{_0x4849bc=_0xe6bb7f(_0x5da46d,_0x491f5a);break;}case _0x19df72[_0xf9741(0x16b)]:{_0x4849bc=_0x5d9bb1(_0x5da46d,_0x491f5a);break;}case _0x19df72[_0xf9741(0x2d7)]:{_0x4849bc=_0x225b5a(_0x5da46d,_0x491f5a);break;}case _0x19df72[_0xf9741(0x16c)]:{_0x4849bc=_0x663f6(_0x5da46d,_0x491f5a);break;}case _0x19df72['InsertRowCommandId']:{_0x4849bc=_0x51292b(_0x5da46d,_0x491f5a);break;}case _0x19df72[_0xf9741(0x1e5)]:{_0x4849bc=_0x2ea4f6(_0x5da46d,_0x491f5a);break;}case _0x19df72[_0xf9741(0x143)]:{_0x4849bc=_0x2a524e(_0x5da46d,_0x491f5a);break;}case _0x19df72[_0xf9741(0x294)]:{_0x4849bc=_0x4e7836(_0x5da46d,_0x491f5a);break;}}const _0x552328=_0x29e55f(_0x4849bc,_0x491f5a),_0x400671=this['cursorInfo'][_0xf9741(0x1d0)](_0x491e2a);if(_0x400671&&_0x552328){const _0x1cbf86={..._0x400671,'range':_0x552328};this[_0xf9741(0x163)][_0xf9741(0xfe)](_0x491e2a,_0x1cbf86),_0x204bb8(()=>{const _0x45dacc=_0xf9741,_0xd9b221=this[_0x45dacc(0x12e)]['registerRefRange'](_0x552328,_0x146f15=>(_0xd9b221[_0x45dacc(0x22d)](),_0x466f24(_0x146f15,_0x491e2a,_0x196fb9,_0x552328)));_0x579df3['add'](_0xd9b221);});}return{'redos':[],'undos':[]};};this[_0x6159a4(0x163)][_0x6159a4(0x270)]((_0x239cb1,_0x3da590)=>{const _0x136d0a=_0x6159a4,{range:_0x324df9,sheetID:_0x14e783}=_0x239cb1,_0x2e7049=this[_0x136d0a(0x12e)]['registerRefRange'](_0x324df9,_0x496259=>(_0x2e7049[_0x136d0a(0x22d)](),_0x466f24(_0x496259,_0x3da590,_0x14e783,_0x324df9)));_0x579df3[_0x136d0a(0x1d9)](_0x2e7049);});};this[_0x1154a8(0x11e)](_0x192f45(this[_0x1154a8(0x2b9)][_0x1154a8(0x1fe)](()=>{_0x59c9cb();})));}[_0x8d5cf8(0x1ed)](){const _0x5b6937=_0x8d5cf8;var _0x32fed4,_0x2b3dfe;if(this['_online']=!0x0,((_0x32fed4=this[_0x5b6937(0x13e)][_0x5b6937(0x10d)]())==null?void 0x0:_0x32fed4[_0x5b6937(0x248)]())!==this['unitID'])return;const _0x4111e0=(_0x2b3dfe=this[_0x5b6937(0x21b)][_0x5b6937(0x1d0)](_0x277eec)[_0x5b6937(0x273)]())==null?void 0x0:_0x2b3dfe[0x0],_0xf6a1ba=this['_univerInstanceService'][_0x5b6937(0x1e7)](_0x536f1d[_0x5b6937(0x241)])[_0x5b6937(0x275)]();_0x4111e0&&_0xf6a1ba&&this[_0x5b6937(0x2ad)](_0xf6a1ba[_0x5b6937(0x1b8)](),_0x4111e0);}[_0x8d5cf8(0x13f)](){this['_online']=!0x1;}};Le=mi([x(0x2,_0x1a3b2a(_0x4fa6a4)),x(0x3,_0x1a3b2a(He)),x(0x4,_0x1a3b2a(_0x4f6dd1)),x(0x5,_0x562792),x(0x6,_0x1ea0fe),x(0x7,_0x1a3b2a(_0x4c285e))],Le);var pi=Object[_0x8d5cf8(0x23f)],Ci=(_0x4b5363,_0x109286,_0x8a77fc,_0x6d2835)=>{for(var _0x3cb8fb=_0x6d2835>0x1?void 0x0:_0x6d2835?pi(_0x109286,_0x8a77fc):_0x109286,_0x4476a6=_0x4b5363['length']-0x1,_0x419685;_0x4476a6>=0x0;_0x4476a6--)(_0x419685=_0x4b5363[_0x4476a6])&&(_0x3cb8fb=_0x419685(_0x3cb8fb)||_0x3cb8fb);return _0x3cb8fb;},me=(_0x56d488,_0x4f74ba)=>(_0x57f45e,_0x4907f5)=>_0x4f74ba(_0x57f45e,_0x4907f5,_0x56d488);let F=class extends _0x3c867d{constructor(_0x227837,_0x3331c5,_0x27f0c8){const _0x448b2e=_0x8d5cf8;super(),_(this,_0x448b2e(0x20a),new Map()),_(this,'_entityInit$',new _0x5904bd()),(this[_0x448b2e(0x13e)]=_0x227837,this['_injector']=_0x3331c5,this['_collabSessionService']=_0x27f0c8,this[_0x448b2e(0x2e4)]());}[_0x8d5cf8(0x22d)](){const _0x31f982=_0x8d5cf8;super[_0x31f982(0x22d)](),this['_entityInit$'][_0x31f982(0xf1)](),this[_0x31f982(0x20a)]['forEach'](_0x1946e0=>_0x1946e0[_0x31f982(0x22d)]());}[_0x8d5cf8(0x200)](_0x3543e3){const _0x5d752e=_0x8d5cf8;return this[_0x5d752e(0x20a)][_0x5d752e(0x1d1)](_0x3543e3)?this[_0x5d752e(0x20a)][_0x5d752e(0x1d0)](_0x3543e3)[_0x5d752e(0x20b)]:this['_entityInit$'][_0x5d752e(0x141)](_0x575a76(_0x340657=>_0x340657[_0x5d752e(0x18f)]===_0x3543e3),_0x1ea62d(_0x350043=>_0x350043[_0x5d752e(0x20b)]));}['_init'](){const _0x108894=_0x8d5cf8;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x536f1d[_0x108894(0x241)])[_0x108894(0x141)](_0x1316d6(this[_0x108894(0xf6)]))[_0x108894(0x1fe)](async _0x2eabc6=>{const _0x4b8529=_0x108894,_0x264844=_0x2eabc6[_0x4b8529(0x248)](),_0x323d44=await this[_0x4b8529(0x279)](_0x264844);this[_0x4b8529(0x208)][_0x4b8529(0x2e6)](_0x323d44),this[_0x4b8529(0x20a)]['set'](_0x264844,_0x323d44);}),this[_0x108894(0x13e)][_0x108894(0x17d)](_0x536f1d[_0x108894(0x184)])[_0x108894(0x141)](_0x1316d6(this['dispose$']))[_0x108894(0x141)](_0x575a76(_0x5bd6a5=>!_0x5bd6a5[_0x108894(0x248)]()[_0x108894(0x1b0)]('__')))[_0x108894(0x1fe)](async _0x2787ff=>{const _0x1927e5=_0x108894,_0x3cbd2f=_0x2787ff[_0x1927e5(0x248)](),_0x4d798f=await this[_0x1927e5(0xe1)](_0x3cbd2f);this[_0x1927e5(0x208)][_0x1927e5(0x2e6)](_0x4d798f),this[_0x1927e5(0x20a)][_0x1927e5(0xfe)](_0x3cbd2f,_0x4d798f);}),_0x178454(this['_univerInstanceService'][_0x108894(0x1d5)](_0x536f1d[_0x108894(0x184)]),this[_0x108894(0x13e)]['getTypeOfUnitDisposed$'](_0x536f1d[_0x108894(0x241)]))[_0x108894(0x141)](_0x1316d6(this[_0x108894(0xf6)]))[_0x108894(0x1fe)](_0xbbc7ef=>{const _0x29abb8=_0x108894,_0x3d6692=_0xbbc7ef[_0x29abb8(0x248)](),_0x24a423=this[_0x29abb8(0x20a)][_0x29abb8(0x1d0)](_0x3d6692);_0x24a423&&(_0x24a423[_0x29abb8(0x22d)](),this[_0x29abb8(0x20a)]['delete'](_0x3d6692));});}async[_0x8d5cf8(0x279)](_0x567f0a){const _0x2d8461=_0x8d5cf8,_0x2f6c49=await this[_0x2d8461(0x1ca)][_0x2d8461(0xea)](_0x567f0a),_0x570829=this['_injector']['createInstance'](Le,_0x567f0a,_0x2f6c49);return _0x570829['init'](),_0x570829;}async[_0x8d5cf8(0xe1)](_0x245934){const _0x539a96=_0x8d5cf8,_0x4146d4=await this[_0x539a96(0x1ca)][_0x539a96(0xea)](_0x245934),_0x41fe45=this[_0x539a96(0x21b)][_0x539a96(0x15b)](Me,_0x245934,_0x4146d4);return _0x41fe45[_0x539a96(0xe2)](),_0x41fe45;}};F=Ci([me(0x0,_0x562792),me(0x1,_0x1a3b2a(_0x4fa6a4)),me(0x2,_0x1a3b2a(_0xffc754))],F);const te=0x14,qe=0xc8,Ie=0x4,Ei=0x5;function Oi(_0x215424,_0x13cf64){const _0x5ad6ad=_0x8d5cf8;let {radius:_0x14135e,width:_0x3ce495,height:_0x24a917}=_0x13cf64;_0x14135e=_0x14135e!=null?_0x14135e:0x0,_0x3ce495=_0x3ce495!=null?_0x3ce495:0x1e,_0x24a917=_0x24a917!=null?_0x24a917:0x1e;let _0x4a4931=0x0,_0x1e06c6=0x0,_0x37e81d=0x0;_0x4a4931=_0x1e06c6=_0x37e81d=Math[_0x5ad6ad(0x1a8)](_0x14135e,_0x3ce495/0x2,_0x24a917/0x2),_0x215424[_0x5ad6ad(0x1ce)](),_0x215424[_0x5ad6ad(0x28c)](_0x4a4931,0x0),_0x215424[_0x5ad6ad(0x1a5)](_0x3ce495-_0x1e06c6,0x0),_0x215424[_0x5ad6ad(0x24a)](_0x3ce495-_0x1e06c6,_0x1e06c6,_0x1e06c6,Math['PI']*0x3/0x2,0x0,!0x1),_0x215424['lineTo'](_0x3ce495,_0x24a917-_0x37e81d),_0x215424[_0x5ad6ad(0x24a)](_0x3ce495-_0x37e81d,_0x24a917-_0x37e81d,_0x37e81d,0x0,Math['PI']/0x2,!0x1),_0x215424[_0x5ad6ad(0x1a5)](0x0,_0x24a917),_0x215424[_0x5ad6ad(0x1a5)](0x0,_0x4a4931),_0x215424[_0x5ad6ad(0x24a)](_0x4a4931,_0x4a4931,_0x4a4931,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x215424[_0x5ad6ad(0xf3)](),_0x13cf64['fill']&&(_0x215424[_0x5ad6ad(0x222)](),_0x215424[_0x5ad6ad(0x247)]=_0x13cf64[_0x5ad6ad(0x232)],_0x13cf64[_0x5ad6ad(0x1e3)]===_0x5ad6ad(0x1ae)?_0x215424['fill'](_0x5ad6ad(0x1ae)):_0x215424[_0x5ad6ad(0x232)](),_0x215424['restore']());}class ue extends _0x450e23{constructor(_0x4c62d9,_0x3471fe){const _0x76169e=_0x8d5cf8;super(_0x4c62d9,_0x3471fe),_(this,_0x76169e(0x29c)),_(this,_0x76169e(0x10b)),(this['color']=_0x3471fe==null?void 0x0:_0x3471fe[_0x76169e(0x29c)],this[_0x76169e(0x10b)]=_0x3471fe==null?void 0x0:_0x3471fe[_0x76169e(0x10b)]);}static[_0x8d5cf8(0x2c2)](_0x7e5536,_0x333e79){const _0x21bb4d=_0x8d5cf8,{text:_0xb09e1c,color:_0x353df3}=_0x333e79;_0x7e5536[_0x21bb4d(0x222)](),_0x7e5536[_0x21bb4d(0x2d4)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x1a2f4c=_0x7e5536[_0x21bb4d(0x2d8)](_0xb09e1c)['width'],_0x1803b7=Math[_0x21bb4d(0x1a8)](_0x1a2f4c+0x2*Ie,qe);Oi(_0x7e5536,{'height':te,'radius':0x4,'width':_0x1803b7,'fill':_0x353df3}),_0x7e5536[_0x21bb4d(0x247)]=_0x21bb4d(0x2a0);const _0x49856c=Ie,_0x1593e6=te-Ei,_0x554b75=qe-0x2*Ie;if(_0x1a2f4c>_0x554b75){let _0x5254eb='',_0x100633=0x0;for(const _0x24bfe6 of _0xb09e1c){const _0x45d9e5=_0x7e5536[_0x21bb4d(0x2d8)](_0x24bfe6)[_0x21bb4d(0x2c3)];if(_0x100633+_0x45d9e5<=_0x554b75-_0x7e5536[_0x21bb4d(0x2d8)](_0x21bb4d(0x19c))[_0x21bb4d(0x2c3)])_0x5254eb+=_0x24bfe6,_0x100633+=_0x45d9e5;else{_0x5254eb+='...';break;}}_0x7e5536['fillText'](_0x5254eb,_0x49856c,_0x1593e6);}else _0x7e5536[_0x21bb4d(0x10f)](_0xb09e1c,_0x49856c,_0x1593e6);_0x7e5536[_0x21bb4d(0x118)]();}[_0x8d5cf8(0x263)](_0x33c522){const _0x3d6ee4=_0x8d5cf8;ue[_0x3d6ee4(0x2c2)](_0x33c522,this);}}const ve='collab-text-anchor-',bi='collab-text-range-',Ti=_0x8d5cf8(0x1d7),G=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x8d5cf8(0x18c);class et{constructor(_0x37af2f,_0x1fe175,_0x51d340,_0xa33c7c){const _0x5e74f3=_0x8d5cf8;_(this,_0x5e74f3(0x1b7),[]),_(this,_0x5e74f3(0x131),null),_(this,_0x5e74f3(0x2b8),null),_(this,'_anchorDot',null),_(this,'_hideTimer',null),_(this,_0x5e74f3(0x21d),null),(this[_0x5e74f3(0x254)]=_0x37af2f,this[_0x5e74f3(0x244)]=_0x1fe175,this[_0x5e74f3(0x144)]=_0x51d340,this[_0x5e74f3(0x23a)]=_0xa33c7c,this[_0x5e74f3(0x20f)]());}set[_0x8d5cf8(0x123)](_0x131de3){const _0x53dfb9=_0x8d5cf8;_0x131de3?(this[_0x53dfb9(0x1ea)]&&this['_anchorDot'][_0x53dfb9(0x171)](),this[_0x53dfb9(0x2b8)]&&this['_textBubble'][_0x53dfb9(0x115)]()):(this['_anchorDot']&&this[_0x53dfb9(0x1ea)]['show'](),this['_textBubble']&&this[_0x53dfb9(0x2b8)]['hide']());}[_0x8d5cf8(0x22d)](){const _0xe195fa=_0x8d5cf8;for(const _0x2721d7 of this['_shapes'])_0x2721d7['dispose']();this[_0xe195fa(0x2b8)]&&this[_0xe195fa(0x2b8)]['dispose'](),this[_0xe195fa(0x1ea)]&&this[_0xe195fa(0x1ea)][_0xe195fa(0x22d)](),this[_0xe195fa(0x131)]&&this[_0xe195fa(0x131)][_0xe195fa(0x22d)](),this['_eventUnsubscribe']&&this[_0xe195fa(0x21d)]();}[_0x8d5cf8(0x20f)](){const _0x39e3e0=_0x8d5cf8;var _0x4da529;const {_docSkeleton:_0x36cc09,_document:_0x259b09}=this,{color:_0x58f252,name:_0x511952,ranges:_0x26df76}=this['_cursor'],_0xec402e=_0x259b09[_0x39e3e0(0x268)](),{docsLeft:_0x3063b7,docsTop:_0x579156}=_0xec402e,_0x1084a8=new _0x2582a6(_0xec402e,_0x36cc09);for(const {startOffset:_0x439492,endOffset:_0x396908,rangeType:_0x28a136,segmentId:_0x576143,segmentPage:_0x499248,collapsed:_0x336ddf,isActive:_0x40df1a}of _0x26df76){const _0x3412c3=_0x36cc09[_0x39e3e0(0x2ac)](_0x439492,!0x0,_0x576143,_0x499248);let _0x44ca3f=_0x36cc09['findNodePositionByCharIndex'](_0x396908,!0x0,_0x576143,_0x499248);if(_0x44ca3f==null&&(_0x44ca3f=_0x36cc09['findNodePositionByCharIndex'](_0x396908-0x1,!0x1,_0x576143,_0x499248)),_0x40df1a){const {contentBoxPointGroup:_0x48a3ba}=_0x1084a8[_0x39e3e0(0x157)](_0x44ca3f,_0x44ca3f);if(_0x48a3ba[_0x39e3e0(0x18a)]===0x0)continue;this[_0x39e3e0(0x249)](_0x58f252,_0x48a3ba,_0x3063b7,_0x579156,_0x511952),this['_eventUnsubscribe']=this[_0x39e3e0(0x272)]();}if(_0x3412c3&&_0x44ca3f){if(_0x28a136===_0x455b31['RECT']){const _0x2e6c85=new _0xe868ed(_0xec402e,_0x36cc09),{pointGroup:_0x2549d9}=(_0x4da529=_0x2e6c85[_0x39e3e0(0x157)](_0x3412c3,_0x44ca3f))!=null?_0x4da529:{};if(_0x2549d9==null||_0x2549d9[_0x39e3e0(0x18a)]===0x0)continue;this[_0x39e3e0(0xfb)](_0x58f252,_0x2549d9,_0x3063b7,_0x579156);}else{if(!_0x336ddf){const {borderBoxPointGroup:_0x30aa92}=_0x1084a8[_0x39e3e0(0x157)](_0x3412c3,_0x44ca3f);if(_0x30aa92[_0x39e3e0(0x18a)]===0x0)continue;this[_0x39e3e0(0x1e0)](_0x58f252,_0x30aa92,_0x3063b7,_0x579156);}}}}}[_0x8d5cf8(0x249)](_0x532da7,_0xb36eff,_0x5ac513,_0x331302,_0x30bdb3){const _0x15d616=_0x8d5cf8,_0x207c4c=this['_getAnchorBounding'](_0xb36eff),{left:_0x10b432,top:_0x14eaf6,height:_0x14fe1a}=_0x207c4c,_0x307b18=this['_getScale'](),_0x55515b=Di/_0x307b18,_0x3abf47=new _0x68b4a4(ve+_0x329535(G),{'left':_0x10b432+_0x5ac513-_0x55515b,'top':_0x14eaf6+_0x331302,'height':_0x14fe1a,'width':Ri,'fill':_0x532da7||_0x372ab3(_0x56248b[_0x15d616(0x161)],0x0),'strokeWidth':_0x55515b,'stroke':Ni,'evented':!0x0});this['_anchor']=_0x3abf47,this['_scene'][_0x15d616(0x1cc)](_0x3abf47,_0xa6a8ec);const _0xfc8cfe=new _0x68b4a4(ve+_0x329535(G),{'left':_0x10b432+_0x5ac513-_0x55515b,'top':_0x14eaf6+_0x331302-ge/0x2,'height':ge,'width':ge,'fill':_0x532da7||_0x372ab3(_0x56248b['black'],0x0),'strokeWidth':0x0,'stroke':_0x532da7||_0x372ab3(_0x56248b[_0x15d616(0x161)],0x0),'evented':!0x1});this['_anchorDot']=_0xfc8cfe,this[_0x15d616(0x244)][_0x15d616(0x1cc)](_0xfc8cfe,_0xa6a8ec);const _0x33686e=new ue(ve+_0x329535(G),{'left':_0x10b432+_0x5ac513-_0x55515b,'top':_0x14eaf6+_0x331302-te,'text':_0x30bdb3,'color':_0x532da7});this[_0x15d616(0x2b8)]=_0x33686e,this[_0x15d616(0x244)]['addObject'](_0x33686e,_0xa6a8ec),this['_hover']=!0x1;}['_handleHover'](){const _0xf4edc3=_0x8d5cf8,_0x2d53bb=this[_0xf4edc3(0x131)][_0xf4edc3(0x1f8)][_0xf4edc3(0x1a3)](()=>{this['_hover']=!0x0;}),_0x208892=this[_0xf4edc3(0x131)][_0xf4edc3(0x191)][_0xf4edc3(0x1a3)](()=>{const _0xa29c62=_0xf4edc3;this[_0xa29c62(0x25a)]&&clearTimeout(this['_hideTimer']),this[_0xa29c62(0x25a)]=setTimeout(()=>{const _0x49d4e7=_0xa29c62;this[_0x49d4e7(0x123)]=!0x1;},0x7d0);});return()=>{const _0x104332=_0xf4edc3;_0x2d53bb[_0x104332(0x170)](),_0x208892['unsubscribe']();};}[_0x8d5cf8(0x1e0)](_0x554def,_0x27eb6c,_0x4bd241,_0xcb1f9f){const _0x5559bd=_0x8d5cf8,_0x34fa44=new _0x11d916(_0x554def)[_0x5559bd(0x2af)](0.2)[_0x5559bd(0x230)](),_0x3a31a5=new _0x2f7e47(bi+_0x329535(G),{'pointsGroup':_0x27eb6c,'fill':_0x34fa44||_0x372ab3(_0x56248b[_0x5559bd(0x161)],0.2),'left':_0x4bd241,'top':_0xcb1f9f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5559bd(0x1b7)][_0x5559bd(0x2cc)](_0x3a31a5),this[_0x5559bd(0x244)][_0x5559bd(0x1cc)](_0x3a31a5,_0xa6a8ec);}[_0x8d5cf8(0xfb)](_0x34ed6b,_0x388331,_0x22120a,_0x4c3e79){const _0x3e2e8a=_0x8d5cf8,_0x495f40=new _0x11d916(_0x34ed6b)['setAlpha'](0.2)[_0x3e2e8a(0x230)](),_0xf9cbaa=new _0x2f7e47(Ti+_0x329535(G),{'pointsGroup':_0x388331,'fill':_0x495f40||_0x372ab3(_0x56248b[_0x3e2e8a(0x161)],0.2),'left':_0x22120a,'top':_0x4c3e79,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3e2e8a(0x1b7)][_0x3e2e8a(0x2cc)](_0xf9cbaa),this[_0x3e2e8a(0x244)][_0x3e2e8a(0x1cc)](_0xf9cbaa,_0xa6a8ec);}[_0x8d5cf8(0x2ce)](_0x380910){const _0x4bfda1=_0x380910[0x0],_0x1a0d3b=_0x4bfda1[0x0],_0x5f66aa=_0x4bfda1[0x2],{x:_0x30afaa,y:_0x1ca482}=_0x1a0d3b,{x:_0x3a2f29,y:_0xe63f84}=_0x5f66aa;return{'left':_0x30afaa,'top':_0x1ca482,'width':_0x3a2f29-_0x30afaa,'height':_0xe63f84-_0x1ca482};}[_0x8d5cf8(0x179)](){const _0x2ca6be=_0x8d5cf8,{scaleX:_0x34df40,scaleY:_0x527de8}=this['_scene']['getAncestorScale']();return Math[_0x2ca6be(0x117)](_0x34df40,_0x527de8);}}var Ui=Object[_0x8d5cf8(0x23f)],Mi=(_0x2466db,_0x3ec41b,_0x19448e,_0x42d2d1)=>{const _0x3eee64=_0x8d5cf8;for(var _0x2c7c33=_0x42d2d1>0x1?void 0x0:_0x42d2d1?Ui(_0x3ec41b,_0x19448e):_0x3ec41b,_0x24494c=_0x2466db[_0x3eee64(0x18a)]-0x1,_0x383bd5;_0x24494c>=0x0;_0x24494c--)(_0x383bd5=_0x2466db[_0x24494c])&&(_0x2c7c33=_0x383bd5(_0x2c7c33)||_0x2c7c33);return _0x2c7c33;},Q=(_0x205f68,_0x116339)=>(_0x1fa51e,_0x3870ea)=>_0x116339(_0x1fa51e,_0x3870ea,_0x205f68);let Pe=class extends _0x3c867d{constructor(_0x52e5b9,_0xba09d2,_0x119ee9,_0x174f41,_0x1a9710){const _0x3bdd86=_0x8d5cf8;super(),_(this,_0x3bdd86(0x23e),[]),_(this,_0x3bdd86(0x287),[]),(this[_0x3bdd86(0x2a9)]=_0x52e5b9,this[_0x3bdd86(0x299)]=_0xba09d2,this['_collabCursorController']=_0x119ee9,this[_0x3bdd86(0x218)]=_0x174f41,this[_0x3bdd86(0x24d)]=_0x1a9710,this[_0x3bdd86(0x2e4)]());}[_0x8d5cf8(0x2e4)](){const _0x30058c=_0x8d5cf8,_0x2e507c=this[_0x30058c(0x2a9)][_0x30058c(0x2a8)],_0x1ba2d9=this['_docSkeletonManagerService'];this[_0x30058c(0x11e)](_0x362697([this[_0x30058c(0x13d)]['getCollabCursors$'](_0x2e507c),this['_themeService'][_0x30058c(0x158)]])[_0x30058c(0x141)](_0x1239c4(([_0x34bb6a,_0x34c946])=>({'skeleton':_0x1ba2d9['getSkeleton'](),'cursors':[..._0x34bb6a[_0x30058c(0x15d)]()][_0x30058c(0x17b)](_0x35c580=>({..._0x35c580,'color':this[_0x30058c(0x24d)]['getColorFromTheme'](_0x35c580[_0x30058c(0x29c)])}))})))['subscribe'](_0x55bd12=>{const _0x4973ff=_0x30058c;if(this[_0x4973ff(0x162)](),_0x55bd12){const {skeleton:_0x3c4959,cursors:_0x518f66}=_0x55bd12;this['_updateCollabCursors'](_0x3c4959,_0x518f66);}})),this[_0x30058c(0x140)](),this[_0x30058c(0x226)]();}[_0x8d5cf8(0x1f7)](_0x1213c3,_0x1f0cb9){const _0x1b8a72=_0x8d5cf8,{scene:_0x10ae41,mainComponent:_0x55d46f}=this[_0x1b8a72(0x2a9)],_0x5107e5=_0x1f0cb9['map'](_0x571b21=>new et(_0x571b21,_0x10ae41,_0x1213c3,_0x55d46f));this[_0x1b8a72(0x23e)]=_0x5107e5,this[_0x1b8a72(0x287)]=_0x1f0cb9;}[_0x8d5cf8(0x112)](){const _0x71973b=_0x8d5cf8;this[_0x71973b(0x162)]();const {scene:_0x54afed,mainComponent:_0x9d9014}=this[_0x71973b(0x2a9)],_0x29e277=this['_docSkeletonManagerService']['getSkeleton'](),_0x50a149=this[_0x71973b(0x287)]['map'](_0x308b1a=>new et(_0x308b1a,_0x54afed,_0x29e277,_0x9d9014));this[_0x71973b(0x23e)]=_0x50a149;}['_removeCollabCursors'](){const _0x3772e7=_0x8d5cf8;this['_cursorShapes'][_0x3772e7(0x270)](_0x21dce1=>_0x21dce1[_0x3772e7(0x22d)]()),this['_cursorShapes']=[];}[_0x8d5cf8(0x226)](){const _0x13e002=_0x8d5cf8,_0x3b7e10=[_0x8a025['id']];this[_0x13e002(0x11e)](this[_0x13e002(0x218)][_0x13e002(0x1c0)](_0x2593ba=>{const _0x34610=_0x13e002;_0x3b7e10[_0x34610(0x265)](_0x2593ba['id'])&&_0x2593ba[_0x34610(0x286)][_0x34610(0x2a8)]===this[_0x34610(0x2a9)][_0x34610(0x2a8)]&&this[_0x34610(0x112)]();}));}[_0x8d5cf8(0x140)](){const _0x16e46d=_0x8d5cf8;this['disposeWithMe'](_0x3b4df3(this[_0x16e46d(0x2a9)][_0x16e46d(0x1cb)][_0x16e46d(0x186)])[_0x16e46d(0x141)](_0x5ee277(_0xeac87f=>_0xeac87f[_0x16e46d(0x122)]===_0x426709[_0x16e46d(0x10c)]),_0x3abe66(0x10))['subscribe'](()=>{const _0x1db7fe=_0x16e46d;this[_0x1db7fe(0x112)]();}));}};Pe=Mi([Q(0x1,_0x1a3b2a(_0x509d4d)),Q(0x2,_0x1a3b2a(F)),Q(0x3,_0x1ea0fe),Q(0x4,_0x1a3b2a(_0x1b9233))],Pe);const Li=0x1,Pi=1.5;class wi extends _0x450e23{constructor(_0xe6ded3,_0x584004){const _0x44a43d=_0x8d5cf8;super(_0xe6ded3,_0x584004),_(this,_0x44a43d(0x22f)),_(this,'_hovered',!0x1),_(this,_0x44a43d(0x284)),_(this,_0x44a43d(0x2da),''),_(this,_0x44a43d(0x21e),_0x44a43d(0x290)),_(this,_0x44a43d(0x1b1)),(_0x584004&&this[_0x44a43d(0x205)](_0x584004),this[_0x44a43d(0x1f8)]['subscribeEvent'](()=>this[_0x44a43d(0x205)]({'hovered':!0x0})),this[_0x44a43d(0x191)][_0x44a43d(0x1a3)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x8d5cf8(0x205)](_0x1c8932){const _0x3cf3a7=_0x8d5cf8;var _0x353943,_0x3792ff,_0xdfd56f,_0x3a3636,_0x123cf9,_0x1aea31;this['_color']=(_0x353943=_0x1c8932[_0x3cf3a7(0x29c)])!=null?_0x353943:this[_0x3cf3a7(0x22f)],this[_0x3cf3a7(0x190)]=(_0x3792ff=_0x1c8932['hovered'])!=null?_0x3792ff:this[_0x3cf3a7(0x190)],this[_0x3cf3a7(0x284)]=(_0xdfd56f=_0x1c8932['range'])!=null?_0xdfd56f:this[_0x3cf3a7(0x284)],this['_name']=(_0x3a3636=_0x1c8932['name'])!=null?_0x3a3636:this[_0x3cf3a7(0x2da)],this['_labelPosition']=(_0x123cf9=_0x1c8932[_0x3cf3a7(0x211)])!=null?_0x123cf9:this[_0x3cf3a7(0x21e)],this['_backgroundColor']=(_0x1aea31=_0x1c8932[_0x3cf3a7(0x101)])!=null?_0x1aea31:this[_0x3cf3a7(0x1b1)],this[_0x3cf3a7(0x2a3)]({'width':_0x1c8932[_0x3cf3a7(0x2c3)],'height':_0x1c8932[_0x3cf3a7(0xe4)]});}[_0x8d5cf8(0x132)](_0x4e8faa){const _0x2a7d9f=_0x8d5cf8,{row:_0x1458a8,column:_0x29e4e0}=_0x4e8faa;if(_0x1458a8>=this[_0x2a7d9f(0x284)][_0x2a7d9f(0x2dc)]&&_0x1458a8<=this[_0x2a7d9f(0x284)][_0x2a7d9f(0x243)]&&_0x29e4e0>=this['_range']['startColumn']&&_0x29e4e0<=this[_0x2a7d9f(0x284)][_0x2a7d9f(0x26d)]){this[_0x2a7d9f(0x205)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x8d5cf8(0x114)](_0x1b8291){return!0x1;}[_0x8d5cf8(0x263)](_0x24a0e9){const _0x5cb61e=_0x8d5cf8;_0x68b4a4[_0x5cb61e(0x2c2)](_0x24a0e9,{'width':this[_0x5cb61e(0x2c3)],'height':this[_0x5cb61e(0xe4)],'strokeWidth':Pi,'stroke':this[_0x5cb61e(0x22f)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x24a0e9[_0x5cb61e(0x222)](),_0x24a0e9[_0x5cb61e(0x12c)](0x1,0x0,0x0,0x1,this['width'],this[_0x5cb61e(0x21e)]==='bottom'?0x0:-0x14),ue[_0x5cb61e(0x2c2)](_0x24a0e9,{'text':this[_0x5cb61e(0x2da)],'color':this['_color']}),_0x24a0e9[_0x5cb61e(0x118)]());}}var Ai=Object['getOwnPropertyDescriptor'],yi=(_0x4f6bf5,_0x3fa39f,_0x4ed803,_0x584e3a)=>{const _0x430af3=_0x8d5cf8;for(var _0x411370=_0x584e3a>0x1?void 0x0:_0x584e3a?Ai(_0x3fa39f,_0x4ed803):_0x3fa39f,_0xd6c941=_0x4f6bf5[_0x430af3(0x18a)]-0x1,_0x2c1d91;_0xd6c941>=0x0;_0xd6c941--)(_0x2c1d91=_0x4f6bf5[_0xd6c941])&&(_0x411370=_0x2c1d91(_0x411370)||_0x411370);return _0x411370;},pe=(_0x319610,_0x36609d)=>(_0x1b4eda,_0x32b21f)=>_0x36609d(_0x1b4eda,_0x32b21f,_0x319610);const $i=0x1389;let we=class extends _0x3c867d{constructor(_0x2fa9f4,_0x524941,_0x2b4c4b,_0x5ac91f){const _0x42fa96=_0x8d5cf8;super(),_(this,'_cursors',new Set()),_(this,_0x42fa96(0x261),null),(this[_0x42fa96(0x2a9)]=_0x2fa9f4,this['_sheetSkeletonManagerService']=_0x524941,this[_0x42fa96(0x13d)]=_0x2b4c4b,this[_0x42fa96(0x24d)]=_0x5ac91f,this[_0x42fa96(0x2e4)]());}[_0x8d5cf8(0x2e4)](){const _0x214ed7=_0x8d5cf8;this[_0x214ed7(0xf9)][_0x214ed7(0x2bc)]['pipe'](_0x11d28b(this['dispose$']),_0x1d574f(_0x5c9327=>{const _0x62d361=_0x214ed7;if(_0x5c9327){const _0x56cee2=_0x5c9327[_0x62d361(0x209)];return _0x362697(this['_collabCursorController']['getCollabCursors$'](this['_context'][_0x62d361(0x2a8)]),this[_0x62d361(0x24d)][_0x62d361(0x158)])['pipe'](_0x1239c4(([_0x4c5eb0,_0x1c35f2])=>{const _0x1ed195=new Map();return _0x4c5eb0['forEach']((_0x3228c8,_0x1d3247)=>{const _0x4eb32f=_0x42a6;if(_0x3228c8[_0x4eb32f(0x1f1)]===_0x56cee2){const _0x51aee6={..._0x3228c8};_0x51aee6[_0x4eb32f(0x29c)]=this[_0x4eb32f(0x24d)][_0x4eb32f(0x28f)](_0x3228c8[_0x4eb32f(0x29c)]),_0x1ed195[_0x4eb32f(0xfe)](_0x1d3247,_0x51aee6);}}),{'skeleton':_0x5c9327,'cursors':_0x1ed195};}));}return _0x35c99b({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x32b2a5,cursors:_0xb30171})=>{const _0x272bfc=_0x214ed7;this['_removeCollabCursors'](),_0x32b2a5&&this[_0x272bfc(0x1f7)](_0x32b2a5,_0xb30171);}),this[_0x214ed7(0xf9)][_0x214ed7(0x2bc)][_0x214ed7(0x1fe)](_0x12361b=>{const _0x50fc93=_0x214ed7;if(_0x12361b==null)return;const {skeleton:_0x13fc1f}=_0x12361b,{scene:_0x38f5aa}=this['_context'];_0x38f5aa['onPointerMove$'][_0x50fc93(0x1a3)](_0x4b6109(_0x594013=>{const _0x5b6ef8=_0x50fc93;var _0x37b79d,_0x406f24;const {offsetX:_0x585ec2,offsetY:_0x2b4ac8}=_0x594013,{x:_0x181b04,y:_0x599c58}=_0x38f5aa[_0x5b6ef8(0xed)](_0x2a8fa6[_0x5b6ef8(0x164)]([_0x585ec2,_0x2b4ac8])),{scaleX:_0x96b888,scaleY:_0x18b331}=_0x38f5aa['getAncestorScale'](),_0x3e133f=_0x38f5aa[_0x5b6ef8(0x12a)](_0x5a3abf[_0x5b6ef8(0x1d8)]),_0x5c9eb2=_0x38f5aa[_0x5b6ef8(0x2a5)](_0x2a8fa6[_0x5b6ef8(0x164)]([_0x181b04,_0x599c58]),_0x3e133f),_0x5ecef2=_0x13fc1f['getCellPositionByOffset'](_0x585ec2,_0x2b4ac8,_0x96b888,_0x18b331,_0x5c9eb2);((_0x37b79d=this['_lastPointer'])==null?void 0x0:_0x37b79d[_0x5b6ef8(0x183)])===_0x5ecef2[_0x5b6ef8(0x183)]&&((_0x406f24=this[_0x5b6ef8(0x261)])==null?void 0x0:_0x406f24['row'])===_0x5ecef2['row']||this['_cursors']['forEach'](_0x488fc1=>{_0x488fc1['onMouseMove'](_0x5ecef2);});},0x64));});}[_0x8d5cf8(0x1f7)](_0x5e3870,_0x36252e){const _0x2b7249=_0x8d5cf8;var _0x28a4d1;const _0x407906=(_0x28a4d1=this['_sheetSkeletonManagerService'][_0x2b7249(0x252)]())==null?void 0x0:_0x28a4d1[_0x2b7249(0x180)];if(!_0x407906)return;const _0x268f99=this[_0x2b7249(0x2df)]();if(!_0x268f99)return;this[_0x2b7249(0x287)][_0x2b7249(0x270)](_0x385e24=>{const _0x54e2d5=_0x2b7249;_0x385e24[_0x54e2d5(0x1e1)]();});const {scene:_0x4b65d9}=_0x268f99,_0x44585b=xi(Array[_0x2b7249(0x194)](_0x36252e[_0x2b7249(0x15d)]()))['map'](_0x54b42f=>{const _0x2a7abf=_0x2b7249,{color:_0x40e6ad,range:_0x2d4773,name:_0x3fc083,selection:_0x3d7150,sheetID:_0x1dbf4e}=_0x54b42f,{startColumn:_0x359638,startRow:_0x237ad1,endColumn:_0x4e31af,endRow:_0x3736dd}=_0x2d4773,_0x12e65=_0x124ed5(_0x237ad1,_0x359638,_0x4b65d9,_0x407906),_0x5aa053=_0x124ed5(_0x3736dd,_0x4e31af,_0x4b65d9,_0x407906),{columnHeaderHeightAndMarginTop:_0x358956}=_0x407906,{startX:_0x563011,startY:_0x1df8af}=_0x12e65,{endX:_0x4353cb,endY:_0x5b2398}=_0x5aa053,_0x2b9466=_0x4353cb-_0x563011,_0x3d738f=_0x5b2398-_0x1df8af,_0x14bfbe={'labelPosition':_0x1df8af-_0x358956>=te?_0x2a7abf(0x290):_0x2a7abf(0x29e),'sheetID':_0x1dbf4e,'range':_0x2d4773,'color':_0x40e6ad,'name':_0x3fc083,'selection':_0x3d7150,'left':_0x563011,'top':_0x1df8af,'width':_0x2b9466,'height':_0x3d738f,'evented':!0x1,'zIndex':$i};return new wi(_0x3fc083,_0x14bfbe);});_0x4b65d9['addObjects'](_0x44585b,Li),this[_0x2b7249(0x287)]=new Set(_0x44585b);}[_0x8d5cf8(0x162)](){const _0x3d55ae=_0x8d5cf8;var _0x4d6ac7;(_0x4d6ac7=this[_0x3d55ae(0x287)])==null||_0x4d6ac7[_0x3d55ae(0x270)](_0x1a8e2e=>_0x1a8e2e[_0x3d55ae(0x22d)]());}[_0x8d5cf8(0x2df)](){const _0x54b221=_0x8d5cf8;return _0xd07a33(this[_0x54b221(0x2a9)][_0x54b221(0x147)],this[_0x54b221(0x2a9)]);}};we=yi([pe(0x1,_0x1a3b2a(_0x34ad35)),pe(0x2,_0x1a3b2a(F)),pe(0x3,_0x1a3b2a(_0x1b9233))],we);function xi(_0x4f0ff1){const _0xcc256=_0x8d5cf8,_0xaf3da2=new Map();return _0x4f0ff1[_0xcc256(0x270)](_0xfcdbd4=>{const _0x2d2d20=_0xcc256;if(_0xaf3da2[_0x2d2d20(0x1d1)](_0xfcdbd4[_0x2d2d20(0x182)])){const _0x2d4b7c=_0xaf3da2['get'](_0xfcdbd4[_0x2d2d20(0x182)]);_0x2d4b7c[_0x2d2d20(0x125)]+=',\x20'+_0xfcdbd4['name'];}else _0xaf3da2[_0x2d2d20(0xfe)](_0xfcdbd4[_0x2d2d20(0x182)],_0xfcdbd4);}),Array[_0xcc256(0x194)](_0xaf3da2['values']());}var v=function(){const _0x3ff522=_0x8d5cf8;return v=Object['assign']||function(_0x3b6d9d){const _0x3d2d60=_0x42a6;for(var _0x4fce3c,_0x422dab=0x1,_0x7fd55=arguments['length'];_0x422dab<_0x7fd55;_0x422dab++){_0x4fce3c=arguments[_0x422dab];for(var _0xbe635c in _0x4fce3c)Object['prototype'][_0x3d2d60(0x216)][_0x3d2d60(0x1ef)](_0x4fce3c,_0xbe635c)&&(_0x3b6d9d[_0xbe635c]=_0x4fce3c[_0xbe635c]);}return _0x3b6d9d;},v[_0x3ff522(0x25c)](this,arguments);},Bi=function(_0x38cfe3,_0x32a07b){const _0x21259b=_0x8d5cf8;var _0x3fa260={};for(var _0x58ce59 in _0x38cfe3)Object[_0x21259b(0x245)][_0x21259b(0x216)]['call'](_0x38cfe3,_0x58ce59)&&_0x32a07b[_0x21259b(0x150)](_0x58ce59)<0x0&&(_0x3fa260[_0x58ce59]=_0x38cfe3[_0x58ce59]);if(_0x38cfe3!=null&&typeof Object[_0x21259b(0x188)]=='function'){for(var _0x56ee17=0x0,_0x58ce59=Object[_0x21259b(0x188)](_0x38cfe3);_0x56ee17<_0x58ce59[_0x21259b(0x18a)];_0x56ee17++)_0x32a07b[_0x21259b(0x150)](_0x58ce59[_0x56ee17])<0x0&&Object['prototype'][_0x21259b(0x27f)][_0x21259b(0x1ef)](_0x38cfe3,_0x58ce59[_0x56ee17])&&(_0x3fa260[_0x58ce59[_0x56ee17]]=_0x38cfe3[_0x58ce59[_0x56ee17]]);}return _0x3fa260;},Ye=_0x3db6fb(function(_0xb65920,_0x4bd81b){const _0x388e14=_0x8d5cf8;var _0x47ff63=_0xb65920[_0x388e14(0x19d)],_0x2fc495=_0xb65920['id'],_0x49f798=_0xb65920[_0x388e14(0x18b)],_0x450c35=_0xb65920[_0x388e14(0x17a)],_0x4f7355=Bi(_0xb65920,['icon','id',_0x388e14(0x18b),_0x388e14(0x17a)]),_0x909eb9=_0x388e14(0x1f9)[_0x388e14(0x1ac)](_0x2fc495,'\x20')[_0x388e14(0x1ac)](_0x49f798||'')['trim'](),_0x71c701=_0x4cc4e7('_'[_0x388e14(0x1ac)](Fi()));return Dt(_0x47ff63,''[_0x388e14(0x1ac)](_0x2fc495),{'defIds':_0x47ff63['defIds'],'idSuffix':_0x71c701[_0x388e14(0x13a)]},v({'ref':_0x4bd81b,'className':_0x909eb9},_0x4f7355),_0x450c35);});function Dt(_0x1c5ae8,_0x1363a5,_0x5b034e,_0x34f093,_0x3409ef){const _0x12bdb0=_0x8d5cf8;return _0x291c33(_0x1c5ae8[_0x12bdb0(0x2cf)],v(v({'key':_0x1363a5},ki(_0x1c5ae8,_0x5b034e,_0x3409ef)),_0x34f093),(Hi(_0x1c5ae8,_0x5b034e)['children']||[])[_0x12bdb0(0x246)](function(_0x4cc513,_0xe77bb4){const _0x583d5f=_0x12bdb0;return Dt(_0x4cc513,''[_0x583d5f(0x1ac)](_0x1363a5,'-')[_0x583d5f(0x1ac)](_0x1c5ae8['tag'],'-')[_0x583d5f(0x1ac)](_0xe77bb4),_0x5b034e,void 0x0,_0x3409ef);}));}function ki(_0x40ab2f,_0x31d1b2,_0x4022f8){const _0x362424=_0x8d5cf8;var _0x43c236=v({},_0x40ab2f[_0x362424(0x1eb)]);_0x4022f8!=null&&_0x4022f8[_0x362424(0x1e9)]&&_0x43c236['fill']==='colorChannel1'&&(_0x43c236['fill']=_0x4022f8[_0x362424(0x1e9)]),_0x40ab2f[_0x362424(0x2cf)]===_0x362424(0x103)&&_0x43c236['id']&&(_0x43c236['id']=_0x43c236['id']+_0x31d1b2['idSuffix']),Object['entries'](_0x43c236)[_0x362424(0x270)](function(_0x544660){const _0x17364d=_0x362424;var _0x2166c6=_0x544660[0x0],_0x1d0450=_0x544660[0x1];_0x2166c6===_0x17364d(0x103)&&typeof _0x1d0450==_0x17364d(0x10e)&&(_0x43c236[_0x2166c6]=_0x1d0450[_0x17364d(0x156)](/url\(#(.*)\)/,'url(#$1'[_0x17364d(0x1ac)](_0x31d1b2[_0x17364d(0x262)],')')));});var _0x29d829=_0x31d1b2[_0x362424(0x24f)];return!_0x29d829||_0x29d829[_0x362424(0x18a)]===0x0||(_0x40ab2f[_0x362424(0x2cf)]==='use'&&_0x43c236[_0x362424(0x105)]&&(_0x43c236[_0x362424(0x105)]=_0x43c236[_0x362424(0x105)]+_0x31d1b2[_0x362424(0x262)]),Object[_0x362424(0x2d6)](_0x43c236)['forEach'](function(_0x10a0bd){const _0x371c1f=_0x362424;var _0x5b9a2f=_0x10a0bd[0x0],_0x44d528=_0x10a0bd[0x1];typeof _0x44d528==_0x371c1f(0x10e)&&(_0x43c236[_0x5b9a2f]=_0x44d528['replace'](/url\(#(.*)\)/,_0x371c1f(0x217)[_0x371c1f(0x1ac)](_0x31d1b2[_0x371c1f(0x262)],')')));})),_0x43c236;}function Hi(_0x4a1ed0,_0x2ae535){const _0x7d420c=_0x8d5cf8;var _0x506eab,_0x264913=_0x2ae535[_0x7d420c(0x24f)];return!_0x264913||_0x264913[_0x7d420c(0x18a)]===0x0?_0x4a1ed0:_0x4a1ed0['tag']===_0x7d420c(0x223)&&(!((_0x506eab=_0x4a1ed0[_0x7d420c(0x25b)])===null||_0x506eab===void 0x0)&&_0x506eab[_0x7d420c(0x18a)])?v(v({},_0x4a1ed0),{'children':_0x4a1ed0['children'][_0x7d420c(0x246)](function(_0x391afd){const _0x3aec02=_0x7d420c;return typeof _0x391afd[_0x3aec02(0x1eb)]['id']=='string'&&_0x264913&&_0x264913[_0x3aec02(0x265)](_0x391afd['attrs']['id'])?v(v({},_0x391afd),{'attrs':v(v({},_0x391afd['attrs']),{'id':_0x391afd[_0x3aec02(0x1eb)]['id']+_0x2ae535[_0x3aec02(0x262)]})}):_0x391afd;})}):_0x4a1ed0;}function Fi(){const _0x56ea22=_0x8d5cf8;return Math['random']()[_0x56ea22(0x2c5)](0x24)[_0x56ea22(0xfa)](0x2,0x8);}Ye[_0x8d5cf8(0x11b)]=_0x8d5cf8(0x225);var Yi={'tag':_0x8d5cf8(0x24e),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x8d5cf8(0x278),'height':_0x8d5cf8(0x278)},'children':[{'tag':'g','attrs':{'clipPath':_0x8d5cf8(0x2de)},'children':[{'tag':_0x8d5cf8(0x28e),'attrs':{'stroke':_0x8d5cf8(0xf8),'d':_0x8d5cf8(0x1f5),'strokeLinecap':_0x8d5cf8(0x138),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x8d5cf8(0x223),'attrs':{},'children':[{'tag':_0x8d5cf8(0xeb),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x8d5cf8(0x28e),'attrs':{'fill':'white','d':_0x8d5cf8(0x27c)}}]}]}],'defIds':[_0x8d5cf8(0x2b1)]},Nt=_0x3db6fb(function(_0x5674cb,_0x39ed90){const _0x3e1231=_0x8d5cf8;return _0x291c33(Ye,Object['assign']({},_0x5674cb,{'id':_0x3e1231(0x167),'ref':_0x39ed90,'icon':Yi}));});Nt[_0x8d5cf8(0x11b)]='OffLineIcon';var ji={'tag':_0x8d5cf8(0x24e),'attrs':{'xmlns':_0x8d5cf8(0x13c),'fill':_0x8d5cf8(0x298),'viewBox':_0x8d5cf8(0x274),'width':_0x8d5cf8(0x278),'height':_0x8d5cf8(0x278)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x8d5cf8(0x28e),'attrs':{'stroke':_0x8d5cf8(0xf8),'d':_0x8d5cf8(0x2aa),'strokeLinecap':_0x8d5cf8(0x138),'strokeLinejoin':_0x8d5cf8(0x138),'strokeWidth':1.2}}]},{'tag':_0x8d5cf8(0x223),'attrs':{},'children':[{'tag':_0x8d5cf8(0xeb),'attrs':{'id':_0x8d5cf8(0x166)},'children':[{'tag':_0x8d5cf8(0x28e),'attrs':{'fill':'white','d':_0x8d5cf8(0x27c),'transform':_0x8d5cf8(0x282)}}]}]}],'defIds':[_0x8d5cf8(0x166)]},Ut=_0x3db6fb(function(_0xb26422,_0x20ed85){const _0x395ce0=_0x8d5cf8;return _0x291c33(Ye,Object[_0x395ce0(0x20e)]({},_0xb26422,{'id':'on-line-icon','ref':_0x20ed85,'icon':ji}));});Ut[_0x8d5cf8(0x11b)]=_0x8d5cf8(0x220);function Vi(_0x181e02){const _0x238deb=_0x8d5cf8;switch(_0x181e02){case _0xbfaff5['OFFLINE']:return'collabStatus.offline';case _0xbfaff5['CONFLICT']:return'collabStatus.conflict';case _0xbfaff5['FETCH_MISS']:return'collabStatus.fetchMiss';case _0xbfaff5['NOT_COLLAB']:return _0x238deb(0x2c7);case _0xbfaff5[_0x238deb(0x108)]:case _0xbfaff5['AWAITING_WITH_PENDING']:return _0x238deb(0x14e);case _0xbfaff5['SYNCED']:case _0xbfaff5['PENDING']:return _0x238deb(0x159);}}function Wi(_0x24de14){const _0x1b5673=_0x8d5cf8,{status$:_0x16a5a3}=_0x24de14,_0x2c0281=_0x28ae18(_0x16a5a3,_0xbfaff5[_0x1b5673(0x2e1)]),_0x838e5c=_0x23d667(_0x12013b),_0x33b3bb=_0x23d667(_0xffc754),_0x4edebd=_0x2c0281!==_0xbfaff5[_0x1b5673(0x2a1)],_0x5e03d4=_0x838e5c['t'](Vi(_0x2c0281)),_0x2fc303=_0x4edebd?_0x4a0075(Ut,{}):_0x4a0075(Nt,{}),_0x75f5a3=_0x301a37(()=>{const _0x37e24c=_0x1b5673;_0x4edebd||_0x33b3bb[_0x37e24c(0x17c)]();},[_0x4edebd,_0x33b3bb]);function _0x689f40(){const _0x4a3854=_0x1b5673;return _0x40a0f9(_0x4a3854(0x1db),{'className':'univer-flex\x20univer-items-center','onClick':_0x75f5a3,'children':[_0x4a0075(_0x4a3854(0x1db),{'className':_0x46accd(_0x4a3854(0x2bb),{'univer-text-green-500':_0x4edebd,'univer-text-red-500':!_0x4edebd}),'children':_0x2fc303}),_0x4a0075('div',{'className':_0x4a3854(0x16a),'children':_0x5e03d4})]});}return _0x4edebd?_0x689f40():_0x4a0075(_0x4b28d7,{'title':_0x838e5c['t']('collab-client.tooltip.reconnect'),'children':_0x689f40()});}var Xi=Object[_0x8d5cf8(0x23f)],Gi=(_0x17b960,_0x79ab80,_0x599032,_0x4b23bd)=>{const _0x269ab2=_0x8d5cf8;for(var _0xcb85af=_0x4b23bd>0x1?void 0x0:_0x4b23bd?Xi(_0x79ab80,_0x599032):_0x79ab80,_0x4e547f=_0x17b960[_0x269ab2(0x18a)]-0x1,_0x4245f6;_0x4e547f>=0x0;_0x4e547f--)(_0x4245f6=_0x17b960[_0x4e547f])&&(_0xcb85af=_0x4245f6(_0xcb85af)||_0xcb85af);return _0xcb85af;},q=(_0xb6e74a,_0x108a72)=>(_0x2da28c,_0x74f78c)=>_0x108a72(_0x2da28c,_0x74f78c,_0xb6e74a);let se=class extends _0x32e48f{constructor(_0x263061,_0x113d93,_0x30634b,_0xe5d789){const _0x1fd99d=_0x8d5cf8;super(),_(this,_0x1fd99d(0x1ad),new _0xed8a6e(_0xbfaff5['NOT_COLLAB'])),(this[_0x1fd99d(0x13e)]=_0x263061,this[_0x1fd99d(0x21b)]=_0x113d93,this[_0x1fd99d(0x1c9)]=_0x30634b,this[_0x1fd99d(0x22a)]=_0xe5d789,this[_0x1fd99d(0x221)](),this[_0x1fd99d(0x27e)]());}['_initStatusListener'](){const _0x118fab=_0x8d5cf8;this[_0x118fab(0x11e)](this[_0x118fab(0x13e)]['focused$'][_0x118fab(0x141)](_0x1ea62d(()=>{const _0x185d8b=_0x118fab,_0xfa8f1=this[_0x185d8b(0x13e)][_0x185d8b(0x10d)]();return _0xfa8f1?this[_0x185d8b(0x1c9)]['getCollabEntity$'](_0xfa8f1[_0x185d8b(0x248)]()):_0x35c99b(null);}),_0x1ea62d(_0xcbb1a5=>_0xcbb1a5?_0xcbb1a5[_0x118fab(0x228)]:_0x35c99b(_0xbfaff5[_0x118fab(0x2e1)])))[_0x118fab(0x1fe)](_0x2f4eeb=>{this['_status$']['next'](_0x2f4eeb);}));}[_0x8d5cf8(0x221)](){const _0x175232=_0x8d5cf8;this['disposeWithMe'](this[_0x175232(0x22a)][_0x175232(0xfd)](_0x4a708c[_0x175232(0x1bb)],()=>_0x534aa2(Ki({'status$':this['_status$'][_0x175232(0x2e2)]()}),this['_injector'])));}};se=Gi([q(0x0,_0x562792),q(0x1,_0x1a3b2a(_0x4fa6a4)),q(0x2,_0x1a3b2a(_0x3c6559)),q(0x3,_0x471289)],se);function Ki(_0x3a1f4a){const {status$:_0x57f88a}=_0x3a1f4a;return function(){return _0x4a0075(Wi,{'status$':_0x57f88a});};}var zi=Object[_0x8d5cf8(0x23f)],Ji=(_0x15be67,_0x38f4e7,_0x1b9c6e,_0x481c9a)=>{for(var _0x463d0f=_0x481c9a>0x1?void 0x0:_0x481c9a?zi(_0x38f4e7,_0x1b9c6e):_0x38f4e7,_0x55b794=_0x15be67['length']-0x1,_0x48b582;_0x55b794>=0x0;_0x55b794--)(_0x48b582=_0x15be67[_0x55b794])&&(_0x463d0f=_0x48b582(_0x463d0f)||_0x463d0f);return _0x463d0f;},B=(_0x4b9f2d,_0x22d006)=>(_0x12f499,_0x102cf5)=>_0x22d006(_0x12f499,_0x102cf5,_0x4b9f2d);let ie=class extends _0x32e48f{constructor(_0x5df118,_0x175e8f,_0x178a58,_0x50da3c,_0x557284,_0x278238){const _0x524bb7=_0x8d5cf8;super(),this[_0x524bb7(0x2c8)]=_0x5df118,this[_0x524bb7(0x128)]=_0x175e8f,this['_collaborationUIEventService']=_0x178a58,this[_0x524bb7(0x281)]=_0x50da3c,this['_notificationService']=_0x557284,this[_0x524bb7(0x277)]=_0x278238,this[_0x524bb7(0x1dc)](),this[_0x524bb7(0xee)]();}['_setupBeforeClosingHandler'](){const _0x2e816d=_0x8d5cf8;this[_0x2e816d(0x11e)](this[_0x2e816d(0x2c8)][_0x2e816d(0x1c1)](()=>{const _0x45c059=_0x2e816d;if(this[_0x45c059(0x128)]['saveTaskMap'][_0x45c059(0x1af)])return this['_localeService']['t'](_0x45c059(0x1b2));}));}['_initEvent'](){const _0x54ca5c=_0x8d5cf8;this['disposeWithMe'](this[_0x54ca5c(0x110)]['event$'][_0x54ca5c(0x1fe)](_0x5211c4=>{const _0x45ed2f=_0x54ca5c;_0x5211c4['id']===_0x1855d6['OTHER_CLIENT_EDITING']&&this[_0x45ed2f(0x281)][_0x45ed2f(0x115)]({'type':_0x18e795['Warning'],'content':this[_0x45ed2f(0x277)]['t']('collaboration.single-unit.warning')}),_0x5211c4['id']===_0x1855d6['CLOSE_ROOM']&&this['_messageService']['show']({'type':_0x18e795[_0x45ed2f(0xf5)],'content':this[_0x45ed2f(0x277)]['t'](_0x45ed2f(0x15c))}),_0x5211c4['id']===_0x1855d6[_0x45ed2f(0x2db)]&&this[_0x45ed2f(0x212)][_0x45ed2f(0x115)]({'title':this['_localeService']['t'](_0x45ed2f(0x18e)),'content':this[_0x45ed2f(0x277)]['t'](_0x45ed2f(0x1c2)),'type':_0x45ed2f(0x26b),'duration':0x0}),_0x5211c4['id']===_0x1855d6['CONFLICT']&&this['_messageService'][_0x45ed2f(0x115)]({'type':_0x18e795[_0x45ed2f(0x250)],'content':this[_0x45ed2f(0x277)]['t'](_0x45ed2f(0x15c))+'('+_0x5211c4[_0x45ed2f(0x152)]+')'}),_0x5211c4['id']===_0x1855d6[_0x45ed2f(0x258)]&&this[_0x45ed2f(0x281)][_0x45ed2f(0x115)]({'type':_0x18e795['Warning'],'content':this[_0x45ed2f(0x277)]['t'](_0x5211c4[_0x45ed2f(0x152)]||'')}),_0x5211c4['id']===_0x1855d6[_0x45ed2f(0x293)]&&this[_0x45ed2f(0x281)][_0x45ed2f(0x115)]({'type':_0x18e795[_0x45ed2f(0xf5)],'content':this['_localeService']['t'](_0x45ed2f(0x29b))}),_0x5211c4['id']===_0x1855d6[_0x45ed2f(0x1df)]&&this['_messageService'][_0x45ed2f(0x115)]({'type':_0x18e795[_0x45ed2f(0x250)],'content':this[_0x45ed2f(0x277)]['t'](_0x45ed2f(0x197))}),_0x5211c4['id']===_0x1855d6[_0x45ed2f(0x196)]&&this[_0x45ed2f(0x281)][_0x45ed2f(0x115)]({'type':_0x18e795['Error'],'content':this[_0x45ed2f(0x277)]['t'](_0x45ed2f(0x2a2))});}));}};ie=Ji([B(0x0,_0x6d8e30),B(0x1,_0x483b5d),B(0x2,_0x1a3b2a(_0xa818b3)),B(0x3,_0x4fe881),B(0x4,_0x3b9eb4),B(0x5,_0x1a3b2a(_0x12013b))],ie);const Zi=_0x8d5cf8(0x26a),tt={},Mt=_0xe3ec3b(_0x8d5cf8(0x2c4));var Qi=Object[_0x8d5cf8(0x23f)],qi=(_0x351888,_0x23ce99,_0x249504,_0x2e109f)=>{const _0x3bc885=_0x8d5cf8;for(var _0x1eedd1=_0x2e109f>0x1?void 0x0:_0x2e109f?Qi(_0x23ce99,_0x249504):_0x23ce99,_0x45b7ef=_0x351888[_0x3bc885(0x18a)]-0x1,_0x322bf0;_0x45b7ef>=0x0;_0x45b7ef--)(_0x322bf0=_0x351888[_0x45b7ef])&&(_0x1eedd1=_0x322bf0(_0x1eedd1)||_0x1eedd1);return _0x1eedd1;},K=(_0x2bfba7,_0x22d3db)=>(_0x3efd90,_0x59bd8a)=>_0x22d3db(_0x3efd90,_0x59bd8a,_0x2bfba7);let ne=class extends _0x3c867d{constructor(_0x2d58fc,_0x394075,_0x5d277c,_0x295eb7,_0x200b7b){const _0xd4ac44=_0x8d5cf8;super(),this[_0xd4ac44(0x23b)]=_0x2d58fc,this[_0xd4ac44(0x126)]=_0x394075,this[_0xd4ac44(0x218)]=_0x5d277c,this[_0xd4ac44(0x130)]=_0x295eb7,_0x200b7b?_0x200b7b==null||_0x200b7b[_0xd4ac44(0x25e)]()['then'](()=>this[_0xd4ac44(0x2e4)]()):(this[_0xd4ac44(0x126)][_0xd4ac44(0x22b)]('[CollaborationDataLoaderController]',_0xd4ac44(0x27d)),this[_0xd4ac44(0x2e4)]());}async['_init'](){const _0x3fb31f=_0x8d5cf8,_0x830253=this[_0x3fb31f(0x23b)][_0x3fb31f(0xff)]('unit'),_0x59ba73=this['_urlService']['getParam'](_0x3fb31f(0x122)),_0xbc21dc=this['_urlService'][_0x3fb31f(0xff)](_0x3fb31f(0x2c6));if(!_0x830253||!_0x59ba73){this['_logService'][_0x3fb31f(0x22b)](_0x3fb31f(0x195),_0x3fb31f(0x1b3));return;}const _0x51ec74=await this['_dataLoaderService'][_0x3fb31f(0x14d)](_0x830253,Number(_0x59ba73),_0xbc21dc);_0x51ec74&&_0x51ec74 instanceof _0x25a725&&this[_0x3fb31f(0x142)](_0x51ec74);}async[_0x8d5cf8(0x142)](_0x5bb27d){const _0x205013=_0x8d5cf8;await this[_0x205013(0x224)](_0x5bb27d),_0x5bb27d[_0x205013(0x124)][_0x205013(0x141)](_0x1316d6(this[_0x205013(0xf6)]))[_0x205013(0x1fe)](_0x11f74f=>{_0x11f74f&&this['_updateURLWithCurrentState'](_0x11f74f);}),this[_0x205013(0x23b)]['urlChange$'][_0x205013(0x141)](_0x1316d6(this['dispose$']))['subscribe'](()=>this[_0x205013(0x224)](_0x5bb27d));}[_0x8d5cf8(0x214)](_0x5eb2f4,_0x6614e3=!0x1){const _0x2ccafa=_0x8d5cf8,_0x166d35=this[_0x2ccafa(0x23b)]['getParam']('subunit');_0x5eb2f4[_0x2ccafa(0x1b8)]()!==_0x166d35&&this['_urlService'][_0x2ccafa(0x1c8)](_0x2ccafa(0x2c6),_0x5eb2f4[_0x2ccafa(0x1b8)](),_0x6614e3);}async[_0x8d5cf8(0x224)](_0x229d3c){const _0x2ec91e=_0x8d5cf8;var _0x5a58c6;const _0x500481=this[_0x2ec91e(0x23b)][_0x2ec91e(0xff)](_0x2ec91e(0x2c6));if(!_0x500481||!_0x229d3c['getSheetBySheetId'](_0x500481)){const _0x32e0dc=_0x229d3c['getUnhiddenWorksheets']()[0x0],_0x26a8a1=_0x229d3c[_0x2ec91e(0x1ec)](_0x32e0dc);if(!_0x26a8a1)return;this[_0x2ec91e(0x214)](_0x26a8a1,!0x0),await this[_0x2ec91e(0x218)][_0x2ec91e(0x10a)](_0x9b6d2b['id'],{'unitId':_0x229d3c[_0x2ec91e(0x248)](),'subUnitId':_0x32e0dc});return;}((_0x5a58c6=_0x229d3c[_0x2ec91e(0x275)]())==null?void 0x0:_0x5a58c6[_0x2ec91e(0x1b8)]())!==_0x500481&&await this['_commandService'][_0x2ec91e(0x10a)](_0x9b6d2b['id'],{'unitId':_0x229d3c['getUnitId'](),'subUnitId':_0x500481});}};ne=qi([K(0x0,Mt),K(0x1,_0x30d796),K(0x2,_0x1ea0fe),K(0x3,_0x1a3b2a(_0x5c323b)),K(0x4,_0x5e8d02(_0x5f5a54))],ne);var en=Object[_0x8d5cf8(0x23f)],tn=(_0x39ccbf,_0x48f6d0,_0x2d485e,_0xfe0573)=>{const _0x125eef=_0x8d5cf8;for(var _0x187287=_0xfe0573>0x1?void 0x0:_0xfe0573?en(_0x48f6d0,_0x2d485e):_0x48f6d0,_0x21d7a6=_0x39ccbf[_0x125eef(0x18a)]-0x1,_0x41e85c;_0x21d7a6>=0x0;_0x21d7a6--)(_0x41e85c=_0x39ccbf[_0x21d7a6])&&(_0x187287=_0x41e85c(_0x187287)||_0x187287);return _0x187287;},Ce=(_0x37760a,_0x330b1c)=>(_0x342131,_0x3cfae3)=>_0x330b1c(_0x342131,_0x3cfae3,_0x37760a);let re=class{constructor(_0x1c3938,_0x46fce6,_0x2f2514){const _0x4eae21=_0x8d5cf8;this[_0x4eae21(0x21b)]=_0x1c3938,this[_0x4eae21(0x219)]=_0x46fce6,this[_0x4eae21(0x107)]=_0x2f2514;}['transformIMECache'](_0x512283){const _0x5e87eb=_0x8d5cf8;this[_0x5e87eb(0x1ee)](_0x512283),this[_0x5e87eb(0x1f0)](_0x512283);}[_0x8d5cf8(0x2cd)](_0x16eecc){const _0x2e0d94=_0x8d5cf8,{unitID:_0x7cff02}=_0x16eecc,_0x268296=this[_0x2e0d94(0x107)][_0x2e0d94(0x203)](_0x7cff02)[_0x2e0d94(0x172)](_0x47c70f),{redoCache:_0x188ba8}=_0x268296[_0x2e0d94(0x113)]();if(_0x188ba8[_0x2e0d94(0x18a)]===0x0)return _0x16eecc;let _0x124a3d=_0x5056d7['deepClone'](_0x16eecc[_0x2e0d94(0x135)][0x0]);for(let _0x1f2c82=0x0;_0x1f2c82<_0x188ba8[_0x2e0d94(0x18a)];_0x1f2c82++){const _0x384567={'id':_0x2e0d94(0x127),'params':{..._0x188ba8[_0x1f2c82]}},_0x4dd6e3=this[_0x2e0d94(0x219)][_0x2e0d94(0x283)](_0x124a3d,_0x384567,!0x1);if(_0xc0c83d(_0x4dd6e3))throw _0x4dd6e3[_0x2e0d94(0x26b)];_0x124a3d=_0x4dd6e3['m1Prime'];}return{..._0x5056d7[_0x2e0d94(0x111)](_0x16eecc),'mutations':[_0x124a3d]};}[_0x8d5cf8(0x1ee)](_0x5af8a9){const _0x2c73c9=_0x8d5cf8,{unitID:_0x138a3b}=_0x5af8a9,_0x2acc4b=this[_0x2c73c9(0x107)][_0x2c73c9(0x203)](_0x138a3b)[_0x2c73c9(0x172)](_0x47c70f),{undoCache:_0x54ef7e,redoCache:_0x117d7c}=_0x2acc4b[_0x2c73c9(0x113)]();if(_0x54ef7e[_0x2c73c9(0x18a)]===0x0||_0x117d7c[_0x2c73c9(0x18a)]===0x0)return;const _0x47608a=[],_0x4df027=[];let _0x73b456=_0x5056d7[_0x2c73c9(0x111)](_0x5af8a9[_0x2c73c9(0x135)][0x0]),_0xcfdc8d=_0x5056d7[_0x2c73c9(0x111)](_0x5af8a9['mutations'][0x0]);for(let _0x47e9d3=_0x54ef7e['length']-0x1;_0x47e9d3>=0x0;_0x47e9d3--){const _0x3b15da={'id':_0x2c73c9(0x127),'params':{..._0x54ef7e[_0x47e9d3]}},_0x4e51b3={'id':_0x2c73c9(0x127),'params':{..._0x117d7c[_0x47e9d3]}},_0x1af882=this['_transformService'][_0x2c73c9(0x283)](_0x73b456,_0x3b15da,!0x1),_0xde462e=this[_0x2c73c9(0x219)]['transformMutation'](_0xcfdc8d,_0x4e51b3,!0x1);if(_0xc0c83d(_0x1af882))throw _0x1af882[_0x2c73c9(0x26b)];if(_0xc0c83d(_0xde462e))throw _0xde462e[_0x2c73c9(0x26b)];_0x47608a[_0x2c73c9(0xfc)](_0x1af882[_0x2c73c9(0x1e4)][_0x2c73c9(0x286)]),_0x4df027['unshift'](_0xde462e[_0x2c73c9(0x1e4)][_0x2c73c9(0x286)]),_0x73b456=_0x1af882['m1Prime'],_0xcfdc8d=_0xde462e[_0x2c73c9(0x213)];}_0x2acc4b['setUndoRedoMutationParamsCache']({'undoCache':_0x47608a,'redoCache':_0x4df027});}['_transformPreviousActiveRange'](_0x17539e){const _0x58e392=_0x8d5cf8,{unitID:_0x155d9a}=_0x17539e,_0x3a3535=this[_0x58e392(0x107)][_0x58e392(0x203)](_0x155d9a)[_0x58e392(0x172)](_0x47c70f),_0x323c3f=_0x3a3535[_0x58e392(0x19f)]();if(_0x323c3f==null)return;const _0x5adb5f=[{'id':_0x58e392(0x127),'params':{'unitId':_0x17539e[_0x58e392(0x18f)],'actions':null,'textRanges':[_0x323c3f]}}],_0x297936=this[_0x58e392(0x219)][_0x58e392(0x198)](_0x17539e,_0x5adb5f);if(!_0x29221a(_0x297936))throw _0x297936['error'];const _0x248cbe=_0x297936[_0x58e392(0x1e4)][0x0][_0x58e392(0x286)][_0x58e392(0x119)];Array[_0x58e392(0xe7)](_0x248cbe)&&_0x248cbe[_0x58e392(0x18a)]&&_0x3a3535['setActiveRange'](_0x248cbe[0x0]);}};re=tn([Ce(0x0,_0x1a3b2a(_0x4fa6a4)),Ce(0x1,_0x1f39b3),Ce(0x2,_0x188bfb)],re);var sn=Object[_0x8d5cf8(0x23f)],nn=(_0x311c5c,_0x36eecb,_0x3738fb,_0x3d026f)=>{const _0x2c6d19=_0x8d5cf8;for(var _0x48ce96=_0x3d026f>0x1?void 0x0:_0x3d026f?sn(_0x36eecb,_0x3738fb):_0x36eecb,_0x5cf8d0=_0x311c5c[_0x2c6d19(0x18a)]-0x1,_0x5706ab;_0x5cf8d0>=0x0;_0x5cf8d0--)(_0x5706ab=_0x311c5c[_0x5cf8d0])&&(_0x48ce96=_0x5706ab(_0x48ce96)||_0x48ce96);return _0x48ce96;},Ee=(_0x4b65b9,_0x309291)=>(_0x564130,_0x4ae08f)=>_0x309291(_0x564130,_0x4ae08f,_0x4b65b9);let oe=class{constructor(_0xb4466,_0x3dac05,_0x3a4bf7){const _0x2e2827=_0x8d5cf8;this['_injector']=_0xb4466,this[_0x2e2827(0x219)]=_0x3dac05,this[_0x2e2827(0x1a0)]=_0x3a4bf7;}[_0x8d5cf8(0x169)](_0x58ee70){const _0xb3cf35=_0x8d5cf8;this[_0xb3cf35(0x251)](_0x58ee70);}[_0x8d5cf8(0x2cd)](_0x221d9e){const _0x50e386=_0x8d5cf8,{unitID:_0x136df4}=_0x221d9e,{collaboration:_0x2c6b04}=this[_0x50e386(0x1a0)][_0x50e386(0x151)](_0x136df4);if(_0x2c6b04[_0x50e386(0x18a)]===0x0)return _0x221d9e;let _0x22efd1=_0x5056d7[_0x50e386(0x111)](_0x221d9e[_0x50e386(0x135)][0x0]);for(let _0x2621c4=0x0;_0x2621c4<_0x2c6b04[_0x50e386(0x18a)];_0x2621c4++){const _0x1033ca={'id':_0x50e386(0x127),'params':{'unitId':_0x2c6b04[_0x2621c4]['unitId'],..._0x2c6b04[_0x2621c4]['redoState']}},_0x2b7652=this[_0x50e386(0x219)]['transformMutation'](_0x22efd1,_0x1033ca,!0x1);if(_0xc0c83d(_0x2b7652))throw _0x2b7652[_0x50e386(0x26b)];_0x22efd1=_0x2b7652[_0x50e386(0x213)];}return{..._0x5056d7[_0x50e386(0x111)](_0x221d9e),'mutations':[_0x22efd1]};}[_0x8d5cf8(0x251)](_0x4a7039){const _0x217254=_0x8d5cf8,{unitID:_0x18ec1a}=_0x4a7039,{history:_0x11aef8,collaboration:_0x425a53}=this[_0x217254(0x1a0)][_0x217254(0x151)](_0x18ec1a);if(_0x11aef8[_0x217254(0x18a)]===0x0&&_0x425a53[_0x217254(0x18a)]===0x0)return;const _0x1101de=[],_0x380330=[];let _0x3d7cc5=_0x5056d7[_0x217254(0x111)](_0x4a7039[_0x217254(0x135)][0x0]),_0x58cad5=_0x5056d7['deepClone'](_0x4a7039[_0x217254(0x135)][0x0]);for(let _0x23e167=_0x11aef8[_0x217254(0x18a)]-0x1;_0x23e167>=0x0;_0x23e167--){const _0xbfee0b={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x11aef8[_0x23e167][_0x217254(0x2a8)],..._0x11aef8[_0x23e167][_0x217254(0x155)]}},_0x4dd6d6={'id':_0x217254(0x127),'params':{'unitId':_0x11aef8[_0x23e167][_0x217254(0x2a8)],..._0x11aef8[_0x23e167][_0x217254(0x2be)]}},_0x1c5c76=this[_0x217254(0x219)][_0x217254(0x283)](_0x3d7cc5,_0xbfee0b,!0x1),_0x4dd999=this['_transformService'][_0x217254(0x283)](_0x58cad5,_0x4dd6d6,!0x1);if(_0xc0c83d(_0x1c5c76))throw _0x1c5c76['error'];if(_0xc0c83d(_0x4dd999))throw _0x4dd999[_0x217254(0x26b)];_0x1101de[_0x217254(0xfc)]({..._0x11aef8[_0x23e167],'undoState':_0x1c5c76[_0x217254(0x1e4)]['params'],'redoState':_0x4dd999['m2Prime'][_0x217254(0x286)]}),_0x3d7cc5=_0x1c5c76[_0x217254(0x213)],_0x58cad5=_0x4dd999[_0x217254(0x213)];}_0x3d7cc5=_0x5056d7[_0x217254(0x111)](_0x4a7039[_0x217254(0x135)][0x0]),_0x58cad5=_0x5056d7[_0x217254(0x111)](_0x4a7039[_0x217254(0x135)][0x0]);for(let _0x4c30d6=_0x425a53[_0x217254(0x18a)]-0x1;_0x4c30d6>=0x0;_0x4c30d6--){const _0x2a66d8={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x425a53[_0x4c30d6][_0x217254(0x2a8)],..._0x425a53[_0x4c30d6]['undoState']}},_0x17f167={'id':_0x217254(0x127),'params':{'unitId':_0x425a53[_0x4c30d6]['unitId'],..._0x425a53[_0x4c30d6][_0x217254(0x2be)]}},_0x52825c=this[_0x217254(0x219)]['transformMutation'](_0x3d7cc5,_0x2a66d8,!0x1),_0x8b62d4=this[_0x217254(0x219)][_0x217254(0x283)](_0x58cad5,_0x17f167,!0x1);if(_0xc0c83d(_0x52825c))throw _0x52825c['error'];if(_0xc0c83d(_0x8b62d4))throw _0x8b62d4[_0x217254(0x26b)];_0x380330[_0x217254(0xfc)]({..._0x425a53[_0x4c30d6],'undoState':_0x52825c[_0x217254(0x1e4)][_0x217254(0x286)],'redoState':_0x8b62d4[_0x217254(0x1e4)][_0x217254(0x286)]}),_0x3d7cc5=_0x52825c[_0x217254(0x213)],_0x58cad5=_0x8b62d4[_0x217254(0x213)];}this[_0x217254(0x1a0)][_0x217254(0x253)](_0x18ec1a,{'history':_0x1101de,'collaboration':_0x380330});}};oe=nn([Ee(0x0,_0x1a3b2a(_0x4fa6a4)),Ee(0x1,_0x1f39b3),Ee(0x2,_0x1a3b2a(_0xc2758c))],oe);var rn=Object[_0x8d5cf8(0x23f)],on=(_0x2c4433,_0x43d49d,_0x171509,_0x5005f9)=>{const _0x1337ad=_0x8d5cf8;for(var _0x21fccf=_0x5005f9>0x1?void 0x0:_0x5005f9?rn(_0x43d49d,_0x171509):_0x43d49d,_0x3a6fa0=_0x2c4433[_0x1337ad(0x18a)]-0x1,_0x4d871b;_0x3a6fa0>=0x0;_0x3a6fa0--)(_0x4d871b=_0x2c4433[_0x3a6fa0])&&(_0x21fccf=_0x4d871b(_0x21fccf)||_0x21fccf);return _0x21fccf;},st=(_0x4de6d2,_0x250b52)=>(_0x360389,_0x3fcb26)=>_0x250b52(_0x360389,_0x3fcb26,_0x4de6d2);let ae=class{constructor(_0x416c5d,_0x30158a){const _0x4ede0b=_0x8d5cf8;this['_injector']=_0x416c5d,this[_0x4ede0b(0x219)]=_0x30158a;}[_0x8d5cf8(0x2b0)](_0x4b4851){const _0x31c6bc=_0x8d5cf8;var _0x5aed86;const _0x4936c9=this['_injector'][_0x31c6bc(0x1d0)](_0x23c6c6),_0x2c0638=(_0x5aed86=_0x4936c9['getDocRanges']())!=null?_0x5aed86:[];if(_0x2c0638['length']===0x0)return;const _0x2c1568=_0x4b4851[_0x31c6bc(0x18f)],_0x7b31b5=[{'id':_0x31c6bc(0x127),'params':{'unitId':_0x2c1568,'actions':null,'textRanges':_0x2c0638}}],_0x31b4cf=this[_0x31c6bc(0x219)]['transformMutationsWithChangeset'](_0x4b4851,_0x7b31b5);if(!_0x29221a(_0x31b4cf))throw _0x31b4cf[_0x31c6bc(0x26b)];const _0x209f84=_0x31b4cf[_0x31c6bc(0x1e4)][0x0][_0x31c6bc(0x286)][_0x31c6bc(0x119)];Array[_0x31c6bc(0xe7)](_0x209f84)&&_0x209f84[_0x31c6bc(0x18a)]&&_0x4936c9[_0x31c6bc(0x206)](_0x209f84,{'unitId':_0x2c1568,'subUnitId':_0x2c1568},!0x1);}};ae=on([st(0x0,_0x1a3b2a(_0x4fa6a4)),st(0x1,_0x1f39b3)],ae);var an=Object[_0x8d5cf8(0x23f)],cn=(_0x5b2e18,_0x5345ea,_0x4bcb4d,_0x30b1f2)=>{const _0x571530=_0x8d5cf8;for(var _0x34c57b=_0x30b1f2>0x1?void 0x0:_0x30b1f2?an(_0x5345ea,_0x4bcb4d):_0x5345ea,_0x2b2ba9=_0x5b2e18[_0x571530(0x18a)]-0x1,_0x546b07;_0x2b2ba9>=0x0;_0x2b2ba9--)(_0x546b07=_0x5b2e18[_0x2b2ba9])&&(_0x34c57b=_0x546b07(_0x34c57b)||_0x34c57b);return _0x34c57b;},U=(_0x1619b9,_0x384811)=>(_0xcfab36,_0x4d94b0)=>_0x384811(_0xcfab36,_0x4d94b0,_0x1619b9);let ce=class extends _0x32e48f{constructor(_0x3a64c2,_0x4b5703,_0x26f655,_0x564129,_0x4913a9,_0x1f6996,_0x25a9a9,_0x40efdd){const _0xe5bf54=_0x8d5cf8;super(),_(this,_0xe5bf54(0x1ad),new _0xed8a6e(_0xbfaff5[_0xe5bf54(0x2e1)])),(this[_0xe5bf54(0x1a0)]=_0x3a64c2,this[_0xe5bf54(0x1c9)]=_0x4b5703,this['_docTransformIMECacheService']=_0x26f655,this['_docTransformStateCacheService']=_0x564129,this[_0xe5bf54(0x25d)]=_0x4913a9,this['_docSyncEditingCollabCursorService']=_0x1f6996,this[_0xe5bf54(0x281)]=_0x25a9a9,this[_0xe5bf54(0x277)]=_0x40efdd,this[_0xe5bf54(0x1bc)]());}[_0x8d5cf8(0x1bc)](){const _0x3f50de=_0x8d5cf8;this[_0x3f50de(0x11e)](this[_0x3f50de(0x1c9)]['entityInit$'][_0x3f50de(0x1fe)](_0x12dd37=>{const _0x395761=_0x3f50de,_0x20948b=this[_0x395761(0x1a0)]['docStateChange$'][_0x395761(0x1fe)](_0x4f2a8b=>{const _0x203866=_0x395761;if(_0x4f2a8b==null)return;const {unitId:_0x167906,redoState:_0x3ae8c8,commandId:_0x181737}=_0x4f2a8b;if(_0x167906!==_0x12dd37[_0x203866(0x18f)])return;const _0x4d1cc5={'id':_0x181737,'type':_0x18088c[_0x203866(0x145)],'params':{'unitId':_0x167906,'actions':_0x3ae8c8[_0x203866(0x29a)],'textRanges':null}};_0x12dd37['onLocalMutation'](_0x4d1cc5);});if(_0x12dd37['disposeWithMe'](_0x20948b),_0x12dd37 instanceof _0x67c9bf){const _0x16230b={'onTransformIME':_0x1dc276=>this[_0x395761(0x2d2)][_0x395761(0x136)](_0x1dc276),'onTransformState':_0x495735=>this[_0x395761(0x174)][_0x395761(0x169)](_0x495735),'onTransformSelections':_0x2e1d47=>this[_0x395761(0x25d)]['transformSelections'](_0x2e1d47),'onSyncEditingCollabCursor':_0x2de4c8=>this[_0x395761(0x204)][_0x395761(0x29f)](_0x2de4c8),'onTransformRemoteChangesetByIMECache':_0x317fd8=>this[_0x395761(0x2d2)][_0x395761(0x2cd)](_0x317fd8),'onTransformRemoteChangesetByStateCache':_0x5a69fb=>this[_0x395761(0x174)]['transformRemoteChangeset'](_0x5a69fb)};_0x12dd37[_0x395761(0x2a7)](_0x16230b);}}));}};ce=cn([U(0x0,_0x1a3b2a(_0xc2758c)),U(0x1,_0x1a3b2a(_0x3c6559)),U(0x2,_0x1a3b2a(re)),U(0x3,_0x1a3b2a(oe)),U(0x4,_0x1a3b2a(ae)),U(0x5,_0x1a3b2a(Fe)),U(0x6,_0x4fe881),U(0x7,_0x1a3b2a(_0x12013b))],ce);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x5b1a5b,_0x7b8410,_0x2762e7,_0x365c78)=>{const _0x2a8bcb=_0x8d5cf8;for(var _0x2fb0b0=_0x365c78>0x1?void 0x0:_0x365c78?ln(_0x7b8410,_0x2762e7):_0x7b8410,_0xe8cdd6=_0x5b1a5b[_0x2a8bcb(0x18a)]-0x1,_0x1e6b98;_0xe8cdd6>=0x0;_0xe8cdd6--)(_0x1e6b98=_0x5b1a5b[_0xe8cdd6])&&(_0x2fb0b0=_0x1e6b98(_0x2fb0b0)||_0x2fb0b0);return _0x2fb0b0;},Oe=(_0x1f72b5,_0x23453c)=>(_0xc70bb1,_0x4ff676)=>_0x23453c(_0xc70bb1,_0x4ff676,_0x1f72b5);let Ae=class extends _0x32e48f{constructor(_0x152a51,_0x552332,_0x24778f){const _0x3c7b0b=_0x8d5cf8;super(),_(this,_0x3c7b0b(0x14c),new Map()),_(this,_0x3c7b0b(0x22e),new Map()),_(this,'_disabled',!0x1),(this['_configService']=_0x152a51,this['_localStorageService']=_0x552332,this[_0x3c7b0b(0x26c)]=_0x24778f);}[_0x8d5cf8(0x229)](){const _0x7aad62=_0x8d5cf8;this[_0x7aad62(0x288)]=!0x0;}[_0x8d5cf8(0xe3)](){const _0x3bba02=_0x8d5cf8;this[_0x3bba02(0x288)]=!0x1;}get[_0x8d5cf8(0x134)](){return this['_saveTaskMap'];}[_0x8d5cf8(0x22d)](){const _0x177f29=_0x8d5cf8;this[_0x177f29(0x260)]()[_0x177f29(0x16d)](()=>super['dispose']());}async[_0x8d5cf8(0x15a)](_0x3d1980){const _0x4fd5e4=_0x8d5cf8;return this[_0x4fd5e4(0x288)]?null:this['_localStorageService'][_0x4fd5e4(0x215)](_0x200d8a(_0x3d1980));}async['saveOfflineData'](_0x1d6639,_0x4aec6f){const _0x575a93=_0x8d5cf8;return!!this[_0x575a93(0x2b7)][_0x575a93(0x1d6)](_0x1d6639,_0x4aec6f);}['updateOfflineData'](_0x374eff,_0x4ee14c,_0xebe9e5,_0x19ef97){const _0x484c57=_0x8d5cf8,_0x21c036=this[_0x484c57(0x26c)][_0x484c57(0x199)](_0x374eff);this['_cachedData'][_0x484c57(0xfe)](_0x374eff,{'unitID':_0x374eff,'type':_0x4ee14c,'awaitingChangeset':_0xebe9e5,'mutations':_0x19ef97,'rev':_0x21c036}),this[_0x484c57(0x22e)][_0x484c57(0x1d1)](_0x374eff)||this[_0x484c57(0x2c1)](_0x374eff);}[_0x8d5cf8(0x2c1)](_0x4abdd1){const _0x2d80e4=_0x8d5cf8,_0x29c059=this[_0x2d80e4(0x1da)]();_0x29c059===0x0?this[_0x2d80e4(0x14f)](_0x4abdd1):this[_0x2d80e4(0x22e)]['set'](_0x4abdd1,setTimeout(()=>this['_saveCache'](_0x4abdd1),_0x29c059));}[_0x8d5cf8(0x1da)](){const _0x16e882=_0x8d5cf8;var _0x3acb7f;return(_0x3acb7f=this[_0x16e882(0x1a4)][_0x16e882(0x1b5)](_0x240bb3))!=null?_0x3acb7f:_0x1a33e5;}[_0x8d5cf8(0x14f)](_0x110518){const _0x5e20cd=_0x8d5cf8,_0x12c5b1=this[_0x5e20cd(0x22e)][_0x5e20cd(0x1d0)](_0x110518);return _0x12c5b1!==void 0x0&&window[_0x5e20cd(0x28a)](_0x12c5b1),this[_0x5e20cd(0x2b7)][_0x5e20cd(0x1d6)](_0x200d8a(_0x110518),this['_cachedData'][_0x5e20cd(0x1d0)](_0x110518))['then'](()=>this['_saveTaskMap']['delete'](_0x110518));}async['exhaustSavingTask'](){const _0x38f91e=_0x8d5cf8,_0x5afae8=[];this[_0x38f91e(0x22e)]['forEach']((_0x5cf65d,_0x25d267)=>{const _0x17651c=_0x38f91e;window[_0x17651c(0x28a)](_0x5cf65d),_0x5afae8[_0x17651c(0x2cc)](this[_0x17651c(0x14f)](_0x25d267)['then'](()=>{const _0x56a708=_0x17651c;this[_0x56a708(0x22e)]['delete'](_0x25d267);}));}),await Promise['all'](_0x5afae8);}};Ae=_n([Oe(0x0,_0xe1599c),Oe(0x1,_0x5af182),Oe(0x2,_0x1a3b2a(_0x2809e3))],Ae);class hn extends _0x3c867d{constructor(){const _0xd6ecd5=_0x8d5cf8;super(),_(this,_0xd6ecd5(0x12b)),this[_0xd6ecd5(0x12b)]=_0x517a35(window,_0xd6ecd5(0x19b))[_0xd6ecd5(0x141)](_0x1316d6(this['dispose$']),_0x18cde6(0x1),_0x9e94d0(void 0x0));}['setParam'](_0x49228e,_0x59fdd6,_0xc2b993=!0x1){const _0x4c4498=_0x8d5cf8,_0x224fa4=new URL(window[_0x4c4498(0x1b9)][_0x4c4498(0x154)]);_0x224fa4[_0x4c4498(0x29d)]['set'](_0x49228e,_0x59fdd6),_0xc2b993?window[_0x4c4498(0x100)][_0x4c4498(0x2e5)]('','',_0x224fa4[_0x4c4498(0x2c5)]()):window[_0x4c4498(0x100)][_0x4c4498(0x233)]('','',_0x224fa4[_0x4c4498(0x2c5)]());}[_0x8d5cf8(0x181)](_0x8e15a8,_0x2dd2db=!0x1){const _0x19306f=_0x8d5cf8,_0x539539=new URL(window[_0x19306f(0x1b9)][_0x19306f(0x154)]);_0x539539['searchParams']['delete'](_0x8e15a8),_0x2dd2db?window[_0x19306f(0x100)]['replaceState']('','',_0x539539['toString']()):window[_0x19306f(0x100)]['pushState']('','',_0x539539[_0x19306f(0x2c5)]());}[_0x8d5cf8(0xff)](_0x22cc8a){const _0xc4eb70=_0x8d5cf8;var _0x488fde;return(_0x488fde=new URL(window[_0xc4eb70(0x1b9)]['href'])[_0xc4eb70(0x29d)][_0xc4eb70(0x1d0)](_0x22cc8a))!=null?_0x488fde:void 0x0;}}var un=Object['defineProperty'],dn=Object[_0x8d5cf8(0x23f)],fn=(_0x5bbaa5,_0x41ed03,_0x347bbe)=>_0x41ed03 in _0x5bbaa5?un(_0x5bbaa5,_0x41ed03,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x347bbe}):_0x5bbaa5[_0x41ed03]=_0x347bbe,Sn=(_0x5f4d0e,_0x8fda9b,_0x1217e0,_0x19d6a1)=>{const _0x326fcd=_0x8d5cf8;for(var _0x320972=_0x19d6a1>0x1?void 0x0:_0x19d6a1?dn(_0x8fda9b,_0x1217e0):_0x8fda9b,_0x11ac7=_0x5f4d0e[_0x326fcd(0x18a)]-0x1,_0x25457c;_0x11ac7>=0x0;_0x11ac7--)(_0x25457c=_0x5f4d0e[_0x11ac7])&&(_0x320972=_0x25457c(_0x320972)||_0x320972);return _0x320972;},be=(_0x53027f,_0x334c76)=>(_0x2c4710,_0x4ea046)=>_0x334c76(_0x2c4710,_0x4ea046,_0x53027f),mn=(_0x57f1ee,_0x420ec6,_0x1656df)=>fn(_0x57f1ee,_0x420ec6+'',_0x1656df);const In=_0x8d5cf8(0x292);let ye=class extends _0x298542{constructor(_0x37b55b=tt,_0x25598b,_0x477521,_0x4564b5){const _0x837f13=_0x8d5cf8;super(),this['_config']=_0x37b55b,this[_0x837f13(0x107)]=_0x25598b,this['_injector']=_0x477521,this['_configService']=_0x4564b5;const {..._0x2b4284}=_0x410ec3({},tt,this[_0x837f13(0x227)]);this[_0x837f13(0x1a4)][_0x837f13(0x24c)](Zi,_0x2b4284);}[_0x8d5cf8(0x19e)](){const _0xe484d4=_0x8d5cf8;this[_0xe484d4(0x16f)](),this[_0xe484d4(0x27b)]();}[_0x8d5cf8(0x2ba)](){const _0x36245b=_0x8d5cf8;this[_0x36245b(0x2e0)]();}['_registerDependencies'](){const _0x485f51=_0x8d5cf8;var _0x5719a8;const _0x258264=[[He],[ae],[re],[oe],[Fe],[Mt,{'useClass':hn}],[_0x5c790c,{'useClass':_0x7fdf5b}],[_0x483b5d,{'useClass':Ae}],[se],[ce],[ie],[F],[Ue],[ne]];_0x308788(this[_0x485f51(0x21b)],_0x122e9c(_0x258264,(_0x5719a8=this[_0x485f51(0x227)])==null?void 0x0:_0x5719a8[_0x485f51(0x1a9)]));}[_0x8d5cf8(0x2e0)](){const _0x349232=_0x8d5cf8;this[_0x349232(0x11e)](this['_renderManagerService']['registerRenderModule'](_0x536f1d[_0x349232(0x184)],[Pe])),this[_0x349232(0x11e)](this['_renderManagerService']['registerRenderModule'](_0x536f1d[_0x349232(0x241)],[we]));}['_initDependencies'](){_0x4c4c3f(this['_injector'],[[F],[se],[ce],[ie],[ne]]);}};mn(ye,'pluginName',In),ye=Sn([_0x12c1b8(_0x12af4b),be(0x1,_0x188bfb),be(0x2,_0x1a3b2a(_0x4fa6a4)),be(0x3,_0xe1599c)],ye);var vn=Object['getOwnPropertyDescriptor'],gn=(_0x1d8f78,_0x2c33e0,_0x4b9a81,_0x448dea)=>{const _0x2ca18e=_0x8d5cf8;for(var _0x22636b=_0x448dea>0x1?void 0x0:_0x448dea?vn(_0x2c33e0,_0x4b9a81):_0x2c33e0,_0x9fd4be=_0x1d8f78[_0x2ca18e(0x18a)]-0x1,_0x5e93e3;_0x9fd4be>=0x0;_0x9fd4be--)(_0x5e93e3=_0x1d8f78[_0x9fd4be])&&(_0x22636b=_0x5e93e3(_0x22636b)||_0x22636b);return _0x22636b;},z=(_0x11f609,_0x5976df)=>(_0xd77ca9,_0x3285d4)=>_0x5976df(_0xd77ca9,_0x3285d4,_0x11f609);let it=class extends _0x5a249f{constructor(_0x5f4611,_0x19dd46,_0x24261e,_0x33f2a6,_0x246ab7){super(_0x5f4611,_0x19dd46,_0x24261e,_0x33f2a6,_0x246ab7);}async[_0x8d5cf8(0x146)](_0x4233aa){const _0x25a710=_0x8d5cf8,_0x1a948d=await this['_getSessionTicket'](),_0x1a0104=this[_0x25a710(0x1dd)](_0x4233aa,_0x1a948d);return this[_0x25a710(0x28d)](_0x1a0104);}[_0x8d5cf8(0x1dd)](_0x50ed66,_0x2ffd56){const _0x4c3e49=_0x8d5cf8,_0x1f4fc4=typeof window>'u'?new URL(_0x50ed66):new URL(_0x50ed66,window[_0x4c3e49(0x1b9)][_0x4c3e49(0x1f4)]);_0x1f4fc4[_0x4c3e49(0x29d)][_0x4c3e49(0xfe)]('sessionTicket',_0x2ffd56);const _0x1c2c0e=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4c3e49(0x1b9)]['search']);return _0x1c2c0e['get'](_0x4c3e49(0xef))&&_0x1f4fc4[_0x4c3e49(0x29d)]['set'](_0x4c3e49(0xef),_0x1c2c0e['get'](_0x4c3e49(0xef))),_0x1f4fc4[_0x4c3e49(0x2c5)]();}async[_0x8d5cf8(0x236)](){const _0x3fd55b=_0x8d5cf8;var _0xf6e13b,_0x469adb,_0x1185f3;const _0x17ee69=this[_0x3fd55b(0x1a4)]['getConfig'](_0x1e777a),_0x3a5a7a=(_0xf6e13b=_0x17ee69==null?void 0x0:_0x17ee69['wsSessionTicketUrl'])!=null?_0xf6e13b:_0xb67a36;return(_0x1185f3=(_0x469adb=(await this[_0x3fd55b(0x178)]['get'](_0x3a5a7a,{'headers':{'Content-Type':_0x3fd55b(0x28b)}}))[_0x3fd55b(0x2c9)])==null?void 0x0:_0x469adb[_0x3fd55b(0x237)])!=null?_0x1185f3:'';}};it=gn([z(0x0,_0x1a3b2a(_0x4fa6a4)),z(0x1,_0x1a3b2a(_0x32f590)),z(0x2,_0xe1599c),z(0x3,_0x30d796),z(0x4,_0x20a96e)],it);function _0x1839(){const _0x5376bc=['transformStateCache','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','InsertColCommandId','InsertRangeMoveRightCommandId','then','editingUnit','_registerDependencies','unsubscribe','hide','with','96378esWAqG','_docTransformStateCacheService','getDocRanges','_unitStatus','ONLINE','_httpService','_getScale','extend','flatMap','reconnect','getTypeOfUnitAdded$','NO_OTHER_CLIENTS_EDITING','136icssns','skeleton','removeParam','selection','column','UNIVER_DOC','_assignedColors','onTransformChange$','UNRECOGNIZED','getOwnPropertySymbols','assignAColorForMemberID','length','className','rgba(255,\x20255,\x20255,\x200.01)','UNDEFINED','permission.title','unitID','_hovered','onPointerLeave$','YUUMI_RATE_OVER_LIMIT','ALREADY_EXISTS','from','[CollaborationDataLoaderController]','SUBMIT_CHANGESET_TIMEOUT','session.connection-failed','transformMutationsWithChangeset','getCurrentRevOfUnit','collabCursorState$','popstate','...','icon','onStarting','getActiveRange','_docStateChangeManagerService','OTHER_CLIENTS_EDITING','defineProperty','subscribeEvent','_configService','lineTo','subUnitId','_unitOnClients','min','override','roomMembers$','post','concat','_status$','evenodd','size','startsWith','_backgroundColor','collaboration-client.offline-data-not-saved','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','setTimeout','getConfig','YUUMI_UNABLE_LOAD_URL','_shapes','getSheetId','location','clearInterval','HEADER_MENU','_initEntityListener','imageSourceType','green.600','purple.300','onCommandExecuted','registerBeforeClose','permission.content','EMAIL_VERIFY_CODE_MISMATCH','_colorIndex','APPLY_DUPLICATED','UPDATE_CURSOR','_onCursorDelete','setParam','_collaborationController','_collabSessionService','engine','addObject','WECHAT_HAS_BEEN_BOUND','beginPath','some','get','has','result','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','MOBILE_HAS_BEEN_BOUND','getTypeOfUnitDisposed$','setItem','collab-rect-range-','VIEW_MAIN','add','_getSaveTimeout','div','_setupBeforeClosingHandler','_createSocketURL','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','SOCKET_FAILED','_drawTextRange','makeDirty','selections','fillRule','m2Prime','MoveRangeCommandId','YUUMI_CONNECTOR_URL_NOT_FOUND','getCurrentUnitForType','APPLY_PERMISSION_DENIED','colorChannel1','_anchorDot','attrs','getSheetBySheetId','_toggleOnline','_transformUndoRedoStack','call','_transformPreviousActiveRange','sheetID','_syncEditingCollabCursorService','event$','origin','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','155rgZIqb','_updateCollabCursors','onPointerEnter$','univerjs-icon\x20univerjs-icon-','INVALID_INVITE_CODE','APPLY_REJECT','512874HOHobl','key','subscribe','INVITE_CODE_REQUIRED','getCollabCursors$','_handleLeaveEvent','_handleEvent','getRenderById','_docSyncEditingCollabCursorService','setShapeProps','replaceDocRanges','_collabCursorState$','_entityInit$','sheetId','_entities','cursorInfo$','USER_NOT_INVITED_CODE','YUUMI_TABLE_NOT_FOUND_IN_UNIT','assign','_render','LICENSE_IMPORT_SIZE_EXCEEDED','labelPosition','_notificationService','m1Prime','_updateURLWithCurrentState','getItem','hasOwnProperty','url(#$1','_commandService','_transformService','UNAUTHENTICATED','_injector','jiqing.500','_eventUnsubscribe','_labelPosition','[RemoteUniscriptService]:\x20no\x20focused\x20unit','OnLineIcon','_initStatusComponent','save','defs','_updateSubUnitFromURLParams','UniverIcon','_initCommandExecutedListener','_config','status$','disableLocalCache','_uiPartsService','debug','roomMembers','dispose','_saveTaskMap','_color','toRgbString','getUnitStatus$','fill','pushState','ENSURE_SNAPSHOT_EXECUTION','newValue','_getSessionTicket','ticket','1125qBPDFI','_session','_document','_urlService','parse','TOO_MANY_REQUESTS','_cursorShapes','getOwnPropertyDescriptor','NOT_FOUND','UNIVER_SHEET','YUUMI_AI_RUN_FAILED','endRow','_scene','prototype','map','fillStyle','getUnitId','_drawAnchor','arc','addClipboardHook','setConfig','_themeService','svg','defIds','Error','_transformHistoryAndStateStack','getCurrent','setStateCache','_cursor','LOGIN_FAILED','_removeClearOtherTimer','split','JOIN_ROOM_FAILED','send','_hideTimer','children','apply','_docTransformSelectionsService','whenReady','symbol','exhaustSavingTask','_lastPointer','idSuffix','_draw','USERS_LEAVE','includes','COMPLETION_FINISHED','_roomMembers$','getOffsetConfig','getUniverSheetInstance','collaboration-client-ui.config','error','_revisionService','endColumn','140312rETDQw','getValue','forEach','YUUMI_ALL_TABLES_IS_INVALID','_handleHover','getCurrentSelections','0\x200\x2017\x2016','getActiveSheet','disposeUnit','_localeService','1em','_startSheetCollabCursor','_clearOtherTimers','_initDependencies','M0\x200H16V16H0z','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_initStatusListener','propertyIsEnumerable','_scheduleClearOtherTimer','_messageService','translate(.97)','transformMutation','_range','invokeId','params','_cursors','_disabled','memberID','clearTimeout','application/json','moveTo','_doCreateSocket','path','getColorFromTheme','top','YUUMI_URL_COL_OUT_OF_RANGE','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','SOCKET_FAILED_RETRY','RemoveRowCommandId','addEventListener','storage','4353gfahhp','none','_docSkeletonManagerService','actions','session.will-retry','color','searchParams','bottom','syncEditingCollabCursor','#FFF','OFFLINE','session.collaboration-timeout','transformByState','TEXT','getVpScrollXYInfoByPosToVp','_online','addHandlerCallback','unitId','_context','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','YUUMI_NO_CUBOID_FOR_QUESTION','findNodePositionByCharIndex','_updateLocalCursor','3532YLIbwg','setAlpha','transformSelections','off-line-icon_clip0_910_343','MOBILE_VERIFY_CODE_MISMATCH','_heartbeatTimer','saveImage','ranges','PY_RUNTIME_SCRIPT_ERROR','_localStorageService','_textBubble','_cursorInfo$','onRendered','univer-mr-2\x20univer-flex\x20univer-text-xl','currentSkeleton$','Failed','redoState','getMergeData','SNAPSHOT_INVALID_SNAPSHOT','_scheduleSaving','drawWith','width','uni.network.url-service','toString','subunit','collabStatus.notCollab','_beforeCloseService','body','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','YUUMI_ASYNCIO_CANCELLED','push','transformRemoteChangeset','_getAnchorBounding','tag','red.300','LICENSE_MAX_UNITS_EXCEEDED','_docTransformIMECacheService','_handleHeartbeatEvent','font','isActive','entries','InsertRangeMoveDownCommandId','measureText','175MnLABY','_name','PERMISSION_DENIED','startRow','/run/','url(#off-line-icon_clip0_910_343)','_getSheetObject','_registerRenderDependencies','NOT_COLLAB','asObservable','YUUMI_SUBSCRIPTION_NOT_FOUND','_init','replaceState','next','_onRefRangeChange','_getMergeRange','CHANGESET_REVISION_CONFILICT','_startDocCollabCursor','init','enableLocalCache','height','runOnServer','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','isArray','INVITE_CODE_ALREADY_BOUND','INTERNAL_ERROR','requireSession','clipPath','eventID','getRelativeToViewportCoord','_initEvent','runId','_handleJoinEvent','complete','getMemberID','closePath','25260GvPWuw','Warning','dispose$','_selfUnitIDs','currentColor','_sheetSkeletonManagerService','substring','_drawRectRange','unshift','registerComponent','set','getParam','history','backgroundColor','Unknown\x20user','mask','_ensureSubject','xlink:href','getMember','_renderManagerService','AWAITING','INVITE_CODE_HAS_BEEN_UES','executeCommand','text','resize','getFocusedUnit','string','fillText','_collaborationUIEventService','deepClone','_refreshCollabCursors','getUndoRedoMutationParamsCache','triggerDblclick','show','_docClipboardService','max','restore','textRanges','LICENSE_DISTRO_REJECTED','displayName','INVALID_ARGUMENT','_memberService','disposeWithMe','DeleteRangeMoveUpCommandId','source','executionId','type','_hover','activeSheet$','name','_logService','doc.mutation.rich-text-editing','_localCacheService','_scheduleHeartbeat','getViewport','urlChange$','transform','sessionStatus$','_refRangeService','_id','_dataLoaderService','_anchor','onMouseMove','SNAPSHOT_HAS_BEEN_REMOVED','saveTaskMap','mutations','transformIMECache','_onCursorUpdate','round','APPLY_REVISION_CONFILICT','current','stringify','http://www.w3.org/2000/svg','_collabCursorController','_univerInstanceService','_toggleOffline','_initResize','pipe','_setupSubUnitSync','RemoveColCommandId','_docSkeleton','MUTATION','createSocket','unit','unload','APPLY_NON_SEQUENTIAL_REVISION','_send','delete','_cachedData','loadUnit','collabStatus.syncing','_saveCache','indexOf','getStateCache','data','EMAIL_HAS_BEEN_BOUND','href','undoState','replace','getRangePointData','currentTheme$','collabStatus.synced','loadOfflineData','createInstance','collaboration.closeRoom','values','7179667iCjoxS','ACTIVE_UNIT_EVENT_CHANNEL','_instanceService','black','_removeCollabCursors','cursorInfo','FromArray','contains','on-line-icon_clip0_910_349','off-line-icon','_colorAssignService'];_0x1839=function(){return _0x5376bc;};return _0x1839();}const nt=0x7530,rt=_0x8d5cf8(0x15f);class Fn extends _0x32e48f{constructor(){const _0x109946=_0x8d5cf8;super(),_(this,_0x109946(0x12f),_0x329535()),_(this,_0x109946(0xf7),new Set()),_(this,_0x109946(0x1a7),new Map()),_(this,_0x109946(0x2b3),null),_(this,_0x109946(0x27a),new Map()),_(this,_0x109946(0x176),new Map()),this[_0x109946(0x2e4)]();}[_0x8d5cf8(0x22d)](){const _0x1a97b1=_0x8d5cf8;super['dispose'](),this['_clearOtherTimers'][_0x1a97b1(0x270)]((_0x2c7a17,_0x1b76b3)=>this[_0x1a97b1(0x256)](_0x1b76b3)),this[_0x1a97b1(0x2b3)]&&window[_0x1a97b1(0x1ba)](this[_0x1a97b1(0x2b3)]);}[_0x8d5cf8(0x231)](_0x5d027c){const _0x28805e=_0x8d5cf8;return this[_0x28805e(0x104)](_0x5d027c)[_0x28805e(0x141)](_0xf7c20f());}[_0x8d5cf8(0x16e)](_0xb6c54d){const _0x31ec23=_0x8d5cf8;this[_0x31ec23(0xf7)][_0x31ec23(0x1af)]===0x0&&this['_scheduleHeartbeat'](),this[_0x31ec23(0xf7)][_0x31ec23(0x1d9)](_0xb6c54d),this['_send']({'type':0x0,'memberID':this[_0x31ec23(0x12f)],'unitIDs':[_0xb6c54d],'isForwarded':!0x1});}[_0x8d5cf8(0x276)](_0x25a912){const _0x4da3d5=_0x8d5cf8;this[_0x4da3d5(0xf7)][_0x4da3d5(0x14b)](_0x25a912),this[_0x4da3d5(0xf7)][_0x4da3d5(0x1af)]===0x0&&this[_0x4da3d5(0x2b3)]&&window[_0x4da3d5(0x1ba)](this['_heartbeatTimer']);}[_0x8d5cf8(0x2e4)](){const _0x292516=_0x8d5cf8;this[_0x292516(0x11e)](_0x192f45(_0x517a35(window,_0x292516(0x296))['subscribe'](_0x2afb60=>{const _0x286ee5=_0x292516;if(_0x2afb60[_0x286ee5(0x1fd)]!==rt||!_0x2afb60[_0x286ee5(0x235)])return;const _0x2f7b06=JSON[_0x286ee5(0x23c)](_0x2afb60[_0x286ee5(0x235)]);this[_0x286ee5(0x202)](_0x2f7b06);}))),window[_0x292516(0x295)](_0x292516(0x148),()=>this[_0x292516(0x14a)]({'type':0x1,'memberID':this[_0x292516(0x12f)],'unitIDs':Array[_0x292516(0x194)](this[_0x292516(0xf7)])}));}['_handleEvent'](_0x769294){const _0x7c8f57=_0x8d5cf8;switch(_0x769294['type']){case 0x0:this[_0x7c8f57(0xf0)](_0x769294);break;case 0x1:this['_handleLeaveEvent'](_0x769294);break;case 0x2:this[_0x7c8f57(0x2d3)](_0x769294);break;}}[_0x8d5cf8(0xf0)](_0x4e4219){const _0x53e697=_0x8d5cf8,{unitIDs:_0xab2f00,memberID:_0x30f4a1,isForwarded:_0x3c5315}=_0x4e4219;_0xab2f00[_0x53e697(0x270)](_0x3339fb=>{const _0x1d3ca6=_0x53e697;if(!_0x3c5315&&this[_0x1d3ca6(0x1a7)][_0x1d3ca6(0x1d1)](_0x3339fb)&&this['_ensureSubject'](_0x3339fb)[_0x1d3ca6(0x2e6)](_0x48b077[_0x1d3ca6(0x1a1)]),!this[_0x1d3ca6(0x1a7)]['has'](_0x3339fb)||!this[_0x1d3ca6(0x1a7)]['get'](_0x3339fb)[_0x1d3ca6(0x1d1)](_0x30f4a1)){const _0x763d40=this[_0x1d3ca6(0x1a7)][_0x1d3ca6(0x1d0)](_0x3339fb)||new Set();_0x763d40[_0x1d3ca6(0x1d9)](_0x30f4a1),this['_unitOnClients'][_0x1d3ca6(0xfe)](_0x3339fb,_0x763d40),this[_0x1d3ca6(0x280)](_0x30f4a1);}}),_0x3c5315||this[_0x53e697(0x14a)]({'type':0x0,'memberID':this[_0x53e697(0x12f)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x33df24){const _0x170268=_0x8d5cf8;this[_0x170268(0x256)](_0x33df24);const _0x475159=window[_0x170268(0x1b4)](()=>{const _0x2c9bd3=_0x170268;this['_unitOnClients'][_0x2c9bd3(0x270)](_0x1878e3=>{_0x1878e3['delete'](_0x33df24);});},nt*0x2);this[_0x170268(0x27a)][_0x170268(0xfe)](_0x33df24,_0x475159);}[_0x8d5cf8(0x256)](_0x4b0599){const _0x451b75=_0x8d5cf8;if(this[_0x451b75(0x27a)][_0x451b75(0x1d1)](_0x4b0599)){const _0x582b87=this[_0x451b75(0x27a)][_0x451b75(0x1d0)](_0x4b0599);_0x582b87&&window[_0x451b75(0x28a)](_0x582b87),this['_clearOtherTimers']['set'](_0x4b0599,null);}}[_0x8d5cf8(0x201)](_0x5dedd6){const _0x20ebc3=_0x8d5cf8,{memberID:_0x484985,unitIDs:_0x3bfd4b}=_0x5dedd6;_0x3bfd4b['forEach'](_0x181ac6=>{const _0x5b054d=_0x42a6;var _0x542357;const _0xb6380a=this['_unitOnClients']['get'](_0x181ac6);_0xb6380a&&(_0xb6380a[_0x5b054d(0x14b)](_0x484985),(_0x542357=this[_0x5b054d(0x104)](_0x181ac6))==null||_0x542357[_0x5b054d(0x2e6)](_0xb6380a[_0x5b054d(0x1af)]===0x0?_0x48b077[_0x5b054d(0x17e)]:_0x48b077[_0x5b054d(0x1a1)]));}),this[_0x20ebc3(0x256)](_0x484985);}['_handleHeartbeatEvent'](_0x34ab3f){const _0x4afb0b=_0x8d5cf8;this[_0x4afb0b(0x280)](_0x34ab3f[_0x4afb0b(0x289)]);}[_0x8d5cf8(0x14a)](_0x203106){const _0x472021=_0x8d5cf8;localStorage[_0x472021(0x1d6)](rt,JSON[_0x472021(0x13b)](_0x203106));}[_0x8d5cf8(0x129)](){const _0x4930ca=_0x8d5cf8;this[_0x4930ca(0x2b3)]=window['setInterval'](()=>{const _0x37aa05=_0x4930ca;this[_0x37aa05(0x14a)]({'type':0x2,'memberID':this[_0x37aa05(0x12f)]});},nt);}[_0x8d5cf8(0x104)](_0x327ab7){const _0x2a43e8=_0x8d5cf8;return this[_0x2a43e8(0x176)][_0x2a43e8(0x1d1)](_0x327ab7)||this[_0x2a43e8(0x176)]['set'](_0x327ab7,new _0xed8a6e(_0x48b077[_0x2a43e8(0x17e)])),this[_0x2a43e8(0x176)][_0x2a43e8(0x1d0)](_0x327ab7);}}var Lt=(_0x502a05=>(_0x502a05[_0x502a05[_0x8d5cf8(0x18d)]=0x0]='UNDEFINED',_0x502a05[_0x502a05['OK']=0x1]='OK',_0x502a05[_0x502a05[_0x8d5cf8(0xe9)]=0x2]=_0x8d5cf8(0xe9),_0x502a05[_0x502a05[_0x8d5cf8(0x2db)]=0x3]='PERMISSION_DENIED',_0x502a05[_0x502a05[_0x8d5cf8(0x240)]=0x4]=_0x8d5cf8(0x240),_0x502a05[_0x502a05['UNAUTHENTICATED']=0x5]=_0x8d5cf8(0x21a),_0x502a05[_0x502a05[_0x8d5cf8(0x193)]=0x6]=_0x8d5cf8(0x193),_0x502a05[_0x502a05[_0x8d5cf8(0x11c)]=0x7]=_0x8d5cf8(0x11c),_0x502a05[_0x502a05[_0x8d5cf8(0x23d)]=0x8]=_0x8d5cf8(0x23d),_0x502a05[_0x502a05[_0x8d5cf8(0x266)]=0x9]='COMPLETION_FINISHED',_0x502a05[_0x502a05['LOGIN_FAILED']=0xa]=_0x8d5cf8(0x255),_0x502a05[_0x502a05[_0x8d5cf8(0x2b2)]=0xb]=_0x8d5cf8(0x2b2),_0x502a05[_0x502a05[_0x8d5cf8(0x1d3)]=0xc]=_0x8d5cf8(0x1d3),_0x502a05[_0x502a05[_0x8d5cf8(0x1c3)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x502a05[_0x502a05[_0x8d5cf8(0x2ca)]=0xe]=_0x8d5cf8(0x2ca),_0x502a05[_0x502a05[_0x8d5cf8(0xe0)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x502a05[_0x502a05[_0x8d5cf8(0x2c0)]=0x1771]=_0x8d5cf8(0x2c0),_0x502a05[_0x502a05['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x8d5cf8(0x133),_0x502a05[_0x502a05[_0x8d5cf8(0x234)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x502a05[_0x502a05['APPLY_REJECT']=0x1b59]=_0x8d5cf8(0x1fb),_0x502a05[_0x502a05['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x8d5cf8(0x149),_0x502a05[_0x502a05[_0x8d5cf8(0x139)]=0x1b5b]=_0x8d5cf8(0x139),_0x502a05[_0x502a05[_0x8d5cf8(0x1e8)]=0x1b5c]=_0x8d5cf8(0x1e8),_0x502a05[_0x502a05[_0x8d5cf8(0x1c5)]=0x1b5d]=_0x8d5cf8(0x1c5),_0x502a05[_0x502a05['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x502a05[_0x502a05[_0x8d5cf8(0x2d1)]=0x2329]=_0x8d5cf8(0x2d1),_0x502a05[_0x502a05[_0x8d5cf8(0xe6)]=0x232a]=_0x8d5cf8(0xe6),_0x502a05[_0x502a05[_0x8d5cf8(0x210)]=0x232b]=_0x8d5cf8(0x210),_0x502a05[_0x502a05['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x502a05[_0x502a05[_0x8d5cf8(0x11a)]=0x232d]=_0x8d5cf8(0x11a),_0x502a05[_0x502a05[_0x8d5cf8(0x1b6)]=0x2711]=_0x8d5cf8(0x1b6),_0x502a05[_0x502a05[_0x8d5cf8(0x291)]=0x2712]=_0x8d5cf8(0x291),_0x502a05[_0x502a05[_0x8d5cf8(0x192)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x502a05[_0x502a05[_0x8d5cf8(0x2e3)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x502a05[_0x502a05[_0x8d5cf8(0x2ab)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x502a05[_0x502a05['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x8d5cf8(0x2cb),_0x502a05[_0x502a05[_0x8d5cf8(0x20d)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x502a05[_0x502a05[_0x8d5cf8(0x271)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x502a05[_0x502a05[_0x8d5cf8(0x1de)]=0x271e]=_0x8d5cf8(0x1de),_0x502a05[_0x502a05[_0x8d5cf8(0x242)]=0x271f]=_0x8d5cf8(0x242),_0x502a05[_0x502a05[_0x8d5cf8(0x1e6)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x502a05[_0x502a05[_0x8d5cf8(0x2b6)]=0x2af9]=_0x8d5cf8(0x2b6),_0x502a05[_0x502a05[_0x8d5cf8(0x109)]=0x2ee1]=_0x8d5cf8(0x109),_0x502a05[_0x502a05[_0x8d5cf8(0x1fa)]=0x2ee2]='INVALID_INVITE_CODE',_0x502a05[_0x502a05[_0x8d5cf8(0x1ff)]=0x2ee3]=_0x8d5cf8(0x1ff),_0x502a05[_0x502a05[_0x8d5cf8(0x20c)]=0x2ee4]=_0x8d5cf8(0x20c),_0x502a05[_0x502a05['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x8d5cf8(0xe8),_0x502a05[_0x502a05[_0x8d5cf8(0x1cd)]=0x32c9]=_0x8d5cf8(0x1cd),_0x502a05[_0x502a05[_0x8d5cf8(0x1d4)]=0x32ca]=_0x8d5cf8(0x1d4),_0x502a05[_0x502a05[_0x8d5cf8(0x153)]=0x32cb]=_0x8d5cf8(0x153),_0x502a05[_0x502a05[_0x8d5cf8(0x187)]=-0x1]=_0x8d5cf8(0x187),_0x502a05))(Lt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x1fe3da,_0x5cf389,_0x3cc903,_0x16ff0f)=>{const _0x4fa3c0=_0x8d5cf8;for(var _0x522765=_0x16ff0f>0x1?void 0x0:_0x16ff0f?pn(_0x5cf389,_0x3cc903):_0x5cf389,_0x52ba93=_0x1fe3da[_0x4fa3c0(0x18a)]-0x1,_0x114fc5;_0x52ba93>=0x0;_0x52ba93--)(_0x114fc5=_0x1fe3da[_0x52ba93])&&(_0x522765=_0x114fc5(_0x522765)||_0x522765);return _0x522765;},Te=(_0x111627,_0x4e9652)=>(_0x211941,_0x2f10a5)=>_0x4e9652(_0x211941,_0x2f10a5,_0x111627);let ot=class extends _0x32e48f{constructor(_0x400b9c,_0x4c26a0,_0x4251f2){const _0x5352c0=_0x8d5cf8;super(),this[_0x5352c0(0x160)]=_0x400b9c,this['_httpService']=_0x4c26a0,this[_0x5352c0(0x1a4)]=_0x4251f2;}async[_0x8d5cf8(0xe5)](_0x484e13,_0x390e32,_0x261ea6,..._0x2e30a8){const _0x254c3a=_0x8d5cf8;var _0xb3c9ca,_0x448d1f,_0x2209cd,_0x214080;const _0x14262e=this[_0x254c3a(0x160)][_0x254c3a(0x10d)]();if(!_0x14262e)throw new Error(_0x254c3a(0x21f));const _0x2b2e23=((_0xb3c9ca=this[_0x254c3a(0x1a4)][_0x254c3a(0x1b5)](_0x98b0f9))!=null?_0xb3c9ca:_0x8dad6a)+'/'+_0x484e13+_0x254c3a(0x2dd)+_0x390e32,_0x1b96db=new URL(window['location'][_0x254c3a(0x154)]),_0x275ff8={'scriptId':_0x484e13,'runId':(_0x448d1f=_0x1b96db[_0x254c3a(0x29d)]['get'](_0x254c3a(0xef)))!=null?_0x448d1f:'','function':_0x390e32,'unitId':_0x14262e[_0x254c3a(0x248)](),'argsOfFunction':JSON[_0x254c3a(0x13b)](_0x2e30a8),'invokeId':(_0x2209cd=_0x261ea6[_0x254c3a(0x285)])!=null?_0x2209cd:'','executionId':(_0x214080=_0x261ea6[_0x254c3a(0x121)])!=null?_0x214080:''};try{const _0x157a6e=await this[_0x254c3a(0x178)][_0x254c3a(0x1ab)](_0x2b2e23,{'body':_0x275ff8});return _0x157a6e['body'][_0x254c3a(0x26b)]&&_0x157a6e[_0x254c3a(0x2c9)][_0x254c3a(0x26b)]['code']!==Lt['OK']?_0x254c3a(0x2bd):_0x157a6e[_0x254c3a(0x2c9)][_0x254c3a(0x1d2)];}catch{return _0x254c3a(0x2bd);}}};ot=Cn([Te(0x0,_0x562792),Te(0x1,_0x1a3b2a(_0x32f590)),Te(0x2,_0xe1599c)],ot);export{it as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Wi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,Mt as IURLService,ot as RemoteUniscriptService,wi as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
|
1
|
+
const _0x962cf9=_0x188b;(function(_0x2c5956,_0x3bc6de){const _0x5c3258=_0x188b,_0x257cc3=_0x2c5956();while(!![]){try{const _0x3d56b2=parseInt(_0x5c3258(0x37a))/0x1*(-parseInt(_0x5c3258(0x282))/0x2)+-parseInt(_0x5c3258(0x2b3))/0x3+-parseInt(_0x5c3258(0x303))/0x4+-parseInt(_0x5c3258(0x327))/0x5*(-parseInt(_0x5c3258(0x1ef))/0x6)+parseInt(_0x5c3258(0x2ef))/0x7*(-parseInt(_0x5c3258(0x331))/0x8)+-parseInt(_0x5c3258(0x21f))/0x9+parseInt(_0x5c3258(0x340))/0xa*(parseInt(_0x5c3258(0x366))/0xb);if(_0x3d56b2===_0x3bc6de)break;else _0x257cc3['push'](_0x257cc3['shift']());}catch(_0x89b23a){_0x257cc3['push'](_0x257cc3['shift']());}}}(_0x4864,0x4fd75));var xt=Object[_0x962cf9(0x338)],Bt=(_0x33b63c,_0x31c65a,_0x3ff787)=>_0x31c65a in _0x33b63c?xt(_0x33b63c,_0x31c65a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3ff787}):_0x33b63c[_0x31c65a]=_0x3ff787,_=(_0x49cd94,_0x4ac921,_0x4af5bb)=>Bt(_0x49cd94,typeof _0x4ac921!=_0x962cf9(0x3ed)?_0x4ac921+'':_0x4ac921,_0x4af5bb);import{MemberService as _0x44e05b,SessionStatus as _0x5e760a,CollaborationSessionService as _0x193bf2,CollaborationStatus as _0x6cb9cb,CollaborationController as _0x305548,ILocalCacheService as _0x2c845a,CollaborationUIEventService as _0x2eac54,CollaborationUIEventId as _0x57b00b,DataLoaderService as _0x46019f,DocCollaborationEntity as _0x52bfbc,getLocalCacheKey as _0x2923f1,LOCAL_CACHE_INTERVAL as _0x645872,LOCAL_CACHE_INTERVAL_KEY as _0x3cc047,UniverCollaborationClientPlugin as _0x246b97,CollaborationSocketService as _0x47b134,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x560485,DEFAULT_WS_SESSION_TICKET_URL as _0x1a3bf9,UnitStatus as _0xa42b24,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x4794eb,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x3170bf}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x18aeae,Disposable as _0x28d182,DOC_RANGE_TYPE as _0x3de40f,Inject as _0xcb25a3,Injector as _0x266e02,IUniverInstanceService as _0x163e05,ICommandService as _0xfb0aa9,debounce as _0x397ea6,Rectangle as _0x3a69ba,DisposableCollection as _0x5bfc5c,toDisposable as _0x354a81,UniverInstanceType as _0x11844b,generateRandomId as _0x1ebbcc,COLORS as _0x4a7b72,ColorKit as _0x56ac4f,ThemeService as _0x16a58d,fromEventSubject as _0x502021,LocaleService as _0x430f5d,createIdentifier as _0x21c8fa,ILogService as _0x4b5f06,Optional as _0x308ac6,Workbook as _0x1b3c74,Tools as _0x59a4e3,CommandType as _0x1d3f18,IConfigService as _0x4befe5,ILocalStorageService as _0x258cee,DependentOn as _0x296f17,Plugin as _0x3a3a0d,merge as _0x2af056,registerDependencies as _0x418a4b,mergeOverrideWithDependencies as _0x4a5b4b,touchDependencies as _0x47fe41}from'@univerjs/core';import{Shape as _0x539d2d,Rect as _0x46a699,getColor as _0x175f6c,RegularPolygon as _0x2a0284,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x2ceced,Vector2 as _0x55f890,SHEET_VIEWPORT_KEY as _0x42a5e7,IRenderManagerService as _0x288115}from'@univerjs/engine-render';import{ISocketService as _0x7ddd3f,WebSocketService as _0x10595c,HTTPService as _0x55461b}from'@univerjs/network';import{IDocClipboardService as _0x321e6d,NodePositionConvertToCursor as _0x235692,NodePositionConvertToRectRange as _0x43f332,TEXT_RANGE_LAYER_INDEX as _0x25c91b,SetDocZoomRatioOperation as _0x3f79cf,DocIMEInputManagerService as _0x59b75e,DocStateChangeManagerService as _0x717295}from'@univerjs/docs-ui';import{IImageIoService as _0x388d5b}from'@univerjs/drawing';import{BehaviorSubject as _0x1c5311,debounceTime as _0x3c5b4e,takeUntil as _0x1bd82a,Subject as _0x4695d8,filter as _0x1236d0,switchMap as _0x2f8d76,merge as _0x11111f,combineLatest as _0x2237a4,of as _0x4d0da8,fromEvent as _0x417bf8,shareReplay as _0x2a4246,mapTo as _0x122c39,distinctUntilChanged as _0x5d80e7}from'rxjs';import{ITransformService as _0x4a79a0,CollaborationEvent as _0x3672bc,isTransformMutationFailure as _0x4c0423,isTransformMutationsWithChangesetSuccess as _0x3cbbdb,RevisionService as _0x4035c3,ISnapshotServerService as _0x1a3962}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x4b71a8,RichTextEditingMutation as _0x310036,DocSelectionManagerService as _0x3f746d,DocSkeletonManagerService as _0x2bca3f}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x526017,serializeRangeWithSheet as _0xfa712e}from'@univerjs/engine-formula';import{RefRangeService as _0x1c651d,SetSelectionsOperation as _0x11fc24,SheetsSelectionsService as _0x5c4cf1,EffectRefRangId as _0x5a318d,handleIRemoveRow as _0x410181,handleIRemoveCol as _0x416efc,handleMoveRange as _0x1ae13c,handleInsertRow as _0x404933,handleInsertRangeMoveRight as _0x283dee,handleInsertRangeMoveDown as _0x1426b,handleInsertCol as _0x1a3809,handleDeleteRangeMoveUp as _0x349952,handleDeleteRangeMoveLeft as _0x411b54,runRefRangeMutations as _0x5018ea,SetWorksheetActivateCommand as _0x4b7744}from'@univerjs/sheets';import{map as _0x47ba9f,filter as _0x2dd156,throttleTime as _0x54ce4a,takeUntil as _0x3552e3,switchMap as _0xf9b43b}from'rxjs/operators';import{SheetSkeletonManagerService as _0x5eb21a,getCoordByCell as _0x13ed17,getSheetObject as _0x3fa149}from'@univerjs/sheets-ui';import{jsx as _0x535b0f,jsxs as _0xb613cd}from'react/jsx-runtime';import{useObservable as _0x596b18,useDependency as _0x484074,IUIPartsService as _0x30a935,BuiltInUIPart as _0xdbd323,connectInjector as _0x50120e,IBeforeCloseService as _0x177a2b,IMessageService as _0x163a37,INotificationService as _0x22f31f}from'@univerjs/ui';import{Tooltip as _0x154e34,clsx as _0x46edce,MessageType as _0x389fd2}from'@univerjs/design';import{forwardRef as _0x2f8ad9,useRef as _0x30aa5e,createElement as _0x5d95a3,useCallback as _0x4728c0}from'react';import{IRemoteInstanceService as _0x12a8e4}from'@univerjs/rpc';var ci=Object[_0x962cf9(0x31b)],li=(_0x56043e,_0x38c83b,_0x14308d,_0x3f188f)=>{const _0x2e8480=_0x962cf9;for(var _0x3d57ec=_0x3f188f>0x1?void 0x0:_0x3f188f?ci(_0x38c83b,_0x14308d):_0x38c83b,_0x43d421=_0x56043e[_0x2e8480(0x1fd)]-0x1,_0x951ad9;_0x43d421>=0x0;_0x43d421--)(_0x951ad9=_0x56043e[_0x43d421])&&(_0x3d57ec=_0x951ad9(_0x3d57ec)||_0x3d57ec);return _0x3d57ec;},Je=(_0x6d196e,_0x43faec)=>(_0x2e735f,_0xcd7e9b)=>_0x43faec(_0x2e735f,_0xcd7e9b,_0x6d196e);let Ne=class extends _0x18aeae{constructor(_0x2ec7d7,_0xa69771){const _0x84a3da=_0x962cf9;super(),this[_0x84a3da(0x34c)]=_0x2ec7d7,this[_0x84a3da(0x315)]=_0xa69771,this[_0x84a3da(0x32c)]();}[_0x962cf9(0x32c)](){const _0x3207ea=_0x962cf9,_0xd4f1cd=this;this['disposeWithMe'](this[_0x3207ea(0x34c)][_0x3207ea(0x2e0)]({'onBeforePasteImage':async _0x1b31d1=>{const _0x2588b5=_0x3207ea,_0x306afd=await _0xd4f1cd[_0x2588b5(0x315)][_0x2588b5(0x3db)](_0x1b31d1);return _0x306afd?{'source':_0x306afd[_0x2588b5(0x2e1)],'imageSourceType':_0x306afd[_0x2588b5(0x3b4)]}:null;}}));}};Ne=li([Je(0x0,_0x321e6d),Je(0x1,_0x388d5b)],Ne);const Ze=['purple.300',_0x962cf9(0x2e2),'green.600',_0x962cf9(0x329),_0x962cf9(0x218),_0x962cf9(0x29f)];class ke extends _0x28d182{constructor(){const _0x134eb8=_0x962cf9;super(...arguments),_(this,_0x134eb8(0x36e),new Map()),_(this,_0x134eb8(0x27f),0x0);}[_0x962cf9(0x358)](_0x1bafc3){const _0x4dfbdb=_0x962cf9;if(this[_0x4dfbdb(0x36e)][_0x4dfbdb(0x2f3)](_0x1bafc3))return this['_assignedColors'][_0x4dfbdb(0x22d)](_0x1bafc3);const _0x403826=Ze[this[_0x4dfbdb(0x27f)]];return this[_0x4dfbdb(0x27f)]=(this['_colorIndex']+0x1)%Ze[_0x4dfbdb(0x1fd)],this[_0x4dfbdb(0x36e)][_0x4dfbdb(0x335)](_0x1bafc3,_0x403826),_0x403826;}}function Rt(_0x128d29){const _0xc5d4f2=_0x962cf9;let _0xa6a586='';for(const _0xaa7245 of _0x128d29){const {startOffset:_0x35871b,endOffset:_0x417d0f,isActive:_0x364ac1,rangeType:_0x210c8b,segmentId:_0x43abe4,segmentPage:_0x170738}=_0xaa7245;_0xa6a586[_0xc5d4f2(0x1fd)]&&(_0xa6a586+=','),_0xa6a586+=_0x35871b+':'+_0x417d0f+':'+(_0x364ac1?'1':'0')+':'+_0x210c8b+':'+_0x43abe4+':'+_0x170738;}return _0xa6a586;}function _i(_0x5321ca){const _0x4a920e=_0x962cf9,_0x17e8a1=_0x5321ca[_0x4a920e(0x27d)](','),_0x31b6ef=[];for(const _0x5363be of _0x17e8a1){const [_0x53660d,_0x3d0e19,_0x100a39,_0x3274df,_0xede01c,_0x2a92cf]=_0x5363be[_0x4a920e(0x27d)](':');_0x31b6ef[_0x4a920e(0x3d1)]({'startOffset':Number(_0x53660d),'endOffset':Number(_0x3d0e19),'collapsed':_0x53660d===_0x3d0e19,'isActive':_0x100a39==='1','rangeType':_0x3274df===_0x3de40f[_0x4a920e(0x2f9)]?_0x3de40f[_0x4a920e(0x2f9)]:_0x3de40f['RECT'],'segmentId':typeof _0xede01c==_0x4a920e(0x377)?String(_0xede01c):'','segmentPage':Number(_0x2a92cf!=null?_0x2a92cf:-0x1)});}return _0x31b6ef[_0x4a920e(0x34f)](_0x10cd15=>_0x10cd15['isActive'])||(_0x31b6ef[0x0][_0x4a920e(0x2ae)]=!0x0),_0x31b6ef;}class He extends _0x18aeae{constructor(){const _0x24b630=_0x962cf9;super(...arguments),_(this,_0x24b630(0x241),new _0x1c5311(null)),_(this,'collabCursorState$',this[_0x24b630(0x241)]['asObservable']());}['syncEditingCollabCursor'](_0x2202db){const _0x399586=_0x962cf9,{unitID:_0x2a2b02,memberID:_0x40ec5d,textRanges:_0x1d883a}=_0x2202db,_0x7173ea=Rt(_0x1d883a);if(_0x7173ea==='')return;const _0x26c1dd={'unitID':_0x2a2b02,'memberID':_0x40ec5d,'selection':_0x7173ea};this['_collabCursorState$'][_0x399586(0x30e)](_0x26c1dd);}}var hi=Object[_0x962cf9(0x31b)],ui=(_0x153f04,_0x9489e1,_0x3a3ca4,_0x1e22f6)=>{const _0x3347be=_0x962cf9;for(var _0x4b2491=_0x1e22f6>0x1?void 0x0:_0x1e22f6?hi(_0x9489e1,_0x3a3ca4):_0x9489e1,_0x2cbf9e=_0x153f04[_0x3347be(0x1fd)]-0x1,_0x191333;_0x2cbf9e>=0x0;_0x2cbf9e--)(_0x191333=_0x153f04[_0x2cbf9e])&&(_0x4b2491=_0x191333(_0x4b2491)||_0x4b2491);return _0x4b2491;},P=(_0x14e2ed,_0x4a760b)=>(_0x4644c9,_0x1c0c24)=>_0x4a760b(_0x4644c9,_0x1c0c24,_0x14e2ed);const di=0x12c,fi=0x64;let Ue=class extends _0x18aeae{constructor(_0x39f87a,_0x14f195,_0x4cc5fd,_0x471b48,_0x5e0d67,_0x216ff2,_0xc1caf8,_0x23dd04,_0x30b2e7){const _0x5ccccb=_0x962cf9;super(),_(this,'_online',!0x1),_(this,_0x5ccccb(0x32c),!0x1),_(this,_0x5ccccb(0x227),new _0x1c5311(new Map())),_(this,'cursorInfo$',this[_0x5ccccb(0x227)]['asObservable']()),_(this,_0x5ccccb(0x258),new _0x1c5311([])),_(this,'roomMembers$',this[_0x5ccccb(0x258)]['pipe'](_0x3c5b4e(di))),_(this,_0x5ccccb(0x3b6),_0x397ea6(_0x316a50=>{const _0x32c785=_0x5ccccb,_0x1b1a39={'eventID':_0x3672bc[_0x32c785(0x333)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x32c785(0x230)](),'selection':Rt(_0x316a50)}};this[_0x32c785(0x1fa)][_0x32c785(0x1fc)](_0x1b1a39,this[_0x32c785(0x295)]);},fi)),(this['unitID']=_0x39f87a,this[_0x5ccccb(0x1fa)]=_0x14f195,this[_0x5ccccb(0x35e)]=_0x4cc5fd,this['_colorAssignService']=_0x471b48,this[_0x5ccccb(0x346)]=_0x5e0d67,this[_0x5ccccb(0x322)]=_0x216ff2,this['_transformService']=_0xc1caf8,this['_univerInstanceService']=_0x23dd04,this[_0x5ccccb(0x3af)]=_0x30b2e7);}get[_0x962cf9(0x2fd)](){const _0x23374c=_0x962cf9;return this[_0x23374c(0x227)]['getValue']();}get[_0x962cf9(0x21c)](){const _0x2ef2ac=_0x962cf9;return this[_0x2ef2ac(0x258)][_0x2ef2ac(0x264)]();}[_0x962cf9(0x2e8)](){const _0x215ff9=_0x962cf9;super[_0x215ff9(0x2e8)](),this[_0x215ff9(0x227)][_0x215ff9(0x30e)](new Map()),this[_0x215ff9(0x227)][_0x215ff9(0x1e2)](),this[_0x215ff9(0x258)][_0x215ff9(0x30e)]([]),this['_roomMembers$'][_0x215ff9(0x1e2)]();}[_0x962cf9(0x25c)](){const _0x437eb6=_0x962cf9;this['_init']||(this[_0x437eb6(0x32c)]=!0x0,this[_0x437eb6(0x1fa)][_0x437eb6(0x2df)][_0x437eb6(0x3c5)](_0x1bd82a(this['dispose$']))[_0x437eb6(0x321)](_0x56317f=>{const _0x3167a9=_0x437eb6;_0x56317f===_0x5e760a[_0x3167a9(0x2f4)]?this['_toggleOnline']():this[_0x3167a9(0x32a)]();}),this[_0x437eb6(0x1fa)][_0x437eb6(0x37b)][_0x437eb6(0x3c5)](_0x1bd82a(this[_0x437eb6(0x304)]))[_0x437eb6(0x321)](_0xf5b9d8=>{const _0x50098e=_0x437eb6,_0x17cd53=_0xf5b9d8[_0x50098e(0x318)];_0x17cd53===_0x3672bc[_0x50098e(0x333)]&&this[_0x50098e(0x35c)](_0xf5b9d8),_0x17cd53===_0x3672bc[_0x50098e(0x389)]&&this[_0x50098e(0x313)](_0xf5b9d8);}),this[_0x437eb6(0x36c)](this[_0x437eb6(0x3af)]['onCommandExecuted'](_0x13064a=>{const _0x2c910f=_0x437eb6,_0xadb9aa=_0x13064a[_0x2c910f(0x334)];_0xadb9aa!=null&&this[_0x2c910f(0x200)]&&_0x13064a['id']===_0x4b71a8['id']&&_0xadb9aa['unitId']===this[_0x2c910f(0x295)]&&_0xadb9aa[_0x2c910f(0x34b)]===!0x1&&_0xadb9aa['ranges']['length']>0x0&&this[_0x2c910f(0x3b6)](_0xadb9aa[_0x2c910f(0x30b)]);})),this[_0x437eb6(0x322)][_0x437eb6(0x2a8)]['pipe'](_0x1bd82a(this[_0x437eb6(0x304)]))[_0x437eb6(0x321)](_0x4c2963=>{const _0x5bff6a=_0x437eb6;if((_0x4c2963==null?void 0x0:_0x4c2963[_0x5bff6a(0x295)])!==this[_0x5bff6a(0x295)])return;const _0x5a5cba={'eventID':_0x3672bc[_0x5bff6a(0x333)],'data':_0x4c2963};this[_0x5bff6a(0x35c)](_0x5a5cba);}),this[_0x437eb6(0x36c)](this[_0x437eb6(0x3af)][_0x437eb6(0x23a)](_0x367b3f=>{const _0x405870=_0x437eb6;if(_0x367b3f[_0x405870(0x334)]==null)return;const _0x526698=_0x367b3f[_0x405870(0x334)];if(_0x367b3f['id']!==_0x310036['id']||_0x526698[_0x405870(0x3bf)]!==this[_0x405870(0x295)])return;const _0x42d049={'id':'doc.mutation.rich-text-editing','params':_0x526698},_0x35de8e=this[_0x405870(0x2fd)];for(const [_0x334bad,_0x6292bd]of _0x35de8e){const _0x3a79c2={'id':_0x405870(0x25a),'params':{'unitId':this[_0x405870(0x295)],'actions':null,'textRanges':_0x6292bd[_0x405870(0x30b)]}},_0x471e05=this['_transformService'][_0x405870(0x1f9)](_0x42d049,_0x3a79c2,!0x1);if(_0x4c0423(_0x471e05))throw _0x471e05['error'];_0x35de8e['set'](_0x334bad,{..._0x6292bd,'ranges':_0x471e05['m2Prime']['params']['textRanges']});}queueMicrotask(()=>{const _0x5b9a18=_0x405870;this[_0x5b9a18(0x227)][_0x5b9a18(0x30e)](_0x35de8e);});})));}[_0x962cf9(0x35c)](_0x5adde3){const _0x18f891=_0x962cf9;var _0xf54770,_0x5e7e4a;const {memberID:_0x42828f,selection:_0x43d545}=_0x5adde3[_0x18f891(0x228)],_0xc06910=_i(_0x43d545),_0x12ba7a=(_0x5e7e4a=(_0xf54770=this[_0x18f891(0x346)]['getMember'](this['unitID'],_0x42828f))==null?void 0x0:_0xf54770[_0x18f891(0x3f4)])!=null?_0x5e7e4a:_0x18f891(0x242),_0x3d9417={'color':this[_0x18f891(0x26e)]['assignAColorForMemberID'](_0x42828f),'name':_0x12ba7a,'ranges':_0xc06910},_0x104488=this[_0x18f891(0x2fd)];_0x104488[_0x18f891(0x335)](_0x42828f,_0x3d9417),this[_0x18f891(0x227)][_0x18f891(0x30e)](_0x104488);}[_0x962cf9(0x313)](_0x4db48f){const _0x479b4b=_0x962cf9,{memberID:_0x2b08c1}=_0x4db48f['data'],_0x2a9a86=this[_0x479b4b(0x2fd)];_0x2a9a86[_0x479b4b(0x260)](_0x2b08c1),this[_0x479b4b(0x227)][_0x479b4b(0x30e)](_0x2a9a86);}[_0x962cf9(0x2b2)](){const _0x3e9e6b=_0x962cf9;var _0x12abc4;if(this['_online']=!0x0,((_0x12abc4=this[_0x3e9e6b(0x221)][_0x3e9e6b(0x320)]())==null?void 0x0:_0x12abc4[_0x3e9e6b(0x2db)]())!==this[_0x3e9e6b(0x295)])return;const _0x4a6c65=this[_0x3e9e6b(0x35e)]['get'](_0x3f746d)['getDocRanges']();Array['isArray'](_0x4a6c65)&&_0x4a6c65[_0x3e9e6b(0x1fd)]>0x0&&this[_0x3e9e6b(0x3b6)](_0x4a6c65);}['_toggleOffline'](){const _0x99d06b=_0x962cf9;this[_0x99d06b(0x200)]=!0x1;}};Ue=ui([P(0x2,_0xcb25a3(_0x266e02)),P(0x3,_0xcb25a3(ke)),P(0x4,_0xcb25a3(_0x44e05b)),P(0x5,_0xcb25a3(He)),P(0x6,_0x4a79a0),P(0x7,_0x163e05),P(0x8,_0xfb0aa9)],Ue);var Si=Object[_0x962cf9(0x31b)],mi=(_0x127a4c,_0x1d159f,_0x2040cb,_0xc5afc2)=>{const _0x331de1=_0x962cf9;for(var _0x256071=_0xc5afc2>0x1?void 0x0:_0xc5afc2?Si(_0x1d159f,_0x2040cb):_0x1d159f,_0x31d5b9=_0x127a4c[_0x331de1(0x1fd)]-0x1,_0x1ad86e;_0x31d5b9>=0x0;_0x31d5b9--)(_0x1ad86e=_0x127a4c[_0x31d5b9])&&(_0x256071=_0x1ad86e(_0x256071)||_0x256071);return _0x256071;},x=(_0x1c04e0,_0x570b04)=>(_0x142510,_0x255b44)=>_0x570b04(_0x142510,_0x255b44,_0x1c04e0);const Ii=0x12c,vi=0x64,gi=()=>{let _0x1afec1=[],_0x9e16a9=!0x1;return _0x14321b=>{_0x1afec1['push'](_0x14321b),_0x9e16a9||(_0x9e16a9=!0x0,setTimeout(()=>{const _0x53f97a=_0x188b;_0x1afec1[_0x53f97a(0x2c1)](_0x179407=>_0x179407()),_0x1afec1=[],_0x9e16a9=!0x1;}));};};let Me=class extends _0x18aeae{constructor(_0x209516,_0x4f1664,_0x2e39bd,_0x27b067,_0x3cab3b,_0x4564b3,_0x4038fb,_0x257345){const _0x2d6c96=_0x962cf9;super(),_(this,_0x2d6c96(0x200),!0x1),_(this,'_init',!0x1),_(this,_0x2d6c96(0x227),new _0x1c5311(new Map())),_(this,'cursorInfo$',this['_cursorInfo$'][_0x2d6c96(0x3d2)]()),_(this,_0x2d6c96(0x258),new _0x1c5311([])),_(this,_0x2d6c96(0x25f),this[_0x2d6c96(0x258)][_0x2d6c96(0x3c5)](_0x3c5b4e(Ii))),_(this,_0x2d6c96(0x3b6),_0x397ea6((_0xb0e4c3,_0xcf5c44)=>{const _0x5dc367=_0x2d6c96,_0x3a77e1={'eventID':_0x3672bc[_0x5dc367(0x333)],'data':{'unitID':this[_0x5dc367(0x295)],'memberID':this['_session'][_0x5dc367(0x230)](),'selection':_0xfa712e(_0xb0e4c3,_0xcf5c44[_0x5dc367(0x3a2)])}};this[_0x5dc367(0x1fa)][_0x5dc367(0x1fc)](_0x3a77e1,this[_0x5dc367(0x295)]);},vi)),(this['unitID']=_0x209516,this[_0x2d6c96(0x1fa)]=_0x4f1664,this['_injector']=_0x2e39bd,this[_0x2d6c96(0x26e)]=_0x27b067,this[_0x2d6c96(0x346)]=_0x3cab3b,this[_0x2d6c96(0x221)]=_0x4564b3,this[_0x2d6c96(0x3af)]=_0x4038fb,this['_refRangeService']=_0x257345);}get[_0x962cf9(0x2fd)](){const _0x42cbc5=_0x962cf9;return this[_0x42cbc5(0x227)][_0x42cbc5(0x264)]();}get[_0x962cf9(0x21c)](){const _0xd3faef=_0x962cf9;return this[_0xd3faef(0x258)][_0xd3faef(0x264)]();}['dispose'](){const _0x501fac=_0x962cf9;super[_0x501fac(0x2e8)](),this['_cursorInfo$']['next'](new Map()),this[_0x501fac(0x227)][_0x501fac(0x1e2)](),this[_0x501fac(0x258)][_0x501fac(0x30e)]([]),this[_0x501fac(0x258)][_0x501fac(0x1e2)]();}[_0x962cf9(0x25c)](){const _0x373150=_0x962cf9;this[_0x373150(0x32c)]||(this[_0x373150(0x32c)]=!0x0,this['_session'][_0x373150(0x2df)]['pipe'](_0x1bd82a(this[_0x373150(0x304)]))[_0x373150(0x321)](_0x44296b=>{const _0x42206b=_0x373150;_0x44296b===_0x5e760a[_0x42206b(0x2f4)]?this['_toggleOnline']():this[_0x42206b(0x32a)]();}),this['_session'][_0x373150(0x37b)][_0x373150(0x3c5)](_0x1bd82a(this[_0x373150(0x304)]))[_0x373150(0x321)](_0x15ef4e=>{const _0x2d3260=_0x373150,_0x25ee0b=_0x15ef4e[_0x2d3260(0x318)];_0x25ee0b===_0x3672bc[_0x2d3260(0x333)]&&this[_0x2d3260(0x35c)](_0x15ef4e),_0x25ee0b===_0x3672bc[_0x2d3260(0x389)]&&this[_0x2d3260(0x313)](_0x15ef4e);}),this[_0x373150(0x39c)](),this[_0x373150(0x36c)](this[_0x373150(0x3af)]['onCommandExecuted'](_0x2d8d30=>{const _0x33fc1f=_0x373150;if(this[_0x33fc1f(0x200)]&&_0x2d8d30['id']===_0x11fc24['id']&&_0x2d8d30[_0x33fc1f(0x334)]['unitId']===this[_0x33fc1f(0x295)]){const _0x2f3f87=_0x2d8d30['params'];this[_0x33fc1f(0x3b6)](_0x2f3f87[_0x33fc1f(0x288)],_0x2f3f87[_0x33fc1f(0x296)][0x0]);}})));}[_0x962cf9(0x35c)](_0x441de7){const _0x1feb46=_0x962cf9;var _0x2321d8,_0x2962af;const {memberID:_0xfbfdb7,selection:_0x2916f2}=_0x441de7[_0x1feb46(0x228)],{sheetName:_0xad0f62,range:_0x720e04}=_0x526017(_0x2916f2),_0x4fe83f={'name':(_0x2962af=(_0x2321d8=this[_0x1feb46(0x346)]['getMember'](this[_0x1feb46(0x295)],_0xfbfdb7))==null?void 0x0:_0x2321d8[_0x1feb46(0x3f4)])!=null?_0x2962af:_0x1feb46(0x242),'range':this['_getMergeRange'](_0xad0f62,_0x720e04),'sheetID':_0xad0f62,'color':this[_0x1feb46(0x26e)]['assignAColorForMemberID'](_0xfbfdb7),'selection':_0x2916f2},_0x24e21f=this[_0x1feb46(0x2fd)];_0x24e21f['set'](_0xfbfdb7,_0x4fe83f),this[_0x1feb46(0x227)][_0x1feb46(0x30e)](_0x24e21f);}['_onCursorDelete'](_0x12d11e){const _0x266823=_0x962cf9,{memberID:_0xe26309}=_0x12d11e[_0x266823(0x228)],_0x3dd357=this[_0x266823(0x2fd)];_0x3dd357['delete'](_0xe26309),this[_0x266823(0x227)][_0x266823(0x30e)](_0x3dd357);}['_getMergeRange'](_0xcf6e4a,_0x465e27){const _0xa8592b=_0x962cf9;var _0x1af5a0,_0x588e1a;const _0xc7b118=(_0x588e1a=(_0x1af5a0=this[_0xa8592b(0x221)][_0xa8592b(0x310)](this[_0xa8592b(0x295)]))==null?void 0x0:_0x1af5a0[_0xa8592b(0x24d)](_0xcf6e4a))==null?void 0x0:_0x588e1a[_0xa8592b(0x31c)]();return(_0xc7b118==null?void 0x0:_0xc7b118[_0xa8592b(0x226)](_0x410381=>_0x3a69ba[_0xa8592b(0x229)](_0x410381,_0x465e27)))||_0x465e27;}[_0x962cf9(0x39c)](){const _0x1923db=_0x962cf9,_0x61cb0f=new _0x5bfc5c(),_0x21075d=gi(),_0x215aad=()=>{const _0x16a3a6=_0x188b;_0x61cb0f[_0x16a3a6(0x2e8)]();const _0x17aabb=(_0x4bcba9,_0x49db0c,_0x441fb1,_0x13c71a)=>{const _0x3c7524=_0x16a3a6;let _0x2662ce=[];switch(_0x4bcba9['id']){case _0x5a318d[_0x3c7524(0x1e1)]:{_0x2662ce=_0x411b54(_0x4bcba9,_0x13c71a);break;}case _0x5a318d[_0x3c7524(0x24a)]:{_0x2662ce=_0x349952(_0x4bcba9,_0x13c71a);break;}case _0x5a318d[_0x3c7524(0x38c)]:{_0x2662ce=_0x1a3809(_0x4bcba9,_0x13c71a);break;}case _0x5a318d[_0x3c7524(0x38f)]:{_0x2662ce=_0x1426b(_0x4bcba9,_0x13c71a);break;}case _0x5a318d[_0x3c7524(0x29c)]:{_0x2662ce=_0x283dee(_0x4bcba9,_0x13c71a);break;}case _0x5a318d[_0x3c7524(0x2f2)]:{_0x2662ce=_0x404933(_0x4bcba9,_0x13c71a);break;}case _0x5a318d[_0x3c7524(0x34a)]:{_0x2662ce=_0x1ae13c(_0x4bcba9,_0x13c71a);break;}case _0x5a318d[_0x3c7524(0x2b0)]:{_0x2662ce=_0x416efc(_0x4bcba9,_0x13c71a);break;}case _0x5a318d['RemoveRowCommandId']:{_0x2662ce=_0x410181(_0x4bcba9,_0x13c71a);break;}}const _0x408894=_0x5018ea(_0x2662ce,_0x13c71a),_0x3bbfe0=this[_0x3c7524(0x2fd)][_0x3c7524(0x22d)](_0x49db0c);if(_0x3bbfe0&&_0x408894){const _0x496860={..._0x3bbfe0,'range':_0x408894};this[_0x3c7524(0x2fd)]['set'](_0x49db0c,_0x496860),_0x21075d(()=>{const _0x5c464c=_0x3c7524,_0x8480bb=this[_0x5c464c(0x1f0)][_0x5c464c(0x1e8)](_0x408894,_0xc5cac1=>(_0x8480bb[_0x5c464c(0x2e8)](),_0x17aabb(_0xc5cac1,_0x49db0c,_0x441fb1,_0x408894)));_0x61cb0f[_0x5c464c(0x1eb)](_0x8480bb);});}return{'redos':[],'undos':[]};};this[_0x16a3a6(0x2fd)][_0x16a3a6(0x2c1)]((_0x537476,_0x103598)=>{const _0x2b25f7=_0x16a3a6,{range:_0x421d5e,sheetID:_0x157705}=_0x537476,_0x10c97e=this[_0x2b25f7(0x1f0)][_0x2b25f7(0x1e8)](_0x421d5e,_0xd05a93=>(_0x10c97e['dispose'](),_0x17aabb(_0xd05a93,_0x103598,_0x157705,_0x421d5e)));_0x61cb0f['add'](_0x10c97e);});};this['disposeWithMe'](_0x354a81(this[_0x1923db(0x227)][_0x1923db(0x321)](()=>{_0x215aad();})));}[_0x962cf9(0x2b2)](){const _0x1e82af=_0x962cf9;var _0x2aa38f,_0x57fd8d;if(this['_online']=!0x0,((_0x2aa38f=this[_0x1e82af(0x221)][_0x1e82af(0x320)]())==null?void 0x0:_0x2aa38f[_0x1e82af(0x2db)]())!==this[_0x1e82af(0x295)])return;const _0x5ed2f2=(_0x57fd8d=this[_0x1e82af(0x35e)][_0x1e82af(0x22d)](_0x5c4cf1)[_0x1e82af(0x396)]())==null?void 0x0:_0x57fd8d[0x0],_0x10140f=this[_0x1e82af(0x221)]['getCurrentUnitForType'](_0x11844b[_0x1e82af(0x1e9)])['getActiveSheet']();_0x5ed2f2&&_0x10140f&&this[_0x1e82af(0x3b6)](_0x10140f['getSheetId'](),_0x5ed2f2);}[_0x962cf9(0x32a)](){const _0x54cc7b=_0x962cf9;this[_0x54cc7b(0x200)]=!0x1;}};Me=mi([x(0x2,_0xcb25a3(_0x266e02)),x(0x3,_0xcb25a3(ke)),x(0x4,_0xcb25a3(_0x44e05b)),x(0x5,_0x163e05),x(0x6,_0xfb0aa9),x(0x7,_0xcb25a3(_0x1c651d))],Me);var pi=Object[_0x962cf9(0x31b)],Ci=(_0x26f969,_0x2fdc6b,_0x170ecb,_0x50304b)=>{const _0x3e8d6a=_0x962cf9;for(var _0x2fb9a4=_0x50304b>0x1?void 0x0:_0x50304b?pi(_0x2fdc6b,_0x170ecb):_0x2fdc6b,_0x3f3d0a=_0x26f969[_0x3e8d6a(0x1fd)]-0x1,_0x27cb2b;_0x3f3d0a>=0x0;_0x3f3d0a--)(_0x27cb2b=_0x26f969[_0x3f3d0a])&&(_0x2fb9a4=_0x27cb2b(_0x2fb9a4)||_0x2fb9a4);return _0x2fb9a4;},me=(_0x2b86f4,_0x26f0ea)=>(_0x450b69,_0x2541bb)=>_0x26f0ea(_0x450b69,_0x2541bb,_0x2b86f4);let F=class extends _0x18aeae{constructor(_0x5ba8af,_0x268ee0,_0x14e7c4){const _0x37c24e=_0x962cf9;super(),_(this,_0x37c24e(0x2d5),new Map()),_(this,'_entityInit$',new _0x4695d8()),(this[_0x37c24e(0x221)]=_0x5ba8af,this[_0x37c24e(0x35e)]=_0x268ee0,this[_0x37c24e(0x332)]=_0x14e7c4,this['_init']());}[_0x962cf9(0x2e8)](){const _0x4da1b7=_0x962cf9;super['dispose'](),this['_entityInit$'][_0x4da1b7(0x1e2)](),this[_0x4da1b7(0x2d5)][_0x4da1b7(0x2c1)](_0x22082a=>_0x22082a['dispose']());}[_0x962cf9(0x2bb)](_0x3c1bbc){const _0x21bc5c=_0x962cf9;return this[_0x21bc5c(0x2d5)][_0x21bc5c(0x2f3)](_0x3c1bbc)?this[_0x21bc5c(0x2d5)][_0x21bc5c(0x22d)](_0x3c1bbc)[_0x21bc5c(0x2ac)]:this[_0x21bc5c(0x3ef)][_0x21bc5c(0x3c5)](_0x1236d0(_0x56527a=>_0x56527a['unitID']===_0x3c1bbc),_0x2f8d76(_0x6e22a=>_0x6e22a[_0x21bc5c(0x2ac)]));}[_0x962cf9(0x32c)](){const _0x5af6ea=_0x962cf9;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x11844b[_0x5af6ea(0x1e9)])['pipe'](_0x1bd82a(this[_0x5af6ea(0x304)]))['subscribe'](async _0x7f13f8=>{const _0xd43d0a=_0x5af6ea,_0x17a556=_0x7f13f8[_0xd43d0a(0x2db)](),_0x23647a=await this['_startSheetCollabCursor'](_0x17a556);this[_0xd43d0a(0x3ef)][_0xd43d0a(0x30e)](_0x23647a),this[_0xd43d0a(0x2d5)][_0xd43d0a(0x335)](_0x17a556,_0x23647a);}),this[_0x5af6ea(0x221)][_0x5af6ea(0x2fa)](_0x11844b[_0x5af6ea(0x301)])[_0x5af6ea(0x3c5)](_0x1bd82a(this[_0x5af6ea(0x304)]))[_0x5af6ea(0x3c5)](_0x1236d0(_0x1b20ae=>!_0x1b20ae[_0x5af6ea(0x2db)]()[_0x5af6ea(0x3e2)]('__')))[_0x5af6ea(0x321)](async _0x224e49=>{const _0x1fd1ed=_0x5af6ea,_0x4827a3=_0x224e49['getUnitId'](),_0x481c28=await this['_startDocCollabCursor'](_0x4827a3);this[_0x1fd1ed(0x3ef)][_0x1fd1ed(0x30e)](_0x481c28),this['_entities']['set'](_0x4827a3,_0x481c28);}),_0x11111f(this[_0x5af6ea(0x221)]['getTypeOfUnitDisposed$'](_0x11844b[_0x5af6ea(0x301)]),this['_univerInstanceService'][_0x5af6ea(0x2bc)](_0x11844b[_0x5af6ea(0x1e9)]))[_0x5af6ea(0x3c5)](_0x1bd82a(this[_0x5af6ea(0x304)]))['subscribe'](_0x56148f=>{const _0x2bf248=_0x5af6ea,_0x551f3f=_0x56148f[_0x2bf248(0x2db)](),_0x1ea24d=this[_0x2bf248(0x2d5)][_0x2bf248(0x22d)](_0x551f3f);_0x1ea24d&&(_0x1ea24d['dispose'](),this[_0x2bf248(0x2d5)][_0x2bf248(0x260)](_0x551f3f));});}async['_startSheetCollabCursor'](_0x3c3073){const _0x3a4823=_0x962cf9,_0x11e7e3=await this['_collabSessionService'][_0x3a4823(0x3ee)](_0x3c3073),_0xcb9c17=this[_0x3a4823(0x35e)]['createInstance'](Me,_0x3c3073,_0x11e7e3);return _0xcb9c17[_0x3a4823(0x25c)](),_0xcb9c17;}async[_0x962cf9(0x38d)](_0x8b6c5a){const _0x2e96f4=_0x962cf9,_0x4e203a=await this[_0x2e96f4(0x332)][_0x2e96f4(0x3ee)](_0x8b6c5a),_0x571f3d=this['_injector'][_0x2e96f4(0x3c3)](Ue,_0x8b6c5a,_0x4e203a);return _0x571f3d['init'](),_0x571f3d;}};F=Ci([me(0x0,_0x163e05),me(0x1,_0xcb25a3(_0x266e02)),me(0x2,_0xcb25a3(_0x193bf2))],F);const J=0x14,Qe=0xc8,Ie=0x4,Ei=0x5;function _0x188b(_0x2e03d5,_0x3eb997){const _0x48640c=_0x4864();return _0x188b=function(_0x188b4d,_0x600c81){_0x188b4d=_0x188b4d-0x1df;let _0x2946c8=_0x48640c[_0x188b4d];return _0x2946c8;},_0x188b(_0x2e03d5,_0x3eb997);}function Oi(_0x481cc1,_0x46dfad){const _0x1c146c=_0x962cf9;let {radius:_0x3a5e3e,width:_0x341367,height:_0x49700a}=_0x46dfad;_0x3a5e3e=_0x3a5e3e!=null?_0x3a5e3e:0x0,_0x341367=_0x341367!=null?_0x341367:0x1e,_0x49700a=_0x49700a!=null?_0x49700a:0x1e;let _0x5a83a3=0x0,_0x1079cd=0x0,_0x207d8a=0x0;_0x5a83a3=_0x1079cd=_0x207d8a=Math[_0x1c146c(0x235)](_0x3a5e3e,_0x341367/0x2,_0x49700a/0x2),_0x481cc1[_0x1c146c(0x305)](),_0x481cc1[_0x1c146c(0x336)](_0x5a83a3,0x0),_0x481cc1[_0x1c146c(0x3ae)](_0x341367-_0x1079cd,0x0),_0x481cc1[_0x1c146c(0x382)](_0x341367-_0x1079cd,_0x1079cd,_0x1079cd,Math['PI']*0x3/0x2,0x0,!0x1),_0x481cc1[_0x1c146c(0x3ae)](_0x341367,_0x49700a-_0x207d8a),_0x481cc1[_0x1c146c(0x382)](_0x341367-_0x207d8a,_0x49700a-_0x207d8a,_0x207d8a,0x0,Math['PI']/0x2,!0x1),_0x481cc1[_0x1c146c(0x3ae)](0x0,_0x49700a),_0x481cc1['lineTo'](0x0,_0x5a83a3),_0x481cc1[_0x1c146c(0x382)](_0x5a83a3,_0x5a83a3,_0x5a83a3,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x481cc1[_0x1c146c(0x393)](),_0x46dfad[_0x1c146c(0x375)]&&(_0x481cc1['save'](),_0x481cc1[_0x1c146c(0x3d0)]=_0x46dfad['fill'],_0x46dfad[_0x1c146c(0x2cb)]===_0x1c146c(0x39d)?_0x481cc1[_0x1c146c(0x375)](_0x1c146c(0x39d)):_0x481cc1[_0x1c146c(0x375)](),_0x481cc1['restore']());}class ue extends _0x539d2d{constructor(_0x370d21,_0x6872bb){const _0x32cf62=_0x962cf9;super(_0x370d21,_0x6872bb),_(this,_0x32cf62(0x276)),_(this,_0x32cf62(0x3c1)),(this[_0x32cf62(0x276)]=_0x6872bb==null?void 0x0:_0x6872bb[_0x32cf62(0x276)],this[_0x32cf62(0x3c1)]=_0x6872bb==null?void 0x0:_0x6872bb['text']);}static[_0x962cf9(0x2ce)](_0x286dad,_0x5a266b){const _0x475f58=_0x962cf9,{text:_0x4ee850,color:_0x4096e2}=_0x5a266b;_0x286dad['save'](),_0x286dad[_0x475f58(0x24c)]=_0x475f58(0x3b3);const _0x19d87d=_0x286dad[_0x475f58(0x205)](_0x4ee850)[_0x475f58(0x2dd)],_0x56aeda=Math[_0x475f58(0x235)](_0x19d87d+0x2*Ie,Qe);Oi(_0x286dad,{'height':J,'radius':0x4,'width':_0x56aeda,'fill':_0x4096e2}),_0x286dad[_0x475f58(0x3d0)]='#FFF';const _0x2d1203=Ie,_0x1bf8fe=J-Ei,_0x310eeb=Qe-0x2*Ie;if(_0x19d87d>_0x310eeb){let _0x10ed25='',_0x549387=0x0;for(const _0x511b01 of _0x4ee850){const _0x89fb52=_0x286dad[_0x475f58(0x205)](_0x511b01)[_0x475f58(0x2dd)];if(_0x549387+_0x89fb52<=_0x310eeb-_0x286dad[_0x475f58(0x205)](_0x475f58(0x3ca))['width'])_0x10ed25+=_0x511b01,_0x549387+=_0x89fb52;else{_0x10ed25+='...';break;}}_0x286dad['fillText'](_0x10ed25,_0x2d1203,_0x1bf8fe);}else _0x286dad[_0x475f58(0x254)](_0x4ee850,_0x2d1203,_0x1bf8fe);_0x286dad[_0x475f58(0x33b)]();}[_0x962cf9(0x379)](_0x4d9860){const _0x98dff2=_0x962cf9;ue[_0x98dff2(0x2ce)](_0x4d9860,this);}}const ve=_0x962cf9(0x225),bi=_0x962cf9(0x29d),Ti='collab-rect-range-',G=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni='rgba(255,\x20255,\x20255,\x200.01)';class qe{constructor(_0x4f3e12,_0x4c8062,_0xf71c02,_0x489c88){const _0x5f5cf6=_0x962cf9;_(this,_0x5f5cf6(0x20a),[]),_(this,_0x5f5cf6(0x251),null),_(this,_0x5f5cf6(0x271),null),_(this,_0x5f5cf6(0x255),null),_(this,'_hideTimer',null),_(this,'_eventUnsubscribe',null),(this[_0x5f5cf6(0x339)]=_0x4f3e12,this[_0x5f5cf6(0x29b)]=_0x4c8062,this[_0x5f5cf6(0x28b)]=_0xf71c02,this[_0x5f5cf6(0x348)]=_0x489c88,this[_0x5f5cf6(0x326)]());}set[_0x962cf9(0x2da)](_0x5caaca){const _0x38bcdd=_0x962cf9;_0x5caaca?(this[_0x38bcdd(0x255)]&&this[_0x38bcdd(0x255)][_0x38bcdd(0x3a7)](),this['_textBubble']&&this['_textBubble'][_0x38bcdd(0x3d9)]()):(this[_0x38bcdd(0x255)]&&this[_0x38bcdd(0x255)][_0x38bcdd(0x3d9)](),this[_0x38bcdd(0x271)]&&this[_0x38bcdd(0x271)][_0x38bcdd(0x3a7)]());}[_0x962cf9(0x2e8)](){const _0x34ce80=_0x962cf9;for(const _0xcb48a9 of this['_shapes'])_0xcb48a9[_0x34ce80(0x2e8)]();this[_0x34ce80(0x271)]&&this['_textBubble'][_0x34ce80(0x2e8)](),this['_anchorDot']&&this[_0x34ce80(0x255)]['dispose'](),this[_0x34ce80(0x251)]&&this[_0x34ce80(0x251)][_0x34ce80(0x2e8)](),this[_0x34ce80(0x2c3)]&&this[_0x34ce80(0x2c3)]();}[_0x962cf9(0x326)](){const _0xc7ee63=_0x962cf9;var _0x510b74;const {_docSkeleton:_0x36fda9,_document:_0x5e4c56}=this,{color:_0x48bdec,name:_0x418051,ranges:_0x29a777}=this['_cursor'],_0x501054=_0x5e4c56[_0xc7ee63(0x256)](),{docsLeft:_0x352b1d,docsTop:_0x4cc29e}=_0x501054,_0x417e01=new _0x235692(_0x501054,_0x36fda9);for(const {startOffset:_0x1ea74d,endOffset:_0x44a4c0,rangeType:_0x4b592f,segmentId:_0x1551d5,segmentPage:_0x75365a,collapsed:_0x5c97b0,isActive:_0x55c86d}of _0x29a777){const _0x2f53d8=_0x36fda9['findNodePositionByCharIndex'](_0x1ea74d,!0x0,_0x1551d5,_0x75365a);let _0x261a12=_0x36fda9[_0xc7ee63(0x2ad)](_0x44a4c0,!0x0,_0x1551d5,_0x75365a);if(_0x261a12==null&&(_0x261a12=_0x36fda9[_0xc7ee63(0x2ad)](_0x44a4c0-0x1,!0x1,_0x1551d5,_0x75365a)),_0x55c86d){const {contentBoxPointGroup:_0x5e447b}=_0x417e01[_0xc7ee63(0x2c2)](_0x261a12,_0x261a12);if(_0x5e447b[_0xc7ee63(0x1fd)]===0x0)continue;this[_0xc7ee63(0x274)](_0x48bdec,_0x5e447b,_0x352b1d,_0x4cc29e,_0x418051),this[_0xc7ee63(0x2c3)]=this[_0xc7ee63(0x240)]();}if(_0x2f53d8&&_0x261a12){if(_0x4b592f===_0x3de40f['RECT']){const _0x3fa639=new _0x43f332(_0x501054,_0x36fda9),{pointGroup:_0x56328b}=(_0x510b74=_0x3fa639['getRangePointData'](_0x2f53d8,_0x261a12))!=null?_0x510b74:{};if(_0x56328b==null||_0x56328b[_0xc7ee63(0x1fd)]===0x0)continue;this[_0xc7ee63(0x3f2)](_0x48bdec,_0x56328b,_0x352b1d,_0x4cc29e);}else{if(!_0x5c97b0){const {borderBoxPointGroup:_0x527c25}=_0x417e01[_0xc7ee63(0x2c2)](_0x2f53d8,_0x261a12);if(_0x527c25[_0xc7ee63(0x1fd)]===0x0)continue;this['_drawTextRange'](_0x48bdec,_0x527c25,_0x352b1d,_0x4cc29e);}}}}}[_0x962cf9(0x274)](_0x3c06e9,_0x4901a7,_0x5334d4,_0x50d74a,_0x5ef6cc){const _0x307666=_0x962cf9,_0x198647=this[_0x307666(0x283)](_0x4901a7),{left:_0x3c8790,top:_0x30b985,height:_0x14dec8}=_0x198647,_0x137a64=this[_0x307666(0x25d)](),_0x5b5c01=Di/_0x137a64,_0x5583ee=new _0x46a699(ve+_0x1ebbcc(G),{'left':_0x3c8790+_0x5334d4-_0x5b5c01,'top':_0x30b985+_0x50d74a,'height':_0x14dec8,'width':Ri,'fill':_0x3c06e9||_0x175f6c(_0x4a7b72[_0x307666(0x349)],0x0),'strokeWidth':_0x5b5c01,'stroke':Ni,'evented':!0x0});this[_0x307666(0x251)]=_0x5583ee,this[_0x307666(0x29b)]['addObject'](_0x5583ee,_0x25c91b);const _0x662e89=new _0x46a699(ve+_0x1ebbcc(G),{'left':_0x3c8790+_0x5334d4-_0x5b5c01,'top':_0x30b985+_0x50d74a-ge/0x2,'height':ge,'width':ge,'fill':_0x3c06e9||_0x175f6c(_0x4a7b72[_0x307666(0x349)],0x0),'strokeWidth':0x0,'stroke':_0x3c06e9||_0x175f6c(_0x4a7b72[_0x307666(0x349)],0x0),'evented':!0x1});this[_0x307666(0x255)]=_0x662e89,this[_0x307666(0x29b)]['addObject'](_0x662e89,_0x25c91b);const _0xd5864e=new ue(ve+_0x1ebbcc(G),{'left':_0x3c8790+_0x5334d4-_0x5b5c01,'top':_0x30b985+_0x50d74a-J,'text':_0x5ef6cc,'color':_0x3c06e9});this[_0x307666(0x271)]=_0xd5864e,this[_0x307666(0x29b)][_0x307666(0x22c)](_0xd5864e,_0x25c91b),this[_0x307666(0x2da)]=!0x1;}['_handleHover'](){const _0x5b4135=_0x962cf9,_0x370e83=this[_0x5b4135(0x251)]['onPointerEnter$']['subscribeEvent'](()=>{const _0x546f9b=_0x5b4135;this[_0x546f9b(0x2da)]=!0x0;}),_0x59eff2=this[_0x5b4135(0x251)][_0x5b4135(0x3e1)]['subscribeEvent'](()=>{const _0x4c0e05=_0x5b4135;this[_0x4c0e05(0x297)]&&clearTimeout(this[_0x4c0e05(0x297)]),this[_0x4c0e05(0x297)]=setTimeout(()=>{const _0x5ac14d=_0x4c0e05;this[_0x5ac14d(0x2da)]=!0x1;},0x7d0);});return()=>{const _0x1eecd6=_0x5b4135;_0x370e83['unsubscribe'](),_0x59eff2[_0x1eecd6(0x263)]();};}[_0x962cf9(0x34d)](_0x1d629d,_0x1f0f4f,_0x451027,_0x4e891c){const _0x4e9db1=_0x962cf9,_0xeb92e1=new _0x56ac4f(_0x1d629d)[_0x4e9db1(0x1ea)](0.2)[_0x4e9db1(0x213)](),_0x21ebad=new _0x2a0284(bi+_0x1ebbcc(G),{'pointsGroup':_0x1f0f4f,'fill':_0xeb92e1||_0x175f6c(_0x4a7b72[_0x4e9db1(0x349)],0.2),'left':_0x451027,'top':_0x4e891c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4e9db1(0x20a)][_0x4e9db1(0x3d1)](_0x21ebad),this['_scene'][_0x4e9db1(0x22c)](_0x21ebad,_0x25c91b);}[_0x962cf9(0x3f2)](_0x64cf41,_0xd562ce,_0x1058b3,_0x556edb){const _0x19abce=_0x962cf9,_0x3c4ab5=new _0x56ac4f(_0x64cf41)['setAlpha'](0.2)['toRgbString'](),_0x25db57=new _0x2a0284(Ti+_0x1ebbcc(G),{'pointsGroup':_0xd562ce,'fill':_0x3c4ab5||_0x175f6c(_0x4a7b72['black'],0.2),'left':_0x1058b3,'top':_0x556edb,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x19abce(0x20a)][_0x19abce(0x3d1)](_0x25db57),this[_0x19abce(0x29b)][_0x19abce(0x22c)](_0x25db57,_0x25c91b);}[_0x962cf9(0x283)](_0x10ab49){const _0xf3f299=_0x10ab49[0x0],_0x204e9f=_0xf3f299[0x0],_0x4f0719=_0xf3f299[0x2],{x:_0x351721,y:_0x2f7e9c}=_0x204e9f,{x:_0x22e2b1,y:_0x1cdf0c}=_0x4f0719;return{'left':_0x351721,'top':_0x2f7e9c,'width':_0x22e2b1-_0x351721,'height':_0x1cdf0c-_0x2f7e9c};}[_0x962cf9(0x25d)](){const {scaleX:_0x497539,scaleY:_0x4eade3}=this['_scene']['getAncestorScale']();return Math['max'](_0x497539,_0x4eade3);}}var Ui=Object[_0x962cf9(0x31b)],Mi=(_0x53dc8a,_0x33cb2f,_0x1f92fb,_0x2e7afc)=>{const _0x587aee=_0x962cf9;for(var _0x5eb581=_0x2e7afc>0x1?void 0x0:_0x2e7afc?Ui(_0x33cb2f,_0x1f92fb):_0x33cb2f,_0x69e821=_0x53dc8a[_0x587aee(0x1fd)]-0x1,_0x45d57f;_0x69e821>=0x0;_0x69e821--)(_0x45d57f=_0x53dc8a[_0x69e821])&&(_0x5eb581=_0x45d57f(_0x5eb581)||_0x5eb581);return _0x5eb581;},q=(_0x2e37c7,_0x3ae657)=>(_0x3a5b44,_0x4b07e4)=>_0x3ae657(_0x3a5b44,_0x4b07e4,_0x2e37c7);let Le=class extends _0x18aeae{constructor(_0x1a58cd,_0x26e33c,_0x221832,_0x14f939,_0x2ec36e){const _0xe4c3d1=_0x962cf9;super(),_(this,'_cursorShapes',[]),_(this,_0xe4c3d1(0x26d),[]),(this[_0xe4c3d1(0x391)]=_0x1a58cd,this['_docSkeletonManagerService']=_0x26e33c,this[_0xe4c3d1(0x22a)]=_0x221832,this[_0xe4c3d1(0x3af)]=_0x14f939,this[_0xe4c3d1(0x27a)]=_0x2ec36e,this[_0xe4c3d1(0x32c)]());}[_0x962cf9(0x32c)](){const _0x280ded=_0x962cf9,_0x110626=this[_0x280ded(0x391)]['unitId'],_0x3c6c2d=this['_docSkeletonManagerService'];this[_0x280ded(0x36c)](_0x2237a4([this['_collabCursorController'][_0x280ded(0x2bb)](_0x110626),this[_0x280ded(0x27a)][_0x280ded(0x24f)]])[_0x280ded(0x3c5)](_0x47ba9f(([_0x56b434,_0x22fce8])=>({'skeleton':_0x3c6c2d[_0x280ded(0x388)](),'cursors':[..._0x56b434[_0x280ded(0x281)]()][_0x280ded(0x24e)](_0x1a1c79=>({..._0x1a1c79,'color':this[_0x280ded(0x27a)][_0x280ded(0x2a0)](_0x1a1c79[_0x280ded(0x276)])}))})))[_0x280ded(0x321)](_0x36ec66=>{const _0x320a57=_0x280ded;if(this[_0x320a57(0x2c5)](),_0x36ec66){const {skeleton:_0x81692,cursors:_0x281e39}=_0x36ec66;this[_0x320a57(0x2b1)](_0x81692,_0x281e39);}})),this['_initResize'](),this[_0x280ded(0x39e)]();}[_0x962cf9(0x2b1)](_0x52977f,_0x5954c1){const _0x575cd6=_0x962cf9,{scene:_0x18e9de,mainComponent:_0x5cec5a}=this[_0x575cd6(0x391)],_0x42de8a=_0x5954c1[_0x575cd6(0x33c)](_0x2c1d24=>new qe(_0x2c1d24,_0x18e9de,_0x52977f,_0x5cec5a));this['_cursorShapes']=_0x42de8a,this['_cursors']=_0x5954c1;}[_0x962cf9(0x3e8)](){const _0x27b6ce=_0x962cf9;this[_0x27b6ce(0x2c5)]();const {scene:_0x222a55,mainComponent:_0x4f24a0}=this['_context'],_0x324332=this[_0x27b6ce(0x2a6)]['getSkeleton'](),_0x1e2f14=this['_cursors'][_0x27b6ce(0x33c)](_0x38f8fb=>new qe(_0x38f8fb,_0x222a55,_0x324332,_0x4f24a0));this[_0x27b6ce(0x324)]=_0x1e2f14;}[_0x962cf9(0x2c5)](){const _0x18541f=_0x962cf9;this[_0x18541f(0x324)]['forEach'](_0x2f464a=>_0x2f464a[_0x18541f(0x2e8)]()),this[_0x18541f(0x324)]=[];}[_0x962cf9(0x39e)](){const _0x1514c9=_0x962cf9,_0x9d7441=[_0x3f79cf['id']];this['disposeWithMe'](this[_0x1514c9(0x3af)]['onCommandExecuted'](_0x438751=>{const _0x27d7ca=_0x1514c9;_0x9d7441[_0x27d7ca(0x3c4)](_0x438751['id'])&&_0x438751[_0x27d7ca(0x334)]['unitId']===this[_0x27d7ca(0x391)]['unitId']&&this['_refreshCollabCursors']();}));}[_0x962cf9(0x1ed)](){const _0x440428=_0x962cf9;this[_0x440428(0x36c)](_0x502021(this['_context']['engine']['onTransformChange$'])['pipe'](_0x2dd156(_0x500e6e=>_0x500e6e[_0x440428(0x259)]===_0x2ceced[_0x440428(0x31e)]),_0x54ce4a(0x10))[_0x440428(0x321)](()=>{const _0x3c4cf5=_0x440428;this[_0x3c4cf5(0x3e8)]();}));}};Le=Mi([q(0x1,_0xcb25a3(_0x2bca3f)),q(0x2,_0xcb25a3(F)),q(0x3,_0xfb0aa9),q(0x4,_0xcb25a3(_0x16a58d))],Le);const Li=0x1,Pi=1.5;class wi extends _0x539d2d{constructor(_0x59b75a,_0x44c94f){const _0x62a41=_0x962cf9;super(_0x59b75a,_0x44c94f),_(this,_0x62a41(0x1e0)),_(this,_0x62a41(0x316),!0x1),_(this,_0x62a41(0x2b9)),_(this,_0x62a41(0x36b),''),_(this,'_labelPosition',_0x62a41(0x28d)),_(this,_0x62a41(0x250)),(_0x44c94f&&this['setShapeProps'](_0x44c94f),this[_0x62a41(0x352)][_0x62a41(0x2fb)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x62a41(0x3e1)][_0x62a41(0x2fb)](()=>this[_0x62a41(0x398)]({'hovered':!0x1})));}[_0x962cf9(0x398)](_0x2408df){const _0x344558=_0x962cf9;var _0x2036c4,_0x495c1c,_0x2e981e,_0xe1e713,_0x2a0bfd,_0x277d73;this[_0x344558(0x1e0)]=(_0x2036c4=_0x2408df[_0x344558(0x276)])!=null?_0x2036c4:this['_color'],this[_0x344558(0x316)]=(_0x495c1c=_0x2408df['hovered'])!=null?_0x495c1c:this[_0x344558(0x316)],this[_0x344558(0x2b9)]=(_0x2e981e=_0x2408df[_0x344558(0x3a2)])!=null?_0x2e981e:this[_0x344558(0x2b9)],this['_name']=(_0xe1e713=_0x2408df['name'])!=null?_0xe1e713:this[_0x344558(0x36b)],this[_0x344558(0x38e)]=(_0x2a0bfd=_0x2408df[_0x344558(0x280)])!=null?_0x2a0bfd:this['_labelPosition'],this['_backgroundColor']=(_0x277d73=_0x2408df[_0x344558(0x3b2)])!=null?_0x277d73:this[_0x344558(0x250)],this['transformByState']({'width':_0x2408df[_0x344558(0x2dd)],'height':_0x2408df[_0x344558(0x257)]});}[_0x962cf9(0x25e)](_0x190428){const _0x441dd4=_0x962cf9,{row:_0x5aac5d,column:_0x5317b5}=_0x190428;if(_0x5aac5d>=this[_0x441dd4(0x2b9)][_0x441dd4(0x306)]&&_0x5aac5d<=this['_range'][_0x441dd4(0x1ec)]&&_0x5317b5>=this['_range'][_0x441dd4(0x212)]&&_0x5317b5<=this[_0x441dd4(0x2b9)][_0x441dd4(0x3c0)]){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x962cf9(0x206)](_0xc34e47){return!0x1;}[_0x962cf9(0x379)](_0xb7934d){const _0x3b37f5=_0x962cf9;_0x46a699[_0x3b37f5(0x2ce)](_0xb7934d,{'width':this[_0x3b37f5(0x2dd)],'height':this[_0x3b37f5(0x257)],'strokeWidth':Pi,'stroke':this[_0x3b37f5(0x1e0)],'evented':!0x1,'fill':this[_0x3b37f5(0x250)]}),this[_0x3b37f5(0x316)]&&(_0xb7934d[_0x3b37f5(0x2bf)](),_0xb7934d[_0x3b37f5(0x26c)](0x1,0x0,0x0,0x1,this[_0x3b37f5(0x2dd)],this['_labelPosition']===_0x3b37f5(0x1df)?0x0:-J),ue[_0x3b37f5(0x2ce)](_0xb7934d,{'text':this[_0x3b37f5(0x36b)],'color':this[_0x3b37f5(0x1e0)]}),_0xb7934d[_0x3b37f5(0x33b)]());}}var Ai=Object[_0x962cf9(0x31b)],yi=(_0x2cad19,_0x2e10a1,_0x4ceb26,_0x31bf48)=>{for(var _0x2a53fa=_0x31bf48>0x1?void 0x0:_0x31bf48?Ai(_0x2e10a1,_0x4ceb26):_0x2e10a1,_0x3d95e4=_0x2cad19['length']-0x1,_0x28b4cf;_0x3d95e4>=0x0;_0x3d95e4--)(_0x28b4cf=_0x2cad19[_0x3d95e4])&&(_0x2a53fa=_0x28b4cf(_0x2a53fa)||_0x2a53fa);return _0x2a53fa;},pe=(_0xf7c7d3,_0x4cfcb1)=>(_0x515b23,_0x2e2363)=>_0x4cfcb1(_0x515b23,_0x2e2363,_0xf7c7d3);const $i=0x1389;let Pe=class extends _0x18aeae{constructor(_0x253833,_0x50267b,_0x2183da,_0x4c1b5e){const _0x8628e7=_0x962cf9;super(),_(this,'_cursors',new Set()),_(this,_0x8628e7(0x2b7),null),(this[_0x8628e7(0x391)]=_0x253833,this[_0x8628e7(0x26b)]=_0x50267b,this[_0x8628e7(0x22a)]=_0x2183da,this[_0x8628e7(0x27a)]=_0x4c1b5e,this[_0x8628e7(0x32c)]());}[_0x962cf9(0x32c)](){const _0x405d2a=_0x962cf9;this['_sheetSkeletonManagerService'][_0x405d2a(0x3cd)]['pipe'](_0x3552e3(this[_0x405d2a(0x304)]),_0xf9b43b(_0x32dd32=>{const _0x5b3409=_0x405d2a;if(_0x32dd32){const _0x2f1989=_0x32dd32[_0x5b3409(0x3bb)];return _0x2237a4(this['_collabCursorController']['getCollabCursors$'](this['_context']['unitId']),this[_0x5b3409(0x27a)][_0x5b3409(0x24f)])[_0x5b3409(0x3c5)](_0x47ba9f(([_0x22eedf,_0x5c7513])=>{const _0x3e30f6=_0x5b3409,_0x531db2=new Map();return _0x22eedf[_0x3e30f6(0x2c1)]((_0x8068e0,_0x2dcb58)=>{const _0x3dae32=_0x3e30f6;if(_0x8068e0[_0x3dae32(0x3e7)]===_0x2f1989){const _0x3dc3a1={..._0x8068e0};_0x3dc3a1[_0x3dae32(0x276)]=this[_0x3dae32(0x27a)]['getColorFromTheme'](_0x8068e0[_0x3dae32(0x276)]),_0x531db2[_0x3dae32(0x335)](_0x2dcb58,_0x3dc3a1);}}),{'skeleton':_0x32dd32,'cursors':_0x531db2};}));}return _0x4d0da8({'skeleton':null,'cursors':new Map()});}))[_0x405d2a(0x321)](({skeleton:_0x4815d0,cursors:_0x37c367})=>{const _0x5919d9=_0x405d2a;this['_removeCollabCursors'](),_0x4815d0&&this[_0x5919d9(0x2b1)](_0x4815d0,_0x37c367);}),this[_0x405d2a(0x26b)][_0x405d2a(0x3cd)]['subscribe'](_0x101337=>{const _0x108ecc=_0x405d2a;if(_0x101337==null)return;const {skeleton:_0x3f3247}=_0x101337,{scene:_0x371403}=this['_context'];_0x371403[_0x108ecc(0x30f)]['subscribeEvent'](_0x397ea6(_0xfb925e=>{const _0x53fe90=_0x108ecc;var _0x5ad4f6,_0x4ca461;const {offsetX:_0x21e401,offsetY:_0x45ebf0}=_0xfb925e,{x:_0x6e3b1c,y:_0x37f6a5}=_0x371403[_0x53fe90(0x2aa)](_0x55f890[_0x53fe90(0x284)]([_0x21e401,_0x45ebf0])),{scaleX:_0x1b654c,scaleY:_0xca6627}=_0x371403[_0x53fe90(0x3f1)](),_0x239e99=_0x371403[_0x53fe90(0x249)](_0x42a5e7[_0x53fe90(0x2d9)]),_0x153a6d=_0x371403['getVpScrollXYInfoByPosToVp'](_0x55f890[_0x53fe90(0x284)]([_0x6e3b1c,_0x37f6a5]),_0x239e99),_0x4b6961=_0x3f3247['getCellPositionByOffset'](_0x21e401,_0x45ebf0,_0x1b654c,_0xca6627,_0x153a6d);((_0x5ad4f6=this[_0x53fe90(0x2b7)])==null?void 0x0:_0x5ad4f6[_0x53fe90(0x32d)])===_0x4b6961[_0x53fe90(0x32d)]&&((_0x4ca461=this[_0x53fe90(0x2b7)])==null?void 0x0:_0x4ca461[_0x53fe90(0x3d8)])===_0x4b6961['row']||this[_0x53fe90(0x26d)][_0x53fe90(0x2c1)](_0x4005fe=>{const _0x480237=_0x53fe90;_0x4005fe[_0x480237(0x25e)](_0x4b6961);});},0x64));});}[_0x962cf9(0x2b1)](_0xffb949,_0x127d19){const _0x5f306e=_0x962cf9;var _0x25ac80;const _0x4957d9=(_0x25ac80=this[_0x5f306e(0x26b)][_0x5f306e(0x1f1)]())==null?void 0x0:_0x25ac80[_0x5f306e(0x27c)];if(!_0x4957d9)return;const _0x4f71bc=this['_getSheetObject']();if(!_0x4f71bc)return;this[_0x5f306e(0x26d)][_0x5f306e(0x2c1)](_0x5eeb50=>{_0x5eeb50['makeDirty']();});const {scene:_0x13f06a}=_0x4f71bc,_0x52a43c=xi(Array[_0x5f306e(0x35a)](_0x127d19['values']()))[_0x5f306e(0x33c)](_0x55053b=>{const _0x3d7deb=_0x5f306e,{color:_0x467d75,range:_0x2dd78c,name:_0x106ce2,selection:_0xa46df8,sheetID:_0x3089df}=_0x55053b,{startColumn:_0x5a115c,startRow:_0x52a327,endColumn:_0x5a66de,endRow:_0x176b6e}=_0x2dd78c,_0x39644c=_0x13ed17(_0x52a327,_0x5a115c,_0x13f06a,_0x4957d9),_0x1d9566=_0x13ed17(_0x176b6e,_0x5a66de,_0x13f06a,_0x4957d9),{columnHeaderHeightAndMarginTop:_0x48b0cf}=_0x4957d9,{startX:_0x7c901,startY:_0x4fe1e9}=_0x39644c,{endX:_0x369d6d,endY:_0x323e8d}=_0x1d9566,_0x4062a6=_0x369d6d-_0x7c901,_0x4fb0d3=_0x323e8d-_0x4fe1e9,_0x47d551={'labelPosition':_0x4fe1e9-_0x48b0cf>=J?_0x3d7deb(0x28d):_0x3d7deb(0x1df),'sheetID':_0x3089df,'range':_0x2dd78c,'color':_0x467d75,'name':_0x106ce2,'selection':_0xa46df8,'left':_0x7c901,'top':_0x4fe1e9,'width':_0x4062a6,'height':_0x4fb0d3,'evented':!0x1,'zIndex':$i};return new wi(_0x106ce2,_0x47d551);});_0x13f06a[_0x5f306e(0x378)](_0x52a43c,Li),this[_0x5f306e(0x26d)]=new Set(_0x52a43c);}[_0x962cf9(0x2c5)](){const _0x1f3582=_0x962cf9;var _0x1f7459;(_0x1f7459=this['_cursors'])==null||_0x1f7459[_0x1f3582(0x2c1)](_0x3e1ca6=>_0x3e1ca6['dispose']());}[_0x962cf9(0x2a4)](){const _0x11c59a=_0x962cf9;return _0x3fa149(this['_context'][_0x11c59a(0x1f3)],this[_0x11c59a(0x391)]);}};Pe=yi([pe(0x1,_0xcb25a3(_0x5eb21a)),pe(0x2,_0xcb25a3(F)),pe(0x3,_0xcb25a3(_0x16a58d))],Pe);function xi(_0x1f5a3c){const _0x12658d=_0x962cf9,_0x5ee8ff=new Map();return _0x1f5a3c['forEach'](_0x360e8c=>{const _0x17872d=_0x188b;if(_0x5ee8ff['has'](_0x360e8c[_0x17872d(0x1e5)])){const _0x222d52=_0x5ee8ff[_0x17872d(0x22d)](_0x360e8c[_0x17872d(0x1e5)]);_0x222d52['name']+=',\x20'+_0x360e8c[_0x17872d(0x3f4)];}else _0x5ee8ff[_0x17872d(0x335)](_0x360e8c[_0x17872d(0x1e5)],_0x360e8c);}),Array[_0x12658d(0x35a)](_0x5ee8ff[_0x12658d(0x281)]());}function _0x4864(){const _0x471893=['_memberService','_localStorageService','_document','black','MoveRangeCommandId','isEditing','_docClipboardService','_drawTextRange','undoState','some','docStateChange$','m2Prime','onPointerEnter$','AWAITING_WITH_PENDING','_collaborationUIEventService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','APPLY_DUPLICATED','colorChannel1','assignAColorForMemberID','_removeClearOtherTimer','from','LICENSE_MAX_UNITS_EXCEEDED','_onCursorUpdate','urlChange$','_injector','YUUMI_RATE_OVER_LIMIT','collab-client.tooltip.reconnect','_setupSubUnitSync','createSocket','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','_transformHistoryAndStateStack','transformIMECache','22jnLcTe','searchParams','_beforeCloseService','textRanges','SYNCED','_name','disposeWithMe','all','_assignedColors','_initStatusComponent','deepClone','_initEvent','0\x200\x2016\x2016','_heartbeatTimer','collabStatus.synced','fill','children','string','addObjects','_draw','1klcGui','event$','clearTimeout','then','_unitStatus','path','none','updateOfflineData','arc','url(#$1','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','setItem','unload','Failed','getSkeleton','USERS_LEAVE','collaboration.closeRoom','SNAPSHOT_INVALID_SNAPSHOT','InsertColCommandId','_startDocCollabCursor','_labelPosition','InsertRangeMoveDownCommandId','runOnServer','_context','div','closePath','current','_status$','getCurrentSelections','getUnhiddenWorksheets','setShapeProps','registerComponent','OffLineIcon','SNAPSHOT_HAS_BEEN_REMOVED','_onRefRangeChange','evenodd','_initCommandExecutedListener','APPLY_REJECT','activeSheet$','_docSyncEditingCollabCursorService','range','OTHER_CLIENTS_EDITING','_unitOnClients','ACTIVE_UNIT_EVENT_CHANNEL','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','hide','_initDependencies','ENSURE_SNAPSHOT_EXECUTION','_handleEvent','setActiveRange','saveTaskMap','idSuffix','lineTo','_commandService','INVITE_CODE_ALREADY_BOUND','_ensureSubject','backgroundColor','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','imageSourceType','TOO_MANY_REQUESTS','_updateLocalCursor','white','search','UNRECOGNIZED','PENDING','sheetId','OTHER_CLIENT_EDITING','_selfUnitIDs','key','unitId','endColumn','text','OnLineIcon','createInstance','includes','pipe','substring','getConfig','PY_RUNTIME_SCRIPT_ERROR','YUUMI_ASYNCIO_CANCELLED','...','M0\x200H16V16H0z','session.connection-failed','currentSkeleton$','SUBMIT_CHANGESET_TIMEOUT','transformRemoteChangeset','fillStyle','push','asObservable','stringify','_transformUndoRedoStack','href','code','tag','row','show','onLocalMutation','saveImage','LICENSE_DISTRO_REJECTED','removeParam','size','actions','YUUMI_AI_RUN_FAILED','onPointerLeave$','startsWith','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','UniverIcon','clipPath','replace','sheetID','_refreshCollabCursors','PERMISSION_DENIED','disposeUnit','indexOf','on-line-icon_clip0_910_349','symbol','requireSession','_entityInit$','post','getAncestorScale','_drawRectRange','getCollabEntity$','name','JOIN_ROOM_FAILED','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','extend','bottom','_color','DeleteRangeMoveLeftCommandId','complete','off-line-icon','_updateURLWithCurrentState','selection','with','OFFLINE','registerRefRange','UNIVER_SHEET','setAlpha','add','endRow','_initResize','transformMutationsWithChangeset','126keWaqU','_refRangeService','getCurrent','executionId','unit','ALREADY_EXISTS','[CollaborationDataLoaderController]','getSheetId','CONFLICT','YUUMI_CONNECTOR_URL_NOT_FOUND','transformMutation','_session','setConfig','send','length','focused$','entityInit$','_online','_notificationService','_handleJoinEvent','getUndoRedoMutationParamsCache','syncEditingCollabCursor','measureText','triggerDblclick','MOBILE_VERIFY_CODE_MISMATCH','assign','runId','_shapes','YUUMI_URL_COL_OUT_OF_RANGE','_docTransformStateCacheService','_docTransformSelectionsService','replaceState','_clearOtherTimers','COMPLETION_FINISHED','saveOfflineData','startColumn','toRgbString','EMAIL_VERIFY_CODE_MISMATCH','_docStateChangeManagerService','_saveCache','INVITE_CODE_REQUIRED','blue.400','isArray','defs','className','roomMembers','Warning','editingUnit','4547988eNvKcP','xlink:href','_univerInstanceService','CLOSE_ROOM','_instanceService','function','collab-text-anchor-','find','_cursorInfo$','data','contains','_collabCursorController','getRenderById','addObject','get','[RemoteUniscriptService]:\x20no\x20focused\x20unit','CHANGESET_REVISION_CONFILICT','getMemberID','http://www.w3.org/2000/svg','_config','replaceDocRanges','round','min','_scheduleSaving','_initEntityListener','Error','NOT_COLLAB','onCommandExecuted','INTERNAL_ERROR','YUUMI_UNABLE_LOAD_URL','use','history','attrs','_handleHover','_collabCursorState$','Unknown\x20user','clearInterval','body','getParam','displayName','setStateCache','getActiveRange','getViewport','DeleteRangeMoveUpCommandId','apply','font','getSheetBySheetId','flatMap','currentTheme$','_backgroundColor','_anchor','_handleLeaveEvent','_registerDependencies','fillText','_anchorDot','getOffsetConfig','height','_roomMembers$','type','doc.mutation.rich-text-editing','_transformService','init','_getScale','onMouseMove','roomMembers$','delete','exhaustSavingTask','MOBILE_HAS_BEEN_BOUND','unsubscribe','getValue','_messageService','_docTransformIMECacheService','collaboration.single-unit.warning','concat','APPLY_PERMISSION_DENIED','session.collaboration-timeout','_sheetSkeletonManagerService','transform','_cursors','_colorAssignService','_cachedData','_disabled','_textBubble','pluginName','collabStatus.conflict','_drawAnchor','registerRenderModule','color','whenReady','UNDEFINED','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_themeService','call','skeleton','split','_handleHeartbeatEvent','_colorIndex','labelPosition','values','878698IejHwF','_getAnchorBounding','FromArray','INVITE_CODE_HAS_BEEN_UES','prototype','HEADER_MENU','subUnitId','reconnect','collaboration-client.offline-data-not-saved','_docSkeleton','_createSocketURL','top','disableLocalCache','uni.network.url-service','_registerRenderDependencies','propertyIsEnumerable','mutations','ticket','_getSaveTimeout','unitID','selections','_hideTimer','APPLY_REVISION_CONFILICT','INVALID_INVITE_CODE','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_scene','InsertRangeMoveRightCommandId','collab-text-range-','_revisionService','yellow.400','getColorFromTheme','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','YUUMI_NO_CUBOID_FOR_QUESTION','_setupBeforeClosingHandler','_getSheetObject','setParam','_docSkeletonManagerService','_getSessionTicket','collabCursorState$','toString','getRelativeToViewportCoord','unshift','cursorInfo$','findNodePositionByCharIndex','isActive','collabStatus.fetchMiss','RemoveColCommandId','_updateCollabCursors','_toggleOnline','935337WNjmOf','YUUMI_ALL_TABLES_IS_INVALID','_transformPreviousActiveRange','invokeId','_lastPointer','executeCommand','_range','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getCollabCursors$','getTypeOfUnitDisposed$','_uiPartsService','_id','save','_renderManagerService','forEach','getRangePointData','_eventUnsubscribe','loadUnit','_removeCollabCursors','EMAIL_HAS_BEEN_BOUND','hasOwnProperty','_doCreateSocket','getActiveSheet','NOT_FOUND','fillRule','_initStatusListener','result','drawWith','onStarting','0\x200\x2017\x2016','_logService','WECHAT_HAS_BEEN_BOUND','override','off-line-icon_clip0_910_343','_entities','/run/','univerjs-icon\x20univerjs-icon-','pushState','VIEW_MAIN','_hover','getUnitId','AWAITING','width','_collaborationController','sessionStatus$','addClipboardHook','source','jiqing.500','collaboration-client-ui.config','_scheduleHeartbeat','collabStatus.syncing','mask','_httpService','dispose','onRendered','random','icon','collabStatus.offline','loadOfflineData','addEventListener','7WMdrXr','transformSelections','NO_OTHER_CLIENTS_EDITING','InsertRowCommandId','has','ONLINE','1em','memberID','_localCacheService','setUndoRedoMutationParamsCache','TEXT','getTypeOfUnitAdded$','subscribeEvent','_dataLoaderService','cursorInfo','translate(.97)','subunit','LICENSE_IMPORT_SIZE_EXCEEDED','UNIVER_DOC','currentColor','2034064NzWbGH','dispose$','beginPath','startRow','_saveTaskMap','trim','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_scheduleClearOtherTimer','ranges','MUTATION','CONNECTOR_DATA_TOO_LARGE','next','onPointerMove$','getUniverSheetInstance','m1Prime','_send','_onCursorDelete','getStateCache','_imageIoService','_hovered','LICENSE_EXPORT_SIZE_EXCEEDED','eventID','entries','_configService','getOwnPropertyDescriptor','getMergeData','_updateSubUnitFromURLParams','resize','error','getFocusedUnit','subscribe','_syncEditingCollabCursorService','getUnitStatus$','_cursorShapes','YUUMI_SUBSCRIPTION_NOT_FOUND','_render','71650kHhypw','_urlService','red.300','_toggleOffline','redoState','_init','column','defIds','debug','SOCKET_FAILED','3572824xaxHqf','_collabSessionService','UPDATE_CURSOR','params','set','moveTo','newValue','defineProperty','_cursor','location','restore','map','LOGIN_FAILED','svg','_localeService','11188390OIpRns','INVALID_ARGUMENT','getDocRanges','APPLY_NON_SEQUENTIAL_REVISION','storage','getOwnPropertySymbols'];_0x4864=function(){return _0x471893;};return _0x4864();}var v=function(){const _0x33edc5=_0x962cf9;return v=Object[_0x33edc5(0x208)]||function(_0x956b8b){const _0xfa8401=_0x33edc5;for(var _0x5190ab,_0x145200=0x1,_0x3e15e4=arguments['length'];_0x145200<_0x3e15e4;_0x145200++){_0x5190ab=arguments[_0x145200];for(var _0x2dfdc9 in _0x5190ab)Object[_0xfa8401(0x286)][_0xfa8401(0x2c7)][_0xfa8401(0x27b)](_0x5190ab,_0x2dfdc9)&&(_0x956b8b[_0x2dfdc9]=_0x5190ab[_0x2dfdc9]);}return _0x956b8b;},v[_0x33edc5(0x24b)](this,arguments);},Bi=function(_0x53f2c,_0x9f1f2a){const _0x58dc09=_0x962cf9;var _0xdab1b={};for(var _0x57b31c in _0x53f2c)Object[_0x58dc09(0x286)][_0x58dc09(0x2c7)]['call'](_0x53f2c,_0x57b31c)&&_0x9f1f2a[_0x58dc09(0x3eb)](_0x57b31c)<0x0&&(_0xdab1b[_0x57b31c]=_0x53f2c[_0x57b31c]);if(_0x53f2c!=null&&typeof Object[_0x58dc09(0x345)]==_0x58dc09(0x224)){for(var _0x40e325=0x0,_0x57b31c=Object[_0x58dc09(0x345)](_0x53f2c);_0x40e325<_0x57b31c[_0x58dc09(0x1fd)];_0x40e325++)_0x9f1f2a[_0x58dc09(0x3eb)](_0x57b31c[_0x40e325])<0x0&&Object[_0x58dc09(0x286)][_0x58dc09(0x291)][_0x58dc09(0x27b)](_0x53f2c,_0x57b31c[_0x40e325])&&(_0xdab1b[_0x57b31c[_0x40e325]]=_0x53f2c[_0x57b31c[_0x40e325]]);}return _0xdab1b;},Fe=_0x2f8ad9(function(_0x2a1e3f,_0xa32a61){const _0x4048b2=_0x962cf9;var _0x1c6622=_0x2a1e3f[_0x4048b2(0x2eb)],_0x1094ff=_0x2a1e3f['id'],_0x2f6323=_0x2a1e3f[_0x4048b2(0x21b)],_0x54b8ec=_0x2a1e3f[_0x4048b2(0x3f7)],_0x418329=Bi(_0x2a1e3f,[_0x4048b2(0x2eb),'id',_0x4048b2(0x21b),_0x4048b2(0x3f7)]),_0x52d904=_0x4048b2(0x2d7)['concat'](_0x1094ff,'\x20')['concat'](_0x2f6323||'')[_0x4048b2(0x308)](),_0x4a79c3=_0x30aa5e('_'[_0x4048b2(0x268)](Fi()));return Dt(_0x1c6622,''[_0x4048b2(0x268)](_0x1094ff),{'defIds':_0x1c6622['defIds'],'idSuffix':_0x4a79c3[_0x4048b2(0x394)]},v({'ref':_0xa32a61,'className':_0x52d904},_0x418329),_0x54b8ec);});function Dt(_0x5ee006,_0x238e3e,_0x2f9212,_0x4b7b53,_0x238221){const _0xf0671e=_0x962cf9;return _0x5d95a3(_0x5ee006[_0xf0671e(0x3d7)],v(v({'key':_0x238e3e},ki(_0x5ee006,_0x2f9212,_0x238221)),_0x4b7b53),(Hi(_0x5ee006,_0x2f9212)[_0xf0671e(0x376)]||[])[_0xf0671e(0x33c)](function(_0x34284e,_0x4d00e7){const _0x536881=_0xf0671e;return Dt(_0x34284e,''[_0x536881(0x268)](_0x238e3e,'-')['concat'](_0x5ee006['tag'],'-')['concat'](_0x4d00e7),_0x2f9212,void 0x0,_0x238221);}));}function ki(_0xf0e539,_0x25e2f5,_0xd2d395){const _0x288f70=_0x962cf9;var _0x289ba3=v({},_0xf0e539['attrs']);_0xd2d395!=null&&_0xd2d395[_0x288f70(0x357)]&&_0x289ba3[_0x288f70(0x375)]===_0x288f70(0x357)&&(_0x289ba3['fill']=_0xd2d395[_0x288f70(0x357)]),_0xf0e539[_0x288f70(0x3d7)]===_0x288f70(0x2e6)&&_0x289ba3['id']&&(_0x289ba3['id']=_0x289ba3['id']+_0x25e2f5[_0x288f70(0x3ad)]),Object[_0x288f70(0x319)](_0x289ba3)[_0x288f70(0x2c1)](function(_0x4ae410){const _0x4d4851=_0x288f70;var _0x10c827=_0x4ae410[0x0],_0x4307e4=_0x4ae410[0x1];_0x10c827===_0x4d4851(0x2e6)&&typeof _0x4307e4=='string'&&(_0x289ba3[_0x10c827]=_0x4307e4['replace'](/url\(#(.*)\)/,_0x4d4851(0x383)[_0x4d4851(0x268)](_0x25e2f5[_0x4d4851(0x3ad)],')')));});var _0x22d9df=_0x25e2f5[_0x288f70(0x32e)];return!_0x22d9df||_0x22d9df[_0x288f70(0x1fd)]===0x0||(_0xf0e539[_0x288f70(0x3d7)]===_0x288f70(0x23d)&&_0x289ba3[_0x288f70(0x220)]&&(_0x289ba3[_0x288f70(0x220)]=_0x289ba3[_0x288f70(0x220)]+_0x25e2f5[_0x288f70(0x3ad)]),Object[_0x288f70(0x319)](_0x289ba3)[_0x288f70(0x2c1)](function(_0x5abcf3){const _0x247faa=_0x288f70;var _0x417615=_0x5abcf3[0x0],_0x12369d=_0x5abcf3[0x1];typeof _0x12369d==_0x247faa(0x377)&&(_0x289ba3[_0x417615]=_0x12369d[_0x247faa(0x3e6)](/url\(#(.*)\)/,_0x247faa(0x383)[_0x247faa(0x268)](_0x25e2f5['idSuffix'],')')));})),_0x289ba3;}function Hi(_0x37b3d1,_0x30fc10){const _0x40ebab=_0x962cf9;var _0x122e0d,_0x1da0f9=_0x30fc10[_0x40ebab(0x32e)];return!_0x1da0f9||_0x1da0f9['length']===0x0?_0x37b3d1:_0x37b3d1[_0x40ebab(0x3d7)]===_0x40ebab(0x21a)&&(!((_0x122e0d=_0x37b3d1[_0x40ebab(0x376)])===null||_0x122e0d===void 0x0)&&_0x122e0d['length'])?v(v({},_0x37b3d1),{'children':_0x37b3d1[_0x40ebab(0x376)]['map'](function(_0x4a7062){const _0x137cda=_0x40ebab;return typeof _0x4a7062['attrs']['id']==_0x137cda(0x377)&&_0x1da0f9&&_0x1da0f9[_0x137cda(0x3c4)](_0x4a7062['attrs']['id'])?v(v({},_0x4a7062),{'attrs':v(v({},_0x4a7062[_0x137cda(0x23f)]),{'id':_0x4a7062[_0x137cda(0x23f)]['id']+_0x30fc10['idSuffix']})}):_0x4a7062;})}):_0x37b3d1;}function Fi(){const _0x375c07=_0x962cf9;return Math[_0x375c07(0x2ea)]()[_0x375c07(0x2a9)](0x24)[_0x375c07(0x3c6)](0x2,0x8);}Fe[_0x962cf9(0x246)]=_0x962cf9(0x3e4);var Yi={'tag':_0x962cf9(0x33e),'attrs':{'xmlns':_0x962cf9(0x231),'fill':_0x962cf9(0x380),'viewBox':_0x962cf9(0x372),'width':_0x962cf9(0x2f5),'height':_0x962cf9(0x2f5)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x962cf9(0x37f),'attrs':{'stroke':'currentColor','d':_0x962cf9(0x3f6),'strokeLinecap':_0x962cf9(0x234),'strokeLinejoin':_0x962cf9(0x234),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x962cf9(0x3e5),'attrs':{'id':_0x962cf9(0x2d4)},'children':[{'tag':'path','attrs':{'fill':_0x962cf9(0x3b7),'d':_0x962cf9(0x3cb)}}]}]}],'defIds':[_0x962cf9(0x2d4)]},Nt=_0x2f8ad9(function(_0x330a2f,_0x4de598){const _0x4d5c77=_0x962cf9;return _0x5d95a3(Fe,Object[_0x4d5c77(0x208)]({},_0x330a2f,{'id':_0x4d5c77(0x1e3),'ref':_0x4de598,'icon':Yi}));});Nt[_0x962cf9(0x246)]=_0x962cf9(0x39a);var ji={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x962cf9(0x380),'viewBox':_0x962cf9(0x2d0),'width':_0x962cf9(0x2f5),'height':_0x962cf9(0x2f5)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x962cf9(0x37f),'attrs':{'stroke':_0x962cf9(0x302),'d':_0x962cf9(0x363),'strokeLinecap':'round','strokeLinejoin':_0x962cf9(0x234),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x962cf9(0x3e5),'attrs':{'id':_0x962cf9(0x3ec)},'children':[{'tag':_0x962cf9(0x37f),'attrs':{'fill':_0x962cf9(0x3b7),'d':_0x962cf9(0x3cb),'transform':_0x962cf9(0x2fe)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},Ut=_0x2f8ad9(function(_0x4083ad,_0x3b25c6){const _0x2bf021=_0x962cf9;return _0x5d95a3(Fe,Object[_0x2bf021(0x208)]({},_0x4083ad,{'id':'on-line-icon','ref':_0x3b25c6,'icon':ji}));});Ut[_0x962cf9(0x246)]=_0x962cf9(0x3c2);function Vi(_0x5c8575){const _0x58fd7e=_0x962cf9;switch(_0x5c8575){case _0x6cb9cb[_0x58fd7e(0x1e7)]:return _0x58fd7e(0x2ec);case _0x6cb9cb[_0x58fd7e(0x1f7)]:return _0x58fd7e(0x273);case _0x6cb9cb['FETCH_MISS']:return _0x58fd7e(0x2af);case _0x6cb9cb[_0x58fd7e(0x239)]:return'collabStatus.notCollab';case _0x6cb9cb[_0x58fd7e(0x2dc)]:case _0x6cb9cb[_0x58fd7e(0x353)]:return _0x58fd7e(0x2e5);case _0x6cb9cb[_0x58fd7e(0x36a)]:case _0x6cb9cb[_0x58fd7e(0x3ba)]:return _0x58fd7e(0x374);}}function Wi(_0x17da27){const _0x340f97=_0x962cf9,{status$:_0x30bf26}=_0x17da27,_0xf782eb=_0x596b18(_0x30bf26,_0x6cb9cb['NOT_COLLAB']),_0x31a5a3=_0x484074(_0x430f5d),_0x277ffe=_0x484074(_0x193bf2),_0x2967cf=_0xf782eb!==_0x6cb9cb['OFFLINE'],_0x5c614e=_0x31a5a3['t'](Vi(_0xf782eb)),_0x4c1f9a=_0x2967cf?_0x535b0f(Ut,{}):_0x535b0f(Nt,{}),_0x56a8c7=_0x4728c0(()=>{const _0x4da470=_0x188b;_0x2967cf||_0x277ffe[_0x4da470(0x289)]();},[_0x2967cf,_0x277ffe]);function _0x415ed3(){const _0x706bcd=_0x188b;return _0xb613cd(_0x706bcd(0x392),{'className':'univer-flex\x20univer-items-center','onClick':_0x56a8c7,'children':[_0x535b0f(_0x706bcd(0x392),{'className':_0x46edce('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x2967cf,'univer-text-red-500':!_0x2967cf}),'children':_0x4c1f9a}),_0x535b0f(_0x706bcd(0x392),{'className':_0x706bcd(0x3e3),'children':_0x5c614e})]});}return _0x2967cf?_0x415ed3():_0x535b0f(_0x154e34,{'title':_0x31a5a3['t'](_0x340f97(0x360)),'children':_0x415ed3()});}var Xi=Object[_0x962cf9(0x31b)],Gi=(_0x2436fa,_0x5c07e5,_0x1b096e,_0x918ae5)=>{const _0x303b83=_0x962cf9;for(var _0x5f28f4=_0x918ae5>0x1?void 0x0:_0x918ae5?Xi(_0x5c07e5,_0x1b096e):_0x5c07e5,_0x111d74=_0x2436fa[_0x303b83(0x1fd)]-0x1,_0x4916b1;_0x111d74>=0x0;_0x111d74--)(_0x4916b1=_0x2436fa[_0x111d74])&&(_0x5f28f4=_0x4916b1(_0x5f28f4)||_0x5f28f4);return _0x5f28f4;},ee=(_0x2eca27,_0x27a714)=>(_0x290993,_0x41e163)=>_0x27a714(_0x290993,_0x41e163,_0x2eca27);let se=class extends _0x28d182{constructor(_0x2a02fb,_0x362110,_0x12ec23,_0x58fa0f){const _0x541141=_0x962cf9;super(),_(this,_0x541141(0x395),new _0x1c5311(_0x6cb9cb['NOT_COLLAB'])),(this[_0x541141(0x221)]=_0x2a02fb,this[_0x541141(0x35e)]=_0x362110,this[_0x541141(0x2de)]=_0x12ec23,this[_0x541141(0x2bd)]=_0x58fa0f,this[_0x541141(0x36f)](),this[_0x541141(0x2cc)]());}[_0x962cf9(0x2cc)](){const _0x337f95=_0x962cf9;this[_0x337f95(0x36c)](this[_0x337f95(0x221)][_0x337f95(0x1fe)]['pipe'](_0x2f8d76(()=>{const _0x4ee88f=_0x337f95,_0xf6b842=this[_0x4ee88f(0x221)][_0x4ee88f(0x320)]();return _0xf6b842?this[_0x4ee88f(0x2de)][_0x4ee88f(0x3f3)](_0xf6b842[_0x4ee88f(0x2db)]()):_0x4d0da8(null);}),_0x2f8d76(_0x3a22a0=>_0x3a22a0?_0x3a22a0['status$']:_0x4d0da8(_0x6cb9cb[_0x337f95(0x239)])))[_0x337f95(0x321)](_0x5dfc57=>{const _0x10e6da=_0x337f95;this[_0x10e6da(0x395)][_0x10e6da(0x30e)](_0x5dfc57);}));}[_0x962cf9(0x36f)](){const _0x494590=_0x962cf9;this['disposeWithMe'](this['_uiPartsService'][_0x494590(0x399)](_0xdbd323[_0x494590(0x287)],()=>_0x50120e(Ki({'status$':this[_0x494590(0x395)][_0x494590(0x3d2)]()}),this['_injector'])));}};se=Gi([ee(0x0,_0x163e05),ee(0x1,_0xcb25a3(_0x266e02)),ee(0x2,_0xcb25a3(_0x305548)),ee(0x3,_0x30a935)],se);function Ki(_0x43962d){const {status$:_0x498c57}=_0x43962d;return function(){return _0x535b0f(Wi,{'status$':_0x498c57});};}var zi=Object[_0x962cf9(0x31b)],Ji=(_0x59880c,_0x423274,_0x38e03e,_0x60e6f7)=>{const _0x4f18fb=_0x962cf9;for(var _0x225e0c=_0x60e6f7>0x1?void 0x0:_0x60e6f7?zi(_0x423274,_0x38e03e):_0x423274,_0x751428=_0x59880c[_0x4f18fb(0x1fd)]-0x1,_0x4706cc;_0x751428>=0x0;_0x751428--)(_0x4706cc=_0x59880c[_0x751428])&&(_0x225e0c=_0x4706cc(_0x225e0c)||_0x225e0c);return _0x225e0c;},B=(_0x3c90b6,_0x52be76)=>(_0x533b8e,_0x49f2ef)=>_0x52be76(_0x533b8e,_0x49f2ef,_0x3c90b6);let ie=class extends _0x28d182{constructor(_0xed2d43,_0x4ebd52,_0x187e73,_0x3ad98f,_0x59cbf4,_0x5317c1){const _0x380c49=_0x962cf9;super(),this[_0x380c49(0x368)]=_0xed2d43,this[_0x380c49(0x2f7)]=_0x4ebd52,this['_collaborationUIEventService']=_0x187e73,this[_0x380c49(0x265)]=_0x3ad98f,this[_0x380c49(0x201)]=_0x59cbf4,this[_0x380c49(0x33f)]=_0x5317c1,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x962cf9(0x2a3)](){const _0x30e60b=_0x962cf9;this[_0x30e60b(0x36c)](this[_0x30e60b(0x368)]['registerBeforeClose'](()=>{const _0x1c7aa2=_0x30e60b;if(this[_0x1c7aa2(0x2f7)][_0x1c7aa2(0x3ac)][_0x1c7aa2(0x3de)])return this[_0x1c7aa2(0x33f)]['t'](_0x1c7aa2(0x28a));}));}[_0x962cf9(0x371)](){const _0x1e6e36=_0x962cf9;this[_0x1e6e36(0x36c)](this[_0x1e6e36(0x354)][_0x1e6e36(0x37b)][_0x1e6e36(0x321)](_0x516567=>{const _0x3200dd=_0x1e6e36;_0x516567['id']===_0x57b00b[_0x3200dd(0x3bc)]&&this['_messageService'][_0x3200dd(0x3d9)]({'type':_0x389fd2['Warning'],'content':this[_0x3200dd(0x33f)]['t'](_0x3200dd(0x267))}),_0x516567['id']===_0x57b00b[_0x3200dd(0x222)]&&this['_messageService'][_0x3200dd(0x3d9)]({'type':_0x389fd2[_0x3200dd(0x21d)],'content':this[_0x3200dd(0x33f)]['t'](_0x3200dd(0x38a))}),_0x516567['id']===_0x57b00b[_0x3200dd(0x3e9)]&&this[_0x3200dd(0x201)][_0x3200dd(0x3d9)]({'title':this[_0x3200dd(0x33f)]['t']('permission.title'),'content':this[_0x3200dd(0x33f)]['t']('permission.content'),'type':_0x3200dd(0x31f),'duration':0x0}),_0x516567['id']===_0x57b00b[_0x3200dd(0x1f7)]&&this[_0x3200dd(0x265)][_0x3200dd(0x3d9)]({'type':_0x389fd2[_0x3200dd(0x238)],'content':this['_localeService']['t']('collaboration.closeRoom')+'('+_0x516567['data']+')'}),_0x516567['id']===_0x57b00b[_0x3200dd(0x3f5)]&&this[_0x3200dd(0x265)][_0x3200dd(0x3d9)]({'type':_0x389fd2[_0x3200dd(0x21d)],'content':this[_0x3200dd(0x33f)]['t'](_0x516567[_0x3200dd(0x228)]||'')}),_0x516567['id']===_0x57b00b['SOCKET_FAILED_RETRY']&&this[_0x3200dd(0x265)][_0x3200dd(0x3d9)]({'type':_0x389fd2[_0x3200dd(0x21d)],'content':this[_0x3200dd(0x33f)]['t']('session.will-retry')}),_0x516567['id']===_0x57b00b[_0x3200dd(0x330)]&&this[_0x3200dd(0x265)][_0x3200dd(0x3d9)]({'type':_0x389fd2[_0x3200dd(0x238)],'content':this[_0x3200dd(0x33f)]['t'](_0x3200dd(0x3cc))}),_0x516567['id']===_0x57b00b[_0x3200dd(0x3ce)]&&this[_0x3200dd(0x265)][_0x3200dd(0x3d9)]({'type':_0x389fd2[_0x3200dd(0x238)],'content':this['_localeService']['t'](_0x3200dd(0x26a))});}));}};ie=Ji([B(0x0,_0x177a2b),B(0x1,_0x2c845a),B(0x2,_0xcb25a3(_0x2eac54)),B(0x3,_0x163a37),B(0x4,_0x22f31f),B(0x5,_0xcb25a3(_0x430f5d))],ie);const Zi=_0x962cf9(0x2e3),et={},Mt=_0x21c8fa(_0x962cf9(0x28f));var Qi=Object[_0x962cf9(0x31b)],qi=(_0x2194e9,_0x49af15,_0x58bfd8,_0x45cae5)=>{const _0xd6e83b=_0x962cf9;for(var _0x27615d=_0x45cae5>0x1?void 0x0:_0x45cae5?Qi(_0x49af15,_0x58bfd8):_0x49af15,_0x592571=_0x2194e9[_0xd6e83b(0x1fd)]-0x1,_0x38910c;_0x592571>=0x0;_0x592571--)(_0x38910c=_0x2194e9[_0x592571])&&(_0x27615d=_0x38910c(_0x27615d)||_0x27615d);return _0x27615d;},K=(_0x416541,_0x3c74d9)=>(_0x39413a,_0x450ac5)=>_0x3c74d9(_0x39413a,_0x450ac5,_0x416541);let ne=class extends _0x18aeae{constructor(_0x3d1f03,_0x5ef7cd,_0x458a12,_0x3481f8,_0x2064a8){const _0x3d343f=_0x962cf9;super(),this[_0x3d343f(0x328)]=_0x3d1f03,this['_logService']=_0x5ef7cd,this['_commandService']=_0x458a12,this[_0x3d343f(0x2fc)]=_0x3481f8,_0x2064a8?_0x2064a8==null||_0x2064a8[_0x3d343f(0x277)]()[_0x3d343f(0x37d)](()=>this[_0x3d343f(0x32c)]()):(this[_0x3d343f(0x2d1)][_0x3d343f(0x32f)](_0x3d343f(0x1f5),_0x3d343f(0x279)),this['_init']());}async['_init'](){const _0x2cb91d=_0x962cf9,_0x57ac5b=this[_0x2cb91d(0x328)][_0x2cb91d(0x245)]('unit'),_0x987c7b=this[_0x2cb91d(0x328)][_0x2cb91d(0x245)](_0x2cb91d(0x259)),_0x40ff50=this['_urlService'][_0x2cb91d(0x245)](_0x2cb91d(0x2ff));if(!_0x57ac5b||!_0x987c7b){this[_0x2cb91d(0x2d1)]['debug']('[CollaborationDataLoaderController]',_0x2cb91d(0x355));return;}const _0x4599f7=await this['_dataLoaderService'][_0x2cb91d(0x2c4)](_0x57ac5b,Number(_0x987c7b),_0x40ff50);_0x4599f7&&_0x4599f7 instanceof _0x1b3c74&&this[_0x2cb91d(0x361)](_0x4599f7);}async[_0x962cf9(0x361)](_0x5be2e5){const _0x361634=_0x962cf9;await this[_0x361634(0x31d)](_0x5be2e5),_0x5be2e5[_0x361634(0x3a0)][_0x361634(0x3c5)](_0x1bd82a(this['dispose$']))[_0x361634(0x321)](_0x1c609a=>{const _0x449bc0=_0x361634;_0x1c609a&&this[_0x449bc0(0x1e4)](_0x1c609a);}),this[_0x361634(0x328)][_0x361634(0x35d)][_0x361634(0x3c5)](_0x1bd82a(this[_0x361634(0x304)]))[_0x361634(0x321)](()=>this[_0x361634(0x31d)](_0x5be2e5));}['_updateURLWithCurrentState'](_0x5c31f2,_0x11962d=!0x1){const _0x4a635a=_0x962cf9,_0x3df2c3=this[_0x4a635a(0x328)][_0x4a635a(0x245)]('subunit');_0x5c31f2[_0x4a635a(0x1f6)]()!==_0x3df2c3&&this[_0x4a635a(0x328)][_0x4a635a(0x2a5)]('subunit',_0x5c31f2[_0x4a635a(0x1f6)](),_0x11962d);}async[_0x962cf9(0x31d)](_0xdef513){const _0x10d495=_0x962cf9;var _0x57e74d;const _0x1fde7b=this[_0x10d495(0x328)][_0x10d495(0x245)](_0x10d495(0x2ff));if(!_0x1fde7b||!_0xdef513[_0x10d495(0x24d)](_0x1fde7b)){const _0x5692da=_0xdef513[_0x10d495(0x397)]()[0x0],_0xc70e60=_0xdef513[_0x10d495(0x24d)](_0x5692da);if(!_0xc70e60)return;this[_0x10d495(0x1e4)](_0xc70e60,!0x0),await this[_0x10d495(0x3af)][_0x10d495(0x2b8)](_0x4b7744['id'],{'unitId':_0xdef513[_0x10d495(0x2db)](),'subUnitId':_0x5692da});return;}((_0x57e74d=_0xdef513[_0x10d495(0x2c9)]())==null?void 0x0:_0x57e74d['getSheetId']())!==_0x1fde7b&&await this[_0x10d495(0x3af)][_0x10d495(0x2b8)](_0x4b7744['id'],{'unitId':_0xdef513[_0x10d495(0x2db)](),'subUnitId':_0x1fde7b});}};ne=qi([K(0x0,Mt),K(0x1,_0x4b5f06),K(0x2,_0xfb0aa9),K(0x3,_0xcb25a3(_0x46019f)),K(0x4,_0x308ac6(_0x12a8e4))],ne);var en=Object[_0x962cf9(0x31b)],tn=(_0x85d72e,_0x5c25d7,_0x4f59d3,_0x4b2e4e)=>{const _0x27e3c1=_0x962cf9;for(var _0x1eab1d=_0x4b2e4e>0x1?void 0x0:_0x4b2e4e?en(_0x5c25d7,_0x4f59d3):_0x5c25d7,_0x20d79d=_0x85d72e[_0x27e3c1(0x1fd)]-0x1,_0x2ab7c0;_0x20d79d>=0x0;_0x20d79d--)(_0x2ab7c0=_0x85d72e[_0x20d79d])&&(_0x1eab1d=_0x2ab7c0(_0x1eab1d)||_0x1eab1d);return _0x1eab1d;},tt=(_0x4cf0a8,_0x2ab8ae)=>(_0x239071,_0x5e9338)=>_0x2ab8ae(_0x239071,_0x5e9338,_0x4cf0a8);let re=class{constructor(_0x3ee68d,_0x121d0d){const _0x332b81=_0x962cf9;this[_0x332b81(0x25b)]=_0x3ee68d,this[_0x332b81(0x2c0)]=_0x121d0d;}[_0x962cf9(0x365)](_0x182b1f){const _0x378528=_0x962cf9;this[_0x378528(0x3d4)](_0x182b1f),this[_0x378528(0x2b5)](_0x182b1f);}[_0x962cf9(0x3cf)](_0x205233){const _0x3aab00=_0x962cf9,{unitID:_0x5e409d}=_0x205233,_0x520c52=this[_0x3aab00(0x2c0)][_0x3aab00(0x22b)](_0x5e409d)['with'](_0x59b75e),{redoCache:_0x38d9a6}=_0x520c52[_0x3aab00(0x203)]();if(_0x38d9a6[_0x3aab00(0x1fd)]===0x0)return _0x205233;let _0x48f689=_0x59a4e3['deepClone'](_0x205233[_0x3aab00(0x292)][0x0]);for(let _0x591ceb=0x0;_0x591ceb<_0x38d9a6[_0x3aab00(0x1fd)];_0x591ceb++){const _0x3166f6={'id':_0x3aab00(0x25a),'params':{..._0x38d9a6[_0x591ceb]}},_0x402307=this['_transformService'][_0x3aab00(0x1f9)](_0x48f689,_0x3166f6,!0x1);if(_0x4c0423(_0x402307))throw _0x402307[_0x3aab00(0x31f)];_0x48f689=_0x402307[_0x3aab00(0x311)];}return{..._0x59a4e3[_0x3aab00(0x370)](_0x205233),'mutations':[_0x48f689]};}[_0x962cf9(0x3d4)](_0x6ea12d){const _0x4d1225=_0x962cf9,{unitID:_0x2a722a}=_0x6ea12d,_0x19c9b3=this[_0x4d1225(0x2c0)][_0x4d1225(0x22b)](_0x2a722a)[_0x4d1225(0x1e6)](_0x59b75e),{undoCache:_0x3ad5e7,redoCache:_0x10560f}=_0x19c9b3[_0x4d1225(0x203)]();if(_0x3ad5e7[_0x4d1225(0x1fd)]===0x0||_0x10560f[_0x4d1225(0x1fd)]===0x0)return;const _0x3e191e=[],_0x282653=[];let _0x3efbd4=_0x59a4e3[_0x4d1225(0x370)](_0x6ea12d[_0x4d1225(0x292)][0x0]),_0x45d436=_0x59a4e3[_0x4d1225(0x370)](_0x6ea12d[_0x4d1225(0x292)][0x0]);for(let _0x18c1c0=_0x3ad5e7[_0x4d1225(0x1fd)]-0x1;_0x18c1c0>=0x0;_0x18c1c0--){const _0x3b17c1={'id':'doc.mutation.rich-text-editing','params':{..._0x3ad5e7[_0x18c1c0]}},_0x29b8c5={'id':_0x4d1225(0x25a),'params':{..._0x10560f[_0x18c1c0]}},_0x1a80fe=this['_transformService'][_0x4d1225(0x1f9)](_0x3efbd4,_0x3b17c1,!0x1),_0x7a84af=this[_0x4d1225(0x25b)][_0x4d1225(0x1f9)](_0x45d436,_0x29b8c5,!0x1);if(_0x4c0423(_0x1a80fe))throw _0x1a80fe[_0x4d1225(0x31f)];if(_0x4c0423(_0x7a84af))throw _0x7a84af[_0x4d1225(0x31f)];_0x3e191e[_0x4d1225(0x2ab)](_0x1a80fe['m2Prime'][_0x4d1225(0x334)]),_0x282653[_0x4d1225(0x2ab)](_0x7a84af[_0x4d1225(0x351)][_0x4d1225(0x334)]),_0x3efbd4=_0x1a80fe[_0x4d1225(0x311)],_0x45d436=_0x7a84af[_0x4d1225(0x311)];}_0x19c9b3[_0x4d1225(0x2f8)]({'undoCache':_0x3e191e,'redoCache':_0x282653});}['_transformPreviousActiveRange'](_0x20c76c){const _0x2fd7a6=_0x962cf9,{unitID:_0x3c9c78}=_0x20c76c,_0x41341d=this[_0x2fd7a6(0x2c0)][_0x2fd7a6(0x22b)](_0x3c9c78)['with'](_0x59b75e),_0x457b39=_0x41341d[_0x2fd7a6(0x248)]();if(_0x457b39==null)return;const _0x467cbb=[{'id':_0x2fd7a6(0x25a),'params':{'unitId':_0x20c76c[_0x2fd7a6(0x295)],'actions':null,'textRanges':[_0x457b39]}}],_0x1173db=this['_transformService']['transformMutationsWithChangeset'](_0x20c76c,_0x467cbb);if(!_0x3cbbdb(_0x1173db))throw _0x1173db['error'];const _0x546871=_0x1173db[_0x2fd7a6(0x351)][0x0][_0x2fd7a6(0x334)][_0x2fd7a6(0x369)];Array[_0x2fd7a6(0x219)](_0x546871)&&_0x546871['length']&&_0x41341d[_0x2fd7a6(0x3ab)](_0x546871[0x0]);}};re=tn([tt(0x0,_0x4a79a0),tt(0x1,_0x288115)],re);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x2f1ae8,_0x649e83,_0x2cd02a,_0x56636a)=>{const _0x71cca9=_0x962cf9;for(var _0x43b38f=_0x56636a>0x1?void 0x0:_0x56636a?sn(_0x649e83,_0x2cd02a):_0x649e83,_0xd1395b=_0x2f1ae8[_0x71cca9(0x1fd)]-0x1,_0x3f782c;_0xd1395b>=0x0;_0xd1395b--)(_0x3f782c=_0x2f1ae8[_0xd1395b])&&(_0x43b38f=_0x3f782c(_0x43b38f)||_0x43b38f);return _0x43b38f;},Ce=(_0xcb313d,_0x11637c)=>(_0x15edf0,_0x305f9f)=>_0x11637c(_0x15edf0,_0x305f9f,_0xcb313d);let oe=class{constructor(_0x1d0830,_0x24de98,_0x5ccfae){const _0x52328b=_0x962cf9;this[_0x52328b(0x35e)]=_0x1d0830,this[_0x52328b(0x25b)]=_0x24de98,this[_0x52328b(0x215)]=_0x5ccfae;}['transformStateCache'](_0x2bde5a){const _0x5207f5=_0x962cf9;this[_0x5207f5(0x364)](_0x2bde5a);}[_0x962cf9(0x3cf)](_0x260194){const _0x4d999b=_0x962cf9,{unitID:_0xfa5094}=_0x260194,{collaboration:_0x22faba}=this['_docStateChangeManagerService'][_0x4d999b(0x314)](_0xfa5094);if(_0x22faba[_0x4d999b(0x1fd)]===0x0)return _0x260194;let _0x54c3ee=_0x59a4e3[_0x4d999b(0x370)](_0x260194[_0x4d999b(0x292)][0x0]);for(let _0x17c27c=0x0;_0x17c27c<_0x22faba[_0x4d999b(0x1fd)];_0x17c27c++){const _0xb0e5b3={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x22faba[_0x17c27c][_0x4d999b(0x3bf)],..._0x22faba[_0x17c27c][_0x4d999b(0x32b)]}},_0x18a0fc=this[_0x4d999b(0x25b)][_0x4d999b(0x1f9)](_0x54c3ee,_0xb0e5b3,!0x1);if(_0x4c0423(_0x18a0fc))throw _0x18a0fc[_0x4d999b(0x31f)];_0x54c3ee=_0x18a0fc['m1Prime'];}return{..._0x59a4e3['deepClone'](_0x260194),'mutations':[_0x54c3ee]};}['_transformHistoryAndStateStack'](_0x587f7a){const _0x50bf2a=_0x962cf9,{unitID:_0x47bfcd}=_0x587f7a,{history:_0x3fe14f,collaboration:_0x29b59b}=this['_docStateChangeManagerService'][_0x50bf2a(0x314)](_0x47bfcd);if(_0x3fe14f[_0x50bf2a(0x1fd)]===0x0&&_0x29b59b[_0x50bf2a(0x1fd)]===0x0)return;const _0x508f11=[],_0x52e3f0=[];let _0x294e33=_0x59a4e3[_0x50bf2a(0x370)](_0x587f7a[_0x50bf2a(0x292)][0x0]),_0x2a9eb8=_0x59a4e3[_0x50bf2a(0x370)](_0x587f7a['mutations'][0x0]);for(let _0x3c5d99=_0x3fe14f[_0x50bf2a(0x1fd)]-0x1;_0x3c5d99>=0x0;_0x3c5d99--){const _0x3cfe2c={'id':_0x50bf2a(0x25a),'params':{'unitId':_0x3fe14f[_0x3c5d99]['unitId'],..._0x3fe14f[_0x3c5d99][_0x50bf2a(0x34e)]}},_0x19c42e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3fe14f[_0x3c5d99][_0x50bf2a(0x3bf)],..._0x3fe14f[_0x3c5d99][_0x50bf2a(0x32b)]}},_0x53ecc2=this['_transformService'][_0x50bf2a(0x1f9)](_0x294e33,_0x3cfe2c,!0x1),_0x125a53=this[_0x50bf2a(0x25b)][_0x50bf2a(0x1f9)](_0x2a9eb8,_0x19c42e,!0x1);if(_0x4c0423(_0x53ecc2))throw _0x53ecc2[_0x50bf2a(0x31f)];if(_0x4c0423(_0x125a53))throw _0x125a53[_0x50bf2a(0x31f)];_0x508f11[_0x50bf2a(0x2ab)]({..._0x3fe14f[_0x3c5d99],'undoState':_0x53ecc2[_0x50bf2a(0x351)][_0x50bf2a(0x334)],'redoState':_0x125a53[_0x50bf2a(0x351)][_0x50bf2a(0x334)]}),_0x294e33=_0x53ecc2[_0x50bf2a(0x311)],_0x2a9eb8=_0x125a53['m1Prime'];}_0x294e33=_0x59a4e3[_0x50bf2a(0x370)](_0x587f7a[_0x50bf2a(0x292)][0x0]),_0x2a9eb8=_0x59a4e3[_0x50bf2a(0x370)](_0x587f7a[_0x50bf2a(0x292)][0x0]);for(let _0x8b2beb=_0x29b59b[_0x50bf2a(0x1fd)]-0x1;_0x8b2beb>=0x0;_0x8b2beb--){const _0x513c80={'id':_0x50bf2a(0x25a),'params':{'unitId':_0x29b59b[_0x8b2beb][_0x50bf2a(0x3bf)],..._0x29b59b[_0x8b2beb]['undoState']}},_0x287efd={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x29b59b[_0x8b2beb][_0x50bf2a(0x3bf)],..._0x29b59b[_0x8b2beb]['redoState']}},_0x54b735=this[_0x50bf2a(0x25b)][_0x50bf2a(0x1f9)](_0x294e33,_0x513c80,!0x1),_0x141fea=this['_transformService'][_0x50bf2a(0x1f9)](_0x2a9eb8,_0x287efd,!0x1);if(_0x4c0423(_0x54b735))throw _0x54b735[_0x50bf2a(0x31f)];if(_0x4c0423(_0x141fea))throw _0x141fea[_0x50bf2a(0x31f)];_0x52e3f0[_0x50bf2a(0x2ab)]({..._0x29b59b[_0x8b2beb],'undoState':_0x54b735[_0x50bf2a(0x351)][_0x50bf2a(0x334)],'redoState':_0x141fea[_0x50bf2a(0x351)][_0x50bf2a(0x334)]}),_0x294e33=_0x54b735['m1Prime'],_0x2a9eb8=_0x141fea['m1Prime'];}this['_docStateChangeManagerService'][_0x50bf2a(0x247)](_0x47bfcd,{'history':_0x508f11,'collaboration':_0x52e3f0});}};oe=nn([Ce(0x0,_0xcb25a3(_0x266e02)),Ce(0x1,_0x4a79a0),Ce(0x2,_0xcb25a3(_0x717295))],oe);var rn=Object[_0x962cf9(0x31b)],on=(_0x2a98a9,_0x43cd3c,_0x530188,_0x1b2643)=>{for(var _0xc98d2c=_0x1b2643>0x1?void 0x0:_0x1b2643?rn(_0x43cd3c,_0x530188):_0x43cd3c,_0x5e2b33=_0x2a98a9['length']-0x1,_0x364168;_0x5e2b33>=0x0;_0x5e2b33--)(_0x364168=_0x2a98a9[_0x5e2b33])&&(_0xc98d2c=_0x364168(_0xc98d2c)||_0xc98d2c);return _0xc98d2c;},st=(_0x142b5b,_0x299cde)=>(_0x3e5752,_0x9fd99b)=>_0x299cde(_0x3e5752,_0x9fd99b,_0x142b5b);let ae=class{constructor(_0x53b13c,_0x11649b){this['_injector']=_0x53b13c,this['_transformService']=_0x11649b;}[_0x962cf9(0x2f0)](_0x4dd49b){const _0x592100=_0x962cf9;var _0x49b1d7;const _0x200f40=this[_0x592100(0x35e)][_0x592100(0x22d)](_0x3f746d),_0x433016=(_0x49b1d7=_0x200f40[_0x592100(0x342)]())!=null?_0x49b1d7:[];if(_0x433016[_0x592100(0x1fd)]===0x0)return;const _0x40d847=_0x4dd49b[_0x592100(0x295)],_0x1517c9=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x40d847,'actions':null,'textRanges':_0x433016}}],_0x51a6e0=this[_0x592100(0x25b)][_0x592100(0x1ee)](_0x4dd49b,_0x1517c9);if(!_0x3cbbdb(_0x51a6e0))throw _0x51a6e0[_0x592100(0x31f)];const _0x273921=_0x51a6e0['m2Prime'][0x0][_0x592100(0x334)][_0x592100(0x369)];Array[_0x592100(0x219)](_0x273921)&&_0x273921['length']&&_0x200f40[_0x592100(0x233)](_0x273921,{'unitId':_0x40d847,'subUnitId':_0x40d847},!0x1);}};ae=on([st(0x0,_0xcb25a3(_0x266e02)),st(0x1,_0x4a79a0)],ae);var an=Object[_0x962cf9(0x31b)],cn=(_0x12f033,_0x408c41,_0x24c965,_0x2fa3ba)=>{const _0x29c4f7=_0x962cf9;for(var _0x39b068=_0x2fa3ba>0x1?void 0x0:_0x2fa3ba?an(_0x408c41,_0x24c965):_0x408c41,_0x439b9f=_0x12f033[_0x29c4f7(0x1fd)]-0x1,_0x3040c7;_0x439b9f>=0x0;_0x439b9f--)(_0x3040c7=_0x12f033[_0x439b9f])&&(_0x39b068=_0x3040c7(_0x39b068)||_0x39b068);return _0x39b068;},N=(_0x471b06,_0x5e0abb)=>(_0x115e40,_0x23627b)=>_0x5e0abb(_0x115e40,_0x23627b,_0x471b06);let ce=class extends _0x28d182{constructor(_0x233a6f,_0x4f4d14,_0x4f2bb9,_0x125837,_0x1243f2,_0x256c36,_0x412ea3,_0x19d528){const _0x274421=_0x962cf9;super(),_(this,'_status$',new _0x1c5311(_0x6cb9cb['NOT_COLLAB'])),(this[_0x274421(0x215)]=_0x233a6f,this['_collaborationController']=_0x4f4d14,this[_0x274421(0x266)]=_0x4f2bb9,this['_docTransformStateCacheService']=_0x125837,this[_0x274421(0x20d)]=_0x1243f2,this[_0x274421(0x3a1)]=_0x256c36,this['_messageService']=_0x412ea3,this['_localeService']=_0x19d528,this[_0x274421(0x237)]());}[_0x962cf9(0x237)](){const _0xe8e2cd=_0x962cf9;this['disposeWithMe'](this[_0xe8e2cd(0x2de)][_0xe8e2cd(0x1ff)]['subscribe'](_0x6927a0=>{const _0x3912c2=_0xe8e2cd,_0x5815dd=this[_0x3912c2(0x215)][_0x3912c2(0x350)]['subscribe'](_0x276ab3=>{const _0x15d2db=_0x3912c2;if(_0x276ab3==null)return;const {unitId:_0x35b0ff,redoState:_0x411b79,commandId:_0xb8a38b}=_0x276ab3;if(_0x35b0ff!==_0x6927a0[_0x15d2db(0x295)])return;const _0x14cda2={'id':_0xb8a38b,'type':_0x1d3f18[_0x15d2db(0x30c)],'params':{'unitId':_0x35b0ff,'actions':_0x411b79[_0x15d2db(0x3df)],'textRanges':null}};_0x6927a0[_0x15d2db(0x3da)](_0x14cda2);});if(_0x6927a0['disposeWithMe'](_0x5815dd),_0x6927a0 instanceof _0x52bfbc){const _0x2f508b={'onTransformIME':_0x5e6724=>this[_0x3912c2(0x266)][_0x3912c2(0x365)](_0x5e6724),'onTransformState':_0x538ed5=>this[_0x3912c2(0x20c)]['transformStateCache'](_0x538ed5),'onTransformSelections':_0x49f6ec=>this[_0x3912c2(0x20d)][_0x3912c2(0x2f0)](_0x49f6ec),'onSyncEditingCollabCursor':_0x54c605=>this[_0x3912c2(0x3a1)][_0x3912c2(0x204)](_0x54c605),'onTransformRemoteChangesetByIMECache':_0x2dafaf=>this[_0x3912c2(0x266)]['transformRemoteChangeset'](_0x2dafaf),'onTransformRemoteChangesetByStateCache':_0x177293=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x177293)};_0x6927a0['addHandlerCallback'](_0x2f508b);}}));}};ce=cn([N(0x0,_0xcb25a3(_0x717295)),N(0x1,_0xcb25a3(_0x305548)),N(0x2,_0xcb25a3(re)),N(0x3,_0xcb25a3(oe)),N(0x4,_0xcb25a3(ae)),N(0x5,_0xcb25a3(He)),N(0x6,_0x163a37),N(0x7,_0xcb25a3(_0x430f5d))],ce);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x43e16e,_0x1bfe21,_0x415a28,_0x3923b7)=>{const _0xc94717=_0x962cf9;for(var _0x1c9ac6=_0x3923b7>0x1?void 0x0:_0x3923b7?ln(_0x1bfe21,_0x415a28):_0x1bfe21,_0x2c3bb2=_0x43e16e[_0xc94717(0x1fd)]-0x1,_0x22f885;_0x2c3bb2>=0x0;_0x2c3bb2--)(_0x22f885=_0x43e16e[_0x2c3bb2])&&(_0x1c9ac6=_0x22f885(_0x1c9ac6)||_0x1c9ac6);return _0x1c9ac6;},Ee=(_0x1ce913,_0x779a16)=>(_0x4baa2f,_0xa2e9dd)=>_0x779a16(_0x4baa2f,_0xa2e9dd,_0x1ce913);let we=class extends _0x28d182{constructor(_0xe93d42,_0xe9a965,_0x55b7fc){const _0x30c6ad=_0x962cf9;super(),_(this,_0x30c6ad(0x26f),new Map()),_(this,'_saveTaskMap',new Map()),_(this,_0x30c6ad(0x270),!0x1),(this[_0x30c6ad(0x31a)]=_0xe93d42,this[_0x30c6ad(0x347)]=_0xe9a965,this[_0x30c6ad(0x29e)]=_0x55b7fc);}[_0x962cf9(0x28e)](){const _0x37d269=_0x962cf9;this[_0x37d269(0x270)]=!0x0;}['enableLocalCache'](){const _0x5bb752=_0x962cf9;this[_0x5bb752(0x270)]=!0x1;}get[_0x962cf9(0x3ac)](){return this['_saveTaskMap'];}[_0x962cf9(0x2e8)](){const _0x2b1baf=_0x962cf9;this[_0x2b1baf(0x261)]()[_0x2b1baf(0x37d)](()=>super[_0x2b1baf(0x2e8)]());}async[_0x962cf9(0x2ed)](_0x514333){const _0x112828=_0x962cf9;return this['_disabled']?null:this[_0x112828(0x347)]['getItem'](_0x2923f1(_0x514333));}async[_0x962cf9(0x211)](_0x53d30b,_0xb8ca96){const _0x231bfc=_0x962cf9;return!!this[_0x231bfc(0x347)][_0x231bfc(0x385)](_0x53d30b,_0xb8ca96);}[_0x962cf9(0x381)](_0x19a3c5,_0x148109,_0x42315f,_0x5aefa1){const _0x2106bf=_0x962cf9,_0x4cfdc8=this[_0x2106bf(0x29e)]['getCurrentRevOfUnit'](_0x19a3c5);this[_0x2106bf(0x26f)][_0x2106bf(0x335)](_0x19a3c5,{'unitID':_0x19a3c5,'type':_0x148109,'awaitingChangeset':_0x42315f,'mutations':_0x5aefa1,'rev':_0x4cfdc8}),this[_0x2106bf(0x307)][_0x2106bf(0x2f3)](_0x19a3c5)||this[_0x2106bf(0x236)](_0x19a3c5);}[_0x962cf9(0x236)](_0x14e740){const _0x240959=_0x962cf9,_0x5660a6=this[_0x240959(0x294)]();_0x5660a6===0x0?this[_0x240959(0x216)](_0x14e740):this[_0x240959(0x307)][_0x240959(0x335)](_0x14e740,setTimeout(()=>this['_saveCache'](_0x14e740),_0x5660a6));}[_0x962cf9(0x294)](){const _0x5acdf4=_0x962cf9;var _0x106139;return(_0x106139=this[_0x5acdf4(0x31a)][_0x5acdf4(0x3c7)](_0x3cc047))!=null?_0x106139:_0x645872;}[_0x962cf9(0x216)](_0x1c98c9){const _0x4fce06=_0x962cf9,_0x2dbf22=this[_0x4fce06(0x307)][_0x4fce06(0x22d)](_0x1c98c9);return _0x2dbf22!==void 0x0&&window['clearTimeout'](_0x2dbf22),this['_localStorageService'][_0x4fce06(0x385)](_0x2923f1(_0x1c98c9),this[_0x4fce06(0x26f)]['get'](_0x1c98c9))[_0x4fce06(0x37d)](()=>this[_0x4fce06(0x307)][_0x4fce06(0x260)](_0x1c98c9));}async[_0x962cf9(0x261)](){const _0x22515f=_0x962cf9,_0x26cdbf=[];this[_0x22515f(0x307)]['forEach']((_0x118fcf,_0x49d69e)=>{const _0x5ebe66=_0x22515f;window[_0x5ebe66(0x37c)](_0x118fcf),_0x26cdbf[_0x5ebe66(0x3d1)](this[_0x5ebe66(0x216)](_0x49d69e)['then'](()=>{const _0x4477ca=_0x5ebe66;this[_0x4477ca(0x307)][_0x4477ca(0x260)](_0x49d69e);}));}),await Promise[_0x22515f(0x36d)](_0x26cdbf);}};we=_n([Ee(0x0,_0x4befe5),Ee(0x1,_0x258cee),Ee(0x2,_0xcb25a3(_0x4035c3))],we);class hn extends _0x18aeae{constructor(){const _0x72c279=_0x962cf9;super(),_(this,_0x72c279(0x35d)),this['urlChange$']=_0x417bf8(window,'popstate')['pipe'](_0x1bd82a(this[_0x72c279(0x304)]),_0x2a4246(0x1),_0x122c39(void 0x0));}['setParam'](_0x3cc231,_0x227041,_0x328e24=!0x1){const _0x54c91c=_0x962cf9,_0x334b15=new URL(window[_0x54c91c(0x33a)][_0x54c91c(0x3d5)]);_0x334b15[_0x54c91c(0x367)][_0x54c91c(0x335)](_0x3cc231,_0x227041),_0x328e24?window[_0x54c91c(0x23e)][_0x54c91c(0x20e)]('','',_0x334b15[_0x54c91c(0x2a9)]()):window[_0x54c91c(0x23e)]['pushState']('','',_0x334b15['toString']());}[_0x962cf9(0x3dd)](_0x41927e,_0x22e1ae=!0x1){const _0x132989=_0x962cf9,_0x5db930=new URL(window[_0x132989(0x33a)][_0x132989(0x3d5)]);_0x5db930[_0x132989(0x367)][_0x132989(0x260)](_0x41927e),_0x22e1ae?window[_0x132989(0x23e)][_0x132989(0x20e)]('','',_0x5db930[_0x132989(0x2a9)]()):window[_0x132989(0x23e)][_0x132989(0x2d8)]('','',_0x5db930[_0x132989(0x2a9)]());}[_0x962cf9(0x245)](_0x2db46b){const _0x1ebed7=_0x962cf9;var _0x6f7a80;return(_0x6f7a80=new URL(window[_0x1ebed7(0x33a)]['href'])[_0x1ebed7(0x367)][_0x1ebed7(0x22d)](_0x2db46b))!=null?_0x6f7a80:void 0x0;}}var un=Object['defineProperty'],dn=Object[_0x962cf9(0x31b)],fn=(_0x1acfdd,_0x5556d6,_0x1d5e11)=>_0x5556d6 in _0x1acfdd?un(_0x1acfdd,_0x5556d6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1d5e11}):_0x1acfdd[_0x5556d6]=_0x1d5e11,Sn=(_0x116094,_0x398f47,_0xd39966,_0x220cf1)=>{for(var _0x3c43fb=_0x220cf1>0x1?void 0x0:_0x220cf1?dn(_0x398f47,_0xd39966):_0x398f47,_0x2c00ab=_0x116094['length']-0x1,_0x1e803d;_0x2c00ab>=0x0;_0x2c00ab--)(_0x1e803d=_0x116094[_0x2c00ab])&&(_0x3c43fb=_0x1e803d(_0x3c43fb)||_0x3c43fb);return _0x3c43fb;},Oe=(_0x101aff,_0xe01c9a)=>(_0x97a0e7,_0x3c218a)=>_0xe01c9a(_0x97a0e7,_0x3c218a,_0x101aff),mn=(_0x543027,_0x246078,_0x59e678)=>fn(_0x543027,_0x246078+'',_0x59e678);const In=_0x962cf9(0x384);let Ae=class extends _0x3a3a0d{constructor(_0x4049d8=et,_0x1baf49,_0x2de28d,_0x110658){const _0x14969c=_0x962cf9;super(),this[_0x14969c(0x232)]=_0x4049d8,this[_0x14969c(0x2c0)]=_0x1baf49,this[_0x14969c(0x35e)]=_0x2de28d,this[_0x14969c(0x31a)]=_0x110658;const {..._0x19eb74}=_0x2af056({},et,this[_0x14969c(0x232)]);this[_0x14969c(0x31a)][_0x14969c(0x1fb)](Zi,_0x19eb74);}[_0x962cf9(0x2cf)](){const _0x115f49=_0x962cf9;this[_0x115f49(0x253)](),this[_0x115f49(0x3a8)]();}[_0x962cf9(0x2e9)](){const _0x4279ed=_0x962cf9;this[_0x4279ed(0x290)]();}['_registerDependencies'](){const _0x5e647d=_0x962cf9;var _0x550ff4;const _0x48bea5=[[ke],[ae],[re],[oe],[He],[Mt,{'useClass':hn}],[_0x7ddd3f,{'useClass':_0x10595c}],[_0x2c845a,{'useClass':we}],[se],[ce],[ie],[F],[Ne],[ne]];_0x418a4b(this[_0x5e647d(0x35e)],_0x4a5b4b(_0x48bea5,(_0x550ff4=this[_0x5e647d(0x232)])==null?void 0x0:_0x550ff4[_0x5e647d(0x2d3)]));}['_registerRenderDependencies'](){const _0x33061d=_0x962cf9;this[_0x33061d(0x36c)](this[_0x33061d(0x2c0)][_0x33061d(0x275)](_0x11844b[_0x33061d(0x301)],[Le])),this[_0x33061d(0x36c)](this['_renderManagerService'][_0x33061d(0x275)](_0x11844b[_0x33061d(0x1e9)],[Pe]));}[_0x962cf9(0x3a8)](){const _0x197292=_0x962cf9;_0x47fe41(this[_0x197292(0x35e)],[[F],[se],[ce],[ie],[ne]]);}};mn(Ae,_0x962cf9(0x272),In),Ae=Sn([_0x296f17(_0x246b97),Oe(0x1,_0x288115),Oe(0x2,_0xcb25a3(_0x266e02)),Oe(0x3,_0x4befe5)],Ae);var vn=Object[_0x962cf9(0x31b)],gn=(_0x1d137d,_0x148154,_0x468060,_0x170e1f)=>{for(var _0x47fce7=_0x170e1f>0x1?void 0x0:_0x170e1f?vn(_0x148154,_0x468060):_0x148154,_0x44ba67=_0x1d137d['length']-0x1,_0x268b83;_0x44ba67>=0x0;_0x44ba67--)(_0x268b83=_0x1d137d[_0x44ba67])&&(_0x47fce7=_0x268b83(_0x47fce7)||_0x47fce7);return _0x47fce7;},z=(_0x4071ef,_0x280d13)=>(_0x393b96,_0x7ea9df)=>_0x280d13(_0x393b96,_0x7ea9df,_0x4071ef);let it=class extends _0x47b134{constructor(_0x5b9e17,_0x38aa4d,_0x1e2cc5,_0x2ccf8f,_0x527fa7){super(_0x5b9e17,_0x38aa4d,_0x1e2cc5,_0x2ccf8f,_0x527fa7);}async[_0x962cf9(0x362)](_0x48d79e){const _0x4adf7d=_0x962cf9,_0x5a5571=await this[_0x4adf7d(0x2a7)](),_0xea13e1=this['_createSocketURL'](_0x48d79e,_0x5a5571);return this[_0x4adf7d(0x2c8)](_0xea13e1);}[_0x962cf9(0x28c)](_0x2e93d6,_0x406eaa){const _0x7f669=_0x962cf9,_0x711804=typeof window>'u'?new URL(_0x2e93d6):new URL(_0x2e93d6,window[_0x7f669(0x33a)]['origin']);_0x711804[_0x7f669(0x367)][_0x7f669(0x335)]('sessionTicket',_0x406eaa);const _0x1808b1=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x7f669(0x3b8)]);return _0x1808b1[_0x7f669(0x22d)]('runId')&&_0x711804[_0x7f669(0x367)][_0x7f669(0x335)](_0x7f669(0x209),_0x1808b1['get'](_0x7f669(0x209))),_0x711804[_0x7f669(0x2a9)]();}async[_0x962cf9(0x2a7)](){const _0x4c2949=_0x962cf9;var _0x199c48,_0x5efb53,_0x4d037b;const _0x4f3255=this[_0x4c2949(0x31a)][_0x4c2949(0x3c7)](_0x560485),_0x138b8d=(_0x199c48=_0x4f3255==null?void 0x0:_0x4f3255['wsSessionTicketUrl'])!=null?_0x199c48:_0x1a3bf9;return(_0x4d037b=(_0x5efb53=(await this[_0x4c2949(0x2e7)][_0x4c2949(0x22d)](_0x138b8d,{'headers':{'Content-Type':'application/json'}}))[_0x4c2949(0x244)])==null?void 0x0:_0x5efb53[_0x4c2949(0x293)])!=null?_0x4d037b:'';}};it=gn([z(0x0,_0xcb25a3(_0x266e02)),z(0x1,_0xcb25a3(_0x55461b)),z(0x2,_0x4befe5),z(0x3,_0x4b5f06),z(0x4,_0x1a3962)],it);const nt=0x7530,rt=_0x962cf9(0x3a5);class Fn extends _0x28d182{constructor(){const _0x4c54dd=_0x962cf9;super(),_(this,_0x4c54dd(0x2be),_0x1ebbcc()),_(this,_0x4c54dd(0x3bd),new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x4c54dd(0x373),null),_(this,'_clearOtherTimers',new Map()),_(this,'_unitStatus',new Map()),this['_init']();}['dispose'](){const _0x6e916e=_0x962cf9;super[_0x6e916e(0x2e8)](),this[_0x6e916e(0x20f)][_0x6e916e(0x2c1)]((_0x442381,_0x1b8277)=>this[_0x6e916e(0x359)](_0x1b8277)),this[_0x6e916e(0x373)]&&window[_0x6e916e(0x243)](this[_0x6e916e(0x373)]);}[_0x962cf9(0x323)](_0xe5d202){const _0x21f7c5=_0x962cf9;return this[_0x21f7c5(0x3b1)](_0xe5d202)[_0x21f7c5(0x3c5)](_0x5d80e7());}[_0x962cf9(0x21e)](_0x18532f){const _0x4d905b=_0x962cf9;this['_selfUnitIDs'][_0x4d905b(0x3de)]===0x0&&this[_0x4d905b(0x2e4)](),this[_0x4d905b(0x3bd)][_0x4d905b(0x1eb)](_0x18532f),this[_0x4d905b(0x312)]({'type':0x0,'memberID':this[_0x4d905b(0x2be)],'unitIDs':[_0x18532f],'isForwarded':!0x1});}[_0x962cf9(0x3ea)](_0x23a6af){const _0xca0c90=_0x962cf9;this[_0xca0c90(0x3bd)][_0xca0c90(0x260)](_0x23a6af),this[_0xca0c90(0x3bd)]['size']===0x0&&this[_0xca0c90(0x373)]&&window[_0xca0c90(0x243)](this[_0xca0c90(0x373)]);}['_init'](){const _0x480209=_0x962cf9;this[_0x480209(0x36c)](_0x354a81(_0x417bf8(window,_0x480209(0x344))[_0x480209(0x321)](_0x580147=>{const _0x4d20a5=_0x480209;if(_0x580147[_0x4d20a5(0x3be)]!==rt||!_0x580147['newValue'])return;const _0x138e44=JSON['parse'](_0x580147[_0x4d20a5(0x337)]);this[_0x4d20a5(0x3aa)](_0x138e44);}))),window[_0x480209(0x2ee)](_0x480209(0x386),()=>this[_0x480209(0x312)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x480209(0x35a)](this[_0x480209(0x3bd)])}));}[_0x962cf9(0x3aa)](_0x5cfd24){const _0x1ed9f0=_0x962cf9;switch(_0x5cfd24['type']){case 0x0:this[_0x1ed9f0(0x202)](_0x5cfd24);break;case 0x1:this['_handleLeaveEvent'](_0x5cfd24);break;case 0x2:this[_0x1ed9f0(0x27e)](_0x5cfd24);break;}}[_0x962cf9(0x202)](_0x4976f5){const _0xc38921=_0x962cf9,{unitIDs:_0x27d985,memberID:_0x269cf3,isForwarded:_0x46d726}=_0x4976f5;_0x27d985['forEach'](_0x54417e=>{const _0x426f65=_0x188b;if(!_0x46d726&&this['_unitOnClients'][_0x426f65(0x2f3)](_0x54417e)&&this[_0x426f65(0x3b1)](_0x54417e)['next'](_0xa42b24[_0x426f65(0x3a3)]),!this[_0x426f65(0x3a4)][_0x426f65(0x2f3)](_0x54417e)||!this['_unitOnClients'][_0x426f65(0x22d)](_0x54417e)[_0x426f65(0x2f3)](_0x269cf3)){const _0x2b37c1=this[_0x426f65(0x3a4)][_0x426f65(0x22d)](_0x54417e)||new Set();_0x2b37c1[_0x426f65(0x1eb)](_0x269cf3),this[_0x426f65(0x3a4)][_0x426f65(0x335)](_0x54417e,_0x2b37c1),this['_scheduleClearOtherTimer'](_0x269cf3);}}),_0x46d726||this['_send']({'type':0x0,'memberID':this[_0xc38921(0x2be)],'unitIDs':[...this[_0xc38921(0x3bd)]],'isForwarded':!0x0});}[_0x962cf9(0x30a)](_0x36df4a){const _0x448942=_0x962cf9;this['_removeClearOtherTimer'](_0x36df4a);const _0x513ad5=window['setTimeout'](()=>{const _0x44560f=_0x188b;this[_0x44560f(0x3a4)][_0x44560f(0x2c1)](_0x1abc19=>{_0x1abc19['delete'](_0x36df4a);});},nt*0x2);this['_clearOtherTimers'][_0x448942(0x335)](_0x36df4a,_0x513ad5);}['_removeClearOtherTimer'](_0x2db7a4){const _0x22e4b4=_0x962cf9;if(this[_0x22e4b4(0x20f)][_0x22e4b4(0x2f3)](_0x2db7a4)){const _0x2417cc=this[_0x22e4b4(0x20f)][_0x22e4b4(0x22d)](_0x2db7a4);_0x2417cc&&window['clearTimeout'](_0x2417cc),this[_0x22e4b4(0x20f)][_0x22e4b4(0x335)](_0x2db7a4,null);}}[_0x962cf9(0x252)](_0x213467){const _0x138a94=_0x962cf9,{memberID:_0x128b50,unitIDs:_0x9278c8}=_0x213467;_0x9278c8[_0x138a94(0x2c1)](_0xde7ab4=>{const _0x3efca7=_0x138a94;var _0x527510;const _0x1af7b3=this['_unitOnClients']['get'](_0xde7ab4);_0x1af7b3&&(_0x1af7b3['delete'](_0x128b50),(_0x527510=this[_0x3efca7(0x3b1)](_0xde7ab4))==null||_0x527510[_0x3efca7(0x30e)](_0x1af7b3[_0x3efca7(0x3de)]===0x0?_0xa42b24[_0x3efca7(0x2f1)]:_0xa42b24[_0x3efca7(0x3a3)]));}),this[_0x138a94(0x359)](_0x128b50);}[_0x962cf9(0x27e)](_0x421e00){const _0x423127=_0x962cf9;this['_scheduleClearOtherTimer'](_0x421e00[_0x423127(0x2f6)]);}[_0x962cf9(0x312)](_0x4f573c){const _0x3524e6=_0x962cf9;localStorage[_0x3524e6(0x385)](rt,JSON['stringify'](_0x4f573c));}['_scheduleHeartbeat'](){const _0x3e2d3b=_0x962cf9;this[_0x3e2d3b(0x373)]=window['setInterval'](()=>{const _0x22fc37=_0x3e2d3b;this['_send']({'type':0x2,'memberID':this[_0x22fc37(0x2be)]});},nt);}[_0x962cf9(0x3b1)](_0x4c6ff5){const _0x55e5ba=_0x962cf9;return this['_unitStatus'][_0x55e5ba(0x2f3)](_0x4c6ff5)||this['_unitStatus'][_0x55e5ba(0x335)](_0x4c6ff5,new _0x1c5311(_0xa42b24[_0x55e5ba(0x2f1)])),this[_0x55e5ba(0x37e)][_0x55e5ba(0x22d)](_0x4c6ff5);}}var Lt=(_0x594151=>(_0x594151[_0x594151[_0x962cf9(0x278)]=0x0]=_0x962cf9(0x278),_0x594151[_0x594151['OK']=0x1]='OK',_0x594151[_0x594151[_0x962cf9(0x23b)]=0x2]=_0x962cf9(0x23b),_0x594151[_0x594151['PERMISSION_DENIED']=0x3]=_0x962cf9(0x3e9),_0x594151[_0x594151[_0x962cf9(0x2ca)]=0x4]=_0x962cf9(0x2ca),_0x594151[_0x594151['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x594151[_0x594151[_0x962cf9(0x1f4)]=0x6]=_0x962cf9(0x1f4),_0x594151[_0x594151[_0x962cf9(0x341)]=0x7]='INVALID_ARGUMENT',_0x594151[_0x594151[_0x962cf9(0x3b5)]=0x8]=_0x962cf9(0x3b5),_0x594151[_0x594151['COMPLETION_FINISHED']=0x9]=_0x962cf9(0x210),_0x594151[_0x594151['LOGIN_FAILED']=0xa]=_0x962cf9(0x33d),_0x594151[_0x594151['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x962cf9(0x207),_0x594151[_0x594151['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x962cf9(0x29a),_0x594151[_0x594151[_0x962cf9(0x214)]=0xd]=_0x962cf9(0x214),_0x594151[_0x594151[_0x962cf9(0x2ba)]=0xe]=_0x962cf9(0x2ba),_0x594151[_0x594151[_0x962cf9(0x22f)]=0x1389]=_0x962cf9(0x22f),_0x594151[_0x594151[_0x962cf9(0x38b)]=0x1771]=_0x962cf9(0x38b),_0x594151[_0x594151[_0x962cf9(0x39b)]=0x1772]=_0x962cf9(0x39b),_0x594151[_0x594151[_0x962cf9(0x3a9)]=0x1773]=_0x962cf9(0x3a9),_0x594151[_0x594151[_0x962cf9(0x39f)]=0x1b59]=_0x962cf9(0x39f),_0x594151[_0x594151['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x962cf9(0x343),_0x594151[_0x594151['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x962cf9(0x298),_0x594151[_0x594151[_0x962cf9(0x269)]=0x1b5c]=_0x962cf9(0x269),_0x594151[_0x594151[_0x962cf9(0x356)]=0x1b5d]=_0x962cf9(0x356),_0x594151[_0x594151['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x962cf9(0x30d),_0x594151[_0x594151[_0x962cf9(0x35b)]=0x2329]=_0x962cf9(0x35b),_0x594151[_0x594151['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x962cf9(0x2a1),_0x594151[_0x594151[_0x962cf9(0x300)]=0x232b]=_0x962cf9(0x300),_0x594151[_0x594151[_0x962cf9(0x317)]=0x232c]=_0x962cf9(0x317),_0x594151[_0x594151['LICENSE_DISTRO_REJECTED']=0x232d]=_0x962cf9(0x3dc),_0x594151[_0x594151[_0x962cf9(0x23c)]=0x2711]=_0x962cf9(0x23c),_0x594151[_0x594151[_0x962cf9(0x20b)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x594151[_0x594151[_0x962cf9(0x35f)]=0x2713]=_0x962cf9(0x35f),_0x594151[_0x594151[_0x962cf9(0x325)]=0x2714]=_0x962cf9(0x325),_0x594151[_0x594151[_0x962cf9(0x2a2)]=0x271a]=_0x962cf9(0x2a2),_0x594151[_0x594151['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x962cf9(0x3c9),_0x594151[_0x594151[_0x962cf9(0x309)]=0x271c]=_0x962cf9(0x309),_0x594151[_0x594151['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x962cf9(0x2b4),_0x594151[_0x594151[_0x962cf9(0x3a6)]=0x271e]=_0x962cf9(0x3a6),_0x594151[_0x594151['YUUMI_AI_RUN_FAILED']=0x271f]=_0x962cf9(0x3e0),_0x594151[_0x594151[_0x962cf9(0x1f8)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x594151[_0x594151[_0x962cf9(0x3c8)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x594151[_0x594151[_0x962cf9(0x285)]=0x2ee1]=_0x962cf9(0x285),_0x594151[_0x594151[_0x962cf9(0x299)]=0x2ee2]=_0x962cf9(0x299),_0x594151[_0x594151['INVITE_CODE_REQUIRED']=0x2ee3]=_0x962cf9(0x217),_0x594151[_0x594151['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x594151[_0x594151[_0x962cf9(0x3b0)]=0x2ee5]=_0x962cf9(0x3b0),_0x594151[_0x594151[_0x962cf9(0x2d2)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x594151[_0x594151[_0x962cf9(0x262)]=0x32ca]=_0x962cf9(0x262),_0x594151[_0x594151[_0x962cf9(0x2c6)]=0x32cb]=_0x962cf9(0x2c6),_0x594151[_0x594151[_0x962cf9(0x3b9)]=-0x1]=_0x962cf9(0x3b9),_0x594151))(Lt||{}),pn=Object[_0x962cf9(0x31b)],Cn=(_0x11278b,_0x2e09a1,_0x581528,_0xc6c0af)=>{const _0x41ffc2=_0x962cf9;for(var _0x27702d=_0xc6c0af>0x1?void 0x0:_0xc6c0af?pn(_0x2e09a1,_0x581528):_0x2e09a1,_0x547a7c=_0x11278b[_0x41ffc2(0x1fd)]-0x1,_0x37dfc3;_0x547a7c>=0x0;_0x547a7c--)(_0x37dfc3=_0x11278b[_0x547a7c])&&(_0x27702d=_0x37dfc3(_0x27702d)||_0x27702d);return _0x27702d;},be=(_0x3b352a,_0x35ab22)=>(_0x317c4,_0x1ff99d)=>_0x35ab22(_0x317c4,_0x1ff99d,_0x3b352a);let ot=class extends _0x28d182{constructor(_0x5805b8,_0x2c2de4,_0x3080ed){const _0x4c95c9=_0x962cf9;super(),this['_instanceService']=_0x5805b8,this[_0x4c95c9(0x2e7)]=_0x2c2de4,this[_0x4c95c9(0x31a)]=_0x3080ed;}async[_0x962cf9(0x390)](_0x384af7,_0x573066,_0x56fb33,..._0x3a7110){const _0x526a2f=_0x962cf9;var _0x3c4d60,_0x2ca8ce,_0x57d35d,_0x2c24d1;const _0x4dc622=this[_0x526a2f(0x223)][_0x526a2f(0x320)]();if(!_0x4dc622)throw new Error(_0x526a2f(0x22e));const _0x10690d=((_0x3c4d60=this[_0x526a2f(0x31a)][_0x526a2f(0x3c7)](_0x4794eb))!=null?_0x3c4d60:_0x3170bf)+'/'+_0x384af7+_0x526a2f(0x2d6)+_0x573066,_0x509d47=new URL(window['location'][_0x526a2f(0x3d5)]),_0x534161={'scriptId':_0x384af7,'runId':(_0x2ca8ce=_0x509d47[_0x526a2f(0x367)][_0x526a2f(0x22d)](_0x526a2f(0x209)))!=null?_0x2ca8ce:'','function':_0x573066,'unitId':_0x4dc622[_0x526a2f(0x2db)](),'argsOfFunction':JSON[_0x526a2f(0x3d3)](_0x3a7110),'invokeId':(_0x57d35d=_0x56fb33[_0x526a2f(0x2b6)])!=null?_0x57d35d:'','executionId':(_0x2c24d1=_0x56fb33[_0x526a2f(0x1f2)])!=null?_0x2c24d1:''};try{const _0x32a894=await this[_0x526a2f(0x2e7)][_0x526a2f(0x3f0)](_0x10690d,{'body':_0x534161});return _0x32a894[_0x526a2f(0x244)][_0x526a2f(0x31f)]&&_0x32a894[_0x526a2f(0x244)]['error'][_0x526a2f(0x3d6)]!==Lt['OK']?_0x526a2f(0x387):_0x32a894[_0x526a2f(0x244)][_0x526a2f(0x2cd)];}catch{return _0x526a2f(0x387);}}};ot=Cn([be(0x0,_0x163e05),be(0x1,_0xcb25a3(_0x55461b)),be(0x2,_0x4befe5)],ot);export{it as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,se as DesktopCollaborationStatusDisplayController,Mt as IURLService,ot as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
package/lib/es/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x3c97dc=_0x49b4;(function(_0x4fa098,_0x2c5dc5){const _0x1ed7a4=_0x49b4,_0x502aae=_0x4fa098();while(!![]){try{const _0x318e1e=-parseInt(_0x1ed7a4(0x1bb))/0x1*(-parseInt(_0x1ed7a4(0x1b4))/0x2)+parseInt(_0x1ed7a4(0x1b5))/0x3+parseInt(_0x1ed7a4(0x1c1))/0x4*(parseInt(_0x1ed7a4(0x1ba))/0x5)+parseInt(_0x1ed7a4(0x1ae))/0x6*(-parseInt(_0x1ed7a4(0x1b8))/0x7)+parseInt(_0x1ed7a4(0x1b7))/0x8+parseInt(_0x1ed7a4(0x1ad))/0x9*(parseInt(_0x1ed7a4(0x1bf))/0xa)+parseInt(_0x1ed7a4(0x1b9))/0xb*(-parseInt(_0x1ed7a4(0x1bd))/0xc);if(_0x318e1e===_0x2c5dc5)break;else _0x502aae['push'](_0x502aae['shift']());}catch(_0x28d7bf){_0x502aae['push'](_0x502aae['shift']());}}}(_0x3bb7,0x44c14));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x3c97dc(0x1b1),'conflict':'Edit\x20conflicts','notCollab':'Local\x20file','synced':'Synced','syncing':_0x3c97dc(0x1bc),'offline':_0x3c97dc(0x1af)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x3c97dc(0x1b3),'room-full':_0x3c97dc(0x1b0),'collaboration-timeout':_0x3c97dc(0x1b2)},'conflict':{'title':_0x3c97dc(0x1c2),'content':_0x3c97dc(0x1be)},'permission':{'title':'Authentication\x20Error','content':_0x3c97dc(0x1b6)},'collaboration':{'single-unit':{'warning':_0x3c97dc(0x1c0)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}},o=e;function _0x49b4(_0x205ef5,_0x427534){const _0x3bb756=_0x3bb7();return _0x49b4=function(_0x49b4f3,_0xb614e9){_0x49b4f3=_0x49b4f3-0x1ad;let _0x9f2c40=_0x3bb756[_0x49b4f3];return _0x9f2c40;},_0x49b4(_0x205ef5,_0x427534);}function _0x3bb7(){const _0x2e048a=['You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','1796ZgAjto','Collaboration\x20Conflict','8928VCnlNZ','199278wUnffL','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Syncing\x20server\x20data...','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','30oPyfyY','276510NUvHdX','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','1202280AHLxtn','77ugIRQZ','237094GJqilW','3635kJbCac','37143DleSgl','Syncing...','312XGfrgB','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.','820nSkGXX'];_0x3bb7=function(){return _0x2e048a;};return _0x3bb7();}export{o as default};
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x3669(){const _0x106813=['Collaboration\x20Conflict','Synced','2424576yzqzhP','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Click\x20to\x20Reconnect','4deBpNT','Edit\x20conflicts','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','2474820FDFQpe','2359935qlUbmA','Connection\x20failed,\x20please\x20check\x20your\x20network.','10293390RaxNGH','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.','Local\x20file','75976dnyOKO','413139tzrygv','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','343flHLxf','Authentication\x20Error','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','318301StjgpI'];_0x3669=function(){return _0x106813;};return _0x3669();}const _0x2fdcc3=_0x420e;(function(_0x45a0b3,_0x34dd2e){const _0x590ba8=_0x420e,_0x2a0223=_0x45a0b3();while(!![]){try{const _0x52358f=parseInt(_0x590ba8(0x69))/0x1*(parseInt(_0x590ba8(0x71))/0x2)+-parseInt(_0x590ba8(0x64))/0x3+parseInt(_0x590ba8(0x6c))/0x4+parseInt(_0x590ba8(0x75))/0x5+parseInt(_0x590ba8(0x74))/0x6+-parseInt(_0x590ba8(0x66))/0x7*(parseInt(_0x590ba8(0x7a))/0x8)+-parseInt(_0x590ba8(0x77))/0x9;if(_0x52358f===_0x34dd2e)break;else _0x2a0223['push'](_0x2a0223['shift']());}catch(_0xffc83a){_0x2a0223['push'](_0x2a0223['shift']());}}}(_0x3669,0x5ce0b));function _0x420e(_0x194cc7,_0x580f58){const _0x366945=_0x3669();return _0x420e=function(_0x420eb6,_0x2507fd){_0x420eb6=_0x420eb6-0x64;let _0x1dd04a=_0x366945[_0x420eb6];return _0x1dd04a;},_0x420e(_0x194cc7,_0x580f58);}const e={'collab-client':{'tooltip':{'reconnect':_0x2fdcc3(0x70)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x2fdcc3(0x72),'notCollab':_0x2fdcc3(0x79),'synced':_0x2fdcc3(0x6b),'syncing':'Syncing...','offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x2fdcc3(0x76),'will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':_0x2fdcc3(0x6e),'collaboration-timeout':_0x2fdcc3(0x6d)},'conflict':{'title':_0x2fdcc3(0x6a),'content':_0x2fdcc3(0x78)},'permission':{'title':_0x2fdcc3(0x67),'content':_0x2fdcc3(0x6f)},'collaboration':{'single-unit':{'warning':_0x2fdcc3(0x65)},'closeRoom':_0x2fdcc3(0x68)},'auth':{'needGotoLoginAlert':_0x2fdcc3(0x73)}};export{e as default};
|