@univerjs-pro/collaboration-client-ui 0.9.1-nightly.202507081607 → 0.9.1-nightly.202507091606
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x2ca6f1=_0xb26e;(function(_0x12f954,_0x3b7860){const _0xdfa802=_0xb26e,_0x38141d=_0x12f954();while(!![]){try{const _0x50dfc4=-parseInt(_0xdfa802(0x2ac))/0x1+parseInt(_0xdfa802(0x256))/0x2+-parseInt(_0xdfa802(0x3aa))/0x3*(parseInt(_0xdfa802(0x32e))/0x4)+parseInt(_0xdfa802(0x1ea))/0x5*(-parseInt(_0xdfa802(0x213))/0x6)+parseInt(_0xdfa802(0x27a))/0x7*(-parseInt(_0xdfa802(0x324))/0x8)+-parseInt(_0xdfa802(0x312))/0x9*(parseInt(_0xdfa802(0x30f))/0xa)+parseInt(_0xdfa802(0x1b3))/0xb;if(_0x50dfc4===_0x3b7860)break;else _0x38141d['push'](_0x38141d['shift']());}catch(_0x3493c0){_0x38141d['push'](_0x38141d['shift']());}}}(_0xd5c9,0x8803d));var $t=Object['defineProperty'],xt=(_0x455e2f,_0x3ebfb1,_0x5987c4)=>_0x3ebfb1 in _0x455e2f?$t(_0x455e2f,_0x3ebfb1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5987c4}):_0x455e2f[_0x3ebfb1]=_0x5987c4,_=(_0x4e280a,_0x4c8c0b,_0x799330)=>xt(_0x4e280a,typeof _0x4c8c0b!=_0x2ca6f1(0x221)?_0x4c8c0b+'':_0x4c8c0b,_0x799330);import{MemberService as _0x4997ad,SessionStatus as _0x1b7163,CollaborationSessionService as _0x91b51d,CollaborationStatus as _0xc0ee2f,CollaborationController as _0x31f314,ILocalCacheService as _0x181985,CollaborationUIEventService as _0x3590f2,CollaborationUIEventId as _0xc23e90,DataLoaderService as _0x16c3d1,DocCollaborationEntity as _0x4911bb,getLocalCacheKey as _0x1e1c39,LOCAL_CACHE_INTERVAL as _0x41edb0,LOCAL_CACHE_INTERVAL_KEY as _0x1d3eb5,UniverCollaborationClientPlugin as _0x29fd25,CollaborationSocketService as _0x2d8539,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x62fa1b,DEFAULT_WS_SESSION_TICKET_URL as _0x394ab0,UnitStatus as _0x39aee4,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x1a04d5,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x579a42}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x43ae8a,Disposable as _0xcf188f,DOC_RANGE_TYPE as _0x5dd866,Inject as _0x42b6f2,Injector as _0x2c3916,IUniverInstanceService as _0x121b61,ICommandService as _0x208f1c,debounce as _0xa4189d,Rectangle as _0x3005d3,DisposableCollection as _0x2d0bc9,toDisposable as _0x4a043f,UniverInstanceType as _0x2e4ce1,Tools as _0x2d6480,COLORS as _0x228576,ColorKit as _0x330549,ThemeService as _0x89e8ff,fromEventSubject as _0x27183e,LocaleService as _0x1588bd,createIdentifier as _0x22ca85,ILogService as _0x20e80d,Optional as _0x81ab6b,Workbook as _0x8cf4e6,CommandType as _0x20b7ac,IConfigService as _0x380f00,ILocalStorageService as _0x30cbfd,DependentOn as _0x2e4be9,Plugin as _0xa24570,merge as _0x4f1705,registerDependencies as _0x3dca79,mergeOverrideWithDependencies as _0x542dc9,touchDependencies as _0x27886c,generateRandomId as _0x240ed2}from'@univerjs/core';import{Shape as _0x45b365,Rect as _0x1ef53a,getColor as _0x8794e2,RegularPolygon as _0xb5ffc4,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x461ed3,Vector2 as _0x212282,SHEET_VIEWPORT_KEY as _0x5bb23f,IRenderManagerService as _0x19b0b6}from'@univerjs/engine-render';import{ISocketService as _0x184c8c,WebSocketService as _0x35d284,HTTPService as _0x22036d}from'@univerjs/network';import{IDocClipboardService as _0x1d59ec,NodePositionConvertToCursor as _0xe8bcfb,NodePositionConvertToRectRange as _0x53124a,TEXT_RANGE_LAYER_INDEX as _0x1735e4,SetDocZoomRatioOperation as _0x294f37,DocIMEInputManagerService as _0x585241,DocStateChangeManagerService as _0x228b24}from'@univerjs/docs-ui';import{IImageIoService as _0x52841b}from'@univerjs/drawing';import{BehaviorSubject as _0x29f35a,debounceTime as _0x5b1db8,takeUntil as _0x100102,Subject as _0x2aba1a,filter as _0x143f8e,switchMap as _0x521edf,merge as _0x925036,combineLatest as _0x527d9a,of as _0x4f7dc8,fromEvent as _0x3d349e,shareReplay as _0x4787b2,mapTo as _0x4f1fae,distinctUntilChanged as _0x1769e6}from'rxjs';import{ITransformService as _0x18b730,CollaborationEvent as _0x5ca015,isTransformMutationFailure as _0x5f09cd,isTransformMutationsWithChangesetSuccess as _0x21ed70,RevisionService as _0x4e84a2,ISnapshotServerService as _0x1e0d9d}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x2353e4,RichTextEditingMutation as _0x6a49b,DocSelectionManagerService as _0x182f79,DocSkeletonManagerService as _0x27bec7}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x490fe0,serializeRangeWithSheet as _0xbab0e8}from'@univerjs/engine-formula';import{RefRangeService as _0x2212d9,SetSelectionsOperation as _0x3d23b1,SheetsSelectionsService as _0x525965,EffectRefRangId as _0x46187f,handleIRemoveRow as _0x42b3cd,handleIRemoveCol as _0x299cbd,handleMoveRange as _0x2c3195,handleInsertRow as _0x1988e5,handleInsertRangeMoveRight as _0x5bfff5,handleInsertRangeMoveDown as _0x166a9d,handleInsertCol as _0x551d54,handleDeleteRangeMoveUp as _0x33f78b,handleDeleteRangeMoveLeft as _0x524dde,runRefRangeMutations as _0x36743a,SetWorksheetActivateCommand as _0x57fb78}from'@univerjs/sheets';import{map as _0x4de96b,filter as _0x1a5c76,throttleTime as _0x74dfe1,takeUntil as _0x40b6c8,switchMap as _0x25b251}from'rxjs/operators';import{SheetSkeletonManagerService as _0x548d8e,getCoordByCell as _0xcceaf8,getSheetObject as _0x4f7472}from'@univerjs/sheets-ui';import{jsx as _0x9ef133,jsxs as _0x3dcd8f}from'react/jsx-runtime';import{useObservable as _0x54224f,useDependency as _0x434f76,IUIPartsService as _0x5bb544,BuiltInUIPart as _0x59d443,connectInjector as _0x260ab9,IBeforeCloseService as _0x22f69a,IMessageService as _0x19c49d,INotificationService as _0x4ff4b4}from'@univerjs/ui';import{Tooltip as _0x2401fa,clsx as _0x22264a,MessageType as _0x408410}from'@univerjs/design';import{forwardRef as _0x4f85b6,useRef as _0x5ec706,createElement as _0x1313c7,useCallback as _0x18aa8b}from'react';import{IRemoteInstanceService as _0x2603da}from'@univerjs/rpc';var ci=Object[_0x2ca6f1(0x28e)],li=(_0x3b5027,_0x5298f5,_0xd83763,_0x3ff19d)=>{const _0x39b1ef=_0x2ca6f1;for(var _0x2c609b=_0x3ff19d>0x1?void 0x0:_0x3ff19d?ci(_0x5298f5,_0xd83763):_0x5298f5,_0x56c505=_0x3b5027[_0x39b1ef(0x24b)]-0x1,_0x2702fe;_0x56c505>=0x0;_0x56c505--)(_0x2702fe=_0x3b5027[_0x56c505])&&(_0x2c609b=_0x2702fe(_0x2c609b)||_0x2c609b);return _0x2c609b;},Je=(_0xf5acb5,_0x943884)=>(_0x5b9bc4,_0x379638)=>_0x943884(_0x5b9bc4,_0x379638,_0xf5acb5);let Ne=class extends _0x43ae8a{constructor(_0x5447a9,_0x2c9ed6){const _0x4b2189=_0x2ca6f1;super(),this['_docClipboardService']=_0x5447a9,this[_0x4b2189(0x27f)]=_0x2c9ed6,this['_init']();}[_0x2ca6f1(0x1f8)](){const _0x4a6aa6=_0x2ca6f1,_0x188bc3=this;this[_0x4a6aa6(0x39a)](this[_0x4a6aa6(0x27d)][_0x4a6aa6(0x2f5)]({'onBeforePasteImage':async _0x5377ce=>{const _0x3c60b9=_0x4a6aa6,_0x10664e=await _0x188bc3[_0x3c60b9(0x27f)][_0x3c60b9(0x368)](_0x5377ce);return _0x10664e?{'source':_0x10664e[_0x3c60b9(0x265)],'imageSourceType':_0x10664e[_0x3c60b9(0x307)]}:null;}}));}};Ne=li([Je(0x0,_0x1d59ec),Je(0x1,_0x52841b)],Ne);const Ze=[_0x2ca6f1(0x208),_0x2ca6f1(0x1e3),'green.600',_0x2ca6f1(0x2b7),_0x2ca6f1(0x1bc),_0x2ca6f1(0x355)];class ke extends _0xcf188f{constructor(){const _0x1fec06=_0x2ca6f1;super(...arguments),_(this,_0x1fec06(0x1bb),new Map()),_(this,_0x1fec06(0x2dd),0x0);}['assignAColorForMemberID'](_0x1ad04f){const _0xf44795=_0x2ca6f1;if(this[_0xf44795(0x1bb)][_0xf44795(0x365)](_0x1ad04f))return this[_0xf44795(0x1bb)]['get'](_0x1ad04f);const _0x489188=Ze[this['_colorIndex']];return this['_colorIndex']=(this[_0xf44795(0x2dd)]+0x1)%Ze[_0xf44795(0x24b)],this[_0xf44795(0x1bb)][_0xf44795(0x2e4)](_0x1ad04f,_0x489188),_0x489188;}}function Tt(_0x3bbdcf){const _0x472546=_0x2ca6f1;let _0x3aaccf='';for(const _0x3047d7 of _0x3bbdcf){const {startOffset:_0x375c32,endOffset:_0x532a55,isActive:_0x245e34,rangeType:_0x554486,segmentId:_0x30a4fe,segmentPage:_0x911000}=_0x3047d7;_0x3aaccf[_0x472546(0x24b)]&&(_0x3aaccf+=','),_0x3aaccf+=_0x375c32+':'+_0x532a55+':'+(_0x245e34?'1':'0')+':'+_0x554486+':'+_0x30a4fe+':'+_0x911000;}return _0x3aaccf;}function _i(_0x268a62){const _0x431cf4=_0x2ca6f1,_0x1a2e6e=_0x268a62[_0x431cf4(0x357)](','),_0x336ced=[];for(const _0x3f2db8 of _0x1a2e6e){const [_0x5e953a,_0x3788bf,_0x447082,_0x3a0c7c,_0x134d7d,_0x187ed5]=_0x3f2db8['split'](':');_0x336ced[_0x431cf4(0x36f)]({'startOffset':Number(_0x5e953a),'endOffset':Number(_0x3788bf),'collapsed':_0x5e953a===_0x3788bf,'isActive':_0x447082==='1','rangeType':_0x3a0c7c===_0x5dd866[_0x431cf4(0x391)]?_0x5dd866[_0x431cf4(0x391)]:_0x5dd866[_0x431cf4(0x309)],'segmentId':typeof _0x134d7d==_0x431cf4(0x325)?String(_0x134d7d):'','segmentPage':Number(_0x187ed5!=null?_0x187ed5:-0x1)});}return _0x336ced['some'](_0x1442f0=>_0x1442f0[_0x431cf4(0x38e)])||(_0x336ced[0x0][_0x431cf4(0x38e)]=!0x0),_0x336ced;}class He extends _0x43ae8a{constructor(){const _0x187178=_0x2ca6f1;super(...arguments),_(this,_0x187178(0x33c),new _0x29f35a(null)),_(this,'collabCursorState$',this[_0x187178(0x33c)][_0x187178(0x317)]());}[_0x2ca6f1(0x1f5)](_0x3f9d71){const _0x536f8e=_0x2ca6f1,{unitID:_0x401531,memberID:_0x534b65,textRanges:_0x2cba10}=_0x3f9d71,_0x103dac=Tt(_0x2cba10);if(_0x103dac==='')return;const _0x2798bf={'unitID':_0x401531,'memberID':_0x534b65,'selection':_0x103dac};this[_0x536f8e(0x33c)][_0x536f8e(0x23b)](_0x2798bf);}}var hi=Object[_0x2ca6f1(0x28e)],ui=(_0x4c27b9,_0x23875a,_0x34965f,_0x16f50a)=>{for(var _0x361f7b=_0x16f50a>0x1?void 0x0:_0x16f50a?hi(_0x23875a,_0x34965f):_0x23875a,_0x413990=_0x4c27b9['length']-0x1,_0x33590d;_0x413990>=0x0;_0x413990--)(_0x33590d=_0x4c27b9[_0x413990])&&(_0x361f7b=_0x33590d(_0x361f7b)||_0x361f7b);return _0x361f7b;},P=(_0x241538,_0x835d8a)=>(_0x39b250,_0x4a0750)=>_0x835d8a(_0x39b250,_0x4a0750,_0x241538);const di=0x12c,fi=0x64;let Ue=class extends _0x43ae8a{constructor(_0xf9066e,_0x3a9978,_0x109588,_0x3b5295,_0x402d76,_0x46c333,_0x46a198,_0x26bba6,_0x11a470){const _0x14f683=_0x2ca6f1;super(),_(this,_0x14f683(0x371),!0x1),_(this,_0x14f683(0x1f8),!0x1),_(this,_0x14f683(0x2b0),new _0x29f35a(new Map())),_(this,_0x14f683(0x1d8),this['_cursorInfo$'][_0x14f683(0x317)]()),_(this,_0x14f683(0x1d7),new _0x29f35a([])),_(this,_0x14f683(0x23f),this[_0x14f683(0x1d7)][_0x14f683(0x2d2)](_0x5b1db8(di))),_(this,_0x14f683(0x32b),_0xa4189d(_0xd3095a=>{const _0x1814af=_0x14f683,_0x1efd91={'eventID':_0x5ca015[_0x1814af(0x388)],'data':{'unitID':this[_0x1814af(0x29a)],'memberID':this['_session'][_0x1814af(0x24d)](),'selection':Tt(_0xd3095a)}};this['_session'][_0x1814af(0x2ad)](_0x1efd91,this[_0x1814af(0x29a)]);},fi)),(this[_0x14f683(0x29a)]=_0xf9066e,this['_session']=_0x3a9978,this[_0x14f683(0x268)]=_0x109588,this['_colorAssignService']=_0x3b5295,this['_memberService']=_0x402d76,this['_syncEditingCollabCursorService']=_0x46c333,this['_transformService']=_0x46a198,this[_0x14f683(0x2ec)]=_0x26bba6,this['_commandService']=_0x11a470);}get['cursorInfo'](){const _0x597f4a=_0x2ca6f1;return this['_cursorInfo$'][_0x597f4a(0x225)]();}get['roomMembers'](){const _0xabf2d=_0x2ca6f1;return this[_0xabf2d(0x1d7)][_0xabf2d(0x225)]();}[_0x2ca6f1(0x2de)](){const _0x2b0a31=_0x2ca6f1;super[_0x2b0a31(0x2de)](),this['_cursorInfo$'][_0x2b0a31(0x23b)](new Map()),this[_0x2b0a31(0x2b0)][_0x2b0a31(0x1e0)](),this[_0x2b0a31(0x1d7)][_0x2b0a31(0x23b)]([]),this[_0x2b0a31(0x1d7)][_0x2b0a31(0x1e0)]();}[_0x2ca6f1(0x328)](){const _0x2b0a64=_0x2ca6f1;this[_0x2b0a64(0x1f8)]||(this[_0x2b0a64(0x1f8)]=!0x0,this[_0x2b0a64(0x316)]['sessionStatus$'][_0x2b0a64(0x2d2)](_0x100102(this['dispose$']))[_0x2b0a64(0x1dd)](_0x1591b4=>{const _0x3c72c5=_0x2b0a64;_0x1591b4===_0x1b7163[_0x3c72c5(0x211)]?this[_0x3c72c5(0x1b2)]():this[_0x3c72c5(0x1f1)]();}),this[_0x2b0a64(0x316)][_0x2b0a64(0x1bd)][_0x2b0a64(0x2d2)](_0x100102(this[_0x2b0a64(0x2b5)]))[_0x2b0a64(0x1dd)](_0x528e35=>{const _0x5792db=_0x2b0a64,_0x1b7f7c=_0x528e35[_0x5792db(0x2b6)];_0x1b7f7c===_0x5ca015['UPDATE_CURSOR']&&this[_0x5792db(0x30c)](_0x528e35),_0x1b7f7c===_0x5ca015[_0x5792db(0x2b8)]&&this['_onCursorDelete'](_0x528e35);}),this[_0x2b0a64(0x39a)](this[_0x2b0a64(0x356)]['onCommandExecuted'](_0x5c4188=>{const _0x436aff=_0x2b0a64,_0xa98caa=_0x5c4188[_0x436aff(0x1eb)];_0xa98caa!=null&&this[_0x436aff(0x371)]&&_0x5c4188['id']===_0x2353e4['id']&&_0xa98caa[_0x436aff(0x2bb)]===this[_0x436aff(0x29a)]&&_0xa98caa[_0x436aff(0x29e)]===!0x1&&_0xa98caa[_0x436aff(0x332)]['length']>0x0&&this[_0x436aff(0x32b)](_0xa98caa[_0x436aff(0x332)]);})),this['_syncEditingCollabCursorService'][_0x2b0a64(0x360)][_0x2b0a64(0x2d2)](_0x100102(this[_0x2b0a64(0x2b5)]))[_0x2b0a64(0x1dd)](_0x25b5f4=>{const _0x3d99fb=_0x2b0a64;if((_0x25b5f4==null?void 0x0:_0x25b5f4['unitID'])!==this[_0x3d99fb(0x29a)])return;const _0x2c89fc={'eventID':_0x5ca015['UPDATE_CURSOR'],'data':_0x25b5f4};this[_0x3d99fb(0x30c)](_0x2c89fc);}),this[_0x2b0a64(0x39a)](this['_commandService'][_0x2b0a64(0x2af)](_0x38a4be=>{const _0x3bc411=_0x2b0a64;if(_0x38a4be[_0x3bc411(0x1eb)]==null)return;const _0xe47a4=_0x38a4be[_0x3bc411(0x1eb)];if(_0x38a4be['id']!==_0x6a49b['id']||_0xe47a4[_0x3bc411(0x2bb)]!==this[_0x3bc411(0x29a)])return;const _0x3687a4={'id':_0x3bc411(0x235),'params':_0xe47a4},_0x1aacfb=this[_0x3bc411(0x2f8)];for(const [_0x4f7590,_0x5cd6cc]of _0x1aacfb){const _0x2644eb={'id':_0x3bc411(0x235),'params':{'unitId':this[_0x3bc411(0x29a)],'actions':null,'textRanges':_0x5cd6cc['ranges']}},_0x544f0c=this[_0x3bc411(0x2ef)][_0x3bc411(0x290)](_0x3687a4,_0x2644eb,!0x1);if(_0x5f09cd(_0x544f0c))throw _0x544f0c[_0x3bc411(0x318)];_0x1aacfb['set'](_0x4f7590,{..._0x5cd6cc,'ranges':_0x544f0c['m2Prime'][_0x3bc411(0x1eb)]['textRanges']});}queueMicrotask(()=>{const _0x2856eb=_0x3bc411;this[_0x2856eb(0x2b0)][_0x2856eb(0x23b)](_0x1aacfb);});})));}[_0x2ca6f1(0x30c)](_0x3d6877){const _0x47d3ff=_0x2ca6f1;var _0x33fe69,_0x5e27e6;const {memberID:_0x5cfaf3,selection:_0x3075ef}=_0x3d6877[_0x47d3ff(0x397)],_0x5b3bc7=_i(_0x3075ef),_0x3c67a1=(_0x5e27e6=(_0x33fe69=this[_0x47d3ff(0x1d1)][_0x47d3ff(0x231)](this[_0x47d3ff(0x29a)],_0x5cfaf3))==null?void 0x0:_0x33fe69[_0x47d3ff(0x2b3)])!=null?_0x5e27e6:'Unknown\x20user',_0x5272fc={'color':this[_0x47d3ff(0x334)]['assignAColorForMemberID'](_0x5cfaf3),'name':_0x3c67a1,'ranges':_0x5b3bc7},_0xc3af65=this[_0x47d3ff(0x2f8)];_0xc3af65[_0x47d3ff(0x2e4)](_0x5cfaf3,_0x5272fc),this[_0x47d3ff(0x2b0)]['next'](_0xc3af65);}[_0x2ca6f1(0x1e6)](_0x1ec14){const _0x1fc716=_0x2ca6f1,{memberID:_0x48e205}=_0x1ec14['data'],_0x1442f3=this[_0x1fc716(0x2f8)];_0x1442f3[_0x1fc716(0x28a)](_0x48e205),this[_0x1fc716(0x2b0)]['next'](_0x1442f3);}[_0x2ca6f1(0x1b2)](){const _0x1fa994=_0x2ca6f1;var _0x57a7fb;if(this['_online']=!0x0,((_0x57a7fb=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x57a7fb[_0x1fa994(0x242)]())!==this[_0x1fa994(0x29a)])return;const _0x58b58f=this['_injector'][_0x1fa994(0x2dc)](_0x182f79)['getDocRanges']();Array[_0x1fa994(0x2a5)](_0x58b58f)&&_0x58b58f[_0x1fa994(0x24b)]>0x0&&this[_0x1fa994(0x32b)](_0x58b58f);}[_0x2ca6f1(0x1f1)](){this['_online']=!0x1;}};Ue=ui([P(0x2,_0x42b6f2(_0x2c3916)),P(0x3,_0x42b6f2(ke)),P(0x4,_0x42b6f2(_0x4997ad)),P(0x5,_0x42b6f2(He)),P(0x6,_0x18b730),P(0x7,_0x121b61),P(0x8,_0x208f1c)],Ue);var Si=Object[_0x2ca6f1(0x28e)],mi=(_0xc99cf5,_0x356ef2,_0x526929,_0x1726fa)=>{const _0x2ed4c3=_0x2ca6f1;for(var _0x3ce754=_0x1726fa>0x1?void 0x0:_0x1726fa?Si(_0x356ef2,_0x526929):_0x356ef2,_0xed6cd7=_0xc99cf5[_0x2ed4c3(0x24b)]-0x1,_0x4168ee;_0xed6cd7>=0x0;_0xed6cd7--)(_0x4168ee=_0xc99cf5[_0xed6cd7])&&(_0x3ce754=_0x4168ee(_0x3ce754)||_0x3ce754);return _0x3ce754;},x=(_0x1cd2f7,_0x54965d)=>(_0x158474,_0x507050)=>_0x54965d(_0x158474,_0x507050,_0x1cd2f7);const Ii=0x12c,gi=0x64,vi=()=>{let _0x524919=[],_0x2c0dc9=!0x1;return _0x24bea0=>{const _0x400beb=_0xb26e;_0x524919[_0x400beb(0x36f)](_0x24bea0),_0x2c0dc9||(_0x2c0dc9=!0x0,setTimeout(()=>{const _0x2eb95c=_0x400beb;_0x524919[_0x2eb95c(0x241)](_0x27fb8a=>_0x27fb8a()),_0x524919=[],_0x2c0dc9=!0x1;}));};};let Me=class extends _0x43ae8a{constructor(_0x1fd80e,_0x2ae4a3,_0x48a406,_0x2332b5,_0x1755c4,_0xc8b881,_0x1d0319,_0x1742e5){const _0x3402dc=_0x2ca6f1;super(),_(this,_0x3402dc(0x371),!0x1),_(this,'_init',!0x1),_(this,_0x3402dc(0x2b0),new _0x29f35a(new Map())),_(this,_0x3402dc(0x1d8),this['_cursorInfo$']['asObservable']()),_(this,'_roomMembers$',new _0x29f35a([])),_(this,'roomMembers$',this[_0x3402dc(0x1d7)][_0x3402dc(0x2d2)](_0x5b1db8(Ii))),_(this,_0x3402dc(0x32b),_0xa4189d((_0x51fcba,_0x15c396)=>{const _0x50d708=_0x3402dc,_0x300459={'eventID':_0x5ca015[_0x50d708(0x388)],'data':{'unitID':this[_0x50d708(0x29a)],'memberID':this['_session'][_0x50d708(0x24d)](),'selection':_0xbab0e8(_0x51fcba,_0x15c396[_0x50d708(0x278)])}};this['_session'][_0x50d708(0x2ad)](_0x300459,this[_0x50d708(0x29a)]);},gi)),(this[_0x3402dc(0x29a)]=_0x1fd80e,this['_session']=_0x2ae4a3,this[_0x3402dc(0x268)]=_0x48a406,this[_0x3402dc(0x334)]=_0x2332b5,this['_memberService']=_0x1755c4,this[_0x3402dc(0x2ec)]=_0xc8b881,this[_0x3402dc(0x356)]=_0x1d0319,this[_0x3402dc(0x289)]=_0x1742e5);}get[_0x2ca6f1(0x2f8)](){const _0xc43025=_0x2ca6f1;return this[_0xc43025(0x2b0)][_0xc43025(0x225)]();}get[_0x2ca6f1(0x23a)](){const _0xbd648b=_0x2ca6f1;return this[_0xbd648b(0x1d7)]['getValue']();}[_0x2ca6f1(0x2de)](){const _0x3933f9=_0x2ca6f1;super[_0x3933f9(0x2de)](),this[_0x3933f9(0x2b0)][_0x3933f9(0x23b)](new Map()),this[_0x3933f9(0x2b0)][_0x3933f9(0x1e0)](),this[_0x3933f9(0x1d7)][_0x3933f9(0x23b)]([]),this[_0x3933f9(0x1d7)][_0x3933f9(0x1e0)]();}['init'](){const _0x18c9a3=_0x2ca6f1;this['_init']||(this[_0x18c9a3(0x1f8)]=!0x0,this[_0x18c9a3(0x316)]['sessionStatus$']['pipe'](_0x100102(this['dispose$']))[_0x18c9a3(0x1dd)](_0x19ee35=>{const _0x3ec141=_0x18c9a3;_0x19ee35===_0x1b7163[_0x3ec141(0x211)]?this['_toggleOnline']():this[_0x3ec141(0x1f1)]();}),this['_session'][_0x18c9a3(0x1bd)][_0x18c9a3(0x2d2)](_0x100102(this[_0x18c9a3(0x2b5)]))[_0x18c9a3(0x1dd)](_0x214d1c=>{const _0x135b0a=_0x18c9a3,_0x586b8b=_0x214d1c[_0x135b0a(0x2b6)];_0x586b8b===_0x5ca015[_0x135b0a(0x388)]&&this[_0x135b0a(0x30c)](_0x214d1c),_0x586b8b===_0x5ca015[_0x135b0a(0x2b8)]&&this[_0x135b0a(0x1e6)](_0x214d1c);}),this[_0x18c9a3(0x251)](),this[_0x18c9a3(0x39a)](this['_commandService']['onCommandExecuted'](_0x38f758=>{const _0x4890e4=_0x18c9a3;if(this['_online']&&_0x38f758['id']===_0x3d23b1['id']&&_0x38f758['params']['unitId']===this[_0x4890e4(0x29a)]){const _0x24fb6e=_0x38f758[_0x4890e4(0x1eb)];this[_0x4890e4(0x32b)](_0x24fb6e[_0x4890e4(0x1e5)],_0x24fb6e[_0x4890e4(0x2a7)][0x0]);}})));}['_onCursorUpdate'](_0x321308){const _0x63e0c9=_0x2ca6f1;var _0xaf3f54,_0x55d436;const {memberID:_0x2ff074,selection:_0x936988}=_0x321308[_0x63e0c9(0x397)],{sheetName:_0x248042,range:_0x4a7b4e}=_0x490fe0(_0x936988),_0x230a73={'name':(_0x55d436=(_0xaf3f54=this['_memberService'][_0x63e0c9(0x231)](this[_0x63e0c9(0x29a)],_0x2ff074))==null?void 0x0:_0xaf3f54[_0x63e0c9(0x2b3)])!=null?_0x55d436:_0x63e0c9(0x31e),'range':this['_getMergeRange'](_0x248042,_0x4a7b4e),'sheetID':_0x248042,'color':this[_0x63e0c9(0x334)]['assignAColorForMemberID'](_0x2ff074),'selection':_0x936988},_0x447954=this[_0x63e0c9(0x2f8)];_0x447954[_0x63e0c9(0x2e4)](_0x2ff074,_0x230a73),this['_cursorInfo$'][_0x63e0c9(0x23b)](_0x447954);}[_0x2ca6f1(0x1e6)](_0x4760ee){const _0x425662=_0x2ca6f1,{memberID:_0x3c2f3a}=_0x4760ee['data'],_0xfbd0f5=this[_0x425662(0x2f8)];_0xfbd0f5[_0x425662(0x28a)](_0x3c2f3a),this[_0x425662(0x2b0)][_0x425662(0x23b)](_0xfbd0f5);}[_0x2ca6f1(0x384)](_0x5b06e3,_0x3e01d1){const _0x3624a7=_0x2ca6f1;var _0x2f2677,_0x3fddac;const _0x21289f=(_0x3fddac=(_0x2f2677=this[_0x3624a7(0x2ec)][_0x3624a7(0x37e)](this['unitID']))==null?void 0x0:_0x2f2677[_0x3624a7(0x38c)](_0x5b06e3))==null?void 0x0:_0x3fddac['getMergeData']();return(_0x21289f==null?void 0x0:_0x21289f[_0x3624a7(0x21a)](_0x133135=>_0x3005d3[_0x3624a7(0x2e5)](_0x133135,_0x3e01d1)))||_0x3e01d1;}[_0x2ca6f1(0x251)](){const _0x3e3162=_0x2ca6f1,_0x4a8555=new _0x2d0bc9(),_0x49948c=vi(),_0x2e6407=()=>{const _0x410758=_0xb26e;_0x4a8555[_0x410758(0x2de)]();const _0x3a12e3=(_0x3cf730,_0x4ec9d7,_0x20e76d,_0x4c9bfa)=>{const _0x2609b0=_0x410758;let _0x4539c8=[];switch(_0x3cf730['id']){case _0x46187f[_0x2609b0(0x2ca)]:{_0x4539c8=_0x524dde(_0x3cf730,_0x4c9bfa);break;}case _0x46187f[_0x2609b0(0x3b5)]:{_0x4539c8=_0x33f78b(_0x3cf730,_0x4c9bfa);break;}case _0x46187f[_0x2609b0(0x21d)]:{_0x4539c8=_0x551d54(_0x3cf730,_0x4c9bfa);break;}case _0x46187f[_0x2609b0(0x376)]:{_0x4539c8=_0x166a9d(_0x3cf730,_0x4c9bfa);break;}case _0x46187f[_0x2609b0(0x281)]:{_0x4539c8=_0x5bfff5(_0x3cf730,_0x4c9bfa);break;}case _0x46187f['InsertRowCommandId']:{_0x4539c8=_0x1988e5(_0x3cf730,_0x4c9bfa);break;}case _0x46187f[_0x2609b0(0x29d)]:{_0x4539c8=_0x2c3195(_0x3cf730,_0x4c9bfa);break;}case _0x46187f['RemoveColCommandId']:{_0x4539c8=_0x299cbd(_0x3cf730,_0x4c9bfa);break;}case _0x46187f[_0x2609b0(0x2eb)]:{_0x4539c8=_0x42b3cd(_0x3cf730,_0x4c9bfa);break;}}const _0x30b00a=_0x36743a(_0x4539c8,_0x4c9bfa),_0x231ff0=this[_0x2609b0(0x2f8)][_0x2609b0(0x2dc)](_0x4ec9d7);if(_0x231ff0&&_0x30b00a){const _0x42795c={..._0x231ff0,'range':_0x30b00a};this[_0x2609b0(0x2f8)]['set'](_0x4ec9d7,_0x42795c),_0x49948c(()=>{const _0x1f14a5=_0x2609b0,_0x2c8555=this['_refRangeService'][_0x1f14a5(0x1b4)](_0x30b00a,_0x335f93=>(_0x2c8555[_0x1f14a5(0x2de)](),_0x3a12e3(_0x335f93,_0x4ec9d7,_0x20e76d,_0x30b00a)));_0x4a8555[_0x1f14a5(0x2fc)](_0x2c8555);});}return{'redos':[],'undos':[]};};this[_0x410758(0x2f8)][_0x410758(0x241)]((_0x59be81,_0x3b6bfb)=>{const _0x25d2ce=_0x410758,{range:_0x2983ed,sheetID:_0x5451dd}=_0x59be81,_0x3caef2=this[_0x25d2ce(0x289)][_0x25d2ce(0x1b4)](_0x2983ed,_0x5045a4=>(_0x3caef2[_0x25d2ce(0x2de)](),_0x3a12e3(_0x5045a4,_0x3b6bfb,_0x5451dd,_0x2983ed)));_0x4a8555['add'](_0x3caef2);});};this[_0x3e3162(0x39a)](_0x4a043f(this[_0x3e3162(0x2b0)][_0x3e3162(0x1dd)](()=>{_0x2e6407();})));}[_0x2ca6f1(0x1b2)](){const _0x23f403=_0x2ca6f1;var _0x1c103c,_0x43b38c;if(this[_0x23f403(0x371)]=!0x0,((_0x1c103c=this[_0x23f403(0x2ec)][_0x23f403(0x1f9)]())==null?void 0x0:_0x1c103c[_0x23f403(0x242)]())!==this[_0x23f403(0x29a)])return;const _0x4f1017=(_0x43b38c=this[_0x23f403(0x268)]['get'](_0x525965)[_0x23f403(0x37a)]())==null?void 0x0:_0x43b38c[0x0],_0x4a15c2=this['_univerInstanceService']['getCurrentUnitForType'](_0x2e4ce1[_0x23f403(0x2f1)])[_0x23f403(0x366)]();_0x4f1017&&_0x4a15c2&&this[_0x23f403(0x32b)](_0x4a15c2[_0x23f403(0x223)](),_0x4f1017);}[_0x2ca6f1(0x1f1)](){const _0x579fa0=_0x2ca6f1;this[_0x579fa0(0x371)]=!0x1;}};Me=mi([x(0x2,_0x42b6f2(_0x2c3916)),x(0x3,_0x42b6f2(ke)),x(0x4,_0x42b6f2(_0x4997ad)),x(0x5,_0x121b61),x(0x6,_0x208f1c),x(0x7,_0x42b6f2(_0x2212d9))],Me);var pi=Object[_0x2ca6f1(0x28e)],Ci=(_0x26fe97,_0x5558b4,_0xf33415,_0x3aef31)=>{const _0x4098f8=_0x2ca6f1;for(var _0x4b76e6=_0x3aef31>0x1?void 0x0:_0x3aef31?pi(_0x5558b4,_0xf33415):_0x5558b4,_0x339ea=_0x26fe97[_0x4098f8(0x24b)]-0x1,_0x3e1e34;_0x339ea>=0x0;_0x339ea--)(_0x3e1e34=_0x26fe97[_0x339ea])&&(_0x4b76e6=_0x3e1e34(_0x4b76e6)||_0x4b76e6);return _0x4b76e6;},Se=(_0x2736bb,_0x5a2229)=>(_0x52cc1e,_0x32b78b)=>_0x5a2229(_0x52cc1e,_0x32b78b,_0x2736bb);let H=class extends _0x43ae8a{constructor(_0x3f7af8,_0x114449,_0x2144a9){const _0x4629f5=_0x2ca6f1;super(),_(this,'_entities',new Map()),_(this,'_entityInit$',new _0x2aba1a()),(this[_0x4629f5(0x2ec)]=_0x3f7af8,this[_0x4629f5(0x268)]=_0x114449,this[_0x4629f5(0x1ca)]=_0x2144a9,this[_0x4629f5(0x1f8)]());}[_0x2ca6f1(0x2de)](){const _0x285d46=_0x2ca6f1;super[_0x285d46(0x2de)](),this[_0x285d46(0x23e)][_0x285d46(0x1e0)](),this[_0x285d46(0x32a)]['forEach'](_0x5acd63=>_0x5acd63[_0x285d46(0x2de)]());}['getCollabCursors$'](_0x2f739a){const _0x5ef9bc=_0x2ca6f1;return this[_0x5ef9bc(0x32a)][_0x5ef9bc(0x365)](_0x2f739a)?this[_0x5ef9bc(0x32a)]['get'](_0x2f739a)[_0x5ef9bc(0x1d8)]:this['_entityInit$']['pipe'](_0x143f8e(_0x3098d4=>_0x3098d4[_0x5ef9bc(0x29a)]===_0x2f739a),_0x521edf(_0x3d1016=>_0x3d1016[_0x5ef9bc(0x1d8)]));}['_init'](){const _0x590352=_0x2ca6f1;this[_0x590352(0x2ec)][_0x590352(0x2d6)](_0x2e4ce1[_0x590352(0x2f1)])[_0x590352(0x2d2)](_0x100102(this[_0x590352(0x2b5)]))['subscribe'](async _0x32da24=>{const _0x5643d8=_0x590352,_0xa6368c=_0x32da24['getUnitId'](),_0x319d19=await this['_startSheetCollabCursor'](_0xa6368c);this[_0x5643d8(0x23e)][_0x5643d8(0x23b)](_0x319d19),this['_entities'][_0x5643d8(0x2e4)](_0xa6368c,_0x319d19);}),this[_0x590352(0x2ec)][_0x590352(0x2d6)](_0x2e4ce1[_0x590352(0x266)])[_0x590352(0x2d2)](_0x100102(this['dispose$']))[_0x590352(0x2d2)](_0x143f8e(_0xc7a4ae=>!_0xc7a4ae[_0x590352(0x242)]()[_0x590352(0x2be)]('__')))[_0x590352(0x1dd)](async _0x5b8fed=>{const _0x1562db=_0x590352,_0x4cbf81=_0x5b8fed['getUnitId'](),_0x3b4164=await this[_0x1562db(0x1bf)](_0x4cbf81);this[_0x1562db(0x23e)][_0x1562db(0x23b)](_0x3b4164),this[_0x1562db(0x32a)][_0x1562db(0x2e4)](_0x4cbf81,_0x3b4164);}),_0x925036(this[_0x590352(0x2ec)][_0x590352(0x297)](_0x2e4ce1[_0x590352(0x266)]),this[_0x590352(0x2ec)]['getTypeOfUnitDisposed$'](_0x2e4ce1['UNIVER_SHEET']))['pipe'](_0x100102(this[_0x590352(0x2b5)]))[_0x590352(0x1dd)](_0x5c6558=>{const _0x15eee8=_0x590352,_0x11eab8=_0x5c6558['getUnitId'](),_0x3850a4=this[_0x15eee8(0x32a)]['get'](_0x11eab8);_0x3850a4&&(_0x3850a4[_0x15eee8(0x2de)](),this[_0x15eee8(0x32a)][_0x15eee8(0x28a)](_0x11eab8));});}async[_0x2ca6f1(0x30d)](_0x4b5296){const _0x1f0a0f=_0x2ca6f1,_0x39f341=await this['_collabSessionService'][_0x1f0a0f(0x286)](_0x4b5296),_0x299913=this[_0x1f0a0f(0x268)][_0x1f0a0f(0x361)](Me,_0x4b5296,_0x39f341);return _0x299913[_0x1f0a0f(0x328)](),_0x299913;}async[_0x2ca6f1(0x1bf)](_0x20ecbd){const _0x4dbc47=_0x2ca6f1,_0x53991b=await this['_collabSessionService'][_0x4dbc47(0x286)](_0x20ecbd),_0x15bcd7=this[_0x4dbc47(0x268)]['createInstance'](Ue,_0x20ecbd,_0x53991b);return _0x15bcd7[_0x4dbc47(0x328)](),_0x15bcd7;}};H=Ci([Se(0x0,_0x121b61),Se(0x1,_0x42b6f2(_0x2c3916)),Se(0x2,_0x42b6f2(_0x91b51d))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x3f0b40,_0x3da401){const _0x5accf5=_0x2ca6f1;let {radius:_0x205725,width:_0x208be7,height:_0x26f4c7}=_0x3da401;_0x205725=_0x205725!=null?_0x205725:0x0,_0x208be7=_0x208be7!=null?_0x208be7:0x1e,_0x26f4c7=_0x26f4c7!=null?_0x26f4c7:0x1e;let _0x44c98d=0x0,_0x3d7847=0x0,_0xfb40cd=0x0;_0x44c98d=_0x3d7847=_0xfb40cd=Math[_0x5accf5(0x240)](_0x205725,_0x208be7/0x2,_0x26f4c7/0x2),_0x3f0b40[_0x5accf5(0x2bc)](),_0x3f0b40[_0x5accf5(0x2fb)](_0x44c98d,0x0),_0x3f0b40[_0x5accf5(0x205)](_0x208be7-_0x3d7847,0x0),_0x3f0b40['arc'](_0x208be7-_0x3d7847,_0x3d7847,_0x3d7847,Math['PI']*0x3/0x2,0x0,!0x1),_0x3f0b40['lineTo'](_0x208be7,_0x26f4c7-_0xfb40cd),_0x3f0b40['arc'](_0x208be7-_0xfb40cd,_0x26f4c7-_0xfb40cd,_0xfb40cd,0x0,Math['PI']/0x2,!0x1),_0x3f0b40[_0x5accf5(0x205)](0x0,_0x26f4c7),_0x3f0b40['lineTo'](0x0,_0x44c98d),_0x3f0b40[_0x5accf5(0x30a)](_0x44c98d,_0x44c98d,_0x44c98d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3f0b40[_0x5accf5(0x1cd)](),_0x3da401[_0x5accf5(0x308)]&&(_0x3f0b40[_0x5accf5(0x1f2)](),_0x3f0b40[_0x5accf5(0x25c)]=_0x3da401[_0x5accf5(0x308)],_0x3da401['fillRule']===_0x5accf5(0x264)?_0x3f0b40['fill'](_0x5accf5(0x264)):_0x3f0b40[_0x5accf5(0x308)](),_0x3f0b40['restore']());}class he extends _0x45b365{constructor(_0x4f2c6b,_0x5025d3){const _0x58c2ab=_0x2ca6f1;super(_0x4f2c6b,_0x5025d3),_(this,_0x58c2ab(0x1c6)),_(this,_0x58c2ab(0x301)),(this[_0x58c2ab(0x1c6)]=_0x5025d3==null?void 0x0:_0x5025d3[_0x58c2ab(0x1c6)],this['text']=_0x5025d3==null?void 0x0:_0x5025d3['text']);}static[_0x2ca6f1(0x34c)](_0x4e8c6f,_0x244e89){const _0x46030b=_0x2ca6f1,{text:_0x2dc2c6,color:_0x3e7f50}=_0x244e89;_0x4e8c6f[_0x46030b(0x1f2)](),_0x4e8c6f[_0x46030b(0x267)]=_0x46030b(0x2c6);const _0x3fbe6f=_0x4e8c6f[_0x46030b(0x303)](_0x2dc2c6)['width'],_0x17b38c=Math[_0x46030b(0x240)](_0x3fbe6f+0x2*me,Qe);Oi(_0x4e8c6f,{'height':ee,'radius':0x4,'width':_0x17b38c,'fill':_0x3e7f50}),_0x4e8c6f[_0x46030b(0x25c)]=_0x46030b(0x293);const _0x119c13=me,_0x21c130=ee-Ei,_0x565109=Qe-0x2*me;if(_0x3fbe6f>_0x565109){let _0x4db5b3='',_0x4f0881=0x0;for(const _0x13a5a6 of _0x2dc2c6){const _0x5f0d41=_0x4e8c6f['measureText'](_0x13a5a6)['width'];if(_0x4f0881+_0x5f0d41<=_0x565109-_0x4e8c6f[_0x46030b(0x303)](_0x46030b(0x2c9))[_0x46030b(0x229)])_0x4db5b3+=_0x13a5a6,_0x4f0881+=_0x5f0d41;else{_0x4db5b3+='...';break;}}_0x4e8c6f[_0x46030b(0x272)](_0x4db5b3,_0x119c13,_0x21c130);}else _0x4e8c6f['fillText'](_0x2dc2c6,_0x119c13,_0x21c130);_0x4e8c6f['restore']();}[_0x2ca6f1(0x346)](_0x17cb87){const _0x3db967=_0x2ca6f1;he[_0x3db967(0x34c)](_0x17cb87,this);}}function _0xd5c9(){const _0x19b940=['string','trim','UNAUTHENTICATED','init','createSocket','_entities','_updateLocalCursor','undoState','skeleton','3780WFFvAo','addEventListener','startColumn','_cursor','ranges','NO_OTHER_CLIENTS_EDITING','_colorAssignService','YUUMI_NO_CUBOID_FOR_QUESTION','UniverIcon','SUBMIT_CHANGESET_TIMEOUT','YUUMI_ASYNCIO_CANCELLED','FETCH_MISS','_cursors','result','_collabCursorState$','getRelativeToViewportCoord','YUUMI_URL_COL_OUT_OF_RANGE','INVALID_ARGUMENT','transformByState','YUUMI_SUBSCRIPTION_NOT_FOUND','setShapeProps','loadOfflineData','_localeService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_draw','show','subunit','invokeId','_getSheetObject','OTHER_CLIENT_EDITING','drawWith','_scheduleClearOtherTimer','_range','wsSessionTicketUrl','Warning','_instanceService','_shapes','_registerRenderDependencies','current','yellow.400','_commandService','split','pluginName','_context','NOT_COLLAB','_transformHistoryAndStateStack','/run/','pushState','clearInterval','onRendered','collabCursorState$','createInstance','CLOSE_ROOM','height','type','has','getActiveSheet','transformStateCache','saveImage','mutations','_initEntityListener','_cursorShapes','status$','getConfig','_docSkeletonManagerService','push','unsubscribe','_online','NOT_FOUND','prototype','engine','memberID','InsertRangeMoveDownCommandId','_revisionService','focused$','OFFLINE','getCurrentSelections','call','row','LICENSE_IMPORT_SIZE_EXCEEDED','getUniverSheetInstance','_saveCache','_doCreateSocket','_ensureSubject','_registerDependencies','_handleJoinEvent','_getMergeRange','CONNECTOR_DATA_TOO_LARGE','white','0\x200\x2017\x2016','UPDATE_CURSOR','translate(.97)','_beforeCloseService','getAncestorScale','getSheetBySheetId','setInterval','isActive','LICENSE_DISTRO_REJECTED','AWAITING_WITH_PENDING','TEXT','runId','collaboration-client-ui.config','addObject','session.collaboration-timeout','CHANGESET_REVISION_CONFILICT','data','addObjects','docStateChange$','disposeWithMe','searchParams','COMPLETION_FINISHED','SYNCED','substring','_uiPartsService','TOO_MANY_REQUESTS','CONFLICT','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_initResize','getCollabEntity$','_clearOtherTimers','_setupBeforeClosingHandler','_docTransformSelectionsService','map','off-line-icon','2571ckaHrF','m2Prime','ticket','_scheduleSaving','unload','_send','UNRECOGNIZED','_document','_disabled','getRangePointData','activeSheet$','DeleteRangeMoveUpCommandId','_handleHover','_removeCollabCursors','_sheetSkeletonManagerService','_getSaveTimeout','_toggleOnline','34735910oDBbHr','registerRefRange','session.connection-failed','_transformUndoRedoStack','key','OffLineIcon','resize','INVITE_CODE_HAS_BEEN_UES','_assignedColors','blue.400','event$','ALREADY_EXISTS','_startDocCollabCursor','_selfUnitIDs','_urlService','selection','_anchorDot','registerBeforeClose','transformRemoteChangeset','color','_hideTimer','EMAIL_HAS_BEEN_BOUND','_config','_collabSessionService','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','collabStatus.notCollab','closePath','_updateSubUnitFromURLParams','all','m1Prime','_memberService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_initDependencies','svg','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','toRgbString','_roomMembers$','cursorInfo$','_notificationService','children','findNodePositionByCharIndex','code','subscribe','_docStateChangeManagerService','MOBILE_VERIFY_CODE_MISMATCH','complete','collaboration.closeRoom','div','jiqing.500','_saveTaskMap','subUnitId','_onCursorDelete','with','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','sheetId','5iKuDIh','params','max','getParam','_docSyncEditingCollabCursorService','_eventUnsubscribe','body','_toggleOffline','save','session.will-retry','url(#on-line-icon_clip0_910_349)','syncEditingCollabCursor','onTransformChange$','defineProperty','_init','getFocusedUnit','permission.content','displayName','generateRandomId','permission.title','onPointerEnter$','_unitOnClients','_initStatusComponent','idSuffix','_cachedData','_name','_hover','lineTo','YUUMI_ALL_TABLES_IS_INVALID','unshift','purple.300','APPLY_REJECT','sheetID','_collaborationUIEventService','includes','function','restore','transformSelections','getCurrent','ONLINE','_docSkeleton','3168822rKeAhx','on-line-icon_clip0_910_349','APPLY_NON_SEQUENTIAL_REVISION','_lastPointer','replaceDocRanges','YUUMI_RATE_OVER_LIMIT','then','find','propertyIsEnumerable','mask','InsertColCommandId','_handleEvent','[CollaborationDataLoaderController]','currentColor','symbol','_handleLeaveEvent','getSheetId','currentSkeleton$','getValue','application/json','path','_logService','width','INVITE_CODE_ALREADY_BOUND','_scene','APPLY_REVISION_CONFILICT','_unitStatus','registerRenderModule','_color','history','getMember','getVpScrollXYInfoByPosToVp','getOwnPropertySymbols','_docTransformStateCacheService','doc.mutation.rich-text-editing','stringify','collabStatus.synced','WECHAT_HAS_BEEN_BOUND','_localStorageService','roomMembers','next','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','PENDING','_entityInit$','roomMembers$','min','forEach','getUnitId','_renderManagerService','getDocRanges','top','LICENSE_EXPORT_SIZE_EXCEEDED','getRenderById','_textBubble','redoState','unit','length','_heartbeatTimer','getMemberID','onPointerLeave$','INVALID_INVITE_CODE','debug','_onRefRangeChange','off-line-icon_clip0_910_343','transform','_setupSubUnitSync','executeCommand','1582410PnRWyk','registerComponent','univer-flex\x20univer-items-center','Error','_updateURLWithCurrentState','_refreshCollabCursors','fillStyle','FromArray','popstate','univer-mr-2\x20univer-flex\x20univer-text-xl','univerjs-icon\x20univerjs-icon-','setStateCache','setAlpha','urlChange$','evenodd','source','UNIVER_DOC','font','_injector','_collabCursorController','post','hovered','reconnect','http://www.w3.org/2000/svg','assign','_getSessionTicket','_handleHeartbeatEvent','setTimeout','fillText','_labelPosition','_getAnchorBounding','defs','column','getUnitStatus$','range','hasOwnProperty','3930801GKIttY','_docTransformIMECacheService','ENSURE_SNAPSHOT_EXECUTION','_docClipboardService','_render','_imageIoService','backgroundColor','InsertRangeMoveRightCommandId','entityInit$','SOCKET_FAILED','xlink:href','getCurrentRevOfUnit','requireSession','_removeClearOtherTimer','indexOf','_refRangeService','delete','use','_status$','INTERNAL_ERROR','getOwnPropertyDescriptor','updateOfflineData','transformMutation','_hovered','none','#FFF','defIds','removeParam','location','getTypeOfUnitDisposed$','1em','black','unitID','clearTimeout','_drawTextRange','MoveRangeCommandId','isEditing','SNAPSHOT_INVALID_SNAPSHOT','on-line-icon','round','YUUMI_AI_RUN_FAILED','_configService','getColorFromTheme','isArray','_initStatusListener','selections','saveTaskMap','deepClone','_dataLoaderService','transformMutationsWithChangeset','653185EruhrK','send','_id','onCommandExecuted','_cursorInfo$','getItem','_anchor','name','icon','dispose$','eventID','red.300','USERS_LEAVE','_scheduleHeartbeat','getSkeleton','unitId','beginPath','APPLY_PERMISSION_DENIED','startsWith','disableLocalCache','subscribeEvent','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','collab-text-anchor-','_initCommandExecutedListener','UNDEFINED','clipPath','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','saveOfflineData','...','DeleteRangeMoveLeftCommandId','newValue','getStateCache','_createSocketURL','SNAPSHOT_HAS_BEEN_REMOVED','from','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','concat','pipe','setActiveRange','tag','transformIMECache','getTypeOfUnitAdded$','MUTATION','_drawRectRange','YUUMI_UNABLE_LOAD_URL','size','PERMISSION_DENIED','get','_colorIndex','dispose','triggerDblclick','LICENSE_MAX_UNITS_EXCEEDED','_updateCollabCursors','setItem','YUUMI_TABLE_NOT_FOUND_IN_UNIT','set','contains','toString','getUndoRedoMutationParamsCache','makeDirty','values','search','RemoveRowCommandId','_univerInstanceService','whenReady','_drawAnchor','_transformService','OnLineIcon','UNIVER_SHEET','_localCacheService','setParam','enableLocalCache','addClipboardHook','onPointerMove$','getViewport','cursorInfo','actions','AWAITING','moveTo','add','bottom','_themeService','YUUMI_CONNECTOR_URL_NOT_FOUND','PY_RUNTIME_SCRIPT_ERROR','text','getCollabCursors$','measureText','_collaborationController','getActiveRange','M0\x200H16V16H0z','imageSourceType','fill','RECT','arc','hide','_onCursorUpdate','_startSheetCollabCursor','OTHER_CLIENTS_EDITING','524480DHpONy','collab-client.tooltip.reconnect','EMAIL_VERIFY_CODE_MISMATCH','144uyCJNY','href','collaboration.single-unit.warning','attrs','_session','asObservable','error','runOnServer','_messageService','_backgroundColor','extend','_initEvent','Unknown\x20user','uni.network.url-service','className','INVITE_CODE_REQUIRED','textRanges','APPLY_DUPLICATED','8bQyWCs'];_0xd5c9=function(){return _0x19b940;};return _0xd5c9();}const Ie=_0x2ca6f1(0x2c2),bi='collab-text-range-',Ti='collab-rect-range-',X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni='rgba(255,\x20255,\x20255,\x200.01)';class qe{constructor(_0x4afa63,_0x1ad812,_0x14264c,_0x56a244){const _0x39a1ad=_0x2ca6f1;_(this,_0x39a1ad(0x352),[]),_(this,_0x39a1ad(0x2b2),null),_(this,'_textBubble',null),_(this,_0x39a1ad(0x1c3),null),_(this,_0x39a1ad(0x1c7),null),_(this,_0x39a1ad(0x1ef),null),(this[_0x39a1ad(0x331)]=_0x4afa63,this[_0x39a1ad(0x22b)]=_0x1ad812,this[_0x39a1ad(0x212)]=_0x14264c,this[_0x39a1ad(0x3b1)]=_0x56a244,this[_0x39a1ad(0x27e)]());}set[_0x2ca6f1(0x204)](_0x344354){const _0x2b2856=_0x2ca6f1;_0x344354?(this[_0x2b2856(0x1c3)]&&this[_0x2b2856(0x1c3)][_0x2b2856(0x30b)](),this[_0x2b2856(0x248)]&&this['_textBubble'][_0x2b2856(0x347)]()):(this[_0x2b2856(0x1c3)]&&this[_0x2b2856(0x1c3)][_0x2b2856(0x347)](),this[_0x2b2856(0x248)]&&this['_textBubble']['hide']());}[_0x2ca6f1(0x2de)](){const _0x32fe6f=_0x2ca6f1;for(const _0x22322c of this[_0x32fe6f(0x352)])_0x22322c[_0x32fe6f(0x2de)]();this[_0x32fe6f(0x248)]&&this['_textBubble']['dispose'](),this[_0x32fe6f(0x1c3)]&&this[_0x32fe6f(0x1c3)][_0x32fe6f(0x2de)](),this[_0x32fe6f(0x2b2)]&&this[_0x32fe6f(0x2b2)][_0x32fe6f(0x2de)](),this[_0x32fe6f(0x1ef)]&&this[_0x32fe6f(0x1ef)]();}['_render'](){const _0x1ddb62=_0x2ca6f1;var _0x3f50f3;const {_docSkeleton:_0x302eed,_document:_0x2dfe0a}=this,{color:_0x7318c9,name:_0x3edca7,ranges:_0x152bb2}=this[_0x1ddb62(0x331)],_0x5d58b4=_0x2dfe0a['getOffsetConfig'](),{docsLeft:_0x24f714,docsTop:_0x2ff1f8}=_0x5d58b4,_0x52e670=new _0xe8bcfb(_0x5d58b4,_0x302eed);for(const {startOffset:_0x28055b,endOffset:_0x568288,rangeType:_0x4c5b2d,segmentId:_0x2757e2,segmentPage:_0x57beb4,collapsed:_0x49bf05,isActive:_0x25c85a}of _0x152bb2){const _0x19bfad=_0x302eed['findNodePositionByCharIndex'](_0x28055b,!0x0,_0x2757e2,_0x57beb4);let _0x21ac3c=_0x302eed[_0x1ddb62(0x1db)](_0x568288,!0x0,_0x2757e2,_0x57beb4);if(_0x21ac3c==null&&(_0x21ac3c=_0x302eed['findNodePositionByCharIndex'](_0x568288-0x1,!0x1,_0x2757e2,_0x57beb4)),_0x25c85a){const {contentBoxPointGroup:_0x39c561}=_0x52e670[_0x1ddb62(0x3b3)](_0x21ac3c,_0x21ac3c);if(_0x39c561['length']===0x0)continue;this['_drawAnchor'](_0x7318c9,_0x39c561,_0x24f714,_0x2ff1f8,_0x3edca7),this[_0x1ddb62(0x1ef)]=this[_0x1ddb62(0x3b6)]();}if(_0x19bfad&&_0x21ac3c){if(_0x4c5b2d===_0x5dd866[_0x1ddb62(0x309)]){const _0x3794b7=new _0x53124a(_0x5d58b4,_0x302eed),{pointGroup:_0x5416d4}=(_0x3f50f3=_0x3794b7[_0x1ddb62(0x3b3)](_0x19bfad,_0x21ac3c))!=null?_0x3f50f3:{};if(_0x5416d4==null||_0x5416d4['length']===0x0)continue;this[_0x1ddb62(0x2d8)](_0x7318c9,_0x5416d4,_0x24f714,_0x2ff1f8);}else{if(!_0x49bf05){const {borderBoxPointGroup:_0x1320bf}=_0x52e670[_0x1ddb62(0x3b3)](_0x19bfad,_0x21ac3c);if(_0x1320bf[_0x1ddb62(0x24b)]===0x0)continue;this['_drawTextRange'](_0x7318c9,_0x1320bf,_0x24f714,_0x2ff1f8);}}}}}[_0x2ca6f1(0x2ee)](_0x5276ec,_0x319b1b,_0xce2e0e,_0x24f6d8,_0x4e936f){const _0x31b417=_0x2ca6f1,_0x5cdb33=this[_0x31b417(0x274)](_0x319b1b),{left:_0x25d22a,top:_0x1f0363,height:_0x515810}=_0x5cdb33,_0x4290a4=this['_getScale'](),_0x377536=Di/_0x4290a4,_0x5a6a5e=new _0x1ef53a(Ie+_0x2d6480[_0x31b417(0x1fc)](X),{'left':_0x25d22a+_0xce2e0e-_0x377536,'top':_0x1f0363+_0x24f6d8,'height':_0x515810,'width':Ri,'fill':_0x5276ec||_0x8794e2(_0x228576[_0x31b417(0x299)],0x0),'strokeWidth':_0x377536,'stroke':Ni,'evented':!0x0});this[_0x31b417(0x2b2)]=_0x5a6a5e,this[_0x31b417(0x22b)][_0x31b417(0x394)](_0x5a6a5e,_0x1735e4);const _0x972aee=new _0x1ef53a(Ie+_0x2d6480['generateRandomId'](X),{'left':_0x25d22a+_0xce2e0e-_0x377536,'top':_0x1f0363+_0x24f6d8-ge/0x2,'height':ge,'width':ge,'fill':_0x5276ec||_0x8794e2(_0x228576['black'],0x0),'strokeWidth':0x0,'stroke':_0x5276ec||_0x8794e2(_0x228576[_0x31b417(0x299)],0x0),'evented':!0x1});this[_0x31b417(0x1c3)]=_0x972aee,this[_0x31b417(0x22b)]['addObject'](_0x972aee,_0x1735e4);const _0x28442e=new he(Ie+_0x2d6480['generateRandomId'](X),{'left':_0x25d22a+_0xce2e0e-_0x377536,'top':_0x1f0363+_0x24f6d8-ee,'text':_0x4e936f,'color':_0x5276ec});this[_0x31b417(0x248)]=_0x28442e,this[_0x31b417(0x22b)][_0x31b417(0x394)](_0x28442e,_0x1735e4),this['_hover']=!0x1;}[_0x2ca6f1(0x3b6)](){const _0x3483fe=_0x2ca6f1,_0x1f1e7a=this['_anchor'][_0x3483fe(0x1fe)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x3a152a=this[_0x3483fe(0x2b2)][_0x3483fe(0x24e)][_0x3483fe(0x2c0)](()=>{const _0x1fe0e9=_0x3483fe;this[_0x1fe0e9(0x1c7)]&&clearTimeout(this[_0x1fe0e9(0x1c7)]),this['_hideTimer']=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x3167a4=_0x3483fe;_0x1f1e7a[_0x3167a4(0x370)](),_0x3a152a[_0x3167a4(0x370)]();};}[_0x2ca6f1(0x29c)](_0x2f683d,_0xa146e1,_0x446859,_0x2c218e){const _0x4e8275=_0x2ca6f1,_0xf50a74=new _0x330549(_0x2f683d)[_0x4e8275(0x262)](0.2)[_0x4e8275(0x1d6)](),_0x3fd47a=new _0xb5ffc4(bi+_0x2d6480[_0x4e8275(0x1fc)](X),{'pointsGroup':_0xa146e1,'fill':_0xf50a74||_0x8794e2(_0x228576[_0x4e8275(0x299)],0.2),'left':_0x446859,'top':_0x2c218e,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x4e8275(0x36f)](_0x3fd47a),this[_0x4e8275(0x22b)][_0x4e8275(0x394)](_0x3fd47a,_0x1735e4);}['_drawRectRange'](_0x326d86,_0x275e4a,_0x168322,_0x21f243){const _0xf9d786=_0x2ca6f1,_0x42611a=new _0x330549(_0x326d86)[_0xf9d786(0x262)](0.2)[_0xf9d786(0x1d6)](),_0x32c5f9=new _0xb5ffc4(Ti+_0x2d6480[_0xf9d786(0x1fc)](X),{'pointsGroup':_0x275e4a,'fill':_0x42611a||_0x8794e2(_0x228576[_0xf9d786(0x299)],0.2),'left':_0x168322,'top':_0x21f243,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0xf9d786(0x36f)](_0x32c5f9),this['_scene'][_0xf9d786(0x394)](_0x32c5f9,_0x1735e4);}[_0x2ca6f1(0x274)](_0xbba037){const _0x1676dd=_0xbba037[0x0],_0x2d0a82=_0x1676dd[0x0],_0x463136=_0x1676dd[0x2],{x:_0x548a31,y:_0x373af2}=_0x2d0a82,{x:_0x501a84,y:_0x1d80e3}=_0x463136;return{'left':_0x548a31,'top':_0x373af2,'width':_0x501a84-_0x548a31,'height':_0x1d80e3-_0x373af2};}['_getScale'](){const _0x18722f=_0x2ca6f1,{scaleX:_0x1e1b8b,scaleY:_0x3cd6db}=this['_scene'][_0x18722f(0x38b)]();return Math[_0x18722f(0x1ec)](_0x1e1b8b,_0x3cd6db);}}var Ui=Object[_0x2ca6f1(0x28e)],Mi=(_0x4e861b,_0xc51317,_0x131cba,_0x5a71f1)=>{const _0x4b12b7=_0x2ca6f1;for(var _0x4888bb=_0x5a71f1>0x1?void 0x0:_0x5a71f1?Ui(_0xc51317,_0x131cba):_0xc51317,_0x2eac21=_0x4e861b[_0x4b12b7(0x24b)]-0x1,_0x42e018;_0x2eac21>=0x0;_0x2eac21--)(_0x42e018=_0x4e861b[_0x2eac21])&&(_0x4888bb=_0x42e018(_0x4888bb)||_0x4888bb);return _0x4888bb;},Z=(_0x114ced,_0x5d3ef6)=>(_0x4295ae,_0xfa719)=>_0x5d3ef6(_0x4295ae,_0xfa719,_0x114ced);let Le=class extends _0x43ae8a{constructor(_0x895f03,_0x1c08a1,_0x2187d8,_0x1b9cf8,_0x59ead3){const _0x21c9e2=_0x2ca6f1;super(),_(this,'_cursorShapes',[]),_(this,_0x21c9e2(0x33a),[]),(this['_context']=_0x895f03,this[_0x21c9e2(0x36e)]=_0x1c08a1,this[_0x21c9e2(0x269)]=_0x2187d8,this[_0x21c9e2(0x356)]=_0x1b9cf8,this[_0x21c9e2(0x2fe)]=_0x59ead3,this[_0x21c9e2(0x1f8)]());}[_0x2ca6f1(0x1f8)](){const _0x2e6dd3=_0x2ca6f1,_0x3772d7=this['_context'][_0x2e6dd3(0x2bb)],_0x26eb6c=this[_0x2e6dd3(0x36e)];this[_0x2e6dd3(0x39a)](_0x527d9a([this[_0x2e6dd3(0x269)][_0x2e6dd3(0x302)](_0x3772d7),this[_0x2e6dd3(0x2fe)]['currentTheme$']])[_0x2e6dd3(0x2d2)](_0x4de96b(([_0x2a9cab,_0x1a6aeb])=>({'skeleton':_0x26eb6c[_0x2e6dd3(0x2ba)](),'cursors':[..._0x2a9cab[_0x2e6dd3(0x2e9)]()]['flatMap'](_0x52f342=>({..._0x52f342,'color':this[_0x2e6dd3(0x2fe)]['getColorFromTheme'](_0x52f342['color'])}))})))['subscribe'](_0x1fbf0e=>{const _0xf9f63f=_0x2e6dd3;if(this[_0xf9f63f(0x3b7)](),_0x1fbf0e){const {skeleton:_0xb230e8,cursors:_0x74363b}=_0x1fbf0e;this[_0xf9f63f(0x2e1)](_0xb230e8,_0x74363b);}})),this['_initResize'](),this[_0x2e6dd3(0x2c3)]();}[_0x2ca6f1(0x2e1)](_0x1791fe,_0x133865){const _0x59a545=_0x2ca6f1,{scene:_0x560698,mainComponent:_0x7a32d3}=this['_context'],_0x532fa2=_0x133865['map'](_0x2f5ba6=>new qe(_0x2f5ba6,_0x560698,_0x1791fe,_0x7a32d3));this[_0x59a545(0x36b)]=_0x532fa2,this[_0x59a545(0x33a)]=_0x133865;}[_0x2ca6f1(0x25b)](){const _0x1d6bf8=_0x2ca6f1;this[_0x1d6bf8(0x3b7)]();const {scene:_0x566be9,mainComponent:_0x4bc1d8}=this[_0x1d6bf8(0x359)],_0x1b6470=this['_docSkeletonManagerService'][_0x1d6bf8(0x2ba)](),_0x45a3c1=this[_0x1d6bf8(0x33a)][_0x1d6bf8(0x3a8)](_0x597b67=>new qe(_0x597b67,_0x566be9,_0x1b6470,_0x4bc1d8));this[_0x1d6bf8(0x36b)]=_0x45a3c1;}[_0x2ca6f1(0x3b7)](){const _0x2e57ef=_0x2ca6f1;this[_0x2e57ef(0x36b)][_0x2e57ef(0x241)](_0x184278=>_0x184278[_0x2e57ef(0x2de)]()),this[_0x2e57ef(0x36b)]=[];}[_0x2ca6f1(0x2c3)](){const _0x15a0cb=_0x2ca6f1,_0x498cfb=[_0x294f37['id']];this[_0x15a0cb(0x39a)](this[_0x15a0cb(0x356)][_0x15a0cb(0x2af)](_0x2a4fe8=>{const _0x1b5411=_0x15a0cb;_0x498cfb['includes'](_0x2a4fe8['id'])&&_0x2a4fe8[_0x1b5411(0x1eb)][_0x1b5411(0x2bb)]===this[_0x1b5411(0x359)]['unitId']&&this['_refreshCollabCursors']();}));}[_0x2ca6f1(0x3a3)](){const _0x117489=_0x2ca6f1;this[_0x117489(0x39a)](_0x27183e(this[_0x117489(0x359)][_0x117489(0x374)][_0x117489(0x1f6)])[_0x117489(0x2d2)](_0x1a5c76(_0x5797b6=>_0x5797b6[_0x117489(0x364)]===_0x461ed3[_0x117489(0x1b9)]),_0x74dfe1(0x10))[_0x117489(0x1dd)](()=>{this['_refreshCollabCursors']();}));}};Le=Mi([Z(0x1,_0x42b6f2(_0x27bec7)),Z(0x2,_0x42b6f2(H)),Z(0x3,_0x208f1c),Z(0x4,_0x42b6f2(_0x89e8ff))],Le);const Li=0x1,Pi=1.5;class wi extends _0x45b365{constructor(_0x5ec4b7,_0x1c04af){const _0x578f5e=_0x2ca6f1;super(_0x5ec4b7,_0x1c04af),_(this,_0x578f5e(0x22f)),_(this,'_hovered',!0x1),_(this,'_range'),_(this,_0x578f5e(0x203),''),_(this,_0x578f5e(0x273),_0x578f5e(0x245)),_(this,_0x578f5e(0x31b)),(_0x1c04af&&this[_0x578f5e(0x342)](_0x1c04af),this['onPointerEnter$'][_0x578f5e(0x2c0)](()=>this[_0x578f5e(0x342)]({'hovered':!0x0})),this[_0x578f5e(0x24e)][_0x578f5e(0x2c0)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x2ca6f1(0x342)](_0x327e27){const _0x749ccd=_0x2ca6f1;var _0x424f75,_0xbf65b0,_0x554db6,_0xcf0cd5,_0x38108a,_0x4b7e41;this[_0x749ccd(0x22f)]=(_0x424f75=_0x327e27[_0x749ccd(0x1c6)])!=null?_0x424f75:this[_0x749ccd(0x22f)],this[_0x749ccd(0x291)]=(_0xbf65b0=_0x327e27[_0x749ccd(0x26b)])!=null?_0xbf65b0:this['_hovered'],this['_range']=(_0x554db6=_0x327e27[_0x749ccd(0x278)])!=null?_0x554db6:this['_range'],this[_0x749ccd(0x203)]=(_0xcf0cd5=_0x327e27[_0x749ccd(0x2b3)])!=null?_0xcf0cd5:this[_0x749ccd(0x203)],this[_0x749ccd(0x273)]=(_0x38108a=_0x327e27['labelPosition'])!=null?_0x38108a:this[_0x749ccd(0x273)],this['_backgroundColor']=(_0x4b7e41=_0x327e27[_0x749ccd(0x280)])!=null?_0x4b7e41:this[_0x749ccd(0x31b)],this[_0x749ccd(0x340)]({'width':_0x327e27['width'],'height':_0x327e27[_0x749ccd(0x363)]});}['onMouseMove'](_0x5ae35a){const _0x376ba4=_0x2ca6f1,{row:_0x1866db,column:_0x57c931}=_0x5ae35a;if(_0x1866db>=this[_0x376ba4(0x34e)]['startRow']&&_0x1866db<=this[_0x376ba4(0x34e)]['endRow']&&_0x57c931>=this[_0x376ba4(0x34e)][_0x376ba4(0x330)]&&_0x57c931<=this['_range']['endColumn']){this[_0x376ba4(0x342)]({'hovered':!0x0});return;}this[_0x376ba4(0x342)]({'hovered':!0x1});}[_0x2ca6f1(0x2df)](_0x250720){return!0x1;}['_draw'](_0x492b5d){const _0x5292a7=_0x2ca6f1;_0x1ef53a[_0x5292a7(0x34c)](_0x492b5d,{'width':this[_0x5292a7(0x229)],'height':this['height'],'strokeWidth':Pi,'stroke':this[_0x5292a7(0x22f)],'evented':!0x1,'fill':this[_0x5292a7(0x31b)]}),this[_0x5292a7(0x291)]&&(_0x492b5d['save'](),_0x492b5d[_0x5292a7(0x253)](0x1,0x0,0x0,0x1,this[_0x5292a7(0x229)],this[_0x5292a7(0x273)]===_0x5292a7(0x2fd)?0x0:-0x14),he[_0x5292a7(0x34c)](_0x492b5d,{'text':this['_name'],'color':this[_0x5292a7(0x22f)]}),_0x492b5d[_0x5292a7(0x20e)]());}}var Ai=Object[_0x2ca6f1(0x28e)],yi=(_0x230c21,_0x1fa385,_0x43bead,_0x2b4ace)=>{const _0x3b5605=_0x2ca6f1;for(var _0x4c5c86=_0x2b4ace>0x1?void 0x0:_0x2b4ace?Ai(_0x1fa385,_0x43bead):_0x1fa385,_0x566790=_0x230c21[_0x3b5605(0x24b)]-0x1,_0x1e488c;_0x566790>=0x0;_0x566790--)(_0x1e488c=_0x230c21[_0x566790])&&(_0x4c5c86=_0x1e488c(_0x4c5c86)||_0x4c5c86);return _0x4c5c86;},ve=(_0x2ab3a1,_0x1ad84a)=>(_0x523ead,_0x3ad5ac)=>_0x1ad84a(_0x523ead,_0x3ad5ac,_0x2ab3a1);const $i=0x1389;let Pe=class extends _0x43ae8a{constructor(_0x12ed49,_0x1c710a,_0x657ed5,_0x14640f){const _0x513e56=_0x2ca6f1;super(),_(this,_0x513e56(0x33a),new Set()),_(this,_0x513e56(0x216),null),(this[_0x513e56(0x359)]=_0x12ed49,this[_0x513e56(0x3b8)]=_0x1c710a,this[_0x513e56(0x269)]=_0x657ed5,this['_themeService']=_0x14640f,this[_0x513e56(0x1f8)]());}[_0x2ca6f1(0x1f8)](){const _0x2f1728=_0x2ca6f1;this[_0x2f1728(0x3b8)][_0x2f1728(0x224)]['pipe'](_0x40b6c8(this[_0x2f1728(0x2b5)]),_0x25b251(_0x4ebdd1=>{const _0x5e9ce2=_0x2f1728;if(_0x4ebdd1){const _0x4b837a=_0x4ebdd1[_0x5e9ce2(0x1e9)];return _0x527d9a(this[_0x5e9ce2(0x269)][_0x5e9ce2(0x302)](this[_0x5e9ce2(0x359)][_0x5e9ce2(0x2bb)]),this[_0x5e9ce2(0x2fe)]['currentTheme$'])[_0x5e9ce2(0x2d2)](_0x4de96b(([_0x232802,_0x4180d9])=>{const _0x140e0d=_0x5e9ce2,_0x334cc4=new Map();return _0x232802[_0x140e0d(0x241)]((_0x116880,_0x49d0c5)=>{const _0x17a489=_0x140e0d;if(_0x116880[_0x17a489(0x20a)]===_0x4b837a){const _0x26b53f={..._0x116880};_0x26b53f[_0x17a489(0x1c6)]=this['_themeService'][_0x17a489(0x2a4)](_0x116880['color']),_0x334cc4[_0x17a489(0x2e4)](_0x49d0c5,_0x26b53f);}}),{'skeleton':_0x4ebdd1,'cursors':_0x334cc4};}));}return _0x4f7dc8({'skeleton':null,'cursors':new Map()});}))[_0x2f1728(0x1dd)](({skeleton:_0x2f2cb7,cursors:_0x3961fb})=>{const _0x2f8893=_0x2f1728;this['_removeCollabCursors'](),_0x2f2cb7&&this[_0x2f8893(0x2e1)](_0x2f2cb7,_0x3961fb);}),this[_0x2f1728(0x3b8)][_0x2f1728(0x224)][_0x2f1728(0x1dd)](_0x3f9e39=>{const _0x4d0f40=_0x2f1728;if(_0x3f9e39==null)return;const {skeleton:_0x5566cd}=_0x3f9e39,{scene:_0x250e62}=this[_0x4d0f40(0x359)];_0x250e62[_0x4d0f40(0x2f6)][_0x4d0f40(0x2c0)](_0xa4189d(_0x2c0223=>{const _0xb7f7f5=_0x4d0f40;var _0x575589,_0x6c947d;const {offsetX:_0x414a4e,offsetY:_0x5c1d13}=_0x2c0223,{x:_0x61f64a,y:_0x2f126d}=_0x250e62[_0xb7f7f5(0x33d)](_0x212282['FromArray']([_0x414a4e,_0x5c1d13])),{scaleX:_0x2e3a8f,scaleY:_0x20c18a}=_0x250e62[_0xb7f7f5(0x38b)](),_0x12401a=_0x250e62[_0xb7f7f5(0x2f7)](_0x5bb23f['VIEW_MAIN']),_0x5812d6=_0x250e62[_0xb7f7f5(0x232)](_0x212282[_0xb7f7f5(0x25d)]([_0x61f64a,_0x2f126d]),_0x12401a),_0x219430=_0x5566cd['getCellPositionByOffset'](_0x414a4e,_0x5c1d13,_0x2e3a8f,_0x20c18a,_0x5812d6);((_0x575589=this[_0xb7f7f5(0x216)])==null?void 0x0:_0x575589['column'])===_0x219430[_0xb7f7f5(0x276)]&&((_0x6c947d=this[_0xb7f7f5(0x216)])==null?void 0x0:_0x6c947d[_0xb7f7f5(0x37c)])===_0x219430[_0xb7f7f5(0x37c)]||this['_cursors'][_0xb7f7f5(0x241)](_0x286d5c=>{_0x286d5c['onMouseMove'](_0x219430);});},0x64));});}['_updateCollabCursors'](_0x4d46dd,_0x1cee8a){const _0x2c0994=_0x2ca6f1;var _0x4e147b;const _0x21e6b5=(_0x4e147b=this['_sheetSkeletonManagerService'][_0x2c0994(0x210)]())==null?void 0x0:_0x4e147b[_0x2c0994(0x32d)];if(!_0x21e6b5)return;const _0x371454=this['_getSheetObject']();if(!_0x371454)return;this[_0x2c0994(0x33a)]['forEach'](_0x3ba0d3=>{const _0x372706=_0x2c0994;_0x3ba0d3[_0x372706(0x2e8)]();});const {scene:_0xaae1de}=_0x371454,_0x100bd5=xi(Array[_0x2c0994(0x2cf)](_0x1cee8a[_0x2c0994(0x2e9)]()))['map'](_0x4d11f4=>{const _0x5872fa=_0x2c0994,{color:_0x31758e,range:_0x2baf68,name:_0x3c26ba,selection:_0x552524,sheetID:_0x2d2125}=_0x4d11f4,{startColumn:_0x5a439b,startRow:_0x49ffe7,endColumn:_0x4f10eb,endRow:_0x969fd2}=_0x2baf68,_0x57df9b=_0xcceaf8(_0x49ffe7,_0x5a439b,_0xaae1de,_0x21e6b5),_0x5a675c=_0xcceaf8(_0x969fd2,_0x4f10eb,_0xaae1de,_0x21e6b5),{columnHeaderHeightAndMarginTop:_0x57f99c}=_0x21e6b5,{startX:_0x47054d,startY:_0x4c8255}=_0x57df9b,{endX:_0x5d3002,endY:_0x35c798}=_0x5a675c,_0xa98e13=_0x5d3002-_0x47054d,_0x1b9107=_0x35c798-_0x4c8255,_0xdf9b63={'labelPosition':_0x4c8255-_0x57f99c>=ee?'top':_0x5872fa(0x2fd),'sheetID':_0x2d2125,'range':_0x2baf68,'color':_0x31758e,'name':_0x3c26ba,'selection':_0x552524,'left':_0x47054d,'top':_0x4c8255,'width':_0xa98e13,'height':_0x1b9107,'evented':!0x1,'zIndex':$i};return new wi(_0x3c26ba,_0xdf9b63);});_0xaae1de[_0x2c0994(0x398)](_0x100bd5,Li),this['_cursors']=new Set(_0x100bd5);}[_0x2ca6f1(0x3b7)](){const _0x4349fd=_0x2ca6f1;var _0x584474;(_0x584474=this['_cursors'])==null||_0x584474[_0x4349fd(0x241)](_0x27f883=>_0x27f883[_0x4349fd(0x2de)]());}[_0x2ca6f1(0x34a)](){const _0xbac34c=_0x2ca6f1;return _0x4f7472(this[_0xbac34c(0x359)][_0xbac34c(0x24a)],this[_0xbac34c(0x359)]);}};Pe=yi([ve(0x1,_0x42b6f2(_0x548d8e)),ve(0x2,_0x42b6f2(H)),ve(0x3,_0x42b6f2(_0x89e8ff))],Pe);function xi(_0x284cff){const _0x475567=_0x2ca6f1,_0x35f6b5=new Map();return _0x284cff[_0x475567(0x241)](_0x1bdb76=>{const _0x304871=_0x475567;if(_0x35f6b5[_0x304871(0x365)](_0x1bdb76[_0x304871(0x1c2)])){const _0x5584fa=_0x35f6b5[_0x304871(0x2dc)](_0x1bdb76[_0x304871(0x1c2)]);_0x5584fa[_0x304871(0x2b3)]+=',\x20'+_0x1bdb76[_0x304871(0x2b3)];}else _0x35f6b5['set'](_0x1bdb76[_0x304871(0x1c2)],_0x1bdb76);}),Array[_0x475567(0x2cf)](_0x35f6b5[_0x475567(0x2e9)]());}var v=function(){const _0x2119b9=_0x2ca6f1;return v=Object[_0x2119b9(0x26e)]||function(_0x450165){const _0x43e68c=_0x2119b9;for(var _0x164ce9,_0xe04ed7=0x1,_0x30e93f=arguments['length'];_0xe04ed7<_0x30e93f;_0xe04ed7++){_0x164ce9=arguments[_0xe04ed7];for(var _0x12f01c in _0x164ce9)Object[_0x43e68c(0x373)][_0x43e68c(0x279)][_0x43e68c(0x37b)](_0x164ce9,_0x12f01c)&&(_0x450165[_0x12f01c]=_0x164ce9[_0x12f01c]);}return _0x450165;},v['apply'](this,arguments);},Bi=function(_0x1fde51,_0x30eaa3){const _0x5239aa=_0x2ca6f1;var _0x4c3b29={};for(var _0x1726b6 in _0x1fde51)Object['prototype'][_0x5239aa(0x279)][_0x5239aa(0x37b)](_0x1fde51,_0x1726b6)&&_0x30eaa3[_0x5239aa(0x288)](_0x1726b6)<0x0&&(_0x4c3b29[_0x1726b6]=_0x1fde51[_0x1726b6]);if(_0x1fde51!=null&&typeof Object[_0x5239aa(0x233)]==_0x5239aa(0x20d)){for(var _0x24b252=0x0,_0x1726b6=Object['getOwnPropertySymbols'](_0x1fde51);_0x24b252<_0x1726b6[_0x5239aa(0x24b)];_0x24b252++)_0x30eaa3[_0x5239aa(0x288)](_0x1726b6[_0x24b252])<0x0&&Object[_0x5239aa(0x373)][_0x5239aa(0x21b)][_0x5239aa(0x37b)](_0x1fde51,_0x1726b6[_0x24b252])&&(_0x4c3b29[_0x1726b6[_0x24b252]]=_0x1fde51[_0x1726b6[_0x24b252]]);}return _0x4c3b29;},Fe=_0x4f85b6(function(_0x5a41b0,_0x29ea8a){const _0x46009e=_0x2ca6f1;var _0x3ae604=_0x5a41b0['icon'],_0x307f91=_0x5a41b0['id'],_0x1e58fb=_0x5a41b0[_0x46009e(0x320)],_0x5526fe=_0x5a41b0[_0x46009e(0x31c)],_0x2fbeb0=Bi(_0x5a41b0,[_0x46009e(0x2b4),'id',_0x46009e(0x320),_0x46009e(0x31c)]),_0x52c636=_0x46009e(0x260)[_0x46009e(0x2d1)](_0x307f91,'\x20')[_0x46009e(0x2d1)](_0x1e58fb||'')[_0x46009e(0x326)](),_0x4f4bff=_0x5ec706('_'[_0x46009e(0x2d1)](Fi()));return Rt(_0x3ae604,''[_0x46009e(0x2d1)](_0x307f91),{'defIds':_0x3ae604[_0x46009e(0x294)],'idSuffix':_0x4f4bff[_0x46009e(0x354)]},v({'ref':_0x29ea8a,'className':_0x52c636},_0x2fbeb0),_0x5526fe);});function Rt(_0xca03b,_0xf69a0a,_0x424c26,_0x22695a,_0x4d578e){const _0x150f2f=_0x2ca6f1;return _0x1313c7(_0xca03b[_0x150f2f(0x2d4)],v(v({'key':_0xf69a0a},ki(_0xca03b,_0x424c26,_0x4d578e)),_0x22695a),(Hi(_0xca03b,_0x424c26)[_0x150f2f(0x1da)]||[])['map'](function(_0x34fe1b,_0x4a6c21){const _0x4a0204=_0x150f2f;return Rt(_0x34fe1b,''[_0x4a0204(0x2d1)](_0xf69a0a,'-')[_0x4a0204(0x2d1)](_0xca03b[_0x4a0204(0x2d4)],'-')[_0x4a0204(0x2d1)](_0x4a6c21),_0x424c26,void 0x0,_0x4d578e);}));}function ki(_0xb8dab2,_0x58fc68,_0x271eb0){const _0x3b211d=_0x2ca6f1;var _0x5f1d47=v({},_0xb8dab2[_0x3b211d(0x315)]);_0x271eb0!=null&&_0x271eb0['colorChannel1']&&_0x5f1d47[_0x3b211d(0x308)]==='colorChannel1'&&(_0x5f1d47[_0x3b211d(0x308)]=_0x271eb0['colorChannel1']),_0xb8dab2[_0x3b211d(0x2d4)]===_0x3b211d(0x21c)&&_0x5f1d47['id']&&(_0x5f1d47['id']=_0x5f1d47['id']+_0x58fc68['idSuffix']),Object['entries'](_0x5f1d47)[_0x3b211d(0x241)](function(_0x3d8d97){const _0x5e9f50=_0x3b211d;var _0xc01435=_0x3d8d97[0x0],_0x22ce93=_0x3d8d97[0x1];_0xc01435==='mask'&&typeof _0x22ce93==_0x5e9f50(0x325)&&(_0x5f1d47[_0xc01435]=_0x22ce93['replace'](/url\(#(.*)\)/,'url(#$1'[_0x5e9f50(0x2d1)](_0x58fc68[_0x5e9f50(0x201)],')')));});var _0x51638a=_0x58fc68['defIds'];return!_0x51638a||_0x51638a[_0x3b211d(0x24b)]===0x0||(_0xb8dab2[_0x3b211d(0x2d4)]===_0x3b211d(0x28b)&&_0x5f1d47[_0x3b211d(0x284)]&&(_0x5f1d47['xlink:href']=_0x5f1d47['xlink:href']+_0x58fc68['idSuffix']),Object['entries'](_0x5f1d47)[_0x3b211d(0x241)](function(_0x34b5ed){const _0x55c91d=_0x3b211d;var _0x21d529=_0x34b5ed[0x0],_0x3ca671=_0x34b5ed[0x1];typeof _0x3ca671==_0x55c91d(0x325)&&(_0x5f1d47[_0x21d529]=_0x3ca671['replace'](/url\(#(.*)\)/,'url(#$1'[_0x55c91d(0x2d1)](_0x58fc68[_0x55c91d(0x201)],')')));})),_0x5f1d47;}function Hi(_0x5603e6,_0x15e22f){const _0x231db0=_0x2ca6f1;var _0x379079,_0x11002e=_0x15e22f[_0x231db0(0x294)];return!_0x11002e||_0x11002e[_0x231db0(0x24b)]===0x0?_0x5603e6:_0x5603e6['tag']==='defs'&&(!((_0x379079=_0x5603e6[_0x231db0(0x1da)])===null||_0x379079===void 0x0)&&_0x379079[_0x231db0(0x24b)])?v(v({},_0x5603e6),{'children':_0x5603e6[_0x231db0(0x1da)]['map'](function(_0x1fb04a){const _0x3beb4f=_0x231db0;return typeof _0x1fb04a[_0x3beb4f(0x315)]['id']==_0x3beb4f(0x325)&&_0x11002e&&_0x11002e[_0x3beb4f(0x20c)](_0x1fb04a[_0x3beb4f(0x315)]['id'])?v(v({},_0x1fb04a),{'attrs':v(v({},_0x1fb04a['attrs']),{'id':_0x1fb04a[_0x3beb4f(0x315)]['id']+_0x15e22f['idSuffix']})}):_0x1fb04a;})}):_0x5603e6;}function Fi(){const _0x21c034=_0x2ca6f1;return Math['random']()[_0x21c034(0x2e6)](0x24)[_0x21c034(0x39e)](0x2,0x8);}Fe[_0x2ca6f1(0x1fb)]=_0x2ca6f1(0x336);var Yi={'tag':_0x2ca6f1(0x1d4),'attrs':{'xmlns':_0x2ca6f1(0x26d),'fill':_0x2ca6f1(0x292),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x2ca6f1(0x298)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x2ca6f1(0x227),'attrs':{'stroke':_0x2ca6f1(0x220),'d':_0x2ca6f1(0x1cb),'strokeLinecap':_0x2ca6f1(0x2a1),'strokeLinejoin':_0x2ca6f1(0x2a1),'strokeWidth':1.2}}]},{'tag':_0x2ca6f1(0x275),'attrs':{},'children':[{'tag':_0x2ca6f1(0x2c5),'attrs':{'id':_0x2ca6f1(0x252)},'children':[{'tag':_0x2ca6f1(0x227),'attrs':{'fill':_0x2ca6f1(0x386),'d':_0x2ca6f1(0x306)}}]}]}],'defIds':[_0x2ca6f1(0x252)]},Dt=_0x4f85b6(function(_0x25961c,_0x1db4e4){const _0xa3e300=_0x2ca6f1;return _0x1313c7(Fe,Object[_0xa3e300(0x26e)]({},_0x25961c,{'id':_0xa3e300(0x3a9),'ref':_0x1db4e4,'icon':Yi}));});Dt[_0x2ca6f1(0x1fb)]=_0x2ca6f1(0x1b8);var ji={'tag':_0x2ca6f1(0x1d4),'attrs':{'xmlns':_0x2ca6f1(0x26d),'fill':_0x2ca6f1(0x292),'viewBox':_0x2ca6f1(0x387),'width':_0x2ca6f1(0x298),'height':_0x2ca6f1(0x298)},'children':[{'tag':'g','attrs':{'clipPath':_0x2ca6f1(0x1f4)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x2ca6f1(0x1e8),'strokeLinecap':_0x2ca6f1(0x2a1),'strokeLinejoin':_0x2ca6f1(0x2a1),'strokeWidth':1.2}}]},{'tag':_0x2ca6f1(0x275),'attrs':{},'children':[{'tag':_0x2ca6f1(0x2c5),'attrs':{'id':_0x2ca6f1(0x214)},'children':[{'tag':_0x2ca6f1(0x227),'attrs':{'fill':_0x2ca6f1(0x386),'d':'M0\x200H16V16H0z','transform':_0x2ca6f1(0x389)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},Nt=_0x4f85b6(function(_0x55b5f2,_0x1abdd9){const _0x3e5427=_0x2ca6f1;return _0x1313c7(Fe,Object['assign']({},_0x55b5f2,{'id':_0x3e5427(0x2a0),'ref':_0x1abdd9,'icon':ji}));});Nt[_0x2ca6f1(0x1fb)]=_0x2ca6f1(0x2f0);function Vi(_0x3267e5){const _0x35797b=_0x2ca6f1;switch(_0x3267e5){case _0xc0ee2f[_0x35797b(0x379)]:return'collabStatus.offline';case _0xc0ee2f[_0x35797b(0x3a1)]:return'collabStatus.conflict';case _0xc0ee2f[_0x35797b(0x339)]:return'collabStatus.fetchMiss';case _0xc0ee2f[_0x35797b(0x35a)]:return _0x35797b(0x1cc);case _0xc0ee2f[_0x35797b(0x2fa)]:case _0xc0ee2f[_0x35797b(0x390)]:return'collabStatus.syncing';case _0xc0ee2f[_0x35797b(0x39d)]:case _0xc0ee2f[_0x35797b(0x23d)]:return _0x35797b(0x237);}}function Wi(_0x194074){const _0x322ed3=_0x2ca6f1,{status$:_0x23c13e}=_0x194074,_0x56ce95=_0x54224f(_0x23c13e,_0xc0ee2f[_0x322ed3(0x35a)]),_0x359174=_0x434f76(_0x1588bd),_0x50e775=_0x434f76(_0x91b51d),_0x4b7c6f=_0x56ce95!==_0xc0ee2f[_0x322ed3(0x379)],_0x3ee10b=_0x359174['t'](Vi(_0x56ce95)),_0x2d49b1=_0x4b7c6f?_0x9ef133(Nt,{}):_0x9ef133(Dt,{}),_0x3e2ce5=_0x18aa8b(()=>{const _0x531b1d=_0x322ed3;_0x4b7c6f||_0x50e775[_0x531b1d(0x26c)]();},[_0x4b7c6f,_0x50e775]);function _0x1ddb05(){const _0x37c3a2=_0x322ed3;return _0x3dcd8f(_0x37c3a2(0x1e2),{'className':_0x37c3a2(0x258),'onClick':_0x3e2ce5,'children':[_0x9ef133(_0x37c3a2(0x1e2),{'className':_0x22264a(_0x37c3a2(0x25f),{'univer-text-green-500':_0x4b7c6f,'univer-text-red-500':!_0x4b7c6f}),'children':_0x2d49b1}),_0x9ef133(_0x37c3a2(0x1e2),{'className':_0x37c3a2(0x1d5),'children':_0x3ee10b})]});}return _0x4b7c6f?_0x1ddb05():_0x9ef133(_0x2401fa,{'title':_0x359174['t'](_0x322ed3(0x310)),'children':_0x1ddb05()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x3413f9,_0x5587b4,_0x4c2145,_0xff2a1c)=>{for(var _0xff1725=_0xff2a1c>0x1?void 0x0:_0xff2a1c?Xi(_0x5587b4,_0x4c2145):_0x5587b4,_0x2a571c=_0x3413f9['length']-0x1,_0x15bd3d;_0x2a571c>=0x0;_0x2a571c--)(_0x15bd3d=_0x3413f9[_0x2a571c])&&(_0xff1725=_0x15bd3d(_0xff1725)||_0xff1725);return _0xff1725;},Q=(_0x405809,_0x3e2da4)=>(_0x2f449d,_0x4453eb)=>_0x3e2da4(_0x2f449d,_0x4453eb,_0x405809);let te=class extends _0xcf188f{constructor(_0x2ca0f9,_0x2a4709,_0x318195,_0x9472cc){const _0x3e1df3=_0x2ca6f1;super(),_(this,_0x3e1df3(0x28c),new _0x29f35a(_0xc0ee2f['NOT_COLLAB'])),(this[_0x3e1df3(0x2ec)]=_0x2ca0f9,this[_0x3e1df3(0x268)]=_0x2a4709,this[_0x3e1df3(0x304)]=_0x318195,this[_0x3e1df3(0x39f)]=_0x9472cc,this[_0x3e1df3(0x200)](),this[_0x3e1df3(0x2a6)]());}[_0x2ca6f1(0x2a6)](){const _0x362923=_0x2ca6f1;this[_0x362923(0x39a)](this[_0x362923(0x2ec)][_0x362923(0x378)][_0x362923(0x2d2)](_0x521edf(()=>{const _0x2102a8=_0x362923,_0x6c1ae9=this[_0x2102a8(0x2ec)]['getFocusedUnit']();return _0x6c1ae9?this[_0x2102a8(0x304)][_0x2102a8(0x3a4)](_0x6c1ae9[_0x2102a8(0x242)]()):_0x4f7dc8(null);}),_0x521edf(_0x542a38=>_0x542a38?_0x542a38[_0x362923(0x36c)]:_0x4f7dc8(_0xc0ee2f[_0x362923(0x35a)])))[_0x362923(0x1dd)](_0x4c5562=>{const _0x933a55=_0x362923;this[_0x933a55(0x28c)][_0x933a55(0x23b)](_0x4c5562);}));}[_0x2ca6f1(0x200)](){const _0x3f5960=_0x2ca6f1;this['disposeWithMe'](this[_0x3f5960(0x39f)][_0x3f5960(0x257)](_0x59d443['HEADER_MENU'],()=>_0x260ab9(Ki({'status$':this[_0x3f5960(0x28c)][_0x3f5960(0x317)]()}),this[_0x3f5960(0x268)])));}};te=Gi([Q(0x0,_0x121b61),Q(0x1,_0x42b6f2(_0x2c3916)),Q(0x2,_0x42b6f2(_0x31f314)),Q(0x3,_0x5bb544)],te);function Ki(_0x5ad5ba){const {status$:_0x4ffeac}=_0x5ad5ba;return function(){return _0x9ef133(Wi,{'status$':_0x4ffeac});};}var zi=Object[_0x2ca6f1(0x28e)],Ji=(_0x598881,_0x3093ed,_0x59c182,_0x2ace3f)=>{const _0x23353f=_0x2ca6f1;for(var _0x394f3c=_0x2ace3f>0x1?void 0x0:_0x2ace3f?zi(_0x3093ed,_0x59c182):_0x3093ed,_0x4a5699=_0x598881[_0x23353f(0x24b)]-0x1,_0x13cb36;_0x4a5699>=0x0;_0x4a5699--)(_0x13cb36=_0x598881[_0x4a5699])&&(_0x394f3c=_0x13cb36(_0x394f3c)||_0x394f3c);return _0x394f3c;},B=(_0x5438a9,_0x38d1a0)=>(_0x3ee901,_0xb2a903)=>_0x38d1a0(_0x3ee901,_0xb2a903,_0x5438a9);let se=class extends _0xcf188f{constructor(_0x53232f,_0xb78e90,_0x40f429,_0x2b13cd,_0x36acb6,_0xfb45e2){const _0xf3c46e=_0x2ca6f1;super(),this[_0xf3c46e(0x38a)]=_0x53232f,this[_0xf3c46e(0x2f2)]=_0xb78e90,this[_0xf3c46e(0x20b)]=_0x40f429,this[_0xf3c46e(0x31a)]=_0x2b13cd,this[_0xf3c46e(0x1d9)]=_0x36acb6,this[_0xf3c46e(0x344)]=_0xfb45e2,this[_0xf3c46e(0x3a6)](),this[_0xf3c46e(0x31d)]();}[_0x2ca6f1(0x3a6)](){const _0x295eae=_0x2ca6f1;this['disposeWithMe'](this[_0x295eae(0x38a)][_0x295eae(0x1c4)](()=>{const _0x508b3c=_0x295eae;if(this[_0x508b3c(0x2f2)][_0x508b3c(0x2a8)][_0x508b3c(0x2da)])return this[_0x508b3c(0x344)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x2ca6f1(0x31d)](){const _0x5aa276=_0x2ca6f1;this[_0x5aa276(0x39a)](this['_collaborationUIEventService'][_0x5aa276(0x1bd)][_0x5aa276(0x1dd)](_0x40e39e=>{const _0x5ee00c=_0x5aa276;_0x40e39e['id']===_0xc23e90[_0x5ee00c(0x34b)]&&this['_messageService']['show']({'type':_0x408410[_0x5ee00c(0x350)],'content':this[_0x5ee00c(0x344)]['t'](_0x5ee00c(0x314))}),_0x40e39e['id']===_0xc23e90[_0x5ee00c(0x362)]&&this[_0x5ee00c(0x31a)][_0x5ee00c(0x347)]({'type':_0x408410[_0x5ee00c(0x350)],'content':this[_0x5ee00c(0x344)]['t'](_0x5ee00c(0x1e1))}),_0x40e39e['id']===_0xc23e90[_0x5ee00c(0x2db)]&&this['_notificationService'][_0x5ee00c(0x347)]({'title':this[_0x5ee00c(0x344)]['t'](_0x5ee00c(0x1fd)),'content':this[_0x5ee00c(0x344)]['t'](_0x5ee00c(0x1fa)),'type':_0x5ee00c(0x318),'duration':0x0}),_0x40e39e['id']===_0xc23e90[_0x5ee00c(0x3a1)]&&this[_0x5ee00c(0x31a)][_0x5ee00c(0x347)]({'type':_0x408410[_0x5ee00c(0x259)],'content':this[_0x5ee00c(0x344)]['t'](_0x5ee00c(0x1e1))+'('+_0x40e39e['data']+')'}),_0x40e39e['id']===_0xc23e90['JOIN_ROOM_FAILED']&&this['_messageService'][_0x5ee00c(0x347)]({'type':_0x408410[_0x5ee00c(0x350)],'content':this['_localeService']['t'](_0x40e39e['data']||'')}),_0x40e39e['id']===_0xc23e90['SOCKET_FAILED_RETRY']&&this[_0x5ee00c(0x31a)][_0x5ee00c(0x347)]({'type':_0x408410[_0x5ee00c(0x350)],'content':this[_0x5ee00c(0x344)]['t'](_0x5ee00c(0x1f3))}),_0x40e39e['id']===_0xc23e90[_0x5ee00c(0x283)]&&this[_0x5ee00c(0x31a)]['show']({'type':_0x408410[_0x5ee00c(0x259)],'content':this[_0x5ee00c(0x344)]['t'](_0x5ee00c(0x1b5))}),_0x40e39e['id']===_0xc23e90[_0x5ee00c(0x337)]&&this[_0x5ee00c(0x31a)]['show']({'type':_0x408410[_0x5ee00c(0x259)],'content':this['_localeService']['t'](_0x5ee00c(0x395))});}));}};se=Ji([B(0x0,_0x22f69a),B(0x1,_0x181985),B(0x2,_0x42b6f2(_0x3590f2)),B(0x3,_0x19c49d),B(0x4,_0x4ff4b4),B(0x5,_0x42b6f2(_0x1588bd))],se);const Zi=_0x2ca6f1(0x393),et={},Ut=_0x22ca85(_0x2ca6f1(0x31f));var Qi=Object[_0x2ca6f1(0x28e)],qi=(_0x223079,_0x56343a,_0x39075d,_0x1fd235)=>{for(var _0x2d2a86=_0x1fd235>0x1?void 0x0:_0x1fd235?Qi(_0x56343a,_0x39075d):_0x56343a,_0x36cd19=_0x223079['length']-0x1,_0x2c5c44;_0x36cd19>=0x0;_0x36cd19--)(_0x2c5c44=_0x223079[_0x36cd19])&&(_0x2d2a86=_0x2c5c44(_0x2d2a86)||_0x2d2a86);return _0x2d2a86;},G=(_0x57f8e1,_0x5d75ae)=>(_0x394c34,_0x5698b0)=>_0x5d75ae(_0x394c34,_0x5698b0,_0x57f8e1);let ie=class extends _0x43ae8a{constructor(_0x5be72c,_0x32f45d,_0x4a4c0d,_0x4e5ef6,_0x5a77fa){const _0x45a9ef=_0x2ca6f1;super(),this[_0x45a9ef(0x1c1)]=_0x5be72c,this['_logService']=_0x32f45d,this[_0x45a9ef(0x356)]=_0x4a4c0d,this['_dataLoaderService']=_0x4e5ef6,_0x5a77fa?_0x5a77fa==null||_0x5a77fa[_0x45a9ef(0x2ed)]()[_0x45a9ef(0x219)](()=>this['_init']()):(this['_logService'][_0x45a9ef(0x250)](_0x45a9ef(0x21f),_0x45a9ef(0x2c1)),this[_0x45a9ef(0x1f8)]());}async[_0x2ca6f1(0x1f8)](){const _0x2866d1=_0x2ca6f1,_0x2a37b9=this[_0x2866d1(0x1c1)][_0x2866d1(0x1ed)](_0x2866d1(0x24a)),_0x1aebc5=this['_urlService'][_0x2866d1(0x1ed)](_0x2866d1(0x364)),_0x352edd=this[_0x2866d1(0x1c1)]['getParam'](_0x2866d1(0x348));if(!_0x2a37b9||!_0x1aebc5){this[_0x2866d1(0x228)]['debug']('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x3e1f4f=await this[_0x2866d1(0x2aa)]['loadUnit'](_0x2a37b9,Number(_0x1aebc5),_0x352edd);_0x3e1f4f&&_0x3e1f4f instanceof _0x8cf4e6&&this[_0x2866d1(0x254)](_0x3e1f4f);}async['_setupSubUnitSync'](_0x5e380){const _0x349060=_0x2ca6f1;await this[_0x349060(0x1ce)](_0x5e380),_0x5e380[_0x349060(0x3b4)][_0x349060(0x2d2)](_0x100102(this[_0x349060(0x2b5)]))[_0x349060(0x1dd)](_0x1d9c9a=>{const _0x22aec7=_0x349060;_0x1d9c9a&&this[_0x22aec7(0x25a)](_0x1d9c9a);}),this['_urlService'][_0x349060(0x263)][_0x349060(0x2d2)](_0x100102(this['dispose$']))['subscribe'](()=>this[_0x349060(0x1ce)](_0x5e380));}['_updateURLWithCurrentState'](_0x293e26,_0xe58037=!0x1){const _0x99b532=_0x2ca6f1,_0x5be5af=this[_0x99b532(0x1c1)][_0x99b532(0x1ed)](_0x99b532(0x348));_0x293e26[_0x99b532(0x223)]()!==_0x5be5af&&this[_0x99b532(0x1c1)][_0x99b532(0x2f3)](_0x99b532(0x348),_0x293e26[_0x99b532(0x223)](),_0xe58037);}async[_0x2ca6f1(0x1ce)](_0x590368){const _0x28b86f=_0x2ca6f1;var _0x4be2f0;const _0x14c4e7=this[_0x28b86f(0x1c1)][_0x28b86f(0x1ed)](_0x28b86f(0x348));if(!_0x14c4e7||!_0x590368[_0x28b86f(0x38c)](_0x14c4e7)){const _0x2f7166=_0x590368['getUnhiddenWorksheets']()[0x0],_0x36101d=_0x590368[_0x28b86f(0x38c)](_0x2f7166);if(!_0x36101d)return;this[_0x28b86f(0x25a)](_0x36101d,!0x0),await this[_0x28b86f(0x356)][_0x28b86f(0x255)](_0x57fb78['id'],{'unitId':_0x590368['getUnitId'](),'subUnitId':_0x2f7166});return;}((_0x4be2f0=_0x590368['getActiveSheet']())==null?void 0x0:_0x4be2f0[_0x28b86f(0x223)]())!==_0x14c4e7&&await this['_commandService'][_0x28b86f(0x255)](_0x57fb78['id'],{'unitId':_0x590368[_0x28b86f(0x242)](),'subUnitId':_0x14c4e7});}};ie=qi([G(0x0,Ut),G(0x1,_0x20e80d),G(0x2,_0x208f1c),G(0x3,_0x42b6f2(_0x16c3d1)),G(0x4,_0x81ab6b(_0x2603da))],ie);var en=Object[_0x2ca6f1(0x28e)],tn=(_0x122ae7,_0x532a76,_0x522598,_0x6b48a4)=>{const _0x39e21b=_0x2ca6f1;for(var _0x15c093=_0x6b48a4>0x1?void 0x0:_0x6b48a4?en(_0x532a76,_0x522598):_0x532a76,_0x11c94a=_0x122ae7[_0x39e21b(0x24b)]-0x1,_0x3b3ea5;_0x11c94a>=0x0;_0x11c94a--)(_0x3b3ea5=_0x122ae7[_0x11c94a])&&(_0x15c093=_0x3b3ea5(_0x15c093)||_0x15c093);return _0x15c093;},pe=(_0x56936e,_0x4a81a9)=>(_0x4de640,_0x42042a)=>_0x4a81a9(_0x4de640,_0x42042a,_0x56936e);let ne=class{constructor(_0x834d84,_0x499680,_0x2c3865){const _0x4c26b5=_0x2ca6f1;this[_0x4c26b5(0x268)]=_0x834d84,this['_transformService']=_0x499680,this[_0x4c26b5(0x243)]=_0x2c3865;}[_0x2ca6f1(0x2d5)](_0x4c5c9f){this['_transformUndoRedoStack'](_0x4c5c9f),this['_transformPreviousActiveRange'](_0x4c5c9f);}[_0x2ca6f1(0x1c5)](_0x43f7c7){const _0x25d0d3=_0x2ca6f1,{unitID:_0x4dec75}=_0x43f7c7,_0x3c4c69=this[_0x25d0d3(0x243)][_0x25d0d3(0x247)](_0x4dec75)[_0x25d0d3(0x1e7)](_0x585241),{redoCache:_0xf412a4}=_0x3c4c69[_0x25d0d3(0x2e7)]();if(_0xf412a4[_0x25d0d3(0x24b)]===0x0)return _0x43f7c7;let _0x411ff2=_0x2d6480[_0x25d0d3(0x2a9)](_0x43f7c7[_0x25d0d3(0x369)][0x0]);for(let _0x479f36=0x0;_0x479f36<_0xf412a4['length'];_0x479f36++){const _0x280ea9={'id':_0x25d0d3(0x235),'params':{..._0xf412a4[_0x479f36]}},_0xf0cb3c=this[_0x25d0d3(0x2ef)]['transformMutation'](_0x411ff2,_0x280ea9,!0x1);if(_0x5f09cd(_0xf0cb3c))throw _0xf0cb3c['error'];_0x411ff2=_0xf0cb3c[_0x25d0d3(0x1d0)];}return{..._0x2d6480['deepClone'](_0x43f7c7),'mutations':[_0x411ff2]};}[_0x2ca6f1(0x1b6)](_0x3c3fab){const _0x482241=_0x2ca6f1,{unitID:_0x5c1133}=_0x3c3fab,_0x1732dd=this[_0x482241(0x243)][_0x482241(0x247)](_0x5c1133)[_0x482241(0x1e7)](_0x585241),{undoCache:_0xc90ec2,redoCache:_0x4b5d12}=_0x1732dd[_0x482241(0x2e7)]();if(_0xc90ec2[_0x482241(0x24b)]===0x0||_0x4b5d12[_0x482241(0x24b)]===0x0)return;const _0x353302=[],_0x11f2c5=[];let _0x346ab8=_0x2d6480[_0x482241(0x2a9)](_0x3c3fab[_0x482241(0x369)][0x0]),_0x24746f=_0x2d6480[_0x482241(0x2a9)](_0x3c3fab['mutations'][0x0]);for(let _0x2deeff=_0xc90ec2[_0x482241(0x24b)]-0x1;_0x2deeff>=0x0;_0x2deeff--){const _0x440e21={'id':_0x482241(0x235),'params':{..._0xc90ec2[_0x2deeff]}},_0x1b753c={'id':_0x482241(0x235),'params':{..._0x4b5d12[_0x2deeff]}},_0x17b292=this[_0x482241(0x2ef)][_0x482241(0x290)](_0x346ab8,_0x440e21,!0x1),_0xc6b87f=this[_0x482241(0x2ef)][_0x482241(0x290)](_0x24746f,_0x1b753c,!0x1);if(_0x5f09cd(_0x17b292))throw _0x17b292['error'];if(_0x5f09cd(_0xc6b87f))throw _0xc6b87f[_0x482241(0x318)];_0x353302[_0x482241(0x207)](_0x17b292[_0x482241(0x3ab)][_0x482241(0x1eb)]),_0x11f2c5[_0x482241(0x207)](_0xc6b87f[_0x482241(0x3ab)][_0x482241(0x1eb)]),_0x346ab8=_0x17b292[_0x482241(0x1d0)],_0x24746f=_0xc6b87f['m1Prime'];}_0x1732dd['setUndoRedoMutationParamsCache']({'undoCache':_0x353302,'redoCache':_0x11f2c5});}['_transformPreviousActiveRange'](_0x116006){const _0x3cd047=_0x2ca6f1,{unitID:_0x1bfaf5}=_0x116006,_0x17cda2=this[_0x3cd047(0x243)]['getRenderById'](_0x1bfaf5)[_0x3cd047(0x1e7)](_0x585241),_0x3c1107=_0x17cda2[_0x3cd047(0x305)]();if(_0x3c1107==null)return;const _0x5ca1b8=[{'id':_0x3cd047(0x235),'params':{'unitId':_0x116006[_0x3cd047(0x29a)],'actions':null,'textRanges':[_0x3c1107]}}],_0xa5c4e5=this[_0x3cd047(0x2ef)]['transformMutationsWithChangeset'](_0x116006,_0x5ca1b8);if(!_0x21ed70(_0xa5c4e5))throw _0xa5c4e5[_0x3cd047(0x318)];const _0x35b143=_0xa5c4e5[_0x3cd047(0x3ab)][0x0][_0x3cd047(0x1eb)][_0x3cd047(0x322)];Array[_0x3cd047(0x2a5)](_0x35b143)&&_0x35b143['length']&&_0x17cda2[_0x3cd047(0x2d3)](_0x35b143[0x0]);}};ne=tn([pe(0x0,_0x42b6f2(_0x2c3916)),pe(0x1,_0x18b730),pe(0x2,_0x19b0b6)],ne);var sn=Object[_0x2ca6f1(0x28e)],nn=(_0x366ac9,_0x2b1410,_0x6a3ac1,_0x2f863f)=>{for(var _0x18a817=_0x2f863f>0x1?void 0x0:_0x2f863f?sn(_0x2b1410,_0x6a3ac1):_0x2b1410,_0x437158=_0x366ac9['length']-0x1,_0x49da1d;_0x437158>=0x0;_0x437158--)(_0x49da1d=_0x366ac9[_0x437158])&&(_0x18a817=_0x49da1d(_0x18a817)||_0x18a817);return _0x18a817;},Ce=(_0x1d1096,_0x4000bb)=>(_0x38178e,_0x56260f)=>_0x4000bb(_0x38178e,_0x56260f,_0x1d1096);let re=class{constructor(_0x5d7ef9,_0x3ad6c2,_0x4a6c19){const _0x5205b0=_0x2ca6f1;this[_0x5205b0(0x268)]=_0x5d7ef9,this[_0x5205b0(0x2ef)]=_0x3ad6c2,this['_docStateChangeManagerService']=_0x4a6c19;}[_0x2ca6f1(0x367)](_0x38ab13){const _0x2066cf=_0x2ca6f1;this[_0x2066cf(0x35b)](_0x38ab13);}[_0x2ca6f1(0x1c5)](_0x52e6b4){const _0x12fe20=_0x2ca6f1,{unitID:_0x517423}=_0x52e6b4,{collaboration:_0x5dda39}=this[_0x12fe20(0x1de)]['getStateCache'](_0x517423);if(_0x5dda39['length']===0x0)return _0x52e6b4;let _0x27c833=_0x2d6480['deepClone'](_0x52e6b4['mutations'][0x0]);for(let _0x51c4a1=0x0;_0x51c4a1<_0x5dda39[_0x12fe20(0x24b)];_0x51c4a1++){const _0x296229={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5dda39[_0x51c4a1][_0x12fe20(0x2bb)],..._0x5dda39[_0x51c4a1][_0x12fe20(0x249)]}},_0x1192b6=this[_0x12fe20(0x2ef)][_0x12fe20(0x290)](_0x27c833,_0x296229,!0x1);if(_0x5f09cd(_0x1192b6))throw _0x1192b6[_0x12fe20(0x318)];_0x27c833=_0x1192b6[_0x12fe20(0x1d0)];}return{..._0x2d6480['deepClone'](_0x52e6b4),'mutations':[_0x27c833]};}[_0x2ca6f1(0x35b)](_0x7b48d6){const _0xe9c916=_0x2ca6f1,{unitID:_0x50ca2e}=_0x7b48d6,{history:_0x2e4657,collaboration:_0x1e862a}=this[_0xe9c916(0x1de)][_0xe9c916(0x2cc)](_0x50ca2e);if(_0x2e4657[_0xe9c916(0x24b)]===0x0&&_0x1e862a['length']===0x0)return;const _0x3e8ba3=[],_0x8cbc22=[];let _0x31f067=_0x2d6480[_0xe9c916(0x2a9)](_0x7b48d6[_0xe9c916(0x369)][0x0]),_0x3594c6=_0x2d6480[_0xe9c916(0x2a9)](_0x7b48d6['mutations'][0x0]);for(let _0x21a1c7=_0x2e4657[_0xe9c916(0x24b)]-0x1;_0x21a1c7>=0x0;_0x21a1c7--){const _0x42aff4={'id':_0xe9c916(0x235),'params':{'unitId':_0x2e4657[_0x21a1c7][_0xe9c916(0x2bb)],..._0x2e4657[_0x21a1c7][_0xe9c916(0x32c)]}},_0x3d382a={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2e4657[_0x21a1c7][_0xe9c916(0x2bb)],..._0x2e4657[_0x21a1c7]['redoState']}},_0x5062e2=this[_0xe9c916(0x2ef)][_0xe9c916(0x290)](_0x31f067,_0x42aff4,!0x1),_0xe312dd=this[_0xe9c916(0x2ef)][_0xe9c916(0x290)](_0x3594c6,_0x3d382a,!0x1);if(_0x5f09cd(_0x5062e2))throw _0x5062e2[_0xe9c916(0x318)];if(_0x5f09cd(_0xe312dd))throw _0xe312dd[_0xe9c916(0x318)];_0x3e8ba3['unshift']({..._0x2e4657[_0x21a1c7],'undoState':_0x5062e2['m2Prime']['params'],'redoState':_0xe312dd[_0xe9c916(0x3ab)][_0xe9c916(0x1eb)]}),_0x31f067=_0x5062e2['m1Prime'],_0x3594c6=_0xe312dd[_0xe9c916(0x1d0)];}_0x31f067=_0x2d6480[_0xe9c916(0x2a9)](_0x7b48d6[_0xe9c916(0x369)][0x0]),_0x3594c6=_0x2d6480[_0xe9c916(0x2a9)](_0x7b48d6[_0xe9c916(0x369)][0x0]);for(let _0x37be39=_0x1e862a[_0xe9c916(0x24b)]-0x1;_0x37be39>=0x0;_0x37be39--){const _0x5f049a={'id':_0xe9c916(0x235),'params':{'unitId':_0x1e862a[_0x37be39]['unitId'],..._0x1e862a[_0x37be39][_0xe9c916(0x32c)]}},_0x13c5e6={'id':_0xe9c916(0x235),'params':{'unitId':_0x1e862a[_0x37be39][_0xe9c916(0x2bb)],..._0x1e862a[_0x37be39][_0xe9c916(0x249)]}},_0x5390fd=this[_0xe9c916(0x2ef)][_0xe9c916(0x290)](_0x31f067,_0x5f049a,!0x1),_0x3e27ef=this[_0xe9c916(0x2ef)]['transformMutation'](_0x3594c6,_0x13c5e6,!0x1);if(_0x5f09cd(_0x5390fd))throw _0x5390fd['error'];if(_0x5f09cd(_0x3e27ef))throw _0x3e27ef[_0xe9c916(0x318)];_0x8cbc22[_0xe9c916(0x207)]({..._0x1e862a[_0x37be39],'undoState':_0x5390fd['m2Prime'][_0xe9c916(0x1eb)],'redoState':_0x3e27ef[_0xe9c916(0x3ab)][_0xe9c916(0x1eb)]}),_0x31f067=_0x5390fd['m1Prime'],_0x3594c6=_0x3e27ef['m1Prime'];}this[_0xe9c916(0x1de)][_0xe9c916(0x261)](_0x50ca2e,{'history':_0x3e8ba3,'collaboration':_0x8cbc22});}};re=nn([Ce(0x0,_0x42b6f2(_0x2c3916)),Ce(0x1,_0x18b730),Ce(0x2,_0x42b6f2(_0x228b24))],re);var rn=Object['getOwnPropertyDescriptor'],on=(_0x34c274,_0x44583a,_0x1967e1,_0x30abd7)=>{const _0x5a8fbb=_0x2ca6f1;for(var _0x404a58=_0x30abd7>0x1?void 0x0:_0x30abd7?rn(_0x44583a,_0x1967e1):_0x44583a,_0x213377=_0x34c274[_0x5a8fbb(0x24b)]-0x1,_0x1ab12a;_0x213377>=0x0;_0x213377--)(_0x1ab12a=_0x34c274[_0x213377])&&(_0x404a58=_0x1ab12a(_0x404a58)||_0x404a58);return _0x404a58;},tt=(_0x50ce0e,_0x409e9c)=>(_0x169384,_0x1bbfac)=>_0x409e9c(_0x169384,_0x1bbfac,_0x50ce0e);let oe=class{constructor(_0x5cf4a8,_0x3117e3){const _0x2ae9ab=_0x2ca6f1;this[_0x2ae9ab(0x268)]=_0x5cf4a8,this[_0x2ae9ab(0x2ef)]=_0x3117e3;}[_0x2ca6f1(0x20f)](_0x1f182c){const _0x2af981=_0x2ca6f1;var _0x459bdd;const _0x101b20=this[_0x2af981(0x268)][_0x2af981(0x2dc)](_0x182f79),_0x11872a=(_0x459bdd=_0x101b20[_0x2af981(0x244)]())!=null?_0x459bdd:[];if(_0x11872a[_0x2af981(0x24b)]===0x0)return;const _0x4f1a90=_0x1f182c['unitID'],_0x189cbe=[{'id':_0x2af981(0x235),'params':{'unitId':_0x4f1a90,'actions':null,'textRanges':_0x11872a}}],_0x531c5f=this['_transformService'][_0x2af981(0x2ab)](_0x1f182c,_0x189cbe);if(!_0x21ed70(_0x531c5f))throw _0x531c5f[_0x2af981(0x318)];const _0x13a296=_0x531c5f[_0x2af981(0x3ab)][0x0][_0x2af981(0x1eb)][_0x2af981(0x322)];Array['isArray'](_0x13a296)&&_0x13a296['length']&&_0x101b20[_0x2af981(0x217)](_0x13a296,{'unitId':_0x4f1a90,'subUnitId':_0x4f1a90},!0x1);}};oe=on([tt(0x0,_0x42b6f2(_0x2c3916)),tt(0x1,_0x18b730)],oe);var an=Object[_0x2ca6f1(0x28e)],cn=(_0xbfe1de,_0x1b439b,_0x38cc4e,_0x122ba3)=>{const _0x39d0be=_0x2ca6f1;for(var _0x2cc0f5=_0x122ba3>0x1?void 0x0:_0x122ba3?an(_0x1b439b,_0x38cc4e):_0x1b439b,_0x25c57e=_0xbfe1de[_0x39d0be(0x24b)]-0x1,_0x5e9043;_0x25c57e>=0x0;_0x25c57e--)(_0x5e9043=_0xbfe1de[_0x25c57e])&&(_0x2cc0f5=_0x5e9043(_0x2cc0f5)||_0x2cc0f5);return _0x2cc0f5;},U=(_0x19e683,_0x55ebde)=>(_0x471730,_0x3fc14e)=>_0x55ebde(_0x471730,_0x3fc14e,_0x19e683);let ae=class extends _0xcf188f{constructor(_0x2ba723,_0x485885,_0x1f44c9,_0x511b7a,_0x1233ef,_0x53d4f1,_0x207f37,_0x76e4d0){const _0x212085=_0x2ca6f1;super(),_(this,_0x212085(0x28c),new _0x29f35a(_0xc0ee2f[_0x212085(0x35a)])),(this[_0x212085(0x1de)]=_0x2ba723,this[_0x212085(0x304)]=_0x485885,this['_docTransformIMECacheService']=_0x1f44c9,this[_0x212085(0x234)]=_0x511b7a,this[_0x212085(0x3a7)]=_0x1233ef,this[_0x212085(0x1ee)]=_0x53d4f1,this['_messageService']=_0x207f37,this[_0x212085(0x344)]=_0x76e4d0,this[_0x212085(0x36a)]());}[_0x2ca6f1(0x36a)](){const _0x41995d=_0x2ca6f1;this[_0x41995d(0x39a)](this[_0x41995d(0x304)][_0x41995d(0x282)][_0x41995d(0x1dd)](_0x3b0105=>{const _0x47b392=_0x41995d,_0x28fd8=this[_0x47b392(0x1de)][_0x47b392(0x399)][_0x47b392(0x1dd)](_0x18711d=>{const _0x222c1e=_0x47b392;if(_0x18711d==null)return;const {unitId:_0x3330c6,redoState:_0x2a568e,commandId:_0x2346ec}=_0x18711d;if(_0x3330c6!==_0x3b0105[_0x222c1e(0x29a)])return;const _0x11bc07={'id':_0x2346ec,'type':_0x20b7ac[_0x222c1e(0x2d7)],'params':{'unitId':_0x3330c6,'actions':_0x2a568e[_0x222c1e(0x2f9)],'textRanges':null}};_0x3b0105['onLocalMutation'](_0x11bc07);});if(_0x3b0105['disposeWithMe'](_0x28fd8),_0x3b0105 instanceof _0x4911bb){const _0x1084a1={'onTransformIME':_0x386067=>this['_docTransformIMECacheService']['transformIMECache'](_0x386067),'onTransformState':_0x576f5f=>this[_0x47b392(0x234)][_0x47b392(0x367)](_0x576f5f),'onTransformSelections':_0x56e2bd=>this[_0x47b392(0x3a7)][_0x47b392(0x20f)](_0x56e2bd),'onSyncEditingCollabCursor':_0x3d53f3=>this['_docSyncEditingCollabCursorService'][_0x47b392(0x1f5)](_0x3d53f3),'onTransformRemoteChangesetByIMECache':_0x1fab23=>this[_0x47b392(0x27b)][_0x47b392(0x1c5)](_0x1fab23),'onTransformRemoteChangesetByStateCache':_0x3b744a=>this[_0x47b392(0x234)]['transformRemoteChangeset'](_0x3b744a)};_0x3b0105['addHandlerCallback'](_0x1084a1);}}));}};ae=cn([U(0x0,_0x42b6f2(_0x228b24)),U(0x1,_0x42b6f2(_0x31f314)),U(0x2,_0x42b6f2(ne)),U(0x3,_0x42b6f2(re)),U(0x4,_0x42b6f2(oe)),U(0x5,_0x42b6f2(He)),U(0x6,_0x19c49d),U(0x7,_0x42b6f2(_0x1588bd))],ae);var ln=Object[_0x2ca6f1(0x28e)],_n=(_0x4e4552,_0x2f230c,_0x2e4ba5,_0x416abb)=>{for(var _0x6446f9=_0x416abb>0x1?void 0x0:_0x416abb?ln(_0x2f230c,_0x2e4ba5):_0x2f230c,_0xe9f917=_0x4e4552['length']-0x1,_0x524620;_0xe9f917>=0x0;_0xe9f917--)(_0x524620=_0x4e4552[_0xe9f917])&&(_0x6446f9=_0x524620(_0x6446f9)||_0x6446f9);return _0x6446f9;},Ee=(_0x7a0aa5,_0x3a736d)=>(_0x13514c,_0xfa2c01)=>_0x3a736d(_0x13514c,_0xfa2c01,_0x7a0aa5);let we=class extends _0xcf188f{constructor(_0xc23ca9,_0x31b6dc,_0x1c5f22){const _0x3725d6=_0x2ca6f1;super(),_(this,_0x3725d6(0x202),new Map()),_(this,'_saveTaskMap',new Map()),_(this,_0x3725d6(0x3b2),!0x1),(this[_0x3725d6(0x2a3)]=_0xc23ca9,this['_localStorageService']=_0x31b6dc,this[_0x3725d6(0x377)]=_0x1c5f22);}[_0x2ca6f1(0x2bf)](){this['_disabled']=!0x0;}[_0x2ca6f1(0x2f4)](){const _0x2a7179=_0x2ca6f1;this[_0x2a7179(0x3b2)]=!0x1;}get[_0x2ca6f1(0x2a8)](){const _0x368b76=_0x2ca6f1;return this[_0x368b76(0x1e4)];}['dispose'](){const _0x1e8b9e=_0x2ca6f1;this['exhaustSavingTask']()[_0x1e8b9e(0x219)](()=>super[_0x1e8b9e(0x2de)]());}async[_0x2ca6f1(0x343)](_0x132e54){const _0x52c48e=_0x2ca6f1;return this[_0x52c48e(0x3b2)]?null:this[_0x52c48e(0x239)][_0x52c48e(0x2b1)](_0x1e1c39(_0x132e54));}async[_0x2ca6f1(0x2c8)](_0x3af530,_0x31ae22){const _0xa5136d=_0x2ca6f1;return!!this[_0xa5136d(0x239)][_0xa5136d(0x2e2)](_0x3af530,_0x31ae22);}[_0x2ca6f1(0x28f)](_0x999751,_0x2fd70d,_0xb9e6cd,_0x24b4f1){const _0x227d09=_0x2ca6f1,_0x2850a5=this[_0x227d09(0x377)][_0x227d09(0x285)](_0x999751);this[_0x227d09(0x202)][_0x227d09(0x2e4)](_0x999751,{'unitID':_0x999751,'type':_0x2fd70d,'awaitingChangeset':_0xb9e6cd,'mutations':_0x24b4f1,'rev':_0x2850a5}),this[_0x227d09(0x1e4)]['has'](_0x999751)||this[_0x227d09(0x3ad)](_0x999751);}[_0x2ca6f1(0x3ad)](_0x1f14d9){const _0x100c2b=_0x2ca6f1,_0x12c24d=this['_getSaveTimeout']();_0x12c24d===0x0?this[_0x100c2b(0x37f)](_0x1f14d9):this[_0x100c2b(0x1e4)][_0x100c2b(0x2e4)](_0x1f14d9,setTimeout(()=>this[_0x100c2b(0x37f)](_0x1f14d9),_0x12c24d));}[_0x2ca6f1(0x1b1)](){const _0x45314b=_0x2ca6f1;var _0x387f70;return(_0x387f70=this[_0x45314b(0x2a3)][_0x45314b(0x36d)](_0x1d3eb5))!=null?_0x387f70:_0x41edb0;}[_0x2ca6f1(0x37f)](_0x5e5f89){const _0x19ca75=_0x2ca6f1,_0x271fb9=this[_0x19ca75(0x1e4)][_0x19ca75(0x2dc)](_0x5e5f89);return _0x271fb9!==void 0x0&&window[_0x19ca75(0x29b)](_0x271fb9),this[_0x19ca75(0x239)][_0x19ca75(0x2e2)](_0x1e1c39(_0x5e5f89),this[_0x19ca75(0x202)]['get'](_0x5e5f89))['then'](()=>this[_0x19ca75(0x1e4)][_0x19ca75(0x28a)](_0x5e5f89));}async['exhaustSavingTask'](){const _0x169fc4=_0x2ca6f1,_0x2b37b7=[];this[_0x169fc4(0x1e4)]['forEach']((_0x17291f,_0x29b80c)=>{const _0x4a00e3=_0x169fc4;window['clearTimeout'](_0x17291f),_0x2b37b7[_0x4a00e3(0x36f)](this['_saveCache'](_0x29b80c)[_0x4a00e3(0x219)](()=>{const _0xcf03fd=_0x4a00e3;this['_saveTaskMap'][_0xcf03fd(0x28a)](_0x29b80c);}));}),await Promise[_0x169fc4(0x1cf)](_0x2b37b7);}};we=_n([Ee(0x0,_0x380f00),Ee(0x1,_0x30cbfd),Ee(0x2,_0x42b6f2(_0x4e84a2))],we);class hn extends _0x43ae8a{constructor(){const _0x2feb34=_0x2ca6f1;super(),_(this,'urlChange$'),this[_0x2feb34(0x263)]=_0x3d349e(window,_0x2feb34(0x25e))[_0x2feb34(0x2d2)](_0x100102(this[_0x2feb34(0x2b5)]),_0x4787b2(0x1),_0x4f1fae(void 0x0));}['setParam'](_0x45dd03,_0x5ddfbe,_0x308f65=!0x1){const _0x5e8b18=_0x2ca6f1,_0x5e3824=new URL(window[_0x5e8b18(0x296)][_0x5e8b18(0x313)]);_0x5e3824[_0x5e8b18(0x39b)][_0x5e8b18(0x2e4)](_0x45dd03,_0x5ddfbe),_0x308f65?window[_0x5e8b18(0x230)]['replaceState']('','',_0x5e3824['toString']()):window[_0x5e8b18(0x230)][_0x5e8b18(0x35d)]('','',_0x5e3824[_0x5e8b18(0x2e6)]());}[_0x2ca6f1(0x295)](_0x287654,_0x499b37=!0x1){const _0x435a06=_0x2ca6f1,_0x2d6766=new URL(window[_0x435a06(0x296)]['href']);_0x2d6766[_0x435a06(0x39b)][_0x435a06(0x28a)](_0x287654),_0x499b37?window[_0x435a06(0x230)]['replaceState']('','',_0x2d6766[_0x435a06(0x2e6)]()):window[_0x435a06(0x230)][_0x435a06(0x35d)]('','',_0x2d6766[_0x435a06(0x2e6)]());}[_0x2ca6f1(0x1ed)](_0x38f867){const _0x4834a3=_0x2ca6f1;var _0x4ec50e;return(_0x4ec50e=new URL(window[_0x4834a3(0x296)][_0x4834a3(0x313)])[_0x4834a3(0x39b)]['get'](_0x38f867))!=null?_0x4ec50e:void 0x0;}}var un=Object[_0x2ca6f1(0x1f7)],dn=Object[_0x2ca6f1(0x28e)],fn=(_0xfd4cb5,_0x36c2b5,_0x3e4716)=>_0x36c2b5 in _0xfd4cb5?un(_0xfd4cb5,_0x36c2b5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3e4716}):_0xfd4cb5[_0x36c2b5]=_0x3e4716,Sn=(_0x13d998,_0x49b90d,_0x2ee9cb,_0x42f36d)=>{const _0x1128ed=_0x2ca6f1;for(var _0x8f9688=_0x42f36d>0x1?void 0x0:_0x42f36d?dn(_0x49b90d,_0x2ee9cb):_0x49b90d,_0x297d2b=_0x13d998[_0x1128ed(0x24b)]-0x1,_0x4aeb12;_0x297d2b>=0x0;_0x297d2b--)(_0x4aeb12=_0x13d998[_0x297d2b])&&(_0x8f9688=_0x4aeb12(_0x8f9688)||_0x8f9688);return _0x8f9688;},Oe=(_0x30987a,_0x3bb4ac)=>(_0xa75c0f,_0x519a4d)=>_0x3bb4ac(_0xa75c0f,_0x519a4d,_0x30987a),mn=(_0x47eb2d,_0x12c4ba,_0xbd7b41)=>fn(_0x47eb2d,_0x12c4ba+'',_0xbd7b41);const In=_0x2ca6f1(0x345);let Ae=class extends _0xa24570{constructor(_0x35a81f=et,_0x3cc5b5,_0x2fbc3d,_0xc0dca2){const _0x1b7b62=_0x2ca6f1;super(),this[_0x1b7b62(0x1c9)]=_0x35a81f,this[_0x1b7b62(0x243)]=_0x3cc5b5,this['_injector']=_0x2fbc3d,this[_0x1b7b62(0x2a3)]=_0xc0dca2;const {..._0x4da76d}=_0x4f1705({},et,this[_0x1b7b62(0x1c9)]);this[_0x1b7b62(0x2a3)]['setConfig'](Zi,_0x4da76d);}['onStarting'](){const _0x4af027=_0x2ca6f1;this[_0x4af027(0x382)](),this[_0x4af027(0x1d3)]();}[_0x2ca6f1(0x35f)](){const _0x22a204=_0x2ca6f1;this[_0x22a204(0x353)]();}['_registerDependencies'](){const _0x466c39=_0x2ca6f1;var _0x1316c8;const _0x2c19de=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x184c8c,{'useClass':_0x35d284}],[_0x181985,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x3dca79(this[_0x466c39(0x268)],_0x542dc9(_0x2c19de,(_0x1316c8=this[_0x466c39(0x1c9)])==null?void 0x0:_0x1316c8['override']));}[_0x2ca6f1(0x353)](){const _0x4ea44d=_0x2ca6f1;this[_0x4ea44d(0x39a)](this[_0x4ea44d(0x243)][_0x4ea44d(0x22e)](_0x2e4ce1['UNIVER_DOC'],[Le])),this[_0x4ea44d(0x39a)](this[_0x4ea44d(0x243)][_0x4ea44d(0x22e)](_0x2e4ce1[_0x4ea44d(0x2f1)],[Pe]));}['_initDependencies'](){const _0x491fde=_0x2ca6f1;_0x27886c(this[_0x491fde(0x268)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x2ca6f1(0x358),In),Ae=Sn([_0x2e4be9(_0x29fd25),Oe(0x1,_0x19b0b6),Oe(0x2,_0x42b6f2(_0x2c3916)),Oe(0x3,_0x380f00)],Ae);var gn=Object[_0x2ca6f1(0x28e)],vn=(_0x69ee6e,_0x3d8b30,_0x34195b,_0xb18ec1)=>{const _0x145505=_0x2ca6f1;for(var _0x7924a3=_0xb18ec1>0x1?void 0x0:_0xb18ec1?gn(_0x3d8b30,_0x34195b):_0x3d8b30,_0x4f7d4f=_0x69ee6e[_0x145505(0x24b)]-0x1,_0xa63335;_0x4f7d4f>=0x0;_0x4f7d4f--)(_0xa63335=_0x69ee6e[_0x4f7d4f])&&(_0x7924a3=_0xa63335(_0x7924a3)||_0x7924a3);return _0x7924a3;},K=(_0x350908,_0xd51d62)=>(_0x5ae4fd,_0x63a9b5)=>_0xd51d62(_0x5ae4fd,_0x63a9b5,_0x350908);let st=class extends _0x2d8539{constructor(_0x1c9d51,_0x368446,_0x29734e,_0x11b425,_0x45c0bb){super(_0x1c9d51,_0x368446,_0x29734e,_0x11b425,_0x45c0bb);}async[_0x2ca6f1(0x329)](_0x21d19){const _0x5c39a2=_0x2ca6f1,_0x25bcb7=await this[_0x5c39a2(0x26f)](),_0x5f3d63=this['_createSocketURL'](_0x21d19,_0x25bcb7);return this[_0x5c39a2(0x380)](_0x5f3d63);}[_0x2ca6f1(0x2cd)](_0x2d7077,_0x377f39){const _0x3fc096=_0x2ca6f1,_0x4101a5=typeof window>'u'?new URL(_0x2d7077):new URL(_0x2d7077,window[_0x3fc096(0x296)]['origin']);_0x4101a5[_0x3fc096(0x39b)][_0x3fc096(0x2e4)]('sessionTicket',_0x377f39);const _0x42863b=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x3fc096(0x2ea)]);return _0x42863b[_0x3fc096(0x2dc)]('runId')&&_0x4101a5[_0x3fc096(0x39b)][_0x3fc096(0x2e4)](_0x3fc096(0x392),_0x42863b[_0x3fc096(0x2dc)](_0x3fc096(0x392))),_0x4101a5[_0x3fc096(0x2e6)]();}async['_getSessionTicket'](){const _0x457fd6=_0x2ca6f1;var _0x40257d,_0x17199a,_0x3b131b;const _0x105d8b=this[_0x457fd6(0x2a3)][_0x457fd6(0x36d)](_0x62fa1b),_0x2bfab2=(_0x40257d=_0x105d8b==null?void 0x0:_0x105d8b[_0x457fd6(0x34f)])!=null?_0x40257d:_0x394ab0;return(_0x3b131b=(_0x17199a=(await this['_httpService'][_0x457fd6(0x2dc)](_0x2bfab2,{'headers':{'Content-Type':_0x457fd6(0x226)}}))[_0x457fd6(0x1f0)])==null?void 0x0:_0x17199a[_0x457fd6(0x3ac)])!=null?_0x3b131b:'';}};st=vn([K(0x0,_0x42b6f2(_0x2c3916)),K(0x1,_0x42b6f2(_0x22036d)),K(0x2,_0x380f00),K(0x3,_0x20e80d),K(0x4,_0x1e0d9d)],st);function _0xb26e(_0x131115,_0x4215de){const _0xd5c92e=_0xd5c9();return _0xb26e=function(_0xb26e79,_0x386331){_0xb26e79=_0xb26e79-0x1b1;let _0x55bea5=_0xd5c92e[_0xb26e79];return _0x55bea5;},_0xb26e(_0x131115,_0x4215de);}const it=0x7530,nt='ACTIVE_UNIT_EVENT_CHANNEL';class Fn extends _0xcf188f{constructor(){const _0x5b01c6=_0x2ca6f1;super(),_(this,_0x5b01c6(0x2ae),_0x240ed2()),_(this,_0x5b01c6(0x1c0),new Set()),_(this,_0x5b01c6(0x1ff),new Map()),_(this,_0x5b01c6(0x24c),null),_(this,_0x5b01c6(0x3a5),new Map()),_(this,_0x5b01c6(0x22d),new Map()),this[_0x5b01c6(0x1f8)]();}[_0x2ca6f1(0x2de)](){const _0x180232=_0x2ca6f1;super[_0x180232(0x2de)](),this[_0x180232(0x3a5)]['forEach']((_0x591fcc,_0x3ee181)=>this['_removeClearOtherTimer'](_0x3ee181)),this[_0x180232(0x24c)]&&window[_0x180232(0x35e)](this['_heartbeatTimer']);}[_0x2ca6f1(0x277)](_0x473662){const _0x4079d7=_0x2ca6f1;return this['_ensureSubject'](_0x473662)[_0x4079d7(0x2d2)](_0x1769e6());}['editingUnit'](_0x5d3a34){const _0x521193=_0x2ca6f1;this['_selfUnitIDs'][_0x521193(0x2da)]===0x0&&this[_0x521193(0x2b9)](),this[_0x521193(0x1c0)]['add'](_0x5d3a34),this[_0x521193(0x3af)]({'type':0x0,'memberID':this[_0x521193(0x2ae)],'unitIDs':[_0x5d3a34],'isForwarded':!0x1});}['disposeUnit'](_0xd15010){const _0xbc683e=_0x2ca6f1;this['_selfUnitIDs'][_0xbc683e(0x28a)](_0xd15010),this[_0xbc683e(0x1c0)][_0xbc683e(0x2da)]===0x0&&this['_heartbeatTimer']&&window[_0xbc683e(0x35e)](this[_0xbc683e(0x24c)]);}[_0x2ca6f1(0x1f8)](){const _0x3c08d0=_0x2ca6f1;this['disposeWithMe'](_0x4a043f(_0x3d349e(window,'storage')[_0x3c08d0(0x1dd)](_0x540048=>{const _0x40a45f=_0x3c08d0;if(_0x540048[_0x40a45f(0x1b7)]!==nt||!_0x540048[_0x40a45f(0x2cb)])return;const _0x52980d=JSON['parse'](_0x540048[_0x40a45f(0x2cb)]);this[_0x40a45f(0x21e)](_0x52980d);}))),window[_0x3c08d0(0x32f)](_0x3c08d0(0x3ae),()=>this[_0x3c08d0(0x3af)]({'type':0x1,'memberID':this[_0x3c08d0(0x2ae)],'unitIDs':Array[_0x3c08d0(0x2cf)](this[_0x3c08d0(0x1c0)])}));}[_0x2ca6f1(0x21e)](_0x297c54){const _0x1da093=_0x2ca6f1;switch(_0x297c54[_0x1da093(0x364)]){case 0x0:this['_handleJoinEvent'](_0x297c54);break;case 0x1:this[_0x1da093(0x222)](_0x297c54);break;case 0x2:this[_0x1da093(0x270)](_0x297c54);break;}}[_0x2ca6f1(0x383)](_0x1924ab){const _0xa63a67=_0x2ca6f1,{unitIDs:_0xa21854,memberID:_0x351277,isForwarded:_0x1b5eba}=_0x1924ab;_0xa21854[_0xa63a67(0x241)](_0x3c52d9=>{const _0x6234d2=_0xa63a67;if(!_0x1b5eba&&this[_0x6234d2(0x1ff)]['has'](_0x3c52d9)&&this['_ensureSubject'](_0x3c52d9)[_0x6234d2(0x23b)](_0x39aee4[_0x6234d2(0x30e)]),!this['_unitOnClients'][_0x6234d2(0x365)](_0x3c52d9)||!this[_0x6234d2(0x1ff)]['get'](_0x3c52d9)[_0x6234d2(0x365)](_0x351277)){const _0x1db9af=this['_unitOnClients'][_0x6234d2(0x2dc)](_0x3c52d9)||new Set();_0x1db9af[_0x6234d2(0x2fc)](_0x351277),this[_0x6234d2(0x1ff)][_0x6234d2(0x2e4)](_0x3c52d9,_0x1db9af),this['_scheduleClearOtherTimer'](_0x351277);}}),_0x1b5eba||this[_0xa63a67(0x3af)]({'type':0x0,'memberID':this[_0xa63a67(0x2ae)],'unitIDs':[...this[_0xa63a67(0x1c0)]],'isForwarded':!0x0});}[_0x2ca6f1(0x34d)](_0x590164){const _0x417cb9=_0x2ca6f1;this[_0x417cb9(0x287)](_0x590164);const _0x3b6d18=window[_0x417cb9(0x271)](()=>{const _0x5f8d22=_0x417cb9;this[_0x5f8d22(0x1ff)][_0x5f8d22(0x241)](_0x5c0b9b=>{_0x5c0b9b['delete'](_0x590164);});},it*0x2);this['_clearOtherTimers'][_0x417cb9(0x2e4)](_0x590164,_0x3b6d18);}[_0x2ca6f1(0x287)](_0x4d0db3){const _0x38236=_0x2ca6f1;if(this[_0x38236(0x3a5)]['has'](_0x4d0db3)){const _0x51a3ef=this['_clearOtherTimers'][_0x38236(0x2dc)](_0x4d0db3);_0x51a3ef&&window[_0x38236(0x29b)](_0x51a3ef),this[_0x38236(0x3a5)][_0x38236(0x2e4)](_0x4d0db3,null);}}[_0x2ca6f1(0x222)](_0x5eadfd){const _0x2e7adf=_0x2ca6f1,{memberID:_0x4a3d0c,unitIDs:_0x6ca964}=_0x5eadfd;_0x6ca964[_0x2e7adf(0x241)](_0x3764b5=>{const _0x261f7a=_0x2e7adf;var _0x2004a6;const _0x366332=this[_0x261f7a(0x1ff)]['get'](_0x3764b5);_0x366332&&(_0x366332[_0x261f7a(0x28a)](_0x4a3d0c),(_0x2004a6=this[_0x261f7a(0x381)](_0x3764b5))==null||_0x2004a6[_0x261f7a(0x23b)](_0x366332[_0x261f7a(0x2da)]===0x0?_0x39aee4[_0x261f7a(0x333)]:_0x39aee4[_0x261f7a(0x30e)]));}),this[_0x2e7adf(0x287)](_0x4a3d0c);}[_0x2ca6f1(0x270)](_0x34a544){const _0x64d504=_0x2ca6f1;this[_0x64d504(0x34d)](_0x34a544[_0x64d504(0x375)]);}[_0x2ca6f1(0x3af)](_0x27fca9){const _0x43da7c=_0x2ca6f1;localStorage[_0x43da7c(0x2e2)](nt,JSON[_0x43da7c(0x236)](_0x27fca9));}[_0x2ca6f1(0x2b9)](){const _0x57d2b1=_0x2ca6f1;this['_heartbeatTimer']=window[_0x57d2b1(0x38d)](()=>{const _0x2556a1=_0x57d2b1;this[_0x2556a1(0x3af)]({'type':0x2,'memberID':this[_0x2556a1(0x2ae)]});},it);}[_0x2ca6f1(0x381)](_0x898fc5){const _0xeb26d5=_0x2ca6f1;return this[_0xeb26d5(0x22d)]['has'](_0x898fc5)||this[_0xeb26d5(0x22d)][_0xeb26d5(0x2e4)](_0x898fc5,new _0x29f35a(_0x39aee4[_0xeb26d5(0x333)])),this[_0xeb26d5(0x22d)][_0xeb26d5(0x2dc)](_0x898fc5);}}var Mt=(_0x45c2bb=>(_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x2c4)]=0x0]=_0x2ca6f1(0x2c4),_0x45c2bb[_0x45c2bb['OK']=0x1]='OK',_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x28d)]=0x2]=_0x2ca6f1(0x28d),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x2db)]=0x3]=_0x2ca6f1(0x2db),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x372)]=0x4]=_0x2ca6f1(0x372),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x327)]=0x5]=_0x2ca6f1(0x327),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x1be)]=0x6]=_0x2ca6f1(0x1be),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x33f)]=0x7]=_0x2ca6f1(0x33f),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x3a0)]=0x8]=_0x2ca6f1(0x3a0),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x39c)]=0x9]='COMPLETION_FINISHED',_0x45c2bb[_0x45c2bb['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x1df)]=0xb]=_0x2ca6f1(0x1df),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x3a2)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x311)]=0xd]=_0x2ca6f1(0x311),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x23c)]=0xe]=_0x2ca6f1(0x23c),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x396)]=0x1389]=_0x2ca6f1(0x396),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x29f)]=0x1771]=_0x2ca6f1(0x29f),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x2ce)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x27c)]=0x1773]=_0x2ca6f1(0x27c),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x209)]=0x1b59]=_0x2ca6f1(0x209),_0x45c2bb[_0x45c2bb['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x2ca6f1(0x215),_0x45c2bb[_0x45c2bb['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x2ca6f1(0x22c),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x2bd)]=0x1b5c]=_0x2ca6f1(0x2bd),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x323)]=0x1b5d]='APPLY_DUPLICATED',_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x385)]=0x1f41]=_0x2ca6f1(0x385),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x2e0)]=0x2329]=_0x2ca6f1(0x2e0),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x2c7)]=0x232a]=_0x2ca6f1(0x2c7),_0x45c2bb[_0x45c2bb['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x2ca6f1(0x37d),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x246)]=0x232c]=_0x2ca6f1(0x246),_0x45c2bb[_0x45c2bb['LICENSE_DISTRO_REJECTED']=0x232d]=_0x2ca6f1(0x38f),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x2d9)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x33e)]=0x2712]=_0x2ca6f1(0x33e),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x218)]=0x2713]=_0x2ca6f1(0x218),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x341)]=0x2714]=_0x2ca6f1(0x341),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x335)]=0x271a]=_0x2ca6f1(0x335),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x338)]=0x271b]=_0x2ca6f1(0x338),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x2e3)]=0x271c]=_0x2ca6f1(0x2e3),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x206)]=0x271d]=_0x2ca6f1(0x206),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x2d0)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x45c2bb[_0x45c2bb['YUUMI_AI_RUN_FAILED']=0x271f]=_0x2ca6f1(0x2a2),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x2ff)]=0x2720]=_0x2ca6f1(0x2ff),_0x45c2bb[_0x45c2bb['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x2ca6f1(0x300),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x1ba)]=0x2ee1]=_0x2ca6f1(0x1ba),_0x45c2bb[_0x45c2bb['INVALID_INVITE_CODE']=0x2ee2]=_0x2ca6f1(0x24f),_0x45c2bb[_0x45c2bb['INVITE_CODE_REQUIRED']=0x2ee3]=_0x2ca6f1(0x321),_0x45c2bb[_0x45c2bb['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x22a)]=0x2ee5]=_0x2ca6f1(0x22a),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x238)]=0x32c9]=_0x2ca6f1(0x238),_0x45c2bb[_0x45c2bb['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x1c8)]=0x32cb]=_0x2ca6f1(0x1c8),_0x45c2bb[_0x45c2bb['UNRECOGNIZED']=-0x1]=_0x2ca6f1(0x3b0),_0x45c2bb))(Mt||{}),pn=Object[_0x2ca6f1(0x28e)],Cn=(_0x6fea57,_0x2adfa5,_0x19a7c5,_0xb86164)=>{const _0xd220b4=_0x2ca6f1;for(var _0x243f8a=_0xb86164>0x1?void 0x0:_0xb86164?pn(_0x2adfa5,_0x19a7c5):_0x2adfa5,_0x56f676=_0x6fea57[_0xd220b4(0x24b)]-0x1,_0x386fe6;_0x56f676>=0x0;_0x56f676--)(_0x386fe6=_0x6fea57[_0x56f676])&&(_0x243f8a=_0x386fe6(_0x243f8a)||_0x243f8a);return _0x243f8a;},be=(_0x4ac8f3,_0x41fbf5)=>(_0x3fc4d4,_0xb2ffd8)=>_0x41fbf5(_0x3fc4d4,_0xb2ffd8,_0x4ac8f3);let rt=class extends _0xcf188f{constructor(_0x43997b,_0x3c03d9,_0x1ef45b){const _0x4c5ad0=_0x2ca6f1;super(),this[_0x4c5ad0(0x351)]=_0x43997b,this['_httpService']=_0x3c03d9,this['_configService']=_0x1ef45b;}async[_0x2ca6f1(0x319)](_0x575779,_0x19eca5,_0x161e41,..._0x54885e){const _0x2bd8e5=_0x2ca6f1;var _0x22c6f2,_0x1bd153,_0x33445f,_0x24dd64;const _0xc379c=this[_0x2bd8e5(0x351)][_0x2bd8e5(0x1f9)]();if(!_0xc379c)throw new Error(_0x2bd8e5(0x1d2));const _0x5778d8=((_0x22c6f2=this[_0x2bd8e5(0x2a3)]['getConfig'](_0x1a04d5))!=null?_0x22c6f2:_0x579a42)+'/'+_0x575779+_0x2bd8e5(0x35c)+_0x19eca5,_0x173a5e=new URL(window[_0x2bd8e5(0x296)][_0x2bd8e5(0x313)]),_0x13962a={'scriptId':_0x575779,'runId':(_0x1bd153=_0x173a5e[_0x2bd8e5(0x39b)][_0x2bd8e5(0x2dc)](_0x2bd8e5(0x392)))!=null?_0x1bd153:'','function':_0x19eca5,'unitId':_0xc379c[_0x2bd8e5(0x242)](),'argsOfFunction':JSON[_0x2bd8e5(0x236)](_0x54885e),'invokeId':(_0x33445f=_0x161e41[_0x2bd8e5(0x349)])!=null?_0x33445f:'','executionId':(_0x24dd64=_0x161e41['executionId'])!=null?_0x24dd64:''};try{const _0x3b992d=await this['_httpService'][_0x2bd8e5(0x26a)](_0x5778d8,{'body':_0x13962a});return _0x3b992d['body'][_0x2bd8e5(0x318)]&&_0x3b992d[_0x2bd8e5(0x1f0)]['error'][_0x2bd8e5(0x1dc)]!==Mt['OK']?'Failed':_0x3b992d[_0x2bd8e5(0x1f0)][_0x2bd8e5(0x33b)];}catch{return'Failed';}}};rt=Cn([be(0x0,_0x121b61),be(0x1,_0x42b6f2(_0x22036d)),be(0x2,_0x380f00)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Wi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
|
1
|
+
const _0x10be63=_0x3955;(function(_0x1859b4,_0xfd11e8){const _0x1c6311=_0x3955,_0x4ef5cd=_0x1859b4();while(!![]){try{const _0x547c33=-parseInt(_0x1c6311(0x2fb))/0x1+-parseInt(_0x1c6311(0x1fd))/0x2*(parseInt(_0x1c6311(0x250))/0x3)+-parseInt(_0x1c6311(0x1ac))/0x4*(-parseInt(_0x1c6311(0x21b))/0x5)+-parseInt(_0x1c6311(0x2e3))/0x6*(parseInt(_0x1c6311(0x284))/0x7)+parseInt(_0x1c6311(0x155))/0x8+-parseInt(_0x1c6311(0x1e3))/0x9+parseInt(_0x1c6311(0x254))/0xa;if(_0x547c33===_0xfd11e8)break;else _0x4ef5cd['push'](_0x4ef5cd['shift']());}catch(_0x506e4f){_0x4ef5cd['push'](_0x4ef5cd['shift']());}}}(_0x5e67,0x96120));var $t=Object[_0x10be63(0x313)],xt=(_0x5ceb03,_0x24a3cb,_0x547eae)=>_0x24a3cb in _0x5ceb03?$t(_0x5ceb03,_0x24a3cb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x547eae}):_0x5ceb03[_0x24a3cb]=_0x547eae,_=(_0x2109aa,_0x466c57,_0x1389c3)=>xt(_0x2109aa,typeof _0x466c57!=_0x10be63(0x332)?_0x466c57+'':_0x466c57,_0x1389c3);function _0x5e67(){const _0x2c7e19=['INVALID_ARGUMENT','onStarting','disposeUnit','evenodd','m1Prime','saveOfflineData','yellow.400','getUndoRedoMutationParamsCache','location','10827873qSEOku','row','_commandService','_colorIndex','_cursor','collab-rect-range-','fillStyle','WECHAT_HAS_BEEN_BOUND','init','values','selections','UNAUTHENTICATED','saveTaskMap','top','setTimeout','_saveTaskMap','_unitStatus','_selfUnitIDs','SYNCED','univer-flex\x20univer-items-center','Warning','_setupSubUnitSync','drawWith','addObjects','http://www.w3.org/2000/svg','blue.400','1435354vgYdam','event$','unit','urlChange$','FromArray','_httpService','triggerDblclick','_initEntityListener','permission.title','collabStatus.conflict','_setupBeforeClosingHandler','getUnhiddenWorksheets','_initStatusListener','memberID','runOnServer','getVpScrollXYInfoByPosToVp','use','collabStatus.offline','_session','tag','MoveRangeCommandId','_memberService','_syncEditingCollabCursorService','removeParam','setShapeProps','_cachedData','getSheetBySheetId','addClipboardHook','cursorInfo$','labelPosition','85ytRRnU','string','USERS_LEAVE','call','set','rgba(255,\x20255,\x20255,\x200.01)','getViewport','_revisionService','Error','sessionTicket','forEach','getItem','assignAColorForMemberID','getOwnPropertyDescriptor','replaceState','NOT_FOUND','from','YUUMI_RATE_OVER_LIMIT','_renderManagerService','INVITE_CODE_HAS_BEEN_UES','_docTransformSelectionsService','VIEW_MAIN','_collaborationController','_docClipboardService','div','sessionStatus$','getStateCache','onCommandExecuted','getCurrent','replace','_disabled','measureText','onTransformChange$','send','Failed','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_onRefRangeChange','defIds','docStateChange$','getUnitStatus$','undoState','collabStatus.notCollab','_docTransformIMECacheService','registerRenderModule','deepClone','isActive','_scheduleHeartbeat','currentColor','onPointerMove$','session.collaboration-timeout','_scene','_handleLeaveEvent','entityInit$','3rUjlNg','_collabSessionService','requireSession','show','29069520ryTkoj','YUUMI_URL_COL_OUT_OF_RANGE','_logService','bottom','random','clipPath','_collaborationUIEventService','LICENSE_IMPORT_SIZE_EXCEEDED','UniverIcon','m2Prime','asObservable','_docSkeletonManagerService','_messageService','entries','transformSelections','prototype','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','getActiveSheet','InsertRangeMoveDownCommandId','apply','_assignedColors','ACTIVE_UNIT_EVENT_CHANNEL','icon','hide','range','roomMembers','onPointerLeave$','DeleteRangeMoveUpCommandId','_saveCache','override','ranges','pushState','updateOfflineData','CLOSE_ROOM','OTHER_CLIENTS_EDITING','UNIVER_SHEET','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','dispose','_hideTimer','transformRemoteChangeset','setItem','getTypeOfUnitDisposed$','code','onRendered','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','name','purple.300','INVITE_CODE_REQUIRED','7307888wiOQxI','doc.mutation.rich-text-editing','_initStatusComponent','saveImage','assign','fillRule','actions','transformIMECache','_localCacheService','SUBMIT_CHANGESET_TIMEOUT','RemoveRowCommandId','idSuffix','_labelPosition','subscribe','/run/','LOGIN_FAILED','includes','_registerRenderDependencies','defs','getRangePointData','TEXT','_anchor','focused$','_ensureSubject','_name','session.connection-failed','text','collaboration-client-ui.config','history','backgroundColor','search','createSocket','_entityInit$','YUUMI_SUBSCRIPTION_NOT_FOUND','selection','_collabCursorState$','debug','ALREADY_EXISTS','stringify','getAncestorScale','_context','isEditing','UNDEFINED','save','error','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','has','roomMembers$','APPLY_PERMISSION_DENIED','ENSURE_SNAPSHOT_EXECUTION','className','InsertRowCommandId','_hover','SOCKET_FAILED','_initDependencies','collab-text-range-','svg','_updateURLWithCurrentState','NOT_COLLAB','href','width','setStateCache','_uiPartsService','get','getCurrentUnitForType','clearTimeout','data','unshift','getUnitId','_heartbeatTimer','on-line-icon_clip0_910_349','transform','0\x200\x2016\x2016','column','_transformHistoryAndStateStack','unload','CONFLICT','getActiveRange','APPLY_NON_SEQUENTIAL_REVISION','next','max','textRanges','getConfig','_startDocCollabCursor','restore','onPointerEnter$','beginPath','getDocRanges','off-line-icon_clip0_910_343','concat','_univerInstanceService','[CollaborationDataLoaderController]','YUUMI_UNABLE_LOAD_URL','executeCommand','_getSessionTicket','6kvXYpv','redoState','whenReady','generateRandomId','_handleEvent','runId','searchParams','key','collabCursorState$','_id','_scheduleSaving','syncEditingCollabCursor','YUUMI_ASYNCIO_CANCELLED','univer-mr-2\x20univer-flex\x20univer-text-xl','fill','SNAPSHOT_INVALID_SNAPSHOT','_unitOnClients','color','with','length','_textBubble','arc','findNodePositionByCharIndex','_getSheetObject','283967HKudQs','disposeWithMe','NO_OTHER_CLIENTS_EDITING','_localeService','lineTo','onLocalMutation','hovered','ONLINE','size','HEADER_MENU','session.will-retry','hasOwnProperty','INTERNAL_ERROR','post','exhaustSavingTask','popstate','TOO_MANY_REQUESTS','wsSessionTicketUrl','USER_NOT_INVITED_CODE','registerBeforeClose','CONNECTOR_DATA_TOO_LARGE','_transformUndoRedoStack','map','_onCursorUpdate','defineProperty','_eventUnsubscribe','delete','propertyIsEnumerable','_toggleOnline','InsertColCommandId','skeleton','_cursorShapes','CHANGESET_REVISION_CONFILICT','1em','_send','type','path','subunit','_colorAssignService','OffLineIcon','_initCommandExecutedListener','xlink:href','min','_getSaveTimeout','collaboration.closeRoom','_handleHover','M0\x200H16V16H0z','imageSourceType','_initEvent','resize','_color','_cursorInfo$','getValue','_transformService','height','symbol','getParam','_updateLocalCursor','getOffsetConfig','substring','colorChannel1','all','_toggleOffline','PY_RUNTIME_SCRIPT_ERROR','_createSocketURL','DeleteRangeMoveLeftCommandId','endRow','collaboration.single-unit.warning','_removeCollabCursors','uni.network.url-service','_themeService','setParam','getCollabCursors$','_draw','_roomMembers$','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','mutations','add','subscribeEvent','_handleJoinEvent','red.300','replaceDocRanges','url(#$1','_docSyncEditingCollabCursorService','_online','toRgbString','_drawRectRange','green.600','UNRECOGNIZED','loadOfflineData','createInstance','_init','_docSkeleton','jiqing.500','then','_scheduleClearOtherTimer','YUUMI_ALL_TABLES_IS_INVALID','_beforeCloseService','off-line-icon','_render','translate(.97)','FETCH_MISS','_entities','dispose$','onMouseMove','PERMISSION_DENIED','sheetId','collabStatus.syncing','4125208DroKxr','_document','sheetID','_clearOtherTimers','registerComponent','source','_getScale','_handleHeartbeatEvent','EMAIL_HAS_BEEN_BOUND','permission.content','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','getSheetId','AWAITING_WITH_PENDING','params','_transformPreviousActiveRange','getColorFromTheme','_cursors','_instanceService','getMember','white','transformMutation','getOwnPropertySymbols','split','SNAPSHOT_HAS_BEEN_REMOVED','cursorInfo','getMergeData','loadUnit','PENDING','displayName','_docTransformStateCacheService','transformStateCache','_refreshCollabCursors','_status$','_updateSubUnitFromURLParams','MOBILE_VERIFY_CODE_MISMATCH','startsWith','_range','startColumn','unitId','_drawTextRange','_anchorDot','round','[RemoteUniscriptService]:\x20no\x20focused\x20unit','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','RECT','_updateCollabCursors','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','toString','attrs','OTHER_CLIENT_EDITING','getCurrentSelections','_collabCursorController','OnLineIcon','_injector','_getAnchorBounding','0\x200\x2017\x2016','univerjs-icon\x20univerjs-icon-','UNIVER_DOC','unsubscribe','Unknown\x20user','getMemberID','#FFF','function','eventID','getTypeOfUnitAdded$','black','...','registerRefRange','_removeClearOtherTimer','_imageIoService','getFocusedUnit','LICENSE_MAX_UNITS_EXCEEDED','_initResize','setConfig','transformMutationsWithChangeset','_localStorageService','UPDATE_CURSOR','_docStateChangeManagerService','_urlService','getSkeleton','MOBILE_HAS_BEEN_BOUND','isArray','ticket','on-line-icon','_lastPointer','APPLY_DUPLICATED','_onCursorDelete','103720aaakSz','_sheetSkeletonManagerService','_notificationService','fillText','origin','_backgroundColor','_getMergeRange','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','RemoveColCommandId','getRelativeToViewportCoord','APPLY_REVISION_CONFILICT','startRow','_hovered','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','mask','_shapes','_startSheetCollabCursor','reconnect','YUUMI_CONNECTOR_URL_NOT_FOUND','complete','body','COMPLETION_FINISHED','getRenderById','getCollabEntity$','unitID','some','result','clearInterval','addHandlerCallback','LICENSE_EXPORT_SIZE_EXCEEDED','children','push','editingUnit','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_config','collabStatus.synced','setInterval','_drawAnchor','_refRangeService','_configService','indexOf','collab-client.tooltip.reconnect','invokeId','addObject','pipe','parse'];_0x5e67=function(){return _0x2c7e19;};return _0x5e67();}import{MemberService as _0x2d08ad,SessionStatus as _0x4dfb85,CollaborationSessionService as _0x58f285,CollaborationStatus as _0x57e69d,CollaborationController as _0x298d6a,ILocalCacheService as _0x213199,CollaborationUIEventService as _0x591c09,CollaborationUIEventId as _0x2acd13,DataLoaderService as _0x5c3cb0,DocCollaborationEntity as _0x1cefa5,getLocalCacheKey as _0x29b25b,LOCAL_CACHE_INTERVAL as _0x52e9b3,LOCAL_CACHE_INTERVAL_KEY as _0x352be6,UniverCollaborationClientPlugin as _0x2d4b1e,CollaborationSocketService as _0x34862c,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x3912d2,DEFAULT_WS_SESSION_TICKET_URL as _0x554f89,UnitStatus as _0x13f41b,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x2fbd73,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x571d04}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x1791bc,Disposable as _0x38053b,DOC_RANGE_TYPE as _0x2de3e1,Inject as _0x190800,Injector as _0x1963a9,IUniverInstanceService as _0x2d594b,ICommandService as _0x571ef4,debounce as _0x36d929,Rectangle as _0x570ed3,DisposableCollection as _0x126142,toDisposable as _0x5d3d6f,UniverInstanceType as _0x52505e,Tools as _0x4ec199,COLORS as _0x7292e0,ColorKit as _0x351621,ThemeService as _0x12af7d,fromEventSubject as _0x1de04a,LocaleService as _0xc152d,createIdentifier as _0x4f83d2,ILogService as _0xc1dab3,Optional as _0x26145b,Workbook as _0x8522ea,CommandType as _0x1769c9,IConfigService as _0xdf5196,ILocalStorageService as _0x14ecb9,DependentOn as _0x2ce191,Plugin as _0x12c489,merge as _0xbd5a6e,registerDependencies as _0x4992cc,mergeOverrideWithDependencies as _0x55fadb,touchDependencies as _0x271b92,generateRandomId as _0x3a7538}from'@univerjs/core';import{Shape as _0x41793a,Rect as _0x1e15b1,getColor as _0x1be4a8,RegularPolygon as _0x4b5096,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x38d2ae,Vector2 as _0x3d7e1,SHEET_VIEWPORT_KEY as _0x7bed25,IRenderManagerService as _0x2e50c4}from'@univerjs/engine-render';import{ISocketService as _0x641233,WebSocketService as _0x5bccf9,HTTPService as _0xedb30f}from'@univerjs/network';import{IDocClipboardService as _0x6b0c68,NodePositionConvertToCursor as _0x2ede96,NodePositionConvertToRectRange as _0x7c1597,TEXT_RANGE_LAYER_INDEX as _0x5af4b0,SetDocZoomRatioOperation as _0x40032f,DocIMEInputManagerService as _0x598601,DocStateChangeManagerService as _0x897617}from'@univerjs/docs-ui';import{IImageIoService as _0x4743e9}from'@univerjs/drawing';import{BehaviorSubject as _0x226cf0,debounceTime as _0x1018c5,takeUntil as _0x303377,Subject as _0x327260,filter as _0x31e4f1,switchMap as _0x4cd47a,merge as _0x306837,combineLatest as _0x2a6169,of as _0x390728,fromEvent as _0x4598ac,shareReplay as _0x5ef743,mapTo as _0x18be32,distinctUntilChanged as _0x5f11ca}from'rxjs';import{ITransformService as _0x5ced51,CollaborationEvent as _0x5dfe5d,isTransformMutationFailure as _0x198f8c,isTransformMutationsWithChangesetSuccess as _0x78182e,RevisionService as _0x50e00f,ISnapshotServerService as _0x551f12}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x4c5121,RichTextEditingMutation as _0xd68ad9,DocSelectionManagerService as _0x52ae6e,DocSkeletonManagerService as _0x2d382c}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x28c6bb,serializeRangeWithSheet as _0xd24b9e}from'@univerjs/engine-formula';import{RefRangeService as _0x368bf8,SetSelectionsOperation as _0x19515a,SheetsSelectionsService as _0x4e8cbc,EffectRefRangId as _0x54d4e4,handleIRemoveRow as _0x209150,handleIRemoveCol as _0x40a46d,handleMoveRange as _0x52507b,handleInsertRow as _0x1469ed,handleInsertRangeMoveRight as _0x16308b,handleInsertRangeMoveDown as _0x42a854,handleInsertCol as _0x1e8221,handleDeleteRangeMoveUp as _0x43595d,handleDeleteRangeMoveLeft as _0x1bde76,runRefRangeMutations as _0x4bade8,SetWorksheetActivateCommand as _0x4cf703}from'@univerjs/sheets';import{map as _0x13ac8f,filter as _0x504416,throttleTime as _0x3c9543,takeUntil as _0x4a43f7,switchMap as _0x193b6a}from'rxjs/operators';import{SheetSkeletonManagerService as _0x397094,getCoordByCell as _0x44867f,getSheetObject as _0x33c51e}from'@univerjs/sheets-ui';import{jsx as _0x266936,jsxs as _0x43fe84}from'react/jsx-runtime';import{useObservable as _0x175c52,useDependency as _0x51d814,IUIPartsService as _0x58239e,BuiltInUIPart as _0xd1a57a,connectInjector as _0xf70afc,IBeforeCloseService as _0x2bbcaa,IMessageService as _0x2f910d,INotificationService as _0x599efd}from'@univerjs/ui';import{Tooltip as _0x4a53fb,clsx as _0x4cd89e,MessageType as _0x3f6803}from'@univerjs/design';import{forwardRef as _0x3e3769,useRef as _0xc483ca,createElement as _0x4ee4af,useCallback as _0x36ac64}from'react';import{IRemoteInstanceService as _0x2d1f50}from'@univerjs/rpc';var ci=Object[_0x10be63(0x228)],li=(_0x4dacd4,_0x6fd3ee,_0x11acca,_0x1bc61e)=>{const _0x1502ef=_0x10be63;for(var _0x396d92=_0x1bc61e>0x1?void 0x0:_0x1bc61e?ci(_0x6fd3ee,_0x11acca):_0x6fd3ee,_0x5d3292=_0x4dacd4[_0x1502ef(0x2f6)]-0x1,_0x2e3d22;_0x5d3292>=0x0;_0x5d3292--)(_0x2e3d22=_0x4dacd4[_0x5d3292])&&(_0x396d92=_0x2e3d22(_0x396d92)||_0x396d92);return _0x396d92;},Je=(_0x4e3a56,_0x2b1a41)=>(_0x4d6c24,_0x571c4e)=>_0x2b1a41(_0x4d6c24,_0x571c4e,_0x4e3a56);let Ne=class extends _0x1791bc{constructor(_0x3d1162,_0x5f2f76){const _0x3a1286=_0x10be63;super(),this[_0x3a1286(0x232)]=_0x3d1162,this[_0x3a1286(0x19a)]=_0x5f2f76,this[_0x3a1286(0x144)]();}[_0x10be63(0x144)](){const _0x2bbee9=_0x10be63,_0x4fa5b5=this;this[_0x2bbee9(0x2fc)](this[_0x2bbee9(0x232)][_0x2bbee9(0x218)]({'onBeforePasteImage':async _0x538e3e=>{const _0x131fd9=_0x2bbee9,_0x38caeb=await _0x4fa5b5[_0x131fd9(0x19a)][_0x131fd9(0x287)](_0x538e3e);return _0x38caeb?{'source':_0x38caeb[_0x131fd9(0x15a)],'imageSourceType':_0x38caeb[_0x131fd9(0x32a)]}:null;}}));}};Ne=li([Je(0x0,_0x6b0c68),Je(0x1,_0x4743e9)],Ne);const Ze=[_0x10be63(0x282),_0x10be63(0x146),_0x10be63(0x140),_0x10be63(0x34b),_0x10be63(0x1fc),_0x10be63(0x1e0)];class ke extends _0x38053b{constructor(){const _0x323e1a=_0x10be63;super(...arguments),_(this,_0x323e1a(0x268),new Map()),_(this,_0x323e1a(0x1e6),0x0);}[_0x10be63(0x227)](_0x57b7b5){const _0x37c29c=_0x10be63;if(this['_assignedColors']['has'](_0x57b7b5))return this['_assignedColors'][_0x37c29c(0x2c3)](_0x57b7b5);const _0xe97a51=Ze[this[_0x37c29c(0x1e6)]];return this[_0x37c29c(0x1e6)]=(this[_0x37c29c(0x1e6)]+0x1)%Ze[_0x37c29c(0x2f6)],this[_0x37c29c(0x268)][_0x37c29c(0x21f)](_0x57b7b5,_0xe97a51),_0xe97a51;}}function Tt(_0xd01c8c){const _0x16bac9=_0x10be63;let _0x12d484='';for(const _0x37dcad of _0xd01c8c){const {startOffset:_0x45fc6e,endOffset:_0x24eccd,isActive:_0x4ff5d6,rangeType:_0x1c6038,segmentId:_0x504cb4,segmentPage:_0x38f6e9}=_0x37dcad;_0x12d484[_0x16bac9(0x2f6)]&&(_0x12d484+=','),_0x12d484+=_0x45fc6e+':'+_0x24eccd+':'+(_0x4ff5d6?'1':'0')+':'+_0x1c6038+':'+_0x504cb4+':'+_0x38f6e9;}return _0x12d484;}function _i(_0x19421e){const _0x3f481e=_0x10be63,_0x348454=_0x19421e['split'](','),_0x6f76f8=[];for(const _0xde4763 of _0x348454){const [_0x518391,_0x1d39a9,_0x29e47d,_0x42607b,_0x3bbbd5,_0x52f6cf]=_0xde4763[_0x3f481e(0x16b)](':');_0x6f76f8[_0x3f481e(0x1cb)]({'startOffset':Number(_0x518391),'endOffset':Number(_0x1d39a9),'collapsed':_0x518391===_0x1d39a9,'isActive':_0x29e47d==='1','rangeType':_0x42607b===_0x2de3e1[_0x3f481e(0x298)]?_0x2de3e1[_0x3f481e(0x298)]:_0x2de3e1[_0x3f481e(0x181)],'segmentId':typeof _0x3bbbd5=='string'?String(_0x3bbbd5):'','segmentPage':Number(_0x52f6cf!=null?_0x52f6cf:-0x1)});}return _0x6f76f8[_0x3f481e(0x1c5)](_0x4c7f90=>_0x4c7f90[_0x3f481e(0x248)])||(_0x6f76f8[0x0][_0x3f481e(0x248)]=!0x0),_0x6f76f8;}class He extends _0x1791bc{constructor(){const _0x5399e9=_0x10be63;super(...arguments),_(this,_0x5399e9(0x2a7),new _0x226cf0(null)),_(this,_0x5399e9(0x2eb),this[_0x5399e9(0x2a7)][_0x5399e9(0x25e)]());}[_0x10be63(0x2ee)](_0x4506ee){const _0x4aef8c=_0x10be63,{unitID:_0x36563c,memberID:_0xae74c3,textRanges:_0x4c7f72}=_0x4506ee,_0x363664=Tt(_0x4c7f72);if(_0x363664==='')return;const _0xeff789={'unitID':_0x36563c,'memberID':_0xae74c3,'selection':_0x363664};this[_0x4aef8c(0x2a7)][_0x4aef8c(0x2d3)](_0xeff789);}}var hi=Object[_0x10be63(0x228)],ui=(_0x4d5589,_0xffb9d7,_0x1bd1a2,_0x2dd235)=>{for(var _0x5214e3=_0x2dd235>0x1?void 0x0:_0x2dd235?hi(_0xffb9d7,_0x1bd1a2):_0xffb9d7,_0x20ecb6=_0x4d5589['length']-0x1,_0x39db2e;_0x20ecb6>=0x0;_0x20ecb6--)(_0x39db2e=_0x4d5589[_0x20ecb6])&&(_0x5214e3=_0x39db2e(_0x5214e3)||_0x5214e3);return _0x5214e3;},P=(_0x19fc1f,_0x31f0e8)=>(_0xb31b16,_0x3c0693)=>_0x31f0e8(_0xb31b16,_0x3c0693,_0x19fc1f);const di=0x12c,fi=0x64;let Ue=class extends _0x1791bc{constructor(_0x240ca5,_0x3a5583,_0x4588bc,_0x3d400a,_0x3a8876,_0x44c0b3,_0x49a2db,_0x15da3f,_0x5d081b){const _0x41139e=_0x10be63;super(),_(this,'_online',!0x1),_(this,_0x41139e(0x144),!0x1),_(this,'_cursorInfo$',new _0x226cf0(new Map())),_(this,_0x41139e(0x219),this[_0x41139e(0x32e)][_0x41139e(0x25e)]()),_(this,'_roomMembers$',new _0x226cf0([])),_(this,_0x41139e(0x2b3),this[_0x41139e(0x345)][_0x41139e(0x1d8)](_0x1018c5(di))),_(this,_0x41139e(0x334),_0x36d929(_0x1aeb1c=>{const _0x3ae820=_0x41139e,_0x1a6387={'eventID':_0x5dfe5d[_0x3ae820(0x1a1)],'data':{'unitID':this[_0x3ae820(0x1c4)],'memberID':this[_0x3ae820(0x20f)][_0x3ae820(0x191)](),'selection':Tt(_0x1aeb1c)}};this['_session'][_0x3ae820(0x23c)](_0x1a6387,this[_0x3ae820(0x1c4)]);},fi)),(this[_0x41139e(0x1c4)]=_0x240ca5,this['_session']=_0x3a5583,this['_injector']=_0x4588bc,this[_0x41139e(0x321)]=_0x3d400a,this[_0x41139e(0x212)]=_0x3a8876,this[_0x41139e(0x213)]=_0x44c0b3,this[_0x41139e(0x330)]=_0x49a2db,this[_0x41139e(0x2de)]=_0x15da3f,this[_0x41139e(0x1e5)]=_0x5d081b);}get[_0x10be63(0x16d)](){const _0x1d278a=_0x10be63;return this[_0x1d278a(0x32e)][_0x1d278a(0x32f)]();}get[_0x10be63(0x26d)](){const _0x21453b=_0x10be63;return this['_roomMembers$'][_0x21453b(0x32f)]();}[_0x10be63(0x279)](){const _0x8e986a=_0x10be63;super['dispose'](),this[_0x8e986a(0x32e)][_0x8e986a(0x2d3)](new Map()),this['_cursorInfo$'][_0x8e986a(0x1bf)](),this['_roomMembers$'][_0x8e986a(0x2d3)]([]),this[_0x8e986a(0x345)]['complete']();}[_0x10be63(0x1eb)](){const _0x8cc87d=_0x10be63;this[_0x8cc87d(0x144)]||(this['_init']=!0x0,this['_session'][_0x8cc87d(0x234)][_0x8cc87d(0x1d8)](_0x303377(this[_0x8cc87d(0x150)]))['subscribe'](_0x3f6eae=>{const _0x1a138b=_0x8cc87d;_0x3f6eae===_0x4dfb85['ONLINE']?this[_0x1a138b(0x317)]():this[_0x1a138b(0x339)]();}),this['_session'][_0x8cc87d(0x1fe)][_0x8cc87d(0x1d8)](_0x303377(this[_0x8cc87d(0x150)]))['subscribe'](_0x4e33f4=>{const _0x40cfc1=_0x8cc87d,_0x1c4c7a=_0x4e33f4[_0x40cfc1(0x194)];_0x1c4c7a===_0x5dfe5d['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x4e33f4),_0x1c4c7a===_0x5dfe5d[_0x40cfc1(0x21d)]&&this['_onCursorDelete'](_0x4e33f4);}),this[_0x8cc87d(0x2fc)](this[_0x8cc87d(0x1e5)]['onCommandExecuted'](_0x4b18b4=>{const _0x1b133a=_0x8cc87d,_0x312702=_0x4b18b4[_0x1b133a(0x162)];_0x312702!=null&&this['_online']&&_0x4b18b4['id']===_0x4c5121['id']&&_0x312702[_0x1b133a(0x17b)]===this[_0x1b133a(0x1c4)]&&_0x312702[_0x1b133a(0x2ad)]===!0x1&&_0x312702[_0x1b133a(0x272)][_0x1b133a(0x2f6)]>0x0&&this[_0x1b133a(0x334)](_0x312702[_0x1b133a(0x272)]);})),this['_syncEditingCollabCursorService'][_0x8cc87d(0x2eb)][_0x8cc87d(0x1d8)](_0x303377(this[_0x8cc87d(0x150)]))['subscribe'](_0x544122=>{const _0x563a81=_0x8cc87d;if((_0x544122==null?void 0x0:_0x544122[_0x563a81(0x1c4)])!==this['unitID'])return;const _0x5dcafc={'eventID':_0x5dfe5d[_0x563a81(0x1a1)],'data':_0x544122};this[_0x563a81(0x312)](_0x5dcafc);}),this[_0x8cc87d(0x2fc)](this[_0x8cc87d(0x1e5)][_0x8cc87d(0x236)](_0x51972e=>{const _0x18f67f=_0x8cc87d;if(_0x51972e[_0x18f67f(0x162)]==null)return;const _0x7fdde3=_0x51972e[_0x18f67f(0x162)];if(_0x51972e['id']!==_0xd68ad9['id']||_0x7fdde3[_0x18f67f(0x17b)]!==this[_0x18f67f(0x1c4)])return;const _0x2326ad={'id':_0x18f67f(0x285),'params':_0x7fdde3},_0x3ded55=this[_0x18f67f(0x16d)];for(const [_0x35e03b,_0x17e2d5]of _0x3ded55){const _0xa9966c={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x17e2d5[_0x18f67f(0x272)]}},_0x4ef446=this[_0x18f67f(0x330)]['transformMutation'](_0x2326ad,_0xa9966c,!0x1);if(_0x198f8c(_0x4ef446))throw _0x4ef446['error'];_0x3ded55[_0x18f67f(0x21f)](_0x35e03b,{..._0x17e2d5,'ranges':_0x4ef446[_0x18f67f(0x25d)][_0x18f67f(0x162)][_0x18f67f(0x2d5)]});}queueMicrotask(()=>{const _0x22eae1=_0x18f67f;this[_0x22eae1(0x32e)][_0x22eae1(0x2d3)](_0x3ded55);});})));}[_0x10be63(0x312)](_0x1f9928){const _0x3168b7=_0x10be63;var _0xbec050,_0x1a82bc;const {memberID:_0x4c7c3b,selection:_0x56937a}=_0x1f9928[_0x3168b7(0x2c6)],_0x48de11=_i(_0x56937a),_0x2e729d=(_0x1a82bc=(_0xbec050=this[_0x3168b7(0x212)][_0x3168b7(0x167)](this['unitID'],_0x4c7c3b))==null?void 0x0:_0xbec050['name'])!=null?_0x1a82bc:_0x3168b7(0x190),_0x5ef286={'color':this['_colorAssignService'][_0x3168b7(0x227)](_0x4c7c3b),'name':_0x2e729d,'ranges':_0x48de11},_0x1a5e19=this[_0x3168b7(0x16d)];_0x1a5e19[_0x3168b7(0x21f)](_0x4c7c3b,_0x5ef286),this[_0x3168b7(0x32e)][_0x3168b7(0x2d3)](_0x1a5e19);}[_0x10be63(0x1ab)](_0x139014){const _0xc09034=_0x10be63,{memberID:_0x3ccb78}=_0x139014[_0xc09034(0x2c6)],_0x328d6a=this['cursorInfo'];_0x328d6a[_0xc09034(0x315)](_0x3ccb78),this[_0xc09034(0x32e)][_0xc09034(0x2d3)](_0x328d6a);}[_0x10be63(0x317)](){const _0x37e66f=_0x10be63;var _0x5a9855;if(this[_0x37e66f(0x34f)]=!0x0,((_0x5a9855=this['_univerInstanceService'][_0x37e66f(0x19b)]())==null?void 0x0:_0x5a9855[_0x37e66f(0x2c8)]())!==this[_0x37e66f(0x1c4)])return;const _0x239e47=this['_injector'][_0x37e66f(0x2c3)](_0x52ae6e)[_0x37e66f(0x2db)]();Array[_0x37e66f(0x1a6)](_0x239e47)&&_0x239e47[_0x37e66f(0x2f6)]>0x0&&this[_0x37e66f(0x334)](_0x239e47);}[_0x10be63(0x339)](){this['_online']=!0x1;}};Ue=ui([P(0x2,_0x190800(_0x1963a9)),P(0x3,_0x190800(ke)),P(0x4,_0x190800(_0x2d08ad)),P(0x5,_0x190800(He)),P(0x6,_0x5ced51),P(0x7,_0x2d594b),P(0x8,_0x571ef4)],Ue);var Si=Object[_0x10be63(0x228)],mi=(_0x58cb00,_0x14b13d,_0x28ddbe,_0x8fac0c)=>{const _0x586f17=_0x10be63;for(var _0x347d66=_0x8fac0c>0x1?void 0x0:_0x8fac0c?Si(_0x14b13d,_0x28ddbe):_0x14b13d,_0x21e831=_0x58cb00[_0x586f17(0x2f6)]-0x1,_0x2c9c48;_0x21e831>=0x0;_0x21e831--)(_0x2c9c48=_0x58cb00[_0x21e831])&&(_0x347d66=_0x2c9c48(_0x347d66)||_0x347d66);return _0x347d66;},x=(_0x1bc967,_0x6c569c)=>(_0x17d94b,_0xae41e1)=>_0x6c569c(_0x17d94b,_0xae41e1,_0x1bc967);const Ii=0x12c,gi=0x64,vi=()=>{let _0x174b0d=[],_0x51fad1=!0x1;return _0x570167=>{const _0x4fd49a=_0x3955;_0x174b0d[_0x4fd49a(0x1cb)](_0x570167),_0x51fad1||(_0x51fad1=!0x0,setTimeout(()=>{_0x174b0d['forEach'](_0x41acf4=>_0x41acf4()),_0x174b0d=[],_0x51fad1=!0x1;}));};};let Me=class extends _0x1791bc{constructor(_0x32087a,_0x5a01ab,_0x333a2d,_0x181fa6,_0x26481c,_0x3ebded,_0x4d5d0b,_0xa301ee){const _0x496ec0=_0x10be63;super(),_(this,'_online',!0x1),_(this,_0x496ec0(0x144),!0x1),_(this,_0x496ec0(0x32e),new _0x226cf0(new Map())),_(this,'cursorInfo$',this['_cursorInfo$']['asObservable']()),_(this,_0x496ec0(0x345),new _0x226cf0([])),_(this,_0x496ec0(0x2b3),this[_0x496ec0(0x345)][_0x496ec0(0x1d8)](_0x1018c5(Ii))),_(this,_0x496ec0(0x334),_0x36d929((_0x1420b9,_0x3d286e)=>{const _0x4e5c8c=_0x496ec0,_0xd62144={'eventID':_0x5dfe5d[_0x4e5c8c(0x1a1)],'data':{'unitID':this[_0x4e5c8c(0x1c4)],'memberID':this[_0x4e5c8c(0x20f)][_0x4e5c8c(0x191)](),'selection':_0xd24b9e(_0x1420b9,_0x3d286e[_0x4e5c8c(0x26c)])}};this[_0x4e5c8c(0x20f)][_0x4e5c8c(0x23c)](_0xd62144,this[_0x4e5c8c(0x1c4)]);},gi)),(this[_0x496ec0(0x1c4)]=_0x32087a,this[_0x496ec0(0x20f)]=_0x5a01ab,this[_0x496ec0(0x18a)]=_0x333a2d,this[_0x496ec0(0x321)]=_0x181fa6,this[_0x496ec0(0x212)]=_0x26481c,this[_0x496ec0(0x2de)]=_0x3ebded,this[_0x496ec0(0x1e5)]=_0x4d5d0b,this[_0x496ec0(0x1d2)]=_0xa301ee);}get[_0x10be63(0x16d)](){const _0x486c86=_0x10be63;return this['_cursorInfo$'][_0x486c86(0x32f)]();}get[_0x10be63(0x26d)](){const _0x5a8cfb=_0x10be63;return this[_0x5a8cfb(0x345)][_0x5a8cfb(0x32f)]();}[_0x10be63(0x279)](){const _0x546840=_0x10be63;super[_0x546840(0x279)](),this[_0x546840(0x32e)][_0x546840(0x2d3)](new Map()),this[_0x546840(0x32e)][_0x546840(0x1bf)](),this['_roomMembers$']['next']([]),this[_0x546840(0x345)][_0x546840(0x1bf)]();}[_0x10be63(0x1eb)](){const _0x171a5e=_0x10be63;this[_0x171a5e(0x144)]||(this[_0x171a5e(0x144)]=!0x0,this[_0x171a5e(0x20f)]['sessionStatus$'][_0x171a5e(0x1d8)](_0x303377(this[_0x171a5e(0x150)]))[_0x171a5e(0x291)](_0x3e3585=>{const _0x151102=_0x171a5e;_0x3e3585===_0x4dfb85[_0x151102(0x302)]?this[_0x151102(0x317)]():this[_0x151102(0x339)]();}),this['_session'][_0x171a5e(0x1fe)][_0x171a5e(0x1d8)](_0x303377(this['dispose$']))[_0x171a5e(0x291)](_0x45a5ef=>{const _0x31a737=_0x171a5e,_0x26e62e=_0x45a5ef[_0x31a737(0x194)];_0x26e62e===_0x5dfe5d[_0x31a737(0x1a1)]&&this['_onCursorUpdate'](_0x45a5ef),_0x26e62e===_0x5dfe5d['USERS_LEAVE']&&this[_0x31a737(0x1ab)](_0x45a5ef);}),this[_0x171a5e(0x23f)](),this[_0x171a5e(0x2fc)](this[_0x171a5e(0x1e5)]['onCommandExecuted'](_0x4e5bc1=>{const _0x4cec17=_0x171a5e;if(this['_online']&&_0x4e5bc1['id']===_0x19515a['id']&&_0x4e5bc1[_0x4cec17(0x162)][_0x4cec17(0x17b)]===this[_0x4cec17(0x1c4)]){const _0x18166e=_0x4e5bc1[_0x4cec17(0x162)];this['_updateLocalCursor'](_0x18166e['subUnitId'],_0x18166e[_0x4cec17(0x1ed)][0x0]);}})));}[_0x10be63(0x312)](_0x2b0d0e){const _0x20dada=_0x10be63;var _0x606c55,_0x23e104;const {memberID:_0x71d685,selection:_0x550a94}=_0x2b0d0e[_0x20dada(0x2c6)],{sheetName:_0x316829,range:_0x4b3043}=_0x28c6bb(_0x550a94),_0x390205={'name':(_0x23e104=(_0x606c55=this[_0x20dada(0x212)][_0x20dada(0x167)](this[_0x20dada(0x1c4)],_0x71d685))==null?void 0x0:_0x606c55[_0x20dada(0x281)])!=null?_0x23e104:'Unknown\x20user','range':this[_0x20dada(0x1b2)](_0x316829,_0x4b3043),'sheetID':_0x316829,'color':this[_0x20dada(0x321)][_0x20dada(0x227)](_0x71d685),'selection':_0x550a94},_0x383978=this[_0x20dada(0x16d)];_0x383978[_0x20dada(0x21f)](_0x71d685,_0x390205),this[_0x20dada(0x32e)]['next'](_0x383978);}['_onCursorDelete'](_0x44b05d){const _0x5a37c2=_0x10be63,{memberID:_0x481359}=_0x44b05d[_0x5a37c2(0x2c6)],_0x18012d=this[_0x5a37c2(0x16d)];_0x18012d['delete'](_0x481359),this[_0x5a37c2(0x32e)][_0x5a37c2(0x2d3)](_0x18012d);}['_getMergeRange'](_0x54cec6,_0x3e53f6){const _0xb8b9ce=_0x10be63;var _0x50dc6e,_0x5199b7;const _0x9d585b=(_0x5199b7=(_0x50dc6e=this[_0xb8b9ce(0x2de)]['getUniverSheetInstance'](this[_0xb8b9ce(0x1c4)]))==null?void 0x0:_0x50dc6e[_0xb8b9ce(0x217)](_0x54cec6))==null?void 0x0:_0x5199b7[_0xb8b9ce(0x16e)]();return(_0x9d585b==null?void 0x0:_0x9d585b['find'](_0x4933db=>_0x570ed3['contains'](_0x4933db,_0x3e53f6)))||_0x3e53f6;}['_onRefRangeChange'](){const _0x59eb87=_0x10be63,_0x301373=new _0x126142(),_0x36027f=vi(),_0x97ce4e=()=>{const _0x1e862d=_0x3955;_0x301373[_0x1e862d(0x279)]();const _0x31690c=(_0x3c2d87,_0xe3d2b9,_0x5ee098,_0xb0e850)=>{const _0x5e8549=_0x1e862d;let _0x4063a5=[];switch(_0x3c2d87['id']){case _0x54d4e4[_0x5e8549(0x33c)]:{_0x4063a5=_0x1bde76(_0x3c2d87,_0xb0e850);break;}case _0x54d4e4[_0x5e8549(0x26f)]:{_0x4063a5=_0x43595d(_0x3c2d87,_0xb0e850);break;}case _0x54d4e4[_0x5e8549(0x318)]:{_0x4063a5=_0x1e8221(_0x3c2d87,_0xb0e850);break;}case _0x54d4e4[_0x5e8549(0x266)]:{_0x4063a5=_0x42a854(_0x3c2d87,_0xb0e850);break;}case _0x54d4e4['InsertRangeMoveRightCommandId']:{_0x4063a5=_0x16308b(_0x3c2d87,_0xb0e850);break;}case _0x54d4e4[_0x5e8549(0x2b7)]:{_0x4063a5=_0x1469ed(_0x3c2d87,_0xb0e850);break;}case _0x54d4e4[_0x5e8549(0x211)]:{_0x4063a5=_0x52507b(_0x3c2d87,_0xb0e850);break;}case _0x54d4e4[_0x5e8549(0x1b4)]:{_0x4063a5=_0x40a46d(_0x3c2d87,_0xb0e850);break;}case _0x54d4e4[_0x5e8549(0x28e)]:{_0x4063a5=_0x209150(_0x3c2d87,_0xb0e850);break;}}const _0x4e59e8=_0x4bade8(_0x4063a5,_0xb0e850),_0x51bca0=this[_0x5e8549(0x16d)][_0x5e8549(0x2c3)](_0xe3d2b9);if(_0x51bca0&&_0x4e59e8){const _0x40a5bb={..._0x51bca0,'range':_0x4e59e8};this[_0x5e8549(0x16d)][_0x5e8549(0x21f)](_0xe3d2b9,_0x40a5bb),_0x36027f(()=>{const _0x3e7f5e=_0x5e8549,_0x1d0af0=this[_0x3e7f5e(0x1d2)][_0x3e7f5e(0x198)](_0x4e59e8,_0x135f4a=>(_0x1d0af0['dispose'](),_0x31690c(_0x135f4a,_0xe3d2b9,_0x5ee098,_0x4e59e8)));_0x301373[_0x3e7f5e(0x348)](_0x1d0af0);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x1e862d(0x225)]((_0x18bf6c,_0x311921)=>{const _0x23badc=_0x1e862d,{range:_0x19ce05,sheetID:_0x551322}=_0x18bf6c,_0x2f9926=this[_0x23badc(0x1d2)][_0x23badc(0x198)](_0x19ce05,_0x503343=>(_0x2f9926[_0x23badc(0x279)](),_0x31690c(_0x503343,_0x311921,_0x551322,_0x19ce05)));_0x301373[_0x23badc(0x348)](_0x2f9926);});};this['disposeWithMe'](_0x5d3d6f(this[_0x59eb87(0x32e)][_0x59eb87(0x291)](()=>{_0x97ce4e();})));}['_toggleOnline'](){const _0x41193e=_0x10be63;var _0x529f64,_0x1a0109;if(this[_0x41193e(0x34f)]=!0x0,((_0x529f64=this[_0x41193e(0x2de)][_0x41193e(0x19b)]())==null?void 0x0:_0x529f64[_0x41193e(0x2c8)]())!==this[_0x41193e(0x1c4)])return;const _0x5790f8=(_0x1a0109=this[_0x41193e(0x18a)][_0x41193e(0x2c3)](_0x4e8cbc)[_0x41193e(0x187)]())==null?void 0x0:_0x1a0109[0x0],_0x2f2e7c=this['_univerInstanceService'][_0x41193e(0x2c4)](_0x52505e[_0x41193e(0x277)])[_0x41193e(0x265)]();_0x5790f8&&_0x2f2e7c&&this[_0x41193e(0x334)](_0x2f2e7c['getSheetId'](),_0x5790f8);}[_0x10be63(0x339)](){const _0x2e76d0=_0x10be63;this[_0x2e76d0(0x34f)]=!0x1;}};Me=mi([x(0x2,_0x190800(_0x1963a9)),x(0x3,_0x190800(ke)),x(0x4,_0x190800(_0x2d08ad)),x(0x5,_0x2d594b),x(0x6,_0x571ef4),x(0x7,_0x190800(_0x368bf8))],Me);var pi=Object['getOwnPropertyDescriptor'],Ci=(_0x3ee664,_0xc27e04,_0x4fe98a,_0x2887e3)=>{const _0x3d6fe9=_0x10be63;for(var _0x517a06=_0x2887e3>0x1?void 0x0:_0x2887e3?pi(_0xc27e04,_0x4fe98a):_0xc27e04,_0x59d434=_0x3ee664[_0x3d6fe9(0x2f6)]-0x1,_0x1ba2e9;_0x59d434>=0x0;_0x59d434--)(_0x1ba2e9=_0x3ee664[_0x59d434])&&(_0x517a06=_0x1ba2e9(_0x517a06)||_0x517a06);return _0x517a06;},Se=(_0x4b066e,_0x43d528)=>(_0x38e1f7,_0x9cc192)=>_0x43d528(_0x38e1f7,_0x9cc192,_0x4b066e);let H=class extends _0x1791bc{constructor(_0x11fa42,_0x40dae0,_0x518c68){const _0x30355f=_0x10be63;super(),_(this,'_entities',new Map()),_(this,_0x30355f(0x2a4),new _0x327260()),(this[_0x30355f(0x2de)]=_0x11fa42,this[_0x30355f(0x18a)]=_0x40dae0,this['_collabSessionService']=_0x518c68,this[_0x30355f(0x144)]());}[_0x10be63(0x279)](){const _0x89b7cb=_0x10be63;super['dispose'](),this[_0x89b7cb(0x2a4)]['complete'](),this[_0x89b7cb(0x14f)][_0x89b7cb(0x225)](_0x12035a=>_0x12035a[_0x89b7cb(0x279)]());}[_0x10be63(0x343)](_0x1bc49c){const _0x21d724=_0x10be63;return this[_0x21d724(0x14f)][_0x21d724(0x2b2)](_0x1bc49c)?this[_0x21d724(0x14f)][_0x21d724(0x2c3)](_0x1bc49c)[_0x21d724(0x219)]:this['_entityInit$'][_0x21d724(0x1d8)](_0x31e4f1(_0x5d489f=>_0x5d489f['unitID']===_0x1bc49c),_0x4cd47a(_0x2b1399=>_0x2b1399[_0x21d724(0x219)]));}['_init'](){const _0x2dc775=_0x10be63;this[_0x2dc775(0x2de)]['getTypeOfUnitAdded$'](_0x52505e[_0x2dc775(0x277)])[_0x2dc775(0x1d8)](_0x303377(this['dispose$']))[_0x2dc775(0x291)](async _0x2af82e=>{const _0x280df0=_0x2dc775,_0x10a3b8=_0x2af82e[_0x280df0(0x2c8)](),_0x536251=await this[_0x280df0(0x1bc)](_0x10a3b8);this[_0x280df0(0x2a4)][_0x280df0(0x2d3)](_0x536251),this[_0x280df0(0x14f)]['set'](_0x10a3b8,_0x536251);}),this[_0x2dc775(0x2de)][_0x2dc775(0x195)](_0x52505e['UNIVER_DOC'])[_0x2dc775(0x1d8)](_0x303377(this[_0x2dc775(0x150)]))[_0x2dc775(0x1d8)](_0x31e4f1(_0x3c23af=>!_0x3c23af[_0x2dc775(0x2c8)]()[_0x2dc775(0x178)]('__')))['subscribe'](async _0x59a6e5=>{const _0x105213=_0x2dc775,_0x3fe4b6=_0x59a6e5[_0x105213(0x2c8)](),_0x19fdee=await this[_0x105213(0x2d7)](_0x3fe4b6);this[_0x105213(0x2a4)][_0x105213(0x2d3)](_0x19fdee),this[_0x105213(0x14f)][_0x105213(0x21f)](_0x3fe4b6,_0x19fdee);}),_0x306837(this[_0x2dc775(0x2de)][_0x2dc775(0x27d)](_0x52505e[_0x2dc775(0x18e)]),this[_0x2dc775(0x2de)]['getTypeOfUnitDisposed$'](_0x52505e['UNIVER_SHEET']))['pipe'](_0x303377(this[_0x2dc775(0x150)]))[_0x2dc775(0x291)](_0x31cad7=>{const _0x1d3482=_0x2dc775,_0x4b25ac=_0x31cad7[_0x1d3482(0x2c8)](),_0x136309=this[_0x1d3482(0x14f)][_0x1d3482(0x2c3)](_0x4b25ac);_0x136309&&(_0x136309['dispose'](),this[_0x1d3482(0x14f)][_0x1d3482(0x315)](_0x4b25ac));});}async[_0x10be63(0x1bc)](_0x3f2928){const _0xc65552=_0x10be63,_0x5d8244=await this[_0xc65552(0x251)][_0xc65552(0x252)](_0x3f2928),_0xa2f16c=this[_0xc65552(0x18a)][_0xc65552(0x143)](Me,_0x3f2928,_0x5d8244);return _0xa2f16c[_0xc65552(0x1eb)](),_0xa2f16c;}async[_0x10be63(0x2d7)](_0x170cba){const _0x843da2=_0x10be63,_0x17ef82=await this[_0x843da2(0x251)]['requireSession'](_0x170cba),_0x2ad0ad=this[_0x843da2(0x18a)][_0x843da2(0x143)](Ue,_0x170cba,_0x17ef82);return _0x2ad0ad[_0x843da2(0x1eb)](),_0x2ad0ad;}};H=Ci([Se(0x0,_0x2d594b),Se(0x1,_0x190800(_0x1963a9)),Se(0x2,_0x190800(_0x58f285))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x3c7938,_0x5e8758){const _0x253b95=_0x10be63;let {radius:_0x54ad09,width:_0x1224c7,height:_0x1a64c6}=_0x5e8758;_0x54ad09=_0x54ad09!=null?_0x54ad09:0x0,_0x1224c7=_0x1224c7!=null?_0x1224c7:0x1e,_0x1a64c6=_0x1a64c6!=null?_0x1a64c6:0x1e;let _0xfb4572=0x0,_0x5cf6e6=0x0,_0x5473da=0x0;_0xfb4572=_0x5cf6e6=_0x5473da=Math[_0x253b95(0x325)](_0x54ad09,_0x1224c7/0x2,_0x1a64c6/0x2),_0x3c7938[_0x253b95(0x2da)](),_0x3c7938['moveTo'](_0xfb4572,0x0),_0x3c7938[_0x253b95(0x2ff)](_0x1224c7-_0x5cf6e6,0x0),_0x3c7938[_0x253b95(0x2f8)](_0x1224c7-_0x5cf6e6,_0x5cf6e6,_0x5cf6e6,Math['PI']*0x3/0x2,0x0,!0x1),_0x3c7938[_0x253b95(0x2ff)](_0x1224c7,_0x1a64c6-_0x5473da),_0x3c7938[_0x253b95(0x2f8)](_0x1224c7-_0x5473da,_0x1a64c6-_0x5473da,_0x5473da,0x0,Math['PI']/0x2,!0x1),_0x3c7938[_0x253b95(0x2ff)](0x0,_0x1a64c6),_0x3c7938[_0x253b95(0x2ff)](0x0,_0xfb4572),_0x3c7938['arc'](_0xfb4572,_0xfb4572,_0xfb4572,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3c7938['closePath'](),_0x5e8758[_0x253b95(0x2f1)]&&(_0x3c7938[_0x253b95(0x2af)](),_0x3c7938[_0x253b95(0x1e9)]=_0x5e8758[_0x253b95(0x2f1)],_0x5e8758[_0x253b95(0x289)]===_0x253b95(0x1dd)?_0x3c7938['fill'](_0x253b95(0x1dd)):_0x3c7938[_0x253b95(0x2f1)](),_0x3c7938['restore']());}class he extends _0x41793a{constructor(_0x430c2d,_0x5c1ee2){const _0x135332=_0x10be63;super(_0x430c2d,_0x5c1ee2),_(this,'color'),_(this,_0x135332(0x29e)),(this[_0x135332(0x2f4)]=_0x5c1ee2==null?void 0x0:_0x5c1ee2[_0x135332(0x2f4)],this[_0x135332(0x29e)]=_0x5c1ee2==null?void 0x0:_0x5c1ee2[_0x135332(0x29e)]);}static['drawWith'](_0x41b886,_0x4f11f6){const _0x671d0e=_0x10be63,{text:_0x516870,color:_0x17a0dc}=_0x4f11f6;_0x41b886['save'](),_0x41b886['font']=_0x671d0e(0x23e);const _0xc655ac=_0x41b886[_0x671d0e(0x23a)](_0x516870)[_0x671d0e(0x2c0)],_0x50854a=Math['min'](_0xc655ac+0x2*me,Qe);Oi(_0x41b886,{'height':ee,'radius':0x4,'width':_0x50854a,'fill':_0x17a0dc}),_0x41b886[_0x671d0e(0x1e9)]=_0x671d0e(0x192);const _0x1b358d=me,_0x40f19d=ee-Ei,_0xb5a6d5=Qe-0x2*me;if(_0xc655ac>_0xb5a6d5){let _0x3953c0='',_0x4733df=0x0;for(const _0xecce81 of _0x516870){const _0x275260=_0x41b886[_0x671d0e(0x23a)](_0xecce81)['width'];if(_0x4733df+_0x275260<=_0xb5a6d5-_0x41b886[_0x671d0e(0x23a)]('...')[_0x671d0e(0x2c0)])_0x3953c0+=_0xecce81,_0x4733df+=_0x275260;else{_0x3953c0+=_0x671d0e(0x197);break;}}_0x41b886['fillText'](_0x3953c0,_0x1b358d,_0x40f19d);}else _0x41b886[_0x671d0e(0x1af)](_0x516870,_0x1b358d,_0x40f19d);_0x41b886[_0x671d0e(0x2d8)]();}['_draw'](_0x26cd79){const _0x5f481d=_0x10be63;he[_0x5f481d(0x1f9)](_0x26cd79,this);}}const Ie='collab-text-anchor-',bi=_0x10be63(0x2bb),Ti=_0x10be63(0x1e8),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x10be63(0x220);class qe{constructor(_0x1afce7,_0x5b3342,_0x3ecf69,_0x2e1753){const _0x138758=_0x10be63;_(this,'_shapes',[]),_(this,'_anchor',null),_(this,_0x138758(0x2f7),null),_(this,_0x138758(0x17d),null),_(this,'_hideTimer',null),_(this,_0x138758(0x314),null),(this[_0x138758(0x1e7)]=_0x1afce7,this[_0x138758(0x24d)]=_0x5b3342,this[_0x138758(0x145)]=_0x3ecf69,this[_0x138758(0x156)]=_0x2e1753,this[_0x138758(0x14c)]());}set['_hover'](_0x33fb71){const _0x537f06=_0x10be63;_0x33fb71?(this[_0x537f06(0x17d)]&&this['_anchorDot'][_0x537f06(0x26b)](),this['_textBubble']&&this[_0x537f06(0x2f7)][_0x537f06(0x253)]()):(this['_anchorDot']&&this['_anchorDot'][_0x537f06(0x253)](),this[_0x537f06(0x2f7)]&&this[_0x537f06(0x2f7)][_0x537f06(0x26b)]());}[_0x10be63(0x279)](){const _0x420141=_0x10be63;for(const _0x26d11d of this[_0x420141(0x1bb)])_0x26d11d['dispose']();this['_textBubble']&&this['_textBubble'][_0x420141(0x279)](),this['_anchorDot']&&this[_0x420141(0x17d)][_0x420141(0x279)](),this['_anchor']&&this[_0x420141(0x299)][_0x420141(0x279)](),this[_0x420141(0x314)]&&this[_0x420141(0x314)]();}['_render'](){const _0x526050=_0x10be63;var _0x289711;const {_docSkeleton:_0x562e48,_document:_0x448e36}=this,{color:_0x7f106,name:_0x51b4b1,ranges:_0xeb3daa}=this[_0x526050(0x1e7)],_0x3b9a1c=_0x448e36[_0x526050(0x335)](),{docsLeft:_0x363d9f,docsTop:_0x37e733}=_0x3b9a1c,_0x4a800b=new _0x2ede96(_0x3b9a1c,_0x562e48);for(const {startOffset:_0x32a027,endOffset:_0x3541d3,rangeType:_0x183656,segmentId:_0x28bd48,segmentPage:_0x4dcc0b,collapsed:_0x724508,isActive:_0x56b02f}of _0xeb3daa){const _0x57ebfd=_0x562e48[_0x526050(0x2f9)](_0x32a027,!0x0,_0x28bd48,_0x4dcc0b);let _0x498387=_0x562e48['findNodePositionByCharIndex'](_0x3541d3,!0x0,_0x28bd48,_0x4dcc0b);if(_0x498387==null&&(_0x498387=_0x562e48['findNodePositionByCharIndex'](_0x3541d3-0x1,!0x1,_0x28bd48,_0x4dcc0b)),_0x56b02f){const {contentBoxPointGroup:_0x2d8d5c}=_0x4a800b[_0x526050(0x297)](_0x498387,_0x498387);if(_0x2d8d5c[_0x526050(0x2f6)]===0x0)continue;this['_drawAnchor'](_0x7f106,_0x2d8d5c,_0x363d9f,_0x37e733,_0x51b4b1),this[_0x526050(0x314)]=this[_0x526050(0x328)]();}if(_0x57ebfd&&_0x498387){if(_0x183656===_0x2de3e1[_0x526050(0x181)]){const _0x4febff=new _0x7c1597(_0x3b9a1c,_0x562e48),{pointGroup:_0x330a39}=(_0x289711=_0x4febff['getRangePointData'](_0x57ebfd,_0x498387))!=null?_0x289711:{};if(_0x330a39==null||_0x330a39['length']===0x0)continue;this['_drawRectRange'](_0x7f106,_0x330a39,_0x363d9f,_0x37e733);}else{if(!_0x724508){const {borderBoxPointGroup:_0x158d06}=_0x4a800b['getRangePointData'](_0x57ebfd,_0x498387);if(_0x158d06[_0x526050(0x2f6)]===0x0)continue;this[_0x526050(0x17c)](_0x7f106,_0x158d06,_0x363d9f,_0x37e733);}}}}}[_0x10be63(0x1d1)](_0x47e5dc,_0x28f9ae,_0x458447,_0x375f79,_0x22ac4b){const _0x3a79ba=_0x10be63,_0xe6b218=this[_0x3a79ba(0x18b)](_0x28f9ae),{left:_0x699656,top:_0x13d2c5,height:_0x1ce2b1}=_0xe6b218,_0x421e7f=this[_0x3a79ba(0x15b)](),_0x422610=Di/_0x421e7f,_0x5600d9=new _0x1e15b1(Ie+_0x4ec199[_0x3a79ba(0x2e6)](X),{'left':_0x699656+_0x458447-_0x422610,'top':_0x13d2c5+_0x375f79,'height':_0x1ce2b1,'width':Ri,'fill':_0x47e5dc||_0x1be4a8(_0x7292e0['black'],0x0),'strokeWidth':_0x422610,'stroke':Ni,'evented':!0x0});this['_anchor']=_0x5600d9,this[_0x3a79ba(0x24d)]['addObject'](_0x5600d9,_0x5af4b0);const _0x12fd47=new _0x1e15b1(Ie+_0x4ec199[_0x3a79ba(0x2e6)](X),{'left':_0x699656+_0x458447-_0x422610,'top':_0x13d2c5+_0x375f79-ge/0x2,'height':ge,'width':ge,'fill':_0x47e5dc||_0x1be4a8(_0x7292e0['black'],0x0),'strokeWidth':0x0,'stroke':_0x47e5dc||_0x1be4a8(_0x7292e0[_0x3a79ba(0x196)],0x0),'evented':!0x1});this['_anchorDot']=_0x12fd47,this[_0x3a79ba(0x24d)][_0x3a79ba(0x1d7)](_0x12fd47,_0x5af4b0);const _0x26aee7=new he(Ie+_0x4ec199[_0x3a79ba(0x2e6)](X),{'left':_0x699656+_0x458447-_0x422610,'top':_0x13d2c5+_0x375f79-ee,'text':_0x22ac4b,'color':_0x47e5dc});this['_textBubble']=_0x26aee7,this['_scene'][_0x3a79ba(0x1d7)](_0x26aee7,_0x5af4b0),this['_hover']=!0x1;}[_0x10be63(0x328)](){const _0x383062=_0x10be63,_0x53d446=this[_0x383062(0x299)][_0x383062(0x2d9)][_0x383062(0x349)](()=>{this['_hover']=!0x0;}),_0x52f3b8=this[_0x383062(0x299)][_0x383062(0x26e)]['subscribeEvent'](()=>{const _0x2d1e9f=_0x383062;this['_hideTimer']&&clearTimeout(this[_0x2d1e9f(0x27a)]),this[_0x2d1e9f(0x27a)]=setTimeout(()=>{const _0x3449c4=_0x2d1e9f;this[_0x3449c4(0x2b8)]=!0x1;},0x7d0);});return()=>{const _0x119ca8=_0x383062;_0x53d446[_0x119ca8(0x18f)](),_0x52f3b8['unsubscribe']();};}[_0x10be63(0x17c)](_0x494302,_0x57038c,_0x3286e5,_0x5f462d){const _0x1768f4=_0x10be63,_0x5cf98d=new _0x351621(_0x494302)['setAlpha'](0.2)[_0x1768f4(0x350)](),_0x112871=new _0x4b5096(bi+_0x4ec199['generateRandomId'](X),{'pointsGroup':_0x57038c,'fill':_0x5cf98d||_0x1be4a8(_0x7292e0[_0x1768f4(0x196)],0.2),'left':_0x3286e5,'top':_0x5f462d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1768f4(0x1bb)][_0x1768f4(0x1cb)](_0x112871),this[_0x1768f4(0x24d)]['addObject'](_0x112871,_0x5af4b0);}[_0x10be63(0x351)](_0x32555a,_0x2c1f89,_0x3f6f6b,_0xff817a){const _0x29fb66=_0x10be63,_0x30fe86=new _0x351621(_0x32555a)['setAlpha'](0.2)[_0x29fb66(0x350)](),_0x1d15b8=new _0x4b5096(Ti+_0x4ec199['generateRandomId'](X),{'pointsGroup':_0x2c1f89,'fill':_0x30fe86||_0x1be4a8(_0x7292e0[_0x29fb66(0x196)],0.2),'left':_0x3f6f6b,'top':_0xff817a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x29fb66(0x1bb)]['push'](_0x1d15b8),this['_scene'][_0x29fb66(0x1d7)](_0x1d15b8,_0x5af4b0);}['_getAnchorBounding'](_0x402751){const _0x40de81=_0x402751[0x0],_0x3c8133=_0x40de81[0x0],_0x3eb55e=_0x40de81[0x2],{x:_0x28ff43,y:_0x4face7}=_0x3c8133,{x:_0x22951f,y:_0x50b087}=_0x3eb55e;return{'left':_0x28ff43,'top':_0x4face7,'width':_0x22951f-_0x28ff43,'height':_0x50b087-_0x4face7};}[_0x10be63(0x15b)](){const _0x1674c6=_0x10be63,{scaleX:_0x528978,scaleY:_0x243365}=this[_0x1674c6(0x24d)][_0x1674c6(0x2ab)]();return Math[_0x1674c6(0x2d4)](_0x528978,_0x243365);}}var Ui=Object[_0x10be63(0x228)],Mi=(_0x287ea6,_0x5d9114,_0x1db5f3,_0x1a58e7)=>{const _0x454cd2=_0x10be63;for(var _0x372478=_0x1a58e7>0x1?void 0x0:_0x1a58e7?Ui(_0x5d9114,_0x1db5f3):_0x5d9114,_0x4bd0dd=_0x287ea6[_0x454cd2(0x2f6)]-0x1,_0x1c1909;_0x4bd0dd>=0x0;_0x4bd0dd--)(_0x1c1909=_0x287ea6[_0x4bd0dd])&&(_0x372478=_0x1c1909(_0x372478)||_0x372478);return _0x372478;},Z=(_0x58f391,_0x143c9e)=>(_0x1fffd0,_0x3d7fa7)=>_0x143c9e(_0x1fffd0,_0x3d7fa7,_0x58f391);let Le=class extends _0x1791bc{constructor(_0x38a4d5,_0x253813,_0x3bf2a9,_0x316688,_0x41b8da){const _0x4d6c73=_0x10be63;super(),_(this,_0x4d6c73(0x31a),[]),_(this,'_cursors',[]),(this['_context']=_0x38a4d5,this[_0x4d6c73(0x25f)]=_0x253813,this[_0x4d6c73(0x188)]=_0x3bf2a9,this[_0x4d6c73(0x1e5)]=_0x316688,this['_themeService']=_0x41b8da,this['_init']());}['_init'](){const _0x366162=_0x10be63,_0x1c0f93=this[_0x366162(0x2ac)][_0x366162(0x17b)],_0x844156=this[_0x366162(0x25f)];this[_0x366162(0x2fc)](_0x2a6169([this[_0x366162(0x188)][_0x366162(0x343)](_0x1c0f93),this[_0x366162(0x341)]['currentTheme$']])['pipe'](_0x13ac8f(([_0x3c02cf,_0x59df3e])=>({'skeleton':_0x844156[_0x366162(0x1a4)](),'cursors':[..._0x3c02cf['values']()]['flatMap'](_0x38e9bc=>({..._0x38e9bc,'color':this['_themeService'][_0x366162(0x164)](_0x38e9bc['color'])}))})))[_0x366162(0x291)](_0x374d88=>{const _0x30517c=_0x366162;if(this[_0x30517c(0x33f)](),_0x374d88){const {skeleton:_0x4a5428,cursors:_0x328379}=_0x374d88;this[_0x30517c(0x182)](_0x4a5428,_0x328379);}})),this[_0x366162(0x19d)](),this[_0x366162(0x323)]();}[_0x10be63(0x182)](_0x10ea96,_0x1a7f40){const _0x5daeb4=_0x10be63,{scene:_0x3f1441,mainComponent:_0x286e9f}=this[_0x5daeb4(0x2ac)],_0x3603b0=_0x1a7f40[_0x5daeb4(0x311)](_0x32098d=>new qe(_0x32098d,_0x3f1441,_0x10ea96,_0x286e9f));this[_0x5daeb4(0x31a)]=_0x3603b0,this['_cursors']=_0x1a7f40;}[_0x10be63(0x174)](){const _0x3a6a5d=_0x10be63;this[_0x3a6a5d(0x33f)]();const {scene:_0x576fb3,mainComponent:_0x28a19}=this['_context'],_0x30f9fb=this[_0x3a6a5d(0x25f)]['getSkeleton'](),_0x1cb050=this[_0x3a6a5d(0x165)][_0x3a6a5d(0x311)](_0x2fa369=>new qe(_0x2fa369,_0x576fb3,_0x30f9fb,_0x28a19));this['_cursorShapes']=_0x1cb050;}[_0x10be63(0x33f)](){const _0x5cc8cd=_0x10be63;this['_cursorShapes'][_0x5cc8cd(0x225)](_0x5df866=>_0x5df866[_0x5cc8cd(0x279)]()),this['_cursorShapes']=[];}[_0x10be63(0x323)](){const _0x50464a=_0x10be63,_0x11e048=[_0x40032f['id']];this[_0x50464a(0x2fc)](this[_0x50464a(0x1e5)][_0x50464a(0x236)](_0x20f9a3=>{const _0xaa991e=_0x50464a;_0x11e048[_0xaa991e(0x294)](_0x20f9a3['id'])&&_0x20f9a3['params'][_0xaa991e(0x17b)]===this[_0xaa991e(0x2ac)][_0xaa991e(0x17b)]&&this[_0xaa991e(0x174)]();}));}['_initResize'](){const _0x497f6d=_0x10be63;this[_0x497f6d(0x2fc)](_0x1de04a(this[_0x497f6d(0x2ac)]['engine'][_0x497f6d(0x23b)])[_0x497f6d(0x1d8)](_0x504416(_0x272090=>_0x272090[_0x497f6d(0x31e)]===_0x38d2ae[_0x497f6d(0x32c)]),_0x3c9543(0x10))[_0x497f6d(0x291)](()=>{const _0x582c0c=_0x497f6d;this[_0x582c0c(0x174)]();}));}};Le=Mi([Z(0x1,_0x190800(_0x2d382c)),Z(0x2,_0x190800(H)),Z(0x3,_0x571ef4),Z(0x4,_0x190800(_0x12af7d))],Le);const Li=0x1,Pi=1.5;class wi extends _0x41793a{constructor(_0x13ea44,_0x18e0f1){const _0x438484=_0x10be63;super(_0x13ea44,_0x18e0f1),_(this,_0x438484(0x32d)),_(this,_0x438484(0x1b8),!0x1),_(this,_0x438484(0x179)),_(this,_0x438484(0x29c),''),_(this,_0x438484(0x290),_0x438484(0x1f0)),_(this,'_backgroundColor'),(_0x18e0f1&&this[_0x438484(0x215)](_0x18e0f1),this[_0x438484(0x2d9)][_0x438484(0x349)](()=>this[_0x438484(0x215)]({'hovered':!0x0})),this['onPointerLeave$'][_0x438484(0x349)](()=>this[_0x438484(0x215)]({'hovered':!0x1})));}[_0x10be63(0x215)](_0x4456a6){const _0x478249=_0x10be63;var _0x47a929,_0x337131,_0x5f09c6,_0x2ff952,_0x46c7bd,_0x18e1b3;this[_0x478249(0x32d)]=(_0x47a929=_0x4456a6['color'])!=null?_0x47a929:this[_0x478249(0x32d)],this[_0x478249(0x1b8)]=(_0x337131=_0x4456a6[_0x478249(0x301)])!=null?_0x337131:this['_hovered'],this[_0x478249(0x179)]=(_0x5f09c6=_0x4456a6[_0x478249(0x26c)])!=null?_0x5f09c6:this[_0x478249(0x179)],this[_0x478249(0x29c)]=(_0x2ff952=_0x4456a6[_0x478249(0x281)])!=null?_0x2ff952:this[_0x478249(0x29c)],this[_0x478249(0x290)]=(_0x46c7bd=_0x4456a6[_0x478249(0x21a)])!=null?_0x46c7bd:this[_0x478249(0x290)],this[_0x478249(0x1b1)]=(_0x18e1b3=_0x4456a6[_0x478249(0x2a1)])!=null?_0x18e1b3:this['_backgroundColor'],this['transformByState']({'width':_0x4456a6['width'],'height':_0x4456a6[_0x478249(0x331)]});}[_0x10be63(0x151)](_0x3a66a2){const _0x1255a4=_0x10be63,{row:_0x502eb8,column:_0x25c2ea}=_0x3a66a2;if(_0x502eb8>=this[_0x1255a4(0x179)][_0x1255a4(0x1b7)]&&_0x502eb8<=this[_0x1255a4(0x179)][_0x1255a4(0x33d)]&&_0x25c2ea>=this[_0x1255a4(0x179)][_0x1255a4(0x17a)]&&_0x25c2ea<=this[_0x1255a4(0x179)]['endColumn']){this[_0x1255a4(0x215)]({'hovered':!0x0});return;}this[_0x1255a4(0x215)]({'hovered':!0x1});}[_0x10be63(0x203)](_0x1f796a){return!0x1;}[_0x10be63(0x344)](_0x5ea29e){const _0x184f2b=_0x10be63;_0x1e15b1[_0x184f2b(0x1f9)](_0x5ea29e,{'width':this[_0x184f2b(0x2c0)],'height':this[_0x184f2b(0x331)],'strokeWidth':Pi,'stroke':this[_0x184f2b(0x32d)],'evented':!0x1,'fill':this[_0x184f2b(0x1b1)]}),this[_0x184f2b(0x1b8)]&&(_0x5ea29e[_0x184f2b(0x2af)](),_0x5ea29e[_0x184f2b(0x2cb)](0x1,0x0,0x0,0x1,this[_0x184f2b(0x2c0)],this['_labelPosition']===_0x184f2b(0x257)?0x0:-0x14),he[_0x184f2b(0x1f9)](_0x5ea29e,{'text':this[_0x184f2b(0x29c)],'color':this[_0x184f2b(0x32d)]}),_0x5ea29e[_0x184f2b(0x2d8)]());}}var Ai=Object[_0x10be63(0x228)],yi=(_0x293b91,_0x1be763,_0xc4b558,_0x370ffb)=>{const _0x57d97a=_0x10be63;for(var _0x2a4b25=_0x370ffb>0x1?void 0x0:_0x370ffb?Ai(_0x1be763,_0xc4b558):_0x1be763,_0x5629b7=_0x293b91[_0x57d97a(0x2f6)]-0x1,_0x213d49;_0x5629b7>=0x0;_0x5629b7--)(_0x213d49=_0x293b91[_0x5629b7])&&(_0x2a4b25=_0x213d49(_0x2a4b25)||_0x2a4b25);return _0x2a4b25;},ve=(_0xf6dc78,_0x2e8382)=>(_0x58187d,_0x48df17)=>_0x2e8382(_0x58187d,_0x48df17,_0xf6dc78);const $i=0x1389;let Pe=class extends _0x1791bc{constructor(_0x3dc332,_0x35ee8b,_0x19e20a,_0xf4b972){const _0x20993e=_0x10be63;super(),_(this,_0x20993e(0x165),new Set()),_(this,_0x20993e(0x1a9),null),(this['_context']=_0x3dc332,this[_0x20993e(0x1ad)]=_0x35ee8b,this[_0x20993e(0x188)]=_0x19e20a,this[_0x20993e(0x341)]=_0xf4b972,this[_0x20993e(0x144)]());}['_init'](){const _0xe8b52e=_0x10be63;this[_0xe8b52e(0x1ad)]['currentSkeleton$'][_0xe8b52e(0x1d8)](_0x4a43f7(this[_0xe8b52e(0x150)]),_0x193b6a(_0x5d0e21=>{const _0x90f2ff=_0xe8b52e;if(_0x5d0e21){const _0x4cbdb1=_0x5d0e21[_0x90f2ff(0x153)];return _0x2a6169(this[_0x90f2ff(0x188)][_0x90f2ff(0x343)](this[_0x90f2ff(0x2ac)][_0x90f2ff(0x17b)]),this[_0x90f2ff(0x341)]['currentTheme$'])[_0x90f2ff(0x1d8)](_0x13ac8f(([_0x16043d,_0x4a0c26])=>{const _0x1c1673=_0x90f2ff,_0xec610a=new Map();return _0x16043d[_0x1c1673(0x225)]((_0x26d2f7,_0x33ce5c)=>{const _0x3aab96=_0x1c1673;if(_0x26d2f7[_0x3aab96(0x157)]===_0x4cbdb1){const _0x20fd06={..._0x26d2f7};_0x20fd06[_0x3aab96(0x2f4)]=this[_0x3aab96(0x341)][_0x3aab96(0x164)](_0x26d2f7['color']),_0xec610a[_0x3aab96(0x21f)](_0x33ce5c,_0x20fd06);}}),{'skeleton':_0x5d0e21,'cursors':_0xec610a};}));}return _0x390728({'skeleton':null,'cursors':new Map()});}))[_0xe8b52e(0x291)](({skeleton:_0x4855cb,cursors:_0x5d263a})=>{this['_removeCollabCursors'](),_0x4855cb&&this['_updateCollabCursors'](_0x4855cb,_0x5d263a);}),this[_0xe8b52e(0x1ad)]['currentSkeleton$'][_0xe8b52e(0x291)](_0x153726=>{const _0x5867fe=_0xe8b52e;if(_0x153726==null)return;const {skeleton:_0x3a4128}=_0x153726,{scene:_0xf63c95}=this[_0x5867fe(0x2ac)];_0xf63c95[_0x5867fe(0x24b)][_0x5867fe(0x349)](_0x36d929(_0x2dd1f2=>{const _0x1d66e1=_0x5867fe;var _0x28a98a,_0x2c444d;const {offsetX:_0x17ed5d,offsetY:_0xbf0f96}=_0x2dd1f2,{x:_0x32578c,y:_0x23823c}=_0xf63c95[_0x1d66e1(0x1b5)](_0x3d7e1[_0x1d66e1(0x201)]([_0x17ed5d,_0xbf0f96])),{scaleX:_0x52cc53,scaleY:_0x2b7efd}=_0xf63c95[_0x1d66e1(0x2ab)](),_0x317d0b=_0xf63c95[_0x1d66e1(0x221)](_0x7bed25[_0x1d66e1(0x230)]),_0x1c62b3=_0xf63c95[_0x1d66e1(0x20c)](_0x3d7e1['FromArray']([_0x32578c,_0x23823c]),_0x317d0b),_0x585f7d=_0x3a4128['getCellPositionByOffset'](_0x17ed5d,_0xbf0f96,_0x52cc53,_0x2b7efd,_0x1c62b3);((_0x28a98a=this[_0x1d66e1(0x1a9)])==null?void 0x0:_0x28a98a[_0x1d66e1(0x2cd)])===_0x585f7d[_0x1d66e1(0x2cd)]&&((_0x2c444d=this['_lastPointer'])==null?void 0x0:_0x2c444d[_0x1d66e1(0x1e4)])===_0x585f7d[_0x1d66e1(0x1e4)]||this['_cursors'][_0x1d66e1(0x225)](_0x2f88db=>{const _0x19f76d=_0x1d66e1;_0x2f88db[_0x19f76d(0x151)](_0x585f7d);});},0x64));});}[_0x10be63(0x182)](_0x32b826,_0x31b8f8){const _0x1037bf=_0x10be63;var _0x1c16b8;const _0x1b69ed=(_0x1c16b8=this[_0x1037bf(0x1ad)][_0x1037bf(0x237)]())==null?void 0x0:_0x1c16b8[_0x1037bf(0x319)];if(!_0x1b69ed)return;const _0x3d2acc=this[_0x1037bf(0x2fa)]();if(!_0x3d2acc)return;this[_0x1037bf(0x165)][_0x1037bf(0x225)](_0x4bb747=>{_0x4bb747['makeDirty']();});const {scene:_0x2dea89}=_0x3d2acc,_0x3ab628=xi(Array['from'](_0x31b8f8['values']()))[_0x1037bf(0x311)](_0x47d566=>{const {color:_0x3efa06,range:_0x54d012,name:_0x14df96,selection:_0x4a26f6,sheetID:_0x5b0b3c}=_0x47d566,{startColumn:_0x50ba07,startRow:_0xc2e67c,endColumn:_0x21ad0f,endRow:_0x150e3c}=_0x54d012,_0x210d0a=_0x44867f(_0xc2e67c,_0x50ba07,_0x2dea89,_0x1b69ed),_0x2dc89a=_0x44867f(_0x150e3c,_0x21ad0f,_0x2dea89,_0x1b69ed),{columnHeaderHeightAndMarginTop:_0x341d69}=_0x1b69ed,{startX:_0x4d423e,startY:_0x54821a}=_0x210d0a,{endX:_0x4c8da6,endY:_0x1a576b}=_0x2dc89a,_0x1b54f1=_0x4c8da6-_0x4d423e,_0x2527b8=_0x1a576b-_0x54821a,_0x58a16c={'labelPosition':_0x54821a-_0x341d69>=ee?'top':'bottom','sheetID':_0x5b0b3c,'range':_0x54d012,'color':_0x3efa06,'name':_0x14df96,'selection':_0x4a26f6,'left':_0x4d423e,'top':_0x54821a,'width':_0x1b54f1,'height':_0x2527b8,'evented':!0x1,'zIndex':$i};return new wi(_0x14df96,_0x58a16c);});_0x2dea89[_0x1037bf(0x1fa)](_0x3ab628,Li),this[_0x1037bf(0x165)]=new Set(_0x3ab628);}[_0x10be63(0x33f)](){const _0x48030a=_0x10be63;var _0x2c1690;(_0x2c1690=this[_0x48030a(0x165)])==null||_0x2c1690[_0x48030a(0x225)](_0x55f34d=>_0x55f34d['dispose']());}[_0x10be63(0x2fa)](){const _0x3314db=_0x10be63;return _0x33c51e(this[_0x3314db(0x2ac)][_0x3314db(0x1ff)],this[_0x3314db(0x2ac)]);}};Pe=yi([ve(0x1,_0x190800(_0x397094)),ve(0x2,_0x190800(H)),ve(0x3,_0x190800(_0x12af7d))],Pe);function xi(_0x1e9da9){const _0x4403da=_0x10be63,_0x314ff4=new Map();return _0x1e9da9[_0x4403da(0x225)](_0x370d93=>{const _0x49d85e=_0x4403da;if(_0x314ff4[_0x49d85e(0x2b2)](_0x370d93['selection'])){const _0x4892ab=_0x314ff4[_0x49d85e(0x2c3)](_0x370d93['selection']);_0x4892ab[_0x49d85e(0x281)]+=',\x20'+_0x370d93[_0x49d85e(0x281)];}else _0x314ff4['set'](_0x370d93[_0x49d85e(0x2a6)],_0x370d93);}),Array['from'](_0x314ff4[_0x4403da(0x1ec)]());}var v=function(){const _0x12ad77=_0x10be63;return v=Object[_0x12ad77(0x288)]||function(_0x1bad88){const _0x3fb93f=_0x12ad77;for(var _0x383a6d,_0x29455e=0x1,_0x374d69=arguments[_0x3fb93f(0x2f6)];_0x29455e<_0x374d69;_0x29455e++){_0x383a6d=arguments[_0x29455e];for(var _0x2c29f9 in _0x383a6d)Object['prototype'][_0x3fb93f(0x306)][_0x3fb93f(0x21e)](_0x383a6d,_0x2c29f9)&&(_0x1bad88[_0x2c29f9]=_0x383a6d[_0x2c29f9]);}return _0x1bad88;},v[_0x12ad77(0x267)](this,arguments);},Bi=function(_0x5fa1f9,_0x57f887){const _0x53e78c=_0x10be63;var _0x28fe15={};for(var _0x30d496 in _0x5fa1f9)Object['prototype'][_0x53e78c(0x306)][_0x53e78c(0x21e)](_0x5fa1f9,_0x30d496)&&_0x57f887[_0x53e78c(0x1d4)](_0x30d496)<0x0&&(_0x28fe15[_0x30d496]=_0x5fa1f9[_0x30d496]);if(_0x5fa1f9!=null&&typeof Object[_0x53e78c(0x16a)]==_0x53e78c(0x193)){for(var _0x487413=0x0,_0x30d496=Object[_0x53e78c(0x16a)](_0x5fa1f9);_0x487413<_0x30d496['length'];_0x487413++)_0x57f887[_0x53e78c(0x1d4)](_0x30d496[_0x487413])<0x0&&Object[_0x53e78c(0x263)][_0x53e78c(0x316)][_0x53e78c(0x21e)](_0x5fa1f9,_0x30d496[_0x487413])&&(_0x28fe15[_0x30d496[_0x487413]]=_0x5fa1f9[_0x30d496[_0x487413]]);}return _0x28fe15;},Fe=_0x3e3769(function(_0xd3ec07,_0x422474){const _0x39ee6b=_0x10be63;var _0x24ed52=_0xd3ec07[_0x39ee6b(0x26a)],_0x1eb895=_0xd3ec07['id'],_0x21fe41=_0xd3ec07[_0x39ee6b(0x2b6)],_0xd7f831=_0xd3ec07['extend'],_0x2489df=Bi(_0xd3ec07,[_0x39ee6b(0x26a),'id','className','extend']),_0x5c03e0=_0x39ee6b(0x18d)[_0x39ee6b(0x2dd)](_0x1eb895,'\x20')[_0x39ee6b(0x2dd)](_0x21fe41||'')['trim'](),_0x59b566=_0xc483ca('_'[_0x39ee6b(0x2dd)](Fi()));return Rt(_0x24ed52,''[_0x39ee6b(0x2dd)](_0x1eb895),{'defIds':_0x24ed52['defIds'],'idSuffix':_0x59b566['current']},v({'ref':_0x422474,'className':_0x5c03e0},_0x2489df),_0xd7f831);});function _0x3955(_0x2c5de0,_0x1ab3fc){const _0x5e6729=_0x5e67();return _0x3955=function(_0x3955f6,_0x477290){_0x3955f6=_0x3955f6-0x140;let _0x3f6296=_0x5e6729[_0x3955f6];return _0x3f6296;},_0x3955(_0x2c5de0,_0x1ab3fc);}function Rt(_0x53033f,_0x23e34d,_0x32c08e,_0x255bcf,_0x14ea20){const _0x312c96=_0x10be63;return _0x4ee4af(_0x53033f[_0x312c96(0x210)],v(v({'key':_0x23e34d},ki(_0x53033f,_0x32c08e,_0x14ea20)),_0x255bcf),(Hi(_0x53033f,_0x32c08e)[_0x312c96(0x1ca)]||[])[_0x312c96(0x311)](function(_0x576341,_0x4c1026){const _0x3d3e08=_0x312c96;return Rt(_0x576341,''[_0x3d3e08(0x2dd)](_0x23e34d,'-')['concat'](_0x53033f[_0x3d3e08(0x210)],'-')['concat'](_0x4c1026),_0x32c08e,void 0x0,_0x14ea20);}));}function ki(_0x3f5069,_0x33b14f,_0x5eff77){const _0x236a37=_0x10be63;var _0x4d7b68=v({},_0x3f5069[_0x236a37(0x185)]);_0x5eff77!=null&&_0x5eff77[_0x236a37(0x337)]&&_0x4d7b68[_0x236a37(0x2f1)]===_0x236a37(0x337)&&(_0x4d7b68[_0x236a37(0x2f1)]=_0x5eff77['colorChannel1']),_0x3f5069['tag']===_0x236a37(0x1ba)&&_0x4d7b68['id']&&(_0x4d7b68['id']=_0x4d7b68['id']+_0x33b14f[_0x236a37(0x28f)]),Object[_0x236a37(0x261)](_0x4d7b68)[_0x236a37(0x225)](function(_0xd933ee){const _0x15b493=_0x236a37;var _0x5e8f20=_0xd933ee[0x0],_0x34aa62=_0xd933ee[0x1];_0x5e8f20===_0x15b493(0x1ba)&&typeof _0x34aa62=='string'&&(_0x4d7b68[_0x5e8f20]=_0x34aa62[_0x15b493(0x238)](/url\(#(.*)\)/,_0x15b493(0x34d)[_0x15b493(0x2dd)](_0x33b14f[_0x15b493(0x28f)],')')));});var _0x2bc4f5=_0x33b14f[_0x236a37(0x240)];return!_0x2bc4f5||_0x2bc4f5['length']===0x0||(_0x3f5069[_0x236a37(0x210)]===_0x236a37(0x20d)&&_0x4d7b68[_0x236a37(0x324)]&&(_0x4d7b68[_0x236a37(0x324)]=_0x4d7b68['xlink:href']+_0x33b14f[_0x236a37(0x28f)]),Object[_0x236a37(0x261)](_0x4d7b68)[_0x236a37(0x225)](function(_0x4c52d8){const _0xb76d85=_0x236a37;var _0x16b14b=_0x4c52d8[0x0],_0x5f3c45=_0x4c52d8[0x1];typeof _0x5f3c45==_0xb76d85(0x21c)&&(_0x4d7b68[_0x16b14b]=_0x5f3c45['replace'](/url\(#(.*)\)/,_0xb76d85(0x34d)[_0xb76d85(0x2dd)](_0x33b14f[_0xb76d85(0x28f)],')')));})),_0x4d7b68;}function Hi(_0x5433dd,_0x3715f3){const _0x220eec=_0x10be63;var _0x55db8a,_0x32523b=_0x3715f3[_0x220eec(0x240)];return!_0x32523b||_0x32523b[_0x220eec(0x2f6)]===0x0?_0x5433dd:_0x5433dd['tag']===_0x220eec(0x296)&&(!((_0x55db8a=_0x5433dd[_0x220eec(0x1ca)])===null||_0x55db8a===void 0x0)&&_0x55db8a[_0x220eec(0x2f6)])?v(v({},_0x5433dd),{'children':_0x5433dd[_0x220eec(0x1ca)]['map'](function(_0x151393){const _0x41e987=_0x220eec;return typeof _0x151393[_0x41e987(0x185)]['id']==_0x41e987(0x21c)&&_0x32523b&&_0x32523b[_0x41e987(0x294)](_0x151393['attrs']['id'])?v(v({},_0x151393),{'attrs':v(v({},_0x151393['attrs']),{'id':_0x151393[_0x41e987(0x185)]['id']+_0x3715f3['idSuffix']})}):_0x151393;})}):_0x5433dd;}function Fi(){const _0x1276ea=_0x10be63;return Math[_0x1276ea(0x258)]()[_0x1276ea(0x184)](0x24)[_0x1276ea(0x336)](0x2,0x8);}Fe[_0x10be63(0x171)]=_0x10be63(0x25c);var Yi={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x10be63(0x2cc),'width':_0x10be63(0x31c),'height':_0x10be63(0x31c)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x10be63(0x31f),'attrs':{'stroke':_0x10be63(0x24a),'d':_0x10be63(0x1b9),'strokeLinecap':_0x10be63(0x17e),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x10be63(0x296),'attrs':{},'children':[{'tag':_0x10be63(0x259),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x10be63(0x31f),'attrs':{'fill':'white','d':_0x10be63(0x329)}}]}]}],'defIds':[_0x10be63(0x2dc)]},Dt=_0x3e3769(function(_0x4dd743,_0x2f0d64){const _0x2f91e1=_0x10be63;return _0x4ee4af(Fe,Object[_0x2f91e1(0x288)]({},_0x4dd743,{'id':_0x2f91e1(0x14b),'ref':_0x2f0d64,'icon':Yi}));});Dt[_0x10be63(0x171)]=_0x10be63(0x322);var ji={'tag':_0x10be63(0x2bc),'attrs':{'xmlns':_0x10be63(0x1fb),'fill':'none','viewBox':_0x10be63(0x18c),'width':'1em','height':_0x10be63(0x31c)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x10be63(0x31f),'attrs':{'stroke':_0x10be63(0x24a),'d':_0x10be63(0x264),'strokeLinecap':_0x10be63(0x17e),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x10be63(0x296),'attrs':{},'children':[{'tag':_0x10be63(0x259),'attrs':{'id':_0x10be63(0x2ca)},'children':[{'tag':_0x10be63(0x31f),'attrs':{'fill':_0x10be63(0x168),'d':'M0\x200H16V16H0z','transform':_0x10be63(0x14d)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},Nt=_0x3e3769(function(_0x2a1728,_0xdb4785){const _0x1905de=_0x10be63;return _0x4ee4af(Fe,Object[_0x1905de(0x288)]({},_0x2a1728,{'id':_0x1905de(0x1a8),'ref':_0xdb4785,'icon':ji}));});Nt['displayName']=_0x10be63(0x189);function Vi(_0x3c5199){const _0x5708be=_0x10be63;switch(_0x3c5199){case _0x57e69d['OFFLINE']:return _0x5708be(0x20e);case _0x57e69d[_0x5708be(0x2d0)]:return _0x5708be(0x206);case _0x57e69d[_0x5708be(0x14e)]:return'collabStatus.fetchMiss';case _0x57e69d['NOT_COLLAB']:return _0x5708be(0x244);case _0x57e69d['AWAITING']:case _0x57e69d[_0x5708be(0x161)]:return _0x5708be(0x154);case _0x57e69d[_0x5708be(0x1f5)]:case _0x57e69d[_0x5708be(0x170)]:return _0x5708be(0x1cf);}}function Wi(_0x3feaf5){const _0x5997b0=_0x10be63,{status$:_0x556457}=_0x3feaf5,_0x20183f=_0x175c52(_0x556457,_0x57e69d['NOT_COLLAB']),_0x43aade=_0x51d814(_0xc152d),_0x3543e3=_0x51d814(_0x58f285),_0x3ba281=_0x20183f!==_0x57e69d['OFFLINE'],_0xc8697b=_0x43aade['t'](Vi(_0x20183f)),_0x153bc3=_0x3ba281?_0x266936(Nt,{}):_0x266936(Dt,{}),_0x736599=_0x36ac64(()=>{const _0x3e0523=_0x3955;_0x3ba281||_0x3543e3[_0x3e0523(0x1bd)]();},[_0x3ba281,_0x3543e3]);function _0x777430(){const _0x11ac71=_0x3955;return _0x43fe84(_0x11ac71(0x233),{'className':_0x11ac71(0x1f6),'onClick':_0x736599,'children':[_0x266936(_0x11ac71(0x233),{'className':_0x4cd89e(_0x11ac71(0x2f0),{'univer-text-green-500':_0x3ba281,'univer-text-red-500':!_0x3ba281}),'children':_0x153bc3}),_0x266936(_0x11ac71(0x233),{'className':_0x11ac71(0x1b3),'children':_0xc8697b})]});}return _0x3ba281?_0x777430():_0x266936(_0x4a53fb,{'title':_0x43aade['t'](_0x5997b0(0x1d5)),'children':_0x777430()});}var Xi=Object[_0x10be63(0x228)],Gi=(_0x5c3c63,_0x4d19db,_0x3f0690,_0x1dc8e7)=>{const _0x4e11dc=_0x10be63;for(var _0x462963=_0x1dc8e7>0x1?void 0x0:_0x1dc8e7?Xi(_0x4d19db,_0x3f0690):_0x4d19db,_0x153e42=_0x5c3c63[_0x4e11dc(0x2f6)]-0x1,_0x403ee0;_0x153e42>=0x0;_0x153e42--)(_0x403ee0=_0x5c3c63[_0x153e42])&&(_0x462963=_0x403ee0(_0x462963)||_0x462963);return _0x462963;},Q=(_0x22d9dd,_0x465a88)=>(_0x57c09a,_0x20b957)=>_0x465a88(_0x57c09a,_0x20b957,_0x22d9dd);let te=class extends _0x38053b{constructor(_0x5b072f,_0x150b7c,_0x59164b,_0x1b0934){const _0x42d052=_0x10be63;super(),_(this,'_status$',new _0x226cf0(_0x57e69d[_0x42d052(0x2be)])),(this['_univerInstanceService']=_0x5b072f,this['_injector']=_0x150b7c,this[_0x42d052(0x231)]=_0x59164b,this['_uiPartsService']=_0x1b0934,this[_0x42d052(0x286)](),this[_0x42d052(0x209)]());}[_0x10be63(0x209)](){const _0x569261=_0x10be63;this[_0x569261(0x2fc)](this[_0x569261(0x2de)][_0x569261(0x29a)][_0x569261(0x1d8)](_0x4cd47a(()=>{const _0x288415=_0x569261,_0x2a9cef=this[_0x288415(0x2de)][_0x288415(0x19b)]();return _0x2a9cef?this['_collaborationController'][_0x288415(0x1c3)](_0x2a9cef[_0x288415(0x2c8)]()):_0x390728(null);}),_0x4cd47a(_0x2b3393=>_0x2b3393?_0x2b3393['status$']:_0x390728(_0x57e69d[_0x569261(0x2be)])))[_0x569261(0x291)](_0x200b96=>{const _0x64cdb3=_0x569261;this['_status$'][_0x64cdb3(0x2d3)](_0x200b96);}));}[_0x10be63(0x286)](){const _0x11f913=_0x10be63;this[_0x11f913(0x2fc)](this[_0x11f913(0x2c2)][_0x11f913(0x159)](_0xd1a57a[_0x11f913(0x304)],()=>_0xf70afc(Ki({'status$':this[_0x11f913(0x175)][_0x11f913(0x25e)]()}),this[_0x11f913(0x18a)])));}};te=Gi([Q(0x0,_0x2d594b),Q(0x1,_0x190800(_0x1963a9)),Q(0x2,_0x190800(_0x298d6a)),Q(0x3,_0x58239e)],te);function Ki(_0x250e62){const {status$:_0x37f72e}=_0x250e62;return function(){return _0x266936(Wi,{'status$':_0x37f72e});};}var zi=Object[_0x10be63(0x228)],Ji=(_0x61faaf,_0x38fa75,_0x1c8e70,_0x1ccf83)=>{const _0x42a3c7=_0x10be63;for(var _0x2e0b16=_0x1ccf83>0x1?void 0x0:_0x1ccf83?zi(_0x38fa75,_0x1c8e70):_0x38fa75,_0x183869=_0x61faaf[_0x42a3c7(0x2f6)]-0x1,_0x5167ea;_0x183869>=0x0;_0x183869--)(_0x5167ea=_0x61faaf[_0x183869])&&(_0x2e0b16=_0x5167ea(_0x2e0b16)||_0x2e0b16);return _0x2e0b16;},B=(_0x332253,_0x1d9658)=>(_0x59367d,_0x579f3e)=>_0x1d9658(_0x59367d,_0x579f3e,_0x332253);let se=class extends _0x38053b{constructor(_0x7d6f35,_0x59996d,_0x986558,_0x4bff3d,_0x52e365,_0x318c06){const _0x1d0eed=_0x10be63;super(),this[_0x1d0eed(0x14a)]=_0x7d6f35,this[_0x1d0eed(0x28c)]=_0x59996d,this[_0x1d0eed(0x25a)]=_0x986558,this[_0x1d0eed(0x260)]=_0x4bff3d,this[_0x1d0eed(0x1ae)]=_0x52e365,this[_0x1d0eed(0x2fe)]=_0x318c06,this[_0x1d0eed(0x207)](),this[_0x1d0eed(0x32b)]();}[_0x10be63(0x207)](){const _0x199b16=_0x10be63;this[_0x199b16(0x2fc)](this[_0x199b16(0x14a)][_0x199b16(0x30e)](()=>{const _0x2e9cb3=_0x199b16;if(this[_0x2e9cb3(0x28c)][_0x2e9cb3(0x1ef)][_0x2e9cb3(0x303)])return this[_0x2e9cb3(0x2fe)]['t']('collaboration-client.offline-data-not-saved');}));}['_initEvent'](){const _0x907dd6=_0x10be63;this['disposeWithMe'](this[_0x907dd6(0x25a)][_0x907dd6(0x1fe)][_0x907dd6(0x291)](_0x25c709=>{const _0x52bd4f=_0x907dd6;_0x25c709['id']===_0x2acd13[_0x52bd4f(0x186)]&&this[_0x52bd4f(0x260)][_0x52bd4f(0x253)]({'type':_0x3f6803['Warning'],'content':this[_0x52bd4f(0x2fe)]['t'](_0x52bd4f(0x33e))}),_0x25c709['id']===_0x2acd13[_0x52bd4f(0x275)]&&this[_0x52bd4f(0x260)][_0x52bd4f(0x253)]({'type':_0x3f6803[_0x52bd4f(0x1f7)],'content':this[_0x52bd4f(0x2fe)]['t'](_0x52bd4f(0x327))}),_0x25c709['id']===_0x2acd13['PERMISSION_DENIED']&&this['_notificationService'][_0x52bd4f(0x253)]({'title':this[_0x52bd4f(0x2fe)]['t'](_0x52bd4f(0x205)),'content':this['_localeService']['t'](_0x52bd4f(0x15e)),'type':'error','duration':0x0}),_0x25c709['id']===_0x2acd13[_0x52bd4f(0x2d0)]&&this[_0x52bd4f(0x260)][_0x52bd4f(0x253)]({'type':_0x3f6803[_0x52bd4f(0x223)],'content':this['_localeService']['t'](_0x52bd4f(0x327))+'('+_0x25c709[_0x52bd4f(0x2c6)]+')'}),_0x25c709['id']===_0x2acd13['JOIN_ROOM_FAILED']&&this['_messageService'][_0x52bd4f(0x253)]({'type':_0x3f6803[_0x52bd4f(0x1f7)],'content':this[_0x52bd4f(0x2fe)]['t'](_0x25c709[_0x52bd4f(0x2c6)]||'')}),_0x25c709['id']===_0x2acd13['SOCKET_FAILED_RETRY']&&this[_0x52bd4f(0x260)][_0x52bd4f(0x253)]({'type':_0x3f6803['Warning'],'content':this[_0x52bd4f(0x2fe)]['t'](_0x52bd4f(0x305))}),_0x25c709['id']===_0x2acd13[_0x52bd4f(0x2b9)]&&this[_0x52bd4f(0x260)][_0x52bd4f(0x253)]({'type':_0x3f6803[_0x52bd4f(0x223)],'content':this[_0x52bd4f(0x2fe)]['t'](_0x52bd4f(0x29d))}),_0x25c709['id']===_0x2acd13[_0x52bd4f(0x28d)]&&this[_0x52bd4f(0x260)][_0x52bd4f(0x253)]({'type':_0x3f6803[_0x52bd4f(0x223)],'content':this[_0x52bd4f(0x2fe)]['t'](_0x52bd4f(0x24c))});}));}};se=Ji([B(0x0,_0x2bbcaa),B(0x1,_0x213199),B(0x2,_0x190800(_0x591c09)),B(0x3,_0x2f910d),B(0x4,_0x599efd),B(0x5,_0x190800(_0xc152d))],se);const Zi=_0x10be63(0x29f),et={},Ut=_0x4f83d2(_0x10be63(0x340));var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x3e6f18,_0x5516ae,_0x190b28,_0x54da37)=>{const _0x3605a8=_0x10be63;for(var _0xa1b466=_0x54da37>0x1?void 0x0:_0x54da37?Qi(_0x5516ae,_0x190b28):_0x5516ae,_0x47f391=_0x3e6f18[_0x3605a8(0x2f6)]-0x1,_0x459d95;_0x47f391>=0x0;_0x47f391--)(_0x459d95=_0x3e6f18[_0x47f391])&&(_0xa1b466=_0x459d95(_0xa1b466)||_0xa1b466);return _0xa1b466;},G=(_0x510abd,_0x44c811)=>(_0x68811c,_0x172217)=>_0x44c811(_0x68811c,_0x172217,_0x510abd);let ie=class extends _0x1791bc{constructor(_0xe06449,_0x13eeb8,_0x391a21,_0x25f27b,_0x11d91c){const _0x281412=_0x10be63;super(),this[_0x281412(0x1a3)]=_0xe06449,this[_0x281412(0x256)]=_0x13eeb8,this[_0x281412(0x1e5)]=_0x391a21,this['_dataLoaderService']=_0x25f27b,_0x11d91c?_0x11d91c==null||_0x11d91c[_0x281412(0x2e5)]()[_0x281412(0x147)](()=>this['_init']()):(this[_0x281412(0x256)][_0x281412(0x2a8)](_0x281412(0x2df),_0x281412(0x346)),this[_0x281412(0x144)]());}async['_init'](){const _0x5052da=_0x10be63,_0x5e7d82=this[_0x5052da(0x1a3)][_0x5052da(0x333)](_0x5052da(0x1ff)),_0x1a4244=this[_0x5052da(0x1a3)][_0x5052da(0x333)](_0x5052da(0x31e)),_0x2c6f00=this[_0x5052da(0x1a3)][_0x5052da(0x333)](_0x5052da(0x320));if(!_0x5e7d82||!_0x1a4244){this['_logService'][_0x5052da(0x2a8)](_0x5052da(0x2df),_0x5052da(0x180));return;}const _0x8a2a62=await this['_dataLoaderService'][_0x5052da(0x16f)](_0x5e7d82,Number(_0x1a4244),_0x2c6f00);_0x8a2a62&&_0x8a2a62 instanceof _0x8522ea&&this['_setupSubUnitSync'](_0x8a2a62);}async[_0x10be63(0x1f8)](_0x9622e9){const _0x346ddf=_0x10be63;await this[_0x346ddf(0x176)](_0x9622e9),_0x9622e9['activeSheet$'][_0x346ddf(0x1d8)](_0x303377(this['dispose$']))['subscribe'](_0x7e2442=>{const _0xd16130=_0x346ddf;_0x7e2442&&this[_0xd16130(0x2bd)](_0x7e2442);}),this[_0x346ddf(0x1a3)][_0x346ddf(0x200)][_0x346ddf(0x1d8)](_0x303377(this['dispose$']))[_0x346ddf(0x291)](()=>this[_0x346ddf(0x176)](_0x9622e9));}[_0x10be63(0x2bd)](_0x498da4,_0x2e5d0f=!0x1){const _0x586342=_0x10be63,_0x41ad73=this[_0x586342(0x1a3)]['getParam'](_0x586342(0x320));_0x498da4[_0x586342(0x160)]()!==_0x41ad73&&this['_urlService'][_0x586342(0x342)](_0x586342(0x320),_0x498da4['getSheetId'](),_0x2e5d0f);}async[_0x10be63(0x176)](_0x1589c4){const _0x15e17b=_0x10be63;var _0x1fc8c4;const _0x1e03c5=this[_0x15e17b(0x1a3)]['getParam']('subunit');if(!_0x1e03c5||!_0x1589c4['getSheetBySheetId'](_0x1e03c5)){const _0xa06474=_0x1589c4[_0x15e17b(0x208)]()[0x0],_0x51bc1d=_0x1589c4[_0x15e17b(0x217)](_0xa06474);if(!_0x51bc1d)return;this[_0x15e17b(0x2bd)](_0x51bc1d,!0x0),await this[_0x15e17b(0x1e5)][_0x15e17b(0x2e1)](_0x4cf703['id'],{'unitId':_0x1589c4['getUnitId'](),'subUnitId':_0xa06474});return;}((_0x1fc8c4=_0x1589c4['getActiveSheet']())==null?void 0x0:_0x1fc8c4['getSheetId']())!==_0x1e03c5&&await this['_commandService'][_0x15e17b(0x2e1)](_0x4cf703['id'],{'unitId':_0x1589c4['getUnitId'](),'subUnitId':_0x1e03c5});}};ie=qi([G(0x0,Ut),G(0x1,_0xc1dab3),G(0x2,_0x571ef4),G(0x3,_0x190800(_0x5c3cb0)),G(0x4,_0x26145b(_0x2d1f50))],ie);var en=Object[_0x10be63(0x228)],tn=(_0xd9d7e2,_0x535b18,_0x1b9b2b,_0x20113c)=>{const _0x1f5243=_0x10be63;for(var _0x2235c4=_0x20113c>0x1?void 0x0:_0x20113c?en(_0x535b18,_0x1b9b2b):_0x535b18,_0x1e48c2=_0xd9d7e2[_0x1f5243(0x2f6)]-0x1,_0x53a3ed;_0x1e48c2>=0x0;_0x1e48c2--)(_0x53a3ed=_0xd9d7e2[_0x1e48c2])&&(_0x2235c4=_0x53a3ed(_0x2235c4)||_0x2235c4);return _0x2235c4;},pe=(_0xfa9e2c,_0x46cdf7)=>(_0x1f7b34,_0x45b5ba)=>_0x46cdf7(_0x1f7b34,_0x45b5ba,_0xfa9e2c);let ne=class{constructor(_0x268926,_0x3812f6,_0x48b6db){const _0x3dbda7=_0x10be63;this[_0x3dbda7(0x18a)]=_0x268926,this['_transformService']=_0x3812f6,this[_0x3dbda7(0x22d)]=_0x48b6db;}['transformIMECache'](_0x550140){const _0x1f80b5=_0x10be63;this[_0x1f80b5(0x310)](_0x550140),this['_transformPreviousActiveRange'](_0x550140);}[_0x10be63(0x27b)](_0x27580f){const _0x5685b9=_0x10be63,{unitID:_0x58c707}=_0x27580f,_0xcee17=this[_0x5685b9(0x22d)][_0x5685b9(0x1c2)](_0x58c707)[_0x5685b9(0x2f5)](_0x598601),{redoCache:_0xd48c0b}=_0xcee17[_0x5685b9(0x1e1)]();if(_0xd48c0b['length']===0x0)return _0x27580f;let _0x39e041=_0x4ec199['deepClone'](_0x27580f[_0x5685b9(0x347)][0x0]);for(let _0xf4f847=0x0;_0xf4f847<_0xd48c0b[_0x5685b9(0x2f6)];_0xf4f847++){const _0x4e890d={'id':_0x5685b9(0x285),'params':{..._0xd48c0b[_0xf4f847]}},_0x28cabc=this['_transformService'][_0x5685b9(0x169)](_0x39e041,_0x4e890d,!0x1);if(_0x198f8c(_0x28cabc))throw _0x28cabc[_0x5685b9(0x2b0)];_0x39e041=_0x28cabc[_0x5685b9(0x1de)];}return{..._0x4ec199[_0x5685b9(0x247)](_0x27580f),'mutations':[_0x39e041]};}[_0x10be63(0x310)](_0x330059){const _0x27182e=_0x10be63,{unitID:_0x16288a}=_0x330059,_0x53073e=this[_0x27182e(0x22d)][_0x27182e(0x1c2)](_0x16288a)[_0x27182e(0x2f5)](_0x598601),{undoCache:_0x11d3a9,redoCache:_0xde073a}=_0x53073e[_0x27182e(0x1e1)]();if(_0x11d3a9['length']===0x0||_0xde073a[_0x27182e(0x2f6)]===0x0)return;const _0x507324=[],_0x3fb8e2=[];let _0x5d9176=_0x4ec199[_0x27182e(0x247)](_0x330059[_0x27182e(0x347)][0x0]),_0x5162f4=_0x4ec199[_0x27182e(0x247)](_0x330059['mutations'][0x0]);for(let _0x254396=_0x11d3a9[_0x27182e(0x2f6)]-0x1;_0x254396>=0x0;_0x254396--){const _0x22fdcc={'id':'doc.mutation.rich-text-editing','params':{..._0x11d3a9[_0x254396]}},_0xe37b96={'id':_0x27182e(0x285),'params':{..._0xde073a[_0x254396]}},_0x412f3f=this[_0x27182e(0x330)]['transformMutation'](_0x5d9176,_0x22fdcc,!0x1),_0x19eacf=this['_transformService'][_0x27182e(0x169)](_0x5162f4,_0xe37b96,!0x1);if(_0x198f8c(_0x412f3f))throw _0x412f3f[_0x27182e(0x2b0)];if(_0x198f8c(_0x19eacf))throw _0x19eacf['error'];_0x507324[_0x27182e(0x2c7)](_0x412f3f['m2Prime']['params']),_0x3fb8e2[_0x27182e(0x2c7)](_0x19eacf[_0x27182e(0x25d)][_0x27182e(0x162)]),_0x5d9176=_0x412f3f[_0x27182e(0x1de)],_0x5162f4=_0x19eacf[_0x27182e(0x1de)];}_0x53073e['setUndoRedoMutationParamsCache']({'undoCache':_0x507324,'redoCache':_0x3fb8e2});}[_0x10be63(0x163)](_0x40284f){const _0x2985da=_0x10be63,{unitID:_0xf2413b}=_0x40284f,_0x5b5f21=this['_renderManagerService'][_0x2985da(0x1c2)](_0xf2413b)['with'](_0x598601),_0x55428e=_0x5b5f21[_0x2985da(0x2d1)]();if(_0x55428e==null)return;const _0x1c9aec=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x40284f[_0x2985da(0x1c4)],'actions':null,'textRanges':[_0x55428e]}}],_0x771e50=this[_0x2985da(0x330)][_0x2985da(0x19f)](_0x40284f,_0x1c9aec);if(!_0x78182e(_0x771e50))throw _0x771e50[_0x2985da(0x2b0)];const _0xe8aa4b=_0x771e50[_0x2985da(0x25d)][0x0][_0x2985da(0x162)]['textRanges'];Array[_0x2985da(0x1a6)](_0xe8aa4b)&&_0xe8aa4b['length']&&_0x5b5f21['setActiveRange'](_0xe8aa4b[0x0]);}};ne=tn([pe(0x0,_0x190800(_0x1963a9)),pe(0x1,_0x5ced51),pe(0x2,_0x2e50c4)],ne);var sn=Object[_0x10be63(0x228)],nn=(_0x42237e,_0x4e03a3,_0x3d5eff,_0x590965)=>{const _0x515a41=_0x10be63;for(var _0x41be7a=_0x590965>0x1?void 0x0:_0x590965?sn(_0x4e03a3,_0x3d5eff):_0x4e03a3,_0x217506=_0x42237e[_0x515a41(0x2f6)]-0x1,_0x3b7603;_0x217506>=0x0;_0x217506--)(_0x3b7603=_0x42237e[_0x217506])&&(_0x41be7a=_0x3b7603(_0x41be7a)||_0x41be7a);return _0x41be7a;},Ce=(_0x13f049,_0x5cc65c)=>(_0x59fc2c,_0x134090)=>_0x5cc65c(_0x59fc2c,_0x134090,_0x13f049);let re=class{constructor(_0x52e542,_0x259f2a,_0xdca027){const _0x1ef53b=_0x10be63;this['_injector']=_0x52e542,this[_0x1ef53b(0x330)]=_0x259f2a,this[_0x1ef53b(0x1a2)]=_0xdca027;}[_0x10be63(0x173)](_0x950b14){this['_transformHistoryAndStateStack'](_0x950b14);}[_0x10be63(0x27b)](_0x21bf23){const _0x22297a=_0x10be63,{unitID:_0x4627f2}=_0x21bf23,{collaboration:_0x42719b}=this[_0x22297a(0x1a2)][_0x22297a(0x235)](_0x4627f2);if(_0x42719b[_0x22297a(0x2f6)]===0x0)return _0x21bf23;let _0x5337cf=_0x4ec199['deepClone'](_0x21bf23[_0x22297a(0x347)][0x0]);for(let _0x14788f=0x0;_0x14788f<_0x42719b[_0x22297a(0x2f6)];_0x14788f++){const _0x144479={'id':_0x22297a(0x285),'params':{'unitId':_0x42719b[_0x14788f][_0x22297a(0x17b)],..._0x42719b[_0x14788f][_0x22297a(0x2e4)]}},_0x376d16=this[_0x22297a(0x330)][_0x22297a(0x169)](_0x5337cf,_0x144479,!0x1);if(_0x198f8c(_0x376d16))throw _0x376d16['error'];_0x5337cf=_0x376d16[_0x22297a(0x1de)];}return{..._0x4ec199['deepClone'](_0x21bf23),'mutations':[_0x5337cf]};}[_0x10be63(0x2ce)](_0x41a76f){const _0x545089=_0x10be63,{unitID:_0x35c974}=_0x41a76f,{history:_0x5bb6fc,collaboration:_0x1d12f1}=this['_docStateChangeManagerService']['getStateCache'](_0x35c974);if(_0x5bb6fc[_0x545089(0x2f6)]===0x0&&_0x1d12f1[_0x545089(0x2f6)]===0x0)return;const _0x57354a=[],_0x2d63c5=[];let _0x533a8d=_0x4ec199['deepClone'](_0x41a76f[_0x545089(0x347)][0x0]),_0xbe7946=_0x4ec199[_0x545089(0x247)](_0x41a76f[_0x545089(0x347)][0x0]);for(let _0x52bf11=_0x5bb6fc[_0x545089(0x2f6)]-0x1;_0x52bf11>=0x0;_0x52bf11--){const _0x195d77={'id':_0x545089(0x285),'params':{'unitId':_0x5bb6fc[_0x52bf11][_0x545089(0x17b)],..._0x5bb6fc[_0x52bf11]['undoState']}},_0x393f5e={'id':_0x545089(0x285),'params':{'unitId':_0x5bb6fc[_0x52bf11][_0x545089(0x17b)],..._0x5bb6fc[_0x52bf11][_0x545089(0x2e4)]}},_0x25b859=this[_0x545089(0x330)][_0x545089(0x169)](_0x533a8d,_0x195d77,!0x1),_0x4cfbc2=this[_0x545089(0x330)][_0x545089(0x169)](_0xbe7946,_0x393f5e,!0x1);if(_0x198f8c(_0x25b859))throw _0x25b859[_0x545089(0x2b0)];if(_0x198f8c(_0x4cfbc2))throw _0x4cfbc2[_0x545089(0x2b0)];_0x57354a[_0x545089(0x2c7)]({..._0x5bb6fc[_0x52bf11],'undoState':_0x25b859['m2Prime'][_0x545089(0x162)],'redoState':_0x4cfbc2[_0x545089(0x25d)][_0x545089(0x162)]}),_0x533a8d=_0x25b859[_0x545089(0x1de)],_0xbe7946=_0x4cfbc2[_0x545089(0x1de)];}_0x533a8d=_0x4ec199[_0x545089(0x247)](_0x41a76f[_0x545089(0x347)][0x0]),_0xbe7946=_0x4ec199[_0x545089(0x247)](_0x41a76f[_0x545089(0x347)][0x0]);for(let _0x329e5c=_0x1d12f1[_0x545089(0x2f6)]-0x1;_0x329e5c>=0x0;_0x329e5c--){const _0x6faaa1={'id':_0x545089(0x285),'params':{'unitId':_0x1d12f1[_0x329e5c][_0x545089(0x17b)],..._0x1d12f1[_0x329e5c][_0x545089(0x243)]}},_0x4d53af={'id':_0x545089(0x285),'params':{'unitId':_0x1d12f1[_0x329e5c]['unitId'],..._0x1d12f1[_0x329e5c][_0x545089(0x2e4)]}},_0x2d9600=this['_transformService'][_0x545089(0x169)](_0x533a8d,_0x6faaa1,!0x1),_0x52bfc9=this[_0x545089(0x330)][_0x545089(0x169)](_0xbe7946,_0x4d53af,!0x1);if(_0x198f8c(_0x2d9600))throw _0x2d9600[_0x545089(0x2b0)];if(_0x198f8c(_0x52bfc9))throw _0x52bfc9['error'];_0x2d63c5[_0x545089(0x2c7)]({..._0x1d12f1[_0x329e5c],'undoState':_0x2d9600[_0x545089(0x25d)][_0x545089(0x162)],'redoState':_0x52bfc9[_0x545089(0x25d)][_0x545089(0x162)]}),_0x533a8d=_0x2d9600['m1Prime'],_0xbe7946=_0x52bfc9[_0x545089(0x1de)];}this[_0x545089(0x1a2)][_0x545089(0x2c1)](_0x35c974,{'history':_0x57354a,'collaboration':_0x2d63c5});}};re=nn([Ce(0x0,_0x190800(_0x1963a9)),Ce(0x1,_0x5ced51),Ce(0x2,_0x190800(_0x897617))],re);var rn=Object['getOwnPropertyDescriptor'],on=(_0x53b5f8,_0x13cafc,_0x4bb280,_0x193419)=>{const _0x429de6=_0x10be63;for(var _0x21eaf4=_0x193419>0x1?void 0x0:_0x193419?rn(_0x13cafc,_0x4bb280):_0x13cafc,_0x61dab4=_0x53b5f8[_0x429de6(0x2f6)]-0x1,_0x3f1396;_0x61dab4>=0x0;_0x61dab4--)(_0x3f1396=_0x53b5f8[_0x61dab4])&&(_0x21eaf4=_0x3f1396(_0x21eaf4)||_0x21eaf4);return _0x21eaf4;},tt=(_0x129713,_0x14efb6)=>(_0x3edcc1,_0x1483be)=>_0x14efb6(_0x3edcc1,_0x1483be,_0x129713);let oe=class{constructor(_0x267886,_0x5c8842){const _0x53300e=_0x10be63;this[_0x53300e(0x18a)]=_0x267886,this['_transformService']=_0x5c8842;}[_0x10be63(0x262)](_0x552fd1){const _0x24b3a4=_0x10be63;var _0x3600b7;const _0x53c7db=this[_0x24b3a4(0x18a)][_0x24b3a4(0x2c3)](_0x52ae6e),_0x30c10c=(_0x3600b7=_0x53c7db['getDocRanges']())!=null?_0x3600b7:[];if(_0x30c10c[_0x24b3a4(0x2f6)]===0x0)return;const _0xd08b39=_0x552fd1[_0x24b3a4(0x1c4)],_0x1a391d=[{'id':_0x24b3a4(0x285),'params':{'unitId':_0xd08b39,'actions':null,'textRanges':_0x30c10c}}],_0x5b0a99=this['_transformService']['transformMutationsWithChangeset'](_0x552fd1,_0x1a391d);if(!_0x78182e(_0x5b0a99))throw _0x5b0a99[_0x24b3a4(0x2b0)];const _0x151bdc=_0x5b0a99[_0x24b3a4(0x25d)][0x0][_0x24b3a4(0x162)][_0x24b3a4(0x2d5)];Array[_0x24b3a4(0x1a6)](_0x151bdc)&&_0x151bdc[_0x24b3a4(0x2f6)]&&_0x53c7db[_0x24b3a4(0x34c)](_0x151bdc,{'unitId':_0xd08b39,'subUnitId':_0xd08b39},!0x1);}};oe=on([tt(0x0,_0x190800(_0x1963a9)),tt(0x1,_0x5ced51)],oe);var an=Object[_0x10be63(0x228)],cn=(_0x135139,_0x3335a7,_0xad5379,_0x59b7f0)=>{const _0x316986=_0x10be63;for(var _0xa7ade0=_0x59b7f0>0x1?void 0x0:_0x59b7f0?an(_0x3335a7,_0xad5379):_0x3335a7,_0x2acc00=_0x135139[_0x316986(0x2f6)]-0x1,_0x29ac32;_0x2acc00>=0x0;_0x2acc00--)(_0x29ac32=_0x135139[_0x2acc00])&&(_0xa7ade0=_0x29ac32(_0xa7ade0)||_0xa7ade0);return _0xa7ade0;},U=(_0x443f50,_0xa59c7e)=>(_0x20b7cc,_0x4738c5)=>_0xa59c7e(_0x20b7cc,_0x4738c5,_0x443f50);let ae=class extends _0x38053b{constructor(_0x995cc,_0x250b5d,_0x523972,_0x1e03f9,_0x1ba018,_0x36113a,_0x4da069,_0x7aa3e5){const _0x5abe23=_0x10be63;super(),_(this,_0x5abe23(0x175),new _0x226cf0(_0x57e69d[_0x5abe23(0x2be)])),(this[_0x5abe23(0x1a2)]=_0x995cc,this['_collaborationController']=_0x250b5d,this[_0x5abe23(0x245)]=_0x523972,this['_docTransformStateCacheService']=_0x1e03f9,this[_0x5abe23(0x22f)]=_0x1ba018,this[_0x5abe23(0x34e)]=_0x36113a,this['_messageService']=_0x4da069,this[_0x5abe23(0x2fe)]=_0x7aa3e5,this[_0x5abe23(0x204)]());}[_0x10be63(0x204)](){const _0xcf1f93=_0x10be63;this[_0xcf1f93(0x2fc)](this[_0xcf1f93(0x231)][_0xcf1f93(0x24f)][_0xcf1f93(0x291)](_0x1939d8=>{const _0x2e52cc=_0xcf1f93,_0x3c81bb=this[_0x2e52cc(0x1a2)][_0x2e52cc(0x241)][_0x2e52cc(0x291)](_0x5355e0=>{const _0x24fcce=_0x2e52cc;if(_0x5355e0==null)return;const {unitId:_0x41e773,redoState:_0x193f9c,commandId:_0x36ec75}=_0x5355e0;if(_0x41e773!==_0x1939d8[_0x24fcce(0x1c4)])return;const _0x221f89={'id':_0x36ec75,'type':_0x1769c9['MUTATION'],'params':{'unitId':_0x41e773,'actions':_0x193f9c[_0x24fcce(0x28a)],'textRanges':null}};_0x1939d8[_0x24fcce(0x300)](_0x221f89);});if(_0x1939d8[_0x2e52cc(0x2fc)](_0x3c81bb),_0x1939d8 instanceof _0x1cefa5){const _0x5c41bf={'onTransformIME':_0x48b34d=>this[_0x2e52cc(0x245)][_0x2e52cc(0x28b)](_0x48b34d),'onTransformState':_0x17a363=>this[_0x2e52cc(0x172)][_0x2e52cc(0x173)](_0x17a363),'onTransformSelections':_0x25a855=>this[_0x2e52cc(0x22f)]['transformSelections'](_0x25a855),'onSyncEditingCollabCursor':_0x27b7da=>this[_0x2e52cc(0x34e)][_0x2e52cc(0x2ee)](_0x27b7da),'onTransformRemoteChangesetByIMECache':_0x24466f=>this[_0x2e52cc(0x245)][_0x2e52cc(0x27b)](_0x24466f),'onTransformRemoteChangesetByStateCache':_0x409e7e=>this['_docTransformStateCacheService'][_0x2e52cc(0x27b)](_0x409e7e)};_0x1939d8[_0x2e52cc(0x1c8)](_0x5c41bf);}}));}};ae=cn([U(0x0,_0x190800(_0x897617)),U(0x1,_0x190800(_0x298d6a)),U(0x2,_0x190800(ne)),U(0x3,_0x190800(re)),U(0x4,_0x190800(oe)),U(0x5,_0x190800(He)),U(0x6,_0x2f910d),U(0x7,_0x190800(_0xc152d))],ae);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x301125,_0x3b22f6,_0x20ffdc,_0x49c80d)=>{const _0x2d8c83=_0x10be63;for(var _0x159e4c=_0x49c80d>0x1?void 0x0:_0x49c80d?ln(_0x3b22f6,_0x20ffdc):_0x3b22f6,_0x36e61e=_0x301125[_0x2d8c83(0x2f6)]-0x1,_0x9dc87b;_0x36e61e>=0x0;_0x36e61e--)(_0x9dc87b=_0x301125[_0x36e61e])&&(_0x159e4c=_0x9dc87b(_0x159e4c)||_0x159e4c);return _0x159e4c;},Ee=(_0x42b4eb,_0x2cee64)=>(_0x547d0e,_0x5ea7f0)=>_0x2cee64(_0x547d0e,_0x5ea7f0,_0x42b4eb);let we=class extends _0x38053b{constructor(_0x557825,_0x459710,_0x2416e7){const _0x1ead9d=_0x10be63;super(),_(this,'_cachedData',new Map()),_(this,_0x1ead9d(0x1f2),new Map()),_(this,_0x1ead9d(0x239),!0x1),(this['_configService']=_0x557825,this['_localStorageService']=_0x459710,this[_0x1ead9d(0x222)]=_0x2416e7);}['disableLocalCache'](){const _0x1fb2dc=_0x10be63;this[_0x1fb2dc(0x239)]=!0x0;}['enableLocalCache'](){const _0x3dda43=_0x10be63;this[_0x3dda43(0x239)]=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}['dispose'](){const _0x2a3218=_0x10be63;this['exhaustSavingTask']()[_0x2a3218(0x147)](()=>super[_0x2a3218(0x279)]());}async[_0x10be63(0x142)](_0xb2d926){const _0x3a2fb6=_0x10be63;return this[_0x3a2fb6(0x239)]?null:this[_0x3a2fb6(0x1a0)][_0x3a2fb6(0x226)](_0x29b25b(_0xb2d926));}async[_0x10be63(0x1df)](_0x182fe0,_0x21a0e3){const _0x23c280=_0x10be63;return!!this[_0x23c280(0x1a0)][_0x23c280(0x27c)](_0x182fe0,_0x21a0e3);}[_0x10be63(0x274)](_0x5bef6a,_0x546315,_0x5f13c9,_0x52d67f){const _0x2a83ba=_0x10be63,_0x4a9b7f=this['_revisionService']['getCurrentRevOfUnit'](_0x5bef6a);this[_0x2a83ba(0x216)][_0x2a83ba(0x21f)](_0x5bef6a,{'unitID':_0x5bef6a,'type':_0x546315,'awaitingChangeset':_0x5f13c9,'mutations':_0x52d67f,'rev':_0x4a9b7f}),this[_0x2a83ba(0x1f2)][_0x2a83ba(0x2b2)](_0x5bef6a)||this[_0x2a83ba(0x2ed)](_0x5bef6a);}[_0x10be63(0x2ed)](_0x39f787){const _0x1162cf=_0x10be63,_0x58bc17=this[_0x1162cf(0x326)]();_0x58bc17===0x0?this['_saveCache'](_0x39f787):this[_0x1162cf(0x1f2)][_0x1162cf(0x21f)](_0x39f787,setTimeout(()=>this[_0x1162cf(0x270)](_0x39f787),_0x58bc17));}[_0x10be63(0x326)](){const _0x3da279=_0x10be63;var _0x5e100e;return(_0x5e100e=this[_0x3da279(0x1d3)][_0x3da279(0x2d6)](_0x352be6))!=null?_0x5e100e:_0x52e9b3;}[_0x10be63(0x270)](_0x119a6a){const _0x156cba=_0x10be63,_0x181d55=this[_0x156cba(0x1f2)][_0x156cba(0x2c3)](_0x119a6a);return _0x181d55!==void 0x0&&window[_0x156cba(0x2c5)](_0x181d55),this[_0x156cba(0x1a0)][_0x156cba(0x27c)](_0x29b25b(_0x119a6a),this[_0x156cba(0x216)][_0x156cba(0x2c3)](_0x119a6a))[_0x156cba(0x147)](()=>this[_0x156cba(0x1f2)][_0x156cba(0x315)](_0x119a6a));}async[_0x10be63(0x309)](){const _0x1c3ae1=_0x10be63,_0x4eea20=[];this[_0x1c3ae1(0x1f2)]['forEach']((_0x4f05fd,_0x37b877)=>{const _0x4a00e1=_0x1c3ae1;window[_0x4a00e1(0x2c5)](_0x4f05fd),_0x4eea20[_0x4a00e1(0x1cb)](this[_0x4a00e1(0x270)](_0x37b877)[_0x4a00e1(0x147)](()=>{const _0x49c3cc=_0x4a00e1;this[_0x49c3cc(0x1f2)][_0x49c3cc(0x315)](_0x37b877);}));}),await Promise[_0x1c3ae1(0x338)](_0x4eea20);}};we=_n([Ee(0x0,_0xdf5196),Ee(0x1,_0x14ecb9),Ee(0x2,_0x190800(_0x50e00f))],we);class hn extends _0x1791bc{constructor(){const _0x2a8479=_0x10be63;super(),_(this,_0x2a8479(0x200)),this['urlChange$']=_0x4598ac(window,_0x2a8479(0x30a))[_0x2a8479(0x1d8)](_0x303377(this[_0x2a8479(0x150)]),_0x5ef743(0x1),_0x18be32(void 0x0));}[_0x10be63(0x342)](_0x4d2bba,_0x572ae3,_0x5a7c4f=!0x1){const _0x3124c9=_0x10be63,_0x13eb6e=new URL(window[_0x3124c9(0x1e2)][_0x3124c9(0x2bf)]);_0x13eb6e[_0x3124c9(0x2e9)]['set'](_0x4d2bba,_0x572ae3),_0x5a7c4f?window[_0x3124c9(0x2a0)][_0x3124c9(0x229)]('','',_0x13eb6e[_0x3124c9(0x184)]()):window[_0x3124c9(0x2a0)]['pushState']('','',_0x13eb6e['toString']());}[_0x10be63(0x214)](_0x3feaf9,_0x140099=!0x1){const _0x60685=_0x10be63,_0x5b6472=new URL(window[_0x60685(0x1e2)][_0x60685(0x2bf)]);_0x5b6472[_0x60685(0x2e9)][_0x60685(0x315)](_0x3feaf9),_0x140099?window[_0x60685(0x2a0)]['replaceState']('','',_0x5b6472[_0x60685(0x184)]()):window[_0x60685(0x2a0)][_0x60685(0x273)]('','',_0x5b6472[_0x60685(0x184)]());}[_0x10be63(0x333)](_0xf0389b){const _0x3a63af=_0x10be63;var _0x4a3f32;return(_0x4a3f32=new URL(window[_0x3a63af(0x1e2)][_0x3a63af(0x2bf)])[_0x3a63af(0x2e9)]['get'](_0xf0389b))!=null?_0x4a3f32:void 0x0;}}var un=Object['defineProperty'],dn=Object[_0x10be63(0x228)],fn=(_0x1c442a,_0x34592a,_0xe26c01)=>_0x34592a in _0x1c442a?un(_0x1c442a,_0x34592a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xe26c01}):_0x1c442a[_0x34592a]=_0xe26c01,Sn=(_0x2bbdd3,_0x3ad755,_0x3a2010,_0x55df06)=>{const _0x52d2e9=_0x10be63;for(var _0x234cfb=_0x55df06>0x1?void 0x0:_0x55df06?dn(_0x3ad755,_0x3a2010):_0x3ad755,_0x461ec5=_0x2bbdd3[_0x52d2e9(0x2f6)]-0x1,_0x49faf1;_0x461ec5>=0x0;_0x461ec5--)(_0x49faf1=_0x2bbdd3[_0x461ec5])&&(_0x234cfb=_0x49faf1(_0x234cfb)||_0x234cfb);return _0x234cfb;},Oe=(_0x2514ee,_0x28ad7c)=>(_0x2be9f5,_0x1ca620)=>_0x28ad7c(_0x2be9f5,_0x1ca620,_0x2514ee),mn=(_0x5a032a,_0x3d5110,_0x48ee0d)=>fn(_0x5a032a,_0x3d5110+'',_0x48ee0d);const In=_0x10be63(0x15f);let Ae=class extends _0x12c489{constructor(_0x25620a=et,_0x2c1254,_0xf29037,_0x98d2d0){const _0x2ab38b=_0x10be63;super(),this[_0x2ab38b(0x1ce)]=_0x25620a,this[_0x2ab38b(0x22d)]=_0x2c1254,this[_0x2ab38b(0x18a)]=_0xf29037,this[_0x2ab38b(0x1d3)]=_0x98d2d0;const {..._0x131728}=_0xbd5a6e({},et,this[_0x2ab38b(0x1ce)]);this[_0x2ab38b(0x1d3)][_0x2ab38b(0x19e)](Zi,_0x131728);}[_0x10be63(0x1db)](){const _0x132ef6=_0x10be63;this['_registerDependencies'](),this[_0x132ef6(0x2ba)]();}[_0x10be63(0x27f)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x263ce8=_0x10be63;var _0x490396;const _0xde974c=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x641233,{'useClass':_0x5bccf9}],[_0x213199,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x4992cc(this['_injector'],_0x55fadb(_0xde974c,(_0x490396=this[_0x263ce8(0x1ce)])==null?void 0x0:_0x490396[_0x263ce8(0x271)]));}[_0x10be63(0x295)](){const _0x178b95=_0x10be63;this[_0x178b95(0x2fc)](this[_0x178b95(0x22d)][_0x178b95(0x246)](_0x52505e[_0x178b95(0x18e)],[Le])),this['disposeWithMe'](this[_0x178b95(0x22d)][_0x178b95(0x246)](_0x52505e[_0x178b95(0x277)],[Pe]));}[_0x10be63(0x2ba)](){const _0x428d7c=_0x10be63;_0x271b92(this[_0x428d7c(0x18a)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,'pluginName',In),Ae=Sn([_0x2ce191(_0x2d4b1e),Oe(0x1,_0x2e50c4),Oe(0x2,_0x190800(_0x1963a9)),Oe(0x3,_0xdf5196)],Ae);var gn=Object[_0x10be63(0x228)],vn=(_0x2a736b,_0x3920fc,_0x2c6b19,_0xd44941)=>{const _0x7a62d=_0x10be63;for(var _0x3f2233=_0xd44941>0x1?void 0x0:_0xd44941?gn(_0x3920fc,_0x2c6b19):_0x3920fc,_0x1de6ac=_0x2a736b[_0x7a62d(0x2f6)]-0x1,_0xfd02d3;_0x1de6ac>=0x0;_0x1de6ac--)(_0xfd02d3=_0x2a736b[_0x1de6ac])&&(_0x3f2233=_0xfd02d3(_0x3f2233)||_0x3f2233);return _0x3f2233;},K=(_0x5d7fa4,_0x43bf8e)=>(_0xecc4aa,_0xc861bd)=>_0x43bf8e(_0xecc4aa,_0xc861bd,_0x5d7fa4);let st=class extends _0x34862c{constructor(_0x5859f6,_0x53e39d,_0x400ef7,_0x137b35,_0x23cde6){super(_0x5859f6,_0x53e39d,_0x400ef7,_0x137b35,_0x23cde6);}async[_0x10be63(0x2a3)](_0x33f983){const _0x3492fc=_0x10be63,_0x46c75c=await this['_getSessionTicket'](),_0xbebd66=this[_0x3492fc(0x33b)](_0x33f983,_0x46c75c);return this['_doCreateSocket'](_0xbebd66);}[_0x10be63(0x33b)](_0x5ef87d,_0x195298){const _0x4d2cba=_0x10be63,_0x28d082=typeof window>'u'?new URL(_0x5ef87d):new URL(_0x5ef87d,window[_0x4d2cba(0x1e2)][_0x4d2cba(0x1b0)]);_0x28d082[_0x4d2cba(0x2e9)][_0x4d2cba(0x21f)](_0x4d2cba(0x224),_0x195298);const _0x1bbf76=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4d2cba(0x1e2)][_0x4d2cba(0x2a2)]);return _0x1bbf76[_0x4d2cba(0x2c3)](_0x4d2cba(0x2e8))&&_0x28d082['searchParams']['set'](_0x4d2cba(0x2e8),_0x1bbf76['get']('runId')),_0x28d082[_0x4d2cba(0x184)]();}async[_0x10be63(0x2e2)](){const _0x121ff5=_0x10be63;var _0x3a2c5c,_0x3d50b7,_0x2fd4ab;const _0x3b96bc=this['_configService'][_0x121ff5(0x2d6)](_0x3912d2),_0x3420d9=(_0x3a2c5c=_0x3b96bc==null?void 0x0:_0x3b96bc[_0x121ff5(0x30c)])!=null?_0x3a2c5c:_0x554f89;return(_0x2fd4ab=(_0x3d50b7=(await this[_0x121ff5(0x202)][_0x121ff5(0x2c3)](_0x3420d9,{'headers':{'Content-Type':'application/json'}}))[_0x121ff5(0x1c0)])==null?void 0x0:_0x3d50b7[_0x121ff5(0x1a7)])!=null?_0x2fd4ab:'';}};st=vn([K(0x0,_0x190800(_0x1963a9)),K(0x1,_0x190800(_0xedb30f)),K(0x2,_0xdf5196),K(0x3,_0xc1dab3),K(0x4,_0x551f12)],st);const it=0x7530,nt=_0x10be63(0x269);class Fn extends _0x38053b{constructor(){const _0x572a81=_0x10be63;super(),_(this,_0x572a81(0x2ec),_0x3a7538()),_(this,'_selfUnitIDs',new Set()),_(this,_0x572a81(0x2f3),new Map()),_(this,_0x572a81(0x2c9),null),_(this,_0x572a81(0x158),new Map()),_(this,_0x572a81(0x1f3),new Map()),this['_init']();}[_0x10be63(0x279)](){const _0x191758=_0x10be63;super[_0x191758(0x279)](),this[_0x191758(0x158)][_0x191758(0x225)]((_0x3c42f5,_0x3dcbf1)=>this[_0x191758(0x199)](_0x3dcbf1)),this['_heartbeatTimer']&&window[_0x191758(0x1c7)](this[_0x191758(0x2c9)]);}[_0x10be63(0x242)](_0x32d157){const _0x54062b=_0x10be63;return this[_0x54062b(0x29b)](_0x32d157)[_0x54062b(0x1d8)](_0x5f11ca());}[_0x10be63(0x1cc)](_0x255d91){const _0x35d43e=_0x10be63;this[_0x35d43e(0x1f4)]['size']===0x0&&this[_0x35d43e(0x249)](),this[_0x35d43e(0x1f4)][_0x35d43e(0x348)](_0x255d91),this['_send']({'type':0x0,'memberID':this[_0x35d43e(0x2ec)],'unitIDs':[_0x255d91],'isForwarded':!0x1});}[_0x10be63(0x1dc)](_0x270df4){const _0x764631=_0x10be63;this[_0x764631(0x1f4)][_0x764631(0x315)](_0x270df4),this[_0x764631(0x1f4)][_0x764631(0x303)]===0x0&&this[_0x764631(0x2c9)]&&window[_0x764631(0x1c7)](this['_heartbeatTimer']);}[_0x10be63(0x144)](){const _0x2799f3=_0x10be63;this[_0x2799f3(0x2fc)](_0x5d3d6f(_0x4598ac(window,'storage')['subscribe'](_0x341edd=>{const _0x1ab5c3=_0x2799f3;if(_0x341edd[_0x1ab5c3(0x2ea)]!==nt||!_0x341edd['newValue'])return;const _0x55372e=JSON[_0x1ab5c3(0x1d9)](_0x341edd['newValue']);this[_0x1ab5c3(0x2e7)](_0x55372e);}))),window['addEventListener'](_0x2799f3(0x2cf),()=>this[_0x2799f3(0x31d)]({'type':0x1,'memberID':this[_0x2799f3(0x2ec)],'unitIDs':Array[_0x2799f3(0x22b)](this[_0x2799f3(0x1f4)])}));}[_0x10be63(0x2e7)](_0x13238d){const _0x3994f7=_0x10be63;switch(_0x13238d[_0x3994f7(0x31e)]){case 0x0:this[_0x3994f7(0x34a)](_0x13238d);break;case 0x1:this['_handleLeaveEvent'](_0x13238d);break;case 0x2:this[_0x3994f7(0x15c)](_0x13238d);break;}}['_handleJoinEvent'](_0x572160){const _0x1606cd=_0x10be63,{unitIDs:_0x57f81c,memberID:_0x5064d6,isForwarded:_0x5913b7}=_0x572160;_0x57f81c[_0x1606cd(0x225)](_0x48a705=>{const _0x26e485=_0x1606cd;if(!_0x5913b7&&this[_0x26e485(0x2f3)][_0x26e485(0x2b2)](_0x48a705)&&this[_0x26e485(0x29b)](_0x48a705)[_0x26e485(0x2d3)](_0x13f41b['OTHER_CLIENTS_EDITING']),!this[_0x26e485(0x2f3)][_0x26e485(0x2b2)](_0x48a705)||!this[_0x26e485(0x2f3)]['get'](_0x48a705)[_0x26e485(0x2b2)](_0x5064d6)){const _0x45b9fe=this[_0x26e485(0x2f3)]['get'](_0x48a705)||new Set();_0x45b9fe[_0x26e485(0x348)](_0x5064d6),this['_unitOnClients'][_0x26e485(0x21f)](_0x48a705,_0x45b9fe),this[_0x26e485(0x148)](_0x5064d6);}}),_0x5913b7||this['_send']({'type':0x0,'memberID':this[_0x1606cd(0x2ec)],'unitIDs':[...this[_0x1606cd(0x1f4)]],'isForwarded':!0x0});}[_0x10be63(0x148)](_0x1ce522){const _0x4d77b8=_0x10be63;this[_0x4d77b8(0x199)](_0x1ce522);const _0x4ad6b0=window[_0x4d77b8(0x1f1)](()=>{const _0x28beb6=_0x4d77b8;this[_0x28beb6(0x2f3)]['forEach'](_0x327e61=>{const _0x49ad7d=_0x28beb6;_0x327e61[_0x49ad7d(0x315)](_0x1ce522);});},it*0x2);this[_0x4d77b8(0x158)][_0x4d77b8(0x21f)](_0x1ce522,_0x4ad6b0);}['_removeClearOtherTimer'](_0xbdc2a4){const _0x598ca6=_0x10be63;if(this[_0x598ca6(0x158)]['has'](_0xbdc2a4)){const _0x56920c=this[_0x598ca6(0x158)][_0x598ca6(0x2c3)](_0xbdc2a4);_0x56920c&&window['clearTimeout'](_0x56920c),this[_0x598ca6(0x158)][_0x598ca6(0x21f)](_0xbdc2a4,null);}}[_0x10be63(0x24e)](_0x182243){const _0x58ab35=_0x10be63,{memberID:_0x1c5a33,unitIDs:_0x26a9ed}=_0x182243;_0x26a9ed[_0x58ab35(0x225)](_0x29d83b=>{const _0xc0a0f8=_0x58ab35;var _0x44e7b7;const _0x25ea41=this[_0xc0a0f8(0x2f3)][_0xc0a0f8(0x2c3)](_0x29d83b);_0x25ea41&&(_0x25ea41[_0xc0a0f8(0x315)](_0x1c5a33),(_0x44e7b7=this[_0xc0a0f8(0x29b)](_0x29d83b))==null||_0x44e7b7[_0xc0a0f8(0x2d3)](_0x25ea41[_0xc0a0f8(0x303)]===0x0?_0x13f41b['NO_OTHER_CLIENTS_EDITING']:_0x13f41b[_0xc0a0f8(0x276)]));}),this[_0x58ab35(0x199)](_0x1c5a33);}['_handleHeartbeatEvent'](_0x5c54c0){const _0x2eb4f6=_0x10be63;this['_scheduleClearOtherTimer'](_0x5c54c0[_0x2eb4f6(0x20a)]);}[_0x10be63(0x31d)](_0x49ef9e){const _0x46761c=_0x10be63;localStorage[_0x46761c(0x27c)](nt,JSON['stringify'](_0x49ef9e));}[_0x10be63(0x249)](){const _0x131104=_0x10be63;this[_0x131104(0x2c9)]=window[_0x131104(0x1d0)](()=>{const _0x162d7c=_0x131104;this[_0x162d7c(0x31d)]({'type':0x2,'memberID':this[_0x162d7c(0x2ec)]});},it);}[_0x10be63(0x29b)](_0x377ae7){const _0x3bfbc0=_0x10be63;return this[_0x3bfbc0(0x1f3)]['has'](_0x377ae7)||this[_0x3bfbc0(0x1f3)][_0x3bfbc0(0x21f)](_0x377ae7,new _0x226cf0(_0x13f41b[_0x3bfbc0(0x2fd)])),this[_0x3bfbc0(0x1f3)][_0x3bfbc0(0x2c3)](_0x377ae7);}}var Mt=(_0x5caa0f=>(_0x5caa0f[_0x5caa0f[_0x10be63(0x2ae)]=0x0]=_0x10be63(0x2ae),_0x5caa0f[_0x5caa0f['OK']=0x1]='OK',_0x5caa0f[_0x5caa0f[_0x10be63(0x307)]=0x2]=_0x10be63(0x307),_0x5caa0f[_0x5caa0f['PERMISSION_DENIED']=0x3]=_0x10be63(0x152),_0x5caa0f[_0x5caa0f[_0x10be63(0x22a)]=0x4]=_0x10be63(0x22a),_0x5caa0f[_0x5caa0f[_0x10be63(0x1ee)]=0x5]=_0x10be63(0x1ee),_0x5caa0f[_0x5caa0f[_0x10be63(0x2a9)]=0x6]=_0x10be63(0x2a9),_0x5caa0f[_0x5caa0f[_0x10be63(0x1da)]=0x7]=_0x10be63(0x1da),_0x5caa0f[_0x5caa0f[_0x10be63(0x30b)]=0x8]=_0x10be63(0x30b),_0x5caa0f[_0x5caa0f['COMPLETION_FINISHED']=0x9]=_0x10be63(0x1c1),_0x5caa0f[_0x5caa0f[_0x10be63(0x293)]=0xa]=_0x10be63(0x293),_0x5caa0f[_0x5caa0f[_0x10be63(0x177)]=0xb]=_0x10be63(0x177),_0x5caa0f[_0x5caa0f[_0x10be63(0x2b1)]=0xc]=_0x10be63(0x2b1),_0x5caa0f[_0x5caa0f['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x5caa0f[_0x5caa0f[_0x10be63(0x183)]=0xe]=_0x10be63(0x183),_0x5caa0f[_0x5caa0f[_0x10be63(0x31b)]=0x1389]=_0x10be63(0x31b),_0x5caa0f[_0x5caa0f[_0x10be63(0x2f2)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x5caa0f[_0x5caa0f[_0x10be63(0x16c)]=0x1772]=_0x10be63(0x16c),_0x5caa0f[_0x5caa0f[_0x10be63(0x2b5)]=0x1773]=_0x10be63(0x2b5),_0x5caa0f[_0x5caa0f['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x5caa0f[_0x5caa0f[_0x10be63(0x2d2)]=0x1b5a]=_0x10be63(0x2d2),_0x5caa0f[_0x5caa0f['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x10be63(0x1b6),_0x5caa0f[_0x5caa0f[_0x10be63(0x2b4)]=0x1b5c]=_0x10be63(0x2b4),_0x5caa0f[_0x5caa0f[_0x10be63(0x1aa)]=0x1b5d]=_0x10be63(0x1aa),_0x5caa0f[_0x5caa0f[_0x10be63(0x30f)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x5caa0f[_0x5caa0f[_0x10be63(0x19c)]=0x2329]=_0x10be63(0x19c),_0x5caa0f[_0x5caa0f[_0x10be63(0x280)]=0x232a]=_0x10be63(0x280),_0x5caa0f[_0x5caa0f[_0x10be63(0x25b)]=0x232b]=_0x10be63(0x25b),_0x5caa0f[_0x5caa0f['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x10be63(0x1c9),_0x5caa0f[_0x5caa0f['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x5caa0f[_0x5caa0f['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x10be63(0x2e0),_0x5caa0f[_0x5caa0f[_0x10be63(0x255)]=0x2712]=_0x10be63(0x255),_0x5caa0f[_0x5caa0f[_0x10be63(0x22c)]=0x2713]=_0x10be63(0x22c),_0x5caa0f[_0x5caa0f['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x10be63(0x2a5),_0x5caa0f[_0x5caa0f['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x5caa0f[_0x5caa0f[_0x10be63(0x2ef)]=0x271b]=_0x10be63(0x2ef),_0x5caa0f[_0x5caa0f[_0x10be63(0x1cd)]=0x271c]=_0x10be63(0x1cd),_0x5caa0f[_0x5caa0f[_0x10be63(0x149)]=0x271d]=_0x10be63(0x149),_0x5caa0f[_0x5caa0f['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x10be63(0x278),_0x5caa0f[_0x5caa0f['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x5caa0f[_0x5caa0f[_0x10be63(0x1be)]=0x2720]=_0x10be63(0x1be),_0x5caa0f[_0x5caa0f[_0x10be63(0x33a)]=0x2af9]=_0x10be63(0x33a),_0x5caa0f[_0x5caa0f['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x10be63(0x22e),_0x5caa0f[_0x5caa0f['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x5caa0f[_0x5caa0f[_0x10be63(0x283)]=0x2ee3]=_0x10be63(0x283),_0x5caa0f[_0x5caa0f[_0x10be63(0x30d)]=0x2ee4]=_0x10be63(0x30d),_0x5caa0f[_0x5caa0f['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x5caa0f[_0x5caa0f['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x10be63(0x1ea),_0x5caa0f[_0x5caa0f[_0x10be63(0x1a5)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x5caa0f[_0x5caa0f[_0x10be63(0x15d)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x5caa0f[_0x5caa0f[_0x10be63(0x141)]=-0x1]=_0x10be63(0x141),_0x5caa0f))(Mt||{}),pn=Object[_0x10be63(0x228)],Cn=(_0x3065cf,_0x157b26,_0xf4e65e,_0x7bc87c)=>{const _0x5c40bd=_0x10be63;for(var _0x21a016=_0x7bc87c>0x1?void 0x0:_0x7bc87c?pn(_0x157b26,_0xf4e65e):_0x157b26,_0x41e995=_0x3065cf[_0x5c40bd(0x2f6)]-0x1,_0x4be671;_0x41e995>=0x0;_0x41e995--)(_0x4be671=_0x3065cf[_0x41e995])&&(_0x21a016=_0x4be671(_0x21a016)||_0x21a016);return _0x21a016;},be=(_0xf3c17f,_0x3bf0f6)=>(_0x1cd9c1,_0x2d2cc3)=>_0x3bf0f6(_0x1cd9c1,_0x2d2cc3,_0xf3c17f);let rt=class extends _0x38053b{constructor(_0xa18f3b,_0x1522d9,_0x157ef0){const _0x462289=_0x10be63;super(),this['_instanceService']=_0xa18f3b,this[_0x462289(0x202)]=_0x1522d9,this[_0x462289(0x1d3)]=_0x157ef0;}async[_0x10be63(0x20b)](_0xd4bdf4,_0x22e87a,_0x89fbcc,..._0x1b2b9e){const _0x135eff=_0x10be63;var _0x475fc9,_0x4d1d13,_0x110e30,_0x3149d9;const _0x3aed43=this[_0x135eff(0x166)][_0x135eff(0x19b)]();if(!_0x3aed43)throw new Error(_0x135eff(0x17f));const _0x50f94c=((_0x475fc9=this[_0x135eff(0x1d3)][_0x135eff(0x2d6)](_0x2fbd73))!=null?_0x475fc9:_0x571d04)+'/'+_0xd4bdf4+_0x135eff(0x292)+_0x22e87a,_0x4d3281=new URL(window[_0x135eff(0x1e2)][_0x135eff(0x2bf)]),_0x2a61fa={'scriptId':_0xd4bdf4,'runId':(_0x4d1d13=_0x4d3281['searchParams'][_0x135eff(0x2c3)](_0x135eff(0x2e8)))!=null?_0x4d1d13:'','function':_0x22e87a,'unitId':_0x3aed43['getUnitId'](),'argsOfFunction':JSON[_0x135eff(0x2aa)](_0x1b2b9e),'invokeId':(_0x110e30=_0x89fbcc[_0x135eff(0x1d6)])!=null?_0x110e30:'','executionId':(_0x3149d9=_0x89fbcc['executionId'])!=null?_0x3149d9:''};try{const _0x29f9c5=await this[_0x135eff(0x202)][_0x135eff(0x308)](_0x50f94c,{'body':_0x2a61fa});return _0x29f9c5[_0x135eff(0x1c0)][_0x135eff(0x2b0)]&&_0x29f9c5['body'][_0x135eff(0x2b0)][_0x135eff(0x27e)]!==Mt['OK']?_0x135eff(0x23d):_0x29f9c5[_0x135eff(0x1c0)][_0x135eff(0x1c6)];}catch{return _0x135eff(0x23d);}}};rt=Cn([be(0x0,_0x2d594b),be(0x1,_0x190800(_0xedb30f)),be(0x2,_0xdf5196)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Wi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x3802ff=_0x5345;(function(_0x13f7d5,_0x47554e){const _0x5a695a=_0x5345,_0x2974f5=_0x13f7d5();while(!![]){try{const _0x418763=-parseInt(_0x5a695a(0x199))/0x1*(-parseInt(_0x5a695a(0x19d))/0x2)+-parseInt(_0x5a695a(0x198))/0x3*(parseInt(_0x5a695a(0x19e))/0x4)+parseInt(_0x5a695a(0x195))/0x5+parseInt(_0x5a695a(0x1a1))/0x6+-parseInt(_0x5a695a(0x1a9))/0x7+parseInt(_0x5a695a(0x194))/0x8*(-parseInt(_0x5a695a(0x19a))/0x9)+-parseInt(_0x5a695a(0x1a8))/0xa*(-parseInt(_0x5a695a(0x1a3))/0xb);if(_0x418763===_0x47554e)break;else _0x2974f5['push'](_0x2974f5['shift']());}catch(_0x817cea){_0x2974f5['push'](_0x2974f5['shift']());}}}(_0x1fc1,0x1a92a));function _0x5345(_0x447128,_0x3bdd6c){const _0x1fc1b4=_0x1fc1();return _0x5345=function(_0x5345d9,_0x48cd45){_0x5345d9=_0x5345d9-0x193;let _0x32b170=_0x1fc1b4[_0x5345d9];return _0x32b170;},_0x5345(_0x447128,_0x3bdd6c);}function _0x1fc1(){const _0x18867e=['Authentication\x20Error','Collaboration\x20Conflict','31870WftVIM','1219498HCqtzw','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','72264nLnWxV','789000nQBCYE','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','22395oOWOgj','9887YMXCwk','135nvFeon','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','16EzaFjd','12TziuFw','Synced','Connection\x20failed,\x20please\x20check\x20your\x20network.','1052202jxbZfN','Edit\x20conflicts','99UhiWjU','Syncing...','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'];_0x1fc1=function(){return _0x18867e;};return _0x1fc1();}const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x3802ff(0x1a2),'notCollab':'Local\x20file','synced':_0x3802ff(0x19f),'syncing':_0x3802ff(0x1a4),'offline':_0x3802ff(0x19b)},'session':{'connection-failed':_0x3802ff(0x1a0),'will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':_0x3802ff(0x197),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x3802ff(0x1a7),'content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':_0x3802ff(0x1a6),'content':_0x3802ff(0x193)},'collaboration':{'single-unit':{'warning':_0x3802ff(0x196)},'closeRoom':_0x3802ff(0x19c)},'auth':{'needGotoLoginAlert':_0x3802ff(0x1a5)}};export{e as default};
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x634e7b=_0x4e57;function _0x4e57(_0x4796c8,_0x36311b){const _0x46ee1c=_0x46ee();return _0x4e57=function(_0x4e571a,_0x2b77c1){_0x4e571a=_0x4e571a-0x191;let _0x1ba0a4=_0x46ee1c[_0x4e571a];return _0x1ba0a4;},_0x4e57(_0x4796c8,_0x36311b);}(function(_0x4d3e89,_0x21e571){const _0x3da326=_0x4e57,_0x168ead=_0x4d3e89();while(!![]){try{const _0x58567c=-parseInt(_0x3da326(0x1a9))/0x1*(parseInt(_0x3da326(0x19a))/0x2)+parseInt(_0x3da326(0x197))/0x3*(parseInt(_0x3da326(0x199))/0x4)+parseInt(_0x3da326(0x195))/0x5*(-parseInt(_0x3da326(0x1a7))/0x6)+parseInt(_0x3da326(0x19b))/0x7+-parseInt(_0x3da326(0x1a2))/0x8*(parseInt(_0x3da326(0x1a8))/0x9)+parseInt(_0x3da326(0x1a3))/0xa*(-parseInt(_0x3da326(0x193))/0xb)+parseInt(_0x3da326(0x194))/0xc;if(_0x58567c===_0x21e571)break;else _0x168ead['push'](_0x168ead['shift']());}catch(_0x3d1ce8){_0x168ead['push'](_0x168ead['shift']());}}}(_0x46ee,0x7d70c));const o={'collab-client':{'tooltip':{'reconnect':_0x634e7b(0x1a1)}},'collabStatus':{'fetchMiss':_0x634e7b(0x196),'conflict':_0x634e7b(0x192),'notCollab':_0x634e7b(0x19d),'synced':_0x634e7b(0x19e),'syncing':_0x634e7b(0x19c),'offline':'آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'},'session':{'connection-failed':_0x634e7b(0x1a0),'will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','room-full':'اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','collaboration-timeout':'سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.'},'conflict':{'title':_0x634e7b(0x1a6),'content':_0x634e7b(0x19f)},'permission':{'title':_0x634e7b(0x198),'content':'اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'collaboration':{'single-unit':{'warning':_0x634e7b(0x1a4)},'closeRoom':_0x634e7b(0x1a5)},'auth':{'needGotoLoginAlert':_0x634e7b(0x191)}};export{o as default};function _0x46ee(){const _0x1a1f3d=['25672788cUkTRk','5FqahfN','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','21ostGFq','خطای\x20اعتبارسنجی','255740GrIDlz','4AXjxGT','1567293cKvhGJ','در\x20حال\x20همگام\x20سازی...','پرونده\x20محلی','همگام\x20سازی','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','324080TSnVik','180wDgTso','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','تداخل\x20همکاری','2507742jqbDtm','126qKXnTh','219147MYXFXT','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','تداخل\x20ویرایش','533896pdBZUv'];_0x46ee=function(){return _0x1a1f3d;};return _0x46ee();}
|