@univerjs-pro/collaboration-client-ui 0.15.5 → 0.16.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/sk-SK.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/sk-SK.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/sk-SK.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/types/models/cursor.d.ts +6 -0
- package/lib/types/views/shapes/sheet-collab-cursor.shape.d.ts +17 -0
- 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/sk-SK.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 _0x48c3ba=_0x44cc;(function(_0x32e88c,_0xc23ef8){const _0x70798c=_0x44cc,_0x25b0d4=_0x32e88c();while(!![]){try{const _0x96b5c1=-parseInt(_0x70798c(0x33c))/0x1+parseInt(_0x70798c(0x2b9))/0x2*(parseInt(_0x70798c(0x31d))/0x3)+parseInt(_0x70798c(0x229))/0x4*(-parseInt(_0x70798c(0x25f))/0x5)+-parseInt(_0x70798c(0x1f4))/0x6+parseInt(_0x70798c(0x347))/0x7*(parseInt(_0x70798c(0x3cc))/0x8)+parseInt(_0x70798c(0x241))/0x9*(-parseInt(_0x70798c(0x1fe))/0xa)+parseInt(_0x70798c(0x2fd))/0xb*(parseInt(_0x70798c(0x3b0))/0xc);if(_0x96b5c1===_0xc23ef8)break;else _0x25b0d4['push'](_0x25b0d4['shift']());}catch(_0x4779a3){_0x25b0d4['push'](_0x25b0d4['shift']());}}}(_0x5788,0x69cf2));var Yt=Object[_0x48c3ba(0x38f)],Wt=(_0x5d68c9,_0x18a071,_0xe175c5)=>_0x18a071 in _0x5d68c9?Yt(_0x5d68c9,_0x18a071,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xe175c5}):_0x5d68c9[_0x18a071]=_0xe175c5,_=(_0x40ef73,_0x303f98,_0x31237d)=>Wt(_0x40ef73,typeof _0x303f98!=_0x48c3ba(0x203)?_0x303f98+'':_0x303f98,_0x31237d);import{jsx as _0x130e42,jsxs as _0x55f98d}from'react/jsx-runtime';import{CollaborationStatus as _0x101556,CollaborationSessionService as _0x1fc069,CollaborationController as _0x395f14,DataLoaderService as _0x3fce22,MemberService as _0x4e1bb7,SessionStatus as _0x2e8ad4,CollaborationUIEventService as _0x270aa1,CollaborationUIEventId as _0x30a9e3,ILocalCacheService as _0x8f11dc,DocCollaborationEntity as _0x34adc4,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x419072,getLocalCacheKey as _0x2db13b,LOCAL_CACHE_INTERVAL as _0x539d04,LOCAL_CACHE_INTERVAL_KEY as _0x453cb3,UniverCollaborationClientPlugin as _0x47c18e,CollaborationSocketService as _0x285f4a,DEFAULT_WS_SESSION_TICKET_URL as _0x252510,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x174054,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x5acb71,UnitStatus as _0x296f1d}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x9481dd,Inject as _0x1b0e33,Injector as _0x1f9609,Disposable as _0x624a7,IUniverInstanceService as _0x4daab6,createIdentifier as _0x274629,Optional as _0x396014,RxDisposable as _0x40410a,Workbook as _0x745bb0,ILogService as _0x395468,ICommandService as _0x29fec4,DOC_RANGE_TYPE as _0x51d1d5,debounce as _0x826b33,Rectangle as _0x96758e,DisposableCollection as _0xe66f92,toDisposable as _0x15cb86,UniverInstanceType as _0x2ddafe,generateRandomId as _0x43fc79,COLORS as _0x43d9a4,ColorKit as _0x5aeccb,ThemeService as _0x5a5ad5,fromEventSubject as _0x3c0456,Tools as _0x20089e,CommandType as _0x33f257,CanceledError as _0x16a91b,isFormulaString as _0x12bc3e,isFormulaId as _0xfd06ab,IConfigService as _0x210b7f,ILocalStorageService as _0x7e8dbb,DependentOn as _0x1dad22,Plugin as _0x33637f,merge as _0x15def8,registerDependencies as _0x5752b0,mergeOverrideWithDependencies as _0x3ff669,touchDependencies as _0x3f0f67}from'@univerjs/core';function _0x44cc(_0x246eee,_0x5871ce){_0x246eee=_0x246eee-0x19f;const _0x578872=_0x5788();let _0x44ccd0=_0x578872[_0x246eee];return _0x44ccd0;}import{useObservable as _0x153cb4,useDependency as _0x2e5725,BuiltInUIPart as _0x2ab863,connectInjector as _0xc1dde9,IUIPartsService as _0x57401d,IBeforeCloseService as _0x357944,IMessageService as _0x1b8702,INotificationService as _0x55f3f7}from'@univerjs/ui';import{BehaviorSubject as _0x49dc24,switchMap as _0x2f9477,of as _0x30d13d,takeUntil as _0x54c732,debounceTime as _0x2ecc95,Subject as _0x4ec9ae,filter as _0x1e6ba2,merge as _0x1a121b,combineLatest as _0x357851,fromEvent as _0x55344d,shareReplay as _0x18e1ba,mapTo as _0x2f2732,distinctUntilChanged as _0x3a493c}from'rxjs';import{Tooltip as _0x24081d,clsx as _0x8be64f,MessageType as _0x1a84ef}from'@univerjs/design';import{useRef as _0x312d7f,createElement as _0x3dc4ad,forwardRef as _0x4ea015,useCallback as _0x47f705}from'react';import{IRemoteInstanceService as _0x4062af}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x365a3e,RefRangeService as _0x489e41,SetSelectionsOperation as _0x190b04,SheetsSelectionsService as _0x12ccb5,EffectRefRangId as _0x23b67d,handleIRemoveRow as _0x32e120,handleIRemoveCol as _0x2362f1,handleMoveRange as _0x5c2c27,handleInsertRow as _0x44f5d9,handleInsertRangeMoveRight as _0x3795d9,handleInsertRangeMoveDown as _0xcf3c68,handleInsertCol as _0x172439,handleDeleteRangeMoveUp as _0x203b88,handleDeleteRangeMoveLeft as _0x5bc70b,runRefRangeMutations as _0x37c663}from'@univerjs/sheets';import{Shape as _0x2efef1,Rect as _0x3b3099,getColor as _0x4566b6,RegularPolygon as _0x16ef78,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x50f6eb,Vector2 as _0xef248b,SHEET_VIEWPORT_KEY as _0x49c0fa,IRenderManagerService as _0x276443}from'@univerjs/engine-render';import{HTTPService as _0x530d74,ISocketService as _0x270c2f,WebSocketService as _0x4611e9}from'@univerjs/network';import{IDocClipboardService as _0x3d5ed0,NodePositionConvertToCursor as _0xc58124,NodePositionConvertToRectRange as _0x176f8f,TEXT_RANGE_LAYER_INDEX as _0x2f393b,SetDocZoomRatioOperation as _0x3dc626,DocIMEInputManagerService as _0x4b2862,DocStateChangeManagerService as _0x4783ec}from'@univerjs/docs-ui';import{IImageIoService as _0x668f2c}from'@univerjs/drawing';import{CollaborationEvent as _0x4035e8,isTransformMutationFailure as _0x1860da,ITransformService as _0x21df31,isTransformMutationsWithChangesetSuccess as _0x2f43b7,RevisionService as _0x3bf972,ISnapshotServerService as _0x15b255}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x23d33f,RichTextEditingMutation as _0x2edc2a,DocSelectionManagerService as _0x5b6dfb,DocSkeletonManagerService as _0xf20d5c}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x23842c,serializeRangeWithSheet as _0x3b54cc,FormulaExecuteStageType as _0x1dfaa0,FormulaExecutedStateType as _0x2e915a,SetFormulaCalculationStartMutation as _0xa44389,SetFormulaCalculationNotificationMutation as _0xe161fc}from'@univerjs/engine-formula';import{map as _0x27499f,filter as _0x2cdbd0,throttleTime as _0x3fc305,takeUntil as _0x94a601,switchMap as _0x11106d}from'rxjs/operators';import{SheetSkeletonManagerService as _0x1a7d8b,getCoordByCell as _0x4dc2b9,getSheetObject as _0x691314}from'@univerjs/sheets-ui';function Ge({ref:_0x4a89e5,..._0x592df0}){const _0x34fb1e=_0x48c3ba,{icon:_0x3a2d53,id:_0x313c14,className:_0x14efac,extend:_0x13ee42,..._0x38b09b}=_0x592df0,_0x2cdf16=(_0x34fb1e(0x266)+_0x313c14+'\x20'+(_0x14efac||''))[_0x34fb1e(0x295)](),_0x5715b4=_0x312d7f('_'+vi());return At(_0x3a2d53,''+_0x313c14,{'defIds':_0x3a2d53[_0x34fb1e(0x3d9)],'idSuffix':_0x5715b4[_0x34fb1e(0x1c2)]},{'ref':_0x4a89e5,'className':_0x2cdf16,..._0x38b09b},_0x13ee42);}function At(_0x2b7fda,_0x2381c5,_0x256efa,_0x369746,_0x1b8c33){const _0x2ad2c3=_0x48c3ba;return _0x3dc4ad(_0x2b7fda['tag'],{'key':_0x2381c5,...gi(_0x2b7fda,_0x256efa,_0x1b8c33),..._0x369746},(Ei(_0x2b7fda,_0x256efa)[_0x2ad2c3(0x30d)]||[])['map']((_0x1daf96,_0x518178)=>At(_0x1daf96,_0x2381c5+'-'+_0x2b7fda[_0x2ad2c3(0x2b1)]+'-'+_0x518178,_0x256efa,void 0x0,_0x1b8c33)));}function gi(_0x22c19a,_0x406b21,_0x11d815){const _0x5f50c8=_0x48c3ba,_0x34d3cf={..._0x22c19a['attrs']};_0x11d815!=null&&_0x11d815['colorChannel1']&&_0x34d3cf[_0x5f50c8(0x34f)]===_0x5f50c8(0x27e)&&(_0x34d3cf[_0x5f50c8(0x34f)]=_0x11d815[_0x5f50c8(0x27e)]),_0x22c19a[_0x5f50c8(0x2b1)]===_0x5f50c8(0x307)&&_0x34d3cf['id']&&(_0x34d3cf['id']=_0x34d3cf['id']+_0x406b21[_0x5f50c8(0x3ee)]),Object['entries'](_0x34d3cf)[_0x5f50c8(0x350)](([_0x55189d,_0x417841])=>{const _0x1475d7=_0x5f50c8;_0x55189d===_0x1475d7(0x307)&&typeof _0x417841==_0x1475d7(0x383)&&(_0x34d3cf[_0x55189d]=_0x417841['replace'](/url\(#(.*)\)/,_0x1475d7(0x326)+_0x406b21[_0x1475d7(0x3ee)]+')'));});const {defIds:_0xf23c16}=_0x406b21;return!_0xf23c16||_0xf23c16[_0x5f50c8(0x1df)]===0x0||(_0x22c19a[_0x5f50c8(0x2b1)]===_0x5f50c8(0x24a)&&_0x34d3cf[_0x5f50c8(0x3c0)]&&(_0x34d3cf[_0x5f50c8(0x3c0)]=_0x34d3cf[_0x5f50c8(0x3c0)]+_0x406b21['idSuffix']),Object[_0x5f50c8(0x2a7)](_0x34d3cf)[_0x5f50c8(0x350)](([_0x48a211,_0x4d984d])=>{const _0x531498=_0x5f50c8;typeof _0x4d984d==_0x531498(0x383)&&(_0x34d3cf[_0x48a211]=_0x4d984d['replace'](/url\(#(.*)\)/,_0x531498(0x326)+_0x406b21[_0x531498(0x3ee)]+')'));})),_0x34d3cf;}function Ei(_0x5db641,_0x49cda6){const _0x51ed73=_0x48c3ba;var _0x16806a;const {defIds:_0x15d6e4}=_0x49cda6;return!_0x15d6e4||_0x15d6e4['length']===0x0?_0x5db641:_0x5db641[_0x51ed73(0x2b1)]===_0x51ed73(0x2d7)&&((_0x16806a=_0x5db641[_0x51ed73(0x30d)])!=null&&_0x16806a[_0x51ed73(0x1df)])?{..._0x5db641,'children':_0x5db641[_0x51ed73(0x30d)][_0x51ed73(0x2c7)](_0x23469c=>typeof _0x23469c[_0x51ed73(0x3be)]['id']==_0x51ed73(0x383)&&_0x15d6e4&&_0x15d6e4[_0x51ed73(0x226)](_0x23469c[_0x51ed73(0x3be)]['id'])?{..._0x23469c,'attrs':{..._0x23469c[_0x51ed73(0x3be)],'id':_0x23469c[_0x51ed73(0x3be)]['id']+_0x49cda6[_0x51ed73(0x3ee)]}}:_0x23469c)}:_0x5db641;}function vi(){const _0x20ca6d=_0x48c3ba;return Math[_0x20ca6d(0x3a3)]()[_0x20ca6d(0x3dc)](0x24)[_0x20ca6d(0x3d8)](0x2,0x8);}Ge['displayName']=_0x48c3ba(0x30b);const pi={'tag':_0x48c3ba(0x290),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x48c3ba(0x3c3),'viewBox':_0x48c3ba(0x1ce),'width':'1em','height':_0x48c3ba(0x387)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x48c3ba(0x342),'attrs':{'stroke':_0x48c3ba(0x351),'d':_0x48c3ba(0x1fd),'strokeLinecap':_0x48c3ba(0x371),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x48c3ba(0x2d7),'attrs':{},'children':[{'tag':_0x48c3ba(0x219),'attrs':{'id':_0x48c3ba(0x1d2)},'children':[{'tag':_0x48c3ba(0x342),'attrs':{'fill':_0x48c3ba(0x25e),'d':_0x48c3ba(0x204)}}]}]}],'defIds':[_0x48c3ba(0x1d2)]},Pt=_0x4ea015(function(_0xc6ed4c,_0x52870c){const _0x589a1d=_0x48c3ba;return _0x3dc4ad(Ge,Object[_0x589a1d(0x205)]({},_0xc6ed4c,{'id':'off-line-icon','ref':_0x52870c,'icon':pi}));});Pt['displayName']=_0x48c3ba(0x2fc);const Oi={'tag':_0x48c3ba(0x290),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x48c3ba(0x3c3),'viewBox':_0x48c3ba(0x263),'width':_0x48c3ba(0x387),'height':_0x48c3ba(0x387)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x48c3ba(0x342),'attrs':{'stroke':_0x48c3ba(0x351),'d':_0x48c3ba(0x1f9),'strokeLinecap':_0x48c3ba(0x371),'strokeLinejoin':_0x48c3ba(0x371),'strokeWidth':1.2}}]},{'tag':_0x48c3ba(0x2d7),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x48c3ba(0x3e0)},'children':[{'tag':_0x48c3ba(0x342),'attrs':{'fill':_0x48c3ba(0x25e),'d':_0x48c3ba(0x204),'transform':_0x48c3ba(0x382)}}]}]}],'defIds':[_0x48c3ba(0x3e0)]},wt=_0x4ea015(function(_0x42960c,_0xd8cfca){const _0x5c7a65=_0x48c3ba;return _0x3dc4ad(Ge,Object[_0x5c7a65(0x205)]({},_0x42960c,{'id':_0x5c7a65(0x322),'ref':_0xd8cfca,'icon':Oi}));});wt[_0x48c3ba(0x38b)]=_0x48c3ba(0x270);function Ti(_0x434614){const _0xbb20ae=_0x48c3ba;switch(_0x434614){case _0x101556['OFFLINE']:return'collabStatus.offline';case _0x101556['CONFLICT']:return _0xbb20ae(0x2db);case _0x101556[_0xbb20ae(0x3ce)]:return _0xbb20ae(0x37b);case _0x101556[_0xbb20ae(0x1b7)]:return _0xbb20ae(0x320);case _0x101556[_0xbb20ae(0x211)]:case _0x101556[_0xbb20ae(0x1fa)]:return _0xbb20ae(0x24b);case _0x101556['SYNCED']:case _0x101556['PENDING']:return'collabStatus.synced';}}function Ci(_0x5e427a){const _0x7ec158=_0x48c3ba,{status$:_0x48e61a}=_0x5e427a,_0x55b8e3=_0x153cb4(_0x48e61a,_0x101556['NOT_COLLAB']),_0xaede27=_0x2e5725(_0x9481dd),_0xa8f582=_0x2e5725(_0x1fc069),_0xbe6581=_0x55b8e3!==_0x101556[_0x7ec158(0x285)],_0x1cf8de=_0xaede27['t'](Ti(_0x55b8e3)),_0x596a0d=_0xbe6581?_0x130e42(wt,{}):_0x130e42(Pt,{}),_0x520815=_0x47f705(()=>{const _0x5196b3=_0x7ec158;_0xbe6581||_0xa8f582[_0x5196b3(0x2cc)]();},[_0xbe6581,_0xa8f582]);function _0x3ccccd(){const _0x59c4f6=_0x7ec158;return _0x55f98d(_0x59c4f6(0x34b),{'className':'univer-flex\x20univer-items-center','onClick':_0x520815,'children':[_0x130e42(_0x59c4f6(0x34b),{'className':_0x8be64f(_0x59c4f6(0x213),{'univer-text-green-500':_0xbe6581,'univer-text-red-500':!_0xbe6581}),'children':_0x596a0d}),_0x130e42('div',{'className':_0x59c4f6(0x274),'children':_0x1cf8de})]});}return _0xbe6581?_0x3ccccd():_0x130e42(_0x24081d,{'title':_0xaede27['t'](_0x7ec158(0x364)),'children':_0x3ccccd()});}var Ri=Object[_0x48c3ba(0x1fc)],Di=(_0x3812b6,_0x5552f5,_0x2c9656,_0x3ffe94)=>{for(var _0x4e7757=_0x3ffe94>0x1?void 0x0:_0x3ffe94?Ri(_0x5552f5,_0x2c9656):_0x5552f5,_0x1e1453=_0x3812b6['length']-0x1,_0x59f89e;_0x1e1453>=0x0;_0x1e1453--)(_0x59f89e=_0x3812b6[_0x1e1453])&&(_0x4e7757=_0x59f89e(_0x4e7757)||_0x4e7757);return _0x4e7757;},se=(_0x4944f3,_0x17385d)=>(_0x13f18d,_0x47aadd)=>_0x17385d(_0x13f18d,_0x47aadd,_0x4944f3);let ae=class extends _0x624a7{constructor(_0x28ed8f,_0x3c1cd0,_0x1c1554,_0x1685c3){const _0x410dc8=_0x48c3ba;super(),_(this,_0x410dc8(0x23f),new _0x49dc24(_0x101556[_0x410dc8(0x1b7)])),(this[_0x410dc8(0x3c9)]=_0x28ed8f,this[_0x410dc8(0x1f5)]=_0x3c1cd0,this['_collaborationController']=_0x1c1554,this[_0x410dc8(0x3f1)]=_0x1685c3,this['_initStatusComponent'](),this[_0x410dc8(0x217)]());}[_0x48c3ba(0x217)](){const _0x3985f3=_0x48c3ba;this[_0x3985f3(0x279)](this[_0x3985f3(0x3c9)][_0x3985f3(0x256)]['pipe'](_0x2f9477(()=>{const _0x1f65eb=_0x3985f3,_0x1d3f87=this[_0x1f65eb(0x3c9)][_0x1f65eb(0x332)]();return _0x1d3f87?this[_0x1f65eb(0x366)][_0x1f65eb(0x2e8)](_0x1d3f87[_0x1f65eb(0x3c5)]()):_0x30d13d(null);}),_0x2f9477(_0x4dfaa4=>_0x4dfaa4?_0x4dfaa4['status$']:_0x30d13d(_0x101556[_0x3985f3(0x1b7)])))[_0x3985f3(0x357)](_0x1d8f01=>{const _0x5c4476=_0x3985f3;this['_status$'][_0x5c4476(0x2c1)](_0x1d8f01);}));}[_0x48c3ba(0x1a8)](){const _0x118a08=_0x48c3ba;this[_0x118a08(0x279)](this[_0x118a08(0x3f1)][_0x118a08(0x2b7)](_0x2ab863[_0x118a08(0x255)],()=>_0xc1dde9(Ni({'status$':this[_0x118a08(0x23f)]['asObservable']()}),this[_0x118a08(0x1f5)])));}};ae=Di([se(0x0,_0x4daab6),se(0x1,_0x1b0e33(_0x1f9609)),se(0x2,_0x1b0e33(_0x395f14)),se(0x3,_0x57401d)],ae);function Ni(_0x8eb18d){const {status$:_0x51bef2}=_0x8eb18d;return function(){return _0x130e42(Ci,{'status$':_0x51bef2});};}const yt=_0x274629('uni.network.url-service');var bi=Object[_0x48c3ba(0x1fc)],Li=(_0x152d3f,_0x3d9ebf,_0x3d21f1,_0x397b84)=>{for(var _0x543fb4=_0x397b84>0x1?void 0x0:_0x397b84?bi(_0x3d9ebf,_0x3d21f1):_0x3d9ebf,_0x42a887=_0x152d3f['length']-0x1,_0xe36c2;_0x42a887>=0x0;_0x42a887--)(_0xe36c2=_0x152d3f[_0x42a887])&&(_0x543fb4=_0xe36c2(_0x543fb4)||_0x543fb4);return _0x543fb4;},K=(_0x23ece1,_0x1cf7c7)=>(_0x45704a,_0x1edc2f)=>_0x1cf7c7(_0x45704a,_0x1edc2f,_0x23ece1);let ce=class extends _0x40410a{constructor(_0xc1c888,_0x19b498,_0x244c44,_0x5abd14,_0x47aee5){const _0x3016b5=_0x48c3ba;super(),this[_0x3016b5(0x257)]=_0xc1c888,this['_logService']=_0x19b498,this[_0x3016b5(0x26d)]=_0x244c44,this[_0x3016b5(0x224)]=_0x5abd14,_0x47aee5?_0x47aee5==null||_0x47aee5[_0x3016b5(0x329)]()['then'](()=>this[_0x3016b5(0x381)]()):(this[_0x3016b5(0x2a8)][_0x3016b5(0x1ee)](_0x3016b5(0x1dd),_0x3016b5(0x1f2)),this[_0x3016b5(0x381)]());}async['_init'](){const _0xad3db3=_0x48c3ba,_0x31934f=this[_0xad3db3(0x257)][_0xad3db3(0x300)](_0xad3db3(0x393)),_0x211e2b=this[_0xad3db3(0x257)][_0xad3db3(0x300)]('type'),_0x3c28fc=this['_urlService'][_0xad3db3(0x300)](_0xad3db3(0x32b));if(!_0x31934f||!_0x211e2b){this[_0xad3db3(0x2a8)][_0xad3db3(0x1ee)](_0xad3db3(0x1dd),_0xad3db3(0x1cf));return;}const _0x353ad1=await this[_0xad3db3(0x224)][_0xad3db3(0x1c9)](_0x31934f,Number(_0x211e2b),_0x3c28fc);_0x353ad1&&_0x353ad1 instanceof _0x745bb0&&this['_setupSubUnitSync'](_0x353ad1);}async[_0x48c3ba(0x3ec)](_0x17ef9b){const _0xff5824=_0x48c3ba;await this[_0xff5824(0x2c2)](_0x17ef9b),_0x17ef9b[_0xff5824(0x29e)][_0xff5824(0x27f)](_0x54c732(this[_0xff5824(0x29a)]))['subscribe'](_0x4ef0ed=>{const _0x4986ae=_0xff5824;_0x4ef0ed&&this[_0x4986ae(0x258)](_0x4ef0ed);}),this[_0xff5824(0x257)][_0xff5824(0x2bc)]['pipe'](_0x54c732(this[_0xff5824(0x29a)]))[_0xff5824(0x357)](()=>this[_0xff5824(0x2c2)](_0x17ef9b));}[_0x48c3ba(0x258)](_0x4a1ac2,_0x148902=!0x1){const _0x8eae6d=_0x48c3ba,_0x2cabd9=this[_0x8eae6d(0x257)][_0x8eae6d(0x300)](_0x8eae6d(0x32b));_0x4a1ac2[_0x8eae6d(0x36c)]()!==_0x2cabd9&&this[_0x8eae6d(0x257)][_0x8eae6d(0x286)]('subunit',_0x4a1ac2[_0x8eae6d(0x36c)](),_0x148902);}async[_0x48c3ba(0x2c2)](_0x126805){const _0xd99e2c=_0x48c3ba;var _0x223f01;const _0x23bb3e=this['_urlService'][_0xd99e2c(0x300)]('subunit');if(!_0x23bb3e||!_0x126805[_0xd99e2c(0x1f7)](_0x23bb3e)){const _0x5b9bc6=_0x126805[_0xd99e2c(0x1c1)]()[0x0],_0x37648a=_0x126805[_0xd99e2c(0x1f7)](_0x5b9bc6);if(!_0x37648a)return;this[_0xd99e2c(0x258)](_0x37648a,!0x0),await this[_0xd99e2c(0x26d)][_0xd99e2c(0x2f1)](_0x365a3e['id'],{'unitId':_0x126805[_0xd99e2c(0x3c5)](),'subUnitId':_0x5b9bc6});return;}((_0x223f01=_0x126805[_0xd99e2c(0x3f8)]())==null?void 0x0:_0x223f01[_0xd99e2c(0x36c)]())!==_0x23bb3e&&await this[_0xd99e2c(0x26d)][_0xd99e2c(0x2f1)](_0x365a3e['id'],{'unitId':_0x126805['getUnitId'](),'subUnitId':_0x23bb3e});}};ce=Li([K(0x0,yt),K(0x1,_0x395468),K(0x2,_0x29fec4),K(0x3,_0x1b0e33(_0x3fce22)),K(0x4,_0x396014(_0x4062af))],ce);var Ui=Object['getOwnPropertyDescriptor'],Mi=(_0x4bfdba,_0x3baf42,_0x39b0ea,_0xcaab9a)=>{const _0xd78413=_0x48c3ba;for(var _0x55c2b9=_0xcaab9a>0x1?void 0x0:_0xcaab9a?Ui(_0x3baf42,_0x39b0ea):_0x3baf42,_0x462744=_0x4bfdba[_0xd78413(0x1df)]-0x1,_0x22dcf1;_0x462744>=0x0;_0x462744--)(_0x22dcf1=_0x4bfdba[_0x462744])&&(_0x55c2b9=_0x22dcf1(_0x55c2b9)||_0x55c2b9);return _0x55c2b9;},rt=(_0x5a4955,_0x5c450a)=>(_0x1f772f,_0x2ea0f9)=>_0x5c450a(_0x1f772f,_0x2ea0f9,_0x5a4955);let $e=class extends _0x40410a{constructor(_0x15f062,_0x3c892b){const _0x43a0ab=_0x48c3ba;super(),this['_docClipboardService']=_0x15f062,this[_0x43a0ab(0x251)]=_0x3c892b,this[_0x43a0ab(0x381)]();}[_0x48c3ba(0x381)](){const _0x449f98=_0x48c3ba,_0x41334b=this;this['disposeWithMe'](this[_0x449f98(0x3e6)][_0x449f98(0x379)]({'onBeforePasteImage':async _0x22b4d1=>{const _0x14e3c3=_0x449f98,_0x2091a2=await _0x41334b['_imageIoService']['saveImage'](_0x22b4d1);return _0x2091a2?{'source':_0x2091a2['source'],'imageSourceType':_0x2091a2[_0x14e3c3(0x28e)]}:null;}}));}};$e=Mi([rt(0x0,_0x3d5ed0),rt(0x1,_0x668f2c)],$e);const ot=[_0x48c3ba(0x1eb),_0x48c3ba(0x392),_0x48c3ba(0x37f),_0x48c3ba(0x25b),_0x48c3ba(0x3e4),_0x48c3ba(0x2fe)];class Ke extends _0x624a7{constructor(){const _0x35c27d=_0x48c3ba;super(...arguments),_(this,_0x35c27d(0x30e),new Map()),_(this,_0x35c27d(0x2c0),0x0);}[_0x48c3ba(0x388)](_0x3ddb2c){const _0x515f70=_0x48c3ba;if(this['_assignedColors'][_0x515f70(0x1af)](_0x3ddb2c))return this[_0x515f70(0x30e)]['get'](_0x3ddb2c);const _0x1523b7=ot[this[_0x515f70(0x2c0)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%ot['length'],this['_assignedColors'][_0x515f70(0x1f8)](_0x3ddb2c,_0x1523b7),_0x1523b7;}}function $t(_0x51d7ac){let _0x69622e='';for(const _0x11ad92 of _0x51d7ac){const {startOffset:_0x16c3f4,endOffset:_0x5364f7,isActive:_0xdf370d,rangeType:_0x3c215e,segmentId:_0xa8d529,segmentPage:_0x322347}=_0x11ad92;_0x69622e['length']&&(_0x69622e+=','),_0x69622e+=_0x16c3f4+':'+_0x5364f7+':'+(_0xdf370d?'1':'0')+':'+_0x3c215e+':'+_0xa8d529+':'+_0x322347;}return _0x69622e;}function Ai(_0x445778){const _0x4e6b7e=_0x48c3ba,_0x5499b1=_0x445778['split'](','),_0x584677=[];for(const _0x24b45d of _0x5499b1){const [_0x2e86d8,_0x402635,_0x1006c1,_0x4b45b1,_0x455850,_0x35a528]=_0x24b45d[_0x4e6b7e(0x377)](':');_0x584677[_0x4e6b7e(0x39f)]({'startOffset':Number(_0x2e86d8),'endOffset':Number(_0x402635),'collapsed':_0x2e86d8===_0x402635,'isActive':_0x1006c1==='1','rangeType':_0x4b45b1===_0x51d1d5['TEXT']?_0x51d1d5['TEXT']:_0x51d1d5[_0x4e6b7e(0x26e)],'segmentId':typeof _0x455850=='string'?String(_0x455850):'','segmentPage':Number(_0x35a528!=null?_0x35a528:-0x1)});}return _0x584677[_0x4e6b7e(0x310)](_0x5e785e=>_0x5e785e['isActive'])||(_0x584677[0x0]['isActive']=!0x0),_0x584677;}class ze extends _0x40410a{constructor(){const _0x9504e5=_0x48c3ba;super(...arguments),_(this,_0x9504e5(0x25a),new _0x49dc24(null)),_(this,_0x9504e5(0x272),this[_0x9504e5(0x25a)]['asObservable']());}[_0x48c3ba(0x1b6)](_0x428278){const _0x4cec08=_0x48c3ba,{unitID:_0x283ca9,memberID:_0x3330fe,textRanges:_0x37565a}=_0x428278,_0x8b12ab=$t(_0x37565a);if(_0x8b12ab==='')return;const _0x260446={'unitID':_0x283ca9,'memberID':_0x3330fe,'selection':_0x8b12ab};this[_0x4cec08(0x25a)][_0x4cec08(0x2c1)](_0x260446);}}var Pi=Object['getOwnPropertyDescriptor'],wi=(_0x2fd73d,_0x46d118,_0x50bc9e,_0x1d47c8)=>{for(var _0x5bd8c0=_0x1d47c8>0x1?void 0x0:_0x1d47c8?Pi(_0x46d118,_0x50bc9e):_0x46d118,_0x391af2=_0x2fd73d['length']-0x1,_0x2dc0ca;_0x391af2>=0x0;_0x391af2--)(_0x2dc0ca=_0x2fd73d[_0x391af2])&&(_0x5bd8c0=_0x2dc0ca(_0x5bd8c0)||_0x5bd8c0);return _0x5bd8c0;},A=(_0x2cd283,_0x15d4e3)=>(_0x3dd61a,_0x3957de)=>_0x15d4e3(_0x3dd61a,_0x3957de,_0x2cd283);const yi=0x12c,$i=0x64;let xe=class extends _0x40410a{constructor(_0x3fe670,_0x36f384,_0x2f0175,_0x5b69f1,_0x1d2546,_0x492c5e,_0x5c0ca6,_0x5968b9,_0x3c53a0){const _0x54c9be=_0x48c3ba;super(),_(this,_0x54c9be(0x2a6),!0x1),_(this,'_init',!0x1),_(this,'_cursorInfo$',new _0x49dc24(new Map())),_(this,_0x54c9be(0x35a),this[_0x54c9be(0x3b3)]['asObservable']()),_(this,_0x54c9be(0x225),new _0x49dc24([])),_(this,_0x54c9be(0x1a5),this[_0x54c9be(0x225)]['pipe'](_0x2ecc95(yi))),_(this,_0x54c9be(0x2ed),_0x826b33(_0x12a422=>{const _0x2951c9=_0x54c9be,_0xa41a66={'eventID':_0x4035e8[_0x2951c9(0x36a)],'data':{'unitID':this[_0x2951c9(0x3ba)],'memberID':this[_0x2951c9(0x228)][_0x2951c9(0x319)](),'selection':$t(_0x12a422)}};this['_session'][_0x2951c9(0x2ec)](_0xa41a66,this[_0x2951c9(0x3ba)]);},$i)),(this[_0x54c9be(0x3ba)]=_0x3fe670,this[_0x54c9be(0x228)]=_0x36f384,this[_0x54c9be(0x1f5)]=_0x2f0175,this[_0x54c9be(0x2bd)]=_0x5b69f1,this[_0x54c9be(0x2a2)]=_0x1d2546,this[_0x54c9be(0x2b0)]=_0x492c5e,this[_0x54c9be(0x304)]=_0x5c0ca6,this[_0x54c9be(0x3c9)]=_0x5968b9,this[_0x54c9be(0x26d)]=_0x3c53a0);}get[_0x48c3ba(0x1d3)](){const _0x514c3f=_0x48c3ba;return this['_cursorInfo$'][_0x514c3f(0x358)]();}get[_0x48c3ba(0x1ea)](){const _0x2b03c9=_0x48c3ba;return this[_0x2b03c9(0x225)][_0x2b03c9(0x358)]();}[_0x48c3ba(0x1f3)](){const _0x2fadc6=_0x48c3ba;super[_0x2fadc6(0x1f3)](),this[_0x2fadc6(0x3b3)]['next'](new Map()),this[_0x2fadc6(0x3b3)]['complete'](),this[_0x2fadc6(0x225)][_0x2fadc6(0x2c1)]([]),this[_0x2fadc6(0x225)]['complete']();}['init'](){const _0xd9103a=_0x48c3ba;this[_0xd9103a(0x381)]||(this['_init']=!0x0,this[_0xd9103a(0x228)]['sessionStatus$']['pipe'](_0x54c732(this[_0xd9103a(0x29a)]))[_0xd9103a(0x357)](_0x2d1a43=>{const _0x5996a8=_0xd9103a;_0x2d1a43===_0x2e8ad4['ONLINE']?this['_toggleOnline']():this[_0x5996a8(0x1bb)]();}),this[_0xd9103a(0x228)][_0xd9103a(0x246)][_0xd9103a(0x27f)](_0x54c732(this[_0xd9103a(0x29a)]))[_0xd9103a(0x357)](_0x48dca2=>{const _0x1765d6=_0xd9103a,_0x3fce71=_0x48dca2[_0x1765d6(0x372)];_0x3fce71===_0x4035e8[_0x1765d6(0x36a)]&&this['_onCursorUpdate'](_0x48dca2),_0x3fce71===_0x4035e8[_0x1765d6(0x2fa)]&&this['_onCursorDelete'](_0x48dca2);}),this[_0xd9103a(0x279)](this[_0xd9103a(0x26d)][_0xd9103a(0x1b4)](_0x3e0398=>{const _0x79753f=_0xd9103a,_0x4f800b=_0x3e0398['params'];_0x4f800b!=null&&this[_0x79753f(0x2a6)]&&_0x3e0398['id']===_0x23d33f['id']&&_0x4f800b['unitId']===this['unitID']&&_0x4f800b[_0x79753f(0x2d8)]===!0x1&&_0x4f800b[_0x79753f(0x237)][_0x79753f(0x1df)]>0x0&&this[_0x79753f(0x2ed)](_0x4f800b[_0x79753f(0x237)]);})),this[_0xd9103a(0x2b0)][_0xd9103a(0x272)][_0xd9103a(0x27f)](_0x54c732(this[_0xd9103a(0x29a)]))[_0xd9103a(0x357)](_0x182ec2=>{const _0x4bd932=_0xd9103a;if((_0x182ec2==null?void 0x0:_0x182ec2[_0x4bd932(0x3ba)])!==this[_0x4bd932(0x3ba)])return;const _0x422ad4={'eventID':_0x4035e8[_0x4bd932(0x36a)],'data':_0x182ec2};this[_0x4bd932(0x1b8)](_0x422ad4);}),this[_0xd9103a(0x279)](this[_0xd9103a(0x26d)][_0xd9103a(0x1b4)](_0x296406=>{const _0x59fe25=_0xd9103a;if(_0x296406[_0x59fe25(0x30c)]==null)return;const _0x1dfe75=_0x296406['params'];if(_0x296406['id']!==_0x2edc2a['id']||_0x1dfe75[_0x59fe25(0x3f9)]!==this[_0x59fe25(0x3ba)])return;const _0x46a21d={'id':_0x59fe25(0x3b1),'params':_0x1dfe75},_0x29751c=this['cursorInfo'];for(const [_0x42bad5,_0xbafc34]of _0x29751c){const _0x5f26e7={'id':_0x59fe25(0x3b1),'params':{'unitId':this[_0x59fe25(0x3ba)],'actions':null,'textRanges':_0xbafc34[_0x59fe25(0x237)]}},_0x369fb4=this[_0x59fe25(0x304)][_0x59fe25(0x33b)](_0x46a21d,_0x5f26e7,!0x1);if(_0x1860da(_0x369fb4))throw _0x369fb4[_0x59fe25(0x318)];_0x29751c[_0x59fe25(0x1f8)](_0x42bad5,{..._0xbafc34,'ranges':_0x369fb4[_0x59fe25(0x398)][_0x59fe25(0x30c)]['textRanges']});}queueMicrotask(()=>{const _0x4eed2a=_0x59fe25;this[_0x4eed2a(0x3b3)]['next'](_0x29751c);});})));}['_onCursorUpdate'](_0x4d32f4){const _0xc64de4=_0x48c3ba;var _0x1445fe,_0x5acd14;const {memberID:_0x4fba1d,selection:_0xd2c4b5}=_0x4d32f4[_0xc64de4(0x2ad)],_0x237271=Ai(_0xd2c4b5),_0x293559=(_0x5acd14=(_0x1445fe=this[_0xc64de4(0x2a2)][_0xc64de4(0x2d3)](this[_0xc64de4(0x3ba)],_0x4fba1d))==null?void 0x0:_0x1445fe[_0xc64de4(0x37c)])!=null?_0x5acd14:'Unknown\x20user',_0x31ded6={'color':this[_0xc64de4(0x2bd)][_0xc64de4(0x388)](_0x4fba1d),'name':_0x293559,'ranges':_0x237271},_0x43ab40=this[_0xc64de4(0x1d3)];_0x43ab40[_0xc64de4(0x1f8)](_0x4fba1d,_0x31ded6),this[_0xc64de4(0x3b3)][_0xc64de4(0x2c1)](_0x43ab40);}[_0x48c3ba(0x1bf)](_0x5e648a){const _0x149335=_0x48c3ba,{memberID:_0x2b08fb}=_0x5e648a[_0x149335(0x2ad)],_0x2cf448=this[_0x149335(0x1d3)];_0x2cf448[_0x149335(0x28b)](_0x2b08fb),this[_0x149335(0x3b3)][_0x149335(0x2c1)](_0x2cf448);}['_toggleOnline'](){const _0x3ac74f=_0x48c3ba;var _0x2d9b70;if(this['_online']=!0x0,((_0x2d9b70=this[_0x3ac74f(0x3c9)][_0x3ac74f(0x332)]())==null?void 0x0:_0x2d9b70[_0x3ac74f(0x3c5)]())!==this[_0x3ac74f(0x3ba)])return;const _0x1eb805=this[_0x3ac74f(0x1f5)][_0x3ac74f(0x29d)](_0x5b6dfb)[_0x3ac74f(0x34e)]();Array[_0x3ac74f(0x38d)](_0x1eb805)&&_0x1eb805[_0x3ac74f(0x1df)]>0x0&&this[_0x3ac74f(0x2ed)](_0x1eb805);}[_0x48c3ba(0x1bb)](){const _0x1fdf03=_0x48c3ba;this[_0x1fdf03(0x2a6)]=!0x1;}};xe=wi([A(0x2,_0x1b0e33(_0x1f9609)),A(0x3,_0x1b0e33(Ke)),A(0x4,_0x1b0e33(_0x4e1bb7)),A(0x5,_0x1b0e33(ze)),A(0x6,_0x21df31),A(0x7,_0x4daab6),A(0x8,_0x29fec4)],xe);var xi=Object[_0x48c3ba(0x1fc)],Bi=(_0x5f564f,_0x323e12,_0x56068b,_0x120741)=>{const _0x133251=_0x48c3ba;for(var _0x5946bc=_0x120741>0x1?void 0x0:_0x120741?xi(_0x323e12,_0x56068b):_0x323e12,_0x2c4f73=_0x5f564f[_0x133251(0x1df)]-0x1,_0xf7fd49;_0x2c4f73>=0x0;_0x2c4f73--)(_0xf7fd49=_0x5f564f[_0x2c4f73])&&(_0x5946bc=_0xf7fd49(_0x5946bc)||_0x5946bc);return _0x5946bc;},B=(_0x418660,_0x54f6de)=>(_0x4b7c1d,_0x26f8ad)=>_0x54f6de(_0x4b7c1d,_0x26f8ad,_0x418660);const Fi=0x12c,ki=0x64,Hi=()=>{let _0x4568e5=[],_0x16b639=!0x1;return _0x564439=>{const _0x280296=_0x44cc;_0x4568e5[_0x280296(0x39f)](_0x564439),_0x16b639||(_0x16b639=!0x0,setTimeout(()=>{const _0xfa9227=_0x280296;_0x4568e5[_0xfa9227(0x350)](_0x11557a=>_0x11557a()),_0x4568e5=[],_0x16b639=!0x1;}));};};let Be=class extends _0x40410a{constructor(_0x16dd2a,_0x23321c,_0x595c8b,_0x16719a,_0x21c8e0,_0x477d2e,_0x4ff6be,_0x177afd){const _0x52ff82=_0x48c3ba;super(),_(this,_0x52ff82(0x2a6),!0x1),_(this,_0x52ff82(0x381),!0x1),_(this,_0x52ff82(0x3b3),new _0x49dc24(new Map())),_(this,_0x52ff82(0x35a),this[_0x52ff82(0x3b3)][_0x52ff82(0x3b2)]()),_(this,_0x52ff82(0x225),new _0x49dc24([])),_(this,_0x52ff82(0x1a5),this['_roomMembers$']['pipe'](_0x2ecc95(Fi))),_(this,'_updateLocalCursor',_0x826b33((_0x52ded1,_0x216ad4)=>{const _0x244c76=_0x52ff82,_0x50782e={'eventID':_0x4035e8[_0x244c76(0x36a)],'data':{'unitID':this[_0x244c76(0x3ba)],'memberID':this['_session'][_0x244c76(0x319)](),'selection':_0x3b54cc(_0x52ded1,_0x216ad4[_0x244c76(0x397)])}};this[_0x244c76(0x228)]['send'](_0x50782e,this[_0x244c76(0x3ba)]);},ki)),(this[_0x52ff82(0x3ba)]=_0x16dd2a,this[_0x52ff82(0x228)]=_0x23321c,this[_0x52ff82(0x1f5)]=_0x595c8b,this['_colorAssignService']=_0x16719a,this[_0x52ff82(0x2a2)]=_0x21c8e0,this[_0x52ff82(0x3c9)]=_0x477d2e,this[_0x52ff82(0x26d)]=_0x4ff6be,this[_0x52ff82(0x2eb)]=_0x177afd);}get[_0x48c3ba(0x1d3)](){const _0x18aa38=_0x48c3ba;return this[_0x18aa38(0x3b3)][_0x18aa38(0x358)]();}get[_0x48c3ba(0x1ea)](){const _0x4e9487=_0x48c3ba;return this[_0x4e9487(0x225)]['getValue']();}[_0x48c3ba(0x1f3)](){const _0x3d8965=_0x48c3ba;super[_0x3d8965(0x1f3)](),this['_cursorInfo$'][_0x3d8965(0x2c1)](new Map()),this[_0x3d8965(0x3b3)][_0x3d8965(0x1be)](),this[_0x3d8965(0x225)][_0x3d8965(0x2c1)]([]),this['_roomMembers$'][_0x3d8965(0x1be)]();}[_0x48c3ba(0x23d)](){const _0x38d587=_0x48c3ba;this[_0x38d587(0x381)]||(this[_0x38d587(0x381)]=!0x0,this[_0x38d587(0x228)][_0x38d587(0x396)][_0x38d587(0x27f)](_0x54c732(this[_0x38d587(0x29a)]))[_0x38d587(0x357)](_0x567073=>{const _0x128014=_0x38d587;_0x567073===_0x2e8ad4[_0x128014(0x25d)]?this[_0x128014(0x3e8)]():this[_0x128014(0x1bb)]();}),this[_0x38d587(0x228)][_0x38d587(0x246)]['pipe'](_0x54c732(this['dispose$']))[_0x38d587(0x357)](_0x4ab961=>{const _0x33b1bb=_0x38d587,_0x56cb5b=_0x4ab961[_0x33b1bb(0x372)];_0x56cb5b===_0x4035e8['UPDATE_CURSOR']&&this[_0x33b1bb(0x1b8)](_0x4ab961),_0x56cb5b===_0x4035e8['USERS_LEAVE']&&this[_0x33b1bb(0x1bf)](_0x4ab961);}),this[_0x38d587(0x2cb)](),this[_0x38d587(0x279)](this[_0x38d587(0x26d)][_0x38d587(0x1b4)](_0x3166fe=>{const _0x117cf6=_0x38d587;if(this[_0x117cf6(0x2a6)]&&_0x3166fe['id']===_0x190b04['id']&&_0x3166fe[_0x117cf6(0x30c)]['unitId']===this['unitID']){const _0x1c6330=_0x3166fe['params'];this['_updateLocalCursor'](_0x1c6330[_0x117cf6(0x3f6)],_0x1c6330[_0x117cf6(0x1ae)][0x0]);}})));}['_onCursorUpdate'](_0x354491){const _0x395df1=_0x48c3ba;var _0x3de778,_0x48df4f;const {memberID:_0x45db83,selection:_0x53b3b8}=_0x354491[_0x395df1(0x2ad)],{sheetName:_0x5e24ee,range:_0x378975}=_0x23842c(_0x53b3b8),_0x16fcba={'name':(_0x48df4f=(_0x3de778=this['_memberService'][_0x395df1(0x2d3)](this[_0x395df1(0x3ba)],_0x45db83))==null?void 0x0:_0x3de778[_0x395df1(0x37c)])!=null?_0x48df4f:_0x395df1(0x3ca),'range':this[_0x395df1(0x354)](_0x5e24ee,_0x378975),'sheetID':_0x5e24ee,'color':this[_0x395df1(0x2bd)][_0x395df1(0x388)](_0x45db83),'selection':_0x53b3b8},_0x2e799f=this[_0x395df1(0x1d3)];_0x2e799f[_0x395df1(0x1f8)](_0x45db83,_0x16fcba),this['_cursorInfo$'][_0x395df1(0x2c1)](_0x2e799f);}['_onCursorDelete'](_0x60acbc){const _0x3116f1=_0x48c3ba,{memberID:_0x577e8b}=_0x60acbc[_0x3116f1(0x2ad)],_0x17fac3=this['cursorInfo'];_0x17fac3[_0x3116f1(0x28b)](_0x577e8b),this[_0x3116f1(0x3b3)]['next'](_0x17fac3);}['_getMergeRange'](_0x52d1a9,_0xf55a54){const _0xc0de6e=_0x48c3ba;var _0x5b9b47,_0x16f55b;const _0x2b5f42=(_0x16f55b=(_0x5b9b47=this[_0xc0de6e(0x3c9)]['getUniverSheetInstance'](this[_0xc0de6e(0x3ba)]))==null?void 0x0:_0x5b9b47[_0xc0de6e(0x1f7)](_0x52d1a9))==null?void 0x0:_0x16f55b['getMergeData']();return(_0x2b5f42==null?void 0x0:_0x2b5f42[_0xc0de6e(0x245)](_0x3dc0e=>_0x96758e[_0xc0de6e(0x23a)](_0x3dc0e,_0xf55a54)))||_0xf55a54;}['_onRefRangeChange'](){const _0x3f4b02=_0x48c3ba,_0x241668=new _0xe66f92(),_0x18a3d6=Hi(),_0x13633e=()=>{const _0x1d04f4=_0x44cc;_0x241668[_0x1d04f4(0x1f3)]();const _0x586468=(_0x1d9805,_0x336337,_0x32cd10,_0x1bb0d1)=>{const _0x18cce3=_0x1d04f4;let _0x147750=[];switch(_0x1d9805['id']){case _0x23b67d['DeleteRangeMoveLeftCommandId']:{_0x147750=_0x5bc70b(_0x1d9805,_0x1bb0d1);break;}case _0x23b67d[_0x18cce3(0x311)]:{_0x147750=_0x203b88(_0x1d9805,_0x1bb0d1);break;}case _0x23b67d[_0x18cce3(0x26a)]:{_0x147750=_0x172439(_0x1d9805,_0x1bb0d1);break;}case _0x23b67d[_0x18cce3(0x3da)]:{_0x147750=_0xcf3c68(_0x1d9805,_0x1bb0d1);break;}case _0x23b67d[_0x18cce3(0x22c)]:{_0x147750=_0x3795d9(_0x1d9805,_0x1bb0d1);break;}case _0x23b67d[_0x18cce3(0x1e4)]:{_0x147750=_0x44f5d9(_0x1d9805,_0x1bb0d1);break;}case _0x23b67d[_0x18cce3(0x38e)]:{_0x147750=_0x5c2c27(_0x1d9805,_0x1bb0d1);break;}case _0x23b67d[_0x18cce3(0x2a4)]:{_0x147750=_0x2362f1(_0x1d9805,_0x1bb0d1);break;}case _0x23b67d['RemoveRowCommandId']:{_0x147750=_0x32e120(_0x1d9805,_0x1bb0d1);break;}}const _0x5b5005=_0x37c663(_0x147750,_0x1bb0d1),_0x2bb7de=this[_0x18cce3(0x1d3)][_0x18cce3(0x29d)](_0x336337);if(_0x2bb7de&&_0x5b5005){const _0x43d95d={..._0x2bb7de,'range':_0x5b5005};this['cursorInfo'][_0x18cce3(0x1f8)](_0x336337,_0x43d95d),_0x18a3d6(()=>{const _0x5881f9=_0x18cce3,_0x4f0182=this[_0x5881f9(0x2eb)][_0x5881f9(0x232)](_0x5b5005,_0x3b3e32=>(_0x4f0182[_0x5881f9(0x1f3)](),_0x586468(_0x3b3e32,_0x336337,_0x32cd10,_0x5b5005)));_0x241668['add'](_0x4f0182);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x1d04f4(0x350)]((_0x2fc5da,_0x2c54b7)=>{const _0x30dd58=_0x1d04f4,{range:_0x59994e,sheetID:_0x13e8ab}=_0x2fc5da,_0x33c220=this[_0x30dd58(0x2eb)][_0x30dd58(0x232)](_0x59994e,_0x4d34fd=>(_0x33c220[_0x30dd58(0x1f3)](),_0x586468(_0x4d34fd,_0x2c54b7,_0x13e8ab,_0x59994e)));_0x241668[_0x30dd58(0x1a7)](_0x33c220);});};this[_0x3f4b02(0x279)](_0x15cb86(this[_0x3f4b02(0x3b3)]['subscribe'](()=>{_0x13633e();})));}['_toggleOnline'](){const _0x4c3f53=_0x48c3ba;var _0x116220,_0x376680;if(this[_0x4c3f53(0x2a6)]=!0x0,((_0x116220=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x116220[_0x4c3f53(0x3c5)]())!==this['unitID'])return;const _0x336a65=(_0x376680=this[_0x4c3f53(0x1f5)][_0x4c3f53(0x29d)](_0x12ccb5)[_0x4c3f53(0x345)]())==null?void 0x0:_0x376680[0x0],_0x37a58f=this[_0x4c3f53(0x3c9)][_0x4c3f53(0x31b)](_0x2ddafe[_0x4c3f53(0x32d)])[_0x4c3f53(0x3f8)]();_0x336a65&&_0x37a58f&&this[_0x4c3f53(0x2ed)](_0x37a58f[_0x4c3f53(0x36c)](),_0x336a65);}[_0x48c3ba(0x1bb)](){this['_online']=!0x1;}};Be=Bi([B(0x2,_0x1b0e33(_0x1f9609)),B(0x3,_0x1b0e33(Ke)),B(0x4,_0x1b0e33(_0x4e1bb7)),B(0x5,_0x4daab6),B(0x6,_0x29fec4),B(0x7,_0x1b0e33(_0x489e41))],Be);var Yi=Object[_0x48c3ba(0x1fc)],Wi=(_0x296839,_0x3a7b09,_0x2e99e4,_0x331b51)=>{for(var _0x208714=_0x331b51>0x1?void 0x0:_0x331b51?Yi(_0x3a7b09,_0x2e99e4):_0x3a7b09,_0x564ff5=_0x296839['length']-0x1,_0x393bc7;_0x564ff5>=0x0;_0x564ff5--)(_0x393bc7=_0x296839[_0x564ff5])&&(_0x208714=_0x393bc7(_0x208714)||_0x208714);return _0x208714;},Ce=(_0x22a1ed,_0x4d98a6)=>(_0x5b3e83,_0x146c75)=>_0x4d98a6(_0x5b3e83,_0x146c75,_0x22a1ed);let H=class extends _0x40410a{constructor(_0x250df2,_0x29ff05,_0x2c19e5){const _0x3ae3e6=_0x48c3ba;super(),_(this,'_entities',new Map()),_(this,'_entityInit$',new _0x4ec9ae()),(this['_univerInstanceService']=_0x250df2,this['_injector']=_0x29ff05,this[_0x3ae3e6(0x223)]=_0x2c19e5,this[_0x3ae3e6(0x381)]());}[_0x48c3ba(0x1f3)](){const _0x1efa0e=_0x48c3ba;super[_0x1efa0e(0x1f3)](),this[_0x1efa0e(0x1e1)][_0x1efa0e(0x1be)](),this[_0x1efa0e(0x34d)][_0x1efa0e(0x350)](_0x3f4593=>_0x3f4593[_0x1efa0e(0x1f3)]());}[_0x48c3ba(0x315)](_0x55415e){const _0x4baf71=_0x48c3ba;return this['_entities'][_0x4baf71(0x1af)](_0x55415e)?this[_0x4baf71(0x34d)][_0x4baf71(0x29d)](_0x55415e)[_0x4baf71(0x35a)]:this['_entityInit$']['pipe'](_0x1e6ba2(_0x2967c8=>_0x2967c8[_0x4baf71(0x3ba)]===_0x55415e),_0x2f9477(_0x257eaa=>_0x257eaa[_0x4baf71(0x35a)]));}['_init'](){const _0x469e56=_0x48c3ba;this[_0x469e56(0x3c9)][_0x469e56(0x3b6)](_0x2ddafe[_0x469e56(0x32d)])[_0x469e56(0x27f)](_0x54c732(this[_0x469e56(0x29a)]))[_0x469e56(0x357)](async _0x4a0ab7=>{const _0x223092=_0x469e56,_0x5f106a=_0x4a0ab7[_0x223092(0x3c5)](),_0x2ba35d=await this[_0x223092(0x299)](_0x5f106a);this[_0x223092(0x1e1)][_0x223092(0x2c1)](_0x2ba35d),this['_entities'][_0x223092(0x1f8)](_0x5f106a,_0x2ba35d);}),this[_0x469e56(0x3c9)][_0x469e56(0x3b6)](_0x2ddafe['UNIVER_DOC'])[_0x469e56(0x27f)](_0x54c732(this[_0x469e56(0x29a)]))['pipe'](_0x1e6ba2(_0x2fae15=>!_0x2fae15[_0x469e56(0x3c5)]()[_0x469e56(0x3c1)]('__')))['subscribe'](async _0x3e350a=>{const _0x3eb521=_0x469e56,_0x5ba7ac=_0x3e350a['getUnitId'](),_0xef5405=await this['_startDocCollabCursor'](_0x5ba7ac);this[_0x3eb521(0x1e1)][_0x3eb521(0x2c1)](_0xef5405),this[_0x3eb521(0x34d)][_0x3eb521(0x1f8)](_0x5ba7ac,_0xef5405);}),_0x1a121b(this[_0x469e56(0x3c9)][_0x469e56(0x242)](_0x2ddafe[_0x469e56(0x35c)]),this[_0x469e56(0x3c9)]['getTypeOfUnitDisposed$'](_0x2ddafe[_0x469e56(0x32d)]))['pipe'](_0x54c732(this[_0x469e56(0x29a)]))[_0x469e56(0x357)](_0x35fffe=>{const _0x411532=_0x469e56,_0x537362=_0x35fffe[_0x411532(0x3c5)](),_0xc2f5a8=this[_0x411532(0x34d)][_0x411532(0x29d)](_0x537362);_0xc2f5a8&&(_0xc2f5a8[_0x411532(0x1f3)](),this[_0x411532(0x34d)][_0x411532(0x28b)](_0x537362));});}async[_0x48c3ba(0x299)](_0x118521){const _0x2e5680=_0x48c3ba,_0x3e4ea8=await this[_0x2e5680(0x223)]['requireSession'](_0x118521),_0x557838=this[_0x2e5680(0x1f5)][_0x2e5680(0x3d0)](Be,_0x118521,_0x3e4ea8);return _0x557838[_0x2e5680(0x23d)](),_0x557838;}async['_startDocCollabCursor'](_0x26e7dc){const _0x39c274=_0x48c3ba,_0x12a550=await this[_0x39c274(0x223)][_0x39c274(0x268)](_0x26e7dc),_0x326d00=this[_0x39c274(0x1f5)][_0x39c274(0x3d0)](xe,_0x26e7dc,_0x12a550);return _0x326d00[_0x39c274(0x23d)](),_0x326d00;}};H=Wi([Ce(0x0,_0x4daab6),Ce(0x1,_0x1b0e33(_0x1f9609)),Ce(0x2,_0x1b0e33(_0x1fc069))],H);const Q=0x14,at=0xc8,Re=0x4,Vi=0x5;function ji(_0x44beb4,_0x5a24b4){const _0x536973=_0x48c3ba;let {radius:_0x5ba0e9,width:_0x9ca47a,height:_0x4e5bb5}=_0x5a24b4;_0x5ba0e9=_0x5ba0e9!=null?_0x5ba0e9:0x0,_0x9ca47a=_0x9ca47a!=null?_0x9ca47a:0x1e,_0x4e5bb5=_0x4e5bb5!=null?_0x4e5bb5:0x1e;let _0x3f77e4=0x0,_0xe3590=0x0,_0x59ed6d=0x0;_0x3f77e4=_0xe3590=_0x59ed6d=Math[_0x536973(0x291)](_0x5ba0e9,_0x9ca47a/0x2,_0x4e5bb5/0x2),_0x44beb4[_0x536973(0x34c)](),_0x44beb4[_0x536973(0x3e9)](_0x3f77e4,0x0),_0x44beb4[_0x536973(0x3db)](_0x9ca47a-_0xe3590,0x0),_0x44beb4[_0x536973(0x330)](_0x9ca47a-_0xe3590,_0xe3590,_0xe3590,Math['PI']*0x3/0x2,0x0,!0x1),_0x44beb4[_0x536973(0x3db)](_0x9ca47a,_0x4e5bb5-_0x59ed6d),_0x44beb4['arc'](_0x9ca47a-_0x59ed6d,_0x4e5bb5-_0x59ed6d,_0x59ed6d,0x0,Math['PI']/0x2,!0x1),_0x44beb4[_0x536973(0x3db)](0x0,_0x4e5bb5),_0x44beb4[_0x536973(0x3db)](0x0,_0x3f77e4),_0x44beb4[_0x536973(0x330)](_0x3f77e4,_0x3f77e4,_0x3f77e4,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x44beb4[_0x536973(0x323)](),_0x5a24b4['fill']&&(_0x44beb4['save'](),_0x44beb4[_0x536973(0x309)]=_0x5a24b4[_0x536973(0x34f)],_0x5a24b4['fillRule']===_0x536973(0x26f)?_0x44beb4[_0x536973(0x34f)](_0x536973(0x26f)):_0x44beb4[_0x536973(0x34f)](),_0x44beb4['restore']());}class ve extends _0x2efef1{constructor(_0x50b569,_0x9f6e9b){const _0x449edd=_0x48c3ba;super(_0x50b569,_0x9f6e9b),_(this,_0x449edd(0x2de)),_(this,_0x449edd(0x3c6)),(this[_0x449edd(0x2de)]=_0x9f6e9b==null?void 0x0:_0x9f6e9b['color'],this[_0x449edd(0x3c6)]=_0x9f6e9b==null?void 0x0:_0x9f6e9b[_0x449edd(0x3c6)]);}static['drawWith'](_0x165be8,_0x221b73){const _0x44ec2e=_0x48c3ba,{text:_0x38dd24,color:_0x2eac70}=_0x221b73;_0x165be8[_0x44ec2e(0x2dc)](),_0x165be8['font']=_0x44ec2e(0x238);const _0x5057d1=_0x165be8['measureText'](_0x38dd24)['width'],_0x4cbacf=Math[_0x44ec2e(0x291)](_0x5057d1+0x2*Re,at);ji(_0x165be8,{'height':Q,'radius':0x4,'width':_0x4cbacf,'fill':_0x2eac70}),_0x165be8[_0x44ec2e(0x309)]=_0x44ec2e(0x2f3);const _0x251aa0=Re,_0x14271f=Q-Vi,_0x26b0e=at-0x2*Re;if(_0x5057d1>_0x26b0e){let _0x1b0efd='',_0x2b0f47=0x0;for(const _0x2854b0 of _0x38dd24){const _0x5c54f0=_0x165be8['measureText'](_0x2854b0)[_0x44ec2e(0x1e2)];if(_0x2b0f47+_0x5c54f0<=_0x26b0e-_0x165be8[_0x44ec2e(0x22f)]('...')[_0x44ec2e(0x1e2)])_0x1b0efd+=_0x2854b0,_0x2b0f47+=_0x5c54f0;else{_0x1b0efd+='...';break;}}_0x165be8[_0x44ec2e(0x39b)](_0x1b0efd,_0x251aa0,_0x14271f);}else _0x165be8[_0x44ec2e(0x39b)](_0x38dd24,_0x251aa0,_0x14271f);_0x165be8[_0x44ec2e(0x31c)]();}['_draw'](_0x36eda9){ve['drawWith'](_0x36eda9,this);}}const De=_0x48c3ba(0x29c),Xi='collab-text-range-',Gi='collab-rect-range-',z=0x6,Ki=1.5,Ne=0x4,zi=1.5,Ji=_0x48c3ba(0x20d);class ct{constructor(_0x5185fb,_0x51ad66,_0x22ba49,_0x262f22){const _0x29e7ac=_0x48c3ba;_(this,'_shapes',[]),_(this,_0x29e7ac(0x2c3),null),_(this,_0x29e7ac(0x385),null),_(this,_0x29e7ac(0x333),null),_(this,_0x29e7ac(0x2c4),null),_(this,'_eventUnsubscribe',null),(this[_0x29e7ac(0x32e)]=_0x5185fb,this[_0x29e7ac(0x262)]=_0x51ad66,this[_0x29e7ac(0x209)]=_0x22ba49,this[_0x29e7ac(0x3c7)]=_0x262f22,this[_0x29e7ac(0x23b)]());}set['_hover'](_0xd544d4){const _0x157a7f=_0x48c3ba;_0xd544d4?(this['_anchorDot']&&this[_0x157a7f(0x333)][_0x157a7f(0x3d5)](),this[_0x157a7f(0x385)]&&this['_textBubble'][_0x157a7f(0x1e0)]()):(this[_0x157a7f(0x333)]&&this[_0x157a7f(0x333)][_0x157a7f(0x1e0)](),this[_0x157a7f(0x385)]&&this[_0x157a7f(0x385)][_0x157a7f(0x3d5)]());}['dispose'](){const _0x5c37f8=_0x48c3ba;for(const _0x23ea9e of this[_0x5c37f8(0x2b3)])_0x23ea9e['dispose']();this['_textBubble']&&this[_0x5c37f8(0x385)]['dispose'](),this['_anchorDot']&&this[_0x5c37f8(0x333)]['dispose'](),this[_0x5c37f8(0x2c3)]&&this[_0x5c37f8(0x2c3)][_0x5c37f8(0x1f3)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}['_render'](){const _0x3734a1=_0x48c3ba;var _0x3c06bd;const {_docSkeleton:_0x40b632,_document:_0x2ea6f1}=this,{color:_0x5c708f,name:_0x204b7e,ranges:_0x7f1af5}=this['_cursor'],_0x53efbc=_0x2ea6f1[_0x3734a1(0x234)](),{docsLeft:_0xf6479c,docsTop:_0x2e89a3}=_0x53efbc,_0x22320e=new _0xc58124(_0x53efbc,_0x40b632);for(const {startOffset:_0xfce073,endOffset:_0x2d80ef,rangeType:_0x2e6bb5,segmentId:_0x5be35a,segmentPage:_0x3f05e7,collapsed:_0x1780f9,isActive:_0x5c8f9d}of _0x7f1af5){const _0x309fb0=_0x40b632[_0x3734a1(0x1cc)](_0xfce073,!0x0,_0x5be35a,_0x3f05e7);let _0x3cea17=_0x40b632[_0x3734a1(0x1cc)](_0x2d80ef,!0x0,_0x5be35a,_0x3f05e7);if(_0x3cea17==null&&(_0x3cea17=_0x40b632[_0x3734a1(0x1cc)](_0x2d80ef-0x1,!0x1,_0x5be35a,_0x3f05e7)),_0x5c8f9d){const {contentBoxPointGroup:_0xec6767}=_0x22320e[_0x3734a1(0x359)](_0x3cea17,_0x3cea17);if(_0xec6767[_0x3734a1(0x1df)]===0x0)continue;this['_drawAnchor'](_0x5c708f,_0xec6767,_0xf6479c,_0x2e89a3,_0x204b7e),this['_eventUnsubscribe']=this['_handleHover']();}if(_0x309fb0&&_0x3cea17){if(_0x2e6bb5===_0x51d1d5[_0x3734a1(0x26e)]){const _0x25f87c=new _0x176f8f(_0x53efbc,_0x40b632),{pointGroup:_0x5a7b7}=(_0x3c06bd=_0x25f87c[_0x3734a1(0x359)](_0x309fb0,_0x3cea17))!=null?_0x3c06bd:{};if(_0x5a7b7==null||_0x5a7b7[_0x3734a1(0x1df)]===0x0)continue;this['_drawRectRange'](_0x5c708f,_0x5a7b7,_0xf6479c,_0x2e89a3);}else{if(!_0x1780f9){const {borderBoxPointGroup:_0x4744b7}=_0x22320e[_0x3734a1(0x359)](_0x309fb0,_0x3cea17);if(_0x4744b7[_0x3734a1(0x1df)]===0x0)continue;this[_0x3734a1(0x3cb)](_0x5c708f,_0x4744b7,_0xf6479c,_0x2e89a3);}}}}}[_0x48c3ba(0x2e9)](_0x8db8ab,_0x193def,_0x1b4069,_0x38de4f,_0x396286){const _0x62627e=_0x48c3ba,_0x4a9cf5=this[_0x62627e(0x22a)](_0x193def),{left:_0x5b0924,top:_0xb6d729,height:_0xfa1157}=_0x4a9cf5,_0x1b75e9=this[_0x62627e(0x360)](),_0x5deffa=zi/_0x1b75e9,_0x512856=new _0x3b3099(De+_0x43fc79(z),{'left':_0x5b0924+_0x1b4069-_0x5deffa,'top':_0xb6d729+_0x38de4f,'height':_0xfa1157,'width':Ki,'fill':_0x8db8ab||_0x4566b6(_0x43d9a4['black'],0x0),'strokeWidth':_0x5deffa,'stroke':Ji,'evented':!0x0});this[_0x62627e(0x2c3)]=_0x512856,this[_0x62627e(0x262)][_0x62627e(0x3f0)](_0x512856,_0x2f393b);const _0x18536f=new _0x3b3099(De+_0x43fc79(z),{'left':_0x5b0924+_0x1b4069-_0x5deffa,'top':_0xb6d729+_0x38de4f-Ne/0x2,'height':Ne,'width':Ne,'fill':_0x8db8ab||_0x4566b6(_0x43d9a4[_0x62627e(0x297)],0x0),'strokeWidth':0x0,'stroke':_0x8db8ab||_0x4566b6(_0x43d9a4[_0x62627e(0x297)],0x0),'evented':!0x1});this[_0x62627e(0x333)]=_0x18536f,this[_0x62627e(0x262)][_0x62627e(0x3f0)](_0x18536f,_0x2f393b);const _0x5f19c9=new ve(De+_0x43fc79(z),{'left':_0x5b0924+_0x1b4069-_0x5deffa,'top':_0xb6d729+_0x38de4f-Q,'text':_0x396286,'color':_0x8db8ab});this[_0x62627e(0x385)]=_0x5f19c9,this['_scene'][_0x62627e(0x3f0)](_0x5f19c9,_0x2f393b),this[_0x62627e(0x2f4)]=!0x1;}[_0x48c3ba(0x2f0)](){const _0x328185=_0x48c3ba,_0x3d095c=this[_0x328185(0x2c3)][_0x328185(0x389)][_0x328185(0x1dc)](()=>{const _0xa957ce=_0x328185;this[_0xa957ce(0x2f4)]=!0x0;}),_0x3d023b=this[_0x328185(0x2c3)][_0x328185(0x24d)]['subscribeEvent'](()=>{const _0x1ab3ed=_0x328185;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x1ab3ed(0x2c4)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x169ca5=_0x328185;_0x3d095c[_0x169ca5(0x334)](),_0x3d023b[_0x169ca5(0x334)]();};}['_drawTextRange'](_0x3aec97,_0x10dfc4,_0x43f6d0,_0x4974ac){const _0x486598=_0x48c3ba,_0x39cd5d=new _0x5aeccb(_0x3aec97)[_0x486598(0x29b)](0.2)[_0x486598(0x2be)](),_0x2a5144=new _0x16ef78(Xi+_0x43fc79(z),{'pointsGroup':_0x10dfc4,'fill':_0x39cd5d||_0x4566b6(_0x43d9a4['black'],0.2),'left':_0x43f6d0,'top':_0x4974ac,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x486598(0x2b3)]['push'](_0x2a5144),this[_0x486598(0x262)][_0x486598(0x3f0)](_0x2a5144,_0x2f393b);}[_0x48c3ba(0x2a1)](_0x25daf2,_0x508228,_0x595419,_0x5e8e60){const _0xb6f771=_0x48c3ba,_0x1f5e07=new _0x5aeccb(_0x25daf2)[_0xb6f771(0x29b)](0.2)['toRgbString'](),_0x3672f7=new _0x16ef78(Gi+_0x43fc79(z),{'pointsGroup':_0x508228,'fill':_0x1f5e07||_0x4566b6(_0x43d9a4[_0xb6f771(0x297)],0.2),'left':_0x595419,'top':_0x5e8e60,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x3672f7),this[_0xb6f771(0x262)][_0xb6f771(0x3f0)](_0x3672f7,_0x2f393b);}[_0x48c3ba(0x22a)](_0x27888e){const _0x48873b=_0x27888e[0x0],_0x5d39c4=_0x48873b[0x0],_0x2dc094=_0x48873b[0x2],{x:_0x30d41d,y:_0x1bbf35}=_0x5d39c4,{x:_0x49e48a,y:_0x8f00c6}=_0x2dc094;return{'left':_0x30d41d,'top':_0x1bbf35,'width':_0x49e48a-_0x30d41d,'height':_0x8f00c6-_0x1bbf35};}[_0x48c3ba(0x360)](){const _0x496010=_0x48c3ba,{scaleX:_0x403ce1,scaleY:_0x288733}=this['_scene']['getAncestorScale']();return Math[_0x496010(0x34a)](_0x403ce1,_0x288733);}}var Zi=Object['getOwnPropertyDescriptor'],Qi=(_0x5e024d,_0x6913b5,_0x50fdc4,_0x1e778e)=>{const _0x5827f4=_0x48c3ba;for(var _0x81f849=_0x1e778e>0x1?void 0x0:_0x1e778e?Zi(_0x6913b5,_0x50fdc4):_0x6913b5,_0x393023=_0x5e024d[_0x5827f4(0x1df)]-0x1,_0xd1820f;_0x393023>=0x0;_0x393023--)(_0xd1820f=_0x5e024d[_0x393023])&&(_0x81f849=_0xd1820f(_0x81f849)||_0x81f849);return _0x81f849;},ie=(_0x1163e8,_0x182663)=>(_0x353d9d,_0xaa1106)=>_0x182663(_0x353d9d,_0xaa1106,_0x1163e8);let Fe=class extends _0x40410a{constructor(_0x41633d,_0x3de8df,_0x2a7a55,_0x3aeb06,_0x527507){const _0x492bad=_0x48c3ba;super(),_(this,_0x492bad(0x339),[]),_(this,_0x492bad(0x292),[]),(this['_context']=_0x41633d,this[_0x492bad(0x1ec)]=_0x3de8df,this[_0x492bad(0x356)]=_0x2a7a55,this[_0x492bad(0x26d)]=_0x3aeb06,this[_0x492bad(0x298)]=_0x527507,this[_0x492bad(0x381)]());}[_0x48c3ba(0x381)](){const _0x3bf6a0=_0x48c3ba,_0x403da4=this[_0x3bf6a0(0x2ae)][_0x3bf6a0(0x3f9)],_0x501275=this[_0x3bf6a0(0x1ec)];this[_0x3bf6a0(0x279)](_0x357851([this[_0x3bf6a0(0x356)][_0x3bf6a0(0x315)](_0x403da4),this[_0x3bf6a0(0x298)]['currentTheme$']])[_0x3bf6a0(0x27f)](_0x27499f(([_0x584e4d,_0x750f6d])=>({'skeleton':_0x501275['getSkeleton'](),'cursors':[..._0x584e4d['values']()][_0x3bf6a0(0x2e3)](_0x46f95e=>({..._0x46f95e,'color':this[_0x3bf6a0(0x298)][_0x3bf6a0(0x367)](_0x46f95e['color'])}))})))[_0x3bf6a0(0x357)](_0x59ead7=>{const _0x2718a0=_0x3bf6a0;if(this[_0x2718a0(0x35d)](),_0x59ead7){const {skeleton:_0x1512dc,cursors:_0x586e6a}=_0x59ead7;this[_0x2718a0(0x378)](_0x1512dc,_0x586e6a);}})),this[_0x3bf6a0(0x3bb)](),this['_initCommandExecutedListener']();}[_0x48c3ba(0x378)](_0x3281b2,_0x22e5a7){const _0x3c2935=_0x48c3ba,{scene:_0x33d827,mainComponent:_0x5de140}=this[_0x3c2935(0x2ae)],_0x595e4a=_0x22e5a7['map'](_0x53383b=>new ct(_0x53383b,_0x33d827,_0x3281b2,_0x5de140));this['_cursorShapes']=_0x595e4a,this[_0x3c2935(0x292)]=_0x22e5a7;}['_refreshCollabCursors'](){const _0xcfa202=_0x48c3ba;this[_0xcfa202(0x35d)]();const {scene:_0x51ec72,mainComponent:_0x1c4f86}=this['_context'],_0x9142e0=this[_0xcfa202(0x1ec)][_0xcfa202(0x23e)](),_0x1b72f8=this[_0xcfa202(0x292)]['map'](_0x3fc9bd=>new ct(_0x3fc9bd,_0x51ec72,_0x9142e0,_0x1c4f86));this[_0xcfa202(0x339)]=_0x1b72f8;}[_0x48c3ba(0x35d)](){const _0x2f0e5a=_0x48c3ba;this[_0x2f0e5a(0x339)][_0x2f0e5a(0x350)](_0x5c781c=>_0x5c781c[_0x2f0e5a(0x1f3)]()),this['_cursorShapes']=[];}[_0x48c3ba(0x1db)](){const _0x439216=_0x48c3ba,_0x21a5c4=[_0x3dc626['id']];this[_0x439216(0x279)](this[_0x439216(0x26d)][_0x439216(0x1b4)](_0x5b48f4=>{const _0x474602=_0x439216;_0x21a5c4[_0x474602(0x226)](_0x5b48f4['id'])&&_0x5b48f4[_0x474602(0x30c)][_0x474602(0x3f9)]===this[_0x474602(0x2ae)][_0x474602(0x3f9)]&&this[_0x474602(0x21e)]();}));}[_0x48c3ba(0x3bb)](){const _0x44f235=_0x48c3ba;this[_0x44f235(0x279)](_0x3c0456(this['_context']['engine'][_0x44f235(0x254)])[_0x44f235(0x27f)](_0x2cdbd0(_0x3f6b8f=>_0x3f6b8f[_0x44f235(0x2f8)]===_0x50f6eb[_0x44f235(0x2da)]),_0x3fc305(0x10))[_0x44f235(0x357)](()=>{this['_refreshCollabCursors']();}));}};Fe=Qi([ie(0x1,_0x1b0e33(_0xf20d5c)),ie(0x2,_0x1b0e33(H)),ie(0x3,_0x29fec4),ie(0x4,_0x1b0e33(_0x5a5ad5))],Fe);const qi=0x1,en=1.5;class tn extends _0x2efef1{constructor(_0xbd1b97,_0x409f99){const _0x582691=_0x48c3ba;super(_0xbd1b97,_0x409f99),_(this,_0x582691(0x22e)),_(this,_0x582691(0x2e1),!0x1),_(this,_0x582691(0x21f)),_(this,_0x582691(0x29f),''),_(this,_0x582691(0x1d0),'top'),_(this,_0x582691(0x1e6)),(_0x409f99&&this[_0x582691(0x3a6)](_0x409f99),this[_0x582691(0x389)][_0x582691(0x1dc)](()=>this[_0x582691(0x3a6)]({'hovered':!0x0})),this[_0x582691(0x24d)][_0x582691(0x1dc)](()=>this[_0x582691(0x3a6)]({'hovered':!0x1})));}[_0x48c3ba(0x3a6)](_0x7fc4fe){const _0x4cb4b4=_0x48c3ba;var _0x4d3f8a,_0x18e8ec,_0x225fbd,_0x458841,_0x35ddac,_0x5c933f;this[_0x4cb4b4(0x22e)]=(_0x4d3f8a=_0x7fc4fe[_0x4cb4b4(0x2de)])!=null?_0x4d3f8a:this['_color'],this[_0x4cb4b4(0x2e1)]=(_0x18e8ec=_0x7fc4fe[_0x4cb4b4(0x293)])!=null?_0x18e8ec:this['_hovered'],this['_range']=(_0x225fbd=_0x7fc4fe['range'])!=null?_0x225fbd:this[_0x4cb4b4(0x21f)],this[_0x4cb4b4(0x29f)]=(_0x458841=_0x7fc4fe[_0x4cb4b4(0x37c)])!=null?_0x458841:this[_0x4cb4b4(0x29f)],this[_0x4cb4b4(0x1d0)]=(_0x35ddac=_0x7fc4fe['labelPosition'])!=null?_0x35ddac:this[_0x4cb4b4(0x1d0)],this['_backgroundColor']=(_0x5c933f=_0x7fc4fe[_0x4cb4b4(0x28f)])!=null?_0x5c933f:this[_0x4cb4b4(0x1e6)],this[_0x4cb4b4(0x2f7)]({'width':_0x7fc4fe['width'],'height':_0x7fc4fe[_0x4cb4b4(0x3df)]});}[_0x48c3ba(0x1c5)](_0x215037){const _0x4eb438=_0x48c3ba,{row:_0x43443d,column:_0x16358b}=_0x215037;if(_0x43443d>=this[_0x4eb438(0x21f)][_0x4eb438(0x3d3)]&&_0x43443d<=this[_0x4eb438(0x21f)][_0x4eb438(0x348)]&&_0x16358b>=this[_0x4eb438(0x21f)][_0x4eb438(0x287)]&&_0x16358b<=this[_0x4eb438(0x21f)][_0x4eb438(0x1cb)]){this[_0x4eb438(0x3a6)]({'hovered':!0x0});return;}this[_0x4eb438(0x3a6)]({'hovered':!0x1});}['triggerDblclick'](_0x21e2c6){return!0x1;}[_0x48c3ba(0x3ef)](_0x2fe4ed){const _0x1773be=_0x48c3ba;_0x3b3099[_0x1773be(0x283)](_0x2fe4ed,{'width':this[_0x1773be(0x1e2)],'height':this[_0x1773be(0x3df)],'strokeWidth':en,'stroke':this[_0x1773be(0x22e)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x2fe4ed[_0x1773be(0x2dc)](),_0x2fe4ed[_0x1773be(0x3ae)](0x1,0x0,0x0,0x1,this[_0x1773be(0x1e2)],this[_0x1773be(0x1d0)]==='bottom'?0x0:-Q),ve[_0x1773be(0x283)](_0x2fe4ed,{'text':this[_0x1773be(0x29f)],'color':this['_color']}),_0x2fe4ed[_0x1773be(0x31c)]());}}var sn=Object[_0x48c3ba(0x1fc)],nn=(_0x5aeec2,_0x5efba4,_0x10b23b,_0x4e798d)=>{for(var _0x16f30e=_0x4e798d>0x1?void 0x0:_0x4e798d?sn(_0x5efba4,_0x10b23b):_0x5efba4,_0x3ef340=_0x5aeec2['length']-0x1,_0x433c96;_0x3ef340>=0x0;_0x3ef340--)(_0x433c96=_0x5aeec2[_0x3ef340])&&(_0x16f30e=_0x433c96(_0x16f30e)||_0x16f30e);return _0x16f30e;},be=(_0x3f49c0,_0x25dc79)=>(_0x5e9ece,_0x27b39d)=>_0x25dc79(_0x5e9ece,_0x27b39d,_0x3f49c0);const rn=0x1389;let ke=class extends _0x40410a{constructor(_0x368fbd,_0x2bb249,_0xb4b37e,_0x5d4c7c){const _0x4a50f1=_0x48c3ba;super(),_(this,'_cursors',new Set()),_(this,_0x4a50f1(0x1e8),null),(this[_0x4a50f1(0x2ae)]=_0x368fbd,this[_0x4a50f1(0x2e5)]=_0x2bb249,this[_0x4a50f1(0x356)]=_0xb4b37e,this['_themeService']=_0x5d4c7c,this[_0x4a50f1(0x381)]());}[_0x48c3ba(0x381)](){const _0x383a7a=_0x48c3ba;this[_0x383a7a(0x2e5)]['currentSkeleton$'][_0x383a7a(0x27f)](_0x94a601(this[_0x383a7a(0x29a)]),_0x11106d(_0x22389c=>{const _0x2f9c40=_0x383a7a;if(_0x22389c){const _0x21c9b1=_0x22389c[_0x2f9c40(0x3a1)];return _0x357851(this['_collabCursorController'][_0x2f9c40(0x315)](this[_0x2f9c40(0x2ae)][_0x2f9c40(0x3f9)]),this[_0x2f9c40(0x298)][_0x2f9c40(0x236)])[_0x2f9c40(0x27f)](_0x27499f(([_0x2b10a8,_0x58820b])=>{const _0x167294=_0x2f9c40,_0x2e9d05=new Map();return _0x2b10a8[_0x167294(0x350)]((_0xe07c7a,_0x24ad24)=>{const _0x406883=_0x167294;if(_0xe07c7a[_0x406883(0x282)]===_0x21c9b1){const _0x26e5be={..._0xe07c7a};_0x26e5be[_0x406883(0x2de)]=this[_0x406883(0x298)][_0x406883(0x367)](_0xe07c7a['color']),_0x2e9d05[_0x406883(0x1f8)](_0x24ad24,_0x26e5be);}}),{'skeleton':_0x22389c,'cursors':_0x2e9d05};}));}return _0x30d13d({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x269132,cursors:_0x4d91fa})=>{const _0x20225f=_0x383a7a;this['_removeCollabCursors'](),_0x269132&&this[_0x20225f(0x378)](_0x269132,_0x4d91fa);}),this[_0x383a7a(0x2e5)][_0x383a7a(0x1d9)]['subscribe'](_0x14e144=>{const _0x1f7481=_0x383a7a;if(_0x14e144==null)return;const {skeleton:_0x38fcb0}=_0x14e144,{scene:_0x379f06}=this[_0x1f7481(0x2ae)];_0x379f06[_0x1f7481(0x1fb)]['subscribeEvent'](_0x826b33(_0x12afe0=>{const _0xb7d47b=_0x1f7481;var _0x5f2351,_0x6ed985;const {offsetX:_0x359c7b,offsetY:_0x3ce1c3}=_0x12afe0,{x:_0x29eb5e,y:_0x1f22b2}=_0x379f06[_0xb7d47b(0x207)](_0xef248b[_0xb7d47b(0x375)]([_0x359c7b,_0x3ce1c3])),{scaleX:_0x2a5e80,scaleY:_0x1b3b48}=_0x379f06[_0xb7d47b(0x3bd)](),_0x863daf=_0x379f06[_0xb7d47b(0x24f)](_0x49c0fa[_0xb7d47b(0x3cf)]),_0x2ff533=_0x379f06[_0xb7d47b(0x37e)](_0xef248b['FromArray']([_0x29eb5e,_0x1f22b2]),_0x863daf),_0x8f9401=_0x38fcb0['getCellPositionByOffset'](_0x359c7b,_0x3ce1c3,_0x2a5e80,_0x1b3b48,_0x2ff533);((_0x5f2351=this[_0xb7d47b(0x1e8)])==null?void 0x0:_0x5f2351['column'])===_0x8f9401[_0xb7d47b(0x277)]&&((_0x6ed985=this[_0xb7d47b(0x1e8)])==null?void 0x0:_0x6ed985[_0xb7d47b(0x1c0)])===_0x8f9401[_0xb7d47b(0x1c0)]||this[_0xb7d47b(0x292)][_0xb7d47b(0x350)](_0x1906c0=>{const _0x55d854=_0xb7d47b;_0x1906c0[_0x55d854(0x1c5)](_0x8f9401);});},0x64));});}['_updateCollabCursors'](_0xad698f,_0x4d6236){const _0x3a5d56=_0x48c3ba;var _0xe7dee5;const _0xc06c10=(_0xe7dee5=this[_0x3a5d56(0x2e5)]['getCurrent']())==null?void 0x0:_0xe7dee5[_0x3a5d56(0x3b4)];if(!_0xc06c10)return;const _0x47fa8d=this[_0x3a5d56(0x3af)]();if(!_0x47fa8d)return;this[_0x3a5d56(0x292)][_0x3a5d56(0x350)](_0xb16f3a=>{const _0x47f314=_0x3a5d56;_0xb16f3a[_0x47f314(0x24c)]();});const {scene:_0x106c4d}=_0x47fa8d,_0x22ff86=on(Array['from'](_0x4d6236[_0x3a5d56(0x247)]()))['map'](_0x45cffb=>{const _0x181d0d=_0x3a5d56,{color:_0x380cdb,range:_0x12c801,name:_0x31d192,selection:_0x39afb5,sheetID:_0x5ed61b}=_0x45cffb,{startColumn:_0x47c6d9,startRow:_0x2b1052,endColumn:_0x1d8535,endRow:_0x16d06a}=_0x12c801,_0x10dbb7=_0x4dc2b9(_0x2b1052,_0x47c6d9,_0x106c4d,_0xc06c10),_0x341d52=_0x4dc2b9(_0x16d06a,_0x1d8535,_0x106c4d,_0xc06c10),{columnHeaderHeightAndMarginTop:_0x4a4c70}=_0xc06c10,{startX:_0x3b520e,startY:_0x12e78f}=_0x10dbb7,{endX:_0x1f8e39,endY:_0x3a473a}=_0x341d52,_0x200537=_0x1f8e39-_0x3b520e,_0x11c76a=_0x3a473a-_0x12e78f,_0x58b9ef={'labelPosition':_0x12e78f-_0x4a4c70>=Q?_0x181d0d(0x1d7):_0x181d0d(0x22d),'sheetID':_0x5ed61b,'range':_0x12c801,'color':_0x380cdb,'name':_0x31d192,'selection':_0x39afb5,'left':_0x3b520e,'top':_0x12e78f,'width':_0x200537,'height':_0x11c76a,'evented':!0x1,'zIndex':rn};return new tn(_0x31d192,_0x58b9ef);});_0x106c4d[_0x3a5d56(0x1ed)](_0x22ff86,qi),this[_0x3a5d56(0x292)]=new Set(_0x22ff86);}[_0x48c3ba(0x35d)](){const _0x22dad8=_0x48c3ba;var _0xfe9bc1;(_0xfe9bc1=this[_0x22dad8(0x292)])==null||_0xfe9bc1[_0x22dad8(0x350)](_0x12a9f4=>_0x12a9f4['dispose']());}['_getSheetObject'](){const _0x227816=_0x48c3ba;return _0x691314(this[_0x227816(0x2ae)][_0x227816(0x393)],this[_0x227816(0x2ae)]);}};ke=nn([be(0x1,_0x1b0e33(_0x1a7d8b)),be(0x2,_0x1b0e33(H)),be(0x3,_0x1b0e33(_0x5a5ad5))],ke);function on(_0x254f67){const _0x27d548=_0x48c3ba,_0x188826=new Map();return _0x254f67[_0x27d548(0x350)](_0x14736e=>{const _0x5374eb=_0x27d548;if(_0x188826[_0x5374eb(0x1af)](_0x14736e[_0x5374eb(0x206)])){const _0x559789=_0x188826[_0x5374eb(0x29d)](_0x14736e[_0x5374eb(0x206)]);_0x559789['name']+=',\x20'+_0x14736e[_0x5374eb(0x37c)];}else _0x188826[_0x5374eb(0x1f8)](_0x14736e[_0x5374eb(0x206)],_0x14736e);}),Array['from'](_0x188826['values']());}var an=Object['getOwnPropertyDescriptor'],cn=(_0x475180,_0x2dd4ad,_0x40a569,_0x32f785)=>{const _0x136773=_0x48c3ba;for(var _0xe4023f=_0x32f785>0x1?void 0x0:_0x32f785?an(_0x2dd4ad,_0x40a569):_0x2dd4ad,_0x31afcc=_0x475180[_0x136773(0x1df)]-0x1,_0x46c5eb;_0x31afcc>=0x0;_0x31afcc--)(_0x46c5eb=_0x475180[_0x31afcc])&&(_0xe4023f=_0x46c5eb(_0xe4023f)||_0xe4023f);return _0xe4023f;},F=(_0x7a877a,_0x98f5fc)=>(_0x130a5c,_0x466326)=>_0x98f5fc(_0x130a5c,_0x466326,_0x7a877a);let _e=class extends _0x624a7{constructor(_0x3d9811,_0x11c5e5,_0x4d6a1a,_0x280b87,_0x17b2bb,_0x382302){const _0x4ae9db=_0x48c3ba;super(),this[_0x4ae9db(0x27a)]=_0x3d9811,this['_localCacheService']=_0x11c5e5,this[_0x4ae9db(0x214)]=_0x4d6a1a,this['_messageService']=_0x280b87,this['_notificationService']=_0x17b2bb,this[_0x4ae9db(0x26c)]=_0x382302,this[_0x4ae9db(0x21d)](),this['_initEvent']();}[_0x48c3ba(0x21d)](){const _0x4de7b9=_0x48c3ba;this['disposeWithMe'](this['_beforeCloseService'][_0x4de7b9(0x3a8)](()=>{const _0x48f553=_0x4de7b9;if(this[_0x48f553(0x370)][_0x48f553(0x33a)][_0x48f553(0x202)])return this[_0x48f553(0x26c)]['t']('collaboration.offline-data-not-saved');}));}[_0x48c3ba(0x2ce)](){const _0x34779a=_0x48c3ba;this[_0x34779a(0x279)](this[_0x34779a(0x214)][_0x34779a(0x246)][_0x34779a(0x357)](_0x264197=>{const _0x29e894=_0x34779a;_0x264197['id']===_0x30a9e3[_0x29e894(0x380)]&&this[_0x29e894(0x1ca)][_0x29e894(0x1e0)]({'type':_0x1a84ef['Warning'],'content':this[_0x29e894(0x26c)]['t']('collaboration.single-unit.warning')}),_0x264197['id']===_0x30a9e3[_0x29e894(0x281)]&&this[_0x29e894(0x1ca)][_0x29e894(0x1e0)]({'type':_0x1a84ef[_0x29e894(0x230)],'content':this[_0x29e894(0x26c)]['t']('collaboration.closeRoom')}),_0x264197['id']===_0x30a9e3[_0x29e894(0x2e2)]&&this[_0x29e894(0x3e7)][_0x29e894(0x1e0)]({'title':this[_0x29e894(0x26c)]['t'](_0x29e894(0x2c5)),'content':this[_0x29e894(0x26c)]['t'](_0x29e894(0x3c4)),'type':_0x29e894(0x318),'duration':0x0}),_0x264197['id']===_0x30a9e3['CONFLICT']&&this[_0x29e894(0x1ca)][_0x29e894(0x1e0)]({'type':_0x1a84ef[_0x29e894(0x27b)],'content':this[_0x29e894(0x26c)]['t'](_0x29e894(0x240))+'('+_0x264197['data']+')'}),_0x264197['id']===_0x30a9e3['JOIN_ROOM_FAILED']&&this['_messageService'][_0x29e894(0x1e0)]({'type':_0x1a84ef[_0x29e894(0x230)],'content':this[_0x29e894(0x26c)]['t'](_0x264197[_0x29e894(0x2ad)]||'')}),_0x264197['id']===_0x30a9e3[_0x29e894(0x1ba)]&&this[_0x29e894(0x1ca)]['show']({'type':_0x1a84ef['Warning'],'content':this[_0x29e894(0x26c)]['t'](_0x29e894(0x1c7))}),_0x264197['id']===_0x30a9e3[_0x29e894(0x308)]&&this['_messageService'][_0x29e894(0x1e0)]({'type':_0x1a84ef[_0x29e894(0x27b)],'content':this[_0x29e894(0x26c)]['t'](_0x29e894(0x243))}),_0x264197['id']===_0x30a9e3[_0x29e894(0x3e5)]&&this[_0x29e894(0x1ca)][_0x29e894(0x1e0)]({'type':_0x1a84ef[_0x29e894(0x27b)],'content':this[_0x29e894(0x26c)]['t']('session.collaboration-timeout')});}));}};_e=cn([F(0x0,_0x357944),F(0x1,_0x8f11dc),F(0x2,_0x1b0e33(_0x270aa1)),F(0x3,_0x1b8702),F(0x4,_0x55f3f7),F(0x5,_0x1b0e33(_0x9481dd))],_e);var _n=Object[_0x48c3ba(0x1fc)],ln=(_0x45469c,_0x2e20c7,_0x58f214,_0x31d24c)=>{const _0x3d776d=_0x48c3ba;for(var _0x2ffd57=_0x31d24c>0x1?void 0x0:_0x31d24c?_n(_0x2e20c7,_0x58f214):_0x2e20c7,_0x212215=_0x45469c[_0x3d776d(0x1df)]-0x1,_0x547b3c;_0x212215>=0x0;_0x212215--)(_0x547b3c=_0x45469c[_0x212215])&&(_0x2ffd57=_0x547b3c(_0x2ffd57)||_0x2ffd57);return _0x2ffd57;},ne=(_0x307dc5,_0xb15a81)=>(_0x161a19,_0x564d1c)=>_0xb15a81(_0x161a19,_0x564d1c,_0x307dc5);let le=class extends _0x624a7{constructor(_0x50c48d,_0x477bf1,_0x48ff03,_0x34877d){const _0x169b6b=_0x48c3ba;super(),_(this,_0x169b6b(0x2f9)),(this[_0x169b6b(0x1f5)]=_0x50c48d,this[_0x169b6b(0x324)]=_0x477bf1,this[_0x169b6b(0x2a8)]=_0x48ff03,this[_0x169b6b(0x273)]=_0x34877d,this[_0x169b6b(0x381)]());}[_0x48c3ba(0x381)](){const _0x53f20e=_0x48c3ba;this[_0x53f20e(0x338)](),this[_0x53f20e(0x32f)](),this[_0x53f20e(0x3f7)](),this[_0x53f20e(0x3f5)]();}[_0x48c3ba(0x3f5)](){const _0x405008=_0x48c3ba;this[_0x405008(0x279)](this['_collaborationSessionService'][_0x405008(0x2cd)][_0x405008(0x357)](_0x9cc95a=>{const _0x25a85f=_0x405008;this[_0x25a85f(0x2f9)]=_0x9cc95a==null?void 0x0:_0x9cc95a[_0x25a85f(0x2e4)];}));}['_initWindowErrorListener'](){const _0x502f7b=_0x48c3ba,_0x382d15=_0x4460e9=>{const _0xd66892=_0x44cc;var _0x56729c;this[_0xd66892(0x1a2)](_0xd66892(0x318),_0xd66892(0x2f5)+_0x4460e9[_0xd66892(0x32c)]+_0xd66892(0x1a6)+_0x4460e9[_0xd66892(0x353)]+':'+_0x4460e9['lineno']+':'+_0x4460e9['colno']+'\x0a'+(((_0x56729c=_0x4460e9[_0xd66892(0x318)])==null?void 0x0:_0x56729c[_0xd66892(0x2bf)])||''));};window[_0x502f7b(0x2fb)]('error',_0x382d15),this[_0x502f7b(0x279)](()=>{const _0x54621d=_0x502f7b;window[_0x54621d(0x3d6)](_0x54621d(0x318),_0x382d15);});}[_0x48c3ba(0x32f)](){const _0x560f37=_0x48c3ba,_0x2f56a5=_0x28d6bd=>{const _0x226eaa=_0x44cc;this['_uploadLog'](_0x226eaa(0x318),'[Unhandled\x20Rejection]:\x20'+_0x28d6bd[_0x226eaa(0x31f)]);};window[_0x560f37(0x2fb)](_0x560f37(0x2d5),_0x2f56a5),this[_0x560f37(0x279)](()=>{const _0x1bbfd7=_0x560f37;window['removeEventListener'](_0x1bbfd7(0x2d5),_0x2f56a5);});}['_monkeyPatchLogService'](){const _0x442223=_0x48c3ba,_0x4026ad=this[_0x442223(0x2a8)][_0x442223(0x318)][_0x442223(0x30a)](this['_logService']);this[_0x442223(0x2a8)][_0x442223(0x318)]=(..._0x143bf5)=>{const _0x3c528e=_0x442223,_0x5b0da3=_0x143bf5['map'](_0x25561e=>_0x25561e instanceof Error?_0x25561e[_0x3c528e(0x32c)]+'\x0a'+_0x25561e[_0x3c528e(0x2bf)]:String(_0x25561e))[_0x3c528e(0x2c8)]('\x20');this[_0x3c528e(0x1a2)](_0x3c528e(0x318),'[LogService\x20Error]:\x20'+_0x5b0da3),_0x4026ad(..._0x143bf5);},this[_0x442223(0x279)](()=>{const _0x5668eb=_0x442223;this[_0x5668eb(0x2a8)][_0x5668eb(0x318)]=_0x4026ad;});}['_uploadLog'](_0x3800a3,_0x216d70){const _0x269ddc=_0x48c3ba;try{const _0x226db9={'userId':this[_0x269ddc(0x2f9)],'logLabel':_0x3800a3,'content':_0x216d70};this[_0x269ddc(0x324)][_0x269ddc(0x3d4)](_0x269ddc(0x374),{'body':_0x226db9})[_0x269ddc(0x38a)](()=>{});}catch{}}};le=ln([ne(0x0,_0x1b0e33(_0x1f9609)),ne(0x1,_0x1b0e33(_0x530d74)),ne(0x2,_0x395468),ne(0x3,_0x1b0e33(_0x1fc069))],le);const hn=_0x48c3ba(0x39c),_t={};var un=Object[_0x48c3ba(0x1fc)],dn=(_0x151121,_0x1a11b0,_0x216a17,_0x3c1beb)=>{const _0x5a3903=_0x48c3ba;for(var _0x1a1299=_0x3c1beb>0x1?void 0x0:_0x3c1beb?un(_0x1a11b0,_0x216a17):_0x1a11b0,_0x23f4e4=_0x151121[_0x5a3903(0x1df)]-0x1,_0x3f866e;_0x23f4e4>=0x0;_0x23f4e4--)(_0x3f866e=_0x151121[_0x23f4e4])&&(_0x1a1299=_0x3f866e(_0x1a1299)||_0x1a1299);return _0x1a1299;},lt=(_0x1db8e0,_0x54456d)=>(_0x462f3a,_0x53b118)=>_0x54456d(_0x462f3a,_0x53b118,_0x1db8e0);let he=class{constructor(_0x5ecf9e,_0x45de54){const _0x1bbc52=_0x48c3ba;this[_0x1bbc52(0x304)]=_0x5ecf9e,this[_0x1bbc52(0x2e7)]=_0x45de54;}['transformIMECache'](_0x5c0f3c){const _0x2e4252=_0x48c3ba;this[_0x2e4252(0x337)](_0x5c0f3c),this[_0x2e4252(0x250)](_0x5c0f3c);}[_0x48c3ba(0x3a4)](_0x3cf5a1){const _0x4d78f0=_0x48c3ba,{unitID:_0x181c32}=_0x3cf5a1,_0x359e3c=this[_0x4d78f0(0x2e7)]['getRenderById'](_0x181c32)[_0x4d78f0(0x36f)](_0x4b2862),{redoCache:_0x1ed31f}=_0x359e3c[_0x4d78f0(0x37a)]();if(_0x1ed31f['length']===0x0)return _0x3cf5a1;let _0x26c778=_0x20089e[_0x4d78f0(0x1d8)](_0x3cf5a1[_0x4d78f0(0x28a)][0x0]);for(let _0x4ad005=0x0;_0x4ad005<_0x1ed31f[_0x4d78f0(0x1df)];_0x4ad005++){const _0x18a93c={'id':_0x4d78f0(0x3b1),'params':{..._0x1ed31f[_0x4ad005]}},_0x5446a6=this['_transformService']['transformMutation'](_0x26c778,_0x18a93c,!0x1);if(_0x1860da(_0x5446a6))throw _0x5446a6[_0x4d78f0(0x318)];_0x26c778=_0x5446a6['m1Prime'];}return{..._0x20089e['deepClone'](_0x3cf5a1),'mutations':[_0x26c778]};}[_0x48c3ba(0x337)](_0x227d4a){const _0x31b95b=_0x48c3ba,{unitID:_0x284c99}=_0x227d4a,_0x6eed78=this[_0x31b95b(0x2e7)][_0x31b95b(0x2ea)](_0x284c99)[_0x31b95b(0x36f)](_0x4b2862),{undoCache:_0xe0fe40,redoCache:_0x1a357a}=_0x6eed78['getUndoRedoMutationParamsCache']();if(_0xe0fe40[_0x31b95b(0x1df)]===0x0||_0x1a357a[_0x31b95b(0x1df)]===0x0)return;const _0x103acd=[],_0x36792a=[];let _0x6b4118=_0x20089e[_0x31b95b(0x1d8)](_0x227d4a[_0x31b95b(0x28a)][0x0]),_0x41cee0=_0x20089e[_0x31b95b(0x1d8)](_0x227d4a['mutations'][0x0]);for(let _0x1b8b39=_0xe0fe40['length']-0x1;_0x1b8b39>=0x0;_0x1b8b39--){const _0x452103={'id':'doc.mutation.rich-text-editing','params':{..._0xe0fe40[_0x1b8b39]}},_0x42d7d1={'id':_0x31b95b(0x3b1),'params':{..._0x1a357a[_0x1b8b39]}},_0x1d2169=this[_0x31b95b(0x304)][_0x31b95b(0x33b)](_0x6b4118,_0x452103,!0x1),_0x3b5460=this[_0x31b95b(0x304)][_0x31b95b(0x33b)](_0x41cee0,_0x42d7d1,!0x1);if(_0x1860da(_0x1d2169))throw _0x1d2169[_0x31b95b(0x318)];if(_0x1860da(_0x3b5460))throw _0x3b5460[_0x31b95b(0x318)];_0x103acd['unshift'](_0x1d2169[_0x31b95b(0x398)][_0x31b95b(0x30c)]),_0x36792a['unshift'](_0x3b5460['m2Prime'][_0x31b95b(0x30c)]),_0x6b4118=_0x1d2169[_0x31b95b(0x1ef)],_0x41cee0=_0x3b5460[_0x31b95b(0x1ef)];}_0x6eed78[_0x31b95b(0x1d4)]({'undoCache':_0x103acd,'redoCache':_0x36792a});}[_0x48c3ba(0x250)](_0x35844f){const _0x1a0715=_0x48c3ba,{unitID:_0x10f0b2}=_0x35844f,_0x485d56=this[_0x1a0715(0x2e7)][_0x1a0715(0x2ea)](_0x10f0b2)[_0x1a0715(0x36f)](_0x4b2862),_0x2ebb3b=_0x485d56['getActiveRange']();if(_0x2ebb3b==null)return;const _0xe9e4d0=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x35844f['unitID'],'actions':null,'textRanges':[_0x2ebb3b]}}],_0x1205a9=this[_0x1a0715(0x304)]['transformMutationsWithChangeset'](_0x35844f,_0xe9e4d0);if(!_0x2f43b7(_0x1205a9))throw _0x1205a9[_0x1a0715(0x318)];const _0x13df23=_0x1205a9[_0x1a0715(0x398)][0x0][_0x1a0715(0x30c)]['textRanges'];Array[_0x1a0715(0x38d)](_0x13df23)&&_0x13df23[_0x1a0715(0x1df)]&&_0x485d56['setActiveRange'](_0x13df23[0x0]);}};he=dn([lt(0x0,_0x21df31),lt(0x1,_0x276443)],he);var Sn=Object[_0x48c3ba(0x1fc)],In=(_0x4a2ae3,_0x3a8124,_0x422bea,_0x241904)=>{const _0x4075df=_0x48c3ba;for(var _0x1f10bf=_0x241904>0x1?void 0x0:_0x241904?Sn(_0x3a8124,_0x422bea):_0x3a8124,_0x28c382=_0x4a2ae3[_0x4075df(0x1df)]-0x1,_0x43b5f2;_0x28c382>=0x0;_0x28c382--)(_0x43b5f2=_0x4a2ae3[_0x28c382])&&(_0x1f10bf=_0x43b5f2(_0x1f10bf)||_0x1f10bf);return _0x1f10bf;},Le=(_0x2fc6ee,_0x18717e)=>(_0x2ff25c,_0x2ede0a)=>_0x18717e(_0x2ff25c,_0x2ede0a,_0x2fc6ee);let ue=class{constructor(_0x2affde,_0x574195,_0x62e360){const _0x1ccbc0=_0x48c3ba;this[_0x1ccbc0(0x1f5)]=_0x2affde,this[_0x1ccbc0(0x304)]=_0x574195,this[_0x1ccbc0(0x3d2)]=_0x62e360;}[_0x48c3ba(0x221)](_0x31a943){this['_transformHistoryAndStateStack'](_0x31a943);}[_0x48c3ba(0x3a4)](_0x25081f){const _0x37d9da=_0x48c3ba,{unitID:_0x199e82}=_0x25081f,{collaboration:_0x2d98bc}=this[_0x37d9da(0x3d2)]['getStateCache'](_0x199e82);if(_0x2d98bc[_0x37d9da(0x1df)]===0x0)return _0x25081f;let _0x3e092c=_0x20089e[_0x37d9da(0x1d8)](_0x25081f[_0x37d9da(0x28a)][0x0]);for(let _0x303392=0x0;_0x303392<_0x2d98bc['length'];_0x303392++){const _0x17eca2={'id':_0x37d9da(0x3b1),'params':{'unitId':_0x2d98bc[_0x303392]['unitId'],..._0x2d98bc[_0x303392][_0x37d9da(0x3d7)]}},_0x8fb2cb=this[_0x37d9da(0x304)][_0x37d9da(0x33b)](_0x3e092c,_0x17eca2,!0x1);if(_0x1860da(_0x8fb2cb))throw _0x8fb2cb[_0x37d9da(0x318)];_0x3e092c=_0x8fb2cb[_0x37d9da(0x1ef)];}return{..._0x20089e['deepClone'](_0x25081f),'mutations':[_0x3e092c]};}[_0x48c3ba(0x253)](_0x13585c){const _0x1b50c3=_0x48c3ba,{unitID:_0x29e8e1}=_0x13585c,{history:_0x44fb74,collaboration:_0x450b1b}=this[_0x1b50c3(0x3d2)][_0x1b50c3(0x355)](_0x29e8e1);if(_0x44fb74['length']===0x0&&_0x450b1b[_0x1b50c3(0x1df)]===0x0)return;const _0x8ac38b=[],_0x1a95be=[];let _0x507cba=_0x20089e['deepClone'](_0x13585c[_0x1b50c3(0x28a)][0x0]),_0x3c0b83=_0x20089e['deepClone'](_0x13585c[_0x1b50c3(0x28a)][0x0]);for(let _0x4e910d=_0x44fb74[_0x1b50c3(0x1df)]-0x1;_0x4e910d>=0x0;_0x4e910d--){const _0x590cdc={'id':_0x1b50c3(0x3b1),'params':{'unitId':_0x44fb74[_0x4e910d]['unitId'],..._0x44fb74[_0x4e910d][_0x1b50c3(0x1de)]}},_0x34d635={'id':_0x1b50c3(0x3b1),'params':{'unitId':_0x44fb74[_0x4e910d]['unitId'],..._0x44fb74[_0x4e910d][_0x1b50c3(0x3d7)]}},_0x5cd887=this[_0x1b50c3(0x304)][_0x1b50c3(0x33b)](_0x507cba,_0x590cdc,!0x1),_0x4ec8f5=this[_0x1b50c3(0x304)][_0x1b50c3(0x33b)](_0x3c0b83,_0x34d635,!0x1);if(_0x1860da(_0x5cd887))throw _0x5cd887[_0x1b50c3(0x318)];if(_0x1860da(_0x4ec8f5))throw _0x4ec8f5[_0x1b50c3(0x318)];_0x8ac38b[_0x1b50c3(0x20c)]({..._0x44fb74[_0x4e910d],'undoState':_0x5cd887[_0x1b50c3(0x398)][_0x1b50c3(0x30c)],'redoState':_0x4ec8f5[_0x1b50c3(0x398)][_0x1b50c3(0x30c)]}),_0x507cba=_0x5cd887[_0x1b50c3(0x1ef)],_0x3c0b83=_0x4ec8f5[_0x1b50c3(0x1ef)];}_0x507cba=_0x20089e[_0x1b50c3(0x1d8)](_0x13585c[_0x1b50c3(0x28a)][0x0]),_0x3c0b83=_0x20089e['deepClone'](_0x13585c['mutations'][0x0]);for(let _0x1354fd=_0x450b1b[_0x1b50c3(0x1df)]-0x1;_0x1354fd>=0x0;_0x1354fd--){const _0x42c876={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x450b1b[_0x1354fd][_0x1b50c3(0x3f9)],..._0x450b1b[_0x1354fd][_0x1b50c3(0x1de)]}},_0x36deec={'id':_0x1b50c3(0x3b1),'params':{'unitId':_0x450b1b[_0x1354fd][_0x1b50c3(0x3f9)],..._0x450b1b[_0x1354fd][_0x1b50c3(0x3d7)]}},_0x4cca92=this['_transformService'][_0x1b50c3(0x33b)](_0x507cba,_0x42c876,!0x1),_0x1faf14=this[_0x1b50c3(0x304)][_0x1b50c3(0x33b)](_0x3c0b83,_0x36deec,!0x1);if(_0x1860da(_0x4cca92))throw _0x4cca92['error'];if(_0x1860da(_0x1faf14))throw _0x1faf14[_0x1b50c3(0x318)];_0x1a95be[_0x1b50c3(0x20c)]({..._0x450b1b[_0x1354fd],'undoState':_0x4cca92[_0x1b50c3(0x398)]['params'],'redoState':_0x1faf14[_0x1b50c3(0x398)][_0x1b50c3(0x30c)]}),_0x507cba=_0x4cca92[_0x1b50c3(0x1ef)],_0x3c0b83=_0x1faf14[_0x1b50c3(0x1ef)];}this['_docStateChangeManagerService'][_0x1b50c3(0x267)](_0x29e8e1,{'history':_0x8ac38b,'collaboration':_0x1a95be});}};ue=In([Le(0x0,_0x1b0e33(_0x1f9609)),Le(0x1,_0x21df31),Le(0x2,_0x1b0e33(_0x4783ec))],ue);var mn=Object[_0x48c3ba(0x1fc)],fn=(_0x551f09,_0x9f4643,_0x4cbd08,_0x58d94d)=>{const _0x509a63=_0x48c3ba;for(var _0x36af51=_0x58d94d>0x1?void 0x0:_0x58d94d?mn(_0x9f4643,_0x4cbd08):_0x9f4643,_0x23d2dc=_0x551f09[_0x509a63(0x1df)]-0x1,_0x3e243e;_0x23d2dc>=0x0;_0x23d2dc--)(_0x3e243e=_0x551f09[_0x23d2dc])&&(_0x36af51=_0x3e243e(_0x36af51)||_0x36af51);return _0x36af51;},ht=(_0x30a1ba,_0x578683)=>(_0x23e0d0,_0x31c97c)=>_0x578683(_0x23e0d0,_0x31c97c,_0x30a1ba);let de=class{constructor(_0x10f595,_0x1b422d){const _0x550e92=_0x48c3ba;this[_0x550e92(0x1f5)]=_0x10f595,this[_0x550e92(0x304)]=_0x1b422d;}[_0x48c3ba(0x235)](_0x269a24){const _0x1b4a4b=_0x48c3ba;var _0x15d9ea;const _0x3cefe1=this[_0x1b4a4b(0x1f5)]['get'](_0x5b6dfb),_0x26c458=(_0x15d9ea=_0x3cefe1[_0x1b4a4b(0x34e)]())!=null?_0x15d9ea:[];if(_0x26c458[_0x1b4a4b(0x1df)]===0x0)return;const _0x214ca4=_0x269a24[_0x1b4a4b(0x3ba)],_0x51b4f1=[{'id':_0x1b4a4b(0x3b1),'params':{'unitId':_0x214ca4,'actions':null,'textRanges':_0x26c458}}],_0x2e3532=this['_transformService'][_0x1b4a4b(0x331)](_0x269a24,_0x51b4f1);if(!_0x2f43b7(_0x2e3532))throw _0x2e3532['error'];const _0xc6fa92=_0x2e3532['m2Prime'][0x0][_0x1b4a4b(0x30c)][_0x1b4a4b(0x35f)];Array[_0x1b4a4b(0x38d)](_0xc6fa92)&&_0xc6fa92['length']&&_0x3cefe1[_0x1b4a4b(0x2d4)](_0xc6fa92,{'unitId':_0x214ca4,'subUnitId':_0x214ca4},!0x1);}};de=fn([ht(0x0,_0x1b0e33(_0x1f9609)),ht(0x1,_0x21df31)],de);var gn=Object[_0x48c3ba(0x1fc)],En=(_0x12f518,_0x3cfacb,_0x8b4fdc,_0x155e9a)=>{const _0x42eb29=_0x48c3ba;for(var _0x3c5d76=_0x155e9a>0x1?void 0x0:_0x155e9a?gn(_0x3cfacb,_0x8b4fdc):_0x3cfacb,_0x2dd940=_0x12f518[_0x42eb29(0x1df)]-0x1,_0x66f4b9;_0x2dd940>=0x0;_0x2dd940--)(_0x66f4b9=_0x12f518[_0x2dd940])&&(_0x3c5d76=_0x66f4b9(_0x3c5d76)||_0x3c5d76);return _0x3c5d76;},U=(_0x130def,_0x260436)=>(_0x3ba30a,_0x575c6b)=>_0x260436(_0x3ba30a,_0x575c6b,_0x130def);let Se=class extends _0x624a7{constructor(_0x126bf0,_0x5d1053,_0x4d818e,_0x3f2c82,_0x4cd193,_0x10e2bd,_0xe2fbca,_0x2c11a1){const _0x6dd9a5=_0x48c3ba;super(),_(this,_0x6dd9a5(0x23f),new _0x49dc24(_0x101556[_0x6dd9a5(0x1b7)])),(this[_0x6dd9a5(0x3d2)]=_0x126bf0,this[_0x6dd9a5(0x366)]=_0x5d1053,this[_0x6dd9a5(0x2e6)]=_0x4d818e,this[_0x6dd9a5(0x1c6)]=_0x3f2c82,this['_docTransformSelectionsService']=_0x4cd193,this['_docSyncEditingCollabCursorService']=_0x10e2bd,this[_0x6dd9a5(0x1ca)]=_0xe2fbca,this['_localeService']=_0x2c11a1,this[_0x6dd9a5(0x306)]());}[_0x48c3ba(0x306)](){const _0xbe81be=_0x48c3ba;this[_0xbe81be(0x279)](this['_collaborationController'][_0xbe81be(0x3ed)][_0xbe81be(0x357)](_0x3a37c5=>{const _0x5f4b49=_0xbe81be,_0x6e47fb=this[_0x5f4b49(0x3d2)][_0x5f4b49(0x20f)][_0x5f4b49(0x357)](_0x2bcef7=>{const _0x149f74=_0x5f4b49;if(_0x2bcef7==null)return;const {unitId:_0x54477f,redoState:_0x29d8a0,commandId:_0x5247fe}=_0x2bcef7;if(_0x54477f!==_0x3a37c5[_0x149f74(0x3ba)])return;const _0x19c1f3={'id':_0x5247fe,'type':_0x33f257[_0x149f74(0x369)],'params':{'unitId':_0x54477f,'actions':_0x29d8a0[_0x149f74(0x1d6)],'textRanges':null}};_0x3a37c5[_0x149f74(0x1c3)](_0x19c1f3);});if(_0x3a37c5[_0x5f4b49(0x279)](_0x6e47fb),_0x3a37c5 instanceof _0x34adc4){const _0x34d247={'onTransformIME':_0x315450=>this['_docTransformIMECacheService'][_0x5f4b49(0x2b2)](_0x315450),'onTransformState':_0x70454e=>this[_0x5f4b49(0x1c6)]['transformStateCache'](_0x70454e),'onTransformSelections':_0x330449=>this[_0x5f4b49(0x1a1)][_0x5f4b49(0x235)](_0x330449),'onSyncEditingCollabCursor':_0x5dad4e=>this[_0x5f4b49(0x3eb)][_0x5f4b49(0x1b6)](_0x5dad4e),'onTransformRemoteChangesetByIMECache':_0xd4367f=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0xd4367f),'onTransformRemoteChangesetByStateCache':_0x1d3285=>this[_0x5f4b49(0x1c6)]['transformRemoteChangeset'](_0x1d3285)};_0x3a37c5[_0x5f4b49(0x2bb)](_0x34d247);}}));}};Se=En([U(0x0,_0x1b0e33(_0x4783ec)),U(0x1,_0x1b0e33(_0x395f14)),U(0x2,_0x1b0e33(he)),U(0x3,_0x1b0e33(ue)),U(0x4,_0x1b0e33(de)),U(0x5,_0x1b0e33(ze)),U(0x6,_0x1b8702),U(0x7,_0x1b0e33(_0x9481dd))],Se);var Z=(_0x57dbc3=>(_0x57dbc3[_0x57dbc3[_0x48c3ba(0x341)]=0x0]=_0x48c3ba(0x341),_0x57dbc3[_0x57dbc3['OK']=0x1]='OK',_0x57dbc3[_0x57dbc3[_0x48c3ba(0x3f2)]=0x2]=_0x48c3ba(0x3f2),_0x57dbc3[_0x57dbc3[_0x48c3ba(0x2e2)]=0x3]=_0x48c3ba(0x2e2),_0x57dbc3[_0x57dbc3['NOT_FOUND']=0x4]=_0x48c3ba(0x39a),_0x57dbc3[_0x57dbc3['UNAUTHENTICATED']=0x5]=_0x48c3ba(0x36e),_0x57dbc3[_0x57dbc3['ALREADY_EXISTS']=0x6]=_0x48c3ba(0x21a),_0x57dbc3[_0x57dbc3['INVALID_ARGUMENT']=0x7]=_0x48c3ba(0x2ee),_0x57dbc3[_0x57dbc3[_0x48c3ba(0x1da)]=0x8]='TOO_MANY_REQUESTS',_0x57dbc3[_0x57dbc3[_0x48c3ba(0x394)]=0x9]=_0x48c3ba(0x394),_0x57dbc3[_0x57dbc3[_0x48c3ba(0x361)]=0xa]=_0x48c3ba(0x361),_0x57dbc3[_0x57dbc3[_0x48c3ba(0x321)]=0xb]=_0x48c3ba(0x321),_0x57dbc3[_0x57dbc3['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x48c3ba(0x20e),_0x57dbc3[_0x57dbc3[_0x48c3ba(0x22b)]=0xd]=_0x48c3ba(0x22b),_0x57dbc3[_0x57dbc3[_0x48c3ba(0x2b4)]=0xe]=_0x48c3ba(0x2b4),_0x57dbc3[_0x57dbc3[_0x48c3ba(0x24e)]=0xf]=_0x48c3ba(0x24e),_0x57dbc3[_0x57dbc3[_0x48c3ba(0x220)]=0x10]=_0x48c3ba(0x220),_0x57dbc3[_0x57dbc3[_0x48c3ba(0x2d9)]=0x64]=_0x48c3ba(0x2d9),_0x57dbc3[_0x57dbc3[_0x48c3ba(0x343)]=0x65]=_0x48c3ba(0x343),_0x57dbc3[_0x57dbc3['USER_NOT_FOUND']=0xc9]=_0x48c3ba(0x288),_0x57dbc3[_0x57dbc3[_0x48c3ba(0x1a9)]=0xca]=_0x48c3ba(0x1a9),_0x57dbc3[_0x57dbc3[_0x48c3ba(0x222)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x57dbc3[_0x57dbc3[_0x48c3ba(0x215)]=0x1771]=_0x48c3ba(0x215),_0x57dbc3[_0x57dbc3[_0x48c3ba(0x1ad)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x57dbc3[_0x57dbc3['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x48c3ba(0x36d),_0x57dbc3[_0x57dbc3[_0x48c3ba(0x280)]=0x1b59]=_0x48c3ba(0x280),_0x57dbc3[_0x57dbc3[_0x48c3ba(0x1b1)]=0x1b5a]=_0x48c3ba(0x1b1),_0x57dbc3[_0x57dbc3[_0x48c3ba(0x2d2)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x57dbc3[_0x57dbc3[_0x48c3ba(0x33d)]=0x1b5c]=_0x48c3ba(0x33d),_0x57dbc3[_0x57dbc3[_0x48c3ba(0x294)]=0x1b5d]=_0x48c3ba(0x294),_0x57dbc3[_0x57dbc3[_0x48c3ba(0x2ba)]=0x1f41]=_0x48c3ba(0x2ba),_0x57dbc3[_0x57dbc3[_0x48c3ba(0x265)]=0x2329]=_0x48c3ba(0x265),_0x57dbc3[_0x57dbc3[_0x48c3ba(0x2c6)]=0x232a]=_0x48c3ba(0x2c6),_0x57dbc3[_0x57dbc3['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x57dbc3[_0x57dbc3['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x48c3ba(0x3a5),_0x57dbc3[_0x57dbc3[_0x48c3ba(0x23c)]=0x232d]=_0x48c3ba(0x23c),_0x57dbc3[_0x57dbc3['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x48c3ba(0x368),_0x57dbc3[_0x57dbc3[_0x48c3ba(0x3ea)]=0x2712]=_0x48c3ba(0x3ea),_0x57dbc3[_0x57dbc3['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x57dbc3[_0x57dbc3[_0x48c3ba(0x248)]=0x2714]=_0x48c3ba(0x248),_0x57dbc3[_0x57dbc3['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x48c3ba(0x1c8),_0x57dbc3[_0x57dbc3['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x48c3ba(0x346),_0x57dbc3[_0x57dbc3['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x48c3ba(0x1e5),_0x57dbc3[_0x57dbc3['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x48c3ba(0x2df),_0x57dbc3[_0x57dbc3[_0x48c3ba(0x3b5)]=0x271e]=_0x48c3ba(0x3b5),_0x57dbc3[_0x57dbc3['YUUMI_AI_RUN_FAILED']=0x271f]=_0x48c3ba(0x301),_0x57dbc3[_0x57dbc3[_0x48c3ba(0x1e3)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x57dbc3[_0x57dbc3[_0x48c3ba(0x365)]=0x2af9]=_0x48c3ba(0x365),_0x57dbc3[_0x57dbc3['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x57dbc3[_0x57dbc3['INVALID_INVITE_CODE']=0x2ee2]=_0x48c3ba(0x2ac),_0x57dbc3[_0x57dbc3['INVITE_CODE_REQUIRED']=0x2ee3]=_0x48c3ba(0x352),_0x57dbc3[_0x57dbc3[_0x48c3ba(0x3a9)]=0x2ee4]=_0x48c3ba(0x3a9),_0x57dbc3[_0x57dbc3[_0x48c3ba(0x233)]=0x2ee5]=_0x48c3ba(0x233),_0x57dbc3[_0x57dbc3[_0x48c3ba(0x276)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x57dbc3[_0x57dbc3[_0x48c3ba(0x305)]=0x32ca]=_0x48c3ba(0x305),_0x57dbc3[_0x57dbc3['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x48c3ba(0x3dd),_0x57dbc3[_0x57dbc3[_0x48c3ba(0x21c)]=0x36b1]=_0x48c3ba(0x21c),_0x57dbc3[_0x57dbc3[_0x48c3ba(0x327)]=0x36b2]=_0x48c3ba(0x327),_0x57dbc3[_0x57dbc3['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x57dbc3[_0x57dbc3[_0x48c3ba(0x2b5)]=0x36b4]=_0x48c3ba(0x2b5),_0x57dbc3[_0x57dbc3[_0x48c3ba(0x1d5)]=0x36b5]=_0x48c3ba(0x1d5),_0x57dbc3[_0x57dbc3[_0x48c3ba(0x1cd)]=0x36b6]=_0x48c3ba(0x1cd),_0x57dbc3[_0x57dbc3[_0x48c3ba(0x1b2)]=0x36b7]='ENTITLE_COUPON_USED_UP',_0x57dbc3[_0x57dbc3[_0x48c3ba(0x269)]=0x36b8]=_0x48c3ba(0x269),_0x57dbc3[_0x57dbc3['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x48c3ba(0x31e),_0x57dbc3[_0x57dbc3[_0x48c3ba(0x3e2)]=0x3716]=_0x48c3ba(0x3e2),_0x57dbc3[_0x57dbc3['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x48c3ba(0x3b8),_0x57dbc3[_0x57dbc3[_0x48c3ba(0x296)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x57dbc3[_0x57dbc3[_0x48c3ba(0x314)]=0x3a99]=_0x48c3ba(0x314),_0x57dbc3[_0x57dbc3['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x48c3ba(0x33f),_0x57dbc3[_0x57dbc3[_0x48c3ba(0x1e9)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x57dbc3[_0x57dbc3[_0x48c3ba(0x3b9)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x57dbc3[_0x57dbc3[_0x48c3ba(0x1a0)]=0x3a9d]=_0x48c3ba(0x1a0),_0x57dbc3[_0x57dbc3[_0x48c3ba(0x27d)]=0x3a9e]=_0x48c3ba(0x27d),_0x57dbc3[_0x57dbc3[_0x48c3ba(0x1f6)]=0x3a9f]=_0x48c3ba(0x1f6),_0x57dbc3[_0x57dbc3['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x48c3ba(0x1ab),_0x57dbc3[_0x57dbc3[_0x48c3ba(0x231)]=-0x1]=_0x48c3ba(0x231),_0x57dbc3))(Z||{});function vn(_0x403127){const _0x385508=_0x48c3ba;var _0x431b36,_0x7336f9;const _0x5a42a8=(_0x431b36=_0x403127['stageInfo'])==null?void 0x0:_0x431b36[_0x385508(0x2af)],_0x159f7e=((_0x7336f9=_0x403127['stageInfo'])==null?void 0x0:_0x7336f9[_0x385508(0x2d1)])||0x0;return _0x5a42a8===_0x1dfaa0[_0x385508(0x2a5)]&&_0x159f7e>0x0;}function pn(_0x2df2d5){const _0x1060c8=_0x48c3ba;return _0x2df2d5[_0x1060c8(0x335)]===_0x2e915a['SUCCESS'];}var On=Object[_0x48c3ba(0x1fc)],Tn=(_0x42d60a,_0x4965a5,_0x431ee4,_0x128547)=>{const _0x1fb146=_0x48c3ba;for(var _0x46c797=_0x128547>0x1?void 0x0:_0x128547?On(_0x4965a5,_0x431ee4):_0x4965a5,_0x20b705=_0x42d60a[_0x1fb146(0x1df)]-0x1,_0x56e8b9;_0x20b705>=0x0;_0x20b705--)(_0x56e8b9=_0x42d60a[_0x20b705])&&(_0x46c797=_0x56e8b9(_0x46c797)||_0x46c797);return _0x46c797;},P=(_0xe60496,_0x42be8d)=>(_0x5c14e5,_0x19d4f6)=>_0x42be8d(_0x5c14e5,_0x19d4f6,_0xe60496);const Cn=_0x48c3ba(0x252),Rn=_0x48c3ba(0x37d),Dn=_0x48c3ba(0x227);let Ie=class extends _0x624a7{constructor(_0x911bbc,_0x2d925e,_0x469104,_0x41ebaa,_0xa52ce0,_0x5aac7b,_0xb4bf58){const _0x42a03d=_0x48c3ba;super(),_(this,_0x42a03d(0x39d),null),_(this,'_maxFormulaLimit',0x0),_(this,'_currentUsage',0x0),_(this,'_taskIds',[]),_(this,_0x42a03d(0x1b3),0x0),(this[_0x42a03d(0x1ca)]=_0x911bbc,this[_0x42a03d(0x26d)]=_0x2d925e,this[_0x42a03d(0x1f1)]=_0x469104,this[_0x42a03d(0x324)]=_0x41ebaa,this[_0x42a03d(0x3c9)]=_0xa52ce0,this[_0x42a03d(0x2a8)]=_0x5aac7b,this[_0x42a03d(0x26c)]=_0xb4bf58,this[_0x42a03d(0x218)]());}['_initCommandInterceptor'](){const _0x5c3872=_0x48c3ba;this[_0x5c3872(0x279)](this[_0x5c3872(0x26d)]['beforeCommandExecuted']((_0x1fd260,_0x4147a3)=>{const _0x4333c6=_0x5c3872;var _0xeb9511;if(_0x1fd260['id']!==_0xa44389['id'])return;const _0x3f6f3b=_0x1fd260[_0x4333c6(0x30c)];if(!this['_hasFormulaInDirtyRanges']((_0xeb9511=_0x3f6f3b['dirtyRanges'])!=null?_0xeb9511:[]))return;if(!this[_0x4333c6(0x3e1)]())throw this['_checkAndWaitForCalculationPermission'](_0x1fd260,_0x4147a3),this[_0x4333c6(0x312)](),new _0x16a91b();})),this[_0x5c3872(0x279)](this[_0x5c3872(0x26d)][_0x5c3872(0x1b4)]((_0x35dc7e,_0x111e2e)=>{const _0x385113=_0x5c3872;if(_0x35dc7e['id']!==_0xe161fc['id'])return;const _0x2842ae=_0x35dc7e[_0x385113(0x30c)];if(vn(_0x2842ae)){const _0x1ca4bc=_0x43fc79();this[_0x385113(0x1ac)][_0x385113(0x39f)](_0x1ca4bc),this[_0x385113(0x3ad)](_0x1ca4bc);}else{if(pn(_0x2842ae)&&this[_0x385113(0x1ac)][_0x385113(0x1df)]>0x0){const _0x52ca37=this[_0x385113(0x1ac)]['shift']();this[_0x385113(0x362)](_0x52ca37);}}}));}['dispose'](){const _0x807b03=_0x48c3ba;super[_0x807b03(0x1f3)](),this[_0x807b03(0x3ac)](),this[_0x807b03(0x1ac)]=[],this[_0x807b03(0x1d1)]=0x0,this[_0x807b03(0x275)]=0x0,this[_0x807b03(0x1b3)]=0x0;}async[_0x48c3ba(0x1c4)](_0x1b411c,_0x49cca2){const _0x47ce29=_0x48c3ba;for(let _0x1241b9=0x0;_0x1241b9<0x1e;_0x1241b9++)try{if(await this['_getFormulaLimitStatus'](),this[_0x47ce29(0x3e1)]()){this[_0x47ce29(0x2c9)](_0x1b411c,_0x49cca2),this['_messageService'][_0x47ce29(0x1e0)]({'content':this[_0x47ce29(0x26c)]['t']('formula.calculation.started'),'type':_0x1a84ef[_0x47ce29(0x26b)]});return;}await new Promise(_0x43bc61=>{const _0xbfa31b=_0x47ce29;this[_0xbfa31b(0x39d)]=window['setTimeout'](_0x43bc61,0x3e8);});}catch(_0x4dbace){this[_0x47ce29(0x2a8)][_0x47ce29(0x318)](_0x4dbace);}this[_0x47ce29(0x1ca)][_0x47ce29(0x1e0)]({'content':this[_0x47ce29(0x26c)]['t'](_0x47ce29(0x1bd)),'type':_0x1a84ef[_0x47ce29(0x27b)]});}[_0x48c3ba(0x2c9)](_0x599f4c,_0x96e397){const _0x248269=_0x48c3ba;try{this['_commandService'][_0x248269(0x2f1)](_0x599f4c['id'],_0x599f4c['params'],_0x96e397);}catch(_0x27994a){this[_0x248269(0x2a8)][_0x248269(0x318)](_0x27994a);}}['_setFormulaLimitStatus'](_0x23b4c4,_0x2bc7b5){const _0x5297a1=_0x48c3ba;_0x2bc7b5<this['_lastResponseTimestamp']||(this[_0x5297a1(0x1b3)]=_0x2bc7b5,this['_maxFormulaLimit']=Number[_0x5297a1(0x1b0)](_0x23b4c4[_0x5297a1(0x2a0)]),this[_0x5297a1(0x1d1)]=Number['parseInt'](_0x23b4c4[_0x5297a1(0x3e3)]));}async[_0x48c3ba(0x3ad)](_0x85352d){const _0x4fe4b6=_0x48c3ba;var _0x3f244a,_0xa54e0;const _0x212dec=Date[_0x4fe4b6(0x264)]();try{const _0x411106=((_0x3f244a=this[_0x4fe4b6(0x1f1)][_0x4fe4b6(0x2f6)](_0x419072))==null?void 0x0:_0x3f244a[_0x4fe4b6(0x1b9)])||Rn,_0x459400=(await this[_0x4fe4b6(0x324)][_0x4fe4b6(0x3d4)](_0x411106,{'body':JSON['stringify']({'taskId':_0x85352d})}))[_0x4fe4b6(0x395)];if(((_0xa54e0=_0x459400[_0x4fe4b6(0x318)])==null?void 0x0:_0xa54e0[_0x4fe4b6(0x32a)])!==Z['OK'])return;this[_0x4fe4b6(0x2a3)](_0x459400[_0x4fe4b6(0x259)],_0x212dec);}catch(_0x49ea82){this['_logService'][_0x4fe4b6(0x318)](_0x49ea82);}}async[_0x48c3ba(0x2dd)](_0x83ee54){const _0x238046=_0x48c3ba;var _0x56383e,_0x21c1c8;const _0x19acd4=Date[_0x238046(0x264)]();try{const _0x202d19=((_0x56383e=this[_0x238046(0x1f1)][_0x238046(0x2f6)](_0x419072))==null?void 0x0:_0x56383e['getFormulaLimitStatusUrl'])||Cn,_0x384f4f=_0x83ee54?_0x202d19+_0x238046(0x278)+encodeURIComponent(_0x83ee54):_0x202d19,_0x131d68=(await this[_0x238046(0x324)][_0x238046(0x29d)](_0x384f4f))[_0x238046(0x395)];if(((_0x21c1c8=_0x131d68[_0x238046(0x318)])==null?void 0x0:_0x21c1c8['code'])!==Z['OK'])return;this['_setFormulaLimitStatus'](_0x131d68[_0x238046(0x259)],_0x19acd4);}catch(_0x551ea0){this[_0x238046(0x2a8)][_0x238046(0x318)](_0x551ea0);}}async['_releaseCalculationLimit'](_0x3c315f){const _0x27f73d=_0x48c3ba;var _0x5cf5d7,_0x598eec;const _0x43b73f=Date[_0x27f73d(0x264)]();try{const _0x201674=((_0x5cf5d7=this['_configService']['getConfig'](_0x419072))==null?void 0x0:_0x5cf5d7[_0x27f73d(0x1a3)])||Dn,_0x2ca2ef=(await this['_httpService'][_0x27f73d(0x3d4)](_0x201674,{'body':JSON['stringify']({'taskId':_0x3c315f})}))[_0x27f73d(0x395)];if(((_0x598eec=_0x2ca2ef[_0x27f73d(0x318)])==null?void 0x0:_0x598eec[_0x27f73d(0x32a)])!==Z['OK'])return;this[_0x27f73d(0x2a3)](_0x2ca2ef[_0x27f73d(0x259)],_0x43b73f);}catch(_0xc97d1){this['_logService'][_0x27f73d(0x318)](_0xc97d1);}}[_0x48c3ba(0x3e1)](){const _0x5360fe=_0x48c3ba;return this[_0x5360fe(0x275)]===0x0?!0x0:this['_maxFormulaLimit']-this[_0x5360fe(0x1d1)]>0x0;}[_0x48c3ba(0x3ac)](){const _0x371e84=_0x48c3ba;this[_0x371e84(0x39d)]&&(clearTimeout(this['_pollingInterval']),this['_pollingInterval']=null);}[_0x48c3ba(0x312)](){const _0x39158f=_0x48c3ba;this[_0x39158f(0x1ca)][_0x39158f(0x1e0)]({'content':this[_0x39158f(0x26c)]['t']('formula.calculation.waiting'),'type':_0x1a84ef[_0x39158f(0x3d1)]});}[_0x48c3ba(0x28d)](_0x26ad3d){const _0xaee4fd=_0x48c3ba;for(const _0x18c98e of _0x26ad3d){const {unitId:_0x7d36c1,sheetId:_0x10a4c2,range:_0x27106e}=_0x18c98e,_0x2579c3=this[_0xaee4fd(0x3c9)][_0xaee4fd(0x1b5)](_0x7d36c1);if(!_0x2579c3)continue;const _0x13efb8=_0x2579c3[_0xaee4fd(0x1f7)](_0x10a4c2);if(!_0x13efb8)continue;const _0x2d522c=_0x13efb8[_0xaee4fd(0x208)]();for(let _0xf0d617=_0x27106e['startRow'];_0xf0d617<=_0x27106e['endRow'];_0xf0d617++)for(let _0x3e3eb6=_0x27106e[_0xaee4fd(0x287)];_0x3e3eb6<=_0x27106e[_0xaee4fd(0x1cb)];_0x3e3eb6++){const _0x23236c=_0x2d522c[_0xaee4fd(0x358)](_0xf0d617,_0x3e3eb6);if(_0x23236c&&(_0x12bc3e(_0x23236c['f'])||_0xfd06ab(_0x23236c['si'])))return!0x0;}}return!0x1;}};Ie=Tn([P(0x0,_0x1b0e33(_0x1b8702)),P(0x1,_0x29fec4),P(0x2,_0x210b7f),P(0x3,_0x1b0e33(_0x530d74)),P(0x4,_0x4daab6),P(0x5,_0x395468),P(0x6,_0x1b0e33(_0x9481dd))],Ie);var Nn=Object[_0x48c3ba(0x1fc)],bn=(_0x594846,_0x5726ad,_0xf46fc2,_0x421c2b)=>{for(var _0x30d2b4=_0x421c2b>0x1?void 0x0:_0x421c2b?Nn(_0x5726ad,_0xf46fc2):_0x5726ad,_0x3c95ac=_0x594846['length']-0x1,_0xae3f55;_0x3c95ac>=0x0;_0x3c95ac--)(_0xae3f55=_0x594846[_0x3c95ac])&&(_0x30d2b4=_0xae3f55(_0x30d2b4)||_0x30d2b4);return _0x30d2b4;},Ue=(_0x3976fe,_0x3c4749)=>(_0x258e52,_0x120b4f)=>_0x3c4749(_0x258e52,_0x120b4f,_0x3976fe);let He=class extends _0x624a7{constructor(_0x1c023e,_0x48e34b,_0xdb693d){const _0x1e37d4=_0x48c3ba;super(),_(this,_0x1e37d4(0x386),new Map()),_(this,_0x1e37d4(0x317),new Map()),_(this,_0x1e37d4(0x3de),!0x1),(this['_configService']=_0x1c023e,this[_0x1e37d4(0x19f)]=_0x48e34b,this[_0x1e37d4(0x21b)]=_0xdb693d);}[_0x48c3ba(0x399)](){this['_disabled']=!0x0;}[_0x48c3ba(0x244)](){const _0xe76c05=_0x48c3ba;this[_0xe76c05(0x3de)]=!0x1;}get[_0x48c3ba(0x33a)](){const _0x2e8141=_0x48c3ba;return this[_0x2e8141(0x317)];}[_0x48c3ba(0x1f3)](){const _0x1543b8=_0x48c3ba;this[_0x1543b8(0x316)]()[_0x1543b8(0x2ff)](()=>super[_0x1543b8(0x1f3)]());}async[_0x48c3ba(0x1a4)](_0x1581c3){const _0x2a898d=_0x48c3ba;return this['_disabled']?null:this[_0x2a898d(0x19f)][_0x2a898d(0x376)](_0x2db13b(_0x1581c3));}async[_0x48c3ba(0x2d0)](_0x5c123d,_0x41978a){const _0x4e82af=_0x48c3ba;return!!this[_0x4e82af(0x19f)][_0x4e82af(0x328)](_0x5c123d,_0x41978a);}[_0x48c3ba(0x344)](_0x164e3a,_0x289e84,_0x134696,_0x270508){const _0x540af5=_0x48c3ba,_0x14bc0b=this['_revisionService'][_0x540af5(0x28c)](_0x164e3a);this[_0x540af5(0x386)][_0x540af5(0x1f8)](_0x164e3a,{'unitID':_0x164e3a,'type':_0x289e84,'awaitingChangeset':_0x134696,'mutations':_0x270508,'rev':_0x14bc0b}),this[_0x540af5(0x317)][_0x540af5(0x1af)](_0x164e3a)||this['_scheduleSaving'](_0x164e3a);}[_0x48c3ba(0x2b8)](_0x158714){const _0x54fa30=_0x48c3ba,_0x15d319=this[_0x54fa30(0x373)]();_0x15d319===0x0?this[_0x54fa30(0x2ca)](_0x158714):this[_0x54fa30(0x317)][_0x54fa30(0x1f8)](_0x158714,setTimeout(()=>this[_0x54fa30(0x2ca)](_0x158714),_0x15d319));}[_0x48c3ba(0x373)](){const _0x3a3841=_0x48c3ba;var _0x10ec3d;return(_0x10ec3d=this[_0x3a3841(0x1f1)]['getConfig'](_0x453cb3))!=null?_0x10ec3d:_0x539d04;}[_0x48c3ba(0x2ca)](_0x53adf1){const _0x1ff9f6=_0x48c3ba,_0x365587=this[_0x1ff9f6(0x317)][_0x1ff9f6(0x29d)](_0x53adf1);return _0x365587!==void 0x0&&window[_0x1ff9f6(0x3f3)](_0x365587),this[_0x1ff9f6(0x19f)][_0x1ff9f6(0x328)](_0x2db13b(_0x53adf1),this['_cachedData'][_0x1ff9f6(0x29d)](_0x53adf1))[_0x1ff9f6(0x2ff)](()=>this[_0x1ff9f6(0x317)][_0x1ff9f6(0x28b)](_0x53adf1));}async[_0x48c3ba(0x316)](){const _0x3f422c=_0x48c3ba,_0x5a7d75=[];this['_saveTaskMap'][_0x3f422c(0x350)]((_0x19e0b3,_0x525fd2)=>{const _0x1d5f09=_0x3f422c;window['clearTimeout'](_0x19e0b3),_0x5a7d75[_0x1d5f09(0x39f)](this[_0x1d5f09(0x2ca)](_0x525fd2)[_0x1d5f09(0x2ff)](()=>{const _0x25aca0=_0x1d5f09;this[_0x25aca0(0x317)]['delete'](_0x525fd2);}));}),await Promise[_0x3f422c(0x3bc)](_0x5a7d75);}};He=bn([Ue(0x0,_0x210b7f),Ue(0x1,_0x7e8dbb),Ue(0x2,_0x1b0e33(_0x3bf972))],He);class Ln extends _0x40410a{constructor(){const _0x2767a9=_0x48c3ba;super(),_(this,'urlChange$'),this[_0x2767a9(0x2bc)]=_0x55344d(window,_0x2767a9(0x1bc))[_0x2767a9(0x27f)](_0x54c732(this[_0x2767a9(0x29a)]),_0x18e1ba(0x1),_0x2f2732(void 0x0));}[_0x48c3ba(0x286)](_0x58ebc4,_0xee53b,_0x2056d8=!0x1){const _0x5236b9=_0x48c3ba,_0x71a6af=new URL(window['location'][_0x5236b9(0x2f2)]);_0x71a6af[_0x5236b9(0x3f4)][_0x5236b9(0x1f8)](_0x58ebc4,_0xee53b),_0x2056d8?window[_0x5236b9(0x2a9)][_0x5236b9(0x200)]('','',_0x71a6af['toString']()):window[_0x5236b9(0x2a9)][_0x5236b9(0x1aa)]('','',_0x71a6af[_0x5236b9(0x3dc)]());}['removeParam'](_0x4eb169,_0x20de60=!0x1){const _0x33e481=_0x48c3ba,_0x5349e6=new URL(window['location'][_0x33e481(0x2f2)]);_0x5349e6[_0x33e481(0x3f4)][_0x33e481(0x28b)](_0x4eb169),_0x20de60?window[_0x33e481(0x2a9)][_0x33e481(0x200)]('','',_0x5349e6['toString']()):window[_0x33e481(0x2a9)][_0x33e481(0x1aa)]('','',_0x5349e6[_0x33e481(0x3dc)]());}['getParam'](_0x58144e){const _0x5c8c10=_0x48c3ba;var _0x47ee69;return(_0x47ee69=new URL(window[_0x5c8c10(0x2ef)]['href'])[_0x5c8c10(0x3f4)][_0x5c8c10(0x29d)](_0x58144e))!=null?_0x47ee69:void 0x0;}}var Un=Object['defineProperty'],Mn=Object['getOwnPropertyDescriptor'],An=(_0x4dd7e9,_0x29f49b,_0x3df536)=>_0x29f49b in _0x4dd7e9?Un(_0x4dd7e9,_0x29f49b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3df536}):_0x4dd7e9[_0x29f49b]=_0x3df536,Pn=(_0x5ad4f2,_0x33d0bc,_0x504a0a,_0x5f5387)=>{const _0x1a0f42=_0x48c3ba;for(var _0xd4960d=_0x5f5387>0x1?void 0x0:_0x5f5387?Mn(_0x33d0bc,_0x504a0a):_0x33d0bc,_0x4655a7=_0x5ad4f2[_0x1a0f42(0x1df)]-0x1,_0x2e6adb;_0x4655a7>=0x0;_0x4655a7--)(_0x2e6adb=_0x5ad4f2[_0x4655a7])&&(_0xd4960d=_0x2e6adb(_0xd4960d)||_0xd4960d);return _0xd4960d;},Me=(_0x1cd912,_0x80b12)=>(_0x1493ad,_0x98fb0a)=>_0x80b12(_0x1493ad,_0x98fb0a,_0x1cd912),wn=(_0x4f4d6c,_0x172f64,_0x5b1e2a)=>An(_0x4f4d6c,_0x172f64+'',_0x5b1e2a);const yn='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ye=class extends _0x33637f{constructor(_0xf33d45=_t,_0x5be465,_0x35c5fa,_0x3fae16){const _0x2dee04=_0x48c3ba;super(),this[_0x2dee04(0x31a)]=_0xf33d45,this['_renderManagerService']=_0x5be465,this[_0x2dee04(0x1f5)]=_0x35c5fa,this[_0x2dee04(0x1f1)]=_0x3fae16;const {..._0x2539ae}=_0x15def8({},_t,this[_0x2dee04(0x31a)]);this[_0x2dee04(0x1f1)][_0x2dee04(0x1e7)](hn,_0x2539ae);}[_0x48c3ba(0x20a)](){const _0x5349e7=_0x48c3ba;this[_0x5349e7(0x384)](),this[_0x5349e7(0x3b7)]();}[_0x48c3ba(0x35e)](){this['_registerRenderDependencies']();}[_0x48c3ba(0x384)](){const _0x4bf881=_0x48c3ba;var _0x1b66ca;const _0x32a7d5=[[Ke],[Ie],[de],[he],[ue],[ze],[yt,{'useClass':Ln}],[_0x270c2f,{'useClass':_0x4611e9}],[_0x8f11dc,{'useClass':He}],[ae],[Se],[_e],[H],[$e],[ce]];this['_config']['enableFrontendLog']&&_0x32a7d5[_0x4bf881(0x39f)]([le]),_0x5752b0(this[_0x4bf881(0x1f5)],_0x3ff669(_0x32a7d5,(_0x1b66ca=this[_0x4bf881(0x31a)])==null?void 0x0:_0x1b66ca['override']));}['_registerRenderDependencies'](){const _0x3eaf4e=_0x48c3ba;this[_0x3eaf4e(0x279)](this[_0x3eaf4e(0x2e7)][_0x3eaf4e(0x313)](_0x2ddafe[_0x3eaf4e(0x35c)],[Fe])),this[_0x3eaf4e(0x279)](this[_0x3eaf4e(0x2e7)][_0x3eaf4e(0x313)](_0x2ddafe[_0x3eaf4e(0x32d)],[ke]));}[_0x48c3ba(0x3b7)](){const _0x2189ce=_0x48c3ba;_0x3f0f67(this[_0x2189ce(0x1f5)],[[H],[ae],[Se],[_e],[ce],[Ie]]),this[_0x2189ce(0x31a)][_0x2189ce(0x39e)]&&_0x3f0f67(this['_injector'],[[le]]);}};wn(Ye,_0x48c3ba(0x2e0),yn),Ye=Pn([_0x1dad22(_0x47c18e),Me(0x1,_0x276443),Me(0x2,_0x1b0e33(_0x1f9609)),Me(0x3,_0x210b7f)],Ye);var $n=Object[_0x48c3ba(0x1fc)],xn=(_0x411e60,_0x5a4bc6,_0x34624d,_0x4abda3)=>{for(var _0x3b94f4=_0x4abda3>0x1?void 0x0:_0x4abda3?$n(_0x5a4bc6,_0x34624d):_0x5a4bc6,_0x210c54=_0x411e60['length']-0x1,_0x51f403;_0x210c54>=0x0;_0x210c54--)(_0x51f403=_0x411e60[_0x210c54])&&(_0x3b94f4=_0x51f403(_0x3b94f4)||_0x3b94f4);return _0x3b94f4;},J=(_0x3383a9,_0x1bfc17)=>(_0x59ca3e,_0x131da7)=>_0x1bfc17(_0x59ca3e,_0x131da7,_0x3383a9);let ut=class extends _0x285f4a{constructor(_0x4dfd64,_0x4002bc,_0x45a5d7,_0x2d80d8,_0x21fd7b){super(_0x4dfd64,_0x4002bc,_0x45a5d7,_0x2d80d8,_0x21fd7b);}async[_0x48c3ba(0x390)](_0x1239cf){const _0x39c541=_0x48c3ba,_0x7f79be=await this[_0x39c541(0x212)](),_0x4188a8=this['_createSocketURL'](_0x1239cf,_0x7f79be);return this[_0x39c541(0x336)](_0x4188a8);}['_createSocketURL'](_0x60071c,_0x5e2079){const _0x4273b5=_0x48c3ba,_0x302295=typeof window>'u'?new URL(_0x60071c):new URL(_0x60071c,window[_0x4273b5(0x2ef)][_0x4273b5(0x261)]);_0x302295[_0x4273b5(0x3f4)][_0x4273b5(0x1f8)](_0x4273b5(0x35b),_0x5e2079);const _0x4c17c8=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x4273b5(0x284)]);return _0x4c17c8[_0x4273b5(0x29d)](_0x4273b5(0x1ff))&&_0x302295[_0x4273b5(0x3f4)][_0x4273b5(0x1f8)](_0x4273b5(0x1ff),_0x4c17c8[_0x4273b5(0x29d)]('runId')),_0x302295['toString']();}async[_0x48c3ba(0x212)](){const _0x2ce71f=_0x48c3ba;var _0x29227c,_0x10aab8,_0x2162fa;const _0x4f60b8=this[_0x2ce71f(0x1f1)]['getConfig'](_0x419072),_0xda130a=(_0x29227c=_0x4f60b8==null?void 0x0:_0x4f60b8[_0x2ce71f(0x2cf)])!=null?_0x29227c:_0x252510;return(_0x2162fa=(_0x10aab8=(await this[_0x2ce71f(0x324)]['get'](_0xda130a,{'headers':{'Content-Type':_0x2ce71f(0x216)}}))[_0x2ce71f(0x395)])==null?void 0x0:_0x10aab8[_0x2ce71f(0x20b)])!=null?_0x2162fa:'';}};ut=xn([J(0x0,_0x1b0e33(_0x1f9609)),J(0x1,_0x1b0e33(_0x530d74)),J(0x2,_0x210b7f),J(0x3,_0x395468),J(0x4,_0x15b255)],ut);var Bn=Object[_0x48c3ba(0x1fc)],Fn=(_0x1e0148,_0x463576,_0x40ec7f,_0x4c0e1b)=>{const _0x2412c8=_0x48c3ba;for(var _0x328774=_0x4c0e1b>0x1?void 0x0:_0x4c0e1b?Bn(_0x463576,_0x40ec7f):_0x463576,_0x47958a=_0x1e0148[_0x2412c8(0x1df)]-0x1,_0x531299;_0x47958a>=0x0;_0x47958a--)(_0x531299=_0x1e0148[_0x47958a])&&(_0x328774=_0x531299(_0x328774)||_0x328774);return _0x328774;},Ae=(_0x20dbcf,_0x4defc0)=>(_0x288141,_0x280a41)=>_0x4defc0(_0x288141,_0x280a41,_0x20dbcf);let dt=class extends _0x624a7{constructor(_0x4f8523,_0x1a2717,_0x10bf22){const _0x1b7984=_0x48c3ba;super(),this[_0x1b7984(0x2b6)]=_0x4f8523,this[_0x1b7984(0x324)]=_0x1a2717,this[_0x1b7984(0x1f1)]=_0x10bf22;}async[_0x48c3ba(0x3a2)](_0x4d94b2,_0x4261d8,_0x4e3e35,..._0x139d70){const _0x265cec=_0x48c3ba;var _0x3fee23,_0xe78f6b,_0xdd8838,_0x29a8e4;const _0x21c21c=this[_0x265cec(0x2b6)]['getFocusedUnit']();if(!_0x21c21c)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x31c173=((_0x3fee23=this[_0x265cec(0x1f1)]['getConfig'](_0x174054))!=null?_0x3fee23:_0x5acb71)+'/'+_0x4d94b2+'/run/'+_0x4261d8,_0x38e55c=new URL(window[_0x265cec(0x2ef)][_0x265cec(0x2f2)]),_0x5b0f58={'scriptId':_0x4d94b2,'runId':(_0xe78f6b=_0x38e55c[_0x265cec(0x3f4)][_0x265cec(0x29d)](_0x265cec(0x1ff)))!=null?_0xe78f6b:'','function':_0x4261d8,'unitId':_0x21c21c[_0x265cec(0x3c5)](),'argsOfFunction':JSON['stringify'](_0x139d70),'invokeId':(_0xdd8838=_0x4e3e35['invokeId'])!=null?_0xdd8838:'','executionId':(_0x29a8e4=_0x4e3e35[_0x265cec(0x3c2)])!=null?_0x29a8e4:''};try{const _0x206264=await this[_0x265cec(0x324)]['post'](_0x31c173,{'body':_0x5b0f58});return _0x206264[_0x265cec(0x395)][_0x265cec(0x318)]&&_0x206264[_0x265cec(0x395)][_0x265cec(0x318)][_0x265cec(0x32a)]!==Z['OK']?_0x265cec(0x302):_0x206264[_0x265cec(0x395)][_0x265cec(0x349)];}catch{return'Failed';}}};dt=Fn([Ae(0x0,_0x4daab6),Ae(0x1,_0x1b0e33(_0x530d74)),Ae(0x2,_0x210b7f)],dt);const St=0x7530,It=_0x48c3ba(0x210);class rr extends _0x624a7{constructor(){const _0x438c5c=_0x48c3ba;super(),_(this,_0x438c5c(0x2aa),_0x43fc79()),_(this,_0x438c5c(0x201),new Set()),_(this,_0x438c5c(0x271),new Map()),_(this,'_heartbeatTimer',null),_(this,_0x438c5c(0x30f),new Map()),_(this,_0x438c5c(0x25c),new Map()),this[_0x438c5c(0x381)]();}[_0x48c3ba(0x1f3)](){const _0x5e4964=_0x48c3ba;super[_0x5e4964(0x1f3)](),this['_clearOtherTimers'][_0x5e4964(0x350)]((_0x665ab3,_0x116043)=>this[_0x5e4964(0x249)](_0x116043)),this['_heartbeatTimer']&&window[_0x5e4964(0x303)](this['_heartbeatTimer']);}['getUnitStatus$'](_0x54e78d){const _0x991599=_0x48c3ba;return this[_0x991599(0x3a7)](_0x54e78d)['pipe'](_0x3a493c());}[_0x48c3ba(0x33e)](_0x477550){const _0x4306b2=_0x48c3ba;this[_0x4306b2(0x201)]['size']===0x0&&this[_0x4306b2(0x27c)](),this['_selfUnitIDs'][_0x4306b2(0x1a7)](_0x477550),this[_0x4306b2(0x260)]({'type':0x0,'memberID':this[_0x4306b2(0x2aa)],'unitIDs':[_0x477550],'isForwarded':!0x1});}[_0x48c3ba(0x340)](_0x5a1dd3){const _0x1e977b=_0x48c3ba;this[_0x1e977b(0x201)][_0x1e977b(0x28b)](_0x5a1dd3),this['_selfUnitIDs']['size']===0x0&&this[_0x1e977b(0x391)]&&window[_0x1e977b(0x303)](this[_0x1e977b(0x391)]);}['_init'](){const _0x132ab7=_0x48c3ba;this['disposeWithMe'](_0x15cb86(_0x55344d(window,_0x132ab7(0x3bf))[_0x132ab7(0x357)](_0x30034a=>{const _0x569de2=_0x132ab7;if(_0x30034a[_0x569de2(0x289)]!==It||!_0x30034a[_0x569de2(0x3c8)])return;const _0x215473=JSON[_0x569de2(0x325)](_0x30034a['newValue']);this[_0x569de2(0x3ab)](_0x215473);}))),window['addEventListener'](_0x132ab7(0x1f0),()=>this[_0x132ab7(0x260)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x132ab7(0x2d6)](this['_selfUnitIDs'])}));}['_handleEvent'](_0x382939){const _0x7922a9=_0x48c3ba;switch(_0x382939['type']){case 0x0:this['_handleJoinEvent'](_0x382939);break;case 0x1:this[_0x7922a9(0x3aa)](_0x382939);break;case 0x2:this['_handleHeartbeatEvent'](_0x382939);break;}}[_0x48c3ba(0x2ab)](_0xc30485){const _0x5d6f87=_0x48c3ba,{unitIDs:_0xd3a934,memberID:_0x1cd3dc,isForwarded:_0x21aca0}=_0xc30485;_0xd3a934[_0x5d6f87(0x350)](_0x3b8617=>{const _0x15919f=_0x5d6f87;if(!_0x21aca0&&this['_unitOnClients']['has'](_0x3b8617)&&this[_0x15919f(0x3a7)](_0x3b8617)[_0x15919f(0x2c1)](_0x296f1d[_0x15919f(0x3a0)]),!this[_0x15919f(0x271)][_0x15919f(0x1af)](_0x3b8617)||!this[_0x15919f(0x271)]['get'](_0x3b8617)[_0x15919f(0x1af)](_0x1cd3dc)){const _0x219c16=this['_unitOnClients']['get'](_0x3b8617)||new Set();_0x219c16[_0x15919f(0x1a7)](_0x1cd3dc),this[_0x15919f(0x271)][_0x15919f(0x1f8)](_0x3b8617,_0x219c16),this[_0x15919f(0x363)](_0x1cd3dc);}}),_0x21aca0||this[_0x5d6f87(0x260)]({'type':0x0,'memberID':this[_0x5d6f87(0x2aa)],'unitIDs':[...this[_0x5d6f87(0x201)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x4a7518){const _0x1fd640=_0x48c3ba;this['_removeClearOtherTimer'](_0x4a7518);const _0x1c5687=window[_0x1fd640(0x38c)](()=>{const _0x134915=_0x1fd640;this['_unitOnClients'][_0x134915(0x350)](_0x297bc5=>{_0x297bc5['delete'](_0x4a7518);});},St*0x2);this[_0x1fd640(0x30f)][_0x1fd640(0x1f8)](_0x4a7518,_0x1c5687);}[_0x48c3ba(0x249)](_0x4da5c5){const _0x48cfd8=_0x48c3ba;if(this['_clearOtherTimers'][_0x48cfd8(0x1af)](_0x4da5c5)){const _0x59ce03=this[_0x48cfd8(0x30f)][_0x48cfd8(0x29d)](_0x4da5c5);_0x59ce03&&window['clearTimeout'](_0x59ce03),this[_0x48cfd8(0x30f)][_0x48cfd8(0x1f8)](_0x4da5c5,null);}}[_0x48c3ba(0x3aa)](_0x2af1aa){const {memberID:_0x18724d,unitIDs:_0x18fd41}=_0x2af1aa;_0x18fd41['forEach'](_0x584004=>{const _0x5212e1=_0x44cc;var _0x5061ee;const _0x322a06=this[_0x5212e1(0x271)][_0x5212e1(0x29d)](_0x584004);_0x322a06&&(_0x322a06[_0x5212e1(0x28b)](_0x18724d),(_0x5061ee=this[_0x5212e1(0x3a7)](_0x584004))==null||_0x5061ee[_0x5212e1(0x2c1)](_0x322a06[_0x5212e1(0x202)]===0x0?_0x296f1d[_0x5212e1(0x239)]:_0x296f1d[_0x5212e1(0x3a0)]));}),this['_removeClearOtherTimer'](_0x18724d);}['_handleHeartbeatEvent'](_0x2e9e37){const _0x3cbaa7=_0x48c3ba;this[_0x3cbaa7(0x363)](_0x2e9e37[_0x3cbaa7(0x2e4)]);}[_0x48c3ba(0x260)](_0x371138){const _0x16af92=_0x48c3ba;localStorage[_0x16af92(0x328)](It,JSON[_0x16af92(0x3cd)](_0x371138));}[_0x48c3ba(0x27c)](){const _0x277421=_0x48c3ba;this[_0x277421(0x391)]=window[_0x277421(0x36b)](()=>{const _0x10c92f=_0x277421;this['_send']({'type':0x2,'memberID':this[_0x10c92f(0x2aa)]});},St);}['_ensureSubject'](_0x59417d){const _0x2ff62c=_0x48c3ba;return this['_unitStatus'][_0x2ff62c(0x1af)](_0x59417d)||this['_unitStatus'][_0x2ff62c(0x1f8)](_0x59417d,new _0x49dc24(_0x296f1d[_0x2ff62c(0x239)])),this['_unitStatus'][_0x2ff62c(0x29d)](_0x59417d);}}function _0x5788(){const _0x50d59d=['SNAPSHOT_INVALID_SNAPSHOT','application/json','_initStatusListener','_initCommandInterceptor','clipPath','ALREADY_EXISTS','_revisionService','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_setupBeforeClosingHandler','_refreshCollabCursors','_range','LOGIN_TOKEN_PROCESSING_FAILED','transformStateCache','CHANGESET_REVISION_CONFILICT','_collabSessionService','_dataLoaderService','_roomMembers$','includes','/universer-api/license/formula/limit/done','_session','4PJYSdq','_getAnchorBounding','EMAIL_VERIFY_CODE_MISMATCH','InsertRangeMoveRightCommandId','bottom','_color','measureText','Warning','UNRECOGNIZED','registerRefRange','INVITE_CODE_ALREADY_BOUND','getOffsetConfig','transformSelections','currentTheme$','ranges','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','NO_OTHER_CLIENTS_EDITING','contains','_render','LICENSE_DISTRO_REJECTED','init','getSkeleton','_status$','collaboration.closeRoom','5049558NBeHDZ','getTypeOfUnitDisposed$','session.connection-failed','enableLocalCache','find','event$','values','YUUMI_SUBSCRIPTION_NOT_FOUND','_removeClearOtherTimer','use','collabStatus.syncing','makeDirty','onPointerLeave$','AUTHORIZE_CODE_ILLEGAL','getViewport','_transformPreviousActiveRange','_imageIoService','/universer-api/license/formula/limit/status','_transformHistoryAndStateStack','onTransformChange$','HEADER_MENU','focused$','_urlService','_updateURLWithCurrentState','limitInfo','_collabCursorState$','red.300','_unitStatus','ONLINE','white','2723255UQixdv','_send','origin','_scene','0\x200\x2017\x2016','now','LICENSE_MAX_UNITS_EXCEEDED','univerjs-icon\x20univerjs-icon-','setStateCache','requireSession','ENTITLE_USE_COUPON_NOT_1ST_TRADE','InsertColCommandId','Success','_localeService','_commandService','RECT','evenodd','OnLineIcon','_unitOnClients','collabCursorState$','_collaborationSessionService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_maxFormulaLimit','WECHAT_HAS_BEEN_BOUND','column','?taskId=','disposeWithMe','_beforeCloseService','Error','_scheduleHeartbeat','REDEMPTION_USER_REDEEM_TIMES_EXCEED','colorChannel1','pipe','APPLY_REJECT','CLOSE_ROOM','sheetID','drawWith','search','OFFLINE','setParam','startColumn','USER_NOT_FOUND','key','mutations','delete','getCurrentRevOfUnit','_hasFormulaInDirtyRanges','imageSourceType','backgroundColor','svg','min','_cursors','hovered','APPLY_DUPLICATED','trim','ENTITLE_NEED_BILLING_ADDRESS','black','_themeService','_startSheetCollabCursor','dispose$','setAlpha','collab-text-anchor-','get','activeSheet$','_name','maxFormulaLimit','_drawRectRange','_memberService','_setFormulaLimitStatus','RemoveColCommandId','START_CALCULATION','_online','entries','_logService','history','_id','_handleJoinEvent','INVALID_INVITE_CODE','data','_context','stage','_syncEditingCollabCursorService','tag','transformIMECache','_shapes','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','PAYMENT_CHANNEL_NOT_SUPPORT','_instanceService','registerComponent','_scheduleSaving','14nGbCIm','CONNECTOR_DATA_TOO_LARGE','addHandlerCallback','urlChange$','_colorAssignService','toRgbString','stack','_colorIndex','next','_updateSubUnitFromURLParams','_anchor','_hideTimer','permission.title','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','map','join','_applyCommand','_saveCache','_onRefRangeChange','reconnect','socket$','_initEvent','wsSessionTicketUrl','saveOfflineData','totalFormulasToCalculate','APPLY_REVISION_CONFILICT','getMember','replaceDocRanges','unhandledrejection','from','defs','isEditing','CURRENT_STATUS_CANNOT_OPERATE','resize','collabStatus.conflict','save','_getFormulaLimitStatus','color','YUUMI_ALL_TABLES_IS_INVALID','pluginName','_hovered','PERMISSION_DENIED','flatMap','memberID','_sheetSkeletonManagerService','_docTransformIMECacheService','_renderManagerService','getCollabEntity$','_drawAnchor','getRenderById','_refRangeService','send','_updateLocalCursor','INVALID_ARGUMENT','location','_handleHover','executeCommand','href','#FFF','_hover','[Window\x20Error]:\x20','getConfig','transformByState','type','_memberID','USERS_LEAVE','addEventListener','OffLineIcon','11RMmEdD','yellow.400','then','getParam','YUUMI_AI_RUN_FAILED','Failed','clearInterval','_transformService','MOBILE_HAS_BEEN_BOUND','_initEntityListener','mask','SOCKET_FAILED','fillStyle','bind','UniverIcon','params','children','_assignedColors','_clearOtherTimers','some','DeleteRangeMoveUpCommandId','_showGuardMessage','registerRenderModule','REDEMPTION_INVALID_CODE','getCollabCursors$','exhaustSavingTask','_saveTaskMap','error','getMemberID','_config','getCurrentUnitForType','restore','138231QBCjNl','ENTITLE_CHAT_LIMIT_EXCEED','reason','collabStatus.notCollab','MOBILE_VERIFY_CODE_MISMATCH','on-line-icon','closePath','_httpService','parse','url(#$1','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','setItem','whenReady','code','subunit','message','UNIVER_SHEET','_cursor','_initUnhandledRejectionListener','arc','transformMutationsWithChangeset','getFocusedUnit','_anchorDot','unsubscribe','functionsExecutedState','_doCreateSocket','_transformUndoRedoStack','_initWindowErrorListener','_cursorShapes','saveTaskMap','transformMutation','847266oXoHqE','APPLY_PERMISSION_DENIED','editingUnit','REDEMPTION_CODE_INACTIVE','disposeUnit','UNDEFINED','path','ERROR_AGAIN','updateOfflineData','getCurrentSelections','YUUMI_ASYNCIO_CANCELLED','2009KaJBwv','endRow','result','max','div','beginPath','_entities','getDocRanges','fill','forEach','currentColor','INVITE_CODE_REQUIRED','filename','_getMergeRange','getStateCache','_collabCursorController','subscribe','getValue','getRangePointData','cursorInfo$','sessionTicket','UNIVER_DOC','_removeCollabCursors','onRendered','textRanges','_getScale','LOGIN_FAILED','_releaseCalculationLimit','_scheduleClearOtherTimer','collab-client.tooltip.reconnect','PY_RUNTIME_SCRIPT_ERROR','_collaborationController','getColorFromTheme','YUUMI_UNABLE_LOAD_URL','MUTATION','UPDATE_CURSOR','setInterval','getSheetId','ENSURE_SNAPSHOT_EXECUTION','UNAUTHENTICATED','with','_localCacheService','round','eventID','_getSaveTimeout','/universer-api/frontend/logs','FromArray','getItem','split','_updateCollabCursors','addClipboardHook','getUndoRedoMutationParamsCache','collabStatus.fetchMiss','name','/universer-api/license/formula/limit/start','getVpScrollXYInfoByPosToVp','green.600','OTHER_CLIENT_EDITING','_init','translate(.97)','string','_registerDependencies','_textBubble','_cachedData','1em','assignAColorForMemberID','onPointerEnter$','catch','displayName','setTimeout','isArray','MoveRangeCommandId','defineProperty','createSocket','_heartbeatTimer','jiqing.500','unit','COMPLETION_FINISHED','body','sessionStatus$','range','m2Prime','disableLocalCache','NOT_FOUND','fillText','collaboration-client-ui.config','_pollingInterval','enableFrontendLog','push','OTHER_CLIENTS_EDITING','sheetId','runOnServer','random','transformRemoteChangeset','LICENSE_EXPORT_SIZE_EXCEEDED','setShapeProps','_ensureSubject','registerBeforeClose','USER_NOT_INVITED_CODE','_handleLeaveEvent','_handleEvent','_clearPolling','_startCalculationLimit','transform','_getSheetObject','16342836tJUOXi','doc.mutation.rich-text-editing','asObservable','_cursorInfo$','skeleton','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','getTypeOfUnitAdded$','_initDependencies','ENTITLE_INSUFFICIENT_QUOTA','REDEMPTION_CODE_NOT_STARTED','unitID','_initResize','all','getAncestorScale','attrs','storage','xlink:href','startsWith','executionId','none','permission.content','getUnitId','text','_document','newValue','_univerInstanceService','Unknown\x20user','_drawTextRange','20360RNsLjK','stringify','FETCH_MISS','VIEW_MAIN','createInstance','Loading','_docStateChangeManagerService','startRow','post','hide','removeEventListener','redoState','substring','defIds','InsertRangeMoveDownCommandId','lineTo','toString','EMAIL_HAS_BEEN_BOUND','_disabled','height','on-line-icon_clip0_910_349','_checkCalculationAvailable','ENTITLE_REPORT_LIMIT_EXCEED','currentUsage','blue.400','SUBMIT_CHANGESET_TIMEOUT','_docClipboardService','_notificationService','_toggleOnline','moveTo','YUUMI_URL_COL_OUT_OF_RANGE','_docSyncEditingCollabCursorService','_setupSubUnitSync','entityInit$','idSuffix','_draw','addObject','_uiPartsService','INTERNAL_ERROR','clearTimeout','searchParams','_initUserListener','subUnitId','_monkeyPatchLogService','getActiveSheet','unitId','_localStorageService','REDEMPTION_USER_NOT_ELIGIBLE','_docTransformSelectionsService','_uploadLog','releaseFormulaLimitUrl','loadOfflineData','roomMembers$','\x20at\x20','add','_initStatusComponent','USER_IS_ANONYMOUS','pushState','DATA_SOURCE_TOO_LARGE','_taskIds','SNAPSHOT_HAS_BEEN_REMOVED','selections','has','parseInt','APPLY_NON_SEQUENTIAL_REVISION','ENTITLE_COUPON_USED_UP','_lastResponseTimestamp','onCommandExecuted','getUnit','syncEditingCollabCursor','NOT_COLLAB','_onCursorUpdate','startFormulaLimitUrl','SOCKET_FAILED_RETRY','_toggleOffline','popstate','formula.calculation.unable','complete','_onCursorDelete','row','getUnhiddenWorksheets','current','onLocalMutation','_checkAndWaitForCalculationPermission','onMouseMove','_docTransformStateCacheService','session.will-retry','YUUMI_NO_CUBOID_FOR_QUESTION','loadUnit','_messageService','endColumn','findNodePositionByCharIndex','ENTITLE_COUPON_EXPIRED','0\x200\x2016\x2016','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_labelPosition','_currentUsage','off-line-icon_clip0_910_343','cursorInfo','setUndoRedoMutationParamsCache','ENTITLE_INVALID_COUPON_CODE','actions','top','deepClone','currentSkeleton$','TOO_MANY_REQUESTS','_initCommandExecutedListener','subscribeEvent','[CollaborationDataLoaderController]','undoState','length','show','_entityInit$','width','YUUMI_CONNECTOR_URL_NOT_FOUND','InsertRowCommandId','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_backgroundColor','setConfig','_lastPointer','REDEMPTION_CODE_FULLY_REDEEMED','roomMembers','purple.300','_docSkeletonManagerService','addObjects','debug','m1Prime','unload','_configService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','dispose','170904nUMnxJ','_injector','REDEMPTION_CODE_HAS_BEEN_CREATED','getSheetBySheetId','set','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','AWAITING_WITH_PENDING','onPointerMove$','getOwnPropertyDescriptor','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','10CzxelO','runId','replaceState','_selfUnitIDs','size','symbol','M0\x200H16V16H0z','assign','selection','getRelativeToViewportCoord','getCellMatrix','_docSkeleton','onStarting','ticket','unshift','rgba(255,\x20255,\x20255,\x200.01)','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','docStateChange$','ACTIVE_UNIT_EVENT_CHANNEL','AWAITING','_getSessionTicket','univer-mr-2\x20univer-flex\x20univer-text-xl','_collaborationUIEventService'];_0x5788=function(){return _0x50d59d;};return _0x5788();}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 _0x1b8043=_0x4244;(function(_0x5ddb97,_0x43ee49){const _0x573c6d=_0x4244,_0x36fc15=_0x5ddb97();while(!![]){try{const _0x521ee6=-parseInt(_0x573c6d(0x2ec))/0x1+parseInt(_0x573c6d(0x272))/0x2+parseInt(_0x573c6d(0x166))/0x3*(parseInt(_0x573c6d(0x1a0))/0x4)+parseInt(_0x573c6d(0x170))/0x5+-parseInt(_0x573c6d(0x295))/0x6*(parseInt(_0x573c6d(0x1d1))/0x7)+-parseInt(_0x573c6d(0x14f))/0x8*(-parseInt(_0x573c6d(0x388))/0x9)+parseInt(_0x573c6d(0x35d))/0xa*(parseInt(_0x573c6d(0x315))/0xb);if(_0x521ee6===_0x43ee49)break;else _0x36fc15['push'](_0x36fc15['shift']());}catch(_0x151c27){_0x36fc15['push'](_0x36fc15['shift']());}}}(_0x12f4,0x90aed));var Ht=Object['defineProperty'],Wt=(_0x39e0c5,_0x5c07e3,_0x45f868)=>_0x5c07e3 in _0x39e0c5?Ht(_0x39e0c5,_0x5c07e3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x45f868}):_0x39e0c5[_0x5c07e3]=_0x45f868,_=(_0x37c6a0,_0x225d74,_0x11d740)=>Wt(_0x37c6a0,typeof _0x225d74!=_0x1b8043(0x294)?_0x225d74+'':_0x225d74,_0x11d740);import{jsx as _0x379b43,jsxs as _0xa75bc3}from'react/jsx-runtime';import{CollaborationStatus as _0x421064,CollaborationSessionService as _0x2a09d4,CollaborationController as _0x590cd2,DataLoaderService as _0x29705a,MemberService as _0x420877,SessionStatus as _0x6894b4,CollaborationUIEventService as _0x21e659,CollaborationUIEventId as _0x43adc3,ILocalCacheService as _0x32e03e,DocCollaborationEntity as _0x59949e,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x2befaa,getLocalCacheKey as _0x590245,LOCAL_CACHE_INTERVAL as _0x452c62,LOCAL_CACHE_INTERVAL_KEY as _0x4fb271,UniverCollaborationClientPlugin as _0x2aca9f,CollaborationSocketService as _0x2d358f,DEFAULT_WS_SESSION_TICKET_URL as _0x41aa21,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x5eff40,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x5634a5,UnitStatus as _0x139712}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x2aad17,Inject as _0x147344,Injector as _0x144e44,Disposable as _0x1d29ae,IUniverInstanceService as _0x391315,createIdentifier as _0xf15e5d,Optional as _0x227982,RxDisposable as _0x342316,Workbook as _0x40aab7,ILogService as _0x38f64b,ICommandService as _0x2b20f4,DOC_RANGE_TYPE as _0x56d157,debounce as _0x4ef707,Rectangle as _0x4f40bd,DisposableCollection as _0x58f59c,toDisposable as _0x148bbc,UniverInstanceType as _0x1ef95b,generateRandomId as _0x193eca,COLORS as _0x18678e,ColorKit as _0x4c3188,ThemeService as _0x537d1f,fromEventSubject as _0x1a51dc,Tools as _0x2be55f,CommandType as _0x1dfb22,CanceledError as _0x429ca6,isFormulaString as _0xb471c5,isFormulaId as _0x1cbd3c,IConfigService as _0x4bf411,ILocalStorageService as _0x56e330,DependentOn as _0xaacbc2,Plugin as _0x286406,merge as _0x474bbd,registerDependencies as _0x305d81,mergeOverrideWithDependencies as _0x19cc88,touchDependencies as _0x94bd91}from'@univerjs/core';import{useObservable as _0x28cdda,useDependency as _0x2b4129,BuiltInUIPart as _0x276d7d,connectInjector as _0x2aa637,IUIPartsService as _0x34c74c,IBeforeCloseService as _0x4767f1,IMessageService as _0x1f4c60,INotificationService as _0x3e3c26}from'@univerjs/ui';import{BehaviorSubject as _0x48c4f5,switchMap as _0x7157e4,of as _0x591d6d,takeUntil as _0x33134d,debounceTime as _0x41062c,Subject as _0x59c1ce,filter as _0x254407,merge as _0x4e8687,combineLatest as _0x3140eb,fromEvent as _0x51ac5e,shareReplay as _0x53ef37,mapTo as _0xaad03d,distinctUntilChanged as _0x4dfdd0}from'rxjs';import{Tooltip as _0x2ffbcc,clsx as _0x1c664e,MessageType as _0x7638a0}from'@univerjs/design';import{useRef as _0x14ba1e,createElement as _0x39c989,forwardRef as _0xef78f2,useCallback as _0x24fea5}from'react';import{IRemoteInstanceService as _0x910b5}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x1b84f4,RefRangeService as _0x331971,SetSelectionsOperation as _0x53f4b1,SheetsSelectionsService as _0x13fd95,EffectRefRangId as _0x4f50db,handleIRemoveRow as _0x4b2ea7,handleIRemoveCol as _0x1def58,handleMoveRange as _0x10a72f,handleInsertRow as _0x55b233,handleInsertRangeMoveRight as _0x42db85,handleInsertRangeMoveDown as _0x220169,handleInsertCol as _0x24348e,handleDeleteRangeMoveUp as _0xa5d409,handleDeleteRangeMoveLeft as _0x249fdd,runRefRangeMutations as _0x44cc0c}from'@univerjs/sheets';import{Shape as _0x5c123d,Rect as _0x20c099,getColor as _0x3c4ed4,RegularPolygon as _0x383028,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x26199b,Vector2 as _0x5595ec,SHEET_VIEWPORT_KEY as _0x1133d6,IRenderManagerService as _0x1467e6}from'@univerjs/engine-render';import{HTTPService as _0x343b07,ISocketService as _0x5aa6c1,WebSocketService as _0x3be447}from'@univerjs/network';import{IDocClipboardService as _0x5d30f5,NodePositionConvertToCursor as _0x571f34,NodePositionConvertToRectRange as _0x1a3a5b,TEXT_RANGE_LAYER_INDEX as _0x1d3c5a,SetDocZoomRatioOperation as _0x31c929,DocIMEInputManagerService as _0x38b2c3,DocStateChangeManagerService as _0x133313}from'@univerjs/docs-ui';import{IImageIoService as _0x1cd6b3}from'@univerjs/drawing';import{CollaborationEvent as _0x17d204,isTransformMutationFailure as _0x249201,ITransformService as _0x430b12,isTransformMutationsWithChangesetSuccess as _0x196d24,RevisionService as _0x4056a2,ISnapshotServerService as _0x19f494}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x4c33fc,RichTextEditingMutation as _0x460f91,DocSelectionManagerService as _0x1f2dad,DocSkeletonManagerService as _0x3f62ea}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x5b2449,serializeRangeWithSheet as _0x4e77f2,FormulaExecuteStageType as _0x4a05e2,FormulaExecutedStateType as _0x38af20,SetFormulaCalculationStartMutation as _0x574b56,SetFormulaCalculationNotificationMutation as _0x27dfe8}from'@univerjs/engine-formula';import{map as _0xacb62c,filter as _0xbeac84,throttleTime as _0x2266c4,takeUntil as _0x554ab8,switchMap as _0x1c76f2}from'rxjs/operators';import{SheetSkeletonManagerService as _0x4d4e1d,getCoordByCell as _0x5e9d2a,getSheetObject as _0x14213b}from'@univerjs/sheets-ui';function Ge({ref:_0x4b50e6,..._0xc5142b}){const _0x179ecc=_0x1b8043,{icon:_0x57471b,id:_0x37b938,className:_0x31ad31,extend:_0x46867c,..._0x5dc232}=_0xc5142b,_0x3bec17=(_0x179ecc(0x383)+_0x37b938+'\x20'+(_0x31ad31||''))['trim'](),_0x5d1340=_0x14ba1e('_'+Ei());return At(_0x57471b,''+_0x37b938,{'defIds':_0x57471b[_0x179ecc(0x206)],'idSuffix':_0x5d1340[_0x179ecc(0x139)]},{'ref':_0x4b50e6,'className':_0x3bec17,..._0x5dc232},_0x46867c);}function At(_0x38d62e,_0x294269,_0x265c87,_0x1facfc,_0x1d0b72){const _0x5d1c76=_0x1b8043;return _0x39c989(_0x38d62e[_0x5d1c76(0x160)],{'key':_0x294269,...gi(_0x38d62e,_0x265c87,_0x1d0b72),..._0x1facfc},(vi(_0x38d62e,_0x265c87)[_0x5d1c76(0x2c0)]||[])['map']((_0x52f84c,_0x48e6d1)=>At(_0x52f84c,_0x294269+'-'+_0x38d62e[_0x5d1c76(0x160)]+'-'+_0x48e6d1,_0x265c87,void 0x0,_0x1d0b72)));}function gi(_0x27d922,_0x2b0086,_0x4dbed5){const _0x1047a0=_0x1b8043,_0x3a0df9={..._0x27d922['attrs']};_0x4dbed5!=null&&_0x4dbed5['colorChannel1']&&_0x3a0df9[_0x1047a0(0x341)]===_0x1047a0(0x1f8)&&(_0x3a0df9[_0x1047a0(0x341)]=_0x4dbed5['colorChannel1']),_0x27d922[_0x1047a0(0x160)]==='mask'&&_0x3a0df9['id']&&(_0x3a0df9['id']=_0x3a0df9['id']+_0x2b0086['idSuffix']),Object[_0x1047a0(0x2b3)](_0x3a0df9)[_0x1047a0(0x213)](([_0x6e9e51,_0x26c48e])=>{const _0x2bc6ca=_0x1047a0;_0x6e9e51===_0x2bc6ca(0x22c)&&typeof _0x26c48e==_0x2bc6ca(0x203)&&(_0x3a0df9[_0x6e9e51]=_0x26c48e[_0x2bc6ca(0x2e3)](/url\(#(.*)\)/,_0x2bc6ca(0x216)+_0x2b0086[_0x2bc6ca(0x2bc)]+')'));});const {defIds:_0x48ac5b}=_0x2b0086;return!_0x48ac5b||_0x48ac5b[_0x1047a0(0x31d)]===0x0||(_0x27d922['tag']===_0x1047a0(0x289)&&_0x3a0df9[_0x1047a0(0x1fd)]&&(_0x3a0df9['xlink:href']=_0x3a0df9[_0x1047a0(0x1fd)]+_0x2b0086['idSuffix']),Object[_0x1047a0(0x2b3)](_0x3a0df9)[_0x1047a0(0x213)](([_0x49e747,_0x1b63d9])=>{const _0x4a5ebc=_0x1047a0;typeof _0x1b63d9==_0x4a5ebc(0x203)&&(_0x3a0df9[_0x49e747]=_0x1b63d9[_0x4a5ebc(0x2e3)](/url\(#(.*)\)/,_0x4a5ebc(0x216)+_0x2b0086['idSuffix']+')'));})),_0x3a0df9;}function vi(_0x10762f,_0x3a5e99){const _0x16a67e=_0x1b8043;var _0x2bb2d3;const {defIds:_0x2ba29c}=_0x3a5e99;return!_0x2ba29c||_0x2ba29c[_0x16a67e(0x31d)]===0x0?_0x10762f:_0x10762f[_0x16a67e(0x160)]===_0x16a67e(0x1d3)&&((_0x2bb2d3=_0x10762f[_0x16a67e(0x2c0)])!=null&&_0x2bb2d3[_0x16a67e(0x31d)])?{..._0x10762f,'children':_0x10762f[_0x16a67e(0x2c0)][_0x16a67e(0x221)](_0x52f9c2=>typeof _0x52f9c2[_0x16a67e(0x329)]['id']=='string'&&_0x2ba29c&&_0x2ba29c[_0x16a67e(0x339)](_0x52f9c2[_0x16a67e(0x329)]['id'])?{..._0x52f9c2,'attrs':{..._0x52f9c2['attrs'],'id':_0x52f9c2[_0x16a67e(0x329)]['id']+_0x3a5e99['idSuffix']}}:_0x52f9c2)}:_0x10762f;}function Ei(){const _0x197422=_0x1b8043;return Math['random']()['toString'](0x24)[_0x197422(0x14b)](0x2,0x8);}Ge[_0x1b8043(0x1e3)]=_0x1b8043(0x1e8);const Ti={'tag':_0x1b8043(0x164),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1b8043(0x209),'viewBox':_0x1b8043(0x1ab),'width':_0x1b8043(0x1a4),'height':_0x1b8043(0x1a4)},'children':[{'tag':'g','attrs':{'clipPath':_0x1b8043(0x2e5)},'children':[{'tag':_0x1b8043(0x22b),'attrs':{'stroke':_0x1b8043(0x2da),'d':_0x1b8043(0x1a3),'strokeLinecap':'round','strokeLinejoin':_0x1b8043(0x1e2),'strokeWidth':1.2}}]},{'tag':_0x1b8043(0x1d3),'attrs':{},'children':[{'tag':_0x1b8043(0x1df),'attrs':{'id':_0x1b8043(0x194)},'children':[{'tag':_0x1b8043(0x22b),'attrs':{'fill':_0x1b8043(0x165),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-icon_clip0_910_343']},Pt=_0xef78f2(function(_0x1ac7da,_0x4d9d89){const _0x1f073e=_0x1b8043;return _0x39c989(Ge,Object[_0x1f073e(0x347)]({},_0x1ac7da,{'id':_0x1f073e(0x1e5),'ref':_0x4d9d89,'icon':Ti}));});Pt[_0x1b8043(0x1e3)]=_0x1b8043(0x382);const pi={'tag':'svg','attrs':{'xmlns':_0x1b8043(0x1f2),'fill':'none','viewBox':_0x1b8043(0x330),'width':'1em','height':_0x1b8043(0x1a4)},'children':[{'tag':'g','attrs':{'clipPath':_0x1b8043(0x33c)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x1b8043(0x1e2),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x1b8043(0x1df),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x1b8043(0x165),'d':_0x1b8043(0x242),'transform':_0x1b8043(0x129)}}]}]}],'defIds':[_0x1b8043(0x195)]},wt=_0xef78f2(function(_0x3a2d17,_0x22097c){const _0x18e3b8=_0x1b8043;return _0x39c989(Ge,Object[_0x18e3b8(0x347)]({},_0x3a2d17,{'id':_0x18e3b8(0x1c2),'ref':_0x22097c,'icon':pi}));});function _0x12f4(){const _0x94624a=['collaboration-client-ui.config','syncEditingCollabCursor','updateOfflineData','set','runId','executeCommand','findNodePositionByCharIndex','YUUMI_ASYNCIO_CANCELLED','_collaborationSessionService','totalFormulasToCalculate','from','collab-text-anchor-','_saveCache','FETCH_MISS','collabStatus.notCollab','UNIVER_SHEET','use','ENTITLE_USE_COUPON_NOT_1ST_TRADE','YUUMI_AI_RUN_FAILED','_memberID','onStarting','_getSheetObject','LICENSE_EXPORT_SIZE_EXCEEDED','exhaustSavingTask','INVITE_CODE_HAS_BEEN_UES','save','YUUMI_TABLE_NOT_FOUND_IN_UNIT','symbol','5730ixPXuI','makeDirty','ALREADY_EXISTS','get','USER_IS_ANONYMOUS','removeParam','subscribe','_cursor','getUnit','_removeClearOtherTimer','drawWith','_initCommandInterceptor','_eventUnsubscribe','fillText','setAlpha','find','saveOfflineData','RECT','debug','setItem','getCellMatrix',',\x200.2)','history','ENTITLE_CHAT_LIMIT_EXCEED','offsetY','whenReady','YUUMI_ALL_TABLES_IS_INVALID','subUnitId','getTypeOfUnitAdded$','collab-text-range-','entries','width','getConfig','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_saveTaskMap','startsWith','_docSkeleton','YUUMI_NO_CUBOID_FOR_QUESTION','_docClipboardService','idSuffix','_currentUsage','getFocusedUnit','complete','children','div','ranges','loadUnit','_stopBlinking','_setupBeforeClosingHandler','now','_transformPreviousActiveRange','_online','fillRule','addHandlerCallback','height','getUnhiddenWorksheets','isActive','toRgbString','getCurrent','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_scene','color','_range','/run/','_initEvent','_syncEditingCollabCursorService','YUUMI_URL_COL_OUT_OF_RANGE','getMemberID','init','currentColor','PY_RUNTIME_SCRIPT_ERROR','CONNECTOR_DATA_TOO_LARGE','maxFormulaLimit','transformMutationsWithChangeset','closePath','INTERNAL_ERROR','actions','getCellPositionByOffset','replace','split','url(#off-line-icon_clip0_910_343)','uni.network.url-service','_docStateChangeManagerService','shift','with','row','_hovered','994817IdwPGm','endRow','OnLineIcon','getStateCache','_getSaveTimeout','/universer-api/license/formula/limit/start','_anchorDot','_startDocCollabCursor','ENSURE_SNAPSHOT_EXECUTION','TEXT','column','parse','getParam','getCurrentUnitForType','dirtyRanges','error','AUTHORIZE_CODE_ILLEGAL','WECHAT_HAS_BEEN_BOUND','dispose$','PENDING','getActiveSheet','_send','collab-rect-range-','getVpScrollXYInfoByPosToVp','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_selfUnitIDs','measureText','CHANGESET_REVISION_CONFILICT','hide','getSheetId','clearInterval','_logService','_releaseCalculationLimit','textRanges','eventID','FromArray','_startBlinking','selections','NOT_COLLAB','range','INVALID_ARGUMENT','652443zSCCpe','_roomMembers$','getOffsetConfig','onRendered','APPLY_PERMISSION_DENIED','_collaborationController','body','toString','length','_showText','bottom','/universer-api/frontend/logs','_notificationService','redoState','ENTITLE_COUPON_USED_UP','[RemoteUniscriptService]:\x20no\x20focused\x20unit','disposeUnit','contains','univer-mr-2\x20univer-flex\x20univer-text-xl','_getScale','attrs','max','USERS_LEAVE','onPointerMove$','_initStatusListener','_transformUndoRedoStack','_cursors','0\x200\x2017\x2016','_pollingInterval','_maxFormulaLimit','_monkeyPatchLogService','post','_transformService','urlChange$','pipe','_assignedColors','includes','strokeWidth','_docSkeletonManagerService','url(#on-line-icon_clip0_910_349)','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','[Unhandled\x20Rejection]:\x20','registerComponent','MOBILE_VERIFY_CODE_MISMATCH','fill','[CollaborationDataLoaderController]','_localCacheService','rgba','permission.title','cursorInfo$','assign','InsertRangeMoveDownCommandId','_lastPointer','_toggleOnline','SOCKET_FAILED_RETRY','searchParams','collaboration.offline-data-not-saved','min','_updateSubUnitFromURLParams','_cursorShapes','ENTITLE_COUPON_EXPIRED','newValue','code','YUUMI_RATE_OVER_LIMIT','_labelPosition','beforeCommandExecuted','Unknown\x20user','next','UNDEFINED','registerBeforeClose','transformIMECache','_colorIndex','150EwXbvt','APPLY_REJECT','LICENSE_IMPORT_SIZE_EXCEEDED','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','collab-client.tooltip.reconnect','DeleteRangeMoveUpCommandId','VIEW_MAIN','font','setInterval','wsSessionTicketUrl','_name','_offsetY','_onCursorDelete','_disabled','all','_localStorageService','_hover','doc.mutation.rich-text-editing','currentSkeleton$','_color','getAncestorScale','_uiPartsService','green.600','NO_OTHER_CLIENTS_EDITING','_blinkIntervalTimer','AWAITING_WITH_PENDING','_docTransformIMECacheService','m1Prime','_clearPolling','APPLY_NON_SEQUENTIAL_REVISION','pluginName','_init','arc','_shapes','_instanceService','_context','_cursorInfo$','OffLineIcon','univerjs-icon\x20univerjs-icon-','getMember','add','evenodd','unitID','140463klBnce','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','sheetId','PERMISSION_DENIED','translate(.97)','AWAITING','_session','OTHER_CLIENTS_EDITING','_collabCursorController','location','_memberService','collabStatus.synced','\x20at\x20','params','_beforeCloseService','undoState','name','Loading','unit','_drawRectRange','current','_checkAndWaitForCalculationPermission','_highlightSecond','session.connection-failed','_univerInstanceService','focused$','_handleEvent','lineTo','_showGuardMessage','_transformHistoryAndStateStack','_getLighterColor','_registerRenderDependencies','LICENSE_MAX_UNITS_EXCEEDED','highlightSecond','filename','delete','selection','unitId','substring','loadOfflineData','functionsExecutedState','has','104jgnSCF','_initUnhandledRejectionListener','EMAIL_VERIFY_CODE_MISMATCH','clearTimeout','APPLY_DUPLICATED','deepClone','HEADER_MENU','top','registerRenderModule','_uploadLog','_clearOtherTimers','getUnitStatus$','collaboration.closeRoom','_handleJoinEvent','formula.calculation.unable','_docTransformStateCacheService','univer-flex\x20univer-items-center','tag','_scheduleClearOtherTimer','_setFormulaLimitStatus','getColorFromTheme','svg','white','1077bOhaFF','_imageIoService','_removeCollabCursors','SNAPSHOT_INVALID_SNAPSHOT','YUUMI_UNABLE_LOAD_URL','status$','entityInit$','_isBlinkVisible','getRangePointData','size','4462600tsxiNM','application/json','engine','_createSocketURL','unshift','slice','show','limitInfo','USER_NOT_FOUND','setShapeProps','getValue','INVALID_INVITE_CODE','/universer-api/license/formula/limit/status','m2Prime','addObject','YUUMI_CONNECTOR_URL_NOT_FOUND','getSheetBySheetId','pushState','_handleLeaveEvent','_initCommandExecutedListener','_config','showText','_render','_scheduleSaving','getOwnPropertyDescriptor','getCollabEntity$','createSocket','ENTITLE_DUP_SUBSCRIPTION','MUTATION','_doCreateSocket','_blinkTimer','roomMembers','beginPath','replaceState','saveTaskMap','REDEMPTION_CODE_NOT_STARTED','off-line-icon_clip0_910_343','on-line-icon_clip0_910_349','_collabCursorState$','MOBILE_HAS_BEEN_BOUND','SUBMIT_CHANGESET_TIMEOUT','_updateLocalCursor','key','_injector','_updateCollabCursors','_initEntityListener','REDEMPTION_CODE_HAS_BEEN_CREATED','_entities','4376NyLUfg','startColumn','_sheetSkeletonManagerService','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','1em','registerRefRange','resize','_entityInit$','LOGIN_TOKEN_PROCESSING_FAILED','purple.300','UNAUTHENTICATED','0\x200\x2016\x2016','collabStatus.conflict','docStateChange$','dispose','getSkeleton','collabStatus.syncing','reconnect','_themeService','replaceDocRanges','addEventListener','CURRENT_STATUS_CANNOT_OPERATE','setParam','getMergeData','SNAPSHOT_HAS_BEEN_REMOVED','_highlight','UNRECOGNIZED','sessionStatus$','stringify','rgb','_ensureSubject','TOO_MANY_REQUESTS','RemoveRowCommandId','_hasFormulaInDirtyRanges','on-line-icon','mutations','black','onMouseMove','_status$','onCommandExecuted','getDocRanges','_checkCalculationAvailable','_initResize','PAYMENT_CHANNEL_NOT_SUPPORT','href','enableLocalCache','REDEMPTION_CODE_FULLY_REDEEMED','_draw','text','8435lYmqYG','_refRangeService','defs','sheetID','_revisionService','getUndoRedoMutationParamsCache','DeleteRangeMoveLeftCommandId','LICENSE_DISTRO_REJECTED','transformStateCache','_id','releaseFormulaLimitUrl','InsertRowCommandId','startFormulaLimitUrl','_urlService','clipPath','_startSheetCollabCursor','#FFF','round','displayName','rgba(255,\x20255,\x20255,\x200.01)','off-line-icon','_onCursorUpdate','_taskIds','UniverIcon','event$','join','parseInt','_registerDependencies','_unitStatus','INVITE_CODE_REQUIRED','isArray','_heartbeatTimer','_getMergeRange','http://www.w3.org/2000/svg','asObservable','collabStatus.fetchMiss','getCurrentRevOfUnit','unload','some','colorChannel1','_initDependencies','collaboration.single-unit.warning','then','UNIVER_DOC','xlink:href','CLOSE_ROOM','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_httpService','_textBubble','currentTheme$','string','editingUnit','transformRemoteChangeset','defIds','invokeId','_updateURLWithCurrentState','none','INVITE_CODE_ALREADY_BOUND','stageInfo','transformMutation','Warning','origin','_lastResponseTimestamp','NOT_FOUND','labelPosition','startRow','forEach','socket$','_docTransformSelectionsService','url(#$1','isEditing','_collaborationUIEventService','restore','_handleHeartbeatEvent','ONLINE','disableLocalCache','roomMembers$','type','onPointerEnter$','cursorInfo','map','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','source','assignAColorForMemberID','_anchor','UPDATE_CURSOR','_drawTextRange','getTypeOfUnitDisposed$','blue.400','REDEMPTION_USER_NOT_ELIGIBLE','path','mask','_getFormulaLimitStatus','_refreshCollabCursors','YUUMI_SUBSCRIPTION_NOT_FOUND','getRenderById','data','fillStyle','_colorAssignService','_initStatusComponent','unhandledrejection','hovered','_commandService','_backgroundColor','getCollabCursors$','_toggleOffline','executionId','permission.content','SUCCESS','OFFLINE','subunit','_docSyncEditingCollabCursorService','removeEventListener','M0\x200H16V16H0z','_messageService','collabStatus.offline','requireSession','ENTITLE_INVALID_COUPON_CODE','backgroundColor','result','_initWindowErrorListener','setTimeout','transformByState','EMAIL_HAS_BEEN_BOUND','createInstance','getCurrentSelections','Error','highlight','push','_document','memberID','_collabSessionService','_getSessionTicket','_renderManagerService','ENTITLE_NEED_BILLING_ADDRESS','_localeService','_hideTimer','COMPLETION_FINISHED','values','_cachedData','unsubscribe','_scheduleHeartbeat','CONFLICT','ERROR_AGAIN','_unitOnClients','onPointerLeave$','disposeWithMe','ticket','session.collaboration-timeout','saveImage','getUniverSheetInstance','...','stack','USER_NOT_INVITED_CODE','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','InsertRangeMoveRightCommandId','getUnitId','_handleHover','addClipboardHook','defineProperty','_drawAnchor','720722WmXPdy','subscribeEvent','DATA_SOURCE_TOO_LARGE','_onRefRangeChange','_configService','transformSelections','collabCursorState$'];_0x12f4=function(){return _0x94624a;};return _0x12f4();}wt[_0x1b8043(0x1e3)]=_0x1b8043(0x2ee);function Oi(_0x101222){const _0x4177be=_0x1b8043;switch(_0x101222){case _0x421064['OFFLINE']:return _0x4177be(0x244);case _0x421064[_0x4177be(0x25f)]:return _0x4177be(0x1ac);case _0x421064[_0x4177be(0x286)]:return _0x4177be(0x1f4);case _0x421064[_0x4177be(0x312)]:return _0x4177be(0x287);case _0x421064[_0x4177be(0x12a)]:case _0x421064[_0x4177be(0x376)]:return _0x4177be(0x1b0);case _0x421064['SYNCED']:case _0x421064[_0x4177be(0x2ff)]:return _0x4177be(0x130);}}function Ci(_0x502a3b){const _0x2f3355=_0x1b8043,{status$:_0x428c6a}=_0x502a3b,_0x41f200=_0x28cdda(_0x428c6a,_0x421064[_0x2f3355(0x312)]),_0x3d4e4f=_0x2b4129(_0x2aad17),_0xe356d5=_0x2b4129(_0x2a09d4),_0x5c639a=_0x41f200!==_0x421064[_0x2f3355(0x23e)],_0x2973f4=_0x3d4e4f['t'](Oi(_0x41f200)),_0x48cca1=_0x5c639a?_0x379b43(wt,{}):_0x379b43(Pt,{}),_0x13fd09=_0x24fea5(()=>{const _0x5cdb31=_0x2f3355;_0x5c639a||_0xe356d5[_0x5cdb31(0x1b1)]();},[_0x5c639a,_0xe356d5]);function _0xc52438(){const _0xd6173e=_0x2f3355;return _0xa75bc3(_0xd6173e(0x2c1),{'className':_0xd6173e(0x15f),'onClick':_0x13fd09,'children':[_0x379b43(_0xd6173e(0x2c1),{'className':_0x1c664e(_0xd6173e(0x327),{'univer-text-green-500':_0x5c639a,'univer-text-red-500':!_0x5c639a}),'children':_0x48cca1}),_0x379b43(_0xd6173e(0x2c1),{'className':_0xd6173e(0x33d),'children':_0x2973f4})]});}return _0x5c639a?_0xc52438():_0x379b43(_0x2ffbcc,{'title':_0x3d4e4f['t'](_0x2f3355(0x361)),'children':_0xc52438()});}var Ri=Object['getOwnPropertyDescriptor'],bi=(_0x7b8eb7,_0x7ec75b,_0x22e49a,_0x462624)=>{for(var _0x1a6071=_0x462624>0x1?void 0x0:_0x462624?Ri(_0x7ec75b,_0x22e49a):_0x7ec75b,_0x3d9924=_0x7b8eb7['length']-0x1,_0x5f095a;_0x3d9924>=0x0;_0x3d9924--)(_0x5f095a=_0x7b8eb7[_0x3d9924])&&(_0x1a6071=_0x5f095a(_0x1a6071)||_0x1a6071);return _0x1a6071;},se=(_0x3afe1d,_0x29b085)=>(_0x5a3bca,_0xc5b138)=>_0x29b085(_0x5a3bca,_0xc5b138,_0x3afe1d);let ae=class extends _0x1d29ae{constructor(_0x571173,_0xbcaa3d,_0x5c9abf,_0x2d2449){const _0x16cb78=_0x1b8043;super(),_(this,_0x16cb78(0x1c6),new _0x48c4f5(_0x421064['NOT_COLLAB'])),(this[_0x16cb78(0x13d)]=_0x571173,this[_0x16cb78(0x19b)]=_0xbcaa3d,this[_0x16cb78(0x31a)]=_0x5c9abf,this[_0x16cb78(0x372)]=_0x2d2449,this[_0x16cb78(0x234)](),this[_0x16cb78(0x32d)]());}[_0x1b8043(0x32d)](){const _0x5cda33=_0x1b8043;this[_0x5cda33(0x263)](this[_0x5cda33(0x13d)][_0x5cda33(0x13e)]['pipe'](_0x7157e4(()=>{const _0x5c75eb=_0x5cda33,_0x3d6e46=this[_0x5c75eb(0x13d)][_0x5c75eb(0x2be)]();return _0x3d6e46?this[_0x5c75eb(0x31a)][_0x5c75eb(0x189)](_0x3d6e46[_0x5c75eb(0x26d)]()):_0x591d6d(null);}),_0x7157e4(_0x1f38bb=>_0x1f38bb?_0x1f38bb[_0x5cda33(0x16b)]:_0x591d6d(_0x421064[_0x5cda33(0x312)])))[_0x5cda33(0x29b)](_0x203eaa=>{const _0x420b48=_0x5cda33;this[_0x420b48(0x1c6)][_0x420b48(0x358)](_0x203eaa);}));}[_0x1b8043(0x234)](){const _0x12bb97=_0x1b8043;this[_0x12bb97(0x263)](this[_0x12bb97(0x372)][_0x12bb97(0x33f)](_0x276d7d[_0x12bb97(0x155)],()=>_0x2aa637(Di({'status$':this[_0x12bb97(0x1c6)]['asObservable']()}),this[_0x12bb97(0x19b)])));}};ae=bi([se(0x0,_0x391315),se(0x1,_0x147344(_0x144e44)),se(0x2,_0x147344(_0x590cd2)),se(0x3,_0x34c74c)],ae);function Di(_0x388166){const {status$:_0x479956}=_0x388166;return function(){return _0x379b43(Ci,{'status$':_0x479956});};}const yt=_0xf15e5d(_0x1b8043(0x2e6));var Ni=Object[_0x1b8043(0x188)],Li=(_0x294584,_0x5ec52e,_0x53ad49,_0x4e9dc6)=>{for(var _0x1db348=_0x4e9dc6>0x1?void 0x0:_0x4e9dc6?Ni(_0x5ec52e,_0x53ad49):_0x5ec52e,_0xe336cd=_0x294584['length']-0x1,_0x4b2168;_0xe336cd>=0x0;_0xe336cd--)(_0x4b2168=_0x294584[_0xe336cd])&&(_0x1db348=_0x4b2168(_0x1db348)||_0x1db348);return _0x1db348;},K=(_0x19b7cd,_0x42fe68)=>(_0x363a4b,_0x1f0393)=>_0x42fe68(_0x363a4b,_0x1f0393,_0x19b7cd);let ce=class extends _0x342316{constructor(_0x5971dc,_0x52396b,_0xa8aee6,_0x45d470,_0x3ca111){const _0x4037e5=_0x1b8043;super(),this[_0x4037e5(0x1de)]=_0x5971dc,this[_0x4037e5(0x30b)]=_0x52396b,this[_0x4037e5(0x237)]=_0xa8aee6,this['_dataLoaderService']=_0x45d470,_0x3ca111?_0x3ca111==null||_0x3ca111[_0x4037e5(0x2ae)]()['then'](()=>this[_0x4037e5(0x37c)]()):(this['_logService']['debug']('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x4037e5(0x37c)]());}async[_0x1b8043(0x37c)](){const _0x1b5e4c=_0x1b8043,_0x297b0b=this[_0x1b5e4c(0x1de)][_0x1b5e4c(0x2f8)](_0x1b5e4c(0x137)),_0x350d3b=this['_urlService'][_0x1b5e4c(0x2f8)]('type'),_0x150ece=this[_0x1b5e4c(0x1de)]['getParam'](_0x1b5e4c(0x23f));if(!_0x297b0b||!_0x350d3b){this['_logService'][_0x1b5e4c(0x2a7)](_0x1b5e4c(0x342),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x43fde7=await this['_dataLoaderService'][_0x1b5e4c(0x2c3)](_0x297b0b,Number(_0x350d3b),_0x150ece);_0x43fde7&&_0x43fde7 instanceof _0x40aab7&&this['_setupSubUnitSync'](_0x43fde7);}async['_setupSubUnitSync'](_0x5b1b7a){const _0x37212e=_0x1b8043;await this['_updateSubUnitFromURLParams'](_0x5b1b7a),_0x5b1b7a['activeSheet$'][_0x37212e(0x337)](_0x33134d(this['dispose$']))[_0x37212e(0x29b)](_0x1f6406=>{const _0x2cc3a6=_0x37212e;_0x1f6406&&this[_0x2cc3a6(0x208)](_0x1f6406);}),this['_urlService'][_0x37212e(0x336)][_0x37212e(0x337)](_0x33134d(this[_0x37212e(0x2fe)]))['subscribe'](()=>this[_0x37212e(0x34f)](_0x5b1b7a));}[_0x1b8043(0x208)](_0x27abb0,_0x40b999=!0x1){const _0x1ae49a=_0x1b8043,_0x517c98=this[_0x1ae49a(0x1de)]['getParam'](_0x1ae49a(0x23f));_0x27abb0['getSheetId']()!==_0x517c98&&this[_0x1ae49a(0x1de)][_0x1ae49a(0x1b6)](_0x1ae49a(0x23f),_0x27abb0[_0x1ae49a(0x309)](),_0x40b999);}async[_0x1b8043(0x34f)](_0x4eb09f){const _0x411e88=_0x1b8043;var _0x5acbdd;const _0x512f57=this[_0x411e88(0x1de)][_0x411e88(0x2f8)](_0x411e88(0x23f));if(!_0x512f57||!_0x4eb09f[_0x411e88(0x180)](_0x512f57)){const _0x130269=_0x4eb09f[_0x411e88(0x2cc)]()[0x0],_0x536ae7=_0x4eb09f['getSheetBySheetId'](_0x130269);if(!_0x536ae7)return;this[_0x411e88(0x208)](_0x536ae7,!0x0),await this['_commandService'][_0x411e88(0x27e)](_0x1b84f4['id'],{'unitId':_0x4eb09f[_0x411e88(0x26d)](),'subUnitId':_0x130269});return;}((_0x5acbdd=_0x4eb09f[_0x411e88(0x300)]())==null?void 0x0:_0x5acbdd['getSheetId']())!==_0x512f57&&await this[_0x411e88(0x237)][_0x411e88(0x27e)](_0x1b84f4['id'],{'unitId':_0x4eb09f['getUnitId'](),'subUnitId':_0x512f57});}};ce=Li([K(0x0,yt),K(0x1,_0x38f64b),K(0x2,_0x2b20f4),K(0x3,_0x147344(_0x29705a)),K(0x4,_0x227982(_0x910b5))],ce);var Ui=Object[_0x1b8043(0x188)],Mi=(_0x31f3f5,_0x77109c,_0x137cbd,_0x4856dd)=>{const _0x256bc0=_0x1b8043;for(var _0xa3d837=_0x4856dd>0x1?void 0x0:_0x4856dd?Ui(_0x77109c,_0x137cbd):_0x77109c,_0xfc8e4f=_0x31f3f5[_0x256bc0(0x31d)]-0x1,_0x391ed2;_0xfc8e4f>=0x0;_0xfc8e4f--)(_0x391ed2=_0x31f3f5[_0xfc8e4f])&&(_0xa3d837=_0x391ed2(_0xa3d837)||_0xa3d837);return _0xa3d837;},rt=(_0x5721bf,_0xe0bb24)=>(_0x36fdf4,_0x3ce65d)=>_0xe0bb24(_0x36fdf4,_0x3ce65d,_0x5721bf);let $e=class extends _0x342316{constructor(_0x25b400,_0x2b80d8){const _0x15bd03=_0x1b8043;super(),this[_0x15bd03(0x2bb)]=_0x25b400,this[_0x15bd03(0x167)]=_0x2b80d8,this['_init']();}[_0x1b8043(0x37c)](){const _0x3831fa=_0x1b8043,_0x243ff8=this;this[_0x3831fa(0x263)](this['_docClipboardService'][_0x3831fa(0x26f)]({'onBeforePasteImage':async _0x475415=>{const _0x44ce5b=_0x3831fa,_0x37c2f6=await _0x243ff8[_0x44ce5b(0x167)][_0x44ce5b(0x266)](_0x475415);return _0x37c2f6?{'source':_0x37c2f6[_0x44ce5b(0x223)],'imageSourceType':_0x37c2f6['imageSourceType']}:null;}}));}};$e=Mi([rt(0x0,_0x5d30f5),rt(0x1,_0x1cd6b3)],$e);const ot=[_0x1b8043(0x1a9),'jiqing.500',_0x1b8043(0x373),'red.300',_0x1b8043(0x229),'yellow.400'];class Ke extends _0x1d29ae{constructor(){const _0x3f95a7=_0x1b8043;super(...arguments),_(this,_0x3f95a7(0x338),new Map()),_(this,'_colorIndex',0x0);}[_0x1b8043(0x224)](_0x10aa1a){const _0x30cc82=_0x1b8043;if(this[_0x30cc82(0x338)][_0x30cc82(0x14e)](_0x10aa1a))return this['_assignedColors'][_0x30cc82(0x298)](_0x10aa1a);const _0x342035=ot[this[_0x30cc82(0x35c)]];return this[_0x30cc82(0x35c)]=(this[_0x30cc82(0x35c)]+0x1)%ot[_0x30cc82(0x31d)],this['_assignedColors'][_0x30cc82(0x27c)](_0x10aa1a,_0x342035),_0x342035;}}function $t(_0x4c1c34){const _0x305b00=_0x1b8043;let _0x335e7d='';for(const _0x56e1b6 of _0x4c1c34){const {startOffset:_0x267c22,endOffset:_0x437c12,isActive:_0x59ece7,rangeType:_0x3c5264,segmentId:_0xf41ffb,segmentPage:_0x4eace5}=_0x56e1b6;_0x335e7d[_0x305b00(0x31d)]&&(_0x335e7d+=','),_0x335e7d+=_0x267c22+':'+_0x437c12+':'+(_0x59ece7?'1':'0')+':'+_0x3c5264+':'+_0xf41ffb+':'+_0x4eace5;}return _0x335e7d;}function Ai(_0x221e87){const _0x595481=_0x1b8043,_0x1e1767=_0x221e87[_0x595481(0x2e4)](','),_0x3cfe37=[];for(const _0x5ecd9e of _0x1e1767){const [_0x3c1ec5,_0x1ad3a4,_0x571958,_0x9ea773,_0x2da5f8,_0x2889e3]=_0x5ecd9e[_0x595481(0x2e4)](':');_0x3cfe37[_0x595481(0x251)]({'startOffset':Number(_0x3c1ec5),'endOffset':Number(_0x1ad3a4),'collapsed':_0x3c1ec5===_0x1ad3a4,'isActive':_0x571958==='1','rangeType':_0x9ea773===_0x56d157[_0x595481(0x2f5)]?_0x56d157[_0x595481(0x2f5)]:_0x56d157['RECT'],'segmentId':typeof _0x2da5f8==_0x595481(0x203)?String(_0x2da5f8):'','segmentPage':Number(_0x2889e3!=null?_0x2889e3:-0x1)});}return _0x3cfe37[_0x595481(0x1f7)](_0x217607=>_0x217607[_0x595481(0x2cd)])||(_0x3cfe37[0x0][_0x595481(0x2cd)]=!0x0),_0x3cfe37;}class ze extends _0x342316{constructor(){const _0x1f7621=_0x1b8043;super(...arguments),_(this,'_collabCursorState$',new _0x48c4f5(null)),_(this,_0x1f7621(0x278),this[_0x1f7621(0x196)]['asObservable']());}[_0x1b8043(0x27a)](_0x4b6afa){const _0x2826fd=_0x1b8043,{unitID:_0x536344,memberID:_0x21c8f5,textRanges:_0x3396e5}=_0x4b6afa,_0x91086f=$t(_0x3396e5);if(_0x91086f==='')return;const _0x20be30={'unitID':_0x536344,'memberID':_0x21c8f5,'selection':_0x91086f};this[_0x2826fd(0x196)][_0x2826fd(0x358)](_0x20be30);}}var Pi=Object[_0x1b8043(0x188)],wi=(_0x5ca265,_0x5beecb,_0x25eb44,_0x30c384)=>{const _0x3a7c62=_0x1b8043;for(var _0x394acc=_0x30c384>0x1?void 0x0:_0x30c384?Pi(_0x5beecb,_0x25eb44):_0x5beecb,_0x49fa03=_0x5ca265[_0x3a7c62(0x31d)]-0x1,_0x5d5326;_0x49fa03>=0x0;_0x49fa03--)(_0x5d5326=_0x5ca265[_0x49fa03])&&(_0x394acc=_0x5d5326(_0x394acc)||_0x394acc);return _0x394acc;},A=(_0x2fe905,_0x289e3e)=>(_0x144329,_0x2d4b7f)=>_0x289e3e(_0x144329,_0x2d4b7f,_0x2fe905);const yi=0x12c,$i=0x64;let xe=class extends _0x342316{constructor(_0x525e99,_0x553a92,_0xafd191,_0x199a9f,_0x4bb38b,_0x438428,_0x1743fe,_0x1a61f0,_0x1a1e62){const _0x61583f=_0x1b8043;super(),_(this,_0x61583f(0x2c8),!0x1),_(this,_0x61583f(0x37c),!0x1),_(this,_0x61583f(0x381),new _0x48c4f5(new Map())),_(this,_0x61583f(0x346),this[_0x61583f(0x381)][_0x61583f(0x1f3)]()),_(this,_0x61583f(0x316),new _0x48c4f5([])),_(this,_0x61583f(0x21d),this[_0x61583f(0x316)]['pipe'](_0x41062c(yi))),_(this,_0x61583f(0x199),_0x4ef707(_0x4047fe=>{const _0x1f7f57=_0x61583f,_0x160cd4={'eventID':_0x17d204[_0x1f7f57(0x226)],'data':{'unitID':this[_0x1f7f57(0x387)],'memberID':this[_0x1f7f57(0x12b)][_0x1f7f57(0x2d8)](),'selection':$t(_0x4047fe)}};this[_0x1f7f57(0x12b)]['send'](_0x160cd4,this[_0x1f7f57(0x387)]);},$i)),(this['unitID']=_0x525e99,this[_0x61583f(0x12b)]=_0x553a92,this[_0x61583f(0x19b)]=_0xafd191,this[_0x61583f(0x233)]=_0x199a9f,this[_0x61583f(0x12f)]=_0x4bb38b,this[_0x61583f(0x2d6)]=_0x438428,this['_transformService']=_0x1743fe,this[_0x61583f(0x13d)]=_0x1a61f0,this[_0x61583f(0x237)]=_0x1a1e62);}get[_0x1b8043(0x220)](){const _0x15c321=_0x1b8043;return this[_0x15c321(0x381)][_0x15c321(0x17a)]();}get['roomMembers'](){const _0x552294=_0x1b8043;return this[_0x552294(0x316)]['getValue']();}[_0x1b8043(0x1ae)](){const _0x4c0ed7=_0x1b8043;super['dispose'](),this[_0x4c0ed7(0x381)]['next'](new Map()),this['_cursorInfo$'][_0x4c0ed7(0x2bf)](),this[_0x4c0ed7(0x316)][_0x4c0ed7(0x358)]([]),this[_0x4c0ed7(0x316)]['complete']();}['init'](){const _0x10e11c=_0x1b8043;this[_0x10e11c(0x37c)]||(this[_0x10e11c(0x37c)]=!0x0,this[_0x10e11c(0x12b)][_0x10e11c(0x1bb)]['pipe'](_0x33134d(this[_0x10e11c(0x2fe)]))[_0x10e11c(0x29b)](_0x4e32a6=>{const _0xf50506=_0x10e11c;_0x4e32a6===_0x6894b4[_0xf50506(0x21b)]?this[_0xf50506(0x34a)]():this[_0xf50506(0x23a)]();}),this[_0x10e11c(0x12b)][_0x10e11c(0x1e9)]['pipe'](_0x33134d(this[_0x10e11c(0x2fe)]))[_0x10e11c(0x29b)](_0x2b9e41=>{const _0x406e92=_0x10e11c,_0x231490=_0x2b9e41[_0x406e92(0x30e)];_0x231490===_0x17d204[_0x406e92(0x226)]&&this['_onCursorUpdate'](_0x2b9e41),_0x231490===_0x17d204[_0x406e92(0x32b)]&&this[_0x406e92(0x369)](_0x2b9e41);}),this[_0x10e11c(0x263)](this[_0x10e11c(0x237)][_0x10e11c(0x1c7)](_0x184cbc=>{const _0x1274af=_0x10e11c,_0x3d4c2f=_0x184cbc[_0x1274af(0x132)];_0x3d4c2f!=null&&this['_online']&&_0x184cbc['id']===_0x4c33fc['id']&&_0x3d4c2f[_0x1274af(0x14a)]===this[_0x1274af(0x387)]&&_0x3d4c2f[_0x1274af(0x217)]===!0x1&&_0x3d4c2f[_0x1274af(0x2c2)][_0x1274af(0x31d)]>0x0&&this[_0x1274af(0x199)](_0x3d4c2f['ranges']);})),this[_0x10e11c(0x2d6)][_0x10e11c(0x278)][_0x10e11c(0x337)](_0x33134d(this[_0x10e11c(0x2fe)]))[_0x10e11c(0x29b)](_0x8f282f=>{const _0x263069=_0x10e11c;if((_0x8f282f==null?void 0x0:_0x8f282f[_0x263069(0x387)])!==this[_0x263069(0x387)])return;const _0x213901={'eventID':_0x17d204['UPDATE_CURSOR'],'data':_0x8f282f};this[_0x263069(0x1e6)](_0x213901);}),this[_0x10e11c(0x263)](this[_0x10e11c(0x237)][_0x10e11c(0x1c7)](_0x2c7c66=>{const _0x5c7e41=_0x10e11c;if(_0x2c7c66[_0x5c7e41(0x132)]==null)return;const _0x56e5c7=_0x2c7c66[_0x5c7e41(0x132)];if(_0x2c7c66['id']!==_0x460f91['id']||_0x56e5c7[_0x5c7e41(0x14a)]!==this[_0x5c7e41(0x387)])return;const _0x2a73ba={'id':_0x5c7e41(0x36e),'params':_0x56e5c7},_0x17a253=this[_0x5c7e41(0x220)];for(const [_0x5d2c6c,_0x5c493e]of _0x17a253){const _0xa03316={'id':_0x5c7e41(0x36e),'params':{'unitId':this[_0x5c7e41(0x387)],'actions':null,'textRanges':_0x5c493e['ranges']}},_0xc600dd=this[_0x5c7e41(0x335)][_0x5c7e41(0x20c)](_0x2a73ba,_0xa03316,!0x1);if(_0x249201(_0xc600dd))throw _0xc600dd[_0x5c7e41(0x2fb)];_0x17a253['set'](_0x5d2c6c,{..._0x5c493e,'ranges':_0xc600dd['m2Prime'][_0x5c7e41(0x132)][_0x5c7e41(0x30d)]});}queueMicrotask(()=>{const _0x4c507d=_0x5c7e41;this[_0x4c507d(0x381)][_0x4c507d(0x358)](_0x17a253);});})));}[_0x1b8043(0x1e6)](_0x46720e){const _0x307e3c=_0x1b8043;var _0x1f96b2,_0x1ff93b;const {memberID:_0x194def,selection:_0x5e41fd}=_0x46720e['data'],_0x2c91a5=Ai(_0x5e41fd),_0x310492=(_0x1ff93b=(_0x1f96b2=this[_0x307e3c(0x12f)][_0x307e3c(0x384)](this[_0x307e3c(0x387)],_0x194def))==null?void 0x0:_0x1f96b2[_0x307e3c(0x135)])!=null?_0x1ff93b:_0x307e3c(0x357),_0x457266={'color':this[_0x307e3c(0x233)]['assignAColorForMemberID'](_0x194def),'name':_0x310492,'ranges':_0x2c91a5},_0x3f98f8=this['cursorInfo'];_0x3f98f8['set'](_0x194def,_0x457266),this[_0x307e3c(0x381)]['next'](_0x3f98f8);}[_0x1b8043(0x369)](_0x5f0f99){const _0x34840c=_0x1b8043,{memberID:_0x289b92}=_0x5f0f99[_0x34840c(0x231)],_0x2d6c08=this['cursorInfo'];_0x2d6c08[_0x34840c(0x148)](_0x289b92),this[_0x34840c(0x381)][_0x34840c(0x358)](_0x2d6c08);}[_0x1b8043(0x34a)](){const _0x329846=_0x1b8043;var _0x52be01;if(this[_0x329846(0x2c8)]=!0x0,((_0x52be01=this[_0x329846(0x13d)]['getFocusedUnit']())==null?void 0x0:_0x52be01[_0x329846(0x26d)]())!==this[_0x329846(0x387)])return;const _0x58e6c1=this[_0x329846(0x19b)][_0x329846(0x298)](_0x1f2dad)[_0x329846(0x1c8)]();Array['isArray'](_0x58e6c1)&&_0x58e6c1[_0x329846(0x31d)]>0x0&&this['_updateLocalCursor'](_0x58e6c1);}[_0x1b8043(0x23a)](){this['_online']=!0x1;}};xe=wi([A(0x2,_0x147344(_0x144e44)),A(0x3,_0x147344(Ke)),A(0x4,_0x147344(_0x420877)),A(0x5,_0x147344(ze)),A(0x6,_0x430b12),A(0x7,_0x391315),A(0x8,_0x2b20f4)],xe);var xi=Object[_0x1b8043(0x188)],Bi=(_0x4a8778,_0x258606,_0x539a71,_0x17771f)=>{const _0x3ad8c1=_0x1b8043;for(var _0x234d92=_0x17771f>0x1?void 0x0:_0x17771f?xi(_0x258606,_0x539a71):_0x258606,_0x18ad6e=_0x4a8778[_0x3ad8c1(0x31d)]-0x1,_0x2ff35d;_0x18ad6e>=0x0;_0x18ad6e--)(_0x2ff35d=_0x4a8778[_0x18ad6e])&&(_0x234d92=_0x2ff35d(_0x234d92)||_0x234d92);return _0x234d92;},B=(_0x2f3e99,_0x518ef3)=>(_0x455d5e,_0x459f59)=>_0x518ef3(_0x455d5e,_0x459f59,_0x2f3e99);const ki=0x12c,Fi=0x64,Yi=()=>{let _0x8116d1=[],_0x1be741=!0x1;return _0x411b57=>{const _0x4d41df=_0x4244;_0x8116d1[_0x4d41df(0x251)](_0x411b57),_0x1be741||(_0x1be741=!0x0,setTimeout(()=>{const _0x5a231=_0x4d41df;_0x8116d1[_0x5a231(0x213)](_0x218367=>_0x218367()),_0x8116d1=[],_0x1be741=!0x1;}));};};let Be=class extends _0x342316{constructor(_0x51c916,_0x38af44,_0x211f8d,_0x55a2b1,_0x49fe37,_0x300d19,_0x5bf9bd,_0x2144ac){const _0x1497e4=_0x1b8043;super(),_(this,_0x1497e4(0x2c8),!0x1),_(this,_0x1497e4(0x37c),!0x1),_(this,_0x1497e4(0x381),new _0x48c4f5(new Map())),_(this,_0x1497e4(0x346),this[_0x1497e4(0x381)][_0x1497e4(0x1f3)]()),_(this,_0x1497e4(0x316),new _0x48c4f5([])),_(this,_0x1497e4(0x21d),this[_0x1497e4(0x316)][_0x1497e4(0x337)](_0x41062c(ki))),_(this,_0x1497e4(0x199),_0x4ef707((_0x1fbea3,_0x17bd59)=>{const _0x2dd52f=_0x1497e4,_0x24926f={'eventID':_0x17d204[_0x2dd52f(0x226)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x2dd52f(0x2d8)](),'selection':_0x4e77f2(_0x1fbea3,_0x17bd59[_0x2dd52f(0x313)])}};this[_0x2dd52f(0x12b)]['send'](_0x24926f,this[_0x2dd52f(0x387)]);},Fi)),(this[_0x1497e4(0x387)]=_0x51c916,this['_session']=_0x38af44,this['_injector']=_0x211f8d,this[_0x1497e4(0x233)]=_0x55a2b1,this[_0x1497e4(0x12f)]=_0x49fe37,this[_0x1497e4(0x13d)]=_0x300d19,this[_0x1497e4(0x237)]=_0x5bf9bd,this[_0x1497e4(0x1d2)]=_0x2144ac);}get[_0x1b8043(0x220)](){const _0x1bbd6f=_0x1b8043;return this[_0x1bbd6f(0x381)]['getValue']();}get[_0x1b8043(0x18f)](){const _0x41593f=_0x1b8043;return this[_0x41593f(0x316)][_0x41593f(0x17a)]();}[_0x1b8043(0x1ae)](){const _0xb1c54a=_0x1b8043;super['dispose'](),this[_0xb1c54a(0x381)][_0xb1c54a(0x358)](new Map()),this[_0xb1c54a(0x381)][_0xb1c54a(0x2bf)](),this[_0xb1c54a(0x316)][_0xb1c54a(0x358)]([]),this[_0xb1c54a(0x316)]['complete']();}[_0x1b8043(0x2d9)](){const _0x288e82=_0x1b8043;this[_0x288e82(0x37c)]||(this['_init']=!0x0,this[_0x288e82(0x12b)][_0x288e82(0x1bb)]['pipe'](_0x33134d(this[_0x288e82(0x2fe)]))[_0x288e82(0x29b)](_0x414447=>{const _0x408d5c=_0x288e82;_0x414447===_0x6894b4[_0x408d5c(0x21b)]?this['_toggleOnline']():this[_0x408d5c(0x23a)]();}),this[_0x288e82(0x12b)][_0x288e82(0x1e9)][_0x288e82(0x337)](_0x33134d(this[_0x288e82(0x2fe)]))[_0x288e82(0x29b)](_0x1d0937=>{const _0x15ebcf=_0x288e82,_0x3b84b4=_0x1d0937['eventID'];_0x3b84b4===_0x17d204['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x1d0937),_0x3b84b4===_0x17d204[_0x15ebcf(0x32b)]&&this[_0x15ebcf(0x369)](_0x1d0937);}),this[_0x288e82(0x275)](),this[_0x288e82(0x263)](this['_commandService'][_0x288e82(0x1c7)](_0x42cf0c=>{const _0x12d14c=_0x288e82;if(this[_0x12d14c(0x2c8)]&&_0x42cf0c['id']===_0x53f4b1['id']&&_0x42cf0c[_0x12d14c(0x132)][_0x12d14c(0x14a)]===this[_0x12d14c(0x387)]){const _0x2002f5=_0x42cf0c[_0x12d14c(0x132)];this[_0x12d14c(0x199)](_0x2002f5[_0x12d14c(0x2b0)],_0x2002f5[_0x12d14c(0x311)][0x0]);}})));}[_0x1b8043(0x1e6)](_0x2c720b){const _0x16b9d9=_0x1b8043;var _0x57eda4,_0x425fa0;const {memberID:_0x14e59d,selection:_0x44c527}=_0x2c720b[_0x16b9d9(0x231)],{sheetName:_0x218252,range:_0x196ef2}=_0x5b2449(_0x44c527),_0x5caa9d={'name':(_0x425fa0=(_0x57eda4=this['_memberService'][_0x16b9d9(0x384)](this[_0x16b9d9(0x387)],_0x14e59d))==null?void 0x0:_0x57eda4[_0x16b9d9(0x135)])!=null?_0x425fa0:_0x16b9d9(0x357),'range':this['_getMergeRange'](_0x218252,_0x196ef2),'sheetID':_0x218252,'color':this['_colorAssignService'][_0x16b9d9(0x224)](_0x14e59d),'selection':_0x44c527},_0x4f3544=this[_0x16b9d9(0x220)];_0x4f3544['set'](_0x14e59d,_0x5caa9d),this[_0x16b9d9(0x381)][_0x16b9d9(0x358)](_0x4f3544);}[_0x1b8043(0x369)](_0x1c0e21){const _0x371865=_0x1b8043,{memberID:_0x44c955}=_0x1c0e21['data'],_0x4660de=this[_0x371865(0x220)];_0x4660de[_0x371865(0x148)](_0x44c955),this[_0x371865(0x381)][_0x371865(0x358)](_0x4660de);}[_0x1b8043(0x1f1)](_0x3a11be,_0x4cd14f){const _0x26f77a=_0x1b8043;var _0x6ff1bd,_0x14cd57;const _0x699314=(_0x14cd57=(_0x6ff1bd=this[_0x26f77a(0x13d)][_0x26f77a(0x267)](this[_0x26f77a(0x387)]))==null?void 0x0:_0x6ff1bd['getSheetBySheetId'](_0x3a11be))==null?void 0x0:_0x14cd57[_0x26f77a(0x1b7)]();return(_0x699314==null?void 0x0:_0x699314[_0x26f77a(0x2a4)](_0x295b81=>_0x4f40bd[_0x26f77a(0x326)](_0x295b81,_0x4cd14f)))||_0x4cd14f;}[_0x1b8043(0x275)](){const _0x5a5608=_0x1b8043,_0x177653=new _0x58f59c(),_0x3ed6e6=Yi(),_0x2639a0=()=>{const _0x48ec81=_0x4244;_0x177653[_0x48ec81(0x1ae)]();const _0x4a8feb=(_0x435422,_0x6cddff,_0x4dd58,_0x17708e)=>{const _0x5a17e0=_0x48ec81;let _0xf368ba=[];switch(_0x435422['id']){case _0x4f50db[_0x5a17e0(0x1d7)]:{_0xf368ba=_0x249fdd(_0x435422,_0x17708e);break;}case _0x4f50db[_0x5a17e0(0x362)]:{_0xf368ba=_0xa5d409(_0x435422,_0x17708e);break;}case _0x4f50db['InsertColCommandId']:{_0xf368ba=_0x24348e(_0x435422,_0x17708e);break;}case _0x4f50db[_0x5a17e0(0x348)]:{_0xf368ba=_0x220169(_0x435422,_0x17708e);break;}case _0x4f50db[_0x5a17e0(0x26c)]:{_0xf368ba=_0x42db85(_0x435422,_0x17708e);break;}case _0x4f50db[_0x5a17e0(0x1dc)]:{_0xf368ba=_0x55b233(_0x435422,_0x17708e);break;}case _0x4f50db['MoveRangeCommandId']:{_0xf368ba=_0x10a72f(_0x435422,_0x17708e);break;}case _0x4f50db['RemoveColCommandId']:{_0xf368ba=_0x1def58(_0x435422,_0x17708e);break;}case _0x4f50db[_0x5a17e0(0x1c0)]:{_0xf368ba=_0x4b2ea7(_0x435422,_0x17708e);break;}}const _0x1d2cba=_0x44cc0c(_0xf368ba,_0x17708e),_0xafc0fe=this[_0x5a17e0(0x220)]['get'](_0x6cddff);if(_0xafc0fe&&_0x1d2cba){const _0x5739ac={..._0xafc0fe,'range':_0x1d2cba};this[_0x5a17e0(0x220)]['set'](_0x6cddff,_0x5739ac),_0x3ed6e6(()=>{const _0x225a92=_0x5a17e0,_0x553a71=this[_0x225a92(0x1d2)][_0x225a92(0x1a5)](_0x1d2cba,_0x1ffac1=>(_0x553a71[_0x225a92(0x1ae)](),_0x4a8feb(_0x1ffac1,_0x6cddff,_0x4dd58,_0x1d2cba)));_0x177653[_0x225a92(0x385)](_0x553a71);});}return{'redos':[],'undos':[]};};this[_0x48ec81(0x220)][_0x48ec81(0x213)]((_0x35b3f6,_0x564ca1)=>{const _0x31bf55=_0x48ec81,{range:_0x3f7ed7,sheetID:_0x68998c}=_0x35b3f6,_0x5ddcb8=this['_refRangeService'][_0x31bf55(0x1a5)](_0x3f7ed7,_0x493933=>(_0x5ddcb8['dispose'](),_0x4a8feb(_0x493933,_0x564ca1,_0x68998c,_0x3f7ed7)));_0x177653[_0x31bf55(0x385)](_0x5ddcb8);});};this[_0x5a5608(0x263)](_0x148bbc(this['_cursorInfo$']['subscribe'](()=>{_0x2639a0();})));}['_toggleOnline'](){const _0x4377a5=_0x1b8043;var _0x59d48d,_0x1f1cda;if(this['_online']=!0x0,((_0x59d48d=this[_0x4377a5(0x13d)]['getFocusedUnit']())==null?void 0x0:_0x59d48d[_0x4377a5(0x26d)]())!==this['unitID'])return;const _0xaa86fe=(_0x1f1cda=this[_0x4377a5(0x19b)][_0x4377a5(0x298)](_0x13fd95)[_0x4377a5(0x24e)]())==null?void 0x0:_0x1f1cda[0x0],_0x4b8cc2=this[_0x4377a5(0x13d)][_0x4377a5(0x2f9)](_0x1ef95b[_0x4377a5(0x288)])['getActiveSheet']();_0xaa86fe&&_0x4b8cc2&&this['_updateLocalCursor'](_0x4b8cc2[_0x4377a5(0x309)](),_0xaa86fe);}['_toggleOffline'](){const _0x4d0e23=_0x1b8043;this[_0x4d0e23(0x2c8)]=!0x1;}};Be=Bi([B(0x2,_0x147344(_0x144e44)),B(0x3,_0x147344(Ke)),B(0x4,_0x147344(_0x420877)),B(0x5,_0x391315),B(0x6,_0x2b20f4),B(0x7,_0x147344(_0x331971))],Be);var Hi=Object['getOwnPropertyDescriptor'],Wi=(_0x2ecbca,_0x3cdb81,_0xab1b5,_0x4cfd4b)=>{const _0xee8463=_0x1b8043;for(var _0x107ac9=_0x4cfd4b>0x1?void 0x0:_0x4cfd4b?Hi(_0x3cdb81,_0xab1b5):_0x3cdb81,_0x159e3c=_0x2ecbca[_0xee8463(0x31d)]-0x1,_0x4fc79b;_0x159e3c>=0x0;_0x159e3c--)(_0x4fc79b=_0x2ecbca[_0x159e3c])&&(_0x107ac9=_0x4fc79b(_0x107ac9)||_0x107ac9);return _0x107ac9;},Ce=(_0x217e6d,_0x1e3c49)=>(_0x3ad322,_0x2d3f19)=>_0x1e3c49(_0x3ad322,_0x2d3f19,_0x217e6d);let Y=class extends _0x342316{constructor(_0x5d3a56,_0x5f2d0a,_0x52def0){const _0x5c0dfb=_0x1b8043;super(),_(this,_0x5c0dfb(0x19f),new Map()),_(this,_0x5c0dfb(0x1a7),new _0x59c1ce()),(this[_0x5c0dfb(0x13d)]=_0x5d3a56,this['_injector']=_0x5f2d0a,this[_0x5c0dfb(0x254)]=_0x52def0,this['_init']());}[_0x1b8043(0x1ae)](){const _0x51fe51=_0x1b8043;super[_0x51fe51(0x1ae)](),this[_0x51fe51(0x1a7)][_0x51fe51(0x2bf)](),this[_0x51fe51(0x19f)][_0x51fe51(0x213)](_0x37cf0d=>_0x37cf0d[_0x51fe51(0x1ae)]());}[_0x1b8043(0x239)](_0x357244){const _0x38eb11=_0x1b8043;return this[_0x38eb11(0x19f)][_0x38eb11(0x14e)](_0x357244)?this['_entities'][_0x38eb11(0x298)](_0x357244)[_0x38eb11(0x346)]:this[_0x38eb11(0x1a7)][_0x38eb11(0x337)](_0x254407(_0x4985b8=>_0x4985b8[_0x38eb11(0x387)]===_0x357244),_0x7157e4(_0x498ad6=>_0x498ad6['cursorInfo$']));}['_init'](){const _0x5ab1ea=_0x1b8043;this[_0x5ab1ea(0x13d)][_0x5ab1ea(0x2b1)](_0x1ef95b[_0x5ab1ea(0x288)])[_0x5ab1ea(0x337)](_0x33134d(this['dispose$']))[_0x5ab1ea(0x29b)](async _0x5d7787=>{const _0x572710=_0x5ab1ea,_0x3d147b=_0x5d7787[_0x572710(0x26d)](),_0x173b84=await this['_startSheetCollabCursor'](_0x3d147b);this['_entityInit$'][_0x572710(0x358)](_0x173b84),this[_0x572710(0x19f)][_0x572710(0x27c)](_0x3d147b,_0x173b84);}),this[_0x5ab1ea(0x13d)]['getTypeOfUnitAdded$'](_0x1ef95b[_0x5ab1ea(0x1fc)])[_0x5ab1ea(0x337)](_0x33134d(this[_0x5ab1ea(0x2fe)]))[_0x5ab1ea(0x337)](_0x254407(_0x148783=>!_0x148783['getUnitId']()[_0x5ab1ea(0x2b8)]('__')))[_0x5ab1ea(0x29b)](async _0x5e89c5=>{const _0x251105=_0x5ab1ea,_0x805855=_0x5e89c5[_0x251105(0x26d)](),_0x55b2f4=await this[_0x251105(0x2f3)](_0x805855);this['_entityInit$'][_0x251105(0x358)](_0x55b2f4),this[_0x251105(0x19f)][_0x251105(0x27c)](_0x805855,_0x55b2f4);}),_0x4e8687(this['_univerInstanceService'][_0x5ab1ea(0x228)](_0x1ef95b[_0x5ab1ea(0x1fc)]),this['_univerInstanceService'][_0x5ab1ea(0x228)](_0x1ef95b[_0x5ab1ea(0x288)]))['pipe'](_0x33134d(this[_0x5ab1ea(0x2fe)]))['subscribe'](_0x5ac8b7=>{const _0xcc5d53=_0x5ab1ea,_0x17eca4=_0x5ac8b7[_0xcc5d53(0x26d)](),_0x2ff041=this[_0xcc5d53(0x19f)]['get'](_0x17eca4);_0x2ff041&&(_0x2ff041[_0xcc5d53(0x1ae)](),this['_entities'][_0xcc5d53(0x148)](_0x17eca4));});}async[_0x1b8043(0x1e0)](_0x1419f8){const _0x56721c=_0x1b8043,_0x4a4157=await this[_0x56721c(0x254)][_0x56721c(0x245)](_0x1419f8),_0x1758de=this[_0x56721c(0x19b)]['createInstance'](Be,_0x1419f8,_0x4a4157);return _0x1758de[_0x56721c(0x2d9)](),_0x1758de;}async[_0x1b8043(0x2f3)](_0x2b0340){const _0xec652=_0x1b8043,_0xdbd5f=await this['_collabSessionService']['requireSession'](_0x2b0340),_0x21923b=this[_0xec652(0x19b)][_0xec652(0x24d)](xe,_0x2b0340,_0xdbd5f);return _0x21923b[_0xec652(0x2d9)](),_0x21923b;}};Y=Wi([Ce(0x0,_0x391315),Ce(0x1,_0x147344(_0x144e44)),Ce(0x2,_0x147344(_0x2a09d4))],Y);const Q=0x14,at=0xc8,Re=0x4,Vi=0x5;function ji(_0x1565d6,_0xe4cce3){const _0x4c1121=_0x1b8043;let {radius:_0x3a65de,width:_0x8c7914,height:_0x3d5b1e}=_0xe4cce3;_0x3a65de=_0x3a65de!=null?_0x3a65de:0x0,_0x8c7914=_0x8c7914!=null?_0x8c7914:0x1e,_0x3d5b1e=_0x3d5b1e!=null?_0x3d5b1e:0x1e;let _0x4da907=0x0,_0x7dedaa=0x0,_0x55d5aa=0x0;_0x4da907=_0x7dedaa=_0x55d5aa=Math[_0x4c1121(0x34e)](_0x3a65de,_0x8c7914/0x2,_0x3d5b1e/0x2),_0x1565d6[_0x4c1121(0x190)](),_0x1565d6['moveTo'](_0x4da907,0x0),_0x1565d6[_0x4c1121(0x140)](_0x8c7914-_0x7dedaa,0x0),_0x1565d6[_0x4c1121(0x37d)](_0x8c7914-_0x7dedaa,_0x7dedaa,_0x7dedaa,Math['PI']*0x3/0x2,0x0,!0x1),_0x1565d6[_0x4c1121(0x140)](_0x8c7914,_0x3d5b1e-_0x55d5aa),_0x1565d6[_0x4c1121(0x37d)](_0x8c7914-_0x55d5aa,_0x3d5b1e-_0x55d5aa,_0x55d5aa,0x0,Math['PI']/0x2,!0x1),_0x1565d6[_0x4c1121(0x140)](0x0,_0x3d5b1e),_0x1565d6[_0x4c1121(0x140)](0x0,_0x4da907),_0x1565d6[_0x4c1121(0x37d)](_0x4da907,_0x4da907,_0x4da907,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1565d6[_0x4c1121(0x2df)](),_0xe4cce3[_0x4c1121(0x341)]&&(_0x1565d6[_0x4c1121(0x292)](),_0x1565d6[_0x4c1121(0x232)]=_0xe4cce3['fill'],_0xe4cce3[_0x4c1121(0x2c9)]===_0x4c1121(0x386)?_0x1565d6[_0x4c1121(0x341)](_0x4c1121(0x386)):_0x1565d6[_0x4c1121(0x341)](),_0x1565d6[_0x4c1121(0x219)]());}function _0x4244(_0x2362c3,_0x3fec71){_0x2362c3=_0x2362c3-0x126;const _0x12f409=_0x12f4();let _0x4244de=_0x12f409[_0x2362c3];return _0x4244de;}class Ee extends _0x5c123d{constructor(_0x5bc0d8,_0x167659){const _0x1e0492=_0x1b8043;super(_0x5bc0d8,_0x167659),_(this,_0x1e0492(0x2d2)),_(this,_0x1e0492(0x1d0)),(this[_0x1e0492(0x2d2)]=_0x167659==null?void 0x0:_0x167659[_0x1e0492(0x2d2)],this[_0x1e0492(0x1d0)]=_0x167659==null?void 0x0:_0x167659[_0x1e0492(0x1d0)]);}static[_0x1b8043(0x29f)](_0x408f1d,_0x10d29e){const _0x32071e=_0x1b8043,{text:_0x1463de,color:_0x42a42e}=_0x10d29e;_0x408f1d[_0x32071e(0x292)](),_0x408f1d[_0x32071e(0x364)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x5db0e3=_0x408f1d[_0x32071e(0x306)](_0x1463de)['width'],_0x5a0c59=Math[_0x32071e(0x34e)](_0x5db0e3+0x2*Re,at);ji(_0x408f1d,{'height':Q,'radius':0x4,'width':_0x5a0c59,'fill':_0x42a42e}),_0x408f1d[_0x32071e(0x232)]=_0x32071e(0x1e1);const _0xe78912=Re,_0x28b727=Q-Vi,_0x54b33a=at-0x2*Re;if(_0x5db0e3>_0x54b33a){let _0x8c9828='',_0x34b546=0x0;for(const _0x20b62e of _0x1463de){const _0x319247=_0x408f1d[_0x32071e(0x306)](_0x20b62e)[_0x32071e(0x2b4)];if(_0x34b546+_0x319247<=_0x54b33a-_0x408f1d[_0x32071e(0x306)](_0x32071e(0x268))['width'])_0x8c9828+=_0x20b62e,_0x34b546+=_0x319247;else{_0x8c9828+=_0x32071e(0x268);break;}}_0x408f1d[_0x32071e(0x2a2)](_0x8c9828,_0xe78912,_0x28b727);}else _0x408f1d[_0x32071e(0x2a2)](_0x1463de,_0xe78912,_0x28b727);_0x408f1d[_0x32071e(0x219)]();}[_0x1b8043(0x1cf)](_0x2e8344){const _0x597bcc=_0x1b8043;Ee[_0x597bcc(0x29f)](_0x2e8344,this);}}const be=_0x1b8043(0x284),Xi=_0x1b8043(0x2b2),Gi=_0x1b8043(0x302),z=0x6,Ki=1.5,De=0x4,zi=1.5,Ji=_0x1b8043(0x1e4);class ct{constructor(_0x51c184,_0x117057,_0x45270d,_0x100357){const _0x46861c=_0x1b8043;_(this,_0x46861c(0x37e),[]),_(this,_0x46861c(0x225),null),_(this,_0x46861c(0x201),null),_(this,_0x46861c(0x2f2),null),_(this,'_hideTimer',null),_(this,_0x46861c(0x2a1),null),(this['_cursor']=_0x51c184,this['_scene']=_0x117057,this[_0x46861c(0x2b9)]=_0x45270d,this[_0x46861c(0x252)]=_0x100357,this[_0x46861c(0x186)]());}set['_hover'](_0x1ceeac){const _0x8fde4e=_0x1b8043;_0x1ceeac?(this[_0x8fde4e(0x2f2)]&&this[_0x8fde4e(0x2f2)][_0x8fde4e(0x308)](),this[_0x8fde4e(0x201)]&&this['_textBubble'][_0x8fde4e(0x176)]()):(this[_0x8fde4e(0x2f2)]&&this[_0x8fde4e(0x2f2)][_0x8fde4e(0x176)](),this[_0x8fde4e(0x201)]&&this['_textBubble']['hide']());}[_0x1b8043(0x1ae)](){const _0x21a20c=_0x1b8043;for(const _0x5c8d32 of this[_0x21a20c(0x37e)])_0x5c8d32[_0x21a20c(0x1ae)]();this['_textBubble']&&this[_0x21a20c(0x201)][_0x21a20c(0x1ae)](),this[_0x21a20c(0x2f2)]&&this[_0x21a20c(0x2f2)]['dispose'](),this[_0x21a20c(0x225)]&&this[_0x21a20c(0x225)][_0x21a20c(0x1ae)](),this[_0x21a20c(0x2a1)]&&this['_eventUnsubscribe']();}[_0x1b8043(0x186)](){const _0x342318=_0x1b8043;var _0x45451e;const {_docSkeleton:_0x50fdd8,_document:_0x49e50d}=this,{color:_0x3569a1,name:_0x4df319,ranges:_0x399517}=this[_0x342318(0x29c)],_0x346a70=_0x49e50d[_0x342318(0x317)](),{docsLeft:_0x130446,docsTop:_0x60ff6d}=_0x346a70,_0x579ff9=new _0x571f34(_0x346a70,_0x50fdd8);for(const {startOffset:_0x604e9f,endOffset:_0x153f9c,rangeType:_0x35af73,segmentId:_0x199160,segmentPage:_0x5358da,collapsed:_0x4a2cfc,isActive:_0x562e5c}of _0x399517){const _0x5d91ae=_0x50fdd8[_0x342318(0x27f)](_0x604e9f,!0x0,_0x199160,_0x5358da);let _0x2ecc3e=_0x50fdd8[_0x342318(0x27f)](_0x153f9c,!0x0,_0x199160,_0x5358da);if(_0x2ecc3e==null&&(_0x2ecc3e=_0x50fdd8['findNodePositionByCharIndex'](_0x153f9c-0x1,!0x1,_0x199160,_0x5358da)),_0x562e5c){const {contentBoxPointGroup:_0x5416de}=_0x579ff9[_0x342318(0x16e)](_0x2ecc3e,_0x2ecc3e);if(_0x5416de[_0x342318(0x31d)]===0x0)continue;this['_drawAnchor'](_0x3569a1,_0x5416de,_0x130446,_0x60ff6d,_0x4df319),this[_0x342318(0x2a1)]=this['_handleHover']();}if(_0x5d91ae&&_0x2ecc3e){if(_0x35af73===_0x56d157[_0x342318(0x2a6)]){const _0x4f7dd=new _0x1a3a5b(_0x346a70,_0x50fdd8),{pointGroup:_0x357f1f}=(_0x45451e=_0x4f7dd[_0x342318(0x16e)](_0x5d91ae,_0x2ecc3e))!=null?_0x45451e:{};if(_0x357f1f==null||_0x357f1f[_0x342318(0x31d)]===0x0)continue;this[_0x342318(0x138)](_0x3569a1,_0x357f1f,_0x130446,_0x60ff6d);}else{if(!_0x4a2cfc){const {borderBoxPointGroup:_0xa17a41}=_0x579ff9[_0x342318(0x16e)](_0x5d91ae,_0x2ecc3e);if(_0xa17a41['length']===0x0)continue;this[_0x342318(0x227)](_0x3569a1,_0xa17a41,_0x130446,_0x60ff6d);}}}}}[_0x1b8043(0x271)](_0x29556e,_0x484cde,_0x2de1dd,_0x307b7e,_0x38f77a){const _0x40f8d6=_0x1b8043,_0x572206=this['_getAnchorBounding'](_0x484cde),{left:_0x48ea7f,top:_0x510c38,height:_0x5df12a}=_0x572206,_0x1f66f1=this[_0x40f8d6(0x328)](),_0x21696c=zi/_0x1f66f1,_0x3c5d31=new _0x20c099(be+_0x193eca(z),{'left':_0x48ea7f+_0x2de1dd-_0x21696c,'top':_0x510c38+_0x307b7e,'height':_0x5df12a,'width':Ki,'fill':_0x29556e||_0x3c4ed4(_0x18678e['black'],0x0),'strokeWidth':_0x21696c,'stroke':Ji,'evented':!0x0});this[_0x40f8d6(0x225)]=_0x3c5d31,this[_0x40f8d6(0x2d1)][_0x40f8d6(0x17e)](_0x3c5d31,_0x1d3c5a);const _0x5b7a54=new _0x20c099(be+_0x193eca(z),{'left':_0x48ea7f+_0x2de1dd-_0x21696c,'top':_0x510c38+_0x307b7e-De/0x2,'height':De,'width':De,'fill':_0x29556e||_0x3c4ed4(_0x18678e[_0x40f8d6(0x1c4)],0x0),'strokeWidth':0x0,'stroke':_0x29556e||_0x3c4ed4(_0x18678e['black'],0x0),'evented':!0x1});this[_0x40f8d6(0x2f2)]=_0x5b7a54,this[_0x40f8d6(0x2d1)][_0x40f8d6(0x17e)](_0x5b7a54,_0x1d3c5a);const _0x179d0f=new Ee(be+_0x193eca(z),{'left':_0x48ea7f+_0x2de1dd-_0x21696c,'top':_0x510c38+_0x307b7e-Q,'text':_0x38f77a,'color':_0x29556e});this[_0x40f8d6(0x201)]=_0x179d0f,this[_0x40f8d6(0x2d1)][_0x40f8d6(0x17e)](_0x179d0f,_0x1d3c5a),this[_0x40f8d6(0x36d)]=!0x1;}[_0x1b8043(0x26e)](){const _0x4df73c=_0x1b8043,_0x8f4317=this['_anchor'][_0x4df73c(0x21f)][_0x4df73c(0x273)](()=>{const _0x2cf275=_0x4df73c;this[_0x2cf275(0x36d)]=!0x0;}),_0x528da2=this[_0x4df73c(0x225)][_0x4df73c(0x262)][_0x4df73c(0x273)](()=>{const _0x39f7c9=_0x4df73c;this[_0x39f7c9(0x259)]&&clearTimeout(this[_0x39f7c9(0x259)]),this[_0x39f7c9(0x259)]=setTimeout(()=>{const _0x19f007=_0x39f7c9;this[_0x19f007(0x36d)]=!0x1;},0x7d0);});return()=>{const _0x39c25d=_0x4df73c;_0x8f4317[_0x39c25d(0x25d)](),_0x528da2[_0x39c25d(0x25d)]();};}[_0x1b8043(0x227)](_0x1dfe97,_0x31387f,_0x8d91e0,_0x53978c){const _0x25b2a0=_0x1b8043,_0x3a5766=new _0x4c3188(_0x1dfe97)[_0x25b2a0(0x2a3)](0.2)[_0x25b2a0(0x2ce)](),_0x566855=new _0x383028(Xi+_0x193eca(z),{'pointsGroup':_0x31387f,'fill':_0x3a5766||_0x3c4ed4(_0x18678e[_0x25b2a0(0x1c4)],0.2),'left':_0x8d91e0,'top':_0x53978c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x25b2a0(0x37e)][_0x25b2a0(0x251)](_0x566855),this[_0x25b2a0(0x2d1)][_0x25b2a0(0x17e)](_0x566855,_0x1d3c5a);}[_0x1b8043(0x138)](_0x2467d3,_0x48db19,_0x40aed3,_0x87c133){const _0xa338fd=_0x1b8043,_0x118e0a=new _0x4c3188(_0x2467d3)[_0xa338fd(0x2a3)](0.2)['toRgbString'](),_0x412f35=new _0x383028(Gi+_0x193eca(z),{'pointsGroup':_0x48db19,'fill':_0x118e0a||_0x3c4ed4(_0x18678e[_0xa338fd(0x1c4)],0.2),'left':_0x40aed3,'top':_0x87c133,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xa338fd(0x37e)][_0xa338fd(0x251)](_0x412f35),this[_0xa338fd(0x2d1)][_0xa338fd(0x17e)](_0x412f35,_0x1d3c5a);}['_getAnchorBounding'](_0x1a0bd0){const _0x2114cb=_0x1a0bd0[0x0],_0x4d4cac=_0x2114cb[0x0],_0x41cda8=_0x2114cb[0x2],{x:_0x2510fb,y:_0x51059c}=_0x4d4cac,{x:_0x34f5a8,y:_0x51c8bd}=_0x41cda8;return{'left':_0x2510fb,'top':_0x51059c,'width':_0x34f5a8-_0x2510fb,'height':_0x51c8bd-_0x51059c};}['_getScale'](){const _0x5b6112=_0x1b8043,{scaleX:_0x236d91,scaleY:_0x15c2d8}=this[_0x5b6112(0x2d1)][_0x5b6112(0x371)]();return Math[_0x5b6112(0x32a)](_0x236d91,_0x15c2d8);}}var Zi=Object[_0x1b8043(0x188)],Qi=(_0x483f4c,_0x1a5546,_0x21c0bb,_0x511c54)=>{const _0xb84e12=_0x1b8043;for(var _0x22af28=_0x511c54>0x1?void 0x0:_0x511c54?Zi(_0x1a5546,_0x21c0bb):_0x1a5546,_0x475d3d=_0x483f4c[_0xb84e12(0x31d)]-0x1,_0x4ca1d2;_0x475d3d>=0x0;_0x475d3d--)(_0x4ca1d2=_0x483f4c[_0x475d3d])&&(_0x22af28=_0x4ca1d2(_0x22af28)||_0x22af28);return _0x22af28;},ie=(_0x5d0ff2,_0x141262)=>(_0x223c64,_0x59bd01)=>_0x141262(_0x223c64,_0x59bd01,_0x5d0ff2);let ke=class extends _0x342316{constructor(_0x2b370f,_0x3c6f42,_0x4b7bf9,_0x216939,_0x554976){const _0x44a796=_0x1b8043;super(),_(this,_0x44a796(0x350),[]),_(this,'_cursors',[]),(this[_0x44a796(0x380)]=_0x2b370f,this[_0x44a796(0x33b)]=_0x3c6f42,this[_0x44a796(0x12d)]=_0x4b7bf9,this[_0x44a796(0x237)]=_0x216939,this[_0x44a796(0x1b2)]=_0x554976,this['_init']());}[_0x1b8043(0x37c)](){const _0x65944d=_0x1b8043,_0x5149ae=this['_context'][_0x65944d(0x14a)],_0x1216fa=this[_0x65944d(0x33b)];this[_0x65944d(0x263)](_0x3140eb([this[_0x65944d(0x12d)][_0x65944d(0x239)](_0x5149ae),this[_0x65944d(0x1b2)][_0x65944d(0x202)]])[_0x65944d(0x337)](_0xacb62c(([_0x1252fa,_0x2e5a97])=>({'skeleton':_0x1216fa['getSkeleton'](),'cursors':[..._0x1252fa[_0x65944d(0x25b)]()]['flatMap'](_0xabe7f0=>({..._0xabe7f0,'color':this['_themeService'][_0x65944d(0x163)](_0xabe7f0[_0x65944d(0x2d2)])}))})))[_0x65944d(0x29b)](_0x189bab=>{const _0x5e5a9d=_0x65944d;if(this[_0x5e5a9d(0x168)](),_0x189bab){const {skeleton:_0x5ad3b5,cursors:_0x233610}=_0x189bab;this[_0x5e5a9d(0x19c)](_0x5ad3b5,_0x233610);}})),this[_0x65944d(0x1ca)](),this[_0x65944d(0x183)]();}[_0x1b8043(0x19c)](_0x4699e4,_0x4e57b5){const _0x4421bc=_0x1b8043,{scene:_0x14240e,mainComponent:_0x52c724}=this['_context'],_0x42bbaf=_0x4e57b5[_0x4421bc(0x221)](_0x211854=>new ct(_0x211854,_0x14240e,_0x4699e4,_0x52c724));this[_0x4421bc(0x350)]=_0x42bbaf,this['_cursors']=_0x4e57b5;}[_0x1b8043(0x22e)](){const _0x217e11=_0x1b8043;this[_0x217e11(0x168)]();const {scene:_0x40b282,mainComponent:_0x41771}=this[_0x217e11(0x380)],_0x37a467=this[_0x217e11(0x33b)][_0x217e11(0x1af)](),_0x3e90b0=this[_0x217e11(0x32f)]['map'](_0x46fb43=>new ct(_0x46fb43,_0x40b282,_0x37a467,_0x41771));this['_cursorShapes']=_0x3e90b0;}[_0x1b8043(0x168)](){const _0x321288=_0x1b8043;this[_0x321288(0x350)][_0x321288(0x213)](_0x252383=>_0x252383[_0x321288(0x1ae)]()),this['_cursorShapes']=[];}[_0x1b8043(0x183)](){const _0x3153c8=_0x1b8043,_0xcef3a0=[_0x31c929['id']];this[_0x3153c8(0x263)](this[_0x3153c8(0x237)][_0x3153c8(0x1c7)](_0x7df1f8=>{const _0xb006e5=_0x3153c8;_0xcef3a0[_0xb006e5(0x339)](_0x7df1f8['id'])&&_0x7df1f8[_0xb006e5(0x132)][_0xb006e5(0x14a)]===this['_context']['unitId']&&this[_0xb006e5(0x22e)]();}));}[_0x1b8043(0x1ca)](){const _0x151b9b=_0x1b8043;this[_0x151b9b(0x263)](_0x1a51dc(this[_0x151b9b(0x380)][_0x151b9b(0x172)]['onTransformChange$'])[_0x151b9b(0x337)](_0xbeac84(_0x1f18b8=>_0x1f18b8[_0x151b9b(0x21e)]===_0x26199b[_0x151b9b(0x1a6)]),_0x2266c4(0x10))[_0x151b9b(0x29b)](()=>{this['_refreshCollabCursors']();}));}};ke=Qi([ie(0x1,_0x147344(_0x3f62ea)),ie(0x2,_0x147344(Y)),ie(0x3,_0x2b20f4),ie(0x4,_0x147344(_0x537d1f))],ke);const qi=0x1,en=1.5;class tn extends _0x5c123d{constructor(_0x3443cb,_0x128cbd){const _0x123b83=_0x1b8043;var _0x1ce08d,_0x3dc519;super(_0x3443cb,_0x128cbd),_(this,'_color'),_(this,_0x123b83(0x2eb),!0x1),_(this,_0x123b83(0x2d3)),_(this,_0x123b83(0x367),''),_(this,'_labelPosition',_0x123b83(0x156)),_(this,_0x123b83(0x238)),_(this,_0x123b83(0x31e)),_(this,'_highlight'),_(this,'_highlightSecond',0x4),_(this,_0x123b83(0x18e)),_(this,_0x123b83(0x375)),_(this,_0x123b83(0x16d),!0x0),_(this,'_offsetY',0x0),(_0x128cbd&&(this[_0x123b83(0x179)](_0x128cbd),_0x128cbd[_0x123b83(0x250)]&&((_0x1ce08d=_0x128cbd['highlightSecond'])!=null?_0x1ce08d:this[_0x123b83(0x13b)])&&this[_0x123b83(0x310)]((_0x3dc519=_0x128cbd[_0x123b83(0x146)])!=null?_0x3dc519:this['_highlightSecond'])),this[_0x123b83(0x21f)]['subscribeEvent'](()=>this[_0x123b83(0x179)]({'hovered':!0x0})),this[_0x123b83(0x262)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}['setOffsetY'](_0x7c36a6){const _0x59e3b6=_0x1b8043;this[_0x59e3b6(0x368)]=_0x7c36a6;}[_0x1b8043(0x179)](_0x5c5c6f){const _0x1bd9c4=_0x1b8043;var _0x54ad84,_0x8c1916,_0x542d81,_0x246d36,_0x16d97d,_0x38bb7d,_0x28e26c;this[_0x1bd9c4(0x370)]=(_0x54ad84=_0x5c5c6f[_0x1bd9c4(0x2d2)])!=null?_0x54ad84:this[_0x1bd9c4(0x370)],this[_0x1bd9c4(0x2eb)]=(_0x8c1916=_0x5c5c6f[_0x1bd9c4(0x236)])!=null?_0x8c1916:this[_0x1bd9c4(0x2eb)],this[_0x1bd9c4(0x2d3)]=(_0x542d81=_0x5c5c6f[_0x1bd9c4(0x313)])!=null?_0x542d81:this[_0x1bd9c4(0x2d3)],this['_name']=(_0x246d36=_0x5c5c6f[_0x1bd9c4(0x135)])!=null?_0x246d36:this[_0x1bd9c4(0x367)],this['_labelPosition']=(_0x16d97d=_0x5c5c6f[_0x1bd9c4(0x211)])!=null?_0x16d97d:this['_labelPosition'],this[_0x1bd9c4(0x238)]=(_0x38bb7d=_0x5c5c6f[_0x1bd9c4(0x247)])!=null?_0x38bb7d:this[_0x1bd9c4(0x238)],this['_showText']=(_0x28e26c=_0x5c5c6f[_0x1bd9c4(0x185)])!=null?_0x28e26c:this['_showText'],_0x5c5c6f[_0x1bd9c4(0x146)]!==void 0x0&&(this[_0x1bd9c4(0x13b)]=_0x5c5c6f[_0x1bd9c4(0x146)]),_0x5c5c6f[_0x1bd9c4(0x250)]!==void 0x0&&(this[_0x1bd9c4(0x1b9)]=_0x5c5c6f[_0x1bd9c4(0x250)]),_0x5c5c6f[_0x1bd9c4(0x2ad)]!==void 0x0&&(this[_0x1bd9c4(0x368)]=_0x5c5c6f['offsetY']),this[_0x1bd9c4(0x24b)]({'width':_0x5c5c6f[_0x1bd9c4(0x2b4)],'height':_0x5c5c6f[_0x1bd9c4(0x2cb)]});}[_0x1b8043(0x1c5)](_0x1b5a3d){const _0x5c0225=_0x1b8043,{row:_0x128c64,column:_0x238c81}=_0x1b5a3d;if(_0x128c64>=this[_0x5c0225(0x2d3)][_0x5c0225(0x212)]&&_0x128c64<=this[_0x5c0225(0x2d3)]['endRow']&&_0x238c81>=this[_0x5c0225(0x2d3)][_0x5c0225(0x1a1)]&&_0x238c81<=this['_range']['endColumn']){this[_0x5c0225(0x179)]({'hovered':!0x0});return;}this[_0x5c0225(0x179)]({'hovered':!0x1});}[_0x1b8043(0x310)](_0x412c82){const _0x5a6639=_0x1b8043;this[_0x5a6639(0x2c4)](),this[_0x5a6639(0x16d)]=!0x0,this[_0x5a6639(0x375)]=window['setInterval'](()=>{const _0x3cb2c6=_0x5a6639;this['_isBlinkVisible']=!this[_0x3cb2c6(0x16d)],this[_0x3cb2c6(0x296)](!0x0);},0x1f4),this[_0x5a6639(0x18e)]=window[_0x5a6639(0x24a)](()=>{const _0x396761=_0x5a6639;this[_0x396761(0x2c4)](),this[_0x396761(0x16d)]=!0x0,this[_0x396761(0x296)](!0x0);},_0x412c82*0x3e8);}[_0x1b8043(0x2c4)](){const _0xb49c13=_0x1b8043;this['_blinkIntervalTimer']&&(window[_0xb49c13(0x30a)](this['_blinkIntervalTimer']),this['_blinkIntervalTimer']=void 0x0),this[_0xb49c13(0x18e)]&&(window[_0xb49c13(0x152)](this['_blinkTimer']),this[_0xb49c13(0x18e)]=void 0x0);}['triggerDblclick'](_0x3940ce){return!0x1;}[_0x1b8043(0x1ae)](){const _0x4a8b56=_0x1b8043;this[_0x4a8b56(0x2c4)](),super[_0x4a8b56(0x1ae)]();}[_0x1b8043(0x1cf)](_0x56fc80){const _0x3fa2d0=_0x1b8043;var _0x240eb3,_0x97a380;let _0x55410f=this[_0x3fa2d0(0x370)],_0x1a49fc=this[_0x3fa2d0(0x238)];this[_0x3fa2d0(0x1b9)]&&!this[_0x3fa2d0(0x16d)]&&(_0x55410f=this['_getLighterColor'](this[_0x3fa2d0(0x370)]),_0x1a49fc=this[_0x3fa2d0(0x238)]?this[_0x3fa2d0(0x143)](this[_0x3fa2d0(0x238)]):void 0x0),_0x20c099[_0x3fa2d0(0x29f)](_0x56fc80,{'width':this[_0x3fa2d0(0x2b4)],'height':this['height'],'strokeWidth':(_0x240eb3=this[_0x3fa2d0(0x33a)])!=null?_0x240eb3:en,'stroke':_0x55410f,'evented':!0x1,'fill':_0x1a49fc}),(this['_hovered']||this[_0x3fa2d0(0x31e)])&&(_0x56fc80[_0x3fa2d0(0x292)](),_0x56fc80['transform'](0x1,0x0,0x0,0x1,this[_0x3fa2d0(0x2b4)],(this[_0x3fa2d0(0x355)]==='bottom'?0x0:-Q)+((_0x97a380=this['_offsetY'])!=null?_0x97a380:0x0)),Ee[_0x3fa2d0(0x29f)](_0x56fc80,{'text':this[_0x3fa2d0(0x367)],'color':_0x55410f}),_0x56fc80[_0x3fa2d0(0x219)]());}[_0x1b8043(0x143)](_0x46dd99){const _0x402c90=_0x1b8043;if(_0x46dd99[_0x402c90(0x2b8)]('#')){const _0x430f61=Number[_0x402c90(0x1eb)](_0x46dd99[_0x402c90(0x175)](0x1,0x3),0x10),_0x2c2b59=Number['parseInt'](_0x46dd99['slice'](0x3,0x5),0x10),_0x1e4847=Number[_0x402c90(0x1eb)](_0x46dd99[_0x402c90(0x175)](0x5,0x7),0x10);return'rgba('+_0x430f61+',\x20'+_0x2c2b59+',\x20'+_0x1e4847+_0x402c90(0x2aa);}return _0x46dd99[_0x402c90(0x2b8)](_0x402c90(0x344))?_0x46dd99[_0x402c90(0x2e3)](/[\d.]+\)$/g,'0.2)'):_0x46dd99['startsWith']('rgb')?_0x46dd99['replace'](_0x402c90(0x1bd),'rgba')[_0x402c90(0x2e3)](')',',\x200.2)'):_0x46dd99;}}var sn=Object[_0x1b8043(0x188)],nn=(_0x3ab0d0,_0x11bed1,_0x421b0d,_0x46965c)=>{const _0x17222c=_0x1b8043;for(var _0x31f04a=_0x46965c>0x1?void 0x0:_0x46965c?sn(_0x11bed1,_0x421b0d):_0x11bed1,_0x310b3b=_0x3ab0d0[_0x17222c(0x31d)]-0x1,_0x32dbd9;_0x310b3b>=0x0;_0x310b3b--)(_0x32dbd9=_0x3ab0d0[_0x310b3b])&&(_0x31f04a=_0x32dbd9(_0x31f04a)||_0x31f04a);return _0x31f04a;},Ne=(_0x1aa9ef,_0x1e9aa7)=>(_0x285f81,_0x33b4c8)=>_0x1e9aa7(_0x285f81,_0x33b4c8,_0x1aa9ef);const rn=0x1389;let Fe=class extends _0x342316{constructor(_0x3ec2f3,_0x35d0af,_0x558023,_0x5356e9){const _0x3e882c=_0x1b8043;super(),_(this,'_cursors',new Set()),_(this,_0x3e882c(0x349),null),(this['_context']=_0x3ec2f3,this['_sheetSkeletonManagerService']=_0x35d0af,this['_collabCursorController']=_0x558023,this[_0x3e882c(0x1b2)]=_0x5356e9,this[_0x3e882c(0x37c)]());}['_init'](){const _0x14bfa0=_0x1b8043;this[_0x14bfa0(0x1a2)][_0x14bfa0(0x36f)][_0x14bfa0(0x337)](_0x554ab8(this['dispose$']),_0x1c76f2(_0x446689=>{const _0x58410d=_0x14bfa0;if(_0x446689){const _0xbf19e6=_0x446689[_0x58410d(0x127)];return _0x3140eb(this[_0x58410d(0x12d)][_0x58410d(0x239)](this['_context'][_0x58410d(0x14a)]),this[_0x58410d(0x1b2)][_0x58410d(0x202)])[_0x58410d(0x337)](_0xacb62c(([_0x7f9a12,_0x537b50])=>{const _0x4eda3c=_0x58410d,_0x54e9ae=new Map();return _0x7f9a12[_0x4eda3c(0x213)]((_0x2fbe55,_0xd69ddf)=>{const _0x524c20=_0x4eda3c;if(_0x2fbe55[_0x524c20(0x1d4)]===_0xbf19e6){const _0x5eea1b={..._0x2fbe55};_0x5eea1b[_0x524c20(0x2d2)]=this[_0x524c20(0x1b2)][_0x524c20(0x163)](_0x2fbe55['color']),_0x54e9ae[_0x524c20(0x27c)](_0xd69ddf,_0x5eea1b);}}),{'skeleton':_0x446689,'cursors':_0x54e9ae};}));}return _0x591d6d({'skeleton':null,'cursors':new Map()});}))[_0x14bfa0(0x29b)](({skeleton:_0x2c1285,cursors:_0x46013a})=>{const _0x1ba2bd=_0x14bfa0;this[_0x1ba2bd(0x168)](),_0x2c1285&&this[_0x1ba2bd(0x19c)](_0x2c1285,_0x46013a);}),this[_0x14bfa0(0x1a2)][_0x14bfa0(0x36f)]['subscribe'](_0x3a382d=>{const _0x4e1eda=_0x14bfa0;if(_0x3a382d==null)return;const {skeleton:_0x56ed73}=_0x3a382d,{scene:_0x37d1a1}=this[_0x4e1eda(0x380)];_0x37d1a1[_0x4e1eda(0x32c)][_0x4e1eda(0x273)](_0x4ef707(_0x356f74=>{const _0x34b87d=_0x4e1eda;var _0x560e9a,_0x52b364;const {offsetX:_0x4f1876,offsetY:_0x44e9aa}=_0x356f74,{x:_0x4abbc5,y:_0x395831}=_0x37d1a1['getRelativeToViewportCoord'](_0x5595ec[_0x34b87d(0x30f)]([_0x4f1876,_0x44e9aa])),{scaleX:_0x196f2a,scaleY:_0x2f8a60}=_0x37d1a1[_0x34b87d(0x371)](),_0x256dd3=_0x37d1a1['getViewport'](_0x1133d6[_0x34b87d(0x363)]),_0xcf2360=_0x37d1a1[_0x34b87d(0x303)](_0x5595ec[_0x34b87d(0x30f)]([_0x4abbc5,_0x395831]),_0x256dd3),_0x4c5619=_0x56ed73[_0x34b87d(0x2e2)](_0x4f1876,_0x44e9aa,_0x196f2a,_0x2f8a60,_0xcf2360);((_0x560e9a=this['_lastPointer'])==null?void 0x0:_0x560e9a[_0x34b87d(0x2f6)])===_0x4c5619[_0x34b87d(0x2f6)]&&((_0x52b364=this['_lastPointer'])==null?void 0x0:_0x52b364['row'])===_0x4c5619[_0x34b87d(0x2ea)]||this[_0x34b87d(0x32f)][_0x34b87d(0x213)](_0xa1f26b=>{const _0x4b4887=_0x34b87d;_0xa1f26b[_0x4b4887(0x1c5)](_0x4c5619);});},0x64));});}[_0x1b8043(0x19c)](_0x390920,_0x3d2ac2){const _0x8ccfeb=_0x1b8043;var _0xe09e6b;const _0x327757=(_0xe09e6b=this[_0x8ccfeb(0x1a2)][_0x8ccfeb(0x2cf)]())==null?void 0x0:_0xe09e6b['skeleton'];if(!_0x327757)return;const _0xd069ee=this[_0x8ccfeb(0x28e)]();if(!_0xd069ee)return;this[_0x8ccfeb(0x32f)][_0x8ccfeb(0x213)](_0x599216=>{const _0x2a8fe4=_0x8ccfeb;_0x599216[_0x2a8fe4(0x296)]();});const {scene:_0x164095}=_0xd069ee,_0x33cc75=on(Array['from'](_0x3d2ac2[_0x8ccfeb(0x25b)]()))['map'](_0x366082=>{const _0x4c4fe4=_0x8ccfeb,{color:_0x5578f1,range:_0x46e615,name:_0x54386b,selection:_0x2d7d57,sheetID:_0x58116f}=_0x366082,{startColumn:_0x4650d1,startRow:_0x3b5b70,endColumn:_0x8315d,endRow:_0x1bb9d7}=_0x46e615,_0x1404aa=_0x5e9d2a(_0x3b5b70,_0x4650d1,_0x164095,_0x327757),_0x4ba89a=_0x5e9d2a(_0x1bb9d7,_0x8315d,_0x164095,_0x327757),{columnHeaderHeightAndMarginTop:_0xf0af21}=_0x327757,{startX:_0x11efb7,startY:_0x244ea5}=_0x1404aa,{endX:_0x384916,endY:_0x9e1f32}=_0x4ba89a,_0xa8ae0b=_0x384916-_0x11efb7,_0x192bde=_0x9e1f32-_0x244ea5,_0x103952={'labelPosition':_0x244ea5-_0xf0af21>=Q?_0x4c4fe4(0x156):_0x4c4fe4(0x31f),'sheetID':_0x58116f,'range':_0x46e615,'color':_0x5578f1,'name':_0x54386b,'selection':_0x2d7d57,'left':_0x11efb7,'top':_0x244ea5,'width':_0xa8ae0b,'height':_0x192bde,'evented':!0x1,'zIndex':rn};return new tn(_0x54386b,_0x103952);});_0x164095['addObjects'](_0x33cc75,qi),this['_cursors']=new Set(_0x33cc75);}[_0x1b8043(0x168)](){const _0x495257=_0x1b8043;var _0x539eef;(_0x539eef=this[_0x495257(0x32f)])==null||_0x539eef[_0x495257(0x213)](_0x55cfbf=>_0x55cfbf['dispose']());}[_0x1b8043(0x28e)](){const _0x1a0f8f=_0x1b8043;return _0x14213b(this['_context']['unit'],this[_0x1a0f8f(0x380)]);}};Fe=nn([Ne(0x1,_0x147344(_0x4d4e1d)),Ne(0x2,_0x147344(Y)),Ne(0x3,_0x147344(_0x537d1f))],Fe);function on(_0x150614){const _0x12f332=_0x1b8043,_0x198d69=new Map();return _0x150614[_0x12f332(0x213)](_0x48ccac=>{const _0x54b646=_0x12f332;if(_0x198d69[_0x54b646(0x14e)](_0x48ccac[_0x54b646(0x149)])){const _0xa1bfba=_0x198d69[_0x54b646(0x298)](_0x48ccac[_0x54b646(0x149)]);_0xa1bfba['name']+=',\x20'+_0x48ccac['name'];}else _0x198d69[_0x54b646(0x27c)](_0x48ccac[_0x54b646(0x149)],_0x48ccac);}),Array[_0x12f332(0x283)](_0x198d69[_0x12f332(0x25b)]());}var an=Object['getOwnPropertyDescriptor'],cn=(_0x42752c,_0x2be6f4,_0x207630,_0x4b543d)=>{for(var _0x1f6726=_0x4b543d>0x1?void 0x0:_0x4b543d?an(_0x2be6f4,_0x207630):_0x2be6f4,_0x36f4fa=_0x42752c['length']-0x1,_0x5d81e8;_0x36f4fa>=0x0;_0x36f4fa--)(_0x5d81e8=_0x42752c[_0x36f4fa])&&(_0x1f6726=_0x5d81e8(_0x1f6726)||_0x1f6726);return _0x1f6726;},k=(_0x47f78c,_0x16df77)=>(_0x3885c9,_0x3a6386)=>_0x16df77(_0x3885c9,_0x3a6386,_0x47f78c);let _e=class extends _0x1d29ae{constructor(_0x51b9f9,_0x526c65,_0x12c978,_0x4f13c1,_0x5cefdb,_0x46d74c){const _0x433f34=_0x1b8043;super(),this['_beforeCloseService']=_0x51b9f9,this[_0x433f34(0x343)]=_0x526c65,this[_0x433f34(0x218)]=_0x12c978,this[_0x433f34(0x243)]=_0x4f13c1,this['_notificationService']=_0x5cefdb,this[_0x433f34(0x258)]=_0x46d74c,this[_0x433f34(0x2c5)](),this['_initEvent']();}[_0x1b8043(0x2c5)](){const _0xe82ffb=_0x1b8043;this[_0xe82ffb(0x263)](this[_0xe82ffb(0x133)][_0xe82ffb(0x35a)](()=>{const _0xe2642f=_0xe82ffb;if(this['_localCacheService'][_0xe2642f(0x192)][_0xe2642f(0x16f)])return this[_0xe2642f(0x258)]['t'](_0xe2642f(0x34d));}));}[_0x1b8043(0x2d5)](){const _0x6324c8=_0x1b8043;this[_0x6324c8(0x263)](this[_0x6324c8(0x218)][_0x6324c8(0x1e9)][_0x6324c8(0x29b)](_0x144df5=>{const _0x20fcd5=_0x6324c8;_0x144df5['id']===_0x43adc3['OTHER_CLIENT_EDITING']&&this[_0x20fcd5(0x243)][_0x20fcd5(0x176)]({'type':_0x7638a0[_0x20fcd5(0x20d)],'content':this[_0x20fcd5(0x258)]['t'](_0x20fcd5(0x1fa))}),_0x144df5['id']===_0x43adc3[_0x20fcd5(0x1fe)]&&this[_0x20fcd5(0x243)]['show']({'type':_0x7638a0[_0x20fcd5(0x20d)],'content':this['_localeService']['t'](_0x20fcd5(0x15b))}),_0x144df5['id']===_0x43adc3[_0x20fcd5(0x128)]&&this[_0x20fcd5(0x321)][_0x20fcd5(0x176)]({'title':this['_localeService']['t'](_0x20fcd5(0x345)),'content':this['_localeService']['t'](_0x20fcd5(0x23c)),'type':_0x20fcd5(0x2fb),'duration':0x0}),_0x144df5['id']===_0x43adc3[_0x20fcd5(0x25f)]&&this[_0x20fcd5(0x243)][_0x20fcd5(0x176)]({'type':_0x7638a0['Error'],'content':this[_0x20fcd5(0x258)]['t'](_0x20fcd5(0x15b))+'('+_0x144df5[_0x20fcd5(0x231)]+')'}),_0x144df5['id']===_0x43adc3['JOIN_ROOM_FAILED']&&this[_0x20fcd5(0x243)][_0x20fcd5(0x176)]({'type':_0x7638a0[_0x20fcd5(0x20d)],'content':this[_0x20fcd5(0x258)]['t'](_0x144df5['data']||'')}),_0x144df5['id']===_0x43adc3[_0x20fcd5(0x34b)]&&this['_messageService'][_0x20fcd5(0x176)]({'type':_0x7638a0[_0x20fcd5(0x20d)],'content':this['_localeService']['t']('session.will-retry')}),_0x144df5['id']===_0x43adc3['SOCKET_FAILED']&&this[_0x20fcd5(0x243)][_0x20fcd5(0x176)]({'type':_0x7638a0[_0x20fcd5(0x24f)],'content':this[_0x20fcd5(0x258)]['t'](_0x20fcd5(0x13c))}),_0x144df5['id']===_0x43adc3[_0x20fcd5(0x198)]&&this['_messageService']['show']({'type':_0x7638a0[_0x20fcd5(0x24f)],'content':this[_0x20fcd5(0x258)]['t'](_0x20fcd5(0x265))});}));}};_e=cn([k(0x0,_0x4767f1),k(0x1,_0x32e03e),k(0x2,_0x147344(_0x21e659)),k(0x3,_0x1f4c60),k(0x4,_0x3e3c26),k(0x5,_0x147344(_0x2aad17))],_e);var _n=Object[_0x1b8043(0x188)],ln=(_0x39eca0,_0xb810ed,_0x42c804,_0xe2d9bb)=>{const _0x3b4ac1=_0x1b8043;for(var _0x43f144=_0xe2d9bb>0x1?void 0x0:_0xe2d9bb?_n(_0xb810ed,_0x42c804):_0xb810ed,_0xf664c7=_0x39eca0[_0x3b4ac1(0x31d)]-0x1,_0x2772f;_0xf664c7>=0x0;_0xf664c7--)(_0x2772f=_0x39eca0[_0xf664c7])&&(_0x43f144=_0x2772f(_0x43f144)||_0x43f144);return _0x43f144;},ne=(_0x3fe57b,_0x4a9d31)=>(_0x182585,_0x30b003)=>_0x4a9d31(_0x182585,_0x30b003,_0x3fe57b);let le=class extends _0x1d29ae{constructor(_0x544b8a,_0x7d1356,_0x42eedc,_0x9bbcdc){const _0x119c1a=_0x1b8043;super(),_(this,'_memberID'),(this[_0x119c1a(0x19b)]=_0x544b8a,this[_0x119c1a(0x200)]=_0x7d1356,this[_0x119c1a(0x30b)]=_0x42eedc,this[_0x119c1a(0x281)]=_0x9bbcdc,this[_0x119c1a(0x37c)]());}[_0x1b8043(0x37c)](){const _0x33cdac=_0x1b8043;this['_initWindowErrorListener'](),this[_0x33cdac(0x150)](),this[_0x33cdac(0x333)](),this['_initUserListener']();}['_initUserListener'](){const _0x341da0=_0x1b8043;this[_0x341da0(0x263)](this['_collaborationSessionService'][_0x341da0(0x214)][_0x341da0(0x29b)](_0x3bd962=>{const _0x13f0b9=_0x341da0;this[_0x13f0b9(0x28c)]=_0x3bd962==null?void 0x0:_0x3bd962[_0x13f0b9(0x253)];}));}[_0x1b8043(0x249)](){const _0x382a67=_0x1b8043,_0x38d3ae=_0x12e095=>{const _0x52288c=_0x4244;var _0x2eb48a;this[_0x52288c(0x158)](_0x52288c(0x2fb),'[Window\x20Error]:\x20'+_0x12e095['message']+_0x52288c(0x131)+_0x12e095[_0x52288c(0x147)]+':'+_0x12e095['lineno']+':'+_0x12e095['colno']+'\x0a'+(((_0x2eb48a=_0x12e095['error'])==null?void 0x0:_0x2eb48a[_0x52288c(0x269)])||''));};window[_0x382a67(0x1b4)](_0x382a67(0x2fb),_0x38d3ae),this[_0x382a67(0x263)](()=>{window['removeEventListener']('error',_0x38d3ae);});}['_initUnhandledRejectionListener'](){const _0x354768=_0x1b8043,_0x1e66dc=_0x50ada0=>{const _0x3c2491=_0x4244;this['_uploadLog']('error',_0x3c2491(0x33e)+_0x50ada0['reason']);};window['addEventListener'](_0x354768(0x235),_0x1e66dc),this['disposeWithMe'](()=>{const _0x5435c6=_0x354768;window[_0x5435c6(0x241)](_0x5435c6(0x235),_0x1e66dc);});}[_0x1b8043(0x333)](){const _0x3254d8=_0x1b8043,_0x2a67f6=this[_0x3254d8(0x30b)][_0x3254d8(0x2fb)]['bind'](this[_0x3254d8(0x30b)]);this[_0x3254d8(0x30b)][_0x3254d8(0x2fb)]=(..._0x59bf50)=>{const _0x2e71ce=_0x3254d8,_0x4df003=_0x59bf50['map'](_0x708f58=>_0x708f58 instanceof Error?_0x708f58['message']+'\x0a'+_0x708f58[_0x2e71ce(0x269)]:String(_0x708f58))[_0x2e71ce(0x1ea)]('\x20');this['_uploadLog']('error','[LogService\x20Error]:\x20'+_0x4df003),_0x2a67f6(..._0x59bf50);},this['disposeWithMe'](()=>{const _0xb7e006=_0x3254d8;this[_0xb7e006(0x30b)][_0xb7e006(0x2fb)]=_0x2a67f6;});}[_0x1b8043(0x158)](_0x5291f3,_0x5c281e){const _0x53909e=_0x1b8043;try{const _0x23676a={'userId':this[_0x53909e(0x28c)],'logLabel':_0x5291f3,'content':_0x5c281e};this[_0x53909e(0x200)][_0x53909e(0x334)](_0x53909e(0x320),{'body':_0x23676a})['catch'](()=>{});}catch{}}};le=ln([ne(0x0,_0x147344(_0x144e44)),ne(0x1,_0x147344(_0x343b07)),ne(0x2,_0x38f64b),ne(0x3,_0x147344(_0x2a09d4))],le);const hn=_0x1b8043(0x279),_t={};var un=Object[_0x1b8043(0x188)],dn=(_0xd3aa29,_0x234a9b,_0x1be02c,_0xe86c96)=>{const _0x2f1021=_0x1b8043;for(var _0x4b19a1=_0xe86c96>0x1?void 0x0:_0xe86c96?un(_0x234a9b,_0x1be02c):_0x234a9b,_0x4f69e9=_0xd3aa29[_0x2f1021(0x31d)]-0x1,_0x3d4082;_0x4f69e9>=0x0;_0x4f69e9--)(_0x3d4082=_0xd3aa29[_0x4f69e9])&&(_0x4b19a1=_0x3d4082(_0x4b19a1)||_0x4b19a1);return _0x4b19a1;},lt=(_0x29a810,_0x520e0b)=>(_0x3b66c7,_0x25fe96)=>_0x520e0b(_0x3b66c7,_0x25fe96,_0x29a810);let he=class{constructor(_0x53bc7c,_0x1516ac){const _0x4b5fe3=_0x1b8043;this[_0x4b5fe3(0x335)]=_0x53bc7c,this[_0x4b5fe3(0x256)]=_0x1516ac;}['transformIMECache'](_0x4af86c){const _0xfac692=_0x1b8043;this[_0xfac692(0x32e)](_0x4af86c),this[_0xfac692(0x2c7)](_0x4af86c);}[_0x1b8043(0x205)](_0x5cfa78){const _0x1d0372=_0x1b8043,{unitID:_0x1d4894}=_0x5cfa78,_0x36efa2=this[_0x1d0372(0x256)][_0x1d0372(0x230)](_0x1d4894)[_0x1d0372(0x2e9)](_0x38b2c3),{redoCache:_0x651fc2}=_0x36efa2[_0x1d0372(0x1d6)]();if(_0x651fc2['length']===0x0)return _0x5cfa78;let _0x4d3453=_0x2be55f[_0x1d0372(0x154)](_0x5cfa78[_0x1d0372(0x1c3)][0x0]);for(let _0x1683b8=0x0;_0x1683b8<_0x651fc2['length'];_0x1683b8++){const _0x4235d4={'id':_0x1d0372(0x36e),'params':{..._0x651fc2[_0x1683b8]}},_0x1e488e=this['_transformService']['transformMutation'](_0x4d3453,_0x4235d4,!0x1);if(_0x249201(_0x1e488e))throw _0x1e488e[_0x1d0372(0x2fb)];_0x4d3453=_0x1e488e[_0x1d0372(0x378)];}return{..._0x2be55f['deepClone'](_0x5cfa78),'mutations':[_0x4d3453]};}[_0x1b8043(0x32e)](_0x3992dc){const _0x3d85e9=_0x1b8043,{unitID:_0x5f1bc2}=_0x3992dc,_0x469d61=this[_0x3d85e9(0x256)]['getRenderById'](_0x5f1bc2)[_0x3d85e9(0x2e9)](_0x38b2c3),{undoCache:_0x259db2,redoCache:_0x5941c7}=_0x469d61[_0x3d85e9(0x1d6)]();if(_0x259db2[_0x3d85e9(0x31d)]===0x0||_0x5941c7[_0x3d85e9(0x31d)]===0x0)return;const _0x45e56e=[],_0x374996=[];let _0x50120e=_0x2be55f[_0x3d85e9(0x154)](_0x3992dc[_0x3d85e9(0x1c3)][0x0]),_0xfc26f8=_0x2be55f[_0x3d85e9(0x154)](_0x3992dc[_0x3d85e9(0x1c3)][0x0]);for(let _0xa2533d=_0x259db2['length']-0x1;_0xa2533d>=0x0;_0xa2533d--){const _0x5db1dc={'id':_0x3d85e9(0x36e),'params':{..._0x259db2[_0xa2533d]}},_0x4af0cc={'id':'doc.mutation.rich-text-editing','params':{..._0x5941c7[_0xa2533d]}},_0x5778a7=this[_0x3d85e9(0x335)]['transformMutation'](_0x50120e,_0x5db1dc,!0x1),_0x3084fe=this['_transformService'][_0x3d85e9(0x20c)](_0xfc26f8,_0x4af0cc,!0x1);if(_0x249201(_0x5778a7))throw _0x5778a7[_0x3d85e9(0x2fb)];if(_0x249201(_0x3084fe))throw _0x3084fe[_0x3d85e9(0x2fb)];_0x45e56e[_0x3d85e9(0x174)](_0x5778a7[_0x3d85e9(0x17d)]['params']),_0x374996[_0x3d85e9(0x174)](_0x3084fe[_0x3d85e9(0x17d)]['params']),_0x50120e=_0x5778a7[_0x3d85e9(0x378)],_0xfc26f8=_0x3084fe['m1Prime'];}_0x469d61['setUndoRedoMutationParamsCache']({'undoCache':_0x45e56e,'redoCache':_0x374996});}['_transformPreviousActiveRange'](_0x2a4feb){const _0x5f3d9c=_0x1b8043,{unitID:_0x2202a0}=_0x2a4feb,_0x4e9867=this[_0x5f3d9c(0x256)][_0x5f3d9c(0x230)](_0x2202a0)[_0x5f3d9c(0x2e9)](_0x38b2c3),_0x1248c0=_0x4e9867['getActiveRange']();if(_0x1248c0==null)return;const _0x5a8d73=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2a4feb['unitID'],'actions':null,'textRanges':[_0x1248c0]}}],_0x21558e=this[_0x5f3d9c(0x335)][_0x5f3d9c(0x2de)](_0x2a4feb,_0x5a8d73);if(!_0x196d24(_0x21558e))throw _0x21558e['error'];const _0x237a78=_0x21558e[_0x5f3d9c(0x17d)][0x0][_0x5f3d9c(0x132)][_0x5f3d9c(0x30d)];Array['isArray'](_0x237a78)&&_0x237a78[_0x5f3d9c(0x31d)]&&_0x4e9867['setActiveRange'](_0x237a78[0x0]);}};he=dn([lt(0x0,_0x430b12),lt(0x1,_0x1467e6)],he);var Sn=Object['getOwnPropertyDescriptor'],In=(_0x227a29,_0x5965c5,_0x214ec2,_0xed2dad)=>{const _0x1f60c5=_0x1b8043;for(var _0x50907c=_0xed2dad>0x1?void 0x0:_0xed2dad?Sn(_0x5965c5,_0x214ec2):_0x5965c5,_0x4ae117=_0x227a29[_0x1f60c5(0x31d)]-0x1,_0x1d1143;_0x4ae117>=0x0;_0x4ae117--)(_0x1d1143=_0x227a29[_0x4ae117])&&(_0x50907c=_0x1d1143(_0x50907c)||_0x50907c);return _0x50907c;},Le=(_0x1d5998,_0x2121d4)=>(_0x3d5bf3,_0x5cf21e)=>_0x2121d4(_0x3d5bf3,_0x5cf21e,_0x1d5998);let ue=class{constructor(_0x264a67,_0x1330fe,_0x17d41c){const _0x21d31a=_0x1b8043;this[_0x21d31a(0x19b)]=_0x264a67,this[_0x21d31a(0x335)]=_0x1330fe,this[_0x21d31a(0x2e7)]=_0x17d41c;}[_0x1b8043(0x1d9)](_0x3c8c41){const _0x2be353=_0x1b8043;this[_0x2be353(0x142)](_0x3c8c41);}['transformRemoteChangeset'](_0x1fd79e){const _0x1ea2ff=_0x1b8043,{unitID:_0x2b6680}=_0x1fd79e,{collaboration:_0x2c80f8}=this['_docStateChangeManagerService'][_0x1ea2ff(0x2ef)](_0x2b6680);if(_0x2c80f8['length']===0x0)return _0x1fd79e;let _0x282205=_0x2be55f['deepClone'](_0x1fd79e[_0x1ea2ff(0x1c3)][0x0]);for(let _0x4fce65=0x0;_0x4fce65<_0x2c80f8[_0x1ea2ff(0x31d)];_0x4fce65++){const _0x75d1ad={'id':_0x1ea2ff(0x36e),'params':{'unitId':_0x2c80f8[_0x4fce65][_0x1ea2ff(0x14a)],..._0x2c80f8[_0x4fce65][_0x1ea2ff(0x322)]}},_0x589bec=this[_0x1ea2ff(0x335)]['transformMutation'](_0x282205,_0x75d1ad,!0x1);if(_0x249201(_0x589bec))throw _0x589bec['error'];_0x282205=_0x589bec[_0x1ea2ff(0x378)];}return{..._0x2be55f[_0x1ea2ff(0x154)](_0x1fd79e),'mutations':[_0x282205]};}['_transformHistoryAndStateStack'](_0xbf3d87){const _0x1bf1ba=_0x1b8043,{unitID:_0x5fd18c}=_0xbf3d87,{history:_0x1b6d91,collaboration:_0x18fbe5}=this['_docStateChangeManagerService'][_0x1bf1ba(0x2ef)](_0x5fd18c);if(_0x1b6d91['length']===0x0&&_0x18fbe5[_0x1bf1ba(0x31d)]===0x0)return;const _0x51c9a8=[],_0x282b55=[];let _0x2863d4=_0x2be55f[_0x1bf1ba(0x154)](_0xbf3d87['mutations'][0x0]),_0xc59f91=_0x2be55f[_0x1bf1ba(0x154)](_0xbf3d87[_0x1bf1ba(0x1c3)][0x0]);for(let _0x1c6d9b=_0x1b6d91['length']-0x1;_0x1c6d9b>=0x0;_0x1c6d9b--){const _0x50d6e5={'id':_0x1bf1ba(0x36e),'params':{'unitId':_0x1b6d91[_0x1c6d9b][_0x1bf1ba(0x14a)],..._0x1b6d91[_0x1c6d9b][_0x1bf1ba(0x134)]}},_0x40b049={'id':_0x1bf1ba(0x36e),'params':{'unitId':_0x1b6d91[_0x1c6d9b][_0x1bf1ba(0x14a)],..._0x1b6d91[_0x1c6d9b][_0x1bf1ba(0x322)]}},_0xcef1ef=this[_0x1bf1ba(0x335)][_0x1bf1ba(0x20c)](_0x2863d4,_0x50d6e5,!0x1),_0x1d231d=this[_0x1bf1ba(0x335)][_0x1bf1ba(0x20c)](_0xc59f91,_0x40b049,!0x1);if(_0x249201(_0xcef1ef))throw _0xcef1ef[_0x1bf1ba(0x2fb)];if(_0x249201(_0x1d231d))throw _0x1d231d[_0x1bf1ba(0x2fb)];_0x51c9a8['unshift']({..._0x1b6d91[_0x1c6d9b],'undoState':_0xcef1ef[_0x1bf1ba(0x17d)]['params'],'redoState':_0x1d231d['m2Prime'][_0x1bf1ba(0x132)]}),_0x2863d4=_0xcef1ef[_0x1bf1ba(0x378)],_0xc59f91=_0x1d231d[_0x1bf1ba(0x378)];}_0x2863d4=_0x2be55f[_0x1bf1ba(0x154)](_0xbf3d87['mutations'][0x0]),_0xc59f91=_0x2be55f['deepClone'](_0xbf3d87[_0x1bf1ba(0x1c3)][0x0]);for(let _0x40cd38=_0x18fbe5['length']-0x1;_0x40cd38>=0x0;_0x40cd38--){const _0x18fd16={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x18fbe5[_0x40cd38][_0x1bf1ba(0x14a)],..._0x18fbe5[_0x40cd38][_0x1bf1ba(0x134)]}},_0x22c8da={'id':_0x1bf1ba(0x36e),'params':{'unitId':_0x18fbe5[_0x40cd38][_0x1bf1ba(0x14a)],..._0x18fbe5[_0x40cd38]['redoState']}},_0x74a6c6=this[_0x1bf1ba(0x335)][_0x1bf1ba(0x20c)](_0x2863d4,_0x18fd16,!0x1),_0x5a82e5=this['_transformService'][_0x1bf1ba(0x20c)](_0xc59f91,_0x22c8da,!0x1);if(_0x249201(_0x74a6c6))throw _0x74a6c6[_0x1bf1ba(0x2fb)];if(_0x249201(_0x5a82e5))throw _0x5a82e5[_0x1bf1ba(0x2fb)];_0x282b55['unshift']({..._0x18fbe5[_0x40cd38],'undoState':_0x74a6c6['m2Prime'][_0x1bf1ba(0x132)],'redoState':_0x5a82e5[_0x1bf1ba(0x17d)][_0x1bf1ba(0x132)]}),_0x2863d4=_0x74a6c6[_0x1bf1ba(0x378)],_0xc59f91=_0x5a82e5['m1Prime'];}this[_0x1bf1ba(0x2e7)]['setStateCache'](_0x5fd18c,{'history':_0x51c9a8,'collaboration':_0x282b55});}};ue=In([Le(0x0,_0x147344(_0x144e44)),Le(0x1,_0x430b12),Le(0x2,_0x147344(_0x133313))],ue);var mn=Object[_0x1b8043(0x188)],fn=(_0x4d23cd,_0x205630,_0x37a4d9,_0x320a8f)=>{for(var _0xa1339e=_0x320a8f>0x1?void 0x0:_0x320a8f?mn(_0x205630,_0x37a4d9):_0x205630,_0x2785fd=_0x4d23cd['length']-0x1,_0x40498b;_0x2785fd>=0x0;_0x2785fd--)(_0x40498b=_0x4d23cd[_0x2785fd])&&(_0xa1339e=_0x40498b(_0xa1339e)||_0xa1339e);return _0xa1339e;},ht=(_0x189466,_0x4aab77)=>(_0x45d1ae,_0x425496)=>_0x4aab77(_0x45d1ae,_0x425496,_0x189466);let de=class{constructor(_0x4be140,_0x6db721){const _0x3735e4=_0x1b8043;this[_0x3735e4(0x19b)]=_0x4be140,this['_transformService']=_0x6db721;}[_0x1b8043(0x277)](_0x29bf9c){const _0x51004c=_0x1b8043;var _0x3415e2;const _0x1ea79b=this['_injector']['get'](_0x1f2dad),_0x22ee2a=(_0x3415e2=_0x1ea79b[_0x51004c(0x1c8)]())!=null?_0x3415e2:[];if(_0x22ee2a[_0x51004c(0x31d)]===0x0)return;const _0x17ea32=_0x29bf9c[_0x51004c(0x387)],_0xedf28=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x17ea32,'actions':null,'textRanges':_0x22ee2a}}],_0x53302d=this[_0x51004c(0x335)][_0x51004c(0x2de)](_0x29bf9c,_0xedf28);if(!_0x196d24(_0x53302d))throw _0x53302d['error'];const _0x5c4af8=_0x53302d[_0x51004c(0x17d)][0x0][_0x51004c(0x132)][_0x51004c(0x30d)];Array[_0x51004c(0x1ef)](_0x5c4af8)&&_0x5c4af8[_0x51004c(0x31d)]&&_0x1ea79b[_0x51004c(0x1b3)](_0x5c4af8,{'unitId':_0x17ea32,'subUnitId':_0x17ea32},!0x1);}};de=fn([ht(0x0,_0x147344(_0x144e44)),ht(0x1,_0x430b12)],de);var gn=Object[_0x1b8043(0x188)],vn=(_0xcd6130,_0x36c21e,_0x44e8fb,_0x43ffef)=>{const _0x75b9b2=_0x1b8043;for(var _0x56aa6b=_0x43ffef>0x1?void 0x0:_0x43ffef?gn(_0x36c21e,_0x44e8fb):_0x36c21e,_0x5ef683=_0xcd6130[_0x75b9b2(0x31d)]-0x1,_0x3a1a33;_0x5ef683>=0x0;_0x5ef683--)(_0x3a1a33=_0xcd6130[_0x5ef683])&&(_0x56aa6b=_0x3a1a33(_0x56aa6b)||_0x56aa6b);return _0x56aa6b;},U=(_0x11738e,_0x32838c)=>(_0x3c5553,_0x58aa58)=>_0x32838c(_0x3c5553,_0x58aa58,_0x11738e);let Se=class extends _0x1d29ae{constructor(_0x18445f,_0x1b381b,_0x3d4424,_0x520ee2,_0x549ec9,_0x416d53,_0x4e1c52,_0x5ad7bc){const _0x18afe2=_0x1b8043;super(),_(this,'_status$',new _0x48c4f5(_0x421064[_0x18afe2(0x312)])),(this[_0x18afe2(0x2e7)]=_0x18445f,this[_0x18afe2(0x31a)]=_0x1b381b,this[_0x18afe2(0x377)]=_0x3d4424,this[_0x18afe2(0x15e)]=_0x520ee2,this['_docTransformSelectionsService']=_0x549ec9,this[_0x18afe2(0x240)]=_0x416d53,this['_messageService']=_0x4e1c52,this[_0x18afe2(0x258)]=_0x5ad7bc,this[_0x18afe2(0x19d)]());}[_0x1b8043(0x19d)](){const _0x1a81ab=_0x1b8043;this[_0x1a81ab(0x263)](this['_collaborationController'][_0x1a81ab(0x16c)]['subscribe'](_0x322389=>{const _0x426775=_0x1a81ab,_0xea3693=this[_0x426775(0x2e7)][_0x426775(0x1ad)]['subscribe'](_0x4ef568=>{const _0x3521d8=_0x426775;if(_0x4ef568==null)return;const {unitId:_0xd5ec26,redoState:_0x2fa026,commandId:_0x1590a2}=_0x4ef568;if(_0xd5ec26!==_0x322389[_0x3521d8(0x387)])return;const _0x259804={'id':_0x1590a2,'type':_0x1dfb22[_0x3521d8(0x18c)],'params':{'unitId':_0xd5ec26,'actions':_0x2fa026[_0x3521d8(0x2e1)],'textRanges':null}};_0x322389['onLocalMutation'](_0x259804);});if(_0x322389[_0x426775(0x263)](_0xea3693),_0x322389 instanceof _0x59949e){const _0x5c8594={'onTransformIME':_0x3f51c2=>this[_0x426775(0x377)][_0x426775(0x35b)](_0x3f51c2),'onTransformState':_0x32330c=>this[_0x426775(0x15e)][_0x426775(0x1d9)](_0x32330c),'onTransformSelections':_0x59e4d2=>this[_0x426775(0x215)][_0x426775(0x277)](_0x59e4d2),'onSyncEditingCollabCursor':_0x5a0a09=>this['_docSyncEditingCollabCursorService'][_0x426775(0x27a)](_0x5a0a09),'onTransformRemoteChangesetByIMECache':_0x5d382d=>this['_docTransformIMECacheService'][_0x426775(0x205)](_0x5d382d),'onTransformRemoteChangesetByStateCache':_0x92c27f=>this[_0x426775(0x15e)][_0x426775(0x205)](_0x92c27f)};_0x322389[_0x426775(0x2ca)](_0x5c8594);}}));}};Se=vn([U(0x0,_0x147344(_0x133313)),U(0x1,_0x147344(_0x590cd2)),U(0x2,_0x147344(he)),U(0x3,_0x147344(ue)),U(0x4,_0x147344(de)),U(0x5,_0x147344(ze)),U(0x6,_0x1f4c60),U(0x7,_0x147344(_0x2aad17))],Se);var Z=(_0x2734f3=>(_0x2734f3[_0x2734f3[_0x1b8043(0x359)]=0x0]=_0x1b8043(0x359),_0x2734f3[_0x2734f3['OK']=0x1]='OK',_0x2734f3[_0x2734f3[_0x1b8043(0x2e0)]=0x2]=_0x1b8043(0x2e0),_0x2734f3[_0x2734f3[_0x1b8043(0x128)]=0x3]=_0x1b8043(0x128),_0x2734f3[_0x2734f3[_0x1b8043(0x210)]=0x4]=_0x1b8043(0x210),_0x2734f3[_0x2734f3[_0x1b8043(0x1aa)]=0x5]=_0x1b8043(0x1aa),_0x2734f3[_0x2734f3[_0x1b8043(0x297)]=0x6]='ALREADY_EXISTS',_0x2734f3[_0x2734f3['INVALID_ARGUMENT']=0x7]=_0x1b8043(0x314),_0x2734f3[_0x2734f3[_0x1b8043(0x1bf)]=0x8]=_0x1b8043(0x1bf),_0x2734f3[_0x2734f3[_0x1b8043(0x25a)]=0x9]=_0x1b8043(0x25a),_0x2734f3[_0x2734f3['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x2734f3[_0x2734f3[_0x1b8043(0x340)]=0xb]=_0x1b8043(0x340),_0x2734f3[_0x2734f3[_0x1b8043(0x126)]=0xc]=_0x1b8043(0x126),_0x2734f3[_0x2734f3[_0x1b8043(0x151)]=0xd]=_0x1b8043(0x151),_0x2734f3[_0x2734f3[_0x1b8043(0x360)]=0xe]=_0x1b8043(0x360),_0x2734f3[_0x2734f3[_0x1b8043(0x2fc)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x2734f3[_0x2734f3[_0x1b8043(0x1a8)]=0x10]=_0x1b8043(0x1a8),_0x2734f3[_0x2734f3['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x1b8043(0x1b5),_0x2734f3[_0x2734f3[_0x1b8043(0x260)]=0x65]=_0x1b8043(0x260),_0x2734f3[_0x2734f3['USER_NOT_FOUND']=0xc9]=_0x1b8043(0x178),_0x2734f3[_0x2734f3[_0x1b8043(0x299)]=0xca]=_0x1b8043(0x299),_0x2734f3[_0x2734f3[_0x1b8043(0x307)]=0x1389]=_0x1b8043(0x307),_0x2734f3[_0x2734f3['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x1b8043(0x169),_0x2734f3[_0x2734f3[_0x1b8043(0x1b8)]=0x1772]=_0x1b8043(0x1b8),_0x2734f3[_0x2734f3[_0x1b8043(0x2f4)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x2734f3[_0x2734f3[_0x1b8043(0x35e)]=0x1b59]='APPLY_REJECT',_0x2734f3[_0x2734f3[_0x1b8043(0x37a)]=0x1b5a]=_0x1b8043(0x37a),_0x2734f3[_0x2734f3['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x2734f3[_0x2734f3[_0x1b8043(0x319)]=0x1b5c]=_0x1b8043(0x319),_0x2734f3[_0x2734f3[_0x1b8043(0x153)]=0x1b5d]=_0x1b8043(0x153),_0x2734f3[_0x2734f3[_0x1b8043(0x2dc)]=0x1f41]=_0x1b8043(0x2dc),_0x2734f3[_0x2734f3[_0x1b8043(0x145)]=0x2329]=_0x1b8043(0x145),_0x2734f3[_0x2734f3[_0x1b8043(0x304)]=0x232a]=_0x1b8043(0x304),_0x2734f3[_0x2734f3[_0x1b8043(0x35f)]=0x232b]=_0x1b8043(0x35f),_0x2734f3[_0x2734f3[_0x1b8043(0x28f)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x2734f3[_0x2734f3[_0x1b8043(0x1d8)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x2734f3[_0x2734f3[_0x1b8043(0x16a)]=0x2711]=_0x1b8043(0x16a),_0x2734f3[_0x2734f3['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x1b8043(0x2d7),_0x2734f3[_0x2734f3[_0x1b8043(0x354)]=0x2713]=_0x1b8043(0x354),_0x2734f3[_0x2734f3[_0x1b8043(0x22f)]=0x2714]=_0x1b8043(0x22f),_0x2734f3[_0x2734f3[_0x1b8043(0x2ba)]=0x271a]=_0x1b8043(0x2ba),_0x2734f3[_0x2734f3[_0x1b8043(0x280)]=0x271b]=_0x1b8043(0x280),_0x2734f3[_0x2734f3['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x1b8043(0x293),_0x2734f3[_0x2734f3[_0x1b8043(0x2af)]=0x271d]=_0x1b8043(0x2af),_0x2734f3[_0x2734f3[_0x1b8043(0x222)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x2734f3[_0x2734f3[_0x1b8043(0x28b)]=0x271f]=_0x1b8043(0x28b),_0x2734f3[_0x2734f3[_0x1b8043(0x17f)]=0x2720]=_0x1b8043(0x17f),_0x2734f3[_0x2734f3[_0x1b8043(0x2db)]=0x2af9]=_0x1b8043(0x2db),_0x2734f3[_0x2734f3[_0x1b8043(0x291)]=0x2ee1]=_0x1b8043(0x291),_0x2734f3[_0x2734f3[_0x1b8043(0x17b)]=0x2ee2]=_0x1b8043(0x17b),_0x2734f3[_0x2734f3[_0x1b8043(0x1ee)]=0x2ee3]=_0x1b8043(0x1ee),_0x2734f3[_0x2734f3[_0x1b8043(0x26a)]=0x2ee4]=_0x1b8043(0x26a),_0x2734f3[_0x2734f3[_0x1b8043(0x20a)]=0x2ee5]=_0x1b8043(0x20a),_0x2734f3[_0x2734f3[_0x1b8043(0x2fd)]=0x32c9]=_0x1b8043(0x2fd),_0x2734f3[_0x2734f3[_0x1b8043(0x197)]=0x32ca]=_0x1b8043(0x197),_0x2734f3[_0x2734f3[_0x1b8043(0x24c)]=0x32cb]=_0x1b8043(0x24c),_0x2734f3[_0x2734f3[_0x1b8043(0x1ff)]=0x36b1]=_0x1b8043(0x1ff),_0x2734f3[_0x2734f3['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0x1b8043(0x2b6),_0x2734f3[_0x2734f3[_0x1b8043(0x18b)]=0x36b3]=_0x1b8043(0x18b),_0x2734f3[_0x2734f3['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x1b8043(0x1cb),_0x2734f3[_0x2734f3['ENTITLE_INVALID_COUPON_CODE']=0x36b5]=_0x1b8043(0x246),_0x2734f3[_0x2734f3[_0x1b8043(0x351)]=0x36b6]=_0x1b8043(0x351),_0x2734f3[_0x2734f3[_0x1b8043(0x323)]=0x36b7]='ENTITLE_COUPON_USED_UP',_0x2734f3[_0x2734f3[_0x1b8043(0x28a)]=0x36b8]=_0x1b8043(0x28a),_0x2734f3[_0x2734f3[_0x1b8043(0x2ac)]=0x3715]=_0x1b8043(0x2ac),_0x2734f3[_0x2734f3['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x2734f3[_0x2734f3['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x2734f3[_0x2734f3[_0x1b8043(0x257)]=0x37dd]=_0x1b8043(0x257),_0x2734f3[_0x2734f3['REDEMPTION_INVALID_CODE']=0x3a99]='REDEMPTION_INVALID_CODE',_0x2734f3[_0x2734f3['REDEMPTION_CODE_INACTIVE']=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x2734f3[_0x2734f3[_0x1b8043(0x1ce)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x2734f3[_0x2734f3[_0x1b8043(0x193)]=0x3a9c]=_0x1b8043(0x193),_0x2734f3[_0x2734f3[_0x1b8043(0x22a)]=0x3a9d]=_0x1b8043(0x22a),_0x2734f3[_0x2734f3['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x1b8043(0x2d0),_0x2734f3[_0x2734f3['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x1b8043(0x19e),_0x2734f3[_0x2734f3['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x1b8043(0x274),_0x2734f3[_0x2734f3[_0x1b8043(0x1ba)]=-0x1]=_0x1b8043(0x1ba),_0x2734f3))(Z||{});function En(_0x565ee3){const _0x2f1fba=_0x1b8043;var _0x5f522f,_0x26bb88;const _0x1373d8=(_0x5f522f=_0x565ee3[_0x2f1fba(0x20b)])==null?void 0x0:_0x5f522f['stage'],_0xf780b=((_0x26bb88=_0x565ee3[_0x2f1fba(0x20b)])==null?void 0x0:_0x26bb88[_0x2f1fba(0x282)])||0x0;return _0x1373d8===_0x4a05e2['START_CALCULATION']&&_0xf780b>0x0;}function Tn(_0x80d312){const _0x9dd2ae=_0x1b8043;return _0x80d312[_0x9dd2ae(0x14d)]===_0x38af20[_0x9dd2ae(0x23d)];}var pn=Object[_0x1b8043(0x188)],On=(_0xe8e1bb,_0x14fdb7,_0x4c8719,_0x185ecd)=>{const _0x10e0dd=_0x1b8043;for(var _0x3fed4d=_0x185ecd>0x1?void 0x0:_0x185ecd?pn(_0x14fdb7,_0x4c8719):_0x14fdb7,_0x352aac=_0xe8e1bb[_0x10e0dd(0x31d)]-0x1,_0xb77d2;_0x352aac>=0x0;_0x352aac--)(_0xb77d2=_0xe8e1bb[_0x352aac])&&(_0x3fed4d=_0xb77d2(_0x3fed4d)||_0x3fed4d);return _0x3fed4d;},P=(_0x4653cb,_0x18ef59)=>(_0x4a8cda,_0x27b5ce)=>_0x18ef59(_0x4a8cda,_0x27b5ce,_0x4653cb);const Cn=_0x1b8043(0x17c),Rn=_0x1b8043(0x2f1),bn='/universer-api/license/formula/limit/done';let Ie=class extends _0x1d29ae{constructor(_0x4ecbae,_0x46667d,_0x4009ae,_0x156d9e,_0x55d1ef,_0x23ff17,_0x2612b9){const _0x273d7d=_0x1b8043;super(),_(this,_0x273d7d(0x331),null),_(this,_0x273d7d(0x332),0x0),_(this,_0x273d7d(0x2bd),0x0),_(this,_0x273d7d(0x1e7),[]),_(this,_0x273d7d(0x20f),0x0),(this[_0x273d7d(0x243)]=_0x4ecbae,this[_0x273d7d(0x237)]=_0x46667d,this['_configService']=_0x4009ae,this['_httpService']=_0x156d9e,this['_univerInstanceService']=_0x55d1ef,this[_0x273d7d(0x30b)]=_0x23ff17,this[_0x273d7d(0x258)]=_0x2612b9,this[_0x273d7d(0x2a0)]());}[_0x1b8043(0x2a0)](){const _0x29cfe4=_0x1b8043;this[_0x29cfe4(0x263)](this[_0x29cfe4(0x237)][_0x29cfe4(0x356)]((_0x40bcb9,_0xe84bd0)=>{const _0x29a7d9=_0x29cfe4;var _0x5a67bb;if(_0x40bcb9['id']!==_0x574b56['id'])return;const _0x2d74b7=_0x40bcb9['params'];if(!this[_0x29a7d9(0x1c1)]((_0x5a67bb=_0x2d74b7[_0x29a7d9(0x2fa)])!=null?_0x5a67bb:[]))return;if(!this[_0x29a7d9(0x1c9)]())throw this[_0x29a7d9(0x13a)](_0x40bcb9,_0xe84bd0),this[_0x29a7d9(0x141)](),new _0x429ca6();})),this[_0x29cfe4(0x263)](this[_0x29cfe4(0x237)]['onCommandExecuted']((_0x5d050e,_0x16e72e)=>{const _0x4928d3=_0x29cfe4;if(_0x5d050e['id']!==_0x27dfe8['id'])return;const _0x52d41a=_0x5d050e[_0x4928d3(0x132)];if(En(_0x52d41a)){const _0x10a964=_0x193eca();this['_taskIds'][_0x4928d3(0x251)](_0x10a964),this['_startCalculationLimit'](_0x10a964);}else{if(Tn(_0x52d41a)&&this[_0x4928d3(0x1e7)][_0x4928d3(0x31d)]>0x0){const _0x247de4=this[_0x4928d3(0x1e7)][_0x4928d3(0x2e8)]();this[_0x4928d3(0x30c)](_0x247de4);}}}));}[_0x1b8043(0x1ae)](){const _0xc271ea=_0x1b8043;super[_0xc271ea(0x1ae)](),this[_0xc271ea(0x379)](),this['_taskIds']=[],this[_0xc271ea(0x2bd)]=0x0,this[_0xc271ea(0x332)]=0x0,this[_0xc271ea(0x20f)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x519b09,_0x5885d8){const _0x5dc312=_0x1b8043;for(let _0x32e80c=0x0;_0x32e80c<0x1e;_0x32e80c++)try{if(await this[_0x5dc312(0x22d)](),this['_checkCalculationAvailable']()){this['_applyCommand'](_0x519b09,_0x5885d8),this[_0x5dc312(0x243)][_0x5dc312(0x176)]({'content':this[_0x5dc312(0x258)]['t']('formula.calculation.started'),'type':_0x7638a0['Success']});return;}await new Promise(_0x5ccc5c=>{const _0x2d41e2=_0x5dc312;this[_0x2d41e2(0x331)]=window[_0x2d41e2(0x24a)](_0x5ccc5c,0x3e8);});}catch(_0x4eaf22){this['_logService']['error'](_0x4eaf22);}this[_0x5dc312(0x243)][_0x5dc312(0x176)]({'content':this['_localeService']['t'](_0x5dc312(0x15d)),'type':_0x7638a0['Error']});}['_applyCommand'](_0x2672de,_0x26d5cc){const _0x50a0f6=_0x1b8043;try{this[_0x50a0f6(0x237)][_0x50a0f6(0x27e)](_0x2672de['id'],_0x2672de[_0x50a0f6(0x132)],_0x26d5cc);}catch(_0x359e9e){this[_0x50a0f6(0x30b)][_0x50a0f6(0x2fb)](_0x359e9e);}}['_setFormulaLimitStatus'](_0x279061,_0x20e5a0){const _0x439589=_0x1b8043;_0x20e5a0<this[_0x439589(0x20f)]||(this[_0x439589(0x20f)]=_0x20e5a0,this[_0x439589(0x332)]=Number[_0x439589(0x1eb)](_0x279061[_0x439589(0x2dd)]),this['_currentUsage']=Number[_0x439589(0x1eb)](_0x279061['currentUsage']));}async['_startCalculationLimit'](_0x3a9744){const _0x5b298d=_0x1b8043;var _0x120f59,_0x2eff75;const _0x4232a8=Date[_0x5b298d(0x2c6)]();try{const _0x33e5b7=((_0x120f59=this[_0x5b298d(0x276)][_0x5b298d(0x2b5)](_0x2befaa))==null?void 0x0:_0x120f59[_0x5b298d(0x1dd)])||Rn,_0x2f1e03=(await this[_0x5b298d(0x200)][_0x5b298d(0x334)](_0x33e5b7,{'body':JSON['stringify']({'taskId':_0x3a9744})}))['body'];if(((_0x2eff75=_0x2f1e03[_0x5b298d(0x2fb)])==null?void 0x0:_0x2eff75[_0x5b298d(0x353)])!==Z['OK'])return;this['_setFormulaLimitStatus'](_0x2f1e03[_0x5b298d(0x177)],_0x4232a8);}catch(_0x28eaf0){this['_logService'][_0x5b298d(0x2fb)](_0x28eaf0);}}async[_0x1b8043(0x22d)](_0x6b448b){const _0x322c70=_0x1b8043;var _0x3a3dd9,_0x399a9c;const _0x856e06=Date[_0x322c70(0x2c6)]();try{const _0x337d16=((_0x3a3dd9=this[_0x322c70(0x276)][_0x322c70(0x2b5)](_0x2befaa))==null?void 0x0:_0x3a3dd9['getFormulaLimitStatusUrl'])||Cn,_0x3ef88d=_0x6b448b?_0x337d16+'?taskId='+encodeURIComponent(_0x6b448b):_0x337d16,_0x42ac64=(await this['_httpService'][_0x322c70(0x298)](_0x3ef88d))[_0x322c70(0x31b)];if(((_0x399a9c=_0x42ac64[_0x322c70(0x2fb)])==null?void 0x0:_0x399a9c[_0x322c70(0x353)])!==Z['OK'])return;this[_0x322c70(0x162)](_0x42ac64[_0x322c70(0x177)],_0x856e06);}catch(_0x2e3c07){this[_0x322c70(0x30b)][_0x322c70(0x2fb)](_0x2e3c07);}}async[_0x1b8043(0x30c)](_0x2ea6dd){const _0x53e50d=_0x1b8043;var _0x51c40a,_0x3bfa70;const _0x3c6fe3=Date[_0x53e50d(0x2c6)]();try{const _0x5485cc=((_0x51c40a=this[_0x53e50d(0x276)][_0x53e50d(0x2b5)](_0x2befaa))==null?void 0x0:_0x51c40a[_0x53e50d(0x1db)])||bn,_0xde9fb6=(await this[_0x53e50d(0x200)][_0x53e50d(0x334)](_0x5485cc,{'body':JSON[_0x53e50d(0x1bc)]({'taskId':_0x2ea6dd})}))[_0x53e50d(0x31b)];if(((_0x3bfa70=_0xde9fb6[_0x53e50d(0x2fb)])==null?void 0x0:_0x3bfa70[_0x53e50d(0x353)])!==Z['OK'])return;this['_setFormulaLimitStatus'](_0xde9fb6[_0x53e50d(0x177)],_0x3c6fe3);}catch(_0x20543f){this['_logService'][_0x53e50d(0x2fb)](_0x20543f);}}['_checkCalculationAvailable'](){const _0x2e909e=_0x1b8043;return this[_0x2e909e(0x332)]===0x0?!0x0:this[_0x2e909e(0x332)]-this[_0x2e909e(0x2bd)]>0x0;}[_0x1b8043(0x379)](){const _0x25c883=_0x1b8043;this[_0x25c883(0x331)]&&(clearTimeout(this['_pollingInterval']),this[_0x25c883(0x331)]=null);}[_0x1b8043(0x141)](){const _0x1de172=_0x1b8043;this[_0x1de172(0x243)][_0x1de172(0x176)]({'content':this[_0x1de172(0x258)]['t']('formula.calculation.waiting'),'type':_0x7638a0[_0x1de172(0x136)]});}[_0x1b8043(0x1c1)](_0x1162c8){const _0x43df94=_0x1b8043;for(const _0x50a31a of _0x1162c8){const {unitId:_0x1c85e2,sheetId:_0x2a4e0f,range:_0x501689}=_0x50a31a,_0xb10d63=this[_0x43df94(0x13d)][_0x43df94(0x29d)](_0x1c85e2);if(!_0xb10d63)continue;const _0x4f21ab=_0xb10d63['getSheetBySheetId'](_0x2a4e0f);if(!_0x4f21ab)continue;const _0x43aaee=_0x4f21ab[_0x43df94(0x2a9)]();for(let _0x526e32=_0x501689[_0x43df94(0x212)];_0x526e32<=_0x501689[_0x43df94(0x2ed)];_0x526e32++)for(let _0x514498=_0x501689[_0x43df94(0x1a1)];_0x514498<=_0x501689['endColumn'];_0x514498++){const _0x1e5de8=_0x43aaee[_0x43df94(0x17a)](_0x526e32,_0x514498);if(_0x1e5de8&&(_0xb471c5(_0x1e5de8['f'])||_0x1cbd3c(_0x1e5de8['si'])))return!0x0;}}return!0x1;}};Ie=On([P(0x0,_0x147344(_0x1f4c60)),P(0x1,_0x2b20f4),P(0x2,_0x4bf411),P(0x3,_0x147344(_0x343b07)),P(0x4,_0x391315),P(0x5,_0x38f64b),P(0x6,_0x147344(_0x2aad17))],Ie);var Dn=Object[_0x1b8043(0x188)],Nn=(_0x5527dd,_0x58c4cd,_0x475e8d,_0x42640b)=>{for(var _0x38b04f=_0x42640b>0x1?void 0x0:_0x42640b?Dn(_0x58c4cd,_0x475e8d):_0x58c4cd,_0x286d51=_0x5527dd['length']-0x1,_0x256b4d;_0x286d51>=0x0;_0x286d51--)(_0x256b4d=_0x5527dd[_0x286d51])&&(_0x38b04f=_0x256b4d(_0x38b04f)||_0x38b04f);return _0x38b04f;},Ue=(_0x4aada9,_0x5b77d7)=>(_0x36dbe1,_0x22a43d)=>_0x5b77d7(_0x36dbe1,_0x22a43d,_0x4aada9);let Ye=class extends _0x1d29ae{constructor(_0x458741,_0x1166d8,_0x3e07f3){const _0x1158e6=_0x1b8043;super(),_(this,_0x1158e6(0x25c),new Map()),_(this,_0x1158e6(0x2b7),new Map()),_(this,_0x1158e6(0x36a),!0x1),(this[_0x1158e6(0x276)]=_0x458741,this[_0x1158e6(0x36c)]=_0x1166d8,this[_0x1158e6(0x1d5)]=_0x3e07f3);}[_0x1b8043(0x21c)](){const _0x5c24b3=_0x1b8043;this[_0x5c24b3(0x36a)]=!0x0;}[_0x1b8043(0x1cd)](){const _0x146e2f=_0x1b8043;this[_0x146e2f(0x36a)]=!0x1;}get[_0x1b8043(0x192)](){const _0x5465fa=_0x1b8043;return this[_0x5465fa(0x2b7)];}[_0x1b8043(0x1ae)](){const _0x5b17c7=_0x1b8043;this[_0x5b17c7(0x290)]()['then'](()=>super[_0x5b17c7(0x1ae)]());}async[_0x1b8043(0x14c)](_0xb18b9a){const _0x15dd91=_0x1b8043;return this['_disabled']?null:this[_0x15dd91(0x36c)]['getItem'](_0x590245(_0xb18b9a));}async[_0x1b8043(0x2a5)](_0x22ca30,_0x586b13){const _0x5517d8=_0x1b8043;return!!this[_0x5517d8(0x36c)][_0x5517d8(0x2a8)](_0x22ca30,_0x586b13);}[_0x1b8043(0x27b)](_0x253621,_0xeec875,_0x561353,_0x5816a6){const _0x51c7cf=_0x1b8043,_0x5ef528=this[_0x51c7cf(0x1d5)][_0x51c7cf(0x1f5)](_0x253621);this[_0x51c7cf(0x25c)]['set'](_0x253621,{'unitID':_0x253621,'type':_0xeec875,'awaitingChangeset':_0x561353,'mutations':_0x5816a6,'rev':_0x5ef528}),this[_0x51c7cf(0x2b7)][_0x51c7cf(0x14e)](_0x253621)||this[_0x51c7cf(0x187)](_0x253621);}[_0x1b8043(0x187)](_0x831b9f){const _0x313c90=_0x1b8043,_0x543ee2=this[_0x313c90(0x2f0)]();_0x543ee2===0x0?this[_0x313c90(0x285)](_0x831b9f):this[_0x313c90(0x2b7)][_0x313c90(0x27c)](_0x831b9f,setTimeout(()=>this[_0x313c90(0x285)](_0x831b9f),_0x543ee2));}['_getSaveTimeout'](){const _0x442280=_0x1b8043;var _0x84f915;return(_0x84f915=this[_0x442280(0x276)][_0x442280(0x2b5)](_0x4fb271))!=null?_0x84f915:_0x452c62;}[_0x1b8043(0x285)](_0x4093f9){const _0x5aacc2=_0x1b8043,_0x1520fe=this[_0x5aacc2(0x2b7)][_0x5aacc2(0x298)](_0x4093f9);return _0x1520fe!==void 0x0&&window['clearTimeout'](_0x1520fe),this['_localStorageService'][_0x5aacc2(0x2a8)](_0x590245(_0x4093f9),this[_0x5aacc2(0x25c)]['get'](_0x4093f9))[_0x5aacc2(0x1fb)](()=>this[_0x5aacc2(0x2b7)][_0x5aacc2(0x148)](_0x4093f9));}async[_0x1b8043(0x290)](){const _0x6f30b6=_0x1b8043,_0x5591b4=[];this[_0x6f30b6(0x2b7)]['forEach']((_0x2536df,_0x3953d6)=>{const _0x5bd21b=_0x6f30b6;window['clearTimeout'](_0x2536df),_0x5591b4['push'](this[_0x5bd21b(0x285)](_0x3953d6)[_0x5bd21b(0x1fb)](()=>{const _0x3118ab=_0x5bd21b;this[_0x3118ab(0x2b7)][_0x3118ab(0x148)](_0x3953d6);}));}),await Promise[_0x6f30b6(0x36b)](_0x5591b4);}};Ye=Nn([Ue(0x0,_0x4bf411),Ue(0x1,_0x56e330),Ue(0x2,_0x147344(_0x4056a2))],Ye);class Ln extends _0x342316{constructor(){const _0x310349=_0x1b8043;super(),_(this,_0x310349(0x336)),this[_0x310349(0x336)]=_0x51ac5e(window,'popstate')[_0x310349(0x337)](_0x33134d(this[_0x310349(0x2fe)]),_0x53ef37(0x1),_0xaad03d(void 0x0));}[_0x1b8043(0x1b6)](_0x2f4ce7,_0x593922,_0x5874e7=!0x1){const _0x5252dd=_0x1b8043,_0x5c6273=new URL(window[_0x5252dd(0x12e)][_0x5252dd(0x1cc)]);_0x5c6273[_0x5252dd(0x34c)][_0x5252dd(0x27c)](_0x2f4ce7,_0x593922),_0x5874e7?window[_0x5252dd(0x2ab)][_0x5252dd(0x191)]('','',_0x5c6273['toString']()):window[_0x5252dd(0x2ab)]['pushState']('','',_0x5c6273[_0x5252dd(0x31c)]());}[_0x1b8043(0x29a)](_0x50c5fd,_0xff0cff=!0x1){const _0xd5eeab=_0x1b8043,_0x19e190=new URL(window[_0xd5eeab(0x12e)]['href']);_0x19e190[_0xd5eeab(0x34c)][_0xd5eeab(0x148)](_0x50c5fd),_0xff0cff?window[_0xd5eeab(0x2ab)][_0xd5eeab(0x191)]('','',_0x19e190[_0xd5eeab(0x31c)]()):window[_0xd5eeab(0x2ab)][_0xd5eeab(0x181)]('','',_0x19e190[_0xd5eeab(0x31c)]());}['getParam'](_0x283e9f){const _0x2c0e5f=_0x1b8043;var _0x41020c;return(_0x41020c=new URL(window[_0x2c0e5f(0x12e)][_0x2c0e5f(0x1cc)])[_0x2c0e5f(0x34c)]['get'](_0x283e9f))!=null?_0x41020c:void 0x0;}}var Un=Object[_0x1b8043(0x270)],Mn=Object[_0x1b8043(0x188)],An=(_0x291b88,_0x5929bd,_0x463d36)=>_0x5929bd in _0x291b88?Un(_0x291b88,_0x5929bd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x463d36}):_0x291b88[_0x5929bd]=_0x463d36,Pn=(_0x17218e,_0x464fd0,_0x1ecf48,_0x524dd6)=>{const _0x30afd5=_0x1b8043;for(var _0x178112=_0x524dd6>0x1?void 0x0:_0x524dd6?Mn(_0x464fd0,_0x1ecf48):_0x464fd0,_0x42be40=_0x17218e[_0x30afd5(0x31d)]-0x1,_0x2cf225;_0x42be40>=0x0;_0x42be40--)(_0x2cf225=_0x17218e[_0x42be40])&&(_0x178112=_0x2cf225(_0x178112)||_0x178112);return _0x178112;},Me=(_0x43c648,_0x4f3c44)=>(_0x46f193,_0x3d5645)=>_0x4f3c44(_0x46f193,_0x3d5645,_0x43c648),wn=(_0x2796fc,_0x323946,_0x574394)=>An(_0x2796fc,_0x323946+'',_0x574394);const yn=_0x1b8043(0x26b);let He=class extends _0x286406{constructor(_0x14a102=_t,_0x685c49,_0x54af38,_0x53e429){const _0x1d797c=_0x1b8043;super(),this['_config']=_0x14a102,this[_0x1d797c(0x256)]=_0x685c49,this['_injector']=_0x54af38,this[_0x1d797c(0x276)]=_0x53e429;const {..._0x4af25b}=_0x474bbd({},_t,this[_0x1d797c(0x184)]);this['_configService']['setConfig'](hn,_0x4af25b);}[_0x1b8043(0x28d)](){const _0x5d8537=_0x1b8043;this[_0x5d8537(0x1ec)](),this[_0x5d8537(0x1f9)]();}[_0x1b8043(0x318)](){const _0xb32031=_0x1b8043;this[_0xb32031(0x144)]();}[_0x1b8043(0x1ec)](){const _0x30d2a6=_0x1b8043;var _0x20a278;const _0x14d929=[[Ke],[Ie],[de],[he],[ue],[ze],[yt,{'useClass':Ln}],[_0x5aa6c1,{'useClass':_0x3be447}],[_0x32e03e,{'useClass':Ye}],[ae],[Se],[_e],[Y],[$e],[ce]];this[_0x30d2a6(0x184)]['enableFrontendLog']&&_0x14d929[_0x30d2a6(0x251)]([le]),_0x305d81(this[_0x30d2a6(0x19b)],_0x19cc88(_0x14d929,(_0x20a278=this[_0x30d2a6(0x184)])==null?void 0x0:_0x20a278['override']));}['_registerRenderDependencies'](){const _0x359023=_0x1b8043;this['disposeWithMe'](this[_0x359023(0x256)][_0x359023(0x157)](_0x1ef95b['UNIVER_DOC'],[ke])),this[_0x359023(0x263)](this[_0x359023(0x256)][_0x359023(0x157)](_0x1ef95b[_0x359023(0x288)],[Fe]));}[_0x1b8043(0x1f9)](){const _0x4e5b1c=_0x1b8043;_0x94bd91(this['_injector'],[[Y],[ae],[Se],[_e],[ce],[Ie]]),this[_0x4e5b1c(0x184)]['enableFrontendLog']&&_0x94bd91(this[_0x4e5b1c(0x19b)],[[le]]);}};wn(He,_0x1b8043(0x37b),yn),He=Pn([_0xaacbc2(_0x2aca9f),Me(0x1,_0x1467e6),Me(0x2,_0x147344(_0x144e44)),Me(0x3,_0x4bf411)],He);var $n=Object[_0x1b8043(0x188)],xn=(_0x536ccd,_0xa8ffee,_0x59f744,_0x1a68c9)=>{const _0x12c13d=_0x1b8043;for(var _0x3a9267=_0x1a68c9>0x1?void 0x0:_0x1a68c9?$n(_0xa8ffee,_0x59f744):_0xa8ffee,_0x393133=_0x536ccd[_0x12c13d(0x31d)]-0x1,_0xf5af2c;_0x393133>=0x0;_0x393133--)(_0xf5af2c=_0x536ccd[_0x393133])&&(_0x3a9267=_0xf5af2c(_0x3a9267)||_0x3a9267);return _0x3a9267;},J=(_0x37e29e,_0xe2bd28)=>(_0x468044,_0x4bfbbf)=>_0xe2bd28(_0x468044,_0x4bfbbf,_0x37e29e);let ut=class extends _0x2d358f{constructor(_0x52a4bf,_0xe1c8ae,_0x474e9a,_0x2f9bb1,_0x50341e){super(_0x52a4bf,_0xe1c8ae,_0x474e9a,_0x2f9bb1,_0x50341e);}async[_0x1b8043(0x18a)](_0x5ba5ed){const _0x3a7f5b=_0x1b8043,_0x3135ca=await this[_0x3a7f5b(0x255)](),_0x136b32=this[_0x3a7f5b(0x173)](_0x5ba5ed,_0x3135ca);return this[_0x3a7f5b(0x18d)](_0x136b32);}['_createSocketURL'](_0x2fc9dc,_0x2dcb49){const _0x1554c1=_0x1b8043,_0x6ea141=typeof window>'u'?new URL(_0x2fc9dc):new URL(_0x2fc9dc,window['location'][_0x1554c1(0x20e)]);_0x6ea141[_0x1554c1(0x34c)][_0x1554c1(0x27c)]('sessionTicket',_0x2dcb49);const _0xb66fe5=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x1554c1(0x12e)]['search']);return _0xb66fe5['get'](_0x1554c1(0x27d))&&_0x6ea141[_0x1554c1(0x34c)]['set'](_0x1554c1(0x27d),_0xb66fe5[_0x1554c1(0x298)](_0x1554c1(0x27d))),_0x6ea141[_0x1554c1(0x31c)]();}async[_0x1b8043(0x255)](){const _0x34dbc0=_0x1b8043;var _0x537ac0,_0xa9c134,_0x216231;const _0x21a497=this[_0x34dbc0(0x276)]['getConfig'](_0x2befaa),_0x10aaff=(_0x537ac0=_0x21a497==null?void 0x0:_0x21a497[_0x34dbc0(0x366)])!=null?_0x537ac0:_0x41aa21;return(_0x216231=(_0xa9c134=(await this[_0x34dbc0(0x200)][_0x34dbc0(0x298)](_0x10aaff,{'headers':{'Content-Type':_0x34dbc0(0x171)}}))[_0x34dbc0(0x31b)])==null?void 0x0:_0xa9c134[_0x34dbc0(0x264)])!=null?_0x216231:'';}};ut=xn([J(0x0,_0x147344(_0x144e44)),J(0x1,_0x147344(_0x343b07)),J(0x2,_0x4bf411),J(0x3,_0x38f64b),J(0x4,_0x19f494)],ut);var Bn=Object[_0x1b8043(0x188)],kn=(_0x2ef477,_0x27a01b,_0x200ae1,_0x710d35)=>{const _0x35fcf5=_0x1b8043;for(var _0x557367=_0x710d35>0x1?void 0x0:_0x710d35?Bn(_0x27a01b,_0x200ae1):_0x27a01b,_0x2e85a2=_0x2ef477[_0x35fcf5(0x31d)]-0x1,_0x39aa9c;_0x2e85a2>=0x0;_0x2e85a2--)(_0x39aa9c=_0x2ef477[_0x2e85a2])&&(_0x557367=_0x39aa9c(_0x557367)||_0x557367);return _0x557367;},Ae=(_0x1b3afb,_0x169ad5)=>(_0x56534b,_0x2310f2)=>_0x169ad5(_0x56534b,_0x2310f2,_0x1b3afb);let dt=class extends _0x1d29ae{constructor(_0x303aac,_0x1d7ef3,_0x531303){const _0x50f964=_0x1b8043;super(),this[_0x50f964(0x37f)]=_0x303aac,this[_0x50f964(0x200)]=_0x1d7ef3,this[_0x50f964(0x276)]=_0x531303;}async['runOnServer'](_0x5c31e6,_0x194a35,_0xedae07,..._0x377bc6){const _0x596696=_0x1b8043;var _0x33a78f,_0x474ae3,_0x3b1720,_0x301fea;const _0x3ef9c5=this['_instanceService'][_0x596696(0x2be)]();if(!_0x3ef9c5)throw new Error(_0x596696(0x324));const _0x5c0d5b=((_0x33a78f=this[_0x596696(0x276)]['getConfig'](_0x5eff40))!=null?_0x33a78f:_0x5634a5)+'/'+_0x5c31e6+_0x596696(0x2d4)+_0x194a35,_0x4a1ec5=new URL(window[_0x596696(0x12e)][_0x596696(0x1cc)]),_0x351bf5={'scriptId':_0x5c31e6,'runId':(_0x474ae3=_0x4a1ec5[_0x596696(0x34c)]['get'](_0x596696(0x27d)))!=null?_0x474ae3:'','function':_0x194a35,'unitId':_0x3ef9c5['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x377bc6),'invokeId':(_0x3b1720=_0xedae07[_0x596696(0x207)])!=null?_0x3b1720:'','executionId':(_0x301fea=_0xedae07[_0x596696(0x23b)])!=null?_0x301fea:''};try{const _0x38a623=await this['_httpService']['post'](_0x5c0d5b,{'body':_0x351bf5});return _0x38a623[_0x596696(0x31b)][_0x596696(0x2fb)]&&_0x38a623[_0x596696(0x31b)][_0x596696(0x2fb)][_0x596696(0x353)]!==Z['OK']?'Failed':_0x38a623['body'][_0x596696(0x248)];}catch{return'Failed';}}};dt=kn([Ae(0x0,_0x391315),Ae(0x1,_0x147344(_0x343b07)),Ae(0x2,_0x4bf411)],dt);const St=0x7530,It='ACTIVE_UNIT_EVENT_CHANNEL';class rr extends _0x1d29ae{constructor(){const _0x525a97=_0x1b8043;super(),_(this,_0x525a97(0x1da),_0x193eca()),_(this,_0x525a97(0x305),new Set()),_(this,'_unitOnClients',new Map()),_(this,'_heartbeatTimer',null),_(this,'_clearOtherTimers',new Map()),_(this,'_unitStatus',new Map()),this['_init']();}[_0x1b8043(0x1ae)](){const _0x803871=_0x1b8043;super[_0x803871(0x1ae)](),this[_0x803871(0x159)]['forEach']((_0x4d530f,_0x305654)=>this['_removeClearOtherTimer'](_0x305654)),this[_0x803871(0x1f0)]&&window['clearInterval'](this[_0x803871(0x1f0)]);}[_0x1b8043(0x15a)](_0x2af699){const _0xe32a6d=_0x1b8043;return this[_0xe32a6d(0x1be)](_0x2af699)[_0xe32a6d(0x337)](_0x4dfdd0());}[_0x1b8043(0x204)](_0x22e646){const _0x25fd0f=_0x1b8043;this[_0x25fd0f(0x305)][_0x25fd0f(0x16f)]===0x0&&this[_0x25fd0f(0x25e)](),this['_selfUnitIDs'][_0x25fd0f(0x385)](_0x22e646),this[_0x25fd0f(0x301)]({'type':0x0,'memberID':this[_0x25fd0f(0x1da)],'unitIDs':[_0x22e646],'isForwarded':!0x1});}[_0x1b8043(0x325)](_0x50d932){const _0x301cd6=_0x1b8043;this[_0x301cd6(0x305)][_0x301cd6(0x148)](_0x50d932),this[_0x301cd6(0x305)][_0x301cd6(0x16f)]===0x0&&this[_0x301cd6(0x1f0)]&&window[_0x301cd6(0x30a)](this['_heartbeatTimer']);}[_0x1b8043(0x37c)](){const _0xe393c2=_0x1b8043;this[_0xe393c2(0x263)](_0x148bbc(_0x51ac5e(window,'storage')[_0xe393c2(0x29b)](_0x3c1865=>{const _0x4b3753=_0xe393c2;if(_0x3c1865[_0x4b3753(0x19a)]!==It||!_0x3c1865[_0x4b3753(0x352)])return;const _0xbf9c08=JSON[_0x4b3753(0x2f7)](_0x3c1865[_0x4b3753(0x352)]);this[_0x4b3753(0x13f)](_0xbf9c08);}))),window[_0xe393c2(0x1b4)](_0xe393c2(0x1f6),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}[_0x1b8043(0x13f)](_0xa85d8){const _0x145084=_0x1b8043;switch(_0xa85d8[_0x145084(0x21e)]){case 0x0:this['_handleJoinEvent'](_0xa85d8);break;case 0x1:this[_0x145084(0x182)](_0xa85d8);break;case 0x2:this[_0x145084(0x21a)](_0xa85d8);break;}}[_0x1b8043(0x15c)](_0x3577ee){const _0xf2b59e=_0x1b8043,{unitIDs:_0x1df42c,memberID:_0x1e9d29,isForwarded:_0x283172}=_0x3577ee;_0x1df42c[_0xf2b59e(0x213)](_0x39acc0=>{const _0x1e1480=_0xf2b59e;if(!_0x283172&&this['_unitOnClients'][_0x1e1480(0x14e)](_0x39acc0)&&this['_ensureSubject'](_0x39acc0)[_0x1e1480(0x358)](_0x139712[_0x1e1480(0x12c)]),!this[_0x1e1480(0x261)]['has'](_0x39acc0)||!this[_0x1e1480(0x261)][_0x1e1480(0x298)](_0x39acc0)[_0x1e1480(0x14e)](_0x1e9d29)){const _0xfd7ae0=this[_0x1e1480(0x261)][_0x1e1480(0x298)](_0x39acc0)||new Set();_0xfd7ae0[_0x1e1480(0x385)](_0x1e9d29),this[_0x1e1480(0x261)]['set'](_0x39acc0,_0xfd7ae0),this['_scheduleClearOtherTimer'](_0x1e9d29);}}),_0x283172||this[_0xf2b59e(0x301)]({'type':0x0,'memberID':this[_0xf2b59e(0x1da)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x1b8043(0x161)](_0x5cc27c){const _0x380001=_0x1b8043;this[_0x380001(0x29e)](_0x5cc27c);const _0x5834da=window[_0x380001(0x24a)](()=>{const _0x2d9596=_0x380001;this[_0x2d9596(0x261)][_0x2d9596(0x213)](_0xf09572=>{const _0x13f47f=_0x2d9596;_0xf09572[_0x13f47f(0x148)](_0x5cc27c);});},St*0x2);this['_clearOtherTimers'][_0x380001(0x27c)](_0x5cc27c,_0x5834da);}[_0x1b8043(0x29e)](_0x395eb2){const _0x1c8cad=_0x1b8043;if(this[_0x1c8cad(0x159)][_0x1c8cad(0x14e)](_0x395eb2)){const _0x1cc6a1=this[_0x1c8cad(0x159)]['get'](_0x395eb2);_0x1cc6a1&&window[_0x1c8cad(0x152)](_0x1cc6a1),this[_0x1c8cad(0x159)][_0x1c8cad(0x27c)](_0x395eb2,null);}}[_0x1b8043(0x182)](_0x186acc){const _0x46aca2=_0x1b8043,{memberID:_0x2733a7,unitIDs:_0x3e9d1b}=_0x186acc;_0x3e9d1b[_0x46aca2(0x213)](_0x1e5581=>{const _0x532eb8=_0x46aca2;var _0x4b6116;const _0x19c4ae=this[_0x532eb8(0x261)][_0x532eb8(0x298)](_0x1e5581);_0x19c4ae&&(_0x19c4ae[_0x532eb8(0x148)](_0x2733a7),(_0x4b6116=this[_0x532eb8(0x1be)](_0x1e5581))==null||_0x4b6116[_0x532eb8(0x358)](_0x19c4ae[_0x532eb8(0x16f)]===0x0?_0x139712[_0x532eb8(0x374)]:_0x139712['OTHER_CLIENTS_EDITING']));}),this[_0x46aca2(0x29e)](_0x2733a7);}[_0x1b8043(0x21a)](_0x2691e9){const _0x5e08b5=_0x1b8043;this[_0x5e08b5(0x161)](_0x2691e9[_0x5e08b5(0x253)]);}[_0x1b8043(0x301)](_0x463542){const _0x4ba077=_0x1b8043;localStorage[_0x4ba077(0x2a8)](It,JSON['stringify'](_0x463542));}[_0x1b8043(0x25e)](){const _0x5905bb=_0x1b8043;this[_0x5905bb(0x1f0)]=window[_0x5905bb(0x365)](()=>{const _0x2141b6=_0x5905bb;this[_0x2141b6(0x301)]({'type':0x2,'memberID':this[_0x2141b6(0x1da)]});},St);}[_0x1b8043(0x1be)](_0x3abae7){const _0x2c508d=_0x1b8043;return this[_0x2c508d(0x1ed)][_0x2c508d(0x14e)](_0x3abae7)||this['_unitStatus'][_0x2c508d(0x27c)](_0x3abae7,new _0x48c4f5(_0x139712[_0x2c508d(0x374)])),this[_0x2c508d(0x1ed)][_0x2c508d(0x298)](_0x3abae7);}}export{ut as BrowserCollaborationSocketService,ce as CollaborationDataLoaderController,ae as DesktopCollaborationStatusDisplayController,yt as IURLService,dt as RemoteUniscriptService,tn as SheetCollabCursorShape,He as UniverCollaborationClientUIPlugin,rr as WebBrowserSingleActiveUnitService,Ln as WebURLService};
|