@univerjs-pro/collaboration-client-ui 0.9.1-nightly.202507081607 → 0.9.1-nightly.202507101607
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 _0x38fc52=_0x5890;(function(_0x4537e4,_0xca0cc6){const _0x5566a7=_0x5890,_0x58e7ff=_0x4537e4();while(!![]){try{const _0x4fb95d=-parseInt(_0x5566a7(0x285))/0x1+-parseInt(_0x5566a7(0x189))/0x2+-parseInt(_0x5566a7(0x115))/0x3*(-parseInt(_0x5566a7(0x1c7))/0x4)+-parseInt(_0x5566a7(0xfe))/0x5*(parseInt(_0x5566a7(0x163))/0x6)+-parseInt(_0x5566a7(0x127))/0x7+-parseInt(_0x5566a7(0x2c2))/0x8+-parseInt(_0x5566a7(0x15e))/0x9*(-parseInt(_0x5566a7(0x12e))/0xa);if(_0x4fb95d===_0xca0cc6)break;else _0x58e7ff['push'](_0x58e7ff['shift']());}catch(_0x377861){_0x58e7ff['push'](_0x58e7ff['shift']());}}}(_0x5ece,0x2750f));var $t=Object[_0x38fc52(0x154)],xt=(_0x14b34f,_0x17ab13,_0x1dd1e3)=>_0x17ab13 in _0x14b34f?$t(_0x14b34f,_0x17ab13,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1dd1e3}):_0x14b34f[_0x17ab13]=_0x1dd1e3,_=(_0x213663,_0x3d5667,_0x5450f2)=>xt(_0x213663,typeof _0x3d5667!=_0x38fc52(0x162)?_0x3d5667+'':_0x3d5667,_0x5450f2);import{MemberService as _0x1fbca3,SessionStatus as _0x3ad770,CollaborationSessionService as _0x4a001c,CollaborationStatus as _0xa4e658,CollaborationController as _0x4823da,ILocalCacheService as _0x5ea69b,CollaborationUIEventService as _0x38ef66,CollaborationUIEventId as _0x1acec1,DataLoaderService as _0x4a672a,DocCollaborationEntity as _0x57db30,getLocalCacheKey as _0xa3cb90,LOCAL_CACHE_INTERVAL as _0x24f890,LOCAL_CACHE_INTERVAL_KEY as _0x1e71b3,UniverCollaborationClientPlugin as _0x47d9c9,CollaborationSocketService as _0x26fbbb,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x5b691c,DEFAULT_WS_SESSION_TICKET_URL as _0xcc50b8,UnitStatus as _0x396e17,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x3fdb3f,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x285ce8}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x1b1f7c,Disposable as _0x234aca,DOC_RANGE_TYPE as _0x5b70d6,Inject as _0x9b1a66,Injector as _0x264ee9,IUniverInstanceService as _0x12ea05,ICommandService as _0x349e65,debounce as _0x3827ab,Rectangle as _0x546eb3,DisposableCollection as _0x29b5e1,toDisposable as _0x34e549,UniverInstanceType as _0x4abec6,Tools as _0x128666,COLORS as _0x4948d9,ColorKit as _0x44c820,ThemeService as _0x20b63c,fromEventSubject as _0x1106ba,LocaleService as _0x17af14,createIdentifier as _0x3faa77,ILogService as _0x13e4f2,Optional as _0x16d4ab,Workbook as _0xb6d1cc,CommandType as _0x528096,IConfigService as _0x1d6be9,ILocalStorageService as _0x21e443,DependentOn as _0x501718,Plugin as _0x4898cf,merge as _0x3e62cc,registerDependencies as _0x542720,mergeOverrideWithDependencies as _0x5ea94f,touchDependencies as _0x1190b3,generateRandomId as _0x39ba7d}from'@univerjs/core';import{Shape as _0x2bb12a,Rect as _0x5f2004,getColor as _0x32d24d,RegularPolygon as _0x1a4834,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x2e9176,Vector2 as _0x4f0060,SHEET_VIEWPORT_KEY as _0x14a60d,IRenderManagerService as _0x42117}from'@univerjs/engine-render';import{ISocketService as _0x1e0983,WebSocketService as _0x156c43,HTTPService as _0x17ded4}from'@univerjs/network';function _0x5890(_0x30dddb,_0x8dbed7){const _0x5ece91=_0x5ece();return _0x5890=function(_0x58908a,_0x38f872){_0x58908a=_0x58908a-0xc5;let _0x5d7fd2=_0x5ece91[_0x58908a];return _0x5d7fd2;},_0x5890(_0x30dddb,_0x8dbed7);}import{IDocClipboardService as _0x52b816,NodePositionConvertToCursor as _0x5848a7,NodePositionConvertToRectRange as _0x125486,TEXT_RANGE_LAYER_INDEX as _0x249355,SetDocZoomRatioOperation as _0x1c37d5,DocIMEInputManagerService as _0x599c6e,DocStateChangeManagerService as _0x1bbf96}from'@univerjs/docs-ui';import{IImageIoService as _0x420322}from'@univerjs/drawing';import{BehaviorSubject as _0x5250b5,debounceTime as _0x3cf1dd,takeUntil as _0x258676,Subject as _0x46e7d4,filter as _0x5bda9c,switchMap as _0x4705a2,merge as _0x2dddf2,combineLatest as _0xb34ae,of as _0x28b09b,fromEvent as _0x42dee8,shareReplay as _0x50b654,mapTo as _0x21c168,distinctUntilChanged as _0x411534}from'rxjs';import{ITransformService as _0x1e9735,CollaborationEvent as _0x52befb,isTransformMutationFailure as _0x16e003,isTransformMutationsWithChangesetSuccess as _0x41ea54,RevisionService as _0x4b26ad,ISnapshotServerService as _0xbff727}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x189392,RichTextEditingMutation as _0x23f528,DocSelectionManagerService as _0x296788,DocSkeletonManagerService as _0x5d3670}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x545b7a,serializeRangeWithSheet as _0x1c543b}from'@univerjs/engine-formula';import{RefRangeService as _0x472a22,SetSelectionsOperation as _0x455264,SheetsSelectionsService as _0x947098,EffectRefRangId as _0x3b8932,handleIRemoveRow as _0x122458,handleIRemoveCol as _0x5cc1a5,handleMoveRange as _0x51cd2a,handleInsertRow as _0xa7398c,handleInsertRangeMoveRight as _0x3a1928,handleInsertRangeMoveDown as _0x6c04b8,handleInsertCol as _0x587ca2,handleDeleteRangeMoveUp as _0x4a12d9,handleDeleteRangeMoveLeft as _0x10032f,runRefRangeMutations as _0x1cfdf9,SetWorksheetActivateCommand as _0x45fb5f}from'@univerjs/sheets';import{map as _0x1da4f9,filter as _0x4848db,throttleTime as _0x4459a7,takeUntil as _0xd13f64,switchMap as _0x18e6bc}from'rxjs/operators';import{SheetSkeletonManagerService as _0x22ba38,getCoordByCell as _0x30c90e,getSheetObject as _0x484ae5}from'@univerjs/sheets-ui';import{jsx as _0x1204df,jsxs as _0x2f96b3}from'react/jsx-runtime';import{useObservable as _0x16fdaf,useDependency as _0x3dc5a9,IUIPartsService as _0x520fb0,BuiltInUIPart as _0x4f068b,connectInjector as _0x48240e,IBeforeCloseService as _0x363bcd,IMessageService as _0x479cb5,INotificationService as _0x4ef212}from'@univerjs/ui';import{Tooltip as _0x517cc6,clsx as _0x1938fa,MessageType as _0x284a2b}from'@univerjs/design';import{forwardRef as _0x307066,useRef as _0x48d0a2,createElement as _0x29ffd6,useCallback as _0x507d41}from'react';import{IRemoteInstanceService as _0x4fa5bf}from'@univerjs/rpc';var ci=Object[_0x38fc52(0x11d)],li=(_0x3d7729,_0x5e30a7,_0x29ca5e,_0x29f435)=>{const _0x24710c=_0x38fc52;for(var _0x3de2b7=_0x29f435>0x1?void 0x0:_0x29f435?ci(_0x5e30a7,_0x29ca5e):_0x5e30a7,_0x59c12e=_0x3d7729[_0x24710c(0x269)]-0x1,_0x24a276;_0x59c12e>=0x0;_0x59c12e--)(_0x24a276=_0x3d7729[_0x59c12e])&&(_0x3de2b7=_0x24a276(_0x3de2b7)||_0x3de2b7);return _0x3de2b7;},Je=(_0x5f2445,_0x3f86b9)=>(_0x292a61,_0x1f069d)=>_0x3f86b9(_0x292a61,_0x1f069d,_0x5f2445);let Ne=class extends _0x1b1f7c{constructor(_0x42d130,_0x255765){const _0x35033b=_0x38fc52;super(),this['_docClipboardService']=_0x42d130,this[_0x35033b(0x107)]=_0x255765,this['_init']();}['_init'](){const _0x46896b=_0x38fc52,_0x100657=this;this['disposeWithMe'](this[_0x46896b(0xc5)][_0x46896b(0x151)]({'onBeforePasteImage':async _0x29f60a=>{const _0x54de95=_0x46896b,_0xc817d8=await _0x100657['_imageIoService'][_0x54de95(0xea)](_0x29f60a);return _0xc817d8?{'source':_0xc817d8[_0x54de95(0x2b9)],'imageSourceType':_0xc817d8[_0x54de95(0x2ba)]}:null;}}));}};Ne=li([Je(0x0,_0x52b816),Je(0x1,_0x420322)],Ne);const Ze=[_0x38fc52(0x241),_0x38fc52(0x11b),'green.600',_0x38fc52(0x168),_0x38fc52(0x282),_0x38fc52(0x143)];class ke extends _0x234aca{constructor(){const _0x4c608c=_0x38fc52;super(...arguments),_(this,_0x4c608c(0x1e7),new Map()),_(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x3eafe5){const _0x4ca8ed=_0x38fc52;if(this['_assignedColors'][_0x4ca8ed(0x1ea)](_0x3eafe5))return this[_0x4ca8ed(0x1e7)][_0x4ca8ed(0x1b6)](_0x3eafe5);const _0x3caa52=Ze[this[_0x4ca8ed(0x26a)]];return this[_0x4ca8ed(0x26a)]=(this[_0x4ca8ed(0x26a)]+0x1)%Ze[_0x4ca8ed(0x269)],this[_0x4ca8ed(0x1e7)]['set'](_0x3eafe5,_0x3caa52),_0x3caa52;}}function Tt(_0x25ae97){const _0x147d81=_0x38fc52;let _0x56d7b2='';for(const _0x67de38 of _0x25ae97){const {startOffset:_0x18703e,endOffset:_0x23a437,isActive:_0x30cfa6,rangeType:_0x21c649,segmentId:_0x3f4064,segmentPage:_0x4808c8}=_0x67de38;_0x56d7b2[_0x147d81(0x269)]&&(_0x56d7b2+=','),_0x56d7b2+=_0x18703e+':'+_0x23a437+':'+(_0x30cfa6?'1':'0')+':'+_0x21c649+':'+_0x3f4064+':'+_0x4808c8;}return _0x56d7b2;}function _i(_0x21d9c7){const _0x46a53e=_0x38fc52,_0x28990c=_0x21d9c7[_0x46a53e(0x176)](','),_0x125af5=[];for(const _0x434433 of _0x28990c){const [_0x12963b,_0x1d03db,_0x11e504,_0x556509,_0x45a84e,_0x5c4fd7]=_0x434433[_0x46a53e(0x176)](':');_0x125af5[_0x46a53e(0x13e)]({'startOffset':Number(_0x12963b),'endOffset':Number(_0x1d03db),'collapsed':_0x12963b===_0x1d03db,'isActive':_0x11e504==='1','rangeType':_0x556509===_0x5b70d6[_0x46a53e(0xfd)]?_0x5b70d6[_0x46a53e(0xfd)]:_0x5b70d6[_0x46a53e(0x27d)],'segmentId':typeof _0x45a84e=='string'?String(_0x45a84e):'','segmentPage':Number(_0x5c4fd7!=null?_0x5c4fd7:-0x1)});}return _0x125af5['some'](_0x38b68b=>_0x38b68b[_0x46a53e(0x22d)])||(_0x125af5[0x0][_0x46a53e(0x22d)]=!0x0),_0x125af5;}class He extends _0x1b1f7c{constructor(){const _0x1bf19f=_0x38fc52;super(...arguments),_(this,'_collabCursorState$',new _0x5250b5(null)),_(this,_0x1bf19f(0x11a),this[_0x1bf19f(0x287)][_0x1bf19f(0x12d)]());}['syncEditingCollabCursor'](_0x5e6b30){const _0x1147d3=_0x38fc52,{unitID:_0x3c7e38,memberID:_0x31e760,textRanges:_0x31af24}=_0x5e6b30,_0x1f3c00=Tt(_0x31af24);if(_0x1f3c00==='')return;const _0x351ade={'unitID':_0x3c7e38,'memberID':_0x31e760,'selection':_0x1f3c00};this[_0x1147d3(0x287)][_0x1147d3(0x1de)](_0x351ade);}}var hi=Object[_0x38fc52(0x11d)],ui=(_0x24e3f3,_0x23b56f,_0xb67094,_0x24a2ea)=>{for(var _0x391f67=_0x24a2ea>0x1?void 0x0:_0x24a2ea?hi(_0x23b56f,_0xb67094):_0x23b56f,_0x4dd4e3=_0x24e3f3['length']-0x1,_0x2d0c45;_0x4dd4e3>=0x0;_0x4dd4e3--)(_0x2d0c45=_0x24e3f3[_0x4dd4e3])&&(_0x391f67=_0x2d0c45(_0x391f67)||_0x391f67);return _0x391f67;},P=(_0x316c15,_0x58c032)=>(_0x68a34f,_0x51568b)=>_0x58c032(_0x68a34f,_0x51568b,_0x316c15);const di=0x12c,fi=0x64;let Ue=class extends _0x1b1f7c{constructor(_0x50820a,_0x682886,_0x2483aa,_0x1b54b9,_0x57d327,_0x465c29,_0x15b5e8,_0x36312a,_0x564229){const _0x41af61=_0x38fc52;super(),_(this,'_online',!0x1),_(this,_0x41af61(0x11e),!0x1),_(this,_0x41af61(0x10e),new _0x5250b5(new Map())),_(this,_0x41af61(0x276),this['_cursorInfo$'][_0x41af61(0x12d)]()),_(this,_0x41af61(0x190),new _0x5250b5([])),_(this,_0x41af61(0xd9),this[_0x41af61(0x190)][_0x41af61(0x2bd)](_0x3cf1dd(di))),_(this,_0x41af61(0x13d),_0x3827ab(_0x1c6d26=>{const _0xf86dd=_0x41af61,_0x1b3ba4={'eventID':_0x52befb['UPDATE_CURSOR'],'data':{'unitID':this[_0xf86dd(0xe4)],'memberID':this[_0xf86dd(0x113)][_0xf86dd(0x27b)](),'selection':Tt(_0x1c6d26)}};this[_0xf86dd(0x113)][_0xf86dd(0x235)](_0x1b3ba4,this[_0xf86dd(0xe4)]);},fi)),(this[_0x41af61(0xe4)]=_0x50820a,this['_session']=_0x682886,this[_0x41af61(0x145)]=_0x2483aa,this['_colorAssignService']=_0x1b54b9,this['_memberService']=_0x57d327,this[_0x41af61(0xda)]=_0x465c29,this[_0x41af61(0xce)]=_0x15b5e8,this[_0x41af61(0x198)]=_0x36312a,this['_commandService']=_0x564229);}get['cursorInfo'](){const _0x5739a3=_0x38fc52;return this[_0x5739a3(0x10e)][_0x5739a3(0x188)]();}get[_0x38fc52(0x294)](){const _0x1b56d4=_0x38fc52;return this[_0x1b56d4(0x190)][_0x1b56d4(0x188)]();}[_0x38fc52(0x195)](){const _0x41d556=_0x38fc52;super[_0x41d556(0x195)](),this['_cursorInfo$'][_0x41d556(0x1de)](new Map()),this[_0x41d556(0x10e)]['complete'](),this[_0x41d556(0x190)][_0x41d556(0x1de)]([]),this[_0x41d556(0x190)][_0x41d556(0x2be)]();}[_0x38fc52(0x16d)](){const _0x425436=_0x38fc52;this['_init']||(this['_init']=!0x0,this[_0x425436(0x113)][_0x425436(0x1ca)]['pipe'](_0x258676(this[_0x425436(0x2b6)]))[_0x425436(0x26e)](_0x836679=>{const _0x2a4109=_0x425436;_0x836679===_0x3ad770[_0x2a4109(0x220)]?this[_0x2a4109(0x165)]():this[_0x2a4109(0x15c)]();}),this[_0x425436(0x113)][_0x425436(0x2b7)][_0x425436(0x2bd)](_0x258676(this[_0x425436(0x2b6)]))[_0x425436(0x26e)](_0x148f81=>{const _0x4b2fe0=_0x425436,_0x1039a8=_0x148f81[_0x4b2fe0(0x1d2)];_0x1039a8===_0x52befb['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x148f81),_0x1039a8===_0x52befb['USERS_LEAVE']&&this[_0x4b2fe0(0x1c2)](_0x148f81);}),this[_0x425436(0x2c9)](this['_commandService'][_0x425436(0x178)](_0x15f588=>{const _0x3d66d5=_0x425436,_0x58de6a=_0x15f588[_0x3d66d5(0x217)];_0x58de6a!=null&&this[_0x3d66d5(0x22e)]&&_0x15f588['id']===_0x189392['id']&&_0x58de6a['unitId']===this['unitID']&&_0x58de6a[_0x3d66d5(0x251)]===!0x1&&_0x58de6a[_0x3d66d5(0x1a0)][_0x3d66d5(0x269)]>0x0&&this[_0x3d66d5(0x13d)](_0x58de6a[_0x3d66d5(0x1a0)]);})),this['_syncEditingCollabCursorService'][_0x425436(0x11a)][_0x425436(0x2bd)](_0x258676(this[_0x425436(0x2b6)]))[_0x425436(0x26e)](_0x43aa5d=>{const _0x1836d5=_0x425436;if((_0x43aa5d==null?void 0x0:_0x43aa5d[_0x1836d5(0xe4)])!==this[_0x1836d5(0xe4)])return;const _0x38905a={'eventID':_0x52befb[_0x1836d5(0xe8)],'data':_0x43aa5d};this[_0x1836d5(0x280)](_0x38905a);}),this['disposeWithMe'](this[_0x425436(0x205)][_0x425436(0x178)](_0x339620=>{const _0xea67b2=_0x425436;if(_0x339620[_0xea67b2(0x217)]==null)return;const _0x427e38=_0x339620[_0xea67b2(0x217)];if(_0x339620['id']!==_0x23f528['id']||_0x427e38[_0xea67b2(0x2b3)]!==this['unitID'])return;const _0x38558e={'id':'doc.mutation.rich-text-editing','params':_0x427e38},_0x36befb=this[_0xea67b2(0x123)];for(const [_0x3226eb,_0x3ed335]of _0x36befb){const _0x423517={'id':_0xea67b2(0x15f),'params':{'unitId':this[_0xea67b2(0xe4)],'actions':null,'textRanges':_0x3ed335[_0xea67b2(0x1a0)]}},_0x11743d=this[_0xea67b2(0xce)]['transformMutation'](_0x38558e,_0x423517,!0x1);if(_0x16e003(_0x11743d))throw _0x11743d['error'];_0x36befb[_0xea67b2(0x18a)](_0x3226eb,{..._0x3ed335,'ranges':_0x11743d[_0xea67b2(0xe0)][_0xea67b2(0x217)][_0xea67b2(0xd1)]});}queueMicrotask(()=>{const _0x44159f=_0xea67b2;this[_0x44159f(0x10e)][_0x44159f(0x1de)](_0x36befb);});})));}[_0x38fc52(0x280)](_0x504672){const _0x305d9e=_0x38fc52;var _0x2bbf58,_0x5b0812;const {memberID:_0x5326ac,selection:_0x6e2d00}=_0x504672[_0x305d9e(0x1a8)],_0x3da838=_i(_0x6e2d00),_0x2a94d8=(_0x5b0812=(_0x2bbf58=this['_memberService'][_0x305d9e(0x119)](this[_0x305d9e(0xe4)],_0x5326ac))==null?void 0x0:_0x2bbf58[_0x305d9e(0x2ac)])!=null?_0x5b0812:_0x305d9e(0x1d9),_0x2f898f={'color':this['_colorAssignService'][_0x305d9e(0x144)](_0x5326ac),'name':_0x2a94d8,'ranges':_0x3da838},_0x405053=this[_0x305d9e(0x123)];_0x405053[_0x305d9e(0x18a)](_0x5326ac,_0x2f898f),this[_0x305d9e(0x10e)][_0x305d9e(0x1de)](_0x405053);}[_0x38fc52(0x1c2)](_0x5e6cd6){const _0x3371dd=_0x38fc52,{memberID:_0x4b8cd7}=_0x5e6cd6[_0x3371dd(0x1a8)],_0xde7a7=this[_0x3371dd(0x123)];_0xde7a7['delete'](_0x4b8cd7),this[_0x3371dd(0x10e)]['next'](_0xde7a7);}[_0x38fc52(0x165)](){const _0x1b160d=_0x38fc52;var _0xbc0af7;if(this[_0x1b160d(0x22e)]=!0x0,((_0xbc0af7=this[_0x1b160d(0x198)][_0x1b160d(0x121)]())==null?void 0x0:_0xbc0af7[_0x1b160d(0x21d)]())!==this['unitID'])return;const _0xc8e1b2=this['_injector']['get'](_0x296788)[_0x1b160d(0x288)]();Array[_0x1b160d(0x2ab)](_0xc8e1b2)&&_0xc8e1b2[_0x1b160d(0x269)]>0x0&&this[_0x1b160d(0x13d)](_0xc8e1b2);}[_0x38fc52(0x15c)](){this['_online']=!0x1;}};Ue=ui([P(0x2,_0x9b1a66(_0x264ee9)),P(0x3,_0x9b1a66(ke)),P(0x4,_0x9b1a66(_0x1fbca3)),P(0x5,_0x9b1a66(He)),P(0x6,_0x1e9735),P(0x7,_0x12ea05),P(0x8,_0x349e65)],Ue);var Si=Object['getOwnPropertyDescriptor'],mi=(_0x122daf,_0x259bad,_0x3709b1,_0xbd95a0)=>{const _0x204799=_0x38fc52;for(var _0x792b54=_0xbd95a0>0x1?void 0x0:_0xbd95a0?Si(_0x259bad,_0x3709b1):_0x259bad,_0x51b305=_0x122daf[_0x204799(0x269)]-0x1,_0x10730c;_0x51b305>=0x0;_0x51b305--)(_0x10730c=_0x122daf[_0x51b305])&&(_0x792b54=_0x10730c(_0x792b54)||_0x792b54);return _0x792b54;},x=(_0x2064b1,_0x2e2a84)=>(_0x365a19,_0x5e3b9a)=>_0x2e2a84(_0x365a19,_0x5e3b9a,_0x2064b1);const Ii=0x12c,gi=0x64,vi=()=>{let _0x3c13b6=[],_0x3ad51a=!0x1;return _0x2cc7e8=>{_0x3c13b6['push'](_0x2cc7e8),_0x3ad51a||(_0x3ad51a=!0x0,setTimeout(()=>{_0x3c13b6['forEach'](_0x5b311e=>_0x5b311e()),_0x3c13b6=[],_0x3ad51a=!0x1;}));};};let Me=class extends _0x1b1f7c{constructor(_0x2f8a35,_0x299882,_0x5be81e,_0x3d6147,_0x2b1add,_0x5d1239,_0x394560,_0x2e6eb1){const _0xa83fe7=_0x38fc52;super(),_(this,_0xa83fe7(0x22e),!0x1),_(this,'_init',!0x1),_(this,_0xa83fe7(0x10e),new _0x5250b5(new Map())),_(this,_0xa83fe7(0x276),this[_0xa83fe7(0x10e)][_0xa83fe7(0x12d)]()),_(this,_0xa83fe7(0x190),new _0x5250b5([])),_(this,_0xa83fe7(0xd9),this[_0xa83fe7(0x190)][_0xa83fe7(0x2bd)](_0x3cf1dd(Ii))),_(this,_0xa83fe7(0x13d),_0x3827ab((_0x2544f0,_0x12563c)=>{const _0x2d73a5=_0xa83fe7,_0x130455={'eventID':_0x52befb[_0x2d73a5(0xe8)],'data':{'unitID':this[_0x2d73a5(0xe4)],'memberID':this[_0x2d73a5(0x113)]['getMemberID'](),'selection':_0x1c543b(_0x2544f0,_0x12563c[_0x2d73a5(0x20e)])}};this['_session'][_0x2d73a5(0x235)](_0x130455,this[_0x2d73a5(0xe4)]);},gi)),(this[_0xa83fe7(0xe4)]=_0x2f8a35,this[_0xa83fe7(0x113)]=_0x299882,this[_0xa83fe7(0x145)]=_0x5be81e,this['_colorAssignService']=_0x3d6147,this[_0xa83fe7(0x16b)]=_0x2b1add,this[_0xa83fe7(0x198)]=_0x5d1239,this['_commandService']=_0x394560,this[_0xa83fe7(0x148)]=_0x2e6eb1);}get[_0x38fc52(0x123)](){const _0x2ea0b4=_0x38fc52;return this[_0x2ea0b4(0x10e)]['getValue']();}get[_0x38fc52(0x294)](){return this['_roomMembers$']['getValue']();}[_0x38fc52(0x195)](){const _0x149703=_0x38fc52;super[_0x149703(0x195)](),this[_0x149703(0x10e)][_0x149703(0x1de)](new Map()),this['_cursorInfo$'][_0x149703(0x2be)](),this[_0x149703(0x190)][_0x149703(0x1de)]([]),this['_roomMembers$'][_0x149703(0x2be)]();}[_0x38fc52(0x16d)](){const _0x25eb41=_0x38fc52;this['_init']||(this[_0x25eb41(0x11e)]=!0x0,this['_session'][_0x25eb41(0x1ca)]['pipe'](_0x258676(this[_0x25eb41(0x2b6)]))[_0x25eb41(0x26e)](_0x4b60c6=>{const _0x22ff10=_0x25eb41;_0x4b60c6===_0x3ad770[_0x22ff10(0x220)]?this[_0x22ff10(0x165)]():this[_0x22ff10(0x15c)]();}),this[_0x25eb41(0x113)]['event$'][_0x25eb41(0x2bd)](_0x258676(this[_0x25eb41(0x2b6)]))['subscribe'](_0x4ce290=>{const _0x37651f=_0x25eb41,_0xc96633=_0x4ce290[_0x37651f(0x1d2)];_0xc96633===_0x52befb[_0x37651f(0xe8)]&&this['_onCursorUpdate'](_0x4ce290),_0xc96633===_0x52befb[_0x37651f(0x1e9)]&&this['_onCursorDelete'](_0x4ce290);}),this[_0x25eb41(0x18f)](),this[_0x25eb41(0x2c9)](this[_0x25eb41(0x205)][_0x25eb41(0x178)](_0x4d660c=>{const _0x1de8b9=_0x25eb41;if(this[_0x1de8b9(0x22e)]&&_0x4d660c['id']===_0x455264['id']&&_0x4d660c['params']['unitId']===this[_0x1de8b9(0xe4)]){const _0x4b606c=_0x4d660c[_0x1de8b9(0x217)];this[_0x1de8b9(0x13d)](_0x4b606c[_0x1de8b9(0x255)],_0x4b606c['selections'][0x0]);}})));}[_0x38fc52(0x280)](_0x263b99){const _0x4d759a=_0x38fc52;var _0xb2f9fe,_0x4de62d;const {memberID:_0x1e36f9,selection:_0x47d377}=_0x263b99[_0x4d759a(0x1a8)],{sheetName:_0x55b802,range:_0x40237f}=_0x545b7a(_0x47d377),_0x268397={'name':(_0x4de62d=(_0xb2f9fe=this[_0x4d759a(0x16b)][_0x4d759a(0x119)](this[_0x4d759a(0xe4)],_0x1e36f9))==null?void 0x0:_0xb2f9fe[_0x4d759a(0x2ac)])!=null?_0x4de62d:_0x4d759a(0x1d9),'range':this[_0x4d759a(0x2cf)](_0x55b802,_0x40237f),'sheetID':_0x55b802,'color':this[_0x4d759a(0x16a)][_0x4d759a(0x144)](_0x1e36f9),'selection':_0x47d377},_0x1a1823=this[_0x4d759a(0x123)];_0x1a1823['set'](_0x1e36f9,_0x268397),this['_cursorInfo$']['next'](_0x1a1823);}[_0x38fc52(0x1c2)](_0x313988){const _0x3557b2=_0x38fc52,{memberID:_0x14c1dc}=_0x313988[_0x3557b2(0x1a8)],_0x192156=this[_0x3557b2(0x123)];_0x192156[_0x3557b2(0x19c)](_0x14c1dc),this[_0x3557b2(0x10e)]['next'](_0x192156);}[_0x38fc52(0x2cf)](_0x1143aa,_0x4bcc55){const _0x31d75b=_0x38fc52;var _0x37ef2f,_0x145205;const _0x4d94c6=(_0x145205=(_0x37ef2f=this['_univerInstanceService'][_0x31d75b(0x1c0)](this['unitID']))==null?void 0x0:_0x37ef2f[_0x31d75b(0x2a4)](_0x1143aa))==null?void 0x0:_0x145205[_0x31d75b(0x14d)]();return(_0x4d94c6==null?void 0x0:_0x4d94c6['find'](_0x533043=>_0x546eb3[_0x31d75b(0x22f)](_0x533043,_0x4bcc55)))||_0x4bcc55;}[_0x38fc52(0x18f)](){const _0x3d9c13=_0x38fc52,_0x204685=new _0x29b5e1(),_0x4650cb=vi(),_0x3f43e4=()=>{const _0x25aa09=_0x5890;_0x204685['dispose']();const _0x2603d5=(_0x3de94d,_0x32f178,_0x3e93b3,_0x223dd1)=>{const _0x4b674=_0x5890;let _0x201a00=[];switch(_0x3de94d['id']){case _0x3b8932[_0x4b674(0x133)]:{_0x201a00=_0x10032f(_0x3de94d,_0x223dd1);break;}case _0x3b8932[_0x4b674(0x1fc)]:{_0x201a00=_0x4a12d9(_0x3de94d,_0x223dd1);break;}case _0x3b8932[_0x4b674(0x21b)]:{_0x201a00=_0x587ca2(_0x3de94d,_0x223dd1);break;}case _0x3b8932[_0x4b674(0x268)]:{_0x201a00=_0x6c04b8(_0x3de94d,_0x223dd1);break;}case _0x3b8932[_0x4b674(0x260)]:{_0x201a00=_0x3a1928(_0x3de94d,_0x223dd1);break;}case _0x3b8932[_0x4b674(0x213)]:{_0x201a00=_0xa7398c(_0x3de94d,_0x223dd1);break;}case _0x3b8932[_0x4b674(0x2a0)]:{_0x201a00=_0x51cd2a(_0x3de94d,_0x223dd1);break;}case _0x3b8932[_0x4b674(0x299)]:{_0x201a00=_0x5cc1a5(_0x3de94d,_0x223dd1);break;}case _0x3b8932[_0x4b674(0x129)]:{_0x201a00=_0x122458(_0x3de94d,_0x223dd1);break;}}const _0x406abe=_0x1cfdf9(_0x201a00,_0x223dd1),_0x29d210=this[_0x4b674(0x123)][_0x4b674(0x1b6)](_0x32f178);if(_0x29d210&&_0x406abe){const _0x49a613={..._0x29d210,'range':_0x406abe};this['cursorInfo'][_0x4b674(0x18a)](_0x32f178,_0x49a613),_0x4650cb(()=>{const _0x5b5e15=_0x4b674,_0x38a71a=this['_refRangeService'][_0x5b5e15(0x197)](_0x406abe,_0x56929e=>(_0x38a71a[_0x5b5e15(0x195)](),_0x2603d5(_0x56929e,_0x32f178,_0x3e93b3,_0x406abe)));_0x204685['add'](_0x38a71a);});}return{'redos':[],'undos':[]};};this[_0x25aa09(0x123)]['forEach']((_0x38b453,_0x5e0612)=>{const _0x27dca9=_0x25aa09,{range:_0x554012,sheetID:_0x559724}=_0x38b453,_0x279db0=this[_0x27dca9(0x148)][_0x27dca9(0x197)](_0x554012,_0x1d0702=>(_0x279db0[_0x27dca9(0x195)](),_0x2603d5(_0x1d0702,_0x5e0612,_0x559724,_0x554012)));_0x204685[_0x27dca9(0xf0)](_0x279db0);});};this[_0x3d9c13(0x2c9)](_0x34e549(this[_0x3d9c13(0x10e)][_0x3d9c13(0x26e)](()=>{_0x3f43e4();})));}[_0x38fc52(0x165)](){const _0x2ef6a2=_0x38fc52;var _0x3c3c43,_0x9bcfbc;if(this[_0x2ef6a2(0x22e)]=!0x0,((_0x3c3c43=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x3c3c43[_0x2ef6a2(0x21d)]())!==this[_0x2ef6a2(0xe4)])return;const _0x3bdc0c=(_0x9bcfbc=this[_0x2ef6a2(0x145)][_0x2ef6a2(0x1b6)](_0x947098)[_0x2ef6a2(0x1ff)]())==null?void 0x0:_0x9bcfbc[0x0],_0x23b733=this[_0x2ef6a2(0x198)]['getCurrentUnitForType'](_0x4abec6['UNIVER_SHEET'])['getActiveSheet']();_0x3bdc0c&&_0x23b733&&this[_0x2ef6a2(0x13d)](_0x23b733[_0x2ef6a2(0x20c)](),_0x3bdc0c);}[_0x38fc52(0x15c)](){const _0x4c0baa=_0x38fc52;this[_0x4c0baa(0x22e)]=!0x1;}};Me=mi([x(0x2,_0x9b1a66(_0x264ee9)),x(0x3,_0x9b1a66(ke)),x(0x4,_0x9b1a66(_0x1fbca3)),x(0x5,_0x12ea05),x(0x6,_0x349e65),x(0x7,_0x9b1a66(_0x472a22))],Me);var pi=Object[_0x38fc52(0x11d)],Ci=(_0x3d9df2,_0x3b2850,_0x6f337,_0x44279d)=>{const _0x2167d1=_0x38fc52;for(var _0x2136f4=_0x44279d>0x1?void 0x0:_0x44279d?pi(_0x3b2850,_0x6f337):_0x3b2850,_0x3b8a03=_0x3d9df2[_0x2167d1(0x269)]-0x1,_0x4278f5;_0x3b8a03>=0x0;_0x3b8a03--)(_0x4278f5=_0x3d9df2[_0x3b8a03])&&(_0x2136f4=_0x4278f5(_0x2136f4)||_0x2136f4);return _0x2136f4;},Se=(_0x2fe869,_0x4c7d1e)=>(_0x4fc416,_0xf7f883)=>_0x4c7d1e(_0x4fc416,_0xf7f883,_0x2fe869);let H=class extends _0x1b1f7c{constructor(_0x4a617f,_0x1f6823,_0x150fc5){const _0x4d6e7d=_0x38fc52;super(),_(this,'_entities',new Map()),_(this,_0x4d6e7d(0x23a),new _0x46e7d4()),(this[_0x4d6e7d(0x198)]=_0x4a617f,this['_injector']=_0x1f6823,this[_0x4d6e7d(0x1aa)]=_0x150fc5,this['_init']());}['dispose'](){const _0x26e8ac=_0x38fc52;super[_0x26e8ac(0x195)](),this[_0x26e8ac(0x23a)][_0x26e8ac(0x2be)](),this[_0x26e8ac(0x1f8)][_0x26e8ac(0x186)](_0x218897=>_0x218897[_0x26e8ac(0x195)]());}[_0x38fc52(0x1c3)](_0x2c27c7){const _0x59667b=_0x38fc52;return this[_0x59667b(0x1f8)][_0x59667b(0x1ea)](_0x2c27c7)?this['_entities']['get'](_0x2c27c7)[_0x59667b(0x276)]:this[_0x59667b(0x23a)][_0x59667b(0x2bd)](_0x5bda9c(_0x8f8c10=>_0x8f8c10[_0x59667b(0xe4)]===_0x2c27c7),_0x4705a2(_0x46217d=>_0x46217d[_0x59667b(0x276)]));}[_0x38fc52(0x11e)](){const _0x4910bb=_0x38fc52;this[_0x4910bb(0x198)][_0x4910bb(0x1a2)](_0x4abec6[_0x4910bb(0x262)])[_0x4910bb(0x2bd)](_0x258676(this['dispose$']))[_0x4910bb(0x26e)](async _0x13fd82=>{const _0xb6d68f=_0x4910bb,_0x3a593c=_0x13fd82[_0xb6d68f(0x21d)](),_0x4134f2=await this['_startSheetCollabCursor'](_0x3a593c);this[_0xb6d68f(0x23a)][_0xb6d68f(0x1de)](_0x4134f2),this['_entities'][_0xb6d68f(0x18a)](_0x3a593c,_0x4134f2);}),this[_0x4910bb(0x198)][_0x4910bb(0x1a2)](_0x4abec6[_0x4910bb(0x279)])[_0x4910bb(0x2bd)](_0x258676(this[_0x4910bb(0x2b6)]))[_0x4910bb(0x2bd)](_0x5bda9c(_0xacacbe=>!_0xacacbe[_0x4910bb(0x21d)]()[_0x4910bb(0xd8)]('__')))['subscribe'](async _0xeee79c=>{const _0x2e434d=_0x4910bb,_0xd887d2=_0xeee79c[_0x2e434d(0x21d)](),_0x4cb1e3=await this[_0x2e434d(0x296)](_0xd887d2);this[_0x2e434d(0x23a)]['next'](_0x4cb1e3),this[_0x2e434d(0x1f8)][_0x2e434d(0x18a)](_0xd887d2,_0x4cb1e3);}),_0x2dddf2(this[_0x4910bb(0x198)]['getTypeOfUnitDisposed$'](_0x4abec6[_0x4910bb(0x279)]),this[_0x4910bb(0x198)]['getTypeOfUnitDisposed$'](_0x4abec6[_0x4910bb(0x262)]))[_0x4910bb(0x2bd)](_0x258676(this[_0x4910bb(0x2b6)]))[_0x4910bb(0x26e)](_0x406f21=>{const _0x1396c8=_0x4910bb,_0x5dd6a6=_0x406f21[_0x1396c8(0x21d)](),_0x42032f=this['_entities'][_0x1396c8(0x1b6)](_0x5dd6a6);_0x42032f&&(_0x42032f[_0x1396c8(0x195)](),this['_entities'][_0x1396c8(0x19c)](_0x5dd6a6));});}async[_0x38fc52(0x281)](_0x337949){const _0x26c229=_0x38fc52,_0x5c8c27=await this[_0x26c229(0x1aa)]['requireSession'](_0x337949),_0x131806=this[_0x26c229(0x145)][_0x26c229(0x17b)](Me,_0x337949,_0x5c8c27);return _0x131806[_0x26c229(0x16d)](),_0x131806;}async[_0x38fc52(0x296)](_0x41ddc8){const _0x116021=_0x38fc52,_0x4e7b46=await this[_0x116021(0x1aa)]['requireSession'](_0x41ddc8),_0x1d4e31=this[_0x116021(0x145)]['createInstance'](Ue,_0x41ddc8,_0x4e7b46);return _0x1d4e31[_0x116021(0x16d)](),_0x1d4e31;}};H=Ci([Se(0x0,_0x12ea05),Se(0x1,_0x9b1a66(_0x264ee9)),Se(0x2,_0x9b1a66(_0x4a001c))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x2eccad,_0x34b8c2){const _0x3b3ef9=_0x38fc52;let {radius:_0x466c2b,width:_0x24de8b,height:_0x223256}=_0x34b8c2;_0x466c2b=_0x466c2b!=null?_0x466c2b:0x0,_0x24de8b=_0x24de8b!=null?_0x24de8b:0x1e,_0x223256=_0x223256!=null?_0x223256:0x1e;let _0x416ebe=0x0,_0x330318=0x0,_0x18335d=0x0;_0x416ebe=_0x330318=_0x18335d=Math[_0x3b3ef9(0x184)](_0x466c2b,_0x24de8b/0x2,_0x223256/0x2),_0x2eccad[_0x3b3ef9(0x2ad)](),_0x2eccad[_0x3b3ef9(0x12c)](_0x416ebe,0x0),_0x2eccad[_0x3b3ef9(0x1a1)](_0x24de8b-_0x330318,0x0),_0x2eccad['arc'](_0x24de8b-_0x330318,_0x330318,_0x330318,Math['PI']*0x3/0x2,0x0,!0x1),_0x2eccad[_0x3b3ef9(0x1a1)](_0x24de8b,_0x223256-_0x18335d),_0x2eccad[_0x3b3ef9(0x18b)](_0x24de8b-_0x18335d,_0x223256-_0x18335d,_0x18335d,0x0,Math['PI']/0x2,!0x1),_0x2eccad[_0x3b3ef9(0x1a1)](0x0,_0x223256),_0x2eccad[_0x3b3ef9(0x1a1)](0x0,_0x416ebe),_0x2eccad[_0x3b3ef9(0x18b)](_0x416ebe,_0x416ebe,_0x416ebe,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2eccad[_0x3b3ef9(0x29d)](),_0x34b8c2[_0x3b3ef9(0x2af)]&&(_0x2eccad[_0x3b3ef9(0x229)](),_0x2eccad[_0x3b3ef9(0x11f)]=_0x34b8c2[_0x3b3ef9(0x2af)],_0x34b8c2[_0x3b3ef9(0x1b1)]===_0x3b3ef9(0x16e)?_0x2eccad[_0x3b3ef9(0x2af)](_0x3b3ef9(0x16e)):_0x2eccad[_0x3b3ef9(0x2af)](),_0x2eccad['restore']());}class he extends _0x2bb12a{constructor(_0x3a866b,_0x5bf2de){const _0x3edb7e=_0x38fc52;super(_0x3a866b,_0x5bf2de),_(this,'color'),_(this,_0x3edb7e(0x271)),(this['color']=_0x5bf2de==null?void 0x0:_0x5bf2de[_0x3edb7e(0x1e6)],this[_0x3edb7e(0x271)]=_0x5bf2de==null?void 0x0:_0x5bf2de['text']);}static['drawWith'](_0x1953aa,_0x1ba3ba){const _0x29bdfa=_0x38fc52,{text:_0x462c9c,color:_0x3b9889}=_0x1ba3ba;_0x1953aa[_0x29bdfa(0x229)](),_0x1953aa[_0x29bdfa(0x118)]=_0x29bdfa(0x226);const _0x461fe7=_0x1953aa['measureText'](_0x462c9c)[_0x29bdfa(0x1fb)],_0x278d48=Math[_0x29bdfa(0x184)](_0x461fe7+0x2*me,Qe);Oi(_0x1953aa,{'height':ee,'radius':0x4,'width':_0x278d48,'fill':_0x3b9889}),_0x1953aa[_0x29bdfa(0x11f)]=_0x29bdfa(0x2b1);const _0x21acbb=me,_0x201d9d=ee-Ei,_0x460b39=Qe-0x2*me;if(_0x461fe7>_0x460b39){let _0x1cca74='',_0x49ad4b=0x0;for(const _0x288c26 of _0x462c9c){const _0x5ec817=_0x1953aa['measureText'](_0x288c26)[_0x29bdfa(0x1fb)];if(_0x49ad4b+_0x5ec817<=_0x460b39-_0x1953aa[_0x29bdfa(0x204)](_0x29bdfa(0x1f1))[_0x29bdfa(0x1fb)])_0x1cca74+=_0x288c26,_0x49ad4b+=_0x5ec817;else{_0x1cca74+=_0x29bdfa(0x1f1);break;}}_0x1953aa[_0x29bdfa(0x1cf)](_0x1cca74,_0x21acbb,_0x201d9d);}else _0x1953aa['fillText'](_0x462c9c,_0x21acbb,_0x201d9d);_0x1953aa[_0x29bdfa(0x234)]();}[_0x38fc52(0x1e2)](_0xe4d3b){he['drawWith'](_0xe4d3b,this);}}const Ie='collab-text-anchor-',bi=_0x38fc52(0x2bf),Ti=_0x38fc52(0x239),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x38fc52(0x2bb);class qe{constructor(_0x14e7bc,_0x1980f5,_0x2210a7,_0x5ab86b){const _0x49aafa=_0x38fc52;_(this,_0x49aafa(0x1a9),[]),_(this,_0x49aafa(0x2cc),null),_(this,_0x49aafa(0x1df),null),_(this,_0x49aafa(0x1b7),null),_(this,'_hideTimer',null),_(this,'_eventUnsubscribe',null),(this[_0x49aafa(0x1ac)]=_0x14e7bc,this[_0x49aafa(0x278)]=_0x1980f5,this['_docSkeleton']=_0x2210a7,this[_0x49aafa(0x1d6)]=_0x5ab86b,this[_0x49aafa(0x1f0)]());}set[_0x38fc52(0x1c9)](_0x11d104){const _0x623939=_0x38fc52;_0x11d104?(this['_anchorDot']&&this['_anchorDot'][_0x623939(0x10c)](),this[_0x623939(0x1df)]&&this[_0x623939(0x1df)][_0x623939(0x238)]()):(this[_0x623939(0x1b7)]&&this[_0x623939(0x1b7)][_0x623939(0x238)](),this[_0x623939(0x1df)]&&this[_0x623939(0x1df)]['hide']());}[_0x38fc52(0x195)](){const _0x3e88a9=_0x38fc52;for(const _0x330222 of this[_0x3e88a9(0x1a9)])_0x330222['dispose']();this[_0x3e88a9(0x1df)]&&this[_0x3e88a9(0x1df)][_0x3e88a9(0x195)](),this[_0x3e88a9(0x1b7)]&&this[_0x3e88a9(0x1b7)][_0x3e88a9(0x195)](),this['_anchor']&&this[_0x3e88a9(0x2cc)][_0x3e88a9(0x195)](),this[_0x3e88a9(0x28a)]&&this[_0x3e88a9(0x28a)]();}[_0x38fc52(0x1f0)](){const _0x252c7a=_0x38fc52;var _0x2f6d26;const {_docSkeleton:_0x3618dd,_document:_0x5d7dd4}=this,{color:_0x1eecd3,name:_0x21690a,ranges:_0x537819}=this[_0x252c7a(0x1ac)],_0x498e30=_0x5d7dd4[_0x252c7a(0x270)](),{docsLeft:_0x549d9e,docsTop:_0x46a3d1}=_0x498e30,_0x4727eb=new _0x5848a7(_0x498e30,_0x3618dd);for(const {startOffset:_0x3ef1d6,endOffset:_0xe3ba8c,rangeType:_0x509fdf,segmentId:_0x2430a6,segmentPage:_0x5a7bdb,collapsed:_0x1757a0,isActive:_0x35b94e}of _0x537819){const _0x32ee98=_0x3618dd['findNodePositionByCharIndex'](_0x3ef1d6,!0x0,_0x2430a6,_0x5a7bdb);let _0x470eee=_0x3618dd[_0x252c7a(0x20f)](_0xe3ba8c,!0x0,_0x2430a6,_0x5a7bdb);if(_0x470eee==null&&(_0x470eee=_0x3618dd[_0x252c7a(0x20f)](_0xe3ba8c-0x1,!0x1,_0x2430a6,_0x5a7bdb)),_0x35b94e){const {contentBoxPointGroup:_0x426010}=_0x4727eb['getRangePointData'](_0x470eee,_0x470eee);if(_0x426010[_0x252c7a(0x269)]===0x0)continue;this[_0x252c7a(0x2a2)](_0x1eecd3,_0x426010,_0x549d9e,_0x46a3d1,_0x21690a),this[_0x252c7a(0x28a)]=this['_handleHover']();}if(_0x32ee98&&_0x470eee){if(_0x509fdf===_0x5b70d6[_0x252c7a(0x27d)]){const _0x5023e2=new _0x125486(_0x498e30,_0x3618dd),{pointGroup:_0x7c4308}=(_0x2f6d26=_0x5023e2[_0x252c7a(0x18c)](_0x32ee98,_0x470eee))!=null?_0x2f6d26:{};if(_0x7c4308==null||_0x7c4308[_0x252c7a(0x269)]===0x0)continue;this[_0x252c7a(0xd5)](_0x1eecd3,_0x7c4308,_0x549d9e,_0x46a3d1);}else{if(!_0x1757a0){const {borderBoxPointGroup:_0x50a3ec}=_0x4727eb[_0x252c7a(0x18c)](_0x32ee98,_0x470eee);if(_0x50a3ec[_0x252c7a(0x269)]===0x0)continue;this[_0x252c7a(0x2c1)](_0x1eecd3,_0x50a3ec,_0x549d9e,_0x46a3d1);}}}}}[_0x38fc52(0x2a2)](_0x193feb,_0x1f1146,_0xd5ac5e,_0x1951ba,_0x57ac0c){const _0x47c2d6=_0x38fc52,_0x303f5e=this[_0x47c2d6(0x25a)](_0x1f1146),{left:_0x58af49,top:_0x43876e,height:_0x13c092}=_0x303f5e,_0x677ed8=this['_getScale'](),_0x153714=Di/_0x677ed8,_0x688377=new _0x5f2004(Ie+_0x128666[_0x47c2d6(0x2aa)](X),{'left':_0x58af49+_0xd5ac5e-_0x153714,'top':_0x43876e+_0x1951ba,'height':_0x13c092,'width':Ri,'fill':_0x193feb||_0x32d24d(_0x4948d9['black'],0x0),'strokeWidth':_0x153714,'stroke':Ni,'evented':!0x0});this['_anchor']=_0x688377,this['_scene'][_0x47c2d6(0x171)](_0x688377,_0x249355);const _0x1db282=new _0x5f2004(Ie+_0x128666[_0x47c2d6(0x2aa)](X),{'left':_0x58af49+_0xd5ac5e-_0x153714,'top':_0x43876e+_0x1951ba-ge/0x2,'height':ge,'width':ge,'fill':_0x193feb||_0x32d24d(_0x4948d9[_0x47c2d6(0x117)],0x0),'strokeWidth':0x0,'stroke':_0x193feb||_0x32d24d(_0x4948d9[_0x47c2d6(0x117)],0x0),'evented':!0x1});this[_0x47c2d6(0x1b7)]=_0x1db282,this[_0x47c2d6(0x278)]['addObject'](_0x1db282,_0x249355);const _0x1e44d3=new he(Ie+_0x128666[_0x47c2d6(0x2aa)](X),{'left':_0x58af49+_0xd5ac5e-_0x153714,'top':_0x43876e+_0x1951ba-ee,'text':_0x57ac0c,'color':_0x193feb});this[_0x47c2d6(0x1df)]=_0x1e44d3,this['_scene'][_0x47c2d6(0x171)](_0x1e44d3,_0x249355),this[_0x47c2d6(0x1c9)]=!0x1;}[_0x38fc52(0xf8)](){const _0x2e633b=_0x38fc52,_0x37e0e4=this[_0x2e633b(0x2cc)][_0x2e633b(0x170)][_0x2e633b(0x295)](()=>{const _0x57c4f9=_0x2e633b;this[_0x57c4f9(0x1c9)]=!0x0;}),_0x8cf021=this[_0x2e633b(0x2cc)][_0x2e633b(0x258)][_0x2e633b(0x295)](()=>{const _0x3f60b2=_0x2e633b;this['_hideTimer']&&clearTimeout(this[_0x3f60b2(0x172)]),this['_hideTimer']=setTimeout(()=>{const _0x37e5a6=_0x3f60b2;this[_0x37e5a6(0x1c9)]=!0x1;},0x7d0);});return()=>{const _0x368695=_0x2e633b;_0x37e0e4[_0x368695(0x29a)](),_0x8cf021[_0x368695(0x29a)]();};}[_0x38fc52(0x2c1)](_0x21c353,_0x1df3ba,_0x3282aa,_0x37919b){const _0x367030=_0x38fc52,_0x94198a=new _0x44c820(_0x21c353)[_0x367030(0xfc)](0.2)[_0x367030(0x227)](),_0x347fd4=new _0x1a4834(bi+_0x128666['generateRandomId'](X),{'pointsGroup':_0x1df3ba,'fill':_0x94198a||_0x32d24d(_0x4948d9[_0x367030(0x117)],0.2),'left':_0x3282aa,'top':_0x37919b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x367030(0x1a9)][_0x367030(0x13e)](_0x347fd4),this[_0x367030(0x278)][_0x367030(0x171)](_0x347fd4,_0x249355);}[_0x38fc52(0xd5)](_0x38fed2,_0xd473b0,_0x55ee03,_0x5dee22){const _0x45b95e=_0x38fc52,_0x5d5a62=new _0x44c820(_0x38fed2)['setAlpha'](0.2)[_0x45b95e(0x227)](),_0x45db17=new _0x1a4834(Ti+_0x128666['generateRandomId'](X),{'pointsGroup':_0xd473b0,'fill':_0x5d5a62||_0x32d24d(_0x4948d9[_0x45b95e(0x117)],0.2),'left':_0x55ee03,'top':_0x5dee22,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x45b95e(0x1a9)][_0x45b95e(0x13e)](_0x45db17),this[_0x45b95e(0x278)][_0x45b95e(0x171)](_0x45db17,_0x249355);}['_getAnchorBounding'](_0x18182d){const _0x59afec=_0x18182d[0x0],_0x171556=_0x59afec[0x0],_0xc472d4=_0x59afec[0x2],{x:_0x6490da,y:_0x3da315}=_0x171556,{x:_0x404b9c,y:_0x3f36d2}=_0xc472d4;return{'left':_0x6490da,'top':_0x3da315,'width':_0x404b9c-_0x6490da,'height':_0x3f36d2-_0x3da315};}[_0x38fc52(0x173)](){const _0x2a9c10=_0x38fc52,{scaleX:_0x199ba1,scaleY:_0x10e543}=this[_0x2a9c10(0x278)][_0x2a9c10(0x19d)]();return Math[_0x2a9c10(0x12f)](_0x199ba1,_0x10e543);}}var Ui=Object[_0x38fc52(0x11d)],Mi=(_0x52e10a,_0x254023,_0x5af095,_0x3307eb)=>{for(var _0x3e9236=_0x3307eb>0x1?void 0x0:_0x3307eb?Ui(_0x254023,_0x5af095):_0x254023,_0x450749=_0x52e10a['length']-0x1,_0x26a24b;_0x450749>=0x0;_0x450749--)(_0x26a24b=_0x52e10a[_0x450749])&&(_0x3e9236=_0x26a24b(_0x3e9236)||_0x3e9236);return _0x3e9236;},Z=(_0x5c5fff,_0x86ee2)=>(_0xfcc684,_0x20cd83)=>_0x86ee2(_0xfcc684,_0x20cd83,_0x5c5fff);let Le=class extends _0x1b1f7c{constructor(_0x8ad84f,_0x5e3864,_0x3fbf86,_0x1de8e4,_0xb32698){const _0x159845=_0x38fc52;super(),_(this,_0x159845(0x1a5),[]),_(this,_0x159845(0x284),[]),(this['_context']=_0x8ad84f,this[_0x159845(0x274)]=_0x5e3864,this['_collabCursorController']=_0x3fbf86,this[_0x159845(0x205)]=_0x1de8e4,this['_themeService']=_0xb32698,this['_init']());}[_0x38fc52(0x11e)](){const _0x11f098=_0x38fc52,_0x268d0b=this[_0x11f098(0x286)][_0x11f098(0x2b3)],_0x49917e=this['_docSkeletonManagerService'];this[_0x11f098(0x2c9)](_0xb34ae([this[_0x11f098(0x283)][_0x11f098(0x1c3)](_0x268d0b),this[_0x11f098(0x263)]['currentTheme$']])[_0x11f098(0x2bd)](_0x1da4f9(([_0x422e6b,_0x158860])=>({'skeleton':_0x49917e[_0x11f098(0x237)](),'cursors':[..._0x422e6b[_0x11f098(0x20b)]()][_0x11f098(0xf2)](_0x2a8d7b=>({..._0x2a8d7b,'color':this[_0x11f098(0x263)][_0x11f098(0x2b2)](_0x2a8d7b[_0x11f098(0x1e6)])}))})))['subscribe'](_0x224660=>{const _0x31a6ea=_0x11f098;if(this[_0x31a6ea(0xef)](),_0x224660){const {skeleton:_0x15129d,cursors:_0x4524b2}=_0x224660;this[_0x31a6ea(0x21f)](_0x15129d,_0x4524b2);}})),this[_0x11f098(0x1a4)](),this['_initCommandExecutedListener']();}[_0x38fc52(0x21f)](_0x31ac07,_0x31ca48){const _0x108417=_0x38fc52,{scene:_0x3f8c1f,mainComponent:_0x19cc0d}=this[_0x108417(0x286)],_0x17149d=_0x31ca48['map'](_0x3f8f28=>new qe(_0x3f8f28,_0x3f8c1f,_0x31ac07,_0x19cc0d));this[_0x108417(0x1a5)]=_0x17149d,this[_0x108417(0x284)]=_0x31ca48;}[_0x38fc52(0x161)](){const _0x14fdcd=_0x38fc52;this[_0x14fdcd(0xef)]();const {scene:_0x2e54ce,mainComponent:_0x2a49dc}=this['_context'],_0xebce94=this[_0x14fdcd(0x274)][_0x14fdcd(0x237)](),_0x1446e1=this[_0x14fdcd(0x284)]['map'](_0x47e480=>new qe(_0x47e480,_0x2e54ce,_0xebce94,_0x2a49dc));this[_0x14fdcd(0x1a5)]=_0x1446e1;}['_removeCollabCursors'](){const _0x428801=_0x38fc52;this[_0x428801(0x1a5)][_0x428801(0x186)](_0x994ddb=>_0x994ddb[_0x428801(0x195)]()),this[_0x428801(0x1a5)]=[];}[_0x38fc52(0x201)](){const _0x555cc6=_0x38fc52,_0x2b9d25=[_0x1c37d5['id']];this[_0x555cc6(0x2c9)](this[_0x555cc6(0x205)][_0x555cc6(0x178)](_0x2cbc2b=>{const _0x79754d=_0x555cc6;_0x2b9d25['includes'](_0x2cbc2b['id'])&&_0x2cbc2b[_0x79754d(0x217)][_0x79754d(0x2b3)]===this[_0x79754d(0x286)][_0x79754d(0x2b3)]&&this[_0x79754d(0x161)]();}));}[_0x38fc52(0x1a4)](){const _0x191194=_0x38fc52;this[_0x191194(0x2c9)](_0x1106ba(this[_0x191194(0x286)][_0x191194(0x2b5)]['onTransformChange$'])[_0x191194(0x2bd)](_0x4848db(_0x3ebb70=>_0x3ebb70['type']===_0x2e9176[_0x191194(0x18e)]),_0x4459a7(0x10))[_0x191194(0x26e)](()=>{const _0x102cb5=_0x191194;this[_0x102cb5(0x161)]();}));}};Le=Mi([Z(0x1,_0x9b1a66(_0x5d3670)),Z(0x2,_0x9b1a66(H)),Z(0x3,_0x349e65),Z(0x4,_0x9b1a66(_0x20b63c))],Le);const Li=0x1,Pi=1.5;class wi extends _0x2bb12a{constructor(_0x1dcf06,_0x2e17d6){const _0x4bc534=_0x38fc52;super(_0x1dcf06,_0x2e17d6),_(this,_0x4bc534(0x137)),_(this,_0x4bc534(0xdf),!0x1),_(this,_0x4bc534(0x2b0)),_(this,_0x4bc534(0x1dc),''),_(this,_0x4bc534(0xe7),'top'),_(this,_0x4bc534(0xd3)),(_0x2e17d6&&this[_0x4bc534(0x1f7)](_0x2e17d6),this[_0x4bc534(0x170)][_0x4bc534(0x295)](()=>this[_0x4bc534(0x1f7)]({'hovered':!0x0})),this[_0x4bc534(0x258)][_0x4bc534(0x295)](()=>this[_0x4bc534(0x1f7)]({'hovered':!0x1})));}['setShapeProps'](_0x156f89){const _0x27a5df=_0x38fc52;var _0x1d7b99,_0x2a69e7,_0x3b8b48,_0x50bfb5,_0x3efd15,_0x581ef3;this['_color']=(_0x1d7b99=_0x156f89[_0x27a5df(0x1e6)])!=null?_0x1d7b99:this[_0x27a5df(0x137)],this[_0x27a5df(0xdf)]=(_0x2a69e7=_0x156f89[_0x27a5df(0x14b)])!=null?_0x2a69e7:this[_0x27a5df(0xdf)],this[_0x27a5df(0x2b0)]=(_0x3b8b48=_0x156f89[_0x27a5df(0x20e)])!=null?_0x3b8b48:this[_0x27a5df(0x2b0)],this[_0x27a5df(0x1dc)]=(_0x50bfb5=_0x156f89[_0x27a5df(0x2ac)])!=null?_0x50bfb5:this[_0x27a5df(0x1dc)],this[_0x27a5df(0xe7)]=(_0x3efd15=_0x156f89[_0x27a5df(0x183)])!=null?_0x3efd15:this[_0x27a5df(0xe7)],this[_0x27a5df(0xd3)]=(_0x581ef3=_0x156f89[_0x27a5df(0x2b4)])!=null?_0x581ef3:this['_backgroundColor'],this[_0x27a5df(0x27f)]({'width':_0x156f89[_0x27a5df(0x1fb)],'height':_0x156f89[_0x27a5df(0x1e8)]});}[_0x38fc52(0x1f4)](_0x5e34b7){const _0xde0d45=_0x38fc52,{row:_0xa2f4aa,column:_0x14e5b5}=_0x5e34b7;if(_0xa2f4aa>=this[_0xde0d45(0x2b0)]['startRow']&&_0xa2f4aa<=this[_0xde0d45(0x2b0)][_0xde0d45(0x206)]&&_0x14e5b5>=this[_0xde0d45(0x2b0)]['startColumn']&&_0x14e5b5<=this['_range'][_0xde0d45(0x272)]){this[_0xde0d45(0x1f7)]({'hovered':!0x0});return;}this[_0xde0d45(0x1f7)]({'hovered':!0x1});}[_0x38fc52(0xeb)](_0x46e3b6){return!0x1;}[_0x38fc52(0x1e2)](_0x101095){const _0x4c062d=_0x38fc52;_0x5f2004['drawWith'](_0x101095,{'width':this[_0x4c062d(0x1fb)],'height':this[_0x4c062d(0x1e8)],'strokeWidth':Pi,'stroke':this[_0x4c062d(0x137)],'evented':!0x1,'fill':this[_0x4c062d(0xd3)]}),this['_hovered']&&(_0x101095[_0x4c062d(0x229)](),_0x101095[_0x4c062d(0x24b)](0x1,0x0,0x0,0x1,this[_0x4c062d(0x1fb)],this['_labelPosition']==='bottom'?0x0:-0x14),he[_0x4c062d(0x15b)](_0x101095,{'text':this['_name'],'color':this[_0x4c062d(0x137)]}),_0x101095['restore']());}}var Ai=Object[_0x38fc52(0x11d)],yi=(_0x432bc6,_0x507880,_0x4e2c04,_0x17fb89)=>{const _0x3547f0=_0x38fc52;for(var _0x644564=_0x17fb89>0x1?void 0x0:_0x17fb89?Ai(_0x507880,_0x4e2c04):_0x507880,_0x6a3dc6=_0x432bc6[_0x3547f0(0x269)]-0x1,_0x5125c5;_0x6a3dc6>=0x0;_0x6a3dc6--)(_0x5125c5=_0x432bc6[_0x6a3dc6])&&(_0x644564=_0x5125c5(_0x644564)||_0x644564);return _0x644564;},ve=(_0x13ab10,_0x200ccd)=>(_0x553f5b,_0x3dcc7e)=>_0x200ccd(_0x553f5b,_0x3dcc7e,_0x13ab10);const $i=0x1389;let Pe=class extends _0x1b1f7c{constructor(_0x347f55,_0x4a59f9,_0x49788c,_0x54f4f1){const _0x41a8bd=_0x38fc52;super(),_(this,'_cursors',new Set()),_(this,_0x41a8bd(0x2a9),null),(this[_0x41a8bd(0x286)]=_0x347f55,this[_0x41a8bd(0xd7)]=_0x4a59f9,this[_0x41a8bd(0x283)]=_0x49788c,this[_0x41a8bd(0x263)]=_0x54f4f1,this[_0x41a8bd(0x11e)]());}[_0x38fc52(0x11e)](){const _0x1944b3=_0x38fc52;this[_0x1944b3(0xd7)][_0x1944b3(0x157)][_0x1944b3(0x2bd)](_0xd13f64(this[_0x1944b3(0x2b6)]),_0x18e6bc(_0x52d0d9=>{const _0x24f272=_0x1944b3;if(_0x52d0d9){const _0x45ea3e=_0x52d0d9[_0x24f272(0x1f3)];return _0xb34ae(this[_0x24f272(0x283)][_0x24f272(0x1c3)](this['_context']['unitId']),this['_themeService'][_0x24f272(0x1da)])[_0x24f272(0x2bd)](_0x1da4f9(([_0x358ddf,_0x3589da])=>{const _0x2dad4b=_0x24f272,_0x22c5b1=new Map();return _0x358ddf[_0x2dad4b(0x186)]((_0xafcb10,_0xbc0bd6)=>{const _0x3f6a60=_0x2dad4b;if(_0xafcb10[_0x3f6a60(0x17c)]===_0x45ea3e){const _0xb32e2={..._0xafcb10};_0xb32e2['color']=this['_themeService'][_0x3f6a60(0x2b2)](_0xafcb10[_0x3f6a60(0x1e6)]),_0x22c5b1['set'](_0xbc0bd6,_0xb32e2);}}),{'skeleton':_0x52d0d9,'cursors':_0x22c5b1};}));}return _0x28b09b({'skeleton':null,'cursors':new Map()});}))[_0x1944b3(0x26e)](({skeleton:_0x185efd,cursors:_0x215719})=>{const _0x424de5=_0x1944b3;this['_removeCollabCursors'](),_0x185efd&&this[_0x424de5(0x21f)](_0x185efd,_0x215719);}),this[_0x1944b3(0xd7)]['currentSkeleton$'][_0x1944b3(0x26e)](_0x27fcc4=>{const _0x27ff95=_0x1944b3;if(_0x27fcc4==null)return;const {skeleton:_0x4e8839}=_0x27fcc4,{scene:_0x222615}=this['_context'];_0x222615[_0x27ff95(0x1e5)]['subscribeEvent'](_0x3827ab(_0x1ac598=>{const _0x3d1a5c=_0x27ff95;var _0x4600a1,_0x14f3f4;const {offsetX:_0x14e469,offsetY:_0x1325b0}=_0x1ac598,{x:_0x36ed4e,y:_0x24a1ad}=_0x222615['getRelativeToViewportCoord'](_0x4f0060['FromArray']([_0x14e469,_0x1325b0])),{scaleX:_0x2357c3,scaleY:_0x178449}=_0x222615[_0x3d1a5c(0x19d)](),_0x5a3d07=_0x222615[_0x3d1a5c(0x1fe)](_0x14a60d[_0x3d1a5c(0x23d)]),_0x5d1aa0=_0x222615[_0x3d1a5c(0x1dd)](_0x4f0060[_0x3d1a5c(0x2ca)]([_0x36ed4e,_0x24a1ad]),_0x5a3d07),_0x162537=_0x4e8839[_0x3d1a5c(0x185)](_0x14e469,_0x1325b0,_0x2357c3,_0x178449,_0x5d1aa0);((_0x4600a1=this[_0x3d1a5c(0x2a9)])==null?void 0x0:_0x4600a1['column'])===_0x162537[_0x3d1a5c(0x2d0)]&&((_0x14f3f4=this[_0x3d1a5c(0x2a9)])==null?void 0x0:_0x14f3f4['row'])===_0x162537[_0x3d1a5c(0x1fa)]||this[_0x3d1a5c(0x284)]['forEach'](_0x23715f=>{const _0x167595=_0x3d1a5c;_0x23715f[_0x167595(0x1f4)](_0x162537);});},0x64));});}[_0x38fc52(0x21f)](_0x290cab,_0x3775cc){const _0x537dd0=_0x38fc52;var _0x4b49fa;const _0x2789b1=(_0x4b49fa=this[_0x537dd0(0xd7)][_0x537dd0(0x2a7)]())==null?void 0x0:_0x4b49fa['skeleton'];if(!_0x2789b1)return;const _0x235e37=this['_getSheetObject']();if(!_0x235e37)return;this[_0x537dd0(0x284)]['forEach'](_0x14d11a=>{const _0x2811bd=_0x537dd0;_0x14d11a[_0x2811bd(0xed)]();});const {scene:_0x12676f}=_0x235e37,_0x3a466d=xi(Array['from'](_0x3775cc[_0x537dd0(0x20b)]()))[_0x537dd0(0x1d1)](_0x2baf3b=>{const _0x417056=_0x537dd0,{color:_0x4f0587,range:_0x39704d,name:_0x43324d,selection:_0x1e2cc4,sheetID:_0x387963}=_0x2baf3b,{startColumn:_0xbaefb7,startRow:_0x163ba7,endColumn:_0xd8b2b7,endRow:_0x688167}=_0x39704d,_0x14da86=_0x30c90e(_0x163ba7,_0xbaefb7,_0x12676f,_0x2789b1),_0x1dafce=_0x30c90e(_0x688167,_0xd8b2b7,_0x12676f,_0x2789b1),{columnHeaderHeightAndMarginTop:_0x24a50f}=_0x2789b1,{startX:_0x121097,startY:_0x4abc19}=_0x14da86,{endX:_0x565d9f,endY:_0x4a31f7}=_0x1dafce,_0x2fe36b=_0x565d9f-_0x121097,_0x1a3d38=_0x4a31f7-_0x4abc19,_0x266b43={'labelPosition':_0x4abc19-_0x24a50f>=ee?_0x417056(0x147):_0x417056(0x140),'sheetID':_0x387963,'range':_0x39704d,'color':_0x4f0587,'name':_0x43324d,'selection':_0x1e2cc4,'left':_0x121097,'top':_0x4abc19,'width':_0x2fe36b,'height':_0x1a3d38,'evented':!0x1,'zIndex':$i};return new wi(_0x43324d,_0x266b43);});_0x12676f['addObjects'](_0x3a466d,Li),this[_0x537dd0(0x284)]=new Set(_0x3a466d);}[_0x38fc52(0xef)](){const _0x5b5256=_0x38fc52;var _0x36467d;(_0x36467d=this['_cursors'])==null||_0x36467d['forEach'](_0x59f815=>_0x59f815[_0x5b5256(0x195)]());}[_0x38fc52(0xe1)](){const _0x1786ee=_0x38fc52;return _0x484ae5(this[_0x1786ee(0x286)]['unit'],this[_0x1786ee(0x286)]);}};Pe=yi([ve(0x1,_0x9b1a66(_0x22ba38)),ve(0x2,_0x9b1a66(H)),ve(0x3,_0x9b1a66(_0x20b63c))],Pe);function xi(_0x40eae9){const _0x3a095c=_0x38fc52,_0x371e94=new Map();return _0x40eae9[_0x3a095c(0x186)](_0x4d854b=>{const _0x131a12=_0x3a095c;if(_0x371e94[_0x131a12(0x1ea)](_0x4d854b['selection'])){const _0x52d416=_0x371e94[_0x131a12(0x1b6)](_0x4d854b[_0x131a12(0x23e)]);_0x52d416[_0x131a12(0x2ac)]+=',\x20'+_0x4d854b['name'];}else _0x371e94[_0x131a12(0x18a)](_0x4d854b['selection'],_0x4d854b);}),Array['from'](_0x371e94[_0x3a095c(0x20b)]());}var v=function(){const _0x5ee2d6=_0x38fc52;return v=Object[_0x5ee2d6(0x120)]||function(_0x3e3727){const _0x5453d3=_0x5ee2d6;for(var _0x2c5145,_0x369910=0x1,_0x4077a1=arguments['length'];_0x369910<_0x4077a1;_0x369910++){_0x2c5145=arguments[_0x369910];for(var _0x558f66 in _0x2c5145)Object[_0x5453d3(0x223)]['hasOwnProperty'][_0x5453d3(0x10d)](_0x2c5145,_0x558f66)&&(_0x3e3727[_0x558f66]=_0x2c5145[_0x558f66]);}return _0x3e3727;},v[_0x5ee2d6(0xff)](this,arguments);},Bi=function(_0x1a9de6,_0x5c222d){const _0x271f23=_0x38fc52;var _0x38a1eb={};for(var _0x55eee6 in _0x1a9de6)Object['prototype'][_0x271f23(0x15a)][_0x271f23(0x10d)](_0x1a9de6,_0x55eee6)&&_0x5c222d[_0x271f23(0x159)](_0x55eee6)<0x0&&(_0x38a1eb[_0x55eee6]=_0x1a9de6[_0x55eee6]);if(_0x1a9de6!=null&&typeof Object[_0x271f23(0x264)]==_0x271f23(0x240)){for(var _0x200c71=0x0,_0x55eee6=Object['getOwnPropertySymbols'](_0x1a9de6);_0x200c71<_0x55eee6[_0x271f23(0x269)];_0x200c71++)_0x5c222d[_0x271f23(0x159)](_0x55eee6[_0x200c71])<0x0&&Object[_0x271f23(0x223)]['propertyIsEnumerable'][_0x271f23(0x10d)](_0x1a9de6,_0x55eee6[_0x200c71])&&(_0x38a1eb[_0x55eee6[_0x200c71]]=_0x1a9de6[_0x55eee6[_0x200c71]]);}return _0x38a1eb;},Fe=_0x307066(function(_0x4bb04c,_0x3999f6){const _0x4c3ca5=_0x38fc52;var _0x31d515=_0x4bb04c[_0x4c3ca5(0x1be)],_0x2349b7=_0x4bb04c['id'],_0x1cb06d=_0x4bb04c['className'],_0x2c6b99=_0x4bb04c[_0x4c3ca5(0x1f6)],_0x51d3d0=Bi(_0x4bb04c,[_0x4c3ca5(0x1be),'id',_0x4c3ca5(0x247),_0x4c3ca5(0x1f6)]),_0x59a3c4='univerjs-icon\x20univerjs-icon-'[_0x4c3ca5(0x297)](_0x2349b7,'\x20')[_0x4c3ca5(0x297)](_0x1cb06d||'')[_0x4c3ca5(0x149)](),_0x2a205d=_0x48d0a2('_'['concat'](Fi()));return Rt(_0x31d515,''[_0x4c3ca5(0x297)](_0x2349b7),{'defIds':_0x31d515[_0x4c3ca5(0x25b)],'idSuffix':_0x2a205d[_0x4c3ca5(0x1ad)]},v({'ref':_0x3999f6,'className':_0x59a3c4},_0x51d3d0),_0x2c6b99);});function Rt(_0x32961b,_0x13f60f,_0x532718,_0x47bb4a,_0x44a5d2){const _0x986995=_0x38fc52;return _0x29ffd6(_0x32961b[_0x986995(0x27e)],v(v({'key':_0x13f60f},ki(_0x32961b,_0x532718,_0x44a5d2)),_0x47bb4a),(Hi(_0x32961b,_0x532718)['children']||[])[_0x986995(0x1d1)](function(_0xabdd6,_0x4f7c4b){const _0x50138b=_0x986995;return Rt(_0xabdd6,''[_0x50138b(0x297)](_0x13f60f,'-')[_0x50138b(0x297)](_0x32961b[_0x50138b(0x27e)],'-')['concat'](_0x4f7c4b),_0x532718,void 0x0,_0x44a5d2);}));}function ki(_0x5dc285,_0x20efaa,_0x421d3f){const _0x2127e9=_0x38fc52;var _0x40d8c6=v({},_0x5dc285[_0x2127e9(0x1b5)]);_0x421d3f!=null&&_0x421d3f[_0x2127e9(0xfb)]&&_0x40d8c6['fill']==='colorChannel1'&&(_0x40d8c6['fill']=_0x421d3f[_0x2127e9(0xfb)]),_0x5dc285[_0x2127e9(0x27e)]===_0x2127e9(0x23c)&&_0x40d8c6['id']&&(_0x40d8c6['id']=_0x40d8c6['id']+_0x20efaa['idSuffix']),Object['entries'](_0x40d8c6)[_0x2127e9(0x186)](function(_0x5ee673){const _0x1e339a=_0x2127e9;var _0x3e1286=_0x5ee673[0x0],_0x48578d=_0x5ee673[0x1];_0x3e1286===_0x1e339a(0x23c)&&typeof _0x48578d=='string'&&(_0x40d8c6[_0x3e1286]=_0x48578d['replace'](/url\(#(.*)\)/,'url(#$1'[_0x1e339a(0x297)](_0x20efaa[_0x1e339a(0x1cc)],')')));});var _0x2dcb28=_0x20efaa[_0x2127e9(0x25b)];return!_0x2dcb28||_0x2dcb28[_0x2127e9(0x269)]===0x0||(_0x5dc285['tag']===_0x2127e9(0x1e3)&&_0x40d8c6[_0x2127e9(0xee)]&&(_0x40d8c6[_0x2127e9(0xee)]=_0x40d8c6['xlink:href']+_0x20efaa[_0x2127e9(0x1cc)]),Object['entries'](_0x40d8c6)[_0x2127e9(0x186)](function(_0xf6cc06){const _0x2a657c=_0x2127e9;var _0x57f553=_0xf6cc06[0x0],_0x2f2c37=_0xf6cc06[0x1];typeof _0x2f2c37==_0x2a657c(0x106)&&(_0x40d8c6[_0x57f553]=_0x2f2c37['replace'](/url\(#(.*)\)/,_0x2a657c(0x2c7)[_0x2a657c(0x297)](_0x20efaa['idSuffix'],')')));})),_0x40d8c6;}function Hi(_0x5c3d9b,_0x44e945){const _0x501b59=_0x38fc52;var _0x517623,_0x28d1fe=_0x44e945[_0x501b59(0x25b)];return!_0x28d1fe||_0x28d1fe[_0x501b59(0x269)]===0x0?_0x5c3d9b:_0x5c3d9b[_0x501b59(0x27e)]===_0x501b59(0x212)&&(!((_0x517623=_0x5c3d9b[_0x501b59(0x18d)])===null||_0x517623===void 0x0)&&_0x517623[_0x501b59(0x269)])?v(v({},_0x5c3d9b),{'children':_0x5c3d9b[_0x501b59(0x18d)][_0x501b59(0x1d1)](function(_0x48928f){const _0x38e34b=_0x501b59;return typeof _0x48928f['attrs']['id']==_0x38e34b(0x106)&&_0x28d1fe&&_0x28d1fe['includes'](_0x48928f[_0x38e34b(0x1b5)]['id'])?v(v({},_0x48928f),{'attrs':v(v({},_0x48928f['attrs']),{'id':_0x48928f[_0x38e34b(0x1b5)]['id']+_0x44e945[_0x38e34b(0x1cc)]})}):_0x48928f;})}):_0x5c3d9b;}function Fi(){const _0x5ae2be=_0x38fc52;return Math[_0x5ae2be(0x19a)]()[_0x5ae2be(0xcc)](0x24)[_0x5ae2be(0xd6)](0x2,0x8);}function _0x5ece(){const _0x571152=['APPLY_REJECT','PY_RUNTIME_SCRIPT_ERROR','_handleHover','Warning','SNAPSHOT_HAS_BEEN_REMOVED','colorChannel1','setAlpha','TEXT','20YUUWmW','apply','_collaborationUIEventService','setItem','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','OffLineIcon','_unitOnClients','APPLY_REVISION_CONFILICT','string','_imageIoService','docStateChange$','stringify','collaboration.closeRoom','saveOfflineData','hide','call','_cursorInfo$','_getSessionTicket','collabStatus.synced','INTERNAL_ERROR','_registerDependencies','_session','_selfUnitIDs','2361ThJRvA','all','black','font','getMember','collabCursorState$','jiqing.500','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getOwnPropertyDescriptor','_init','fillStyle','assign','getFocusedUnit','YUUMI_SUBSCRIPTION_NOT_FOUND','cursorInfo','addEventListener','_send','_setupBeforeClosingHandler','1520666kkrmkL','LICENSE_DISTRO_REJECTED','RemoveRowCommandId','loadUnit','_registerRenderDependencies','moveTo','asObservable','10gbkfPR','max','then','APPLY_DUPLICATED','setTimeout','DeleteRangeMoveLeftCommandId','origin','_cachedData','removeParam','_color','_scheduleHeartbeat','getUnitStatus$','onStarting','0\x200\x2017\x2016','sessionTicket','_updateLocalCursor','push','reconnect','bottom','post','saveTaskMap','yellow.400','assignAColorForMemberID','_injector','_scheduleSaving','top','_refRangeService','trim','wsSessionTicketUrl','hovered','MUTATION','getMergeData','UniverIcon','collabStatus.offline','MOBILE_HAS_BEEN_BOUND','addClipboardHook','storage','location','defineProperty','status$','_localStorageService','currentSkeleton$','m1Prime','indexOf','hasOwnProperty','drawWith','_toggleOffline','url(#off-line-icon_clip0_910_343)','9498753FKkWpp','doc.mutation.rich-text-editing','_renderManagerService','_refreshCollabCursors','symbol','187386ntlJhy','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_toggleOnline','executeCommand','_logService','red.300','1em','_colorAssignService','_memberService','_docTransformIMECacheService','init','evenodd','YUUMI_NO_CUBOID_FOR_QUESTION','onPointerEnter$','addObject','_hideTimer','_getScale','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_updateURLWithCurrentState','split','COMPLETION_FINISHED','onCommandExecuted','result','YUUMI_URL_COL_OUT_OF_RANGE','createInstance','sheetID','LICENSE_IMPORT_SIZE_EXCEEDED','_scheduleClearOtherTimer','transformSelections','USER_NOT_INVITED_CODE','SNAPSHOT_INVALID_SNAPSHOT','AWAITING','labelPosition','min','getCellPositionByOffset','forEach','permission.content','getValue','309428iOZfjm','set','arc','getRangePointData','children','resize','_onRefRangeChange','_roomMembers$','setStateCache','_docStateChangeManagerService','clipPath','_dataLoaderService','dispose','_collaborationController','registerRefRange','_univerInstanceService','getConfig','random','round','delete','getAncestorScale','type','transformMutation','ranges','lineTo','getTypeOfUnitAdded$','WECHAT_HAS_BEEN_BOUND','_initResize','_cursorShapes','unshift','_docTransformSelectionsService','data','_shapes','_collabSessionService','loadOfflineData','_cursor','current','newValue','_messageService','_notificationService','fillRule','pushState','registerBeforeClose','code','attrs','get','_anchorDot','YUUMI_RATE_OVER_LIMIT','EMAIL_VERIFY_CODE_MISMATCH','redoState','transformRemoteChangeset','undoState','off-line-icon','icon','getActiveRange','getUniverSheetInstance','YUUMI_AI_RUN_FAILED','_onCursorDelete','getCollabCursors$','ALREADY_EXISTS','uni.network.url-service','on-line-icon','56WCAyFC','exhaustSavingTask','_hover','sessionStatus$','_docTransformStateCacheService','idSuffix','_heartbeatTimer','searchParams','fillText','onRendered','map','eventID','_initStatusListener','div','MOBILE_VERIFY_CODE_MISMATCH','_document','editingUnit','collaboration.single-unit.warning','Unknown\x20user','currentTheme$','_getSaveTimeout','_name','getVpScrollXYInfoByPosToVp','next','_textBubble','INVITE_CODE_ALREADY_BOUND','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_draw','use','transformStateCache','onPointerMove$','color','_assignedColors','height','USERS_LEAVE','has','setConfig','registerRenderModule','syncEditingCollabCursor','updateOfflineData','history','_render','...','FETCH_MISS','sheetId','onMouseMove','error','extend','setShapeProps','_entities','_beforeCloseService','row','width','DeleteRangeMoveUpCommandId','white','getViewport','getCurrentSelections','TOO_MANY_REQUESTS','_initCommandExecutedListener','_config','_unitStatus','measureText','_commandService','endRow','univer-flex\x20univer-items-center','_disabled','setParam','PERMISSION_DENIED','values','getSheetId','disposeUnit','range','findNodePositionByCharIndex','with','_initStatusComponent','defs','InsertRowCommandId','collabStatus.notCollab','translate(.97)','[CollaborationDataLoaderController]','params','currentColor','YUUMI_UNABLE_LOAD_URL','YUUMI_TABLE_NOT_FOUND_IN_UNIT','InsertColCommandId','clearTimeout','getUnitId','UNAUTHENTICATED','_updateCollabCursors','ONLINE','_handleEvent','focused$','prototype','registerComponent','INVITE_CODE_REQUIRED','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','toRgbString','collaboration-client.offline-data-not-saved','save','APPLY_PERMISSION_DENIED','key','_status$','isActive','_online','contains','ENSURE_SNAPSHOT_EXECUTION','_saveCache','getParam','onLocalMutation','restore','send','path','getSkeleton','show','collab-rect-range-','_entityInit$','OTHER_CLIENTS_EDITING','mask','VIEW_MAIN','selection','_initEvent','function','purple.300','_updateSubUnitFromURLParams','M0\x200H16V16H0z','deepClone','off-line-icon_clip0_910_343','popstate','className','collabStatus.conflict','LICENSE_EXPORT_SIZE_EXCEEDED','NO_OTHER_CLIENTS_EDITING','transform','svg','_revisionService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','on-line-icon_clip0_910_349','href','isEditing','YUUMI_ALL_TABLES_IS_INVALID','body','_urlService','subUnitId','runId','NOT_COLLAB','onPointerLeave$','clearInterval','_getAnchorBounding','defIds','executionId','replaceState','SUBMIT_CHANGESET_TIMEOUT','YUUMI_ASYNCIO_CANCELLED','InsertRangeMoveRightCommandId','debug','UNIVER_SHEET','_themeService','getOwnPropertySymbols','_createSocketURL','_ensureSubject','_doCreateSocket','InsertRangeMoveDownCommandId','length','_colorIndex','_initDependencies','LOGIN_FAILED','_removeClearOtherTimer','subscribe','_docSyncEditingCollabCursorService','getOffsetConfig','text','endColumn','mutations','_docSkeletonManagerService','UNRECOGNIZED','cursorInfo$','INVALID_INVITE_CODE','_scene','UNIVER_DOC','_saveTaskMap','getMemberID','OFFLINE','RECT','tag','transformByState','_onCursorUpdate','_startSheetCollabCursor','blue.400','_collabCursorController','_cursors','165556JJSzQx','_context','_collabCursorState$','getDocRanges','CLOSE_ROOM','_eventUnsubscribe','createSocket','from','getActiveSheet','pluginName','displayName','_uiPartsService','/run/','collab-client.tooltip.reconnect','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','roomMembers','subscribeEvent','_startDocCollabCursor','concat','getRenderById','RemoveColCommandId','unsubscribe','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','CONNECTOR_DATA_TOO_LARGE','closePath','_initEntityListener','_handleLeaveEvent','MoveRangeCommandId','SOCKET_FAILED','_drawAnchor','_transformPreviousActiveRange','getSheetBySheetId','_id','_instanceService','getCurrent','_clearOtherTimers','_lastPointer','generateRandomId','isArray','name','beginPath','_httpService','fill','_range','#FFF','getColorFromTheme','unitId','backgroundColor','engine','dispose$','event$','UNDEFINED','source','imageSourceType','rgba(255,\x20255,\x20255,\x200.01)','_localCacheService','pipe','complete','collab-text-range-','subunit','_drawTextRange','1943712EZKjEW','permission.title','transformIMECache','none','SYNCED','url(#$1','JOIN_ROOM_FAILED','disposeWithMe','FromArray','enableLocalCache','_anchor','_localeService','OTHER_CLIENT_EDITING','_getMergeRange','column','size','_docClipboardService','_transformUndoRedoStack','_handleJoinEvent','search','unit','getUnhiddenWorksheets','application/json','toString','session.collaboration-timeout','_transformService','setActiveRange','invokeId','textRanges','getCurrentRevOfUnit','_backgroundColor','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_drawRectRange','substring','_sheetSkeletonManagerService','startsWith','roomMembers$','_syncEditingCollabCursorService','Error','urlChange$','_setupSubUnitSync','AWAITING_WITH_PENDING','_hovered','m2Prime','_getSheetObject','session.connection-failed','collabStatus.fetchMiss','unitID','LICENSE_MAX_UNITS_EXCEEDED','EMAIL_HAS_BEEN_BOUND','_labelPosition','UPDATE_CURSOR','CONFLICT','saveImage','triggerDblclick','session.will-retry','makeDirty','xlink:href','_removeCollabCursors','add','INVALID_ARGUMENT','flatMap','_configService','_transformHistoryAndStateStack','collaboration-client-ui.config'];_0x5ece=function(){return _0x571152;};return _0x5ece();}Fe['displayName']=_0x38fc52(0x14e);var Yi={'tag':_0x38fc52(0x24c),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x38fc52(0x2c5),'viewBox':'0\x200\x2016\x2016','width':_0x38fc52(0x169),'height':_0x38fc52(0x169)},'children':[{'tag':'g','attrs':{'clipPath':_0x38fc52(0x15d)},'children':[{'tag':'path','attrs':{'stroke':_0x38fc52(0x218),'d':_0x38fc52(0x102),'strokeLinecap':_0x38fc52(0x19b),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x38fc52(0x245)},'children':[{'tag':_0x38fc52(0x236),'attrs':{'fill':_0x38fc52(0x1fd),'d':_0x38fc52(0x243)}}]}]}],'defIds':[_0x38fc52(0x245)]},Dt=_0x307066(function(_0xb1eecc,_0x28d3b8){const _0x3d27e2=_0x38fc52;return _0x29ffd6(Fe,Object[_0x3d27e2(0x120)]({},_0xb1eecc,{'id':_0x3d27e2(0x1bd),'ref':_0x28d3b8,'icon':Yi}));});Dt[_0x38fc52(0x28f)]=_0x38fc52(0x103);var ji={'tag':_0x38fc52(0x24c),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x38fc52(0x2c5),'viewBox':_0x38fc52(0x13b),'width':_0x38fc52(0x169),'height':_0x38fc52(0x169)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x38fc52(0x19b),'strokeLinejoin':_0x38fc52(0x19b),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x38fc52(0x193),'attrs':{'id':_0x38fc52(0x24f)},'children':[{'tag':'path','attrs':{'fill':_0x38fc52(0x1fd),'d':_0x38fc52(0x243),'transform':_0x38fc52(0x215)}}]}]}],'defIds':[_0x38fc52(0x24f)]},Nt=_0x307066(function(_0x10dbb9,_0x55c55b){const _0x366202=_0x38fc52;return _0x29ffd6(Fe,Object['assign']({},_0x10dbb9,{'id':_0x366202(0x1c6),'ref':_0x55c55b,'icon':ji}));});Nt[_0x38fc52(0x28f)]='OnLineIcon';function Vi(_0x25f561){const _0x558c26=_0x38fc52;switch(_0x25f561){case _0xa4e658[_0x558c26(0x27c)]:return _0x558c26(0x14f);case _0xa4e658['CONFLICT']:return _0x558c26(0x248);case _0xa4e658[_0x558c26(0x1f2)]:return _0x558c26(0xe3);case _0xa4e658['NOT_COLLAB']:return _0x558c26(0x214);case _0xa4e658[_0x558c26(0x182)]:case _0xa4e658[_0x558c26(0xde)]:return'collabStatus.syncing';case _0xa4e658[_0x558c26(0x2c6)]:case _0xa4e658['PENDING']:return _0x558c26(0x110);}}function Wi(_0x3f52aa){const _0x303292=_0x38fc52,{status$:_0x3824a4}=_0x3f52aa,_0x12017a=_0x16fdaf(_0x3824a4,_0xa4e658[_0x303292(0x257)]),_0x222b33=_0x3dc5a9(_0x17af14),_0x4af308=_0x3dc5a9(_0x4a001c),_0x36b486=_0x12017a!==_0xa4e658[_0x303292(0x27c)],_0x16181a=_0x222b33['t'](Vi(_0x12017a)),_0xcbed74=_0x36b486?_0x1204df(Nt,{}):_0x1204df(Dt,{}),_0x57528c=_0x507d41(()=>{const _0x8b4afb=_0x303292;_0x36b486||_0x4af308[_0x8b4afb(0x13f)]();},[_0x36b486,_0x4af308]);function _0x3225a1(){const _0x42e06d=_0x303292;return _0x2f96b3('div',{'className':_0x42e06d(0x207),'onClick':_0x57528c,'children':[_0x1204df('div',{'className':_0x1938fa('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x36b486,'univer-text-red-500':!_0x36b486}),'children':_0xcbed74}),_0x1204df(_0x42e06d(0x1d4),{'className':_0x42e06d(0x29b),'children':_0x16181a})]});}return _0x36b486?_0x3225a1():_0x1204df(_0x517cc6,{'title':_0x222b33['t'](_0x303292(0x292)),'children':_0x3225a1()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x32e68b,_0x25af54,_0x48d43e,_0x4c905a)=>{const _0x300f50=_0x38fc52;for(var _0x2dfa39=_0x4c905a>0x1?void 0x0:_0x4c905a?Xi(_0x25af54,_0x48d43e):_0x25af54,_0x258bc0=_0x32e68b[_0x300f50(0x269)]-0x1,_0x5e8677;_0x258bc0>=0x0;_0x258bc0--)(_0x5e8677=_0x32e68b[_0x258bc0])&&(_0x2dfa39=_0x5e8677(_0x2dfa39)||_0x2dfa39);return _0x2dfa39;},Q=(_0x323570,_0x1197d2)=>(_0x58dc5d,_0x13f3dc)=>_0x1197d2(_0x58dc5d,_0x13f3dc,_0x323570);let te=class extends _0x234aca{constructor(_0x275039,_0x1e6458,_0x30ac22,_0x28d9e0){const _0xd999cc=_0x38fc52;super(),_(this,_0xd999cc(0x22c),new _0x5250b5(_0xa4e658[_0xd999cc(0x257)])),(this[_0xd999cc(0x198)]=_0x275039,this['_injector']=_0x1e6458,this[_0xd999cc(0x196)]=_0x30ac22,this[_0xd999cc(0x290)]=_0x28d9e0,this[_0xd999cc(0x211)](),this[_0xd999cc(0x1d3)]());}[_0x38fc52(0x1d3)](){const _0x29508a=_0x38fc52;this[_0x29508a(0x2c9)](this[_0x29508a(0x198)][_0x29508a(0x222)][_0x29508a(0x2bd)](_0x4705a2(()=>{const _0x137ded=_0x29508a,_0x18eeeb=this[_0x137ded(0x198)][_0x137ded(0x121)]();return _0x18eeeb?this[_0x137ded(0x196)]['getCollabEntity$'](_0x18eeeb['getUnitId']()):_0x28b09b(null);}),_0x4705a2(_0xbf22a0=>_0xbf22a0?_0xbf22a0[_0x29508a(0x155)]:_0x28b09b(_0xa4e658[_0x29508a(0x257)])))[_0x29508a(0x26e)](_0x49551e=>{const _0x279eb8=_0x29508a;this[_0x279eb8(0x22c)]['next'](_0x49551e);}));}[_0x38fc52(0x211)](){const _0x91e35b=_0x38fc52;this[_0x91e35b(0x2c9)](this[_0x91e35b(0x290)][_0x91e35b(0x224)](_0x4f068b['HEADER_MENU'],()=>_0x48240e(Ki({'status$':this[_0x91e35b(0x22c)][_0x91e35b(0x12d)]()}),this[_0x91e35b(0x145)])));}};te=Gi([Q(0x0,_0x12ea05),Q(0x1,_0x9b1a66(_0x264ee9)),Q(0x2,_0x9b1a66(_0x4823da)),Q(0x3,_0x520fb0)],te);function Ki(_0x4179fb){const {status$:_0x452b5a}=_0x4179fb;return function(){return _0x1204df(Wi,{'status$':_0x452b5a});};}var zi=Object[_0x38fc52(0x11d)],Ji=(_0x48e3fe,_0x515ad1,_0x4d8b15,_0x4d2f46)=>{for(var _0x1d7f0d=_0x4d2f46>0x1?void 0x0:_0x4d2f46?zi(_0x515ad1,_0x4d8b15):_0x515ad1,_0xc91ce5=_0x48e3fe['length']-0x1,_0x5d89a3;_0xc91ce5>=0x0;_0xc91ce5--)(_0x5d89a3=_0x48e3fe[_0xc91ce5])&&(_0x1d7f0d=_0x5d89a3(_0x1d7f0d)||_0x1d7f0d);return _0x1d7f0d;},B=(_0x57605b,_0x3241b7)=>(_0x226e42,_0x64cb3f)=>_0x3241b7(_0x226e42,_0x64cb3f,_0x57605b);let se=class extends _0x234aca{constructor(_0x5d6f32,_0x7b7ab0,_0x78f7f2,_0x4e7e8d,_0x146a3f,_0x1ec743){const _0x1b436d=_0x38fc52;super(),this[_0x1b436d(0x1f9)]=_0x5d6f32,this['_localCacheService']=_0x7b7ab0,this[_0x1b436d(0x100)]=_0x78f7f2,this[_0x1b436d(0x1af)]=_0x4e7e8d,this['_notificationService']=_0x146a3f,this[_0x1b436d(0x2cd)]=_0x1ec743,this[_0x1b436d(0x126)](),this[_0x1b436d(0x23f)]();}['_setupBeforeClosingHandler'](){const _0x5b4af7=_0x38fc52;this['disposeWithMe'](this[_0x5b4af7(0x1f9)][_0x5b4af7(0x1b3)](()=>{const _0x2a85b8=_0x5b4af7;if(this[_0x2a85b8(0x2bc)]['saveTaskMap']['size'])return this[_0x2a85b8(0x2cd)]['t'](_0x2a85b8(0x228));}));}[_0x38fc52(0x23f)](){const _0x45cbe4=_0x38fc52;this[_0x45cbe4(0x2c9)](this[_0x45cbe4(0x100)]['event$'][_0x45cbe4(0x26e)](_0x1f8eee=>{const _0x305e52=_0x45cbe4;_0x1f8eee['id']===_0x1acec1[_0x305e52(0x2ce)]&&this['_messageService'][_0x305e52(0x238)]({'type':_0x284a2b[_0x305e52(0xf9)],'content':this['_localeService']['t'](_0x305e52(0x1d8))}),_0x1f8eee['id']===_0x1acec1[_0x305e52(0x289)]&&this['_messageService'][_0x305e52(0x238)]({'type':_0x284a2b[_0x305e52(0xf9)],'content':this[_0x305e52(0x2cd)]['t'](_0x305e52(0x10a))}),_0x1f8eee['id']===_0x1acec1[_0x305e52(0x20a)]&&this[_0x305e52(0x1b0)][_0x305e52(0x238)]({'title':this[_0x305e52(0x2cd)]['t'](_0x305e52(0x2c3)),'content':this[_0x305e52(0x2cd)]['t'](_0x305e52(0x187)),'type':'error','duration':0x0}),_0x1f8eee['id']===_0x1acec1[_0x305e52(0xe9)]&&this[_0x305e52(0x1af)][_0x305e52(0x238)]({'type':_0x284a2b[_0x305e52(0xdb)],'content':this[_0x305e52(0x2cd)]['t']('collaboration.closeRoom')+'('+_0x1f8eee[_0x305e52(0x1a8)]+')'}),_0x1f8eee['id']===_0x1acec1[_0x305e52(0x2c8)]&&this[_0x305e52(0x1af)][_0x305e52(0x238)]({'type':_0x284a2b[_0x305e52(0xf9)],'content':this[_0x305e52(0x2cd)]['t'](_0x1f8eee[_0x305e52(0x1a8)]||'')}),_0x1f8eee['id']===_0x1acec1['SOCKET_FAILED_RETRY']&&this['_messageService'][_0x305e52(0x238)]({'type':_0x284a2b[_0x305e52(0xf9)],'content':this['_localeService']['t'](_0x305e52(0xec))}),_0x1f8eee['id']===_0x1acec1[_0x305e52(0x2a1)]&&this[_0x305e52(0x1af)][_0x305e52(0x238)]({'type':_0x284a2b[_0x305e52(0xdb)],'content':this[_0x305e52(0x2cd)]['t'](_0x305e52(0xe2))}),_0x1f8eee['id']===_0x1acec1[_0x305e52(0x25e)]&&this[_0x305e52(0x1af)]['show']({'type':_0x284a2b[_0x305e52(0xdb)],'content':this[_0x305e52(0x2cd)]['t'](_0x305e52(0xcd))});}));}};se=Ji([B(0x0,_0x363bcd),B(0x1,_0x5ea69b),B(0x2,_0x9b1a66(_0x38ef66)),B(0x3,_0x479cb5),B(0x4,_0x4ef212),B(0x5,_0x9b1a66(_0x17af14))],se);const Zi=_0x38fc52(0xf5),et={},Ut=_0x3faa77(_0x38fc52(0x1c5));var Qi=Object[_0x38fc52(0x11d)],qi=(_0x59b1c7,_0x27fb88,_0x5486e3,_0x2a1187)=>{const _0x496b87=_0x38fc52;for(var _0x30c503=_0x2a1187>0x1?void 0x0:_0x2a1187?Qi(_0x27fb88,_0x5486e3):_0x27fb88,_0x205d10=_0x59b1c7[_0x496b87(0x269)]-0x1,_0x4a77da;_0x205d10>=0x0;_0x205d10--)(_0x4a77da=_0x59b1c7[_0x205d10])&&(_0x30c503=_0x4a77da(_0x30c503)||_0x30c503);return _0x30c503;},G=(_0x3f76f5,_0x5decbc)=>(_0x4bffb5,_0x23b0ae)=>_0x5decbc(_0x4bffb5,_0x23b0ae,_0x3f76f5);let ie=class extends _0x1b1f7c{constructor(_0x1c0227,_0x365073,_0x5196e4,_0x3b8aa2,_0x3da715){const _0x5d02ce=_0x38fc52;super(),this[_0x5d02ce(0x254)]=_0x1c0227,this[_0x5d02ce(0x167)]=_0x365073,this[_0x5d02ce(0x205)]=_0x5196e4,this[_0x5d02ce(0x194)]=_0x3b8aa2,_0x3da715?_0x3da715==null||_0x3da715['whenReady']()['then'](()=>this[_0x5d02ce(0x11e)]()):(this[_0x5d02ce(0x167)]['debug']('[CollaborationDataLoaderController]',_0x5d02ce(0xd4)),this[_0x5d02ce(0x11e)]());}async[_0x38fc52(0x11e)](){const _0x469fde=_0x38fc52,_0x37d3ce=this[_0x469fde(0x254)]['getParam'](_0x469fde(0xc9)),_0x52965e=this[_0x469fde(0x254)]['getParam'](_0x469fde(0x19e)),_0x43fdd5=this[_0x469fde(0x254)]['getParam']('subunit');if(!_0x37d3ce||!_0x52965e){this[_0x469fde(0x167)][_0x469fde(0x261)](_0x469fde(0x216),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x2d77ba=await this['_dataLoaderService'][_0x469fde(0x12a)](_0x37d3ce,Number(_0x52965e),_0x43fdd5);_0x2d77ba&&_0x2d77ba instanceof _0xb6d1cc&&this[_0x469fde(0xdd)](_0x2d77ba);}async[_0x38fc52(0xdd)](_0x343a42){const _0x158092=_0x38fc52;await this[_0x158092(0x242)](_0x343a42),_0x343a42['activeSheet$'][_0x158092(0x2bd)](_0x258676(this['dispose$']))[_0x158092(0x26e)](_0x5e1510=>{const _0x2eae52=_0x158092;_0x5e1510&&this[_0x2eae52(0x175)](_0x5e1510);}),this[_0x158092(0x254)][_0x158092(0xdc)][_0x158092(0x2bd)](_0x258676(this['dispose$']))[_0x158092(0x26e)](()=>this['_updateSubUnitFromURLParams'](_0x343a42));}['_updateURLWithCurrentState'](_0x944e22,_0x39fbe7=!0x1){const _0x362ac9=_0x38fc52,_0x172ab4=this['_urlService'][_0x362ac9(0x232)](_0x362ac9(0x2c0));_0x944e22['getSheetId']()!==_0x172ab4&&this['_urlService'][_0x362ac9(0x209)](_0x362ac9(0x2c0),_0x944e22[_0x362ac9(0x20c)](),_0x39fbe7);}async[_0x38fc52(0x242)](_0x1e9b3b){const _0x1b52e6=_0x38fc52;var _0x11687f;const _0x12ae95=this['_urlService'][_0x1b52e6(0x232)](_0x1b52e6(0x2c0));if(!_0x12ae95||!_0x1e9b3b['getSheetBySheetId'](_0x12ae95)){const _0x4f62ad=_0x1e9b3b[_0x1b52e6(0xca)]()[0x0],_0x36c3a8=_0x1e9b3b['getSheetBySheetId'](_0x4f62ad);if(!_0x36c3a8)return;this[_0x1b52e6(0x175)](_0x36c3a8,!0x0),await this[_0x1b52e6(0x205)][_0x1b52e6(0x166)](_0x45fb5f['id'],{'unitId':_0x1e9b3b[_0x1b52e6(0x21d)](),'subUnitId':_0x4f62ad});return;}((_0x11687f=_0x1e9b3b[_0x1b52e6(0x28d)]())==null?void 0x0:_0x11687f['getSheetId']())!==_0x12ae95&&await this[_0x1b52e6(0x205)]['executeCommand'](_0x45fb5f['id'],{'unitId':_0x1e9b3b[_0x1b52e6(0x21d)](),'subUnitId':_0x12ae95});}};ie=qi([G(0x0,Ut),G(0x1,_0x13e4f2),G(0x2,_0x349e65),G(0x3,_0x9b1a66(_0x4a672a)),G(0x4,_0x16d4ab(_0x4fa5bf))],ie);var en=Object['getOwnPropertyDescriptor'],tn=(_0x5f4a9f,_0x3dcdce,_0xf0001b,_0x13f0ee)=>{const _0x122a6f=_0x38fc52;for(var _0xecc3d7=_0x13f0ee>0x1?void 0x0:_0x13f0ee?en(_0x3dcdce,_0xf0001b):_0x3dcdce,_0x35c930=_0x5f4a9f[_0x122a6f(0x269)]-0x1,_0x5135d1;_0x35c930>=0x0;_0x35c930--)(_0x5135d1=_0x5f4a9f[_0x35c930])&&(_0xecc3d7=_0x5135d1(_0xecc3d7)||_0xecc3d7);return _0xecc3d7;},pe=(_0x3be1b2,_0x16a479)=>(_0x18cdf2,_0x5bc815)=>_0x16a479(_0x18cdf2,_0x5bc815,_0x3be1b2);let ne=class{constructor(_0x4658ba,_0x4d45b9,_0x49cffb){const _0x172da3=_0x38fc52;this[_0x172da3(0x145)]=_0x4658ba,this[_0x172da3(0xce)]=_0x4d45b9,this[_0x172da3(0x160)]=_0x49cffb;}[_0x38fc52(0x2c4)](_0x366f7b){const _0x5e4713=_0x38fc52;this[_0x5e4713(0xc6)](_0x366f7b),this['_transformPreviousActiveRange'](_0x366f7b);}[_0x38fc52(0x1bb)](_0xcc7f88){const _0x4b77b7=_0x38fc52,{unitID:_0x1d49c2}=_0xcc7f88,_0x2c5f9d=this['_renderManagerService'][_0x4b77b7(0x298)](_0x1d49c2)[_0x4b77b7(0x210)](_0x599c6e),{redoCache:_0x497ba2}=_0x2c5f9d['getUndoRedoMutationParamsCache']();if(_0x497ba2['length']===0x0)return _0xcc7f88;let _0x1bd5d6=_0x128666['deepClone'](_0xcc7f88[_0x4b77b7(0x273)][0x0]);for(let _0x2c1de4=0x0;_0x2c1de4<_0x497ba2[_0x4b77b7(0x269)];_0x2c1de4++){const _0x8bc84b={'id':'doc.mutation.rich-text-editing','params':{..._0x497ba2[_0x2c1de4]}},_0x5ead00=this[_0x4b77b7(0xce)][_0x4b77b7(0x19f)](_0x1bd5d6,_0x8bc84b,!0x1);if(_0x16e003(_0x5ead00))throw _0x5ead00['error'];_0x1bd5d6=_0x5ead00[_0x4b77b7(0x158)];}return{..._0x128666[_0x4b77b7(0x244)](_0xcc7f88),'mutations':[_0x1bd5d6]};}['_transformUndoRedoStack'](_0x4a3074){const _0x56cfbb=_0x38fc52,{unitID:_0x5c58e9}=_0x4a3074,_0x1f95b1=this[_0x56cfbb(0x160)][_0x56cfbb(0x298)](_0x5c58e9)[_0x56cfbb(0x210)](_0x599c6e),{undoCache:_0x8015e0,redoCache:_0x3aa08a}=_0x1f95b1['getUndoRedoMutationParamsCache']();if(_0x8015e0['length']===0x0||_0x3aa08a[_0x56cfbb(0x269)]===0x0)return;const _0x4013f0=[],_0x366698=[];let _0x82710b=_0x128666['deepClone'](_0x4a3074[_0x56cfbb(0x273)][0x0]),_0x33cd82=_0x128666['deepClone'](_0x4a3074[_0x56cfbb(0x273)][0x0]);for(let _0x5637c1=_0x8015e0['length']-0x1;_0x5637c1>=0x0;_0x5637c1--){const _0x360443={'id':_0x56cfbb(0x15f),'params':{..._0x8015e0[_0x5637c1]}},_0x208b96={'id':'doc.mutation.rich-text-editing','params':{..._0x3aa08a[_0x5637c1]}},_0x551624=this[_0x56cfbb(0xce)][_0x56cfbb(0x19f)](_0x82710b,_0x360443,!0x1),_0x205155=this[_0x56cfbb(0xce)][_0x56cfbb(0x19f)](_0x33cd82,_0x208b96,!0x1);if(_0x16e003(_0x551624))throw _0x551624[_0x56cfbb(0x1f5)];if(_0x16e003(_0x205155))throw _0x205155['error'];_0x4013f0[_0x56cfbb(0x1a6)](_0x551624[_0x56cfbb(0xe0)][_0x56cfbb(0x217)]),_0x366698['unshift'](_0x205155['m2Prime'][_0x56cfbb(0x217)]),_0x82710b=_0x551624[_0x56cfbb(0x158)],_0x33cd82=_0x205155['m1Prime'];}_0x1f95b1['setUndoRedoMutationParamsCache']({'undoCache':_0x4013f0,'redoCache':_0x366698});}[_0x38fc52(0x2a3)](_0x7cd7d7){const _0x4b86ee=_0x38fc52,{unitID:_0x1f6e2e}=_0x7cd7d7,_0x2b491c=this[_0x4b86ee(0x160)]['getRenderById'](_0x1f6e2e)[_0x4b86ee(0x210)](_0x599c6e),_0x4b3d75=_0x2b491c[_0x4b86ee(0x1bf)]();if(_0x4b3d75==null)return;const _0x34f680=[{'id':_0x4b86ee(0x15f),'params':{'unitId':_0x7cd7d7['unitID'],'actions':null,'textRanges':[_0x4b3d75]}}],_0x2e16d1=this[_0x4b86ee(0xce)]['transformMutationsWithChangeset'](_0x7cd7d7,_0x34f680);if(!_0x41ea54(_0x2e16d1))throw _0x2e16d1[_0x4b86ee(0x1f5)];const _0x2fb8b3=_0x2e16d1[_0x4b86ee(0xe0)][0x0][_0x4b86ee(0x217)][_0x4b86ee(0xd1)];Array[_0x4b86ee(0x2ab)](_0x2fb8b3)&&_0x2fb8b3[_0x4b86ee(0x269)]&&_0x2b491c[_0x4b86ee(0xcf)](_0x2fb8b3[0x0]);}};ne=tn([pe(0x0,_0x9b1a66(_0x264ee9)),pe(0x1,_0x1e9735),pe(0x2,_0x42117)],ne);var sn=Object[_0x38fc52(0x11d)],nn=(_0x4a5910,_0x46f67a,_0x5dc66d,_0x3315ee)=>{for(var _0x3e21da=_0x3315ee>0x1?void 0x0:_0x3315ee?sn(_0x46f67a,_0x5dc66d):_0x46f67a,_0x65bf8=_0x4a5910['length']-0x1,_0x50f19c;_0x65bf8>=0x0;_0x65bf8--)(_0x50f19c=_0x4a5910[_0x65bf8])&&(_0x3e21da=_0x50f19c(_0x3e21da)||_0x3e21da);return _0x3e21da;},Ce=(_0x5d5d13,_0x212852)=>(_0x24e0ca,_0x35d15e)=>_0x212852(_0x24e0ca,_0x35d15e,_0x5d5d13);let re=class{constructor(_0x3a8482,_0x5b7b80,_0x4328c8){const _0x3a52f2=_0x38fc52;this[_0x3a52f2(0x145)]=_0x3a8482,this['_transformService']=_0x5b7b80,this[_0x3a52f2(0x192)]=_0x4328c8;}[_0x38fc52(0x1e4)](_0x857aad){this['_transformHistoryAndStateStack'](_0x857aad);}['transformRemoteChangeset'](_0x98f836){const _0xeb16da=_0x38fc52,{unitID:_0x4174c1}=_0x98f836,{collaboration:_0x1cc9a5}=this['_docStateChangeManagerService']['getStateCache'](_0x4174c1);if(_0x1cc9a5[_0xeb16da(0x269)]===0x0)return _0x98f836;let _0x3fa3f0=_0x128666[_0xeb16da(0x244)](_0x98f836['mutations'][0x0]);for(let _0x573e4f=0x0;_0x573e4f<_0x1cc9a5[_0xeb16da(0x269)];_0x573e4f++){const _0xe8be80={'id':_0xeb16da(0x15f),'params':{'unitId':_0x1cc9a5[_0x573e4f][_0xeb16da(0x2b3)],..._0x1cc9a5[_0x573e4f][_0xeb16da(0x1ba)]}},_0x2bda13=this['_transformService'][_0xeb16da(0x19f)](_0x3fa3f0,_0xe8be80,!0x1);if(_0x16e003(_0x2bda13))throw _0x2bda13[_0xeb16da(0x1f5)];_0x3fa3f0=_0x2bda13[_0xeb16da(0x158)];}return{..._0x128666[_0xeb16da(0x244)](_0x98f836),'mutations':[_0x3fa3f0]};}[_0x38fc52(0xf4)](_0x436834){const _0x3270b3=_0x38fc52,{unitID:_0x108150}=_0x436834,{history:_0x2b51dc,collaboration:_0x305f8b}=this['_docStateChangeManagerService']['getStateCache'](_0x108150);if(_0x2b51dc[_0x3270b3(0x269)]===0x0&&_0x305f8b[_0x3270b3(0x269)]===0x0)return;const _0x28c8e0=[],_0x4acf64=[];let _0x430058=_0x128666[_0x3270b3(0x244)](_0x436834[_0x3270b3(0x273)][0x0]),_0xea48b2=_0x128666[_0x3270b3(0x244)](_0x436834['mutations'][0x0]);for(let _0x21bcaa=_0x2b51dc[_0x3270b3(0x269)]-0x1;_0x21bcaa>=0x0;_0x21bcaa--){const _0x580dcf={'id':_0x3270b3(0x15f),'params':{'unitId':_0x2b51dc[_0x21bcaa][_0x3270b3(0x2b3)],..._0x2b51dc[_0x21bcaa][_0x3270b3(0x1bc)]}},_0x2e5cea={'id':_0x3270b3(0x15f),'params':{'unitId':_0x2b51dc[_0x21bcaa][_0x3270b3(0x2b3)],..._0x2b51dc[_0x21bcaa][_0x3270b3(0x1ba)]}},_0x49967f=this[_0x3270b3(0xce)][_0x3270b3(0x19f)](_0x430058,_0x580dcf,!0x1),_0x1ec89d=this[_0x3270b3(0xce)][_0x3270b3(0x19f)](_0xea48b2,_0x2e5cea,!0x1);if(_0x16e003(_0x49967f))throw _0x49967f[_0x3270b3(0x1f5)];if(_0x16e003(_0x1ec89d))throw _0x1ec89d['error'];_0x28c8e0['unshift']({..._0x2b51dc[_0x21bcaa],'undoState':_0x49967f[_0x3270b3(0xe0)][_0x3270b3(0x217)],'redoState':_0x1ec89d[_0x3270b3(0xe0)][_0x3270b3(0x217)]}),_0x430058=_0x49967f[_0x3270b3(0x158)],_0xea48b2=_0x1ec89d[_0x3270b3(0x158)];}_0x430058=_0x128666[_0x3270b3(0x244)](_0x436834[_0x3270b3(0x273)][0x0]),_0xea48b2=_0x128666['deepClone'](_0x436834['mutations'][0x0]);for(let _0x5d0f5c=_0x305f8b[_0x3270b3(0x269)]-0x1;_0x5d0f5c>=0x0;_0x5d0f5c--){const _0x13c4d7={'id':_0x3270b3(0x15f),'params':{'unitId':_0x305f8b[_0x5d0f5c][_0x3270b3(0x2b3)],..._0x305f8b[_0x5d0f5c][_0x3270b3(0x1bc)]}},_0x5a24bb={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x305f8b[_0x5d0f5c][_0x3270b3(0x2b3)],..._0x305f8b[_0x5d0f5c]['redoState']}},_0x15ce31=this[_0x3270b3(0xce)]['transformMutation'](_0x430058,_0x13c4d7,!0x1),_0x24d773=this[_0x3270b3(0xce)][_0x3270b3(0x19f)](_0xea48b2,_0x5a24bb,!0x1);if(_0x16e003(_0x15ce31))throw _0x15ce31[_0x3270b3(0x1f5)];if(_0x16e003(_0x24d773))throw _0x24d773['error'];_0x4acf64[_0x3270b3(0x1a6)]({..._0x305f8b[_0x5d0f5c],'undoState':_0x15ce31[_0x3270b3(0xe0)][_0x3270b3(0x217)],'redoState':_0x24d773[_0x3270b3(0xe0)][_0x3270b3(0x217)]}),_0x430058=_0x15ce31[_0x3270b3(0x158)],_0xea48b2=_0x24d773[_0x3270b3(0x158)];}this[_0x3270b3(0x192)][_0x3270b3(0x191)](_0x108150,{'history':_0x28c8e0,'collaboration':_0x4acf64});}};re=nn([Ce(0x0,_0x9b1a66(_0x264ee9)),Ce(0x1,_0x1e9735),Ce(0x2,_0x9b1a66(_0x1bbf96))],re);var rn=Object['getOwnPropertyDescriptor'],on=(_0x42d518,_0x110497,_0x1851d2,_0x34c8a2)=>{const _0x1b3e81=_0x38fc52;for(var _0x1146d6=_0x34c8a2>0x1?void 0x0:_0x34c8a2?rn(_0x110497,_0x1851d2):_0x110497,_0x12bfa7=_0x42d518[_0x1b3e81(0x269)]-0x1,_0x1f82ed;_0x12bfa7>=0x0;_0x12bfa7--)(_0x1f82ed=_0x42d518[_0x12bfa7])&&(_0x1146d6=_0x1f82ed(_0x1146d6)||_0x1146d6);return _0x1146d6;},tt=(_0x3e22ea,_0x21eb8d)=>(_0x39a78c,_0x4074e9)=>_0x21eb8d(_0x39a78c,_0x4074e9,_0x3e22ea);let oe=class{constructor(_0xc199cb,_0x2165e0){this['_injector']=_0xc199cb,this['_transformService']=_0x2165e0;}[_0x38fc52(0x17f)](_0x58d414){const _0xb88b07=_0x38fc52;var _0x2c3a2d;const _0x5ea03a=this[_0xb88b07(0x145)][_0xb88b07(0x1b6)](_0x296788),_0x3dd15a=(_0x2c3a2d=_0x5ea03a['getDocRanges']())!=null?_0x2c3a2d:[];if(_0x3dd15a[_0xb88b07(0x269)]===0x0)return;const _0x45e441=_0x58d414[_0xb88b07(0xe4)],_0x539db2=[{'id':_0xb88b07(0x15f),'params':{'unitId':_0x45e441,'actions':null,'textRanges':_0x3dd15a}}],_0x54b713=this[_0xb88b07(0xce)]['transformMutationsWithChangeset'](_0x58d414,_0x539db2);if(!_0x41ea54(_0x54b713))throw _0x54b713[_0xb88b07(0x1f5)];const _0x2b02ab=_0x54b713[_0xb88b07(0xe0)][0x0][_0xb88b07(0x217)]['textRanges'];Array[_0xb88b07(0x2ab)](_0x2b02ab)&&_0x2b02ab['length']&&_0x5ea03a['replaceDocRanges'](_0x2b02ab,{'unitId':_0x45e441,'subUnitId':_0x45e441},!0x1);}};oe=on([tt(0x0,_0x9b1a66(_0x264ee9)),tt(0x1,_0x1e9735)],oe);var an=Object[_0x38fc52(0x11d)],cn=(_0x1db328,_0x23044e,_0x1ef387,_0x4fda2a)=>{const _0x4a6057=_0x38fc52;for(var _0x2cc1fc=_0x4fda2a>0x1?void 0x0:_0x4fda2a?an(_0x23044e,_0x1ef387):_0x23044e,_0x47e7e0=_0x1db328[_0x4a6057(0x269)]-0x1,_0x38e9b9;_0x47e7e0>=0x0;_0x47e7e0--)(_0x38e9b9=_0x1db328[_0x47e7e0])&&(_0x2cc1fc=_0x38e9b9(_0x2cc1fc)||_0x2cc1fc);return _0x2cc1fc;},U=(_0x108596,_0xde6e95)=>(_0x501d57,_0x586380)=>_0xde6e95(_0x501d57,_0x586380,_0x108596);let ae=class extends _0x234aca{constructor(_0x4c727d,_0x5e9f03,_0x46c391,_0xd93cda,_0x8d8b63,_0x275ee6,_0x217924,_0x554395){const _0x3b7e53=_0x38fc52;super(),_(this,_0x3b7e53(0x22c),new _0x5250b5(_0xa4e658['NOT_COLLAB'])),(this[_0x3b7e53(0x192)]=_0x4c727d,this[_0x3b7e53(0x196)]=_0x5e9f03,this[_0x3b7e53(0x16c)]=_0x46c391,this[_0x3b7e53(0x1cb)]=_0xd93cda,this[_0x3b7e53(0x1a7)]=_0x8d8b63,this[_0x3b7e53(0x26f)]=_0x275ee6,this['_messageService']=_0x217924,this['_localeService']=_0x554395,this[_0x3b7e53(0x29e)]());}[_0x38fc52(0x29e)](){const _0x1f45bc=_0x38fc52;this[_0x1f45bc(0x2c9)](this[_0x1f45bc(0x196)]['entityInit$']['subscribe'](_0x23a438=>{const _0x2b0d9b=_0x1f45bc,_0x276dfd=this[_0x2b0d9b(0x192)][_0x2b0d9b(0x108)][_0x2b0d9b(0x26e)](_0xb6861e=>{const _0x3804e1=_0x2b0d9b;if(_0xb6861e==null)return;const {unitId:_0x4e8b91,redoState:_0x1138f4,commandId:_0x492b3}=_0xb6861e;if(_0x4e8b91!==_0x23a438[_0x3804e1(0xe4)])return;const _0x3d27f6={'id':_0x492b3,'type':_0x528096[_0x3804e1(0x14c)],'params':{'unitId':_0x4e8b91,'actions':_0x1138f4['actions'],'textRanges':null}};_0x23a438[_0x3804e1(0x233)](_0x3d27f6);});if(_0x23a438[_0x2b0d9b(0x2c9)](_0x276dfd),_0x23a438 instanceof _0x57db30){const _0x1e8615={'onTransformIME':_0x368bb8=>this[_0x2b0d9b(0x16c)][_0x2b0d9b(0x2c4)](_0x368bb8),'onTransformState':_0x36b182=>this[_0x2b0d9b(0x1cb)][_0x2b0d9b(0x1e4)](_0x36b182),'onTransformSelections':_0x1cfd2f=>this['_docTransformSelectionsService'][_0x2b0d9b(0x17f)](_0x1cfd2f),'onSyncEditingCollabCursor':_0x16ad7c=>this[_0x2b0d9b(0x26f)][_0x2b0d9b(0x1ed)](_0x16ad7c),'onTransformRemoteChangesetByIMECache':_0x4b330c=>this[_0x2b0d9b(0x16c)][_0x2b0d9b(0x1bb)](_0x4b330c),'onTransformRemoteChangesetByStateCache':_0x45606b=>this[_0x2b0d9b(0x1cb)][_0x2b0d9b(0x1bb)](_0x45606b)};_0x23a438['addHandlerCallback'](_0x1e8615);}}));}};ae=cn([U(0x0,_0x9b1a66(_0x1bbf96)),U(0x1,_0x9b1a66(_0x4823da)),U(0x2,_0x9b1a66(ne)),U(0x3,_0x9b1a66(re)),U(0x4,_0x9b1a66(oe)),U(0x5,_0x9b1a66(He)),U(0x6,_0x479cb5),U(0x7,_0x9b1a66(_0x17af14))],ae);var ln=Object[_0x38fc52(0x11d)],_n=(_0x694c0a,_0x3814df,_0x3963d6,_0x57a2e9)=>{const _0x1dca33=_0x38fc52;for(var _0x49b513=_0x57a2e9>0x1?void 0x0:_0x57a2e9?ln(_0x3814df,_0x3963d6):_0x3814df,_0x176a23=_0x694c0a[_0x1dca33(0x269)]-0x1,_0x2cc0b2;_0x176a23>=0x0;_0x176a23--)(_0x2cc0b2=_0x694c0a[_0x176a23])&&(_0x49b513=_0x2cc0b2(_0x49b513)||_0x49b513);return _0x49b513;},Ee=(_0x1ad2f9,_0x29b1d2)=>(_0x11b394,_0x23abaf)=>_0x29b1d2(_0x11b394,_0x23abaf,_0x1ad2f9);let we=class extends _0x234aca{constructor(_0x876bd6,_0x44dd22,_0x1ddc80){const _0x553aae=_0x38fc52;super(),_(this,_0x553aae(0x135),new Map()),_(this,_0x553aae(0x27a),new Map()),_(this,'_disabled',!0x1),(this[_0x553aae(0xf3)]=_0x876bd6,this[_0x553aae(0x156)]=_0x44dd22,this[_0x553aae(0x24d)]=_0x1ddc80);}['disableLocalCache'](){const _0xaa9f9a=_0x38fc52;this[_0xaa9f9a(0x208)]=!0x0;}[_0x38fc52(0x2cb)](){this['_disabled']=!0x1;}get[_0x38fc52(0x142)](){const _0x1dd52f=_0x38fc52;return this[_0x1dd52f(0x27a)];}[_0x38fc52(0x195)](){const _0x17440d=_0x38fc52;this[_0x17440d(0x1c8)]()[_0x17440d(0x130)](()=>super['dispose']());}async[_0x38fc52(0x1ab)](_0x4fab9f){const _0x396c39=_0x38fc52;return this[_0x396c39(0x208)]?null:this['_localStorageService']['getItem'](_0xa3cb90(_0x4fab9f));}async[_0x38fc52(0x10b)](_0x2cb38b,_0x3ff496){const _0x36e9b9=_0x38fc52;return!!this[_0x36e9b9(0x156)][_0x36e9b9(0x101)](_0x2cb38b,_0x3ff496);}[_0x38fc52(0x1ee)](_0x3f3e17,_0x46d981,_0x3bb54e,_0x5454af){const _0x17f800=_0x38fc52,_0x739999=this[_0x17f800(0x24d)][_0x17f800(0xd2)](_0x3f3e17);this[_0x17f800(0x135)][_0x17f800(0x18a)](_0x3f3e17,{'unitID':_0x3f3e17,'type':_0x46d981,'awaitingChangeset':_0x3bb54e,'mutations':_0x5454af,'rev':_0x739999}),this[_0x17f800(0x27a)]['has'](_0x3f3e17)||this[_0x17f800(0x146)](_0x3f3e17);}[_0x38fc52(0x146)](_0x41a5cc){const _0x45c178=_0x38fc52,_0x5a35c4=this['_getSaveTimeout']();_0x5a35c4===0x0?this['_saveCache'](_0x41a5cc):this[_0x45c178(0x27a)][_0x45c178(0x18a)](_0x41a5cc,setTimeout(()=>this[_0x45c178(0x231)](_0x41a5cc),_0x5a35c4));}[_0x38fc52(0x1db)](){const _0x1e3cc6=_0x38fc52;var _0x456811;return(_0x456811=this[_0x1e3cc6(0xf3)][_0x1e3cc6(0x199)](_0x1e71b3))!=null?_0x456811:_0x24f890;}[_0x38fc52(0x231)](_0x241a1c){const _0x317eff=_0x38fc52,_0x201d78=this[_0x317eff(0x27a)][_0x317eff(0x1b6)](_0x241a1c);return _0x201d78!==void 0x0&&window[_0x317eff(0x21c)](_0x201d78),this['_localStorageService'][_0x317eff(0x101)](_0xa3cb90(_0x241a1c),this[_0x317eff(0x135)][_0x317eff(0x1b6)](_0x241a1c))[_0x317eff(0x130)](()=>this[_0x317eff(0x27a)][_0x317eff(0x19c)](_0x241a1c));}async[_0x38fc52(0x1c8)](){const _0x1d9446=_0x38fc52,_0x14d5d6=[];this[_0x1d9446(0x27a)][_0x1d9446(0x186)]((_0x2fd196,_0x2e8162)=>{const _0x2a4f96=_0x1d9446;window[_0x2a4f96(0x21c)](_0x2fd196),_0x14d5d6['push'](this[_0x2a4f96(0x231)](_0x2e8162)[_0x2a4f96(0x130)](()=>{this['_saveTaskMap']['delete'](_0x2e8162);}));}),await Promise[_0x1d9446(0x116)](_0x14d5d6);}};we=_n([Ee(0x0,_0x1d6be9),Ee(0x1,_0x21e443),Ee(0x2,_0x9b1a66(_0x4b26ad))],we);class hn extends _0x1b1f7c{constructor(){const _0x150def=_0x38fc52;super(),_(this,_0x150def(0xdc)),this[_0x150def(0xdc)]=_0x42dee8(window,_0x150def(0x246))[_0x150def(0x2bd)](_0x258676(this['dispose$']),_0x50b654(0x1),_0x21c168(void 0x0));}[_0x38fc52(0x209)](_0x314c80,_0x801ba8,_0x3facfe=!0x1){const _0x46052d=_0x38fc52,_0x4d462f=new URL(window[_0x46052d(0x153)]['href']);_0x4d462f['searchParams'][_0x46052d(0x18a)](_0x314c80,_0x801ba8),_0x3facfe?window['history'][_0x46052d(0x25d)]('','',_0x4d462f[_0x46052d(0xcc)]()):window['history'][_0x46052d(0x1b2)]('','',_0x4d462f['toString']());}[_0x38fc52(0x136)](_0x542c62,_0x308d3c=!0x1){const _0x28632b=_0x38fc52,_0x4e6ecf=new URL(window[_0x28632b(0x153)][_0x28632b(0x250)]);_0x4e6ecf[_0x28632b(0x1ce)][_0x28632b(0x19c)](_0x542c62),_0x308d3c?window[_0x28632b(0x1ef)][_0x28632b(0x25d)]('','',_0x4e6ecf[_0x28632b(0xcc)]()):window[_0x28632b(0x1ef)][_0x28632b(0x1b2)]('','',_0x4e6ecf[_0x28632b(0xcc)]());}[_0x38fc52(0x232)](_0x4ffac3){const _0x3f17e6=_0x38fc52;var _0x3c39ff;return(_0x3c39ff=new URL(window[_0x3f17e6(0x153)][_0x3f17e6(0x250)])['searchParams'][_0x3f17e6(0x1b6)](_0x4ffac3))!=null?_0x3c39ff:void 0x0;}}var un=Object[_0x38fc52(0x154)],dn=Object[_0x38fc52(0x11d)],fn=(_0x2f45d6,_0x533a13,_0x555258)=>_0x533a13 in _0x2f45d6?un(_0x2f45d6,_0x533a13,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x555258}):_0x2f45d6[_0x533a13]=_0x555258,Sn=(_0x315f31,_0x161c77,_0x2053f5,_0x199ad7)=>{const _0x11224b=_0x38fc52;for(var _0x4770f4=_0x199ad7>0x1?void 0x0:_0x199ad7?dn(_0x161c77,_0x2053f5):_0x161c77,_0x2d54f9=_0x315f31[_0x11224b(0x269)]-0x1,_0x313113;_0x2d54f9>=0x0;_0x2d54f9--)(_0x313113=_0x315f31[_0x2d54f9])&&(_0x4770f4=_0x313113(_0x4770f4)||_0x4770f4);return _0x4770f4;},Oe=(_0x1d9293,_0x3fcba0)=>(_0x56d8f1,_0x5476cf)=>_0x3fcba0(_0x56d8f1,_0x5476cf,_0x1d9293),mn=(_0x3c202e,_0x52d78d,_0x290881)=>fn(_0x3c202e,_0x52d78d+'',_0x290881);const In=_0x38fc52(0x24e);let Ae=class extends _0x4898cf{constructor(_0x164d03=et,_0x2251a8,_0xbaef22,_0x19edfd){const _0x356fa1=_0x38fc52;super(),this[_0x356fa1(0x202)]=_0x164d03,this['_renderManagerService']=_0x2251a8,this[_0x356fa1(0x145)]=_0xbaef22,this[_0x356fa1(0xf3)]=_0x19edfd;const {..._0x27abe5}=_0x3e62cc({},et,this[_0x356fa1(0x202)]);this[_0x356fa1(0xf3)][_0x356fa1(0x1eb)](Zi,_0x27abe5);}[_0x38fc52(0x13a)](){const _0x5c7989=_0x38fc52;this['_registerDependencies'](),this[_0x5c7989(0x26b)]();}[_0x38fc52(0x1d0)](){const _0x352b52=_0x38fc52;this[_0x352b52(0x12b)]();}[_0x38fc52(0x112)](){const _0x92ca0b=_0x38fc52;var _0x47d3a5;const _0xc4b046=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x1e0983,{'useClass':_0x156c43}],[_0x5ea69b,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x542720(this[_0x92ca0b(0x145)],_0x5ea94f(_0xc4b046,(_0x47d3a5=this[_0x92ca0b(0x202)])==null?void 0x0:_0x47d3a5['override']));}[_0x38fc52(0x12b)](){const _0x2d6b63=_0x38fc52;this[_0x2d6b63(0x2c9)](this[_0x2d6b63(0x160)][_0x2d6b63(0x1ec)](_0x4abec6[_0x2d6b63(0x279)],[Le])),this[_0x2d6b63(0x2c9)](this[_0x2d6b63(0x160)][_0x2d6b63(0x1ec)](_0x4abec6[_0x2d6b63(0x262)],[Pe]));}['_initDependencies'](){const _0x14bc50=_0x38fc52;_0x1190b3(this[_0x14bc50(0x145)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x38fc52(0x28e),In),Ae=Sn([_0x501718(_0x47d9c9),Oe(0x1,_0x42117),Oe(0x2,_0x9b1a66(_0x264ee9)),Oe(0x3,_0x1d6be9)],Ae);var gn=Object['getOwnPropertyDescriptor'],vn=(_0x2ae3c1,_0x5b9013,_0x5612fd,_0x5e32ad)=>{const _0xf73920=_0x38fc52;for(var _0x21a7a2=_0x5e32ad>0x1?void 0x0:_0x5e32ad?gn(_0x5b9013,_0x5612fd):_0x5b9013,_0x53c9ce=_0x2ae3c1[_0xf73920(0x269)]-0x1,_0x53295d;_0x53c9ce>=0x0;_0x53c9ce--)(_0x53295d=_0x2ae3c1[_0x53c9ce])&&(_0x21a7a2=_0x53295d(_0x21a7a2)||_0x21a7a2);return _0x21a7a2;},K=(_0x517fae,_0x237d3c)=>(_0xda68f6,_0x27df66)=>_0x237d3c(_0xda68f6,_0x27df66,_0x517fae);let st=class extends _0x26fbbb{constructor(_0x41a5ba,_0x129994,_0x96e272,_0x16c202,_0x329ae7){super(_0x41a5ba,_0x129994,_0x96e272,_0x16c202,_0x329ae7);}async[_0x38fc52(0x28b)](_0x10ba1f){const _0x24453e=_0x38fc52,_0x534903=await this[_0x24453e(0x10f)](),_0x5e2b06=this[_0x24453e(0x265)](_0x10ba1f,_0x534903);return this[_0x24453e(0x267)](_0x5e2b06);}[_0x38fc52(0x265)](_0x2329de,_0x2002ec){const _0x3e876f=_0x38fc52,_0x2a13b8=typeof window>'u'?new URL(_0x2329de):new URL(_0x2329de,window[_0x3e876f(0x153)][_0x3e876f(0x134)]);_0x2a13b8[_0x3e876f(0x1ce)][_0x3e876f(0x18a)](_0x3e876f(0x13c),_0x2002ec);const _0x4a7b4f=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3e876f(0x153)][_0x3e876f(0xc8)]);return _0x4a7b4f[_0x3e876f(0x1b6)](_0x3e876f(0x256))&&_0x2a13b8[_0x3e876f(0x1ce)][_0x3e876f(0x18a)](_0x3e876f(0x256),_0x4a7b4f[_0x3e876f(0x1b6)](_0x3e876f(0x256))),_0x2a13b8[_0x3e876f(0xcc)]();}async[_0x38fc52(0x10f)](){const _0x398e40=_0x38fc52;var _0x84605b,_0x372328,_0x9af606;const _0x2fad5d=this[_0x398e40(0xf3)][_0x398e40(0x199)](_0x5b691c),_0xaea850=(_0x84605b=_0x2fad5d==null?void 0x0:_0x2fad5d[_0x398e40(0x14a)])!=null?_0x84605b:_0xcc50b8;return(_0x9af606=(_0x372328=(await this[_0x398e40(0x2ae)][_0x398e40(0x1b6)](_0xaea850,{'headers':{'Content-Type':_0x398e40(0xcb)}}))[_0x398e40(0x253)])==null?void 0x0:_0x372328['ticket'])!=null?_0x9af606:'';}};st=vn([K(0x0,_0x9b1a66(_0x264ee9)),K(0x1,_0x9b1a66(_0x17ded4)),K(0x2,_0x1d6be9),K(0x3,_0x13e4f2),K(0x4,_0xbff727)],st);const it=0x7530,nt='ACTIVE_UNIT_EVENT_CHANNEL';class Fn extends _0x234aca{constructor(){const _0x16d8b7=_0x38fc52;super(),_(this,_0x16d8b7(0x2a5),_0x39ba7d()),_(this,_0x16d8b7(0x114),new Set()),_(this,_0x16d8b7(0x104),new Map()),_(this,_0x16d8b7(0x1cd),null),_(this,'_clearOtherTimers',new Map()),_(this,'_unitStatus',new Map()),this[_0x16d8b7(0x11e)]();}[_0x38fc52(0x195)](){const _0x524292=_0x38fc52;super[_0x524292(0x195)](),this[_0x524292(0x2a8)][_0x524292(0x186)]((_0x14d0fe,_0x34f91f)=>this['_removeClearOtherTimer'](_0x34f91f)),this[_0x524292(0x1cd)]&&window[_0x524292(0x259)](this['_heartbeatTimer']);}[_0x38fc52(0x139)](_0x5ecee5){const _0x310d5a=_0x38fc52;return this[_0x310d5a(0x266)](_0x5ecee5)[_0x310d5a(0x2bd)](_0x411534());}[_0x38fc52(0x1d7)](_0x531ba2){const _0x17a4da=_0x38fc52;this[_0x17a4da(0x114)][_0x17a4da(0x2d1)]===0x0&&this[_0x17a4da(0x138)](),this[_0x17a4da(0x114)][_0x17a4da(0xf0)](_0x531ba2),this[_0x17a4da(0x125)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x531ba2],'isForwarded':!0x1});}[_0x38fc52(0x20d)](_0x1f8bd7){const _0x30cbe2=_0x38fc52;this['_selfUnitIDs']['delete'](_0x1f8bd7),this[_0x30cbe2(0x114)]['size']===0x0&&this[_0x30cbe2(0x1cd)]&&window[_0x30cbe2(0x259)](this[_0x30cbe2(0x1cd)]);}[_0x38fc52(0x11e)](){const _0xfde49e=_0x38fc52;this[_0xfde49e(0x2c9)](_0x34e549(_0x42dee8(window,_0xfde49e(0x152))[_0xfde49e(0x26e)](_0x43b07b=>{const _0x2a3960=_0xfde49e;if(_0x43b07b[_0x2a3960(0x22b)]!==nt||!_0x43b07b[_0x2a3960(0x1ae)])return;const _0x542563=JSON['parse'](_0x43b07b[_0x2a3960(0x1ae)]);this['_handleEvent'](_0x542563);}))),window[_0xfde49e(0x124)]('unload',()=>this[_0xfde49e(0x125)]({'type':0x1,'memberID':this[_0xfde49e(0x2a5)],'unitIDs':Array[_0xfde49e(0x28c)](this[_0xfde49e(0x114)])}));}[_0x38fc52(0x221)](_0x2fd94a){const _0x2854eb=_0x38fc52;switch(_0x2fd94a[_0x2854eb(0x19e)]){case 0x0:this['_handleJoinEvent'](_0x2fd94a);break;case 0x1:this[_0x2854eb(0x29f)](_0x2fd94a);break;case 0x2:this['_handleHeartbeatEvent'](_0x2fd94a);break;}}[_0x38fc52(0xc7)](_0x5e3f0f){const _0x47f227=_0x38fc52,{unitIDs:_0x1834d6,memberID:_0x130f03,isForwarded:_0x379ceb}=_0x5e3f0f;_0x1834d6['forEach'](_0x5c150a=>{const _0x512e85=_0x5890;if(!_0x379ceb&&this[_0x512e85(0x104)][_0x512e85(0x1ea)](_0x5c150a)&&this['_ensureSubject'](_0x5c150a)[_0x512e85(0x1de)](_0x396e17[_0x512e85(0x23b)]),!this['_unitOnClients'][_0x512e85(0x1ea)](_0x5c150a)||!this[_0x512e85(0x104)]['get'](_0x5c150a)['has'](_0x130f03)){const _0x39df2a=this[_0x512e85(0x104)]['get'](_0x5c150a)||new Set();_0x39df2a['add'](_0x130f03),this[_0x512e85(0x104)][_0x512e85(0x18a)](_0x5c150a,_0x39df2a),this[_0x512e85(0x17e)](_0x130f03);}}),_0x379ceb||this[_0x47f227(0x125)]({'type':0x0,'memberID':this[_0x47f227(0x2a5)],'unitIDs':[...this[_0x47f227(0x114)]],'isForwarded':!0x0});}[_0x38fc52(0x17e)](_0x1f8b8d){const _0x53055d=_0x38fc52;this[_0x53055d(0x26d)](_0x1f8b8d);const _0x1f200e=window[_0x53055d(0x132)](()=>{const _0xb24f22=_0x53055d;this[_0xb24f22(0x104)][_0xb24f22(0x186)](_0x26a3f0=>{_0x26a3f0['delete'](_0x1f8b8d);});},it*0x2);this[_0x53055d(0x2a8)]['set'](_0x1f8b8d,_0x1f200e);}[_0x38fc52(0x26d)](_0xebc3b2){const _0x120cb8=_0x38fc52;if(this['_clearOtherTimers'][_0x120cb8(0x1ea)](_0xebc3b2)){const _0x51f291=this[_0x120cb8(0x2a8)][_0x120cb8(0x1b6)](_0xebc3b2);_0x51f291&&window[_0x120cb8(0x21c)](_0x51f291),this[_0x120cb8(0x2a8)][_0x120cb8(0x18a)](_0xebc3b2,null);}}['_handleLeaveEvent'](_0x5628ff){const _0x589902=_0x38fc52,{memberID:_0x5e5135,unitIDs:_0x184bb0}=_0x5628ff;_0x184bb0[_0x589902(0x186)](_0x4caca1=>{const _0x3265fe=_0x589902;var _0x1e9664;const _0x52d44c=this[_0x3265fe(0x104)]['get'](_0x4caca1);_0x52d44c&&(_0x52d44c[_0x3265fe(0x19c)](_0x5e5135),(_0x1e9664=this['_ensureSubject'](_0x4caca1))==null||_0x1e9664[_0x3265fe(0x1de)](_0x52d44c['size']===0x0?_0x396e17[_0x3265fe(0x24a)]:_0x396e17[_0x3265fe(0x23b)]));}),this['_removeClearOtherTimer'](_0x5e5135);}['_handleHeartbeatEvent'](_0x35ce3f){this['_scheduleClearOtherTimer'](_0x35ce3f['memberID']);}[_0x38fc52(0x125)](_0x3e576f){const _0x2165f5=_0x38fc52;localStorage['setItem'](nt,JSON[_0x2165f5(0x109)](_0x3e576f));}[_0x38fc52(0x138)](){const _0x328557=_0x38fc52;this[_0x328557(0x1cd)]=window['setInterval'](()=>{const _0x5550b8=_0x328557;this['_send']({'type':0x2,'memberID':this[_0x5550b8(0x2a5)]});},it);}[_0x38fc52(0x266)](_0x410b6f){const _0x39b81a=_0x38fc52;return this[_0x39b81a(0x203)]['has'](_0x410b6f)||this[_0x39b81a(0x203)][_0x39b81a(0x18a)](_0x410b6f,new _0x5250b5(_0x396e17['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus'][_0x39b81a(0x1b6)](_0x410b6f);}}var Mt=(_0x30475e=>(_0x30475e[_0x30475e[_0x38fc52(0x2b8)]=0x0]=_0x38fc52(0x2b8),_0x30475e[_0x30475e['OK']=0x1]='OK',_0x30475e[_0x30475e['INTERNAL_ERROR']=0x2]=_0x38fc52(0x111),_0x30475e[_0x30475e['PERMISSION_DENIED']=0x3]=_0x38fc52(0x20a),_0x30475e[_0x30475e['NOT_FOUND']=0x4]='NOT_FOUND',_0x30475e[_0x30475e[_0x38fc52(0x21e)]=0x5]=_0x38fc52(0x21e),_0x30475e[_0x30475e[_0x38fc52(0x1c4)]=0x6]='ALREADY_EXISTS',_0x30475e[_0x30475e[_0x38fc52(0xf1)]=0x7]=_0x38fc52(0xf1),_0x30475e[_0x30475e[_0x38fc52(0x200)]=0x8]=_0x38fc52(0x200),_0x30475e[_0x30475e[_0x38fc52(0x177)]=0x9]=_0x38fc52(0x177),_0x30475e[_0x30475e[_0x38fc52(0x26c)]=0xa]='LOGIN_FAILED',_0x30475e[_0x30475e[_0x38fc52(0x1d5)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x30475e[_0x30475e[_0x38fc52(0x11c)]=0xc]=_0x38fc52(0x11c),_0x30475e[_0x30475e[_0x38fc52(0x1b9)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x30475e[_0x30475e[_0x38fc52(0x174)]=0xe]=_0x38fc52(0x174),_0x30475e[_0x30475e['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x30475e[_0x30475e['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x38fc52(0x181),_0x30475e[_0x30475e[_0x38fc52(0xfa)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x30475e[_0x30475e[_0x38fc52(0x230)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x30475e[_0x30475e[_0x38fc52(0xf6)]=0x1b59]='APPLY_REJECT',_0x30475e[_0x30475e['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x30475e[_0x30475e['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x38fc52(0x105),_0x30475e[_0x30475e[_0x38fc52(0x22a)]=0x1b5c]=_0x38fc52(0x22a),_0x30475e[_0x30475e[_0x38fc52(0x131)]=0x1b5d]=_0x38fc52(0x131),_0x30475e[_0x30475e[_0x38fc52(0x29c)]=0x1f41]=_0x38fc52(0x29c),_0x30475e[_0x30475e[_0x38fc52(0xe5)]=0x2329]=_0x38fc52(0xe5),_0x30475e[_0x30475e[_0x38fc52(0x164)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x30475e[_0x30475e[_0x38fc52(0x17d)]=0x232b]=_0x38fc52(0x17d),_0x30475e[_0x30475e[_0x38fc52(0x249)]=0x232c]=_0x38fc52(0x249),_0x30475e[_0x30475e['LICENSE_DISTRO_REJECTED']=0x232d]=_0x38fc52(0x128),_0x30475e[_0x30475e['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x38fc52(0x219),_0x30475e[_0x30475e[_0x38fc52(0x17a)]=0x2712]=_0x38fc52(0x17a),_0x30475e[_0x30475e[_0x38fc52(0x1b8)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x30475e[_0x30475e['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x38fc52(0x122),_0x30475e[_0x30475e['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x38fc52(0x16f),_0x30475e[_0x30475e[_0x38fc52(0x25f)]=0x271b]=_0x38fc52(0x25f),_0x30475e[_0x30475e['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x38fc52(0x21a),_0x30475e[_0x30475e['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x38fc52(0x252),_0x30475e[_0x30475e[_0x38fc52(0x293)]=0x271e]=_0x38fc52(0x293),_0x30475e[_0x30475e[_0x38fc52(0x1c1)]=0x271f]=_0x38fc52(0x1c1),_0x30475e[_0x30475e['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x30475e[_0x30475e[_0x38fc52(0xf7)]=0x2af9]=_0x38fc52(0xf7),_0x30475e[_0x30475e['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x30475e[_0x30475e[_0x38fc52(0x277)]=0x2ee2]='INVALID_INVITE_CODE',_0x30475e[_0x30475e['INVITE_CODE_REQUIRED']=0x2ee3]=_0x38fc52(0x225),_0x30475e[_0x30475e[_0x38fc52(0x180)]=0x2ee4]=_0x38fc52(0x180),_0x30475e[_0x30475e[_0x38fc52(0x1e0)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x30475e[_0x30475e['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x38fc52(0x1a3),_0x30475e[_0x30475e[_0x38fc52(0x150)]=0x32ca]=_0x38fc52(0x150),_0x30475e[_0x30475e['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x38fc52(0xe6),_0x30475e[_0x30475e[_0x38fc52(0x275)]=-0x1]='UNRECOGNIZED',_0x30475e))(Mt||{}),pn=Object[_0x38fc52(0x11d)],Cn=(_0x568661,_0x218520,_0x9f6b8b,_0xc9dd7b)=>{const _0x5d78b1=_0x38fc52;for(var _0x1800ff=_0xc9dd7b>0x1?void 0x0:_0xc9dd7b?pn(_0x218520,_0x9f6b8b):_0x218520,_0x149e8d=_0x568661[_0x5d78b1(0x269)]-0x1,_0x500ffe;_0x149e8d>=0x0;_0x149e8d--)(_0x500ffe=_0x568661[_0x149e8d])&&(_0x1800ff=_0x500ffe(_0x1800ff)||_0x1800ff);return _0x1800ff;},be=(_0x22fd38,_0x3a2eef)=>(_0x1d7ee0,_0x50fdfa)=>_0x3a2eef(_0x1d7ee0,_0x50fdfa,_0x22fd38);let rt=class extends _0x234aca{constructor(_0x4296a3,_0x469da6,_0x2204ec){const _0x385ad5=_0x38fc52;super(),this['_instanceService']=_0x4296a3,this[_0x385ad5(0x2ae)]=_0x469da6,this[_0x385ad5(0xf3)]=_0x2204ec;}async['runOnServer'](_0x3d3deb,_0x503e51,_0x43d752,..._0x30d8ff){const _0x16ffe6=_0x38fc52;var _0x5e34d1,_0x1a31fd,_0x5d3bd7,_0x2ddc05;const _0x365ff2=this[_0x16ffe6(0x2a6)]['getFocusedUnit']();if(!_0x365ff2)throw new Error(_0x16ffe6(0x1e1));const _0x14a27a=((_0x5e34d1=this[_0x16ffe6(0xf3)][_0x16ffe6(0x199)](_0x3fdb3f))!=null?_0x5e34d1:_0x285ce8)+'/'+_0x3d3deb+_0x16ffe6(0x291)+_0x503e51,_0x29130f=new URL(window[_0x16ffe6(0x153)][_0x16ffe6(0x250)]),_0x370659={'scriptId':_0x3d3deb,'runId':(_0x1a31fd=_0x29130f['searchParams'][_0x16ffe6(0x1b6)](_0x16ffe6(0x256)))!=null?_0x1a31fd:'','function':_0x503e51,'unitId':_0x365ff2['getUnitId'](),'argsOfFunction':JSON[_0x16ffe6(0x109)](_0x30d8ff),'invokeId':(_0x5d3bd7=_0x43d752[_0x16ffe6(0xd0)])!=null?_0x5d3bd7:'','executionId':(_0x2ddc05=_0x43d752[_0x16ffe6(0x25c)])!=null?_0x2ddc05:''};try{const _0x195022=await this['_httpService'][_0x16ffe6(0x141)](_0x14a27a,{'body':_0x370659});return _0x195022['body'][_0x16ffe6(0x1f5)]&&_0x195022['body'][_0x16ffe6(0x1f5)][_0x16ffe6(0x1b4)]!==Mt['OK']?'Failed':_0x195022['body'][_0x16ffe6(0x179)];}catch{return'Failed';}}};rt=Cn([be(0x0,_0x12ea05),be(0x1,_0x9b1a66(_0x17ded4)),be(0x2,_0x1d6be9)],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 _0x1581fe=_0x5ed8;(function(_0x5eabe3,_0x54e45d){const _0x421292=_0x5ed8,_0x491c6e=_0x5eabe3();while(!![]){try{const _0x351d92=-parseInt(_0x421292(0x119))/0x1+parseInt(_0x421292(0x116))/0x2*(parseInt(_0x421292(0x112))/0x3)+parseInt(_0x421292(0x10f))/0x4*(-parseInt(_0x421292(0x109))/0x5)+-parseInt(_0x421292(0x11a))/0x6*(-parseInt(_0x421292(0x10b))/0x7)+-parseInt(_0x421292(0x110))/0x8*(parseInt(_0x421292(0x11c))/0x9)+-parseInt(_0x421292(0x113))/0xa+parseInt(_0x421292(0x115))/0xb;if(_0x351d92===_0x54e45d)break;else _0x491c6e['push'](_0x491c6e['shift']());}catch(_0xcd636c){_0x491c6e['push'](_0x491c6e['shift']());}}}(_0x51c1,0x47b33));const e={'collab-client':{'tooltip':{'reconnect':_0x1581fe(0x117)}},'collabStatus':{'fetchMiss':_0x1581fe(0x10c),'conflict':_0x1581fe(0x108),'notCollab':'Local\x20file','synced':_0x1581fe(0x10d),'syncing':_0x1581fe(0x118),'offline':_0x1581fe(0x10a)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x1581fe(0x106),'room-full':_0x1581fe(0x11d),'collaboration-timeout':_0x1581fe(0x111)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x1581fe(0x11e)},'permission':{'title':_0x1581fe(0x114),'content':_0x1581fe(0x11b)},'collaboration':{'single-unit':{'warning':_0x1581fe(0x107)},'closeRoom':_0x1581fe(0x10e)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};export{e as default};function _0x5ed8(_0x279a22,_0x579485){const _0x51c1c0=_0x51c1();return _0x5ed8=function(_0x5ed8ab,_0x5a2ae7){_0x5ed8ab=_0x5ed8ab-0x106;let _0x3ec2f7=_0x51c1c0[_0x5ed8ab];return _0x3ec2f7;},_0x5ed8(_0x279a22,_0x579485);}function _0x51c1(){const _0x239c61=['3492tkdfAB','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Edit\x20conflicts','115ZXCFbG','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','7ILrLSo','Syncing\x20server\x20data...','Synced','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','60004ONfzDG','4240FVqtXL','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','686409JMuweo','5237770tAPFgW','Authentication\x20Error','10467721TxtojX','2sIYKhP','Click\x20to\x20Reconnect','Syncing...','139676qDKATN','1964310JpcyoQ','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'];_0x51c1=function(){return _0x239c61;};return _0x51c1();}
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x594df0=_0x4c7e;(function(_0x3d6247,_0x2d7e3c){const _0x5dbc10=_0x4c7e,_0x2fb6f7=_0x3d6247();while(!![]){try{const _0x103305=-parseInt(_0x5dbc10(0x11f))/0x1*(-parseInt(_0x5dbc10(0x120))/0x2)+-parseInt(_0x5dbc10(0x121))/0x3*(-parseInt(_0x5dbc10(0x11c))/0x4)+-parseInt(_0x5dbc10(0x123))/0x5+parseInt(_0x5dbc10(0x118))/0x6+-parseInt(_0x5dbc10(0x128))/0x7+parseInt(_0x5dbc10(0x119))/0x8+parseInt(_0x5dbc10(0x11d))/0x9*(-parseInt(_0x5dbc10(0x12a))/0xa);if(_0x103305===_0x2d7e3c)break;else _0x2fb6f7['push'](_0x2fb6f7['shift']());}catch(_0x1fbab8){_0x2fb6f7['push'](_0x2fb6f7['shift']());}}}(_0x4467,0xc33d3));function _0x4c7e(_0x4485bc,_0x136798){const _0x446741=_0x4467();return _0x4c7e=function(_0x4c7e05,_0x4beea3){_0x4c7e05=_0x4c7e05-0x117;let _0x3c7717=_0x446741[_0x4c7e05];return _0x3c7717;},_0x4c7e(_0x4485bc,_0x136798);}function _0x4467(){const _0x4a7265=['اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','پرونده\x20محلی','5121158bPEGsq','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','12793120gpIjJh','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','در\x20حال\x20همگام\x20سازی...','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','6112230DaKKHa','912376qfiRbe','همگام\x20سازی','تداخل\x20همکاری','4glwQLl','9hGgqKK','یک\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رفت.','887HnQwAg','1312CqMKLT','4348677MNcrWz','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','1767890oYXXsg'];_0x4467=function(){return _0x4a7265;};return _0x4467();}const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':_0x594df0(0x12b),'conflict':'تداخل\x20ویرایش','notCollab':_0x594df0(0x127),'synced':_0x594df0(0x11a),'syncing':_0x594df0(0x12c),'offline':'آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','room-full':_0x594df0(0x125),'collaboration-timeout':_0x594df0(0x117)},'conflict':{'title':_0x594df0(0x11b),'content':_0x594df0(0x11e)},'permission':{'title':'خطای\x20اعتبارسنجی','content':_0x594df0(0x124)},'collaboration':{'single-unit':{'warning':_0x594df0(0x122)},'closeRoom':_0x594df0(0x129)},'auth':{'needGotoLoginAlert':_0x594df0(0x126)}};export{o as default};
|