@univerjs-pro/collaboration-client-ui 0.9.3-nightly.202507250819 → 0.9.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +16 -16
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x3a57f9=_0x531b;(function(_0x5ee94d,_0x259386){const _0x487b3c=_0x531b,_0x26d9de=_0x5ee94d();while(!![]){try{const _0x5ad741=-parseInt(_0x487b3c(0x1de))/0x1*(parseInt(_0x487b3c(0x1d2))/0x2)+-parseInt(_0x487b3c(0x2ae))/0x3+-parseInt(_0x487b3c(0x210))/0x4+parseInt(_0x487b3c(0x2cf))/0x5*(-parseInt(_0x487b3c(0x294))/0x6)+-parseInt(_0x487b3c(0x183))/0x7+-parseInt(_0x487b3c(0x27e))/0x8+parseInt(_0x487b3c(0x18d))/0x9;if(_0x5ad741===_0x259386)break;else _0x26d9de['push'](_0x26d9de['shift']());}catch(_0x562c9e){_0x26d9de['push'](_0x26d9de['shift']());}}}(_0x1193,0x711ea));var xt=Object[_0x3a57f9(0xef)],Bt=(_0x5cbccc,_0x43df74,_0x48ea13)=>_0x43df74 in _0x5cbccc?xt(_0x5cbccc,_0x43df74,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x48ea13}):_0x5cbccc[_0x43df74]=_0x48ea13,_=(_0x4617f8,_0x17beb8,_0x8c2276)=>Bt(_0x4617f8,typeof _0x17beb8!=_0x3a57f9(0x2a6)?_0x17beb8+'':_0x17beb8,_0x8c2276);import{MemberService as _0x1b3f61,SessionStatus as _0x3ac856,CollaborationSessionService as _0x1e8ca8,CollaborationStatus as _0x1292c5,CollaborationController as _0x1edc48,ILocalCacheService as _0x2cfad2,CollaborationUIEventService as _0x9aea63,CollaborationUIEventId as _0x4c162c,DataLoaderService as _0x4aae42,DocCollaborationEntity as _0x18bf24,getLocalCacheKey as _0x38124f,LOCAL_CACHE_INTERVAL as _0x2db360,LOCAL_CACHE_INTERVAL_KEY as _0xed578d,UniverCollaborationClientPlugin as _0x3e1b3e,CollaborationSocketService as _0x57cd60,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x285bd1,DEFAULT_WS_SESSION_TICKET_URL as _0x25c621,UnitStatus as _0x5d87c5,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x2d7956,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x1cd823}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x553b56,Disposable as _0x16ac65,DOC_RANGE_TYPE as _0x5dc5fd,Inject as _0x3296bc,Injector as _0x538ee1,IUniverInstanceService as _0x1be569,ICommandService as _0x1b52c7,debounce as _0x4248fe,Rectangle as _0x1377a1,DisposableCollection as _0x30772f,toDisposable as _0x3d316a,UniverInstanceType as _0x54ea39,generateRandomId as _0x44ddb8,COLORS as _0x4ec670,ColorKit as _0x2f68e6,ThemeService as _0x2a35f5,fromEventSubject as _0x12af36,LocaleService as _0xc76249,createIdentifier as _0x3194fa,ILogService as _0x2d6f9d,Optional as _0x2ddda6,Workbook as _0x548083,Tools as _0xef5339,CommandType as _0x326c54,IConfigService as _0x2f1f09,ILocalStorageService as _0x34513f,DependentOn as _0x49e18d,Plugin as _0x273334,merge as _0x18fc6d,registerDependencies as _0x4059dc,mergeOverrideWithDependencies as _0x1dbfa7,touchDependencies as _0xafaaa7}from'@univerjs/core';import{Shape as _0x190471,Rect as _0x298a7f,getColor as _0x360fe9,RegularPolygon as _0x5b63e0,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x7ede9f,Vector2 as _0x23205c,SHEET_VIEWPORT_KEY as _0x1c65dc,IRenderManagerService as _0x20c53d}from'@univerjs/engine-render';import{ISocketService as _0x18d2f7,WebSocketService as _0x4d0048,HTTPService as _0x1cd424}from'@univerjs/network';import{IDocClipboardService as _0x4ddbc8,NodePositionConvertToCursor as _0x378cc1,NodePositionConvertToRectRange as _0x245e8e,TEXT_RANGE_LAYER_INDEX as _0x4cd739,SetDocZoomRatioOperation as _0x4bbc50,DocIMEInputManagerService as _0x427731,DocStateChangeManagerService as _0x26fc0c}from'@univerjs/docs-ui';import{IImageIoService as _0x19a472}from'@univerjs/drawing';import{BehaviorSubject as _0x3985c9,debounceTime as _0x105dcf,takeUntil as _0x2a6b6e,Subject as _0x1a62a5,filter as _0x32a48e,switchMap as _0x2f89c3,merge as _0x511b3a,combineLatest as _0x4c37b2,of as _0x2b78f5,fromEvent as _0x5942d0,shareReplay as _0x21f060,mapTo as _0x82e8ad,distinctUntilChanged as _0x43cb2c}from'rxjs';import{ITransformService as _0x5dc57d,CollaborationEvent as _0x29005c,isTransformMutationFailure as _0x2e710a,isTransformMutationsWithChangesetSuccess as _0x503663,RevisionService as _0x51757e,ISnapshotServerService as _0x3ab256}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x5466dc,RichTextEditingMutation as _0x5a2a2a,DocSelectionManagerService as _0x5d5866,DocSkeletonManagerService as _0x11fdd8}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x5d2865,serializeRangeWithSheet as _0x14aab0}from'@univerjs/engine-formula';import{RefRangeService as _0x3113c7,SetSelectionsOperation as _0x292d39,SheetsSelectionsService as _0x362350,EffectRefRangId as _0x4c62fc,handleIRemoveRow as _0x1837d3,handleIRemoveCol as _0x8c424c,handleMoveRange as _0x2d28a8,handleInsertRow as _0x36e4bb,handleInsertRangeMoveRight as _0xa51913,handleInsertRangeMoveDown as _0x3758d0,handleInsertCol as _0x2a8171,handleDeleteRangeMoveUp as _0xace0d,handleDeleteRangeMoveLeft as _0x341296,runRefRangeMutations as _0x1a66b0,SetWorksheetActivateCommand as _0xd0e3e4}from'@univerjs/sheets';import{map as _0x27e7e4,filter as _0x5ee7ee,throttleTime as _0x303e6d,takeUntil as _0x284c45,switchMap as _0x4cd0d6}from'rxjs/operators';import{SheetSkeletonManagerService as _0x17c6af,getCoordByCell as _0x35ce15,getSheetObject as _0x52c2ad}from'@univerjs/sheets-ui';import{jsx as _0x73b12f,jsxs as _0x446319}from'react/jsx-runtime';import{useObservable as _0xa6d25d,useDependency as _0x53a4d7,IUIPartsService as _0x16f3b0,BuiltInUIPart as _0x81f02a,connectInjector as _0x2ad6b2,IBeforeCloseService as _0x34768e,IMessageService as _0x2e55ff,INotificationService as _0x34afaf}from'@univerjs/ui';import{Tooltip as _0x3e4beb,clsx as _0xf70887,MessageType as _0x3ef35b}from'@univerjs/design';import{forwardRef as _0x492358,useRef as _0x16cdbc,createElement as _0x2f64f8,useCallback as _0x14d084}from'react';import{IRemoteInstanceService as _0x1bb5ff}from'@univerjs/rpc';var ci=Object[_0x3a57f9(0x179)],li=(_0x349eb3,_0x3f0e4a,_0x13d112,_0x2a6ec9)=>{const _0x33be2d=_0x3a57f9;for(var _0x5a264a=_0x2a6ec9>0x1?void 0x0:_0x2a6ec9?ci(_0x3f0e4a,_0x13d112):_0x3f0e4a,_0x2f1384=_0x349eb3[_0x33be2d(0x1f3)]-0x1,_0x1b5daa;_0x2f1384>=0x0;_0x2f1384--)(_0x1b5daa=_0x349eb3[_0x2f1384])&&(_0x5a264a=_0x1b5daa(_0x5a264a)||_0x5a264a);return _0x5a264a;},Ze=(_0x2d1373,_0x1ced96)=>(_0x22e4cf,_0x591bfc)=>_0x1ced96(_0x22e4cf,_0x591bfc,_0x2d1373);let Ue=class extends _0x553b56{constructor(_0x57287b,_0x2559e2){const _0x31c80e=_0x3a57f9;super(),this[_0x31c80e(0x1c8)]=_0x57287b,this[_0x31c80e(0x131)]=_0x2559e2,this[_0x31c80e(0x13d)]();}[_0x3a57f9(0x13d)](){const _0x4111b5=_0x3a57f9,_0x53284c=this;this[_0x4111b5(0x2b3)](this[_0x4111b5(0x1c8)][_0x4111b5(0x1b1)]({'onBeforePasteImage':async _0xfc845=>{const _0x1d48fe=_0x4111b5,_0x3a4da4=await _0x53284c['_imageIoService'][_0x1d48fe(0xdd)](_0xfc845);return _0x3a4da4?{'source':_0x3a4da4[_0x1d48fe(0x17b)],'imageSourceType':_0x3a4da4[_0x1d48fe(0x171)]}:null;}}));}};Ue=li([Ze(0x0,_0x4ddbc8),Ze(0x1,_0x19a472)],Ue);const Qe=[_0x3a57f9(0xf1),'jiqing.500',_0x3a57f9(0x24d),_0x3a57f9(0x124),'blue.400','yellow.400'];class He extends _0x16ac65{constructor(){const _0x12f3e7=_0x3a57f9;super(...arguments),_(this,_0x12f3e7(0x25d),new Map()),_(this,_0x12f3e7(0x1b9),0x0);}[_0x3a57f9(0x2c5)](_0x3ac74f){const _0x2b7ab3=_0x3a57f9;if(this[_0x2b7ab3(0x25d)][_0x2b7ab3(0x223)](_0x3ac74f))return this['_assignedColors'][_0x2b7ab3(0x147)](_0x3ac74f);const _0x5da509=Qe[this[_0x2b7ab3(0x1b9)]];return this[_0x2b7ab3(0x1b9)]=(this[_0x2b7ab3(0x1b9)]+0x1)%Qe['length'],this[_0x2b7ab3(0x25d)][_0x2b7ab3(0x22d)](_0x3ac74f,_0x5da509),_0x5da509;}}function Rt(_0x4895b3){let _0x35cea2='';for(const _0x35bd34 of _0x4895b3){const {startOffset:_0x27e418,endOffset:_0x1a4577,isActive:_0x412b9c,rangeType:_0x134075,segmentId:_0x18eb72,segmentPage:_0xb00440}=_0x35bd34;_0x35cea2['length']&&(_0x35cea2+=','),_0x35cea2+=_0x27e418+':'+_0x1a4577+':'+(_0x412b9c?'1':'0')+':'+_0x134075+':'+_0x18eb72+':'+_0xb00440;}return _0x35cea2;}function _i(_0x519978){const _0x501a90=_0x3a57f9,_0x20479f=_0x519978[_0x501a90(0x28d)](','),_0x3a0c0b=[];for(const _0x37304c of _0x20479f){const [_0x20cf3f,_0x148fa6,_0x3c0a95,_0x338859,_0xc5cd8c,_0x8feeb9]=_0x37304c['split'](':');_0x3a0c0b[_0x501a90(0x1fd)]({'startOffset':Number(_0x20cf3f),'endOffset':Number(_0x148fa6),'collapsed':_0x20cf3f===_0x148fa6,'isActive':_0x3c0a95==='1','rangeType':_0x338859===_0x5dc5fd[_0x501a90(0x15b)]?_0x5dc5fd[_0x501a90(0x15b)]:_0x5dc5fd[_0x501a90(0x1cb)],'segmentId':typeof _0xc5cd8c=='string'?String(_0xc5cd8c):'','segmentPage':Number(_0x8feeb9!=null?_0x8feeb9:-0x1)});}return _0x3a0c0b['some'](_0x273d7b=>_0x273d7b['isActive'])||(_0x3a0c0b[0x0][_0x501a90(0x218)]=!0x0),_0x3a0c0b;}class Fe extends _0x553b56{constructor(){const _0x4bdc78=_0x3a57f9;super(...arguments),_(this,'_collabCursorState$',new _0x3985c9(null)),_(this,'collabCursorState$',this[_0x4bdc78(0x160)][_0x4bdc78(0x10a)]());}[_0x3a57f9(0x129)](_0x31e2b0){const _0x49cd03=_0x3a57f9,{unitID:_0x12b900,memberID:_0x48460e,textRanges:_0x4250c3}=_0x31e2b0,_0x2d0593=Rt(_0x4250c3);if(_0x2d0593==='')return;const _0x29436a={'unitID':_0x12b900,'memberID':_0x48460e,'selection':_0x2d0593};this[_0x49cd03(0x160)]['next'](_0x29436a);}}var hi=Object['getOwnPropertyDescriptor'],ui=(_0x10ebc3,_0x36dcf9,_0x128752,_0x26236e)=>{const _0x487c79=_0x3a57f9;for(var _0xdefa8=_0x26236e>0x1?void 0x0:_0x26236e?hi(_0x36dcf9,_0x128752):_0x36dcf9,_0x38d89d=_0x10ebc3[_0x487c79(0x1f3)]-0x1,_0x9be169;_0x38d89d>=0x0;_0x38d89d--)(_0x9be169=_0x10ebc3[_0x38d89d])&&(_0xdefa8=_0x9be169(_0xdefa8)||_0xdefa8);return _0xdefa8;},P=(_0x105ce7,_0x1ec75f)=>(_0x3a47c7,_0xf0b199)=>_0x1ec75f(_0x3a47c7,_0xf0b199,_0x105ce7);const di=0x12c,fi=0x64;let Me=class extends _0x553b56{constructor(_0x2a0b76,_0x5279a6,_0x147a95,_0x2228d0,_0x11efdd,_0x4e7e6b,_0x3dba92,_0x197eb8,_0x1af7a7){const _0x3c8d7f=_0x3a57f9;super(),_(this,_0x3c8d7f(0x137),!0x1),_(this,_0x3c8d7f(0x13d),!0x1),_(this,_0x3c8d7f(0x26d),new _0x3985c9(new Map())),_(this,_0x3c8d7f(0x19c),this[_0x3c8d7f(0x26d)][_0x3c8d7f(0x10a)]()),_(this,'_roomMembers$',new _0x3985c9([])),_(this,'roomMembers$',this[_0x3c8d7f(0x12c)]['pipe'](_0x105dcf(di))),_(this,_0x3c8d7f(0x231),_0x4248fe(_0x58d791=>{const _0x26d193=_0x3c8d7f,_0x25f241={'eventID':_0x29005c[_0x26d193(0x2b7)],'data':{'unitID':this[_0x26d193(0x24e)],'memberID':this[_0x26d193(0x299)][_0x26d193(0x1c7)](),'selection':Rt(_0x58d791)}};this[_0x26d193(0x299)][_0x26d193(0x261)](_0x25f241,this[_0x26d193(0x24e)]);},fi)),(this[_0x3c8d7f(0x24e)]=_0x2a0b76,this[_0x3c8d7f(0x299)]=_0x5279a6,this[_0x3c8d7f(0x225)]=_0x147a95,this[_0x3c8d7f(0xeb)]=_0x2228d0,this['_memberService']=_0x11efdd,this[_0x3c8d7f(0x18c)]=_0x4e7e6b,this['_transformService']=_0x3dba92,this[_0x3c8d7f(0x224)]=_0x197eb8,this[_0x3c8d7f(0x29b)]=_0x1af7a7);}get[_0x3a57f9(0x18f)](){const _0x1bb99d=_0x3a57f9;return this[_0x1bb99d(0x26d)][_0x1bb99d(0x239)]();}get['roomMembers'](){const _0x2c5e51=_0x3a57f9;return this[_0x2c5e51(0x12c)][_0x2c5e51(0x239)]();}[_0x3a57f9(0x28e)](){const _0x2b8f52=_0x3a57f9;super[_0x2b8f52(0x28e)](),this[_0x2b8f52(0x26d)][_0x2b8f52(0x1c6)](new Map()),this[_0x2b8f52(0x26d)]['complete'](),this[_0x2b8f52(0x12c)][_0x2b8f52(0x1c6)]([]),this[_0x2b8f52(0x12c)][_0x2b8f52(0x154)]();}[_0x3a57f9(0x1f2)](){const _0x507a46=_0x3a57f9;this[_0x507a46(0x13d)]||(this[_0x507a46(0x13d)]=!0x0,this[_0x507a46(0x299)][_0x507a46(0x273)][_0x507a46(0x143)](_0x2a6b6e(this[_0x507a46(0x22f)]))[_0x507a46(0x175)](_0x58d6ea=>{const _0x3127d1=_0x507a46;_0x58d6ea===_0x3ac856['ONLINE']?this[_0x3127d1(0x282)]():this[_0x3127d1(0x1fc)]();}),this[_0x507a46(0x299)]['event$'][_0x507a46(0x143)](_0x2a6b6e(this['dispose$']))[_0x507a46(0x175)](_0x5e3a3e=>{const _0x398e72=_0x507a46,_0x4c8f18=_0x5e3a3e[_0x398e72(0x1b7)];_0x4c8f18===_0x29005c[_0x398e72(0x2b7)]&&this[_0x398e72(0x258)](_0x5e3a3e),_0x4c8f18===_0x29005c[_0x398e72(0x107)]&&this['_onCursorDelete'](_0x5e3a3e);}),this['disposeWithMe'](this[_0x507a46(0x29b)][_0x507a46(0x208)](_0x186900=>{const _0x286930=_0x507a46,_0x5b1343=_0x186900['params'];_0x5b1343!=null&&this[_0x286930(0x137)]&&_0x186900['id']===_0x5466dc['id']&&_0x5b1343[_0x286930(0xd4)]===this[_0x286930(0x24e)]&&_0x5b1343['isEditing']===!0x1&&_0x5b1343['ranges'][_0x286930(0x1f3)]>0x0&&this[_0x286930(0x231)](_0x5b1343[_0x286930(0x1ca)]);})),this[_0x507a46(0x18c)][_0x507a46(0xe4)][_0x507a46(0x143)](_0x2a6b6e(this[_0x507a46(0x22f)]))[_0x507a46(0x175)](_0x23437e=>{const _0x55b7cd=_0x507a46;if((_0x23437e==null?void 0x0:_0x23437e[_0x55b7cd(0x24e)])!==this[_0x55b7cd(0x24e)])return;const _0x290bcc={'eventID':_0x29005c[_0x55b7cd(0x2b7)],'data':_0x23437e};this[_0x55b7cd(0x258)](_0x290bcc);}),this['disposeWithMe'](this['_commandService'][_0x507a46(0x208)](_0x3c0914=>{const _0x5ad17d=_0x507a46;if(_0x3c0914['params']==null)return;const _0x1c653e=_0x3c0914['params'];if(_0x3c0914['id']!==_0x5a2a2a['id']||_0x1c653e[_0x5ad17d(0xd4)]!==this['unitID'])return;const _0x4cb9a5={'id':_0x5ad17d(0x29f),'params':_0x1c653e},_0x38fb3d=this['cursorInfo'];for(const [_0x465320,_0x24bc5a]of _0x38fb3d){const _0x556756={'id':_0x5ad17d(0x29f),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x24bc5a[_0x5ad17d(0x1ca)]}},_0x8c043e=this[_0x5ad17d(0x252)]['transformMutation'](_0x4cb9a5,_0x556756,!0x1);if(_0x2e710a(_0x8c043e))throw _0x8c043e['error'];_0x38fb3d[_0x5ad17d(0x22d)](_0x465320,{..._0x24bc5a,'ranges':_0x8c043e[_0x5ad17d(0x1fa)][_0x5ad17d(0xf8)]['textRanges']});}queueMicrotask(()=>{const _0x26d68f=_0x5ad17d;this[_0x26d68f(0x26d)][_0x26d68f(0x1c6)](_0x38fb3d);});})));}[_0x3a57f9(0x258)](_0x493024){const _0x20c161=_0x3a57f9;var _0x5ac15c,_0x20c242;const {memberID:_0x47cf84,selection:_0x445bac}=_0x493024[_0x20c161(0x2a3)],_0x15be15=_i(_0x445bac),_0x1ff129=(_0x20c242=(_0x5ac15c=this[_0x20c161(0xe6)]['getMember'](this[_0x20c161(0x24e)],_0x47cf84))==null?void 0x0:_0x5ac15c['name'])!=null?_0x20c242:'Unknown\x20user',_0x2886fe={'color':this[_0x20c161(0xeb)][_0x20c161(0x2c5)](_0x47cf84),'name':_0x1ff129,'ranges':_0x15be15},_0x302feb=this[_0x20c161(0x18f)];_0x302feb[_0x20c161(0x22d)](_0x47cf84,_0x2886fe),this['_cursorInfo$'][_0x20c161(0x1c6)](_0x302feb);}['_onCursorDelete'](_0x2fe818){const _0x3bfd84=_0x3a57f9,{memberID:_0x512ec4}=_0x2fe818[_0x3bfd84(0x2a3)],_0x4fecfd=this[_0x3bfd84(0x18f)];_0x4fecfd[_0x3bfd84(0x286)](_0x512ec4),this[_0x3bfd84(0x26d)][_0x3bfd84(0x1c6)](_0x4fecfd);}[_0x3a57f9(0x282)](){const _0x2b0440=_0x3a57f9;var _0x4dd2f9;if(this['_online']=!0x0,((_0x4dd2f9=this[_0x2b0440(0x224)][_0x2b0440(0x2b4)]())==null?void 0x0:_0x4dd2f9['getUnitId']())!==this[_0x2b0440(0x24e)])return;const _0x651b0e=this[_0x2b0440(0x225)][_0x2b0440(0x147)](_0x5d5866)[_0x2b0440(0x128)]();Array[_0x2b0440(0x142)](_0x651b0e)&&_0x651b0e['length']>0x0&&this[_0x2b0440(0x231)](_0x651b0e);}[_0x3a57f9(0x1fc)](){const _0x498770=_0x3a57f9;this[_0x498770(0x137)]=!0x1;}};Me=ui([P(0x2,_0x3296bc(_0x538ee1)),P(0x3,_0x3296bc(He)),P(0x4,_0x3296bc(_0x1b3f61)),P(0x5,_0x3296bc(Fe)),P(0x6,_0x5dc57d),P(0x7,_0x1be569),P(0x8,_0x1b52c7)],Me);var Si=Object[_0x3a57f9(0x179)],mi=(_0x209abb,_0x373f38,_0x490ca3,_0xc1a498)=>{const _0x42eed6=_0x3a57f9;for(var _0x86754f=_0xc1a498>0x1?void 0x0:_0xc1a498?Si(_0x373f38,_0x490ca3):_0x373f38,_0x5aae73=_0x209abb[_0x42eed6(0x1f3)]-0x1,_0x330ede;_0x5aae73>=0x0;_0x5aae73--)(_0x330ede=_0x209abb[_0x5aae73])&&(_0x86754f=_0x330ede(_0x86754f)||_0x86754f);return _0x86754f;},x=(_0x7cc5af,_0x4d5fdb)=>(_0x7626f,_0x2ace0d)=>_0x4d5fdb(_0x7626f,_0x2ace0d,_0x7cc5af);const Ii=0x12c,vi=0x64,gi=()=>{let _0x461c6b=[],_0x255656=!0x1;return _0x1ad556=>{const _0x3fb988=_0x531b;_0x461c6b[_0x3fb988(0x1fd)](_0x1ad556),_0x255656||(_0x255656=!0x0,setTimeout(()=>{const _0x3261cb=_0x3fb988;_0x461c6b[_0x3261cb(0x1f5)](_0xabee97=>_0xabee97()),_0x461c6b=[],_0x255656=!0x1;}));};};let Le=class extends _0x553b56{constructor(_0x1d77e3,_0x329314,_0x3bc8e5,_0x138759,_0x6a5c78,_0x3b0cc4,_0x28ad7a,_0x3e71ac){const _0x5941e1=_0x3a57f9;super(),_(this,_0x5941e1(0x137),!0x1),_(this,'_init',!0x1),_(this,_0x5941e1(0x26d),new _0x3985c9(new Map())),_(this,_0x5941e1(0x19c),this[_0x5941e1(0x26d)]['asObservable']()),_(this,_0x5941e1(0x12c),new _0x3985c9([])),_(this,_0x5941e1(0x11e),this[_0x5941e1(0x12c)]['pipe'](_0x105dcf(Ii))),_(this,_0x5941e1(0x231),_0x4248fe((_0x5126dd,_0x445bf8)=>{const _0xb3acdb=_0x5941e1,_0x573a5b={'eventID':_0x29005c['UPDATE_CURSOR'],'data':{'unitID':this[_0xb3acdb(0x24e)],'memberID':this[_0xb3acdb(0x299)][_0xb3acdb(0x1c7)](),'selection':_0x14aab0(_0x5126dd,_0x445bf8[_0xb3acdb(0x21a)])}};this[_0xb3acdb(0x299)][_0xb3acdb(0x261)](_0x573a5b,this[_0xb3acdb(0x24e)]);},vi)),(this[_0x5941e1(0x24e)]=_0x1d77e3,this[_0x5941e1(0x299)]=_0x329314,this[_0x5941e1(0x225)]=_0x3bc8e5,this[_0x5941e1(0xeb)]=_0x138759,this['_memberService']=_0x6a5c78,this[_0x5941e1(0x224)]=_0x3b0cc4,this[_0x5941e1(0x29b)]=_0x28ad7a,this['_refRangeService']=_0x3e71ac);}get[_0x3a57f9(0x18f)](){return this['_cursorInfo$']['getValue']();}get[_0x3a57f9(0x1e8)](){const _0x278065=_0x3a57f9;return this[_0x278065(0x12c)]['getValue']();}[_0x3a57f9(0x28e)](){const _0x7d7ae=_0x3a57f9;super[_0x7d7ae(0x28e)](),this[_0x7d7ae(0x26d)][_0x7d7ae(0x1c6)](new Map()),this['_cursorInfo$'][_0x7d7ae(0x154)](),this[_0x7d7ae(0x12c)]['next']([]),this[_0x7d7ae(0x12c)]['complete']();}[_0x3a57f9(0x1f2)](){const _0x294dd8=_0x3a57f9;this['_init']||(this[_0x294dd8(0x13d)]=!0x0,this[_0x294dd8(0x299)][_0x294dd8(0x273)]['pipe'](_0x2a6b6e(this[_0x294dd8(0x22f)]))[_0x294dd8(0x175)](_0x28587a=>{const _0x22c22a=_0x294dd8;_0x28587a===_0x3ac856[_0x22c22a(0x1da)]?this[_0x22c22a(0x282)]():this['_toggleOffline']();}),this[_0x294dd8(0x299)][_0x294dd8(0x25b)]['pipe'](_0x2a6b6e(this['dispose$']))[_0x294dd8(0x175)](_0x1fcec1=>{const _0x112da9=_0x294dd8,_0x1d0435=_0x1fcec1['eventID'];_0x1d0435===_0x29005c[_0x112da9(0x2b7)]&&this[_0x112da9(0x258)](_0x1fcec1),_0x1d0435===_0x29005c[_0x112da9(0x107)]&&this['_onCursorDelete'](_0x1fcec1);}),this[_0x294dd8(0x1fb)](),this[_0x294dd8(0x2b3)](this[_0x294dd8(0x29b)][_0x294dd8(0x208)](_0x11e931=>{const _0x5da3ba=_0x294dd8;if(this[_0x5da3ba(0x137)]&&_0x11e931['id']===_0x292d39['id']&&_0x11e931[_0x5da3ba(0xf8)][_0x5da3ba(0xd4)]===this['unitID']){const _0x386c62=_0x11e931[_0x5da3ba(0xf8)];this[_0x5da3ba(0x231)](_0x386c62[_0x5da3ba(0x1e0)],_0x386c62[_0x5da3ba(0x22b)][0x0]);}})));}[_0x3a57f9(0x258)](_0x5c6f9c){const _0x47e12a=_0x3a57f9;var _0x2b1163,_0x44c347;const {memberID:_0x2d0e11,selection:_0x54181c}=_0x5c6f9c[_0x47e12a(0x2a3)],{sheetName:_0x5cd474,range:_0x1c0d19}=_0x5d2865(_0x54181c),_0x184e99={'name':(_0x44c347=(_0x2b1163=this['_memberService'][_0x47e12a(0x17f)](this[_0x47e12a(0x24e)],_0x2d0e11))==null?void 0x0:_0x2b1163[_0x47e12a(0xec)])!=null?_0x44c347:_0x47e12a(0x19e),'range':this['_getMergeRange'](_0x5cd474,_0x1c0d19),'sheetID':_0x5cd474,'color':this[_0x47e12a(0xeb)][_0x47e12a(0x2c5)](_0x2d0e11),'selection':_0x54181c},_0x37af3b=this['cursorInfo'];_0x37af3b[_0x47e12a(0x22d)](_0x2d0e11,_0x184e99),this[_0x47e12a(0x26d)]['next'](_0x37af3b);}['_onCursorDelete'](_0x3134c){const _0x17c5c7=_0x3a57f9,{memberID:_0x49a86e}=_0x3134c[_0x17c5c7(0x2a3)],_0x18d058=this[_0x17c5c7(0x18f)];_0x18d058['delete'](_0x49a86e),this[_0x17c5c7(0x26d)][_0x17c5c7(0x1c6)](_0x18d058);}[_0x3a57f9(0x1d6)](_0x9bdc70,_0x17139e){const _0x25eaa1=_0x3a57f9;var _0x4380df,_0x8d4af7;const _0x406759=(_0x8d4af7=(_0x4380df=this[_0x25eaa1(0x224)][_0x25eaa1(0x2c6)](this[_0x25eaa1(0x24e)]))==null?void 0x0:_0x4380df[_0x25eaa1(0x11d)](_0x9bdc70))==null?void 0x0:_0x8d4af7[_0x25eaa1(0x246)]();return(_0x406759==null?void 0x0:_0x406759[_0x25eaa1(0xf7)](_0x811e63=>_0x1377a1['contains'](_0x811e63,_0x17139e)))||_0x17139e;}[_0x3a57f9(0x1fb)](){const _0x113a9b=_0x3a57f9,_0x3321e9=new _0x30772f(),_0x569bba=gi(),_0x15cb6f=()=>{const _0x177b2b=_0x531b;_0x3321e9[_0x177b2b(0x28e)]();const _0x3d6546=(_0x49dff2,_0x1e823a,_0x5cbfbd,_0x1747d2)=>{const _0x1d0789=_0x177b2b;let _0x39f949=[];switch(_0x49dff2['id']){case _0x4c62fc[_0x1d0789(0x1d0)]:{_0x39f949=_0x341296(_0x49dff2,_0x1747d2);break;}case _0x4c62fc[_0x1d0789(0x1f6)]:{_0x39f949=_0xace0d(_0x49dff2,_0x1747d2);break;}case _0x4c62fc[_0x1d0789(0x24a)]:{_0x39f949=_0x2a8171(_0x49dff2,_0x1747d2);break;}case _0x4c62fc[_0x1d0789(0x158)]:{_0x39f949=_0x3758d0(_0x49dff2,_0x1747d2);break;}case _0x4c62fc[_0x1d0789(0x173)]:{_0x39f949=_0xa51913(_0x49dff2,_0x1747d2);break;}case _0x4c62fc[_0x1d0789(0x235)]:{_0x39f949=_0x36e4bb(_0x49dff2,_0x1747d2);break;}case _0x4c62fc['MoveRangeCommandId']:{_0x39f949=_0x2d28a8(_0x49dff2,_0x1747d2);break;}case _0x4c62fc[_0x1d0789(0x152)]:{_0x39f949=_0x8c424c(_0x49dff2,_0x1747d2);break;}case _0x4c62fc[_0x1d0789(0x1d1)]:{_0x39f949=_0x1837d3(_0x49dff2,_0x1747d2);break;}}const _0x5b8aba=_0x1a66b0(_0x39f949,_0x1747d2),_0x24f040=this[_0x1d0789(0x18f)]['get'](_0x1e823a);if(_0x24f040&&_0x5b8aba){const _0x20084a={..._0x24f040,'range':_0x5b8aba};this[_0x1d0789(0x18f)][_0x1d0789(0x22d)](_0x1e823a,_0x20084a),_0x569bba(()=>{const _0xccb160=_0x1d0789,_0x3fde6f=this['_refRangeService'][_0xccb160(0x157)](_0x5b8aba,_0x1938b0=>(_0x3fde6f[_0xccb160(0x28e)](),_0x3d6546(_0x1938b0,_0x1e823a,_0x5cbfbd,_0x5b8aba)));_0x3321e9[_0xccb160(0x28a)](_0x3fde6f);});}return{'redos':[],'undos':[]};};this[_0x177b2b(0x18f)][_0x177b2b(0x1f5)]((_0x18d10e,_0x47c183)=>{const _0x5d0167=_0x177b2b,{range:_0xd2be50,sheetID:_0x5066be}=_0x18d10e,_0x2ce934=this[_0x5d0167(0x174)][_0x5d0167(0x157)](_0xd2be50,_0x5c7b95=>(_0x2ce934[_0x5d0167(0x28e)](),_0x3d6546(_0x5c7b95,_0x47c183,_0x5066be,_0xd2be50)));_0x3321e9['add'](_0x2ce934);});};this[_0x113a9b(0x2b3)](_0x3d316a(this['_cursorInfo$'][_0x113a9b(0x175)](()=>{_0x15cb6f();})));}[_0x3a57f9(0x282)](){const _0x49e597=_0x3a57f9;var _0x207fc5,_0x31f218;if(this['_online']=!0x0,((_0x207fc5=this[_0x49e597(0x224)][_0x49e597(0x2b4)]())==null?void 0x0:_0x207fc5[_0x49e597(0x1bd)]())!==this[_0x49e597(0x24e)])return;const _0x30df03=(_0x31f218=this[_0x49e597(0x225)][_0x49e597(0x147)](_0x362350)[_0x49e597(0x215)]())==null?void 0x0:_0x31f218[0x0],_0x4ebb43=this[_0x49e597(0x224)][_0x49e597(0xfd)](_0x54ea39[_0x49e597(0x2bc)])[_0x49e597(0x135)]();_0x30df03&&_0x4ebb43&&this[_0x49e597(0x231)](_0x4ebb43[_0x49e597(0x253)](),_0x30df03);}[_0x3a57f9(0x1fc)](){const _0xb0748d=_0x3a57f9;this[_0xb0748d(0x137)]=!0x1;}};Le=mi([x(0x2,_0x3296bc(_0x538ee1)),x(0x3,_0x3296bc(He)),x(0x4,_0x3296bc(_0x1b3f61)),x(0x5,_0x1be569),x(0x6,_0x1b52c7),x(0x7,_0x3296bc(_0x3113c7))],Le);var pi=Object[_0x3a57f9(0x179)],Ci=(_0x39ecd9,_0x21507e,_0x54a706,_0x1883b3)=>{const _0x3cc46c=_0x3a57f9;for(var _0x3f9e0e=_0x1883b3>0x1?void 0x0:_0x1883b3?pi(_0x21507e,_0x54a706):_0x21507e,_0x3d266f=_0x39ecd9[_0x3cc46c(0x1f3)]-0x1,_0x2fa595;_0x3d266f>=0x0;_0x3d266f--)(_0x2fa595=_0x39ecd9[_0x3d266f])&&(_0x3f9e0e=_0x2fa595(_0x3f9e0e)||_0x3f9e0e);return _0x3f9e0e;},me=(_0x20b57e,_0x3c2484)=>(_0xd6abc9,_0x548bdc)=>_0x3c2484(_0xd6abc9,_0x548bdc,_0x20b57e);let F=class extends _0x553b56{constructor(_0x31f8c4,_0xb7be39,_0x2cfa18){const _0x2ed558=_0x3a57f9;super(),_(this,'_entities',new Map()),_(this,'_entityInit$',new _0x1a62a5()),(this[_0x2ed558(0x224)]=_0x31f8c4,this[_0x2ed558(0x225)]=_0xb7be39,this[_0x2ed558(0x10c)]=_0x2cfa18,this[_0x2ed558(0x13d)]());}[_0x3a57f9(0x28e)](){const _0x1142b2=_0x3a57f9;super[_0x1142b2(0x28e)](),this[_0x1142b2(0x2a0)][_0x1142b2(0x154)](),this['_entities'][_0x1142b2(0x1f5)](_0x20bb11=>_0x20bb11[_0x1142b2(0x28e)]());}[_0x3a57f9(0xe3)](_0x5a177a){const _0x56df7a=_0x3a57f9;return this[_0x56df7a(0x259)]['has'](_0x5a177a)?this[_0x56df7a(0x259)][_0x56df7a(0x147)](_0x5a177a)[_0x56df7a(0x19c)]:this['_entityInit$']['pipe'](_0x32a48e(_0x3cc7b5=>_0x3cc7b5[_0x56df7a(0x24e)]===_0x5a177a),_0x2f89c3(_0x7c7fc=>_0x7c7fc[_0x56df7a(0x19c)]));}[_0x3a57f9(0x13d)](){const _0x1ee66f=_0x3a57f9;this[_0x1ee66f(0x224)][_0x1ee66f(0x1c1)](_0x54ea39['UNIVER_SHEET'])['pipe'](_0x2a6b6e(this[_0x1ee66f(0x22f)]))[_0x1ee66f(0x175)](async _0x483171=>{const _0x1509ec=_0x1ee66f,_0x4d9d04=_0x483171[_0x1509ec(0x1bd)](),_0x5d9599=await this[_0x1509ec(0x203)](_0x4d9d04);this['_entityInit$'][_0x1509ec(0x1c6)](_0x5d9599),this[_0x1509ec(0x259)][_0x1509ec(0x22d)](_0x4d9d04,_0x5d9599);}),this[_0x1ee66f(0x224)][_0x1ee66f(0x1c1)](_0x54ea39['UNIVER_DOC'])[_0x1ee66f(0x143)](_0x2a6b6e(this['dispose$']))[_0x1ee66f(0x143)](_0x32a48e(_0x67585c=>!_0x67585c[_0x1ee66f(0x1bd)]()[_0x1ee66f(0x13b)]('__')))[_0x1ee66f(0x175)](async _0x496b23=>{const _0x57b59b=_0x1ee66f,_0x374a73=_0x496b23[_0x57b59b(0x1bd)](),_0x457485=await this[_0x57b59b(0x20f)](_0x374a73);this[_0x57b59b(0x2a0)]['next'](_0x457485),this[_0x57b59b(0x259)][_0x57b59b(0x22d)](_0x374a73,_0x457485);}),_0x511b3a(this[_0x1ee66f(0x224)][_0x1ee66f(0x162)](_0x54ea39['UNIVER_DOC']),this[_0x1ee66f(0x224)][_0x1ee66f(0x162)](_0x54ea39[_0x1ee66f(0x2bc)]))[_0x1ee66f(0x143)](_0x2a6b6e(this[_0x1ee66f(0x22f)]))['subscribe'](_0x55113e=>{const _0x2f63be=_0x1ee66f,_0x55cdac=_0x55113e[_0x2f63be(0x1bd)](),_0x115980=this[_0x2f63be(0x259)][_0x2f63be(0x147)](_0x55cdac);_0x115980&&(_0x115980['dispose'](),this[_0x2f63be(0x259)][_0x2f63be(0x286)](_0x55cdac));});}async[_0x3a57f9(0x203)](_0x4b007d){const _0x35f90e=_0x3a57f9,_0x15eed9=await this[_0x35f90e(0x10c)][_0x35f90e(0x2bf)](_0x4b007d),_0x68dd02=this[_0x35f90e(0x225)][_0x35f90e(0x14a)](Le,_0x4b007d,_0x15eed9);return _0x68dd02['init'](),_0x68dd02;}async[_0x3a57f9(0x20f)](_0x2a646f){const _0x1fe86e=_0x3a57f9,_0x114613=await this[_0x1fe86e(0x10c)][_0x1fe86e(0x2bf)](_0x2a646f),_0x545137=this[_0x1fe86e(0x225)][_0x1fe86e(0x14a)](Me,_0x2a646f,_0x114613);return _0x545137[_0x1fe86e(0x1f2)](),_0x545137;}};F=Ci([me(0x0,_0x1be569),me(0x1,_0x3296bc(_0x538ee1)),me(0x2,_0x3296bc(_0x1e8ca8))],F);const te=0x14,qe=0xc8,Ie=0x4,Ei=0x5;function Oi(_0x2782c3,_0x1b2167){const _0x542d05=_0x3a57f9;let {radius:_0x354188,width:_0x25a3a3,height:_0x4e5afd}=_0x1b2167;_0x354188=_0x354188!=null?_0x354188:0x0,_0x25a3a3=_0x25a3a3!=null?_0x25a3a3:0x1e,_0x4e5afd=_0x4e5afd!=null?_0x4e5afd:0x1e;let _0x7afbfc=0x0,_0x130222=0x0,_0xf99bac=0x0;_0x7afbfc=_0x130222=_0xf99bac=Math[_0x542d05(0x274)](_0x354188,_0x25a3a3/0x2,_0x4e5afd/0x2),_0x2782c3['beginPath'](),_0x2782c3[_0x542d05(0x178)](_0x7afbfc,0x0),_0x2782c3[_0x542d05(0x2c2)](_0x25a3a3-_0x130222,0x0),_0x2782c3[_0x542d05(0x26e)](_0x25a3a3-_0x130222,_0x130222,_0x130222,Math['PI']*0x3/0x2,0x0,!0x1),_0x2782c3[_0x542d05(0x2c2)](_0x25a3a3,_0x4e5afd-_0xf99bac),_0x2782c3[_0x542d05(0x26e)](_0x25a3a3-_0xf99bac,_0x4e5afd-_0xf99bac,_0xf99bac,0x0,Math['PI']/0x2,!0x1),_0x2782c3[_0x542d05(0x2c2)](0x0,_0x4e5afd),_0x2782c3['lineTo'](0x0,_0x7afbfc),_0x2782c3['arc'](_0x7afbfc,_0x7afbfc,_0x7afbfc,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2782c3[_0x542d05(0x1ce)](),_0x1b2167[_0x542d05(0x28b)]&&(_0x2782c3[_0x542d05(0x189)](),_0x2782c3[_0x542d05(0x2c1)]=_0x1b2167[_0x542d05(0x28b)],_0x1b2167['fillRule']===_0x542d05(0x168)?_0x2782c3[_0x542d05(0x28b)](_0x542d05(0x168)):_0x2782c3[_0x542d05(0x28b)](),_0x2782c3[_0x542d05(0x172)]());}class ue extends _0x190471{constructor(_0x20f590,_0x56ec06){const _0x3dd93b=_0x3a57f9;super(_0x20f590,_0x56ec06),_(this,_0x3dd93b(0x2a5)),_(this,_0x3dd93b(0x12e)),(this['color']=_0x56ec06==null?void 0x0:_0x56ec06[_0x3dd93b(0x2a5)],this[_0x3dd93b(0x12e)]=_0x56ec06==null?void 0x0:_0x56ec06[_0x3dd93b(0x12e)]);}static[_0x3a57f9(0x205)](_0x2092b9,_0xc67bdb){const _0x5885fd=_0x3a57f9,{text:_0x1a975d,color:_0x497ba3}=_0xc67bdb;_0x2092b9[_0x5885fd(0x189)](),_0x2092b9[_0x5885fd(0x2b6)]=_0x5885fd(0x19b);const _0x3a090b=_0x2092b9[_0x5885fd(0x298)](_0x1a975d)[_0x5885fd(0x2ba)],_0xb71854=Math[_0x5885fd(0x274)](_0x3a090b+0x2*Ie,qe);Oi(_0x2092b9,{'height':te,'radius':0x4,'width':_0xb71854,'fill':_0x497ba3}),_0x2092b9[_0x5885fd(0x2c1)]=_0x5885fd(0xd1);const _0x4c50b4=Ie,_0x22e90c=te-Ei,_0x4f45bc=qe-0x2*Ie;if(_0x3a090b>_0x4f45bc){let _0x24daf8='',_0x1e7841=0x0;for(const _0x52020a of _0x1a975d){const _0x2f2b52=_0x2092b9[_0x5885fd(0x298)](_0x52020a)[_0x5885fd(0x2ba)];if(_0x1e7841+_0x2f2b52<=_0x4f45bc-_0x2092b9[_0x5885fd(0x298)](_0x5885fd(0x198))[_0x5885fd(0x2ba)])_0x24daf8+=_0x52020a,_0x1e7841+=_0x2f2b52;else{_0x24daf8+='...';break;}}_0x2092b9[_0x5885fd(0x15e)](_0x24daf8,_0x4c50b4,_0x22e90c);}else _0x2092b9[_0x5885fd(0x15e)](_0x1a975d,_0x4c50b4,_0x22e90c);_0x2092b9[_0x5885fd(0x172)]();}['_draw'](_0x4a5ac4){ue['drawWith'](_0x4a5ac4,this);}}const ve='collab-text-anchor-',bi=_0x3a57f9(0x2c4),Ti=_0x3a57f9(0xf6),G=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x3a57f9(0x140);function _0x531b(_0x55be33,_0x210474){const _0x11938b=_0x1193();return _0x531b=function(_0x531b85,_0x2a7e5b){_0x531b85=_0x531b85-0xd0;let _0x242b6a=_0x11938b[_0x531b85];return _0x242b6a;},_0x531b(_0x55be33,_0x210474);}class et{constructor(_0x393e79,_0x426cc1,_0x3a8842,_0x1f6459){const _0x3dcbbb=_0x3a57f9;_(this,_0x3dcbbb(0x1ae),[]),_(this,_0x3dcbbb(0x20a),null),_(this,_0x3dcbbb(0x237),null),_(this,'_anchorDot',null),_(this,'_hideTimer',null),_(this,_0x3dcbbb(0x106),null),(this['_cursor']=_0x393e79,this[_0x3dcbbb(0x138)]=_0x426cc1,this['_docSkeleton']=_0x3a8842,this['_document']=_0x1f6459,this['_render']());}set[_0x3a57f9(0x27a)](_0xb51f90){const _0x4f48b5=_0x3a57f9;_0xb51f90?(this[_0x4f48b5(0x20b)]&&this[_0x4f48b5(0x20b)][_0x4f48b5(0x26a)](),this[_0x4f48b5(0x237)]&&this[_0x4f48b5(0x237)]['show']()):(this['_anchorDot']&&this[_0x4f48b5(0x20b)]['show'](),this[_0x4f48b5(0x237)]&&this[_0x4f48b5(0x237)][_0x4f48b5(0x26a)]());}['dispose'](){const _0x3fab58=_0x3a57f9;for(const _0x166c1d of this[_0x3fab58(0x1ae)])_0x166c1d['dispose']();this[_0x3fab58(0x237)]&&this['_textBubble'][_0x3fab58(0x28e)](),this[_0x3fab58(0x20b)]&&this[_0x3fab58(0x20b)]['dispose'](),this['_anchor']&&this[_0x3fab58(0x20a)][_0x3fab58(0x28e)](),this[_0x3fab58(0x106)]&&this[_0x3fab58(0x106)]();}[_0x3a57f9(0x275)](){const _0x37d77c=_0x3a57f9;var _0x4613f5;const {_docSkeleton:_0x4c6b52,_document:_0x260b06}=this,{color:_0x5a3a82,name:_0x31a444,ranges:_0x33bbab}=this['_cursor'],_0x31f3e2=_0x260b06['getOffsetConfig'](),{docsLeft:_0x263c8d,docsTop:_0x17441a}=_0x31f3e2,_0x1e5fdc=new _0x378cc1(_0x31f3e2,_0x4c6b52);for(const {startOffset:_0x58c899,endOffset:_0x10c547,rangeType:_0x13118b,segmentId:_0x505faf,segmentPage:_0x34b2e1,collapsed:_0xf30604,isActive:_0x43505e}of _0x33bbab){const _0x4777d3=_0x4c6b52['findNodePositionByCharIndex'](_0x58c899,!0x0,_0x505faf,_0x34b2e1);let _0x22cd1e=_0x4c6b52[_0x37d77c(0x270)](_0x10c547,!0x0,_0x505faf,_0x34b2e1);if(_0x22cd1e==null&&(_0x22cd1e=_0x4c6b52[_0x37d77c(0x270)](_0x10c547-0x1,!0x1,_0x505faf,_0x34b2e1)),_0x43505e){const {contentBoxPointGroup:_0x45ac22}=_0x1e5fdc['getRangePointData'](_0x22cd1e,_0x22cd1e);if(_0x45ac22[_0x37d77c(0x1f3)]===0x0)continue;this[_0x37d77c(0x1dd)](_0x5a3a82,_0x45ac22,_0x263c8d,_0x17441a,_0x31a444),this[_0x37d77c(0x106)]=this[_0x37d77c(0x18a)]();}if(_0x4777d3&&_0x22cd1e){if(_0x13118b===_0x5dc5fd[_0x37d77c(0x1cb)]){const _0x578d16=new _0x245e8e(_0x31f3e2,_0x4c6b52),{pointGroup:_0x482fc8}=(_0x4613f5=_0x578d16['getRangePointData'](_0x4777d3,_0x22cd1e))!=null?_0x4613f5:{};if(_0x482fc8==null||_0x482fc8[_0x37d77c(0x1f3)]===0x0)continue;this[_0x37d77c(0x103)](_0x5a3a82,_0x482fc8,_0x263c8d,_0x17441a);}else{if(!_0xf30604){const {borderBoxPointGroup:_0x249f6c}=_0x1e5fdc[_0x37d77c(0x2ab)](_0x4777d3,_0x22cd1e);if(_0x249f6c[_0x37d77c(0x1f3)]===0x0)continue;this[_0x37d77c(0x1bc)](_0x5a3a82,_0x249f6c,_0x263c8d,_0x17441a);}}}}}[_0x3a57f9(0x1dd)](_0x5caaca,_0x56aebf,_0x428b0a,_0x427d55,_0x4bf28c){const _0x136428=_0x3a57f9,_0x3597d8=this[_0x136428(0x163)](_0x56aebf),{left:_0x4e3653,top:_0x245ef2,height:_0x16e1c2}=_0x3597d8,_0x567e85=this[_0x136428(0xfb)](),_0x41f619=Di/_0x567e85,_0x3d3b75=new _0x298a7f(ve+_0x44ddb8(G),{'left':_0x4e3653+_0x428b0a-_0x41f619,'top':_0x245ef2+_0x427d55,'height':_0x16e1c2,'width':Ri,'fill':_0x5caaca||_0x360fe9(_0x4ec670[_0x136428(0x2b5)],0x0),'strokeWidth':_0x41f619,'stroke':Ni,'evented':!0x0});this[_0x136428(0x20a)]=_0x3d3b75,this[_0x136428(0x138)][_0x136428(0x193)](_0x3d3b75,_0x4cd739);const _0x592175=new _0x298a7f(ve+_0x44ddb8(G),{'left':_0x4e3653+_0x428b0a-_0x41f619,'top':_0x245ef2+_0x427d55-ge/0x2,'height':ge,'width':ge,'fill':_0x5caaca||_0x360fe9(_0x4ec670[_0x136428(0x2b5)],0x0),'strokeWidth':0x0,'stroke':_0x5caaca||_0x360fe9(_0x4ec670[_0x136428(0x2b5)],0x0),'evented':!0x1});this[_0x136428(0x20b)]=_0x592175,this[_0x136428(0x138)][_0x136428(0x193)](_0x592175,_0x4cd739);const _0x1f5411=new ue(ve+_0x44ddb8(G),{'left':_0x4e3653+_0x428b0a-_0x41f619,'top':_0x245ef2+_0x427d55-te,'text':_0x4bf28c,'color':_0x5caaca});this['_textBubble']=_0x1f5411,this[_0x136428(0x138)][_0x136428(0x193)](_0x1f5411,_0x4cd739),this[_0x136428(0x27a)]=!0x1;}[_0x3a57f9(0x18a)](){const _0x97a4a1=_0x3a57f9,_0x3b6386=this[_0x97a4a1(0x20a)][_0x97a4a1(0x28f)][_0x97a4a1(0x105)](()=>{const _0x362e67=_0x97a4a1;this[_0x362e67(0x27a)]=!0x0;}),_0x541e1b=this[_0x97a4a1(0x20a)][_0x97a4a1(0x2a8)][_0x97a4a1(0x105)](()=>{const _0x3d4c8e=_0x97a4a1;this['_hideTimer']&&clearTimeout(this[_0x3d4c8e(0x212)]),this[_0x3d4c8e(0x212)]=setTimeout(()=>{const _0x112a04=_0x3d4c8e;this[_0x112a04(0x27a)]=!0x1;},0x7d0);});return()=>{const _0xf7358e=_0x97a4a1;_0x3b6386['unsubscribe'](),_0x541e1b[_0xf7358e(0x100)]();};}[_0x3a57f9(0x1bc)](_0x7898a8,_0x4ab0b6,_0x5919ec,_0xdd1d42){const _0x571c41=_0x3a57f9,_0x3a45de=new _0x2f68e6(_0x7898a8)['setAlpha'](0.2)[_0x571c41(0x1a3)](),_0x40695a=new _0x5b63e0(bi+_0x44ddb8(G),{'pointsGroup':_0x4ab0b6,'fill':_0x3a45de||_0x360fe9(_0x4ec670[_0x571c41(0x2b5)],0.2),'left':_0x5919ec,'top':_0xdd1d42,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x571c41(0x1ae)][_0x571c41(0x1fd)](_0x40695a),this[_0x571c41(0x138)][_0x571c41(0x193)](_0x40695a,_0x4cd739);}['_drawRectRange'](_0xa17cbc,_0x5dc50c,_0x229fb9,_0x2b0408){const _0x12bab2=_0x3a57f9,_0x478b4e=new _0x2f68e6(_0xa17cbc)[_0x12bab2(0xee)](0.2)['toRgbString'](),_0x20c872=new _0x5b63e0(Ti+_0x44ddb8(G),{'pointsGroup':_0x5dc50c,'fill':_0x478b4e||_0x360fe9(_0x4ec670[_0x12bab2(0x2b5)],0.2),'left':_0x229fb9,'top':_0x2b0408,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x12bab2(0x1fd)](_0x20c872),this['_scene']['addObject'](_0x20c872,_0x4cd739);}['_getAnchorBounding'](_0x3a7b61){const _0x2b1669=_0x3a7b61[0x0],_0x3d64bd=_0x2b1669[0x0],_0xe0bb8d=_0x2b1669[0x2],{x:_0x1b1c75,y:_0x57911f}=_0x3d64bd,{x:_0x20bd79,y:_0xe10f65}=_0xe0bb8d;return{'left':_0x1b1c75,'top':_0x57911f,'width':_0x20bd79-_0x1b1c75,'height':_0xe10f65-_0x57911f};}[_0x3a57f9(0xfb)](){const _0x3c4833=_0x3a57f9,{scaleX:_0x1f81c8,scaleY:_0x332d5e}=this[_0x3c4833(0x138)][_0x3c4833(0x1c2)]();return Math['max'](_0x1f81c8,_0x332d5e);}}var Ui=Object[_0x3a57f9(0x179)],Mi=(_0x30f4e,_0x4593cb,_0x1765d0,_0x2e8cc3)=>{const _0x269cb8=_0x3a57f9;for(var _0x4a8274=_0x2e8cc3>0x1?void 0x0:_0x2e8cc3?Ui(_0x4593cb,_0x1765d0):_0x4593cb,_0xda6527=_0x30f4e[_0x269cb8(0x1f3)]-0x1,_0x597111;_0xda6527>=0x0;_0xda6527--)(_0x597111=_0x30f4e[_0xda6527])&&(_0x4a8274=_0x597111(_0x4a8274)||_0x4a8274);return _0x4a8274;},Q=(_0x37985b,_0x200d12)=>(_0x475306,_0x12560a)=>_0x200d12(_0x475306,_0x12560a,_0x37985b);let Pe=class extends _0x553b56{constructor(_0x53a44f,_0x465761,_0x1bd240,_0x28327a,_0xcba6b5){const _0x1d38d0=_0x3a57f9;super(),_(this,_0x1d38d0(0x116),[]),_(this,_0x1d38d0(0x117),[]),(this[_0x1d38d0(0x226)]=_0x53a44f,this[_0x1d38d0(0x133)]=_0x465761,this[_0x1d38d0(0x289)]=_0x1bd240,this[_0x1d38d0(0x29b)]=_0x28327a,this[_0x1d38d0(0x27f)]=_0xcba6b5,this['_init']());}[_0x3a57f9(0x13d)](){const _0x3b2b4f=_0x3a57f9,_0x4f2be3=this[_0x3b2b4f(0x226)][_0x3b2b4f(0xd4)],_0x1a4cee=this[_0x3b2b4f(0x133)];this[_0x3b2b4f(0x2b3)](_0x4c37b2([this[_0x3b2b4f(0x289)][_0x3b2b4f(0xe3)](_0x4f2be3),this[_0x3b2b4f(0x27f)][_0x3b2b4f(0x29e)]])[_0x3b2b4f(0x143)](_0x27e7e4(([_0x28ae23,_0x23a7f3])=>({'skeleton':_0x1a4cee['getSkeleton'](),'cursors':[..._0x28ae23[_0x3b2b4f(0x170)]()][_0x3b2b4f(0x2c8)](_0x59ed42=>({..._0x59ed42,'color':this[_0x3b2b4f(0x27f)][_0x3b2b4f(0x121)](_0x59ed42['color'])}))})))[_0x3b2b4f(0x175)](_0x368e9a=>{const _0x15027a=_0x3b2b4f;if(this[_0x15027a(0x2aa)](),_0x368e9a){const {skeleton:_0x4a4990,cursors:_0x179db9}=_0x368e9a;this[_0x15027a(0x256)](_0x4a4990,_0x179db9);}})),this[_0x3b2b4f(0x242)](),this[_0x3b2b4f(0x148)]();}[_0x3a57f9(0x256)](_0xaf3cf8,_0x4ab3ec){const _0x294bb0=_0x3a57f9,{scene:_0x1dd805,mainComponent:_0x21ab26}=this[_0x294bb0(0x226)],_0x310c8d=_0x4ab3ec[_0x294bb0(0xe9)](_0x38af02=>new et(_0x38af02,_0x1dd805,_0xaf3cf8,_0x21ab26));this['_cursorShapes']=_0x310c8d,this[_0x294bb0(0x117)]=_0x4ab3ec;}[_0x3a57f9(0x265)](){const _0x50693c=_0x3a57f9;this[_0x50693c(0x2aa)]();const {scene:_0x731951,mainComponent:_0x17b1e0}=this[_0x50693c(0x226)],_0x482986=this[_0x50693c(0x133)][_0x50693c(0x297)](),_0x4cce7b=this[_0x50693c(0x117)]['map'](_0x18b7f4=>new et(_0x18b7f4,_0x731951,_0x482986,_0x17b1e0));this[_0x50693c(0x116)]=_0x4cce7b;}[_0x3a57f9(0x2aa)](){const _0x22900e=_0x3a57f9;this[_0x22900e(0x116)][_0x22900e(0x1f5)](_0x197b2a=>_0x197b2a[_0x22900e(0x28e)]()),this[_0x22900e(0x116)]=[];}[_0x3a57f9(0x148)](){const _0x1b6cfc=_0x3a57f9,_0x3dd670=[_0x4bbc50['id']];this[_0x1b6cfc(0x2b3)](this[_0x1b6cfc(0x29b)][_0x1b6cfc(0x208)](_0x1c709f=>{const _0xac70b0=_0x1b6cfc;_0x3dd670[_0xac70b0(0x2ac)](_0x1c709f['id'])&&_0x1c709f[_0xac70b0(0xf8)][_0xac70b0(0xd4)]===this['_context'][_0xac70b0(0xd4)]&&this[_0xac70b0(0x265)]();}));}[_0x3a57f9(0x242)](){const _0x25b519=_0x3a57f9;this[_0x25b519(0x2b3)](_0x12af36(this[_0x25b519(0x226)][_0x25b519(0x2b8)][_0x25b519(0x115)])[_0x25b519(0x143)](_0x5ee7ee(_0x2e35f1=>_0x2e35f1['type']===_0x7ede9f['resize']),_0x303e6d(0x10))[_0x25b519(0x175)](()=>{const _0x36e365=_0x25b519;this[_0x36e365(0x265)]();}));}};Pe=Mi([Q(0x1,_0x3296bc(_0x11fdd8)),Q(0x2,_0x3296bc(F)),Q(0x3,_0x1b52c7),Q(0x4,_0x3296bc(_0x2a35f5))],Pe);const Li=0x1,Pi=1.5;class wi extends _0x190471{constructor(_0x336e82,_0x90ee75){const _0x7fe49c=_0x3a57f9;super(_0x336e82,_0x90ee75),_(this,_0x7fe49c(0x15f)),_(this,_0x7fe49c(0x169),!0x1),_(this,'_range'),_(this,_0x7fe49c(0x120),''),_(this,_0x7fe49c(0x29a),_0x7fe49c(0x234)),_(this,_0x7fe49c(0x202)),(_0x90ee75&&this['setShapeProps'](_0x90ee75),this['onPointerEnter$']['subscribeEvent'](()=>this[_0x7fe49c(0x1e2)]({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this[_0x7fe49c(0x1e2)]({'hovered':!0x1})));}[_0x3a57f9(0x1e2)](_0x54ac27){const _0x5c21cc=_0x3a57f9;var _0x2703dc,_0x5195bb,_0x1a07fb,_0x314d4a,_0x2cdf37,_0x2bf2df;this[_0x5c21cc(0x15f)]=(_0x2703dc=_0x54ac27['color'])!=null?_0x2703dc:this[_0x5c21cc(0x15f)],this[_0x5c21cc(0x169)]=(_0x5195bb=_0x54ac27[_0x5c21cc(0x2cc)])!=null?_0x5195bb:this['_hovered'],this[_0x5c21cc(0xdf)]=(_0x1a07fb=_0x54ac27[_0x5c21cc(0x21a)])!=null?_0x1a07fb:this[_0x5c21cc(0xdf)],this[_0x5c21cc(0x120)]=(_0x314d4a=_0x54ac27['name'])!=null?_0x314d4a:this[_0x5c21cc(0x120)],this[_0x5c21cc(0x29a)]=(_0x2cdf37=_0x54ac27[_0x5c21cc(0x13e)])!=null?_0x2cdf37:this['_labelPosition'],this[_0x5c21cc(0x202)]=(_0x2bf2df=_0x54ac27[_0x5c21cc(0x1e6)])!=null?_0x2bf2df:this['_backgroundColor'],this[_0x5c21cc(0xd2)]({'width':_0x54ac27[_0x5c21cc(0x2ba)],'height':_0x54ac27[_0x5c21cc(0x167)]});}[_0x3a57f9(0x1a9)](_0x4897dd){const _0x1a19d1=_0x3a57f9,{row:_0x3a144b,column:_0x77afe2}=_0x4897dd;if(_0x3a144b>=this[_0x1a19d1(0xdf)][_0x1a19d1(0x222)]&&_0x3a144b<=this['_range'][_0x1a19d1(0x288)]&&_0x77afe2>=this[_0x1a19d1(0xdf)][_0x1a19d1(0x149)]&&_0x77afe2<=this[_0x1a19d1(0xdf)][_0x1a19d1(0x10d)]){this[_0x1a19d1(0x1e2)]({'hovered':!0x0});return;}this[_0x1a19d1(0x1e2)]({'hovered':!0x1});}[_0x3a57f9(0xe7)](_0x264611){return!0x1;}[_0x3a57f9(0x19f)](_0x11adb1){const _0xb13b91=_0x3a57f9;_0x298a7f[_0xb13b91(0x205)](_0x11adb1,{'width':this[_0xb13b91(0x2ba)],'height':this[_0xb13b91(0x167)],'strokeWidth':Pi,'stroke':this[_0xb13b91(0x15f)],'evented':!0x1,'fill':this[_0xb13b91(0x202)]}),this[_0xb13b91(0x169)]&&(_0x11adb1[_0xb13b91(0x189)](),_0x11adb1[_0xb13b91(0xde)](0x1,0x0,0x0,0x1,this[_0xb13b91(0x2ba)],this['_labelPosition']==='bottom'?0x0:-0x14),ue['drawWith'](_0x11adb1,{'text':this[_0xb13b91(0x120)],'color':this[_0xb13b91(0x15f)]}),_0x11adb1[_0xb13b91(0x172)]());}}var Ai=Object['getOwnPropertyDescriptor'],yi=(_0x47ed47,_0x2d3777,_0x2232e8,_0x25bcc9)=>{const _0x4c0c9f=_0x3a57f9;for(var _0x32a5c9=_0x25bcc9>0x1?void 0x0:_0x25bcc9?Ai(_0x2d3777,_0x2232e8):_0x2d3777,_0x14438b=_0x47ed47[_0x4c0c9f(0x1f3)]-0x1,_0x2e31d4;_0x14438b>=0x0;_0x14438b--)(_0x2e31d4=_0x47ed47[_0x14438b])&&(_0x32a5c9=_0x2e31d4(_0x32a5c9)||_0x32a5c9);return _0x32a5c9;},pe=(_0x26c2e9,_0x455f49)=>(_0x579f39,_0x59c520)=>_0x455f49(_0x579f39,_0x59c520,_0x26c2e9);const $i=0x1389;let we=class extends _0x553b56{constructor(_0x427a6b,_0x1ad82c,_0x47dfc4,_0xeeb22a){const _0x38eb1f=_0x3a57f9;super(),_(this,_0x38eb1f(0x117),new Set()),_(this,_0x38eb1f(0x1e9),null),(this['_context']=_0x427a6b,this[_0x38eb1f(0x281)]=_0x1ad82c,this[_0x38eb1f(0x289)]=_0x47dfc4,this['_themeService']=_0xeeb22a,this[_0x38eb1f(0x13d)]());}[_0x3a57f9(0x13d)](){const _0xc91884=_0x3a57f9;this[_0xc91884(0x281)][_0xc91884(0x264)][_0xc91884(0x143)](_0x284c45(this[_0xc91884(0x22f)]),_0x4cd0d6(_0x148fbe=>{const _0x1d0c72=_0xc91884;if(_0x148fbe){const _0x163ee7=_0x148fbe[_0x1d0c72(0x254)];return _0x4c37b2(this[_0x1d0c72(0x289)]['getCollabCursors$'](this['_context'][_0x1d0c72(0xd4)]),this[_0x1d0c72(0x27f)][_0x1d0c72(0x29e)])[_0x1d0c72(0x143)](_0x27e7e4(([_0x49d397,_0x3ee0b2])=>{const _0x3b0b10=new Map();return _0x49d397['forEach']((_0x5e4c7c,_0x2ca2d7)=>{const _0x410c98=_0x531b;if(_0x5e4c7c['sheetID']===_0x163ee7){const _0x364578={..._0x5e4c7c};_0x364578['color']=this[_0x410c98(0x27f)][_0x410c98(0x121)](_0x5e4c7c['color']),_0x3b0b10[_0x410c98(0x22d)](_0x2ca2d7,_0x364578);}}),{'skeleton':_0x148fbe,'cursors':_0x3b0b10};}));}return _0x2b78f5({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x59c699,cursors:_0x4a25d9})=>{const _0x3b37e8=_0xc91884;this['_removeCollabCursors'](),_0x59c699&&this[_0x3b37e8(0x256)](_0x59c699,_0x4a25d9);}),this[_0xc91884(0x281)][_0xc91884(0x264)][_0xc91884(0x175)](_0x3dcd99=>{const _0x5c3f32=_0xc91884;if(_0x3dcd99==null)return;const {skeleton:_0x5ea785}=_0x3dcd99,{scene:_0x562319}=this[_0x5c3f32(0x226)];_0x562319[_0x5c3f32(0x23c)][_0x5c3f32(0x105)](_0x4248fe(_0x32ba18=>{const _0x999d2f=_0x5c3f32;var _0x581fde,_0x2c36c2;const {offsetX:_0x5d7b3e,offsetY:_0x31667a}=_0x32ba18,{x:_0x3f52af,y:_0x3cbcb3}=_0x562319[_0x999d2f(0x241)](_0x23205c[_0x999d2f(0x263)]([_0x5d7b3e,_0x31667a])),{scaleX:_0x1d79a2,scaleY:_0x479c08}=_0x562319['getAncestorScale'](),_0x6bb804=_0x562319['getViewport'](_0x1c65dc[_0x999d2f(0x12a)]),_0x47320b=_0x562319[_0x999d2f(0x2ce)](_0x23205c[_0x999d2f(0x263)]([_0x3f52af,_0x3cbcb3]),_0x6bb804),_0x57d1f5=_0x5ea785[_0x999d2f(0xed)](_0x5d7b3e,_0x31667a,_0x1d79a2,_0x479c08,_0x47320b);((_0x581fde=this[_0x999d2f(0x1e9)])==null?void 0x0:_0x581fde[_0x999d2f(0x15d)])===_0x57d1f5['column']&&((_0x2c36c2=this[_0x999d2f(0x1e9)])==null?void 0x0:_0x2c36c2['row'])===_0x57d1f5['row']||this['_cursors']['forEach'](_0x335ca5=>{const _0x192619=_0x999d2f;_0x335ca5[_0x192619(0x1a9)](_0x57d1f5);});},0x64));});}['_updateCollabCursors'](_0xc5300f,_0x1d051b){const _0x384584=_0x3a57f9;var _0x1ad0c5;const _0x1cc145=(_0x1ad0c5=this[_0x384584(0x281)][_0x384584(0x1a0)]())==null?void 0x0:_0x1ad0c5[_0x384584(0x1f8)];if(!_0x1cc145)return;const _0x133735=this['_getSheetObject']();if(!_0x133735)return;this[_0x384584(0x117)]['forEach'](_0x1b9517=>{const _0x341f0f=_0x384584;_0x1b9517[_0x341f0f(0x14e)]();});const {scene:_0x11a36a}=_0x133735,_0x12bc1e=xi(Array[_0x384584(0x248)](_0x1d051b[_0x384584(0x170)]()))[_0x384584(0xe9)](_0x20cd0b=>{const _0x3d2688=_0x384584,{color:_0x3d4556,range:_0x4cfbf5,name:_0x5c01b6,selection:_0x4af19a,sheetID:_0x380106}=_0x20cd0b,{startColumn:_0x2c7154,startRow:_0x319973,endColumn:_0x3b6ee6,endRow:_0x3ce11d}=_0x4cfbf5,_0x164111=_0x35ce15(_0x319973,_0x2c7154,_0x11a36a,_0x1cc145),_0x97d088=_0x35ce15(_0x3ce11d,_0x3b6ee6,_0x11a36a,_0x1cc145),{columnHeaderHeightAndMarginTop:_0x280408}=_0x1cc145,{startX:_0x1b5355,startY:_0x5d5eaa}=_0x164111,{endX:_0x298cb9,endY:_0x430021}=_0x97d088,_0x16153c=_0x298cb9-_0x1b5355,_0x803d7a=_0x430021-_0x5d5eaa,_0x4d93f4={'labelPosition':_0x5d5eaa-_0x280408>=te?_0x3d2688(0x234):_0x3d2688(0xe1),'sheetID':_0x380106,'range':_0x4cfbf5,'color':_0x3d4556,'name':_0x5c01b6,'selection':_0x4af19a,'left':_0x1b5355,'top':_0x5d5eaa,'width':_0x16153c,'height':_0x803d7a,'evented':!0x1,'zIndex':$i};return new wi(_0x5c01b6,_0x4d93f4);});_0x11a36a[_0x384584(0xd8)](_0x12bc1e,Li),this[_0x384584(0x117)]=new Set(_0x12bc1e);}[_0x3a57f9(0x2aa)](){const _0x5b4e9a=_0x3a57f9;var _0x26ce7e;(_0x26ce7e=this['_cursors'])==null||_0x26ce7e[_0x5b4e9a(0x1f5)](_0x3b4df9=>_0x3b4df9[_0x5b4e9a(0x28e)]());}[_0x3a57f9(0x130)](){const _0x4f0866=_0x3a57f9;return _0x52c2ad(this[_0x4f0866(0x226)][_0x4f0866(0x150)],this[_0x4f0866(0x226)]);}};we=yi([pe(0x1,_0x3296bc(_0x17c6af)),pe(0x2,_0x3296bc(F)),pe(0x3,_0x3296bc(_0x2a35f5))],we);function xi(_0x212761){const _0x5c42a9=_0x3a57f9,_0x45c7c9=new Map();return _0x212761['forEach'](_0x552e06=>{const _0x1c869f=_0x531b;if(_0x45c7c9[_0x1c869f(0x223)](_0x552e06[_0x1c869f(0x17d)])){const _0x459c79=_0x45c7c9[_0x1c869f(0x147)](_0x552e06[_0x1c869f(0x17d)]);_0x459c79['name']+=',\x20'+_0x552e06[_0x1c869f(0xec)];}else _0x45c7c9['set'](_0x552e06[_0x1c869f(0x17d)],_0x552e06);}),Array['from'](_0x45c7c9[_0x5c42a9(0x170)]());}var v=function(){const _0x469bfa=_0x3a57f9;return v=Object[_0x469bfa(0x277)]||function(_0x49d15e){const _0x45908f=_0x469bfa;for(var _0xa28fc1,_0x945313=0x1,_0x180068=arguments['length'];_0x945313<_0x180068;_0x945313++){_0xa28fc1=arguments[_0x945313];for(var _0x36bc29 in _0xa28fc1)Object[_0x45908f(0x12f)]['hasOwnProperty'][_0x45908f(0x187)](_0xa28fc1,_0x36bc29)&&(_0x49d15e[_0x36bc29]=_0xa28fc1[_0x36bc29]);}return _0x49d15e;},v[_0x469bfa(0x280)](this,arguments);},Bi=function(_0x5dba17,_0x1393d2){const _0x50b0ff=_0x3a57f9;var _0x3d1d13={};for(var _0x4a26cb in _0x5dba17)Object[_0x50b0ff(0x12f)][_0x50b0ff(0x229)]['call'](_0x5dba17,_0x4a26cb)&&_0x1393d2[_0x50b0ff(0x17e)](_0x4a26cb)<0x0&&(_0x3d1d13[_0x4a26cb]=_0x5dba17[_0x4a26cb]);if(_0x5dba17!=null&&typeof Object[_0x50b0ff(0x1d8)]=='function'){for(var _0x237d58=0x0,_0x4a26cb=Object[_0x50b0ff(0x1d8)](_0x5dba17);_0x237d58<_0x4a26cb[_0x50b0ff(0x1f3)];_0x237d58++)_0x1393d2['indexOf'](_0x4a26cb[_0x237d58])<0x0&&Object['prototype'][_0x50b0ff(0x102)]['call'](_0x5dba17,_0x4a26cb[_0x237d58])&&(_0x3d1d13[_0x4a26cb[_0x237d58]]=_0x5dba17[_0x4a26cb[_0x237d58]]);}return _0x3d1d13;},Ye=_0x492358(function(_0xd2f06,_0x160929){const _0x37c48a=_0x3a57f9;var _0x4a2c02=_0xd2f06[_0x37c48a(0x1ac)],_0x5855a3=_0xd2f06['id'],_0x4a356c=_0xd2f06[_0x37c48a(0x12d)],_0x4a5e88=_0xd2f06[_0x37c48a(0xe0)],_0x3cb93b=Bi(_0xd2f06,[_0x37c48a(0x1ac),'id',_0x37c48a(0x12d),_0x37c48a(0xe0)]),_0x5045c0='univerjs-icon\x20univerjs-icon-'[_0x37c48a(0x2d0)](_0x5855a3,'\x20')['concat'](_0x4a356c||'')[_0x37c48a(0x262)](),_0x3cc7e2=_0x16cdbc('_'[_0x37c48a(0x2d0)](Fi()));return Dt(_0x4a2c02,''[_0x37c48a(0x2d0)](_0x5855a3),{'defIds':_0x4a2c02[_0x37c48a(0x13f)],'idSuffix':_0x3cc7e2['current']},v({'ref':_0x160929,'className':_0x5045c0},_0x3cb93b),_0x4a5e88);});function Dt(_0x1534f1,_0x3ada93,_0x2b74ac,_0xfcfae4,_0x20690f){const _0x4aa554=_0x3a57f9;return _0x2f64f8(_0x1534f1[_0x4aa554(0x219)],v(v({'key':_0x3ada93},ki(_0x1534f1,_0x2b74ac,_0x20690f)),_0xfcfae4),(Hi(_0x1534f1,_0x2b74ac)[_0x4aa554(0x155)]||[])[_0x4aa554(0xe9)](function(_0x1f7a59,_0x7adb45){const _0x166cbd=_0x4aa554;return Dt(_0x1f7a59,''[_0x166cbd(0x2d0)](_0x3ada93,'-')[_0x166cbd(0x2d0)](_0x1534f1[_0x166cbd(0x219)],'-')[_0x166cbd(0x2d0)](_0x7adb45),_0x2b74ac,void 0x0,_0x20690f);}));}function ki(_0x38f409,_0x374611,_0x247c3d){const _0x59e090=_0x3a57f9;var _0x3721e0=v({},_0x38f409[_0x59e090(0x185)]);_0x247c3d!=null&&_0x247c3d[_0x59e090(0x110)]&&_0x3721e0[_0x59e090(0x28b)]===_0x59e090(0x110)&&(_0x3721e0[_0x59e090(0x28b)]=_0x247c3d[_0x59e090(0x110)]),_0x38f409[_0x59e090(0x219)]==='mask'&&_0x3721e0['id']&&(_0x3721e0['id']=_0x3721e0['id']+_0x374611[_0x59e090(0x1e7)]),Object['entries'](_0x3721e0)[_0x59e090(0x1f5)](function(_0x212835){const _0x6a7eed=_0x59e090;var _0x50317f=_0x212835[0x0],_0x5d81a1=_0x212835[0x1];_0x50317f===_0x6a7eed(0xfa)&&typeof _0x5d81a1==_0x6a7eed(0x192)&&(_0x3721e0[_0x50317f]=_0x5d81a1['replace'](/url\(#(.*)\)/,'url(#$1'[_0x6a7eed(0x2d0)](_0x374611[_0x6a7eed(0x1e7)],')')));});var _0x57e91c=_0x374611['defIds'];return!_0x57e91c||_0x57e91c[_0x59e090(0x1f3)]===0x0||(_0x38f409[_0x59e090(0x219)]===_0x59e090(0x144)&&_0x3721e0[_0x59e090(0x213)]&&(_0x3721e0[_0x59e090(0x213)]=_0x3721e0[_0x59e090(0x213)]+_0x374611[_0x59e090(0x1e7)]),Object[_0x59e090(0x23f)](_0x3721e0)['forEach'](function(_0x39bc85){const _0x38364c=_0x59e090;var _0x20daf2=_0x39bc85[0x0],_0x393631=_0x39bc85[0x1];typeof _0x393631==_0x38364c(0x192)&&(_0x3721e0[_0x20daf2]=_0x393631[_0x38364c(0x1e5)](/url\(#(.*)\)/,_0x38364c(0x164)[_0x38364c(0x2d0)](_0x374611[_0x38364c(0x1e7)],')')));})),_0x3721e0;}function Hi(_0x161957,_0x16bb16){const _0xf2dcf5=_0x3a57f9;var _0x43fa12,_0x190d63=_0x16bb16[_0xf2dcf5(0x13f)];return!_0x190d63||_0x190d63[_0xf2dcf5(0x1f3)]===0x0?_0x161957:_0x161957[_0xf2dcf5(0x219)]==='defs'&&(!((_0x43fa12=_0x161957[_0xf2dcf5(0x155)])===null||_0x43fa12===void 0x0)&&_0x43fa12[_0xf2dcf5(0x1f3)])?v(v({},_0x161957),{'children':_0x161957[_0xf2dcf5(0x155)][_0xf2dcf5(0xe9)](function(_0x33d816){const _0x39e746=_0xf2dcf5;return typeof _0x33d816[_0x39e746(0x185)]['id']==_0x39e746(0x192)&&_0x190d63&&_0x190d63[_0x39e746(0x2ac)](_0x33d816[_0x39e746(0x185)]['id'])?v(v({},_0x33d816),{'attrs':v(v({},_0x33d816[_0x39e746(0x185)]),{'id':_0x33d816[_0x39e746(0x185)]['id']+_0x16bb16['idSuffix']})}):_0x33d816;})}):_0x161957;}function Fi(){const _0x5a9973=_0x3a57f9;return Math['random']()[_0x5a9973(0x191)](0x24)['substring'](0x2,0x8);}Ye[_0x3a57f9(0x114)]=_0x3a57f9(0x15c);var Yi={'tag':_0x3a57f9(0x279),'attrs':{'xmlns':_0x3a57f9(0x17a),'fill':_0x3a57f9(0x1ff),'viewBox':_0x3a57f9(0x16e),'width':_0x3a57f9(0x1d5),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x3a57f9(0x284)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x3a57f9(0x122),'strokeLinecap':_0x3a57f9(0x207),'strokeLinejoin':_0x3a57f9(0x207),'strokeWidth':1.2}}]},{'tag':_0x3a57f9(0x28c),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3a57f9(0x10e)},'children':[{'tag':_0x3a57f9(0x227),'attrs':{'fill':_0x3a57f9(0xf0),'d':_0x3a57f9(0x25f)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},Nt=_0x492358(function(_0x1a5cf3,_0x176411){const _0x2758ee=_0x3a57f9;return _0x2f64f8(Ye,Object[_0x2758ee(0x277)]({},_0x1a5cf3,{'id':_0x2758ee(0x295),'ref':_0x176411,'icon':Yi}));});Nt['displayName']='OffLineIcon';var ji={'tag':_0x3a57f9(0x279),'attrs':{'xmlns':_0x3a57f9(0x17a),'fill':_0x3a57f9(0x1ff),'viewBox':_0x3a57f9(0xda),'width':_0x3a57f9(0x1d5),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x3a57f9(0x201)},'children':[{'tag':'path','attrs':{'stroke':_0x3a57f9(0x139),'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':_0x3a57f9(0x207),'strokeLinejoin':_0x3a57f9(0x207),'strokeWidth':1.2}}]},{'tag':_0x3a57f9(0x28c),'attrs':{},'children':[{'tag':_0x3a57f9(0x206),'attrs':{'id':_0x3a57f9(0x2b0)},'children':[{'tag':_0x3a57f9(0x227),'attrs':{'fill':_0x3a57f9(0xf0),'d':'M0\x200H16V16H0z','transform':_0x3a57f9(0x267)}}]}]}],'defIds':[_0x3a57f9(0x2b0)]},Ut=_0x492358(function(_0x412e4a,_0x4b6d90){const _0x5e5495=_0x3a57f9;return _0x2f64f8(Ye,Object['assign']({},_0x412e4a,{'id':_0x5e5495(0x1c3),'ref':_0x4b6d90,'icon':ji}));});Ut['displayName']='OnLineIcon';function Vi(_0x58c129){const _0x5ccd23=_0x3a57f9;switch(_0x58c129){case _0x1292c5['OFFLINE']:return'collabStatus.offline';case _0x1292c5[_0x5ccd23(0x221)]:return _0x5ccd23(0x165);case _0x1292c5[_0x5ccd23(0x113)]:return'collabStatus.fetchMiss';case _0x1292c5['NOT_COLLAB']:return _0x5ccd23(0x186);case _0x1292c5[_0x5ccd23(0x1e3)]:case _0x1292c5[_0x5ccd23(0xfe)]:return _0x5ccd23(0x112);case _0x1292c5[_0x5ccd23(0x1aa)]:case _0x1292c5[_0x5ccd23(0x1f0)]:return _0x5ccd23(0x220);}}function Wi(_0x40987d){const _0x3fea45=_0x3a57f9,{status$:_0x509de0}=_0x40987d,_0x44c3c3=_0xa6d25d(_0x509de0,_0x1292c5[_0x3fea45(0x1a5)]),_0x50bc17=_0x53a4d7(_0xc76249),_0x52d1bb=_0x53a4d7(_0x1e8ca8),_0x3a3922=_0x44c3c3!==_0x1292c5[_0x3fea45(0xfc)],_0x1e2cad=_0x50bc17['t'](Vi(_0x44c3c3)),_0x188018=_0x3a3922?_0x73b12f(Ut,{}):_0x73b12f(Nt,{}),_0x851370=_0x14d084(()=>{const _0x2bbd07=_0x3fea45;_0x3a3922||_0x52d1bb[_0x2bbd07(0x250)]();},[_0x3a3922,_0x52d1bb]);function _0x10434c(){const _0x1592e5=_0x3fea45;return _0x446319('div',{'className':_0x1592e5(0x2cd),'onClick':_0x851370,'children':[_0x73b12f('div',{'className':_0xf70887(_0x1592e5(0xf3),{'univer-text-green-500':_0x3a3922,'univer-text-red-500':!_0x3a3922}),'children':_0x188018}),_0x73b12f(_0x1592e5(0x27c),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x1e2cad})]});}return _0x3a3922?_0x10434c():_0x73b12f(_0x3e4beb,{'title':_0x50bc17['t'](_0x3fea45(0x2af)),'children':_0x10434c()});}var Xi=Object[_0x3a57f9(0x179)],Gi=(_0x1f8458,_0x54a936,_0x58e8c4,_0xb4e38f)=>{for(var _0x3a7301=_0xb4e38f>0x1?void 0x0:_0xb4e38f?Xi(_0x54a936,_0x58e8c4):_0x54a936,_0x2d638b=_0x1f8458['length']-0x1,_0x270c72;_0x2d638b>=0x0;_0x2d638b--)(_0x270c72=_0x1f8458[_0x2d638b])&&(_0x3a7301=_0x270c72(_0x3a7301)||_0x3a7301);return _0x3a7301;},q=(_0x424680,_0x24cd69)=>(_0x112ac5,_0x4a1695)=>_0x24cd69(_0x112ac5,_0x4a1695,_0x424680);let se=class extends _0x16ac65{constructor(_0x5c48c5,_0x3ccb99,_0x3ccd3e,_0x3b6520){const _0x1935d1=_0x3a57f9;super(),_(this,_0x1935d1(0x11b),new _0x3985c9(_0x1292c5['NOT_COLLAB'])),(this[_0x1935d1(0x224)]=_0x5c48c5,this['_injector']=_0x3ccb99,this[_0x1935d1(0x260)]=_0x3ccd3e,this[_0x1935d1(0x1c0)]=_0x3b6520,this['_initStatusComponent'](),this[_0x1935d1(0x266)]());}[_0x3a57f9(0x266)](){const _0x3e61cd=_0x3a57f9;this[_0x3e61cd(0x2b3)](this[_0x3e61cd(0x224)][_0x3e61cd(0x2a2)][_0x3e61cd(0x143)](_0x2f89c3(()=>{const _0x49a5cd=_0x3e61cd,_0x36e2ac=this[_0x49a5cd(0x224)]['getFocusedUnit']();return _0x36e2ac?this[_0x49a5cd(0x260)]['getCollabEntity$'](_0x36e2ac[_0x49a5cd(0x1bd)]()):_0x2b78f5(null);}),_0x2f89c3(_0x3af893=>_0x3af893?_0x3af893[_0x3e61cd(0x182)]:_0x2b78f5(_0x1292c5[_0x3e61cd(0x1a5)])))[_0x3e61cd(0x175)](_0x29b5a1=>{this['_status$']['next'](_0x29b5a1);}));}['_initStatusComponent'](){const _0x32942f=_0x3a57f9;this[_0x32942f(0x2b3)](this[_0x32942f(0x1c0)]['registerComponent'](_0x81f02a[_0x32942f(0x153)],()=>_0x2ad6b2(Ki({'status$':this['_status$'][_0x32942f(0x10a)]()}),this[_0x32942f(0x225)])));}};se=Gi([q(0x0,_0x1be569),q(0x1,_0x3296bc(_0x538ee1)),q(0x2,_0x3296bc(_0x1edc48)),q(0x3,_0x16f3b0)],se);function Ki(_0x2ffab8){const {status$:_0x2f2edc}=_0x2ffab8;return function(){return _0x73b12f(Wi,{'status$':_0x2f2edc});};}var zi=Object[_0x3a57f9(0x179)],Ji=(_0x392098,_0x409d69,_0xa96dae,_0x3a9d1f)=>{const _0x1f7ea6=_0x3a57f9;for(var _0x5dd25d=_0x3a9d1f>0x1?void 0x0:_0x3a9d1f?zi(_0x409d69,_0xa96dae):_0x409d69,_0x48224d=_0x392098[_0x1f7ea6(0x1f3)]-0x1,_0x1e7794;_0x48224d>=0x0;_0x48224d--)(_0x1e7794=_0x392098[_0x48224d])&&(_0x5dd25d=_0x1e7794(_0x5dd25d)||_0x5dd25d);return _0x5dd25d;},B=(_0x1f2e06,_0x309b09)=>(_0x55a4cf,_0x391e9c)=>_0x309b09(_0x55a4cf,_0x391e9c,_0x1f2e06);let ie=class extends _0x16ac65{constructor(_0x30714b,_0x439a77,_0x3a7171,_0x4bcb2a,_0xf22412,_0x4414e2){const _0x5af855=_0x3a57f9;super(),this['_beforeCloseService']=_0x30714b,this['_localCacheService']=_0x439a77,this[_0x5af855(0x11f)]=_0x3a7171,this[_0x5af855(0x16b)]=_0x4bcb2a,this[_0x5af855(0x1c9)]=_0xf22412,this['_localeService']=_0x4414e2,this[_0x5af855(0x119)](),this[_0x5af855(0x243)]();}[_0x3a57f9(0x119)](){const _0x201769=_0x3a57f9;this[_0x201769(0x2b3)](this['_beforeCloseService'][_0x201769(0x13a)](()=>{const _0x4d8274=_0x201769;if(this[_0x4d8274(0x1ad)][_0x4d8274(0x27b)][_0x4d8274(0x22a)])return this[_0x4d8274(0x1b6)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x3a57f9(0x243)](){const _0x32981e=_0x3a57f9;this[_0x32981e(0x2b3)](this['_collaborationUIEventService']['event$'][_0x32981e(0x175)](_0x5d02d4=>{const _0x1ea616=_0x32981e;_0x5d02d4['id']===_0x4c162c['OTHER_CLIENT_EDITING']&&this[_0x1ea616(0x16b)][_0x1ea616(0xdc)]({'type':_0x3ef35b[_0x1ea616(0x146)],'content':this[_0x1ea616(0x1b6)]['t'](_0x1ea616(0x1a7))}),_0x5d02d4['id']===_0x4c162c[_0x1ea616(0x285)]&&this['_messageService'][_0x1ea616(0xdc)]({'type':_0x3ef35b['Warning'],'content':this[_0x1ea616(0x1b6)]['t'](_0x1ea616(0x26c))}),_0x5d02d4['id']===_0x4c162c[_0x1ea616(0x1ed)]&&this[_0x1ea616(0x1c9)][_0x1ea616(0xdc)]({'title':this[_0x1ea616(0x1b6)]['t'](_0x1ea616(0x214)),'content':this[_0x1ea616(0x1b6)]['t'](_0x1ea616(0x291)),'type':_0x1ea616(0x134),'duration':0x0}),_0x5d02d4['id']===_0x4c162c['CONFLICT']&&this['_messageService']['show']({'type':_0x3ef35b[_0x1ea616(0x211)],'content':this[_0x1ea616(0x1b6)]['t'](_0x1ea616(0x26c))+'('+_0x5d02d4['data']+')'}),_0x5d02d4['id']===_0x4c162c[_0x1ea616(0x1ba)]&&this[_0x1ea616(0x16b)][_0x1ea616(0xdc)]({'type':_0x3ef35b[_0x1ea616(0x146)],'content':this[_0x1ea616(0x1b6)]['t'](_0x5d02d4['data']||'')}),_0x5d02d4['id']===_0x4c162c[_0x1ea616(0x21e)]&&this[_0x1ea616(0x16b)][_0x1ea616(0xdc)]({'type':_0x3ef35b['Warning'],'content':this[_0x1ea616(0x1b6)]['t']('session.will-retry')}),_0x5d02d4['id']===_0x4c162c[_0x1ea616(0x10b)]&&this['_messageService'][_0x1ea616(0xdc)]({'type':_0x3ef35b[_0x1ea616(0x211)],'content':this[_0x1ea616(0x1b6)]['t'](_0x1ea616(0x2bb))}),_0x5d02d4['id']===_0x4c162c[_0x1ea616(0xea)]&&this[_0x1ea616(0x16b)][_0x1ea616(0xdc)]({'type':_0x3ef35b[_0x1ea616(0x211)],'content':this['_localeService']['t'](_0x1ea616(0x194))});}));}};ie=Ji([B(0x0,_0x34768e),B(0x1,_0x2cfad2),B(0x2,_0x3296bc(_0x9aea63)),B(0x3,_0x2e55ff),B(0x4,_0x34afaf),B(0x5,_0x3296bc(_0xc76249))],ie);const Zi=_0x3a57f9(0x2b9),tt={},Mt=_0x3194fa('uni.network.url-service');var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x270350,_0x320218,_0x4e6cc6,_0x1fd14b)=>{const _0x111e93=_0x3a57f9;for(var _0x3f8114=_0x1fd14b>0x1?void 0x0:_0x1fd14b?Qi(_0x320218,_0x4e6cc6):_0x320218,_0x3c3994=_0x270350[_0x111e93(0x1f3)]-0x1,_0x77a4d5;_0x3c3994>=0x0;_0x3c3994--)(_0x77a4d5=_0x270350[_0x3c3994])&&(_0x3f8114=_0x77a4d5(_0x3f8114)||_0x3f8114);return _0x3f8114;},K=(_0x4dbab6,_0x472671)=>(_0x29d2d0,_0x12be3f)=>_0x472671(_0x29d2d0,_0x12be3f,_0x4dbab6);let ne=class extends _0x553b56{constructor(_0x537768,_0x4ed24e,_0x222f1b,_0x4525c6,_0xe5058e){const _0x16f762=_0x3a57f9;super(),this[_0x16f762(0x1be)]=_0x537768,this['_logService']=_0x4ed24e,this[_0x16f762(0x29b)]=_0x222f1b,this[_0x16f762(0x145)]=_0x4525c6,_0xe5058e?_0xe5058e==null||_0xe5058e[_0x16f762(0x287)]()[_0x16f762(0x2b1)](()=>this[_0x16f762(0x13d)]()):(this['_logService']['debug'](_0x16f762(0x233),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x16f762(0x13d)]());}async[_0x3a57f9(0x13d)](){const _0x3dde6b=_0x3a57f9,_0x1d345e=this[_0x3dde6b(0x1be)]['getParam'](_0x3dde6b(0x150)),_0x4c5cda=this['_urlService'][_0x3dde6b(0x1ea)]('type'),_0x36f0ec=this[_0x3dde6b(0x1be)][_0x3dde6b(0x1ea)]('subunit');if(!_0x1d345e||!_0x4c5cda){this[_0x3dde6b(0x11a)]['debug'](_0x3dde6b(0x233),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x33b910=await this[_0x3dde6b(0x145)][_0x3dde6b(0xe2)](_0x1d345e,Number(_0x4c5cda),_0x36f0ec);_0x33b910&&_0x33b910 instanceof _0x548083&&this[_0x3dde6b(0x217)](_0x33b910);}async['_setupSubUnitSync'](_0x5922d0){const _0x548ebf=_0x3a57f9;await this['_updateSubUnitFromURLParams'](_0x5922d0),_0x5922d0[_0x548ebf(0x23b)][_0x548ebf(0x143)](_0x2a6b6e(this[_0x548ebf(0x22f)]))['subscribe'](_0x40a5c6=>{_0x40a5c6&&this['_updateURLWithCurrentState'](_0x40a5c6);}),this[_0x548ebf(0x1be)][_0x548ebf(0x2ca)]['pipe'](_0x2a6b6e(this['dispose$']))[_0x548ebf(0x175)](()=>this[_0x548ebf(0x159)](_0x5922d0));}[_0x3a57f9(0x1e1)](_0x53b5cc,_0x1ec634=!0x1){const _0x17f075=_0x3a57f9,_0x5106a7=this[_0x17f075(0x1be)][_0x17f075(0x1ea)](_0x17f075(0x268));_0x53b5cc[_0x17f075(0x253)]()!==_0x5106a7&&this[_0x17f075(0x1be)][_0x17f075(0x1cc)](_0x17f075(0x268),_0x53b5cc[_0x17f075(0x253)](),_0x1ec634);}async['_updateSubUnitFromURLParams'](_0x5f5d54){const _0x4aa721=_0x3a57f9;var _0x209683;const _0x3f7d68=this[_0x4aa721(0x1be)][_0x4aa721(0x1ea)](_0x4aa721(0x268));if(!_0x3f7d68||!_0x5f5d54['getSheetBySheetId'](_0x3f7d68)){const _0x279f45=_0x5f5d54[_0x4aa721(0x161)]()[0x0],_0x31fa44=_0x5f5d54[_0x4aa721(0x11d)](_0x279f45);if(!_0x31fa44)return;this['_updateURLWithCurrentState'](_0x31fa44,!0x0),await this[_0x4aa721(0x29b)][_0x4aa721(0x2a7)](_0xd0e3e4['id'],{'unitId':_0x5f5d54[_0x4aa721(0x1bd)](),'subUnitId':_0x279f45});return;}((_0x209683=_0x5f5d54[_0x4aa721(0x135)]())==null?void 0x0:_0x209683[_0x4aa721(0x253)]())!==_0x3f7d68&&await this[_0x4aa721(0x29b)][_0x4aa721(0x2a7)](_0xd0e3e4['id'],{'unitId':_0x5f5d54[_0x4aa721(0x1bd)](),'subUnitId':_0x3f7d68});}};ne=qi([K(0x0,Mt),K(0x1,_0x2d6f9d),K(0x2,_0x1b52c7),K(0x3,_0x3296bc(_0x4aae42)),K(0x4,_0x2ddda6(_0x1bb5ff))],ne);var en=Object[_0x3a57f9(0x179)],tn=(_0x5095ce,_0x27d9a4,_0x3d5c6f,_0x5ec286)=>{const _0x432316=_0x3a57f9;for(var _0x3f1e74=_0x5ec286>0x1?void 0x0:_0x5ec286?en(_0x27d9a4,_0x3d5c6f):_0x27d9a4,_0x442b15=_0x5095ce[_0x432316(0x1f3)]-0x1,_0x30fa02;_0x442b15>=0x0;_0x442b15--)(_0x30fa02=_0x5095ce[_0x442b15])&&(_0x3f1e74=_0x30fa02(_0x3f1e74)||_0x3f1e74);return _0x3f1e74;},Ce=(_0x1e5564,_0x41cd23)=>(_0x30d3f8,_0x1edf2d)=>_0x41cd23(_0x30d3f8,_0x1edf2d,_0x1e5564);let re=class{constructor(_0x2b7d6b,_0x3a8a7c,_0x34a219){const _0x4c7bf1=_0x3a57f9;this['_injector']=_0x2b7d6b,this[_0x4c7bf1(0x252)]=_0x3a8a7c,this['_renderManagerService']=_0x34a219;}[_0x3a57f9(0x14f)](_0x253d7d){const _0x538d0f=_0x3a57f9;this[_0x538d0f(0x18b)](_0x253d7d),this[_0x538d0f(0x2c9)](_0x253d7d);}[_0x3a57f9(0x1b3)](_0x5c895d){const _0xb0dedb=_0x3a57f9,{unitID:_0x575a4e}=_0x5c895d,_0x4d3d68=this['_renderManagerService'][_0xb0dedb(0x123)](_0x575a4e)[_0xb0dedb(0x2a1)](_0x427731),{redoCache:_0x4903c7}=_0x4d3d68[_0xb0dedb(0x1f1)]();if(_0x4903c7[_0xb0dedb(0x1f3)]===0x0)return _0x5c895d;let _0x4052d=_0xef5339[_0xb0dedb(0x22c)](_0x5c895d[_0xb0dedb(0x10f)][0x0]);for(let _0x22bd56=0x0;_0x22bd56<_0x4903c7[_0xb0dedb(0x1f3)];_0x22bd56++){const _0x377760={'id':_0xb0dedb(0x29f),'params':{..._0x4903c7[_0x22bd56]}},_0x54e389=this['_transformService'][_0xb0dedb(0x244)](_0x4052d,_0x377760,!0x1);if(_0x2e710a(_0x54e389))throw _0x54e389[_0xb0dedb(0x134)];_0x4052d=_0x54e389[_0xb0dedb(0x1f4)];}return{..._0xef5339[_0xb0dedb(0x22c)](_0x5c895d),'mutations':[_0x4052d]};}[_0x3a57f9(0x18b)](_0x101a76){const _0x966b55=_0x3a57f9,{unitID:_0x410c04}=_0x101a76,_0x4064f1=this[_0x966b55(0xdb)][_0x966b55(0x123)](_0x410c04)[_0x966b55(0x2a1)](_0x427731),{undoCache:_0x496860,redoCache:_0x14d1df}=_0x4064f1[_0x966b55(0x1f1)]();if(_0x496860[_0x966b55(0x1f3)]===0x0||_0x14d1df[_0x966b55(0x1f3)]===0x0)return;const _0xff6f05=[],_0x15bae8=[];let _0x45b8f6=_0xef5339['deepClone'](_0x101a76[_0x966b55(0x10f)][0x0]),_0x584ccb=_0xef5339[_0x966b55(0x22c)](_0x101a76[_0x966b55(0x10f)][0x0]);for(let _0x28b66e=_0x496860[_0x966b55(0x1f3)]-0x1;_0x28b66e>=0x0;_0x28b66e--){const _0x43470c={'id':_0x966b55(0x29f),'params':{..._0x496860[_0x28b66e]}},_0x56aa3d={'id':_0x966b55(0x29f),'params':{..._0x14d1df[_0x28b66e]}},_0xab1f79=this[_0x966b55(0x252)]['transformMutation'](_0x45b8f6,_0x43470c,!0x1),_0x3fbedc=this[_0x966b55(0x252)][_0x966b55(0x244)](_0x584ccb,_0x56aa3d,!0x1);if(_0x2e710a(_0xab1f79))throw _0xab1f79[_0x966b55(0x134)];if(_0x2e710a(_0x3fbedc))throw _0x3fbedc['error'];_0xff6f05['unshift'](_0xab1f79[_0x966b55(0x1fa)][_0x966b55(0xf8)]),_0x15bae8[_0x966b55(0x126)](_0x3fbedc[_0x966b55(0x1fa)][_0x966b55(0xf8)]),_0x45b8f6=_0xab1f79[_0x966b55(0x1f4)],_0x584ccb=_0x3fbedc[_0x966b55(0x1f4)];}_0x4064f1[_0x966b55(0x188)]({'undoCache':_0xff6f05,'redoCache':_0x15bae8});}[_0x3a57f9(0x2c9)](_0x5dae3a){const _0x2bca8d=_0x3a57f9,{unitID:_0x1a94f6}=_0x5dae3a,_0x55ae3e=this['_renderManagerService'][_0x2bca8d(0x123)](_0x1a94f6)[_0x2bca8d(0x2a1)](_0x427731),_0x306641=_0x55ae3e[_0x2bca8d(0x204)]();if(_0x306641==null)return;const _0x3ccadc=[{'id':_0x2bca8d(0x29f),'params':{'unitId':_0x5dae3a[_0x2bca8d(0x24e)],'actions':null,'textRanges':[_0x306641]}}],_0xdb073b=this[_0x2bca8d(0x252)][_0x2bca8d(0x1a8)](_0x5dae3a,_0x3ccadc);if(!_0x503663(_0xdb073b))throw _0xdb073b[_0x2bca8d(0x134)];const _0x346bc5=_0xdb073b['m2Prime'][0x0][_0x2bca8d(0xf8)][_0x2bca8d(0x1d7)];Array['isArray'](_0x346bc5)&&_0x346bc5[_0x2bca8d(0x1f3)]&&_0x55ae3e['setActiveRange'](_0x346bc5[0x0]);}};re=tn([Ce(0x0,_0x3296bc(_0x538ee1)),Ce(0x1,_0x5dc57d),Ce(0x2,_0x20c53d)],re);var sn=Object[_0x3a57f9(0x179)],nn=(_0x18e526,_0x5178e3,_0x134d53,_0x272a12)=>{for(var _0x29d280=_0x272a12>0x1?void 0x0:_0x272a12?sn(_0x5178e3,_0x134d53):_0x5178e3,_0x13e2f4=_0x18e526['length']-0x1,_0x42b385;_0x13e2f4>=0x0;_0x13e2f4--)(_0x42b385=_0x18e526[_0x13e2f4])&&(_0x29d280=_0x42b385(_0x29d280)||_0x29d280);return _0x29d280;},Ee=(_0x2a1430,_0x49c1fa)=>(_0x3dd733,_0xbce40d)=>_0x49c1fa(_0x3dd733,_0xbce40d,_0x2a1430);let oe=class{constructor(_0x3a79f3,_0x3be434,_0x10ffd4){const _0x5330e0=_0x3a57f9;this[_0x5330e0(0x225)]=_0x3a79f3,this[_0x5330e0(0x252)]=_0x3be434,this[_0x5330e0(0xd7)]=_0x10ffd4;}['transformStateCache'](_0x49350d){this['_transformHistoryAndStateStack'](_0x49350d);}[_0x3a57f9(0x1b3)](_0x4b9bda){const _0x34ae71=_0x3a57f9,{unitID:_0x29ff62}=_0x4b9bda,{collaboration:_0xadc096}=this[_0x34ae71(0xd7)][_0x34ae71(0xd6)](_0x29ff62);if(_0xadc096[_0x34ae71(0x1f3)]===0x0)return _0x4b9bda;let _0x3c4f7e=_0xef5339['deepClone'](_0x4b9bda[_0x34ae71(0x10f)][0x0]);for(let _0x42143e=0x0;_0x42143e<_0xadc096[_0x34ae71(0x1f3)];_0x42143e++){const _0x19d2c4={'id':_0x34ae71(0x29f),'params':{'unitId':_0xadc096[_0x42143e][_0x34ae71(0xd4)],..._0xadc096[_0x42143e][_0x34ae71(0x283)]}},_0x57b42c=this[_0x34ae71(0x252)]['transformMutation'](_0x3c4f7e,_0x19d2c4,!0x1);if(_0x2e710a(_0x57b42c))throw _0x57b42c[_0x34ae71(0x134)];_0x3c4f7e=_0x57b42c[_0x34ae71(0x1f4)];}return{..._0xef5339['deepClone'](_0x4b9bda),'mutations':[_0x3c4f7e]};}['_transformHistoryAndStateStack'](_0x26371b){const _0x452da1=_0x3a57f9,{unitID:_0x129778}=_0x26371b,{history:_0x2ae675,collaboration:_0x264eef}=this[_0x452da1(0xd7)]['getStateCache'](_0x129778);if(_0x2ae675['length']===0x0&&_0x264eef[_0x452da1(0x1f3)]===0x0)return;const _0x31ebf4=[],_0x4d7b5b=[];let _0x3412b0=_0xef5339['deepClone'](_0x26371b[_0x452da1(0x10f)][0x0]),_0x54ac54=_0xef5339[_0x452da1(0x22c)](_0x26371b[_0x452da1(0x10f)][0x0]);for(let _0x53c8d6=_0x2ae675['length']-0x1;_0x53c8d6>=0x0;_0x53c8d6--){const _0x5835b1={'id':_0x452da1(0x29f),'params':{'unitId':_0x2ae675[_0x53c8d6][_0x452da1(0xd4)],..._0x2ae675[_0x53c8d6][_0x452da1(0x1d9)]}},_0x2e7dec={'id':_0x452da1(0x29f),'params':{'unitId':_0x2ae675[_0x53c8d6][_0x452da1(0xd4)],..._0x2ae675[_0x53c8d6][_0x452da1(0x283)]}},_0x5b1135=this[_0x452da1(0x252)]['transformMutation'](_0x3412b0,_0x5835b1,!0x1),_0x43d97c=this['_transformService'][_0x452da1(0x244)](_0x54ac54,_0x2e7dec,!0x1);if(_0x2e710a(_0x5b1135))throw _0x5b1135[_0x452da1(0x134)];if(_0x2e710a(_0x43d97c))throw _0x43d97c[_0x452da1(0x134)];_0x31ebf4['unshift']({..._0x2ae675[_0x53c8d6],'undoState':_0x5b1135['m2Prime'][_0x452da1(0xf8)],'redoState':_0x43d97c['m2Prime'][_0x452da1(0xf8)]}),_0x3412b0=_0x5b1135[_0x452da1(0x1f4)],_0x54ac54=_0x43d97c[_0x452da1(0x1f4)];}_0x3412b0=_0xef5339[_0x452da1(0x22c)](_0x26371b['mutations'][0x0]),_0x54ac54=_0xef5339[_0x452da1(0x22c)](_0x26371b[_0x452da1(0x10f)][0x0]);for(let _0x44b4b5=_0x264eef['length']-0x1;_0x44b4b5>=0x0;_0x44b4b5--){const _0xd9d5e4={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x264eef[_0x44b4b5]['unitId'],..._0x264eef[_0x44b4b5][_0x452da1(0x1d9)]}},_0x38281b={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x264eef[_0x44b4b5][_0x452da1(0xd4)],..._0x264eef[_0x44b4b5][_0x452da1(0x283)]}},_0x5803f0=this[_0x452da1(0x252)][_0x452da1(0x244)](_0x3412b0,_0xd9d5e4,!0x1),_0x210f89=this[_0x452da1(0x252)][_0x452da1(0x244)](_0x54ac54,_0x38281b,!0x1);if(_0x2e710a(_0x5803f0))throw _0x5803f0[_0x452da1(0x134)];if(_0x2e710a(_0x210f89))throw _0x210f89[_0x452da1(0x134)];_0x4d7b5b[_0x452da1(0x126)]({..._0x264eef[_0x44b4b5],'undoState':_0x5803f0[_0x452da1(0x1fa)][_0x452da1(0xf8)],'redoState':_0x210f89[_0x452da1(0x1fa)][_0x452da1(0xf8)]}),_0x3412b0=_0x5803f0[_0x452da1(0x1f4)],_0x54ac54=_0x210f89[_0x452da1(0x1f4)];}this['_docStateChangeManagerService'][_0x452da1(0x1b8)](_0x129778,{'history':_0x31ebf4,'collaboration':_0x4d7b5b});}};oe=nn([Ee(0x0,_0x3296bc(_0x538ee1)),Ee(0x1,_0x5dc57d),Ee(0x2,_0x3296bc(_0x26fc0c))],oe);var rn=Object[_0x3a57f9(0x179)],on=(_0x2a94f0,_0x4132b5,_0x461f86,_0x2f5bcb)=>{for(var _0x5bc8fb=_0x2f5bcb>0x1?void 0x0:_0x2f5bcb?rn(_0x4132b5,_0x461f86):_0x4132b5,_0x3f360b=_0x2a94f0['length']-0x1,_0x2d3aae;_0x3f360b>=0x0;_0x3f360b--)(_0x2d3aae=_0x2a94f0[_0x3f360b])&&(_0x5bc8fb=_0x2d3aae(_0x5bc8fb)||_0x5bc8fb);return _0x5bc8fb;},st=(_0x418efc,_0x3f88c5)=>(_0x5e8504,_0x39e37c)=>_0x3f88c5(_0x5e8504,_0x39e37c,_0x418efc);let ae=class{constructor(_0x415580,_0x912699){const _0x92be55=_0x3a57f9;this[_0x92be55(0x225)]=_0x415580,this[_0x92be55(0x252)]=_0x912699;}[_0x3a57f9(0x1bf)](_0x2ce4d9){const _0x15d62c=_0x3a57f9;var _0x202a4b;const _0x470092=this[_0x15d62c(0x225)][_0x15d62c(0x147)](_0x5d5866),_0x2287a4=(_0x202a4b=_0x470092[_0x15d62c(0x128)]())!=null?_0x202a4b:[];if(_0x2287a4[_0x15d62c(0x1f3)]===0x0)return;const _0x24e64a=_0x2ce4d9[_0x15d62c(0x24e)],_0x2eb0eb=[{'id':_0x15d62c(0x29f),'params':{'unitId':_0x24e64a,'actions':null,'textRanges':_0x2287a4}}],_0x10e25f=this[_0x15d62c(0x252)][_0x15d62c(0x1a8)](_0x2ce4d9,_0x2eb0eb);if(!_0x503663(_0x10e25f))throw _0x10e25f['error'];const _0x3f6cf2=_0x10e25f[_0x15d62c(0x1fa)][0x0][_0x15d62c(0xf8)]['textRanges'];Array[_0x15d62c(0x142)](_0x3f6cf2)&&_0x3f6cf2[_0x15d62c(0x1f3)]&&_0x470092[_0x15d62c(0x196)](_0x3f6cf2,{'unitId':_0x24e64a,'subUnitId':_0x24e64a},!0x1);}};ae=on([st(0x0,_0x3296bc(_0x538ee1)),st(0x1,_0x5dc57d)],ae);var an=Object['getOwnPropertyDescriptor'],cn=(_0x49192d,_0x272e37,_0x5d0cfa,_0x1fdf32)=>{for(var _0x3e30f5=_0x1fdf32>0x1?void 0x0:_0x1fdf32?an(_0x272e37,_0x5d0cfa):_0x272e37,_0x5a3e0d=_0x49192d['length']-0x1,_0x417b5a;_0x5a3e0d>=0x0;_0x5a3e0d--)(_0x417b5a=_0x49192d[_0x5a3e0d])&&(_0x3e30f5=_0x417b5a(_0x3e30f5)||_0x3e30f5);return _0x3e30f5;},U=(_0x3502cd,_0x33cfcc)=>(_0x2591cc,_0xcfcde9)=>_0x33cfcc(_0x2591cc,_0xcfcde9,_0x3502cd);let ce=class extends _0x16ac65{constructor(_0x163819,_0xcbe44,_0x16b00d,_0x2e3501,_0x3978d8,_0x949d3f,_0x32624c,_0x20627d){const _0x16eeae=_0x3a57f9;super(),_(this,_0x16eeae(0x11b),new _0x3985c9(_0x1292c5[_0x16eeae(0x1a5)])),(this[_0x16eeae(0xd7)]=_0x163819,this[_0x16eeae(0x260)]=_0xcbe44,this[_0x16eeae(0x1b5)]=_0x16b00d,this[_0x16eeae(0x177)]=_0x2e3501,this[_0x16eeae(0x271)]=_0x3978d8,this[_0x16eeae(0x1a2)]=_0x949d3f,this[_0x16eeae(0x16b)]=_0x32624c,this[_0x16eeae(0x1b6)]=_0x20627d,this['_initEntityListener']());}[_0x3a57f9(0x23e)](){const _0xf04e15=_0x3a57f9;this[_0xf04e15(0x2b3)](this[_0xf04e15(0x260)][_0xf04e15(0x1a1)][_0xf04e15(0x175)](_0x3e4e1d=>{const _0x23a571=_0xf04e15,_0x56aecc=this[_0x23a571(0xd7)][_0x23a571(0xff)][_0x23a571(0x175)](_0x46d9ec=>{const _0x4f5f30=_0x23a571;if(_0x46d9ec==null)return;const {unitId:_0x292345,redoState:_0x55ac08,commandId:_0x26eec7}=_0x46d9ec;if(_0x292345!==_0x3e4e1d['unitID'])return;const _0x15f24c={'id':_0x26eec7,'type':_0x326c54[_0x4f5f30(0x1c4)],'params':{'unitId':_0x292345,'actions':_0x55ac08['actions'],'textRanges':null}};_0x3e4e1d['onLocalMutation'](_0x15f24c);});if(_0x3e4e1d['disposeWithMe'](_0x56aecc),_0x3e4e1d instanceof _0x18bf24){const _0x3624d5={'onTransformIME':_0x4aac43=>this[_0x23a571(0x1b5)]['transformIMECache'](_0x4aac43),'onTransformState':_0x4587c0=>this['_docTransformStateCacheService'][_0x23a571(0x2c7)](_0x4587c0),'onTransformSelections':_0x482e06=>this[_0x23a571(0x271)]['transformSelections'](_0x482e06),'onSyncEditingCollabCursor':_0x5e74ee=>this[_0x23a571(0x1a2)]['syncEditingCollabCursor'](_0x5e74ee),'onTransformRemoteChangesetByIMECache':_0x54bdd2=>this['_docTransformIMECacheService'][_0x23a571(0x1b3)](_0x54bdd2),'onTransformRemoteChangesetByStateCache':_0x5e3cbf=>this[_0x23a571(0x177)][_0x23a571(0x1b3)](_0x5e3cbf)};_0x3e4e1d[_0x23a571(0x296)](_0x3624d5);}}));}};ce=cn([U(0x0,_0x3296bc(_0x26fc0c)),U(0x1,_0x3296bc(_0x1edc48)),U(0x2,_0x3296bc(re)),U(0x3,_0x3296bc(oe)),U(0x4,_0x3296bc(ae)),U(0x5,_0x3296bc(Fe)),U(0x6,_0x2e55ff),U(0x7,_0x3296bc(_0xc76249))],ce);var ln=Object[_0x3a57f9(0x179)],_n=(_0x1a4750,_0xd72d1c,_0x253822,_0x3c4375)=>{const _0x9acf79=_0x3a57f9;for(var _0x22d6dd=_0x3c4375>0x1?void 0x0:_0x3c4375?ln(_0xd72d1c,_0x253822):_0xd72d1c,_0x2877db=_0x1a4750[_0x9acf79(0x1f3)]-0x1,_0x499c95;_0x2877db>=0x0;_0x2877db--)(_0x499c95=_0x1a4750[_0x2877db])&&(_0x22d6dd=_0x499c95(_0x22d6dd)||_0x22d6dd);return _0x22d6dd;},Oe=(_0xa24640,_0x595f7c)=>(_0x15de3b,_0x4dc424)=>_0x595f7c(_0x15de3b,_0x4dc424,_0xa24640);let Ae=class extends _0x16ac65{constructor(_0x3fcea9,_0x53e854,_0x1675c5){const _0x477036=_0x3a57f9;super(),_(this,'_cachedData',new Map()),_(this,_0x477036(0x1b0),new Map()),_(this,_0x477036(0x278),!0x1),(this[_0x477036(0x269)]=_0x3fcea9,this[_0x477036(0x24b)]=_0x53e854,this[_0x477036(0x199)]=_0x1675c5);}[_0x3a57f9(0xd9)](){this['_disabled']=!0x0;}[_0x3a57f9(0x1ab)](){const _0xd318ed=_0x3a57f9;this[_0xd318ed(0x278)]=!0x1;}get[_0x3a57f9(0x27b)](){return this['_saveTaskMap'];}[_0x3a57f9(0x28e)](){const _0x560511=_0x3a57f9;this[_0x560511(0x29c)]()['then'](()=>super[_0x560511(0x28e)]());}async[_0x3a57f9(0x25c)](_0x2320ea){const _0x56a71a=_0x3a57f9;return this['_disabled']?null:this['_localStorageService'][_0x56a71a(0x1a6)](_0x38124f(_0x2320ea));}async[_0x3a57f9(0x151)](_0x1609e9,_0x4064c4){const _0x4cc344=_0x3a57f9;return!!this[_0x4cc344(0x24b)][_0x4cc344(0x26b)](_0x1609e9,_0x4064c4);}[_0x3a57f9(0x15a)](_0x2781e5,_0x46126a,_0x5b5da0,_0x35609a){const _0x596a9c=_0x3a57f9,_0xa1391d=this[_0x596a9c(0x199)][_0x596a9c(0x1ee)](_0x2781e5);this[_0x596a9c(0x251)][_0x596a9c(0x22d)](_0x2781e5,{'unitID':_0x2781e5,'type':_0x46126a,'awaitingChangeset':_0x5b5da0,'mutations':_0x35609a,'rev':_0xa1391d}),this[_0x596a9c(0x1b0)][_0x596a9c(0x223)](_0x2781e5)||this[_0x596a9c(0x232)](_0x2781e5);}['_scheduleSaving'](_0x51caa2){const _0x350667=_0x3a57f9,_0x1ca3e6=this[_0x350667(0x1fe)]();_0x1ca3e6===0x0?this[_0x350667(0x272)](_0x51caa2):this[_0x350667(0x1b0)][_0x350667(0x22d)](_0x51caa2,setTimeout(()=>this[_0x350667(0x272)](_0x51caa2),_0x1ca3e6));}[_0x3a57f9(0x1fe)](){const _0x2bf123=_0x3a57f9;var _0xc5901b;return(_0xc5901b=this[_0x2bf123(0x269)][_0x2bf123(0x20c)](_0xed578d))!=null?_0xc5901b:_0x2db360;}[_0x3a57f9(0x272)](_0x14fab7){const _0xea975=_0x3a57f9,_0x3786b2=this['_saveTaskMap']['get'](_0x14fab7);return _0x3786b2!==void 0x0&&window['clearTimeout'](_0x3786b2),this[_0xea975(0x24b)]['setItem'](_0x38124f(_0x14fab7),this['_cachedData'][_0xea975(0x147)](_0x14fab7))[_0xea975(0x2b1)](()=>this[_0xea975(0x1b0)][_0xea975(0x286)](_0x14fab7));}async[_0x3a57f9(0x29c)](){const _0x166a14=_0x3a57f9,_0x46fd76=[];this[_0x166a14(0x1b0)]['forEach']((_0x2fbf3d,_0x26647d)=>{const _0x288afe=_0x166a14;window['clearTimeout'](_0x2fbf3d),_0x46fd76[_0x288afe(0x1fd)](this[_0x288afe(0x272)](_0x26647d)['then'](()=>{const _0x1001bd=_0x288afe;this['_saveTaskMap'][_0x1001bd(0x286)](_0x26647d);}));}),await Promise[_0x166a14(0x24c)](_0x46fd76);}};Ae=_n([Oe(0x0,_0x2f1f09),Oe(0x1,_0x34513f),Oe(0x2,_0x3296bc(_0x51757e))],Ae);class hn extends _0x553b56{constructor(){const _0x23c30f=_0x3a57f9;super(),_(this,_0x23c30f(0x2ca)),this[_0x23c30f(0x2ca)]=_0x5942d0(window,'popstate')[_0x23c30f(0x143)](_0x2a6b6e(this[_0x23c30f(0x22f)]),_0x21f060(0x1),_0x82e8ad(void 0x0));}[_0x3a57f9(0x1cc)](_0x5b15eb,_0x134aee,_0x48a9ae=!0x1){const _0x290105=_0x3a57f9,_0x255a60=new URL(window[_0x290105(0x125)]['href']);_0x255a60[_0x290105(0x18e)][_0x290105(0x22d)](_0x5b15eb,_0x134aee),_0x48a9ae?window[_0x290105(0x1df)][_0x290105(0x245)]('','',_0x255a60['toString']()):window[_0x290105(0x1df)][_0x290105(0x1e4)]('','',_0x255a60[_0x290105(0x191)]());}[_0x3a57f9(0x249)](_0x715aab,_0xefc636=!0x1){const _0x18d7b2=_0x3a57f9,_0x5e94f6=new URL(window[_0x18d7b2(0x125)][_0x18d7b2(0x21b)]);_0x5e94f6[_0x18d7b2(0x18e)][_0x18d7b2(0x286)](_0x715aab),_0xefc636?window[_0x18d7b2(0x1df)]['replaceState']('','',_0x5e94f6[_0x18d7b2(0x191)]()):window[_0x18d7b2(0x1df)][_0x18d7b2(0x1e4)]('','',_0x5e94f6['toString']());}[_0x3a57f9(0x1ea)](_0x15df07){const _0x5c7a4a=_0x3a57f9;var _0xfa8971;return(_0xfa8971=new URL(window[_0x5c7a4a(0x125)][_0x5c7a4a(0x21b)])['searchParams'][_0x5c7a4a(0x147)](_0x15df07))!=null?_0xfa8971:void 0x0;}}var un=Object[_0x3a57f9(0xef)],dn=Object['getOwnPropertyDescriptor'],fn=(_0x59a598,_0x53831a,_0x218e10)=>_0x53831a in _0x59a598?un(_0x59a598,_0x53831a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x218e10}):_0x59a598[_0x53831a]=_0x218e10,Sn=(_0x667dbf,_0x17bb21,_0x313be4,_0x3f28b7)=>{const _0x1f15ce=_0x3a57f9;for(var _0x15b729=_0x3f28b7>0x1?void 0x0:_0x3f28b7?dn(_0x17bb21,_0x313be4):_0x17bb21,_0x7ad47d=_0x667dbf[_0x1f15ce(0x1f3)]-0x1,_0x2cc971;_0x7ad47d>=0x0;_0x7ad47d--)(_0x2cc971=_0x667dbf[_0x7ad47d])&&(_0x15b729=_0x2cc971(_0x15b729)||_0x15b729);return _0x15b729;},be=(_0x1f5987,_0x67b5e9)=>(_0x1970e6,_0x4b8704)=>_0x67b5e9(_0x1970e6,_0x4b8704,_0x1f5987),mn=(_0x4e1cb1,_0x4dfb1d,_0x1d0162)=>fn(_0x4e1cb1,_0x4dfb1d+'',_0x1d0162);const In=_0x3a57f9(0x25a);let ye=class extends _0x273334{constructor(_0x20ab2a=tt,_0x412285,_0x40e781,_0x1a701d){const _0x57e755=_0x3a57f9;super(),this['_config']=_0x20ab2a,this['_renderManagerService']=_0x412285,this[_0x57e755(0x225)]=_0x40e781,this[_0x57e755(0x269)]=_0x1a701d;const {..._0x550ea1}=_0x18fc6d({},tt,this[_0x57e755(0x240)]);this[_0x57e755(0x269)][_0x57e755(0x2cb)](Zi,_0x550ea1);}[_0x3a57f9(0x23a)](){const _0x42e02a=_0x3a57f9;this[_0x42e02a(0x1c5)](),this[_0x42e02a(0x14b)]();}[_0x3a57f9(0x230)](){const _0x1fc169=_0x3a57f9;this[_0x1fc169(0xf4)]();}[_0x3a57f9(0x1c5)](){const _0x10e14e=_0x3a57f9;var _0x4ae62f;const _0x168d3b=[[He],[ae],[re],[oe],[Fe],[Mt,{'useClass':hn}],[_0x18d2f7,{'useClass':_0x4d0048}],[_0x2cfad2,{'useClass':Ae}],[se],[ce],[ie],[F],[Ue],[ne]];_0x4059dc(this[_0x10e14e(0x225)],_0x1dbfa7(_0x168d3b,(_0x4ae62f=this[_0x10e14e(0x240)])==null?void 0x0:_0x4ae62f['override']));}[_0x3a57f9(0xf4)](){const _0x54a76c=_0x3a57f9;this[_0x54a76c(0x2b3)](this[_0x54a76c(0xdb)][_0x54a76c(0x1bb)](_0x54ea39[_0x54a76c(0x136)],[Pe])),this[_0x54a76c(0x2b3)](this[_0x54a76c(0xdb)][_0x54a76c(0x1bb)](_0x54ea39[_0x54a76c(0x2bc)],[we]));}[_0x3a57f9(0x14b)](){const _0x4830f6=_0x3a57f9;_0xafaaa7(this[_0x4830f6(0x225)],[[F],[se],[ce],[ie],[ne]]);}};function _0x1193(){const _0xbe6487=['_localeService','eventID','setStateCache','_colorIndex','JOIN_ROOM_FAILED','registerRenderModule','_drawTextRange','getUnitId','_urlService','transformSelections','_uiPartsService','getTypeOfUnitAdded$','getAncestorScale','on-line-icon','MUTATION','_registerDependencies','next','getMemberID','_docClipboardService','_notificationService','ranges','RECT','setParam','memberID','closePath','_getSessionTicket','DeleteRangeMoveLeftCommandId','RemoveRowCommandId','414sTdLvf','origin','APPLY_NON_SEQUENTIAL_REVISION','1em','_getMergeRange','textRanges','getOwnPropertySymbols','undoState','ONLINE','newValue','_send','_drawAnchor','1636ICRifW','history','subUnitId','_updateURLWithCurrentState','setShapeProps','AWAITING','pushState','replace','backgroundColor','idSuffix','roomMembers','_lastPointer','getParam','COMPLETION_FINISHED','INVITE_CODE_REQUIRED','PERMISSION_DENIED','getCurrentRevOfUnit','INTERNAL_ERROR','PENDING','getUndoRedoMutationParamsCache','init','length','m1Prime','forEach','DeleteRangeMoveUpCommandId','disposeUnit','skeleton','_scheduleHeartbeat','m2Prime','_onRefRangeChange','_toggleOffline','push','_getSaveTimeout','none','MOBILE_VERIFY_CODE_MISMATCH','url(#on-line-icon_clip0_910_349)','_backgroundColor','_startSheetCollabCursor','getActiveRange','drawWith','clipPath','round','onCommandExecuted','YUUMI_ALL_TABLES_IS_INVALID','_anchor','_anchorDot','getConfig','CHANGESET_REVISION_CONFILICT','ALREADY_EXISTS','_startDocCollabCursor','2107980ynyHiE','Error','_hideTimer','xlink:href','permission.title','getCurrentSelections','EMAIL_VERIFY_CODE_MISMATCH','_setupSubUnitSync','isActive','tag','range','href','setInterval','_handleHeartbeatEvent','SOCKET_FAILED_RETRY','runId','collabStatus.synced','CONFLICT','startRow','has','_univerInstanceService','_injector','_context','path','_httpService','hasOwnProperty','size','selections','deepClone','set','_heartbeatTimer','dispose$','onRendered','_updateLocalCursor','_scheduleSaving','[CollaborationDataLoaderController]','top','InsertRowCommandId','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_textBubble','INVITE_CODE_ALREADY_BOUND','getValue','onStarting','activeSheet$','onPointerMove$','Failed','_initEntityListener','entries','_config','getRelativeToViewportCoord','_initResize','_initEvent','transformMutation','replaceState','getMergeData','_removeClearOtherTimer','from','removeParam','InsertColCommandId','_localStorageService','all','green.600','unitID','_id','reconnect','_cachedData','_transformService','getSheetId','sheetId','LICENSE_EXPORT_SIZE_EXCEEDED','_updateCollabCursors','_ensureSubject','_onCursorUpdate','_entities','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','event$','loadOfflineData','_assignedColors','INVALID_INVITE_CODE','M0\x200H16V16H0z','_collaborationController','send','trim','FromArray','currentSkeleton$','_refreshCollabCursors','_initStatusListener','translate(.97)','subunit','_configService','hide','setItem','collaboration.closeRoom','_cursorInfo$','arc','_selfUnitIDs','findNodePositionByCharIndex','_docTransformSelectionsService','_saveCache','sessionStatus$','min','_render','APPLY_REVISION_CONFILICT','assign','_disabled','svg','_hover','saveTaskMap','div','SNAPSHOT_HAS_BEEN_REMOVED','4347744XZEACd','_themeService','apply','_sheetSkeletonManagerService','_toggleOnline','redoState','url(#off-line-icon_clip0_910_343)','CLOSE_ROOM','delete','whenReady','endRow','_collabCursorController','add','fill','defs','split','dispose','onPointerEnter$','CONNECTOR_DATA_TOO_LARGE','permission.content','LICENSE_DISTRO_REJECTED','INVITE_CODE_HAS_BEEN_UES','431226hpPYHc','off-line-icon','addHandlerCallback','getSkeleton','measureText','_session','_labelPosition','_commandService','exhaustSavingTask','LICENSE_MAX_UNITS_EXCEEDED','currentTheme$','doc.mutation.rich-text-editing','_entityInit$','with','focused$','data','APPLY_DUPLICATED','color','symbol','executeCommand','onPointerLeave$','LICENSE_IMPORT_SIZE_EXCEEDED','_removeCollabCursors','getRangePointData','includes','NOT_FOUND','2516040ofOXrX','collab-client.tooltip.reconnect','on-line-icon_clip0_910_349','then','_handleEvent','disposeWithMe','getFocusedUnit','black','font','UPDATE_CURSOR','engine','collaboration-client-ui.config','width','session.connection-failed','UNIVER_SHEET','_handleJoinEvent','UNRECOGNIZED','requireSession','editingUnit','fillStyle','lineTo','YUUMI_CONNECTOR_URL_NOT_FOUND','collab-text-range-','assignAColorForMemberID','getUniverSheetInstance','transformStateCache','flatMap','_transformPreviousActiveRange','urlChange$','setConfig','hovered','univer-flex\x20univer-items-center','getVpScrollXYInfoByPosToVp','5wpeMix','concat','APPLY_REJECT','ACTIVE_UNIT_EVENT_CHANNEL','setTimeout','#FFF','transformByState','APPLY_PERMISSION_DENIED','unitId','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getStateCache','_docStateChangeManagerService','addObjects','disableLocalCache','0\x200\x2017\x2016','_renderManagerService','show','saveImage','transform','_range','extend','bottom','loadUnit','getCollabCursors$','collabCursorState$','ENSURE_SNAPSHOT_EXECUTION','_memberService','triggerDblclick','LOGIN_FAILED','map','SUBMIT_CHANGESET_TIMEOUT','_colorAssignService','name','getCellPositionByOffset','setAlpha','defineProperty','white','purple.300','YUUMI_UNABLE_LOAD_URL','univer-mr-2\x20univer-flex\x20univer-text-xl','_registerRenderDependencies','YUUMI_RATE_OVER_LIMIT','collab-rect-range-','find','params','wsSessionTicketUrl','mask','_getScale','OFFLINE','getCurrentUnitForType','AWAITING_WITH_PENDING','docStateChange$','unsubscribe','_unitStatus','propertyIsEnumerable','_drawRectRange','YUUMI_TABLE_NOT_FOUND_IN_UNIT','subscribeEvent','_eventUnsubscribe','USERS_LEAVE','OTHER_CLIENTS_EDITING','post','asObservable','SOCKET_FAILED','_collabSessionService','endColumn','off-line-icon_clip0_910_343','mutations','colorChannel1','body','collabStatus.syncing','FETCH_MISS','displayName','onTransformChange$','_cursorShapes','_cursors','YUUMI_ASYNCIO_CANCELLED','_setupBeforeClosingHandler','_logService','_status$','MOBILE_HAS_BEEN_BOUND','getSheetBySheetId','roomMembers$','_collaborationUIEventService','_name','getColorFromTheme','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','getRenderById','red.300','location','unshift','_handleLeaveEvent','getDocRanges','syncEditingCollabCursor','VIEW_MAIN','SNAPSHOT_INVALID_SNAPSHOT','_roomMembers$','className','text','prototype','_getSheetObject','_imageIoService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_docSkeletonManagerService','error','getActiveSheet','UNIVER_DOC','_online','_scene','currentColor','registerBeforeClose','startsWith','addEventListener','_init','labelPosition','defIds','rgba(255,\x20255,\x20255,\x200.01)','clearTimeout','isArray','pipe','use','_dataLoaderService','Warning','get','_initCommandExecutedListener','startColumn','createInstance','_initDependencies','search','_scheduleClearOtherTimer','makeDirty','transformIMECache','unit','saveOfflineData','RemoveColCommandId','HEADER_MENU','complete','children','storage','registerRefRange','InsertRangeMoveDownCommandId','_updateSubUnitFromURLParams','updateOfflineData','TEXT','UniverIcon','column','fillText','_color','_collabCursorState$','getUnhiddenWorksheets','getTypeOfUnitDisposed$','_getAnchorBounding','url(#$1','collabStatus.conflict','parse','height','evenodd','_hovered','_clearOtherTimers','_messageService','ticket','type','0\x200\x2016\x2016','code','values','imageSourceType','restore','InsertRangeMoveRightCommandId','_refRangeService','subscribe','NO_OTHER_CLIENTS_EDITING','_docTransformStateCacheService','moveTo','getOwnPropertyDescriptor','http://www.w3.org/2000/svg','source','EMAIL_HAS_BEEN_BOUND','selection','indexOf','getMember','_instanceService','YUUMI_URL_COL_OUT_OF_RANGE','status$','3741388sKuXIw','_createSocketURL','attrs','collabStatus.notCollab','call','setUndoRedoMutationParamsCache','save','_handleHover','_transformUndoRedoStack','_syncEditingCollabCursorService','29857392xGVMeo','searchParams','cursorInfo','PY_RUNTIME_SCRIPT_ERROR','toString','string','addObject','session.collaboration-timeout','_unitOnClients','replaceDocRanges','WECHAT_HAS_BEEN_BOUND','...','_revisionService','UNAUTHENTICATED','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','cursorInfo$','USER_NOT_INVITED_CODE','Unknown\x20user','_draw','getCurrent','entityInit$','_docSyncEditingCollabCursorService','toRgbString','stringify','NOT_COLLAB','getItem','collaboration.single-unit.warning','transformMutationsWithChangeset','onMouseMove','SYNCED','enableLocalCache','icon','_localCacheService','_shapes','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_saveTaskMap','addClipboardHook','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','transformRemoteChangeset','YUUMI_AI_RUN_FAILED','_docTransformIMECacheService'];_0x1193=function(){return _0xbe6487;};return _0x1193();}mn(ye,'pluginName',In),ye=Sn([_0x49e18d(_0x3e1b3e),be(0x1,_0x20c53d),be(0x2,_0x3296bc(_0x538ee1)),be(0x3,_0x2f1f09)],ye);var vn=Object['getOwnPropertyDescriptor'],gn=(_0x4084ad,_0x1ec871,_0x29679c,_0x281d68)=>{const _0x5bae21=_0x3a57f9;for(var _0xb25cb3=_0x281d68>0x1?void 0x0:_0x281d68?vn(_0x1ec871,_0x29679c):_0x1ec871,_0x2a0468=_0x4084ad[_0x5bae21(0x1f3)]-0x1,_0x4b52c8;_0x2a0468>=0x0;_0x2a0468--)(_0x4b52c8=_0x4084ad[_0x2a0468])&&(_0xb25cb3=_0x4b52c8(_0xb25cb3)||_0xb25cb3);return _0xb25cb3;},z=(_0x1c5b06,_0x4d182f)=>(_0x2ec8a1,_0xcbb427)=>_0x4d182f(_0x2ec8a1,_0xcbb427,_0x1c5b06);let it=class extends _0x57cd60{constructor(_0xd07d0e,_0x50041c,_0x4b14a8,_0x5a5da6,_0x51651d){super(_0xd07d0e,_0x50041c,_0x4b14a8,_0x5a5da6,_0x51651d);}async['createSocket'](_0x5b9e60){const _0x3b35f3=_0x3a57f9,_0x44717a=await this[_0x3b35f3(0x1cf)](),_0x30364f=this['_createSocketURL'](_0x5b9e60,_0x44717a);return this['_doCreateSocket'](_0x30364f);}[_0x3a57f9(0x184)](_0x5922d7,_0x39d142){const _0x553f65=_0x3a57f9,_0x4b2675=typeof window>'u'?new URL(_0x5922d7):new URL(_0x5922d7,window[_0x553f65(0x125)][_0x553f65(0x1d3)]);_0x4b2675[_0x553f65(0x18e)][_0x553f65(0x22d)]('sessionTicket',_0x39d142);const _0x5cad57=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x553f65(0x14c)]);return _0x5cad57[_0x553f65(0x147)](_0x553f65(0x21f))&&_0x4b2675[_0x553f65(0x18e)][_0x553f65(0x22d)](_0x553f65(0x21f),_0x5cad57[_0x553f65(0x147)]('runId')),_0x4b2675[_0x553f65(0x191)]();}async['_getSessionTicket'](){const _0xe49b90=_0x3a57f9;var _0x230660,_0x5235b2,_0xd47109;const _0x125ee7=this[_0xe49b90(0x269)]['getConfig'](_0x285bd1),_0x34f0ff=(_0x230660=_0x125ee7==null?void 0x0:_0x125ee7[_0xe49b90(0xf9)])!=null?_0x230660:_0x25c621;return(_0xd47109=(_0x5235b2=(await this[_0xe49b90(0x228)][_0xe49b90(0x147)](_0x34f0ff,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x5235b2[_0xe49b90(0x16c)])!=null?_0xd47109:'';}};it=gn([z(0x0,_0x3296bc(_0x538ee1)),z(0x1,_0x3296bc(_0x1cd424)),z(0x2,_0x2f1f09),z(0x3,_0x2d6f9d),z(0x4,_0x3ab256)],it);const nt=0x7530,rt=_0x3a57f9(0x2d2);class Fn extends _0x16ac65{constructor(){const _0x345cc0=_0x3a57f9;super(),_(this,'_id',_0x44ddb8()),_(this,'_selfUnitIDs',new Set()),_(this,_0x345cc0(0x195),new Map()),_(this,'_heartbeatTimer',null),_(this,_0x345cc0(0x16a),new Map()),_(this,'_unitStatus',new Map()),this[_0x345cc0(0x13d)]();}[_0x3a57f9(0x28e)](){const _0x3b30c3=_0x3a57f9;super[_0x3b30c3(0x28e)](),this[_0x3b30c3(0x16a)]['forEach']((_0x47d847,_0x48ebb3)=>this[_0x3b30c3(0x247)](_0x48ebb3)),this[_0x3b30c3(0x22e)]&&window['clearInterval'](this[_0x3b30c3(0x22e)]);}['getUnitStatus$'](_0x18ed4c){const _0x5c0b29=_0x3a57f9;return this[_0x5c0b29(0x257)](_0x18ed4c)['pipe'](_0x43cb2c());}[_0x3a57f9(0x2c0)](_0x159b42){const _0xc9a9c0=_0x3a57f9;this[_0xc9a9c0(0x26f)][_0xc9a9c0(0x22a)]===0x0&&this['_scheduleHeartbeat'](),this[_0xc9a9c0(0x26f)][_0xc9a9c0(0x28a)](_0x159b42),this[_0xc9a9c0(0x1dc)]({'type':0x0,'memberID':this[_0xc9a9c0(0x24f)],'unitIDs':[_0x159b42],'isForwarded':!0x1});}[_0x3a57f9(0x1f7)](_0x449418){const _0x4b9b5c=_0x3a57f9;this['_selfUnitIDs'][_0x4b9b5c(0x286)](_0x449418),this[_0x4b9b5c(0x26f)][_0x4b9b5c(0x22a)]===0x0&&this[_0x4b9b5c(0x22e)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x3a57f9(0x13d)](){const _0x4a52e6=_0x3a57f9;this[_0x4a52e6(0x2b3)](_0x3d316a(_0x5942d0(window,_0x4a52e6(0x156))['subscribe'](_0x48e362=>{const _0x3ed0cc=_0x4a52e6;if(_0x48e362['key']!==rt||!_0x48e362[_0x3ed0cc(0x1db)])return;const _0x225a99=JSON[_0x3ed0cc(0x166)](_0x48e362['newValue']);this[_0x3ed0cc(0x2b2)](_0x225a99);}))),window[_0x4a52e6(0x13c)]('unload',()=>this[_0x4a52e6(0x1dc)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x4a52e6(0x248)](this['_selfUnitIDs'])}));}[_0x3a57f9(0x2b2)](_0x27a6ab){const _0xb563b0=_0x3a57f9;switch(_0x27a6ab[_0xb563b0(0x16d)]){case 0x0:this['_handleJoinEvent'](_0x27a6ab);break;case 0x1:this['_handleLeaveEvent'](_0x27a6ab);break;case 0x2:this[_0xb563b0(0x21d)](_0x27a6ab);break;}}[_0x3a57f9(0x2bd)](_0x17d083){const _0x5acccd=_0x3a57f9,{unitIDs:_0x531d42,memberID:_0x510f45,isForwarded:_0x211e3e}=_0x17d083;_0x531d42[_0x5acccd(0x1f5)](_0x27fc9a=>{const _0x322cc3=_0x5acccd;if(!_0x211e3e&&this[_0x322cc3(0x195)][_0x322cc3(0x223)](_0x27fc9a)&&this[_0x322cc3(0x257)](_0x27fc9a)[_0x322cc3(0x1c6)](_0x5d87c5[_0x322cc3(0x108)]),!this['_unitOnClients']['has'](_0x27fc9a)||!this[_0x322cc3(0x195)][_0x322cc3(0x147)](_0x27fc9a)[_0x322cc3(0x223)](_0x510f45)){const _0x15bfb9=this[_0x322cc3(0x195)][_0x322cc3(0x147)](_0x27fc9a)||new Set();_0x15bfb9[_0x322cc3(0x28a)](_0x510f45),this[_0x322cc3(0x195)][_0x322cc3(0x22d)](_0x27fc9a,_0x15bfb9),this['_scheduleClearOtherTimer'](_0x510f45);}}),_0x211e3e||this[_0x5acccd(0x1dc)]({'type':0x0,'memberID':this[_0x5acccd(0x24f)],'unitIDs':[...this[_0x5acccd(0x26f)]],'isForwarded':!0x0});}[_0x3a57f9(0x14d)](_0x5bbac2){const _0x380959=_0x3a57f9;this[_0x380959(0x247)](_0x5bbac2);const _0x1b3794=window[_0x380959(0xd0)](()=>{const _0x46785c=_0x380959;this[_0x46785c(0x195)]['forEach'](_0x5ac438=>{const _0x549c5d=_0x46785c;_0x5ac438[_0x549c5d(0x286)](_0x5bbac2);});},nt*0x2);this[_0x380959(0x16a)][_0x380959(0x22d)](_0x5bbac2,_0x1b3794);}[_0x3a57f9(0x247)](_0x9b6c2c){const _0x47e1ad=_0x3a57f9;if(this[_0x47e1ad(0x16a)][_0x47e1ad(0x223)](_0x9b6c2c)){const _0x16cff6=this[_0x47e1ad(0x16a)]['get'](_0x9b6c2c);_0x16cff6&&window[_0x47e1ad(0x141)](_0x16cff6),this[_0x47e1ad(0x16a)][_0x47e1ad(0x22d)](_0x9b6c2c,null);}}[_0x3a57f9(0x127)](_0x1aec57){const _0x4b8916=_0x3a57f9,{memberID:_0x2ea451,unitIDs:_0x512660}=_0x1aec57;_0x512660['forEach'](_0x421b47=>{const _0x2da71d=_0x531b;var _0xb2f336;const _0x27ff19=this[_0x2da71d(0x195)]['get'](_0x421b47);_0x27ff19&&(_0x27ff19[_0x2da71d(0x286)](_0x2ea451),(_0xb2f336=this[_0x2da71d(0x257)](_0x421b47))==null||_0xb2f336[_0x2da71d(0x1c6)](_0x27ff19[_0x2da71d(0x22a)]===0x0?_0x5d87c5[_0x2da71d(0x176)]:_0x5d87c5[_0x2da71d(0x108)]));}),this[_0x4b8916(0x247)](_0x2ea451);}['_handleHeartbeatEvent'](_0x3ff9af){const _0x65ef66=_0x3a57f9;this[_0x65ef66(0x14d)](_0x3ff9af[_0x65ef66(0x1cd)]);}[_0x3a57f9(0x1dc)](_0x5dc08e){const _0x54b7a1=_0x3a57f9;localStorage[_0x54b7a1(0x26b)](rt,JSON[_0x54b7a1(0x1a4)](_0x5dc08e));}[_0x3a57f9(0x1f9)](){const _0x48097d=_0x3a57f9;this[_0x48097d(0x22e)]=window[_0x48097d(0x21c)](()=>{const _0x455e68=_0x48097d;this[_0x455e68(0x1dc)]({'type':0x2,'memberID':this[_0x455e68(0x24f)]});},nt);}[_0x3a57f9(0x257)](_0xa8d487){const _0xa198fb=_0x3a57f9;return this[_0xa198fb(0x101)][_0xa198fb(0x223)](_0xa8d487)||this['_unitStatus'][_0xa198fb(0x22d)](_0xa8d487,new _0x3985c9(_0x5d87c5[_0xa198fb(0x176)])),this['_unitStatus'][_0xa198fb(0x147)](_0xa8d487);}}var Lt=(_0x413b2f=>(_0x413b2f[_0x413b2f['UNDEFINED']=0x0]='UNDEFINED',_0x413b2f[_0x413b2f['OK']=0x1]='OK',_0x413b2f[_0x413b2f['INTERNAL_ERROR']=0x2]=_0x3a57f9(0x1ef),_0x413b2f[_0x413b2f[_0x3a57f9(0x1ed)]=0x3]=_0x3a57f9(0x1ed),_0x413b2f[_0x413b2f[_0x3a57f9(0x2ad)]=0x4]='NOT_FOUND',_0x413b2f[_0x413b2f[_0x3a57f9(0x19a)]=0x5]='UNAUTHENTICATED',_0x413b2f[_0x413b2f[_0x3a57f9(0x20e)]=0x6]=_0x3a57f9(0x20e),_0x413b2f[_0x413b2f['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x413b2f[_0x413b2f['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x413b2f[_0x413b2f[_0x3a57f9(0x1eb)]=0x9]=_0x3a57f9(0x1eb),_0x413b2f[_0x413b2f[_0x3a57f9(0xe8)]=0xa]=_0x3a57f9(0xe8),_0x413b2f[_0x413b2f[_0x3a57f9(0x200)]=0xb]=_0x3a57f9(0x200),_0x413b2f[_0x413b2f['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x3a57f9(0xd5),_0x413b2f[_0x413b2f[_0x3a57f9(0x216)]=0xd]=_0x3a57f9(0x216),_0x413b2f[_0x413b2f[_0x3a57f9(0x1b2)]=0xe]=_0x3a57f9(0x1b2),_0x413b2f[_0x413b2f[_0x3a57f9(0x20d)]=0x1389]=_0x3a57f9(0x20d),_0x413b2f[_0x413b2f[_0x3a57f9(0x12b)]=0x1771]=_0x3a57f9(0x12b),_0x413b2f[_0x413b2f[_0x3a57f9(0x27d)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x413b2f[_0x413b2f[_0x3a57f9(0xe5)]=0x1773]=_0x3a57f9(0xe5),_0x413b2f[_0x413b2f[_0x3a57f9(0x2d1)]=0x1b59]=_0x3a57f9(0x2d1),_0x413b2f[_0x413b2f[_0x3a57f9(0x1d4)]=0x1b5a]=_0x3a57f9(0x1d4),_0x413b2f[_0x413b2f[_0x3a57f9(0x276)]=0x1b5b]=_0x3a57f9(0x276),_0x413b2f[_0x413b2f[_0x3a57f9(0xd3)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x413b2f[_0x413b2f[_0x3a57f9(0x2a4)]=0x1b5d]='APPLY_DUPLICATED',_0x413b2f[_0x413b2f[_0x3a57f9(0x290)]=0x1f41]=_0x3a57f9(0x290),_0x413b2f[_0x413b2f['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x3a57f9(0x29d),_0x413b2f[_0x413b2f[_0x3a57f9(0x132)]=0x232a]=_0x3a57f9(0x132),_0x413b2f[_0x413b2f[_0x3a57f9(0x2a9)]=0x232b]=_0x3a57f9(0x2a9),_0x413b2f[_0x413b2f['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x3a57f9(0x255),_0x413b2f[_0x413b2f[_0x3a57f9(0x292)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x413b2f[_0x413b2f[_0x3a57f9(0xf2)]=0x2711]=_0x3a57f9(0xf2),_0x413b2f[_0x413b2f[_0x3a57f9(0x181)]=0x2712]=_0x3a57f9(0x181),_0x413b2f[_0x413b2f[_0x3a57f9(0xf5)]=0x2713]=_0x3a57f9(0xf5),_0x413b2f[_0x413b2f['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x413b2f[_0x413b2f['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x413b2f[_0x413b2f[_0x3a57f9(0x118)]=0x271b]=_0x3a57f9(0x118),_0x413b2f[_0x413b2f[_0x3a57f9(0x104)]=0x271c]=_0x3a57f9(0x104),_0x413b2f[_0x413b2f[_0x3a57f9(0x209)]=0x271d]=_0x3a57f9(0x209),_0x413b2f[_0x413b2f['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x3a57f9(0x1af),_0x413b2f[_0x413b2f[_0x3a57f9(0x1b4)]=0x271f]=_0x3a57f9(0x1b4),_0x413b2f[_0x413b2f[_0x3a57f9(0x2c3)]=0x2720]=_0x3a57f9(0x2c3),_0x413b2f[_0x413b2f[_0x3a57f9(0x190)]=0x2af9]=_0x3a57f9(0x190),_0x413b2f[_0x413b2f[_0x3a57f9(0x293)]=0x2ee1]=_0x3a57f9(0x293),_0x413b2f[_0x413b2f[_0x3a57f9(0x25e)]=0x2ee2]=_0x3a57f9(0x25e),_0x413b2f[_0x413b2f[_0x3a57f9(0x1ec)]=0x2ee3]=_0x3a57f9(0x1ec),_0x413b2f[_0x413b2f[_0x3a57f9(0x19d)]=0x2ee4]=_0x3a57f9(0x19d),_0x413b2f[_0x413b2f[_0x3a57f9(0x238)]=0x2ee5]=_0x3a57f9(0x238),_0x413b2f[_0x413b2f[_0x3a57f9(0x197)]=0x32c9]=_0x3a57f9(0x197),_0x413b2f[_0x413b2f[_0x3a57f9(0x11c)]=0x32ca]=_0x3a57f9(0x11c),_0x413b2f[_0x413b2f[_0x3a57f9(0x17c)]=0x32cb]=_0x3a57f9(0x17c),_0x413b2f[_0x413b2f[_0x3a57f9(0x2be)]=-0x1]=_0x3a57f9(0x2be),_0x413b2f))(Lt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x196d49,_0xba9a7d,_0x1ce143,_0x1a5fd8)=>{for(var _0x27e615=_0x1a5fd8>0x1?void 0x0:_0x1a5fd8?pn(_0xba9a7d,_0x1ce143):_0xba9a7d,_0x5dd3a6=_0x196d49['length']-0x1,_0x33ebc5;_0x5dd3a6>=0x0;_0x5dd3a6--)(_0x33ebc5=_0x196d49[_0x5dd3a6])&&(_0x27e615=_0x33ebc5(_0x27e615)||_0x27e615);return _0x27e615;},Te=(_0x4f6640,_0x147c48)=>(_0x64410b,_0x272491)=>_0x147c48(_0x64410b,_0x272491,_0x4f6640);let ot=class extends _0x16ac65{constructor(_0x3520b1,_0x4175a0,_0x4affd7){const _0x328478=_0x3a57f9;super(),this[_0x328478(0x180)]=_0x3520b1,this[_0x328478(0x228)]=_0x4175a0,this[_0x328478(0x269)]=_0x4affd7;}async['runOnServer'](_0x1b3835,_0x56654c,_0x1ff484,..._0x18e1eb){const _0x357997=_0x3a57f9;var _0x396d7a,_0x51346d,_0x424c4b,_0x31c6cc;const _0x520362=this[_0x357997(0x180)][_0x357997(0x2b4)]();if(!_0x520362)throw new Error(_0x357997(0x236));const _0x6841dc=((_0x396d7a=this['_configService'][_0x357997(0x20c)](_0x2d7956))!=null?_0x396d7a:_0x1cd823)+'/'+_0x1b3835+'/run/'+_0x56654c,_0x2834f7=new URL(window['location']['href']),_0x13098e={'scriptId':_0x1b3835,'runId':(_0x51346d=_0x2834f7['searchParams'][_0x357997(0x147)](_0x357997(0x21f)))!=null?_0x51346d:'','function':_0x56654c,'unitId':_0x520362[_0x357997(0x1bd)](),'argsOfFunction':JSON[_0x357997(0x1a4)](_0x18e1eb),'invokeId':(_0x424c4b=_0x1ff484['invokeId'])!=null?_0x424c4b:'','executionId':(_0x31c6cc=_0x1ff484['executionId'])!=null?_0x31c6cc:''};try{const _0x24af6d=await this[_0x357997(0x228)][_0x357997(0x109)](_0x6841dc,{'body':_0x13098e});return _0x24af6d['body'][_0x357997(0x134)]&&_0x24af6d[_0x357997(0x111)][_0x357997(0x134)][_0x357997(0x16f)]!==Lt['OK']?_0x357997(0x23d):_0x24af6d[_0x357997(0x111)]['result'];}catch{return'Failed';}}};ot=Cn([Te(0x0,_0x1be569),Te(0x1,_0x3296bc(_0x1cd424)),Te(0x2,_0x2f1f09)],ot);export{it as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,se as DesktopCollaborationStatusDisplayController,Mt as IURLService,ot as RemoteUniscriptService,wi as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
|
1
|
+
const _0x12de12=_0xd0de;(function(_0x2e47ed,_0x4dd64a){const _0x18852c=_0xd0de,_0x4ce441=_0x2e47ed();while(!![]){try{const _0x145b2c=parseInt(_0x18852c(0x22c))/0x1+-parseInt(_0x18852c(0x19b))/0x2+parseInt(_0x18852c(0x13e))/0x3+-parseInt(_0x18852c(0x21d))/0x4+-parseInt(_0x18852c(0x1fb))/0x5*(-parseInt(_0x18852c(0x2f5))/0x6)+parseInt(_0x18852c(0x1a4))/0x7+-parseInt(_0x18852c(0x247))/0x8*(parseInt(_0x18852c(0x21b))/0x9);if(_0x145b2c===_0x4dd64a)break;else _0x4ce441['push'](_0x4ce441['shift']());}catch(_0x14ad27){_0x4ce441['push'](_0x4ce441['shift']());}}}(_0x4c5f,0x46a4a));var xt=Object[_0x12de12(0x30d)],Bt=(_0x1aeaba,_0x38fab8,_0x58634e)=>_0x38fab8 in _0x1aeaba?xt(_0x1aeaba,_0x38fab8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x58634e}):_0x1aeaba[_0x38fab8]=_0x58634e,_=(_0x289163,_0x324340,_0x5e9f63)=>Bt(_0x289163,typeof _0x324340!=_0x12de12(0x298)?_0x324340+'':_0x324340,_0x5e9f63);import{MemberService as _0x20a103,SessionStatus as _0x3cd911,CollaborationSessionService as _0x4ad36a,CollaborationStatus as _0x38154b,CollaborationController as _0x2545df,ILocalCacheService as _0x39ab8f,CollaborationUIEventService as _0x110cd1,CollaborationUIEventId as _0x2ea7ff,DataLoaderService as _0x8ebbb8,DocCollaborationEntity as _0xfbe90b,getLocalCacheKey as _0x5f5c67,LOCAL_CACHE_INTERVAL as _0x5b1dc1,LOCAL_CACHE_INTERVAL_KEY as _0x4c0c99,UniverCollaborationClientPlugin as _0x43c004,CollaborationSocketService as _0x143962,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x3269af,DEFAULT_WS_SESSION_TICKET_URL as _0xfa8b53,UnitStatus as _0x4cdd10,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0xa828b2,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x42466e}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x4ca60e,Disposable as _0x5e9dd2,DOC_RANGE_TYPE as _0x154cd0,Inject as _0x332ec8,Injector as _0x508eb3,IUniverInstanceService as _0x575dc2,ICommandService as _0x5d1f70,debounce as _0x3b0440,Rectangle as _0x214295,DisposableCollection as _0x2dc700,toDisposable as _0x300665,UniverInstanceType as _0x23ef05,generateRandomId as _0x59fac7,COLORS as _0x4ff017,ColorKit as _0x5ec59b,ThemeService as _0x2af2f5,fromEventSubject as _0x2d42e1,LocaleService as _0x260cf9,createIdentifier as _0x4d8422,ILogService as _0x2257ea,Optional as _0x2fac29,Workbook as _0x38f6,Tools as _0x54d1b3,CommandType as _0x171abe,IConfigService as _0xf4e66b,ILocalStorageService as _0x22492b,DependentOn as _0x731126,Plugin as _0x319c25,merge as _0x411b15,registerDependencies as _0x2ffaaa,mergeOverrideWithDependencies as _0x20c14e,touchDependencies as _0x6a8c8c}from'@univerjs/core';import{Shape as _0x5a681e,Rect as _0x264935,getColor as _0x1da5c6,RegularPolygon as _0xf55e60,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x3d590b,Vector2 as _0xad88c5,SHEET_VIEWPORT_KEY as _0x358bcb,IRenderManagerService as _0x495cdc}from'@univerjs/engine-render';import{ISocketService as _0x4329f0,WebSocketService as _0x20bc64,HTTPService as _0x515e84}from'@univerjs/network';import{IDocClipboardService as _0x3fd553,NodePositionConvertToCursor as _0x40d079,NodePositionConvertToRectRange as _0x166e42,TEXT_RANGE_LAYER_INDEX as _0x2dfff6,SetDocZoomRatioOperation as _0x3627a6,DocIMEInputManagerService as _0x130d90,DocStateChangeManagerService as _0x20f803}from'@univerjs/docs-ui';import{IImageIoService as _0x4f1a9e}from'@univerjs/drawing';import{BehaviorSubject as _0x5ee1f9,debounceTime as _0x4c27d2,takeUntil as _0x423462,Subject as _0x2cc4b4,filter as _0x38704e,switchMap as _0x13131b,merge as _0x467d7b,combineLatest as _0x180a8d,of as _0x537505,fromEvent as _0x5a3ee5,shareReplay as _0x4a80d6,mapTo as _0x1ab99f,distinctUntilChanged as _0x1ffce2}from'rxjs';import{ITransformService as _0xcb67e,CollaborationEvent as _0x357296,isTransformMutationFailure as _0x2f7a37,isTransformMutationsWithChangesetSuccess as _0xe82c2e,RevisionService as _0xd164b3,ISnapshotServerService as _0x497968}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x3ea080,RichTextEditingMutation as _0x36b8fc,DocSelectionManagerService as _0x4c7e53,DocSkeletonManagerService as _0x5f1ff9}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x444e84,serializeRangeWithSheet as _0x318dd0}from'@univerjs/engine-formula';import{RefRangeService as _0xf93879,SetSelectionsOperation as _0x59976a,SheetsSelectionsService as _0x1428f1,EffectRefRangId as _0x496495,handleIRemoveRow as _0x18e222,handleIRemoveCol as _0x164b33,handleMoveRange as _0x5a923f,handleInsertRow as _0x3a878c,handleInsertRangeMoveRight as _0x1fba8f,handleInsertRangeMoveDown as _0x5952ed,handleInsertCol as _0x36349e,handleDeleteRangeMoveUp as _0x964580,handleDeleteRangeMoveLeft as _0x3cb1b6,runRefRangeMutations as _0x200f3a,SetWorksheetActivateCommand as _0x555b45}from'@univerjs/sheets';import{map as _0x1634f9,filter as _0x41e61d,throttleTime as _0x3c8bdb,takeUntil as _0x2712d8,switchMap as _0x4da693}from'rxjs/operators';import{SheetSkeletonManagerService as _0xe64e90,getCoordByCell as _0x208aeb,getSheetObject as _0x4ef7db}from'@univerjs/sheets-ui';import{jsx as _0x3be0f7,jsxs as _0x4bf904}from'react/jsx-runtime';import{useObservable as _0xd64cb0,useDependency as _0x1b29fd,IUIPartsService as _0xb17c6b,BuiltInUIPart as _0x3b5b53,connectInjector as _0x114e79,IBeforeCloseService as _0x5965e0,IMessageService as _0x2e3109,INotificationService as _0x2b0255}from'@univerjs/ui';import{Tooltip as _0x9fb1ff,clsx as _0x316428,MessageType as _0x435404}from'@univerjs/design';import{forwardRef as _0x361efb,useRef as _0x70760e,createElement as _0x596ab7,useCallback as _0x1215e3}from'react';import{IRemoteInstanceService as _0x50b109}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0x1b617d,_0x571626,_0x407731,_0x5d5717)=>{const _0x64a2b9=_0x12de12;for(var _0x231d0c=_0x5d5717>0x1?void 0x0:_0x5d5717?ci(_0x571626,_0x407731):_0x571626,_0x2b4dbc=_0x1b617d[_0x64a2b9(0x22d)]-0x1,_0x4b33d8;_0x2b4dbc>=0x0;_0x2b4dbc--)(_0x4b33d8=_0x1b617d[_0x2b4dbc])&&(_0x231d0c=_0x4b33d8(_0x231d0c)||_0x231d0c);return _0x231d0c;},Ze=(_0x6b394c,_0x4e7c55)=>(_0x1543d3,_0x305149)=>_0x4e7c55(_0x1543d3,_0x305149,_0x6b394c);let Ue=class extends _0x4ca60e{constructor(_0x99780a,_0x51f4f2){const _0x19030c=_0x12de12;super(),this['_docClipboardService']=_0x99780a,this['_imageIoService']=_0x51f4f2,this[_0x19030c(0x1df)]();}[_0x12de12(0x1df)](){const _0x56538e=_0x12de12,_0x21eeaf=this;this['disposeWithMe'](this[_0x56538e(0x2b8)][_0x56538e(0x186)]({'onBeforePasteImage':async _0x174317=>{const _0x49ab41=_0x56538e,_0x2f3877=await _0x21eeaf[_0x49ab41(0x305)][_0x49ab41(0x207)](_0x174317);return _0x2f3877?{'source':_0x2f3877[_0x49ab41(0x2da)],'imageSourceType':_0x2f3877[_0x49ab41(0x152)]}:null;}}));}};Ue=li([Ze(0x0,_0x3fd553),Ze(0x1,_0x4f1a9e)],Ue);const Qe=[_0x12de12(0x264),'jiqing.500',_0x12de12(0x256),_0x12de12(0x118),_0x12de12(0x1c6),_0x12de12(0x12a)];class He extends _0x5e9dd2{constructor(){const _0x1e9ccc=_0x12de12;super(...arguments),_(this,_0x1e9ccc(0x245),new Map()),_(this,_0x1e9ccc(0x21a),0x0);}['assignAColorForMemberID'](_0x172637){const _0x1276d9=_0x12de12;if(this['_assignedColors'][_0x1276d9(0x282)](_0x172637))return this[_0x1276d9(0x245)][_0x1276d9(0x16a)](_0x172637);const _0x3f1196=Qe[this[_0x1276d9(0x21a)]];return this[_0x1276d9(0x21a)]=(this['_colorIndex']+0x1)%Qe[_0x1276d9(0x22d)],this[_0x1276d9(0x245)]['set'](_0x172637,_0x3f1196),_0x3f1196;}}function Rt(_0x342e69){const _0x155244=_0x12de12;let _0xa711c0='';for(const _0xca5f73 of _0x342e69){const {startOffset:_0x4e1b8b,endOffset:_0x5b28f7,isActive:_0x19d5ad,rangeType:_0x50b990,segmentId:_0x415253,segmentPage:_0xd5b2df}=_0xca5f73;_0xa711c0[_0x155244(0x22d)]&&(_0xa711c0+=','),_0xa711c0+=_0x4e1b8b+':'+_0x5b28f7+':'+(_0x19d5ad?'1':'0')+':'+_0x50b990+':'+_0x415253+':'+_0xd5b2df;}return _0xa711c0;}function _i(_0x2f489f){const _0x55dea3=_0x12de12,_0x24afa7=_0x2f489f[_0x55dea3(0x179)](','),_0x4506a9=[];for(const _0x80a2b0 of _0x24afa7){const [_0x526497,_0x1784d1,_0x338daf,_0x1b956c,_0x252bf8,_0x7dcc0c]=_0x80a2b0[_0x55dea3(0x179)](':');_0x4506a9['push']({'startOffset':Number(_0x526497),'endOffset':Number(_0x1784d1),'collapsed':_0x526497===_0x1784d1,'isActive':_0x338daf==='1','rangeType':_0x1b956c===_0x154cd0[_0x55dea3(0x2b3)]?_0x154cd0[_0x55dea3(0x2b3)]:_0x154cd0[_0x55dea3(0x2fd)],'segmentId':typeof _0x252bf8==_0x55dea3(0x280)?String(_0x252bf8):'','segmentPage':Number(_0x7dcc0c!=null?_0x7dcc0c:-0x1)});}return _0x4506a9[_0x55dea3(0x202)](_0x1d702b=>_0x1d702b[_0x55dea3(0x1b2)])||(_0x4506a9[0x0]['isActive']=!0x0),_0x4506a9;}class Fe extends _0x4ca60e{constructor(){const _0x4f6e66=_0x12de12;super(...arguments),_(this,_0x4f6e66(0x30f),new _0x5ee1f9(null)),_(this,_0x4f6e66(0x1d7),this[_0x4f6e66(0x30f)][_0x4f6e66(0x138)]());}['syncEditingCollabCursor'](_0x3f3022){const {unitID:_0xdb8f0e,memberID:_0x1279b4,textRanges:_0x294de1}=_0x3f3022,_0x574995=Rt(_0x294de1);if(_0x574995==='')return;const _0x134442={'unitID':_0xdb8f0e,'memberID':_0x1279b4,'selection':_0x574995};this['_collabCursorState$']['next'](_0x134442);}}var hi=Object[_0x12de12(0x311)],ui=(_0x114d7b,_0x1443e6,_0x5c7b06,_0x3f1e43)=>{const _0x1d1b12=_0x12de12;for(var _0x255fa6=_0x3f1e43>0x1?void 0x0:_0x3f1e43?hi(_0x1443e6,_0x5c7b06):_0x1443e6,_0x5f144d=_0x114d7b[_0x1d1b12(0x22d)]-0x1,_0x813756;_0x5f144d>=0x0;_0x5f144d--)(_0x813756=_0x114d7b[_0x5f144d])&&(_0x255fa6=_0x813756(_0x255fa6)||_0x255fa6);return _0x255fa6;},P=(_0x552e2f,_0x309722)=>(_0x427668,_0x3e3f79)=>_0x309722(_0x427668,_0x3e3f79,_0x552e2f);const di=0x12c,fi=0x64;let Me=class extends _0x4ca60e{constructor(_0x2e41f7,_0x469783,_0x2748bb,_0x12b988,_0x1c9b9d,_0x148868,_0x67420d,_0x326135,_0x2055ee){const _0x8717b4=_0x12de12;super(),_(this,_0x8717b4(0x2db),!0x1),_(this,'_init',!0x1),_(this,_0x8717b4(0x13b),new _0x5ee1f9(new Map())),_(this,_0x8717b4(0x29d),this[_0x8717b4(0x13b)][_0x8717b4(0x138)]()),_(this,'_roomMembers$',new _0x5ee1f9([])),_(this,'roomMembers$',this[_0x8717b4(0x2fc)][_0x8717b4(0x22f)](_0x4c27d2(di))),_(this,_0x8717b4(0x199),_0x3b0440(_0x3cd27f=>{const _0x372ab8=_0x8717b4,_0x11c4ce={'eventID':_0x357296[_0x372ab8(0x1bd)],'data':{'unitID':this['unitID'],'memberID':this[_0x372ab8(0x2fe)]['getMemberID'](),'selection':Rt(_0x3cd27f)}};this[_0x372ab8(0x2fe)][_0x372ab8(0x226)](_0x11c4ce,this[_0x372ab8(0x2ad)]);},fi)),(this[_0x8717b4(0x2ad)]=_0x2e41f7,this[_0x8717b4(0x2fe)]=_0x469783,this[_0x8717b4(0x2c5)]=_0x2748bb,this['_colorAssignService']=_0x12b988,this['_memberService']=_0x1c9b9d,this[_0x8717b4(0x2e9)]=_0x148868,this[_0x8717b4(0x30b)]=_0x67420d,this[_0x8717b4(0x20a)]=_0x326135,this['_commandService']=_0x2055ee);}get[_0x12de12(0x1d2)](){const _0x4fbbdd=_0x12de12;return this[_0x4fbbdd(0x13b)][_0x4fbbdd(0x2c4)]();}get[_0x12de12(0x14f)](){const _0x1e030b=_0x12de12;return this[_0x1e030b(0x2fc)]['getValue']();}[_0x12de12(0x1a0)](){const _0x244783=_0x12de12;super[_0x244783(0x1a0)](),this[_0x244783(0x13b)][_0x244783(0x221)](new Map()),this[_0x244783(0x13b)][_0x244783(0x26c)](),this[_0x244783(0x2fc)][_0x244783(0x221)]([]),this['_roomMembers$'][_0x244783(0x26c)]();}[_0x12de12(0x130)](){const _0x9079b5=_0x12de12;this[_0x9079b5(0x1df)]||(this[_0x9079b5(0x1df)]=!0x0,this[_0x9079b5(0x2fe)][_0x9079b5(0x1de)]['pipe'](_0x423462(this[_0x9079b5(0x159)]))[_0x9079b5(0x1fc)](_0x3c2d48=>{const _0x1f20be=_0x9079b5;_0x3c2d48===_0x3cd911['ONLINE']?this[_0x1f20be(0x195)]():this['_toggleOffline']();}),this['_session']['event$'][_0x9079b5(0x22f)](_0x423462(this[_0x9079b5(0x159)]))[_0x9079b5(0x1fc)](_0x4bfe51=>{const _0x4daf82=_0x9079b5,_0x16b955=_0x4bfe51[_0x4daf82(0x313)];_0x16b955===_0x357296[_0x4daf82(0x1bd)]&&this[_0x4daf82(0x21e)](_0x4bfe51),_0x16b955===_0x357296['USERS_LEAVE']&&this['_onCursorDelete'](_0x4bfe51);}),this[_0x9079b5(0x17f)](this['_commandService']['onCommandExecuted'](_0x1f563a=>{const _0x591dbc=_0x9079b5,_0x3953a0=_0x1f563a['params'];_0x3953a0!=null&&this[_0x591dbc(0x2db)]&&_0x1f563a['id']===_0x3ea080['id']&&_0x3953a0[_0x591dbc(0x10d)]===this[_0x591dbc(0x2ad)]&&_0x3953a0[_0x591dbc(0x296)]===!0x1&&_0x3953a0[_0x591dbc(0x2c6)][_0x591dbc(0x22d)]>0x0&&this['_updateLocalCursor'](_0x3953a0[_0x591dbc(0x2c6)]);})),this[_0x9079b5(0x2e9)]['collabCursorState$'][_0x9079b5(0x22f)](_0x423462(this['dispose$']))['subscribe'](_0x54d4ee=>{const _0x69bba8=_0x9079b5;if((_0x54d4ee==null?void 0x0:_0x54d4ee[_0x69bba8(0x2ad)])!==this[_0x69bba8(0x2ad)])return;const _0x92a572={'eventID':_0x357296['UPDATE_CURSOR'],'data':_0x54d4ee};this[_0x69bba8(0x21e)](_0x92a572);}),this[_0x9079b5(0x17f)](this[_0x9079b5(0x294)][_0x9079b5(0x1d3)](_0x4ceab2=>{const _0x393aff=_0x9079b5;if(_0x4ceab2[_0x393aff(0x224)]==null)return;const _0x47d220=_0x4ceab2['params'];if(_0x4ceab2['id']!==_0x36b8fc['id']||_0x47d220[_0x393aff(0x10d)]!==this[_0x393aff(0x2ad)])return;const _0x21bec1={'id':_0x393aff(0x2d8),'params':_0x47d220},_0x5e30f7=this[_0x393aff(0x1d2)];for(const [_0x15c095,_0x4629d9]of _0x5e30f7){const _0xb7af43={'id':_0x393aff(0x2d8),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x4629d9[_0x393aff(0x2c6)]}},_0x27dff4=this['_transformService'][_0x393aff(0x20f)](_0x21bec1,_0xb7af43,!0x1);if(_0x2f7a37(_0x27dff4))throw _0x27dff4[_0x393aff(0x180)];_0x5e30f7['set'](_0x15c095,{..._0x4629d9,'ranges':_0x27dff4[_0x393aff(0x1d8)][_0x393aff(0x224)][_0x393aff(0x204)]});}queueMicrotask(()=>{const _0x3b687e=_0x393aff;this[_0x3b687e(0x13b)]['next'](_0x5e30f7);});})));}[_0x12de12(0x21e)](_0x5879c2){const _0x87cdc4=_0x12de12;var _0x86d330,_0x2af2e3;const {memberID:_0x3deac9,selection:_0x4b4014}=_0x5879c2[_0x87cdc4(0x18a)],_0x5f4c02=_i(_0x4b4014),_0xf3611=(_0x2af2e3=(_0x86d330=this[_0x87cdc4(0x27c)]['getMember'](this[_0x87cdc4(0x2ad)],_0x3deac9))==null?void 0x0:_0x86d330['name'])!=null?_0x2af2e3:_0x87cdc4(0x252),_0x3792ba={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x3deac9),'name':_0xf3611,'ranges':_0x5f4c02},_0x1f01f8=this[_0x87cdc4(0x1d2)];_0x1f01f8[_0x87cdc4(0x124)](_0x3deac9,_0x3792ba),this[_0x87cdc4(0x13b)][_0x87cdc4(0x221)](_0x1f01f8);}[_0x12de12(0x1b0)](_0x4d8cae){const _0x5f01c3=_0x12de12,{memberID:_0x37bb30}=_0x4d8cae[_0x5f01c3(0x18a)],_0x4011fa=this[_0x5f01c3(0x1d2)];_0x4011fa[_0x5f01c3(0x249)](_0x37bb30),this[_0x5f01c3(0x13b)]['next'](_0x4011fa);}['_toggleOnline'](){const _0x1b3d23=_0x12de12;var _0x5190bd;if(this['_online']=!0x0,((_0x5190bd=this[_0x1b3d23(0x20a)][_0x1b3d23(0x2e6)]())==null?void 0x0:_0x5190bd[_0x1b3d23(0x20e)]())!==this['unitID'])return;const _0x3b4880=this[_0x1b3d23(0x2c5)][_0x1b3d23(0x16a)](_0x4c7e53)['getDocRanges']();Array[_0x1b3d23(0x2aa)](_0x3b4880)&&_0x3b4880[_0x1b3d23(0x22d)]>0x0&&this[_0x1b3d23(0x199)](_0x3b4880);}[_0x12de12(0x1ff)](){this['_online']=!0x1;}};Me=ui([P(0x2,_0x332ec8(_0x508eb3)),P(0x3,_0x332ec8(He)),P(0x4,_0x332ec8(_0x20a103)),P(0x5,_0x332ec8(Fe)),P(0x6,_0xcb67e),P(0x7,_0x575dc2),P(0x8,_0x5d1f70)],Me);var Si=Object[_0x12de12(0x311)],mi=(_0x25ba81,_0x1816db,_0x41fa3d,_0x5062a4)=>{for(var _0x63cd00=_0x5062a4>0x1?void 0x0:_0x5062a4?Si(_0x1816db,_0x41fa3d):_0x1816db,_0x54b313=_0x25ba81['length']-0x1,_0x3e498;_0x54b313>=0x0;_0x54b313--)(_0x3e498=_0x25ba81[_0x54b313])&&(_0x63cd00=_0x3e498(_0x63cd00)||_0x63cd00);return _0x63cd00;},x=(_0x117f6a,_0x29ecc5)=>(_0x2319e8,_0x3de416)=>_0x29ecc5(_0x2319e8,_0x3de416,_0x117f6a);const Ii=0x12c,vi=0x64,gi=()=>{let _0x582f82=[],_0x2a2615=!0x1;return _0x5067e4=>{_0x582f82['push'](_0x5067e4),_0x2a2615||(_0x2a2615=!0x0,setTimeout(()=>{_0x582f82['forEach'](_0x5ba5f8=>_0x5ba5f8()),_0x582f82=[],_0x2a2615=!0x1;}));};};let Le=class extends _0x4ca60e{constructor(_0x2a1fc9,_0x31a46b,_0x4e8c03,_0x416620,_0x1a26b0,_0x355ac7,_0x48a624,_0x33827d){const _0x3169e3=_0x12de12;super(),_(this,_0x3169e3(0x2db),!0x1),_(this,_0x3169e3(0x1df),!0x1),_(this,_0x3169e3(0x13b),new _0x5ee1f9(new Map())),_(this,_0x3169e3(0x29d),this[_0x3169e3(0x13b)][_0x3169e3(0x138)]()),_(this,_0x3169e3(0x2fc),new _0x5ee1f9([])),_(this,_0x3169e3(0x214),this[_0x3169e3(0x2fc)][_0x3169e3(0x22f)](_0x4c27d2(Ii))),_(this,_0x3169e3(0x199),_0x3b0440((_0x5aa903,_0x34bc5b)=>{const _0x1383a8=_0x3169e3,_0x3b8e37={'eventID':_0x357296[_0x1383a8(0x1bd)],'data':{'unitID':this[_0x1383a8(0x2ad)],'memberID':this[_0x1383a8(0x2fe)]['getMemberID'](),'selection':_0x318dd0(_0x5aa903,_0x34bc5b[_0x1383a8(0x1eb)])}};this[_0x1383a8(0x2fe)][_0x1383a8(0x226)](_0x3b8e37,this[_0x1383a8(0x2ad)]);},vi)),(this[_0x3169e3(0x2ad)]=_0x2a1fc9,this[_0x3169e3(0x2fe)]=_0x31a46b,this[_0x3169e3(0x2c5)]=_0x4e8c03,this['_colorAssignService']=_0x416620,this[_0x3169e3(0x27c)]=_0x1a26b0,this[_0x3169e3(0x20a)]=_0x355ac7,this['_commandService']=_0x48a624,this['_refRangeService']=_0x33827d);}get[_0x12de12(0x1d2)](){const _0x156225=_0x12de12;return this['_cursorInfo$'][_0x156225(0x2c4)]();}get['roomMembers'](){const _0x47de5b=_0x12de12;return this['_roomMembers$'][_0x47de5b(0x2c4)]();}['dispose'](){const _0x420333=_0x12de12;super[_0x420333(0x1a0)](),this[_0x420333(0x13b)][_0x420333(0x221)](new Map()),this[_0x420333(0x13b)][_0x420333(0x26c)](),this[_0x420333(0x2fc)][_0x420333(0x221)]([]),this[_0x420333(0x2fc)][_0x420333(0x26c)]();}['init'](){const _0x37b5e0=_0x12de12;this[_0x37b5e0(0x1df)]||(this['_init']=!0x0,this[_0x37b5e0(0x2fe)]['sessionStatus$'][_0x37b5e0(0x22f)](_0x423462(this['dispose$']))['subscribe'](_0x17dadc=>{const _0x965276=_0x37b5e0;_0x17dadc===_0x3cd911[_0x965276(0x185)]?this[_0x965276(0x195)]():this[_0x965276(0x1ff)]();}),this['_session']['event$'][_0x37b5e0(0x22f)](_0x423462(this[_0x37b5e0(0x159)]))['subscribe'](_0x187a5d=>{const _0x2277e6=_0x37b5e0,_0x38e48b=_0x187a5d[_0x2277e6(0x313)];_0x38e48b===_0x357296[_0x2277e6(0x1bd)]&&this[_0x2277e6(0x21e)](_0x187a5d),_0x38e48b===_0x357296['USERS_LEAVE']&&this[_0x2277e6(0x1b0)](_0x187a5d);}),this[_0x37b5e0(0x24f)](),this[_0x37b5e0(0x17f)](this[_0x37b5e0(0x294)][_0x37b5e0(0x1d3)](_0xafc662=>{const _0x1fc743=_0x37b5e0;if(this['_online']&&_0xafc662['id']===_0x59976a['id']&&_0xafc662[_0x1fc743(0x224)]['unitId']===this[_0x1fc743(0x2ad)]){const _0x3c600c=_0xafc662[_0x1fc743(0x224)];this[_0x1fc743(0x199)](_0x3c600c['subUnitId'],_0x3c600c[_0x1fc743(0x2a2)][0x0]);}})));}[_0x12de12(0x21e)](_0x3a0d30){const _0x319e09=_0x12de12;var _0x1ed76b,_0x3c17e4;const {memberID:_0x269fba,selection:_0x4255a1}=_0x3a0d30['data'],{sheetName:_0x2edc41,range:_0xc78ede}=_0x444e84(_0x4255a1),_0x4905cf={'name':(_0x3c17e4=(_0x1ed76b=this[_0x319e09(0x27c)][_0x319e09(0x2bb)](this[_0x319e09(0x2ad)],_0x269fba))==null?void 0x0:_0x1ed76b[_0x319e09(0x219)])!=null?_0x3c17e4:_0x319e09(0x252),'range':this[_0x319e09(0x136)](_0x2edc41,_0xc78ede),'sheetID':_0x2edc41,'color':this['_colorAssignService'][_0x319e09(0x10f)](_0x269fba),'selection':_0x4255a1},_0x2465f2=this[_0x319e09(0x1d2)];_0x2465f2[_0x319e09(0x124)](_0x269fba,_0x4905cf),this[_0x319e09(0x13b)][_0x319e09(0x221)](_0x2465f2);}[_0x12de12(0x1b0)](_0x1ff899){const _0x315dae=_0x12de12,{memberID:_0x1cc3f6}=_0x1ff899[_0x315dae(0x18a)],_0x108ffa=this[_0x315dae(0x1d2)];_0x108ffa['delete'](_0x1cc3f6),this[_0x315dae(0x13b)]['next'](_0x108ffa);}['_getMergeRange'](_0x52c755,_0x5d8014){const _0x467254=_0x12de12;var _0x503878,_0x120074;const _0x54600f=(_0x120074=(_0x503878=this[_0x467254(0x20a)][_0x467254(0x1af)](this['unitID']))==null?void 0x0:_0x503878[_0x467254(0x29e)](_0x52c755))==null?void 0x0:_0x120074['getMergeData']();return(_0x54600f==null?void 0x0:_0x54600f[_0x467254(0x272)](_0x6e6e25=>_0x214295[_0x467254(0x233)](_0x6e6e25,_0x5d8014)))||_0x5d8014;}[_0x12de12(0x24f)](){const _0x4a5a89=_0x12de12,_0x279543=new _0x2dc700(),_0x5cbc20=gi(),_0xdac77b=()=>{const _0x2c5301=_0xd0de;_0x279543[_0x2c5301(0x1a0)]();const _0x29187c=(_0xe910a9,_0x36a642,_0x147e4f,_0x5735ed)=>{const _0x26a2d8=_0x2c5301;let _0x56ed2=[];switch(_0xe910a9['id']){case _0x496495[_0x26a2d8(0x11d)]:{_0x56ed2=_0x3cb1b6(_0xe910a9,_0x5735ed);break;}case _0x496495[_0x26a2d8(0x2b2)]:{_0x56ed2=_0x964580(_0xe910a9,_0x5735ed);break;}case _0x496495[_0x26a2d8(0x125)]:{_0x56ed2=_0x36349e(_0xe910a9,_0x5735ed);break;}case _0x496495[_0x26a2d8(0x1a8)]:{_0x56ed2=_0x5952ed(_0xe910a9,_0x5735ed);break;}case _0x496495['InsertRangeMoveRightCommandId']:{_0x56ed2=_0x1fba8f(_0xe910a9,_0x5735ed);break;}case _0x496495[_0x26a2d8(0x23c)]:{_0x56ed2=_0x3a878c(_0xe910a9,_0x5735ed);break;}case _0x496495['MoveRangeCommandId']:{_0x56ed2=_0x5a923f(_0xe910a9,_0x5735ed);break;}case _0x496495['RemoveColCommandId']:{_0x56ed2=_0x164b33(_0xe910a9,_0x5735ed);break;}case _0x496495[_0x26a2d8(0x1e2)]:{_0x56ed2=_0x18e222(_0xe910a9,_0x5735ed);break;}}const _0xca7b19=_0x200f3a(_0x56ed2,_0x5735ed),_0x3a8e0c=this[_0x26a2d8(0x1d2)]['get'](_0x36a642);if(_0x3a8e0c&&_0xca7b19){const _0x1fe133={..._0x3a8e0c,'range':_0xca7b19};this['cursorInfo'][_0x26a2d8(0x124)](_0x36a642,_0x1fe133),_0x5cbc20(()=>{const _0x5e586e=_0x26a2d8,_0x388d81=this[_0x5e586e(0x16d)][_0x5e586e(0x319)](_0xca7b19,_0x4efcbe=>(_0x388d81[_0x5e586e(0x1a0)](),_0x29187c(_0x4efcbe,_0x36a642,_0x147e4f,_0xca7b19)));_0x279543[_0x5e586e(0x1e4)](_0x388d81);});}return{'redos':[],'undos':[]};};this[_0x2c5301(0x1d2)][_0x2c5301(0x1e0)]((_0x5207cf,_0x344a85)=>{const _0x1941c4=_0x2c5301,{range:_0x3344f2,sheetID:_0x45c4f7}=_0x5207cf,_0x376185=this[_0x1941c4(0x16d)][_0x1941c4(0x319)](_0x3344f2,_0x4379cf=>(_0x376185['dispose'](),_0x29187c(_0x4379cf,_0x344a85,_0x45c4f7,_0x3344f2)));_0x279543[_0x1941c4(0x1e4)](_0x376185);});};this[_0x4a5a89(0x17f)](_0x300665(this[_0x4a5a89(0x13b)][_0x4a5a89(0x1fc)](()=>{_0xdac77b();})));}[_0x12de12(0x195)](){const _0x58c5e0=_0x12de12;var _0x3bfa08,_0x24e3bc;if(this[_0x58c5e0(0x2db)]=!0x0,((_0x3bfa08=this[_0x58c5e0(0x20a)][_0x58c5e0(0x2e6)]())==null?void 0x0:_0x3bfa08[_0x58c5e0(0x20e)]())!==this[_0x58c5e0(0x2ad)])return;const _0x4f5085=(_0x24e3bc=this[_0x58c5e0(0x2c5)][_0x58c5e0(0x16a)](_0x1428f1)[_0x58c5e0(0x1bf)]())==null?void 0x0:_0x24e3bc[0x0],_0x2b1ef9=this[_0x58c5e0(0x20a)][_0x58c5e0(0x2c9)](_0x23ef05[_0x58c5e0(0x131)])[_0x58c5e0(0x151)]();_0x4f5085&&_0x2b1ef9&&this[_0x58c5e0(0x199)](_0x2b1ef9[_0x58c5e0(0x26e)](),_0x4f5085);}[_0x12de12(0x1ff)](){const _0x4c3a72=_0x12de12;this[_0x4c3a72(0x2db)]=!0x1;}};Le=mi([x(0x2,_0x332ec8(_0x508eb3)),x(0x3,_0x332ec8(He)),x(0x4,_0x332ec8(_0x20a103)),x(0x5,_0x575dc2),x(0x6,_0x5d1f70),x(0x7,_0x332ec8(_0xf93879))],Le);var pi=Object['getOwnPropertyDescriptor'],Ci=(_0x4000fc,_0x6aa7a8,_0x417265,_0x452b69)=>{for(var _0x182ff5=_0x452b69>0x1?void 0x0:_0x452b69?pi(_0x6aa7a8,_0x417265):_0x6aa7a8,_0x506560=_0x4000fc['length']-0x1,_0x3ba3e4;_0x506560>=0x0;_0x506560--)(_0x3ba3e4=_0x4000fc[_0x506560])&&(_0x182ff5=_0x3ba3e4(_0x182ff5)||_0x182ff5);return _0x182ff5;},me=(_0x2acfc5,_0x4e8b69)=>(_0x49862,_0x10e33f)=>_0x4e8b69(_0x49862,_0x10e33f,_0x2acfc5);let F=class extends _0x4ca60e{constructor(_0x5b3f0d,_0x446c6f,_0x52303a){const _0x35ddcd=_0x12de12;super(),_(this,_0x35ddcd(0x184),new Map()),_(this,_0x35ddcd(0x216),new _0x2cc4b4()),(this[_0x35ddcd(0x20a)]=_0x5b3f0d,this[_0x35ddcd(0x2c5)]=_0x446c6f,this[_0x35ddcd(0x17d)]=_0x52303a,this[_0x35ddcd(0x1df)]());}[_0x12de12(0x1a0)](){const _0xd19b5=_0x12de12;super[_0xd19b5(0x1a0)](),this[_0xd19b5(0x216)]['complete'](),this['_entities']['forEach'](_0x1a5982=>_0x1a5982[_0xd19b5(0x1a0)]());}['getCollabCursors$'](_0x334981){const _0x179a48=_0x12de12;return this[_0x179a48(0x184)][_0x179a48(0x282)](_0x334981)?this[_0x179a48(0x184)]['get'](_0x334981)[_0x179a48(0x29d)]:this[_0x179a48(0x216)][_0x179a48(0x22f)](_0x38704e(_0x5e4a67=>_0x5e4a67[_0x179a48(0x2ad)]===_0x334981),_0x13131b(_0x535f65=>_0x535f65['cursorInfo$']));}[_0x12de12(0x1df)](){const _0x190822=_0x12de12;this[_0x190822(0x20a)]['getTypeOfUnitAdded$'](_0x23ef05['UNIVER_SHEET'])[_0x190822(0x22f)](_0x423462(this[_0x190822(0x159)]))[_0x190822(0x1fc)](async _0x5d7582=>{const _0x197b69=_0x190822,_0x257fee=_0x5d7582[_0x197b69(0x20e)](),_0x3bfeb8=await this[_0x197b69(0x150)](_0x257fee);this[_0x197b69(0x216)][_0x197b69(0x221)](_0x3bfeb8),this['_entities'][_0x197b69(0x124)](_0x257fee,_0x3bfeb8);}),this[_0x190822(0x20a)]['getTypeOfUnitAdded$'](_0x23ef05[_0x190822(0x241)])[_0x190822(0x22f)](_0x423462(this[_0x190822(0x159)]))[_0x190822(0x22f)](_0x38704e(_0x25297a=>!_0x25297a['getUnitId']()['startsWith']('__')))[_0x190822(0x1fc)](async _0x5a63d6=>{const _0x4654e1=_0x190822,_0x37e377=_0x5a63d6[_0x4654e1(0x20e)](),_0x43ce7a=await this[_0x4654e1(0x164)](_0x37e377);this[_0x4654e1(0x216)]['next'](_0x43ce7a),this[_0x4654e1(0x184)][_0x4654e1(0x124)](_0x37e377,_0x43ce7a);}),_0x467d7b(this['_univerInstanceService'][_0x190822(0x2e4)](_0x23ef05[_0x190822(0x241)]),this[_0x190822(0x20a)]['getTypeOfUnitDisposed$'](_0x23ef05[_0x190822(0x131)]))[_0x190822(0x22f)](_0x423462(this[_0x190822(0x159)]))[_0x190822(0x1fc)](_0x298b4e=>{const _0x2f930d=_0x190822,_0x29d91a=_0x298b4e[_0x2f930d(0x20e)](),_0x34d8e9=this[_0x2f930d(0x184)][_0x2f930d(0x16a)](_0x29d91a);_0x34d8e9&&(_0x34d8e9[_0x2f930d(0x1a0)](),this['_entities'][_0x2f930d(0x249)](_0x29d91a));});}async['_startSheetCollabCursor'](_0xf0dca7){const _0x189c3e=_0x12de12,_0x237323=await this['_collabSessionService']['requireSession'](_0xf0dca7),_0x3b75cc=this[_0x189c3e(0x2c5)][_0x189c3e(0x293)](Le,_0xf0dca7,_0x237323);return _0x3b75cc['init'](),_0x3b75cc;}async[_0x12de12(0x164)](_0x4fcf5e){const _0x91e04f=_0x12de12,_0x52a053=await this['_collabSessionService'][_0x91e04f(0x26f)](_0x4fcf5e),_0x25ec71=this['_injector'][_0x91e04f(0x293)](Me,_0x4fcf5e,_0x52a053);return _0x25ec71[_0x91e04f(0x130)](),_0x25ec71;}};F=Ci([me(0x0,_0x575dc2),me(0x1,_0x332ec8(_0x508eb3)),me(0x2,_0x332ec8(_0x4ad36a))],F);const te=0x14,qe=0xc8,Ie=0x4,Ei=0x5;function Oi(_0x48214c,_0x3a0743){const _0x3b6224=_0x12de12;let {radius:_0x35c9a7,width:_0x39ca5a,height:_0x21a11b}=_0x3a0743;_0x35c9a7=_0x35c9a7!=null?_0x35c9a7:0x0,_0x39ca5a=_0x39ca5a!=null?_0x39ca5a:0x1e,_0x21a11b=_0x21a11b!=null?_0x21a11b:0x1e;let _0x451753=0x0,_0x5cca9a=0x0,_0x2ba2a9=0x0;_0x451753=_0x5cca9a=_0x2ba2a9=Math['min'](_0x35c9a7,_0x39ca5a/0x2,_0x21a11b/0x2),_0x48214c[_0x3b6224(0x146)](),_0x48214c[_0x3b6224(0x1b7)](_0x451753,0x0),_0x48214c[_0x3b6224(0x1f2)](_0x39ca5a-_0x5cca9a,0x0),_0x48214c['arc'](_0x39ca5a-_0x5cca9a,_0x5cca9a,_0x5cca9a,Math['PI']*0x3/0x2,0x0,!0x1),_0x48214c[_0x3b6224(0x1f2)](_0x39ca5a,_0x21a11b-_0x2ba2a9),_0x48214c['arc'](_0x39ca5a-_0x2ba2a9,_0x21a11b-_0x2ba2a9,_0x2ba2a9,0x0,Math['PI']/0x2,!0x1),_0x48214c[_0x3b6224(0x1f2)](0x0,_0x21a11b),_0x48214c['lineTo'](0x0,_0x451753),_0x48214c[_0x3b6224(0x177)](_0x451753,_0x451753,_0x451753,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x48214c[_0x3b6224(0x11c)](),_0x3a0743[_0x3b6224(0x315)]&&(_0x48214c[_0x3b6224(0x14a)](),_0x48214c[_0x3b6224(0x29f)]=_0x3a0743[_0x3b6224(0x315)],_0x3a0743[_0x3b6224(0x306)]==='evenodd'?_0x48214c[_0x3b6224(0x315)](_0x3b6224(0x303)):_0x48214c[_0x3b6224(0x315)](),_0x48214c[_0x3b6224(0x129)]());}class ue extends _0x5a681e{constructor(_0x42dff3,_0x19ef15){const _0x59b9ad=_0x12de12;super(_0x42dff3,_0x19ef15),_(this,_0x59b9ad(0x281)),_(this,'text'),(this['color']=_0x19ef15==null?void 0x0:_0x19ef15[_0x59b9ad(0x281)],this[_0x59b9ad(0x238)]=_0x19ef15==null?void 0x0:_0x19ef15[_0x59b9ad(0x238)]);}static[_0x12de12(0x162)](_0x579e0a,_0x37498f){const _0x210194=_0x12de12,{text:_0x226685,color:_0x60a4ff}=_0x37498f;_0x579e0a[_0x210194(0x14a)](),_0x579e0a[_0x210194(0x17e)]=_0x210194(0x234);const _0x4bdb16=_0x579e0a[_0x210194(0x2c1)](_0x226685)['width'],_0x281cd6=Math['min'](_0x4bdb16+0x2*Ie,qe);Oi(_0x579e0a,{'height':te,'radius':0x4,'width':_0x281cd6,'fill':_0x60a4ff}),_0x579e0a[_0x210194(0x29f)]=_0x210194(0x268);const _0xca990c=Ie,_0x5d898e=te-Ei,_0x55222b=qe-0x2*Ie;if(_0x4bdb16>_0x55222b){let _0x45331c='',_0x4db985=0x0;for(const _0x3017aa of _0x226685){const _0x37c5bd=_0x579e0a[_0x210194(0x2c1)](_0x3017aa)[_0x210194(0x12e)];if(_0x4db985+_0x37c5bd<=_0x55222b-_0x579e0a[_0x210194(0x2c1)](_0x210194(0x1a3))[_0x210194(0x12e)])_0x45331c+=_0x3017aa,_0x4db985+=_0x37c5bd;else{_0x45331c+=_0x210194(0x1a3);break;}}_0x579e0a[_0x210194(0x300)](_0x45331c,_0xca990c,_0x5d898e);}else _0x579e0a[_0x210194(0x300)](_0x226685,_0xca990c,_0x5d898e);_0x579e0a[_0x210194(0x129)]();}[_0x12de12(0x173)](_0x5b42c0){const _0x33fb85=_0x12de12;ue[_0x33fb85(0x162)](_0x5b42c0,this);}}const ve=_0x12de12(0x157),bi=_0x12de12(0x2ef),Ti=_0x12de12(0x134),G=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x12de12(0x1d5);class et{constructor(_0x1b05bc,_0x38fda6,_0x4be677,_0x17b4bb){const _0x1f52cd=_0x12de12;_(this,_0x1f52cd(0x230),[]),_(this,_0x1f52cd(0x257),null),_(this,_0x1f52cd(0x29a),null),_(this,_0x1f52cd(0x1fe),null),_(this,_0x1f52cd(0x308),null),_(this,_0x1f52cd(0x160),null),(this[_0x1f52cd(0x169)]=_0x1b05bc,this[_0x1f52cd(0x17b)]=_0x38fda6,this[_0x1f52cd(0x2b7)]=_0x4be677,this['_document']=_0x17b4bb,this['_render']());}set['_hover'](_0x278395){const _0x377dd9=_0x12de12;_0x278395?(this[_0x377dd9(0x1fe)]&&this[_0x377dd9(0x1fe)][_0x377dd9(0x22a)](),this['_textBubble']&&this[_0x377dd9(0x29a)]['show']()):(this['_anchorDot']&&this[_0x377dd9(0x1fe)][_0x377dd9(0x1a1)](),this[_0x377dd9(0x29a)]&&this['_textBubble'][_0x377dd9(0x22a)]());}[_0x12de12(0x1a0)](){const _0x2f8f18=_0x12de12;for(const _0x3f6196 of this[_0x2f8f18(0x230)])_0x3f6196[_0x2f8f18(0x1a0)]();this[_0x2f8f18(0x29a)]&&this[_0x2f8f18(0x29a)][_0x2f8f18(0x1a0)](),this['_anchorDot']&&this[_0x2f8f18(0x1fe)]['dispose'](),this[_0x2f8f18(0x257)]&&this[_0x2f8f18(0x257)][_0x2f8f18(0x1a0)](),this['_eventUnsubscribe']&&this[_0x2f8f18(0x160)]();}[_0x12de12(0x25e)](){const _0x8375a5=_0x12de12;var _0x416f64;const {_docSkeleton:_0x58710d,_document:_0x5e1730}=this,{color:_0x9e079f,name:_0x54fb79,ranges:_0x345d91}=this[_0x8375a5(0x169)],_0x5d2085=_0x5e1730[_0x8375a5(0x1b5)](),{docsLeft:_0x309ead,docsTop:_0x4fcd11}=_0x5d2085,_0x2972db=new _0x40d079(_0x5d2085,_0x58710d);for(const {startOffset:_0x3e0ca2,endOffset:_0x3f0ca9,rangeType:_0x81630a,segmentId:_0x37e099,segmentPage:_0x348d4a,collapsed:_0x94532e,isActive:_0x3f7a3a}of _0x345d91){const _0x5b7566=_0x58710d['findNodePositionByCharIndex'](_0x3e0ca2,!0x0,_0x37e099,_0x348d4a);let _0x2cc6f8=_0x58710d[_0x8375a5(0x286)](_0x3f0ca9,!0x0,_0x37e099,_0x348d4a);if(_0x2cc6f8==null&&(_0x2cc6f8=_0x58710d['findNodePositionByCharIndex'](_0x3f0ca9-0x1,!0x1,_0x37e099,_0x348d4a)),_0x3f7a3a){const {contentBoxPointGroup:_0x546a5b}=_0x2972db['getRangePointData'](_0x2cc6f8,_0x2cc6f8);if(_0x546a5b[_0x8375a5(0x22d)]===0x0)continue;this[_0x8375a5(0x253)](_0x9e079f,_0x546a5b,_0x309ead,_0x4fcd11,_0x54fb79),this['_eventUnsubscribe']=this[_0x8375a5(0x2cc)]();}if(_0x5b7566&&_0x2cc6f8){if(_0x81630a===_0x154cd0[_0x8375a5(0x2fd)]){const _0x50ad4a=new _0x166e42(_0x5d2085,_0x58710d),{pointGroup:_0x1f68ce}=(_0x416f64=_0x50ad4a['getRangePointData'](_0x5b7566,_0x2cc6f8))!=null?_0x416f64:{};if(_0x1f68ce==null||_0x1f68ce[_0x8375a5(0x22d)]===0x0)continue;this[_0x8375a5(0x208)](_0x9e079f,_0x1f68ce,_0x309ead,_0x4fcd11);}else{if(!_0x94532e){const {borderBoxPointGroup:_0x199010}=_0x2972db[_0x8375a5(0x291)](_0x5b7566,_0x2cc6f8);if(_0x199010[_0x8375a5(0x22d)]===0x0)continue;this[_0x8375a5(0x2b6)](_0x9e079f,_0x199010,_0x309ead,_0x4fcd11);}}}}}['_drawAnchor'](_0x4af587,_0x55c511,_0x31b8db,_0x61a74c,_0x22dafc){const _0x3f9eab=_0x12de12,_0xa73be8=this[_0x3f9eab(0x2be)](_0x55c511),{left:_0x51b865,top:_0x44f166,height:_0x53b58e}=_0xa73be8,_0x1547d3=this['_getScale'](),_0x24ec46=Di/_0x1547d3,_0x2ddbfd=new _0x264935(ve+_0x59fac7(G),{'left':_0x51b865+_0x31b8db-_0x24ec46,'top':_0x44f166+_0x61a74c,'height':_0x53b58e,'width':Ri,'fill':_0x4af587||_0x1da5c6(_0x4ff017[_0x3f9eab(0x189)],0x0),'strokeWidth':_0x24ec46,'stroke':Ni,'evented':!0x0});this[_0x3f9eab(0x257)]=_0x2ddbfd,this[_0x3f9eab(0x17b)]['addObject'](_0x2ddbfd,_0x2dfff6);const _0x3649c3=new _0x264935(ve+_0x59fac7(G),{'left':_0x51b865+_0x31b8db-_0x24ec46,'top':_0x44f166+_0x61a74c-ge/0x2,'height':ge,'width':ge,'fill':_0x4af587||_0x1da5c6(_0x4ff017[_0x3f9eab(0x189)],0x0),'strokeWidth':0x0,'stroke':_0x4af587||_0x1da5c6(_0x4ff017[_0x3f9eab(0x189)],0x0),'evented':!0x1});this[_0x3f9eab(0x1fe)]=_0x3649c3,this[_0x3f9eab(0x17b)][_0x3f9eab(0x236)](_0x3649c3,_0x2dfff6);const _0xff9bec=new ue(ve+_0x59fac7(G),{'left':_0x51b865+_0x31b8db-_0x24ec46,'top':_0x44f166+_0x61a74c-te,'text':_0x22dafc,'color':_0x4af587});this[_0x3f9eab(0x29a)]=_0xff9bec,this[_0x3f9eab(0x17b)][_0x3f9eab(0x236)](_0xff9bec,_0x2dfff6),this['_hover']=!0x1;}[_0x12de12(0x2cc)](){const _0x4d0e96=_0x12de12,_0x52ef0e=this[_0x4d0e96(0x257)][_0x4d0e96(0x215)][_0x4d0e96(0x194)](()=>{this['_hover']=!0x0;}),_0x521b4d=this[_0x4d0e96(0x257)]['onPointerLeave$'][_0x4d0e96(0x194)](()=>{const _0x59bfb7=_0x4d0e96;this[_0x59bfb7(0x308)]&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x5c8123=_0x59bfb7;this[_0x5c8123(0x250)]=!0x1;},0x7d0);});return()=>{const _0x3f99f5=_0x4d0e96;_0x52ef0e['unsubscribe'](),_0x521b4d[_0x3f99f5(0x2f7)]();};}[_0x12de12(0x2b6)](_0x4ac95b,_0x50bb14,_0x3033ea,_0x30fc29){const _0x300de0=_0x12de12,_0x3e3244=new _0x5ec59b(_0x4ac95b)['setAlpha'](0.2)[_0x300de0(0x1ae)](),_0x39ab2e=new _0xf55e60(bi+_0x59fac7(G),{'pointsGroup':_0x50bb14,'fill':_0x3e3244||_0x1da5c6(_0x4ff017['black'],0.2),'left':_0x3033ea,'top':_0x30fc29,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x300de0(0x230)][_0x300de0(0x166)](_0x39ab2e),this[_0x300de0(0x17b)][_0x300de0(0x236)](_0x39ab2e,_0x2dfff6);}['_drawRectRange'](_0x2972ee,_0x301056,_0x5e3971,_0x36e70){const _0x2f9f56=_0x12de12,_0x491660=new _0x5ec59b(_0x2972ee)[_0x2f9f56(0x203)](0.2)[_0x2f9f56(0x1ae)](),_0x4cc302=new _0xf55e60(Ti+_0x59fac7(G),{'pointsGroup':_0x301056,'fill':_0x491660||_0x1da5c6(_0x4ff017[_0x2f9f56(0x189)],0.2),'left':_0x5e3971,'top':_0x36e70,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2f9f56(0x230)][_0x2f9f56(0x166)](_0x4cc302),this[_0x2f9f56(0x17b)]['addObject'](_0x4cc302,_0x2dfff6);}['_getAnchorBounding'](_0x2ffdf0){const _0x11c488=_0x2ffdf0[0x0],_0xae6566=_0x11c488[0x0],_0x146b8f=_0x11c488[0x2],{x:_0x267c21,y:_0x27490f}=_0xae6566,{x:_0x4276c6,y:_0x2c4d4e}=_0x146b8f;return{'left':_0x267c21,'top':_0x27490f,'width':_0x4276c6-_0x267c21,'height':_0x2c4d4e-_0x27490f};}[_0x12de12(0x309)](){const _0x565f2a=_0x12de12,{scaleX:_0x18bf03,scaleY:_0x2b96b5}=this[_0x565f2a(0x17b)][_0x565f2a(0x2c8)]();return Math[_0x565f2a(0x1cf)](_0x18bf03,_0x2b96b5);}}var Ui=Object[_0x12de12(0x311)],Mi=(_0x486cc8,_0x451584,_0x4f39fd,_0x192cad)=>{for(var _0x218143=_0x192cad>0x1?void 0x0:_0x192cad?Ui(_0x451584,_0x4f39fd):_0x451584,_0x1cd6b7=_0x486cc8['length']-0x1,_0x3cc0a1;_0x1cd6b7>=0x0;_0x1cd6b7--)(_0x3cc0a1=_0x486cc8[_0x1cd6b7])&&(_0x218143=_0x3cc0a1(_0x218143)||_0x218143);return _0x218143;},Q=(_0xe6cd4f,_0x5e3edc)=>(_0x95d1a6,_0x3a4082)=>_0x5e3edc(_0x95d1a6,_0x3a4082,_0xe6cd4f);let Pe=class extends _0x4ca60e{constructor(_0x15cb4e,_0x5aca77,_0x5816e9,_0x16fd07,_0x544202){const _0x308c71=_0x12de12;super(),_(this,'_cursorShapes',[]),_(this,_0x308c71(0x27f),[]),(this[_0x308c71(0x13c)]=_0x15cb4e,this['_docSkeletonManagerService']=_0x5aca77,this[_0x308c71(0x205)]=_0x5816e9,this[_0x308c71(0x294)]=_0x16fd07,this[_0x308c71(0x188)]=_0x544202,this['_init']());}[_0x12de12(0x1df)](){const _0x2ebd06=_0x12de12,_0x28a86c=this['_context'][_0x2ebd06(0x10d)],_0x591735=this[_0x2ebd06(0x24c)];this[_0x2ebd06(0x17f)](_0x180a8d([this['_collabCursorController']['getCollabCursors$'](_0x28a86c),this[_0x2ebd06(0x188)]['currentTheme$']])[_0x2ebd06(0x22f)](_0x1634f9(([_0x15ff08,_0xca1dc6])=>({'skeleton':_0x591735[_0x2ebd06(0x2cd)](),'cursors':[..._0x15ff08[_0x2ebd06(0x1d4)]()][_0x2ebd06(0x2a1)](_0x415126=>({..._0x415126,'color':this[_0x2ebd06(0x188)][_0x2ebd06(0x21c)](_0x415126['color'])}))})))['subscribe'](_0xd04fda=>{const _0x437afe=_0x2ebd06;if(this['_removeCollabCursors'](),_0xd04fda){const {skeleton:_0xc4d5d3,cursors:_0x5b9d60}=_0xd04fda;this[_0x437afe(0x270)](_0xc4d5d3,_0x5b9d60);}})),this[_0x2ebd06(0x23d)](),this[_0x2ebd06(0x176)]();}['_updateCollabCursors'](_0x46d5c4,_0x40af13){const _0x316cf4=_0x12de12,{scene:_0x19a1d4,mainComponent:_0x48f7ce}=this[_0x316cf4(0x13c)],_0x41f32b=_0x40af13[_0x316cf4(0x2d7)](_0x3a6796=>new et(_0x3a6796,_0x19a1d4,_0x46d5c4,_0x48f7ce));this[_0x316cf4(0x2ec)]=_0x41f32b,this[_0x316cf4(0x27f)]=_0x40af13;}[_0x12de12(0x310)](){const _0x2877ce=_0x12de12;this[_0x2877ce(0x132)]();const {scene:_0x204f93,mainComponent:_0x201b11}=this['_context'],_0x19c7eb=this[_0x2877ce(0x24c)][_0x2877ce(0x2cd)](),_0x1f0794=this[_0x2877ce(0x27f)]['map'](_0x3df620=>new et(_0x3df620,_0x204f93,_0x19c7eb,_0x201b11));this[_0x2877ce(0x2ec)]=_0x1f0794;}[_0x12de12(0x132)](){const _0x28065a=_0x12de12;this['_cursorShapes'][_0x28065a(0x1e0)](_0x15b674=>_0x15b674[_0x28065a(0x1a0)]()),this['_cursorShapes']=[];}[_0x12de12(0x176)](){const _0x551144=_0x12de12,_0x15c931=[_0x3627a6['id']];this[_0x551144(0x17f)](this[_0x551144(0x294)][_0x551144(0x1d3)](_0x1b0ba9=>{const _0x48ae58=_0x551144;_0x15c931['includes'](_0x1b0ba9['id'])&&_0x1b0ba9['params'][_0x48ae58(0x10d)]===this[_0x48ae58(0x13c)][_0x48ae58(0x10d)]&&this[_0x48ae58(0x310)]();}));}['_initResize'](){const _0x5b4605=_0x12de12;this['disposeWithMe'](_0x2d42e1(this[_0x5b4605(0x13c)][_0x5b4605(0x1c7)]['onTransformChange$'])[_0x5b4605(0x22f)](_0x41e61d(_0x53fe75=>_0x53fe75['type']===_0x3d590b['resize']),_0x3c8bdb(0x10))[_0x5b4605(0x1fc)](()=>{const _0x44c905=_0x5b4605;this[_0x44c905(0x310)]();}));}};Pe=Mi([Q(0x1,_0x332ec8(_0x5f1ff9)),Q(0x2,_0x332ec8(F)),Q(0x3,_0x5d1f70),Q(0x4,_0x332ec8(_0x2af2f5))],Pe);const Li=0x1,Pi=1.5;class wi extends _0x5a681e{constructor(_0x119fe7,_0x1739e6){const _0x5d5ac7=_0x12de12;super(_0x119fe7,_0x1739e6),_(this,_0x5d5ac7(0x1d6)),_(this,_0x5d5ac7(0x18b),!0x1),_(this,'_range'),_(this,_0x5d5ac7(0x19e),''),_(this,'_labelPosition',_0x5d5ac7(0x148)),_(this,'_backgroundColor'),(_0x1739e6&&this['setShapeProps'](_0x1739e6),this['onPointerEnter$'][_0x5d5ac7(0x194)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x5d5ac7(0x2ac)][_0x5d5ac7(0x194)](()=>this[_0x5d5ac7(0x26d)]({'hovered':!0x1})));}[_0x12de12(0x26d)](_0x3fc2af){const _0x5ec821=_0x12de12;var _0x26a7c7,_0x535b16,_0x443703,_0x3dad82,_0x390e60,_0x32aca5;this[_0x5ec821(0x1d6)]=(_0x26a7c7=_0x3fc2af[_0x5ec821(0x281)])!=null?_0x26a7c7:this['_color'],this[_0x5ec821(0x18b)]=(_0x535b16=_0x3fc2af[_0x5ec821(0x2d4)])!=null?_0x535b16:this[_0x5ec821(0x18b)],this[_0x5ec821(0x28e)]=(_0x443703=_0x3fc2af[_0x5ec821(0x1eb)])!=null?_0x443703:this['_range'],this[_0x5ec821(0x19e)]=(_0x3dad82=_0x3fc2af[_0x5ec821(0x219)])!=null?_0x3dad82:this[_0x5ec821(0x19e)],this[_0x5ec821(0x13d)]=(_0x390e60=_0x3fc2af[_0x5ec821(0x248)])!=null?_0x390e60:this[_0x5ec821(0x13d)],this['_backgroundColor']=(_0x32aca5=_0x3fc2af['backgroundColor'])!=null?_0x32aca5:this[_0x5ec821(0x211)],this['transformByState']({'width':_0x3fc2af[_0x5ec821(0x12e)],'height':_0x3fc2af['height']});}[_0x12de12(0x23f)](_0xb38461){const _0xdf7ed3=_0x12de12,{row:_0x4c7729,column:_0x1f7ffb}=_0xb38461;if(_0x4c7729>=this['_range'][_0xdf7ed3(0x182)]&&_0x4c7729<=this[_0xdf7ed3(0x28e)][_0xdf7ed3(0x254)]&&_0x1f7ffb>=this[_0xdf7ed3(0x28e)][_0xdf7ed3(0x1be)]&&_0x1f7ffb<=this[_0xdf7ed3(0x28e)][_0xdf7ed3(0x223)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0xdf7ed3(0x26d)]({'hovered':!0x1});}['triggerDblclick'](_0x4130b9){return!0x1;}[_0x12de12(0x173)](_0x545c0b){const _0x1c5538=_0x12de12;_0x264935[_0x1c5538(0x162)](_0x545c0b,{'width':this[_0x1c5538(0x12e)],'height':this[_0x1c5538(0x1ce)],'strokeWidth':Pi,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x1c5538(0x18b)]&&(_0x545c0b[_0x1c5538(0x14a)](),_0x545c0b[_0x1c5538(0x1e9)](0x1,0x0,0x0,0x1,this['width'],this[_0x1c5538(0x13d)]===_0x1c5538(0x158)?0x0:-0x14),ue[_0x1c5538(0x162)](_0x545c0b,{'text':this[_0x1c5538(0x19e)],'color':this[_0x1c5538(0x1d6)]}),_0x545c0b[_0x1c5538(0x129)]());}}var Ai=Object[_0x12de12(0x311)],yi=(_0xce02d6,_0x278f1f,_0x139557,_0x51d303)=>{const _0x5110fb=_0x12de12;for(var _0x5cbd7b=_0x51d303>0x1?void 0x0:_0x51d303?Ai(_0x278f1f,_0x139557):_0x278f1f,_0x1e7f8b=_0xce02d6[_0x5110fb(0x22d)]-0x1,_0x4f5597;_0x1e7f8b>=0x0;_0x1e7f8b--)(_0x4f5597=_0xce02d6[_0x1e7f8b])&&(_0x5cbd7b=_0x4f5597(_0x5cbd7b)||_0x5cbd7b);return _0x5cbd7b;},pe=(_0x511a50,_0x302dbb)=>(_0x24acbe,_0x5f45f2)=>_0x302dbb(_0x24acbe,_0x5f45f2,_0x511a50);const $i=0x1389;let we=class extends _0x4ca60e{constructor(_0x3a3afa,_0x4ffe30,_0x3a0ec6,_0x3d6f84){const _0x4169bd=_0x12de12;super(),_(this,_0x4169bd(0x27f),new Set()),_(this,_0x4169bd(0x156),null),(this[_0x4169bd(0x13c)]=_0x3a3afa,this[_0x4169bd(0x178)]=_0x4ffe30,this[_0x4169bd(0x205)]=_0x3a0ec6,this[_0x4169bd(0x188)]=_0x3d6f84,this[_0x4169bd(0x1df)]());}['_init'](){const _0x979c3b=_0x12de12;this[_0x979c3b(0x178)][_0x979c3b(0x193)][_0x979c3b(0x22f)](_0x2712d8(this['dispose$']),_0x4da693(_0x283417=>{const _0x41375b=_0x979c3b;if(_0x283417){const _0x2b9f84=_0x283417['sheetId'];return _0x180a8d(this[_0x41375b(0x205)][_0x41375b(0x2e3)](this[_0x41375b(0x13c)][_0x41375b(0x10d)]),this[_0x41375b(0x188)]['currentTheme$'])[_0x41375b(0x22f)](_0x1634f9(([_0x3fe331,_0x1ca29b])=>{const _0x4d52e2=new Map();return _0x3fe331['forEach']((_0x1b706b,_0x255bf8)=>{const _0x730626=_0xd0de;if(_0x1b706b[_0x730626(0x30e)]===_0x2b9f84){const _0x5b2714={..._0x1b706b};_0x5b2714[_0x730626(0x281)]=this[_0x730626(0x188)][_0x730626(0x21c)](_0x1b706b[_0x730626(0x281)]),_0x4d52e2['set'](_0x255bf8,_0x5b2714);}}),{'skeleton':_0x283417,'cursors':_0x4d52e2};}));}return _0x537505({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x2f7280,cursors:_0x5ddd7c})=>{const _0x15ff69=_0x979c3b;this[_0x15ff69(0x132)](),_0x2f7280&&this[_0x15ff69(0x270)](_0x2f7280,_0x5ddd7c);}),this[_0x979c3b(0x178)][_0x979c3b(0x193)]['subscribe'](_0x33107e=>{const _0x5393da=_0x979c3b;if(_0x33107e==null)return;const {skeleton:_0xa40f16}=_0x33107e,{scene:_0x1a3207}=this[_0x5393da(0x13c)];_0x1a3207[_0x5393da(0x143)][_0x5393da(0x194)](_0x3b0440(_0x241691=>{const _0x3ced17=_0x5393da;var _0x595832,_0x19037e;const {offsetX:_0x196a1d,offsetY:_0x237da0}=_0x241691,{x:_0x6f703b,y:_0x8d0305}=_0x1a3207[_0x3ced17(0x297)](_0xad88c5[_0x3ced17(0x20b)]([_0x196a1d,_0x237da0])),{scaleX:_0x5b0393,scaleY:_0x10a217}=_0x1a3207[_0x3ced17(0x2c8)](),_0x2da63c=_0x1a3207[_0x3ced17(0x2e1)](_0x358bcb[_0x3ced17(0x11b)]),_0x374f5f=_0x1a3207[_0x3ced17(0x1cd)](_0xad88c5['FromArray']([_0x6f703b,_0x8d0305]),_0x2da63c),_0x4d0320=_0xa40f16[_0x3ced17(0x217)](_0x196a1d,_0x237da0,_0x5b0393,_0x10a217,_0x374f5f);((_0x595832=this[_0x3ced17(0x156)])==null?void 0x0:_0x595832[_0x3ced17(0x2f4)])===_0x4d0320['column']&&((_0x19037e=this[_0x3ced17(0x156)])==null?void 0x0:_0x19037e['row'])===_0x4d0320[_0x3ced17(0x2bd)]||this[_0x3ced17(0x27f)][_0x3ced17(0x1e0)](_0x5c9bd5=>{const _0x37463b=_0x3ced17;_0x5c9bd5[_0x37463b(0x23f)](_0x4d0320);});},0x64));});}[_0x12de12(0x270)](_0x14b726,_0x2ca9bb){const _0x19ec74=_0x12de12;var _0x2b57b6;const _0x8d2662=(_0x2b57b6=this[_0x19ec74(0x178)][_0x19ec74(0x1ed)]())==null?void 0x0:_0x2b57b6[_0x19ec74(0x244)];if(!_0x8d2662)return;const _0x24a4f5=this[_0x19ec74(0x274)]();if(!_0x24a4f5)return;this['_cursors'][_0x19ec74(0x1e0)](_0x52a463=>{const _0x4bb416=_0x19ec74;_0x52a463[_0x4bb416(0x240)]();});const {scene:_0x324198}=_0x24a4f5,_0x40ce2a=xi(Array[_0x19ec74(0x243)](_0x2ca9bb[_0x19ec74(0x1d4)]()))[_0x19ec74(0x2d7)](_0x1678fc=>{const _0x3d4379=_0x19ec74,{color:_0x578462,range:_0x4ed4ca,name:_0x2edc71,selection:_0x130d94,sheetID:_0x5af069}=_0x1678fc,{startColumn:_0x47946a,startRow:_0x563fd2,endColumn:_0x4d5073,endRow:_0x1a5a3d}=_0x4ed4ca,_0x49448b=_0x208aeb(_0x563fd2,_0x47946a,_0x324198,_0x8d2662),_0x5d8732=_0x208aeb(_0x1a5a3d,_0x4d5073,_0x324198,_0x8d2662),{columnHeaderHeightAndMarginTop:_0x16722d}=_0x8d2662,{startX:_0x2bd649,startY:_0x3033a3}=_0x49448b,{endX:_0x23386a,endY:_0x29158c}=_0x5d8732,_0x153d1a=_0x23386a-_0x2bd649,_0x2a130f=_0x29158c-_0x3033a3,_0x2beec4={'labelPosition':_0x3033a3-_0x16722d>=te?_0x3d4379(0x148):_0x3d4379(0x158),'sheetID':_0x5af069,'range':_0x4ed4ca,'color':_0x578462,'name':_0x2edc71,'selection':_0x130d94,'left':_0x2bd649,'top':_0x3033a3,'width':_0x153d1a,'height':_0x2a130f,'evented':!0x1,'zIndex':$i};return new wi(_0x2edc71,_0x2beec4);});_0x324198['addObjects'](_0x40ce2a,Li),this[_0x19ec74(0x27f)]=new Set(_0x40ce2a);}[_0x12de12(0x132)](){const _0xad799d=_0x12de12;var _0x110c37;(_0x110c37=this[_0xad799d(0x27f)])==null||_0x110c37[_0xad799d(0x1e0)](_0x59a8c4=>_0x59a8c4['dispose']());}[_0x12de12(0x274)](){const _0x104e04=_0x12de12;return _0x4ef7db(this[_0x104e04(0x13c)][_0x104e04(0x11e)],this['_context']);}};we=yi([pe(0x1,_0x332ec8(_0xe64e90)),pe(0x2,_0x332ec8(F)),pe(0x3,_0x332ec8(_0x2af2f5))],we);function xi(_0x4fe434){const _0x36187f=_0x12de12,_0xf1014=new Map();return _0x4fe434[_0x36187f(0x1e0)](_0xc0f571=>{const _0x851d74=_0x36187f;if(_0xf1014[_0x851d74(0x282)](_0xc0f571[_0x851d74(0x174)])){const _0x27ecfd=_0xf1014[_0x851d74(0x16a)](_0xc0f571[_0x851d74(0x174)]);_0x27ecfd[_0x851d74(0x219)]+=',\x20'+_0xc0f571[_0x851d74(0x219)];}else _0xf1014[_0x851d74(0x124)](_0xc0f571[_0x851d74(0x174)],_0xc0f571);}),Array[_0x36187f(0x243)](_0xf1014[_0x36187f(0x1d4)]());}var v=function(){const _0x5a9b5c=_0x12de12;return v=Object[_0x5a9b5c(0x10e)]||function(_0x3132e9){const _0x25e584=_0x5a9b5c;for(var _0xf4cb91,_0x51a1b1=0x1,_0x173fa2=arguments[_0x25e584(0x22d)];_0x51a1b1<_0x173fa2;_0x51a1b1++){_0xf4cb91=arguments[_0x51a1b1];for(var _0x3f37e3 in _0xf4cb91)Object[_0x25e584(0x1b3)][_0x25e584(0x1f7)]['call'](_0xf4cb91,_0x3f37e3)&&(_0x3132e9[_0x3f37e3]=_0xf4cb91[_0x3f37e3]);}return _0x3132e9;},v[_0x5a9b5c(0x2b0)](this,arguments);},Bi=function(_0x1ae5c0,_0x14e8c1){const _0x205594=_0x12de12;var _0x46d5ce={};for(var _0x595eda in _0x1ae5c0)Object['prototype']['hasOwnProperty'][_0x205594(0x235)](_0x1ae5c0,_0x595eda)&&_0x14e8c1[_0x205594(0x2ea)](_0x595eda)<0x0&&(_0x46d5ce[_0x595eda]=_0x1ae5c0[_0x595eda]);if(_0x1ae5c0!=null&&typeof Object[_0x205594(0x11a)]=='function'){for(var _0x4bbc44=0x0,_0x595eda=Object[_0x205594(0x11a)](_0x1ae5c0);_0x4bbc44<_0x595eda[_0x205594(0x22d)];_0x4bbc44++)_0x14e8c1[_0x205594(0x2ea)](_0x595eda[_0x4bbc44])<0x0&&Object[_0x205594(0x1b3)]['propertyIsEnumerable'][_0x205594(0x235)](_0x1ae5c0,_0x595eda[_0x4bbc44])&&(_0x46d5ce[_0x595eda[_0x4bbc44]]=_0x1ae5c0[_0x595eda[_0x4bbc44]]);}return _0x46d5ce;},Ye=_0x361efb(function(_0xfc02f,_0xf998b){const _0x4e9530=_0x12de12;var _0x2de608=_0xfc02f[_0x4e9530(0x1dc)],_0x44dbb8=_0xfc02f['id'],_0x3dcaaa=_0xfc02f[_0x4e9530(0x165)],_0x7d4bd3=_0xfc02f[_0x4e9530(0x1ec)],_0x1d45c3=Bi(_0xfc02f,[_0x4e9530(0x1dc),'id',_0x4e9530(0x165),_0x4e9530(0x1ec)]),_0x269268=_0x4e9530(0x2c7)['concat'](_0x44dbb8,'\x20')[_0x4e9530(0x2b1)](_0x3dcaaa||'')[_0x4e9530(0x16c)](),_0x36a493=_0x70760e('_'[_0x4e9530(0x2b1)](Fi()));return Dt(_0x2de608,''[_0x4e9530(0x2b1)](_0x44dbb8),{'defIds':_0x2de608['defIds'],'idSuffix':_0x36a493[_0x4e9530(0x126)]},v({'ref':_0xf998b,'className':_0x269268},_0x1d45c3),_0x7d4bd3);});function Dt(_0x359db0,_0x949df9,_0x3cda49,_0x2c45e4,_0x10ccc9){const _0x4e00ea=_0x12de12;return _0x596ab7(_0x359db0[_0x4e00ea(0x2dd)],v(v({'key':_0x949df9},ki(_0x359db0,_0x3cda49,_0x10ccc9)),_0x2c45e4),(Hi(_0x359db0,_0x3cda49)[_0x4e00ea(0x172)]||[])[_0x4e00ea(0x2d7)](function(_0x16d6aa,_0x4c388b){const _0x3970bc=_0x4e00ea;return Dt(_0x16d6aa,''[_0x3970bc(0x2b1)](_0x949df9,'-')[_0x3970bc(0x2b1)](_0x359db0[_0x3970bc(0x2dd)],'-')['concat'](_0x4c388b),_0x3cda49,void 0x0,_0x10ccc9);}));}function ki(_0x4b17f5,_0x24af38,_0x3bf0b4){const _0x19dbc0=_0x12de12;var _0x25de0a=v({},_0x4b17f5['attrs']);_0x3bf0b4!=null&&_0x3bf0b4['colorChannel1']&&_0x25de0a[_0x19dbc0(0x315)]==='colorChannel1'&&(_0x25de0a[_0x19dbc0(0x315)]=_0x3bf0b4[_0x19dbc0(0x120)]),_0x4b17f5['tag']===_0x19dbc0(0x2d2)&&_0x25de0a['id']&&(_0x25de0a['id']=_0x25de0a['id']+_0x24af38[_0x19dbc0(0x299)]),Object[_0x19dbc0(0x181)](_0x25de0a)[_0x19dbc0(0x1e0)](function(_0x40520b){const _0x122581=_0x19dbc0;var _0x2bd334=_0x40520b[0x0],_0x390a88=_0x40520b[0x1];_0x2bd334===_0x122581(0x2d2)&&typeof _0x390a88=='string'&&(_0x25de0a[_0x2bd334]=_0x390a88['replace'](/url\(#(.*)\)/,_0x122581(0x137)[_0x122581(0x2b1)](_0x24af38['idSuffix'],')')));});var _0x3b1b8f=_0x24af38[_0x19dbc0(0x218)];return!_0x3b1b8f||_0x3b1b8f[_0x19dbc0(0x22d)]===0x0||(_0x4b17f5['tag']===_0x19dbc0(0x213)&&_0x25de0a[_0x19dbc0(0x1f0)]&&(_0x25de0a[_0x19dbc0(0x1f0)]=_0x25de0a['xlink:href']+_0x24af38[_0x19dbc0(0x299)]),Object['entries'](_0x25de0a)[_0x19dbc0(0x1e0)](function(_0x5a6865){const _0x16fa90=_0x19dbc0;var _0x582090=_0x5a6865[0x0],_0x568b3c=_0x5a6865[0x1];typeof _0x568b3c==_0x16fa90(0x280)&&(_0x25de0a[_0x582090]=_0x568b3c['replace'](/url\(#(.*)\)/,_0x16fa90(0x137)[_0x16fa90(0x2b1)](_0x24af38['idSuffix'],')')));})),_0x25de0a;}function Hi(_0x26c4e7,_0x55837a){const _0x8521=_0x12de12;var _0x42c679,_0x6d98dd=_0x55837a[_0x8521(0x218)];return!_0x6d98dd||_0x6d98dd['length']===0x0?_0x26c4e7:_0x26c4e7[_0x8521(0x2dd)]===_0x8521(0x2a7)&&(!((_0x42c679=_0x26c4e7[_0x8521(0x172)])===null||_0x42c679===void 0x0)&&_0x42c679['length'])?v(v({},_0x26c4e7),{'children':_0x26c4e7[_0x8521(0x172)][_0x8521(0x2d7)](function(_0xbe16a1){const _0x3b884f=_0x8521;return typeof _0xbe16a1[_0x3b884f(0x17c)]['id']=='string'&&_0x6d98dd&&_0x6d98dd[_0x3b884f(0x12f)](_0xbe16a1['attrs']['id'])?v(v({},_0xbe16a1),{'attrs':v(v({},_0xbe16a1[_0x3b884f(0x17c)]),{'id':_0xbe16a1['attrs']['id']+_0x55837a[_0x3b884f(0x299)]})}):_0xbe16a1;})}):_0x26c4e7;}function Fi(){const _0x1bcc13=_0x12de12;return Math[_0x1bcc13(0x1a6)]()[_0x1bcc13(0x220)](0x24)[_0x1bcc13(0x312)](0x2,0x8);}Ye[_0x12de12(0x23e)]=_0x12de12(0x30a);var Yi={'tag':_0x12de12(0x2c0),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x12de12(0x1c4),'viewBox':_0x12de12(0x14c),'width':'1em','height':_0x12de12(0x29c)},'children':[{'tag':'g','attrs':{'clipPath':_0x12de12(0x2f1)},'children':[{'tag':_0x12de12(0x2fa),'attrs':{'stroke':'currentColor','d':_0x12de12(0x2ca),'strokeLinecap':_0x12de12(0x2ae),'strokeLinejoin':_0x12de12(0x2ae),'strokeWidth':1.2}}]},{'tag':_0x12de12(0x2a7),'attrs':{},'children':[{'tag':_0x12de12(0x288),'attrs':{'id':_0x12de12(0x2b4)},'children':[{'tag':_0x12de12(0x2fa),'attrs':{'fill':_0x12de12(0x1a9),'d':_0x12de12(0x2d3)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},Nt=_0x361efb(function(_0x1feb60,_0x3c76a8){return _0x596ab7(Ye,Object['assign']({},_0x1feb60,{'id':'off-line-icon','ref':_0x3c76a8,'icon':Yi}));});Nt['displayName']=_0x12de12(0x13a);var ji={'tag':_0x12de12(0x2c0),'attrs':{'xmlns':_0x12de12(0x210),'fill':_0x12de12(0x1c4),'viewBox':_0x12de12(0x1e7),'width':_0x12de12(0x29c),'height':_0x12de12(0x29c)},'children':[{'tag':'g','attrs':{'clipPath':_0x12de12(0x147)},'children':[{'tag':'path','attrs':{'stroke':_0x12de12(0x19a),'d':_0x12de12(0x222),'strokeLinecap':_0x12de12(0x2ae),'strokeLinejoin':_0x12de12(0x2ae),'strokeWidth':1.2}}]},{'tag':_0x12de12(0x2a7),'attrs':{},'children':[{'tag':_0x12de12(0x288),'attrs':{'id':_0x12de12(0x1e6)},'children':[{'tag':_0x12de12(0x2fa),'attrs':{'fill':_0x12de12(0x1a9),'d':_0x12de12(0x2d3),'transform':'translate(.97)'}}]}]}],'defIds':[_0x12de12(0x1e6)]},Ut=_0x361efb(function(_0x3f9810,_0x56e78b){const _0x1f5bf4=_0x12de12;return _0x596ab7(Ye,Object[_0x1f5bf4(0x10e)]({},_0x3f9810,{'id':_0x1f5bf4(0x2ee),'ref':_0x56e78b,'icon':ji}));});Ut[_0x12de12(0x23e)]=_0x12de12(0x23b);function Vi(_0xd17b4b){const _0x3d6724=_0x12de12;switch(_0xd17b4b){case _0x38154b[_0x3d6724(0x1d1)]:return'collabStatus.offline';case _0x38154b[_0x3d6724(0x1b6)]:return _0x3d6724(0x271);case _0x38154b['FETCH_MISS']:return _0x3d6724(0x27e);case _0x38154b[_0x3d6724(0x292)]:return _0x3d6724(0x17a);case _0x38154b['AWAITING']:case _0x38154b[_0x3d6724(0x2c2)]:return _0x3d6724(0x2ce);case _0x38154b[_0x3d6724(0x128)]:case _0x38154b[_0x3d6724(0x2d6)]:return _0x3d6724(0x228);}}function Wi(_0x16cf14){const _0x45746f=_0x12de12,{status$:_0x3ecacb}=_0x16cf14,_0x3ee39d=_0xd64cb0(_0x3ecacb,_0x38154b[_0x45746f(0x292)]),_0x3bf689=_0x1b29fd(_0x260cf9),_0x393d47=_0x1b29fd(_0x4ad36a),_0x1c98be=_0x3ee39d!==_0x38154b[_0x45746f(0x1d1)],_0x34a9e6=_0x3bf689['t'](Vi(_0x3ee39d)),_0x180c0a=_0x1c98be?_0x3be0f7(Ut,{}):_0x3be0f7(Nt,{}),_0x18ed00=_0x1215e3(()=>{const _0x5583b8=_0x45746f;_0x1c98be||_0x393d47[_0x5583b8(0x209)]();},[_0x1c98be,_0x393d47]);function _0x1b007f(){const _0x502b62=_0x45746f;return _0x4bf904(_0x502b62(0x22e),{'className':'univer-flex\x20univer-items-center','onClick':_0x18ed00,'children':[_0x3be0f7(_0x502b62(0x22e),{'className':_0x316428('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x1c98be,'univer-text-red-500':!_0x1c98be}),'children':_0x180c0a}),_0x3be0f7(_0x502b62(0x22e),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x34a9e6})]});}return _0x1c98be?_0x1b007f():_0x3be0f7(_0x9fb1ff,{'title':_0x3bf689['t'](_0x45746f(0x20c)),'children':_0x1b007f()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x5296a2,_0x4ee916,_0x5b47a5,_0x264772)=>{const _0x583a90=_0x12de12;for(var _0xf58d6e=_0x264772>0x1?void 0x0:_0x264772?Xi(_0x4ee916,_0x5b47a5):_0x4ee916,_0x346b13=_0x5296a2[_0x583a90(0x22d)]-0x1,_0x1becf2;_0x346b13>=0x0;_0x346b13--)(_0x1becf2=_0x5296a2[_0x346b13])&&(_0xf58d6e=_0x1becf2(_0xf58d6e)||_0xf58d6e);return _0xf58d6e;},q=(_0x3b3930,_0x52ecd8)=>(_0x337ba6,_0x51403f)=>_0x52ecd8(_0x337ba6,_0x51403f,_0x3b3930);let se=class extends _0x5e9dd2{constructor(_0x592169,_0x57cde4,_0x502f07,_0x23b2c8){const _0x3368a7=_0x12de12;super(),_(this,'_status$',new _0x5ee1f9(_0x38154b[_0x3368a7(0x292)])),(this[_0x3368a7(0x20a)]=_0x592169,this['_injector']=_0x57cde4,this['_collaborationController']=_0x502f07,this[_0x3368a7(0x27d)]=_0x23b2c8,this['_initStatusComponent'](),this[_0x3368a7(0x25f)]());}['_initStatusListener'](){const _0xab053c=_0x12de12;this[_0xab053c(0x17f)](this[_0xab053c(0x20a)][_0xab053c(0x140)][_0xab053c(0x22f)](_0x13131b(()=>{const _0x2b0fce=_0xab053c,_0x4875d8=this[_0x2b0fce(0x20a)][_0x2b0fce(0x2e6)]();return _0x4875d8?this['_collaborationController']['getCollabEntity$'](_0x4875d8[_0x2b0fce(0x20e)]()):_0x537505(null);}),_0x13131b(_0x4c76cb=>_0x4c76cb?_0x4c76cb[_0xab053c(0x183)]:_0x537505(_0x38154b[_0xab053c(0x292)])))[_0xab053c(0x1fc)](_0x90dbec=>{const _0x42dc1a=_0xab053c;this[_0x42dc1a(0x12d)][_0x42dc1a(0x221)](_0x90dbec);}));}['_initStatusComponent'](){const _0x1af43e=_0x12de12;this['disposeWithMe'](this[_0x1af43e(0x27d)][_0x1af43e(0x1d9)](_0x3b5b53[_0x1af43e(0x1cb)],()=>_0x114e79(Ki({'status$':this[_0x1af43e(0x12d)][_0x1af43e(0x138)]()}),this[_0x1af43e(0x2c5)])));}};se=Gi([q(0x0,_0x575dc2),q(0x1,_0x332ec8(_0x508eb3)),q(0x2,_0x332ec8(_0x2545df)),q(0x3,_0xb17c6b)],se);function Ki(_0x5275d0){const {status$:_0x417c34}=_0x5275d0;return function(){return _0x3be0f7(Wi,{'status$':_0x417c34});};}var zi=Object[_0x12de12(0x311)],Ji=(_0x58e27e,_0x358ebe,_0x5b8fc7,_0x3b6d93)=>{const _0x223694=_0x12de12;for(var _0x1024e6=_0x3b6d93>0x1?void 0x0:_0x3b6d93?zi(_0x358ebe,_0x5b8fc7):_0x358ebe,_0x380228=_0x58e27e[_0x223694(0x22d)]-0x1,_0x574f56;_0x380228>=0x0;_0x380228--)(_0x574f56=_0x58e27e[_0x380228])&&(_0x1024e6=_0x574f56(_0x1024e6)||_0x1024e6);return _0x1024e6;},B=(_0x372c60,_0x4ba907)=>(_0x30e6e0,_0x2ca349)=>_0x4ba907(_0x30e6e0,_0x2ca349,_0x372c60);let ie=class extends _0x5e9dd2{constructor(_0x299c7f,_0x350f26,_0x4241cc,_0x4885ce,_0x5a4774,_0x36b392){const _0x4119ad=_0x12de12;super(),this['_beforeCloseService']=_0x299c7f,this[_0x4119ad(0x26a)]=_0x350f26,this[_0x4119ad(0x263)]=_0x4241cc,this[_0x4119ad(0x154)]=_0x4885ce,this[_0x4119ad(0x1fa)]=_0x5a4774,this[_0x4119ad(0x266)]=_0x36b392,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x12de12(0x10c)](){const _0x6e71e6=_0x12de12;this[_0x6e71e6(0x17f)](this[_0x6e71e6(0x2cb)][_0x6e71e6(0x1aa)](()=>{const _0x3aa42f=_0x6e71e6;if(this[_0x3aa42f(0x26a)][_0x3aa42f(0x2f6)][_0x3aa42f(0x110)])return this['_localeService']['t']('collaboration-client.offline-data-not-saved');}));}[_0x12de12(0x2eb)](){const _0x3ccb04=_0x12de12;this[_0x3ccb04(0x17f)](this[_0x3ccb04(0x263)][_0x3ccb04(0x19d)][_0x3ccb04(0x1fc)](_0x289d2a=>{const _0xd0a10b=_0x3ccb04;_0x289d2a['id']===_0x2ea7ff[_0xd0a10b(0x133)]&&this['_messageService'][_0xd0a10b(0x1a1)]({'type':_0x435404[_0xd0a10b(0x161)],'content':this[_0xd0a10b(0x266)]['t'](_0xd0a10b(0x2dc))}),_0x289d2a['id']===_0x2ea7ff[_0xd0a10b(0x295)]&&this['_messageService'][_0xd0a10b(0x1a1)]({'type':_0x435404[_0xd0a10b(0x161)],'content':this[_0xd0a10b(0x266)]['t'](_0xd0a10b(0x278))}),_0x289d2a['id']===_0x2ea7ff['PERMISSION_DENIED']&&this['_notificationService']['show']({'title':this[_0xd0a10b(0x266)]['t'](_0xd0a10b(0x1f6)),'content':this[_0xd0a10b(0x266)]['t']('permission.content'),'type':_0xd0a10b(0x180),'duration':0x0}),_0x289d2a['id']===_0x2ea7ff['CONFLICT']&&this[_0xd0a10b(0x154)][_0xd0a10b(0x1a1)]({'type':_0x435404[_0xd0a10b(0x2f0)],'content':this[_0xd0a10b(0x266)]['t'](_0xd0a10b(0x278))+'('+_0x289d2a[_0xd0a10b(0x18a)]+')'}),_0x289d2a['id']===_0x2ea7ff[_0xd0a10b(0x242)]&&this[_0xd0a10b(0x154)][_0xd0a10b(0x1a1)]({'type':_0x435404[_0xd0a10b(0x161)],'content':this['_localeService']['t'](_0x289d2a[_0xd0a10b(0x18a)]||'')}),_0x289d2a['id']===_0x2ea7ff[_0xd0a10b(0x277)]&&this[_0xd0a10b(0x154)]['show']({'type':_0x435404[_0xd0a10b(0x161)],'content':this['_localeService']['t'](_0xd0a10b(0x1dd))}),_0x289d2a['id']===_0x2ea7ff[_0xd0a10b(0x141)]&&this[_0xd0a10b(0x154)][_0xd0a10b(0x1a1)]({'type':_0x435404[_0xd0a10b(0x2f0)],'content':this[_0xd0a10b(0x266)]['t'](_0xd0a10b(0x2e7))}),_0x289d2a['id']===_0x2ea7ff[_0xd0a10b(0x23a)]&&this[_0xd0a10b(0x154)][_0xd0a10b(0x1a1)]({'type':_0x435404['Error'],'content':this['_localeService']['t'](_0xd0a10b(0x1c3))});}));}};ie=Ji([B(0x0,_0x5965e0),B(0x1,_0x39ab8f),B(0x2,_0x332ec8(_0x110cd1)),B(0x3,_0x2e3109),B(0x4,_0x2b0255),B(0x5,_0x332ec8(_0x260cf9))],ie);const Zi=_0x12de12(0x121),tt={},Mt=_0x4d8422(_0x12de12(0x229));var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x4a94ce,_0x32de00,_0x2ed3d0,_0x39a9a2)=>{for(var _0x1d0fe7=_0x39a9a2>0x1?void 0x0:_0x39a9a2?Qi(_0x32de00,_0x2ed3d0):_0x32de00,_0x527793=_0x4a94ce['length']-0x1,_0x27b78e;_0x527793>=0x0;_0x527793--)(_0x27b78e=_0x4a94ce[_0x527793])&&(_0x1d0fe7=_0x27b78e(_0x1d0fe7)||_0x1d0fe7);return _0x1d0fe7;},K=(_0x5095aa,_0x1154cd)=>(_0x22468f,_0x272fb8)=>_0x1154cd(_0x22468f,_0x272fb8,_0x5095aa);let ne=class extends _0x4ca60e{constructor(_0x1631dd,_0x3053d1,_0x5314eb,_0x194c4a,_0x3cbc4d){const _0x9c2bb4=_0x12de12;super(),this[_0x9c2bb4(0x16b)]=_0x1631dd,this[_0x9c2bb4(0x18f)]=_0x3053d1,this[_0x9c2bb4(0x294)]=_0x5314eb,this['_dataLoaderService']=_0x194c4a,_0x3cbc4d?_0x3cbc4d==null||_0x3cbc4d['whenReady']()['then'](()=>this[_0x9c2bb4(0x1df)]()):(this[_0x9c2bb4(0x18f)][_0x9c2bb4(0x1ef)](_0x9c2bb4(0x1d0),_0x9c2bb4(0x275)),this['_init']());}async['_init'](){const _0x34637a=_0x12de12,_0x5bd9c2=this['_urlService'][_0x34637a(0x123)](_0x34637a(0x11e)),_0x5b2ad9=this[_0x34637a(0x16b)][_0x34637a(0x123)](_0x34637a(0x259)),_0x1fe755=this[_0x34637a(0x16b)]['getParam'](_0x34637a(0x1f5));if(!_0x5bd9c2||!_0x5b2ad9){this['_logService'][_0x34637a(0x1ef)](_0x34637a(0x1d0),_0x34637a(0x175));return;}const _0x218a0b=await this[_0x34637a(0x302)][_0x34637a(0x114)](_0x5bd9c2,Number(_0x5b2ad9),_0x1fe755);_0x218a0b&&_0x218a0b instanceof _0x38f6&&this[_0x34637a(0x2ba)](_0x218a0b);}async[_0x12de12(0x2ba)](_0x1b2895){const _0x5cdc2a=_0x12de12;await this['_updateSubUnitFromURLParams'](_0x1b2895),_0x1b2895[_0x5cdc2a(0x153)][_0x5cdc2a(0x22f)](_0x423462(this['dispose$']))[_0x5cdc2a(0x1fc)](_0xae1a63=>{const _0x6ddf9=_0x5cdc2a;_0xae1a63&&this[_0x6ddf9(0x1f3)](_0xae1a63);}),this['_urlService'][_0x5cdc2a(0x317)][_0x5cdc2a(0x22f)](_0x423462(this[_0x5cdc2a(0x159)]))[_0x5cdc2a(0x1fc)](()=>this[_0x5cdc2a(0x283)](_0x1b2895));}[_0x12de12(0x1f3)](_0x5c23d7,_0x572de1=!0x1){const _0x4652d7=_0x12de12,_0x483f2a=this[_0x4652d7(0x16b)]['getParam'](_0x4652d7(0x1f5));_0x5c23d7[_0x4652d7(0x26e)]()!==_0x483f2a&&this[_0x4652d7(0x16b)][_0x4652d7(0x262)](_0x4652d7(0x1f5),_0x5c23d7['getSheetId'](),_0x572de1);}async[_0x12de12(0x283)](_0x2c750b){const _0x33dec4=_0x12de12;var _0x25c0bb;const _0x29dbdf=this[_0x33dec4(0x16b)][_0x33dec4(0x123)](_0x33dec4(0x1f5));if(!_0x29dbdf||!_0x2c750b[_0x33dec4(0x29e)](_0x29dbdf)){const _0x32f1fb=_0x2c750b[_0x33dec4(0x1b9)]()[0x0],_0x2e9965=_0x2c750b['getSheetBySheetId'](_0x32f1fb);if(!_0x2e9965)return;this[_0x33dec4(0x1f3)](_0x2e9965,!0x0),await this['_commandService']['executeCommand'](_0x555b45['id'],{'unitId':_0x2c750b['getUnitId'](),'subUnitId':_0x32f1fb});return;}((_0x25c0bb=_0x2c750b[_0x33dec4(0x151)]())==null?void 0x0:_0x25c0bb['getSheetId']())!==_0x29dbdf&&await this[_0x33dec4(0x294)][_0x33dec4(0x285)](_0x555b45['id'],{'unitId':_0x2c750b[_0x33dec4(0x20e)](),'subUnitId':_0x29dbdf});}};ne=qi([K(0x0,Mt),K(0x1,_0x2257ea),K(0x2,_0x5d1f70),K(0x3,_0x332ec8(_0x8ebbb8)),K(0x4,_0x2fac29(_0x50b109))],ne);var en=Object[_0x12de12(0x311)],tn=(_0x444a7d,_0x3d80a9,_0x471717,_0x15637c)=>{const _0x1d3444=_0x12de12;for(var _0x200852=_0x15637c>0x1?void 0x0:_0x15637c?en(_0x3d80a9,_0x471717):_0x3d80a9,_0x402454=_0x444a7d[_0x1d3444(0x22d)]-0x1,_0x57dbf6;_0x402454>=0x0;_0x402454--)(_0x57dbf6=_0x444a7d[_0x402454])&&(_0x200852=_0x57dbf6(_0x200852)||_0x200852);return _0x200852;},Ce=(_0x1447e1,_0x20c354)=>(_0x31fc64,_0x16224b)=>_0x20c354(_0x31fc64,_0x16224b,_0x1447e1);let re=class{constructor(_0x2317a8,_0x3b1dc8,_0x2b369a){const _0x13c2b2=_0x12de12;this['_injector']=_0x2317a8,this[_0x13c2b2(0x30b)]=_0x3b1dc8,this['_renderManagerService']=_0x2b369a;}[_0x12de12(0x2a6)](_0x170e57){const _0x18861a=_0x12de12;this['_transformUndoRedoStack'](_0x170e57),this[_0x18861a(0x2cf)](_0x170e57);}[_0x12de12(0x145)](_0x3201f9){const _0x48569f=_0x12de12,{unitID:_0x81c816}=_0x3201f9,_0x3bfa85=this[_0x48569f(0x1f9)][_0x48569f(0x21f)](_0x81c816)[_0x48569f(0x1ad)](_0x130d90),{redoCache:_0x5a9102}=_0x3bfa85[_0x48569f(0x115)]();if(_0x5a9102['length']===0x0)return _0x3201f9;let _0xb7307b=_0x54d1b3[_0x48569f(0x227)](_0x3201f9[_0x48569f(0x163)][0x0]);for(let _0x4c11b8=0x0;_0x4c11b8<_0x5a9102['length'];_0x4c11b8++){const _0x58f896={'id':_0x48569f(0x2d8),'params':{..._0x5a9102[_0x4c11b8]}},_0x448b2d=this['_transformService'][_0x48569f(0x20f)](_0xb7307b,_0x58f896,!0x1);if(_0x2f7a37(_0x448b2d))throw _0x448b2d['error'];_0xb7307b=_0x448b2d[_0x48569f(0x246)];}return{..._0x54d1b3['deepClone'](_0x3201f9),'mutations':[_0xb7307b]};}[_0x12de12(0x2b9)](_0x5107d4){const _0x962f2d=_0x12de12,{unitID:_0x248773}=_0x5107d4,_0x12d1c9=this[_0x962f2d(0x1f9)][_0x962f2d(0x21f)](_0x248773)['with'](_0x130d90),{undoCache:_0x1d9e13,redoCache:_0x26ca4c}=_0x12d1c9[_0x962f2d(0x115)]();if(_0x1d9e13[_0x962f2d(0x22d)]===0x0||_0x26ca4c[_0x962f2d(0x22d)]===0x0)return;const _0x249cd4=[],_0x21f4de=[];let _0x1ab6cb=_0x54d1b3[_0x962f2d(0x227)](_0x5107d4[_0x962f2d(0x163)][0x0]),_0x14a9ab=_0x54d1b3[_0x962f2d(0x227)](_0x5107d4['mutations'][0x0]);for(let _0x554ad0=_0x1d9e13['length']-0x1;_0x554ad0>=0x0;_0x554ad0--){const _0x4c8973={'id':_0x962f2d(0x2d8),'params':{..._0x1d9e13[_0x554ad0]}},_0x58e692={'id':'doc.mutation.rich-text-editing','params':{..._0x26ca4c[_0x554ad0]}},_0x193bef=this[_0x962f2d(0x30b)][_0x962f2d(0x20f)](_0x1ab6cb,_0x4c8973,!0x1),_0x5bd5ed=this['_transformService'][_0x962f2d(0x20f)](_0x14a9ab,_0x58e692,!0x1);if(_0x2f7a37(_0x193bef))throw _0x193bef[_0x962f2d(0x180)];if(_0x2f7a37(_0x5bd5ed))throw _0x5bd5ed[_0x962f2d(0x180)];_0x249cd4[_0x962f2d(0x2f3)](_0x193bef[_0x962f2d(0x1d8)][_0x962f2d(0x224)]),_0x21f4de['unshift'](_0x5bd5ed[_0x962f2d(0x1d8)]['params']),_0x1ab6cb=_0x193bef[_0x962f2d(0x246)],_0x14a9ab=_0x5bd5ed['m1Prime'];}_0x12d1c9[_0x962f2d(0x2f8)]({'undoCache':_0x249cd4,'redoCache':_0x21f4de});}['_transformPreviousActiveRange'](_0x4908f7){const _0x2bdae0=_0x12de12,{unitID:_0x27bd06}=_0x4908f7,_0x1d0329=this[_0x2bdae0(0x1f9)][_0x2bdae0(0x21f)](_0x27bd06)[_0x2bdae0(0x1ad)](_0x130d90),_0x1436c9=_0x1d0329[_0x2bdae0(0x1b8)]();if(_0x1436c9==null)return;const _0xfe2189=[{'id':_0x2bdae0(0x2d8),'params':{'unitId':_0x4908f7['unitID'],'actions':null,'textRanges':[_0x1436c9]}}],_0x52563d=this['_transformService']['transformMutationsWithChangeset'](_0x4908f7,_0xfe2189);if(!_0xe82c2e(_0x52563d))throw _0x52563d[_0x2bdae0(0x180)];const _0x57491c=_0x52563d[_0x2bdae0(0x1d8)][0x0][_0x2bdae0(0x224)][_0x2bdae0(0x204)];Array['isArray'](_0x57491c)&&_0x57491c[_0x2bdae0(0x22d)]&&_0x1d0329['setActiveRange'](_0x57491c[0x0]);}};re=tn([Ce(0x0,_0x332ec8(_0x508eb3)),Ce(0x1,_0xcb67e),Ce(0x2,_0x495cdc)],re);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x394b59,_0x36048c,_0x1ec2d3,_0x2c7ae0)=>{const _0x2e7a5c=_0x12de12;for(var _0x245665=_0x2c7ae0>0x1?void 0x0:_0x2c7ae0?sn(_0x36048c,_0x1ec2d3):_0x36048c,_0x2fcdf2=_0x394b59[_0x2e7a5c(0x22d)]-0x1,_0x40285a;_0x2fcdf2>=0x0;_0x2fcdf2--)(_0x40285a=_0x394b59[_0x2fcdf2])&&(_0x245665=_0x40285a(_0x245665)||_0x245665);return _0x245665;},Ee=(_0xdf99fe,_0x2ffb45)=>(_0x2d9502,_0x2e1945)=>_0x2ffb45(_0x2d9502,_0x2e1945,_0xdf99fe);let oe=class{constructor(_0x416a22,_0x24d3bb,_0x281d50){const _0x28122d=_0x12de12;this[_0x28122d(0x2c5)]=_0x416a22,this['_transformService']=_0x24d3bb,this[_0x28122d(0x1c0)]=_0x281d50;}['transformStateCache'](_0x390ba1){const _0x4f256c=_0x12de12;this[_0x4f256c(0x2a4)](_0x390ba1);}['transformRemoteChangeset'](_0x336038){const _0x245b66=_0x12de12,{unitID:_0x156d9c}=_0x336038,{collaboration:_0x28e332}=this['_docStateChangeManagerService']['getStateCache'](_0x156d9c);if(_0x28e332[_0x245b66(0x22d)]===0x0)return _0x336038;let _0x243781=_0x54d1b3[_0x245b66(0x227)](_0x336038[_0x245b66(0x163)][0x0]);for(let _0x459baa=0x0;_0x459baa<_0x28e332[_0x245b66(0x22d)];_0x459baa++){const _0x3402b4={'id':_0x245b66(0x2d8),'params':{'unitId':_0x28e332[_0x459baa][_0x245b66(0x10d)],..._0x28e332[_0x459baa][_0x245b66(0x122)]}},_0x3dc769=this[_0x245b66(0x30b)][_0x245b66(0x20f)](_0x243781,_0x3402b4,!0x1);if(_0x2f7a37(_0x3dc769))throw _0x3dc769[_0x245b66(0x180)];_0x243781=_0x3dc769[_0x245b66(0x246)];}return{..._0x54d1b3[_0x245b66(0x227)](_0x336038),'mutations':[_0x243781]};}[_0x12de12(0x2a4)](_0x4e68c2){const _0x501ad=_0x12de12,{unitID:_0x39b25a}=_0x4e68c2,{history:_0x2eebca,collaboration:_0x5f0950}=this['_docStateChangeManagerService'][_0x501ad(0x258)](_0x39b25a);if(_0x2eebca['length']===0x0&&_0x5f0950[_0x501ad(0x22d)]===0x0)return;const _0x5a6d35=[],_0x22f0dc=[];let _0x546aaf=_0x54d1b3['deepClone'](_0x4e68c2[_0x501ad(0x163)][0x0]),_0x275698=_0x54d1b3[_0x501ad(0x227)](_0x4e68c2['mutations'][0x0]);for(let _0x42bb93=_0x2eebca[_0x501ad(0x22d)]-0x1;_0x42bb93>=0x0;_0x42bb93--){const _0x7b1811={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2eebca[_0x42bb93][_0x501ad(0x10d)],..._0x2eebca[_0x42bb93][_0x501ad(0x1ba)]}},_0x480406={'id':_0x501ad(0x2d8),'params':{'unitId':_0x2eebca[_0x42bb93][_0x501ad(0x10d)],..._0x2eebca[_0x42bb93][_0x501ad(0x122)]}},_0x1c0364=this[_0x501ad(0x30b)][_0x501ad(0x20f)](_0x546aaf,_0x7b1811,!0x1),_0x5d69aa=this[_0x501ad(0x30b)][_0x501ad(0x20f)](_0x275698,_0x480406,!0x1);if(_0x2f7a37(_0x1c0364))throw _0x1c0364[_0x501ad(0x180)];if(_0x2f7a37(_0x5d69aa))throw _0x5d69aa[_0x501ad(0x180)];_0x5a6d35['unshift']({..._0x2eebca[_0x42bb93],'undoState':_0x1c0364[_0x501ad(0x1d8)]['params'],'redoState':_0x5d69aa[_0x501ad(0x1d8)][_0x501ad(0x224)]}),_0x546aaf=_0x1c0364[_0x501ad(0x246)],_0x275698=_0x5d69aa[_0x501ad(0x246)];}_0x546aaf=_0x54d1b3[_0x501ad(0x227)](_0x4e68c2['mutations'][0x0]),_0x275698=_0x54d1b3[_0x501ad(0x227)](_0x4e68c2[_0x501ad(0x163)][0x0]);for(let _0x17abe7=_0x5f0950[_0x501ad(0x22d)]-0x1;_0x17abe7>=0x0;_0x17abe7--){const _0xda3ee7={'id':_0x501ad(0x2d8),'params':{'unitId':_0x5f0950[_0x17abe7][_0x501ad(0x10d)],..._0x5f0950[_0x17abe7][_0x501ad(0x1ba)]}},_0x3674d5={'id':_0x501ad(0x2d8),'params':{'unitId':_0x5f0950[_0x17abe7][_0x501ad(0x10d)],..._0x5f0950[_0x17abe7][_0x501ad(0x122)]}},_0x50ab80=this[_0x501ad(0x30b)][_0x501ad(0x20f)](_0x546aaf,_0xda3ee7,!0x1),_0x2ff95d=this[_0x501ad(0x30b)][_0x501ad(0x20f)](_0x275698,_0x3674d5,!0x1);if(_0x2f7a37(_0x50ab80))throw _0x50ab80[_0x501ad(0x180)];if(_0x2f7a37(_0x2ff95d))throw _0x2ff95d[_0x501ad(0x180)];_0x22f0dc['unshift']({..._0x5f0950[_0x17abe7],'undoState':_0x50ab80[_0x501ad(0x1d8)][_0x501ad(0x224)],'redoState':_0x2ff95d[_0x501ad(0x1d8)][_0x501ad(0x224)]}),_0x546aaf=_0x50ab80[_0x501ad(0x246)],_0x275698=_0x2ff95d['m1Prime'];}this[_0x501ad(0x1c0)][_0x501ad(0x28f)](_0x39b25a,{'history':_0x5a6d35,'collaboration':_0x22f0dc});}};oe=nn([Ee(0x0,_0x332ec8(_0x508eb3)),Ee(0x1,_0xcb67e),Ee(0x2,_0x332ec8(_0x20f803))],oe);var rn=Object[_0x12de12(0x311)],on=(_0x55d341,_0x7876ab,_0x4d3e89,_0x224762)=>{const _0xa8cbde=_0x12de12;for(var _0x102599=_0x224762>0x1?void 0x0:_0x224762?rn(_0x7876ab,_0x4d3e89):_0x7876ab,_0xabf454=_0x55d341[_0xa8cbde(0x22d)]-0x1,_0x29b3ea;_0xabf454>=0x0;_0xabf454--)(_0x29b3ea=_0x55d341[_0xabf454])&&(_0x102599=_0x29b3ea(_0x102599)||_0x102599);return _0x102599;},st=(_0x5da65f,_0x2a91c6)=>(_0x444fcf,_0xaf29bb)=>_0x2a91c6(_0x444fcf,_0xaf29bb,_0x5da65f);let ae=class{constructor(_0x56831c,_0x3b32b6){const _0xd0d9b5=_0x12de12;this[_0xd0d9b5(0x2c5)]=_0x56831c,this[_0xd0d9b5(0x30b)]=_0x3b32b6;}['transformSelections'](_0x5bb50a){const _0x184ddd=_0x12de12;var _0x2d7aa3;const _0x4c6619=this[_0x184ddd(0x2c5)][_0x184ddd(0x16a)](_0x4c7e53),_0x447c9c=(_0x2d7aa3=_0x4c6619[_0x184ddd(0x1b1)]())!=null?_0x2d7aa3:[];if(_0x447c9c[_0x184ddd(0x22d)]===0x0)return;const _0x367841=_0x5bb50a[_0x184ddd(0x2ad)],_0x2680d9=[{'id':_0x184ddd(0x2d8),'params':{'unitId':_0x367841,'actions':null,'textRanges':_0x447c9c}}],_0x28c132=this[_0x184ddd(0x30b)][_0x184ddd(0x144)](_0x5bb50a,_0x2680d9);if(!_0xe82c2e(_0x28c132))throw _0x28c132[_0x184ddd(0x180)];const _0x5da937=_0x28c132[_0x184ddd(0x1d8)][0x0][_0x184ddd(0x224)][_0x184ddd(0x204)];Array[_0x184ddd(0x2aa)](_0x5da937)&&_0x5da937['length']&&_0x4c6619[_0x184ddd(0x149)](_0x5da937,{'unitId':_0x367841,'subUnitId':_0x367841},!0x1);}};ae=on([st(0x0,_0x332ec8(_0x508eb3)),st(0x1,_0xcb67e)],ae);function _0xd0de(_0x1641d3,_0x142224){const _0x4c5f68=_0x4c5f();return _0xd0de=function(_0xd0de73,_0x5ecbb6){_0xd0de73=_0xd0de73-0x10c;let _0x2f03eb=_0x4c5f68[_0xd0de73];return _0x2f03eb;},_0xd0de(_0x1641d3,_0x142224);}var an=Object[_0x12de12(0x311)],cn=(_0x3336bf,_0x2851c2,_0x4542ac,_0x4cd075)=>{for(var _0x2dac20=_0x4cd075>0x1?void 0x0:_0x4cd075?an(_0x2851c2,_0x4542ac):_0x2851c2,_0x383fe9=_0x3336bf['length']-0x1,_0x5cea24;_0x383fe9>=0x0;_0x383fe9--)(_0x5cea24=_0x3336bf[_0x383fe9])&&(_0x2dac20=_0x5cea24(_0x2dac20)||_0x2dac20);return _0x2dac20;},U=(_0x47d322,_0x46fe18)=>(_0x3e4b8c,_0x14c83c)=>_0x46fe18(_0x3e4b8c,_0x14c83c,_0x47d322);let ce=class extends _0x5e9dd2{constructor(_0x3e0442,_0x4dc6b3,_0x372c9d,_0x4bd225,_0xe3729a,_0x1ba4f2,_0x155332,_0x4e6f92){const _0x382d7c=_0x12de12;super(),_(this,_0x382d7c(0x12d),new _0x5ee1f9(_0x38154b[_0x382d7c(0x292)])),(this[_0x382d7c(0x1c0)]=_0x3e0442,this[_0x382d7c(0x2c3)]=_0x4dc6b3,this[_0x382d7c(0x127)]=_0x372c9d,this['_docTransformStateCacheService']=_0x4bd225,this[_0x382d7c(0x190)]=_0xe3729a,this[_0x382d7c(0x16e)]=_0x1ba4f2,this[_0x382d7c(0x154)]=_0x155332,this['_localeService']=_0x4e6f92,this[_0x382d7c(0x171)]());}['_initEntityListener'](){const _0x6ac852=_0x12de12;this[_0x6ac852(0x17f)](this[_0x6ac852(0x2c3)][_0x6ac852(0x265)][_0x6ac852(0x1fc)](_0x127e9e=>{const _0x428f10=_0x6ac852,_0x1bd960=this[_0x428f10(0x1c0)][_0x428f10(0x19f)][_0x428f10(0x1fc)](_0x5d2462=>{const _0x2ec4eb=_0x428f10;if(_0x5d2462==null)return;const {unitId:_0x3a2210,redoState:_0x1b1d3b,commandId:_0x4b5de5}=_0x5d2462;if(_0x3a2210!==_0x127e9e[_0x2ec4eb(0x2ad)])return;const _0x2a002d={'id':_0x4b5de5,'type':_0x171abe[_0x2ec4eb(0x14b)],'params':{'unitId':_0x3a2210,'actions':_0x1b1d3b[_0x2ec4eb(0x24d)],'textRanges':null}};_0x127e9e[_0x2ec4eb(0x1c8)](_0x2a002d);});if(_0x127e9e[_0x428f10(0x17f)](_0x1bd960),_0x127e9e instanceof _0xfbe90b){const _0x1deeee={'onTransformIME':_0x3b3a74=>this['_docTransformIMECacheService'][_0x428f10(0x2a6)](_0x3b3a74),'onTransformState':_0x3a252e=>this['_docTransformStateCacheService'][_0x428f10(0x279)](_0x3a252e),'onTransformSelections':_0x3a3237=>this['_docTransformSelectionsService'][_0x428f10(0x2a9)](_0x3a3237),'onSyncEditingCollabCursor':_0x12ecc3=>this[_0x428f10(0x16e)][_0x428f10(0x24a)](_0x12ecc3),'onTransformRemoteChangesetByIMECache':_0x341440=>this[_0x428f10(0x127)][_0x428f10(0x145)](_0x341440),'onTransformRemoteChangesetByStateCache':_0x3a5f45=>this[_0x428f10(0x1e5)][_0x428f10(0x145)](_0x3a5f45)};_0x127e9e['addHandlerCallback'](_0x1deeee);}}));}};ce=cn([U(0x0,_0x332ec8(_0x20f803)),U(0x1,_0x332ec8(_0x2545df)),U(0x2,_0x332ec8(re)),U(0x3,_0x332ec8(oe)),U(0x4,_0x332ec8(ae)),U(0x5,_0x332ec8(Fe)),U(0x6,_0x2e3109),U(0x7,_0x332ec8(_0x260cf9))],ce);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x305e24,_0x4e6a2d,_0x33d287,_0xded252)=>{const _0x4536f4=_0x12de12;for(var _0x497e07=_0xded252>0x1?void 0x0:_0xded252?ln(_0x4e6a2d,_0x33d287):_0x4e6a2d,_0x43ca54=_0x305e24[_0x4536f4(0x22d)]-0x1,_0x300dc5;_0x43ca54>=0x0;_0x43ca54--)(_0x300dc5=_0x305e24[_0x43ca54])&&(_0x497e07=_0x300dc5(_0x497e07)||_0x497e07);return _0x497e07;},Oe=(_0x3797cc,_0x313e3b)=>(_0x57d1eb,_0x70fcae)=>_0x313e3b(_0x57d1eb,_0x70fcae,_0x3797cc);let Ae=class extends _0x5e9dd2{constructor(_0x255610,_0x1dc2f0,_0x2e9e4b){const _0x34c0dd=_0x12de12;super(),_(this,_0x34c0dd(0x2af),new Map()),_(this,_0x34c0dd(0x11f),new Map()),_(this,_0x34c0dd(0x261),!0x1),(this['_configService']=_0x255610,this['_localStorageService']=_0x1dc2f0,this[_0x34c0dd(0x119)]=_0x2e9e4b);}[_0x12de12(0x28c)](){const _0x4a9caa=_0x12de12;this[_0x4a9caa(0x261)]=!0x0;}['enableLocalCache'](){const _0x36d89d=_0x12de12;this[_0x36d89d(0x261)]=!0x1;}get[_0x12de12(0x2f6)](){const _0x187f37=_0x12de12;return this[_0x187f37(0x11f)];}[_0x12de12(0x1a0)](){const _0xff3ab=_0x12de12;this[_0xff3ab(0x2bf)]()[_0xff3ab(0x2e2)](()=>super[_0xff3ab(0x1a0)]());}async['loadOfflineData'](_0x2a437e){const _0x4b20ab=_0x12de12;return this[_0x4b20ab(0x261)]?null:this[_0x4b20ab(0x2e0)]['getItem'](_0x5f5c67(_0x2a437e));}async[_0x12de12(0x239)](_0x40d293,_0x209667){const _0x46a11a=_0x12de12;return!!this[_0x46a11a(0x2e0)][_0x46a11a(0x28a)](_0x40d293,_0x209667);}[_0x12de12(0x231)](_0x31338e,_0x569012,_0x75e96c,_0x564167){const _0x458bbb=_0x12de12,_0xeccebd=this[_0x458bbb(0x119)][_0x458bbb(0x1c2)](_0x31338e);this['_cachedData']['set'](_0x31338e,{'unitID':_0x31338e,'type':_0x569012,'awaitingChangeset':_0x75e96c,'mutations':_0x564167,'rev':_0xeccebd}),this[_0x458bbb(0x11f)][_0x458bbb(0x282)](_0x31338e)||this['_scheduleSaving'](_0x31338e);}['_scheduleSaving'](_0x2e00ec){const _0x190078=_0x12de12,_0x1264e8=this[_0x190078(0x170)]();_0x1264e8===0x0?this[_0x190078(0x1cc)](_0x2e00ec):this['_saveTaskMap'][_0x190078(0x124)](_0x2e00ec,setTimeout(()=>this[_0x190078(0x1cc)](_0x2e00ec),_0x1264e8));}[_0x12de12(0x170)](){const _0x35af33=_0x12de12;var _0x364d69;return(_0x364d69=this['_configService'][_0x35af33(0x251)](_0x4c0c99))!=null?_0x364d69:_0x5b1dc1;}['_saveCache'](_0x427232){const _0x2b4345=_0x12de12,_0x42b19b=this[_0x2b4345(0x11f)][_0x2b4345(0x16a)](_0x427232);return _0x42b19b!==void 0x0&&window[_0x2b4345(0x12c)](_0x42b19b),this['_localStorageService']['setItem'](_0x5f5c67(_0x427232),this['_cachedData'][_0x2b4345(0x16a)](_0x427232))[_0x2b4345(0x2e2)](()=>this[_0x2b4345(0x11f)][_0x2b4345(0x249)](_0x427232));}async[_0x12de12(0x2bf)](){const _0x33f30a=_0x12de12,_0x1fba89=[];this[_0x33f30a(0x11f)][_0x33f30a(0x1e0)]((_0xe3edf1,_0x62ae9b)=>{const _0x15df94=_0x33f30a;window['clearTimeout'](_0xe3edf1),_0x1fba89[_0x15df94(0x166)](this['_saveCache'](_0x62ae9b)['then'](()=>{const _0x83ef6a=_0x15df94;this[_0x83ef6a(0x11f)]['delete'](_0x62ae9b);}));}),await Promise[_0x33f30a(0x267)](_0x1fba89);}};Ae=_n([Oe(0x0,_0xf4e66b),Oe(0x1,_0x22492b),Oe(0x2,_0x332ec8(_0xd164b3))],Ae);class hn extends _0x4ca60e{constructor(){const _0x27200a=_0x12de12;super(),_(this,_0x27200a(0x317)),this[_0x27200a(0x317)]=_0x5a3ee5(window,_0x27200a(0x304))[_0x27200a(0x22f)](_0x423462(this[_0x27200a(0x159)]),_0x4a80d6(0x1),_0x1ab99f(void 0x0));}[_0x12de12(0x262)](_0x40b410,_0x5d1892,_0x6b1176=!0x1){const _0x3eb807=_0x12de12,_0x4c7767=new URL(window[_0x3eb807(0x112)][_0x3eb807(0x197)]);_0x4c7767['searchParams'][_0x3eb807(0x124)](_0x40b410,_0x5d1892),_0x6b1176?window['history'][_0x3eb807(0x1f8)]('','',_0x4c7767[_0x3eb807(0x220)]()):window['history'][_0x3eb807(0x155)]('','',_0x4c7767[_0x3eb807(0x220)]());}[_0x12de12(0x1e1)](_0x525606,_0x580059=!0x1){const _0xdae89a=_0x12de12,_0x2c20c9=new URL(window[_0xdae89a(0x112)]['href']);_0x2c20c9[_0xdae89a(0x1ca)][_0xdae89a(0x249)](_0x525606),_0x580059?window[_0xdae89a(0x15b)]['replaceState']('','',_0x2c20c9[_0xdae89a(0x220)]()):window[_0xdae89a(0x15b)][_0xdae89a(0x155)]('','',_0x2c20c9[_0xdae89a(0x220)]());}[_0x12de12(0x123)](_0x1e367c){const _0x2f8fd7=_0x12de12;var _0x510f6d;return(_0x510f6d=new URL(window[_0x2f8fd7(0x112)][_0x2f8fd7(0x197)])[_0x2f8fd7(0x1ca)][_0x2f8fd7(0x16a)](_0x1e367c))!=null?_0x510f6d:void 0x0;}}function _0x4c5f(){const _0x3f539c=['CONNECTOR_DATA_TOO_LARGE','_range','setStateCache','override','getRangePointData','NOT_COLLAB','createInstance','_commandService','CLOSE_ROOM','isEditing','getRelativeToViewportCoord','symbol','idSuffix','_textBubble','_clearOtherTimers','1em','cursorInfo$','getSheetBySheetId','fillStyle','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','flatMap','selections','invokeId','_transformHistoryAndStateStack','YUUMI_NO_CUBOID_FOR_QUESTION','transformIMECache','defs','key','transformSelections','isArray','PERMISSION_DENIED','onPointerLeave$','unitID','round','_cachedData','apply','concat','DeleteRangeMoveUpCommandId','TEXT','off-line-icon_clip0_910_343','_heartbeatTimer','_drawTextRange','_docSkeleton','_docClipboardService','_transformUndoRedoStack','_setupSubUnitSync','getMember','_instanceService','row','_getAnchorBounding','exhaustSavingTask','svg','measureText','AWAITING_WITH_PENDING','_collaborationController','getValue','_injector','ranges','univerjs-icon\x20univerjs-icon-','getAncestorScale','getCurrentUnitForType','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','_beforeCloseService','_handleHover','getSkeleton','collabStatus.syncing','_transformPreviousActiveRange','OTHER_CLIENTS_EDITING','_registerRenderDependencies','mask','M0\x200H16V16H0z','hovered','executionId','PENDING','map','doc.mutation.rich-text-editing','_ensureSubject','source','_online','collaboration.single-unit.warning','tag','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','YUUMI_URL_COL_OUT_OF_RANGE','_localStorageService','getViewport','then','getCollabCursors$','getTypeOfUnitDisposed$','_send','getFocusedUnit','session.connection-failed','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_syncEditingCollabCursorService','indexOf','_initEvent','_cursorShapes','newValue','on-line-icon','collab-text-range-','Error','url(#off-line-icon_clip0_910_343)','INVITE_CODE_REQUIRED','unshift','column','1146GtfhKz','saveTaskMap','unsubscribe','setUndoRedoMutationParamsCache','YUUMI_AI_RUN_FAILED','path','editingUnit','_roomMembers$','RECT','_session','YUUMI_ALL_TABLES_IS_INVALID','fillText','application/json','_dataLoaderService','evenodd','popstate','_imageIoService','fillRule','LICENSE_MAX_UNITS_EXCEEDED','_hideTimer','_getScale','UniverIcon','_transformService','APPLY_REJECT','defineProperty','sheetID','_collabCursorState$','_refreshCollabCursors','getOwnPropertyDescriptor','substring','eventID','MOBILE_VERIFY_CODE_MISMATCH','fill','LICENSE_IMPORT_SIZE_EXCEEDED','urlChange$','USER_NOT_INVITED_CODE','registerRefRange','_setupBeforeClosingHandler','unitId','assign','assignAColorForMemberID','size','_scheduleHeartbeat','location','YUUMI_ASYNCIO_CANCELLED','loadUnit','getUndoRedoMutationParamsCache','_scheduleClearOtherTimer','runId','red.300','_revisionService','getOwnPropertySymbols','VIEW_MAIN','closePath','DeleteRangeMoveLeftCommandId','unit','_saveTaskMap','colorChannel1','collaboration-client-ui.config','redoState','getParam','set','InsertColCommandId','current','_docTransformIMECacheService','SYNCED','restore','yellow.400','code','clearTimeout','_status$','width','includes','init','UNIVER_SHEET','_removeCollabCursors','OTHER_CLIENT_EDITING','collab-rect-range-','EMAIL_HAS_BEEN_BOUND','_getMergeRange','url(#$1','asObservable','origin','OffLineIcon','_cursorInfo$','_context','_labelPosition','1115634vkkBia','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','focused$','SOCKET_FAILED','LICENSE_EXPORT_SIZE_EXCEEDED','onPointerMove$','transformMutationsWithChangeset','transformRemoteChangeset','beginPath','url(#on-line-icon_clip0_910_349)','top','replaceDocRanges','save','MUTATION','0\x200\x2016\x2016','memberID','ticket','roomMembers','_startSheetCollabCursor','getActiveSheet','imageSourceType','activeSheet$','_messageService','pushState','_lastPointer','collab-text-anchor-','bottom','dispose$','storage','history','_createSocketURL','_handleLeaveEvent','pluginName','INVITE_CODE_ALREADY_BOUND','_eventUnsubscribe','Warning','drawWith','mutations','_startDocCollabCursor','className','push','_config','onStarting','_cursor','get','_urlService','trim','_refRangeService','_docSyncEditingCollabCursorService','_selfUnitIDs','_getSaveTimeout','_initEntityListener','children','_draw','selection','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_initCommandExecutedListener','arc','_sheetSkeletonManagerService','split','collabStatus.notCollab','_scene','attrs','_collabSessionService','font','disposeWithMe','error','entries','startRow','status$','_entities','ONLINE','addClipboardHook','body','_themeService','black','data','_hovered','runOnServer','setInterval','TOO_MANY_REQUESTS','_logService','_docTransformSelectionsService','EMAIL_VERIFY_CODE_MISMATCH','unload','currentSkeleton$','subscribeEvent','_toggleOnline','YUUMI_UNABLE_LOAD_URL','href','stringify','_updateLocalCursor','currentColor','364894WySVll','_id','event$','_name','docStateChange$','dispose','show','result','...','1239658uFYAAE','INVITE_CODE_HAS_BEEN_UES','random','setTimeout','InsertRangeMoveDownCommandId','white','registerBeforeClose','MOBILE_HAS_BEEN_BOUND','PY_RUNTIME_SCRIPT_ERROR','with','toRgbString','getUniverSheetInstance','_onCursorDelete','getDocRanges','isActive','prototype','registerRenderModule','getOffsetConfig','CONFLICT','moveTo','getActiveRange','getUnhiddenWorksheets','undoState','_configService','post','UPDATE_CURSOR','startColumn','getCurrentSelections','_docStateChangeManagerService','CHANGESET_REVISION_CONFILICT','getCurrentRevOfUnit','session.collaboration-timeout','none','YUUMI_RATE_OVER_LIMIT','blue.400','engine','onLocalMutation','_unitOnClients','searchParams','HEADER_MENU','_saveCache','getVpScrollXYInfoByPosToVp','height','max','[CollaborationDataLoaderController]','OFFLINE','cursorInfo','onCommandExecuted','values','rgba(255,\x20255,\x20255,\x200.01)','_color','collabCursorState$','m2Prime','registerComponent','_unitStatus','INVALID_INVITE_CODE','icon','session.will-retry','sessionStatus$','_init','forEach','removeParam','RemoveRowCommandId','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','add','_docTransformStateCacheService','on-line-icon_clip0_910_349','0\x200\x2017\x2016','_registerDependencies','transform','APPLY_NON_SEQUENTIAL_REVISION','range','extend','getCurrent','NOT_FOUND','debug','xlink:href','INVALID_ARGUMENT','lineTo','_updateURLWithCurrentState','createSocket','subunit','permission.title','hasOwnProperty','replaceState','_renderManagerService','_notificationService','2865DvhFpu','subscribe','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_anchorDot','_toggleOffline','INTERNAL_ERROR','APPLY_PERMISSION_DENIED','some','setAlpha','textRanges','_collabCursorController','_handleEvent','saveImage','_drawRectRange','reconnect','_univerInstanceService','FromArray','collab-client.tooltip.reconnect','_removeClearOtherTimer','getUnitId','transformMutation','http://www.w3.org/2000/svg','_backgroundColor','Failed','use','roomMembers$','onPointerEnter$','_entityInit$','getCellPositionByOffset','defIds','name','_colorIndex','18jmPnqA','getColorFromTheme','638376NepuZp','_onCursorUpdate','getRenderById','toString','next','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','endColumn','params','ALREADY_EXISTS','send','deepClone','collabStatus.synced','uni.network.url-service','hide','onRendered','562994RloXOA','length','div','pipe','_shapes','updateOfflineData','clearInterval','contains','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','call','addObject','LOGIN_FAILED','text','saveOfflineData','SUBMIT_CHANGESET_TIMEOUT','OnLineIcon','InsertRowCommandId','_initResize','displayName','onMouseMove','makeDirty','UNIVER_DOC','JOIN_ROOM_FAILED','from','skeleton','_assignedColors','m1Prime','2360056BNljzZ','labelPosition','delete','syncEditingCollabCursor','_handleJoinEvent','_docSkeletonManagerService','actions','APPLY_REVISION_CONFILICT','_onRefRangeChange','_hover','getConfig','Unknown\x20user','_drawAnchor','endRow','YUUMI_SUBSCRIPTION_NOT_FOUND','green.600','_anchor','getStateCache','type','_getSessionTicket','YUUMI_CONNECTOR_URL_NOT_FOUND','ENSURE_SNAPSHOT_EXECUTION','SNAPSHOT_HAS_BEEN_REMOVED','_render','_initStatusListener','NO_OTHER_CLIENTS_EDITING','_disabled','setParam','_collaborationUIEventService','purple.300','entityInit$','_localeService','all','#FFF','_httpService','_localCacheService','addEventListener','complete','setShapeProps','getSheetId','requireSession','_updateCollabCursors','collabStatus.conflict','find','UNDEFINED','_getSheetObject','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','UNAUTHENTICATED','SOCKET_FAILED_RETRY','collaboration.closeRoom','transformStateCache','disposeUnit','parse','_memberService','_uiPartsService','collabStatus.fetchMiss','_cursors','string','color','has','_updateSubUnitFromURLParams','SNAPSHOT_INVALID_SNAPSHOT','executeCommand','findNodePositionByCharIndex','_initDependencies','clipPath','WECHAT_HAS_BEEN_BOUND','setItem','LICENSE_DISTRO_REJECTED','disableLocalCache'];_0x4c5f=function(){return _0x3f539c;};return _0x4c5f();}var un=Object[_0x12de12(0x30d)],dn=Object['getOwnPropertyDescriptor'],fn=(_0xa5ba03,_0x21754f,_0x3904e8)=>_0x21754f in _0xa5ba03?un(_0xa5ba03,_0x21754f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3904e8}):_0xa5ba03[_0x21754f]=_0x3904e8,Sn=(_0x5c1c6b,_0x13f232,_0x3c840a,_0x53dfaf)=>{const _0x3c1d54=_0x12de12;for(var _0x8d5272=_0x53dfaf>0x1?void 0x0:_0x53dfaf?dn(_0x13f232,_0x3c840a):_0x13f232,_0x23b279=_0x5c1c6b[_0x3c1d54(0x22d)]-0x1,_0x3905d0;_0x23b279>=0x0;_0x23b279--)(_0x3905d0=_0x5c1c6b[_0x23b279])&&(_0x8d5272=_0x3905d0(_0x8d5272)||_0x8d5272);return _0x8d5272;},be=(_0x51cd16,_0x19973f)=>(_0xe84f1f,_0x1df355)=>_0x19973f(_0xe84f1f,_0x1df355,_0x51cd16),mn=(_0x4bf5e9,_0xc0e40d,_0x16075d)=>fn(_0x4bf5e9,_0xc0e40d+'',_0x16075d);const In=_0x12de12(0x1e3);let ye=class extends _0x319c25{constructor(_0x599913=tt,_0x35cdd3,_0x6627a6,_0x4c8f4f){const _0x488c05=_0x12de12;super(),this[_0x488c05(0x167)]=_0x599913,this['_renderManagerService']=_0x35cdd3,this['_injector']=_0x6627a6,this[_0x488c05(0x1bb)]=_0x4c8f4f;const {..._0x296bee}=_0x411b15({},tt,this[_0x488c05(0x167)]);this[_0x488c05(0x1bb)]['setConfig'](Zi,_0x296bee);}[_0x12de12(0x168)](){const _0x252ed9=_0x12de12;this[_0x252ed9(0x1e8)](),this[_0x252ed9(0x287)]();}[_0x12de12(0x22b)](){this['_registerRenderDependencies']();}[_0x12de12(0x1e8)](){const _0x2d4176=_0x12de12;var _0x4f1ca1;const _0x360cb0=[[He],[ae],[re],[oe],[Fe],[Mt,{'useClass':hn}],[_0x4329f0,{'useClass':_0x20bc64}],[_0x39ab8f,{'useClass':Ae}],[se],[ce],[ie],[F],[Ue],[ne]];_0x2ffaaa(this[_0x2d4176(0x2c5)],_0x20c14e(_0x360cb0,(_0x4f1ca1=this['_config'])==null?void 0x0:_0x4f1ca1[_0x2d4176(0x290)]));}[_0x12de12(0x2d1)](){const _0x19c25f=_0x12de12;this[_0x19c25f(0x17f)](this[_0x19c25f(0x1f9)][_0x19c25f(0x1b4)](_0x23ef05['UNIVER_DOC'],[Pe])),this[_0x19c25f(0x17f)](this[_0x19c25f(0x1f9)]['registerRenderModule'](_0x23ef05[_0x19c25f(0x131)],[we]));}['_initDependencies'](){const _0x5f3e34=_0x12de12;_0x6a8c8c(this[_0x5f3e34(0x2c5)],[[F],[se],[ce],[ie],[ne]]);}};mn(ye,_0x12de12(0x15e),In),ye=Sn([_0x731126(_0x43c004),be(0x1,_0x495cdc),be(0x2,_0x332ec8(_0x508eb3)),be(0x3,_0xf4e66b)],ye);var vn=Object[_0x12de12(0x311)],gn=(_0x235d46,_0x1f4726,_0x2dd49d,_0x59da2d)=>{const _0x2c64ec=_0x12de12;for(var _0x3b16b7=_0x59da2d>0x1?void 0x0:_0x59da2d?vn(_0x1f4726,_0x2dd49d):_0x1f4726,_0x5aa156=_0x235d46[_0x2c64ec(0x22d)]-0x1,_0x87fd9f;_0x5aa156>=0x0;_0x5aa156--)(_0x87fd9f=_0x235d46[_0x5aa156])&&(_0x3b16b7=_0x87fd9f(_0x3b16b7)||_0x3b16b7);return _0x3b16b7;},z=(_0x1665a6,_0xb8b9e6)=>(_0x1e381f,_0x43c803)=>_0xb8b9e6(_0x1e381f,_0x43c803,_0x1665a6);let it=class extends _0x143962{constructor(_0x5dcc33,_0x3a5462,_0x356869,_0x106bd1,_0xd12437){super(_0x5dcc33,_0x3a5462,_0x356869,_0x106bd1,_0xd12437);}async[_0x12de12(0x1f4)](_0x44c57a){const _0x303b58=_0x12de12,_0x4f502b=await this[_0x303b58(0x25a)](),_0x5423cb=this[_0x303b58(0x15c)](_0x44c57a,_0x4f502b);return this['_doCreateSocket'](_0x5423cb);}[_0x12de12(0x15c)](_0x492238,_0x299eb4){const _0x59016d=_0x12de12,_0x56c9f4=typeof window>'u'?new URL(_0x492238):new URL(_0x492238,window['location'][_0x59016d(0x139)]);_0x56c9f4[_0x59016d(0x1ca)][_0x59016d(0x124)]('sessionTicket',_0x299eb4);const _0x3f77bf=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x59016d(0x112)]['search']);return _0x3f77bf[_0x59016d(0x16a)](_0x59016d(0x117))&&_0x56c9f4['searchParams']['set'](_0x59016d(0x117),_0x3f77bf[_0x59016d(0x16a)]('runId')),_0x56c9f4[_0x59016d(0x220)]();}async[_0x12de12(0x25a)](){const _0x12044c=_0x12de12;var _0x57abd9,_0x3d8850,_0x3c7f6f;const _0xb3f248=this[_0x12044c(0x1bb)]['getConfig'](_0x3269af),_0x1a914c=(_0x57abd9=_0xb3f248==null?void 0x0:_0xb3f248['wsSessionTicketUrl'])!=null?_0x57abd9:_0xfa8b53;return(_0x3c7f6f=(_0x3d8850=(await this[_0x12044c(0x269)][_0x12044c(0x16a)](_0x1a914c,{'headers':{'Content-Type':_0x12044c(0x301)}}))['body'])==null?void 0x0:_0x3d8850[_0x12044c(0x14e)])!=null?_0x3c7f6f:'';}};it=gn([z(0x0,_0x332ec8(_0x508eb3)),z(0x1,_0x332ec8(_0x515e84)),z(0x2,_0xf4e66b),z(0x3,_0x2257ea),z(0x4,_0x497968)],it);const nt=0x7530,rt='ACTIVE_UNIT_EVENT_CHANNEL';class Fn extends _0x5e9dd2{constructor(){const _0x31e475=_0x12de12;super(),_(this,_0x31e475(0x19c),_0x59fac7()),_(this,'_selfUnitIDs',new Set()),_(this,'_unitOnClients',new Map()),_(this,'_heartbeatTimer',null),_(this,'_clearOtherTimers',new Map()),_(this,_0x31e475(0x1da),new Map()),this[_0x31e475(0x1df)]();}[_0x12de12(0x1a0)](){const _0x57ea92=_0x12de12;super[_0x57ea92(0x1a0)](),this[_0x57ea92(0x29b)][_0x57ea92(0x1e0)]((_0x27cd48,_0x5b8c92)=>this[_0x57ea92(0x20d)](_0x5b8c92)),this['_heartbeatTimer']&&window[_0x57ea92(0x232)](this[_0x57ea92(0x2b5)]);}['getUnitStatus$'](_0x15c55d){const _0x50b3c5=_0x12de12;return this[_0x50b3c5(0x2d9)](_0x15c55d)[_0x50b3c5(0x22f)](_0x1ffce2());}[_0x12de12(0x2fb)](_0x3dcce0){const _0x49667=_0x12de12;this[_0x49667(0x16f)][_0x49667(0x110)]===0x0&&this[_0x49667(0x111)](),this[_0x49667(0x16f)]['add'](_0x3dcce0),this[_0x49667(0x2e5)]({'type':0x0,'memberID':this[_0x49667(0x19c)],'unitIDs':[_0x3dcce0],'isForwarded':!0x1});}[_0x12de12(0x27a)](_0x487b79){const _0x5b23c=_0x12de12;this['_selfUnitIDs']['delete'](_0x487b79),this[_0x5b23c(0x16f)][_0x5b23c(0x110)]===0x0&&this[_0x5b23c(0x2b5)]&&window[_0x5b23c(0x232)](this[_0x5b23c(0x2b5)]);}[_0x12de12(0x1df)](){const _0x1394f3=_0x12de12;this['disposeWithMe'](_0x300665(_0x5a3ee5(window,_0x1394f3(0x15a))[_0x1394f3(0x1fc)](_0x527932=>{const _0x3e5bff=_0x1394f3;if(_0x527932[_0x3e5bff(0x2a8)]!==rt||!_0x527932[_0x3e5bff(0x2ed)])return;const _0x57aa3f=JSON[_0x3e5bff(0x27b)](_0x527932[_0x3e5bff(0x2ed)]);this[_0x3e5bff(0x206)](_0x57aa3f);}))),window[_0x1394f3(0x26b)](_0x1394f3(0x192),()=>this['_send']({'type':0x1,'memberID':this[_0x1394f3(0x19c)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}[_0x12de12(0x206)](_0x158da3){const _0x462401=_0x12de12;switch(_0x158da3[_0x462401(0x259)]){case 0x0:this[_0x462401(0x24b)](_0x158da3);break;case 0x1:this[_0x462401(0x15d)](_0x158da3);break;case 0x2:this['_handleHeartbeatEvent'](_0x158da3);break;}}['_handleJoinEvent'](_0x3b5598){const _0x39a042=_0x12de12,{unitIDs:_0x4d16e7,memberID:_0xde6f94,isForwarded:_0x27dd4e}=_0x3b5598;_0x4d16e7['forEach'](_0x2b4207=>{const _0x1ffaa0=_0xd0de;if(!_0x27dd4e&&this[_0x1ffaa0(0x1c9)]['has'](_0x2b4207)&&this[_0x1ffaa0(0x2d9)](_0x2b4207)[_0x1ffaa0(0x221)](_0x4cdd10[_0x1ffaa0(0x2d0)]),!this[_0x1ffaa0(0x1c9)][_0x1ffaa0(0x282)](_0x2b4207)||!this['_unitOnClients'][_0x1ffaa0(0x16a)](_0x2b4207)[_0x1ffaa0(0x282)](_0xde6f94)){const _0x41a8fe=this[_0x1ffaa0(0x1c9)][_0x1ffaa0(0x16a)](_0x2b4207)||new Set();_0x41a8fe[_0x1ffaa0(0x1e4)](_0xde6f94),this['_unitOnClients'][_0x1ffaa0(0x124)](_0x2b4207,_0x41a8fe),this[_0x1ffaa0(0x116)](_0xde6f94);}}),_0x27dd4e||this[_0x39a042(0x2e5)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x39a042(0x16f)]],'isForwarded':!0x0});}[_0x12de12(0x116)](_0x8dc07c){const _0x427f2d=_0x12de12;this['_removeClearOtherTimer'](_0x8dc07c);const _0x3de170=window[_0x427f2d(0x1a7)](()=>{const _0x464df5=_0x427f2d;this[_0x464df5(0x1c9)]['forEach'](_0x563f4f=>{const _0x165a64=_0x464df5;_0x563f4f[_0x165a64(0x249)](_0x8dc07c);});},nt*0x2);this[_0x427f2d(0x29b)]['set'](_0x8dc07c,_0x3de170);}[_0x12de12(0x20d)](_0x1e1717){const _0x503fe5=_0x12de12;if(this[_0x503fe5(0x29b)]['has'](_0x1e1717)){const _0x2ff00c=this['_clearOtherTimers'][_0x503fe5(0x16a)](_0x1e1717);_0x2ff00c&&window[_0x503fe5(0x12c)](_0x2ff00c),this[_0x503fe5(0x29b)][_0x503fe5(0x124)](_0x1e1717,null);}}[_0x12de12(0x15d)](_0x4abd24){const _0x142340=_0x12de12,{memberID:_0x3dd620,unitIDs:_0x5820e7}=_0x4abd24;_0x5820e7[_0x142340(0x1e0)](_0x17025a=>{const _0x54b607=_0x142340;var _0x4137a9;const _0x3f0d00=this['_unitOnClients']['get'](_0x17025a);_0x3f0d00&&(_0x3f0d00[_0x54b607(0x249)](_0x3dd620),(_0x4137a9=this[_0x54b607(0x2d9)](_0x17025a))==null||_0x4137a9['next'](_0x3f0d00[_0x54b607(0x110)]===0x0?_0x4cdd10[_0x54b607(0x260)]:_0x4cdd10[_0x54b607(0x2d0)]));}),this[_0x142340(0x20d)](_0x3dd620);}['_handleHeartbeatEvent'](_0x65f5b3){const _0x2583ee=_0x12de12;this[_0x2583ee(0x116)](_0x65f5b3[_0x2583ee(0x14d)]);}[_0x12de12(0x2e5)](_0x385561){const _0x277136=_0x12de12;localStorage[_0x277136(0x28a)](rt,JSON[_0x277136(0x198)](_0x385561));}[_0x12de12(0x111)](){const _0x41e00e=_0x12de12;this[_0x41e00e(0x2b5)]=window[_0x41e00e(0x18d)](()=>{const _0x294a64=_0x41e00e;this[_0x294a64(0x2e5)]({'type':0x2,'memberID':this['_id']});},nt);}[_0x12de12(0x2d9)](_0x5482ac){const _0x45abff=_0x12de12;return this['_unitStatus'][_0x45abff(0x282)](_0x5482ac)||this[_0x45abff(0x1da)]['set'](_0x5482ac,new _0x5ee1f9(_0x4cdd10['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus']['get'](_0x5482ac);}}var Lt=(_0x4836b3=>(_0x4836b3[_0x4836b3['UNDEFINED']=0x0]=_0x12de12(0x273),_0x4836b3[_0x4836b3['OK']=0x1]='OK',_0x4836b3[_0x4836b3[_0x12de12(0x200)]=0x2]='INTERNAL_ERROR',_0x4836b3[_0x4836b3['PERMISSION_DENIED']=0x3]=_0x12de12(0x2ab),_0x4836b3[_0x4836b3[_0x12de12(0x1ee)]=0x4]=_0x12de12(0x1ee),_0x4836b3[_0x4836b3[_0x12de12(0x276)]=0x5]='UNAUTHENTICATED',_0x4836b3[_0x4836b3[_0x12de12(0x225)]=0x6]=_0x12de12(0x225),_0x4836b3[_0x4836b3['INVALID_ARGUMENT']=0x7]=_0x12de12(0x1f1),_0x4836b3[_0x4836b3[_0x12de12(0x18e)]=0x8]=_0x12de12(0x18e),_0x4836b3[_0x4836b3['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x4836b3[_0x4836b3['LOGIN_FAILED']=0xa]=_0x12de12(0x237),_0x4836b3[_0x4836b3[_0x12de12(0x314)]=0xb]=_0x12de12(0x314),_0x4836b3[_0x4836b3['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x12de12(0x2a0),_0x4836b3[_0x4836b3[_0x12de12(0x191)]=0xd]=_0x12de12(0x191),_0x4836b3[_0x4836b3[_0x12de12(0x2de)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x4836b3[_0x4836b3[_0x12de12(0x1c1)]=0x1389]=_0x12de12(0x1c1),_0x4836b3[_0x4836b3['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x12de12(0x284),_0x4836b3[_0x4836b3[_0x12de12(0x25d)]=0x1772]=_0x12de12(0x25d),_0x4836b3[_0x4836b3[_0x12de12(0x25c)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x4836b3[_0x4836b3[_0x12de12(0x30c)]=0x1b59]=_0x12de12(0x30c),_0x4836b3[_0x4836b3[_0x12de12(0x1ea)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x4836b3[_0x4836b3[_0x12de12(0x24e)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x4836b3[_0x4836b3[_0x12de12(0x201)]=0x1b5c]=_0x12de12(0x201),_0x4836b3[_0x4836b3['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x4836b3[_0x4836b3[_0x12de12(0x28d)]=0x1f41]=_0x12de12(0x28d),_0x4836b3[_0x4836b3[_0x12de12(0x307)]=0x2329]=_0x12de12(0x307),_0x4836b3[_0x4836b3[_0x12de12(0x13f)]=0x232a]=_0x12de12(0x13f),_0x4836b3[_0x4836b3[_0x12de12(0x316)]=0x232b]=_0x12de12(0x316),_0x4836b3[_0x4836b3[_0x12de12(0x142)]=0x232c]=_0x12de12(0x142),_0x4836b3[_0x4836b3[_0x12de12(0x28b)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x4836b3[_0x4836b3['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x12de12(0x196),_0x4836b3[_0x4836b3['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x12de12(0x2df),_0x4836b3[_0x4836b3[_0x12de12(0x1c5)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x4836b3[_0x4836b3['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x12de12(0x255),_0x4836b3[_0x4836b3[_0x12de12(0x2a5)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x4836b3[_0x4836b3[_0x12de12(0x113)]=0x271b]=_0x12de12(0x113),_0x4836b3[_0x4836b3['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x4836b3[_0x4836b3[_0x12de12(0x2ff)]=0x271d]=_0x12de12(0x2ff),_0x4836b3[_0x4836b3[_0x12de12(0x2e8)]=0x271e]=_0x12de12(0x2e8),_0x4836b3[_0x4836b3[_0x12de12(0x2f9)]=0x271f]=_0x12de12(0x2f9),_0x4836b3[_0x4836b3[_0x12de12(0x25b)]=0x2720]=_0x12de12(0x25b),_0x4836b3[_0x4836b3[_0x12de12(0x1ac)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x4836b3[_0x4836b3[_0x12de12(0x1a5)]=0x2ee1]=_0x12de12(0x1a5),_0x4836b3[_0x4836b3[_0x12de12(0x1db)]=0x2ee2]=_0x12de12(0x1db),_0x4836b3[_0x4836b3[_0x12de12(0x2f2)]=0x2ee3]=_0x12de12(0x2f2),_0x4836b3[_0x4836b3[_0x12de12(0x318)]=0x2ee4]=_0x12de12(0x318),_0x4836b3[_0x4836b3[_0x12de12(0x15f)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x4836b3[_0x4836b3[_0x12de12(0x289)]=0x32c9]=_0x12de12(0x289),_0x4836b3[_0x4836b3['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x12de12(0x1ab),_0x4836b3[_0x4836b3[_0x12de12(0x135)]=0x32cb]=_0x12de12(0x135),_0x4836b3[_0x4836b3['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x4836b3))(Lt||{}),pn=Object[_0x12de12(0x311)],Cn=(_0x597b9b,_0x3e8c9f,_0x4f690c,_0x192731)=>{for(var _0xc8d78c=_0x192731>0x1?void 0x0:_0x192731?pn(_0x3e8c9f,_0x4f690c):_0x3e8c9f,_0x31cf3b=_0x597b9b['length']-0x1,_0x81fd18;_0x31cf3b>=0x0;_0x31cf3b--)(_0x81fd18=_0x597b9b[_0x31cf3b])&&(_0xc8d78c=_0x81fd18(_0xc8d78c)||_0xc8d78c);return _0xc8d78c;},Te=(_0x179edb,_0x3445a6)=>(_0x364052,_0x2e6edc)=>_0x3445a6(_0x364052,_0x2e6edc,_0x179edb);let ot=class extends _0x5e9dd2{constructor(_0x42a26f,_0x1272c4,_0x32c46b){const _0x4b8e06=_0x12de12;super(),this['_instanceService']=_0x42a26f,this[_0x4b8e06(0x269)]=_0x1272c4,this[_0x4b8e06(0x1bb)]=_0x32c46b;}async[_0x12de12(0x18c)](_0xf31fb8,_0x1dbd52,_0x28ce4e,..._0x357f70){const _0x2c892f=_0x12de12;var _0x1dea7e,_0x3a5422,_0x3a16f4,_0x525d32;const _0x360c76=this[_0x2c892f(0x2bc)][_0x2c892f(0x2e6)]();if(!_0x360c76)throw new Error(_0x2c892f(0x1fd));const _0x211ba5=((_0x1dea7e=this[_0x2c892f(0x1bb)][_0x2c892f(0x251)](_0xa828b2))!=null?_0x1dea7e:_0x42466e)+'/'+_0xf31fb8+'/run/'+_0x1dbd52,_0x2392e4=new URL(window[_0x2c892f(0x112)][_0x2c892f(0x197)]),_0x19f29c={'scriptId':_0xf31fb8,'runId':(_0x3a5422=_0x2392e4[_0x2c892f(0x1ca)][_0x2c892f(0x16a)](_0x2c892f(0x117)))!=null?_0x3a5422:'','function':_0x1dbd52,'unitId':_0x360c76['getUnitId'](),'argsOfFunction':JSON[_0x2c892f(0x198)](_0x357f70),'invokeId':(_0x3a16f4=_0x28ce4e[_0x2c892f(0x2a3)])!=null?_0x3a16f4:'','executionId':(_0x525d32=_0x28ce4e[_0x2c892f(0x2d5)])!=null?_0x525d32:''};try{const _0x5a5b07=await this[_0x2c892f(0x269)][_0x2c892f(0x1bc)](_0x211ba5,{'body':_0x19f29c});return _0x5a5b07['body'][_0x2c892f(0x180)]&&_0x5a5b07[_0x2c892f(0x187)][_0x2c892f(0x180)][_0x2c892f(0x12b)]!==Lt['OK']?_0x2c892f(0x212):_0x5a5b07['body'][_0x2c892f(0x1a2)];}catch{return _0x2c892f(0x212);}}};ot=Cn([Te(0x0,_0x575dc2),Te(0x1,_0x332ec8(_0x515e84)),Te(0x2,_0xf4e66b)],ot);export{it as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,se as DesktopCollaborationStatusDisplayController,Mt as IURLService,ot as RemoteUniscriptService,wi as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
package/lib/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x2083be=_0x295d;function _0x2bbf(){const _0x135452=['Syncing...','819045xmtRmA','6549522IiIuHo','Connection\x20failed,\x20please\x20check\x20your\x20network.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','9538380SIfjRw','1aYWVuA','Local\x20file','74208OVkEam','Authentication\x20Error','Syncing\x20server\x20data...','Collaboration\x20Conflict','165OlPmHL','Click\x20to\x20Reconnect','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','6985svwLpe','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Synced','72JKHvDJ','2241056SntLMe','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','6NuEbwB','33880hTclLf','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','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.','850617hyeBFg','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'];_0x2bbf=function(){return _0x135452;};return _0x2bbf();}function _0x295d(_0xdb8072,_0xd49716){const _0x2bbf97=_0x2bbf();return _0x295d=function(_0x295d50,_0x307118){_0x295d50=_0x295d50-0xf1;let _0x58a966=_0x2bbf97[_0x295d50];return _0x58a966;},_0x295d(_0xdb8072,_0xd49716);}(function(_0x101962,_0x4d854a){const _0x1c60ff=_0x295d,_0xd1e978=_0x101962();while(!![]){try{const _0x17de78=parseInt(_0x1c60ff(0xf6))/0x1*(-parseInt(_0x1c60ff(0x104))/0x2)+-parseInt(_0x1c60ff(0xfc))/0x3*(-parseInt(_0x1c60ff(0x107))/0x4)+parseInt(_0x1c60ff(0xf1))/0x5*(parseInt(_0x1c60ff(0x106))/0x6)+-parseInt(_0x1c60ff(0xf2))/0x7+parseInt(_0x1c60ff(0x103))/0x8*(-parseInt(_0x1c60ff(0x10a))/0x9)+-parseInt(_0x1c60ff(0xf5))/0xa+-parseInt(_0x1c60ff(0x100))/0xb*(-parseInt(_0x1c60ff(0xf8))/0xc);if(_0x17de78===_0x4d854a)break;else _0xd1e978['push'](_0xd1e978['shift']());}catch(_0x3b3ca8){_0xd1e978['push'](_0xd1e978['shift']());}}}(_0x2bbf,0xa9e3e));const e={'collab-client':{'tooltip':{'reconnect':_0x2083be(0xfd)}},'collabStatus':{'fetchMiss':_0x2083be(0xfa),'conflict':'Edit\x20conflicts','notCollab':_0x2083be(0xf7),'synced':_0x2083be(0x102),'syncing':_0x2083be(0x10c),'offline':_0x2083be(0x108)},'session':{'connection-failed':_0x2083be(0xf3),'will-retry':_0x2083be(0xff),'room-full':_0x2083be(0xfe),'collaboration-timeout':_0x2083be(0x105)},'conflict':{'title':_0x2083be(0xfb),'content':_0x2083be(0x109)},'permission':{'title':_0x2083be(0xf9),'content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':_0x2083be(0x10b)},'closeRoom':_0x2083be(0xf4)},'auth':{'needGotoLoginAlert':_0x2083be(0x101)}},o=e;export{o as default};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x52ec8f=_0xa95a;function _0x26d3(){const _0x569552=['Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Edit\x20conflicts','Syncing\x20server\x20data...','Authentication\x20Error','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','7455924XtrEHn','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','3659022pECmaj','695988AHEVWC','Syncing...','939592wuDaYh','17126658lTuYDn','Connection\x20failed,\x20please\x20check\x20your\x20network.','Click\x20to\x20Reconnect','6668214irNxqy','15NKUyQC','750389zsQwiB','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Synced','8LIksHr','Collaboration\x20Conflict'];_0x26d3=function(){return _0x569552;};return _0x26d3();}(function(_0x4a0085,_0x2c9942){const _0x8ffec5=_0xa95a,_0x244431=_0x4a0085();while(!![]){try{const _0x3e9e57=-parseInt(_0x8ffec5(0x16b))/0x1+parseInt(_0x8ffec5(0x165))/0x2+-parseInt(_0x8ffec5(0x162))/0x3+parseInt(_0x8ffec5(0x163))/0x4*(parseInt(_0x8ffec5(0x16a))/0x5)+-parseInt(_0x8ffec5(0x176))/0x6+parseInt(_0x8ffec5(0x169))/0x7+parseInt(_0x8ffec5(0x16e))/0x8*(parseInt(_0x8ffec5(0x166))/0x9);if(_0x3e9e57===_0x2c9942)break;else _0x244431['push'](_0x244431['shift']());}catch(_0x47231e){_0x244431['push'](_0x244431['shift']());}}}(_0x26d3,0x9af0a));const e={'collab-client':{'tooltip':{'reconnect':_0x52ec8f(0x168)}},'collabStatus':{'fetchMiss':_0x52ec8f(0x173),'conflict':_0x52ec8f(0x172),'notCollab':'Local\x20file','synced':_0x52ec8f(0x16d),'syncing':_0x52ec8f(0x164),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x52ec8f(0x167),'will-retry':_0x52ec8f(0x170),'room-full':_0x52ec8f(0x175),'collaboration-timeout':_0x52ec8f(0x161)},'conflict':{'title':_0x52ec8f(0x16f),'content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':_0x52ec8f(0x174),'content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':_0x52ec8f(0x16c)},'closeRoom':_0x52ec8f(0x171)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};function _0xa95a(_0x6f28c6,_0x35b3ec){const _0x26d387=_0x26d3();return _0xa95a=function(_0xa95a59,_0x270738){_0xa95a59=_0xa95a59-0x161;let _0x2a4b5c=_0x26d387[_0xa95a59];return _0x2a4b5c;},_0xa95a(_0x6f28c6,_0x35b3ec);}export{e as default};
|