@univerjs-pro/collaboration-client-ui 0.12.2 → 0.12.3-experimental.20251205-e439e48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/locale/en-US.d.ts +1 -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/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 +18 -18
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x331486=_0x512f;(function(_0x1679de,_0x38e1da){const _0x32c275=_0x512f,_0x41f668=_0x1679de();while(!![]){try{const _0xdd3bcc=parseInt(_0x32c275(0x151))/0x1*(parseInt(_0x32c275(0x97))/0x2)+parseInt(_0x32c275(0x21a))/0x3+parseInt(_0x32c275(0x226))/0x4*(parseInt(_0x32c275(0x258))/0x5)+parseInt(_0x32c275(0x1a7))/0x6+-parseInt(_0x32c275(0x1d6))/0x7*(-parseInt(_0x32c275(0x1c6))/0x8)+-parseInt(_0x32c275(0x1a8))/0x9+-parseInt(_0x32c275(0x1b3))/0xa;if(_0xdd3bcc===_0x38e1da)break;else _0x41f668['push'](_0x41f668['shift']());}catch(_0x1dddc3){_0x41f668['push'](_0x41f668['shift']());}}}(_0x5658,0x455ff));var Yt=Object[_0x331486(0x10c)],Wt=(_0x2c3d55,_0x4066e3,_0x16202c)=>_0x4066e3 in _0x2c3d55?Yt(_0x2c3d55,_0x4066e3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x16202c}):_0x2c3d55[_0x4066e3]=_0x16202c,_=(_0x275655,_0x3920ff,_0x20ed2f)=>Wt(_0x275655,typeof _0x3920ff!='symbol'?_0x3920ff+'':_0x3920ff,_0x20ed2f);import{jsx as _0x5d25a9,jsxs as _0x88859b}from'react/jsx-runtime';import{CollaborationStatus as _0x1917c2,CollaborationSessionService as _0x46dc37,CollaborationController as _0x24f9da,DataLoaderService as _0x413219,MemberService as _0x5bfe2e,SessionStatus as _0x267c32,ILocalCacheService as _0x24b451,CollaborationUIEventService as _0x1939b6,CollaborationUIEventId as _0x282a4d,DocCollaborationEntity as _0x1fd1f0,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x317300,getLocalCacheKey as _0x4579ea,LOCAL_CACHE_INTERVAL as _0x3e4b99,LOCAL_CACHE_INTERVAL_KEY as _0x17b7f2,UniverCollaborationClientPlugin as _0x545449,CollaborationSocketService as _0x1af29f,DEFAULT_WS_SESSION_TICKET_URL as _0x87d114,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x10f6ab,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x4d4beb,UnitStatus as _0x3fa58f}from'@univerjs-pro/collaboration-client';function _0x512f(_0x5545e5,_0x24944d){const _0x5658b0=_0x5658();return _0x512f=function(_0x512ffe,_0x66d224){_0x512ffe=_0x512ffe-0x88;let _0x38c066=_0x5658b0[_0x512ffe];return _0x38c066;},_0x512f(_0x5545e5,_0x24944d);}import{LocaleService as _0x4b3f44,IUniverInstanceService as _0x34a5b3,Inject as _0x384b36,Injector as _0x2975ff,Disposable as _0x4064cc,createIdentifier as _0x201af0,ILogService as _0x1f29f4,ICommandService as _0xd74a37,Optional as _0x36f410,RxDisposable as _0x57605c,Workbook as _0x2745c9,DOC_RANGE_TYPE as _0x80033e,debounce as _0x3554ba,Rectangle as _0x16bdf7,DisposableCollection as _0x112c0e,toDisposable as _0x385cfe,UniverInstanceType as _0x4e690a,generateRandomId as _0x460716,COLORS as _0x572559,ColorKit as _0x3e6889,ThemeService as _0x4502e6,fromEventSubject as _0x13584e,Tools as _0x24ffc8,CommandType as _0x224740,IConfigService as _0x5f43ff,CanceledError as _0x2e132b,isFormulaString as _0x365838,isFormulaId as _0x31b7fb,ILocalStorageService as _0x25196f,DependentOn as _0x145aff,Plugin as _0x1d5629,merge as _0x1e7bf4,registerDependencies as _0x5c8afa,mergeOverrideWithDependencies as _0xf081e9,touchDependencies as _0x485043}from'@univerjs/core';import{useObservable as _0x45cd22,useDependency as _0x3e9eed,IUIPartsService as _0x559491,BuiltInUIPart as _0x17e272,connectInjector as _0x5a631e,IBeforeCloseService as _0x113bc4,IMessageService as _0xc89ae7,INotificationService as _0x10311c}from'@univerjs/ui';import{BehaviorSubject as _0x5adb5d,switchMap as _0x4ce806,of as _0x218df2,takeUntil as _0x136c33,debounceTime as _0x61f829,Subject as _0x49c822,filter as _0x5ad315,merge as _0x5486e4,combineLatest as _0x48dc8f,fromEvent as _0x1059cc,shareReplay as _0x266c9a,mapTo as _0x569761,distinctUntilChanged as _0x46c569}from'rxjs';import{Tooltip as _0x4d8ab2,clsx as _0x263bd8,MessageType as _0x27e95d}from'@univerjs/design';import{useRef as _0x6b64d9,createElement as _0x559a33,forwardRef as _0x1e262a,useCallback as _0xf2d695}from'react';import{IRemoteInstanceService as _0x9b3096}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x565bcb,RefRangeService as _0x59856c,SetSelectionsOperation as _0x4a1b82,SheetsSelectionsService as _0x318b21,EffectRefRangId as _0x5ab1aa,handleIRemoveRow as _0x2d3dff,handleIRemoveCol as _0x50a710,handleMoveRange as _0x240f5e,handleInsertRow as _0x14d58d,handleInsertRangeMoveRight as _0x2ba715,handleInsertRangeMoveDown as _0x4d752e,handleInsertCol as _0x5dd904,handleDeleteRangeMoveUp as _0x11ddcb,handleDeleteRangeMoveLeft as _0x31ca5c,runRefRangeMutations as _0x34ca57}from'@univerjs/sheets';import{Shape as _0x16364b,Rect as _0x38eea8,getColor as _0x57c8a3,RegularPolygon as _0x45a19c,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x30decc,Vector2 as _0x321485,SHEET_VIEWPORT_KEY as _0x1253b5,IRenderManagerService as _0x450a3a}from'@univerjs/engine-render';import{HTTPService as _0x3fa719,ISocketService as _0x48e0d4,WebSocketService as _0x5d29c5}from'@univerjs/network';import{IDocClipboardService as _0x54ca08,NodePositionConvertToCursor as _0x3ad41d,NodePositionConvertToRectRange as _0x545a0f,TEXT_RANGE_LAYER_INDEX as _0x53e827,SetDocZoomRatioOperation as _0x56b6e8,DocIMEInputManagerService as _0x4518ea,DocStateChangeManagerService as _0x31ecfe}from'@univerjs/docs-ui';import{IImageIoService as _0x331a67}from'@univerjs/drawing';import{ITransformService as _0x2843ad,CollaborationEvent as _0x2fc4d1,isTransformMutationFailure as _0x3d60d7,isTransformMutationsWithChangesetSuccess as _0xa9160d,RevisionService as _0x21d43a,ISnapshotServerService as _0x5eb23d}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x577316,RichTextEditingMutation as _0x206466,DocSelectionManagerService as _0x1bc8e5,DocSkeletonManagerService as _0x120002}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x51524b,serializeRangeWithSheet as _0x495e5f,FormulaExecuteStageType as _0x238a49,FormulaExecutedStateType as _0x144892,SetFormulaCalculationStartMutation as _0x96febf,SetFormulaCalculationNotificationMutation as _0x2312b3}from'@univerjs/engine-formula';import{map as _0x442185,filter as _0x28f0a4,throttleTime as _0x767ecc,takeUntil as _0x4acc07,switchMap as _0x120aca}from'rxjs/operators';import{SheetSkeletonManagerService as _0x362389,getCoordByCell as _0x50883c,getSheetObject as _0x128286}from'@univerjs/sheets-ui';function Ge({ref:_0x424f4e,..._0x34153a}){const _0x4b4853=_0x331486,{icon:_0x3bf4fc,id:_0x1f50b2,className:_0x193c0f,extend:_0x4a61af,..._0x36aa28}=_0x34153a,_0x347457=(_0x4b4853(0x18f)+_0x1f50b2+'\x20'+(_0x193c0f||''))[_0x4b4853(0x1b4)](),_0x5e2479=_0x6b64d9('_'+Ei());return At(_0x3bf4fc,''+_0x1f50b2,{'defIds':_0x3bf4fc[_0x4b4853(0x1bd)],'idSuffix':_0x5e2479[_0x4b4853(0xad)]},{'ref':_0x424f4e,'className':_0x347457,..._0x36aa28},_0x4a61af);}function At(_0x3347af,_0x3dc93b,_0x2b6a30,_0x789c69,_0x302039){const _0x3e49d6=_0x331486;return _0x559a33(_0x3347af[_0x3e49d6(0xc4)],{'key':_0x3dc93b,...gi(_0x3347af,_0x2b6a30,_0x302039),..._0x789c69},(vi(_0x3347af,_0x2b6a30)[_0x3e49d6(0x13d)]||[])[_0x3e49d6(0x2b6)]((_0x5e2d84,_0x4b7d76)=>At(_0x5e2d84,_0x3dc93b+'-'+_0x3347af[_0x3e49d6(0xc4)]+'-'+_0x4b7d76,_0x2b6a30,void 0x0,_0x302039)));}function gi(_0x3a4286,_0x353e93,_0x2f69bd){const _0x46ab78=_0x331486,_0x578d6b={..._0x3a4286[_0x46ab78(0x146)]};_0x2f69bd!=null&&_0x2f69bd['colorChannel1']&&_0x578d6b[_0x46ab78(0x2d9)]==='colorChannel1'&&(_0x578d6b[_0x46ab78(0x2d9)]=_0x2f69bd[_0x46ab78(0x212)]),_0x3a4286[_0x46ab78(0xc4)]===_0x46ab78(0x277)&&_0x578d6b['id']&&(_0x578d6b['id']=_0x578d6b['id']+_0x353e93[_0x46ab78(0x213)]),Object[_0x46ab78(0x25d)](_0x578d6b)[_0x46ab78(0x210)](([_0x18218e,_0x120626])=>{const _0x287128=_0x46ab78;_0x18218e===_0x287128(0x277)&&typeof _0x120626==_0x287128(0x1c1)&&(_0x578d6b[_0x18218e]=_0x120626['replace'](/url\(#(.*)\)/,_0x287128(0x17c)+_0x353e93[_0x287128(0x213)]+')'));});const {defIds:_0x381e60}=_0x353e93;return!_0x381e60||_0x381e60['length']===0x0||(_0x3a4286[_0x46ab78(0xc4)]===_0x46ab78(0xe1)&&_0x578d6b[_0x46ab78(0x23c)]&&(_0x578d6b[_0x46ab78(0x23c)]=_0x578d6b[_0x46ab78(0x23c)]+_0x353e93[_0x46ab78(0x213)]),Object[_0x46ab78(0x25d)](_0x578d6b)[_0x46ab78(0x210)](([_0x4f35b0,_0xa47daf])=>{const _0x566723=_0x46ab78;typeof _0xa47daf==_0x566723(0x1c1)&&(_0x578d6b[_0x4f35b0]=_0xa47daf['replace'](/url\(#(.*)\)/,_0x566723(0x17c)+_0x353e93[_0x566723(0x213)]+')'));})),_0x578d6b;}function vi(_0x1c5623,_0x58d8a6){const _0x314842=_0x331486;var _0x5da6c0;const {defIds:_0x1cb543}=_0x58d8a6;return!_0x1cb543||_0x1cb543[_0x314842(0xea)]===0x0?_0x1c5623:_0x1c5623[_0x314842(0xc4)]===_0x314842(0x9e)&&((_0x5da6c0=_0x1c5623[_0x314842(0x13d)])!=null&&_0x5da6c0[_0x314842(0xea)])?{..._0x1c5623,'children':_0x1c5623[_0x314842(0x13d)]['map'](_0x515c33=>typeof _0x515c33[_0x314842(0x146)]['id']=='string'&&_0x1cb543&&_0x1cb543['includes'](_0x515c33[_0x314842(0x146)]['id'])?{..._0x515c33,'attrs':{..._0x515c33['attrs'],'id':_0x515c33[_0x314842(0x146)]['id']+_0x58d8a6['idSuffix']}}:_0x515c33)}:_0x1c5623;}function Ei(){const _0x18fede=_0x331486;return Math[_0x18fede(0x17f)]()[_0x18fede(0x130)](0x24)[_0x18fede(0x161)](0x2,0x8);}Ge[_0x331486(0x13a)]=_0x331486(0x22a);const pi={'tag':'svg','attrs':{'xmlns':_0x331486(0x23a),'fill':_0x331486(0x14a),'viewBox':_0x331486(0xe5),'width':'1em','height':_0x331486(0x25e)},'children':[{'tag':'g','attrs':{'clipPath':_0x331486(0xb2)},'children':[{'tag':_0x331486(0xee),'attrs':{'stroke':'currentColor','d':_0x331486(0x2c9),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x331486(0x9e),'attrs':{},'children':[{'tag':_0x331486(0xf2),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x331486(0xee),'attrs':{'fill':_0x331486(0xca),'d':_0x331486(0x1f8)}}]}]}],'defIds':[_0x331486(0x23f)]},Pt=_0x1e262a(function(_0x4bb0a1,_0x36ee4f){return _0x559a33(Ge,Object['assign']({},_0x4bb0a1,{'id':'off-line-icon','ref':_0x36ee4f,'icon':pi}));});Pt[_0x331486(0x13a)]='OffLineIcon';const Oi={'tag':_0x331486(0x1b6),'attrs':{'xmlns':_0x331486(0x23a),'fill':_0x331486(0x14a),'viewBox':_0x331486(0x228),'width':_0x331486(0x25e),'height':_0x331486(0x25e)},'children':[{'tag':'g','attrs':{'clipPath':_0x331486(0x192)},'children':[{'tag':'path','attrs':{'stroke':_0x331486(0x1c7),'d':_0x331486(0x1fc),'strokeLinecap':_0x331486(0x20b),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x331486(0xf2),'attrs':{'id':_0x331486(0x1c9)},'children':[{'tag':_0x331486(0xee),'attrs':{'fill':'white','d':_0x331486(0x1f8),'transform':_0x331486(0x21c)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},wt=_0x1e262a(function(_0x5a2320,_0x2818bc){const _0x426e41=_0x331486;return _0x559a33(Ge,Object[_0x426e41(0x141)]({},_0x5a2320,{'id':_0x426e41(0xe2),'ref':_0x2818bc,'icon':Oi}));});wt[_0x331486(0x13a)]=_0x331486(0x90);function Ti(_0x1834af){const _0x34e413=_0x331486;switch(_0x1834af){case _0x1917c2[_0x34e413(0x285)]:return _0x34e413(0x282);case _0x1917c2[_0x34e413(0x28a)]:return _0x34e413(0x224);case _0x1917c2[_0x34e413(0x29a)]:return'collabStatus.fetchMiss';case _0x1917c2[_0x34e413(0x1e9)]:return _0x34e413(0x2a7);case _0x1917c2[_0x34e413(0x1de)]:case _0x1917c2[_0x34e413(0xac)]:return'collabStatus.syncing';case _0x1917c2['SYNCED']:case _0x1917c2[_0x34e413(0x296)]:return _0x34e413(0x20d);}}function Ci(_0x4c78dd){const _0x30162b=_0x331486,{status$:_0x218754}=_0x4c78dd,_0x3b24d5=_0x45cd22(_0x218754,_0x1917c2[_0x30162b(0x1e9)]),_0x363bff=_0x3e9eed(_0x4b3f44),_0x57a3e9=_0x3e9eed(_0x46dc37),_0x2c8dc5=_0x3b24d5!==_0x1917c2[_0x30162b(0x285)],_0x3e98bc=_0x363bff['t'](Ti(_0x3b24d5)),_0x587ee4=_0x2c8dc5?_0x5d25a9(wt,{}):_0x5d25a9(Pt,{}),_0x1a9f4f=_0xf2d695(()=>{_0x2c8dc5||_0x57a3e9['reconnect']();},[_0x2c8dc5,_0x57a3e9]);function _0x22ed15(){const _0x35e691=_0x30162b;return _0x88859b(_0x35e691(0x257),{'className':_0x35e691(0xf6),'onClick':_0x1a9f4f,'children':[_0x5d25a9(_0x35e691(0x257),{'className':_0x263bd8('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x2c8dc5,'univer-text-red-500':!_0x2c8dc5}),'children':_0x587ee4}),_0x5d25a9(_0x35e691(0x257),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x3e98bc})]});}return _0x2c8dc5?_0x22ed15():_0x5d25a9(_0x4d8ab2,{'title':_0x363bff['t']('collab-client.tooltip.reconnect'),'children':_0x22ed15()});}var Ri=Object[_0x331486(0x1ca)],Di=(_0x238ad1,_0x2d52b7,_0x35d1d6,_0x267e53)=>{const _0x2c2a0f=_0x331486;for(var _0x538944=_0x267e53>0x1?void 0x0:_0x267e53?Ri(_0x2d52b7,_0x35d1d6):_0x2d52b7,_0x215680=_0x238ad1[_0x2c2a0f(0xea)]-0x1,_0xdd238e;_0x215680>=0x0;_0x215680--)(_0xdd238e=_0x238ad1[_0x215680])&&(_0x538944=_0xdd238e(_0x538944)||_0x538944);return _0x538944;},se=(_0xa6fbd,_0x96cbb2)=>(_0x12a7cb,_0x5436ba)=>_0x96cbb2(_0x12a7cb,_0x5436ba,_0xa6fbd);let ae=class extends _0x4064cc{constructor(_0x27cf5c,_0x2eec9a,_0x2642ae,_0x29ee83){const _0x16063c=_0x331486;super(),_(this,_0x16063c(0xeb),new _0x5adb5d(_0x1917c2[_0x16063c(0x1e9)])),(this[_0x16063c(0xed)]=_0x27cf5c,this[_0x16063c(0x1fb)]=_0x2eec9a,this[_0x16063c(0x233)]=_0x2642ae,this[_0x16063c(0x175)]=_0x29ee83,this[_0x16063c(0xae)](),this[_0x16063c(0x22d)]());}[_0x331486(0x22d)](){const _0x281483=_0x331486;this[_0x281483(0xf5)](this[_0x281483(0xed)][_0x281483(0x20f)][_0x281483(0x181)](_0x4ce806(()=>{const _0x5b7b18=_0x281483,_0x1eba79=this[_0x5b7b18(0xed)]['getFocusedUnit']();return _0x1eba79?this[_0x5b7b18(0x233)][_0x5b7b18(0x112)](_0x1eba79['getUnitId']()):_0x218df2(null);}),_0x4ce806(_0x1ada31=>_0x1ada31?_0x1ada31[_0x281483(0x1b9)]:_0x218df2(_0x1917c2['NOT_COLLAB'])))[_0x281483(0x1e8)](_0x31ea82=>{const _0x36667a=_0x281483;this[_0x36667a(0xeb)]['next'](_0x31ea82);}));}['_initStatusComponent'](){const _0xfbcfe9=_0x331486;this[_0xfbcfe9(0xf5)](this[_0xfbcfe9(0x175)][_0xfbcfe9(0xa9)](_0x17e272[_0xfbcfe9(0x10f)],()=>_0x5a631e(bi({'status$':this['_status$']['asObservable']()}),this[_0xfbcfe9(0x1fb)])));}};ae=Di([se(0x0,_0x34a5b3),se(0x1,_0x384b36(_0x2975ff)),se(0x2,_0x384b36(_0x24f9da)),se(0x3,_0x559491)],ae);function bi(_0x16d255){const {status$:_0x1e6311}=_0x16d255;return function(){return _0x5d25a9(Ci,{'status$':_0x1e6311});};}const yt=_0x201af0('uni.network.url-service');var Ni=Object[_0x331486(0x1ca)],Li=(_0x47e3f6,_0x40e517,_0x4c88bb,_0x4ce20e)=>{const _0x4322f0=_0x331486;for(var _0x1feb6f=_0x4ce20e>0x1?void 0x0:_0x4ce20e?Ni(_0x40e517,_0x4c88bb):_0x40e517,_0x51a975=_0x47e3f6[_0x4322f0(0xea)]-0x1,_0x1c4dfe;_0x51a975>=0x0;_0x51a975--)(_0x1c4dfe=_0x47e3f6[_0x51a975])&&(_0x1feb6f=_0x1c4dfe(_0x1feb6f)||_0x1feb6f);return _0x1feb6f;},K=(_0x38b928,_0x45772b)=>(_0x108bbb,_0x1fcb9b)=>_0x45772b(_0x108bbb,_0x1fcb9b,_0x38b928);let ce=class extends _0x57605c{constructor(_0x1d6e59,_0x58eb4f,_0x5b8146,_0x3d69e7,_0x1bca4a){const _0x4b2e65=_0x331486;super(),this['_urlService']=_0x1d6e59,this[_0x4b2e65(0xb6)]=_0x58eb4f,this[_0x4b2e65(0x124)]=_0x5b8146,this['_dataLoaderService']=_0x3d69e7,_0x1bca4a?_0x1bca4a==null||_0x1bca4a[_0x4b2e65(0x207)]()['then'](()=>this[_0x4b2e65(0x119)]()):(this[_0x4b2e65(0xb6)][_0x4b2e65(0x1f9)]('[CollaborationDataLoaderController]',_0x4b2e65(0x26a)),this[_0x4b2e65(0x119)]());}async['_init'](){const _0x1d69a2=_0x331486,_0xca79ab=this[_0x1d69a2(0x231)][_0x1d69a2(0xdd)]('unit'),_0x471d71=this[_0x1d69a2(0x231)][_0x1d69a2(0xdd)](_0x1d69a2(0x1d3)),_0x150b27=this[_0x1d69a2(0x231)]['getParam'](_0x1d69a2(0x1df));if(!_0xca79ab||!_0x471d71){this[_0x1d69a2(0xb6)][_0x1d69a2(0x1f9)]('[CollaborationDataLoaderController]',_0x1d69a2(0x28c));return;}const _0x4eac15=await this[_0x1d69a2(0x159)][_0x1d69a2(0x23e)](_0xca79ab,Number(_0x471d71),_0x150b27);_0x4eac15&&_0x4eac15 instanceof _0x2745c9&&this['_setupSubUnitSync'](_0x4eac15);}async[_0x331486(0x139)](_0x38a98e){const _0x156950=_0x331486;await this[_0x156950(0x167)](_0x38a98e),_0x38a98e[_0x156950(0x26b)][_0x156950(0x181)](_0x136c33(this[_0x156950(0x134)]))[_0x156950(0x1e8)](_0x5b6ac7=>{const _0x5a8cc5=_0x156950;_0x5b6ac7&&this[_0x5a8cc5(0x2c8)](_0x5b6ac7);}),this[_0x156950(0x231)]['urlChange$'][_0x156950(0x181)](_0x136c33(this[_0x156950(0x134)]))[_0x156950(0x1e8)](()=>this[_0x156950(0x167)](_0x38a98e));}[_0x331486(0x2c8)](_0x1867de,_0x17003a=!0x1){const _0x5264db=_0x331486,_0x2b53f4=this[_0x5264db(0x231)][_0x5264db(0xdd)]('subunit');_0x1867de['getSheetId']()!==_0x2b53f4&&this[_0x5264db(0x231)][_0x5264db(0xe8)](_0x5264db(0x1df),_0x1867de[_0x5264db(0x1d2)](),_0x17003a);}async[_0x331486(0x167)](_0x1b33fb){const _0x2193f3=_0x331486;var _0x1c6e97;const _0x5e59b3=this[_0x2193f3(0x231)][_0x2193f3(0xdd)](_0x2193f3(0x1df));if(!_0x5e59b3||!_0x1b33fb[_0x2193f3(0x2cf)](_0x5e59b3)){const _0x2ae776=_0x1b33fb['getUnhiddenWorksheets']()[0x0],_0x83f55f=_0x1b33fb[_0x2193f3(0x2cf)](_0x2ae776);if(!_0x83f55f)return;this['_updateURLWithCurrentState'](_0x83f55f,!0x0),await this[_0x2193f3(0x124)][_0x2193f3(0x255)](_0x565bcb['id'],{'unitId':_0x1b33fb['getUnitId'](),'subUnitId':_0x2ae776});return;}((_0x1c6e97=_0x1b33fb[_0x2193f3(0x145)]())==null?void 0x0:_0x1c6e97[_0x2193f3(0x1d2)]())!==_0x5e59b3&&await this['_commandService'][_0x2193f3(0x255)](_0x565bcb['id'],{'unitId':_0x1b33fb['getUnitId'](),'subUnitId':_0x5e59b3});}};ce=Li([K(0x0,yt),K(0x1,_0x1f29f4),K(0x2,_0xd74a37),K(0x3,_0x384b36(_0x413219)),K(0x4,_0x36f410(_0x9b3096))],ce);var Ui=Object['getOwnPropertyDescriptor'],Mi=(_0x473793,_0x470c43,_0x353253,_0x447dd4)=>{const _0x193748=_0x331486;for(var _0x389849=_0x447dd4>0x1?void 0x0:_0x447dd4?Ui(_0x470c43,_0x353253):_0x470c43,_0x1f482e=_0x473793[_0x193748(0xea)]-0x1,_0x54c819;_0x1f482e>=0x0;_0x1f482e--)(_0x54c819=_0x473793[_0x1f482e])&&(_0x389849=_0x54c819(_0x389849)||_0x389849);return _0x389849;},rt=(_0x38e646,_0xfcfb8d)=>(_0x7644e8,_0x5a9a08)=>_0xfcfb8d(_0x7644e8,_0x5a9a08,_0x38e646);let $e=class extends _0x57605c{constructor(_0x404724,_0x12cf71){const _0x4d4779=_0x331486;super(),this['_docClipboardService']=_0x404724,this[_0x4d4779(0x275)]=_0x12cf71,this[_0x4d4779(0x119)]();}['_init'](){const _0x54cd3c=_0x331486,_0x159486=this;this[_0x54cd3c(0xf5)](this[_0x54cd3c(0xbd)]['addClipboardHook']({'onBeforePasteImage':async _0x37c6bb=>{const _0x378404=_0x54cd3c,_0x5cf93e=await _0x159486[_0x378404(0x275)][_0x378404(0x2d3)](_0x37c6bb);return _0x5cf93e?{'source':_0x5cf93e['source'],'imageSourceType':_0x5cf93e[_0x378404(0x1a5)]}:null;}}));}};$e=Mi([rt(0x0,_0x54ca08),rt(0x1,_0x331a67)],$e);const ot=[_0x331486(0x158),'jiqing.500',_0x331486(0x1d5),_0x331486(0x2b9),_0x331486(0x221),_0x331486(0x168)];class Ke extends _0x4064cc{constructor(){super(...arguments),_(this,'_assignedColors',new Map()),_(this,'_colorIndex',0x0);}[_0x331486(0x12a)](_0x30d743){const _0x2296cf=_0x331486;if(this[_0x2296cf(0x180)][_0x2296cf(0x1ef)](_0x30d743))return this['_assignedColors']['get'](_0x30d743);const _0x4a3119=ot[this[_0x2296cf(0x142)]];return this['_colorIndex']=(this[_0x2296cf(0x142)]+0x1)%ot[_0x2296cf(0xea)],this['_assignedColors'][_0x2296cf(0x1c0)](_0x30d743,_0x4a3119),_0x4a3119;}}function $t(_0x28ba6b){let _0x4e150a='';for(const _0x55b3d4 of _0x28ba6b){const {startOffset:_0x3d8647,endOffset:_0x1c229f,isActive:_0x1867a0,rangeType:_0x569997,segmentId:_0xdb6b78,segmentPage:_0x29347b}=_0x55b3d4;_0x4e150a['length']&&(_0x4e150a+=','),_0x4e150a+=_0x3d8647+':'+_0x1c229f+':'+(_0x1867a0?'1':'0')+':'+_0x569997+':'+_0xdb6b78+':'+_0x29347b;}return _0x4e150a;}function Ai(_0x47ba73){const _0x431a3e=_0x331486,_0x53a936=_0x47ba73[_0x431a3e(0x1fa)](','),_0x31aead=[];for(const _0x45a418 of _0x53a936){const [_0x46c4db,_0x5ac9a5,_0x23dbf5,_0x239709,_0xb0198e,_0x2da7a7]=_0x45a418[_0x431a3e(0x1fa)](':');_0x31aead['push']({'startOffset':Number(_0x46c4db),'endOffset':Number(_0x5ac9a5),'collapsed':_0x46c4db===_0x5ac9a5,'isActive':_0x23dbf5==='1','rangeType':_0x239709===_0x80033e['TEXT']?_0x80033e['TEXT']:_0x80033e[_0x431a3e(0xf4)],'segmentId':typeof _0xb0198e==_0x431a3e(0x1c1)?String(_0xb0198e):'','segmentPage':Number(_0x2da7a7!=null?_0x2da7a7:-0x1)});}return _0x31aead[_0x431a3e(0x244)](_0x238c0b=>_0x238c0b['isActive'])||(_0x31aead[0x0][_0x431a3e(0x91)]=!0x0),_0x31aead;}class ze extends _0x57605c{constructor(){const _0x387947=_0x331486;super(...arguments),_(this,'_collabCursorState$',new _0x5adb5d(null)),_(this,'collabCursorState$',this[_0x387947(0x162)]['asObservable']());}['syncEditingCollabCursor'](_0x22bd83){const _0x4ec336=_0x331486,{unitID:_0x4e2d6f,memberID:_0x32e591,textRanges:_0x317303}=_0x22bd83,_0xc2cbf7=$t(_0x317303);if(_0xc2cbf7==='')return;const _0x1539e0={'unitID':_0x4e2d6f,'memberID':_0x32e591,'selection':_0xc2cbf7};this[_0x4ec336(0x162)][_0x4ec336(0x1c4)](_0x1539e0);}}var Pi=Object['getOwnPropertyDescriptor'],wi=(_0x3c5a60,_0x24b2e0,_0xb5b58,_0x27b12c)=>{const _0x52c88a=_0x331486;for(var _0x2793f2=_0x27b12c>0x1?void 0x0:_0x27b12c?Pi(_0x24b2e0,_0xb5b58):_0x24b2e0,_0x3a9712=_0x3c5a60[_0x52c88a(0xea)]-0x1,_0x33da9e;_0x3a9712>=0x0;_0x3a9712--)(_0x33da9e=_0x3c5a60[_0x3a9712])&&(_0x2793f2=_0x33da9e(_0x2793f2)||_0x2793f2);return _0x2793f2;},A=(_0x3e5f8e,_0x4cbafd)=>(_0x55b439,_0x4e139b)=>_0x4cbafd(_0x55b439,_0x4e139b,_0x3e5f8e);const yi=0x12c,$i=0x64;let xe=class extends _0x57605c{constructor(_0x45209f,_0x200c7a,_0x5f55b5,_0x4f56b4,_0x4d31de,_0x15c22e,_0x422529,_0x469c3e,_0x59749a){const _0x1e9a4e=_0x331486;super(),_(this,_0x1e9a4e(0x280),!0x1),_(this,_0x1e9a4e(0x119),!0x1),_(this,'_cursorInfo$',new _0x5adb5d(new Map())),_(this,_0x1e9a4e(0x2b8),this[_0x1e9a4e(0x24e)]['asObservable']()),_(this,_0x1e9a4e(0x1c2),new _0x5adb5d([])),_(this,_0x1e9a4e(0x104),this['_roomMembers$'][_0x1e9a4e(0x181)](_0x61f829(yi))),_(this,'_updateLocalCursor',_0x3554ba(_0x153a03=>{const _0x14e977=_0x1e9a4e,_0x35b81e={'eventID':_0x2fc4d1[_0x14e977(0x194)],'data':{'unitID':this['unitID'],'memberID':this[_0x14e977(0x2c7)][_0x14e977(0x173)](),'selection':$t(_0x153a03)}};this[_0x14e977(0x2c7)][_0x14e977(0x1e3)](_0x35b81e,this[_0x14e977(0x203)]);},$i)),(this['unitID']=_0x45209f,this[_0x1e9a4e(0x2c7)]=_0x200c7a,this[_0x1e9a4e(0x1fb)]=_0x5f55b5,this[_0x1e9a4e(0x157)]=_0x4f56b4,this['_memberService']=_0x4d31de,this[_0x1e9a4e(0x123)]=_0x15c22e,this['_transformService']=_0x422529,this[_0x1e9a4e(0xed)]=_0x469c3e,this[_0x1e9a4e(0x124)]=_0x59749a);}get[_0x331486(0x2b3)](){const _0x28e2fd=_0x331486;return this[_0x28e2fd(0x24e)][_0x28e2fd(0xf0)]();}get[_0x331486(0x28b)](){const _0x4c3240=_0x331486;return this[_0x4c3240(0x1c2)][_0x4c3240(0xf0)]();}[_0x331486(0x1af)](){const _0x37bcb6=_0x331486;super[_0x37bcb6(0x1af)](),this[_0x37bcb6(0x24e)][_0x37bcb6(0x1c4)](new Map()),this[_0x37bcb6(0x24e)][_0x37bcb6(0x25a)](),this['_roomMembers$']['next']([]),this['_roomMembers$'][_0x37bcb6(0x25a)]();}[_0x331486(0x2ba)](){const _0x53fbdc=_0x331486;this[_0x53fbdc(0x119)]||(this[_0x53fbdc(0x119)]=!0x0,this[_0x53fbdc(0x2c7)][_0x53fbdc(0x21b)][_0x53fbdc(0x181)](_0x136c33(this[_0x53fbdc(0x134)]))['subscribe'](_0x219175=>{const _0x59efdf=_0x53fbdc;_0x219175===_0x267c32[_0x59efdf(0x10b)]?this[_0x59efdf(0x2d4)]():this[_0x59efdf(0x1c3)]();}),this[_0x53fbdc(0x2c7)][_0x53fbdc(0x18a)][_0x53fbdc(0x181)](_0x136c33(this['dispose$']))[_0x53fbdc(0x1e8)](_0x4c7c92=>{const _0x374fa9=_0x53fbdc,_0x353ac2=_0x4c7c92[_0x374fa9(0x163)];_0x353ac2===_0x2fc4d1[_0x374fa9(0x194)]&&this[_0x374fa9(0x2d8)](_0x4c7c92),_0x353ac2===_0x2fc4d1[_0x374fa9(0xf1)]&&this['_onCursorDelete'](_0x4c7c92);}),this[_0x53fbdc(0xf5)](this[_0x53fbdc(0x124)][_0x53fbdc(0x2b2)](_0x5687f1=>{const _0x2dd774=_0x53fbdc,_0x378355=_0x5687f1[_0x2dd774(0x8f)];_0x378355!=null&&this['_online']&&_0x5687f1['id']===_0x577316['id']&&_0x378355[_0x2dd774(0x19a)]===this[_0x2dd774(0x203)]&&_0x378355[_0x2dd774(0x111)]===!0x1&&_0x378355[_0x2dd774(0x291)][_0x2dd774(0xea)]>0x0&&this[_0x2dd774(0x16e)](_0x378355[_0x2dd774(0x291)]);})),this[_0x53fbdc(0x123)]['collabCursorState$'][_0x53fbdc(0x181)](_0x136c33(this[_0x53fbdc(0x134)]))[_0x53fbdc(0x1e8)](_0x1436f4=>{const _0x47ea70=_0x53fbdc;if((_0x1436f4==null?void 0x0:_0x1436f4[_0x47ea70(0x203)])!==this['unitID'])return;const _0x51db92={'eventID':_0x2fc4d1[_0x47ea70(0x194)],'data':_0x1436f4};this[_0x47ea70(0x2d8)](_0x51db92);}),this[_0x53fbdc(0xf5)](this['_commandService'][_0x53fbdc(0x2b2)](_0x38b82d=>{const _0x16de92=_0x53fbdc;if(_0x38b82d[_0x16de92(0x8f)]==null)return;const _0x210477=_0x38b82d[_0x16de92(0x8f)];if(_0x38b82d['id']!==_0x206466['id']||_0x210477['unitId']!==this[_0x16de92(0x203)])return;const _0x2ed1a3={'id':_0x16de92(0xb1),'params':_0x210477},_0x575ecc=this[_0x16de92(0x2b3)];for(const [_0x3c5d9,_0x21d7d4]of _0x575ecc){const _0x4e42a7={'id':_0x16de92(0xb1),'params':{'unitId':this[_0x16de92(0x203)],'actions':null,'textRanges':_0x21d7d4[_0x16de92(0x291)]}},_0x285042=this['_transformService'][_0x16de92(0x2d0)](_0x2ed1a3,_0x4e42a7,!0x1);if(_0x3d60d7(_0x285042))throw _0x285042[_0x16de92(0x17e)];_0x575ecc[_0x16de92(0x1c0)](_0x3c5d9,{..._0x21d7d4,'ranges':_0x285042[_0x16de92(0x264)][_0x16de92(0x8f)][_0x16de92(0x1d1)]});}queueMicrotask(()=>{const _0x30408d=_0x16de92;this[_0x30408d(0x24e)][_0x30408d(0x1c4)](_0x575ecc);});})));}['_onCursorUpdate'](_0x14f971){const _0x100b23=_0x331486;var _0x4ad882,_0x31ef98;const {memberID:_0x1bd41b,selection:_0x24fac2}=_0x14f971['data'],_0x31ef9e=Ai(_0x24fac2),_0x17ea68=(_0x31ef98=(_0x4ad882=this[_0x100b23(0xd9)][_0x100b23(0x2d1)](this[_0x100b23(0x203)],_0x1bd41b))==null?void 0x0:_0x4ad882[_0x100b23(0x169)])!=null?_0x31ef98:_0x100b23(0xd1),_0x2cf1e4={'color':this[_0x100b23(0x157)]['assignAColorForMemberID'](_0x1bd41b),'name':_0x17ea68,'ranges':_0x31ef9e},_0x24041a=this[_0x100b23(0x2b3)];_0x24041a['set'](_0x1bd41b,_0x2cf1e4),this[_0x100b23(0x24e)][_0x100b23(0x1c4)](_0x24041a);}[_0x331486(0x220)](_0x57c357){const _0x25dd84=_0x331486,{memberID:_0x199527}=_0x57c357['data'],_0xd8eeb6=this['cursorInfo'];_0xd8eeb6['delete'](_0x199527),this[_0x25dd84(0x24e)][_0x25dd84(0x1c4)](_0xd8eeb6);}['_toggleOnline'](){const _0x577493=_0x331486;var _0x4276f7;if(this[_0x577493(0x280)]=!0x0,((_0x4276f7=this[_0x577493(0xed)][_0x577493(0xcb)]())==null?void 0x0:_0x4276f7[_0x577493(0x18c)]())!==this['unitID'])return;const _0x4d285e=this['_injector']['get'](_0x1bc8e5)[_0x577493(0x13f)]();Array[_0x577493(0x238)](_0x4d285e)&&_0x4d285e[_0x577493(0xea)]>0x0&&this['_updateLocalCursor'](_0x4d285e);}['_toggleOffline'](){const _0x2d5c67=_0x331486;this[_0x2d5c67(0x280)]=!0x1;}};xe=wi([A(0x2,_0x384b36(_0x2975ff)),A(0x3,_0x384b36(Ke)),A(0x4,_0x384b36(_0x5bfe2e)),A(0x5,_0x384b36(ze)),A(0x6,_0x2843ad),A(0x7,_0x34a5b3),A(0x8,_0xd74a37)],xe);var xi=Object[_0x331486(0x1ca)],Bi=(_0x3df158,_0x396d24,_0x3165c5,_0x396ded)=>{const _0x24e981=_0x331486;for(var _0x1136cb=_0x396ded>0x1?void 0x0:_0x396ded?xi(_0x396d24,_0x3165c5):_0x396d24,_0x20532b=_0x3df158[_0x24e981(0xea)]-0x1,_0x4998b1;_0x20532b>=0x0;_0x20532b--)(_0x4998b1=_0x3df158[_0x20532b])&&(_0x1136cb=_0x4998b1(_0x1136cb)||_0x1136cb);return _0x1136cb;},B=(_0x457f98,_0x4111af)=>(_0xecdfe3,_0x6ccdb8)=>_0x4111af(_0xecdfe3,_0x6ccdb8,_0x457f98);const Fi=0x12c,ki=0x64,Hi=()=>{let _0x4ef1a9=[],_0x2c8f8c=!0x1;return _0x5e419a=>{const _0x44b52b=_0x512f;_0x4ef1a9[_0x44b52b(0x118)](_0x5e419a),_0x2c8f8c||(_0x2c8f8c=!0x0,setTimeout(()=>{const _0x162cf2=_0x44b52b;_0x4ef1a9[_0x162cf2(0x210)](_0x5a1582=>_0x5a1582()),_0x4ef1a9=[],_0x2c8f8c=!0x1;}));};};let Be=class extends _0x57605c{constructor(_0x2a0b8e,_0x4d05c3,_0x18d0bb,_0xbdf7b7,_0x1082ac,_0x1e718a,_0x1a7891,_0x3f87ea){const _0x5a44fa=_0x331486;super(),_(this,_0x5a44fa(0x280),!0x1),_(this,_0x5a44fa(0x119),!0x1),_(this,_0x5a44fa(0x24e),new _0x5adb5d(new Map())),_(this,_0x5a44fa(0x2b8),this[_0x5a44fa(0x24e)][_0x5a44fa(0x149)]()),_(this,_0x5a44fa(0x1c2),new _0x5adb5d([])),_(this,'roomMembers$',this[_0x5a44fa(0x1c2)][_0x5a44fa(0x181)](_0x61f829(Fi))),_(this,_0x5a44fa(0x16e),_0x3554ba((_0x45eec5,_0x591b80)=>{const _0x123c0b=_0x5a44fa,_0x3d0c95={'eventID':_0x2fc4d1[_0x123c0b(0x194)],'data':{'unitID':this[_0x123c0b(0x203)],'memberID':this[_0x123c0b(0x2c7)][_0x123c0b(0x173)](),'selection':_0x495e5f(_0x45eec5,_0x591b80[_0x123c0b(0xe7)])}};this[_0x123c0b(0x2c7)][_0x123c0b(0x1e3)](_0x3d0c95,this[_0x123c0b(0x203)]);},ki)),(this[_0x5a44fa(0x203)]=_0x2a0b8e,this[_0x5a44fa(0x2c7)]=_0x4d05c3,this[_0x5a44fa(0x1fb)]=_0x18d0bb,this[_0x5a44fa(0x157)]=_0xbdf7b7,this['_memberService']=_0x1082ac,this[_0x5a44fa(0xed)]=_0x1e718a,this[_0x5a44fa(0x124)]=_0x1a7891,this['_refRangeService']=_0x3f87ea);}get[_0x331486(0x2b3)](){const _0x4899a3=_0x331486;return this['_cursorInfo$'][_0x4899a3(0xf0)]();}get[_0x331486(0x28b)](){const _0x547bf5=_0x331486;return this['_roomMembers$'][_0x547bf5(0xf0)]();}[_0x331486(0x1af)](){const _0x16f80c=_0x331486;super[_0x16f80c(0x1af)](),this[_0x16f80c(0x24e)]['next'](new Map()),this[_0x16f80c(0x24e)][_0x16f80c(0x25a)](),this[_0x16f80c(0x1c2)]['next']([]),this['_roomMembers$'][_0x16f80c(0x25a)]();}[_0x331486(0x2ba)](){const _0x2af471=_0x331486;this['_init']||(this[_0x2af471(0x119)]=!0x0,this['_session'][_0x2af471(0x21b)][_0x2af471(0x181)](_0x136c33(this[_0x2af471(0x134)]))[_0x2af471(0x1e8)](_0xf812c6=>{const _0x3cf755=_0x2af471;_0xf812c6===_0x267c32[_0x3cf755(0x10b)]?this[_0x3cf755(0x2d4)]():this[_0x3cf755(0x1c3)]();}),this['_session'][_0x2af471(0x18a)][_0x2af471(0x181)](_0x136c33(this[_0x2af471(0x134)]))['subscribe'](_0x31dd76=>{const _0x2592d5=_0x2af471,_0x93bf79=_0x31dd76[_0x2592d5(0x163)];_0x93bf79===_0x2fc4d1['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x31dd76),_0x93bf79===_0x2fc4d1['USERS_LEAVE']&&this[_0x2592d5(0x220)](_0x31dd76);}),this[_0x2af471(0x218)](),this[_0x2af471(0xf5)](this['_commandService'][_0x2af471(0x2b2)](_0x5aa271=>{const _0x215a15=_0x2af471;if(this[_0x215a15(0x280)]&&_0x5aa271['id']===_0x4a1b82['id']&&_0x5aa271[_0x215a15(0x8f)]['unitId']===this[_0x215a15(0x203)]){const _0x3b4b94=_0x5aa271[_0x215a15(0x8f)];this['_updateLocalCursor'](_0x3b4b94[_0x215a15(0xfd)],_0x3b4b94[_0x215a15(0x11a)][0x0]);}})));}[_0x331486(0x2d8)](_0x581d36){const _0x428a36=_0x331486;var _0x2eeee5,_0x148ee8;const {memberID:_0x78f743,selection:_0x5e0b9b}=_0x581d36['data'],{sheetName:_0x164cda,range:_0x264bfb}=_0x51524b(_0x5e0b9b),_0x4f864f={'name':(_0x148ee8=(_0x2eeee5=this[_0x428a36(0xd9)]['getMember'](this['unitID'],_0x78f743))==null?void 0x0:_0x2eeee5[_0x428a36(0x169)])!=null?_0x148ee8:_0x428a36(0xd1),'range':this[_0x428a36(0x1cc)](_0x164cda,_0x264bfb),'sheetID':_0x164cda,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x78f743),'selection':_0x5e0b9b},_0x59316b=this[_0x428a36(0x2b3)];_0x59316b[_0x428a36(0x1c0)](_0x78f743,_0x4f864f),this[_0x428a36(0x24e)][_0x428a36(0x1c4)](_0x59316b);}[_0x331486(0x220)](_0x4f1a3e){const _0x1a3eb3=_0x331486,{memberID:_0x5034e6}=_0x4f1a3e[_0x1a3eb3(0x126)],_0x471cd1=this[_0x1a3eb3(0x2b3)];_0x471cd1[_0x1a3eb3(0x211)](_0x5034e6),this[_0x1a3eb3(0x24e)]['next'](_0x471cd1);}[_0x331486(0x1cc)](_0x498337,_0x526604){const _0x2ae91f=_0x331486;var _0x4d041b,_0x2312bc;const _0x4e8507=(_0x2312bc=(_0x4d041b=this[_0x2ae91f(0xed)][_0x2ae91f(0x1ce)](this[_0x2ae91f(0x203)]))==null?void 0x0:_0x4d041b['getSheetBySheetId'](_0x498337))==null?void 0x0:_0x2312bc[_0x2ae91f(0x29b)]();return(_0x4e8507==null?void 0x0:_0x4e8507[_0x2ae91f(0xa3)](_0x47d55a=>_0x16bdf7[_0x2ae91f(0x28d)](_0x47d55a,_0x526604)))||_0x526604;}[_0x331486(0x218)](){const _0x38f171=_0x331486,_0x3a9d77=new _0x112c0e(),_0x3346ff=Hi(),_0x8ac394=()=>{const _0x4c88bf=_0x512f;_0x3a9d77['dispose']();const _0x18f6d7=(_0x58fbb1,_0x4006de,_0x4b2cad,_0x58dd61)=>{const _0x3628f6=_0x512f;let _0x2fcd97=[];switch(_0x58fbb1['id']){case _0x5ab1aa[_0x3628f6(0x14c)]:{_0x2fcd97=_0x31ca5c(_0x58fbb1,_0x58dd61);break;}case _0x5ab1aa['DeleteRangeMoveUpCommandId']:{_0x2fcd97=_0x11ddcb(_0x58fbb1,_0x58dd61);break;}case _0x5ab1aa[_0x3628f6(0x1f5)]:{_0x2fcd97=_0x5dd904(_0x58fbb1,_0x58dd61);break;}case _0x5ab1aa['InsertRangeMoveDownCommandId']:{_0x2fcd97=_0x4d752e(_0x58fbb1,_0x58dd61);break;}case _0x5ab1aa[_0x3628f6(0x25f)]:{_0x2fcd97=_0x2ba715(_0x58fbb1,_0x58dd61);break;}case _0x5ab1aa[_0x3628f6(0xc5)]:{_0x2fcd97=_0x14d58d(_0x58fbb1,_0x58dd61);break;}case _0x5ab1aa['MoveRangeCommandId']:{_0x2fcd97=_0x240f5e(_0x58fbb1,_0x58dd61);break;}case _0x5ab1aa[_0x3628f6(0x11b)]:{_0x2fcd97=_0x50a710(_0x58fbb1,_0x58dd61);break;}case _0x5ab1aa['RemoveRowCommandId']:{_0x2fcd97=_0x2d3dff(_0x58fbb1,_0x58dd61);break;}}const _0x558288=_0x34ca57(_0x2fcd97,_0x58dd61),_0x4430de=this[_0x3628f6(0x2b3)]['get'](_0x4006de);if(_0x4430de&&_0x558288){const _0x59e3f0={..._0x4430de,'range':_0x558288};this['cursorInfo'][_0x3628f6(0x1c0)](_0x4006de,_0x59e3f0),_0x3346ff(()=>{const _0x45215f=_0x3628f6,_0x51aedd=this['_refRangeService'][_0x45215f(0xa5)](_0x558288,_0x5beb84=>(_0x51aedd['dispose'](),_0x18f6d7(_0x5beb84,_0x4006de,_0x4b2cad,_0x558288)));_0x3a9d77['add'](_0x51aedd);});}return{'redos':[],'undos':[]};};this[_0x4c88bf(0x2b3)][_0x4c88bf(0x210)]((_0x57255d,_0x9fb244)=>{const _0x50f871=_0x4c88bf,{range:_0x2b35cb,sheetID:_0x9e8dff}=_0x57255d,_0x415ec7=this[_0x50f871(0xc9)][_0x50f871(0xa5)](_0x2b35cb,_0x537bd1=>(_0x415ec7['dispose'](),_0x18f6d7(_0x537bd1,_0x9fb244,_0x9e8dff,_0x2b35cb)));_0x3a9d77['add'](_0x415ec7);});};this[_0x38f171(0xf5)](_0x385cfe(this[_0x38f171(0x24e)][_0x38f171(0x1e8)](()=>{_0x8ac394();})));}[_0x331486(0x2d4)](){const _0x4212d3=_0x331486;var _0x1d4d60,_0x452789;if(this[_0x4212d3(0x280)]=!0x0,((_0x1d4d60=this['_univerInstanceService'][_0x4212d3(0xcb)]())==null?void 0x0:_0x1d4d60[_0x4212d3(0x18c)]())!==this['unitID'])return;const _0x338a0a=(_0x452789=this['_injector'][_0x4212d3(0x1e7)](_0x318b21)['getCurrentSelections']())==null?void 0x0:_0x452789[0x0],_0x42342f=this[_0x4212d3(0xed)][_0x4212d3(0x132)](_0x4e690a[_0x4212d3(0x153)])['getActiveSheet']();_0x338a0a&&_0x42342f&&this['_updateLocalCursor'](_0x42342f[_0x4212d3(0x1d2)](),_0x338a0a);}[_0x331486(0x1c3)](){this['_online']=!0x1;}};Be=Bi([B(0x2,_0x384b36(_0x2975ff)),B(0x3,_0x384b36(Ke)),B(0x4,_0x384b36(_0x5bfe2e)),B(0x5,_0x34a5b3),B(0x6,_0xd74a37),B(0x7,_0x384b36(_0x59856c))],Be);var Yi=Object['getOwnPropertyDescriptor'],Wi=(_0xebd1a9,_0x40f95c,_0x245a97,_0x37fce2)=>{const _0x5923ab=_0x331486;for(var _0x3aadbf=_0x37fce2>0x1?void 0x0:_0x37fce2?Yi(_0x40f95c,_0x245a97):_0x40f95c,_0x3caf7e=_0xebd1a9[_0x5923ab(0xea)]-0x1,_0x30155c;_0x3caf7e>=0x0;_0x3caf7e--)(_0x30155c=_0xebd1a9[_0x3caf7e])&&(_0x3aadbf=_0x30155c(_0x3aadbf)||_0x3aadbf);return _0x3aadbf;},Ce=(_0x263202,_0x2cd8f1)=>(_0x52b8e8,_0x108138)=>_0x2cd8f1(_0x52b8e8,_0x108138,_0x263202);let H=class extends _0x57605c{constructor(_0x5d18fd,_0x130005,_0x53ae13){const _0x1005d3=_0x331486;super(),_(this,_0x1005d3(0x1f7),new Map()),_(this,_0x1005d3(0x12f),new _0x49c822()),(this[_0x1005d3(0xed)]=_0x5d18fd,this[_0x1005d3(0x1fb)]=_0x130005,this['_collabSessionService']=_0x53ae13,this[_0x1005d3(0x119)]());}['dispose'](){const _0x1d97c8=_0x331486;super[_0x1d97c8(0x1af)](),this[_0x1d97c8(0x12f)][_0x1d97c8(0x25a)](),this[_0x1d97c8(0x1f7)][_0x1d97c8(0x210)](_0x3db908=>_0x3db908[_0x1d97c8(0x1af)]());}[_0x331486(0x2a5)](_0x35855c){const _0x23e57b=_0x331486;return this['_entities'][_0x23e57b(0x1ef)](_0x35855c)?this['_entities']['get'](_0x35855c)[_0x23e57b(0x2b8)]:this[_0x23e57b(0x12f)][_0x23e57b(0x181)](_0x5ad315(_0x59bc33=>_0x59bc33[_0x23e57b(0x203)]===_0x35855c),_0x4ce806(_0x44c453=>_0x44c453[_0x23e57b(0x2b8)]));}[_0x331486(0x119)](){const _0x5ddd14=_0x331486;this[_0x5ddd14(0xed)]['getTypeOfUnitAdded$'](_0x4e690a[_0x5ddd14(0x153)])[_0x5ddd14(0x181)](_0x136c33(this[_0x5ddd14(0x134)]))[_0x5ddd14(0x1e8)](async _0x152231=>{const _0x180656=_0x5ddd14,_0x337b57=_0x152231['getUnitId'](),_0x431f12=await this[_0x180656(0x1d7)](_0x337b57);this['_entityInit$'][_0x180656(0x1c4)](_0x431f12),this['_entities'][_0x180656(0x1c0)](_0x337b57,_0x431f12);}),this['_univerInstanceService'][_0x5ddd14(0x19b)](_0x4e690a['UNIVER_DOC'])[_0x5ddd14(0x181)](_0x136c33(this['dispose$']))[_0x5ddd14(0x181)](_0x5ad315(_0x86f30e=>!_0x86f30e[_0x5ddd14(0x18c)]()[_0x5ddd14(0x113)]('__')))[_0x5ddd14(0x1e8)](async _0x9c9b64=>{const _0x2ec667=_0x5ddd14,_0x1d3cc3=_0x9c9b64['getUnitId'](),_0xf902ec=await this[_0x2ec667(0xba)](_0x1d3cc3);this[_0x2ec667(0x12f)][_0x2ec667(0x1c4)](_0xf902ec),this[_0x2ec667(0x1f7)][_0x2ec667(0x1c0)](_0x1d3cc3,_0xf902ec);}),_0x5486e4(this[_0x5ddd14(0xed)][_0x5ddd14(0x89)](_0x4e690a[_0x5ddd14(0x237)]),this[_0x5ddd14(0xed)][_0x5ddd14(0x89)](_0x4e690a[_0x5ddd14(0x153)]))[_0x5ddd14(0x181)](_0x136c33(this['dispose$']))[_0x5ddd14(0x1e8)](_0x452ff6=>{const _0x4ac274=_0x5ddd14,_0x36f68e=_0x452ff6['getUnitId'](),_0x329706=this[_0x4ac274(0x1f7)][_0x4ac274(0x1e7)](_0x36f68e);_0x329706&&(_0x329706[_0x4ac274(0x1af)](),this[_0x4ac274(0x1f7)][_0x4ac274(0x211)](_0x36f68e));});}async[_0x331486(0x1d7)](_0x5cfc4f){const _0x437a22=_0x331486,_0x8546cf=await this[_0x437a22(0xbf)][_0x437a22(0x127)](_0x5cfc4f),_0x51faa2=this['_injector'][_0x437a22(0x232)](Be,_0x5cfc4f,_0x8546cf);return _0x51faa2[_0x437a22(0x2ba)](),_0x51faa2;}async['_startDocCollabCursor'](_0x39477e){const _0x335d4e=_0x331486,_0x12b4aa=await this[_0x335d4e(0xbf)]['requireSession'](_0x39477e),_0x1cc4a6=this[_0x335d4e(0x1fb)][_0x335d4e(0x232)](xe,_0x39477e,_0x12b4aa);return _0x1cc4a6[_0x335d4e(0x2ba)](),_0x1cc4a6;}};H=Wi([Ce(0x0,_0x34a5b3),Ce(0x1,_0x384b36(_0x2975ff)),Ce(0x2,_0x384b36(_0x46dc37))],H);const Q=0x14,at=0xc8,Re=0x4,ji=0x5;function Vi(_0x518250,_0x5434ad){const _0x59b74b=_0x331486;let {radius:_0x189943,width:_0x2c0186,height:_0x1ffd03}=_0x5434ad;_0x189943=_0x189943!=null?_0x189943:0x0,_0x2c0186=_0x2c0186!=null?_0x2c0186:0x1e,_0x1ffd03=_0x1ffd03!=null?_0x1ffd03:0x1e;let _0x321514=0x0,_0x3f59a9=0x0,_0x39d997=0x0;_0x321514=_0x3f59a9=_0x39d997=Math[_0x59b74b(0x8d)](_0x189943,_0x2c0186/0x2,_0x1ffd03/0x2),_0x518250[_0x59b74b(0x16a)](),_0x518250[_0x59b74b(0x189)](_0x321514,0x0),_0x518250['lineTo'](_0x2c0186-_0x3f59a9,0x0),_0x518250[_0x59b74b(0x1cf)](_0x2c0186-_0x3f59a9,_0x3f59a9,_0x3f59a9,Math['PI']*0x3/0x2,0x0,!0x1),_0x518250[_0x59b74b(0x263)](_0x2c0186,_0x1ffd03-_0x39d997),_0x518250[_0x59b74b(0x1cf)](_0x2c0186-_0x39d997,_0x1ffd03-_0x39d997,_0x39d997,0x0,Math['PI']/0x2,!0x1),_0x518250[_0x59b74b(0x263)](0x0,_0x1ffd03),_0x518250[_0x59b74b(0x263)](0x0,_0x321514),_0x518250['arc'](_0x321514,_0x321514,_0x321514,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x518250[_0x59b74b(0x2b1)](),_0x5434ad[_0x59b74b(0x2d9)]&&(_0x518250[_0x59b74b(0x102)](),_0x518250[_0x59b74b(0x19f)]=_0x5434ad['fill'],_0x5434ad[_0x59b74b(0x215)]==='evenodd'?_0x518250[_0x59b74b(0x2d9)](_0x59b74b(0x14b)):_0x518250[_0x59b74b(0x2d9)](),_0x518250['restore']());}class Ee extends _0x16364b{constructor(_0x1468ae,_0x5c5556){const _0x33bc45=_0x331486;super(_0x1468ae,_0x5c5556),_(this,_0x33bc45(0x15d)),_(this,_0x33bc45(0xd3)),(this[_0x33bc45(0x15d)]=_0x5c5556==null?void 0x0:_0x5c5556[_0x33bc45(0x15d)],this[_0x33bc45(0xd3)]=_0x5c5556==null?void 0x0:_0x5c5556[_0x33bc45(0xd3)]);}static[_0x331486(0xbb)](_0xcbd59d,_0x59d664){const _0x3bd56e=_0x331486,{text:_0x36e425,color:_0x25dce5}=_0x59d664;_0xcbd59d[_0x3bd56e(0x102)](),_0xcbd59d[_0x3bd56e(0x109)]=_0x3bd56e(0xcc);const _0x491192=_0xcbd59d['measureText'](_0x36e425)[_0x3bd56e(0x1fd)],_0x1ebe58=Math[_0x3bd56e(0x8d)](_0x491192+0x2*Re,at);Vi(_0xcbd59d,{'height':Q,'radius':0x4,'width':_0x1ebe58,'fill':_0x25dce5}),_0xcbd59d['fillStyle']=_0x3bd56e(0x274);const _0x29723d=Re,_0x466360=Q-ji,_0x1b5a91=at-0x2*Re;if(_0x491192>_0x1b5a91){let _0x2fbee5='',_0x45fed1=0x0;for(const _0x147c28 of _0x36e425){const _0x200c1c=_0xcbd59d[_0x3bd56e(0x122)](_0x147c28)['width'];if(_0x45fed1+_0x200c1c<=_0x1b5a91-_0xcbd59d[_0x3bd56e(0x122)](_0x3bd56e(0x271))[_0x3bd56e(0x1fd)])_0x2fbee5+=_0x147c28,_0x45fed1+=_0x200c1c;else{_0x2fbee5+='...';break;}}_0xcbd59d['fillText'](_0x2fbee5,_0x29723d,_0x466360);}else _0xcbd59d[_0x3bd56e(0x1be)](_0x36e425,_0x29723d,_0x466360);_0xcbd59d[_0x3bd56e(0xb7)]();}[_0x331486(0x9a)](_0x26e613){Ee['drawWith'](_0x26e613,this);}}const De=_0x331486(0x107),Xi=_0x331486(0x2c4),Gi='collab-rect-range-',z=0x6,Ki=1.5,be=0x4,zi=1.5,Ji=_0x331486(0x243);class ct{constructor(_0xd853c3,_0x2b728f,_0x5d7b5e,_0x3fbd7f){const _0x24cf53=_0x331486;_(this,_0x24cf53(0x1b0),[]),_(this,'_anchor',null),_(this,_0x24cf53(0xaa),null),_(this,_0x24cf53(0x251),null),_(this,_0x24cf53(0xd4),null),_(this,'_eventUnsubscribe',null),(this['_cursor']=_0xd853c3,this[_0x24cf53(0x13b)]=_0x2b728f,this[_0x24cf53(0xe6)]=_0x5d7b5e,this[_0x24cf53(0xe9)]=_0x3fbd7f,this[_0x24cf53(0x120)]());}set[_0x331486(0x247)](_0x4b407e){const _0x3e001f=_0x331486;_0x4b407e?(this[_0x3e001f(0x251)]&&this[_0x3e001f(0x251)]['hide'](),this[_0x3e001f(0xaa)]&&this[_0x3e001f(0xaa)][_0x3e001f(0x268)]()):(this[_0x3e001f(0x251)]&&this['_anchorDot'][_0x3e001f(0x268)](),this['_textBubble']&&this['_textBubble'][_0x3e001f(0xb8)]());}[_0x331486(0x1af)](){const _0x59da4d=_0x331486;for(const _0x271db6 of this[_0x59da4d(0x1b0)])_0x271db6[_0x59da4d(0x1af)]();this[_0x59da4d(0xaa)]&&this['_textBubble'][_0x59da4d(0x1af)](),this['_anchorDot']&&this[_0x59da4d(0x251)][_0x59da4d(0x1af)](),this[_0x59da4d(0x197)]&&this[_0x59da4d(0x197)][_0x59da4d(0x1af)](),this[_0x59da4d(0x2c0)]&&this[_0x59da4d(0x2c0)]();}[_0x331486(0x120)](){const _0x11bc4f=_0x331486;var _0x3ce2c4;const {_docSkeleton:_0x137d0e,_document:_0x37d802}=this,{color:_0x8427c3,name:_0x2cac76,ranges:_0x39ad53}=this[_0x11bc4f(0x1bc)],_0x3d9dba=_0x37d802[_0x11bc4f(0x2d6)](),{docsLeft:_0x53dd23,docsTop:_0x5bd168}=_0x3d9dba,_0x2e94c0=new _0x3ad41d(_0x3d9dba,_0x137d0e);for(const {startOffset:_0x5b962c,endOffset:_0x256879,rangeType:_0x2ccc79,segmentId:_0x3083d1,segmentPage:_0x5ad325,collapsed:_0x1ec32f,isActive:_0x55046a}of _0x39ad53){const _0x164a60=_0x137d0e[_0x11bc4f(0x12e)](_0x5b962c,!0x0,_0x3083d1,_0x5ad325);let _0x5abf21=_0x137d0e[_0x11bc4f(0x12e)](_0x256879,!0x0,_0x3083d1,_0x5ad325);if(_0x5abf21==null&&(_0x5abf21=_0x137d0e['findNodePositionByCharIndex'](_0x256879-0x1,!0x1,_0x3083d1,_0x5ad325)),_0x55046a){const {contentBoxPointGroup:_0x73b49b}=_0x2e94c0[_0x11bc4f(0xa1)](_0x5abf21,_0x5abf21);if(_0x73b49b[_0x11bc4f(0xea)]===0x0)continue;this[_0x11bc4f(0x1d4)](_0x8427c3,_0x73b49b,_0x53dd23,_0x5bd168,_0x2cac76),this[_0x11bc4f(0x2c0)]=this[_0x11bc4f(0x24a)]();}if(_0x164a60&&_0x5abf21){if(_0x2ccc79===_0x80033e[_0x11bc4f(0xf4)]){const _0x463498=new _0x545a0f(_0x3d9dba,_0x137d0e),{pointGroup:_0x114f8e}=(_0x3ce2c4=_0x463498[_0x11bc4f(0xa1)](_0x164a60,_0x5abf21))!=null?_0x3ce2c4:{};if(_0x114f8e==null||_0x114f8e[_0x11bc4f(0xea)]===0x0)continue;this[_0x11bc4f(0x187)](_0x8427c3,_0x114f8e,_0x53dd23,_0x5bd168);}else{if(!_0x1ec32f){const {borderBoxPointGroup:_0x2b0da3}=_0x2e94c0[_0x11bc4f(0xa1)](_0x164a60,_0x5abf21);if(_0x2b0da3[_0x11bc4f(0xea)]===0x0)continue;this['_drawTextRange'](_0x8427c3,_0x2b0da3,_0x53dd23,_0x5bd168);}}}}}[_0x331486(0x1d4)](_0x1ecb8a,_0x33fce3,_0x1dd523,_0x14dca8,_0x541797){const _0x51fd5b=_0x331486,_0x29f9e1=this[_0x51fd5b(0x13c)](_0x33fce3),{left:_0x213bbb,top:_0x1af0a2,height:_0x2f419d}=_0x29f9e1,_0x18b2f2=this[_0x51fd5b(0x27b)](),_0x1bf836=zi/_0x18b2f2,_0x145c64=new _0x38eea8(De+_0x460716(z),{'left':_0x213bbb+_0x1dd523-_0x1bf836,'top':_0x1af0a2+_0x14dca8,'height':_0x2f419d,'width':Ki,'fill':_0x1ecb8a||_0x57c8a3(_0x572559[_0x51fd5b(0x12c)],0x0),'strokeWidth':_0x1bf836,'stroke':Ji,'evented':!0x0});this[_0x51fd5b(0x197)]=_0x145c64,this[_0x51fd5b(0x13b)][_0x51fd5b(0x256)](_0x145c64,_0x53e827);const _0x32925a=new _0x38eea8(De+_0x460716(z),{'left':_0x213bbb+_0x1dd523-_0x1bf836,'top':_0x1af0a2+_0x14dca8-be/0x2,'height':be,'width':be,'fill':_0x1ecb8a||_0x57c8a3(_0x572559[_0x51fd5b(0x12c)],0x0),'strokeWidth':0x0,'stroke':_0x1ecb8a||_0x57c8a3(_0x572559['black'],0x0),'evented':!0x1});this[_0x51fd5b(0x251)]=_0x32925a,this[_0x51fd5b(0x13b)]['addObject'](_0x32925a,_0x53e827);const _0x289771=new Ee(De+_0x460716(z),{'left':_0x213bbb+_0x1dd523-_0x1bf836,'top':_0x1af0a2+_0x14dca8-Q,'text':_0x541797,'color':_0x1ecb8a});this['_textBubble']=_0x289771,this[_0x51fd5b(0x13b)][_0x51fd5b(0x256)](_0x289771,_0x53e827),this['_hover']=!0x1;}[_0x331486(0x24a)](){const _0x5cfd86=_0x331486,_0x49ba35=this[_0x5cfd86(0x197)][_0x5cfd86(0x2bd)]['subscribeEvent'](()=>{const _0x59a599=_0x5cfd86;this[_0x59a599(0x247)]=!0x0;}),_0x532a46=this[_0x5cfd86(0x197)][_0x5cfd86(0x165)][_0x5cfd86(0xe3)](()=>{const _0x212fb0=_0x5cfd86;this[_0x212fb0(0xd4)]&&clearTimeout(this[_0x212fb0(0xd4)]),this[_0x212fb0(0xd4)]=setTimeout(()=>{const _0xcdb1bb=_0x212fb0;this[_0xcdb1bb(0x247)]=!0x1;},0x7d0);});return()=>{const _0x2b1650=_0x5cfd86;_0x49ba35[_0x2b1650(0x290)](),_0x532a46['unsubscribe']();};}[_0x331486(0x154)](_0x3adaf7,_0x1a320d,_0x60a93e,_0x49d7c8){const _0xe3dfee=_0x331486,_0xcf5def=new _0x3e6889(_0x3adaf7)[_0xe3dfee(0x2bf)](0.2)[_0xe3dfee(0x1fe)](),_0x31d882=new _0x45a19c(Xi+_0x460716(z),{'pointsGroup':_0x1a320d,'fill':_0xcf5def||_0x57c8a3(_0x572559['black'],0.2),'left':_0x60a93e,'top':_0x49d7c8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xe3dfee(0x1b0)][_0xe3dfee(0x118)](_0x31d882),this[_0xe3dfee(0x13b)][_0xe3dfee(0x256)](_0x31d882,_0x53e827);}[_0x331486(0x187)](_0x3064d2,_0x54a1a8,_0x1bc4bb,_0x889c68){const _0x14e529=_0x331486,_0x346e0c=new _0x3e6889(_0x3064d2)[_0x14e529(0x2bf)](0.2)[_0x14e529(0x1fe)](),_0x2af30c=new _0x45a19c(Gi+_0x460716(z),{'pointsGroup':_0x54a1a8,'fill':_0x346e0c||_0x57c8a3(_0x572559['black'],0.2),'left':_0x1bc4bb,'top':_0x889c68,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x14e529(0x1b0)]['push'](_0x2af30c),this[_0x14e529(0x13b)][_0x14e529(0x256)](_0x2af30c,_0x53e827);}['_getAnchorBounding'](_0x4d0cfd){const _0x4ff2c3=_0x4d0cfd[0x0],_0x58e4c9=_0x4ff2c3[0x0],_0x3db56a=_0x4ff2c3[0x2],{x:_0x56494a,y:_0x3befd0}=_0x58e4c9,{x:_0x100f7f,y:_0x20d9ab}=_0x3db56a;return{'left':_0x56494a,'top':_0x3befd0,'width':_0x100f7f-_0x56494a,'height':_0x20d9ab-_0x3befd0};}[_0x331486(0x27b)](){const _0x52ef95=_0x331486,{scaleX:_0x197f89,scaleY:_0x28b820}=this['_scene'][_0x52ef95(0x239)]();return Math[_0x52ef95(0x2c5)](_0x197f89,_0x28b820);}}var Zi=Object[_0x331486(0x1ca)],Qi=(_0x3f326c,_0x5d2821,_0x4ac20d,_0x2bd422)=>{const _0x1f729c=_0x331486;for(var _0x5c003a=_0x2bd422>0x1?void 0x0:_0x2bd422?Zi(_0x5d2821,_0x4ac20d):_0x5d2821,_0x363688=_0x3f326c[_0x1f729c(0xea)]-0x1,_0x14e898;_0x363688>=0x0;_0x363688--)(_0x14e898=_0x3f326c[_0x363688])&&(_0x5c003a=_0x14e898(_0x5c003a)||_0x5c003a);return _0x5c003a;},ie=(_0x3d3b8e,_0xb4e722)=>(_0x5d07a2,_0x121a37)=>_0xb4e722(_0x5d07a2,_0x121a37,_0x3d3b8e);let Fe=class extends _0x57605c{constructor(_0x4a35f0,_0x378bc5,_0x13f1f5,_0x216c95,_0x24670f){const _0x7476bd=_0x331486;super(),_(this,_0x7476bd(0x281),[]),_(this,_0x7476bd(0x1f6),[]),(this[_0x7476bd(0x17b)]=_0x4a35f0,this['_docSkeletonManagerService']=_0x378bc5,this[_0x7476bd(0x2bb)]=_0x13f1f5,this['_commandService']=_0x216c95,this[_0x7476bd(0x216)]=_0x24670f,this['_init']());}[_0x331486(0x119)](){const _0x3aa802=_0x331486,_0x2b89de=this[_0x3aa802(0x17b)][_0x3aa802(0x19a)],_0x9b10b=this[_0x3aa802(0xef)];this[_0x3aa802(0xf5)](_0x48dc8f([this[_0x3aa802(0x2bb)][_0x3aa802(0x2a5)](_0x2b89de),this[_0x3aa802(0x216)][_0x3aa802(0x1e0)]])[_0x3aa802(0x181)](_0x442185(([_0x19b816,_0x73a1])=>({'skeleton':_0x9b10b['getSkeleton'](),'cursors':[..._0x19b816[_0x3aa802(0x125)]()][_0x3aa802(0x24f)](_0x6a9d03=>({..._0x6a9d03,'color':this[_0x3aa802(0x216)][_0x3aa802(0x269)](_0x6a9d03[_0x3aa802(0x15d)])}))})))[_0x3aa802(0x1e8)](_0x2d804a=>{const _0x16dd6d=_0x3aa802;if(this[_0x16dd6d(0xa0)](),_0x2d804a){const {skeleton:_0x461992,cursors:_0x319e09}=_0x2d804a;this[_0x16dd6d(0x249)](_0x461992,_0x319e09);}})),this[_0x3aa802(0x182)](),this[_0x3aa802(0x2a6)]();}['_updateCollabCursors'](_0x4209be,_0x3b481b){const _0x467cf2=_0x331486,{scene:_0x4c6fa8,mainComponent:_0x14a1dc}=this[_0x467cf2(0x17b)],_0x18d3f3=_0x3b481b[_0x467cf2(0x2b6)](_0x523a3e=>new ct(_0x523a3e,_0x4c6fa8,_0x4209be,_0x14a1dc));this[_0x467cf2(0x281)]=_0x18d3f3,this[_0x467cf2(0x1f6)]=_0x3b481b;}['_refreshCollabCursors'](){const _0x2da78b=_0x331486;this['_removeCollabCursors']();const {scene:_0x118df6,mainComponent:_0x2f9819}=this['_context'],_0x26c412=this[_0x2da78b(0xef)][_0x2da78b(0x103)](),_0x21a1c3=this[_0x2da78b(0x1f6)][_0x2da78b(0x2b6)](_0x1fb597=>new ct(_0x1fb597,_0x118df6,_0x26c412,_0x2f9819));this[_0x2da78b(0x281)]=_0x21a1c3;}['_removeCollabCursors'](){const _0x177454=_0x331486;this[_0x177454(0x281)][_0x177454(0x210)](_0x47b1c3=>_0x47b1c3[_0x177454(0x1af)]()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x2b117e=_0x331486,_0x29fdef=[_0x56b6e8['id']];this[_0x2b117e(0xf5)](this['_commandService'][_0x2b117e(0x2b2)](_0x20137=>{const _0x5f4824=_0x2b117e;_0x29fdef[_0x5f4824(0x24d)](_0x20137['id'])&&_0x20137[_0x5f4824(0x8f)]['unitId']===this[_0x5f4824(0x17b)][_0x5f4824(0x19a)]&&this['_refreshCollabCursors']();}));}[_0x331486(0x182)](){const _0x28b0ce=_0x331486;this[_0x28b0ce(0xf5)](_0x13584e(this[_0x28b0ce(0x17b)][_0x28b0ce(0x190)][_0x28b0ce(0xb5)])['pipe'](_0x28f0a4(_0x3db997=>_0x3db997[_0x28b0ce(0x1d3)]===_0x30decc['resize']),_0x767ecc(0x10))[_0x28b0ce(0x1e8)](()=>{this['_refreshCollabCursors']();}));}};Fe=Qi([ie(0x1,_0x384b36(_0x120002)),ie(0x2,_0x384b36(H)),ie(0x3,_0xd74a37),ie(0x4,_0x384b36(_0x4502e6))],Fe);const qi=0x1,en=1.5;class tn extends _0x16364b{constructor(_0x3b95e8,_0x563b2b){const _0x4723aa=_0x331486;super(_0x3b95e8,_0x563b2b),_(this,'_color'),_(this,_0x4723aa(0x204),!0x1),_(this,_0x4723aa(0x20e)),_(this,'_name',''),_(this,'_labelPosition',_0x4723aa(0x2bc)),_(this,_0x4723aa(0x15a)),(_0x563b2b&&this[_0x4723aa(0x1ff)](_0x563b2b),this[_0x4723aa(0x2bd)][_0x4723aa(0xe3)](()=>this[_0x4723aa(0x1ff)]({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this[_0x4723aa(0x1ff)]({'hovered':!0x1})));}[_0x331486(0x1ff)](_0x225f11){const _0x1a0732=_0x331486;var _0x5d8b3f,_0x4441d0,_0x69c480,_0x349b5c,_0x5ee8ea,_0x209f8f;this[_0x1a0732(0x121)]=(_0x5d8b3f=_0x225f11[_0x1a0732(0x15d)])!=null?_0x5d8b3f:this[_0x1a0732(0x121)],this[_0x1a0732(0x204)]=(_0x4441d0=_0x225f11[_0x1a0732(0x16b)])!=null?_0x4441d0:this[_0x1a0732(0x204)],this['_range']=(_0x69c480=_0x225f11[_0x1a0732(0xe7)])!=null?_0x69c480:this[_0x1a0732(0x20e)],this[_0x1a0732(0x248)]=(_0x349b5c=_0x225f11['name'])!=null?_0x349b5c:this[_0x1a0732(0x248)],this['_labelPosition']=(_0x5ee8ea=_0x225f11[_0x1a0732(0xcd)])!=null?_0x5ee8ea:this[_0x1a0732(0x147)],this[_0x1a0732(0x15a)]=(_0x209f8f=_0x225f11[_0x1a0732(0x116)])!=null?_0x209f8f:this['_backgroundColor'],this['transformByState']({'width':_0x225f11['width'],'height':_0x225f11[_0x1a0732(0x25c)]});}['onMouseMove'](_0x44c46f){const _0xa87512=_0x331486,{row:_0x57ca29,column:_0xb9e51a}=_0x44c46f;if(_0x57ca29>=this[_0xa87512(0x20e)][_0xa87512(0x260)]&&_0x57ca29<=this['_range'][_0xa87512(0xf7)]&&_0xb9e51a>=this['_range'][_0xa87512(0x262)]&&_0xb9e51a<=this[_0xa87512(0x20e)]['endColumn']){this[_0xa87512(0x1ff)]({'hovered':!0x0});return;}this[_0xa87512(0x1ff)]({'hovered':!0x1});}['triggerDblclick'](_0x3e3887){return!0x1;}[_0x331486(0x9a)](_0x3e5066){const _0x46b4c5=_0x331486;_0x38eea8[_0x46b4c5(0xbb)](_0x3e5066,{'width':this['width'],'height':this['height'],'strokeWidth':en,'stroke':this[_0x46b4c5(0x121)],'evented':!0x1,'fill':this[_0x46b4c5(0x15a)]}),this['_hovered']&&(_0x3e5066[_0x46b4c5(0x102)](),_0x3e5066['transform'](0x1,0x0,0x0,0x1,this[_0x46b4c5(0x1fd)],this[_0x46b4c5(0x147)]==='bottom'?0x0:-Q),Ee[_0x46b4c5(0xbb)](_0x3e5066,{'text':this[_0x46b4c5(0x248)],'color':this[_0x46b4c5(0x121)]}),_0x3e5066[_0x46b4c5(0xb7)]());}}var sn=Object[_0x331486(0x1ca)],nn=(_0x28e373,_0x2ca278,_0x2d8c4d,_0x2cb800)=>{const _0x1ef949=_0x331486;for(var _0x3239c3=_0x2cb800>0x1?void 0x0:_0x2cb800?sn(_0x2ca278,_0x2d8c4d):_0x2ca278,_0x45f2d0=_0x28e373[_0x1ef949(0xea)]-0x1,_0xc8c934;_0x45f2d0>=0x0;_0x45f2d0--)(_0xc8c934=_0x28e373[_0x45f2d0])&&(_0x3239c3=_0xc8c934(_0x3239c3)||_0x3239c3);return _0x3239c3;},Ne=(_0x35c0e8,_0xfca416)=>(_0xa2c77e,_0x5107d7)=>_0xfca416(_0xa2c77e,_0x5107d7,_0x35c0e8);const rn=0x1389;let ke=class extends _0x57605c{constructor(_0x1b33e5,_0x58ef0c,_0x3e31a4,_0x17f500){const _0x235db9=_0x331486;super(),_(this,'_cursors',new Set()),_(this,'_lastPointer',null),(this[_0x235db9(0x17b)]=_0x1b33e5,this[_0x235db9(0x1ea)]=_0x58ef0c,this[_0x235db9(0x2bb)]=_0x3e31a4,this[_0x235db9(0x216)]=_0x17f500,this[_0x235db9(0x119)]());}[_0x331486(0x119)](){const _0x3d573b=_0x331486;this[_0x3d573b(0x1ea)][_0x3d573b(0x208)]['pipe'](_0x4acc07(this[_0x3d573b(0x134)]),_0x120aca(_0x5ef28e=>{const _0xeabd56=_0x3d573b;if(_0x5ef28e){const _0x4aed48=_0x5ef28e[_0xeabd56(0x95)];return _0x48dc8f(this['_collabCursorController'][_0xeabd56(0x2a5)](this[_0xeabd56(0x17b)][_0xeabd56(0x19a)]),this[_0xeabd56(0x216)]['currentTheme$'])[_0xeabd56(0x181)](_0x442185(([_0x3bb9cd,_0x56ff92])=>{const _0x557198=_0xeabd56,_0x23d14d=new Map();return _0x3bb9cd[_0x557198(0x210)]((_0x5467ff,_0x3a6158)=>{const _0x3612c7=_0x557198;if(_0x5467ff[_0x3612c7(0xe0)]===_0x4aed48){const _0xa94771={..._0x5467ff};_0xa94771['color']=this[_0x3612c7(0x216)][_0x3612c7(0x269)](_0x5467ff['color']),_0x23d14d[_0x3612c7(0x1c0)](_0x3a6158,_0xa94771);}}),{'skeleton':_0x5ef28e,'cursors':_0x23d14d};}));}return _0x218df2({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x28883b,cursors:_0x34001a})=>{const _0x28601b=_0x3d573b;this[_0x28601b(0xa0)](),_0x28883b&&this['_updateCollabCursors'](_0x28883b,_0x34001a);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x3d573b(0x1e8)](_0x37d511=>{const _0x1cf976=_0x3d573b;if(_0x37d511==null)return;const {skeleton:_0x3ab48c}=_0x37d511,{scene:_0x18fc22}=this[_0x1cf976(0x17b)];_0x18fc22[_0x1cf976(0x114)]['subscribeEvent'](_0x3554ba(_0xc43b61=>{const _0x45dd20=_0x1cf976;var _0x2d290f,_0x4b56e8;const {offsetX:_0x54b6e6,offsetY:_0x3155df}=_0xc43b61,{x:_0x38fcb9,y:_0x5c207c}=_0x18fc22[_0x45dd20(0x198)](_0x321485[_0x45dd20(0x259)]([_0x54b6e6,_0x3155df])),{scaleX:_0x2737a5,scaleY:_0x4e0e3c}=_0x18fc22['getAncestorScale'](),_0x588006=_0x18fc22[_0x45dd20(0x2ca)](_0x1253b5[_0x45dd20(0x193)]),_0x592a61=_0x18fc22[_0x45dd20(0x136)](_0x321485[_0x45dd20(0x259)]([_0x38fcb9,_0x5c207c]),_0x588006),_0x44715d=_0x3ab48c[_0x45dd20(0x15e)](_0x54b6e6,_0x3155df,_0x2737a5,_0x4e0e3c,_0x592a61);((_0x2d290f=this['_lastPointer'])==null?void 0x0:_0x2d290f[_0x45dd20(0xd6)])===_0x44715d['column']&&((_0x4b56e8=this[_0x45dd20(0x1f0)])==null?void 0x0:_0x4b56e8[_0x45dd20(0xfb)])===_0x44715d[_0x45dd20(0xfb)]||this['_cursors'][_0x45dd20(0x210)](_0x139898=>{const _0x182826=_0x45dd20;_0x139898[_0x182826(0x26e)](_0x44715d);});},0x64));});}[_0x331486(0x249)](_0xd7c038,_0xc96244){const _0x31af78=_0x331486;var _0x6bb6a0;const _0x53195c=(_0x6bb6a0=this[_0x31af78(0x1ea)][_0x31af78(0x29e)]())==null?void 0x0:_0x6bb6a0['skeleton'];if(!_0x53195c)return;const _0xce5588=this[_0x31af78(0x140)]();if(!_0xce5588)return;this[_0x31af78(0x1f6)]['forEach'](_0x1adee9=>{const _0x164259=_0x31af78;_0x1adee9[_0x164259(0x27c)]();});const {scene:_0x29c554}=_0xce5588,_0x26b877=on(Array[_0x31af78(0x2cc)](_0xc96244[_0x31af78(0x125)]()))[_0x31af78(0x2b6)](_0x2ee567=>{const _0x44762c=_0x31af78,{color:_0x3fdaa1,range:_0x8e2e87,name:_0xfb95fe,selection:_0x56259a,sheetID:_0x206738}=_0x2ee567,{startColumn:_0x2bc6f5,startRow:_0x37ead4,endColumn:_0x14ea3a,endRow:_0x59eef4}=_0x8e2e87,_0x4d0005=_0x50883c(_0x37ead4,_0x2bc6f5,_0x29c554,_0x53195c),_0x5aab03=_0x50883c(_0x59eef4,_0x14ea3a,_0x29c554,_0x53195c),{columnHeaderHeightAndMarginTop:_0x52f8f5}=_0x53195c,{startX:_0x21742c,startY:_0x13555c}=_0x4d0005,{endX:_0x1917df,endY:_0x2608ce}=_0x5aab03,_0xe50a30=_0x1917df-_0x21742c,_0x1d5429=_0x2608ce-_0x13555c,_0x430b1e={'labelPosition':_0x13555c-_0x52f8f5>=Q?_0x44762c(0x2bc):_0x44762c(0x22b),'sheetID':_0x206738,'range':_0x8e2e87,'color':_0x3fdaa1,'name':_0xfb95fe,'selection':_0x56259a,'left':_0x21742c,'top':_0x13555c,'width':_0xe50a30,'height':_0x1d5429,'evented':!0x1,'zIndex':rn};return new tn(_0xfb95fe,_0x430b1e);});_0x29c554[_0x31af78(0x2b4)](_0x26b877,qi),this[_0x31af78(0x1f6)]=new Set(_0x26b877);}[_0x331486(0xa0)](){const _0x1e822f=_0x331486;var _0x345513;(_0x345513=this[_0x1e822f(0x1f6)])==null||_0x345513[_0x1e822f(0x210)](_0x27d884=>_0x27d884[_0x1e822f(0x1af)]());}[_0x331486(0x140)](){const _0x3d200a=_0x331486;return _0x128286(this[_0x3d200a(0x17b)][_0x3d200a(0x164)],this[_0x3d200a(0x17b)]);}};ke=nn([Ne(0x1,_0x384b36(_0x362389)),Ne(0x2,_0x384b36(H)),Ne(0x3,_0x384b36(_0x4502e6))],ke);function on(_0x581907){const _0x3dc4bf=_0x331486,_0x271f84=new Map();return _0x581907[_0x3dc4bf(0x210)](_0x12100d=>{const _0x5ef4b0=_0x3dc4bf;if(_0x271f84[_0x5ef4b0(0x1ef)](_0x12100d[_0x5ef4b0(0x1b5)])){const _0x105953=_0x271f84['get'](_0x12100d[_0x5ef4b0(0x1b5)]);_0x105953['name']+=',\x20'+_0x12100d[_0x5ef4b0(0x169)];}else _0x271f84[_0x5ef4b0(0x1c0)](_0x12100d['selection'],_0x12100d);}),Array[_0x3dc4bf(0x2cc)](_0x271f84[_0x3dc4bf(0x125)]());}var an=Object[_0x331486(0x1ca)],cn=(_0x4552af,_0x1f176d,_0x50be84,_0x38339b)=>{const _0x1e1bcf=_0x331486;for(var _0xc0fd13=_0x38339b>0x1?void 0x0:_0x38339b?an(_0x1f176d,_0x50be84):_0x1f176d,_0xdc0c96=_0x4552af[_0x1e1bcf(0xea)]-0x1,_0x853895;_0xdc0c96>=0x0;_0xdc0c96--)(_0x853895=_0x4552af[_0xdc0c96])&&(_0xc0fd13=_0x853895(_0xc0fd13)||_0xc0fd13);return _0xc0fd13;},F=(_0x4f4e95,_0x359e0b)=>(_0x5cec0a,_0x896973)=>_0x359e0b(_0x5cec0a,_0x896973,_0x4f4e95);let _e=class extends _0x4064cc{constructor(_0xb85c34,_0x511902,_0x2ae308,_0x35ada1,_0x58fff4,_0x24aaa1){const _0x48c5f3=_0x331486;super(),this[_0x48c5f3(0x27d)]=_0xb85c34,this['_localCacheService']=_0x511902,this[_0x48c5f3(0x117)]=_0x2ae308,this['_messageService']=_0x35ada1,this[_0x48c5f3(0x188)]=_0x58fff4,this[_0x48c5f3(0x2d5)]=_0x24aaa1,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x331486(0x133)](){const _0x39adb1=_0x331486;this[_0x39adb1(0xf5)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x127fb7=_0x39adb1;if(this[_0x127fb7(0x27a)][_0x127fb7(0x177)][_0x127fb7(0x209)])return this[_0x127fb7(0x2d5)]['t'](_0x127fb7(0x1dd));}));}[_0x331486(0x11c)](){const _0x1be63d=_0x331486;this[_0x1be63d(0xf5)](this[_0x1be63d(0x117)][_0x1be63d(0x18a)][_0x1be63d(0x1e8)](_0x269aa6=>{const _0x16f943=_0x1be63d;_0x269aa6['id']===_0x282a4d[_0x16f943(0xce)]&&this[_0x16f943(0x17a)]['show']({'type':_0x27e95d[_0x16f943(0x152)],'content':this[_0x16f943(0x2d5)]['t'](_0x16f943(0x11e))}),_0x269aa6['id']===_0x282a4d[_0x16f943(0x148)]&&this[_0x16f943(0x17a)]['show']({'type':_0x27e95d[_0x16f943(0x152)],'content':this[_0x16f943(0x2d5)]['t'](_0x16f943(0x245))}),_0x269aa6['id']===_0x282a4d['PERMISSION_DENIED']&&this[_0x16f943(0x188)][_0x16f943(0x268)]({'title':this[_0x16f943(0x2d5)]['t'](_0x16f943(0x294)),'content':this[_0x16f943(0x2d5)]['t'](_0x16f943(0x9c)),'type':_0x16f943(0x17e),'duration':0x0}),_0x269aa6['id']===_0x282a4d[_0x16f943(0x28a)]&&this[_0x16f943(0x17a)][_0x16f943(0x268)]({'type':_0x27e95d[_0x16f943(0x2a0)],'content':this[_0x16f943(0x2d5)]['t'](_0x16f943(0x245))+'('+_0x269aa6[_0x16f943(0x126)]+')'}),_0x269aa6['id']===_0x282a4d[_0x16f943(0x11d)]&&this[_0x16f943(0x17a)][_0x16f943(0x268)]({'type':_0x27e95d[_0x16f943(0x152)],'content':this[_0x16f943(0x2d5)]['t'](_0x269aa6[_0x16f943(0x126)]||'')}),_0x269aa6['id']===_0x282a4d[_0x16f943(0x22c)]&&this['_messageService'][_0x16f943(0x268)]({'type':_0x27e95d['Warning'],'content':this['_localeService']['t'](_0x16f943(0x272))}),_0x269aa6['id']===_0x282a4d['SOCKET_FAILED']&&this[_0x16f943(0x17a)][_0x16f943(0x268)]({'type':_0x27e95d['Error'],'content':this[_0x16f943(0x2d5)]['t']('session.connection-failed')}),_0x269aa6['id']===_0x282a4d[_0x16f943(0x230)]&&this[_0x16f943(0x17a)][_0x16f943(0x268)]({'type':_0x27e95d[_0x16f943(0x2a0)],'content':this[_0x16f943(0x2d5)]['t'](_0x16f943(0x171))});}));}};_e=cn([F(0x0,_0x113bc4),F(0x1,_0x24b451),F(0x2,_0x384b36(_0x1939b6)),F(0x3,_0xc89ae7),F(0x4,_0x10311c),F(0x5,_0x384b36(_0x4b3f44))],_e);var _n=Object['getOwnPropertyDescriptor'],ln=(_0x109d8b,_0x1db62d,_0x53d2e0,_0xa947af)=>{for(var _0x94b11f=_0xa947af>0x1?void 0x0:_0xa947af?_n(_0x1db62d,_0x53d2e0):_0x1db62d,_0x280584=_0x109d8b['length']-0x1,_0x21bbf7;_0x280584>=0x0;_0x280584--)(_0x21bbf7=_0x109d8b[_0x280584])&&(_0x94b11f=_0x21bbf7(_0x94b11f)||_0x94b11f);return _0x94b11f;},ne=(_0x8e670b,_0x5e1b59)=>(_0x511d12,_0x77df77)=>_0x5e1b59(_0x511d12,_0x77df77,_0x8e670b);let le=class extends _0x4064cc{constructor(_0x18fac6,_0x45b201,_0x4932dd,_0xe6b611){const _0x183a65=_0x331486;super(),_(this,_0x183a65(0x199)),(this[_0x183a65(0x1fb)]=_0x18fac6,this[_0x183a65(0x202)]=_0x45b201,this[_0x183a65(0xb6)]=_0x4932dd,this['_collaborationSessionService']=_0xe6b611,this[_0x183a65(0x119)]());}[_0x331486(0x119)](){const _0xa69f1c=_0x331486;this['_initWindowErrorListener'](),this[_0xa69f1c(0x206)](),this[_0xa69f1c(0x186)](),this['_initUserListener']();}[_0x331486(0x170)](){const _0x1e884b=_0x331486;this[_0x1e884b(0xf5)](this[_0x1e884b(0x18b)][_0x1e884b(0xec)][_0x1e884b(0x1e8)](_0x38520f=>{const _0x20ef46=_0x1e884b;this[_0x20ef46(0x199)]=_0x38520f==null?void 0x0:_0x38520f[_0x20ef46(0x98)];}));}[_0x331486(0x278)](){const _0x4830c9=_0x331486,_0x480158=_0x1a0c1e=>{const _0x409b3e=_0x512f;var _0x48482b;this[_0x409b3e(0xc8)](_0x409b3e(0x17e),_0x409b3e(0xd5)+_0x1a0c1e['message']+'\x20at\x20'+_0x1a0c1e[_0x409b3e(0x1f1)]+':'+_0x1a0c1e['lineno']+':'+_0x1a0c1e[_0x409b3e(0x241)]+'\x0a'+(((_0x48482b=_0x1a0c1e['error'])==null?void 0x0:_0x48482b[_0x409b3e(0x178)])||''));};window[_0x4830c9(0x21f)]('error',_0x480158),this['disposeWithMe'](()=>{const _0x5bf946=_0x4830c9;window[_0x5bf946(0xf3)](_0x5bf946(0x17e),_0x480158);});}[_0x331486(0x206)](){const _0x254b37=_0x331486,_0x26324f=_0x331563=>{const _0x4dc70f=_0x512f;this[_0x4dc70f(0xc8)](_0x4dc70f(0x17e),_0x4dc70f(0x1dc)+_0x331563['reason']);};window[_0x254b37(0x21f)](_0x254b37(0xb3),_0x26324f),this['disposeWithMe'](()=>{const _0x19a37c=_0x254b37;window[_0x19a37c(0xf3)](_0x19a37c(0xb3),_0x26324f);});}['_monkeyPatchLogService'](){const _0x4a85b6=_0x331486,_0x424eb7=this['_logService']['error']['bind'](this[_0x4a85b6(0xb6)]);this[_0x4a85b6(0xb6)][_0x4a85b6(0x17e)]=(..._0x5d2399)=>{const _0x423ff9=_0x4a85b6,_0x39f1d5=_0x5d2399[_0x423ff9(0x2b6)](_0xab3446=>_0xab3446 instanceof Error?_0xab3446[_0x423ff9(0x8c)]+'\x0a'+_0xab3446[_0x423ff9(0x178)]:String(_0xab3446))[_0x423ff9(0x2b0)]('\x20');this[_0x423ff9(0xc8)]('error',_0x423ff9(0xc7)+_0x39f1d5),_0x424eb7(..._0x5d2399);},this['disposeWithMe'](()=>{const _0x248a7e=_0x4a85b6;this[_0x248a7e(0xb6)][_0x248a7e(0x17e)]=_0x424eb7;});}[_0x331486(0xc8)](_0xb8385d,_0x552299){const _0x25ba2e=_0x331486;try{const _0xa035d7={'userId':this[_0x25ba2e(0x199)],'logLabel':_0xb8385d,'content':_0x552299};this['_httpService'][_0x25ba2e(0x18e)](_0x25ba2e(0x273),{'body':_0xa035d7})[_0x25ba2e(0x1aa)](()=>{});}catch{}}};le=ln([ne(0x0,_0x384b36(_0x2975ff)),ne(0x1,_0x384b36(_0x3fa719)),ne(0x2,_0x1f29f4),ne(0x3,_0x384b36(_0x46dc37))],le);const hn=_0x331486(0x1bb),_t={};var un=Object[_0x331486(0x1ca)],dn=(_0x5384fe,_0x3a1f20,_0x54147a,_0x43fa9d)=>{const _0x350aa9=_0x331486;for(var _0x14c58d=_0x43fa9d>0x1?void 0x0:_0x43fa9d?un(_0x3a1f20,_0x54147a):_0x3a1f20,_0x5dd4f1=_0x5384fe[_0x350aa9(0xea)]-0x1,_0x475d90;_0x5dd4f1>=0x0;_0x5dd4f1--)(_0x475d90=_0x5384fe[_0x5dd4f1])&&(_0x14c58d=_0x475d90(_0x14c58d)||_0x14c58d);return _0x14c58d;},lt=(_0x1718b5,_0x53871b)=>(_0x31b3b3,_0x390e73)=>_0x53871b(_0x31b3b3,_0x390e73,_0x1718b5);let he=class{constructor(_0x1cec2b,_0x20ab8c){const _0x1c0645=_0x331486;this[_0x1c0645(0xfc)]=_0x1cec2b,this['_renderManagerService']=_0x20ab8c;}[_0x331486(0xa6)](_0x4a2ecf){const _0x49652a=_0x331486;this[_0x49652a(0x1e1)](_0x4a2ecf),this[_0x49652a(0x128)](_0x4a2ecf);}[_0x331486(0xa2)](_0x2bbf2d){const _0x2e439b=_0x331486,{unitID:_0x4184a7}=_0x2bbf2d,_0x1f95ac=this[_0x2e439b(0x13e)][_0x2e439b(0x1d9)](_0x4184a7)['with'](_0x4518ea),{redoCache:_0x3c278f}=_0x1f95ac['getUndoRedoMutationParamsCache']();if(_0x3c278f[_0x2e439b(0xea)]===0x0)return _0x2bbf2d;let _0x278246=_0x24ffc8[_0x2e439b(0x1ee)](_0x2bbf2d[_0x2e439b(0x2ae)][0x0]);for(let _0x3bcabc=0x0;_0x3bcabc<_0x3c278f[_0x2e439b(0xea)];_0x3bcabc++){const _0x843686={'id':_0x2e439b(0xb1),'params':{..._0x3c278f[_0x3bcabc]}},_0x3e9170=this[_0x2e439b(0xfc)]['transformMutation'](_0x278246,_0x843686,!0x1);if(_0x3d60d7(_0x3e9170))throw _0x3e9170[_0x2e439b(0x17e)];_0x278246=_0x3e9170['m1Prime'];}return{..._0x24ffc8[_0x2e439b(0x1ee)](_0x2bbf2d),'mutations':[_0x278246]};}[_0x331486(0x1e1)](_0x466eff){const _0x42b516=_0x331486,{unitID:_0x4cb995}=_0x466eff,_0x1aa7a0=this[_0x42b516(0x13e)][_0x42b516(0x1d9)](_0x4cb995)[_0x42b516(0x222)](_0x4518ea),{undoCache:_0xa008f0,redoCache:_0xeb939c}=_0x1aa7a0[_0x42b516(0x9f)]();if(_0xa008f0[_0x42b516(0xea)]===0x0||_0xeb939c['length']===0x0)return;const _0x1cc449=[],_0x4c8fd2=[];let _0x2dad01=_0x24ffc8['deepClone'](_0x466eff[_0x42b516(0x2ae)][0x0]),_0x3a5926=_0x24ffc8['deepClone'](_0x466eff['mutations'][0x0]);for(let _0x19e310=_0xa008f0[_0x42b516(0xea)]-0x1;_0x19e310>=0x0;_0x19e310--){const _0x137780={'id':_0x42b516(0xb1),'params':{..._0xa008f0[_0x19e310]}},_0x3d824a={'id':'doc.mutation.rich-text-editing','params':{..._0xeb939c[_0x19e310]}},_0x1f5d9c=this[_0x42b516(0xfc)][_0x42b516(0x2d0)](_0x2dad01,_0x137780,!0x1),_0x203bc0=this[_0x42b516(0xfc)][_0x42b516(0x2d0)](_0x3a5926,_0x3d824a,!0x1);if(_0x3d60d7(_0x1f5d9c))throw _0x1f5d9c[_0x42b516(0x17e)];if(_0x3d60d7(_0x203bc0))throw _0x203bc0[_0x42b516(0x17e)];_0x1cc449[_0x42b516(0x2b5)](_0x1f5d9c['m2Prime'][_0x42b516(0x8f)]),_0x4c8fd2[_0x42b516(0x2b5)](_0x203bc0[_0x42b516(0x264)][_0x42b516(0x8f)]),_0x2dad01=_0x1f5d9c[_0x42b516(0x25b)],_0x3a5926=_0x203bc0[_0x42b516(0x25b)];}_0x1aa7a0['setUndoRedoMutationParamsCache']({'undoCache':_0x1cc449,'redoCache':_0x4c8fd2});}[_0x331486(0x128)](_0x60b45){const _0x126672=_0x331486,{unitID:_0x26b203}=_0x60b45,_0x3cc720=this['_renderManagerService']['getRenderById'](_0x26b203)[_0x126672(0x222)](_0x4518ea),_0x36f1cc=_0x3cc720['getActiveRange']();if(_0x36f1cc==null)return;const _0xeeef3c=[{'id':_0x126672(0xb1),'params':{'unitId':_0x60b45[_0x126672(0x203)],'actions':null,'textRanges':[_0x36f1cc]}}],_0x53be24=this[_0x126672(0xfc)][_0x126672(0x172)](_0x60b45,_0xeeef3c);if(!_0xa9160d(_0x53be24))throw _0x53be24[_0x126672(0x17e)];const _0x5c6985=_0x53be24[_0x126672(0x264)][0x0][_0x126672(0x8f)][_0x126672(0x1d1)];Array['isArray'](_0x5c6985)&&_0x5c6985[_0x126672(0xea)]&&_0x3cc720[_0x126672(0x1f4)](_0x5c6985[0x0]);}};he=dn([lt(0x0,_0x2843ad),lt(0x1,_0x450a3a)],he);var Sn=Object['getOwnPropertyDescriptor'],mn=(_0x4fd97b,_0x38937a,_0x33ab1a,_0x34a1e3)=>{for(var _0x31f894=_0x34a1e3>0x1?void 0x0:_0x34a1e3?Sn(_0x38937a,_0x33ab1a):_0x38937a,_0x38c346=_0x4fd97b['length']-0x1,_0x2f6aec;_0x38c346>=0x0;_0x38c346--)(_0x2f6aec=_0x4fd97b[_0x38c346])&&(_0x31f894=_0x2f6aec(_0x31f894)||_0x31f894);return _0x31f894;},Le=(_0x4c661c,_0x215cd6)=>(_0x28ef81,_0x438a07)=>_0x215cd6(_0x28ef81,_0x438a07,_0x4c661c);let ue=class{constructor(_0x4aad44,_0xd61b75,_0x1bf591){const _0x29d332=_0x331486;this[_0x29d332(0x1fb)]=_0x4aad44,this[_0x29d332(0xfc)]=_0xd61b75,this[_0x29d332(0x267)]=_0x1bf591;}[_0x331486(0xf8)](_0x4eba7){const _0x1c0aad=_0x331486;this[_0x1c0aad(0x26d)](_0x4eba7);}['transformRemoteChangeset'](_0x29aa66){const _0x528b9d=_0x331486,{unitID:_0x4407b0}=_0x29aa66,{collaboration:_0x5b0bbb}=this[_0x528b9d(0x267)][_0x528b9d(0x1cd)](_0x4407b0);if(_0x5b0bbb[_0x528b9d(0xea)]===0x0)return _0x29aa66;let _0x3c4146=_0x24ffc8['deepClone'](_0x29aa66[_0x528b9d(0x2ae)][0x0]);for(let _0x4cfb88=0x0;_0x4cfb88<_0x5b0bbb[_0x528b9d(0xea)];_0x4cfb88++){const _0x12a0c9={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5b0bbb[_0x4cfb88]['unitId'],..._0x5b0bbb[_0x4cfb88][_0x528b9d(0x1ed)]}},_0x2ab49f=this['_transformService'][_0x528b9d(0x2d0)](_0x3c4146,_0x12a0c9,!0x1);if(_0x3d60d7(_0x2ab49f))throw _0x2ab49f[_0x528b9d(0x17e)];_0x3c4146=_0x2ab49f[_0x528b9d(0x25b)];}return{..._0x24ffc8['deepClone'](_0x29aa66),'mutations':[_0x3c4146]};}[_0x331486(0x26d)](_0x3130e8){const _0x5ed594=_0x331486,{unitID:_0x3a049a}=_0x3130e8,{history:_0x3ccb97,collaboration:_0x50e49e}=this[_0x5ed594(0x267)]['getStateCache'](_0x3a049a);if(_0x3ccb97['length']===0x0&&_0x50e49e[_0x5ed594(0xea)]===0x0)return;const _0x5b977a=[],_0x39c935=[];let _0xd6af5a=_0x24ffc8[_0x5ed594(0x1ee)](_0x3130e8[_0x5ed594(0x2ae)][0x0]),_0x285cc4=_0x24ffc8[_0x5ed594(0x1ee)](_0x3130e8['mutations'][0x0]);for(let _0xb8e52a=_0x3ccb97[_0x5ed594(0xea)]-0x1;_0xb8e52a>=0x0;_0xb8e52a--){const _0x5f1057={'id':_0x5ed594(0xb1),'params':{'unitId':_0x3ccb97[_0xb8e52a][_0x5ed594(0x19a)],..._0x3ccb97[_0xb8e52a][_0x5ed594(0x293)]}},_0x58f4c9={'id':_0x5ed594(0xb1),'params':{'unitId':_0x3ccb97[_0xb8e52a]['unitId'],..._0x3ccb97[_0xb8e52a][_0x5ed594(0x1ed)]}},_0x3d5e1a=this[_0x5ed594(0xfc)][_0x5ed594(0x2d0)](_0xd6af5a,_0x5f1057,!0x1),_0x54403b=this['_transformService'][_0x5ed594(0x2d0)](_0x285cc4,_0x58f4c9,!0x1);if(_0x3d60d7(_0x3d5e1a))throw _0x3d5e1a[_0x5ed594(0x17e)];if(_0x3d60d7(_0x54403b))throw _0x54403b['error'];_0x5b977a[_0x5ed594(0x2b5)]({..._0x3ccb97[_0xb8e52a],'undoState':_0x3d5e1a[_0x5ed594(0x264)][_0x5ed594(0x8f)],'redoState':_0x54403b[_0x5ed594(0x264)][_0x5ed594(0x8f)]}),_0xd6af5a=_0x3d5e1a[_0x5ed594(0x25b)],_0x285cc4=_0x54403b[_0x5ed594(0x25b)];}_0xd6af5a=_0x24ffc8[_0x5ed594(0x1ee)](_0x3130e8[_0x5ed594(0x2ae)][0x0]),_0x285cc4=_0x24ffc8[_0x5ed594(0x1ee)](_0x3130e8[_0x5ed594(0x2ae)][0x0]);for(let _0x299179=_0x50e49e[_0x5ed594(0xea)]-0x1;_0x299179>=0x0;_0x299179--){const _0x1a222f={'id':_0x5ed594(0xb1),'params':{'unitId':_0x50e49e[_0x299179]['unitId'],..._0x50e49e[_0x299179][_0x5ed594(0x293)]}},_0x379e5c={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x50e49e[_0x299179][_0x5ed594(0x19a)],..._0x50e49e[_0x299179]['redoState']}},_0x2e1d90=this[_0x5ed594(0xfc)][_0x5ed594(0x2d0)](_0xd6af5a,_0x1a222f,!0x1),_0x5be10e=this[_0x5ed594(0xfc)]['transformMutation'](_0x285cc4,_0x379e5c,!0x1);if(_0x3d60d7(_0x2e1d90))throw _0x2e1d90[_0x5ed594(0x17e)];if(_0x3d60d7(_0x5be10e))throw _0x5be10e['error'];_0x39c935['unshift']({..._0x50e49e[_0x299179],'undoState':_0x2e1d90[_0x5ed594(0x264)]['params'],'redoState':_0x5be10e[_0x5ed594(0x264)][_0x5ed594(0x8f)]}),_0xd6af5a=_0x2e1d90[_0x5ed594(0x25b)],_0x285cc4=_0x5be10e[_0x5ed594(0x25b)];}this[_0x5ed594(0x267)][_0x5ed594(0x16f)](_0x3a049a,{'history':_0x5b977a,'collaboration':_0x39c935});}};ue=mn([Le(0x0,_0x384b36(_0x2975ff)),Le(0x1,_0x2843ad),Le(0x2,_0x384b36(_0x31ecfe))],ue);var In=Object[_0x331486(0x1ca)],fn=(_0x1d6bde,_0x395464,_0x51244e,_0x10134d)=>{const _0x360076=_0x331486;for(var _0x1577aa=_0x10134d>0x1?void 0x0:_0x10134d?In(_0x395464,_0x51244e):_0x395464,_0x54623e=_0x1d6bde[_0x360076(0xea)]-0x1,_0x261cc8;_0x54623e>=0x0;_0x54623e--)(_0x261cc8=_0x1d6bde[_0x54623e])&&(_0x1577aa=_0x261cc8(_0x1577aa)||_0x1577aa);return _0x1577aa;},ht=(_0x45e98d,_0x168e46)=>(_0x47f746,_0x4d9156)=>_0x168e46(_0x47f746,_0x4d9156,_0x45e98d);let de=class{constructor(_0x36b54c,_0xdde101){const _0x355d50=_0x331486;this[_0x355d50(0x1fb)]=_0x36b54c,this[_0x355d50(0xfc)]=_0xdde101;}[_0x331486(0x1b8)](_0x9a63f){const _0x277452=_0x331486;var _0x1bc2c3;const _0x180982=this[_0x277452(0x1fb)][_0x277452(0x1e7)](_0x1bc8e5),_0x57b81b=(_0x1bc2c3=_0x180982[_0x277452(0x13f)]())!=null?_0x1bc2c3:[];if(_0x57b81b[_0x277452(0xea)]===0x0)return;const _0x1b47d1=_0x9a63f[_0x277452(0x203)],_0x1482ec=[{'id':_0x277452(0xb1),'params':{'unitId':_0x1b47d1,'actions':null,'textRanges':_0x57b81b}}],_0x1e2f8f=this['_transformService'][_0x277452(0x172)](_0x9a63f,_0x1482ec);if(!_0xa9160d(_0x1e2f8f))throw _0x1e2f8f[_0x277452(0x17e)];const _0x25948a=_0x1e2f8f['m2Prime'][0x0][_0x277452(0x8f)][_0x277452(0x1d1)];Array[_0x277452(0x238)](_0x25948a)&&_0x25948a['length']&&_0x180982[_0x277452(0xbe)](_0x25948a,{'unitId':_0x1b47d1,'subUnitId':_0x1b47d1},!0x1);}};de=fn([ht(0x0,_0x384b36(_0x2975ff)),ht(0x1,_0x2843ad)],de);var gn=Object[_0x331486(0x1ca)],vn=(_0x4aeeb4,_0x47d1f5,_0x2c963d,_0x3421e7)=>{for(var _0x54f66a=_0x3421e7>0x1?void 0x0:_0x3421e7?gn(_0x47d1f5,_0x2c963d):_0x47d1f5,_0xfc6fb0=_0x4aeeb4['length']-0x1,_0x23b85a;_0xfc6fb0>=0x0;_0xfc6fb0--)(_0x23b85a=_0x4aeeb4[_0xfc6fb0])&&(_0x54f66a=_0x23b85a(_0x54f66a)||_0x54f66a);return _0x54f66a;},U=(_0x582e1a,_0x33d608)=>(_0x4d963e,_0x1be16e)=>_0x33d608(_0x4d963e,_0x1be16e,_0x582e1a);let Se=class extends _0x4064cc{constructor(_0x4c083d,_0x22af3a,_0x5323a6,_0xdd80e7,_0x389200,_0x1fa679,_0x1aa028,_0xecab3e){const _0x4780b6=_0x331486;super(),_(this,'_status$',new _0x5adb5d(_0x1917c2['NOT_COLLAB'])),(this[_0x4780b6(0x267)]=_0x4c083d,this[_0x4780b6(0x233)]=_0x22af3a,this['_docTransformIMECacheService']=_0x5323a6,this[_0x4780b6(0x283)]=_0xdd80e7,this['_docTransformSelectionsService']=_0x389200,this['_docSyncEditingCollabCursorService']=_0x1fa679,this['_messageService']=_0x1aa028,this[_0x4780b6(0x2d5)]=_0xecab3e,this[_0x4780b6(0x298)]());}[_0x331486(0x298)](){const _0x2aeaee=_0x331486;this['disposeWithMe'](this[_0x2aeaee(0x233)][_0x2aeaee(0x12d)]['subscribe'](_0x33dd6c=>{const _0x295d57=_0x2aeaee,_0x1814a7=this[_0x295d57(0x267)][_0x295d57(0xde)][_0x295d57(0x1e8)](_0x4ceb80=>{const _0x5729b3=_0x295d57;if(_0x4ceb80==null)return;const {unitId:_0x2c5251,redoState:_0x2bf0ae,commandId:_0x42158d}=_0x4ceb80;if(_0x2c5251!==_0x33dd6c['unitID'])return;const _0x5c6f9b={'id':_0x42158d,'type':_0x224740[_0x5729b3(0x214)],'params':{'unitId':_0x2c5251,'actions':_0x2bf0ae[_0x5729b3(0x1d0)],'textRanges':null}};_0x33dd6c[_0x5729b3(0x299)](_0x5c6f9b);});if(_0x33dd6c[_0x295d57(0xf5)](_0x1814a7),_0x33dd6c instanceof _0x1fd1f0){const _0x1c35dd={'onTransformIME':_0x473ce2=>this[_0x295d57(0x201)][_0x295d57(0xa6)](_0x473ce2),'onTransformState':_0x1553bb=>this[_0x295d57(0x283)]['transformStateCache'](_0x1553bb),'onTransformSelections':_0x2f3848=>this[_0x295d57(0x2a9)][_0x295d57(0x1b8)](_0x2f3848),'onSyncEditingCollabCursor':_0x5257ad=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x5257ad),'onTransformRemoteChangesetByIMECache':_0xe76efd=>this[_0x295d57(0x201)][_0x295d57(0xa2)](_0xe76efd),'onTransformRemoteChangesetByStateCache':_0xc10c06=>this[_0x295d57(0x283)][_0x295d57(0xa2)](_0xc10c06)};_0x33dd6c[_0x295d57(0x227)](_0x1c35dd);}}));}};Se=vn([U(0x0,_0x384b36(_0x31ecfe)),U(0x1,_0x384b36(_0x24f9da)),U(0x2,_0x384b36(he)),U(0x3,_0x384b36(ue)),U(0x4,_0x384b36(de)),U(0x5,_0x384b36(ze)),U(0x6,_0xc89ae7),U(0x7,_0x384b36(_0x4b3f44))],Se);var Z=(_0x10e411=>(_0x10e411[_0x10e411[_0x331486(0xb4)]=0x0]=_0x331486(0xb4),_0x10e411[_0x10e411['OK']=0x1]='OK',_0x10e411[_0x10e411[_0x331486(0xc0)]=0x2]=_0x331486(0xc0),_0x10e411[_0x10e411['PERMISSION_DENIED']=0x3]=_0x331486(0x297),_0x10e411[_0x10e411[_0x331486(0xda)]=0x4]='NOT_FOUND',_0x10e411[_0x10e411['UNAUTHENTICATED']=0x5]=_0x331486(0xc3),_0x10e411[_0x10e411[_0x331486(0x10a)]=0x6]=_0x331486(0x10a),_0x10e411[_0x10e411[_0x331486(0x1a4)]=0x7]='INVALID_ARGUMENT',_0x10e411[_0x10e411[_0x331486(0x1b2)]=0x8]='TOO_MANY_REQUESTS',_0x10e411[_0x10e411[_0x331486(0x2ac)]=0x9]=_0x331486(0x2ac),_0x10e411[_0x10e411[_0x331486(0x12b)]=0xa]=_0x331486(0x12b),_0x10e411[_0x10e411[_0x331486(0x24c)]=0xb]=_0x331486(0x24c),_0x10e411[_0x10e411[_0x331486(0x1a6)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x10e411[_0x10e411['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x10e411[_0x10e411[_0x331486(0x2a2)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x10e411[_0x10e411['AUTHORIZE_CODE_ILLEGAL']=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x10e411[_0x10e411[_0x331486(0x242)]=0x10]=_0x331486(0x242),_0x10e411[_0x10e411[_0x331486(0xff)]=0x64]=_0x331486(0xff),_0x10e411[_0x10e411[_0x331486(0x253)]=0x65]=_0x331486(0x253),_0x10e411[_0x10e411[_0x331486(0x26f)]=0xc9]='USER_NOT_FOUND',_0x10e411[_0x10e411['USER_IS_ANONYMOUS']=0xca]='USER_IS_ANONYMOUS',_0x10e411[_0x10e411[_0x331486(0x2cb)]=0x1389]=_0x331486(0x2cb),_0x10e411[_0x10e411[_0x331486(0x8a)]=0x1771]=_0x331486(0x8a),_0x10e411[_0x10e411[_0x331486(0xb9)]=0x1772]=_0x331486(0xb9),_0x10e411[_0x10e411[_0x331486(0x229)]=0x1773]=_0x331486(0x229),_0x10e411[_0x10e411[_0x331486(0x1e5)]=0x1b59]=_0x331486(0x1e5),_0x10e411[_0x10e411[_0x331486(0xfe)]=0x1b5a]=_0x331486(0xfe),_0x10e411[_0x10e411[_0x331486(0x16c)]=0x1b5b]=_0x331486(0x16c),_0x10e411[_0x10e411['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x331486(0x2d2),_0x10e411[_0x10e411[_0x331486(0xd7)]=0x1b5d]=_0x331486(0xd7),_0x10e411[_0x10e411[_0x331486(0x2a8)]=0x1f41]=_0x331486(0x2a8),_0x10e411[_0x10e411[_0x331486(0x217)]=0x2329]=_0x331486(0x217),_0x10e411[_0x10e411[_0x331486(0x8b)]=0x232a]=_0x331486(0x8b),_0x10e411[_0x10e411['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x331486(0x240),_0x10e411[_0x10e411[_0x331486(0xdc)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x10e411[_0x10e411[_0x331486(0x2c6)]=0x232d]=_0x331486(0x2c6),_0x10e411[_0x10e411[_0x331486(0x2a3)]=0x2711]=_0x331486(0x2a3),_0x10e411[_0x10e411['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x10e411[_0x10e411[_0x331486(0x219)]=0x2713]=_0x331486(0x219),_0x10e411[_0x10e411[_0x331486(0x131)]=0x2714]=_0x331486(0x131),_0x10e411[_0x10e411[_0x331486(0xcf)]=0x271a]=_0x331486(0xcf),_0x10e411[_0x10e411[_0x331486(0xc6)]=0x271b]=_0x331486(0xc6),_0x10e411[_0x10e411[_0x331486(0x1ec)]=0x271c]=_0x331486(0x1ec),_0x10e411[_0x10e411[_0x331486(0x236)]=0x271d]=_0x331486(0x236),_0x10e411[_0x10e411[_0x331486(0x1a0)]=0x271e]=_0x331486(0x1a0),_0x10e411[_0x10e411[_0x331486(0x93)]=0x271f]=_0x331486(0x93),_0x10e411[_0x10e411[_0x331486(0x295)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x10e411[_0x10e411[_0x331486(0x17d)]=0x2af9]=_0x331486(0x17d),_0x10e411[_0x10e411[_0x331486(0x184)]=0x2ee1]=_0x331486(0x184),_0x10e411[_0x10e411[_0x331486(0xc1)]=0x2ee2]=_0x331486(0xc1),_0x10e411[_0x10e411[_0x331486(0x225)]=0x2ee3]=_0x331486(0x225),_0x10e411[_0x10e411[_0x331486(0x143)]=0x2ee4]=_0x331486(0x143),_0x10e411[_0x10e411[_0x331486(0x138)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x10e411[_0x10e411[_0x331486(0x28e)]=0x32c9]=_0x331486(0x28e),_0x10e411[_0x10e411['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x331486(0x10d),_0x10e411[_0x10e411[_0x331486(0x11f)]=0x32cb]=_0x331486(0x11f),_0x10e411[_0x10e411[_0x331486(0xbc)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x10e411[_0x10e411[_0x331486(0x24b)]=0x36b2]=_0x331486(0x24b),_0x10e411[_0x10e411[_0x331486(0x110)]=0x36b3]=_0x331486(0x110),_0x10e411[_0x10e411[_0x331486(0x106)]=0x36b4]=_0x331486(0x106),_0x10e411[_0x10e411[_0x331486(0x2cd)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x10e411[_0x10e411['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x331486(0x252),_0x10e411[_0x10e411[_0x331486(0x292)]=0x3717]=_0x331486(0x292),_0x10e411[_0x10e411[_0x331486(0x21d)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x10e411[_0x10e411[_0x331486(0x1db)]=0x3a99]=_0x331486(0x1db),_0x10e411[_0x10e411[_0x331486(0x279)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x10e411[_0x10e411['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0x331486(0x266),_0x10e411[_0x10e411['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x331486(0x250),_0x10e411[_0x10e411[_0x331486(0x88)]=0x3a9d]=_0x331486(0x88),_0x10e411[_0x10e411['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x331486(0x96),_0x10e411[_0x10e411[_0x331486(0x270)]=0x3a9f]=_0x331486(0x270),_0x10e411[_0x10e411[_0x331486(0x26c)]=0x3e81]=_0x331486(0x26c),_0x10e411[_0x10e411['UNRECOGNIZED']=-0x1]=_0x331486(0x14e),_0x10e411))(Z||{});function En(_0x206209){const _0x2ec86a=_0x331486;var _0x9a32ad,_0x1cf2af;const _0x29d737=(_0x9a32ad=_0x206209[_0x2ec86a(0xd0)])==null?void 0x0:_0x9a32ad[_0x2ec86a(0x101)],_0x3cb1f9=((_0x1cf2af=_0x206209[_0x2ec86a(0xd0)])==null?void 0x0:_0x1cf2af[_0x2ec86a(0x28f)])||0x0;return _0x29d737===_0x238a49['START_CALCULATION']&&_0x3cb1f9>0x0;}function pn(_0x30ac10){const _0x2af581=_0x331486;return _0x30ac10[_0x2af581(0x284)]===_0x144892['SUCCESS'];}var On=Object[_0x331486(0x1ca)],Tn=(_0x4dc537,_0xb57314,_0x2a634e,_0x5dc7c3)=>{for(var _0x33ea86=_0x5dc7c3>0x1?void 0x0:_0x5dc7c3?On(_0xb57314,_0x2a634e):_0xb57314,_0x6b4294=_0x4dc537['length']-0x1,_0x3f5369;_0x6b4294>=0x0;_0x6b4294--)(_0x3f5369=_0x4dc537[_0x6b4294])&&(_0x33ea86=_0x3f5369(_0x33ea86)||_0x33ea86);return _0x33ea86;},P=(_0x16ecd2,_0x533ed3)=>(_0x50e7df,_0x4818b4)=>_0x533ed3(_0x50e7df,_0x4818b4,_0x16ecd2);const Cn=_0x331486(0x289),Rn=_0x331486(0x9d),Dn=_0x331486(0x288);let me=class extends _0x4064cc{constructor(_0x2790e1,_0x267107,_0xb0abf3,_0x2a797c,_0x14c596,_0x2dad5c,_0x5a58d2){const _0x53aa52=_0x331486;super(),_(this,_0x53aa52(0x265),null),_(this,_0x53aa52(0xa7),0x0),_(this,_0x53aa52(0xaf),0x0),_(this,'_taskIds',[]),_(this,_0x53aa52(0x1bf),0x0),(this[_0x53aa52(0x17a)]=_0x2790e1,this[_0x53aa52(0x124)]=_0x267107,this[_0x53aa52(0x200)]=_0xb0abf3,this[_0x53aa52(0x202)]=_0x2a797c,this[_0x53aa52(0xed)]=_0x14c596,this['_logService']=_0x2dad5c,this[_0x53aa52(0x2d5)]=_0x5a58d2,this[_0x53aa52(0xdb)]());}[_0x331486(0xdb)](){const _0x5a6cf7=_0x331486;this[_0x5a6cf7(0xf5)](this['_commandService']['beforeCommandExecuted']((_0x366b62,_0x4f57c1)=>{const _0x9bba60=_0x5a6cf7;var _0xfef4ad;if(_0x366b62['id']!==_0x96febf['id'])return;const _0x2ea014=_0x366b62[_0x9bba60(0x8f)];if(!this[_0x9bba60(0x2aa)]((_0xfef4ad=_0x2ea014[_0x9bba60(0x1eb)])!=null?_0xfef4ad:[]))return;if(!this['_checkCalculationAvailable']())throw this['_checkAndWaitForCalculationPermission'](_0x366b62,_0x4f57c1),this[_0x9bba60(0x2ce)](),new _0x2e132b();})),this[_0x5a6cf7(0xf5)](this[_0x5a6cf7(0x124)][_0x5a6cf7(0x2b2)]((_0x3686d6,_0x506814)=>{const _0x3656db=_0x5a6cf7;if(_0x3686d6['id']!==_0x2312b3['id'])return;const _0x5d0895=_0x3686d6[_0x3656db(0x8f)];if(En(_0x5d0895)){const _0x5e06ca=_0x460716();this['_taskIds'][_0x3656db(0x118)](_0x5e06ca),this[_0x3656db(0x176)](_0x5e06ca);}else{if(pn(_0x5d0895)&&this[_0x3656db(0x1ac)]['length']>0x0){const _0x59c2d3=this['_taskIds'][_0x3656db(0x191)]();this['_releaseCalculationLimit'](_0x59c2d3);}}}));}['dispose'](){const _0x560309=_0x331486;super['dispose'](),this['_clearPolling'](),this[_0x560309(0x1ac)]=[],this[_0x560309(0xaf)]=0x0,this[_0x560309(0xa7)]=0x0,this[_0x560309(0x1bf)]=0x0;}async[_0x331486(0x1d8)](_0xd2d542,_0x127f50){const _0x3a5c88=_0x331486;for(let _0x393a59=0x0;_0x393a59<0x1e;_0x393a59++)try{if(await this[_0x3a5c88(0x21e)](),this[_0x3a5c88(0xf9)]()){this['_applyCommand'](_0xd2d542,_0x127f50),this[_0x3a5c88(0x17a)][_0x3a5c88(0x268)]({'content':this[_0x3a5c88(0x2d5)]['t'](_0x3a5c88(0x1b1)),'type':_0x27e95d['Success']});return;}await new Promise(_0x45de95=>{const _0x19a9c6=_0x3a5c88;this[_0x19a9c6(0x265)]=window[_0x19a9c6(0x2c2)](_0x45de95,0x3e8);});}catch(_0x23f3c2){this[_0x3a5c88(0xb6)][_0x3a5c88(0x17e)](_0x23f3c2);}this[_0x3a5c88(0x17a)][_0x3a5c88(0x268)]({'content':this[_0x3a5c88(0x2d5)]['t']('formula.calculation.unable'),'type':_0x27e95d[_0x3a5c88(0x2a0)]});}[_0x331486(0x19c)](_0x21fd79,_0x19e494){const _0x556dd5=_0x331486;try{this[_0x556dd5(0x124)][_0x556dd5(0x255)](_0x21fd79['id'],_0x21fd79[_0x556dd5(0x8f)],_0x19e494);}catch(_0x1be405){this[_0x556dd5(0xb6)][_0x556dd5(0x17e)](_0x1be405);}}[_0x331486(0x205)](_0x4dda3c,_0x147314){const _0x5023f0=_0x331486;_0x147314<this[_0x5023f0(0x1bf)]||(this[_0x5023f0(0x1bf)]=_0x147314,this[_0x5023f0(0xa7)]=Number['parseInt'](_0x4dda3c[_0x5023f0(0x185)]),this[_0x5023f0(0xaf)]=Number[_0x5023f0(0x29c)](_0x4dda3c[_0x5023f0(0x19d)]));}async[_0x331486(0x176)](_0x445dfa){const _0x472796=_0x331486;var _0x12bd0e,_0x32b39b;const _0x337679=Date[_0x472796(0x29d)]();try{const _0xabdf8=((_0x12bd0e=this[_0x472796(0x200)]['getConfig'](_0x317300))==null?void 0x0:_0x12bd0e[_0x472796(0x1f3)])||Rn,_0x1eb757=(await this[_0x472796(0x202)][_0x472796(0x18e)](_0xabdf8,{'body':JSON['stringify']({'taskId':_0x445dfa})}))['body'];if(((_0x32b39b=_0x1eb757['error'])==null?void 0x0:_0x32b39b[_0x472796(0x2c1)])!==Z['OK'])return;this[_0x472796(0x205)](_0x1eb757[_0x472796(0x160)],_0x337679);}catch(_0xcf6cbe){this[_0x472796(0xb6)][_0x472796(0x17e)](_0xcf6cbe);}}async['_getFormulaLimitStatus'](_0x253b70){const _0xa479ad=_0x331486;var _0x4f41ef,_0xc56bd7;const _0x2283eb=Date[_0xa479ad(0x29d)]();try{const _0x2b843f=((_0x4f41ef=this[_0xa479ad(0x200)]['getConfig'](_0x317300))==null?void 0x0:_0x4f41ef[_0xa479ad(0x1a2)])||Cn,_0x896f33=_0x253b70?_0x2b843f+'?taskId='+encodeURIComponent(_0x253b70):_0x2b843f,_0x860464=(await this[_0xa479ad(0x202)]['get'](_0x896f33))['body'];if(((_0xc56bd7=_0x860464['error'])==null?void 0x0:_0xc56bd7['code'])!==Z['OK'])return;this[_0xa479ad(0x205)](_0x860464[_0xa479ad(0x160)],_0x2283eb);}catch(_0x47e03f){this[_0xa479ad(0xb6)]['error'](_0x47e03f);}}async['_releaseCalculationLimit'](_0x1f3a9e){const _0x3472fb=_0x331486;var _0x54eb9f,_0x3d89cf;const _0x5d239e=Date[_0x3472fb(0x29d)]();try{const _0x24f8f0=((_0x54eb9f=this[_0x3472fb(0x200)][_0x3472fb(0x135)](_0x317300))==null?void 0x0:_0x54eb9f[_0x3472fb(0x1ad)])||Dn,_0x354cb2=(await this[_0x3472fb(0x202)][_0x3472fb(0x18e)](_0x24f8f0,{'body':JSON[_0x3472fb(0x20a)]({'taskId':_0x1f3a9e})}))['body'];if(((_0x3d89cf=_0x354cb2['error'])==null?void 0x0:_0x3d89cf[_0x3472fb(0x2c1)])!==Z['OK'])return;this[_0x3472fb(0x205)](_0x354cb2[_0x3472fb(0x160)],_0x5d239e);}catch(_0x74c500){this['_logService'][_0x3472fb(0x17e)](_0x74c500);}}[_0x331486(0xf9)](){const _0x4249a3=_0x331486;return this['_maxFormulaLimit']===0x0?!0x0:this[_0x4249a3(0xa7)]-this[_0x4249a3(0xaf)]>0x0;}[_0x331486(0x129)](){const _0x3f972f=_0x331486;this[_0x3f972f(0x265)]&&(clearTimeout(this['_pollingInterval']),this[_0x3f972f(0x265)]=null);}[_0x331486(0x2ce)](){const _0x4ecad3=_0x331486;this[_0x4ecad3(0x17a)][_0x4ecad3(0x268)]({'content':this['_localeService']['t']('formula.calculation.waiting'),'type':_0x27e95d[_0x4ecad3(0x20c)]});}[_0x331486(0x2aa)](_0x18893e){const _0x33f48d=_0x331486;for(const _0x1fbbf6 of _0x18893e){const {unitId:_0x2b1257,sheetId:_0x359ae9,range:_0x3760f9}=_0x1fbbf6,_0x4c224d=this[_0x33f48d(0xed)][_0x33f48d(0x99)](_0x2b1257);if(!_0x4c224d)continue;const _0x27014e=_0x4c224d['getSheetBySheetId'](_0x359ae9);if(!_0x27014e)continue;const _0x204bd0=_0x27014e[_0x33f48d(0x1c5)]();for(let _0x583f16=_0x3760f9[_0x33f48d(0x260)];_0x583f16<=_0x3760f9[_0x33f48d(0xf7)];_0x583f16++)for(let _0xf190af=_0x3760f9[_0x33f48d(0x262)];_0xf190af<=_0x3760f9[_0x33f48d(0x108)];_0xf190af++){const _0x4d311e=_0x204bd0[_0x33f48d(0xf0)](_0x583f16,_0xf190af);if(_0x4d311e&&(_0x365838(_0x4d311e['f'])||_0x31b7fb(_0x4d311e['si'])))return!0x0;}}return!0x1;}};me=Tn([P(0x0,_0x384b36(_0xc89ae7)),P(0x1,_0xd74a37),P(0x2,_0x5f43ff),P(0x3,_0x384b36(_0x3fa719)),P(0x4,_0x34a5b3),P(0x5,_0x1f29f4),P(0x6,_0x384b36(_0x4b3f44))],me);var bn=Object['getOwnPropertyDescriptor'],Nn=(_0x41a218,_0x4ce37d,_0x261691,_0xf5804c)=>{for(var _0x3329e4=_0xf5804c>0x1?void 0x0:_0xf5804c?bn(_0x4ce37d,_0x261691):_0x4ce37d,_0x2cd630=_0x41a218['length']-0x1,_0x4aaf2d;_0x2cd630>=0x0;_0x2cd630--)(_0x4aaf2d=_0x41a218[_0x2cd630])&&(_0x3329e4=_0x4aaf2d(_0x3329e4)||_0x3329e4);return _0x3329e4;},Ue=(_0x27c545,_0x977477)=>(_0x51938f,_0x41ab5b)=>_0x977477(_0x51938f,_0x41ab5b,_0x27c545);let He=class extends _0x4064cc{constructor(_0x4f4f6c,_0xa6e37,_0x1852f8){const _0x34b9b7=_0x331486;super(),_(this,_0x34b9b7(0x261),new Map()),_(this,_0x34b9b7(0x23d),new Map()),_(this,_0x34b9b7(0x15b),!0x1),(this[_0x34b9b7(0x200)]=_0x4f4f6c,this[_0x34b9b7(0x1cb)]=_0xa6e37,this[_0x34b9b7(0x1da)]=_0x1852f8);}[_0x331486(0x22e)](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x5aee88=_0x331486;this[_0x5aee88(0x15b)]=!0x1;}get[_0x331486(0x177)](){const _0x4cd187=_0x331486;return this[_0x4cd187(0x23d)];}[_0x331486(0x1af)](){const _0x470471=_0x331486;this[_0x470471(0x1a1)]()[_0x470471(0x287)](()=>super['dispose']());}async[_0x331486(0x179)](_0x3fabd7){const _0x4cde60=_0x331486;return this[_0x4cde60(0x15b)]?null:this[_0x4cde60(0x1cb)][_0x4cde60(0x2af)](_0x4579ea(_0x3fabd7));}async['saveOfflineData'](_0x2e682e,_0x42c70c){const _0x1e1851=_0x331486;return!!this[_0x1e1851(0x1cb)][_0x1e1851(0x174)](_0x2e682e,_0x42c70c);}[_0x331486(0xe4)](_0x535949,_0xce44f2,_0x5148a2,_0x1259dd){const _0x17234e=_0x331486,_0xa1d654=this[_0x17234e(0x1da)][_0x17234e(0x2d7)](_0x535949);this[_0x17234e(0x261)][_0x17234e(0x1c0)](_0x535949,{'unitID':_0x535949,'type':_0xce44f2,'awaitingChangeset':_0x5148a2,'mutations':_0x1259dd,'rev':_0xa1d654}),this[_0x17234e(0x23d)][_0x17234e(0x1ef)](_0x535949)||this['_scheduleSaving'](_0x535949);}[_0x331486(0xd2)](_0x4c826f){const _0x49b45f=_0x331486,_0x1fddb7=this[_0x49b45f(0x23b)]();_0x1fddb7===0x0?this['_saveCache'](_0x4c826f):this['_saveTaskMap']['set'](_0x4c826f,setTimeout(()=>this['_saveCache'](_0x4c826f),_0x1fddb7));}[_0x331486(0x23b)](){const _0x305ade=_0x331486;var _0x309924;return(_0x309924=this[_0x305ade(0x200)]['getConfig'](_0x17b7f2))!=null?_0x309924:_0x3e4b99;}[_0x331486(0x183)](_0x50e3a8){const _0xe361ba=_0x331486,_0x2f66f7=this['_saveTaskMap'][_0xe361ba(0x1e7)](_0x50e3a8);return _0x2f66f7!==void 0x0&&window[_0xe361ba(0x286)](_0x2f66f7),this[_0xe361ba(0x1cb)][_0xe361ba(0x174)](_0x4579ea(_0x50e3a8),this[_0xe361ba(0x261)][_0xe361ba(0x1e7)](_0x50e3a8))[_0xe361ba(0x287)](()=>this[_0xe361ba(0x23d)][_0xe361ba(0x211)](_0x50e3a8));}async[_0x331486(0x1a1)](){const _0x23bbe6=_0x331486,_0x334683=[];this['_saveTaskMap'][_0x23bbe6(0x210)]((_0x36f002,_0x4a88e5)=>{const _0xa92ff6=_0x23bbe6;window[_0xa92ff6(0x286)](_0x36f002),_0x334683['push'](this[_0xa92ff6(0x183)](_0x4a88e5)['then'](()=>{const _0x3a298b=_0xa92ff6;this[_0x3a298b(0x23d)][_0x3a298b(0x211)](_0x4a88e5);}));}),await Promise[_0x23bbe6(0x196)](_0x334683);}};He=Nn([Ue(0x0,_0x5f43ff),Ue(0x1,_0x25196f),Ue(0x2,_0x384b36(_0x21d43a))],He);class Ln extends _0x57605c{constructor(){const _0x237385=_0x331486;super(),_(this,_0x237385(0x29f)),this[_0x237385(0x29f)]=_0x1059cc(window,'popstate')[_0x237385(0x181)](_0x136c33(this['dispose$']),_0x266c9a(0x1),_0x569761(void 0x0));}[_0x331486(0xe8)](_0x237917,_0x27a30c,_0x697cd2=!0x1){const _0x24be7e=_0x331486,_0x4f2169=new URL(window[_0x24be7e(0x1e4)][_0x24be7e(0x92)]);_0x4f2169[_0x24be7e(0xb0)][_0x24be7e(0x1c0)](_0x237917,_0x27a30c),_0x697cd2?window['history'][_0x24be7e(0x1ab)]('','',_0x4f2169[_0x24be7e(0x130)]()):window[_0x24be7e(0x276)][_0x24be7e(0xdf)]('','',_0x4f2169[_0x24be7e(0x130)]());}[_0x331486(0x1a9)](_0x4c0d75,_0x358427=!0x1){const _0x283200=_0x331486,_0x571977=new URL(window[_0x283200(0x1e4)][_0x283200(0x92)]);_0x571977[_0x283200(0xb0)][_0x283200(0x211)](_0x4c0d75),_0x358427?window[_0x283200(0x276)][_0x283200(0x1ab)]('','',_0x571977[_0x283200(0x130)]()):window[_0x283200(0x276)][_0x283200(0xdf)]('','',_0x571977[_0x283200(0x130)]());}[_0x331486(0xdd)](_0x4ca0b7){const _0x321923=_0x331486;var _0x32d51c;return(_0x32d51c=new URL(window[_0x321923(0x1e4)]['href'])[_0x321923(0xb0)][_0x321923(0x1e7)](_0x4ca0b7))!=null?_0x32d51c:void 0x0;}}var Un=Object[_0x331486(0x10c)],Mn=Object['getOwnPropertyDescriptor'],An=(_0x1b1f02,_0x4ea02e,_0xb02b00)=>_0x4ea02e in _0x1b1f02?Un(_0x1b1f02,_0x4ea02e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xb02b00}):_0x1b1f02[_0x4ea02e]=_0xb02b00,Pn=(_0x1065bc,_0x1c314b,_0x3e57ca,_0x582792)=>{const _0x554d1b=_0x331486;for(var _0x313611=_0x582792>0x1?void 0x0:_0x582792?Mn(_0x1c314b,_0x3e57ca):_0x1c314b,_0x2991e3=_0x1065bc[_0x554d1b(0xea)]-0x1,_0x5abaca;_0x2991e3>=0x0;_0x2991e3--)(_0x5abaca=_0x1065bc[_0x2991e3])&&(_0x313611=_0x5abaca(_0x313611)||_0x313611);return _0x313611;},Me=(_0x3f93e2,_0x52de8b)=>(_0x31d580,_0x4c9f89)=>_0x52de8b(_0x31d580,_0x4c9f89,_0x3f93e2),wn=(_0x55a40f,_0x51c5a1,_0x22018b)=>An(_0x55a40f,_0x51c5a1+'',_0x22018b);const yn=_0x331486(0x15c);let Ye=class extends _0x1d5629{constructor(_0x217043=_t,_0x1c7fef,_0x2bbe3c,_0x4d1a41){const _0x43c28a=_0x331486;super(),this['_config']=_0x217043,this['_renderManagerService']=_0x1c7fef,this[_0x43c28a(0x1fb)]=_0x2bbe3c,this[_0x43c28a(0x200)]=_0x4d1a41;const {..._0x71853a}=_0x1e7bf4({},_t,this[_0x43c28a(0x137)]);this['_configService']['setConfig'](hn,_0x71853a);}[_0x331486(0x150)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x331486(0x15f)](){const _0x24cdbf=_0x331486;this[_0x24cdbf(0x16d)]();}[_0x331486(0x156)](){const _0x22e174=_0x331486;var _0x1f5c52;const _0x37c168=[[Ke],[me],[de],[he],[ue],[ze],[yt,{'useClass':Ln}],[_0x48e0d4,{'useClass':_0x5d29c5}],[_0x24b451,{'useClass':He}],[ae],[Se],[_e],[H],[$e],[ce]];this[_0x22e174(0x137)][_0x22e174(0x1e2)]&&_0x37c168[_0x22e174(0x118)]([le]),_0x5c8afa(this[_0x22e174(0x1fb)],_0xf081e9(_0x37c168,(_0x1f5c52=this[_0x22e174(0x137)])==null?void 0x0:_0x1f5c52[_0x22e174(0x1e6)]));}[_0x331486(0x16d)](){const _0x5c9aa7=_0x331486;this[_0x5c9aa7(0xf5)](this[_0x5c9aa7(0x13e)][_0x5c9aa7(0x235)](_0x4e690a[_0x5c9aa7(0x237)],[Fe])),this['disposeWithMe'](this['_renderManagerService'][_0x5c9aa7(0x235)](_0x4e690a[_0x5c9aa7(0x153)],[ke]));}[_0x331486(0x144)](){const _0x41cb2f=_0x331486;_0x485043(this[_0x41cb2f(0x1fb)],[[H],[ae],[Se],[_e],[ce],[me]]),this[_0x41cb2f(0x137)]['enableFrontendLog']&&_0x485043(this[_0x41cb2f(0x1fb)],[[le]]);}};wn(Ye,'pluginName',yn),Ye=Pn([_0x145aff(_0x545449),Me(0x1,_0x450a3a),Me(0x2,_0x384b36(_0x2975ff)),Me(0x3,_0x5f43ff)],Ye);var $n=Object['getOwnPropertyDescriptor'],xn=(_0x234165,_0x52e2ef,_0x107f8b,_0x19f190)=>{const _0x325119=_0x331486;for(var _0x397fc9=_0x19f190>0x1?void 0x0:_0x19f190?$n(_0x52e2ef,_0x107f8b):_0x52e2ef,_0x43996d=_0x234165[_0x325119(0xea)]-0x1,_0x1c3483;_0x43996d>=0x0;_0x43996d--)(_0x1c3483=_0x234165[_0x43996d])&&(_0x397fc9=_0x1c3483(_0x397fc9)||_0x397fc9);return _0x397fc9;},J=(_0x33f251,_0x595f73)=>(_0xb4c193,_0x394927)=>_0x595f73(_0xb4c193,_0x394927,_0x33f251);let ut=class extends _0x1af29f{constructor(_0x314a8c,_0x488b3e,_0x2462e4,_0x1c3a5c,_0x4dae4c){super(_0x314a8c,_0x488b3e,_0x2462e4,_0x1c3a5c,_0x4dae4c);}async[_0x331486(0xa8)](_0x3f3758){const _0x5414fa=_0x331486,_0x3e6c18=await this[_0x5414fa(0x2a4)](),_0x28fba6=this['_createSocketURL'](_0x3f3758,_0x3e6c18);return this[_0x5414fa(0x2b7)](_0x28fba6);}['_createSocketURL'](_0x51fb26,_0x4b89bd){const _0x417aba=_0x331486,_0x41ff1f=typeof window>'u'?new URL(_0x51fb26):new URL(_0x51fb26,window[_0x417aba(0x1e4)][_0x417aba(0x246)]);_0x41ff1f[_0x417aba(0xb0)][_0x417aba(0x1c0)](_0x417aba(0xab),_0x4b89bd);const _0x17acb1=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x417aba(0x1e4)]['search']);return _0x17acb1[_0x417aba(0x1e7)]('runId')&&_0x41ff1f[_0x417aba(0xb0)][_0x417aba(0x1c0)](_0x417aba(0x234),_0x17acb1[_0x417aba(0x1e7)](_0x417aba(0x234))),_0x41ff1f['toString']();}async['_getSessionTicket'](){const _0x1690be=_0x331486;var _0x48ed73,_0x1be1c0,_0x2c8be8;const _0x1ebe1b=this[_0x1690be(0x200)][_0x1690be(0x135)](_0x317300),_0x8fdd74=(_0x48ed73=_0x1ebe1b==null?void 0x0:_0x1ebe1b['wsSessionTicketUrl'])!=null?_0x48ed73:_0x87d114;return(_0x2c8be8=(_0x1be1c0=(await this[_0x1690be(0x202)][_0x1690be(0x1e7)](_0x8fdd74,{'headers':{'Content-Type':_0x1690be(0x14d)}}))[_0x1690be(0x223)])==null?void 0x0:_0x1be1c0['ticket'])!=null?_0x2c8be8:'';}};ut=xn([J(0x0,_0x384b36(_0x2975ff)),J(0x1,_0x384b36(_0x3fa719)),J(0x2,_0x5f43ff),J(0x3,_0x1f29f4),J(0x4,_0x5eb23d)],ut);var Bn=Object[_0x331486(0x1ca)],Fn=(_0x432744,_0x1ff292,_0x46a823,_0x286597)=>{const _0x385507=_0x331486;for(var _0x6071eb=_0x286597>0x1?void 0x0:_0x286597?Bn(_0x1ff292,_0x46a823):_0x1ff292,_0x1ad194=_0x432744[_0x385507(0xea)]-0x1,_0x233ee7;_0x1ad194>=0x0;_0x1ad194--)(_0x233ee7=_0x432744[_0x1ad194])&&(_0x6071eb=_0x233ee7(_0x6071eb)||_0x6071eb);return _0x6071eb;},Ae=(_0x1aed35,_0x36b337)=>(_0x15a35f,_0x2968b5)=>_0x36b337(_0x15a35f,_0x2968b5,_0x1aed35);let dt=class extends _0x4064cc{constructor(_0x8321f9,_0x1c5444,_0x810778){const _0x16fea6=_0x331486;super(),this[_0x16fea6(0xc2)]=_0x8321f9,this[_0x16fea6(0x202)]=_0x1c5444,this[_0x16fea6(0x200)]=_0x810778;}async[_0x331486(0x27f)](_0x507b0d,_0x30dfc7,_0x54850f,..._0x346dc8){const _0x378229=_0x331486;var _0x49d205,_0x24c6b0,_0x313a32,_0x3b63b4;const _0x34052e=this[_0x378229(0xc2)][_0x378229(0xcb)]();if(!_0x34052e)throw new Error(_0x378229(0xd8));const _0x3fd513=((_0x49d205=this[_0x378229(0x200)][_0x378229(0x135)](_0x10f6ab))!=null?_0x49d205:_0x4d4beb)+'/'+_0x507b0d+'/run/'+_0x30dfc7,_0x46e5f7=new URL(window['location'][_0x378229(0x92)]),_0x4ea777={'scriptId':_0x507b0d,'runId':(_0x24c6b0=_0x46e5f7[_0x378229(0xb0)][_0x378229(0x1e7)]('runId'))!=null?_0x24c6b0:'','function':_0x30dfc7,'unitId':_0x34052e['getUnitId'](),'argsOfFunction':JSON[_0x378229(0x20a)](_0x346dc8),'invokeId':(_0x313a32=_0x54850f[_0x378229(0x18d)])!=null?_0x313a32:'','executionId':(_0x3b63b4=_0x54850f[_0x378229(0x2ab)])!=null?_0x3b63b4:''};try{const _0x3c054f=await this[_0x378229(0x202)][_0x378229(0x18e)](_0x3fd513,{'body':_0x4ea777});return _0x3c054f['body'][_0x378229(0x17e)]&&_0x3c054f['body'][_0x378229(0x17e)]['code']!==Z['OK']?'Failed':_0x3c054f[_0x378229(0x223)][_0x378229(0x2be)];}catch{return _0x378229(0x1f2);}}};dt=Fn([Ae(0x0,_0x34a5b3),Ae(0x1,_0x384b36(_0x3fa719)),Ae(0x2,_0x5f43ff)],dt);const St=0x7530,mt=_0x331486(0x1ae);class rr extends _0x4064cc{constructor(){const _0x541194=_0x331486;super(),_(this,_0x541194(0x1a3),_0x460716()),_(this,_0x541194(0xfa),new Set()),_(this,_0x541194(0x10e),new Map()),_(this,_0x541194(0x155),null),_(this,_0x541194(0x2a1),new Map()),_(this,'_unitStatus',new Map()),this['_init']();}['dispose'](){const _0x23d44b=_0x331486;super[_0x23d44b(0x1af)](),this[_0x23d44b(0x2a1)][_0x23d44b(0x210)]((_0x49e18d,_0x32a63e)=>this[_0x23d44b(0xa4)](_0x32a63e)),this[_0x23d44b(0x155)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x331486(0x1c8)](_0x391020){const _0x5e81d3=_0x331486;return this[_0x5e81d3(0x8e)](_0x391020)[_0x5e81d3(0x181)](_0x46c569());}[_0x331486(0x27e)](_0x5df393){const _0x43dd21=_0x331486;this[_0x43dd21(0xfa)][_0x43dd21(0x209)]===0x0&&this['_scheduleHeartbeat'](),this[_0x43dd21(0xfa)]['add'](_0x5df393),this[_0x43dd21(0x254)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x5df393],'isForwarded':!0x1});}['disposeUnit'](_0x38a5df){const _0x423b46=_0x331486;this[_0x423b46(0xfa)]['delete'](_0x38a5df),this[_0x423b46(0xfa)][_0x423b46(0x209)]===0x0&&this[_0x423b46(0x155)]&&window[_0x423b46(0x1ba)](this['_heartbeatTimer']);}[_0x331486(0x119)](){const _0x2dfbfc=_0x331486;this[_0x2dfbfc(0xf5)](_0x385cfe(_0x1059cc(window,'storage')[_0x2dfbfc(0x1e8)](_0x3fdabd=>{const _0x57d155=_0x2dfbfc;if(_0x3fdabd[_0x57d155(0x14f)]!==mt||!_0x3fdabd[_0x57d155(0x166)])return;const _0x2a7138=JSON['parse'](_0x3fdabd[_0x57d155(0x166)]);this[_0x57d155(0x19e)](_0x2a7138);}))),window[_0x2dfbfc(0x21f)]('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x2dfbfc(0x1a3)],'unitIDs':Array[_0x2dfbfc(0x2cc)](this[_0x2dfbfc(0xfa)])}));}['_handleEvent'](_0x4a045b){const _0x1488d5=_0x331486;switch(_0x4a045b[_0x1488d5(0x1d3)]){case 0x0:this[_0x1488d5(0x115)](_0x4a045b);break;case 0x1:this[_0x1488d5(0x105)](_0x4a045b);break;case 0x2:this[_0x1488d5(0x22f)](_0x4a045b);break;}}[_0x331486(0x115)](_0x205c27){const _0x23991c=_0x331486,{unitIDs:_0x119dd5,memberID:_0x16bf12,isForwarded:_0x3b70a5}=_0x205c27;_0x119dd5[_0x23991c(0x210)](_0x5c7e6a=>{const _0x5f5160=_0x23991c;if(!_0x3b70a5&&this[_0x5f5160(0x10e)]['has'](_0x5c7e6a)&&this[_0x5f5160(0x8e)](_0x5c7e6a)['next'](_0x3fa58f[_0x5f5160(0x195)]),!this[_0x5f5160(0x10e)][_0x5f5160(0x1ef)](_0x5c7e6a)||!this[_0x5f5160(0x10e)][_0x5f5160(0x1e7)](_0x5c7e6a)['has'](_0x16bf12)){const _0x2daaca=this['_unitOnClients'][_0x5f5160(0x1e7)](_0x5c7e6a)||new Set();_0x2daaca[_0x5f5160(0x1b7)](_0x16bf12),this['_unitOnClients']['set'](_0x5c7e6a,_0x2daaca),this[_0x5f5160(0x94)](_0x16bf12);}}),_0x3b70a5||this[_0x23991c(0x254)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x331486(0x94)](_0xa5724e){const _0x408e21=_0x331486;this['_removeClearOtherTimer'](_0xa5724e);const _0x259825=window[_0x408e21(0x2c2)](()=>{const _0xefaf5c=_0x408e21;this[_0xefaf5c(0x10e)][_0xefaf5c(0x210)](_0x45e397=>{const _0x594561=_0xefaf5c;_0x45e397[_0x594561(0x211)](_0xa5724e);});},St*0x2);this[_0x408e21(0x2a1)][_0x408e21(0x1c0)](_0xa5724e,_0x259825);}[_0x331486(0xa4)](_0x1f3d15){const _0x48363e=_0x331486;if(this[_0x48363e(0x2a1)][_0x48363e(0x1ef)](_0x1f3d15)){const _0x5d35fb=this[_0x48363e(0x2a1)]['get'](_0x1f3d15);_0x5d35fb&&window[_0x48363e(0x286)](_0x5d35fb),this[_0x48363e(0x2a1)][_0x48363e(0x1c0)](_0x1f3d15,null);}}[_0x331486(0x105)](_0x51afb9){const _0x331a=_0x331486,{memberID:_0x59f35c,unitIDs:_0x2210c4}=_0x51afb9;_0x2210c4['forEach'](_0x19e6f7=>{const _0x3a75a4=_0x512f;var _0x298775;const _0x1e8f1f=this['_unitOnClients'][_0x3a75a4(0x1e7)](_0x19e6f7);_0x1e8f1f&&(_0x1e8f1f['delete'](_0x59f35c),(_0x298775=this[_0x3a75a4(0x8e)](_0x19e6f7))==null||_0x298775['next'](_0x1e8f1f[_0x3a75a4(0x209)]===0x0?_0x3fa58f[_0x3a75a4(0x9b)]:_0x3fa58f[_0x3a75a4(0x195)]));}),this[_0x331a(0xa4)](_0x59f35c);}[_0x331486(0x22f)](_0x11af1f){const _0x61cb7c=_0x331486;this[_0x61cb7c(0x94)](_0x11af1f[_0x61cb7c(0x98)]);}[_0x331486(0x254)](_0x374b37){const _0x57564b=_0x331486;localStorage[_0x57564b(0x174)](mt,JSON[_0x57564b(0x20a)](_0x374b37));}[_0x331486(0x2c3)](){const _0x1dd7ef=_0x331486;this[_0x1dd7ef(0x155)]=window[_0x1dd7ef(0x100)](()=>{const _0x41d28c=_0x1dd7ef;this[_0x41d28c(0x254)]({'type':0x2,'memberID':this[_0x41d28c(0x1a3)]});},St);}['_ensureSubject'](_0x1155e6){const _0x1f3928=_0x331486;return this['_unitStatus'][_0x1f3928(0x1ef)](_0x1155e6)||this[_0x1f3928(0x2ad)][_0x1f3928(0x1c0)](_0x1155e6,new _0x5adb5d(_0x3fa58f[_0x1f3928(0x9b)])),this[_0x1f3928(0x2ad)][_0x1f3928(0x1e7)](_0x1155e6);}}function _0x5658(){const _0x20e3f8=['ENTITLE_REPORT_LIMIT_EXCEED','ERROR_AGAIN','_send','executeCommand','addObject','div','701115QlHFLc','FromArray','complete','m1Prime','height','entries','1em','InsertRangeMoveRightCommandId','startRow','_cachedData','startColumn','lineTo','m2Prime','_pollingInterval','REDEMPTION_CODE_FULLY_REDEEMED','_docStateChangeManagerService','show','getColorFromTheme','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','activeSheet$','DATA_SOURCE_TOO_LARGE','_transformHistoryAndStateStack','onMouseMove','USER_NOT_FOUND','REDEMPTION_CODE_HAS_BEEN_CREATED','...','session.will-retry','/universer-api/frontend/logs','#FFF','_imageIoService','history','mask','_initWindowErrorListener','REDEMPTION_CODE_INACTIVE','_localCacheService','_getScale','makeDirty','_beforeCloseService','editingUnit','runOnServer','_online','_cursorShapes','collabStatus.offline','_docTransformStateCacheService','functionsExecutedState','OFFLINE','clearTimeout','then','/universer-api/license/formula/limit/done','/universer-api/license/formula/limit/status','CONFLICT','roomMembers','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','contains','WECHAT_HAS_BEEN_BOUND','totalFormulasToCalculate','unsubscribe','ranges','ENTITLE_INSUFFICIENT_QUOTA','undoState','permission.title','YUUMI_CONNECTOR_URL_NOT_FOUND','PENDING','PERMISSION_DENIED','_initEntityListener','onLocalMutation','FETCH_MISS','getMergeData','parseInt','now','getCurrent','urlChange$','Error','_clearOtherTimers','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','YUUMI_UNABLE_LOAD_URL','_getSessionTicket','getCollabCursors$','_initCommandExecutedListener','collabStatus.notCollab','CONNECTOR_DATA_TOO_LARGE','_docTransformSelectionsService','_hasFormulaInDirtyRanges','executionId','COMPLETION_FINISHED','_unitStatus','mutations','getItem','join','closePath','onCommandExecuted','cursorInfo','addObjects','unshift','map','_doCreateSocket','cursorInfo$','red.300','init','_collabCursorController','top','onPointerEnter$','result','setAlpha','_eventUnsubscribe','code','setTimeout','_scheduleHeartbeat','collab-text-range-','max','LICENSE_DISTRO_REJECTED','_session','_updateURLWithCurrentState','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','getViewport','CHANGESET_REVISION_CONFILICT','from','ENTITLE_CHAT_LIMIT_EXCEED','_showGuardMessage','getSheetBySheetId','transformMutation','getMember','APPLY_PERMISSION_DENIED','saveImage','_toggleOnline','_localeService','getOffsetConfig','getCurrentRevOfUnit','_onCursorUpdate','fill','REDEMPTION_USER_NOT_ELIGIBLE','getTypeOfUnitDisposed$','SNAPSHOT_INVALID_SNAPSHOT','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','message','min','_ensureSubject','params','OnLineIcon','isActive','href','YUUMI_AI_RUN_FAILED','_scheduleClearOtherTimer','sheetId','REDEMPTION_USER_REDEEM_TIMES_EXCEED','61414mkZLMn','memberID','getUnit','_draw','NO_OTHER_CLIENTS_EDITING','permission.content','/universer-api/license/formula/limit/start','defs','getUndoRedoMutationParamsCache','_removeCollabCursors','getRangePointData','transformRemoteChangeset','find','_removeClearOtherTimer','registerRefRange','transformIMECache','_maxFormulaLimit','createSocket','registerComponent','_textBubble','sessionTicket','AWAITING_WITH_PENDING','current','_initStatusComponent','_currentUsage','searchParams','doc.mutation.rich-text-editing','url(#off-line-icon_clip0_910_343)','unhandledrejection','UNDEFINED','onTransformChange$','_logService','restore','hide','SNAPSHOT_HAS_BEEN_REMOVED','_startDocCollabCursor','drawWith','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_docClipboardService','replaceDocRanges','_collabSessionService','INTERNAL_ERROR','INVALID_INVITE_CODE','_instanceService','UNAUTHENTICATED','tag','InsertRowCommandId','YUUMI_ASYNCIO_CANCELLED','[LogService\x20Error]:\x20','_uploadLog','_refRangeService','white','getFocusedUnit','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','labelPosition','OTHER_CLIENT_EDITING','YUUMI_NO_CUBOID_FOR_QUESTION','stageInfo','Unknown\x20user','_scheduleSaving','text','_hideTimer','[Window\x20Error]:\x20','column','APPLY_DUPLICATED','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_memberService','NOT_FOUND','_initCommandInterceptor','LICENSE_EXPORT_SIZE_EXCEEDED','getParam','docStateChange$','pushState','sheetID','use','on-line-icon','subscribeEvent','updateOfflineData','0\x200\x2016\x2016','_docSkeleton','range','setParam','_document','length','_status$','socket$','_univerInstanceService','path','_docSkeletonManagerService','getValue','USERS_LEAVE','clipPath','removeEventListener','RECT','disposeWithMe','univer-flex\x20univer-items-center','endRow','transformStateCache','_checkCalculationAvailable','_selfUnitIDs','row','_transformService','subUnitId','APPLY_NON_SEQUENTIAL_REVISION','CURRENT_STATUS_CANNOT_OPERATE','setInterval','stage','save','getSkeleton','roomMembers$','_handleLeaveEvent','PAYMENT_CHANNEL_NOT_SUPPORT','collab-text-anchor-','endColumn','font','ALREADY_EXISTS','ONLINE','defineProperty','MOBILE_HAS_BEEN_BOUND','_unitOnClients','HEADER_MENU','ENTITLE_DUP_SUBSCRIPTION','isEditing','getCollabEntity$','startsWith','onPointerMove$','_handleJoinEvent','backgroundColor','_collaborationUIEventService','push','_init','selections','RemoveColCommandId','_initEvent','JOIN_ROOM_FAILED','collaboration.single-unit.warning','EMAIL_HAS_BEEN_BOUND','_render','_color','measureText','_syncEditingCollabCursorService','_commandService','values','data','requireSession','_transformPreviousActiveRange','_clearPolling','assignAColorForMemberID','LOGIN_FAILED','black','entityInit$','findNodePositionByCharIndex','_entityInit$','toString','YUUMI_SUBSCRIPTION_NOT_FOUND','getCurrentUnitForType','_setupBeforeClosingHandler','dispose$','getConfig','getVpScrollXYInfoByPosToVp','_config','INVITE_CODE_ALREADY_BOUND','_setupSubUnitSync','displayName','_scene','_getAnchorBounding','children','_renderManagerService','getDocRanges','_getSheetObject','assign','_colorIndex','USER_NOT_INVITED_CODE','_initDependencies','getActiveSheet','attrs','_labelPosition','CLOSE_ROOM','asObservable','none','evenodd','DeleteRangeMoveLeftCommandId','application/json','UNRECOGNIZED','key','onStarting','17asFloy','Warning','UNIVER_SHEET','_drawTextRange','_heartbeatTimer','_registerDependencies','_colorAssignService','purple.300','_dataLoaderService','_backgroundColor','_disabled','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','color','getCellPositionByOffset','onRendered','limitInfo','substring','_collabCursorState$','eventID','unit','onPointerLeave$','newValue','_updateSubUnitFromURLParams','yellow.400','name','beginPath','hovered','APPLY_REVISION_CONFILICT','_registerRenderDependencies','_updateLocalCursor','setStateCache','_initUserListener','session.collaboration-timeout','transformMutationsWithChangeset','getMemberID','setItem','_uiPartsService','_startCalculationLimit','saveTaskMap','stack','loadOfflineData','_messageService','_context','url(#$1','PY_RUNTIME_SCRIPT_ERROR','error','random','_assignedColors','pipe','_initResize','_saveCache','INVITE_CODE_HAS_BEEN_UES','maxFormulaLimit','_monkeyPatchLogService','_drawRectRange','_notificationService','moveTo','event$','_collaborationSessionService','getUnitId','invokeId','post','univerjs-icon\x20univerjs-icon-','engine','shift','url(#on-line-icon_clip0_910_349)','VIEW_MAIN','UPDATE_CURSOR','OTHER_CLIENTS_EDITING','all','_anchor','getRelativeToViewportCoord','_memberID','unitId','getTypeOfUnitAdded$','_applyCommand','currentUsage','_handleEvent','fillStyle','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','exhaustSavingTask','getformulaLimitStatusUrl','_id','INVALID_ARGUMENT','imageSourceType','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','79848MItGVJ','2535660oYkxjg','removeParam','catch','replaceState','_taskIds','releaseFormulaLimitUrl','ACTIVE_UNIT_EVENT_CHANNEL','dispose','_shapes','formula.calculation.started','TOO_MANY_REQUESTS','9510330MmEWFU','trim','selection','svg','add','transformSelections','status$','clearInterval','collaboration-client-ui.config','_cursor','defIds','fillText','_lastResponseTimestamp','set','string','_roomMembers$','_toggleOffline','next','getCellMatrix','8JeksLP','currentColor','getUnitStatus$','on-line-icon_clip0_910_349','getOwnPropertyDescriptor','_localStorageService','_getMergeRange','getStateCache','getUniverSheetInstance','arc','actions','textRanges','getSheetId','type','_drawAnchor','green.600','2533244UaoyoP','_startSheetCollabCursor','_checkAndWaitForCalculationPermission','getRenderById','_revisionService','REDEMPTION_INVALID_CODE','[Unhandled\x20Rejection]:\x20','collaboration-client.offline-data-not-saved','AWAITING','subunit','currentTheme$','_transformUndoRedoStack','enableFrontendLog','send','location','APPLY_REJECT','override','get','subscribe','NOT_COLLAB','_sheetSkeletonManagerService','dirtyRanges','YUUMI_TABLE_NOT_FOUND_IN_UNIT','redoState','deepClone','has','_lastPointer','filename','Failed','startFormulaLimitUrl','setActiveRange','InsertColCommandId','_cursors','_entities','M0\x200H16V16H0z','debug','split','_injector','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','width','toRgbString','setShapeProps','_configService','_docTransformIMECacheService','_httpService','unitID','_hovered','_setFormulaLimitStatus','_initUnhandledRejectionListener','whenReady','currentSkeleton$','size','stringify','round','Loading','collabStatus.synced','_range','focused$','forEach','delete','colorChannel1','idSuffix','MUTATION','fillRule','_themeService','LICENSE_MAX_UNITS_EXCEEDED','_onRefRangeChange','YUUMI_RATE_OVER_LIMIT','1438470wXBDsW','sessionStatus$','translate(.97)','ENTITLE_NEED_BILLING_ADDRESS','_getFormulaLimitStatus','addEventListener','_onCursorDelete','blue.400','with','body','collabStatus.conflict','INVITE_CODE_REQUIRED','4jtOEjx','addHandlerCallback','0\x200\x2017\x2016','ENSURE_SNAPSHOT_EXECUTION','UniverIcon','bottom','SOCKET_FAILED_RETRY','_initStatusListener','disableLocalCache','_handleHeartbeatEvent','SUBMIT_CHANGESET_TIMEOUT','_urlService','createInstance','_collaborationController','runId','registerRenderModule','YUUMI_ALL_TABLES_IS_INVALID','UNIVER_DOC','isArray','getAncestorScale','http://www.w3.org/2000/svg','_getSaveTimeout','xlink:href','_saveTaskMap','loadUnit','off-line-icon_clip0_910_343','LICENSE_IMPORT_SIZE_EXCEEDED','colno','LOGIN_TOKEN_PROCESSING_FAILED','rgba(255,\x20255,\x20255,\x200.01)','some','collaboration.closeRoom','origin','_hover','_name','_updateCollabCursors','_handleHover','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','MOBILE_VERIFY_CODE_MISMATCH','includes','_cursorInfo$','flatMap','REDEMPTION_CODE_NOT_STARTED','_anchorDot'];_0x5658=function(){return _0x20e3f8;};return _0x5658();}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 _0x4cb6a4=_0x3956;(function(_0x5df1f9,_0x10fb07){const _0x2a5459=_0x3956,_0x2b5a6b=_0x5df1f9();while(!![]){try{const _0x36edbc=-parseInt(_0x2a5459(0x115))/0x1+-parseInt(_0x2a5459(0x105))/0x2+parseInt(_0x2a5459(0x2e8))/0x3+parseInt(_0x2a5459(0x1fa))/0x4*(parseInt(_0x2a5459(0x30c))/0x5)+parseInt(_0x2a5459(0x284))/0x6*(parseInt(_0x2a5459(0x1d7))/0x7)+parseInt(_0x2a5459(0xe2))/0x8+-parseInt(_0x2a5459(0x248))/0x9;if(_0x36edbc===_0x10fb07)break;else _0x2b5a6b['push'](_0x2b5a6b['shift']());}catch(_0x28cef4){_0x2b5a6b['push'](_0x2b5a6b['shift']());}}}(_0x19b9,0x4675d));var Yt=Object['defineProperty'],Wt=(_0x568105,_0x4a5d75,_0x1a29d5)=>_0x4a5d75 in _0x568105?Yt(_0x568105,_0x4a5d75,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1a29d5}):_0x568105[_0x4a5d75]=_0x1a29d5,_=(_0x1c175f,_0x42518b,_0x5ef60c)=>Wt(_0x1c175f,typeof _0x42518b!=_0x4cb6a4(0x21d)?_0x42518b+'':_0x42518b,_0x5ef60c);import{jsx as _0x583146,jsxs as _0x33104b}from'react/jsx-runtime';import{CollaborationStatus as _0x355c0f,CollaborationSessionService as _0x225480,CollaborationController as _0x2a0946,DataLoaderService as _0x429736,MemberService as _0xc5b845,SessionStatus as _0x2c90eb,ILocalCacheService as _0xa76635,CollaborationUIEventService as _0x1527da,CollaborationUIEventId as _0x684afe,DocCollaborationEntity as _0x3c7015,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x588807,getLocalCacheKey as _0x369636,LOCAL_CACHE_INTERVAL as _0x4d3f49,LOCAL_CACHE_INTERVAL_KEY as _0x5c878d,UniverCollaborationClientPlugin as _0x296643,CollaborationSocketService as _0x34b517,DEFAULT_WS_SESSION_TICKET_URL as _0x39fb0c,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x24ab76,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0xc9a869,UnitStatus as _0x5cb507}from'@univerjs-pro/collaboration-client';import{LocaleService as _0xdd2fc6,IUniverInstanceService as _0x14cde1,Inject as _0x460697,Injector as _0x307bfd,Disposable as _0x4bd602,createIdentifier as _0x468ed3,ILogService as _0x21d8d8,ICommandService as _0x29d21c,Optional as _0x54767c,RxDisposable as _0x387d07,Workbook as _0x2965ea,DOC_RANGE_TYPE as _0x33369f,debounce as _0x357798,Rectangle as _0x520fac,DisposableCollection as _0x4dfaa7,toDisposable as _0xb8c0,UniverInstanceType as _0xaccedf,generateRandomId as _0x3bf90d,COLORS as _0x4887fc,ColorKit as _0x3db1df,ThemeService as _0x286aec,fromEventSubject as _0x5c84a5,Tools as _0x3843dc,CommandType as _0x735f71,IConfigService as _0x5f0f68,CanceledError as _0x3e478b,isFormulaString as _0x49453e,isFormulaId as _0xd29c8b,ILocalStorageService as _0x51c183,DependentOn as _0x53ddfc,Plugin as _0x28da11,merge as _0xa68d8e,registerDependencies as _0x26af39,mergeOverrideWithDependencies as _0x3aa7dc,touchDependencies as _0x234a72}from'@univerjs/core';import{useObservable as _0x154663,useDependency as _0x1819c6,IUIPartsService as _0x559a46,BuiltInUIPart as _0x57eedd,connectInjector as _0x232495,IBeforeCloseService as _0x40a478,IMessageService as _0x6f3ae,INotificationService as _0xe8a5c1}from'@univerjs/ui';import{BehaviorSubject as _0x5e0fc0,switchMap as _0x2411b6,of as _0xd3f9fe,takeUntil as _0x47dffc,debounceTime as _0x4e852b,Subject as _0x45098e,filter as _0xbd2e46,merge as _0xf48905,combineLatest as _0x18e034,fromEvent as _0x2fef3d,shareReplay as _0x6d9b4a,mapTo as _0x583303,distinctUntilChanged as _0x3c4859}from'rxjs';import{Tooltip as _0x2b52de,clsx as _0x4b9bc7,MessageType as _0x319fef}from'@univerjs/design';import{useRef as _0x11e373,createElement as _0x54d1e5,forwardRef as _0x4946ed,useCallback as _0x172ae6}from'react';import{IRemoteInstanceService as _0x14d32d}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x15f818,RefRangeService as _0x5cb60d,SetSelectionsOperation as _0x387c8e,SheetsSelectionsService as _0x3e5f4d,EffectRefRangId as _0x2319c3,handleIRemoveRow as _0x53f6fa,handleIRemoveCol as _0x30f4f8,handleMoveRange as _0x83a2ba,handleInsertRow as _0x1830b5,handleInsertRangeMoveRight as _0xa4f916,handleInsertRangeMoveDown as _0x2ea622,handleInsertCol as _0x513924,handleDeleteRangeMoveUp as _0x1dc24c,handleDeleteRangeMoveLeft as _0x2487a0,runRefRangeMutations as _0x848d32}from'@univerjs/sheets';import{Shape as _0x18811c,Rect as _0x30b3bc,getColor as _0x3dd5c1,RegularPolygon as _0x4ac39,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0xd38e99,Vector2 as _0x224b9a,SHEET_VIEWPORT_KEY as _0x12a7e5,IRenderManagerService as _0x591858}from'@univerjs/engine-render';import{HTTPService as _0x3f1253,ISocketService as _0x23856e,WebSocketService as _0x990071}from'@univerjs/network';import{IDocClipboardService as _0x158ff7,NodePositionConvertToCursor as _0x14f0d6,NodePositionConvertToRectRange as _0x179d08,TEXT_RANGE_LAYER_INDEX as _0x536f28,SetDocZoomRatioOperation as _0x4fc292,DocIMEInputManagerService as _0x3fcd4a,DocStateChangeManagerService as _0xdeb5eb}from'@univerjs/docs-ui';import{IImageIoService as _0x4fdb60}from'@univerjs/drawing';import{ITransformService as _0x480862,CollaborationEvent as _0x4c5b2c,isTransformMutationFailure as _0x36a568,isTransformMutationsWithChangesetSuccess as _0x3a7478,RevisionService as _0xb9acf4,ISnapshotServerService as _0x431961}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x333954,RichTextEditingMutation as _0x1bbb72,DocSelectionManagerService as _0xee7088,DocSkeletonManagerService as _0x3c907e}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x298d49,serializeRangeWithSheet as _0x3ea7cf,FormulaExecuteStageType as _0x21866a,FormulaExecutedStateType as _0xbfb00a,SetFormulaCalculationStartMutation as _0x52ebd9,SetFormulaCalculationNotificationMutation as _0x5a9abe}from'@univerjs/engine-formula';import{map as _0x7f84b9,filter as _0x6356d3,throttleTime as _0x457313,takeUntil as _0x3f1e44,switchMap as _0x1d66f6}from'rxjs/operators';import{SheetSkeletonManagerService as _0x532b10,getCoordByCell as _0x500f41,getSheetObject as _0x54d3b3}from'@univerjs/sheets-ui';function Ge({ref:_0x4811a2,..._0x2831b7}){const _0x2b2824=_0x4cb6a4,{icon:_0xb7cd2a,id:_0xd1f464,className:_0x1d6aa8,extend:_0x542b85,..._0x4bb2ca}=_0x2831b7,_0x1c4aac=(_0x2b2824(0x16c)+_0xd1f464+'\x20'+(_0x1d6aa8||''))['trim'](),_0x31eb10=_0x11e373('_'+vi());return At(_0xb7cd2a,''+_0xd1f464,{'defIds':_0xb7cd2a[_0x2b2824(0x114)],'idSuffix':_0x31eb10[_0x2b2824(0x1f5)]},{'ref':_0x4811a2,'className':_0x1c4aac,..._0x4bb2ca},_0x542b85);}function At(_0x425b40,_0x5d4949,_0xb64fc4,_0xd31a79,_0x4d3fd9){const _0x50ffc0=_0x4cb6a4;return _0x54d1e5(_0x425b40[_0x50ffc0(0x116)],{'key':_0x5d4949,...gi(_0x425b40,_0xb64fc4,_0x4d3fd9),..._0xd31a79},(Ei(_0x425b40,_0xb64fc4)[_0x50ffc0(0x2ed)]||[])[_0x50ffc0(0xf4)]((_0x4a845b,_0x5f5326)=>At(_0x4a845b,_0x5d4949+'-'+_0x425b40['tag']+'-'+_0x5f5326,_0xb64fc4,void 0x0,_0x4d3fd9)));}function gi(_0xc4f06e,_0xfe53bc,_0x57dd55){const _0x450e4f=_0x4cb6a4,_0x47e93a={..._0xc4f06e['attrs']};_0x57dd55!=null&&_0x57dd55['colorChannel1']&&_0x47e93a[_0x450e4f(0x22b)]===_0x450e4f(0x164)&&(_0x47e93a[_0x450e4f(0x22b)]=_0x57dd55[_0x450e4f(0x164)]),_0xc4f06e[_0x450e4f(0x116)]===_0x450e4f(0x271)&&_0x47e93a['id']&&(_0x47e93a['id']=_0x47e93a['id']+_0xfe53bc[_0x450e4f(0xed)]),Object[_0x450e4f(0xf2)](_0x47e93a)[_0x450e4f(0xea)](([_0x373654,_0x273ed6])=>{const _0x4427=_0x450e4f;_0x373654===_0x4427(0x271)&&typeof _0x273ed6==_0x4427(0x25c)&&(_0x47e93a[_0x373654]=_0x273ed6[_0x4427(0x297)](/url\(#(.*)\)/,_0x4427(0x25e)+_0xfe53bc[_0x4427(0xed)]+')'));});const {defIds:_0x56935c}=_0xfe53bc;return!_0x56935c||_0x56935c[_0x450e4f(0x179)]===0x0||(_0xc4f06e[_0x450e4f(0x116)]===_0x450e4f(0x1b6)&&_0x47e93a[_0x450e4f(0x2c9)]&&(_0x47e93a[_0x450e4f(0x2c9)]=_0x47e93a[_0x450e4f(0x2c9)]+_0xfe53bc[_0x450e4f(0xed)]),Object[_0x450e4f(0xf2)](_0x47e93a)[_0x450e4f(0xea)](([_0x1a35b6,_0x2eece8])=>{const _0x5224af=_0x450e4f;typeof _0x2eece8==_0x5224af(0x25c)&&(_0x47e93a[_0x1a35b6]=_0x2eece8['replace'](/url\(#(.*)\)/,'url(#$1'+_0xfe53bc['idSuffix']+')'));})),_0x47e93a;}function Ei(_0x21bba8,_0x5590de){const _0x39164c=_0x4cb6a4;var _0x1ee7db;const {defIds:_0x5ab1ee}=_0x5590de;return!_0x5ab1ee||_0x5ab1ee[_0x39164c(0x179)]===0x0?_0x21bba8:_0x21bba8['tag']===_0x39164c(0x1f3)&&((_0x1ee7db=_0x21bba8['children'])!=null&&_0x1ee7db[_0x39164c(0x179)])?{..._0x21bba8,'children':_0x21bba8[_0x39164c(0x2ed)][_0x39164c(0xf4)](_0x1dd757=>typeof _0x1dd757[_0x39164c(0x185)]['id']==_0x39164c(0x25c)&&_0x5ab1ee&&_0x5ab1ee[_0x39164c(0x172)](_0x1dd757[_0x39164c(0x185)]['id'])?{..._0x1dd757,'attrs':{..._0x1dd757[_0x39164c(0x185)],'id':_0x1dd757[_0x39164c(0x185)]['id']+_0x5590de['idSuffix']}}:_0x1dd757)}:_0x21bba8;}function vi(){const _0x3d9b25=_0x4cb6a4;return Math[_0x3d9b25(0x289)]()[_0x3d9b25(0x145)](0x24)[_0x3d9b25(0x20b)](0x2,0x8);}Ge['displayName']=_0x4cb6a4(0x296);const pi={'tag':_0x4cb6a4(0x183),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4cb6a4(0x28e),'viewBox':_0x4cb6a4(0x2dd),'width':'1em','height':_0x4cb6a4(0x100)},'children':[{'tag':'g','attrs':{'clipPath':_0x4cb6a4(0x19f)},'children':[{'tag':'path','attrs':{'stroke':_0x4cb6a4(0x2bd),'d':_0x4cb6a4(0x22c),'strokeLinecap':'round','strokeLinejoin':_0x4cb6a4(0xb8),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x4cb6a4(0x1e3),'attrs':{'id':_0x4cb6a4(0x305)},'children':[{'tag':_0x4cb6a4(0x240),'attrs':{'fill':_0x4cb6a4(0x17c),'d':_0x4cb6a4(0x12e)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},Pt=_0x4946ed(function(_0x5bd38f,_0x12b987){const _0x2b59fd=_0x4cb6a4;return _0x54d1e5(Ge,Object['assign']({},_0x5bd38f,{'id':_0x2b59fd(0x298),'ref':_0x12b987,'icon':pi}));});Pt[_0x4cb6a4(0xc5)]='OffLineIcon';const Oi={'tag':_0x4cb6a4(0x183),'attrs':{'xmlns':_0x4cb6a4(0x25b),'fill':_0x4cb6a4(0x28e),'viewBox':_0x4cb6a4(0x178),'width':_0x4cb6a4(0x100),'height':_0x4cb6a4(0x100)},'children':[{'tag':'g','attrs':{'clipPath':_0x4cb6a4(0x29f)},'children':[{'tag':_0x4cb6a4(0x240),'attrs':{'stroke':_0x4cb6a4(0x2bd),'d':_0x4cb6a4(0x131),'strokeLinecap':_0x4cb6a4(0xb8),'strokeLinejoin':_0x4cb6a4(0xb8),'strokeWidth':1.2}}]},{'tag':_0x4cb6a4(0x1f3),'attrs':{},'children':[{'tag':_0x4cb6a4(0x1e3),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x4cb6a4(0x12e),'transform':_0x4cb6a4(0x13c)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},wt=_0x4946ed(function(_0x3f8b75,_0x33c5be){const _0x361e70=_0x4cb6a4;return _0x54d1e5(Ge,Object[_0x361e70(0x1f8)]({},_0x3f8b75,{'id':_0x361e70(0x2df),'ref':_0x33c5be,'icon':Oi}));});wt[_0x4cb6a4(0xc5)]=_0x4cb6a4(0x23f);function Ti(_0x33d0cb){const _0x53435d=_0x4cb6a4;switch(_0x33d0cb){case _0x355c0f[_0x53435d(0x24c)]:return'collabStatus.offline';case _0x355c0f[_0x53435d(0x306)]:return _0x53435d(0x118);case _0x355c0f[_0x53435d(0x225)]:return'collabStatus.fetchMiss';case _0x355c0f[_0x53435d(0x1af)]:return _0x53435d(0xe6);case _0x355c0f[_0x53435d(0xf6)]:case _0x355c0f[_0x53435d(0x1ae)]:return _0x53435d(0x2d4);case _0x355c0f[_0x53435d(0x236)]:case _0x355c0f[_0x53435d(0x21e)]:return'collabStatus.synced';}}function Ci(_0x4fa50d){const _0x1a8cd2=_0x4cb6a4,{status$:_0x1ade08}=_0x4fa50d,_0x1dd387=_0x154663(_0x1ade08,_0x355c0f[_0x1a8cd2(0x1af)]),_0x2c887a=_0x1819c6(_0xdd2fc6),_0x185db1=_0x1819c6(_0x225480),_0x526a61=_0x1dd387!==_0x355c0f[_0x1a8cd2(0x24c)],_0x2766a0=_0x2c887a['t'](Ti(_0x1dd387)),_0x347451=_0x526a61?_0x583146(wt,{}):_0x583146(Pt,{}),_0x3c5a92=_0x172ae6(()=>{const _0x46e01c=_0x1a8cd2;_0x526a61||_0x185db1[_0x46e01c(0x212)]();},[_0x526a61,_0x185db1]);function _0xec0396(){const _0x50ff82=_0x1a8cd2;return _0x33104b('div',{'className':_0x50ff82(0x108),'onClick':_0x3c5a92,'children':[_0x583146(_0x50ff82(0x2e4),{'className':_0x4b9bc7('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x526a61,'univer-text-red-500':!_0x526a61}),'children':_0x347451}),_0x583146(_0x50ff82(0x2e4),{'className':_0x50ff82(0x20c),'children':_0x2766a0})]});}return _0x526a61?_0xec0396():_0x583146(_0x2b52de,{'title':_0x2c887a['t'](_0x1a8cd2(0x2b3)),'children':_0xec0396()});}var Ri=Object[_0x4cb6a4(0x1ed)],Di=(_0x5c1e9d,_0x36139c,_0x5e20d8,_0x1c71a4)=>{const _0x2f92f6=_0x4cb6a4;for(var _0x38d3fb=_0x1c71a4>0x1?void 0x0:_0x1c71a4?Ri(_0x36139c,_0x5e20d8):_0x36139c,_0x27d76e=_0x5c1e9d[_0x2f92f6(0x179)]-0x1,_0x5e123f;_0x27d76e>=0x0;_0x27d76e--)(_0x5e123f=_0x5c1e9d[_0x27d76e])&&(_0x38d3fb=_0x5e123f(_0x38d3fb)||_0x38d3fb);return _0x38d3fb;},se=(_0x43cbaa,_0x1e09bd)=>(_0x44ddc9,_0x2e893d)=>_0x1e09bd(_0x44ddc9,_0x2e893d,_0x43cbaa);let ae=class extends _0x4bd602{constructor(_0x89a1a8,_0x3e6568,_0x2f16c8,_0x1647f8){const _0x10ac79=_0x4cb6a4;super(),_(this,_0x10ac79(0x2ba),new _0x5e0fc0(_0x355c0f[_0x10ac79(0x1af)])),(this['_univerInstanceService']=_0x89a1a8,this[_0x10ac79(0x14d)]=_0x3e6568,this[_0x10ac79(0x149)]=_0x2f16c8,this[_0x10ac79(0x10b)]=_0x1647f8,this[_0x10ac79(0x1c1)](),this[_0x10ac79(0xff)]());}[_0x4cb6a4(0xff)](){const _0x3908b6=_0x4cb6a4;this[_0x3908b6(0x1b2)](this[_0x3908b6(0x168)][_0x3908b6(0x2a8)][_0x3908b6(0xcd)](_0x2411b6(()=>{const _0x1c2015=_0x3908b6,_0x33e771=this['_univerInstanceService'][_0x1c2015(0x107)]();return _0x33e771?this['_collaborationController'][_0x1c2015(0x1d0)](_0x33e771[_0x1c2015(0x2d8)]()):_0xd3f9fe(null);}),_0x2411b6(_0x4a45da=>_0x4a45da?_0x4a45da['status$']:_0xd3f9fe(_0x355c0f[_0x3908b6(0x1af)])))[_0x3908b6(0x13b)](_0x40cbf6=>{const _0x2c1bd5=_0x3908b6;this[_0x2c1bd5(0x2ba)][_0x2c1bd5(0x30d)](_0x40cbf6);}));}[_0x4cb6a4(0x1c1)](){const _0x12c353=_0x4cb6a4;this['disposeWithMe'](this[_0x12c353(0x10b)][_0x12c353(0x199)](_0x57eedd[_0x12c353(0x24d)],()=>_0x232495(Ni({'status$':this[_0x12c353(0x2ba)][_0x12c353(0x1a7)]()}),this['_injector'])));}};ae=Di([se(0x0,_0x14cde1),se(0x1,_0x460697(_0x307bfd)),se(0x2,_0x460697(_0x2a0946)),se(0x3,_0x559a46)],ae);function Ni(_0xbb85b2){const {status$:_0x177d3b}=_0xbb85b2;return function(){return _0x583146(Ci,{'status$':_0x177d3b});};}const yt=_0x468ed3('uni.network.url-service');var bi=Object[_0x4cb6a4(0x1ed)],Li=(_0x251e13,_0x1c143e,_0x248d42,_0x177593)=>{const _0x4bcf12=_0x4cb6a4;for(var _0x18016f=_0x177593>0x1?void 0x0:_0x177593?bi(_0x1c143e,_0x248d42):_0x1c143e,_0x165246=_0x251e13[_0x4bcf12(0x179)]-0x1,_0x1ff1da;_0x165246>=0x0;_0x165246--)(_0x1ff1da=_0x251e13[_0x165246])&&(_0x18016f=_0x1ff1da(_0x18016f)||_0x18016f);return _0x18016f;},K=(_0xd1c5,_0xa80230)=>(_0x561def,_0x277a97)=>_0xa80230(_0x561def,_0x277a97,_0xd1c5);let ce=class extends _0x387d07{constructor(_0x511d8a,_0x22ccf0,_0x59eca9,_0x15d6c5,_0x37ee15){const _0x49b538=_0x4cb6a4;super(),this[_0x49b538(0x2f4)]=_0x511d8a,this['_logService']=_0x22ccf0,this[_0x49b538(0x259)]=_0x59eca9,this[_0x49b538(0x213)]=_0x15d6c5,_0x37ee15?_0x37ee15==null||_0x37ee15[_0x49b538(0x1b0)]()[_0x49b538(0xc0)](()=>this[_0x49b538(0x2ce)]()):(this['_logService'][_0x49b538(0x211)](_0x49b538(0x304),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x4cb6a4(0x2ce)](){const _0x44ea67=_0x4cb6a4,_0x1279d8=this['_urlService'][_0x44ea67(0x1cc)](_0x44ea67(0x1e6)),_0x5bc7cb=this[_0x44ea67(0x2f4)][_0x44ea67(0x1cc)](_0x44ea67(0x17e)),_0x50f615=this['_urlService'][_0x44ea67(0x1cc)](_0x44ea67(0x1eb));if(!_0x1279d8||!_0x5bc7cb){this[_0x44ea67(0x2d0)]['debug']('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x46f59e=await this['_dataLoaderService'][_0x44ea67(0x27b)](_0x1279d8,Number(_0x5bc7cb),_0x50f615);_0x46f59e&&_0x46f59e instanceof _0x2965ea&&this[_0x44ea67(0x104)](_0x46f59e);}async['_setupSubUnitSync'](_0x17aca7){const _0x5f6674=_0x4cb6a4;await this[_0x5f6674(0x290)](_0x17aca7),_0x17aca7[_0x5f6674(0x203)][_0x5f6674(0xcd)](_0x47dffc(this[_0x5f6674(0x165)]))[_0x5f6674(0x13b)](_0xd83f16=>{const _0x4267f0=_0x5f6674;_0xd83f16&&this[_0x4267f0(0x2f1)](_0xd83f16);}),this[_0x5f6674(0x2f4)]['urlChange$'][_0x5f6674(0xcd)](_0x47dffc(this[_0x5f6674(0x165)]))['subscribe'](()=>this[_0x5f6674(0x290)](_0x17aca7));}[_0x4cb6a4(0x2f1)](_0x403fcb,_0x12f918=!0x1){const _0x284b7b=_0x4cb6a4,_0x40d38c=this[_0x284b7b(0x2f4)]['getParam']('subunit');_0x403fcb[_0x284b7b(0xde)]()!==_0x40d38c&&this[_0x284b7b(0x2f4)][_0x284b7b(0x299)](_0x284b7b(0x1eb),_0x403fcb[_0x284b7b(0xde)](),_0x12f918);}async[_0x4cb6a4(0x290)](_0x1bf3ea){const _0x56f81d=_0x4cb6a4;var _0x59738a;const _0xd238ed=this[_0x56f81d(0x2f4)][_0x56f81d(0x1cc)](_0x56f81d(0x1eb));if(!_0xd238ed||!_0x1bf3ea['getSheetBySheetId'](_0xd238ed)){const _0x5c982a=_0x1bf3ea[_0x56f81d(0x1da)]()[0x0],_0x26c9fc=_0x1bf3ea['getSheetBySheetId'](_0x5c982a);if(!_0x26c9fc)return;this[_0x56f81d(0x2f1)](_0x26c9fc,!0x0),await this[_0x56f81d(0x259)][_0x56f81d(0x200)](_0x15f818['id'],{'unitId':_0x1bf3ea[_0x56f81d(0x2d8)](),'subUnitId':_0x5c982a});return;}((_0x59738a=_0x1bf3ea[_0x56f81d(0x222)]())==null?void 0x0:_0x59738a[_0x56f81d(0xde)]())!==_0xd238ed&&await this[_0x56f81d(0x259)][_0x56f81d(0x200)](_0x15f818['id'],{'unitId':_0x1bf3ea[_0x56f81d(0x2d8)](),'subUnitId':_0xd238ed});}};ce=Li([K(0x0,yt),K(0x1,_0x21d8d8),K(0x2,_0x29d21c),K(0x3,_0x460697(_0x429736)),K(0x4,_0x54767c(_0x14d32d))],ce);var Ui=Object['getOwnPropertyDescriptor'],Mi=(_0x28c743,_0x137d88,_0xab76e,_0x41a1f6)=>{const _0x51cda7=_0x4cb6a4;for(var _0x32c133=_0x41a1f6>0x1?void 0x0:_0x41a1f6?Ui(_0x137d88,_0xab76e):_0x137d88,_0xde98e8=_0x28c743[_0x51cda7(0x179)]-0x1,_0x1cc0d6;_0xde98e8>=0x0;_0xde98e8--)(_0x1cc0d6=_0x28c743[_0xde98e8])&&(_0x32c133=_0x1cc0d6(_0x32c133)||_0x32c133);return _0x32c133;},rt=(_0x4aa122,_0x1e34dc)=>(_0x520782,_0x193a80)=>_0x1e34dc(_0x520782,_0x193a80,_0x4aa122);let $e=class extends _0x387d07{constructor(_0x3844f1,_0x175886){const _0x256d92=_0x4cb6a4;super(),this[_0x256d92(0x148)]=_0x3844f1,this[_0x256d92(0xd7)]=_0x175886,this['_init']();}['_init'](){const _0x17497e=_0x4cb6a4,_0x431ab1=this;this[_0x17497e(0x1b2)](this['_docClipboardService'][_0x17497e(0x1c3)]({'onBeforePasteImage':async _0x50b00d=>{const _0x125764=_0x17497e,_0xef599d=await _0x431ab1[_0x125764(0xd7)][_0x125764(0x167)](_0x50b00d);return _0xef599d?{'source':_0xef599d[_0x125764(0x270)],'imageSourceType':_0xef599d[_0x125764(0x252)]}:null;}}));}};$e=Mi([rt(0x0,_0x158ff7),rt(0x1,_0x4fdb60)],$e);const ot=[_0x4cb6a4(0xd0),'jiqing.500',_0x4cb6a4(0x1a8),_0x4cb6a4(0xe0),_0x4cb6a4(0x30e),_0x4cb6a4(0xe3)];function _0x19b9(){const _0x4f74ce=['APPLY_DUPLICATED','_registerDependencies','_injector','getAncestorScale','reason','/universer-api/license/formula/limit/done','toRgbString','permission.title','rgba(255,\x20255,\x20255,\x200.01)','_colorAssignService','onPointerEnter$','_hasFormulaInDirtyRanges','_toggleOffline','_cachedData','getMemberID','lineTo','setStateCache','_saveCache','_collabCursorController','textRanges','transformRemoteChangeset','_updateCollabCursors','collaboration-client-ui.config','_checkCalculationAvailable','push','colorChannel1','dispose$','#FFF','saveImage','_univerInstanceService','onCommandExecuted','setAlpha','CHANGESET_REVISION_CONFILICT','univerjs-icon\x20univerjs-icon-','INVALID_INVITE_CODE','skeleton','EMAIL_VERIFY_CODE_MISMATCH','_labelPosition','UNRECOGNIZED','includes','MoveRangeCommandId','session.will-retry','EMAIL_HAS_BEEN_BOUND','_scheduleClearOtherTimer','[Window\x20Error]:\x20','0\x200\x2017\x2016','length','now','split','white','getMember','type','dispose','_getSaveTimeout','stringify','getConfig','svg','_render','attrs','contains','set','/universer-api/license/formula/limit/start','_initResize','memberID','data','exhaustSavingTask','transformMutationsWithChangeset','LOGIN_TOKEN_PROCESSING_FAILED','permission.content','getDocRanges','_docSkeletonManagerService','REDEMPTION_CODE_INACTIVE','filename','/universer-api/license/formula/limit/status','_drawRectRange','getSkeleton','lineno','_hover','registerComponent','black','_handleEvent','_renderManagerService','_instanceService','onMouseMove','url(#off-line-icon_clip0_910_343)','doc.mutation.rich-text-editing','MOBILE_VERIFY_CODE_MISMATCH','YUUMI_ASYNCIO_CANCELLED','_pollingInterval','_name','complete','_config','asObservable','green.600','MOBILE_HAS_BEEN_BOUND','drawWith','ENSURE_SNAPSHOT_EXECUTION','_onCursorDelete','fillRule','AWAITING_WITH_PENDING','NOT_COLLAB','whenReady','_entityInit$','disposeWithMe','_getAnchorBounding','actions','_scheduleHeartbeat','use','FromArray','beginPath','getUniverSheetInstance','subUnitId','send','TOO_MANY_REQUESTS','ENTITLE_CAN_NOT_BUY_LOWER_OTP','saveOfflineData','addObjects','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_initStatusComponent','_cursorInfo$','addClipboardHook','YUUMI_SUBSCRIPTION_NOT_FOUND','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','APPLY_PERMISSION_DENIED','getActiveRange','startFormulaLimitUrl','height','_anchorDot','_removeClearOtherTimer','getParam','_startDocCollabCursor','RECT','deepClone','getCollabEntity$','_localStorageService','stage','YUUMI_NO_CUBOID_FOR_QUESTION','requireSession','_collaborationUIEventService','ERROR_AGAIN','1298577jftLcg','AUTHORIZE_CODE_ILLEGAL','isEditing','getUnhiddenWorksheets','_collaborationSessionService','removeEventListener','_getSheetObject','urlChange$','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','restore','getStateCache','collab-text-anchor-','clipPath','unload','CURRENT_STATUS_CANNOT_OPERATE','unit','createInstance','SOCKET_FAILED','_lastPointer','_collabSessionService','subunit','?taskId=','getOwnPropertyDescriptor','NO_OTHER_CLIENTS_EDITING','_docTransformStateCacheService','parseInt','_httpService','USER_NOT_INVITED_CODE','defs','REDEMPTION_CODE_FULLY_REDEEMED','current','LICENSE_DISTRO_REJECTED','YUUMI_AI_RUN_FAILED','assign','ranges','1632HSzmAn','backgroundColor','enableFrontendLog','_refRangeService','REDEMPTION_INVALID_CODE','params','executeCommand','_docTransformSelectionsService','PAYMENT_CHANNEL_NOT_SUPPORT','activeSheet$','from','add','currentSkeleton$','bottom','undoState','setInterval','replaceState','substring','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','Error','collaboration.offline-data-not-saved','width','saveTaskMap','debug','reconnect','_dataLoaderService','_getSessionTicket','colno','bind','color','getSheetBySheetId','size','getVpScrollXYInfoByPosToVp','SUBMIT_CHANGESET_TIMEOUT','_updateLocalCursor','symbol','PENDING','_color','delete','getTypeOfUnitAdded$','getActiveSheet','mutations','_initDependencies','FETCH_MISS','getCurrentRevOfUnit','_draw','ACTIVE_UNIT_EVENT_CHANNEL','USER_IS_ANONYMOUS','sheetId','fill','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','ENTITLE_INVALID_COUPON_CODE','isArray','YUUMI_URL_COL_OUT_OF_RANGE','_applyCommand','CONNECTOR_DATA_TOO_LARGE','USER_NOT_FOUND','APPLY_REVISION_CONFILICT','_disabled','_online','SYNCED','location','setTimeout','_sheetSkeletonManagerService','ENTITLE_DUP_SUBSCRIPTION','setShapeProps','_cursors','APPLY_NON_SEQUENTIAL_REVISION','fillText','OnLineIcon','path','unsubscribe','get','_unitOnClients','ENTITLE_NEED_BILLING_ADDRESS','runId','some','text','425205zMLMnW','addObject','_getScale','selection','OFFLINE','HEADER_MENU','_range','_clearPolling','NOT_FOUND','_docSkeleton','imageSourceType','invokeId','entityInit$','onStarting','START_CALCULATION','ENTITLE_REPORT_LIMIT_EXCEED','addEventListener','_commandService','_createSocketURL','http://www.w3.org/2000/svg','string','parse','url(#$1','defineProperty','_releaseCalculationLimit','find','_hovered','_getMergeRange','search','getCellMatrix','_entities','font','_drawAnchor','_hideTimer','history','_transformPreviousActiveRange','onPointerMove$','_refreshCollabCursors','RemoveColCommandId','body','source','mask','measureText','range','INVITE_CODE_REQUIRED','[LogService\x20Error]:\x20','beforeCommandExecuted','_localeService','_maxFormulaLimit','_eventUnsubscribe','column','loadUnit','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_handleHover','collaboration.single-unit.warning','InsertRangeMoveDownCommandId','_beforeCloseService','YUUMI_RATE_OVER_LIMIT','has','REDEMPTION_USER_REDEEM_TIMES_EXCEED','12NdAcFg','origin','_onCursorUpdate','cursorInfo$','SOCKET_FAILED_RETRY','random','_currentUsage','unhandledrejection','_unitStatus','_drawTextRange','none','getCurrent','_updateSubUnitFromURLParams','getValue','catch','clearInterval','releaseFormulaLimitUrl','sheetID','UniverIcon','replace','off-line-icon','setParam','InsertRangeMoveRightCommandId','executionId','save','_setFormulaLimitStatus','pluginName','url(#on-line-icon_clip0_910_349)','replaceDocRanges','_collabCursorState$','_transformHistoryAndStateStack','top','_shapes','sessionStatus$','WECHAT_HAS_BEEN_BOUND','_anchor','focused$','YUUMI_UNABLE_LOAD_URL','popstate','COMPLETION_FINISHED','show','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_registerRenderDependencies','_themeService','_initCommandExecutedListener','ticket','_taskIds','collab-client.tooltip.reconnect','stack','arc','_initUnhandledRejectionListener','ENTITLE_COUPON_USED_UP','removeParam','_session','_status$','override','assignAColorForMemberID','currentColor','sessionTicket','ENTITLE_CHAT_LIMIT_EXCEED','values','makeDirty','_roomMembers$','Unknown\x20user','moveTo','storage','USERS_LEAVE','getRenderById','transformByState','xlink:href','_ensureSubject','getTypeOfUnitDisposed$','/universer-api/frontend/logs','REDEMPTION_USER_NOT_ELIGIBLE','_init','getItem','_logService','collab-text-range-','TEXT','fillStyle','collabStatus.syncing','hovered','setActiveRange','findNodePositionByCharIndex','getUnitId','INVITE_CODE_ALREADY_BOUND','_handleHeartbeatEvent','_cursorShapes','searchParams','0\x200\x2016\x2016','getUndoRedoMutationParamsCache','on-line-icon','getColorFromTheme','\x20at\x20','_transformService','getCellPositionByOffset','div','_textBubble','getCollabCursors$','_startSheetCollabCursor','1099953yXDeXq','_backgroundColor','getUnit','max','syncEditingCollabCursor','children','_showGuardMessage','eventID','SNAPSHOT_INVALID_SNAPSHOT','_updateURLWithCurrentState','formula.calculation.waiting','_docStateChangeManagerService','_urlService','name','ONLINE','UNIVER_DOC','Loading','_initEntityListener','transformSelections','ENTITLE_USE_COUPON_NOT_1ST_TRADE','closePath','InsertRowCommandId','_initCommandInterceptor','UPDATE_CURSOR','startColumn','totalFormulasToCalculate','getRangePointData','LICENSE_EXPORT_SIZE_EXCEEDED','[CollaborationDataLoaderController]','off-line-icon_clip0_910_343','CONFLICT','LICENSE_MAX_UNITS_EXCEEDED','getRelativeToViewportCoord','error','CLOSE_ROOM','_notificationService','4545kNWeHs','next','blue.400','_configService','code','runOnServer','disableLocalCache','round','REDEMPTION_CODE_HAS_BEEN_CREATED','_setupBeforeClosingHandler','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','ALREADY_EXISTS','MUTATION','formula.calculation.unable','session.connection-failed','then','getUnitStatus$','endColumn','_syncEditingCollabCursorService','_heartbeatTimer','displayName','OTHER_CLIENTS_EDITING','APPLY_REJECT','_getFormulaLimitStatus','LOGIN_FAILED','_handleLeaveEvent','_send','clearTimeout','pipe','PY_RUNTIME_SCRIPT_ERROR','Warning','purple.300','_id','_clearOtherTimers','row','startRow','UNIVER_SHEET','JOIN_ROOM_FAILED','_imageIoService','disposeUnit','_messageService','_onRefRangeChange','evenodd','_toggleOnline','_selfUnitIDs','getSheetId','OTHER_CLIENT_EDITING','red.300','_monkeyPatchLogService','668128BVVxGV','yellow.400','_assignedColors','transformIMECache','collabStatus.notCollab','collabCursorState$','YUUMI_CONNECTOR_URL_NOT_FOUND','PERMISSION_DENIED','forEach','setConfig','_colorIndex','idSuffix','message','setUndoRedoMutationParamsCache','DeleteRangeMoveLeftCommandId','currentTheme$','entries','INVITE_CODE_HAS_BEEN_UES','map','_startCalculationLimit','AWAITING','min','transformMutation','SNAPSHOT_HAS_BEEN_REMOVED','registerRenderModule','YUUMI_ALL_TABLES_IS_INVALID','labelPosition','_checkAndWaitForCalculationPermission','m2Prime','_initStatusListener','1em','selections','roomMembers$','_context','_setupSubUnitSync','1110278RXDpyp','_initWindowErrorListener','getFocusedUnit','univer-flex\x20univer-items-center','_revisionService','_lastResponseTimestamp','_uiPartsService','_docTransformIMECacheService','post','hide','functionsExecutedState','addHandlerCallback','limitInfo','newValue','unitId','defIds','301072seOrKJ','tag','application/json','collabStatus.conflict','subscribeEvent','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','onLocalMutation','UNAUTHENTICATED','onRendered','LICENSE_IMPORT_SIZE_EXCEEDED','_uploadLog','onTransformChange$','stageInfo','unshift','registerBeforeClose','Failed','_removeCollabCursors','_docSyncEditingCollabCursorService','REDEMPTION_CODE_NOT_STARTED','getformulaLimitStatusUrl','redoState','_scheduleSaving','transformStateCache','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','setItem','M0\x200H16V16H0z','init','_memberID','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','with','m1Prime','endRow','event$','_memberService','UNDEFINED','_saveTaskMap','loadOfflineData','_scene','subscribe','translate(.97)','isActive','_document','href','createSocket','ENTITLE_INSUFFICIENT_QUOTA','all','cursorInfo','wsSessionTicketUrl','toString','INVALID_ARGUMENT','pushState','_docClipboardService','_collaborationController','unitID'];_0x19b9=function(){return _0x4f74ce;};return _0x19b9();}class Ke extends _0x4bd602{constructor(){const _0x268c8f=_0x4cb6a4;super(...arguments),_(this,_0x268c8f(0xe4),new Map()),_(this,_0x268c8f(0xec),0x0);}['assignAColorForMemberID'](_0x64a5b){const _0x443cd9=_0x4cb6a4;if(this[_0x443cd9(0xe4)][_0x443cd9(0x282)](_0x64a5b))return this[_0x443cd9(0xe4)][_0x443cd9(0x242)](_0x64a5b);const _0x217d4f=ot[this[_0x443cd9(0xec)]];return this[_0x443cd9(0xec)]=(this[_0x443cd9(0xec)]+0x1)%ot[_0x443cd9(0x179)],this[_0x443cd9(0xe4)][_0x443cd9(0x187)](_0x64a5b,_0x217d4f),_0x217d4f;}}function $t(_0x708da2){const _0x13a1bb=_0x4cb6a4;let _0x3b623b='';for(const _0x31deee of _0x708da2){const {startOffset:_0x779c6f,endOffset:_0x53f11a,isActive:_0x3a9370,rangeType:_0x277faa,segmentId:_0x2543ff,segmentPage:_0xa68d1e}=_0x31deee;_0x3b623b[_0x13a1bb(0x179)]&&(_0x3b623b+=','),_0x3b623b+=_0x779c6f+':'+_0x53f11a+':'+(_0x3a9370?'1':'0')+':'+_0x277faa+':'+_0x2543ff+':'+_0xa68d1e;}return _0x3b623b;}function Ai(_0x3b903c){const _0x264e05=_0x4cb6a4,_0x438b3f=_0x3b903c[_0x264e05(0x17b)](','),_0x476d01=[];for(const _0x16c873 of _0x438b3f){const [_0x36ddff,_0x37a442,_0x1d674c,_0x5baf1e,_0x59920f,_0x20a6d7]=_0x16c873[_0x264e05(0x17b)](':');_0x476d01[_0x264e05(0x163)]({'startOffset':Number(_0x36ddff),'endOffset':Number(_0x37a442),'collapsed':_0x36ddff===_0x37a442,'isActive':_0x1d674c==='1','rangeType':_0x5baf1e===_0x33369f[_0x264e05(0x2d2)]?_0x33369f[_0x264e05(0x2d2)]:_0x33369f[_0x264e05(0x1ce)],'segmentId':typeof _0x59920f==_0x264e05(0x25c)?String(_0x59920f):'','segmentPage':Number(_0x20a6d7!=null?_0x20a6d7:-0x1)});}return _0x476d01[_0x264e05(0x246)](_0xa4c65f=>_0xa4c65f[_0x264e05(0x13d)])||(_0x476d01[0x0][_0x264e05(0x13d)]=!0x0),_0x476d01;}class ze extends _0x387d07{constructor(){const _0x392f46=_0x4cb6a4;super(...arguments),_(this,_0x392f46(0x2a1),new _0x5e0fc0(null)),_(this,_0x392f46(0xe7),this['_collabCursorState$']['asObservable']());}['syncEditingCollabCursor'](_0x28a902){const _0x5a0daf=_0x4cb6a4,{unitID:_0x2cf199,memberID:_0x30e8f6,textRanges:_0x1c4f37}=_0x28a902,_0x5ba09b=$t(_0x1c4f37);if(_0x5ba09b==='')return;const _0x3c56bc={'unitID':_0x2cf199,'memberID':_0x30e8f6,'selection':_0x5ba09b};this[_0x5a0daf(0x2a1)][_0x5a0daf(0x30d)](_0x3c56bc);}}var Pi=Object['getOwnPropertyDescriptor'],wi=(_0x3162bf,_0x5888d8,_0x3db504,_0x166c93)=>{const _0x2ce25b=_0x4cb6a4;for(var _0x5c95c2=_0x166c93>0x1?void 0x0:_0x166c93?Pi(_0x5888d8,_0x3db504):_0x5888d8,_0x2c1e2d=_0x3162bf[_0x2ce25b(0x179)]-0x1,_0x298257;_0x2c1e2d>=0x0;_0x2c1e2d--)(_0x298257=_0x3162bf[_0x2c1e2d])&&(_0x5c95c2=_0x298257(_0x5c95c2)||_0x5c95c2);return _0x5c95c2;},A=(_0x160666,_0x5cc7d1)=>(_0x1b8288,_0x55ec7f)=>_0x5cc7d1(_0x1b8288,_0x55ec7f,_0x160666);const yi=0x12c,$i=0x64;let xe=class extends _0x387d07{constructor(_0x363a75,_0x191ca4,_0xa861d1,_0x576e64,_0x4b8790,_0x1443d7,_0x1c91e8,_0xfa27c0,_0x18df53){const _0x3709b3=_0x4cb6a4;super(),_(this,_0x3709b3(0x235),!0x1),_(this,_0x3709b3(0x2ce),!0x1),_(this,'_cursorInfo$',new _0x5e0fc0(new Map())),_(this,'cursorInfo$',this[_0x3709b3(0x1c2)][_0x3709b3(0x1a7)]()),_(this,'_roomMembers$',new _0x5e0fc0([])),_(this,_0x3709b3(0x102),this['_roomMembers$'][_0x3709b3(0xcd)](_0x4e852b(yi))),_(this,_0x3709b3(0x21c),_0x357798(_0x211d52=>{const _0x4870ba=_0x3709b3,_0x3bcaef={'eventID':_0x4c5b2c['UPDATE_CURSOR'],'data':{'unitID':this[_0x4870ba(0x14a)],'memberID':this[_0x4870ba(0x2b9)][_0x4870ba(0x159)](),'selection':$t(_0x211d52)}};this[_0x4870ba(0x2b9)][_0x4870ba(0x1bb)](_0x3bcaef,this['unitID']);},$i)),(this[_0x3709b3(0x14a)]=_0x363a75,this[_0x3709b3(0x2b9)]=_0x191ca4,this['_injector']=_0xa861d1,this[_0x3709b3(0x154)]=_0x576e64,this[_0x3709b3(0x136)]=_0x4b8790,this[_0x3709b3(0xc3)]=_0x1443d7,this[_0x3709b3(0x2e2)]=_0x1c91e8,this[_0x3709b3(0x168)]=_0xfa27c0,this[_0x3709b3(0x259)]=_0x18df53);}get['cursorInfo'](){const _0x45547b=_0x4cb6a4;return this[_0x45547b(0x1c2)][_0x45547b(0x291)]();}get['roomMembers'](){const _0x4882d5=_0x4cb6a4;return this['_roomMembers$'][_0x4882d5(0x291)]();}['dispose'](){const _0x47654e=_0x4cb6a4;super[_0x47654e(0x17f)](),this[_0x47654e(0x1c2)][_0x47654e(0x30d)](new Map()),this[_0x47654e(0x1c2)][_0x47654e(0x1a5)](),this[_0x47654e(0x2c2)][_0x47654e(0x30d)]([]),this[_0x47654e(0x2c2)][_0x47654e(0x1a5)]();}[_0x4cb6a4(0x12f)](){const _0x44d2dd=_0x4cb6a4;this[_0x44d2dd(0x2ce)]||(this[_0x44d2dd(0x2ce)]=!0x0,this[_0x44d2dd(0x2b9)][_0x44d2dd(0x2a5)][_0x44d2dd(0xcd)](_0x47dffc(this[_0x44d2dd(0x165)]))[_0x44d2dd(0x13b)](_0x29167c=>{const _0x289c56=_0x44d2dd;_0x29167c===_0x2c90eb[_0x289c56(0x2f6)]?this[_0x289c56(0xdc)]():this[_0x289c56(0x157)]();}),this[_0x44d2dd(0x2b9)]['event$'][_0x44d2dd(0xcd)](_0x47dffc(this[_0x44d2dd(0x165)]))[_0x44d2dd(0x13b)](_0x556548=>{const _0x4d04b4=_0x44d2dd,_0x17a944=_0x556548[_0x4d04b4(0x2ef)];_0x17a944===_0x4c5b2c[_0x4d04b4(0x2ff)]&&this[_0x4d04b4(0x286)](_0x556548),_0x17a944===_0x4c5b2c['USERS_LEAVE']&&this[_0x4d04b4(0x1ac)](_0x556548);}),this[_0x44d2dd(0x1b2)](this['_commandService']['onCommandExecuted'](_0x3bb046=>{const _0x5d729e=_0x44d2dd,_0x4e3519=_0x3bb046[_0x5d729e(0x1ff)];_0x4e3519!=null&&this[_0x5d729e(0x235)]&&_0x3bb046['id']===_0x333954['id']&&_0x4e3519['unitId']===this['unitID']&&_0x4e3519[_0x5d729e(0x1d9)]===!0x1&&_0x4e3519[_0x5d729e(0x1f9)][_0x5d729e(0x179)]>0x0&&this[_0x5d729e(0x21c)](_0x4e3519[_0x5d729e(0x1f9)]);})),this[_0x44d2dd(0xc3)]['collabCursorState$'][_0x44d2dd(0xcd)](_0x47dffc(this[_0x44d2dd(0x165)]))['subscribe'](_0x9b886=>{const _0x10bf2=_0x44d2dd;if((_0x9b886==null?void 0x0:_0x9b886[_0x10bf2(0x14a)])!==this[_0x10bf2(0x14a)])return;const _0x53dce7={'eventID':_0x4c5b2c[_0x10bf2(0x2ff)],'data':_0x9b886};this['_onCursorUpdate'](_0x53dce7);}),this[_0x44d2dd(0x1b2)](this[_0x44d2dd(0x259)][_0x44d2dd(0x169)](_0x134ace=>{const _0x10957d=_0x44d2dd;if(_0x134ace[_0x10957d(0x1ff)]==null)return;const _0x3494dc=_0x134ace['params'];if(_0x134ace['id']!==_0x1bbb72['id']||_0x3494dc[_0x10957d(0x113)]!==this['unitID'])return;const _0x521358={'id':_0x10957d(0x1a0),'params':_0x3494dc},_0x58aaaf=this[_0x10957d(0x143)];for(const [_0x3b38e1,_0x1d67ff]of _0x58aaaf){const _0x3604dc={'id':_0x10957d(0x1a0),'params':{'unitId':this[_0x10957d(0x14a)],'actions':null,'textRanges':_0x1d67ff[_0x10957d(0x1f9)]}},_0x3707cd=this['_transformService'][_0x10957d(0xf8)](_0x521358,_0x3604dc,!0x1);if(_0x36a568(_0x3707cd))throw _0x3707cd[_0x10957d(0x309)];_0x58aaaf[_0x10957d(0x187)](_0x3b38e1,{..._0x1d67ff,'ranges':_0x3707cd[_0x10957d(0xfe)][_0x10957d(0x1ff)][_0x10957d(0x15e)]});}queueMicrotask(()=>{const _0x5ae115=_0x10957d;this[_0x5ae115(0x1c2)]['next'](_0x58aaaf);});})));}['_onCursorUpdate'](_0x19771c){const _0x449e4c=_0x4cb6a4;var _0x2203da,_0x5258fe;const {memberID:_0x314927,selection:_0x299111}=_0x19771c[_0x449e4c(0x18b)],_0x3395a9=Ai(_0x299111),_0x4b5176=(_0x5258fe=(_0x2203da=this[_0x449e4c(0x136)][_0x449e4c(0x17d)](this['unitID'],_0x314927))==null?void 0x0:_0x2203da[_0x449e4c(0x2f5)])!=null?_0x5258fe:_0x449e4c(0x2c3),_0x2284dc={'color':this[_0x449e4c(0x154)]['assignAColorForMemberID'](_0x314927),'name':_0x4b5176,'ranges':_0x3395a9},_0x1ef1a6=this[_0x449e4c(0x143)];_0x1ef1a6[_0x449e4c(0x187)](_0x314927,_0x2284dc),this['_cursorInfo$'][_0x449e4c(0x30d)](_0x1ef1a6);}[_0x4cb6a4(0x1ac)](_0x21746f){const _0x2ed2ec=_0x4cb6a4,{memberID:_0x293be5}=_0x21746f['data'],_0x5eaa7e=this[_0x2ed2ec(0x143)];_0x5eaa7e['delete'](_0x293be5),this['_cursorInfo$']['next'](_0x5eaa7e);}[_0x4cb6a4(0xdc)](){const _0x247e30=_0x4cb6a4;var _0x148c39;if(this['_online']=!0x0,((_0x148c39=this[_0x247e30(0x168)][_0x247e30(0x107)]())==null?void 0x0:_0x148c39['getUnitId']())!==this[_0x247e30(0x14a)])return;const _0x106736=this[_0x247e30(0x14d)][_0x247e30(0x242)](_0xee7088)[_0x247e30(0x190)]();Array[_0x247e30(0x22e)](_0x106736)&&_0x106736[_0x247e30(0x179)]>0x0&&this[_0x247e30(0x21c)](_0x106736);}['_toggleOffline'](){this['_online']=!0x1;}};xe=wi([A(0x2,_0x460697(_0x307bfd)),A(0x3,_0x460697(Ke)),A(0x4,_0x460697(_0xc5b845)),A(0x5,_0x460697(ze)),A(0x6,_0x480862),A(0x7,_0x14cde1),A(0x8,_0x29d21c)],xe);var xi=Object[_0x4cb6a4(0x1ed)],Bi=(_0x59f70e,_0x52a711,_0x246e8b,_0x3aeb25)=>{const _0x47018b=_0x4cb6a4;for(var _0x240e4b=_0x3aeb25>0x1?void 0x0:_0x3aeb25?xi(_0x52a711,_0x246e8b):_0x52a711,_0x42b2ee=_0x59f70e[_0x47018b(0x179)]-0x1,_0xade1f8;_0x42b2ee>=0x0;_0x42b2ee--)(_0xade1f8=_0x59f70e[_0x42b2ee])&&(_0x240e4b=_0xade1f8(_0x240e4b)||_0x240e4b);return _0x240e4b;},B=(_0x86b5c0,_0xd7f1d3)=>(_0x40239f,_0x433927)=>_0xd7f1d3(_0x40239f,_0x433927,_0x86b5c0);const Fi=0x12c,ki=0x64,Hi=()=>{let _0x4e61ac=[],_0x560d25=!0x1;return _0x4eb3aa=>{const _0x5747e7=_0x3956;_0x4e61ac[_0x5747e7(0x163)](_0x4eb3aa),_0x560d25||(_0x560d25=!0x0,setTimeout(()=>{const _0x777213=_0x5747e7;_0x4e61ac[_0x777213(0xea)](_0x46231a=>_0x46231a()),_0x4e61ac=[],_0x560d25=!0x1;}));};};let Be=class extends _0x387d07{constructor(_0x49a89c,_0x25befc,_0x419444,_0x289b4c,_0x539c9a,_0x286e74,_0x420582,_0x3fd42d){const _0x242c0a=_0x4cb6a4;super(),_(this,'_online',!0x1),_(this,'_init',!0x1),_(this,_0x242c0a(0x1c2),new _0x5e0fc0(new Map())),_(this,_0x242c0a(0x287),this['_cursorInfo$'][_0x242c0a(0x1a7)]()),_(this,_0x242c0a(0x2c2),new _0x5e0fc0([])),_(this,'roomMembers$',this['_roomMembers$'][_0x242c0a(0xcd)](_0x4e852b(Fi))),_(this,'_updateLocalCursor',_0x357798((_0x289c39,_0x5a15a1)=>{const _0x4a2b54=_0x242c0a,_0x38907d={'eventID':_0x4c5b2c[_0x4a2b54(0x2ff)],'data':{'unitID':this[_0x4a2b54(0x14a)],'memberID':this[_0x4a2b54(0x2b9)]['getMemberID'](),'selection':_0x3ea7cf(_0x289c39,_0x5a15a1[_0x4a2b54(0x273)])}};this['_session'][_0x4a2b54(0x1bb)](_0x38907d,this[_0x4a2b54(0x14a)]);},ki)),(this[_0x242c0a(0x14a)]=_0x49a89c,this['_session']=_0x25befc,this[_0x242c0a(0x14d)]=_0x419444,this[_0x242c0a(0x154)]=_0x289b4c,this[_0x242c0a(0x136)]=_0x539c9a,this[_0x242c0a(0x168)]=_0x286e74,this[_0x242c0a(0x259)]=_0x420582,this[_0x242c0a(0x1fd)]=_0x3fd42d);}get[_0x4cb6a4(0x143)](){const _0x2652bd=_0x4cb6a4;return this[_0x2652bd(0x1c2)]['getValue']();}get['roomMembers'](){const _0x194e8e=_0x4cb6a4;return this[_0x194e8e(0x2c2)][_0x194e8e(0x291)]();}[_0x4cb6a4(0x17f)](){const _0x11c985=_0x4cb6a4;super[_0x11c985(0x17f)](),this['_cursorInfo$'][_0x11c985(0x30d)](new Map()),this[_0x11c985(0x1c2)][_0x11c985(0x1a5)](),this[_0x11c985(0x2c2)]['next']([]),this[_0x11c985(0x2c2)][_0x11c985(0x1a5)]();}[_0x4cb6a4(0x12f)](){const _0x54a3a2=_0x4cb6a4;this[_0x54a3a2(0x2ce)]||(this[_0x54a3a2(0x2ce)]=!0x0,this['_session'][_0x54a3a2(0x2a5)][_0x54a3a2(0xcd)](_0x47dffc(this[_0x54a3a2(0x165)]))[_0x54a3a2(0x13b)](_0xd001ed=>{const _0x4bb15a=_0x54a3a2;_0xd001ed===_0x2c90eb[_0x4bb15a(0x2f6)]?this[_0x4bb15a(0xdc)]():this[_0x4bb15a(0x157)]();}),this[_0x54a3a2(0x2b9)][_0x54a3a2(0x135)][_0x54a3a2(0xcd)](_0x47dffc(this[_0x54a3a2(0x165)]))[_0x54a3a2(0x13b)](_0xaa36a9=>{const _0x4f233e=_0x54a3a2,_0x313680=_0xaa36a9[_0x4f233e(0x2ef)];_0x313680===_0x4c5b2c[_0x4f233e(0x2ff)]&&this['_onCursorUpdate'](_0xaa36a9),_0x313680===_0x4c5b2c[_0x4f233e(0x2c6)]&&this[_0x4f233e(0x1ac)](_0xaa36a9);}),this[_0x54a3a2(0xda)](),this[_0x54a3a2(0x1b2)](this[_0x54a3a2(0x259)][_0x54a3a2(0x169)](_0x34ef3a=>{const _0x1e2a2a=_0x54a3a2;if(this['_online']&&_0x34ef3a['id']===_0x387c8e['id']&&_0x34ef3a['params'][_0x1e2a2a(0x113)]===this['unitID']){const _0x56b559=_0x34ef3a[_0x1e2a2a(0x1ff)];this[_0x1e2a2a(0x21c)](_0x56b559[_0x1e2a2a(0x1ba)],_0x56b559[_0x1e2a2a(0x101)][0x0]);}})));}['_onCursorUpdate'](_0x59016d){const _0x705507=_0x4cb6a4;var _0x435a58,_0x2e9a82;const {memberID:_0x5c12ce,selection:_0xdb6d58}=_0x59016d[_0x705507(0x18b)],{sheetName:_0x14a8dd,range:_0x303c67}=_0x298d49(_0xdb6d58),_0x29633a={'name':(_0x2e9a82=(_0x435a58=this[_0x705507(0x136)][_0x705507(0x17d)](this[_0x705507(0x14a)],_0x5c12ce))==null?void 0x0:_0x435a58[_0x705507(0x2f5)])!=null?_0x2e9a82:_0x705507(0x2c3),'range':this[_0x705507(0x263)](_0x14a8dd,_0x303c67),'sheetID':_0x14a8dd,'color':this[_0x705507(0x154)][_0x705507(0x2bc)](_0x5c12ce),'selection':_0xdb6d58},_0x304030=this[_0x705507(0x143)];_0x304030[_0x705507(0x187)](_0x5c12ce,_0x29633a),this[_0x705507(0x1c2)]['next'](_0x304030);}[_0x4cb6a4(0x1ac)](_0xcf5248){const _0x401777=_0x4cb6a4,{memberID:_0x7ece06}=_0xcf5248[_0x401777(0x18b)],_0x3ec407=this[_0x401777(0x143)];_0x3ec407[_0x401777(0x220)](_0x7ece06),this[_0x401777(0x1c2)][_0x401777(0x30d)](_0x3ec407);}[_0x4cb6a4(0x263)](_0x57b89e,_0x2e9cb7){const _0x36c7ca=_0x4cb6a4;var _0x5bb4c5,_0x14f9a6;const _0x21fede=(_0x14f9a6=(_0x5bb4c5=this[_0x36c7ca(0x168)][_0x36c7ca(0x1b9)](this[_0x36c7ca(0x14a)]))==null?void 0x0:_0x5bb4c5['getSheetBySheetId'](_0x57b89e))==null?void 0x0:_0x14f9a6['getMergeData']();return(_0x21fede==null?void 0x0:_0x21fede[_0x36c7ca(0x261)](_0x4fb74e=>_0x520fac[_0x36c7ca(0x186)](_0x4fb74e,_0x2e9cb7)))||_0x2e9cb7;}[_0x4cb6a4(0xda)](){const _0x1233f2=_0x4cb6a4,_0x50a5d2=new _0x4dfaa7(),_0x3ad1cb=Hi(),_0x213f8a=()=>{const _0x8277c5=_0x3956;_0x50a5d2['dispose']();const _0x26c417=(_0x2371b2,_0xbf24de,_0x48f9f1,_0x25685f)=>{const _0x2324f5=_0x3956;let _0x310409=[];switch(_0x2371b2['id']){case _0x2319c3[_0x2324f5(0xf0)]:{_0x310409=_0x2487a0(_0x2371b2,_0x25685f);break;}case _0x2319c3['DeleteRangeMoveUpCommandId']:{_0x310409=_0x1dc24c(_0x2371b2,_0x25685f);break;}case _0x2319c3['InsertColCommandId']:{_0x310409=_0x513924(_0x2371b2,_0x25685f);break;}case _0x2319c3[_0x2324f5(0x27f)]:{_0x310409=_0x2ea622(_0x2371b2,_0x25685f);break;}case _0x2319c3[_0x2324f5(0x29a)]:{_0x310409=_0xa4f916(_0x2371b2,_0x25685f);break;}case _0x2319c3[_0x2324f5(0x2fd)]:{_0x310409=_0x1830b5(_0x2371b2,_0x25685f);break;}case _0x2319c3[_0x2324f5(0x173)]:{_0x310409=_0x83a2ba(_0x2371b2,_0x25685f);break;}case _0x2319c3[_0x2324f5(0x26e)]:{_0x310409=_0x30f4f8(_0x2371b2,_0x25685f);break;}case _0x2319c3['RemoveRowCommandId']:{_0x310409=_0x53f6fa(_0x2371b2,_0x25685f);break;}}const _0x461628=_0x848d32(_0x310409,_0x25685f),_0x499647=this[_0x2324f5(0x143)]['get'](_0xbf24de);if(_0x499647&&_0x461628){const _0x1a9a56={..._0x499647,'range':_0x461628};this['cursorInfo'][_0x2324f5(0x187)](_0xbf24de,_0x1a9a56),_0x3ad1cb(()=>{const _0x7cd0e5=_0x2324f5,_0x332713=this['_refRangeService']['registerRefRange'](_0x461628,_0x28574e=>(_0x332713['dispose'](),_0x26c417(_0x28574e,_0xbf24de,_0x48f9f1,_0x461628)));_0x50a5d2[_0x7cd0e5(0x205)](_0x332713);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x8277c5(0xea)]((_0x452cee,_0x261e17)=>{const _0x2b0911=_0x8277c5,{range:_0x53987d,sheetID:_0xec9178}=_0x452cee,_0x4a445a=this[_0x2b0911(0x1fd)]['registerRefRange'](_0x53987d,_0x20628c=>(_0x4a445a['dispose'](),_0x26c417(_0x20628c,_0x261e17,_0xec9178,_0x53987d)));_0x50a5d2[_0x2b0911(0x205)](_0x4a445a);});};this[_0x1233f2(0x1b2)](_0xb8c0(this[_0x1233f2(0x1c2)][_0x1233f2(0x13b)](()=>{_0x213f8a();})));}['_toggleOnline'](){const _0x559f8a=_0x4cb6a4;var _0x529916,_0x530b7a;if(this[_0x559f8a(0x235)]=!0x0,((_0x529916=this[_0x559f8a(0x168)][_0x559f8a(0x107)]())==null?void 0x0:_0x529916[_0x559f8a(0x2d8)]())!==this['unitID'])return;const _0x178c15=(_0x530b7a=this[_0x559f8a(0x14d)][_0x559f8a(0x242)](_0x3e5f4d)['getCurrentSelections']())==null?void 0x0:_0x530b7a[0x0],_0x52f87f=this[_0x559f8a(0x168)]['getCurrentUnitForType'](_0xaccedf[_0x559f8a(0xd5)])[_0x559f8a(0x222)]();_0x178c15&&_0x52f87f&&this[_0x559f8a(0x21c)](_0x52f87f[_0x559f8a(0xde)](),_0x178c15);}[_0x4cb6a4(0x157)](){const _0x5c5d32=_0x4cb6a4;this[_0x5c5d32(0x235)]=!0x1;}};Be=Bi([B(0x2,_0x460697(_0x307bfd)),B(0x3,_0x460697(Ke)),B(0x4,_0x460697(_0xc5b845)),B(0x5,_0x14cde1),B(0x6,_0x29d21c),B(0x7,_0x460697(_0x5cb60d))],Be);var Yi=Object[_0x4cb6a4(0x1ed)],Wi=(_0x5db86c,_0x460629,_0x2144d4,_0xb82e33)=>{const _0x419101=_0x4cb6a4;for(var _0x329473=_0xb82e33>0x1?void 0x0:_0xb82e33?Yi(_0x460629,_0x2144d4):_0x460629,_0xc78dde=_0x5db86c[_0x419101(0x179)]-0x1,_0xb1548c;_0xc78dde>=0x0;_0xc78dde--)(_0xb1548c=_0x5db86c[_0xc78dde])&&(_0x329473=_0xb1548c(_0x329473)||_0x329473);return _0x329473;},Ce=(_0x434fd2,_0x416ad2)=>(_0x3149c8,_0x57a3cb)=>_0x416ad2(_0x3149c8,_0x57a3cb,_0x434fd2);let H=class extends _0x387d07{constructor(_0x5b3159,_0x538fd5,_0x37a60b){const _0x314c95=_0x4cb6a4;super(),_(this,'_entities',new Map()),_(this,_0x314c95(0x1b1),new _0x45098e()),(this[_0x314c95(0x168)]=_0x5b3159,this[_0x314c95(0x14d)]=_0x538fd5,this[_0x314c95(0x1ea)]=_0x37a60b,this[_0x314c95(0x2ce)]());}[_0x4cb6a4(0x17f)](){const _0x8a674e=_0x4cb6a4;super[_0x8a674e(0x17f)](),this[_0x8a674e(0x1b1)][_0x8a674e(0x1a5)](),this[_0x8a674e(0x266)]['forEach'](_0x20f3f3=>_0x20f3f3['dispose']());}[_0x4cb6a4(0x2e6)](_0x38f29f){const _0xf2d3c5=_0x4cb6a4;return this['_entities'][_0xf2d3c5(0x282)](_0x38f29f)?this['_entities'][_0xf2d3c5(0x242)](_0x38f29f)['cursorInfo$']:this[_0xf2d3c5(0x1b1)][_0xf2d3c5(0xcd)](_0xbd2e46(_0x2fdbc1=>_0x2fdbc1['unitID']===_0x38f29f),_0x2411b6(_0x24bf0e=>_0x24bf0e['cursorInfo$']));}[_0x4cb6a4(0x2ce)](){const _0x418b60=_0x4cb6a4;this[_0x418b60(0x168)][_0x418b60(0x221)](_0xaccedf[_0x418b60(0xd5)])[_0x418b60(0xcd)](_0x47dffc(this['dispose$']))[_0x418b60(0x13b)](async _0x496c98=>{const _0x376cdc=_0x418b60,_0xf081b2=_0x496c98['getUnitId'](),_0x41ecf8=await this[_0x376cdc(0x2e7)](_0xf081b2);this[_0x376cdc(0x1b1)][_0x376cdc(0x30d)](_0x41ecf8),this[_0x376cdc(0x266)][_0x376cdc(0x187)](_0xf081b2,_0x41ecf8);}),this[_0x418b60(0x168)][_0x418b60(0x221)](_0xaccedf[_0x418b60(0x2f7)])['pipe'](_0x47dffc(this[_0x418b60(0x165)]))[_0x418b60(0xcd)](_0xbd2e46(_0x639bce=>!_0x639bce[_0x418b60(0x2d8)]()['startsWith']('__')))[_0x418b60(0x13b)](async _0xefe889=>{const _0x7ba80b=_0x418b60,_0x373b99=_0xefe889['getUnitId'](),_0x5992b3=await this[_0x7ba80b(0x1cd)](_0x373b99);this[_0x7ba80b(0x1b1)][_0x7ba80b(0x30d)](_0x5992b3),this[_0x7ba80b(0x266)][_0x7ba80b(0x187)](_0x373b99,_0x5992b3);}),_0xf48905(this[_0x418b60(0x168)][_0x418b60(0x2cb)](_0xaccedf[_0x418b60(0x2f7)]),this[_0x418b60(0x168)][_0x418b60(0x2cb)](_0xaccedf[_0x418b60(0xd5)]))[_0x418b60(0xcd)](_0x47dffc(this[_0x418b60(0x165)]))[_0x418b60(0x13b)](_0x4162bd=>{const _0x3cf991=_0x418b60,_0x300ca1=_0x4162bd[_0x3cf991(0x2d8)](),_0xa4cbd1=this[_0x3cf991(0x266)][_0x3cf991(0x242)](_0x300ca1);_0xa4cbd1&&(_0xa4cbd1[_0x3cf991(0x17f)](),this[_0x3cf991(0x266)]['delete'](_0x300ca1));});}async[_0x4cb6a4(0x2e7)](_0x581fc8){const _0x4caf80=_0x4cb6a4,_0x192876=await this[_0x4caf80(0x1ea)][_0x4caf80(0x1d4)](_0x581fc8),_0x597dbf=this[_0x4caf80(0x14d)][_0x4caf80(0x1e7)](Be,_0x581fc8,_0x192876);return _0x597dbf[_0x4caf80(0x12f)](),_0x597dbf;}async['_startDocCollabCursor'](_0xce0ecd){const _0x17a237=_0x4cb6a4,_0x5a05d0=await this[_0x17a237(0x1ea)][_0x17a237(0x1d4)](_0xce0ecd),_0x9f1c45=this[_0x17a237(0x14d)][_0x17a237(0x1e7)](xe,_0xce0ecd,_0x5a05d0);return _0x9f1c45[_0x17a237(0x12f)](),_0x9f1c45;}};H=Wi([Ce(0x0,_0x14cde1),Ce(0x1,_0x460697(_0x307bfd)),Ce(0x2,_0x460697(_0x225480))],H);const Q=0x14,at=0xc8,Re=0x4,Vi=0x5;function ji(_0x55dc62,_0x251a82){const _0x1db0fa=_0x4cb6a4;let {radius:_0x219438,width:_0x240ef7,height:_0x8e4cd}=_0x251a82;_0x219438=_0x219438!=null?_0x219438:0x0,_0x240ef7=_0x240ef7!=null?_0x240ef7:0x1e,_0x8e4cd=_0x8e4cd!=null?_0x8e4cd:0x1e;let _0x25dbb1=0x0,_0x183998=0x0,_0x2ca7c3=0x0;_0x25dbb1=_0x183998=_0x2ca7c3=Math[_0x1db0fa(0xf7)](_0x219438,_0x240ef7/0x2,_0x8e4cd/0x2),_0x55dc62[_0x1db0fa(0x1b8)](),_0x55dc62[_0x1db0fa(0x2c4)](_0x25dbb1,0x0),_0x55dc62[_0x1db0fa(0x15a)](_0x240ef7-_0x183998,0x0),_0x55dc62[_0x1db0fa(0x2b5)](_0x240ef7-_0x183998,_0x183998,_0x183998,Math['PI']*0x3/0x2,0x0,!0x1),_0x55dc62[_0x1db0fa(0x15a)](_0x240ef7,_0x8e4cd-_0x2ca7c3),_0x55dc62[_0x1db0fa(0x2b5)](_0x240ef7-_0x2ca7c3,_0x8e4cd-_0x2ca7c3,_0x2ca7c3,0x0,Math['PI']/0x2,!0x1),_0x55dc62[_0x1db0fa(0x15a)](0x0,_0x8e4cd),_0x55dc62['lineTo'](0x0,_0x25dbb1),_0x55dc62[_0x1db0fa(0x2b5)](_0x25dbb1,_0x25dbb1,_0x25dbb1,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x55dc62[_0x1db0fa(0x2fc)](),_0x251a82[_0x1db0fa(0x22b)]&&(_0x55dc62[_0x1db0fa(0x29c)](),_0x55dc62['fillStyle']=_0x251a82['fill'],_0x251a82[_0x1db0fa(0x1ad)]===_0x1db0fa(0xdb)?_0x55dc62[_0x1db0fa(0x22b)](_0x1db0fa(0xdb)):_0x55dc62['fill'](),_0x55dc62[_0x1db0fa(0x1e0)]());}class ve extends _0x18811c{constructor(_0x1fd34d,_0x468a5c){const _0x3529b5=_0x4cb6a4;super(_0x1fd34d,_0x468a5c),_(this,_0x3529b5(0x217)),_(this,_0x3529b5(0x247)),(this[_0x3529b5(0x217)]=_0x468a5c==null?void 0x0:_0x468a5c['color'],this['text']=_0x468a5c==null?void 0x0:_0x468a5c[_0x3529b5(0x247)]);}static[_0x4cb6a4(0x1aa)](_0x29edd9,_0x38120a){const _0x309352=_0x4cb6a4,{text:_0x2921b7,color:_0x127ca3}=_0x38120a;_0x29edd9['save'](),_0x29edd9[_0x309352(0x267)]=_0x309352(0x1df);const _0x53aff3=_0x29edd9[_0x309352(0x272)](_0x2921b7)[_0x309352(0x20f)],_0x56a63f=Math[_0x309352(0xf7)](_0x53aff3+0x2*Re,at);ji(_0x29edd9,{'height':Q,'radius':0x4,'width':_0x56a63f,'fill':_0x127ca3}),_0x29edd9[_0x309352(0x2d3)]=_0x309352(0x166);const _0x3ce437=Re,_0x315a4b=Q-Vi,_0x919b4f=at-0x2*Re;if(_0x53aff3>_0x919b4f){let _0x572f7e='',_0x5110cb=0x0;for(const _0x58f27d of _0x2921b7){const _0x2db751=_0x29edd9[_0x309352(0x272)](_0x58f27d)[_0x309352(0x20f)];if(_0x5110cb+_0x2db751<=_0x919b4f-_0x29edd9['measureText']('...')[_0x309352(0x20f)])_0x572f7e+=_0x58f27d,_0x5110cb+=_0x2db751;else{_0x572f7e+='...';break;}}_0x29edd9[_0x309352(0x23e)](_0x572f7e,_0x3ce437,_0x315a4b);}else _0x29edd9[_0x309352(0x23e)](_0x2921b7,_0x3ce437,_0x315a4b);_0x29edd9[_0x309352(0x1e0)]();}[_0x4cb6a4(0x227)](_0x125aba){const _0x580c2f=_0x4cb6a4;ve[_0x580c2f(0x1aa)](_0x125aba,this);}}const De=_0x4cb6a4(0x1e2),Xi=_0x4cb6a4(0x2d1),Gi='collab-rect-range-',z=0x6,Ki=1.5,Ne=0x4,zi=1.5,Ji=_0x4cb6a4(0x153);class ct{constructor(_0x823c3a,_0x597d6e,_0x3702a3,_0x1262f1){const _0xb251c2=_0x4cb6a4;_(this,'_shapes',[]),_(this,_0xb251c2(0x2a7),null),_(this,'_textBubble',null),_(this,_0xb251c2(0x1ca),null),_(this,_0xb251c2(0x269),null),_(this,_0xb251c2(0x279),null),(this['_cursor']=_0x823c3a,this[_0xb251c2(0x13a)]=_0x597d6e,this[_0xb251c2(0x251)]=_0x3702a3,this[_0xb251c2(0x13e)]=_0x1262f1,this[_0xb251c2(0x184)]());}set[_0x4cb6a4(0x198)](_0x1a769d){const _0x1f16ab=_0x4cb6a4;_0x1a769d?(this[_0x1f16ab(0x1ca)]&&this['_anchorDot'][_0x1f16ab(0x10e)](),this[_0x1f16ab(0x2e5)]&&this[_0x1f16ab(0x2e5)]['show']()):(this[_0x1f16ab(0x1ca)]&&this[_0x1f16ab(0x1ca)][_0x1f16ab(0x2ac)](),this[_0x1f16ab(0x2e5)]&&this[_0x1f16ab(0x2e5)]['hide']());}[_0x4cb6a4(0x17f)](){const _0x20dc63=_0x4cb6a4;for(const _0x2cf2d7 of this[_0x20dc63(0x2a4)])_0x2cf2d7[_0x20dc63(0x17f)]();this[_0x20dc63(0x2e5)]&&this['_textBubble'][_0x20dc63(0x17f)](),this[_0x20dc63(0x1ca)]&&this['_anchorDot'][_0x20dc63(0x17f)](),this[_0x20dc63(0x2a7)]&&this['_anchor'][_0x20dc63(0x17f)](),this['_eventUnsubscribe']&&this[_0x20dc63(0x279)]();}[_0x4cb6a4(0x184)](){const _0xe8146e=_0x4cb6a4;var _0x2afbd1;const {_docSkeleton:_0x556264,_document:_0xac0bc6}=this,{color:_0x4e2093,name:_0x4cb53b,ranges:_0x218003}=this['_cursor'],_0x3027bf=_0xac0bc6['getOffsetConfig'](),{docsLeft:_0x40f787,docsTop:_0x5eaa8c}=_0x3027bf,_0x38ee02=new _0x14f0d6(_0x3027bf,_0x556264);for(const {startOffset:_0x5656f1,endOffset:_0x1f8dda,rangeType:_0x490590,segmentId:_0x18d712,segmentPage:_0x49ee79,collapsed:_0x408c34,isActive:_0x2d1f1c}of _0x218003){const _0x4d0185=_0x556264[_0xe8146e(0x2d7)](_0x5656f1,!0x0,_0x18d712,_0x49ee79);let _0x46b0cc=_0x556264[_0xe8146e(0x2d7)](_0x1f8dda,!0x0,_0x18d712,_0x49ee79);if(_0x46b0cc==null&&(_0x46b0cc=_0x556264[_0xe8146e(0x2d7)](_0x1f8dda-0x1,!0x1,_0x18d712,_0x49ee79)),_0x2d1f1c){const {contentBoxPointGroup:_0x206111}=_0x38ee02[_0xe8146e(0x302)](_0x46b0cc,_0x46b0cc);if(_0x206111[_0xe8146e(0x179)]===0x0)continue;this['_drawAnchor'](_0x4e2093,_0x206111,_0x40f787,_0x5eaa8c,_0x4cb53b),this[_0xe8146e(0x279)]=this['_handleHover']();}if(_0x4d0185&&_0x46b0cc){if(_0x490590===_0x33369f['RECT']){const _0x273770=new _0x179d08(_0x3027bf,_0x556264),{pointGroup:_0x378a4c}=(_0x2afbd1=_0x273770[_0xe8146e(0x302)](_0x4d0185,_0x46b0cc))!=null?_0x2afbd1:{};if(_0x378a4c==null||_0x378a4c[_0xe8146e(0x179)]===0x0)continue;this[_0xe8146e(0x195)](_0x4e2093,_0x378a4c,_0x40f787,_0x5eaa8c);}else{if(!_0x408c34){const {borderBoxPointGroup:_0x15f456}=_0x38ee02[_0xe8146e(0x302)](_0x4d0185,_0x46b0cc);if(_0x15f456[_0xe8146e(0x179)]===0x0)continue;this[_0xe8146e(0x28d)](_0x4e2093,_0x15f456,_0x40f787,_0x5eaa8c);}}}}}[_0x4cb6a4(0x268)](_0x34f678,_0x508434,_0x8c24f8,_0x4f64a7,_0x1d6fa1){const _0x5f48d9=_0x4cb6a4,_0x5b24fc=this[_0x5f48d9(0x1b3)](_0x508434),{left:_0x57b174,top:_0x1a6862,height:_0x24cce2}=_0x5b24fc,_0x4869ca=this[_0x5f48d9(0x24a)](),_0x5e810f=zi/_0x4869ca,_0x20adde=new _0x30b3bc(De+_0x3bf90d(z),{'left':_0x57b174+_0x8c24f8-_0x5e810f,'top':_0x1a6862+_0x4f64a7,'height':_0x24cce2,'width':Ki,'fill':_0x34f678||_0x3dd5c1(_0x4887fc[_0x5f48d9(0x19a)],0x0),'strokeWidth':_0x5e810f,'stroke':Ji,'evented':!0x0});this['_anchor']=_0x20adde,this[_0x5f48d9(0x13a)][_0x5f48d9(0x249)](_0x20adde,_0x536f28);const _0x323b0d=new _0x30b3bc(De+_0x3bf90d(z),{'left':_0x57b174+_0x8c24f8-_0x5e810f,'top':_0x1a6862+_0x4f64a7-Ne/0x2,'height':Ne,'width':Ne,'fill':_0x34f678||_0x3dd5c1(_0x4887fc[_0x5f48d9(0x19a)],0x0),'strokeWidth':0x0,'stroke':_0x34f678||_0x3dd5c1(_0x4887fc[_0x5f48d9(0x19a)],0x0),'evented':!0x1});this[_0x5f48d9(0x1ca)]=_0x323b0d,this[_0x5f48d9(0x13a)][_0x5f48d9(0x249)](_0x323b0d,_0x536f28);const _0x2b01fb=new ve(De+_0x3bf90d(z),{'left':_0x57b174+_0x8c24f8-_0x5e810f,'top':_0x1a6862+_0x4f64a7-Q,'text':_0x1d6fa1,'color':_0x34f678});this[_0x5f48d9(0x2e5)]=_0x2b01fb,this[_0x5f48d9(0x13a)][_0x5f48d9(0x249)](_0x2b01fb,_0x536f28),this[_0x5f48d9(0x198)]=!0x1;}[_0x4cb6a4(0x27d)](){const _0x28b39c=_0x4cb6a4,_0x45447c=this['_anchor']['onPointerEnter$'][_0x28b39c(0x119)](()=>{this['_hover']=!0x0;}),_0xd5d7b6=this[_0x28b39c(0x2a7)]['onPointerLeave$'][_0x28b39c(0x119)](()=>{const _0x37901f=_0x28b39c;this[_0x37901f(0x269)]&&clearTimeout(this['_hideTimer']),this[_0x37901f(0x269)]=setTimeout(()=>{const _0x151e7f=_0x37901f;this[_0x151e7f(0x198)]=!0x1;},0x7d0);});return()=>{const _0x4bd721=_0x28b39c;_0x45447c[_0x4bd721(0x241)](),_0xd5d7b6[_0x4bd721(0x241)]();};}[_0x4cb6a4(0x28d)](_0x479b0e,_0x237a12,_0x1ca9b9,_0x6dacda){const _0x478b2e=_0x4cb6a4,_0x1218eb=new _0x3db1df(_0x479b0e)[_0x478b2e(0x16a)](0.2)[_0x478b2e(0x151)](),_0x3ef8bd=new _0x4ac39(Xi+_0x3bf90d(z),{'pointsGroup':_0x237a12,'fill':_0x1218eb||_0x3dd5c1(_0x4887fc[_0x478b2e(0x19a)],0.2),'left':_0x1ca9b9,'top':_0x6dacda,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x478b2e(0x2a4)][_0x478b2e(0x163)](_0x3ef8bd),this[_0x478b2e(0x13a)][_0x478b2e(0x249)](_0x3ef8bd,_0x536f28);}[_0x4cb6a4(0x195)](_0x55fd4a,_0x2b3c69,_0x3fb6dc,_0x44ca96){const _0x2b488b=_0x4cb6a4,_0x31a5e0=new _0x3db1df(_0x55fd4a)[_0x2b488b(0x16a)](0.2)['toRgbString'](),_0x531b68=new _0x4ac39(Gi+_0x3bf90d(z),{'pointsGroup':_0x2b3c69,'fill':_0x31a5e0||_0x3dd5c1(_0x4887fc[_0x2b488b(0x19a)],0.2),'left':_0x3fb6dc,'top':_0x44ca96,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2b488b(0x2a4)][_0x2b488b(0x163)](_0x531b68),this[_0x2b488b(0x13a)][_0x2b488b(0x249)](_0x531b68,_0x536f28);}[_0x4cb6a4(0x1b3)](_0x320e54){const _0x5d7fbe=_0x320e54[0x0],_0x157718=_0x5d7fbe[0x0],_0x34f4e1=_0x5d7fbe[0x2],{x:_0x20bb6f,y:_0x4a997d}=_0x157718,{x:_0x2d2980,y:_0x2bffc9}=_0x34f4e1;return{'left':_0x20bb6f,'top':_0x4a997d,'width':_0x2d2980-_0x20bb6f,'height':_0x2bffc9-_0x4a997d};}[_0x4cb6a4(0x24a)](){const _0xdfa691=_0x4cb6a4,{scaleX:_0x19f144,scaleY:_0xd18c90}=this['_scene'][_0xdfa691(0x14e)]();return Math[_0xdfa691(0x2eb)](_0x19f144,_0xd18c90);}}var Zi=Object[_0x4cb6a4(0x1ed)],Qi=(_0x2f456c,_0x1354ac,_0x24b5bd,_0x32d772)=>{for(var _0x25d5dd=_0x32d772>0x1?void 0x0:_0x32d772?Zi(_0x1354ac,_0x24b5bd):_0x1354ac,_0x53ef8f=_0x2f456c['length']-0x1,_0x5cab07;_0x53ef8f>=0x0;_0x53ef8f--)(_0x5cab07=_0x2f456c[_0x53ef8f])&&(_0x25d5dd=_0x5cab07(_0x25d5dd)||_0x25d5dd);return _0x25d5dd;},ie=(_0x35435e,_0x13d8ea)=>(_0x4555dc,_0x4ac11e)=>_0x13d8ea(_0x4555dc,_0x4ac11e,_0x35435e);let Fe=class extends _0x387d07{constructor(_0x276986,_0x5c7b8c,_0x54f0a0,_0x211f66,_0x19e476){const _0x6034a0=_0x4cb6a4;super(),_(this,'_cursorShapes',[]),_(this,_0x6034a0(0x23c),[]),(this[_0x6034a0(0x103)]=_0x276986,this[_0x6034a0(0x191)]=_0x5c7b8c,this[_0x6034a0(0x15d)]=_0x54f0a0,this[_0x6034a0(0x259)]=_0x211f66,this[_0x6034a0(0x2af)]=_0x19e476,this['_init']());}[_0x4cb6a4(0x2ce)](){const _0x42c94f=_0x4cb6a4,_0x551b57=this[_0x42c94f(0x103)][_0x42c94f(0x113)],_0x388167=this[_0x42c94f(0x191)];this['disposeWithMe'](_0x18e034([this['_collabCursorController'][_0x42c94f(0x2e6)](_0x551b57),this['_themeService'][_0x42c94f(0xf1)]])['pipe'](_0x7f84b9(([_0x6506c5,_0x2994cc])=>({'skeleton':_0x388167[_0x42c94f(0x196)](),'cursors':[..._0x6506c5[_0x42c94f(0x2c0)]()]['flatMap'](_0x550e47=>({..._0x550e47,'color':this[_0x42c94f(0x2af)]['getColorFromTheme'](_0x550e47[_0x42c94f(0x217)])}))})))[_0x42c94f(0x13b)](_0x2667d1=>{const _0xd5c6c8=_0x42c94f;if(this['_removeCollabCursors'](),_0x2667d1){const {skeleton:_0x20045a,cursors:_0x120152}=_0x2667d1;this[_0xd5c6c8(0x160)](_0x20045a,_0x120152);}})),this[_0x42c94f(0x189)](),this[_0x42c94f(0x2b0)]();}[_0x4cb6a4(0x160)](_0x16dfcb,_0x4907cf){const _0x22a017=_0x4cb6a4,{scene:_0x25ef0e,mainComponent:_0x2dfe57}=this[_0x22a017(0x103)],_0x1280ff=_0x4907cf[_0x22a017(0xf4)](_0x18bde9=>new ct(_0x18bde9,_0x25ef0e,_0x16dfcb,_0x2dfe57));this[_0x22a017(0x2db)]=_0x1280ff,this[_0x22a017(0x23c)]=_0x4907cf;}[_0x4cb6a4(0x26d)](){const _0x2bcf7e=_0x4cb6a4;this[_0x2bcf7e(0x125)]();const {scene:_0x3d733c,mainComponent:_0x2d00d9}=this[_0x2bcf7e(0x103)],_0x59b5a4=this[_0x2bcf7e(0x191)]['getSkeleton'](),_0x3019af=this[_0x2bcf7e(0x23c)][_0x2bcf7e(0xf4)](_0x1eeea7=>new ct(_0x1eeea7,_0x3d733c,_0x59b5a4,_0x2d00d9));this['_cursorShapes']=_0x3019af;}['_removeCollabCursors'](){const _0x3c1dc2=_0x4cb6a4;this[_0x3c1dc2(0x2db)][_0x3c1dc2(0xea)](_0x2006d6=>_0x2006d6[_0x3c1dc2(0x17f)]()),this[_0x3c1dc2(0x2db)]=[];}[_0x4cb6a4(0x2b0)](){const _0x3c97fc=_0x4cb6a4,_0x4fe0f9=[_0x4fc292['id']];this[_0x3c97fc(0x1b2)](this['_commandService'][_0x3c97fc(0x169)](_0x1c86cd=>{const _0x5777f7=_0x3c97fc;_0x4fe0f9['includes'](_0x1c86cd['id'])&&_0x1c86cd[_0x5777f7(0x1ff)]['unitId']===this['_context'][_0x5777f7(0x113)]&&this[_0x5777f7(0x26d)]();}));}['_initResize'](){const _0x1cedf3=_0x4cb6a4;this[_0x1cedf3(0x1b2)](_0x5c84a5(this['_context']['engine'][_0x1cedf3(0x120)])[_0x1cedf3(0xcd)](_0x6356d3(_0x475ba3=>_0x475ba3[_0x1cedf3(0x17e)]===_0xd38e99['resize']),_0x457313(0x10))[_0x1cedf3(0x13b)](()=>{const _0x109ae0=_0x1cedf3;this[_0x109ae0(0x26d)]();}));}};Fe=Qi([ie(0x1,_0x460697(_0x3c907e)),ie(0x2,_0x460697(H)),ie(0x3,_0x29d21c),ie(0x4,_0x460697(_0x286aec))],Fe);const qi=0x1,en=1.5;class tn extends _0x18811c{constructor(_0x252e5d,_0x5330f0){const _0x1930b4=_0x4cb6a4;super(_0x252e5d,_0x5330f0),_(this,_0x1930b4(0x21f)),_(this,'_hovered',!0x1),_(this,_0x1930b4(0x24e)),_(this,_0x1930b4(0x1a4),''),_(this,_0x1930b4(0x170),_0x1930b4(0x2a3)),_(this,'_backgroundColor'),(_0x5330f0&&this[_0x1930b4(0x23b)](_0x5330f0),this[_0x1930b4(0x155)][_0x1930b4(0x119)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this[_0x1930b4(0x23b)]({'hovered':!0x1})));}['setShapeProps'](_0x310961){const _0x4895f1=_0x4cb6a4;var _0x2eeba8,_0x2f4bf2,_0x2733e6,_0x3da23a,_0x2de986,_0x22b5a7;this[_0x4895f1(0x21f)]=(_0x2eeba8=_0x310961[_0x4895f1(0x217)])!=null?_0x2eeba8:this['_color'],this[_0x4895f1(0x262)]=(_0x2f4bf2=_0x310961[_0x4895f1(0x2d5)])!=null?_0x2f4bf2:this['_hovered'],this[_0x4895f1(0x24e)]=(_0x2733e6=_0x310961[_0x4895f1(0x273)])!=null?_0x2733e6:this[_0x4895f1(0x24e)],this[_0x4895f1(0x1a4)]=(_0x3da23a=_0x310961[_0x4895f1(0x2f5)])!=null?_0x3da23a:this[_0x4895f1(0x1a4)],this[_0x4895f1(0x170)]=(_0x2de986=_0x310961[_0x4895f1(0xfc)])!=null?_0x2de986:this['_labelPosition'],this[_0x4895f1(0x2e9)]=(_0x22b5a7=_0x310961[_0x4895f1(0x1fb)])!=null?_0x22b5a7:this[_0x4895f1(0x2e9)],this[_0x4895f1(0x2c8)]({'width':_0x310961[_0x4895f1(0x20f)],'height':_0x310961['height']});}[_0x4cb6a4(0x19e)](_0x1e9765){const _0x5171be=_0x4cb6a4,{row:_0x362f4f,column:_0x491e27}=_0x1e9765;if(_0x362f4f>=this['_range'][_0x5171be(0xd4)]&&_0x362f4f<=this[_0x5171be(0x24e)]['endRow']&&_0x491e27>=this[_0x5171be(0x24e)][_0x5171be(0x300)]&&_0x491e27<=this[_0x5171be(0x24e)][_0x5171be(0xc2)]){this[_0x5171be(0x23b)]({'hovered':!0x0});return;}this[_0x5171be(0x23b)]({'hovered':!0x1});}['triggerDblclick'](_0x5eb322){return!0x1;}[_0x4cb6a4(0x227)](_0x2fb74a){const _0x578b70=_0x4cb6a4;_0x30b3bc[_0x578b70(0x1aa)](_0x2fb74a,{'width':this[_0x578b70(0x20f)],'height':this[_0x578b70(0x1c9)],'strokeWidth':en,'stroke':this[_0x578b70(0x21f)],'evented':!0x1,'fill':this[_0x578b70(0x2e9)]}),this[_0x578b70(0x262)]&&(_0x2fb74a[_0x578b70(0x29c)](),_0x2fb74a['transform'](0x1,0x0,0x0,0x1,this[_0x578b70(0x20f)],this[_0x578b70(0x170)]===_0x578b70(0x207)?0x0:-Q),ve['drawWith'](_0x2fb74a,{'text':this[_0x578b70(0x1a4)],'color':this[_0x578b70(0x21f)]}),_0x2fb74a[_0x578b70(0x1e0)]());}}var sn=Object['getOwnPropertyDescriptor'],nn=(_0x5450f2,_0x34b6e5,_0xed10de,_0x41613a)=>{const _0x5f2500=_0x4cb6a4;for(var _0x523dcb=_0x41613a>0x1?void 0x0:_0x41613a?sn(_0x34b6e5,_0xed10de):_0x34b6e5,_0x24255c=_0x5450f2[_0x5f2500(0x179)]-0x1,_0x128d31;_0x24255c>=0x0;_0x24255c--)(_0x128d31=_0x5450f2[_0x24255c])&&(_0x523dcb=_0x128d31(_0x523dcb)||_0x523dcb);return _0x523dcb;},be=(_0xe62634,_0x47ad3c)=>(_0x3d71e1,_0x2ef415)=>_0x47ad3c(_0x3d71e1,_0x2ef415,_0xe62634);const rn=0x1389;let ke=class extends _0x387d07{constructor(_0x3dce31,_0x5f2771,_0x1007f5,_0x11ad24){const _0x52455b=_0x4cb6a4;super(),_(this,_0x52455b(0x23c),new Set()),_(this,_0x52455b(0x1e9),null),(this[_0x52455b(0x103)]=_0x3dce31,this[_0x52455b(0x239)]=_0x5f2771,this['_collabCursorController']=_0x1007f5,this[_0x52455b(0x2af)]=_0x11ad24,this[_0x52455b(0x2ce)]());}[_0x4cb6a4(0x2ce)](){const _0x513f78=_0x4cb6a4;this['_sheetSkeletonManagerService'][_0x513f78(0x206)][_0x513f78(0xcd)](_0x3f1e44(this[_0x513f78(0x165)]),_0x1d66f6(_0x10d4e4=>{const _0x4441bd=_0x513f78;if(_0x10d4e4){const _0x178259=_0x10d4e4[_0x4441bd(0x22a)];return _0x18e034(this['_collabCursorController'][_0x4441bd(0x2e6)](this[_0x4441bd(0x103)][_0x4441bd(0x113)]),this[_0x4441bd(0x2af)][_0x4441bd(0xf1)])[_0x4441bd(0xcd)](_0x7f84b9(([_0x4cbf22,_0x561798])=>{const _0x34968b=_0x4441bd,_0x21ed19=new Map();return _0x4cbf22[_0x34968b(0xea)]((_0x54d0c2,_0x49d96a)=>{const _0x397394=_0x34968b;if(_0x54d0c2[_0x397394(0x295)]===_0x178259){const _0x1098c6={..._0x54d0c2};_0x1098c6[_0x397394(0x217)]=this[_0x397394(0x2af)][_0x397394(0x2e0)](_0x54d0c2[_0x397394(0x217)]),_0x21ed19[_0x397394(0x187)](_0x49d96a,_0x1098c6);}}),{'skeleton':_0x10d4e4,'cursors':_0x21ed19};}));}return _0xd3f9fe({'skeleton':null,'cursors':new Map()});}))[_0x513f78(0x13b)](({skeleton:_0x4eb1a5,cursors:_0x26b1a3})=>{const _0x33a5be=_0x513f78;this['_removeCollabCursors'](),_0x4eb1a5&&this[_0x33a5be(0x160)](_0x4eb1a5,_0x26b1a3);}),this[_0x513f78(0x239)]['currentSkeleton$']['subscribe'](_0x4836a4=>{const _0x5b036a=_0x513f78;if(_0x4836a4==null)return;const {skeleton:_0x3d894d}=_0x4836a4,{scene:_0x54bb46}=this[_0x5b036a(0x103)];_0x54bb46[_0x5b036a(0x26c)][_0x5b036a(0x119)](_0x357798(_0x3a9dfc=>{const _0x4813cc=_0x5b036a;var _0x54e09f,_0x560c37;const {offsetX:_0x4cb527,offsetY:_0xbc22db}=_0x3a9dfc,{x:_0x1caf75,y:_0x4bfede}=_0x54bb46[_0x4813cc(0x308)](_0x224b9a[_0x4813cc(0x1b7)]([_0x4cb527,_0xbc22db])),{scaleX:_0x12ea88,scaleY:_0x32084f}=_0x54bb46[_0x4813cc(0x14e)](),_0x334713=_0x54bb46['getViewport'](_0x12a7e5['VIEW_MAIN']),_0x97aab6=_0x54bb46[_0x4813cc(0x21a)](_0x224b9a[_0x4813cc(0x1b7)]([_0x1caf75,_0x4bfede]),_0x334713),_0x2669e3=_0x3d894d[_0x4813cc(0x2e3)](_0x4cb527,_0xbc22db,_0x12ea88,_0x32084f,_0x97aab6);((_0x54e09f=this['_lastPointer'])==null?void 0x0:_0x54e09f[_0x4813cc(0x27a)])===_0x2669e3['column']&&((_0x560c37=this['_lastPointer'])==null?void 0x0:_0x560c37[_0x4813cc(0xd3)])===_0x2669e3['row']||this[_0x4813cc(0x23c)][_0x4813cc(0xea)](_0x22e3b8=>{const _0x72bff=_0x4813cc;_0x22e3b8[_0x72bff(0x19e)](_0x2669e3);});},0x64));});}[_0x4cb6a4(0x160)](_0x3806e6,_0x198391){const _0x5006d1=_0x4cb6a4;var _0x2a074d;const _0x55641a=(_0x2a074d=this[_0x5006d1(0x239)][_0x5006d1(0x28f)]())==null?void 0x0:_0x2a074d[_0x5006d1(0x16e)];if(!_0x55641a)return;const _0x135ca7=this[_0x5006d1(0x1dd)]();if(!_0x135ca7)return;this[_0x5006d1(0x23c)][_0x5006d1(0xea)](_0x95f3a=>{const _0x363962=_0x5006d1;_0x95f3a[_0x363962(0x2c1)]();});const {scene:_0x49c195}=_0x135ca7,_0x30780c=on(Array[_0x5006d1(0x204)](_0x198391[_0x5006d1(0x2c0)]()))[_0x5006d1(0xf4)](_0x5f4f8c=>{const _0x222ca6=_0x5006d1,{color:_0x39dbdb,range:_0x4b0790,name:_0x3b5cf9,selection:_0x524618,sheetID:_0x341403}=_0x5f4f8c,{startColumn:_0x2af847,startRow:_0x546cce,endColumn:_0x426390,endRow:_0x6e61c0}=_0x4b0790,_0x576662=_0x500f41(_0x546cce,_0x2af847,_0x49c195,_0x55641a),_0x2276d3=_0x500f41(_0x6e61c0,_0x426390,_0x49c195,_0x55641a),{columnHeaderHeightAndMarginTop:_0x347bf5}=_0x55641a,{startX:_0x1fa32c,startY:_0xfc73e3}=_0x576662,{endX:_0x1b1280,endY:_0x36f21e}=_0x2276d3,_0x33d4f8=_0x1b1280-_0x1fa32c,_0x280e0b=_0x36f21e-_0xfc73e3,_0x502a08={'labelPosition':_0xfc73e3-_0x347bf5>=Q?_0x222ca6(0x2a3):_0x222ca6(0x207),'sheetID':_0x341403,'range':_0x4b0790,'color':_0x39dbdb,'name':_0x3b5cf9,'selection':_0x524618,'left':_0x1fa32c,'top':_0xfc73e3,'width':_0x33d4f8,'height':_0x280e0b,'evented':!0x1,'zIndex':rn};return new tn(_0x3b5cf9,_0x502a08);});_0x49c195[_0x5006d1(0x1bf)](_0x30780c,qi),this[_0x5006d1(0x23c)]=new Set(_0x30780c);}[_0x4cb6a4(0x125)](){const _0x2301ce=_0x4cb6a4;var _0x118829;(_0x118829=this[_0x2301ce(0x23c)])==null||_0x118829[_0x2301ce(0xea)](_0x333cd2=>_0x333cd2[_0x2301ce(0x17f)]());}[_0x4cb6a4(0x1dd)](){const _0x3a83d9=_0x4cb6a4;return _0x54d3b3(this[_0x3a83d9(0x103)][_0x3a83d9(0x1e6)],this[_0x3a83d9(0x103)]);}};ke=nn([be(0x1,_0x460697(_0x532b10)),be(0x2,_0x460697(H)),be(0x3,_0x460697(_0x286aec))],ke);function on(_0x12f38e){const _0x563205=_0x4cb6a4,_0x16f61f=new Map();return _0x12f38e[_0x563205(0xea)](_0x4bb729=>{const _0x5369dd=_0x563205;if(_0x16f61f[_0x5369dd(0x282)](_0x4bb729[_0x5369dd(0x24b)])){const _0x217ece=_0x16f61f[_0x5369dd(0x242)](_0x4bb729['selection']);_0x217ece[_0x5369dd(0x2f5)]+=',\x20'+_0x4bb729[_0x5369dd(0x2f5)];}else _0x16f61f[_0x5369dd(0x187)](_0x4bb729['selection'],_0x4bb729);}),Array['from'](_0x16f61f[_0x563205(0x2c0)]());}var an=Object[_0x4cb6a4(0x1ed)],cn=(_0x25f3de,_0x1d1808,_0x1dac50,_0x5a8574)=>{const _0x47762=_0x4cb6a4;for(var _0x59ea30=_0x5a8574>0x1?void 0x0:_0x5a8574?an(_0x1d1808,_0x1dac50):_0x1d1808,_0x363edd=_0x25f3de[_0x47762(0x179)]-0x1,_0x54dea2;_0x363edd>=0x0;_0x363edd--)(_0x54dea2=_0x25f3de[_0x363edd])&&(_0x59ea30=_0x54dea2(_0x59ea30)||_0x59ea30);return _0x59ea30;},F=(_0x539799,_0x4dedaf)=>(_0x482b3a,_0x28f52f)=>_0x4dedaf(_0x482b3a,_0x28f52f,_0x539799);let _e=class extends _0x4bd602{constructor(_0x459803,_0x57dac2,_0x379dfe,_0x204a65,_0x33133a,_0x7a61be){const _0x27abca=_0x4cb6a4;super(),this[_0x27abca(0x280)]=_0x459803,this['_localCacheService']=_0x57dac2,this[_0x27abca(0x1d5)]=_0x379dfe,this['_messageService']=_0x204a65,this[_0x27abca(0x30b)]=_0x33133a,this['_localeService']=_0x7a61be,this[_0x27abca(0xba)](),this['_initEvent']();}[_0x4cb6a4(0xba)](){const _0xc90a46=_0x4cb6a4;this[_0xc90a46(0x1b2)](this[_0xc90a46(0x280)][_0xc90a46(0x123)](()=>{const _0x374578=_0xc90a46;if(this['_localCacheService']['saveTaskMap'][_0x374578(0x219)])return this['_localeService']['t'](_0x374578(0x20e));}));}['_initEvent'](){const _0x26c870=_0x4cb6a4;this[_0x26c870(0x1b2)](this[_0x26c870(0x1d5)][_0x26c870(0x135)]['subscribe'](_0x3d0e7a=>{const _0x60e64=_0x26c870;_0x3d0e7a['id']===_0x684afe[_0x60e64(0xdf)]&&this[_0x60e64(0xd9)][_0x60e64(0x2ac)]({'type':_0x319fef[_0x60e64(0xcf)],'content':this[_0x60e64(0x277)]['t'](_0x60e64(0x27e))}),_0x3d0e7a['id']===_0x684afe[_0x60e64(0x30a)]&&this['_messageService'][_0x60e64(0x2ac)]({'type':_0x319fef['Warning'],'content':this[_0x60e64(0x277)]['t']('collaboration.closeRoom')}),_0x3d0e7a['id']===_0x684afe[_0x60e64(0xe9)]&&this[_0x60e64(0x30b)][_0x60e64(0x2ac)]({'title':this[_0x60e64(0x277)]['t'](_0x60e64(0x152)),'content':this[_0x60e64(0x277)]['t'](_0x60e64(0x18f)),'type':_0x60e64(0x309),'duration':0x0}),_0x3d0e7a['id']===_0x684afe[_0x60e64(0x306)]&&this[_0x60e64(0xd9)][_0x60e64(0x2ac)]({'type':_0x319fef['Error'],'content':this[_0x60e64(0x277)]['t']('collaboration.closeRoom')+'('+_0x3d0e7a[_0x60e64(0x18b)]+')'}),_0x3d0e7a['id']===_0x684afe[_0x60e64(0xd6)]&&this['_messageService'][_0x60e64(0x2ac)]({'type':_0x319fef[_0x60e64(0xcf)],'content':this[_0x60e64(0x277)]['t'](_0x3d0e7a[_0x60e64(0x18b)]||'')}),_0x3d0e7a['id']===_0x684afe[_0x60e64(0x288)]&&this[_0x60e64(0xd9)][_0x60e64(0x2ac)]({'type':_0x319fef[_0x60e64(0xcf)],'content':this[_0x60e64(0x277)]['t'](_0x60e64(0x174))}),_0x3d0e7a['id']===_0x684afe[_0x60e64(0x1e8)]&&this[_0x60e64(0xd9)]['show']({'type':_0x319fef[_0x60e64(0x20d)],'content':this['_localeService']['t'](_0x60e64(0xbf))}),_0x3d0e7a['id']===_0x684afe[_0x60e64(0x21b)]&&this[_0x60e64(0xd9)][_0x60e64(0x2ac)]({'type':_0x319fef[_0x60e64(0x20d)],'content':this[_0x60e64(0x277)]['t']('session.collaboration-timeout')});}));}};_e=cn([F(0x0,_0x40a478),F(0x1,_0xa76635),F(0x2,_0x460697(_0x1527da)),F(0x3,_0x6f3ae),F(0x4,_0xe8a5c1),F(0x5,_0x460697(_0xdd2fc6))],_e);var _n=Object[_0x4cb6a4(0x1ed)],ln=(_0x1a6dcf,_0x31c446,_0x5c4d87,_0xb17b5e)=>{const _0x4152ba=_0x4cb6a4;for(var _0x5f59b4=_0xb17b5e>0x1?void 0x0:_0xb17b5e?_n(_0x31c446,_0x5c4d87):_0x31c446,_0x53f50f=_0x1a6dcf[_0x4152ba(0x179)]-0x1,_0x22ae74;_0x53f50f>=0x0;_0x53f50f--)(_0x22ae74=_0x1a6dcf[_0x53f50f])&&(_0x5f59b4=_0x22ae74(_0x5f59b4)||_0x5f59b4);return _0x5f59b4;},ne=(_0x23ecc6,_0x314426)=>(_0x237e07,_0x293c45)=>_0x314426(_0x237e07,_0x293c45,_0x23ecc6);let le=class extends _0x4bd602{constructor(_0x4d0cbd,_0x4a7d5f,_0x1a931b,_0x48d90c){const _0xcb9df9=_0x4cb6a4;super(),_(this,_0xcb9df9(0x130)),(this[_0xcb9df9(0x14d)]=_0x4d0cbd,this['_httpService']=_0x4a7d5f,this[_0xcb9df9(0x2d0)]=_0x1a931b,this[_0xcb9df9(0x1db)]=_0x48d90c,this[_0xcb9df9(0x2ce)]());}['_init'](){const _0x5188b3=_0x4cb6a4;this[_0x5188b3(0x106)](),this[_0x5188b3(0x2b6)](),this[_0x5188b3(0xe1)](),this['_initUserListener']();}['_initUserListener'](){const _0x5759d4=_0x4cb6a4;this[_0x5759d4(0x1b2)](this[_0x5759d4(0x1db)]['socket$']['subscribe'](_0x4717fc=>{this['_memberID']=_0x4717fc==null?void 0x0:_0x4717fc['memberID'];}));}[_0x4cb6a4(0x106)](){const _0x4086e5=_0x4cb6a4,_0x9f2d6d=_0x441a5d=>{const _0x7329ef=_0x3956;var _0x9cd3f2;this[_0x7329ef(0x11f)](_0x7329ef(0x309),_0x7329ef(0x177)+_0x441a5d[_0x7329ef(0xee)]+_0x7329ef(0x2e1)+_0x441a5d[_0x7329ef(0x193)]+':'+_0x441a5d[_0x7329ef(0x197)]+':'+_0x441a5d[_0x7329ef(0x215)]+'\x0a'+(((_0x9cd3f2=_0x441a5d[_0x7329ef(0x309)])==null?void 0x0:_0x9cd3f2[_0x7329ef(0x2b4)])||''));};window[_0x4086e5(0x258)](_0x4086e5(0x309),_0x9f2d6d),this[_0x4086e5(0x1b2)](()=>{const _0x22e9fc=_0x4086e5;window[_0x22e9fc(0x1dc)](_0x22e9fc(0x309),_0x9f2d6d);});}[_0x4cb6a4(0x2b6)](){const _0x59281e=_0x4cb6a4,_0x394da6=_0x53e86e=>{const _0x1ce297=_0x3956;this[_0x1ce297(0x11f)](_0x1ce297(0x309),'[Unhandled\x20Rejection]:\x20'+_0x53e86e[_0x1ce297(0x14f)]);};window[_0x59281e(0x258)](_0x59281e(0x28b),_0x394da6),this[_0x59281e(0x1b2)](()=>{const _0x49789f=_0x59281e;window[_0x49789f(0x1dc)](_0x49789f(0x28b),_0x394da6);});}[_0x4cb6a4(0xe1)](){const _0x2d60c4=_0x4cb6a4,_0x21d66d=this['_logService'][_0x2d60c4(0x309)][_0x2d60c4(0x216)](this[_0x2d60c4(0x2d0)]);this[_0x2d60c4(0x2d0)][_0x2d60c4(0x309)]=(..._0x55d6d9)=>{const _0x31cf45=_0x2d60c4,_0x1b7298=_0x55d6d9['map'](_0x1bc8b0=>_0x1bc8b0 instanceof Error?_0x1bc8b0[_0x31cf45(0xee)]+'\x0a'+_0x1bc8b0['stack']:String(_0x1bc8b0))['join']('\x20');this['_uploadLog'](_0x31cf45(0x309),_0x31cf45(0x275)+_0x1b7298),_0x21d66d(..._0x55d6d9);},this[_0x2d60c4(0x1b2)](()=>{const _0x1c5a30=_0x2d60c4;this[_0x1c5a30(0x2d0)][_0x1c5a30(0x309)]=_0x21d66d;});}[_0x4cb6a4(0x11f)](_0x259c32,_0x2a1ed5){const _0xbeaba9=_0x4cb6a4;try{const _0x52a1ce={'userId':this[_0xbeaba9(0x130)],'logLabel':_0x259c32,'content':_0x2a1ed5};this['_httpService']['post'](_0xbeaba9(0x2cc),{'body':_0x52a1ce})[_0xbeaba9(0x292)](()=>{});}catch{}}};le=ln([ne(0x0,_0x460697(_0x307bfd)),ne(0x1,_0x460697(_0x3f1253)),ne(0x2,_0x21d8d8),ne(0x3,_0x460697(_0x225480))],le);const hn=_0x4cb6a4(0x161),_t={};var un=Object['getOwnPropertyDescriptor'],dn=(_0x387e49,_0xb7a1e7,_0x6be8c3,_0x48c78d)=>{const _0x2c57ab=_0x4cb6a4;for(var _0x435ea7=_0x48c78d>0x1?void 0x0:_0x48c78d?un(_0xb7a1e7,_0x6be8c3):_0xb7a1e7,_0x4d772f=_0x387e49[_0x2c57ab(0x179)]-0x1,_0x2edc46;_0x4d772f>=0x0;_0x4d772f--)(_0x2edc46=_0x387e49[_0x4d772f])&&(_0x435ea7=_0x2edc46(_0x435ea7)||_0x435ea7);return _0x435ea7;},lt=(_0x37633b,_0x2a8982)=>(_0x522706,_0x31ce7c)=>_0x2a8982(_0x522706,_0x31ce7c,_0x37633b);let he=class{constructor(_0x23166b,_0xc59d8b){const _0x149ee0=_0x4cb6a4;this[_0x149ee0(0x2e2)]=_0x23166b,this[_0x149ee0(0x19c)]=_0xc59d8b;}[_0x4cb6a4(0xe5)](_0x58478d){const _0x5658ab=_0x4cb6a4;this['_transformUndoRedoStack'](_0x58478d),this[_0x5658ab(0x26b)](_0x58478d);}[_0x4cb6a4(0x15f)](_0x287491){const _0x27d22c=_0x4cb6a4,{unitID:_0x59d6aa}=_0x287491,_0x7cafbd=this['_renderManagerService'][_0x27d22c(0x2c7)](_0x59d6aa)[_0x27d22c(0x132)](_0x3fcd4a),{redoCache:_0x54a114}=_0x7cafbd[_0x27d22c(0x2de)]();if(_0x54a114['length']===0x0)return _0x287491;let _0xcd5880=_0x3843dc[_0x27d22c(0x1cf)](_0x287491[_0x27d22c(0x223)][0x0]);for(let _0x45ff3e=0x0;_0x45ff3e<_0x54a114[_0x27d22c(0x179)];_0x45ff3e++){const _0x1259f1={'id':'doc.mutation.rich-text-editing','params':{..._0x54a114[_0x45ff3e]}},_0x2092fe=this[_0x27d22c(0x2e2)][_0x27d22c(0xf8)](_0xcd5880,_0x1259f1,!0x1);if(_0x36a568(_0x2092fe))throw _0x2092fe['error'];_0xcd5880=_0x2092fe[_0x27d22c(0x133)];}return{..._0x3843dc['deepClone'](_0x287491),'mutations':[_0xcd5880]};}['_transformUndoRedoStack'](_0x3dc1c8){const _0x8bd467=_0x4cb6a4,{unitID:_0x23987f}=_0x3dc1c8,_0xe9e171=this[_0x8bd467(0x19c)][_0x8bd467(0x2c7)](_0x23987f)[_0x8bd467(0x132)](_0x3fcd4a),{undoCache:_0x140db6,redoCache:_0x277746}=_0xe9e171[_0x8bd467(0x2de)]();if(_0x140db6[_0x8bd467(0x179)]===0x0||_0x277746[_0x8bd467(0x179)]===0x0)return;const _0xa80801=[],_0x1fee1b=[];let _0x46dd60=_0x3843dc[_0x8bd467(0x1cf)](_0x3dc1c8['mutations'][0x0]),_0x46cc41=_0x3843dc[_0x8bd467(0x1cf)](_0x3dc1c8['mutations'][0x0]);for(let _0x3e2f88=_0x140db6[_0x8bd467(0x179)]-0x1;_0x3e2f88>=0x0;_0x3e2f88--){const _0x3e7ff5={'id':_0x8bd467(0x1a0),'params':{..._0x140db6[_0x3e2f88]}},_0x5cc545={'id':'doc.mutation.rich-text-editing','params':{..._0x277746[_0x3e2f88]}},_0x3fcc1e=this[_0x8bd467(0x2e2)]['transformMutation'](_0x46dd60,_0x3e7ff5,!0x1),_0x44a4fe=this[_0x8bd467(0x2e2)]['transformMutation'](_0x46cc41,_0x5cc545,!0x1);if(_0x36a568(_0x3fcc1e))throw _0x3fcc1e[_0x8bd467(0x309)];if(_0x36a568(_0x44a4fe))throw _0x44a4fe['error'];_0xa80801[_0x8bd467(0x122)](_0x3fcc1e['m2Prime']['params']),_0x1fee1b[_0x8bd467(0x122)](_0x44a4fe[_0x8bd467(0xfe)][_0x8bd467(0x1ff)]),_0x46dd60=_0x3fcc1e['m1Prime'],_0x46cc41=_0x44a4fe[_0x8bd467(0x133)];}_0xe9e171[_0x8bd467(0xef)]({'undoCache':_0xa80801,'redoCache':_0x1fee1b});}['_transformPreviousActiveRange'](_0x137c1e){const _0x5a69be=_0x4cb6a4,{unitID:_0x1c378a}=_0x137c1e,_0x192ba9=this['_renderManagerService']['getRenderById'](_0x1c378a)['with'](_0x3fcd4a),_0x516ee7=_0x192ba9[_0x5a69be(0x1c7)]();if(_0x516ee7==null)return;const _0x44b195=[{'id':_0x5a69be(0x1a0),'params':{'unitId':_0x137c1e['unitID'],'actions':null,'textRanges':[_0x516ee7]}}],_0x4136ee=this[_0x5a69be(0x2e2)][_0x5a69be(0x18d)](_0x137c1e,_0x44b195);if(!_0x3a7478(_0x4136ee))throw _0x4136ee[_0x5a69be(0x309)];const _0x5cd4e0=_0x4136ee['m2Prime'][0x0]['params'][_0x5a69be(0x15e)];Array[_0x5a69be(0x22e)](_0x5cd4e0)&&_0x5cd4e0[_0x5a69be(0x179)]&&_0x192ba9[_0x5a69be(0x2d6)](_0x5cd4e0[0x0]);}};he=dn([lt(0x0,_0x480862),lt(0x1,_0x591858)],he);function _0x3956(_0x290ed1,_0x252d6f){_0x290ed1=_0x290ed1-0xb7;const _0x19b9d5=_0x19b9();let _0x3956ff=_0x19b9d5[_0x290ed1];return _0x3956ff;}var Sn=Object[_0x4cb6a4(0x1ed)],In=(_0x183675,_0x5de88e,_0x5f16e5,_0x34ba35)=>{const _0x5a577b=_0x4cb6a4;for(var _0xd62d6a=_0x34ba35>0x1?void 0x0:_0x34ba35?Sn(_0x5de88e,_0x5f16e5):_0x5de88e,_0x32a978=_0x183675[_0x5a577b(0x179)]-0x1,_0x13c835;_0x32a978>=0x0;_0x32a978--)(_0x13c835=_0x183675[_0x32a978])&&(_0xd62d6a=_0x13c835(_0xd62d6a)||_0xd62d6a);return _0xd62d6a;},Le=(_0x5946e9,_0x5cf945)=>(_0x343b5c,_0x12469e)=>_0x5cf945(_0x343b5c,_0x12469e,_0x5946e9);let ue=class{constructor(_0x2bb867,_0x46cb1f,_0x484be5){const _0x126267=_0x4cb6a4;this[_0x126267(0x14d)]=_0x2bb867,this[_0x126267(0x2e2)]=_0x46cb1f,this[_0x126267(0x2f3)]=_0x484be5;}['transformStateCache'](_0x1017c2){this['_transformHistoryAndStateStack'](_0x1017c2);}[_0x4cb6a4(0x15f)](_0x3d3df1){const _0x449017=_0x4cb6a4,{unitID:_0x46b3d7}=_0x3d3df1,{collaboration:_0x1ada84}=this[_0x449017(0x2f3)][_0x449017(0x1e1)](_0x46b3d7);if(_0x1ada84[_0x449017(0x179)]===0x0)return _0x3d3df1;let _0x37e824=_0x3843dc[_0x449017(0x1cf)](_0x3d3df1['mutations'][0x0]);for(let _0xe29a96=0x0;_0xe29a96<_0x1ada84[_0x449017(0x179)];_0xe29a96++){const _0x3847e6={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1ada84[_0xe29a96][_0x449017(0x113)],..._0x1ada84[_0xe29a96][_0x449017(0x129)]}},_0x1ea2b8=this[_0x449017(0x2e2)][_0x449017(0xf8)](_0x37e824,_0x3847e6,!0x1);if(_0x36a568(_0x1ea2b8))throw _0x1ea2b8['error'];_0x37e824=_0x1ea2b8[_0x449017(0x133)];}return{..._0x3843dc[_0x449017(0x1cf)](_0x3d3df1),'mutations':[_0x37e824]};}[_0x4cb6a4(0x2a2)](_0x56a610){const _0x2f1c75=_0x4cb6a4,{unitID:_0x552ad8}=_0x56a610,{history:_0x323e79,collaboration:_0x228e03}=this[_0x2f1c75(0x2f3)]['getStateCache'](_0x552ad8);if(_0x323e79[_0x2f1c75(0x179)]===0x0&&_0x228e03[_0x2f1c75(0x179)]===0x0)return;const _0x3598b1=[],_0x49ba01=[];let _0x193269=_0x3843dc[_0x2f1c75(0x1cf)](_0x56a610[_0x2f1c75(0x223)][0x0]),_0x59b13b=_0x3843dc[_0x2f1c75(0x1cf)](_0x56a610[_0x2f1c75(0x223)][0x0]);for(let _0x35d337=_0x323e79[_0x2f1c75(0x179)]-0x1;_0x35d337>=0x0;_0x35d337--){const _0x197c43={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x323e79[_0x35d337][_0x2f1c75(0x113)],..._0x323e79[_0x35d337][_0x2f1c75(0x208)]}},_0x5920a3={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x323e79[_0x35d337][_0x2f1c75(0x113)],..._0x323e79[_0x35d337]['redoState']}},_0x487342=this[_0x2f1c75(0x2e2)][_0x2f1c75(0xf8)](_0x193269,_0x197c43,!0x1),_0x11efe8=this[_0x2f1c75(0x2e2)][_0x2f1c75(0xf8)](_0x59b13b,_0x5920a3,!0x1);if(_0x36a568(_0x487342))throw _0x487342[_0x2f1c75(0x309)];if(_0x36a568(_0x11efe8))throw _0x11efe8[_0x2f1c75(0x309)];_0x3598b1['unshift']({..._0x323e79[_0x35d337],'undoState':_0x487342[_0x2f1c75(0xfe)][_0x2f1c75(0x1ff)],'redoState':_0x11efe8[_0x2f1c75(0xfe)]['params']}),_0x193269=_0x487342[_0x2f1c75(0x133)],_0x59b13b=_0x11efe8[_0x2f1c75(0x133)];}_0x193269=_0x3843dc[_0x2f1c75(0x1cf)](_0x56a610[_0x2f1c75(0x223)][0x0]),_0x59b13b=_0x3843dc['deepClone'](_0x56a610[_0x2f1c75(0x223)][0x0]);for(let _0x24aceb=_0x228e03[_0x2f1c75(0x179)]-0x1;_0x24aceb>=0x0;_0x24aceb--){const _0x22e24f={'id':_0x2f1c75(0x1a0),'params':{'unitId':_0x228e03[_0x24aceb][_0x2f1c75(0x113)],..._0x228e03[_0x24aceb]['undoState']}},_0x5a0959={'id':_0x2f1c75(0x1a0),'params':{'unitId':_0x228e03[_0x24aceb]['unitId'],..._0x228e03[_0x24aceb]['redoState']}},_0x208bbc=this[_0x2f1c75(0x2e2)]['transformMutation'](_0x193269,_0x22e24f,!0x1),_0xea7456=this['_transformService'][_0x2f1c75(0xf8)](_0x59b13b,_0x5a0959,!0x1);if(_0x36a568(_0x208bbc))throw _0x208bbc['error'];if(_0x36a568(_0xea7456))throw _0xea7456['error'];_0x49ba01[_0x2f1c75(0x122)]({..._0x228e03[_0x24aceb],'undoState':_0x208bbc[_0x2f1c75(0xfe)][_0x2f1c75(0x1ff)],'redoState':_0xea7456['m2Prime'][_0x2f1c75(0x1ff)]}),_0x193269=_0x208bbc[_0x2f1c75(0x133)],_0x59b13b=_0xea7456['m1Prime'];}this[_0x2f1c75(0x2f3)][_0x2f1c75(0x15b)](_0x552ad8,{'history':_0x3598b1,'collaboration':_0x49ba01});}};ue=In([Le(0x0,_0x460697(_0x307bfd)),Le(0x1,_0x480862),Le(0x2,_0x460697(_0xdeb5eb))],ue);var mn=Object[_0x4cb6a4(0x1ed)],fn=(_0x389c91,_0x3917df,_0x2f898f,_0x4bfa80)=>{const _0x2f1b03=_0x4cb6a4;for(var _0x3630d0=_0x4bfa80>0x1?void 0x0:_0x4bfa80?mn(_0x3917df,_0x2f898f):_0x3917df,_0x312962=_0x389c91[_0x2f1b03(0x179)]-0x1,_0x18577c;_0x312962>=0x0;_0x312962--)(_0x18577c=_0x389c91[_0x312962])&&(_0x3630d0=_0x18577c(_0x3630d0)||_0x3630d0);return _0x3630d0;},ht=(_0x435a2a,_0x5403dc)=>(_0x1d1a5f,_0xff36d1)=>_0x5403dc(_0x1d1a5f,_0xff36d1,_0x435a2a);let de=class{constructor(_0x46d4f4,_0x444ca1){const _0x289844=_0x4cb6a4;this[_0x289844(0x14d)]=_0x46d4f4,this[_0x289844(0x2e2)]=_0x444ca1;}[_0x4cb6a4(0x2fa)](_0x2edb79){const _0x3d8050=_0x4cb6a4;var _0x4b1862;const _0x226c68=this[_0x3d8050(0x14d)]['get'](_0xee7088),_0x247885=(_0x4b1862=_0x226c68[_0x3d8050(0x190)]())!=null?_0x4b1862:[];if(_0x247885[_0x3d8050(0x179)]===0x0)return;const _0x319e7d=_0x2edb79['unitID'],_0x1bcbea=[{'id':_0x3d8050(0x1a0),'params':{'unitId':_0x319e7d,'actions':null,'textRanges':_0x247885}}],_0x2e3f85=this[_0x3d8050(0x2e2)][_0x3d8050(0x18d)](_0x2edb79,_0x1bcbea);if(!_0x3a7478(_0x2e3f85))throw _0x2e3f85[_0x3d8050(0x309)];const _0x229904=_0x2e3f85[_0x3d8050(0xfe)][0x0][_0x3d8050(0x1ff)][_0x3d8050(0x15e)];Array[_0x3d8050(0x22e)](_0x229904)&&_0x229904[_0x3d8050(0x179)]&&_0x226c68[_0x3d8050(0x2a0)](_0x229904,{'unitId':_0x319e7d,'subUnitId':_0x319e7d},!0x1);}};de=fn([ht(0x0,_0x460697(_0x307bfd)),ht(0x1,_0x480862)],de);var gn=Object['getOwnPropertyDescriptor'],En=(_0x3a0a83,_0x2cf78d,_0x8e9ea4,_0x1c57a9)=>{const _0x3b5c3a=_0x4cb6a4;for(var _0xf72dba=_0x1c57a9>0x1?void 0x0:_0x1c57a9?gn(_0x2cf78d,_0x8e9ea4):_0x2cf78d,_0x26eff2=_0x3a0a83[_0x3b5c3a(0x179)]-0x1,_0x54a0eb;_0x26eff2>=0x0;_0x26eff2--)(_0x54a0eb=_0x3a0a83[_0x26eff2])&&(_0xf72dba=_0x54a0eb(_0xf72dba)||_0xf72dba);return _0xf72dba;},U=(_0x352d24,_0x4d9ab6)=>(_0x570abd,_0x295e00)=>_0x4d9ab6(_0x570abd,_0x295e00,_0x352d24);let Se=class extends _0x4bd602{constructor(_0x59f604,_0x48884f,_0x433c8a,_0x1ccd8f,_0xe330bd,_0x5481c9,_0x5ccee6,_0x444e6c){const _0x1d1cb0=_0x4cb6a4;super(),_(this,'_status$',new _0x5e0fc0(_0x355c0f[_0x1d1cb0(0x1af)])),(this['_docStateChangeManagerService']=_0x59f604,this[_0x1d1cb0(0x149)]=_0x48884f,this['_docTransformIMECacheService']=_0x433c8a,this[_0x1d1cb0(0x1ef)]=_0x1ccd8f,this[_0x1d1cb0(0x201)]=_0xe330bd,this[_0x1d1cb0(0x126)]=_0x5481c9,this[_0x1d1cb0(0xd9)]=_0x5ccee6,this[_0x1d1cb0(0x277)]=_0x444e6c,this[_0x1d1cb0(0x2f9)]());}[_0x4cb6a4(0x2f9)](){const _0x94f2b2=_0x4cb6a4;this[_0x94f2b2(0x1b2)](this[_0x94f2b2(0x149)][_0x94f2b2(0x254)][_0x94f2b2(0x13b)](_0x2c0c7a=>{const _0x3bf788=_0x94f2b2,_0x3206b4=this[_0x3bf788(0x2f3)]['docStateChange$']['subscribe'](_0x1e7feb=>{const _0x543d95=_0x3bf788;if(_0x1e7feb==null)return;const {unitId:_0x33f956,redoState:_0x113a1e,commandId:_0x38a1a6}=_0x1e7feb;if(_0x33f956!==_0x2c0c7a['unitID'])return;const _0x284dac={'id':_0x38a1a6,'type':_0x735f71[_0x543d95(0xbd)],'params':{'unitId':_0x33f956,'actions':_0x113a1e[_0x543d95(0x1b4)],'textRanges':null}};_0x2c0c7a[_0x543d95(0x11b)](_0x284dac);});if(_0x2c0c7a[_0x3bf788(0x1b2)](_0x3206b4),_0x2c0c7a instanceof _0x3c7015){const _0x13c112={'onTransformIME':_0x5377c8=>this['_docTransformIMECacheService'][_0x3bf788(0xe5)](_0x5377c8),'onTransformState':_0x25d385=>this[_0x3bf788(0x1ef)][_0x3bf788(0x12b)](_0x25d385),'onTransformSelections':_0x300b18=>this[_0x3bf788(0x201)][_0x3bf788(0x2fa)](_0x300b18),'onSyncEditingCollabCursor':_0x451f3f=>this['_docSyncEditingCollabCursorService'][_0x3bf788(0x2ec)](_0x451f3f),'onTransformRemoteChangesetByIMECache':_0x458e0e=>this[_0x3bf788(0x10c)][_0x3bf788(0x15f)](_0x458e0e),'onTransformRemoteChangesetByStateCache':_0xa0269c=>this[_0x3bf788(0x1ef)][_0x3bf788(0x15f)](_0xa0269c)};_0x2c0c7a[_0x3bf788(0x110)](_0x13c112);}}));}};Se=En([U(0x0,_0x460697(_0xdeb5eb)),U(0x1,_0x460697(_0x2a0946)),U(0x2,_0x460697(he)),U(0x3,_0x460697(ue)),U(0x4,_0x460697(de)),U(0x5,_0x460697(ze)),U(0x6,_0x6f3ae),U(0x7,_0x460697(_0xdd2fc6))],Se);var Z=(_0x4fef90=>(_0x4fef90[_0x4fef90['UNDEFINED']=0x0]=_0x4cb6a4(0x137),_0x4fef90[_0x4fef90['OK']=0x1]='OK',_0x4fef90[_0x4fef90['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x4fef90[_0x4fef90[_0x4cb6a4(0xe9)]=0x3]=_0x4cb6a4(0xe9),_0x4fef90[_0x4fef90['NOT_FOUND']=0x4]=_0x4cb6a4(0x250),_0x4fef90[_0x4fef90[_0x4cb6a4(0x11c)]=0x5]=_0x4cb6a4(0x11c),_0x4fef90[_0x4fef90[_0x4cb6a4(0xbc)]=0x6]=_0x4cb6a4(0xbc),_0x4fef90[_0x4fef90[_0x4cb6a4(0x146)]=0x7]=_0x4cb6a4(0x146),_0x4fef90[_0x4fef90[_0x4cb6a4(0x1bc)]=0x8]=_0x4cb6a4(0x1bc),_0x4fef90[_0x4fef90[_0x4cb6a4(0x2ab)]=0x9]=_0x4cb6a4(0x2ab),_0x4fef90[_0x4fef90[_0x4cb6a4(0xc9)]=0xa]=_0x4cb6a4(0xc9),_0x4fef90[_0x4fef90[_0x4cb6a4(0x1a1)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x4fef90[_0x4fef90[_0x4cb6a4(0x27c)]=0xc]=_0x4cb6a4(0x27c),_0x4fef90[_0x4fef90[_0x4cb6a4(0x16f)]=0xd]=_0x4cb6a4(0x16f),_0x4fef90[_0x4fef90[_0x4cb6a4(0x11a)]=0xe]=_0x4cb6a4(0x11a),_0x4fef90[_0x4fef90[_0x4cb6a4(0x1d8)]=0xf]=_0x4cb6a4(0x1d8),_0x4fef90[_0x4fef90[_0x4cb6a4(0x18e)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x4fef90[_0x4fef90[_0x4cb6a4(0x1e5)]=0x64]=_0x4cb6a4(0x1e5),_0x4fef90[_0x4fef90[_0x4cb6a4(0x1d6)]=0x65]=_0x4cb6a4(0x1d6),_0x4fef90[_0x4fef90['USER_NOT_FOUND']=0xc9]=_0x4cb6a4(0x232),_0x4fef90[_0x4fef90[_0x4cb6a4(0x229)]=0xca]='USER_IS_ANONYMOUS',_0x4fef90[_0x4fef90[_0x4cb6a4(0x16b)]=0x1389]=_0x4cb6a4(0x16b),_0x4fef90[_0x4fef90[_0x4cb6a4(0x2f0)]=0x1771]=_0x4cb6a4(0x2f0),_0x4fef90[_0x4fef90[_0x4cb6a4(0xf9)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x4fef90[_0x4fef90[_0x4cb6a4(0x1ab)]=0x1773]=_0x4cb6a4(0x1ab),_0x4fef90[_0x4fef90['APPLY_REJECT']=0x1b59]=_0x4cb6a4(0xc7),_0x4fef90[_0x4fef90['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x4cb6a4(0x23d),_0x4fef90[_0x4fef90[_0x4cb6a4(0x233)]=0x1b5b]=_0x4cb6a4(0x233),_0x4fef90[_0x4fef90['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x4cb6a4(0x1c6),_0x4fef90[_0x4fef90[_0x4cb6a4(0x14b)]=0x1b5d]='APPLY_DUPLICATED',_0x4fef90[_0x4fef90[_0x4cb6a4(0x231)]=0x1f41]=_0x4cb6a4(0x231),_0x4fef90[_0x4fef90[_0x4cb6a4(0x307)]=0x2329]=_0x4cb6a4(0x307),_0x4fef90[_0x4fef90[_0x4cb6a4(0x12c)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x4fef90[_0x4fef90[_0x4cb6a4(0x11e)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x4fef90[_0x4fef90[_0x4cb6a4(0x303)]=0x232c]=_0x4cb6a4(0x303),_0x4fef90[_0x4fef90['LICENSE_DISTRO_REJECTED']=0x232d]=_0x4cb6a4(0x1f6),_0x4fef90[_0x4fef90['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x4cb6a4(0x2a9),_0x4fef90[_0x4fef90[_0x4cb6a4(0x22f)]=0x2712]=_0x4cb6a4(0x22f),_0x4fef90[_0x4fef90[_0x4cb6a4(0x281)]=0x2713]=_0x4cb6a4(0x281),_0x4fef90[_0x4fef90[_0x4cb6a4(0x1c4)]=0x2714]=_0x4cb6a4(0x1c4),_0x4fef90[_0x4fef90[_0x4cb6a4(0x1d3)]=0x271a]=_0x4cb6a4(0x1d3),_0x4fef90[_0x4fef90[_0x4cb6a4(0x1a2)]=0x271b]=_0x4cb6a4(0x1a2),_0x4fef90[_0x4fef90[_0x4cb6a4(0x1c0)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x4fef90[_0x4fef90[_0x4cb6a4(0xfb)]=0x271d]=_0x4cb6a4(0xfb),_0x4fef90[_0x4fef90[_0x4cb6a4(0xbb)]=0x271e]=_0x4cb6a4(0xbb),_0x4fef90[_0x4fef90[_0x4cb6a4(0x1f7)]=0x271f]=_0x4cb6a4(0x1f7),_0x4fef90[_0x4fef90[_0x4cb6a4(0xe8)]=0x2720]=_0x4cb6a4(0xe8),_0x4fef90[_0x4fef90[_0x4cb6a4(0xce)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x4fef90[_0x4fef90['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x4cb6a4(0xf3),_0x4fef90[_0x4fef90[_0x4cb6a4(0x16d)]=0x2ee2]=_0x4cb6a4(0x16d),_0x4fef90[_0x4fef90['INVITE_CODE_REQUIRED']=0x2ee3]=_0x4cb6a4(0x274),_0x4fef90[_0x4fef90[_0x4cb6a4(0x1f2)]=0x2ee4]=_0x4cb6a4(0x1f2),_0x4fef90[_0x4fef90[_0x4cb6a4(0x2d9)]=0x2ee5]=_0x4cb6a4(0x2d9),_0x4fef90[_0x4fef90[_0x4cb6a4(0x2a6)]=0x32c9]=_0x4cb6a4(0x2a6),_0x4fef90[_0x4fef90['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x4cb6a4(0x1a9),_0x4fef90[_0x4fef90[_0x4cb6a4(0x175)]=0x32cb]=_0x4cb6a4(0x175),_0x4fef90[_0x4fef90[_0x4cb6a4(0x1bd)]=0x36b1]=_0x4cb6a4(0x1bd),_0x4fef90[_0x4fef90['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x4fef90[_0x4fef90[_0x4cb6a4(0x23a)]=0x36b3]=_0x4cb6a4(0x23a),_0x4fef90[_0x4fef90[_0x4cb6a4(0x202)]=0x36b4]=_0x4cb6a4(0x202),_0x4fef90[_0x4fef90[_0x4cb6a4(0x22d)]=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x4fef90[_0x4fef90['ENTITLE_COUPON_EXPIRED']=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x4fef90[_0x4fef90[_0x4cb6a4(0x2b7)]=0x36b7]=_0x4cb6a4(0x2b7),_0x4fef90[_0x4fef90[_0x4cb6a4(0x2fb)]=0x36b8]=_0x4cb6a4(0x2fb),_0x4fef90[_0x4fef90[_0x4cb6a4(0x2bf)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x4fef90[_0x4fef90['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x4cb6a4(0x257),_0x4fef90[_0x4fef90[_0x4cb6a4(0x141)]=0x3717]=_0x4cb6a4(0x141),_0x4fef90[_0x4fef90[_0x4cb6a4(0x244)]=0x37dd]=_0x4cb6a4(0x244),_0x4fef90[_0x4fef90[_0x4cb6a4(0x1fe)]=0x3a99]=_0x4cb6a4(0x1fe),_0x4fef90[_0x4fef90[_0x4cb6a4(0x192)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x4fef90[_0x4fef90['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0x4cb6a4(0x1f4),_0x4fef90[_0x4fef90[_0x4cb6a4(0x127)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x4fef90[_0x4fef90[_0x4cb6a4(0x2cd)]=0x3a9d]=_0x4cb6a4(0x2cd),_0x4fef90[_0x4fef90['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x4cb6a4(0x283),_0x4fef90[_0x4fef90[_0x4cb6a4(0xb9)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x4fef90[_0x4fef90['DATA_SOURCE_TOO_LARGE']=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x4fef90[_0x4fef90[_0x4cb6a4(0x171)]=-0x1]=_0x4cb6a4(0x171),_0x4fef90))(Z||{});function vn(_0x532c39){const _0x19140f=_0x4cb6a4;var _0x18e9b7,_0x2d93b1;const _0x25216f=(_0x18e9b7=_0x532c39[_0x19140f(0x121)])==null?void 0x0:_0x18e9b7[_0x19140f(0x1d2)],_0x3ca0b7=((_0x2d93b1=_0x532c39[_0x19140f(0x121)])==null?void 0x0:_0x2d93b1[_0x19140f(0x301)])||0x0;return _0x25216f===_0x21866a[_0x19140f(0x256)]&&_0x3ca0b7>0x0;}function pn(_0x445f58){const _0x4d50fd=_0x4cb6a4;return _0x445f58[_0x4d50fd(0x10f)]===_0xbfb00a['SUCCESS'];}var On=Object['getOwnPropertyDescriptor'],Tn=(_0xc932b,_0x3a2ec7,_0x424f80,_0x38c736)=>{const _0x27ae1c=_0x4cb6a4;for(var _0x1cbd40=_0x38c736>0x1?void 0x0:_0x38c736?On(_0x3a2ec7,_0x424f80):_0x3a2ec7,_0x15489c=_0xc932b[_0x27ae1c(0x179)]-0x1,_0x453127;_0x15489c>=0x0;_0x15489c--)(_0x453127=_0xc932b[_0x15489c])&&(_0x1cbd40=_0x453127(_0x1cbd40)||_0x1cbd40);return _0x1cbd40;},P=(_0x4386fa,_0xeeb00c)=>(_0x128d22,_0x404234)=>_0xeeb00c(_0x128d22,_0x404234,_0x4386fa);const Cn=_0x4cb6a4(0x194),Rn=_0x4cb6a4(0x188),Dn=_0x4cb6a4(0x150);let Ie=class extends _0x4bd602{constructor(_0x4875ad,_0x5958be,_0x3661bf,_0x31f3d2,_0xae1963,_0x3a619a,_0x2a21fb){const _0x249d9b=_0x4cb6a4;super(),_(this,_0x249d9b(0x1a3),null),_(this,'_maxFormulaLimit',0x0),_(this,_0x249d9b(0x28a),0x0),_(this,'_taskIds',[]),_(this,_0x249d9b(0x10a),0x0),(this['_messageService']=_0x4875ad,this[_0x249d9b(0x259)]=_0x5958be,this[_0x249d9b(0x30f)]=_0x3661bf,this[_0x249d9b(0x1f1)]=_0x31f3d2,this[_0x249d9b(0x168)]=_0xae1963,this[_0x249d9b(0x2d0)]=_0x3a619a,this[_0x249d9b(0x277)]=_0x2a21fb,this['_initCommandInterceptor']());}[_0x4cb6a4(0x2fe)](){const _0x468188=_0x4cb6a4;this[_0x468188(0x1b2)](this[_0x468188(0x259)][_0x468188(0x276)]((_0x1832a8,_0x5a7227)=>{const _0x49bab3=_0x468188;var _0x42f7e8;if(_0x1832a8['id']!==_0x52ebd9['id'])return;const _0x1366cc=_0x1832a8[_0x49bab3(0x1ff)];if(!this[_0x49bab3(0x156)]((_0x42f7e8=_0x1366cc['dirtyRanges'])!=null?_0x42f7e8:[]))return;if(!this[_0x49bab3(0x162)]())throw this['_checkAndWaitForCalculationPermission'](_0x1832a8,_0x5a7227),this[_0x49bab3(0x2ee)](),new _0x3e478b();})),this['disposeWithMe'](this['_commandService'][_0x468188(0x169)]((_0x130793,_0x4a90d7)=>{const _0x2074b9=_0x468188;if(_0x130793['id']!==_0x5a9abe['id'])return;const _0x14616d=_0x130793[_0x2074b9(0x1ff)];if(vn(_0x14616d)){const _0x4ff260=_0x3bf90d();this[_0x2074b9(0x2b2)][_0x2074b9(0x163)](_0x4ff260),this[_0x2074b9(0xf5)](_0x4ff260);}else{if(pn(_0x14616d)&&this[_0x2074b9(0x2b2)]['length']>0x0){const _0x3a00fb=this[_0x2074b9(0x2b2)]['shift']();this[_0x2074b9(0x260)](_0x3a00fb);}}}));}[_0x4cb6a4(0x17f)](){const _0x2d1bc5=_0x4cb6a4;super[_0x2d1bc5(0x17f)](),this[_0x2d1bc5(0x24f)](),this[_0x2d1bc5(0x2b2)]=[],this['_currentUsage']=0x0,this['_maxFormulaLimit']=0x0,this[_0x2d1bc5(0x10a)]=0x0;}async[_0x4cb6a4(0xfd)](_0x4724c4,_0x39a237){const _0xb214e0=_0x4cb6a4;for(let _0x321872=0x0;_0x321872<0x1e;_0x321872++)try{if(await this[_0xb214e0(0xc8)](),this[_0xb214e0(0x162)]()){this[_0xb214e0(0x230)](_0x4724c4,_0x39a237),this[_0xb214e0(0xd9)][_0xb214e0(0x2ac)]({'content':this[_0xb214e0(0x277)]['t']('formula.calculation.started'),'type':_0x319fef['Success']});return;}await new Promise(_0xedd712=>{const _0x58e02a=_0xb214e0;this[_0x58e02a(0x1a3)]=window[_0x58e02a(0x238)](_0xedd712,0x3e8);});}catch(_0x1bd230){this[_0xb214e0(0x2d0)][_0xb214e0(0x309)](_0x1bd230);}this['_messageService'][_0xb214e0(0x2ac)]({'content':this[_0xb214e0(0x277)]['t'](_0xb214e0(0xbe)),'type':_0x319fef[_0xb214e0(0x20d)]});}[_0x4cb6a4(0x230)](_0x48f24f,_0x455253){const _0x12611d=_0x4cb6a4;try{this['_commandService'][_0x12611d(0x200)](_0x48f24f['id'],_0x48f24f['params'],_0x455253);}catch(_0x2b4ba5){this[_0x12611d(0x2d0)][_0x12611d(0x309)](_0x2b4ba5);}}[_0x4cb6a4(0x29d)](_0x3f4329,_0x5782d6){const _0x2989e5=_0x4cb6a4;_0x5782d6<this[_0x2989e5(0x10a)]||(this[_0x2989e5(0x10a)]=_0x5782d6,this[_0x2989e5(0x278)]=Number['parseInt'](_0x3f4329['maxFormulaLimit']),this['_currentUsage']=Number[_0x2989e5(0x1f0)](_0x3f4329['currentUsage']));}async[_0x4cb6a4(0xf5)](_0x2c5303){const _0x167b09=_0x4cb6a4;var _0x3c2600,_0x1f4da2;const _0x192529=Date[_0x167b09(0x17a)]();try{const _0x1724a4=((_0x3c2600=this[_0x167b09(0x30f)][_0x167b09(0x182)](_0x588807))==null?void 0x0:_0x3c2600[_0x167b09(0x1c8)])||Rn,_0x30b30d=(await this[_0x167b09(0x1f1)][_0x167b09(0x10d)](_0x1724a4,{'body':JSON[_0x167b09(0x181)]({'taskId':_0x2c5303})}))['body'];if(((_0x1f4da2=_0x30b30d[_0x167b09(0x309)])==null?void 0x0:_0x1f4da2[_0x167b09(0x310)])!==Z['OK'])return;this[_0x167b09(0x29d)](_0x30b30d['limitInfo'],_0x192529);}catch(_0x14e631){this[_0x167b09(0x2d0)][_0x167b09(0x309)](_0x14e631);}}async[_0x4cb6a4(0xc8)](_0x5b5c44){const _0x410634=_0x4cb6a4;var _0x4c4d2c,_0x3389c6;const _0x591f4b=Date['now']();try{const _0x3f2132=((_0x4c4d2c=this[_0x410634(0x30f)][_0x410634(0x182)](_0x588807))==null?void 0x0:_0x4c4d2c[_0x410634(0x128)])||Cn,_0x157afb=_0x5b5c44?_0x3f2132+_0x410634(0x1ec)+encodeURIComponent(_0x5b5c44):_0x3f2132,_0x13a4bc=(await this['_httpService'][_0x410634(0x242)](_0x157afb))[_0x410634(0x26f)];if(((_0x3389c6=_0x13a4bc[_0x410634(0x309)])==null?void 0x0:_0x3389c6[_0x410634(0x310)])!==Z['OK'])return;this[_0x410634(0x29d)](_0x13a4bc[_0x410634(0x111)],_0x591f4b);}catch(_0x2085f9){this['_logService'][_0x410634(0x309)](_0x2085f9);}}async['_releaseCalculationLimit'](_0x380e7f){const _0x37b81c=_0x4cb6a4;var _0x5eea37,_0x3644bf;const _0x442359=Date[_0x37b81c(0x17a)]();try{const _0x13dbfb=((_0x5eea37=this[_0x37b81c(0x30f)][_0x37b81c(0x182)](_0x588807))==null?void 0x0:_0x5eea37[_0x37b81c(0x294)])||Dn,_0xb56fc3=(await this['_httpService']['post'](_0x13dbfb,{'body':JSON[_0x37b81c(0x181)]({'taskId':_0x380e7f})}))[_0x37b81c(0x26f)];if(((_0x3644bf=_0xb56fc3[_0x37b81c(0x309)])==null?void 0x0:_0x3644bf[_0x37b81c(0x310)])!==Z['OK'])return;this[_0x37b81c(0x29d)](_0xb56fc3[_0x37b81c(0x111)],_0x442359);}catch(_0x19f20a){this[_0x37b81c(0x2d0)][_0x37b81c(0x309)](_0x19f20a);}}[_0x4cb6a4(0x162)](){const _0x419710=_0x4cb6a4;return this['_maxFormulaLimit']===0x0?!0x0:this[_0x419710(0x278)]-this[_0x419710(0x28a)]>0x0;}['_clearPolling'](){const _0x36db22=_0x4cb6a4;this[_0x36db22(0x1a3)]&&(clearTimeout(this[_0x36db22(0x1a3)]),this[_0x36db22(0x1a3)]=null);}[_0x4cb6a4(0x2ee)](){const _0x54b420=_0x4cb6a4;this[_0x54b420(0xd9)]['show']({'content':this[_0x54b420(0x277)]['t'](_0x54b420(0x2f2)),'type':_0x319fef[_0x54b420(0x2f8)]});}[_0x4cb6a4(0x156)](_0x948d94){const _0x4c9e12=_0x4cb6a4;for(const _0x141edd of _0x948d94){const {unitId:_0x7e08d0,sheetId:_0x499987,range:_0x223ce6}=_0x141edd,_0x47c534=this[_0x4c9e12(0x168)][_0x4c9e12(0x2ea)](_0x7e08d0);if(!_0x47c534)continue;const _0x110c93=_0x47c534[_0x4c9e12(0x218)](_0x499987);if(!_0x110c93)continue;const _0xdb33a1=_0x110c93[_0x4c9e12(0x265)]();for(let _0x5f4021=_0x223ce6[_0x4c9e12(0xd4)];_0x5f4021<=_0x223ce6[_0x4c9e12(0x134)];_0x5f4021++)for(let _0x18f660=_0x223ce6[_0x4c9e12(0x300)];_0x18f660<=_0x223ce6[_0x4c9e12(0xc2)];_0x18f660++){const _0x3a5429=_0xdb33a1['getValue'](_0x5f4021,_0x18f660);if(_0x3a5429&&(_0x49453e(_0x3a5429['f'])||_0xd29c8b(_0x3a5429['si'])))return!0x0;}}return!0x1;}};Ie=Tn([P(0x0,_0x460697(_0x6f3ae)),P(0x1,_0x29d21c),P(0x2,_0x5f0f68),P(0x3,_0x460697(_0x3f1253)),P(0x4,_0x14cde1),P(0x5,_0x21d8d8),P(0x6,_0x460697(_0xdd2fc6))],Ie);var Nn=Object[_0x4cb6a4(0x1ed)],bn=(_0x5aaca6,_0x53059d,_0x46e980,_0x3c99cc)=>{const _0x30dc64=_0x4cb6a4;for(var _0x25fa91=_0x3c99cc>0x1?void 0x0:_0x3c99cc?Nn(_0x53059d,_0x46e980):_0x53059d,_0x9f8d15=_0x5aaca6[_0x30dc64(0x179)]-0x1,_0x36a341;_0x9f8d15>=0x0;_0x9f8d15--)(_0x36a341=_0x5aaca6[_0x9f8d15])&&(_0x25fa91=_0x36a341(_0x25fa91)||_0x25fa91);return _0x25fa91;},Ue=(_0x26df7f,_0x2c9c93)=>(_0x1438fd,_0x1298ee)=>_0x2c9c93(_0x1438fd,_0x1298ee,_0x26df7f);let He=class extends _0x4bd602{constructor(_0x37249d,_0x507e60,_0x48d510){const _0x5d2304=_0x4cb6a4;super(),_(this,_0x5d2304(0x158),new Map()),_(this,'_saveTaskMap',new Map()),_(this,_0x5d2304(0x234),!0x1),(this[_0x5d2304(0x30f)]=_0x37249d,this[_0x5d2304(0x1d1)]=_0x507e60,this[_0x5d2304(0x109)]=_0x48d510);}[_0x4cb6a4(0xb7)](){const _0x18a133=_0x4cb6a4;this[_0x18a133(0x234)]=!0x0;}['enableLocalCache'](){const _0x123151=_0x4cb6a4;this[_0x123151(0x234)]=!0x1;}get[_0x4cb6a4(0x210)](){const _0x2804d6=_0x4cb6a4;return this[_0x2804d6(0x138)];}[_0x4cb6a4(0x17f)](){const _0x785770=_0x4cb6a4;this[_0x785770(0x18c)]()['then'](()=>super[_0x785770(0x17f)]());}async[_0x4cb6a4(0x139)](_0x558692){const _0x5d6918=_0x4cb6a4;return this[_0x5d6918(0x234)]?null:this['_localStorageService'][_0x5d6918(0x2cf)](_0x369636(_0x558692));}async[_0x4cb6a4(0x1be)](_0x6142a,_0x3d7acf){const _0x27cbb9=_0x4cb6a4;return!!this[_0x27cbb9(0x1d1)]['setItem'](_0x6142a,_0x3d7acf);}['updateOfflineData'](_0x577fa3,_0x1454cc,_0x43a384,_0x31ddf6){const _0x35864b=_0x4cb6a4,_0x69fb48=this[_0x35864b(0x109)][_0x35864b(0x226)](_0x577fa3);this[_0x35864b(0x158)][_0x35864b(0x187)](_0x577fa3,{'unitID':_0x577fa3,'type':_0x1454cc,'awaitingChangeset':_0x43a384,'mutations':_0x31ddf6,'rev':_0x69fb48}),this['_saveTaskMap'][_0x35864b(0x282)](_0x577fa3)||this[_0x35864b(0x12a)](_0x577fa3);}[_0x4cb6a4(0x12a)](_0x11332e){const _0x269434=_0x4cb6a4,_0x1aebf3=this['_getSaveTimeout']();_0x1aebf3===0x0?this[_0x269434(0x15c)](_0x11332e):this[_0x269434(0x138)]['set'](_0x11332e,setTimeout(()=>this['_saveCache'](_0x11332e),_0x1aebf3));}[_0x4cb6a4(0x180)](){const _0x6f1458=_0x4cb6a4;var _0x318433;return(_0x318433=this[_0x6f1458(0x30f)][_0x6f1458(0x182)](_0x5c878d))!=null?_0x318433:_0x4d3f49;}[_0x4cb6a4(0x15c)](_0x21f165){const _0x6199f9=_0x4cb6a4,_0x4fb5ba=this[_0x6199f9(0x138)]['get'](_0x21f165);return _0x4fb5ba!==void 0x0&&window['clearTimeout'](_0x4fb5ba),this[_0x6199f9(0x1d1)][_0x6199f9(0x12d)](_0x369636(_0x21f165),this[_0x6199f9(0x158)][_0x6199f9(0x242)](_0x21f165))['then'](()=>this['_saveTaskMap'][_0x6199f9(0x220)](_0x21f165));}async[_0x4cb6a4(0x18c)](){const _0x4b3bbc=_0x4cb6a4,_0x2a26dd=[];this['_saveTaskMap'][_0x4b3bbc(0xea)]((_0x481cf0,_0x4f061b)=>{const _0x369f3e=_0x4b3bbc;window[_0x369f3e(0xcc)](_0x481cf0),_0x2a26dd[_0x369f3e(0x163)](this[_0x369f3e(0x15c)](_0x4f061b)['then'](()=>{const _0x209c48=_0x369f3e;this[_0x209c48(0x138)]['delete'](_0x4f061b);}));}),await Promise[_0x4b3bbc(0x142)](_0x2a26dd);}};He=bn([Ue(0x0,_0x5f0f68),Ue(0x1,_0x51c183),Ue(0x2,_0x460697(_0xb9acf4))],He);class Ln extends _0x387d07{constructor(){const _0x45a3d3=_0x4cb6a4;super(),_(this,_0x45a3d3(0x1de)),this[_0x45a3d3(0x1de)]=_0x2fef3d(window,_0x45a3d3(0x2aa))[_0x45a3d3(0xcd)](_0x47dffc(this[_0x45a3d3(0x165)]),_0x6d9b4a(0x1),_0x583303(void 0x0));}[_0x4cb6a4(0x299)](_0x2438ff,_0x26dc06,_0x5c06ef=!0x1){const _0x4a0834=_0x4cb6a4,_0x23468a=new URL(window[_0x4a0834(0x237)][_0x4a0834(0x13f)]);_0x23468a[_0x4a0834(0x2dc)]['set'](_0x2438ff,_0x26dc06),_0x5c06ef?window[_0x4a0834(0x26a)][_0x4a0834(0x20a)]('','',_0x23468a[_0x4a0834(0x145)]()):window[_0x4a0834(0x26a)][_0x4a0834(0x147)]('','',_0x23468a[_0x4a0834(0x145)]());}[_0x4cb6a4(0x2b8)](_0x380528,_0x176d19=!0x1){const _0x3df9d6=_0x4cb6a4,_0x234e58=new URL(window[_0x3df9d6(0x237)][_0x3df9d6(0x13f)]);_0x234e58[_0x3df9d6(0x2dc)][_0x3df9d6(0x220)](_0x380528),_0x176d19?window[_0x3df9d6(0x26a)][_0x3df9d6(0x20a)]('','',_0x234e58['toString']()):window[_0x3df9d6(0x26a)][_0x3df9d6(0x147)]('','',_0x234e58[_0x3df9d6(0x145)]());}[_0x4cb6a4(0x1cc)](_0x5bcc1d){const _0x36b476=_0x4cb6a4;var _0x26c8b0;return(_0x26c8b0=new URL(window[_0x36b476(0x237)][_0x36b476(0x13f)])[_0x36b476(0x2dc)][_0x36b476(0x242)](_0x5bcc1d))!=null?_0x26c8b0:void 0x0;}}var Un=Object[_0x4cb6a4(0x25f)],Mn=Object['getOwnPropertyDescriptor'],An=(_0x32a0b3,_0x3f88d7,_0x2d1c86)=>_0x3f88d7 in _0x32a0b3?Un(_0x32a0b3,_0x3f88d7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d1c86}):_0x32a0b3[_0x3f88d7]=_0x2d1c86,Pn=(_0x58424a,_0x168318,_0x2bdac1,_0x2099ea)=>{const _0x176bd0=_0x4cb6a4;for(var _0x1ea183=_0x2099ea>0x1?void 0x0:_0x2099ea?Mn(_0x168318,_0x2bdac1):_0x168318,_0xe096c8=_0x58424a[_0x176bd0(0x179)]-0x1,_0x5708e1;_0xe096c8>=0x0;_0xe096c8--)(_0x5708e1=_0x58424a[_0xe096c8])&&(_0x1ea183=_0x5708e1(_0x1ea183)||_0x1ea183);return _0x1ea183;},Me=(_0x58dab8,_0x4470ae)=>(_0x3404ce,_0xc0308)=>_0x4470ae(_0x3404ce,_0xc0308,_0x58dab8),wn=(_0xb6c93c,_0x4ccf08,_0x3c6786)=>An(_0xb6c93c,_0x4ccf08+'',_0x3c6786);const yn=_0x4cb6a4(0x1c5);let Ye=class extends _0x28da11{constructor(_0x5796bb=_t,_0x585653,_0x26f5ed,_0x44ba87){const _0x52e852=_0x4cb6a4;super(),this['_config']=_0x5796bb,this[_0x52e852(0x19c)]=_0x585653,this[_0x52e852(0x14d)]=_0x26f5ed,this['_configService']=_0x44ba87;const {..._0x393c8e}=_0xa68d8e({},_t,this[_0x52e852(0x1a6)]);this[_0x52e852(0x30f)][_0x52e852(0xeb)](hn,_0x393c8e);}[_0x4cb6a4(0x255)](){const _0x30e801=_0x4cb6a4;this['_registerDependencies'](),this[_0x30e801(0x224)]();}[_0x4cb6a4(0x11d)](){const _0x1e2345=_0x4cb6a4;this[_0x1e2345(0x2ae)]();}[_0x4cb6a4(0x14c)](){const _0xae1b75=_0x4cb6a4;var _0x5947c3;const _0x59964f=[[Ke],[Ie],[de],[he],[ue],[ze],[yt,{'useClass':Ln}],[_0x23856e,{'useClass':_0x990071}],[_0xa76635,{'useClass':He}],[ae],[Se],[_e],[H],[$e],[ce]];this[_0xae1b75(0x1a6)]['enableFrontendLog']&&_0x59964f[_0xae1b75(0x163)]([le]),_0x26af39(this[_0xae1b75(0x14d)],_0x3aa7dc(_0x59964f,(_0x5947c3=this[_0xae1b75(0x1a6)])==null?void 0x0:_0x5947c3[_0xae1b75(0x2bb)]));}[_0x4cb6a4(0x2ae)](){const _0x57ea78=_0x4cb6a4;this[_0x57ea78(0x1b2)](this['_renderManagerService'][_0x57ea78(0xfa)](_0xaccedf[_0x57ea78(0x2f7)],[Fe])),this[_0x57ea78(0x1b2)](this[_0x57ea78(0x19c)][_0x57ea78(0xfa)](_0xaccedf[_0x57ea78(0xd5)],[ke]));}['_initDependencies'](){const _0x1ee4be=_0x4cb6a4;_0x234a72(this[_0x1ee4be(0x14d)],[[H],[ae],[Se],[_e],[ce],[Ie]]),this['_config'][_0x1ee4be(0x1fc)]&&_0x234a72(this[_0x1ee4be(0x14d)],[[le]]);}};wn(Ye,_0x4cb6a4(0x29e),yn),Ye=Pn([_0x53ddfc(_0x296643),Me(0x1,_0x591858),Me(0x2,_0x460697(_0x307bfd)),Me(0x3,_0x5f0f68)],Ye);var $n=Object[_0x4cb6a4(0x1ed)],xn=(_0x2b41f2,_0x26dfc4,_0x5857e5,_0x580b69)=>{const _0x3e090e=_0x4cb6a4;for(var _0x25482e=_0x580b69>0x1?void 0x0:_0x580b69?$n(_0x26dfc4,_0x5857e5):_0x26dfc4,_0x576d92=_0x2b41f2[_0x3e090e(0x179)]-0x1,_0x3a7a14;_0x576d92>=0x0;_0x576d92--)(_0x3a7a14=_0x2b41f2[_0x576d92])&&(_0x25482e=_0x3a7a14(_0x25482e)||_0x25482e);return _0x25482e;},J=(_0x376546,_0x309c34)=>(_0x37e4f9,_0xe04a4c)=>_0x309c34(_0x37e4f9,_0xe04a4c,_0x376546);let ut=class extends _0x34b517{constructor(_0x1f2c24,_0x353076,_0x58ad33,_0x4106ef,_0x4d2354){super(_0x1f2c24,_0x353076,_0x58ad33,_0x4106ef,_0x4d2354);}async[_0x4cb6a4(0x140)](_0x2b4193){const _0x4e1939=_0x4cb6a4,_0x290d50=await this[_0x4e1939(0x214)](),_0x25432b=this['_createSocketURL'](_0x2b4193,_0x290d50);return this['_doCreateSocket'](_0x25432b);}[_0x4cb6a4(0x25a)](_0x45209c,_0xa30700){const _0x50f43a=_0x4cb6a4,_0x456681=typeof window>'u'?new URL(_0x45209c):new URL(_0x45209c,window[_0x50f43a(0x237)][_0x50f43a(0x285)]);_0x456681[_0x50f43a(0x2dc)][_0x50f43a(0x187)](_0x50f43a(0x2be),_0xa30700);const _0x4df3bf=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x50f43a(0x237)][_0x50f43a(0x264)]);return _0x4df3bf[_0x50f43a(0x242)]('runId')&&_0x456681[_0x50f43a(0x2dc)]['set'](_0x50f43a(0x245),_0x4df3bf[_0x50f43a(0x242)](_0x50f43a(0x245))),_0x456681[_0x50f43a(0x145)]();}async[_0x4cb6a4(0x214)](){const _0x475fd5=_0x4cb6a4;var _0x42281a,_0x398d5d,_0x4be436;const _0x4f54f3=this[_0x475fd5(0x30f)][_0x475fd5(0x182)](_0x588807),_0x494ddc=(_0x42281a=_0x4f54f3==null?void 0x0:_0x4f54f3[_0x475fd5(0x144)])!=null?_0x42281a:_0x39fb0c;return(_0x4be436=(_0x398d5d=(await this[_0x475fd5(0x1f1)][_0x475fd5(0x242)](_0x494ddc,{'headers':{'Content-Type':_0x475fd5(0x117)}}))['body'])==null?void 0x0:_0x398d5d[_0x475fd5(0x2b1)])!=null?_0x4be436:'';}};ut=xn([J(0x0,_0x460697(_0x307bfd)),J(0x1,_0x460697(_0x3f1253)),J(0x2,_0x5f0f68),J(0x3,_0x21d8d8),J(0x4,_0x431961)],ut);var Bn=Object[_0x4cb6a4(0x1ed)],Fn=(_0x1800d7,_0x2f13cd,_0xd08845,_0x1073a5)=>{const _0x1bffd1=_0x4cb6a4;for(var _0x1a7654=_0x1073a5>0x1?void 0x0:_0x1073a5?Bn(_0x2f13cd,_0xd08845):_0x2f13cd,_0x119b31=_0x1800d7[_0x1bffd1(0x179)]-0x1,_0x4265e2;_0x119b31>=0x0;_0x119b31--)(_0x4265e2=_0x1800d7[_0x119b31])&&(_0x1a7654=_0x4265e2(_0x1a7654)||_0x1a7654);return _0x1a7654;},Ae=(_0x3d650d,_0x6d9775)=>(_0x48004f,_0x5352bd)=>_0x6d9775(_0x48004f,_0x5352bd,_0x3d650d);let dt=class extends _0x4bd602{constructor(_0x392990,_0x321a8e,_0x6ff102){const _0x3587f8=_0x4cb6a4;super(),this[_0x3587f8(0x19d)]=_0x392990,this[_0x3587f8(0x1f1)]=_0x321a8e,this[_0x3587f8(0x30f)]=_0x6ff102;}async[_0x4cb6a4(0x311)](_0x4a0335,_0x2c7b7f,_0x8b0fc1,..._0x293fb7){const _0x4ad288=_0x4cb6a4;var _0x28340a,_0x32e228,_0x97f408,_0x3b3b9c;const _0x296352=this[_0x4ad288(0x19d)]['getFocusedUnit']();if(!_0x296352)throw new Error(_0x4ad288(0x2ad));const _0x30caee=((_0x28340a=this[_0x4ad288(0x30f)][_0x4ad288(0x182)](_0x24ab76))!=null?_0x28340a:_0xc9a869)+'/'+_0x4a0335+'/run/'+_0x2c7b7f,_0x35b7fb=new URL(window[_0x4ad288(0x237)][_0x4ad288(0x13f)]),_0x258ec5={'scriptId':_0x4a0335,'runId':(_0x32e228=_0x35b7fb[_0x4ad288(0x2dc)][_0x4ad288(0x242)](_0x4ad288(0x245)))!=null?_0x32e228:'','function':_0x2c7b7f,'unitId':_0x296352[_0x4ad288(0x2d8)](),'argsOfFunction':JSON['stringify'](_0x293fb7),'invokeId':(_0x97f408=_0x8b0fc1[_0x4ad288(0x253)])!=null?_0x97f408:'','executionId':(_0x3b3b9c=_0x8b0fc1[_0x4ad288(0x29b)])!=null?_0x3b3b9c:''};try{const _0x4e8040=await this['_httpService'][_0x4ad288(0x10d)](_0x30caee,{'body':_0x258ec5});return _0x4e8040[_0x4ad288(0x26f)][_0x4ad288(0x309)]&&_0x4e8040[_0x4ad288(0x26f)][_0x4ad288(0x309)]['code']!==Z['OK']?_0x4ad288(0x124):_0x4e8040['body']['result'];}catch{return'Failed';}}};dt=Fn([Ae(0x0,_0x14cde1),Ae(0x1,_0x460697(_0x3f1253)),Ae(0x2,_0x5f0f68)],dt);const St=0x7530,It=_0x4cb6a4(0x228);class rr extends _0x4bd602{constructor(){const _0x100ecf=_0x4cb6a4;super(),_(this,_0x100ecf(0xd1),_0x3bf90d()),_(this,_0x100ecf(0xdd),new Set()),_(this,_0x100ecf(0x243),new Map()),_(this,'_heartbeatTimer',null),_(this,'_clearOtherTimers',new Map()),_(this,_0x100ecf(0x28c),new Map()),this[_0x100ecf(0x2ce)]();}['dispose'](){const _0x542295=_0x4cb6a4;super[_0x542295(0x17f)](),this[_0x542295(0xd2)][_0x542295(0xea)]((_0x3ac7e2,_0x9388a8)=>this[_0x542295(0x1cb)](_0x9388a8)),this[_0x542295(0xc4)]&&window[_0x542295(0x293)](this[_0x542295(0xc4)]);}[_0x4cb6a4(0xc1)](_0x46df3e){const _0x46474c=_0x4cb6a4;return this[_0x46474c(0x2ca)](_0x46df3e)['pipe'](_0x3c4859());}['editingUnit'](_0x481d31){const _0x3063dc=_0x4cb6a4;this[_0x3063dc(0xdd)][_0x3063dc(0x219)]===0x0&&this['_scheduleHeartbeat'](),this[_0x3063dc(0xdd)][_0x3063dc(0x205)](_0x481d31),this['_send']({'type':0x0,'memberID':this[_0x3063dc(0xd1)],'unitIDs':[_0x481d31],'isForwarded':!0x1});}[_0x4cb6a4(0xd8)](_0x5ad998){const _0x4b0c15=_0x4cb6a4;this[_0x4b0c15(0xdd)]['delete'](_0x5ad998),this['_selfUnitIDs'][_0x4b0c15(0x219)]===0x0&&this[_0x4b0c15(0xc4)]&&window[_0x4b0c15(0x293)](this[_0x4b0c15(0xc4)]);}[_0x4cb6a4(0x2ce)](){const _0x2b6abb=_0x4cb6a4;this['disposeWithMe'](_0xb8c0(_0x2fef3d(window,_0x2b6abb(0x2c5))[_0x2b6abb(0x13b)](_0x55cec1=>{const _0x583c99=_0x2b6abb;if(_0x55cec1['key']!==It||!_0x55cec1[_0x583c99(0x112)])return;const _0x4cc663=JSON[_0x583c99(0x25d)](_0x55cec1[_0x583c99(0x112)]);this[_0x583c99(0x19b)](_0x4cc663);}))),window[_0x2b6abb(0x258)](_0x2b6abb(0x1e4),()=>this[_0x2b6abb(0xcb)]({'type':0x1,'memberID':this[_0x2b6abb(0xd1)],'unitIDs':Array['from'](this[_0x2b6abb(0xdd)])}));}[_0x4cb6a4(0x19b)](_0x5d2e37){const _0x34e243=_0x4cb6a4;switch(_0x5d2e37[_0x34e243(0x17e)]){case 0x0:this['_handleJoinEvent'](_0x5d2e37);break;case 0x1:this[_0x34e243(0xca)](_0x5d2e37);break;case 0x2:this[_0x34e243(0x2da)](_0x5d2e37);break;}}['_handleJoinEvent'](_0x358476){const _0x29c872=_0x4cb6a4,{unitIDs:_0x5a022c,memberID:_0x190177,isForwarded:_0x409817}=_0x358476;_0x5a022c[_0x29c872(0xea)](_0x25cf2d=>{const _0x94db12=_0x29c872;if(!_0x409817&&this[_0x94db12(0x243)][_0x94db12(0x282)](_0x25cf2d)&&this['_ensureSubject'](_0x25cf2d)[_0x94db12(0x30d)](_0x5cb507[_0x94db12(0xc6)]),!this[_0x94db12(0x243)]['has'](_0x25cf2d)||!this[_0x94db12(0x243)][_0x94db12(0x242)](_0x25cf2d)['has'](_0x190177)){const _0x1a7aa1=this[_0x94db12(0x243)][_0x94db12(0x242)](_0x25cf2d)||new Set();_0x1a7aa1[_0x94db12(0x205)](_0x190177),this[_0x94db12(0x243)]['set'](_0x25cf2d,_0x1a7aa1),this[_0x94db12(0x176)](_0x190177);}}),_0x409817||this['_send']({'type':0x0,'memberID':this[_0x29c872(0xd1)],'unitIDs':[...this[_0x29c872(0xdd)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x28130d){const _0x404e17=_0x4cb6a4;this[_0x404e17(0x1cb)](_0x28130d);const _0x4c85c0=window[_0x404e17(0x238)](()=>{const _0x29d2bd=_0x404e17;this[_0x29d2bd(0x243)][_0x29d2bd(0xea)](_0x1c56d5=>{const _0x534f02=_0x29d2bd;_0x1c56d5[_0x534f02(0x220)](_0x28130d);});},St*0x2);this[_0x404e17(0xd2)][_0x404e17(0x187)](_0x28130d,_0x4c85c0);}['_removeClearOtherTimer'](_0x2264c2){const _0xd9cc5f=_0x4cb6a4;if(this['_clearOtherTimers'][_0xd9cc5f(0x282)](_0x2264c2)){const _0x4e2eb4=this[_0xd9cc5f(0xd2)]['get'](_0x2264c2);_0x4e2eb4&&window[_0xd9cc5f(0xcc)](_0x4e2eb4),this[_0xd9cc5f(0xd2)][_0xd9cc5f(0x187)](_0x2264c2,null);}}['_handleLeaveEvent'](_0xd1c248){const _0x43e0cf=_0x4cb6a4,{memberID:_0x18ac26,unitIDs:_0x440736}=_0xd1c248;_0x440736[_0x43e0cf(0xea)](_0x2242e5=>{const _0x55b8c3=_0x43e0cf;var _0x446c36;const _0x5c9e72=this[_0x55b8c3(0x243)][_0x55b8c3(0x242)](_0x2242e5);_0x5c9e72&&(_0x5c9e72[_0x55b8c3(0x220)](_0x18ac26),(_0x446c36=this[_0x55b8c3(0x2ca)](_0x2242e5))==null||_0x446c36[_0x55b8c3(0x30d)](_0x5c9e72[_0x55b8c3(0x219)]===0x0?_0x5cb507[_0x55b8c3(0x1ee)]:_0x5cb507[_0x55b8c3(0xc6)]));}),this[_0x43e0cf(0x1cb)](_0x18ac26);}[_0x4cb6a4(0x2da)](_0x66e3ab){const _0x444606=_0x4cb6a4;this[_0x444606(0x176)](_0x66e3ab[_0x444606(0x18a)]);}[_0x4cb6a4(0xcb)](_0x22e822){const _0x4120ef=_0x4cb6a4;localStorage['setItem'](It,JSON[_0x4120ef(0x181)](_0x22e822));}[_0x4cb6a4(0x1b5)](){const _0x3da3e8=_0x4cb6a4;this[_0x3da3e8(0xc4)]=window[_0x3da3e8(0x209)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},St);}[_0x4cb6a4(0x2ca)](_0x254885){const _0x24f1c0=_0x4cb6a4;return this['_unitStatus']['has'](_0x254885)||this['_unitStatus'][_0x24f1c0(0x187)](_0x254885,new _0x5e0fc0(_0x5cb507['NO_OTHER_CLIENTS_EDITING'])),this[_0x24f1c0(0x28c)]['get'](_0x254885);}}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};
|