@univerjs-pro/collaboration-client-ui 0.6.10-nightly.202504101607 → 0.6.10-nightly.202504111607

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/index.js CHANGED
@@ -1 +1 @@
1
- const _0x11c536=_0x556e;(function(_0x37dd22,_0x152f7e){const _0x5ba932=_0x556e,_0x43de3a=_0x37dd22();while(!![]){try{const _0x591f8c=parseInt(_0x5ba932(0x19a))/0x1*(-parseInt(_0x5ba932(0x29f))/0x2)+parseInt(_0x5ba932(0x2bd))/0x3*(-parseInt(_0x5ba932(0x192))/0x4)+parseInt(_0x5ba932(0x385))/0x5*(-parseInt(_0x5ba932(0x26e))/0x6)+parseInt(_0x5ba932(0x388))/0x7+-parseInt(_0x5ba932(0x304))/0x8+-parseInt(_0x5ba932(0x268))/0x9+parseInt(_0x5ba932(0x30e))/0xa*(parseInt(_0x5ba932(0x20e))/0xb);if(_0x591f8c===_0x152f7e)break;else _0x43de3a['push'](_0x43de3a['shift']());}catch(_0x49aa7e){_0x43de3a['push'](_0x43de3a['shift']());}}}(_0x3165,0x74d15));var Bt=Object[_0x11c536(0x193)],kt=(_0x380a99,_0x35ba8c,_0x292b42)=>_0x35ba8c in _0x380a99?Bt(_0x380a99,_0x35ba8c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x292b42}):_0x380a99[_0x35ba8c]=_0x292b42,_=(_0x721f49,_0x4bc2bb,_0x5e5a58)=>kt(_0x721f49,typeof _0x4bc2bb!=_0x11c536(0x37a)?_0x4bc2bb+'':_0x4bc2bb,_0x5e5a58);import{MemberService as _0x4e8b4e,SessionStatus as _0x5844f8,CollaborationSessionService as _0x4af566,CollaborationStatus as _0xc12461,CollaborationController as _0x486e7f,ILocalCacheService as _0x30d27e,CollaborationUIEventService as _0xdf379c,CollaborationUIEventId as _0x38c7e4,DataLoaderService as _0x3130c2,DocCollaborationEntity as _0xaac428,getLocalCacheKey as _0x33cc7b,LOCAL_CACHE_INTERVAL as _0xdc7946,LOCAL_CACHE_INTERVAL_KEY as _0x4bcddb,UniverCollaborationClientPlugin as _0x5d1f35,CollaborationSocketService as _0x3243ce,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x1d6e17,DEFAULT_WS_SESSION_TICKET_URL as _0x1d6350,UnitStatus as _0x57d26c,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x20ccaf,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x677df3}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x3d8144,Disposable as _0x4ad333,DOC_RANGE_TYPE as _0x94fd55,Inject as _0xc844dc,Injector as _0x4e73b2,IUniverInstanceService as _0x3cb68e,ICommandService as _0x1fb5e5,debounce as _0x21952c,Rectangle as _0x2db6b1,DisposableCollection as _0x2c6749,toDisposable as _0x37f891,UniverInstanceType as _0x51f277,Tools as _0x1434f6,COLORS as _0x40ac7f,ColorKit as _0xdfbd4,ThemeService as _0xa902c4,fromEventSubject as _0x5f1cca,LocaleService as _0x3d74e7,createIdentifier as _0x3d6e5f,ILogService as _0x39b281,Optional as _0x2c9003,Workbook as _0x2d42ff,CommandType as _0x581733,IConfigService as _0x39a225,ILocalStorageService as _0x11fede,DependentOn as _0x508395,Plugin as _0x4aa74f,merge as _0x59dfc9,registerDependencies as _0x50bb47,mergeOverrideWithDependencies as _0x116f9a,touchDependencies as _0x3355fc,generateRandomId as _0x55ee03}from'@univerjs/core';import{Shape as _0x24a14b,Rect as _0x4a706e,getColor as _0x1b2bcc,RegularPolygon as _0x47df44,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x58b071,Vector2 as _0x2ced09,SHEET_VIEWPORT_KEY as _0x3be023,IRenderManagerService as _0x45c555}from'@univerjs/engine-render';import{ISocketService as _0x3f13c1,WebSocketService as _0x1e852a,HTTPService as _0x1f894d}from'@univerjs/network';import{IDocClipboardService as _0x467f53,NodePositionConvertToCursor as _0x4ffbf5,NodePositionConvertToRectRange as _0x190f8b,TEXT_RANGE_LAYER_INDEX as _0x201b28,SetDocZoomRatioOperation as _0x89a103,DocIMEInputManagerService as _0x11fa1a,DocStateChangeManagerService as _0x56fcf5}from'@univerjs/docs-ui';import{IImageIoService as _0x237394}from'@univerjs/drawing';import{BehaviorSubject as _0x148531,debounceTime as _0x3e07fd,takeUntil as _0x1c3d6b,Subject as _0x1c03dc,filter as _0x4a2851,switchMap as _0x13e88a,merge as _0x51f7f4,combineLatest as _0x156538,of as _0x3831e6,fromEvent as _0x2865d6,shareReplay as _0x3340b5,mapTo as _0x418270,distinctUntilChanged as _0x5a9828}from'rxjs';import{SetTextSelectionsOperation as _0x4cc429,RichTextEditingMutation as _0x546a0f,DocSelectionManagerService as _0x3e10cb,DocSkeletonManagerService as _0x3f73ff}from'@univerjs/docs';import{ITransformService as _0x24c4f7,CollaborationEvent as _0x2a44d5,isTransformMutationFailure as _0x1c59eb,isTransformMutationsWithChangesetSuccess as _0x311332,RevisionService as _0x1fba43,ISnapshotServerService as _0x10ade3}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x2fe23d,serializeRangeWithSheet as _0x209e0}from'@univerjs/engine-formula';import{RefRangeService as _0x480db5,SetSelectionsOperation as _0x40cdd4,SheetsSelectionsService as _0x251e39,EffectRefRangId as _0x12c005,handleIRemoveRow as _0x4a1654,handleIRemoveCol as _0x285171,handleMoveRange as _0x58fe00,handleInsertRow as _0x4e7dad,handleInsertRangeMoveRight as _0x42392b,handleInsertRangeMoveDown as _0x59d0d5,handleInsertCol as _0x59dc00,handleDeleteRangeMoveUp as _0x46d249,handleDeleteRangeMoveLeft as _0x2d95f8,runRefRangeMutations as _0x2389dd,SetWorksheetActivateCommand as _0x1d8609}from'@univerjs/sheets';import{map as _0x4a1234,filter as _0x3b9e06,throttleTime as _0x3addf5,takeUntil as _0x187066,switchMap as _0x5a1cbe}from'rxjs/operators';import{SheetSkeletonManagerService as _0x42ae61,getCoordByCell as _0x5a4c79,getSheetObject as _0x251257}from'@univerjs/sheets-ui';import{jsx as _0x3e9561,jsxs as _0x1fa2a5}from'react/jsx-runtime';import{useObservable as _0x366851,useDependency as _0x5cde52,IUIPartsService as _0x16a8ea,BuiltInUIPart as _0x59b6f7,connectInjector as _0x249a93,IBeforeCloseService as _0x475aa9,IMessageService as _0x475940,INotificationService as _0x5aa09c}from'@univerjs/ui';import{clsx as _0x25ea57,Tooltip as _0x5a070d,MessageType as _0x853eb8}from'@univerjs/design';import{forwardRef as _0x346132,useRef as _0x2fb28d,createElement as _0x589f3f,useCallback as _0x197c1c}from'react';import{IRemoteInstanceService as _0x9b782b}from'@univerjs/rpc';var li=Object[_0x11c536(0x27e)],_i=(_0x119486,_0x518f2d,_0x4d2886,_0x5ab202)=>{const _0x44de6c=_0x11c536;for(var _0x3710d9=_0x5ab202>0x1?void 0x0:_0x5ab202?li(_0x518f2d,_0x4d2886):_0x518f2d,_0x3708cd=_0x119486[_0x44de6c(0x355)]-0x1,_0x375359;_0x3708cd>=0x0;_0x3708cd--)(_0x375359=_0x119486[_0x3708cd])&&(_0x3710d9=_0x375359(_0x3710d9)||_0x3710d9);return _0x3710d9;},Qe=(_0x45d7d4,_0x4cd8b7)=>(_0x65e70e,_0x3311de)=>_0x4cd8b7(_0x65e70e,_0x3311de,_0x45d7d4);let Me=class extends _0x3d8144{constructor(_0x1f8287,_0x22e9f7){const _0x3afae5=_0x11c536;super(),this[_0x3afae5(0x1b2)]=_0x1f8287,this[_0x3afae5(0x38b)]=_0x22e9f7,this['_init']();}[_0x11c536(0x2f5)](){const _0x54727c=_0x11c536,_0x4b8140=this;this[_0x54727c(0x36c)](this[_0x54727c(0x1b2)][_0x54727c(0x39c)]({'onBeforePasteImage':async _0x521d43=>{const _0x2bd325=_0x54727c,_0x46f299=await _0x4b8140[_0x2bd325(0x38b)]['saveImage'](_0x521d43);return _0x46f299?{'source':_0x46f299[_0x2bd325(0x33d)],'imageSourceType':_0x46f299['imageSourceType']}:null;}}));}};Me=_i([Qe(0x0,_0x467f53),Qe(0x1,_0x237394)],Me);const qe=[_0x11c536(0x35f),_0x11c536(0x36a),_0x11c536(0x2a8),_0x11c536(0x2f8),_0x11c536(0x343),_0x11c536(0x35e)];class He extends _0x4ad333{constructor(){const _0x55ef87=_0x11c536;super(...arguments),_(this,_0x55ef87(0x1d7),new Map()),_(this,_0x55ef87(0x23a),0x0);}[_0x11c536(0x20b)](_0x130112){const _0x20896b=_0x11c536;if(this[_0x20896b(0x1d7)][_0x20896b(0x39a)](_0x130112))return this[_0x20896b(0x1d7)]['get'](_0x130112);const _0x30cf73=qe[this[_0x20896b(0x23a)]];return this[_0x20896b(0x23a)]=(this[_0x20896b(0x23a)]+0x1)%qe[_0x20896b(0x355)],this[_0x20896b(0x1d7)]['set'](_0x130112,_0x30cf73),_0x30cf73;}}function Dt(_0x3f31b4){let _0x3441fe='';for(const _0x4b5c53 of _0x3f31b4){const {startOffset:_0x504869,endOffset:_0xd74e61,isActive:_0x4e9431,rangeType:_0x5a66cc,segmentId:_0x1c3e67,segmentPage:_0x2b62bf}=_0x4b5c53;_0x3441fe['length']&&(_0x3441fe+=','),_0x3441fe+=_0x504869+':'+_0xd74e61+':'+(_0x4e9431?'1':'0')+':'+_0x5a66cc+':'+_0x1c3e67+':'+_0x2b62bf;}return _0x3441fe;}function hi(_0x588010){const _0x3a09d8=_0x11c536,_0x408d10=_0x588010['split'](','),_0x1aef3a=[];for(const _0x34f54d of _0x408d10){const [_0x487406,_0x523e30,_0x4018dd,_0x70ec5a,_0x2ba501,_0x3282d3]=_0x34f54d['split'](':');_0x1aef3a[_0x3a09d8(0x2db)]({'startOffset':Number(_0x487406),'endOffset':Number(_0x523e30),'collapsed':_0x487406===_0x523e30,'isActive':_0x4018dd==='1','rangeType':_0x70ec5a===_0x94fd55[_0x3a09d8(0x1c7)]?_0x94fd55['TEXT']:_0x94fd55[_0x3a09d8(0x22a)],'segmentId':typeof _0x2ba501==_0x3a09d8(0x342)?String(_0x2ba501):'','segmentPage':Number(_0x3282d3!=null?_0x3282d3:-0x1)});}return _0x1aef3a[_0x3a09d8(0x2f1)](_0x264699=>_0x264699['isActive'])||(_0x1aef3a[0x0][_0x3a09d8(0x1b6)]=!0x0),_0x1aef3a;}class je extends _0x3d8144{constructor(){const _0xa54556=_0x11c536;super(...arguments),_(this,_0xa54556(0x2fd),new _0x148531(null)),_(this,_0xa54556(0x353),this[_0xa54556(0x2fd)][_0xa54556(0x2e5)]());}[_0x11c536(0x259)](_0x4fcbda){const _0x316140=_0x11c536,{unitID:_0x19a4d8,memberID:_0x5e6f6f,textRanges:_0x3adb51}=_0x4fcbda,_0x4c094b=Dt(_0x3adb51);if(_0x4c094b==='')return;const _0x33fc48={'unitID':_0x19a4d8,'memberID':_0x5e6f6f,'selection':_0x4c094b};this[_0x316140(0x2fd)][_0x316140(0x1eb)](_0x33fc48);}}var ui=Object[_0x11c536(0x27e)],di=(_0x1f2592,_0x35585d,_0x38ec61,_0x3ef856)=>{const _0x188d51=_0x11c536;for(var _0x43eb26=_0x3ef856>0x1?void 0x0:_0x3ef856?ui(_0x35585d,_0x38ec61):_0x35585d,_0x485345=_0x1f2592[_0x188d51(0x355)]-0x1,_0x44534f;_0x485345>=0x0;_0x485345--)(_0x44534f=_0x1f2592[_0x485345])&&(_0x43eb26=_0x44534f(_0x43eb26)||_0x43eb26);return _0x43eb26;},U=(_0x14a7b9,_0xff0fb5)=>(_0x241c46,_0x2bdefe)=>_0xff0fb5(_0x241c46,_0x2bdefe,_0x14a7b9);const fi=0x12c,Si=0x64;let Pe=class extends _0x3d8144{constructor(_0x1e6532,_0x4cd79c,_0x21835b,_0x20918b,_0x4bc296,_0x55dd3d,_0x424f5a,_0x1acfe6,_0x17e7e6){const _0x1dcd8b=_0x11c536;super(),_(this,_0x1dcd8b(0x290),!0x1),_(this,_0x1dcd8b(0x2f5),!0x1),_(this,'_cursorInfo$',new _0x148531(new Map())),_(this,'cursorInfo$',this[_0x1dcd8b(0x1fb)][_0x1dcd8b(0x2e5)]()),_(this,_0x1dcd8b(0x373),new _0x148531([])),_(this,'roomMembers$',this['_roomMembers$'][_0x1dcd8b(0x26c)](_0x3e07fd(fi))),_(this,'_updateLocalCursor',_0x21952c(_0x2d6a1c=>{const _0x3cf4d2=_0x1dcd8b,_0x5bc992={'eventID':_0x2a44d5['UPDATE_CURSOR'],'data':{'unitID':this[_0x3cf4d2(0x2b9)],'memberID':this['_session'][_0x3cf4d2(0x2fa)](),'selection':Dt(_0x2d6a1c)}};this['_session'][_0x3cf4d2(0x1b5)](_0x5bc992,this['unitID']);},Si)),(this[_0x1dcd8b(0x2b9)]=_0x1e6532,this[_0x1dcd8b(0x285)]=_0x4cd79c,this[_0x1dcd8b(0x1f0)]=_0x21835b,this[_0x1dcd8b(0x2c0)]=_0x20918b,this[_0x1dcd8b(0x289)]=_0x4bc296,this[_0x1dcd8b(0x227)]=_0x55dd3d,this[_0x1dcd8b(0x2ce)]=_0x424f5a,this['_univerInstanceService']=_0x1acfe6,this['_commandService']=_0x17e7e6);}get[_0x11c536(0x1d8)](){const _0x5acf4e=_0x11c536;return this[_0x5acf4e(0x1fb)][_0x5acf4e(0x18f)]();}get[_0x11c536(0x191)](){const _0xe28811=_0x11c536;return this['_roomMembers$'][_0xe28811(0x18f)]();}[_0x11c536(0x35d)](){const _0x3da1e4=_0x11c536;super[_0x3da1e4(0x35d)](),this['_cursorInfo$'][_0x3da1e4(0x1eb)](new Map()),this[_0x3da1e4(0x1fb)][_0x3da1e4(0x38c)](),this['_roomMembers$'][_0x3da1e4(0x1eb)]([]),this['_roomMembers$'][_0x3da1e4(0x38c)]();}[_0x11c536(0x211)](){const _0x2a0adc=_0x11c536;this[_0x2a0adc(0x2f5)]||(this[_0x2a0adc(0x2f5)]=!0x0,this[_0x2a0adc(0x285)][_0x2a0adc(0x297)][_0x2a0adc(0x26c)](_0x1c3d6b(this[_0x2a0adc(0x294)]))['subscribe'](_0x241288=>{const _0x2eb8ec=_0x2a0adc;_0x241288===_0x5844f8['ONLINE']?this[_0x2eb8ec(0x1d2)]():this['_toggleOffline']();}),this[_0x2a0adc(0x285)][_0x2a0adc(0x29d)]['pipe'](_0x1c3d6b(this[_0x2a0adc(0x294)]))['subscribe'](_0x24e7fd=>{const _0x2477be=_0x2a0adc,_0x15de1d=_0x24e7fd['eventID'];_0x15de1d===_0x2a44d5['UPDATE_CURSOR']&&this[_0x2477be(0x20a)](_0x24e7fd),_0x15de1d===_0x2a44d5[_0x2477be(0x396)]&&this[_0x2477be(0x233)](_0x24e7fd);}),this[_0x2a0adc(0x36c)](this[_0x2a0adc(0x2dc)]['onCommandExecuted'](_0x40a11b=>{const _0x161bcc=_0x2a0adc,_0x288375=_0x40a11b[_0x161bcc(0x2bb)];_0x288375!=null&&this['_online']&&_0x40a11b['id']===_0x4cc429['id']&&_0x288375[_0x161bcc(0x2ba)]===this[_0x161bcc(0x2b9)]&&_0x288375[_0x161bcc(0x197)]===!0x1&&_0x288375['ranges'][_0x161bcc(0x355)]>0x0&&this[_0x161bcc(0x1c8)](_0x288375[_0x161bcc(0x330)]);})),this['_syncEditingCollabCursorService'][_0x2a0adc(0x353)][_0x2a0adc(0x26c)](_0x1c3d6b(this[_0x2a0adc(0x294)]))[_0x2a0adc(0x296)](_0x35ff90=>{const _0x294557=_0x2a0adc;if((_0x35ff90==null?void 0x0:_0x35ff90[_0x294557(0x2b9)])!==this['unitID'])return;const _0x1d377d={'eventID':_0x2a44d5[_0x294557(0x1e4)],'data':_0x35ff90};this['_onCursorUpdate'](_0x1d377d);}),this[_0x2a0adc(0x36c)](this[_0x2a0adc(0x2dc)][_0x2a0adc(0x204)](_0x1e75dd=>{const _0x18c98c=_0x2a0adc;if(_0x1e75dd['params']==null)return;const _0x4a6cf1=_0x1e75dd[_0x18c98c(0x2bb)];if(_0x1e75dd['id']!==_0x546a0f['id']||_0x4a6cf1['unitId']!==this[_0x18c98c(0x2b9)])return;const _0x5ce551={'id':'doc.mutation.rich-text-editing','params':_0x4a6cf1},_0x1fac6b=this['cursorInfo'];for(const [_0x211911,_0x12186c]of _0x1fac6b){const _0x283362={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x18c98c(0x2b9)],'actions':null,'textRanges':_0x12186c[_0x18c98c(0x330)]}},_0x245575=this[_0x18c98c(0x2ce)][_0x18c98c(0x32f)](_0x5ce551,_0x283362,!0x1);if(_0x1c59eb(_0x245575))throw _0x245575[_0x18c98c(0x24d)];_0x1fac6b[_0x18c98c(0x25e)](_0x211911,{..._0x12186c,'ranges':_0x245575[_0x18c98c(0x399)][_0x18c98c(0x2bb)][_0x18c98c(0x220)]});}queueMicrotask(()=>{const _0x47a49d=_0x18c98c;this[_0x47a49d(0x1fb)]['next'](_0x1fac6b);});})));}[_0x11c536(0x20a)](_0x37f9b0){const _0x5b9169=_0x11c536;var _0x2fbe92,_0x20f43c;const {memberID:_0x3f0ae0,selection:_0x5ae8db}=_0x37f9b0[_0x5b9169(0x25b)],_0x5d1263=hi(_0x5ae8db),_0x1eb87e=(_0x20f43c=(_0x2fbe92=this[_0x5b9169(0x289)][_0x5b9169(0x2fe)](this['unitID'],_0x3f0ae0))==null?void 0x0:_0x2fbe92['name'])!=null?_0x20f43c:_0x5b9169(0x1be),_0x19860b={'color':this[_0x5b9169(0x2c0)][_0x5b9169(0x20b)](_0x3f0ae0),'name':_0x1eb87e,'ranges':_0x5d1263},_0xe76015=this['cursorInfo'];_0xe76015[_0x5b9169(0x25e)](_0x3f0ae0,_0x19860b),this[_0x5b9169(0x1fb)][_0x5b9169(0x1eb)](_0xe76015);}[_0x11c536(0x233)](_0x3f6ada){const _0x4eacbb=_0x11c536,{memberID:_0x46791e}=_0x3f6ada[_0x4eacbb(0x25b)],_0x1a870f=this[_0x4eacbb(0x1d8)];_0x1a870f[_0x4eacbb(0x213)](_0x46791e),this[_0x4eacbb(0x1fb)][_0x4eacbb(0x1eb)](_0x1a870f);}[_0x11c536(0x1d2)](){const _0x4465e4=_0x11c536;var _0x301ca6;if(this[_0x4465e4(0x290)]=!0x0,((_0x301ca6=this[_0x4465e4(0x1d6)][_0x4465e4(0x37d)]())==null?void 0x0:_0x301ca6['getUnitId']())!==this[_0x4465e4(0x2b9)])return;const _0x20abeb=this[_0x4465e4(0x1f0)][_0x4465e4(0x258)](_0x3e10cb)['getDocRanges']();Array['isArray'](_0x20abeb)&&_0x20abeb[_0x4465e4(0x355)]>0x0&&this[_0x4465e4(0x1c8)](_0x20abeb);}[_0x11c536(0x351)](){const _0x45cfde=_0x11c536;this[_0x45cfde(0x290)]=!0x1;}};Pe=di([U(0x2,_0xc844dc(_0x4e73b2)),U(0x3,_0xc844dc(He)),U(0x4,_0xc844dc(_0x4e8b4e)),U(0x5,_0xc844dc(je)),U(0x6,_0x24c4f7),U(0x7,_0x3cb68e),U(0x8,_0x1fb5e5)],Pe);var mi=Object[_0x11c536(0x27e)],gi=(_0x2db2d0,_0x344bbf,_0x55e1db,_0x5a4890)=>{const _0x46fddf=_0x11c536;for(var _0x1ca907=_0x5a4890>0x1?void 0x0:_0x5a4890?mi(_0x344bbf,_0x55e1db):_0x344bbf,_0x37c386=_0x2db2d0[_0x46fddf(0x355)]-0x1,_0x568417;_0x37c386>=0x0;_0x37c386--)(_0x568417=_0x2db2d0[_0x37c386])&&(_0x1ca907=_0x568417(_0x1ca907)||_0x1ca907);return _0x1ca907;},x=(_0x19c28a,_0x56a499)=>(_0x1fba20,_0x294b90)=>_0x56a499(_0x1fba20,_0x294b90,_0x19c28a);const vi=0x12c,Ii=0x64,pi=()=>{let _0x3b564c=[],_0x458500=!0x1;return _0x4e0a45=>{const _0xcb3f03=_0x556e;_0x3b564c[_0xcb3f03(0x2db)](_0x4e0a45),_0x458500||(_0x458500=!0x0,setTimeout(()=>{const _0x59a8a9=_0xcb3f03;_0x3b564c[_0x59a8a9(0x2dd)](_0x8cc3e6=>_0x8cc3e6()),_0x3b564c=[],_0x458500=!0x1;}));};};let we=class extends _0x3d8144{constructor(_0x415a96,_0x31bba8,_0x2c3599,_0x28dbf3,_0x34c2b6,_0x5d2c76,_0x191c34,_0x54800f){const _0x26b580=_0x11c536;super(),_(this,_0x26b580(0x290),!0x1),_(this,_0x26b580(0x2f5),!0x1),_(this,'_cursorInfo$',new _0x148531(new Map())),_(this,_0x26b580(0x33e),this[_0x26b580(0x1fb)][_0x26b580(0x2e5)]()),_(this,_0x26b580(0x373),new _0x148531([])),_(this,_0x26b580(0x286),this[_0x26b580(0x373)][_0x26b580(0x26c)](_0x3e07fd(vi))),_(this,_0x26b580(0x1c8),_0x21952c((_0x8f51df,_0x4a2759)=>{const _0x4fe8ec=_0x26b580,_0x32d9fc={'eventID':_0x2a44d5[_0x4fe8ec(0x1e4)],'data':{'unitID':this[_0x4fe8ec(0x2b9)],'memberID':this['_session'][_0x4fe8ec(0x2fa)](),'selection':_0x209e0(_0x8f51df,_0x4a2759['range'])}};this[_0x4fe8ec(0x285)][_0x4fe8ec(0x1b5)](_0x32d9fc,this[_0x4fe8ec(0x2b9)]);},Ii)),(this[_0x26b580(0x2b9)]=_0x415a96,this[_0x26b580(0x285)]=_0x31bba8,this[_0x26b580(0x1f0)]=_0x2c3599,this[_0x26b580(0x2c0)]=_0x28dbf3,this['_memberService']=_0x34c2b6,this[_0x26b580(0x1d6)]=_0x5d2c76,this['_commandService']=_0x191c34,this[_0x26b580(0x2da)]=_0x54800f);}get[_0x11c536(0x1d8)](){const _0x4cdfca=_0x11c536;return this[_0x4cdfca(0x1fb)][_0x4cdfca(0x18f)]();}get[_0x11c536(0x191)](){const _0x15a2f0=_0x11c536;return this['_roomMembers$'][_0x15a2f0(0x18f)]();}['dispose'](){const _0x3d1ce4=_0x11c536;super['dispose'](),this[_0x3d1ce4(0x1fb)][_0x3d1ce4(0x1eb)](new Map()),this[_0x3d1ce4(0x1fb)][_0x3d1ce4(0x38c)](),this['_roomMembers$'][_0x3d1ce4(0x1eb)]([]),this[_0x3d1ce4(0x373)]['complete']();}['init'](){const _0x267b50=_0x11c536;this['_init']||(this['_init']=!0x0,this[_0x267b50(0x285)][_0x267b50(0x297)][_0x267b50(0x26c)](_0x1c3d6b(this[_0x267b50(0x294)]))['subscribe'](_0x5edf3c=>{const _0x3f96ff=_0x267b50;_0x5edf3c===_0x5844f8[_0x3f96ff(0x36d)]?this[_0x3f96ff(0x1d2)]():this[_0x3f96ff(0x351)]();}),this[_0x267b50(0x285)][_0x267b50(0x29d)][_0x267b50(0x26c)](_0x1c3d6b(this['dispose$']))[_0x267b50(0x296)](_0x6e2be1=>{const _0x1d9ec9=_0x267b50,_0x424987=_0x6e2be1['eventID'];_0x424987===_0x2a44d5['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x6e2be1),_0x424987===_0x2a44d5[_0x1d9ec9(0x396)]&&this['_onCursorDelete'](_0x6e2be1);}),this['_onRefRangeChange'](),this[_0x267b50(0x36c)](this[_0x267b50(0x2dc)][_0x267b50(0x204)](_0x9cb47f=>{const _0x1089f0=_0x267b50;if(this[_0x1089f0(0x290)]&&_0x9cb47f['id']===_0x40cdd4['id']&&_0x9cb47f['params'][_0x1089f0(0x2ba)]===this[_0x1089f0(0x2b9)]){const _0x4fb47b=_0x9cb47f[_0x1089f0(0x2bb)];this[_0x1089f0(0x1c8)](_0x4fb47b[_0x1089f0(0x34f)],_0x4fb47b[_0x1089f0(0x293)][0x0]);}})));}[_0x11c536(0x20a)](_0x4e17dd){const _0x28f2c3=_0x11c536;var _0x5c84bb,_0x1725f1;const {memberID:_0xb4055c,selection:_0x540a6b}=_0x4e17dd[_0x28f2c3(0x25b)],{sheetName:_0x356a76,range:_0x5893f3}=_0x2fe23d(_0x540a6b),_0x3c884c={'name':(_0x1725f1=(_0x5c84bb=this['_memberService'][_0x28f2c3(0x2fe)](this[_0x28f2c3(0x2b9)],_0xb4055c))==null?void 0x0:_0x5c84bb['name'])!=null?_0x1725f1:_0x28f2c3(0x1be),'range':this[_0x28f2c3(0x33a)](_0x356a76,_0x5893f3),'sheetID':_0x356a76,'color':this['_colorAssignService'][_0x28f2c3(0x20b)](_0xb4055c),'selection':_0x540a6b},_0x505f7b=this[_0x28f2c3(0x1d8)];_0x505f7b[_0x28f2c3(0x25e)](_0xb4055c,_0x3c884c),this[_0x28f2c3(0x1fb)][_0x28f2c3(0x1eb)](_0x505f7b);}[_0x11c536(0x233)](_0x4348cd){const _0x3e3b09=_0x11c536,{memberID:_0x1bacca}=_0x4348cd['data'],_0x6e0658=this[_0x3e3b09(0x1d8)];_0x6e0658[_0x3e3b09(0x213)](_0x1bacca),this[_0x3e3b09(0x1fb)][_0x3e3b09(0x1eb)](_0x6e0658);}[_0x11c536(0x33a)](_0x2c6558,_0x445988){const _0x2af63b=_0x11c536;var _0x5c566b,_0x53eaf3;const _0x57375a=(_0x53eaf3=(_0x5c566b=this['_univerInstanceService'][_0x2af63b(0x363)](this[_0x2af63b(0x2b9)]))==null?void 0x0:_0x5c566b[_0x2af63b(0x1a8)](_0x2c6558))==null?void 0x0:_0x53eaf3['getMergeData']();return(_0x57375a==null?void 0x0:_0x57375a[_0x2af63b(0x1b1)](_0x499c04=>_0x2db6b1[_0x2af63b(0x31d)](_0x499c04,_0x445988)))||_0x445988;}[_0x11c536(0x237)](){const _0x158337=_0x11c536,_0x2beb2a=new _0x2c6749(),_0x229b88=pi(),_0x16bf70=()=>{const _0x41b6d1=_0x556e;_0x2beb2a[_0x41b6d1(0x35d)]();const _0x1b750f=(_0x5fa760,_0x3ce78f,_0x437fa6,_0x3cca70)=>{const _0x5924de=_0x41b6d1;let _0x2535f1=[];switch(_0x5fa760['id']){case _0x12c005[_0x5924de(0x367)]:{_0x2535f1=_0x2d95f8(_0x5fa760,_0x3cca70);break;}case _0x12c005[_0x5924de(0x223)]:{_0x2535f1=_0x46d249(_0x5fa760,_0x3cca70);break;}case _0x12c005[_0x5924de(0x252)]:{_0x2535f1=_0x59dc00(_0x5fa760,_0x3cca70);break;}case _0x12c005[_0x5924de(0x1e5)]:{_0x2535f1=_0x59d0d5(_0x5fa760,_0x3cca70);break;}case _0x12c005[_0x5924de(0x2c9)]:{_0x2535f1=_0x42392b(_0x5fa760,_0x3cca70);break;}case _0x12c005[_0x5924de(0x28b)]:{_0x2535f1=_0x4e7dad(_0x5fa760,_0x3cca70);break;}case _0x12c005['MoveRangeCommandId']:{_0x2535f1=_0x58fe00(_0x5fa760,_0x3cca70);break;}case _0x12c005['RemoveColCommandId']:{_0x2535f1=_0x285171(_0x5fa760,_0x3cca70);break;}case _0x12c005[_0x5924de(0x356)]:{_0x2535f1=_0x4a1654(_0x5fa760,_0x3cca70);break;}}const _0x3e8de8=_0x2389dd(_0x2535f1,_0x3cca70),_0x2c04e3=this[_0x5924de(0x1d8)][_0x5924de(0x258)](_0x3ce78f);if(_0x2c04e3&&_0x3e8de8){const _0x38a8db={..._0x2c04e3,'range':_0x3e8de8};this[_0x5924de(0x1d8)][_0x5924de(0x25e)](_0x3ce78f,_0x38a8db),_0x229b88(()=>{const _0x349d9e=_0x5924de,_0x51ad42=this[_0x349d9e(0x2da)][_0x349d9e(0x262)](_0x3e8de8,_0x4fba08=>(_0x51ad42[_0x349d9e(0x35d)](),_0x1b750f(_0x4fba08,_0x3ce78f,_0x437fa6,_0x3e8de8)));_0x2beb2a[_0x349d9e(0x1f3)](_0x51ad42);});}return{'redos':[],'undos':[]};};this[_0x41b6d1(0x1d8)][_0x41b6d1(0x2dd)]((_0x42b147,_0x5c00cd)=>{const _0x59a188=_0x41b6d1,{range:_0xbb9c03,sheetID:_0x2798cc}=_0x42b147,_0xc146ca=this['_refRangeService'][_0x59a188(0x262)](_0xbb9c03,_0x44276f=>(_0xc146ca[_0x59a188(0x35d)](),_0x1b750f(_0x44276f,_0x5c00cd,_0x2798cc,_0xbb9c03)));_0x2beb2a[_0x59a188(0x1f3)](_0xc146ca);});};this[_0x158337(0x36c)](_0x37f891(this[_0x158337(0x1fb)]['subscribe'](()=>{_0x16bf70();})));}[_0x11c536(0x1d2)](){const _0x53fcbb=_0x11c536;var _0x167922,_0x1f9587;if(this[_0x53fcbb(0x290)]=!0x0,((_0x167922=this[_0x53fcbb(0x1d6)][_0x53fcbb(0x37d)]())==null?void 0x0:_0x167922[_0x53fcbb(0x2f3)]())!==this[_0x53fcbb(0x2b9)])return;const _0x21ce5b=(_0x1f9587=this[_0x53fcbb(0x1f0)]['get'](_0x251e39)[_0x53fcbb(0x295)]())==null?void 0x0:_0x1f9587[0x0],_0x54892a=this[_0x53fcbb(0x1d6)]['getCurrentUnitForType'](_0x51f277[_0x53fcbb(0x37b)])[_0x53fcbb(0x354)]();_0x21ce5b&&_0x54892a&&this[_0x53fcbb(0x1c8)](_0x54892a[_0x53fcbb(0x1ea)](),_0x21ce5b);}['_toggleOffline'](){const _0x1e81ea=_0x11c536;this[_0x1e81ea(0x290)]=!0x1;}};function _0x556e(_0x3acf65,_0x2d7bed){const _0x31650a=_0x3165();return _0x556e=function(_0x556ede,_0xe21fa4){_0x556ede=_0x556ede-0x18f;let _0x1f75b2=_0x31650a[_0x556ede];return _0x1f75b2;},_0x556e(_0x3acf65,_0x2d7bed);}we=gi([x(0x2,_0xc844dc(_0x4e73b2)),x(0x3,_0xc844dc(He)),x(0x4,_0xc844dc(_0x4e8b4e)),x(0x5,_0x3cb68e),x(0x6,_0x1fb5e5),x(0x7,_0xc844dc(_0x480db5))],we);var Ci=Object[_0x11c536(0x27e)],Ei=(_0x4ab3de,_0x19cde8,_0x13ef22,_0x290f9b)=>{for(var _0x30ef61=_0x290f9b>0x1?void 0x0:_0x290f9b?Ci(_0x19cde8,_0x13ef22):_0x19cde8,_0x16aa75=_0x4ab3de['length']-0x1,_0x3302ad;_0x16aa75>=0x0;_0x16aa75--)(_0x3302ad=_0x4ab3de[_0x16aa75])&&(_0x30ef61=_0x3302ad(_0x30ef61)||_0x30ef61);return _0x30ef61;},me=(_0xdec419,_0xc8fe67)=>(_0x3e1129,_0x31d3a3)=>_0xc8fe67(_0x3e1129,_0x31d3a3,_0xdec419);let H=class extends _0x3d8144{constructor(_0x34dd25,_0x45e787,_0x5364f3){const _0x5cc617=_0x11c536;super(),_(this,'_entities',new Map()),_(this,_0x5cc617(0x25a),new _0x1c03dc()),(this[_0x5cc617(0x1d6)]=_0x34dd25,this['_injector']=_0x45e787,this[_0x5cc617(0x2a3)]=_0x5364f3,this[_0x5cc617(0x2f5)]());}['dispose'](){const _0x452033=_0x11c536;super[_0x452033(0x35d)](),this[_0x452033(0x25a)][_0x452033(0x38c)](),this[_0x452033(0x287)]['forEach'](_0x17609d=>_0x17609d[_0x452033(0x35d)]());}[_0x11c536(0x341)](_0x27b9fb){const _0x41d878=_0x11c536;return this[_0x41d878(0x287)][_0x41d878(0x39a)](_0x27b9fb)?this['_entities']['get'](_0x27b9fb)[_0x41d878(0x33e)]:this[_0x41d878(0x25a)][_0x41d878(0x26c)](_0x4a2851(_0x57be7e=>_0x57be7e[_0x41d878(0x2b9)]===_0x27b9fb),_0x13e88a(_0x22a0b4=>_0x22a0b4['cursorInfo$']));}[_0x11c536(0x2f5)](){const _0x4c02d1=_0x11c536;this['_univerInstanceService'][_0x4c02d1(0x22b)](_0x51f277[_0x4c02d1(0x37b)])[_0x4c02d1(0x26c)](_0x1c3d6b(this['dispose$']))[_0x4c02d1(0x296)](async _0x4cb19a=>{const _0x4c55b5=_0x4c02d1,_0x3760e2=_0x4cb19a['getUnitId'](),_0x12ff82=await this[_0x4c55b5(0x1b4)](_0x3760e2);this[_0x4c55b5(0x25a)]['next'](_0x12ff82),this[_0x4c55b5(0x287)][_0x4c55b5(0x25e)](_0x3760e2,_0x12ff82);}),this[_0x4c02d1(0x1d6)][_0x4c02d1(0x22b)](_0x51f277['UNIVER_DOC'])[_0x4c02d1(0x26c)](_0x1c3d6b(this[_0x4c02d1(0x294)]))['pipe'](_0x4a2851(_0x2218be=>!_0x2218be[_0x4c02d1(0x2f3)]()[_0x4c02d1(0x24e)]('__')))['subscribe'](async _0x12c534=>{const _0x48d72f=_0x4c02d1,_0x21a8d9=_0x12c534[_0x48d72f(0x2f3)](),_0x5b1f0c=await this[_0x48d72f(0x308)](_0x21a8d9);this['_entityInit$']['next'](_0x5b1f0c),this[_0x48d72f(0x287)][_0x48d72f(0x25e)](_0x21a8d9,_0x5b1f0c);}),_0x51f7f4(this[_0x4c02d1(0x1d6)][_0x4c02d1(0x274)](_0x51f277[_0x4c02d1(0x331)]),this[_0x4c02d1(0x1d6)][_0x4c02d1(0x274)](_0x51f277[_0x4c02d1(0x37b)]))[_0x4c02d1(0x26c)](_0x1c3d6b(this[_0x4c02d1(0x294)]))['subscribe'](_0x29e983=>{const _0x383e07=_0x4c02d1,_0x233bdd=_0x29e983[_0x383e07(0x2f3)](),_0x20d2c9=this[_0x383e07(0x287)][_0x383e07(0x258)](_0x233bdd);_0x20d2c9&&(_0x20d2c9[_0x383e07(0x35d)](),this[_0x383e07(0x287)]['delete'](_0x233bdd));});}async[_0x11c536(0x1b4)](_0x76562d){const _0x574a76=_0x11c536,_0x43cb21=await this[_0x574a76(0x2a3)][_0x574a76(0x349)](_0x76562d),_0x532f12=this[_0x574a76(0x1f0)][_0x574a76(0x2f2)](we,_0x76562d,_0x43cb21);return _0x532f12[_0x574a76(0x211)](),_0x532f12;}async[_0x11c536(0x308)](_0x4ee809){const _0x154bee=_0x11c536,_0xedff48=await this[_0x154bee(0x2a3)]['requireSession'](_0x4ee809),_0x44c018=this[_0x154bee(0x1f0)][_0x154bee(0x2f2)](Pe,_0x4ee809,_0xedff48);return _0x44c018['init'](),_0x44c018;}};H=Ei([me(0x0,_0x3cb68e),me(0x1,_0xc844dc(_0x4e73b2)),me(0x2,_0xc844dc(_0x4af566))],H);const te=0x14,et=0xc8,ge=0x4,bi=0x5;function Oi(_0x36fcf5,_0x1dfe7b){const _0x54e24d=_0x11c536;let {radius:_0x4e9bd7,width:_0x5e53d5,height:_0xe197f9}=_0x1dfe7b;_0x4e9bd7=_0x4e9bd7!=null?_0x4e9bd7:0x0,_0x5e53d5=_0x5e53d5!=null?_0x5e53d5:0x1e,_0xe197f9=_0xe197f9!=null?_0xe197f9:0x1e;let _0x4df139=0x0,_0x5a5db8=0x0,_0x3c5714=0x0;_0x4df139=_0x5a5db8=_0x3c5714=Math[_0x54e24d(0x1a2)](_0x4e9bd7,_0x5e53d5/0x2,_0xe197f9/0x2),_0x36fcf5[_0x54e24d(0x2a4)](),_0x36fcf5[_0x54e24d(0x1fa)](_0x4df139,0x0),_0x36fcf5['lineTo'](_0x5e53d5-_0x5a5db8,0x0),_0x36fcf5[_0x54e24d(0x2a2)](_0x5e53d5-_0x5a5db8,_0x5a5db8,_0x5a5db8,Math['PI']*0x3/0x2,0x0,!0x1),_0x36fcf5[_0x54e24d(0x32b)](_0x5e53d5,_0xe197f9-_0x3c5714),_0x36fcf5['arc'](_0x5e53d5-_0x3c5714,_0xe197f9-_0x3c5714,_0x3c5714,0x0,Math['PI']/0x2,!0x1),_0x36fcf5['lineTo'](0x0,_0xe197f9),_0x36fcf5[_0x54e24d(0x32b)](0x0,_0x4df139),_0x36fcf5[_0x54e24d(0x2a2)](_0x4df139,_0x4df139,_0x4df139,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x36fcf5[_0x54e24d(0x37e)](),_0x1dfe7b['fill']&&(_0x36fcf5[_0x54e24d(0x21e)](),_0x36fcf5[_0x54e24d(0x238)]=_0x1dfe7b[_0x54e24d(0x301)],_0x1dfe7b[_0x54e24d(0x212)]==='evenodd'?_0x36fcf5[_0x54e24d(0x301)]('evenodd'):_0x36fcf5[_0x54e24d(0x301)](),_0x36fcf5['restore']());}class ue extends _0x24a14b{constructor(_0x399c98,_0x14b5eb){const _0x270261=_0x11c536;super(_0x399c98,_0x14b5eb),_(this,_0x270261(0x253)),_(this,_0x270261(0x230)),(this[_0x270261(0x253)]=_0x14b5eb==null?void 0x0:_0x14b5eb[_0x270261(0x253)],this['text']=_0x14b5eb==null?void 0x0:_0x14b5eb['text']);}static[_0x11c536(0x24a)](_0x330c49,_0x4760a2){const _0x420d4f=_0x11c536,{text:_0x1a0c11,color:_0x1d6095}=_0x4760a2;_0x330c49[_0x420d4f(0x21e)](),_0x330c49[_0x420d4f(0x37c)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x221ae3=_0x330c49[_0x420d4f(0x2c1)](_0x1a0c11)[_0x420d4f(0x38e)],_0x2a7af7=Math[_0x420d4f(0x1a2)](_0x221ae3+0x2*ge,et);Oi(_0x330c49,{'height':te,'radius':0x4,'width':_0x2a7af7,'fill':_0x1d6095}),_0x330c49['fillStyle']=_0x420d4f(0x2f0);const _0xb5b26b=ge,_0x42fc99=te-bi,_0x580dd5=et-0x2*ge;if(_0x221ae3>_0x580dd5){let _0x5411e2='',_0x21193f=0x0;for(const _0x25c305 of _0x1a0c11){const _0x1656f5=_0x330c49[_0x420d4f(0x2c1)](_0x25c305)[_0x420d4f(0x38e)];if(_0x21193f+_0x1656f5<=_0x580dd5-_0x330c49[_0x420d4f(0x2c1)](_0x420d4f(0x250))[_0x420d4f(0x38e)])_0x5411e2+=_0x25c305,_0x21193f+=_0x1656f5;else{_0x5411e2+=_0x420d4f(0x250);break;}}_0x330c49[_0x420d4f(0x29b)](_0x5411e2,_0xb5b26b,_0x42fc99);}else _0x330c49['fillText'](_0x1a0c11,_0xb5b26b,_0x42fc99);_0x330c49[_0x420d4f(0x391)]();}['_draw'](_0x2e0b40){const _0x10bcef=_0x11c536;ue[_0x10bcef(0x24a)](_0x2e0b40,this);}}const ve=_0x11c536(0x20f),Ti='collab-text-range-',Ri=_0x11c536(0x264),X=0x6,Di=1.5,Ie=0x4,Ni=1.5,Mi=_0x11c536(0x1b8);class tt{constructor(_0x4f47ef,_0xc7a9e8,_0x1863ce,_0x1e5484){const _0x562a7a=_0x11c536;_(this,_0x562a7a(0x1b3),[]),_(this,_0x562a7a(0x1f2),null),_(this,_0x562a7a(0x1e3),null),_(this,'_anchorDot',null),_(this,_0x562a7a(0x31b),null),_(this,_0x562a7a(0x30a),null),(this[_0x562a7a(0x313)]=_0x4f47ef,this[_0x562a7a(0x23e)]=_0xc7a9e8,this['_docSkeleton']=_0x1863ce,this[_0x562a7a(0x1ed)]=_0x1e5484,this[_0x562a7a(0x2cc)]());}set[_0x11c536(0x1f9)](_0x35d653){const _0x1d5d12=_0x11c536;_0x35d653?(this[_0x1d5d12(0x263)]&&this[_0x1d5d12(0x263)][_0x1d5d12(0x2ec)](),this[_0x1d5d12(0x1e3)]&&this[_0x1d5d12(0x1e3)]['show']()):(this[_0x1d5d12(0x263)]&&this[_0x1d5d12(0x263)][_0x1d5d12(0x2d5)](),this[_0x1d5d12(0x1e3)]&&this['_textBubble'][_0x1d5d12(0x2ec)]());}[_0x11c536(0x35d)](){const _0x4d7fc4=_0x11c536;for(const _0x451727 of this['_shapes'])_0x451727[_0x4d7fc4(0x35d)]();this['_textBubble']&&this['_textBubble'][_0x4d7fc4(0x35d)](),this[_0x4d7fc4(0x263)]&&this['_anchorDot'][_0x4d7fc4(0x35d)](),this[_0x4d7fc4(0x1f2)]&&this['_anchor'][_0x4d7fc4(0x35d)](),this[_0x4d7fc4(0x30a)]&&this[_0x4d7fc4(0x30a)]();}[_0x11c536(0x2cc)](){const _0x50bcd9=_0x11c536;var _0x1d2b13;const {_docSkeleton:_0x3aa36f,_document:_0x48cd56}=this,{color:_0x25c01a,name:_0x20bcc5,ranges:_0x4fd1cf}=this['_cursor'],_0x1f8987=_0x48cd56[_0x50bcd9(0x2e8)](),{docsLeft:_0x41119c,docsTop:_0x582b9c}=_0x1f8987,_0x479f6d=new _0x4ffbf5(_0x1f8987,_0x3aa36f);for(const {startOffset:_0x936be2,endOffset:_0x36da72,rangeType:_0xb7c52d,segmentId:_0x15bfc2,segmentPage:_0x57bf70,collapsed:_0x22f756,isActive:_0x246392}of _0x4fd1cf){const _0xf9c4bf=_0x3aa36f[_0x50bcd9(0x1e1)](_0x936be2,!0x0,_0x15bfc2,_0x57bf70);let _0x1c443f=_0x3aa36f[_0x50bcd9(0x1e1)](_0x36da72,!0x0,_0x15bfc2,_0x57bf70);if(_0x1c443f==null&&(_0x1c443f=_0x3aa36f[_0x50bcd9(0x1e1)](_0x36da72-0x1,!0x1,_0x15bfc2,_0x57bf70)),_0x246392){const {contentBoxPointGroup:_0x1ba890}=_0x479f6d[_0x50bcd9(0x300)](_0x1c443f,_0x1c443f);if(_0x1ba890[_0x50bcd9(0x355)]===0x0)continue;this[_0x50bcd9(0x34c)](_0x25c01a,_0x1ba890,_0x41119c,_0x582b9c,_0x20bcc5),this[_0x50bcd9(0x30a)]=this[_0x50bcd9(0x234)]();}if(_0xf9c4bf&&_0x1c443f){if(_0xb7c52d===_0x94fd55[_0x50bcd9(0x22a)]){const _0x57a728=new _0x190f8b(_0x1f8987,_0x3aa36f),{pointGroup:_0x2d0be5}=(_0x1d2b13=_0x57a728[_0x50bcd9(0x300)](_0xf9c4bf,_0x1c443f))!=null?_0x1d2b13:{};if(_0x2d0be5==null||_0x2d0be5[_0x50bcd9(0x355)]===0x0)continue;this['_drawRectRange'](_0x25c01a,_0x2d0be5,_0x41119c,_0x582b9c);}else{if(!_0x22f756){const {borderBoxPointGroup:_0x12b7aa}=_0x479f6d['getRangePointData'](_0xf9c4bf,_0x1c443f);if(_0x12b7aa[_0x50bcd9(0x355)]===0x0)continue;this[_0x50bcd9(0x19b)](_0x25c01a,_0x12b7aa,_0x41119c,_0x582b9c);}}}}}['_drawAnchor'](_0x572bc9,_0x17aec7,_0x5e4c41,_0x183865,_0x5f1819){const _0x393d7e=_0x11c536,_0x101c14=this[_0x393d7e(0x30b)](_0x17aec7),{left:_0x346c0d,top:_0x18abda,height:_0x4f522b}=_0x101c14,_0x1e9a46=this[_0x393d7e(0x19c)](),_0x1467ba=Ni/_0x1e9a46,_0x6273a2=new _0x4a706e(ve+_0x1434f6[_0x393d7e(0x1f8)](X),{'left':_0x346c0d+_0x5e4c41-_0x1467ba,'top':_0x18abda+_0x183865,'height':_0x4f522b,'width':Di,'fill':_0x572bc9||_0x1b2bcc(_0x40ac7f[_0x393d7e(0x2cd)],0x0),'strokeWidth':_0x1467ba,'stroke':Mi,'evented':!0x0});this[_0x393d7e(0x1f2)]=_0x6273a2,this[_0x393d7e(0x23e)]['addObject'](_0x6273a2,_0x201b28);const _0x52de17=new _0x4a706e(ve+_0x1434f6['generateRandomId'](X),{'left':_0x346c0d+_0x5e4c41-_0x1467ba,'top':_0x18abda+_0x183865-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x572bc9||_0x1b2bcc(_0x40ac7f[_0x393d7e(0x2cd)],0x0),'strokeWidth':0x0,'stroke':_0x572bc9||_0x1b2bcc(_0x40ac7f['black'],0x0),'evented':!0x1});this[_0x393d7e(0x263)]=_0x52de17,this[_0x393d7e(0x23e)]['addObject'](_0x52de17,_0x201b28);const _0x479fee=new ue(ve+_0x1434f6[_0x393d7e(0x1f8)](X),{'left':_0x346c0d+_0x5e4c41-_0x1467ba,'top':_0x18abda+_0x183865-te,'text':_0x5f1819,'color':_0x572bc9});this[_0x393d7e(0x1e3)]=_0x479fee,this['_scene'][_0x393d7e(0x201)](_0x479fee,_0x201b28),this[_0x393d7e(0x1f9)]=!0x1;}[_0x11c536(0x234)](){const _0x33d893=_0x11c536,_0xb7e217=this[_0x33d893(0x1f2)][_0x33d893(0x323)]['subscribeEvent'](()=>{const _0x3800d4=_0x33d893;this[_0x3800d4(0x1f9)]=!0x0;}),_0x472303=this['_anchor']['onPointerLeave$']['subscribeEvent'](()=>{const _0x355c14=_0x33d893;this[_0x355c14(0x31b)]&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x3e4660=_0x33d893;_0xb7e217[_0x3e4660(0x307)](),_0x472303[_0x3e4660(0x307)]();};}['_drawTextRange'](_0x11dca6,_0x37fed0,_0x4d479f,_0x20f084){const _0x4356f0=_0x11c536,_0x37399f=new _0xdfbd4(_0x11dca6)[_0x4356f0(0x235)](0.2)[_0x4356f0(0x1c2)](),_0x4257aa=new _0x47df44(Ti+_0x1434f6[_0x4356f0(0x1f8)](X),{'pointsGroup':_0x37fed0,'fill':_0x37399f||_0x1b2bcc(_0x40ac7f[_0x4356f0(0x2cd)],0.2),'left':_0x4d479f,'top':_0x20f084,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4356f0(0x1b3)][_0x4356f0(0x2db)](_0x4257aa),this[_0x4356f0(0x23e)][_0x4356f0(0x201)](_0x4257aa,_0x201b28);}[_0x11c536(0x1f4)](_0x4447da,_0x3bdf68,_0x2628ca,_0x33c003){const _0x26bf69=_0x11c536,_0x3c2cf2=new _0xdfbd4(_0x4447da)[_0x26bf69(0x235)](0.2)[_0x26bf69(0x1c2)](),_0x130d69=new _0x47df44(Ri+_0x1434f6['generateRandomId'](X),{'pointsGroup':_0x3bdf68,'fill':_0x3c2cf2||_0x1b2bcc(_0x40ac7f[_0x26bf69(0x2cd)],0.2),'left':_0x2628ca,'top':_0x33c003,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x26bf69(0x1b3)][_0x26bf69(0x2db)](_0x130d69),this[_0x26bf69(0x23e)]['addObject'](_0x130d69,_0x201b28);}[_0x11c536(0x30b)](_0x1fc16e){const _0x43cea8=_0x1fc16e[0x0],_0x699ef8=_0x43cea8[0x0],_0x81623d=_0x43cea8[0x2],{x:_0x4adfae,y:_0x2bbcaa}=_0x699ef8,{x:_0x163859,y:_0x200a08}=_0x81623d;return{'left':_0x4adfae,'top':_0x2bbcaa,'width':_0x163859-_0x4adfae,'height':_0x200a08-_0x2bbcaa};}[_0x11c536(0x19c)](){const {scaleX:_0x5d892e,scaleY:_0x4af1d7}=this['_scene']['getAncestorScale']();return Math['max'](_0x5d892e,_0x4af1d7);}}var Pi=Object['getOwnPropertyDescriptor'],wi=(_0x15b1c6,_0x5c03e5,_0x365e14,_0x489652)=>{const _0x4d3e68=_0x11c536;for(var _0x45c06e=_0x489652>0x1?void 0x0:_0x489652?Pi(_0x5c03e5,_0x365e14):_0x5c03e5,_0x4244c2=_0x15b1c6[_0x4d3e68(0x355)]-0x1,_0x23637c;_0x4244c2>=0x0;_0x4244c2--)(_0x23637c=_0x15b1c6[_0x4244c2])&&(_0x45c06e=_0x23637c(_0x45c06e)||_0x45c06e);return _0x45c06e;},Q=(_0x2a4b85,_0x488e58)=>(_0x28746f,_0x208128)=>_0x488e58(_0x28746f,_0x208128,_0x2a4b85);let Ue=class extends _0x3d8144{constructor(_0x3daa91,_0x1156b3,_0x155df2,_0x122242,_0x1809ea){const _0x5874bb=_0x11c536;super(),_(this,_0x5874bb(0x340),[]),_(this,'_cursors',[]),(this[_0x5874bb(0x272)]=_0x3daa91,this['_docSkeletonManagerService']=_0x1156b3,this['_collabCursorController']=_0x155df2,this[_0x5874bb(0x2dc)]=_0x122242,this[_0x5874bb(0x24f)]=_0x1809ea,this[_0x5874bb(0x2f5)]());}[_0x11c536(0x2f5)](){const _0x405d86=_0x11c536,_0x27f52a=this['_context'][_0x405d86(0x2ba)],_0x1e0685=this[_0x405d86(0x324)];this[_0x405d86(0x36c)](_0x156538([this[_0x405d86(0x1c0)]['getCollabCursors$'](_0x27f52a),this['_themeService'][_0x405d86(0x2cf)]])[_0x405d86(0x26c)](_0x4a1234(([_0x5b8da2,_0x54f329])=>({'skeleton':_0x1e0685[_0x405d86(0x2b4)](),'cursors':[..._0x5b8da2[_0x405d86(0x282)]()][_0x405d86(0x397)](_0x1d9b2c=>({..._0x1d9b2c,'color':_0x54f329[_0x1d9b2c[_0x405d86(0x253)]]}))})))[_0x405d86(0x296)](_0x9571ca=>{const _0x15d669=_0x405d86;if(this[_0x15d669(0x27b)](),_0x9571ca){const {skeleton:_0x381323,cursors:_0x5220ef}=_0x9571ca;this['_updateCollabCursors'](_0x381323,_0x5220ef);}})),this[_0x405d86(0x35c)](),this[_0x405d86(0x302)]();}['_updateCollabCursors'](_0x4415c0,_0xfacb24){const _0x561353=_0x11c536,{scene:_0x33dcfb,mainComponent:_0x4ac582}=this['_context'],_0x3c2b9a=_0xfacb24['map'](_0x528ff5=>new tt(_0x528ff5,_0x33dcfb,_0x4415c0,_0x4ac582));this[_0x561353(0x340)]=_0x3c2b9a,this[_0x561353(0x347)]=_0xfacb24;}[_0x11c536(0x21b)](){const _0x3e067e=_0x11c536;this['_removeCollabCursors']();const {scene:_0x38e628,mainComponent:_0x31256a}=this[_0x3e067e(0x272)],_0x1f8266=this[_0x3e067e(0x324)]['getSkeleton'](),_0x55f207=this['_cursors'][_0x3e067e(0x1a5)](_0x22993d=>new tt(_0x22993d,_0x38e628,_0x1f8266,_0x31256a));this[_0x3e067e(0x340)]=_0x55f207;}[_0x11c536(0x27b)](){const _0x26a452=_0x11c536;this[_0x26a452(0x340)][_0x26a452(0x2dd)](_0x2aaf95=>_0x2aaf95[_0x26a452(0x35d)]()),this['_cursorShapes']=[];}[_0x11c536(0x302)](){const _0x1664a6=_0x11c536,_0x3a5971=[_0x89a103['id']];this[_0x1664a6(0x36c)](this[_0x1664a6(0x2dc)]['onCommandExecuted'](_0xac6fe8=>{const _0x468730=_0x1664a6;_0x3a5971[_0x468730(0x2be)](_0xac6fe8['id'])&&_0xac6fe8['params'][_0x468730(0x2ba)]===this[_0x468730(0x272)][_0x468730(0x2ba)]&&this[_0x468730(0x21b)]();}));}[_0x11c536(0x35c)](){const _0x58610f=_0x11c536;this[_0x58610f(0x36c)](_0x5f1cca(this[_0x58610f(0x272)]['engine'][_0x58610f(0x247)])[_0x58610f(0x26c)](_0x3b9e06(_0x435f1b=>_0x435f1b['type']===_0x58b071[_0x58610f(0x2df)]),_0x3addf5(0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};Ue=wi([Q(0x1,_0xc844dc(_0x3f73ff)),Q(0x2,_0xc844dc(H)),Q(0x3,_0x1fb5e5),Q(0x4,_0xc844dc(_0xa902c4))],Ue);const Ui=0x1,Li=1.5;class Ai extends _0x24a14b{constructor(_0x268f7d,_0x24d5c7){const _0x5b0200=_0x11c536;super(_0x268f7d,_0x24d5c7),_(this,_0x5b0200(0x199)),_(this,_0x5b0200(0x34d),!0x1),_(this,'_range'),_(this,_0x5b0200(0x222),''),_(this,'_labelPosition','top'),_(this,_0x5b0200(0x32e)),(_0x24d5c7&&this[_0x5b0200(0x2f7)](_0x24d5c7),this[_0x5b0200(0x323)][_0x5b0200(0x32a)](()=>this[_0x5b0200(0x2f7)]({'hovered':!0x0})),this['onPointerLeave$'][_0x5b0200(0x32a)](()=>this[_0x5b0200(0x2f7)]({'hovered':!0x1})));}[_0x11c536(0x2f7)](_0x1b4669){const _0xc61161=_0x11c536;var _0x34321e,_0x1cedbd,_0x213e6c,_0x1e1375,_0x374672,_0x585a00;this[_0xc61161(0x199)]=(_0x34321e=_0x1b4669[_0xc61161(0x253)])!=null?_0x34321e:this[_0xc61161(0x199)],this[_0xc61161(0x34d)]=(_0x1cedbd=_0x1b4669[_0xc61161(0x335)])!=null?_0x1cedbd:this[_0xc61161(0x34d)],this['_range']=(_0x213e6c=_0x1b4669[_0xc61161(0x1d9)])!=null?_0x213e6c:this[_0xc61161(0x22e)],this[_0xc61161(0x222)]=(_0x1e1375=_0x1b4669['name'])!=null?_0x1e1375:this[_0xc61161(0x222)],this[_0xc61161(0x2ff)]=(_0x374672=_0x1b4669[_0xc61161(0x22c)])!=null?_0x374672:this['_labelPosition'],this[_0xc61161(0x32e)]=(_0x585a00=_0x1b4669[_0xc61161(0x337)])!=null?_0x585a00:this[_0xc61161(0x32e)],this[_0xc61161(0x2bf)]({'width':_0x1b4669[_0xc61161(0x38e)],'height':_0x1b4669[_0xc61161(0x314)]});}[_0x11c536(0x2c4)](_0x46240c){const _0x396659=_0x11c536,{row:_0x436b51,column:_0x16d609}=_0x46240c;if(_0x436b51>=this[_0x396659(0x22e)][_0x396659(0x321)]&&_0x436b51<=this[_0x396659(0x22e)][_0x396659(0x35a)]&&_0x16d609>=this[_0x396659(0x22e)][_0x396659(0x1d4)]&&_0x16d609<=this[_0x396659(0x22e)][_0x396659(0x320)]){this[_0x396659(0x2f7)]({'hovered':!0x0});return;}this[_0x396659(0x2f7)]({'hovered':!0x1});}[_0x11c536(0x205)](_0x4a5cef){return!0x1;}[_0x11c536(0x28e)](_0x333391){const _0x1b733c=_0x11c536;_0x4a706e[_0x1b733c(0x24a)](_0x333391,{'width':this[_0x1b733c(0x38e)],'height':this[_0x1b733c(0x314)],'strokeWidth':Li,'stroke':this[_0x1b733c(0x199)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x1b733c(0x34d)]&&(_0x333391[_0x1b733c(0x21e)](),_0x333391[_0x1b733c(0x384)](0x1,0x0,0x0,0x1,this[_0x1b733c(0x38e)],this[_0x1b733c(0x2ff)]==='bottom'?0x0:-0x14),ue[_0x1b733c(0x24a)](_0x333391,{'text':this['_name'],'color':this[_0x1b733c(0x199)]}),_0x333391[_0x1b733c(0x391)]());}}var yi=Object[_0x11c536(0x27e)],$i=(_0x575199,_0x2f7001,_0x53b836,_0x49af12)=>{const _0x10faf4=_0x11c536;for(var _0x579826=_0x49af12>0x1?void 0x0:_0x49af12?yi(_0x2f7001,_0x53b836):_0x2f7001,_0x4dce02=_0x575199[_0x10faf4(0x355)]-0x1,_0x84a197;_0x4dce02>=0x0;_0x4dce02--)(_0x84a197=_0x575199[_0x4dce02])&&(_0x579826=_0x84a197(_0x579826)||_0x579826);return _0x579826;},pe=(_0x14c4c2,_0x14503a)=>(_0x4e95f0,_0x7b6b15)=>_0x14503a(_0x4e95f0,_0x7b6b15,_0x14c4c2);const xi=0x1389;let Le=class extends _0x3d8144{constructor(_0x2f3476,_0x48bd6d,_0x4155d3,_0x103f7d){const _0x2da374=_0x11c536;super(),_(this,_0x2da374(0x347),new Set()),_(this,_0x2da374(0x22d),null),(this[_0x2da374(0x272)]=_0x2f3476,this[_0x2da374(0x2f4)]=_0x48bd6d,this['_collabCursorController']=_0x4155d3,this[_0x2da374(0x24f)]=_0x103f7d,this['_init']());}[_0x11c536(0x2f5)](){const _0x137be4=_0x11c536;this[_0x137be4(0x2f4)][_0x137be4(0x266)][_0x137be4(0x26c)](_0x187066(this[_0x137be4(0x294)]),_0x5a1cbe(_0x350706=>{const _0x36e630=_0x137be4;if(_0x350706){const _0x51554b=_0x350706[_0x36e630(0x261)];return _0x156538(this[_0x36e630(0x1c0)][_0x36e630(0x341)](this[_0x36e630(0x272)]['unitId']),this[_0x36e630(0x24f)][_0x36e630(0x2cf)])[_0x36e630(0x26c)](_0x4a1234(([_0xe9fa61,_0x5af22e])=>{const _0x23d10d=_0x36e630,_0x24b13c=new Map();return _0xe9fa61[_0x23d10d(0x2dd)]((_0x486767,_0x1f623a)=>{const _0xd8e55b=_0x23d10d;if(_0x486767[_0xd8e55b(0x31e)]===_0x51554b){const _0x245840={..._0x486767};_0x245840[_0xd8e55b(0x253)]=_0x5af22e[_0x486767['color']],_0x24b13c[_0xd8e55b(0x25e)](_0x1f623a,_0x245840);}}),{'skeleton':_0x350706,'cursors':_0x24b13c};}));}return _0x3831e6({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x6cee3a,cursors:_0x5d0000})=>{this['_removeCollabCursors'](),_0x6cee3a&&this['_updateCollabCursors'](_0x6cee3a,_0x5d0000);}),this[_0x137be4(0x2f4)][_0x137be4(0x266)][_0x137be4(0x296)](_0x4149aa=>{const _0x159574=_0x137be4;if(_0x4149aa==null)return;const {skeleton:_0x2c04cb}=_0x4149aa,{scene:_0x55eb1c}=this[_0x159574(0x272)];_0x55eb1c[_0x159574(0x34a)]['subscribeEvent'](_0x21952c(_0x2186cc=>{const _0x3f10e5=_0x159574;var _0x664707,_0x2f0530;const {offsetX:_0x24c49c,offsetY:_0x31263f}=_0x2186cc,{x:_0x396726,y:_0x30c172}=_0x55eb1c[_0x3f10e5(0x19e)](_0x2ced09[_0x3f10e5(0x387)]([_0x24c49c,_0x31263f])),{scaleX:_0x43a02d,scaleY:_0x175aca}=_0x55eb1c['getAncestorScale'](),_0x366dd7=_0x55eb1c[_0x3f10e5(0x2b0)](_0x3be023[_0x3f10e5(0x2a1)]),_0x19a842=_0x55eb1c['getVpScrollXYInfoByPosToVp'](_0x2ced09[_0x3f10e5(0x387)]([_0x396726,_0x30c172]),_0x366dd7),_0x492bb8=_0x2c04cb['getCellPositionByOffset'](_0x24c49c,_0x31263f,_0x43a02d,_0x175aca,_0x19a842);((_0x664707=this[_0x3f10e5(0x22d)])==null?void 0x0:_0x664707['column'])===_0x492bb8[_0x3f10e5(0x243)]&&((_0x2f0530=this[_0x3f10e5(0x22d)])==null?void 0x0:_0x2f0530[_0x3f10e5(0x2b2)])===_0x492bb8[_0x3f10e5(0x2b2)]||this[_0x3f10e5(0x347)]['forEach'](_0x2ee390=>{const _0x1f6f81=_0x3f10e5;_0x2ee390[_0x1f6f81(0x2c4)](_0x492bb8);});},0x64));});}[_0x11c536(0x39b)](_0x8426fa,_0x3bf021){const _0x1a9c55=_0x11c536;var _0x2702d1;const _0x32be2d=(_0x2702d1=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x2702d1[_0x1a9c55(0x2ea)];if(!_0x32be2d)return;const _0x54b6ba=this['_getSheetObject']();if(!_0x54b6ba)return;this[_0x1a9c55(0x347)][_0x1a9c55(0x2dd)](_0x55a96b=>{const _0x49aab1=_0x1a9c55;_0x55a96b[_0x49aab1(0x2e1)]();});const {scene:_0x49fc74}=_0x54b6ba,_0x4c8496=Bi(Array[_0x1a9c55(0x1a1)](_0x3bf021[_0x1a9c55(0x282)]()))['map'](_0x55ce60=>{const _0x2da247=_0x1a9c55,{color:_0x3b2b3d,range:_0x3192c7,name:_0x16b13e,selection:_0x4d1b21,sheetID:_0xafa347}=_0x55ce60,{startColumn:_0x33226f,startRow:_0x2b0178,endColumn:_0x18e25c,endRow:_0x10fde6}=_0x3192c7,_0x2e0aec=_0x5a4c79(_0x2b0178,_0x33226f,_0x49fc74,_0x32be2d),_0x2bfe1e=_0x5a4c79(_0x10fde6,_0x18e25c,_0x49fc74,_0x32be2d),{columnHeaderHeightAndMarginTop:_0x2f34cc}=_0x32be2d,{startX:_0x196132,startY:_0x59fdac}=_0x2e0aec,{endX:_0xb9433f,endY:_0x167b56}=_0x2bfe1e,_0x65905e=_0xb9433f-_0x196132,_0x505fba=_0x167b56-_0x59fdac,_0x264ade={'labelPosition':_0x59fdac-_0x2f34cc>=te?_0x2da247(0x279):'bottom','sheetID':_0xafa347,'range':_0x3192c7,'color':_0x3b2b3d,'name':_0x16b13e,'selection':_0x4d1b21,'left':_0x196132,'top':_0x59fdac,'width':_0x65905e,'height':_0x505fba,'evented':!0x1,'zIndex':xi};return new Ai(_0x16b13e,_0x264ade);});_0x49fc74[_0x1a9c55(0x251)](_0x4c8496,Ui),this['_cursors']=new Set(_0x4c8496);}[_0x11c536(0x27b)](){const _0x3c10ed=_0x11c536;var _0x591e4e;(_0x591e4e=this[_0x3c10ed(0x347)])==null||_0x591e4e[_0x3c10ed(0x2dd)](_0x1bf504=>_0x1bf504[_0x3c10ed(0x35d)]());}[_0x11c536(0x23d)](){const _0x7c957b=_0x11c536;return _0x251257(this[_0x7c957b(0x272)][_0x7c957b(0x25f)],this[_0x7c957b(0x272)]);}};Le=$i([pe(0x1,_0xc844dc(_0x42ae61)),pe(0x2,_0xc844dc(H)),pe(0x3,_0xc844dc(_0xa902c4))],Le);function Bi(_0x811219){const _0x4389ca=_0x11c536,_0x10ffd2=new Map();return _0x811219['forEach'](_0x2e3132=>{const _0x3f300a=_0x556e;if(_0x10ffd2[_0x3f300a(0x39a)](_0x2e3132[_0x3f300a(0x382)])){const _0x59af0e=_0x10ffd2[_0x3f300a(0x258)](_0x2e3132[_0x3f300a(0x382)]);_0x59af0e[_0x3f300a(0x218)]+=',\x20'+_0x2e3132['name'];}else _0x10ffd2[_0x3f300a(0x25e)](_0x2e3132[_0x3f300a(0x382)],_0x2e3132);}),Array[_0x4389ca(0x1a1)](_0x10ffd2[_0x4389ca(0x282)]());}var I=function(){const _0x2e6482=_0x11c536;return I=Object[_0x2e6482(0x2f6)]||function(_0x2494e1){const _0x2ac72f=_0x2e6482;for(var _0x5bb751,_0x53ad1e=0x1,_0x421423=arguments[_0x2ac72f(0x355)];_0x53ad1e<_0x421423;_0x53ad1e++){_0x5bb751=arguments[_0x53ad1e];for(var _0x58cb0d in _0x5bb751)Object[_0x2ac72f(0x203)][_0x2ac72f(0x26a)][_0x2ac72f(0x336)](_0x5bb751,_0x58cb0d)&&(_0x2494e1[_0x58cb0d]=_0x5bb751[_0x58cb0d]);}return _0x2494e1;},I[_0x2e6482(0x326)](this,arguments);},ki=function(_0x3b7ea0,_0x5f8035){const _0xea0a6e=_0x11c536;var _0x4ea97c={};for(var _0x25a44d in _0x3b7ea0)Object['prototype'][_0xea0a6e(0x26a)][_0xea0a6e(0x336)](_0x3b7ea0,_0x25a44d)&&_0x5f8035['indexOf'](_0x25a44d)<0x0&&(_0x4ea97c[_0x25a44d]=_0x3b7ea0[_0x25a44d]);if(_0x3b7ea0!=null&&typeof Object[_0xea0a6e(0x202)]==_0xea0a6e(0x2a6)){for(var _0x197142=0x0,_0x25a44d=Object[_0xea0a6e(0x202)](_0x3b7ea0);_0x197142<_0x25a44d[_0xea0a6e(0x355)];_0x197142++)_0x5f8035['indexOf'](_0x25a44d[_0x197142])<0x0&&Object[_0xea0a6e(0x203)][_0xea0a6e(0x265)][_0xea0a6e(0x336)](_0x3b7ea0,_0x25a44d[_0x197142])&&(_0x4ea97c[_0x25a44d[_0x197142]]=_0x3b7ea0[_0x25a44d[_0x197142]]);}return _0x4ea97c;},We=_0x346132(function(_0x4f49a8,_0x18af0b){const _0x15f1ea=_0x11c536;var _0x522926=_0x4f49a8[_0x15f1ea(0x2ca)],_0x17568b=_0x4f49a8['id'],_0xe7ca3=_0x4f49a8[_0x15f1ea(0x1cd)],_0x2f3cd7=_0x4f49a8[_0x15f1ea(0x358)],_0x1da755=ki(_0x4f49a8,[_0x15f1ea(0x2ca),'id',_0x15f1ea(0x1cd),_0x15f1ea(0x358)]),_0x13f30a=_0x15f1ea(0x381)['concat'](_0x17568b,'\x20')[_0x15f1ea(0x1c3)](_0xe7ca3||'')[_0x15f1ea(0x232)](),_0x126f5d=_0x2fb28d('_'['concat'](Wi()));return Nt(_0x522926,''['concat'](_0x17568b),{'defIds':_0x522926[_0x15f1ea(0x1e9)],'idSuffix':_0x126f5d[_0x15f1ea(0x2c2)]},I({'ref':_0x18af0b,'className':_0x13f30a},_0x1da755),_0x2f3cd7);});function Nt(_0x5eec88,_0x18baed,_0x3ca2c5,_0x5cb41f,_0x5b7db){const _0x57fdda=_0x11c536;return _0x589f3f(_0x5eec88[_0x57fdda(0x33f)],I(I({'key':_0x18baed},Hi(_0x5eec88,_0x3ca2c5,_0x5b7db)),_0x5cb41f),(ji(_0x5eec88,_0x3ca2c5)[_0x57fdda(0x24c)]||[])[_0x57fdda(0x1a5)](function(_0x122ed2,_0x47e2c0){const _0x31ade4=_0x57fdda;return Nt(_0x122ed2,''[_0x31ade4(0x1c3)](_0x18baed,'-')[_0x31ade4(0x1c3)](_0x5eec88[_0x31ade4(0x33f)],'-')[_0x31ade4(0x1c3)](_0x47e2c0),_0x3ca2c5,void 0x0,_0x5b7db);}));}function Hi(_0x4ef971,_0x297b73,_0x2ed53d){const _0x361b7a=_0x11c536;var _0x304f6f=I({},_0x4ef971[_0x361b7a(0x333)]);_0x2ed53d!=null&&_0x2ed53d['colorChannel1']&&_0x304f6f[_0x361b7a(0x301)]===_0x361b7a(0x23f)&&(_0x304f6f['fill']=_0x2ed53d['colorChannel1']),_0x4ef971['tag']===_0x361b7a(0x209)&&_0x304f6f['id']&&(_0x304f6f['id']=_0x304f6f['id']+_0x297b73[_0x361b7a(0x1a0)]),Object[_0x361b7a(0x2d1)](_0x304f6f)[_0x361b7a(0x2dd)](function(_0xd07fa9){const _0x451441=_0x361b7a;var _0x3c5ffd=_0xd07fa9[0x0],_0x1e4dec=_0xd07fa9[0x1];_0x3c5ffd==='mask'&&typeof _0x1e4dec==_0x451441(0x342)&&(_0x304f6f[_0x3c5ffd]=_0x1e4dec[_0x451441(0x1a7)](/url\(#(.*)\)/,_0x451441(0x303)[_0x451441(0x1c3)](_0x297b73[_0x451441(0x1a0)],')')));});var _0x46f44a=_0x297b73[_0x361b7a(0x1e9)];return!_0x46f44a||_0x46f44a['length']===0x0||(_0x4ef971[_0x361b7a(0x33f)]===_0x361b7a(0x28f)&&_0x304f6f['xlink:href']&&(_0x304f6f[_0x361b7a(0x1f6)]=_0x304f6f[_0x361b7a(0x1f6)]+_0x297b73['idSuffix']),Object[_0x361b7a(0x2d1)](_0x304f6f)['forEach'](function(_0x14d9f9){const _0x4de6a2=_0x361b7a;var _0x33d3f6=_0x14d9f9[0x0],_0x14397a=_0x14d9f9[0x1];typeof _0x14397a==_0x4de6a2(0x342)&&(_0x304f6f[_0x33d3f6]=_0x14397a['replace'](/url\(#(.*)\)/,_0x4de6a2(0x303)[_0x4de6a2(0x1c3)](_0x297b73[_0x4de6a2(0x1a0)],')')));})),_0x304f6f;}function ji(_0x514bd0,_0x5cfb0a){const _0x37a08f=_0x11c536;var _0x279218,_0x3f70d8=_0x5cfb0a[_0x37a08f(0x1e9)];return!_0x3f70d8||_0x3f70d8['length']===0x0?_0x514bd0:_0x514bd0[_0x37a08f(0x33f)]===_0x37a08f(0x1cc)&&(!((_0x279218=_0x514bd0[_0x37a08f(0x24c)])===null||_0x279218===void 0x0)&&_0x279218[_0x37a08f(0x355)])?I(I({},_0x514bd0),{'children':_0x514bd0[_0x37a08f(0x24c)][_0x37a08f(0x1a5)](function(_0x395c0c){const _0x95a774=_0x37a08f;return typeof _0x395c0c[_0x95a774(0x333)]['id']==_0x95a774(0x342)&&_0x3f70d8&&_0x3f70d8[_0x95a774(0x267)](_0x395c0c[_0x95a774(0x333)]['id'])>-0x1?I(I({},_0x395c0c),{'attrs':I(I({},_0x395c0c[_0x95a774(0x333)]),{'id':_0x395c0c[_0x95a774(0x333)]['id']+_0x5cfb0a[_0x95a774(0x1a0)]})}):_0x395c0c;})}):_0x514bd0;}function Wi(){const _0x3e9516=_0x11c536;return Math['random']()['toString'](0x24)[_0x3e9516(0x1e8)](0x2,0x8);}We['displayName']=_0x11c536(0x1c9);var Fi={'tag':_0x11c536(0x393),'attrs':{'fill':_0x11c536(0x195),'viewBox':_0x11c536(0x249),'width':_0x11c536(0x19f),'height':_0x11c536(0x19f)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x11c536(0x210),'strokeLinecap':_0x11c536(0x1dd),'strokeLinejoin':_0x11c536(0x1dd),'strokeWidth':1.2}}]},{'tag':_0x11c536(0x1cc),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x11c536(0x29e)},'children':[{'tag':'path','attrs':{'fill':_0x11c536(0x29c),'d':_0x11c536(0x1ab)}}]}]}],'defIds':[_0x11c536(0x29e)]},Mt=_0x346132(function(_0x356e93,_0x142214){const _0x3278b7=_0x11c536;return _0x589f3f(We,Object[_0x3278b7(0x2f6)]({},_0x356e93,{'id':_0x3278b7(0x32c),'ref':_0x142214,'icon':Fi}));});Mt[_0x11c536(0x30f)]=_0x11c536(0x239);var Vi={'tag':_0x11c536(0x393),'attrs':{'fill':_0x11c536(0x195),'viewBox':_0x11c536(0x398),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x11c536(0x2d4),'attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':'round','strokeLinejoin':_0x11c536(0x1dd),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x11c536(0x2c3),'attrs':{'id':_0x11c536(0x19d)},'children':[{'tag':_0x11c536(0x2d4),'attrs':{'fill':'#fff','d':_0x11c536(0x1ab),'transform':_0x11c536(0x200)}}]}]}],'defIds':[_0x11c536(0x19d)]},Pt=_0x346132(function(_0x4fd2f8,_0x561953){const _0x59842c=_0x11c536;return _0x589f3f(We,Object['assign']({},_0x4fd2f8,{'id':_0x59842c(0x30d),'ref':_0x561953,'icon':Vi}));});Pt[_0x11c536(0x30f)]=_0x11c536(0x1ca);const Yi=_0x11c536(0x248),Xi=_0x11c536(0x368),Gi=_0x11c536(0x389),Ki=_0x11c536(0x1d1),zi='univer-offline',G={'onlineStatusIcon':Yi,'onlineStatusTitle':Xi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0x32d8f6){const _0x5eba1b=_0x11c536;switch(_0x32d8f6){case _0xc12461['OFFLINE']:return _0x5eba1b(0x299);case _0xc12461['CONFLICT']:return _0x5eba1b(0x318);case _0xc12461['FETCH_MISS']:return _0x5eba1b(0x219);case _0xc12461['NOT_COLLAB']:return _0x5eba1b(0x33c);case _0xc12461[_0x5eba1b(0x231)]:case _0xc12461[_0x5eba1b(0x208)]:return _0x5eba1b(0x2e6);case _0xc12461['SYNCED']:case _0xc12461[_0x5eba1b(0x386)]:return _0x5eba1b(0x371);}}function Zi(_0x1fa7ff){const _0x32b5fe=_0x11c536,{status$:_0x636e02}=_0x1fa7ff,_0x2fa99c=_0x366851(_0x636e02,_0xc12461[_0x32b5fe(0x2de)]),_0x3f0dbd=_0x5cde52(_0x3d74e7),_0xb1b8bb=_0x5cde52(_0x4af566),_0x148ff5=_0x2fa99c!==_0xc12461[_0x32b5fe(0x23b)],_0x398940=_0x3f0dbd['t'](Ji(_0x2fa99c)),_0x2ae603=_0x25ea57(G['onlineStatus'],{[G[_0x32b5fe(0x316)]]:_0x148ff5,[G['offline']]:!_0x148ff5}),_0x1ecffa=_0x148ff5?_0x3e9561(Pt,{}):_0x3e9561(Mt,{}),_0x29d84f=_0x197c1c(()=>{_0x148ff5||_0xb1b8bb['reconnect']();},[_0x148ff5,_0xb1b8bb]);function _0x14d07c(){const _0x302c2c=_0x32b5fe;return _0x1fa2a5(_0x302c2c(0x2a7),{'className':_0x25ea57(_0x2ae603,_0x302c2c(0x1e0)),'onClick':_0x29d84f,'children':[_0x3e9561(_0x302c2c(0x2a7),{'className':G['onlineStatusIcon'],'children':_0x1ecffa}),_0x3e9561(_0x302c2c(0x2a7),{'className':G[_0x302c2c(0x2b6)],'children':_0x398940})]});}return _0x148ff5?_0x14d07c():_0x3e9561(_0x5a070d,{'title':_0x3f0dbd['t'](_0x32b5fe(0x2a0)),'children':_0x14d07c()});}var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x3f5284,_0x15e1f3,_0x5bd4db,_0x2c547b)=>{const _0x5d826b=_0x11c536;for(var _0xc57ee=_0x2c547b>0x1?void 0x0:_0x2c547b?Qi(_0x15e1f3,_0x5bd4db):_0x15e1f3,_0x3e2d66=_0x3f5284[_0x5d826b(0x355)]-0x1,_0x29cc85;_0x3e2d66>=0x0;_0x3e2d66--)(_0x29cc85=_0x3f5284[_0x3e2d66])&&(_0xc57ee=_0x29cc85(_0xc57ee)||_0xc57ee);return _0xc57ee;},q=(_0x42c6b4,_0x553a1e)=>(_0x11b894,_0x5cf1ec)=>_0x553a1e(_0x11b894,_0x5cf1ec,_0x42c6b4);let se=class extends _0x4ad333{constructor(_0x966b78,_0x565661,_0x5063cd,_0xa56ef0){const _0xabfb23=_0x11c536;super(),_(this,_0xabfb23(0x2d9),new _0x148531(_0xc12461['NOT_COLLAB'])),(this['_univerInstanceService']=_0x966b78,this[_0xabfb23(0x1f0)]=_0x565661,this['_collaborationController']=_0x5063cd,this[_0xabfb23(0x376)]=_0xa56ef0,this[_0xabfb23(0x394)](),this['_initStatusListener']());}[_0x11c536(0x2d2)](){const _0x34f458=_0x11c536;this[_0x34f458(0x36c)](this['_univerInstanceService']['focused$'][_0x34f458(0x26c)](_0x13e88a(()=>{const _0x5e0901=_0x34f458,_0xdc007c=this[_0x5e0901(0x1d6)][_0x5e0901(0x37d)]();return _0xdc007c?this['_collaborationController'][_0x5e0901(0x1df)](_0xdc007c[_0x5e0901(0x2f3)]()):_0x3831e6(null);}),_0x13e88a(_0x55a894=>_0x55a894?_0x55a894[_0x34f458(0x306)]:_0x3831e6(_0xc12461['NOT_COLLAB'])))[_0x34f458(0x296)](_0x55a813=>{const _0x3d50c0=_0x34f458;this[_0x3d50c0(0x2d9)]['next'](_0x55a813);}));}[_0x11c536(0x394)](){const _0x2247ca=_0x11c536;this[_0x2247ca(0x36c)](this[_0x2247ca(0x376)]['registerComponent'](_0x59b6f7[_0x2247ca(0x2e3)],()=>_0x249a93(en({'status$':this[_0x2247ca(0x2d9)]['asObservable']()}),this[_0x2247ca(0x1f0)])));}};se=qi([q(0x0,_0x3cb68e),q(0x1,_0xc844dc(_0x4e73b2)),q(0x2,_0xc844dc(_0x486e7f)),q(0x3,_0x16a8ea)],se);function en(_0x180f6b){const {status$:_0x2f2baa}=_0x180f6b;return function(){return _0x3e9561(Zi,{'status$':_0x2f2baa});};}var tn=Object[_0x11c536(0x27e)],sn=(_0x3270c5,_0x1d0073,_0x2f85c3,_0x60e8e)=>{const _0x1672cd=_0x11c536;for(var _0x3c3c05=_0x60e8e>0x1?void 0x0:_0x60e8e?tn(_0x1d0073,_0x2f85c3):_0x1d0073,_0x11d3b7=_0x3270c5[_0x1672cd(0x355)]-0x1,_0x493488;_0x11d3b7>=0x0;_0x11d3b7--)(_0x493488=_0x3270c5[_0x11d3b7])&&(_0x3c3c05=_0x493488(_0x3c3c05)||_0x3c3c05);return _0x3c3c05;},B=(_0x3bb32b,_0x34b7ee)=>(_0x5db40c,_0x49145c)=>_0x34b7ee(_0x5db40c,_0x49145c,_0x3bb32b);let ie=class extends _0x4ad333{constructor(_0x3a94b9,_0x47ead3,_0x281e4f,_0x151272,_0x1bcb86,_0x29cddf){const _0x320b01=_0x11c536;super(),this[_0x320b01(0x359)]=_0x3a94b9,this['_localCacheService']=_0x47ead3,this[_0x320b01(0x1ff)]=_0x281e4f,this[_0x320b01(0x2d6)]=_0x151272,this[_0x320b01(0x2e0)]=_0x1bcb86,this[_0x320b01(0x214)]=_0x29cddf,this[_0x320b01(0x23c)](),this[_0x320b01(0x2d0)]();}[_0x11c536(0x23c)](){const _0x724efd=_0x11c536;this['disposeWithMe'](this['_beforeCloseService'][_0x724efd(0x327)](()=>{const _0xfd4ea8=_0x724efd;if(this[_0xfd4ea8(0x2af)][_0xfd4ea8(0x284)][_0xfd4ea8(0x2a5)])return this[_0xfd4ea8(0x214)]['t'](_0xfd4ea8(0x25c));}));}[_0x11c536(0x2d0)](){const _0x1d9cc3=_0x11c536;this[_0x1d9cc3(0x36c)](this[_0x1d9cc3(0x1ff)]['event$'][_0x1d9cc3(0x296)](_0x2efd52=>{const _0x22be00=_0x1d9cc3;_0x2efd52['id']===_0x38c7e4[_0x22be00(0x260)]&&this['_messageService']['show']({'type':_0x853eb8[_0x22be00(0x20c)],'content':this['_localeService']['t'](_0x22be00(0x245))}),_0x2efd52['id']===_0x38c7e4['CLOSE_ROOM']&&this['_messageService']['show']({'type':_0x853eb8[_0x22be00(0x20c)],'content':this[_0x22be00(0x214)]['t']('collaboration.closeRoom')}),_0x2efd52['id']===_0x38c7e4['PERMISSION_DENIED']&&this[_0x22be00(0x2e0)][_0x22be00(0x2d5)]({'title':this[_0x22be00(0x214)]['t'](_0x22be00(0x215)),'content':this[_0x22be00(0x214)]['t'](_0x22be00(0x38f)),'type':'error','duration':0x0}),_0x2efd52['id']===_0x38c7e4['CONFLICT']&&this[_0x22be00(0x2d6)]['show']({'type':_0x853eb8[_0x22be00(0x217)],'content':this[_0x22be00(0x214)]['t'](_0x22be00(0x283))+'('+_0x2efd52[_0x22be00(0x25b)]+')'}),_0x2efd52['id']===_0x38c7e4[_0x22be00(0x1a4)]&&this[_0x22be00(0x2d6)][_0x22be00(0x2d5)]({'type':_0x853eb8[_0x22be00(0x20c)],'content':this['_localeService']['t'](_0x2efd52[_0x22be00(0x25b)]||'')}),_0x2efd52['id']===_0x38c7e4[_0x22be00(0x36b)]&&this[_0x22be00(0x2d6)][_0x22be00(0x2d5)]({'type':_0x853eb8['Warning'],'content':this[_0x22be00(0x214)]['t'](_0x22be00(0x2e7))}),_0x2efd52['id']===_0x38c7e4[_0x22be00(0x2b5)]&&this['_messageService'][_0x22be00(0x2d5)]({'type':_0x853eb8[_0x22be00(0x217)],'content':this['_localeService']['t']('session.connection-failed')}),_0x2efd52['id']===_0x38c7e4[_0x22be00(0x275)]&&this[_0x22be00(0x2d6)][_0x22be00(0x2d5)]({'type':_0x853eb8[_0x22be00(0x217)],'content':this[_0x22be00(0x214)]['t'](_0x22be00(0x2fc))});}));}};ie=sn([B(0x0,_0x475aa9),B(0x1,_0x30d27e),B(0x2,_0xc844dc(_0xdf379c)),B(0x3,_0x475940),B(0x4,_0x5aa09c),B(0x5,_0xc844dc(_0x3d74e7))],ie);const nn=_0x11c536(0x224),st={},wt=_0x3d6e5f(_0x11c536(0x34e));var rn=Object['getOwnPropertyDescriptor'],on=(_0x37d366,_0x5daff5,_0x24d154,_0x2562e3)=>{for(var _0x51d408=_0x2562e3>0x1?void 0x0:_0x2562e3?rn(_0x5daff5,_0x24d154):_0x5daff5,_0x269a63=_0x37d366['length']-0x1,_0x4634d8;_0x269a63>=0x0;_0x269a63--)(_0x4634d8=_0x37d366[_0x269a63])&&(_0x51d408=_0x4634d8(_0x51d408)||_0x51d408);return _0x51d408;},K=(_0x3ce898,_0x574ce9)=>(_0x27cbc5,_0x2736c2)=>_0x574ce9(_0x27cbc5,_0x2736c2,_0x3ce898);let ne=class extends _0x3d8144{constructor(_0x51cc50,_0x3c2b0b,_0x26dd13,_0x15d620,_0x540be7){const _0x13eaa1=_0x11c536;super(),this['_urlService']=_0x51cc50,this[_0x13eaa1(0x1b7)]=_0x3c2b0b,this[_0x13eaa1(0x2dc)]=_0x26dd13,this[_0x13eaa1(0x292)]=_0x15d620,_0x540be7?_0x540be7==null||_0x540be7['whenReady']()[_0x13eaa1(0x362)](()=>this['_init']()):(this[_0x13eaa1(0x1b7)][_0x13eaa1(0x322)]('[CollaborationDataLoaderController]',_0x13eaa1(0x348)),this[_0x13eaa1(0x2f5)]());}async[_0x11c536(0x2f5)](){const _0x50c8c1=_0x11c536,_0x275c7e=this[_0x50c8c1(0x21c)][_0x50c8c1(0x377)](_0x50c8c1(0x25f)),_0x1020db=this[_0x50c8c1(0x21c)]['getParam'](_0x50c8c1(0x1ec)),_0x58b1b7=this[_0x50c8c1(0x21c)][_0x50c8c1(0x377)](_0x50c8c1(0x20d));if(!_0x275c7e||!_0x1020db){this['_logService']['debug'](_0x50c8c1(0x2e4),_0x50c8c1(0x2c6));return;}const _0x5ac0be=await this[_0x50c8c1(0x292)]['loadUnit'](_0x275c7e,Number(_0x1020db),_0x58b1b7);_0x5ac0be&&_0x5ac0be instanceof _0x2d42ff&&this[_0x50c8c1(0x194)](_0x5ac0be);}async['_setupSubUnitSync'](_0xf8b44a){const _0x5ba2e0=_0x11c536;await this['_updateSubUnitFromURLParams'](_0xf8b44a),_0xf8b44a[_0x5ba2e0(0x229)][_0x5ba2e0(0x26c)](_0x1c3d6b(this['dispose$']))[_0x5ba2e0(0x296)](_0xcbefc8=>{const _0x5f4e60=_0x5ba2e0;_0xcbefc8&&this[_0x5f4e60(0x1da)](_0xcbefc8);}),this[_0x5ba2e0(0x21c)][_0x5ba2e0(0x26f)][_0x5ba2e0(0x26c)](_0x1c3d6b(this[_0x5ba2e0(0x294)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0xf8b44a));}[_0x11c536(0x1da)](_0x5b66a2,_0x141fbd=!0x1){const _0x4d32b4=_0x11c536,_0x4a242d=this[_0x4d32b4(0x21c)][_0x4d32b4(0x377)](_0x4d32b4(0x20d));_0x5b66a2['getSheetId']()!==_0x4a242d&&this['_urlService'][_0x4d32b4(0x350)](_0x4d32b4(0x20d),_0x5b66a2[_0x4d32b4(0x1ea)](),_0x141fbd);}async['_updateSubUnitFromURLParams'](_0x1823d6){const _0x1ec09c=_0x11c536;var _0x30f069;const _0x4d1fd9=this[_0x1ec09c(0x21c)][_0x1ec09c(0x377)](_0x1ec09c(0x20d));if(!_0x4d1fd9||!_0x1823d6[_0x1ec09c(0x1a8)](_0x4d1fd9)){const _0x14395a=_0x1823d6[_0x1ec09c(0x241)]()[0x0],_0x3b6d38=_0x1823d6['getSheetBySheetId'](_0x14395a);if(!_0x3b6d38)return;this[_0x1ec09c(0x1da)](_0x3b6d38,!0x0),await this[_0x1ec09c(0x2dc)][_0x1ec09c(0x1fc)](_0x1d8609['id'],{'unitId':_0x1823d6[_0x1ec09c(0x2f3)](),'subUnitId':_0x14395a});return;}((_0x30f069=_0x1823d6[_0x1ec09c(0x354)]())==null?void 0x0:_0x30f069['getSheetId']())!==_0x4d1fd9&&await this[_0x1ec09c(0x2dc)][_0x1ec09c(0x1fc)](_0x1d8609['id'],{'unitId':_0x1823d6[_0x1ec09c(0x2f3)](),'subUnitId':_0x4d1fd9});}};ne=on([K(0x0,wt),K(0x1,_0x39b281),K(0x2,_0x1fb5e5),K(0x3,_0xc844dc(_0x3130c2)),K(0x4,_0x2c9003(_0x9b782b))],ne);var an=Object[_0x11c536(0x27e)],cn=(_0x13948f,_0x3fde4a,_0x3bd9be,_0x5b11af)=>{for(var _0x7dcb85=_0x5b11af>0x1?void 0x0:_0x5b11af?an(_0x3fde4a,_0x3bd9be):_0x3fde4a,_0x31d661=_0x13948f['length']-0x1,_0x4d12a4;_0x31d661>=0x0;_0x31d661--)(_0x4d12a4=_0x13948f[_0x31d661])&&(_0x7dcb85=_0x4d12a4(_0x7dcb85)||_0x7dcb85);return _0x7dcb85;},Ce=(_0x2ca225,_0x5672e9)=>(_0x2aef48,_0x27aaae)=>_0x5672e9(_0x2aef48,_0x27aaae,_0x2ca225);let re=class{constructor(_0x23a1f3,_0x541084,_0x3b9937){const _0x30e2c8=_0x11c536;this[_0x30e2c8(0x1f0)]=_0x23a1f3,this[_0x30e2c8(0x2ce)]=_0x541084,this[_0x30e2c8(0x395)]=_0x3b9937;}[_0x11c536(0x2d8)](_0x593d8a){const _0xb15889=_0x11c536;this[_0xb15889(0x1ac)](_0x593d8a),this[_0xb15889(0x31c)](_0x593d8a);}[_0x11c536(0x1dc)](_0x33b6ed){const _0xb18fc9=_0x11c536,{unitID:_0x4f825c}=_0x33b6ed,_0x4151ef=this[_0xb18fc9(0x395)][_0xb18fc9(0x1db)](_0x4f825c)[_0xb18fc9(0x1fd)](_0x11fa1a),{redoCache:_0x137dbf}=_0x4151ef[_0xb18fc9(0x2f9)]();if(_0x137dbf[_0xb18fc9(0x355)]===0x0)return _0x33b6ed;let _0x3ac874=_0x1434f6[_0xb18fc9(0x352)](_0x33b6ed[_0xb18fc9(0x1d3)][0x0]);for(let _0x53f132=0x0;_0x53f132<_0x137dbf[_0xb18fc9(0x355)];_0x53f132++){const _0x4bc116={'id':_0xb18fc9(0x1c1),'params':{..._0x137dbf[_0x53f132]}},_0xf66967=this[_0xb18fc9(0x2ce)][_0xb18fc9(0x32f)](_0x3ac874,_0x4bc116,!0x1);if(_0x1c59eb(_0xf66967))throw _0xf66967[_0xb18fc9(0x24d)];_0x3ac874=_0xf66967[_0xb18fc9(0x31f)];}return{..._0x1434f6[_0xb18fc9(0x352)](_0x33b6ed),'mutations':[_0x3ac874]};}[_0x11c536(0x1ac)](_0x30d472){const _0x3033eb=_0x11c536,{unitID:_0x3166dc}=_0x30d472,_0x28db4c=this['_renderManagerService'][_0x3033eb(0x1db)](_0x3166dc)['with'](_0x11fa1a),{undoCache:_0x161783,redoCache:_0x23193d}=_0x28db4c[_0x3033eb(0x2f9)]();if(_0x161783[_0x3033eb(0x355)]===0x0||_0x23193d['length']===0x0)return;const _0x58423a=[],_0x4da841=[];let _0x118535=_0x1434f6[_0x3033eb(0x352)](_0x30d472['mutations'][0x0]),_0x5a3a65=_0x1434f6[_0x3033eb(0x352)](_0x30d472[_0x3033eb(0x1d3)][0x0]);for(let _0x33391e=_0x161783[_0x3033eb(0x355)]-0x1;_0x33391e>=0x0;_0x33391e--){const _0x502ef0={'id':_0x3033eb(0x1c1),'params':{..._0x161783[_0x33391e]}},_0x337705={'id':_0x3033eb(0x1c1),'params':{..._0x23193d[_0x33391e]}},_0xc07f2a=this[_0x3033eb(0x2ce)][_0x3033eb(0x32f)](_0x118535,_0x502ef0,!0x1),_0x5abb65=this['_transformService']['transformMutation'](_0x5a3a65,_0x337705,!0x1);if(_0x1c59eb(_0xc07f2a))throw _0xc07f2a[_0x3033eb(0x24d)];if(_0x1c59eb(_0x5abb65))throw _0x5abb65[_0x3033eb(0x24d)];_0x58423a[_0x3033eb(0x34b)](_0xc07f2a[_0x3033eb(0x399)][_0x3033eb(0x2bb)]),_0x4da841[_0x3033eb(0x34b)](_0x5abb65['m2Prime'][_0x3033eb(0x2bb)]),_0x118535=_0xc07f2a[_0x3033eb(0x31f)],_0x5a3a65=_0x5abb65['m1Prime'];}_0x28db4c[_0x3033eb(0x38d)]({'undoCache':_0x58423a,'redoCache':_0x4da841});}[_0x11c536(0x31c)](_0x54a233){const _0x36ab2a=_0x11c536,{unitID:_0x42a736}=_0x54a233,_0x332c8f=this[_0x36ab2a(0x395)][_0x36ab2a(0x1db)](_0x42a736)['with'](_0x11fa1a),_0x3e38be=_0x332c8f[_0x36ab2a(0x329)]();if(_0x3e38be==null)return;const _0x9e78f6=[{'id':_0x36ab2a(0x1c1),'params':{'unitId':_0x54a233[_0x36ab2a(0x2b9)],'actions':null,'textRanges':[_0x3e38be]}}],_0x369d7d=this['_transformService'][_0x36ab2a(0x281)](_0x54a233,_0x9e78f6);if(!_0x311332(_0x369d7d))throw _0x369d7d[_0x36ab2a(0x24d)];const _0x25ea6c=_0x369d7d['m2Prime'][0x0][_0x36ab2a(0x2bb)][_0x36ab2a(0x220)];Array[_0x36ab2a(0x278)](_0x25ea6c)&&_0x25ea6c[_0x36ab2a(0x355)]&&_0x332c8f[_0x36ab2a(0x242)](_0x25ea6c[0x0]);}};re=cn([Ce(0x0,_0xc844dc(_0x4e73b2)),Ce(0x1,_0x24c4f7),Ce(0x2,_0x45c555)],re);var ln=Object[_0x11c536(0x27e)],_n=(_0x109995,_0x26d6c5,_0x2f01ca,_0x4da8f8)=>{const _0x563f98=_0x11c536;for(var _0x2601ee=_0x4da8f8>0x1?void 0x0:_0x4da8f8?ln(_0x26d6c5,_0x2f01ca):_0x26d6c5,_0xf51f7b=_0x109995[_0x563f98(0x355)]-0x1,_0x126009;_0xf51f7b>=0x0;_0xf51f7b--)(_0x126009=_0x109995[_0xf51f7b])&&(_0x2601ee=_0x126009(_0x2601ee)||_0x2601ee);return _0x2601ee;},Ee=(_0x50cc74,_0x2350e4)=>(_0x522274,_0x412ad4)=>_0x2350e4(_0x522274,_0x412ad4,_0x50cc74);let oe=class{constructor(_0xeaa1d6,_0x5c7b1f,_0x211c8b){const _0x54d3e2=_0x11c536;this['_injector']=_0xeaa1d6,this[_0x54d3e2(0x2ce)]=_0x5c7b1f,this['_docStateChangeManagerService']=_0x211c8b;}['transformStateCache'](_0x34512d){this['_transformHistoryAndStateStack'](_0x34512d);}[_0x11c536(0x1dc)](_0x194d6c){const _0x3a4825=_0x11c536,{unitID:_0x2ed94f}=_0x194d6c,{collaboration:_0x4dc5eb}=this[_0x3a4825(0x255)][_0x3a4825(0x244)](_0x2ed94f);if(_0x4dc5eb[_0x3a4825(0x355)]===0x0)return _0x194d6c;let _0x44f696=_0x1434f6[_0x3a4825(0x352)](_0x194d6c[_0x3a4825(0x1d3)][0x0]);for(let _0x12ae83=0x0;_0x12ae83<_0x4dc5eb[_0x3a4825(0x355)];_0x12ae83++){const _0x3b3cd5={'id':_0x3a4825(0x1c1),'params':{'unitId':_0x4dc5eb[_0x12ae83][_0x3a4825(0x2ba)],..._0x4dc5eb[_0x12ae83][_0x3a4825(0x35b)]}},_0x4107f3=this[_0x3a4825(0x2ce)][_0x3a4825(0x32f)](_0x44f696,_0x3b3cd5,!0x1);if(_0x1c59eb(_0x4107f3))throw _0x4107f3['error'];_0x44f696=_0x4107f3[_0x3a4825(0x31f)];}return{..._0x1434f6[_0x3a4825(0x352)](_0x194d6c),'mutations':[_0x44f696]};}[_0x11c536(0x310)](_0x3f89b9){const _0x14b1bc=_0x11c536,{unitID:_0xb64a8c}=_0x3f89b9,{history:_0x253f34,collaboration:_0x2ee091}=this['_docStateChangeManagerService'][_0x14b1bc(0x244)](_0xb64a8c);if(_0x253f34[_0x14b1bc(0x355)]===0x0&&_0x2ee091[_0x14b1bc(0x355)]===0x0)return;const _0x747be5=[],_0x49a3f5=[];let _0x98c246=_0x1434f6[_0x14b1bc(0x352)](_0x3f89b9[_0x14b1bc(0x1d3)][0x0]),_0x4e4ee3=_0x1434f6[_0x14b1bc(0x352)](_0x3f89b9[_0x14b1bc(0x1d3)][0x0]);for(let _0x587e1f=_0x253f34['length']-0x1;_0x587e1f>=0x0;_0x587e1f--){const _0x1244cb={'id':_0x14b1bc(0x1c1),'params':{'unitId':_0x253f34[_0x587e1f]['unitId'],..._0x253f34[_0x587e1f][_0x14b1bc(0x369)]}},_0x30d056={'id':_0x14b1bc(0x1c1),'params':{'unitId':_0x253f34[_0x587e1f]['unitId'],..._0x253f34[_0x587e1f][_0x14b1bc(0x35b)]}},_0x409f3d=this[_0x14b1bc(0x2ce)][_0x14b1bc(0x32f)](_0x98c246,_0x1244cb,!0x1),_0x3adb4d=this[_0x14b1bc(0x2ce)][_0x14b1bc(0x32f)](_0x4e4ee3,_0x30d056,!0x1);if(_0x1c59eb(_0x409f3d))throw _0x409f3d[_0x14b1bc(0x24d)];if(_0x1c59eb(_0x3adb4d))throw _0x3adb4d['error'];_0x747be5[_0x14b1bc(0x34b)]({..._0x253f34[_0x587e1f],'undoState':_0x409f3d[_0x14b1bc(0x399)][_0x14b1bc(0x2bb)],'redoState':_0x3adb4d[_0x14b1bc(0x399)][_0x14b1bc(0x2bb)]}),_0x98c246=_0x409f3d['m1Prime'],_0x4e4ee3=_0x3adb4d[_0x14b1bc(0x31f)];}_0x98c246=_0x1434f6[_0x14b1bc(0x352)](_0x3f89b9[_0x14b1bc(0x1d3)][0x0]),_0x4e4ee3=_0x1434f6[_0x14b1bc(0x352)](_0x3f89b9['mutations'][0x0]);for(let _0x486676=_0x2ee091[_0x14b1bc(0x355)]-0x1;_0x486676>=0x0;_0x486676--){const _0x1c95f3={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2ee091[_0x486676][_0x14b1bc(0x2ba)],..._0x2ee091[_0x486676][_0x14b1bc(0x369)]}},_0x2ea87b={'id':_0x14b1bc(0x1c1),'params':{'unitId':_0x2ee091[_0x486676][_0x14b1bc(0x2ba)],..._0x2ee091[_0x486676][_0x14b1bc(0x35b)]}},_0x2ed025=this[_0x14b1bc(0x2ce)]['transformMutation'](_0x98c246,_0x1c95f3,!0x1),_0x58a35c=this[_0x14b1bc(0x2ce)]['transformMutation'](_0x4e4ee3,_0x2ea87b,!0x1);if(_0x1c59eb(_0x2ed025))throw _0x2ed025[_0x14b1bc(0x24d)];if(_0x1c59eb(_0x58a35c))throw _0x58a35c['error'];_0x49a3f5[_0x14b1bc(0x34b)]({..._0x2ee091[_0x486676],'undoState':_0x2ed025['m2Prime'][_0x14b1bc(0x2bb)],'redoState':_0x58a35c[_0x14b1bc(0x399)][_0x14b1bc(0x2bb)]}),_0x98c246=_0x2ed025[_0x14b1bc(0x31f)],_0x4e4ee3=_0x58a35c['m1Prime'];}this['_docStateChangeManagerService']['setStateCache'](_0xb64a8c,{'history':_0x747be5,'collaboration':_0x49a3f5});}};oe=_n([Ee(0x0,_0xc844dc(_0x4e73b2)),Ee(0x1,_0x24c4f7),Ee(0x2,_0xc844dc(_0x56fcf5))],oe);var hn=Object['getOwnPropertyDescriptor'],un=(_0x34b374,_0x57daba,_0x368f26,_0x380f51)=>{const _0x1edefe=_0x11c536;for(var _0x3b62da=_0x380f51>0x1?void 0x0:_0x380f51?hn(_0x57daba,_0x368f26):_0x57daba,_0x15283d=_0x34b374[_0x1edefe(0x355)]-0x1,_0x1a6515;_0x15283d>=0x0;_0x15283d--)(_0x1a6515=_0x34b374[_0x15283d])&&(_0x3b62da=_0x1a6515(_0x3b62da)||_0x3b62da);return _0x3b62da;},it=(_0x1062f3,_0x26b740)=>(_0x241627,_0x3ac6db)=>_0x26b740(_0x241627,_0x3ac6db,_0x1062f3);let ae=class{constructor(_0x296501,_0x25cb9a){const _0x34f179=_0x11c536;this['_injector']=_0x296501,this[_0x34f179(0x2ce)]=_0x25cb9a;}['transformSelections'](_0x37a7e9){const _0x33c636=_0x11c536;var _0x30ddb3;const _0x3f28f8=this[_0x33c636(0x1f0)][_0x33c636(0x258)](_0x3e10cb),_0x591d89=(_0x30ddb3=_0x3f28f8[_0x33c636(0x2ae)]())!=null?_0x30ddb3:[];if(_0x591d89[_0x33c636(0x355)]===0x0)return;const _0x51f203=_0x37a7e9[_0x33c636(0x2b9)],_0x1a950b=[{'id':_0x33c636(0x1c1),'params':{'unitId':_0x51f203,'actions':null,'textRanges':_0x591d89}}],_0x2a084e=this['_transformService'][_0x33c636(0x281)](_0x37a7e9,_0x1a950b);if(!_0x311332(_0x2a084e))throw _0x2a084e['error'];const _0x404a8b=_0x2a084e[_0x33c636(0x399)][0x0]['params'][_0x33c636(0x220)];Array[_0x33c636(0x278)](_0x404a8b)&&_0x404a8b['length']&&_0x3f28f8[_0x33c636(0x30c)](_0x404a8b,{'unitId':_0x51f203,'subUnitId':_0x51f203},!0x1);}};ae=un([it(0x0,_0xc844dc(_0x4e73b2)),it(0x1,_0x24c4f7)],ae);var dn=Object[_0x11c536(0x27e)],fn=(_0x55fcc6,_0x320472,_0x399fd8,_0x60efd1)=>{for(var _0x51d16=_0x60efd1>0x1?void 0x0:_0x60efd1?dn(_0x320472,_0x399fd8):_0x320472,_0x2f1147=_0x55fcc6['length']-0x1,_0x172716;_0x2f1147>=0x0;_0x2f1147--)(_0x172716=_0x55fcc6[_0x2f1147])&&(_0x51d16=_0x172716(_0x51d16)||_0x51d16);return _0x51d16;},M=(_0x491524,_0x3267f0)=>(_0x486dec,_0x412e43)=>_0x3267f0(_0x486dec,_0x412e43,_0x491524);let ce=class extends _0x4ad333{constructor(_0x25f671,_0x4f308e,_0x2440bb,_0x4fd4b8,_0x94c453,_0x5e96fc,_0x48414e,_0x6ff542){const _0x35113d=_0x11c536;super(),_(this,'_status$',new _0x148531(_0xc12461[_0x35113d(0x2de)])),(this[_0x35113d(0x255)]=_0x25f671,this[_0x35113d(0x1ae)]=_0x4f308e,this[_0x35113d(0x365)]=_0x2440bb,this[_0x35113d(0x2b1)]=_0x4fd4b8,this[_0x35113d(0x1bd)]=_0x94c453,this['_docSyncEditingCollabCursorService']=_0x5e96fc,this['_messageService']=_0x48414e,this['_localeService']=_0x6ff542,this[_0x35113d(0x328)]());}[_0x11c536(0x328)](){const _0x43f70f=_0x11c536;this['disposeWithMe'](this[_0x43f70f(0x1ae)][_0x43f70f(0x2a9)][_0x43f70f(0x296)](_0x4a9831=>{const _0x5731d7=_0x43f70f,_0x1e9492=this['_docStateChangeManagerService'][_0x5731d7(0x1cf)][_0x5731d7(0x296)](_0x14498=>{const _0x1d5708=_0x5731d7;if(_0x14498==null)return;const {unitId:_0x28e8dc,redoState:_0x79eae0,commandId:_0x360c27}=_0x14498;if(_0x28e8dc!==_0x4a9831['unitID'])return;const _0x25b168={'id':_0x360c27,'type':_0x581733[_0x1d5708(0x1d0)],'params':{'unitId':_0x28e8dc,'actions':_0x79eae0['actions'],'textRanges':null}};_0x4a9831[_0x1d5708(0x1b0)](_0x25b168);});if(_0x4a9831['disposeWithMe'](_0x1e9492),_0x4a9831 instanceof _0xaac428){const _0x4a4261={'onTransformIME':_0x40f8f9=>this['_docTransformIMECacheService'][_0x5731d7(0x2d8)](_0x40f8f9),'onTransformState':_0x14ad99=>this['_docTransformStateCacheService'][_0x5731d7(0x1d5)](_0x14ad99),'onTransformSelections':_0x614314=>this['_docTransformSelectionsService'][_0x5731d7(0x370)](_0x614314),'onSyncEditingCollabCursor':_0x497ba4=>this[_0x5731d7(0x2c5)][_0x5731d7(0x259)](_0x497ba4),'onTransformRemoteChangesetByIMECache':_0x5232c5=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x5232c5),'onTransformRemoteChangesetByStateCache':_0x186457=>this[_0x5731d7(0x2b1)]['transformRemoteChangeset'](_0x186457)};_0x4a9831[_0x5731d7(0x2b7)](_0x4a4261);}}));}};ce=fn([M(0x0,_0xc844dc(_0x56fcf5)),M(0x1,_0xc844dc(_0x486e7f)),M(0x2,_0xc844dc(re)),M(0x3,_0xc844dc(oe)),M(0x4,_0xc844dc(ae)),M(0x5,_0xc844dc(je)),M(0x6,_0x475940),M(0x7,_0xc844dc(_0x3d74e7))],ce);var Sn=Object[_0x11c536(0x27e)],mn=(_0x53414b,_0x32dc1f,_0x56bd3f,_0x25938b)=>{const _0x2f62e5=_0x11c536;for(var _0x5d1bee=_0x25938b>0x1?void 0x0:_0x25938b?Sn(_0x32dc1f,_0x56bd3f):_0x32dc1f,_0x5e8999=_0x53414b[_0x2f62e5(0x355)]-0x1,_0xa4b01f;_0x5e8999>=0x0;_0x5e8999--)(_0xa4b01f=_0x53414b[_0x5e8999])&&(_0x5d1bee=_0xa4b01f(_0x5d1bee)||_0x5d1bee);return _0x5d1bee;},be=(_0x3149f1,_0x1dd2f9)=>(_0x7ffe9b,_0x1b1e6e)=>_0x1dd2f9(_0x7ffe9b,_0x1b1e6e,_0x3149f1);let Ae=class extends _0x4ad333{constructor(_0x16f7e2,_0x1fe453,_0x2a4dbd){const _0x34b6a5=_0x11c536;super(),_(this,_0x34b6a5(0x364),new Map()),_(this,_0x34b6a5(0x2b3),new Map()),_(this,_0x34b6a5(0x319),!0x1),(this[_0x34b6a5(0x27c)]=_0x16f7e2,this[_0x34b6a5(0x39f)]=_0x1fe453,this[_0x34b6a5(0x221)]=_0x2a4dbd);}[_0x11c536(0x339)](){this['_disabled']=!0x0;}[_0x11c536(0x2b8)](){const _0x427f79=_0x11c536;this[_0x427f79(0x319)]=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}['dispose'](){const _0x472475=_0x11c536;this['exhaustSavingTask']()[_0x472475(0x362)](()=>super[_0x472475(0x35d)]());}async['loadOfflineData'](_0x2cd9d2){const _0x5a4756=_0x11c536;return this[_0x5a4756(0x319)]?null:this[_0x5a4756(0x39f)][_0x5a4756(0x28a)](_0x33cc7b(_0x2cd9d2));}async[_0x11c536(0x228)](_0x1f47eb,_0x587bbe){const _0x33dbe8=_0x11c536;return!!this[_0x33dbe8(0x39f)]['setItem'](_0x1f47eb,_0x587bbe);}['updateOfflineData'](_0x649b14,_0x1df5c0,_0x5a4168,_0x4da70f){const _0x42c65f=_0x11c536,_0x499e93=this[_0x42c65f(0x221)][_0x42c65f(0x346)](_0x649b14);this[_0x42c65f(0x364)]['set'](_0x649b14,{'unitID':_0x649b14,'type':_0x1df5c0,'awaitingChangeset':_0x5a4168,'mutations':_0x4da70f,'rev':_0x499e93}),this[_0x42c65f(0x2b3)][_0x42c65f(0x39a)](_0x649b14)||this[_0x42c65f(0x390)](_0x649b14);}[_0x11c536(0x390)](_0x30ae07){const _0x3272ae=_0x11c536,_0x51204c=this['_getSaveTimeout']();_0x51204c===0x0?this['_saveCache'](_0x30ae07):this[_0x3272ae(0x2b3)][_0x3272ae(0x25e)](_0x30ae07,setTimeout(()=>this[_0x3272ae(0x246)](_0x30ae07),_0x51204c));}[_0x11c536(0x305)](){const _0xc2a419=_0x11c536;var _0x1b80a8;return(_0x1b80a8=this[_0xc2a419(0x27c)][_0xc2a419(0x291)](_0x4bcddb))!=null?_0x1b80a8:_0xdc7946;}['_saveCache'](_0x53ea47){const _0x2b9f07=_0x11c536,_0x8d5c09=this[_0x2b9f07(0x2b3)][_0x2b9f07(0x258)](_0x53ea47);return _0x8d5c09!==void 0x0&&window['clearTimeout'](_0x8d5c09),this[_0x2b9f07(0x39f)][_0x2b9f07(0x190)](_0x33cc7b(_0x53ea47),this[_0x2b9f07(0x364)][_0x2b9f07(0x258)](_0x53ea47))[_0x2b9f07(0x362)](()=>this[_0x2b9f07(0x2b3)][_0x2b9f07(0x213)](_0x53ea47));}async[_0x11c536(0x2d3)](){const _0x5562df=_0x11c536,_0x2f2766=[];this[_0x5562df(0x2b3)]['forEach']((_0x470955,_0x36f164)=>{const _0x273442=_0x5562df;window[_0x273442(0x27d)](_0x470955),_0x2f2766[_0x273442(0x2db)](this[_0x273442(0x246)](_0x36f164)[_0x273442(0x362)](()=>{this['_saveTaskMap']['delete'](_0x36f164);}));}),await Promise[_0x5562df(0x372)](_0x2f2766);}};Ae=mn([be(0x0,_0x39a225),be(0x1,_0x11fede),be(0x2,_0xc844dc(_0x1fba43))],Ae);class gn extends _0x3d8144{constructor(){const _0x289267=_0x11c536;super(),_(this,'urlChange$'),this[_0x289267(0x26f)]=_0x2865d6(window,'popstate')['pipe'](_0x1c3d6b(this[_0x289267(0x294)]),_0x3340b5(0x1),_0x418270(void 0x0));}[_0x11c536(0x350)](_0x5b0cb0,_0xec50fb,_0x148219=!0x1){const _0x1e91f4=_0x11c536,_0x1170a5=new URL(window[_0x1e91f4(0x28d)][_0x1e91f4(0x269)]);_0x1170a5[_0x1e91f4(0x344)][_0x1e91f4(0x25e)](_0x5b0cb0,_0xec50fb),_0x148219?window[_0x1e91f4(0x315)][_0x1e91f4(0x379)]('','',_0x1170a5[_0x1e91f4(0x332)]()):window[_0x1e91f4(0x315)]['pushState']('','',_0x1170a5[_0x1e91f4(0x332)]());}['removeParam'](_0x9ca37b,_0x5cb62e=!0x1){const _0x2fcda2=_0x11c536,_0x2e8f80=new URL(window['location']['href']);_0x2e8f80[_0x2fcda2(0x344)][_0x2fcda2(0x213)](_0x9ca37b),_0x5cb62e?window['history']['replaceState']('','',_0x2e8f80['toString']()):window['history']['pushState']('','',_0x2e8f80[_0x2fcda2(0x332)]());}[_0x11c536(0x377)](_0x64b237){const _0x26e245=_0x11c536;var _0x5d687c;return(_0x5d687c=new URL(window['location'][_0x26e245(0x269)])['searchParams'][_0x26e245(0x258)](_0x64b237))!=null?_0x5d687c:void 0x0;}}var vn=Object[_0x11c536(0x193)],In=Object['getOwnPropertyDescriptor'],pn=(_0x41670f,_0x3525de,_0x3ab8ba)=>_0x3525de in _0x41670f?vn(_0x41670f,_0x3525de,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3ab8ba}):_0x41670f[_0x3525de]=_0x3ab8ba,Cn=(_0x2da6e5,_0x2e6b86,_0xd5359c,_0xfb074)=>{const _0x17a1d1=_0x11c536;for(var _0x56d3b2=_0xfb074>0x1?void 0x0:_0xfb074?In(_0x2e6b86,_0xd5359c):_0x2e6b86,_0x5dd6a4=_0x2da6e5[_0x17a1d1(0x355)]-0x1,_0x3e116e;_0x5dd6a4>=0x0;_0x5dd6a4--)(_0x3e116e=_0x2da6e5[_0x5dd6a4])&&(_0x56d3b2=_0x3e116e(_0x56d3b2)||_0x56d3b2);return _0x56d3b2;},Oe=(_0x119fe0,_0x10b674)=>(_0x1ca30d,_0x30f72d)=>_0x10b674(_0x1ca30d,_0x30f72d,_0x119fe0),En=(_0x3e97e2,_0x54d441,_0x46cad3)=>pn(_0x3e97e2,_0x54d441+'',_0x46cad3);const bn=_0x11c536(0x2cb);let ye=class extends _0x4aa74f{constructor(_0x47113f=st,_0x4c5a8b,_0x2ffa9e,_0x4d8449){const _0x483023=_0x11c536;super(),this[_0x483023(0x273)]=_0x47113f,this[_0x483023(0x395)]=_0x4c5a8b,this[_0x483023(0x1f0)]=_0x2ffa9e,this[_0x483023(0x27c)]=_0x4d8449;const {..._0x4dbc63}=_0x59dfc9({},st,this[_0x483023(0x273)]);this[_0x483023(0x27c)][_0x483023(0x288)](nn,_0x4dbc63);}[_0x11c536(0x22f)](){const _0x3a31b0=_0x11c536;this[_0x3a31b0(0x1a6)](),this[_0x3a31b0(0x38a)]();}[_0x11c536(0x1ee)](){const _0x198d1c=_0x11c536;this[_0x198d1c(0x26d)]();}[_0x11c536(0x1a6)](){const _0x3e6dcc=_0x11c536;var _0x1d0a31;const _0x138469=[[He],[ae],[re],[oe],[je],[wt,{'useClass':gn}],[_0x3f13c1,{'useClass':_0x1e852a}],[_0x30d27e,{'useClass':Ae}],[se],[ce],[ie],[H],[Me],[ne]];_0x50bb47(this[_0x3e6dcc(0x1f0)],_0x116f9a(_0x138469,(_0x1d0a31=this['_config'])==null?void 0x0:_0x1d0a31[_0x3e6dcc(0x21a)]));}['_registerRenderDependencies'](){const _0x4d3a0b=_0x11c536;this['disposeWithMe'](this[_0x4d3a0b(0x395)][_0x4d3a0b(0x26b)](_0x51f277[_0x4d3a0b(0x331)],[Ue])),this[_0x4d3a0b(0x36c)](this['_renderManagerService']['registerRenderModule'](_0x51f277[_0x4d3a0b(0x37b)],[Le]));}[_0x11c536(0x38a)](){_0x3355fc(this['_injector'],[[H],[se],[ce],[ie],[ne]]);}};En(ye,_0x11c536(0x1aa),bn),ye=Cn([_0x508395(_0x5d1f35),Oe(0x1,_0x45c555),Oe(0x2,_0xc844dc(_0x4e73b2)),Oe(0x3,_0x39a225)],ye);var On=Object[_0x11c536(0x27e)],Tn=(_0x4480bd,_0x41dc59,_0x48ebf3,_0x13ae64)=>{const _0x283cd5=_0x11c536;for(var _0x47824f=_0x13ae64>0x1?void 0x0:_0x13ae64?On(_0x41dc59,_0x48ebf3):_0x41dc59,_0x5fc258=_0x4480bd[_0x283cd5(0x355)]-0x1,_0x3fc6d2;_0x5fc258>=0x0;_0x5fc258--)(_0x3fc6d2=_0x4480bd[_0x5fc258])&&(_0x47824f=_0x3fc6d2(_0x47824f)||_0x47824f);return _0x47824f;},z=(_0x2e5964,_0x4366b4)=>(_0x2f916c,_0x3d5317)=>_0x4366b4(_0x2f916c,_0x3d5317,_0x2e5964);let nt=class extends _0x3243ce{constructor(_0x3eefbc,_0x5bd22d,_0x1fd826,_0xfe959d,_0x333748){super(_0x3eefbc,_0x5bd22d,_0x1fd826,_0xfe959d,_0x333748);}async[_0x11c536(0x21f)](_0x45a8bd){const _0x2efe6d=_0x11c536,_0x2f25d1=await this[_0x2efe6d(0x39e)](),_0x5f5a1e=this['_createSocketURL'](_0x45a8bd,_0x2f25d1);return this[_0x2efe6d(0x36e)](_0x5f5a1e);}[_0x11c536(0x380)](_0x1b6ce8,_0x285e3b){const _0x53d154=_0x11c536,_0x1dac98=typeof window>'u'?new URL(_0x1b6ce8):new URL(_0x1b6ce8,window[_0x53d154(0x28d)][_0x53d154(0x2ef)]);_0x1dac98[_0x53d154(0x344)][_0x53d154(0x25e)](_0x53d154(0x1c6),_0x285e3b);const _0x526b4f=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x53d154(0x28d)][_0x53d154(0x257)]);return _0x526b4f[_0x53d154(0x258)](_0x53d154(0x196))&&_0x1dac98[_0x53d154(0x344)][_0x53d154(0x25e)](_0x53d154(0x196),_0x526b4f['get']('runId')),_0x1dac98[_0x53d154(0x332)]();}async['_getSessionTicket'](){const _0x2c1bec=_0x11c536;var _0x4c4f8a,_0x399a7a,_0x43d017;const _0x19eebc=this[_0x2c1bec(0x27c)]['getConfig'](_0x1d6e17),_0x2ca297=(_0x4c4f8a=_0x19eebc==null?void 0x0:_0x19eebc[_0x2c1bec(0x317)])!=null?_0x4c4f8a:_0x1d6350;return(_0x43d017=(_0x399a7a=(await this[_0x2c1bec(0x2bc)][_0x2c1bec(0x258)](_0x2ca297,{'headers':{'Content-Type':_0x2c1bec(0x207)}}))[_0x2c1bec(0x312)])==null?void 0x0:_0x399a7a[_0x2c1bec(0x2e9)])!=null?_0x43d017:'';}};nt=Tn([z(0x0,_0xc844dc(_0x4e73b2)),z(0x1,_0xc844dc(_0x1f894d)),z(0x2,_0x39a225),z(0x3,_0x39b281),z(0x4,_0x10ade3)],nt);const rt=0x7530,ot=_0x11c536(0x226);class Gn extends _0x4ad333{constructor(){const _0x4f6d3a=_0x11c536;super(),_(this,'_id',_0x55ee03()),_(this,'_selfUnitIDs',new Set()),_(this,_0x4f6d3a(0x225),new Map()),_(this,'_heartbeatTimer',null),_(this,_0x4f6d3a(0x25d),new Map()),_(this,_0x4f6d3a(0x1e6),new Map()),this['_init']();}[_0x11c536(0x35d)](){const _0x3bee01=_0x11c536;super[_0x3bee01(0x35d)](),this[_0x3bee01(0x25d)]['forEach']((_0x20ab19,_0xfe8840)=>this[_0x3bee01(0x309)](_0xfe8840)),this[_0x3bee01(0x277)]&&window[_0x3bee01(0x2c7)](this['_heartbeatTimer']);}[_0x11c536(0x375)](_0x444311){const _0x302ef5=_0x11c536;return this['_ensureSubject'](_0x444311)[_0x302ef5(0x26c)](_0x5a9828());}[_0x11c536(0x1ef)](_0x22513a){const _0x2847f9=_0x11c536;this[_0x2847f9(0x271)][_0x2847f9(0x2a5)]===0x0&&this[_0x2847f9(0x298)](),this[_0x2847f9(0x271)]['add'](_0x22513a),this['_send']({'type':0x0,'memberID':this[_0x2847f9(0x334)],'unitIDs':[_0x22513a],'isForwarded':!0x1});}[_0x11c536(0x1ce)](_0x285c9a){const _0x5e3673=_0x11c536;this[_0x5e3673(0x271)][_0x5e3673(0x213)](_0x285c9a),this[_0x5e3673(0x271)][_0x5e3673(0x2a5)]===0x0&&this[_0x5e3673(0x277)]&&window[_0x5e3673(0x2c7)](this[_0x5e3673(0x277)]);}[_0x11c536(0x2f5)](){const _0x48c552=_0x11c536;this['disposeWithMe'](_0x37f891(_0x2865d6(window,_0x48c552(0x2ee))['subscribe'](_0x291709=>{const _0x594577=_0x48c552;if(_0x291709[_0x594577(0x240)]!==ot||!_0x291709['newValue'])return;const _0x3986fe=JSON[_0x594577(0x345)](_0x291709[_0x594577(0x37f)]);this['_handleEvent'](_0x3986fe);}))),window[_0x48c552(0x32d)]('unload',()=>this[_0x48c552(0x1fe)]({'type':0x1,'memberID':this[_0x48c552(0x334)],'unitIDs':Array[_0x48c552(0x1a1)](this[_0x48c552(0x271)])}));}[_0x11c536(0x33b)](_0x3ee9fc){const _0x26ec94=_0x11c536;switch(_0x3ee9fc[_0x26ec94(0x1ec)]){case 0x0:this[_0x26ec94(0x360)](_0x3ee9fc);break;case 0x1:this[_0x26ec94(0x31a)](_0x3ee9fc);break;case 0x2:this['_handleHeartbeatEvent'](_0x3ee9fc);break;}}[_0x11c536(0x360)](_0x3f20ef){const _0x30e2ab=_0x11c536,{unitIDs:_0x43ba9d,memberID:_0xe4108f,isForwarded:_0x3e8b9c}=_0x3f20ef;_0x43ba9d[_0x30e2ab(0x2dd)](_0x8d42dd=>{const _0x26dfb4=_0x30e2ab;if(!_0x3e8b9c&&this[_0x26dfb4(0x225)][_0x26dfb4(0x39a)](_0x8d42dd)&&this[_0x26dfb4(0x2fb)](_0x8d42dd)[_0x26dfb4(0x1eb)](_0x57d26c[_0x26dfb4(0x2ad)]),!this[_0x26dfb4(0x225)][_0x26dfb4(0x39a)](_0x8d42dd)||!this[_0x26dfb4(0x225)][_0x26dfb4(0x258)](_0x8d42dd)[_0x26dfb4(0x39a)](_0xe4108f)){const _0xae74ab=this[_0x26dfb4(0x225)]['get'](_0x8d42dd)||new Set();_0xae74ab[_0x26dfb4(0x1f3)](_0xe4108f),this['_unitOnClients'][_0x26dfb4(0x25e)](_0x8d42dd,_0xae74ab),this[_0x26dfb4(0x2ab)](_0xe4108f);}}),_0x3e8b9c||this[_0x30e2ab(0x1fe)]({'type':0x0,'memberID':this[_0x30e2ab(0x334)],'unitIDs':[...this[_0x30e2ab(0x271)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x7228e2){const _0x41793d=_0x11c536;this[_0x41793d(0x309)](_0x7228e2);const _0x979f83=window[_0x41793d(0x198)](()=>{const _0xe03b9=_0x41793d;this['_unitOnClients'][_0xe03b9(0x2dd)](_0x466e84=>{_0x466e84['delete'](_0x7228e2);});},rt*0x2);this[_0x41793d(0x25d)][_0x41793d(0x25e)](_0x7228e2,_0x979f83);}[_0x11c536(0x309)](_0x133e4e){const _0x41f485=_0x11c536;if(this['_clearOtherTimers'][_0x41f485(0x39a)](_0x133e4e)){const _0x4b7031=this['_clearOtherTimers'][_0x41f485(0x258)](_0x133e4e);_0x4b7031&&window[_0x41f485(0x27d)](_0x4b7031),this[_0x41f485(0x25d)][_0x41f485(0x25e)](_0x133e4e,null);}}['_handleLeaveEvent'](_0x258234){const _0x54d759=_0x11c536,{memberID:_0x1c96da,unitIDs:_0x4f1d82}=_0x258234;_0x4f1d82[_0x54d759(0x2dd)](_0x477c42=>{const _0x5032ab=_0x54d759;var _0x12e01d;const _0x5e538d=this[_0x5032ab(0x225)][_0x5032ab(0x258)](_0x477c42);_0x5e538d&&(_0x5e538d[_0x5032ab(0x213)](_0x1c96da),(_0x12e01d=this[_0x5032ab(0x2fb)](_0x477c42))==null||_0x12e01d[_0x5032ab(0x1eb)](_0x5e538d[_0x5032ab(0x2a5)]===0x0?_0x57d26c[_0x5032ab(0x29a)]:_0x57d26c['OTHER_CLIENTS_EDITING']));}),this[_0x54d759(0x309)](_0x1c96da);}[_0x11c536(0x39d)](_0x31a78a){const _0x15662e=_0x11c536;this[_0x15662e(0x2ab)](_0x31a78a[_0x15662e(0x256)]);}['_send'](_0x22427b){const _0x584501=_0x11c536;localStorage[_0x584501(0x190)](ot,JSON[_0x584501(0x21d)](_0x22427b));}[_0x11c536(0x298)](){const _0x44a3ca=_0x11c536;this[_0x44a3ca(0x277)]=window[_0x44a3ca(0x1e7)](()=>{const _0x57f506=_0x44a3ca;this['_send']({'type':0x2,'memberID':this[_0x57f506(0x334)]});},rt);}['_ensureSubject'](_0x126832){const _0x35f202=_0x11c536;return this[_0x35f202(0x1e6)]['has'](_0x126832)||this[_0x35f202(0x1e6)][_0x35f202(0x25e)](_0x126832,new _0x148531(_0x57d26c['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus'][_0x35f202(0x258)](_0x126832);}}function _0x3165(){const _0x2bc27c=['_backgroundColor','transformMutation','ranges','UNIVER_DOC','toString','attrs','_id','hovered','call','backgroundColor','YUUMI_RATE_OVER_LIMIT','disableLocalCache','_getMergeRange','_handleEvent','collabStatus.notCollab','source','cursorInfo$','tag','_cursorShapes','getCollabCursors$','string','blue400','searchParams','parse','getCurrentRevOfUnit','_cursors','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','requireSession','onPointerMove$','unshift','_drawAnchor','_hovered','uni.network.url-service','subUnitId','setParam','_toggleOffline','deepClone','collabCursorState$','getActiveSheet','length','RemoveRowCommandId','LICENSE_MAX_UNITS_EXCEEDED','extend','_beforeCloseService','endRow','redoState','_initResize','dispose','gold400','purple300','_handleJoinEvent','PERMISSION_DENIED','then','getUniverSheetInstance','_cachedData','_docTransformIMECacheService','CONNECTOR_DATA_TOO_LARGE','DeleteRangeMoveLeftCommandId','univer-online-status-title','undoState','jiqing500','SOCKET_FAILED_RETRY','disposeWithMe','ONLINE','_doCreateSocket','LOGIN_FAILED','transformSelections','collabStatus.synced','all','_roomMembers$','executionId','getUnitStatus$','_uiPartsService','getParam','INVALID_INVITE_CODE','replaceState','symbol','UNIVER_SHEET','font','getFocusedUnit','closePath','newValue','_createSocketURL','univerjs-icon\x20univerjs-icon-','selection','INVITE_CODE_HAS_BEEN_UES','transform','52100xlnIAb','PENDING','FromArray','5706204ZjTgeh','univer-online-status','_initDependencies','_imageIoService','complete','setUndoRedoMutationParamsCache','width','permission.content','_scheduleSaving','restore','APPLY_REVISION_CONFILICT','svg','_initStatusComponent','_renderManagerService','USERS_LEAVE','flatMap','0\x200\x2017\x2016','m2Prime','has','_updateCollabCursors','addClipboardHook','_handleHeartbeatEvent','_getSessionTicket','_localStorageService','getValue','setItem','roomMembers','44amCtwZ','defineProperty','_setupSubUnitSync','none','runId','isEditing','setTimeout','_color','73ZjmyaK','_drawTextRange','_getScale','on-line-single_clip0_910_349','getRelativeToViewportCoord','1em','idSuffix','from','min','INVITE_CODE_REQUIRED','JOIN_ROOM_FAILED','map','_registerDependencies','replace','getSheetBySheetId','COMPLETION_FINISHED','pluginName','M0\x200H16V16H0z','_transformUndoRedoStack','_instanceService','_collaborationController','LICENSE_IMPORT_SIZE_EXCEEDED','onLocalMutation','find','_docClipboardService','_shapes','_startSheetCollabCursor','send','isActive','_logService','rgba(255,\x20255,\x20255,\x200.01)','USER_NOT_INVITED_CODE','LICENSE_DISTRO_REJECTED','runOnServer','SNAPSHOT_HAS_BEEN_REMOVED','_docTransformSelectionsService','Unknown\x20user','code','_collabCursorController','doc.mutation.rich-text-editing','toRgbString','concat','PY_RUNTIME_SCRIPT_ERROR','APPLY_DUPLICATED','sessionTicket','TEXT','_updateLocalCursor','UniverIcon','OnLineSingle','INVALID_ARGUMENT','defs','className','disposeUnit','docStateChange$','MUTATION','univer-online','_toggleOnline','mutations','startColumn','transformStateCache','_univerInstanceService','_assignedColors','cursorInfo','range','_updateURLWithCurrentState','getRenderById','transformRemoteChangeset','round','invokeId','getCollabEntity$','univer-flex\x20univer-items-center','findNodePositionByCharIndex','APPLY_NON_SEQUENTIAL_REVISION','_textBubble','UPDATE_CURSOR','InsertRangeMoveDownCommandId','_unitStatus','setInterval','substring','defIds','getSheetId','next','type','_document','onRendered','editingUnit','_injector','Failed','_anchor','add','_drawRectRange','EMAIL_HAS_BEEN_BOUND','xlink:href','MOBILE_HAS_BEEN_BOUND','generateRandomId','_hover','moveTo','_cursorInfo$','executeCommand','with','_send','_collaborationUIEventService','translate(.97)','addObject','getOwnPropertySymbols','prototype','onCommandExecuted','triggerDblclick','APPLY_REJECT','application/json','AWAITING_WITH_PENDING','mask','_onCursorUpdate','assignAColorForMemberID','Warning','subunit','2497ImxiRa','collab-text-anchor-','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','init','fillRule','delete','_localeService','permission.title','CHANGESET_REVISION_CONFILICT','Error','name','collabStatus.fetchMiss','override','_refreshCollabCursors','_urlService','stringify','save','createSocket','textRanges','_revisionService','_name','DeleteRangeMoveUpCommandId','collaboration-client-ui.config','_unitOnClients','ACTIVE_UNIT_EVENT_CHANNEL','_syncEditingCollabCursorService','saveOfflineData','activeSheet$','RECT','getTypeOfUnitAdded$','labelPosition','_lastPointer','_range','onStarting','text','AWAITING','trim','_onCursorDelete','_handleHover','setAlpha','UNRECOGNIZED','_onRefRangeChange','fillStyle','OffLineSingle','_colorIndex','OFFLINE','_setupBeforeClosingHandler','_getSheetObject','_scene','colorChannel1','key','getUnhiddenWorksheets','setActiveRange','column','getStateCache','collaboration.single-unit.warning','_saveCache','onTransformChange$','univer-online-status-icon','0\x200\x2016\x2016','drawWith','WECHAT_HAS_BEEN_BOUND','children','error','startsWith','_themeService','...','addObjects','InsertColCommandId','color','UNAUTHENTICATED','_docStateChangeManagerService','memberID','search','get','syncEditingCollabCursor','_entityInit$','data','collaboration-client.offline-data-not-saved','_clearOtherTimers','set','unit','OTHER_CLIENT_EDITING','sheetId','registerRefRange','_anchorDot','collab-rect-range-','propertyIsEnumerable','currentSkeleton$','indexOf','2404179PaUbNV','href','hasOwnProperty','registerRenderModule','pipe','_registerRenderDependencies','462ZGLzSh','urlChange$','SNAPSHOT_INVALID_SNAPSHOT','_selfUnitIDs','_context','_config','getTypeOfUnitDisposed$','SUBMIT_CHANGESET_TIMEOUT','LICENSE_EXPORT_SIZE_EXCEEDED','_heartbeatTimer','isArray','top','UNDEFINED','_removeCollabCursors','_configService','clearTimeout','getOwnPropertyDescriptor','ENSURE_SNAPSHOT_EXECUTION','TOO_MANY_REQUESTS','transformMutationsWithChangeset','values','collaboration.closeRoom','saveTaskMap','_session','roomMembers$','_entities','setConfig','_memberService','getItem','InsertRowCommandId','YUUMI_URL_COL_OUT_OF_RANGE','location','_draw','use','_online','getConfig','_dataLoaderService','selections','dispose$','getCurrentSelections','subscribe','sessionStatus$','_scheduleHeartbeat','collabStatus.offline','NO_OTHER_CLIENTS_EDITING','fillText','#fff','event$','off-line-single_clip0_910_343','2444ygccNN','collab-client.tooltip.reconnect','VIEW_MAIN','arc','_collabSessionService','beginPath','size','function','div','verdancy600','entityInit$','YUUMI_UNABLE_LOAD_URL','_scheduleClearOtherTimer','APPLY_PERMISSION_DENIED','OTHER_CLIENTS_EDITING','getDocRanges','_localCacheService','getViewport','_docTransformStateCacheService','row','_saveTaskMap','getSkeleton','SOCKET_FAILED','onlineStatusTitle','addHandlerCallback','enableLocalCache','unitID','unitId','params','_httpService','121698TihcqG','includes','transformByState','_colorAssignService','measureText','current','clipPath','onMouseMove','_docSyncEditingCollabCursorService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','clearInterval','/run/','InsertRangeMoveRightCommandId','icon','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_render','black','_transformService','currentTheme$','_initEvent','entries','_initStatusListener','exhaustSavingTask','path','show','_messageService','post','transformIMECache','_status$','_refRangeService','push','_commandService','forEach','NOT_COLLAB','resize','_notificationService','makeDirty','NOT_FOUND','HEADER_MENU','[CollaborationDataLoaderController]','asObservable','collabStatus.syncing','session.will-retry','getOffsetConfig','ticket','skeleton','YUUMI_SUBSCRIPTION_NOT_FOUND','hide','INVITE_CODE_ALREADY_BOUND','storage','origin','#FFF','some','createInstance','getUnitId','_sheetSkeletonManagerService','_init','assign','setShapeProps','red300','getUndoRedoMutationParamsCache','getMemberID','_ensureSubject','session.collaboration-timeout','_collabCursorState$','getMember','_labelPosition','getRangePointData','fill','_initCommandExecutedListener','url(#$1','2219416yUJtXU','_getSaveTimeout','status$','unsubscribe','_startDocCollabCursor','_removeClearOtherTimer','_eventUnsubscribe','_getAnchorBounding','replaceDocRanges','on-line-single','68090zvZVsb','displayName','_transformHistoryAndStateStack','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','body','_cursor','height','history','online','wsSessionTicketUrl','collabStatus.conflict','_disabled','_handleLeaveEvent','_hideTimer','_transformPreviousActiveRange','contains','sheetID','m1Prime','endColumn','startRow','debug','onPointerEnter$','_docSkeletonManagerService','ALREADY_EXISTS','apply','registerBeforeClose','_initEntityListener','getActiveRange','subscribeEvent','lineTo','off-line-single','addEventListener'];_0x3165=function(){return _0x2bc27c;};return _0x3165();}var Ut=(_0x48d523=>(_0x48d523[_0x48d523[_0x11c536(0x27a)]=0x0]='UNDEFINED',_0x48d523[_0x48d523['OK']=0x1]='OK',_0x48d523[_0x48d523['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x48d523[_0x48d523['PERMISSION_DENIED']=0x3]=_0x11c536(0x361),_0x48d523[_0x48d523['NOT_FOUND']=0x4]=_0x11c536(0x2e2),_0x48d523[_0x48d523[_0x11c536(0x254)]=0x5]=_0x11c536(0x254),_0x48d523[_0x48d523[_0x11c536(0x325)]=0x6]=_0x11c536(0x325),_0x48d523[_0x48d523['INVALID_ARGUMENT']=0x7]=_0x11c536(0x1cb),_0x48d523[_0x48d523['TOO_MANY_REQUESTS']=0x8]=_0x11c536(0x280),_0x48d523[_0x48d523[_0x11c536(0x1a9)]=0x9]=_0x11c536(0x1a9),_0x48d523[_0x48d523[_0x11c536(0x36f)]=0xa]=_0x11c536(0x36f),_0x48d523[_0x48d523['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x11c536(0x216),_0x48d523[_0x48d523[_0x11c536(0x270)]=0x1771]=_0x11c536(0x270),_0x48d523[_0x48d523[_0x11c536(0x1bc)]=0x1772]=_0x11c536(0x1bc),_0x48d523[_0x48d523[_0x11c536(0x27f)]=0x1773]=_0x11c536(0x27f),_0x48d523[_0x48d523[_0x11c536(0x206)]=0x1b59]=_0x11c536(0x206),_0x48d523[_0x48d523[_0x11c536(0x1e2)]=0x1b5a]=_0x11c536(0x1e2),_0x48d523[_0x48d523[_0x11c536(0x392)]=0x1b5b]=_0x11c536(0x392),_0x48d523[_0x48d523['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x11c536(0x2ac),_0x48d523[_0x48d523[_0x11c536(0x1c5)]=0x1b5d]=_0x11c536(0x1c5),_0x48d523[_0x48d523[_0x11c536(0x366)]=0x1f41]=_0x11c536(0x366),_0x48d523[_0x48d523[_0x11c536(0x357)]=0x2329]=_0x11c536(0x357),_0x48d523[_0x48d523[_0x11c536(0x311)]=0x232a]=_0x11c536(0x311),_0x48d523[_0x48d523['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x11c536(0x1af),_0x48d523[_0x48d523[_0x11c536(0x276)]=0x232c]=_0x11c536(0x276),_0x48d523[_0x48d523[_0x11c536(0x1ba)]=0x232d]=_0x11c536(0x1ba),_0x48d523[_0x48d523[_0x11c536(0x2aa)]=0x2711]=_0x11c536(0x2aa),_0x48d523[_0x48d523[_0x11c536(0x28c)]=0x2712]=_0x11c536(0x28c),_0x48d523[_0x48d523[_0x11c536(0x338)]=0x2713]=_0x11c536(0x338),_0x48d523[_0x48d523[_0x11c536(0x2eb)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x48d523[_0x48d523['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x11c536(0x1c4),_0x48d523[_0x48d523[_0x11c536(0x383)]=0x2ee1]=_0x11c536(0x383),_0x48d523[_0x48d523[_0x11c536(0x378)]=0x2ee2]=_0x11c536(0x378),_0x48d523[_0x48d523[_0x11c536(0x1a3)]=0x2ee3]=_0x11c536(0x1a3),_0x48d523[_0x48d523[_0x11c536(0x1b9)]=0x2ee4]=_0x11c536(0x1b9),_0x48d523[_0x48d523[_0x11c536(0x2ed)]=0x2ee5]=_0x11c536(0x2ed),_0x48d523[_0x48d523[_0x11c536(0x24b)]=0x32c9]=_0x11c536(0x24b),_0x48d523[_0x48d523[_0x11c536(0x1f7)]=0x32ca]=_0x11c536(0x1f7),_0x48d523[_0x48d523[_0x11c536(0x1f5)]=0x32cb]=_0x11c536(0x1f5),_0x48d523[_0x48d523['UNRECOGNIZED']=-0x1]=_0x11c536(0x236),_0x48d523))(Ut||{}),Rn=Object[_0x11c536(0x27e)],Dn=(_0x50aaed,_0x127255,_0xcb60de,_0x35bdb3)=>{const _0x2a02d1=_0x11c536;for(var _0x357043=_0x35bdb3>0x1?void 0x0:_0x35bdb3?Rn(_0x127255,_0xcb60de):_0x127255,_0x494192=_0x50aaed[_0x2a02d1(0x355)]-0x1,_0x32fa94;_0x494192>=0x0;_0x494192--)(_0x32fa94=_0x50aaed[_0x494192])&&(_0x357043=_0x32fa94(_0x357043)||_0x357043);return _0x357043;},Te=(_0x2cd44f,_0x570961)=>(_0x3ef945,_0x1cec33)=>_0x570961(_0x3ef945,_0x1cec33,_0x2cd44f);let at=class extends _0x4ad333{constructor(_0x3e9028,_0x127e8b,_0x8c9971){const _0x1bf4db=_0x11c536;super(),this[_0x1bf4db(0x1ad)]=_0x3e9028,this['_httpService']=_0x127e8b,this['_configService']=_0x8c9971;}async[_0x11c536(0x1bb)](_0x4ef416,_0x5c0a0c,_0x1c5ece,..._0x561810){const _0xe8f581=_0x11c536;var _0x1f88ec,_0x35acda,_0x15d382,_0x33d765;const _0x564362=this[_0xe8f581(0x1ad)][_0xe8f581(0x37d)]();if(!_0x564362)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x4b2fdb=((_0x1f88ec=this[_0xe8f581(0x27c)][_0xe8f581(0x291)](_0x20ccaf))!=null?_0x1f88ec:_0x677df3)+'/'+_0x4ef416+_0xe8f581(0x2c8)+_0x5c0a0c,_0xc914e0=new URL(window[_0xe8f581(0x28d)]['href']),_0x15799f={'scriptId':_0x4ef416,'runId':(_0x35acda=_0xc914e0[_0xe8f581(0x344)][_0xe8f581(0x258)](_0xe8f581(0x196)))!=null?_0x35acda:'','function':_0x5c0a0c,'unitId':_0x564362[_0xe8f581(0x2f3)](),'argsOfFunction':JSON['stringify'](_0x561810),'invokeId':(_0x15d382=_0x1c5ece[_0xe8f581(0x1de)])!=null?_0x15d382:'','executionId':(_0x33d765=_0x1c5ece[_0xe8f581(0x374)])!=null?_0x33d765:''};try{const _0x295a20=await this['_httpService'][_0xe8f581(0x2d7)](_0x4b2fdb,{'body':_0x15799f});return _0x295a20['body']['error']&&_0x295a20[_0xe8f581(0x312)]['error'][_0xe8f581(0x1bf)]!==Ut['OK']?_0xe8f581(0x1f1):_0x295a20[_0xe8f581(0x312)]['result'];}catch{return _0xe8f581(0x1f1);}}};at=Dn([Te(0x0,_0x3cb68e),Te(0x1,_0xc844dc(_0x1f894d)),Te(0x2,_0x39a225)],at);export{nt as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Zi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,wt as IURLService,at as RemoteUniscriptService,Ai as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Gn as WebBrowserSingleActiveUnitService,gn as WebURLService};
1
+ const _0x513d9e=_0x4744;(function(_0x33c646,_0x56d17){const _0x14f3ee=_0x4744,_0x323f55=_0x33c646();while(!![]){try{const _0x37cbb6=parseInt(_0x14f3ee(0x20b))/0x1*(-parseInt(_0x14f3ee(0x21c))/0x2)+-parseInt(_0x14f3ee(0x22b))/0x3+parseInt(_0x14f3ee(0x11d))/0x4+parseInt(_0x14f3ee(0x16f))/0x5*(-parseInt(_0x14f3ee(0x164))/0x6)+-parseInt(_0x14f3ee(0x2be))/0x7+-parseInt(_0x14f3ee(0x2b0))/0x8*(-parseInt(_0x14f3ee(0x112))/0x9)+-parseInt(_0x14f3ee(0x24b))/0xa*(-parseInt(_0x14f3ee(0x1b8))/0xb);if(_0x37cbb6===_0x56d17)break;else _0x323f55['push'](_0x323f55['shift']());}catch(_0xc3307f){_0x323f55['push'](_0x323f55['shift']());}}}(_0x377c,0x45b5a));var Bt=Object[_0x513d9e(0x1a2)],kt=(_0x5508eb,_0x310b48,_0x2da9c2)=>_0x310b48 in _0x5508eb?Bt(_0x5508eb,_0x310b48,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2da9c2}):_0x5508eb[_0x310b48]=_0x2da9c2,_=(_0x1f254f,_0x553792,_0x57e6c9)=>kt(_0x1f254f,typeof _0x553792!=_0x513d9e(0x2a7)?_0x553792+'':_0x553792,_0x57e6c9);import{MemberService as _0x255e27,SessionStatus as _0x2c8872,CollaborationSessionService as _0x935ffe,CollaborationStatus as _0x1f0bee,CollaborationController as _0x44a7ae,ILocalCacheService as _0x29a577,CollaborationUIEventService as _0x485cad,CollaborationUIEventId as _0x430fa5,DataLoaderService as _0x5b29ad,DocCollaborationEntity as _0x3085e3,getLocalCacheKey as _0x1469d3,LOCAL_CACHE_INTERVAL as _0x30e09d,LOCAL_CACHE_INTERVAL_KEY as _0x3f60fe,UniverCollaborationClientPlugin as _0x5699ed,CollaborationSocketService as _0x3ef059,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0xa077a1,DEFAULT_WS_SESSION_TICKET_URL as _0x4443a5,UnitStatus as _0x5acfba,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x5c942b,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x1de839}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x2e496d,Disposable as _0x4dc13d,DOC_RANGE_TYPE as _0x28d8f1,Inject as _0x4e2b5a,Injector as _0x5eb6e0,IUniverInstanceService as _0x2e22e9,ICommandService as _0x66d318,debounce as _0x84c60a,Rectangle as _0x5324b5,DisposableCollection as _0x394c9f,toDisposable as _0x157122,UniverInstanceType as _0x33f165,Tools as _0x4cc9fc,COLORS as _0x327089,ColorKit as _0x526ced,ThemeService as _0x465549,fromEventSubject as _0x5c29dc,LocaleService as _0x55f656,createIdentifier as _0x5a5776,ILogService as _0x39d4b2,Optional as _0x21ad8b,Workbook as _0x4c118c,CommandType as _0x5e67eb,IConfigService as _0x4718d4,ILocalStorageService as _0x30992d,DependentOn as _0x10073b,Plugin as _0x49b229,merge as _0x2498c3,registerDependencies as _0x3fbeef,mergeOverrideWithDependencies as _0x50ab32,touchDependencies as _0x5b4f50,generateRandomId as _0x6dfb36}from'@univerjs/core';import{Shape as _0x36fecd,Rect as _0x17ef8e,getColor as _0x5ec915,RegularPolygon as _0x2a5205,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0xf0f7d3,Vector2 as _0x5aa9d0,SHEET_VIEWPORT_KEY as _0x350b3a,IRenderManagerService as _0x1eedb5}from'@univerjs/engine-render';import{ISocketService as _0x52e1b8,WebSocketService as _0x4166f2,HTTPService as _0x4d9384}from'@univerjs/network';import{IDocClipboardService as _0x412b0a,NodePositionConvertToCursor as _0x2e4ebe,NodePositionConvertToRectRange as _0x590e53,TEXT_RANGE_LAYER_INDEX as _0x2ac4fc,SetDocZoomRatioOperation as _0x50c6bb,DocIMEInputManagerService as _0x339e7a,DocStateChangeManagerService as _0x55395b}from'@univerjs/docs-ui';import{IImageIoService as _0x1d2b28}from'@univerjs/drawing';import{BehaviorSubject as _0x2f60b9,debounceTime as _0x1a3296,takeUntil as _0x2522f4,Subject as _0x4a8821,filter as _0x2a61a0,switchMap as _0x380740,merge as _0x4ec83b,combineLatest as _0x56fbfa,of as _0xa04f1e,fromEvent as _0xfbfcc7,shareReplay as _0x2468a5,mapTo as _0x389fda,distinctUntilChanged as _0x5ac49d}from'rxjs';import{SetTextSelectionsOperation as _0xf96d27,RichTextEditingMutation as _0x216da0,DocSelectionManagerService as _0x562654,DocSkeletonManagerService as _0x436b9e}from'@univerjs/docs';import{ITransformService as _0x259b8d,CollaborationEvent as _0x524840,isTransformMutationFailure as _0x3ad4c3,isTransformMutationsWithChangesetSuccess as _0x6d680,RevisionService as _0x983c6e,ISnapshotServerService as _0x31a2a6}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x594df8,serializeRangeWithSheet as _0x67f079}from'@univerjs/engine-formula';import{RefRangeService as _0x17ab85,SetSelectionsOperation as _0x459c44,SheetsSelectionsService as _0x20ae9d,EffectRefRangId as _0x3ad89a,handleIRemoveRow as _0xb78a7a,handleIRemoveCol as _0x1fc585,handleMoveRange as _0x296006,handleInsertRow as _0x55648f,handleInsertRangeMoveRight as _0x1ef458,handleInsertRangeMoveDown as _0x468c6e,handleInsertCol as _0x21d222,handleDeleteRangeMoveUp as _0x214fc3,handleDeleteRangeMoveLeft as _0x126355,runRefRangeMutations as _0x12d87a,SetWorksheetActivateCommand as _0x553df3}from'@univerjs/sheets';import{map as _0x4437ae,filter as _0x3a14e3,throttleTime as _0x192d2e,takeUntil as _0xd4745b,switchMap as _0xda0866}from'rxjs/operators';import{SheetSkeletonManagerService as _0x47e953,getCoordByCell as _0x1e4bb8,getSheetObject as _0x550559}from'@univerjs/sheets-ui';import{jsx as _0x199a0b,jsxs as _0x389d33}from'react/jsx-runtime';import{useObservable as _0x82dde9,useDependency as _0x497f29,IUIPartsService as _0x35daec,BuiltInUIPart as _0x5ae2fd,connectInjector as _0x15c856,IBeforeCloseService as _0x124c5a,IMessageService as _0x40ced4,INotificationService as _0x33bf60}from'@univerjs/ui';import{clsx as _0x2cc606,Tooltip as _0x463880,MessageType as _0x134975}from'@univerjs/design';import{forwardRef as _0x45275f,useRef as _0x476bab,createElement as _0x27978c,useCallback as _0x4de3fb}from'react';import{IRemoteInstanceService as _0x486dd4}from'@univerjs/rpc';var li=Object[_0x513d9e(0x2c4)],_i=(_0x4ec90,_0x60c2d7,_0x3226d6,_0x4ee2c3)=>{const _0x2e41ab=_0x513d9e;for(var _0xea513=_0x4ee2c3>0x1?void 0x0:_0x4ee2c3?li(_0x60c2d7,_0x3226d6):_0x60c2d7,_0x515095=_0x4ec90[_0x2e41ab(0x1f0)]-0x1,_0x2ca07d;_0x515095>=0x0;_0x515095--)(_0x2ca07d=_0x4ec90[_0x515095])&&(_0xea513=_0x2ca07d(_0xea513)||_0xea513);return _0xea513;},Qe=(_0x1526e8,_0x2c3d47)=>(_0x2ec614,_0x2c1275)=>_0x2c3d47(_0x2ec614,_0x2c1275,_0x1526e8);let Me=class extends _0x2e496d{constructor(_0x2d22d8,_0x4ac972){const _0x29f641=_0x513d9e;super(),this['_docClipboardService']=_0x2d22d8,this[_0x29f641(0x278)]=_0x4ac972,this[_0x29f641(0x119)]();}['_init'](){const _0xb89780=_0x513d9e,_0x3371ba=this;this[_0xb89780(0x1ab)](this[_0xb89780(0x1ed)]['addClipboardHook']({'onBeforePasteImage':async _0x1fec83=>{const _0x3e6fc9=_0xb89780,_0x8a3830=await _0x3371ba['_imageIoService'][_0x3e6fc9(0x1f8)](_0x1fec83);return _0x8a3830?{'source':_0x8a3830[_0x3e6fc9(0x193)],'imageSourceType':_0x8a3830['imageSourceType']}:null;}}));}};Me=_i([Qe(0x0,_0x412b0a),Qe(0x1,_0x1d2b28)],Me);const qe=[_0x513d9e(0x2d5),_0x513d9e(0x165),_0x513d9e(0x10e),_0x513d9e(0x243),'blue400',_0x513d9e(0x234)];class He extends _0x4dc13d{constructor(){const _0x3e8d79=_0x513d9e;super(...arguments),_(this,_0x3e8d79(0x13f),new Map()),_(this,'_colorIndex',0x0);}[_0x513d9e(0x185)](_0x196e0b){const _0x3aa682=_0x513d9e;if(this['_assignedColors']['has'](_0x196e0b))return this[_0x3aa682(0x13f)][_0x3aa682(0x1a4)](_0x196e0b);const _0x148d1f=qe[this[_0x3aa682(0x16c)]];return this[_0x3aa682(0x16c)]=(this['_colorIndex']+0x1)%qe[_0x3aa682(0x1f0)],this[_0x3aa682(0x13f)][_0x3aa682(0x287)](_0x196e0b,_0x148d1f),_0x148d1f;}}function Dt(_0x1bbc3d){const _0x220bd9=_0x513d9e;let _0x1f26ac='';for(const _0x2bde5b of _0x1bbc3d){const {startOffset:_0x5bce63,endOffset:_0xf85a0f,isActive:_0x5ccc85,rangeType:_0x1eb23a,segmentId:_0x56a6b9,segmentPage:_0x3a817c}=_0x2bde5b;_0x1f26ac[_0x220bd9(0x1f0)]&&(_0x1f26ac+=','),_0x1f26ac+=_0x5bce63+':'+_0xf85a0f+':'+(_0x5ccc85?'1':'0')+':'+_0x1eb23a+':'+_0x56a6b9+':'+_0x3a817c;}return _0x1f26ac;}function hi(_0x546cfc){const _0x3ddac7=_0x513d9e,_0x4f771b=_0x546cfc[_0x3ddac7(0xf1)](','),_0x2963ab=[];for(const _0x202fff of _0x4f771b){const [_0x19112e,_0x2ad577,_0x2743c1,_0x314e1c,_0x185b02,_0x58547a]=_0x202fff[_0x3ddac7(0xf1)](':');_0x2963ab[_0x3ddac7(0x295)]({'startOffset':Number(_0x19112e),'endOffset':Number(_0x2ad577),'collapsed':_0x19112e===_0x2ad577,'isActive':_0x2743c1==='1','rangeType':_0x314e1c===_0x28d8f1[_0x3ddac7(0x12f)]?_0x28d8f1[_0x3ddac7(0x12f)]:_0x28d8f1[_0x3ddac7(0x1db)],'segmentId':typeof _0x185b02==_0x3ddac7(0x273)?String(_0x185b02):'','segmentPage':Number(_0x58547a!=null?_0x58547a:-0x1)});}return _0x2963ab['some'](_0x506f3d=>_0x506f3d['isActive'])||(_0x2963ab[0x0][_0x3ddac7(0x1bb)]=!0x0),_0x2963ab;}class je extends _0x2e496d{constructor(){const _0x440b14=_0x513d9e;super(...arguments),_(this,_0x440b14(0x121),new _0x2f60b9(null)),_(this,_0x440b14(0x1ff),this[_0x440b14(0x121)][_0x440b14(0x14f)]());}['syncEditingCollabCursor'](_0x1160f3){const _0x929d9a=_0x513d9e,{unitID:_0xc91a13,memberID:_0xdc1219,textRanges:_0x53d918}=_0x1160f3,_0x1af048=Dt(_0x53d918);if(_0x1af048==='')return;const _0x46582a={'unitID':_0xc91a13,'memberID':_0xdc1219,'selection':_0x1af048};this[_0x929d9a(0x121)][_0x929d9a(0x20f)](_0x46582a);}}var ui=Object['getOwnPropertyDescriptor'],di=(_0xe1dfc6,_0x4bceca,_0x39c393,_0x57466f)=>{const _0x5a2f33=_0x513d9e;for(var _0x2cb3ee=_0x57466f>0x1?void 0x0:_0x57466f?ui(_0x4bceca,_0x39c393):_0x4bceca,_0x335866=_0xe1dfc6[_0x5a2f33(0x1f0)]-0x1,_0x21f035;_0x335866>=0x0;_0x335866--)(_0x21f035=_0xe1dfc6[_0x335866])&&(_0x2cb3ee=_0x21f035(_0x2cb3ee)||_0x2cb3ee);return _0x2cb3ee;},U=(_0x3bf9d0,_0x2a4a07)=>(_0x21dbae,_0x26ab5a)=>_0x2a4a07(_0x21dbae,_0x26ab5a,_0x3bf9d0);const fi=0x12c,Si=0x64;let Pe=class extends _0x2e496d{constructor(_0x1a40cb,_0x216740,_0x3e956b,_0x16b17f,_0x13fc1c,_0x2a223c,_0x5bc10c,_0x508065,_0xc68408){const _0x5a96c3=_0x513d9e;super(),_(this,_0x5a96c3(0x237),!0x1),_(this,_0x5a96c3(0x119),!0x1),_(this,_0x5a96c3(0x140),new _0x2f60b9(new Map())),_(this,_0x5a96c3(0x283),this['_cursorInfo$'][_0x5a96c3(0x14f)]()),_(this,'_roomMembers$',new _0x2f60b9([])),_(this,'roomMembers$',this[_0x5a96c3(0x1b9)][_0x5a96c3(0x230)](_0x1a3296(fi))),_(this,_0x5a96c3(0x179),_0x84c60a(_0x3c993a=>{const _0xa84563=_0x5a96c3,_0x5e9500={'eventID':_0x524840[_0xa84563(0x14b)],'data':{'unitID':this[_0xa84563(0x19b)],'memberID':this[_0xa84563(0x116)][_0xa84563(0x2d8)](),'selection':Dt(_0x3c993a)}};this[_0xa84563(0x116)][_0xa84563(0x18e)](_0x5e9500,this['unitID']);},Si)),(this['unitID']=_0x1a40cb,this[_0x5a96c3(0x116)]=_0x216740,this['_injector']=_0x3e956b,this[_0x5a96c3(0x1c7)]=_0x16b17f,this[_0x5a96c3(0x2df)]=_0x13fc1c,this[_0x5a96c3(0x178)]=_0x2a223c,this[_0x5a96c3(0x228)]=_0x5bc10c,this['_univerInstanceService']=_0x508065,this['_commandService']=_0xc68408);}get[_0x513d9e(0x109)](){const _0x4947de=_0x513d9e;return this['_cursorInfo$'][_0x4947de(0x1ae)]();}get[_0x513d9e(0x145)](){const _0x17d278=_0x513d9e;return this['_roomMembers$'][_0x17d278(0x1ae)]();}[_0x513d9e(0x19f)](){const _0x4b9d0b=_0x513d9e;super[_0x4b9d0b(0x19f)](),this[_0x4b9d0b(0x140)][_0x4b9d0b(0x20f)](new Map()),this['_cursorInfo$'][_0x4b9d0b(0x20a)](),this[_0x4b9d0b(0x1b9)]['next']([]),this['_roomMembers$'][_0x4b9d0b(0x20a)]();}[_0x513d9e(0x19c)](){const _0x3d9cb4=_0x513d9e;this['_init']||(this[_0x3d9cb4(0x119)]=!0x0,this['_session'][_0x3d9cb4(0x1d3)][_0x3d9cb4(0x230)](_0x2522f4(this[_0x3d9cb4(0x107)]))[_0x3d9cb4(0x2ac)](_0x16c23d=>{const _0x37571b=_0x3d9cb4;_0x16c23d===_0x2c8872[_0x37571b(0x1e3)]?this[_0x37571b(0xfb)]():this[_0x37571b(0x17d)]();}),this['_session'][_0x3d9cb4(0x169)][_0x3d9cb4(0x230)](_0x2522f4(this[_0x3d9cb4(0x107)]))[_0x3d9cb4(0x2ac)](_0x22b01a=>{const _0x1a3fe7=_0x3d9cb4,_0x1dcaa2=_0x22b01a[_0x1a3fe7(0x1bd)];_0x1dcaa2===_0x524840[_0x1a3fe7(0x14b)]&&this[_0x1a3fe7(0x20e)](_0x22b01a),_0x1dcaa2===_0x524840[_0x1a3fe7(0x14a)]&&this[_0x1a3fe7(0x108)](_0x22b01a);}),this[_0x3d9cb4(0x1ab)](this[_0x3d9cb4(0x294)][_0x3d9cb4(0x1e5)](_0x51d9cc=>{const _0x5e5076=_0x3d9cb4,_0x8a34be=_0x51d9cc[_0x5e5076(0x1f7)];_0x8a34be!=null&&this[_0x5e5076(0x237)]&&_0x51d9cc['id']===_0xf96d27['id']&&_0x8a34be[_0x5e5076(0x2c1)]===this[_0x5e5076(0x19b)]&&_0x8a34be[_0x5e5076(0x2b8)]===!0x1&&_0x8a34be[_0x5e5076(0xfd)][_0x5e5076(0x1f0)]>0x0&&this[_0x5e5076(0x179)](_0x8a34be['ranges']);})),this[_0x3d9cb4(0x178)]['collabCursorState$'][_0x3d9cb4(0x230)](_0x2522f4(this[_0x3d9cb4(0x107)]))[_0x3d9cb4(0x2ac)](_0x1c00e8=>{const _0x4b2d80=_0x3d9cb4;if((_0x1c00e8==null?void 0x0:_0x1c00e8[_0x4b2d80(0x19b)])!==this[_0x4b2d80(0x19b)])return;const _0x470a22={'eventID':_0x524840[_0x4b2d80(0x14b)],'data':_0x1c00e8};this['_onCursorUpdate'](_0x470a22);}),this[_0x3d9cb4(0x1ab)](this[_0x3d9cb4(0x294)][_0x3d9cb4(0x1e5)](_0x4dd208=>{const _0x32078e=_0x3d9cb4;if(_0x4dd208[_0x32078e(0x1f7)]==null)return;const _0x46c728=_0x4dd208[_0x32078e(0x1f7)];if(_0x4dd208['id']!==_0x216da0['id']||_0x46c728['unitId']!==this[_0x32078e(0x19b)])return;const _0x1a512c={'id':_0x32078e(0x1de),'params':_0x46c728},_0x4cb1a1=this[_0x32078e(0x109)];for(const [_0x5da47b,_0x50350a]of _0x4cb1a1){const _0x56b4f5={'id':_0x32078e(0x1de),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x50350a[_0x32078e(0xfd)]}},_0x3f7def=this[_0x32078e(0x228)]['transformMutation'](_0x1a512c,_0x56b4f5,!0x1);if(_0x3ad4c3(_0x3f7def))throw _0x3f7def[_0x32078e(0x2b7)];_0x4cb1a1['set'](_0x5da47b,{..._0x50350a,'ranges':_0x3f7def[_0x32078e(0x2c3)][_0x32078e(0x1f7)][_0x32078e(0x2bc)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x4cb1a1);});})));}[_0x513d9e(0x20e)](_0x2c11a7){const _0x5915ff=_0x513d9e;var _0x122ae1,_0x4aae6d;const {memberID:_0x1ef5aa,selection:_0x55b06e}=_0x2c11a7[_0x5915ff(0x1f5)],_0xcc808b=hi(_0x55b06e),_0xaa7c39=(_0x4aae6d=(_0x122ae1=this[_0x5915ff(0x2df)][_0x5915ff(0x1a6)](this[_0x5915ff(0x19b)],_0x1ef5aa))==null?void 0x0:_0x122ae1[_0x5915ff(0x1c5)])!=null?_0x4aae6d:_0x5915ff(0x229),_0x4e2b12={'color':this[_0x5915ff(0x1c7)][_0x5915ff(0x185)](_0x1ef5aa),'name':_0xaa7c39,'ranges':_0xcc808b},_0x4d3aaa=this[_0x5915ff(0x109)];_0x4d3aaa[_0x5915ff(0x287)](_0x1ef5aa,_0x4e2b12),this['_cursorInfo$'][_0x5915ff(0x20f)](_0x4d3aaa);}[_0x513d9e(0x108)](_0x5562e9){const _0x456814=_0x513d9e,{memberID:_0xb0d188}=_0x5562e9['data'],_0x494151=this[_0x456814(0x109)];_0x494151[_0x456814(0x159)](_0xb0d188),this[_0x456814(0x140)][_0x456814(0x20f)](_0x494151);}['_toggleOnline'](){const _0xe08057=_0x513d9e;var _0x3c2653;if(this[_0xe08057(0x237)]=!0x0,((_0x3c2653=this[_0xe08057(0x173)][_0xe08057(0x19d)]())==null?void 0x0:_0x3c2653[_0xe08057(0x26a)]())!==this[_0xe08057(0x19b)])return;const _0x326584=this[_0xe08057(0x202)][_0xe08057(0x1a4)](_0x562654)[_0xe08057(0x208)]();Array['isArray'](_0x326584)&&_0x326584[_0xe08057(0x1f0)]>0x0&&this[_0xe08057(0x179)](_0x326584);}[_0x513d9e(0x17d)](){this['_online']=!0x1;}};Pe=di([U(0x2,_0x4e2b5a(_0x5eb6e0)),U(0x3,_0x4e2b5a(He)),U(0x4,_0x4e2b5a(_0x255e27)),U(0x5,_0x4e2b5a(je)),U(0x6,_0x259b8d),U(0x7,_0x2e22e9),U(0x8,_0x66d318)],Pe);var mi=Object[_0x513d9e(0x2c4)],gi=(_0x15a478,_0x19e450,_0x4be49f,_0x2c4330)=>{const _0x4d9637=_0x513d9e;for(var _0x4070f1=_0x2c4330>0x1?void 0x0:_0x2c4330?mi(_0x19e450,_0x4be49f):_0x19e450,_0x53d09e=_0x15a478[_0x4d9637(0x1f0)]-0x1,_0x4a0649;_0x53d09e>=0x0;_0x53d09e--)(_0x4a0649=_0x15a478[_0x53d09e])&&(_0x4070f1=_0x4a0649(_0x4070f1)||_0x4070f1);return _0x4070f1;},x=(_0x24944e,_0x17b82d)=>(_0x3a79a,_0x37b4a0)=>_0x17b82d(_0x3a79a,_0x37b4a0,_0x24944e);const vi=0x12c,Ii=0x64,pi=()=>{let _0x27cc94=[],_0x553edf=!0x1;return _0x3b1e85=>{const _0xceb47f=_0x4744;_0x27cc94[_0xceb47f(0x295)](_0x3b1e85),_0x553edf||(_0x553edf=!0x0,setTimeout(()=>{_0x27cc94['forEach'](_0x1004c3=>_0x1004c3()),_0x27cc94=[],_0x553edf=!0x1;}));};};let we=class extends _0x2e496d{constructor(_0x5466a7,_0x5ab2ef,_0x7b4859,_0x33fdbb,_0x4ce0d6,_0x21dfd1,_0x151f16,_0x18af25){const _0x5baac4=_0x513d9e;super(),_(this,_0x5baac4(0x237),!0x1),_(this,'_init',!0x1),_(this,'_cursorInfo$',new _0x2f60b9(new Map())),_(this,_0x5baac4(0x283),this[_0x5baac4(0x140)][_0x5baac4(0x14f)]()),_(this,_0x5baac4(0x1b9),new _0x2f60b9([])),_(this,'roomMembers$',this[_0x5baac4(0x1b9)][_0x5baac4(0x230)](_0x1a3296(vi))),_(this,'_updateLocalCursor',_0x84c60a((_0x233092,_0x38eefb)=>{const _0x5ecebe=_0x5baac4,_0x467f68={'eventID':_0x524840[_0x5ecebe(0x14b)],'data':{'unitID':this[_0x5ecebe(0x19b)],'memberID':this[_0x5ecebe(0x116)][_0x5ecebe(0x2d8)](),'selection':_0x67f079(_0x233092,_0x38eefb[_0x5ecebe(0x12d)])}};this[_0x5ecebe(0x116)]['send'](_0x467f68,this[_0x5ecebe(0x19b)]);},Ii)),(this['unitID']=_0x5466a7,this['_session']=_0x5ab2ef,this[_0x5baac4(0x202)]=_0x7b4859,this[_0x5baac4(0x1c7)]=_0x33fdbb,this[_0x5baac4(0x2df)]=_0x4ce0d6,this[_0x5baac4(0x173)]=_0x21dfd1,this[_0x5baac4(0x294)]=_0x151f16,this['_refRangeService']=_0x18af25);}get[_0x513d9e(0x109)](){const _0x1e3502=_0x513d9e;return this[_0x1e3502(0x140)]['getValue']();}get[_0x513d9e(0x145)](){const _0x1f88ec=_0x513d9e;return this[_0x1f88ec(0x1b9)][_0x1f88ec(0x1ae)]();}[_0x513d9e(0x19f)](){const _0x2b0dc1=_0x513d9e;super[_0x2b0dc1(0x19f)](),this[_0x2b0dc1(0x140)][_0x2b0dc1(0x20f)](new Map()),this[_0x2b0dc1(0x140)][_0x2b0dc1(0x20a)](),this['_roomMembers$'][_0x2b0dc1(0x20f)]([]),this[_0x2b0dc1(0x1b9)][_0x2b0dc1(0x20a)]();}[_0x513d9e(0x19c)](){const _0x436921=_0x513d9e;this[_0x436921(0x119)]||(this[_0x436921(0x119)]=!0x0,this[_0x436921(0x116)]['sessionStatus$'][_0x436921(0x230)](_0x2522f4(this[_0x436921(0x107)]))[_0x436921(0x2ac)](_0x4ad2d8=>{_0x4ad2d8===_0x2c8872['ONLINE']?this['_toggleOnline']():this['_toggleOffline']();}),this['_session']['event$'][_0x436921(0x230)](_0x2522f4(this['dispose$']))[_0x436921(0x2ac)](_0x4bd1ce=>{const _0x103527=_0x436921,_0x57c0a6=_0x4bd1ce['eventID'];_0x57c0a6===_0x524840[_0x103527(0x14b)]&&this[_0x103527(0x20e)](_0x4bd1ce),_0x57c0a6===_0x524840['USERS_LEAVE']&&this[_0x103527(0x108)](_0x4bd1ce);}),this[_0x436921(0x1b0)](),this[_0x436921(0x1ab)](this['_commandService'][_0x436921(0x1e5)](_0x5caf16=>{const _0x4d994f=_0x436921;if(this['_online']&&_0x5caf16['id']===_0x459c44['id']&&_0x5caf16[_0x4d994f(0x1f7)]['unitId']===this[_0x4d994f(0x19b)]){const _0x29a2ed=_0x5caf16[_0x4d994f(0x1f7)];this[_0x4d994f(0x179)](_0x29a2ed[_0x4d994f(0x20c)],_0x29a2ed[_0x4d994f(0x25a)][0x0]);}})));}[_0x513d9e(0x20e)](_0x1505fa){const _0x145225=_0x513d9e;var _0x1c567b,_0x353c33;const {memberID:_0x3055d5,selection:_0x12547f}=_0x1505fa['data'],{sheetName:_0x56746e,range:_0x502b17}=_0x594df8(_0x12547f),_0x22f09d={'name':(_0x353c33=(_0x1c567b=this[_0x145225(0x2df)]['getMember'](this['unitID'],_0x3055d5))==null?void 0x0:_0x1c567b[_0x145225(0x1c5)])!=null?_0x353c33:_0x145225(0x229),'range':this['_getMergeRange'](_0x56746e,_0x502b17),'sheetID':_0x56746e,'color':this[_0x145225(0x1c7)][_0x145225(0x185)](_0x3055d5),'selection':_0x12547f},_0x112f96=this[_0x145225(0x109)];_0x112f96[_0x145225(0x287)](_0x3055d5,_0x22f09d),this[_0x145225(0x140)][_0x145225(0x20f)](_0x112f96);}[_0x513d9e(0x108)](_0x1aad32){const _0x53d9e0=_0x513d9e,{memberID:_0x1434d4}=_0x1aad32[_0x53d9e0(0x1f5)],_0x260521=this[_0x53d9e0(0x109)];_0x260521[_0x53d9e0(0x159)](_0x1434d4),this[_0x53d9e0(0x140)][_0x53d9e0(0x20f)](_0x260521);}[_0x513d9e(0x2e2)](_0x336234,_0x4b986b){const _0x380b9c=_0x513d9e;var _0x3e09d1,_0x31504c;const _0x353265=(_0x31504c=(_0x3e09d1=this[_0x380b9c(0x173)]['getUniverSheetInstance'](this[_0x380b9c(0x19b)]))==null?void 0x0:_0x3e09d1['getSheetBySheetId'](_0x336234))==null?void 0x0:_0x31504c[_0x380b9c(0x21a)]();return(_0x353265==null?void 0x0:_0x353265['find'](_0x469465=>_0x5324b5[_0x380b9c(0x172)](_0x469465,_0x4b986b)))||_0x4b986b;}['_onRefRangeChange'](){const _0x5975d7=_0x513d9e,_0x82b287=new _0x394c9f(),_0x44ea94=pi(),_0x572336=()=>{const _0x18b7cd=_0x4744;_0x82b287['dispose']();const _0x5b857e=(_0x21f906,_0x2d23a6,_0x19bb48,_0x14df1e)=>{const _0x4d566e=_0x4744;let _0x1838ca=[];switch(_0x21f906['id']){case _0x3ad89a['DeleteRangeMoveLeftCommandId']:{_0x1838ca=_0x126355(_0x21f906,_0x14df1e);break;}case _0x3ad89a[_0x4d566e(0xf8)]:{_0x1838ca=_0x214fc3(_0x21f906,_0x14df1e);break;}case _0x3ad89a[_0x4d566e(0x222)]:{_0x1838ca=_0x21d222(_0x21f906,_0x14df1e);break;}case _0x3ad89a[_0x4d566e(0x253)]:{_0x1838ca=_0x468c6e(_0x21f906,_0x14df1e);break;}case _0x3ad89a[_0x4d566e(0x2ab)]:{_0x1838ca=_0x1ef458(_0x21f906,_0x14df1e);break;}case _0x3ad89a['InsertRowCommandId']:{_0x1838ca=_0x55648f(_0x21f906,_0x14df1e);break;}case _0x3ad89a[_0x4d566e(0x2b5)]:{_0x1838ca=_0x296006(_0x21f906,_0x14df1e);break;}case _0x3ad89a[_0x4d566e(0x29f)]:{_0x1838ca=_0x1fc585(_0x21f906,_0x14df1e);break;}case _0x3ad89a['RemoveRowCommandId']:{_0x1838ca=_0xb78a7a(_0x21f906,_0x14df1e);break;}}const _0x31174c=_0x12d87a(_0x1838ca,_0x14df1e),_0x577bae=this[_0x4d566e(0x109)][_0x4d566e(0x1a4)](_0x2d23a6);if(_0x577bae&&_0x31174c){const _0x22bca5={..._0x577bae,'range':_0x31174c};this[_0x4d566e(0x109)][_0x4d566e(0x287)](_0x2d23a6,_0x22bca5),_0x44ea94(()=>{const _0x5425da=_0x4d566e,_0x25f608=this['_refRangeService'][_0x5425da(0x1b6)](_0x31174c,_0x561aea=>(_0x25f608[_0x5425da(0x19f)](),_0x5b857e(_0x561aea,_0x2d23a6,_0x19bb48,_0x31174c)));_0x82b287[_0x5425da(0x249)](_0x25f608);});}return{'redos':[],'undos':[]};};this[_0x18b7cd(0x109)][_0x18b7cd(0x201)]((_0x2c357b,_0x491b51)=>{const _0x1d17f8=_0x18b7cd,{range:_0x434963,sheetID:_0x4bded2}=_0x2c357b,_0x140923=this['_refRangeService'][_0x1d17f8(0x1b6)](_0x434963,_0x57fb33=>(_0x140923[_0x1d17f8(0x19f)](),_0x5b857e(_0x57fb33,_0x491b51,_0x4bded2,_0x434963)));_0x82b287['add'](_0x140923);});};this['disposeWithMe'](_0x157122(this[_0x5975d7(0x140)][_0x5975d7(0x2ac)](()=>{_0x572336();})));}['_toggleOnline'](){const _0x2216e4=_0x513d9e;var _0x2dec98,_0x28cb60;if(this[_0x2216e4(0x237)]=!0x0,((_0x2dec98=this[_0x2216e4(0x173)]['getFocusedUnit']())==null?void 0x0:_0x2dec98[_0x2216e4(0x26a)]())!==this[_0x2216e4(0x19b)])return;const _0x95abf=(_0x28cb60=this[_0x2216e4(0x202)]['get'](_0x20ae9d)[_0x2216e4(0x275)]())==null?void 0x0:_0x28cb60[0x0],_0x3183c1=this['_univerInstanceService'][_0x2216e4(0x21d)](_0x33f165[_0x2216e4(0x29d)])[_0x2216e4(0x28c)]();_0x95abf&&_0x3183c1&&this['_updateLocalCursor'](_0x3183c1[_0x2216e4(0x1a0)](),_0x95abf);}[_0x513d9e(0x17d)](){this['_online']=!0x1;}};we=gi([x(0x2,_0x4e2b5a(_0x5eb6e0)),x(0x3,_0x4e2b5a(He)),x(0x4,_0x4e2b5a(_0x255e27)),x(0x5,_0x2e22e9),x(0x6,_0x66d318),x(0x7,_0x4e2b5a(_0x17ab85))],we);var Ci=Object[_0x513d9e(0x2c4)],Ei=(_0x1a51af,_0x48fd29,_0x24d7e8,_0x2ff663)=>{const _0x8eb2f3=_0x513d9e;for(var _0x1faf83=_0x2ff663>0x1?void 0x0:_0x2ff663?Ci(_0x48fd29,_0x24d7e8):_0x48fd29,_0x221245=_0x1a51af[_0x8eb2f3(0x1f0)]-0x1,_0x5ad3f9;_0x221245>=0x0;_0x221245--)(_0x5ad3f9=_0x1a51af[_0x221245])&&(_0x1faf83=_0x5ad3f9(_0x1faf83)||_0x1faf83);return _0x1faf83;},me=(_0x46f9f0,_0x4ca9fa)=>(_0x47f507,_0x4dd826)=>_0x4ca9fa(_0x47f507,_0x4dd826,_0x46f9f0);let H=class extends _0x2e496d{constructor(_0x77eff1,_0x3d730a,_0x4b4d4b){const _0x3e663b=_0x513d9e;super(),_(this,'_entities',new Map()),_(this,_0x3e663b(0x27a),new _0x4a8821()),(this[_0x3e663b(0x173)]=_0x77eff1,this[_0x3e663b(0x202)]=_0x3d730a,this[_0x3e663b(0x21e)]=_0x4b4d4b,this[_0x3e663b(0x119)]());}[_0x513d9e(0x19f)](){const _0x1f1868=_0x513d9e;super[_0x1f1868(0x19f)](),this['_entityInit$'][_0x1f1868(0x20a)](),this[_0x1f1868(0x22f)]['forEach'](_0x2b27c1=>_0x2b27c1[_0x1f1868(0x19f)]());}[_0x513d9e(0x247)](_0x3df0bd){const _0x263667=_0x513d9e;return this[_0x263667(0x22f)][_0x263667(0x128)](_0x3df0bd)?this[_0x263667(0x22f)][_0x263667(0x1a4)](_0x3df0bd)[_0x263667(0x283)]:this['_entityInit$'][_0x263667(0x230)](_0x2a61a0(_0x422ca1=>_0x422ca1[_0x263667(0x19b)]===_0x3df0bd),_0x380740(_0x53fc4d=>_0x53fc4d['cursorInfo$']));}[_0x513d9e(0x119)](){const _0x25f1e6=_0x513d9e;this[_0x25f1e6(0x173)]['getTypeOfUnitAdded$'](_0x33f165[_0x25f1e6(0x29d)])['pipe'](_0x2522f4(this[_0x25f1e6(0x107)]))[_0x25f1e6(0x2ac)](async _0x490554=>{const _0x582fae=_0x25f1e6,_0x124d4f=_0x490554[_0x582fae(0x26a)](),_0x479b8b=await this[_0x582fae(0x28f)](_0x124d4f);this[_0x582fae(0x27a)][_0x582fae(0x20f)](_0x479b8b),this['_entities'][_0x582fae(0x287)](_0x124d4f,_0x479b8b);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x33f165[_0x25f1e6(0x240)])[_0x25f1e6(0x230)](_0x2522f4(this[_0x25f1e6(0x107)]))[_0x25f1e6(0x230)](_0x2a61a0(_0xe928d5=>!_0xe928d5['getUnitId']()['startsWith']('__')))['subscribe'](async _0x31f0ac=>{const _0x378a6d=_0x25f1e6,_0x55f187=_0x31f0ac[_0x378a6d(0x26a)](),_0x2d1221=await this['_startDocCollabCursor'](_0x55f187);this['_entityInit$']['next'](_0x2d1221),this['_entities'][_0x378a6d(0x287)](_0x55f187,_0x2d1221);}),_0x4ec83b(this[_0x25f1e6(0x173)][_0x25f1e6(0x15a)](_0x33f165[_0x25f1e6(0x240)]),this[_0x25f1e6(0x173)][_0x25f1e6(0x15a)](_0x33f165[_0x25f1e6(0x29d)]))['pipe'](_0x2522f4(this[_0x25f1e6(0x107)]))['subscribe'](_0x2e5afe=>{const _0x1ca2fd=_0x25f1e6,_0x210b47=_0x2e5afe[_0x1ca2fd(0x26a)](),_0x3e780b=this[_0x1ca2fd(0x22f)][_0x1ca2fd(0x1a4)](_0x210b47);_0x3e780b&&(_0x3e780b[_0x1ca2fd(0x19f)](),this['_entities']['delete'](_0x210b47));});}async[_0x513d9e(0x28f)](_0x5f5696){const _0x1436f3=_0x513d9e,_0x109290=await this[_0x1436f3(0x21e)]['requireSession'](_0x5f5696),_0x12477f=this['_injector']['createInstance'](we,_0x5f5696,_0x109290);return _0x12477f['init'](),_0x12477f;}async['_startDocCollabCursor'](_0xaba2f9){const _0x501953=_0x513d9e,_0x56c5e=await this[_0x501953(0x21e)][_0x501953(0x1c6)](_0xaba2f9),_0x3482b3=this[_0x501953(0x202)][_0x501953(0x1c2)](Pe,_0xaba2f9,_0x56c5e);return _0x3482b3[_0x501953(0x19c)](),_0x3482b3;}};H=Ei([me(0x0,_0x2e22e9),me(0x1,_0x4e2b5a(_0x5eb6e0)),me(0x2,_0x4e2b5a(_0x935ffe))],H);const te=0x14,et=0xc8,ge=0x4,bi=0x5;function Oi(_0x303089,_0x4141c5){const _0x45d1cb=_0x513d9e;let {radius:_0x57f6ce,width:_0x495279,height:_0x30de6a}=_0x4141c5;_0x57f6ce=_0x57f6ce!=null?_0x57f6ce:0x0,_0x495279=_0x495279!=null?_0x495279:0x1e,_0x30de6a=_0x30de6a!=null?_0x30de6a:0x1e;let _0x18b6a9=0x0,_0x56d6bc=0x0,_0x4654b2=0x0;_0x18b6a9=_0x56d6bc=_0x4654b2=Math[_0x45d1cb(0x1c0)](_0x57f6ce,_0x495279/0x2,_0x30de6a/0x2),_0x303089['beginPath'](),_0x303089[_0x45d1cb(0x1e6)](_0x18b6a9,0x0),_0x303089[_0x45d1cb(0x2aa)](_0x495279-_0x56d6bc,0x0),_0x303089['arc'](_0x495279-_0x56d6bc,_0x56d6bc,_0x56d6bc,Math['PI']*0x3/0x2,0x0,!0x1),_0x303089[_0x45d1cb(0x2aa)](_0x495279,_0x30de6a-_0x4654b2),_0x303089['arc'](_0x495279-_0x4654b2,_0x30de6a-_0x4654b2,_0x4654b2,0x0,Math['PI']/0x2,!0x1),_0x303089[_0x45d1cb(0x2aa)](0x0,_0x30de6a),_0x303089[_0x45d1cb(0x2aa)](0x0,_0x18b6a9),_0x303089['arc'](_0x18b6a9,_0x18b6a9,_0x18b6a9,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x303089['closePath'](),_0x4141c5[_0x45d1cb(0x190)]&&(_0x303089[_0x45d1cb(0x252)](),_0x303089[_0x45d1cb(0x1ac)]=_0x4141c5[_0x45d1cb(0x190)],_0x4141c5[_0x45d1cb(0x281)]===_0x45d1cb(0x271)?_0x303089[_0x45d1cb(0x190)](_0x45d1cb(0x271)):_0x303089[_0x45d1cb(0x190)](),_0x303089[_0x45d1cb(0x1a5)]());}class ue extends _0x36fecd{constructor(_0x41d3c5,_0x48d94d){const _0x56f82f=_0x513d9e;super(_0x41d3c5,_0x48d94d),_(this,_0x56f82f(0x2c2)),_(this,_0x56f82f(0x1dc)),(this[_0x56f82f(0x2c2)]=_0x48d94d==null?void 0x0:_0x48d94d['color'],this['text']=_0x48d94d==null?void 0x0:_0x48d94d['text']);}static['drawWith'](_0xe1009a,_0x2e0ef8){const _0x2bb5e4=_0x513d9e,{text:_0x4b8f19,color:_0x41a68a}=_0x2e0ef8;_0xe1009a[_0x2bb5e4(0x252)](),_0xe1009a['font']=_0x2bb5e4(0x103);const _0x236092=_0xe1009a[_0x2bb5e4(0x2db)](_0x4b8f19)[_0x2bb5e4(0x113)],_0x47d1dd=Math[_0x2bb5e4(0x1c0)](_0x236092+0x2*ge,et);Oi(_0xe1009a,{'height':te,'radius':0x4,'width':_0x47d1dd,'fill':_0x41a68a}),_0xe1009a[_0x2bb5e4(0x1ac)]='#FFF';const _0x3c8c1c=ge,_0x25c988=te-bi,_0x282670=et-0x2*ge;if(_0x236092>_0x282670){let _0x2950c0='',_0x5c1f3b=0x0;for(const _0x29e87e of _0x4b8f19){const _0x3badcf=_0xe1009a[_0x2bb5e4(0x2db)](_0x29e87e)['width'];if(_0x5c1f3b+_0x3badcf<=_0x282670-_0xe1009a[_0x2bb5e4(0x2db)]('...')[_0x2bb5e4(0x113)])_0x2950c0+=_0x29e87e,_0x5c1f3b+=_0x3badcf;else{_0x2950c0+=_0x2bb5e4(0x260);break;}}_0xe1009a[_0x2bb5e4(0x130)](_0x2950c0,_0x3c8c1c,_0x25c988);}else _0xe1009a['fillText'](_0x4b8f19,_0x3c8c1c,_0x25c988);_0xe1009a[_0x2bb5e4(0x1a5)]();}['_draw'](_0xdbd11c){const _0x28f240=_0x513d9e;ue[_0x28f240(0x1b3)](_0xdbd11c,this);}}const ve=_0x513d9e(0x2e1),Ti=_0x513d9e(0x218),Ri=_0x513d9e(0x255),X=0x6,Di=1.5,Ie=0x4,Ni=1.5,Mi=_0x513d9e(0x1e1);class tt{constructor(_0x179f62,_0x206ec0,_0x1e6f2e,_0x4e5c10){const _0x314ad5=_0x513d9e;_(this,'_shapes',[]),_(this,'_anchor',null),_(this,_0x314ad5(0x2e7),null),_(this,'_anchorDot',null),_(this,_0x314ad5(0x2a1),null),_(this,_0x314ad5(0x241),null),(this[_0x314ad5(0x224)]=_0x179f62,this[_0x314ad5(0x1cd)]=_0x206ec0,this[_0x314ad5(0x18b)]=_0x1e6f2e,this['_document']=_0x4e5c10,this[_0x314ad5(0x266)]());}set['_hover'](_0x1c4e74){const _0x38f617=_0x513d9e;_0x1c4e74?(this[_0x38f617(0x26c)]&&this[_0x38f617(0x26c)][_0x38f617(0x17b)](),this[_0x38f617(0x2e7)]&&this[_0x38f617(0x2e7)][_0x38f617(0x27c)]()):(this[_0x38f617(0x26c)]&&this[_0x38f617(0x26c)][_0x38f617(0x27c)](),this['_textBubble']&&this['_textBubble'][_0x38f617(0x17b)]());}['dispose'](){const _0x378f82=_0x513d9e;for(const _0x45857c of this[_0x378f82(0x2a2)])_0x45857c[_0x378f82(0x19f)]();this[_0x378f82(0x2e7)]&&this[_0x378f82(0x2e7)][_0x378f82(0x19f)](),this[_0x378f82(0x26c)]&&this[_0x378f82(0x26c)][_0x378f82(0x19f)](),this[_0x378f82(0x246)]&&this[_0x378f82(0x246)][_0x378f82(0x19f)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}[_0x513d9e(0x266)](){const _0x370063=_0x513d9e;var _0x339540;const {_docSkeleton:_0x31c506,_document:_0x16329f}=this,{color:_0xc8d593,name:_0x2a41e4,ranges:_0x269ebc}=this[_0x370063(0x224)],_0x3fbbc6=_0x16329f[_0x370063(0x2ce)](),{docsLeft:_0x40ddd1,docsTop:_0x3640cd}=_0x3fbbc6,_0x7e9cc0=new _0x2e4ebe(_0x3fbbc6,_0x31c506);for(const {startOffset:_0x4e0695,endOffset:_0x54ebfa,rangeType:_0x2ad119,segmentId:_0x2e3768,segmentPage:_0x413a8c,collapsed:_0x1bf142,isActive:_0x1b8b9d}of _0x269ebc){const _0x4a5b4d=_0x31c506['findNodePositionByCharIndex'](_0x4e0695,!0x0,_0x2e3768,_0x413a8c);let _0x56ce7b=_0x31c506[_0x370063(0x183)](_0x54ebfa,!0x0,_0x2e3768,_0x413a8c);if(_0x56ce7b==null&&(_0x56ce7b=_0x31c506[_0x370063(0x183)](_0x54ebfa-0x1,!0x1,_0x2e3768,_0x413a8c)),_0x1b8b9d){const {contentBoxPointGroup:_0x3558ca}=_0x7e9cc0[_0x370063(0x2e4)](_0x56ce7b,_0x56ce7b);if(_0x3558ca[_0x370063(0x1f0)]===0x0)continue;this['_drawAnchor'](_0xc8d593,_0x3558ca,_0x40ddd1,_0x3640cd,_0x2a41e4),this['_eventUnsubscribe']=this['_handleHover']();}if(_0x4a5b4d&&_0x56ce7b){if(_0x2ad119===_0x28d8f1[_0x370063(0x1db)]){const _0x5cc74c=new _0x590e53(_0x3fbbc6,_0x31c506),{pointGroup:_0x2cc88b}=(_0x339540=_0x5cc74c[_0x370063(0x2e4)](_0x4a5b4d,_0x56ce7b))!=null?_0x339540:{};if(_0x2cc88b==null||_0x2cc88b['length']===0x0)continue;this['_drawRectRange'](_0xc8d593,_0x2cc88b,_0x40ddd1,_0x3640cd);}else{if(!_0x1bf142){const {borderBoxPointGroup:_0x5bfed0}=_0x7e9cc0[_0x370063(0x2e4)](_0x4a5b4d,_0x56ce7b);if(_0x5bfed0['length']===0x0)continue;this[_0x370063(0x299)](_0xc8d593,_0x5bfed0,_0x40ddd1,_0x3640cd);}}}}}['_drawAnchor'](_0x338cb0,_0xe92ffc,_0x4a4d88,_0x287244,_0x7ca8f){const _0x5522bf=_0x513d9e,_0x2090ef=this['_getAnchorBounding'](_0xe92ffc),{left:_0x5f4bf2,top:_0x4f4804,height:_0x33159f}=_0x2090ef,_0x52c69d=this[_0x5522bf(0x206)](),_0x2102bd=Ni/_0x52c69d,_0x34d9e0=new _0x17ef8e(ve+_0x4cc9fc[_0x5522bf(0x219)](X),{'left':_0x5f4bf2+_0x4a4d88-_0x2102bd,'top':_0x4f4804+_0x287244,'height':_0x33159f,'width':Di,'fill':_0x338cb0||_0x5ec915(_0x327089[_0x5522bf(0x223)],0x0),'strokeWidth':_0x2102bd,'stroke':Mi,'evented':!0x0});this[_0x5522bf(0x246)]=_0x34d9e0,this[_0x5522bf(0x1cd)][_0x5522bf(0x236)](_0x34d9e0,_0x2ac4fc);const _0x101c9d=new _0x17ef8e(ve+_0x4cc9fc[_0x5522bf(0x219)](X),{'left':_0x5f4bf2+_0x4a4d88-_0x2102bd,'top':_0x4f4804+_0x287244-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x338cb0||_0x5ec915(_0x327089[_0x5522bf(0x223)],0x0),'strokeWidth':0x0,'stroke':_0x338cb0||_0x5ec915(_0x327089[_0x5522bf(0x223)],0x0),'evented':!0x1});this[_0x5522bf(0x26c)]=_0x101c9d,this[_0x5522bf(0x1cd)][_0x5522bf(0x236)](_0x101c9d,_0x2ac4fc);const _0x1a5fb8=new ue(ve+_0x4cc9fc[_0x5522bf(0x219)](X),{'left':_0x5f4bf2+_0x4a4d88-_0x2102bd,'top':_0x4f4804+_0x287244-te,'text':_0x7ca8f,'color':_0x338cb0});this['_textBubble']=_0x1a5fb8,this[_0x5522bf(0x1cd)][_0x5522bf(0x236)](_0x1a5fb8,_0x2ac4fc),this[_0x5522bf(0xef)]=!0x1;}[_0x513d9e(0x127)](){const _0x400582=_0x513d9e,_0x316d0e=this[_0x400582(0x246)][_0x400582(0x251)][_0x400582(0x264)](()=>{const _0x351c05=_0x400582;this[_0x351c05(0xef)]=!0x0;}),_0x5ab311=this[_0x400582(0x246)][_0x400582(0x137)][_0x400582(0x264)](()=>{const _0x1f9636=_0x400582;this[_0x1f9636(0x2a1)]&&clearTimeout(this[_0x1f9636(0x2a1)]),this[_0x1f9636(0x2a1)]=setTimeout(()=>{const _0x30eb27=_0x1f9636;this[_0x30eb27(0xef)]=!0x1;},0x7d0);});return()=>{const _0x3b2550=_0x400582;_0x316d0e[_0x3b2550(0x2cd)](),_0x5ab311[_0x3b2550(0x2cd)]();};}['_drawTextRange'](_0x585482,_0x33316a,_0x2007d7,_0x8864d9){const _0x539331=_0x513d9e,_0x210f87=new _0x526ced(_0x585482)[_0x539331(0x1f3)](0.2)[_0x539331(0x1e8)](),_0x3e4f63=new _0x2a5205(Ti+_0x4cc9fc[_0x539331(0x219)](X),{'pointsGroup':_0x33316a,'fill':_0x210f87||_0x5ec915(_0x327089[_0x539331(0x223)],0.2),'left':_0x2007d7,'top':_0x8864d9,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x539331(0x2a2)][_0x539331(0x295)](_0x3e4f63),this[_0x539331(0x1cd)][_0x539331(0x236)](_0x3e4f63,_0x2ac4fc);}['_drawRectRange'](_0x25cf92,_0x816067,_0x541689,_0x3d3837){const _0x3de17e=_0x513d9e,_0x8a6838=new _0x526ced(_0x25cf92)[_0x3de17e(0x1f3)](0.2)[_0x3de17e(0x1e8)](),_0x3f74cd=new _0x2a5205(Ri+_0x4cc9fc[_0x3de17e(0x219)](X),{'pointsGroup':_0x816067,'fill':_0x8a6838||_0x5ec915(_0x327089['black'],0.2),'left':_0x541689,'top':_0x3d3837,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3de17e(0x2a2)]['push'](_0x3f74cd),this[_0x3de17e(0x1cd)]['addObject'](_0x3f74cd,_0x2ac4fc);}['_getAnchorBounding'](_0x50d939){const _0x4b2f08=_0x50d939[0x0],_0x76859e=_0x4b2f08[0x0],_0x42ccad=_0x4b2f08[0x2],{x:_0x50b769,y:_0x2926ab}=_0x76859e,{x:_0x241ca1,y:_0x8ae743}=_0x42ccad;return{'left':_0x50b769,'top':_0x2926ab,'width':_0x241ca1-_0x50b769,'height':_0x8ae743-_0x2926ab};}[_0x513d9e(0x206)](){const _0x5dd8a3=_0x513d9e,{scaleX:_0x3afdf2,scaleY:_0x5e67f8}=this[_0x5dd8a3(0x1cd)][_0x5dd8a3(0x288)]();return Math[_0x5dd8a3(0x2d0)](_0x3afdf2,_0x5e67f8);}}var Pi=Object[_0x513d9e(0x2c4)],wi=(_0x3cfb32,_0x3c3ca5,_0x42fe57,_0x5de01d)=>{const _0x2eb488=_0x513d9e;for(var _0x436085=_0x5de01d>0x1?void 0x0:_0x5de01d?Pi(_0x3c3ca5,_0x42fe57):_0x3c3ca5,_0x4a4405=_0x3cfb32[_0x2eb488(0x1f0)]-0x1,_0x1e7775;_0x4a4405>=0x0;_0x4a4405--)(_0x1e7775=_0x3cfb32[_0x4a4405])&&(_0x436085=_0x1e7775(_0x436085)||_0x436085);return _0x436085;},Q=(_0x268457,_0x3ea628)=>(_0x373dc,_0x5769c0)=>_0x3ea628(_0x373dc,_0x5769c0,_0x268457);let Ue=class extends _0x2e496d{constructor(_0x1da76d,_0xa2b937,_0x5757f5,_0x156128,_0x528f28){const _0xf084d5=_0x513d9e;super(),_(this,_0xf084d5(0x261),[]),_(this,_0xf084d5(0x1bf),[]),(this[_0xf084d5(0x133)]=_0x1da76d,this[_0xf084d5(0x239)]=_0xa2b937,this[_0xf084d5(0x15f)]=_0x5757f5,this[_0xf084d5(0x294)]=_0x156128,this[_0xf084d5(0x259)]=_0x528f28,this[_0xf084d5(0x119)]());}[_0x513d9e(0x119)](){const _0x59fd0c=_0x513d9e,_0x5b9501=this['_context'][_0x59fd0c(0x2c1)],_0x2b53c6=this['_docSkeletonManagerService'];this[_0x59fd0c(0x1ab)](_0x56fbfa([this[_0x59fd0c(0x15f)][_0x59fd0c(0x247)](_0x5b9501),this[_0x59fd0c(0x259)][_0x59fd0c(0x291)]])[_0x59fd0c(0x230)](_0x4437ae(([_0xdbdec8,_0xad6559])=>({'skeleton':_0x2b53c6[_0x59fd0c(0x212)](),'cursors':[..._0xdbdec8[_0x59fd0c(0x286)]()][_0x59fd0c(0x289)](_0x3bb20c=>({..._0x3bb20c,'color':_0xad6559[_0x3bb20c['color']]}))})))[_0x59fd0c(0x2ac)](_0x34e095=>{const _0x22620=_0x59fd0c;if(this[_0x22620(0x11e)](),_0x34e095){const {skeleton:_0x555761,cursors:_0x28a711}=_0x34e095;this['_updateCollabCursors'](_0x555761,_0x28a711);}})),this[_0x59fd0c(0x11f)](),this['_initCommandExecutedListener']();}[_0x513d9e(0x26f)](_0x1b3309,_0x42d353){const _0x52a8ed=_0x513d9e,{scene:_0x400e67,mainComponent:_0xcc5faf}=this[_0x52a8ed(0x133)],_0x583d90=_0x42d353[_0x52a8ed(0x220)](_0x3dc51d=>new tt(_0x3dc51d,_0x400e67,_0x1b3309,_0xcc5faf));this[_0x52a8ed(0x261)]=_0x583d90,this[_0x52a8ed(0x1bf)]=_0x42d353;}[_0x513d9e(0x2d2)](){const _0x5300ce=_0x513d9e;this[_0x5300ce(0x11e)]();const {scene:_0xf1c9f7,mainComponent:_0x2d6c71}=this[_0x5300ce(0x133)],_0x5cbb2e=this[_0x5300ce(0x239)][_0x5300ce(0x212)](),_0x62c5d8=this[_0x5300ce(0x1bf)][_0x5300ce(0x220)](_0x2f92d8=>new tt(_0x2f92d8,_0xf1c9f7,_0x5cbb2e,_0x2d6c71));this[_0x5300ce(0x261)]=_0x62c5d8;}[_0x513d9e(0x11e)](){const _0xaddabd=_0x513d9e;this[_0xaddabd(0x261)][_0xaddabd(0x201)](_0x49424b=>_0x49424b[_0xaddabd(0x19f)]()),this[_0xaddabd(0x261)]=[];}[_0x513d9e(0xf2)](){const _0x3e7717=_0x513d9e,_0x35a056=[_0x50c6bb['id']];this[_0x3e7717(0x1ab)](this['_commandService'][_0x3e7717(0x1e5)](_0x111d69=>{const _0x3aa41c=_0x3e7717;_0x35a056[_0x3aa41c(0x18c)](_0x111d69['id'])&&_0x111d69[_0x3aa41c(0x1f7)]['unitId']===this['_context'][_0x3aa41c(0x2c1)]&&this[_0x3aa41c(0x2d2)]();}));}[_0x513d9e(0x11f)](){const _0x4ccb65=_0x513d9e;this[_0x4ccb65(0x1ab)](_0x5c29dc(this[_0x4ccb65(0x133)][_0x4ccb65(0x22e)][_0x4ccb65(0xec)])[_0x4ccb65(0x230)](_0x3a14e3(_0x286431=>_0x286431[_0x4ccb65(0x2b2)]===_0xf0f7d3[_0x4ccb65(0x204)]),_0x192d2e(0x10))['subscribe'](()=>{const _0x417578=_0x4ccb65;this[_0x417578(0x2d2)]();}));}};Ue=wi([Q(0x1,_0x4e2b5a(_0x436b9e)),Q(0x2,_0x4e2b5a(H)),Q(0x3,_0x66d318),Q(0x4,_0x4e2b5a(_0x465549))],Ue);const Ui=0x1,Li=1.5;class Ai extends _0x36fecd{constructor(_0x59cfc0,_0x38ab86){const _0x2f383d=_0x513d9e;super(_0x59cfc0,_0x38ab86),_(this,_0x2f383d(0x16b)),_(this,_0x2f383d(0x11a),!0x1),_(this,_0x2f383d(0x24a)),_(this,'_name',''),_(this,'_labelPosition',_0x2f383d(0x297)),_(this,'_backgroundColor'),(_0x38ab86&&this[_0x2f383d(0x28e)](_0x38ab86),this['onPointerEnter$'][_0x2f383d(0x264)](()=>this[_0x2f383d(0x28e)]({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x513d9e(0x28e)](_0x4e5e29){const _0x540b51=_0x513d9e;var _0x75d04e,_0x152a77,_0x2e26b6,_0xcecbfc,_0x3cd5e0,_0x103669;this[_0x540b51(0x16b)]=(_0x75d04e=_0x4e5e29[_0x540b51(0x2c2)])!=null?_0x75d04e:this[_0x540b51(0x16b)],this[_0x540b51(0x11a)]=(_0x152a77=_0x4e5e29['hovered'])!=null?_0x152a77:this[_0x540b51(0x11a)],this['_range']=(_0x2e26b6=_0x4e5e29['range'])!=null?_0x2e26b6:this['_range'],this[_0x540b51(0x18a)]=(_0xcecbfc=_0x4e5e29[_0x540b51(0x1c5)])!=null?_0xcecbfc:this[_0x540b51(0x18a)],this[_0x540b51(0x10d)]=(_0x3cd5e0=_0x4e5e29[_0x540b51(0x2dc)])!=null?_0x3cd5e0:this[_0x540b51(0x10d)],this['_backgroundColor']=(_0x103669=_0x4e5e29[_0x540b51(0x282)])!=null?_0x103669:this['_backgroundColor'],this[_0x540b51(0x28b)]({'width':_0x4e5e29[_0x540b51(0x113)],'height':_0x4e5e29[_0x540b51(0x155)]});}['onMouseMove'](_0x5df4ac){const _0x32a621=_0x513d9e,{row:_0x38fe42,column:_0x152a28}=_0x5df4ac;if(_0x38fe42>=this[_0x32a621(0x24a)][_0x32a621(0x2e5)]&&_0x38fe42<=this['_range'][_0x32a621(0x257)]&&_0x152a28>=this['_range'][_0x32a621(0x2a8)]&&_0x152a28<=this[_0x32a621(0x24a)]['endColumn']){this[_0x32a621(0x28e)]({'hovered':!0x0});return;}this[_0x32a621(0x28e)]({'hovered':!0x1});}[_0x513d9e(0x1c9)](_0x28ebae){return!0x1;}[_0x513d9e(0xfa)](_0x5b7c0c){const _0x948226=_0x513d9e;_0x17ef8e[_0x948226(0x1b3)](_0x5b7c0c,{'width':this['width'],'height':this[_0x948226(0x155)],'strokeWidth':Li,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x948226(0x147)]}),this[_0x948226(0x11a)]&&(_0x5b7c0c['save'](),_0x5b7c0c[_0x948226(0x191)](0x1,0x0,0x0,0x1,this[_0x948226(0x113)],this[_0x948226(0x10d)]===_0x948226(0x15b)?0x0:-0x14),ue[_0x948226(0x1b3)](_0x5b7c0c,{'text':this[_0x948226(0x18a)],'color':this[_0x948226(0x16b)]}),_0x5b7c0c['restore']());}}var yi=Object[_0x513d9e(0x2c4)],$i=(_0x37e92b,_0x15cd0e,_0x4440ca,_0x4511e8)=>{for(var _0x28b757=_0x4511e8>0x1?void 0x0:_0x4511e8?yi(_0x15cd0e,_0x4440ca):_0x15cd0e,_0x5c00b3=_0x37e92b['length']-0x1,_0xf04dfa;_0x5c00b3>=0x0;_0x5c00b3--)(_0xf04dfa=_0x37e92b[_0x5c00b3])&&(_0x28b757=_0xf04dfa(_0x28b757)||_0x28b757);return _0x28b757;},pe=(_0x323345,_0x2e4339)=>(_0x18bde2,_0x1d7231)=>_0x2e4339(_0x18bde2,_0x1d7231,_0x323345);const xi=0x1389;let Le=class extends _0x2e496d{constructor(_0x35ae5d,_0x8209eb,_0x2b42d0,_0x3b5a3){const _0x179e56=_0x513d9e;super(),_(this,'_cursors',new Set()),_(this,'_lastPointer',null),(this[_0x179e56(0x133)]=_0x35ae5d,this[_0x179e56(0x2b4)]=_0x8209eb,this['_collabCursorController']=_0x2b42d0,this[_0x179e56(0x259)]=_0x3b5a3,this[_0x179e56(0x119)]());}[_0x513d9e(0x119)](){const _0x3d5d9b=_0x513d9e;this[_0x3d5d9b(0x2b4)]['currentSkeleton$'][_0x3d5d9b(0x230)](_0xd4745b(this['dispose$']),_0xda0866(_0xe7fa33=>{const _0xb9b1b=_0x3d5d9b;if(_0xe7fa33){const _0x20986c=_0xe7fa33[_0xb9b1b(0x221)];return _0x56fbfa(this[_0xb9b1b(0x15f)][_0xb9b1b(0x247)](this[_0xb9b1b(0x133)][_0xb9b1b(0x2c1)]),this[_0xb9b1b(0x259)][_0xb9b1b(0x291)])['pipe'](_0x4437ae(([_0x13e127,_0x339e51])=>{const _0x8733be=new Map();return _0x13e127['forEach']((_0x462c27,_0x20946a)=>{const _0x1f2993=_0x4744;if(_0x462c27[_0x1f2993(0x1ea)]===_0x20986c){const _0x196a7c={..._0x462c27};_0x196a7c['color']=_0x339e51[_0x462c27[_0x1f2993(0x2c2)]],_0x8733be[_0x1f2993(0x287)](_0x20946a,_0x196a7c);}}),{'skeleton':_0xe7fa33,'cursors':_0x8733be};}));}return _0xa04f1e({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x11047a,cursors:_0x290850})=>{const _0x583dcd=_0x3d5d9b;this[_0x583dcd(0x11e)](),_0x11047a&&this[_0x583dcd(0x26f)](_0x11047a,_0x290850);}),this[_0x3d5d9b(0x2b4)][_0x3d5d9b(0x1f1)][_0x3d5d9b(0x2ac)](_0xf3e1=>{const _0x226bd0=_0x3d5d9b;if(_0xf3e1==null)return;const {skeleton:_0x53e8e9}=_0xf3e1,{scene:_0xb58f83}=this[_0x226bd0(0x133)];_0xb58f83[_0x226bd0(0x1b1)][_0x226bd0(0x264)](_0x84c60a(_0x162f94=>{const _0x24915d=_0x226bd0;var _0x4d0829,_0x15594b;const {offsetX:_0x25de1a,offsetY:_0x5e7306}=_0x162f94,{x:_0x213e5f,y:_0x5141ba}=_0xb58f83[_0x24915d(0xff)](_0x5aa9d0[_0x24915d(0x227)]([_0x25de1a,_0x5e7306])),{scaleX:_0x56bc21,scaleY:_0x18fa3e}=_0xb58f83[_0x24915d(0x288)](),_0x4aa3dd=_0xb58f83[_0x24915d(0x2e3)](_0x350b3a[_0x24915d(0x262)]),_0x1d9b57=_0xb58f83[_0x24915d(0x233)](_0x5aa9d0['FromArray']([_0x213e5f,_0x5141ba]),_0x4aa3dd),_0x43a1e1=_0x53e8e9[_0x24915d(0x2ca)](_0x25de1a,_0x5e7306,_0x56bc21,_0x18fa3e,_0x1d9b57);((_0x4d0829=this[_0x24915d(0x154)])==null?void 0x0:_0x4d0829[_0x24915d(0xea)])===_0x43a1e1[_0x24915d(0xea)]&&((_0x15594b=this['_lastPointer'])==null?void 0x0:_0x15594b[_0x24915d(0x16e)])===_0x43a1e1[_0x24915d(0x16e)]||this['_cursors'][_0x24915d(0x201)](_0x1858e7=>{const _0x1c849c=_0x24915d;_0x1858e7[_0x1c849c(0x176)](_0x43a1e1);});},0x64));});}[_0x513d9e(0x26f)](_0x4b93e2,_0x322b1d){const _0xbe9cbe=_0x513d9e;var _0x156b69;const _0x2c8e29=(_0x156b69=this[_0xbe9cbe(0x2b4)][_0xbe9cbe(0x23a)]())==null?void 0x0:_0x156b69[_0xbe9cbe(0x194)];if(!_0x2c8e29)return;const _0x51b3d7=this['_getSheetObject']();if(!_0x51b3d7)return;this[_0xbe9cbe(0x1bf)][_0xbe9cbe(0x201)](_0xe53d1f=>{const _0x2b37b9=_0xbe9cbe;_0xe53d1f[_0x2b37b9(0x23e)]();});const {scene:_0x3f9a80}=_0x51b3d7,_0x4e6f11=Bi(Array[_0xbe9cbe(0x1d6)](_0x322b1d[_0xbe9cbe(0x286)]()))[_0xbe9cbe(0x220)](_0x8e5bc=>{const _0x2dab90=_0xbe9cbe,{color:_0x5ea60b,range:_0x33d92a,name:_0x4853f3,selection:_0x39b339,sheetID:_0x48c57c}=_0x8e5bc,{startColumn:_0x1997a3,startRow:_0x3c34da,endColumn:_0x183c3a,endRow:_0x3fbb7c}=_0x33d92a,_0x1677fb=_0x1e4bb8(_0x3c34da,_0x1997a3,_0x3f9a80,_0x2c8e29),_0x22f3db=_0x1e4bb8(_0x3fbb7c,_0x183c3a,_0x3f9a80,_0x2c8e29),{columnHeaderHeightAndMarginTop:_0x23e9dd}=_0x2c8e29,{startX:_0x7af5c5,startY:_0x1b548a}=_0x1677fb,{endX:_0x59d192,endY:_0x2f2296}=_0x22f3db,_0x4e6a07=_0x59d192-_0x7af5c5,_0x387aa2=_0x2f2296-_0x1b548a,_0x446d04={'labelPosition':_0x1b548a-_0x23e9dd>=te?_0x2dab90(0x297):_0x2dab90(0x15b),'sheetID':_0x48c57c,'range':_0x33d92a,'color':_0x5ea60b,'name':_0x4853f3,'selection':_0x39b339,'left':_0x7af5c5,'top':_0x1b548a,'width':_0x4e6a07,'height':_0x387aa2,'evented':!0x1,'zIndex':xi};return new Ai(_0x4853f3,_0x446d04);});_0x3f9a80[_0xbe9cbe(0xfe)](_0x4e6f11,Ui),this[_0xbe9cbe(0x1bf)]=new Set(_0x4e6f11);}[_0x513d9e(0x11e)](){const _0x5a6c97=_0x513d9e;var _0x124287;(_0x124287=this['_cursors'])==null||_0x124287[_0x5a6c97(0x201)](_0x5a92aa=>_0x5a92aa['dispose']());}[_0x513d9e(0x2d4)](){const _0x45bea8=_0x513d9e;return _0x550559(this[_0x45bea8(0x133)][_0x45bea8(0x292)],this[_0x45bea8(0x133)]);}};Le=$i([pe(0x1,_0x4e2b5a(_0x47e953)),pe(0x2,_0x4e2b5a(H)),pe(0x3,_0x4e2b5a(_0x465549))],Le);function Bi(_0x81fca6){const _0x5b75b3=_0x513d9e,_0x2b107e=new Map();return _0x81fca6[_0x5b75b3(0x201)](_0x405d38=>{const _0x32407b=_0x5b75b3;if(_0x2b107e[_0x32407b(0x128)](_0x405d38[_0x32407b(0x2ea)])){const _0x10af2b=_0x2b107e[_0x32407b(0x1a4)](_0x405d38['selection']);_0x10af2b[_0x32407b(0x1c5)]+=',\x20'+_0x405d38['name'];}else _0x2b107e[_0x32407b(0x287)](_0x405d38[_0x32407b(0x2ea)],_0x405d38);}),Array[_0x5b75b3(0x1d6)](_0x2b107e[_0x5b75b3(0x286)]());}var I=function(){const _0x1a363f=_0x513d9e;return I=Object['assign']||function(_0x46be13){const _0x473b3f=_0x4744;for(var _0x194faa,_0x3351c5=0x1,_0x3cf11a=arguments[_0x473b3f(0x1f0)];_0x3351c5<_0x3cf11a;_0x3351c5++){_0x194faa=arguments[_0x3351c5];for(var _0x4f2eb4 in _0x194faa)Object['prototype'][_0x473b3f(0x1d9)][_0x473b3f(0x216)](_0x194faa,_0x4f2eb4)&&(_0x46be13[_0x4f2eb4]=_0x194faa[_0x4f2eb4]);}return _0x46be13;},I[_0x1a363f(0x115)](this,arguments);},ki=function(_0x10e351,_0x5581b4){const _0x12580a=_0x513d9e;var _0x323bb5={};for(var _0x36d22c in _0x10e351)Object[_0x12580a(0x198)]['hasOwnProperty'][_0x12580a(0x216)](_0x10e351,_0x36d22c)&&_0x5581b4[_0x12580a(0x157)](_0x36d22c)<0x0&&(_0x323bb5[_0x36d22c]=_0x10e351[_0x36d22c]);if(_0x10e351!=null&&typeof Object['getOwnPropertySymbols']==_0x12580a(0x25f)){for(var _0x33059c=0x0,_0x36d22c=Object[_0x12580a(0x156)](_0x10e351);_0x33059c<_0x36d22c[_0x12580a(0x1f0)];_0x33059c++)_0x5581b4['indexOf'](_0x36d22c[_0x33059c])<0x0&&Object[_0x12580a(0x198)][_0x12580a(0x28a)][_0x12580a(0x216)](_0x10e351,_0x36d22c[_0x33059c])&&(_0x323bb5[_0x36d22c[_0x33059c]]=_0x10e351[_0x36d22c[_0x33059c]]);}return _0x323bb5;},We=_0x45275f(function(_0x26bf7b,_0x429a4e){const _0xc73eb6=_0x513d9e;var _0x4cb033=_0x26bf7b[_0xc73eb6(0x13d)],_0x38ec3c=_0x26bf7b['id'],_0x56a382=_0x26bf7b[_0xc73eb6(0x167)],_0xe542f4=_0x26bf7b[_0xc73eb6(0x163)],_0xb8359d=ki(_0x26bf7b,[_0xc73eb6(0x13d),'id',_0xc73eb6(0x167),'extend']),_0x34bbe9=_0xc73eb6(0x2a3)[_0xc73eb6(0x188)](_0x38ec3c,'\x20')['concat'](_0x56a382||'')[_0xc73eb6(0x217)](),_0x430f7d=_0x476bab('_'['concat'](Wi()));return Nt(_0x4cb033,''[_0xc73eb6(0x188)](_0x38ec3c),{'defIds':_0x4cb033[_0xc73eb6(0x2cc)],'idSuffix':_0x430f7d['current']},I({'ref':_0x429a4e,'className':_0x34bbe9},_0xb8359d),_0xe542f4);});function Nt(_0xdbdb8a,_0x495e93,_0x39f6cf,_0x365f1f,_0x28bb73){const _0x427bae=_0x513d9e;return _0x27978c(_0xdbdb8a[_0x427bae(0x256)],I(I({'key':_0x495e93},Hi(_0xdbdb8a,_0x39f6cf,_0x28bb73)),_0x365f1f),(ji(_0xdbdb8a,_0x39f6cf)[_0x427bae(0x2da)]||[])[_0x427bae(0x220)](function(_0x2980a4,_0x5042d6){const _0x398b28=_0x427bae;return Nt(_0x2980a4,''[_0x398b28(0x188)](_0x495e93,'-')[_0x398b28(0x188)](_0xdbdb8a[_0x398b28(0x256)],'-')[_0x398b28(0x188)](_0x5042d6),_0x39f6cf,void 0x0,_0x28bb73);}));}function Hi(_0x1970ea,_0x22e7e7,_0x12e0fa){const _0x38191f=_0x513d9e;var _0x1fd482=I({},_0x1970ea['attrs']);_0x12e0fa!=null&&_0x12e0fa[_0x38191f(0x18d)]&&_0x1fd482[_0x38191f(0x190)]===_0x38191f(0x18d)&&(_0x1fd482[_0x38191f(0x190)]=_0x12e0fa[_0x38191f(0x18d)]),_0x1970ea[_0x38191f(0x256)]==='mask'&&_0x1fd482['id']&&(_0x1fd482['id']=_0x1fd482['id']+_0x22e7e7['idSuffix']),Object[_0x38191f(0x24e)](_0x1fd482)[_0x38191f(0x201)](function(_0x4fd6d3){const _0x19ba49=_0x38191f;var _0x151d5c=_0x4fd6d3[0x0],_0x5d4019=_0x4fd6d3[0x1];_0x151d5c===_0x19ba49(0x1a9)&&typeof _0x5d4019==_0x19ba49(0x273)&&(_0x1fd482[_0x151d5c]=_0x5d4019[_0x19ba49(0x125)](/url\(#(.*)\)/,_0x19ba49(0xed)['concat'](_0x22e7e7[_0x19ba49(0x2e8)],')')));});var _0x1ddf81=_0x22e7e7[_0x38191f(0x2cc)];return!_0x1ddf81||_0x1ddf81['length']===0x0||(_0x1970ea[_0x38191f(0x256)]===_0x38191f(0x27d)&&_0x1fd482['xlink:href']&&(_0x1fd482[_0x38191f(0x242)]=_0x1fd482['xlink:href']+_0x22e7e7[_0x38191f(0x2e8)]),Object[_0x38191f(0x24e)](_0x1fd482)[_0x38191f(0x201)](function(_0x56e0d3){const _0x59a48a=_0x38191f;var _0x3094cb=_0x56e0d3[0x0],_0x1d724e=_0x56e0d3[0x1];typeof _0x1d724e==_0x59a48a(0x273)&&(_0x1fd482[_0x3094cb]=_0x1d724e[_0x59a48a(0x125)](/url\(#(.*)\)/,_0x59a48a(0xed)[_0x59a48a(0x188)](_0x22e7e7[_0x59a48a(0x2e8)],')')));})),_0x1fd482;}function ji(_0xc81a02,_0x30178f){const _0x18a1ac=_0x513d9e;var _0x11fcca,_0xb9dfd3=_0x30178f[_0x18a1ac(0x2cc)];return!_0xb9dfd3||_0xb9dfd3[_0x18a1ac(0x1f0)]===0x0?_0xc81a02:_0xc81a02['tag']===_0x18a1ac(0x210)&&(!((_0x11fcca=_0xc81a02['children'])===null||_0x11fcca===void 0x0)&&_0x11fcca[_0x18a1ac(0x1f0)])?I(I({},_0xc81a02),{'children':_0xc81a02[_0x18a1ac(0x2da)][_0x18a1ac(0x220)](function(_0x13945a){const _0x3e7e08=_0x18a1ac;return typeof _0x13945a[_0x3e7e08(0x1fc)]['id']==_0x3e7e08(0x273)&&_0xb9dfd3&&_0xb9dfd3[_0x3e7e08(0x157)](_0x13945a[_0x3e7e08(0x1fc)]['id'])>-0x1?I(I({},_0x13945a),{'attrs':I(I({},_0x13945a['attrs']),{'id':_0x13945a[_0x3e7e08(0x1fc)]['id']+_0x30178f[_0x3e7e08(0x2e8)]})}):_0x13945a;})}):_0xc81a02;}function Wi(){const _0x4ee1e9=_0x513d9e;return Math['random']()[_0x4ee1e9(0x153)](0x24)[_0x4ee1e9(0x161)](0x2,0x8);}We[_0x513d9e(0x26e)]=_0x513d9e(0x290);var Fi={'tag':_0x513d9e(0x196),'attrs':{'fill':_0x513d9e(0x1e7),'viewBox':'0\x200\x2016\x2016','width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x513d9e(0x2bb),'attrs':{'stroke':_0x513d9e(0x1b4),'d':'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','strokeLinecap':_0x513d9e(0x2c7),'strokeLinejoin':_0x513d9e(0x2c7),'strokeWidth':1.2}}]},{'tag':_0x513d9e(0x210),'attrs':{},'children':[{'tag':_0x513d9e(0x150),'attrs':{'id':_0x513d9e(0x146)},'children':[{'tag':_0x513d9e(0x2bb),'attrs':{'fill':_0x513d9e(0x214),'d':_0x513d9e(0x29c)}}]}]}],'defIds':['off-line-single_clip0_910_343']},Mt=_0x45275f(function(_0xada946,_0x392f83){const _0x3d3f22=_0x513d9e;return _0x27978c(We,Object[_0x3d3f22(0x2cb)]({},_0xada946,{'id':_0x3d3f22(0x13c),'ref':_0x392f83,'icon':Fi}));});Mt['displayName']=_0x513d9e(0x106);var Vi={'tag':_0x513d9e(0x196),'attrs':{'fill':_0x513d9e(0x1e7),'viewBox':'0\x200\x2017\x2016','width':_0x513d9e(0x149),'height':_0x513d9e(0x149)},'children':[{'tag':'g','attrs':{'clipPath':_0x513d9e(0x1c1)},'children':[{'tag':_0x513d9e(0x2bb),'attrs':{'stroke':'currentColor','d':_0x513d9e(0x187),'strokeLinecap':_0x513d9e(0x2c7),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x513d9e(0x210),'attrs':{},'children':[{'tag':_0x513d9e(0x150),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x513d9e(0x214),'d':_0x513d9e(0x29c),'transform':_0x513d9e(0x2d3)}}]}]}],'defIds':[_0x513d9e(0x268)]},Pt=_0x45275f(function(_0x251a4d,_0x2967ff){const _0xfdafd0=_0x513d9e;return _0x27978c(We,Object[_0xfdafd0(0x2cb)]({},_0x251a4d,{'id':_0xfdafd0(0x2ba),'ref':_0x2967ff,'icon':Vi}));});Pt[_0x513d9e(0x26e)]=_0x513d9e(0x263);const Yi='univer-online-status-icon',Xi=_0x513d9e(0x1ef),Gi='univer-online-status',Ki=_0x513d9e(0x270),zi=_0x513d9e(0x144),G={'onlineStatusIcon':Yi,'onlineStatusTitle':Xi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0x30601f){const _0x73b49b=_0x513d9e;switch(_0x30601f){case _0x1f0bee['OFFLINE']:return _0x73b49b(0x19a);case _0x1f0bee[_0x73b49b(0x17a)]:return'collabStatus.conflict';case _0x1f0bee[_0x73b49b(0x10f)]:return _0x73b49b(0x14d);case _0x1f0bee[_0x73b49b(0x1d7)]:return _0x73b49b(0x265);case _0x1f0bee[_0x73b49b(0x1ad)]:case _0x1f0bee[_0x73b49b(0x174)]:return _0x73b49b(0xf6);case _0x1f0bee['SYNCED']:case _0x1f0bee['PENDING']:return _0x73b49b(0x17e);}}function Zi(_0x4dbb97){const _0x59f81e=_0x513d9e,{status$:_0x3c960a}=_0x4dbb97,_0x289dc0=_0x82dde9(_0x3c960a,_0x1f0bee['NOT_COLLAB']),_0x145fc8=_0x497f29(_0x55f656),_0x4050a7=_0x497f29(_0x935ffe),_0x7d8673=_0x289dc0!==_0x1f0bee[_0x59f81e(0x27f)],_0x5ba5cf=_0x145fc8['t'](Ji(_0x289dc0)),_0x5a7256=_0x2cc606(G['onlineStatus'],{[G[_0x59f81e(0x2c0)]]:_0x7d8673,[G[_0x59f81e(0x2e6)]]:!_0x7d8673}),_0x234e13=_0x7d8673?_0x199a0b(Pt,{}):_0x199a0b(Mt,{}),_0x4383ab=_0x4de3fb(()=>{_0x7d8673||_0x4050a7['reconnect']();},[_0x7d8673,_0x4050a7]);function _0xb0f803(){const _0xa63d6a=_0x59f81e;return _0x389d33(_0xa63d6a(0x25e),{'className':_0x2cc606(_0x5a7256,_0xa63d6a(0x293)),'onClick':_0x4383ab,'children':[_0x199a0b('div',{'className':G[_0xa63d6a(0x269)],'children':_0x234e13}),_0x199a0b('div',{'className':G[_0xa63d6a(0x1a1)],'children':_0x5ba5cf})]});}return _0x7d8673?_0xb0f803():_0x199a0b(_0x463880,{'title':_0x145fc8['t']('collab-client.tooltip.reconnect'),'children':_0xb0f803()});}var Qi=Object[_0x513d9e(0x2c4)],qi=(_0x4f17b6,_0x1847d0,_0x3d2795,_0x1c1835)=>{const _0x148bb2=_0x513d9e;for(var _0x103bd5=_0x1c1835>0x1?void 0x0:_0x1c1835?Qi(_0x1847d0,_0x3d2795):_0x1847d0,_0x1950a8=_0x4f17b6[_0x148bb2(0x1f0)]-0x1,_0x656d33;_0x1950a8>=0x0;_0x1950a8--)(_0x656d33=_0x4f17b6[_0x1950a8])&&(_0x103bd5=_0x656d33(_0x103bd5)||_0x103bd5);return _0x103bd5;},q=(_0x1386f2,_0x33c149)=>(_0x4199a3,_0x410bcb)=>_0x33c149(_0x4199a3,_0x410bcb,_0x1386f2);let se=class extends _0x4dc13d{constructor(_0x2dbd7a,_0x5b0636,_0x50bbb4,_0x4a2958){const _0xf8233b=_0x513d9e;super(),_(this,_0xf8233b(0xf4),new _0x2f60b9(_0x1f0bee[_0xf8233b(0x1d7)])),(this[_0xf8233b(0x173)]=_0x2dbd7a,this[_0xf8233b(0x202)]=_0x5b0636,this['_collaborationController']=_0x50bbb4,this[_0xf8233b(0x209)]=_0x4a2958,this['_initStatusComponent'](),this[_0xf8233b(0x25d)]());}[_0x513d9e(0x25d)](){const _0x107b32=_0x513d9e;this[_0x107b32(0x1ab)](this['_univerInstanceService'][_0x107b32(0x13e)][_0x107b32(0x230)](_0x380740(()=>{const _0x434db8=_0x107b32,_0x38ae77=this['_univerInstanceService'][_0x434db8(0x19d)]();return _0x38ae77?this[_0x434db8(0x158)][_0x434db8(0x2af)](_0x38ae77['getUnitId']()):_0xa04f1e(null);}),_0x380740(_0x749f19=>_0x749f19?_0x749f19[_0x107b32(0x2a9)]:_0xa04f1e(_0x1f0bee[_0x107b32(0x1d7)])))[_0x107b32(0x2ac)](_0x42bb75=>{const _0x4be0cd=_0x107b32;this[_0x4be0cd(0xf4)][_0x4be0cd(0x20f)](_0x42bb75);}));}[_0x513d9e(0x123)](){const _0x28e230=_0x513d9e;this[_0x28e230(0x1ab)](this['_uiPartsService']['registerComponent'](_0x5ae2fd[_0x28e230(0x12c)],()=>_0x15c856(en({'status$':this[_0x28e230(0xf4)]['asObservable']()}),this[_0x28e230(0x202)])));}};se=qi([q(0x0,_0x2e22e9),q(0x1,_0x4e2b5a(_0x5eb6e0)),q(0x2,_0x4e2b5a(_0x44a7ae)),q(0x3,_0x35daec)],se);function en(_0x4cb331){const {status$:_0x3a490c}=_0x4cb331;return function(){return _0x199a0b(Zi,{'status$':_0x3a490c});};}var tn=Object['getOwnPropertyDescriptor'],sn=(_0x4e1de3,_0x33bb63,_0x3ab055,_0x3f6508)=>{const _0x3b3da7=_0x513d9e;for(var _0x385ddc=_0x3f6508>0x1?void 0x0:_0x3f6508?tn(_0x33bb63,_0x3ab055):_0x33bb63,_0x592f0e=_0x4e1de3[_0x3b3da7(0x1f0)]-0x1,_0x41c3fb;_0x592f0e>=0x0;_0x592f0e--)(_0x41c3fb=_0x4e1de3[_0x592f0e])&&(_0x385ddc=_0x41c3fb(_0x385ddc)||_0x385ddc);return _0x385ddc;},B=(_0x48a089,_0x37df13)=>(_0x1d14a7,_0x45910d)=>_0x37df13(_0x1d14a7,_0x45910d,_0x48a089);let ie=class extends _0x4dc13d{constructor(_0x502dfa,_0x2a1dbf,_0x10819c,_0x19a185,_0x207396,_0x4e4697){const _0x46d37b=_0x513d9e;super(),this['_beforeCloseService']=_0x502dfa,this[_0x46d37b(0x1b5)]=_0x2a1dbf,this[_0x46d37b(0x1e0)]=_0x10819c,this[_0x46d37b(0x18f)]=_0x19a185,this['_notificationService']=_0x207396,this['_localeService']=_0x4e4697,this[_0x46d37b(0x23c)](),this[_0x46d37b(0x26b)]();}[_0x513d9e(0x23c)](){const _0x3c8888=_0x513d9e;this['disposeWithMe'](this[_0x3c8888(0x101)][_0x3c8888(0x175)](()=>{const _0x5e82d0=_0x3c8888;if(this['_localCacheService']['saveTaskMap'][_0x5e82d0(0x11c)])return this[_0x5e82d0(0x1f4)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x513d9e(0x26b)](){const _0x17e777=_0x513d9e;this[_0x17e777(0x1ab)](this[_0x17e777(0x1e0)][_0x17e777(0x169)][_0x17e777(0x2ac)](_0x320304=>{const _0x229b40=_0x17e777;_0x320304['id']===_0x430fa5[_0x229b40(0x195)]&&this['_messageService'][_0x229b40(0x27c)]({'type':_0x134975[_0x229b40(0x1f2)],'content':this[_0x229b40(0x1f4)]['t'](_0x229b40(0x102))}),_0x320304['id']===_0x430fa5['CLOSE_ROOM']&&this[_0x229b40(0x18f)]['show']({'type':_0x134975[_0x229b40(0x1f2)],'content':this[_0x229b40(0x1f4)]['t']('collaboration.closeRoom')}),_0x320304['id']===_0x430fa5[_0x229b40(0x245)]&&this[_0x229b40(0x280)][_0x229b40(0x27c)]({'title':this[_0x229b40(0x1f4)]['t'](_0x229b40(0x13b)),'content':this[_0x229b40(0x1f4)]['t'](_0x229b40(0x2ad)),'type':'error','duration':0x0}),_0x320304['id']===_0x430fa5[_0x229b40(0x17a)]&&this['_messageService'][_0x229b40(0x27c)]({'type':_0x134975['Error'],'content':this['_localeService']['t'](_0x229b40(0x2ae))+'('+_0x320304[_0x229b40(0x1f5)]+')'}),_0x320304['id']===_0x430fa5[_0x229b40(0x2a6)]&&this[_0x229b40(0x18f)][_0x229b40(0x27c)]({'type':_0x134975[_0x229b40(0x1f2)],'content':this['_localeService']['t'](_0x320304[_0x229b40(0x1f5)]||'')}),_0x320304['id']===_0x430fa5['SOCKET_FAILED_RETRY']&&this['_messageService'][_0x229b40(0x27c)]({'type':_0x134975[_0x229b40(0x1f2)],'content':this[_0x229b40(0x1f4)]['t'](_0x229b40(0x21b))}),_0x320304['id']===_0x430fa5[_0x229b40(0x272)]&&this[_0x229b40(0x18f)][_0x229b40(0x27c)]({'type':_0x134975[_0x229b40(0x177)],'content':this[_0x229b40(0x1f4)]['t'](_0x229b40(0x199))}),_0x320304['id']===_0x430fa5['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x229b40(0x18f)][_0x229b40(0x27c)]({'type':_0x134975[_0x229b40(0x177)],'content':this[_0x229b40(0x1f4)]['t']('session.collaboration-timeout')});}));}};ie=sn([B(0x0,_0x124c5a),B(0x1,_0x29a577),B(0x2,_0x4e2b5a(_0x485cad)),B(0x3,_0x40ced4),B(0x4,_0x33bf60),B(0x5,_0x4e2b5a(_0x55f656))],ie);const nn=_0x513d9e(0x29e),st={},wt=_0x5a5776(_0x513d9e(0x1cf));var rn=Object['getOwnPropertyDescriptor'],on=(_0x4c2313,_0x21faf5,_0x56c0e2,_0x5aa4b2)=>{const _0xe20517=_0x513d9e;for(var _0x28cdb2=_0x5aa4b2>0x1?void 0x0:_0x5aa4b2?rn(_0x21faf5,_0x56c0e2):_0x21faf5,_0x492b26=_0x4c2313[_0xe20517(0x1f0)]-0x1,_0x1ae142;_0x492b26>=0x0;_0x492b26--)(_0x1ae142=_0x4c2313[_0x492b26])&&(_0x28cdb2=_0x1ae142(_0x28cdb2)||_0x28cdb2);return _0x28cdb2;},K=(_0x7791ec,_0x33a69b)=>(_0x37c643,_0x1b1a10)=>_0x33a69b(_0x37c643,_0x1b1a10,_0x7791ec);let ne=class extends _0x2e496d{constructor(_0x1ef8cf,_0x25bcae,_0x25ad35,_0xa43e6,_0x26974b){const _0x5bc07c=_0x513d9e;super(),this['_urlService']=_0x1ef8cf,this[_0x5bc07c(0x166)]=_0x25bcae,this[_0x5bc07c(0x294)]=_0x25ad35,this[_0x5bc07c(0x213)]=_0xa43e6,_0x26974b?_0x26974b==null||_0x26974b[_0x5bc07c(0x23d)]()[_0x5bc07c(0x2d1)](()=>this['_init']()):(this[_0x5bc07c(0x166)][_0x5bc07c(0x232)](_0x5bc07c(0x104),_0x5bc07c(0x13a)),this[_0x5bc07c(0x119)]());}async[_0x513d9e(0x119)](){const _0x462d07=_0x513d9e,_0x3e48f4=this[_0x462d07(0x19e)][_0x462d07(0x285)]('unit'),_0xe00d3=this['_urlService']['getParam']('type'),_0x146a5a=this['_urlService'][_0x462d07(0x285)](_0x462d07(0x1fb));if(!_0x3e48f4||!_0xe00d3){this[_0x462d07(0x166)]['debug'](_0x462d07(0x104),_0x462d07(0x2c5));return;}const _0x13f441=await this[_0x462d07(0x213)][_0x462d07(0x25b)](_0x3e48f4,Number(_0xe00d3),_0x146a5a);_0x13f441&&_0x13f441 instanceof _0x4c118c&&this['_setupSubUnitSync'](_0x13f441);}async[_0x513d9e(0x136)](_0x8cf24b){const _0x49c6bd=_0x513d9e;await this[_0x49c6bd(0x16a)](_0x8cf24b),_0x8cf24b['activeSheet$'][_0x49c6bd(0x230)](_0x2522f4(this['dispose$']))['subscribe'](_0x84bdfe=>{_0x84bdfe&&this['_updateURLWithCurrentState'](_0x84bdfe);}),this[_0x49c6bd(0x19e)]['urlChange$']['pipe'](_0x2522f4(this[_0x49c6bd(0x107)]))[_0x49c6bd(0x2ac)](()=>this['_updateSubUnitFromURLParams'](_0x8cf24b));}[_0x513d9e(0x2bf)](_0x2adfb2,_0x19028a=!0x1){const _0x244e71=_0x513d9e,_0x4522ab=this[_0x244e71(0x19e)]['getParam']('subunit');_0x2adfb2['getSheetId']()!==_0x4522ab&&this[_0x244e71(0x19e)][_0x244e71(0x277)](_0x244e71(0x1fb),_0x2adfb2[_0x244e71(0x1a0)](),_0x19028a);}async[_0x513d9e(0x16a)](_0x3e797c){const _0x1a2234=_0x513d9e;var _0x58f689;const _0x151381=this[_0x1a2234(0x19e)][_0x1a2234(0x285)]('subunit');if(!_0x151381||!_0x3e797c[_0x1a2234(0x207)](_0x151381)){const _0x3a6c04=_0x3e797c[_0x1a2234(0x197)]()[0x0],_0x2325e1=_0x3e797c[_0x1a2234(0x207)](_0x3a6c04);if(!_0x2325e1)return;this['_updateURLWithCurrentState'](_0x2325e1,!0x0),await this[_0x1a2234(0x294)][_0x1a2234(0x27e)](_0x553df3['id'],{'unitId':_0x3e797c[_0x1a2234(0x26a)](),'subUnitId':_0x3a6c04});return;}((_0x58f689=_0x3e797c['getActiveSheet']())==null?void 0x0:_0x58f689[_0x1a2234(0x1a0)]())!==_0x151381&&await this[_0x1a2234(0x294)]['executeCommand'](_0x553df3['id'],{'unitId':_0x3e797c[_0x1a2234(0x26a)](),'subUnitId':_0x151381});}};ne=on([K(0x0,wt),K(0x1,_0x39d4b2),K(0x2,_0x66d318),K(0x3,_0x4e2b5a(_0x5b29ad)),K(0x4,_0x21ad8b(_0x486dd4))],ne);var an=Object[_0x513d9e(0x2c4)],cn=(_0x589f1e,_0x697011,_0x44b72e,_0x41b560)=>{const _0x217fe4=_0x513d9e;for(var _0x1d7ffd=_0x41b560>0x1?void 0x0:_0x41b560?an(_0x697011,_0x44b72e):_0x697011,_0x1f71d3=_0x589f1e[_0x217fe4(0x1f0)]-0x1,_0x1b7a40;_0x1f71d3>=0x0;_0x1f71d3--)(_0x1b7a40=_0x589f1e[_0x1f71d3])&&(_0x1d7ffd=_0x1b7a40(_0x1d7ffd)||_0x1d7ffd);return _0x1d7ffd;},Ce=(_0x175525,_0x17606c)=>(_0x4f2ebd,_0x1d6f8c)=>_0x17606c(_0x4f2ebd,_0x1d6f8c,_0x175525);let re=class{constructor(_0x14c1b0,_0x42c8b3,_0x1d82cd){const _0x58a30e=_0x513d9e;this[_0x58a30e(0x202)]=_0x14c1b0,this['_transformService']=_0x42c8b3,this[_0x58a30e(0x148)]=_0x1d82cd;}[_0x513d9e(0x2c6)](_0x4e503d){const _0x5dc5c1=_0x513d9e;this[_0x5dc5c1(0x22a)](_0x4e503d),this[_0x5dc5c1(0x132)](_0x4e503d);}[_0x513d9e(0x184)](_0x581e6e){const _0x135a7f=_0x513d9e,{unitID:_0x2ffbaa}=_0x581e6e,_0x1b55df=this[_0x135a7f(0x148)][_0x135a7f(0xf5)](_0x2ffbaa)[_0x135a7f(0x181)](_0x339e7a),{redoCache:_0x3a9fa6}=_0x1b55df['getUndoRedoMutationParamsCache']();if(_0x3a9fa6[_0x135a7f(0x1f0)]===0x0)return _0x581e6e;let _0x2e42e9=_0x4cc9fc[_0x135a7f(0x254)](_0x581e6e[_0x135a7f(0xeb)][0x0]);for(let _0x46b60f=0x0;_0x46b60f<_0x3a9fa6[_0x135a7f(0x1f0)];_0x46b60f++){const _0x9e53d4={'id':_0x135a7f(0x1de),'params':{..._0x3a9fa6[_0x46b60f]}},_0xb3b845=this[_0x135a7f(0x228)][_0x135a7f(0x2a0)](_0x2e42e9,_0x9e53d4,!0x1);if(_0x3ad4c3(_0xb3b845))throw _0xb3b845[_0x135a7f(0x2b7)];_0x2e42e9=_0xb3b845[_0x135a7f(0x142)];}return{..._0x4cc9fc[_0x135a7f(0x254)](_0x581e6e),'mutations':[_0x2e42e9]};}['_transformUndoRedoStack'](_0x1cc194){const _0x33ed9d=_0x513d9e,{unitID:_0x50b605}=_0x1cc194,_0x707d6c=this['_renderManagerService'][_0x33ed9d(0xf5)](_0x50b605)[_0x33ed9d(0x181)](_0x339e7a),{undoCache:_0x581226,redoCache:_0x112ffb}=_0x707d6c[_0x33ed9d(0x138)]();if(_0x581226['length']===0x0||_0x112ffb[_0x33ed9d(0x1f0)]===0x0)return;const _0x4d8b6e=[],_0x50b7c7=[];let _0x3266f2=_0x4cc9fc['deepClone'](_0x1cc194['mutations'][0x0]),_0x3241a3=_0x4cc9fc[_0x33ed9d(0x254)](_0x1cc194[_0x33ed9d(0xeb)][0x0]);for(let _0x36861a=_0x581226[_0x33ed9d(0x1f0)]-0x1;_0x36861a>=0x0;_0x36861a--){const _0x46e888={'id':_0x33ed9d(0x1de),'params':{..._0x581226[_0x36861a]}},_0x25ae21={'id':_0x33ed9d(0x1de),'params':{..._0x112ffb[_0x36861a]}},_0x24adee=this[_0x33ed9d(0x228)][_0x33ed9d(0x2a0)](_0x3266f2,_0x46e888,!0x1),_0x15d2c6=this['_transformService']['transformMutation'](_0x3241a3,_0x25ae21,!0x1);if(_0x3ad4c3(_0x24adee))throw _0x24adee[_0x33ed9d(0x2b7)];if(_0x3ad4c3(_0x15d2c6))throw _0x15d2c6[_0x33ed9d(0x2b7)];_0x4d8b6e[_0x33ed9d(0x114)](_0x24adee[_0x33ed9d(0x2c3)][_0x33ed9d(0x1f7)]),_0x50b7c7[_0x33ed9d(0x114)](_0x15d2c6[_0x33ed9d(0x2c3)]['params']),_0x3266f2=_0x24adee[_0x33ed9d(0x142)],_0x3241a3=_0x15d2c6[_0x33ed9d(0x142)];}_0x707d6c[_0x33ed9d(0x186)]({'undoCache':_0x4d8b6e,'redoCache':_0x50b7c7});}[_0x513d9e(0x132)](_0x17abc4){const _0x34de28=_0x513d9e,{unitID:_0x213fcd}=_0x17abc4,_0x57af3a=this[_0x34de28(0x148)][_0x34de28(0xf5)](_0x213fcd)['with'](_0x339e7a),_0x1fbb03=_0x57af3a[_0x34de28(0x126)]();if(_0x1fbb03==null)return;const _0x108bdb=[{'id':_0x34de28(0x1de),'params':{'unitId':_0x17abc4[_0x34de28(0x19b)],'actions':null,'textRanges':[_0x1fbb03]}}],_0x22d84a=this[_0x34de28(0x228)]['transformMutationsWithChangeset'](_0x17abc4,_0x108bdb);if(!_0x6d680(_0x22d84a))throw _0x22d84a['error'];const _0x3067d0=_0x22d84a['m2Prime'][0x0][_0x34de28(0x1f7)][_0x34de28(0x2bc)];Array[_0x34de28(0x1ec)](_0x3067d0)&&_0x3067d0[_0x34de28(0x1f0)]&&_0x57af3a[_0x34de28(0x225)](_0x3067d0[0x0]);}};re=cn([Ce(0x0,_0x4e2b5a(_0x5eb6e0)),Ce(0x1,_0x259b8d),Ce(0x2,_0x1eedb5)],re);function _0x377c(){const _0xd15c8a=['SNAPSHOT_INVALID_SNAPSHOT','transformSelections','runOnServer','_labelPosition','verdancy600','FETCH_MISS','exhaustSavingTask','setInterval','2331lCGEPx','width','unshift','apply','_session','_handleLeaveEvent','YUUMI_SUBSCRIPTION_NOT_FOUND','_init','_hovered','_getSessionTicket','size','1238472xBRNZD','_removeCollabCursors','_initResize','LOGIN_FAILED','_collabCursorState$','_saveCache','_initStatusComponent','onLocalMutation','replace','getActiveRange','_handleHover','has','getCurrentRevOfUnit','APPLY_NON_SEQUENTIAL_REVISION','_scheduleSaving','HEADER_MENU','range','NO_OTHER_CLIENTS_EDITING','TEXT','fillText','_disabled','_transformPreviousActiveRange','_context','MOBILE_HAS_BEEN_BOUND','getItem','_setupSubUnitSync','onPointerLeave$','getUndoRedoMutationParamsCache','APPLY_PERMISSION_DENIED','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','permission.title','off-line-single','icon','focused$','_assignedColors','_cursorInfo$','SNAPSHOT_HAS_BEEN_REMOVED','m1Prime','search','univer-offline','roomMembers','off-line-single_clip0_910_343','_backgroundColor','_renderManagerService','1em','USERS_LEAVE','UPDATE_CURSOR','pushState','collabStatus.fetchMiss','disableLocalCache','asObservable','clipPath','_unitStatus','LICENSE_DISTRO_REJECTED','toString','_lastPointer','height','getOwnPropertySymbols','indexOf','_collaborationController','delete','getTypeOfUnitDisposed$','bottom','_registerRenderDependencies','getUnitStatus$','setStateCache','_collabCursorController','INVITE_CODE_HAS_BEEN_UES','substring','INVALID_ARGUMENT','extend','6GtNnQn','jiqing500','_logService','className','_scheduleHeartbeat','event$','_updateSubUnitFromURLParams','_color','_colorIndex','ENSURE_SNAPSHOT_EXECUTION','row','2555195ncNegG','code','UNRECOGNIZED','contains','_univerInstanceService','AWAITING_WITH_PENDING','registerBeforeClose','onMouseMove','Error','_syncEditingCollabCursorService','_updateLocalCursor','CONFLICT','hide','docStateChange$','_toggleOffline','collabStatus.synced','APPLY_REVISION_CONFILICT','redoState','with','MUTATION','findNodePositionByCharIndex','transformRemoteChangeset','assignAColorForMemberID','setUndoRedoMutationParamsCache','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','concat','newValue','_name','_docSkeleton','includes','colorChannel1','send','_messageService','fill','transform','origin','source','skeleton','OTHER_CLIENT_EDITING','svg','getUnhiddenWorksheets','prototype','session.connection-failed','collabStatus.offline','unitID','init','getFocusedUnit','_urlService','dispose','getSheetId','onlineStatusTitle','defineProperty','YUUMI_UNABLE_LOAD_URL','get','restore','getMember','YUUMI_RATE_OVER_LIMIT','memberID','mask','createSocket','disposeWithMe','fillStyle','AWAITING','getValue','_httpService','_onRefRangeChange','onPointerMove$','_handleHeartbeatEvent','drawWith','currentColor','_localCacheService','registerRefRange','_removeClearOtherTimer','4588738BQfDsg','_roomMembers$','actions','isActive','disposeUnit','eventID','_localStorageService','_cursors','min','url(#on-line-single_clip0_910_349)','createInstance','setTimeout','_docSyncEditingCollabCursorService','name','requireSession','_colorAssignService','_unitOnClients','triggerDblclick','_docStateChangeManagerService','saveTaskMap','LICENSE_IMPORT_SIZE_EXCEEDED','_scene','syncEditingCollabCursor','uni.network.url-service','APPLY_DUPLICATED','_docTransformIMECacheService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','sessionStatus$','_cachedData','_initEntityListener','from','NOT_COLLAB','popstate','hasOwnProperty','NOT_FOUND','RECT','text','wsSessionTicketUrl','doc.mutation.rich-text-editing','pluginName','_collaborationUIEventService','rgba(255,\x20255,\x20255,\x200.01)','COMPLETION_FINISHED','ONLINE','setItem','onCommandExecuted','moveTo','none','toRgbString','_configService','sheetID','_saveTaskMap','isArray','_docClipboardService','location','univer-online-status-title','length','currentSkeleton$','Warning','setAlpha','_localeService','data','result','params','saveImage','_send','APPLY_REJECT','subunit','attrs','_transformHistoryAndStateStack','key','collabCursorState$','executionId','forEach','_injector','ticket','resize','clearInterval','_getScale','getSheetBySheetId','getDocRanges','_uiPartsService','complete','218dPyqJk','subUnitId','_scheduleClearOtherTimer','_onCursorUpdate','next','defs','INVITE_CODE_ALREADY_BOUND','getSkeleton','_dataLoaderService','#fff','_handleEvent','call','trim','collab-text-range-','generateRandomId','getMergeData','session.will-retry','1426KGDiWA','getCurrentUnitForType','_collabSessionService','body','map','sheetId','InsertColCommandId','black','_cursor','setActiveRange','replaceState','FromArray','_transformService','Unknown\x20user','_transformUndoRedoStack','1168818BWcDsY','_heartbeatTimer','_revisionService','engine','_entities','pipe','/run/','debug','getVpScrollXYInfoByPosToVp','gold400','href','addObject','_online','loadOfflineData','_docSkeletonManagerService','getCurrent','Failed','_setupBeforeClosingHandler','whenReady','makeDirty','runId','UNIVER_DOC','_eventUnsubscribe','xlink:href','red300','history','PERMISSION_DENIED','_anchor','getCollabCursors$','urlChange$','add','_range','20fPojBb','WECHAT_HAS_BEEN_BOUND','getConfig','entries','INTERNAL_ERROR','_id','onPointerEnter$','save','InsertRangeMoveDownCommandId','deepClone','collab-rect-range-','tag','endRow','addEventListener','_themeService','selections','loadUnit','INVALID_INVITE_CODE','_initStatusListener','div','function','...','_cursorShapes','VIEW_MAIN','OnLineSingle','subscribeEvent','collabStatus.notCollab','_render','_doCreateSocket','on-line-single_clip0_910_349','onlineStatusIcon','getUnitId','_initEvent','_anchorDot','parse','displayName','_updateCollabCursors','univer-online','evenodd','SOCKET_FAILED','string','_config','getCurrentSelections','LICENSE_MAX_UNITS_EXCEEDED','setParam','_imageIoService','PY_RUNTIME_SCRIPT_ERROR','_entityInit$','stringify','show','use','executeCommand','OFFLINE','_notificationService','fillRule','backgroundColor','cursorInfo$','transformMutationsWithChangeset','getParam','values','set','getAncestorScale','flatMap','propertyIsEnumerable','transformByState','getActiveSheet','EMAIL_HAS_BEEN_BOUND','setShapeProps','_startSheetCollabCursor','UniverIcon','currentTheme$','unit','univer-flex\x20univer-items-center','_commandService','push','CONNECTOR_DATA_TOO_LARGE','top','getStateCache','_drawTextRange','_docTransformStateCacheService','removeParam','M0\x200H16V16H0z','UNIVER_SHEET','collaboration-client-ui.config','RemoveColCommandId','transformMutation','_hideTimer','_shapes','univerjs-icon\x20univerjs-icon-','registerRenderModule','USER_NOT_INVITED_CODE','JOIN_ROOM_FAILED','symbol','startColumn','status$','lineTo','InsertRangeMoveRightCommandId','subscribe','permission.content','collaboration.closeRoom','getCollabEntity$','17016txWBXD','OTHER_CLIENTS_EDITING','type','_selfUnitIDs','_sheetSkeletonManagerService','MoveRangeCommandId','_createSocketURL','error','isEditing','searchParams','on-line-single','path','textRanges','INVITE_CODE_REQUIRED','2472526AZmlaC','_updateURLWithCurrentState','online','unitId','color','m2Prime','getOwnPropertyDescriptor','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','transformIMECache','round','storage','sessionTicket','getCellPositionByOffset','assign','defIds','unsubscribe','getOffsetConfig','_clearOtherTimers','max','then','_refreshCollabCursors','translate(.97)','_getSheetObject','purple300','LICENSE_EXPORT_SIZE_EXCEEDED','enableLocalCache','getMemberID','ALREADY_EXISTS','children','measureText','labelPosition','TOO_MANY_REQUESTS','_instanceService','_memberService','_ensureSubject','collab-text-anchor-','_getMergeRange','getViewport','getRangePointData','startRow','offline','_textBubble','idSuffix','clearTimeout','selection','column','mutations','onTransformChange$','url(#$1','application/json','_hover','_handleJoinEvent','split','_initCommandExecutedListener','_getSaveTimeout','_status$','getRenderById','collabStatus.syncing','YUUMI_URL_COL_OUT_OF_RANGE','DeleteRangeMoveUpCommandId','editingUnit','_draw','_toggleOnline','replaceDocRanges','ranges','addObjects','getRelativeToViewportCoord','UNAUTHENTICATED','_beforeCloseService','collaboration.single-unit.warning','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','[CollaborationDataLoaderController]','unload','OffLineSingle','dispose$','_onCursorDelete','cursorInfo'];_0x377c=function(){return _0xd15c8a;};return _0x377c();}function _0x4744(_0x59c303,_0x4222cd){const _0x377c82=_0x377c();return _0x4744=function(_0x474404,_0x2c9220){_0x474404=_0x474404-0xea;let _0x1721cc=_0x377c82[_0x474404];return _0x1721cc;},_0x4744(_0x59c303,_0x4222cd);}var ln=Object[_0x513d9e(0x2c4)],_n=(_0xcbfef7,_0x48f175,_0x4c4429,_0x200328)=>{const _0x166e65=_0x513d9e;for(var _0x531be3=_0x200328>0x1?void 0x0:_0x200328?ln(_0x48f175,_0x4c4429):_0x48f175,_0x20ea35=_0xcbfef7[_0x166e65(0x1f0)]-0x1,_0x2c14ae;_0x20ea35>=0x0;_0x20ea35--)(_0x2c14ae=_0xcbfef7[_0x20ea35])&&(_0x531be3=_0x2c14ae(_0x531be3)||_0x531be3);return _0x531be3;},Ee=(_0x2277d1,_0x19d0f3)=>(_0x3bfe8b,_0x2f5157)=>_0x19d0f3(_0x3bfe8b,_0x2f5157,_0x2277d1);let oe=class{constructor(_0x51cb61,_0x232ed1,_0x2cbabc){const _0x202929=_0x513d9e;this[_0x202929(0x202)]=_0x51cb61,this[_0x202929(0x228)]=_0x232ed1,this[_0x202929(0x1ca)]=_0x2cbabc;}['transformStateCache'](_0x2fb784){const _0x14fd88=_0x513d9e;this[_0x14fd88(0x1fd)](_0x2fb784);}[_0x513d9e(0x184)](_0x2aed15){const _0x6be047=_0x513d9e,{unitID:_0x22934b}=_0x2aed15,{collaboration:_0x22785a}=this[_0x6be047(0x1ca)][_0x6be047(0x298)](_0x22934b);if(_0x22785a[_0x6be047(0x1f0)]===0x0)return _0x2aed15;let _0x522ef0=_0x4cc9fc[_0x6be047(0x254)](_0x2aed15[_0x6be047(0xeb)][0x0]);for(let _0x1016c6=0x0;_0x1016c6<_0x22785a[_0x6be047(0x1f0)];_0x1016c6++){const _0x352305={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x22785a[_0x1016c6]['unitId'],..._0x22785a[_0x1016c6]['redoState']}},_0x444df7=this[_0x6be047(0x228)][_0x6be047(0x2a0)](_0x522ef0,_0x352305,!0x1);if(_0x3ad4c3(_0x444df7))throw _0x444df7[_0x6be047(0x2b7)];_0x522ef0=_0x444df7[_0x6be047(0x142)];}return{..._0x4cc9fc[_0x6be047(0x254)](_0x2aed15),'mutations':[_0x522ef0]};}[_0x513d9e(0x1fd)](_0x82a347){const _0xf36413=_0x513d9e,{unitID:_0x5a6576}=_0x82a347,{history:_0x39569b,collaboration:_0x3b48c1}=this['_docStateChangeManagerService'][_0xf36413(0x298)](_0x5a6576);if(_0x39569b['length']===0x0&&_0x3b48c1[_0xf36413(0x1f0)]===0x0)return;const _0x8e2bcd=[],_0x4b2c54=[];let _0x44ab46=_0x4cc9fc[_0xf36413(0x254)](_0x82a347['mutations'][0x0]),_0x579771=_0x4cc9fc['deepClone'](_0x82a347[_0xf36413(0xeb)][0x0]);for(let _0x31003d=_0x39569b[_0xf36413(0x1f0)]-0x1;_0x31003d>=0x0;_0x31003d--){const _0x4f0229={'id':_0xf36413(0x1de),'params':{'unitId':_0x39569b[_0x31003d][_0xf36413(0x2c1)],..._0x39569b[_0x31003d]['undoState']}},_0x4613a6={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x39569b[_0x31003d][_0xf36413(0x2c1)],..._0x39569b[_0x31003d][_0xf36413(0x180)]}},_0x50a503=this['_transformService'][_0xf36413(0x2a0)](_0x44ab46,_0x4f0229,!0x1),_0x1df2a9=this[_0xf36413(0x228)][_0xf36413(0x2a0)](_0x579771,_0x4613a6,!0x1);if(_0x3ad4c3(_0x50a503))throw _0x50a503['error'];if(_0x3ad4c3(_0x1df2a9))throw _0x1df2a9[_0xf36413(0x2b7)];_0x8e2bcd[_0xf36413(0x114)]({..._0x39569b[_0x31003d],'undoState':_0x50a503[_0xf36413(0x2c3)][_0xf36413(0x1f7)],'redoState':_0x1df2a9[_0xf36413(0x2c3)][_0xf36413(0x1f7)]}),_0x44ab46=_0x50a503[_0xf36413(0x142)],_0x579771=_0x1df2a9['m1Prime'];}_0x44ab46=_0x4cc9fc[_0xf36413(0x254)](_0x82a347[_0xf36413(0xeb)][0x0]),_0x579771=_0x4cc9fc['deepClone'](_0x82a347[_0xf36413(0xeb)][0x0]);for(let _0x650a3=_0x3b48c1[_0xf36413(0x1f0)]-0x1;_0x650a3>=0x0;_0x650a3--){const _0x97e0e3={'id':_0xf36413(0x1de),'params':{'unitId':_0x3b48c1[_0x650a3]['unitId'],..._0x3b48c1[_0x650a3]['undoState']}},_0x2fd658={'id':_0xf36413(0x1de),'params':{'unitId':_0x3b48c1[_0x650a3][_0xf36413(0x2c1)],..._0x3b48c1[_0x650a3][_0xf36413(0x180)]}},_0x32ff95=this[_0xf36413(0x228)][_0xf36413(0x2a0)](_0x44ab46,_0x97e0e3,!0x1),_0x196599=this[_0xf36413(0x228)][_0xf36413(0x2a0)](_0x579771,_0x2fd658,!0x1);if(_0x3ad4c3(_0x32ff95))throw _0x32ff95[_0xf36413(0x2b7)];if(_0x3ad4c3(_0x196599))throw _0x196599[_0xf36413(0x2b7)];_0x4b2c54['unshift']({..._0x3b48c1[_0x650a3],'undoState':_0x32ff95[_0xf36413(0x2c3)][_0xf36413(0x1f7)],'redoState':_0x196599['m2Prime'][_0xf36413(0x1f7)]}),_0x44ab46=_0x32ff95['m1Prime'],_0x579771=_0x196599[_0xf36413(0x142)];}this['_docStateChangeManagerService'][_0xf36413(0x15e)](_0x5a6576,{'history':_0x8e2bcd,'collaboration':_0x4b2c54});}};oe=_n([Ee(0x0,_0x4e2b5a(_0x5eb6e0)),Ee(0x1,_0x259b8d),Ee(0x2,_0x4e2b5a(_0x55395b))],oe);var hn=Object[_0x513d9e(0x2c4)],un=(_0x3d7c2e,_0x292fac,_0x30ebd0,_0x4192c9)=>{const _0x437144=_0x513d9e;for(var _0x20aebe=_0x4192c9>0x1?void 0x0:_0x4192c9?hn(_0x292fac,_0x30ebd0):_0x292fac,_0x4ac6c0=_0x3d7c2e[_0x437144(0x1f0)]-0x1,_0x4a0fc9;_0x4ac6c0>=0x0;_0x4ac6c0--)(_0x4a0fc9=_0x3d7c2e[_0x4ac6c0])&&(_0x20aebe=_0x4a0fc9(_0x20aebe)||_0x20aebe);return _0x20aebe;},it=(_0x3bd441,_0x1c3dd5)=>(_0x1bc163,_0x5e7277)=>_0x1c3dd5(_0x1bc163,_0x5e7277,_0x3bd441);let ae=class{constructor(_0x5042f2,_0x2ef7be){const _0x4e5120=_0x513d9e;this[_0x4e5120(0x202)]=_0x5042f2,this['_transformService']=_0x2ef7be;}[_0x513d9e(0x10b)](_0xa8777){const _0x537724=_0x513d9e;var _0x3a5410;const _0x3592e4=this[_0x537724(0x202)][_0x537724(0x1a4)](_0x562654),_0x43d3dd=(_0x3a5410=_0x3592e4[_0x537724(0x208)]())!=null?_0x3a5410:[];if(_0x43d3dd[_0x537724(0x1f0)]===0x0)return;const _0x5b419b=_0xa8777[_0x537724(0x19b)],_0x387f9b=[{'id':_0x537724(0x1de),'params':{'unitId':_0x5b419b,'actions':null,'textRanges':_0x43d3dd}}],_0x615206=this['_transformService'][_0x537724(0x284)](_0xa8777,_0x387f9b);if(!_0x6d680(_0x615206))throw _0x615206[_0x537724(0x2b7)];const _0x36bd6d=_0x615206[_0x537724(0x2c3)][0x0][_0x537724(0x1f7)]['textRanges'];Array[_0x537724(0x1ec)](_0x36bd6d)&&_0x36bd6d[_0x537724(0x1f0)]&&_0x3592e4[_0x537724(0xfc)](_0x36bd6d,{'unitId':_0x5b419b,'subUnitId':_0x5b419b},!0x1);}};ae=un([it(0x0,_0x4e2b5a(_0x5eb6e0)),it(0x1,_0x259b8d)],ae);var dn=Object['getOwnPropertyDescriptor'],fn=(_0x1deab0,_0xb68711,_0x36ac48,_0x40cc96)=>{const _0x5e1849=_0x513d9e;for(var _0x2ce631=_0x40cc96>0x1?void 0x0:_0x40cc96?dn(_0xb68711,_0x36ac48):_0xb68711,_0xb78e9e=_0x1deab0[_0x5e1849(0x1f0)]-0x1,_0x22e618;_0xb78e9e>=0x0;_0xb78e9e--)(_0x22e618=_0x1deab0[_0xb78e9e])&&(_0x2ce631=_0x22e618(_0x2ce631)||_0x2ce631);return _0x2ce631;},M=(_0x24c973,_0xf4d068)=>(_0x46e5ed,_0x3c3080)=>_0xf4d068(_0x46e5ed,_0x3c3080,_0x24c973);let ce=class extends _0x4dc13d{constructor(_0x3d905d,_0x1b3337,_0x14064b,_0x3dcee7,_0x4f9e69,_0x4cce85,_0xa647f,_0x8a132e){const _0x3dd85d=_0x513d9e;super(),_(this,_0x3dd85d(0xf4),new _0x2f60b9(_0x1f0bee[_0x3dd85d(0x1d7)])),(this[_0x3dd85d(0x1ca)]=_0x3d905d,this[_0x3dd85d(0x158)]=_0x1b3337,this[_0x3dd85d(0x1d1)]=_0x14064b,this[_0x3dd85d(0x29a)]=_0x3dcee7,this['_docTransformSelectionsService']=_0x4f9e69,this[_0x3dd85d(0x1c4)]=_0x4cce85,this[_0x3dd85d(0x18f)]=_0xa647f,this[_0x3dd85d(0x1f4)]=_0x8a132e,this[_0x3dd85d(0x1d5)]());}[_0x513d9e(0x1d5)](){const _0x566aa1=_0x513d9e;this[_0x566aa1(0x1ab)](this[_0x566aa1(0x158)]['entityInit$'][_0x566aa1(0x2ac)](_0x4b1f97=>{const _0x1d06a7=_0x566aa1,_0xd72435=this['_docStateChangeManagerService'][_0x1d06a7(0x17c)][_0x1d06a7(0x2ac)](_0x15ec4e=>{const _0x5ec7f8=_0x1d06a7;if(_0x15ec4e==null)return;const {unitId:_0x54d575,redoState:_0x238e18,commandId:_0x3ff4f3}=_0x15ec4e;if(_0x54d575!==_0x4b1f97[_0x5ec7f8(0x19b)])return;const _0x1304da={'id':_0x3ff4f3,'type':_0x5e67eb[_0x5ec7f8(0x182)],'params':{'unitId':_0x54d575,'actions':_0x238e18[_0x5ec7f8(0x1ba)],'textRanges':null}};_0x4b1f97[_0x5ec7f8(0x124)](_0x1304da);});if(_0x4b1f97[_0x1d06a7(0x1ab)](_0xd72435),_0x4b1f97 instanceof _0x3085e3){const _0x40cf97={'onTransformIME':_0x40ecb4=>this['_docTransformIMECacheService'][_0x1d06a7(0x2c6)](_0x40ecb4),'onTransformState':_0x425b96=>this[_0x1d06a7(0x29a)]['transformStateCache'](_0x425b96),'onTransformSelections':_0x139af8=>this['_docTransformSelectionsService'][_0x1d06a7(0x10b)](_0x139af8),'onSyncEditingCollabCursor':_0x2fb23f=>this[_0x1d06a7(0x1c4)][_0x1d06a7(0x1ce)](_0x2fb23f),'onTransformRemoteChangesetByIMECache':_0x19a763=>this['_docTransformIMECacheService'][_0x1d06a7(0x184)](_0x19a763),'onTransformRemoteChangesetByStateCache':_0x3e9fc5=>this[_0x1d06a7(0x29a)]['transformRemoteChangeset'](_0x3e9fc5)};_0x4b1f97['addHandlerCallback'](_0x40cf97);}}));}};ce=fn([M(0x0,_0x4e2b5a(_0x55395b)),M(0x1,_0x4e2b5a(_0x44a7ae)),M(0x2,_0x4e2b5a(re)),M(0x3,_0x4e2b5a(oe)),M(0x4,_0x4e2b5a(ae)),M(0x5,_0x4e2b5a(je)),M(0x6,_0x40ced4),M(0x7,_0x4e2b5a(_0x55f656))],ce);var Sn=Object[_0x513d9e(0x2c4)],mn=(_0xe29f75,_0xc60797,_0x7ddbc1,_0x4395a4)=>{for(var _0xa266ab=_0x4395a4>0x1?void 0x0:_0x4395a4?Sn(_0xc60797,_0x7ddbc1):_0xc60797,_0x297651=_0xe29f75['length']-0x1,_0x5ba36c;_0x297651>=0x0;_0x297651--)(_0x5ba36c=_0xe29f75[_0x297651])&&(_0xa266ab=_0x5ba36c(_0xa266ab)||_0xa266ab);return _0xa266ab;},be=(_0x2e660d,_0x4b4431)=>(_0x244a9f,_0x39d1f0)=>_0x4b4431(_0x244a9f,_0x39d1f0,_0x2e660d);let Ae=class extends _0x4dc13d{constructor(_0x46d2c0,_0x58c4d2,_0x48810d){const _0x47651d=_0x513d9e;super(),_(this,_0x47651d(0x1d4),new Map()),_(this,_0x47651d(0x1eb),new Map()),_(this,_0x47651d(0x131),!0x1),(this[_0x47651d(0x1e9)]=_0x46d2c0,this[_0x47651d(0x1be)]=_0x58c4d2,this[_0x47651d(0x22d)]=_0x48810d);}[_0x513d9e(0x14e)](){const _0x4f4a62=_0x513d9e;this[_0x4f4a62(0x131)]=!0x0;}[_0x513d9e(0x2d7)](){const _0x846c6=_0x513d9e;this[_0x846c6(0x131)]=!0x1;}get[_0x513d9e(0x1cb)](){const _0x318a6a=_0x513d9e;return this[_0x318a6a(0x1eb)];}[_0x513d9e(0x19f)](){const _0x964730=_0x513d9e;this[_0x964730(0x110)]()[_0x964730(0x2d1)](()=>super[_0x964730(0x19f)]());}async[_0x513d9e(0x238)](_0x2d8fac){const _0xa6edca=_0x513d9e;return this[_0xa6edca(0x131)]?null:this['_localStorageService'][_0xa6edca(0x135)](_0x1469d3(_0x2d8fac));}async['saveOfflineData'](_0x440d7c,_0x4a6925){const _0x5843e4=_0x513d9e;return!!this[_0x5843e4(0x1be)][_0x5843e4(0x1e4)](_0x440d7c,_0x4a6925);}['updateOfflineData'](_0x33633e,_0x13a747,_0x5ecc53,_0xf29cde){const _0x325c71=_0x513d9e,_0x2e07ca=this[_0x325c71(0x22d)][_0x325c71(0x129)](_0x33633e);this['_cachedData'][_0x325c71(0x287)](_0x33633e,{'unitID':_0x33633e,'type':_0x13a747,'awaitingChangeset':_0x5ecc53,'mutations':_0xf29cde,'rev':_0x2e07ca}),this[_0x325c71(0x1eb)][_0x325c71(0x128)](_0x33633e)||this['_scheduleSaving'](_0x33633e);}[_0x513d9e(0x12b)](_0x549e73){const _0x1594d3=_0x513d9e,_0x329341=this[_0x1594d3(0xf3)]();_0x329341===0x0?this['_saveCache'](_0x549e73):this[_0x1594d3(0x1eb)]['set'](_0x549e73,setTimeout(()=>this[_0x1594d3(0x122)](_0x549e73),_0x329341));}['_getSaveTimeout'](){const _0x17a04e=_0x513d9e;var _0x4fb58d;return(_0x4fb58d=this[_0x17a04e(0x1e9)][_0x17a04e(0x24d)](_0x3f60fe))!=null?_0x4fb58d:_0x30e09d;}[_0x513d9e(0x122)](_0x3304ee){const _0x3b5612=_0x513d9e,_0x161c24=this[_0x3b5612(0x1eb)]['get'](_0x3304ee);return _0x161c24!==void 0x0&&window[_0x3b5612(0x2e9)](_0x161c24),this['_localStorageService'][_0x3b5612(0x1e4)](_0x1469d3(_0x3304ee),this[_0x3b5612(0x1d4)][_0x3b5612(0x1a4)](_0x3304ee))[_0x3b5612(0x2d1)](()=>this[_0x3b5612(0x1eb)][_0x3b5612(0x159)](_0x3304ee));}async[_0x513d9e(0x110)](){const _0x167971=_0x513d9e,_0x5e83de=[];this[_0x167971(0x1eb)][_0x167971(0x201)]((_0x5f21e6,_0x221e67)=>{const _0x305f39=_0x167971;window[_0x305f39(0x2e9)](_0x5f21e6),_0x5e83de['push'](this[_0x305f39(0x122)](_0x221e67)[_0x305f39(0x2d1)](()=>{const _0x5c669f=_0x305f39;this[_0x5c669f(0x1eb)]['delete'](_0x221e67);}));}),await Promise['all'](_0x5e83de);}};Ae=mn([be(0x0,_0x4718d4),be(0x1,_0x30992d),be(0x2,_0x4e2b5a(_0x983c6e))],Ae);class gn extends _0x2e496d{constructor(){const _0x20866d=_0x513d9e;super(),_(this,'urlChange$'),this[_0x20866d(0x248)]=_0xfbfcc7(window,_0x20866d(0x1d8))[_0x20866d(0x230)](_0x2522f4(this[_0x20866d(0x107)]),_0x2468a5(0x1),_0x389fda(void 0x0));}[_0x513d9e(0x277)](_0x14b9e7,_0x1534cc,_0x337ee3=!0x1){const _0x255add=_0x513d9e,_0x2fff6d=new URL(window[_0x255add(0x1ee)][_0x255add(0x235)]);_0x2fff6d['searchParams']['set'](_0x14b9e7,_0x1534cc),_0x337ee3?window['history'][_0x255add(0x226)]('','',_0x2fff6d[_0x255add(0x153)]()):window[_0x255add(0x244)][_0x255add(0x14c)]('','',_0x2fff6d[_0x255add(0x153)]());}[_0x513d9e(0x29b)](_0xbd544b,_0x283ef9=!0x1){const _0x35a9b0=_0x513d9e,_0xd4c446=new URL(window['location'][_0x35a9b0(0x235)]);_0xd4c446[_0x35a9b0(0x2b9)][_0x35a9b0(0x159)](_0xbd544b),_0x283ef9?window['history']['replaceState']('','',_0xd4c446['toString']()):window[_0x35a9b0(0x244)][_0x35a9b0(0x14c)]('','',_0xd4c446[_0x35a9b0(0x153)]());}[_0x513d9e(0x285)](_0x240ef2){const _0x2db751=_0x513d9e;var _0x35e879;return(_0x35e879=new URL(window['location']['href'])[_0x2db751(0x2b9)]['get'](_0x240ef2))!=null?_0x35e879:void 0x0;}}var vn=Object[_0x513d9e(0x1a2)],In=Object[_0x513d9e(0x2c4)],pn=(_0x24f12a,_0x1ce8c0,_0x4e60c4)=>_0x1ce8c0 in _0x24f12a?vn(_0x24f12a,_0x1ce8c0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4e60c4}):_0x24f12a[_0x1ce8c0]=_0x4e60c4,Cn=(_0x5820eb,_0x511878,_0x4a8b9b,_0x19ab8c)=>{const _0x1956d6=_0x513d9e;for(var _0x39508c=_0x19ab8c>0x1?void 0x0:_0x19ab8c?In(_0x511878,_0x4a8b9b):_0x511878,_0x3f7db6=_0x5820eb[_0x1956d6(0x1f0)]-0x1,_0x139c75;_0x3f7db6>=0x0;_0x3f7db6--)(_0x139c75=_0x5820eb[_0x3f7db6])&&(_0x39508c=_0x139c75(_0x39508c)||_0x39508c);return _0x39508c;},Oe=(_0x1e6cca,_0x34499f)=>(_0x41d649,_0xd630be)=>_0x34499f(_0x41d649,_0xd630be,_0x1e6cca),En=(_0x43ffea,_0x5928b9,_0x48698b)=>pn(_0x43ffea,_0x5928b9+'',_0x48698b);const bn='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let ye=class extends _0x49b229{constructor(_0x67bf3a=st,_0x210f81,_0x213ead,_0x3e985f){const _0x21f524=_0x513d9e;super(),this[_0x21f524(0x274)]=_0x67bf3a,this['_renderManagerService']=_0x210f81,this[_0x21f524(0x202)]=_0x213ead,this['_configService']=_0x3e985f;const {..._0x209ec7}=_0x2498c3({},st,this[_0x21f524(0x274)]);this[_0x21f524(0x1e9)]['setConfig'](nn,_0x209ec7);}['onStarting'](){this['_registerDependencies'](),this['_initDependencies']();}['onRendered'](){const _0x7ac726=_0x513d9e;this[_0x7ac726(0x15c)]();}['_registerDependencies'](){const _0x148933=_0x513d9e;var _0x21e06d;const _0x2cea36=[[He],[ae],[re],[oe],[je],[wt,{'useClass':gn}],[_0x52e1b8,{'useClass':_0x4166f2}],[_0x29a577,{'useClass':Ae}],[se],[ce],[ie],[H],[Me],[ne]];_0x3fbeef(this[_0x148933(0x202)],_0x50ab32(_0x2cea36,(_0x21e06d=this[_0x148933(0x274)])==null?void 0x0:_0x21e06d['override']));}[_0x513d9e(0x15c)](){const _0x482520=_0x513d9e;this['disposeWithMe'](this[_0x482520(0x148)][_0x482520(0x2a4)](_0x33f165[_0x482520(0x240)],[Ue])),this[_0x482520(0x1ab)](this[_0x482520(0x148)][_0x482520(0x2a4)](_0x33f165[_0x482520(0x29d)],[Le]));}['_initDependencies'](){const _0x2cd7da=_0x513d9e;_0x5b4f50(this[_0x2cd7da(0x202)],[[H],[se],[ce],[ie],[ne]]);}};En(ye,_0x513d9e(0x1df),bn),ye=Cn([_0x10073b(_0x5699ed),Oe(0x1,_0x1eedb5),Oe(0x2,_0x4e2b5a(_0x5eb6e0)),Oe(0x3,_0x4718d4)],ye);var On=Object[_0x513d9e(0x2c4)],Tn=(_0x1eb569,_0x2c3b95,_0x131eda,_0x579cc1)=>{const _0x103121=_0x513d9e;for(var _0x5187fc=_0x579cc1>0x1?void 0x0:_0x579cc1?On(_0x2c3b95,_0x131eda):_0x2c3b95,_0x3e73e6=_0x1eb569[_0x103121(0x1f0)]-0x1,_0x7201f0;_0x3e73e6>=0x0;_0x3e73e6--)(_0x7201f0=_0x1eb569[_0x3e73e6])&&(_0x5187fc=_0x7201f0(_0x5187fc)||_0x5187fc);return _0x5187fc;},z=(_0xb267e4,_0x42d106)=>(_0x1f3ef0,_0x28ac3c)=>_0x42d106(_0x1f3ef0,_0x28ac3c,_0xb267e4);let nt=class extends _0x3ef059{constructor(_0xb70a39,_0x4d44d7,_0x2f1390,_0x213e6e,_0x4755b3){super(_0xb70a39,_0x4d44d7,_0x2f1390,_0x213e6e,_0x4755b3);}async[_0x513d9e(0x1aa)](_0xa5b2ee){const _0x5a3957=_0x513d9e,_0x49d349=await this['_getSessionTicket'](),_0x1c351f=this[_0x5a3957(0x2b6)](_0xa5b2ee,_0x49d349);return this[_0x5a3957(0x267)](_0x1c351f);}[_0x513d9e(0x2b6)](_0x4bd8b2,_0x47d993){const _0x5644b0=_0x513d9e,_0x593fb2=typeof window>'u'?new URL(_0x4bd8b2):new URL(_0x4bd8b2,window[_0x5644b0(0x1ee)][_0x5644b0(0x192)]);_0x593fb2[_0x5644b0(0x2b9)]['set'](_0x5644b0(0x2c9),_0x47d993);const _0x335d61=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5644b0(0x1ee)][_0x5644b0(0x143)]);return _0x335d61[_0x5644b0(0x1a4)](_0x5644b0(0x23f))&&_0x593fb2[_0x5644b0(0x2b9)][_0x5644b0(0x287)](_0x5644b0(0x23f),_0x335d61['get'](_0x5644b0(0x23f))),_0x593fb2[_0x5644b0(0x153)]();}async[_0x513d9e(0x11b)](){const _0x5137ed=_0x513d9e;var _0x414c71,_0x330506,_0x3549c1;const _0x381cc5=this[_0x5137ed(0x1e9)][_0x5137ed(0x24d)](_0xa077a1),_0x52439c=(_0x414c71=_0x381cc5==null?void 0x0:_0x381cc5[_0x5137ed(0x1dd)])!=null?_0x414c71:_0x4443a5;return(_0x3549c1=(_0x330506=(await this[_0x5137ed(0x1af)][_0x5137ed(0x1a4)](_0x52439c,{'headers':{'Content-Type':_0x5137ed(0xee)}}))[_0x5137ed(0x21f)])==null?void 0x0:_0x330506[_0x5137ed(0x203)])!=null?_0x3549c1:'';}};nt=Tn([z(0x0,_0x4e2b5a(_0x5eb6e0)),z(0x1,_0x4e2b5a(_0x4d9384)),z(0x2,_0x4718d4),z(0x3,_0x39d4b2),z(0x4,_0x31a2a6)],nt);const rt=0x7530,ot='ACTIVE_UNIT_EVENT_CHANNEL';class Gn extends _0x4dc13d{constructor(){const _0x34eebc=_0x513d9e;super(),_(this,_0x34eebc(0x250),_0x6dfb36()),_(this,_0x34eebc(0x2b3),new Set()),_(this,_0x34eebc(0x1c8),new Map()),_(this,_0x34eebc(0x22c),null),_(this,_0x34eebc(0x2cf),new Map()),_(this,_0x34eebc(0x151),new Map()),this[_0x34eebc(0x119)]();}[_0x513d9e(0x19f)](){const _0xb237d7=_0x513d9e;super[_0xb237d7(0x19f)](),this[_0xb237d7(0x2cf)][_0xb237d7(0x201)]((_0x2b3f9b,_0x14ee4b)=>this[_0xb237d7(0x1b7)](_0x14ee4b)),this[_0xb237d7(0x22c)]&&window[_0xb237d7(0x205)](this[_0xb237d7(0x22c)]);}[_0x513d9e(0x15d)](_0x4836b0){const _0x3e54f5=_0x513d9e;return this[_0x3e54f5(0x2e0)](_0x4836b0)[_0x3e54f5(0x230)](_0x5ac49d());}[_0x513d9e(0xf9)](_0x3c54c6){const _0x2e4df7=_0x513d9e;this[_0x2e4df7(0x2b3)][_0x2e4df7(0x11c)]===0x0&&this[_0x2e4df7(0x168)](),this[_0x2e4df7(0x2b3)]['add'](_0x3c54c6),this[_0x2e4df7(0x1f9)]({'type':0x0,'memberID':this[_0x2e4df7(0x250)],'unitIDs':[_0x3c54c6],'isForwarded':!0x1});}[_0x513d9e(0x1bc)](_0x3a30f7){const _0x27e9ea=_0x513d9e;this['_selfUnitIDs'][_0x27e9ea(0x159)](_0x3a30f7),this[_0x27e9ea(0x2b3)][_0x27e9ea(0x11c)]===0x0&&this[_0x27e9ea(0x22c)]&&window[_0x27e9ea(0x205)](this['_heartbeatTimer']);}[_0x513d9e(0x119)](){const _0x139d18=_0x513d9e;this[_0x139d18(0x1ab)](_0x157122(_0xfbfcc7(window,_0x139d18(0x2c8))[_0x139d18(0x2ac)](_0x1755d0=>{const _0x5ab7d4=_0x139d18;if(_0x1755d0[_0x5ab7d4(0x1fe)]!==ot||!_0x1755d0[_0x5ab7d4(0x189)])return;const _0xed4183=JSON[_0x5ab7d4(0x26d)](_0x1755d0['newValue']);this[_0x5ab7d4(0x215)](_0xed4183);}))),window[_0x139d18(0x258)](_0x139d18(0x105),()=>this[_0x139d18(0x1f9)]({'type':0x1,'memberID':this[_0x139d18(0x250)],'unitIDs':Array[_0x139d18(0x1d6)](this[_0x139d18(0x2b3)])}));}['_handleEvent'](_0x511502){const _0x1612a8=_0x513d9e;switch(_0x511502[_0x1612a8(0x2b2)]){case 0x0:this[_0x1612a8(0xf0)](_0x511502);break;case 0x1:this[_0x1612a8(0x117)](_0x511502);break;case 0x2:this[_0x1612a8(0x1b2)](_0x511502);break;}}[_0x513d9e(0xf0)](_0x44dcd3){const _0x55a8da=_0x513d9e,{unitIDs:_0x264bda,memberID:_0x11130d,isForwarded:_0x269954}=_0x44dcd3;_0x264bda[_0x55a8da(0x201)](_0x1ddedb=>{const _0x432c4a=_0x55a8da;if(!_0x269954&&this[_0x432c4a(0x1c8)][_0x432c4a(0x128)](_0x1ddedb)&&this['_ensureSubject'](_0x1ddedb)[_0x432c4a(0x20f)](_0x5acfba[_0x432c4a(0x2b1)]),!this[_0x432c4a(0x1c8)][_0x432c4a(0x128)](_0x1ddedb)||!this[_0x432c4a(0x1c8)][_0x432c4a(0x1a4)](_0x1ddedb)[_0x432c4a(0x128)](_0x11130d)){const _0x42c5f9=this[_0x432c4a(0x1c8)][_0x432c4a(0x1a4)](_0x1ddedb)||new Set();_0x42c5f9[_0x432c4a(0x249)](_0x11130d),this['_unitOnClients']['set'](_0x1ddedb,_0x42c5f9),this[_0x432c4a(0x20d)](_0x11130d);}}),_0x269954||this['_send']({'type':0x0,'memberID':this[_0x55a8da(0x250)],'unitIDs':[...this[_0x55a8da(0x2b3)]],'isForwarded':!0x0});}[_0x513d9e(0x20d)](_0x56c33b){const _0x115c83=_0x513d9e;this[_0x115c83(0x1b7)](_0x56c33b);const _0xdbc469=window[_0x115c83(0x1c3)](()=>{const _0x1ccd27=_0x115c83;this['_unitOnClients'][_0x1ccd27(0x201)](_0x5f5bb8=>{const _0x2789ff=_0x1ccd27;_0x5f5bb8[_0x2789ff(0x159)](_0x56c33b);});},rt*0x2);this['_clearOtherTimers']['set'](_0x56c33b,_0xdbc469);}[_0x513d9e(0x1b7)](_0x179bb8){const _0x340415=_0x513d9e;if(this['_clearOtherTimers'][_0x340415(0x128)](_0x179bb8)){const _0x598625=this[_0x340415(0x2cf)][_0x340415(0x1a4)](_0x179bb8);_0x598625&&window[_0x340415(0x2e9)](_0x598625),this[_0x340415(0x2cf)][_0x340415(0x287)](_0x179bb8,null);}}[_0x513d9e(0x117)](_0x2629b8){const _0x545a01=_0x513d9e,{memberID:_0x5304b8,unitIDs:_0x3166ff}=_0x2629b8;_0x3166ff[_0x545a01(0x201)](_0x26c3b9=>{const _0x528471=_0x545a01;var _0x40fbe5;const _0x4b06ea=this[_0x528471(0x1c8)][_0x528471(0x1a4)](_0x26c3b9);_0x4b06ea&&(_0x4b06ea[_0x528471(0x159)](_0x5304b8),(_0x40fbe5=this['_ensureSubject'](_0x26c3b9))==null||_0x40fbe5[_0x528471(0x20f)](_0x4b06ea[_0x528471(0x11c)]===0x0?_0x5acfba[_0x528471(0x12e)]:_0x5acfba[_0x528471(0x2b1)]));}),this['_removeClearOtherTimer'](_0x5304b8);}[_0x513d9e(0x1b2)](_0x5eb403){const _0x672db8=_0x513d9e;this['_scheduleClearOtherTimer'](_0x5eb403[_0x672db8(0x1a8)]);}[_0x513d9e(0x1f9)](_0x5c8ec0){const _0x2ecf99=_0x513d9e;localStorage[_0x2ecf99(0x1e4)](ot,JSON[_0x2ecf99(0x27b)](_0x5c8ec0));}[_0x513d9e(0x168)](){const _0x47feaa=_0x513d9e;this['_heartbeatTimer']=window[_0x47feaa(0x111)](()=>{const _0x37d926=_0x47feaa;this[_0x37d926(0x1f9)]({'type':0x2,'memberID':this[_0x37d926(0x250)]});},rt);}[_0x513d9e(0x2e0)](_0x3e121a){const _0x493f03=_0x513d9e;return this[_0x493f03(0x151)]['has'](_0x3e121a)||this[_0x493f03(0x151)][_0x493f03(0x287)](_0x3e121a,new _0x2f60b9(_0x5acfba['NO_OTHER_CLIENTS_EDITING'])),this[_0x493f03(0x151)][_0x493f03(0x1a4)](_0x3e121a);}}var Ut=(_0x50e8b2=>(_0x50e8b2[_0x50e8b2['UNDEFINED']=0x0]='UNDEFINED',_0x50e8b2[_0x50e8b2['OK']=0x1]='OK',_0x50e8b2[_0x50e8b2[_0x513d9e(0x24f)]=0x2]='INTERNAL_ERROR',_0x50e8b2[_0x50e8b2[_0x513d9e(0x245)]=0x3]=_0x513d9e(0x245),_0x50e8b2[_0x50e8b2[_0x513d9e(0x1da)]=0x4]=_0x513d9e(0x1da),_0x50e8b2[_0x50e8b2[_0x513d9e(0x100)]=0x5]='UNAUTHENTICATED',_0x50e8b2[_0x50e8b2[_0x513d9e(0x2d9)]=0x6]=_0x513d9e(0x2d9),_0x50e8b2[_0x50e8b2[_0x513d9e(0x162)]=0x7]=_0x513d9e(0x162),_0x50e8b2[_0x50e8b2[_0x513d9e(0x2dd)]=0x8]=_0x513d9e(0x2dd),_0x50e8b2[_0x50e8b2[_0x513d9e(0x1e2)]=0x9]='COMPLETION_FINISHED',_0x50e8b2[_0x50e8b2[_0x513d9e(0x120)]=0xa]=_0x513d9e(0x120),_0x50e8b2[_0x50e8b2['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x50e8b2[_0x50e8b2[_0x513d9e(0x10a)]=0x1771]=_0x513d9e(0x10a),_0x50e8b2[_0x50e8b2[_0x513d9e(0x141)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x50e8b2[_0x50e8b2[_0x513d9e(0x16d)]=0x1773]=_0x513d9e(0x16d),_0x50e8b2[_0x50e8b2[_0x513d9e(0x1fa)]=0x1b59]=_0x513d9e(0x1fa),_0x50e8b2[_0x50e8b2[_0x513d9e(0x12a)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x50e8b2[_0x50e8b2[_0x513d9e(0x17f)]=0x1b5b]=_0x513d9e(0x17f),_0x50e8b2[_0x50e8b2['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x513d9e(0x139),_0x50e8b2[_0x50e8b2[_0x513d9e(0x1d0)]=0x1b5d]=_0x513d9e(0x1d0),_0x50e8b2[_0x50e8b2[_0x513d9e(0x296)]=0x1f41]=_0x513d9e(0x296),_0x50e8b2[_0x50e8b2[_0x513d9e(0x276)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x50e8b2[_0x50e8b2['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x513d9e(0x1d2),_0x50e8b2[_0x50e8b2[_0x513d9e(0x1cc)]=0x232b]=_0x513d9e(0x1cc),_0x50e8b2[_0x50e8b2[_0x513d9e(0x2d6)]=0x232c]=_0x513d9e(0x2d6),_0x50e8b2[_0x50e8b2['LICENSE_DISTRO_REJECTED']=0x232d]=_0x513d9e(0x152),_0x50e8b2[_0x50e8b2[_0x513d9e(0x1a3)]=0x2711]=_0x513d9e(0x1a3),_0x50e8b2[_0x50e8b2[_0x513d9e(0xf7)]=0x2712]=_0x513d9e(0xf7),_0x50e8b2[_0x50e8b2[_0x513d9e(0x1a7)]=0x2713]=_0x513d9e(0x1a7),_0x50e8b2[_0x50e8b2[_0x513d9e(0x118)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x50e8b2[_0x50e8b2[_0x513d9e(0x279)]=0x2af9]=_0x513d9e(0x279),_0x50e8b2[_0x50e8b2['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x513d9e(0x160),_0x50e8b2[_0x50e8b2['INVALID_INVITE_CODE']=0x2ee2]=_0x513d9e(0x25c),_0x50e8b2[_0x50e8b2[_0x513d9e(0x2bd)]=0x2ee3]=_0x513d9e(0x2bd),_0x50e8b2[_0x50e8b2[_0x513d9e(0x2a5)]=0x2ee4]=_0x513d9e(0x2a5),_0x50e8b2[_0x50e8b2[_0x513d9e(0x211)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x50e8b2[_0x50e8b2[_0x513d9e(0x24c)]=0x32c9]=_0x513d9e(0x24c),_0x50e8b2[_0x50e8b2[_0x513d9e(0x134)]=0x32ca]=_0x513d9e(0x134),_0x50e8b2[_0x50e8b2[_0x513d9e(0x28d)]=0x32cb]=_0x513d9e(0x28d),_0x50e8b2[_0x50e8b2['UNRECOGNIZED']=-0x1]=_0x513d9e(0x171),_0x50e8b2))(Ut||{}),Rn=Object[_0x513d9e(0x2c4)],Dn=(_0x1421e2,_0x5b9df8,_0x1f5bad,_0x56c981)=>{const _0x89d250=_0x513d9e;for(var _0x49115e=_0x56c981>0x1?void 0x0:_0x56c981?Rn(_0x5b9df8,_0x1f5bad):_0x5b9df8,_0x34ea85=_0x1421e2[_0x89d250(0x1f0)]-0x1,_0x47e040;_0x34ea85>=0x0;_0x34ea85--)(_0x47e040=_0x1421e2[_0x34ea85])&&(_0x49115e=_0x47e040(_0x49115e)||_0x49115e);return _0x49115e;},Te=(_0x5e1d1e,_0x24a5bb)=>(_0x1f531e,_0x346d15)=>_0x24a5bb(_0x1f531e,_0x346d15,_0x5e1d1e);let at=class extends _0x4dc13d{constructor(_0x116a5c,_0x592868,_0x342d3a){const _0x49308c=_0x513d9e;super(),this['_instanceService']=_0x116a5c,this[_0x49308c(0x1af)]=_0x592868,this[_0x49308c(0x1e9)]=_0x342d3a;}async[_0x513d9e(0x10c)](_0x2ff6b3,_0x5b649a,_0x4fc2cf,..._0x4e3e27){const _0x5df909=_0x513d9e;var _0x10e9cd,_0x61978a,_0x355f43,_0x45a3b2;const _0x4359ac=this[_0x5df909(0x2de)]['getFocusedUnit']();if(!_0x4359ac)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x456859=((_0x10e9cd=this[_0x5df909(0x1e9)][_0x5df909(0x24d)](_0x5c942b))!=null?_0x10e9cd:_0x1de839)+'/'+_0x2ff6b3+_0x5df909(0x231)+_0x5b649a,_0x48a31e=new URL(window['location']['href']),_0x46aabd={'scriptId':_0x2ff6b3,'runId':(_0x61978a=_0x48a31e[_0x5df909(0x2b9)][_0x5df909(0x1a4)](_0x5df909(0x23f)))!=null?_0x61978a:'','function':_0x5b649a,'unitId':_0x4359ac[_0x5df909(0x26a)](),'argsOfFunction':JSON[_0x5df909(0x27b)](_0x4e3e27),'invokeId':(_0x355f43=_0x4fc2cf['invokeId'])!=null?_0x355f43:'','executionId':(_0x45a3b2=_0x4fc2cf[_0x5df909(0x200)])!=null?_0x45a3b2:''};try{const _0x41626c=await this[_0x5df909(0x1af)]['post'](_0x456859,{'body':_0x46aabd});return _0x41626c[_0x5df909(0x21f)]['error']&&_0x41626c['body'][_0x5df909(0x2b7)][_0x5df909(0x170)]!==Ut['OK']?'Failed':_0x41626c[_0x5df909(0x21f)][_0x5df909(0x1f6)];}catch{return _0x5df909(0x23b);}}};at=Dn([Te(0x0,_0x2e22e9),Te(0x1,_0x4e2b5a(_0x4d9384)),Te(0x2,_0x4718d4)],at);export{nt as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Zi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,wt as IURLService,at as RemoteUniscriptService,Ai as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Gn as WebBrowserSingleActiveUnitService,gn as WebURLService};
@@ -1 +1 @@
1
- const _0x54ee13=_0x5b79;(function(_0x240769,_0x41c812){const _0x5374e8=_0x5b79,_0xa91319=_0x240769();while(!![]){try{const _0x1c3c84=-parseInt(_0x5374e8(0x1b2))/0x1+-parseInt(_0x5374e8(0x1ab))/0x2*(parseInt(_0x5374e8(0x1b8))/0x3)+parseInt(_0x5374e8(0x1aa))/0x4+-parseInt(_0x5374e8(0x1ad))/0x5*(-parseInt(_0x5374e8(0x1ba))/0x6)+parseInt(_0x5374e8(0x1a7))/0x7+parseInt(_0x5374e8(0x1b0))/0x8*(-parseInt(_0x5374e8(0x1bc))/0x9)+parseInt(_0x5374e8(0x1b5))/0xa;if(_0x1c3c84===_0x41c812)break;else _0xa91319['push'](_0xa91319['shift']());}catch(_0xfdf1a6){_0xa91319['push'](_0xa91319['shift']());}}}(_0x198b,0x40b7b));const e={'collab-client':{'tooltip':{'reconnect':_0x54ee13(0x1bd)}},'collabStatus':{'fetchMiss':_0x54ee13(0x1a9),'conflict':'Edit\x20conflicts','notCollab':_0x54ee13(0x1b4),'synced':_0x54ee13(0x1b6),'syncing':_0x54ee13(0x1b7),'offline':_0x54ee13(0x1af)},'session':{'connection-failed':_0x54ee13(0x1a8),'will-retry':_0x54ee13(0x1b3),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x54ee13(0x1be)},'conflict':{'title':_0x54ee13(0x1ae),'content':_0x54ee13(0x1ac)},'permission':{'title':_0x54ee13(0x1bb),'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':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x54ee13(0x1b1)},'auth':{'needGotoLoginAlert':_0x54ee13(0x1b9)}};function _0x198b(){const _0x4400c9=['97370PULBpE','Connection\x20failed,\x20please\x20check\x20your\x20network.','Syncing\x20server\x20data...','961736XSBblG','3214ZfAwSK','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.','755rZRUoX','Collaboration\x20Conflict','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','16trLYQw','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','473382BKbijH','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Local\x20file','8022630GSicVq','Synced','Syncing...','183wuemXN','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','3270vOtyzN','Authentication\x20Error','1360845RyKXfo','Click\x20to\x20Reconnect','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'];_0x198b=function(){return _0x4400c9;};return _0x198b();}function _0x5b79(_0x262495,_0x3a975c){const _0x198b66=_0x198b();return _0x5b79=function(_0x5b7935,_0x3da2a1){_0x5b7935=_0x5b7935-0x1a7;let _0x36f4ee=_0x198b66[_0x5b7935];return _0x36f4ee;},_0x5b79(_0x262495,_0x3a975c);}export{e as default};
1
+ const _0x3f850f=_0x57b8;function _0x1fc1(){const _0x1b65bd=['Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','5592EzsukN','5374572oYUIMx','Click\x20to\x20Reconnect','24TTznxY','2oMMguD','1195758PBskEu','Collaboration\x20Conflict','Syncing...','2707292MLsAVf','20284QjbLLG','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','1535ebsWqV','4URBJKv','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.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','1121286dctOLy','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Synced','800CUyEcW','Authentication\x20Error','Syncing\x20server\x20data...','3262MWJRhi','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'];_0x1fc1=function(){return _0x1b65bd;};return _0x1fc1();}function _0x57b8(_0x347eab,_0x2a433b){const _0x1fc1ad=_0x1fc1();return _0x57b8=function(_0x57b859,_0x67884e){_0x57b859=_0x57b859-0x157;let _0x2df82a=_0x1fc1ad[_0x57b859];return _0x2df82a;},_0x57b8(_0x347eab,_0x2a433b);}(function(_0xf52829,_0x3dae95){const _0x53d133=_0x57b8,_0x2fdca0=_0xf52829();while(!![]){try{const _0x8bc5fc=-parseInt(_0x53d133(0x16c))/0x1*(-parseInt(_0x53d133(0x165))/0x2)+parseInt(_0x53d133(0x15f))/0x3*(-parseInt(_0x53d133(0x15c))/0x4)+-parseInt(_0x53d133(0x15b))/0x5*(-parseInt(_0x53d133(0x168))/0x6)+-parseInt(_0x53d133(0x158))/0x7+parseInt(_0x53d133(0x16b))/0x8*(parseInt(_0x53d133(0x16d))/0x9)+-parseInt(_0x53d133(0x162))/0xa*(parseInt(_0x53d133(0x159))/0xb)+parseInt(_0x53d133(0x169))/0xc;if(_0x8bc5fc===_0x3dae95)break;else _0x2fdca0['push'](_0x2fdca0['shift']());}catch(_0x15aa1f){_0x2fdca0['push'](_0x2fdca0['shift']());}}}(_0x1fc1,0x379e7));const e={'collab-client':{'tooltip':{'reconnect':_0x3f850f(0x16a)}},'collabStatus':{'fetchMiss':_0x3f850f(0x164),'conflict':'Edit\x20conflicts','notCollab':'Local\x20file','synced':_0x3f850f(0x161),'syncing':_0x3f850f(0x157),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x3f850f(0x15a)},'conflict':{'title':_0x3f850f(0x16e),'content':_0x3f850f(0x15d)},'permission':{'title':_0x3f850f(0x163),'content':_0x3f850f(0x160)},'collaboration':{'single-unit':{'warning':_0x3f850f(0x15e)},'closeRoom':_0x3f850f(0x167)},'auth':{'needGotoLoginAlert':_0x3f850f(0x166)}};export{e as default};
@@ -1 +1 @@
1
- function _0x3bfb(_0x2a3b25,_0xcbd92c){const _0x392503=_0x3925();return _0x3bfb=function(_0x3bfb8a,_0x3cdcdc){_0x3bfb8a=_0x3bfb8a-0x1e4;let _0x55461f=_0x392503[_0x3bfb8a];return _0x55461f;},_0x3bfb(_0x2a3b25,_0xcbd92c);}const _0x11c0da=_0x3bfb;function _0x3925(){const _0x33f1ab=['235ofzGRx','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','2346520hAppAt','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','همگام\x20سازی','در\x20حال\x20همگام\x20سازی...','3141TxVHWw','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','خطای\x20اعتبارسنجی','31590vgnlst','20eRKHif','تداخل\x20ویرایش','560610AIyrxl','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','2955610UTyOkg','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','2153034ExgKAC','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','33720ttFzeb','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.'];_0x3925=function(){return _0x33f1ab;};return _0x3925();}(function(_0x4a8f0a,_0x4f9482){const _0x12ae3a=_0x3bfb,_0xdff59c=_0x4a8f0a();while(!![]){try{const _0x26c228=-parseInt(_0x12ae3a(0x1e9))/0x1*(parseInt(_0x12ae3a(0x1ed))/0x2)+-parseInt(_0x12ae3a(0x1f4))/0x3+parseInt(_0x12ae3a(0x1e4))/0x4+-parseInt(_0x12ae3a(0x1f9))/0x5*(-parseInt(_0x12ae3a(0x1ec))/0x6)+parseInt(_0x12ae3a(0x1f1))/0x7+-parseInt(_0x12ae3a(0x1f6))/0x8+-parseInt(_0x12ae3a(0x1ef))/0x9;if(_0x26c228===_0x4f9482)break;else _0xdff59c['push'](_0xdff59c['shift']());}catch(_0xc2f97d){_0xdff59c['push'](_0xdff59c['shift']());}}}(_0x3925,0x6b992));const o={'collab-client':{'tooltip':{'reconnect':_0x11c0da(0x1e5)}},'collabStatus':{'fetchMiss':'در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','conflict':_0x11c0da(0x1ee),'notCollab':'پرونده\x20محلی','synced':_0x11c0da(0x1e7),'syncing':_0x11c0da(0x1e8),'offline':_0x11c0da(0x1e6)},'session':{'connection-failed':_0x11c0da(0x1ea),'will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','room-full':_0x11c0da(0x1f7),'collaboration-timeout':_0x11c0da(0x1f5)},'conflict':{'title':'تداخل\x20همکاری','content':_0x11c0da(0x1fa)},'permission':{'title':_0x11c0da(0x1eb),'content':_0x11c0da(0x1f0)},'collaboration':{'single-unit':{'warning':_0x11c0da(0x1f2)},'closeRoom':_0x11c0da(0x1f8)},'auth':{'needGotoLoginAlert':_0x11c0da(0x1f3)}};export{o as default};
1
+ function _0x8911(_0x2a1b04,_0xff59e4){const _0x109e55=_0x109e();return _0x8911=function(_0x89115e,_0x14f786){_0x89115e=_0x89115e-0x1ca;let _0x5416a7=_0x109e55[_0x89115e];return _0x5416a7;},_0x8911(_0x2a1b04,_0xff59e4);}function _0x109e(){const _0x5c0f3d=['1638420VbupVC','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','2939352iuskPH','20dSMZOy','399306UygjfT','5367KnieOz','همگام\x20سازی','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','15695118nCnEHM','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','758084mXcOPT','تداخل\x20همکاری','در\x20حال\x20همگام\x20سازی...','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','304VMJeCF','خطای\x20اعتبارسنجی','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','پرونده\x20محلی','633684fzFTAf'];_0x109e=function(){return _0x5c0f3d;};return _0x109e();}const _0x43f402=_0x8911;(function(_0x26c644,_0x680f07){const _0x15fec7=_0x8911,_0xe33c06=_0x26c644();while(!![]){try{const _0x2e129c=-parseInt(_0x15fec7(0x1d0))/0x1+parseInt(_0x15fec7(0x1db))/0x2*(-parseInt(_0x15fec7(0x1d1))/0x3)+parseInt(_0x15fec7(0x1d7))/0x4+-parseInt(_0x15fec7(0x1cf))/0x5*(parseInt(_0x15fec7(0x1ca))/0x6)+-parseInt(_0x15fec7(0x1cb))/0x7+-parseInt(_0x15fec7(0x1ce))/0x8+parseInt(_0x15fec7(0x1d4))/0x9;if(_0x2e129c===_0x680f07)break;else _0xe33c06['push'](_0xe33c06['shift']());}catch(_0xf71f20){_0xe33c06['push'](_0xe33c06['shift']());}}}(_0x109e,0x3a2ae));const o={'collab-client':{'tooltip':{'reconnect':_0x43f402(0x1cd)}},'collabStatus':{'fetchMiss':_0x43f402(0x1d3),'conflict':'تداخل\x20ویرایش','notCollab':_0x43f402(0x1de),'synced':_0x43f402(0x1d2),'syncing':_0x43f402(0x1d9),'offline':_0x43f402(0x1dd)},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':_0x43f402(0x1da),'room-full':'اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','collaboration-timeout':_0x43f402(0x1d6)},'conflict':{'title':_0x43f402(0x1d8),'content':_0x43f402(0x1d5)},'permission':{'title':_0x43f402(0x1dc),'content':'اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'collaboration':{'single-unit':{'warning':_0x43f402(0x1cc)},'closeRoom':'امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.'},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};export{o as default};