@univerjs-pro/collaboration-client-ui 0.6.10-experimental.20250410-f79ffef → 0.6.10-experimental.20250410-d40d076
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x50535d=_0x59c4;(function(_0x154e56,_0x5efecf){const _0xb3bb00=_0x59c4,_0x4d1854=_0x154e56();while(!![]){try{const _0x1c367f=parseInt(_0xb3bb00(0x293))/0x1*(parseInt(_0xb3bb00(0x273))/0x2)+-parseInt(_0xb3bb00(0x13b))/0x3+parseInt(_0xb3bb00(0x21d))/0x4*(parseInt(_0xb3bb00(0x1f0))/0x5)+-parseInt(_0xb3bb00(0x1e0))/0x6*(-parseInt(_0xb3bb00(0x28f))/0x7)+-parseInt(_0xb3bb00(0x324))/0x8*(-parseInt(_0xb3bb00(0x18f))/0x9)+parseInt(_0xb3bb00(0x1ff))/0xa+-parseInt(_0xb3bb00(0x1f8))/0xb*(parseInt(_0xb3bb00(0x1e9))/0xc);if(_0x1c367f===_0x5efecf)break;else _0x4d1854['push'](_0x4d1854['shift']());}catch(_0x392438){_0x4d1854['push'](_0x4d1854['shift']());}}}(_0x3cb8,0xad586));var Bt=Object[_0x50535d(0x245)],kt=(_0x2e187b,_0x33bf19,_0x28dc4)=>_0x33bf19 in _0x2e187b?Bt(_0x2e187b,_0x33bf19,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x28dc4}):_0x2e187b[_0x33bf19]=_0x28dc4,_=(_0x5ab017,_0x2113ac,_0x464a05)=>kt(_0x5ab017,typeof _0x2113ac!='symbol'?_0x2113ac+'':_0x2113ac,_0x464a05);import{MemberService as _0x221af7,SessionStatus as _0x51101e,CollaborationSessionService as _0x1c20e3,CollaborationStatus as _0x4cd4c0,CollaborationController as _0x224fc2,ILocalCacheService as _0x49b100,CollaborationUIEventService as _0x5e4596,CollaborationUIEventId as _0x49112b,DataLoaderService as _0x1d397e,DocCollaborationEntity as _0x17b06d,getLocalCacheKey as _0x2e6fd6,LOCAL_CACHE_INTERVAL as _0x57e1cc,LOCAL_CACHE_INTERVAL_KEY as _0x407529,UniverCollaborationClientPlugin as _0x107ead,CollaborationSocketService as _0x1ccc7d,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x5b898e,DEFAULT_WS_SESSION_TICKET_URL as _0x1c881a,UnitStatus as _0xe27187,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x4059da,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x1263f6}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x52b105,Disposable as _0x1ee003,DOC_RANGE_TYPE as _0x5cff6f,Inject as _0x41cc9a,Injector as _0x2d998a,IUniverInstanceService as _0x415410,ICommandService as _0x358876,debounce as _0x339e31,Rectangle as _0x3bd9ba,DisposableCollection as _0x9c95dd,toDisposable as _0x3616bc,UniverInstanceType as _0x194a15,Tools as _0x5190d2,COLORS as _0x3e9653,ColorKit as _0xaea1bd,ThemeService as _0x14bc52,fromEventSubject as _0x132040,LocaleService as _0x3a84d6,createIdentifier as _0x44225e,ILogService as _0x36be24,Optional as _0x40b000,Workbook as _0x1025d0,CommandType as _0x599fa1,IConfigService as _0x393474,ILocalStorageService as _0x87436e,DependentOn as _0x2d57b6,Plugin as _0x297df0,merge as _0x512511,registerDependencies as _0x15bab9,mergeOverrideWithDependencies as _0x3633fd,touchDependencies as _0x3fed95,generateRandomId as _0x41b8d0}from'@univerjs/core';import{Shape as _0x8473cf,Rect as _0x3983d1,getColor as _0x302dc7,RegularPolygon as _0x3f0a9a,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x3c3f70,Vector2 as _0x494c2b,SHEET_VIEWPORT_KEY as _0x195527,IRenderManagerService as _0x583994}from'@univerjs/engine-render';import{ISocketService as _0xfc99bb,WebSocketService as _0x4ec705,HTTPService as _0x1bc3ba}from'@univerjs/network';import{IDocClipboardService as _0x2d9b19,NodePositionConvertToCursor as _0x128840,NodePositionConvertToRectRange as _0x4c5056,TEXT_RANGE_LAYER_INDEX as _0xb5cd32,SetDocZoomRatioOperation as _0x3c13ce,DocIMEInputManagerService as _0x105037,DocStateChangeManagerService as _0x3614c8}from'@univerjs/docs-ui';import{IImageIoService as _0x52e44e}from'@univerjs/drawing';import{BehaviorSubject as _0x4a30a1,debounceTime as _0x2e31f1,takeUntil as _0x23d4f3,Subject as _0x158901,filter as _0xbc9c9,switchMap as _0x2e30cc,merge as _0x27e5f6,combineLatest as _0x2fd5a2,of as _0x5702d8,fromEvent as _0x1ebec0,shareReplay as _0x49d7fc,mapTo as _0x3ac6de,distinctUntilChanged as _0x5389e5}from'rxjs';import{SetTextSelectionsOperation as _0xa9e494,RichTextEditingMutation as _0x371146,DocSelectionManagerService as _0x35a6cc,DocSkeletonManagerService as _0x1c23d4}from'@univerjs/docs';import{ITransformService as _0x2891b1,CollaborationEvent as _0x25ab7f,isTransformMutationFailure as _0x30eb79,isTransformMutationsWithChangesetSuccess as _0x445df4,RevisionService as _0x58b052,ISnapshotServerService as _0x5245a0}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x494bdb,serializeRangeWithSheet as _0x11ac74}from'@univerjs/engine-formula';import{RefRangeService as _0x537cda,SetSelectionsOperation as _0x57aa9f,SheetsSelectionsService as _0xeab09a,EffectRefRangId as _0x301c63,handleIRemoveRow as _0x5d0d61,handleIRemoveCol as _0x5ec49c,handleMoveRange as _0x251296,handleInsertRow as _0x597e87,handleInsertRangeMoveRight as _0x53b4a2,handleInsertRangeMoveDown as _0xcb9a89,handleInsertCol as _0x1f9849,handleDeleteRangeMoveUp as _0x1d8987,handleDeleteRangeMoveLeft as _0x52ac9b,runRefRangeMutations as _0x16bca9,SetWorksheetActivateCommand as _0x3829e1}from'@univerjs/sheets';import{map as _0x5228a3,filter as _0x52ee01,throttleTime as _0x3d7ce1,takeUntil as _0x1a7e5a,switchMap as _0x5ab2d3}from'rxjs/operators';import{SheetSkeletonManagerService as _0x2539ed,getCoordByCell as _0x3e5c31,getSheetObject as _0x5dc749}from'@univerjs/sheets-ui';import{jsx as _0x18e3f9,jsxs as _0x4ab8ad}from'react/jsx-runtime';import{useObservable as _0xe9ae0e,useDependency as _0x30a5af,IUIPartsService as _0x3d69f6,BuiltInUIPart as _0x272aa0,connectInjector as _0x100aea,IBeforeCloseService as _0x5da31b,IMessageService as _0x438bbb,INotificationService as _0x1011dd}from'@univerjs/ui';import{clsx as _0x402643,Tooltip as _0x593f95,MessageType as _0x57fbb4}from'@univerjs/design';import{forwardRef as _0x416825,useRef as _0x5e2f7e,createElement as _0x2752e3,useCallback as _0x1307ba}from'react';import{IRemoteInstanceService as _0x100f0e}from'@univerjs/rpc';var li=Object['getOwnPropertyDescriptor'],_i=(_0x41b4da,_0x4af4f2,_0x595405,_0x2f3fdd)=>{const _0x3a9ffd=_0x50535d;for(var _0xca7ae6=_0x2f3fdd>0x1?void 0x0:_0x2f3fdd?li(_0x4af4f2,_0x595405):_0x4af4f2,_0x1edc62=_0x41b4da[_0x3a9ffd(0x262)]-0x1,_0x59d6fd;_0x1edc62>=0x0;_0x1edc62--)(_0x59d6fd=_0x41b4da[_0x1edc62])&&(_0xca7ae6=_0x59d6fd(_0xca7ae6)||_0xca7ae6);return _0xca7ae6;},Qe=(_0xb603a2,_0x1a0b4d)=>(_0x452145,_0x5bd9e1)=>_0x1a0b4d(_0x452145,_0x5bd9e1,_0xb603a2);let Me=class extends _0x52b105{constructor(_0x588b84,_0x315c3b){const _0x23b0df=_0x50535d;super(),this[_0x23b0df(0x31b)]=_0x588b84,this[_0x23b0df(0x278)]=_0x315c3b,this[_0x23b0df(0x237)]();}[_0x50535d(0x237)](){const _0x2ae10a=_0x50535d,_0x432958=this;this[_0x2ae10a(0x17c)](this[_0x2ae10a(0x31b)][_0x2ae10a(0x1a1)]({'onBeforePasteImage':async _0x3db9ec=>{const _0x51f6a9=_0x2ae10a,_0x5f2d50=await _0x432958['_imageIoService'][_0x51f6a9(0x2e3)](_0x3db9ec);return _0x5f2d50?{'source':_0x5f2d50[_0x51f6a9(0x167)],'imageSourceType':_0x5f2d50['imageSourceType']}:null;}}));}};Me=_i([Qe(0x0,_0x2d9b19),Qe(0x1,_0x52e44e)],Me);const qe=[_0x50535d(0x12f),_0x50535d(0x287),_0x50535d(0x26b),_0x50535d(0x303),_0x50535d(0x1e7),_0x50535d(0x2b1)];class He extends _0x1ee003{constructor(){const _0x182e62=_0x50535d;super(...arguments),_(this,_0x182e62(0x29e),new Map()),_(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x380d04){const _0x2fe28a=_0x50535d;if(this['_assignedColors'][_0x2fe28a(0x2b2)](_0x380d04))return this[_0x2fe28a(0x29e)]['get'](_0x380d04);const _0x29048d=qe[this['_colorIndex']];return this[_0x2fe28a(0x1bd)]=(this[_0x2fe28a(0x1bd)]+0x1)%qe[_0x2fe28a(0x262)],this[_0x2fe28a(0x29e)]['set'](_0x380d04,_0x29048d),_0x29048d;}}function Dt(_0x2c5472){const _0x263e63=_0x50535d;let _0x2354fc='';for(const _0x3b05b0 of _0x2c5472){const {startOffset:_0x3cc312,endOffset:_0x470297,isActive:_0x254061,rangeType:_0x303a74,segmentId:_0x4f3001,segmentPage:_0x550a15}=_0x3b05b0;_0x2354fc[_0x263e63(0x262)]&&(_0x2354fc+=','),_0x2354fc+=_0x3cc312+':'+_0x470297+':'+(_0x254061?'1':'0')+':'+_0x303a74+':'+_0x4f3001+':'+_0x550a15;}return _0x2354fc;}function hi(_0xd47331){const _0x2c3596=_0x50535d,_0x238338=_0xd47331[_0x2c3596(0x1ec)](','),_0x43965f=[];for(const _0x41dcb9 of _0x238338){const [_0x94b456,_0x2b029b,_0x4612d5,_0x5830a2,_0x51ec52,_0x405e8f]=_0x41dcb9[_0x2c3596(0x1ec)](':');_0x43965f['push']({'startOffset':Number(_0x94b456),'endOffset':Number(_0x2b029b),'collapsed':_0x94b456===_0x2b029b,'isActive':_0x4612d5==='1','rangeType':_0x5830a2===_0x5cff6f[_0x2c3596(0x27b)]?_0x5cff6f['TEXT']:_0x5cff6f[_0x2c3596(0x1be)],'segmentId':typeof _0x51ec52==_0x2c3596(0x170)?String(_0x51ec52):'','segmentPage':Number(_0x405e8f!=null?_0x405e8f:-0x1)});}return _0x43965f[_0x2c3596(0x18e)](_0xd75bee=>_0xd75bee['isActive'])||(_0x43965f[0x0][_0x2c3596(0x23c)]=!0x0),_0x43965f;}class je extends _0x52b105{constructor(){const _0x5c1661=_0x50535d;super(...arguments),_(this,'_collabCursorState$',new _0x4a30a1(null)),_(this,_0x5c1661(0x187),this[_0x5c1661(0x210)][_0x5c1661(0x181)]());}[_0x50535d(0x1c9)](_0x4c4663){const _0x19cf3f=_0x50535d,{unitID:_0x4c55d8,memberID:_0x8cf26d,textRanges:_0x42b693}=_0x4c4663,_0x4263fe=Dt(_0x42b693);if(_0x4263fe==='')return;const _0x300ee5={'unitID':_0x4c55d8,'memberID':_0x8cf26d,'selection':_0x4263fe};this[_0x19cf3f(0x210)][_0x19cf3f(0x2e8)](_0x300ee5);}}var ui=Object[_0x50535d(0x13f)],di=(_0x4bba07,_0x1c0bd2,_0x534260,_0x246107)=>{const _0x436f54=_0x50535d;for(var _0x2f7056=_0x246107>0x1?void 0x0:_0x246107?ui(_0x1c0bd2,_0x534260):_0x1c0bd2,_0x238f4a=_0x4bba07[_0x436f54(0x262)]-0x1,_0x310f8d;_0x238f4a>=0x0;_0x238f4a--)(_0x310f8d=_0x4bba07[_0x238f4a])&&(_0x2f7056=_0x310f8d(_0x2f7056)||_0x2f7056);return _0x2f7056;},U=(_0x3c1eb3,_0x2b621f)=>(_0x4f7738,_0x2321fe)=>_0x2b621f(_0x4f7738,_0x2321fe,_0x3c1eb3);const fi=0x12c,Si=0x64;let Pe=class extends _0x52b105{constructor(_0x5eb020,_0x209fd7,_0x83fcae,_0x2a17ca,_0x26ccbd,_0x3b23b7,_0x4b145c,_0x2998ab,_0x53e866){const _0x288ee5=_0x50535d;super(),_(this,_0x288ee5(0x11f),!0x1),_(this,_0x288ee5(0x237),!0x1),_(this,'_cursorInfo$',new _0x4a30a1(new Map())),_(this,_0x288ee5(0x29f),this['_cursorInfo$'][_0x288ee5(0x181)]()),_(this,_0x288ee5(0x184),new _0x4a30a1([])),_(this,_0x288ee5(0x307),this['_roomMembers$'][_0x288ee5(0x1fb)](_0x2e31f1(fi))),_(this,_0x288ee5(0x224),_0x339e31(_0x11c223=>{const _0x5da119=_0x288ee5,_0xe7ec3b={'eventID':_0x25ab7f[_0x5da119(0x195)],'data':{'unitID':this['unitID'],'memberID':this['_session']['getMemberID'](),'selection':Dt(_0x11c223)}};this[_0x5da119(0x2b5)][_0x5da119(0x1da)](_0xe7ec3b,this[_0x5da119(0x2fb)]);},Si)),(this[_0x288ee5(0x2fb)]=_0x5eb020,this[_0x288ee5(0x2b5)]=_0x209fd7,this[_0x288ee5(0x190)]=_0x83fcae,this[_0x288ee5(0x1b6)]=_0x2a17ca,this[_0x288ee5(0x2bb)]=_0x26ccbd,this[_0x288ee5(0x16f)]=_0x3b23b7,this['_transformService']=_0x4b145c,this['_univerInstanceService']=_0x2998ab,this[_0x288ee5(0x142)]=_0x53e866);}get[_0x50535d(0x23d)](){const _0x5a6a24=_0x50535d;return this[_0x5a6a24(0x130)]['getValue']();}get['roomMembers'](){const _0x4a68bb=_0x50535d;return this[_0x4a68bb(0x184)]['getValue']();}[_0x50535d(0x22e)](){const _0x11a34f=_0x50535d;super['dispose'](),this[_0x11a34f(0x130)][_0x11a34f(0x2e8)](new Map()),this[_0x11a34f(0x130)][_0x11a34f(0x2ba)](),this['_roomMembers$'][_0x11a34f(0x2e8)]([]),this[_0x11a34f(0x184)][_0x11a34f(0x2ba)]();}['init'](){const _0x9e041c=_0x50535d;this[_0x9e041c(0x237)]||(this[_0x9e041c(0x237)]=!0x0,this[_0x9e041c(0x2b5)][_0x9e041c(0x275)]['pipe'](_0x23d4f3(this[_0x9e041c(0x2cb)]))[_0x9e041c(0x2fc)](_0x2fea5d=>{const _0x280748=_0x9e041c;_0x2fea5d===_0x51101e[_0x280748(0x2c9)]?this[_0x280748(0x205)]():this['_toggleOffline']();}),this['_session'][_0x9e041c(0x304)][_0x9e041c(0x1fb)](_0x23d4f3(this[_0x9e041c(0x2cb)]))[_0x9e041c(0x2fc)](_0x283f9d=>{const _0x25c541=_0x9e041c,_0x4eb77e=_0x283f9d[_0x25c541(0x175)];_0x4eb77e===_0x25ab7f[_0x25c541(0x195)]&&this[_0x25c541(0x221)](_0x283f9d),_0x4eb77e===_0x25ab7f[_0x25c541(0x11d)]&&this['_onCursorDelete'](_0x283f9d);}),this[_0x9e041c(0x17c)](this[_0x9e041c(0x142)]['onCommandExecuted'](_0x42531e=>{const _0x18b372=_0x9e041c,_0xdd50c=_0x42531e[_0x18b372(0x316)];_0xdd50c!=null&&this[_0x18b372(0x11f)]&&_0x42531e['id']===_0xa9e494['id']&&_0xdd50c[_0x18b372(0x297)]===this[_0x18b372(0x2fb)]&&_0xdd50c[_0x18b372(0x2e4)]===!0x1&&_0xdd50c[_0x18b372(0x123)]['length']>0x0&&this[_0x18b372(0x224)](_0xdd50c['ranges']);})),this[_0x9e041c(0x16f)]['collabCursorState$']['pipe'](_0x23d4f3(this['dispose$']))[_0x9e041c(0x2fc)](_0x482126=>{const _0x9e7cba=_0x9e041c;if((_0x482126==null?void 0x0:_0x482126[_0x9e7cba(0x2fb)])!==this[_0x9e7cba(0x2fb)])return;const _0x50c161={'eventID':_0x25ab7f[_0x9e7cba(0x195)],'data':_0x482126};this['_onCursorUpdate'](_0x50c161);}),this['disposeWithMe'](this[_0x9e041c(0x142)][_0x9e041c(0x16e)](_0x4c7e3a=>{const _0x3acb9e=_0x9e041c;if(_0x4c7e3a[_0x3acb9e(0x316)]==null)return;const _0x4f92fd=_0x4c7e3a[_0x3acb9e(0x316)];if(_0x4c7e3a['id']!==_0x371146['id']||_0x4f92fd[_0x3acb9e(0x297)]!==this[_0x3acb9e(0x2fb)])return;const _0x31b1aa={'id':_0x3acb9e(0x2f0),'params':_0x4f92fd},_0x206925=this[_0x3acb9e(0x23d)];for(const [_0x4da179,_0x5b2353]of _0x206925){const _0x1711f6={'id':_0x3acb9e(0x2f0),'params':{'unitId':this[_0x3acb9e(0x2fb)],'actions':null,'textRanges':_0x5b2353[_0x3acb9e(0x123)]}},_0x2a1811=this[_0x3acb9e(0x276)][_0x3acb9e(0x1b5)](_0x31b1aa,_0x1711f6,!0x1);if(_0x30eb79(_0x2a1811))throw _0x2a1811['error'];_0x206925[_0x3acb9e(0x31e)](_0x4da179,{..._0x5b2353,'ranges':_0x2a1811[_0x3acb9e(0x1fa)][_0x3acb9e(0x316)][_0x3acb9e(0x265)]});}queueMicrotask(()=>{const _0x387466=_0x3acb9e;this[_0x387466(0x130)][_0x387466(0x2e8)](_0x206925);});})));}[_0x50535d(0x221)](_0x30e3c1){const _0x18e5b=_0x50535d;var _0x1466a1,_0x5771bc;const {memberID:_0x26ab98,selection:_0x54df47}=_0x30e3c1['data'],_0x1ce439=hi(_0x54df47),_0x16cdf4=(_0x5771bc=(_0x1466a1=this['_memberService'][_0x18e5b(0x31d)](this[_0x18e5b(0x2fb)],_0x26ab98))==null?void 0x0:_0x1466a1[_0x18e5b(0x218)])!=null?_0x5771bc:_0x18e5b(0x1c7),_0x3368bb={'color':this[_0x18e5b(0x1b6)][_0x18e5b(0x2d0)](_0x26ab98),'name':_0x16cdf4,'ranges':_0x1ce439},_0x43a1bb=this[_0x18e5b(0x23d)];_0x43a1bb[_0x18e5b(0x31e)](_0x26ab98,_0x3368bb),this[_0x18e5b(0x130)][_0x18e5b(0x2e8)](_0x43a1bb);}[_0x50535d(0x2e0)](_0x6f7153){const _0x10fe58=_0x50535d,{memberID:_0x41ad51}=_0x6f7153[_0x10fe58(0x24d)],_0x26ea1c=this['cursorInfo'];_0x26ea1c[_0x10fe58(0x19f)](_0x41ad51),this[_0x10fe58(0x130)][_0x10fe58(0x2e8)](_0x26ea1c);}[_0x50535d(0x205)](){const _0x3a8b9d=_0x50535d;var _0x3ae624;if(this[_0x3a8b9d(0x11f)]=!0x0,((_0x3ae624=this[_0x3a8b9d(0x150)][_0x3a8b9d(0x139)]())==null?void 0x0:_0x3ae624[_0x3a8b9d(0x215)]())!==this['unitID'])return;const _0x286fa4=this[_0x3a8b9d(0x190)][_0x3a8b9d(0x154)](_0x35a6cc)[_0x3a8b9d(0x24b)]();Array['isArray'](_0x286fa4)&&_0x286fa4[_0x3a8b9d(0x262)]>0x0&&this[_0x3a8b9d(0x224)](_0x286fa4);}[_0x50535d(0x1c1)](){const _0x365d59=_0x50535d;this[_0x365d59(0x11f)]=!0x1;}};Pe=di([U(0x2,_0x41cc9a(_0x2d998a)),U(0x3,_0x41cc9a(He)),U(0x4,_0x41cc9a(_0x221af7)),U(0x5,_0x41cc9a(je)),U(0x6,_0x2891b1),U(0x7,_0x415410),U(0x8,_0x358876)],Pe);function _0x59c4(_0x559dd2,_0x2285cb){const _0x3cb8f4=_0x3cb8();return _0x59c4=function(_0x59c4a1,_0x135ba4){_0x59c4a1=_0x59c4a1-0x112;let _0x189c58=_0x3cb8f4[_0x59c4a1];return _0x189c58;},_0x59c4(_0x559dd2,_0x2285cb);}var mi=Object[_0x50535d(0x13f)],gi=(_0x5a83af,_0x373db7,_0x3a8e30,_0x53d108)=>{const _0x3ed7f2=_0x50535d;for(var _0x57c4ad=_0x53d108>0x1?void 0x0:_0x53d108?mi(_0x373db7,_0x3a8e30):_0x373db7,_0x5c5aeb=_0x5a83af[_0x3ed7f2(0x262)]-0x1,_0x59d2f1;_0x5c5aeb>=0x0;_0x5c5aeb--)(_0x59d2f1=_0x5a83af[_0x5c5aeb])&&(_0x57c4ad=_0x59d2f1(_0x57c4ad)||_0x57c4ad);return _0x57c4ad;},x=(_0x266469,_0xa9feed)=>(_0x34b5be,_0x147c04)=>_0xa9feed(_0x34b5be,_0x147c04,_0x266469);const vi=0x12c,Ii=0x64,pi=()=>{let _0x22c4b3=[],_0x512a38=!0x1;return _0x38868d=>{const _0xac8bf1=_0x59c4;_0x22c4b3[_0xac8bf1(0x2d6)](_0x38868d),_0x512a38||(_0x512a38=!0x0,setTimeout(()=>{const _0x1a8050=_0xac8bf1;_0x22c4b3[_0x1a8050(0x160)](_0xf4e9e5=>_0xf4e9e5()),_0x22c4b3=[],_0x512a38=!0x1;}));};};let we=class extends _0x52b105{constructor(_0x10c6d3,_0x931bd6,_0x8360bf,_0x26c351,_0x4bdd3f,_0x27fe2b,_0x2de478,_0x3dcec7){const _0x3b8744=_0x50535d;super(),_(this,'_online',!0x1),_(this,_0x3b8744(0x237),!0x1),_(this,_0x3b8744(0x130),new _0x4a30a1(new Map())),_(this,_0x3b8744(0x29f),this[_0x3b8744(0x130)][_0x3b8744(0x181)]()),_(this,_0x3b8744(0x184),new _0x4a30a1([])),_(this,_0x3b8744(0x307),this[_0x3b8744(0x184)][_0x3b8744(0x1fb)](_0x2e31f1(vi))),_(this,_0x3b8744(0x224),_0x339e31((_0x3556ed,_0x5b9410)=>{const _0x49c30a=_0x3b8744,_0x4efd0f={'eventID':_0x25ab7f[_0x49c30a(0x195)],'data':{'unitID':this['unitID'],'memberID':this[_0x49c30a(0x2b5)][_0x49c30a(0x1b9)](),'selection':_0x11ac74(_0x3556ed,_0x5b9410[_0x49c30a(0x2ea)])}};this[_0x49c30a(0x2b5)][_0x49c30a(0x1da)](_0x4efd0f,this[_0x49c30a(0x2fb)]);},Ii)),(this['unitID']=_0x10c6d3,this[_0x3b8744(0x2b5)]=_0x931bd6,this[_0x3b8744(0x190)]=_0x8360bf,this['_colorAssignService']=_0x26c351,this[_0x3b8744(0x2bb)]=_0x4bdd3f,this[_0x3b8744(0x150)]=_0x27fe2b,this[_0x3b8744(0x142)]=_0x2de478,this[_0x3b8744(0x296)]=_0x3dcec7);}get[_0x50535d(0x23d)](){const _0x2e9a3d=_0x50535d;return this[_0x2e9a3d(0x130)][_0x2e9a3d(0x196)]();}get[_0x50535d(0x1a6)](){const _0x49630d=_0x50535d;return this[_0x49630d(0x184)][_0x49630d(0x196)]();}[_0x50535d(0x22e)](){const _0x3354d1=_0x50535d;super[_0x3354d1(0x22e)](),this[_0x3354d1(0x130)][_0x3354d1(0x2e8)](new Map()),this[_0x3354d1(0x130)]['complete'](),this['_roomMembers$'][_0x3354d1(0x2e8)]([]),this['_roomMembers$'][_0x3354d1(0x2ba)]();}[_0x50535d(0x267)](){const _0x459d0d=_0x50535d;this['_init']||(this[_0x459d0d(0x237)]=!0x0,this[_0x459d0d(0x2b5)][_0x459d0d(0x275)]['pipe'](_0x23d4f3(this['dispose$']))[_0x459d0d(0x2fc)](_0x4d28d4=>{const _0x41f99c=_0x459d0d;_0x4d28d4===_0x51101e[_0x41f99c(0x2c9)]?this[_0x41f99c(0x205)]():this['_toggleOffline']();}),this[_0x459d0d(0x2b5)]['event$'][_0x459d0d(0x1fb)](_0x23d4f3(this['dispose$']))['subscribe'](_0x472374=>{const _0x2104fb=_0x459d0d,_0x4b11ff=_0x472374['eventID'];_0x4b11ff===_0x25ab7f[_0x2104fb(0x195)]&&this[_0x2104fb(0x221)](_0x472374),_0x4b11ff===_0x25ab7f['USERS_LEAVE']&&this[_0x2104fb(0x2e0)](_0x472374);}),this[_0x459d0d(0x31a)](),this[_0x459d0d(0x17c)](this[_0x459d0d(0x142)][_0x459d0d(0x16e)](_0x299e24=>{const _0xfa10fc=_0x459d0d;if(this[_0xfa10fc(0x11f)]&&_0x299e24['id']===_0x57aa9f['id']&&_0x299e24[_0xfa10fc(0x316)][_0xfa10fc(0x297)]===this[_0xfa10fc(0x2fb)]){const _0xa76089=_0x299e24[_0xfa10fc(0x316)];this[_0xfa10fc(0x224)](_0xa76089[_0xfa10fc(0x173)],_0xa76089[_0xfa10fc(0x1df)][0x0]);}})));}[_0x50535d(0x221)](_0x35815e){const _0x56a259=_0x50535d;var _0x3b0691,_0x1959a7;const {memberID:_0x2fa2ba,selection:_0x5aa067}=_0x35815e[_0x56a259(0x24d)],{sheetName:_0x461c04,range:_0x4014c5}=_0x494bdb(_0x5aa067),_0x4f2e90={'name':(_0x1959a7=(_0x3b0691=this[_0x56a259(0x2bb)]['getMember'](this[_0x56a259(0x2fb)],_0x2fa2ba))==null?void 0x0:_0x3b0691[_0x56a259(0x218)])!=null?_0x1959a7:'Unknown\x20user','range':this[_0x56a259(0x1ae)](_0x461c04,_0x4014c5),'sheetID':_0x461c04,'color':this[_0x56a259(0x1b6)]['assignAColorForMemberID'](_0x2fa2ba),'selection':_0x5aa067},_0x1d3e6=this[_0x56a259(0x23d)];_0x1d3e6[_0x56a259(0x31e)](_0x2fa2ba,_0x4f2e90),this[_0x56a259(0x130)]['next'](_0x1d3e6);}[_0x50535d(0x2e0)](_0x40e616){const _0x207244=_0x50535d,{memberID:_0x51f314}=_0x40e616[_0x207244(0x24d)],_0x46af63=this['cursorInfo'];_0x46af63[_0x207244(0x19f)](_0x51f314),this['_cursorInfo$'][_0x207244(0x2e8)](_0x46af63);}[_0x50535d(0x1ae)](_0x41b710,_0x22ab35){const _0x1d404f=_0x50535d;var _0x1a4419,_0x178824;const _0x81f43b=(_0x178824=(_0x1a4419=this[_0x1d404f(0x150)][_0x1d404f(0x2a9)](this[_0x1d404f(0x2fb)]))==null?void 0x0:_0x1a4419['getSheetBySheetId'](_0x41b710))==null?void 0x0:_0x178824[_0x1d404f(0x131)]();return(_0x81f43b==null?void 0x0:_0x81f43b[_0x1d404f(0x2ce)](_0x2ef6f3=>_0x3bd9ba[_0x1d404f(0x1f5)](_0x2ef6f3,_0x22ab35)))||_0x22ab35;}[_0x50535d(0x31a)](){const _0x17ce3f=_0x50535d,_0x50388b=new _0x9c95dd(),_0x2fffbf=pi(),_0x478343=()=>{const _0x17e789=_0x59c4;_0x50388b['dispose']();const _0x2b202f=(_0xc9f7e8,_0x19b224,_0x5ba7f5,_0x18e4bd)=>{const _0x2e2582=_0x59c4;let _0xb1a273=[];switch(_0xc9f7e8['id']){case _0x301c63[_0x2e2582(0x1af)]:{_0xb1a273=_0x52ac9b(_0xc9f7e8,_0x18e4bd);break;}case _0x301c63[_0x2e2582(0x151)]:{_0xb1a273=_0x1d8987(_0xc9f7e8,_0x18e4bd);break;}case _0x301c63[_0x2e2582(0x2ec)]:{_0xb1a273=_0x1f9849(_0xc9f7e8,_0x18e4bd);break;}case _0x301c63['InsertRangeMoveDownCommandId']:{_0xb1a273=_0xcb9a89(_0xc9f7e8,_0x18e4bd);break;}case _0x301c63['InsertRangeMoveRightCommandId']:{_0xb1a273=_0x53b4a2(_0xc9f7e8,_0x18e4bd);break;}case _0x301c63[_0x2e2582(0x254)]:{_0xb1a273=_0x597e87(_0xc9f7e8,_0x18e4bd);break;}case _0x301c63[_0x2e2582(0x2f2)]:{_0xb1a273=_0x251296(_0xc9f7e8,_0x18e4bd);break;}case _0x301c63[_0x2e2582(0x26f)]:{_0xb1a273=_0x5ec49c(_0xc9f7e8,_0x18e4bd);break;}case _0x301c63[_0x2e2582(0x292)]:{_0xb1a273=_0x5d0d61(_0xc9f7e8,_0x18e4bd);break;}}const _0x4b3175=_0x16bca9(_0xb1a273,_0x18e4bd),_0x42ced6=this[_0x2e2582(0x23d)][_0x2e2582(0x154)](_0x19b224);if(_0x42ced6&&_0x4b3175){const _0x56156c={..._0x42ced6,'range':_0x4b3175};this[_0x2e2582(0x23d)][_0x2e2582(0x31e)](_0x19b224,_0x56156c),_0x2fffbf(()=>{const _0x4c5c2d=_0x2e2582,_0x2b6ca5=this['_refRangeService']['registerRefRange'](_0x4b3175,_0x2a30b3=>(_0x2b6ca5[_0x4c5c2d(0x22e)](),_0x2b202f(_0x2a30b3,_0x19b224,_0x5ba7f5,_0x4b3175)));_0x50388b[_0x4c5c2d(0x208)](_0x2b6ca5);});}return{'redos':[],'undos':[]};};this[_0x17e789(0x23d)][_0x17e789(0x160)]((_0x2981c4,_0x4d572b)=>{const _0x429520=_0x17e789,{range:_0x580849,sheetID:_0x2ba499}=_0x2981c4,_0x42d119=this[_0x429520(0x296)][_0x429520(0x1f2)](_0x580849,_0x2cf405=>(_0x42d119[_0x429520(0x22e)](),_0x2b202f(_0x2cf405,_0x4d572b,_0x2ba499,_0x580849)));_0x50388b[_0x429520(0x208)](_0x42d119);});};this[_0x17ce3f(0x17c)](_0x3616bc(this[_0x17ce3f(0x130)][_0x17ce3f(0x2fc)](()=>{_0x478343();})));}[_0x50535d(0x205)](){const _0x18845e=_0x50535d;var _0x4eb60f,_0x2ef7f9;if(this[_0x18845e(0x11f)]=!0x0,((_0x4eb60f=this[_0x18845e(0x150)][_0x18845e(0x139)]())==null?void 0x0:_0x4eb60f[_0x18845e(0x215)]())!==this['unitID'])return;const _0x13e0d5=(_0x2ef7f9=this[_0x18845e(0x190)][_0x18845e(0x154)](_0xeab09a)[_0x18845e(0x2fa)]())==null?void 0x0:_0x2ef7f9[0x0],_0x40cd16=this[_0x18845e(0x150)][_0x18845e(0x31f)](_0x194a15[_0x18845e(0x1a8)])['getActiveSheet']();_0x13e0d5&&_0x40cd16&&this[_0x18845e(0x224)](_0x40cd16['getSheetId'](),_0x13e0d5);}['_toggleOffline'](){const _0x2d87ba=_0x50535d;this[_0x2d87ba(0x11f)]=!0x1;}};we=gi([x(0x2,_0x41cc9a(_0x2d998a)),x(0x3,_0x41cc9a(He)),x(0x4,_0x41cc9a(_0x221af7)),x(0x5,_0x415410),x(0x6,_0x358876),x(0x7,_0x41cc9a(_0x537cda))],we);var Ci=Object[_0x50535d(0x13f)],Ei=(_0x5e7e62,_0x1f5c1d,_0x51bf04,_0x1cc561)=>{const _0x4b9761=_0x50535d;for(var _0x28c38d=_0x1cc561>0x1?void 0x0:_0x1cc561?Ci(_0x1f5c1d,_0x51bf04):_0x1f5c1d,_0x29e871=_0x5e7e62[_0x4b9761(0x262)]-0x1,_0x9d8761;_0x29e871>=0x0;_0x29e871--)(_0x9d8761=_0x5e7e62[_0x29e871])&&(_0x28c38d=_0x9d8761(_0x28c38d)||_0x28c38d);return _0x28c38d;},me=(_0x12ee0c,_0x35d7b6)=>(_0x480b09,_0x5e1a76)=>_0x35d7b6(_0x480b09,_0x5e1a76,_0x12ee0c);let H=class extends _0x52b105{constructor(_0x2ac06a,_0x273193,_0x27bcaf){const _0x5b9df0=_0x50535d;super(),_(this,_0x5b9df0(0x19b),new Map()),_(this,_0x5b9df0(0x2d7),new _0x158901()),(this[_0x5b9df0(0x150)]=_0x2ac06a,this[_0x5b9df0(0x190)]=_0x273193,this[_0x5b9df0(0x309)]=_0x27bcaf,this[_0x5b9df0(0x237)]());}[_0x50535d(0x22e)](){const _0x92284a=_0x50535d;super[_0x92284a(0x22e)](),this[_0x92284a(0x2d7)][_0x92284a(0x2ba)](),this[_0x92284a(0x19b)][_0x92284a(0x160)](_0x127194=>_0x127194[_0x92284a(0x22e)]());}[_0x50535d(0x30a)](_0x435738){const _0x7299f2=_0x50535d;return this[_0x7299f2(0x19b)][_0x7299f2(0x2b2)](_0x435738)?this[_0x7299f2(0x19b)][_0x7299f2(0x154)](_0x435738)[_0x7299f2(0x29f)]:this[_0x7299f2(0x2d7)][_0x7299f2(0x1fb)](_0xbc9c9(_0x5b080f=>_0x5b080f[_0x7299f2(0x2fb)]===_0x435738),_0x2e30cc(_0x1cbc17=>_0x1cbc17[_0x7299f2(0x29f)]));}[_0x50535d(0x237)](){const _0x12b635=_0x50535d;this[_0x12b635(0x150)][_0x12b635(0x1f9)](_0x194a15[_0x12b635(0x1a8)])[_0x12b635(0x1fb)](_0x23d4f3(this[_0x12b635(0x2cb)]))[_0x12b635(0x2fc)](async _0xd8d3b9=>{const _0x31733a=_0x12b635,_0x5d27b5=_0xd8d3b9[_0x31733a(0x215)](),_0x32c23b=await this[_0x31733a(0x1ed)](_0x5d27b5);this[_0x31733a(0x2d7)][_0x31733a(0x2e8)](_0x32c23b),this[_0x31733a(0x19b)][_0x31733a(0x31e)](_0x5d27b5,_0x32c23b);}),this[_0x12b635(0x150)][_0x12b635(0x1f9)](_0x194a15[_0x12b635(0x21e)])[_0x12b635(0x1fb)](_0x23d4f3(this[_0x12b635(0x2cb)]))[_0x12b635(0x1fb)](_0xbc9c9(_0x114b96=>!_0x114b96[_0x12b635(0x215)]()[_0x12b635(0x244)]('__')))['subscribe'](async _0x54584f=>{const _0x5ee564=_0x12b635,_0x283619=_0x54584f['getUnitId'](),_0x470da5=await this[_0x5ee564(0x2bf)](_0x283619);this['_entityInit$'][_0x5ee564(0x2e8)](_0x470da5),this['_entities']['set'](_0x283619,_0x470da5);}),_0x27e5f6(this[_0x12b635(0x150)]['getTypeOfUnitDisposed$'](_0x194a15['UNIVER_DOC']),this[_0x12b635(0x150)]['getTypeOfUnitDisposed$'](_0x194a15[_0x12b635(0x1a8)]))[_0x12b635(0x1fb)](_0x23d4f3(this[_0x12b635(0x2cb)]))['subscribe'](_0xe28ac=>{const _0x12dcb9=_0x12b635,_0x3a92f8=_0xe28ac[_0x12dcb9(0x215)](),_0x44e5c8=this[_0x12dcb9(0x19b)]['get'](_0x3a92f8);_0x44e5c8&&(_0x44e5c8[_0x12dcb9(0x22e)](),this['_entities'][_0x12dcb9(0x19f)](_0x3a92f8));});}async['_startSheetCollabCursor'](_0x93c47b){const _0x4132a2=_0x50535d,_0x3e0305=await this[_0x4132a2(0x309)][_0x4132a2(0x1ef)](_0x93c47b),_0x4adc3a=this[_0x4132a2(0x190)]['createInstance'](we,_0x93c47b,_0x3e0305);return _0x4adc3a[_0x4132a2(0x267)](),_0x4adc3a;}async[_0x50535d(0x2bf)](_0x5c45cd){const _0x1bfb4c=_0x50535d,_0x2536e0=await this['_collabSessionService'][_0x1bfb4c(0x1ef)](_0x5c45cd),_0x49da48=this[_0x1bfb4c(0x190)][_0x1bfb4c(0x12d)](Pe,_0x5c45cd,_0x2536e0);return _0x49da48[_0x1bfb4c(0x267)](),_0x49da48;}};H=Ei([me(0x0,_0x415410),me(0x1,_0x41cc9a(_0x2d998a)),me(0x2,_0x41cc9a(_0x1c20e3))],H);function _0x3cb8(){const _0x309fa4=['_beforeCloseService','getVpScrollXYInfoByPosToVp','bottom','_docStateChangeManagerService','_saveTaskMap','getUniverSheetInstance','fill','UNRECOGNIZED','_clearOtherTimers','toString','collabStatus.conflict','with','url(#off-line-single_clip0_910_343)','gold400','has','_refreshCollabCursors','runOnServer','_session','...','pushState','includes','_lastPointer','complete','_memberService','_messageService','error','_collaborationController','_startDocCollabCursor','OffLineSingle','_localStorageService','SOCKET_FAILED_RETRY','getOwnPropertySymbols','0\x200\x2017\x2016','YUUMI_UNABLE_LOAD_URL','_anchorDot','_localeService','YUUMI_RATE_OVER_LIMIT','ONLINE','children','dispose$','post','url(#on-line-single_clip0_910_349)','find','random','assignAColorForMemberID','body','currentTheme$','subunit','_renderManagerService','#fff','push','_entityInit$','currentColor','getUnhiddenWorksheets','AWAITING','none','loadOfflineData','path','_hovered','[CollaborationDataLoaderController]','_onCursorDelete','_setupBeforeClosingHandler','saveTaskMap','saveImage','isEditing','div','_logService','_unitOnClients','next','endColumn','range','color','InsertColCommandId','clipPath','searchParams','_scheduleClearOtherTimer','doc.mutation.rich-text-editing','collab-text-anchor-','MoveRangeCommandId','collaboration-client.offline-data-not-saved','_initDependencies','on-line-single_clip0_910_349','findNodePositionByCharIndex','_scheduleSaving','lineTo','permission.content','getCurrentSelections','unitID','subscribe','CHANGESET_REVISION_CONFILICT','onPointerEnter$','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','PY_RUNTIME_SCRIPT_ERROR','collaboration.closeRoom','type','red300','event$','_getScale','_removeCollabCursors','roomMembers$','_notificationService','_collabSessionService','getCollabCursors$','override','result','clearInterval','font','getAncestorScale','CONFLICT','substring','location','_status$','flatMap','_urlService','params','mask','INTERNAL_ERROR','subscribeEvent','_onRefRangeChange','_docClipboardService','_handleHover','getMember','set','getCurrentUnitForType','_hover','OFFLINE','_render','setShapeProps','8kvLBVx','_updateURLWithCurrentState','startColumn','current','off-line-single_clip0_910_343','_localCacheService','invokeId','_range','svg','_initEvent','/run/','entries','currentSkeleton$','getStateCache','USERS_LEAVE','uni.network.url-service','_online','column','_getSheetObject','VIEW_MAIN','ranges','_transformHistoryAndStateStack','collab-client.tooltip.reconnect','evenodd','_heartbeatTimer','min','tag','size','_createSocketURL','history','createInstance','toRgbString','purple300','_cursorInfo$','getMergeData','moveTo','SOCKET_FAILED','Error','_handleJoinEvent','loadUnit','registerComponent','editingUnit','getFocusedUnit','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','656409ihVtHq','_send','1em','_drawRectRange','getOwnPropertyDescriptor','collab-rect-range-','transformMutationsWithChangeset','_commandService','transformRemoteChangeset','hovered','registerBeforeClose','fillText','CONNECTOR_DATA_TOO_LARGE','INVITE_CODE_ALREADY_BOUND','application/json','COMPLETION_FINISHED','session.connection-failed','height','getActiveSheet','LICENSE_DISTRO_REJECTED','onlineStatusIcon','_univerInstanceService','DeleteRangeMoveUpCommandId','executionId','triggerDblclick','get','_name','collabStatus.syncing','JOIN_ROOM_FAILED','onStarting','LICENSE_EXPORT_SIZE_EXCEEDED','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','call','USER_NOT_INVITED_CODE','values','addHandlerCallback','apply','forEach','getRangePointData','_getAnchorBounding','then','_docTransformIMECacheService','_registerDependencies','makeDirty','source','getCollabEntity$','onlineStatusTitle','saveOfflineData','collaboration-client-ui.config','_cursors','setParam','onCommandExecuted','_syncEditingCollabCursorService','string','startRow','getConfig','subUnitId','fillRule','eventID','unsubscribe','getRelativeToViewportCoord','text','round','_registerRenderDependencies','_revisionService','disposeWithMe','unshift','black','actions','defIds','asObservable','0\x200\x2016\x2016','_docSyncEditingCollabCursorService','_roomMembers$','getSheetBySheetId','setActiveRange','collabCursorState$','addObjects','createSocket','trim','url(#$1','rgba(255,\x20255,\x20255,\x200.01)','session.will-retry','some','2939787kdmqqr','_injector','whenReady','_scheduleHeartbeat','ENSURE_SNAPSHOT_EXECUTION','univer-online-status-title','UPDATE_CURSOR','getValue','generateRandomId','getCurrentRevOfUnit','_unitStatus','PENDING','_entities','_collaborationUIEventService','measureText','_transformPreviousActiveRange','delete','online','addClipboardHook','_initStatusComponent','popstate','INVALID_ARGUMENT','key','roomMembers','addObject','UNIVER_SHEET','M0\x200H16V16H0z','getCellPositionByOffset','function','APPLY_PERMISSION_DENIED','getSheetId','_getMergeRange','DeleteRangeMoveLeftCommandId','getRenderById','setStateCache','_initEntityListener','icon','_docSkeleton','transformMutation','_colorAssignService','top','setUndoRedoMutationParamsCache','getMemberID','_themeService','univer-online','NOT_COLLAB','_colorIndex','RECT','Failed','fillStyle','_toggleOffline','APPLY_DUPLICATED','propertyIsEnumerable','INVITE_CODE_HAS_BEEN_UES','collabStatus.fetchMiss','WECHAT_HAS_BEEN_BOUND','Unknown\x20user','concat','syncEditingCollabCursor','_cursorShapes','APPLY_REJECT','onPointerLeave$','_cursor','#FFF','translate(.97)','replace','replaceDocRanges','SYNCED','_draw','_ensureSubject','deepClone','debug','_context','setInterval','onTransformChange$','send','INVITE_CODE_REQUIRED','MOBILE_HAS_BEEN_BOUND','off-line-single','TOO_MANY_REQUESTS','selections','6LzFvON','isArray','getItem','session.collaboration-timeout','closePath','_cachedData','onRendered','blue400','wsSessionTicketUrl','12vQErJH','pluginName','hasOwnProperty','split','_startSheetCollabCursor','getUndoRedoMutationParamsCache','requireSession','10055zQolzZ','sheetID','registerRefRange','idSuffix','_disabled','contains','colorChannel1','search','16629987eZAUCg','getTypeOfUnitAdded$','m2Prime','pipe','registerRenderModule','UNDEFINED','entityInit$','505110ieztIe','LICENSE_MAX_UNITS_EXCEEDED','indexOf','_dataLoaderService','collabStatus.notCollab','univerjs-icon\x20univerjs-icon-','_toggleOnline','displayName','transformStateCache','add','sessionTicket','univer-flex\x20univer-items-center','_initStatusListener','attrs','_setupSubUnitSync','_updateCollabCursors','Warning','_collabCursorState$','_transformUndoRedoStack','collabStatus.offline','getParam','SNAPSHOT_INVALID_SNAPSHOT','getUnitId','YUUMI_URL_COL_OUT_OF_RANGE','_initCommandExecutedListener','name','restore','m1Prime','NOT_FOUND','_saveCache','1276uFhKBW','UNIVER_DOC','LOGIN_FAILED','SUBMIT_CHANGESET_TIMEOUT','_onCursorUpdate','on-line-single','_handleLeaveEvent','_updateLocalCursor','hide','UniverIcon','_shapes','prototype','executeCommand','extend','width','APPLY_NON_SEQUENTIAL_REVISION','AWAITING_WITH_PENDING','dispose','urlChange$','transformSelections','OnLineSingle','univer-online-status','ALREADY_EXISTS','onMouseMove','_getSessionTicket','_labelPosition','_init','OTHER_CLIENT_EDITING','INVALID_INVITE_CODE','row','_getSaveTimeout','isActive','cursorInfo','EMAIL_HAS_BEEN_BOUND','FromArray','_instanceService','_httpService','clearTimeout','undoState','startsWith','defineProperty','MUTATION','collaboration.single-unit.warning','redoState','newValue','_updateSubUnitFromURLParams','getDocRanges','unload','data','getSkeleton','_drawTextRange','_sheetSkeletonManagerService','SNAPSHOT_HAS_BEEN_REMOVED','exhaustSavingTask','NO_OTHER_CLIENTS_EDITING','InsertRowCommandId','_docTransformStateCacheService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_backgroundColor','disposeUnit','getUnitStatus$','assign','_configService','_docSkeletonManagerService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','PERMISSION_DENIED','save','_uiPartsService','_scene','length','selection','href','textRanges','_eventUnsubscribe','init','_handleEvent','className','_document','verdancy600','getViewport','_collabCursorController','_config','RemoveColCommandId','setItem','drawWith','_selfUnitIDs','2HzfzoC','APPLY_REVISION_CONFILICT','sessionStatus$','_transformService','map','_imageIoService','storage','ACTIVE_UNIT_EVENT_CHANNEL','TEXT','CLOSE_ROOM','transformByState','origin','show','_color','univer-online-status-icon','getActiveRange','OTHER_CLIENTS_EDITING','unit','setConfig','_removeClearOtherTimer','jiqing500','_id','YUUMI_SUBSCRIPTION_NOT_FOUND','stringify','mutations','xlink:href','LICENSE_IMPORT_SIZE_EXCEEDED','engine','8033242hLuVGO','code','parse','RemoveRowCommandId','274373shlnMh','onlineStatus','_hideTimer','_refRangeService','unitId','_anchor','defs','_doCreateSocket','from','runId','ticket','_assignedColors','cursorInfo$','skeleton','_textBubble','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','arc'];_0x3cb8=function(){return _0x309fa4;};return _0x3cb8();}const te=0x14,et=0xc8,ge=0x4,bi=0x5;function Oi(_0x2cc856,_0x3eabe0){const _0x2cd5be=_0x50535d;let {radius:_0x147d57,width:_0x36cbf1,height:_0x36dbbd}=_0x3eabe0;_0x147d57=_0x147d57!=null?_0x147d57:0x0,_0x36cbf1=_0x36cbf1!=null?_0x36cbf1:0x1e,_0x36dbbd=_0x36dbbd!=null?_0x36dbbd:0x1e;let _0x18fccd=0x0,_0xec30f4=0x0,_0x3204e7=0x0;_0x18fccd=_0xec30f4=_0x3204e7=Math[_0x2cd5be(0x128)](_0x147d57,_0x36cbf1/0x2,_0x36dbbd/0x2),_0x2cc856['beginPath'](),_0x2cc856[_0x2cd5be(0x132)](_0x18fccd,0x0),_0x2cc856[_0x2cd5be(0x2f8)](_0x36cbf1-_0xec30f4,0x0),_0x2cc856[_0x2cd5be(0x2a3)](_0x36cbf1-_0xec30f4,_0xec30f4,_0xec30f4,Math['PI']*0x3/0x2,0x0,!0x1),_0x2cc856[_0x2cd5be(0x2f8)](_0x36cbf1,_0x36dbbd-_0x3204e7),_0x2cc856['arc'](_0x36cbf1-_0x3204e7,_0x36dbbd-_0x3204e7,_0x3204e7,0x0,Math['PI']/0x2,!0x1),_0x2cc856[_0x2cd5be(0x2f8)](0x0,_0x36dbbd),_0x2cc856[_0x2cd5be(0x2f8)](0x0,_0x18fccd),_0x2cc856['arc'](_0x18fccd,_0x18fccd,_0x18fccd,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2cc856[_0x2cd5be(0x1e4)](),_0x3eabe0[_0x2cd5be(0x2aa)]&&(_0x2cc856['save'](),_0x2cc856[_0x2cd5be(0x1c0)]=_0x3eabe0[_0x2cd5be(0x2aa)],_0x3eabe0[_0x2cd5be(0x174)]===_0x2cd5be(0x126)?_0x2cc856[_0x2cd5be(0x2aa)](_0x2cd5be(0x126)):_0x2cc856[_0x2cd5be(0x2aa)](),_0x2cc856[_0x2cd5be(0x219)]());}class ue extends _0x8473cf{constructor(_0x34c602,_0x29671f){const _0x27bd76=_0x50535d;super(_0x34c602,_0x29671f),_(this,_0x27bd76(0x2eb)),_(this,_0x27bd76(0x178)),(this[_0x27bd76(0x2eb)]=_0x29671f==null?void 0x0:_0x29671f[_0x27bd76(0x2eb)],this[_0x27bd76(0x178)]=_0x29671f==null?void 0x0:_0x29671f[_0x27bd76(0x178)]);}static[_0x50535d(0x271)](_0x1d9c09,_0x1779a3){const _0xfbe850=_0x50535d,{text:_0xa984d0,color:_0x25cc53}=_0x1779a3;_0x1d9c09[_0xfbe850(0x25f)](),_0x1d9c09[_0xfbe850(0x30e)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x1a8656=_0x1d9c09[_0xfbe850(0x19d)](_0xa984d0)[_0xfbe850(0x22b)],_0x339a04=Math[_0xfbe850(0x128)](_0x1a8656+0x2*ge,et);Oi(_0x1d9c09,{'height':te,'radius':0x4,'width':_0x339a04,'fill':_0x25cc53}),_0x1d9c09[_0xfbe850(0x1c0)]=_0xfbe850(0x1ce);const _0x4a21aa=ge,_0x38dd0c=te-bi,_0x5eb634=et-0x2*ge;if(_0x1a8656>_0x5eb634){let _0x5bcd8c='',_0x130e51=0x0;for(const _0x1fc238 of _0xa984d0){const _0x3fbf10=_0x1d9c09[_0xfbe850(0x19d)](_0x1fc238)[_0xfbe850(0x22b)];if(_0x130e51+_0x3fbf10<=_0x5eb634-_0x1d9c09['measureText'](_0xfbe850(0x2b6))[_0xfbe850(0x22b)])_0x5bcd8c+=_0x1fc238,_0x130e51+=_0x3fbf10;else{_0x5bcd8c+=_0xfbe850(0x2b6);break;}}_0x1d9c09[_0xfbe850(0x146)](_0x5bcd8c,_0x4a21aa,_0x38dd0c);}else _0x1d9c09[_0xfbe850(0x146)](_0xa984d0,_0x4a21aa,_0x38dd0c);_0x1d9c09['restore']();}['_draw'](_0x228b94){ue['drawWith'](_0x228b94,this);}}const ve=_0x50535d(0x2f1),Ti='collab-text-range-',Ri=_0x50535d(0x140),X=0x6,Di=1.5,Ie=0x4,Ni=1.5,Mi=_0x50535d(0x18c);class tt{constructor(_0x1aee32,_0x4de928,_0x4c885c,_0x2ccb47){const _0x3795e5=_0x50535d;_(this,_0x3795e5(0x227),[]),_(this,'_anchor',null),_(this,'_textBubble',null),_(this,'_anchorDot',null),_(this,'_hideTimer',null),_(this,_0x3795e5(0x266),null),(this[_0x3795e5(0x1cd)]=_0x1aee32,this[_0x3795e5(0x261)]=_0x4de928,this[_0x3795e5(0x1b4)]=_0x4c885c,this[_0x3795e5(0x26a)]=_0x2ccb47,this[_0x3795e5(0x322)]());}set['_hover'](_0x2e9593){const _0x56bb0a=_0x50535d;_0x2e9593?(this[_0x56bb0a(0x2c6)]&&this[_0x56bb0a(0x2c6)][_0x56bb0a(0x225)](),this[_0x56bb0a(0x2a1)]&&this[_0x56bb0a(0x2a1)][_0x56bb0a(0x27f)]()):(this[_0x56bb0a(0x2c6)]&&this['_anchorDot'][_0x56bb0a(0x27f)](),this[_0x56bb0a(0x2a1)]&&this['_textBubble']['hide']());}[_0x50535d(0x22e)](){const _0x17d028=_0x50535d;for(const _0x10fbdb of this[_0x17d028(0x227)])_0x10fbdb[_0x17d028(0x22e)]();this['_textBubble']&&this[_0x17d028(0x2a1)][_0x17d028(0x22e)](),this[_0x17d028(0x2c6)]&&this[_0x17d028(0x2c6)][_0x17d028(0x22e)](),this[_0x17d028(0x298)]&&this['_anchor']['dispose'](),this['_eventUnsubscribe']&&this[_0x17d028(0x266)]();}[_0x50535d(0x322)](){const _0x537050=_0x50535d;var _0x1d318a;const {_docSkeleton:_0x585868,_document:_0x4da7ce}=this,{color:_0x194ee8,name:_0x55241c,ranges:_0x285b3c}=this[_0x537050(0x1cd)],_0x2a6858=_0x4da7ce['getOffsetConfig'](),{docsLeft:_0x281101,docsTop:_0x2c8fcb}=_0x2a6858,_0x3dbf75=new _0x128840(_0x2a6858,_0x585868);for(const {startOffset:_0x5a5c8e,endOffset:_0x2271e4,rangeType:_0xa4d8b6,segmentId:_0x109798,segmentPage:_0x3c9ba8,collapsed:_0x3ccf3b,isActive:_0x4b714c}of _0x285b3c){const _0x26b328=_0x585868[_0x537050(0x2f6)](_0x5a5c8e,!0x0,_0x109798,_0x3c9ba8);let _0x45c6a9=_0x585868['findNodePositionByCharIndex'](_0x2271e4,!0x0,_0x109798,_0x3c9ba8);if(_0x45c6a9==null&&(_0x45c6a9=_0x585868[_0x537050(0x2f6)](_0x2271e4-0x1,!0x1,_0x109798,_0x3c9ba8)),_0x4b714c){const {contentBoxPointGroup:_0x5d97b6}=_0x3dbf75[_0x537050(0x161)](_0x45c6a9,_0x45c6a9);if(_0x5d97b6['length']===0x0)continue;this['_drawAnchor'](_0x194ee8,_0x5d97b6,_0x281101,_0x2c8fcb,_0x55241c),this[_0x537050(0x266)]=this[_0x537050(0x31c)]();}if(_0x26b328&&_0x45c6a9){if(_0xa4d8b6===_0x5cff6f[_0x537050(0x1be)]){const _0x2d6a2d=new _0x4c5056(_0x2a6858,_0x585868),{pointGroup:_0x4f67dd}=(_0x1d318a=_0x2d6a2d[_0x537050(0x161)](_0x26b328,_0x45c6a9))!=null?_0x1d318a:{};if(_0x4f67dd==null||_0x4f67dd[_0x537050(0x262)]===0x0)continue;this[_0x537050(0x13e)](_0x194ee8,_0x4f67dd,_0x281101,_0x2c8fcb);}else{if(!_0x3ccf3b){const {borderBoxPointGroup:_0xc6f1ee}=_0x3dbf75[_0x537050(0x161)](_0x26b328,_0x45c6a9);if(_0xc6f1ee[_0x537050(0x262)]===0x0)continue;this[_0x537050(0x24f)](_0x194ee8,_0xc6f1ee,_0x281101,_0x2c8fcb);}}}}}['_drawAnchor'](_0x2d5202,_0x3744b2,_0x952826,_0x536418,_0x5932c1){const _0x38c12e=_0x50535d,_0x40bdfc=this[_0x38c12e(0x162)](_0x3744b2),{left:_0x32fe4c,top:_0x3fa495,height:_0x8bcd8}=_0x40bdfc,_0x38b758=this['_getScale'](),_0x4faedd=Ni/_0x38b758,_0x33a15c=new _0x3983d1(ve+_0x5190d2[_0x38c12e(0x197)](X),{'left':_0x32fe4c+_0x952826-_0x4faedd,'top':_0x3fa495+_0x536418,'height':_0x8bcd8,'width':Di,'fill':_0x2d5202||_0x302dc7(_0x3e9653['black'],0x0),'strokeWidth':_0x4faedd,'stroke':Mi,'evented':!0x0});this[_0x38c12e(0x298)]=_0x33a15c,this[_0x38c12e(0x261)]['addObject'](_0x33a15c,_0xb5cd32);const _0x49ffe3=new _0x3983d1(ve+_0x5190d2['generateRandomId'](X),{'left':_0x32fe4c+_0x952826-_0x4faedd,'top':_0x3fa495+_0x536418-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x2d5202||_0x302dc7(_0x3e9653[_0x38c12e(0x17e)],0x0),'strokeWidth':0x0,'stroke':_0x2d5202||_0x302dc7(_0x3e9653['black'],0x0),'evented':!0x1});this[_0x38c12e(0x2c6)]=_0x49ffe3,this[_0x38c12e(0x261)][_0x38c12e(0x1a7)](_0x49ffe3,_0xb5cd32);const _0x3990a2=new ue(ve+_0x5190d2[_0x38c12e(0x197)](X),{'left':_0x32fe4c+_0x952826-_0x4faedd,'top':_0x3fa495+_0x536418-te,'text':_0x5932c1,'color':_0x2d5202});this[_0x38c12e(0x2a1)]=_0x3990a2,this[_0x38c12e(0x261)][_0x38c12e(0x1a7)](_0x3990a2,_0xb5cd32),this[_0x38c12e(0x320)]=!0x1;}[_0x50535d(0x31c)](){const _0x152fff=_0x50535d,_0x194414=this[_0x152fff(0x298)]['onPointerEnter$'][_0x152fff(0x319)](()=>{this['_hover']=!0x0;}),_0x2d7eaf=this[_0x152fff(0x298)][_0x152fff(0x1cc)][_0x152fff(0x319)](()=>{const _0x4a9fc9=_0x152fff;this[_0x4a9fc9(0x295)]&&clearTimeout(this['_hideTimer']),this[_0x4a9fc9(0x295)]=setTimeout(()=>{const _0x68c43b=_0x4a9fc9;this[_0x68c43b(0x320)]=!0x1;},0x7d0);});return()=>{const _0x46a5a3=_0x152fff;_0x194414[_0x46a5a3(0x176)](),_0x2d7eaf[_0x46a5a3(0x176)]();};}['_drawTextRange'](_0x5c3ffc,_0x16055f,_0x4f555a,_0x568c8e){const _0x316b8e=_0x50535d,_0x570994=new _0xaea1bd(_0x5c3ffc)['setAlpha'](0.2)[_0x316b8e(0x12e)](),_0x39d7d9=new _0x3f0a9a(Ti+_0x5190d2['generateRandomId'](X),{'pointsGroup':_0x16055f,'fill':_0x570994||_0x302dc7(_0x3e9653[_0x316b8e(0x17e)],0.2),'left':_0x4f555a,'top':_0x568c8e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x316b8e(0x227)][_0x316b8e(0x2d6)](_0x39d7d9),this[_0x316b8e(0x261)][_0x316b8e(0x1a7)](_0x39d7d9,_0xb5cd32);}['_drawRectRange'](_0x238a45,_0x48dc63,_0x4df386,_0x416961){const _0x1ac297=_0x50535d,_0x1c35a1=new _0xaea1bd(_0x238a45)['setAlpha'](0.2)[_0x1ac297(0x12e)](),_0x32d347=new _0x3f0a9a(Ri+_0x5190d2['generateRandomId'](X),{'pointsGroup':_0x48dc63,'fill':_0x1c35a1||_0x302dc7(_0x3e9653['black'],0.2),'left':_0x4df386,'top':_0x416961,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x32d347),this[_0x1ac297(0x261)][_0x1ac297(0x1a7)](_0x32d347,_0xb5cd32);}['_getAnchorBounding'](_0x5e6289){const _0x3a6f30=_0x5e6289[0x0],_0xbb4eb5=_0x3a6f30[0x0],_0x1e62b0=_0x3a6f30[0x2],{x:_0x3488bb,y:_0x353437}=_0xbb4eb5,{x:_0x590e35,y:_0x3d121d}=_0x1e62b0;return{'left':_0x3488bb,'top':_0x353437,'width':_0x590e35-_0x3488bb,'height':_0x3d121d-_0x353437};}[_0x50535d(0x305)](){const _0xac9b2f=_0x50535d,{scaleX:_0x504750,scaleY:_0x592ed2}=this['_scene'][_0xac9b2f(0x30f)]();return Math['max'](_0x504750,_0x592ed2);}}var Pi=Object[_0x50535d(0x13f)],wi=(_0x42377c,_0x2d634f,_0x2bf5a9,_0x394f23)=>{const _0x32bf6f=_0x50535d;for(var _0x46d975=_0x394f23>0x1?void 0x0:_0x394f23?Pi(_0x2d634f,_0x2bf5a9):_0x2d634f,_0x5ba267=_0x42377c[_0x32bf6f(0x262)]-0x1,_0x37032f;_0x5ba267>=0x0;_0x5ba267--)(_0x37032f=_0x42377c[_0x5ba267])&&(_0x46d975=_0x37032f(_0x46d975)||_0x46d975);return _0x46d975;},Q=(_0x189089,_0x161cba)=>(_0xd8d94f,_0xeda8a4)=>_0x161cba(_0xd8d94f,_0xeda8a4,_0x189089);let Ue=class extends _0x52b105{constructor(_0x4f7eae,_0x483ff9,_0x11c5a5,_0x5c65f5,_0x5d9ede){const _0x2768e7=_0x50535d;super(),_(this,_0x2768e7(0x1ca),[]),_(this,_0x2768e7(0x16c),[]),(this[_0x2768e7(0x1d7)]=_0x4f7eae,this[_0x2768e7(0x25c)]=_0x483ff9,this[_0x2768e7(0x26d)]=_0x11c5a5,this[_0x2768e7(0x142)]=_0x5c65f5,this[_0x2768e7(0x1ba)]=_0x5d9ede,this[_0x2768e7(0x237)]());}[_0x50535d(0x237)](){const _0x571c19=_0x50535d,_0x1b9fdc=this[_0x571c19(0x1d7)][_0x571c19(0x297)],_0x2bb30f=this['_docSkeletonManagerService'];this['disposeWithMe'](_0x2fd5a2([this[_0x571c19(0x26d)][_0x571c19(0x30a)](_0x1b9fdc),this[_0x571c19(0x1ba)][_0x571c19(0x2d2)]])[_0x571c19(0x1fb)](_0x5228a3(([_0x9dec0c,_0x1015c9])=>({'skeleton':_0x2bb30f[_0x571c19(0x24e)](),'cursors':[..._0x9dec0c['values']()][_0x571c19(0x314)](_0x463038=>({..._0x463038,'color':_0x1015c9[_0x463038[_0x571c19(0x2eb)]]}))})))[_0x571c19(0x2fc)](_0x3431e8=>{const _0x2cb81e=_0x571c19;if(this[_0x2cb81e(0x306)](),_0x3431e8){const {skeleton:_0x530b27,cursors:_0x534cf5}=_0x3431e8;this['_updateCollabCursors'](_0x530b27,_0x534cf5);}})),this['_initResize'](),this[_0x571c19(0x217)]();}[_0x50535d(0x20e)](_0x366aaa,_0x32fd0c){const _0x19f208=_0x50535d,{scene:_0x55ec65,mainComponent:_0x2ea705}=this[_0x19f208(0x1d7)],_0x250009=_0x32fd0c['map'](_0x4238c4=>new tt(_0x4238c4,_0x55ec65,_0x366aaa,_0x2ea705));this[_0x19f208(0x1ca)]=_0x250009,this[_0x19f208(0x16c)]=_0x32fd0c;}[_0x50535d(0x2b3)](){const _0x3644b8=_0x50535d;this[_0x3644b8(0x306)]();const {scene:_0x441074,mainComponent:_0x34726d}=this[_0x3644b8(0x1d7)],_0x24e46a=this[_0x3644b8(0x25c)][_0x3644b8(0x24e)](),_0x3f9950=this[_0x3644b8(0x16c)][_0x3644b8(0x277)](_0x48e465=>new tt(_0x48e465,_0x441074,_0x24e46a,_0x34726d));this[_0x3644b8(0x1ca)]=_0x3f9950;}[_0x50535d(0x306)](){const _0x45fd50=_0x50535d;this[_0x45fd50(0x1ca)]['forEach'](_0x28362f=>_0x28362f[_0x45fd50(0x22e)]()),this[_0x45fd50(0x1ca)]=[];}[_0x50535d(0x217)](){const _0x346bc1=_0x50535d,_0x2558bb=[_0x3c13ce['id']];this['disposeWithMe'](this[_0x346bc1(0x142)][_0x346bc1(0x16e)](_0x30eed5=>{const _0x577d29=_0x346bc1;_0x2558bb[_0x577d29(0x2b8)](_0x30eed5['id'])&&_0x30eed5[_0x577d29(0x316)][_0x577d29(0x297)]===this[_0x577d29(0x1d7)][_0x577d29(0x297)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0xc63690=_0x50535d;this[_0xc63690(0x17c)](_0x132040(this[_0xc63690(0x1d7)][_0xc63690(0x28e)][_0xc63690(0x1d9)])[_0xc63690(0x1fb)](_0x52ee01(_0x5f1bf9=>_0x5f1bf9[_0xc63690(0x302)]===_0x3c3f70['resize']),_0x3d7ce1(0x10))[_0xc63690(0x2fc)](()=>{this['_refreshCollabCursors']();}));}};Ue=wi([Q(0x1,_0x41cc9a(_0x1c23d4)),Q(0x2,_0x41cc9a(H)),Q(0x3,_0x358876),Q(0x4,_0x41cc9a(_0x14bc52))],Ue);const Ui=0x1,Li=1.5;class Ai extends _0x8473cf{constructor(_0x204842,_0x1f3797){const _0x3d91b1=_0x50535d;super(_0x204842,_0x1f3797),_(this,_0x3d91b1(0x280)),_(this,_0x3d91b1(0x2de),!0x1),_(this,_0x3d91b1(0x116)),_(this,_0x3d91b1(0x155),''),_(this,'_labelPosition',_0x3d91b1(0x1b7)),_(this,'_backgroundColor'),(_0x1f3797&&this[_0x3d91b1(0x323)](_0x1f3797),this[_0x3d91b1(0x2fe)]['subscribeEvent'](()=>this[_0x3d91b1(0x323)]({'hovered':!0x0})),this[_0x3d91b1(0x1cc)][_0x3d91b1(0x319)](()=>this[_0x3d91b1(0x323)]({'hovered':!0x1})));}['setShapeProps'](_0x274f12){const _0x42cd74=_0x50535d;var _0x37a861,_0x1a9b3d,_0x5c03db,_0x5cd8e0,_0xd29531,_0xd8f983;this[_0x42cd74(0x280)]=(_0x37a861=_0x274f12[_0x42cd74(0x2eb)])!=null?_0x37a861:this[_0x42cd74(0x280)],this['_hovered']=(_0x1a9b3d=_0x274f12[_0x42cd74(0x144)])!=null?_0x1a9b3d:this['_hovered'],this['_range']=(_0x5c03db=_0x274f12[_0x42cd74(0x2ea)])!=null?_0x5c03db:this[_0x42cd74(0x116)],this[_0x42cd74(0x155)]=(_0x5cd8e0=_0x274f12[_0x42cd74(0x218)])!=null?_0x5cd8e0:this[_0x42cd74(0x155)],this['_labelPosition']=(_0xd29531=_0x274f12['labelPosition'])!=null?_0xd29531:this['_labelPosition'],this[_0x42cd74(0x257)]=(_0xd8f983=_0x274f12['backgroundColor'])!=null?_0xd8f983:this[_0x42cd74(0x257)],this[_0x42cd74(0x27d)]({'width':_0x274f12[_0x42cd74(0x22b)],'height':_0x274f12[_0x42cd74(0x14c)]});}[_0x50535d(0x234)](_0x80915d){const _0x37d033=_0x50535d,{row:_0x47d0b7,column:_0x2d3aff}=_0x80915d;if(_0x47d0b7>=this[_0x37d033(0x116)][_0x37d033(0x171)]&&_0x47d0b7<=this['_range']['endRow']&&_0x2d3aff>=this[_0x37d033(0x116)][_0x37d033(0x326)]&&_0x2d3aff<=this[_0x37d033(0x116)][_0x37d033(0x2e9)]){this[_0x37d033(0x323)]({'hovered':!0x0});return;}this[_0x37d033(0x323)]({'hovered':!0x1});}[_0x50535d(0x153)](_0x6bb58b){return!0x1;}[_0x50535d(0x1d3)](_0x5ee9b7){const _0x638da3=_0x50535d;_0x3983d1['drawWith'](_0x5ee9b7,{'width':this[_0x638da3(0x22b)],'height':this['height'],'strokeWidth':Li,'stroke':this[_0x638da3(0x280)],'evented':!0x1,'fill':this[_0x638da3(0x257)]}),this['_hovered']&&(_0x5ee9b7[_0x638da3(0x25f)](),_0x5ee9b7['transform'](0x1,0x0,0x0,0x1,this[_0x638da3(0x22b)],this[_0x638da3(0x236)]===_0x638da3(0x2a6)?0x0:-0x14),ue[_0x638da3(0x271)](_0x5ee9b7,{'text':this['_name'],'color':this[_0x638da3(0x280)]}),_0x5ee9b7[_0x638da3(0x219)]());}}var yi=Object['getOwnPropertyDescriptor'],$i=(_0x4dbf70,_0x38b150,_0x18f573,_0x148ba8)=>{const _0x155bc1=_0x50535d;for(var _0x5cdb98=_0x148ba8>0x1?void 0x0:_0x148ba8?yi(_0x38b150,_0x18f573):_0x38b150,_0x20d6f9=_0x4dbf70[_0x155bc1(0x262)]-0x1,_0x58e3e2;_0x20d6f9>=0x0;_0x20d6f9--)(_0x58e3e2=_0x4dbf70[_0x20d6f9])&&(_0x5cdb98=_0x58e3e2(_0x5cdb98)||_0x5cdb98);return _0x5cdb98;},pe=(_0x569843,_0x1958a1)=>(_0x4e3e98,_0x3340bc)=>_0x1958a1(_0x4e3e98,_0x3340bc,_0x569843);const xi=0x1389;let Le=class extends _0x52b105{constructor(_0x1a857b,_0x19cc2d,_0xb3b535,_0x4b71d9){const _0x348acb=_0x50535d;super(),_(this,'_cursors',new Set()),_(this,_0x348acb(0x2b9),null),(this[_0x348acb(0x1d7)]=_0x1a857b,this[_0x348acb(0x250)]=_0x19cc2d,this[_0x348acb(0x26d)]=_0xb3b535,this[_0x348acb(0x1ba)]=_0x4b71d9,this[_0x348acb(0x237)]());}[_0x50535d(0x237)](){const _0x51ebab=_0x50535d;this['_sheetSkeletonManagerService'][_0x51ebab(0x11b)]['pipe'](_0x1a7e5a(this[_0x51ebab(0x2cb)]),_0x5ab2d3(_0x4f9221=>{const _0x17868c=_0x51ebab;if(_0x4f9221){const _0x4b634f=_0x4f9221['sheetId'];return _0x2fd5a2(this[_0x17868c(0x26d)][_0x17868c(0x30a)](this['_context'][_0x17868c(0x297)]),this[_0x17868c(0x1ba)][_0x17868c(0x2d2)])['pipe'](_0x5228a3(([_0x19e60e,_0x4bc8f2])=>{const _0x3a69a3=_0x17868c,_0x214aed=new Map();return _0x19e60e[_0x3a69a3(0x160)]((_0x124587,_0x2666a3)=>{const _0x57a6f2=_0x3a69a3;if(_0x124587[_0x57a6f2(0x1f1)]===_0x4b634f){const _0x413d4f={..._0x124587};_0x413d4f[_0x57a6f2(0x2eb)]=_0x4bc8f2[_0x124587[_0x57a6f2(0x2eb)]],_0x214aed[_0x57a6f2(0x31e)](_0x2666a3,_0x413d4f);}}),{'skeleton':_0x4f9221,'cursors':_0x214aed};}));}return _0x5702d8({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x40591b,cursors:_0x42a737})=>{const _0x3d3e53=_0x51ebab;this[_0x3d3e53(0x306)](),_0x40591b&&this[_0x3d3e53(0x20e)](_0x40591b,_0x42a737);}),this['_sheetSkeletonManagerService'][_0x51ebab(0x11b)][_0x51ebab(0x2fc)](_0x4d5976=>{const _0x5a8f30=_0x51ebab;if(_0x4d5976==null)return;const {skeleton:_0x31b1cb}=_0x4d5976,{scene:_0x1a1df5}=this[_0x5a8f30(0x1d7)];_0x1a1df5['onPointerMove$'][_0x5a8f30(0x319)](_0x339e31(_0x4d0b4b=>{const _0x46578b=_0x5a8f30;var _0x1340ad,_0x315896;const {offsetX:_0x26c99a,offsetY:_0x942438}=_0x4d0b4b,{x:_0x1a69ae,y:_0xacdcb0}=_0x1a1df5[_0x46578b(0x177)](_0x494c2b[_0x46578b(0x23f)]([_0x26c99a,_0x942438])),{scaleX:_0x517c25,scaleY:_0x5a4cac}=_0x1a1df5[_0x46578b(0x30f)](),_0x52d668=_0x1a1df5[_0x46578b(0x26c)](_0x195527[_0x46578b(0x122)]),_0x1a7320=_0x1a1df5[_0x46578b(0x2a5)](_0x494c2b[_0x46578b(0x23f)]([_0x1a69ae,_0xacdcb0]),_0x52d668),_0x2bf5e4=_0x31b1cb[_0x46578b(0x1aa)](_0x26c99a,_0x942438,_0x517c25,_0x5a4cac,_0x1a7320);((_0x1340ad=this[_0x46578b(0x2b9)])==null?void 0x0:_0x1340ad[_0x46578b(0x120)])===_0x2bf5e4['column']&&((_0x315896=this[_0x46578b(0x2b9)])==null?void 0x0:_0x315896[_0x46578b(0x23a)])===_0x2bf5e4[_0x46578b(0x23a)]||this['_cursors']['forEach'](_0xf7ba53=>{const _0xe422a3=_0x46578b;_0xf7ba53[_0xe422a3(0x234)](_0x2bf5e4);});},0x64));});}['_updateCollabCursors'](_0x32e9bc,_0x42a67d){const _0x2633f8=_0x50535d;var _0x3a1b83;const _0x3757a3=(_0x3a1b83=this[_0x2633f8(0x250)]['getCurrent']())==null?void 0x0:_0x3a1b83[_0x2633f8(0x2a0)];if(!_0x3757a3)return;const _0x5e1aad=this[_0x2633f8(0x121)]();if(!_0x5e1aad)return;this[_0x2633f8(0x16c)]['forEach'](_0x3f3f1b=>{const _0x168e41=_0x2633f8;_0x3f3f1b[_0x168e41(0x166)]();});const {scene:_0x549664}=_0x5e1aad,_0x2cc0e6=Bi(Array[_0x2633f8(0x29b)](_0x42a67d['values']()))[_0x2633f8(0x277)](_0x25966d=>{const _0x4e5a7a=_0x2633f8,{color:_0xd39c9a,range:_0x39a9e8,name:_0x512544,selection:_0x5a8d2d,sheetID:_0x310e77}=_0x25966d,{startColumn:_0x3baf15,startRow:_0x1a44a3,endColumn:_0x29d1dc,endRow:_0x1f2599}=_0x39a9e8,_0x52c6fa=_0x3e5c31(_0x1a44a3,_0x3baf15,_0x549664,_0x3757a3),_0x52dda4=_0x3e5c31(_0x1f2599,_0x29d1dc,_0x549664,_0x3757a3),{columnHeaderHeightAndMarginTop:_0x436382}=_0x3757a3,{startX:_0x5dfedb,startY:_0x899506}=_0x52c6fa,{endX:_0x16ae32,endY:_0x319a24}=_0x52dda4,_0x785d4c=_0x16ae32-_0x5dfedb,_0x2f0061=_0x319a24-_0x899506,_0xc2b1cc={'labelPosition':_0x899506-_0x436382>=te?'top':_0x4e5a7a(0x2a6),'sheetID':_0x310e77,'range':_0x39a9e8,'color':_0xd39c9a,'name':_0x512544,'selection':_0x5a8d2d,'left':_0x5dfedb,'top':_0x899506,'width':_0x785d4c,'height':_0x2f0061,'evented':!0x1,'zIndex':xi};return new Ai(_0x512544,_0xc2b1cc);});_0x549664[_0x2633f8(0x188)](_0x2cc0e6,Ui),this[_0x2633f8(0x16c)]=new Set(_0x2cc0e6);}['_removeCollabCursors'](){const _0x5dc10=_0x50535d;var _0x828849;(_0x828849=this[_0x5dc10(0x16c)])==null||_0x828849[_0x5dc10(0x160)](_0x181719=>_0x181719[_0x5dc10(0x22e)]());}[_0x50535d(0x121)](){const _0x5d04c3=_0x50535d;return _0x5dc749(this[_0x5d04c3(0x1d7)][_0x5d04c3(0x284)],this[_0x5d04c3(0x1d7)]);}};Le=$i([pe(0x1,_0x41cc9a(_0x2539ed)),pe(0x2,_0x41cc9a(H)),pe(0x3,_0x41cc9a(_0x14bc52))],Le);function Bi(_0x7bc5c1){const _0x29afd=_0x50535d,_0x169125=new Map();return _0x7bc5c1['forEach'](_0x69456=>{const _0x312b79=_0x59c4;if(_0x169125['has'](_0x69456[_0x312b79(0x263)])){const _0x1d69c6=_0x169125[_0x312b79(0x154)](_0x69456[_0x312b79(0x263)]);_0x1d69c6[_0x312b79(0x218)]+=',\x20'+_0x69456['name'];}else _0x169125[_0x312b79(0x31e)](_0x69456[_0x312b79(0x263)],_0x69456);}),Array[_0x29afd(0x29b)](_0x169125[_0x29afd(0x15d)]());}var I=function(){const _0x5b8e16=_0x50535d;return I=Object[_0x5b8e16(0x25a)]||function(_0x1d364f){const _0x4e5afd=_0x5b8e16;for(var _0x1ffb3e,_0x19cfc9=0x1,_0x965cf=arguments[_0x4e5afd(0x262)];_0x19cfc9<_0x965cf;_0x19cfc9++){_0x1ffb3e=arguments[_0x19cfc9];for(var _0x7b2ded in _0x1ffb3e)Object[_0x4e5afd(0x228)]['hasOwnProperty']['call'](_0x1ffb3e,_0x7b2ded)&&(_0x1d364f[_0x7b2ded]=_0x1ffb3e[_0x7b2ded]);}return _0x1d364f;},I[_0x5b8e16(0x15f)](this,arguments);},ki=function(_0x3c90ac,_0x52a2ef){const _0x536254=_0x50535d;var _0x44dd0e={};for(var _0x2fba53 in _0x3c90ac)Object[_0x536254(0x228)][_0x536254(0x1eb)][_0x536254(0x15b)](_0x3c90ac,_0x2fba53)&&_0x52a2ef[_0x536254(0x201)](_0x2fba53)<0x0&&(_0x44dd0e[_0x2fba53]=_0x3c90ac[_0x2fba53]);if(_0x3c90ac!=null&&typeof Object[_0x536254(0x2c3)]==_0x536254(0x1ab)){for(var _0x2613b5=0x0,_0x2fba53=Object[_0x536254(0x2c3)](_0x3c90ac);_0x2613b5<_0x2fba53[_0x536254(0x262)];_0x2613b5++)_0x52a2ef[_0x536254(0x201)](_0x2fba53[_0x2613b5])<0x0&&Object[_0x536254(0x228)][_0x536254(0x1c3)]['call'](_0x3c90ac,_0x2fba53[_0x2613b5])&&(_0x44dd0e[_0x2fba53[_0x2613b5]]=_0x3c90ac[_0x2fba53[_0x2613b5]]);}return _0x44dd0e;},We=_0x416825(function(_0x4cb1ae,_0x21e2a3){const _0x5448df=_0x50535d;var _0x1b6399=_0x4cb1ae[_0x5448df(0x1b3)],_0x306646=_0x4cb1ae['id'],_0x2980c5=_0x4cb1ae[_0x5448df(0x269)],_0x2deb76=_0x4cb1ae[_0x5448df(0x22a)],_0x4b484a=ki(_0x4cb1ae,[_0x5448df(0x1b3),'id',_0x5448df(0x269),_0x5448df(0x22a)]),_0x144a15=_0x5448df(0x204)[_0x5448df(0x1c8)](_0x306646,'\x20')[_0x5448df(0x1c8)](_0x2980c5||'')[_0x5448df(0x18a)](),_0x4a21db=_0x5e2f7e('_'[_0x5448df(0x1c8)](Wi()));return Nt(_0x1b6399,''[_0x5448df(0x1c8)](_0x306646),{'defIds':_0x1b6399[_0x5448df(0x180)],'idSuffix':_0x4a21db[_0x5448df(0x112)]},I({'ref':_0x21e2a3,'className':_0x144a15},_0x4b484a),_0x2deb76);});function Nt(_0x45b9fc,_0x15f4e4,_0x47a768,_0x15db91,_0x3d0364){const _0x18eb32=_0x50535d;return _0x2752e3(_0x45b9fc[_0x18eb32(0x129)],I(I({'key':_0x15f4e4},Hi(_0x45b9fc,_0x47a768,_0x3d0364)),_0x15db91),(ji(_0x45b9fc,_0x47a768)[_0x18eb32(0x2ca)]||[])[_0x18eb32(0x277)](function(_0x536962,_0x326182){const _0x458907=_0x18eb32;return Nt(_0x536962,''[_0x458907(0x1c8)](_0x15f4e4,'-')[_0x458907(0x1c8)](_0x45b9fc['tag'],'-')[_0x458907(0x1c8)](_0x326182),_0x47a768,void 0x0,_0x3d0364);}));}function Hi(_0x16f8d1,_0x2aa74a,_0x3de6d9){const _0x726bb=_0x50535d;var _0xcced9a=I({},_0x16f8d1[_0x726bb(0x20c)]);_0x3de6d9!=null&&_0x3de6d9['colorChannel1']&&_0xcced9a[_0x726bb(0x2aa)]===_0x726bb(0x1f6)&&(_0xcced9a[_0x726bb(0x2aa)]=_0x3de6d9[_0x726bb(0x1f6)]),_0x16f8d1['tag']===_0x726bb(0x317)&&_0xcced9a['id']&&(_0xcced9a['id']=_0xcced9a['id']+_0x2aa74a[_0x726bb(0x1f3)]),Object['entries'](_0xcced9a)['forEach'](function(_0x38d917){const _0x312694=_0x726bb;var _0x144152=_0x38d917[0x0],_0x4b2995=_0x38d917[0x1];_0x144152===_0x312694(0x317)&&typeof _0x4b2995==_0x312694(0x170)&&(_0xcced9a[_0x144152]=_0x4b2995['replace'](/url\(#(.*)\)/,_0x312694(0x18b)[_0x312694(0x1c8)](_0x2aa74a['idSuffix'],')')));});var _0x531583=_0x2aa74a[_0x726bb(0x180)];return!_0x531583||_0x531583[_0x726bb(0x262)]===0x0||(_0x16f8d1[_0x726bb(0x129)]==='use'&&_0xcced9a[_0x726bb(0x28c)]&&(_0xcced9a[_0x726bb(0x28c)]=_0xcced9a[_0x726bb(0x28c)]+_0x2aa74a[_0x726bb(0x1f3)]),Object[_0x726bb(0x11a)](_0xcced9a)[_0x726bb(0x160)](function(_0x29686f){const _0x27013a=_0x726bb;var _0x49e20e=_0x29686f[0x0],_0x236e2c=_0x29686f[0x1];typeof _0x236e2c=='string'&&(_0xcced9a[_0x49e20e]=_0x236e2c[_0x27013a(0x1d0)](/url\(#(.*)\)/,_0x27013a(0x18b)[_0x27013a(0x1c8)](_0x2aa74a[_0x27013a(0x1f3)],')')));})),_0xcced9a;}function ji(_0x485b73,_0x10d4e9){const _0x4281a7=_0x50535d;var _0x4f6921,_0x4f157a=_0x10d4e9[_0x4281a7(0x180)];return!_0x4f157a||_0x4f157a[_0x4281a7(0x262)]===0x0?_0x485b73:_0x485b73[_0x4281a7(0x129)]===_0x4281a7(0x299)&&(!((_0x4f6921=_0x485b73['children'])===null||_0x4f6921===void 0x0)&&_0x4f6921[_0x4281a7(0x262)])?I(I({},_0x485b73),{'children':_0x485b73[_0x4281a7(0x2ca)][_0x4281a7(0x277)](function(_0x4587f4){const _0x287a6a=_0x4281a7;return typeof _0x4587f4[_0x287a6a(0x20c)]['id']=='string'&&_0x4f157a&&_0x4f157a[_0x287a6a(0x201)](_0x4587f4[_0x287a6a(0x20c)]['id'])>-0x1?I(I({},_0x4587f4),{'attrs':I(I({},_0x4587f4[_0x287a6a(0x20c)]),{'id':_0x4587f4['attrs']['id']+_0x10d4e9[_0x287a6a(0x1f3)]})}):_0x4587f4;})}):_0x485b73;}function Wi(){const _0x13535d=_0x50535d;return Math[_0x13535d(0x2cf)]()[_0x13535d(0x2ad)](0x24)[_0x13535d(0x311)](0x2,0x8);}We['displayName']=_0x50535d(0x226);var Fi={'tag':_0x50535d(0x117),'attrs':{'fill':'none','viewBox':_0x50535d(0x182),'width':_0x50535d(0x13d),'height':_0x50535d(0x13d)},'children':[{'tag':'g','attrs':{'clipPath':_0x50535d(0x2b0)},'children':[{'tag':_0x50535d(0x2dd),'attrs':{'stroke':'currentColor','d':_0x50535d(0x2ff),'strokeLinecap':_0x50535d(0x179),'strokeLinejoin':_0x50535d(0x179),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x50535d(0x2ed),'attrs':{'id':_0x50535d(0x113)},'children':[{'tag':_0x50535d(0x2dd),'attrs':{'fill':_0x50535d(0x2d5),'d':_0x50535d(0x1a9)}}]}]}],'defIds':['off-line-single_clip0_910_343']},Mt=_0x416825(function(_0x60f67a,_0x4e9eb6){const _0x98a2db=_0x50535d;return _0x2752e3(We,Object['assign']({},_0x60f67a,{'id':_0x98a2db(0x1dd),'ref':_0x4e9eb6,'icon':Fi}));});Mt[_0x50535d(0x206)]=_0x50535d(0x2c0);var Vi={'tag':'svg','attrs':{'fill':_0x50535d(0x2db),'viewBox':_0x50535d(0x2c4),'width':_0x50535d(0x13d),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x50535d(0x2cd)},'children':[{'tag':_0x50535d(0x2dd),'attrs':{'stroke':_0x50535d(0x2d8),'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':_0x50535d(0x179),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x50535d(0x2d5),'d':_0x50535d(0x1a9),'transform':_0x50535d(0x1cf)}}]}]}],'defIds':[_0x50535d(0x2f5)]},Pt=_0x416825(function(_0x394f6c,_0x5e885a){const _0x262cc0=_0x50535d;return _0x2752e3(We,Object['assign']({},_0x394f6c,{'id':_0x262cc0(0x222),'ref':_0x5e885a,'icon':Vi}));});Pt[_0x50535d(0x206)]=_0x50535d(0x231);const Yi=_0x50535d(0x281),Xi=_0x50535d(0x194),Gi=_0x50535d(0x232),Ki=_0x50535d(0x1bb),zi='univer-offline',G={'onlineStatusIcon':Yi,'onlineStatusTitle':Xi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0x5b176e){const _0x5140b7=_0x50535d;switch(_0x5b176e){case _0x4cd4c0[_0x5140b7(0x321)]:return _0x5140b7(0x212);case _0x4cd4c0[_0x5140b7(0x310)]:return _0x5140b7(0x2ae);case _0x4cd4c0['FETCH_MISS']:return _0x5140b7(0x1c5);case _0x4cd4c0[_0x5140b7(0x1bc)]:return _0x5140b7(0x203);case _0x4cd4c0[_0x5140b7(0x2da)]:case _0x4cd4c0[_0x5140b7(0x22d)]:return _0x5140b7(0x156);case _0x4cd4c0[_0x5140b7(0x1d2)]:case _0x4cd4c0[_0x5140b7(0x19a)]:return'collabStatus.synced';}}function Zi(_0x43e37a){const _0x109c1b=_0x50535d,{status$:_0x1ffeda}=_0x43e37a,_0x4d21b0=_0xe9ae0e(_0x1ffeda,_0x4cd4c0[_0x109c1b(0x1bc)]),_0x2f97bc=_0x30a5af(_0x3a84d6),_0x2eca98=_0x30a5af(_0x1c20e3),_0x5494fb=_0x4d21b0!==_0x4cd4c0[_0x109c1b(0x321)],_0x16cb22=_0x2f97bc['t'](Ji(_0x4d21b0)),_0x512e11=_0x402643(G[_0x109c1b(0x294)],{[G[_0x109c1b(0x1a0)]]:_0x5494fb,[G['offline']]:!_0x5494fb}),_0x3499e2=_0x5494fb?_0x18e3f9(Pt,{}):_0x18e3f9(Mt,{}),_0xcca93=_0x1307ba(()=>{_0x5494fb||_0x2eca98['reconnect']();},[_0x5494fb,_0x2eca98]);function _0x11de85(){const _0x5a4f8d=_0x109c1b;return _0x4ab8ad(_0x5a4f8d(0x2e5),{'className':_0x402643(_0x512e11,_0x5a4f8d(0x20a)),'onClick':_0xcca93,'children':[_0x18e3f9('div',{'className':G[_0x5a4f8d(0x14f)],'children':_0x3499e2}),_0x18e3f9(_0x5a4f8d(0x2e5),{'className':G[_0x5a4f8d(0x169)],'children':_0x16cb22})]});}return _0x5494fb?_0x11de85():_0x18e3f9(_0x593f95,{'title':_0x2f97bc['t'](_0x109c1b(0x125)),'children':_0x11de85()});}var Qi=Object[_0x50535d(0x13f)],qi=(_0x420311,_0x305787,_0x191dbd,_0x1ad393)=>{const _0x56da88=_0x50535d;for(var _0x43f697=_0x1ad393>0x1?void 0x0:_0x1ad393?Qi(_0x305787,_0x191dbd):_0x305787,_0x5d7989=_0x420311[_0x56da88(0x262)]-0x1,_0x2901ba;_0x5d7989>=0x0;_0x5d7989--)(_0x2901ba=_0x420311[_0x5d7989])&&(_0x43f697=_0x2901ba(_0x43f697)||_0x43f697);return _0x43f697;},q=(_0x1a5897,_0x5c80bb)=>(_0x2a0f5c,_0x2f5e6a)=>_0x5c80bb(_0x2a0f5c,_0x2f5e6a,_0x1a5897);let se=class extends _0x1ee003{constructor(_0x338022,_0x42da2f,_0x2f30e9,_0x2e6208){const _0xad2cef=_0x50535d;super(),_(this,'_status$',new _0x4a30a1(_0x4cd4c0['NOT_COLLAB'])),(this[_0xad2cef(0x150)]=_0x338022,this[_0xad2cef(0x190)]=_0x42da2f,this[_0xad2cef(0x2be)]=_0x2f30e9,this[_0xad2cef(0x260)]=_0x2e6208,this[_0xad2cef(0x1a2)](),this[_0xad2cef(0x20b)]());}[_0x50535d(0x20b)](){const _0x3a006b=_0x50535d;this[_0x3a006b(0x17c)](this[_0x3a006b(0x150)]['focused$'][_0x3a006b(0x1fb)](_0x2e30cc(()=>{const _0x661553=_0x3a006b,_0x257be5=this[_0x661553(0x150)][_0x661553(0x139)]();return _0x257be5?this[_0x661553(0x2be)][_0x661553(0x168)](_0x257be5[_0x661553(0x215)]()):_0x5702d8(null);}),_0x2e30cc(_0xc43be5=>_0xc43be5?_0xc43be5['status$']:_0x5702d8(_0x4cd4c0[_0x3a006b(0x1bc)])))[_0x3a006b(0x2fc)](_0x400c45=>{const _0x35be50=_0x3a006b;this[_0x35be50(0x313)]['next'](_0x400c45);}));}[_0x50535d(0x1a2)](){const _0xa4fed9=_0x50535d;this[_0xa4fed9(0x17c)](this['_uiPartsService'][_0xa4fed9(0x137)](_0x272aa0['HEADER_MENU'],()=>_0x100aea(en({'status$':this[_0xa4fed9(0x313)][_0xa4fed9(0x181)]()}),this[_0xa4fed9(0x190)])));}};se=qi([q(0x0,_0x415410),q(0x1,_0x41cc9a(_0x2d998a)),q(0x2,_0x41cc9a(_0x224fc2)),q(0x3,_0x3d69f6)],se);function en(_0x5c9fa5){const {status$:_0x11264b}=_0x5c9fa5;return function(){return _0x18e3f9(Zi,{'status$':_0x11264b});};}var tn=Object[_0x50535d(0x13f)],sn=(_0x28409b,_0x4aafd9,_0xf5b3b5,_0xc4ee4d)=>{for(var _0x27cf2b=_0xc4ee4d>0x1?void 0x0:_0xc4ee4d?tn(_0x4aafd9,_0xf5b3b5):_0x4aafd9,_0x1000e3=_0x28409b['length']-0x1,_0x3fff20;_0x1000e3>=0x0;_0x1000e3--)(_0x3fff20=_0x28409b[_0x1000e3])&&(_0x27cf2b=_0x3fff20(_0x27cf2b)||_0x27cf2b);return _0x27cf2b;},B=(_0x7db172,_0x1bd6d2)=>(_0x575b08,_0x27ce2d)=>_0x1bd6d2(_0x575b08,_0x27ce2d,_0x7db172);let ie=class extends _0x1ee003{constructor(_0x32054f,_0x5092c4,_0xcec163,_0x5ad65d,_0x263906,_0x229312){const _0x2fee26=_0x50535d;super(),this[_0x2fee26(0x2a4)]=_0x32054f,this[_0x2fee26(0x114)]=_0x5092c4,this[_0x2fee26(0x19c)]=_0xcec163,this[_0x2fee26(0x2bc)]=_0x5ad65d,this[_0x2fee26(0x308)]=_0x263906,this[_0x2fee26(0x2c7)]=_0x229312,this[_0x2fee26(0x2e1)](),this[_0x2fee26(0x118)]();}['_setupBeforeClosingHandler'](){const _0x10f591=_0x50535d;this[_0x10f591(0x17c)](this['_beforeCloseService'][_0x10f591(0x145)](()=>{const _0x3a2bae=_0x10f591;if(this[_0x3a2bae(0x114)][_0x3a2bae(0x2e2)][_0x3a2bae(0x12a)])return this[_0x3a2bae(0x2c7)]['t'](_0x3a2bae(0x2f3));}));}[_0x50535d(0x118)](){const _0x397936=_0x50535d;this['disposeWithMe'](this[_0x397936(0x19c)][_0x397936(0x304)][_0x397936(0x2fc)](_0x3f3d98=>{const _0x531f54=_0x397936;_0x3f3d98['id']===_0x49112b[_0x531f54(0x238)]&&this[_0x531f54(0x2bc)][_0x531f54(0x27f)]({'type':_0x57fbb4[_0x531f54(0x20f)],'content':this[_0x531f54(0x2c7)]['t'](_0x531f54(0x247))}),_0x3f3d98['id']===_0x49112b[_0x531f54(0x27c)]&&this[_0x531f54(0x2bc)]['show']({'type':_0x57fbb4['Warning'],'content':this[_0x531f54(0x2c7)]['t'](_0x531f54(0x301))}),_0x3f3d98['id']===_0x49112b[_0x531f54(0x25e)]&&this[_0x531f54(0x308)][_0x531f54(0x27f)]({'title':this['_localeService']['t']('permission.title'),'content':this['_localeService']['t'](_0x531f54(0x2f9)),'type':_0x531f54(0x2bd),'duration':0x0}),_0x3f3d98['id']===_0x49112b[_0x531f54(0x310)]&&this[_0x531f54(0x2bc)][_0x531f54(0x27f)]({'type':_0x57fbb4[_0x531f54(0x134)],'content':this['_localeService']['t'](_0x531f54(0x301))+'('+_0x3f3d98[_0x531f54(0x24d)]+')'}),_0x3f3d98['id']===_0x49112b[_0x531f54(0x157)]&&this[_0x531f54(0x2bc)][_0x531f54(0x27f)]({'type':_0x57fbb4[_0x531f54(0x20f)],'content':this[_0x531f54(0x2c7)]['t'](_0x3f3d98['data']||'')}),_0x3f3d98['id']===_0x49112b[_0x531f54(0x2c2)]&&this[_0x531f54(0x2bc)][_0x531f54(0x27f)]({'type':_0x57fbb4[_0x531f54(0x20f)],'content':this[_0x531f54(0x2c7)]['t'](_0x531f54(0x18d))}),_0x3f3d98['id']===_0x49112b[_0x531f54(0x133)]&&this[_0x531f54(0x2bc)]['show']({'type':_0x57fbb4[_0x531f54(0x134)],'content':this[_0x531f54(0x2c7)]['t'](_0x531f54(0x14b))}),_0x3f3d98['id']===_0x49112b[_0x531f54(0x220)]&&this[_0x531f54(0x2bc)]['show']({'type':_0x57fbb4[_0x531f54(0x134)],'content':this[_0x531f54(0x2c7)]['t'](_0x531f54(0x1e3))});}));}};ie=sn([B(0x0,_0x5da31b),B(0x1,_0x49b100),B(0x2,_0x41cc9a(_0x5e4596)),B(0x3,_0x438bbb),B(0x4,_0x1011dd),B(0x5,_0x41cc9a(_0x3a84d6))],ie);const nn=_0x50535d(0x16b),st={},wt=_0x44225e(_0x50535d(0x11e));var rn=Object['getOwnPropertyDescriptor'],on=(_0x4ef0f6,_0x530a04,_0x4aa67d,_0x39754c)=>{const _0x17b166=_0x50535d;for(var _0x34d09e=_0x39754c>0x1?void 0x0:_0x39754c?rn(_0x530a04,_0x4aa67d):_0x530a04,_0x41f98b=_0x4ef0f6[_0x17b166(0x262)]-0x1,_0x5cb3a8;_0x41f98b>=0x0;_0x41f98b--)(_0x5cb3a8=_0x4ef0f6[_0x41f98b])&&(_0x34d09e=_0x5cb3a8(_0x34d09e)||_0x34d09e);return _0x34d09e;},K=(_0x2a4bfb,_0x40d394)=>(_0x10738e,_0x4b4b2e)=>_0x40d394(_0x10738e,_0x4b4b2e,_0x2a4bfb);let ne=class extends _0x52b105{constructor(_0x4dfe4d,_0x175bfc,_0x38ba76,_0x3c1756,_0x2ad16d){const _0x1488d3=_0x50535d;super(),this[_0x1488d3(0x315)]=_0x4dfe4d,this['_logService']=_0x175bfc,this[_0x1488d3(0x142)]=_0x38ba76,this[_0x1488d3(0x202)]=_0x3c1756,_0x2ad16d?_0x2ad16d==null||_0x2ad16d[_0x1488d3(0x191)]()[_0x1488d3(0x163)](()=>this[_0x1488d3(0x237)]()):(this[_0x1488d3(0x2e6)][_0x1488d3(0x1d6)](_0x1488d3(0x2df),_0x1488d3(0x2a2)),this[_0x1488d3(0x237)]());}async['_init'](){const _0x545727=_0x50535d,_0x5ebdb4=this[_0x545727(0x315)][_0x545727(0x213)](_0x545727(0x284)),_0x15e9fa=this['_urlService'][_0x545727(0x213)](_0x545727(0x302)),_0x58129b=this[_0x545727(0x315)]['getParam']('subunit');if(!_0x5ebdb4||!_0x15e9fa){this[_0x545727(0x2e6)][_0x545727(0x1d6)]('[CollaborationDataLoaderController]',_0x545727(0x15a));return;}const _0xf33819=await this[_0x545727(0x202)][_0x545727(0x136)](_0x5ebdb4,Number(_0x15e9fa),_0x58129b);_0xf33819&&_0xf33819 instanceof _0x1025d0&&this[_0x545727(0x20d)](_0xf33819);}async['_setupSubUnitSync'](_0x24f23a){const _0x22b51a=_0x50535d;await this[_0x22b51a(0x24a)](_0x24f23a),_0x24f23a['activeSheet$']['pipe'](_0x23d4f3(this[_0x22b51a(0x2cb)]))[_0x22b51a(0x2fc)](_0x77289f=>{const _0x4f4f46=_0x22b51a;_0x77289f&&this[_0x4f4f46(0x325)](_0x77289f);}),this[_0x22b51a(0x315)][_0x22b51a(0x22f)][_0x22b51a(0x1fb)](_0x23d4f3(this[_0x22b51a(0x2cb)]))[_0x22b51a(0x2fc)](()=>this[_0x22b51a(0x24a)](_0x24f23a));}[_0x50535d(0x325)](_0x5b46c4,_0x393f19=!0x1){const _0x441182=_0x50535d,_0x42cd4e=this[_0x441182(0x315)][_0x441182(0x213)](_0x441182(0x2d3));_0x5b46c4[_0x441182(0x1ad)]()!==_0x42cd4e&&this[_0x441182(0x315)][_0x441182(0x16d)]('subunit',_0x5b46c4[_0x441182(0x1ad)](),_0x393f19);}async['_updateSubUnitFromURLParams'](_0x457e38){const _0x4cc012=_0x50535d;var _0x4f0a0e;const _0x101980=this[_0x4cc012(0x315)]['getParam']('subunit');if(!_0x101980||!_0x457e38[_0x4cc012(0x185)](_0x101980)){const _0x134253=_0x457e38[_0x4cc012(0x2d9)]()[0x0],_0xc704d7=_0x457e38[_0x4cc012(0x185)](_0x134253);if(!_0xc704d7)return;this[_0x4cc012(0x325)](_0xc704d7,!0x0),await this[_0x4cc012(0x142)][_0x4cc012(0x229)](_0x3829e1['id'],{'unitId':_0x457e38[_0x4cc012(0x215)](),'subUnitId':_0x134253});return;}((_0x4f0a0e=_0x457e38[_0x4cc012(0x14d)]())==null?void 0x0:_0x4f0a0e[_0x4cc012(0x1ad)]())!==_0x101980&&await this[_0x4cc012(0x142)]['executeCommand'](_0x3829e1['id'],{'unitId':_0x457e38[_0x4cc012(0x215)](),'subUnitId':_0x101980});}};ne=on([K(0x0,wt),K(0x1,_0x36be24),K(0x2,_0x358876),K(0x3,_0x41cc9a(_0x1d397e)),K(0x4,_0x40b000(_0x100f0e))],ne);var an=Object['getOwnPropertyDescriptor'],cn=(_0x25e7b5,_0x19baab,_0x35a49c,_0x54b91d)=>{const _0x322cd4=_0x50535d;for(var _0x109d02=_0x54b91d>0x1?void 0x0:_0x54b91d?an(_0x19baab,_0x35a49c):_0x19baab,_0x3e055d=_0x25e7b5[_0x322cd4(0x262)]-0x1,_0x393fc6;_0x3e055d>=0x0;_0x3e055d--)(_0x393fc6=_0x25e7b5[_0x3e055d])&&(_0x109d02=_0x393fc6(_0x109d02)||_0x109d02);return _0x109d02;},Ce=(_0x2da69c,_0x54e877)=>(_0x15323a,_0x2a58d3)=>_0x54e877(_0x15323a,_0x2a58d3,_0x2da69c);let re=class{constructor(_0x30c761,_0x441330,_0x18f386){const _0x301f9c=_0x50535d;this[_0x301f9c(0x190)]=_0x30c761,this[_0x301f9c(0x276)]=_0x441330,this[_0x301f9c(0x2d4)]=_0x18f386;}['transformIMECache'](_0x5bc7f9){const _0xb69b4e=_0x50535d;this['_transformUndoRedoStack'](_0x5bc7f9),this[_0xb69b4e(0x19e)](_0x5bc7f9);}[_0x50535d(0x143)](_0x1392e4){const _0x1b3201=_0x50535d,{unitID:_0x4bfcd7}=_0x1392e4,_0x73cc0a=this['_renderManagerService'][_0x1b3201(0x1b0)](_0x4bfcd7)['with'](_0x105037),{redoCache:_0x3eb1ab}=_0x73cc0a[_0x1b3201(0x1ee)]();if(_0x3eb1ab['length']===0x0)return _0x1392e4;let _0x1bde63=_0x5190d2[_0x1b3201(0x1d5)](_0x1392e4[_0x1b3201(0x28b)][0x0]);for(let _0x584bc7=0x0;_0x584bc7<_0x3eb1ab['length'];_0x584bc7++){const _0x4ad788={'id':'doc.mutation.rich-text-editing','params':{..._0x3eb1ab[_0x584bc7]}},_0x4740fb=this[_0x1b3201(0x276)][_0x1b3201(0x1b5)](_0x1bde63,_0x4ad788,!0x1);if(_0x30eb79(_0x4740fb))throw _0x4740fb[_0x1b3201(0x2bd)];_0x1bde63=_0x4740fb[_0x1b3201(0x21a)];}return{..._0x5190d2[_0x1b3201(0x1d5)](_0x1392e4),'mutations':[_0x1bde63]};}[_0x50535d(0x211)](_0x373d10){const _0x12554a=_0x50535d,{unitID:_0x284ec2}=_0x373d10,_0x3fdf01=this['_renderManagerService']['getRenderById'](_0x284ec2)[_0x12554a(0x2af)](_0x105037),{undoCache:_0x24052b,redoCache:_0x89fb04}=_0x3fdf01[_0x12554a(0x1ee)]();if(_0x24052b[_0x12554a(0x262)]===0x0||_0x89fb04[_0x12554a(0x262)]===0x0)return;const _0x3923e8=[],_0x540b6a=[];let _0x280704=_0x5190d2[_0x12554a(0x1d5)](_0x373d10[_0x12554a(0x28b)][0x0]),_0xbe8f1d=_0x5190d2[_0x12554a(0x1d5)](_0x373d10[_0x12554a(0x28b)][0x0]);for(let _0x45f7a8=_0x24052b[_0x12554a(0x262)]-0x1;_0x45f7a8>=0x0;_0x45f7a8--){const _0x5c4aee={'id':_0x12554a(0x2f0),'params':{..._0x24052b[_0x45f7a8]}},_0x3d6126={'id':_0x12554a(0x2f0),'params':{..._0x89fb04[_0x45f7a8]}},_0x321c97=this[_0x12554a(0x276)][_0x12554a(0x1b5)](_0x280704,_0x5c4aee,!0x1),_0x121b0c=this[_0x12554a(0x276)][_0x12554a(0x1b5)](_0xbe8f1d,_0x3d6126,!0x1);if(_0x30eb79(_0x321c97))throw _0x321c97[_0x12554a(0x2bd)];if(_0x30eb79(_0x121b0c))throw _0x121b0c['error'];_0x3923e8[_0x12554a(0x17d)](_0x321c97[_0x12554a(0x1fa)]['params']),_0x540b6a['unshift'](_0x121b0c[_0x12554a(0x1fa)]['params']),_0x280704=_0x321c97[_0x12554a(0x21a)],_0xbe8f1d=_0x121b0c[_0x12554a(0x21a)];}_0x3fdf01[_0x12554a(0x1b8)]({'undoCache':_0x3923e8,'redoCache':_0x540b6a});}[_0x50535d(0x19e)](_0x3a9ca4){const _0xd51849=_0x50535d,{unitID:_0x30819f}=_0x3a9ca4,_0x30e738=this[_0xd51849(0x2d4)][_0xd51849(0x1b0)](_0x30819f)['with'](_0x105037),_0x63bda9=_0x30e738[_0xd51849(0x282)]();if(_0x63bda9==null)return;const _0x2238a6=[{'id':_0xd51849(0x2f0),'params':{'unitId':_0x3a9ca4[_0xd51849(0x2fb)],'actions':null,'textRanges':[_0x63bda9]}}],_0x2f8c09=this[_0xd51849(0x276)][_0xd51849(0x141)](_0x3a9ca4,_0x2238a6);if(!_0x445df4(_0x2f8c09))throw _0x2f8c09[_0xd51849(0x2bd)];const _0x279cfd=_0x2f8c09['m2Prime'][0x0][_0xd51849(0x316)][_0xd51849(0x265)];Array['isArray'](_0x279cfd)&&_0x279cfd['length']&&_0x30e738[_0xd51849(0x186)](_0x279cfd[0x0]);}};re=cn([Ce(0x0,_0x41cc9a(_0x2d998a)),Ce(0x1,_0x2891b1),Ce(0x2,_0x583994)],re);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x418a99,_0x5821fc,_0x2602d4,_0x5d5ca9)=>{const _0x4f77cb=_0x50535d;for(var _0x408a62=_0x5d5ca9>0x1?void 0x0:_0x5d5ca9?ln(_0x5821fc,_0x2602d4):_0x5821fc,_0x32d441=_0x418a99[_0x4f77cb(0x262)]-0x1,_0x26b467;_0x32d441>=0x0;_0x32d441--)(_0x26b467=_0x418a99[_0x32d441])&&(_0x408a62=_0x26b467(_0x408a62)||_0x408a62);return _0x408a62;},Ee=(_0x533337,_0x1bf98e)=>(_0x29531c,_0x533b66)=>_0x1bf98e(_0x29531c,_0x533b66,_0x533337);let oe=class{constructor(_0x3fbf2f,_0x32365c,_0x4fce0f){const _0x5df127=_0x50535d;this[_0x5df127(0x190)]=_0x3fbf2f,this[_0x5df127(0x276)]=_0x32365c,this['_docStateChangeManagerService']=_0x4fce0f;}[_0x50535d(0x207)](_0x5dfeda){const _0x4fc92d=_0x50535d;this[_0x4fc92d(0x124)](_0x5dfeda);}[_0x50535d(0x143)](_0x5c8f05){const _0x32a779=_0x50535d,{unitID:_0x38d508}=_0x5c8f05,{collaboration:_0x1eff5c}=this[_0x32a779(0x2a7)][_0x32a779(0x11c)](_0x38d508);if(_0x1eff5c[_0x32a779(0x262)]===0x0)return _0x5c8f05;let _0x485953=_0x5190d2['deepClone'](_0x5c8f05[_0x32a779(0x28b)][0x0]);for(let _0x40f788=0x0;_0x40f788<_0x1eff5c[_0x32a779(0x262)];_0x40f788++){const _0x32d949={'id':_0x32a779(0x2f0),'params':{'unitId':_0x1eff5c[_0x40f788][_0x32a779(0x297)],..._0x1eff5c[_0x40f788]['redoState']}},_0x5e23a8=this[_0x32a779(0x276)]['transformMutation'](_0x485953,_0x32d949,!0x1);if(_0x30eb79(_0x5e23a8))throw _0x5e23a8[_0x32a779(0x2bd)];_0x485953=_0x5e23a8[_0x32a779(0x21a)];}return{..._0x5190d2[_0x32a779(0x1d5)](_0x5c8f05),'mutations':[_0x485953]};}[_0x50535d(0x124)](_0x5b6c95){const _0x56b7ef=_0x50535d,{unitID:_0x26e42b}=_0x5b6c95,{history:_0x24ad84,collaboration:_0x2b6854}=this[_0x56b7ef(0x2a7)][_0x56b7ef(0x11c)](_0x26e42b);if(_0x24ad84[_0x56b7ef(0x262)]===0x0&&_0x2b6854['length']===0x0)return;const _0x31b412=[],_0x362f2f=[];let _0x2e1136=_0x5190d2[_0x56b7ef(0x1d5)](_0x5b6c95[_0x56b7ef(0x28b)][0x0]),_0x2d873c=_0x5190d2[_0x56b7ef(0x1d5)](_0x5b6c95['mutations'][0x0]);for(let _0x1b7f69=_0x24ad84[_0x56b7ef(0x262)]-0x1;_0x1b7f69>=0x0;_0x1b7f69--){const _0x5785bf={'id':_0x56b7ef(0x2f0),'params':{'unitId':_0x24ad84[_0x1b7f69][_0x56b7ef(0x297)],..._0x24ad84[_0x1b7f69][_0x56b7ef(0x243)]}},_0x1a2245={'id':_0x56b7ef(0x2f0),'params':{'unitId':_0x24ad84[_0x1b7f69][_0x56b7ef(0x297)],..._0x24ad84[_0x1b7f69][_0x56b7ef(0x248)]}},_0x5b19c6=this[_0x56b7ef(0x276)]['transformMutation'](_0x2e1136,_0x5785bf,!0x1),_0x4a6c3f=this[_0x56b7ef(0x276)][_0x56b7ef(0x1b5)](_0x2d873c,_0x1a2245,!0x1);if(_0x30eb79(_0x5b19c6))throw _0x5b19c6[_0x56b7ef(0x2bd)];if(_0x30eb79(_0x4a6c3f))throw _0x4a6c3f[_0x56b7ef(0x2bd)];_0x31b412[_0x56b7ef(0x17d)]({..._0x24ad84[_0x1b7f69],'undoState':_0x5b19c6[_0x56b7ef(0x1fa)][_0x56b7ef(0x316)],'redoState':_0x4a6c3f[_0x56b7ef(0x1fa)][_0x56b7ef(0x316)]}),_0x2e1136=_0x5b19c6['m1Prime'],_0x2d873c=_0x4a6c3f[_0x56b7ef(0x21a)];}_0x2e1136=_0x5190d2[_0x56b7ef(0x1d5)](_0x5b6c95[_0x56b7ef(0x28b)][0x0]),_0x2d873c=_0x5190d2['deepClone'](_0x5b6c95[_0x56b7ef(0x28b)][0x0]);for(let _0x5dcfa3=_0x2b6854['length']-0x1;_0x5dcfa3>=0x0;_0x5dcfa3--){const _0x432759={'id':_0x56b7ef(0x2f0),'params':{'unitId':_0x2b6854[_0x5dcfa3][_0x56b7ef(0x297)],..._0x2b6854[_0x5dcfa3][_0x56b7ef(0x243)]}},_0x4163f6={'id':_0x56b7ef(0x2f0),'params':{'unitId':_0x2b6854[_0x5dcfa3][_0x56b7ef(0x297)],..._0x2b6854[_0x5dcfa3][_0x56b7ef(0x248)]}},_0x32dd33=this[_0x56b7ef(0x276)][_0x56b7ef(0x1b5)](_0x2e1136,_0x432759,!0x1),_0x5029be=this[_0x56b7ef(0x276)][_0x56b7ef(0x1b5)](_0x2d873c,_0x4163f6,!0x1);if(_0x30eb79(_0x32dd33))throw _0x32dd33['error'];if(_0x30eb79(_0x5029be))throw _0x5029be[_0x56b7ef(0x2bd)];_0x362f2f['unshift']({..._0x2b6854[_0x5dcfa3],'undoState':_0x32dd33[_0x56b7ef(0x1fa)]['params'],'redoState':_0x5029be[_0x56b7ef(0x1fa)][_0x56b7ef(0x316)]}),_0x2e1136=_0x32dd33['m1Prime'],_0x2d873c=_0x5029be['m1Prime'];}this[_0x56b7ef(0x2a7)][_0x56b7ef(0x1b1)](_0x26e42b,{'history':_0x31b412,'collaboration':_0x362f2f});}};oe=_n([Ee(0x0,_0x41cc9a(_0x2d998a)),Ee(0x1,_0x2891b1),Ee(0x2,_0x41cc9a(_0x3614c8))],oe);var hn=Object[_0x50535d(0x13f)],un=(_0x14ab13,_0x4b92c7,_0x4674ba,_0x463f48)=>{const _0x564fb7=_0x50535d;for(var _0x23ee43=_0x463f48>0x1?void 0x0:_0x463f48?hn(_0x4b92c7,_0x4674ba):_0x4b92c7,_0x1aadaa=_0x14ab13[_0x564fb7(0x262)]-0x1,_0x1f56df;_0x1aadaa>=0x0;_0x1aadaa--)(_0x1f56df=_0x14ab13[_0x1aadaa])&&(_0x23ee43=_0x1f56df(_0x23ee43)||_0x23ee43);return _0x23ee43;},it=(_0x10da77,_0x36dc7f)=>(_0xbbef72,_0xfab8dc)=>_0x36dc7f(_0xbbef72,_0xfab8dc,_0x10da77);let ae=class{constructor(_0x11a0c9,_0x1094a2){const _0x276cfe=_0x50535d;this[_0x276cfe(0x190)]=_0x11a0c9,this[_0x276cfe(0x276)]=_0x1094a2;}[_0x50535d(0x230)](_0x384075){const _0x95c119=_0x50535d;var _0x4d7f90;const _0x391fcf=this[_0x95c119(0x190)]['get'](_0x35a6cc),_0x5796e0=(_0x4d7f90=_0x391fcf[_0x95c119(0x24b)]())!=null?_0x4d7f90:[];if(_0x5796e0[_0x95c119(0x262)]===0x0)return;const _0x4e93ed=_0x384075[_0x95c119(0x2fb)],_0x24bd92=[{'id':_0x95c119(0x2f0),'params':{'unitId':_0x4e93ed,'actions':null,'textRanges':_0x5796e0}}],_0x1383bd=this['_transformService'][_0x95c119(0x141)](_0x384075,_0x24bd92);if(!_0x445df4(_0x1383bd))throw _0x1383bd[_0x95c119(0x2bd)];const _0x16bd51=_0x1383bd[_0x95c119(0x1fa)][0x0]['params']['textRanges'];Array[_0x95c119(0x1e1)](_0x16bd51)&&_0x16bd51['length']&&_0x391fcf[_0x95c119(0x1d1)](_0x16bd51,{'unitId':_0x4e93ed,'subUnitId':_0x4e93ed},!0x1);}};ae=un([it(0x0,_0x41cc9a(_0x2d998a)),it(0x1,_0x2891b1)],ae);var dn=Object[_0x50535d(0x13f)],fn=(_0x31ede4,_0x2a782d,_0x26c598,_0x177211)=>{const _0x42259b=_0x50535d;for(var _0x312a38=_0x177211>0x1?void 0x0:_0x177211?dn(_0x2a782d,_0x26c598):_0x2a782d,_0xea0816=_0x31ede4[_0x42259b(0x262)]-0x1,_0x4214b4;_0xea0816>=0x0;_0xea0816--)(_0x4214b4=_0x31ede4[_0xea0816])&&(_0x312a38=_0x4214b4(_0x312a38)||_0x312a38);return _0x312a38;},M=(_0x18664d,_0x349bb1)=>(_0x4ca490,_0x120bd6)=>_0x349bb1(_0x4ca490,_0x120bd6,_0x18664d);let ce=class extends _0x1ee003{constructor(_0x4cbd8f,_0x177a76,_0x375963,_0x31c200,_0x1d2ab3,_0x17ee39,_0x5d7c8d,_0x3ca471){const _0x176141=_0x50535d;super(),_(this,_0x176141(0x313),new _0x4a30a1(_0x4cd4c0[_0x176141(0x1bc)])),(this[_0x176141(0x2a7)]=_0x4cbd8f,this[_0x176141(0x2be)]=_0x177a76,this[_0x176141(0x164)]=_0x375963,this[_0x176141(0x255)]=_0x31c200,this['_docTransformSelectionsService']=_0x1d2ab3,this[_0x176141(0x183)]=_0x17ee39,this['_messageService']=_0x5d7c8d,this['_localeService']=_0x3ca471,this['_initEntityListener']());}[_0x50535d(0x1b2)](){const _0x594792=_0x50535d;this[_0x594792(0x17c)](this[_0x594792(0x2be)][_0x594792(0x1fe)]['subscribe'](_0x5cab38=>{const _0x5f57e4=_0x594792,_0x2ada2b=this[_0x5f57e4(0x2a7)]['docStateChange$']['subscribe'](_0x2cafd6=>{const _0x40d983=_0x5f57e4;if(_0x2cafd6==null)return;const {unitId:_0x19c994,redoState:_0x2e726e,commandId:_0x19b739}=_0x2cafd6;if(_0x19c994!==_0x5cab38['unitID'])return;const _0x3fa07d={'id':_0x19b739,'type':_0x599fa1[_0x40d983(0x246)],'params':{'unitId':_0x19c994,'actions':_0x2e726e[_0x40d983(0x17f)],'textRanges':null}};_0x5cab38['onLocalMutation'](_0x3fa07d);});if(_0x5cab38[_0x5f57e4(0x17c)](_0x2ada2b),_0x5cab38 instanceof _0x17b06d){const _0x16abab={'onTransformIME':_0x22154a=>this[_0x5f57e4(0x164)]['transformIMECache'](_0x22154a),'onTransformState':_0x23e0ac=>this['_docTransformStateCacheService'][_0x5f57e4(0x207)](_0x23e0ac),'onTransformSelections':_0x1e6305=>this['_docTransformSelectionsService'][_0x5f57e4(0x230)](_0x1e6305),'onSyncEditingCollabCursor':_0x454772=>this[_0x5f57e4(0x183)][_0x5f57e4(0x1c9)](_0x454772),'onTransformRemoteChangesetByIMECache':_0x2afe6c=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x2afe6c),'onTransformRemoteChangesetByStateCache':_0x80ac4b=>this[_0x5f57e4(0x255)]['transformRemoteChangeset'](_0x80ac4b)};_0x5cab38[_0x5f57e4(0x15e)](_0x16abab);}}));}};ce=fn([M(0x0,_0x41cc9a(_0x3614c8)),M(0x1,_0x41cc9a(_0x224fc2)),M(0x2,_0x41cc9a(re)),M(0x3,_0x41cc9a(oe)),M(0x4,_0x41cc9a(ae)),M(0x5,_0x41cc9a(je)),M(0x6,_0x438bbb),M(0x7,_0x41cc9a(_0x3a84d6))],ce);var Sn=Object['getOwnPropertyDescriptor'],mn=(_0x286195,_0x524f7f,_0xd23146,_0x3d1cc3)=>{for(var _0x5bc1fd=_0x3d1cc3>0x1?void 0x0:_0x3d1cc3?Sn(_0x524f7f,_0xd23146):_0x524f7f,_0x66e8bd=_0x286195['length']-0x1,_0x3bce21;_0x66e8bd>=0x0;_0x66e8bd--)(_0x3bce21=_0x286195[_0x66e8bd])&&(_0x5bc1fd=_0x3bce21(_0x5bc1fd)||_0x5bc1fd);return _0x5bc1fd;},be=(_0x4ee74d,_0x19f29c)=>(_0xaf82a8,_0x5aa511)=>_0x19f29c(_0xaf82a8,_0x5aa511,_0x4ee74d);let Ae=class extends _0x1ee003{constructor(_0xc5153a,_0x3a8339,_0x105b1b){const _0x1f2432=_0x50535d;super(),_(this,_0x1f2432(0x1e5),new Map()),_(this,_0x1f2432(0x2a8),new Map()),_(this,_0x1f2432(0x1f4),!0x1),(this[_0x1f2432(0x25b)]=_0xc5153a,this[_0x1f2432(0x2c1)]=_0x3a8339,this[_0x1f2432(0x17b)]=_0x105b1b);}['disableLocalCache'](){const _0x4e5112=_0x50535d;this[_0x4e5112(0x1f4)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get[_0x50535d(0x2e2)](){const _0xabe30d=_0x50535d;return this[_0xabe30d(0x2a8)];}['dispose'](){const _0x4ef033=_0x50535d;this['exhaustSavingTask']()[_0x4ef033(0x163)](()=>super['dispose']());}async[_0x50535d(0x2dc)](_0x16ef1f){const _0x563a98=_0x50535d;return this['_disabled']?null:this['_localStorageService'][_0x563a98(0x1e2)](_0x2e6fd6(_0x16ef1f));}async[_0x50535d(0x16a)](_0x5b40fa,_0x1952ea){const _0x4d6c84=_0x50535d;return!!this[_0x4d6c84(0x2c1)][_0x4d6c84(0x270)](_0x5b40fa,_0x1952ea);}['updateOfflineData'](_0x4f8bda,_0x58cf64,_0x10916d,_0x174d40){const _0x3455e1=_0x50535d,_0x50ba99=this['_revisionService'][_0x3455e1(0x198)](_0x4f8bda);this[_0x3455e1(0x1e5)][_0x3455e1(0x31e)](_0x4f8bda,{'unitID':_0x4f8bda,'type':_0x58cf64,'awaitingChangeset':_0x10916d,'mutations':_0x174d40,'rev':_0x50ba99}),this['_saveTaskMap'][_0x3455e1(0x2b2)](_0x4f8bda)||this['_scheduleSaving'](_0x4f8bda);}[_0x50535d(0x2f7)](_0x210809){const _0x1de48b=_0x50535d,_0x21deff=this[_0x1de48b(0x23b)]();_0x21deff===0x0?this[_0x1de48b(0x21c)](_0x210809):this[_0x1de48b(0x2a8)]['set'](_0x210809,setTimeout(()=>this['_saveCache'](_0x210809),_0x21deff));}[_0x50535d(0x23b)](){const _0x222827=_0x50535d;var _0x5abf08;return(_0x5abf08=this[_0x222827(0x25b)][_0x222827(0x172)](_0x407529))!=null?_0x5abf08:_0x57e1cc;}[_0x50535d(0x21c)](_0xa7a529){const _0x504375=_0x50535d,_0x1f3ca6=this[_0x504375(0x2a8)][_0x504375(0x154)](_0xa7a529);return _0x1f3ca6!==void 0x0&&window[_0x504375(0x242)](_0x1f3ca6),this[_0x504375(0x2c1)][_0x504375(0x270)](_0x2e6fd6(_0xa7a529),this[_0x504375(0x1e5)][_0x504375(0x154)](_0xa7a529))[_0x504375(0x163)](()=>this['_saveTaskMap']['delete'](_0xa7a529));}async[_0x50535d(0x252)](){const _0x7d6dd7=_0x50535d,_0x2f8832=[];this[_0x7d6dd7(0x2a8)][_0x7d6dd7(0x160)]((_0x4409a5,_0x272ca7)=>{const _0x22e116=_0x7d6dd7;window[_0x22e116(0x242)](_0x4409a5),_0x2f8832[_0x22e116(0x2d6)](this[_0x22e116(0x21c)](_0x272ca7)[_0x22e116(0x163)](()=>{const _0x5a45c5=_0x22e116;this[_0x5a45c5(0x2a8)]['delete'](_0x272ca7);}));}),await Promise['all'](_0x2f8832);}};Ae=mn([be(0x0,_0x393474),be(0x1,_0x87436e),be(0x2,_0x41cc9a(_0x58b052))],Ae);class gn extends _0x52b105{constructor(){const _0x4a465b=_0x50535d;super(),_(this,_0x4a465b(0x22f)),this[_0x4a465b(0x22f)]=_0x1ebec0(window,_0x4a465b(0x1a3))[_0x4a465b(0x1fb)](_0x23d4f3(this[_0x4a465b(0x2cb)]),_0x49d7fc(0x1),_0x3ac6de(void 0x0));}[_0x50535d(0x16d)](_0xb4082f,_0x34b63,_0x301057=!0x1){const _0x53dfe6=_0x50535d,_0x57e443=new URL(window[_0x53dfe6(0x312)][_0x53dfe6(0x264)]);_0x57e443[_0x53dfe6(0x2ee)]['set'](_0xb4082f,_0x34b63),_0x301057?window[_0x53dfe6(0x12c)]['replaceState']('','',_0x57e443[_0x53dfe6(0x2ad)]()):window[_0x53dfe6(0x12c)][_0x53dfe6(0x2b7)]('','',_0x57e443[_0x53dfe6(0x2ad)]());}['removeParam'](_0x29207e,_0x3c096f=!0x1){const _0x7141eb=_0x50535d,_0x501de2=new URL(window[_0x7141eb(0x312)][_0x7141eb(0x264)]);_0x501de2[_0x7141eb(0x2ee)]['delete'](_0x29207e),_0x3c096f?window[_0x7141eb(0x12c)]['replaceState']('','',_0x501de2[_0x7141eb(0x2ad)]()):window[_0x7141eb(0x12c)]['pushState']('','',_0x501de2[_0x7141eb(0x2ad)]());}[_0x50535d(0x213)](_0x2cac15){const _0x5bfe3c=_0x50535d;var _0x5e0932;return(_0x5e0932=new URL(window[_0x5bfe3c(0x312)]['href'])[_0x5bfe3c(0x2ee)]['get'](_0x2cac15))!=null?_0x5e0932:void 0x0;}}var vn=Object[_0x50535d(0x245)],In=Object[_0x50535d(0x13f)],pn=(_0x464089,_0xb12c2c,_0x57938a)=>_0xb12c2c in _0x464089?vn(_0x464089,_0xb12c2c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x57938a}):_0x464089[_0xb12c2c]=_0x57938a,Cn=(_0x110fcd,_0x51e39e,_0x5cf0f5,_0x294773)=>{for(var _0x44c078=_0x294773>0x1?void 0x0:_0x294773?In(_0x51e39e,_0x5cf0f5):_0x51e39e,_0x45df91=_0x110fcd['length']-0x1,_0x44450c;_0x45df91>=0x0;_0x45df91--)(_0x44450c=_0x110fcd[_0x45df91])&&(_0x44c078=_0x44450c(_0x44c078)||_0x44c078);return _0x44c078;},Oe=(_0xa1704f,_0x39ee23)=>(_0x22d44a,_0x15b58f)=>_0x39ee23(_0x22d44a,_0x15b58f,_0xa1704f),En=(_0x3a526b,_0x3e2b15,_0xa20428)=>pn(_0x3a526b,_0x3e2b15+'',_0xa20428);const bn=_0x50535d(0x13a);let ye=class extends _0x297df0{constructor(_0x128572=st,_0x3c1f58,_0x61adc8,_0xa5b10d){const _0x3b03af=_0x50535d;super(),this['_config']=_0x128572,this['_renderManagerService']=_0x3c1f58,this['_injector']=_0x61adc8,this[_0x3b03af(0x25b)]=_0xa5b10d;const {..._0x45446e}=_0x512511({},st,this[_0x3b03af(0x26e)]);this[_0x3b03af(0x25b)][_0x3b03af(0x285)](nn,_0x45446e);}[_0x50535d(0x158)](){const _0x160a7d=_0x50535d;this[_0x160a7d(0x165)](),this['_initDependencies']();}[_0x50535d(0x1e6)](){const _0x1f729a=_0x50535d;this[_0x1f729a(0x17a)]();}[_0x50535d(0x165)](){const _0xb3f63e=_0x50535d;var _0x502629;const _0x31bad3=[[He],[ae],[re],[oe],[je],[wt,{'useClass':gn}],[_0xfc99bb,{'useClass':_0x4ec705}],[_0x49b100,{'useClass':Ae}],[se],[ce],[ie],[H],[Me],[ne]];_0x15bab9(this['_injector'],_0x3633fd(_0x31bad3,(_0x502629=this[_0xb3f63e(0x26e)])==null?void 0x0:_0x502629[_0xb3f63e(0x30b)]));}['_registerRenderDependencies'](){const _0x252d19=_0x50535d;this[_0x252d19(0x17c)](this[_0x252d19(0x2d4)][_0x252d19(0x1fc)](_0x194a15[_0x252d19(0x21e)],[Ue])),this[_0x252d19(0x17c)](this[_0x252d19(0x2d4)][_0x252d19(0x1fc)](_0x194a15[_0x252d19(0x1a8)],[Le]));}[_0x50535d(0x2f4)](){_0x3fed95(this['_injector'],[[H],[se],[ce],[ie],[ne]]);}};En(ye,_0x50535d(0x1ea),bn),ye=Cn([_0x2d57b6(_0x107ead),Oe(0x1,_0x583994),Oe(0x2,_0x41cc9a(_0x2d998a)),Oe(0x3,_0x393474)],ye);var On=Object[_0x50535d(0x13f)],Tn=(_0x2100a4,_0x256ffc,_0x35a009,_0x3ba61a)=>{const _0x2ed4cf=_0x50535d;for(var _0x8df519=_0x3ba61a>0x1?void 0x0:_0x3ba61a?On(_0x256ffc,_0x35a009):_0x256ffc,_0x196a69=_0x2100a4[_0x2ed4cf(0x262)]-0x1,_0x1db9dd;_0x196a69>=0x0;_0x196a69--)(_0x1db9dd=_0x2100a4[_0x196a69])&&(_0x8df519=_0x1db9dd(_0x8df519)||_0x8df519);return _0x8df519;},z=(_0x477d20,_0x2be52f)=>(_0x93e549,_0x3ecae5)=>_0x2be52f(_0x93e549,_0x3ecae5,_0x477d20);let nt=class extends _0x1ccc7d{constructor(_0x1efdf6,_0x1fcfa4,_0x55f678,_0x12cdb4,_0x1ba744){super(_0x1efdf6,_0x1fcfa4,_0x55f678,_0x12cdb4,_0x1ba744);}async[_0x50535d(0x189)](_0x2f8d8d){const _0x5a7391=_0x50535d,_0xce9673=await this['_getSessionTicket'](),_0x31da76=this[_0x5a7391(0x12b)](_0x2f8d8d,_0xce9673);return this[_0x5a7391(0x29a)](_0x31da76);}[_0x50535d(0x12b)](_0x32a08a,_0x2e20a1){const _0x1dbffa=_0x50535d,_0x23bbfd=typeof window>'u'?new URL(_0x32a08a):new URL(_0x32a08a,window[_0x1dbffa(0x312)][_0x1dbffa(0x27e)]);_0x23bbfd[_0x1dbffa(0x2ee)][_0x1dbffa(0x31e)](_0x1dbffa(0x209),_0x2e20a1);const _0x377509=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x1dbffa(0x312)][_0x1dbffa(0x1f7)]);return _0x377509['get'](_0x1dbffa(0x29c))&&_0x23bbfd[_0x1dbffa(0x2ee)][_0x1dbffa(0x31e)]('runId',_0x377509[_0x1dbffa(0x154)]('runId')),_0x23bbfd[_0x1dbffa(0x2ad)]();}async[_0x50535d(0x235)](){const _0x11418b=_0x50535d;var _0x1241a9,_0x5abed5,_0x49c9e9;const _0x1529b2=this['_configService'][_0x11418b(0x172)](_0x5b898e),_0x456372=(_0x1241a9=_0x1529b2==null?void 0x0:_0x1529b2[_0x11418b(0x1e8)])!=null?_0x1241a9:_0x1c881a;return(_0x49c9e9=(_0x5abed5=(await this[_0x11418b(0x241)][_0x11418b(0x154)](_0x456372,{'headers':{'Content-Type':_0x11418b(0x149)}}))[_0x11418b(0x2d1)])==null?void 0x0:_0x5abed5[_0x11418b(0x29d)])!=null?_0x49c9e9:'';}};nt=Tn([z(0x0,_0x41cc9a(_0x2d998a)),z(0x1,_0x41cc9a(_0x1bc3ba)),z(0x2,_0x393474),z(0x3,_0x36be24),z(0x4,_0x5245a0)],nt);const rt=0x7530,ot=_0x50535d(0x27a);class Gn extends _0x1ee003{constructor(){const _0x5a9192=_0x50535d;super(),_(this,_0x5a9192(0x288),_0x41b8d0()),_(this,_0x5a9192(0x272),new Set()),_(this,_0x5a9192(0x2e7),new Map()),_(this,_0x5a9192(0x127),null),_(this,_0x5a9192(0x2ac),new Map()),_(this,_0x5a9192(0x199),new Map()),this[_0x5a9192(0x237)]();}[_0x50535d(0x22e)](){const _0x2aa85b=_0x50535d;super[_0x2aa85b(0x22e)](),this[_0x2aa85b(0x2ac)]['forEach']((_0xd2ed91,_0x32d6d3)=>this[_0x2aa85b(0x286)](_0x32d6d3)),this[_0x2aa85b(0x127)]&&window[_0x2aa85b(0x30d)](this[_0x2aa85b(0x127)]);}[_0x50535d(0x259)](_0x7729d2){const _0x266595=_0x50535d;return this[_0x266595(0x1d4)](_0x7729d2)[_0x266595(0x1fb)](_0x5389e5());}[_0x50535d(0x138)](_0x39c63d){const _0x2faa5c=_0x50535d;this[_0x2faa5c(0x272)][_0x2faa5c(0x12a)]===0x0&&this[_0x2faa5c(0x192)](),this[_0x2faa5c(0x272)][_0x2faa5c(0x208)](_0x39c63d),this[_0x2faa5c(0x13c)]({'type':0x0,'memberID':this[_0x2faa5c(0x288)],'unitIDs':[_0x39c63d],'isForwarded':!0x1});}[_0x50535d(0x258)](_0x17894e){const _0x4b146e=_0x50535d;this['_selfUnitIDs'][_0x4b146e(0x19f)](_0x17894e),this[_0x4b146e(0x272)]['size']===0x0&&this[_0x4b146e(0x127)]&&window['clearInterval'](this[_0x4b146e(0x127)]);}[_0x50535d(0x237)](){const _0x4eb9b7=_0x50535d;this[_0x4eb9b7(0x17c)](_0x3616bc(_0x1ebec0(window,_0x4eb9b7(0x279))[_0x4eb9b7(0x2fc)](_0x2b2853=>{const _0x22a266=_0x4eb9b7;if(_0x2b2853[_0x22a266(0x1a5)]!==ot||!_0x2b2853['newValue'])return;const _0x457648=JSON[_0x22a266(0x291)](_0x2b2853[_0x22a266(0x249)]);this[_0x22a266(0x268)](_0x457648);}))),window['addEventListener'](_0x4eb9b7(0x24c),()=>this[_0x4eb9b7(0x13c)]({'type':0x1,'memberID':this[_0x4eb9b7(0x288)],'unitIDs':Array[_0x4eb9b7(0x29b)](this[_0x4eb9b7(0x272)])}));}[_0x50535d(0x268)](_0x5f06d3){const _0x12d3f1=_0x50535d;switch(_0x5f06d3[_0x12d3f1(0x302)]){case 0x0:this[_0x12d3f1(0x135)](_0x5f06d3);break;case 0x1:this[_0x12d3f1(0x223)](_0x5f06d3);break;case 0x2:this['_handleHeartbeatEvent'](_0x5f06d3);break;}}['_handleJoinEvent'](_0x425737){const _0x4baf3d=_0x50535d,{unitIDs:_0x554093,memberID:_0x556e02,isForwarded:_0x27318e}=_0x425737;_0x554093[_0x4baf3d(0x160)](_0x6ac9cc=>{const _0x34952b=_0x4baf3d;if(!_0x27318e&&this[_0x34952b(0x2e7)][_0x34952b(0x2b2)](_0x6ac9cc)&&this[_0x34952b(0x1d4)](_0x6ac9cc)[_0x34952b(0x2e8)](_0xe27187[_0x34952b(0x283)]),!this[_0x34952b(0x2e7)][_0x34952b(0x2b2)](_0x6ac9cc)||!this['_unitOnClients'][_0x34952b(0x154)](_0x6ac9cc)['has'](_0x556e02)){const _0x5b4bcc=this[_0x34952b(0x2e7)][_0x34952b(0x154)](_0x6ac9cc)||new Set();_0x5b4bcc[_0x34952b(0x208)](_0x556e02),this['_unitOnClients'][_0x34952b(0x31e)](_0x6ac9cc,_0x5b4bcc),this[_0x34952b(0x2ef)](_0x556e02);}}),_0x27318e||this[_0x4baf3d(0x13c)]({'type':0x0,'memberID':this[_0x4baf3d(0x288)],'unitIDs':[...this[_0x4baf3d(0x272)]],'isForwarded':!0x0});}[_0x50535d(0x2ef)](_0x5d6f57){const _0x1c56d8=_0x50535d;this[_0x1c56d8(0x286)](_0x5d6f57);const _0x1586eb=window['setTimeout'](()=>{const _0x13572e=_0x1c56d8;this['_unitOnClients'][_0x13572e(0x160)](_0x36d83c=>{const _0x2429cc=_0x13572e;_0x36d83c[_0x2429cc(0x19f)](_0x5d6f57);});},rt*0x2);this[_0x1c56d8(0x2ac)][_0x1c56d8(0x31e)](_0x5d6f57,_0x1586eb);}[_0x50535d(0x286)](_0x16e52d){const _0x274157=_0x50535d;if(this['_clearOtherTimers'][_0x274157(0x2b2)](_0x16e52d)){const _0x2ddd3a=this[_0x274157(0x2ac)][_0x274157(0x154)](_0x16e52d);_0x2ddd3a&&window[_0x274157(0x242)](_0x2ddd3a),this[_0x274157(0x2ac)][_0x274157(0x31e)](_0x16e52d,null);}}[_0x50535d(0x223)](_0x252546){const _0x156c54=_0x50535d,{memberID:_0x40d59b,unitIDs:_0x515fff}=_0x252546;_0x515fff[_0x156c54(0x160)](_0x35b5c8=>{const _0x48ee97=_0x156c54;var _0x51e85d;const _0x4289c1=this[_0x48ee97(0x2e7)]['get'](_0x35b5c8);_0x4289c1&&(_0x4289c1[_0x48ee97(0x19f)](_0x40d59b),(_0x51e85d=this['_ensureSubject'](_0x35b5c8))==null||_0x51e85d[_0x48ee97(0x2e8)](_0x4289c1[_0x48ee97(0x12a)]===0x0?_0xe27187['NO_OTHER_CLIENTS_EDITING']:_0xe27187[_0x48ee97(0x283)]));}),this['_removeClearOtherTimer'](_0x40d59b);}['_handleHeartbeatEvent'](_0x1c3b25){const _0x7d3f6e=_0x50535d;this[_0x7d3f6e(0x2ef)](_0x1c3b25['memberID']);}[_0x50535d(0x13c)](_0x386458){const _0xb3a251=_0x50535d;localStorage[_0xb3a251(0x270)](ot,JSON[_0xb3a251(0x28a)](_0x386458));}[_0x50535d(0x192)](){const _0x2ef800=_0x50535d;this[_0x2ef800(0x127)]=window[_0x2ef800(0x1d8)](()=>{const _0x2716d4=_0x2ef800;this[_0x2716d4(0x13c)]({'type':0x2,'memberID':this[_0x2716d4(0x288)]});},rt);}['_ensureSubject'](_0x451259){const _0x27c502=_0x50535d;return this[_0x27c502(0x199)][_0x27c502(0x2b2)](_0x451259)||this[_0x27c502(0x199)][_0x27c502(0x31e)](_0x451259,new _0x4a30a1(_0xe27187[_0x27c502(0x253)])),this[_0x27c502(0x199)][_0x27c502(0x154)](_0x451259);}}var Ut=(_0x58917e=>(_0x58917e[_0x58917e[_0x50535d(0x1fd)]=0x0]=_0x50535d(0x1fd),_0x58917e[_0x58917e['OK']=0x1]='OK',_0x58917e[_0x58917e[_0x50535d(0x318)]=0x2]=_0x50535d(0x318),_0x58917e[_0x58917e[_0x50535d(0x25e)]=0x3]=_0x50535d(0x25e),_0x58917e[_0x58917e[_0x50535d(0x21b)]=0x4]=_0x50535d(0x21b),_0x58917e[_0x58917e['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x58917e[_0x58917e[_0x50535d(0x233)]=0x6]='ALREADY_EXISTS',_0x58917e[_0x58917e[_0x50535d(0x1a4)]=0x7]='INVALID_ARGUMENT',_0x58917e[_0x58917e[_0x50535d(0x1de)]=0x8]=_0x50535d(0x1de),_0x58917e[_0x58917e['COMPLETION_FINISHED']=0x9]=_0x50535d(0x14a),_0x58917e[_0x58917e['LOGIN_FAILED']=0xa]=_0x50535d(0x21f),_0x58917e[_0x58917e[_0x50535d(0x2fd)]=0x1389]=_0x50535d(0x2fd),_0x58917e[_0x58917e[_0x50535d(0x214)]=0x1771]=_0x50535d(0x214),_0x58917e[_0x58917e[_0x50535d(0x251)]=0x1772]=_0x50535d(0x251),_0x58917e[_0x58917e[_0x50535d(0x193)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x58917e[_0x58917e[_0x50535d(0x1cb)]=0x1b59]='APPLY_REJECT',_0x58917e[_0x58917e[_0x50535d(0x22c)]=0x1b5a]=_0x50535d(0x22c),_0x58917e[_0x58917e[_0x50535d(0x274)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x58917e[_0x58917e['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x50535d(0x1ac),_0x58917e[_0x58917e['APPLY_DUPLICATED']=0x1b5d]=_0x50535d(0x1c2),_0x58917e[_0x58917e[_0x50535d(0x147)]=0x1f41]=_0x50535d(0x147),_0x58917e[_0x58917e[_0x50535d(0x200)]=0x2329]=_0x50535d(0x200),_0x58917e[_0x58917e[_0x50535d(0x25d)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x58917e[_0x58917e[_0x50535d(0x28d)]=0x232b]=_0x50535d(0x28d),_0x58917e[_0x58917e[_0x50535d(0x159)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x58917e[_0x58917e[_0x50535d(0x14e)]=0x232d]=_0x50535d(0x14e),_0x58917e[_0x58917e['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x50535d(0x2c5),_0x58917e[_0x58917e['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x50535d(0x216),_0x58917e[_0x58917e[_0x50535d(0x2c8)]=0x2713]=_0x50535d(0x2c8),_0x58917e[_0x58917e[_0x50535d(0x289)]=0x2714]=_0x50535d(0x289),_0x58917e[_0x58917e[_0x50535d(0x300)]=0x2af9]=_0x50535d(0x300),_0x58917e[_0x58917e['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x50535d(0x1c4),_0x58917e[_0x58917e[_0x50535d(0x239)]=0x2ee2]=_0x50535d(0x239),_0x58917e[_0x58917e['INVITE_CODE_REQUIRED']=0x2ee3]=_0x50535d(0x1db),_0x58917e[_0x58917e[_0x50535d(0x15c)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x58917e[_0x58917e[_0x50535d(0x148)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x58917e[_0x58917e[_0x50535d(0x1c6)]=0x32c9]=_0x50535d(0x1c6),_0x58917e[_0x58917e[_0x50535d(0x1dc)]=0x32ca]=_0x50535d(0x1dc),_0x58917e[_0x58917e[_0x50535d(0x23e)]=0x32cb]=_0x50535d(0x23e),_0x58917e[_0x58917e[_0x50535d(0x2ab)]=-0x1]=_0x50535d(0x2ab),_0x58917e))(Ut||{}),Rn=Object[_0x50535d(0x13f)],Dn=(_0x425943,_0x424fc4,_0x325242,_0x4a643c)=>{const _0x575b20=_0x50535d;for(var _0x48cb84=_0x4a643c>0x1?void 0x0:_0x4a643c?Rn(_0x424fc4,_0x325242):_0x424fc4,_0xf5b352=_0x425943[_0x575b20(0x262)]-0x1,_0x5782ea;_0xf5b352>=0x0;_0xf5b352--)(_0x5782ea=_0x425943[_0xf5b352])&&(_0x48cb84=_0x5782ea(_0x48cb84)||_0x48cb84);return _0x48cb84;},Te=(_0x514f99,_0x2f75a0)=>(_0x26aae5,_0x3f2c4b)=>_0x2f75a0(_0x26aae5,_0x3f2c4b,_0x514f99);let at=class extends _0x1ee003{constructor(_0x2c92d5,_0x50a0e6,_0x5d85b9){const _0xc617fe=_0x50535d;super(),this[_0xc617fe(0x240)]=_0x2c92d5,this[_0xc617fe(0x241)]=_0x50a0e6,this[_0xc617fe(0x25b)]=_0x5d85b9;}async[_0x50535d(0x2b4)](_0x3585f0,_0x174356,_0x1b0575,..._0x54bf10){const _0x430726=_0x50535d;var _0x32b3d5,_0x3c14cd,_0x3ae433,_0x3e2844;const _0x20f7c9=this[_0x430726(0x240)][_0x430726(0x139)]();if(!_0x20f7c9)throw new Error(_0x430726(0x256));const _0x323768=((_0x32b3d5=this[_0x430726(0x25b)][_0x430726(0x172)](_0x4059da))!=null?_0x32b3d5:_0x1263f6)+'/'+_0x3585f0+_0x430726(0x119)+_0x174356,_0xe9bd73=new URL(window[_0x430726(0x312)][_0x430726(0x264)]),_0x32a5dd={'scriptId':_0x3585f0,'runId':(_0x3c14cd=_0xe9bd73[_0x430726(0x2ee)][_0x430726(0x154)](_0x430726(0x29c)))!=null?_0x3c14cd:'','function':_0x174356,'unitId':_0x20f7c9['getUnitId'](),'argsOfFunction':JSON[_0x430726(0x28a)](_0x54bf10),'invokeId':(_0x3ae433=_0x1b0575[_0x430726(0x115)])!=null?_0x3ae433:'','executionId':(_0x3e2844=_0x1b0575[_0x430726(0x152)])!=null?_0x3e2844:''};try{const _0x35bfb2=await this[_0x430726(0x241)][_0x430726(0x2cc)](_0x323768,{'body':_0x32a5dd});return _0x35bfb2[_0x430726(0x2d1)]['error']&&_0x35bfb2[_0x430726(0x2d1)][_0x430726(0x2bd)][_0x430726(0x290)]!==Ut['OK']?_0x430726(0x1bf):_0x35bfb2[_0x430726(0x2d1)][_0x430726(0x30c)];}catch{return _0x430726(0x1bf);}}};at=Dn([Te(0x0,_0x415410),Te(0x1,_0x41cc9a(_0x1bc3ba)),Te(0x2,_0x393474)],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 _0x1cf6ae=_0x726f;(function(_0x38c3d9,_0x1b4c39){const _0x59169b=_0x726f,_0x198a3f=_0x38c3d9();while(!![]){try{const _0x147c7d=-parseInt(_0x59169b(0x300))/0x1*(parseInt(_0x59169b(0x25d))/0x2)+parseInt(_0x59169b(0x36a))/0x3*(-parseInt(_0x59169b(0x245))/0x4)+parseInt(_0x59169b(0x2ac))/0x5*(-parseInt(_0x59169b(0x34d))/0x6)+parseInt(_0x59169b(0x1ff))/0x7+parseInt(_0x59169b(0x241))/0x8+parseInt(_0x59169b(0x1dc))/0x9+parseInt(_0x59169b(0x1d9))/0xa*(-parseInt(_0x59169b(0x28a))/0xb);if(_0x147c7d===_0x1b4c39)break;else _0x198a3f['push'](_0x198a3f['shift']());}catch(_0xd26bee){_0x198a3f['push'](_0x198a3f['shift']());}}}(_0x5251,0x5eaf5));var Bt=Object[_0x1cf6ae(0x1d2)],kt=(_0x3d4cc2,_0x1e0a43,_0x447a39)=>_0x1e0a43 in _0x3d4cc2?Bt(_0x3d4cc2,_0x1e0a43,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x447a39}):_0x3d4cc2[_0x1e0a43]=_0x447a39,_=(_0xadc037,_0x363a28,_0x134393)=>kt(_0xadc037,typeof _0x363a28!='symbol'?_0x363a28+'':_0x363a28,_0x134393);import{MemberService as _0x1b27ed,SessionStatus as _0x141d46,CollaborationSessionService as _0x215035,CollaborationStatus as _0x20e468,CollaborationController as _0x1840cf,ILocalCacheService as _0x51139f,CollaborationUIEventService as _0x4a23ef,CollaborationUIEventId as _0x30ec40,DataLoaderService as _0x55d70b,DocCollaborationEntity as _0xb99ec9,getLocalCacheKey as _0x2c33a4,LOCAL_CACHE_INTERVAL as _0x53a3ec,LOCAL_CACHE_INTERVAL_KEY as _0x575b98,UniverCollaborationClientPlugin as _0x393678,CollaborationSocketService as _0x2c2496,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x1f512c,DEFAULT_WS_SESSION_TICKET_URL as _0x2caff3,UnitStatus as _0x1194e4,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x38b79f,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x33fae9}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x5ee730,Disposable as _0x1f1157,DOC_RANGE_TYPE as _0x5b15b0,Inject as _0x26e26b,Injector as _0x4071e3,IUniverInstanceService as _0x593031,ICommandService as _0x5cf901,debounce as _0x3d8134,Rectangle as _0x2a3bb8,DisposableCollection as _0xfb7bc5,toDisposable as _0x3c04f3,UniverInstanceType as _0x58d390,Tools as _0x2c38f6,COLORS as _0x1285b0,ColorKit as _0x302350,ThemeService as _0xf00281,fromEventSubject as _0x2f89be,LocaleService as _0x22a2eb,createIdentifier as _0x1cb9f0,ILogService as _0x23a635,Optional as _0x1019f0,Workbook as _0x474ce0,CommandType as _0x134c15,IConfigService as _0x4f6567,ILocalStorageService as _0x4384dc,DependentOn as _0x4dbe4b,Plugin as _0x1222da,merge as _0x792394,registerDependencies as _0x92706e,mergeOverrideWithDependencies as _0x2fbfb6,touchDependencies as _0x3c58a2,generateRandomId as _0x3f2eb7}from'@univerjs/core';import{Shape as _0x80333e,Rect as _0xe3b80c,getColor as _0x2b168f,RegularPolygon as _0x12bd42,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x290226,Vector2 as _0x319e67,SHEET_VIEWPORT_KEY as _0x571d2d,IRenderManagerService as _0x27af8f}from'@univerjs/engine-render';import{ISocketService as _0x271a8f,WebSocketService as _0x142e85,HTTPService as _0x5b46d6}from'@univerjs/network';import{IDocClipboardService as _0x1fce8c,NodePositionConvertToCursor as _0x49519c,NodePositionConvertToRectRange as _0x51c967,TEXT_RANGE_LAYER_INDEX as _0x46faf0,SetDocZoomRatioOperation as _0x3e9d1b,DocIMEInputManagerService as _0x1ec52f,DocStateChangeManagerService as _0x5917b8}from'@univerjs/docs-ui';import{IImageIoService as _0x372a19}from'@univerjs/drawing';import{BehaviorSubject as _0x163309,debounceTime as _0x1607a9,takeUntil as _0x4a7ac2,Subject as _0x32d3da,filter as _0x2e18f9,switchMap as _0x47972d,merge as _0x322df2,combineLatest as _0x53145d,of as _0x476a32,fromEvent as _0x5d315c,shareReplay as _0x4c9713,mapTo as _0x3892b3,distinctUntilChanged as _0x24801b}from'rxjs';import{SetTextSelectionsOperation as _0x5c7e95,RichTextEditingMutation as _0x4971eb,DocSelectionManagerService as _0x1be7ae,DocSkeletonManagerService as _0x8a23dd}from'@univerjs/docs';import{ITransformService as _0x3b6299,CollaborationEvent as _0x5d02c6,isTransformMutationFailure as _0x182343,isTransformMutationsWithChangesetSuccess as _0xca1cb4,RevisionService as _0x1d1ea7,ISnapshotServerService as _0x3c9b69}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x531a2c,serializeRangeWithSheet as _0x15364d}from'@univerjs/engine-formula';import{RefRangeService as _0x2859a9,SetSelectionsOperation as _0x2b966a,SheetsSelectionsService as _0xd7a4d8,EffectRefRangId as _0x9b4242,handleIRemoveRow as _0x1c2b1a,handleIRemoveCol as _0x4429aa,handleMoveRange as _0x76b194,handleInsertRow as _0x555870,handleInsertRangeMoveRight as _0x4374b5,handleInsertRangeMoveDown as _0x5b90a0,handleInsertCol as _0xd93a6b,handleDeleteRangeMoveUp as _0x56f692,handleDeleteRangeMoveLeft as _0x635a52,runRefRangeMutations as _0x26525d,SetWorksheetActivateCommand as _0x37e411}from'@univerjs/sheets';function _0x5251(){const _0x5dd573=['ALREADY_EXISTS','subscribe','startsWith','_initStatusComponent','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_localStorageService','debug','saveTaskMap','SNAPSHOT_HAS_BEEN_REMOVED','getConfig','_scheduleHeartbeat','getUnitStatus$','0\x200\x2017\x2016','getValue','onlineStatus','getUnhiddenWorksheets','use','APPLY_NON_SEQUENTIAL_REVISION','univerjs-icon\x20univerjs-icon-','subunit','#fff','contains','roomMembers','_updateLocalCursor','_urlService','SOCKET_FAILED','_ensureSubject','_cursorInfo$','2427796vnmGWq','YUUMI_URL_COL_OUT_OF_RANGE','toRgbString','_docTransformIMECacheService','_drawRectRange','doc.mutation.rich-text-editing','OTHER_CLIENT_EDITING','toString','on-line-single','children','SNAPSHOT_INVALID_SNAPSHOT','_onRefRangeChange','_context','_dataLoaderService','textRanges','sessionTicket','startColumn','UNIVER_SHEET','_memberService','_collabSessionService','RECT','length','fillStyle','_docSyncEditingCollabCursorService','transformMutation','session.will-retry','getDocRanges','onRendered','blue400','_collaborationUIEventService','replaceDocRanges','getCurrentSelections','transformMutationsWithChangeset','MUTATION','_range','_startDocCollabCursor','clearInterval','onPointerMove$','values','_setupSubUnitSync','INVITE_CODE_REQUIRED','m1Prime','popstate','getCollabEntity$','_themeService','_getSessionTicket','find','collabCursorState$','collabStatus.offline','collabStatus.conflict','PY_RUNTIME_SCRIPT_ERROR','CONNECTOR_DATA_TOO_LARGE','_document','_commandService','UNIVER_DOC','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_toggleOffline','onLocalMutation','YUUMI_RATE_OVER_LIMIT','dispose$','onTransformChange$','delete','_init','_scene','APPLY_REVISION_CONFILICT','addClipboardHook','6164160OgwPQQ','_lastPointer','rgba(255,\x20255,\x20255,\x200.01)','createSocket','1527700SCjfwh','_scheduleClearOtherTimer','APPLY_DUPLICATED','setStateCache','getFocusedUnit','verdancy600','attrs','CONFLICT','_colorAssignService','jiqing500','onMouseMove','getTypeOfUnitDisposed$','engine','has','runId','APPLY_REJECT','getItem','icon','_getScale','Failed','_anchor','forEach','onPointerEnter$','defs','6736zUgzSP','subUnitId','LICENSE_DISTRO_REJECTED','TOO_MANY_REQUESTS','_sheetSkeletonManagerService','onlineStatusIcon','_unitStatus','moveTo','_notificationService','_drawTextRange','_onCursorDelete','_textBubble','_status$','colorChannel1','error','href','hide','init','onPointerLeave$','_unitOnClients','_updateURLWithCurrentState','_registerDependencies','call','show','text','_getSheetObject','univer-online-status-title','_id','removeParam','saveOfflineData','off-line-single_clip0_910_343','Error','history','_disabled','_draw','parse','disposeWithMe','setShapeProps','editingUnit','getMergeData','pipe','collaboration.single-unit.warning','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','uni.network.url-service','set','231495TYGnbG','measureText','_collaborationController','YUUMI_UNABLE_LOAD_URL','loadUnit','evenodd','key','getParam','_heartbeatTimer','_clearOtherTimers','fillRule','docStateChange$','LICENSE_EXPORT_SIZE_EXCEEDED','_assignedColors','code','height','transformRemoteChangeset','USERS_LEAVE','_toggleOnline','getSheetBySheetId','_hideTimer','unload','replace','univer-offline','body','_entities','_scheduleSaving','sessionStatus$','getTypeOfUnitAdded$','WECHAT_HAS_BEEN_BOUND','_saveTaskMap','stringify','getSkeleton','clearTimeout','5aPXWPA','_cursors','startRow','getOwnPropertySymbols','width','location','_handleEvent','min','add','imageSourceType','executeCommand','_name','_send','session.collaboration-timeout','unitID','_shapes','save','defIds','CLOSE_ROOM','currentSkeleton$','concat','UPDATE_CURSOR','_removeClearOtherTimer','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','cursorInfo','1em','getStateCache','[CollaborationDataLoaderController]','on-line-single_clip0_910_349','gold400','top','loadOfflineData','subscribeEvent','_render','_selfUnitIDs','_transformUndoRedoStack','_messageService','translate(.97)','_config','AWAITING','getCollabCursors$','mask','drawWith','transformIMECache','_roomMembers$','_docTransformStateCacheService','executionId','eventID','_labelPosition','triggerDblclick','resize','className','invokeId','permission.content','_httpService','_anchorDot','makeDirty','search','_initResize','0\x200\x2016\x2016','idSuffix','currentTheme$','getSheetId','name','VIEW_MAIN','off-line-single','then','_entityInit$','indexOf','syncEditingCollabCursor','post','findNodePositionByCharIndex','_logService','setParam','beginPath','complete','_startSheetCollabCursor','addObject','event$','enableLocalCache','_beforeCloseService','PENDING','getCurrentRevOfUnit','OFFLINE','10dqRSte','mutations','prototype','_updateSubUnitFromURLParams','updateOfflineData','_docSkeletonManagerService','getVpScrollXYInfoByPosToVp','#FFF','params','ENSURE_SNAPSHOT_EXECUTION','addObjects','tag','map','searchParams','_univerInstanceService','_refreshCollabCursors','unshift','getActiveRange','_updateCollabCursors','url(#off-line-single_clip0_910_343)','sheetID','MoveRangeCommandId','disableLocalCache','endRow','size','getMemberID','labelPosition','CHANGESET_REVISION_CONFILICT','InsertRangeMoveRightCommandId','getCellPositionByOffset','entries','transformStateCache','push','_transformPreviousActiveRange','registerComponent','hasOwnProperty','setTimeout','_initStatusListener','current','arc','OTHER_CLIENTS_EDITING','_initEvent','font','_removeCollabCursors','apply','_handleHover','INTERNAL_ERROR','UNRECOGNIZED','NO_OTHER_CLIENTS_EDITING','EMAIL_HAS_BEEN_BOUND','INVITE_CODE_HAS_BEEN_UES','_renderManagerService','unit','getRenderById','_revisionService','currentColor','AWAITING_WITH_PENDING','assign','getCurrentUnitForType','_handleHeartbeatEvent','pushState','assignAColorForMemberID','roomMembers$','getUnitId','random','collaboration-client-ui.config','INVITE_CODE_ALREADY_BOUND','red300','lineTo','flatMap','saveImage','bottom','_online','_color','PERMISSION_DENIED','_onCursorUpdate','string','1196106nzpHhS','newValue','addHandlerCallback','permission.title','UniverIcon','unsubscribe','substring','_syncEditingCollabCursorService','generateRandomId','collab-rect-range-','restore','DeleteRangeMoveUpCommandId','source','TEXT','_cachedData','registerRefRange','setItem','univer-online-status','deepClone','replaceState','getAncestorScale','_cursorShapes','getCurrent','dispose','collabStatus.syncing','selection','includes','fillText','_getMergeRange','3SryGyM','data','split','clipPath','color','_collabCursorController','url(#$1','_injector','fill','url(#on-line-single_clip0_910_349)','send','HEADER_MENU','FromArray','override','_hovered','_uiPartsService','displayName','collaboration-client.offline-data-not-saved','activeSheet$','black','div','_registerRenderDependencies','column','purple300','onStarting','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','InsertRowCommandId','LICENSE_MAX_UNITS_EXCEEDED','collab-text-range-','xlink:href','SUBMIT_CHANGESET_TIMEOUT','_eventUnsubscribe','_localeService','propertyIsEnumerable','_session','DeleteRangeMoveLeftCommandId','_drawAnchor','setUndoRedoMutationParamsCache','isEditing','redoState','m2Prime','next','_docStateChangeManagerService','INVALID_INVITE_CODE','path','transformSelections','round','UNDEFINED','_docTransformSelectionsService','_getSaveTimeout','_saveCache','createInstance','onCommandExecuted','isArray','getActiveSheet','getOwnPropertyDescriptor','none','function','urlChange$','cursorInfo$','USER_NOT_INVITED_CODE','some','endColumn','_configService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','online','undoState','...','ranges','with','origin','_transformHistoryAndStateStack','getOffsetConfig','univer-flex\x20univer-items-center','application/json','type','NOT_FOUND','requireSession','LOGIN_FAILED','_backgroundColor','getRangePointData','LICENSE_IMPORT_SIZE_EXCEEDED','from','_docClipboardService','_colorIndex','_transformService','_localCacheService','_hover','unitId','INVALID_ARGUMENT','transform','_createSocketURL','M0\x200H16V16H0z','row','get','_instanceService','InsertColCommandId','Warning','asObservable','NOT_COLLAB','collabStatus.synced','MOBILE_HAS_BEEN_BOUND','_imageIoService','exhaustSavingTask','range','defineProperty','result','ONLINE','registerRenderModule','collab-client.tooltip.reconnect','session.connection-failed','getMember','140gdpcYd','_collabCursorState$','OnLineSingle','1620603qJVFtU','all','max','_initEntityListener','_docSkeleton','YUUMI_SUBSCRIPTION_NOT_FOUND','extend'];_0x5251=function(){return _0x5dd573;};return _0x5251();}import{map as _0x51c863,filter as _0x1341e5,throttleTime as _0x3f1f4a,takeUntil as _0x31c5d0,switchMap as _0x5e09af}from'rxjs/operators';import{SheetSkeletonManagerService as _0x14c61c,getCoordByCell as _0x477184,getSheetObject as _0x5a6354}from'@univerjs/sheets-ui';import{jsx as _0x5c5541,jsxs as _0x5144bb}from'react/jsx-runtime';import{useObservable as _0x257038,useDependency as _0x274b83,IUIPartsService as _0x26d016,BuiltInUIPart as _0x1bd4a5,connectInjector as _0x12d717,IBeforeCloseService as _0x36b97b,IMessageService as _0x303cbd,INotificationService as _0x4e738a}from'@univerjs/ui';import{clsx as _0x3b2201,Tooltip as _0x14b9bc,MessageType as _0xd517ec}from'@univerjs/design';import{forwardRef as _0x3fbd31,useRef as _0x3f8a0e,createElement as _0x5db9e1,useCallback as _0x3f7977}from'react';import{IRemoteInstanceService as _0x333e31}from'@univerjs/rpc';var li=Object[_0x1cf6ae(0x1a0)],_i=(_0x52059b,_0x5530e0,_0x5b20db,_0x5f0f0e)=>{const _0x30d800=_0x1cf6ae;for(var _0x5431bd=_0x5f0f0e>0x1?void 0x0:_0x5f0f0e?li(_0x5530e0,_0x5b20db):_0x5530e0,_0x1e29bc=_0x52059b[_0x30d800(0x214)]-0x1,_0x236bf1;_0x1e29bc>=0x0;_0x1e29bc--)(_0x236bf1=_0x52059b[_0x1e29bc])&&(_0x5431bd=_0x236bf1(_0x5431bd)||_0x5431bd);return _0x5431bd;},Qe=(_0x1f2201,_0x39ff30)=>(_0x479df0,_0x499561)=>_0x39ff30(_0x479df0,_0x499561,_0x1f2201);let Me=class extends _0x5ee730{constructor(_0x25f76b,_0x4039ab){const _0xeb63ff=_0x1cf6ae;super(),this[_0xeb63ff(0x1bc)]=_0x25f76b,this[_0xeb63ff(0x1cf)]=_0x4039ab,this['_init']();}[_0x1cf6ae(0x23d)](){const _0x2fe3f7=_0x1cf6ae,_0x3e3f04=this;this['disposeWithMe'](this['_docClipboardService'][_0x2fe3f7(0x240)]({'onBeforePasteImage':async _0x65d7e9=>{const _0x47b513=_0x2fe3f7,_0x2a88b0=await _0x3e3f04[_0x47b513(0x1cf)][_0x47b513(0x346)](_0x65d7e9);return _0x2a88b0?{'source':_0x2a88b0[_0x47b513(0x359)],'imageSourceType':_0x2a88b0[_0x47b513(0x2b5)]}:null;}}));}};Me=_i([Qe(0x0,_0x1fce8c),Qe(0x1,_0x372a19)],Me);const qe=[_0x1cf6ae(0x381),_0x1cf6ae(0x24e),_0x1cf6ae(0x24a),_0x1cf6ae(0x343),_0x1cf6ae(0x21b),_0x1cf6ae(0x2c9)];class He extends _0x1f1157{constructor(){const _0x5914b9=_0x1cf6ae;super(...arguments),_(this,_0x5914b9(0x297),new Map()),_(this,_0x5914b9(0x1bd),0x0);}[_0x1cf6ae(0x33d)](_0x4b078e){const _0x3c4f87=_0x1cf6ae;if(this[_0x3c4f87(0x297)]['has'](_0x4b078e))return this[_0x3c4f87(0x297)][_0x3c4f87(0x1c7)](_0x4b078e);const _0x7f44a4=qe[this[_0x3c4f87(0x1bd)]];return this[_0x3c4f87(0x1bd)]=(this[_0x3c4f87(0x1bd)]+0x1)%qe['length'],this[_0x3c4f87(0x297)][_0x3c4f87(0x289)](_0x4b078e,_0x7f44a4),_0x7f44a4;}}function Dt(_0x5ed657){let _0xf5149d='';for(const _0xcb1544 of _0x5ed657){const {startOffset:_0x17e7b5,endOffset:_0x487ac5,isActive:_0x4ad977,rangeType:_0x1be009,segmentId:_0x12e012,segmentPage:_0x40da4f}=_0xcb1544;_0xf5149d['length']&&(_0xf5149d+=','),_0xf5149d+=_0x17e7b5+':'+_0x487ac5+':'+(_0x4ad977?'1':'0')+':'+_0x1be009+':'+_0x12e012+':'+_0x40da4f;}return _0xf5149d;}function hi(_0x4e421b){const _0x485c26=_0x1cf6ae,_0x1b1776=_0x4e421b[_0x485c26(0x36c)](','),_0x1bb66=[];for(const _0x430d71 of _0x1b1776){const [_0x204df8,_0x69c7d8,_0xd9d8c6,_0x240238,_0x2888db,_0x2a891b]=_0x430d71[_0x485c26(0x36c)](':');_0x1bb66['push']({'startOffset':Number(_0x204df8),'endOffset':Number(_0x69c7d8),'collapsed':_0x204df8===_0x69c7d8,'isActive':_0xd9d8c6==='1','rangeType':_0x240238===_0x5b15b0[_0x485c26(0x35a)]?_0x5b15b0['TEXT']:_0x5b15b0[_0x485c26(0x213)],'segmentId':typeof _0x2888db==_0x485c26(0x34c)?String(_0x2888db):'','segmentPage':Number(_0x2a891b!=null?_0x2a891b:-0x1)});}return _0x1bb66[_0x485c26(0x1a6)](_0x2807d0=>_0x2807d0['isActive'])||(_0x1bb66[0x0]['isActive']=!0x0),_0x1bb66;}class je extends _0x5ee730{constructor(){const _0xe84a3e=_0x1cf6ae;super(...arguments),_(this,_0xe84a3e(0x1da),new _0x163309(null)),_(this,_0xe84a3e(0x22e),this['_collabCursorState$']['asObservable']());}[_0x1cf6ae(0x2f1)](_0x46aba6){const _0x1d09a8=_0x1cf6ae,{unitID:_0x291471,memberID:_0x187d0d,textRanges:_0x4052c2}=_0x46aba6,_0x33063e=Dt(_0x4052c2);if(_0x33063e==='')return;const _0x26c049={'unitID':_0x291471,'memberID':_0x187d0d,'selection':_0x33063e};this['_collabCursorState$'][_0x1d09a8(0x393)](_0x26c049);}}var ui=Object['getOwnPropertyDescriptor'],di=(_0xd66c84,_0x43e00b,_0x122c40,_0x29c125)=>{const _0x444dd6=_0x1cf6ae;for(var _0x58e269=_0x29c125>0x1?void 0x0:_0x29c125?ui(_0x43e00b,_0x122c40):_0x43e00b,_0x560b02=_0xd66c84[_0x444dd6(0x214)]-0x1,_0x48b879;_0x560b02>=0x0;_0x560b02--)(_0x48b879=_0xd66c84[_0x560b02])&&(_0x58e269=_0x48b879(_0x58e269)||_0x58e269);return _0x58e269;},U=(_0x26686e,_0x291897)=>(_0x472d53,_0x2a87a5)=>_0x291897(_0x472d53,_0x2a87a5,_0x26686e);const fi=0x12c,Si=0x64;let Pe=class extends _0x5ee730{constructor(_0x137b1a,_0x381312,_0x1a744c,_0x1f38da,_0x2be40f,_0x55615b,_0x51b24b,_0xcfb134,_0x29c2d7){const _0x2446f8=_0x1cf6ae;super(),_(this,_0x2446f8(0x348),!0x1),_(this,_0x2446f8(0x23d),!0x1),_(this,_0x2446f8(0x1fe),new _0x163309(new Map())),_(this,_0x2446f8(0x1a4),this[_0x2446f8(0x1fe)][_0x2446f8(0x1cb)]()),_(this,_0x2446f8(0x2d8),new _0x163309([])),_(this,_0x2446f8(0x33e),this[_0x2446f8(0x2d8)][_0x2446f8(0x285)](_0x1607a9(fi))),_(this,_0x2446f8(0x1fa),_0x3d8134(_0x45ee8a=>{const _0x59f4cc=_0x2446f8,_0xfc488e={'eventID':_0x5d02c6[_0x59f4cc(0x2c1)],'data':{'unitID':this[_0x59f4cc(0x2ba)],'memberID':this[_0x59f4cc(0x38c)][_0x59f4cc(0x319)](),'selection':Dt(_0x45ee8a)}};this[_0x59f4cc(0x38c)][_0x59f4cc(0x374)](_0xfc488e,this['unitID']);},Si)),(this['unitID']=_0x137b1a,this['_session']=_0x381312,this[_0x2446f8(0x371)]=_0x1a744c,this[_0x2446f8(0x24d)]=_0x1f38da,this['_memberService']=_0x2be40f,this[_0x2446f8(0x354)]=_0x55615b,this[_0x2446f8(0x1be)]=_0x51b24b,this[_0x2446f8(0x30e)]=_0xcfb134,this[_0x2446f8(0x234)]=_0x29c2d7);}get[_0x1cf6ae(0x2c4)](){return this['_cursorInfo$']['getValue']();}get['roomMembers'](){return this['_roomMembers$']['getValue']();}[_0x1cf6ae(0x364)](){const _0x3a529d=_0x1cf6ae;super[_0x3a529d(0x364)](),this[_0x3a529d(0x1fe)][_0x3a529d(0x393)](new Map()),this[_0x3a529d(0x1fe)][_0x3a529d(0x2f7)](),this['_roomMembers$'][_0x3a529d(0x393)]([]),this[_0x3a529d(0x2d8)][_0x3a529d(0x2f7)]();}[_0x1cf6ae(0x26e)](){const _0x462c61=_0x1cf6ae;this['_init']||(this[_0x462c61(0x23d)]=!0x0,this[_0x462c61(0x38c)][_0x462c61(0x2a5)][_0x462c61(0x285)](_0x4a7ac2(this[_0x462c61(0x23a)]))[_0x462c61(0x1e4)](_0xc11be4=>{const _0x20ca6d=_0x462c61;_0xc11be4===_0x141d46[_0x20ca6d(0x1d4)]?this[_0x20ca6d(0x29c)]():this[_0x20ca6d(0x237)]();}),this[_0x462c61(0x38c)]['event$'][_0x462c61(0x285)](_0x4a7ac2(this[_0x462c61(0x23a)]))[_0x462c61(0x1e4)](_0x909cc=>{const _0x51102b=_0x462c61,_0x4bc738=_0x909cc[_0x51102b(0x2db)];_0x4bc738===_0x5d02c6[_0x51102b(0x2c1)]&&this[_0x51102b(0x34b)](_0x909cc),_0x4bc738===_0x5d02c6[_0x51102b(0x29b)]&&this[_0x51102b(0x267)](_0x909cc);}),this[_0x462c61(0x281)](this[_0x462c61(0x234)][_0x462c61(0x19d)](_0x5951a9=>{const _0x392e41=_0x462c61,_0x4c3c94=_0x5951a9[_0x392e41(0x308)];_0x4c3c94!=null&&this[_0x392e41(0x348)]&&_0x5951a9['id']===_0x5c7e95['id']&&_0x4c3c94[_0x392e41(0x1c1)]===this[_0x392e41(0x2ba)]&&_0x4c3c94[_0x392e41(0x390)]===!0x1&&_0x4c3c94[_0x392e41(0x1ad)]['length']>0x0&&this['_updateLocalCursor'](_0x4c3c94['ranges']);})),this[_0x462c61(0x354)]['collabCursorState$']['pipe'](_0x4a7ac2(this[_0x462c61(0x23a)]))['subscribe'](_0x5356e7=>{const _0x3151e0=_0x462c61;if((_0x5356e7==null?void 0x0:_0x5356e7[_0x3151e0(0x2ba)])!==this[_0x3151e0(0x2ba)])return;const _0x138429={'eventID':_0x5d02c6[_0x3151e0(0x2c1)],'data':_0x5356e7};this[_0x3151e0(0x34b)](_0x138429);}),this[_0x462c61(0x281)](this[_0x462c61(0x234)][_0x462c61(0x19d)](_0x4c2306=>{const _0x584a47=_0x462c61;if(_0x4c2306['params']==null)return;const _0x4247aa=_0x4c2306['params'];if(_0x4c2306['id']!==_0x4971eb['id']||_0x4247aa[_0x584a47(0x1c1)]!==this[_0x584a47(0x2ba)])return;const _0x484026={'id':_0x584a47(0x204),'params':_0x4247aa},_0x9eac58=this[_0x584a47(0x2c4)];for(const [_0x2e0161,_0x164316]of _0x9eac58){const _0x39546a={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x164316[_0x584a47(0x1ad)]}},_0x1c7565=this[_0x584a47(0x1be)]['transformMutation'](_0x484026,_0x39546a,!0x1);if(_0x182343(_0x1c7565))throw _0x1c7565['error'];_0x9eac58['set'](_0x2e0161,{..._0x164316,'ranges':_0x1c7565['m2Prime']['params'][_0x584a47(0x20d)]});}queueMicrotask(()=>{const _0x576c06=_0x584a47;this['_cursorInfo$'][_0x576c06(0x393)](_0x9eac58);});})));}['_onCursorUpdate'](_0x20e57a){const _0x34a6fe=_0x1cf6ae;var _0x20fd1a,_0x5a2e25;const {memberID:_0x2a56eb,selection:_0x93190f}=_0x20e57a['data'],_0x6e38ea=hi(_0x93190f),_0x1a7013=(_0x5a2e25=(_0x20fd1a=this['_memberService'][_0x34a6fe(0x1d8)](this[_0x34a6fe(0x2ba)],_0x2a56eb))==null?void 0x0:_0x20fd1a[_0x34a6fe(0x2eb)])!=null?_0x5a2e25:'Unknown\x20user',_0x448b65={'color':this['_colorAssignService'][_0x34a6fe(0x33d)](_0x2a56eb),'name':_0x1a7013,'ranges':_0x6e38ea},_0x5cff73=this[_0x34a6fe(0x2c4)];_0x5cff73['set'](_0x2a56eb,_0x448b65),this[_0x34a6fe(0x1fe)][_0x34a6fe(0x393)](_0x5cff73);}[_0x1cf6ae(0x267)](_0x2ce831){const _0x16be39=_0x1cf6ae,{memberID:_0x238b3f}=_0x2ce831[_0x16be39(0x36b)],_0x117234=this[_0x16be39(0x2c4)];_0x117234[_0x16be39(0x23c)](_0x238b3f),this['_cursorInfo$'][_0x16be39(0x393)](_0x117234);}[_0x1cf6ae(0x29c)](){const _0x7bfa94=_0x1cf6ae;var _0x189505;if(this[_0x7bfa94(0x348)]=!0x0,((_0x189505=this[_0x7bfa94(0x30e)][_0x7bfa94(0x249)]())==null?void 0x0:_0x189505[_0x7bfa94(0x33f)]())!==this[_0x7bfa94(0x2ba)])return;const _0x377771=this['_injector']['get'](_0x1be7ae)[_0x7bfa94(0x219)]();Array[_0x7bfa94(0x19e)](_0x377771)&&_0x377771['length']>0x0&&this[_0x7bfa94(0x1fa)](_0x377771);}['_toggleOffline'](){this['_online']=!0x1;}};Pe=di([U(0x2,_0x26e26b(_0x4071e3)),U(0x3,_0x26e26b(He)),U(0x4,_0x26e26b(_0x1b27ed)),U(0x5,_0x26e26b(je)),U(0x6,_0x3b6299),U(0x7,_0x593031),U(0x8,_0x5cf901)],Pe);var mi=Object[_0x1cf6ae(0x1a0)],gi=(_0x400880,_0x2c5446,_0x322c3f,_0x45278a)=>{const _0xd1d2ec=_0x1cf6ae;for(var _0x351953=_0x45278a>0x1?void 0x0:_0x45278a?mi(_0x2c5446,_0x322c3f):_0x2c5446,_0x59d68b=_0x400880[_0xd1d2ec(0x214)]-0x1,_0x20b627;_0x59d68b>=0x0;_0x59d68b--)(_0x20b627=_0x400880[_0x59d68b])&&(_0x351953=_0x20b627(_0x351953)||_0x351953);return _0x351953;},x=(_0x5e3930,_0xcdecc)=>(_0x40518e,_0x43d08b)=>_0xcdecc(_0x40518e,_0x43d08b,_0x5e3930);const vi=0x12c,Ii=0x64,pi=()=>{let _0x39c89a=[],_0x3ff7a5=!0x1;return _0x167d87=>{_0x39c89a['push'](_0x167d87),_0x3ff7a5||(_0x3ff7a5=!0x0,setTimeout(()=>{const _0x447532=_0x726f;_0x39c89a[_0x447532(0x25a)](_0x156375=>_0x156375()),_0x39c89a=[],_0x3ff7a5=!0x1;}));};};let we=class extends _0x5ee730{constructor(_0x5c69a2,_0x3182ba,_0x55f6e9,_0x2a2318,_0x4b342a,_0x7858a7,_0x4666ae,_0x2b6f2a){const _0x26fc1a=_0x1cf6ae;super(),_(this,_0x26fc1a(0x348),!0x1),_(this,_0x26fc1a(0x23d),!0x1),_(this,_0x26fc1a(0x1fe),new _0x163309(new Map())),_(this,'cursorInfo$',this['_cursorInfo$'][_0x26fc1a(0x1cb)]()),_(this,_0x26fc1a(0x2d8),new _0x163309([])),_(this,_0x26fc1a(0x33e),this[_0x26fc1a(0x2d8)][_0x26fc1a(0x285)](_0x1607a9(vi))),_(this,'_updateLocalCursor',_0x3d8134((_0x3007a9,_0x4723d1)=>{const _0x4dfd5f=_0x26fc1a,_0x4c5868={'eventID':_0x5d02c6[_0x4dfd5f(0x2c1)],'data':{'unitID':this['unitID'],'memberID':this[_0x4dfd5f(0x38c)][_0x4dfd5f(0x319)](),'selection':_0x15364d(_0x3007a9,_0x4723d1[_0x4dfd5f(0x1d1)])}};this['_session']['send'](_0x4c5868,this[_0x4dfd5f(0x2ba)]);},Ii)),(this[_0x26fc1a(0x2ba)]=_0x5c69a2,this[_0x26fc1a(0x38c)]=_0x3182ba,this[_0x26fc1a(0x371)]=_0x55f6e9,this[_0x26fc1a(0x24d)]=_0x2a2318,this[_0x26fc1a(0x211)]=_0x4b342a,this[_0x26fc1a(0x30e)]=_0x7858a7,this[_0x26fc1a(0x234)]=_0x4666ae,this['_refRangeService']=_0x2b6f2a);}get['cursorInfo'](){const _0x260f3d=_0x1cf6ae;return this['_cursorInfo$'][_0x260f3d(0x1f0)]();}get[_0x1cf6ae(0x1f9)](){const _0x52b2f8=_0x1cf6ae;return this[_0x52b2f8(0x2d8)]['getValue']();}[_0x1cf6ae(0x364)](){const _0x5ecd8b=_0x1cf6ae;super[_0x5ecd8b(0x364)](),this['_cursorInfo$'][_0x5ecd8b(0x393)](new Map()),this[_0x5ecd8b(0x1fe)][_0x5ecd8b(0x2f7)](),this[_0x5ecd8b(0x2d8)]['next']([]),this[_0x5ecd8b(0x2d8)][_0x5ecd8b(0x2f7)]();}[_0x1cf6ae(0x26e)](){const _0x4c89f6=_0x1cf6ae;this[_0x4c89f6(0x23d)]||(this[_0x4c89f6(0x23d)]=!0x0,this['_session']['sessionStatus$'][_0x4c89f6(0x285)](_0x4a7ac2(this['dispose$']))['subscribe'](_0x46c7c7=>{const _0x9db8f=_0x4c89f6;_0x46c7c7===_0x141d46[_0x9db8f(0x1d4)]?this['_toggleOnline']():this[_0x9db8f(0x237)]();}),this['_session'][_0x4c89f6(0x2fa)]['pipe'](_0x4a7ac2(this[_0x4c89f6(0x23a)]))[_0x4c89f6(0x1e4)](_0x622aac=>{const _0x30dc55=_0x4c89f6,_0x3c7e62=_0x622aac['eventID'];_0x3c7e62===_0x5d02c6['UPDATE_CURSOR']&&this[_0x30dc55(0x34b)](_0x622aac),_0x3c7e62===_0x5d02c6[_0x30dc55(0x29b)]&&this[_0x30dc55(0x267)](_0x622aac);}),this[_0x4c89f6(0x20a)](),this[_0x4c89f6(0x281)](this[_0x4c89f6(0x234)][_0x4c89f6(0x19d)](_0x30f7e5=>{const _0x1840de=_0x4c89f6;if(this['_online']&&_0x30f7e5['id']===_0x2b966a['id']&&_0x30f7e5[_0x1840de(0x308)][_0x1840de(0x1c1)]===this['unitID']){const _0x5707d3=_0x30f7e5[_0x1840de(0x308)];this[_0x1840de(0x1fa)](_0x5707d3[_0x1840de(0x25e)],_0x5707d3['selections'][0x0]);}})));}['_onCursorUpdate'](_0x2aa3f8){const _0x22777a=_0x1cf6ae;var _0x4e092c,_0x19df5f;const {memberID:_0x4fa370,selection:_0x21f3be}=_0x2aa3f8[_0x22777a(0x36b)],{sheetName:_0x3c4ebf,range:_0xedd12b}=_0x531a2c(_0x21f3be),_0x701bc7={'name':(_0x19df5f=(_0x4e092c=this[_0x22777a(0x211)][_0x22777a(0x1d8)](this[_0x22777a(0x2ba)],_0x4fa370))==null?void 0x0:_0x4e092c['name'])!=null?_0x19df5f:'Unknown\x20user','range':this[_0x22777a(0x369)](_0x3c4ebf,_0xedd12b),'sheetID':_0x3c4ebf,'color':this[_0x22777a(0x24d)][_0x22777a(0x33d)](_0x4fa370),'selection':_0x21f3be},_0x4da53c=this['cursorInfo'];_0x4da53c['set'](_0x4fa370,_0x701bc7),this[_0x22777a(0x1fe)][_0x22777a(0x393)](_0x4da53c);}['_onCursorDelete'](_0x1dbafd){const _0x30c61a=_0x1cf6ae,{memberID:_0x43714d}=_0x1dbafd[_0x30c61a(0x36b)],_0x3c9995=this[_0x30c61a(0x2c4)];_0x3c9995['delete'](_0x43714d),this[_0x30c61a(0x1fe)][_0x30c61a(0x393)](_0x3c9995);}[_0x1cf6ae(0x369)](_0xc8c3fa,_0x83cf3a){const _0x180935=_0x1cf6ae;var _0x2c36a8,_0x253bf3;const _0x3ae570=(_0x253bf3=(_0x2c36a8=this[_0x180935(0x30e)]['getUniverSheetInstance'](this[_0x180935(0x2ba)]))==null?void 0x0:_0x2c36a8['getSheetBySheetId'](_0xc8c3fa))==null?void 0x0:_0x253bf3[_0x180935(0x284)]();return(_0x3ae570==null?void 0x0:_0x3ae570[_0x180935(0x22d)](_0x1cc120=>_0x2a3bb8[_0x180935(0x1f8)](_0x1cc120,_0x83cf3a)))||_0x83cf3a;}[_0x1cf6ae(0x20a)](){const _0xbbf8=_0x1cf6ae,_0x37e8a0=new _0xfb7bc5(),_0x39e446=pi(),_0x4aa995=()=>{const _0x53e493=_0x726f;_0x37e8a0[_0x53e493(0x364)]();const _0x3af499=(_0x452225,_0x14f844,_0x69043b,_0x2d62c5)=>{const _0x137ed5=_0x53e493;let _0x361fc1=[];switch(_0x452225['id']){case _0x9b4242[_0x137ed5(0x38d)]:{_0x361fc1=_0x635a52(_0x452225,_0x2d62c5);break;}case _0x9b4242[_0x137ed5(0x358)]:{_0x361fc1=_0x56f692(_0x452225,_0x2d62c5);break;}case _0x9b4242[_0x137ed5(0x1c9)]:{_0x361fc1=_0xd93a6b(_0x452225,_0x2d62c5);break;}case _0x9b4242['InsertRangeMoveDownCommandId']:{_0x361fc1=_0x5b90a0(_0x452225,_0x2d62c5);break;}case _0x9b4242[_0x137ed5(0x31c)]:{_0x361fc1=_0x4374b5(_0x452225,_0x2d62c5);break;}case _0x9b4242[_0x137ed5(0x384)]:{_0x361fc1=_0x555870(_0x452225,_0x2d62c5);break;}case _0x9b4242[_0x137ed5(0x315)]:{_0x361fc1=_0x76b194(_0x452225,_0x2d62c5);break;}case _0x9b4242['RemoveColCommandId']:{_0x361fc1=_0x4429aa(_0x452225,_0x2d62c5);break;}case _0x9b4242['RemoveRowCommandId']:{_0x361fc1=_0x1c2b1a(_0x452225,_0x2d62c5);break;}}const _0x18d371=_0x26525d(_0x361fc1,_0x2d62c5),_0x5e8ef9=this[_0x137ed5(0x2c4)][_0x137ed5(0x1c7)](_0x14f844);if(_0x5e8ef9&&_0x18d371){const _0x1bae89={..._0x5e8ef9,'range':_0x18d371};this[_0x137ed5(0x2c4)]['set'](_0x14f844,_0x1bae89),_0x39e446(()=>{const _0x321ebc=_0x137ed5,_0x16bfcf=this['_refRangeService'][_0x321ebc(0x35c)](_0x18d371,_0xc266a8=>(_0x16bfcf[_0x321ebc(0x364)](),_0x3af499(_0xc266a8,_0x14f844,_0x69043b,_0x18d371)));_0x37e8a0[_0x321ebc(0x2b4)](_0x16bfcf);});}return{'redos':[],'undos':[]};};this[_0x53e493(0x2c4)]['forEach']((_0x1e4d12,_0x8c6411)=>{const _0x27fa7f=_0x53e493,{range:_0x25defa,sheetID:_0x187d87}=_0x1e4d12,_0x2b676b=this['_refRangeService'][_0x27fa7f(0x35c)](_0x25defa,_0x53ab94=>(_0x2b676b['dispose'](),_0x3af499(_0x53ab94,_0x8c6411,_0x187d87,_0x25defa)));_0x37e8a0['add'](_0x2b676b);});};this[_0xbbf8(0x281)](_0x3c04f3(this[_0xbbf8(0x1fe)][_0xbbf8(0x1e4)](()=>{_0x4aa995();})));}[_0x1cf6ae(0x29c)](){const _0x428e09=_0x1cf6ae;var _0x3c5063,_0x278673;if(this['_online']=!0x0,((_0x3c5063=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x3c5063[_0x428e09(0x33f)]())!==this['unitID'])return;const _0x144841=(_0x278673=this[_0x428e09(0x371)][_0x428e09(0x1c7)](_0xd7a4d8)[_0x428e09(0x21e)]())==null?void 0x0:_0x278673[0x0],_0x548659=this['_univerInstanceService'][_0x428e09(0x33a)](_0x58d390[_0x428e09(0x210)])['getActiveSheet']();_0x144841&&_0x548659&&this[_0x428e09(0x1fa)](_0x548659[_0x428e09(0x2ea)](),_0x144841);}[_0x1cf6ae(0x237)](){const _0x19649d=_0x1cf6ae;this[_0x19649d(0x348)]=!0x1;}};we=gi([x(0x2,_0x26e26b(_0x4071e3)),x(0x3,_0x26e26b(He)),x(0x4,_0x26e26b(_0x1b27ed)),x(0x5,_0x593031),x(0x6,_0x5cf901),x(0x7,_0x26e26b(_0x2859a9))],we);var Ci=Object[_0x1cf6ae(0x1a0)],Ei=(_0x1848a5,_0x55b10e,_0x38f993,_0x2f3837)=>{const _0x46beac=_0x1cf6ae;for(var _0x5eb351=_0x2f3837>0x1?void 0x0:_0x2f3837?Ci(_0x55b10e,_0x38f993):_0x55b10e,_0x4055b8=_0x1848a5[_0x46beac(0x214)]-0x1,_0xcda1f9;_0x4055b8>=0x0;_0x4055b8--)(_0xcda1f9=_0x1848a5[_0x4055b8])&&(_0x5eb351=_0xcda1f9(_0x5eb351)||_0x5eb351);return _0x5eb351;},me=(_0x4570ad,_0xc8fa88)=>(_0x1b34d7,_0x24250)=>_0xc8fa88(_0x1b34d7,_0x24250,_0x4570ad);let H=class extends _0x5ee730{constructor(_0x26c54e,_0x580e2c,_0xb10ece){const _0x4fd680=_0x1cf6ae;super(),_(this,'_entities',new Map()),_(this,'_entityInit$',new _0x32d3da()),(this['_univerInstanceService']=_0x26c54e,this[_0x4fd680(0x371)]=_0x580e2c,this[_0x4fd680(0x212)]=_0xb10ece,this['_init']());}[_0x1cf6ae(0x364)](){const _0x356e08=_0x1cf6ae;super[_0x356e08(0x364)](),this[_0x356e08(0x2ef)]['complete'](),this[_0x356e08(0x2a3)][_0x356e08(0x25a)](_0xab4073=>_0xab4073[_0x356e08(0x364)]());}['getCollabCursors$'](_0x2739e4){const _0x60e157=_0x1cf6ae;return this[_0x60e157(0x2a3)][_0x60e157(0x252)](_0x2739e4)?this[_0x60e157(0x2a3)][_0x60e157(0x1c7)](_0x2739e4)['cursorInfo$']:this[_0x60e157(0x2ef)][_0x60e157(0x285)](_0x2e18f9(_0x13d3b5=>_0x13d3b5['unitID']===_0x2739e4),_0x47972d(_0x2510e2=>_0x2510e2['cursorInfo$']));}['_init'](){const _0x2e71a2=_0x1cf6ae;this[_0x2e71a2(0x30e)]['getTypeOfUnitAdded$'](_0x58d390[_0x2e71a2(0x210)])[_0x2e71a2(0x285)](_0x4a7ac2(this[_0x2e71a2(0x23a)]))[_0x2e71a2(0x1e4)](async _0x51db3e=>{const _0x3874c9=_0x2e71a2,_0x5e1a35=_0x51db3e[_0x3874c9(0x33f)](),_0x54bb7d=await this[_0x3874c9(0x2f8)](_0x5e1a35);this[_0x3874c9(0x2ef)][_0x3874c9(0x393)](_0x54bb7d),this['_entities'][_0x3874c9(0x289)](_0x5e1a35,_0x54bb7d);}),this['_univerInstanceService'][_0x2e71a2(0x2a6)](_0x58d390[_0x2e71a2(0x235)])['pipe'](_0x4a7ac2(this[_0x2e71a2(0x23a)]))[_0x2e71a2(0x285)](_0x2e18f9(_0x16cc9b=>!_0x16cc9b[_0x2e71a2(0x33f)]()[_0x2e71a2(0x1e5)]('__')))[_0x2e71a2(0x1e4)](async _0xd75c8b=>{const _0x5cc22e=_0x2e71a2,_0x4af470=_0xd75c8b['getUnitId'](),_0x242518=await this[_0x5cc22e(0x222)](_0x4af470);this[_0x5cc22e(0x2ef)][_0x5cc22e(0x393)](_0x242518),this[_0x5cc22e(0x2a3)][_0x5cc22e(0x289)](_0x4af470,_0x242518);}),_0x322df2(this[_0x2e71a2(0x30e)]['getTypeOfUnitDisposed$'](_0x58d390[_0x2e71a2(0x235)]),this[_0x2e71a2(0x30e)][_0x2e71a2(0x250)](_0x58d390[_0x2e71a2(0x210)]))[_0x2e71a2(0x285)](_0x4a7ac2(this[_0x2e71a2(0x23a)]))[_0x2e71a2(0x1e4)](_0x283fb5=>{const _0x37b83c=_0x2e71a2,_0x505294=_0x283fb5[_0x37b83c(0x33f)](),_0x39672f=this[_0x37b83c(0x2a3)][_0x37b83c(0x1c7)](_0x505294);_0x39672f&&(_0x39672f[_0x37b83c(0x364)](),this['_entities'][_0x37b83c(0x23c)](_0x505294));});}async[_0x1cf6ae(0x2f8)](_0x2df582){const _0x26da75=_0x1cf6ae,_0x4b0eb4=await this[_0x26da75(0x212)][_0x26da75(0x1b6)](_0x2df582),_0x3e435e=this[_0x26da75(0x371)][_0x26da75(0x19c)](we,_0x2df582,_0x4b0eb4);return _0x3e435e[_0x26da75(0x26e)](),_0x3e435e;}async[_0x1cf6ae(0x222)](_0x3753e6){const _0x317839=_0x1cf6ae,_0x312d6e=await this[_0x317839(0x212)][_0x317839(0x1b6)](_0x3753e6),_0x609595=this[_0x317839(0x371)][_0x317839(0x19c)](Pe,_0x3753e6,_0x312d6e);return _0x609595[_0x317839(0x26e)](),_0x609595;}};H=Ei([me(0x0,_0x593031),me(0x1,_0x26e26b(_0x4071e3)),me(0x2,_0x26e26b(_0x215035))],H);const te=0x14,et=0xc8,ge=0x4,bi=0x5;function Oi(_0x332bef,_0x416144){const _0x406c8a=_0x1cf6ae;let {radius:_0xa2bc58,width:_0x5363dd,height:_0x4d00fd}=_0x416144;_0xa2bc58=_0xa2bc58!=null?_0xa2bc58:0x0,_0x5363dd=_0x5363dd!=null?_0x5363dd:0x1e,_0x4d00fd=_0x4d00fd!=null?_0x4d00fd:0x1e;let _0x35e6dd=0x0,_0x1f5e1f=0x0,_0x5867f6=0x0;_0x35e6dd=_0x1f5e1f=_0x5867f6=Math[_0x406c8a(0x2b3)](_0xa2bc58,_0x5363dd/0x2,_0x4d00fd/0x2),_0x332bef[_0x406c8a(0x2f6)](),_0x332bef[_0x406c8a(0x264)](_0x35e6dd,0x0),_0x332bef[_0x406c8a(0x344)](_0x5363dd-_0x1f5e1f,0x0),_0x332bef['arc'](_0x5363dd-_0x1f5e1f,_0x1f5e1f,_0x1f5e1f,Math['PI']*0x3/0x2,0x0,!0x1),_0x332bef[_0x406c8a(0x344)](_0x5363dd,_0x4d00fd-_0x5867f6),_0x332bef[_0x406c8a(0x327)](_0x5363dd-_0x5867f6,_0x4d00fd-_0x5867f6,_0x5867f6,0x0,Math['PI']/0x2,!0x1),_0x332bef[_0x406c8a(0x344)](0x0,_0x4d00fd),_0x332bef['lineTo'](0x0,_0x35e6dd),_0x332bef[_0x406c8a(0x327)](_0x35e6dd,_0x35e6dd,_0x35e6dd,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x332bef['closePath'](),_0x416144[_0x406c8a(0x372)]&&(_0x332bef['save'](),_0x332bef[_0x406c8a(0x215)]=_0x416144[_0x406c8a(0x372)],_0x416144[_0x406c8a(0x294)]===_0x406c8a(0x28f)?_0x332bef[_0x406c8a(0x372)](_0x406c8a(0x28f)):_0x332bef[_0x406c8a(0x372)](),_0x332bef[_0x406c8a(0x357)]());}class ue extends _0x80333e{constructor(_0x384f0e,_0x1fcef5){const _0x54b135=_0x1cf6ae;super(_0x384f0e,_0x1fcef5),_(this,_0x54b135(0x36e)),_(this,_0x54b135(0x275)),(this[_0x54b135(0x36e)]=_0x1fcef5==null?void 0x0:_0x1fcef5['color'],this[_0x54b135(0x275)]=_0x1fcef5==null?void 0x0:_0x1fcef5[_0x54b135(0x275)]);}static[_0x1cf6ae(0x2d6)](_0x4f0724,_0x14142e){const _0x1caef5=_0x1cf6ae,{text:_0x36d72e,color:_0x349642}=_0x14142e;_0x4f0724['save'](),_0x4f0724[_0x1caef5(0x32a)]=_0x1caef5(0x1a9);const _0x29b5fb=_0x4f0724[_0x1caef5(0x28b)](_0x36d72e)[_0x1caef5(0x2b0)],_0x36ffb1=Math['min'](_0x29b5fb+0x2*ge,et);Oi(_0x4f0724,{'height':te,'radius':0x4,'width':_0x36ffb1,'fill':_0x349642}),_0x4f0724['fillStyle']=_0x1caef5(0x307);const _0x366016=ge,_0x571205=te-bi,_0x1b4d53=et-0x2*ge;if(_0x29b5fb>_0x1b4d53){let _0x458b30='',_0x1aee4b=0x0;for(const _0x524838 of _0x36d72e){const _0x406891=_0x4f0724['measureText'](_0x524838)['width'];if(_0x1aee4b+_0x406891<=_0x1b4d53-_0x4f0724[_0x1caef5(0x28b)](_0x1caef5(0x1ac))[_0x1caef5(0x2b0)])_0x458b30+=_0x524838,_0x1aee4b+=_0x406891;else{_0x458b30+=_0x1caef5(0x1ac);break;}}_0x4f0724[_0x1caef5(0x368)](_0x458b30,_0x366016,_0x571205);}else _0x4f0724['fillText'](_0x36d72e,_0x366016,_0x571205);_0x4f0724[_0x1caef5(0x357)]();}[_0x1cf6ae(0x27f)](_0x464839){ue['drawWith'](_0x464839,this);}}const ve='collab-text-anchor-',Ti=_0x1cf6ae(0x386),Ri=_0x1cf6ae(0x356),X=0x6,Di=1.5,Ie=0x4,Ni=1.5,Mi=_0x1cf6ae(0x243);class tt{constructor(_0x4c0c48,_0x5190c8,_0x33855c,_0x34182a){const _0x595de1=_0x1cf6ae;_(this,'_shapes',[]),_(this,_0x595de1(0x259),null),_(this,'_textBubble',null),_(this,_0x595de1(0x2e3),null),_(this,_0x595de1(0x29e),null),_(this,_0x595de1(0x389),null),(this['_cursor']=_0x4c0c48,this[_0x595de1(0x23e)]=_0x5190c8,this[_0x595de1(0x1e0)]=_0x33855c,this[_0x595de1(0x233)]=_0x34182a,this[_0x595de1(0x2cd)]());}set[_0x1cf6ae(0x1c0)](_0x32146e){const _0x159356=_0x1cf6ae;_0x32146e?(this[_0x159356(0x2e3)]&&this[_0x159356(0x2e3)]['hide'](),this[_0x159356(0x268)]&&this['_textBubble'][_0x159356(0x274)]()):(this[_0x159356(0x2e3)]&&this['_anchorDot'][_0x159356(0x274)](),this[_0x159356(0x268)]&&this['_textBubble'][_0x159356(0x26d)]());}['dispose'](){const _0xe6b985=_0x1cf6ae;for(const _0x592df4 of this[_0xe6b985(0x2bb)])_0x592df4['dispose']();this[_0xe6b985(0x268)]&&this['_textBubble'][_0xe6b985(0x364)](),this[_0xe6b985(0x2e3)]&&this['_anchorDot'][_0xe6b985(0x364)](),this[_0xe6b985(0x259)]&&this[_0xe6b985(0x259)]['dispose'](),this[_0xe6b985(0x389)]&&this['_eventUnsubscribe']();}['_render'](){const _0x30d293=_0x1cf6ae;var _0x27ee61;const {_docSkeleton:_0x5c81de,_document:_0x2aa4e6}=this,{color:_0x9203e3,name:_0x4db229,ranges:_0x7a0718}=this['_cursor'],_0x5aa32a=_0x2aa4e6[_0x30d293(0x1b1)](),{docsLeft:_0x1565bf,docsTop:_0x3aabd4}=_0x5aa32a,_0x3ad0a9=new _0x49519c(_0x5aa32a,_0x5c81de);for(const {startOffset:_0x49e3ca,endOffset:_0xa8f92a,rangeType:_0x1d94ac,segmentId:_0x2a1e62,segmentPage:_0x17351a,collapsed:_0x20f9d9,isActive:_0x4c9cb5}of _0x7a0718){const _0x284e44=_0x5c81de[_0x30d293(0x2f3)](_0x49e3ca,!0x0,_0x2a1e62,_0x17351a);let _0x5882fd=_0x5c81de['findNodePositionByCharIndex'](_0xa8f92a,!0x0,_0x2a1e62,_0x17351a);if(_0x5882fd==null&&(_0x5882fd=_0x5c81de[_0x30d293(0x2f3)](_0xa8f92a-0x1,!0x1,_0x2a1e62,_0x17351a)),_0x4c9cb5){const {contentBoxPointGroup:_0x43c73b}=_0x3ad0a9[_0x30d293(0x1b9)](_0x5882fd,_0x5882fd);if(_0x43c73b[_0x30d293(0x214)]===0x0)continue;this[_0x30d293(0x38e)](_0x9203e3,_0x43c73b,_0x1565bf,_0x3aabd4,_0x4db229),this[_0x30d293(0x389)]=this[_0x30d293(0x32d)]();}if(_0x284e44&&_0x5882fd){if(_0x1d94ac===_0x5b15b0[_0x30d293(0x213)]){const _0x51ba06=new _0x51c967(_0x5aa32a,_0x5c81de),{pointGroup:_0x2961cf}=(_0x27ee61=_0x51ba06[_0x30d293(0x1b9)](_0x284e44,_0x5882fd))!=null?_0x27ee61:{};if(_0x2961cf==null||_0x2961cf[_0x30d293(0x214)]===0x0)continue;this[_0x30d293(0x203)](_0x9203e3,_0x2961cf,_0x1565bf,_0x3aabd4);}else{if(!_0x20f9d9){const {borderBoxPointGroup:_0x2faf2f}=_0x3ad0a9['getRangePointData'](_0x284e44,_0x5882fd);if(_0x2faf2f[_0x30d293(0x214)]===0x0)continue;this[_0x30d293(0x266)](_0x9203e3,_0x2faf2f,_0x1565bf,_0x3aabd4);}}}}}[_0x1cf6ae(0x38e)](_0x402352,_0x5e3693,_0x4f4aa6,_0x500863,_0x37fe7e){const _0x576c28=_0x1cf6ae,_0x3fdef2=this['_getAnchorBounding'](_0x5e3693),{left:_0x2dbfda,top:_0x56c310,height:_0x3eb0b2}=_0x3fdef2,_0x18ad28=this[_0x576c28(0x257)](),_0x3993a1=Ni/_0x18ad28,_0x35f65a=new _0xe3b80c(ve+_0x2c38f6[_0x576c28(0x355)](X),{'left':_0x2dbfda+_0x4f4aa6-_0x3993a1,'top':_0x56c310+_0x500863,'height':_0x3eb0b2,'width':Di,'fill':_0x402352||_0x2b168f(_0x1285b0[_0x576c28(0x37d)],0x0),'strokeWidth':_0x3993a1,'stroke':Mi,'evented':!0x0});this[_0x576c28(0x259)]=_0x35f65a,this[_0x576c28(0x23e)][_0x576c28(0x2f9)](_0x35f65a,_0x46faf0);const _0x246851=new _0xe3b80c(ve+_0x2c38f6[_0x576c28(0x355)](X),{'left':_0x2dbfda+_0x4f4aa6-_0x3993a1,'top':_0x56c310+_0x500863-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x402352||_0x2b168f(_0x1285b0[_0x576c28(0x37d)],0x0),'strokeWidth':0x0,'stroke':_0x402352||_0x2b168f(_0x1285b0[_0x576c28(0x37d)],0x0),'evented':!0x1});this[_0x576c28(0x2e3)]=_0x246851,this[_0x576c28(0x23e)][_0x576c28(0x2f9)](_0x246851,_0x46faf0);const _0x31c24f=new ue(ve+_0x2c38f6[_0x576c28(0x355)](X),{'left':_0x2dbfda+_0x4f4aa6-_0x3993a1,'top':_0x56c310+_0x500863-te,'text':_0x37fe7e,'color':_0x402352});this[_0x576c28(0x268)]=_0x31c24f,this[_0x576c28(0x23e)][_0x576c28(0x2f9)](_0x31c24f,_0x46faf0),this[_0x576c28(0x1c0)]=!0x1;}[_0x1cf6ae(0x32d)](){const _0x5822c3=_0x1cf6ae,_0x8bc12d=this[_0x5822c3(0x259)][_0x5822c3(0x25b)][_0x5822c3(0x2cc)](()=>{const _0x3650b6=_0x5822c3;this[_0x3650b6(0x1c0)]=!0x0;}),_0x535a3c=this[_0x5822c3(0x259)]['onPointerLeave$'][_0x5822c3(0x2cc)](()=>{const _0x5491db=_0x5822c3;this[_0x5491db(0x29e)]&&clearTimeout(this[_0x5491db(0x29e)]),this['_hideTimer']=setTimeout(()=>{const _0x876d94=_0x5491db;this[_0x876d94(0x1c0)]=!0x1;},0x7d0);});return()=>{const _0x3bf2d0=_0x5822c3;_0x8bc12d[_0x3bf2d0(0x352)](),_0x535a3c[_0x3bf2d0(0x352)]();};}[_0x1cf6ae(0x266)](_0x57bc5f,_0x29465a,_0x400c53,_0x4b65a9){const _0x411e03=_0x1cf6ae,_0x3edc66=new _0x302350(_0x57bc5f)['setAlpha'](0.2)[_0x411e03(0x201)](),_0x221894=new _0x12bd42(Ti+_0x2c38f6[_0x411e03(0x355)](X),{'pointsGroup':_0x29465a,'fill':_0x3edc66||_0x2b168f(_0x1285b0[_0x411e03(0x37d)],0.2),'left':_0x400c53,'top':_0x4b65a9,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x411e03(0x320)](_0x221894),this[_0x411e03(0x23e)]['addObject'](_0x221894,_0x46faf0);}['_drawRectRange'](_0x2aef67,_0x39b11d,_0x1e9971,_0x38606c){const _0x468104=_0x1cf6ae,_0x3cae15=new _0x302350(_0x2aef67)['setAlpha'](0.2)[_0x468104(0x201)](),_0xe61c16=new _0x12bd42(Ri+_0x2c38f6[_0x468104(0x355)](X),{'pointsGroup':_0x39b11d,'fill':_0x3cae15||_0x2b168f(_0x1285b0[_0x468104(0x37d)],0.2),'left':_0x1e9971,'top':_0x38606c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x468104(0x2bb)][_0x468104(0x320)](_0xe61c16),this['_scene'][_0x468104(0x2f9)](_0xe61c16,_0x46faf0);}['_getAnchorBounding'](_0x3b7678){const _0x4ad050=_0x3b7678[0x0],_0x2921c0=_0x4ad050[0x0],_0x45d788=_0x4ad050[0x2],{x:_0x5a0c96,y:_0x310748}=_0x2921c0,{x:_0x480100,y:_0x61045a}=_0x45d788;return{'left':_0x5a0c96,'top':_0x310748,'width':_0x480100-_0x5a0c96,'height':_0x61045a-_0x310748};}['_getScale'](){const _0x2e39e6=_0x1cf6ae,{scaleX:_0xfa65f8,scaleY:_0xbf06ac}=this[_0x2e39e6(0x23e)]['getAncestorScale']();return Math[_0x2e39e6(0x1de)](_0xfa65f8,_0xbf06ac);}}var Pi=Object[_0x1cf6ae(0x1a0)],wi=(_0x72e72a,_0x54e019,_0x6896ae,_0x4e36ee)=>{for(var _0x5cec3d=_0x4e36ee>0x1?void 0x0:_0x4e36ee?Pi(_0x54e019,_0x6896ae):_0x54e019,_0x5b974f=_0x72e72a['length']-0x1,_0x2ade9a;_0x5b974f>=0x0;_0x5b974f--)(_0x2ade9a=_0x72e72a[_0x5b974f])&&(_0x5cec3d=_0x2ade9a(_0x5cec3d)||_0x5cec3d);return _0x5cec3d;},Q=(_0x4b5495,_0x4be16e)=>(_0x490988,_0x282b49)=>_0x4be16e(_0x490988,_0x282b49,_0x4b5495);let Ue=class extends _0x5ee730{constructor(_0xfdd2e7,_0x49acf9,_0x94ccc9,_0x520e95,_0x45f535){const _0x3c5ab0=_0x1cf6ae;super(),_(this,_0x3c5ab0(0x362),[]),_(this,_0x3c5ab0(0x2ad),[]),(this[_0x3c5ab0(0x20b)]=_0xfdd2e7,this['_docSkeletonManagerService']=_0x49acf9,this[_0x3c5ab0(0x36f)]=_0x94ccc9,this['_commandService']=_0x520e95,this[_0x3c5ab0(0x22b)]=_0x45f535,this[_0x3c5ab0(0x23d)]());}['_init'](){const _0x977d8c=_0x1cf6ae,_0xe1d862=this[_0x977d8c(0x20b)][_0x977d8c(0x1c1)],_0x4e8ddc=this[_0x977d8c(0x305)];this['disposeWithMe'](_0x53145d([this[_0x977d8c(0x36f)][_0x977d8c(0x2d4)](_0xe1d862),this[_0x977d8c(0x22b)][_0x977d8c(0x2e9)]])['pipe'](_0x51c863(([_0x4d4f93,_0x2addc4])=>({'skeleton':_0x4e8ddc[_0x977d8c(0x2aa)](),'cursors':[..._0x4d4f93['values']()][_0x977d8c(0x345)](_0x13fe74=>({..._0x13fe74,'color':_0x2addc4[_0x13fe74[_0x977d8c(0x36e)]]}))})))['subscribe'](_0x425097=>{const _0x15f2f1=_0x977d8c;if(this[_0x15f2f1(0x32b)](),_0x425097){const {skeleton:_0x13fe51,cursors:_0x55de79}=_0x425097;this[_0x15f2f1(0x312)](_0x13fe51,_0x55de79);}})),this[_0x977d8c(0x2e6)](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x7c9dd3,_0x32e5d2){const _0x54759c=_0x1cf6ae,{scene:_0x400dec,mainComponent:_0x50eeeb}=this['_context'],_0x3b4336=_0x32e5d2['map'](_0x40e91b=>new tt(_0x40e91b,_0x400dec,_0x7c9dd3,_0x50eeeb));this[_0x54759c(0x362)]=_0x3b4336,this[_0x54759c(0x2ad)]=_0x32e5d2;}[_0x1cf6ae(0x30f)](){const _0x223bb6=_0x1cf6ae;this['_removeCollabCursors']();const {scene:_0x5f3d0f,mainComponent:_0x109d3a}=this[_0x223bb6(0x20b)],_0x5c2350=this[_0x223bb6(0x305)][_0x223bb6(0x2aa)](),_0x57d335=this['_cursors'][_0x223bb6(0x30c)](_0x434189=>new tt(_0x434189,_0x5f3d0f,_0x5c2350,_0x109d3a));this[_0x223bb6(0x362)]=_0x57d335;}[_0x1cf6ae(0x32b)](){const _0x265c60=_0x1cf6ae;this[_0x265c60(0x362)][_0x265c60(0x25a)](_0x1cf148=>_0x1cf148[_0x265c60(0x364)]()),this[_0x265c60(0x362)]=[];}['_initCommandExecutedListener'](){const _0x136a76=_0x1cf6ae,_0x5ddbf9=[_0x3e9d1b['id']];this[_0x136a76(0x281)](this[_0x136a76(0x234)][_0x136a76(0x19d)](_0x21f788=>{const _0x55b862=_0x136a76;_0x5ddbf9[_0x55b862(0x367)](_0x21f788['id'])&&_0x21f788[_0x55b862(0x308)]['unitId']===this['_context'][_0x55b862(0x1c1)]&&this['_refreshCollabCursors']();}));}[_0x1cf6ae(0x2e6)](){const _0x11f7e2=_0x1cf6ae;this['disposeWithMe'](_0x2f89be(this[_0x11f7e2(0x20b)][_0x11f7e2(0x251)][_0x11f7e2(0x23b)])['pipe'](_0x1341e5(_0x780c1e=>_0x780c1e[_0x11f7e2(0x1b4)]===_0x290226[_0x11f7e2(0x2de)]),_0x3f1f4a(0x10))[_0x11f7e2(0x1e4)](()=>{this['_refreshCollabCursors']();}));}};Ue=wi([Q(0x1,_0x26e26b(_0x8a23dd)),Q(0x2,_0x26e26b(H)),Q(0x3,_0x5cf901),Q(0x4,_0x26e26b(_0xf00281))],Ue);const Ui=0x1,Li=1.5;class Ai extends _0x80333e{constructor(_0x1848d3,_0x347896){const _0x23e9fc=_0x1cf6ae;super(_0x1848d3,_0x347896),_(this,_0x23e9fc(0x349)),_(this,_0x23e9fc(0x378),!0x1),_(this,_0x23e9fc(0x221)),_(this,_0x23e9fc(0x2b7),''),_(this,'_labelPosition',_0x23e9fc(0x2ca)),_(this,'_backgroundColor'),(_0x347896&&this[_0x23e9fc(0x282)](_0x347896),this['onPointerEnter$'][_0x23e9fc(0x2cc)](()=>this[_0x23e9fc(0x282)]({'hovered':!0x0})),this[_0x23e9fc(0x26f)]['subscribeEvent'](()=>this[_0x23e9fc(0x282)]({'hovered':!0x1})));}[_0x1cf6ae(0x282)](_0x544753){const _0x5d4633=_0x1cf6ae;var _0x522ade,_0x5b2332,_0x54fb19,_0x31c262,_0x122d80,_0x567058;this['_color']=(_0x522ade=_0x544753['color'])!=null?_0x522ade:this[_0x5d4633(0x349)],this[_0x5d4633(0x378)]=(_0x5b2332=_0x544753['hovered'])!=null?_0x5b2332:this[_0x5d4633(0x378)],this[_0x5d4633(0x221)]=(_0x54fb19=_0x544753[_0x5d4633(0x1d1)])!=null?_0x54fb19:this[_0x5d4633(0x221)],this[_0x5d4633(0x2b7)]=(_0x31c262=_0x544753['name'])!=null?_0x31c262:this[_0x5d4633(0x2b7)],this[_0x5d4633(0x2dc)]=(_0x122d80=_0x544753[_0x5d4633(0x31a)])!=null?_0x122d80:this[_0x5d4633(0x2dc)],this[_0x5d4633(0x1b8)]=(_0x567058=_0x544753['backgroundColor'])!=null?_0x567058:this[_0x5d4633(0x1b8)],this['transformByState']({'width':_0x544753[_0x5d4633(0x2b0)],'height':_0x544753[_0x5d4633(0x299)]});}['onMouseMove'](_0x5ef78d){const _0x5e4e04=_0x1cf6ae,{row:_0x27b2e6,column:_0x385d6a}=_0x5ef78d;if(_0x27b2e6>=this['_range'][_0x5e4e04(0x2ae)]&&_0x27b2e6<=this[_0x5e4e04(0x221)][_0x5e4e04(0x317)]&&_0x385d6a>=this[_0x5e4e04(0x221)][_0x5e4e04(0x20f)]&&_0x385d6a<=this['_range'][_0x5e4e04(0x1a7)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x5e4e04(0x282)]({'hovered':!0x1});}[_0x1cf6ae(0x2dd)](_0x3cc7b0){return!0x1;}[_0x1cf6ae(0x27f)](_0x126985){const _0x317b5e=_0x1cf6ae;_0xe3b80c[_0x317b5e(0x2d6)](_0x126985,{'width':this[_0x317b5e(0x2b0)],'height':this[_0x317b5e(0x299)],'strokeWidth':Li,'stroke':this[_0x317b5e(0x349)],'evented':!0x1,'fill':this[_0x317b5e(0x1b8)]}),this['_hovered']&&(_0x126985[_0x317b5e(0x2bc)](),_0x126985[_0x317b5e(0x1c3)](0x1,0x0,0x0,0x1,this[_0x317b5e(0x2b0)],this[_0x317b5e(0x2dc)]===_0x317b5e(0x347)?0x0:-0x14),ue[_0x317b5e(0x2d6)](_0x126985,{'text':this['_name'],'color':this['_color']}),_0x126985[_0x317b5e(0x357)]());}}var yi=Object['getOwnPropertyDescriptor'],$i=(_0xc57bfc,_0xcce11c,_0x4babd2,_0x135960)=>{const _0x1a08af=_0x1cf6ae;for(var _0xa26391=_0x135960>0x1?void 0x0:_0x135960?yi(_0xcce11c,_0x4babd2):_0xcce11c,_0xf39e6b=_0xc57bfc[_0x1a08af(0x214)]-0x1,_0x383827;_0xf39e6b>=0x0;_0xf39e6b--)(_0x383827=_0xc57bfc[_0xf39e6b])&&(_0xa26391=_0x383827(_0xa26391)||_0xa26391);return _0xa26391;},pe=(_0x318312,_0x24fe0d)=>(_0x3ab139,_0x5ab1df)=>_0x24fe0d(_0x3ab139,_0x5ab1df,_0x318312);const xi=0x1389;let Le=class extends _0x5ee730{constructor(_0x1896e2,_0x1f42ed,_0x2ae817,_0x31763c){const _0x3d6f27=_0x1cf6ae;super(),_(this,'_cursors',new Set()),_(this,_0x3d6f27(0x242),null),(this[_0x3d6f27(0x20b)]=_0x1896e2,this[_0x3d6f27(0x261)]=_0x1f42ed,this[_0x3d6f27(0x36f)]=_0x2ae817,this[_0x3d6f27(0x22b)]=_0x31763c,this[_0x3d6f27(0x23d)]());}[_0x1cf6ae(0x23d)](){const _0x2ac708=_0x1cf6ae;this[_0x2ac708(0x261)][_0x2ac708(0x2bf)][_0x2ac708(0x285)](_0x31c5d0(this[_0x2ac708(0x23a)]),_0x5e09af(_0x1a134d=>{const _0x480a31=_0x2ac708;if(_0x1a134d){const _0x20deb9=_0x1a134d['sheetId'];return _0x53145d(this[_0x480a31(0x36f)][_0x480a31(0x2d4)](this[_0x480a31(0x20b)][_0x480a31(0x1c1)]),this[_0x480a31(0x22b)][_0x480a31(0x2e9)])[_0x480a31(0x285)](_0x51c863(([_0x3ce4f3,_0x30c1ae])=>{const _0x57ce9d=_0x480a31,_0x5ed3ed=new Map();return _0x3ce4f3[_0x57ce9d(0x25a)]((_0x5cbfbb,_0x2fb554)=>{const _0x277090=_0x57ce9d;if(_0x5cbfbb[_0x277090(0x314)]===_0x20deb9){const _0x1b877f={..._0x5cbfbb};_0x1b877f[_0x277090(0x36e)]=_0x30c1ae[_0x5cbfbb[_0x277090(0x36e)]],_0x5ed3ed[_0x277090(0x289)](_0x2fb554,_0x1b877f);}}),{'skeleton':_0x1a134d,'cursors':_0x5ed3ed};}));}return _0x476a32({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x139b0d,cursors:_0x1f7d15})=>{const _0x63ed27=_0x2ac708;this[_0x63ed27(0x32b)](),_0x139b0d&&this[_0x63ed27(0x312)](_0x139b0d,_0x1f7d15);}),this[_0x2ac708(0x261)][_0x2ac708(0x2bf)][_0x2ac708(0x1e4)](_0x5db2a9=>{const _0x2de934=_0x2ac708;if(_0x5db2a9==null)return;const {skeleton:_0x8fa387}=_0x5db2a9,{scene:_0x1a9ed4}=this[_0x2de934(0x20b)];_0x1a9ed4[_0x2de934(0x224)][_0x2de934(0x2cc)](_0x3d8134(_0x4d7c95=>{const _0x530fde=_0x2de934;var _0xd91f5b,_0x502d79;const {offsetX:_0x67c4de,offsetY:_0x2c00c4}=_0x4d7c95,{x:_0x2486ce,y:_0xe28838}=_0x1a9ed4['getRelativeToViewportCoord'](_0x319e67[_0x530fde(0x376)]([_0x67c4de,_0x2c00c4])),{scaleX:_0x411540,scaleY:_0x171ad5}=_0x1a9ed4[_0x530fde(0x361)](),_0x355e8a=_0x1a9ed4['getViewport'](_0x571d2d[_0x530fde(0x2ec)]),_0x1ab973=_0x1a9ed4[_0x530fde(0x306)](_0x319e67[_0x530fde(0x376)]([_0x2486ce,_0xe28838]),_0x355e8a),_0x53b752=_0x8fa387[_0x530fde(0x31d)](_0x67c4de,_0x2c00c4,_0x411540,_0x171ad5,_0x1ab973);((_0xd91f5b=this[_0x530fde(0x242)])==null?void 0x0:_0xd91f5b[_0x530fde(0x380)])===_0x53b752[_0x530fde(0x380)]&&((_0x502d79=this[_0x530fde(0x242)])==null?void 0x0:_0x502d79[_0x530fde(0x1c6)])===_0x53b752[_0x530fde(0x1c6)]||this[_0x530fde(0x2ad)][_0x530fde(0x25a)](_0x379331=>{const _0x137727=_0x530fde;_0x379331[_0x137727(0x24f)](_0x53b752);});},0x64));});}[_0x1cf6ae(0x312)](_0x4aca12,_0x4d89a7){const _0x4215a1=_0x1cf6ae;var _0xc7eae;const _0x2c6a32=(_0xc7eae=this[_0x4215a1(0x261)][_0x4215a1(0x363)]())==null?void 0x0:_0xc7eae['skeleton'];if(!_0x2c6a32)return;const _0x53d4f1=this[_0x4215a1(0x276)]();if(!_0x53d4f1)return;this['_cursors']['forEach'](_0x56a23e=>{const _0x15ff7c=_0x4215a1;_0x56a23e[_0x15ff7c(0x2e4)]();});const {scene:_0x185b81}=_0x53d4f1,_0x37c7c3=Bi(Array[_0x4215a1(0x1bb)](_0x4d89a7[_0x4215a1(0x225)]()))['map'](_0x35deeb=>{const _0x376ef0=_0x4215a1,{color:_0x263f3b,range:_0x314cf9,name:_0x31d0a5,selection:_0x158ca9,sheetID:_0x37ffae}=_0x35deeb,{startColumn:_0x439336,startRow:_0x12a3c4,endColumn:_0x32fb49,endRow:_0x30f6f0}=_0x314cf9,_0xb9493c=_0x477184(_0x12a3c4,_0x439336,_0x185b81,_0x2c6a32),_0x5114cc=_0x477184(_0x30f6f0,_0x32fb49,_0x185b81,_0x2c6a32),{columnHeaderHeightAndMarginTop:_0x561772}=_0x2c6a32,{startX:_0x56e606,startY:_0x26ada9}=_0xb9493c,{endX:_0x9bf9b9,endY:_0x333821}=_0x5114cc,_0x5c621a=_0x9bf9b9-_0x56e606,_0xa442dd=_0x333821-_0x26ada9,_0x4e442f={'labelPosition':_0x26ada9-_0x561772>=te?_0x376ef0(0x2ca):_0x376ef0(0x347),'sheetID':_0x37ffae,'range':_0x314cf9,'color':_0x263f3b,'name':_0x31d0a5,'selection':_0x158ca9,'left':_0x56e606,'top':_0x26ada9,'width':_0x5c621a,'height':_0xa442dd,'evented':!0x1,'zIndex':xi};return new Ai(_0x31d0a5,_0x4e442f);});_0x185b81[_0x4215a1(0x30a)](_0x37c7c3,Ui),this['_cursors']=new Set(_0x37c7c3);}['_removeCollabCursors'](){const _0x53f6a9=_0x1cf6ae;var _0x29e914;(_0x29e914=this[_0x53f6a9(0x2ad)])==null||_0x29e914[_0x53f6a9(0x25a)](_0x540958=>_0x540958['dispose']());}[_0x1cf6ae(0x276)](){const _0x17a3c1=_0x1cf6ae;return _0x5a6354(this['_context'][_0x17a3c1(0x334)],this['_context']);}};Le=$i([pe(0x1,_0x26e26b(_0x14c61c)),pe(0x2,_0x26e26b(H)),pe(0x3,_0x26e26b(_0xf00281))],Le);function Bi(_0x46636a){const _0x43ad70=_0x1cf6ae,_0x1e58c8=new Map();return _0x46636a['forEach'](_0x3b9e8f=>{const _0x3c1d99=_0x726f;if(_0x1e58c8['has'](_0x3b9e8f[_0x3c1d99(0x366)])){const _0x427877=_0x1e58c8[_0x3c1d99(0x1c7)](_0x3b9e8f[_0x3c1d99(0x366)]);_0x427877[_0x3c1d99(0x2eb)]+=',\x20'+_0x3b9e8f['name'];}else _0x1e58c8[_0x3c1d99(0x289)](_0x3b9e8f['selection'],_0x3b9e8f);}),Array[_0x43ad70(0x1bb)](_0x1e58c8[_0x43ad70(0x225)]());}var I=function(){const _0x2da801=_0x1cf6ae;return I=Object['assign']||function(_0xf6d36b){const _0x4203f8=_0x726f;for(var _0x4910b3,_0xa9e624=0x1,_0x46c1b4=arguments[_0x4203f8(0x214)];_0xa9e624<_0x46c1b4;_0xa9e624++){_0x4910b3=arguments[_0xa9e624];for(var _0x5b6d09 in _0x4910b3)Object['prototype'][_0x4203f8(0x323)][_0x4203f8(0x273)](_0x4910b3,_0x5b6d09)&&(_0xf6d36b[_0x5b6d09]=_0x4910b3[_0x5b6d09]);}return _0xf6d36b;},I[_0x2da801(0x32c)](this,arguments);},ki=function(_0x41b0c4,_0xb13c21){const _0x24c552=_0x1cf6ae;var _0x4a73d4={};for(var _0x4dfd2b in _0x41b0c4)Object[_0x24c552(0x302)][_0x24c552(0x323)]['call'](_0x41b0c4,_0x4dfd2b)&&_0xb13c21[_0x24c552(0x2f0)](_0x4dfd2b)<0x0&&(_0x4a73d4[_0x4dfd2b]=_0x41b0c4[_0x4dfd2b]);if(_0x41b0c4!=null&&typeof Object[_0x24c552(0x2af)]==_0x24c552(0x1a2)){for(var _0x3d0e66=0x0,_0x4dfd2b=Object['getOwnPropertySymbols'](_0x41b0c4);_0x3d0e66<_0x4dfd2b['length'];_0x3d0e66++)_0xb13c21[_0x24c552(0x2f0)](_0x4dfd2b[_0x3d0e66])<0x0&&Object['prototype'][_0x24c552(0x38b)][_0x24c552(0x273)](_0x41b0c4,_0x4dfd2b[_0x3d0e66])&&(_0x4a73d4[_0x4dfd2b[_0x3d0e66]]=_0x41b0c4[_0x4dfd2b[_0x3d0e66]]);}return _0x4a73d4;},We=_0x3fbd31(function(_0x43d74d,_0x556aba){const _0x395b1d=_0x1cf6ae;var _0x3334c6=_0x43d74d[_0x395b1d(0x256)],_0x4c51f7=_0x43d74d['id'],_0x2845dd=_0x43d74d['className'],_0x3ce6d0=_0x43d74d[_0x395b1d(0x1e2)],_0x59c3fb=ki(_0x43d74d,[_0x395b1d(0x256),'id',_0x395b1d(0x2df),_0x395b1d(0x1e2)]),_0x43ad1c=_0x395b1d(0x1f5)[_0x395b1d(0x2c0)](_0x4c51f7,'\x20')[_0x395b1d(0x2c0)](_0x2845dd||'')['trim'](),_0x32a1f0=_0x3f8a0e('_'[_0x395b1d(0x2c0)](Wi()));return Nt(_0x3334c6,''['concat'](_0x4c51f7),{'defIds':_0x3334c6[_0x395b1d(0x2bd)],'idSuffix':_0x32a1f0[_0x395b1d(0x326)]},I({'ref':_0x556aba,'className':_0x43ad1c},_0x59c3fb),_0x3ce6d0);});function Nt(_0x3d8484,_0x4e884f,_0x374fb4,_0x34d536,_0xbd5250){return _0x5db9e1(_0x3d8484['tag'],I(I({'key':_0x4e884f},Hi(_0x3d8484,_0x374fb4,_0xbd5250)),_0x34d536),(ji(_0x3d8484,_0x374fb4)['children']||[])['map'](function(_0x380774,_0xa89d90){const _0x2135c3=_0x726f;return Nt(_0x380774,''[_0x2135c3(0x2c0)](_0x4e884f,'-')[_0x2135c3(0x2c0)](_0x3d8484[_0x2135c3(0x30b)],'-')[_0x2135c3(0x2c0)](_0xa89d90),_0x374fb4,void 0x0,_0xbd5250);}));}function Hi(_0x22c328,_0x538f60,_0x37031b){const _0x27b759=_0x1cf6ae;var _0x335ebe=I({},_0x22c328[_0x27b759(0x24b)]);_0x37031b!=null&&_0x37031b[_0x27b759(0x26a)]&&_0x335ebe[_0x27b759(0x372)]===_0x27b759(0x26a)&&(_0x335ebe[_0x27b759(0x372)]=_0x37031b[_0x27b759(0x26a)]),_0x22c328[_0x27b759(0x30b)]===_0x27b759(0x2d5)&&_0x335ebe['id']&&(_0x335ebe['id']=_0x335ebe['id']+_0x538f60[_0x27b759(0x2e8)]),Object['entries'](_0x335ebe)[_0x27b759(0x25a)](function(_0x4ccf49){const _0xf5ce74=_0x27b759;var _0x40ff31=_0x4ccf49[0x0],_0x12a745=_0x4ccf49[0x1];_0x40ff31===_0xf5ce74(0x2d5)&&typeof _0x12a745==_0xf5ce74(0x34c)&&(_0x335ebe[_0x40ff31]=_0x12a745[_0xf5ce74(0x2a0)](/url\(#(.*)\)/,_0xf5ce74(0x370)[_0xf5ce74(0x2c0)](_0x538f60['idSuffix'],')')));});var _0x5719c3=_0x538f60[_0x27b759(0x2bd)];return!_0x5719c3||_0x5719c3['length']===0x0||(_0x22c328['tag']===_0x27b759(0x1f3)&&_0x335ebe[_0x27b759(0x387)]&&(_0x335ebe[_0x27b759(0x387)]=_0x335ebe[_0x27b759(0x387)]+_0x538f60['idSuffix']),Object[_0x27b759(0x31e)](_0x335ebe)[_0x27b759(0x25a)](function(_0x3cc646){const _0x69504c=_0x27b759;var _0x59053c=_0x3cc646[0x0],_0x104a32=_0x3cc646[0x1];typeof _0x104a32=='string'&&(_0x335ebe[_0x59053c]=_0x104a32[_0x69504c(0x2a0)](/url\(#(.*)\)/,'url(#$1'[_0x69504c(0x2c0)](_0x538f60[_0x69504c(0x2e8)],')')));})),_0x335ebe;}function ji(_0x58a358,_0xbd4c3b){const _0x294d7d=_0x1cf6ae;var _0x27175e,_0x28126f=_0xbd4c3b[_0x294d7d(0x2bd)];return!_0x28126f||_0x28126f['length']===0x0?_0x58a358:_0x58a358[_0x294d7d(0x30b)]==='defs'&&(!((_0x27175e=_0x58a358[_0x294d7d(0x208)])===null||_0x27175e===void 0x0)&&_0x27175e[_0x294d7d(0x214)])?I(I({},_0x58a358),{'children':_0x58a358[_0x294d7d(0x208)][_0x294d7d(0x30c)](function(_0x4aa929){const _0x59d858=_0x294d7d;return typeof _0x4aa929['attrs']['id']==_0x59d858(0x34c)&&_0x28126f&&_0x28126f[_0x59d858(0x2f0)](_0x4aa929[_0x59d858(0x24b)]['id'])>-0x1?I(I({},_0x4aa929),{'attrs':I(I({},_0x4aa929[_0x59d858(0x24b)]),{'id':_0x4aa929[_0x59d858(0x24b)]['id']+_0xbd4c3b[_0x59d858(0x2e8)]})}):_0x4aa929;})}):_0x58a358;}function Wi(){const _0x2fe23c=_0x1cf6ae;return Math[_0x2fe23c(0x340)]()[_0x2fe23c(0x206)](0x24)[_0x2fe23c(0x353)](0x2,0x8);}We[_0x1cf6ae(0x37a)]=_0x1cf6ae(0x351);var Fi={'tag':'svg','attrs':{'fill':_0x1cf6ae(0x1a1),'viewBox':_0x1cf6ae(0x2e7),'width':_0x1cf6ae(0x2c5),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x1cf6ae(0x313)},'children':[{'tag':_0x1cf6ae(0x396),'attrs':{'stroke':'currentColor','d':_0x1cf6ae(0x2c3),'strokeLinecap':_0x1cf6ae(0x398),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1cf6ae(0x25c),'attrs':{},'children':[{'tag':_0x1cf6ae(0x36d),'attrs':{'id':_0x1cf6ae(0x27b)},'children':[{'tag':_0x1cf6ae(0x396),'attrs':{'fill':_0x1cf6ae(0x1f7),'d':_0x1cf6ae(0x1c5)}}]}]}],'defIds':['off-line-single_clip0_910_343']},Mt=_0x3fbd31(function(_0x342631,_0x5631ba){const _0x48a5ba=_0x1cf6ae;return _0x5db9e1(We,Object[_0x48a5ba(0x339)]({},_0x342631,{'id':_0x48a5ba(0x2ed),'ref':_0x5631ba,'icon':Fi}));});Mt[_0x1cf6ae(0x37a)]='OffLineSingle';var Vi={'tag':'svg','attrs':{'fill':'none','viewBox':_0x1cf6ae(0x1ef),'width':'1em','height':_0x1cf6ae(0x2c5)},'children':[{'tag':'g','attrs':{'clipPath':_0x1cf6ae(0x373)},'children':[{'tag':'path','attrs':{'stroke':_0x1cf6ae(0x337),'d':_0x1cf6ae(0x383),'strokeLinecap':_0x1cf6ae(0x398),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1cf6ae(0x25c),'attrs':{},'children':[{'tag':_0x1cf6ae(0x36d),'attrs':{'id':_0x1cf6ae(0x2c8)},'children':[{'tag':_0x1cf6ae(0x396),'attrs':{'fill':_0x1cf6ae(0x1f7),'d':_0x1cf6ae(0x1c5),'transform':_0x1cf6ae(0x2d1)}}]}]}],'defIds':['on-line-single_clip0_910_349']},Pt=_0x3fbd31(function(_0x3d26b6,_0x587bb1){const _0x49d26d=_0x1cf6ae;return _0x5db9e1(We,Object[_0x49d26d(0x339)]({},_0x3d26b6,{'id':_0x49d26d(0x207),'ref':_0x587bb1,'icon':Vi}));});Pt['displayName']=_0x1cf6ae(0x1db);const Yi='univer-online-status-icon',Xi=_0x1cf6ae(0x277),Gi=_0x1cf6ae(0x35e),Ki='univer-online',zi=_0x1cf6ae(0x2a1),G={'onlineStatusIcon':Yi,'onlineStatusTitle':Xi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0x41adc5){const _0x3a8a50=_0x1cf6ae;switch(_0x41adc5){case _0x20e468['OFFLINE']:return _0x3a8a50(0x22f);case _0x20e468[_0x3a8a50(0x24c)]:return _0x3a8a50(0x230);case _0x20e468['FETCH_MISS']:return'collabStatus.fetchMiss';case _0x20e468['NOT_COLLAB']:return'collabStatus.notCollab';case _0x20e468[_0x3a8a50(0x2d3)]:case _0x20e468[_0x3a8a50(0x338)]:return _0x3a8a50(0x365);case _0x20e468['SYNCED']:case _0x20e468[_0x3a8a50(0x2fd)]:return _0x3a8a50(0x1cd);}}function Zi(_0x2e1001){const _0x51a95d=_0x1cf6ae,{status$:_0x1437df}=_0x2e1001,_0x5c02bd=_0x257038(_0x1437df,_0x20e468[_0x51a95d(0x1cc)]),_0x4e641b=_0x274b83(_0x22a2eb),_0x65381d=_0x274b83(_0x215035),_0x37c90c=_0x5c02bd!==_0x20e468[_0x51a95d(0x2ff)],_0x1a7abe=_0x4e641b['t'](Ji(_0x5c02bd)),_0x50bf03=_0x3b2201(G[_0x51a95d(0x1f1)],{[G[_0x51a95d(0x1aa)]]:_0x37c90c,[G['offline']]:!_0x37c90c}),_0x4b6769=_0x37c90c?_0x5c5541(Pt,{}):_0x5c5541(Mt,{}),_0x1bf669=_0x3f7977(()=>{_0x37c90c||_0x65381d['reconnect']();},[_0x37c90c,_0x65381d]);function _0x1fafb9(){const _0x4a1fd6=_0x51a95d;return _0x5144bb('div',{'className':_0x3b2201(_0x50bf03,_0x4a1fd6(0x1b2)),'onClick':_0x1bf669,'children':[_0x5c5541('div',{'className':G[_0x4a1fd6(0x262)],'children':_0x4b6769}),_0x5c5541(_0x4a1fd6(0x37e),{'className':G['onlineStatusTitle'],'children':_0x1a7abe})]});}return _0x37c90c?_0x1fafb9():_0x5c5541(_0x14b9bc,{'title':_0x4e641b['t'](_0x51a95d(0x1d6)),'children':_0x1fafb9()});}var Qi=Object[_0x1cf6ae(0x1a0)],qi=(_0x55e904,_0x435bb8,_0x45ca9f,_0x201529)=>{const _0x246e07=_0x1cf6ae;for(var _0x4b4713=_0x201529>0x1?void 0x0:_0x201529?Qi(_0x435bb8,_0x45ca9f):_0x435bb8,_0x36bfe0=_0x55e904[_0x246e07(0x214)]-0x1,_0x188ac7;_0x36bfe0>=0x0;_0x36bfe0--)(_0x188ac7=_0x55e904[_0x36bfe0])&&(_0x4b4713=_0x188ac7(_0x4b4713)||_0x4b4713);return _0x4b4713;},q=(_0x48241a,_0x1c1b07)=>(_0x1920ae,_0x5a8855)=>_0x1c1b07(_0x1920ae,_0x5a8855,_0x48241a);let se=class extends _0x1f1157{constructor(_0x39c9d8,_0x10568c,_0x167616,_0x23e3dc){const _0x3ce1c2=_0x1cf6ae;super(),_(this,'_status$',new _0x163309(_0x20e468['NOT_COLLAB'])),(this['_univerInstanceService']=_0x39c9d8,this[_0x3ce1c2(0x371)]=_0x10568c,this[_0x3ce1c2(0x28c)]=_0x167616,this[_0x3ce1c2(0x379)]=_0x23e3dc,this[_0x3ce1c2(0x1e6)](),this[_0x3ce1c2(0x325)]());}[_0x1cf6ae(0x325)](){const _0x34cf9b=_0x1cf6ae;this['disposeWithMe'](this[_0x34cf9b(0x30e)]['focused$'][_0x34cf9b(0x285)](_0x47972d(()=>{const _0x429541=_0x34cf9b,_0x52d823=this['_univerInstanceService']['getFocusedUnit']();return _0x52d823?this[_0x429541(0x28c)][_0x429541(0x22a)](_0x52d823[_0x429541(0x33f)]()):_0x476a32(null);}),_0x47972d(_0x231f62=>_0x231f62?_0x231f62['status$']:_0x476a32(_0x20e468[_0x34cf9b(0x1cc)])))[_0x34cf9b(0x1e4)](_0x5ba617=>{const _0x52e72c=_0x34cf9b;this[_0x52e72c(0x269)][_0x52e72c(0x393)](_0x5ba617);}));}[_0x1cf6ae(0x1e6)](){const _0x10cc74=_0x1cf6ae;this[_0x10cc74(0x281)](this[_0x10cc74(0x379)][_0x10cc74(0x322)](_0x1bd4a5[_0x10cc74(0x375)],()=>_0x12d717(en({'status$':this['_status$'][_0x10cc74(0x1cb)]()}),this[_0x10cc74(0x371)])));}};se=qi([q(0x0,_0x593031),q(0x1,_0x26e26b(_0x4071e3)),q(0x2,_0x26e26b(_0x1840cf)),q(0x3,_0x26d016)],se);function en(_0x2d42c2){const {status$:_0x47d148}=_0x2d42c2;return function(){return _0x5c5541(Zi,{'status$':_0x47d148});};}var tn=Object[_0x1cf6ae(0x1a0)],sn=(_0x2fd63a,_0x41b490,_0x509b9d,_0x9f950b)=>{const _0x1bd7cc=_0x1cf6ae;for(var _0x51c8ab=_0x9f950b>0x1?void 0x0:_0x9f950b?tn(_0x41b490,_0x509b9d):_0x41b490,_0x3fc7ba=_0x2fd63a[_0x1bd7cc(0x214)]-0x1,_0xb2f08c;_0x3fc7ba>=0x0;_0x3fc7ba--)(_0xb2f08c=_0x2fd63a[_0x3fc7ba])&&(_0x51c8ab=_0xb2f08c(_0x51c8ab)||_0x51c8ab);return _0x51c8ab;},B=(_0x1dccb3,_0x1eaf90)=>(_0x251183,_0x2c7b60)=>_0x1eaf90(_0x251183,_0x2c7b60,_0x1dccb3);let ie=class extends _0x1f1157{constructor(_0x577124,_0x3ee9be,_0x3dc198,_0x7576f0,_0x30f082,_0x4f978a){const _0x46b384=_0x1cf6ae;super(),this[_0x46b384(0x2fc)]=_0x577124,this[_0x46b384(0x1bf)]=_0x3ee9be,this[_0x46b384(0x21c)]=_0x3dc198,this['_messageService']=_0x7576f0,this['_notificationService']=_0x30f082,this[_0x46b384(0x38a)]=_0x4f978a,this['_setupBeforeClosingHandler'](),this[_0x46b384(0x329)]();}['_setupBeforeClosingHandler'](){const _0x37f9d5=_0x1cf6ae;this[_0x37f9d5(0x281)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x1491fd=_0x37f9d5;if(this['_localCacheService']['saveTaskMap']['size'])return this[_0x1491fd(0x38a)]['t'](_0x1491fd(0x37b));}));}[_0x1cf6ae(0x329)](){const _0x3526d9=_0x1cf6ae;this[_0x3526d9(0x281)](this[_0x3526d9(0x21c)][_0x3526d9(0x2fa)][_0x3526d9(0x1e4)](_0x559abd=>{const _0x3caf2d=_0x3526d9;_0x559abd['id']===_0x30ec40[_0x3caf2d(0x205)]&&this['_messageService']['show']({'type':_0xd517ec[_0x3caf2d(0x1ca)],'content':this['_localeService']['t'](_0x3caf2d(0x286))}),_0x559abd['id']===_0x30ec40[_0x3caf2d(0x2be)]&&this['_messageService'][_0x3caf2d(0x274)]({'type':_0xd517ec[_0x3caf2d(0x1ca)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x559abd['id']===_0x30ec40[_0x3caf2d(0x34a)]&&this[_0x3caf2d(0x265)]['show']({'title':this['_localeService']['t'](_0x3caf2d(0x350)),'content':this[_0x3caf2d(0x38a)]['t'](_0x3caf2d(0x2e1)),'type':'error','duration':0x0}),_0x559abd['id']===_0x30ec40['CONFLICT']&&this[_0x3caf2d(0x2d0)][_0x3caf2d(0x274)]({'type':_0xd517ec[_0x3caf2d(0x27c)],'content':this[_0x3caf2d(0x38a)]['t']('collaboration.closeRoom')+'('+_0x559abd[_0x3caf2d(0x36b)]+')'}),_0x559abd['id']===_0x30ec40['JOIN_ROOM_FAILED']&&this[_0x3caf2d(0x2d0)]['show']({'type':_0xd517ec['Warning'],'content':this[_0x3caf2d(0x38a)]['t'](_0x559abd['data']||'')}),_0x559abd['id']===_0x30ec40['SOCKET_FAILED_RETRY']&&this[_0x3caf2d(0x2d0)][_0x3caf2d(0x274)]({'type':_0xd517ec[_0x3caf2d(0x1ca)],'content':this['_localeService']['t'](_0x3caf2d(0x218))}),_0x559abd['id']===_0x30ec40[_0x3caf2d(0x1fc)]&&this[_0x3caf2d(0x2d0)]['show']({'type':_0xd517ec[_0x3caf2d(0x27c)],'content':this['_localeService']['t'](_0x3caf2d(0x1d7))}),_0x559abd['id']===_0x30ec40[_0x3caf2d(0x388)]&&this[_0x3caf2d(0x2d0)]['show']({'type':_0xd517ec['Error'],'content':this[_0x3caf2d(0x38a)]['t'](_0x3caf2d(0x2b9))});}));}};ie=sn([B(0x0,_0x36b97b),B(0x1,_0x51139f),B(0x2,_0x26e26b(_0x4a23ef)),B(0x3,_0x303cbd),B(0x4,_0x4e738a),B(0x5,_0x26e26b(_0x22a2eb))],ie);const nn=_0x1cf6ae(0x341),st={},wt=_0x1cb9f0(_0x1cf6ae(0x288));var rn=Object[_0x1cf6ae(0x1a0)],on=(_0x31c34c,_0x3b1357,_0x23639c,_0x4d6af0)=>{for(var _0x101c8a=_0x4d6af0>0x1?void 0x0:_0x4d6af0?rn(_0x3b1357,_0x23639c):_0x3b1357,_0x27e041=_0x31c34c['length']-0x1,_0x23e5b8;_0x27e041>=0x0;_0x27e041--)(_0x23e5b8=_0x31c34c[_0x27e041])&&(_0x101c8a=_0x23e5b8(_0x101c8a)||_0x101c8a);return _0x101c8a;},K=(_0x257aaa,_0xac378d)=>(_0x3970f0,_0x41a972)=>_0xac378d(_0x3970f0,_0x41a972,_0x257aaa);let ne=class extends _0x5ee730{constructor(_0xceb5be,_0x45494a,_0x1620f5,_0x3dfae4,_0xbd6b00){const _0x5cd318=_0x1cf6ae;super(),this[_0x5cd318(0x1fb)]=_0xceb5be,this[_0x5cd318(0x2f4)]=_0x45494a,this[_0x5cd318(0x234)]=_0x1620f5,this[_0x5cd318(0x20c)]=_0x3dfae4,_0xbd6b00?_0xbd6b00==null||_0xbd6b00['whenReady']()[_0x5cd318(0x2ee)](()=>this[_0x5cd318(0x23d)]()):(this['_logService']['debug'](_0x5cd318(0x2c7),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x5cd318(0x23d)]());}async[_0x1cf6ae(0x23d)](){const _0x1fd6bb=_0x1cf6ae,_0x16d554=this['_urlService'][_0x1fd6bb(0x291)](_0x1fd6bb(0x334)),_0x464807=this[_0x1fd6bb(0x1fb)][_0x1fd6bb(0x291)](_0x1fd6bb(0x1b4)),_0x490b01=this[_0x1fd6bb(0x1fb)][_0x1fd6bb(0x291)](_0x1fd6bb(0x1f6));if(!_0x16d554||!_0x464807){this['_logService'][_0x1fd6bb(0x1e9)](_0x1fd6bb(0x2c7),_0x1fd6bb(0x287));return;}const _0x1a75c4=await this[_0x1fd6bb(0x20c)][_0x1fd6bb(0x28e)](_0x16d554,Number(_0x464807),_0x490b01);_0x1a75c4&&_0x1a75c4 instanceof _0x474ce0&&this[_0x1fd6bb(0x226)](_0x1a75c4);}async[_0x1cf6ae(0x226)](_0x44870b){const _0x21e26c=_0x1cf6ae;await this[_0x21e26c(0x303)](_0x44870b),_0x44870b[_0x21e26c(0x37c)][_0x21e26c(0x285)](_0x4a7ac2(this[_0x21e26c(0x23a)]))[_0x21e26c(0x1e4)](_0x1e2574=>{_0x1e2574&&this['_updateURLWithCurrentState'](_0x1e2574);}),this[_0x21e26c(0x1fb)][_0x21e26c(0x1a3)][_0x21e26c(0x285)](_0x4a7ac2(this['dispose$']))[_0x21e26c(0x1e4)](()=>this[_0x21e26c(0x303)](_0x44870b));}['_updateURLWithCurrentState'](_0x2c4232,_0x2b18a6=!0x1){const _0x13e8f9=_0x1cf6ae,_0x19dbbb=this['_urlService'][_0x13e8f9(0x291)](_0x13e8f9(0x1f6));_0x2c4232[_0x13e8f9(0x2ea)]()!==_0x19dbbb&&this[_0x13e8f9(0x1fb)][_0x13e8f9(0x2f5)]('subunit',_0x2c4232[_0x13e8f9(0x2ea)](),_0x2b18a6);}async['_updateSubUnitFromURLParams'](_0x3be0d0){const _0x48a3c3=_0x1cf6ae;var _0x16ec2e;const _0x3d9372=this[_0x48a3c3(0x1fb)][_0x48a3c3(0x291)](_0x48a3c3(0x1f6));if(!_0x3d9372||!_0x3be0d0['getSheetBySheetId'](_0x3d9372)){const _0x118128=_0x3be0d0[_0x48a3c3(0x1f2)]()[0x0],_0x5a09fa=_0x3be0d0[_0x48a3c3(0x29d)](_0x118128);if(!_0x5a09fa)return;this[_0x48a3c3(0x271)](_0x5a09fa,!0x0),await this[_0x48a3c3(0x234)][_0x48a3c3(0x2b6)](_0x37e411['id'],{'unitId':_0x3be0d0[_0x48a3c3(0x33f)](),'subUnitId':_0x118128});return;}((_0x16ec2e=_0x3be0d0[_0x48a3c3(0x19f)]())==null?void 0x0:_0x16ec2e['getSheetId']())!==_0x3d9372&&await this['_commandService'][_0x48a3c3(0x2b6)](_0x37e411['id'],{'unitId':_0x3be0d0[_0x48a3c3(0x33f)](),'subUnitId':_0x3d9372});}};ne=on([K(0x0,wt),K(0x1,_0x23a635),K(0x2,_0x5cf901),K(0x3,_0x26e26b(_0x55d70b)),K(0x4,_0x1019f0(_0x333e31))],ne);var an=Object['getOwnPropertyDescriptor'],cn=(_0x31d1c6,_0x562b35,_0x3b031e,_0x3f218f)=>{const _0x5c8b72=_0x1cf6ae;for(var _0x1e51e5=_0x3f218f>0x1?void 0x0:_0x3f218f?an(_0x562b35,_0x3b031e):_0x562b35,_0x41cfd9=_0x31d1c6[_0x5c8b72(0x214)]-0x1,_0x4819d1;_0x41cfd9>=0x0;_0x41cfd9--)(_0x4819d1=_0x31d1c6[_0x41cfd9])&&(_0x1e51e5=_0x4819d1(_0x1e51e5)||_0x1e51e5);return _0x1e51e5;},Ce=(_0x561b2f,_0x4cdcb7)=>(_0x20f03e,_0x2b435b)=>_0x4cdcb7(_0x20f03e,_0x2b435b,_0x561b2f);let re=class{constructor(_0x2770fa,_0x17d93c,_0x19fdb3){const _0x279799=_0x1cf6ae;this['_injector']=_0x2770fa,this[_0x279799(0x1be)]=_0x17d93c,this['_renderManagerService']=_0x19fdb3;}[_0x1cf6ae(0x2d7)](_0x4e920b){const _0x53f9d1=_0x1cf6ae;this['_transformUndoRedoStack'](_0x4e920b),this[_0x53f9d1(0x321)](_0x4e920b);}[_0x1cf6ae(0x29a)](_0x289ab6){const _0x2eee36=_0x1cf6ae,{unitID:_0x5b5a16}=_0x289ab6,_0x46836d=this[_0x2eee36(0x333)][_0x2eee36(0x335)](_0x5b5a16)[_0x2eee36(0x1ae)](_0x1ec52f),{redoCache:_0xc4ea5c}=_0x46836d['getUndoRedoMutationParamsCache']();if(_0xc4ea5c[_0x2eee36(0x214)]===0x0)return _0x289ab6;let _0x5dd11c=_0x2c38f6[_0x2eee36(0x35f)](_0x289ab6[_0x2eee36(0x301)][0x0]);for(let _0x418a3c=0x0;_0x418a3c<_0xc4ea5c[_0x2eee36(0x214)];_0x418a3c++){const _0x42be70={'id':_0x2eee36(0x204),'params':{..._0xc4ea5c[_0x418a3c]}},_0x44df49=this[_0x2eee36(0x1be)][_0x2eee36(0x217)](_0x5dd11c,_0x42be70,!0x1);if(_0x182343(_0x44df49))throw _0x44df49[_0x2eee36(0x26b)];_0x5dd11c=_0x44df49[_0x2eee36(0x228)];}return{..._0x2c38f6['deepClone'](_0x289ab6),'mutations':[_0x5dd11c]};}[_0x1cf6ae(0x2cf)](_0x9f0e56){const _0x5dc1a0=_0x1cf6ae,{unitID:_0x394980}=_0x9f0e56,_0x382bab=this[_0x5dc1a0(0x333)]['getRenderById'](_0x394980)[_0x5dc1a0(0x1ae)](_0x1ec52f),{undoCache:_0x2fdeb9,redoCache:_0x46c35a}=_0x382bab['getUndoRedoMutationParamsCache']();if(_0x2fdeb9[_0x5dc1a0(0x214)]===0x0||_0x46c35a[_0x5dc1a0(0x214)]===0x0)return;const _0x580997=[],_0x186b11=[];let _0x396d59=_0x2c38f6[_0x5dc1a0(0x35f)](_0x9f0e56[_0x5dc1a0(0x301)][0x0]),_0x5f3a3a=_0x2c38f6['deepClone'](_0x9f0e56[_0x5dc1a0(0x301)][0x0]);for(let _0xbfc3e3=_0x2fdeb9[_0x5dc1a0(0x214)]-0x1;_0xbfc3e3>=0x0;_0xbfc3e3--){const _0x57925f={'id':_0x5dc1a0(0x204),'params':{..._0x2fdeb9[_0xbfc3e3]}},_0x46e64b={'id':_0x5dc1a0(0x204),'params':{..._0x46c35a[_0xbfc3e3]}},_0x25f68d=this[_0x5dc1a0(0x1be)][_0x5dc1a0(0x217)](_0x396d59,_0x57925f,!0x1),_0xeaa651=this[_0x5dc1a0(0x1be)][_0x5dc1a0(0x217)](_0x5f3a3a,_0x46e64b,!0x1);if(_0x182343(_0x25f68d))throw _0x25f68d['error'];if(_0x182343(_0xeaa651))throw _0xeaa651[_0x5dc1a0(0x26b)];_0x580997[_0x5dc1a0(0x310)](_0x25f68d[_0x5dc1a0(0x392)]['params']),_0x186b11[_0x5dc1a0(0x310)](_0xeaa651[_0x5dc1a0(0x392)][_0x5dc1a0(0x308)]),_0x396d59=_0x25f68d[_0x5dc1a0(0x228)],_0x5f3a3a=_0xeaa651['m1Prime'];}_0x382bab[_0x5dc1a0(0x38f)]({'undoCache':_0x580997,'redoCache':_0x186b11});}[_0x1cf6ae(0x321)](_0x40f67a){const _0x49632d=_0x1cf6ae,{unitID:_0xa736f3}=_0x40f67a,_0x1d1290=this['_renderManagerService'][_0x49632d(0x335)](_0xa736f3)[_0x49632d(0x1ae)](_0x1ec52f),_0x290bbe=_0x1d1290[_0x49632d(0x311)]();if(_0x290bbe==null)return;const _0x4ec4bb=[{'id':_0x49632d(0x204),'params':{'unitId':_0x40f67a[_0x49632d(0x2ba)],'actions':null,'textRanges':[_0x290bbe]}}],_0x3a1d26=this[_0x49632d(0x1be)]['transformMutationsWithChangeset'](_0x40f67a,_0x4ec4bb);if(!_0xca1cb4(_0x3a1d26))throw _0x3a1d26[_0x49632d(0x26b)];const _0x3f83a2=_0x3a1d26[_0x49632d(0x392)][0x0][_0x49632d(0x308)]['textRanges'];Array[_0x49632d(0x19e)](_0x3f83a2)&&_0x3f83a2[_0x49632d(0x214)]&&_0x1d1290['setActiveRange'](_0x3f83a2[0x0]);}};re=cn([Ce(0x0,_0x26e26b(_0x4071e3)),Ce(0x1,_0x3b6299),Ce(0x2,_0x27af8f)],re);var ln=Object[_0x1cf6ae(0x1a0)],_n=(_0x355643,_0x3f0415,_0x52de0d,_0x260418)=>{const _0x324247=_0x1cf6ae;for(var _0x254237=_0x260418>0x1?void 0x0:_0x260418?ln(_0x3f0415,_0x52de0d):_0x3f0415,_0x22218c=_0x355643[_0x324247(0x214)]-0x1,_0x1e68ff;_0x22218c>=0x0;_0x22218c--)(_0x1e68ff=_0x355643[_0x22218c])&&(_0x254237=_0x1e68ff(_0x254237)||_0x254237);return _0x254237;},Ee=(_0x5a0b84,_0x2bf393)=>(_0x5882c9,_0x2f58fb)=>_0x2bf393(_0x5882c9,_0x2f58fb,_0x5a0b84);let oe=class{constructor(_0x46fea8,_0xaeaa14,_0x41b44d){const _0x10176b=_0x1cf6ae;this['_injector']=_0x46fea8,this[_0x10176b(0x1be)]=_0xaeaa14,this[_0x10176b(0x394)]=_0x41b44d;}['transformStateCache'](_0x2fb40a){const _0x1d633d=_0x1cf6ae;this[_0x1d633d(0x1b0)](_0x2fb40a);}[_0x1cf6ae(0x29a)](_0x1a775d){const _0x299a77=_0x1cf6ae,{unitID:_0x321a43}=_0x1a775d,{collaboration:_0x108c88}=this[_0x299a77(0x394)][_0x299a77(0x2c6)](_0x321a43);if(_0x108c88[_0x299a77(0x214)]===0x0)return _0x1a775d;let _0x56b117=_0x2c38f6[_0x299a77(0x35f)](_0x1a775d[_0x299a77(0x301)][0x0]);for(let _0x4aabcf=0x0;_0x4aabcf<_0x108c88[_0x299a77(0x214)];_0x4aabcf++){const _0x5a17d4={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x108c88[_0x4aabcf]['unitId'],..._0x108c88[_0x4aabcf][_0x299a77(0x391)]}},_0x11d69d=this[_0x299a77(0x1be)]['transformMutation'](_0x56b117,_0x5a17d4,!0x1);if(_0x182343(_0x11d69d))throw _0x11d69d['error'];_0x56b117=_0x11d69d[_0x299a77(0x228)];}return{..._0x2c38f6[_0x299a77(0x35f)](_0x1a775d),'mutations':[_0x56b117]};}[_0x1cf6ae(0x1b0)](_0x4fc5fd){const _0x40ffda=_0x1cf6ae,{unitID:_0x524593}=_0x4fc5fd,{history:_0x2c3d72,collaboration:_0x4d93bb}=this['_docStateChangeManagerService'][_0x40ffda(0x2c6)](_0x524593);if(_0x2c3d72[_0x40ffda(0x214)]===0x0&&_0x4d93bb[_0x40ffda(0x214)]===0x0)return;const _0x7553c5=[],_0x503a55=[];let _0x34eea6=_0x2c38f6['deepClone'](_0x4fc5fd['mutations'][0x0]),_0x16ba5e=_0x2c38f6[_0x40ffda(0x35f)](_0x4fc5fd['mutations'][0x0]);for(let _0x2171d4=_0x2c3d72[_0x40ffda(0x214)]-0x1;_0x2171d4>=0x0;_0x2171d4--){const _0x2bd6bb={'id':_0x40ffda(0x204),'params':{'unitId':_0x2c3d72[_0x2171d4][_0x40ffda(0x1c1)],..._0x2c3d72[_0x2171d4][_0x40ffda(0x1ab)]}},_0x900b0d={'id':_0x40ffda(0x204),'params':{'unitId':_0x2c3d72[_0x2171d4][_0x40ffda(0x1c1)],..._0x2c3d72[_0x2171d4]['redoState']}},_0x4d9fa7=this['_transformService'][_0x40ffda(0x217)](_0x34eea6,_0x2bd6bb,!0x1),_0x50f209=this[_0x40ffda(0x1be)][_0x40ffda(0x217)](_0x16ba5e,_0x900b0d,!0x1);if(_0x182343(_0x4d9fa7))throw _0x4d9fa7[_0x40ffda(0x26b)];if(_0x182343(_0x50f209))throw _0x50f209[_0x40ffda(0x26b)];_0x7553c5[_0x40ffda(0x310)]({..._0x2c3d72[_0x2171d4],'undoState':_0x4d9fa7[_0x40ffda(0x392)][_0x40ffda(0x308)],'redoState':_0x50f209[_0x40ffda(0x392)][_0x40ffda(0x308)]}),_0x34eea6=_0x4d9fa7['m1Prime'],_0x16ba5e=_0x50f209[_0x40ffda(0x228)];}_0x34eea6=_0x2c38f6[_0x40ffda(0x35f)](_0x4fc5fd[_0x40ffda(0x301)][0x0]),_0x16ba5e=_0x2c38f6[_0x40ffda(0x35f)](_0x4fc5fd[_0x40ffda(0x301)][0x0]);for(let _0x828876=_0x4d93bb['length']-0x1;_0x828876>=0x0;_0x828876--){const _0x194c5e={'id':_0x40ffda(0x204),'params':{'unitId':_0x4d93bb[_0x828876]['unitId'],..._0x4d93bb[_0x828876][_0x40ffda(0x1ab)]}},_0x5bd19c={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4d93bb[_0x828876][_0x40ffda(0x1c1)],..._0x4d93bb[_0x828876]['redoState']}},_0x12c353=this[_0x40ffda(0x1be)]['transformMutation'](_0x34eea6,_0x194c5e,!0x1),_0x49a603=this[_0x40ffda(0x1be)][_0x40ffda(0x217)](_0x16ba5e,_0x5bd19c,!0x1);if(_0x182343(_0x12c353))throw _0x12c353['error'];if(_0x182343(_0x49a603))throw _0x49a603[_0x40ffda(0x26b)];_0x503a55['unshift']({..._0x4d93bb[_0x828876],'undoState':_0x12c353[_0x40ffda(0x392)]['params'],'redoState':_0x49a603[_0x40ffda(0x392)][_0x40ffda(0x308)]}),_0x34eea6=_0x12c353[_0x40ffda(0x228)],_0x16ba5e=_0x49a603[_0x40ffda(0x228)];}this[_0x40ffda(0x394)][_0x40ffda(0x248)](_0x524593,{'history':_0x7553c5,'collaboration':_0x503a55});}};oe=_n([Ee(0x0,_0x26e26b(_0x4071e3)),Ee(0x1,_0x3b6299),Ee(0x2,_0x26e26b(_0x5917b8))],oe);var hn=Object['getOwnPropertyDescriptor'],un=(_0x120152,_0x373f82,_0x142140,_0x495844)=>{const _0x2428e6=_0x1cf6ae;for(var _0x33a49e=_0x495844>0x1?void 0x0:_0x495844?hn(_0x373f82,_0x142140):_0x373f82,_0x525581=_0x120152[_0x2428e6(0x214)]-0x1,_0x54414d;_0x525581>=0x0;_0x525581--)(_0x54414d=_0x120152[_0x525581])&&(_0x33a49e=_0x54414d(_0x33a49e)||_0x33a49e);return _0x33a49e;},it=(_0x1c7e18,_0x367905)=>(_0x5692e6,_0x48225f)=>_0x367905(_0x5692e6,_0x48225f,_0x1c7e18);let ae=class{constructor(_0x3168e2,_0x551eb7){const _0x3075c6=_0x1cf6ae;this['_injector']=_0x3168e2,this[_0x3075c6(0x1be)]=_0x551eb7;}[_0x1cf6ae(0x397)](_0x5564f8){const _0x3259cb=_0x1cf6ae;var _0x3afc72;const _0x1e11b3=this['_injector'][_0x3259cb(0x1c7)](_0x1be7ae),_0x3dafce=(_0x3afc72=_0x1e11b3[_0x3259cb(0x219)]())!=null?_0x3afc72:[];if(_0x3dafce[_0x3259cb(0x214)]===0x0)return;const _0x1a4f1b=_0x5564f8['unitID'],_0xf11534=[{'id':_0x3259cb(0x204),'params':{'unitId':_0x1a4f1b,'actions':null,'textRanges':_0x3dafce}}],_0x4449f3=this[_0x3259cb(0x1be)][_0x3259cb(0x21f)](_0x5564f8,_0xf11534);if(!_0xca1cb4(_0x4449f3))throw _0x4449f3[_0x3259cb(0x26b)];const _0x1f592e=_0x4449f3[_0x3259cb(0x392)][0x0][_0x3259cb(0x308)][_0x3259cb(0x20d)];Array[_0x3259cb(0x19e)](_0x1f592e)&&_0x1f592e[_0x3259cb(0x214)]&&_0x1e11b3[_0x3259cb(0x21d)](_0x1f592e,{'unitId':_0x1a4f1b,'subUnitId':_0x1a4f1b},!0x1);}};ae=un([it(0x0,_0x26e26b(_0x4071e3)),it(0x1,_0x3b6299)],ae);var dn=Object['getOwnPropertyDescriptor'],fn=(_0x2a9316,_0x23f66c,_0x2c7ddf,_0x4d8ad5)=>{const _0x296c56=_0x1cf6ae;for(var _0x309d01=_0x4d8ad5>0x1?void 0x0:_0x4d8ad5?dn(_0x23f66c,_0x2c7ddf):_0x23f66c,_0x184af2=_0x2a9316[_0x296c56(0x214)]-0x1,_0x7b2e19;_0x184af2>=0x0;_0x184af2--)(_0x7b2e19=_0x2a9316[_0x184af2])&&(_0x309d01=_0x7b2e19(_0x309d01)||_0x309d01);return _0x309d01;},M=(_0x69da34,_0x2cb375)=>(_0x224278,_0x4a0581)=>_0x2cb375(_0x224278,_0x4a0581,_0x69da34);let ce=class extends _0x1f1157{constructor(_0x35b6e4,_0x2807b7,_0x18ef81,_0x324d6d,_0x565379,_0x3bfbcb,_0x11c738,_0x486095){const _0x5eaa09=_0x1cf6ae;super(),_(this,_0x5eaa09(0x269),new _0x163309(_0x20e468[_0x5eaa09(0x1cc)])),(this[_0x5eaa09(0x394)]=_0x35b6e4,this[_0x5eaa09(0x28c)]=_0x2807b7,this[_0x5eaa09(0x202)]=_0x18ef81,this[_0x5eaa09(0x2d9)]=_0x324d6d,this['_docTransformSelectionsService']=_0x565379,this[_0x5eaa09(0x216)]=_0x3bfbcb,this[_0x5eaa09(0x2d0)]=_0x11c738,this['_localeService']=_0x486095,this[_0x5eaa09(0x1df)]());}[_0x1cf6ae(0x1df)](){const _0x4cc701=_0x1cf6ae;this[_0x4cc701(0x281)](this[_0x4cc701(0x28c)]['entityInit$'][_0x4cc701(0x1e4)](_0x31b862=>{const _0x2520b7=_0x4cc701,_0x452d1f=this[_0x2520b7(0x394)][_0x2520b7(0x295)][_0x2520b7(0x1e4)](_0x3e9c21=>{const _0x53a7da=_0x2520b7;if(_0x3e9c21==null)return;const {unitId:_0x4a5428,redoState:_0x3ef5b7,commandId:_0x4ecd9e}=_0x3e9c21;if(_0x4a5428!==_0x31b862[_0x53a7da(0x2ba)])return;const _0x1b6c13={'id':_0x4ecd9e,'type':_0x134c15[_0x53a7da(0x220)],'params':{'unitId':_0x4a5428,'actions':_0x3ef5b7['actions'],'textRanges':null}};_0x31b862[_0x53a7da(0x238)](_0x1b6c13);});if(_0x31b862[_0x2520b7(0x281)](_0x452d1f),_0x31b862 instanceof _0xb99ec9){const _0x443f7f={'onTransformIME':_0x22ed44=>this['_docTransformIMECacheService'][_0x2520b7(0x2d7)](_0x22ed44),'onTransformState':_0x419b7a=>this['_docTransformStateCacheService'][_0x2520b7(0x31f)](_0x419b7a),'onTransformSelections':_0xd11af=>this[_0x2520b7(0x39a)][_0x2520b7(0x397)](_0xd11af),'onSyncEditingCollabCursor':_0x1211c3=>this[_0x2520b7(0x216)][_0x2520b7(0x2f1)](_0x1211c3),'onTransformRemoteChangesetByIMECache':_0x5c98ec=>this[_0x2520b7(0x202)][_0x2520b7(0x29a)](_0x5c98ec),'onTransformRemoteChangesetByStateCache':_0x1cf43a=>this['_docTransformStateCacheService'][_0x2520b7(0x29a)](_0x1cf43a)};_0x31b862[_0x2520b7(0x34f)](_0x443f7f);}}));}};ce=fn([M(0x0,_0x26e26b(_0x5917b8)),M(0x1,_0x26e26b(_0x1840cf)),M(0x2,_0x26e26b(re)),M(0x3,_0x26e26b(oe)),M(0x4,_0x26e26b(ae)),M(0x5,_0x26e26b(je)),M(0x6,_0x303cbd),M(0x7,_0x26e26b(_0x22a2eb))],ce);var Sn=Object[_0x1cf6ae(0x1a0)],mn=(_0x2ce9b1,_0x501065,_0x43ae40,_0x51f82e)=>{const _0x167a3d=_0x1cf6ae;for(var _0x2ddfe0=_0x51f82e>0x1?void 0x0:_0x51f82e?Sn(_0x501065,_0x43ae40):_0x501065,_0x58da3=_0x2ce9b1[_0x167a3d(0x214)]-0x1,_0x17b3ce;_0x58da3>=0x0;_0x58da3--)(_0x17b3ce=_0x2ce9b1[_0x58da3])&&(_0x2ddfe0=_0x17b3ce(_0x2ddfe0)||_0x2ddfe0);return _0x2ddfe0;},be=(_0x32c5e6,_0x4a8ec6)=>(_0x65b694,_0x31e81b)=>_0x4a8ec6(_0x65b694,_0x31e81b,_0x32c5e6);let Ae=class extends _0x1f1157{constructor(_0xdaac67,_0x63f781,_0x55cbfa){const _0x1d4731=_0x1cf6ae;super(),_(this,_0x1d4731(0x35b),new Map()),_(this,'_saveTaskMap',new Map()),_(this,'_disabled',!0x1),(this[_0x1d4731(0x1a8)]=_0xdaac67,this[_0x1d4731(0x1e8)]=_0x63f781,this['_revisionService']=_0x55cbfa);}[_0x1cf6ae(0x316)](){const _0x2eca10=_0x1cf6ae;this[_0x2eca10(0x27e)]=!0x0;}[_0x1cf6ae(0x2fb)](){const _0x54023a=_0x1cf6ae;this[_0x54023a(0x27e)]=!0x1;}get[_0x1cf6ae(0x1ea)](){const _0x25f8cc=_0x1cf6ae;return this[_0x25f8cc(0x2a8)];}[_0x1cf6ae(0x364)](){const _0x420033=_0x1cf6ae;this[_0x420033(0x1d0)]()[_0x420033(0x2ee)](()=>super[_0x420033(0x364)]());}async[_0x1cf6ae(0x2cb)](_0x7f385a){const _0x49b5b3=_0x1cf6ae;return this[_0x49b5b3(0x27e)]?null:this['_localStorageService'][_0x49b5b3(0x255)](_0x2c33a4(_0x7f385a));}async[_0x1cf6ae(0x27a)](_0x3692a9,_0x15a17e){return!!this['_localStorageService']['setItem'](_0x3692a9,_0x15a17e);}[_0x1cf6ae(0x304)](_0x2bde20,_0x27dbe9,_0x55357f,_0xef62d4){const _0x2aa57f=_0x1cf6ae,_0x23fba6=this[_0x2aa57f(0x336)][_0x2aa57f(0x2fe)](_0x2bde20);this[_0x2aa57f(0x35b)][_0x2aa57f(0x289)](_0x2bde20,{'unitID':_0x2bde20,'type':_0x27dbe9,'awaitingChangeset':_0x55357f,'mutations':_0xef62d4,'rev':_0x23fba6}),this[_0x2aa57f(0x2a8)][_0x2aa57f(0x252)](_0x2bde20)||this[_0x2aa57f(0x2a4)](_0x2bde20);}[_0x1cf6ae(0x2a4)](_0x212957){const _0x402796=_0x1cf6ae,_0x4fd473=this[_0x402796(0x39b)]();_0x4fd473===0x0?this['_saveCache'](_0x212957):this['_saveTaskMap'][_0x402796(0x289)](_0x212957,setTimeout(()=>this['_saveCache'](_0x212957),_0x4fd473));}[_0x1cf6ae(0x39b)](){const _0x1622f7=_0x1cf6ae;var _0x1fff05;return(_0x1fff05=this[_0x1622f7(0x1a8)]['getConfig'](_0x575b98))!=null?_0x1fff05:_0x53a3ec;}[_0x1cf6ae(0x19b)](_0x3c69be){const _0x473200=_0x1cf6ae,_0x57ad3e=this[_0x473200(0x2a8)][_0x473200(0x1c7)](_0x3c69be);return _0x57ad3e!==void 0x0&&window['clearTimeout'](_0x57ad3e),this[_0x473200(0x1e8)][_0x473200(0x35d)](_0x2c33a4(_0x3c69be),this['_cachedData'][_0x473200(0x1c7)](_0x3c69be))[_0x473200(0x2ee)](()=>this[_0x473200(0x2a8)][_0x473200(0x23c)](_0x3c69be));}async['exhaustSavingTask'](){const _0x54daac=_0x1cf6ae,_0x181295=[];this[_0x54daac(0x2a8)][_0x54daac(0x25a)]((_0x2c05da,_0x131bcb)=>{const _0x16e713=_0x54daac;window[_0x16e713(0x2ab)](_0x2c05da),_0x181295['push'](this[_0x16e713(0x19b)](_0x131bcb)[_0x16e713(0x2ee)](()=>{const _0x4cbc8e=_0x16e713;this[_0x4cbc8e(0x2a8)][_0x4cbc8e(0x23c)](_0x131bcb);}));}),await Promise[_0x54daac(0x1dd)](_0x181295);}};Ae=mn([be(0x0,_0x4f6567),be(0x1,_0x4384dc),be(0x2,_0x26e26b(_0x1d1ea7))],Ae);class gn extends _0x5ee730{constructor(){const _0x4a6dd1=_0x1cf6ae;super(),_(this,_0x4a6dd1(0x1a3)),this['urlChange$']=_0x5d315c(window,_0x4a6dd1(0x229))['pipe'](_0x4a7ac2(this['dispose$']),_0x4c9713(0x1),_0x3892b3(void 0x0));}[_0x1cf6ae(0x2f5)](_0x30f15f,_0x321a35,_0x31e508=!0x1){const _0x11342b=_0x1cf6ae,_0x565adb=new URL(window[_0x11342b(0x2b1)]['href']);_0x565adb[_0x11342b(0x30d)][_0x11342b(0x289)](_0x30f15f,_0x321a35),_0x31e508?window[_0x11342b(0x27d)]['replaceState']('','',_0x565adb[_0x11342b(0x206)]()):window['history'][_0x11342b(0x33c)]('','',_0x565adb['toString']());}[_0x1cf6ae(0x279)](_0xc103a1,_0x17da19=!0x1){const _0x3cbc9d=_0x1cf6ae,_0x3e5e3b=new URL(window['location'][_0x3cbc9d(0x26c)]);_0x3e5e3b[_0x3cbc9d(0x30d)][_0x3cbc9d(0x23c)](_0xc103a1),_0x17da19?window[_0x3cbc9d(0x27d)][_0x3cbc9d(0x360)]('','',_0x3e5e3b[_0x3cbc9d(0x206)]()):window[_0x3cbc9d(0x27d)]['pushState']('','',_0x3e5e3b[_0x3cbc9d(0x206)]());}[_0x1cf6ae(0x291)](_0x19e59c){const _0x1d7998=_0x1cf6ae;var _0x443e6b;return(_0x443e6b=new URL(window[_0x1d7998(0x2b1)][_0x1d7998(0x26c)])[_0x1d7998(0x30d)][_0x1d7998(0x1c7)](_0x19e59c))!=null?_0x443e6b:void 0x0;}}var vn=Object[_0x1cf6ae(0x1d2)],In=Object[_0x1cf6ae(0x1a0)],pn=(_0x3f5134,_0x430771,_0x3ce1b8)=>_0x430771 in _0x3f5134?vn(_0x3f5134,_0x430771,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3ce1b8}):_0x3f5134[_0x430771]=_0x3ce1b8,Cn=(_0x539a62,_0x5d8968,_0x4fc7d4,_0x103ec8)=>{const _0x57d71f=_0x1cf6ae;for(var _0x434e9a=_0x103ec8>0x1?void 0x0:_0x103ec8?In(_0x5d8968,_0x4fc7d4):_0x5d8968,_0x9443e=_0x539a62[_0x57d71f(0x214)]-0x1,_0x29f2d6;_0x9443e>=0x0;_0x9443e--)(_0x29f2d6=_0x539a62[_0x9443e])&&(_0x434e9a=_0x29f2d6(_0x434e9a)||_0x434e9a);return _0x434e9a;},Oe=(_0xd02681,_0x2db60a)=>(_0x13a4f8,_0x2a0173)=>_0x2db60a(_0x13a4f8,_0x2a0173,_0xd02681),En=(_0x368d64,_0x1456f0,_0x13f8bc)=>pn(_0x368d64,_0x1456f0+'',_0x13f8bc);const bn='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let ye=class extends _0x1222da{constructor(_0x1ca6ce=st,_0x333313,_0xe06a74,_0x25c2da){const _0x73eb0=_0x1cf6ae;super(),this[_0x73eb0(0x2d2)]=_0x1ca6ce,this[_0x73eb0(0x333)]=_0x333313,this[_0x73eb0(0x371)]=_0xe06a74,this[_0x73eb0(0x1a8)]=_0x25c2da;const {..._0x2c3438}=_0x792394({},st,this[_0x73eb0(0x2d2)]);this[_0x73eb0(0x1a8)]['setConfig'](nn,_0x2c3438);}[_0x1cf6ae(0x382)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x1cf6ae(0x21a)](){const _0x445229=_0x1cf6ae;this[_0x445229(0x37f)]();}[_0x1cf6ae(0x272)](){const _0x3b4fb8=_0x1cf6ae;var _0x28b367;const _0x1af419=[[He],[ae],[re],[oe],[je],[wt,{'useClass':gn}],[_0x271a8f,{'useClass':_0x142e85}],[_0x51139f,{'useClass':Ae}],[se],[ce],[ie],[H],[Me],[ne]];_0x92706e(this[_0x3b4fb8(0x371)],_0x2fbfb6(_0x1af419,(_0x28b367=this[_0x3b4fb8(0x2d2)])==null?void 0x0:_0x28b367[_0x3b4fb8(0x377)]));}[_0x1cf6ae(0x37f)](){const _0x28ded6=_0x1cf6ae;this[_0x28ded6(0x281)](this['_renderManagerService']['registerRenderModule'](_0x58d390[_0x28ded6(0x235)],[Ue])),this[_0x28ded6(0x281)](this[_0x28ded6(0x333)][_0x28ded6(0x1d5)](_0x58d390['UNIVER_SHEET'],[Le]));}['_initDependencies'](){const _0x50d191=_0x1cf6ae;_0x3c58a2(this[_0x50d191(0x371)],[[H],[se],[ce],[ie],[ne]]);}};En(ye,'pluginName',bn),ye=Cn([_0x4dbe4b(_0x393678),Oe(0x1,_0x27af8f),Oe(0x2,_0x26e26b(_0x4071e3)),Oe(0x3,_0x4f6567)],ye);var On=Object[_0x1cf6ae(0x1a0)],Tn=(_0x4c5098,_0x341869,_0x44dceb,_0xe99df6)=>{for(var _0x28bacc=_0xe99df6>0x1?void 0x0:_0xe99df6?On(_0x341869,_0x44dceb):_0x341869,_0x4af1d0=_0x4c5098['length']-0x1,_0x4e1080;_0x4af1d0>=0x0;_0x4af1d0--)(_0x4e1080=_0x4c5098[_0x4af1d0])&&(_0x28bacc=_0x4e1080(_0x28bacc)||_0x28bacc);return _0x28bacc;},z=(_0x505bc6,_0x268ec2)=>(_0x3757a2,_0x39871c)=>_0x268ec2(_0x3757a2,_0x39871c,_0x505bc6);let nt=class extends _0x2c2496{constructor(_0x21801c,_0x3042ec,_0x12e5e4,_0x16a27b,_0x28bb69){super(_0x21801c,_0x3042ec,_0x12e5e4,_0x16a27b,_0x28bb69);}async[_0x1cf6ae(0x244)](_0x5c976a){const _0x8930c5=_0x1cf6ae,_0x40c5cd=await this['_getSessionTicket'](),_0x3af13d=this[_0x8930c5(0x1c4)](_0x5c976a,_0x40c5cd);return this['_doCreateSocket'](_0x3af13d);}[_0x1cf6ae(0x1c4)](_0x5ecdd9,_0x214500){const _0x4b9f66=_0x1cf6ae,_0x3b9980=typeof window>'u'?new URL(_0x5ecdd9):new URL(_0x5ecdd9,window[_0x4b9f66(0x2b1)][_0x4b9f66(0x1af)]);_0x3b9980[_0x4b9f66(0x30d)][_0x4b9f66(0x289)](_0x4b9f66(0x20e),_0x214500);const _0xe8a1dc=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4b9f66(0x2b1)][_0x4b9f66(0x2e5)]);return _0xe8a1dc[_0x4b9f66(0x1c7)](_0x4b9f66(0x253))&&_0x3b9980['searchParams'][_0x4b9f66(0x289)](_0x4b9f66(0x253),_0xe8a1dc[_0x4b9f66(0x1c7)](_0x4b9f66(0x253))),_0x3b9980[_0x4b9f66(0x206)]();}async[_0x1cf6ae(0x22c)](){const _0x6cb4c1=_0x1cf6ae;var _0x314be7,_0x2df1d4,_0x2a1f10;const _0x411a6b=this['_configService'][_0x6cb4c1(0x1ec)](_0x1f512c),_0x10e78c=(_0x314be7=_0x411a6b==null?void 0x0:_0x411a6b['wsSessionTicketUrl'])!=null?_0x314be7:_0x2caff3;return(_0x2a1f10=(_0x2df1d4=(await this[_0x6cb4c1(0x2e2)][_0x6cb4c1(0x1c7)](_0x10e78c,{'headers':{'Content-Type':_0x6cb4c1(0x1b3)}}))['body'])==null?void 0x0:_0x2df1d4['ticket'])!=null?_0x2a1f10:'';}};nt=Tn([z(0x0,_0x26e26b(_0x4071e3)),z(0x1,_0x26e26b(_0x5b46d6)),z(0x2,_0x4f6567),z(0x3,_0x23a635),z(0x4,_0x3c9b69)],nt);const rt=0x7530,ot='ACTIVE_UNIT_EVENT_CHANNEL';class Gn extends _0x1f1157{constructor(){const _0x167d45=_0x1cf6ae;super(),_(this,'_id',_0x3f2eb7()),_(this,_0x167d45(0x2ce),new Set()),_(this,_0x167d45(0x270),new Map()),_(this,_0x167d45(0x292),null),_(this,_0x167d45(0x293),new Map()),_(this,_0x167d45(0x263),new Map()),this[_0x167d45(0x23d)]();}[_0x1cf6ae(0x364)](){const _0x341081=_0x1cf6ae;super[_0x341081(0x364)](),this[_0x341081(0x293)][_0x341081(0x25a)]((_0x55bf47,_0x23d462)=>this[_0x341081(0x2c2)](_0x23d462)),this[_0x341081(0x292)]&&window[_0x341081(0x223)](this[_0x341081(0x292)]);}[_0x1cf6ae(0x1ee)](_0x5eca0f){const _0x1daa2c=_0x1cf6ae;return this[_0x1daa2c(0x1fd)](_0x5eca0f)[_0x1daa2c(0x285)](_0x24801b());}[_0x1cf6ae(0x283)](_0x1abebc){const _0x930889=_0x1cf6ae;this[_0x930889(0x2ce)][_0x930889(0x318)]===0x0&&this[_0x930889(0x1ed)](),this[_0x930889(0x2ce)][_0x930889(0x2b4)](_0x1abebc),this[_0x930889(0x2b8)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x1abebc],'isForwarded':!0x1});}['disposeUnit'](_0x285909){const _0x84518d=_0x1cf6ae;this[_0x84518d(0x2ce)][_0x84518d(0x23c)](_0x285909),this[_0x84518d(0x2ce)][_0x84518d(0x318)]===0x0&&this[_0x84518d(0x292)]&&window['clearInterval'](this[_0x84518d(0x292)]);}[_0x1cf6ae(0x23d)](){const _0xcc1e14=_0x1cf6ae;this[_0xcc1e14(0x281)](_0x3c04f3(_0x5d315c(window,'storage')['subscribe'](_0x4bf3cf=>{const _0x1ac54a=_0xcc1e14;if(_0x4bf3cf[_0x1ac54a(0x290)]!==ot||!_0x4bf3cf[_0x1ac54a(0x34e)])return;const _0x195448=JSON[_0x1ac54a(0x280)](_0x4bf3cf['newValue']);this[_0x1ac54a(0x2b2)](_0x195448);}))),window['addEventListener'](_0xcc1e14(0x29f),()=>this[_0xcc1e14(0x2b8)]({'type':0x1,'memberID':this[_0xcc1e14(0x278)],'unitIDs':Array[_0xcc1e14(0x1bb)](this[_0xcc1e14(0x2ce)])}));}[_0x1cf6ae(0x2b2)](_0x2034ab){const _0x6b17db=_0x1cf6ae;switch(_0x2034ab[_0x6b17db(0x1b4)]){case 0x0:this['_handleJoinEvent'](_0x2034ab);break;case 0x1:this['_handleLeaveEvent'](_0x2034ab);break;case 0x2:this[_0x6b17db(0x33b)](_0x2034ab);break;}}['_handleJoinEvent'](_0x1dcd8b){const _0x56fa07=_0x1cf6ae,{unitIDs:_0x23e285,memberID:_0x457709,isForwarded:_0xf9afd7}=_0x1dcd8b;_0x23e285['forEach'](_0x426c9a=>{const _0x471e8b=_0x726f;if(!_0xf9afd7&&this[_0x471e8b(0x270)]['has'](_0x426c9a)&&this['_ensureSubject'](_0x426c9a)[_0x471e8b(0x393)](_0x1194e4['OTHER_CLIENTS_EDITING']),!this['_unitOnClients']['has'](_0x426c9a)||!this[_0x471e8b(0x270)]['get'](_0x426c9a)[_0x471e8b(0x252)](_0x457709)){const _0x479f4e=this['_unitOnClients'][_0x471e8b(0x1c7)](_0x426c9a)||new Set();_0x479f4e['add'](_0x457709),this[_0x471e8b(0x270)][_0x471e8b(0x289)](_0x426c9a,_0x479f4e),this['_scheduleClearOtherTimer'](_0x457709);}}),_0xf9afd7||this[_0x56fa07(0x2b8)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x56fa07(0x2ce)]],'isForwarded':!0x0});}[_0x1cf6ae(0x246)](_0x4f315d){const _0x3b8267=_0x1cf6ae;this['_removeClearOtherTimer'](_0x4f315d);const _0x57a223=window[_0x3b8267(0x324)](()=>{const _0x993ed2=_0x3b8267;this[_0x993ed2(0x270)]['forEach'](_0x2721c2=>{const _0x30f7d0=_0x993ed2;_0x2721c2[_0x30f7d0(0x23c)](_0x4f315d);});},rt*0x2);this[_0x3b8267(0x293)][_0x3b8267(0x289)](_0x4f315d,_0x57a223);}[_0x1cf6ae(0x2c2)](_0x12fa88){const _0x2c1a5a=_0x1cf6ae;if(this['_clearOtherTimers'][_0x2c1a5a(0x252)](_0x12fa88)){const _0x3e98ec=this[_0x2c1a5a(0x293)]['get'](_0x12fa88);_0x3e98ec&&window['clearTimeout'](_0x3e98ec),this['_clearOtherTimers'][_0x2c1a5a(0x289)](_0x12fa88,null);}}['_handleLeaveEvent'](_0x5f4f96){const _0x209de7=_0x1cf6ae,{memberID:_0x3cc0f2,unitIDs:_0x321fe2}=_0x5f4f96;_0x321fe2[_0x209de7(0x25a)](_0x27ee60=>{const _0x4a775a=_0x209de7;var _0x47ce16;const _0x5360f8=this[_0x4a775a(0x270)][_0x4a775a(0x1c7)](_0x27ee60);_0x5360f8&&(_0x5360f8['delete'](_0x3cc0f2),(_0x47ce16=this[_0x4a775a(0x1fd)](_0x27ee60))==null||_0x47ce16[_0x4a775a(0x393)](_0x5360f8[_0x4a775a(0x318)]===0x0?_0x1194e4[_0x4a775a(0x330)]:_0x1194e4[_0x4a775a(0x328)]));}),this[_0x209de7(0x2c2)](_0x3cc0f2);}[_0x1cf6ae(0x33b)](_0xff0790){this['_scheduleClearOtherTimer'](_0xff0790['memberID']);}[_0x1cf6ae(0x2b8)](_0x5001fa){const _0x1c9e7e=_0x1cf6ae;localStorage[_0x1c9e7e(0x35d)](ot,JSON[_0x1c9e7e(0x2a9)](_0x5001fa));}['_scheduleHeartbeat'](){const _0x6af596=_0x1cf6ae;this[_0x6af596(0x292)]=window['setInterval'](()=>{const _0x6b003d=_0x6af596;this[_0x6b003d(0x2b8)]({'type':0x2,'memberID':this[_0x6b003d(0x278)]});},rt);}[_0x1cf6ae(0x1fd)](_0x2f7c37){const _0x5676d4=_0x1cf6ae;return this['_unitStatus'][_0x5676d4(0x252)](_0x2f7c37)||this['_unitStatus'][_0x5676d4(0x289)](_0x2f7c37,new _0x163309(_0x1194e4[_0x5676d4(0x330)])),this[_0x5676d4(0x263)][_0x5676d4(0x1c7)](_0x2f7c37);}}var Ut=(_0x25c2d1=>(_0x25c2d1[_0x25c2d1[_0x1cf6ae(0x399)]=0x0]=_0x1cf6ae(0x399),_0x25c2d1[_0x25c2d1['OK']=0x1]='OK',_0x25c2d1[_0x25c2d1[_0x1cf6ae(0x32e)]=0x2]=_0x1cf6ae(0x32e),_0x25c2d1[_0x25c2d1[_0x1cf6ae(0x34a)]=0x3]=_0x1cf6ae(0x34a),_0x25c2d1[_0x25c2d1[_0x1cf6ae(0x1b5)]=0x4]=_0x1cf6ae(0x1b5),_0x25c2d1[_0x25c2d1['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x25c2d1[_0x25c2d1[_0x1cf6ae(0x1e3)]=0x6]='ALREADY_EXISTS',_0x25c2d1[_0x25c2d1['INVALID_ARGUMENT']=0x7]=_0x1cf6ae(0x1c2),_0x25c2d1[_0x25c2d1[_0x1cf6ae(0x260)]=0x8]=_0x1cf6ae(0x260),_0x25c2d1[_0x25c2d1['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x25c2d1[_0x25c2d1[_0x1cf6ae(0x1b7)]=0xa]='LOGIN_FAILED',_0x25c2d1[_0x25c2d1[_0x1cf6ae(0x31b)]=0x1389]=_0x1cf6ae(0x31b),_0x25c2d1[_0x25c2d1['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x1cf6ae(0x209),_0x25c2d1[_0x25c2d1[_0x1cf6ae(0x1eb)]=0x1772]=_0x1cf6ae(0x1eb),_0x25c2d1[_0x25c2d1['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x1cf6ae(0x309),_0x25c2d1[_0x25c2d1[_0x1cf6ae(0x254)]=0x1b59]=_0x1cf6ae(0x254),_0x25c2d1[_0x25c2d1[_0x1cf6ae(0x1f4)]=0x1b5a]=_0x1cf6ae(0x1f4),_0x25c2d1[_0x25c2d1[_0x1cf6ae(0x23f)]=0x1b5b]=_0x1cf6ae(0x23f),_0x25c2d1[_0x25c2d1['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x25c2d1[_0x25c2d1[_0x1cf6ae(0x247)]=0x1b5d]=_0x1cf6ae(0x247),_0x25c2d1[_0x25c2d1[_0x1cf6ae(0x232)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x25c2d1[_0x25c2d1[_0x1cf6ae(0x385)]=0x2329]=_0x1cf6ae(0x385),_0x25c2d1[_0x25c2d1[_0x1cf6ae(0x1e7)]=0x232a]=_0x1cf6ae(0x1e7),_0x25c2d1[_0x25c2d1[_0x1cf6ae(0x1ba)]=0x232b]=_0x1cf6ae(0x1ba),_0x25c2d1[_0x25c2d1[_0x1cf6ae(0x296)]=0x232c]=_0x1cf6ae(0x296),_0x25c2d1[_0x25c2d1[_0x1cf6ae(0x25f)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x25c2d1[_0x25c2d1['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x1cf6ae(0x28d),_0x25c2d1[_0x25c2d1[_0x1cf6ae(0x200)]=0x2712]=_0x1cf6ae(0x200),_0x25c2d1[_0x25c2d1[_0x1cf6ae(0x239)]=0x2713]=_0x1cf6ae(0x239),_0x25c2d1[_0x25c2d1[_0x1cf6ae(0x1e1)]=0x2714]=_0x1cf6ae(0x1e1),_0x25c2d1[_0x25c2d1[_0x1cf6ae(0x231)]=0x2af9]=_0x1cf6ae(0x231),_0x25c2d1[_0x25c2d1[_0x1cf6ae(0x332)]=0x2ee1]=_0x1cf6ae(0x332),_0x25c2d1[_0x25c2d1[_0x1cf6ae(0x395)]=0x2ee2]='INVALID_INVITE_CODE',_0x25c2d1[_0x25c2d1[_0x1cf6ae(0x227)]=0x2ee3]=_0x1cf6ae(0x227),_0x25c2d1[_0x25c2d1[_0x1cf6ae(0x1a5)]=0x2ee4]=_0x1cf6ae(0x1a5),_0x25c2d1[_0x25c2d1[_0x1cf6ae(0x342)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x25c2d1[_0x25c2d1[_0x1cf6ae(0x2a7)]=0x32c9]=_0x1cf6ae(0x2a7),_0x25c2d1[_0x25c2d1[_0x1cf6ae(0x1ce)]=0x32ca]=_0x1cf6ae(0x1ce),_0x25c2d1[_0x25c2d1[_0x1cf6ae(0x331)]=0x32cb]=_0x1cf6ae(0x331),_0x25c2d1[_0x25c2d1[_0x1cf6ae(0x32f)]=-0x1]=_0x1cf6ae(0x32f),_0x25c2d1))(Ut||{}),Rn=Object['getOwnPropertyDescriptor'],Dn=(_0x508028,_0x31570c,_0x2ddabf,_0x51f7c7)=>{const _0x55827b=_0x1cf6ae;for(var _0x424636=_0x51f7c7>0x1?void 0x0:_0x51f7c7?Rn(_0x31570c,_0x2ddabf):_0x31570c,_0x4a92ed=_0x508028[_0x55827b(0x214)]-0x1,_0x559252;_0x4a92ed>=0x0;_0x4a92ed--)(_0x559252=_0x508028[_0x4a92ed])&&(_0x424636=_0x559252(_0x424636)||_0x424636);return _0x424636;},Te=(_0x16436e,_0x429276)=>(_0xa0b13c,_0xc2b4c4)=>_0x429276(_0xa0b13c,_0xc2b4c4,_0x16436e);let at=class extends _0x1f1157{constructor(_0x365d1c,_0x5bb5e0,_0x46f684){const _0x373a2c=_0x1cf6ae;super(),this[_0x373a2c(0x1c8)]=_0x365d1c,this[_0x373a2c(0x2e2)]=_0x5bb5e0,this[_0x373a2c(0x1a8)]=_0x46f684;}async['runOnServer'](_0x5d787c,_0x598c3b,_0x3e83ff,..._0x2aba96){const _0x157735=_0x1cf6ae;var _0x37d93b,_0x1154df,_0x2fd256,_0x4df785;const _0x19f52b=this['_instanceService']['getFocusedUnit']();if(!_0x19f52b)throw new Error(_0x157735(0x236));const _0x212030=((_0x37d93b=this['_configService'][_0x157735(0x1ec)](_0x38b79f))!=null?_0x37d93b:_0x33fae9)+'/'+_0x5d787c+'/run/'+_0x598c3b,_0x4443d5=new URL(window['location']['href']),_0x241fec={'scriptId':_0x5d787c,'runId':(_0x1154df=_0x4443d5[_0x157735(0x30d)]['get'](_0x157735(0x253)))!=null?_0x1154df:'','function':_0x598c3b,'unitId':_0x19f52b[_0x157735(0x33f)](),'argsOfFunction':JSON['stringify'](_0x2aba96),'invokeId':(_0x2fd256=_0x3e83ff[_0x157735(0x2e0)])!=null?_0x2fd256:'','executionId':(_0x4df785=_0x3e83ff[_0x157735(0x2da)])!=null?_0x4df785:''};try{const _0x184891=await this[_0x157735(0x2e2)][_0x157735(0x2f2)](_0x212030,{'body':_0x241fec});return _0x184891[_0x157735(0x2a2)][_0x157735(0x26b)]&&_0x184891[_0x157735(0x2a2)][_0x157735(0x26b)][_0x157735(0x298)]!==Ut['OK']?_0x157735(0x258):_0x184891[_0x157735(0x2a2)][_0x157735(0x1d3)];}catch{return _0x157735(0x258);}}};function _0x726f(_0x1d8bf,_0x2d916a){const _0x5251fc=_0x5251();return _0x726f=function(_0x726f80,_0x301b81){_0x726f80=_0x726f80-0x19b;let _0x205fd1=_0x5251fc[_0x726f80];return _0x205fd1;},_0x726f(_0x1d8bf,_0x2d916a);}at=Dn([Te(0x0,_0x593031),Te(0x1,_0x26e26b(_0x5b46d6)),Te(0x2,_0x4f6567)],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};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x29c279=_0xf03f;function _0xf03f(_0x2465b2,_0x25bbc0){const _0x26b5b1=_0x26b5();return _0xf03f=function(_0xf03fd0,_0x299ee7){_0xf03fd0=_0xf03fd0-0x104;let _0x1db44d=_0x26b5b1[_0xf03fd0];return _0x1db44d;},_0xf03f(_0x2465b2,_0x25bbc0);}function _0x26b5(){const _0x4173ea=['Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','492mtlTBo','1308NEkOFl','Collaboration\x20Conflict','38093bkDhXB','1510tMiNzF','53301tGXSov','20ebglJE','21878NlDWAC','22789uAaiDA','Local\x20file','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Syncing...','217576rfVCXz','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Authentication\x20Error','Edit\x20conflicts','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','1387575enlxoL','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Click\x20to\x20Reconnect','52mhTYrG','Connection\x20failed,\x20please\x20check\x20your\x20network.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','4501tarvGj','135ifcVvN','Syncing\x20server\x20data...'];_0x26b5=function(){return _0x4173ea;};return _0x26b5();}(function(_0x46bd1b,_0x199476){const _0x55fc9a=_0xf03f,_0x3e8aa1=_0x46bd1b();while(!![]){try{const _0x58dee3=parseInt(_0x55fc9a(0x115))/0x1*(parseInt(_0x55fc9a(0x114))/0x2)+parseInt(_0x55fc9a(0x113))/0x3*(parseInt(_0x55fc9a(0x106))/0x4)+-parseInt(_0x55fc9a(0x120))/0x5+-parseInt(_0x55fc9a(0x10f))/0x6*(-parseInt(_0x55fc9a(0x109))/0x7)+-parseInt(_0x55fc9a(0x11b))/0x8*(-parseInt(_0x55fc9a(0x10a))/0x9)+parseInt(_0x55fc9a(0x112))/0xa*(-parseInt(_0x55fc9a(0x111))/0xb)+parseInt(_0x55fc9a(0x10e))/0xc*(parseInt(_0x55fc9a(0x116))/0xd);if(_0x58dee3===_0x199476)break;else _0x3e8aa1['push'](_0x3e8aa1['shift']());}catch(_0x1d4bde){_0x3e8aa1['push'](_0x3e8aa1['shift']());}}}(_0x26b5,0x41c0d));const e={'collab-client':{'tooltip':{'reconnect':_0x29c279(0x105)}},'collabStatus':{'fetchMiss':_0x29c279(0x10b),'conflict':_0x29c279(0x11e),'notCollab':_0x29c279(0x117),'synced':'Synced','syncing':_0x29c279(0x11a),'offline':_0x29c279(0x118)},'session':{'connection-failed':_0x29c279(0x107),'will-retry':_0x29c279(0x119),'room-full':_0x29c279(0x10c),'collaboration-timeout':_0x29c279(0x121)},'conflict':{'title':_0x29c279(0x110),'content':_0x29c279(0x10d)},'permission':{'title':_0x29c279(0x11d),'content':_0x29c279(0x104)},'collaboration':{'single-unit':{'warning':_0x29c279(0x11c)},'closeRoom':_0x29c279(0x108)},'auth':{'needGotoLoginAlert':_0x29c279(0x11f)}};export{e as default};
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x496a64=_0x21bb;function _0x21bb(_0x5a9df1,_0x160bc5){const _0xbf6dfc=_0xbf6d();return _0x21bb=function(_0x21bb40,_0x494f0b){_0x21bb40=_0x21bb40-0xfa;let _0x1b83e4=_0xbf6dfc[_0x21bb40];return _0x1b83e4;},_0x21bb(_0x5a9df1,_0x160bc5);}function _0xbf6d(){const _0x5bec3f=['63668oyJZGR','307057SLLSWo','1465758GuhvoW','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','530AezekH','پرونده\x20محلی','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','8nUCCZF','در\x20حال\x20همگام\x20سازی...','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','1694000fgcaZs','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','تداخل\x20ویرایش','1744020IHRjDV','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','240148bzhwGS','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','همگام\x20سازی','5avqblU','21VWGuND','در\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کنید.','34210JfHkAi'];_0xbf6d=function(){return _0x5bec3f;};return _0xbf6d();}(function(_0x394fed,_0x2c0550){const _0x1bf5af=_0x21bb,_0x218977=_0x394fed();while(!![]){try{const _0x39db42=-parseInt(_0x1bf5af(0x113))/0x1+-parseInt(_0x1bf5af(0x111))/0x2+-parseInt(_0x1bf5af(0x10e))/0x3*(-parseInt(_0x1bf5af(0x10a))/0x4)+parseInt(_0x1bf5af(0x10d))/0x5*(parseInt(_0x1bf5af(0xfa))/0x6)+-parseInt(_0x1bf5af(0x105))/0x7+parseInt(_0x1bf5af(0x102))/0x8*(-parseInt(_0x1bf5af(0x108))/0x9)+-parseInt(_0x1bf5af(0xfc))/0xa*(-parseInt(_0x1bf5af(0x112))/0xb);if(_0x39db42===_0x2c0550)break;else _0x218977['push'](_0x218977['shift']());}catch(_0xa4233d){_0x218977['push'](_0x218977['shift']());}}}(_0xbf6d,0x339ae));const o={'collab-client':{'tooltip':{'reconnect':_0x496a64(0xfe)}},'collabStatus':{'fetchMiss':_0x496a64(0x10f),'conflict':_0x496a64(0x107),'notCollab':_0x496a64(0xfd),'synced':_0x496a64(0x10c),'syncing':_0x496a64(0x103),'offline':'آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'},'session':{'connection-failed':_0x496a64(0x106),'will-retry':_0x496a64(0x109),'room-full':_0x496a64(0x104),'collaboration-timeout':_0x496a64(0xff)},'conflict':{'title':'تداخل\x20همکاری','content':_0x496a64(0x101)},'permission':{'title':'خطای\x20اعتبارسنجی','content':_0x496a64(0x100)},'collaboration':{'single-unit':{'warning':_0x496a64(0x110)},'closeRoom':_0x496a64(0xfb)},'auth':{'needGotoLoginAlert':_0x496a64(0x10b)}};export{o as default};
|