@univerjs-pro/collaboration-client-ui 0.12.4-insiders.20251213-692494c → 0.13.0
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 _0x12f7be=_0x473f;function _0x473f(_0x3ab86e,_0x485d35){_0x3ab86e=_0x3ab86e-0xb0;const _0x919a54=_0x919a();let _0x473f33=_0x919a54[_0x3ab86e];return _0x473f33;}(function(_0x51d400,_0x3876c8){const _0x4081f2=_0x473f,_0x22a72e=_0x51d400();while(!![]){try{const _0x46c6ed=parseInt(_0x4081f2(0x27c))/0x1*(parseInt(_0x4081f2(0xfe))/0x2)+parseInt(_0x4081f2(0x131))/0x3+parseInt(_0x4081f2(0x1bf))/0x4+parseInt(_0x4081f2(0x10a))/0x5*(parseInt(_0x4081f2(0x182))/0x6)+parseInt(_0x4081f2(0x13e))/0x7+-parseInt(_0x4081f2(0x2e1))/0x8+-parseInt(_0x4081f2(0x1fb))/0x9;if(_0x46c6ed===_0x3876c8)break;else _0x22a72e['push'](_0x22a72e['shift']());}catch(_0x3082e1){_0x22a72e['push'](_0x22a72e['shift']());}}}(_0x919a,0xb419b));var Yt=Object[_0x12f7be(0x265)],Wt=(_0x14c1d3,_0xabc033,_0x14663f)=>_0xabc033 in _0x14c1d3?Yt(_0x14c1d3,_0xabc033,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x14663f}):_0x14c1d3[_0xabc033]=_0x14663f,_=(_0x4d5ab6,_0x173480,_0x25ebf4)=>Wt(_0x4d5ab6,typeof _0x173480!=_0x12f7be(0x10b)?_0x173480+'':_0x173480,_0x25ebf4);import{jsx as _0x113f07,jsxs as _0x1eecd1}from'react/jsx-runtime';import{CollaborationStatus as _0x2a0d66,CollaborationSessionService as _0x3c5e90,CollaborationController as _0x41819a,DataLoaderService as _0x48f288,MemberService as _0xa7c392,SessionStatus as _0x434c9d,ILocalCacheService as _0x381fc8,CollaborationUIEventService as _0x4cdc9c,CollaborationUIEventId as _0x45a0bb,DocCollaborationEntity as _0x2f6c55,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x3c1c8f,getLocalCacheKey as _0x193170,LOCAL_CACHE_INTERVAL as _0x41a768,LOCAL_CACHE_INTERVAL_KEY as _0x1d75b1,UniverCollaborationClientPlugin as _0x2e3618,CollaborationSocketService as _0x5012d6,DEFAULT_WS_SESSION_TICKET_URL as _0x29d557,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x587df1,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x499824,UnitStatus as _0x4d3796}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x35b6c7,IUniverInstanceService as _0x52d51e,Inject as _0x3714f8,Injector as _0x24a160,Disposable as _0x112363,createIdentifier as _0x21b651,ILogService as _0x36e10f,ICommandService as _0x58f12e,Optional as _0x4a5b34,RxDisposable as _0x53e01a,Workbook as _0x137b01,DOC_RANGE_TYPE as _0x6ed74f,debounce as _0x5a1035,Rectangle as _0x3fed9b,DisposableCollection as _0x4284de,toDisposable as _0x16c8e4,UniverInstanceType as _0x53cd3e,generateRandomId as _0x28ef98,COLORS as _0x5c8de6,ColorKit as _0x376a8e,ThemeService as _0x252ee3,fromEventSubject as _0x535589,Tools as _0x4dbc53,CommandType as _0x1de431,IConfigService as _0x5a741e,CanceledError as _0x24cc76,isFormulaString as _0x371c6c,isFormulaId as _0x2bd85a,ILocalStorageService as _0x5e3c18,DependentOn as _0x1999b3,Plugin as _0x5affa2,merge as _0x537f2b,registerDependencies as _0x358fe2,mergeOverrideWithDependencies as _0x2cd5a1,touchDependencies as _0x48ed1d}from'@univerjs/core';import{useObservable as _0x368c28,useDependency as _0x5911c2,IUIPartsService as _0x1e6b0c,BuiltInUIPart as _0x5a54ac,connectInjector as _0x4e04ea,IBeforeCloseService as _0x3e8c86,IMessageService as _0x543869,INotificationService as _0x4d19e9}from'@univerjs/ui';import{BehaviorSubject as _0x51f523,switchMap as _0x55969c,of as _0x1ec186,takeUntil as _0x4da0bf,debounceTime as _0x19303b,Subject as _0x1fac1f,filter as _0x24339d,merge as _0x826d92,combineLatest as _0x48aeb3,fromEvent as _0x45269d,shareReplay as _0x528417,mapTo as _0x84d373,distinctUntilChanged as _0x332830}from'rxjs';import{Tooltip as _0x40dc63,clsx as _0xee85e0,MessageType as _0x4bbdcc}from'@univerjs/design';import{useRef as _0x48b388,createElement as _0x1773bb,forwardRef as _0x374bc5,useCallback as _0x48404f}from'react';import{IRemoteInstanceService as _0x136b48}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x280b7c,RefRangeService as _0xe3159f,SetSelectionsOperation as _0x25f058,SheetsSelectionsService as _0x5bbf8d,EffectRefRangId as _0x4eb700,handleIRemoveRow as _0x44c162,handleIRemoveCol as _0x3dbb55,handleMoveRange as _0x221e69,handleInsertRow as _0x44d812,handleInsertRangeMoveRight as _0x554330,handleInsertRangeMoveDown as _0x3fbd49,handleInsertCol as _0x3f84c9,handleDeleteRangeMoveUp as _0x5e9d7d,handleDeleteRangeMoveLeft as _0x16e40f,runRefRangeMutations as _0x908350}from'@univerjs/sheets';import{Shape as _0x453ad9,Rect as _0xf6029d,getColor as _0x51fc9e,RegularPolygon as _0x6842e7,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x19edf3,Vector2 as _0x20bdbd,SHEET_VIEWPORT_KEY as _0x1db3ff,IRenderManagerService as _0x4ae0f1}from'@univerjs/engine-render';import{HTTPService as _0x1ef343,ISocketService as _0x333b75,WebSocketService as _0x12b10a}from'@univerjs/network';import{IDocClipboardService as _0x392901,NodePositionConvertToCursor as _0x5a7e88,NodePositionConvertToRectRange as _0x506f46,TEXT_RANGE_LAYER_INDEX as _0x4df622,SetDocZoomRatioOperation as _0xea9b01,DocIMEInputManagerService as _0x5d750a,DocStateChangeManagerService as _0xc26da3}from'@univerjs/docs-ui';import{IImageIoService as _0x1e7b2a}from'@univerjs/drawing';import{ITransformService as _0x5963ba,CollaborationEvent as _0x38e1b2,isTransformMutationFailure as _0x594698,isTransformMutationsWithChangesetSuccess as _0xcbda0,RevisionService as _0x17c8fb,ISnapshotServerService as _0x479bb3}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x16b06b,RichTextEditingMutation as _0x105f6f,DocSelectionManagerService as _0x299386,DocSkeletonManagerService as _0x17ec67}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x1513e7,serializeRangeWithSheet as _0x269cf9,FormulaExecuteStageType as _0x252b95,FormulaExecutedStateType as _0x84f645,SetFormulaCalculationStartMutation as _0x576576,SetFormulaCalculationNotificationMutation as _0x554e96}from'@univerjs/engine-formula';import{map as _0x2da2ce,filter as _0x57f830,throttleTime as _0x58940e,takeUntil as _0x5894b4,switchMap as _0x1fb447}from'rxjs/operators';import{SheetSkeletonManagerService as _0x498a70,getCoordByCell as _0x30bc8b,getSheetObject as _0x5bfd58}from'@univerjs/sheets-ui';function Ge({ref:_0x54291e,..._0x241bea}){const _0x406c15=_0x12f7be,{icon:_0x5a965f,id:_0x2e2ab2,className:_0x5051be,extend:_0x17a17b,..._0x15162f}=_0x241bea,_0x3bcf9f=('univerjs-icon\x20univerjs-icon-'+_0x2e2ab2+'\x20'+(_0x5051be||''))[_0x406c15(0x20f)](),_0x2be787=_0x48b388('_'+vi());return At(_0x5a965f,''+_0x2e2ab2,{'defIds':_0x5a965f[_0x406c15(0x271)],'idSuffix':_0x2be787[_0x406c15(0x1eb)]},{'ref':_0x54291e,'className':_0x3bcf9f,..._0x15162f},_0x17a17b);}function At(_0x48337c,_0x8fdcfa,_0x1aae2a,_0x4886cf,_0x37bae4){const _0x482f46=_0x12f7be;return _0x1773bb(_0x48337c[_0x482f46(0xb1)],{'key':_0x8fdcfa,...gi(_0x48337c,_0x1aae2a,_0x37bae4),..._0x4886cf},(Ei(_0x48337c,_0x1aae2a)['children']||[])[_0x482f46(0x2ae)]((_0x5701bd,_0x503352)=>At(_0x5701bd,_0x8fdcfa+'-'+_0x48337c['tag']+'-'+_0x503352,_0x1aae2a,void 0x0,_0x37bae4)));}function gi(_0x1a639a,_0x106a49,_0x3f4a77){const _0x100204=_0x12f7be,_0x221261={..._0x1a639a[_0x100204(0x1da)]};_0x3f4a77!=null&&_0x3f4a77[_0x100204(0x1bb)]&&_0x221261['fill']===_0x100204(0x1bb)&&(_0x221261[_0x100204(0x26a)]=_0x3f4a77[_0x100204(0x1bb)]),_0x1a639a[_0x100204(0xb1)]===_0x100204(0x1d6)&&_0x221261['id']&&(_0x221261['id']=_0x221261['id']+_0x106a49[_0x100204(0x2a4)]),Object[_0x100204(0xd5)](_0x221261)[_0x100204(0x275)](([_0x16ae69,_0x221fa8])=>{const _0x11cbf2=_0x100204;_0x16ae69==='mask'&&typeof _0x221fa8==_0x11cbf2(0x2b2)&&(_0x221261[_0x16ae69]=_0x221fa8[_0x11cbf2(0xba)](/url\(#(.*)\)/,_0x11cbf2(0x2b4)+_0x106a49[_0x11cbf2(0x2a4)]+')'));});const {defIds:_0x45398a}=_0x106a49;return!_0x45398a||_0x45398a[_0x100204(0x1c8)]===0x0||(_0x1a639a['tag']==='use'&&_0x221261[_0x100204(0x1b4)]&&(_0x221261[_0x100204(0x1b4)]=_0x221261[_0x100204(0x1b4)]+_0x106a49[_0x100204(0x2a4)]),Object[_0x100204(0xd5)](_0x221261)[_0x100204(0x275)](([_0x37688a,_0x313bb4])=>{const _0x13d8f2=_0x100204;typeof _0x313bb4==_0x13d8f2(0x2b2)&&(_0x221261[_0x37688a]=_0x313bb4[_0x13d8f2(0xba)](/url\(#(.*)\)/,_0x13d8f2(0x2b4)+_0x106a49[_0x13d8f2(0x2a4)]+')'));})),_0x221261;}function Ei(_0x3d723b,_0x402667){const _0xc86db6=_0x12f7be;var _0x56acb2;const {defIds:_0x272e3e}=_0x402667;return!_0x272e3e||_0x272e3e[_0xc86db6(0x1c8)]===0x0?_0x3d723b:_0x3d723b[_0xc86db6(0xb1)]===_0xc86db6(0x272)&&((_0x56acb2=_0x3d723b['children'])!=null&&_0x56acb2[_0xc86db6(0x1c8)])?{..._0x3d723b,'children':_0x3d723b[_0xc86db6(0x186)][_0xc86db6(0x2ae)](_0x31ea3c=>typeof _0x31ea3c['attrs']['id']=='string'&&_0x272e3e&&_0x272e3e['includes'](_0x31ea3c[_0xc86db6(0x1da)]['id'])?{..._0x31ea3c,'attrs':{..._0x31ea3c[_0xc86db6(0x1da)],'id':_0x31ea3c[_0xc86db6(0x1da)]['id']+_0x402667[_0xc86db6(0x2a4)]}}:_0x31ea3c)}:_0x3d723b;}function vi(){const _0x1e38fa=_0x12f7be;return Math['random']()[_0x1e38fa(0x20c)](0x24)[_0x1e38fa(0xe0)](0x2,0x8);}Ge[_0x12f7be(0x2f9)]=_0x12f7be(0x14c);const pi={'tag':'svg','attrs':{'xmlns':_0x12f7be(0x2ea),'fill':'none','viewBox':_0x12f7be(0x202),'width':'1em','height':_0x12f7be(0x2a2)},'children':[{'tag':'g','attrs':{'clipPath':_0x12f7be(0x130)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x12f7be(0x1d9),'strokeLinecap':_0x12f7be(0x2d3),'strokeLinejoin':_0x12f7be(0x2d3),'strokeWidth':1.2}}]},{'tag':_0x12f7be(0x272),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x12f7be(0x242)},'children':[{'tag':_0x12f7be(0x1d8),'attrs':{'fill':_0x12f7be(0xe4),'d':_0x12f7be(0x170)}}]}]}],'defIds':[_0x12f7be(0x242)]},Pt=_0x374bc5(function(_0x26a7a1,_0xf58833){const _0x526caa=_0x12f7be;return _0x1773bb(Ge,Object[_0x526caa(0x1de)]({},_0x26a7a1,{'id':_0x526caa(0x294),'ref':_0xf58833,'icon':pi}));});Pt['displayName']=_0x12f7be(0x2e3);const Oi={'tag':_0x12f7be(0x27d),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x12f7be(0xc8),'viewBox':_0x12f7be(0xc7),'width':_0x12f7be(0x2a2),'height':_0x12f7be(0x2a2)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x12f7be(0x1d8),'attrs':{'stroke':_0x12f7be(0x2a8),'d':_0x12f7be(0xc4),'strokeLinecap':_0x12f7be(0x2d3),'strokeLinejoin':_0x12f7be(0x2d3),'strokeWidth':1.2}}]},{'tag':_0x12f7be(0x272),'attrs':{},'children':[{'tag':_0x12f7be(0x262),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x12f7be(0x1d8),'attrs':{'fill':_0x12f7be(0xe4),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x12f7be(0x25b)]},wt=_0x374bc5(function(_0x3b0cc2,_0x52eba6){const _0x3df1e3=_0x12f7be;return _0x1773bb(Ge,Object[_0x3df1e3(0x1de)]({},_0x3b0cc2,{'id':_0x3df1e3(0x17a),'ref':_0x52eba6,'icon':Oi}));});wt['displayName']='OnLineIcon';function Ti(_0x299edf){const _0x450195=_0x12f7be;switch(_0x299edf){case _0x2a0d66['OFFLINE']:return _0x450195(0x2e6);case _0x2a0d66[_0x450195(0x1ba)]:return _0x450195(0x297);case _0x2a0d66[_0x450195(0xd6)]:return _0x450195(0x2fe);case _0x2a0d66[_0x450195(0x16a)]:return _0x450195(0x2e9);case _0x2a0d66['AWAITING']:case _0x2a0d66[_0x450195(0xb9)]:return _0x450195(0x200);case _0x2a0d66[_0x450195(0x1b5)]:case _0x2a0d66['PENDING']:return _0x450195(0x204);}}function Ci(_0x1e47cd){const _0x1c4f8f=_0x12f7be,{status$:_0x59eead}=_0x1e47cd,_0x53d908=_0x368c28(_0x59eead,_0x2a0d66[_0x1c4f8f(0x16a)]),_0xbbc8c4=_0x5911c2(_0x35b6c7),_0xf58517=_0x5911c2(_0x3c5e90),_0x37defb=_0x53d908!==_0x2a0d66[_0x1c4f8f(0x2fb)],_0xff51bd=_0xbbc8c4['t'](Ti(_0x53d908)),_0x49bac4=_0x37defb?_0x113f07(wt,{}):_0x113f07(Pt,{}),_0x40b105=_0x48404f(()=>{const _0x241e44=_0x1c4f8f;_0x37defb||_0xf58517[_0x241e44(0x18c)]();},[_0x37defb,_0xf58517]);function _0x18e815(){const _0x1d6afe=_0x1c4f8f;return _0x1eecd1(_0x1d6afe(0x280),{'className':'univer-flex\x20univer-items-center','onClick':_0x40b105,'children':[_0x113f07(_0x1d6afe(0x280),{'className':_0xee85e0(_0x1d6afe(0x24a),{'univer-text-green-500':_0x37defb,'univer-text-red-500':!_0x37defb}),'children':_0x49bac4}),_0x113f07(_0x1d6afe(0x280),{'className':_0x1d6afe(0x146),'children':_0xff51bd})]});}return _0x37defb?_0x18e815():_0x113f07(_0x40dc63,{'title':_0xbbc8c4['t'](_0x1c4f8f(0x14f)),'children':_0x18e815()});}var Ri=Object[_0x12f7be(0x214)],Di=(_0x5aedbf,_0x538faf,_0x422285,_0xf94fb3)=>{const _0x6cb629=_0x12f7be;for(var _0x358d8d=_0xf94fb3>0x1?void 0x0:_0xf94fb3?Ri(_0x538faf,_0x422285):_0x538faf,_0xf023fe=_0x5aedbf[_0x6cb629(0x1c8)]-0x1,_0x190f60;_0xf023fe>=0x0;_0xf023fe--)(_0x190f60=_0x5aedbf[_0xf023fe])&&(_0x358d8d=_0x190f60(_0x358d8d)||_0x358d8d);return _0x358d8d;},se=(_0x1678f1,_0x487908)=>(_0xe604bf,_0x216b10)=>_0x487908(_0xe604bf,_0x216b10,_0x1678f1);let ae=class extends _0x112363{constructor(_0xebd0bd,_0x139be5,_0x35914c,_0x250602){const _0x51118d=_0x12f7be;super(),_(this,_0x51118d(0x2ec),new _0x51f523(_0x2a0d66['NOT_COLLAB'])),(this[_0x51118d(0x1e0)]=_0xebd0bd,this[_0x51118d(0x213)]=_0x139be5,this[_0x51118d(0x14d)]=_0x35914c,this[_0x51118d(0xf1)]=_0x250602,this[_0x51118d(0x303)](),this[_0x51118d(0x207)]());}['_initStatusListener'](){const _0x463472=_0x12f7be;this[_0x463472(0x26c)](this[_0x463472(0x1e0)]['focused$']['pipe'](_0x55969c(()=>{const _0x418ecf=_0x463472,_0x11f1e0=this[_0x418ecf(0x1e0)][_0x418ecf(0x20d)]();return _0x11f1e0?this[_0x418ecf(0x14d)][_0x418ecf(0xdb)](_0x11f1e0[_0x418ecf(0xb6)]()):_0x1ec186(null);}),_0x55969c(_0x32f2da=>_0x32f2da?_0x32f2da[_0x463472(0x10c)]:_0x1ec186(_0x2a0d66[_0x463472(0x16a)])))[_0x463472(0x1e6)](_0x8b865e=>{const _0x386b05=_0x463472;this[_0x386b05(0x2ec)][_0x386b05(0xe6)](_0x8b865e);}));}[_0x12f7be(0x303)](){const _0x5bd223=_0x12f7be;this[_0x5bd223(0x26c)](this[_0x5bd223(0xf1)][_0x5bd223(0x174)](_0x5a54ac[_0x5bd223(0x12c)],()=>_0x4e04ea(Ni({'status$':this[_0x5bd223(0x2ec)][_0x5bd223(0x195)]()}),this['_injector'])));}};ae=Di([se(0x0,_0x52d51e),se(0x1,_0x3714f8(_0x24a160)),se(0x2,_0x3714f8(_0x41819a)),se(0x3,_0x1e6b0c)],ae);function Ni(_0x1bd33c){const {status$:_0x3efcbb}=_0x1bd33c;return function(){return _0x113f07(Ci,{'status$':_0x3efcbb});};}const yt=_0x21b651('uni.network.url-service');var bi=Object['getOwnPropertyDescriptor'],Li=(_0x1f837a,_0x1153fd,_0x45afab,_0x568d64)=>{for(var _0x376df0=_0x568d64>0x1?void 0x0:_0x568d64?bi(_0x1153fd,_0x45afab):_0x1153fd,_0x2f01b7=_0x1f837a['length']-0x1,_0x47849b;_0x2f01b7>=0x0;_0x2f01b7--)(_0x47849b=_0x1f837a[_0x2f01b7])&&(_0x376df0=_0x47849b(_0x376df0)||_0x376df0);return _0x376df0;},K=(_0xc19778,_0x26a287)=>(_0x3201a7,_0x277ac4)=>_0x26a287(_0x3201a7,_0x277ac4,_0xc19778);let ce=class extends _0x53e01a{constructor(_0x204f71,_0x1e8763,_0x3f7204,_0x178583,_0x323cea){const _0x129770=_0x12f7be;super(),this['_urlService']=_0x204f71,this[_0x129770(0x267)]=_0x1e8763,this[_0x129770(0x21d)]=_0x3f7204,this[_0x129770(0x2c6)]=_0x178583,_0x323cea?_0x323cea==null||_0x323cea['whenReady']()['then'](()=>this['_init']()):(this[_0x129770(0x267)][_0x129770(0x209)](_0x129770(0x2b3),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x129770(0x279)]());}async[_0x12f7be(0x279)](){const _0x567f80=_0x12f7be,_0x8c5cca=this[_0x567f80(0x11b)]['getParam'](_0x567f80(0x132)),_0x3f839a=this[_0x567f80(0x11b)][_0x567f80(0x1ac)](_0x567f80(0x16d)),_0xbe7ebd=this['_urlService'][_0x567f80(0x1ac)](_0x567f80(0x255));if(!_0x8c5cca||!_0x3f839a){this[_0x567f80(0x267)][_0x567f80(0x209)](_0x567f80(0x2b3),_0x567f80(0x192));return;}const _0x50b6be=await this['_dataLoaderService'][_0x567f80(0x238)](_0x8c5cca,Number(_0x3f839a),_0xbe7ebd);_0x50b6be&&_0x50b6be instanceof _0x137b01&&this['_setupSubUnitSync'](_0x50b6be);}async['_setupSubUnitSync'](_0x81701){const _0xc7d08d=_0x12f7be;await this['_updateSubUnitFromURLParams'](_0x81701),_0x81701[_0xc7d08d(0x2c0)]['pipe'](_0x4da0bf(this[_0xc7d08d(0x2a6)]))['subscribe'](_0x347aee=>{_0x347aee&&this['_updateURLWithCurrentState'](_0x347aee);}),this[_0xc7d08d(0x11b)]['urlChange$']['pipe'](_0x4da0bf(this[_0xc7d08d(0x2a6)]))[_0xc7d08d(0x1e6)](()=>this[_0xc7d08d(0x1a9)](_0x81701));}['_updateURLWithCurrentState'](_0x3d82ea,_0x120241=!0x1){const _0x2d079a=_0x12f7be,_0x89e54b=this[_0x2d079a(0x11b)]['getParam'](_0x2d079a(0x255));_0x3d82ea[_0x2d079a(0x184)]()!==_0x89e54b&&this[_0x2d079a(0x11b)][_0x2d079a(0x149)]('subunit',_0x3d82ea[_0x2d079a(0x184)](),_0x120241);}async['_updateSubUnitFromURLParams'](_0x525dd2){const _0x2842e9=_0x12f7be;var _0x403ba2;const _0x28406a=this[_0x2842e9(0x11b)]['getParam'](_0x2842e9(0x255));if(!_0x28406a||!_0x525dd2[_0x2842e9(0x1af)](_0x28406a)){const _0x430253=_0x525dd2[_0x2842e9(0xcb)]()[0x0],_0x5ab056=_0x525dd2[_0x2842e9(0x1af)](_0x430253);if(!_0x5ab056)return;this[_0x2842e9(0x2da)](_0x5ab056,!0x0),await this[_0x2842e9(0x21d)][_0x2842e9(0x2fd)](_0x280b7c['id'],{'unitId':_0x525dd2[_0x2842e9(0xb6)](),'subUnitId':_0x430253});return;}((_0x403ba2=_0x525dd2[_0x2842e9(0x2e4)]())==null?void 0x0:_0x403ba2['getSheetId']())!==_0x28406a&&await this[_0x2842e9(0x21d)]['executeCommand'](_0x280b7c['id'],{'unitId':_0x525dd2[_0x2842e9(0xb6)](),'subUnitId':_0x28406a});}};ce=Li([K(0x0,yt),K(0x1,_0x36e10f),K(0x2,_0x58f12e),K(0x3,_0x3714f8(_0x48f288)),K(0x4,_0x4a5b34(_0x136b48))],ce);var Ui=Object[_0x12f7be(0x214)],Mi=(_0x165193,_0x5acf9f,_0x3d769a,_0x2edd2e)=>{const _0x61825f=_0x12f7be;for(var _0x283bdb=_0x2edd2e>0x1?void 0x0:_0x2edd2e?Ui(_0x5acf9f,_0x3d769a):_0x5acf9f,_0x5c9b30=_0x165193[_0x61825f(0x1c8)]-0x1,_0x27138e;_0x5c9b30>=0x0;_0x5c9b30--)(_0x27138e=_0x165193[_0x5c9b30])&&(_0x283bdb=_0x27138e(_0x283bdb)||_0x283bdb);return _0x283bdb;},rt=(_0x536b1c,_0x13bebd)=>(_0x4fdb09,_0x4796a8)=>_0x13bebd(_0x4fdb09,_0x4796a8,_0x536b1c);let $e=class extends _0x53e01a{constructor(_0x361c00,_0x511114){const _0x26c2de=_0x12f7be;super(),this['_docClipboardService']=_0x361c00,this[_0x26c2de(0x164)]=_0x511114,this[_0x26c2de(0x279)]();}[_0x12f7be(0x279)](){const _0x57b437=_0x12f7be,_0x20249e=this;this[_0x57b437(0x26c)](this['_docClipboardService'][_0x57b437(0x1b1)]({'onBeforePasteImage':async _0x4d50f7=>{const _0x4640c5=_0x57b437,_0x310c1c=await _0x20249e[_0x4640c5(0x164)]['saveImage'](_0x4d50f7);return _0x310c1c?{'source':_0x310c1c[_0x4640c5(0x251)],'imageSourceType':_0x310c1c[_0x4640c5(0x1bc)]}:null;}}));}};$e=Mi([rt(0x0,_0x392901),rt(0x1,_0x1e7b2a)],$e);const ot=[_0x12f7be(0x2a3),_0x12f7be(0x245),_0x12f7be(0x161),'red.300',_0x12f7be(0x13d),_0x12f7be(0x13f)];class Ke extends _0x112363{constructor(){const _0x56eb1a=_0x12f7be;super(...arguments),_(this,_0x56eb1a(0xed),new Map()),_(this,_0x56eb1a(0x124),0x0);}[_0x12f7be(0xff)](_0x5a7c37){const _0x556629=_0x12f7be;if(this[_0x556629(0xed)][_0x556629(0x201)](_0x5a7c37))return this['_assignedColors']['get'](_0x5a7c37);const _0x31b599=ot[this['_colorIndex']];return this['_colorIndex']=(this[_0x556629(0x124)]+0x1)%ot['length'],this[_0x556629(0xed)][_0x556629(0x13b)](_0x5a7c37,_0x31b599),_0x31b599;}}function $t(_0x1a470e){let _0x47ce35='';for(const _0x58f336 of _0x1a470e){const {startOffset:_0x3fd4be,endOffset:_0x56bfe2,isActive:_0x3f01a1,rangeType:_0x27f4f8,segmentId:_0x503ba3,segmentPage:_0x1afafc}=_0x58f336;_0x47ce35['length']&&(_0x47ce35+=','),_0x47ce35+=_0x3fd4be+':'+_0x56bfe2+':'+(_0x3f01a1?'1':'0')+':'+_0x27f4f8+':'+_0x503ba3+':'+_0x1afafc;}return _0x47ce35;}function Ai(_0x3c41f4){const _0x2f5edf=_0x12f7be,_0x4d94d6=_0x3c41f4[_0x2f5edf(0x2de)](','),_0x291279=[];for(const _0x4e005c of _0x4d94d6){const [_0x1aeb46,_0x1a1dfc,_0x2bb9bf,_0x39356a,_0x558c50,_0x5b59fc]=_0x4e005c['split'](':');_0x291279[_0x2f5edf(0x210)]({'startOffset':Number(_0x1aeb46),'endOffset':Number(_0x1a1dfc),'collapsed':_0x1aeb46===_0x1a1dfc,'isActive':_0x2bb9bf==='1','rangeType':_0x39356a===_0x6ed74f[_0x2f5edf(0x2f6)]?_0x6ed74f[_0x2f5edf(0x2f6)]:_0x6ed74f[_0x2f5edf(0x101)],'segmentId':typeof _0x558c50=='string'?String(_0x558c50):'','segmentPage':Number(_0x5b59fc!=null?_0x5b59fc:-0x1)});}return _0x291279[_0x2f5edf(0x12f)](_0x54844f=>_0x54844f[_0x2f5edf(0x217)])||(_0x291279[0x0][_0x2f5edf(0x217)]=!0x0),_0x291279;}class ze extends _0x53e01a{constructor(){const _0x31c3aa=_0x12f7be;super(...arguments),_(this,_0x31c3aa(0x158),new _0x51f523(null)),_(this,_0x31c3aa(0x1b0),this['_collabCursorState$'][_0x31c3aa(0x195)]());}[_0x12f7be(0xe2)](_0x53ff9c){const _0x2a7077=_0x12f7be,{unitID:_0xaf8c4f,memberID:_0xc8ec8c,textRanges:_0x52b4dc}=_0x53ff9c,_0x3dd4e4=$t(_0x52b4dc);if(_0x3dd4e4==='')return;const _0xc828ca={'unitID':_0xaf8c4f,'memberID':_0xc8ec8c,'selection':_0x3dd4e4};this['_collabCursorState$'][_0x2a7077(0xe6)](_0xc828ca);}}var Pi=Object[_0x12f7be(0x214)],wi=(_0x1a2358,_0x1d1932,_0x201fd9,_0x27ff99)=>{for(var _0x20185a=_0x27ff99>0x1?void 0x0:_0x27ff99?Pi(_0x1d1932,_0x201fd9):_0x1d1932,_0x407745=_0x1a2358['length']-0x1,_0x372f42;_0x407745>=0x0;_0x407745--)(_0x372f42=_0x1a2358[_0x407745])&&(_0x20185a=_0x372f42(_0x20185a)||_0x20185a);return _0x20185a;},A=(_0x4809d0,_0x62ae78)=>(_0x5c4907,_0x29db4c)=>_0x62ae78(_0x5c4907,_0x29db4c,_0x4809d0);const yi=0x12c,$i=0x64;let xe=class extends _0x53e01a{constructor(_0x3a2c8f,_0x34248f,_0x520e78,_0x1d0a40,_0x1055af,_0xebe9e3,_0x20b000,_0x3cfde3,_0x2093d8){const _0x252e57=_0x12f7be;super(),_(this,_0x252e57(0x22f),!0x1),_(this,_0x252e57(0x279),!0x1),_(this,_0x252e57(0x154),new _0x51f523(new Map())),_(this,_0x252e57(0x1d5),this[_0x252e57(0x154)][_0x252e57(0x195)]()),_(this,'_roomMembers$',new _0x51f523([])),_(this,_0x252e57(0x2ee),this[_0x252e57(0x155)][_0x252e57(0x1c3)](_0x19303b(yi))),_(this,_0x252e57(0x22c),_0x5a1035(_0x3cceb8=>{const _0x55472d=_0x252e57,_0x1038b4={'eventID':_0x38e1b2[_0x55472d(0x27b)],'data':{'unitID':this[_0x55472d(0x254)],'memberID':this['_session'][_0x55472d(0x196)](),'selection':$t(_0x3cceb8)}};this[_0x55472d(0xb0)][_0x55472d(0x1d2)](_0x1038b4,this[_0x55472d(0x254)]);},$i)),(this[_0x252e57(0x254)]=_0x3a2c8f,this['_session']=_0x34248f,this[_0x252e57(0x213)]=_0x520e78,this[_0x252e57(0xd2)]=_0x1d0a40,this[_0x252e57(0x208)]=_0x1055af,this[_0x252e57(0x258)]=_0xebe9e3,this[_0x252e57(0x13c)]=_0x20b000,this['_univerInstanceService']=_0x3cfde3,this[_0x252e57(0x21d)]=_0x2093d8);}get[_0x12f7be(0x2b1)](){const _0x500b19=_0x12f7be;return this['_cursorInfo$'][_0x500b19(0x2eb)]();}get[_0x12f7be(0xdc)](){const _0x3f88b6=_0x12f7be;return this[_0x3f88b6(0x155)]['getValue']();}[_0x12f7be(0x2e8)](){const _0x6c863=_0x12f7be;super[_0x6c863(0x2e8)](),this[_0x6c863(0x154)][_0x6c863(0xe6)](new Map()),this['_cursorInfo$'][_0x6c863(0x1a5)](),this[_0x6c863(0x155)][_0x6c863(0xe6)]([]),this['_roomMembers$']['complete']();}['init'](){const _0x39c7c7=_0x12f7be;this[_0x39c7c7(0x279)]||(this[_0x39c7c7(0x279)]=!0x0,this[_0x39c7c7(0xb0)][_0x39c7c7(0x102)][_0x39c7c7(0x1c3)](_0x4da0bf(this[_0x39c7c7(0x2a6)]))[_0x39c7c7(0x1e6)](_0x5f1674=>{const _0x2730fb=_0x39c7c7;_0x5f1674===_0x434c9d[_0x2730fb(0x2f5)]?this['_toggleOnline']():this[_0x2730fb(0x133)]();}),this[_0x39c7c7(0xb0)][_0x39c7c7(0x295)][_0x39c7c7(0x1c3)](_0x4da0bf(this[_0x39c7c7(0x2a6)]))[_0x39c7c7(0x1e6)](_0x37a25e=>{const _0x5a85f2=_0x39c7c7,_0x742ebf=_0x37a25e[_0x5a85f2(0x175)];_0x742ebf===_0x38e1b2[_0x5a85f2(0x27b)]&&this['_onCursorUpdate'](_0x37a25e),_0x742ebf===_0x38e1b2[_0x5a85f2(0x296)]&&this[_0x5a85f2(0x1f3)](_0x37a25e);}),this[_0x39c7c7(0x26c)](this[_0x39c7c7(0x21d)][_0x39c7c7(0x188)](_0x5f3be2=>{const _0x436073=_0x39c7c7,_0x311111=_0x5f3be2[_0x436073(0x281)];_0x311111!=null&&this[_0x436073(0x22f)]&&_0x5f3be2['id']===_0x16b06b['id']&&_0x311111[_0x436073(0x2a5)]===this[_0x436073(0x254)]&&_0x311111[_0x436073(0x17e)]===!0x1&&_0x311111['ranges'][_0x436073(0x1c8)]>0x0&&this[_0x436073(0x22c)](_0x311111[_0x436073(0x103)]);})),this[_0x39c7c7(0x258)][_0x39c7c7(0x1b0)]['pipe'](_0x4da0bf(this['dispose$']))['subscribe'](_0x4c7000=>{const _0xccbed9=_0x39c7c7;if((_0x4c7000==null?void 0x0:_0x4c7000[_0xccbed9(0x254)])!==this[_0xccbed9(0x254)])return;const _0x202908={'eventID':_0x38e1b2[_0xccbed9(0x27b)],'data':_0x4c7000};this['_onCursorUpdate'](_0x202908);}),this[_0x39c7c7(0x26c)](this['_commandService'][_0x39c7c7(0x188)](_0x57ba33=>{const _0x4422a4=_0x39c7c7;if(_0x57ba33['params']==null)return;const _0x3d1241=_0x57ba33[_0x4422a4(0x281)];if(_0x57ba33['id']!==_0x105f6f['id']||_0x3d1241[_0x4422a4(0x2a5)]!==this['unitID'])return;const _0x20034e={'id':'doc.mutation.rich-text-editing','params':_0x3d1241},_0x5826b1=this[_0x4422a4(0x2b1)];for(const [_0x1b928a,_0x154dee]of _0x5826b1){const _0x3acc1b={'id':_0x4422a4(0x219),'params':{'unitId':this[_0x4422a4(0x254)],'actions':null,'textRanges':_0x154dee[_0x4422a4(0x103)]}},_0x562b49=this['_transformService'][_0x4422a4(0x249)](_0x20034e,_0x3acc1b,!0x1);if(_0x594698(_0x562b49))throw _0x562b49[_0x4422a4(0x2d5)];_0x5826b1[_0x4422a4(0x13b)](_0x1b928a,{..._0x154dee,'ranges':_0x562b49[_0x4422a4(0x166)][_0x4422a4(0x281)]['textRanges']});}queueMicrotask(()=>{const _0x3e23f3=_0x4422a4;this[_0x3e23f3(0x154)][_0x3e23f3(0xe6)](_0x5826b1);});})));}['_onCursorUpdate'](_0x9867e1){const _0xa1f2dc=_0x12f7be;var _0x5517a5,_0x449865;const {memberID:_0x51bf32,selection:_0x269311}=_0x9867e1[_0xa1f2dc(0x19f)],_0x5d1f4c=Ai(_0x269311),_0x16d882=(_0x449865=(_0x5517a5=this[_0xa1f2dc(0x208)][_0xa1f2dc(0x1fa)](this[_0xa1f2dc(0x254)],_0x51bf32))==null?void 0x0:_0x5517a5[_0xa1f2dc(0x197)])!=null?_0x449865:'Unknown\x20user',_0x13adb8={'color':this['_colorAssignService'][_0xa1f2dc(0xff)](_0x51bf32),'name':_0x16d882,'ranges':_0x5d1f4c},_0x38ace7=this[_0xa1f2dc(0x2b1)];_0x38ace7[_0xa1f2dc(0x13b)](_0x51bf32,_0x13adb8),this[_0xa1f2dc(0x154)][_0xa1f2dc(0xe6)](_0x38ace7);}[_0x12f7be(0x1f3)](_0x6b4e0d){const _0xa0b45f=_0x12f7be,{memberID:_0x58010c}=_0x6b4e0d['data'],_0x421bf8=this[_0xa0b45f(0x2b1)];_0x421bf8[_0xa0b45f(0x1a0)](_0x58010c),this['_cursorInfo$']['next'](_0x421bf8);}['_toggleOnline'](){const _0x4f9e56=_0x12f7be;var _0x23d946;if(this[_0x4f9e56(0x22f)]=!0x0,((_0x23d946=this[_0x4f9e56(0x1e0)][_0x4f9e56(0x20d)]())==null?void 0x0:_0x23d946[_0x4f9e56(0xb6)]())!==this[_0x4f9e56(0x254)])return;const _0x36946d=this['_injector'][_0x4f9e56(0x163)](_0x299386)[_0x4f9e56(0x293)]();Array['isArray'](_0x36946d)&&_0x36946d[_0x4f9e56(0x1c8)]>0x0&&this['_updateLocalCursor'](_0x36946d);}[_0x12f7be(0x133)](){const _0x1e1135=_0x12f7be;this[_0x1e1135(0x22f)]=!0x1;}};xe=wi([A(0x2,_0x3714f8(_0x24a160)),A(0x3,_0x3714f8(Ke)),A(0x4,_0x3714f8(_0xa7c392)),A(0x5,_0x3714f8(ze)),A(0x6,_0x5963ba),A(0x7,_0x52d51e),A(0x8,_0x58f12e)],xe);var xi=Object[_0x12f7be(0x214)],Bi=(_0x4b2ec0,_0x32de92,_0x4aedeb,_0x2f27b2)=>{for(var _0xecfd=_0x2f27b2>0x1?void 0x0:_0x2f27b2?xi(_0x32de92,_0x4aedeb):_0x32de92,_0x4e9118=_0x4b2ec0['length']-0x1,_0x243adf;_0x4e9118>=0x0;_0x4e9118--)(_0x243adf=_0x4b2ec0[_0x4e9118])&&(_0xecfd=_0x243adf(_0xecfd)||_0xecfd);return _0xecfd;},B=(_0x1d83f5,_0x4e6ebb)=>(_0x3ef48b,_0x3ab8d7)=>_0x4e6ebb(_0x3ef48b,_0x3ab8d7,_0x1d83f5);const Fi=0x12c,ki=0x64,Hi=()=>{let _0x31d106=[],_0x58ef4c=!0x1;return _0x47da9b=>{const _0x121db0=_0x473f;_0x31d106[_0x121db0(0x210)](_0x47da9b),_0x58ef4c||(_0x58ef4c=!0x0,setTimeout(()=>{const _0x2f93d4=_0x121db0;_0x31d106[_0x2f93d4(0x275)](_0x3ee024=>_0x3ee024()),_0x31d106=[],_0x58ef4c=!0x1;}));};};let Be=class extends _0x53e01a{constructor(_0x3a82ca,_0x4ff01d,_0x1a6338,_0x33d356,_0x22a62d,_0x2a8548,_0x2fe06a,_0x3e2b96){const _0x1f91b5=_0x12f7be;super(),_(this,_0x1f91b5(0x22f),!0x1),_(this,_0x1f91b5(0x279),!0x1),_(this,_0x1f91b5(0x154),new _0x51f523(new Map())),_(this,_0x1f91b5(0x1d5),this['_cursorInfo$'][_0x1f91b5(0x195)]()),_(this,_0x1f91b5(0x155),new _0x51f523([])),_(this,_0x1f91b5(0x2ee),this[_0x1f91b5(0x155)][_0x1f91b5(0x1c3)](_0x19303b(Fi))),_(this,_0x1f91b5(0x22c),_0x5a1035((_0x5a4c4e,_0x224274)=>{const _0x5638f1=_0x1f91b5,_0x2a960c={'eventID':_0x38e1b2[_0x5638f1(0x27b)],'data':{'unitID':this['unitID'],'memberID':this[_0x5638f1(0xb0)][_0x5638f1(0x196)](),'selection':_0x269cf9(_0x5a4c4e,_0x224274['range'])}};this[_0x5638f1(0xb0)][_0x5638f1(0x1d2)](_0x2a960c,this[_0x5638f1(0x254)]);},ki)),(this[_0x1f91b5(0x254)]=_0x3a82ca,this['_session']=_0x4ff01d,this[_0x1f91b5(0x213)]=_0x1a6338,this[_0x1f91b5(0xd2)]=_0x33d356,this[_0x1f91b5(0x208)]=_0x22a62d,this[_0x1f91b5(0x1e0)]=_0x2a8548,this[_0x1f91b5(0x21d)]=_0x2fe06a,this['_refRangeService']=_0x3e2b96);}get['cursorInfo'](){const _0x5460d7=_0x12f7be;return this[_0x5460d7(0x154)]['getValue']();}get['roomMembers'](){const _0x5cdb86=_0x12f7be;return this[_0x5cdb86(0x155)][_0x5cdb86(0x2eb)]();}[_0x12f7be(0x2e8)](){const _0x345f90=_0x12f7be;super[_0x345f90(0x2e8)](),this['_cursorInfo$']['next'](new Map()),this[_0x345f90(0x154)][_0x345f90(0x1a5)](),this[_0x345f90(0x155)][_0x345f90(0xe6)]([]),this[_0x345f90(0x155)][_0x345f90(0x1a5)]();}['init'](){const _0x15f3c6=_0x12f7be;this[_0x15f3c6(0x279)]||(this[_0x15f3c6(0x279)]=!0x0,this[_0x15f3c6(0xb0)]['sessionStatus$'][_0x15f3c6(0x1c3)](_0x4da0bf(this[_0x15f3c6(0x2a6)]))['subscribe'](_0x22e7df=>{const _0x3ea967=_0x15f3c6;_0x22e7df===_0x434c9d[_0x3ea967(0x2f5)]?this[_0x3ea967(0x2aa)]():this[_0x3ea967(0x133)]();}),this['_session'][_0x15f3c6(0x295)][_0x15f3c6(0x1c3)](_0x4da0bf(this[_0x15f3c6(0x2a6)]))['subscribe'](_0x57dd78=>{const _0x40db85=_0x15f3c6,_0x363c17=_0x57dd78['eventID'];_0x363c17===_0x38e1b2[_0x40db85(0x27b)]&&this['_onCursorUpdate'](_0x57dd78),_0x363c17===_0x38e1b2[_0x40db85(0x296)]&&this['_onCursorDelete'](_0x57dd78);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0x15f3c6(0x21d)][_0x15f3c6(0x188)](_0x74c1f8=>{const _0x50605d=_0x15f3c6;if(this[_0x50605d(0x22f)]&&_0x74c1f8['id']===_0x25f058['id']&&_0x74c1f8['params'][_0x50605d(0x2a5)]===this[_0x50605d(0x254)]){const _0x2e5eb1=_0x74c1f8[_0x50605d(0x281)];this[_0x50605d(0x22c)](_0x2e5eb1[_0x50605d(0x260)],_0x2e5eb1[_0x50605d(0x1e8)][0x0]);}})));}[_0x12f7be(0x1f4)](_0x5d694f){const _0x2b5a94=_0x12f7be;var _0x4c9ec6,_0x2548d7;const {memberID:_0xbed6a5,selection:_0x4e4c64}=_0x5d694f[_0x2b5a94(0x19f)],{sheetName:_0x48b17c,range:_0x6575cc}=_0x1513e7(_0x4e4c64),_0x2ce775={'name':(_0x2548d7=(_0x4c9ec6=this['_memberService'][_0x2b5a94(0x1fa)](this['unitID'],_0xbed6a5))==null?void 0x0:_0x4c9ec6[_0x2b5a94(0x197)])!=null?_0x2548d7:_0x2b5a94(0x211),'range':this[_0x2b5a94(0xda)](_0x48b17c,_0x6575cc),'sheetID':_0x48b17c,'color':this['_colorAssignService'][_0x2b5a94(0xff)](_0xbed6a5),'selection':_0x4e4c64},_0x4eac91=this[_0x2b5a94(0x2b1)];_0x4eac91[_0x2b5a94(0x13b)](_0xbed6a5,_0x2ce775),this[_0x2b5a94(0x154)][_0x2b5a94(0xe6)](_0x4eac91);}['_onCursorDelete'](_0x34c034){const _0xa7078d=_0x12f7be,{memberID:_0x1a11ff}=_0x34c034['data'],_0x1ce100=this[_0xa7078d(0x2b1)];_0x1ce100['delete'](_0x1a11ff),this[_0xa7078d(0x154)][_0xa7078d(0xe6)](_0x1ce100);}[_0x12f7be(0xda)](_0x2f30b0,_0x577bad){const _0x333cc5=_0x12f7be;var _0x2b205a,_0x429aac;const _0x558629=(_0x429aac=(_0x2b205a=this[_0x333cc5(0x1e0)]['getUniverSheetInstance'](this[_0x333cc5(0x254)]))==null?void 0x0:_0x2b205a[_0x333cc5(0x1af)](_0x2f30b0))==null?void 0x0:_0x429aac[_0x333cc5(0x277)]();return(_0x558629==null?void 0x0:_0x558629[_0x333cc5(0x305)](_0x3bb35d=>_0x3fed9b[_0x333cc5(0x151)](_0x3bb35d,_0x577bad)))||_0x577bad;}[_0x12f7be(0x2b9)](){const _0x5739d3=_0x12f7be,_0x301356=new _0x4284de(),_0x303c48=Hi(),_0x4c4785=()=>{const _0x4eb8d8=_0x473f;_0x301356[_0x4eb8d8(0x2e8)]();const _0x497c1b=(_0x468276,_0x2e8a18,_0x1e39bb,_0x2bfb31)=>{const _0x36759c=_0x4eb8d8;let _0x12284f=[];switch(_0x468276['id']){case _0x4eb700[_0x36759c(0xf0)]:{_0x12284f=_0x16e40f(_0x468276,_0x2bfb31);break;}case _0x4eb700[_0x36759c(0x1fe)]:{_0x12284f=_0x5e9d7d(_0x468276,_0x2bfb31);break;}case _0x4eb700[_0x36759c(0xbf)]:{_0x12284f=_0x3f84c9(_0x468276,_0x2bfb31);break;}case _0x4eb700[_0x36759c(0x1c0)]:{_0x12284f=_0x3fbd49(_0x468276,_0x2bfb31);break;}case _0x4eb700[_0x36759c(0x181)]:{_0x12284f=_0x554330(_0x468276,_0x2bfb31);break;}case _0x4eb700[_0x36759c(0x1c7)]:{_0x12284f=_0x44d812(_0x468276,_0x2bfb31);break;}case _0x4eb700[_0x36759c(0x241)]:{_0x12284f=_0x221e69(_0x468276,_0x2bfb31);break;}case _0x4eb700[_0x36759c(0x15e)]:{_0x12284f=_0x3dbb55(_0x468276,_0x2bfb31);break;}case _0x4eb700[_0x36759c(0x22e)]:{_0x12284f=_0x44c162(_0x468276,_0x2bfb31);break;}}const _0x2582e9=_0x908350(_0x12284f,_0x2bfb31),_0x42de02=this[_0x36759c(0x2b1)][_0x36759c(0x163)](_0x2e8a18);if(_0x42de02&&_0x2582e9){const _0xd58f9={..._0x42de02,'range':_0x2582e9};this['cursorInfo'][_0x36759c(0x13b)](_0x2e8a18,_0xd58f9),_0x303c48(()=>{const _0xa5c244=_0x36759c,_0x5d6b1b=this[_0xa5c244(0x1df)]['registerRefRange'](_0x2582e9,_0x8ffb0f=>(_0x5d6b1b[_0xa5c244(0x2e8)](),_0x497c1b(_0x8ffb0f,_0x2e8a18,_0x1e39bb,_0x2582e9)));_0x301356[_0xa5c244(0x1ad)](_0x5d6b1b);});}return{'redos':[],'undos':[]};};this[_0x4eb8d8(0x2b1)][_0x4eb8d8(0x275)]((_0x485d77,_0x38e578)=>{const _0x460f70=_0x4eb8d8,{range:_0x141537,sheetID:_0x3ea322}=_0x485d77,_0x22d2a1=this[_0x460f70(0x1df)][_0x460f70(0x2ed)](_0x141537,_0x59ad45=>(_0x22d2a1[_0x460f70(0x2e8)](),_0x497c1b(_0x59ad45,_0x38e578,_0x3ea322,_0x141537)));_0x301356[_0x460f70(0x1ad)](_0x22d2a1);});};this[_0x5739d3(0x26c)](_0x16c8e4(this['_cursorInfo$'][_0x5739d3(0x1e6)](()=>{_0x4c4785();})));}[_0x12f7be(0x2aa)](){const _0x67930=_0x12f7be;var _0x31b23a,_0x4e9a22;if(this[_0x67930(0x22f)]=!0x0,((_0x31b23a=this[_0x67930(0x1e0)][_0x67930(0x20d)]())==null?void 0x0:_0x31b23a[_0x67930(0xb6)]())!==this['unitID'])return;const _0x39372c=(_0x4e9a22=this[_0x67930(0x213)][_0x67930(0x163)](_0x5bbf8d)[_0x67930(0x22d)]())==null?void 0x0:_0x4e9a22[0x0],_0x27acc8=this[_0x67930(0x1e0)]['getCurrentUnitForType'](_0x53cd3e['UNIVER_SHEET'])['getActiveSheet']();_0x39372c&&_0x27acc8&&this['_updateLocalCursor'](_0x27acc8[_0x67930(0x184)](),_0x39372c);}['_toggleOffline'](){const _0x291995=_0x12f7be;this[_0x291995(0x22f)]=!0x1;}};Be=Bi([B(0x2,_0x3714f8(_0x24a160)),B(0x3,_0x3714f8(Ke)),B(0x4,_0x3714f8(_0xa7c392)),B(0x5,_0x52d51e),B(0x6,_0x58f12e),B(0x7,_0x3714f8(_0xe3159f))],Be);var Yi=Object[_0x12f7be(0x214)],Wi=(_0x184b2a,_0x366585,_0x40c509,_0x5dfe28)=>{const _0x3dd4fb=_0x12f7be;for(var _0x2940f1=_0x5dfe28>0x1?void 0x0:_0x5dfe28?Yi(_0x366585,_0x40c509):_0x366585,_0x154b77=_0x184b2a[_0x3dd4fb(0x1c8)]-0x1,_0x16ebf5;_0x154b77>=0x0;_0x154b77--)(_0x16ebf5=_0x184b2a[_0x154b77])&&(_0x2940f1=_0x16ebf5(_0x2940f1)||_0x2940f1);return _0x2940f1;},Ce=(_0xbb063f,_0x4d0b4d)=>(_0x35d965,_0x26622b)=>_0x4d0b4d(_0x35d965,_0x26622b,_0xbb063f);let H=class extends _0x53e01a{constructor(_0x1a0743,_0x46237f,_0x56dc58){const _0x9c7051=_0x12f7be;super(),_(this,_0x9c7051(0x1f2),new Map()),_(this,_0x9c7051(0x239),new _0x1fac1f()),(this[_0x9c7051(0x1e0)]=_0x1a0743,this[_0x9c7051(0x213)]=_0x46237f,this[_0x9c7051(0x104)]=_0x56dc58,this[_0x9c7051(0x279)]());}[_0x12f7be(0x2e8)](){const _0x233184=_0x12f7be;super[_0x233184(0x2e8)](),this[_0x233184(0x239)][_0x233184(0x1a5)](),this[_0x233184(0x1f2)][_0x233184(0x275)](_0x43807a=>_0x43807a['dispose']());}[_0x12f7be(0x2bc)](_0x1f5219){const _0x3b0f8d=_0x12f7be;return this[_0x3b0f8d(0x1f2)]['has'](_0x1f5219)?this[_0x3b0f8d(0x1f2)][_0x3b0f8d(0x163)](_0x1f5219)[_0x3b0f8d(0x1d5)]:this[_0x3b0f8d(0x239)][_0x3b0f8d(0x1c3)](_0x24339d(_0x16651f=>_0x16651f[_0x3b0f8d(0x254)]===_0x1f5219),_0x55969c(_0x5b8951=>_0x5b8951[_0x3b0f8d(0x1d5)]));}[_0x12f7be(0x279)](){const _0x431087=_0x12f7be;this['_univerInstanceService'][_0x431087(0x292)](_0x53cd3e[_0x431087(0x268)])[_0x431087(0x1c3)](_0x4da0bf(this[_0x431087(0x2a6)]))[_0x431087(0x1e6)](async _0x3e5f22=>{const _0xee150b=_0x431087,_0x3ab7e2=_0x3e5f22['getUnitId'](),_0x528217=await this['_startSheetCollabCursor'](_0x3ab7e2);this[_0xee150b(0x239)]['next'](_0x528217),this['_entities']['set'](_0x3ab7e2,_0x528217);}),this[_0x431087(0x1e0)][_0x431087(0x292)](_0x53cd3e[_0x431087(0xc1)])[_0x431087(0x1c3)](_0x4da0bf(this[_0x431087(0x2a6)]))['pipe'](_0x24339d(_0x103895=>!_0x103895[_0x431087(0xb6)]()[_0x431087(0x24d)]('__')))[_0x431087(0x1e6)](async _0xc4fd2a=>{const _0x462ee3=_0x431087,_0x4acf7f=_0xc4fd2a[_0x462ee3(0xb6)](),_0x5be69a=await this['_startDocCollabCursor'](_0x4acf7f);this[_0x462ee3(0x239)]['next'](_0x5be69a),this[_0x462ee3(0x1f2)][_0x462ee3(0x13b)](_0x4acf7f,_0x5be69a);}),_0x826d92(this[_0x431087(0x1e0)][_0x431087(0x226)](_0x53cd3e['UNIVER_DOC']),this[_0x431087(0x1e0)][_0x431087(0x226)](_0x53cd3e[_0x431087(0x268)]))[_0x431087(0x1c3)](_0x4da0bf(this[_0x431087(0x2a6)]))[_0x431087(0x1e6)](_0x7adf37=>{const _0x402eeb=_0x431087,_0x3d9ba2=_0x7adf37['getUnitId'](),_0x23441e=this[_0x402eeb(0x1f2)][_0x402eeb(0x163)](_0x3d9ba2);_0x23441e&&(_0x23441e[_0x402eeb(0x2e8)](),this[_0x402eeb(0x1f2)][_0x402eeb(0x1a0)](_0x3d9ba2));});}async[_0x12f7be(0x190)](_0x5b1063){const _0x571974=_0x12f7be,_0x42dd4a=await this[_0x571974(0x104)][_0x571974(0xe3)](_0x5b1063),_0x568719=this[_0x571974(0x213)][_0x571974(0x205)](Be,_0x5b1063,_0x42dd4a);return _0x568719[_0x571974(0x233)](),_0x568719;}async['_startDocCollabCursor'](_0x2776cc){const _0x2e7e5c=_0x12f7be,_0x1a9dbf=await this[_0x2e7e5c(0x104)][_0x2e7e5c(0xe3)](_0x2776cc),_0x1cbb6b=this[_0x2e7e5c(0x213)][_0x2e7e5c(0x205)](xe,_0x2776cc,_0x1a9dbf);return _0x1cbb6b[_0x2e7e5c(0x233)](),_0x1cbb6b;}};H=Wi([Ce(0x0,_0x52d51e),Ce(0x1,_0x3714f8(_0x24a160)),Ce(0x2,_0x3714f8(_0x3c5e90))],H);const Q=0x14,at=0xc8,Re=0x4,Vi=0x5;function ji(_0x3aee98,_0x49d5ca){const _0x1d0fbb=_0x12f7be;let {radius:_0x5109f0,width:_0x22f2b1,height:_0x444189}=_0x49d5ca;_0x5109f0=_0x5109f0!=null?_0x5109f0:0x0,_0x22f2b1=_0x22f2b1!=null?_0x22f2b1:0x1e,_0x444189=_0x444189!=null?_0x444189:0x1e;let _0x77570e=0x0,_0x5b3e8e=0x0,_0x47f795=0x0;_0x77570e=_0x5b3e8e=_0x47f795=Math[_0x1d0fbb(0xf7)](_0x5109f0,_0x22f2b1/0x2,_0x444189/0x2),_0x3aee98[_0x1d0fbb(0xef)](),_0x3aee98['moveTo'](_0x77570e,0x0),_0x3aee98[_0x1d0fbb(0x15b)](_0x22f2b1-_0x5b3e8e,0x0),_0x3aee98[_0x1d0fbb(0x26d)](_0x22f2b1-_0x5b3e8e,_0x5b3e8e,_0x5b3e8e,Math['PI']*0x3/0x2,0x0,!0x1),_0x3aee98[_0x1d0fbb(0x15b)](_0x22f2b1,_0x444189-_0x47f795),_0x3aee98[_0x1d0fbb(0x26d)](_0x22f2b1-_0x47f795,_0x444189-_0x47f795,_0x47f795,0x0,Math['PI']/0x2,!0x1),_0x3aee98['lineTo'](0x0,_0x444189),_0x3aee98[_0x1d0fbb(0x15b)](0x0,_0x77570e),_0x3aee98[_0x1d0fbb(0x26d)](_0x77570e,_0x77570e,_0x77570e,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3aee98[_0x1d0fbb(0x20a)](),_0x49d5ca[_0x1d0fbb(0x26a)]&&(_0x3aee98[_0x1d0fbb(0x2f3)](),_0x3aee98['fillStyle']=_0x49d5ca[_0x1d0fbb(0x26a)],_0x49d5ca[_0x1d0fbb(0x263)]===_0x1d0fbb(0xfa)?_0x3aee98[_0x1d0fbb(0x26a)](_0x1d0fbb(0xfa)):_0x3aee98[_0x1d0fbb(0x26a)](),_0x3aee98['restore']());}class ve extends _0x453ad9{constructor(_0x4339b5,_0x1dee56){const _0x50e9af=_0x12f7be;super(_0x4339b5,_0x1dee56),_(this,_0x50e9af(0x126)),_(this,_0x50e9af(0x2ca)),(this[_0x50e9af(0x126)]=_0x1dee56==null?void 0x0:_0x1dee56[_0x50e9af(0x126)],this[_0x50e9af(0x2ca)]=_0x1dee56==null?void 0x0:_0x1dee56[_0x50e9af(0x2ca)]);}static[_0x12f7be(0x2ef)](_0x115982,_0x2d18cd){const _0x407810=_0x12f7be,{text:_0x23d510,color:_0x2d430f}=_0x2d18cd;_0x115982[_0x407810(0x2f3)](),_0x115982[_0x407810(0x1c6)]=_0x407810(0x180);const _0x12632f=_0x115982[_0x407810(0x1f6)](_0x23d510)['width'],_0x3c2e75=Math['min'](_0x12632f+0x2*Re,at);ji(_0x115982,{'height':Q,'radius':0x4,'width':_0x3c2e75,'fill':_0x2d430f}),_0x115982[_0x407810(0x125)]='#FFF';const _0x11674f=Re,_0xa1e2ad=Q-Vi,_0x5b3e88=at-0x2*Re;if(_0x12632f>_0x5b3e88){let _0x30eb8d='',_0x427bd5=0x0;for(const _0x381f56 of _0x23d510){const _0x2deedd=_0x115982[_0x407810(0x1f6)](_0x381f56)['width'];if(_0x427bd5+_0x2deedd<=_0x5b3e88-_0x115982[_0x407810(0x1f6)](_0x407810(0x168))[_0x407810(0x1e2)])_0x30eb8d+=_0x381f56,_0x427bd5+=_0x2deedd;else{_0x30eb8d+=_0x407810(0x168);break;}}_0x115982['fillText'](_0x30eb8d,_0x11674f,_0xa1e2ad);}else _0x115982[_0x407810(0x301)](_0x23d510,_0x11674f,_0xa1e2ad);_0x115982[_0x407810(0x2d0)]();}['_draw'](_0x33daab){const _0x338eda=_0x12f7be;ve[_0x338eda(0x2ef)](_0x33daab,this);}}const De='collab-text-anchor-',Xi='collab-text-range-',Gi=_0x12f7be(0x250),z=0x6,Ki=1.5,Ne=0x4,zi=1.5,Ji=_0x12f7be(0x15c);class ct{constructor(_0x2bbc12,_0x3b311e,_0x16ca4d,_0x5edcc1){const _0x38ca3e=_0x12f7be;_(this,_0x38ca3e(0x1a7),[]),_(this,_0x38ca3e(0xbb),null),_(this,_0x38ca3e(0x17f),null),_(this,'_anchorDot',null),_(this,'_hideTimer',null),_(this,_0x38ca3e(0x29d),null),(this['_cursor']=_0x2bbc12,this['_scene']=_0x3b311e,this['_docSkeleton']=_0x16ca4d,this['_document']=_0x5edcc1,this[_0x38ca3e(0x11d)]());}set[_0x12f7be(0x162)](_0xdc858a){const _0x16beab=_0x12f7be;_0xdc858a?(this[_0x16beab(0x244)]&&this[_0x16beab(0x244)][_0x16beab(0x1f8)](),this[_0x16beab(0x17f)]&&this[_0x16beab(0x17f)][_0x16beab(0xd0)]()):(this['_anchorDot']&&this[_0x16beab(0x244)][_0x16beab(0xd0)](),this[_0x16beab(0x17f)]&&this[_0x16beab(0x17f)]['hide']());}[_0x12f7be(0x2e8)](){const _0x2ebf19=_0x12f7be;for(const _0x1d1e1f of this[_0x2ebf19(0x1a7)])_0x1d1e1f[_0x2ebf19(0x2e8)]();this[_0x2ebf19(0x17f)]&&this[_0x2ebf19(0x17f)]['dispose'](),this['_anchorDot']&&this[_0x2ebf19(0x244)]['dispose'](),this[_0x2ebf19(0xbb)]&&this[_0x2ebf19(0xbb)][_0x2ebf19(0x2e8)](),this[_0x2ebf19(0x29d)]&&this[_0x2ebf19(0x29d)]();}[_0x12f7be(0x11d)](){const _0x342eca=_0x12f7be;var _0x102826;const {_docSkeleton:_0x1618ad,_document:_0x31e27f}=this,{color:_0x4c2c71,name:_0x19f8ad,ranges:_0x1c1a3e}=this[_0x342eca(0x152)],_0x325d15=_0x31e27f[_0x342eca(0x2d8)](),{docsLeft:_0x2f1181,docsTop:_0x36a27f}=_0x325d15,_0x8e8cc8=new _0x5a7e88(_0x325d15,_0x1618ad);for(const {startOffset:_0x35c291,endOffset:_0x24dc14,rangeType:_0x3c7e41,segmentId:_0x400d6e,segmentPage:_0x455cdd,collapsed:_0x3f44fe,isActive:_0xddd5a0}of _0x1c1a3e){const _0xf5391d=_0x1618ad[_0x342eca(0xb5)](_0x35c291,!0x0,_0x400d6e,_0x455cdd);let _0x12f2cf=_0x1618ad[_0x342eca(0xb5)](_0x24dc14,!0x0,_0x400d6e,_0x455cdd);if(_0x12f2cf==null&&(_0x12f2cf=_0x1618ad[_0x342eca(0xb5)](_0x24dc14-0x1,!0x1,_0x400d6e,_0x455cdd)),_0xddd5a0){const {contentBoxPointGroup:_0x1558b5}=_0x8e8cc8[_0x342eca(0x2b8)](_0x12f2cf,_0x12f2cf);if(_0x1558b5[_0x342eca(0x1c8)]===0x0)continue;this['_drawAnchor'](_0x4c2c71,_0x1558b5,_0x2f1181,_0x36a27f,_0x19f8ad),this[_0x342eca(0x29d)]=this[_0x342eca(0x24e)]();}if(_0xf5391d&&_0x12f2cf){if(_0x3c7e41===_0x6ed74f[_0x342eca(0x101)]){const _0x26f9c9=new _0x506f46(_0x325d15,_0x1618ad),{pointGroup:_0x36c61d}=(_0x102826=_0x26f9c9['getRangePointData'](_0xf5391d,_0x12f2cf))!=null?_0x102826:{};if(_0x36c61d==null||_0x36c61d[_0x342eca(0x1c8)]===0x0)continue;this[_0x342eca(0x1cd)](_0x4c2c71,_0x36c61d,_0x2f1181,_0x36a27f);}else{if(!_0x3f44fe){const {borderBoxPointGroup:_0x27e9dc}=_0x8e8cc8[_0x342eca(0x2b8)](_0xf5391d,_0x12f2cf);if(_0x27e9dc[_0x342eca(0x1c8)]===0x0)continue;this['_drawTextRange'](_0x4c2c71,_0x27e9dc,_0x2f1181,_0x36a27f);}}}}}[_0x12f7be(0xc9)](_0x33d5cd,_0x652d4a,_0x15b4ad,_0x291ad7,_0x5b35d4){const _0x55145f=_0x12f7be,_0x279171=this[_0x55145f(0x269)](_0x652d4a),{left:_0x1cc67b,top:_0x4c7f54,height:_0x54a19d}=_0x279171,_0x5e410b=this[_0x55145f(0x2e0)](),_0x3ca605=zi/_0x5e410b,_0x30e121=new _0xf6029d(De+_0x28ef98(z),{'left':_0x1cc67b+_0x15b4ad-_0x3ca605,'top':_0x4c7f54+_0x291ad7,'height':_0x54a19d,'width':Ki,'fill':_0x33d5cd||_0x51fc9e(_0x5c8de6[_0x55145f(0x16f)],0x0),'strokeWidth':_0x3ca605,'stroke':Ji,'evented':!0x0});this[_0x55145f(0xbb)]=_0x30e121,this[_0x55145f(0x276)][_0x55145f(0x247)](_0x30e121,_0x4df622);const _0xf576c2=new _0xf6029d(De+_0x28ef98(z),{'left':_0x1cc67b+_0x15b4ad-_0x3ca605,'top':_0x4c7f54+_0x291ad7-Ne/0x2,'height':Ne,'width':Ne,'fill':_0x33d5cd||_0x51fc9e(_0x5c8de6['black'],0x0),'strokeWidth':0x0,'stroke':_0x33d5cd||_0x51fc9e(_0x5c8de6[_0x55145f(0x16f)],0x0),'evented':!0x1});this[_0x55145f(0x244)]=_0xf576c2,this[_0x55145f(0x276)][_0x55145f(0x247)](_0xf576c2,_0x4df622);const _0x22aa12=new ve(De+_0x28ef98(z),{'left':_0x1cc67b+_0x15b4ad-_0x3ca605,'top':_0x4c7f54+_0x291ad7-Q,'text':_0x5b35d4,'color':_0x33d5cd});this[_0x55145f(0x17f)]=_0x22aa12,this[_0x55145f(0x276)][_0x55145f(0x247)](_0x22aa12,_0x4df622),this['_hover']=!0x1;}[_0x12f7be(0x24e)](){const _0x2ba20a=_0x12f7be,_0x5694f8=this[_0x2ba20a(0xbb)][_0x2ba20a(0x198)]['subscribeEvent'](()=>{const _0x434ee8=_0x2ba20a;this[_0x434ee8(0x162)]=!0x0;}),_0x48e84b=this['_anchor'][_0x2ba20a(0x286)][_0x2ba20a(0x2b5)](()=>{const _0x340860=_0x2ba20a;this[_0x340860(0x2c7)]&&clearTimeout(this[_0x340860(0x2c7)]),this[_0x340860(0x2c7)]=setTimeout(()=>{const _0x508636=_0x340860;this[_0x508636(0x162)]=!0x1;},0x7d0);});return()=>{const _0x337777=_0x2ba20a;_0x5694f8[_0x337777(0x29f)](),_0x48e84b[_0x337777(0x29f)]();};}[_0x12f7be(0x227)](_0x1bd1f2,_0x360670,_0x103b50,_0x179ede){const _0x4e8349=_0x12f7be,_0xe04fb1=new _0x376a8e(_0x1bd1f2)[_0x4e8349(0x308)](0.2)[_0x4e8349(0x1e7)](),_0x369376=new _0x6842e7(Xi+_0x28ef98(z),{'pointsGroup':_0x360670,'fill':_0xe04fb1||_0x51fc9e(_0x5c8de6[_0x4e8349(0x16f)],0.2),'left':_0x103b50,'top':_0x179ede,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4e8349(0x1a7)][_0x4e8349(0x210)](_0x369376),this[_0x4e8349(0x276)][_0x4e8349(0x247)](_0x369376,_0x4df622);}['_drawRectRange'](_0x20860e,_0x25efbe,_0x287e1c,_0xe8ca54){const _0x3582f4=_0x12f7be,_0x4e1d71=new _0x376a8e(_0x20860e)[_0x3582f4(0x308)](0.2)[_0x3582f4(0x1e7)](),_0x2b55d8=new _0x6842e7(Gi+_0x28ef98(z),{'pointsGroup':_0x25efbe,'fill':_0x4e1d71||_0x51fc9e(_0x5c8de6[_0x3582f4(0x16f)],0.2),'left':_0x287e1c,'top':_0xe8ca54,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3582f4(0x1a7)][_0x3582f4(0x210)](_0x2b55d8),this[_0x3582f4(0x276)][_0x3582f4(0x247)](_0x2b55d8,_0x4df622);}[_0x12f7be(0x269)](_0x18b3ef){const _0xce881d=_0x18b3ef[0x0],_0x476ae9=_0xce881d[0x0],_0x5b6c1f=_0xce881d[0x2],{x:_0x3ea84a,y:_0x491c69}=_0x476ae9,{x:_0x13e383,y:_0x4389b0}=_0x5b6c1f;return{'left':_0x3ea84a,'top':_0x491c69,'width':_0x13e383-_0x3ea84a,'height':_0x4389b0-_0x491c69};}[_0x12f7be(0x2e0)](){const _0x57e18d=_0x12f7be,{scaleX:_0x38c7b3,scaleY:_0x2a8c29}=this['_scene'][_0x57e18d(0x1b3)]();return Math[_0x57e18d(0xfc)](_0x38c7b3,_0x2a8c29);}}var Zi=Object[_0x12f7be(0x214)],Qi=(_0x3c982c,_0x4a766d,_0x3f0dbd,_0x2c7de9)=>{const _0x49862a=_0x12f7be;for(var _0x41018d=_0x2c7de9>0x1?void 0x0:_0x2c7de9?Zi(_0x4a766d,_0x3f0dbd):_0x4a766d,_0x1c8bd0=_0x3c982c[_0x49862a(0x1c8)]-0x1,_0x49b0bb;_0x1c8bd0>=0x0;_0x1c8bd0--)(_0x49b0bb=_0x3c982c[_0x1c8bd0])&&(_0x41018d=_0x49b0bb(_0x41018d)||_0x41018d);return _0x41018d;},ie=(_0x32a7ba,_0x1df4fd)=>(_0x5e17c5,_0x530bf1)=>_0x1df4fd(_0x5e17c5,_0x530bf1,_0x32a7ba);let Fe=class extends _0x53e01a{constructor(_0xdc8141,_0x22f04d,_0x5de0e6,_0x5226d3,_0x2bea8b){const _0x32c505=_0x12f7be;super(),_(this,_0x32c505(0x123),[]),_(this,_0x32c505(0x145),[]),(this[_0x32c505(0x2a0)]=_0xdc8141,this['_docSkeletonManagerService']=_0x22f04d,this[_0x32c505(0xbd)]=_0x5de0e6,this[_0x32c505(0x21d)]=_0x5226d3,this['_themeService']=_0x2bea8b,this[_0x32c505(0x279)]());}[_0x12f7be(0x279)](){const _0x10e2b4=_0x12f7be,_0x2c449d=this[_0x10e2b4(0x2a0)][_0x10e2b4(0x2a5)],_0x1e28d0=this[_0x10e2b4(0x12a)];this['disposeWithMe'](_0x48aeb3([this[_0x10e2b4(0xbd)][_0x10e2b4(0x2bc)](_0x2c449d),this[_0x10e2b4(0xf4)]['currentTheme$']])[_0x10e2b4(0x1c3)](_0x2da2ce(([_0x313d77,_0x5021cf])=>({'skeleton':_0x1e28d0[_0x10e2b4(0x153)](),'cursors':[..._0x313d77['values']()][_0x10e2b4(0x25c)](_0x144cf1=>({..._0x144cf1,'color':this['_themeService'][_0x10e2b4(0x157)](_0x144cf1[_0x10e2b4(0x126)])}))})))[_0x10e2b4(0x1e6)](_0x114a47=>{const _0x505add=_0x10e2b4;if(this[_0x505add(0x224)](),_0x114a47){const {skeleton:_0x22013d,cursors:_0x3e5174}=_0x114a47;this[_0x505add(0x187)](_0x22013d,_0x3e5174);}})),this[_0x10e2b4(0x25d)](),this[_0x10e2b4(0x1b8)]();}[_0x12f7be(0x187)](_0x2c4bbc,_0x559470){const _0xc2c653=_0x12f7be,{scene:_0x36b2fd,mainComponent:_0x2cc37b}=this[_0xc2c653(0x2a0)],_0xaa9174=_0x559470[_0xc2c653(0x2ae)](_0x182bb9=>new ct(_0x182bb9,_0x36b2fd,_0x2c4bbc,_0x2cc37b));this[_0xc2c653(0x123)]=_0xaa9174,this[_0xc2c653(0x145)]=_0x559470;}[_0x12f7be(0x128)](){const _0x25316b=_0x12f7be;this[_0x25316b(0x224)]();const {scene:_0x333955,mainComponent:_0x2a9c9a}=this[_0x25316b(0x2a0)],_0x4c5ba2=this['_docSkeletonManagerService'][_0x25316b(0x153)](),_0x735c7=this['_cursors'][_0x25316b(0x2ae)](_0xa49286=>new ct(_0xa49286,_0x333955,_0x4c5ba2,_0x2a9c9a));this[_0x25316b(0x123)]=_0x735c7;}[_0x12f7be(0x224)](){const _0x3d3ed1=_0x12f7be;this['_cursorShapes'][_0x3d3ed1(0x275)](_0xf9d58c=>_0xf9d58c['dispose']()),this[_0x3d3ed1(0x123)]=[];}['_initCommandExecutedListener'](){const _0x26a193=_0x12f7be,_0x35ab5a=[_0xea9b01['id']];this[_0x26a193(0x26c)](this['_commandService'][_0x26a193(0x188)](_0x1cc046=>{const _0x13d259=_0x26a193;_0x35ab5a[_0x13d259(0x2b7)](_0x1cc046['id'])&&_0x1cc046['params'][_0x13d259(0x2a5)]===this[_0x13d259(0x2a0)][_0x13d259(0x2a5)]&&this[_0x13d259(0x128)]();}));}[_0x12f7be(0x25d)](){const _0x80680a=_0x12f7be;this['disposeWithMe'](_0x535589(this[_0x80680a(0x2a0)][_0x80680a(0x10d)][_0x80680a(0x306)])[_0x80680a(0x1c3)](_0x57f830(_0x383bc1=>_0x383bc1[_0x80680a(0x16d)]===_0x19edf3['resize']),_0x58940e(0x10))[_0x80680a(0x1e6)](()=>{const _0x577e7e=_0x80680a;this[_0x577e7e(0x128)]();}));}};Fe=Qi([ie(0x1,_0x3714f8(_0x17ec67)),ie(0x2,_0x3714f8(H)),ie(0x3,_0x58f12e),ie(0x4,_0x3714f8(_0x252ee3))],Fe);const qi=0x1,en=1.5;class tn extends _0x453ad9{constructor(_0x469e9e,_0x491617){const _0x118807=_0x12f7be;super(_0x469e9e,_0x491617),_(this,_0x118807(0x231)),_(this,'_hovered',!0x1),_(this,_0x118807(0x1d0)),_(this,_0x118807(0xe7),''),_(this,_0x118807(0xfb),_0x118807(0x144)),_(this,_0x118807(0x1ce)),(_0x491617&&this[_0x118807(0x165)](_0x491617),this[_0x118807(0x198)]['subscribeEvent'](()=>this[_0x118807(0x165)]({'hovered':!0x0})),this[_0x118807(0x286)][_0x118807(0x2b5)](()=>this[_0x118807(0x165)]({'hovered':!0x1})));}[_0x12f7be(0x165)](_0x5eed11){const _0x2d7ac3=_0x12f7be;var _0x10d158,_0x5e068b,_0x1b77e8,_0x1f1cec,_0xe57d23,_0x3bbbbc;this[_0x2d7ac3(0x231)]=(_0x10d158=_0x5eed11[_0x2d7ac3(0x126)])!=null?_0x10d158:this['_color'],this['_hovered']=(_0x5e068b=_0x5eed11[_0x2d7ac3(0x1b9)])!=null?_0x5e068b:this[_0x2d7ac3(0x2d2)],this[_0x2d7ac3(0x1d0)]=(_0x1b77e8=_0x5eed11[_0x2d7ac3(0x1db)])!=null?_0x1b77e8:this[_0x2d7ac3(0x1d0)],this[_0x2d7ac3(0xe7)]=(_0x1f1cec=_0x5eed11['name'])!=null?_0x1f1cec:this[_0x2d7ac3(0xe7)],this[_0x2d7ac3(0xfb)]=(_0xe57d23=_0x5eed11[_0x2d7ac3(0x10f)])!=null?_0xe57d23:this['_labelPosition'],this['_backgroundColor']=(_0x3bbbbc=_0x5eed11[_0x2d7ac3(0x183)])!=null?_0x3bbbbc:this['_backgroundColor'],this[_0x2d7ac3(0xe8)]({'width':_0x5eed11[_0x2d7ac3(0x1e2)],'height':_0x5eed11[_0x2d7ac3(0x230)]});}[_0x12f7be(0x1f0)](_0x1a9af0){const _0x10599f=_0x12f7be,{row:_0x29847e,column:_0x56f2a3}=_0x1a9af0;if(_0x29847e>=this[_0x10599f(0x1d0)]['startRow']&&_0x29847e<=this[_0x10599f(0x1d0)][_0x10599f(0xd9)]&&_0x56f2a3>=this[_0x10599f(0x1d0)][_0x10599f(0x2ac)]&&_0x56f2a3<=this[_0x10599f(0x1d0)][_0x10599f(0x12b)]){this[_0x10599f(0x165)]({'hovered':!0x0});return;}this[_0x10599f(0x165)]({'hovered':!0x1});}['triggerDblclick'](_0x5f581d){return!0x1;}[_0x12f7be(0x1f9)](_0x319326){const _0x4b4af5=_0x12f7be;_0xf6029d[_0x4b4af5(0x2ef)](_0x319326,{'width':this['width'],'height':this['height'],'strokeWidth':en,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x4b4af5(0x1ce)]}),this['_hovered']&&(_0x319326['save'](),_0x319326['transform'](0x1,0x0,0x0,0x1,this[_0x4b4af5(0x1e2)],this[_0x4b4af5(0xfb)]===_0x4b4af5(0x10e)?0x0:-Q),ve[_0x4b4af5(0x2ef)](_0x319326,{'text':this['_name'],'color':this[_0x4b4af5(0x231)]}),_0x319326[_0x4b4af5(0x2d0)]());}}var sn=Object[_0x12f7be(0x214)],nn=(_0x8f896b,_0x3719d1,_0x5b33b0,_0x202adf)=>{for(var _0x56eea2=_0x202adf>0x1?void 0x0:_0x202adf?sn(_0x3719d1,_0x5b33b0):_0x3719d1,_0x5364d7=_0x8f896b['length']-0x1,_0x5c7e58;_0x5364d7>=0x0;_0x5364d7--)(_0x5c7e58=_0x8f896b[_0x5364d7])&&(_0x56eea2=_0x5c7e58(_0x56eea2)||_0x56eea2);return _0x56eea2;},be=(_0x2ede4b,_0x1d15dd)=>(_0x188e08,_0x16b534)=>_0x1d15dd(_0x188e08,_0x16b534,_0x2ede4b);const rn=0x1389;let ke=class extends _0x53e01a{constructor(_0x3fdf4c,_0x521dd0,_0x1b06c7,_0x460433){const _0x5ada1d=_0x12f7be;super(),_(this,'_cursors',new Set()),_(this,_0x5ada1d(0x1aa),null),(this[_0x5ada1d(0x2a0)]=_0x3fdf4c,this[_0x5ada1d(0x1dc)]=_0x521dd0,this[_0x5ada1d(0xbd)]=_0x1b06c7,this[_0x5ada1d(0xf4)]=_0x460433,this[_0x5ada1d(0x279)]());}[_0x12f7be(0x279)](){const _0x2d64de=_0x12f7be;this[_0x2d64de(0x1dc)][_0x2d64de(0x117)]['pipe'](_0x5894b4(this[_0x2d64de(0x2a6)]),_0x1fb447(_0x521882=>{const _0x3eb58c=_0x2d64de;if(_0x521882){const _0x243c52=_0x521882[_0x3eb58c(0x1e4)];return _0x48aeb3(this[_0x3eb58c(0xbd)][_0x3eb58c(0x2bc)](this[_0x3eb58c(0x2a0)]['unitId']),this['_themeService'][_0x3eb58c(0x23b)])[_0x3eb58c(0x1c3)](_0x2da2ce(([_0x5d2fcf,_0x14b9f7])=>{const _0x562042=_0x3eb58c,_0x1512cb=new Map();return _0x5d2fcf[_0x562042(0x275)]((_0x12256c,_0x3407e1)=>{const _0x1b3bed=_0x562042;if(_0x12256c[_0x1b3bed(0x18b)]===_0x243c52){const _0x4704f8={..._0x12256c};_0x4704f8[_0x1b3bed(0x126)]=this['_themeService'][_0x1b3bed(0x157)](_0x12256c['color']),_0x1512cb[_0x1b3bed(0x13b)](_0x3407e1,_0x4704f8);}}),{'skeleton':_0x521882,'cursors':_0x1512cb};}));}return _0x1ec186({'skeleton':null,'cursors':new Map()});}))[_0x2d64de(0x1e6)](({skeleton:_0x2dc9fd,cursors:_0x24b770})=>{const _0x47767d=_0x2d64de;this[_0x47767d(0x224)](),_0x2dc9fd&&this['_updateCollabCursors'](_0x2dc9fd,_0x24b770);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x2d64de(0x1e6)](_0x395d7f=>{const _0x4954ef=_0x2d64de;if(_0x395d7f==null)return;const {skeleton:_0x1e632a}=_0x395d7f,{scene:_0x2f9b85}=this[_0x4954ef(0x2a0)];_0x2f9b85['onPointerMove$'][_0x4954ef(0x2b5)](_0x5a1035(_0x4f6950=>{const _0x1db003=_0x4954ef;var _0x35fd68,_0x245da1;const {offsetX:_0x48d66f,offsetY:_0x28652e}=_0x4f6950,{x:_0x5defbf,y:_0x136282}=_0x2f9b85['getRelativeToViewportCoord'](_0x20bdbd[_0x1db003(0x1ab)]([_0x48d66f,_0x28652e])),{scaleX:_0x25903d,scaleY:_0x3b72cd}=_0x2f9b85[_0x1db003(0x1b3)](),_0x548156=_0x2f9b85[_0x1db003(0x299)](_0x1db3ff['VIEW_MAIN']),_0x799917=_0x2f9b85[_0x1db003(0x121)](_0x20bdbd['FromArray']([_0x5defbf,_0x136282]),_0x548156),_0x2b4ef8=_0x1e632a[_0x1db003(0x18e)](_0x48d66f,_0x28652e,_0x25903d,_0x3b72cd,_0x799917);((_0x35fd68=this[_0x1db003(0x1aa)])==null?void 0x0:_0x35fd68['column'])===_0x2b4ef8[_0x1db003(0x212)]&&((_0x245da1=this[_0x1db003(0x1aa)])==null?void 0x0:_0x245da1[_0x1db003(0x141)])===_0x2b4ef8[_0x1db003(0x141)]||this[_0x1db003(0x145)][_0x1db003(0x275)](_0x523e2c=>{const _0x105e53=_0x1db003;_0x523e2c[_0x105e53(0x1f0)](_0x2b4ef8);});},0x64));});}[_0x12f7be(0x187)](_0x474e6e,_0x46cf87){const _0x33a201=_0x12f7be;var _0x4a0f6d;const _0x1100e8=(_0x4a0f6d=this[_0x33a201(0x1dc)][_0x33a201(0xf3)]())==null?void 0x0:_0x4a0f6d[_0x33a201(0x11e)];if(!_0x1100e8)return;const _0x182c76=this[_0x33a201(0xc3)]();if(!_0x182c76)return;this[_0x33a201(0x145)][_0x33a201(0x275)](_0x39ce21=>{const _0x4a7221=_0x33a201;_0x39ce21[_0x4a7221(0x240)]();});const {scene:_0x1d2987}=_0x182c76,_0x52915b=on(Array[_0x33a201(0x1cc)](_0x46cf87[_0x33a201(0xd3)]()))[_0x33a201(0x2ae)](_0xf950a=>{const _0x5d37fd=_0x33a201,{color:_0x16522e,range:_0x1b9b2f,name:_0x42dc67,selection:_0x2c70e6,sheetID:_0x79e615}=_0xf950a,{startColumn:_0x37d2f1,startRow:_0x3fa8f7,endColumn:_0x1b9abb,endRow:_0x5f5ae9}=_0x1b9b2f,_0x510594=_0x30bc8b(_0x3fa8f7,_0x37d2f1,_0x1d2987,_0x1100e8),_0x3a6bf4=_0x30bc8b(_0x5f5ae9,_0x1b9abb,_0x1d2987,_0x1100e8),{columnHeaderHeightAndMarginTop:_0xf8ab97}=_0x1100e8,{startX:_0x5f3fb8,startY:_0x3209fa}=_0x510594,{endX:_0x42f35d,endY:_0x37e948}=_0x3a6bf4,_0xf923f4=_0x42f35d-_0x5f3fb8,_0x4b3179=_0x37e948-_0x3209fa,_0x170bad={'labelPosition':_0x3209fa-_0xf8ab97>=Q?_0x5d37fd(0x144):_0x5d37fd(0x10e),'sheetID':_0x79e615,'range':_0x1b9b2f,'color':_0x16522e,'name':_0x42dc67,'selection':_0x2c70e6,'left':_0x5f3fb8,'top':_0x3209fa,'width':_0xf923f4,'height':_0x4b3179,'evented':!0x1,'zIndex':rn};return new tn(_0x42dc67,_0x170bad);});_0x1d2987[_0x33a201(0x2f0)](_0x52915b,qi),this['_cursors']=new Set(_0x52915b);}[_0x12f7be(0x224)](){const _0x5eb5f4=_0x12f7be;var _0x23d51c;(_0x23d51c=this[_0x5eb5f4(0x145)])==null||_0x23d51c['forEach'](_0x4ecf60=>_0x4ecf60[_0x5eb5f4(0x2e8)]());}[_0x12f7be(0xc3)](){const _0x3762dc=_0x12f7be;return _0x5bfd58(this['_context']['unit'],this[_0x3762dc(0x2a0)]);}};ke=nn([be(0x1,_0x3714f8(_0x498a70)),be(0x2,_0x3714f8(H)),be(0x3,_0x3714f8(_0x252ee3))],ke);function on(_0x2a1e0e){const _0x5a32d2=_0x12f7be,_0x5533dc=new Map();return _0x2a1e0e['forEach'](_0x3bfd38=>{const _0x193603=_0x473f;if(_0x5533dc[_0x193603(0x201)](_0x3bfd38[_0x193603(0x172)])){const _0x1bd4bb=_0x5533dc[_0x193603(0x163)](_0x3bfd38[_0x193603(0x172)]);_0x1bd4bb[_0x193603(0x197)]+=',\x20'+_0x3bfd38[_0x193603(0x197)];}else _0x5533dc[_0x193603(0x13b)](_0x3bfd38[_0x193603(0x172)],_0x3bfd38);}),Array[_0x5a32d2(0x1cc)](_0x5533dc[_0x5a32d2(0xd3)]());}var an=Object['getOwnPropertyDescriptor'],cn=(_0x4f3fe0,_0x4196e0,_0x581c5b,_0x1fe0ff)=>{for(var _0x427ba4=_0x1fe0ff>0x1?void 0x0:_0x1fe0ff?an(_0x4196e0,_0x581c5b):_0x4196e0,_0x4a9526=_0x4f3fe0['length']-0x1,_0x311f44;_0x4a9526>=0x0;_0x4a9526--)(_0x311f44=_0x4f3fe0[_0x4a9526])&&(_0x427ba4=_0x311f44(_0x427ba4)||_0x427ba4);return _0x427ba4;},F=(_0x3779a2,_0x4d97)=>(_0x3e205a,_0x30909e)=>_0x4d97(_0x3e205a,_0x30909e,_0x3779a2);let _e=class extends _0x112363{constructor(_0x29a21b,_0x5296df,_0x2e1037,_0x2e17e3,_0x2c7c59,_0x15bb9a){const _0x28e14c=_0x12f7be;super(),this[_0x28e14c(0x17d)]=_0x29a21b,this[_0x28e14c(0x16c)]=_0x5296df,this[_0x28e14c(0x2c2)]=_0x2e1037,this['_messageService']=_0x2e17e3,this[_0x28e14c(0x13a)]=_0x2c7c59,this[_0x28e14c(0x185)]=_0x15bb9a,this[_0x28e14c(0x229)](),this[_0x28e14c(0x1c1)]();}[_0x12f7be(0x229)](){const _0x539130=_0x12f7be;this['disposeWithMe'](this[_0x539130(0x17d)][_0x539130(0x218)](()=>{const _0x518170=_0x539130;if(this[_0x518170(0x16c)]['saveTaskMap']['size'])return this[_0x518170(0x185)]['t'](_0x518170(0x116));}));}['_initEvent'](){const _0x325a7e=_0x12f7be;this[_0x325a7e(0x26c)](this['_collaborationUIEventService'][_0x325a7e(0x295)]['subscribe'](_0x34c46f=>{const _0x553c5d=_0x325a7e;_0x34c46f['id']===_0x45a0bb['OTHER_CLIENT_EDITING']&&this['_messageService'][_0x553c5d(0xd0)]({'type':_0x4bbdcc['Warning'],'content':this[_0x553c5d(0x185)]['t'](_0x553c5d(0x20b))}),_0x34c46f['id']===_0x45a0bb[_0x553c5d(0x119)]&&this[_0x553c5d(0x2cf)][_0x553c5d(0xd0)]({'type':_0x4bbdcc[_0x553c5d(0x1b2)],'content':this['_localeService']['t'](_0x553c5d(0x274))}),_0x34c46f['id']===_0x45a0bb['PERMISSION_DENIED']&&this[_0x553c5d(0x13a)][_0x553c5d(0xd0)]({'title':this[_0x553c5d(0x185)]['t'](_0x553c5d(0x248)),'content':this[_0x553c5d(0x185)]['t']('permission.content'),'type':'error','duration':0x0}),_0x34c46f['id']===_0x45a0bb['CONFLICT']&&this['_messageService'][_0x553c5d(0xd0)]({'type':_0x4bbdcc['Error'],'content':this[_0x553c5d(0x185)]['t'](_0x553c5d(0x274))+'('+_0x34c46f[_0x553c5d(0x19f)]+')'}),_0x34c46f['id']===_0x45a0bb[_0x553c5d(0xea)]&&this[_0x553c5d(0x2cf)][_0x553c5d(0xd0)]({'type':_0x4bbdcc[_0x553c5d(0x1b2)],'content':this[_0x553c5d(0x185)]['t'](_0x34c46f[_0x553c5d(0x19f)]||'')}),_0x34c46f['id']===_0x45a0bb[_0x553c5d(0x2ff)]&&this[_0x553c5d(0x2cf)][_0x553c5d(0xd0)]({'type':_0x4bbdcc[_0x553c5d(0x1b2)],'content':this['_localeService']['t']('session.will-retry')}),_0x34c46f['id']===_0x45a0bb[_0x553c5d(0x1a4)]&&this['_messageService'][_0x553c5d(0xd0)]({'type':_0x4bbdcc[_0x553c5d(0x11a)],'content':this[_0x553c5d(0x185)]['t'](_0x553c5d(0xbe))}),_0x34c46f['id']===_0x45a0bb[_0x553c5d(0x138)]&&this[_0x553c5d(0x2cf)][_0x553c5d(0xd0)]({'type':_0x4bbdcc['Error'],'content':this[_0x553c5d(0x185)]['t'](_0x553c5d(0x302))});}));}};_e=cn([F(0x0,_0x3e8c86),F(0x1,_0x381fc8),F(0x2,_0x3714f8(_0x4cdc9c)),F(0x3,_0x543869),F(0x4,_0x4d19e9),F(0x5,_0x3714f8(_0x35b6c7))],_e);var _n=Object[_0x12f7be(0x214)],ln=(_0x31e0e0,_0x36202c,_0x1e373f,_0x274243)=>{for(var _0xa14bb5=_0x274243>0x1?void 0x0:_0x274243?_n(_0x36202c,_0x1e373f):_0x36202c,_0x452216=_0x31e0e0['length']-0x1,_0x2e4eea;_0x452216>=0x0;_0x452216--)(_0x2e4eea=_0x31e0e0[_0x452216])&&(_0xa14bb5=_0x2e4eea(_0xa14bb5)||_0xa14bb5);return _0xa14bb5;},ne=(_0x12ff5b,_0x24cd2f)=>(_0xd6d120,_0x1c7e1e)=>_0x24cd2f(_0xd6d120,_0x1c7e1e,_0x12ff5b);let le=class extends _0x112363{constructor(_0xb96125,_0x1b050a,_0x4ab0dd,_0xb75860){const _0x55f0a2=_0x12f7be;super(),_(this,_0x55f0a2(0x14e)),(this['_injector']=_0xb96125,this[_0x55f0a2(0x21e)]=_0x1b050a,this[_0x55f0a2(0x267)]=_0x4ab0dd,this[_0x55f0a2(0x137)]=_0xb75860,this['_init']());}[_0x12f7be(0x279)](){const _0x630713=_0x12f7be;this['_initWindowErrorListener'](),this['_initUnhandledRejectionListener'](),this[_0x630713(0x21b)](),this[_0x630713(0x112)]();}['_initUserListener'](){const _0x4f7182=_0x12f7be;this[_0x4f7182(0x26c)](this['_collaborationSessionService'][_0x4f7182(0x18d)][_0x4f7182(0x1e6)](_0x14b7ed=>{const _0x50451b=_0x4f7182;this[_0x50451b(0x14e)]=_0x14b7ed==null?void 0x0:_0x14b7ed[_0x50451b(0x2ab)];}));}[_0x12f7be(0x20e)](){const _0x1765eb=_0x12f7be,_0xca41a3=_0x25faae=>{const _0x1b281e=_0x473f;var _0x499b51;this[_0x1b281e(0x2db)]('error','[Window\x20Error]:\x20'+_0x25faae['message']+'\x20at\x20'+_0x25faae[_0x1b281e(0x193)]+':'+_0x25faae[_0x1b281e(0x2dc)]+':'+_0x25faae[_0x1b281e(0x1ec)]+'\x0a'+(((_0x499b51=_0x25faae[_0x1b281e(0x2d5)])==null?void 0x0:_0x499b51['stack'])||''));};window[_0x1765eb(0x176)](_0x1765eb(0x2d5),_0xca41a3),this[_0x1765eb(0x26c)](()=>{const _0xf95c38=_0x1765eb;window[_0xf95c38(0x108)](_0xf95c38(0x2d5),_0xca41a3);});}['_initUnhandledRejectionListener'](){const _0xccd62f=_0x12f7be,_0x26a1c6=_0x31dc4f=>{const _0x339fc5=_0x473f;this['_uploadLog'](_0x339fc5(0x2d5),_0x339fc5(0x14a)+_0x31dc4f[_0x339fc5(0x278)]);};window[_0xccd62f(0x176)]('unhandledrejection',_0x26a1c6),this[_0xccd62f(0x26c)](()=>{const _0x5e04cc=_0xccd62f;window['removeEventListener'](_0x5e04cc(0x19e),_0x26a1c6);});}[_0x12f7be(0x21b)](){const _0x2e8bda=_0x12f7be,_0x453deb=this['_logService'][_0x2e8bda(0x2d5)][_0x2e8bda(0x2cd)](this[_0x2e8bda(0x267)]);this[_0x2e8bda(0x267)][_0x2e8bda(0x2d5)]=(..._0xdf2c1b)=>{const _0x79ed29=_0x2e8bda,_0x2bd06f=_0xdf2c1b[_0x79ed29(0x2ae)](_0x4eb929=>_0x4eb929 instanceof Error?_0x4eb929[_0x79ed29(0x2f2)]+'\x0a'+_0x4eb929[_0x79ed29(0x107)]:String(_0x4eb929))['join']('\x20');this[_0x79ed29(0x2db)](_0x79ed29(0x2d5),_0x79ed29(0x252)+_0x2bd06f),_0x453deb(..._0xdf2c1b);},this[_0x2e8bda(0x26c)](()=>{const _0x1a0176=_0x2e8bda;this[_0x1a0176(0x267)][_0x1a0176(0x2d5)]=_0x453deb;});}['_uploadLog'](_0x2edaa5,_0xab946f){const _0x16e7f6=_0x12f7be;try{const _0x29db51={'userId':this[_0x16e7f6(0x14e)],'logLabel':_0x2edaa5,'content':_0xab946f};this['_httpService'][_0x16e7f6(0x2dd)](_0x16e7f6(0x2f4),{'body':_0x29db51})[_0x16e7f6(0x199)](()=>{});}catch{}}};le=ln([ne(0x0,_0x3714f8(_0x24a160)),ne(0x1,_0x3714f8(_0x1ef343)),ne(0x2,_0x36e10f),ne(0x3,_0x3714f8(_0x3c5e90))],le);const hn=_0x12f7be(0x307),_t={};var un=Object['getOwnPropertyDescriptor'],dn=(_0x5f0876,_0x10c066,_0x502c84,_0x3dcc70)=>{const _0x1f9d63=_0x12f7be;for(var _0x44341d=_0x3dcc70>0x1?void 0x0:_0x3dcc70?un(_0x10c066,_0x502c84):_0x10c066,_0x506ede=_0x5f0876[_0x1f9d63(0x1c8)]-0x1,_0x358616;_0x506ede>=0x0;_0x506ede--)(_0x358616=_0x5f0876[_0x506ede])&&(_0x44341d=_0x358616(_0x44341d)||_0x44341d);return _0x44341d;},lt=(_0x9019f7,_0xb03693)=>(_0x30ba7f,_0x3bcf3d)=>_0xb03693(_0x30ba7f,_0x3bcf3d,_0x9019f7);let he=class{constructor(_0x27b924,_0x4bdc54){const _0x5b9a0e=_0x12f7be;this[_0x5b9a0e(0x13c)]=_0x27b924,this[_0x5b9a0e(0x216)]=_0x4bdc54;}['transformIMECache'](_0x106549){const _0x306c82=_0x12f7be;this[_0x306c82(0x1f7)](_0x106549),this[_0x306c82(0x134)](_0x106549);}[_0x12f7be(0x1ee)](_0x2478ba){const _0x3226f8=_0x12f7be,{unitID:_0x43caf5}=_0x2478ba,_0x4e0ea5=this[_0x3226f8(0x216)][_0x3226f8(0x169)](_0x43caf5)['with'](_0x5d750a),{redoCache:_0x4c148b}=_0x4e0ea5[_0x3226f8(0x1c5)]();if(_0x4c148b[_0x3226f8(0x1c8)]===0x0)return _0x2478ba;let _0x4cd3b3=_0x4dbc53['deepClone'](_0x2478ba['mutations'][0x0]);for(let _0x5463be=0x0;_0x5463be<_0x4c148b[_0x3226f8(0x1c8)];_0x5463be++){const _0xa6d89c={'id':_0x3226f8(0x219),'params':{..._0x4c148b[_0x5463be]}},_0xee9f92=this[_0x3226f8(0x13c)][_0x3226f8(0x249)](_0x4cd3b3,_0xa6d89c,!0x1);if(_0x594698(_0xee9f92))throw _0xee9f92['error'];_0x4cd3b3=_0xee9f92[_0x3226f8(0x243)];}return{..._0x4dbc53[_0x3226f8(0x1ed)](_0x2478ba),'mutations':[_0x4cd3b3]};}[_0x12f7be(0x1f7)](_0x165921){const _0x2096e7=_0x12f7be,{unitID:_0x11bd15}=_0x165921,_0x58789b=this[_0x2096e7(0x216)][_0x2096e7(0x169)](_0x11bd15)[_0x2096e7(0xdd)](_0x5d750a),{undoCache:_0x339476,redoCache:_0x123928}=_0x58789b['getUndoRedoMutationParamsCache']();if(_0x339476[_0x2096e7(0x1c8)]===0x0||_0x123928[_0x2096e7(0x1c8)]===0x0)return;const _0x2cb198=[],_0x55ff02=[];let _0x366c06=_0x4dbc53[_0x2096e7(0x1ed)](_0x165921[_0x2096e7(0x283)][0x0]),_0xf3e79a=_0x4dbc53[_0x2096e7(0x1ed)](_0x165921[_0x2096e7(0x283)][0x0]);for(let _0x307564=_0x339476['length']-0x1;_0x307564>=0x0;_0x307564--){const _0x1809da={'id':_0x2096e7(0x219),'params':{..._0x339476[_0x307564]}},_0x1b8a56={'id':_0x2096e7(0x219),'params':{..._0x123928[_0x307564]}},_0x20e528=this[_0x2096e7(0x13c)][_0x2096e7(0x249)](_0x366c06,_0x1809da,!0x1),_0x3337e1=this[_0x2096e7(0x13c)][_0x2096e7(0x249)](_0xf3e79a,_0x1b8a56,!0x1);if(_0x594698(_0x20e528))throw _0x20e528[_0x2096e7(0x2d5)];if(_0x594698(_0x3337e1))throw _0x3337e1[_0x2096e7(0x2d5)];_0x2cb198[_0x2096e7(0x2be)](_0x20e528['m2Prime'][_0x2096e7(0x281)]),_0x55ff02['unshift'](_0x3337e1[_0x2096e7(0x166)][_0x2096e7(0x281)]),_0x366c06=_0x20e528[_0x2096e7(0x243)],_0xf3e79a=_0x3337e1[_0x2096e7(0x243)];}_0x58789b[_0x2096e7(0x26e)]({'undoCache':_0x2cb198,'redoCache':_0x55ff02});}[_0x12f7be(0x134)](_0x46c1c8){const _0x42657f=_0x12f7be,{unitID:_0xf5de53}=_0x46c1c8,_0x38a4be=this['_renderManagerService'][_0x42657f(0x169)](_0xf5de53)[_0x42657f(0xdd)](_0x5d750a),_0x179167=_0x38a4be[_0x42657f(0x282)]();if(_0x179167==null)return;const _0x2caa51=[{'id':_0x42657f(0x219),'params':{'unitId':_0x46c1c8['unitID'],'actions':null,'textRanges':[_0x179167]}}],_0x1d2eba=this[_0x42657f(0x13c)][_0x42657f(0x23a)](_0x46c1c8,_0x2caa51);if(!_0xcbda0(_0x1d2eba))throw _0x1d2eba[_0x42657f(0x2d5)];const _0x570a2b=_0x1d2eba[_0x42657f(0x166)][0x0][_0x42657f(0x281)][_0x42657f(0x2a1)];Array[_0x42657f(0x17c)](_0x570a2b)&&_0x570a2b[_0x42657f(0x1c8)]&&_0x38a4be[_0x42657f(0x27f)](_0x570a2b[0x0]);}};he=dn([lt(0x0,_0x5963ba),lt(0x1,_0x4ae0f1)],he);var Sn=Object[_0x12f7be(0x214)],In=(_0x3e02e4,_0x3a79d3,_0x55c29f,_0x507ad2)=>{const _0x4bd69f=_0x12f7be;for(var _0x530ae8=_0x507ad2>0x1?void 0x0:_0x507ad2?Sn(_0x3a79d3,_0x55c29f):_0x3a79d3,_0x46efc5=_0x3e02e4[_0x4bd69f(0x1c8)]-0x1,_0x3a0c37;_0x46efc5>=0x0;_0x46efc5--)(_0x3a0c37=_0x3e02e4[_0x46efc5])&&(_0x530ae8=_0x3a0c37(_0x530ae8)||_0x530ae8);return _0x530ae8;},Le=(_0x11c01b,_0x186f6f)=>(_0x4f97cd,_0x52aa0a)=>_0x186f6f(_0x4f97cd,_0x52aa0a,_0x11c01b);let ue=class{constructor(_0xd30b61,_0x399990,_0x2ef360){const _0x2da45f=_0x12f7be;this[_0x2da45f(0x213)]=_0xd30b61,this[_0x2da45f(0x13c)]=_0x399990,this[_0x2da45f(0x21c)]=_0x2ef360;}[_0x12f7be(0x129)](_0xfa453f){this['_transformHistoryAndStateStack'](_0xfa453f);}[_0x12f7be(0x1ee)](_0x263bb1){const _0x318359=_0x12f7be,{unitID:_0x2eb311}=_0x263bb1,{collaboration:_0x1c14e5}=this[_0x318359(0x21c)][_0x318359(0x203)](_0x2eb311);if(_0x1c14e5[_0x318359(0x1c8)]===0x0)return _0x263bb1;let _0x12a4c9=_0x4dbc53[_0x318359(0x1ed)](_0x263bb1['mutations'][0x0]);for(let _0x37414d=0x0;_0x37414d<_0x1c14e5[_0x318359(0x1c8)];_0x37414d++){const _0x2cfed9={'id':_0x318359(0x219),'params':{'unitId':_0x1c14e5[_0x37414d][_0x318359(0x2a5)],..._0x1c14e5[_0x37414d][_0x318359(0x222)]}},_0x4dddec=this[_0x318359(0x13c)][_0x318359(0x249)](_0x12a4c9,_0x2cfed9,!0x1);if(_0x594698(_0x4dddec))throw _0x4dddec[_0x318359(0x2d5)];_0x12a4c9=_0x4dddec[_0x318359(0x243)];}return{..._0x4dbc53[_0x318359(0x1ed)](_0x263bb1),'mutations':[_0x12a4c9]};}['_transformHistoryAndStateStack'](_0x3de92a){const _0x59214a=_0x12f7be,{unitID:_0x1108ad}=_0x3de92a,{history:_0x152bea,collaboration:_0x17e332}=this['_docStateChangeManagerService'][_0x59214a(0x203)](_0x1108ad);if(_0x152bea[_0x59214a(0x1c8)]===0x0&&_0x17e332[_0x59214a(0x1c8)]===0x0)return;const _0x49dd62=[],_0x40cc41=[];let _0x3396fa=_0x4dbc53[_0x59214a(0x1ed)](_0x3de92a[_0x59214a(0x283)][0x0]),_0x4983bf=_0x4dbc53[_0x59214a(0x1ed)](_0x3de92a[_0x59214a(0x283)][0x0]);for(let _0x2c6a00=_0x152bea[_0x59214a(0x1c8)]-0x1;_0x2c6a00>=0x0;_0x2c6a00--){const _0x3df78c={'id':_0x59214a(0x219),'params':{'unitId':_0x152bea[_0x2c6a00][_0x59214a(0x2a5)],..._0x152bea[_0x2c6a00][_0x59214a(0x21f)]}},_0x281ef5={'id':_0x59214a(0x219),'params':{'unitId':_0x152bea[_0x2c6a00]['unitId'],..._0x152bea[_0x2c6a00]['redoState']}},_0x52ee79=this[_0x59214a(0x13c)]['transformMutation'](_0x3396fa,_0x3df78c,!0x1),_0x3cdcf1=this[_0x59214a(0x13c)][_0x59214a(0x249)](_0x4983bf,_0x281ef5,!0x1);if(_0x594698(_0x52ee79))throw _0x52ee79[_0x59214a(0x2d5)];if(_0x594698(_0x3cdcf1))throw _0x3cdcf1[_0x59214a(0x2d5)];_0x49dd62[_0x59214a(0x2be)]({..._0x152bea[_0x2c6a00],'undoState':_0x52ee79[_0x59214a(0x166)][_0x59214a(0x281)],'redoState':_0x3cdcf1[_0x59214a(0x166)][_0x59214a(0x281)]}),_0x3396fa=_0x52ee79['m1Prime'],_0x4983bf=_0x3cdcf1[_0x59214a(0x243)];}_0x3396fa=_0x4dbc53['deepClone'](_0x3de92a[_0x59214a(0x283)][0x0]),_0x4983bf=_0x4dbc53[_0x59214a(0x1ed)](_0x3de92a[_0x59214a(0x283)][0x0]);for(let _0x361713=_0x17e332[_0x59214a(0x1c8)]-0x1;_0x361713>=0x0;_0x361713--){const _0x36be96={'id':_0x59214a(0x219),'params':{'unitId':_0x17e332[_0x361713][_0x59214a(0x2a5)],..._0x17e332[_0x361713][_0x59214a(0x21f)]}},_0x5ea7d7={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x17e332[_0x361713][_0x59214a(0x2a5)],..._0x17e332[_0x361713]['redoState']}},_0xd0fa69=this[_0x59214a(0x13c)][_0x59214a(0x249)](_0x3396fa,_0x36be96,!0x1),_0x4b887f=this[_0x59214a(0x13c)][_0x59214a(0x249)](_0x4983bf,_0x5ea7d7,!0x1);if(_0x594698(_0xd0fa69))throw _0xd0fa69[_0x59214a(0x2d5)];if(_0x594698(_0x4b887f))throw _0x4b887f[_0x59214a(0x2d5)];_0x40cc41[_0x59214a(0x2be)]({..._0x17e332[_0x361713],'undoState':_0xd0fa69[_0x59214a(0x166)]['params'],'redoState':_0x4b887f[_0x59214a(0x166)][_0x59214a(0x281)]}),_0x3396fa=_0xd0fa69[_0x59214a(0x243)],_0x4983bf=_0x4b887f[_0x59214a(0x243)];}this['_docStateChangeManagerService']['setStateCache'](_0x1108ad,{'history':_0x49dd62,'collaboration':_0x40cc41});}};ue=In([Le(0x0,_0x3714f8(_0x24a160)),Le(0x1,_0x5963ba),Le(0x2,_0x3714f8(_0xc26da3))],ue);var mn=Object[_0x12f7be(0x214)],fn=(_0x3f3f7e,_0x2edcde,_0x145d8a,_0x529887)=>{const _0x367dda=_0x12f7be;for(var _0x2d8789=_0x529887>0x1?void 0x0:_0x529887?mn(_0x2edcde,_0x145d8a):_0x2edcde,_0x4d049f=_0x3f3f7e[_0x367dda(0x1c8)]-0x1,_0xd316c4;_0x4d049f>=0x0;_0x4d049f--)(_0xd316c4=_0x3f3f7e[_0x4d049f])&&(_0x2d8789=_0xd316c4(_0x2d8789)||_0x2d8789);return _0x2d8789;},ht=(_0x163c92,_0x5384ae)=>(_0x14ca04,_0x3f7018)=>_0x5384ae(_0x14ca04,_0x3f7018,_0x163c92);let de=class{constructor(_0x424c82,_0x497d9d){const _0x1245d1=_0x12f7be;this[_0x1245d1(0x213)]=_0x424c82,this['_transformService']=_0x497d9d;}['transformSelections'](_0xbcef2c){const _0x10f1f9=_0x12f7be;var _0x5e0116;const _0x3320ca=this[_0x10f1f9(0x213)][_0x10f1f9(0x163)](_0x299386),_0x15eb4d=(_0x5e0116=_0x3320ca['getDocRanges']())!=null?_0x5e0116:[];if(_0x15eb4d[_0x10f1f9(0x1c8)]===0x0)return;const _0xdc626d=_0xbcef2c['unitID'],_0x2ba872=[{'id':_0x10f1f9(0x219),'params':{'unitId':_0xdc626d,'actions':null,'textRanges':_0x15eb4d}}],_0x593128=this['_transformService']['transformMutationsWithChangeset'](_0xbcef2c,_0x2ba872);if(!_0xcbda0(_0x593128))throw _0x593128[_0x10f1f9(0x2d5)];const _0x566e4e=_0x593128[_0x10f1f9(0x166)][0x0][_0x10f1f9(0x281)][_0x10f1f9(0x2a1)];Array[_0x10f1f9(0x17c)](_0x566e4e)&&_0x566e4e[_0x10f1f9(0x1c8)]&&_0x3320ca[_0x10f1f9(0xcd)](_0x566e4e,{'unitId':_0xdc626d,'subUnitId':_0xdc626d},!0x1);}};de=fn([ht(0x0,_0x3714f8(_0x24a160)),ht(0x1,_0x5963ba)],de);var gn=Object[_0x12f7be(0x214)],En=(_0x45a5ec,_0x2db9c3,_0x2c512e,_0x424e94)=>{const _0x315c84=_0x12f7be;for(var _0x4a3343=_0x424e94>0x1?void 0x0:_0x424e94?gn(_0x2db9c3,_0x2c512e):_0x2db9c3,_0x21cd48=_0x45a5ec[_0x315c84(0x1c8)]-0x1,_0x387eb5;_0x21cd48>=0x0;_0x21cd48--)(_0x387eb5=_0x45a5ec[_0x21cd48])&&(_0x4a3343=_0x387eb5(_0x4a3343)||_0x4a3343);return _0x4a3343;},U=(_0x193549,_0x3c80ca)=>(_0x71adc8,_0x4eda7e)=>_0x3c80ca(_0x71adc8,_0x4eda7e,_0x193549);let Se=class extends _0x112363{constructor(_0xe49b8e,_0x15944b,_0x33a647,_0x55dafd,_0x8efc80,_0xdfde2d,_0x97b20f,_0x2eb510){const _0x840191=_0x12f7be;super(),_(this,_0x840191(0x2ec),new _0x51f523(_0x2a0d66[_0x840191(0x16a)])),(this[_0x840191(0x21c)]=_0xe49b8e,this[_0x840191(0x14d)]=_0x15944b,this[_0x840191(0x2c3)]=_0x33a647,this['_docTransformStateCacheService']=_0x55dafd,this[_0x840191(0x288)]=_0x8efc80,this[_0x840191(0xd7)]=_0xdfde2d,this[_0x840191(0x2cf)]=_0x97b20f,this[_0x840191(0x185)]=_0x2eb510,this['_initEntityListener']());}[_0x12f7be(0x1a8)](){const _0x354a6d=_0x12f7be;this[_0x354a6d(0x26c)](this['_collaborationController'][_0x354a6d(0x1ae)][_0x354a6d(0x1e6)](_0x592938=>{const _0x594547=_0x354a6d,_0xa14781=this[_0x594547(0x21c)][_0x594547(0x29e)][_0x594547(0x1e6)](_0x87ffd7=>{const _0x4d223f=_0x594547;if(_0x87ffd7==null)return;const {unitId:_0xf99837,redoState:_0x684ff9,commandId:_0x3990ca}=_0x87ffd7;if(_0xf99837!==_0x592938[_0x4d223f(0x254)])return;const _0x17e897={'id':_0x3990ca,'type':_0x1de431[_0x4d223f(0x11f)],'params':{'unitId':_0xf99837,'actions':_0x684ff9[_0x4d223f(0x2df)],'textRanges':null}};_0x592938[_0x4d223f(0x1f5)](_0x17e897);});if(_0x592938[_0x594547(0x26c)](_0xa14781),_0x592938 instanceof _0x2f6c55){const _0x4c35e5={'onTransformIME':_0x220025=>this[_0x594547(0x2c3)][_0x594547(0xce)](_0x220025),'onTransformState':_0x3e7dee=>this[_0x594547(0x2f8)]['transformStateCache'](_0x3e7dee),'onTransformSelections':_0x5529d5=>this[_0x594547(0x288)]['transformSelections'](_0x5529d5),'onSyncEditingCollabCursor':_0x574683=>this[_0x594547(0xd7)][_0x594547(0xe2)](_0x574683),'onTransformRemoteChangesetByIMECache':_0x2c4f1d=>this[_0x594547(0x2c3)][_0x594547(0x1ee)](_0x2c4f1d),'onTransformRemoteChangesetByStateCache':_0x149b53=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x149b53)};_0x592938['addHandlerCallback'](_0x4c35e5);}}));}};Se=En([U(0x0,_0x3714f8(_0xc26da3)),U(0x1,_0x3714f8(_0x41819a)),U(0x2,_0x3714f8(he)),U(0x3,_0x3714f8(ue)),U(0x4,_0x3714f8(de)),U(0x5,_0x3714f8(ze)),U(0x6,_0x543869),U(0x7,_0x3714f8(_0x35b6c7))],Se);var Z=(_0x36b731=>(_0x36b731[_0x36b731[_0x12f7be(0xc6)]=0x0]=_0x12f7be(0xc6),_0x36b731[_0x36b731['OK']=0x1]='OK',_0x36b731[_0x36b731[_0x12f7be(0x189)]=0x2]=_0x12f7be(0x189),_0x36b731[_0x36b731['PERMISSION_DENIED']=0x3]=_0x12f7be(0xf8),_0x36b731[_0x36b731[_0x12f7be(0x2a9)]=0x4]=_0x12f7be(0x2a9),_0x36b731[_0x36b731[_0x12f7be(0x25e)]=0x5]=_0x12f7be(0x25e),_0x36b731[_0x36b731[_0x12f7be(0x261)]=0x6]=_0x12f7be(0x261),_0x36b731[_0x36b731[_0x12f7be(0x1fd)]=0x7]=_0x12f7be(0x1fd),_0x36b731[_0x36b731['TOO_MANY_REQUESTS']=0x8]=_0x12f7be(0x28a),_0x36b731[_0x36b731['COMPLETION_FINISHED']=0x9]=_0x12f7be(0xee),_0x36b731[_0x36b731[_0x12f7be(0x2d7)]=0xa]=_0x12f7be(0x2d7),_0x36b731[_0x36b731['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x12f7be(0x114),_0x36b731[_0x36b731[_0x12f7be(0x28f)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x36b731[_0x36b731[_0x12f7be(0x1cb)]=0xd]=_0x12f7be(0x1cb),_0x36b731[_0x36b731['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x12f7be(0x15f),_0x36b731[_0x36b731[_0x12f7be(0x100)]=0xf]=_0x12f7be(0x100),_0x36b731[_0x36b731[_0x12f7be(0x232)]=0x10]=_0x12f7be(0x232),_0x36b731[_0x36b731['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x12f7be(0x22a),_0x36b731[_0x36b731[_0x12f7be(0x12d)]=0x65]=_0x12f7be(0x12d),_0x36b731[_0x36b731[_0x12f7be(0x1d7)]=0xc9]=_0x12f7be(0x1d7),_0x36b731[_0x36b731[_0x12f7be(0x24b)]=0xca]=_0x12f7be(0x24b),_0x36b731[_0x36b731['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x12f7be(0x110),_0x36b731[_0x36b731[_0x12f7be(0x246)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x36b731[_0x36b731[_0x12f7be(0x23c)]=0x1772]=_0x12f7be(0x23c),_0x36b731[_0x36b731[_0x12f7be(0x16e)]=0x1773]=_0x12f7be(0x16e),_0x36b731[_0x36b731['APPLY_REJECT']=0x1b59]=_0x12f7be(0x256),_0x36b731[_0x36b731['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x12f7be(0x1a1),_0x36b731[_0x36b731['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x12f7be(0x1fc),_0x36b731[_0x36b731[_0x12f7be(0xeb)]=0x1b5c]=_0x12f7be(0xeb),_0x36b731[_0x36b731[_0x12f7be(0x24f)]=0x1b5d]=_0x12f7be(0x24f),_0x36b731[_0x36b731[_0x12f7be(0x120)]=0x1f41]=_0x12f7be(0x120),_0x36b731[_0x36b731['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x12f7be(0xec),_0x36b731[_0x36b731['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x36b731[_0x36b731['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x12f7be(0x298),_0x36b731[_0x36b731[_0x12f7be(0x304)]=0x232c]=_0x12f7be(0x304),_0x36b731[_0x36b731[_0x12f7be(0x18a)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x36b731[_0x36b731['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x12f7be(0x27e),_0x36b731[_0x36b731['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x12f7be(0xb7),_0x36b731[_0x36b731[_0x12f7be(0x17b)]=0x2713]=_0x12f7be(0x17b),_0x36b731[_0x36b731[_0x12f7be(0x27a)]=0x2714]=_0x12f7be(0x27a),_0x36b731[_0x36b731['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x12f7be(0x28e),_0x36b731[_0x36b731[_0x12f7be(0x118)]=0x271b]=_0x12f7be(0x118),_0x36b731[_0x36b731[_0x12f7be(0x19b)]=0x271c]=_0x12f7be(0x19b),_0x36b731[_0x36b731[_0x12f7be(0x1e9)]=0x271d]=_0x12f7be(0x1e9),_0x36b731[_0x36b731['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x12f7be(0x259),_0x36b731[_0x36b731[_0x12f7be(0xf2)]=0x271f]=_0x12f7be(0xf2),_0x36b731[_0x36b731[_0x12f7be(0x1ff)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x36b731[_0x36b731[_0x12f7be(0x2cb)]=0x2af9]=_0x12f7be(0x2cb),_0x36b731[_0x36b731[_0x12f7be(0x206)]=0x2ee1]=_0x12f7be(0x206),_0x36b731[_0x36b731[_0x12f7be(0x177)]=0x2ee2]=_0x12f7be(0x177),_0x36b731[_0x36b731[_0x12f7be(0x2e5)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x36b731[_0x36b731[_0x12f7be(0x113)]=0x2ee4]=_0x12f7be(0x113),_0x36b731[_0x36b731[_0x12f7be(0x2c4)]=0x2ee5]=_0x12f7be(0x2c4),_0x36b731[_0x36b731['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x12f7be(0x140),_0x36b731[_0x36b731[_0x12f7be(0x2c5)]=0x32ca]=_0x12f7be(0x2c5),_0x36b731[_0x36b731[_0x12f7be(0x2d9)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x36b731[_0x36b731[_0x12f7be(0xb2)]=0x36b1]=_0x12f7be(0xb2),_0x36b731[_0x36b731[_0x12f7be(0x284)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x36b731[_0x36b731[_0x12f7be(0x23f)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x36b731[_0x36b731[_0x12f7be(0x1d4)]=0x36b4]=_0x12f7be(0x1d4),_0x36b731[_0x36b731[_0x12f7be(0x1d3)]=0x36b5]=_0x12f7be(0x1d3),_0x36b731[_0x36b731[_0x12f7be(0x2bf)]=0x36b6]=_0x12f7be(0x2bf),_0x36b731[_0x36b731['ENTITLE_COUPON_USED_UP']=0x36b7]=_0x12f7be(0x15a),_0x36b731[_0x36b731[_0x12f7be(0x106)]=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x36b731[_0x36b731[_0x12f7be(0x1d1)]=0x3715]=_0x12f7be(0x1d1),_0x36b731[_0x36b731[_0x12f7be(0x105)]=0x3716]=_0x12f7be(0x105),_0x36b731[_0x36b731[_0x12f7be(0x171)]=0x3717]=_0x12f7be(0x171),_0x36b731[_0x36b731['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x12f7be(0x194),_0x36b731[_0x36b731['REDEMPTION_INVALID_CODE']=0x3a99]='REDEMPTION_INVALID_CODE',_0x36b731[_0x36b731[_0x12f7be(0x25a)]=0x3a9a]=_0x12f7be(0x25a),_0x36b731[_0x36b731[_0x12f7be(0x167)]=0x3a9b]=_0x12f7be(0x167),_0x36b731[_0x36b731[_0x12f7be(0xd1)]=0x3a9c]=_0x12f7be(0xd1),_0x36b731[_0x36b731['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x12f7be(0x1cf),_0x36b731[_0x36b731['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x12f7be(0x273),_0x36b731[_0x36b731[_0x12f7be(0xdf)]=0x3a9f]=_0x12f7be(0xdf),_0x36b731[_0x36b731[_0x12f7be(0x2bb)]=0x3e81]=_0x12f7be(0x2bb),_0x36b731[_0x36b731[_0x12f7be(0x28b)]=-0x1]=_0x12f7be(0x28b),_0x36b731))(Z||{});function vn(_0x47b615){const _0x19a7d7=_0x12f7be;var _0x4f39fb,_0x4b3c06;const _0x45cbdc=(_0x4f39fb=_0x47b615[_0x19a7d7(0x1a3)])==null?void 0x0:_0x4f39fb['stage'],_0x111666=((_0x4b3c06=_0x47b615['stageInfo'])==null?void 0x0:_0x4b3c06[_0x19a7d7(0x2f7)])||0x0;return _0x45cbdc===_0x252b95[_0x19a7d7(0x1c9)]&&_0x111666>0x0;}function pn(_0x561e48){const _0x3b0cf1=_0x12f7be;return _0x561e48[_0x3b0cf1(0xb3)]===_0x84f645['SUCCESS'];}var On=Object[_0x12f7be(0x214)],Tn=(_0x44036c,_0x2445d7,_0x50f40f,_0x27ba37)=>{const _0x34f135=_0x12f7be;for(var _0x518bd7=_0x27ba37>0x1?void 0x0:_0x27ba37?On(_0x2445d7,_0x50f40f):_0x2445d7,_0x1b9f88=_0x44036c[_0x34f135(0x1c8)]-0x1,_0x30f650;_0x1b9f88>=0x0;_0x1b9f88--)(_0x30f650=_0x44036c[_0x1b9f88])&&(_0x518bd7=_0x30f650(_0x518bd7)||_0x518bd7);return _0x518bd7;},P=(_0x3c7b4d,_0x4c920d)=>(_0x135467,_0x3124ec)=>_0x4c920d(_0x135467,_0x3124ec,_0x3c7b4d);const Cn=_0x12f7be(0x26b),Rn=_0x12f7be(0x159),Dn=_0x12f7be(0x16b);let Ie=class extends _0x112363{constructor(_0x280164,_0x5a6625,_0x2b68bb,_0x15e80d,_0x16e1c5,_0x4c2505,_0x40a8e2){const _0x109b0a=_0x12f7be;super(),_(this,_0x109b0a(0x15d),null),_(this,_0x109b0a(0x22b),0x0),_(this,_0x109b0a(0x1c2),0x0),_(this,_0x109b0a(0x2ce),[]),_(this,'_lastResponseTimestamp',0x0),(this[_0x109b0a(0x2cf)]=_0x280164,this['_commandService']=_0x5a6625,this[_0x109b0a(0x11c)]=_0x2b68bb,this['_httpService']=_0x15e80d,this[_0x109b0a(0x1e0)]=_0x16e1c5,this['_logService']=_0x4c2505,this['_localeService']=_0x40a8e2,this['_initCommandInterceptor']());}[_0x12f7be(0x160)](){const _0xe6945e=_0x12f7be;this[_0xe6945e(0x26c)](this[_0xe6945e(0x21d)][_0xe6945e(0xbc)]((_0x119197,_0x3232ba)=>{const _0x4daaf6=_0xe6945e;var _0x3a50cb;if(_0x119197['id']!==_0x576576['id'])return;const _0x12d63a=_0x119197[_0x4daaf6(0x281)];if(!this[_0x4daaf6(0x2f1)]((_0x3a50cb=_0x12d63a[_0x4daaf6(0x156)])!=null?_0x3a50cb:[]))return;if(!this[_0x4daaf6(0x2c1)]())throw this[_0x4daaf6(0x173)](_0x119197,_0x3232ba),this['_showGuardMessage'](),new _0x24cc76();})),this['disposeWithMe'](this[_0xe6945e(0x21d)]['onCommandExecuted']((_0x124b2a,_0x3c429b)=>{const _0x35037f=_0xe6945e;if(_0x124b2a['id']!==_0x554e96['id'])return;const _0x2218fb=_0x124b2a['params'];if(vn(_0x2218fb)){const _0x515f82=_0x28ef98();this[_0x35037f(0x2ce)]['push'](_0x515f82),this[_0x35037f(0x2d4)](_0x515f82);}else{if(pn(_0x2218fb)&&this[_0x35037f(0x2ce)]['length']>0x0){const _0x4307e2=this[_0x35037f(0x2ce)][_0x35037f(0xb8)]();this['_releaseCalculationLimit'](_0x4307e2);}}}));}[_0x12f7be(0x2e8)](){const _0x494a92=_0x12f7be;super[_0x494a92(0x2e8)](),this[_0x494a92(0x291)](),this[_0x494a92(0x2ce)]=[],this[_0x494a92(0x1c2)]=0x0,this[_0x494a92(0x22b)]=0x0,this['_lastResponseTimestamp']=0x0;}async[_0x12f7be(0x173)](_0x5e3ac5,_0x5d2810){const _0x36ffa9=_0x12f7be;for(let _0x5f2754=0x0;_0x5f2754<0x1e;_0x5f2754++)try{if(await this[_0x36ffa9(0x136)](),this[_0x36ffa9(0x2c1)]()){this[_0x36ffa9(0x122)](_0x5e3ac5,_0x5d2810),this[_0x36ffa9(0x2cf)][_0x36ffa9(0xd0)]({'content':this['_localeService']['t'](_0x36ffa9(0x2d1)),'type':_0x4bbdcc[_0x36ffa9(0x215)]});return;}await new Promise(_0x5d328e=>{this['_pollingInterval']=window['setTimeout'](_0x5d328e,0x3e8);});}catch(_0x1480be){this['_logService']['error'](_0x1480be);}this[_0x36ffa9(0x2cf)][_0x36ffa9(0xd0)]({'content':this['_localeService']['t']('formula.calculation.unable'),'type':_0x4bbdcc[_0x36ffa9(0x11a)]});}[_0x12f7be(0x122)](_0x2cb853,_0x4f6bbc){const _0x16eeec=_0x12f7be;try{this[_0x16eeec(0x21d)][_0x16eeec(0x2fd)](_0x2cb853['id'],_0x2cb853[_0x16eeec(0x281)],_0x4f6bbc);}catch(_0x411f72){this[_0x16eeec(0x267)][_0x16eeec(0x2d5)](_0x411f72);}}[_0x12f7be(0x150)](_0x237b0d,_0x42c344){const _0x5a9725=_0x12f7be;_0x42c344<this[_0x5a9725(0x1c4)]||(this[_0x5a9725(0x1c4)]=_0x42c344,this[_0x5a9725(0x22b)]=Number[_0x5a9725(0xd4)](_0x237b0d[_0x5a9725(0x1b6)]),this[_0x5a9725(0x1c2)]=Number[_0x5a9725(0xd4)](_0x237b0d['currentUsage']));}async['_startCalculationLimit'](_0x1972b8){const _0x12b5bb=_0x12f7be;var _0x3a9ba1,_0x3341d3;const _0x148bad=Date[_0x12b5bb(0x23e)]();try{const _0x20860a=((_0x3a9ba1=this[_0x12b5bb(0x11c)][_0x12b5bb(0x221)](_0x3c1c8f))==null?void 0x0:_0x3a9ba1[_0x12b5bb(0x2e7)])||Rn,_0x4bc368=(await this['_httpService'][_0x12b5bb(0x2dd)](_0x20860a,{'body':JSON[_0x12b5bb(0x225)]({'taskId':_0x1972b8})}))[_0x12b5bb(0x115)];if(((_0x3341d3=_0x4bc368[_0x12b5bb(0x2d5)])==null?void 0x0:_0x3341d3[_0x12b5bb(0xfd)])!==Z['OK'])return;this[_0x12b5bb(0x150)](_0x4bc368[_0x12b5bb(0x191)],_0x148bad);}catch(_0x3a2409){this[_0x12b5bb(0x267)][_0x12b5bb(0x2d5)](_0x3a2409);}}async['_getFormulaLimitStatus'](_0x23b1ca){const _0xd2e4e8=_0x12f7be;var _0x1b0184,_0x12bdb0;const _0x3c0326=Date[_0xd2e4e8(0x23e)]();try{const _0x4a20c0=((_0x1b0184=this['_configService'][_0xd2e4e8(0x221)](_0x3c1c8f))==null?void 0x0:_0x1b0184['getformulaLimitStatusUrl'])||Cn,_0x3557cf=_0x23b1ca?_0x4a20c0+_0xd2e4e8(0xd8)+encodeURIComponent(_0x23b1ca):_0x4a20c0,_0x500d51=(await this[_0xd2e4e8(0x21e)][_0xd2e4e8(0x163)](_0x3557cf))[_0xd2e4e8(0x115)];if(((_0x12bdb0=_0x500d51[_0xd2e4e8(0x2d5)])==null?void 0x0:_0x12bdb0[_0xd2e4e8(0xfd)])!==Z['OK'])return;this[_0xd2e4e8(0x150)](_0x500d51[_0xd2e4e8(0x191)],_0x3c0326);}catch(_0x5babe9){this[_0xd2e4e8(0x267)][_0xd2e4e8(0x2d5)](_0x5babe9);}}async[_0x12f7be(0xc2)](_0x2de6c9){const _0x7a6477=_0x12f7be;var _0xa0ba51,_0x122e48;const _0x59c689=Date[_0x7a6477(0x23e)]();try{const _0x11e432=((_0xa0ba51=this[_0x7a6477(0x11c)][_0x7a6477(0x221)](_0x3c1c8f))==null?void 0x0:_0xa0ba51[_0x7a6477(0x2fa)])||Dn,_0x36801a=(await this[_0x7a6477(0x21e)][_0x7a6477(0x2dd)](_0x11e432,{'body':JSON[_0x7a6477(0x225)]({'taskId':_0x2de6c9})}))[_0x7a6477(0x115)];if(((_0x122e48=_0x36801a[_0x7a6477(0x2d5)])==null?void 0x0:_0x122e48[_0x7a6477(0xfd)])!==Z['OK'])return;this[_0x7a6477(0x150)](_0x36801a[_0x7a6477(0x191)],_0x59c689);}catch(_0x44c271){this[_0x7a6477(0x267)][_0x7a6477(0x2d5)](_0x44c271);}}[_0x12f7be(0x2c1)](){const _0x5d968c=_0x12f7be;return this[_0x5d968c(0x22b)]===0x0?!0x0:this[_0x5d968c(0x22b)]-this['_currentUsage']>0x0;}[_0x12f7be(0x291)](){const _0x1a951f=_0x12f7be;this[_0x1a951f(0x15d)]&&(clearTimeout(this[_0x1a951f(0x15d)]),this[_0x1a951f(0x15d)]=null);}[_0x12f7be(0x178)](){const _0x5d068f=_0x12f7be;this[_0x5d068f(0x2cf)]['show']({'content':this[_0x5d068f(0x185)]['t'](_0x5d068f(0x2d6)),'type':_0x4bbdcc[_0x5d068f(0x127)]});}[_0x12f7be(0x2f1)](_0x2de137){const _0x287199=_0x12f7be;for(const _0x1f0364 of _0x2de137){const {unitId:_0x517c09,sheetId:_0x520540,range:_0x1ee6a5}=_0x1f0364,_0x201778=this[_0x287199(0x1e0)][_0x287199(0x1dd)](_0x517c09);if(!_0x201778)continue;const _0x3b2a63=_0x201778[_0x287199(0x1af)](_0x520540);if(!_0x3b2a63)continue;const _0x5a0c27=_0x3b2a63['getCellMatrix']();for(let _0x292b37=_0x1ee6a5[_0x287199(0x2fc)];_0x292b37<=_0x1ee6a5['endRow'];_0x292b37++)for(let _0x20767d=_0x1ee6a5[_0x287199(0x2ac)];_0x20767d<=_0x1ee6a5[_0x287199(0x12b)];_0x20767d++){const _0x35e185=_0x5a0c27['getValue'](_0x292b37,_0x20767d);if(_0x35e185&&(_0x371c6c(_0x35e185['f'])||_0x2bd85a(_0x35e185['si'])))return!0x0;}}return!0x1;}};Ie=Tn([P(0x0,_0x3714f8(_0x543869)),P(0x1,_0x58f12e),P(0x2,_0x5a741e),P(0x3,_0x3714f8(_0x1ef343)),P(0x4,_0x52d51e),P(0x5,_0x36e10f),P(0x6,_0x3714f8(_0x35b6c7))],Ie);var Nn=Object['getOwnPropertyDescriptor'],bn=(_0x1ebe7b,_0x42ae32,_0x30b24c,_0x501e23)=>{for(var _0x2d5b5f=_0x501e23>0x1?void 0x0:_0x501e23?Nn(_0x42ae32,_0x30b24c):_0x42ae32,_0x2e7fa9=_0x1ebe7b['length']-0x1,_0x357bf4;_0x2e7fa9>=0x0;_0x2e7fa9--)(_0x357bf4=_0x1ebe7b[_0x2e7fa9])&&(_0x2d5b5f=_0x357bf4(_0x2d5b5f)||_0x2d5b5f);return _0x2d5b5f;},Ue=(_0x4020f0,_0x2ff48e)=>(_0x49c0be,_0xd29f02)=>_0x2ff48e(_0x49c0be,_0xd29f02,_0x4020f0);let He=class extends _0x112363{constructor(_0x4d0f2c,_0x20629f,_0x4e2e97){const _0x2f4fa6=_0x12f7be;super(),_(this,_0x2f4fa6(0x24c),new Map()),_(this,_0x2f4fa6(0x220),new Map()),_(this,_0x2f4fa6(0x21a),!0x1),(this[_0x2f4fa6(0x11c)]=_0x4d0f2c,this[_0x2f4fa6(0x1ef)]=_0x20629f,this[_0x2f4fa6(0xc0)]=_0x4e2e97);}[_0x12f7be(0x1b7)](){const _0x3859d3=_0x12f7be;this[_0x3859d3(0x21a)]=!0x0;}[_0x12f7be(0x300)](){const _0xd16f3d=_0x12f7be;this[_0xd16f3d(0x21a)]=!0x1;}get['saveTaskMap'](){const _0x338681=_0x12f7be;return this[_0x338681(0x220)];}[_0x12f7be(0x2e8)](){const _0x50b548=_0x12f7be;this[_0x50b548(0x266)]()['then'](()=>super[_0x50b548(0x2e8)]());}async[_0x12f7be(0x2b0)](_0x4adec4){const _0x36ff92=_0x12f7be;return this[_0x36ff92(0x21a)]?null:this[_0x36ff92(0x1ef)][_0x36ff92(0x1f1)](_0x193170(_0x4adec4));}async[_0x12f7be(0x19c)](_0x83f1ae,_0x163d49){const _0x340c2a=_0x12f7be;return!!this[_0x340c2a(0x1ef)][_0x340c2a(0x1e5)](_0x83f1ae,_0x163d49);}[_0x12f7be(0x12e)](_0x559c3f,_0x5c4c1e,_0x347252,_0x32d01e){const _0x111694=_0x12f7be,_0x19efb7=this[_0x111694(0xc0)][_0x111694(0x2b6)](_0x559c3f);this[_0x111694(0x24c)]['set'](_0x559c3f,{'unitID':_0x559c3f,'type':_0x5c4c1e,'awaitingChangeset':_0x347252,'mutations':_0x32d01e,'rev':_0x19efb7}),this['_saveTaskMap']['has'](_0x559c3f)||this[_0x111694(0xf6)](_0x559c3f);}[_0x12f7be(0xf6)](_0x553ee9){const _0x232c39=_0x12f7be,_0x4aa3d5=this[_0x232c39(0x270)]();_0x4aa3d5===0x0?this[_0x232c39(0x25f)](_0x553ee9):this[_0x232c39(0x220)][_0x232c39(0x13b)](_0x553ee9,setTimeout(()=>this[_0x232c39(0x25f)](_0x553ee9),_0x4aa3d5));}[_0x12f7be(0x270)](){const _0xacd6b0=_0x12f7be;var _0x3b103b;return(_0x3b103b=this[_0xacd6b0(0x11c)][_0xacd6b0(0x221)](_0x1d75b1))!=null?_0x3b103b:_0x41a768;}['_saveCache'](_0x1288f8){const _0x1898b7=_0x12f7be,_0x1170dd=this[_0x1898b7(0x220)]['get'](_0x1288f8);return _0x1170dd!==void 0x0&&window['clearTimeout'](_0x1170dd),this[_0x1898b7(0x1ef)][_0x1898b7(0x1e5)](_0x193170(_0x1288f8),this[_0x1898b7(0x24c)]['get'](_0x1288f8))[_0x1898b7(0x1a6)](()=>this[_0x1898b7(0x220)][_0x1898b7(0x1a0)](_0x1288f8));}async[_0x12f7be(0x266)](){const _0xc39d87=_0x12f7be,_0x51388e=[];this[_0xc39d87(0x220)][_0xc39d87(0x275)]((_0x26c0a2,_0xd26df1)=>{const _0x22bf8c=_0xc39d87;window[_0x22bf8c(0x2c9)](_0x26c0a2),_0x51388e[_0x22bf8c(0x210)](this[_0x22bf8c(0x25f)](_0xd26df1)['then'](()=>{const _0x12f276=_0x22bf8c;this[_0x12f276(0x220)][_0x12f276(0x1a0)](_0xd26df1);}));}),await Promise[_0xc39d87(0xe9)](_0x51388e);}};function _0x919a(){const _0x368be9=['doc.mutation.rich-text-editing','_disabled','_monkeyPatchLogService','_docStateChangeManagerService','_commandService','_httpService','undoState','_saveTaskMap','getConfig','redoState','executionId','_removeCollabCursors','stringify','getTypeOfUnitDisposed$','_drawTextRange','setConfig','_setupBeforeClosingHandler','CURRENT_STATUS_CANNOT_OPERATE','_maxFormulaLimit','_updateLocalCursor','getCurrentSelections','RemoveRowCommandId','_online','height','_color','LOGIN_TOKEN_PROCESSING_FAILED','init','clearInterval','removeParam','origin','history','loadUnit','_entityInit$','transformMutationsWithChangeset','currentTheme$','SNAPSHOT_HAS_BEEN_REMOVED','enableFrontendLog','now','ENTITLE_DUP_SUBSCRIPTION','makeDirty','MoveRangeCommandId','off-line-icon_clip0_910_343','m1Prime','_anchorDot','jiqing.500','SNAPSHOT_INVALID_SNAPSHOT','addObject','permission.title','transformMutation','univer-mr-2\x20univer-flex\x20univer-text-xl','USER_IS_ANONYMOUS','_cachedData','startsWith','_handleHover','APPLY_DUPLICATED','collab-rect-range-','source','[LogService\x20Error]:\x20','_doCreateSocket','unitID','subunit','APPLY_REJECT','_ensureSubject','_syncEditingCollabCursorService','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','REDEMPTION_CODE_INACTIVE','on-line-icon_clip0_910_349','flatMap','_initResize','UNAUTHENTICATED','_saveCache','subUnitId','ALREADY_EXISTS','clipPath','fillRule','invokeId','defineProperty','exhaustSavingTask','_logService','UNIVER_SHEET','_getAnchorBounding','fill','/universer-api/license/formula/limit/status','disposeWithMe','arc','setUndoRedoMutationParamsCache','_unitStatus','_getSaveTimeout','defIds','defs','REDEMPTION_USER_REDEEM_TIMES_EXCEED','collaboration.closeRoom','forEach','_scene','getMergeData','reason','_init','YUUMI_SUBSCRIPTION_NOT_FOUND','UPDATE_CURSOR','1FiTLjY','svg','YUUMI_UNABLE_LOAD_URL','setActiveRange','div','params','getActiveRange','mutations','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_handleEvent','onPointerLeave$','parse','_docTransformSelectionsService','runOnServer','TOO_MANY_REQUESTS','UNRECOGNIZED','_scheduleHeartbeat','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','YUUMI_NO_CUBOID_FOR_QUESTION','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','override','_clearPolling','getTypeOfUnitAdded$','getDocRanges','off-line-icon','event$','USERS_LEAVE','collabStatus.conflict','LICENSE_IMPORT_SIZE_EXCEEDED','getViewport','_send','size','onStarting','_eventUnsubscribe','docStateChange$','unsubscribe','_context','textRanges','1em','purple.300','idSuffix','unitId','dispose$','disposeUnit','currentColor','NOT_FOUND','_toggleOnline','memberID','startColumn','_unitOnClients','map','_selfUnitIDs','loadOfflineData','cursorInfo','string','[CollaborationDataLoaderController]','url(#$1','subscribeEvent','getCurrentRevOfUnit','includes','getRangePointData','_onRefRangeChange','_removeClearOtherTimer','DATA_SOURCE_TOO_LARGE','getCollabCursors$','unload','unshift','ENTITLE_COUPON_EXPIRED','activeSheet$','_checkCalculationAvailable','_collaborationUIEventService','_docTransformIMECacheService','INVITE_CODE_ALREADY_BOUND','MOBILE_HAS_BEEN_BOUND','_dataLoaderService','_hideTimer','NO_OTHER_CLIENTS_EDITING','clearTimeout','text','PY_RUNTIME_SCRIPT_ERROR','_config','bind','_taskIds','_messageService','restore','formula.calculation.started','_hovered','round','_startCalculationLimit','error','formula.calculation.waiting','LOGIN_FAILED','getOffsetConfig','EMAIL_HAS_BEEN_BOUND','_updateURLWithCurrentState','_uploadLog','lineno','post','split','actions','_getScale','2954624CVyHFu','sessionTicket','OffLineIcon','getActiveSheet','INVITE_CODE_REQUIRED','collabStatus.offline','startFormulaLimitUrl','dispose','collabStatus.notCollab','http://www.w3.org/2000/svg','getValue','_status$','registerRefRange','roomMembers$','drawWith','addObjects','_hasFormulaInDirtyRanges','message','save','/universer-api/frontend/logs','ONLINE','TEXT','totalFormulasToCalculate','_docTransformStateCacheService','displayName','releaseFormulaLimitUrl','OFFLINE','startRow','executeCommand','collabStatus.fetchMiss','SOCKET_FAILED_RETRY','enableLocalCache','fillText','session.collaboration-timeout','_initStatusComponent','LICENSE_EXPORT_SIZE_EXCEEDED','find','onTransformChange$','collaboration-client-ui.config','setAlpha','_session','tag','ENTITLE_CAN_NOT_BUY_LOWER_OTP','functionsExecutedState','searchParams','findNodePositionByCharIndex','getUnitId','YUUMI_URL_COL_OUT_OF_RANGE','shift','AWAITING_WITH_PENDING','replace','_anchor','beforeCommandExecuted','_collabCursorController','session.connection-failed','InsertColCommandId','_revisionService','UNIVER_DOC','_releaseCalculationLimit','_getSheetObject','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','_instanceService','UNDEFINED','0\x200\x2017\x2016','none','_drawAnchor','key','getUnhiddenWorksheets','pushState','replaceDocRanges','transformIMECache','_handleLeaveEvent','show','REDEMPTION_CODE_NOT_STARTED','_colorAssignService','values','parseInt','entries','FETCH_MISS','_docSyncEditingCollabCursorService','?taskId=','endRow','_getMergeRange','getCollabEntity$','roomMembers','with','_clearOtherTimers','REDEMPTION_CODE_HAS_BEEN_CREATED','substring','_handleJoinEvent','syncEditingCollabCursor','requireSession','white','_createSocketURL','next','_name','transformByState','all','JOIN_ROOM_FAILED','APPLY_PERMISSION_DENIED','LICENSE_MAX_UNITS_EXCEEDED','_assignedColors','COMPLETION_FINISHED','beginPath','DeleteRangeMoveLeftCommandId','_uiPartsService','YUUMI_AI_RUN_FAILED','getCurrent','_themeService','replaceState','_scheduleSaving','min','PERMISSION_DENIED','setInterval','evenodd','_labelPosition','max','code','1251812LtSfoM','assignAColorForMemberID','AUTHORIZE_CODE_ILLEGAL','RECT','sessionStatus$','ranges','_collabSessionService','ENTITLE_REPORT_LIMIT_EXCEED','ENTITLE_USE_COUPON_NOT_1ST_TRADE','stack','removeEventListener','runId','15KddQjC','symbol','status$','engine','bottom','labelPosition','CHANGESET_REVISION_CONFILICT','wsSessionTicketUrl','_initUserListener','USER_NOT_INVITED_CODE','MOBILE_VERIFY_CODE_MISMATCH','body','collaboration.offline-data-not-saved','currentSkeleton$','YUUMI_ASYNCIO_CANCELLED','CLOSE_ROOM','Error','_urlService','_configService','_render','skeleton','MUTATION','CONNECTOR_DATA_TOO_LARGE','getVpScrollXYInfoByPosToVp','_applyCommand','_cursorShapes','_colorIndex','fillStyle','color','Loading','_refreshCollabCursors','transformStateCache','_docSkeletonManagerService','endColumn','HEADER_MENU','ERROR_AGAIN','updateOfflineData','some','url(#off-line-icon_clip0_910_343)','671616vvrWhT','unit','_toggleOffline','_transformPreviousActiveRange','location','_getFormulaLimitStatus','_collaborationSessionService','SUBMIT_CHANGESET_TIMEOUT','_id','_notificationService','set','_transformService','blue.400','5854051fGqdjZ','yellow.400','WECHAT_HAS_BEEN_BOUND','row','registerRenderModule','_initDependencies','top','_cursors','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','getUnitStatus$','_registerRenderDependencies','setParam','[Unhandled\x20Rejection]:\x20','href','UniverIcon','_collaborationController','_memberID','collab-client.tooltip.reconnect','_setFormulaLimitStatus','contains','_cursor','getSkeleton','_cursorInfo$','_roomMembers$','dirtyRanges','getColorFromTheme','_collabCursorState$','/universer-api/license/formula/limit/start','ENTITLE_COUPON_USED_UP','lineTo','rgba(255,\x20255,\x20255,\x200.01)','_pollingInterval','RemoveColCommandId','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_initCommandInterceptor','green.600','_hover','get','_imageIoService','setShapeProps','m2Prime','REDEMPTION_CODE_FULLY_REDEEMED','...','getRenderById','NOT_COLLAB','/universer-api/license/formula/limit/done','_localCacheService','type','ENSURE_SNAPSHOT_EXECUTION','black','M0\x200H16V16H0z','ENTITLE_INSUFFICIENT_QUOTA','selection','_checkAndWaitForCalculationPermission','registerComponent','eventID','addEventListener','INVALID_INVITE_CODE','_showGuardMessage','_heartbeatTimer','on-line-icon','YUUMI_RATE_OVER_LIMIT','isArray','_beforeCloseService','isEditing','_textBubble','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','InsertRangeMoveRightCommandId','1148952zxehWZ','backgroundColor','getSheetId','_localeService','children','_updateCollabCursors','onCommandExecuted','INTERNAL_ERROR','LICENSE_DISTRO_REJECTED','sheetID','reconnect','socket$','getCellPositionByOffset','/run/','_startSheetCollabCursor','limitInfo','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','filename','ENTITLE_NEED_BILLING_ADDRESS','asObservable','getMemberID','name','onPointerEnter$','catch','search','YUUMI_TABLE_NOT_FOUND_IN_UNIT','saveOfflineData','setTimeout','unhandledrejection','data','delete','APPLY_NON_SEQUENTIAL_REVISION','Failed','stageInfo','SOCKET_FAILED','complete','then','_shapes','_initEntityListener','_updateSubUnitFromURLParams','_lastPointer','FromArray','getParam','add','entityInit$','getSheetBySheetId','collabCursorState$','addClipboardHook','Warning','getAncestorScale','xlink:href','SYNCED','maxFormulaLimit','disableLocalCache','_initCommandExecutedListener','hovered','CONFLICT','colorChannel1','imageSourceType','ticket','_getSessionTicket','98548bEqjop','InsertRangeMoveDownCommandId','_initEvent','_currentUsage','pipe','_lastResponseTimestamp','getUndoRedoMutationParamsCache','font','InsertRowCommandId','length','START_CALCULATION','_scheduleClearOtherTimer','EMAIL_VERIFY_CODE_MISMATCH','from','_drawRectRange','_backgroundColor','REDEMPTION_USER_NOT_ELIGIBLE','_range','ENTITLE_CHAT_LIMIT_EXCEED','send','ENTITLE_INVALID_COUPON_CODE','PAYMENT_CHANNEL_NOT_SUPPORT','cursorInfo$','mask','USER_NOT_FOUND','path','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','attrs','range','_sheetSkeletonManagerService','getUnit','assign','_refRangeService','_univerInstanceService','_handleHeartbeatEvent','width','urlChange$','sheetId','setItem','subscribe','toRgbString','selections','YUUMI_ALL_TABLES_IS_INVALID','OTHER_CLIENTS_EDITING','current','colno','deepClone','transformRemoteChangeset','_localStorageService','onMouseMove','getItem','_entities','_onCursorDelete','_onCursorUpdate','onLocalMutation','measureText','_transformUndoRedoStack','hide','_draw','getMember','10603485feoqdy','APPLY_REVISION_CONFILICT','INVALID_ARGUMENT','DeleteRangeMoveUpCommandId','YUUMI_CONNECTOR_URL_NOT_FOUND','collabStatus.syncing','has','0\x200\x2016\x2016','getStateCache','collabStatus.synced','createInstance','INVITE_CODE_HAS_BEEN_UES','_initStatusListener','_memberService','debug','closePath','collaboration.single-unit.warning','toString','getFocusedUnit','_initWindowErrorListener','trim','push','Unknown\x20user','column','_injector','getOwnPropertyDescriptor','Success','_renderManagerService','isActive','registerBeforeClose'];_0x919a=function(){return _0x368be9;};return _0x919a();}He=bn([Ue(0x0,_0x5a741e),Ue(0x1,_0x5e3c18),Ue(0x2,_0x3714f8(_0x17c8fb))],He);class Ln extends _0x53e01a{constructor(){const _0x4485f4=_0x12f7be;super(),_(this,'urlChange$'),this[_0x4485f4(0x1e3)]=_0x45269d(window,'popstate')['pipe'](_0x4da0bf(this[_0x4485f4(0x2a6)]),_0x528417(0x1),_0x84d373(void 0x0));}['setParam'](_0x2de8e8,_0x1c9659,_0x1217cb=!0x1){const _0x12a812=_0x12f7be,_0x1487e1=new URL(window[_0x12a812(0x135)][_0x12a812(0x14b)]);_0x1487e1['searchParams'][_0x12a812(0x13b)](_0x2de8e8,_0x1c9659),_0x1217cb?window['history'][_0x12a812(0xf5)]('','',_0x1487e1[_0x12a812(0x20c)]()):window[_0x12a812(0x237)][_0x12a812(0xcc)]('','',_0x1487e1[_0x12a812(0x20c)]());}[_0x12f7be(0x235)](_0x23c072,_0x20c627=!0x1){const _0x4c53f9=_0x12f7be,_0x4a0722=new URL(window['location'][_0x4c53f9(0x14b)]);_0x4a0722[_0x4c53f9(0xb4)][_0x4c53f9(0x1a0)](_0x23c072),_0x20c627?window[_0x4c53f9(0x237)][_0x4c53f9(0xf5)]('','',_0x4a0722['toString']()):window[_0x4c53f9(0x237)][_0x4c53f9(0xcc)]('','',_0x4a0722[_0x4c53f9(0x20c)]());}[_0x12f7be(0x1ac)](_0x570f8f){const _0x38f2af=_0x12f7be;var _0x33f254;return(_0x33f254=new URL(window[_0x38f2af(0x135)]['href'])[_0x38f2af(0xb4)][_0x38f2af(0x163)](_0x570f8f))!=null?_0x33f254:void 0x0;}}var Un=Object[_0x12f7be(0x265)],Mn=Object[_0x12f7be(0x214)],An=(_0x23d9e9,_0x2121ab,_0x1737a9)=>_0x2121ab in _0x23d9e9?Un(_0x23d9e9,_0x2121ab,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1737a9}):_0x23d9e9[_0x2121ab]=_0x1737a9,Pn=(_0x2777e0,_0x163df9,_0x4f4a5c,_0x25e59e)=>{const _0x2a7351=_0x12f7be;for(var _0x4cf423=_0x25e59e>0x1?void 0x0:_0x25e59e?Mn(_0x163df9,_0x4f4a5c):_0x163df9,_0x6a21aa=_0x2777e0[_0x2a7351(0x1c8)]-0x1,_0x45c2ee;_0x6a21aa>=0x0;_0x6a21aa--)(_0x45c2ee=_0x2777e0[_0x6a21aa])&&(_0x4cf423=_0x45c2ee(_0x4cf423)||_0x4cf423);return _0x4cf423;},Me=(_0x54655e,_0x565622)=>(_0x23261d,_0x6c0a4a)=>_0x565622(_0x23261d,_0x6c0a4a,_0x54655e),wn=(_0x2c5d0d,_0x826b00,_0x8eb4ad)=>An(_0x2c5d0d,_0x826b00+'',_0x8eb4ad);const yn=_0x12f7be(0x28d);let Ye=class extends _0x5affa2{constructor(_0x2745df=_t,_0x4c129f,_0x1d6b10,_0x169233){const _0x27002d=_0x12f7be;super(),this[_0x27002d(0x2cc)]=_0x2745df,this[_0x27002d(0x216)]=_0x4c129f,this[_0x27002d(0x213)]=_0x1d6b10,this[_0x27002d(0x11c)]=_0x169233;const {..._0x3fb15a}=_0x537f2b({},_t,this[_0x27002d(0x2cc)]);this['_configService'][_0x27002d(0x228)](hn,_0x3fb15a);}[_0x12f7be(0x29c)](){const _0x480c28=_0x12f7be;this['_registerDependencies'](),this[_0x480c28(0x143)]();}['onRendered'](){const _0x40a492=_0x12f7be;this[_0x40a492(0x148)]();}['_registerDependencies'](){const _0x1cece9=_0x12f7be;var _0x32ef16;const _0x1165f1=[[Ke],[Ie],[de],[he],[ue],[ze],[yt,{'useClass':Ln}],[_0x333b75,{'useClass':_0x12b10a}],[_0x381fc8,{'useClass':He}],[ae],[Se],[_e],[H],[$e],[ce]];this[_0x1cece9(0x2cc)][_0x1cece9(0x23d)]&&_0x1165f1['push']([le]),_0x358fe2(this['_injector'],_0x2cd5a1(_0x1165f1,(_0x32ef16=this[_0x1cece9(0x2cc)])==null?void 0x0:_0x32ef16[_0x1cece9(0x290)]));}[_0x12f7be(0x148)](){const _0x2bb815=_0x12f7be;this[_0x2bb815(0x26c)](this[_0x2bb815(0x216)][_0x2bb815(0x142)](_0x53cd3e[_0x2bb815(0xc1)],[Fe])),this['disposeWithMe'](this[_0x2bb815(0x216)][_0x2bb815(0x142)](_0x53cd3e[_0x2bb815(0x268)],[ke]));}['_initDependencies'](){_0x48ed1d(this['_injector'],[[H],[ae],[Se],[_e],[ce],[Ie]]),this['_config']['enableFrontendLog']&&_0x48ed1d(this['_injector'],[[le]]);}};wn(Ye,'pluginName',yn),Ye=Pn([_0x1999b3(_0x2e3618),Me(0x1,_0x4ae0f1),Me(0x2,_0x3714f8(_0x24a160)),Me(0x3,_0x5a741e)],Ye);var $n=Object[_0x12f7be(0x214)],xn=(_0x5ec9b6,_0x1fe9e1,_0x9cd46f,_0x3faac8)=>{const _0x91c725=_0x12f7be;for(var _0x512be1=_0x3faac8>0x1?void 0x0:_0x3faac8?$n(_0x1fe9e1,_0x9cd46f):_0x1fe9e1,_0x2c7d9d=_0x5ec9b6[_0x91c725(0x1c8)]-0x1,_0x83ebc2;_0x2c7d9d>=0x0;_0x2c7d9d--)(_0x83ebc2=_0x5ec9b6[_0x2c7d9d])&&(_0x512be1=_0x83ebc2(_0x512be1)||_0x512be1);return _0x512be1;},J=(_0x571158,_0x4ce604)=>(_0xde1d76,_0x4dc11f)=>_0x4ce604(_0xde1d76,_0x4dc11f,_0x571158);let ut=class extends _0x5012d6{constructor(_0x13d161,_0x4431e2,_0x458750,_0x25fb50,_0x595833){super(_0x13d161,_0x4431e2,_0x458750,_0x25fb50,_0x595833);}async['createSocket'](_0x483e78){const _0x25ca96=_0x12f7be,_0x4f2a64=await this['_getSessionTicket'](),_0x7f1169=this[_0x25ca96(0xe5)](_0x483e78,_0x4f2a64);return this[_0x25ca96(0x253)](_0x7f1169);}['_createSocketURL'](_0x12fa71,_0x112ac3){const _0x48fe54=_0x12f7be,_0x89c491=typeof window>'u'?new URL(_0x12fa71):new URL(_0x12fa71,window[_0x48fe54(0x135)][_0x48fe54(0x236)]);_0x89c491['searchParams'][_0x48fe54(0x13b)](_0x48fe54(0x2e2),_0x112ac3);const _0x3426af=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x48fe54(0x135)][_0x48fe54(0x19a)]);return _0x3426af[_0x48fe54(0x163)](_0x48fe54(0x109))&&_0x89c491['searchParams'][_0x48fe54(0x13b)](_0x48fe54(0x109),_0x3426af['get'](_0x48fe54(0x109))),_0x89c491[_0x48fe54(0x20c)]();}async[_0x12f7be(0x1be)](){const _0x235cd2=_0x12f7be;var _0x2a0c43,_0x3334ff,_0x27ebe5;const _0x5f5f4a=this[_0x235cd2(0x11c)][_0x235cd2(0x221)](_0x3c1c8f),_0x14dcd5=(_0x2a0c43=_0x5f5f4a==null?void 0x0:_0x5f5f4a[_0x235cd2(0x111)])!=null?_0x2a0c43:_0x29d557;return(_0x27ebe5=(_0x3334ff=(await this[_0x235cd2(0x21e)][_0x235cd2(0x163)](_0x14dcd5,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x3334ff[_0x235cd2(0x1bd)])!=null?_0x27ebe5:'';}};ut=xn([J(0x0,_0x3714f8(_0x24a160)),J(0x1,_0x3714f8(_0x1ef343)),J(0x2,_0x5a741e),J(0x3,_0x36e10f),J(0x4,_0x479bb3)],ut);var Bn=Object['getOwnPropertyDescriptor'],Fn=(_0x4b5925,_0x287d9f,_0x12f050,_0x1f0a6c)=>{for(var _0x64dbce=_0x1f0a6c>0x1?void 0x0:_0x1f0a6c?Bn(_0x287d9f,_0x12f050):_0x287d9f,_0x56f37f=_0x4b5925['length']-0x1,_0x2d78a0;_0x56f37f>=0x0;_0x56f37f--)(_0x2d78a0=_0x4b5925[_0x56f37f])&&(_0x64dbce=_0x2d78a0(_0x64dbce)||_0x64dbce);return _0x64dbce;},Ae=(_0x37e7b2,_0x2d03e7)=>(_0x22136d,_0x5f551a)=>_0x2d03e7(_0x22136d,_0x5f551a,_0x37e7b2);let dt=class extends _0x112363{constructor(_0x28eda9,_0x57956c,_0x1b0663){const _0x221382=_0x12f7be;super(),this['_instanceService']=_0x28eda9,this[_0x221382(0x21e)]=_0x57956c,this['_configService']=_0x1b0663;}async[_0x12f7be(0x289)](_0x57130f,_0x4bc9f5,_0x70baf5,..._0x3d2c35){const _0x1aa91f=_0x12f7be;var _0x308634,_0x97a005,_0x3acb34,_0x3cde4a;const _0x276319=this[_0x1aa91f(0xc5)][_0x1aa91f(0x20d)]();if(!_0x276319)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x3c73c2=((_0x308634=this[_0x1aa91f(0x11c)]['getConfig'](_0x587df1))!=null?_0x308634:_0x499824)+'/'+_0x57130f+_0x1aa91f(0x18f)+_0x4bc9f5,_0x8c24bd=new URL(window[_0x1aa91f(0x135)][_0x1aa91f(0x14b)]),_0x37ac0c={'scriptId':_0x57130f,'runId':(_0x97a005=_0x8c24bd[_0x1aa91f(0xb4)][_0x1aa91f(0x163)](_0x1aa91f(0x109)))!=null?_0x97a005:'','function':_0x4bc9f5,'unitId':_0x276319[_0x1aa91f(0xb6)](),'argsOfFunction':JSON[_0x1aa91f(0x225)](_0x3d2c35),'invokeId':(_0x3acb34=_0x70baf5[_0x1aa91f(0x264)])!=null?_0x3acb34:'','executionId':(_0x3cde4a=_0x70baf5[_0x1aa91f(0x223)])!=null?_0x3cde4a:''};try{const _0x3930b7=await this[_0x1aa91f(0x21e)]['post'](_0x3c73c2,{'body':_0x37ac0c});return _0x3930b7[_0x1aa91f(0x115)][_0x1aa91f(0x2d5)]&&_0x3930b7['body']['error'][_0x1aa91f(0xfd)]!==Z['OK']?'Failed':_0x3930b7[_0x1aa91f(0x115)]['result'];}catch{return _0x1aa91f(0x1a2);}}};dt=Fn([Ae(0x0,_0x52d51e),Ae(0x1,_0x3714f8(_0x1ef343)),Ae(0x2,_0x5a741e)],dt);const St=0x7530,It='ACTIVE_UNIT_EVENT_CHANNEL';class rr extends _0x112363{constructor(){const _0x6ac7a8=_0x12f7be;super(),_(this,_0x6ac7a8(0x139),_0x28ef98()),_(this,'_selfUnitIDs',new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x6ac7a8(0x179),null),_(this,'_clearOtherTimers',new Map()),_(this,_0x6ac7a8(0x26f),new Map()),this['_init']();}[_0x12f7be(0x2e8)](){const _0x5c8468=_0x12f7be;super[_0x5c8468(0x2e8)](),this[_0x5c8468(0xde)][_0x5c8468(0x275)]((_0x229190,_0x2369a4)=>this['_removeClearOtherTimer'](_0x2369a4)),this[_0x5c8468(0x179)]&&window['clearInterval'](this[_0x5c8468(0x179)]);}[_0x12f7be(0x147)](_0x44ddaa){const _0x5e6bf6=_0x12f7be;return this[_0x5e6bf6(0x257)](_0x44ddaa)[_0x5e6bf6(0x1c3)](_0x332830());}['editingUnit'](_0xf0c331){const _0x2ee02c=_0x12f7be;this[_0x2ee02c(0x2af)][_0x2ee02c(0x29b)]===0x0&&this[_0x2ee02c(0x28c)](),this[_0x2ee02c(0x2af)]['add'](_0xf0c331),this['_send']({'type':0x0,'memberID':this[_0x2ee02c(0x139)],'unitIDs':[_0xf0c331],'isForwarded':!0x1});}[_0x12f7be(0x2a7)](_0x4b962b){const _0x53511a=_0x12f7be;this[_0x53511a(0x2af)][_0x53511a(0x1a0)](_0x4b962b),this[_0x53511a(0x2af)][_0x53511a(0x29b)]===0x0&&this['_heartbeatTimer']&&window[_0x53511a(0x234)](this[_0x53511a(0x179)]);}[_0x12f7be(0x279)](){const _0x5016f9=_0x12f7be;this[_0x5016f9(0x26c)](_0x16c8e4(_0x45269d(window,'storage')['subscribe'](_0x2b5c0a=>{const _0x547334=_0x5016f9;if(_0x2b5c0a[_0x547334(0xca)]!==It||!_0x2b5c0a['newValue'])return;const _0xb9fc0=JSON[_0x547334(0x287)](_0x2b5c0a['newValue']);this[_0x547334(0x285)](_0xb9fc0);}))),window[_0x5016f9(0x176)](_0x5016f9(0x2bd),()=>this[_0x5016f9(0x29a)]({'type':0x1,'memberID':this[_0x5016f9(0x139)],'unitIDs':Array[_0x5016f9(0x1cc)](this[_0x5016f9(0x2af)])}));}[_0x12f7be(0x285)](_0x5f563d){const _0x1b5825=_0x12f7be;switch(_0x5f563d[_0x1b5825(0x16d)]){case 0x0:this[_0x1b5825(0xe1)](_0x5f563d);break;case 0x1:this[_0x1b5825(0xcf)](_0x5f563d);break;case 0x2:this[_0x1b5825(0x1e1)](_0x5f563d);break;}}[_0x12f7be(0xe1)](_0x15cda1){const _0x3c1b12=_0x12f7be,{unitIDs:_0x1be19e,memberID:_0x53f9d9,isForwarded:_0x4c6bac}=_0x15cda1;_0x1be19e[_0x3c1b12(0x275)](_0x41c3d2=>{const _0x102b47=_0x3c1b12;if(!_0x4c6bac&&this[_0x102b47(0x2ad)][_0x102b47(0x201)](_0x41c3d2)&&this['_ensureSubject'](_0x41c3d2)[_0x102b47(0xe6)](_0x4d3796[_0x102b47(0x1ea)]),!this[_0x102b47(0x2ad)][_0x102b47(0x201)](_0x41c3d2)||!this['_unitOnClients'][_0x102b47(0x163)](_0x41c3d2)['has'](_0x53f9d9)){const _0x2c8316=this[_0x102b47(0x2ad)]['get'](_0x41c3d2)||new Set();_0x2c8316[_0x102b47(0x1ad)](_0x53f9d9),this[_0x102b47(0x2ad)]['set'](_0x41c3d2,_0x2c8316),this[_0x102b47(0x1ca)](_0x53f9d9);}}),_0x4c6bac||this[_0x3c1b12(0x29a)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x3c1b12(0x2af)]],'isForwarded':!0x0});}[_0x12f7be(0x1ca)](_0x24e921){const _0x45759d=_0x12f7be;this[_0x45759d(0x2ba)](_0x24e921);const _0x5e7438=window[_0x45759d(0x19d)](()=>{const _0x11bfe8=_0x45759d;this[_0x11bfe8(0x2ad)][_0x11bfe8(0x275)](_0x4e3799=>{const _0xb997ce=_0x11bfe8;_0x4e3799[_0xb997ce(0x1a0)](_0x24e921);});},St*0x2);this[_0x45759d(0xde)][_0x45759d(0x13b)](_0x24e921,_0x5e7438);}['_removeClearOtherTimer'](_0x3fb607){const _0x5c4762=_0x12f7be;if(this['_clearOtherTimers'][_0x5c4762(0x201)](_0x3fb607)){const _0x1797b8=this['_clearOtherTimers'][_0x5c4762(0x163)](_0x3fb607);_0x1797b8&&window['clearTimeout'](_0x1797b8),this[_0x5c4762(0xde)][_0x5c4762(0x13b)](_0x3fb607,null);}}[_0x12f7be(0xcf)](_0x220899){const _0x4e4a9e=_0x12f7be,{memberID:_0x843458,unitIDs:_0x47c0b6}=_0x220899;_0x47c0b6['forEach'](_0x334ee0=>{const _0x11a69f=_0x473f;var _0x3e8db5;const _0x389c9c=this[_0x11a69f(0x2ad)][_0x11a69f(0x163)](_0x334ee0);_0x389c9c&&(_0x389c9c[_0x11a69f(0x1a0)](_0x843458),(_0x3e8db5=this[_0x11a69f(0x257)](_0x334ee0))==null||_0x3e8db5[_0x11a69f(0xe6)](_0x389c9c['size']===0x0?_0x4d3796[_0x11a69f(0x2c8)]:_0x4d3796[_0x11a69f(0x1ea)]));}),this[_0x4e4a9e(0x2ba)](_0x843458);}['_handleHeartbeatEvent'](_0x86756b){const _0xbef987=_0x12f7be;this[_0xbef987(0x1ca)](_0x86756b[_0xbef987(0x2ab)]);}[_0x12f7be(0x29a)](_0x46a942){const _0xfa8e1a=_0x12f7be;localStorage[_0xfa8e1a(0x1e5)](It,JSON[_0xfa8e1a(0x225)](_0x46a942));}['_scheduleHeartbeat'](){const _0x6a935=_0x12f7be;this['_heartbeatTimer']=window[_0x6a935(0xf9)](()=>{const _0x6aff8a=_0x6a935;this['_send']({'type':0x2,'memberID':this[_0x6aff8a(0x139)]});},St);}[_0x12f7be(0x257)](_0x499234){const _0x3c2c4d=_0x12f7be;return this[_0x3c2c4d(0x26f)][_0x3c2c4d(0x201)](_0x499234)||this[_0x3c2c4d(0x26f)]['set'](_0x499234,new _0x51f523(_0x4d3796[_0x3c2c4d(0x2c8)])),this['_unitStatus'][_0x3c2c4d(0x163)](_0x499234);}}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 _0x30d5ae=_0x23c8;(function(_0x446e2e,_0x311f7a){const _0x36aca6=_0x23c8,_0x538152=_0x446e2e();while(!![]){try{const _0x56fbae=parseInt(_0x36aca6(0x27a))/0x1+parseInt(_0x36aca6(0x183))/0x2+parseInt(_0x36aca6(0x1ab))/0x3*(-parseInt(_0x36aca6(0x169))/0x4)+parseInt(_0x36aca6(0x328))/0x5+parseInt(_0x36aca6(0x195))/0x6*(parseInt(_0x36aca6(0x374))/0x7)+parseInt(_0x36aca6(0x383))/0x8+parseInt(_0x36aca6(0x1d9))/0x9*(-parseInt(_0x36aca6(0x351))/0xa);if(_0x56fbae===_0x311f7a)break;else _0x538152['push'](_0x538152['shift']());}catch(_0x4959e3){_0x538152['push'](_0x538152['shift']());}}}(_0x34b1,0xdf835));var Yt=Object[_0x30d5ae(0x215)],Wt=(_0x23fe5a,_0x205b52,_0x8a6e5a)=>_0x205b52 in _0x23fe5a?Yt(_0x23fe5a,_0x205b52,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x8a6e5a}):_0x23fe5a[_0x205b52]=_0x8a6e5a,_=(_0xefb18,_0x5b0e99,_0x2fc728)=>Wt(_0xefb18,typeof _0x5b0e99!='symbol'?_0x5b0e99+'':_0x5b0e99,_0x2fc728);import{jsx as _0x41810f,jsxs as _0x118212}from'react/jsx-runtime';import{CollaborationStatus as _0x555c2c,CollaborationSessionService as _0x90a824,CollaborationController as _0x366818,DataLoaderService as _0x50b744,MemberService as _0x2e1724,SessionStatus as _0x43e6e0,ILocalCacheService as _0x48babe,CollaborationUIEventService as _0x5f2ab7,CollaborationUIEventId as _0x347b0f,DocCollaborationEntity as _0x2afc30,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x44ed78,getLocalCacheKey as _0x16813b,LOCAL_CACHE_INTERVAL as _0x437e1e,LOCAL_CACHE_INTERVAL_KEY as _0x12185e,UniverCollaborationClientPlugin as _0x1c32fa,CollaborationSocketService as _0x464ff2,DEFAULT_WS_SESSION_TICKET_URL as _0x312763,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x5054a6,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x524947,UnitStatus as _0x5ed75f}from'@univerjs-pro/collaboration-client';import{LocaleService as _0xfbc0e7,IUniverInstanceService as _0x378c7f,Inject as _0x222181,Injector as _0x5c2372,Disposable as _0x2b1774,createIdentifier as _0xda333f,ILogService as _0x2b507f,ICommandService as _0x271cee,Optional as _0x5e2d79,RxDisposable as _0x5e4f80,Workbook as _0x590a68,DOC_RANGE_TYPE as _0x120f2f,debounce as _0x4c7f2c,Rectangle as _0x197cd6,DisposableCollection as _0x27de72,toDisposable as _0x31bc29,UniverInstanceType as _0xba2a08,generateRandomId as _0x2e90e1,COLORS as _0x2d346f,ColorKit as _0x28c57e,ThemeService as _0x3d07e7,fromEventSubject as _0x481707,Tools as _0x135a99,CommandType as _0x5139cf,IConfigService as _0x8b7829,CanceledError as _0x39d40d,isFormulaString as _0x521569,isFormulaId as _0x30c775,ILocalStorageService as _0x55f11e,DependentOn as _0x4a3f9a,Plugin as _0x3402af,merge as _0x28ff57,registerDependencies as _0x4405f2,mergeOverrideWithDependencies as _0x382ef4,touchDependencies as _0x3c3252}from'@univerjs/core';import{useObservable as _0x4bc266,useDependency as _0x292f46,IUIPartsService as _0xebe2a1,BuiltInUIPart as _0x5f4eda,connectInjector as _0x10a82e,IBeforeCloseService as _0x7b0eaa,IMessageService as _0x1fa26b,INotificationService as _0xe43240}from'@univerjs/ui';import{BehaviorSubject as _0x2eea28,switchMap as _0x5d8fb1,of as _0x5cdfe4,takeUntil as _0x9a62f4,debounceTime as _0x402ed0,Subject as _0x6d42f4,filter as _0x62bf18,merge as _0x36e4a9,combineLatest as _0x22eb42,fromEvent as _0x533b07,shareReplay as _0x1616a5,mapTo as _0x6d39b,distinctUntilChanged as _0x4a33f0}from'rxjs';import{Tooltip as _0x27df07,clsx as _0x310a78,MessageType as _0x220839}from'@univerjs/design';import{useRef as _0x45d879,createElement as _0x33309,forwardRef as _0x53576f,useCallback as _0x133545}from'react';import{IRemoteInstanceService as _0x5a51ac}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x48254f,RefRangeService as _0x100f4b,SetSelectionsOperation as _0x2e23ac,SheetsSelectionsService as _0x4d867f,EffectRefRangId as _0x32ac42,handleIRemoveRow as _0x15e9ff,handleIRemoveCol as _0x99727e,handleMoveRange as _0xcacc45,handleInsertRow as _0x41ec95,handleInsertRangeMoveRight as _0x395ccc,handleInsertRangeMoveDown as _0x2871ee,handleInsertCol as _0x3f3780,handleDeleteRangeMoveUp as _0x2eee1f,handleDeleteRangeMoveLeft as _0x2bcecc,runRefRangeMutations as _0xea9e44}from'@univerjs/sheets';import{Shape as _0x4c57c5,Rect as _0xdd23c7,getColor as _0x4b0183,RegularPolygon as _0x4b5fc3,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x3b9147,Vector2 as _0xc5c427,SHEET_VIEWPORT_KEY as _0x389a38,IRenderManagerService as _0x1695e4}from'@univerjs/engine-render';import{HTTPService as _0x56d4bc,ISocketService as _0x251505,WebSocketService as _0x430f47}from'@univerjs/network';import{IDocClipboardService as _0x4c0572,NodePositionConvertToCursor as _0x248ed8,NodePositionConvertToRectRange as _0x7207ce,TEXT_RANGE_LAYER_INDEX as _0x20be3a,SetDocZoomRatioOperation as _0x2c4471,DocIMEInputManagerService as _0x3eb2f8,DocStateChangeManagerService as _0x4221a5}from'@univerjs/docs-ui';import{IImageIoService as _0x336789}from'@univerjs/drawing';import{ITransformService as _0x1dc34f,CollaborationEvent as _0x592c97,isTransformMutationFailure as _0x195bf6,isTransformMutationsWithChangesetSuccess as _0x19e129,RevisionService as _0x58174f,ISnapshotServerService as _0x509191}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x320aa0,RichTextEditingMutation as _0x322bfa,DocSelectionManagerService as _0x1bbf56,DocSkeletonManagerService as _0x161dc1}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x11478e,serializeRangeWithSheet as _0x2bb9d3,FormulaExecuteStageType as _0x26130c,FormulaExecutedStateType as _0x3c9077,SetFormulaCalculationStartMutation as _0x3c9b39,SetFormulaCalculationNotificationMutation as _0xf19c0c}from'@univerjs/engine-formula';import{map as _0x59419b,filter as _0x3c921b,throttleTime as _0x56a0cc,takeUntil as _0x2fc8e5,switchMap as _0xa98073}from'rxjs/operators';import{SheetSkeletonManagerService as _0xe45214,getCoordByCell as _0x41d966,getSheetObject as _0x957042}from'@univerjs/sheets-ui';function Ge({ref:_0x481b70,..._0x34e044}){const _0x200e83=_0x30d5ae,{icon:_0x5614a4,id:_0x1e4e6c,className:_0x52de53,extend:_0x3f3140,..._0x207305}=_0x34e044,_0x2d7b2b=('univerjs-icon\x20univerjs-icon-'+_0x1e4e6c+'\x20'+(_0x52de53||''))[_0x200e83(0x2db)](),_0x5ac155=_0x45d879('_'+vi());return At(_0x5614a4,''+_0x1e4e6c,{'defIds':_0x5614a4[_0x200e83(0x1a3)],'idSuffix':_0x5ac155[_0x200e83(0x366)]},{'ref':_0x481b70,'className':_0x2d7b2b,..._0x207305},_0x3f3140);}function At(_0x4154d5,_0x20929c,_0x4990cb,_0x5e6da6,_0x4c9629){const _0x1c6242=_0x30d5ae;return _0x33309(_0x4154d5[_0x1c6242(0x2a2)],{'key':_0x20929c,...gi(_0x4154d5,_0x4990cb,_0x4c9629),..._0x5e6da6},(Ei(_0x4154d5,_0x4990cb)[_0x1c6242(0x21f)]||[])[_0x1c6242(0x27b)]((_0x3e7cfd,_0x7d4d38)=>At(_0x3e7cfd,_0x20929c+'-'+_0x4154d5[_0x1c6242(0x2a2)]+'-'+_0x7d4d38,_0x4990cb,void 0x0,_0x4c9629)));}function gi(_0x4f6885,_0x529d4f,_0x3196b5){const _0x51498a=_0x30d5ae,_0x15c3f3={..._0x4f6885[_0x51498a(0x18a)]};_0x3196b5!=null&&_0x3196b5[_0x51498a(0x27f)]&&_0x15c3f3[_0x51498a(0x316)]==='colorChannel1'&&(_0x15c3f3[_0x51498a(0x316)]=_0x3196b5[_0x51498a(0x27f)]),_0x4f6885['tag']===_0x51498a(0x1f7)&&_0x15c3f3['id']&&(_0x15c3f3['id']=_0x15c3f3['id']+_0x529d4f[_0x51498a(0x31c)]),Object[_0x51498a(0x37b)](_0x15c3f3)['forEach'](([_0x557f7e,_0x265482])=>{const _0x410bd2=_0x51498a;_0x557f7e===_0x410bd2(0x1f7)&&typeof _0x265482==_0x410bd2(0x368)&&(_0x15c3f3[_0x557f7e]=_0x265482[_0x410bd2(0x32f)](/url\(#(.*)\)/,'url(#$1'+_0x529d4f[_0x410bd2(0x31c)]+')'));});const {defIds:_0xf688ec}=_0x529d4f;return!_0xf688ec||_0xf688ec['length']===0x0||(_0x4f6885[_0x51498a(0x2a2)]===_0x51498a(0x360)&&_0x15c3f3['xlink:href']&&(_0x15c3f3[_0x51498a(0x31a)]=_0x15c3f3[_0x51498a(0x31a)]+_0x529d4f[_0x51498a(0x31c)]),Object[_0x51498a(0x37b)](_0x15c3f3)[_0x51498a(0x333)](([_0x58e11f,_0x35eda7])=>{const _0x5e582f=_0x51498a;typeof _0x35eda7==_0x5e582f(0x368)&&(_0x15c3f3[_0x58e11f]=_0x35eda7[_0x5e582f(0x32f)](/url\(#(.*)\)/,_0x5e582f(0x16c)+_0x529d4f[_0x5e582f(0x31c)]+')'));})),_0x15c3f3;}function Ei(_0x92e789,_0x16ff56){const _0x1cea48=_0x30d5ae;var _0x25cd55;const {defIds:_0x135792}=_0x16ff56;return!_0x135792||_0x135792[_0x1cea48(0x1e2)]===0x0?_0x92e789:_0x92e789[_0x1cea48(0x2a2)]===_0x1cea48(0x388)&&((_0x25cd55=_0x92e789[_0x1cea48(0x21f)])!=null&&_0x25cd55[_0x1cea48(0x1e2)])?{..._0x92e789,'children':_0x92e789[_0x1cea48(0x21f)][_0x1cea48(0x27b)](_0x1c8afe=>typeof _0x1c8afe[_0x1cea48(0x18a)]['id']=='string'&&_0x135792&&_0x135792['includes'](_0x1c8afe['attrs']['id'])?{..._0x1c8afe,'attrs':{..._0x1c8afe[_0x1cea48(0x18a)],'id':_0x1c8afe['attrs']['id']+_0x16ff56[_0x1cea48(0x31c)]}}:_0x1c8afe)}:_0x92e789;}function vi(){const _0x3f85c9=_0x30d5ae;return Math[_0x3f85c9(0x24f)]()[_0x3f85c9(0x2f1)](0x24)['substring'](0x2,0x8);}Ge[_0x30d5ae(0x1da)]=_0x30d5ae(0x1d4);const pi={'tag':_0x30d5ae(0x1de),'attrs':{'xmlns':_0x30d5ae(0x1f3),'fill':_0x30d5ae(0x2f0),'viewBox':_0x30d5ae(0x302),'width':'1em','height':_0x30d5ae(0x1b7)},'children':[{'tag':'g','attrs':{'clipPath':_0x30d5ae(0x2a6)},'children':[{'tag':_0x30d5ae(0x22b),'attrs':{'stroke':'currentColor','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':_0x30d5ae(0x178),'strokeLinejoin':_0x30d5ae(0x178),'strokeWidth':1.2}}]},{'tag':_0x30d5ae(0x388),'attrs':{},'children':[{'tag':_0x30d5ae(0x309),'attrs':{'id':_0x30d5ae(0x373)},'children':[{'tag':_0x30d5ae(0x22b),'attrs':{'fill':'white','d':_0x30d5ae(0x22e)}}]}]}],'defIds':[_0x30d5ae(0x373)]},Pt=_0x53576f(function(_0x541db1,_0x5dcdbc){const _0x25a747=_0x30d5ae;return _0x33309(Ge,Object[_0x25a747(0x364)]({},_0x541db1,{'id':_0x25a747(0x241),'ref':_0x5dcdbc,'icon':pi}));});Pt[_0x30d5ae(0x1da)]='OffLineIcon';const Oi={'tag':'svg','attrs':{'xmlns':_0x30d5ae(0x1f3),'fill':_0x30d5ae(0x2f0),'viewBox':_0x30d5ae(0x21e),'width':_0x30d5ae(0x1b7),'height':_0x30d5ae(0x1b7)},'children':[{'tag':'g','attrs':{'clipPath':_0x30d5ae(0x1bd)},'children':[{'tag':_0x30d5ae(0x22b),'attrs':{'stroke':'currentColor','d':_0x30d5ae(0x1d8),'strokeLinecap':'round','strokeLinejoin':_0x30d5ae(0x178),'strokeWidth':1.2}}]},{'tag':_0x30d5ae(0x388),'attrs':{},'children':[{'tag':_0x30d5ae(0x309),'attrs':{'id':_0x30d5ae(0x180)},'children':[{'tag':'path','attrs':{'fill':_0x30d5ae(0x2d8),'d':_0x30d5ae(0x22e),'transform':'translate(.97)'}}]}]}],'defIds':[_0x30d5ae(0x180)]},wt=_0x53576f(function(_0x21e9d9,_0x569f14){return _0x33309(Ge,Object['assign']({},_0x21e9d9,{'id':'on-line-icon','ref':_0x569f14,'icon':Oi}));});wt[_0x30d5ae(0x1da)]=_0x30d5ae(0x343);function Ti(_0x5a398a){const _0x242201=_0x30d5ae;switch(_0x5a398a){case _0x555c2c['OFFLINE']:return'collabStatus.offline';case _0x555c2c['CONFLICT']:return _0x242201(0x352);case _0x555c2c['FETCH_MISS']:return _0x242201(0x28d);case _0x555c2c['NOT_COLLAB']:return _0x242201(0x18e);case _0x555c2c[_0x242201(0x230)]:case _0x555c2c[_0x242201(0x380)]:return'collabStatus.syncing';case _0x555c2c[_0x242201(0x28a)]:case _0x555c2c[_0x242201(0x224)]:return _0x242201(0x1ae);}}function Ci(_0x12ee73){const _0x5ab6e4=_0x30d5ae,{status$:_0x19e90d}=_0x12ee73,_0x1275b7=_0x4bc266(_0x19e90d,_0x555c2c['NOT_COLLAB']),_0x56eb29=_0x292f46(_0xfbc0e7),_0x5c6140=_0x292f46(_0x90a824),_0x5ac426=_0x1275b7!==_0x555c2c['OFFLINE'],_0x31cef0=_0x56eb29['t'](Ti(_0x1275b7)),_0x4d91e4=_0x5ac426?_0x41810f(wt,{}):_0x41810f(Pt,{}),_0x53d15f=_0x133545(()=>{_0x5ac426||_0x5c6140['reconnect']();},[_0x5ac426,_0x5c6140]);function _0x30403c(){const _0xb26d82=_0x23c8;return _0x118212(_0xb26d82(0x1b3),{'className':_0xb26d82(0x184),'onClick':_0x53d15f,'children':[_0x41810f(_0xb26d82(0x1b3),{'className':_0x310a78(_0xb26d82(0x249),{'univer-text-green-500':_0x5ac426,'univer-text-red-500':!_0x5ac426}),'children':_0x4d91e4}),_0x41810f(_0xb26d82(0x1b3),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x31cef0})]});}return _0x5ac426?_0x30403c():_0x41810f(_0x27df07,{'title':_0x56eb29['t'](_0x5ab6e4(0x176)),'children':_0x30403c()});}var Ri=Object[_0x30d5ae(0x1b6)],Di=(_0x4f3f6b,_0xc22b1c,_0x50e00b,_0x5602b4)=>{for(var _0x37cf9a=_0x5602b4>0x1?void 0x0:_0x5602b4?Ri(_0xc22b1c,_0x50e00b):_0xc22b1c,_0x373743=_0x4f3f6b['length']-0x1,_0x59045a;_0x373743>=0x0;_0x373743--)(_0x59045a=_0x4f3f6b[_0x373743])&&(_0x37cf9a=_0x59045a(_0x37cf9a)||_0x37cf9a);return _0x37cf9a;},se=(_0x164a80,_0x4aa674)=>(_0xb36fe2,_0xf20d7e)=>_0x4aa674(_0xb36fe2,_0xf20d7e,_0x164a80);let ae=class extends _0x2b1774{constructor(_0x484245,_0x29317a,_0x5356be,_0x1b0923){const _0x47759c=_0x30d5ae;super(),_(this,_0x47759c(0x2e3),new _0x2eea28(_0x555c2c['NOT_COLLAB'])),(this[_0x47759c(0x32c)]=_0x484245,this[_0x47759c(0x1e4)]=_0x29317a,this[_0x47759c(0x1e9)]=_0x5356be,this[_0x47759c(0x29e)]=_0x1b0923,this[_0x47759c(0x16f)](),this[_0x47759c(0x38d)]());}[_0x30d5ae(0x38d)](){const _0x81132a=_0x30d5ae;this['disposeWithMe'](this[_0x81132a(0x32c)][_0x81132a(0x274)][_0x81132a(0x27e)](_0x5d8fb1(()=>{const _0xcf1a03=_0x81132a,_0x255562=this[_0xcf1a03(0x32c)][_0xcf1a03(0x1f5)]();return _0x255562?this[_0xcf1a03(0x1e9)][_0xcf1a03(0x218)](_0x255562[_0xcf1a03(0x3a0)]()):_0x5cdfe4(null);}),_0x5d8fb1(_0x594f92=>_0x594f92?_0x594f92[_0x81132a(0x38b)]:_0x5cdfe4(_0x555c2c[_0x81132a(0x1bb)])))[_0x81132a(0x21b)](_0xeaf535=>{const _0x22f72b=_0x81132a;this[_0x22f72b(0x2e3)][_0x22f72b(0x32e)](_0xeaf535);}));}[_0x30d5ae(0x16f)](){const _0x3a041a=_0x30d5ae;this['disposeWithMe'](this[_0x3a041a(0x29e)]['registerComponent'](_0x5f4eda['HEADER_MENU'],()=>_0x10a82e(Ni({'status$':this['_status$'][_0x3a041a(0x285)]()}),this[_0x3a041a(0x1e4)])));}};ae=Di([se(0x0,_0x378c7f),se(0x1,_0x222181(_0x5c2372)),se(0x2,_0x222181(_0x366818)),se(0x3,_0xebe2a1)],ae);function Ni(_0x2be280){const {status$:_0x59e55f}=_0x2be280;return function(){return _0x41810f(Ci,{'status$':_0x59e55f});};}const yt=_0xda333f(_0x30d5ae(0x23a));var bi=Object[_0x30d5ae(0x1b6)],Li=(_0x4507f6,_0x4e60dd,_0x5ade1e,_0x563f0e)=>{const _0x3b6a3d=_0x30d5ae;for(var _0x21b5dc=_0x563f0e>0x1?void 0x0:_0x563f0e?bi(_0x4e60dd,_0x5ade1e):_0x4e60dd,_0x31bda3=_0x4507f6[_0x3b6a3d(0x1e2)]-0x1,_0x2bee03;_0x31bda3>=0x0;_0x31bda3--)(_0x2bee03=_0x4507f6[_0x31bda3])&&(_0x21b5dc=_0x2bee03(_0x21b5dc)||_0x21b5dc);return _0x21b5dc;},K=(_0x2c81aa,_0xcd7014)=>(_0xceb337,_0x186214)=>_0xcd7014(_0xceb337,_0x186214,_0x2c81aa);let ce=class extends _0x5e4f80{constructor(_0x4980b4,_0x3667a7,_0x6b39bb,_0x51fe60,_0x5f24f7){const _0x33b768=_0x30d5ae;super(),this[_0x33b768(0x288)]=_0x4980b4,this['_logService']=_0x3667a7,this[_0x33b768(0x39a)]=_0x6b39bb,this['_dataLoaderService']=_0x51fe60,_0x5f24f7?_0x5f24f7==null||_0x5f24f7[_0x33b768(0x35f)]()[_0x33b768(0x1a9)](()=>this[_0x33b768(0x30d)]()):(this[_0x33b768(0x33c)][_0x33b768(0x2de)](_0x33b768(0x300),_0x33b768(0x2ed)),this['_init']());}async[_0x30d5ae(0x30d)](){const _0x6c6de8=_0x30d5ae,_0x521bae=this[_0x6c6de8(0x288)]['getParam'](_0x6c6de8(0x2bf)),_0x36e71f=this[_0x6c6de8(0x288)][_0x6c6de8(0x308)](_0x6c6de8(0x2a5)),_0x384feb=this[_0x6c6de8(0x288)][_0x6c6de8(0x308)](_0x6c6de8(0x335));if(!_0x521bae||!_0x36e71f){this[_0x6c6de8(0x33c)][_0x6c6de8(0x2de)]('[CollaborationDataLoaderController]',_0x6c6de8(0x35e));return;}const _0x39a37f=await this[_0x6c6de8(0x16a)][_0x6c6de8(0x35c)](_0x521bae,Number(_0x36e71f),_0x384feb);_0x39a37f&&_0x39a37f instanceof _0x590a68&&this[_0x6c6de8(0x2cc)](_0x39a37f);}async[_0x30d5ae(0x2cc)](_0x3ee726){const _0x33336b=_0x30d5ae;await this['_updateSubUnitFromURLParams'](_0x3ee726),_0x3ee726[_0x33336b(0x318)][_0x33336b(0x27e)](_0x9a62f4(this[_0x33336b(0x392)]))[_0x33336b(0x21b)](_0x4048f7=>{const _0x5eb3b4=_0x33336b;_0x4048f7&&this[_0x5eb3b4(0x347)](_0x4048f7);}),this[_0x33336b(0x288)]['urlChange$'][_0x33336b(0x27e)](_0x9a62f4(this['dispose$']))['subscribe'](()=>this[_0x33336b(0x396)](_0x3ee726));}[_0x30d5ae(0x347)](_0x31cdcf,_0x7c0132=!0x1){const _0x220e83=_0x30d5ae,_0x3afb99=this[_0x220e83(0x288)][_0x220e83(0x308)](_0x220e83(0x335));_0x31cdcf[_0x220e83(0x1c9)]()!==_0x3afb99&&this[_0x220e83(0x288)][_0x220e83(0x30a)]('subunit',_0x31cdcf[_0x220e83(0x1c9)](),_0x7c0132);}async['_updateSubUnitFromURLParams'](_0x47f6da){const _0x3d537d=_0x30d5ae;var _0xd4fd2c;const _0x5b605c=this[_0x3d537d(0x288)][_0x3d537d(0x308)](_0x3d537d(0x335));if(!_0x5b605c||!_0x47f6da[_0x3d537d(0x31b)](_0x5b605c)){const _0x5750a3=_0x47f6da[_0x3d537d(0x226)]()[0x0],_0x14e1d1=_0x47f6da[_0x3d537d(0x31b)](_0x5750a3);if(!_0x14e1d1)return;this[_0x3d537d(0x347)](_0x14e1d1,!0x0),await this[_0x3d537d(0x39a)]['executeCommand'](_0x48254f['id'],{'unitId':_0x47f6da[_0x3d537d(0x3a0)](),'subUnitId':_0x5750a3});return;}((_0xd4fd2c=_0x47f6da['getActiveSheet']())==null?void 0x0:_0xd4fd2c[_0x3d537d(0x1c9)]())!==_0x5b605c&&await this[_0x3d537d(0x39a)][_0x3d537d(0x31e)](_0x48254f['id'],{'unitId':_0x47f6da[_0x3d537d(0x3a0)](),'subUnitId':_0x5b605c});}};ce=Li([K(0x0,yt),K(0x1,_0x2b507f),K(0x2,_0x271cee),K(0x3,_0x222181(_0x50b744)),K(0x4,_0x5e2d79(_0x5a51ac))],ce);var Ui=Object[_0x30d5ae(0x1b6)],Mi=(_0x14aef9,_0x5bc1c0,_0x30edb0,_0x1ed6a9)=>{const _0x3ed809=_0x30d5ae;for(var _0x112ce2=_0x1ed6a9>0x1?void 0x0:_0x1ed6a9?Ui(_0x5bc1c0,_0x30edb0):_0x5bc1c0,_0x3cae53=_0x14aef9[_0x3ed809(0x1e2)]-0x1,_0x2f05b8;_0x3cae53>=0x0;_0x3cae53--)(_0x2f05b8=_0x14aef9[_0x3cae53])&&(_0x112ce2=_0x2f05b8(_0x112ce2)||_0x112ce2);return _0x112ce2;},rt=(_0x6190d9,_0x4ba17a)=>(_0x92a204,_0x342455)=>_0x4ba17a(_0x92a204,_0x342455,_0x6190d9);let $e=class extends _0x5e4f80{constructor(_0x59d79b,_0x1c5bcf){const _0x2bffb0=_0x30d5ae;super(),this['_docClipboardService']=_0x59d79b,this['_imageIoService']=_0x1c5bcf,this[_0x2bffb0(0x30d)]();}['_init'](){const _0x56b0d7=_0x30d5ae,_0x189474=this;this[_0x56b0d7(0x3a2)](this[_0x56b0d7(0x187)][_0x56b0d7(0x378)]({'onBeforePasteImage':async _0x6db703=>{const _0x50a00e=_0x56b0d7,_0x504f88=await _0x189474[_0x50a00e(0x32a)]['saveImage'](_0x6db703);return _0x504f88?{'source':_0x504f88['source'],'imageSourceType':_0x504f88[_0x50a00e(0x3b1)]}:null;}}));}};$e=Mi([rt(0x0,_0x4c0572),rt(0x1,_0x336789)],$e);const ot=[_0x30d5ae(0x1bc),_0x30d5ae(0x2c4),_0x30d5ae(0x282),_0x30d5ae(0x358),_0x30d5ae(0x38f),'yellow.400'];class Ke extends _0x2b1774{constructor(){const _0x23c371=_0x30d5ae;super(...arguments),_(this,'_assignedColors',new Map()),_(this,_0x23c371(0x213),0x0);}['assignAColorForMemberID'](_0x51413e){const _0x18a0bd=_0x30d5ae;if(this['_assignedColors'][_0x18a0bd(0x1a1)](_0x51413e))return this[_0x18a0bd(0x185)][_0x18a0bd(0x2e1)](_0x51413e);const _0x12c6a6=ot[this[_0x18a0bd(0x213)]];return this[_0x18a0bd(0x213)]=(this[_0x18a0bd(0x213)]+0x1)%ot['length'],this[_0x18a0bd(0x185)][_0x18a0bd(0x2f6)](_0x51413e,_0x12c6a6),_0x12c6a6;}}function $t(_0x38aaad){let _0x308fe1='';for(const _0x542771 of _0x38aaad){const {startOffset:_0x30ae4,endOffset:_0x4cf10a,isActive:_0x1a876a,rangeType:_0x234f1d,segmentId:_0x1d10cb,segmentPage:_0x704dc4}=_0x542771;_0x308fe1['length']&&(_0x308fe1+=','),_0x308fe1+=_0x30ae4+':'+_0x4cf10a+':'+(_0x1a876a?'1':'0')+':'+_0x234f1d+':'+_0x1d10cb+':'+_0x704dc4;}return _0x308fe1;}function Ai(_0x10e613){const _0x185266=_0x30d5ae,_0x73cb75=_0x10e613[_0x185266(0x28e)](','),_0x3f5421=[];for(const _0x29a352 of _0x73cb75){const [_0x10dc7c,_0x3bd4b9,_0x39b3a6,_0x32c12f,_0x2fbe4c,_0x8de45]=_0x29a352['split'](':');_0x3f5421['push']({'startOffset':Number(_0x10dc7c),'endOffset':Number(_0x3bd4b9),'collapsed':_0x10dc7c===_0x3bd4b9,'isActive':_0x39b3a6==='1','rangeType':_0x32c12f===_0x120f2f[_0x185266(0x1c3)]?_0x120f2f[_0x185266(0x1c3)]:_0x120f2f[_0x185266(0x267)],'segmentId':typeof _0x2fbe4c=='string'?String(_0x2fbe4c):'','segmentPage':Number(_0x8de45!=null?_0x8de45:-0x1)});}return _0x3f5421[_0x185266(0x32b)](_0x472156=>_0x472156[_0x185266(0x287)])||(_0x3f5421[0x0]['isActive']=!0x0),_0x3f5421;}class ze extends _0x5e4f80{constructor(){const _0x697c36=_0x30d5ae;super(...arguments),_(this,_0x697c36(0x22d),new _0x2eea28(null)),_(this,'collabCursorState$',this['_collabCursorState$'][_0x697c36(0x285)]());}['syncEditingCollabCursor'](_0x4318b4){const _0x504016=_0x30d5ae,{unitID:_0x46978a,memberID:_0xd1cac3,textRanges:_0x2ea51c}=_0x4318b4,_0x51431=$t(_0x2ea51c);if(_0x51431==='')return;const _0x17ff82={'unitID':_0x46978a,'memberID':_0xd1cac3,'selection':_0x51431};this[_0x504016(0x22d)][_0x504016(0x32e)](_0x17ff82);}}var Pi=Object[_0x30d5ae(0x1b6)],wi=(_0x21047d,_0x514d25,_0x26359e,_0x33e4a8)=>{for(var _0x1be647=_0x33e4a8>0x1?void 0x0:_0x33e4a8?Pi(_0x514d25,_0x26359e):_0x514d25,_0x31c4b9=_0x21047d['length']-0x1,_0x4c0385;_0x31c4b9>=0x0;_0x31c4b9--)(_0x4c0385=_0x21047d[_0x31c4b9])&&(_0x1be647=_0x4c0385(_0x1be647)||_0x1be647);return _0x1be647;},A=(_0x3b42dd,_0x1be087)=>(_0x2fef2f,_0x34d06f)=>_0x1be087(_0x2fef2f,_0x34d06f,_0x3b42dd);const yi=0x12c,$i=0x64;let xe=class extends _0x5e4f80{constructor(_0x1f7c65,_0xc0935,_0x59336f,_0x1e3965,_0x513bad,_0x423267,_0x3b6f8a,_0x154a64,_0x475718){const _0x4b199e=_0x30d5ae;super(),_(this,'_online',!0x1),_(this,_0x4b199e(0x30d),!0x1),_(this,'_cursorInfo$',new _0x2eea28(new Map())),_(this,_0x4b199e(0x20e),this[_0x4b199e(0x34e)][_0x4b199e(0x285)]()),_(this,_0x4b199e(0x289),new _0x2eea28([])),_(this,_0x4b199e(0x280),this[_0x4b199e(0x289)][_0x4b199e(0x27e)](_0x402ed0(yi))),_(this,_0x4b199e(0x38a),_0x4c7f2c(_0x330caa=>{const _0x42382a=_0x4b199e,_0x40376c={'eventID':_0x592c97[_0x42382a(0x307)],'data':{'unitID':this[_0x42382a(0x327)],'memberID':this['_session']['getMemberID'](),'selection':$t(_0x330caa)}};this['_session'][_0x42382a(0x181)](_0x40376c,this['unitID']);},$i)),(this[_0x4b199e(0x327)]=_0x1f7c65,this[_0x4b199e(0x2ec)]=_0xc0935,this['_injector']=_0x59336f,this['_colorAssignService']=_0x1e3965,this[_0x4b199e(0x2cd)]=_0x513bad,this[_0x4b199e(0x212)]=_0x423267,this[_0x4b199e(0x25c)]=_0x3b6f8a,this[_0x4b199e(0x32c)]=_0x154a64,this[_0x4b199e(0x39a)]=_0x475718);}get['cursorInfo'](){const _0x3e407c=_0x30d5ae;return this[_0x3e407c(0x34e)][_0x3e407c(0x365)]();}get['roomMembers'](){const _0x39afe0=_0x30d5ae;return this[_0x39afe0(0x289)][_0x39afe0(0x365)]();}[_0x30d5ae(0x304)](){const _0x234861=_0x30d5ae;super[_0x234861(0x304)](),this[_0x234861(0x34e)][_0x234861(0x32e)](new Map()),this[_0x234861(0x34e)][_0x234861(0x1f6)](),this[_0x234861(0x289)][_0x234861(0x32e)]([]),this[_0x234861(0x289)][_0x234861(0x1f6)]();}[_0x30d5ae(0x1eb)](){const _0x4a208e=_0x30d5ae;this[_0x4a208e(0x30d)]||(this[_0x4a208e(0x30d)]=!0x0,this[_0x4a208e(0x2ec)][_0x4a208e(0x16e)][_0x4a208e(0x27e)](_0x9a62f4(this[_0x4a208e(0x392)]))[_0x4a208e(0x21b)](_0x616a67=>{const _0x540078=_0x4a208e;_0x616a67===_0x43e6e0['ONLINE']?this['_toggleOnline']():this[_0x540078(0x188)]();}),this[_0x4a208e(0x2ec)][_0x4a208e(0x1ff)]['pipe'](_0x9a62f4(this['dispose$']))[_0x4a208e(0x21b)](_0x120fe7=>{const _0x35da41=_0x4a208e,_0x426d14=_0x120fe7[_0x35da41(0x367)];_0x426d14===_0x592c97[_0x35da41(0x307)]&&this[_0x35da41(0x2c6)](_0x120fe7),_0x426d14===_0x592c97[_0x35da41(0x207)]&&this[_0x35da41(0x389)](_0x120fe7);}),this['disposeWithMe'](this[_0x4a208e(0x39a)]['onCommandExecuted'](_0x3c55a7=>{const _0x1efe2f=_0x4a208e,_0xf8c48e=_0x3c55a7[_0x1efe2f(0x264)];_0xf8c48e!=null&&this['_online']&&_0x3c55a7['id']===_0x320aa0['id']&&_0xf8c48e['unitId']===this[_0x1efe2f(0x327)]&&_0xf8c48e[_0x1efe2f(0x19d)]===!0x1&&_0xf8c48e[_0x1efe2f(0x369)][_0x1efe2f(0x1e2)]>0x0&&this[_0x1efe2f(0x38a)](_0xf8c48e[_0x1efe2f(0x369)]);})),this[_0x4a208e(0x212)]['collabCursorState$']['pipe'](_0x9a62f4(this[_0x4a208e(0x392)]))['subscribe'](_0x3094bd=>{const _0x56bb60=_0x4a208e;if((_0x3094bd==null?void 0x0:_0x3094bd[_0x56bb60(0x327)])!==this[_0x56bb60(0x327)])return;const _0x24c092={'eventID':_0x592c97[_0x56bb60(0x307)],'data':_0x3094bd};this[_0x56bb60(0x2c6)](_0x24c092);}),this['disposeWithMe'](this[_0x4a208e(0x39a)]['onCommandExecuted'](_0x51edd7=>{const _0x5d721c=_0x4a208e;if(_0x51edd7[_0x5d721c(0x264)]==null)return;const _0x491bcd=_0x51edd7[_0x5d721c(0x264)];if(_0x51edd7['id']!==_0x322bfa['id']||_0x491bcd[_0x5d721c(0x220)]!==this[_0x5d721c(0x327)])return;const _0x247c70={'id':_0x5d721c(0x272),'params':_0x491bcd},_0x160b5a=this[_0x5d721c(0x2d1)];for(const [_0x447c66,_0x2ca3c5]of _0x160b5a){const _0x299b53={'id':_0x5d721c(0x272),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x2ca3c5[_0x5d721c(0x369)]}},_0x3c6af0=this[_0x5d721c(0x25c)]['transformMutation'](_0x247c70,_0x299b53,!0x1);if(_0x195bf6(_0x3c6af0))throw _0x3c6af0[_0x5d721c(0x2bc)];_0x160b5a[_0x5d721c(0x2f6)](_0x447c66,{..._0x2ca3c5,'ranges':_0x3c6af0[_0x5d721c(0x1e1)]['params'][_0x5d721c(0x321)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x160b5a);});})));}[_0x30d5ae(0x2c6)](_0x34482b){const _0x24d83e=_0x30d5ae;var _0x4f7a0b,_0xd68bb6;const {memberID:_0x4ddb72,selection:_0x6ca3bf}=_0x34482b[_0x24d83e(0x29f)],_0x345672=Ai(_0x6ca3bf),_0x4ac9b0=(_0xd68bb6=(_0x4f7a0b=this['_memberService'][_0x24d83e(0x3a1)](this[_0x24d83e(0x327)],_0x4ddb72))==null?void 0x0:_0x4f7a0b['name'])!=null?_0xd68bb6:_0x24d83e(0x384),_0x1e7ca0={'color':this[_0x24d83e(0x261)][_0x24d83e(0x26f)](_0x4ddb72),'name':_0x4ac9b0,'ranges':_0x345672},_0x5455ab=this['cursorInfo'];_0x5455ab[_0x24d83e(0x2f6)](_0x4ddb72,_0x1e7ca0),this[_0x24d83e(0x34e)][_0x24d83e(0x32e)](_0x5455ab);}['_onCursorDelete'](_0x17dbaf){const _0x538270=_0x30d5ae,{memberID:_0x465436}=_0x17dbaf['data'],_0x48f13c=this[_0x538270(0x2d1)];_0x48f13c[_0x538270(0x2ba)](_0x465436),this[_0x538270(0x34e)][_0x538270(0x32e)](_0x48f13c);}['_toggleOnline'](){const _0x13bbbe=_0x30d5ae;var _0x368d8b;if(this[_0x13bbbe(0x1e7)]=!0x0,((_0x368d8b=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x368d8b[_0x13bbbe(0x3a0)]())!==this[_0x13bbbe(0x327)])return;const _0x45508d=this[_0x13bbbe(0x1e4)]['get'](_0x1bbf56)['getDocRanges']();Array[_0x13bbbe(0x3a7)](_0x45508d)&&_0x45508d['length']>0x0&&this[_0x13bbbe(0x38a)](_0x45508d);}[_0x30d5ae(0x188)](){const _0x21c6ba=_0x30d5ae;this[_0x21c6ba(0x1e7)]=!0x1;}};xe=wi([A(0x2,_0x222181(_0x5c2372)),A(0x3,_0x222181(Ke)),A(0x4,_0x222181(_0x2e1724)),A(0x5,_0x222181(ze)),A(0x6,_0x1dc34f),A(0x7,_0x378c7f),A(0x8,_0x271cee)],xe);var xi=Object['getOwnPropertyDescriptor'],Bi=(_0x45e131,_0x307a4b,_0xaebdba,_0x5d9603)=>{for(var _0x1ca060=_0x5d9603>0x1?void 0x0:_0x5d9603?xi(_0x307a4b,_0xaebdba):_0x307a4b,_0x51506b=_0x45e131['length']-0x1,_0x33d2b5;_0x51506b>=0x0;_0x51506b--)(_0x33d2b5=_0x45e131[_0x51506b])&&(_0x1ca060=_0x33d2b5(_0x1ca060)||_0x1ca060);return _0x1ca060;},B=(_0xf94ca3,_0xca1b27)=>(_0x326f67,_0x5aa333)=>_0xca1b27(_0x326f67,_0x5aa333,_0xf94ca3);const Fi=0x12c,ki=0x64,Hi=()=>{let _0x79bd48=[],_0x51dc19=!0x1;return _0x157140=>{const _0x105ea6=_0x23c8;_0x79bd48[_0x105ea6(0x293)](_0x157140),_0x51dc19||(_0x51dc19=!0x0,setTimeout(()=>{_0x79bd48['forEach'](_0x365db1=>_0x365db1()),_0x79bd48=[],_0x51dc19=!0x1;}));};};let Be=class extends _0x5e4f80{constructor(_0x55edf6,_0x58b95f,_0x592f3d,_0x41f1e5,_0x430dcf,_0x4ebe66,_0x56ba7e,_0x161d1f){const _0x1a009d=_0x30d5ae;super(),_(this,'_online',!0x1),_(this,_0x1a009d(0x30d),!0x1),_(this,_0x1a009d(0x34e),new _0x2eea28(new Map())),_(this,_0x1a009d(0x20e),this[_0x1a009d(0x34e)][_0x1a009d(0x285)]()),_(this,_0x1a009d(0x289),new _0x2eea28([])),_(this,_0x1a009d(0x280),this[_0x1a009d(0x289)]['pipe'](_0x402ed0(Fi))),_(this,_0x1a009d(0x38a),_0x4c7f2c((_0x102433,_0x2cdebe)=>{const _0x380876=_0x1a009d,_0x3ce788={'eventID':_0x592c97[_0x380876(0x307)],'data':{'unitID':this[_0x380876(0x327)],'memberID':this[_0x380876(0x2ec)]['getMemberID'](),'selection':_0x2bb9d3(_0x102433,_0x2cdebe['range'])}};this[_0x380876(0x2ec)][_0x380876(0x181)](_0x3ce788,this[_0x380876(0x327)]);},ki)),(this[_0x1a009d(0x327)]=_0x55edf6,this[_0x1a009d(0x2ec)]=_0x58b95f,this[_0x1a009d(0x1e4)]=_0x592f3d,this['_colorAssignService']=_0x41f1e5,this[_0x1a009d(0x2cd)]=_0x430dcf,this[_0x1a009d(0x32c)]=_0x4ebe66,this[_0x1a009d(0x39a)]=_0x56ba7e,this[_0x1a009d(0x252)]=_0x161d1f);}get[_0x30d5ae(0x2d1)](){const _0x3b99a1=_0x30d5ae;return this[_0x3b99a1(0x34e)][_0x3b99a1(0x365)]();}get['roomMembers'](){const _0x435c98=_0x30d5ae;return this[_0x435c98(0x289)]['getValue']();}[_0x30d5ae(0x304)](){const _0x569c53=_0x30d5ae;super[_0x569c53(0x304)](),this[_0x569c53(0x34e)][_0x569c53(0x32e)](new Map()),this[_0x569c53(0x34e)]['complete'](),this[_0x569c53(0x289)][_0x569c53(0x32e)]([]),this['_roomMembers$'][_0x569c53(0x1f6)]();}[_0x30d5ae(0x1eb)](){const _0x4f5850=_0x30d5ae;this[_0x4f5850(0x30d)]||(this['_init']=!0x0,this[_0x4f5850(0x2ec)][_0x4f5850(0x16e)][_0x4f5850(0x27e)](_0x9a62f4(this[_0x4f5850(0x392)]))['subscribe'](_0xbc8f05=>{const _0x268f4a=_0x4f5850;_0xbc8f05===_0x43e6e0[_0x268f4a(0x39c)]?this[_0x268f4a(0x3af)]():this[_0x268f4a(0x188)]();}),this['_session'][_0x4f5850(0x1ff)][_0x4f5850(0x27e)](_0x9a62f4(this['dispose$']))[_0x4f5850(0x21b)](_0xaf4538=>{const _0x16b42d=_0x4f5850,_0x5789ac=_0xaf4538['eventID'];_0x5789ac===_0x592c97[_0x16b42d(0x307)]&&this[_0x16b42d(0x2c6)](_0xaf4538),_0x5789ac===_0x592c97[_0x16b42d(0x207)]&&this['_onCursorDelete'](_0xaf4538);}),this[_0x4f5850(0x323)](),this[_0x4f5850(0x3a2)](this[_0x4f5850(0x39a)][_0x4f5850(0x24b)](_0x2e1f22=>{const _0x1078f9=_0x4f5850;if(this['_online']&&_0x2e1f22['id']===_0x2e23ac['id']&&_0x2e1f22[_0x1078f9(0x264)]['unitId']===this['unitID']){const _0x851729=_0x2e1f22[_0x1078f9(0x264)];this[_0x1078f9(0x38a)](_0x851729[_0x1078f9(0x34c)],_0x851729['selections'][0x0]);}})));}['_onCursorUpdate'](_0x1a34ca){const _0x28c3e3=_0x30d5ae;var _0x1eeeff,_0x570d11;const {memberID:_0x1b92c6,selection:_0x5b48d7}=_0x1a34ca[_0x28c3e3(0x29f)],{sheetName:_0x3dd2e1,range:_0x4291b4}=_0x11478e(_0x5b48d7),_0xa48fc6={'name':(_0x570d11=(_0x1eeeff=this[_0x28c3e3(0x2cd)][_0x28c3e3(0x3a1)](this[_0x28c3e3(0x327)],_0x1b92c6))==null?void 0x0:_0x1eeeff['name'])!=null?_0x570d11:'Unknown\x20user','range':this[_0x28c3e3(0x391)](_0x3dd2e1,_0x4291b4),'sheetID':_0x3dd2e1,'color':this[_0x28c3e3(0x261)][_0x28c3e3(0x26f)](_0x1b92c6),'selection':_0x5b48d7},_0x5f2421=this[_0x28c3e3(0x2d1)];_0x5f2421[_0x28c3e3(0x2f6)](_0x1b92c6,_0xa48fc6),this[_0x28c3e3(0x34e)][_0x28c3e3(0x32e)](_0x5f2421);}[_0x30d5ae(0x389)](_0x13559e){const _0x5730ad=_0x30d5ae,{memberID:_0xcd5fed}=_0x13559e[_0x5730ad(0x29f)],_0x51a80e=this['cursorInfo'];_0x51a80e[_0x5730ad(0x2ba)](_0xcd5fed),this['_cursorInfo$']['next'](_0x51a80e);}[_0x30d5ae(0x391)](_0x4c60f3,_0x37c746){const _0x51a16a=_0x30d5ae;var _0x5b5563,_0x315ad5;const _0x33b42c=(_0x315ad5=(_0x5b5563=this['_univerInstanceService']['getUniverSheetInstance'](this[_0x51a16a(0x327)]))==null?void 0x0:_0x5b5563[_0x51a16a(0x31b)](_0x4c60f3))==null?void 0x0:_0x315ad5[_0x51a16a(0x2fe)]();return(_0x33b42c==null?void 0x0:_0x33b42c[_0x51a16a(0x315)](_0x165467=>_0x197cd6['contains'](_0x165467,_0x37c746)))||_0x37c746;}[_0x30d5ae(0x323)](){const _0x21094c=_0x30d5ae,_0x144991=new _0x27de72(),_0x1753f3=Hi(),_0x536b1c=()=>{const _0x1f1684=_0x23c8;_0x144991[_0x1f1684(0x304)]();const _0x1f72d8=(_0x5cfb95,_0x4d52e7,_0xaf865e,_0x3346d3)=>{const _0x995ece=_0x1f1684;let _0x343ea0=[];switch(_0x5cfb95['id']){case _0x32ac42['DeleteRangeMoveLeftCommandId']:{_0x343ea0=_0x2bcecc(_0x5cfb95,_0x3346d3);break;}case _0x32ac42['DeleteRangeMoveUpCommandId']:{_0x343ea0=_0x2eee1f(_0x5cfb95,_0x3346d3);break;}case _0x32ac42['InsertColCommandId']:{_0x343ea0=_0x3f3780(_0x5cfb95,_0x3346d3);break;}case _0x32ac42[_0x995ece(0x24e)]:{_0x343ea0=_0x2871ee(_0x5cfb95,_0x3346d3);break;}case _0x32ac42[_0x995ece(0x23c)]:{_0x343ea0=_0x395ccc(_0x5cfb95,_0x3346d3);break;}case _0x32ac42[_0x995ece(0x22f)]:{_0x343ea0=_0x41ec95(_0x5cfb95,_0x3346d3);break;}case _0x32ac42['MoveRangeCommandId']:{_0x343ea0=_0xcacc45(_0x5cfb95,_0x3346d3);break;}case _0x32ac42[_0x995ece(0x319)]:{_0x343ea0=_0x99727e(_0x5cfb95,_0x3346d3);break;}case _0x32ac42['RemoveRowCommandId']:{_0x343ea0=_0x15e9ff(_0x5cfb95,_0x3346d3);break;}}const _0x35c86f=_0xea9e44(_0x343ea0,_0x3346d3),_0x1f6eb5=this[_0x995ece(0x2d1)][_0x995ece(0x2e1)](_0x4d52e7);if(_0x1f6eb5&&_0x35c86f){const _0x517d1a={..._0x1f6eb5,'range':_0x35c86f};this[_0x995ece(0x2d1)][_0x995ece(0x2f6)](_0x4d52e7,_0x517d1a),_0x1753f3(()=>{const _0x3f3532=_0x995ece,_0x5c8c55=this[_0x3f3532(0x252)][_0x3f3532(0x2c7)](_0x35c86f,_0x5d228b=>(_0x5c8c55['dispose'](),_0x1f72d8(_0x5d228b,_0x4d52e7,_0xaf865e,_0x35c86f)));_0x144991[_0x3f3532(0x1e8)](_0x5c8c55);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x1f1684(0x333)]((_0xdc222f,_0x5de72d)=>{const _0x583112=_0x1f1684,{range:_0x3be9b6,sheetID:_0x38426d}=_0xdc222f,_0x2e95ee=this[_0x583112(0x252)][_0x583112(0x2c7)](_0x3be9b6,_0x368e45=>(_0x2e95ee[_0x583112(0x304)](),_0x1f72d8(_0x368e45,_0x5de72d,_0x38426d,_0x3be9b6)));_0x144991[_0x583112(0x1e8)](_0x2e95ee);});};this['disposeWithMe'](_0x31bc29(this[_0x21094c(0x34e)]['subscribe'](()=>{_0x536b1c();})));}['_toggleOnline'](){const _0x59cd82=_0x30d5ae;var _0x50f932,_0x2e3ad9;if(this[_0x59cd82(0x1e7)]=!0x0,((_0x50f932=this[_0x59cd82(0x32c)]['getFocusedUnit']())==null?void 0x0:_0x50f932[_0x59cd82(0x3a0)]())!==this[_0x59cd82(0x327)])return;const _0x5197d6=(_0x2e3ad9=this[_0x59cd82(0x1e4)][_0x59cd82(0x2e1)](_0x4d867f)['getCurrentSelections']())==null?void 0x0:_0x2e3ad9[0x0],_0x2cd7c4=this[_0x59cd82(0x32c)]['getCurrentUnitForType'](_0xba2a08[_0x59cd82(0x385)])['getActiveSheet']();_0x5197d6&&_0x2cd7c4&&this[_0x59cd82(0x38a)](_0x2cd7c4[_0x59cd82(0x1c9)](),_0x5197d6);}[_0x30d5ae(0x188)](){const _0x5a5e27=_0x30d5ae;this[_0x5a5e27(0x1e7)]=!0x1;}};Be=Bi([B(0x2,_0x222181(_0x5c2372)),B(0x3,_0x222181(Ke)),B(0x4,_0x222181(_0x2e1724)),B(0x5,_0x378c7f),B(0x6,_0x271cee),B(0x7,_0x222181(_0x100f4b))],Be);var Yi=Object[_0x30d5ae(0x1b6)],Wi=(_0x4fa328,_0x274b04,_0x20ba54,_0x2736a8)=>{for(var _0xb2e919=_0x2736a8>0x1?void 0x0:_0x2736a8?Yi(_0x274b04,_0x20ba54):_0x274b04,_0x48db9d=_0x4fa328['length']-0x1,_0x338d12;_0x48db9d>=0x0;_0x48db9d--)(_0x338d12=_0x4fa328[_0x48db9d])&&(_0xb2e919=_0x338d12(_0xb2e919)||_0xb2e919);return _0xb2e919;},Ce=(_0x3179f1,_0xe0d585)=>(_0x2477e9,_0x2edb9e)=>_0xe0d585(_0x2477e9,_0x2edb9e,_0x3179f1);let H=class extends _0x5e4f80{constructor(_0x310b57,_0x253eef,_0x2c3eb8){const _0x52e54a=_0x30d5ae;super(),_(this,_0x52e54a(0x228),new Map()),_(this,_0x52e54a(0x1f9),new _0x6d42f4()),(this[_0x52e54a(0x32c)]=_0x310b57,this[_0x52e54a(0x1e4)]=_0x253eef,this[_0x52e54a(0x2af)]=_0x2c3eb8,this[_0x52e54a(0x30d)]());}[_0x30d5ae(0x304)](){const _0x1514b7=_0x30d5ae;super['dispose'](),this[_0x1514b7(0x1f9)][_0x1514b7(0x1f6)](),this[_0x1514b7(0x228)][_0x1514b7(0x333)](_0x49cdf1=>_0x49cdf1[_0x1514b7(0x304)]());}[_0x30d5ae(0x25e)](_0x5a92c7){const _0x24001d=_0x30d5ae;return this[_0x24001d(0x228)]['has'](_0x5a92c7)?this[_0x24001d(0x228)]['get'](_0x5a92c7)[_0x24001d(0x20e)]:this[_0x24001d(0x1f9)]['pipe'](_0x62bf18(_0x2bc05e=>_0x2bc05e['unitID']===_0x5a92c7),_0x5d8fb1(_0x73f802=>_0x73f802[_0x24001d(0x20e)]));}[_0x30d5ae(0x30d)](){const _0xf5a571=_0x30d5ae;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0xba2a08[_0xf5a571(0x385)])[_0xf5a571(0x27e)](_0x9a62f4(this[_0xf5a571(0x392)]))[_0xf5a571(0x21b)](async _0x17dff1=>{const _0x237472=_0xf5a571,_0x307aeb=_0x17dff1[_0x237472(0x3a0)](),_0xd9d49e=await this['_startSheetCollabCursor'](_0x307aeb);this[_0x237472(0x1f9)]['next'](_0xd9d49e),this['_entities'][_0x237472(0x2f6)](_0x307aeb,_0xd9d49e);}),this[_0xf5a571(0x32c)]['getTypeOfUnitAdded$'](_0xba2a08[_0xf5a571(0x2a1)])[_0xf5a571(0x27e)](_0x9a62f4(this[_0xf5a571(0x392)]))['pipe'](_0x62bf18(_0x177266=>!_0x177266['getUnitId']()['startsWith']('__')))['subscribe'](async _0x51ab65=>{const _0x299b84=_0xf5a571,_0x5eaf14=_0x51ab65['getUnitId'](),_0xe8987c=await this[_0x299b84(0x334)](_0x5eaf14);this['_entityInit$']['next'](_0xe8987c),this[_0x299b84(0x228)][_0x299b84(0x2f6)](_0x5eaf14,_0xe8987c);}),_0x36e4a9(this[_0xf5a571(0x32c)][_0xf5a571(0x28b)](_0xba2a08[_0xf5a571(0x2a1)]),this[_0xf5a571(0x32c)][_0xf5a571(0x28b)](_0xba2a08[_0xf5a571(0x385)]))[_0xf5a571(0x27e)](_0x9a62f4(this['dispose$']))[_0xf5a571(0x21b)](_0xf9ba3c=>{const _0x6d0e5f=_0xf5a571,_0x25319d=_0xf9ba3c[_0x6d0e5f(0x3a0)](),_0x35d4f3=this[_0x6d0e5f(0x228)][_0x6d0e5f(0x2e1)](_0x25319d);_0x35d4f3&&(_0x35d4f3['dispose'](),this['_entities'][_0x6d0e5f(0x2ba)](_0x25319d));});}async['_startSheetCollabCursor'](_0x351a3b){const _0xb8d39f=_0x30d5ae,_0x225dd7=await this['_collabSessionService'][_0xb8d39f(0x216)](_0x351a3b),_0x22b350=this['_injector'][_0xb8d39f(0x311)](Be,_0x351a3b,_0x225dd7);return _0x22b350[_0xb8d39f(0x1eb)](),_0x22b350;}async[_0x30d5ae(0x334)](_0x493199){const _0x539977=_0x30d5ae,_0x49aee0=await this[_0x539977(0x2af)][_0x539977(0x216)](_0x493199),_0x246834=this[_0x539977(0x1e4)][_0x539977(0x311)](xe,_0x493199,_0x49aee0);return _0x246834[_0x539977(0x1eb)](),_0x246834;}};H=Wi([Ce(0x0,_0x378c7f),Ce(0x1,_0x222181(_0x5c2372)),Ce(0x2,_0x222181(_0x90a824))],H);const Q=0x14,at=0xc8,Re=0x4,Vi=0x5;function ji(_0x55ec9a,_0x384b77){const _0x1395bd=_0x30d5ae;let {radius:_0x29277f,width:_0xd05fa6,height:_0xcd0028}=_0x384b77;_0x29277f=_0x29277f!=null?_0x29277f:0x0,_0xd05fa6=_0xd05fa6!=null?_0xd05fa6:0x1e,_0xcd0028=_0xcd0028!=null?_0xcd0028:0x1e;let _0x1eedea=0x0,_0x11b581=0x0,_0x267b42=0x0;_0x1eedea=_0x11b581=_0x267b42=Math[_0x1395bd(0x2f7)](_0x29277f,_0xd05fa6/0x2,_0xcd0028/0x2),_0x55ec9a['beginPath'](),_0x55ec9a[_0x1395bd(0x3ad)](_0x1eedea,0x0),_0x55ec9a[_0x1395bd(0x1d7)](_0xd05fa6-_0x11b581,0x0),_0x55ec9a['arc'](_0xd05fa6-_0x11b581,_0x11b581,_0x11b581,Math['PI']*0x3/0x2,0x0,!0x1),_0x55ec9a[_0x1395bd(0x1d7)](_0xd05fa6,_0xcd0028-_0x267b42),_0x55ec9a[_0x1395bd(0x331)](_0xd05fa6-_0x267b42,_0xcd0028-_0x267b42,_0x267b42,0x0,Math['PI']/0x2,!0x1),_0x55ec9a[_0x1395bd(0x1d7)](0x0,_0xcd0028),_0x55ec9a[_0x1395bd(0x1d7)](0x0,_0x1eedea),_0x55ec9a[_0x1395bd(0x331)](_0x1eedea,_0x1eedea,_0x1eedea,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x55ec9a[_0x1395bd(0x1fc)](),_0x384b77[_0x1395bd(0x316)]&&(_0x55ec9a[_0x1395bd(0x18f)](),_0x55ec9a['fillStyle']=_0x384b77[_0x1395bd(0x316)],_0x384b77['fillRule']===_0x1395bd(0x1aa)?_0x55ec9a['fill'](_0x1395bd(0x1aa)):_0x55ec9a[_0x1395bd(0x316)](),_0x55ec9a[_0x1395bd(0x2fc)]());}class ve extends _0x4c57c5{constructor(_0x40f4c8,_0x6b15a1){const _0xd3eecf=_0x30d5ae;super(_0x40f4c8,_0x6b15a1),_(this,'color'),_(this,_0xd3eecf(0x2d6)),(this[_0xd3eecf(0x209)]=_0x6b15a1==null?void 0x0:_0x6b15a1[_0xd3eecf(0x209)],this['text']=_0x6b15a1==null?void 0x0:_0x6b15a1['text']);}static['drawWith'](_0x5dcf76,_0xf09d0e){const _0x31d2dc=_0x30d5ae,{text:_0x21b79d,color:_0x43d8d3}=_0xf09d0e;_0x5dcf76[_0x31d2dc(0x18f)](),_0x5dcf76[_0x31d2dc(0x191)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x4ab2cd=_0x5dcf76['measureText'](_0x21b79d)[_0x31d2dc(0x342)],_0x95b072=Math[_0x31d2dc(0x2f7)](_0x4ab2cd+0x2*Re,at);ji(_0x5dcf76,{'height':Q,'radius':0x4,'width':_0x95b072,'fill':_0x43d8d3}),_0x5dcf76['fillStyle']=_0x31d2dc(0x1b9);const _0x57eaef=Re,_0x376084=Q-Vi,_0x3f483f=at-0x2*Re;if(_0x4ab2cd>_0x3f483f){let _0x2dbaad='',_0x461464=0x0;for(const _0x1a791a of _0x21b79d){const _0x27d4a1=_0x5dcf76[_0x31d2dc(0x211)](_0x1a791a)['width'];if(_0x461464+_0x27d4a1<=_0x3f483f-_0x5dcf76[_0x31d2dc(0x211)](_0x31d2dc(0x1ba))[_0x31d2dc(0x342)])_0x2dbaad+=_0x1a791a,_0x461464+=_0x27d4a1;else{_0x2dbaad+=_0x31d2dc(0x1ba);break;}}_0x5dcf76['fillText'](_0x2dbaad,_0x57eaef,_0x376084);}else _0x5dcf76['fillText'](_0x21b79d,_0x57eaef,_0x376084);_0x5dcf76[_0x31d2dc(0x2fc)]();}[_0x30d5ae(0x1e6)](_0x50987d){const _0x4f943f=_0x30d5ae;ve[_0x4f943f(0x370)](_0x50987d,this);}}const De=_0x30d5ae(0x294),Xi=_0x30d5ae(0x2ef),Gi=_0x30d5ae(0x1d5),z=0x6,Ki=1.5,Ne=0x4,zi=1.5,Ji=_0x30d5ae(0x19f);class ct{constructor(_0x41f1df,_0x4dff07,_0x38613a,_0x25d97f){const _0x505504=_0x30d5ae;_(this,_0x505504(0x33f),[]),_(this,_0x505504(0x382),null),_(this,_0x505504(0x345),null),_(this,_0x505504(0x36c),null),_(this,_0x505504(0x2b0),null),_(this,_0x505504(0x2e2),null),(this[_0x505504(0x1ed)]=_0x41f1df,this[_0x505504(0x19b)]=_0x4dff07,this[_0x505504(0x1ca)]=_0x38613a,this[_0x505504(0x301)]=_0x25d97f,this['_render']());}set[_0x30d5ae(0x232)](_0x1c26f9){const _0x997c4=_0x30d5ae;_0x1c26f9?(this[_0x997c4(0x36c)]&&this['_anchorDot'][_0x997c4(0x2ad)](),this[_0x997c4(0x345)]&&this['_textBubble']['show']()):(this[_0x997c4(0x36c)]&&this['_anchorDot']['show'](),this[_0x997c4(0x345)]&&this[_0x997c4(0x345)][_0x997c4(0x2ad)]());}[_0x30d5ae(0x304)](){const _0x44b0fa=_0x30d5ae;for(const _0x4eb06d of this[_0x44b0fa(0x33f)])_0x4eb06d['dispose']();this['_textBubble']&&this['_textBubble'][_0x44b0fa(0x304)](),this['_anchorDot']&&this['_anchorDot'][_0x44b0fa(0x304)](),this[_0x44b0fa(0x382)]&&this[_0x44b0fa(0x382)][_0x44b0fa(0x304)](),this[_0x44b0fa(0x2e2)]&&this[_0x44b0fa(0x2e2)]();}['_render'](){const _0x1303d8=_0x30d5ae;var _0x37718a;const {_docSkeleton:_0x4bad1d,_document:_0x26e371}=this,{color:_0x295586,name:_0x1e0367,ranges:_0x1ac4d2}=this[_0x1303d8(0x1ed)],_0x2d1c64=_0x26e371[_0x1303d8(0x2a0)](),{docsLeft:_0x204d8b,docsTop:_0x352260}=_0x2d1c64,_0x2b1fcb=new _0x248ed8(_0x2d1c64,_0x4bad1d);for(const {startOffset:_0x46f1eb,endOffset:_0x27bb5a,rangeType:_0x396f8c,segmentId:_0x71cdca,segmentPage:_0x1e3953,collapsed:_0x73da69,isActive:_0x54183a}of _0x1ac4d2){const _0x355579=_0x4bad1d['findNodePositionByCharIndex'](_0x46f1eb,!0x0,_0x71cdca,_0x1e3953);let _0x2efbb8=_0x4bad1d[_0x1303d8(0x21a)](_0x27bb5a,!0x0,_0x71cdca,_0x1e3953);if(_0x2efbb8==null&&(_0x2efbb8=_0x4bad1d[_0x1303d8(0x21a)](_0x27bb5a-0x1,!0x1,_0x71cdca,_0x1e3953)),_0x54183a){const {contentBoxPointGroup:_0x50eef8}=_0x2b1fcb[_0x1303d8(0x243)](_0x2efbb8,_0x2efbb8);if(_0x50eef8[_0x1303d8(0x1e2)]===0x0)continue;this[_0x1303d8(0x1e0)](_0x295586,_0x50eef8,_0x204d8b,_0x352260,_0x1e0367),this[_0x1303d8(0x2e2)]=this[_0x1303d8(0x2d7)]();}if(_0x355579&&_0x2efbb8){if(_0x396f8c===_0x120f2f[_0x1303d8(0x267)]){const _0x11398c=new _0x7207ce(_0x2d1c64,_0x4bad1d),{pointGroup:_0x110ca7}=(_0x37718a=_0x11398c[_0x1303d8(0x243)](_0x355579,_0x2efbb8))!=null?_0x37718a:{};if(_0x110ca7==null||_0x110ca7[_0x1303d8(0x1e2)]===0x0)continue;this['_drawRectRange'](_0x295586,_0x110ca7,_0x204d8b,_0x352260);}else{if(!_0x73da69){const {borderBoxPointGroup:_0x23ccfe}=_0x2b1fcb[_0x1303d8(0x243)](_0x355579,_0x2efbb8);if(_0x23ccfe['length']===0x0)continue;this[_0x1303d8(0x34a)](_0x295586,_0x23ccfe,_0x204d8b,_0x352260);}}}}}[_0x30d5ae(0x1e0)](_0x1b94fd,_0x12d74,_0xf34005,_0x21f2b1,_0x51ffe5){const _0x5ddf90=_0x30d5ae,_0x2fd5d2=this[_0x5ddf90(0x340)](_0x12d74),{left:_0x54ac18,top:_0x367790,height:_0x4958a9}=_0x2fd5d2,_0x25f5f9=this[_0x5ddf90(0x2df)](),_0x3281dc=zi/_0x25f5f9,_0x1354f0=new _0xdd23c7(De+_0x2e90e1(z),{'left':_0x54ac18+_0xf34005-_0x3281dc,'top':_0x367790+_0x21f2b1,'height':_0x4958a9,'width':Ki,'fill':_0x1b94fd||_0x4b0183(_0x2d346f[_0x5ddf90(0x398)],0x0),'strokeWidth':_0x3281dc,'stroke':Ji,'evented':!0x0});this[_0x5ddf90(0x382)]=_0x1354f0,this['_scene'][_0x5ddf90(0x2d3)](_0x1354f0,_0x20be3a);const _0x121d17=new _0xdd23c7(De+_0x2e90e1(z),{'left':_0x54ac18+_0xf34005-_0x3281dc,'top':_0x367790+_0x21f2b1-Ne/0x2,'height':Ne,'width':Ne,'fill':_0x1b94fd||_0x4b0183(_0x2d346f[_0x5ddf90(0x398)],0x0),'strokeWidth':0x0,'stroke':_0x1b94fd||_0x4b0183(_0x2d346f['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x121d17,this[_0x5ddf90(0x19b)][_0x5ddf90(0x2d3)](_0x121d17,_0x20be3a);const _0x1ee090=new ve(De+_0x2e90e1(z),{'left':_0x54ac18+_0xf34005-_0x3281dc,'top':_0x367790+_0x21f2b1-Q,'text':_0x51ffe5,'color':_0x1b94fd});this[_0x5ddf90(0x345)]=_0x1ee090,this['_scene'][_0x5ddf90(0x2d3)](_0x1ee090,_0x20be3a),this[_0x5ddf90(0x232)]=!0x1;}['_handleHover'](){const _0x5c9531=_0x30d5ae,_0x4e4d60=this['_anchor'][_0x5c9531(0x270)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x36ab5b=this[_0x5c9531(0x382)][_0x5c9531(0x393)][_0x5c9531(0x306)](()=>{this['_hideTimer']&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x31dbfc=_0x5c9531;_0x4e4d60[_0x31dbfc(0x361)](),_0x36ab5b[_0x31dbfc(0x361)]();};}['_drawTextRange'](_0x293bd8,_0x4a1e33,_0x4f358a,_0xd73b3e){const _0x58997b=_0x30d5ae,_0x276cb6=new _0x28c57e(_0x293bd8)[_0x58997b(0x18d)](0.2)[_0x58997b(0x314)](),_0x34adab=new _0x4b5fc3(Xi+_0x2e90e1(z),{'pointsGroup':_0x4a1e33,'fill':_0x276cb6||_0x4b0183(_0x2d346f[_0x58997b(0x398)],0.2),'left':_0x4f358a,'top':_0xd73b3e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x58997b(0x33f)][_0x58997b(0x293)](_0x34adab),this[_0x58997b(0x19b)][_0x58997b(0x2d3)](_0x34adab,_0x20be3a);}[_0x30d5ae(0x303)](_0x54f71a,_0x3df518,_0x28cf93,_0x457f60){const _0x44d20f=_0x30d5ae,_0x31b2be=new _0x28c57e(_0x54f71a)[_0x44d20f(0x18d)](0.2)['toRgbString'](),_0x6ebf4d=new _0x4b5fc3(Gi+_0x2e90e1(z),{'pointsGroup':_0x3df518,'fill':_0x31b2be||_0x4b0183(_0x2d346f[_0x44d20f(0x398)],0.2),'left':_0x28cf93,'top':_0x457f60,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x44d20f(0x33f)]['push'](_0x6ebf4d),this[_0x44d20f(0x19b)][_0x44d20f(0x2d3)](_0x6ebf4d,_0x20be3a);}[_0x30d5ae(0x340)](_0x515517){const _0x59ca46=_0x515517[0x0],_0x583bb4=_0x59ca46[0x0],_0x7bb515=_0x59ca46[0x2],{x:_0x124956,y:_0x2b4c7d}=_0x583bb4,{x:_0x21c9cd,y:_0x46e949}=_0x7bb515;return{'left':_0x124956,'top':_0x2b4c7d,'width':_0x21c9cd-_0x124956,'height':_0x46e949-_0x2b4c7d};}['_getScale'](){const _0x4c8d4f=_0x30d5ae,{scaleX:_0x1d221b,scaleY:_0x5a5904}=this[_0x4c8d4f(0x19b)][_0x4c8d4f(0x2b3)]();return Math[_0x4c8d4f(0x37e)](_0x1d221b,_0x5a5904);}}var Zi=Object[_0x30d5ae(0x1b6)],Qi=(_0x4e0a18,_0x1007bb,_0xf709a9,_0x27494a)=>{const _0x590bc9=_0x30d5ae;for(var _0x46cc3a=_0x27494a>0x1?void 0x0:_0x27494a?Zi(_0x1007bb,_0xf709a9):_0x1007bb,_0x54ff07=_0x4e0a18[_0x590bc9(0x1e2)]-0x1,_0x322556;_0x54ff07>=0x0;_0x54ff07--)(_0x322556=_0x4e0a18[_0x54ff07])&&(_0x46cc3a=_0x322556(_0x46cc3a)||_0x46cc3a);return _0x46cc3a;},ie=(_0x4c0bb9,_0x92812)=>(_0x239464,_0x36456e)=>_0x92812(_0x239464,_0x36456e,_0x4c0bb9);let Fe=class extends _0x5e4f80{constructor(_0x3dc0bc,_0x4d8d1e,_0x38d239,_0x372bc2,_0x474391){const _0x5623ed=_0x30d5ae;super(),_(this,_0x5623ed(0x2d4),[]),_(this,_0x5623ed(0x2b6),[]),(this[_0x5623ed(0x23b)]=_0x3dc0bc,this[_0x5623ed(0x245)]=_0x4d8d1e,this['_collabCursorController']=_0x38d239,this['_commandService']=_0x372bc2,this[_0x5623ed(0x2c5)]=_0x474391,this[_0x5623ed(0x30d)]());}['_init'](){const _0x3a0845=_0x30d5ae,_0x2b2e58=this['_context'][_0x3a0845(0x220)],_0x214995=this[_0x3a0845(0x245)];this[_0x3a0845(0x3a2)](_0x22eb42([this[_0x3a0845(0x2e0)][_0x3a0845(0x25e)](_0x2b2e58),this[_0x3a0845(0x2c5)]['currentTheme$']])['pipe'](_0x59419b(([_0x597d8,_0x3e8cf3])=>({'skeleton':_0x214995[_0x3a0845(0x2d2)](),'cursors':[..._0x597d8[_0x3a0845(0x1b1)]()][_0x3a0845(0x35b)](_0x26526b=>({..._0x26526b,'color':this[_0x3a0845(0x2c5)][_0x3a0845(0x234)](_0x26526b['color'])}))})))[_0x3a0845(0x21b)](_0x4864bc=>{const _0xfbf1c4=_0x3a0845;if(this[_0xfbf1c4(0x3ab)](),_0x4864bc){const {skeleton:_0x5a500d,cursors:_0x3c5a81}=_0x4864bc;this[_0xfbf1c4(0x222)](_0x5a500d,_0x3c5a81);}})),this[_0x3a0845(0x37c)](),this['_initCommandExecutedListener']();}[_0x30d5ae(0x222)](_0x65999c,_0x324f4f){const _0x1c37c5=_0x30d5ae,{scene:_0x5298ee,mainComponent:_0x48ee81}=this[_0x1c37c5(0x23b)],_0x559757=_0x324f4f[_0x1c37c5(0x27b)](_0x279ecd=>new ct(_0x279ecd,_0x5298ee,_0x65999c,_0x48ee81));this[_0x1c37c5(0x2d4)]=_0x559757,this[_0x1c37c5(0x2b6)]=_0x324f4f;}[_0x30d5ae(0x225)](){const _0x3b5d08=_0x30d5ae;this[_0x3b5d08(0x3ab)]();const {scene:_0x131532,mainComponent:_0x356e18}=this[_0x3b5d08(0x23b)],_0x315195=this[_0x3b5d08(0x245)][_0x3b5d08(0x2d2)](),_0x1b3648=this[_0x3b5d08(0x2b6)][_0x3b5d08(0x27b)](_0x4d1716=>new ct(_0x4d1716,_0x131532,_0x315195,_0x356e18));this[_0x3b5d08(0x2d4)]=_0x1b3648;}[_0x30d5ae(0x3ab)](){const _0x3ebfd9=_0x30d5ae;this['_cursorShapes'][_0x3ebfd9(0x333)](_0x21d4f4=>_0x21d4f4[_0x3ebfd9(0x304)]()),this['_cursorShapes']=[];}[_0x30d5ae(0x1b5)](){const _0x326c08=_0x30d5ae,_0x355f38=[_0x2c4471['id']];this[_0x326c08(0x3a2)](this['_commandService'][_0x326c08(0x24b)](_0x24659f=>{const _0x13790d=_0x326c08;_0x355f38[_0x13790d(0x2cf)](_0x24659f['id'])&&_0x24659f[_0x13790d(0x264)][_0x13790d(0x220)]===this['_context']['unitId']&&this[_0x13790d(0x225)]();}));}[_0x30d5ae(0x37c)](){const _0x595a49=_0x30d5ae;this[_0x595a49(0x3a2)](_0x481707(this[_0x595a49(0x23b)][_0x595a49(0x387)][_0x595a49(0x1a6)])['pipe'](_0x3c921b(_0x51e800=>_0x51e800[_0x595a49(0x2a5)]===_0x3b9147['resize']),_0x56a0cc(0x10))[_0x595a49(0x21b)](()=>{const _0x3ad97d=_0x595a49;this[_0x3ad97d(0x225)]();}));}};Fe=Qi([ie(0x1,_0x222181(_0x161dc1)),ie(0x2,_0x222181(H)),ie(0x3,_0x271cee),ie(0x4,_0x222181(_0x3d07e7))],Fe);const qi=0x1,en=1.5;class tn extends _0x4c57c5{constructor(_0x3f74f0,_0x155ae7){const _0x46e2d7=_0x30d5ae;super(_0x3f74f0,_0x155ae7),_(this,_0x46e2d7(0x37d)),_(this,'_hovered',!0x1),_(this,_0x46e2d7(0x175)),_(this,_0x46e2d7(0x214),''),_(this,_0x46e2d7(0x278),_0x46e2d7(0x227)),_(this,'_backgroundColor'),(_0x155ae7&&this['setShapeProps'](_0x155ae7),this[_0x46e2d7(0x270)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x46e2d7(0x393)]['subscribeEvent'](()=>this[_0x46e2d7(0x2ce)]({'hovered':!0x1})));}[_0x30d5ae(0x2ce)](_0x438ea3){const _0x22843c=_0x30d5ae;var _0x555b52,_0x5ef64d,_0x14127c,_0x2716ca,_0x10cade,_0x44994a;this['_color']=(_0x555b52=_0x438ea3[_0x22843c(0x209)])!=null?_0x555b52:this[_0x22843c(0x37d)],this[_0x22843c(0x1e5)]=(_0x5ef64d=_0x438ea3[_0x22843c(0x1c4)])!=null?_0x5ef64d:this[_0x22843c(0x1e5)],this['_range']=(_0x14127c=_0x438ea3[_0x22843c(0x1fe)])!=null?_0x14127c:this[_0x22843c(0x175)],this[_0x22843c(0x214)]=(_0x2716ca=_0x438ea3[_0x22843c(0x38e)])!=null?_0x2716ca:this[_0x22843c(0x214)],this[_0x22843c(0x278)]=(_0x10cade=_0x438ea3[_0x22843c(0x24c)])!=null?_0x10cade:this[_0x22843c(0x278)],this[_0x22843c(0x350)]=(_0x44994a=_0x438ea3[_0x22843c(0x242)])!=null?_0x44994a:this[_0x22843c(0x350)],this['transformByState']({'width':_0x438ea3[_0x22843c(0x342)],'height':_0x438ea3[_0x22843c(0x38c)]});}[_0x30d5ae(0x1dc)](_0x1c1782){const _0x16a17c=_0x30d5ae,{row:_0x561678,column:_0x21cc61}=_0x1c1782;if(_0x561678>=this[_0x16a17c(0x175)][_0x16a17c(0x29a)]&&_0x561678<=this[_0x16a17c(0x175)][_0x16a17c(0x1df)]&&_0x21cc61>=this[_0x16a17c(0x175)][_0x16a17c(0x395)]&&_0x21cc61<=this[_0x16a17c(0x175)]['endColumn']){this[_0x16a17c(0x2ce)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x6ef131){return!0x1;}[_0x30d5ae(0x1e6)](_0x57106e){const _0x4f3d5c=_0x30d5ae;_0xdd23c7[_0x4f3d5c(0x370)](_0x57106e,{'width':this[_0x4f3d5c(0x342)],'height':this[_0x4f3d5c(0x38c)],'strokeWidth':en,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x4f3d5c(0x350)]}),this[_0x4f3d5c(0x1e5)]&&(_0x57106e[_0x4f3d5c(0x18f)](),_0x57106e[_0x4f3d5c(0x36a)](0x1,0x0,0x0,0x1,this[_0x4f3d5c(0x342)],this[_0x4f3d5c(0x278)]===_0x4f3d5c(0x210)?0x0:-Q),ve[_0x4f3d5c(0x370)](_0x57106e,{'text':this[_0x4f3d5c(0x214)],'color':this[_0x4f3d5c(0x37d)]}),_0x57106e['restore']());}}var sn=Object[_0x30d5ae(0x1b6)],nn=(_0x42625d,_0x4e6ace,_0x2a0b5f,_0x4ecf3a)=>{const _0x276701=_0x30d5ae;for(var _0x3d4010=_0x4ecf3a>0x1?void 0x0:_0x4ecf3a?sn(_0x4e6ace,_0x2a0b5f):_0x4e6ace,_0x148b03=_0x42625d[_0x276701(0x1e2)]-0x1,_0x48ab1a;_0x148b03>=0x0;_0x148b03--)(_0x48ab1a=_0x42625d[_0x148b03])&&(_0x3d4010=_0x48ab1a(_0x3d4010)||_0x3d4010);return _0x3d4010;},be=(_0x19bcdf,_0xc27cde)=>(_0x16b29,_0x33b112)=>_0xc27cde(_0x16b29,_0x33b112,_0x19bcdf);const rn=0x1389;let ke=class extends _0x5e4f80{constructor(_0x519bf3,_0x1c7429,_0x33ef08,_0xc9ea17){const _0x2bdc56=_0x30d5ae;super(),_(this,_0x2bdc56(0x2b6),new Set()),_(this,'_lastPointer',null),(this[_0x2bdc56(0x23b)]=_0x519bf3,this[_0x2bdc56(0x23d)]=_0x1c7429,this[_0x2bdc56(0x2e0)]=_0x33ef08,this['_themeService']=_0xc9ea17,this[_0x2bdc56(0x30d)]());}[_0x30d5ae(0x30d)](){const _0x435a1a=_0x30d5ae;this['_sheetSkeletonManagerService'][_0x435a1a(0x277)][_0x435a1a(0x27e)](_0x2fc8e5(this[_0x435a1a(0x392)]),_0xa98073(_0x14eca7=>{const _0x2bdbad=_0x435a1a;if(_0x14eca7){const _0x69e38c=_0x14eca7['sheetId'];return _0x22eb42(this[_0x2bdbad(0x2e0)][_0x2bdbad(0x25e)](this['_context'][_0x2bdbad(0x220)]),this[_0x2bdbad(0x2c5)]['currentTheme$'])[_0x2bdbad(0x27e)](_0x59419b(([_0xffec44,_0x360d14])=>{const _0x5a2749=_0x2bdbad,_0x13ef8b=new Map();return _0xffec44[_0x5a2749(0x333)]((_0x2a46e2,_0x283d48)=>{const _0x5024ea=_0x5a2749;if(_0x2a46e2[_0x5024ea(0x339)]===_0x69e38c){const _0x122615={..._0x2a46e2};_0x122615[_0x5024ea(0x209)]=this[_0x5024ea(0x2c5)][_0x5024ea(0x234)](_0x2a46e2[_0x5024ea(0x209)]),_0x13ef8b[_0x5024ea(0x2f6)](_0x283d48,_0x122615);}}),{'skeleton':_0x14eca7,'cursors':_0x13ef8b};}));}return _0x5cdfe4({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x8f6cb3,cursors:_0xeae26f})=>{const _0x4c9322=_0x435a1a;this[_0x4c9322(0x3ab)](),_0x8f6cb3&&this['_updateCollabCursors'](_0x8f6cb3,_0xeae26f);}),this['_sheetSkeletonManagerService'][_0x435a1a(0x277)][_0x435a1a(0x21b)](_0x5cda7b=>{const _0x408664=_0x435a1a;if(_0x5cda7b==null)return;const {skeleton:_0x2027ee}=_0x5cda7b,{scene:_0x562583}=this[_0x408664(0x23b)];_0x562583[_0x408664(0x2d0)]['subscribeEvent'](_0x4c7f2c(_0x2e22a2=>{const _0x38b0c1=_0x408664;var _0x2d2a66,_0x2c76e9;const {offsetX:_0x2a9b10,offsetY:_0x1c72d5}=_0x2e22a2,{x:_0x2c758e,y:_0x529870}=_0x562583[_0x38b0c1(0x1c2)](_0xc5c427[_0x38b0c1(0x279)]([_0x2a9b10,_0x1c72d5])),{scaleX:_0x11dc8f,scaleY:_0x553e0b}=_0x562583[_0x38b0c1(0x2b3)](),_0x44522c=_0x562583['getViewport'](_0x389a38['VIEW_MAIN']),_0x5bcb1f=_0x562583[_0x38b0c1(0x194)](_0xc5c427[_0x38b0c1(0x279)]([_0x2c758e,_0x529870]),_0x44522c),_0x531b25=_0x2027ee[_0x38b0c1(0x265)](_0x2a9b10,_0x1c72d5,_0x11dc8f,_0x553e0b,_0x5bcb1f);((_0x2d2a66=this[_0x38b0c1(0x189)])==null?void 0x0:_0x2d2a66[_0x38b0c1(0x25d)])===_0x531b25[_0x38b0c1(0x25d)]&&((_0x2c76e9=this['_lastPointer'])==null?void 0x0:_0x2c76e9[_0x38b0c1(0x2c8)])===_0x531b25[_0x38b0c1(0x2c8)]||this['_cursors'][_0x38b0c1(0x333)](_0x86a734=>{_0x86a734['onMouseMove'](_0x531b25);});},0x64));});}[_0x30d5ae(0x222)](_0x4868dc,_0x202212){const _0x387edb=_0x30d5ae;var _0x55057d;const _0x3c1c33=(_0x55057d=this[_0x387edb(0x23d)][_0x387edb(0x2b1)]())==null?void 0x0:_0x55057d[_0x387edb(0x357)];if(!_0x3c1c33)return;const _0x1bd9ca=this['_getSheetObject']();if(!_0x1bd9ca)return;this[_0x387edb(0x2b6)][_0x387edb(0x333)](_0x370aa8=>{const _0x5b2fb4=_0x387edb;_0x370aa8[_0x5b2fb4(0x2b2)]();});const {scene:_0x4d430a}=_0x1bd9ca,_0x47b6db=on(Array[_0x387edb(0x3b0)](_0x202212[_0x387edb(0x1b1)]()))[_0x387edb(0x27b)](_0xedcf16=>{const _0x14936a=_0x387edb,{color:_0x163b93,range:_0x230ac5,name:_0x3b7e11,selection:_0x5d462e,sheetID:_0xec65a7}=_0xedcf16,{startColumn:_0x12b36b,startRow:_0x2b5f26,endColumn:_0x54f9ac,endRow:_0x4cae16}=_0x230ac5,_0x308e66=_0x41d966(_0x2b5f26,_0x12b36b,_0x4d430a,_0x3c1c33),_0x36838d=_0x41d966(_0x4cae16,_0x54f9ac,_0x4d430a,_0x3c1c33),{columnHeaderHeightAndMarginTop:_0x10f257}=_0x3c1c33,{startX:_0x26a83e,startY:_0x39dfe2}=_0x308e66,{endX:_0x20701e,endY:_0x4d671f}=_0x36838d,_0x461ac1=_0x20701e-_0x26a83e,_0xaca40=_0x4d671f-_0x39dfe2,_0x5ba79f={'labelPosition':_0x39dfe2-_0x10f257>=Q?_0x14936a(0x227):_0x14936a(0x210),'sheetID':_0xec65a7,'range':_0x230ac5,'color':_0x163b93,'name':_0x3b7e11,'selection':_0x5d462e,'left':_0x26a83e,'top':_0x39dfe2,'width':_0x461ac1,'height':_0xaca40,'evented':!0x1,'zIndex':rn};return new tn(_0x3b7e11,_0x5ba79f);});_0x4d430a[_0x387edb(0x269)](_0x47b6db,qi),this[_0x387edb(0x2b6)]=new Set(_0x47b6db);}[_0x30d5ae(0x3ab)](){const _0xd5a2ea=_0x30d5ae;var _0x223403;(_0x223403=this['_cursors'])==null||_0x223403[_0xd5a2ea(0x333)](_0x88676f=>_0x88676f[_0xd5a2ea(0x304)]());}[_0x30d5ae(0x240)](){const _0x45498c=_0x30d5ae;return _0x957042(this['_context'][_0x45498c(0x2bf)],this[_0x45498c(0x23b)]);}};ke=nn([be(0x1,_0x222181(_0xe45214)),be(0x2,_0x222181(H)),be(0x3,_0x222181(_0x3d07e7))],ke);function on(_0x2c1b02){const _0x2707f5=_0x30d5ae,_0x491825=new Map();return _0x2c1b02[_0x2707f5(0x333)](_0xcbcb47=>{const _0xb08f25=_0x2707f5;if(_0x491825[_0xb08f25(0x1a1)](_0xcbcb47['selection'])){const _0x335c12=_0x491825[_0xb08f25(0x2e1)](_0xcbcb47[_0xb08f25(0x1bf)]);_0x335c12[_0xb08f25(0x38e)]+=',\x20'+_0xcbcb47[_0xb08f25(0x38e)];}else _0x491825['set'](_0xcbcb47['selection'],_0xcbcb47);}),Array[_0x2707f5(0x3b0)](_0x491825[_0x2707f5(0x1b1)]());}var an=Object[_0x30d5ae(0x1b6)],cn=(_0x2ed245,_0x946184,_0x206c2e,_0xbd51b6)=>{for(var _0x193582=_0xbd51b6>0x1?void 0x0:_0xbd51b6?an(_0x946184,_0x206c2e):_0x946184,_0x334c3f=_0x2ed245['length']-0x1,_0x5a4f56;_0x334c3f>=0x0;_0x334c3f--)(_0x5a4f56=_0x2ed245[_0x334c3f])&&(_0x193582=_0x5a4f56(_0x193582)||_0x193582);return _0x193582;},F=(_0x3cd5a6,_0x3e85c2)=>(_0x3d157a,_0x19e6b0)=>_0x3e85c2(_0x3d157a,_0x19e6b0,_0x3cd5a6);let _e=class extends _0x2b1774{constructor(_0x12e4c8,_0x4b003c,_0x2487fb,_0x568569,_0x1929cb,_0x47afec){const _0x54794a=_0x30d5ae;super(),this[_0x54794a(0x2dd)]=_0x12e4c8,this[_0x54794a(0x1cd)]=_0x4b003c,this[_0x54794a(0x371)]=_0x2487fb,this[_0x54794a(0x27d)]=_0x568569,this[_0x54794a(0x204)]=_0x1929cb,this[_0x54794a(0x30f)]=_0x47afec,this[_0x54794a(0x197)](),this['_initEvent']();}[_0x30d5ae(0x197)](){const _0x30852d=_0x30d5ae;this[_0x30852d(0x3a2)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x3b02c8=_0x30852d;if(this['_localCacheService'][_0x3b02c8(0x1ee)]['size'])return this[_0x3b02c8(0x30f)]['t'](_0x3b02c8(0x344));}));}[_0x30d5ae(0x363)](){const _0x3bdacf=_0x30d5ae;this[_0x3bdacf(0x3a2)](this[_0x3bdacf(0x371)][_0x3bdacf(0x1ff)]['subscribe'](_0x4adb08=>{const _0x527630=_0x3bdacf;_0x4adb08['id']===_0x347b0f[_0x527630(0x2dc)]&&this['_messageService']['show']({'type':_0x220839['Warning'],'content':this['_localeService']['t'](_0x527630(0x262))}),_0x4adb08['id']===_0x347b0f[_0x527630(0x237)]&&this[_0x527630(0x27d)][_0x527630(0x2c3)]({'type':_0x220839[_0x527630(0x168)],'content':this[_0x527630(0x30f)]['t'](_0x527630(0x1c0))}),_0x4adb08['id']===_0x347b0f[_0x527630(0x348)]&&this['_notificationService'][_0x527630(0x2c3)]({'title':this[_0x527630(0x30f)]['t'](_0x527630(0x192)),'content':this['_localeService']['t']('permission.content'),'type':'error','duration':0x0}),_0x4adb08['id']===_0x347b0f[_0x527630(0x34b)]&&this[_0x527630(0x27d)]['show']({'type':_0x220839[_0x527630(0x336)],'content':this['_localeService']['t'](_0x527630(0x1c0))+'('+_0x4adb08[_0x527630(0x29f)]+')'}),_0x4adb08['id']===_0x347b0f[_0x527630(0x33a)]&&this['_messageService']['show']({'type':_0x220839['Warning'],'content':this[_0x527630(0x30f)]['t'](_0x4adb08[_0x527630(0x29f)]||'')}),_0x4adb08['id']===_0x347b0f[_0x527630(0x1db)]&&this[_0x527630(0x27d)][_0x527630(0x2c3)]({'type':_0x220839[_0x527630(0x168)],'content':this['_localeService']['t'](_0x527630(0x39e))}),_0x4adb08['id']===_0x347b0f[_0x527630(0x1ad)]&&this[_0x527630(0x27d)][_0x527630(0x2c3)]({'type':_0x220839[_0x527630(0x336)],'content':this[_0x527630(0x30f)]['t'](_0x527630(0x1fb))}),_0x4adb08['id']===_0x347b0f[_0x527630(0x377)]&&this[_0x527630(0x27d)][_0x527630(0x2c3)]({'type':_0x220839['Error'],'content':this[_0x527630(0x30f)]['t'](_0x527630(0x190))});}));}};_e=cn([F(0x0,_0x7b0eaa),F(0x1,_0x48babe),F(0x2,_0x222181(_0x5f2ab7)),F(0x3,_0x1fa26b),F(0x4,_0xe43240),F(0x5,_0x222181(_0xfbc0e7))],_e);var _n=Object[_0x30d5ae(0x1b6)],ln=(_0x5ba5e8,_0xcbb109,_0x3a6f8b,_0x3bf432)=>{const _0x46ca6d=_0x30d5ae;for(var _0x464ec1=_0x3bf432>0x1?void 0x0:_0x3bf432?_n(_0xcbb109,_0x3a6f8b):_0xcbb109,_0x20c5b8=_0x5ba5e8[_0x46ca6d(0x1e2)]-0x1,_0xec181f;_0x20c5b8>=0x0;_0x20c5b8--)(_0xec181f=_0x5ba5e8[_0x20c5b8])&&(_0x464ec1=_0xec181f(_0x464ec1)||_0x464ec1);return _0x464ec1;},ne=(_0x244560,_0x235fe1)=>(_0x134909,_0x2103de)=>_0x235fe1(_0x134909,_0x2103de,_0x244560);let le=class extends _0x2b1774{constructor(_0x29a329,_0x319352,_0x32c0a4,_0x4981f1){const _0x3107a2=_0x30d5ae;super(),_(this,_0x3107a2(0x17e)),(this[_0x3107a2(0x1e4)]=_0x29a329,this[_0x3107a2(0x356)]=_0x319352,this[_0x3107a2(0x33c)]=_0x32c0a4,this[_0x3107a2(0x170)]=_0x4981f1,this['_init']());}[_0x30d5ae(0x30d)](){const _0x3f8b8e=_0x30d5ae;this[_0x3f8b8e(0x229)](),this[_0x3f8b8e(0x21c)](),this['_monkeyPatchLogService'](),this['_initUserListener']();}['_initUserListener'](){const _0x100557=_0x30d5ae;this['disposeWithMe'](this[_0x100557(0x170)][_0x100557(0x2d9)]['subscribe'](_0x5c4f6d=>{const _0x161f0f=_0x100557;this[_0x161f0f(0x17e)]=_0x5c4f6d==null?void 0x0:_0x5c4f6d[_0x161f0f(0x2da)];}));}[_0x30d5ae(0x229)](){const _0x42b1af=_0x30d5ae,_0x7ad6bc=_0x28ebb8=>{const _0x534795=_0x23c8;var _0x568b6c;this['_uploadLog']('error','[Window\x20Error]:\x20'+_0x28ebb8[_0x534795(0x238)]+'\x20at\x20'+_0x28ebb8[_0x534795(0x2f2)]+':'+_0x28ebb8[_0x534795(0x2f3)]+':'+_0x28ebb8['colno']+'\x0a'+(((_0x568b6c=_0x28ebb8[_0x534795(0x2bc)])==null?void 0x0:_0x568b6c[_0x534795(0x355)])||''));};window[_0x42b1af(0x250)]('error',_0x7ad6bc),this[_0x42b1af(0x3a2)](()=>{const _0x179627=_0x42b1af;window[_0x179627(0x1a7)](_0x179627(0x2bc),_0x7ad6bc);});}[_0x30d5ae(0x21c)](){const _0x7de5a7=_0x30d5ae,_0x36369e=_0x5a9f96=>{const _0x4f7bd2=_0x23c8;this[_0x4f7bd2(0x295)](_0x4f7bd2(0x2bc),_0x4f7bd2(0x379)+_0x5a9f96[_0x4f7bd2(0x219)]);};window[_0x7de5a7(0x250)](_0x7de5a7(0x381),_0x36369e),this[_0x7de5a7(0x3a2)](()=>{const _0x5c8db1=_0x7de5a7;window[_0x5c8db1(0x1a7)](_0x5c8db1(0x381),_0x36369e);});}[_0x30d5ae(0x2b4)](){const _0x45af65=_0x30d5ae,_0x5c8053=this[_0x45af65(0x33c)][_0x45af65(0x2bc)][_0x45af65(0x354)](this[_0x45af65(0x33c)]);this[_0x45af65(0x33c)][_0x45af65(0x2bc)]=(..._0xebe6b6)=>{const _0x29d4ba=_0x45af65,_0x1c36a8=_0xebe6b6[_0x29d4ba(0x27b)](_0x32d536=>_0x32d536 instanceof Error?_0x32d536[_0x29d4ba(0x238)]+'\x0a'+_0x32d536[_0x29d4ba(0x355)]:String(_0x32d536))[_0x29d4ba(0x313)]('\x20');this[_0x29d4ba(0x295)](_0x29d4ba(0x2bc),'[LogService\x20Error]:\x20'+_0x1c36a8),_0x5c8053(..._0xebe6b6);},this[_0x45af65(0x3a2)](()=>{const _0x3238da=_0x45af65;this[_0x3238da(0x33c)][_0x3238da(0x2bc)]=_0x5c8053;});}[_0x30d5ae(0x295)](_0x4d6815,_0x12cae3){const _0x2eb209=_0x30d5ae;try{const _0xba85ca={'userId':this[_0x2eb209(0x17e)],'logLabel':_0x4d6815,'content':_0x12cae3};this[_0x2eb209(0x356)]['post']('/universer-api/frontend/logs',{'body':_0xba85ca})[_0x2eb209(0x2a7)](()=>{});}catch{}}};le=ln([ne(0x0,_0x222181(_0x5c2372)),ne(0x1,_0x222181(_0x56d4bc)),ne(0x2,_0x2b507f),ne(0x3,_0x222181(_0x90a824))],le);const hn=_0x30d5ae(0x26e),_t={};function _0x34b1(){const _0x4a86cd=['LOGIN_TOKEN_PROCESSING_FAILED','doc.mutation.rich-text-editing','ENTITLE_CHAT_LIMIT_EXCEED','focused$','_handleLeaveEvent','override','currentSkeleton$','_labelPosition','FromArray','1176677qoKxMn','map','editingUnit','_messageService','pipe','colorChannel1','roomMembers$','REDEMPTION_INVALID_CODE','green.600','SUCCESS','_scheduleClearOtherTimer','asObservable','stage','isActive','_urlService','_roomMembers$','SYNCED','getTypeOfUnitDisposed$','ticket','collabStatus.fetchMiss','split','_createSocketURL','deepClone','ACTIVE_UNIT_EVENT_CHANNEL','releaseFormulaLimitUrl','push','collab-text-anchor-','_uploadLog','_cachedData','INVALID_ARGUMENT','_taskIds','MOBILE_HAS_BEEN_BOUND','startRow','_docSyncEditingCollabCursorService','popstate','_disabled','_uiPartsService','data','getOffsetConfig','UNIVER_DOC','tag','getCurrentRevOfUnit','docStateChange$','type','url(#off-line-icon_clip0_910_343)','catch','_initEntityListener','replaceState','_transformHistoryAndStateStack','_releaseCalculationLimit','/run/','hide','transformStateCache','_collabSessionService','_hideTimer','getCurrent','makeDirty','getAncestorScale','_monkeyPatchLogService','disableLocalCache','_cursors','setStateCache','REDEMPTION_CODE_INACTIVE','/universer-api/license/formula/limit/start','delete','ENTITLE_DUP_SUBSCRIPTION','error','_getFormulaLimitStatus','PY_RUNTIME_SCRIPT_ERROR','unit','getformulaLimitStatusUrl','_currentUsage','ENTITLE_REPORT_LIMIT_EXCEED','show','jiqing.500','_themeService','_onCursorUpdate','registerRefRange','row','REDEMPTION_CODE_NOT_STARTED','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','currentUsage','_setupSubUnitSync','_memberService','setShapeProps','includes','onPointerMove$','cursorInfo','getSkeleton','addObject','_cursorShapes','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','text','_handleHover','white','socket$','memberID','trim','OTHER_CLIENT_EDITING','_beforeCloseService','debug','_getScale','_collabCursorController','get','_eventUnsubscribe','_status$','UNDEFINED','INVITE_CODE_ALREADY_BOUND','REDEMPTION_USER_NOT_ELIGIBLE','getActiveRange','_docTransformSelectionsService','urlChange$','Success','_startCalculationLimit','_session','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_checkCalculationAvailable','collab-text-range-','none','toString','filename','lineno','clearTimeout','AUTHORIZE_CODE_ILLEGAL','set','min','ENTITLE_NEED_BILLING_ADDRESS','_registerRenderDependencies','?taskId=','YUUMI_TABLE_NOT_FOUND_IN_UNIT','restore','onRendered','getMergeData','WECHAT_HAS_BEEN_BOUND','[CollaborationDataLoaderController]','_document','0\x200\x2016\x2016','_drawRectRange','dispose','REDEMPTION_CODE_FULLY_REDEEMED','subscribeEvent','UPDATE_CURSOR','getParam','clipPath','setParam','_maxFormulaLimit','_configService','_init','origin','_localeService','_handleHeartbeatEvent','createInstance','mutations','join','toRgbString','find','fill','MUTATION','activeSheet$','RemoveColCommandId','xlink:href','getSheetBySheetId','idSuffix','LICENSE_IMPORT_SIZE_EXCEEDED','executeCommand','NO_OTHER_CLIENTS_EDITING','_hasFormulaInDirtyRanges','textRanges','YUUMI_URL_COL_OUT_OF_RANGE','_onRefRangeChange','enableLocalCache','ENTITLE_INVALID_COUPON_CODE','body','unitID','6618325hwAODG','clearInterval','_imageIoService','some','_univerInstanceService','USER_NOT_FOUND','next','replace','syncEditingCollabCursor','arc','YUUMI_RATE_OVER_LIMIT','forEach','_startDocCollabCursor','subunit','Error','stageInfo','actions','sheetID','JOIN_ROOM_FAILED','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_logService','_clearOtherTimers','_pollingInterval','_shapes','_getAnchorBounding','SNAPSHOT_HAS_BEEN_REMOVED','width','OnLineIcon','collaboration.offline-data-not-saved','_textBubble','CURRENT_STATUS_CANNOT_OPERATE','_updateURLWithCurrentState','PERMISSION_DENIED','YUUMI_ASYNCIO_CANCELLED','_drawTextRange','CONFLICT','subUnitId','transformMutation','_cursorInfo$','_renderManagerService','_backgroundColor','15566950cBLdYj','collabStatus.conflict','_send','bind','stack','_httpService','skeleton','red.300','APPLY_REVISION_CONFILICT','size','flatMap','loadUnit','formula.calculation.waiting','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','whenReady','use','unsubscribe','EMAIL_HAS_BEEN_BOUND','_initEvent','assign','getValue','current','eventID','string','ranges','transform','APPLY_NON_SEQUENTIAL_REVISION','_anchorDot','replaceDocRanges','sessionTicket','setTimeout','drawWith','_collaborationUIEventService','EMAIL_VERIFY_CODE_MISMATCH','off-line-icon_clip0_910_343','14ntjqGc','YUUMI_CONNECTOR_URL_NOT_FOUND','transformMutationsWithChangeset','SUBMIT_CHANGESET_TIMEOUT','addClipboardHook','[Unhandled\x20Rejection]:\x20','PAYMENT_CHANNEL_NOT_SUPPORT','entries','_initResize','_color','max','_clearPolling','AWAITING_WITH_PENDING','unhandledrejection','_anchor','6609552JAtpmK','Unknown\x20user','UNIVER_SHEET','invokeId','engine','defs','_onCursorDelete','_updateLocalCursor','status$','height','_initStatusListener','name','blue.400','enableFrontendLog','_getMergeRange','dispose$','onPointerLeave$','parse','startColumn','_updateSubUnitFromURLParams','code','black','loadOfflineData','_commandService','formula.calculation.unable','ONLINE','ENTITLE_USE_COUPON_NOT_1ST_TRADE','session.will-retry','TOO_MANY_REQUESTS','getUnitId','getMember','disposeWithMe','getConfig','INTERNAL_ERROR','UNAUTHENTICATED','getStateCache','isArray','CHANGESET_REVISION_CONFILICT','INVALID_INVITE_CODE','/universer-api/license/formula/limit/status','_removeCollabCursors','_instanceService','moveTo','LICENSE_EXPORT_SIZE_EXCEEDED','_toggleOnline','from','imageSourceType','_unitOnClients','Warning','74456aaOcSE','_dataLoaderService','ENTITLE_INSUFFICIENT_QUOTA','url(#$1','with','sessionStatus$','_initStatusComponent','_collaborationSessionService','unshift','_registerDependencies','_revisionService','transformRemoteChangeset','_range','collab-client.tooltip.reconnect','LOGIN_FAILED','round','m1Prime','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','beforeCommandExecuted','exhaustSavingTask','_saveTaskMap','_memberID','INVITE_CODE_HAS_BEEN_UES','on-line-icon_clip0_910_349','send','YUUMI_AI_RUN_FAILED','2931946doyGni','univer-flex\x20univer-items-center','_assignedColors','INVITE_CODE_REQUIRED','_docClipboardService','_toggleOffline','_lastPointer','attrs','searchParams','shift','setAlpha','collabStatus.notCollab','save','session.collaboration-timeout','font','permission.title','transformIMECache','getVpScrollXYInfoByPosToVp','277902QXiugL','_lastResponseTimestamp','_setupBeforeClosingHandler','REDEMPTION_CODE_HAS_BEEN_CREATED','removeParam','getUndoRedoMutationParamsCache','_scene','SNAPSHOT_INVALID_SNAPSHOT','isEditing','onLocalMutation','rgba(255,\x20255,\x20255,\x200.01)','_getSaveTimeout','has','_transformPreviousActiveRange','defIds','registerRenderModule','functionsExecutedState','onTransformChange$','removeEventListener','application/json','then','evenodd','138KUqehx','YUUMI_UNABLE_LOAD_URL','SOCKET_FAILED','collabStatus.synced','_transformUndoRedoStack','createSocket','values','_handleEvent','div','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_initCommandExecutedListener','getOwnPropertyDescriptor','1em','_scheduleSaving','#FFF','...','NOT_COLLAB','purple.300','url(#on-line-icon_clip0_910_349)','START_CALCULATION','selection','collaboration.closeRoom','_removeClearOtherTimer','getRelativeToViewportCoord','TEXT','hovered','updateOfflineData','ERROR_AGAIN','pushState','setUndoRedoMutationParamsCache','getSheetId','_docSkeleton','pluginName','CONNECTOR_DATA_TOO_LARGE','_localCacheService','LICENSE_MAX_UNITS_EXCEEDED','APPLY_PERMISSION_DENIED','unload','_handleJoinEvent','MOBILE_VERIFY_CODE_MISMATCH','limitInfo','UniverIcon','collab-rect-range-','href','lineTo','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','18iitwOa','displayName','SOCKET_FAILED_RETRY','onMouseMove','_showGuardMessage','svg','endRow','_drawAnchor','m2Prime','length','parseInt','_injector','_hovered','_draw','_online','add','_collaborationController','_id','init','_docTransformIMECacheService','_cursor','saveTaskMap','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','/universer-api/license/formula/limit/done','result','getCellMatrix','http://www.w3.org/2000/svg','setItem','getFocusedUnit','complete','mask','stringify','_entityInit$','newValue','session.connection-failed','closePath','YUUMI_NO_CUBOID_FOR_QUESTION','range','event$','USER_NOT_INVITED_CODE','now','post','getUnit','_notificationService','_ensureSubject','_unitStatus','USERS_LEAVE','REDEMPTION_USER_REDEEM_TIMES_EXCEED','color','YUUMI_ALL_TABLES_IS_INVALID','_heartbeatTimer','NOT_FOUND','_setFormulaLimitStatus','cursorInfo$','transformSelections','bottom','measureText','_syncEditingCollabCursorService','_colorIndex','_name','defineProperty','requireSession','OTHER_CLIENTS_EDITING','getCollabEntity$','reason','findNodePositionByCharIndex','subscribe','_initUnhandledRejectionListener','_saveCache','0\x200\x2017\x2016','children','unitId','_config','_updateCollabCursors','Failed','PENDING','_refreshCollabCursors','getUnhiddenWorksheets','top','_entities','_initWindowErrorListener','DATA_SOURCE_TOO_LARGE','path','_checkAndWaitForCalculationPermission','_collabCursorState$','M0\x200H16V16H0z','InsertRowCommandId','AWAITING','getItem','_hover','maxFormulaLimit','getColorFromTheme','_getSessionTicket','wsSessionTicketUrl','CLOSE_ROOM','message','totalFormulasToCalculate','uni.network.url-service','_context','InsertRangeMoveRightCommandId','_sheetSkeletonManagerService','APPLY_REJECT','_docTransformStateCacheService','_getSheetObject','off-line-icon','backgroundColor','getRangePointData','getUnitStatus$','_docSkeletonManagerService','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_scheduleHeartbeat','location','univer-mr-2\x20univer-flex\x20univer-text-xl','history','onCommandExecuted','labelPosition','setConfig','InsertRangeMoveDownCommandId','random','addEventListener','endColumn','_refRangeService','YUUMI_SUBSCRIPTION_NOT_FOUND','runOnServer','_docStateChangeManagerService','LICENSE_DISTRO_REJECTED','USER_IS_ANONYMOUS','_selfUnitIDs','_localStorageService','_initDependencies','UNRECOGNIZED','_transformService','column','getCollabCursors$','runId','ENTITLE_COUPON_EXPIRED','_colorAssignService','collaboration.single-unit.warning','ALREADY_EXISTS','params','getCellPositionByOffset','[RemoteUniscriptService]:\x20no\x20focused\x20unit','RECT','getRenderById','addObjects','startFormulaLimitUrl','ENSURE_SNAPSHOT_EXECUTION','key','setActiveRange','collaboration-client-ui.config','assignAColorForMemberID','onPointerEnter$'];_0x34b1=function(){return _0x4a86cd;};return _0x34b1();}var un=Object[_0x30d5ae(0x1b6)],dn=(_0x178166,_0x41e1f7,_0x281221,_0x5b1653)=>{const _0xfaedc=_0x30d5ae;for(var _0x2c0353=_0x5b1653>0x1?void 0x0:_0x5b1653?un(_0x41e1f7,_0x281221):_0x41e1f7,_0x4ae93e=_0x178166[_0xfaedc(0x1e2)]-0x1,_0x53f7d2;_0x4ae93e>=0x0;_0x4ae93e--)(_0x53f7d2=_0x178166[_0x4ae93e])&&(_0x2c0353=_0x53f7d2(_0x2c0353)||_0x2c0353);return _0x2c0353;},lt=(_0x4cd0e5,_0x106b4e)=>(_0x552018,_0x574573)=>_0x106b4e(_0x552018,_0x574573,_0x4cd0e5);let he=class{constructor(_0x4794f0,_0x4c869c){const _0x539845=_0x30d5ae;this['_transformService']=_0x4794f0,this[_0x539845(0x34f)]=_0x4c869c;}[_0x30d5ae(0x193)](_0x27cdd6){const _0x5a72d9=_0x30d5ae;this[_0x5a72d9(0x1af)](_0x27cdd6),this[_0x5a72d9(0x1a2)](_0x27cdd6);}[_0x30d5ae(0x174)](_0x515a37){const _0x2e2b56=_0x30d5ae,{unitID:_0x76f108}=_0x515a37,_0x2f619a=this[_0x2e2b56(0x34f)][_0x2e2b56(0x268)](_0x76f108)[_0x2e2b56(0x16d)](_0x3eb2f8),{redoCache:_0x7c06a7}=_0x2f619a[_0x2e2b56(0x19a)]();if(_0x7c06a7[_0x2e2b56(0x1e2)]===0x0)return _0x515a37;let _0x1e0614=_0x135a99[_0x2e2b56(0x290)](_0x515a37['mutations'][0x0]);for(let _0x170404=0x0;_0x170404<_0x7c06a7['length'];_0x170404++){const _0x3c8af6={'id':'doc.mutation.rich-text-editing','params':{..._0x7c06a7[_0x170404]}},_0x3f5315=this[_0x2e2b56(0x25c)][_0x2e2b56(0x34d)](_0x1e0614,_0x3c8af6,!0x1);if(_0x195bf6(_0x3f5315))throw _0x3f5315['error'];_0x1e0614=_0x3f5315[_0x2e2b56(0x179)];}return{..._0x135a99['deepClone'](_0x515a37),'mutations':[_0x1e0614]};}[_0x30d5ae(0x1af)](_0x27b936){const _0x40a3e6=_0x30d5ae,{unitID:_0x221001}=_0x27b936,_0x42f1f9=this[_0x40a3e6(0x34f)]['getRenderById'](_0x221001)[_0x40a3e6(0x16d)](_0x3eb2f8),{undoCache:_0x3fbeba,redoCache:_0x490353}=_0x42f1f9[_0x40a3e6(0x19a)]();if(_0x3fbeba[_0x40a3e6(0x1e2)]===0x0||_0x490353['length']===0x0)return;const _0x1cdf71=[],_0x164969=[];let _0x5173c6=_0x135a99[_0x40a3e6(0x290)](_0x27b936[_0x40a3e6(0x312)][0x0]),_0x5a5aa7=_0x135a99[_0x40a3e6(0x290)](_0x27b936[_0x40a3e6(0x312)][0x0]);for(let _0x1be91c=_0x3fbeba[_0x40a3e6(0x1e2)]-0x1;_0x1be91c>=0x0;_0x1be91c--){const _0x12c9a0={'id':_0x40a3e6(0x272),'params':{..._0x3fbeba[_0x1be91c]}},_0x55cfc4={'id':_0x40a3e6(0x272),'params':{..._0x490353[_0x1be91c]}},_0x3279d7=this[_0x40a3e6(0x25c)][_0x40a3e6(0x34d)](_0x5173c6,_0x12c9a0,!0x1),_0x3e0896=this[_0x40a3e6(0x25c)][_0x40a3e6(0x34d)](_0x5a5aa7,_0x55cfc4,!0x1);if(_0x195bf6(_0x3279d7))throw _0x3279d7[_0x40a3e6(0x2bc)];if(_0x195bf6(_0x3e0896))throw _0x3e0896[_0x40a3e6(0x2bc)];_0x1cdf71[_0x40a3e6(0x171)](_0x3279d7[_0x40a3e6(0x1e1)][_0x40a3e6(0x264)]),_0x164969['unshift'](_0x3e0896[_0x40a3e6(0x1e1)][_0x40a3e6(0x264)]),_0x5173c6=_0x3279d7['m1Prime'],_0x5a5aa7=_0x3e0896['m1Prime'];}_0x42f1f9[_0x40a3e6(0x1c8)]({'undoCache':_0x1cdf71,'redoCache':_0x164969});}[_0x30d5ae(0x1a2)](_0x568663){const _0x2c1053=_0x30d5ae,{unitID:_0x27ac4e}=_0x568663,_0x4477c2=this[_0x2c1053(0x34f)][_0x2c1053(0x268)](_0x27ac4e)[_0x2c1053(0x16d)](_0x3eb2f8),_0x4204c8=_0x4477c2[_0x2c1053(0x2e7)]();if(_0x4204c8==null)return;const _0x43debe=[{'id':_0x2c1053(0x272),'params':{'unitId':_0x568663[_0x2c1053(0x327)],'actions':null,'textRanges':[_0x4204c8]}}],_0x3d4a90=this[_0x2c1053(0x25c)][_0x2c1053(0x376)](_0x568663,_0x43debe);if(!_0x19e129(_0x3d4a90))throw _0x3d4a90[_0x2c1053(0x2bc)];const _0x4f17df=_0x3d4a90[_0x2c1053(0x1e1)][0x0][_0x2c1053(0x264)][_0x2c1053(0x321)];Array['isArray'](_0x4f17df)&&_0x4f17df[_0x2c1053(0x1e2)]&&_0x4477c2[_0x2c1053(0x26d)](_0x4f17df[0x0]);}};he=dn([lt(0x0,_0x1dc34f),lt(0x1,_0x1695e4)],he);var Sn=Object[_0x30d5ae(0x1b6)],In=(_0x1b6dab,_0x374b5a,_0x5e05a1,_0x3e58f1)=>{for(var _0x2004f4=_0x3e58f1>0x1?void 0x0:_0x3e58f1?Sn(_0x374b5a,_0x5e05a1):_0x374b5a,_0x33cc82=_0x1b6dab['length']-0x1,_0x3a56b2;_0x33cc82>=0x0;_0x33cc82--)(_0x3a56b2=_0x1b6dab[_0x33cc82])&&(_0x2004f4=_0x3a56b2(_0x2004f4)||_0x2004f4);return _0x2004f4;},Le=(_0x496d2f,_0x31f509)=>(_0x106ded,_0x2266ea)=>_0x31f509(_0x106ded,_0x2266ea,_0x496d2f);let ue=class{constructor(_0x486154,_0x278464,_0x16f607){const _0x40a352=_0x30d5ae;this['_injector']=_0x486154,this[_0x40a352(0x25c)]=_0x278464,this[_0x40a352(0x255)]=_0x16f607;}[_0x30d5ae(0x2ae)](_0x4b444a){const _0x2a1abf=_0x30d5ae;this[_0x2a1abf(0x2aa)](_0x4b444a);}['transformRemoteChangeset'](_0x1190b8){const _0x6ca8df=_0x30d5ae,{unitID:_0x1aad3b}=_0x1190b8,{collaboration:_0x56a2c8}=this[_0x6ca8df(0x255)][_0x6ca8df(0x3a6)](_0x1aad3b);if(_0x56a2c8[_0x6ca8df(0x1e2)]===0x0)return _0x1190b8;let _0x18e765=_0x135a99[_0x6ca8df(0x290)](_0x1190b8[_0x6ca8df(0x312)][0x0]);for(let _0xd58fed=0x0;_0xd58fed<_0x56a2c8[_0x6ca8df(0x1e2)];_0xd58fed++){const _0x426a2e={'id':_0x6ca8df(0x272),'params':{'unitId':_0x56a2c8[_0xd58fed][_0x6ca8df(0x220)],..._0x56a2c8[_0xd58fed]['redoState']}},_0x532058=this[_0x6ca8df(0x25c)]['transformMutation'](_0x18e765,_0x426a2e,!0x1);if(_0x195bf6(_0x532058))throw _0x532058[_0x6ca8df(0x2bc)];_0x18e765=_0x532058['m1Prime'];}return{..._0x135a99[_0x6ca8df(0x290)](_0x1190b8),'mutations':[_0x18e765]};}[_0x30d5ae(0x2aa)](_0x107e21){const _0x394ae0=_0x30d5ae,{unitID:_0x27729b}=_0x107e21,{history:_0x2f234b,collaboration:_0xb2699e}=this[_0x394ae0(0x255)][_0x394ae0(0x3a6)](_0x27729b);if(_0x2f234b[_0x394ae0(0x1e2)]===0x0&&_0xb2699e['length']===0x0)return;const _0xf4e66c=[],_0xa817d9=[];let _0x30dc09=_0x135a99[_0x394ae0(0x290)](_0x107e21[_0x394ae0(0x312)][0x0]),_0x397417=_0x135a99[_0x394ae0(0x290)](_0x107e21[_0x394ae0(0x312)][0x0]);for(let _0x50d864=_0x2f234b['length']-0x1;_0x50d864>=0x0;_0x50d864--){const _0x30e7c4={'id':_0x394ae0(0x272),'params':{'unitId':_0x2f234b[_0x50d864][_0x394ae0(0x220)],..._0x2f234b[_0x50d864]['undoState']}},_0x386e7b={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2f234b[_0x50d864][_0x394ae0(0x220)],..._0x2f234b[_0x50d864]['redoState']}},_0x30782a=this[_0x394ae0(0x25c)][_0x394ae0(0x34d)](_0x30dc09,_0x30e7c4,!0x1),_0x236d45=this[_0x394ae0(0x25c)][_0x394ae0(0x34d)](_0x397417,_0x386e7b,!0x1);if(_0x195bf6(_0x30782a))throw _0x30782a[_0x394ae0(0x2bc)];if(_0x195bf6(_0x236d45))throw _0x236d45['error'];_0xf4e66c[_0x394ae0(0x171)]({..._0x2f234b[_0x50d864],'undoState':_0x30782a[_0x394ae0(0x1e1)][_0x394ae0(0x264)],'redoState':_0x236d45[_0x394ae0(0x1e1)]['params']}),_0x30dc09=_0x30782a['m1Prime'],_0x397417=_0x236d45['m1Prime'];}_0x30dc09=_0x135a99[_0x394ae0(0x290)](_0x107e21['mutations'][0x0]),_0x397417=_0x135a99[_0x394ae0(0x290)](_0x107e21[_0x394ae0(0x312)][0x0]);for(let _0x3691c8=_0xb2699e[_0x394ae0(0x1e2)]-0x1;_0x3691c8>=0x0;_0x3691c8--){const _0x121611={'id':_0x394ae0(0x272),'params':{'unitId':_0xb2699e[_0x3691c8][_0x394ae0(0x220)],..._0xb2699e[_0x3691c8]['undoState']}},_0x1bf4ee={'id':_0x394ae0(0x272),'params':{'unitId':_0xb2699e[_0x3691c8][_0x394ae0(0x220)],..._0xb2699e[_0x3691c8]['redoState']}},_0x2019e4=this[_0x394ae0(0x25c)][_0x394ae0(0x34d)](_0x30dc09,_0x121611,!0x1),_0x45175d=this['_transformService'][_0x394ae0(0x34d)](_0x397417,_0x1bf4ee,!0x1);if(_0x195bf6(_0x2019e4))throw _0x2019e4[_0x394ae0(0x2bc)];if(_0x195bf6(_0x45175d))throw _0x45175d[_0x394ae0(0x2bc)];_0xa817d9[_0x394ae0(0x171)]({..._0xb2699e[_0x3691c8],'undoState':_0x2019e4[_0x394ae0(0x1e1)][_0x394ae0(0x264)],'redoState':_0x45175d['m2Prime'][_0x394ae0(0x264)]}),_0x30dc09=_0x2019e4[_0x394ae0(0x179)],_0x397417=_0x45175d[_0x394ae0(0x179)];}this[_0x394ae0(0x255)][_0x394ae0(0x2b7)](_0x27729b,{'history':_0xf4e66c,'collaboration':_0xa817d9});}};ue=In([Le(0x0,_0x222181(_0x5c2372)),Le(0x1,_0x1dc34f),Le(0x2,_0x222181(_0x4221a5))],ue);var mn=Object[_0x30d5ae(0x1b6)],fn=(_0x398efa,_0x398ace,_0x49a7b5,_0x3e142d)=>{const _0x2f05e5=_0x30d5ae;for(var _0x4b62b9=_0x3e142d>0x1?void 0x0:_0x3e142d?mn(_0x398ace,_0x49a7b5):_0x398ace,_0x2e995f=_0x398efa[_0x2f05e5(0x1e2)]-0x1,_0x4b3932;_0x2e995f>=0x0;_0x2e995f--)(_0x4b3932=_0x398efa[_0x2e995f])&&(_0x4b62b9=_0x4b3932(_0x4b62b9)||_0x4b62b9);return _0x4b62b9;},ht=(_0x564e53,_0x35b959)=>(_0x104e68,_0x127543)=>_0x35b959(_0x104e68,_0x127543,_0x564e53);let de=class{constructor(_0x4cc8c9,_0x349d53){const _0x313cbe=_0x30d5ae;this[_0x313cbe(0x1e4)]=_0x4cc8c9,this[_0x313cbe(0x25c)]=_0x349d53;}[_0x30d5ae(0x20f)](_0x310575){const _0x34b52a=_0x30d5ae;var _0x13d6e2;const _0x17a817=this[_0x34b52a(0x1e4)]['get'](_0x1bbf56),_0x19cc65=(_0x13d6e2=_0x17a817['getDocRanges']())!=null?_0x13d6e2:[];if(_0x19cc65[_0x34b52a(0x1e2)]===0x0)return;const _0x254fff=_0x310575[_0x34b52a(0x327)],_0x2770a6=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x254fff,'actions':null,'textRanges':_0x19cc65}}],_0x3577f1=this[_0x34b52a(0x25c)]['transformMutationsWithChangeset'](_0x310575,_0x2770a6);if(!_0x19e129(_0x3577f1))throw _0x3577f1['error'];const _0x44b9eb=_0x3577f1[_0x34b52a(0x1e1)][0x0][_0x34b52a(0x264)]['textRanges'];Array[_0x34b52a(0x3a7)](_0x44b9eb)&&_0x44b9eb[_0x34b52a(0x1e2)]&&_0x17a817[_0x34b52a(0x36d)](_0x44b9eb,{'unitId':_0x254fff,'subUnitId':_0x254fff},!0x1);}};de=fn([ht(0x0,_0x222181(_0x5c2372)),ht(0x1,_0x1dc34f)],de);var gn=Object[_0x30d5ae(0x1b6)],En=(_0x351667,_0x5d6026,_0x6cf230,_0x33ff8b)=>{const _0x174617=_0x30d5ae;for(var _0x2bdcf7=_0x33ff8b>0x1?void 0x0:_0x33ff8b?gn(_0x5d6026,_0x6cf230):_0x5d6026,_0x4d60c6=_0x351667[_0x174617(0x1e2)]-0x1,_0x527a5a;_0x4d60c6>=0x0;_0x4d60c6--)(_0x527a5a=_0x351667[_0x4d60c6])&&(_0x2bdcf7=_0x527a5a(_0x2bdcf7)||_0x2bdcf7);return _0x2bdcf7;},U=(_0x1d0b25,_0x1be092)=>(_0x21ebc6,_0xf6c589)=>_0x1be092(_0x21ebc6,_0xf6c589,_0x1d0b25);let Se=class extends _0x2b1774{constructor(_0x4b30fe,_0xb3464f,_0x3e51d3,_0x3c6a4f,_0x37f4bd,_0x3cb2ee,_0x175aa9,_0x399947){const _0x561165=_0x30d5ae;super(),_(this,'_status$',new _0x2eea28(_0x555c2c[_0x561165(0x1bb)])),(this[_0x561165(0x255)]=_0x4b30fe,this[_0x561165(0x1e9)]=_0xb3464f,this['_docTransformIMECacheService']=_0x3e51d3,this[_0x561165(0x23f)]=_0x3c6a4f,this[_0x561165(0x2e8)]=_0x37f4bd,this['_docSyncEditingCollabCursorService']=_0x3cb2ee,this[_0x561165(0x27d)]=_0x175aa9,this['_localeService']=_0x399947,this['_initEntityListener']());}[_0x30d5ae(0x2a8)](){const _0xda49d6=_0x30d5ae;this[_0xda49d6(0x3a2)](this[_0xda49d6(0x1e9)]['entityInit$'][_0xda49d6(0x21b)](_0x56ea12=>{const _0x2e7e05=_0xda49d6,_0x5d20d7=this[_0x2e7e05(0x255)][_0x2e7e05(0x2a4)][_0x2e7e05(0x21b)](_0x384de4=>{const _0x156261=_0x2e7e05;if(_0x384de4==null)return;const {unitId:_0x5d57e3,redoState:_0x4c1de7,commandId:_0x21a342}=_0x384de4;if(_0x5d57e3!==_0x56ea12[_0x156261(0x327)])return;const _0x1a3b0e={'id':_0x21a342,'type':_0x5139cf[_0x156261(0x317)],'params':{'unitId':_0x5d57e3,'actions':_0x4c1de7[_0x156261(0x338)],'textRanges':null}};_0x56ea12[_0x156261(0x19e)](_0x1a3b0e);});if(_0x56ea12[_0x2e7e05(0x3a2)](_0x5d20d7),_0x56ea12 instanceof _0x2afc30){const _0x3bde68={'onTransformIME':_0x259d8a=>this[_0x2e7e05(0x1ec)][_0x2e7e05(0x193)](_0x259d8a),'onTransformState':_0x3db5b7=>this[_0x2e7e05(0x23f)]['transformStateCache'](_0x3db5b7),'onTransformSelections':_0x56aab1=>this['_docTransformSelectionsService'][_0x2e7e05(0x20f)](_0x56aab1),'onSyncEditingCollabCursor':_0x3ee4ed=>this[_0x2e7e05(0x29b)][_0x2e7e05(0x330)](_0x3ee4ed),'onTransformRemoteChangesetByIMECache':_0x1ecb91=>this[_0x2e7e05(0x1ec)][_0x2e7e05(0x174)](_0x1ecb91),'onTransformRemoteChangesetByStateCache':_0x14bb8f=>this[_0x2e7e05(0x23f)][_0x2e7e05(0x174)](_0x14bb8f)};_0x56ea12['addHandlerCallback'](_0x3bde68);}}));}};Se=En([U(0x0,_0x222181(_0x4221a5)),U(0x1,_0x222181(_0x366818)),U(0x2,_0x222181(he)),U(0x3,_0x222181(ue)),U(0x4,_0x222181(de)),U(0x5,_0x222181(ze)),U(0x6,_0x1fa26b),U(0x7,_0x222181(_0xfbc0e7))],Se);var Z=(_0x3076e6=>(_0x3076e6[_0x3076e6['UNDEFINED']=0x0]=_0x30d5ae(0x2e4),_0x3076e6[_0x3076e6['OK']=0x1]='OK',_0x3076e6[_0x3076e6[_0x30d5ae(0x3a4)]=0x2]=_0x30d5ae(0x3a4),_0x3076e6[_0x3076e6['PERMISSION_DENIED']=0x3]=_0x30d5ae(0x348),_0x3076e6[_0x3076e6['NOT_FOUND']=0x4]=_0x30d5ae(0x20c),_0x3076e6[_0x3076e6['UNAUTHENTICATED']=0x5]=_0x30d5ae(0x3a5),_0x3076e6[_0x3076e6[_0x30d5ae(0x263)]=0x6]='ALREADY_EXISTS',_0x3076e6[_0x3076e6[_0x30d5ae(0x297)]=0x7]=_0x30d5ae(0x297),_0x3076e6[_0x3076e6[_0x30d5ae(0x39f)]=0x8]='TOO_MANY_REQUESTS',_0x3076e6[_0x3076e6['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x3076e6[_0x3076e6[_0x30d5ae(0x177)]=0xa]=_0x30d5ae(0x177),_0x3076e6[_0x3076e6['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x30d5ae(0x1d2),_0x3076e6[_0x3076e6[_0x30d5ae(0x17a)]=0xc]=_0x30d5ae(0x17a),_0x3076e6[_0x3076e6['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x30d5ae(0x372),_0x3076e6[_0x3076e6[_0x30d5ae(0x2d5)]=0xe]=_0x30d5ae(0x2d5),_0x3076e6[_0x3076e6[_0x30d5ae(0x2f5)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x3076e6[_0x3076e6[_0x30d5ae(0x271)]=0x10]=_0x30d5ae(0x271),_0x3076e6[_0x3076e6[_0x30d5ae(0x346)]=0x64]=_0x30d5ae(0x346),_0x3076e6[_0x3076e6[_0x30d5ae(0x1c6)]=0x65]=_0x30d5ae(0x1c6),_0x3076e6[_0x3076e6['USER_NOT_FOUND']=0xc9]=_0x30d5ae(0x32d),_0x3076e6[_0x3076e6[_0x30d5ae(0x257)]=0xca]='USER_IS_ANONYMOUS',_0x3076e6[_0x3076e6[_0x30d5ae(0x3a8)]=0x1389]=_0x30d5ae(0x3a8),_0x3076e6[_0x3076e6['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x30d5ae(0x19c),_0x3076e6[_0x3076e6[_0x30d5ae(0x341)]=0x1772]=_0x30d5ae(0x341),_0x3076e6[_0x3076e6['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x30d5ae(0x26b),_0x3076e6[_0x3076e6[_0x30d5ae(0x23e)]=0x1b59]=_0x30d5ae(0x23e),_0x3076e6[_0x3076e6[_0x30d5ae(0x36b)]=0x1b5a]=_0x30d5ae(0x36b),_0x3076e6[_0x3076e6[_0x30d5ae(0x359)]=0x1b5b]=_0x30d5ae(0x359),_0x3076e6[_0x3076e6[_0x30d5ae(0x1cf)]=0x1b5c]=_0x30d5ae(0x1cf),_0x3076e6[_0x3076e6['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x3076e6[_0x3076e6[_0x30d5ae(0x1cc)]=0x1f41]=_0x30d5ae(0x1cc),_0x3076e6[_0x3076e6[_0x30d5ae(0x1ce)]=0x2329]=_0x30d5ae(0x1ce),_0x3076e6[_0x3076e6[_0x30d5ae(0x1ef)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x3076e6[_0x3076e6['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x30d5ae(0x31d),_0x3076e6[_0x3076e6[_0x30d5ae(0x3ae)]=0x232c]=_0x30d5ae(0x3ae),_0x3076e6[_0x3076e6[_0x30d5ae(0x256)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x3076e6[_0x3076e6[_0x30d5ae(0x1ac)]=0x2711]=_0x30d5ae(0x1ac),_0x3076e6[_0x3076e6['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x30d5ae(0x322),_0x3076e6[_0x3076e6['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x30d5ae(0x332),_0x3076e6[_0x3076e6['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x30d5ae(0x253),_0x3076e6[_0x3076e6[_0x30d5ae(0x1fd)]=0x271a]=_0x30d5ae(0x1fd),_0x3076e6[_0x3076e6[_0x30d5ae(0x349)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x3076e6[_0x3076e6['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x30d5ae(0x2fb),_0x3076e6[_0x3076e6[_0x30d5ae(0x20a)]=0x271d]=_0x30d5ae(0x20a),_0x3076e6[_0x3076e6[_0x30d5ae(0x246)]=0x271e]=_0x30d5ae(0x246),_0x3076e6[_0x3076e6[_0x30d5ae(0x182)]=0x271f]=_0x30d5ae(0x182),_0x3076e6[_0x3076e6['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x30d5ae(0x375),_0x3076e6[_0x3076e6['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x30d5ae(0x2be),_0x3076e6[_0x3076e6['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x30d5ae(0x17f),_0x3076e6[_0x3076e6[_0x30d5ae(0x3a9)]=0x2ee2]='INVALID_INVITE_CODE',_0x3076e6[_0x3076e6['INVITE_CODE_REQUIRED']=0x2ee3]=_0x30d5ae(0x186),_0x3076e6[_0x3076e6[_0x30d5ae(0x200)]=0x2ee4]=_0x30d5ae(0x200),_0x3076e6[_0x3076e6['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x30d5ae(0x2e5),_0x3076e6[_0x3076e6[_0x30d5ae(0x2ff)]=0x32c9]=_0x30d5ae(0x2ff),_0x3076e6[_0x3076e6[_0x30d5ae(0x299)]=0x32ca]=_0x30d5ae(0x299),_0x3076e6[_0x3076e6[_0x30d5ae(0x362)]=0x32cb]=_0x30d5ae(0x362),_0x3076e6[_0x3076e6[_0x30d5ae(0x33b)]=0x36b1]=_0x30d5ae(0x33b),_0x3076e6[_0x3076e6[_0x30d5ae(0x1b4)]=0x36b2]=_0x30d5ae(0x1b4),_0x3076e6[_0x3076e6[_0x30d5ae(0x2bb)]=0x36b3]=_0x30d5ae(0x2bb),_0x3076e6[_0x3076e6['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x30d5ae(0x37a),_0x3076e6[_0x3076e6[_0x30d5ae(0x325)]=0x36b5]=_0x30d5ae(0x325),_0x3076e6[_0x3076e6[_0x30d5ae(0x260)]=0x36b6]=_0x30d5ae(0x260),_0x3076e6[_0x3076e6['ENTITLE_COUPON_USED_UP']=0x36b7]='ENTITLE_COUPON_USED_UP',_0x3076e6[_0x3076e6[_0x30d5ae(0x39d)]=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x3076e6[_0x3076e6[_0x30d5ae(0x273)]=0x3715]=_0x30d5ae(0x273),_0x3076e6[_0x3076e6[_0x30d5ae(0x2c2)]=0x3716]=_0x30d5ae(0x2c2),_0x3076e6[_0x3076e6[_0x30d5ae(0x16b)]=0x3717]=_0x30d5ae(0x16b),_0x3076e6[_0x3076e6[_0x30d5ae(0x2f8)]=0x37dd]=_0x30d5ae(0x2f8),_0x3076e6[_0x3076e6['REDEMPTION_INVALID_CODE']=0x3a99]=_0x30d5ae(0x281),_0x3076e6[_0x3076e6[_0x30d5ae(0x2b8)]=0x3a9a]=_0x30d5ae(0x2b8),_0x3076e6[_0x3076e6[_0x30d5ae(0x305)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x3076e6[_0x3076e6[_0x30d5ae(0x2c9)]=0x3a9c]=_0x30d5ae(0x2c9),_0x3076e6[_0x3076e6[_0x30d5ae(0x2e6)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x3076e6[_0x3076e6['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x30d5ae(0x208),_0x3076e6[_0x3076e6[_0x30d5ae(0x198)]=0x3a9f]=_0x30d5ae(0x198),_0x3076e6[_0x3076e6[_0x30d5ae(0x22a)]=0x3e81]=_0x30d5ae(0x22a),_0x3076e6[_0x3076e6[_0x30d5ae(0x25b)]=-0x1]=_0x30d5ae(0x25b),_0x3076e6))(Z||{});function vn(_0x23f8d6){const _0x1c2c6d=_0x30d5ae;var _0x353866,_0x4d1a4d;const _0x183756=(_0x353866=_0x23f8d6[_0x1c2c6d(0x337)])==null?void 0x0:_0x353866[_0x1c2c6d(0x286)],_0x2f140c=((_0x4d1a4d=_0x23f8d6[_0x1c2c6d(0x337)])==null?void 0x0:_0x4d1a4d[_0x1c2c6d(0x239)])||0x0;return _0x183756===_0x26130c[_0x1c2c6d(0x1be)]&&_0x2f140c>0x0;}function pn(_0x36403c){const _0xb4b8c1=_0x30d5ae;return _0x36403c[_0xb4b8c1(0x1a5)]===_0x3c9077[_0xb4b8c1(0x283)];}var On=Object[_0x30d5ae(0x1b6)],Tn=(_0xac0205,_0x578f0f,_0x177d82,_0x3c3bb8)=>{for(var _0x53573d=_0x3c3bb8>0x1?void 0x0:_0x3c3bb8?On(_0x578f0f,_0x177d82):_0x578f0f,_0x5f65ee=_0xac0205['length']-0x1,_0x1e756d;_0x5f65ee>=0x0;_0x5f65ee--)(_0x1e756d=_0xac0205[_0x5f65ee])&&(_0x53573d=_0x1e756d(_0x53573d)||_0x53573d);return _0x53573d;},P=(_0x4f070c,_0x231a69)=>(_0x56bd32,_0x27d979)=>_0x231a69(_0x56bd32,_0x27d979,_0x4f070c);const Cn=_0x30d5ae(0x3aa),Rn=_0x30d5ae(0x2b9),Dn=_0x30d5ae(0x1f0);let Ie=class extends _0x2b1774{constructor(_0x168e55,_0x33a8c7,_0x6596c,_0x44d70d,_0x33160b,_0x592ab4,_0x296091){const _0x101ef4=_0x30d5ae;super(),_(this,_0x101ef4(0x33e),null),_(this,_0x101ef4(0x30b),0x0),_(this,_0x101ef4(0x2c1),0x0),_(this,_0x101ef4(0x298),[]),_(this,_0x101ef4(0x196),0x0),(this[_0x101ef4(0x27d)]=_0x168e55,this[_0x101ef4(0x39a)]=_0x33a8c7,this[_0x101ef4(0x30c)]=_0x6596c,this[_0x101ef4(0x356)]=_0x44d70d,this[_0x101ef4(0x32c)]=_0x33160b,this[_0x101ef4(0x33c)]=_0x592ab4,this[_0x101ef4(0x30f)]=_0x296091,this['_initCommandInterceptor']());}['_initCommandInterceptor'](){const _0xdabd96=_0x30d5ae;this[_0xdabd96(0x3a2)](this[_0xdabd96(0x39a)][_0xdabd96(0x17b)]((_0x238c13,_0x2ada00)=>{const _0x3d56c3=_0xdabd96;var _0x161069;if(_0x238c13['id']!==_0x3c9b39['id'])return;const _0x4bf36c=_0x238c13[_0x3d56c3(0x264)];if(!this[_0x3d56c3(0x320)]((_0x161069=_0x4bf36c['dirtyRanges'])!=null?_0x161069:[]))return;if(!this[_0x3d56c3(0x2ee)]())throw this[_0x3d56c3(0x22c)](_0x238c13,_0x2ada00),this[_0x3d56c3(0x1dd)](),new _0x39d40d();})),this[_0xdabd96(0x3a2)](this[_0xdabd96(0x39a)]['onCommandExecuted']((_0x5e3c41,_0x437158)=>{const _0x31b8cb=_0xdabd96;if(_0x5e3c41['id']!==_0xf19c0c['id'])return;const _0x32d448=_0x5e3c41['params'];if(vn(_0x32d448)){const _0x4b7e00=_0x2e90e1();this[_0x31b8cb(0x298)][_0x31b8cb(0x293)](_0x4b7e00),this[_0x31b8cb(0x2eb)](_0x4b7e00);}else{if(pn(_0x32d448)&&this['_taskIds'][_0x31b8cb(0x1e2)]>0x0){const _0x4bf4f6=this[_0x31b8cb(0x298)][_0x31b8cb(0x18c)]();this['_releaseCalculationLimit'](_0x4bf4f6);}}}));}[_0x30d5ae(0x304)](){const _0x3816e2=_0x30d5ae;super[_0x3816e2(0x304)](),this['_clearPolling'](),this[_0x3816e2(0x298)]=[],this[_0x3816e2(0x2c1)]=0x0,this[_0x3816e2(0x30b)]=0x0,this[_0x3816e2(0x196)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x3acdd7,_0x259e9d){const _0x605931=_0x30d5ae;for(let _0x8335da=0x0;_0x8335da<0x1e;_0x8335da++)try{if(await this['_getFormulaLimitStatus'](),this[_0x605931(0x2ee)]()){this['_applyCommand'](_0x3acdd7,_0x259e9d),this[_0x605931(0x27d)][_0x605931(0x2c3)]({'content':this[_0x605931(0x30f)]['t']('formula.calculation.started'),'type':_0x220839[_0x605931(0x2ea)]});return;}await new Promise(_0x3c25dc=>{const _0x295b0f=_0x605931;this[_0x295b0f(0x33e)]=window[_0x295b0f(0x36f)](_0x3c25dc,0x3e8);});}catch(_0x3b5c47){this['_logService']['error'](_0x3b5c47);}this['_messageService'][_0x605931(0x2c3)]({'content':this[_0x605931(0x30f)]['t'](_0x605931(0x39b)),'type':_0x220839[_0x605931(0x336)]});}['_applyCommand'](_0x140f8d,_0x5c87ea){const _0x2e1e35=_0x30d5ae;try{this[_0x2e1e35(0x39a)]['executeCommand'](_0x140f8d['id'],_0x140f8d[_0x2e1e35(0x264)],_0x5c87ea);}catch(_0x1bf883){this[_0x2e1e35(0x33c)][_0x2e1e35(0x2bc)](_0x1bf883);}}[_0x30d5ae(0x20d)](_0x53d379,_0xde1a18){const _0x444475=_0x30d5ae;_0xde1a18<this[_0x444475(0x196)]||(this[_0x444475(0x196)]=_0xde1a18,this['_maxFormulaLimit']=Number[_0x444475(0x1e3)](_0x53d379[_0x444475(0x233)]),this['_currentUsage']=Number['parseInt'](_0x53d379[_0x444475(0x2cb)]));}async['_startCalculationLimit'](_0x3f6a4d){const _0x2e268a=_0x30d5ae;var _0x3f6be1,_0x4b4921;const _0x22471e=Date[_0x2e268a(0x201)]();try{const _0x1ebdfd=((_0x3f6be1=this[_0x2e268a(0x30c)][_0x2e268a(0x3a3)](_0x44ed78))==null?void 0x0:_0x3f6be1[_0x2e268a(0x26a)])||Rn,_0x10606c=(await this['_httpService']['post'](_0x1ebdfd,{'body':JSON[_0x2e268a(0x1f8)]({'taskId':_0x3f6a4d})}))['body'];if(((_0x4b4921=_0x10606c[_0x2e268a(0x2bc)])==null?void 0x0:_0x4b4921[_0x2e268a(0x397)])!==Z['OK'])return;this[_0x2e268a(0x20d)](_0x10606c[_0x2e268a(0x1d3)],_0x22471e);}catch(_0x180c3f){this[_0x2e268a(0x33c)][_0x2e268a(0x2bc)](_0x180c3f);}}async[_0x30d5ae(0x2bd)](_0x519bde){const _0x43acf=_0x30d5ae;var _0x1a3b73,_0x3bf52b;const _0x3d5c88=Date[_0x43acf(0x201)]();try{const _0xa47e82=((_0x1a3b73=this['_configService']['getConfig'](_0x44ed78))==null?void 0x0:_0x1a3b73[_0x43acf(0x2c0)])||Cn,_0x2e4f39=_0x519bde?_0xa47e82+_0x43acf(0x2fa)+encodeURIComponent(_0x519bde):_0xa47e82,_0x4e3f06=(await this[_0x43acf(0x356)][_0x43acf(0x2e1)](_0x2e4f39))[_0x43acf(0x326)];if(((_0x3bf52b=_0x4e3f06['error'])==null?void 0x0:_0x3bf52b[_0x43acf(0x397)])!==Z['OK'])return;this[_0x43acf(0x20d)](_0x4e3f06[_0x43acf(0x1d3)],_0x3d5c88);}catch(_0x24ef06){this['_logService'][_0x43acf(0x2bc)](_0x24ef06);}}async[_0x30d5ae(0x2ab)](_0x153769){const _0x4f8f67=_0x30d5ae;var _0x2104c7,_0x56c4f2;const _0x1a8c6f=Date[_0x4f8f67(0x201)]();try{const _0x1dbd2c=((_0x2104c7=this[_0x4f8f67(0x30c)][_0x4f8f67(0x3a3)](_0x44ed78))==null?void 0x0:_0x2104c7[_0x4f8f67(0x292)])||Dn,_0x4df3f8=(await this[_0x4f8f67(0x356)][_0x4f8f67(0x202)](_0x1dbd2c,{'body':JSON[_0x4f8f67(0x1f8)]({'taskId':_0x153769})}))[_0x4f8f67(0x326)];if(((_0x56c4f2=_0x4df3f8[_0x4f8f67(0x2bc)])==null?void 0x0:_0x56c4f2['code'])!==Z['OK'])return;this[_0x4f8f67(0x20d)](_0x4df3f8[_0x4f8f67(0x1d3)],_0x1a8c6f);}catch(_0x4361bb){this[_0x4f8f67(0x33c)]['error'](_0x4361bb);}}[_0x30d5ae(0x2ee)](){const _0x1dae83=_0x30d5ae;return this[_0x1dae83(0x30b)]===0x0?!0x0:this[_0x1dae83(0x30b)]-this[_0x1dae83(0x2c1)]>0x0;}[_0x30d5ae(0x37f)](){const _0x58de35=_0x30d5ae;this[_0x58de35(0x33e)]&&(clearTimeout(this['_pollingInterval']),this[_0x58de35(0x33e)]=null);}[_0x30d5ae(0x1dd)](){const _0x58d7f9=_0x30d5ae;this[_0x58d7f9(0x27d)][_0x58d7f9(0x2c3)]({'content':this['_localeService']['t'](_0x58d7f9(0x35d)),'type':_0x220839['Loading']});}['_hasFormulaInDirtyRanges'](_0x5a2fd7){const _0x222fa7=_0x30d5ae;for(const _0x4a29bd of _0x5a2fd7){const {unitId:_0x2510c3,sheetId:_0x450b32,range:_0x1776ba}=_0x4a29bd,_0x53b83f=this[_0x222fa7(0x32c)][_0x222fa7(0x203)](_0x2510c3);if(!_0x53b83f)continue;const _0x4dcb69=_0x53b83f['getSheetBySheetId'](_0x450b32);if(!_0x4dcb69)continue;const _0x2215bc=_0x4dcb69[_0x222fa7(0x1f2)]();for(let _0x228e40=_0x1776ba[_0x222fa7(0x29a)];_0x228e40<=_0x1776ba[_0x222fa7(0x1df)];_0x228e40++)for(let _0x1c543a=_0x1776ba['startColumn'];_0x1c543a<=_0x1776ba[_0x222fa7(0x251)];_0x1c543a++){const _0x480132=_0x2215bc['getValue'](_0x228e40,_0x1c543a);if(_0x480132&&(_0x521569(_0x480132['f'])||_0x30c775(_0x480132['si'])))return!0x0;}}return!0x1;}};Ie=Tn([P(0x0,_0x222181(_0x1fa26b)),P(0x1,_0x271cee),P(0x2,_0x8b7829),P(0x3,_0x222181(_0x56d4bc)),P(0x4,_0x378c7f),P(0x5,_0x2b507f),P(0x6,_0x222181(_0xfbc0e7))],Ie);var Nn=Object['getOwnPropertyDescriptor'],bn=(_0x42ffd5,_0x5dc5e9,_0x407b02,_0x3274a8)=>{const _0x4c7508=_0x30d5ae;for(var _0x889506=_0x3274a8>0x1?void 0x0:_0x3274a8?Nn(_0x5dc5e9,_0x407b02):_0x5dc5e9,_0x391424=_0x42ffd5[_0x4c7508(0x1e2)]-0x1,_0x4d93a7;_0x391424>=0x0;_0x391424--)(_0x4d93a7=_0x42ffd5[_0x391424])&&(_0x889506=_0x4d93a7(_0x889506)||_0x889506);return _0x889506;},Ue=(_0x3ee9c6,_0x413162)=>(_0x470a14,_0x4bcd58)=>_0x413162(_0x470a14,_0x4bcd58,_0x3ee9c6);let He=class extends _0x2b1774{constructor(_0x22be42,_0x4c1792,_0x43f5ef){const _0x330652=_0x30d5ae;super(),_(this,_0x330652(0x296),new Map()),_(this,_0x330652(0x17d),new Map()),_(this,_0x330652(0x29d),!0x1),(this[_0x330652(0x30c)]=_0x22be42,this[_0x330652(0x259)]=_0x4c1792,this[_0x330652(0x173)]=_0x43f5ef);}[_0x30d5ae(0x2b5)](){const _0x1b93a7=_0x30d5ae;this[_0x1b93a7(0x29d)]=!0x0;}[_0x30d5ae(0x324)](){const _0x133bac=_0x30d5ae;this[_0x133bac(0x29d)]=!0x1;}get[_0x30d5ae(0x1ee)](){const _0x162db6=_0x30d5ae;return this[_0x162db6(0x17d)];}['dispose'](){const _0x11e590=_0x30d5ae;this[_0x11e590(0x17c)]()[_0x11e590(0x1a9)](()=>super[_0x11e590(0x304)]());}async[_0x30d5ae(0x399)](_0x2fcb22){const _0x56d47e=_0x30d5ae;return this['_disabled']?null:this['_localStorageService'][_0x56d47e(0x231)](_0x16813b(_0x2fcb22));}async['saveOfflineData'](_0xa8a5f4,_0x51672b){const _0x3c9f34=_0x30d5ae;return!!this[_0x3c9f34(0x259)][_0x3c9f34(0x1f4)](_0xa8a5f4,_0x51672b);}[_0x30d5ae(0x1c5)](_0x4cd7c2,_0x1f33ea,_0x3f7595,_0x465c0c){const _0x55132e=_0x30d5ae,_0x49cad3=this[_0x55132e(0x173)][_0x55132e(0x2a3)](_0x4cd7c2);this['_cachedData'][_0x55132e(0x2f6)](_0x4cd7c2,{'unitID':_0x4cd7c2,'type':_0x1f33ea,'awaitingChangeset':_0x3f7595,'mutations':_0x465c0c,'rev':_0x49cad3}),this[_0x55132e(0x17d)][_0x55132e(0x1a1)](_0x4cd7c2)||this[_0x55132e(0x1b8)](_0x4cd7c2);}[_0x30d5ae(0x1b8)](_0x2f90a0){const _0x47b04d=_0x30d5ae,_0x46af30=this[_0x47b04d(0x1a0)]();_0x46af30===0x0?this[_0x47b04d(0x21d)](_0x2f90a0):this[_0x47b04d(0x17d)]['set'](_0x2f90a0,setTimeout(()=>this[_0x47b04d(0x21d)](_0x2f90a0),_0x46af30));}['_getSaveTimeout'](){const _0x56e0ae=_0x30d5ae;var _0x33028c;return(_0x33028c=this[_0x56e0ae(0x30c)][_0x56e0ae(0x3a3)](_0x12185e))!=null?_0x33028c:_0x437e1e;}[_0x30d5ae(0x21d)](_0x26ab91){const _0x5e615c=_0x30d5ae,_0x1926c3=this[_0x5e615c(0x17d)][_0x5e615c(0x2e1)](_0x26ab91);return _0x1926c3!==void 0x0&&window[_0x5e615c(0x2f4)](_0x1926c3),this[_0x5e615c(0x259)][_0x5e615c(0x1f4)](_0x16813b(_0x26ab91),this['_cachedData'][_0x5e615c(0x2e1)](_0x26ab91))[_0x5e615c(0x1a9)](()=>this['_saveTaskMap'][_0x5e615c(0x2ba)](_0x26ab91));}async[_0x30d5ae(0x17c)](){const _0x570310=_0x30d5ae,_0x2e0cfb=[];this[_0x570310(0x17d)][_0x570310(0x333)]((_0x4960bc,_0x78f9e7)=>{const _0x5e4005=_0x570310;window[_0x5e4005(0x2f4)](_0x4960bc),_0x2e0cfb['push'](this['_saveCache'](_0x78f9e7)[_0x5e4005(0x1a9)](()=>{const _0x54e768=_0x5e4005;this[_0x54e768(0x17d)][_0x54e768(0x2ba)](_0x78f9e7);}));}),await Promise['all'](_0x2e0cfb);}};He=bn([Ue(0x0,_0x8b7829),Ue(0x1,_0x55f11e),Ue(0x2,_0x222181(_0x58174f))],He);class Ln extends _0x5e4f80{constructor(){const _0xb32736=_0x30d5ae;super(),_(this,_0xb32736(0x2e9)),this[_0xb32736(0x2e9)]=_0x533b07(window,_0xb32736(0x29c))[_0xb32736(0x27e)](_0x9a62f4(this[_0xb32736(0x392)]),_0x1616a5(0x1),_0x6d39b(void 0x0));}[_0x30d5ae(0x30a)](_0x575709,_0x166a5c,_0x97c3fd=!0x1){const _0x49269c=_0x30d5ae,_0x57b15c=new URL(window[_0x49269c(0x248)][_0x49269c(0x1d6)]);_0x57b15c[_0x49269c(0x18b)][_0x49269c(0x2f6)](_0x575709,_0x166a5c),_0x97c3fd?window[_0x49269c(0x24a)]['replaceState']('','',_0x57b15c[_0x49269c(0x2f1)]()):window['history'][_0x49269c(0x1c7)]('','',_0x57b15c[_0x49269c(0x2f1)]());}[_0x30d5ae(0x199)](_0x30f92d,_0x447773=!0x1){const _0x1dc31d=_0x30d5ae,_0x174385=new URL(window[_0x1dc31d(0x248)][_0x1dc31d(0x1d6)]);_0x174385['searchParams']['delete'](_0x30f92d),_0x447773?window[_0x1dc31d(0x24a)][_0x1dc31d(0x2a9)]('','',_0x174385[_0x1dc31d(0x2f1)]()):window[_0x1dc31d(0x24a)][_0x1dc31d(0x1c7)]('','',_0x174385[_0x1dc31d(0x2f1)]());}[_0x30d5ae(0x308)](_0x3011e9){const _0x5dc9e4=_0x30d5ae;var _0x28fb7e;return(_0x28fb7e=new URL(window[_0x5dc9e4(0x248)]['href'])[_0x5dc9e4(0x18b)]['get'](_0x3011e9))!=null?_0x28fb7e:void 0x0;}}var Un=Object[_0x30d5ae(0x215)],Mn=Object['getOwnPropertyDescriptor'],An=(_0x514a35,_0x5b98eb,_0x87d771)=>_0x5b98eb in _0x514a35?Un(_0x514a35,_0x5b98eb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x87d771}):_0x514a35[_0x5b98eb]=_0x87d771,Pn=(_0x4c3cea,_0x21b73e,_0x690318,_0x42084b)=>{const _0x572b24=_0x30d5ae;for(var _0x18a81e=_0x42084b>0x1?void 0x0:_0x42084b?Mn(_0x21b73e,_0x690318):_0x21b73e,_0x5cb29f=_0x4c3cea[_0x572b24(0x1e2)]-0x1,_0x3e196a;_0x5cb29f>=0x0;_0x5cb29f--)(_0x3e196a=_0x4c3cea[_0x5cb29f])&&(_0x18a81e=_0x3e196a(_0x18a81e)||_0x18a81e);return _0x18a81e;},Me=(_0x41290a,_0x5bc26d)=>(_0x41e837,_0x4f2317)=>_0x5bc26d(_0x41e837,_0x4f2317,_0x41290a),wn=(_0x1a45ee,_0x207941,_0x418ebb)=>An(_0x1a45ee,_0x207941+'',_0x418ebb);const yn=_0x30d5ae(0x2ca);let Ye=class extends _0x3402af{constructor(_0xf1282d=_t,_0x121be1,_0x3aa78f,_0x4e72af){const _0x1d08c2=_0x30d5ae;super(),this[_0x1d08c2(0x221)]=_0xf1282d,this['_renderManagerService']=_0x121be1,this[_0x1d08c2(0x1e4)]=_0x3aa78f,this[_0x1d08c2(0x30c)]=_0x4e72af;const {..._0x5e748a}=_0x28ff57({},_t,this['_config']);this[_0x1d08c2(0x30c)][_0x1d08c2(0x24d)](hn,_0x5e748a);}['onStarting'](){const _0x4afd28=_0x30d5ae;this[_0x4afd28(0x172)](),this['_initDependencies']();}[_0x30d5ae(0x2fd)](){const _0x551734=_0x30d5ae;this[_0x551734(0x2f9)]();}[_0x30d5ae(0x172)](){const _0x487132=_0x30d5ae;var _0x24c88c;const _0x268f90=[[Ke],[Ie],[de],[he],[ue],[ze],[yt,{'useClass':Ln}],[_0x251505,{'useClass':_0x430f47}],[_0x48babe,{'useClass':He}],[ae],[Se],[_e],[H],[$e],[ce]];this[_0x487132(0x221)][_0x487132(0x390)]&&_0x268f90[_0x487132(0x293)]([le]),_0x4405f2(this[_0x487132(0x1e4)],_0x382ef4(_0x268f90,(_0x24c88c=this[_0x487132(0x221)])==null?void 0x0:_0x24c88c[_0x487132(0x276)]));}[_0x30d5ae(0x2f9)](){const _0x10e571=_0x30d5ae;this[_0x10e571(0x3a2)](this[_0x10e571(0x34f)][_0x10e571(0x1a4)](_0xba2a08[_0x10e571(0x2a1)],[Fe])),this[_0x10e571(0x3a2)](this[_0x10e571(0x34f)][_0x10e571(0x1a4)](_0xba2a08[_0x10e571(0x385)],[ke]));}[_0x30d5ae(0x25a)](){const _0x2a1033=_0x30d5ae;_0x3c3252(this['_injector'],[[H],[ae],[Se],[_e],[ce],[Ie]]),this[_0x2a1033(0x221)][_0x2a1033(0x390)]&&_0x3c3252(this[_0x2a1033(0x1e4)],[[le]]);}};wn(Ye,_0x30d5ae(0x1cb),yn),Ye=Pn([_0x4a3f9a(_0x1c32fa),Me(0x1,_0x1695e4),Me(0x2,_0x222181(_0x5c2372)),Me(0x3,_0x8b7829)],Ye);var $n=Object[_0x30d5ae(0x1b6)],xn=(_0xd5ea1b,_0x28f97d,_0x1ec105,_0x2848b5)=>{const _0x5103b8=_0x30d5ae;for(var _0x69d72d=_0x2848b5>0x1?void 0x0:_0x2848b5?$n(_0x28f97d,_0x1ec105):_0x28f97d,_0x304ec4=_0xd5ea1b[_0x5103b8(0x1e2)]-0x1,_0x44462a;_0x304ec4>=0x0;_0x304ec4--)(_0x44462a=_0xd5ea1b[_0x304ec4])&&(_0x69d72d=_0x44462a(_0x69d72d)||_0x69d72d);return _0x69d72d;},J=(_0x2d1083,_0x5f500e)=>(_0xbcd3b0,_0x332052)=>_0x5f500e(_0xbcd3b0,_0x332052,_0x2d1083);let ut=class extends _0x464ff2{constructor(_0xc8022e,_0xac8f29,_0x5245a1,_0x371f4e,_0x241e2b){super(_0xc8022e,_0xac8f29,_0x5245a1,_0x371f4e,_0x241e2b);}async[_0x30d5ae(0x1b0)](_0x216943){const _0x2fe316=_0x30d5ae,_0x18ba7b=await this[_0x2fe316(0x235)](),_0x1e74e4=this[_0x2fe316(0x28f)](_0x216943,_0x18ba7b);return this['_doCreateSocket'](_0x1e74e4);}[_0x30d5ae(0x28f)](_0x5ef076,_0x5d866f){const _0x3eef29=_0x30d5ae,_0x42aee6=typeof window>'u'?new URL(_0x5ef076):new URL(_0x5ef076,window['location'][_0x3eef29(0x30e)]);_0x42aee6[_0x3eef29(0x18b)][_0x3eef29(0x2f6)](_0x3eef29(0x36e),_0x5d866f);const _0x32d523=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3eef29(0x248)]['search']);return _0x32d523[_0x3eef29(0x2e1)](_0x3eef29(0x25f))&&_0x42aee6[_0x3eef29(0x18b)]['set'](_0x3eef29(0x25f),_0x32d523[_0x3eef29(0x2e1)](_0x3eef29(0x25f))),_0x42aee6[_0x3eef29(0x2f1)]();}async[_0x30d5ae(0x235)](){const _0x52160b=_0x30d5ae;var _0xc9163,_0x419280,_0x35d572;const _0x2192b9=this[_0x52160b(0x30c)]['getConfig'](_0x44ed78),_0x259164=(_0xc9163=_0x2192b9==null?void 0x0:_0x2192b9[_0x52160b(0x236)])!=null?_0xc9163:_0x312763;return(_0x35d572=(_0x419280=(await this[_0x52160b(0x356)][_0x52160b(0x2e1)](_0x259164,{'headers':{'Content-Type':_0x52160b(0x1a8)}}))[_0x52160b(0x326)])==null?void 0x0:_0x419280[_0x52160b(0x28c)])!=null?_0x35d572:'';}};ut=xn([J(0x0,_0x222181(_0x5c2372)),J(0x1,_0x222181(_0x56d4bc)),J(0x2,_0x8b7829),J(0x3,_0x2b507f),J(0x4,_0x509191)],ut);var Bn=Object[_0x30d5ae(0x1b6)],Fn=(_0xc4dfd5,_0x561c44,_0x118f8a,_0x5f2db8)=>{for(var _0x5b623f=_0x5f2db8>0x1?void 0x0:_0x5f2db8?Bn(_0x561c44,_0x118f8a):_0x561c44,_0x1fa701=_0xc4dfd5['length']-0x1,_0x254f39;_0x1fa701>=0x0;_0x1fa701--)(_0x254f39=_0xc4dfd5[_0x1fa701])&&(_0x5b623f=_0x254f39(_0x5b623f)||_0x5b623f);return _0x5b623f;},Ae=(_0x379ef2,_0x1cf7d6)=>(_0x383ba1,_0x47bc83)=>_0x1cf7d6(_0x383ba1,_0x47bc83,_0x379ef2);let dt=class extends _0x2b1774{constructor(_0x374c59,_0x5355aa,_0x2b7470){const _0x5b1d06=_0x30d5ae;super(),this[_0x5b1d06(0x3ac)]=_0x374c59,this[_0x5b1d06(0x356)]=_0x5355aa,this[_0x5b1d06(0x30c)]=_0x2b7470;}async[_0x30d5ae(0x254)](_0x18c6e1,_0x22a6b9,_0x5b11d5,..._0x307e15){const _0xb1bb94=_0x30d5ae;var _0x5e86ca,_0x1df58f,_0x279084,_0x14fdb4;const _0x1c1eb7=this[_0xb1bb94(0x3ac)][_0xb1bb94(0x1f5)]();if(!_0x1c1eb7)throw new Error(_0xb1bb94(0x266));const _0x3f39c5=((_0x5e86ca=this[_0xb1bb94(0x30c)][_0xb1bb94(0x3a3)](_0x5054a6))!=null?_0x5e86ca:_0x524947)+'/'+_0x18c6e1+_0xb1bb94(0x2ac)+_0x22a6b9,_0xb40fb2=new URL(window['location'][_0xb1bb94(0x1d6)]),_0x3d8202={'scriptId':_0x18c6e1,'runId':(_0x1df58f=_0xb40fb2['searchParams'][_0xb1bb94(0x2e1)](_0xb1bb94(0x25f)))!=null?_0x1df58f:'','function':_0x22a6b9,'unitId':_0x1c1eb7[_0xb1bb94(0x3a0)](),'argsOfFunction':JSON[_0xb1bb94(0x1f8)](_0x307e15),'invokeId':(_0x279084=_0x5b11d5[_0xb1bb94(0x386)])!=null?_0x279084:'','executionId':(_0x14fdb4=_0x5b11d5['executionId'])!=null?_0x14fdb4:''};try{const _0x5d4e18=await this[_0xb1bb94(0x356)]['post'](_0x3f39c5,{'body':_0x3d8202});return _0x5d4e18[_0xb1bb94(0x326)][_0xb1bb94(0x2bc)]&&_0x5d4e18[_0xb1bb94(0x326)][_0xb1bb94(0x2bc)][_0xb1bb94(0x397)]!==Z['OK']?_0xb1bb94(0x223):_0x5d4e18[_0xb1bb94(0x326)][_0xb1bb94(0x1f1)];}catch{return _0xb1bb94(0x223);}}};function _0x23c8(_0x36895a,_0x4a30b8){_0x36895a=_0x36895a-0x168;const _0x34b1d2=_0x34b1();let _0x23c81f=_0x34b1d2[_0x36895a];return _0x23c81f;}dt=Fn([Ae(0x0,_0x378c7f),Ae(0x1,_0x222181(_0x56d4bc)),Ae(0x2,_0x8b7829)],dt);const St=0x7530,It=_0x30d5ae(0x291);class rr extends _0x2b1774{constructor(){const _0x376f7d=_0x30d5ae;super(),_(this,_0x376f7d(0x1ea),_0x2e90e1()),_(this,_0x376f7d(0x258),new Set()),_(this,'_unitOnClients',new Map()),_(this,'_heartbeatTimer',null),_(this,'_clearOtherTimers',new Map()),_(this,'_unitStatus',new Map()),this[_0x376f7d(0x30d)]();}[_0x30d5ae(0x304)](){const _0x44fc00=_0x30d5ae;super[_0x44fc00(0x304)](),this['_clearOtherTimers'][_0x44fc00(0x333)]((_0x3c617b,_0x208e32)=>this['_removeClearOtherTimer'](_0x208e32)),this[_0x44fc00(0x20b)]&&window[_0x44fc00(0x329)](this['_heartbeatTimer']);}[_0x30d5ae(0x244)](_0x3d7ba6){const _0x41772d=_0x30d5ae;return this['_ensureSubject'](_0x3d7ba6)[_0x41772d(0x27e)](_0x4a33f0());}[_0x30d5ae(0x27c)](_0x10d56b){const _0x4e8464=_0x30d5ae;this[_0x4e8464(0x258)][_0x4e8464(0x35a)]===0x0&&this[_0x4e8464(0x247)](),this[_0x4e8464(0x258)][_0x4e8464(0x1e8)](_0x10d56b),this[_0x4e8464(0x353)]({'type':0x0,'memberID':this[_0x4e8464(0x1ea)],'unitIDs':[_0x10d56b],'isForwarded':!0x1});}['disposeUnit'](_0x3be7b6){const _0x5d31e5=_0x30d5ae;this[_0x5d31e5(0x258)][_0x5d31e5(0x2ba)](_0x3be7b6),this['_selfUnitIDs']['size']===0x0&&this[_0x5d31e5(0x20b)]&&window[_0x5d31e5(0x329)](this[_0x5d31e5(0x20b)]);}[_0x30d5ae(0x30d)](){const _0x2d1b64=_0x30d5ae;this[_0x2d1b64(0x3a2)](_0x31bc29(_0x533b07(window,'storage')[_0x2d1b64(0x21b)](_0x3f3758=>{const _0x86f9f4=_0x2d1b64;if(_0x3f3758[_0x86f9f4(0x26c)]!==It||!_0x3f3758[_0x86f9f4(0x1fa)])return;const _0x5c8501=JSON[_0x86f9f4(0x394)](_0x3f3758[_0x86f9f4(0x1fa)]);this[_0x86f9f4(0x1b2)](_0x5c8501);}))),window[_0x2d1b64(0x250)](_0x2d1b64(0x1d0),()=>this[_0x2d1b64(0x353)]({'type':0x1,'memberID':this[_0x2d1b64(0x1ea)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}[_0x30d5ae(0x1b2)](_0x339909){const _0x15cf42=_0x30d5ae;switch(_0x339909[_0x15cf42(0x2a5)]){case 0x0:this[_0x15cf42(0x1d1)](_0x339909);break;case 0x1:this[_0x15cf42(0x275)](_0x339909);break;case 0x2:this[_0x15cf42(0x310)](_0x339909);break;}}[_0x30d5ae(0x1d1)](_0x51e86e){const _0x48337d=_0x30d5ae,{unitIDs:_0x5d1da6,memberID:_0x296299,isForwarded:_0x20057f}=_0x51e86e;_0x5d1da6[_0x48337d(0x333)](_0xe0d2b9=>{const _0xc3b99a=_0x48337d;if(!_0x20057f&&this[_0xc3b99a(0x3b2)]['has'](_0xe0d2b9)&&this[_0xc3b99a(0x205)](_0xe0d2b9)[_0xc3b99a(0x32e)](_0x5ed75f[_0xc3b99a(0x217)]),!this[_0xc3b99a(0x3b2)][_0xc3b99a(0x1a1)](_0xe0d2b9)||!this['_unitOnClients'][_0xc3b99a(0x2e1)](_0xe0d2b9)['has'](_0x296299)){const _0x4176c1=this[_0xc3b99a(0x3b2)][_0xc3b99a(0x2e1)](_0xe0d2b9)||new Set();_0x4176c1[_0xc3b99a(0x1e8)](_0x296299),this[_0xc3b99a(0x3b2)][_0xc3b99a(0x2f6)](_0xe0d2b9,_0x4176c1),this[_0xc3b99a(0x284)](_0x296299);}}),_0x20057f||this[_0x48337d(0x353)]({'type':0x0,'memberID':this[_0x48337d(0x1ea)],'unitIDs':[...this[_0x48337d(0x258)]],'isForwarded':!0x0});}[_0x30d5ae(0x284)](_0x96af49){const _0x5e4ad6=_0x30d5ae;this[_0x5e4ad6(0x1c1)](_0x96af49);const _0x14b894=window['setTimeout'](()=>{const _0x14bbf1=_0x5e4ad6;this[_0x14bbf1(0x3b2)]['forEach'](_0x1a7eba=>{const _0x153fb9=_0x14bbf1;_0x1a7eba[_0x153fb9(0x2ba)](_0x96af49);});},St*0x2);this[_0x5e4ad6(0x33d)][_0x5e4ad6(0x2f6)](_0x96af49,_0x14b894);}[_0x30d5ae(0x1c1)](_0x568db6){const _0x463cc6=_0x30d5ae;if(this[_0x463cc6(0x33d)][_0x463cc6(0x1a1)](_0x568db6)){const _0x550e04=this[_0x463cc6(0x33d)][_0x463cc6(0x2e1)](_0x568db6);_0x550e04&&window[_0x463cc6(0x2f4)](_0x550e04),this[_0x463cc6(0x33d)][_0x463cc6(0x2f6)](_0x568db6,null);}}[_0x30d5ae(0x275)](_0x3dce6a){const _0x12a7fe=_0x30d5ae,{memberID:_0x4a40e5,unitIDs:_0x4c37a2}=_0x3dce6a;_0x4c37a2['forEach'](_0xfb3beb=>{const _0x1edaab=_0x23c8;var _0x167f00;const _0x2d20ff=this[_0x1edaab(0x3b2)][_0x1edaab(0x2e1)](_0xfb3beb);_0x2d20ff&&(_0x2d20ff[_0x1edaab(0x2ba)](_0x4a40e5),(_0x167f00=this[_0x1edaab(0x205)](_0xfb3beb))==null||_0x167f00[_0x1edaab(0x32e)](_0x2d20ff[_0x1edaab(0x35a)]===0x0?_0x5ed75f[_0x1edaab(0x31f)]:_0x5ed75f['OTHER_CLIENTS_EDITING']));}),this[_0x12a7fe(0x1c1)](_0x4a40e5);}['_handleHeartbeatEvent'](_0x594fb1){const _0x52227e=_0x30d5ae;this[_0x52227e(0x284)](_0x594fb1['memberID']);}['_send'](_0x1512b2){const _0x29f594=_0x30d5ae;localStorage['setItem'](It,JSON[_0x29f594(0x1f8)](_0x1512b2));}['_scheduleHeartbeat'](){const _0x12ad1e=_0x30d5ae;this[_0x12ad1e(0x20b)]=window['setInterval'](()=>{const _0x3e3b4f=_0x12ad1e;this[_0x3e3b4f(0x353)]({'type':0x2,'memberID':this[_0x3e3b4f(0x1ea)]});},St);}['_ensureSubject'](_0xaf5638){const _0x1a8b13=_0x30d5ae;return this[_0x1a8b13(0x206)]['has'](_0xaf5638)||this['_unitStatus'][_0x1a8b13(0x2f6)](_0xaf5638,new _0x2eea28(_0x5ed75f[_0x1a8b13(0x31f)])),this[_0x1a8b13(0x206)]['get'](_0xaf5638);}}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};
|