@univerjs-pro/collaboration-client-ui 0.15.0-insiders.20260110-48b77c8 → 0.15.1-insiders.20260117-8ce4a01
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +16 -16
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x4db2cd=_0x24e1;(function(_0x29917b,_0x54d684){const _0x5f19f5=_0x24e1,_0x6ab948=_0x29917b();while(!![]){try{const _0x9042e8=parseInt(_0x5f19f5(0x280))/0x1*(-parseInt(_0x5f19f5(0x21e))/0x2)+-parseInt(_0x5f19f5(0x235))/0x3*(-parseInt(_0x5f19f5(0x2f6))/0x4)+-parseInt(_0x5f19f5(0x22f))/0x5+-parseInt(_0x5f19f5(0x22b))/0x6+-parseInt(_0x5f19f5(0x1a5))/0x7+parseInt(_0x5f19f5(0x29e))/0x8*(parseInt(_0x5f19f5(0x21b))/0x9)+parseInt(_0x5f19f5(0x149))/0xa;if(_0x9042e8===_0x54d684)break;else _0x6ab948['push'](_0x6ab948['shift']());}catch(_0xe3446a){_0x6ab948['push'](_0x6ab948['shift']());}}}(_0x28b2,0x50689));var Yt=Object[_0x4db2cd(0x300)],Wt=(_0x454e61,_0x5df3a5,_0x3b7e49)=>_0x5df3a5 in _0x454e61?Yt(_0x454e61,_0x5df3a5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3b7e49}):_0x454e61[_0x5df3a5]=_0x3b7e49,_=(_0x2f5993,_0x345285,_0x194235)=>Wt(_0x2f5993,typeof _0x345285!=_0x4db2cd(0x1dd)?_0x345285+'':_0x345285,_0x194235);import{jsx as _0x564d60,jsxs as _0x5bae91}from'react/jsx-runtime';import{CollaborationStatus as _0x47cd4a,CollaborationSessionService as _0x1e0b19,CollaborationController as _0x17bb07,DataLoaderService as _0x26bc8d,MemberService as _0x271b80,SessionStatus as _0x51cbc0,ILocalCacheService as _0x50d5d8,CollaborationUIEventService as _0x387bf7,CollaborationUIEventId as _0x720ca7,DocCollaborationEntity as _0x5ec973,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x3e0c86,getLocalCacheKey as _0x5a6170,LOCAL_CACHE_INTERVAL as _0x49b43e,LOCAL_CACHE_INTERVAL_KEY as _0x1752c6,UniverCollaborationClientPlugin as _0x57ce4b,CollaborationSocketService as _0x11765d,DEFAULT_WS_SESSION_TICKET_URL as _0x509bd3,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x11b96f,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x5afe50,UnitStatus as _0x5c39db}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x1a5fa4,IUniverInstanceService as _0x26672b,Inject as _0x1769b1,Injector as _0x174327,Disposable as _0x3432ff,createIdentifier as _0x4e3d8d,ILogService as _0x5cccfe,ICommandService as _0x57c9c6,Optional as _0x3e15d3,RxDisposable as _0x505f3c,Workbook as _0x3fac70,DOC_RANGE_TYPE as _0xd2e4f7,debounce as _0x27071f,Rectangle as _0x51056e,DisposableCollection as _0x497f38,toDisposable as _0x53db76,UniverInstanceType as _0x29eb03,generateRandomId as _0x23023b,COLORS as _0x5cc002,ColorKit as _0x55375a,ThemeService as _0x3235b5,fromEventSubject as _0x1d6621,Tools as _0x45a645,CommandType as _0x485374,IConfigService as _0x1da30a,CanceledError as _0x396bd6,isFormulaString as _0x30d206,isFormulaId as _0x187138,ILocalStorageService as _0x32527d,DependentOn as _0x3591f2,Plugin as _0x553922,merge as _0x41fb94,registerDependencies as _0x104b2f,mergeOverrideWithDependencies as _0x3e996a,touchDependencies as _0x3a91ad}from'@univerjs/core';import{useObservable as _0x3ca9b0,useDependency as _0x3058d1,IUIPartsService as _0x57c499,BuiltInUIPart as _0x325bc8,connectInjector as _0x4c4c21,IBeforeCloseService as _0x381c74,IMessageService as _0x2671aa,INotificationService as _0x267698}from'@univerjs/ui';import{BehaviorSubject as _0x5b52bd,switchMap as _0x2ea7f3,of as _0x38b0d0,takeUntil as _0x3c083f,debounceTime as _0x1bef04,Subject as _0x2d8eb9,filter as _0xd4d104,merge as _0x14cb3a,combineLatest as _0x3238c1,fromEvent as _0x11377c,shareReplay as _0x2cad0c,mapTo as _0x26cfd0,distinctUntilChanged as _0x133c00}from'rxjs';import{Tooltip as _0x154e53,clsx as _0x17493e,MessageType as _0x17c4da}from'@univerjs/design';import{useRef as _0x534b57,createElement as _0x38d254,forwardRef as _0x2a6880,useCallback as _0x496471}from'react';import{IRemoteInstanceService as _0x3c8bb0}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x564351,RefRangeService as _0x3415de,SetSelectionsOperation as _0x2ba205,SheetsSelectionsService as _0x5de39c,EffectRefRangId as _0x5b8e14,handleIRemoveRow as _0x27495b,handleIRemoveCol as _0xaaaa60,handleMoveRange as _0xcfe1b6,handleInsertRow as _0x40d056,handleInsertRangeMoveRight as _0x6ce994,handleInsertRangeMoveDown as _0x1b8822,handleInsertCol as _0x5b3e6d,handleDeleteRangeMoveUp as _0x5d270d,handleDeleteRangeMoveLeft as _0x1402b9,runRefRangeMutations as _0x299c0a}from'@univerjs/sheets';import{Shape as _0x670fe9,Rect as _0x1b4bc0,getColor as _0x7b9f07,RegularPolygon as _0x440b30,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x45ce46,Vector2 as _0x103b90,SHEET_VIEWPORT_KEY as _0x5ee039,IRenderManagerService as _0x556bf2}from'@univerjs/engine-render';import{HTTPService as _0x45d6eb,ISocketService as _0x2288a6,WebSocketService as _0x42b98f}from'@univerjs/network';import{IDocClipboardService as _0x3162d6,NodePositionConvertToCursor as _0x2b4b61,NodePositionConvertToRectRange as _0x4389c5,TEXT_RANGE_LAYER_INDEX as _0x55cd92,SetDocZoomRatioOperation as _0x43b4fb,DocIMEInputManagerService as _0x498e9e,DocStateChangeManagerService as _0x53b4e2}from'@univerjs/docs-ui';import{IImageIoService as _0x2a1cce}from'@univerjs/drawing';import{ITransformService as _0x29c2d7,CollaborationEvent as _0x4b0752,isTransformMutationFailure as _0x1543e0,isTransformMutationsWithChangesetSuccess as _0x359420,RevisionService as _0x2b64b6,ISnapshotServerService as _0x57aba9}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x1df9c4,RichTextEditingMutation as _0x39eac8,DocSelectionManagerService as _0x1b2212,DocSkeletonManagerService as _0x4a66d6}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x51ae56,serializeRangeWithSheet as _0x50c591,FormulaExecuteStageType as _0x1ec3a3,FormulaExecutedStateType as _0x2d6caa,SetFormulaCalculationStartMutation as _0x1b8d33,SetFormulaCalculationNotificationMutation as _0x491036}from'@univerjs/engine-formula';import{map as _0x392195,filter as _0x2699c8,throttleTime as _0x239387,takeUntil as _0x3710c5,switchMap as _0x51fb17}from'rxjs/operators';import{SheetSkeletonManagerService as _0x1124fa,getCoordByCell as _0x5c0b12,getSheetObject as _0xd2d082}from'@univerjs/sheets-ui';function Ge({ref:_0xa3eecf,..._0x4eeb3a}){const _0x365063=_0x4db2cd,{icon:_0x52a061,id:_0x16add3,className:_0x1850e9,extend:_0x5c1d73,..._0x6d6c63}=_0x4eeb3a,_0x2eb187=(_0x365063(0x2e3)+_0x16add3+'\x20'+(_0x1850e9||''))[_0x365063(0x1a2)](),_0x51047f=_0x534b57('_'+vi());return At(_0x52a061,''+_0x16add3,{'defIds':_0x52a061[_0x365063(0x2be)],'idSuffix':_0x51047f['current']},{'ref':_0xa3eecf,'className':_0x2eb187,..._0x6d6c63},_0x5c1d73);}function At(_0x4a5e82,_0x2ad457,_0x262b9d,_0x3142dd,_0x518cc5){const _0x2111db=_0x4db2cd;return _0x38d254(_0x4a5e82[_0x2111db(0x209)],{'key':_0x2ad457,...gi(_0x4a5e82,_0x262b9d,_0x518cc5),..._0x3142dd},(Ei(_0x4a5e82,_0x262b9d)[_0x2111db(0x20c)]||[])['map']((_0x6df7bf,_0x28b1d2)=>At(_0x6df7bf,_0x2ad457+'-'+_0x4a5e82[_0x2111db(0x209)]+'-'+_0x28b1d2,_0x262b9d,void 0x0,_0x518cc5)));}function gi(_0x208ee4,_0x553ab9,_0x39988f){const _0x51f92e=_0x4db2cd,_0x3d6163={..._0x208ee4[_0x51f92e(0x2b8)]};_0x39988f!=null&&_0x39988f[_0x51f92e(0x199)]&&_0x3d6163[_0x51f92e(0x30b)]===_0x51f92e(0x199)&&(_0x3d6163['fill']=_0x39988f[_0x51f92e(0x199)]),_0x208ee4[_0x51f92e(0x209)]==='mask'&&_0x3d6163['id']&&(_0x3d6163['id']=_0x3d6163['id']+_0x553ab9[_0x51f92e(0x26a)]),Object[_0x51f92e(0x1ac)](_0x3d6163)[_0x51f92e(0x18c)](([_0x9b095f,_0x48d4ad])=>{const _0x1d91d9=_0x51f92e;_0x9b095f==='mask'&&typeof _0x48d4ad==_0x1d91d9(0x2a9)&&(_0x3d6163[_0x9b095f]=_0x48d4ad[_0x1d91d9(0x2d7)](/url\(#(.*)\)/,_0x1d91d9(0x1ba)+_0x553ab9[_0x1d91d9(0x26a)]+')'));});const {defIds:_0x489f04}=_0x553ab9;return!_0x489f04||_0x489f04[_0x51f92e(0x148)]===0x0||(_0x208ee4['tag']===_0x51f92e(0x1f4)&&_0x3d6163[_0x51f92e(0x353)]&&(_0x3d6163[_0x51f92e(0x353)]=_0x3d6163[_0x51f92e(0x353)]+_0x553ab9['idSuffix']),Object[_0x51f92e(0x1ac)](_0x3d6163)['forEach'](([_0x499ff1,_0x25b1a0])=>{const _0xabd73=_0x51f92e;typeof _0x25b1a0=='string'&&(_0x3d6163[_0x499ff1]=_0x25b1a0[_0xabd73(0x2d7)](/url\(#(.*)\)/,_0xabd73(0x1ba)+_0x553ab9[_0xabd73(0x26a)]+')'));})),_0x3d6163;}function Ei(_0x4c6deb,_0x263152){const _0xb20bb4=_0x4db2cd;var _0x4918d0;const {defIds:_0x4a95fb}=_0x263152;return!_0x4a95fb||_0x4a95fb[_0xb20bb4(0x148)]===0x0?_0x4c6deb:_0x4c6deb[_0xb20bb4(0x209)]===_0xb20bb4(0x2b3)&&((_0x4918d0=_0x4c6deb[_0xb20bb4(0x20c)])!=null&&_0x4918d0[_0xb20bb4(0x148)])?{..._0x4c6deb,'children':_0x4c6deb[_0xb20bb4(0x20c)][_0xb20bb4(0x197)](_0xf25d25=>typeof _0xf25d25[_0xb20bb4(0x2b8)]['id']=='string'&&_0x4a95fb&&_0x4a95fb[_0xb20bb4(0x338)](_0xf25d25[_0xb20bb4(0x2b8)]['id'])?{..._0xf25d25,'attrs':{..._0xf25d25[_0xb20bb4(0x2b8)],'id':_0xf25d25[_0xb20bb4(0x2b8)]['id']+_0x263152['idSuffix']}}:_0xf25d25)}:_0x4c6deb;}function vi(){const _0x10ed9b=_0x4db2cd;return Math[_0x10ed9b(0x23f)]()[_0x10ed9b(0x18b)](0x24)[_0x10ed9b(0x34e)](0x2,0x8);}Ge[_0x4db2cd(0x157)]=_0x4db2cd(0x2da);const pi={'tag':_0x4db2cd(0x230),'attrs':{'xmlns':_0x4db2cd(0x19c),'fill':_0x4db2cd(0x175),'viewBox':_0x4db2cd(0x36d),'width':_0x4db2cd(0x385),'height':_0x4db2cd(0x385)},'children':[{'tag':'g','attrs':{'clipPath':_0x4db2cd(0x24a)},'children':[{'tag':_0x4db2cd(0x27a),'attrs':{'stroke':_0x4db2cd(0x34a),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x4db2cd(0x2ea),'strokeLinejoin':_0x4db2cd(0x2ea),'strokeWidth':1.2}}]},{'tag':_0x4db2cd(0x2b3),'attrs':{},'children':[{'tag':_0x4db2cd(0x2de),'attrs':{'id':_0x4db2cd(0x2d9)},'children':[{'tag':_0x4db2cd(0x27a),'attrs':{'fill':_0x4db2cd(0x1d5),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x4db2cd(0x2d9)]},Pt=_0x2a6880(function(_0x489fc1,_0x2c3c48){const _0x1c1068=_0x4db2cd;return _0x38d254(Ge,Object[_0x1c1068(0x303)]({},_0x489fc1,{'id':'off-line-icon','ref':_0x2c3c48,'icon':pi}));});Pt[_0x4db2cd(0x157)]=_0x4db2cd(0x182);const Oi={'tag':_0x4db2cd(0x230),'attrs':{'xmlns':_0x4db2cd(0x19c),'fill':_0x4db2cd(0x175),'viewBox':_0x4db2cd(0x17a),'width':_0x4db2cd(0x385),'height':_0x4db2cd(0x385)},'children':[{'tag':'g','attrs':{'clipPath':_0x4db2cd(0x282)},'children':[{'tag':_0x4db2cd(0x27a),'attrs':{'stroke':_0x4db2cd(0x34a),'d':_0x4db2cd(0x2ca),'strokeLinecap':_0x4db2cd(0x2ea),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x4db2cd(0x2b3),'attrs':{},'children':[{'tag':_0x4db2cd(0x2de),'attrs':{'id':_0x4db2cd(0x1f2)},'children':[{'tag':'path','attrs':{'fill':'white','d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x4db2cd(0x1f2)]},wt=_0x2a6880(function(_0x254466,_0x806a69){const _0x301387=_0x4db2cd;return _0x38d254(Ge,Object[_0x301387(0x303)]({},_0x254466,{'id':_0x301387(0x35b),'ref':_0x806a69,'icon':Oi}));});wt[_0x4db2cd(0x157)]=_0x4db2cd(0x348);function Ti(_0x31687e){const _0x137417=_0x4db2cd;switch(_0x31687e){case _0x47cd4a[_0x137417(0x38b)]:return _0x137417(0x340);case _0x47cd4a[_0x137417(0x274)]:return'collabStatus.conflict';case _0x47cd4a['FETCH_MISS']:return _0x137417(0x1c2);case _0x47cd4a[_0x137417(0x16c)]:return _0x137417(0x14e);case _0x47cd4a['AWAITING']:case _0x47cd4a['AWAITING_WITH_PENDING']:return _0x137417(0x146);case _0x47cd4a[_0x137417(0x37e)]:case _0x47cd4a['PENDING']:return _0x137417(0x33b);}}function Ci(_0x283040){const _0xa330e7=_0x4db2cd,{status$:_0x5a0312}=_0x283040,_0xd337eb=_0x3ca9b0(_0x5a0312,_0x47cd4a[_0xa330e7(0x16c)]),_0x1d39d7=_0x3058d1(_0x1a5fa4),_0x224091=_0x3058d1(_0x1e0b19),_0xdfa49d=_0xd337eb!==_0x47cd4a[_0xa330e7(0x38b)],_0x223df5=_0x1d39d7['t'](Ti(_0xd337eb)),_0x56f875=_0xdfa49d?_0x564d60(wt,{}):_0x564d60(Pt,{}),_0x8e7161=_0x496471(()=>{const _0x41c06e=_0xa330e7;_0xdfa49d||_0x224091[_0x41c06e(0x210)]();},[_0xdfa49d,_0x224091]);function _0x54847b(){const _0x4be643=_0xa330e7;return _0x5bae91(_0x4be643(0x309),{'className':_0x4be643(0x226),'onClick':_0x8e7161,'children':[_0x564d60(_0x4be643(0x309),{'className':_0x17493e('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0xdfa49d,'univer-text-red-500':!_0xdfa49d}),'children':_0x56f875}),_0x564d60(_0x4be643(0x309),{'className':_0x4be643(0x15e),'children':_0x223df5})]});}return _0xdfa49d?_0x54847b():_0x564d60(_0x154e53,{'title':_0x1d39d7['t']('collab-client.tooltip.reconnect'),'children':_0x54847b()});}var Ri=Object['getOwnPropertyDescriptor'],Di=(_0x9af567,_0x2f044e,_0x18b607,_0x2e2031)=>{const _0x383833=_0x4db2cd;for(var _0x1f7b19=_0x2e2031>0x1?void 0x0:_0x2e2031?Ri(_0x2f044e,_0x18b607):_0x2f044e,_0x31d537=_0x9af567[_0x383833(0x148)]-0x1,_0x400db2;_0x31d537>=0x0;_0x31d537--)(_0x400db2=_0x9af567[_0x31d537])&&(_0x1f7b19=_0x400db2(_0x1f7b19)||_0x1f7b19);return _0x1f7b19;},se=(_0x17cee5,_0x5e1a10)=>(_0xf5eac2,_0x55686d)=>_0x5e1a10(_0xf5eac2,_0x55686d,_0x17cee5);let ae=class extends _0x3432ff{constructor(_0x52f89b,_0x2b8677,_0x5cd513,_0x2f3256){const _0x212da8=_0x4db2cd;super(),_(this,_0x212da8(0x17d),new _0x5b52bd(_0x47cd4a[_0x212da8(0x16c)])),(this[_0x212da8(0x168)]=_0x52f89b,this['_injector']=_0x2b8677,this['_collaborationController']=_0x5cd513,this[_0x212da8(0x342)]=_0x2f3256,this[_0x212da8(0x145)](),this[_0x212da8(0x17e)]());}[_0x4db2cd(0x17e)](){const _0x2ce1b5=_0x4db2cd;this['disposeWithMe'](this['_univerInstanceService'][_0x2ce1b5(0x246)]['pipe'](_0x2ea7f3(()=>{const _0x45d82b=_0x2ce1b5,_0x5dbb69=this['_univerInstanceService'][_0x45d82b(0x32d)]();return _0x5dbb69?this[_0x45d82b(0x1ca)][_0x45d82b(0x2a1)](_0x5dbb69['getUnitId']()):_0x38b0d0(null);}),_0x2ea7f3(_0x1b46b3=>_0x1b46b3?_0x1b46b3[_0x2ce1b5(0x295)]:_0x38b0d0(_0x47cd4a[_0x2ce1b5(0x16c)])))[_0x2ce1b5(0x278)](_0x40bf0c=>{const _0x21a73a=_0x2ce1b5;this['_status$'][_0x21a73a(0x2dc)](_0x40bf0c);}));}[_0x4db2cd(0x145)](){const _0x240805=_0x4db2cd;this[_0x240805(0x172)](this['_uiPartsService'][_0x240805(0x1fa)](_0x325bc8[_0x240805(0x2a8)],()=>_0x4c4c21(Ni({'status$':this[_0x240805(0x17d)][_0x240805(0x244)]()}),this['_injector'])));}};ae=Di([se(0x0,_0x26672b),se(0x1,_0x1769b1(_0x174327)),se(0x2,_0x1769b1(_0x17bb07)),se(0x3,_0x57c499)],ae);function Ni(_0x13c360){const {status$:_0x12df7b}=_0x13c360;return function(){return _0x564d60(Ci,{'status$':_0x12df7b});};}const yt=_0x4e3d8d(_0x4db2cd(0x1bb));var bi=Object[_0x4db2cd(0x2ab)],Li=(_0x54fed9,_0x39c98a,_0x3a60ff,_0x44ca58)=>{for(var _0x51dd20=_0x44ca58>0x1?void 0x0:_0x44ca58?bi(_0x39c98a,_0x3a60ff):_0x39c98a,_0x32bfde=_0x54fed9['length']-0x1,_0x3c6e7a;_0x32bfde>=0x0;_0x32bfde--)(_0x3c6e7a=_0x54fed9[_0x32bfde])&&(_0x51dd20=_0x3c6e7a(_0x51dd20)||_0x51dd20);return _0x51dd20;},K=(_0x4dc521,_0xe55a4c)=>(_0x3f8f8e,_0x5af0a8)=>_0xe55a4c(_0x3f8f8e,_0x5af0a8,_0x4dc521);let ce=class extends _0x505f3c{constructor(_0x97a3a3,_0x1f4825,_0x8d4ccb,_0x20df57,_0x44cf9f){const _0x54a9d9=_0x4db2cd;super(),this[_0x54a9d9(0x2c6)]=_0x97a3a3,this[_0x54a9d9(0x140)]=_0x1f4825,this[_0x54a9d9(0x27d)]=_0x8d4ccb,this['_dataLoaderService']=_0x20df57,_0x44cf9f?_0x44cf9f==null||_0x44cf9f[_0x54a9d9(0x365)]()[_0x54a9d9(0x2e9)](()=>this['_init']()):(this[_0x54a9d9(0x140)][_0x54a9d9(0x252)](_0x54a9d9(0x2f9),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x4db2cd(0x2c0)](){const _0x3dea09=_0x4db2cd,_0x20ec63=this['_urlService'][_0x3dea09(0x2f1)](_0x3dea09(0x2fc)),_0x10a785=this['_urlService'][_0x3dea09(0x2f1)](_0x3dea09(0x326)),_0x232671=this[_0x3dea09(0x2c6)][_0x3dea09(0x2f1)](_0x3dea09(0x325));if(!_0x20ec63||!_0x10a785){this[_0x3dea09(0x140)]['debug'](_0x3dea09(0x2f9),_0x3dea09(0x167));return;}const _0x55efe2=await this[_0x3dea09(0x151)][_0x3dea09(0x15f)](_0x20ec63,Number(_0x10a785),_0x232671);_0x55efe2&&_0x55efe2 instanceof _0x3fac70&&this['_setupSubUnitSync'](_0x55efe2);}async[_0x4db2cd(0x2c2)](_0x1375d5){const _0x2ffab1=_0x4db2cd;await this[_0x2ffab1(0x25c)](_0x1375d5),_0x1375d5[_0x2ffab1(0x191)]['pipe'](_0x3c083f(this[_0x2ffab1(0x250)]))[_0x2ffab1(0x278)](_0x20280e=>{const _0x7d71da=_0x2ffab1;_0x20280e&&this[_0x7d71da(0x28b)](_0x20280e);}),this[_0x2ffab1(0x2c6)][_0x2ffab1(0x36c)][_0x2ffab1(0x1c9)](_0x3c083f(this[_0x2ffab1(0x250)]))[_0x2ffab1(0x278)](()=>this[_0x2ffab1(0x25c)](_0x1375d5));}['_updateURLWithCurrentState'](_0x245a25,_0x5a342c=!0x1){const _0x4f5ee9=_0x4db2cd,_0x14f10d=this[_0x4f5ee9(0x2c6)][_0x4f5ee9(0x2f1)](_0x4f5ee9(0x325));_0x245a25[_0x4f5ee9(0x29b)]()!==_0x14f10d&&this[_0x4f5ee9(0x2c6)][_0x4f5ee9(0x2c5)](_0x4f5ee9(0x325),_0x245a25[_0x4f5ee9(0x29b)](),_0x5a342c);}async['_updateSubUnitFromURLParams'](_0x530474){const _0x14c573=_0x4db2cd;var _0x4b00c9;const _0x42550e=this[_0x14c573(0x2c6)]['getParam'](_0x14c573(0x325));if(!_0x42550e||!_0x530474['getSheetBySheetId'](_0x42550e)){const _0x144cc3=_0x530474[_0x14c573(0x2c4)]()[0x0],_0x3841c7=_0x530474[_0x14c573(0x319)](_0x144cc3);if(!_0x3841c7)return;this[_0x14c573(0x28b)](_0x3841c7,!0x0),await this['_commandService'][_0x14c573(0x286)](_0x564351['id'],{'unitId':_0x530474['getUnitId'](),'subUnitId':_0x144cc3});return;}((_0x4b00c9=_0x530474[_0x14c573(0x349)]())==null?void 0x0:_0x4b00c9[_0x14c573(0x29b)]())!==_0x42550e&&await this['_commandService'][_0x14c573(0x286)](_0x564351['id'],{'unitId':_0x530474[_0x14c573(0x1ee)](),'subUnitId':_0x42550e});}};ce=Li([K(0x0,yt),K(0x1,_0x5cccfe),K(0x2,_0x57c9c6),K(0x3,_0x1769b1(_0x26bc8d)),K(0x4,_0x3e15d3(_0x3c8bb0))],ce);var Ui=Object[_0x4db2cd(0x2ab)],Mi=(_0x5985ab,_0x4600fc,_0x42233e,_0x40308a)=>{const _0xb173d3=_0x4db2cd;for(var _0x928f6f=_0x40308a>0x1?void 0x0:_0x40308a?Ui(_0x4600fc,_0x42233e):_0x4600fc,_0x23899d=_0x5985ab[_0xb173d3(0x148)]-0x1,_0x1d687c;_0x23899d>=0x0;_0x23899d--)(_0x1d687c=_0x5985ab[_0x23899d])&&(_0x928f6f=_0x1d687c(_0x928f6f)||_0x928f6f);return _0x928f6f;},rt=(_0xfabf61,_0x24b885)=>(_0x22cea8,_0x3a3332)=>_0x24b885(_0x22cea8,_0x3a3332,_0xfabf61);let $e=class extends _0x505f3c{constructor(_0xfe660d,_0x2f4770){const _0x2b3511=_0x4db2cd;super(),this[_0x2b3511(0x169)]=_0xfe660d,this[_0x2b3511(0x33f)]=_0x2f4770,this['_init']();}[_0x4db2cd(0x2c0)](){const _0x524a26=_0x4db2cd,_0x3393c5=this;this[_0x524a26(0x172)](this[_0x524a26(0x169)][_0x524a26(0x1b1)]({'onBeforePasteImage':async _0x238585=>{const _0x3db36a=_0x524a26,_0x1730b8=await _0x3393c5['_imageIoService'][_0x3db36a(0x1aa)](_0x238585);return _0x1730b8?{'source':_0x1730b8[_0x3db36a(0x2fb)],'imageSourceType':_0x1730b8[_0x3db36a(0x1a9)]}:null;}}));}};$e=Mi([rt(0x0,_0x3162d6),rt(0x1,_0x2a1cce)],$e);const ot=[_0x4db2cd(0x268),_0x4db2cd(0x1b8),'green.600',_0x4db2cd(0x18a),'blue.400',_0x4db2cd(0x259)];class Ke extends _0x3432ff{constructor(){const _0x5dd874=_0x4db2cd;super(...arguments),_(this,_0x5dd874(0x360),new Map()),_(this,_0x5dd874(0x25d),0x0);}[_0x4db2cd(0x2e7)](_0x320dc3){const _0x43d12d=_0x4db2cd;if(this['_assignedColors'][_0x43d12d(0x22e)](_0x320dc3))return this['_assignedColors'][_0x43d12d(0x31a)](_0x320dc3);const _0x108ed5=ot[this[_0x43d12d(0x25d)]];return this[_0x43d12d(0x25d)]=(this[_0x43d12d(0x25d)]+0x1)%ot[_0x43d12d(0x148)],this[_0x43d12d(0x360)]['set'](_0x320dc3,_0x108ed5),_0x108ed5;}}function $t(_0x24fb94){const _0xb81cac=_0x4db2cd;let _0x106386='';for(const _0x5bce15 of _0x24fb94){const {startOffset:_0x4eb11a,endOffset:_0x1bc2b8,isActive:_0x453b6b,rangeType:_0x54c738,segmentId:_0x4e2dd0,segmentPage:_0x4c5b7c}=_0x5bce15;_0x106386[_0xb81cac(0x148)]&&(_0x106386+=','),_0x106386+=_0x4eb11a+':'+_0x1bc2b8+':'+(_0x453b6b?'1':'0')+':'+_0x54c738+':'+_0x4e2dd0+':'+_0x4c5b7c;}return _0x106386;}function Ai(_0xe5f1e1){const _0x2d4439=_0x4db2cd,_0x39d9a9=_0xe5f1e1['split'](','),_0x4739e5=[];for(const _0x69ba74 of _0x39d9a9){const [_0x5534cd,_0x3f7c70,_0x111a82,_0x4511ea,_0xce966c,_0x2fc850]=_0x69ba74[_0x2d4439(0x34d)](':');_0x4739e5[_0x2d4439(0x1b0)]({'startOffset':Number(_0x5534cd),'endOffset':Number(_0x3f7c70),'collapsed':_0x5534cd===_0x3f7c70,'isActive':_0x111a82==='1','rangeType':_0x4511ea===_0xd2e4f7['TEXT']?_0xd2e4f7[_0x2d4439(0x2e0)]:_0xd2e4f7[_0x2d4439(0x23d)],'segmentId':typeof _0xce966c==_0x2d4439(0x2a9)?String(_0xce966c):'','segmentPage':Number(_0x2fc850!=null?_0x2fc850:-0x1)});}return _0x4739e5['some'](_0x55932d=>_0x55932d[_0x2d4439(0x322)])||(_0x4739e5[0x0][_0x2d4439(0x322)]=!0x0),_0x4739e5;}class ze extends _0x505f3c{constructor(){const _0x500e6e=_0x4db2cd;super(...arguments),_(this,_0x500e6e(0x293),new _0x5b52bd(null)),_(this,_0x500e6e(0x2bc),this[_0x500e6e(0x293)][_0x500e6e(0x244)]());}['syncEditingCollabCursor'](_0x2bca11){const _0x15c250=_0x4db2cd,{unitID:_0x41164c,memberID:_0x284167,textRanges:_0x111c24}=_0x2bca11,_0x1d700a=$t(_0x111c24);if(_0x1d700a==='')return;const _0x4eb260={'unitID':_0x41164c,'memberID':_0x284167,'selection':_0x1d700a};this[_0x15c250(0x293)]['next'](_0x4eb260);}}var Pi=Object[_0x4db2cd(0x2ab)],wi=(_0x1faa28,_0x9694d6,_0x2e2754,_0x5f21f9)=>{const _0x598d42=_0x4db2cd;for(var _0x184734=_0x5f21f9>0x1?void 0x0:_0x5f21f9?Pi(_0x9694d6,_0x2e2754):_0x9694d6,_0x349bfe=_0x1faa28[_0x598d42(0x148)]-0x1,_0x2b7cbc;_0x349bfe>=0x0;_0x349bfe--)(_0x2b7cbc=_0x1faa28[_0x349bfe])&&(_0x184734=_0x2b7cbc(_0x184734)||_0x184734);return _0x184734;},A=(_0x185325,_0x5e85cf)=>(_0x1ef0e8,_0x5bdcf4)=>_0x5e85cf(_0x1ef0e8,_0x5bdcf4,_0x185325);const yi=0x12c,$i=0x64;let xe=class extends _0x505f3c{constructor(_0x4f2f4d,_0x38d17e,_0x37d722,_0x3eab22,_0x3f3cb2,_0x205db2,_0x436e3f,_0x131c2c,_0xe971a){const _0x57359d=_0x4db2cd;super(),_(this,_0x57359d(0x25f),!0x1),_(this,'_init',!0x1),_(this,'_cursorInfo$',new _0x5b52bd(new Map())),_(this,'cursorInfo$',this['_cursorInfo$']['asObservable']()),_(this,_0x57359d(0x223),new _0x5b52bd([])),_(this,_0x57359d(0x2b4),this['_roomMembers$'][_0x57359d(0x1c9)](_0x1bef04(yi))),_(this,_0x57359d(0x14a),_0x27071f(_0x366e63=>{const _0x314252=_0x57359d,_0x102659={'eventID':_0x4b0752[_0x314252(0x27b)],'data':{'unitID':this['unitID'],'memberID':this[_0x314252(0x28a)][_0x314252(0x248)](),'selection':$t(_0x366e63)}};this['_session'][_0x314252(0x152)](_0x102659,this[_0x314252(0x2d5)]);},$i)),(this[_0x57359d(0x2d5)]=_0x4f2f4d,this[_0x57359d(0x28a)]=_0x38d17e,this[_0x57359d(0x363)]=_0x37d722,this[_0x57359d(0x216)]=_0x3eab22,this[_0x57359d(0x302)]=_0x3f3cb2,this[_0x57359d(0x315)]=_0x205db2,this['_transformService']=_0x436e3f,this[_0x57359d(0x168)]=_0x131c2c,this['_commandService']=_0xe971a);}get[_0x4db2cd(0x25a)](){const _0x5b53b3=_0x4db2cd;return this[_0x5b53b3(0x33c)][_0x5b53b3(0x264)]();}get[_0x4db2cd(0x1df)](){const _0xc5b56d=_0x4db2cd;return this[_0xc5b56d(0x223)]['getValue']();}['dispose'](){const _0x4982c2=_0x4db2cd;super[_0x4982c2(0x183)](),this[_0x4982c2(0x33c)][_0x4982c2(0x2dc)](new Map()),this[_0x4982c2(0x33c)][_0x4982c2(0x30e)](),this[_0x4982c2(0x223)][_0x4982c2(0x2dc)]([]),this[_0x4982c2(0x223)][_0x4982c2(0x30e)]();}[_0x4db2cd(0x367)](){const _0x47bef8=_0x4db2cd;this[_0x47bef8(0x2c0)]||(this[_0x47bef8(0x2c0)]=!0x0,this[_0x47bef8(0x28a)]['sessionStatus$'][_0x47bef8(0x1c9)](_0x3c083f(this['dispose$']))['subscribe'](_0x2e14a2=>{const _0x4d0124=_0x47bef8;_0x2e14a2===_0x51cbc0[_0x4d0124(0x29d)]?this[_0x4d0124(0x1c5)]():this[_0x4d0124(0x313)]();}),this[_0x47bef8(0x28a)]['event$']['pipe'](_0x3c083f(this[_0x47bef8(0x250)]))['subscribe'](_0x20cc74=>{const _0x1b7489=_0x47bef8,_0x1edf7c=_0x20cc74[_0x1b7489(0x21a)];_0x1edf7c===_0x4b0752[_0x1b7489(0x27b)]&&this[_0x1b7489(0x1e7)](_0x20cc74),_0x1edf7c===_0x4b0752[_0x1b7489(0x2a5)]&&this[_0x1b7489(0x217)](_0x20cc74);}),this[_0x47bef8(0x172)](this[_0x47bef8(0x27d)][_0x47bef8(0x356)](_0x11002a=>{const _0x24b2df=_0x47bef8,_0x174944=_0x11002a[_0x24b2df(0x17c)];_0x174944!=null&&this[_0x24b2df(0x25f)]&&_0x11002a['id']===_0x1df9c4['id']&&_0x174944[_0x24b2df(0x239)]===this[_0x24b2df(0x2d5)]&&_0x174944['isEditing']===!0x1&&_0x174944['ranges'][_0x24b2df(0x148)]>0x0&&this[_0x24b2df(0x14a)](_0x174944['ranges']);})),this['_syncEditingCollabCursorService'][_0x47bef8(0x2bc)][_0x47bef8(0x1c9)](_0x3c083f(this[_0x47bef8(0x250)]))[_0x47bef8(0x278)](_0x2ecc27=>{const _0x266792=_0x47bef8;if((_0x2ecc27==null?void 0x0:_0x2ecc27[_0x266792(0x2d5)])!==this['unitID'])return;const _0xbd1cb3={'eventID':_0x4b0752[_0x266792(0x27b)],'data':_0x2ecc27};this[_0x266792(0x1e7)](_0xbd1cb3);}),this[_0x47bef8(0x172)](this[_0x47bef8(0x27d)][_0x47bef8(0x356)](_0x27aec9=>{const _0x10caed=_0x47bef8;if(_0x27aec9[_0x10caed(0x17c)]==null)return;const _0x777d1f=_0x27aec9[_0x10caed(0x17c)];if(_0x27aec9['id']!==_0x39eac8['id']||_0x777d1f[_0x10caed(0x239)]!==this[_0x10caed(0x2d5)])return;const _0x306ce4={'id':'doc.mutation.rich-text-editing','params':_0x777d1f},_0x33d8ef=this[_0x10caed(0x25a)];for(const [_0x1e602c,_0x5f20d5]of _0x33d8ef){const _0x33a079={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x10caed(0x2d5)],'actions':null,'textRanges':_0x5f20d5['ranges']}},_0x40969c=this['_transformService'][_0x10caed(0x2ac)](_0x306ce4,_0x33a079,!0x1);if(_0x1543e0(_0x40969c))throw _0x40969c['error'];_0x33d8ef[_0x10caed(0x225)](_0x1e602c,{..._0x5f20d5,'ranges':_0x40969c[_0x10caed(0x1ed)][_0x10caed(0x17c)]['textRanges']});}queueMicrotask(()=>{const _0xedd27c=_0x10caed;this[_0xedd27c(0x33c)][_0xedd27c(0x2dc)](_0x33d8ef);});})));}[_0x4db2cd(0x1e7)](_0x5e5e1c){const _0x859359=_0x4db2cd;var _0x4466ea,_0x5f3646;const {memberID:_0x2c1cae,selection:_0x16ab9a}=_0x5e5e1c[_0x859359(0x178)],_0x594226=Ai(_0x16ab9a),_0xf64374=(_0x5f3646=(_0x4466ea=this[_0x859359(0x302)][_0x859359(0x1de)](this[_0x859359(0x2d5)],_0x2c1cae))==null?void 0x0:_0x4466ea[_0x859359(0x220)])!=null?_0x5f3646:_0x859359(0x1af),_0xf4efab={'color':this['_colorAssignService'][_0x859359(0x2e7)](_0x2c1cae),'name':_0xf64374,'ranges':_0x594226},_0x4b05b7=this[_0x859359(0x25a)];_0x4b05b7[_0x859359(0x225)](_0x2c1cae,_0xf4efab),this[_0x859359(0x33c)]['next'](_0x4b05b7);}[_0x4db2cd(0x217)](_0x4326b0){const _0x1eea54=_0x4db2cd,{memberID:_0x428f82}=_0x4326b0[_0x1eea54(0x178)],_0x5340b0=this['cursorInfo'];_0x5340b0[_0x1eea54(0x358)](_0x428f82),this[_0x1eea54(0x33c)][_0x1eea54(0x2dc)](_0x5340b0);}[_0x4db2cd(0x1c5)](){const _0x5805e6=_0x4db2cd;var _0x3c1f36;if(this[_0x5805e6(0x25f)]=!0x0,((_0x3c1f36=this[_0x5805e6(0x168)]['getFocusedUnit']())==null?void 0x0:_0x3c1f36[_0x5805e6(0x1ee)]())!==this['unitID'])return;const _0x188734=this[_0x5805e6(0x363)][_0x5805e6(0x31a)](_0x1b2212)[_0x5805e6(0x255)]();Array[_0x5805e6(0x1e4)](_0x188734)&&_0x188734[_0x5805e6(0x148)]>0x0&&this[_0x5805e6(0x14a)](_0x188734);}[_0x4db2cd(0x313)](){const _0x2b4e5b=_0x4db2cd;this[_0x2b4e5b(0x25f)]=!0x1;}};xe=wi([A(0x2,_0x1769b1(_0x174327)),A(0x3,_0x1769b1(Ke)),A(0x4,_0x1769b1(_0x271b80)),A(0x5,_0x1769b1(ze)),A(0x6,_0x29c2d7),A(0x7,_0x26672b),A(0x8,_0x57c9c6)],xe);var xi=Object['getOwnPropertyDescriptor'],Bi=(_0x1cada9,_0xad8907,_0xd281c4,_0x109b14)=>{const _0x465a7b=_0x4db2cd;for(var _0x6d876=_0x109b14>0x1?void 0x0:_0x109b14?xi(_0xad8907,_0xd281c4):_0xad8907,_0x339e9f=_0x1cada9[_0x465a7b(0x148)]-0x1,_0x47ab17;_0x339e9f>=0x0;_0x339e9f--)(_0x47ab17=_0x1cada9[_0x339e9f])&&(_0x6d876=_0x47ab17(_0x6d876)||_0x6d876);return _0x6d876;},B=(_0x4ba2e4,_0x4fe925)=>(_0x9c8175,_0x39add9)=>_0x4fe925(_0x9c8175,_0x39add9,_0x4ba2e4);const Fi=0x12c,ki=0x64,Hi=()=>{let _0x84dcf4=[],_0x4e3d2c=!0x1;return _0x35d8a8=>{const _0x236429=_0x24e1;_0x84dcf4[_0x236429(0x1b0)](_0x35d8a8),_0x4e3d2c||(_0x4e3d2c=!0x0,setTimeout(()=>{_0x84dcf4['forEach'](_0x30abdf=>_0x30abdf()),_0x84dcf4=[],_0x4e3d2c=!0x1;}));};};function _0x28b2(){const _0x2fa7e7=['getActiveRange','_initEvent','_messageService','_handleHover','_beforeCloseService','getSheetId','transformMutationsWithChangeset','ONLINE','32fHAtpP','transformByState','getRelativeToViewportCoord','getCollabEntity$','startsWith','ENTITLE_DUP_SUBSCRIPTION','beforeCommandExecuted','USERS_LEAVE','selection','message','HEADER_MENU','string','onRendered','getOwnPropertyDescriptor','transformMutation','REDEMPTION_INVALID_CODE','getUniverSheetInstance','_initEntityListener','START_CALCULATION','transformStateCache','YUUMI_TABLE_NOT_FOUND_IN_UNIT','defs','roomMembers$','_backgroundColor','redoState','searchParams','attrs','transformRemoteChangeset','YUUMI_ALL_TABLES_IS_INVALID','INVITE_CODE_REQUIRED','collabCursorState$','beginPath','defIds','actions','_init','from','_setupSubUnitSync','LOGIN_TOKEN_PROCESSING_FAILED','getUnhiddenWorksheets','setParam','_urlService','...','application/json','maxFormulaLimit','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','_clearPolling','_setFormulaLimitStatus','?taskId=','_monkeyPatchLogService','setShapeProps','_unitStatus','USER_IS_ANONYMOUS','APPLY_DUPLICATED','YUUMI_CONNECTOR_URL_NOT_FOUND','_draw','unitID','_startCalculationLimit','replace','OTHER_CLIENT_EDITING','off-line-icon_clip0_910_343','UniverIcon','_applyCommand','next','_docTransformStateCacheService','clipPath','registerBeforeClose','TEXT','_lastResponseTimestamp','limitInfo','univerjs-icon\x20univerjs-icon-','deepClone','_cursors','error','assignAColorForMemberID','APPLY_NON_SEQUENTIAL_REVISION','then','round','getColorFromTheme','getUndoRedoMutationParamsCache','_collaborationUIEventService','disposeUnit','color','_initCommandExecutedListener','getParam','DeleteRangeMoveLeftCommandId','closePath','AUTHORIZE_CODE_ILLEGAL','_document','132GEzXXd','clearTimeout','LICENSE_EXPORT_SIZE_EXCEEDED','[CollaborationDataLoaderController]','saveOfflineData','source','unit','getformulaLimitStatusUrl','addObjects','_clearOtherTimers','defineProperty','registerRenderModule','_memberService','assign','SNAPSHOT_HAS_BEEN_REMOVED','_localeService','_heartbeatTimer','ENTITLE_COUPON_USED_UP','key','div','currentSkeleton$','fill','_collabSessionService','TOO_MANY_REQUESTS','complete','SNAPSHOT_INVALID_SNAPSHOT','_handleJoinEvent','ACTIVE_UNIT_EVENT_CHANNEL','reason','_toggleOffline','_cachedData','_syncEditingCollabCursorService','_anchor','transformSelections','ENTITLE_COUPON_EXPIRED','getSheetBySheetId','get','_labelPosition','size','stack','MoveRangeCommandId','_setupBeforeClosingHandler','_entityInit$','_getAnchorBounding','isActive','CURRENT_STATUS_CANNOT_OPERATE','_onRefRangeChange','subunit','type','_uploadLog','getRangePointData','storage','ENTITLE_CHAT_LIMIT_EXCEED','labelPosition','CHANGESET_REVISION_CONFILICT','getFocusedUnit','YUUMI_SUBSCRIPTION_NOT_FOUND','_checkCalculationAvailable','ENTITLE_INVALID_COUPON_CODE','REDEMPTION_CODE_HAS_BEEN_CREATED','NO_OTHER_CLIENTS_EDITING','_drawRectRange','_hideTimer','_transformPreviousActiveRange','ENSURE_SNAPSHOT_EXECUTION','values','includes','newValue','parseInt','collabStatus.synced','_cursorInfo$','UNDEFINED','setAlpha','_imageIoService','collabStatus.offline','_memberID','_uiPartsService','stage','_selfUnitIDs','onPointerLeave$','permission.content','getCellMatrix','OnLineIcon','getActiveSheet','currentColor','\x20at\x20','_transformHistoryAndStateStack','split','substring','_renderManagerService','textRanges','socket$','OTHER_CLIENTS_EDITING','xlink:href','getUnitStatus$','ENTITLE_REPORT_LIMIT_EXCEED','onCommandExecuted','collaboration.offline-data-not-saved','delete','USER_NOT_FOUND','sessionTicket','on-line-icon','startFormulaLimitUrl','getCurrentUnitForType','startRow','USER_NOT_INVITED_CODE','_assignedColors','/universer-api/license/formula/limit/start','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_injector','arc','whenReady','transform','init','setTimeout','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_scheduleClearOtherTimer','/run/','urlChange$','0\x200\x2016\x2016','COMPLETION_FINISHED','_hover','height','YUUMI_UNABLE_LOAD_URL','max','loadOfflineData','endRow','getMergeData','clearInterval','_saveCache','moveTo','removeParam','currentUsage','_docSkeleton','InsertColCommandId','lineno','SYNCED','collaboration.closeRoom','_anchorDot','docStateChange$','Warning','setUndoRedoMutationParamsCache','rgba(255,\x20255,\x20255,\x200.01)','1em','_initWindowErrorListener','setConfig','formula.calculation.waiting','_handleHeartbeatEvent','findNodePositionByCharIndex','OFFLINE','m1Prime','_logService','_docSyncEditingCollabCursorService','subUnitId','mutations','session.will-retry','_initStatusComponent','collabStatus.syncing','getConfig','length','12080180KQVgYt','_updateLocalCursor','_transformUndoRedoStack','evenodd','/universer-api/license/formula/limit/status','collabStatus.notCollab','_removeCollabCursors','_releaseCalculationLimit','_dataLoaderService','send','find','LOGIN_FAILED','MOBILE_VERIFY_CODE_MISMATCH','catch','displayName','getCurrentSelections','currentTheme$','measureText','CONNECTOR_DATA_TOO_LARGE','_docSkeletonManagerService','origin','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','loadUnit','APPLY_REJECT','addHandlerCallback','_config','_hasFormulaInDirtyRanges','_docTransformIMECacheService','PAYMENT_CHANNEL_NOT_SUPPORT','memberID','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_univerInstanceService','_docClipboardService','black','_name','NOT_COLLAB','addEventListener','history','replaceState','registerRefRange','getCurrentRevOfUnit','disposeWithMe','_startSheetCollabCursor','formula.calculation.started','none','[Window\x20Error]:\x20','_transformService','data','YUUMI_URL_COL_OUT_OF_RANGE','0\x200\x2017\x2016','UNIVER_SHEET','params','_status$','_initStatusListener','fillRule','ENTITLE_USE_COUPON_NOT_1ST_TRADE','_ensureSubject','OffLineIcon','dispose','cursorInfo$','getCellPositionByOffset','_entities','_unitOnClients','getVpScrollXYInfoByPosToVp','Loading','red.300','toString','forEach','YUUMI_RATE_OVER_LIMIT','_cursorShapes','_scene','getTypeOfUnitDisposed$','activeSheet$','runOnServer','unsubscribe','onMouseMove','totalFormulasToCalculate','_handleLeaveEvent','map','sheetId','colorChannel1','ENTITLE_INSUFFICIENT_QUOTA','onLocalMutation','http://www.w3.org/2000/svg','removeEventListener','_configService','restore','_getMergeRange','/universer-api/license/formula/limit/done','trim','triggerDblclick','doc.mutation.rich-text-editing','2465897zrmbNB','_instanceService','_shapes','_docStateChangeManagerService','imageSourceType','saveImage','_showGuardMessage','entries','getSkeleton','getTypeOfUnitAdded$','Unknown\x20user','push','addClipboardHook','entityInit$','_lastPointer','REDEMPTION_CODE_NOT_STARTED','save','EMAIL_HAS_BEEN_BOUND','_send','jiqing.500','_getFormulaLimitStatus','url(#$1','uni.network.url-service','_localStorageService','show','LICENSE_IMPORT_SIZE_EXCEEDED','_taskIds','getAncestorScale','endColumn','collabStatus.fetchMiss','add','stringify','_toggleOnline','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','startColumn','_localCacheService','pipe','_collaborationController','functionsExecutedState','_httpService','runId','Error','pushState','_docTransformSelectionsService','_registerRenderDependencies','UNIVER_DOC','onTransformChange$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','white','resize','text','_maxFormulaLimit','contains','permission.title','_context','subscribeEvent','symbol','getMember','roomMembers','REDEMPTION_CODE_INACTIVE','_initResize','saveTaskMap','now','isArray','getCurrent','ticket','_onCursorUpdate','undoState','_revisionService','drawWith','_initDependencies','shift','m2Prime','getUnitId','collab-text-range-','_sheetSkeletonManagerService','_render','on-line-icon_clip0_910_349','UNAUTHENTICATED','use','REDEMPTION_CODE_FULLY_REDEEMED','MUTATION','RemoveRowCommandId','enableFrontendLog','unshift','registerComponent','min','onPointerMove$','MOBILE_HAS_BEEN_BOUND','DATA_SOURCE_TOO_LARGE','override','WECHAT_HAS_BEEN_BOUND','setItem','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_registerDependencies','JOIN_ROOM_FAILED','fillStyle','_id','collaboration-client-ui.config','_hovered','tag','code','_themeService','children','/universer-api/frontend/logs','getRenderById','INVALID_INVITE_CODE','reconnect','NOT_FOUND','ENTITLE_CAN_NOT_BUY_LOWER_OTP','stageInfo','INTERNAL_ERROR','LICENSE_MAX_UNITS_EXCEEDED','_colorAssignService','_onCursorDelete','PERMISSION_DENIED','_currentUsage','eventID','1094814PQMwWF','location','_notificationService','45190cmsubV','row','name','toRgbString','YUUMI_NO_CUBOID_FOR_QUESTION','_roomMembers$','transformIMECache','set','univer-flex\x20univer-items-center','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','editingUnit','getOffsetConfig','getStateCache','1558674EsdfcJ','_scheduleSaving','href','has','1746095PhxzNl','svg','updateOfflineData','hide','InsertRowCommandId','_pollingInterval','18735YkitIf','_doCreateSocket','invokeId','_saveTaskMap','unitId','fillText','addObject','_getScale','RECT','_refreshCollabCursors','random','_disabled','_color','exhaustSavingTask','_initUserListener','asObservable','SUCCESS','focused$','_collabCursorController','getMemberID','InsertRangeMoveDownCommandId','url(#off-line-icon_clip0_910_343)','body','makeDirty','_startDocCollabCursor','UNRECOGNIZED','width','dispose$','getCollabCursors$','debug','wsSessionTicketUrl','_cursor','getDocRanges','_collaborationSessionService','dirtyRanges','post','yellow.400','cursorInfo','font','_updateSubUnitFromURLParams','_colorIndex','EMAIL_VERIFY_CODE_MISMATCH','_online','_textBubble','_createSocketURL','_getSessionTicket','setInterval','getValue','INVALID_ARGUMENT','_scheduleHeartbeat','LICENSE_DISTRO_REJECTED','purple.300','YUUMI_ASYNCIO_CANCELLED','idSuffix','_getSheetObject','REDEMPTION_USER_NOT_ELIGIBLE','ENTITLE_NEED_BILLING_ADDRESS','top','_updateCollabCursors','event$','createInstance','RemoveColCommandId','_initCommandInterceptor','CONFLICT','with','flatMap','lineTo','subscribe','column','path','UPDATE_CURSOR','range','_commandService','_handleEvent','ERROR_AGAIN','27pUyoin','_refRangeService','url(#on-line-icon_clip0_910_349)','ALREADY_EXISTS','bottom','APPLY_REVISION_CONFILICT','executeCommand','onStarting','VIEW_MAIN','#FFF','_session','_updateURLWithCurrentState','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','INVITE_CODE_HAS_BEEN_UES','_drawTextRange','_drawAnchor','_range','PY_RUNTIME_SCRIPT_ERROR','_eventUnsubscribe','_collabCursorState$','YUUMI_AI_RUN_FAILED','status$'];_0x28b2=function(){return _0x2fa7e7;};return _0x28b2();}let Be=class extends _0x505f3c{constructor(_0x56b99b,_0x2786e3,_0xf48b11,_0x48d1e6,_0x35880d,_0x24e287,_0x14c2ea,_0x599681){const _0x123c36=_0x4db2cd;super(),_(this,_0x123c36(0x25f),!0x1),_(this,'_init',!0x1),_(this,_0x123c36(0x33c),new _0x5b52bd(new Map())),_(this,_0x123c36(0x184),this['_cursorInfo$'][_0x123c36(0x244)]()),_(this,_0x123c36(0x223),new _0x5b52bd([])),_(this,'roomMembers$',this['_roomMembers$'][_0x123c36(0x1c9)](_0x1bef04(Fi))),_(this,_0x123c36(0x14a),_0x27071f((_0x97cf32,_0x4e658b)=>{const _0xe7f644=_0x123c36,_0x1b79f7={'eventID':_0x4b0752[_0xe7f644(0x27b)],'data':{'unitID':this['unitID'],'memberID':this[_0xe7f644(0x28a)][_0xe7f644(0x248)](),'selection':_0x50c591(_0x97cf32,_0x4e658b[_0xe7f644(0x27c)])}};this[_0xe7f644(0x28a)]['send'](_0x1b79f7,this['unitID']);},ki)),(this[_0x123c36(0x2d5)]=_0x56b99b,this[_0x123c36(0x28a)]=_0x2786e3,this['_injector']=_0xf48b11,this['_colorAssignService']=_0x48d1e6,this[_0x123c36(0x302)]=_0x35880d,this['_univerInstanceService']=_0x24e287,this[_0x123c36(0x27d)]=_0x14c2ea,this[_0x123c36(0x281)]=_0x599681);}get[_0x4db2cd(0x25a)](){const _0xfab561=_0x4db2cd;return this['_cursorInfo$'][_0xfab561(0x264)]();}get['roomMembers'](){const _0x4ecf01=_0x4db2cd;return this[_0x4ecf01(0x223)][_0x4ecf01(0x264)]();}['dispose'](){const _0x40f305=_0x4db2cd;super[_0x40f305(0x183)](),this[_0x40f305(0x33c)][_0x40f305(0x2dc)](new Map()),this[_0x40f305(0x33c)][_0x40f305(0x30e)](),this['_roomMembers$'][_0x40f305(0x2dc)]([]),this['_roomMembers$'][_0x40f305(0x30e)]();}['init'](){const _0xbf0e20=_0x4db2cd;this[_0xbf0e20(0x2c0)]||(this[_0xbf0e20(0x2c0)]=!0x0,this[_0xbf0e20(0x28a)]['sessionStatus$']['pipe'](_0x3c083f(this[_0xbf0e20(0x250)]))['subscribe'](_0x4baea6=>{const _0x34ad1c=_0xbf0e20;_0x4baea6===_0x51cbc0[_0x34ad1c(0x29d)]?this[_0x34ad1c(0x1c5)]():this[_0x34ad1c(0x313)]();}),this['_session']['event$']['pipe'](_0x3c083f(this[_0xbf0e20(0x250)]))[_0xbf0e20(0x278)](_0x3ed893=>{const _0x43f73e=_0xbf0e20,_0x51850a=_0x3ed893[_0x43f73e(0x21a)];_0x51850a===_0x4b0752[_0x43f73e(0x27b)]&&this['_onCursorUpdate'](_0x3ed893),_0x51850a===_0x4b0752[_0x43f73e(0x2a5)]&&this[_0x43f73e(0x217)](_0x3ed893);}),this[_0xbf0e20(0x324)](),this[_0xbf0e20(0x172)](this[_0xbf0e20(0x27d)][_0xbf0e20(0x356)](_0x591ed7=>{const _0x13167a=_0xbf0e20;if(this[_0x13167a(0x25f)]&&_0x591ed7['id']===_0x2ba205['id']&&_0x591ed7[_0x13167a(0x17c)][_0x13167a(0x239)]===this[_0x13167a(0x2d5)]){const _0x5a68ff=_0x591ed7[_0x13167a(0x17c)];this['_updateLocalCursor'](_0x5a68ff[_0x13167a(0x142)],_0x5a68ff['selections'][0x0]);}})));}[_0x4db2cd(0x1e7)](_0x2fde0f){const _0x2affac=_0x4db2cd;var _0x312016,_0x87b7cf;const {memberID:_0x2a67a4,selection:_0x135015}=_0x2fde0f[_0x2affac(0x178)],{sheetName:_0x23c19a,range:_0x3d2690}=_0x51ae56(_0x135015),_0x53cb8d={'name':(_0x87b7cf=(_0x312016=this[_0x2affac(0x302)]['getMember'](this[_0x2affac(0x2d5)],_0x2a67a4))==null?void 0x0:_0x312016[_0x2affac(0x220)])!=null?_0x87b7cf:_0x2affac(0x1af),'range':this[_0x2affac(0x1a0)](_0x23c19a,_0x3d2690),'sheetID':_0x23c19a,'color':this[_0x2affac(0x216)][_0x2affac(0x2e7)](_0x2a67a4),'selection':_0x135015},_0x38926b=this[_0x2affac(0x25a)];_0x38926b[_0x2affac(0x225)](_0x2a67a4,_0x53cb8d),this[_0x2affac(0x33c)][_0x2affac(0x2dc)](_0x38926b);}[_0x4db2cd(0x217)](_0x3332ea){const _0x13a4f0=_0x4db2cd,{memberID:_0x2ba457}=_0x3332ea['data'],_0x2e521d=this[_0x13a4f0(0x25a)];_0x2e521d[_0x13a4f0(0x358)](_0x2ba457),this['_cursorInfo$'][_0x13a4f0(0x2dc)](_0x2e521d);}['_getMergeRange'](_0x1abf8b,_0x356095){const _0xcf681=_0x4db2cd;var _0x1dfb8d,_0x39b172;const _0x1055f8=(_0x39b172=(_0x1dfb8d=this['_univerInstanceService'][_0xcf681(0x2ae)](this[_0xcf681(0x2d5)]))==null?void 0x0:_0x1dfb8d[_0xcf681(0x319)](_0x1abf8b))==null?void 0x0:_0x39b172[_0xcf681(0x375)]();return(_0x1055f8==null?void 0x0:_0x1055f8[_0xcf681(0x153)](_0x296d4d=>_0x51056e[_0xcf681(0x1d9)](_0x296d4d,_0x356095)))||_0x356095;}[_0x4db2cd(0x324)](){const _0x5db534=_0x4db2cd,_0xad285e=new _0x497f38(),_0x26e3e4=Hi(),_0xb9e02d=()=>{const _0x2377a8=_0x24e1;_0xad285e['dispose']();const _0x34d043=(_0x335c0c,_0x204c8e,_0xcc2ec8,_0x4af77f)=>{const _0x480da5=_0x24e1;let _0xffeb1c=[];switch(_0x335c0c['id']){case _0x5b8e14[_0x480da5(0x2f2)]:{_0xffeb1c=_0x1402b9(_0x335c0c,_0x4af77f);break;}case _0x5b8e14['DeleteRangeMoveUpCommandId']:{_0xffeb1c=_0x5d270d(_0x335c0c,_0x4af77f);break;}case _0x5b8e14[_0x480da5(0x37c)]:{_0xffeb1c=_0x5b3e6d(_0x335c0c,_0x4af77f);break;}case _0x5b8e14[_0x480da5(0x249)]:{_0xffeb1c=_0x1b8822(_0x335c0c,_0x4af77f);break;}case _0x5b8e14['InsertRangeMoveRightCommandId']:{_0xffeb1c=_0x6ce994(_0x335c0c,_0x4af77f);break;}case _0x5b8e14[_0x480da5(0x233)]:{_0xffeb1c=_0x40d056(_0x335c0c,_0x4af77f);break;}case _0x5b8e14[_0x480da5(0x31e)]:{_0xffeb1c=_0xcfe1b6(_0x335c0c,_0x4af77f);break;}case _0x5b8e14[_0x480da5(0x272)]:{_0xffeb1c=_0xaaaa60(_0x335c0c,_0x4af77f);break;}case _0x5b8e14[_0x480da5(0x1f7)]:{_0xffeb1c=_0x27495b(_0x335c0c,_0x4af77f);break;}}const _0x5c99a4=_0x299c0a(_0xffeb1c,_0x4af77f),_0x8fd037=this[_0x480da5(0x25a)]['get'](_0x204c8e);if(_0x8fd037&&_0x5c99a4){const _0x475e12={..._0x8fd037,'range':_0x5c99a4};this['cursorInfo'][_0x480da5(0x225)](_0x204c8e,_0x475e12),_0x26e3e4(()=>{const _0x1829d8=_0x480da5,_0x4947f0=this[_0x1829d8(0x281)]['registerRefRange'](_0x5c99a4,_0x4c92b9=>(_0x4947f0['dispose'](),_0x34d043(_0x4c92b9,_0x204c8e,_0xcc2ec8,_0x5c99a4)));_0xad285e[_0x1829d8(0x1c3)](_0x4947f0);});}return{'redos':[],'undos':[]};};this[_0x2377a8(0x25a)][_0x2377a8(0x18c)]((_0x56b335,_0x2f7f73)=>{const _0x32a90d=_0x2377a8,{range:_0x1b9b6b,sheetID:_0x4fdc2a}=_0x56b335,_0x2522b6=this[_0x32a90d(0x281)][_0x32a90d(0x170)](_0x1b9b6b,_0x4899e9=>(_0x2522b6[_0x32a90d(0x183)](),_0x34d043(_0x4899e9,_0x2f7f73,_0x4fdc2a,_0x1b9b6b)));_0xad285e[_0x32a90d(0x1c3)](_0x2522b6);});};this['disposeWithMe'](_0x53db76(this['_cursorInfo$'][_0x5db534(0x278)](()=>{_0xb9e02d();})));}[_0x4db2cd(0x1c5)](){const _0x1903f3=_0x4db2cd;var _0x1a0ebe,_0x3bd81f;if(this['_online']=!0x0,((_0x1a0ebe=this[_0x1903f3(0x168)][_0x1903f3(0x32d)]())==null?void 0x0:_0x1a0ebe[_0x1903f3(0x1ee)]())!==this[_0x1903f3(0x2d5)])return;const _0x29d506=(_0x3bd81f=this[_0x1903f3(0x363)][_0x1903f3(0x31a)](_0x5de39c)[_0x1903f3(0x158)]())==null?void 0x0:_0x3bd81f[0x0],_0x1fb2e9=this[_0x1903f3(0x168)][_0x1903f3(0x35d)](_0x29eb03[_0x1903f3(0x17b)])[_0x1903f3(0x349)]();_0x29d506&&_0x1fb2e9&&this['_updateLocalCursor'](_0x1fb2e9['getSheetId'](),_0x29d506);}[_0x4db2cd(0x313)](){this['_online']=!0x1;}};Be=Bi([B(0x2,_0x1769b1(_0x174327)),B(0x3,_0x1769b1(Ke)),B(0x4,_0x1769b1(_0x271b80)),B(0x5,_0x26672b),B(0x6,_0x57c9c6),B(0x7,_0x1769b1(_0x3415de))],Be);var Yi=Object[_0x4db2cd(0x2ab)],Wi=(_0x2738a3,_0x1573f2,_0x2e565c,_0xdbf9c9)=>{for(var _0x472249=_0xdbf9c9>0x1?void 0x0:_0xdbf9c9?Yi(_0x1573f2,_0x2e565c):_0x1573f2,_0xbcbac6=_0x2738a3['length']-0x1,_0xe982a1;_0xbcbac6>=0x0;_0xbcbac6--)(_0xe982a1=_0x2738a3[_0xbcbac6])&&(_0x472249=_0xe982a1(_0x472249)||_0x472249);return _0x472249;},Ce=(_0xcbb0a5,_0x524112)=>(_0x2e7e25,_0x3e4be9)=>_0x524112(_0x2e7e25,_0x3e4be9,_0xcbb0a5);let H=class extends _0x505f3c{constructor(_0x22aec3,_0x28e405,_0x127cc7){const _0x288cd4=_0x4db2cd;super(),_(this,'_entities',new Map()),_(this,_0x288cd4(0x320),new _0x2d8eb9()),(this[_0x288cd4(0x168)]=_0x22aec3,this[_0x288cd4(0x363)]=_0x28e405,this[_0x288cd4(0x30c)]=_0x127cc7,this[_0x288cd4(0x2c0)]());}[_0x4db2cd(0x183)](){const _0x20add8=_0x4db2cd;super[_0x20add8(0x183)](),this[_0x20add8(0x320)]['complete'](),this[_0x20add8(0x186)][_0x20add8(0x18c)](_0x2e1155=>_0x2e1155[_0x20add8(0x183)]());}[_0x4db2cd(0x251)](_0x4c2107){const _0x10d924=_0x4db2cd;return this[_0x10d924(0x186)]['has'](_0x4c2107)?this[_0x10d924(0x186)][_0x10d924(0x31a)](_0x4c2107)['cursorInfo$']:this[_0x10d924(0x320)][_0x10d924(0x1c9)](_0xd4d104(_0x31ec67=>_0x31ec67[_0x10d924(0x2d5)]===_0x4c2107),_0x2ea7f3(_0xefaf22=>_0xefaf22[_0x10d924(0x184)]));}[_0x4db2cd(0x2c0)](){const _0x25c192=_0x4db2cd;this['_univerInstanceService'][_0x25c192(0x1ae)](_0x29eb03[_0x25c192(0x17b)])[_0x25c192(0x1c9)](_0x3c083f(this[_0x25c192(0x250)]))[_0x25c192(0x278)](async _0x47e76f=>{const _0x1d01d7=_0x25c192,_0x939430=_0x47e76f[_0x1d01d7(0x1ee)](),_0x4cc3e3=await this[_0x1d01d7(0x173)](_0x939430);this[_0x1d01d7(0x320)][_0x1d01d7(0x2dc)](_0x4cc3e3),this[_0x1d01d7(0x186)][_0x1d01d7(0x225)](_0x939430,_0x4cc3e3);}),this[_0x25c192(0x168)][_0x25c192(0x1ae)](_0x29eb03[_0x25c192(0x1d2)])[_0x25c192(0x1c9)](_0x3c083f(this[_0x25c192(0x250)]))[_0x25c192(0x1c9)](_0xd4d104(_0x255aab=>!_0x255aab[_0x25c192(0x1ee)]()[_0x25c192(0x2a2)]('__')))[_0x25c192(0x278)](async _0x1c19b4=>{const _0x4376cf=_0x25c192,_0x22f70b=_0x1c19b4[_0x4376cf(0x1ee)](),_0x433279=await this[_0x4376cf(0x24d)](_0x22f70b);this['_entityInit$'][_0x4376cf(0x2dc)](_0x433279),this['_entities'][_0x4376cf(0x225)](_0x22f70b,_0x433279);}),_0x14cb3a(this['_univerInstanceService'][_0x25c192(0x190)](_0x29eb03['UNIVER_DOC']),this[_0x25c192(0x168)][_0x25c192(0x190)](_0x29eb03['UNIVER_SHEET']))[_0x25c192(0x1c9)](_0x3c083f(this['dispose$']))[_0x25c192(0x278)](_0x292a81=>{const _0x2d2b9e=_0x25c192,_0x21b022=_0x292a81[_0x2d2b9e(0x1ee)](),_0x4bb179=this[_0x2d2b9e(0x186)][_0x2d2b9e(0x31a)](_0x21b022);_0x4bb179&&(_0x4bb179['dispose'](),this[_0x2d2b9e(0x186)][_0x2d2b9e(0x358)](_0x21b022));});}async[_0x4db2cd(0x173)](_0x1f1b89){const _0x228988=_0x4db2cd,_0xab113f=await this[_0x228988(0x30c)]['requireSession'](_0x1f1b89),_0x2dabc7=this['_injector'][_0x228988(0x271)](Be,_0x1f1b89,_0xab113f);return _0x2dabc7[_0x228988(0x367)](),_0x2dabc7;}async[_0x4db2cd(0x24d)](_0x3e977a){const _0x190dea=await this['_collabSessionService']['requireSession'](_0x3e977a),_0x544d7e=this['_injector']['createInstance'](xe,_0x3e977a,_0x190dea);return _0x544d7e['init'](),_0x544d7e;}};H=Wi([Ce(0x0,_0x26672b),Ce(0x1,_0x1769b1(_0x174327)),Ce(0x2,_0x1769b1(_0x1e0b19))],H);const Q=0x14,at=0xc8,Re=0x4,Vi=0x5;function ji(_0x46ed99,_0xe5a2a7){const _0x745716=_0x4db2cd;let {radius:_0xbc038c,width:_0x4e06d2,height:_0x13f9b2}=_0xe5a2a7;_0xbc038c=_0xbc038c!=null?_0xbc038c:0x0,_0x4e06d2=_0x4e06d2!=null?_0x4e06d2:0x1e,_0x13f9b2=_0x13f9b2!=null?_0x13f9b2:0x1e;let _0x3e3887=0x0,_0x3129ea=0x0,_0x2ce212=0x0;_0x3e3887=_0x3129ea=_0x2ce212=Math[_0x745716(0x1fb)](_0xbc038c,_0x4e06d2/0x2,_0x13f9b2/0x2),_0x46ed99[_0x745716(0x2bd)](),_0x46ed99[_0x745716(0x378)](_0x3e3887,0x0),_0x46ed99[_0x745716(0x277)](_0x4e06d2-_0x3129ea,0x0),_0x46ed99[_0x745716(0x364)](_0x4e06d2-_0x3129ea,_0x3129ea,_0x3129ea,Math['PI']*0x3/0x2,0x0,!0x1),_0x46ed99['lineTo'](_0x4e06d2,_0x13f9b2-_0x2ce212),_0x46ed99[_0x745716(0x364)](_0x4e06d2-_0x2ce212,_0x13f9b2-_0x2ce212,_0x2ce212,0x0,Math['PI']/0x2,!0x1),_0x46ed99['lineTo'](0x0,_0x13f9b2),_0x46ed99['lineTo'](0x0,_0x3e3887),_0x46ed99[_0x745716(0x364)](_0x3e3887,_0x3e3887,_0x3e3887,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x46ed99[_0x745716(0x2f3)](),_0xe5a2a7[_0x745716(0x30b)]&&(_0x46ed99[_0x745716(0x1b5)](),_0x46ed99[_0x745716(0x205)]=_0xe5a2a7['fill'],_0xe5a2a7[_0x745716(0x17f)]==='evenodd'?_0x46ed99[_0x745716(0x30b)](_0x745716(0x14c)):_0x46ed99[_0x745716(0x30b)](),_0x46ed99['restore']());}class ve extends _0x670fe9{constructor(_0x3b227c,_0x3ca064){const _0x3a0832=_0x4db2cd;super(_0x3b227c,_0x3ca064),_(this,_0x3a0832(0x2ef)),_(this,_0x3a0832(0x1d7)),(this[_0x3a0832(0x2ef)]=_0x3ca064==null?void 0x0:_0x3ca064[_0x3a0832(0x2ef)],this[_0x3a0832(0x1d7)]=_0x3ca064==null?void 0x0:_0x3ca064['text']);}static[_0x4db2cd(0x1ea)](_0x1b4519,_0x116fb4){const _0x33566e=_0x4db2cd,{text:_0x1ff891,color:_0x8f6d02}=_0x116fb4;_0x1b4519[_0x33566e(0x1b5)](),_0x1b4519[_0x33566e(0x25b)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x3a0220=_0x1b4519[_0x33566e(0x15a)](_0x1ff891)[_0x33566e(0x24f)],_0x19f963=Math[_0x33566e(0x1fb)](_0x3a0220+0x2*Re,at);ji(_0x1b4519,{'height':Q,'radius':0x4,'width':_0x19f963,'fill':_0x8f6d02}),_0x1b4519[_0x33566e(0x205)]=_0x33566e(0x289);const _0x5324d7=Re,_0x4de220=Q-Vi,_0x229ae0=at-0x2*Re;if(_0x3a0220>_0x229ae0){let _0x140ec2='',_0x42d656=0x0;for(const _0x4ac1ed of _0x1ff891){const _0x275c36=_0x1b4519[_0x33566e(0x15a)](_0x4ac1ed)[_0x33566e(0x24f)];if(_0x42d656+_0x275c36<=_0x229ae0-_0x1b4519[_0x33566e(0x15a)](_0x33566e(0x2c7))[_0x33566e(0x24f)])_0x140ec2+=_0x4ac1ed,_0x42d656+=_0x275c36;else{_0x140ec2+='...';break;}}_0x1b4519[_0x33566e(0x23a)](_0x140ec2,_0x5324d7,_0x4de220);}else _0x1b4519[_0x33566e(0x23a)](_0x1ff891,_0x5324d7,_0x4de220);_0x1b4519[_0x33566e(0x19f)]();}[_0x4db2cd(0x2d4)](_0x177932){const _0x41d181=_0x4db2cd;ve[_0x41d181(0x1ea)](_0x177932,this);}}const De='collab-text-anchor-',Xi=_0x4db2cd(0x1ef),Gi='collab-rect-range-',z=0x6,Ki=1.5,Ne=0x4,zi=1.5,Ji=_0x4db2cd(0x384);class ct{constructor(_0x158ed0,_0x274664,_0x24edf8,_0x5895fa){const _0x227453=_0x4db2cd;_(this,_0x227453(0x1a7),[]),_(this,'_anchor',null),_(this,_0x227453(0x260),null),_(this,_0x227453(0x380),null),_(this,'_hideTimer',null),_(this,_0x227453(0x292),null),(this['_cursor']=_0x158ed0,this[_0x227453(0x18f)]=_0x274664,this[_0x227453(0x37b)]=_0x24edf8,this[_0x227453(0x2f5)]=_0x5895fa,this[_0x227453(0x1f1)]());}set[_0x4db2cd(0x36f)](_0xff172d){const _0x2961e7=_0x4db2cd;_0xff172d?(this[_0x2961e7(0x380)]&&this[_0x2961e7(0x380)][_0x2961e7(0x232)](),this[_0x2961e7(0x260)]&&this[_0x2961e7(0x260)][_0x2961e7(0x1bd)]()):(this[_0x2961e7(0x380)]&&this['_anchorDot'][_0x2961e7(0x1bd)](),this['_textBubble']&&this[_0x2961e7(0x260)]['hide']());}[_0x4db2cd(0x183)](){const _0x1f271d=_0x4db2cd;for(const _0x397189 of this[_0x1f271d(0x1a7)])_0x397189['dispose']();this[_0x1f271d(0x260)]&&this[_0x1f271d(0x260)][_0x1f271d(0x183)](),this[_0x1f271d(0x380)]&&this['_anchorDot'][_0x1f271d(0x183)](),this[_0x1f271d(0x316)]&&this['_anchor'][_0x1f271d(0x183)](),this[_0x1f271d(0x292)]&&this['_eventUnsubscribe']();}[_0x4db2cd(0x1f1)](){const _0xa0f6c0=_0x4db2cd;var _0x56f52a;const {_docSkeleton:_0x57a2de,_document:_0x56ef2e}=this,{color:_0x5d45de,name:_0x55021e,ranges:_0xb26c8a}=this[_0xa0f6c0(0x254)],_0x7d43f8=_0x56ef2e[_0xa0f6c0(0x229)](),{docsLeft:_0x57a018,docsTop:_0x55136c}=_0x7d43f8,_0x2824f3=new _0x2b4b61(_0x7d43f8,_0x57a2de);for(const {startOffset:_0x44cd08,endOffset:_0x335de6,rangeType:_0x3ed848,segmentId:_0x2eefd6,segmentPage:_0xf64d72,collapsed:_0x11daf8,isActive:_0x4ad254}of _0xb26c8a){const _0x3c12d7=_0x57a2de['findNodePositionByCharIndex'](_0x44cd08,!0x0,_0x2eefd6,_0xf64d72);let _0x4de962=_0x57a2de[_0xa0f6c0(0x38a)](_0x335de6,!0x0,_0x2eefd6,_0xf64d72);if(_0x4de962==null&&(_0x4de962=_0x57a2de['findNodePositionByCharIndex'](_0x335de6-0x1,!0x1,_0x2eefd6,_0xf64d72)),_0x4ad254){const {contentBoxPointGroup:_0x4be559}=_0x2824f3[_0xa0f6c0(0x328)](_0x4de962,_0x4de962);if(_0x4be559[_0xa0f6c0(0x148)]===0x0)continue;this[_0xa0f6c0(0x28f)](_0x5d45de,_0x4be559,_0x57a018,_0x55136c,_0x55021e),this[_0xa0f6c0(0x292)]=this['_handleHover']();}if(_0x3c12d7&&_0x4de962){if(_0x3ed848===_0xd2e4f7[_0xa0f6c0(0x23d)]){const _0x2bd900=new _0x4389c5(_0x7d43f8,_0x57a2de),{pointGroup:_0x1b1109}=(_0x56f52a=_0x2bd900[_0xa0f6c0(0x328)](_0x3c12d7,_0x4de962))!=null?_0x56f52a:{};if(_0x1b1109==null||_0x1b1109[_0xa0f6c0(0x148)]===0x0)continue;this[_0xa0f6c0(0x333)](_0x5d45de,_0x1b1109,_0x57a018,_0x55136c);}else{if(!_0x11daf8){const {borderBoxPointGroup:_0x1f0fd6}=_0x2824f3[_0xa0f6c0(0x328)](_0x3c12d7,_0x4de962);if(_0x1f0fd6['length']===0x0)continue;this['_drawTextRange'](_0x5d45de,_0x1f0fd6,_0x57a018,_0x55136c);}}}}}[_0x4db2cd(0x28f)](_0x5008b0,_0x2fb969,_0x5eb4e1,_0x433294,_0x430c35){const _0x36d630=_0x4db2cd,_0x1a0d67=this['_getAnchorBounding'](_0x2fb969),{left:_0x321069,top:_0x39d0f4,height:_0x16f337}=_0x1a0d67,_0x259d8b=this[_0x36d630(0x23c)](),_0x58bae4=zi/_0x259d8b,_0x30a0eb=new _0x1b4bc0(De+_0x23023b(z),{'left':_0x321069+_0x5eb4e1-_0x58bae4,'top':_0x39d0f4+_0x433294,'height':_0x16f337,'width':Ki,'fill':_0x5008b0||_0x7b9f07(_0x5cc002[_0x36d630(0x16a)],0x0),'strokeWidth':_0x58bae4,'stroke':Ji,'evented':!0x0});this[_0x36d630(0x316)]=_0x30a0eb,this['_scene'][_0x36d630(0x23b)](_0x30a0eb,_0x55cd92);const _0x347571=new _0x1b4bc0(De+_0x23023b(z),{'left':_0x321069+_0x5eb4e1-_0x58bae4,'top':_0x39d0f4+_0x433294-Ne/0x2,'height':Ne,'width':Ne,'fill':_0x5008b0||_0x7b9f07(_0x5cc002[_0x36d630(0x16a)],0x0),'strokeWidth':0x0,'stroke':_0x5008b0||_0x7b9f07(_0x5cc002[_0x36d630(0x16a)],0x0),'evented':!0x1});this[_0x36d630(0x380)]=_0x347571,this[_0x36d630(0x18f)][_0x36d630(0x23b)](_0x347571,_0x55cd92);const _0x429d41=new ve(De+_0x23023b(z),{'left':_0x321069+_0x5eb4e1-_0x58bae4,'top':_0x39d0f4+_0x433294-Q,'text':_0x430c35,'color':_0x5008b0});this['_textBubble']=_0x429d41,this[_0x36d630(0x18f)][_0x36d630(0x23b)](_0x429d41,_0x55cd92),this[_0x36d630(0x36f)]=!0x1;}[_0x4db2cd(0x299)](){const _0x36fb0a=_0x4db2cd,_0x4f5d35=this[_0x36fb0a(0x316)]['onPointerEnter$'][_0x36fb0a(0x1dc)](()=>{const _0x1448fa=_0x36fb0a;this[_0x1448fa(0x36f)]=!0x0;}),_0x2c84a1=this[_0x36fb0a(0x316)][_0x36fb0a(0x345)][_0x36fb0a(0x1dc)](()=>{const _0x29de1b=_0x36fb0a;this[_0x29de1b(0x334)]&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x4db7a2=_0x29de1b;this[_0x4db7a2(0x36f)]=!0x1;},0x7d0);});return()=>{const _0x5a7c00=_0x36fb0a;_0x4f5d35[_0x5a7c00(0x193)](),_0x2c84a1[_0x5a7c00(0x193)]();};}[_0x4db2cd(0x28e)](_0x158fc9,_0x472490,_0x438e69,_0x1f357c){const _0x4de6bd=_0x4db2cd,_0x1889f4=new _0x55375a(_0x158fc9)[_0x4de6bd(0x33e)](0.2)[_0x4de6bd(0x221)](),_0x5a4c2e=new _0x440b30(Xi+_0x23023b(z),{'pointsGroup':_0x472490,'fill':_0x1889f4||_0x7b9f07(_0x5cc002[_0x4de6bd(0x16a)],0.2),'left':_0x438e69,'top':_0x1f357c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4de6bd(0x1a7)][_0x4de6bd(0x1b0)](_0x5a4c2e),this[_0x4de6bd(0x18f)][_0x4de6bd(0x23b)](_0x5a4c2e,_0x55cd92);}[_0x4db2cd(0x333)](_0x5c9cc5,_0x22b21f,_0x2fa62b,_0x3ee70b){const _0x16d9fb=_0x4db2cd,_0x773248=new _0x55375a(_0x5c9cc5)[_0x16d9fb(0x33e)](0.2)[_0x16d9fb(0x221)](),_0x1b58dc=new _0x440b30(Gi+_0x23023b(z),{'pointsGroup':_0x22b21f,'fill':_0x773248||_0x7b9f07(_0x5cc002['black'],0.2),'left':_0x2fa62b,'top':_0x3ee70b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x16d9fb(0x1a7)][_0x16d9fb(0x1b0)](_0x1b58dc),this['_scene'][_0x16d9fb(0x23b)](_0x1b58dc,_0x55cd92);}[_0x4db2cd(0x321)](_0x34c926){const _0x2be7c0=_0x34c926[0x0],_0x267e72=_0x2be7c0[0x0],_0x395172=_0x2be7c0[0x2],{x:_0x172182,y:_0x386a66}=_0x267e72,{x:_0x165d5d,y:_0x17dded}=_0x395172;return{'left':_0x172182,'top':_0x386a66,'width':_0x165d5d-_0x172182,'height':_0x17dded-_0x386a66};}[_0x4db2cd(0x23c)](){const _0x37089a=_0x4db2cd,{scaleX:_0x9ff034,scaleY:_0x3ca41a}=this[_0x37089a(0x18f)][_0x37089a(0x1c0)]();return Math[_0x37089a(0x372)](_0x9ff034,_0x3ca41a);}}var Zi=Object[_0x4db2cd(0x2ab)],Qi=(_0x42e424,_0x5b4443,_0x58d12f,_0x3829c9)=>{const _0x1e2c81=_0x4db2cd;for(var _0x295ad8=_0x3829c9>0x1?void 0x0:_0x3829c9?Zi(_0x5b4443,_0x58d12f):_0x5b4443,_0x54edd1=_0x42e424[_0x1e2c81(0x148)]-0x1,_0x53504b;_0x54edd1>=0x0;_0x54edd1--)(_0x53504b=_0x42e424[_0x54edd1])&&(_0x295ad8=_0x53504b(_0x295ad8)||_0x295ad8);return _0x295ad8;},ie=(_0x5203e9,_0x245f75)=>(_0x29f86b,_0x587414)=>_0x245f75(_0x29f86b,_0x587414,_0x5203e9);let Fe=class extends _0x505f3c{constructor(_0x4b76b6,_0x5541be,_0x4dbe84,_0x37f8db,_0x512e81){const _0x180c89=_0x4db2cd;super(),_(this,_0x180c89(0x18e),[]),_(this,'_cursors',[]),(this[_0x180c89(0x1db)]=_0x4b76b6,this[_0x180c89(0x15c)]=_0x5541be,this[_0x180c89(0x247)]=_0x4dbe84,this[_0x180c89(0x27d)]=_0x37f8db,this[_0x180c89(0x20b)]=_0x512e81,this['_init']());}['_init'](){const _0x53bc56=_0x4db2cd,_0x1836ab=this[_0x53bc56(0x1db)]['unitId'],_0x54126b=this['_docSkeletonManagerService'];this['disposeWithMe'](_0x3238c1([this[_0x53bc56(0x247)][_0x53bc56(0x251)](_0x1836ab),this[_0x53bc56(0x20b)]['currentTheme$']])[_0x53bc56(0x1c9)](_0x392195(([_0x5c5794,_0x4f4d8b])=>({'skeleton':_0x54126b['getSkeleton'](),'cursors':[..._0x5c5794[_0x53bc56(0x337)]()][_0x53bc56(0x276)](_0x3628fe=>({..._0x3628fe,'color':this[_0x53bc56(0x20b)][_0x53bc56(0x2eb)](_0x3628fe[_0x53bc56(0x2ef)])}))})))[_0x53bc56(0x278)](_0x56c453=>{const _0x4a8036=_0x53bc56;if(this[_0x4a8036(0x14f)](),_0x56c453){const {skeleton:_0x30f280,cursors:_0x3337ff}=_0x56c453;this[_0x4a8036(0x26f)](_0x30f280,_0x3337ff);}})),this['_initResize'](),this[_0x53bc56(0x2f0)]();}[_0x4db2cd(0x26f)](_0x5df4e8,_0x206582){const _0x22c48e=_0x4db2cd,{scene:_0x177340,mainComponent:_0x306585}=this[_0x22c48e(0x1db)],_0x1f8ea7=_0x206582[_0x22c48e(0x197)](_0x3cf2e6=>new ct(_0x3cf2e6,_0x177340,_0x5df4e8,_0x306585));this[_0x22c48e(0x18e)]=_0x1f8ea7,this[_0x22c48e(0x2e5)]=_0x206582;}['_refreshCollabCursors'](){const _0x50c224=_0x4db2cd;this[_0x50c224(0x14f)]();const {scene:_0x3fc72b,mainComponent:_0x302c2e}=this[_0x50c224(0x1db)],_0x5667c3=this[_0x50c224(0x15c)][_0x50c224(0x1ad)](),_0x3b614c=this['_cursors'][_0x50c224(0x197)](_0x10c78f=>new ct(_0x10c78f,_0x3fc72b,_0x5667c3,_0x302c2e));this[_0x50c224(0x18e)]=_0x3b614c;}[_0x4db2cd(0x14f)](){const _0x425e84=_0x4db2cd;this[_0x425e84(0x18e)]['forEach'](_0x5b3757=>_0x5b3757[_0x425e84(0x183)]()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x3f7099=_0x4db2cd,_0x59b959=[_0x43b4fb['id']];this[_0x3f7099(0x172)](this['_commandService'][_0x3f7099(0x356)](_0x414e9=>{const _0x20cf8b=_0x3f7099;_0x59b959['includes'](_0x414e9['id'])&&_0x414e9[_0x20cf8b(0x17c)][_0x20cf8b(0x239)]===this['_context']['unitId']&&this[_0x20cf8b(0x23e)]();}));}[_0x4db2cd(0x1e1)](){const _0x2973c4=_0x4db2cd;this[_0x2973c4(0x172)](_0x1d6621(this[_0x2973c4(0x1db)]['engine'][_0x2973c4(0x1d3)])[_0x2973c4(0x1c9)](_0x2699c8(_0x50bbae=>_0x50bbae[_0x2973c4(0x326)]===_0x45ce46[_0x2973c4(0x1d6)]),_0x239387(0x10))[_0x2973c4(0x278)](()=>{const _0x1e83e5=_0x2973c4;this[_0x1e83e5(0x23e)]();}));}};Fe=Qi([ie(0x1,_0x1769b1(_0x4a66d6)),ie(0x2,_0x1769b1(H)),ie(0x3,_0x57c9c6),ie(0x4,_0x1769b1(_0x3235b5))],Fe);const qi=0x1,en=1.5;class tn extends _0x670fe9{constructor(_0x4a055f,_0x306df8){const _0x344b2d=_0x4db2cd;super(_0x4a055f,_0x306df8),_(this,_0x344b2d(0x241)),_(this,'_hovered',!0x1),_(this,'_range'),_(this,_0x344b2d(0x16b),''),_(this,_0x344b2d(0x31b),_0x344b2d(0x26e)),_(this,'_backgroundColor'),(_0x306df8&&this[_0x344b2d(0x2cf)](_0x306df8),this['onPointerEnter$'][_0x344b2d(0x1dc)](()=>this[_0x344b2d(0x2cf)]({'hovered':!0x0})),this[_0x344b2d(0x345)][_0x344b2d(0x1dc)](()=>this[_0x344b2d(0x2cf)]({'hovered':!0x1})));}[_0x4db2cd(0x2cf)](_0x387a55){const _0x5b896e=_0x4db2cd;var _0x4a0a0d,_0x245a6d,_0x3d626b,_0x1fece1,_0x4fa8a1,_0x1b2943;this[_0x5b896e(0x241)]=(_0x4a0a0d=_0x387a55['color'])!=null?_0x4a0a0d:this['_color'],this[_0x5b896e(0x208)]=(_0x245a6d=_0x387a55['hovered'])!=null?_0x245a6d:this[_0x5b896e(0x208)],this[_0x5b896e(0x290)]=(_0x3d626b=_0x387a55['range'])!=null?_0x3d626b:this['_range'],this[_0x5b896e(0x16b)]=(_0x1fece1=_0x387a55[_0x5b896e(0x220)])!=null?_0x1fece1:this['_name'],this[_0x5b896e(0x31b)]=(_0x4fa8a1=_0x387a55[_0x5b896e(0x32b)])!=null?_0x4fa8a1:this[_0x5b896e(0x31b)],this[_0x5b896e(0x2b5)]=(_0x1b2943=_0x387a55['backgroundColor'])!=null?_0x1b2943:this['_backgroundColor'],this[_0x5b896e(0x29f)]({'width':_0x387a55[_0x5b896e(0x24f)],'height':_0x387a55[_0x5b896e(0x370)]});}[_0x4db2cd(0x194)](_0x6153d){const _0x5b0ff1=_0x4db2cd,{row:_0x293d76,column:_0x3ac75c}=_0x6153d;if(_0x293d76>=this['_range'][_0x5b0ff1(0x35e)]&&_0x293d76<=this['_range'][_0x5b0ff1(0x374)]&&_0x3ac75c>=this[_0x5b0ff1(0x290)][_0x5b0ff1(0x1c7)]&&_0x3ac75c<=this[_0x5b0ff1(0x290)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x4db2cd(0x1a3)](_0x4c90d9){return!0x1;}[_0x4db2cd(0x2d4)](_0xd07002){const _0x5b28fa=_0x4db2cd;_0x1b4bc0[_0x5b28fa(0x1ea)](_0xd07002,{'width':this[_0x5b28fa(0x24f)],'height':this[_0x5b28fa(0x370)],'strokeWidth':en,'stroke':this[_0x5b28fa(0x241)],'evented':!0x1,'fill':this[_0x5b28fa(0x2b5)]}),this['_hovered']&&(_0xd07002[_0x5b28fa(0x1b5)](),_0xd07002[_0x5b28fa(0x366)](0x1,0x0,0x0,0x1,this[_0x5b28fa(0x24f)],this[_0x5b28fa(0x31b)]===_0x5b28fa(0x284)?0x0:-Q),ve[_0x5b28fa(0x1ea)](_0xd07002,{'text':this[_0x5b28fa(0x16b)],'color':this[_0x5b28fa(0x241)]}),_0xd07002[_0x5b28fa(0x19f)]());}}var sn=Object[_0x4db2cd(0x2ab)],nn=(_0x3d4fb7,_0x4ecb14,_0x2f2599,_0x369fd0)=>{const _0x116095=_0x4db2cd;for(var _0x24d9d1=_0x369fd0>0x1?void 0x0:_0x369fd0?sn(_0x4ecb14,_0x2f2599):_0x4ecb14,_0x5793d2=_0x3d4fb7[_0x116095(0x148)]-0x1,_0x960b4d;_0x5793d2>=0x0;_0x5793d2--)(_0x960b4d=_0x3d4fb7[_0x5793d2])&&(_0x24d9d1=_0x960b4d(_0x24d9d1)||_0x24d9d1);return _0x24d9d1;},be=(_0x506078,_0x48a862)=>(_0x36565f,_0x25a195)=>_0x48a862(_0x36565f,_0x25a195,_0x506078);const rn=0x1389;let ke=class extends _0x505f3c{constructor(_0x189c87,_0x4214c6,_0x256a78,_0x3b2913){const _0x5ec81b=_0x4db2cd;super(),_(this,_0x5ec81b(0x2e5),new Set()),_(this,_0x5ec81b(0x1b3),null),(this[_0x5ec81b(0x1db)]=_0x189c87,this[_0x5ec81b(0x1f0)]=_0x4214c6,this[_0x5ec81b(0x247)]=_0x256a78,this[_0x5ec81b(0x20b)]=_0x3b2913,this[_0x5ec81b(0x2c0)]());}[_0x4db2cd(0x2c0)](){const _0x11268e=_0x4db2cd;this[_0x11268e(0x1f0)][_0x11268e(0x30a)][_0x11268e(0x1c9)](_0x3710c5(this[_0x11268e(0x250)]),_0x51fb17(_0x4eed29=>{const _0x965eb8=_0x11268e;if(_0x4eed29){const _0x2f892a=_0x4eed29[_0x965eb8(0x198)];return _0x3238c1(this[_0x965eb8(0x247)]['getCollabCursors$'](this[_0x965eb8(0x1db)][_0x965eb8(0x239)]),this[_0x965eb8(0x20b)][_0x965eb8(0x159)])['pipe'](_0x392195(([_0x127a26,_0x13af91])=>{const _0x46b4b3=new Map();return _0x127a26['forEach']((_0x41fec5,_0x4e735a)=>{const _0x55597f=_0x24e1;if(_0x41fec5['sheetID']===_0x2f892a){const _0x647961={..._0x41fec5};_0x647961[_0x55597f(0x2ef)]=this[_0x55597f(0x20b)][_0x55597f(0x2eb)](_0x41fec5['color']),_0x46b4b3['set'](_0x4e735a,_0x647961);}}),{'skeleton':_0x4eed29,'cursors':_0x46b4b3};}));}return _0x38b0d0({'skeleton':null,'cursors':new Map()});}))[_0x11268e(0x278)](({skeleton:_0x43757b,cursors:_0x319ef9})=>{const _0x303bd5=_0x11268e;this[_0x303bd5(0x14f)](),_0x43757b&&this[_0x303bd5(0x26f)](_0x43757b,_0x319ef9);}),this[_0x11268e(0x1f0)][_0x11268e(0x30a)][_0x11268e(0x278)](_0x5ebe5a=>{const _0x549bc8=_0x11268e;if(_0x5ebe5a==null)return;const {skeleton:_0x3877dd}=_0x5ebe5a,{scene:_0x38d835}=this[_0x549bc8(0x1db)];_0x38d835[_0x549bc8(0x1fc)][_0x549bc8(0x1dc)](_0x27071f(_0x5b0883=>{const _0x17d544=_0x549bc8;var _0x552086,_0x523485;const {offsetX:_0xb9466c,offsetY:_0x4dd288}=_0x5b0883,{x:_0x167292,y:_0x28a3a4}=_0x38d835[_0x17d544(0x2a0)](_0x103b90['FromArray']([_0xb9466c,_0x4dd288])),{scaleX:_0x5aeb88,scaleY:_0x89fabe}=_0x38d835[_0x17d544(0x1c0)](),_0x48223c=_0x38d835['getViewport'](_0x5ee039[_0x17d544(0x288)]),_0x55eb4e=_0x38d835[_0x17d544(0x188)](_0x103b90['FromArray']([_0x167292,_0x28a3a4]),_0x48223c),_0x5420ca=_0x3877dd[_0x17d544(0x185)](_0xb9466c,_0x4dd288,_0x5aeb88,_0x89fabe,_0x55eb4e);((_0x552086=this[_0x17d544(0x1b3)])==null?void 0x0:_0x552086[_0x17d544(0x279)])===_0x5420ca[_0x17d544(0x279)]&&((_0x523485=this[_0x17d544(0x1b3)])==null?void 0x0:_0x523485[_0x17d544(0x21f)])===_0x5420ca[_0x17d544(0x21f)]||this[_0x17d544(0x2e5)][_0x17d544(0x18c)](_0x498eab=>{const _0x420378=_0x17d544;_0x498eab[_0x420378(0x194)](_0x5420ca);});},0x64));});}[_0x4db2cd(0x26f)](_0x26ea67,_0x4e90ad){const _0xe5198e=_0x4db2cd;var _0x9f1662;const _0x18197d=(_0x9f1662=this['_sheetSkeletonManagerService'][_0xe5198e(0x1e5)]())==null?void 0x0:_0x9f1662['skeleton'];if(!_0x18197d)return;const _0x319207=this[_0xe5198e(0x26b)]();if(!_0x319207)return;this[_0xe5198e(0x2e5)][_0xe5198e(0x18c)](_0x2a0def=>{const _0x376e6b=_0xe5198e;_0x2a0def[_0x376e6b(0x24c)]();});const {scene:_0x1f8e19}=_0x319207,_0x606e3d=on(Array[_0xe5198e(0x2c1)](_0x4e90ad[_0xe5198e(0x337)]()))[_0xe5198e(0x197)](_0x171e12=>{const {color:_0x33cfc7,range:_0x4c0b1d,name:_0x55e68e,selection:_0x1c600f,sheetID:_0x7a9220}=_0x171e12,{startColumn:_0x158102,startRow:_0x8cf0d5,endColumn:_0x63fbc1,endRow:_0x4db36b}=_0x4c0b1d,_0x836efe=_0x5c0b12(_0x8cf0d5,_0x158102,_0x1f8e19,_0x18197d),_0xe5a58e=_0x5c0b12(_0x4db36b,_0x63fbc1,_0x1f8e19,_0x18197d),{columnHeaderHeightAndMarginTop:_0x28f9e7}=_0x18197d,{startX:_0x4af31d,startY:_0x10b6c5}=_0x836efe,{endX:_0x470591,endY:_0x2fef38}=_0xe5a58e,_0x201461=_0x470591-_0x4af31d,_0x4b4281=_0x2fef38-_0x10b6c5,_0x4eceb0={'labelPosition':_0x10b6c5-_0x28f9e7>=Q?'top':'bottom','sheetID':_0x7a9220,'range':_0x4c0b1d,'color':_0x33cfc7,'name':_0x55e68e,'selection':_0x1c600f,'left':_0x4af31d,'top':_0x10b6c5,'width':_0x201461,'height':_0x4b4281,'evented':!0x1,'zIndex':rn};return new tn(_0x55e68e,_0x4eceb0);});_0x1f8e19[_0xe5198e(0x2fe)](_0x606e3d,qi),this[_0xe5198e(0x2e5)]=new Set(_0x606e3d);}[_0x4db2cd(0x14f)](){const _0x252867=_0x4db2cd;var _0x6b48b;(_0x6b48b=this[_0x252867(0x2e5)])==null||_0x6b48b['forEach'](_0x362eb7=>_0x362eb7[_0x252867(0x183)]());}[_0x4db2cd(0x26b)](){const _0x3a2d71=_0x4db2cd;return _0xd2d082(this[_0x3a2d71(0x1db)][_0x3a2d71(0x2fc)],this[_0x3a2d71(0x1db)]);}};ke=nn([be(0x1,_0x1769b1(_0x1124fa)),be(0x2,_0x1769b1(H)),be(0x3,_0x1769b1(_0x3235b5))],ke);function on(_0x3648e8){const _0x2a1bb1=_0x4db2cd,_0x1cd3aa=new Map();return _0x3648e8[_0x2a1bb1(0x18c)](_0x6a15e6=>{const _0x1d2bde=_0x2a1bb1;if(_0x1cd3aa[_0x1d2bde(0x22e)](_0x6a15e6[_0x1d2bde(0x2a6)])){const _0x321047=_0x1cd3aa['get'](_0x6a15e6['selection']);_0x321047['name']+=',\x20'+_0x6a15e6[_0x1d2bde(0x220)];}else _0x1cd3aa[_0x1d2bde(0x225)](_0x6a15e6['selection'],_0x6a15e6);}),Array['from'](_0x1cd3aa[_0x2a1bb1(0x337)]());}var an=Object[_0x4db2cd(0x2ab)],cn=(_0x141376,_0x17f847,_0x25120c,_0x39ef25)=>{const _0x39fb21=_0x4db2cd;for(var _0x597739=_0x39ef25>0x1?void 0x0:_0x39ef25?an(_0x17f847,_0x25120c):_0x17f847,_0x3964e6=_0x141376[_0x39fb21(0x148)]-0x1,_0x4c4371;_0x3964e6>=0x0;_0x3964e6--)(_0x4c4371=_0x141376[_0x3964e6])&&(_0x597739=_0x4c4371(_0x597739)||_0x597739);return _0x597739;},F=(_0x411043,_0x1efe2a)=>(_0x8b97a1,_0x51c7f8)=>_0x1efe2a(_0x8b97a1,_0x51c7f8,_0x411043);let _e=class extends _0x3432ff{constructor(_0x5dbeac,_0x5de106,_0x2b9a40,_0x397dc3,_0x3d5d26,_0x4d9bef){const _0x31f718=_0x4db2cd;super(),this[_0x31f718(0x29a)]=_0x5dbeac,this[_0x31f718(0x1c8)]=_0x5de106,this[_0x31f718(0x2ed)]=_0x2b9a40,this[_0x31f718(0x298)]=_0x397dc3,this[_0x31f718(0x21d)]=_0x3d5d26,this[_0x31f718(0x305)]=_0x4d9bef,this[_0x31f718(0x31f)](),this['_initEvent']();}[_0x4db2cd(0x31f)](){const _0x28907f=_0x4db2cd;this[_0x28907f(0x172)](this['_beforeCloseService'][_0x28907f(0x2df)](()=>{const _0x292389=_0x28907f;if(this[_0x292389(0x1c8)][_0x292389(0x1e2)][_0x292389(0x31c)])return this[_0x292389(0x305)]['t'](_0x292389(0x357));}));}[_0x4db2cd(0x297)](){const _0x5bf824=_0x4db2cd;this['disposeWithMe'](this['_collaborationUIEventService'][_0x5bf824(0x270)][_0x5bf824(0x278)](_0x2edd98=>{const _0x52900a=_0x5bf824;_0x2edd98['id']===_0x720ca7[_0x52900a(0x2d8)]&&this[_0x52900a(0x298)][_0x52900a(0x1bd)]({'type':_0x17c4da[_0x52900a(0x382)],'content':this[_0x52900a(0x305)]['t']('collaboration.single-unit.warning')}),_0x2edd98['id']===_0x720ca7['CLOSE_ROOM']&&this['_messageService'][_0x52900a(0x1bd)]({'type':_0x17c4da[_0x52900a(0x382)],'content':this['_localeService']['t'](_0x52900a(0x37f))}),_0x2edd98['id']===_0x720ca7[_0x52900a(0x218)]&&this[_0x52900a(0x21d)][_0x52900a(0x1bd)]({'title':this[_0x52900a(0x305)]['t'](_0x52900a(0x1da)),'content':this[_0x52900a(0x305)]['t'](_0x52900a(0x346)),'type':_0x52900a(0x2e6),'duration':0x0}),_0x2edd98['id']===_0x720ca7[_0x52900a(0x274)]&&this[_0x52900a(0x298)][_0x52900a(0x1bd)]({'type':_0x17c4da[_0x52900a(0x1ce)],'content':this['_localeService']['t'](_0x52900a(0x37f))+'('+_0x2edd98[_0x52900a(0x178)]+')'}),_0x2edd98['id']===_0x720ca7[_0x52900a(0x204)]&&this['_messageService'][_0x52900a(0x1bd)]({'type':_0x17c4da['Warning'],'content':this[_0x52900a(0x305)]['t'](_0x2edd98[_0x52900a(0x178)]||'')}),_0x2edd98['id']===_0x720ca7['SOCKET_FAILED_RETRY']&&this['_messageService']['show']({'type':_0x17c4da[_0x52900a(0x382)],'content':this[_0x52900a(0x305)]['t'](_0x52900a(0x144))}),_0x2edd98['id']===_0x720ca7['SOCKET_FAILED']&&this[_0x52900a(0x298)][_0x52900a(0x1bd)]({'type':_0x17c4da[_0x52900a(0x1ce)],'content':this[_0x52900a(0x305)]['t']('session.connection-failed')}),_0x2edd98['id']===_0x720ca7['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x52900a(0x298)][_0x52900a(0x1bd)]({'type':_0x17c4da[_0x52900a(0x1ce)],'content':this[_0x52900a(0x305)]['t']('session.collaboration-timeout')});}));}};_e=cn([F(0x0,_0x381c74),F(0x1,_0x50d5d8),F(0x2,_0x1769b1(_0x387bf7)),F(0x3,_0x2671aa),F(0x4,_0x267698),F(0x5,_0x1769b1(_0x1a5fa4))],_e);var _n=Object[_0x4db2cd(0x2ab)],ln=(_0x47b34f,_0x275eeb,_0x3189a0,_0x3894a2)=>{for(var _0x4a9c3f=_0x3894a2>0x1?void 0x0:_0x3894a2?_n(_0x275eeb,_0x3189a0):_0x275eeb,_0x51e1c5=_0x47b34f['length']-0x1,_0x3d5ede;_0x51e1c5>=0x0;_0x51e1c5--)(_0x3d5ede=_0x47b34f[_0x51e1c5])&&(_0x4a9c3f=_0x3d5ede(_0x4a9c3f)||_0x4a9c3f);return _0x4a9c3f;},ne=(_0x74384,_0x2e5fcc)=>(_0x232258,_0x28d77f)=>_0x2e5fcc(_0x232258,_0x28d77f,_0x74384);let le=class extends _0x3432ff{constructor(_0x5aa00d,_0x3b73f9,_0xfa0d0f,_0x42584e){const _0x1a29c2=_0x4db2cd;super(),_(this,'_memberID'),(this[_0x1a29c2(0x363)]=_0x5aa00d,this['_httpService']=_0x3b73f9,this['_logService']=_0xfa0d0f,this['_collaborationSessionService']=_0x42584e,this[_0x1a29c2(0x2c0)]());}[_0x4db2cd(0x2c0)](){const _0x5cc547=_0x4db2cd;this['_initWindowErrorListener'](),this['_initUnhandledRejectionListener'](),this[_0x5cc547(0x2ce)](),this[_0x5cc547(0x243)]();}[_0x4db2cd(0x243)](){const _0x409405=_0x4db2cd;this[_0x409405(0x172)](this[_0x409405(0x256)][_0x409405(0x351)]['subscribe'](_0x7bea45=>{const _0x28684e=_0x409405;this[_0x28684e(0x341)]=_0x7bea45==null?void 0x0:_0x7bea45[_0x28684e(0x166)];}));}[_0x4db2cd(0x386)](){const _0x22881b=_0x4db2cd,_0x4e4b03=_0x52dfe2=>{const _0x413337=_0x24e1;var _0x4f0cdb;this[_0x413337(0x327)]('error',_0x413337(0x176)+_0x52dfe2['message']+_0x413337(0x34b)+_0x52dfe2['filename']+':'+_0x52dfe2[_0x413337(0x37d)]+':'+_0x52dfe2['colno']+'\x0a'+(((_0x4f0cdb=_0x52dfe2['error'])==null?void 0x0:_0x4f0cdb[_0x413337(0x31d)])||''));};window[_0x22881b(0x16d)]('error',_0x4e4b03),this[_0x22881b(0x172)](()=>{const _0x2f0afd=_0x22881b;window[_0x2f0afd(0x19d)](_0x2f0afd(0x2e6),_0x4e4b03);});}['_initUnhandledRejectionListener'](){const _0x1da185=_0x4db2cd,_0x572953=_0x1ab221=>{const _0x2eb02e=_0x24e1;this[_0x2eb02e(0x327)]('error','[Unhandled\x20Rejection]:\x20'+_0x1ab221[_0x2eb02e(0x312)]);};window[_0x1da185(0x16d)]('unhandledrejection',_0x572953),this['disposeWithMe'](()=>{const _0x261175=_0x1da185;window[_0x261175(0x19d)]('unhandledrejection',_0x572953);});}[_0x4db2cd(0x2ce)](){const _0x1ce040=_0x4db2cd,_0x2a4366=this[_0x1ce040(0x140)][_0x1ce040(0x2e6)]['bind'](this[_0x1ce040(0x140)]);this['_logService'][_0x1ce040(0x2e6)]=(..._0x3bcf41)=>{const _0x37b37c=_0x1ce040,_0x2f20cc=_0x3bcf41['map'](_0x30aa00=>_0x30aa00 instanceof Error?_0x30aa00[_0x37b37c(0x2a7)]+'\x0a'+_0x30aa00[_0x37b37c(0x31d)]:String(_0x30aa00))['join']('\x20');this[_0x37b37c(0x327)]('error','[LogService\x20Error]:\x20'+_0x2f20cc),_0x2a4366(..._0x3bcf41);},this[_0x1ce040(0x172)](()=>{const _0x365560=_0x1ce040;this[_0x365560(0x140)][_0x365560(0x2e6)]=_0x2a4366;});}[_0x4db2cd(0x327)](_0x3f4de0,_0x54e8a8){const _0x2b6d02=_0x4db2cd;try{const _0x2e6cf7={'userId':this[_0x2b6d02(0x341)],'logLabel':_0x3f4de0,'content':_0x54e8a8};this[_0x2b6d02(0x1cc)][_0x2b6d02(0x258)](_0x2b6d02(0x20d),{'body':_0x2e6cf7})[_0x2b6d02(0x156)](()=>{});}catch{}}};le=ln([ne(0x0,_0x1769b1(_0x174327)),ne(0x1,_0x1769b1(_0x45d6eb)),ne(0x2,_0x5cccfe),ne(0x3,_0x1769b1(_0x1e0b19))],le);const hn=_0x4db2cd(0x207),_t={};var un=Object[_0x4db2cd(0x2ab)],dn=(_0x4f41d7,_0x19821d,_0xb792f0,_0x44340e)=>{const _0x3c692c=_0x4db2cd;for(var _0x37f609=_0x44340e>0x1?void 0x0:_0x44340e?un(_0x19821d,_0xb792f0):_0x19821d,_0x1c707e=_0x4f41d7[_0x3c692c(0x148)]-0x1,_0x299bf7;_0x1c707e>=0x0;_0x1c707e--)(_0x299bf7=_0x4f41d7[_0x1c707e])&&(_0x37f609=_0x299bf7(_0x37f609)||_0x37f609);return _0x37f609;},lt=(_0x4bf823,_0x446bf3)=>(_0x574906,_0x453e63)=>_0x446bf3(_0x574906,_0x453e63,_0x4bf823);let he=class{constructor(_0x260ee7,_0x2a6fd6){const _0x4ebbec=_0x4db2cd;this[_0x4ebbec(0x177)]=_0x260ee7,this[_0x4ebbec(0x34f)]=_0x2a6fd6;}[_0x4db2cd(0x224)](_0x3d8abf){const _0x44186d=_0x4db2cd;this[_0x44186d(0x14b)](_0x3d8abf),this[_0x44186d(0x335)](_0x3d8abf);}[_0x4db2cd(0x2b9)](_0x274941){const _0x370f00=_0x4db2cd,{unitID:_0x223190}=_0x274941,_0x216bca=this[_0x370f00(0x34f)][_0x370f00(0x20e)](_0x223190)[_0x370f00(0x275)](_0x498e9e),{redoCache:_0x542a6f}=_0x216bca[_0x370f00(0x2ec)]();if(_0x542a6f[_0x370f00(0x148)]===0x0)return _0x274941;let _0x2ff881=_0x45a645[_0x370f00(0x2e4)](_0x274941[_0x370f00(0x143)][0x0]);for(let _0xecf2ce=0x0;_0xecf2ce<_0x542a6f['length'];_0xecf2ce++){const _0xc58b84={'id':_0x370f00(0x1a4),'params':{..._0x542a6f[_0xecf2ce]}},_0x5094c8=this[_0x370f00(0x177)][_0x370f00(0x2ac)](_0x2ff881,_0xc58b84,!0x1);if(_0x1543e0(_0x5094c8))throw _0x5094c8[_0x370f00(0x2e6)];_0x2ff881=_0x5094c8[_0x370f00(0x38c)];}return{..._0x45a645[_0x370f00(0x2e4)](_0x274941),'mutations':[_0x2ff881]};}[_0x4db2cd(0x14b)](_0x1a4c00){const _0x3df116=_0x4db2cd,{unitID:_0x184335}=_0x1a4c00,_0x2b7b83=this[_0x3df116(0x34f)][_0x3df116(0x20e)](_0x184335)['with'](_0x498e9e),{undoCache:_0x46b0ae,redoCache:_0x1c1b2e}=_0x2b7b83[_0x3df116(0x2ec)]();if(_0x46b0ae[_0x3df116(0x148)]===0x0||_0x1c1b2e[_0x3df116(0x148)]===0x0)return;const _0x341660=[],_0x581d3f=[];let _0x253bee=_0x45a645[_0x3df116(0x2e4)](_0x1a4c00[_0x3df116(0x143)][0x0]),_0x40a378=_0x45a645[_0x3df116(0x2e4)](_0x1a4c00[_0x3df116(0x143)][0x0]);for(let _0x9596b9=_0x46b0ae['length']-0x1;_0x9596b9>=0x0;_0x9596b9--){const _0x54503c={'id':_0x3df116(0x1a4),'params':{..._0x46b0ae[_0x9596b9]}},_0x14fa54={'id':_0x3df116(0x1a4),'params':{..._0x1c1b2e[_0x9596b9]}},_0x8d7545=this['_transformService'][_0x3df116(0x2ac)](_0x253bee,_0x54503c,!0x1),_0x2fb1b5=this[_0x3df116(0x177)][_0x3df116(0x2ac)](_0x40a378,_0x14fa54,!0x1);if(_0x1543e0(_0x8d7545))throw _0x8d7545[_0x3df116(0x2e6)];if(_0x1543e0(_0x2fb1b5))throw _0x2fb1b5[_0x3df116(0x2e6)];_0x341660[_0x3df116(0x1f9)](_0x8d7545['m2Prime'][_0x3df116(0x17c)]),_0x581d3f[_0x3df116(0x1f9)](_0x2fb1b5[_0x3df116(0x1ed)]['params']),_0x253bee=_0x8d7545[_0x3df116(0x38c)],_0x40a378=_0x2fb1b5[_0x3df116(0x38c)];}_0x2b7b83[_0x3df116(0x383)]({'undoCache':_0x341660,'redoCache':_0x581d3f});}[_0x4db2cd(0x335)](_0x24cca9){const _0x4e8489=_0x4db2cd,{unitID:_0x597474}=_0x24cca9,_0x99a677=this[_0x4e8489(0x34f)][_0x4e8489(0x20e)](_0x597474)[_0x4e8489(0x275)](_0x498e9e),_0x443ae7=_0x99a677[_0x4e8489(0x296)]();if(_0x443ae7==null)return;const _0x48a076=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x24cca9[_0x4e8489(0x2d5)],'actions':null,'textRanges':[_0x443ae7]}}],_0xa47f6f=this[_0x4e8489(0x177)][_0x4e8489(0x29c)](_0x24cca9,_0x48a076);if(!_0x359420(_0xa47f6f))throw _0xa47f6f[_0x4e8489(0x2e6)];const _0xebe70e=_0xa47f6f[_0x4e8489(0x1ed)][0x0]['params'][_0x4e8489(0x350)];Array[_0x4e8489(0x1e4)](_0xebe70e)&&_0xebe70e[_0x4e8489(0x148)]&&_0x99a677['setActiveRange'](_0xebe70e[0x0]);}};he=dn([lt(0x0,_0x29c2d7),lt(0x1,_0x556bf2)],he);var Sn=Object[_0x4db2cd(0x2ab)],In=(_0x2a3920,_0x365001,_0x2445d3,_0x56e1e5)=>{const _0x53ceee=_0x4db2cd;for(var _0xc82bbc=_0x56e1e5>0x1?void 0x0:_0x56e1e5?Sn(_0x365001,_0x2445d3):_0x365001,_0x3936f5=_0x2a3920[_0x53ceee(0x148)]-0x1,_0x5246a0;_0x3936f5>=0x0;_0x3936f5--)(_0x5246a0=_0x2a3920[_0x3936f5])&&(_0xc82bbc=_0x5246a0(_0xc82bbc)||_0xc82bbc);return _0xc82bbc;},Le=(_0x1a9d88,_0x3a7d63)=>(_0x1974ff,_0x57f67d)=>_0x3a7d63(_0x1974ff,_0x57f67d,_0x1a9d88);let ue=class{constructor(_0x135a14,_0x4f2405,_0x3bde24){const _0x1b8426=_0x4db2cd;this['_injector']=_0x135a14,this[_0x1b8426(0x177)]=_0x4f2405,this[_0x1b8426(0x1a8)]=_0x3bde24;}[_0x4db2cd(0x2b1)](_0x2f4682){const _0x37f3e3=_0x4db2cd;this[_0x37f3e3(0x34c)](_0x2f4682);}['transformRemoteChangeset'](_0x55a511){const _0x5106b1=_0x4db2cd,{unitID:_0x3b73bc}=_0x55a511,{collaboration:_0x24754f}=this[_0x5106b1(0x1a8)][_0x5106b1(0x22a)](_0x3b73bc);if(_0x24754f['length']===0x0)return _0x55a511;let _0x14e65b=_0x45a645['deepClone'](_0x55a511[_0x5106b1(0x143)][0x0]);for(let _0x22f881=0x0;_0x22f881<_0x24754f[_0x5106b1(0x148)];_0x22f881++){const _0x1e4624={'id':_0x5106b1(0x1a4),'params':{'unitId':_0x24754f[_0x22f881][_0x5106b1(0x239)],..._0x24754f[_0x22f881][_0x5106b1(0x2b6)]}},_0x1cda6c=this[_0x5106b1(0x177)][_0x5106b1(0x2ac)](_0x14e65b,_0x1e4624,!0x1);if(_0x1543e0(_0x1cda6c))throw _0x1cda6c[_0x5106b1(0x2e6)];_0x14e65b=_0x1cda6c[_0x5106b1(0x38c)];}return{..._0x45a645['deepClone'](_0x55a511),'mutations':[_0x14e65b]};}[_0x4db2cd(0x34c)](_0x554f90){const _0x1306f0=_0x4db2cd,{unitID:_0x26e577}=_0x554f90,{history:_0x1b6d6c,collaboration:_0xcff54b}=this[_0x1306f0(0x1a8)][_0x1306f0(0x22a)](_0x26e577);if(_0x1b6d6c[_0x1306f0(0x148)]===0x0&&_0xcff54b[_0x1306f0(0x148)]===0x0)return;const _0x4fa113=[],_0x145312=[];let _0x372d28=_0x45a645[_0x1306f0(0x2e4)](_0x554f90[_0x1306f0(0x143)][0x0]),_0x2c61a9=_0x45a645[_0x1306f0(0x2e4)](_0x554f90[_0x1306f0(0x143)][0x0]);for(let _0x9ee9d3=_0x1b6d6c[_0x1306f0(0x148)]-0x1;_0x9ee9d3>=0x0;_0x9ee9d3--){const _0xea29da={'id':_0x1306f0(0x1a4),'params':{'unitId':_0x1b6d6c[_0x9ee9d3][_0x1306f0(0x239)],..._0x1b6d6c[_0x9ee9d3][_0x1306f0(0x1e8)]}},_0x5d39cd={'id':_0x1306f0(0x1a4),'params':{'unitId':_0x1b6d6c[_0x9ee9d3][_0x1306f0(0x239)],..._0x1b6d6c[_0x9ee9d3][_0x1306f0(0x2b6)]}},_0x43212c=this[_0x1306f0(0x177)][_0x1306f0(0x2ac)](_0x372d28,_0xea29da,!0x1),_0x4a44bb=this[_0x1306f0(0x177)]['transformMutation'](_0x2c61a9,_0x5d39cd,!0x1);if(_0x1543e0(_0x43212c))throw _0x43212c[_0x1306f0(0x2e6)];if(_0x1543e0(_0x4a44bb))throw _0x4a44bb[_0x1306f0(0x2e6)];_0x4fa113[_0x1306f0(0x1f9)]({..._0x1b6d6c[_0x9ee9d3],'undoState':_0x43212c['m2Prime'][_0x1306f0(0x17c)],'redoState':_0x4a44bb[_0x1306f0(0x1ed)][_0x1306f0(0x17c)]}),_0x372d28=_0x43212c[_0x1306f0(0x38c)],_0x2c61a9=_0x4a44bb['m1Prime'];}_0x372d28=_0x45a645[_0x1306f0(0x2e4)](_0x554f90[_0x1306f0(0x143)][0x0]),_0x2c61a9=_0x45a645[_0x1306f0(0x2e4)](_0x554f90[_0x1306f0(0x143)][0x0]);for(let _0x7361f7=_0xcff54b[_0x1306f0(0x148)]-0x1;_0x7361f7>=0x0;_0x7361f7--){const _0x15a13b={'id':_0x1306f0(0x1a4),'params':{'unitId':_0xcff54b[_0x7361f7][_0x1306f0(0x239)],..._0xcff54b[_0x7361f7][_0x1306f0(0x1e8)]}},_0x32d3a8={'id':_0x1306f0(0x1a4),'params':{'unitId':_0xcff54b[_0x7361f7][_0x1306f0(0x239)],..._0xcff54b[_0x7361f7][_0x1306f0(0x2b6)]}},_0x3cee7f=this[_0x1306f0(0x177)]['transformMutation'](_0x372d28,_0x15a13b,!0x1),_0x29772b=this['_transformService']['transformMutation'](_0x2c61a9,_0x32d3a8,!0x1);if(_0x1543e0(_0x3cee7f))throw _0x3cee7f[_0x1306f0(0x2e6)];if(_0x1543e0(_0x29772b))throw _0x29772b['error'];_0x145312[_0x1306f0(0x1f9)]({..._0xcff54b[_0x7361f7],'undoState':_0x3cee7f[_0x1306f0(0x1ed)][_0x1306f0(0x17c)],'redoState':_0x29772b['m2Prime'][_0x1306f0(0x17c)]}),_0x372d28=_0x3cee7f[_0x1306f0(0x38c)],_0x2c61a9=_0x29772b[_0x1306f0(0x38c)];}this[_0x1306f0(0x1a8)]['setStateCache'](_0x26e577,{'history':_0x4fa113,'collaboration':_0x145312});}};ue=In([Le(0x0,_0x1769b1(_0x174327)),Le(0x1,_0x29c2d7),Le(0x2,_0x1769b1(_0x53b4e2))],ue);var mn=Object[_0x4db2cd(0x2ab)],fn=(_0x13d205,_0x3b7e11,_0x470dae,_0x11e181)=>{const _0x4c3ea2=_0x4db2cd;for(var _0x1909e0=_0x11e181>0x1?void 0x0:_0x11e181?mn(_0x3b7e11,_0x470dae):_0x3b7e11,_0x3e744d=_0x13d205[_0x4c3ea2(0x148)]-0x1,_0x837bba;_0x3e744d>=0x0;_0x3e744d--)(_0x837bba=_0x13d205[_0x3e744d])&&(_0x1909e0=_0x837bba(_0x1909e0)||_0x1909e0);return _0x1909e0;},ht=(_0x52e907,_0x55b89f)=>(_0x4ff2af,_0x186343)=>_0x55b89f(_0x4ff2af,_0x186343,_0x52e907);let de=class{constructor(_0x2cc8eb,_0x4fdee4){const _0x180f5e=_0x4db2cd;this[_0x180f5e(0x363)]=_0x2cc8eb,this[_0x180f5e(0x177)]=_0x4fdee4;}[_0x4db2cd(0x317)](_0x4adc80){const _0x4aa4de=_0x4db2cd;var _0x164204;const _0x48629c=this[_0x4aa4de(0x363)]['get'](_0x1b2212),_0x3129d2=(_0x164204=_0x48629c[_0x4aa4de(0x255)]())!=null?_0x164204:[];if(_0x3129d2['length']===0x0)return;const _0x4f846a=_0x4adc80[_0x4aa4de(0x2d5)],_0x256bc8=[{'id':_0x4aa4de(0x1a4),'params':{'unitId':_0x4f846a,'actions':null,'textRanges':_0x3129d2}}],_0x3ce312=this[_0x4aa4de(0x177)]['transformMutationsWithChangeset'](_0x4adc80,_0x256bc8);if(!_0x359420(_0x3ce312))throw _0x3ce312[_0x4aa4de(0x2e6)];const _0x3e301f=_0x3ce312[_0x4aa4de(0x1ed)][0x0]['params'][_0x4aa4de(0x350)];Array[_0x4aa4de(0x1e4)](_0x3e301f)&&_0x3e301f[_0x4aa4de(0x148)]&&_0x48629c['replaceDocRanges'](_0x3e301f,{'unitId':_0x4f846a,'subUnitId':_0x4f846a},!0x1);}};de=fn([ht(0x0,_0x1769b1(_0x174327)),ht(0x1,_0x29c2d7)],de);var gn=Object[_0x4db2cd(0x2ab)],En=(_0x282c3e,_0x45b9d1,_0x19415f,_0x238892)=>{const _0x27f7fd=_0x4db2cd;for(var _0x39b8ef=_0x238892>0x1?void 0x0:_0x238892?gn(_0x45b9d1,_0x19415f):_0x45b9d1,_0x3b6981=_0x282c3e[_0x27f7fd(0x148)]-0x1,_0x17f40b;_0x3b6981>=0x0;_0x3b6981--)(_0x17f40b=_0x282c3e[_0x3b6981])&&(_0x39b8ef=_0x17f40b(_0x39b8ef)||_0x39b8ef);return _0x39b8ef;},U=(_0x4a594a,_0x346333)=>(_0x70e284,_0x5cf6df)=>_0x346333(_0x70e284,_0x5cf6df,_0x4a594a);let Se=class extends _0x3432ff{constructor(_0x4f7709,_0x51fc36,_0x40f96a,_0x16e6f2,_0x219629,_0x5ac890,_0x2b5d71,_0x307d88){const _0x28cbbc=_0x4db2cd;super(),_(this,_0x28cbbc(0x17d),new _0x5b52bd(_0x47cd4a[_0x28cbbc(0x16c)])),(this['_docStateChangeManagerService']=_0x4f7709,this[_0x28cbbc(0x1ca)]=_0x51fc36,this[_0x28cbbc(0x164)]=_0x40f96a,this[_0x28cbbc(0x2dd)]=_0x16e6f2,this[_0x28cbbc(0x1d0)]=_0x219629,this[_0x28cbbc(0x141)]=_0x5ac890,this[_0x28cbbc(0x298)]=_0x2b5d71,this[_0x28cbbc(0x305)]=_0x307d88,this[_0x28cbbc(0x2af)]());}['_initEntityListener'](){const _0x523298=_0x4db2cd;this['disposeWithMe'](this['_collaborationController'][_0x523298(0x1b2)][_0x523298(0x278)](_0x544565=>{const _0x443af7=_0x523298,_0x320076=this[_0x443af7(0x1a8)][_0x443af7(0x381)][_0x443af7(0x278)](_0x2a109c=>{const _0x36bfff=_0x443af7;if(_0x2a109c==null)return;const {unitId:_0x550231,redoState:_0x320cc6,commandId:_0x3e5ba1}=_0x2a109c;if(_0x550231!==_0x544565[_0x36bfff(0x2d5)])return;const _0x209797={'id':_0x3e5ba1,'type':_0x485374[_0x36bfff(0x1f6)],'params':{'unitId':_0x550231,'actions':_0x320cc6[_0x36bfff(0x2bf)],'textRanges':null}};_0x544565[_0x36bfff(0x19b)](_0x209797);});if(_0x544565[_0x443af7(0x172)](_0x320076),_0x544565 instanceof _0x5ec973){const _0x12d2d6={'onTransformIME':_0x36c652=>this['_docTransformIMECacheService'][_0x443af7(0x224)](_0x36c652),'onTransformState':_0x296496=>this['_docTransformStateCacheService'][_0x443af7(0x2b1)](_0x296496),'onTransformSelections':_0x37756a=>this[_0x443af7(0x1d0)][_0x443af7(0x317)](_0x37756a),'onSyncEditingCollabCursor':_0x3447b2=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x3447b2),'onTransformRemoteChangesetByIMECache':_0x234704=>this[_0x443af7(0x164)][_0x443af7(0x2b9)](_0x234704),'onTransformRemoteChangesetByStateCache':_0x435817=>this[_0x443af7(0x2dd)][_0x443af7(0x2b9)](_0x435817)};_0x544565[_0x443af7(0x161)](_0x12d2d6);}}));}};Se=En([U(0x0,_0x1769b1(_0x53b4e2)),U(0x1,_0x1769b1(_0x17bb07)),U(0x2,_0x1769b1(he)),U(0x3,_0x1769b1(ue)),U(0x4,_0x1769b1(de)),U(0x5,_0x1769b1(ze)),U(0x6,_0x2671aa),U(0x7,_0x1769b1(_0x1a5fa4))],Se);var Z=(_0xd1edd4=>(_0xd1edd4[_0xd1edd4[_0x4db2cd(0x33d)]=0x0]=_0x4db2cd(0x33d),_0xd1edd4[_0xd1edd4['OK']=0x1]='OK',_0xd1edd4[_0xd1edd4['INTERNAL_ERROR']=0x2]=_0x4db2cd(0x214),_0xd1edd4[_0xd1edd4[_0x4db2cd(0x218)]=0x3]=_0x4db2cd(0x218),_0xd1edd4[_0xd1edd4[_0x4db2cd(0x211)]=0x4]=_0x4db2cd(0x211),_0xd1edd4[_0xd1edd4[_0x4db2cd(0x1f3)]=0x5]=_0x4db2cd(0x1f3),_0xd1edd4[_0xd1edd4['ALREADY_EXISTS']=0x6]=_0x4db2cd(0x283),_0xd1edd4[_0xd1edd4[_0x4db2cd(0x265)]=0x7]='INVALID_ARGUMENT',_0xd1edd4[_0xd1edd4[_0x4db2cd(0x30d)]=0x8]=_0x4db2cd(0x30d),_0xd1edd4[_0xd1edd4[_0x4db2cd(0x36e)]=0x9]='COMPLETION_FINISHED',_0xd1edd4[_0xd1edd4[_0x4db2cd(0x154)]=0xa]=_0x4db2cd(0x154),_0xd1edd4[_0xd1edd4[_0x4db2cd(0x155)]=0xb]=_0x4db2cd(0x155),_0xd1edd4[_0xd1edd4['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x4db2cd(0x202),_0xd1edd4[_0xd1edd4['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x4db2cd(0x25e),_0xd1edd4[_0xd1edd4['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x4db2cd(0x1c6),_0xd1edd4[_0xd1edd4[_0x4db2cd(0x2f4)]=0xf]=_0x4db2cd(0x2f4),_0xd1edd4[_0xd1edd4[_0x4db2cd(0x2c3)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0xd1edd4[_0xd1edd4[_0x4db2cd(0x323)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0xd1edd4[_0xd1edd4[_0x4db2cd(0x27f)]=0x65]='ERROR_AGAIN',_0xd1edd4[_0xd1edd4[_0x4db2cd(0x359)]=0xc9]=_0x4db2cd(0x359),_0xd1edd4[_0xd1edd4[_0x4db2cd(0x2d1)]=0xca]=_0x4db2cd(0x2d1),_0xd1edd4[_0xd1edd4[_0x4db2cd(0x32c)]=0x1389]=_0x4db2cd(0x32c),_0xd1edd4[_0xd1edd4[_0x4db2cd(0x30f)]=0x1771]=_0x4db2cd(0x30f),_0xd1edd4[_0xd1edd4[_0x4db2cd(0x304)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0xd1edd4[_0xd1edd4[_0x4db2cd(0x336)]=0x1773]=_0x4db2cd(0x336),_0xd1edd4[_0xd1edd4[_0x4db2cd(0x160)]=0x1b59]='APPLY_REJECT',_0xd1edd4[_0xd1edd4[_0x4db2cd(0x2e8)]=0x1b5a]=_0x4db2cd(0x2e8),_0xd1edd4[_0xd1edd4[_0x4db2cd(0x285)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0xd1edd4[_0xd1edd4['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0xd1edd4[_0xd1edd4[_0x4db2cd(0x2d2)]=0x1b5d]=_0x4db2cd(0x2d2),_0xd1edd4[_0xd1edd4[_0x4db2cd(0x15b)]=0x1f41]=_0x4db2cd(0x15b),_0xd1edd4[_0xd1edd4[_0x4db2cd(0x215)]=0x2329]=_0x4db2cd(0x215),_0xd1edd4[_0xd1edd4[_0x4db2cd(0x1d4)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0xd1edd4[_0xd1edd4[_0x4db2cd(0x1be)]=0x232b]=_0x4db2cd(0x1be),_0xd1edd4[_0xd1edd4[_0x4db2cd(0x2f8)]=0x232c]=_0x4db2cd(0x2f8),_0xd1edd4[_0xd1edd4[_0x4db2cd(0x267)]=0x232d]='LICENSE_DISTRO_REJECTED',_0xd1edd4[_0xd1edd4['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x4db2cd(0x371),_0xd1edd4[_0xd1edd4[_0x4db2cd(0x179)]=0x2712]=_0x4db2cd(0x179),_0xd1edd4[_0xd1edd4[_0x4db2cd(0x18d)]=0x2713]=_0x4db2cd(0x18d),_0xd1edd4[_0xd1edd4[_0x4db2cd(0x32e)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0xd1edd4[_0xd1edd4[_0x4db2cd(0x222)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0xd1edd4[_0xd1edd4[_0x4db2cd(0x269)]=0x271b]=_0x4db2cd(0x269),_0xd1edd4[_0xd1edd4[_0x4db2cd(0x2b2)]=0x271c]=_0x4db2cd(0x2b2),_0xd1edd4[_0xd1edd4[_0x4db2cd(0x2ba)]=0x271d]=_0x4db2cd(0x2ba),_0xd1edd4[_0xd1edd4['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x4db2cd(0x28c),_0xd1edd4[_0xd1edd4[_0x4db2cd(0x294)]=0x271f]=_0x4db2cd(0x294),_0xd1edd4[_0xd1edd4[_0x4db2cd(0x2d3)]=0x2720]=_0x4db2cd(0x2d3),_0xd1edd4[_0xd1edd4[_0x4db2cd(0x291)]=0x2af9]=_0x4db2cd(0x291),_0xd1edd4[_0xd1edd4[_0x4db2cd(0x28d)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0xd1edd4[_0xd1edd4[_0x4db2cd(0x20f)]=0x2ee2]=_0x4db2cd(0x20f),_0xd1edd4[_0xd1edd4[_0x4db2cd(0x2bb)]=0x2ee3]='INVITE_CODE_REQUIRED',_0xd1edd4[_0xd1edd4[_0x4db2cd(0x35f)]=0x2ee4]=_0x4db2cd(0x35f),_0xd1edd4[_0xd1edd4['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0xd1edd4[_0xd1edd4[_0x4db2cd(0x200)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0xd1edd4[_0xd1edd4[_0x4db2cd(0x1fd)]=0x32ca]=_0x4db2cd(0x1fd),_0xd1edd4[_0xd1edd4[_0x4db2cd(0x1b6)]=0x32cb]=_0x4db2cd(0x1b6),_0xd1edd4[_0xd1edd4[_0x4db2cd(0x212)]=0x36b1]=_0x4db2cd(0x212),_0xd1edd4[_0xd1edd4[_0x4db2cd(0x227)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0xd1edd4[_0xd1edd4[_0x4db2cd(0x2a3)]=0x36b3]=_0x4db2cd(0x2a3),_0xd1edd4[_0xd1edd4['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x4db2cd(0x165),_0xd1edd4[_0xd1edd4['ENTITLE_INVALID_COUPON_CODE']=0x36b5]=_0x4db2cd(0x330),_0xd1edd4[_0xd1edd4[_0x4db2cd(0x318)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0xd1edd4[_0xd1edd4[_0x4db2cd(0x307)]=0x36b7]=_0x4db2cd(0x307),_0xd1edd4[_0xd1edd4['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]=_0x4db2cd(0x180),_0xd1edd4[_0xd1edd4['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x4db2cd(0x32a),_0xd1edd4[_0xd1edd4[_0x4db2cd(0x355)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0xd1edd4[_0xd1edd4[_0x4db2cd(0x19a)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0xd1edd4[_0xd1edd4[_0x4db2cd(0x26d)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0xd1edd4[_0xd1edd4[_0x4db2cd(0x2ad)]=0x3a99]='REDEMPTION_INVALID_CODE',_0xd1edd4[_0xd1edd4[_0x4db2cd(0x1e0)]=0x3a9a]=_0x4db2cd(0x1e0),_0xd1edd4[_0xd1edd4['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0x4db2cd(0x1f5),_0xd1edd4[_0xd1edd4[_0x4db2cd(0x1b4)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0xd1edd4[_0xd1edd4['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x4db2cd(0x26c),_0xd1edd4[_0xd1edd4['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x4db2cd(0x362),_0xd1edd4[_0xd1edd4[_0x4db2cd(0x331)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0xd1edd4[_0xd1edd4['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x4db2cd(0x1fe),_0xd1edd4[_0xd1edd4[_0x4db2cd(0x24e)]=-0x1]=_0x4db2cd(0x24e),_0xd1edd4))(Z||{});function vn(_0xb25e03){const _0x892e3b=_0x4db2cd;var _0x2f07c9,_0x1d71b3;const _0x3a7082=(_0x2f07c9=_0xb25e03['stageInfo'])==null?void 0x0:_0x2f07c9[_0x892e3b(0x343)],_0x1197a9=((_0x1d71b3=_0xb25e03[_0x892e3b(0x213)])==null?void 0x0:_0x1d71b3[_0x892e3b(0x195)])||0x0;return _0x3a7082===_0x1ec3a3[_0x892e3b(0x2b0)]&&_0x1197a9>0x0;}function pn(_0x1c2a46){const _0x6bde93=_0x4db2cd;return _0x1c2a46[_0x6bde93(0x1cb)]===_0x2d6caa[_0x6bde93(0x245)];}var On=Object[_0x4db2cd(0x2ab)],Tn=(_0x179570,_0x21a9af,_0x404a03,_0x4ba143)=>{const _0x257224=_0x4db2cd;for(var _0x153d49=_0x4ba143>0x1?void 0x0:_0x4ba143?On(_0x21a9af,_0x404a03):_0x21a9af,_0x1feda4=_0x179570[_0x257224(0x148)]-0x1,_0x5931fa;_0x1feda4>=0x0;_0x1feda4--)(_0x5931fa=_0x179570[_0x1feda4])&&(_0x153d49=_0x5931fa(_0x153d49)||_0x153d49);return _0x153d49;},P=(_0x76f876,_0x265863)=>(_0x56f41b,_0x127ff3)=>_0x265863(_0x56f41b,_0x127ff3,_0x76f876);const Cn=_0x4db2cd(0x14d),Rn=_0x4db2cd(0x361),Dn=_0x4db2cd(0x1a1);let Ie=class extends _0x3432ff{constructor(_0x5f3239,_0x560f04,_0x1862ab,_0x1e8cc2,_0x9498ca,_0xc0a295,_0x1b9588){const _0xabcf38=_0x4db2cd;super(),_(this,_0xabcf38(0x234),null),_(this,_0xabcf38(0x1d8),0x0),_(this,_0xabcf38(0x219),0x0),_(this,_0xabcf38(0x1bf),[]),_(this,'_lastResponseTimestamp',0x0),(this['_messageService']=_0x5f3239,this[_0xabcf38(0x27d)]=_0x560f04,this[_0xabcf38(0x19e)]=_0x1862ab,this['_httpService']=_0x1e8cc2,this[_0xabcf38(0x168)]=_0x9498ca,this[_0xabcf38(0x140)]=_0xc0a295,this[_0xabcf38(0x305)]=_0x1b9588,this[_0xabcf38(0x273)]());}[_0x4db2cd(0x273)](){const _0xcbd187=_0x4db2cd;this['disposeWithMe'](this['_commandService'][_0xcbd187(0x2a4)]((_0x364227,_0x460bf0)=>{const _0x31c4e0=_0xcbd187;var _0x57bdd1;if(_0x364227['id']!==_0x1b8d33['id'])return;const _0x2dc7f0=_0x364227['params'];if(!this['_hasFormulaInDirtyRanges']((_0x57bdd1=_0x2dc7f0[_0x31c4e0(0x257)])!=null?_0x57bdd1:[]))return;if(!this[_0x31c4e0(0x32f)]())throw this['_checkAndWaitForCalculationPermission'](_0x364227,_0x460bf0),this[_0x31c4e0(0x1ab)](),new _0x396bd6();})),this['disposeWithMe'](this[_0xcbd187(0x27d)]['onCommandExecuted']((_0x816781,_0x2d68cb)=>{const _0x84a58f=_0xcbd187;if(_0x816781['id']!==_0x491036['id'])return;const _0x1ac8c5=_0x816781['params'];if(vn(_0x1ac8c5)){const _0x5643cc=_0x23023b();this[_0x84a58f(0x1bf)]['push'](_0x5643cc),this[_0x84a58f(0x2d6)](_0x5643cc);}else{if(pn(_0x1ac8c5)&&this[_0x84a58f(0x1bf)][_0x84a58f(0x148)]>0x0){const _0x27f4d6=this[_0x84a58f(0x1bf)][_0x84a58f(0x1ec)]();this[_0x84a58f(0x150)](_0x27f4d6);}}}));}[_0x4db2cd(0x183)](){const _0x3ece1b=_0x4db2cd;super[_0x3ece1b(0x183)](),this[_0x3ece1b(0x2cb)](),this[_0x3ece1b(0x1bf)]=[],this[_0x3ece1b(0x219)]=0x0,this[_0x3ece1b(0x1d8)]=0x0,this['_lastResponseTimestamp']=0x0;}async['_checkAndWaitForCalculationPermission'](_0x3a37da,_0x2df7a4){const _0x54fc4f=_0x4db2cd;for(let _0x4448fe=0x0;_0x4448fe<0x1e;_0x4448fe++)try{if(await this['_getFormulaLimitStatus'](),this[_0x54fc4f(0x32f)]()){this['_applyCommand'](_0x3a37da,_0x2df7a4),this[_0x54fc4f(0x298)]['show']({'content':this[_0x54fc4f(0x305)]['t'](_0x54fc4f(0x174)),'type':_0x17c4da['Success']});return;}await new Promise(_0x2fa8d7=>{const _0x258c43=_0x54fc4f;this[_0x258c43(0x234)]=window[_0x258c43(0x368)](_0x2fa8d7,0x3e8);});}catch(_0x1ba47f){this[_0x54fc4f(0x140)]['error'](_0x1ba47f);}this[_0x54fc4f(0x298)][_0x54fc4f(0x1bd)]({'content':this[_0x54fc4f(0x305)]['t']('formula.calculation.unable'),'type':_0x17c4da['Error']});}[_0x4db2cd(0x2db)](_0x3bac6d,_0x1148ba){const _0xb2f30b=_0x4db2cd;try{this[_0xb2f30b(0x27d)][_0xb2f30b(0x286)](_0x3bac6d['id'],_0x3bac6d['params'],_0x1148ba);}catch(_0x5d8379){this[_0xb2f30b(0x140)][_0xb2f30b(0x2e6)](_0x5d8379);}}[_0x4db2cd(0x2cc)](_0x31054b,_0x484704){const _0x2eae6f=_0x4db2cd;_0x484704<this[_0x2eae6f(0x2e1)]||(this[_0x2eae6f(0x2e1)]=_0x484704,this[_0x2eae6f(0x1d8)]=Number[_0x2eae6f(0x33a)](_0x31054b[_0x2eae6f(0x2c9)]),this[_0x2eae6f(0x219)]=Number[_0x2eae6f(0x33a)](_0x31054b[_0x2eae6f(0x37a)]));}async[_0x4db2cd(0x2d6)](_0x416c63){const _0x281222=_0x4db2cd;var _0x1957ac,_0x25c397;const _0x2ae44c=Date[_0x281222(0x1e3)]();try{const _0x33b3ca=((_0x1957ac=this[_0x281222(0x19e)][_0x281222(0x147)](_0x3e0c86))==null?void 0x0:_0x1957ac[_0x281222(0x35c)])||Rn,_0x36e95a=(await this[_0x281222(0x1cc)][_0x281222(0x258)](_0x33b3ca,{'body':JSON['stringify']({'taskId':_0x416c63})}))[_0x281222(0x24b)];if(((_0x25c397=_0x36e95a[_0x281222(0x2e6)])==null?void 0x0:_0x25c397[_0x281222(0x20a)])!==Z['OK'])return;this[_0x281222(0x2cc)](_0x36e95a['limitInfo'],_0x2ae44c);}catch(_0x14e240){this[_0x281222(0x140)][_0x281222(0x2e6)](_0x14e240);}}async[_0x4db2cd(0x1b9)](_0xe4a364){const _0x11ba04=_0x4db2cd;var _0x47151c,_0x402dd2;const _0x27704b=Date['now']();try{const _0x360c32=((_0x47151c=this[_0x11ba04(0x19e)][_0x11ba04(0x147)](_0x3e0c86))==null?void 0x0:_0x47151c[_0x11ba04(0x2fd)])||Cn,_0xa998dc=_0xe4a364?_0x360c32+_0x11ba04(0x2cd)+encodeURIComponent(_0xe4a364):_0x360c32,_0x4ab6f7=(await this[_0x11ba04(0x1cc)]['get'](_0xa998dc))['body'];if(((_0x402dd2=_0x4ab6f7[_0x11ba04(0x2e6)])==null?void 0x0:_0x402dd2[_0x11ba04(0x20a)])!==Z['OK'])return;this[_0x11ba04(0x2cc)](_0x4ab6f7[_0x11ba04(0x2e2)],_0x27704b);}catch(_0x13c3cb){this[_0x11ba04(0x140)][_0x11ba04(0x2e6)](_0x13c3cb);}}async[_0x4db2cd(0x150)](_0x38b077){const _0x344252=_0x4db2cd;var _0x4913df,_0x5cc574;const _0x516f51=Date['now']();try{const _0x33ab49=((_0x4913df=this['_configService'][_0x344252(0x147)](_0x3e0c86))==null?void 0x0:_0x4913df['releaseFormulaLimitUrl'])||Dn,_0x1ef9be=(await this[_0x344252(0x1cc)][_0x344252(0x258)](_0x33ab49,{'body':JSON[_0x344252(0x1c4)]({'taskId':_0x38b077})}))[_0x344252(0x24b)];if(((_0x5cc574=_0x1ef9be['error'])==null?void 0x0:_0x5cc574[_0x344252(0x20a)])!==Z['OK'])return;this[_0x344252(0x2cc)](_0x1ef9be['limitInfo'],_0x516f51);}catch(_0x17c39b){this[_0x344252(0x140)][_0x344252(0x2e6)](_0x17c39b);}}[_0x4db2cd(0x32f)](){const _0x5240b2=_0x4db2cd;return this[_0x5240b2(0x1d8)]===0x0?!0x0:this[_0x5240b2(0x1d8)]-this['_currentUsage']>0x0;}[_0x4db2cd(0x2cb)](){const _0x1308a3=_0x4db2cd;this[_0x1308a3(0x234)]&&(clearTimeout(this['_pollingInterval']),this[_0x1308a3(0x234)]=null);}[_0x4db2cd(0x1ab)](){const _0x440670=_0x4db2cd;this['_messageService']['show']({'content':this['_localeService']['t'](_0x440670(0x388)),'type':_0x17c4da[_0x440670(0x189)]});}[_0x4db2cd(0x163)](_0x227613){const _0x2e1484=_0x4db2cd;for(const _0x198053 of _0x227613){const {unitId:_0x16569a,sheetId:_0x564ef1,range:_0x2d5a59}=_0x198053,_0x256852=this[_0x2e1484(0x168)]['getUnit'](_0x16569a);if(!_0x256852)continue;const _0x41dccd=_0x256852['getSheetBySheetId'](_0x564ef1);if(!_0x41dccd)continue;const _0x36b975=_0x41dccd[_0x2e1484(0x347)]();for(let _0x4348e6=_0x2d5a59[_0x2e1484(0x35e)];_0x4348e6<=_0x2d5a59[_0x2e1484(0x374)];_0x4348e6++)for(let _0x2142e=_0x2d5a59['startColumn'];_0x2142e<=_0x2d5a59[_0x2e1484(0x1c1)];_0x2142e++){const _0x2daafb=_0x36b975[_0x2e1484(0x264)](_0x4348e6,_0x2142e);if(_0x2daafb&&(_0x30d206(_0x2daafb['f'])||_0x187138(_0x2daafb['si'])))return!0x0;}}return!0x1;}};Ie=Tn([P(0x0,_0x1769b1(_0x2671aa)),P(0x1,_0x57c9c6),P(0x2,_0x1da30a),P(0x3,_0x1769b1(_0x45d6eb)),P(0x4,_0x26672b),P(0x5,_0x5cccfe),P(0x6,_0x1769b1(_0x1a5fa4))],Ie);var Nn=Object['getOwnPropertyDescriptor'],bn=(_0x18baca,_0x280f58,_0x318a91,_0x5936f6)=>{for(var _0x2d5d61=_0x5936f6>0x1?void 0x0:_0x5936f6?Nn(_0x280f58,_0x318a91):_0x280f58,_0x9a6a00=_0x18baca['length']-0x1,_0x216353;_0x9a6a00>=0x0;_0x9a6a00--)(_0x216353=_0x18baca[_0x9a6a00])&&(_0x2d5d61=_0x216353(_0x2d5d61)||_0x2d5d61);return _0x2d5d61;},Ue=(_0x3d3f74,_0x52db1b)=>(_0x4dab8b,_0x24fa34)=>_0x52db1b(_0x4dab8b,_0x24fa34,_0x3d3f74);let He=class extends _0x3432ff{constructor(_0x310152,_0xe84d98,_0x493a3d){const _0x3ef38c=_0x4db2cd;super(),_(this,_0x3ef38c(0x314),new Map()),_(this,'_saveTaskMap',new Map()),_(this,_0x3ef38c(0x240),!0x1),(this[_0x3ef38c(0x19e)]=_0x310152,this[_0x3ef38c(0x1bc)]=_0xe84d98,this[_0x3ef38c(0x1e9)]=_0x493a3d);}['disableLocalCache'](){const _0x6584eb=_0x4db2cd;this[_0x6584eb(0x240)]=!0x0;}['enableLocalCache'](){const _0x3f9a46=_0x4db2cd;this[_0x3f9a46(0x240)]=!0x1;}get[_0x4db2cd(0x1e2)](){return this['_saveTaskMap'];}['dispose'](){this['exhaustSavingTask']()['then'](()=>super['dispose']());}async[_0x4db2cd(0x373)](_0x15ee15){return this['_disabled']?null:this['_localStorageService']['getItem'](_0x5a6170(_0x15ee15));}async[_0x4db2cd(0x2fa)](_0x2b169c,_0x167c5f){const _0x20a26e=_0x4db2cd;return!!this[_0x20a26e(0x1bc)][_0x20a26e(0x201)](_0x2b169c,_0x167c5f);}[_0x4db2cd(0x231)](_0x523a40,_0x3e9207,_0x45fcf7,_0x3a37ae){const _0x906c7=_0x4db2cd,_0x5cce86=this[_0x906c7(0x1e9)][_0x906c7(0x171)](_0x523a40);this[_0x906c7(0x314)][_0x906c7(0x225)](_0x523a40,{'unitID':_0x523a40,'type':_0x3e9207,'awaitingChangeset':_0x45fcf7,'mutations':_0x3a37ae,'rev':_0x5cce86}),this[_0x906c7(0x238)]['has'](_0x523a40)||this['_scheduleSaving'](_0x523a40);}[_0x4db2cd(0x22c)](_0x17993d){const _0x46776e=_0x4db2cd,_0x59bc94=this['_getSaveTimeout']();_0x59bc94===0x0?this[_0x46776e(0x377)](_0x17993d):this[_0x46776e(0x238)]['set'](_0x17993d,setTimeout(()=>this[_0x46776e(0x377)](_0x17993d),_0x59bc94));}['_getSaveTimeout'](){const _0x1194b9=_0x4db2cd;var _0x30a550;return(_0x30a550=this['_configService'][_0x1194b9(0x147)](_0x1752c6))!=null?_0x30a550:_0x49b43e;}[_0x4db2cd(0x377)](_0x4668d9){const _0x6dfd52=_0x4db2cd,_0x3e7a59=this[_0x6dfd52(0x238)][_0x6dfd52(0x31a)](_0x4668d9);return _0x3e7a59!==void 0x0&&window[_0x6dfd52(0x2f7)](_0x3e7a59),this[_0x6dfd52(0x1bc)]['setItem'](_0x5a6170(_0x4668d9),this[_0x6dfd52(0x314)][_0x6dfd52(0x31a)](_0x4668d9))[_0x6dfd52(0x2e9)](()=>this[_0x6dfd52(0x238)][_0x6dfd52(0x358)](_0x4668d9));}async[_0x4db2cd(0x242)](){const _0x53e627=_0x4db2cd,_0x28c6d9=[];this['_saveTaskMap'][_0x53e627(0x18c)]((_0x382119,_0x205c59)=>{const _0x2ed097=_0x53e627;window['clearTimeout'](_0x382119),_0x28c6d9['push'](this[_0x2ed097(0x377)](_0x205c59)[_0x2ed097(0x2e9)](()=>{const _0x397437=_0x2ed097;this[_0x397437(0x238)][_0x397437(0x358)](_0x205c59);}));}),await Promise['all'](_0x28c6d9);}};He=bn([Ue(0x0,_0x1da30a),Ue(0x1,_0x32527d),Ue(0x2,_0x1769b1(_0x2b64b6))],He);class Ln extends _0x505f3c{constructor(){const _0x1d49a3=_0x4db2cd;super(),_(this,_0x1d49a3(0x36c)),this['urlChange$']=_0x11377c(window,'popstate')[_0x1d49a3(0x1c9)](_0x3c083f(this[_0x1d49a3(0x250)]),_0x2cad0c(0x1),_0x26cfd0(void 0x0));}[_0x4db2cd(0x2c5)](_0x1d1126,_0x22d3c3,_0x3c5aed=!0x1){const _0x3da4d3=_0x4db2cd,_0x2351dc=new URL(window[_0x3da4d3(0x21c)][_0x3da4d3(0x22d)]);_0x2351dc[_0x3da4d3(0x2b7)][_0x3da4d3(0x225)](_0x1d1126,_0x22d3c3),_0x3c5aed?window['history'][_0x3da4d3(0x16f)]('','',_0x2351dc[_0x3da4d3(0x18b)]()):window['history']['pushState']('','',_0x2351dc[_0x3da4d3(0x18b)]());}[_0x4db2cd(0x379)](_0x4d5829,_0x1a288f=!0x1){const _0x250251=_0x4db2cd,_0x225571=new URL(window[_0x250251(0x21c)][_0x250251(0x22d)]);_0x225571['searchParams'][_0x250251(0x358)](_0x4d5829),_0x1a288f?window['history'][_0x250251(0x16f)]('','',_0x225571['toString']()):window[_0x250251(0x16e)][_0x250251(0x1cf)]('','',_0x225571[_0x250251(0x18b)]());}[_0x4db2cd(0x2f1)](_0x3df6fd){const _0x4e39df=_0x4db2cd;var _0x56ac82;return(_0x56ac82=new URL(window[_0x4e39df(0x21c)]['href'])[_0x4e39df(0x2b7)][_0x4e39df(0x31a)](_0x3df6fd))!=null?_0x56ac82:void 0x0;}}var Un=Object[_0x4db2cd(0x300)],Mn=Object[_0x4db2cd(0x2ab)],An=(_0x34275e,_0x57a4e5,_0x21f0f5)=>_0x57a4e5 in _0x34275e?Un(_0x34275e,_0x57a4e5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x21f0f5}):_0x34275e[_0x57a4e5]=_0x21f0f5,Pn=(_0x57a59d,_0x5c76f9,_0x530115,_0x4d9449)=>{const _0x18057c=_0x4db2cd;for(var _0x2501bf=_0x4d9449>0x1?void 0x0:_0x4d9449?Mn(_0x5c76f9,_0x530115):_0x5c76f9,_0x552256=_0x57a59d[_0x18057c(0x148)]-0x1,_0x3ad90e;_0x552256>=0x0;_0x552256--)(_0x3ad90e=_0x57a59d[_0x552256])&&(_0x2501bf=_0x3ad90e(_0x2501bf)||_0x2501bf);return _0x2501bf;},Me=(_0x5b941f,_0x476327)=>(_0x17a581,_0x5a9f4b)=>_0x476327(_0x17a581,_0x5a9f4b,_0x5b941f),wn=(_0x466398,_0x1feb69,_0x2b04a0)=>An(_0x466398,_0x1feb69+'',_0x2b04a0);const yn=_0x4db2cd(0x369);let Ye=class extends _0x553922{constructor(_0x41a3ae=_t,_0x1c4c58,_0x2fe72d,_0x4bbe61){const _0x5823cd=_0x4db2cd;super(),this[_0x5823cd(0x162)]=_0x41a3ae,this[_0x5823cd(0x34f)]=_0x1c4c58,this['_injector']=_0x2fe72d,this[_0x5823cd(0x19e)]=_0x4bbe61;const {..._0x2189f9}=_0x41fb94({},_t,this[_0x5823cd(0x162)]);this[_0x5823cd(0x19e)][_0x5823cd(0x387)](hn,_0x2189f9);}[_0x4db2cd(0x287)](){const _0x34dd53=_0x4db2cd;this[_0x34dd53(0x203)](),this[_0x34dd53(0x1eb)]();}[_0x4db2cd(0x2aa)](){const _0x3af0d9=_0x4db2cd;this[_0x3af0d9(0x1d1)]();}[_0x4db2cd(0x203)](){const _0x537e8e=_0x4db2cd;var _0x200dab;const _0x9969b=[[Ke],[Ie],[de],[he],[ue],[ze],[yt,{'useClass':Ln}],[_0x2288a6,{'useClass':_0x42b98f}],[_0x50d5d8,{'useClass':He}],[ae],[Se],[_e],[H],[$e],[ce]];this[_0x537e8e(0x162)][_0x537e8e(0x1f8)]&&_0x9969b[_0x537e8e(0x1b0)]([le]),_0x104b2f(this['_injector'],_0x3e996a(_0x9969b,(_0x200dab=this[_0x537e8e(0x162)])==null?void 0x0:_0x200dab[_0x537e8e(0x1ff)]));}[_0x4db2cd(0x1d1)](){const _0x1456b8=_0x4db2cd;this[_0x1456b8(0x172)](this[_0x1456b8(0x34f)][_0x1456b8(0x301)](_0x29eb03[_0x1456b8(0x1d2)],[Fe])),this[_0x1456b8(0x172)](this[_0x1456b8(0x34f)][_0x1456b8(0x301)](_0x29eb03[_0x1456b8(0x17b)],[ke]));}[_0x4db2cd(0x1eb)](){const _0x533d69=_0x4db2cd;_0x3a91ad(this[_0x533d69(0x363)],[[H],[ae],[Se],[_e],[ce],[Ie]]),this[_0x533d69(0x162)][_0x533d69(0x1f8)]&&_0x3a91ad(this[_0x533d69(0x363)],[[le]]);}};wn(Ye,'pluginName',yn),Ye=Pn([_0x3591f2(_0x57ce4b),Me(0x1,_0x556bf2),Me(0x2,_0x1769b1(_0x174327)),Me(0x3,_0x1da30a)],Ye);var $n=Object[_0x4db2cd(0x2ab)],xn=(_0x340e18,_0x6038ae,_0x3544af,_0x35dbf9)=>{const _0x74e360=_0x4db2cd;for(var _0xc71dcb=_0x35dbf9>0x1?void 0x0:_0x35dbf9?$n(_0x6038ae,_0x3544af):_0x6038ae,_0x42b462=_0x340e18[_0x74e360(0x148)]-0x1,_0x4f2881;_0x42b462>=0x0;_0x42b462--)(_0x4f2881=_0x340e18[_0x42b462])&&(_0xc71dcb=_0x4f2881(_0xc71dcb)||_0xc71dcb);return _0xc71dcb;},J=(_0x3c0212,_0x3948a6)=>(_0x425348,_0x5b0ec1)=>_0x3948a6(_0x425348,_0x5b0ec1,_0x3c0212);let ut=class extends _0x11765d{constructor(_0x9ddf9f,_0x3fd62a,_0x4bc962,_0x2d8c1d,_0x42bb6c){super(_0x9ddf9f,_0x3fd62a,_0x4bc962,_0x2d8c1d,_0x42bb6c);}async['createSocket'](_0x4bc933){const _0x33639b=_0x4db2cd,_0x2027c5=await this[_0x33639b(0x262)](),_0x2c363f=this[_0x33639b(0x261)](_0x4bc933,_0x2027c5);return this[_0x33639b(0x236)](_0x2c363f);}['_createSocketURL'](_0x32cfd1,_0x18d65b){const _0x61b813=_0x4db2cd,_0x2230cb=typeof window>'u'?new URL(_0x32cfd1):new URL(_0x32cfd1,window[_0x61b813(0x21c)][_0x61b813(0x15d)]);_0x2230cb[_0x61b813(0x2b7)][_0x61b813(0x225)](_0x61b813(0x35a),_0x18d65b);const _0x5d4fbd=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x61b813(0x21c)]['search']);return _0x5d4fbd[_0x61b813(0x31a)](_0x61b813(0x1cd))&&_0x2230cb[_0x61b813(0x2b7)][_0x61b813(0x225)](_0x61b813(0x1cd),_0x5d4fbd[_0x61b813(0x31a)](_0x61b813(0x1cd))),_0x2230cb[_0x61b813(0x18b)]();}async[_0x4db2cd(0x262)](){const _0x34ed27=_0x4db2cd;var _0x174d42,_0xce23a5,_0x3c3382;const _0x3b2705=this[_0x34ed27(0x19e)][_0x34ed27(0x147)](_0x3e0c86),_0x1a048a=(_0x174d42=_0x3b2705==null?void 0x0:_0x3b2705[_0x34ed27(0x253)])!=null?_0x174d42:_0x509bd3;return(_0x3c3382=(_0xce23a5=(await this[_0x34ed27(0x1cc)][_0x34ed27(0x31a)](_0x1a048a,{'headers':{'Content-Type':_0x34ed27(0x2c8)}}))[_0x34ed27(0x24b)])==null?void 0x0:_0xce23a5[_0x34ed27(0x1e6)])!=null?_0x3c3382:'';}};ut=xn([J(0x0,_0x1769b1(_0x174327)),J(0x1,_0x1769b1(_0x45d6eb)),J(0x2,_0x1da30a),J(0x3,_0x5cccfe),J(0x4,_0x57aba9)],ut);var Bn=Object[_0x4db2cd(0x2ab)],Fn=(_0x58d625,_0x284209,_0x5cdda1,_0x5c4c95)=>{for(var _0x17fe90=_0x5c4c95>0x1?void 0x0:_0x5c4c95?Bn(_0x284209,_0x5cdda1):_0x284209,_0x57468b=_0x58d625['length']-0x1,_0x6d931e;_0x57468b>=0x0;_0x57468b--)(_0x6d931e=_0x58d625[_0x57468b])&&(_0x17fe90=_0x6d931e(_0x17fe90)||_0x17fe90);return _0x17fe90;},Ae=(_0x217053,_0x2dcc6c)=>(_0x33af15,_0x5f0ead)=>_0x2dcc6c(_0x33af15,_0x5f0ead,_0x217053);let dt=class extends _0x3432ff{constructor(_0x43f315,_0x5783bf,_0x5fc950){const _0x320b23=_0x4db2cd;super(),this[_0x320b23(0x1a6)]=_0x43f315,this['_httpService']=_0x5783bf,this[_0x320b23(0x19e)]=_0x5fc950;}async[_0x4db2cd(0x192)](_0x451d72,_0x25488a,_0x3d7f33,..._0x9eb082){const _0x5a8003=_0x4db2cd;var _0x5c42bd,_0x28aa60,_0x48b7ff,_0x4dfc24;const _0x320d57=this[_0x5a8003(0x1a6)][_0x5a8003(0x32d)]();if(!_0x320d57)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x2c44e2=((_0x5c42bd=this['_configService']['getConfig'](_0x11b96f))!=null?_0x5c42bd:_0x5afe50)+'/'+_0x451d72+_0x5a8003(0x36b)+_0x25488a,_0x13aa25=new URL(window[_0x5a8003(0x21c)][_0x5a8003(0x22d)]),_0x289451={'scriptId':_0x451d72,'runId':(_0x28aa60=_0x13aa25['searchParams'][_0x5a8003(0x31a)](_0x5a8003(0x1cd)))!=null?_0x28aa60:'','function':_0x25488a,'unitId':_0x320d57[_0x5a8003(0x1ee)](),'argsOfFunction':JSON['stringify'](_0x9eb082),'invokeId':(_0x48b7ff=_0x3d7f33[_0x5a8003(0x237)])!=null?_0x48b7ff:'','executionId':(_0x4dfc24=_0x3d7f33['executionId'])!=null?_0x4dfc24:''};try{const _0x18a9a0=await this[_0x5a8003(0x1cc)]['post'](_0x2c44e2,{'body':_0x289451});return _0x18a9a0['body'][_0x5a8003(0x2e6)]&&_0x18a9a0[_0x5a8003(0x24b)][_0x5a8003(0x2e6)][_0x5a8003(0x20a)]!==Z['OK']?'Failed':_0x18a9a0[_0x5a8003(0x24b)]['result'];}catch{return'Failed';}}};dt=Fn([Ae(0x0,_0x26672b),Ae(0x1,_0x1769b1(_0x45d6eb)),Ae(0x2,_0x1da30a)],dt);const St=0x7530,It=_0x4db2cd(0x311);function _0x24e1(_0x23514a,_0x3a2c99){_0x23514a=_0x23514a-0x140;const _0x28b290=_0x28b2();let _0x24e191=_0x28b290[_0x23514a];return _0x24e191;}class rr extends _0x3432ff{constructor(){const _0x3e7333=_0x4db2cd;super(),_(this,_0x3e7333(0x206),_0x23023b()),_(this,_0x3e7333(0x344),new Set()),_(this,_0x3e7333(0x187),new Map()),_(this,_0x3e7333(0x306),null),_(this,'_clearOtherTimers',new Map()),_(this,'_unitStatus',new Map()),this[_0x3e7333(0x2c0)]();}[_0x4db2cd(0x183)](){const _0x36e970=_0x4db2cd;super[_0x36e970(0x183)](),this[_0x36e970(0x2ff)][_0x36e970(0x18c)]((_0x771992,_0x3e7003)=>this['_removeClearOtherTimer'](_0x3e7003)),this[_0x36e970(0x306)]&&window[_0x36e970(0x376)](this['_heartbeatTimer']);}[_0x4db2cd(0x354)](_0x4d0a17){const _0x4a0b4c=_0x4db2cd;return this[_0x4a0b4c(0x181)](_0x4d0a17)[_0x4a0b4c(0x1c9)](_0x133c00());}[_0x4db2cd(0x228)](_0x2827e1){const _0x11e1d6=_0x4db2cd;this[_0x11e1d6(0x344)][_0x11e1d6(0x31c)]===0x0&&this['_scheduleHeartbeat'](),this[_0x11e1d6(0x344)]['add'](_0x2827e1),this[_0x11e1d6(0x1b7)]({'type':0x0,'memberID':this[_0x11e1d6(0x206)],'unitIDs':[_0x2827e1],'isForwarded':!0x1});}[_0x4db2cd(0x2ee)](_0x443121){const _0x1e9b37=_0x4db2cd;this['_selfUnitIDs'][_0x1e9b37(0x358)](_0x443121),this[_0x1e9b37(0x344)][_0x1e9b37(0x31c)]===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this['_heartbeatTimer']);}[_0x4db2cd(0x2c0)](){const _0x2e66b3=_0x4db2cd;this['disposeWithMe'](_0x53db76(_0x11377c(window,_0x2e66b3(0x329))[_0x2e66b3(0x278)](_0x55c75e=>{const _0x4c68a5=_0x2e66b3;if(_0x55c75e[_0x4c68a5(0x308)]!==It||!_0x55c75e[_0x4c68a5(0x339)])return;const _0x56e641=JSON['parse'](_0x55c75e[_0x4c68a5(0x339)]);this[_0x4c68a5(0x27e)](_0x56e641);}))),window['addEventListener']('unload',()=>this[_0x2e66b3(0x1b7)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x2e66b3(0x2c1)](this['_selfUnitIDs'])}));}[_0x4db2cd(0x27e)](_0x246cd1){const _0x2dcc11=_0x4db2cd;switch(_0x246cd1[_0x2dcc11(0x326)]){case 0x0:this[_0x2dcc11(0x310)](_0x246cd1);break;case 0x1:this['_handleLeaveEvent'](_0x246cd1);break;case 0x2:this['_handleHeartbeatEvent'](_0x246cd1);break;}}[_0x4db2cd(0x310)](_0x1286cd){const _0x188d42=_0x4db2cd,{unitIDs:_0x9c2c84,memberID:_0x143440,isForwarded:_0x2ee962}=_0x1286cd;_0x9c2c84['forEach'](_0x158b06=>{const _0xd308b9=_0x24e1;if(!_0x2ee962&&this[_0xd308b9(0x187)]['has'](_0x158b06)&&this[_0xd308b9(0x181)](_0x158b06)['next'](_0x5c39db[_0xd308b9(0x352)]),!this['_unitOnClients']['has'](_0x158b06)||!this[_0xd308b9(0x187)][_0xd308b9(0x31a)](_0x158b06)['has'](_0x143440)){const _0x4671ad=this[_0xd308b9(0x187)][_0xd308b9(0x31a)](_0x158b06)||new Set();_0x4671ad['add'](_0x143440),this['_unitOnClients'][_0xd308b9(0x225)](_0x158b06,_0x4671ad),this[_0xd308b9(0x36a)](_0x143440);}}),_0x2ee962||this[_0x188d42(0x1b7)]({'type':0x0,'memberID':this[_0x188d42(0x206)],'unitIDs':[...this[_0x188d42(0x344)]],'isForwarded':!0x0});}[_0x4db2cd(0x36a)](_0x427fba){const _0x1a4d4=_0x4db2cd;this['_removeClearOtherTimer'](_0x427fba);const _0x1f3274=window[_0x1a4d4(0x368)](()=>{const _0xbd1157=_0x1a4d4;this[_0xbd1157(0x187)]['forEach'](_0x8936b0=>{_0x8936b0['delete'](_0x427fba);});},St*0x2);this[_0x1a4d4(0x2ff)][_0x1a4d4(0x225)](_0x427fba,_0x1f3274);}['_removeClearOtherTimer'](_0x1dc0bd){const _0x37ec7e=_0x4db2cd;if(this[_0x37ec7e(0x2ff)][_0x37ec7e(0x22e)](_0x1dc0bd)){const _0x174667=this[_0x37ec7e(0x2ff)][_0x37ec7e(0x31a)](_0x1dc0bd);_0x174667&&window['clearTimeout'](_0x174667),this[_0x37ec7e(0x2ff)]['set'](_0x1dc0bd,null);}}[_0x4db2cd(0x196)](_0x4f1904){const _0x2f15fd=_0x4db2cd,{memberID:_0x28443f,unitIDs:_0x39b215}=_0x4f1904;_0x39b215[_0x2f15fd(0x18c)](_0x599975=>{const _0x11342d=_0x2f15fd;var _0x3dc22c;const _0xc0532c=this['_unitOnClients'][_0x11342d(0x31a)](_0x599975);_0xc0532c&&(_0xc0532c['delete'](_0x28443f),(_0x3dc22c=this[_0x11342d(0x181)](_0x599975))==null||_0x3dc22c[_0x11342d(0x2dc)](_0xc0532c[_0x11342d(0x31c)]===0x0?_0x5c39db[_0x11342d(0x332)]:_0x5c39db[_0x11342d(0x352)]));}),this['_removeClearOtherTimer'](_0x28443f);}[_0x4db2cd(0x389)](_0x370474){const _0x49eb4b=_0x4db2cd;this[_0x49eb4b(0x36a)](_0x370474[_0x49eb4b(0x166)]);}['_send'](_0x45411f){const _0x546ca2=_0x4db2cd;localStorage['setItem'](It,JSON[_0x546ca2(0x1c4)](_0x45411f));}[_0x4db2cd(0x266)](){const _0x46128f=_0x4db2cd;this[_0x46128f(0x306)]=window[_0x46128f(0x263)](()=>{const _0x2202b5=_0x46128f;this[_0x2202b5(0x1b7)]({'type':0x2,'memberID':this[_0x2202b5(0x206)]});},St);}[_0x4db2cd(0x181)](_0xa37b70){const _0x1e39b7=_0x4db2cd;return this[_0x1e39b7(0x2d0)][_0x1e39b7(0x22e)](_0xa37b70)||this[_0x1e39b7(0x2d0)]['set'](_0xa37b70,new _0x5b52bd(_0x5c39db[_0x1e39b7(0x332)])),this['_unitStatus'][_0x1e39b7(0x31a)](_0xa37b70);}}export{ut as BrowserCollaborationSocketService,ce as CollaborationDataLoaderController,ae as DesktopCollaborationStatusDisplayController,yt as IURLService,dt as RemoteUniscriptService,tn as SheetCollabCursorShape,Ye as UniverCollaborationClientUIPlugin,rr as WebBrowserSingleActiveUnitService,Ln as WebURLService};
|
|
1
|
+
const _0x336b69=_0x1218;(function(_0x17c306,_0x25eccc){const _0x41b06c=_0x1218,_0x173e45=_0x17c306();while(!![]){try{const _0x45349c=parseInt(_0x41b06c(0x20f))/0x1*(parseInt(_0x41b06c(0x23d))/0x2)+parseInt(_0x41b06c(0x1c0))/0x3+-parseInt(_0x41b06c(0x304))/0x4*(-parseInt(_0x41b06c(0x3b8))/0x5)+-parseInt(_0x41b06c(0x2c2))/0x6*(-parseInt(_0x41b06c(0x1ae))/0x7)+parseInt(_0x41b06c(0x2d6))/0x8+parseInt(_0x41b06c(0x205))/0x9*(-parseInt(_0x41b06c(0x2d4))/0xa)+-parseInt(_0x41b06c(0x2d1))/0xb*(parseInt(_0x41b06c(0x22b))/0xc);if(_0x45349c===_0x25eccc)break;else _0x173e45['push'](_0x173e45['shift']());}catch(_0x631b71){_0x173e45['push'](_0x173e45['shift']());}}}(_0x4ae8,0xed9e2));var Yt=Object[_0x336b69(0x374)],Wt=(_0x36bb20,_0x5b8ef4,_0x342cf7)=>_0x5b8ef4 in _0x36bb20?Yt(_0x36bb20,_0x5b8ef4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x342cf7}):_0x36bb20[_0x5b8ef4]=_0x342cf7,_=(_0x5d0c13,_0x40d0d9,_0x170735)=>Wt(_0x5d0c13,typeof _0x40d0d9!='symbol'?_0x40d0d9+'':_0x40d0d9,_0x170735);import{jsx as _0x20ffbc,jsxs as _0x5ba8d4}from'react/jsx-runtime';import{CollaborationStatus as _0x25c0b2,CollaborationSessionService as _0x27b9ee,CollaborationController as _0x3064e9,DataLoaderService as _0xdc040f,MemberService as _0x5e87a1,SessionStatus as _0x20543d,ILocalCacheService as _0x3e0fc1,CollaborationUIEventService as _0xa5e1f8,CollaborationUIEventId as _0xa1351b,DocCollaborationEntity as _0x337689,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x41e428,getLocalCacheKey as _0xb6c497,LOCAL_CACHE_INTERVAL as _0x442912,LOCAL_CACHE_INTERVAL_KEY as _0x4324cd,UniverCollaborationClientPlugin as _0x54bfce,CollaborationSocketService as _0x28ce85,DEFAULT_WS_SESSION_TICKET_URL as _0x3de23a,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x3a4421,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x1dee24,UnitStatus as _0x2fce61}from'@univerjs-pro/collaboration-client';import{LocaleService as _0xa807ff,IUniverInstanceService as _0x2f0580,Inject as _0x1f3b74,Injector as _0x55778f,Disposable as _0x47faf0,createIdentifier as _0x23c17d,ILogService as _0x46a5d6,ICommandService as _0x357354,Optional as _0x36ee56,RxDisposable as _0x3740ac,Workbook as _0x44de5a,DOC_RANGE_TYPE as _0x1244aa,debounce as _0x17280b,Rectangle as _0x14473f,DisposableCollection as _0x32499b,toDisposable as _0x2e6fe6,UniverInstanceType as _0x17d204,generateRandomId as _0x20f381,COLORS as _0x2db046,ColorKit as _0x1530d2,ThemeService as _0x2d8190,fromEventSubject as _0x3f4092,Tools as _0x2e1b8b,CommandType as _0x772392,IConfigService as _0x5535b0,CanceledError as _0x5a3906,isFormulaString as _0x5a048f,isFormulaId as _0x36a326,ILocalStorageService as _0x57b3cd,DependentOn as _0x2dfe5c,Plugin as _0x3a70dd,merge as _0x4338d3,registerDependencies as _0x4bba14,mergeOverrideWithDependencies as _0x2f9ba7,touchDependencies as _0xdb9170}from'@univerjs/core';import{useObservable as _0x41e882,useDependency as _0x45cec5,IUIPartsService as _0x30d18e,BuiltInUIPart as _0x1683bb,connectInjector as _0x1809e3,IBeforeCloseService as _0x18cfb9,IMessageService as _0x44f301,INotificationService as _0x465975}from'@univerjs/ui';import{BehaviorSubject as _0x2b7d7c,switchMap as _0x37e715,of as _0x146fb2,takeUntil as _0xa786ea,debounceTime as _0x308d02,Subject as _0x28089e,filter as _0x4289d3,merge as _0xd15dc1,combineLatest as _0x76606a,fromEvent as _0x528a9c,shareReplay as _0x57c9ba,mapTo as _0x4d0f5f,distinctUntilChanged as _0x3bd83f}from'rxjs';import{Tooltip as _0x5f4841,clsx as _0x5e878b,MessageType as _0x1e0dd6}from'@univerjs/design';import{useRef as _0x54ce02,createElement as _0x49b531,forwardRef as _0x8be1fc,useCallback as _0x7863db}from'react';import{IRemoteInstanceService as _0x19f63}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x54f668,RefRangeService as _0x2ad149,SetSelectionsOperation as _0xafce45,SheetsSelectionsService as _0x14a79e,EffectRefRangId as _0x1ae548,handleIRemoveRow as _0x3ab4a6,handleIRemoveCol as _0x4551c6,handleMoveRange as _0x452071,handleInsertRow as _0x328033,handleInsertRangeMoveRight as _0x17d92e,handleInsertRangeMoveDown as _0x1fa1a8,handleInsertCol as _0xb8b10b,handleDeleteRangeMoveUp as _0x4214be,handleDeleteRangeMoveLeft as _0x301ab8,runRefRangeMutations as _0x1b59de}from'@univerjs/sheets';import{Shape as _0x3fbe23,Rect as _0x4c96b3,getColor as _0x31f559,RegularPolygon as _0x422925,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x48b565,Vector2 as _0x44dd9b,SHEET_VIEWPORT_KEY as _0x3e6743,IRenderManagerService as _0x4b34f5}from'@univerjs/engine-render';import{HTTPService as _0x348fb4,ISocketService as _0x4c05fd,WebSocketService as _0x3cc20b}from'@univerjs/network';import{IDocClipboardService as _0x48b5f8,NodePositionConvertToCursor as _0x294d8d,NodePositionConvertToRectRange as _0x32b79b,TEXT_RANGE_LAYER_INDEX as _0xf0767,SetDocZoomRatioOperation as _0x5a5e2d,DocIMEInputManagerService as _0x260945,DocStateChangeManagerService as _0x3c247d}from'@univerjs/docs-ui';import{IImageIoService as _0x2bd3cf}from'@univerjs/drawing';import{ITransformService as _0x16b512,CollaborationEvent as _0x211eaa,isTransformMutationFailure as _0x3715d3,isTransformMutationsWithChangesetSuccess as _0x5aa1a3,RevisionService as _0x41ca19,ISnapshotServerService as _0x1b188b}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x562414,RichTextEditingMutation as _0x1c2f72,DocSelectionManagerService as _0x2babfd,DocSkeletonManagerService as _0x2b11b8}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x9ae94d,serializeRangeWithSheet as _0x40bb83,FormulaExecuteStageType as _0x5c6274,FormulaExecutedStateType as _0x51f4d5,SetFormulaCalculationStartMutation as _0x8ebdf5,SetFormulaCalculationNotificationMutation as _0x4826e4}from'@univerjs/engine-formula';function _0x4ae8(){const _0x297c1f=['APPLY_REJECT','_colorIndex','#FFF','ALREADY_EXISTS','_docStateChangeManagerService','reconnect','_transformHistoryAndStateStack','/run/','map','\x20at\x20','getVpScrollXYInfoByPosToVp','round','transformByState','findNodePositionByCharIndex','unload','_toggleOffline','fillRule','url(#$1','SOCKET_FAILED_RETRY','unsubscribe','LICENSE_EXPORT_SIZE_EXCEEDED','with','sessionStatus$','data','collabCursorState$','add','ENTITLE_COUPON_EXPIRED','saveTaskMap','cursorInfo','_initUserListener','registerRefRange','_unitStatus','_colorAssignService','lineno','_refreshCollabCursors','_initStatusComponent','getStateCache','YUUMI_CONNECTOR_URL_NOT_FOUND','startsWith','addEventListener','_collaborationSessionService','_hasFormulaInDirtyRanges','InsertRowCommandId','_getFormulaLimitStatus','COMPLETION_FINISHED','unitId','getCollabCursors$','beginPath','getUnhiddenWorksheets','setItem','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_localCacheService','getCurrent','text','startFormulaLimitUrl','getformulaLimitStatusUrl','UNIVER_SHEET','pluginName','replaceState','saveOfflineData','startRow','formula.calculation.unable','_range','doc.mutation.rich-text-editing','getUnitStatus$','_heartbeatTimer','YUUMI_UNABLE_LOAD_URL','_applyCommand','_taskIds','save','_memberID','_notificationService','sessionTicket','color','set','collabStatus.notCollab','_localeService','_handleJoinEvent','UNIVER_DOC','message','ENTITLE_NEED_BILLING_ADDRESS','1em','2382voorFA','YUUMI_URL_COL_OUT_OF_RANGE','CONFLICT','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','memberID','subscribeEvent','setShapeProps','NOT_COLLAB','getOffsetConfig','range','registerRenderModule','addObjects','_renderManagerService','find','filename','2540527fXVxdk','session.collaboration-timeout','top','27870ZJzzWC','_config','10106328owzFWa','collab-text-range-','_eventUnsubscribe','endColumn','_messageService','AWAITING_WITH_PENDING','CHANGESET_REVISION_CONFILICT','clearTimeout','getUndoRedoMutationParamsCache','_getScale','_initDependencies','attrs','Failed','_document','_injector','_initStatusListener','storage','getValue','FromArray','debug','popstate','0\x200\x2016\x2016','[LogService\x20Error]:\x20','_configService','undoState','mutations','InsertRangeMoveRightCommandId','_handleEvent','status$','UNRECOGNIZED','fillText','syncEditingCollabCursor','div','getItem','_setupBeforeClosingHandler','parse','use','getTypeOfUnitAdded$','_initEntityListener','path','_disabled','all','loadOfflineData','stringify','ACTIVE_UNIT_EVENT_CHANNEL','selections','80zJisxx','getAncestorScale','_collabCursorController','_setupSubUnitSync','collab-text-anchor-','onCommandExecuted','UPDATE_CURSOR','height','transformStateCache','univer-flex\x20univer-items-center','PERMISSION_DENIED','getTypeOfUnitDisposed$','black','_send','_uiPartsService','asObservable','roomMembers','evenodd','_unitOnClients','arc','getConfig','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','clearInterval','setActiveRange','getActiveSheet','collabStatus.offline','_name','setTimeout','getCurrentUnitForType','_docClipboardService','_initUnhandledRejectionListener','_scheduleHeartbeat','Loading','_initCommandInterceptor','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','YUUMI_ASYNCIO_CANCELLED','resize','defs','getCollabEntity$','name','width','ENTITLE_USE_COUPON_NOT_1ST_TRADE','dispose$','?taskId=','_beforeCloseService','sheetID','_docSyncEditingCollabCursorService','some','JOIN_ROOM_FAILED','/universer-api/license/formula/limit/done','requireSession','functionsExecutedState','_backgroundColor','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','beforeCommandExecuted','jiqing.500','Warning','ERROR_AGAIN','createInstance','INVALID_INVITE_CODE','_showGuardMessage','collabStatus.synced','getMemberID','_httpService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_checkCalculationAvailable','_updateLocalCursor','_render','urlChange$','_doCreateSocket','shift','_getSaveTimeout','saveImage','_collaborationUIEventService','isArray','_assignedColors','getUnitId','CURRENT_STATUS_CANNOT_OPERATE','APPLY_NON_SEQUENTIAL_REVISION','_removeCollabCursors','loadUnit','init','isEditing','svg','column','INVALID_ARGUMENT','getMergeData','getViewport','collabStatus.fetchMiss','_anchorDot','onLocalMutation','collaboration.offline-data-not-saved','setAlpha','imageSourceType','join','uni.network.url-service','row','values','NOT_FOUND','bind','_labelPosition','toString','bottom','getSkeleton','setParam','UniverIcon','fill','_currentUsage','push','RECT','focused$','m1Prime','defineProperty','show','body','split','disposeUnit','runOnServer','ONLINE','getMember','REDEMPTION_USER_REDEEM_TIMES_EXCEED','source','subUnitId','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','drawWith','defIds','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_clearPolling','_cursorShapes','ENTITLE_COUPON_USED_UP','dispose','limitInfo','transformMutationsWithChangeset','purple.300','_getSheetObject','onTransformChange$','getOwnPropertyDescriptor','setInterval','getUniverSheetInstance','_getMergeRange','_toggleOnline','translate(.97)','ENTITLE_INSUFFICIENT_QUOTA','getDocRanges','socket$','_registerDependencies','_logService','code','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_updateCollabCursors','SNAPSHOT_INVALID_SNAPSHOT','_docSkeletonManagerService','LOGIN_TOKEN_PROCESSING_FAILED','_collabCursorState$','exhaustSavingTask','string','params','PENDING','key','selection','_pollingInterval','_commandService','error','deepClone','_selfUnitIDs','location','REDEMPTION_INVALID_CODE','m2Prime','xlink:href','idSuffix','_handleHover','_imageIoService','_createSocketURL','_initResize','LICENSE_DISTRO_REJECTED','_docSkeleton','_ensureSubject','_getSessionTicket','hovered','APPLY_REVISION_CONFILICT','27815NNTJZF','_updateSubUnitFromURLParams','length','disposeWithMe','forEach','SUBMIT_CHANGESET_TIMEOUT','INVITE_CODE_HAS_BEEN_UES','_initEvent','formula.calculation.started','get','_urlService','ticket','getSheetBySheetId','_id','history','off-line-icon','PY_RUNTIME_SCRIPT_ERROR','univerjs-icon\x20univerjs-icon-','getFocusedUnit','_monkeyPatchLogService','delete','ENTITLE_CHAT_LIMIT_EXCEED','ranges','newValue','onPointerLeave$','collab-rect-range-','_registerRenderDependencies','on-line-icon_clip0_910_349','transformSelections','substring','OFFLINE','backgroundColor','currentTheme$','registerComponent','_saveTaskMap','collabStatus.syncing','LICENSE_IMPORT_SIZE_EXCEEDED','DATA_SOURCE_TOO_LARGE','CLOSE_ROOM','_draw','_startSheetCollabCursor','enableLocalCache','send','_refRangeService','_drawAnchor','isActive','_status$','getActiveRange','_docTransformStateCacheService','displayName','_drawRectRange','setStateCache','entries','REDEMPTION_CODE_HAS_BEEN_CREATED','AWAITING','PAYMENT_CHANNEL_NOT_SUPPORT','blue.400','random','_startCalculationLimit','has','CONNECTOR_DATA_TOO_LARGE','executeCommand','LOGIN_FAILED','url(#on-line-icon_clip0_910_349)','[RemoteUniscriptService]:\x20no\x20focused\x20unit','SNAPSHOT_HAS_BEEN_REMOVED','APPLY_DUPLICATED','getUnit','measureText','stageInfo','_handleHeartbeatEvent','lineTo','disableLocalCache','OTHER_CLIENTS_EDITING','currentSkeleton$','/universer-api/license/formula/limit/start','registerBeforeClose','_dataLoaderService','assignAColorForMemberID','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_textBubble','11956KRZUCf','whenReady','_onCursorDelete','_setFormulaLimitStatus','pushState','actions','_collabSessionService','EMAIL_VERIFY_CODE_MISMATCH','TEXT','YUUMI_SUBSCRIPTION_NOT_FOUND','now','subscribe','mask','_revisionService','redoState','INVITE_CODE_REQUIRED','getSheetId','makeDirty','3768222sQQcsF','_cursors','restore','_init','_initWindowErrorListener','_scheduleClearOtherTimer','M0\x200H16V16H0z','WECHAT_HAS_BEEN_BOUND','setConfig','roomMembers$','dirtyRanges','toRgbString','moveTo','min','fillStyle','/universer-api/frontend/logs','_docTransformSelectionsService','_removeClearOtherTimer','_onCursorUpdate','_roomMembers$','onMouseMove','USER_IS_ANONYMOUS','USER_NOT_INVITED_CODE','includes','getRenderById','_maxFormulaLimit','MOBILE_HAS_BEEN_BOUND','formula.calculation.waiting','_localStorageService','INVITE_CODE_ALREADY_BOUND','_online','removeParam','_lastResponseTimestamp','unshift','_collaborationController','transform','LICENSE_MAX_UNITS_EXCEEDED','getCellMatrix','AUTHORIZE_CODE_ILLEGAL','enableFrontendLog','parseInt','releaseFormulaLimitUrl','YUUMI_NO_CUBOID_FOR_QUESTION','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','YUUMI_AI_RUN_FAILED','stage','textRanges','_univerInstanceService','skeleton','getColorFromTheme','getParam','red.300','docStateChange$','_sheetSkeletonManagerService','OffLineIcon','_hovered','_themeService','then','getRelativeToViewportCoord','pipe','flatMap','removeEventListener','endRow','_clearOtherTimers','runId','/universer-api/license/formula/limit/status','unitID','off-line-icon_clip0_910_343','_scene','2070EcygUp','ENTITLE_DUP_SUBSCRIPTION','_instanceService','_color','UNAUTHENTICATED','currentColor','unit','Error','activeSheet$','_shapes','1omZrBj','invokeId','current','subunit','collaboration.single-unit.warning','addHandlerCallback','_hover','_docTransformIMECacheService','OTHER_CLIENT_EDITING','href','clipPath','transformMutation','onPointerMove$','REDEMPTION_CODE_FULLY_REDEEMED','_releaseCalculationLimit','url(#off-line-icon_clip0_910_343)','white','from','Unknown\x20user','_session','catch','onStarting','START_CALCULATION','tag','_drawTextRange','_uploadLog','next','colno','96wmjIse','univer-mr-2\x20univer-flex\x20univer-text-xl','_entities','USER_NOT_FOUND','APPLY_PERMISSION_DENIED','_updateURLWithCurrentState','post','[CollaborationDataLoaderController]','ENTITLE_REPORT_LIMIT_EXCEED','assign','size','REDEMPTION_USER_NOT_ELIGIBLE','_handleLeaveEvent','on-line-icon','YUUMI_ALL_TABLES_IS_INVALID','UNDEFINED','InsertRangeMoveDownCommandId','getCurrentSelections','306494NIYinO','_initCommandExecutedListener','_transformPreviousActiveRange','getRangePointData','_memberService','override','INTERNAL_ERROR','stack','collab-client.tooltip.reconnect','_hideTimer','_context','_saveCache','transformRemoteChangeset','colorChannel1','_entityInit$','getCellPositionByOffset','max','_syncEditingCollabCursorService','wsSessionTicketUrl','addObject','session.will-retry','unhandledrejection','transformIMECache','_getAnchorBounding','startColumn','onPointerEnter$','font','collaboration.closeRoom','hide','replaceDocRanges','_anchor','REDEMPTION_CODE_INACTIVE','cursorInfo$','event$','...','application/json','searchParams','complete','type','executionId','entityInit$','[Unhandled\x20Rejection]:\x20','ENTITLE_INVALID_COUPON_CODE','EMAIL_HAS_BEEN_BOUND','[Window\x20Error]:\x20','_startDocCollabCursor','updateOfflineData','YUUMI_TABLE_NOT_FOUND_IN_UNIT','http://www.w3.org/2000/svg','_cursorInfo$','_transformService'];_0x4ae8=function(){return _0x297c1f;};return _0x4ae8();}import{map as _0x12b32b,filter as _0x416b1a,throttleTime as _0x568e9b,takeUntil as _0xf486d3,switchMap as _0x3920b9}from'rxjs/operators';import{SheetSkeletonManagerService as _0x35db75,getCoordByCell as _0x1a92b1,getSheetObject as _0x21d26c}from'@univerjs/sheets-ui';function Ge({ref:_0x8304d1,..._0x3b53a9}){const _0x46756f=_0x336b69,{icon:_0x57bd56,id:_0x3291c6,className:_0x289f47,extend:_0x4c4ec2,..._0x2b7d1b}=_0x3b53a9,_0x316b04=(_0x46756f(0x3c9)+_0x3291c6+'\x20'+(_0x289f47||''))['trim'](),_0x312384=_0x54ce02('_'+vi());return At(_0x57bd56,''+_0x3291c6,{'defIds':_0x57bd56[_0x46756f(0x381)],'idSuffix':_0x312384[_0x46756f(0x211)]},{'ref':_0x8304d1,'className':_0x316b04,..._0x2b7d1b},_0x4c4ec2);}function At(_0x4709b3,_0x5c7d58,_0x378f28,_0x394040,_0xc27bed){const _0x118856=_0x336b69;return _0x49b531(_0x4709b3['tag'],{'key':_0x5c7d58,...gi(_0x4709b3,_0x378f28,_0xc27bed),..._0x394040},(Ei(_0x4709b3,_0x378f28)['children']||[])[_0x118856(0x278)]((_0x394924,_0x309e30)=>At(_0x394924,_0x5c7d58+'-'+_0x4709b3[_0x118856(0x226)]+'-'+_0x309e30,_0x378f28,void 0x0,_0xc27bed)));}function gi(_0x25388b,_0x168c46,_0x30fc4b){const _0x3541a9=_0x336b69,_0x135a6f={..._0x25388b[_0x3541a9(0x2e1)]};_0x30fc4b!=null&&_0x30fc4b[_0x3541a9(0x24a)]&&_0x135a6f[_0x3541a9(0x36e)]===_0x3541a9(0x24a)&&(_0x135a6f[_0x3541a9(0x36e)]=_0x30fc4b[_0x3541a9(0x24a)]),_0x25388b[_0x3541a9(0x226)]===_0x3541a9(0x1ba)&&_0x135a6f['id']&&(_0x135a6f['id']=_0x135a6f['id']+_0x168c46[_0x3541a9(0x3ad)]),Object[_0x3541a9(0x3ec)](_0x135a6f)[_0x3541a9(0x3bc)](([_0x560e83,_0xda56c7])=>{const _0x3ab4e2=_0x3541a9;_0x560e83==='mask'&&typeof _0xda56c7=='string'&&(_0x135a6f[_0x560e83]=_0xda56c7['replace'](/url\(#(.*)\)/,_0x3ab4e2(0x281)+_0x168c46[_0x3ab4e2(0x3ad)]+')'));});const {defIds:_0x47587f}=_0x168c46;return!_0x47587f||_0x47587f[_0x3541a9(0x3ba)]===0x0||(_0x25388b[_0x3541a9(0x226)]===_0x3541a9(0x2fa)&&_0x135a6f['xlink:href']&&(_0x135a6f[_0x3541a9(0x3ac)]=_0x135a6f[_0x3541a9(0x3ac)]+_0x168c46['idSuffix']),Object[_0x3541a9(0x3ec)](_0x135a6f)[_0x3541a9(0x3bc)](([_0x5018b7,_0x506198])=>{const _0x1b67af=_0x3541a9;typeof _0x506198==_0x1b67af(0x39f)&&(_0x135a6f[_0x5018b7]=_0x506198['replace'](/url\(#(.*)\)/,'url(#$1'+_0x168c46[_0x1b67af(0x3ad)]+')'));})),_0x135a6f;}function Ei(_0x1fb03d,_0x48f45b){const _0x46f9e5=_0x336b69;var _0x19d088;const {defIds:_0x387003}=_0x48f45b;return!_0x387003||_0x387003['length']===0x0?_0x1fb03d:_0x1fb03d[_0x46f9e5(0x226)]===_0x46f9e5(0x329)&&((_0x19d088=_0x1fb03d['children'])!=null&&_0x19d088[_0x46f9e5(0x3ba)])?{..._0x1fb03d,'children':_0x1fb03d['children'][_0x46f9e5(0x278)](_0x440c8f=>typeof _0x440c8f[_0x46f9e5(0x2e1)]['id']=='string'&&_0x387003&&_0x387003[_0x46f9e5(0x1d7)](_0x440c8f['attrs']['id'])?{..._0x440c8f,'attrs':{..._0x440c8f[_0x46f9e5(0x2e1)],'id':_0x440c8f[_0x46f9e5(0x2e1)]['id']+_0x48f45b[_0x46f9e5(0x3ad)]}}:_0x440c8f)}:_0x1fb03d;}function vi(){const _0x27266a=_0x336b69;return Math[_0x27266a(0x3f1)]()[_0x27266a(0x369)](0x24)[_0x27266a(0x3d5)](0x2,0x8);}Ge[_0x336b69(0x3e9)]=_0x336b69(0x36d);const pi={'tag':_0x336b69(0x357),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x336b69(0x2eb),'width':_0x336b69(0x2c1),'height':_0x336b69(0x2c1)},'children':[{'tag':'g','attrs':{'clipPath':_0x336b69(0x21e)},'children':[{'tag':_0x336b69(0x2fd),'attrs':{'stroke':_0x336b69(0x20a),'d':_0x336b69(0x326),'strokeLinecap':'round','strokeLinejoin':_0x336b69(0x27b),'strokeWidth':1.2}}]},{'tag':_0x336b69(0x329),'attrs':{},'children':[{'tag':_0x336b69(0x219),'attrs':{'id':_0x336b69(0x203)},'children':[{'tag':_0x336b69(0x2fd),'attrs':{'fill':_0x336b69(0x21f),'d':_0x336b69(0x1c6)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},Pt=_0x8be1fc(function(_0xe9bec2,_0x450b4f){const _0x56e0ee=_0x336b69;return _0x49b531(Ge,Object[_0x56e0ee(0x234)]({},_0xe9bec2,{'id':_0x56e0ee(0x3c7),'ref':_0x450b4f,'icon':pi}));});Pt[_0x336b69(0x3e9)]=_0x336b69(0x1f6);const Oi={'tag':_0x336b69(0x357),'attrs':{'xmlns':_0x336b69(0x26d),'fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x336b69(0x2c1),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x336b69(0x3f7)},'children':[{'tag':_0x336b69(0x2fd),'attrs':{'stroke':'currentColor','d':_0x336b69(0x2c5),'strokeLinecap':'round','strokeLinejoin':_0x336b69(0x27b),'strokeWidth':1.2}}]},{'tag':_0x336b69(0x329),'attrs':{},'children':[{'tag':_0x336b69(0x219),'attrs':{'id':_0x336b69(0x3d3)},'children':[{'tag':'path','attrs':{'fill':_0x336b69(0x21f),'d':_0x336b69(0x1c6),'transform':_0x336b69(0x391)}}]}]}],'defIds':[_0x336b69(0x3d3)]},wt=_0x8be1fc(function(_0x1019c2,_0x3b52c2){const _0x2dcc31=_0x336b69;return _0x49b531(Ge,Object['assign']({},_0x1019c2,{'id':_0x2dcc31(0x238),'ref':_0x3b52c2,'icon':Oi}));});wt[_0x336b69(0x3e9)]='OnLineIcon';function Ti(_0x2daed1){const _0x1b9d87=_0x336b69;switch(_0x2daed1){case _0x25c0b2[_0x1b9d87(0x3d6)]:return _0x1b9d87(0x31d);case _0x25c0b2[_0x1b9d87(0x2c4)]:return'collabStatus.conflict';case _0x25c0b2['FETCH_MISS']:return _0x1b9d87(0x35c);case _0x25c0b2['NOT_COLLAB']:return _0x1b9d87(0x2bb);case _0x25c0b2[_0x1b9d87(0x3ee)]:case _0x25c0b2[_0x1b9d87(0x2db)]:return _0x1b9d87(0x3db);case _0x25c0b2['SYNCED']:case _0x25c0b2[_0x1b9d87(0x3a1)]:return _0x1b9d87(0x341);}}function Ci(_0x3c4aa7){const _0x5f276d=_0x336b69,{status$:_0x462767}=_0x3c4aa7,_0x4e529e=_0x41e882(_0x462767,_0x25c0b2['NOT_COLLAB']),_0x254ac3=_0x45cec5(_0xa807ff),_0x38b9bf=_0x45cec5(_0x27b9ee),_0x153c29=_0x4e529e!==_0x25c0b2[_0x5f276d(0x3d6)],_0x34b18e=_0x254ac3['t'](Ti(_0x4e529e)),_0x4d755b=_0x153c29?_0x20ffbc(wt,{}):_0x20ffbc(Pt,{}),_0x35c31b=_0x7863db(()=>{const _0x392c1d=_0x5f276d;_0x153c29||_0x38b9bf[_0x392c1d(0x275)]();},[_0x153c29,_0x38b9bf]);function _0x603b6(){const _0x12179a=_0x5f276d;return _0x5ba8d4(_0x12179a(0x2f6),{'className':_0x12179a(0x30d),'onClick':_0x35c31b,'children':[_0x20ffbc(_0x12179a(0x2f6),{'className':_0x5e878b(_0x12179a(0x22c),{'univer-text-green-500':_0x153c29,'univer-text-red-500':!_0x153c29}),'children':_0x4d755b}),_0x20ffbc(_0x12179a(0x2f6),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x34b18e})]});}return _0x153c29?_0x603b6():_0x20ffbc(_0x5f4841,{'title':_0x254ac3['t'](_0x5f276d(0x245)),'children':_0x603b6()});}var Ri=Object[_0x336b69(0x38c)],Di=(_0x3fe91c,_0x557dbc,_0x144dc3,_0x3a80f3)=>{const _0x144f7c=_0x336b69;for(var _0x2d25ec=_0x3a80f3>0x1?void 0x0:_0x3a80f3?Ri(_0x557dbc,_0x144dc3):_0x557dbc,_0x39d7a3=_0x3fe91c[_0x144f7c(0x3ba)]-0x1,_0x1f9ebd;_0x39d7a3>=0x0;_0x39d7a3--)(_0x1f9ebd=_0x3fe91c[_0x39d7a3])&&(_0x2d25ec=_0x1f9ebd(_0x2d25ec)||_0x2d25ec);return _0x2d25ec;},se=(_0x12b4d6,_0x10829e)=>(_0x4239fa,_0xaedc69)=>_0x10829e(_0x4239fa,_0xaedc69,_0x12b4d6);let ae=class extends _0x47faf0{constructor(_0x5accfe,_0x345c4e,_0x2d083b,_0x2c6953){const _0x584a1f=_0x336b69;super(),_(this,_0x584a1f(0x3e6),new _0x2b7d7c(_0x25c0b2[_0x584a1f(0x2c9)])),(this[_0x584a1f(0x1ef)]=_0x5accfe,this[_0x584a1f(0x2e4)]=_0x345c4e,this[_0x584a1f(0x1e2)]=_0x2d083b,this[_0x584a1f(0x312)]=_0x2c6953,this[_0x584a1f(0x293)](),this[_0x584a1f(0x2e5)]());}['_initStatusListener'](){const _0x52f28b=_0x336b69;this[_0x52f28b(0x3bb)](this[_0x52f28b(0x1ef)][_0x52f28b(0x372)]['pipe'](_0x37e715(()=>{const _0x517705=_0x52f28b,_0x5ad0e2=this[_0x517705(0x1ef)][_0x517705(0x3ca)]();return _0x5ad0e2?this['_collaborationController'][_0x517705(0x32a)](_0x5ad0e2['getUnitId']()):_0x146fb2(null);}),_0x37e715(_0x1a3495=>_0x1a3495?_0x1a3495[_0x52f28b(0x2f2)]:_0x146fb2(_0x25c0b2[_0x52f28b(0x2c9)])))[_0x52f28b(0x1b9)](_0x20d040=>{const _0x5bb907=_0x52f28b;this[_0x5bb907(0x3e6)][_0x5bb907(0x229)](_0x20d040);}));}[_0x336b69(0x293)](){const _0x2fd2ce=_0x336b69;this[_0x2fd2ce(0x3bb)](this['_uiPartsService'][_0x2fd2ce(0x3d9)](_0x1683bb['HEADER_MENU'],()=>_0x1809e3(Ni({'status$':this['_status$'][_0x2fd2ce(0x313)]()}),this[_0x2fd2ce(0x2e4)])));}};ae=Di([se(0x0,_0x2f0580),se(0x1,_0x1f3b74(_0x55778f)),se(0x2,_0x1f3b74(_0x3064e9)),se(0x3,_0x30d18e)],ae);function Ni(_0x5cbc1a){const {status$:_0xe78135}=_0x5cbc1a;return function(){return _0x20ffbc(Ci,{'status$':_0xe78135});};}const yt=_0x23c17d(_0x336b69(0x363));var bi=Object[_0x336b69(0x38c)],Li=(_0x4cb302,_0x3389eb,_0x3b0edb,_0x353137)=>{for(var _0x43ac05=_0x353137>0x1?void 0x0:_0x353137?bi(_0x3389eb,_0x3b0edb):_0x3389eb,_0x26159b=_0x4cb302['length']-0x1,_0x2329ef;_0x26159b>=0x0;_0x26159b--)(_0x2329ef=_0x4cb302[_0x26159b])&&(_0x43ac05=_0x2329ef(_0x43ac05)||_0x43ac05);return _0x43ac05;},K=(_0x563611,_0x138898)=>(_0x1928f0,_0x3b71aa)=>_0x138898(_0x1928f0,_0x3b71aa,_0x563611);let ce=class extends _0x3740ac{constructor(_0x352ddb,_0x4fa12c,_0xc2e622,_0x34553e,_0x1b46eb){const _0x4ec2f2=_0x336b69;super(),this[_0x4ec2f2(0x3c2)]=_0x352ddb,this[_0x4ec2f2(0x396)]=_0x4fa12c,this[_0x4ec2f2(0x3a5)]=_0xc2e622,this[_0x4ec2f2(0x1aa)]=_0x34553e,_0x1b46eb?_0x1b46eb==null||_0x1b46eb[_0x4ec2f2(0x1af)]()[_0x4ec2f2(0x1f9)](()=>this['_init']()):(this[_0x4ec2f2(0x396)][_0x4ec2f2(0x2e9)]('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x336b69(0x1c3)](){const _0x139de7=_0x336b69,_0x13a289=this[_0x139de7(0x3c2)][_0x139de7(0x1f2)](_0x139de7(0x20b)),_0x54fca8=this[_0x139de7(0x3c2)][_0x139de7(0x1f2)](_0x139de7(0x263)),_0x26b3ed=this[_0x139de7(0x3c2)][_0x139de7(0x1f2)]('subunit');if(!_0x13a289||!_0x54fca8){this['_logService'][_0x139de7(0x2e9)](_0x139de7(0x232),_0x139de7(0x319));return;}const _0x33f6a4=await this['_dataLoaderService'][_0x139de7(0x354)](_0x13a289,Number(_0x54fca8),_0x26b3ed);_0x33f6a4&&_0x33f6a4 instanceof _0x44de5a&&this['_setupSubUnitSync'](_0x33f6a4);}async[_0x336b69(0x307)](_0xa7117a){const _0x52a0e5=_0x336b69;await this['_updateSubUnitFromURLParams'](_0xa7117a),_0xa7117a[_0x52a0e5(0x20d)][_0x52a0e5(0x1fb)](_0xa786ea(this[_0x52a0e5(0x32e)]))[_0x52a0e5(0x1b9)](_0x57c2e7=>{const _0x6b8706=_0x52a0e5;_0x57c2e7&&this[_0x6b8706(0x230)](_0x57c2e7);}),this[_0x52a0e5(0x3c2)]['urlChange$'][_0x52a0e5(0x1fb)](_0xa786ea(this[_0x52a0e5(0x32e)]))[_0x52a0e5(0x1b9)](()=>this[_0x52a0e5(0x3b9)](_0xa7117a));}[_0x336b69(0x230)](_0xc2235b,_0x15a38e=!0x1){const _0x45d0cd=_0x336b69,_0x47b220=this[_0x45d0cd(0x3c2)][_0x45d0cd(0x1f2)](_0x45d0cd(0x212));_0xc2235b[_0x45d0cd(0x1be)]()!==_0x47b220&&this[_0x45d0cd(0x3c2)][_0x45d0cd(0x36c)](_0x45d0cd(0x212),_0xc2235b[_0x45d0cd(0x1be)](),_0x15a38e);}async[_0x336b69(0x3b9)](_0x49365c){const _0x4a6559=_0x336b69;var _0x3cfa10;const _0x294c67=this[_0x4a6559(0x3c2)][_0x4a6559(0x1f2)]('subunit');if(!_0x294c67||!_0x49365c['getSheetBySheetId'](_0x294c67)){const _0x3eda3b=_0x49365c[_0x4a6559(0x2a0)]()[0x0],_0x3910f7=_0x49365c[_0x4a6559(0x3c4)](_0x3eda3b);if(!_0x3910f7)return;this[_0x4a6559(0x230)](_0x3910f7,!0x0),await this[_0x4a6559(0x3a5)]['executeCommand'](_0x54f668['id'],{'unitId':_0x49365c[_0x4a6559(0x350)](),'subUnitId':_0x3eda3b});return;}((_0x3cfa10=_0x49365c[_0x4a6559(0x31c)]())==null?void 0x0:_0x3cfa10['getSheetId']())!==_0x294c67&&await this[_0x4a6559(0x3a5)]['executeCommand'](_0x54f668['id'],{'unitId':_0x49365c[_0x4a6559(0x350)](),'subUnitId':_0x294c67});}};ce=Li([K(0x0,yt),K(0x1,_0x46a5d6),K(0x2,_0x357354),K(0x3,_0x1f3b74(_0xdc040f)),K(0x4,_0x36ee56(_0x19f63))],ce);var Ui=Object[_0x336b69(0x38c)],Mi=(_0x365ce5,_0x106a45,_0x27d284,_0x2b0114)=>{const _0x1821a3=_0x336b69;for(var _0x5b9e17=_0x2b0114>0x1?void 0x0:_0x2b0114?Ui(_0x106a45,_0x27d284):_0x106a45,_0x36f657=_0x365ce5[_0x1821a3(0x3ba)]-0x1,_0x372601;_0x36f657>=0x0;_0x36f657--)(_0x372601=_0x365ce5[_0x36f657])&&(_0x5b9e17=_0x372601(_0x5b9e17)||_0x5b9e17);return _0x5b9e17;},rt=(_0x4f3007,_0x451861)=>(_0x3e6686,_0x3a6580)=>_0x451861(_0x3e6686,_0x3a6580,_0x4f3007);let $e=class extends _0x3740ac{constructor(_0x4a5904,_0x27ac1f){const _0x1a9f05=_0x336b69;super(),this[_0x1a9f05(0x321)]=_0x4a5904,this['_imageIoService']=_0x27ac1f,this[_0x1a9f05(0x1c3)]();}[_0x336b69(0x1c3)](){const _0x12d56f=_0x336b69,_0x373fba=this;this[_0x12d56f(0x3bb)](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x2f13ed=>{const _0x54a3da=_0x12d56f,_0x1ba6c4=await _0x373fba[_0x54a3da(0x3af)][_0x54a3da(0x34c)](_0x2f13ed);return _0x1ba6c4?{'source':_0x1ba6c4[_0x54a3da(0x37d)],'imageSourceType':_0x1ba6c4[_0x54a3da(0x361)]}:null;}}));}};$e=Mi([rt(0x0,_0x48b5f8),rt(0x1,_0x2bd3cf)],$e);const ot=[_0x336b69(0x389),_0x336b69(0x33b),'green.600',_0x336b69(0x1f3),_0x336b69(0x3f0),'yellow.400'];class Ke extends _0x47faf0{constructor(){const _0x29a2c4=_0x336b69;super(...arguments),_(this,_0x29a2c4(0x34f),new Map()),_(this,_0x29a2c4(0x271),0x0);}['assignAColorForMemberID'](_0x20eb49){const _0x14d1cc=_0x336b69;if(this[_0x14d1cc(0x34f)][_0x14d1cc(0x3f3)](_0x20eb49))return this[_0x14d1cc(0x34f)][_0x14d1cc(0x3c1)](_0x20eb49);const _0x367f83=ot[this['_colorIndex']];return this[_0x14d1cc(0x271)]=(this[_0x14d1cc(0x271)]+0x1)%ot[_0x14d1cc(0x3ba)],this[_0x14d1cc(0x34f)][_0x14d1cc(0x2ba)](_0x20eb49,_0x367f83),_0x367f83;}}function $t(_0x487501){const _0x126d08=_0x336b69;let _0x5c7f76='';for(const _0x3f854f of _0x487501){const {startOffset:_0x185da9,endOffset:_0x63c0bf,isActive:_0x9f8a7,rangeType:_0x3a8928,segmentId:_0x4d9eaa,segmentPage:_0x2d2cc5}=_0x3f854f;_0x5c7f76[_0x126d08(0x3ba)]&&(_0x5c7f76+=','),_0x5c7f76+=_0x185da9+':'+_0x63c0bf+':'+(_0x9f8a7?'1':'0')+':'+_0x3a8928+':'+_0x4d9eaa+':'+_0x2d2cc5;}return _0x5c7f76;}function Ai(_0x43b3c0){const _0x1a600f=_0x336b69,_0x25c1b8=_0x43b3c0[_0x1a600f(0x377)](','),_0x4e2fe0=[];for(const _0x2c752f of _0x25c1b8){const [_0x2d204f,_0x1df300,_0x521f2a,_0x1e05df,_0x514aff,_0x41e2fb]=_0x2c752f['split'](':');_0x4e2fe0[_0x1a600f(0x370)]({'startOffset':Number(_0x2d204f),'endOffset':Number(_0x1df300),'collapsed':_0x2d204f===_0x1df300,'isActive':_0x521f2a==='1','rangeType':_0x1e05df===_0x1244aa[_0x1a600f(0x1b6)]?_0x1244aa['TEXT']:_0x1244aa[_0x1a600f(0x371)],'segmentId':typeof _0x514aff=='string'?String(_0x514aff):'','segmentPage':Number(_0x41e2fb!=null?_0x41e2fb:-0x1)});}return _0x4e2fe0[_0x1a600f(0x333)](_0x2adc86=>_0x2adc86['isActive'])||(_0x4e2fe0[0x0][_0x1a600f(0x3e5)]=!0x0),_0x4e2fe0;}class ze extends _0x3740ac{constructor(){const _0x28ad0b=_0x336b69;super(...arguments),_(this,_0x28ad0b(0x39d),new _0x2b7d7c(null)),_(this,_0x28ad0b(0x288),this[_0x28ad0b(0x39d)][_0x28ad0b(0x313)]());}[_0x336b69(0x2f5)](_0x229739){const {unitID:_0xee255f,memberID:_0x5c4fad,textRanges:_0x439b46}=_0x229739,_0x2ce8ba=$t(_0x439b46);if(_0x2ce8ba==='')return;const _0x6e5d2b={'unitID':_0xee255f,'memberID':_0x5c4fad,'selection':_0x2ce8ba};this['_collabCursorState$']['next'](_0x6e5d2b);}}var Pi=Object['getOwnPropertyDescriptor'],wi=(_0x3a59b5,_0x579afc,_0x3554a3,_0x2e6cce)=>{for(var _0x431b6f=_0x2e6cce>0x1?void 0x0:_0x2e6cce?Pi(_0x579afc,_0x3554a3):_0x579afc,_0x4787af=_0x3a59b5['length']-0x1,_0x5138a7;_0x4787af>=0x0;_0x4787af--)(_0x5138a7=_0x3a59b5[_0x4787af])&&(_0x431b6f=_0x5138a7(_0x431b6f)||_0x431b6f);return _0x431b6f;},A=(_0x31b081,_0x143f1e)=>(_0x17af91,_0x2df61d)=>_0x143f1e(_0x17af91,_0x2df61d,_0x31b081);const yi=0x12c,$i=0x64;let xe=class extends _0x3740ac{constructor(_0x98f446,_0x1d0678,_0x3270c8,_0x5e091e,_0x2fa53f,_0x23191a,_0x4ca6af,_0xeeeab8,_0x22bdde){const _0x4fbce0=_0x336b69;super(),_(this,'_online',!0x1),_(this,'_init',!0x1),_(this,_0x4fbce0(0x26e),new _0x2b7d7c(new Map())),_(this,_0x4fbce0(0x25d),this[_0x4fbce0(0x26e)][_0x4fbce0(0x313)]()),_(this,_0x4fbce0(0x1d3),new _0x2b7d7c([])),_(this,'roomMembers$',this[_0x4fbce0(0x1d3)]['pipe'](_0x308d02(yi))),_(this,_0x4fbce0(0x346),_0x17280b(_0x24ed97=>{const _0x41b301=_0x4fbce0,_0x38473d={'eventID':_0x211eaa[_0x41b301(0x30a)],'data':{'unitID':this[_0x41b301(0x202)],'memberID':this[_0x41b301(0x222)]['getMemberID'](),'selection':$t(_0x24ed97)}};this[_0x41b301(0x222)][_0x41b301(0x3e2)](_0x38473d,this[_0x41b301(0x202)]);},$i)),(this[_0x4fbce0(0x202)]=_0x98f446,this[_0x4fbce0(0x222)]=_0x1d0678,this[_0x4fbce0(0x2e4)]=_0x3270c8,this[_0x4fbce0(0x290)]=_0x5e091e,this[_0x4fbce0(0x241)]=_0x2fa53f,this[_0x4fbce0(0x24e)]=_0x23191a,this[_0x4fbce0(0x26f)]=_0x4ca6af,this['_univerInstanceService']=_0xeeeab8,this[_0x4fbce0(0x3a5)]=_0x22bdde);}get[_0x336b69(0x28c)](){const _0x5cca29=_0x336b69;return this[_0x5cca29(0x26e)]['getValue']();}get[_0x336b69(0x314)](){const _0x1ed6a5=_0x336b69;return this['_roomMembers$'][_0x1ed6a5(0x2e7)]();}[_0x336b69(0x386)](){const _0x8d64f1=_0x336b69;super[_0x8d64f1(0x386)](),this['_cursorInfo$'][_0x8d64f1(0x229)](new Map()),this[_0x8d64f1(0x26e)][_0x8d64f1(0x262)](),this['_roomMembers$'][_0x8d64f1(0x229)]([]),this[_0x8d64f1(0x1d3)]['complete']();}[_0x336b69(0x355)](){const _0x1e988b=_0x336b69;this[_0x1e988b(0x1c3)]||(this[_0x1e988b(0x1c3)]=!0x0,this[_0x1e988b(0x222)][_0x1e988b(0x286)][_0x1e988b(0x1fb)](_0xa786ea(this[_0x1e988b(0x32e)]))[_0x1e988b(0x1b9)](_0x549552=>{const _0x4d2359=_0x1e988b;_0x549552===_0x20543d[_0x4d2359(0x37a)]?this[_0x4d2359(0x390)]():this['_toggleOffline']();}),this[_0x1e988b(0x222)]['event$']['pipe'](_0xa786ea(this['dispose$']))['subscribe'](_0x396d8e=>{const _0x4a40c3=_0x1e988b,_0x2b68d5=_0x396d8e['eventID'];_0x2b68d5===_0x211eaa[_0x4a40c3(0x30a)]&&this[_0x4a40c3(0x1d2)](_0x396d8e),_0x2b68d5===_0x211eaa['USERS_LEAVE']&&this[_0x4a40c3(0x1b0)](_0x396d8e);}),this[_0x1e988b(0x3bb)](this['_commandService'][_0x1e988b(0x309)](_0x5ae820=>{const _0x19d2e5=_0x1e988b,_0x14ca3f=_0x5ae820[_0x19d2e5(0x3a0)];_0x14ca3f!=null&&this[_0x19d2e5(0x1de)]&&_0x5ae820['id']===_0x562414['id']&&_0x14ca3f[_0x19d2e5(0x29d)]===this[_0x19d2e5(0x202)]&&_0x14ca3f[_0x19d2e5(0x356)]===!0x1&&_0x14ca3f['ranges'][_0x19d2e5(0x3ba)]>0x0&&this[_0x19d2e5(0x346)](_0x14ca3f[_0x19d2e5(0x3ce)]);})),this['_syncEditingCollabCursorService'][_0x1e988b(0x288)]['pipe'](_0xa786ea(this['dispose$']))[_0x1e988b(0x1b9)](_0x2123d3=>{const _0x3671a7=_0x1e988b;if((_0x2123d3==null?void 0x0:_0x2123d3[_0x3671a7(0x202)])!==this[_0x3671a7(0x202)])return;const _0x236361={'eventID':_0x211eaa[_0x3671a7(0x30a)],'data':_0x2123d3};this[_0x3671a7(0x1d2)](_0x236361);}),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x2b9830=>{const _0x4eb543=_0x1e988b;if(_0x2b9830[_0x4eb543(0x3a0)]==null)return;const _0x3b90d6=_0x2b9830[_0x4eb543(0x3a0)];if(_0x2b9830['id']!==_0x1c2f72['id']||_0x3b90d6[_0x4eb543(0x29d)]!==this[_0x4eb543(0x202)])return;const _0x486c17={'id':_0x4eb543(0x2af),'params':_0x3b90d6},_0x49520e=this[_0x4eb543(0x28c)];for(const [_0x3ab3d8,_0xb913]of _0x49520e){const _0x3cca5a={'id':_0x4eb543(0x2af),'params':{'unitId':this[_0x4eb543(0x202)],'actions':null,'textRanges':_0xb913[_0x4eb543(0x3ce)]}},_0x1290df=this[_0x4eb543(0x26f)]['transformMutation'](_0x486c17,_0x3cca5a,!0x1);if(_0x3715d3(_0x1290df))throw _0x1290df[_0x4eb543(0x3a6)];_0x49520e[_0x4eb543(0x2ba)](_0x3ab3d8,{..._0xb913,'ranges':_0x1290df[_0x4eb543(0x3ab)]['params'][_0x4eb543(0x1ee)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x49520e);});})));}['_onCursorUpdate'](_0x1f45d0){const _0x1e6778=_0x336b69;var _0xcf4c95,_0x5cc7a4;const {memberID:_0x325ffa,selection:_0x5b80a7}=_0x1f45d0[_0x1e6778(0x287)],_0x3c32df=Ai(_0x5b80a7),_0x192da2=(_0x5cc7a4=(_0xcf4c95=this[_0x1e6778(0x241)][_0x1e6778(0x37b)](this['unitID'],_0x325ffa))==null?void 0x0:_0xcf4c95['name'])!=null?_0x5cc7a4:'Unknown\x20user',_0x3ed616={'color':this['_colorAssignService'][_0x1e6778(0x1ab)](_0x325ffa),'name':_0x192da2,'ranges':_0x3c32df},_0x1082b9=this['cursorInfo'];_0x1082b9[_0x1e6778(0x2ba)](_0x325ffa,_0x3ed616),this[_0x1e6778(0x26e)][_0x1e6778(0x229)](_0x1082b9);}[_0x336b69(0x1b0)](_0x54d07b){const _0x5cb560=_0x336b69,{memberID:_0x425dad}=_0x54d07b[_0x5cb560(0x287)],_0x5d3a96=this[_0x5cb560(0x28c)];_0x5d3a96['delete'](_0x425dad),this[_0x5cb560(0x26e)][_0x5cb560(0x229)](_0x5d3a96);}[_0x336b69(0x390)](){const _0x6129=_0x336b69;var _0x3262ae;if(this[_0x6129(0x1de)]=!0x0,((_0x3262ae=this[_0x6129(0x1ef)][_0x6129(0x3ca)]())==null?void 0x0:_0x3262ae[_0x6129(0x350)]())!==this[_0x6129(0x202)])return;const _0x3f670a=this['_injector'][_0x6129(0x3c1)](_0x2babfd)[_0x6129(0x393)]();Array['isArray'](_0x3f670a)&&_0x3f670a['length']>0x0&&this[_0x6129(0x346)](_0x3f670a);}['_toggleOffline'](){const _0x454a2f=_0x336b69;this[_0x454a2f(0x1de)]=!0x1;}};xe=wi([A(0x2,_0x1f3b74(_0x55778f)),A(0x3,_0x1f3b74(Ke)),A(0x4,_0x1f3b74(_0x5e87a1)),A(0x5,_0x1f3b74(ze)),A(0x6,_0x16b512),A(0x7,_0x2f0580),A(0x8,_0x357354)],xe);var xi=Object['getOwnPropertyDescriptor'],Bi=(_0x56259f,_0x3c49df,_0x4cf911,_0x2e5921)=>{const _0x451380=_0x336b69;for(var _0x51e9d5=_0x2e5921>0x1?void 0x0:_0x2e5921?xi(_0x3c49df,_0x4cf911):_0x3c49df,_0x570a9d=_0x56259f[_0x451380(0x3ba)]-0x1,_0xbc2e31;_0x570a9d>=0x0;_0x570a9d--)(_0xbc2e31=_0x56259f[_0x570a9d])&&(_0x51e9d5=_0xbc2e31(_0x51e9d5)||_0x51e9d5);return _0x51e9d5;},B=(_0x11563c,_0x55fdab)=>(_0x5cbd9e,_0x4526c8)=>_0x55fdab(_0x5cbd9e,_0x4526c8,_0x11563c);function _0x1218(_0x5979bf,_0x250e4b){_0x5979bf=_0x5979bf-0x1a4;const _0x4ae861=_0x4ae8();let _0x12183d=_0x4ae861[_0x5979bf];return _0x12183d;}const Fi=0x12c,ki=0x64,Hi=()=>{let _0xfca55e=[],_0x143deb=!0x1;return _0x1e416c=>{_0xfca55e['push'](_0x1e416c),_0x143deb||(_0x143deb=!0x0,setTimeout(()=>{const _0x33d16d=_0x1218;_0xfca55e[_0x33d16d(0x3bc)](_0x3da052=>_0x3da052()),_0xfca55e=[],_0x143deb=!0x1;}));};};let Be=class extends _0x3740ac{constructor(_0x5df7cf,_0x2255a7,_0x5e5733,_0xd3edb0,_0x1e6fd0,_0x4797b2,_0x502de0,_0x152393){const _0x113162=_0x336b69;super(),_(this,_0x113162(0x1de),!0x1),_(this,_0x113162(0x1c3),!0x1),_(this,_0x113162(0x26e),new _0x2b7d7c(new Map())),_(this,_0x113162(0x25d),this['_cursorInfo$'][_0x113162(0x313)]()),_(this,_0x113162(0x1d3),new _0x2b7d7c([])),_(this,_0x113162(0x1c9),this[_0x113162(0x1d3)][_0x113162(0x1fb)](_0x308d02(Fi))),_(this,_0x113162(0x346),_0x17280b((_0xb4e895,_0x59bbbe)=>{const _0x274d30=_0x113162,_0x3f1555={'eventID':_0x211eaa[_0x274d30(0x30a)],'data':{'unitID':this[_0x274d30(0x202)],'memberID':this[_0x274d30(0x222)][_0x274d30(0x342)](),'selection':_0x40bb83(_0xb4e895,_0x59bbbe[_0x274d30(0x2cb)])}};this[_0x274d30(0x222)][_0x274d30(0x3e2)](_0x3f1555,this['unitID']);},ki)),(this[_0x113162(0x202)]=_0x5df7cf,this[_0x113162(0x222)]=_0x2255a7,this[_0x113162(0x2e4)]=_0x5e5733,this[_0x113162(0x290)]=_0xd3edb0,this[_0x113162(0x241)]=_0x1e6fd0,this[_0x113162(0x1ef)]=_0x4797b2,this[_0x113162(0x3a5)]=_0x502de0,this[_0x113162(0x3e3)]=_0x152393);}get[_0x336b69(0x28c)](){const _0x363b71=_0x336b69;return this[_0x363b71(0x26e)][_0x363b71(0x2e7)]();}get[_0x336b69(0x314)](){const _0x41687d=_0x336b69;return this[_0x41687d(0x1d3)][_0x41687d(0x2e7)]();}[_0x336b69(0x386)](){const _0x9b738=_0x336b69;super['dispose'](),this[_0x9b738(0x26e)][_0x9b738(0x229)](new Map()),this[_0x9b738(0x26e)]['complete'](),this[_0x9b738(0x1d3)][_0x9b738(0x229)]([]),this[_0x9b738(0x1d3)][_0x9b738(0x262)]();}[_0x336b69(0x355)](){const _0x5740b7=_0x336b69;this[_0x5740b7(0x1c3)]||(this[_0x5740b7(0x1c3)]=!0x0,this['_session'][_0x5740b7(0x286)][_0x5740b7(0x1fb)](_0xa786ea(this[_0x5740b7(0x32e)]))[_0x5740b7(0x1b9)](_0x2be595=>{const _0x5a6aa0=_0x5740b7;_0x2be595===_0x20543d[_0x5a6aa0(0x37a)]?this[_0x5a6aa0(0x390)]():this[_0x5a6aa0(0x27f)]();}),this[_0x5740b7(0x222)]['event$']['pipe'](_0xa786ea(this['dispose$']))[_0x5740b7(0x1b9)](_0xb696cb=>{const _0x5e623b=_0x5740b7,_0x3a1227=_0xb696cb['eventID'];_0x3a1227===_0x211eaa[_0x5e623b(0x30a)]&&this[_0x5e623b(0x1d2)](_0xb696cb),_0x3a1227===_0x211eaa['USERS_LEAVE']&&this['_onCursorDelete'](_0xb696cb);}),this['_onRefRangeChange'](),this[_0x5740b7(0x3bb)](this[_0x5740b7(0x3a5)][_0x5740b7(0x309)](_0x36f46a=>{const _0x5ab567=_0x5740b7;if(this['_online']&&_0x36f46a['id']===_0xafce45['id']&&_0x36f46a[_0x5ab567(0x3a0)][_0x5ab567(0x29d)]===this['unitID']){const _0x173d5f=_0x36f46a[_0x5ab567(0x3a0)];this[_0x5ab567(0x346)](_0x173d5f[_0x5ab567(0x37e)],_0x173d5f[_0x5ab567(0x303)][0x0]);}})));}[_0x336b69(0x1d2)](_0xd15395){const _0xf6b0f8=_0x336b69;var _0x5a6be7,_0x7de061;const {memberID:_0x5da9dd,selection:_0x36b147}=_0xd15395['data'],{sheetName:_0x2eeadc,range:_0x5dfaa6}=_0x9ae94d(_0x36b147),_0x280c00={'name':(_0x7de061=(_0x5a6be7=this[_0xf6b0f8(0x241)]['getMember'](this[_0xf6b0f8(0x202)],_0x5da9dd))==null?void 0x0:_0x5a6be7[_0xf6b0f8(0x32b)])!=null?_0x7de061:_0xf6b0f8(0x221),'range':this[_0xf6b0f8(0x38f)](_0x2eeadc,_0x5dfaa6),'sheetID':_0x2eeadc,'color':this[_0xf6b0f8(0x290)][_0xf6b0f8(0x1ab)](_0x5da9dd),'selection':_0x36b147},_0x59074f=this[_0xf6b0f8(0x28c)];_0x59074f['set'](_0x5da9dd,_0x280c00),this[_0xf6b0f8(0x26e)][_0xf6b0f8(0x229)](_0x59074f);}[_0x336b69(0x1b0)](_0x2a8fbd){const _0x4f4a83=_0x336b69,{memberID:_0x5f1b81}=_0x2a8fbd[_0x4f4a83(0x287)],_0xc3f92b=this[_0x4f4a83(0x28c)];_0xc3f92b[_0x4f4a83(0x3cc)](_0x5f1b81),this[_0x4f4a83(0x26e)][_0x4f4a83(0x229)](_0xc3f92b);}['_getMergeRange'](_0x5d1494,_0x80e36a){const _0x587cfd=_0x336b69;var _0x4e4f10,_0x4e4764;const _0x11388e=(_0x4e4764=(_0x4e4f10=this[_0x587cfd(0x1ef)][_0x587cfd(0x38e)](this['unitID']))==null?void 0x0:_0x4e4f10['getSheetBySheetId'](_0x5d1494))==null?void 0x0:_0x4e4764[_0x587cfd(0x35a)]();return(_0x11388e==null?void 0x0:_0x11388e[_0x587cfd(0x2cf)](_0x3f2be4=>_0x14473f['contains'](_0x3f2be4,_0x80e36a)))||_0x80e36a;}['_onRefRangeChange'](){const _0x15b309=_0x336b69,_0x1abc53=new _0x32499b(),_0x16ac26=Hi(),_0x4f5cc1=()=>{const _0x15dbe6=_0x1218;_0x1abc53[_0x15dbe6(0x386)]();const _0x2f800a=(_0x35ac6b,_0x1f1eab,_0x29a5b7,_0x6d6492)=>{const _0x3fe7f7=_0x15dbe6;let _0x3f7073=[];switch(_0x35ac6b['id']){case _0x1ae548['DeleteRangeMoveLeftCommandId']:{_0x3f7073=_0x301ab8(_0x35ac6b,_0x6d6492);break;}case _0x1ae548['DeleteRangeMoveUpCommandId']:{_0x3f7073=_0x4214be(_0x35ac6b,_0x6d6492);break;}case _0x1ae548['InsertColCommandId']:{_0x3f7073=_0xb8b10b(_0x35ac6b,_0x6d6492);break;}case _0x1ae548[_0x3fe7f7(0x23b)]:{_0x3f7073=_0x1fa1a8(_0x35ac6b,_0x6d6492);break;}case _0x1ae548[_0x3fe7f7(0x2f0)]:{_0x3f7073=_0x17d92e(_0x35ac6b,_0x6d6492);break;}case _0x1ae548[_0x3fe7f7(0x29a)]:{_0x3f7073=_0x328033(_0x35ac6b,_0x6d6492);break;}case _0x1ae548['MoveRangeCommandId']:{_0x3f7073=_0x452071(_0x35ac6b,_0x6d6492);break;}case _0x1ae548['RemoveColCommandId']:{_0x3f7073=_0x4551c6(_0x35ac6b,_0x6d6492);break;}case _0x1ae548['RemoveRowCommandId']:{_0x3f7073=_0x3ab4a6(_0x35ac6b,_0x6d6492);break;}}const _0x3291cb=_0x1b59de(_0x3f7073,_0x6d6492),_0x23fe92=this[_0x3fe7f7(0x28c)]['get'](_0x1f1eab);if(_0x23fe92&&_0x3291cb){const _0x4df635={..._0x23fe92,'range':_0x3291cb};this['cursorInfo'][_0x3fe7f7(0x2ba)](_0x1f1eab,_0x4df635),_0x16ac26(()=>{const _0x4731fb=_0x3fe7f7,_0x5d8a38=this[_0x4731fb(0x3e3)][_0x4731fb(0x28e)](_0x3291cb,_0x9a75ab=>(_0x5d8a38['dispose'](),_0x2f800a(_0x9a75ab,_0x1f1eab,_0x29a5b7,_0x3291cb)));_0x1abc53[_0x4731fb(0x289)](_0x5d8a38);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x15dbe6(0x3bc)]((_0x789e89,_0x307d5d)=>{const _0x5140f2=_0x15dbe6,{range:_0x4ab5dd,sheetID:_0x1b8fd0}=_0x789e89,_0x42932a=this['_refRangeService'][_0x5140f2(0x28e)](_0x4ab5dd,_0x5744b9=>(_0x42932a[_0x5140f2(0x386)](),_0x2f800a(_0x5744b9,_0x307d5d,_0x1b8fd0,_0x4ab5dd)));_0x1abc53[_0x5140f2(0x289)](_0x42932a);});};this[_0x15b309(0x3bb)](_0x2e6fe6(this[_0x15b309(0x26e)][_0x15b309(0x1b9)](()=>{_0x4f5cc1();})));}[_0x336b69(0x390)](){const _0x5a2117=_0x336b69;var _0x430149,_0x52a199;if(this[_0x5a2117(0x1de)]=!0x0,((_0x430149=this[_0x5a2117(0x1ef)][_0x5a2117(0x3ca)]())==null?void 0x0:_0x430149[_0x5a2117(0x350)]())!==this[_0x5a2117(0x202)])return;const _0x3f2414=(_0x52a199=this['_injector'][_0x5a2117(0x3c1)](_0x14a79e)[_0x5a2117(0x23c)]())==null?void 0x0:_0x52a199[0x0],_0x4bd223=this[_0x5a2117(0x1ef)][_0x5a2117(0x320)](_0x17d204[_0x5a2117(0x2a8)])[_0x5a2117(0x31c)]();_0x3f2414&&_0x4bd223&&this[_0x5a2117(0x346)](_0x4bd223[_0x5a2117(0x1be)](),_0x3f2414);}[_0x336b69(0x27f)](){this['_online']=!0x1;}};Be=Bi([B(0x2,_0x1f3b74(_0x55778f)),B(0x3,_0x1f3b74(Ke)),B(0x4,_0x1f3b74(_0x5e87a1)),B(0x5,_0x2f0580),B(0x6,_0x357354),B(0x7,_0x1f3b74(_0x2ad149))],Be);var Yi=Object[_0x336b69(0x38c)],Wi=(_0x4f49c3,_0x30e92a,_0x135ae9,_0x5019c5)=>{for(var _0x16d0ae=_0x5019c5>0x1?void 0x0:_0x5019c5?Yi(_0x30e92a,_0x135ae9):_0x30e92a,_0x4236f1=_0x4f49c3['length']-0x1,_0x501cf0;_0x4236f1>=0x0;_0x4236f1--)(_0x501cf0=_0x4f49c3[_0x4236f1])&&(_0x16d0ae=_0x501cf0(_0x16d0ae)||_0x16d0ae);return _0x16d0ae;},Ce=(_0xf9e121,_0x485cf9)=>(_0x11b8db,_0x4b4721)=>_0x485cf9(_0x11b8db,_0x4b4721,_0xf9e121);let H=class extends _0x3740ac{constructor(_0xc7a8e7,_0x11a6ba,_0x33271e){const _0x4bb83f=_0x336b69;super(),_(this,_0x4bb83f(0x22d),new Map()),_(this,_0x4bb83f(0x24b),new _0x28089e()),(this['_univerInstanceService']=_0xc7a8e7,this['_injector']=_0x11a6ba,this['_collabSessionService']=_0x33271e,this[_0x4bb83f(0x1c3)]());}[_0x336b69(0x386)](){const _0x2f6b6f=_0x336b69;super[_0x2f6b6f(0x386)](),this[_0x2f6b6f(0x24b)][_0x2f6b6f(0x262)](),this[_0x2f6b6f(0x22d)]['forEach'](_0x3adef8=>_0x3adef8['dispose']());}['getCollabCursors$'](_0x14eb2b){const _0x2555f8=_0x336b69;return this['_entities'][_0x2555f8(0x3f3)](_0x14eb2b)?this[_0x2555f8(0x22d)][_0x2555f8(0x3c1)](_0x14eb2b)[_0x2555f8(0x25d)]:this['_entityInit$'][_0x2555f8(0x1fb)](_0x4289d3(_0x3c766d=>_0x3c766d[_0x2555f8(0x202)]===_0x14eb2b),_0x37e715(_0x46feb9=>_0x46feb9[_0x2555f8(0x25d)]));}[_0x336b69(0x1c3)](){const _0x4d7ad8=_0x336b69;this[_0x4d7ad8(0x1ef)][_0x4d7ad8(0x2fb)](_0x17d204['UNIVER_SHEET'])[_0x4d7ad8(0x1fb)](_0xa786ea(this['dispose$']))['subscribe'](async _0x5ed103=>{const _0xf0ff62=_0x4d7ad8,_0x41a6be=_0x5ed103[_0xf0ff62(0x350)](),_0x381451=await this[_0xf0ff62(0x3e0)](_0x41a6be);this[_0xf0ff62(0x24b)]['next'](_0x381451),this[_0xf0ff62(0x22d)][_0xf0ff62(0x2ba)](_0x41a6be,_0x381451);}),this['_univerInstanceService'][_0x4d7ad8(0x2fb)](_0x17d204[_0x4d7ad8(0x2be)])[_0x4d7ad8(0x1fb)](_0xa786ea(this['dispose$']))[_0x4d7ad8(0x1fb)](_0x4289d3(_0x4fd2bb=>!_0x4fd2bb[_0x4d7ad8(0x350)]()[_0x4d7ad8(0x296)]('__')))[_0x4d7ad8(0x1b9)](async _0x3bc7b0=>{const _0x312174=_0x4d7ad8,_0x45e0c0=_0x3bc7b0[_0x312174(0x350)](),_0x3449c0=await this[_0x312174(0x26a)](_0x45e0c0);this[_0x312174(0x24b)]['next'](_0x3449c0),this['_entities'][_0x312174(0x2ba)](_0x45e0c0,_0x3449c0);}),_0xd15dc1(this[_0x4d7ad8(0x1ef)][_0x4d7ad8(0x30f)](_0x17d204['UNIVER_DOC']),this[_0x4d7ad8(0x1ef)][_0x4d7ad8(0x30f)](_0x17d204['UNIVER_SHEET']))['pipe'](_0xa786ea(this[_0x4d7ad8(0x32e)]))[_0x4d7ad8(0x1b9)](_0x384527=>{const _0x8cbf4=_0x4d7ad8,_0x48cc47=_0x384527[_0x8cbf4(0x350)](),_0x3b8858=this['_entities'][_0x8cbf4(0x3c1)](_0x48cc47);_0x3b8858&&(_0x3b8858[_0x8cbf4(0x386)](),this[_0x8cbf4(0x22d)]['delete'](_0x48cc47));});}async[_0x336b69(0x3e0)](_0x3b4718){const _0x1b295b=_0x336b69,_0x1bea71=await this['_collabSessionService'][_0x1b295b(0x336)](_0x3b4718),_0x2ab257=this['_injector'][_0x1b295b(0x33e)](Be,_0x3b4718,_0x1bea71);return _0x2ab257[_0x1b295b(0x355)](),_0x2ab257;}async['_startDocCollabCursor'](_0x5ecce2){const _0x4f66df=_0x336b69,_0xce39cb=await this[_0x4f66df(0x1b4)][_0x4f66df(0x336)](_0x5ecce2),_0x46ac9c=this[_0x4f66df(0x2e4)][_0x4f66df(0x33e)](xe,_0x5ecce2,_0xce39cb);return _0x46ac9c[_0x4f66df(0x355)](),_0x46ac9c;}};H=Wi([Ce(0x0,_0x2f0580),Ce(0x1,_0x1f3b74(_0x55778f)),Ce(0x2,_0x1f3b74(_0x27b9ee))],H);const Q=0x14,at=0xc8,Re=0x4,Vi=0x5;function ji(_0x33dd32,_0x149239){const _0xdd2559=_0x336b69;let {radius:_0x4494d8,width:_0x3f7d17,height:_0x3ad034}=_0x149239;_0x4494d8=_0x4494d8!=null?_0x4494d8:0x0,_0x3f7d17=_0x3f7d17!=null?_0x3f7d17:0x1e,_0x3ad034=_0x3ad034!=null?_0x3ad034:0x1e;let _0x2a6dc7=0x0,_0x590fd7=0x0,_0x3f8bbe=0x0;_0x2a6dc7=_0x590fd7=_0x3f8bbe=Math[_0xdd2559(0x1cd)](_0x4494d8,_0x3f7d17/0x2,_0x3ad034/0x2),_0x33dd32[_0xdd2559(0x29f)](),_0x33dd32[_0xdd2559(0x1cc)](_0x2a6dc7,0x0),_0x33dd32[_0xdd2559(0x1a4)](_0x3f7d17-_0x590fd7,0x0),_0x33dd32[_0xdd2559(0x317)](_0x3f7d17-_0x590fd7,_0x590fd7,_0x590fd7,Math['PI']*0x3/0x2,0x0,!0x1),_0x33dd32[_0xdd2559(0x1a4)](_0x3f7d17,_0x3ad034-_0x3f8bbe),_0x33dd32['arc'](_0x3f7d17-_0x3f8bbe,_0x3ad034-_0x3f8bbe,_0x3f8bbe,0x0,Math['PI']/0x2,!0x1),_0x33dd32[_0xdd2559(0x1a4)](0x0,_0x3ad034),_0x33dd32[_0xdd2559(0x1a4)](0x0,_0x2a6dc7),_0x33dd32['arc'](_0x2a6dc7,_0x2a6dc7,_0x2a6dc7,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x33dd32['closePath'](),_0x149239[_0xdd2559(0x36e)]&&(_0x33dd32[_0xdd2559(0x2b5)](),_0x33dd32[_0xdd2559(0x1ce)]=_0x149239[_0xdd2559(0x36e)],_0x149239[_0xdd2559(0x280)]==='evenodd'?_0x33dd32[_0xdd2559(0x36e)](_0xdd2559(0x315)):_0x33dd32['fill'](),_0x33dd32[_0xdd2559(0x1c2)]());}class ve extends _0x3fbe23{constructor(_0x459c89,_0x434670){const _0x4ef3e4=_0x336b69;super(_0x459c89,_0x434670),_(this,_0x4ef3e4(0x2b9)),_(this,_0x4ef3e4(0x2a5)),(this['color']=_0x434670==null?void 0x0:_0x434670[_0x4ef3e4(0x2b9)],this[_0x4ef3e4(0x2a5)]=_0x434670==null?void 0x0:_0x434670[_0x4ef3e4(0x2a5)]);}static[_0x336b69(0x380)](_0x253cb0,_0xda912e){const _0x33ad5f=_0x336b69,{text:_0x494c00,color:_0x967909}=_0xda912e;_0x253cb0['save'](),_0x253cb0[_0x33ad5f(0x257)]=_0x33ad5f(0x344);const _0x57e9a5=_0x253cb0[_0x33ad5f(0x3fc)](_0x494c00)[_0x33ad5f(0x32c)],_0x2cd4da=Math[_0x33ad5f(0x1cd)](_0x57e9a5+0x2*Re,at);ji(_0x253cb0,{'height':Q,'radius':0x4,'width':_0x2cd4da,'fill':_0x967909}),_0x253cb0['fillStyle']=_0x33ad5f(0x272);const _0x13872c=Re,_0x283cf4=Q-Vi,_0x145ffe=at-0x2*Re;if(_0x57e9a5>_0x145ffe){let _0x4e5718='',_0x3592f3=0x0;for(const _0x4d2fd2 of _0x494c00){const _0x462ecf=_0x253cb0[_0x33ad5f(0x3fc)](_0x4d2fd2)['width'];if(_0x3592f3+_0x462ecf<=_0x145ffe-_0x253cb0[_0x33ad5f(0x3fc)](_0x33ad5f(0x25f))[_0x33ad5f(0x32c)])_0x4e5718+=_0x4d2fd2,_0x3592f3+=_0x462ecf;else{_0x4e5718+='...';break;}}_0x253cb0['fillText'](_0x4e5718,_0x13872c,_0x283cf4);}else _0x253cb0[_0x33ad5f(0x2f4)](_0x494c00,_0x13872c,_0x283cf4);_0x253cb0[_0x33ad5f(0x1c2)]();}[_0x336b69(0x3df)](_0x3f3d0b){const _0x396535=_0x336b69;ve[_0x396535(0x380)](_0x3f3d0b,this);}}const De=_0x336b69(0x308),Xi=_0x336b69(0x2d7),Gi=_0x336b69(0x3d1),z=0x6,Ki=1.5,Ne=0x4,zi=1.5,Ji='rgba(255,\x20255,\x20255,\x200.01)';class ct{constructor(_0x497296,_0x344d65,_0xb61e00,_0x774151){const _0x2a175a=_0x336b69;_(this,_0x2a175a(0x20e),[]),_(this,_0x2a175a(0x25b),null),_(this,'_textBubble',null),_(this,_0x2a175a(0x35d),null),_(this,_0x2a175a(0x246),null),_(this,_0x2a175a(0x2d8),null),(this['_cursor']=_0x497296,this[_0x2a175a(0x204)]=_0x344d65,this[_0x2a175a(0x3b3)]=_0xb61e00,this[_0x2a175a(0x2e3)]=_0x774151,this[_0x2a175a(0x347)]());}set[_0x336b69(0x215)](_0x3e54fd){const _0x38630e=_0x336b69;_0x3e54fd?(this[_0x38630e(0x35d)]&&this[_0x38630e(0x35d)][_0x38630e(0x259)](),this['_textBubble']&&this['_textBubble'][_0x38630e(0x375)]()):(this[_0x38630e(0x35d)]&&this[_0x38630e(0x35d)][_0x38630e(0x375)](),this[_0x38630e(0x1ad)]&&this[_0x38630e(0x1ad)][_0x38630e(0x259)]());}[_0x336b69(0x386)](){const _0x488ae0=_0x336b69;for(const _0x2bfefa of this['_shapes'])_0x2bfefa[_0x488ae0(0x386)]();this[_0x488ae0(0x1ad)]&&this['_textBubble'][_0x488ae0(0x386)](),this[_0x488ae0(0x35d)]&&this[_0x488ae0(0x35d)][_0x488ae0(0x386)](),this[_0x488ae0(0x25b)]&&this[_0x488ae0(0x25b)][_0x488ae0(0x386)](),this[_0x488ae0(0x2d8)]&&this['_eventUnsubscribe']();}['_render'](){const _0x3446d9=_0x336b69;var _0x2b05ff;const {_docSkeleton:_0x416318,_document:_0x420482}=this,{color:_0x5231c5,name:_0x3f97d8,ranges:_0x464e96}=this['_cursor'],_0x332018=_0x420482[_0x3446d9(0x2ca)](),{docsLeft:_0x2438cf,docsTop:_0xa2cb07}=_0x332018,_0x4cd345=new _0x294d8d(_0x332018,_0x416318);for(const {startOffset:_0x15a485,endOffset:_0x4c4c72,rangeType:_0x387da3,segmentId:_0x498c4e,segmentPage:_0x3a4286,collapsed:_0x4805cc,isActive:_0x4cb94d}of _0x464e96){const _0x6f9954=_0x416318['findNodePositionByCharIndex'](_0x15a485,!0x0,_0x498c4e,_0x3a4286);let _0x1f5337=_0x416318['findNodePositionByCharIndex'](_0x4c4c72,!0x0,_0x498c4e,_0x3a4286);if(_0x1f5337==null&&(_0x1f5337=_0x416318[_0x3446d9(0x27d)](_0x4c4c72-0x1,!0x1,_0x498c4e,_0x3a4286)),_0x4cb94d){const {contentBoxPointGroup:_0x1b427d}=_0x4cd345['getRangePointData'](_0x1f5337,_0x1f5337);if(_0x1b427d[_0x3446d9(0x3ba)]===0x0)continue;this[_0x3446d9(0x3e4)](_0x5231c5,_0x1b427d,_0x2438cf,_0xa2cb07,_0x3f97d8),this[_0x3446d9(0x2d8)]=this[_0x3446d9(0x3ae)]();}if(_0x6f9954&&_0x1f5337){if(_0x387da3===_0x1244aa['RECT']){const _0x2eb530=new _0x32b79b(_0x332018,_0x416318),{pointGroup:_0x30a458}=(_0x2b05ff=_0x2eb530['getRangePointData'](_0x6f9954,_0x1f5337))!=null?_0x2b05ff:{};if(_0x30a458==null||_0x30a458['length']===0x0)continue;this['_drawRectRange'](_0x5231c5,_0x30a458,_0x2438cf,_0xa2cb07);}else{if(!_0x4805cc){const {borderBoxPointGroup:_0xafe245}=_0x4cd345[_0x3446d9(0x240)](_0x6f9954,_0x1f5337);if(_0xafe245[_0x3446d9(0x3ba)]===0x0)continue;this[_0x3446d9(0x227)](_0x5231c5,_0xafe245,_0x2438cf,_0xa2cb07);}}}}}['_drawAnchor'](_0x39092f,_0x48abb9,_0xdb24bd,_0x36f930,_0xa046db){const _0x582415=_0x336b69,_0x2e0e5c=this[_0x582415(0x254)](_0x48abb9),{left:_0x27b094,top:_0x13bdc1,height:_0x59ac37}=_0x2e0e5c,_0x3072d4=this[_0x582415(0x2df)](),_0x5f5a30=zi/_0x3072d4,_0x2a1dd0=new _0x4c96b3(De+_0x20f381(z),{'left':_0x27b094+_0xdb24bd-_0x5f5a30,'top':_0x13bdc1+_0x36f930,'height':_0x59ac37,'width':Ki,'fill':_0x39092f||_0x31f559(_0x2db046['black'],0x0),'strokeWidth':_0x5f5a30,'stroke':Ji,'evented':!0x0});this[_0x582415(0x25b)]=_0x2a1dd0,this[_0x582415(0x204)][_0x582415(0x250)](_0x2a1dd0,_0xf0767);const _0x2501b8=new _0x4c96b3(De+_0x20f381(z),{'left':_0x27b094+_0xdb24bd-_0x5f5a30,'top':_0x13bdc1+_0x36f930-Ne/0x2,'height':Ne,'width':Ne,'fill':_0x39092f||_0x31f559(_0x2db046[_0x582415(0x310)],0x0),'strokeWidth':0x0,'stroke':_0x39092f||_0x31f559(_0x2db046['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x2501b8,this[_0x582415(0x204)]['addObject'](_0x2501b8,_0xf0767);const _0x59d215=new ve(De+_0x20f381(z),{'left':_0x27b094+_0xdb24bd-_0x5f5a30,'top':_0x13bdc1+_0x36f930-Q,'text':_0xa046db,'color':_0x39092f});this['_textBubble']=_0x59d215,this['_scene']['addObject'](_0x59d215,_0xf0767),this[_0x582415(0x215)]=!0x1;}[_0x336b69(0x3ae)](){const _0x30db51=_0x336b69,_0x44071f=this['_anchor'][_0x30db51(0x256)][_0x30db51(0x2c7)](()=>{const _0x41d9e0=_0x30db51;this[_0x41d9e0(0x215)]=!0x0;}),_0xc08c72=this[_0x30db51(0x25b)][_0x30db51(0x3d0)]['subscribeEvent'](()=>{const _0x2167eb=_0x30db51;this[_0x2167eb(0x246)]&&clearTimeout(this[_0x2167eb(0x246)]),this['_hideTimer']=setTimeout(()=>{const _0x2d4e87=_0x2167eb;this[_0x2d4e87(0x215)]=!0x1;},0x7d0);});return()=>{const _0x392866=_0x30db51;_0x44071f[_0x392866(0x283)](),_0xc08c72[_0x392866(0x283)]();};}['_drawTextRange'](_0x1925c3,_0x116ebe,_0x34af70,_0x2ca707){const _0x46df15=_0x336b69,_0x8080fc=new _0x1530d2(_0x1925c3)['setAlpha'](0.2)[_0x46df15(0x1cb)](),_0xa389df=new _0x422925(Xi+_0x20f381(z),{'pointsGroup':_0x116ebe,'fill':_0x8080fc||_0x31f559(_0x2db046[_0x46df15(0x310)],0.2),'left':_0x34af70,'top':_0x2ca707,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x46df15(0x20e)][_0x46df15(0x370)](_0xa389df),this[_0x46df15(0x204)][_0x46df15(0x250)](_0xa389df,_0xf0767);}[_0x336b69(0x3ea)](_0x40bf3e,_0x5a727a,_0x17c153,_0x53d5ce){const _0x2e0a8b=_0x336b69,_0x592c60=new _0x1530d2(_0x40bf3e)[_0x2e0a8b(0x360)](0.2)['toRgbString'](),_0x36ae68=new _0x422925(Gi+_0x20f381(z),{'pointsGroup':_0x5a727a,'fill':_0x592c60||_0x31f559(_0x2db046['black'],0.2),'left':_0x17c153,'top':_0x53d5ce,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2e0a8b(0x20e)]['push'](_0x36ae68),this[_0x2e0a8b(0x204)][_0x2e0a8b(0x250)](_0x36ae68,_0xf0767);}['_getAnchorBounding'](_0x2d3f99){const _0x21bab9=_0x2d3f99[0x0],_0x10e09d=_0x21bab9[0x0],_0xffe204=_0x21bab9[0x2],{x:_0x24ef90,y:_0x201d68}=_0x10e09d,{x:_0x1a9587,y:_0x3afdde}=_0xffe204;return{'left':_0x24ef90,'top':_0x201d68,'width':_0x1a9587-_0x24ef90,'height':_0x3afdde-_0x201d68};}[_0x336b69(0x2df)](){const _0xccf38=_0x336b69,{scaleX:_0x9bb87d,scaleY:_0x5b7b34}=this['_scene'][_0xccf38(0x305)]();return Math[_0xccf38(0x24d)](_0x9bb87d,_0x5b7b34);}}var Zi=Object[_0x336b69(0x38c)],Qi=(_0x269975,_0xae0cac,_0x563585,_0xf62a34)=>{const _0x18ac7d=_0x336b69;for(var _0x39c08b=_0xf62a34>0x1?void 0x0:_0xf62a34?Zi(_0xae0cac,_0x563585):_0xae0cac,_0x43b501=_0x269975[_0x18ac7d(0x3ba)]-0x1,_0x1f87d0;_0x43b501>=0x0;_0x43b501--)(_0x1f87d0=_0x269975[_0x43b501])&&(_0x39c08b=_0x1f87d0(_0x39c08b)||_0x39c08b);return _0x39c08b;},ie=(_0x9d6677,_0x2f04c9)=>(_0x19c150,_0x579eab)=>_0x2f04c9(_0x19c150,_0x579eab,_0x9d6677);let Fe=class extends _0x3740ac{constructor(_0x59f7c6,_0x30bf57,_0x5c1648,_0x41cf0a,_0x8b4538){const _0x576e7d=_0x336b69;super(),_(this,'_cursorShapes',[]),_(this,_0x576e7d(0x1c1),[]),(this[_0x576e7d(0x247)]=_0x59f7c6,this[_0x576e7d(0x39b)]=_0x30bf57,this[_0x576e7d(0x306)]=_0x5c1648,this[_0x576e7d(0x3a5)]=_0x41cf0a,this['_themeService']=_0x8b4538,this[_0x576e7d(0x1c3)]());}['_init'](){const _0x45f802=_0x336b69,_0x133100=this[_0x45f802(0x247)][_0x45f802(0x29d)],_0x4c6b53=this['_docSkeletonManagerService'];this[_0x45f802(0x3bb)](_0x76606a([this[_0x45f802(0x306)]['getCollabCursors$'](_0x133100),this[_0x45f802(0x1f8)][_0x45f802(0x3d8)]])[_0x45f802(0x1fb)](_0x12b32b(([_0xdfb9ee,_0x53778d])=>({'skeleton':_0x4c6b53['getSkeleton'](),'cursors':[..._0xdfb9ee[_0x45f802(0x365)]()][_0x45f802(0x1fc)](_0xfa9cee=>({..._0xfa9cee,'color':this[_0x45f802(0x1f8)][_0x45f802(0x1f1)](_0xfa9cee[_0x45f802(0x2b9)])}))})))[_0x45f802(0x1b9)](_0x50ab94=>{const _0x911ec2=_0x45f802;if(this[_0x911ec2(0x353)](),_0x50ab94){const {skeleton:_0x2f6f41,cursors:_0x184228}=_0x50ab94;this[_0x911ec2(0x399)](_0x2f6f41,_0x184228);}})),this[_0x45f802(0x3b1)](),this[_0x45f802(0x23e)]();}[_0x336b69(0x399)](_0x291bef,_0x56d56f){const _0x4369b1=_0x336b69,{scene:_0x446a9a,mainComponent:_0x4ddd81}=this[_0x4369b1(0x247)],_0x2cde5b=_0x56d56f['map'](_0x2ab58a=>new ct(_0x2ab58a,_0x446a9a,_0x291bef,_0x4ddd81));this[_0x4369b1(0x384)]=_0x2cde5b,this[_0x4369b1(0x1c1)]=_0x56d56f;}[_0x336b69(0x292)](){const _0x4366ce=_0x336b69;this['_removeCollabCursors']();const {scene:_0x3d1866,mainComponent:_0xdbe68a}=this['_context'],_0x34e0ec=this['_docSkeletonManagerService'][_0x4366ce(0x36b)](),_0x5b070a=this[_0x4366ce(0x1c1)][_0x4366ce(0x278)](_0x17b71f=>new ct(_0x17b71f,_0x3d1866,_0x34e0ec,_0xdbe68a));this[_0x4366ce(0x384)]=_0x5b070a;}['_removeCollabCursors'](){const _0xe1094a=_0x336b69;this['_cursorShapes'][_0xe1094a(0x3bc)](_0xe444f6=>_0xe444f6[_0xe1094a(0x386)]()),this[_0xe1094a(0x384)]=[];}[_0x336b69(0x23e)](){const _0x52401c=_0x336b69,_0x2c4828=[_0x5a5e2d['id']];this[_0x52401c(0x3bb)](this[_0x52401c(0x3a5)][_0x52401c(0x309)](_0x225841=>{const _0x263b4b=_0x52401c;_0x2c4828['includes'](_0x225841['id'])&&_0x225841[_0x263b4b(0x3a0)][_0x263b4b(0x29d)]===this['_context'][_0x263b4b(0x29d)]&&this[_0x263b4b(0x292)]();}));}[_0x336b69(0x3b1)](){const _0x1d3052=_0x336b69;this[_0x1d3052(0x3bb)](_0x3f4092(this[_0x1d3052(0x247)]['engine'][_0x1d3052(0x38b)])[_0x1d3052(0x1fb)](_0x416b1a(_0x166615=>_0x166615['type']===_0x48b565[_0x1d3052(0x328)]),_0x568e9b(0x10))['subscribe'](()=>{const _0x366991=_0x1d3052;this[_0x366991(0x292)]();}));}};Fe=Qi([ie(0x1,_0x1f3b74(_0x2b11b8)),ie(0x2,_0x1f3b74(H)),ie(0x3,_0x357354),ie(0x4,_0x1f3b74(_0x2d8190))],Fe);const qi=0x1,en=1.5;class tn extends _0x3fbe23{constructor(_0x3569eb,_0x45b6c2){const _0x51ab5e=_0x336b69;super(_0x3569eb,_0x45b6c2),_(this,_0x51ab5e(0x208)),_(this,_0x51ab5e(0x1f7),!0x1),_(this,'_range'),_(this,'_name',''),_(this,_0x51ab5e(0x368),_0x51ab5e(0x2d3)),_(this,_0x51ab5e(0x338)),(_0x45b6c2&&this[_0x51ab5e(0x2c8)](_0x45b6c2),this[_0x51ab5e(0x256)]['subscribeEvent'](()=>this[_0x51ab5e(0x2c8)]({'hovered':!0x0})),this['onPointerLeave$'][_0x51ab5e(0x2c7)](()=>this[_0x51ab5e(0x2c8)]({'hovered':!0x1})));}[_0x336b69(0x2c8)](_0x3900af){const _0x58c146=_0x336b69;var _0x20d1ef,_0x5d9af6,_0x25c67a,_0x40baed,_0x47f74f,_0x1b717c;this['_color']=(_0x20d1ef=_0x3900af[_0x58c146(0x2b9)])!=null?_0x20d1ef:this['_color'],this[_0x58c146(0x1f7)]=(_0x5d9af6=_0x3900af[_0x58c146(0x3b6)])!=null?_0x5d9af6:this[_0x58c146(0x1f7)],this[_0x58c146(0x2ae)]=(_0x25c67a=_0x3900af[_0x58c146(0x2cb)])!=null?_0x25c67a:this[_0x58c146(0x2ae)],this[_0x58c146(0x31e)]=(_0x40baed=_0x3900af['name'])!=null?_0x40baed:this[_0x58c146(0x31e)],this['_labelPosition']=(_0x47f74f=_0x3900af['labelPosition'])!=null?_0x47f74f:this[_0x58c146(0x368)],this[_0x58c146(0x338)]=(_0x1b717c=_0x3900af[_0x58c146(0x3d7)])!=null?_0x1b717c:this['_backgroundColor'],this[_0x58c146(0x27c)]({'width':_0x3900af['width'],'height':_0x3900af[_0x58c146(0x30b)]});}[_0x336b69(0x1d4)](_0x22bbe8){const _0x80189=_0x336b69,{row:_0x23875a,column:_0x2214bd}=_0x22bbe8;if(_0x23875a>=this[_0x80189(0x2ae)][_0x80189(0x2ac)]&&_0x23875a<=this[_0x80189(0x2ae)][_0x80189(0x1fe)]&&_0x2214bd>=this[_0x80189(0x2ae)][_0x80189(0x255)]&&_0x2214bd<=this[_0x80189(0x2ae)][_0x80189(0x2d9)]){this[_0x80189(0x2c8)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x5cc49f){return!0x1;}[_0x336b69(0x3df)](_0x3b52d6){const _0x19d2db=_0x336b69;_0x4c96b3[_0x19d2db(0x380)](_0x3b52d6,{'width':this[_0x19d2db(0x32c)],'height':this[_0x19d2db(0x30b)],'strokeWidth':en,'stroke':this[_0x19d2db(0x208)],'evented':!0x1,'fill':this[_0x19d2db(0x338)]}),this['_hovered']&&(_0x3b52d6['save'](),_0x3b52d6[_0x19d2db(0x1e3)](0x1,0x0,0x0,0x1,this[_0x19d2db(0x32c)],this[_0x19d2db(0x368)]===_0x19d2db(0x36a)?0x0:-Q),ve[_0x19d2db(0x380)](_0x3b52d6,{'text':this[_0x19d2db(0x31e)],'color':this[_0x19d2db(0x208)]}),_0x3b52d6['restore']());}}var sn=Object[_0x336b69(0x38c)],nn=(_0x48d8d9,_0x423927,_0x13ad29,_0x1e9150)=>{const _0x4a12d1=_0x336b69;for(var _0x21dc5b=_0x1e9150>0x1?void 0x0:_0x1e9150?sn(_0x423927,_0x13ad29):_0x423927,_0xe31def=_0x48d8d9[_0x4a12d1(0x3ba)]-0x1,_0x34b38d;_0xe31def>=0x0;_0xe31def--)(_0x34b38d=_0x48d8d9[_0xe31def])&&(_0x21dc5b=_0x34b38d(_0x21dc5b)||_0x21dc5b);return _0x21dc5b;},be=(_0x452395,_0x1025fd)=>(_0x2439ff,_0x50290b)=>_0x1025fd(_0x2439ff,_0x50290b,_0x452395);const rn=0x1389;let ke=class extends _0x3740ac{constructor(_0x31555c,_0x285ed7,_0x36b10d,_0x4d5ea1){const _0x48e60e=_0x336b69;super(),_(this,_0x48e60e(0x1c1),new Set()),_(this,'_lastPointer',null),(this[_0x48e60e(0x247)]=_0x31555c,this[_0x48e60e(0x1f5)]=_0x285ed7,this['_collabCursorController']=_0x36b10d,this[_0x48e60e(0x1f8)]=_0x4d5ea1,this[_0x48e60e(0x1c3)]());}['_init'](){const _0x419d40=_0x336b69;this['_sheetSkeletonManagerService'][_0x419d40(0x1a7)][_0x419d40(0x1fb)](_0xf486d3(this[_0x419d40(0x32e)]),_0x3920b9(_0x15849b=>{const _0x3f683f=_0x419d40;if(_0x15849b){const _0x4817d2=_0x15849b['sheetId'];return _0x76606a(this[_0x3f683f(0x306)][_0x3f683f(0x29e)](this[_0x3f683f(0x247)]['unitId']),this[_0x3f683f(0x1f8)][_0x3f683f(0x3d8)])['pipe'](_0x12b32b(([_0x360598,_0x1cdfa2])=>{const _0x3daabd=_0x3f683f,_0x24a0f0=new Map();return _0x360598[_0x3daabd(0x3bc)]((_0x5d0631,_0x542862)=>{const _0x254e64=_0x3daabd;if(_0x5d0631[_0x254e64(0x331)]===_0x4817d2){const _0x97b721={..._0x5d0631};_0x97b721['color']=this[_0x254e64(0x1f8)][_0x254e64(0x1f1)](_0x5d0631[_0x254e64(0x2b9)]),_0x24a0f0[_0x254e64(0x2ba)](_0x542862,_0x97b721);}}),{'skeleton':_0x15849b,'cursors':_0x24a0f0};}));}return _0x146fb2({'skeleton':null,'cursors':new Map()});}))[_0x419d40(0x1b9)](({skeleton:_0x24e89b,cursors:_0x4fd9cf})=>{const _0x5a268a=_0x419d40;this['_removeCollabCursors'](),_0x24e89b&&this[_0x5a268a(0x399)](_0x24e89b,_0x4fd9cf);}),this[_0x419d40(0x1f5)][_0x419d40(0x1a7)][_0x419d40(0x1b9)](_0x5b35e3=>{const _0x5a921a=_0x419d40;if(_0x5b35e3==null)return;const {skeleton:_0x4f0cc6}=_0x5b35e3,{scene:_0x19f674}=this['_context'];_0x19f674[_0x5a921a(0x21b)][_0x5a921a(0x2c7)](_0x17280b(_0xbf3c18=>{const _0x20e661=_0x5a921a;var _0xeb8e29,_0x494b94;const {offsetX:_0x285171,offsetY:_0x358bb9}=_0xbf3c18,{x:_0x3f66bd,y:_0x50b14f}=_0x19f674[_0x20e661(0x1fa)](_0x44dd9b['FromArray']([_0x285171,_0x358bb9])),{scaleX:_0x38dd59,scaleY:_0x4b96cc}=_0x19f674[_0x20e661(0x305)](),_0x1232be=_0x19f674[_0x20e661(0x35b)](_0x3e6743['VIEW_MAIN']),_0x450323=_0x19f674[_0x20e661(0x27a)](_0x44dd9b[_0x20e661(0x2e8)]([_0x3f66bd,_0x50b14f]),_0x1232be),_0x5e1123=_0x4f0cc6[_0x20e661(0x24c)](_0x285171,_0x358bb9,_0x38dd59,_0x4b96cc,_0x450323);((_0xeb8e29=this['_lastPointer'])==null?void 0x0:_0xeb8e29[_0x20e661(0x358)])===_0x5e1123[_0x20e661(0x358)]&&((_0x494b94=this['_lastPointer'])==null?void 0x0:_0x494b94[_0x20e661(0x364)])===_0x5e1123['row']||this[_0x20e661(0x1c1)]['forEach'](_0x1580e2=>{const _0x3153a1=_0x20e661;_0x1580e2[_0x3153a1(0x1d4)](_0x5e1123);});},0x64));});}[_0x336b69(0x399)](_0xd1945f,_0x492b7b){const _0x1ac5c0=_0x336b69;var _0x446673;const _0x411376=(_0x446673=this[_0x1ac5c0(0x1f5)][_0x1ac5c0(0x2a4)]())==null?void 0x0:_0x446673[_0x1ac5c0(0x1f0)];if(!_0x411376)return;const _0x2a0dc9=this[_0x1ac5c0(0x38a)]();if(!_0x2a0dc9)return;this[_0x1ac5c0(0x1c1)][_0x1ac5c0(0x3bc)](_0x3744ec=>{const _0x1577fa=_0x1ac5c0;_0x3744ec[_0x1577fa(0x1bf)]();});const {scene:_0x2ac7ef}=_0x2a0dc9,_0x57d828=on(Array[_0x1ac5c0(0x220)](_0x492b7b[_0x1ac5c0(0x365)]()))['map'](_0x4186c8=>{const _0x21a3c4=_0x1ac5c0,{color:_0x5b7e61,range:_0x57c7a3,name:_0x23c0e3,selection:_0x2a846,sheetID:_0x549abd}=_0x4186c8,{startColumn:_0x5ef8e0,startRow:_0x13a8c7,endColumn:_0x4900e1,endRow:_0x517fc2}=_0x57c7a3,_0x133709=_0x1a92b1(_0x13a8c7,_0x5ef8e0,_0x2ac7ef,_0x411376),_0x2fb241=_0x1a92b1(_0x517fc2,_0x4900e1,_0x2ac7ef,_0x411376),{columnHeaderHeightAndMarginTop:_0x2e7622}=_0x411376,{startX:_0x5bd91f,startY:_0xcfcd09}=_0x133709,{endX:_0x49c4f6,endY:_0x29ae04}=_0x2fb241,_0x120530=_0x49c4f6-_0x5bd91f,_0x3ad8d6=_0x29ae04-_0xcfcd09,_0x6d3eb0={'labelPosition':_0xcfcd09-_0x2e7622>=Q?_0x21a3c4(0x2d3):'bottom','sheetID':_0x549abd,'range':_0x57c7a3,'color':_0x5b7e61,'name':_0x23c0e3,'selection':_0x2a846,'left':_0x5bd91f,'top':_0xcfcd09,'width':_0x120530,'height':_0x3ad8d6,'evented':!0x1,'zIndex':rn};return new tn(_0x23c0e3,_0x6d3eb0);});_0x2ac7ef[_0x1ac5c0(0x2cd)](_0x57d828,qi),this['_cursors']=new Set(_0x57d828);}[_0x336b69(0x353)](){const _0x4053f8=_0x336b69;var _0x2c7f02;(_0x2c7f02=this[_0x4053f8(0x1c1)])==null||_0x2c7f02['forEach'](_0x5f4b34=>_0x5f4b34[_0x4053f8(0x386)]());}[_0x336b69(0x38a)](){const _0x5a2ced=_0x336b69;return _0x21d26c(this[_0x5a2ced(0x247)]['unit'],this[_0x5a2ced(0x247)]);}};ke=nn([be(0x1,_0x1f3b74(_0x35db75)),be(0x2,_0x1f3b74(H)),be(0x3,_0x1f3b74(_0x2d8190))],ke);function on(_0x545063){const _0xb7d87=_0x336b69,_0x9ff363=new Map();return _0x545063['forEach'](_0x36a4cf=>{const _0x2bb1d3=_0x1218;if(_0x9ff363[_0x2bb1d3(0x3f3)](_0x36a4cf[_0x2bb1d3(0x3a3)])){const _0x1efc45=_0x9ff363['get'](_0x36a4cf[_0x2bb1d3(0x3a3)]);_0x1efc45[_0x2bb1d3(0x32b)]+=',\x20'+_0x36a4cf[_0x2bb1d3(0x32b)];}else _0x9ff363[_0x2bb1d3(0x2ba)](_0x36a4cf[_0x2bb1d3(0x3a3)],_0x36a4cf);}),Array[_0xb7d87(0x220)](_0x9ff363[_0xb7d87(0x365)]());}var an=Object[_0x336b69(0x38c)],cn=(_0x5d12e4,_0x326ece,_0x2ef3a3,_0x16839a)=>{for(var _0x4c406a=_0x16839a>0x1?void 0x0:_0x16839a?an(_0x326ece,_0x2ef3a3):_0x326ece,_0x5c952f=_0x5d12e4['length']-0x1,_0x5130b9;_0x5c952f>=0x0;_0x5c952f--)(_0x5130b9=_0x5d12e4[_0x5c952f])&&(_0x4c406a=_0x5130b9(_0x4c406a)||_0x4c406a);return _0x4c406a;},F=(_0x214cf6,_0x58a50c)=>(_0x3ce65e,_0x5956ea)=>_0x58a50c(_0x3ce65e,_0x5956ea,_0x214cf6);let _e=class extends _0x47faf0{constructor(_0x255e1a,_0xd801aa,_0x4db82e,_0x4c38ff,_0x2d2997,_0x437d57){const _0x360017=_0x336b69;super(),this['_beforeCloseService']=_0x255e1a,this[_0x360017(0x2a3)]=_0xd801aa,this[_0x360017(0x34d)]=_0x4db82e,this['_messageService']=_0x4c38ff,this[_0x360017(0x2b7)]=_0x2d2997,this[_0x360017(0x2bc)]=_0x437d57,this[_0x360017(0x2f8)](),this[_0x360017(0x3bf)]();}[_0x336b69(0x2f8)](){const _0x4c7b4f=_0x336b69;this['disposeWithMe'](this[_0x4c7b4f(0x330)][_0x4c7b4f(0x1a9)](()=>{const _0x4589a6=_0x4c7b4f;if(this['_localCacheService'][_0x4589a6(0x28b)][_0x4589a6(0x235)])return this[_0x4589a6(0x2bc)]['t'](_0x4589a6(0x35f));}));}['_initEvent'](){const _0x452c8a=_0x336b69;this['disposeWithMe'](this['_collaborationUIEventService'][_0x452c8a(0x25e)][_0x452c8a(0x1b9)](_0x27c1b7=>{const _0x108297=_0x452c8a;_0x27c1b7['id']===_0xa1351b[_0x108297(0x217)]&&this['_messageService']['show']({'type':_0x1e0dd6[_0x108297(0x33c)],'content':this[_0x108297(0x2bc)]['t'](_0x108297(0x213))}),_0x27c1b7['id']===_0xa1351b[_0x108297(0x3de)]&&this[_0x108297(0x2da)][_0x108297(0x375)]({'type':_0x1e0dd6['Warning'],'content':this[_0x108297(0x2bc)]['t'](_0x108297(0x258))}),_0x27c1b7['id']===_0xa1351b[_0x108297(0x30e)]&&this[_0x108297(0x2b7)]['show']({'title':this[_0x108297(0x2bc)]['t']('permission.title'),'content':this['_localeService']['t']('permission.content'),'type':'error','duration':0x0}),_0x27c1b7['id']===_0xa1351b['CONFLICT']&&this[_0x108297(0x2da)][_0x108297(0x375)]({'type':_0x1e0dd6['Error'],'content':this['_localeService']['t'](_0x108297(0x258))+'('+_0x27c1b7[_0x108297(0x287)]+')'}),_0x27c1b7['id']===_0xa1351b[_0x108297(0x334)]&&this[_0x108297(0x2da)][_0x108297(0x375)]({'type':_0x1e0dd6[_0x108297(0x33c)],'content':this['_localeService']['t'](_0x27c1b7['data']||'')}),_0x27c1b7['id']===_0xa1351b[_0x108297(0x282)]&&this[_0x108297(0x2da)][_0x108297(0x375)]({'type':_0x1e0dd6[_0x108297(0x33c)],'content':this[_0x108297(0x2bc)]['t'](_0x108297(0x251))}),_0x27c1b7['id']===_0xa1351b['SOCKET_FAILED']&&this['_messageService'][_0x108297(0x375)]({'type':_0x1e0dd6[_0x108297(0x20c)],'content':this[_0x108297(0x2bc)]['t']('session.connection-failed')}),_0x27c1b7['id']===_0xa1351b[_0x108297(0x3bd)]&&this[_0x108297(0x2da)][_0x108297(0x375)]({'type':_0x1e0dd6[_0x108297(0x20c)],'content':this['_localeService']['t'](_0x108297(0x2d2))});}));}};_e=cn([F(0x0,_0x18cfb9),F(0x1,_0x3e0fc1),F(0x2,_0x1f3b74(_0xa5e1f8)),F(0x3,_0x44f301),F(0x4,_0x465975),F(0x5,_0x1f3b74(_0xa807ff))],_e);var _n=Object[_0x336b69(0x38c)],ln=(_0x2c8728,_0x46bc9b,_0x2eca16,_0x35b26f)=>{const _0x315c4e=_0x336b69;for(var _0x47ad15=_0x35b26f>0x1?void 0x0:_0x35b26f?_n(_0x46bc9b,_0x2eca16):_0x46bc9b,_0x4ae734=_0x2c8728[_0x315c4e(0x3ba)]-0x1,_0x54c190;_0x4ae734>=0x0;_0x4ae734--)(_0x54c190=_0x2c8728[_0x4ae734])&&(_0x47ad15=_0x54c190(_0x47ad15)||_0x47ad15);return _0x47ad15;},ne=(_0x1418c0,_0x5cda37)=>(_0x4c7a11,_0xb4f1be)=>_0x5cda37(_0x4c7a11,_0xb4f1be,_0x1418c0);let le=class extends _0x47faf0{constructor(_0x349a3f,_0x60a567,_0x3bcfbb,_0x5bc06e){const _0xfee7f7=_0x336b69;super(),_(this,_0xfee7f7(0x2b6)),(this[_0xfee7f7(0x2e4)]=_0x349a3f,this['_httpService']=_0x60a567,this['_logService']=_0x3bcfbb,this['_collaborationSessionService']=_0x5bc06e,this[_0xfee7f7(0x1c3)]());}[_0x336b69(0x1c3)](){const _0xc525ef=_0x336b69;this[_0xc525ef(0x1c4)](),this[_0xc525ef(0x322)](),this[_0xc525ef(0x3cb)](),this['_initUserListener']();}[_0x336b69(0x28d)](){const _0x1a1a7f=_0x336b69;this[_0x1a1a7f(0x3bb)](this[_0x1a1a7f(0x298)][_0x1a1a7f(0x394)][_0x1a1a7f(0x1b9)](_0x5cf9a2=>{const _0x425d75=_0x1a1a7f;this['_memberID']=_0x5cf9a2==null?void 0x0:_0x5cf9a2[_0x425d75(0x2c6)];}));}[_0x336b69(0x1c4)](){const _0x3a8afd=_0x336b69,_0x285078=_0x3fb764=>{const _0x3abbed=_0x1218;var _0x2a487a;this[_0x3abbed(0x228)]('error',_0x3abbed(0x269)+_0x3fb764[_0x3abbed(0x2bf)]+_0x3abbed(0x279)+_0x3fb764[_0x3abbed(0x2d0)]+':'+_0x3fb764[_0x3abbed(0x291)]+':'+_0x3fb764[_0x3abbed(0x22a)]+'\x0a'+(((_0x2a487a=_0x3fb764['error'])==null?void 0x0:_0x2a487a[_0x3abbed(0x244)])||''));};window[_0x3a8afd(0x297)]('error',_0x285078),this[_0x3a8afd(0x3bb)](()=>{window['removeEventListener']('error',_0x285078);});}['_initUnhandledRejectionListener'](){const _0x5a96f1=_0x336b69,_0x168266=_0x366259=>{const _0x463485=_0x1218;this[_0x463485(0x228)](_0x463485(0x3a6),_0x463485(0x266)+_0x366259['reason']);};window[_0x5a96f1(0x297)](_0x5a96f1(0x252),_0x168266),this[_0x5a96f1(0x3bb)](()=>{const _0x2c3dd7=_0x5a96f1;window[_0x2c3dd7(0x1fd)](_0x2c3dd7(0x252),_0x168266);});}[_0x336b69(0x3cb)](){const _0x2c5398=_0x336b69,_0x4a540a=this['_logService']['error'][_0x2c5398(0x367)](this[_0x2c5398(0x396)]);this['_logService'][_0x2c5398(0x3a6)]=(..._0x4e9de1)=>{const _0x196fe7=_0x2c5398,_0x5689db=_0x4e9de1[_0x196fe7(0x278)](_0x1d4595=>_0x1d4595 instanceof Error?_0x1d4595[_0x196fe7(0x2bf)]+'\x0a'+_0x1d4595[_0x196fe7(0x244)]:String(_0x1d4595))[_0x196fe7(0x362)]('\x20');this[_0x196fe7(0x228)](_0x196fe7(0x3a6),_0x196fe7(0x2ec)+_0x5689db),_0x4a540a(..._0x4e9de1);},this['disposeWithMe'](()=>{const _0x54b92c=_0x2c5398;this[_0x54b92c(0x396)][_0x54b92c(0x3a6)]=_0x4a540a;});}[_0x336b69(0x228)](_0x1d054b,_0x7cb8e2){const _0x2cfa63=_0x336b69;try{const _0x365435={'userId':this['_memberID'],'logLabel':_0x1d054b,'content':_0x7cb8e2};this[_0x2cfa63(0x343)][_0x2cfa63(0x231)](_0x2cfa63(0x1cf),{'body':_0x365435})[_0x2cfa63(0x223)](()=>{});}catch{}}};le=ln([ne(0x0,_0x1f3b74(_0x55778f)),ne(0x1,_0x1f3b74(_0x348fb4)),ne(0x2,_0x46a5d6),ne(0x3,_0x1f3b74(_0x27b9ee))],le);const hn='collaboration-client-ui.config',_t={};var un=Object[_0x336b69(0x38c)],dn=(_0x1b912b,_0xde11db,_0x3dd3ba,_0x32d15e)=>{const _0x1e0796=_0x336b69;for(var _0x375d60=_0x32d15e>0x1?void 0x0:_0x32d15e?un(_0xde11db,_0x3dd3ba):_0xde11db,_0x925c57=_0x1b912b[_0x1e0796(0x3ba)]-0x1,_0x4967ea;_0x925c57>=0x0;_0x925c57--)(_0x4967ea=_0x1b912b[_0x925c57])&&(_0x375d60=_0x4967ea(_0x375d60)||_0x375d60);return _0x375d60;},lt=(_0xc7d05a,_0x300416)=>(_0x33cc55,_0x55b16e)=>_0x300416(_0x33cc55,_0x55b16e,_0xc7d05a);let he=class{constructor(_0x235e20,_0x233aa4){const _0x145a07=_0x336b69;this[_0x145a07(0x26f)]=_0x235e20,this[_0x145a07(0x2ce)]=_0x233aa4;}[_0x336b69(0x253)](_0x4590d5){const _0x73a6a9=_0x336b69;this['_transformUndoRedoStack'](_0x4590d5),this[_0x73a6a9(0x23f)](_0x4590d5);}[_0x336b69(0x249)](_0x4ee74e){const _0x18b117=_0x336b69,{unitID:_0x1f6a35}=_0x4ee74e,_0x58e20c=this[_0x18b117(0x2ce)][_0x18b117(0x1d8)](_0x1f6a35)[_0x18b117(0x285)](_0x260945),{redoCache:_0x49fc68}=_0x58e20c[_0x18b117(0x2de)]();if(_0x49fc68['length']===0x0)return _0x4ee74e;let _0x37d317=_0x2e1b8b[_0x18b117(0x3a7)](_0x4ee74e['mutations'][0x0]);for(let _0x57cb06=0x0;_0x57cb06<_0x49fc68[_0x18b117(0x3ba)];_0x57cb06++){const _0x5c9808={'id':_0x18b117(0x2af),'params':{..._0x49fc68[_0x57cb06]}},_0x4d4967=this[_0x18b117(0x26f)][_0x18b117(0x21a)](_0x37d317,_0x5c9808,!0x1);if(_0x3715d3(_0x4d4967))throw _0x4d4967['error'];_0x37d317=_0x4d4967['m1Prime'];}return{..._0x2e1b8b[_0x18b117(0x3a7)](_0x4ee74e),'mutations':[_0x37d317]};}['_transformUndoRedoStack'](_0x1f120a){const _0x348018=_0x336b69,{unitID:_0x1c57c2}=_0x1f120a,_0x558d34=this[_0x348018(0x2ce)]['getRenderById'](_0x1c57c2)['with'](_0x260945),{undoCache:_0x2824a4,redoCache:_0x2f7645}=_0x558d34['getUndoRedoMutationParamsCache']();if(_0x2824a4['length']===0x0||_0x2f7645[_0x348018(0x3ba)]===0x0)return;const _0x26d9a8=[],_0x12d2a6=[];let _0x1e995b=_0x2e1b8b[_0x348018(0x3a7)](_0x1f120a[_0x348018(0x2ef)][0x0]),_0x3a535c=_0x2e1b8b[_0x348018(0x3a7)](_0x1f120a[_0x348018(0x2ef)][0x0]);for(let _0x5da59e=_0x2824a4[_0x348018(0x3ba)]-0x1;_0x5da59e>=0x0;_0x5da59e--){const _0x351d57={'id':_0x348018(0x2af),'params':{..._0x2824a4[_0x5da59e]}},_0x4abff7={'id':_0x348018(0x2af),'params':{..._0x2f7645[_0x5da59e]}},_0x3f5707=this[_0x348018(0x26f)][_0x348018(0x21a)](_0x1e995b,_0x351d57,!0x1),_0x525e0a=this[_0x348018(0x26f)][_0x348018(0x21a)](_0x3a535c,_0x4abff7,!0x1);if(_0x3715d3(_0x3f5707))throw _0x3f5707[_0x348018(0x3a6)];if(_0x3715d3(_0x525e0a))throw _0x525e0a[_0x348018(0x3a6)];_0x26d9a8['unshift'](_0x3f5707['m2Prime'][_0x348018(0x3a0)]),_0x12d2a6[_0x348018(0x1e1)](_0x525e0a['m2Prime'][_0x348018(0x3a0)]),_0x1e995b=_0x3f5707[_0x348018(0x373)],_0x3a535c=_0x525e0a[_0x348018(0x373)];}_0x558d34['setUndoRedoMutationParamsCache']({'undoCache':_0x26d9a8,'redoCache':_0x12d2a6});}[_0x336b69(0x23f)](_0x195981){const _0x5e2e64=_0x336b69,{unitID:_0x562e8e}=_0x195981,_0x242b4c=this[_0x5e2e64(0x2ce)][_0x5e2e64(0x1d8)](_0x562e8e)[_0x5e2e64(0x285)](_0x260945),_0x1862bc=_0x242b4c[_0x5e2e64(0x3e7)]();if(_0x1862bc==null)return;const _0x1b6a9b=[{'id':_0x5e2e64(0x2af),'params':{'unitId':_0x195981[_0x5e2e64(0x202)],'actions':null,'textRanges':[_0x1862bc]}}],_0x7754df=this[_0x5e2e64(0x26f)]['transformMutationsWithChangeset'](_0x195981,_0x1b6a9b);if(!_0x5aa1a3(_0x7754df))throw _0x7754df[_0x5e2e64(0x3a6)];const _0x26884b=_0x7754df[_0x5e2e64(0x3ab)][0x0][_0x5e2e64(0x3a0)][_0x5e2e64(0x1ee)];Array[_0x5e2e64(0x34e)](_0x26884b)&&_0x26884b[_0x5e2e64(0x3ba)]&&_0x242b4c[_0x5e2e64(0x31b)](_0x26884b[0x0]);}};he=dn([lt(0x0,_0x16b512),lt(0x1,_0x4b34f5)],he);var Sn=Object['getOwnPropertyDescriptor'],In=(_0x2fb163,_0x32ac3e,_0x512ca3,_0x466a72)=>{const _0x185d21=_0x336b69;for(var _0x9dd9e2=_0x466a72>0x1?void 0x0:_0x466a72?Sn(_0x32ac3e,_0x512ca3):_0x32ac3e,_0x5f4dbb=_0x2fb163[_0x185d21(0x3ba)]-0x1,_0x77a43b;_0x5f4dbb>=0x0;_0x5f4dbb--)(_0x77a43b=_0x2fb163[_0x5f4dbb])&&(_0x9dd9e2=_0x77a43b(_0x9dd9e2)||_0x9dd9e2);return _0x9dd9e2;},Le=(_0x4f9c5d,_0x233076)=>(_0xe83f5a,_0x382fee)=>_0x233076(_0xe83f5a,_0x382fee,_0x4f9c5d);let ue=class{constructor(_0x22023a,_0x29aa3d,_0x2c739b){const _0x31a435=_0x336b69;this[_0x31a435(0x2e4)]=_0x22023a,this[_0x31a435(0x26f)]=_0x29aa3d,this[_0x31a435(0x274)]=_0x2c739b;}[_0x336b69(0x30c)](_0x299c4b){const _0x58accc=_0x336b69;this[_0x58accc(0x276)](_0x299c4b);}['transformRemoteChangeset'](_0x15d707){const _0x5e4ac3=_0x336b69,{unitID:_0x1d8065}=_0x15d707,{collaboration:_0x17eb1e}=this['_docStateChangeManagerService'][_0x5e4ac3(0x294)](_0x1d8065);if(_0x17eb1e[_0x5e4ac3(0x3ba)]===0x0)return _0x15d707;let _0x27675f=_0x2e1b8b['deepClone'](_0x15d707[_0x5e4ac3(0x2ef)][0x0]);for(let _0xcc244f=0x0;_0xcc244f<_0x17eb1e['length'];_0xcc244f++){const _0xc1166c={'id':_0x5e4ac3(0x2af),'params':{'unitId':_0x17eb1e[_0xcc244f][_0x5e4ac3(0x29d)],..._0x17eb1e[_0xcc244f][_0x5e4ac3(0x1bc)]}},_0x352cc6=this[_0x5e4ac3(0x26f)]['transformMutation'](_0x27675f,_0xc1166c,!0x1);if(_0x3715d3(_0x352cc6))throw _0x352cc6['error'];_0x27675f=_0x352cc6[_0x5e4ac3(0x373)];}return{..._0x2e1b8b[_0x5e4ac3(0x3a7)](_0x15d707),'mutations':[_0x27675f]};}[_0x336b69(0x276)](_0x33d56b){const _0x202bd8=_0x336b69,{unitID:_0x414d52}=_0x33d56b,{history:_0x4b75da,collaboration:_0x4f8777}=this[_0x202bd8(0x274)][_0x202bd8(0x294)](_0x414d52);if(_0x4b75da['length']===0x0&&_0x4f8777[_0x202bd8(0x3ba)]===0x0)return;const _0x11cad5=[],_0x50db65=[];let _0xb28041=_0x2e1b8b[_0x202bd8(0x3a7)](_0x33d56b[_0x202bd8(0x2ef)][0x0]),_0x453c6d=_0x2e1b8b[_0x202bd8(0x3a7)](_0x33d56b['mutations'][0x0]);for(let _0x2d464e=_0x4b75da['length']-0x1;_0x2d464e>=0x0;_0x2d464e--){const _0x30a920={'id':_0x202bd8(0x2af),'params':{'unitId':_0x4b75da[_0x2d464e]['unitId'],..._0x4b75da[_0x2d464e][_0x202bd8(0x2ee)]}},_0x1440ab={'id':_0x202bd8(0x2af),'params':{'unitId':_0x4b75da[_0x2d464e][_0x202bd8(0x29d)],..._0x4b75da[_0x2d464e][_0x202bd8(0x1bc)]}},_0x419642=this[_0x202bd8(0x26f)]['transformMutation'](_0xb28041,_0x30a920,!0x1),_0x15e673=this[_0x202bd8(0x26f)][_0x202bd8(0x21a)](_0x453c6d,_0x1440ab,!0x1);if(_0x3715d3(_0x419642))throw _0x419642[_0x202bd8(0x3a6)];if(_0x3715d3(_0x15e673))throw _0x15e673[_0x202bd8(0x3a6)];_0x11cad5[_0x202bd8(0x1e1)]({..._0x4b75da[_0x2d464e],'undoState':_0x419642[_0x202bd8(0x3ab)][_0x202bd8(0x3a0)],'redoState':_0x15e673[_0x202bd8(0x3ab)][_0x202bd8(0x3a0)]}),_0xb28041=_0x419642['m1Prime'],_0x453c6d=_0x15e673[_0x202bd8(0x373)];}_0xb28041=_0x2e1b8b[_0x202bd8(0x3a7)](_0x33d56b[_0x202bd8(0x2ef)][0x0]),_0x453c6d=_0x2e1b8b['deepClone'](_0x33d56b['mutations'][0x0]);for(let _0x6fda86=_0x4f8777['length']-0x1;_0x6fda86>=0x0;_0x6fda86--){const _0x3ef7a0={'id':_0x202bd8(0x2af),'params':{'unitId':_0x4f8777[_0x6fda86][_0x202bd8(0x29d)],..._0x4f8777[_0x6fda86][_0x202bd8(0x2ee)]}},_0x5548f4={'id':_0x202bd8(0x2af),'params':{'unitId':_0x4f8777[_0x6fda86]['unitId'],..._0x4f8777[_0x6fda86]['redoState']}},_0x474f1f=this[_0x202bd8(0x26f)][_0x202bd8(0x21a)](_0xb28041,_0x3ef7a0,!0x1),_0x7139e7=this[_0x202bd8(0x26f)][_0x202bd8(0x21a)](_0x453c6d,_0x5548f4,!0x1);if(_0x3715d3(_0x474f1f))throw _0x474f1f['error'];if(_0x3715d3(_0x7139e7))throw _0x7139e7['error'];_0x50db65['unshift']({..._0x4f8777[_0x6fda86],'undoState':_0x474f1f['m2Prime'][_0x202bd8(0x3a0)],'redoState':_0x7139e7[_0x202bd8(0x3ab)]['params']}),_0xb28041=_0x474f1f['m1Prime'],_0x453c6d=_0x7139e7[_0x202bd8(0x373)];}this[_0x202bd8(0x274)][_0x202bd8(0x3eb)](_0x414d52,{'history':_0x11cad5,'collaboration':_0x50db65});}};ue=In([Le(0x0,_0x1f3b74(_0x55778f)),Le(0x1,_0x16b512),Le(0x2,_0x1f3b74(_0x3c247d))],ue);var mn=Object[_0x336b69(0x38c)],fn=(_0xadd117,_0x223333,_0x11f55a,_0x1112cd)=>{const _0x2fee9d=_0x336b69;for(var _0x5e4ae2=_0x1112cd>0x1?void 0x0:_0x1112cd?mn(_0x223333,_0x11f55a):_0x223333,_0x3b80d6=_0xadd117[_0x2fee9d(0x3ba)]-0x1,_0x2f4f69;_0x3b80d6>=0x0;_0x3b80d6--)(_0x2f4f69=_0xadd117[_0x3b80d6])&&(_0x5e4ae2=_0x2f4f69(_0x5e4ae2)||_0x5e4ae2);return _0x5e4ae2;},ht=(_0x494ca6,_0x4018dc)=>(_0x11b2db,_0x28ea88)=>_0x4018dc(_0x11b2db,_0x28ea88,_0x494ca6);let de=class{constructor(_0x326979,_0x4781a4){const _0x3c0b05=_0x336b69;this[_0x3c0b05(0x2e4)]=_0x326979,this[_0x3c0b05(0x26f)]=_0x4781a4;}[_0x336b69(0x3d4)](_0xb6735f){const _0x17a5d1=_0x336b69;var _0x52a6ae;const _0x30f8e3=this['_injector'][_0x17a5d1(0x3c1)](_0x2babfd),_0x5529f4=(_0x52a6ae=_0x30f8e3['getDocRanges']())!=null?_0x52a6ae:[];if(_0x5529f4[_0x17a5d1(0x3ba)]===0x0)return;const _0xda66b3=_0xb6735f['unitID'],_0xd3ea54=[{'id':_0x17a5d1(0x2af),'params':{'unitId':_0xda66b3,'actions':null,'textRanges':_0x5529f4}}],_0x238243=this[_0x17a5d1(0x26f)][_0x17a5d1(0x388)](_0xb6735f,_0xd3ea54);if(!_0x5aa1a3(_0x238243))throw _0x238243[_0x17a5d1(0x3a6)];const _0x5df50d=_0x238243['m2Prime'][0x0]['params'][_0x17a5d1(0x1ee)];Array[_0x17a5d1(0x34e)](_0x5df50d)&&_0x5df50d[_0x17a5d1(0x3ba)]&&_0x30f8e3[_0x17a5d1(0x25a)](_0x5df50d,{'unitId':_0xda66b3,'subUnitId':_0xda66b3},!0x1);}};de=fn([ht(0x0,_0x1f3b74(_0x55778f)),ht(0x1,_0x16b512)],de);var gn=Object['getOwnPropertyDescriptor'],En=(_0x459af6,_0x22e161,_0x4a99b9,_0x5a7e0f)=>{const _0x598d67=_0x336b69;for(var _0x42380b=_0x5a7e0f>0x1?void 0x0:_0x5a7e0f?gn(_0x22e161,_0x4a99b9):_0x22e161,_0x2b6b81=_0x459af6[_0x598d67(0x3ba)]-0x1,_0x2fe89d;_0x2b6b81>=0x0;_0x2b6b81--)(_0x2fe89d=_0x459af6[_0x2b6b81])&&(_0x42380b=_0x2fe89d(_0x42380b)||_0x42380b);return _0x42380b;},U=(_0x34f386,_0x3b5e50)=>(_0x516721,_0x1bb94)=>_0x3b5e50(_0x516721,_0x1bb94,_0x34f386);let Se=class extends _0x47faf0{constructor(_0x193c50,_0x10d017,_0x45d26b,_0x43635a,_0xcbf356,_0x21a273,_0x16859a,_0x595460){const _0x1e347d=_0x336b69;super(),_(this,'_status$',new _0x2b7d7c(_0x25c0b2[_0x1e347d(0x2c9)])),(this[_0x1e347d(0x274)]=_0x193c50,this['_collaborationController']=_0x10d017,this[_0x1e347d(0x216)]=_0x45d26b,this[_0x1e347d(0x3e8)]=_0x43635a,this[_0x1e347d(0x1d0)]=_0xcbf356,this[_0x1e347d(0x332)]=_0x21a273,this[_0x1e347d(0x2da)]=_0x16859a,this[_0x1e347d(0x2bc)]=_0x595460,this[_0x1e347d(0x2fc)]());}[_0x336b69(0x2fc)](){const _0x5c13f0=_0x336b69;this[_0x5c13f0(0x3bb)](this[_0x5c13f0(0x1e2)][_0x5c13f0(0x265)][_0x5c13f0(0x1b9)](_0x52d361=>{const _0x3b1d47=_0x5c13f0,_0x76479e=this['_docStateChangeManagerService'][_0x3b1d47(0x1f4)][_0x3b1d47(0x1b9)](_0x1445e6=>{const _0x4562a7=_0x3b1d47;if(_0x1445e6==null)return;const {unitId:_0x5d84ce,redoState:_0x1666b5,commandId:_0x4e8ec5}=_0x1445e6;if(_0x5d84ce!==_0x52d361['unitID'])return;const _0x17dc9d={'id':_0x4e8ec5,'type':_0x772392['MUTATION'],'params':{'unitId':_0x5d84ce,'actions':_0x1666b5[_0x4562a7(0x1b3)],'textRanges':null}};_0x52d361[_0x4562a7(0x35e)](_0x17dc9d);});if(_0x52d361[_0x3b1d47(0x3bb)](_0x76479e),_0x52d361 instanceof _0x337689){const _0x485cb7={'onTransformIME':_0x59a8f3=>this[_0x3b1d47(0x216)]['transformIMECache'](_0x59a8f3),'onTransformState':_0x5dc8d6=>this['_docTransformStateCacheService'][_0x3b1d47(0x30c)](_0x5dc8d6),'onTransformSelections':_0x17dd09=>this[_0x3b1d47(0x1d0)][_0x3b1d47(0x3d4)](_0x17dd09),'onSyncEditingCollabCursor':_0x2159ff=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x2159ff),'onTransformRemoteChangesetByIMECache':_0x31af96=>this[_0x3b1d47(0x216)][_0x3b1d47(0x249)](_0x31af96),'onTransformRemoteChangesetByStateCache':_0x2cc854=>this['_docTransformStateCacheService'][_0x3b1d47(0x249)](_0x2cc854)};_0x52d361[_0x3b1d47(0x214)](_0x485cb7);}}));}};Se=En([U(0x0,_0x1f3b74(_0x3c247d)),U(0x1,_0x1f3b74(_0x3064e9)),U(0x2,_0x1f3b74(he)),U(0x3,_0x1f3b74(ue)),U(0x4,_0x1f3b74(de)),U(0x5,_0x1f3b74(ze)),U(0x6,_0x44f301),U(0x7,_0x1f3b74(_0xa807ff))],Se);var Z=(_0x49ea14=>(_0x49ea14[_0x49ea14[_0x336b69(0x23a)]=0x0]=_0x336b69(0x23a),_0x49ea14[_0x49ea14['OK']=0x1]='OK',_0x49ea14[_0x49ea14[_0x336b69(0x243)]=0x2]=_0x336b69(0x243),_0x49ea14[_0x49ea14[_0x336b69(0x30e)]=0x3]=_0x336b69(0x30e),_0x49ea14[_0x49ea14['NOT_FOUND']=0x4]=_0x336b69(0x366),_0x49ea14[_0x49ea14['UNAUTHENTICATED']=0x5]=_0x336b69(0x209),_0x49ea14[_0x49ea14[_0x336b69(0x273)]=0x6]=_0x336b69(0x273),_0x49ea14[_0x49ea14[_0x336b69(0x359)]=0x7]=_0x336b69(0x359),_0x49ea14[_0x49ea14['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x49ea14[_0x49ea14[_0x336b69(0x29c)]=0x9]=_0x336b69(0x29c),_0x49ea14[_0x49ea14[_0x336b69(0x3f6)]=0xa]=_0x336b69(0x3f6),_0x49ea14[_0x49ea14['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x49ea14[_0x49ea14['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x336b69(0x1eb),_0x49ea14[_0x49ea14['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x336b69(0x1b5),_0x49ea14[_0x49ea14[_0x336b69(0x1ac)]=0xe]=_0x336b69(0x1ac),_0x49ea14[_0x49ea14[_0x336b69(0x1e6)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x49ea14[_0x49ea14[_0x336b69(0x39c)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x49ea14[_0x49ea14[_0x336b69(0x351)]=0x64]=_0x336b69(0x351),_0x49ea14[_0x49ea14[_0x336b69(0x33d)]=0x65]=_0x336b69(0x33d),_0x49ea14[_0x49ea14[_0x336b69(0x22e)]=0xc9]=_0x336b69(0x22e),_0x49ea14[_0x49ea14['USER_IS_ANONYMOUS']=0xca]=_0x336b69(0x1d5),_0x49ea14[_0x49ea14[_0x336b69(0x2dc)]=0x1389]=_0x336b69(0x2dc),_0x49ea14[_0x49ea14[_0x336b69(0x39a)]=0x1771]=_0x336b69(0x39a),_0x49ea14[_0x49ea14[_0x336b69(0x3f9)]=0x1772]=_0x336b69(0x3f9),_0x49ea14[_0x49ea14['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x49ea14[_0x49ea14[_0x336b69(0x270)]=0x1b59]=_0x336b69(0x270),_0x49ea14[_0x49ea14['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x336b69(0x352),_0x49ea14[_0x49ea14[_0x336b69(0x3b7)]=0x1b5b]=_0x336b69(0x3b7),_0x49ea14[_0x49ea14[_0x336b69(0x22f)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x49ea14[_0x49ea14[_0x336b69(0x3fa)]=0x1b5d]=_0x336b69(0x3fa),_0x49ea14[_0x49ea14[_0x336b69(0x3f4)]=0x1f41]=_0x336b69(0x3f4),_0x49ea14[_0x49ea14[_0x336b69(0x1e4)]=0x2329]=_0x336b69(0x1e4),_0x49ea14[_0x49ea14['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x336b69(0x339),_0x49ea14[_0x49ea14['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x336b69(0x3dc),_0x49ea14[_0x49ea14['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x336b69(0x284),_0x49ea14[_0x49ea14[_0x336b69(0x3b2)]=0x232d]=_0x336b69(0x3b2),_0x49ea14[_0x49ea14[_0x336b69(0x2b2)]=0x2711]=_0x336b69(0x2b2),_0x49ea14[_0x49ea14[_0x336b69(0x2c3)]=0x2712]=_0x336b69(0x2c3),_0x49ea14[_0x49ea14['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x49ea14[_0x49ea14['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x336b69(0x1b7),_0x49ea14[_0x49ea14[_0x336b69(0x1ea)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x49ea14[_0x49ea14['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x336b69(0x327),_0x49ea14[_0x49ea14[_0x336b69(0x26c)]=0x271c]=_0x336b69(0x26c),_0x49ea14[_0x49ea14[_0x336b69(0x239)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x49ea14[_0x49ea14[_0x336b69(0x2a2)]=0x271e]=_0x336b69(0x2a2),_0x49ea14[_0x49ea14[_0x336b69(0x1ec)]=0x271f]=_0x336b69(0x1ec),_0x49ea14[_0x49ea14[_0x336b69(0x295)]=0x2720]=_0x336b69(0x295),_0x49ea14[_0x49ea14[_0x336b69(0x3c8)]=0x2af9]=_0x336b69(0x3c8),_0x49ea14[_0x49ea14[_0x336b69(0x3be)]=0x2ee1]=_0x336b69(0x3be),_0x49ea14[_0x49ea14[_0x336b69(0x33f)]=0x2ee2]=_0x336b69(0x33f),_0x49ea14[_0x49ea14[_0x336b69(0x1bd)]=0x2ee3]=_0x336b69(0x1bd),_0x49ea14[_0x49ea14[_0x336b69(0x1d6)]=0x2ee4]=_0x336b69(0x1d6),_0x49ea14[_0x49ea14[_0x336b69(0x1dd)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x49ea14[_0x49ea14[_0x336b69(0x1c7)]=0x32c9]=_0x336b69(0x1c7),_0x49ea14[_0x49ea14['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x336b69(0x1da),_0x49ea14[_0x49ea14[_0x336b69(0x268)]=0x32cb]=_0x336b69(0x268),_0x49ea14[_0x49ea14['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x336b69(0x398),_0x49ea14[_0x49ea14[_0x336b69(0x382)]=0x36b2]=_0x336b69(0x382),_0x49ea14[_0x49ea14[_0x336b69(0x206)]=0x36b3]=_0x336b69(0x206),_0x49ea14[_0x49ea14[_0x336b69(0x3ef)]=0x36b4]=_0x336b69(0x3ef),_0x49ea14[_0x49ea14[_0x336b69(0x267)]=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x49ea14[_0x49ea14[_0x336b69(0x28a)]=0x36b6]=_0x336b69(0x28a),_0x49ea14[_0x49ea14['ENTITLE_COUPON_USED_UP']=0x36b7]=_0x336b69(0x385),_0x49ea14[_0x49ea14['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]=_0x336b69(0x32d),_0x49ea14[_0x49ea14[_0x336b69(0x3cd)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x49ea14[_0x49ea14[_0x336b69(0x233)]=0x3716]=_0x336b69(0x233),_0x49ea14[_0x49ea14['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x336b69(0x392),_0x49ea14[_0x49ea14['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x336b69(0x2c0),_0x49ea14[_0x49ea14[_0x336b69(0x3aa)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x49ea14[_0x49ea14[_0x336b69(0x25c)]=0x3a9a]=_0x336b69(0x25c),_0x49ea14[_0x49ea14[_0x336b69(0x21c)]=0x3a9b]=_0x336b69(0x21c),_0x49ea14[_0x49ea14['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x49ea14[_0x49ea14[_0x336b69(0x236)]=0x3a9d]=_0x336b69(0x236),_0x49ea14[_0x49ea14[_0x336b69(0x37c)]=0x3a9e]=_0x336b69(0x37c),_0x49ea14[_0x49ea14['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x336b69(0x3ed),_0x49ea14[_0x49ea14[_0x336b69(0x3dd)]=0x3e81]=_0x336b69(0x3dd),_0x49ea14[_0x49ea14[_0x336b69(0x2f3)]=-0x1]=_0x336b69(0x2f3),_0x49ea14))(Z||{});function vn(_0x506d3c){const _0x5cfee2=_0x336b69;var _0x55a79e,_0x46d294;const _0x2a3639=(_0x55a79e=_0x506d3c[_0x5cfee2(0x3fd)])==null?void 0x0:_0x55a79e[_0x5cfee2(0x1ed)],_0x3d7922=((_0x46d294=_0x506d3c[_0x5cfee2(0x3fd)])==null?void 0x0:_0x46d294['totalFormulasToCalculate'])||0x0;return _0x2a3639===_0x5c6274[_0x5cfee2(0x225)]&&_0x3d7922>0x0;}function pn(_0x12c2e5){const _0x1b1b6d=_0x336b69;return _0x12c2e5[_0x1b1b6d(0x337)]===_0x51f4d5['SUCCESS'];}var On=Object['getOwnPropertyDescriptor'],Tn=(_0x244d9a,_0xb60220,_0xc094e,_0x1d512a)=>{const _0x38895b=_0x336b69;for(var _0x40a3f8=_0x1d512a>0x1?void 0x0:_0x1d512a?On(_0xb60220,_0xc094e):_0xb60220,_0x1013f9=_0x244d9a[_0x38895b(0x3ba)]-0x1,_0x2a2b0e;_0x1013f9>=0x0;_0x1013f9--)(_0x2a2b0e=_0x244d9a[_0x1013f9])&&(_0x40a3f8=_0x2a2b0e(_0x40a3f8)||_0x40a3f8);return _0x40a3f8;},P=(_0x16d7c8,_0x2f1381)=>(_0x4038fe,_0x11cf1b)=>_0x2f1381(_0x4038fe,_0x11cf1b,_0x16d7c8);const Cn=_0x336b69(0x201),Rn=_0x336b69(0x1a8),Dn=_0x336b69(0x335);let Ie=class extends _0x47faf0{constructor(_0x13fabe,_0x32b3a3,_0x1372a5,_0x48550c,_0x1ca9cc,_0x2af95a,_0x5f1ca8){const _0x396fec=_0x336b69;super(),_(this,_0x396fec(0x3a4),null),_(this,_0x396fec(0x1d9),0x0),_(this,_0x396fec(0x36f),0x0),_(this,'_taskIds',[]),_(this,_0x396fec(0x1e0),0x0),(this['_messageService']=_0x13fabe,this[_0x396fec(0x3a5)]=_0x32b3a3,this['_configService']=_0x1372a5,this[_0x396fec(0x343)]=_0x48550c,this[_0x396fec(0x1ef)]=_0x1ca9cc,this[_0x396fec(0x396)]=_0x2af95a,this[_0x396fec(0x2bc)]=_0x5f1ca8,this['_initCommandInterceptor']());}[_0x336b69(0x325)](){const _0x536162=_0x336b69;this[_0x536162(0x3bb)](this[_0x536162(0x3a5)][_0x536162(0x33a)]((_0x54c7b3,_0x473ced)=>{const _0x1d34ca=_0x536162;var _0xb68478;if(_0x54c7b3['id']!==_0x8ebdf5['id'])return;const _0x545b19=_0x54c7b3['params'];if(!this[_0x1d34ca(0x299)]((_0xb68478=_0x545b19[_0x1d34ca(0x1ca)])!=null?_0xb68478:[]))return;if(!this[_0x1d34ca(0x345)]())throw this['_checkAndWaitForCalculationPermission'](_0x54c7b3,_0x473ced),this['_showGuardMessage'](),new _0x5a3906();})),this[_0x536162(0x3bb)](this[_0x536162(0x3a5)][_0x536162(0x309)]((_0x3f1a75,_0x4982f8)=>{const _0x4c7bc5=_0x536162;if(_0x3f1a75['id']!==_0x4826e4['id'])return;const _0x3233cb=_0x3f1a75['params'];if(vn(_0x3233cb)){const _0xad5a26=_0x20f381();this[_0x4c7bc5(0x2b4)]['push'](_0xad5a26),this[_0x4c7bc5(0x3f2)](_0xad5a26);}else{if(pn(_0x3233cb)&&this[_0x4c7bc5(0x2b4)][_0x4c7bc5(0x3ba)]>0x0){const _0xcf24=this[_0x4c7bc5(0x2b4)][_0x4c7bc5(0x34a)]();this[_0x4c7bc5(0x21d)](_0xcf24);}}}));}[_0x336b69(0x386)](){const _0x56b3dd=_0x336b69;super[_0x56b3dd(0x386)](),this['_clearPolling'](),this[_0x56b3dd(0x2b4)]=[],this[_0x56b3dd(0x36f)]=0x0,this[_0x56b3dd(0x1d9)]=0x0,this[_0x56b3dd(0x1e0)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x450326,_0x42a2da){const _0x17b68b=_0x336b69;for(let _0x1e8408=0x0;_0x1e8408<0x1e;_0x1e8408++)try{if(await this['_getFormulaLimitStatus'](),this[_0x17b68b(0x345)]()){this[_0x17b68b(0x2b3)](_0x450326,_0x42a2da),this['_messageService'][_0x17b68b(0x375)]({'content':this[_0x17b68b(0x2bc)]['t'](_0x17b68b(0x3c0)),'type':_0x1e0dd6['Success']});return;}await new Promise(_0x1e949b=>{this['_pollingInterval']=window['setTimeout'](_0x1e949b,0x3e8);});}catch(_0x2e6669){this[_0x17b68b(0x396)][_0x17b68b(0x3a6)](_0x2e6669);}this['_messageService'][_0x17b68b(0x375)]({'content':this['_localeService']['t'](_0x17b68b(0x2ad)),'type':_0x1e0dd6[_0x17b68b(0x20c)]});}['_applyCommand'](_0x4d5523,_0x5d959d){const _0x3a559a=_0x336b69;try{this[_0x3a559a(0x3a5)][_0x3a559a(0x3f5)](_0x4d5523['id'],_0x4d5523[_0x3a559a(0x3a0)],_0x5d959d);}catch(_0x2fa5e7){this[_0x3a559a(0x396)]['error'](_0x2fa5e7);}}[_0x336b69(0x1b1)](_0x252060,_0x34e5ec){const _0x588269=_0x336b69;_0x34e5ec<this[_0x588269(0x1e0)]||(this['_lastResponseTimestamp']=_0x34e5ec,this[_0x588269(0x1d9)]=Number[_0x588269(0x1e8)](_0x252060['maxFormulaLimit']),this[_0x588269(0x36f)]=Number[_0x588269(0x1e8)](_0x252060['currentUsage']));}async[_0x336b69(0x3f2)](_0x36ebd8){const _0x6a3cf1=_0x336b69;var _0x27d527,_0x2ed369;const _0x20a4b5=Date['now']();try{const _0x490303=((_0x27d527=this[_0x6a3cf1(0x2ed)]['getConfig'](_0x41e428))==null?void 0x0:_0x27d527[_0x6a3cf1(0x2a6)])||Rn,_0x2d3e29=(await this['_httpService'][_0x6a3cf1(0x231)](_0x490303,{'body':JSON[_0x6a3cf1(0x301)]({'taskId':_0x36ebd8})}))[_0x6a3cf1(0x376)];if(((_0x2ed369=_0x2d3e29[_0x6a3cf1(0x3a6)])==null?void 0x0:_0x2ed369[_0x6a3cf1(0x397)])!==Z['OK'])return;this[_0x6a3cf1(0x1b1)](_0x2d3e29[_0x6a3cf1(0x387)],_0x20a4b5);}catch(_0x55f473){this[_0x6a3cf1(0x396)][_0x6a3cf1(0x3a6)](_0x55f473);}}async[_0x336b69(0x29b)](_0x1f8679){const _0x17004e=_0x336b69;var _0x5adb9a,_0x406c69;const _0x16ee19=Date['now']();try{const _0x3a07e3=((_0x5adb9a=this['_configService']['getConfig'](_0x41e428))==null?void 0x0:_0x5adb9a[_0x17004e(0x2a7)])||Cn,_0x4a4edf=_0x1f8679?_0x3a07e3+_0x17004e(0x32f)+encodeURIComponent(_0x1f8679):_0x3a07e3,_0x1672a3=(await this[_0x17004e(0x343)][_0x17004e(0x3c1)](_0x4a4edf))[_0x17004e(0x376)];if(((_0x406c69=_0x1672a3[_0x17004e(0x3a6)])==null?void 0x0:_0x406c69[_0x17004e(0x397)])!==Z['OK'])return;this[_0x17004e(0x1b1)](_0x1672a3[_0x17004e(0x387)],_0x16ee19);}catch(_0x195fea){this[_0x17004e(0x396)]['error'](_0x195fea);}}async['_releaseCalculationLimit'](_0x25a750){const _0x26fcf7=_0x336b69;var _0x14ef6e,_0x2a8287;const _0x2ed087=Date[_0x26fcf7(0x1b8)]();try{const _0x2a373a=((_0x14ef6e=this['_configService'][_0x26fcf7(0x318)](_0x41e428))==null?void 0x0:_0x14ef6e[_0x26fcf7(0x1e9)])||Dn,_0x50f0b6=(await this[_0x26fcf7(0x343)][_0x26fcf7(0x231)](_0x2a373a,{'body':JSON['stringify']({'taskId':_0x25a750})}))[_0x26fcf7(0x376)];if(((_0x2a8287=_0x50f0b6[_0x26fcf7(0x3a6)])==null?void 0x0:_0x2a8287[_0x26fcf7(0x397)])!==Z['OK'])return;this['_setFormulaLimitStatus'](_0x50f0b6[_0x26fcf7(0x387)],_0x2ed087);}catch(_0x526673){this[_0x26fcf7(0x396)]['error'](_0x526673);}}[_0x336b69(0x345)](){const _0x3f38a9=_0x336b69;return this['_maxFormulaLimit']===0x0?!0x0:this['_maxFormulaLimit']-this[_0x3f38a9(0x36f)]>0x0;}[_0x336b69(0x383)](){const _0x5883d8=_0x336b69;this['_pollingInterval']&&(clearTimeout(this[_0x5883d8(0x3a4)]),this[_0x5883d8(0x3a4)]=null);}[_0x336b69(0x340)](){const _0x4dc9bf=_0x336b69;this[_0x4dc9bf(0x2da)][_0x4dc9bf(0x375)]({'content':this[_0x4dc9bf(0x2bc)]['t'](_0x4dc9bf(0x1db)),'type':_0x1e0dd6[_0x4dc9bf(0x324)]});}[_0x336b69(0x299)](_0x4d5e17){const _0x3fbf95=_0x336b69;for(const _0x505c91 of _0x4d5e17){const {unitId:_0x189d5c,sheetId:_0x25b6df,range:_0x445d8f}=_0x505c91,_0xebb57=this[_0x3fbf95(0x1ef)][_0x3fbf95(0x3fb)](_0x189d5c);if(!_0xebb57)continue;const _0x4ae7d3=_0xebb57[_0x3fbf95(0x3c4)](_0x25b6df);if(!_0x4ae7d3)continue;const _0x4dd680=_0x4ae7d3[_0x3fbf95(0x1e5)]();for(let _0x177abc=_0x445d8f['startRow'];_0x177abc<=_0x445d8f['endRow'];_0x177abc++)for(let _0x52c3c=_0x445d8f[_0x3fbf95(0x255)];_0x52c3c<=_0x445d8f['endColumn'];_0x52c3c++){const _0x26457f=_0x4dd680[_0x3fbf95(0x2e7)](_0x177abc,_0x52c3c);if(_0x26457f&&(_0x5a048f(_0x26457f['f'])||_0x36a326(_0x26457f['si'])))return!0x0;}}return!0x1;}};Ie=Tn([P(0x0,_0x1f3b74(_0x44f301)),P(0x1,_0x357354),P(0x2,_0x5535b0),P(0x3,_0x1f3b74(_0x348fb4)),P(0x4,_0x2f0580),P(0x5,_0x46a5d6),P(0x6,_0x1f3b74(_0xa807ff))],Ie);var Nn=Object[_0x336b69(0x38c)],bn=(_0x7865d3,_0xc04095,_0xff29ad,_0x286c46)=>{const _0x1af789=_0x336b69;for(var _0x2a2e07=_0x286c46>0x1?void 0x0:_0x286c46?Nn(_0xc04095,_0xff29ad):_0xc04095,_0x430edd=_0x7865d3[_0x1af789(0x3ba)]-0x1,_0x212b68;_0x430edd>=0x0;_0x430edd--)(_0x212b68=_0x7865d3[_0x430edd])&&(_0x2a2e07=_0x212b68(_0x2a2e07)||_0x2a2e07);return _0x2a2e07;},Ue=(_0x5df593,_0x48d7f5)=>(_0x4b4931,_0x25207c)=>_0x48d7f5(_0x4b4931,_0x25207c,_0x5df593);let He=class extends _0x47faf0{constructor(_0x22b694,_0x11a937,_0x3f2a07){const _0x5c9523=_0x336b69;super(),_(this,'_cachedData',new Map()),_(this,'_saveTaskMap',new Map()),_(this,'_disabled',!0x1),(this[_0x5c9523(0x2ed)]=_0x22b694,this[_0x5c9523(0x1dc)]=_0x11a937,this['_revisionService']=_0x3f2a07);}[_0x336b69(0x1a5)](){const _0x4688a3=_0x336b69;this[_0x4688a3(0x2fe)]=!0x0;}[_0x336b69(0x3e1)](){const _0x298b76=_0x336b69;this[_0x298b76(0x2fe)]=!0x1;}get[_0x336b69(0x28b)](){const _0x5787e4=_0x336b69;return this[_0x5787e4(0x3da)];}[_0x336b69(0x386)](){const _0x1b6cc1=_0x336b69;this[_0x1b6cc1(0x39e)]()['then'](()=>super['dispose']());}async[_0x336b69(0x300)](_0x3d291e){const _0x5d8a4b=_0x336b69;return this[_0x5d8a4b(0x2fe)]?null:this[_0x5d8a4b(0x1dc)][_0x5d8a4b(0x2f7)](_0xb6c497(_0x3d291e));}async[_0x336b69(0x2ab)](_0x1f2431,_0x2eb568){const _0x394513=_0x336b69;return!!this[_0x394513(0x1dc)][_0x394513(0x2a1)](_0x1f2431,_0x2eb568);}[_0x336b69(0x26b)](_0x5bf4ef,_0x38e685,_0x498339,_0x451420){const _0x406db0=_0x336b69,_0x4e1867=this[_0x406db0(0x1bb)]['getCurrentRevOfUnit'](_0x5bf4ef);this['_cachedData'][_0x406db0(0x2ba)](_0x5bf4ef,{'unitID':_0x5bf4ef,'type':_0x38e685,'awaitingChangeset':_0x498339,'mutations':_0x451420,'rev':_0x4e1867}),this[_0x406db0(0x3da)][_0x406db0(0x3f3)](_0x5bf4ef)||this['_scheduleSaving'](_0x5bf4ef);}['_scheduleSaving'](_0x20b8c3){const _0x5d6779=_0x336b69,_0x381b52=this['_getSaveTimeout']();_0x381b52===0x0?this[_0x5d6779(0x248)](_0x20b8c3):this['_saveTaskMap'][_0x5d6779(0x2ba)](_0x20b8c3,setTimeout(()=>this[_0x5d6779(0x248)](_0x20b8c3),_0x381b52));}[_0x336b69(0x34b)](){const _0x4f9354=_0x336b69;var _0x5a9171;return(_0x5a9171=this[_0x4f9354(0x2ed)][_0x4f9354(0x318)](_0x4324cd))!=null?_0x5a9171:_0x442912;}[_0x336b69(0x248)](_0x9a0e3){const _0x292fc4=_0x336b69,_0x75ee23=this[_0x292fc4(0x3da)][_0x292fc4(0x3c1)](_0x9a0e3);return _0x75ee23!==void 0x0&&window[_0x292fc4(0x2dd)](_0x75ee23),this[_0x292fc4(0x1dc)][_0x292fc4(0x2a1)](_0xb6c497(_0x9a0e3),this['_cachedData'][_0x292fc4(0x3c1)](_0x9a0e3))['then'](()=>this[_0x292fc4(0x3da)]['delete'](_0x9a0e3));}async[_0x336b69(0x39e)](){const _0x17e792=_0x336b69,_0x2758d9=[];this[_0x17e792(0x3da)][_0x17e792(0x3bc)]((_0x422061,_0x28744e)=>{const _0x4f65c6=_0x17e792;window[_0x4f65c6(0x2dd)](_0x422061),_0x2758d9[_0x4f65c6(0x370)](this[_0x4f65c6(0x248)](_0x28744e)['then'](()=>{const _0x3579ba=_0x4f65c6;this[_0x3579ba(0x3da)][_0x3579ba(0x3cc)](_0x28744e);}));}),await Promise[_0x17e792(0x2ff)](_0x2758d9);}};He=bn([Ue(0x0,_0x5535b0),Ue(0x1,_0x57b3cd),Ue(0x2,_0x1f3b74(_0x41ca19))],He);class Ln extends _0x3740ac{constructor(){const _0x3ad0ee=_0x336b69;super(),_(this,_0x3ad0ee(0x348)),this[_0x3ad0ee(0x348)]=_0x528a9c(window,_0x3ad0ee(0x2ea))['pipe'](_0xa786ea(this['dispose$']),_0x57c9ba(0x1),_0x4d0f5f(void 0x0));}['setParam'](_0x537c73,_0x1cecee,_0x19f9de=!0x1){const _0x19f751=_0x336b69,_0x113a3c=new URL(window[_0x19f751(0x3a9)][_0x19f751(0x218)]);_0x113a3c[_0x19f751(0x261)][_0x19f751(0x2ba)](_0x537c73,_0x1cecee),_0x19f9de?window[_0x19f751(0x3c6)]['replaceState']('','',_0x113a3c['toString']()):window[_0x19f751(0x3c6)][_0x19f751(0x1b2)]('','',_0x113a3c['toString']());}[_0x336b69(0x1df)](_0xb050f8,_0x1f58e7=!0x1){const _0x12405b=_0x336b69,_0xa68865=new URL(window[_0x12405b(0x3a9)][_0x12405b(0x218)]);_0xa68865[_0x12405b(0x261)]['delete'](_0xb050f8),_0x1f58e7?window['history'][_0x12405b(0x2aa)]('','',_0xa68865[_0x12405b(0x369)]()):window[_0x12405b(0x3c6)][_0x12405b(0x1b2)]('','',_0xa68865[_0x12405b(0x369)]());}[_0x336b69(0x1f2)](_0x499a79){const _0x349be0=_0x336b69;var _0x1ec533;return(_0x1ec533=new URL(window[_0x349be0(0x3a9)][_0x349be0(0x218)])[_0x349be0(0x261)]['get'](_0x499a79))!=null?_0x1ec533:void 0x0;}}var Un=Object[_0x336b69(0x374)],Mn=Object[_0x336b69(0x38c)],An=(_0x26333c,_0x27252a,_0x3195b9)=>_0x27252a in _0x26333c?Un(_0x26333c,_0x27252a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3195b9}):_0x26333c[_0x27252a]=_0x3195b9,Pn=(_0x311c65,_0x1c35d9,_0x4a7deb,_0x83c5d5)=>{const _0x42d76c=_0x336b69;for(var _0x575f0f=_0x83c5d5>0x1?void 0x0:_0x83c5d5?Mn(_0x1c35d9,_0x4a7deb):_0x1c35d9,_0x3c9919=_0x311c65[_0x42d76c(0x3ba)]-0x1,_0x31def4;_0x3c9919>=0x0;_0x3c9919--)(_0x31def4=_0x311c65[_0x3c9919])&&(_0x575f0f=_0x31def4(_0x575f0f)||_0x575f0f);return _0x575f0f;},Me=(_0xcfb82a,_0xa44ca5)=>(_0x3dff76,_0xa73e23)=>_0xa44ca5(_0x3dff76,_0xa73e23,_0xcfb82a),wn=(_0x2f6e42,_0x1ee6e9,_0x5ce97c)=>An(_0x2f6e42,_0x1ee6e9+'',_0x5ce97c);const yn=_0x336b69(0x37f);let Ye=class extends _0x3a70dd{constructor(_0x20077f=_t,_0x256ad8,_0x13dc87,_0x586f27){const _0x42e70a=_0x336b69;super(),this[_0x42e70a(0x2d5)]=_0x20077f,this[_0x42e70a(0x2ce)]=_0x256ad8,this[_0x42e70a(0x2e4)]=_0x13dc87,this[_0x42e70a(0x2ed)]=_0x586f27;const {..._0x29b6db}=_0x4338d3({},_t,this[_0x42e70a(0x2d5)]);this[_0x42e70a(0x2ed)][_0x42e70a(0x1c8)](hn,_0x29b6db);}[_0x336b69(0x224)](){const _0x17f2d5=_0x336b69;this[_0x17f2d5(0x395)](),this[_0x17f2d5(0x2e0)]();}['onRendered'](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x4bb24e=_0x336b69;var _0x2daccc;const _0x52dec8=[[Ke],[Ie],[de],[he],[ue],[ze],[yt,{'useClass':Ln}],[_0x4c05fd,{'useClass':_0x3cc20b}],[_0x3e0fc1,{'useClass':He}],[ae],[Se],[_e],[H],[$e],[ce]];this['_config'][_0x4bb24e(0x1e7)]&&_0x52dec8['push']([le]),_0x4bba14(this[_0x4bb24e(0x2e4)],_0x2f9ba7(_0x52dec8,(_0x2daccc=this[_0x4bb24e(0x2d5)])==null?void 0x0:_0x2daccc[_0x4bb24e(0x242)]));}[_0x336b69(0x3d2)](){const _0x2b13e5=_0x336b69;this[_0x2b13e5(0x3bb)](this[_0x2b13e5(0x2ce)][_0x2b13e5(0x2cc)](_0x17d204['UNIVER_DOC'],[Fe])),this[_0x2b13e5(0x3bb)](this['_renderManagerService'][_0x2b13e5(0x2cc)](_0x17d204[_0x2b13e5(0x2a8)],[ke]));}[_0x336b69(0x2e0)](){const _0x5000e7=_0x336b69;_0xdb9170(this[_0x5000e7(0x2e4)],[[H],[ae],[Se],[_e],[ce],[Ie]]),this[_0x5000e7(0x2d5)]['enableFrontendLog']&&_0xdb9170(this[_0x5000e7(0x2e4)],[[le]]);}};wn(Ye,_0x336b69(0x2a9),yn),Ye=Pn([_0x2dfe5c(_0x54bfce),Me(0x1,_0x4b34f5),Me(0x2,_0x1f3b74(_0x55778f)),Me(0x3,_0x5535b0)],Ye);var $n=Object[_0x336b69(0x38c)],xn=(_0x5c2cac,_0xc7ba82,_0x5b0714,_0x1fe868)=>{const _0x209e67=_0x336b69;for(var _0x5c56fc=_0x1fe868>0x1?void 0x0:_0x1fe868?$n(_0xc7ba82,_0x5b0714):_0xc7ba82,_0x327298=_0x5c2cac[_0x209e67(0x3ba)]-0x1,_0x5a199f;_0x327298>=0x0;_0x327298--)(_0x5a199f=_0x5c2cac[_0x327298])&&(_0x5c56fc=_0x5a199f(_0x5c56fc)||_0x5c56fc);return _0x5c56fc;},J=(_0x181aef,_0x14555f)=>(_0x37d016,_0x65bba3)=>_0x14555f(_0x37d016,_0x65bba3,_0x181aef);let ut=class extends _0x28ce85{constructor(_0x3e2e79,_0x10541d,_0x1600cf,_0x519c03,_0x849115){super(_0x3e2e79,_0x10541d,_0x1600cf,_0x519c03,_0x849115);}async['createSocket'](_0x15025){const _0x217d58=_0x336b69,_0x89a15=await this[_0x217d58(0x3b5)](),_0x1840c4=this[_0x217d58(0x3b0)](_0x15025,_0x89a15);return this[_0x217d58(0x349)](_0x1840c4);}[_0x336b69(0x3b0)](_0x5e9a36,_0x58bb1d){const _0x20c743=_0x336b69,_0x1d6ed0=typeof window>'u'?new URL(_0x5e9a36):new URL(_0x5e9a36,window[_0x20c743(0x3a9)]['origin']);_0x1d6ed0['searchParams'][_0x20c743(0x2ba)](_0x20c743(0x2b8),_0x58bb1d);const _0x41bd93=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x41bd93[_0x20c743(0x3c1)]('runId')&&_0x1d6ed0[_0x20c743(0x261)][_0x20c743(0x2ba)]('runId',_0x41bd93[_0x20c743(0x3c1)]('runId')),_0x1d6ed0[_0x20c743(0x369)]();}async['_getSessionTicket'](){const _0x532293=_0x336b69;var _0x1efaac,_0x49dcd7,_0x4e7aac;const _0x5c5e1c=this[_0x532293(0x2ed)][_0x532293(0x318)](_0x41e428),_0x2c4aa1=(_0x1efaac=_0x5c5e1c==null?void 0x0:_0x5c5e1c[_0x532293(0x24f)])!=null?_0x1efaac:_0x3de23a;return(_0x4e7aac=(_0x49dcd7=(await this['_httpService'][_0x532293(0x3c1)](_0x2c4aa1,{'headers':{'Content-Type':_0x532293(0x260)}}))[_0x532293(0x376)])==null?void 0x0:_0x49dcd7[_0x532293(0x3c3)])!=null?_0x4e7aac:'';}};ut=xn([J(0x0,_0x1f3b74(_0x55778f)),J(0x1,_0x1f3b74(_0x348fb4)),J(0x2,_0x5535b0),J(0x3,_0x46a5d6),J(0x4,_0x1b188b)],ut);var Bn=Object['getOwnPropertyDescriptor'],Fn=(_0x5b0b54,_0x304e00,_0x335959,_0x2365b1)=>{const _0x4ee86c=_0x336b69;for(var _0x148d8e=_0x2365b1>0x1?void 0x0:_0x2365b1?Bn(_0x304e00,_0x335959):_0x304e00,_0x2f1767=_0x5b0b54[_0x4ee86c(0x3ba)]-0x1,_0x2883b0;_0x2f1767>=0x0;_0x2f1767--)(_0x2883b0=_0x5b0b54[_0x2f1767])&&(_0x148d8e=_0x2883b0(_0x148d8e)||_0x148d8e);return _0x148d8e;},Ae=(_0x3401b8,_0x12198d)=>(_0x5716ff,_0x5668fb)=>_0x12198d(_0x5716ff,_0x5668fb,_0x3401b8);let dt=class extends _0x47faf0{constructor(_0x293ae0,_0x381454,_0x541267){const _0xff431b=_0x336b69;super(),this['_instanceService']=_0x293ae0,this[_0xff431b(0x343)]=_0x381454,this[_0xff431b(0x2ed)]=_0x541267;}async[_0x336b69(0x379)](_0x5bb007,_0x1195b7,_0x354867,..._0x3364d5){const _0x498797=_0x336b69;var _0x4af387,_0x18c7d9,_0x45e305,_0x3ad404;const _0x1bb167=this[_0x498797(0x207)][_0x498797(0x3ca)]();if(!_0x1bb167)throw new Error(_0x498797(0x3f8));const _0x25c82f=((_0x4af387=this[_0x498797(0x2ed)][_0x498797(0x318)](_0x3a4421))!=null?_0x4af387:_0x1dee24)+'/'+_0x5bb007+_0x498797(0x277)+_0x1195b7,_0x541685=new URL(window['location']['href']),_0x5640b4={'scriptId':_0x5bb007,'runId':(_0x18c7d9=_0x541685['searchParams'][_0x498797(0x3c1)](_0x498797(0x200)))!=null?_0x18c7d9:'','function':_0x1195b7,'unitId':_0x1bb167[_0x498797(0x350)](),'argsOfFunction':JSON[_0x498797(0x301)](_0x3364d5),'invokeId':(_0x45e305=_0x354867[_0x498797(0x210)])!=null?_0x45e305:'','executionId':(_0x3ad404=_0x354867[_0x498797(0x264)])!=null?_0x3ad404:''};try{const _0xda26fb=await this[_0x498797(0x343)][_0x498797(0x231)](_0x25c82f,{'body':_0x5640b4});return _0xda26fb['body'][_0x498797(0x3a6)]&&_0xda26fb[_0x498797(0x376)][_0x498797(0x3a6)]['code']!==Z['OK']?_0x498797(0x2e2):_0xda26fb[_0x498797(0x376)]['result'];}catch{return _0x498797(0x2e2);}}};dt=Fn([Ae(0x0,_0x2f0580),Ae(0x1,_0x1f3b74(_0x348fb4)),Ae(0x2,_0x5535b0)],dt);const St=0x7530,It=_0x336b69(0x302);class rr extends _0x47faf0{constructor(){const _0x5364f1=_0x336b69;super(),_(this,'_id',_0x20f381()),_(this,'_selfUnitIDs',new Set()),_(this,_0x5364f1(0x316),new Map()),_(this,_0x5364f1(0x2b1),null),_(this,_0x5364f1(0x1ff),new Map()),_(this,_0x5364f1(0x28f),new Map()),this['_init']();}[_0x336b69(0x386)](){const _0x3c6486=_0x336b69;super[_0x3c6486(0x386)](),this[_0x3c6486(0x1ff)]['forEach']((_0x2ce7b5,_0x50cd27)=>this[_0x3c6486(0x1d1)](_0x50cd27)),this[_0x3c6486(0x2b1)]&&window[_0x3c6486(0x31a)](this['_heartbeatTimer']);}[_0x336b69(0x2b0)](_0x2b41a1){const _0x281471=_0x336b69;return this[_0x281471(0x3b4)](_0x2b41a1)[_0x281471(0x1fb)](_0x3bd83f());}['editingUnit'](_0x43da14){const _0x5d66e9=_0x336b69;this[_0x5d66e9(0x3a8)][_0x5d66e9(0x235)]===0x0&&this[_0x5d66e9(0x323)](),this['_selfUnitIDs'][_0x5d66e9(0x289)](_0x43da14),this['_send']({'type':0x0,'memberID':this[_0x5d66e9(0x3c5)],'unitIDs':[_0x43da14],'isForwarded':!0x1});}[_0x336b69(0x378)](_0x5d230f){const _0x3e65d9=_0x336b69;this[_0x3e65d9(0x3a8)]['delete'](_0x5d230f),this[_0x3e65d9(0x3a8)][_0x3e65d9(0x235)]===0x0&&this['_heartbeatTimer']&&window[_0x3e65d9(0x31a)](this['_heartbeatTimer']);}[_0x336b69(0x1c3)](){const _0x2ab40c=_0x336b69;this[_0x2ab40c(0x3bb)](_0x2e6fe6(_0x528a9c(window,_0x2ab40c(0x2e6))[_0x2ab40c(0x1b9)](_0x254226=>{const _0x4ef308=_0x2ab40c;if(_0x254226[_0x4ef308(0x3a2)]!==It||!_0x254226[_0x4ef308(0x3cf)])return;const _0x3a6a70=JSON[_0x4ef308(0x2f9)](_0x254226['newValue']);this[_0x4ef308(0x2f1)](_0x3a6a70);}))),window[_0x2ab40c(0x297)](_0x2ab40c(0x27e),()=>this[_0x2ab40c(0x311)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x2ab40c(0x220)](this['_selfUnitIDs'])}));}[_0x336b69(0x2f1)](_0x2e37a8){const _0x357794=_0x336b69;switch(_0x2e37a8[_0x357794(0x263)]){case 0x0:this[_0x357794(0x2bd)](_0x2e37a8);break;case 0x1:this[_0x357794(0x237)](_0x2e37a8);break;case 0x2:this['_handleHeartbeatEvent'](_0x2e37a8);break;}}[_0x336b69(0x2bd)](_0x49a0e2){const _0xf15b5a=_0x336b69,{unitIDs:_0x39abc3,memberID:_0x32a6ac,isForwarded:_0x442bf5}=_0x49a0e2;_0x39abc3[_0xf15b5a(0x3bc)](_0x178259=>{const _0x230f0f=_0xf15b5a;if(!_0x442bf5&&this[_0x230f0f(0x316)][_0x230f0f(0x3f3)](_0x178259)&&this[_0x230f0f(0x3b4)](_0x178259)[_0x230f0f(0x229)](_0x2fce61[_0x230f0f(0x1a6)]),!this['_unitOnClients'][_0x230f0f(0x3f3)](_0x178259)||!this[_0x230f0f(0x316)][_0x230f0f(0x3c1)](_0x178259)['has'](_0x32a6ac)){const _0x4f05cf=this[_0x230f0f(0x316)]['get'](_0x178259)||new Set();_0x4f05cf['add'](_0x32a6ac),this[_0x230f0f(0x316)][_0x230f0f(0x2ba)](_0x178259,_0x4f05cf),this[_0x230f0f(0x1c5)](_0x32a6ac);}}),_0x442bf5||this[_0xf15b5a(0x311)]({'type':0x0,'memberID':this[_0xf15b5a(0x3c5)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x336b69(0x1c5)](_0x124432){const _0x43f421=_0x336b69;this['_removeClearOtherTimer'](_0x124432);const _0x39f7df=window[_0x43f421(0x31f)](()=>{const _0x2f88d1=_0x43f421;this['_unitOnClients'][_0x2f88d1(0x3bc)](_0x59a19f=>{const _0x379e7f=_0x2f88d1;_0x59a19f[_0x379e7f(0x3cc)](_0x124432);});},St*0x2);this[_0x43f421(0x1ff)]['set'](_0x124432,_0x39f7df);}[_0x336b69(0x1d1)](_0x2ce760){const _0x1642df=_0x336b69;if(this[_0x1642df(0x1ff)][_0x1642df(0x3f3)](_0x2ce760)){const _0x3e9959=this['_clearOtherTimers'][_0x1642df(0x3c1)](_0x2ce760);_0x3e9959&&window['clearTimeout'](_0x3e9959),this[_0x1642df(0x1ff)][_0x1642df(0x2ba)](_0x2ce760,null);}}[_0x336b69(0x237)](_0x34d4e1){const _0x6f9087=_0x336b69,{memberID:_0x3a2374,unitIDs:_0x438187}=_0x34d4e1;_0x438187[_0x6f9087(0x3bc)](_0x1d7d41=>{const _0x31f026=_0x6f9087;var _0x4c7417;const _0x3f851b=this['_unitOnClients']['get'](_0x1d7d41);_0x3f851b&&(_0x3f851b[_0x31f026(0x3cc)](_0x3a2374),(_0x4c7417=this[_0x31f026(0x3b4)](_0x1d7d41))==null||_0x4c7417[_0x31f026(0x229)](_0x3f851b['size']===0x0?_0x2fce61['NO_OTHER_CLIENTS_EDITING']:_0x2fce61[_0x31f026(0x1a6)]));}),this[_0x6f9087(0x1d1)](_0x3a2374);}[_0x336b69(0x3fe)](_0x3d7ffa){const _0x4c6660=_0x336b69;this[_0x4c6660(0x1c5)](_0x3d7ffa[_0x4c6660(0x2c6)]);}[_0x336b69(0x311)](_0x1eea57){const _0x5743bd=_0x336b69;localStorage[_0x5743bd(0x2a1)](It,JSON[_0x5743bd(0x301)](_0x1eea57));}[_0x336b69(0x323)](){const _0x4f1246=_0x336b69;this[_0x4f1246(0x2b1)]=window[_0x4f1246(0x38d)](()=>{const _0x5edc87=_0x4f1246;this[_0x5edc87(0x311)]({'type':0x2,'memberID':this[_0x5edc87(0x3c5)]});},St);}['_ensureSubject'](_0x1bf1dc){const _0x1a9098=_0x336b69;return this[_0x1a9098(0x28f)][_0x1a9098(0x3f3)](_0x1bf1dc)||this[_0x1a9098(0x28f)]['set'](_0x1bf1dc,new _0x2b7d7c(_0x2fce61['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus']['get'](_0x1bf1dc);}}export{ut as BrowserCollaborationSocketService,ce as CollaborationDataLoaderController,ae as DesktopCollaborationStatusDisplayController,yt as IURLService,dt as RemoteUniscriptService,tn as SheetCollabCursorShape,Ye as UniverCollaborationClientUIPlugin,rr as WebBrowserSingleActiveUnitService,Ln as WebURLService};
|