@univerjs-pro/collaboration-client 0.4.2-nightly.202411031606 → 0.4.2-nightly.202411041606
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/es/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +16 -16
package/lib/es/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const _0x494e14=_0x5d20;(function(_0x48b5bf,_0x10f29e){const _0x2ef6a9=_0x5d20,_0x40f434=_0x48b5bf();while(!![]){try{const _0x32f8a4=-parseInt(_0x2ef6a9(0x542))/0x1+-parseInt(_0x2ef6a9(0x38e))/0x2*(-parseInt(_0x2ef6a9(0x2b3))/0x3)+parseInt(_0x2ef6a9(0x5e9))/0x4*(parseInt(_0x2ef6a9(0x3d7))/0x5)+parseInt(_0x2ef6a9(0x228))/0x6*(-parseInt(_0x2ef6a9(0x21d))/0x7)+parseInt(_0x2ef6a9(0x4e6))/0x8*(parseInt(_0x2ef6a9(0x364))/0x9)+parseInt(_0x2ef6a9(0x3bc))/0xa*(parseInt(_0x2ef6a9(0x5f4))/0xb)+-parseInt(_0x2ef6a9(0x405))/0xc;if(_0x32f8a4===_0x10f29e)break;else _0x40f434['push'](_0x40f434['shift']());}catch(_0x40e0b5){_0x40f434['push'](_0x40f434['shift']());}}}(_0xe4d5,0x1deb3));var Ki=Object[_0x494e14(0x421)],zi=(_0x52e217,_0x4f317b,_0x15bbdb)=>_0x4f317b in _0x52e217?Ki(_0x52e217,_0x4f317b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x15bbdb}):_0x52e217[_0x4f317b]=_0x15bbdb,g=(_0x21a9f2,_0xe32f53,_0x42343e)=>zi(_0x21a9f2,typeof _0xe32f53!=_0x494e14(0x478)?_0xe32f53+'':_0xe32f53,_0x42343e);import{createIdentifier as _0x41367e,Inject as _0x41b3da,Disposable as _0x326223,DisposableCollection as _0x45d7b0,toDisposable as _0xf5e7f5,IConfigService as _0x23210b,ILogService as _0x3bb158,UserManagerService as _0xab6080,UniverInstanceType as _0x50e7dc,IUniverInstanceService as _0x15b9fa,LocaleService as _0x461b9d,Optional as _0x38b4fe,RxDisposable as _0x542deb,Injector as _0x2087b9,Tools as _0x1fd4a4,ILocalStorageService as _0x4bb50a,Rectangle as _0x111a27,ICommandService as _0x1c554d,DOC_RANGE_TYPE as _0x43cc22,JSONX as _0x5acd7c,CommandType as _0x51c5e3,IPermissionService as _0x298af3,IUndoRedoService as _0x21e225,sequenceExecute as _0x558f87,debounce as _0x4360ad,COLORS as _0x560d42,ColorKit as _0x6eb250,ThemeService as _0x4754b0,fromEventSubject as _0x1a7d07,useDependency as _0x45a13b,connectInjector as _0x5aa019,Workbook as _0x39984d,isInternalEditorID as _0x358629,LocalUndoRedoService as _0x152212,IContextService as _0x1bcee7,DependentOn as _0x9cca5,Plugin as _0x47338f,touchDependencies as _0x4ad507,IAuthzIoService as _0x284f3d,registerDependencies as _0x5bbf0d,mergeOverrideWithDependencies as _0x4f2331}from'@univerjs/core';import{Subject as _0x243cfe,merge as _0x5326b0,takeUntil as _0x3ee31c,BehaviorSubject as _0x9b8747,distinctUntilChanged as _0x1e8a26,fromEvent as _0x7e355d,ReplaySubject as _0xd55c1c,take as _0x1dfd23,map as _0x2db811,shareReplay as _0x272c53,of as _0x29feb9,debounceTime as _0x4a986e,filter as _0x2f9ef8,switchMap as _0xa0910a,combineLatest as _0x493f7b,concatMap as _0x17ad4b,mapTo as _0x33a256}from'rxjs';import{map as _0x487dae,take as _0x17a5fa,filter as _0x4dbfb7,delay as _0xd7603f,throttleTime as _0x5c2c68,takeUntil as _0xfbe715,switchMap as _0x7a3cd6}from'rxjs/operators';import{MessageType as _0x31fabe,Tooltip as _0xf9cdbe}from'@univerjs/design';import{IBeforeCloseService as _0x128523,IMessageService as _0x54b964,INotificationService as _0x52089c,useObservable as _0x11fff2,BuiltInUIPart as _0x11c25b,IUIPartsService as _0x3da767}from'@univerjs/ui';import{HTTPService as _0x2d1de9,WebSocketService as _0x58d5a2,MergeInterceptorFactory as _0x9c14de,HTTPRequest as _0x486076,UniverNetworkPlugin as _0x27f895,ThresholdInterceptorFactory as _0x39d18b}from'@univerjs/network';import{CollaborationEvent as _0x3c9498,parseChangesetToProtocol as _0x1fbea0,ISnapshotServerService as _0x220388,isTransformMutationFailure as _0x1f65f6,isTransformMutationsWithChangesetSuccess as _0x46c18d,ITransformService as _0x1197db,RevisionService as _0x1d4656,mapDocumentTypeToUniverType as _0x209cca,isTransformChangesetsSuccess as _0x4151a8,CompressMutationService as _0x3c8c9b,parseProtocolChangeset as _0x5aaef3,SnapshotService as _0x2aa55c,textEncoder as _0x34deb5,b64DecodeUnicode as _0x4efc59,isTransformMutationsWithChangesetFailure as _0x3230ab,UniverCollaborationPlugin as _0x1de7ac}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x76a274}from'@univerjs/telemetry';import{DocIMEInputManagerService as _0x3d94b2,DocStateChangeManagerService as _0x5c2099,NodePositionConvertToCursor as _0x2a0e72,NodePositionConvertToRectRange as _0x404c31,TEXT_RANGE_LAYER_INDEX as _0x2f7bd5,SetDocZoomRatioOperation as _0x43f467}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x5999a9,SetSelectionsOperation as _0x337a82,InsertSheetMutation as _0x106c47,EmptyMutation as _0x288a85,WorkbookEditablePermission as _0x4d3cfd,RefRangeService as _0x364852,EffectRefRangId as _0x4ab021,handleIRemoveRow as _0x16c534,handleIRemoveCol as _0x30c153,handleMoveRange as _0x1a43c9,handleInsertRow as _0x42b8c4,handleInsertRangeMoveRight as _0xfa9ce5,handleInsertRangeMoveDown as _0x12a643,handleInsertCol as _0x2d5f09,handleDeleteRangeMoveUp as _0x560e8e,handleDeleteRangeMoveLeft as _0x7a5fb3,runRefRangeMutations as _0x259dc4,SetWorksheetActivateCommand as _0x51c661}from'@univerjs/sheets';import{IRenderManagerService as _0x392b64,Shape as _0x16edce,Rect as _0x1fae94,getColor as _0x1d4014,RegularPolygon as _0x5bdb01,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x103c3d,Vector2 as _0x109432}from'@univerjs/engine-render';import{DocSelectionManagerService as _0x5367d6,RichTextEditingMutation as _0x933dab,SetTextSelectionsOperation as _0x49101c,DocSkeletonManagerService as _0x2e4faf}from'@univerjs/docs';import{ImageSourceType as _0x5f4e56,ImageUploadStatusType as _0x26dd16,IImageIoService as _0x5c0e9a}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x346cfe,serializeRangeWithSheet as _0x483a72}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x996767,VIEWPORT_KEY as _0x4283d3,getCoordByCell as _0x533cec,getSheetObject as _0x538d0b,SheetPermissionInitController as _0xddd62c}from'@univerjs/sheets-ui';import _0x12a549,{forwardRef as _0x23e8c2,useRef as _0x540f8d,createElement as _0x12f720,useCallback as _0x368bc5}from'react';import{IRemoteInstanceService as _0x3fc56e}from'@univerjs/rpc';const rr=_0x494e14(0x1fd),or=_0x494e14(0x566),ar=_0x494e14(0x1f2),kc='SEND_CHANGESET_TIMEOUT',cr=0x7d0,hr=_0x494e14(0x41d),lr='ws://127.0.0.1:8000/universer-api/comb/connect',_r=_0x494e14(0x2ad),ur=0x7530,bi=_0x494e14(0x3cd),Ti=0x4e20,dr=0x4e20,fr=_0x494e14(0x39d),vr=0x3,mr=_0x494e14(0x1f5),pr=0x3e8,gr=_0x494e14(0x367),Sr=_0x494e14(0x46e),Ir=_0x494e14(0x5eb),Cr=_0x494e14(0x596);var Ri=(_0x55e293=>(_0x55e293[_0x55e293[_0x494e14(0x59d)]=0x0]=_0x494e14(0x59d),_0x55e293[_0x55e293['OK']=0x1]='OK',_0x55e293[_0x55e293['INTERNAL_ERROR']=0x2]=_0x494e14(0x441),_0x55e293[_0x55e293[_0x494e14(0x217)]=0x3]=_0x494e14(0x217),_0x55e293[_0x55e293['NOT_FOUND']=0x4]=_0x494e14(0x3e0),_0x55e293[_0x55e293[_0x494e14(0x5b1)]=0x5]=_0x494e14(0x5b1),_0x55e293[_0x55e293['ALREADY_EXISTS']=0x6]=_0x494e14(0x5dd),_0x55e293[_0x55e293[_0x494e14(0x291)]=0x7]=_0x494e14(0x291),_0x55e293[_0x55e293[_0x494e14(0x1fc)]=0x8]='TOO_MANY_REQUESTS',_0x55e293[_0x55e293[_0x494e14(0x28b)]=0x9]=_0x494e14(0x28b),_0x55e293[_0x55e293['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x55e293[_0x55e293[_0x494e14(0x2c0)]=0x1771]=_0x494e14(0x2c0),_0x55e293[_0x55e293[_0x494e14(0x2df)]=0x1772]=_0x494e14(0x2df),_0x55e293[_0x55e293[_0x494e14(0x568)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x55e293[_0x55e293['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x55e293[_0x55e293[_0x494e14(0x43f)]=0x1b5a]=_0x494e14(0x43f),_0x55e293[_0x55e293[_0x494e14(0x268)]=0x1b5b]=_0x494e14(0x268),_0x55e293[_0x55e293['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x494e14(0x51a),_0x55e293[_0x55e293[_0x494e14(0x434)]=0x1b5d]='APPLY_DUPLICATED',_0x55e293[_0x55e293[_0x494e14(0x33a)]=0x1f41]=_0x494e14(0x33a),_0x55e293[_0x55e293[_0x494e14(0x264)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x55e293[_0x55e293[_0x494e14(0x2af)]=0x232a]=_0x494e14(0x2af),_0x55e293[_0x55e293[_0x494e14(0x31d)]=0x232b]=_0x494e14(0x31d),_0x55e293[_0x55e293[_0x494e14(0x4b6)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x55e293[_0x55e293[_0x494e14(0x276)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x55e293[_0x55e293[_0x494e14(0x457)]=0x2711]=_0x494e14(0x457),_0x55e293[_0x55e293[_0x494e14(0x512)]=0x2712]=_0x494e14(0x512),_0x55e293[_0x55e293[_0x494e14(0x4ba)]=0x2713]=_0x494e14(0x4ba),_0x55e293[_0x55e293[_0x494e14(0x3a9)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x55e293[_0x55e293[_0x494e14(0x225)]=-0x1]=_0x494e14(0x225),_0x55e293))(Ri||{}),ce=(_0x746223=>(_0x746223[_0x746223['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x746223[_0x746223['UNIVER_DOC']=0x1]=_0x494e14(0x36f),_0x746223[_0x746223[_0x494e14(0x5dc)]=0x2]=_0x494e14(0x5dc),_0x746223[_0x746223['UNIVER_SLIDE']=0x3]=_0x494e14(0x5b4),_0x746223[_0x746223[_0x494e14(0x3a0)]=0x4]='UNIVER_PROJECT',_0x746223[_0x746223[_0x494e14(0x225)]=-0x1]=_0x494e14(0x225),_0x746223))(ce||{}),W=(_0x419bd1=>(_0x419bd1[_0x419bd1[_0x494e14(0x3cf)]=0x0]='UNKNOWN_CMD',_0x419bd1[_0x419bd1[_0x494e14(0x277)]=0x1]=_0x494e14(0x277),_0x419bd1[_0x419bd1[_0x494e14(0x37b)]=0x2]=_0x494e14(0x37b),_0x419bd1[_0x419bd1[_0x494e14(0x4ae)]=0x3]=_0x494e14(0x4ae),_0x419bd1[_0x419bd1['INGEST']=0x4]=_0x494e14(0x53d),_0x419bd1[_0x419bd1[_0x494e14(0x2fd)]=0x5]='HEARTBEAT',_0x419bd1[_0x419bd1[_0x494e14(0x295)]=0x6]=_0x494e14(0x295),_0x419bd1[_0x419bd1[_0x494e14(0x225)]=-0x1]='UNRECOGNIZED',_0x419bd1))(W||{}),Is=(_0x2a4fed=>(_0x2a4fed[_0x2a4fed['UNKNOWN_CODE']=0x0]='UNKNOWN_CODE',_0x2a4fed[_0x2a4fed['OK']=0x1]='OK',_0x2a4fed[_0x2a4fed[_0x494e14(0x5e3)]=0x2]=_0x494e14(0x5e3),_0x2a4fed[_0x2a4fed[_0x494e14(0x225)]=-0x1]=_0x494e14(0x225),_0x2a4fed))(Is||{}),yi=(_0xe736ce=>(_0xe736ce[_0xe736ce[_0x494e14(0x4e8)]=0x0]=_0x494e14(0x4e8),_0xe736ce[_0xe736ce[_0x494e14(0x3ea)]=0x1]=_0x494e14(0x3ea),_0xe736ce[_0xe736ce[_0x494e14(0x2d6)]=0x2]='HttpExport',_0xe736ce[_0xe736ce['UnitEmbedded']=0x3]=_0x494e14(0x2d7),_0xe736ce[_0xe736ce[_0x494e14(0x5a5)]=0x4]=_0x494e14(0x5a5),_0xe736ce[_0xe736ce[_0x494e14(0x225)]=-0x1]=_0x494e14(0x225),_0xe736ce))(yi||{});const ie=_0x494e14(0x463),Er={};function br(_0x4b7cfc){const _0x2f667e=_0x494e14;var _0x32a690,_0x1d80a5,_0x45138d,_0x2e2fcd,_0x44cb7d;const _0x575fe=_0x4b7cfc[_0x2f667e(0x41c)],_0x407c2b=JSON[_0x2f667e(0x39a)](_0x575fe);switch(_0x407c2b[_0x2f667e(0x5c7)]){case W['HEARTBEAT']:case W[_0x2f667e(0x277)]:{const _0x1b4a76=_0x407c2b[_0x2f667e(0x4fd)];return{..._0x407c2b,'data':_0x1b4a76,'cmd':_0x407c2b[_0x2f667e(0x5c7)]};}case W[_0x2f667e(0x37b)]:{const _0x143dce=_0x407c2b['joinRsp'];return{..._0x407c2b,'data':_0x143dce,'cmd':_0x407c2b[_0x2f667e(0x5c7)]};}case W[_0x2f667e(0x295)]:{const _0x30aba1=_0x407c2b[_0x2f667e(0x3ed)];switch(_0x30aba1[_0x2f667e(0x1f1)]){case _0x3c9498[_0x2f667e(0x5c9)]:return{..._0x407c2b,'data':{..._0x30aba1,'data':(_0x32a690=_0x30aba1['permissionRejEvent'])==null?void 0x0:_0x32a690['cs']},'cmd':_0x407c2b['cmd']};case _0x3c9498[_0x2f667e(0x209)]:return{..._0x407c2b,'data':{..._0x30aba1,'data':(_0x1d80a5=_0x30aba1[_0x2f667e(0x2e0)])==null?void 0x0:_0x1d80a5['cs']},'cmd':_0x407c2b[_0x2f667e(0x5c7)]};case _0x3c9498[_0x2f667e(0x4c7)]:return{..._0x407c2b,'data':{..._0x30aba1,'data':(_0x45138d=_0x30aba1[_0x2f667e(0x24d)])==null?void 0x0:_0x45138d['cs']},'cmd':_0x407c2b[_0x2f667e(0x5c7)]};case _0x3c9498[_0x2f667e(0x1f4)]:return{..._0x407c2b,'data':{..._0x30aba1,'data':(_0x2e2fcd=_0x30aba1[_0x2f667e(0x401)])==null?void 0x0:_0x2e2fcd['cs']},'cmd':_0x407c2b[_0x2f667e(0x5c7)]};case _0x3c9498[_0x2f667e(0x57b)]:return{..._0x407c2b,'data':{..._0x30aba1,'data':(_0x44cb7d=_0x30aba1[_0x2f667e(0x497)])==null?void 0x0:_0x44cb7d['cs']},'cmd':_0x407c2b[_0x2f667e(0x5c7)]};case _0x3c9498['UPDATE_CURSOR']:return{..._0x407c2b,'data':{..._0x30aba1,'data':_0x30aba1[_0x2f667e(0x36d)]},'cmd':_0x407c2b[_0x2f667e(0x5c7)]};case _0x3c9498[_0x2f667e(0x5d9)]:return{..._0x407c2b,'data':{..._0x30aba1,'data':_0x30aba1[_0x2f667e(0x51b)]},'cmd':_0x407c2b[_0x2f667e(0x5c7)]};case _0x3c9498[_0x2f667e(0x208)]:return{..._0x407c2b,'data':{..._0x30aba1,'data':_0x30aba1[_0x2f667e(0x22d)]},'cmd':_0x407c2b['cmd']};case _0x3c9498[_0x2f667e(0x37d)]:return{..._0x407c2b,'data':{..._0x30aba1,'data':_0x30aba1[_0x2f667e(0x4ef)]},'cmd':_0x407c2b['cmd']};case _0x3c9498[_0x2f667e(0x1f3)]:case _0x3c9498['LIVESHARE_OPERATION']:return{..._0x407c2b,'data':{..._0x30aba1,'data':_0x30aba1['liveShareOperation']},'cmd':_0x407c2b[_0x2f667e(0x5c7)]};case _0x3c9498['LIVESHARE_TERMINATE']:return{..._0x407c2b,'data':{..._0x30aba1,'data':_0x30aba1[_0x2f667e(0x4ef)]},'cmd':_0x407c2b[_0x2f667e(0x5c7)]};case _0x3c9498[_0x2f667e(0x21c)]:return{..._0x407c2b,'data':_0x30aba1,'cmd':_0x407c2b[_0x2f667e(0x5c7)]};case _0x3c9498[_0x2f667e(0x560)]:return{..._0x407c2b,'data':{..._0x30aba1,'data':_0x30aba1[_0x2f667e(0x545)]},'cmd':_0x407c2b[_0x2f667e(0x5c7)]};case _0x3c9498[_0x2f667e(0x21e)]:return{..._0x407c2b,'data':{..._0x30aba1,'data':_0x30aba1[_0x2f667e(0x4f3)]},'cmd':_0x407c2b['cmd']};case _0x3c9498[_0x2f667e(0x59c)]:return{..._0x407c2b,'data':{..._0x30aba1,'data':_0x30aba1[_0x2f667e(0x2a3)]},'cmd':_0x407c2b[_0x2f667e(0x5c7)]};default:return _0x407c2b;}}default:return _0x407c2b;}}function Tr(_0x2aadb4){const _0x1230b0=_0x494e14;switch(_0x2aadb4['cmd']){case W[_0x1230b0(0x2fd)]:case W['HELLO']:return JSON['stringify']({'cmd':_0x2aadb4[_0x1230b0(0x5c7)],'routeKey':_0x2aadb4['routeKey']});case W[_0x1230b0(0x53d)]:{let _0x3e09f8;switch(_0x2aadb4[_0x1230b0(0x41c)]['eventID']){case _0x3c9498[_0x1230b0(0x5c2)]:{_0x3e09f8={'eventID':_0x3c9498[_0x1230b0(0x5c2)],'updateCursorEvent':_0x2aadb4[_0x1230b0(0x41c)][_0x1230b0(0x41c)]};break;}case _0x3c9498[_0x1230b0(0x208)]:{_0x3e09f8={'eventID':_0x3c9498[_0x1230b0(0x208)],'leaveEvent':_0x2aadb4['data']['data']};break;}case _0x3c9498[_0x1230b0(0x5d9)]:{_0x3e09f8={'eventID':_0x3c9498[_0x1230b0(0x5d9)],'joinEvent':_0x2aadb4[_0x1230b0(0x41c)]['data']};break;}case _0x3c9498[_0x1230b0(0x37d)]:{_0x3e09f8={'eventID':_0x3c9498[_0x1230b0(0x37d)],'liveShareNewHost':_0x2aadb4['data'][_0x1230b0(0x41c)]};break;}case _0x3c9498[_0x1230b0(0x451)]:{_0x3e09f8={'eventID':_0x3c9498[_0x1230b0(0x451)],'liveShareOperation':_0x2aadb4[_0x1230b0(0x41c)][_0x1230b0(0x41c)]};break;}case _0x3c9498[_0x1230b0(0x392)]:{_0x3e09f8={'eventID':_0x3c9498[_0x1230b0(0x392)],'liveShareTerminate':_0x2aadb4['data'][_0x1230b0(0x41c)]};break;}case _0x3c9498[_0x1230b0(0x2eb)]:{_0x3e09f8={'eventID':_0x3c9498['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x2aadb4['data']['data']};break;}case _0x3c9498[_0x1230b0(0x1f3)]:{_0x3e09f8={'eventID':_0x3c9498[_0x1230b0(0x1f3)]};break;}default:_0x3e09f8={'eventID':_0x2aadb4['data'][_0x1230b0(0x1f1)]};}return JSON[_0x1230b0(0x415)]({'cmd':_0x2aadb4[_0x1230b0(0x5c7)],'routeKey':_0x2aadb4[_0x1230b0(0x302)],'collaMsg':_0x3e09f8});}case W[_0x1230b0(0x37b)]:return JSON['stringify']({'cmd':_0x2aadb4[_0x1230b0(0x5c7)],'routeKey':_0x2aadb4[_0x1230b0(0x302)],'joinReq':_0x2aadb4['data']});case W[_0x1230b0(0x4ae)]:return JSON[_0x1230b0(0x415)]({'cmd':_0x2aadb4[_0x1230b0(0x5c7)],'routeKey':_0x2aadb4[_0x1230b0(0x302)],'leaveReq':_0x2aadb4[_0x1230b0(0x41c)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Rr=Object['defineProperty'],yr=Object['getOwnPropertyDescriptor'],Or=(_0xfb8bd4,_0x4f381f,_0x40a852,_0x2034f4)=>{const _0x45ff9e=_0x494e14;for(var _0x865588=_0x2034f4>0x1?void 0x0:_0x2034f4?yr(_0x4f381f,_0x40a852):_0x4f381f,_0x3a8f24=_0xfb8bd4[_0x45ff9e(0x490)]-0x1,_0x37dafe;_0x3a8f24>=0x0;_0x3a8f24--)(_0x37dafe=_0xfb8bd4[_0x3a8f24])&&(_0x865588=(_0x2034f4?_0x37dafe(_0x4f381f,_0x40a852,_0x865588):_0x37dafe(_0x865588))||_0x865588);return _0x2034f4&&_0x865588&&Rr(_0x4f381f,_0x40a852,_0x865588),_0x865588;},qe=(_0x43c2d4,_0x10ea1a)=>(_0x22b3ab,_0x394c1f)=>_0x10ea1a(_0x22b3ab,_0x394c1f,_0x43c2d4);const Oi=_0x41367e(_0x494e14(0x26e));function wr(_0x56c1a4,_0x551dfd,_0x10883c){const _0x106d55=_0x494e14;return _0x56c1a4+'/'+_0x551dfd+'/unit/'+_0x10883c+_0x106d55(0x3c5);}let es=class extends _0x326223{constructor(_0x1f7e04,_0x108cac,_0x159c89,_0x3d8a6d,_0x2d9e3c){const _0x548e24=_0x494e14;super(),this['_http']=_0x1f7e04,this[_0x548e24(0x26b)]=_0x108cac,this[_0x548e24(0x21f)]=_0x159c89,this[_0x548e24(0x3c0)]=_0x3d8a6d,this['_snapshotServerService']=_0x2d9e3c;}['createSocket'](_0x3ffec5){const _0xcaf51d=_0x494e14,_0x2fad4b=this[_0xcaf51d(0x26b)][_0xcaf51d(0x23c)](_0x3ffec5);if(!_0x2fad4b)throw new Error(_0xcaf51d(0x430));const _0x545e97=new _0x45d7b0(),_0x2f1788=new _0x243cfe();_0x545e97[_0xcaf51d(0x3fb)](_0x2fad4b[_0xcaf51d(0x1fb)]['subscribe'](_0x5d042e=>_0x2f1788[_0xcaf51d(0x2d0)](_0x5d042e))),_0x545e97[_0xcaf51d(0x3fb)](_0xf5e7f5(()=>_0x2f1788[_0xcaf51d(0x5bc)]()));const _0xaa43d5=new _0x243cfe();_0x545e97[_0xcaf51d(0x3fb)](_0x2fad4b[_0xcaf51d(0x470)][_0xcaf51d(0x540)](_0x5719f1=>_0xaa43d5['next'](_0x5719f1))),_0x545e97[_0xcaf51d(0x3fb)](_0xf5e7f5(()=>_0xaa43d5[_0xcaf51d(0x5bc)]()));const _0x911a1f=new _0x243cfe();_0x545e97[_0xcaf51d(0x3fb)](_0x2fad4b['message$']['subscribe'](_0x2649bc=>{const _0x48ca97=_0xcaf51d,_0xb57fb7=br(_0x2649bc);_0x911a1f[_0x48ca97(0x2d0)](_0xb57fb7);})),_0x545e97['add'](_0xf5e7f5(()=>_0x911a1f[_0xcaf51d(0x5bc)]()));let _0x200a72;const _0x3397c0=()=>{const _0x75b1c3=_0xcaf51d;_0xaa43d5['next'](new Event(_0x75b1c3(0x4d0))),_0x2f1788[_0x75b1c3(0x2d0)](new CloseEvent(_0x75b1c3(0x4d0))),_0x200a72[_0x75b1c3(0x2d5)]();};return _0x200a72={'memberID':'','close$':_0x2f1788[_0xcaf51d(0x372)](),'error$':_0xaa43d5[_0xcaf51d(0x372)](),'open$':_0x2fad4b[_0xcaf51d(0x55c)],'message$':_0x911a1f[_0xcaf51d(0x372)](),'send':_0x292690=>{const _0x4bcf2b=_0xcaf51d;if(_0x292690[_0x4bcf2b(0x5c7)]===W[_0x4bcf2b(0x53d)]){if(_0x292690[_0x4bcf2b(0x41c)][_0x4bcf2b(0x1f1)]===_0x3c9498[_0x4bcf2b(0x358)]){this[_0x4bcf2b(0x219)](_0x200a72,_0x292690[_0x4bcf2b(0x41c)])[_0x4bcf2b(0x5fa)](_0x1e275a=>{const _0x2bf9b4=_0x4bcf2b;this[_0x2bf9b4(0x3c0)][_0x2bf9b4(0x48a)](_0x1e275a),_0x3397c0();});return;}if(_0x292690[_0x4bcf2b(0x41c)][_0x4bcf2b(0x1f1)]===_0x3c9498[_0x4bcf2b(0x33d)]){const _0x2c37ed=_0x292690['data'];this['_fetchMissChangesets'](_0x2c37ed)[_0x4bcf2b(0x37e)](_0x5d5ddf=>{const _0x34107a=_0x4bcf2b;_0x911a1f[_0x34107a(0x2d0)]({'cmd':W[_0x34107a(0x295)],'code':Is['OK'],'routeKey':_0x2c37ed[_0x34107a(0x41c)][_0x34107a(0x55b)],'routeType':'','data':{'eventID':_0x3c9498[_0x34107a(0x29f)],'data':{'changesets':_0x5d5ddf}}});})['catch'](_0x1cb8da=>{const _0x20c7b4=_0x4bcf2b;this[_0x20c7b4(0x3c0)][_0x20c7b4(0x48a)](_0x1cb8da),_0x3397c0();});return;}}_0x2fad4b['send'](Tr(_0x292690));},'close':()=>{const _0x1118fc=_0xcaf51d;_0x2fad4b[_0x1118fc(0x2d5)](),_0x545e97[_0x1118fc(0x301)]();}},_0x200a72;}async[_0x494e14(0x219)](_0xfff44c,_0x4d3b8e){const _0x35680d=_0x494e14;var _0x544e8f,_0x1c929b;const {unitType:_0x1c3d9f,unitID:_0x4147e,changeset:_0x403ead}=_0x4d3b8e[_0x35680d(0x41c)],_0x1eddad={'unitID':_0x4147e,'memberID':_0xfff44c[_0x35680d(0x237)],'type':_0x1c3d9f,'changeset':_0x1fbea0(_0x403ead)},_0x227eab=this[_0x35680d(0x21f)][_0x35680d(0x27f)](gr),_0x45b191=this[_0x35680d(0x21f)]['getConfig'](ie),_0x46590f=wr((_0x1c929b=(_0x544e8f=_0x45b191==null?void 0x0:_0x45b191['collabSubmitChangesetUrl'])!=null?_0x544e8f:_0x227eab)!=null?_0x1c929b:Sr,_0x1c3d9f,_0x4147e);try{await this['_http'][_0x35680d(0x313)](_0x46590f,{'body':_0x1eddad});}catch(_0x30c8ae){throw this['_logService'][_0x35680d(0x48a)](_0x35680d(0x25c),_0x35680d(0x508)),_0x30c8ae;}}async[_0x494e14(0x2e6)](_0x41ef67){const _0x1c82b9=_0x494e14,{unitID:_0x443024,from:_0x378f34,to:_0xcc1990,unitType:_0x5988c6}=_0x41ef67['data'];return(await this['_snapshotServerService'][_0x1c82b9(0x593)]({'metadata':void 0x0},{'unitID':_0x443024,'type':_0x5988c6,'from':_0x378f34,'to':_0xcc1990}))[_0x1c82b9(0x29e)];}};es=Or([qe(0x0,_0x41b3da(_0x2d1de9)),qe(0x1,_0x41b3da(_0x58d5a2)),qe(0x2,_0x23210b),qe(0x3,_0x3bb158),qe(0x4,_0x220388)],es);function _0xe4d5(){const _0x5f57e2=['_initDependencies','FileId','c1Prime','_resendWithTimeout','data','COLLAB_WEB_SOCKET_URL','hide','resize','indexOf','defineProperty','_memberService','\x0aAfter:\x20','removeMember','1em','collaboratorID','setCurrentUser','setShapeProps','_localStorageService','roomMembers','_schedule','_handleLeaveEvent','flatMap','attrs','_roomMembers','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','getActiveSheet','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_snapshotService','APPLY_DUPLICATED','buffer','transformByState','concat','_heartbeatTimer','algo','UniverIcon','addEventListener','unshift','_hash','ivSize','APPLY_NON_SEQUENTIAL_REVISION','drawWith','INTERNAL_ERROR','_initStatusListener','_updateLocalCursor','getTime','clone','cursorInfo','_waitForHeartbeatResponse','_onRemoteACK','_initEventListeners','clipPath','update','_hideTimer','OnLineSingle','propertyIsEnumerable','_colorIndex','call','LIVESHARE_OPERATION','every','VIEW_MAIN','_createSocket','sigBytes','_transitionLocked','YUUMI_UNABLE_LOAD_URL','visibilitychange','Utf8','registerRenderModule','_onUserJoin','lib','updatePermissionPoint','/object','permission.content','getSheetBySheetId','disposeWithMe','url(#$1','collaboration-client.config','transformMutationsWithChangeset','FromArray','registerOnClose','getUnitId','action','_registerRenderDependencies','_messageService','sheetId','univer-offline','_onRefRangeChange','/universer-api/comb','_send','error$','RemoveRowCommandId','_hover','_undoStacks','getResourcesRequest','_createHmacHelper','_executeRemoteChangeset','[PendingState]:\x20received\x20rejection.','symbol','getInterceptPoints','&assign=','bottom','OpenSSL','synced','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','gold400','ONLINE','has','measureText','saveSnapshot','startColumn','subunit','_range','setItem','default','_hasher','error','snapshotServerUrl','/fetchmissing?from=','allowed','_drawRectRange','Error\x20on\x20receiving\x20event','length','text','onPointerLeave$','getUnhiddenWorksheets','filter','black','collabStatus.synced','csShouldRetryEvent','_config','0\x200\x2017\x2016','getValue','Base64','_removeClearOtherTimer','blue400','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_stopTelemetryCollaborationNewChangeset','focused$','tag','InsertRowCommandId','beginPath','DeleteRangeMoveLeftCommandId','getUnitType','byteLength','_onConnectionFailed','fetching\x20missing\x20changesets\x20from\x20','compute','arc','_beforeCloseService','_updateState','encode','LEAVE','_transformStack','PENDING','subUnitId','_ensureSubject','setConfig','_refreshCollabCursors','_session','LICENSE_EXPORT_SIZE_EXCEEDED','awaiting_with_pending','endColumn','_onRemoteChangeset','YUUMI_RATE_OVER_LIMIT','_clearRedo','displayName','_sessionStatus$','restore','state$','collabWebSocketUrl','_state$','retryConnectingInterval','_disableEditing','round','_members','_joinRoom','NEW_CHANGESETS','_updateSubUnitFromURLParams','_docStateChangeManagerService','_scheduleClearOtherTimer','reqId','override','[PendingState]:\x20received\x20acknowledgement.','WordArray','_onConnectionOpen','connection\x20error','repeat','endRow','_socketReady','getMergeData','_throwTelemetryCollaborationNewChangeset','/-/object/-/batch_allowed','Could\x20not\x20dynamically\x20require\x20\x22','_entityInit$','newValue','listCollaborators','activeSheet$','redoState','commentUpdate$','_onOffline','substring','_isPermissionRej','selection','NO_OTHER_CLIENTS_EDITING','TEXT','_saveTaskMap','svg','3544OYWcol','_labelPosition','Undefined','_createInitialStateImpl','setUndoRedoMutationParamsCache','_setupBeforeClosingHandler','ERROR_IMAGE','collaborators','getMemberID','liveShareNewHost','_sendHeartbeatTimer','_oKey','_sendHeartbeat','updatePermissionObjEvent','colorChannel1','verdancy600','InsertRangeMoveRightCommandId','socket$','enableSingleActiveInstanceLock','crypto','getRangePointData','replaceState','onMissedChangesetFetched','infoRsp','undoState','_telemetryInfo','_transformUndoRedoStack','Encryptor','/universer-api/authz','href','encodeURIComponent','_DEC_XFORM_MODE','getDeserializedSheetBlock','/unit/','submit\x20changeset\x20error!','_prevBlock','_sender','collaboration-session-retry','getCurrentRevOfUnit','compose','status','_incrementRevisionNumber','xlink:href','onMouseMove','YUUMI_URL_COL_OUT_OF_RANGE','_undoRedoService','getUniverSheetInstance','_initMergeInterceptor','_clearOtherTimers','closePath','unknown','decrypt','APPLY_PERMISSION_DENIED','joinEvent','_mode','OffLineSingle','setInterval','getImage','_registerDependencies','_collabCursorController','_syncEditingCollabCursorService','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','on-line-single','put','SHA1','onCommandExecuted','_startCollaboration','objectType','HEADER_MENU','_handleHover','getVpScrollXYInfoByPosToVp','_colorAssignService','localeService','_initUnitPermissionChange','_cursorShapes','objectID','_createInitialState','save','delete','onload','_scheduleSaving','skeleton','extend','/block/','SUCCUSS','_initCommandExecutedListener','onPointerMove$','INGEST','execute','off-line-single_clip0_910_343','subscribe','SYNCED','17681uBQKeI','getAncestorScale','className','commentUpdateEvent','_tryReconnect','saveOfflineData','deepClone','toggleOffline','_doReset','_candidateSocket','_getMergeRange','_queuedRemoteChangesets','ERROR_EXCEED_SIZE','onTransformIME','string','JOINING','_onRemoteRejected','_clearCollaborationTimeoutTimer','_socketMessageSubscription','lineTo','c2Prime','Error','unpad','session.collaboration-timeout','popstate','unitID','open$','children','_httpService','collaboration.single-unit.warning','COMMENT_UPDATE','removeParam','resourceIDs','_docSyncEditingCollabCursorService','_acknowledgedAwaitingChangeset','MD5','/universer-api/snapshot','_startDocCollabCursor','ENSURE_SNAPSHOT_EXECUTION','_setupSubUnitSync','conflict','reduce','show','setAlpha','_changesetSessionId','_compressMutationService','isArray','getItem','_color','[UniverCollaborationClientPlugin]','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','getSheetId','unitId\x20is\x20not\x20found','_transformStateCache','addObjects','_data','_event$','CHANGESET_SHOULD_RETRY','hostname','assignAColorForMemberID','some','#fff','_urlService','not_collab','color','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_transformIMECache','setWaitCount','{fileID}','_iv','failed\x20to\x20apply\x20missed\x20changesets!','incrementRevOfUnit','CBC','forEach','_showConflictNotification','requestParams','max','\x20to\x20','readInt32LE','_docTransformSelectionsService','mutations','fetchMissingChangesets','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_listenToOfflineEvent','/universer-api/oidc/authpage','_checkMissing','_commentUpdate$','_init','_eventUnsubscribe','_cursorInfo$','SHOULD_CLOSE_CONN','UNDEFINED','charCodeAt','isEditing','_entities','trim','_injector','onTransformRemoteChangesetByStateCache','substr','UnitSnapshot','_disabled','getCollabEntity','fetch_missing','reset','onMissingChangesets','rgba(255,\x20255,\x20255,\x200.01)','_tryEnsureSocket','_ENC_XFORM_MODE','/universer-api/stream/file/upload','byteOffset','_append','UNAUTHENTICATED','_loadDoc','_createHandler','UNIVER_SLIDE','history','interceptor','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','\x0aCurrent:\x20','transformUndoRedo','$super','ERROR_IMAGE_TYPE','complete','univer-online-status-icon','roomMembers$','getWorkbookSelections','clamp','_handleJoinEvent','UPDATE_CURSOR','transformSelections','_context','toRgbString','COMPRESS_MUTATION_SEND','cmd','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','PERMISSION_REJ','m2Prime','clear','ACTIVE_UNIT_EVENT_CHANNEL','/allowed','_sendingTimer','_state','toggleOnline','startRow','_process','getStateCache','idSuffix','_map','entries','transformStateCache','Base','USERS_ENTER','randomUUID','random','UNIVER_SHEET','ALREADY_EXISTS','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_rescheduleHeartbeat','_saveCache','_draw','_startSheetCollabCursor','FAIL','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','[CollaborationUndoRedoService]','&to=','collab-client.tooltip.reconnect','transformChangesets','100052pyDRcc','height','LOGIN_URL_KEY','cfg','map','_univerInstanceService','_commandService','row','_localeService','_retryCount','with','482471Aajtan','_roomMembers$','unsubscribe','_getSignURL','_syncEditingCollabCursor','_updateStatus','catch','updateMember','_initStatusComponent','InsertRangeMoveDownCommandId','hovered','onPointerEnter$','Pkcs7','findNodePositionByCharIndex','/role','/object/','url(#off-line-single_clip0_910_343)','#FFF','_xformMode','_getAnchorBounding','transformMutation','_collaborationPaused','/rev/','eventID','SNAPSHOT_URL_KEY','LIVESHARE_FETCH_OPERATIONS','CHANGESET_REJ','LOCAL_CACHE_INTERVAL','[SyncedState]:\x20received\x20rejection.','file','onTransformChange$','_toggleOnline','_cursor','close$','TOO_MANY_REQUESTS','SNAPSHOT_SERVER_URL_KEY','getMember','_clearHeartbeatTimer','_getSnapshotAPIPrefix','getAllMembers','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_minBufferSize','msCrypto','min','_docTransformStateCacheService','set','USERS_LEAVE','CHANGESET_ACK','values','split','M0\x200H16V16H0z','_startTelemetryCollaborationNewChangeset','_awaitingChangeset','?url=','_onUserLeave','_remoteChangesetQueue','kdf','blockSize','number','Decryptor','width','PERMISSION_DENIED','getUnitStatus$','_submitChangeset','_removeRoom','create','MSG_FOR_ERROR','554827TfZyEc','UPDATE_PERMISSION_OBJ','_configService','PasswordBasedCipher','_decreaseWaiting','fetchThroughInterceptors','/collaborator','Cipher','UNRECOGNIZED','enableLocalCache','DeleteRangeMoveUpCommandId','6EvTnBf','getTypeOfUnitAdded$','mode','_socket$','slice','leaveEvent','url(#on-line-single_clip0_910_349)','_lastPointer','code','_replayCachedMutations','currentTheme$','range','_clearTimeoutTimer','onRemoteRetry','getCurrentUnitForType','memberID','_doCryptBlock','saveChangeset','_onLocalMutation','body','createSocket','[OfflineState]:\x20received\x20acknowledgement.','_id','onTransformSelections','title','getUnit','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','contains','fromCharCode','purple300','_substituteRedoStack','_themeService','onSyncEditingCollabCursor','message$','subscribeEvent','workbook','readAsDataURL','newCsEvent','div','result','replaceTextRanges','_updateURLWithCurrentState','image/png','getActiveRange','_scene','image/jpg','_type','_unlockTransition','deleteCollaborator','batchAllowed','onTransformRemoteChangesetByIMECache','onStateChange','[CollaborationSession]','_getUploadFileURL','getLatestCsReqIdBySid','RECT','_loadSheet','append','apply','hasher','LICENSE_MAX_UNITS_EXCEEDED','onTransformState','clearTimeout','loadOfflineData','APPLY_REVISION_CONFILICT','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','rng','_ws','_onRecvEvent','_removeCollabCursors','univer-pro.collaboration-client-socket-service','on-line-single_clip0_910_349','target','push','function','image/gif','OTHER_CLIENTS_EDITING','transformRemoteChangeset','LICENSE_DISTRO_REJECTED','HELLO','selections','userID','iterations','_onCombEvent','getFocusedUnit','_collaborationSessionService','column','getConfig','uni.network.url-service','duration','_pendingMutations','collab-text-range-','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','now','getDocRanges','object','getParam','icon','SerializableCipher','COMPLETION_FINISHED','getRenderById','_key','_telemetryService','_nRounds','image/jpeg','INVALID_ARGUMENT','session.will-retry','_socketService','fill','RECV','_clearUndo','editing\x20status\x20changed\x20to','sendChangesetTimeout','_collaborationController','_toggleOffline','registerBeforeClose','_getLoginPath','[SyncedState]:\x20received\x20acknowledgement.','changesets','PSEUDO_FETCH_MISSING_RESULT','permission.title','_resendTimeout','collaboration_new_changeset','shouldCloseConn','getOwnPropertyDescriptor','_resendTimer','_cursors','urlChange$','_sessions','_doFinalize','auth.needGotoLoginAlert','COMPRESS_MUTATION_APPLY','currentColor','HEARTBEAT_INTERVAL','_handleHeartbeatEvent','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','setActiveRange','_name','pending','6ksfLAU','[FetchMissState]','socketService','_getAPIPrefixPath','_permissionService','fromCollab','toString','sessionStatus$','splice','src','transformIMECache','_onConflict','_instanceService','SNAPSHOT_INVALID_SNAPSHOT','textRanges','syncEditingCollabCursor','AWAITING','_transformUndoredo','_updateCollabCursors','\x20in\x20_schedule.','encrypt','_substituteUndoStack','_getRedoStack','getRelativeToViewportCoord','registerHTTPInterceptor','_collaborationTimeoutTimer','type','evenodd','reject','next','_onRemoteRetry','makeDirty','doc.mutation.rich-text-editing','updateOfflineData','close','HttpExport','UnitEmbedded','m1Prime','_hovered','_scheduleCollaborationTimeoutTimer','_transformSelections','_socket','_retryConnectingTimer','use','SNAPSHOT_HAS_BEEN_REMOVED','csAckEvent','path','UUID','_collabSessionService','Univer','ranges','_fetchMissChangesets','[OfflineState]:\x20received\x20changeset.','_shouldReportTelemetry','state','collabCursorState$','LIVESHARE_REQUEST_HOST','_initCloseConn','_transformPreviousActiveRange','offline','toLowerCase','padding','revision','keySize','closeSession','cursorInfo$','socket\x20open.','floor','prototype','collaboration.closeRoom','_getSheetObject','IDLE','rev','session.room-full','HEARTBEAT','_drawAnchor','getOwnPropertySymbols','image/bmp','dispose','routeKey','finalize','_unitStatus','_drawTextRange','_onMessage','getCollabEntity$','charAt','onRemoteAck','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','_imageSourceCache','_handler','snapshot','BlockCipher','baseRev','getRoom','_transformRemoteChangesetByIMECache','_textBubble','post','MUTATION','includes','univer-online-status-title','list','addObject','headers','searchParams','disableLocalCache','current','LICENSE_IMPORT_SIZE_EXCEEDED','_keyPriorReset','none','/universer-api/file/{fileID}/sign-url','conflict.title','_getDownloadEndpointURL','NoPadding','onRemoteChangeset','DEFAULT_FILE_NAME','Malformed\x20UTF-8\x20data','/-/object/list','_cachedData','[DataLoaderController]','CONFLICT','_nDataBytes','_applyRemoteChangeset','FETCH_MISS','find','conflict.content','0\x200\x2016\x2016','awaiting','AWAITING_WITH_PENDING','collab-rect-range-','_redoStacks','loadSheet','actions','requireSession','_backgroundColor','createEncryptor','CONNECTOR_DATA_TOO_LARGE','startsWith','unit','FETCH_MISSING','exhaustSavingTask','init','_anchorDot','_userManagerService','_docSkeletonManagerService','sessionStatus','capture','UNIVER_COLLABORATION_CLIENT_PLUGIN','getCurrentUser','appendMutation','pushState','setParam','assign','fillText','loadDoc','fetchMiss','reconnect','AUTHZ_URL_KEY','_anchor','unit-cache-','CipherParams','from','currentSkeleton$','_getSaveTimeout','univer-online','getTypeOfUnitDisposed$','SUBMIT_CHANGESET','debug','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','listRoles','_render','resend','createDecryptor','BlockCipherMode','_singleActiveUnitService','_docSkeleton','clearInterval','sheetID','4653xkXHRq','setTimeout','decryptBlock','COLLAB_SUBMIT_CHANGESET_URL','event$','_assignedColors','authzUrl','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','hasOwnProperty','updateCursorEvent','uploadFileServerUrl','UNIVER_DOC','initWorkbookPermissionChange','Hex','asObservable','_onCursorDelete','fillStyle','_waitCount','patch','getUndoRedoMutationParamsCache','getViewport','onlineStatusIcon','setShowComponents','JOIN','top','LIVESHARE_NEW_HOST','then','__creator','pluginName','transformStack\x20failed!','isActive','translate(.97)','defs','_timeoutTimer','font','OFFLINE','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_replaceFileID','get','_getSendChangesetTimeout','getRandomValues','getCollabCursors$','142588ZMBubN','Unknown\x20user','NOT_COLLAB','_localCacheService','LIVESHARE_TERMINATE','_clearScheduledTask','_getAPIPrefix','_updateLocalCache','processBlock','createInstance','_getCurrentRevision','_lockTransition','parse','Warning','send','RETRY_CONNECTING_MAX_COUNT','_cipher','_onFetchMissResult','UNIVER_PROJECT','session','params','Hasher','onRemoteRej','AES','univerjs-icon\x20univerjs-icon-','_scheduleTimestamp','isPermissionRej','YUUMI_SUBSCRIPTION_NOT_FOUND','...','bind','sid','format','/resources','_online','BufferedBlockAlgorithm','_status$','_renderManagerService','_refRangeService','size','_unitID','exports','ceil','_revisionService','abs','_changesetReqId','HmacSHA1','10NzdIoS','enableOfflineEditing','replace','_getUndoStack','_logService','_invKeySchedule','Latin1','_transformService','equals','/new_changes','collab-text-anchor-','join','onSendChangeset','onStarting','executeCommand','HMAC','responseType','HEARTBEAT_TIMEOUT','session.connection-failed','UNKNOWN_CMD','jiqing500','whenReady','randomBytes','pad','key','encryptBlock','univer-pro.collaboration-client.single-active-unit-service','5IAZSrd','stopTime','onlyLocal','createElement','registerRefRange','_listenToOnlineEvent','_onCursorUpdate','_parse','_createHelper','NOT_FOUND','_sheetTransformSelectionsService','_transformRemoteChangesetByStateCache','updateCollaborator','_transformHistoryAndStateStack','x-univer-host','MoveRangeCommandId','_change$','InsertColCommandId','_onJoinRoomEvent','HttpImport','pipe','_scheduleHeartbeat','collaMsg','_shapes','change$','location','_initResize','/universer-api/snapshot/','getImageSourceCache','_exhaustRemoteChangesetQueue','dispose$','words','_initRequestHeader','_collabCursorState$','roomInfos','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','add','generateRandomId','_notificationService','collabStatus.syncing','unitId','_selfUnitIDs','csRejEvent','originalMeta','awaitingChangeset','_sheetSkeletonManagerService','2652048HUbqON','getSkeleton','enc','_uiPartsService','[CollaborationSessionService]','[CollaborationEntity]','EvpKDF','name','labelPosition','_HTTPService','docStateChange$','resolve','fillRule','_unitOnClients','getOffsetConfig','objects','stringify','online','defIds'];_0xe4d5=function(){return _0x5f57e2;};return _0xe4d5();}const Dr=_0x494e14(0x2a2);function Pr(_0x2dd118){const _0x4ac0c1=_0x494e14;return JSON['stringify'](_0x2dd118)[_0x4ac0c1(0x490)];}class wi{constructor(){const _0x494958=_0x494e14;g(this,_0x494958(0x598),new _0x243cfe()),g(this,_0x494958(0x4dd),this['_commentUpdate$']['asObservable']());}['onCommentUpdate'](_0x2f1108){const _0x1436e1=_0x494e14;this[_0x1436e1(0x598)][_0x1436e1(0x2d0)](_0x2f1108);}}var Ur=Object[_0x494e14(0x421)],Nr=Object[_0x494e14(0x2a4)],Ar=(_0x235b0a,_0x3d4370,_0x36e3f8,_0x4d3813)=>{const _0xce042f=_0x494e14;for(var _0x2cf3e1=_0x4d3813>0x1?void 0x0:_0x4d3813?Nr(_0x3d4370,_0x36e3f8):_0x3d4370,_0x1eee14=_0x235b0a[_0xce042f(0x490)]-0x1,_0x22071c;_0x1eee14>=0x0;_0x1eee14--)(_0x22071c=_0x235b0a[_0x1eee14])&&(_0x2cf3e1=(_0x4d3813?_0x22071c(_0x3d4370,_0x36e3f8,_0x2cf3e1):_0x22071c(_0x2cf3e1))||_0x2cf3e1);return _0x4d3813&&_0x2cf3e1&&Ur(_0x3d4370,_0x36e3f8,_0x2cf3e1),_0x2cf3e1;},Hs=(_0x24a98e,_0x7d91b0)=>(_0x17706d,_0x319b3d)=>_0x7d91b0(_0x17706d,_0x319b3d,_0x24a98e);let Ne=class extends _0x326223{constructor(_0x2731,_0x428951){const _0x27c3af=_0x494e14;super(),g(this,_0x27c3af(0x42f),new Map()),(this[_0x27c3af(0x5ee)]=_0x2731,this['_userManagerService']=_0x428951,this[_0x27c3af(0x461)](_0xf5e7f5(_0x5326b0(this[_0x27c3af(0x5ee)]['getTypeOfUnitDisposed$'](_0x50e7dc[_0x27c3af(0x5dc)])[_0x27c3af(0x3eb)](_0x487dae(_0xaacdcf=>_0xaacdcf['getUnitId']())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x50e7dc[_0x27c3af(0x36f)])[_0x27c3af(0x3eb)](_0x487dae(_0x233c14=>_0x233c14['getUnitId']())),this[_0x27c3af(0x5ee)][_0x27c3af(0x357)](_0x50e7dc[_0x27c3af(0x5b4)])['pipe'](_0x487dae(_0x38c03c=>_0x38c03c[_0x27c3af(0x467)]())))[_0x27c3af(0x540)](_0xcc66f2=>this[_0x27c3af(0x21a)](_0xcc66f2)))));}[_0x494e14(0x427)](_0x4f98f9){const _0x40be42=_0x494e14;this['_userManagerService'][_0x40be42(0x427)](_0x4f98f9);}[_0x494e14(0x346)](){const _0xa3aa82=_0x494e14;return this[_0xa3aa82(0x341)][_0xa3aa82(0x346)]();}['updateMember'](_0x30c3b8,_0x28e392){const _0x55ed46=_0x494e14;let _0x195727=this[_0x55ed46(0x42f)][_0x55ed46(0x38a)](_0x30c3b8);_0x195727||(_0x195727=new Mr(),this['_roomMembers'][_0x55ed46(0x207)](_0x30c3b8,_0x195727)),_0x195727[_0x55ed46(0x5fb)](_0x28e392);}[_0x494e14(0x424)](_0x2ffe46,_0x3f114c){const _0x2962d5=_0x494e14,_0x2ff90d=this[_0x2962d5(0x42f)][_0x2962d5(0x38a)](_0x2ffe46);_0x2ff90d&&_0x2ff90d['removeMember'](_0x3f114c);}[_0x494e14(0x310)](_0x2d0cd7){const _0xe05024=_0x494e14;return this[_0xe05024(0x42f)]['get'](_0x2d0cd7);}[_0x494e14(0x1fe)](_0x2fdc7b,_0x54b095){const _0xd9e2f9=_0x494e14,_0x4b3b3c=this['_roomMembers'][_0xd9e2f9(0x38a)](_0x2fdc7b);if(_0x4b3b3c)return _0x4b3b3c[_0xd9e2f9(0x1fe)](_0x54b095);}[_0x494e14(0x21a)](_0x16e758){const _0x2b2359=_0x494e14,_0xe5b6d4=this['_roomMembers']['get'](_0x16e758);_0xe5b6d4&&(_0xe5b6d4[_0x2b2359(0x301)](),this[_0x2b2359(0x42f)]['delete'](_0x16e758));}['dispose'](){const _0x25ac23=_0x494e14;this[_0x25ac23(0x42f)]['forEach'](_0x4cd361=>_0x4cd361[_0x25ac23(0x301)]()),this[_0x25ac23(0x42f)]['clear']();}};Ne=Ar([Hs(0x0,_0x15b9fa),Hs(0x1,_0x41b3da(_0xab6080))],Ne);class Mr extends _0x326223{constructor(){const _0x24c863=_0x494e14;super(...arguments),g(this,_0x24c863(0x4c5),new Map());}[_0x494e14(0x301)](){const _0x2b7ed3=_0x494e14;this[_0x2b7ed3(0x4c5)][_0x2b7ed3(0x5cb)]();}[_0x494e14(0x5fb)](_0x369df7){const _0x33ff17=_0x494e14;this['_members'][_0x33ff17(0x207)](_0x369df7[_0x33ff17(0x237)],_0x369df7);}['removeMember'](_0x3d9172){const _0x4b02f7=_0x494e14;this[_0x4b02f7(0x4c5)][_0x4b02f7(0x534)](_0x3d9172);}['getMember'](_0x3c3e1c){const _0x110684=_0x494e14;return this[_0x110684(0x4c5)][_0x110684(0x38a)](_0x3c3e1c);}[_0x494e14(0x201)](){const _0x3b29d6=_0x494e14;return Array[_0x3b29d6(0x353)](this[_0x3b29d6(0x4c5)][_0x3b29d6(0x20a)]());}}var xr=Object[_0x494e14(0x421)],Lr=Object[_0x494e14(0x2a4)],$r=(_0xd5d0e1,_0x339656,_0x1ca043,_0x39a12d)=>{for(var _0x30885d=_0x39a12d>0x1?void 0x0:_0x39a12d?Lr(_0x339656,_0x1ca043):_0x339656,_0xee4b2f=_0xd5d0e1['length']-0x1,_0xe1517f;_0xee4b2f>=0x0;_0xee4b2f--)(_0xe1517f=_0xd5d0e1[_0xee4b2f])&&(_0x30885d=(_0x39a12d?_0xe1517f(_0x339656,_0x1ca043,_0x30885d):_0xe1517f(_0x30885d))||_0x30885d);return _0x39a12d&&_0x30885d&&xr(_0x339656,_0x1ca043,_0x30885d),_0x30885d;},Ee=(_0x177a4e,_0x2ec984)=>(_0x3ce587,_0x1783a2)=>_0x2ec984(_0x3ce587,_0x1783a2,_0x177a4e),ve=(_0x4c6fcd=>(_0x4c6fcd[_0x4c6fcd[_0x494e14(0x2fa)]=0x0]='IDLE',_0x4c6fcd[_0x4c6fcd[_0x494e14(0x551)]=0x1]=_0x494e14(0x551),_0x4c6fcd[_0x4c6fcd[_0x494e14(0x387)]=0x2]=_0x494e14(0x387),_0x4c6fcd[_0x4c6fcd[_0x494e14(0x480)]=0x3]=_0x494e14(0x480),_0x4c6fcd))(ve||{});let ts=class extends _0x542deb{constructor(_0x20d11b,_0x3d8113,_0x161e27,_0x2fc640,_0x1d522e,_0x275565,_0x18bc97,_0xafc8ab,_0x2ac85f,_0x1a3f18){const _0x1e80e3=_0x494e14;super(),g(this,'_sessionStatus$',new _0x9b8747(0x0)),g(this,_0x1e80e3(0x2ba),this[_0x1e80e3(0x4bd)][_0x1e80e3(0x372)]()),g(this,'_event$',new _0x243cfe()),g(this,_0x1e80e3(0x368),this[_0x1e80e3(0x57a)][_0x1e80e3(0x372)]()),g(this,_0x1e80e3(0x2dc)),g(this,'_socketMessageSubscription'),g(this,_0x1e80e3(0x2cc)),g(this,_0x1e80e3(0x2e8),!0x1),g(this,_0x1e80e3(0x4ff),null),(this[_0x1e80e3(0x3b5)]=_0x20d11b,this[_0x1e80e3(0x3c0)]=_0x161e27,this[_0x1e80e3(0x4ab)]=_0x2fc640,this[_0x1e80e3(0x46a)]=_0x1d522e,this[_0x1e80e3(0x21f)]=_0x275565,this[_0x1e80e3(0x5f1)]=_0x18bc97,this['_memberService']=_0xafc8ab,this['_commentService']=_0x2ac85f,this['_telemetryService']=_0x1a3f18,this[_0x1e80e3(0x2e8)]=!!this['_telemetryService'],_0x3d8113[_0x1e80e3(0x3eb)](_0x3ee31c(this[_0x1e80e3(0x3f5)]))[_0x1e80e3(0x540)](_0x490352=>{const _0x2d4115=_0x1e80e3;var _0x424702;typeof _0x490352>'u'||(this[_0x2d4115(0x2dc)]=_0x490352,_0x490352?(this[_0x2d4115(0x4c6)](_0x490352),this[_0x2d4115(0x554)]=_0x490352[_0x2d4115(0x249)][_0x2d4115(0x540)](_0xa6423b=>{const _0x1b3575=_0x2d4115;_0xa6423b[_0x1b3575(0x302)]===this[_0x1b3575(0x3b5)]&&this['_onCombEvent'](_0xa6423b);})):(this[_0x2d4115(0x4d5)](),this[_0x2d4115(0x4bd)]['next'](0x2),(_0x424702=this['_socketMessageSubscription'])==null||_0x424702[_0x2d4115(0x5f6)](),this[_0x2d4115(0x554)]=null));}),this[_0x1e80e3(0x461)](this['_beforeCloseService'][_0x1e80e3(0x466)](()=>{const _0x2e3c78=_0x1e80e3;var _0x507bd8;(_0x507bd8=this[_0x2e3c78(0x2dc)])==null||_0x507bd8[_0x2e3c78(0x39c)]({'cmd':W['LEAVE'],'data':{'roomID':this[_0x2e3c78(0x3b5)]}});})));}get[_0x494e14(0x343)](){const _0x5ac3c7=_0x494e14;return this[_0x5ac3c7(0x4bd)]['getValue']();}[_0x494e14(0x4ee)](){const _0x3659f7=_0x494e14;var _0x2a524a,_0x1b22b9;return(_0x1b22b9=(_0x2a524a=this['_socket'])==null?void 0x0:_0x2a524a[_0x3659f7(0x237)])!=null?_0x1b22b9:null;}[_0x494e14(0x301)](){const _0x36a8ac=_0x494e14;super[_0x36a8ac(0x301)](),this[_0x36a8ac(0x3f5)][_0x36a8ac(0x2d0)](),this[_0x36a8ac(0x3f5)][_0x36a8ac(0x5bc)]();}[_0x494e14(0x2d5)](){const _0x3ac72f=_0x494e14;var _0x5c4214,_0xdca928;this[_0x3ac72f(0x4d5)](),(_0x5c4214=this[_0x3ac72f(0x2dc)])==null||_0x5c4214[_0x3ac72f(0x39c)]({'cmd':W['LEAVE'],'data':{'roomID':this[_0x3ac72f(0x3b5)]}}),(_0xdca928=this['_socket'])==null||_0xdca928[_0x3ac72f(0x2d5)](),this[_0x3ac72f(0x57a)][_0x3ac72f(0x5bc)](),this[_0x3ac72f(0x4bd)][_0x3ac72f(0x5bc)](),this[_0x3ac72f(0x301)]();}[_0x494e14(0x27b)](_0x1537b6){const _0x3a0941=_0x494e14;_0x1537b6[_0x3a0941(0x5c7)]===W[_0x3a0941(0x37b)]?this[_0x3a0941(0x3e9)](_0x1537b6):_0x1537b6[_0x3a0941(0x5c7)]===W[_0x3a0941(0x295)]&&this[_0x3a0941(0x26c)](_0x1537b6);}[_0x494e14(0x4c6)](_0x47babf){const _0x4253fc=_0x494e14;this[_0x4253fc(0x4bd)][_0x4253fc(0x2d0)](0x1),_0x47babf[_0x4253fc(0x39c)]({'cmd':W[_0x4253fc(0x37b)],'routeKey':this[_0x4253fc(0x3b5)],'routeType':'','data':{'rooms':[{'roomID':this[_0x4253fc(0x3b5)]}]}});}[_0x494e14(0x3e9)](_0x16ed0c){const _0x40b740=_0x494e14;var _0x217f52;if(_0x16ed0c[_0x40b740(0x230)]===Is[_0x40b740(0x5e3)]){this[_0x40b740(0x46a)][_0x40b740(0x56c)]({'type':_0x31fabe[_0x40b740(0x39b)],'content':this[_0x40b740(0x5f1)]['t'](_0x40b740(0x2fc))}),this['_sessionStatus$'][_0x40b740(0x2d0)](0x2);return;}this[_0x40b740(0x4bd)][_0x40b740(0x2d0)](0x3);const _0x36a33d=(_0x217f52=_0x16ed0c[_0x40b740(0x41c)][_0x40b740(0x3f9)][this[_0x40b740(0x3b5)]])==null?void 0x0:_0x217f52['members'];_0x36a33d&&_0x36a33d[_0x40b740(0x58b)](_0x238444=>this[_0x40b740(0x422)][_0x40b740(0x5fb)](this['_unitID'],_0x238444));}[_0x494e14(0x26c)](_0x2b1d54){const _0x5d6e92=_0x494e14;try{const _0x232397=_0x2b1d54[_0x5d6e92(0x41c)];switch(_0x232397[_0x5d6e92(0x1f1)]){case _0x3c9498[_0x5d6e92(0x5d9)]:this[_0x5d6e92(0x45b)](_0x232397),this['_event$'][_0x5d6e92(0x2d0)](_0x232397);break;case _0x3c9498[_0x5d6e92(0x208)]:this['_onUserLeave'](_0x232397),this[_0x5d6e92(0x57a)]['next'](_0x232397);break;case _0x3c9498[_0x5d6e92(0x209)]:case _0x3c9498[_0x5d6e92(0x57b)]:this[_0x5d6e92(0x49f)](),this[_0x5d6e92(0x553)](),this[_0x5d6e92(0x57a)][_0x5d6e92(0x2d0)](_0x232397);break;case _0x3c9498[_0x5d6e92(0x21c)]:this[_0x5d6e92(0x3c0)]['error']('save\x20fail\x20reason\x20is\x20'+JSON[_0x5d6e92(0x415)](_0x232397)),this[_0x5d6e92(0x57a)][_0x5d6e92(0x2d0)](_0x232397);break;case _0x3c9498[_0x5d6e92(0x560)]:this['_commentService']['onCommentUpdate'](_0x232397[_0x5d6e92(0x41c)]),this[_0x5d6e92(0x57a)][_0x5d6e92(0x2d0)](_0x232397);break;default:this[_0x5d6e92(0x57a)][_0x5d6e92(0x2d0)](_0x232397);}}catch(_0x1bb2f5){this[_0x5d6e92(0x3c0)][_0x5d6e92(0x48a)](_0x1bb2f5,_0x2b1d54);}}['_onUserJoin'](_0x2b4d4d){const _0x19967a=_0x494e14;this['_memberService'][_0x19967a(0x5fb)](this['_unitID'],_0x2b4d4d[_0x19967a(0x41c)]);}[_0x494e14(0x210)](_0xe0e6d0){const _0x2b6e4a=_0x494e14;this[_0x2b6e4a(0x422)][_0x2b6e4a(0x424)](this['_unitID'],_0xe0e6d0[_0x2b6e4a(0x41c)][_0x2b6e4a(0x237)]);}async['send'](_0x543242,_0x36f8a7){const _0x372aa8=_0x494e14;if(this[_0x372aa8(0x343)]!==0x3||!this[_0x372aa8(0x2dc)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x543242[_0x372aa8(0x1f1)]===_0x3c9498['SUBMIT_CHANGESET']&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x372aa8(0x20d)](_0x543242)),this[_0x372aa8(0x2dc)]['send']({'cmd':W[_0x372aa8(0x53d)],'routeKey':_0x36f8a7,'routeType':'','data':_0x543242});}catch(_0x3dbff5){this[_0x372aa8(0x3c0)][_0x372aa8(0x48a)](_0x3dbff5);}}[_0x494e14(0x2da)](){const _0x24017c=_0x494e14;var _0x205d81;this[_0x24017c(0x2cc)]=window['setTimeout'](()=>{const _0x1096af=_0x24017c;this['_collaborationTimeoutTimer']=null,this['_messageService']['show']({'type':_0x31fabe['Error'],'content':this['_localeService']['t'](_0x1096af(0x559))});},(_0x205d81=this[_0x24017c(0x21f)][_0x24017c(0x27f)](bi))!=null?_0x205d81:Ti);}[_0x494e14(0x553)](){const _0x10503e=_0x494e14;this[_0x10503e(0x2cc)]&&(clearTimeout(this[_0x10503e(0x2cc)]),this['_collaborationTimeoutTimer']=null);}[_0x494e14(0x20d)](_0x48ed51){const _0x271840=_0x494e14;if(!this['_shouldReportTelemetry'])return;const {data:_0x599393}=_0x48ed51,{unitID:_0x2c9dae,changeset:_0x5285f8}=_0x599393,{mutations:_0x2826b1,type:_0x55fec1}=_0x5285f8;this[_0x271840(0x4ff)]={'unitId':_0x2c9dae,'type':_0x55fec1,'startTime':performance[_0x271840(0x285)](),'stopTime':0x0,'duration':0x0,'size':Pr(_0x2826b1)};}[_0x494e14(0x49f)](){const _0x1f9f84=_0x494e14;if(this[_0x1f9f84(0x2e8)]){if(!this[_0x1f9f84(0x4ff)]){this[_0x1f9f84(0x3c0)][_0x1f9f84(0x48a)](_0x1f9f84(0x25c),'telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0x1f9f84(0x3d8)]=performance[_0x1f9f84(0x285)](),this['_telemetryInfo'][_0x1f9f84(0x281)]=this[_0x1f9f84(0x4ff)][_0x1f9f84(0x3d8)]-this[_0x1f9f84(0x4ff)]['startTime'],this[_0x1f9f84(0x28e)][_0x1f9f84(0x344)](Dr,this['_telemetryInfo']),this['_telemetryInfo']=null;}}[_0x494e14(0x4d5)](){const _0x4bded2=_0x494e14;this[_0x4bded2(0x4ff)]=null;}};ts=$r([Ee(0x2,_0x3bb158),Ee(0x3,_0x128523),Ee(0x4,_0x54b964),Ee(0x5,_0x23210b),Ee(0x6,_0x41b3da(_0x461b9d)),Ee(0x7,_0x41b3da(Ne)),Ee(0x8,_0x41b3da(wi)),Ee(0x9,_0x38b4fe(_0x76a274))],ts);var Hr=Object['defineProperty'],jr=Object['getOwnPropertyDescriptor'],Br=(_0x5af111,_0x299bdb,_0x59b290,_0x56989a)=>{for(var _0x348161=_0x56989a>0x1?void 0x0:_0x56989a?jr(_0x299bdb,_0x59b290):_0x299bdb,_0x282209=_0x5af111['length']-0x1,_0x5ef3d1;_0x282209>=0x0;_0x282209--)(_0x5ef3d1=_0x5af111[_0x282209])&&(_0x348161=(_0x56989a?_0x5ef3d1(_0x299bdb,_0x59b290,_0x348161):_0x5ef3d1(_0x348161))||_0x348161);return _0x56989a&&_0x348161&&Hr(_0x299bdb,_0x59b290,_0x348161),_0x348161;},je=(_0x588a6b,_0x5513a3)=>(_0x5eb983,_0x2afdfa)=>_0x5513a3(_0x5eb983,_0x2afdfa,_0x588a6b);let Ae=class extends _0x326223{constructor(_0x318abf,_0x217c2,_0x1cefea,_0x2ef608,_0x37c752,_0x37f9fc){const _0xa7aea3=_0x494e14;super(),g(this,_0xa7aea3(0x22b),new _0x9b8747(void 0x0)),g(this,_0xa7aea3(0x4f7),this[_0xa7aea3(0x22b)]['asObservable']()),g(this,_0xa7aea3(0x54b),null),g(this,_0xa7aea3(0x2a8),new Map()),g(this,_0xa7aea3(0x3b1),new _0x9b8747(ve[_0xa7aea3(0x2fa)])),g(this,'status$',this[_0xa7aea3(0x3b1)][_0xa7aea3(0x372)]()),g(this,_0xa7aea3(0x4d3),!0x1),g(this,'_retryConnectingTimer'),g(this,'_retryCount',0x0),g(this,_0xa7aea3(0x4f0)),g(this,'_timeoutTimer'),(this['_injector']=_0x318abf,this[_0xa7aea3(0x5f1)]=_0x217c2,this[_0xa7aea3(0x46a)]=_0x1cefea,this[_0xa7aea3(0x3c0)]=_0x2ef608,this[_0xa7aea3(0x21f)]=_0x37c752,this['_socketService']=_0x37f9fc,this[_0xa7aea3(0x449)]());}get[_0x494e14(0x2dc)](){const _0x9f3757=_0x494e14;return this[_0x9f3757(0x22b)][_0x9f3757(0x49a)]();}[_0x494e14(0x449)](){const _0xf07ed2=_0x494e14;this[_0xf07ed2(0x595)](),this[_0xf07ed2(0x3dc)]();}[_0x494e14(0x301)](){const _0x4a5103=_0x494e14;super['dispose'](),this[_0x4a5103(0x2a8)][_0x4a5103(0x58b)](_0x28ecf9=>_0x28ecf9[_0x4a5103(0x301)]()),this[_0x4a5103(0x2a8)][_0x4a5103(0x5cb)](),this[_0x4a5103(0x3b1)][_0x4a5103(0x5bc)]();}async[_0x494e14(0x337)](_0x41d700){const _0x1a0fc4=_0x494e14;if(this[_0x1a0fc4(0x2a8)][_0x1a0fc4(0x481)](_0x41d700))return this[_0x1a0fc4(0x2a8)][_0x1a0fc4(0x38a)](_0x41d700);this[_0x1a0fc4(0x5ac)]();const _0x10f2c5=this[_0x1a0fc4(0x5a2)][_0x1a0fc4(0x397)](ts,_0x41d700,this[_0x1a0fc4(0x22b)][_0x1a0fc4(0x372)]());return this['_sessions'][_0x1a0fc4(0x207)](_0x41d700,_0x10f2c5),_0x10f2c5;}[_0x494e14(0x2f3)](_0x6e973d){const _0x3386d7=_0x494e14;var _0x1ef423;const _0x20916b=this[_0x3386d7(0x2a8)][_0x3386d7(0x38a)](_0x6e973d);_0x20916b&&(this['_sessions'][_0x3386d7(0x534)](_0x6e973d),_0x20916b[_0x3386d7(0x2d5)]()),this['_sessions']['size']||(_0x1ef423=this[_0x3386d7(0x2dc)])==null||_0x1ef423[_0x3386d7(0x2d5)]();}[_0x494e14(0x34e)](){const _0x46b1ed=_0x494e14;this['_retryCount']=0x0,this[_0x46b1ed(0x2dd)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x46b1ed(0x2dd)]=null),this[_0x46b1ed(0x546)]();}[_0x494e14(0x454)](){const _0x36712b=_0x494e14;var _0x2d6ce4,_0x54b998;const _0x3334fd=this[_0x36712b(0x21f)]['getConfig'](hr),_0xbf85aa=this[_0x36712b(0x21f)][_0x36712b(0x27f)](ie),_0xfd261a=(_0x54b998=(_0x2d6ce4=_0xbf85aa==null?void 0x0:_0xbf85aa[_0x36712b(0x4c0)])!=null?_0x2d6ce4:_0x3334fd)!=null?_0x54b998:lr,_0x4207bd=this[_0x36712b(0x293)]['createSocket'](_0xfd261a);return this[_0x36712b(0x54b)]=_0x4207bd,_0x4207bd;}[_0x494e14(0x5ac)](){const _0x2ee54c=_0x494e14;var _0x3d9c4f,_0x211762;try{const _0x1f4632=(_0x211762=(_0x3d9c4f=this[_0x2ee54c(0x2dc)])!=null?_0x3d9c4f:this[_0x2ee54c(0x54b)])!=null?_0x211762:this['_createSocket']();if(_0x1f4632){const _0x245e6d=_0x1f4632[_0x2ee54c(0x39c)];_0x1f4632['send']=_0x379a14=>(this[_0x2ee54c(0x5df)](),_0x245e6d[_0x2ee54c(0x262)](_0x1f4632,[_0x379a14])),_0x1f4632[_0x2ee54c(0x249)][_0x2ee54c(0x540)](_0x528d92=>this[_0x2ee54c(0x306)](_0x1f4632,_0x528d92)),_0x1f4632[_0x2ee54c(0x470)][_0x2ee54c(0x3eb)](_0x17a5fa(0x1))[_0x2ee54c(0x540)](_0x25ae3c=>this[_0x2ee54c(0x3c0)][_0x2ee54c(0x48a)]('[CollaborationSessionService]:\x20socket\x20error',_0x25ae3c)),_0x1f4632[_0x2ee54c(0x55c)][_0x2ee54c(0x3eb)](_0x17a5fa(0x1))[_0x2ee54c(0x540)](()=>{const _0x1492f5=_0x2ee54c;this[_0x1492f5(0x4cf)](_0x1f4632);}),_0x1f4632['close$'][_0x2ee54c(0x3eb)](_0x17a5fa(0x1))['subscribe'](_0x410dca=>{const _0x2a9c2c=_0x2ee54c;this[_0x2a9c2c(0x3c0)][_0x2a9c2c(0x359)](_0x2a9c2c(0x409),'socket\x20close',_0x410dca),this['_onConnectionFailed']();});}}catch(_0x563c21){this[_0x2ee54c(0x3c0)][_0x2ee54c(0x48a)](_0x563c21),this[_0x2ee54c(0x4a7)]();}}[_0x494e14(0x4cf)](_0x101ce6){const _0x2fe703=_0x494e14;this[_0x2fe703(0x3c0)]['debug'](_0x2fe703(0x409),_0x2fe703(0x2f5)),_0x101ce6['send']({'cmd':W[_0x2fe703(0x277)]}),this[_0x2fe703(0x5df)]();}[_0x494e14(0x595)](){const _0x5c3d80=_0x494e14;window[_0x5c3d80(0x43b)](_0x5c3d80(0x2ee),()=>this[_0x5c3d80(0x4de)]());}['_onOffline'](){const _0x4a2edb=_0x494e14;this[_0x4a2edb(0x4d3)]=!0x1,this[_0x4a2edb(0x54b)]=null,this['_status$'][_0x4a2edb(0x2d0)](ve[_0x4a2edb(0x387)]),this[_0x4a2edb(0x22b)][_0x4a2edb(0x2d0)](null),this[_0x4a2edb(0x234)](),this[_0x4a2edb(0x1ff)]();}[_0x494e14(0x4a7)](){const _0x3a6186=_0x494e14;var _0x30ee8f;this[_0x3a6186(0x4de)](),this[_0x3a6186(0x5f2)]<((_0x30ee8f=this['_configService'][_0x3a6186(0x27f)](fr))!=null?_0x30ee8f:vr)?(this['_messageService']['show']({'key':_0x3a6186(0x50b),'type':_0x31fabe[_0x3a6186(0x39b)],'content':this[_0x3a6186(0x5f1)]['t'](_0x3a6186(0x292))}),this[_0x3a6186(0x546)]()):this[_0x3a6186(0x46a)][_0x3a6186(0x56c)]({'key':_0x3a6186(0x50b),'type':_0x31fabe[_0x3a6186(0x557)],'content':this[_0x3a6186(0x5f1)]['t'](_0x3a6186(0x3ce))});}['_listenToOnlineEvent'](){const _0x253700=_0x494e14,_0x2eef6e=()=>{const _0x575fa9=_0x5d20;this['_socket']||this[_0x575fa9(0x34e)]();},_0x47d59b=()=>{const _0x332eee=_0x5d20;this[_0x332eee(0x2dc)]||document['visibilityState']==='hidden'||this['reconnect']();};window[_0x253700(0x43b)](_0x253700(0x416),_0x2eef6e),document[_0x253700(0x43b)](_0x253700(0x458),_0x47d59b);}['_tryReconnect'](){const _0x2a7ea7=_0x494e14;var _0x219693;const _0x5713ef=this[_0x2a7ea7(0x5f2)],_0x1b49c0=this[_0x2a7ea7(0x21f)][_0x2a7ea7(0x27f)](ie),_0xa0e6fe=_0x5713ef===0x0?0x0:((_0x219693=_0x1b49c0==null?void 0x0:_0x1b49c0[_0x2a7ea7(0x4c2)])!=null?_0x219693:dr)*0x2**_0x5713ef;this['_retryConnectingTimer']=window[_0x2a7ea7(0x365)](()=>{const _0x44506f=_0x2a7ea7;clearTimeout(this[_0x44506f(0x2dd)]),this[_0x44506f(0x2dd)]=null,this['_tryEnsureSocket']();},_0xa0e6fe),this[_0x2a7ea7(0x5f2)]+=0x1;}[_0x494e14(0x306)](_0xfc9351,_0x23ecd8){const _0x484c83=_0x494e14,{cmd:_0x419d8c}=_0x23ecd8;_0x419d8c===W[_0x484c83(0x277)]&&!this[_0x484c83(0x4d3)]&&(_0xfc9351[_0x484c83(0x237)]=_0x23ecd8[_0x484c83(0x41c)]['memberID'],this[_0x484c83(0x22b)][_0x484c83(0x2d0)](_0xfc9351),this[_0x484c83(0x3b1)]['next'](ve[_0x484c83(0x480)]),this[_0x484c83(0x4d3)]=!0x0,this[_0x484c83(0x54b)]=null),_0x419d8c===W['HEARTBEAT']&&this[_0x484c83(0x234)](),this[_0x484c83(0x5df)]();}[_0x494e14(0x5df)](){const _0x364d11=_0x494e14;var _0x3aad1c;this[_0x364d11(0x1ff)](),this[_0x364d11(0x4f0)]=window['setTimeout'](()=>this[_0x364d11(0x4f2)](),(_0x3aad1c=this[_0x364d11(0x21f)]['getConfig'](_r))!=null?_0x3aad1c:ur);}['_sendHeartbeat'](){const _0x55d94f=_0x494e14;this[_0x55d94f(0x2dc)][_0x55d94f(0x39c)]({'cmd':W[_0x55d94f(0x2fd)]}),this[_0x55d94f(0x447)]();}['_waitForHeartbeatResponse'](){const _0xbb3d74=_0x494e14;var _0x27aee7;this[_0xbb3d74(0x385)]=window[_0xbb3d74(0x365)](()=>this[_0xbb3d74(0x4a7)](),(_0x27aee7=this[_0xbb3d74(0x21f)][_0xbb3d74(0x27f)](bi))!=null?_0x27aee7:Ti);}[_0x494e14(0x1ff)](){const _0x13ef24=_0x494e14;this[_0x13ef24(0x4f0)]!=null&&(clearTimeout(this[_0x13ef24(0x4f0)]),this[_0x13ef24(0x4f0)]=null);}['_clearTimeoutTimer'](){const _0x561c6f=_0x494e14;this[_0x561c6f(0x385)]!=null&&(clearTimeout(this[_0x561c6f(0x385)]),this['_timeoutTimer']=null);}};Ae=Br([je(0x0,_0x41b3da(_0x2087b9)),je(0x1,_0x41b3da(_0x461b9d)),je(0x2,_0x54b964),je(0x3,_0x3bb158),je(0x4,_0x23210b),je(0x5,Oi)],Ae);var Y=[];for(var Nt=0x0;Nt<0x100;++Nt)Y[_0x494e14(0x271)]((Nt+0x100)['toString'](0x10)[_0x494e14(0x22c)](0x1));function kr(_0x7c3150,_0x5d1ff8=0x0){const _0x2a7343=_0x494e14;return(Y[_0x7c3150[_0x5d1ff8+0x0]]+Y[_0x7c3150[_0x5d1ff8+0x1]]+Y[_0x7c3150[_0x5d1ff8+0x2]]+Y[_0x7c3150[_0x5d1ff8+0x3]]+'-'+Y[_0x7c3150[_0x5d1ff8+0x4]]+Y[_0x7c3150[_0x5d1ff8+0x5]]+'-'+Y[_0x7c3150[_0x5d1ff8+0x6]]+Y[_0x7c3150[_0x5d1ff8+0x7]]+'-'+Y[_0x7c3150[_0x5d1ff8+0x8]]+Y[_0x7c3150[_0x5d1ff8+0x9]]+'-'+Y[_0x7c3150[_0x5d1ff8+0xa]]+Y[_0x7c3150[_0x5d1ff8+0xb]]+Y[_0x7c3150[_0x5d1ff8+0xc]]+Y[_0x7c3150[_0x5d1ff8+0xd]]+Y[_0x7c3150[_0x5d1ff8+0xe]]+Y[_0x7c3150[_0x5d1ff8+0xf]])[_0x2a7343(0x2ef)]();}var ct,Wr=new Uint8Array(0x10);function Fr(){const _0x5c9d77=_0x494e14;if(!ct&&(ct=typeof crypto<'u'&&crypto['getRandomValues']&&crypto[_0x5c9d77(0x38c)]['bind'](crypto),!ct))throw new Error(_0x5c9d77(0x388));return ct(Wr);}var Vr=typeof crypto<'u'&&crypto[_0x494e14(0x5da)]&&crypto[_0x494e14(0x5da)][_0x494e14(0x3ab)](crypto);const js={'randomUUID':Vr};function Gr(_0x1a3cf3,_0x254db6,_0x37d2a4){const _0x95ce4f=_0x494e14;if(js['randomUUID']&&!_0x254db6&&!_0x1a3cf3)return js[_0x95ce4f(0x5da)]();_0x1a3cf3=_0x1a3cf3||{};var _0x32840b=_0x1a3cf3['random']||(_0x1a3cf3[_0x95ce4f(0x26a)]||Fr)();return _0x32840b[0x6]=_0x32840b[0x6]&0xf|0x40,_0x32840b[0x8]=_0x32840b[0x8]&0x3f|0x80,kr(_0x32840b);}var Yr=Object['defineProperty'],Kr=Object[_0x494e14(0x2a4)],zr=(_0x2159a5,_0x525259,_0x21779e,_0x2af00a)=>{const _0x1138cf=_0x494e14;for(var _0x5c6350=_0x2af00a>0x1?void 0x0:_0x2af00a?Kr(_0x525259,_0x21779e):_0x525259,_0x254f0f=_0x2159a5[_0x1138cf(0x490)]-0x1,_0x27f284;_0x254f0f>=0x0;_0x254f0f--)(_0x27f284=_0x2159a5[_0x254f0f])&&(_0x5c6350=(_0x2af00a?_0x27f284(_0x525259,_0x21779e,_0x5c6350):_0x27f284(_0x5c6350))||_0x5c6350);return _0x2af00a&&_0x5c6350&&Yr(_0x525259,_0x21779e,_0x5c6350),_0x5c6350;},At=(_0x59c92a,_0x166f85)=>(_0x1f7cc2,_0x4e5239)=>_0x166f85(_0x1f7cc2,_0x4e5239,_0x59c92a);let vt=class{constructor(_0x3cd910,_0x5a0fef,_0x3ed572){const _0x3cada4=_0x494e14;this['_injector']=_0x3cd910,this[_0x3cada4(0x3c3)]=_0x5a0fef,this['_renderManagerService']=_0x3ed572;}[_0x494e14(0x2bd)](_0x3b5ed8){const _0x1b4059=_0x494e14;this[_0x1b4059(0x500)](_0x3b5ed8),this[_0x1b4059(0x2ed)](_0x3b5ed8);}['transformRemoteChangeset'](_0x44fd9d){const _0x30a963=_0x494e14,{unitID:_0x28c8ec}=_0x44fd9d,_0x477f8c=this[_0x30a963(0x3b2)][_0x30a963(0x28c)](_0x28c8ec)[_0x30a963(0x5f3)](_0x3d94b2),{redoCache:_0x2a95d5}=_0x477f8c[_0x30a963(0x377)]();if(_0x2a95d5[_0x30a963(0x490)]===0x0)return _0x44fd9d;let _0x5b055b=_0x1fd4a4['deepClone'](_0x44fd9d[_0x30a963(0x592)][0x0]);for(let _0x3a520e=0x0;_0x3a520e<_0x2a95d5[_0x30a963(0x490)];_0x3a520e++){const _0x312bfa={'id':_0x30a963(0x2d3),'params':{..._0x2a95d5[_0x3a520e]}},_0x110339=this[_0x30a963(0x3c3)][_0x30a963(0x1ee)](_0x5b055b,_0x312bfa,!0x1);if(_0x1f65f6(_0x110339))throw _0x110339[_0x30a963(0x48a)];_0x5b055b=_0x110339[_0x30a963(0x2d8)];}return{..._0x1fd4a4[_0x30a963(0x548)](_0x44fd9d),'mutations':[_0x5b055b]};}[_0x494e14(0x500)](_0x424b6e){const _0x11d504=_0x494e14,{unitID:_0x288e2c}=_0x424b6e,_0x2dbde2=this['_renderManagerService'][_0x11d504(0x28c)](_0x288e2c)[_0x11d504(0x5f3)](_0x3d94b2),{undoCache:_0x3ac8ad,redoCache:_0x2100c3}=_0x2dbde2[_0x11d504(0x377)]();if(_0x3ac8ad[_0x11d504(0x490)]===0x0||_0x2100c3[_0x11d504(0x490)]===0x0)return;const _0x5a9bfc=[],_0x54d4db=[];let _0x4633b1=_0x1fd4a4['deepClone'](_0x424b6e[_0x11d504(0x592)][0x0]),_0x2ef747=_0x1fd4a4[_0x11d504(0x548)](_0x424b6e[_0x11d504(0x592)][0x0]);for(let _0x1483b7=_0x3ac8ad[_0x11d504(0x490)]-0x1;_0x1483b7>=0x0;_0x1483b7--){const _0x4cc5e7={'id':_0x11d504(0x2d3),'params':{..._0x3ac8ad[_0x1483b7]}},_0x1e1232={'id':_0x11d504(0x2d3),'params':{..._0x2100c3[_0x1483b7]}},_0x10c32b=this[_0x11d504(0x3c3)]['transformMutation'](_0x4633b1,_0x4cc5e7,!0x1),_0x36cdb3=this[_0x11d504(0x3c3)][_0x11d504(0x1ee)](_0x2ef747,_0x1e1232,!0x1);if(_0x1f65f6(_0x10c32b))throw _0x10c32b[_0x11d504(0x48a)];if(_0x1f65f6(_0x36cdb3))throw _0x36cdb3[_0x11d504(0x48a)];_0x5a9bfc[_0x11d504(0x43c)](_0x10c32b[_0x11d504(0x5ca)][_0x11d504(0x3a2)]),_0x54d4db['unshift'](_0x36cdb3[_0x11d504(0x5ca)]['params']),_0x4633b1=_0x10c32b[_0x11d504(0x2d8)],_0x2ef747=_0x36cdb3['m1Prime'];}_0x2dbde2[_0x11d504(0x4ea)]({'undoCache':_0x5a9bfc,'redoCache':_0x54d4db});}[_0x494e14(0x2ed)](_0x239fd3){const _0x49f59f=_0x494e14,{unitID:_0x23aee3}=_0x239fd3,_0x17d8fc=this[_0x49f59f(0x3b2)][_0x49f59f(0x28c)](_0x23aee3)[_0x49f59f(0x5f3)](_0x3d94b2),_0x1a98c8=_0x17d8fc[_0x49f59f(0x253)]();if(_0x1a98c8==null)return;const _0x276a0f=[{'id':_0x49f59f(0x2d3),'params':{'unitId':_0x239fd3[_0x49f59f(0x55b)],'actions':null,'textRanges':[_0x1a98c8]}}],_0x57eceb=this[_0x49f59f(0x3c3)][_0x49f59f(0x464)](_0x239fd3,_0x276a0f);if(!_0x46c18d(_0x57eceb))throw _0x57eceb['error'];const _0x3f9386=_0x57eceb['m2Prime'][0x0][_0x49f59f(0x3a2)][_0x49f59f(0x2c1)];Array[_0x49f59f(0x570)](_0x3f9386)&&_0x3f9386[_0x49f59f(0x490)]&&_0x17d8fc[_0x49f59f(0x2b0)](_0x3f9386[0x0]);}};vt=zr([At(0x0,_0x41b3da(_0x2087b9)),At(0x1,_0x1197db),At(0x2,_0x392b64)],vt);var qr=Object['defineProperty'],Xr=Object['getOwnPropertyDescriptor'],Jr=(_0x4a3582,_0x4a68b4,_0x299a41,_0x2bec7f)=>{const _0x5c59b2=_0x494e14;for(var _0x42c8d5=_0x2bec7f>0x1?void 0x0:_0x2bec7f?Xr(_0x4a68b4,_0x299a41):_0x4a68b4,_0x5687c5=_0x4a3582[_0x5c59b2(0x490)]-0x1,_0x3c7a16;_0x5687c5>=0x0;_0x5687c5--)(_0x3c7a16=_0x4a3582[_0x5687c5])&&(_0x42c8d5=(_0x2bec7f?_0x3c7a16(_0x4a68b4,_0x299a41,_0x42c8d5):_0x3c7a16(_0x42c8d5))||_0x42c8d5);return _0x2bec7f&&_0x42c8d5&&qr(_0x4a68b4,_0x299a41,_0x42c8d5),_0x42c8d5;},Xe=(_0x4b28aa,_0x559b39)=>(_0x4ba1b8,_0x153ab0)=>_0x559b39(_0x4ba1b8,_0x153ab0,_0x4b28aa);let q=class extends _0x326223{constructor(_0x113fa7,_0x5cb759,_0x40e6ad,_0x35d5bd,_0x485001){const _0x5285c8=_0x494e14;super(),g(this,'_cachedData',new Map()),g(this,_0x5285c8(0x4e4),new Map()),g(this,'_disabled',!0x1),(this['_configService']=_0x113fa7,this[_0x5285c8(0x429)]=_0x5cb759,this['_beforeCloseService']=_0x40e6ad,this[_0x5285c8(0x5f1)]=_0x35d5bd,this[_0x5285c8(0x3b8)]=_0x485001,this[_0x5285c8(0x4eb)]());}[_0x494e14(0x31b)](){const _0xf96ef5=_0x494e14;this[_0xf96ef5(0x5a6)]=!0x0;}[_0x494e14(0x226)](){const _0x264971=_0x494e14;this[_0x264971(0x5a6)]=!0x1;}[_0x494e14(0x301)](){const _0x2583a5=_0x494e14;this[_0x2583a5(0x33e)]()[_0x2583a5(0x37e)](()=>super['dispose']());}async[_0x494e14(0x267)](_0x2e66ea){const _0xb82ad2=_0x494e14;return this['_disabled']?null:this[_0xb82ad2(0x429)][_0xb82ad2(0x571)](Bs(_0x2e66ea));}async[_0x494e14(0x547)](_0x20d50f,_0x4081fd){const _0x4a8365=_0x494e14;return!!this[_0x4a8365(0x429)][_0x4a8365(0x487)](_0x20d50f,_0x4081fd);}[_0x494e14(0x2d4)](_0x3c696e,_0xf302af,_0x556edf,_0x26f7e7){const _0xa417e9=_0x494e14,_0x189c6a=this[_0xa417e9(0x3b8)]['getCurrentRevOfUnit'](_0x3c696e);this[_0xa417e9(0x328)]['set'](_0x3c696e,{'unitID':_0x3c696e,'type':_0xf302af,'awaitingChangeset':_0x556edf,'mutations':_0x26f7e7,'rev':_0x189c6a}),this[_0xa417e9(0x4e4)][_0xa417e9(0x481)](_0x3c696e)||this['_scheduleSaving'](_0x3c696e);}[_0x494e14(0x536)](_0x59a749){const _0x222786=_0x494e14,_0x36200a=this['_getSaveTimeout']();_0x36200a===0x0?this['_saveCache'](_0x59a749):this[_0x222786(0x4e4)][_0x222786(0x207)](_0x59a749,setTimeout(()=>this[_0x222786(0x5e0)](_0x59a749),_0x36200a));}[_0x494e14(0x355)](){const _0x28c66a=_0x494e14;var _0x32dcff;return(_0x32dcff=this[_0x28c66a(0x21f)][_0x28c66a(0x27f)](mr))!=null?_0x32dcff:pr;}['_saveCache'](_0x1ea681){const _0x519eda=_0x494e14,_0x292d9e=this[_0x519eda(0x4e4)]['get'](_0x1ea681);return _0x292d9e!==void 0x0&&window['clearTimeout'](_0x292d9e),this['_localStorageService']['setItem'](Bs(_0x1ea681),this[_0x519eda(0x328)][_0x519eda(0x38a)](_0x1ea681))['then'](()=>this[_0x519eda(0x4e4)][_0x519eda(0x534)](_0x1ea681));}async[_0x494e14(0x33e)](){const _0x11715f=_0x494e14,_0xb0c0a3=[];this[_0x11715f(0x4e4)][_0x11715f(0x58b)]((_0x5bfbf9,_0x14addb)=>{const _0x16cfdc=_0x11715f;window[_0x16cfdc(0x266)](_0x5bfbf9),_0xb0c0a3[_0x16cfdc(0x271)](this[_0x16cfdc(0x5e0)](_0x14addb)[_0x16cfdc(0x37e)](()=>{const _0x6390c1=_0x16cfdc;this[_0x6390c1(0x4e4)][_0x6390c1(0x534)](_0x14addb);}));}),await Promise['all'](_0xb0c0a3);}[_0x494e14(0x4eb)](){const _0x218120=_0x494e14;this[_0x218120(0x461)](this[_0x218120(0x4ab)][_0x218120(0x29b)](()=>{const _0x421e39=_0x218120;if(this[_0x421e39(0x4e4)][_0x421e39(0x3b4)])return this[_0x421e39(0x5f1)]['t']('collaboration-client.offline-data-not-saved');}));}};q=Jr([Xe(0x0,_0x23210b),Xe(0x1,_0x4bb50a),Xe(0x2,_0x128523),Xe(0x3,_0x41b3da(_0x461b9d)),Xe(0x4,_0x41b3da(_0x1d4656))],q);function Bs(_0x15334a){const _0x198e03=_0x494e14;return _0x198e03(0x351)+_0x15334a;}var Zr=Object[_0x494e14(0x421)],Qr=Object[_0x494e14(0x2a4)],eo=(_0x5b8f32,_0x5e40e2,_0x585018,_0x4ea30c)=>{const _0x5a5878=_0x494e14;for(var _0x18d771=_0x4ea30c>0x1?void 0x0:_0x4ea30c?Qr(_0x5e40e2,_0x585018):_0x5e40e2,_0x14e1fa=_0x5b8f32[_0x5a5878(0x490)]-0x1,_0x55bd2e;_0x14e1fa>=0x0;_0x14e1fa--)(_0x55bd2e=_0x5b8f32[_0x14e1fa])&&(_0x18d771=(_0x4ea30c?_0x55bd2e(_0x5e40e2,_0x585018,_0x18d771):_0x55bd2e(_0x18d771))||_0x18d771);return _0x4ea30c&&_0x18d771&&Zr(_0x5e40e2,_0x585018,_0x18d771),_0x18d771;},Mt=(_0xed9041,_0xc44e6f)=>(_0x5689bd,_0x16c28f)=>_0xc44e6f(_0x5689bd,_0x16c28f,_0xed9041);function to(_0x1c68af){const _0x5535f3=_0x494e14,{unitID:_0x3b0382,mutations:_0x16f8f9}=_0x1c68af;return{'unitId':_0x3b0382,'subUnitId':_0x16f8f9[0x0][_0x5535f3(0x3a2)][_0x5535f3(0x4b1)]};}let mt=class{constructor(_0x3b529a,_0x2157b1,_0x33ce7c){const _0x108cbd=_0x494e14;this[_0x108cbd(0x5a2)]=_0x3b529a,this[_0x108cbd(0x3c3)]=_0x2157b1,this[_0x108cbd(0x2bf)]=_0x33ce7c;}[_0x494e14(0x5c3)](_0x1f18b5){const _0xe64328=_0x494e14;var _0x58245e,_0x20d7d7,_0x12ae7d,_0x38e5cf;const _0x316fa2=this[_0xe64328(0x5a2)][_0xe64328(0x38a)](_0x5999a9),{unitId:_0x2cdbf4,subUnitId:_0x16397d}=to(_0x1f18b5),_0x1863d4=_0x316fa2[_0xe64328(0x5bf)](_0x2cdbf4)['getCurrentSelections'](),_0x47bcc8=(_0x20d7d7=(_0x58245e=this[_0xe64328(0x2bf)][_0xe64328(0x241)](_0x2cdbf4))==null?void 0x0:_0x58245e['getActiveSheet']())==null?void 0x0:_0x20d7d7[_0xe64328(0x575)]();if(_0x1863d4[_0xe64328(0x490)]===0x0||!_0x2cdbf4||!_0x16397d)return;const _0x26b2a3=[{'id':_0x337a82['id'],'params':{'unitId':_0x2cdbf4,'subUnitId':_0x47bcc8,'selections':_0x1fd4a4['deepClone'](_0x1863d4)}}],_0x1ccac4=this[_0xe64328(0x3c3)][_0xe64328(0x464)](_0x1f18b5,_0x26b2a3);if(!_0x46c18d(_0x1ccac4))throw _0x1ccac4[_0xe64328(0x48a)];const _0x2ecd4a=(_0x38e5cf=(_0x12ae7d=_0x1ccac4[_0xe64328(0x5ca)][0x0])==null?void 0x0:_0x12ae7d['params'])==null?void 0x0:_0x38e5cf['selections'];if(Array['isArray'](_0x2ecd4a)&&_0x2ecd4a['length']){if(_0x2ecd4a[_0xe64328(0x490)]===_0x26b2a3[0x0][_0xe64328(0x3a2)][_0xe64328(0x278)][_0xe64328(0x490)]&&_0x2ecd4a[_0xe64328(0x452)]((_0x5a0cdc,_0x182c56)=>_0x111a27[_0xe64328(0x3c4)](_0x5a0cdc['range'],_0x26b2a3[0x0][_0xe64328(0x3a2)][_0xe64328(0x278)][_0x182c56]['range'])))return;this[_0xe64328(0x5a2)][_0xe64328(0x38a)](_0x1c554d)[_0xe64328(0x3ca)](_0x337a82['id'],{'unitId':_0x2cdbf4,'subUnitId':_0x47bcc8,'selections':_0x2ecd4a});}}};mt=eo([Mt(0x0,_0x41b3da(_0x2087b9)),Mt(0x1,_0x1197db),Mt(0x2,_0x15b9fa)],mt);const yt=_0x41367e(_0x494e14(0x3d6));var Di=(_0x85d6d6=>(_0x85d6d6[_0x85d6d6[_0x494e14(0x4e2)]=0x0]=_0x494e14(0x4e2),_0x85d6d6[_0x85d6d6['OTHER_CLIENTS_EDITING']=0x1]=_0x494e14(0x274),_0x85d6d6))(Di||{});const ks=0x7530,Ws=_0x494e14(0x5cc);class so extends _0x326223{constructor(){const _0x4a698=_0x494e14;super(),g(this,_0x4a698(0x23e),_0x1fd4a4['generateRandomId']()),g(this,'_selfUnitIDs',new Set()),g(this,_0x4a698(0x412),new Map()),g(this,_0x4a698(0x438),null),g(this,_0x4a698(0x516),new Map()),g(this,_0x4a698(0x304),new Map()),this[_0x4a698(0x599)]();}[_0x494e14(0x301)](){const _0x5cc211=_0x494e14;super[_0x5cc211(0x301)](),this['_clearOtherTimers'][_0x5cc211(0x58b)]((_0x289319,_0xf23bfd)=>this[_0x5cc211(0x49c)](_0xf23bfd)),this[_0x5cc211(0x438)]&&window[_0x5cc211(0x362)](this[_0x5cc211(0x438)]);}[_0x494e14(0x218)](_0x1847b0){const _0xbeb3d6=_0x494e14;return this[_0xbeb3d6(0x4b2)](_0x1847b0)['pipe'](_0x1e8a26());}['editingUnit'](_0x440b68){const _0x3be99d=_0x494e14;this['_selfUnitIDs'][_0x3be99d(0x3b4)]===0x0&&this[_0x3be99d(0x3ec)](),this[_0x3be99d(0x400)][_0x3be99d(0x3fb)](_0x440b68),this[_0x3be99d(0x46f)]({'type':0x0,'memberID':this[_0x3be99d(0x23e)],'unitIDs':[_0x440b68],'isForwarded':!0x1});}['disposeUnit'](_0x2fae3b){const _0x12a93=_0x494e14;this[_0x12a93(0x400)][_0x12a93(0x534)](_0x2fae3b),this[_0x12a93(0x400)][_0x12a93(0x3b4)]===0x0&&this[_0x12a93(0x438)]&&window[_0x12a93(0x362)](this['_heartbeatTimer']);}['_init'](){const _0x124739=_0x494e14;this[_0x124739(0x461)](_0xf5e7f5(_0x7e355d(window,'storage')[_0x124739(0x540)](_0x2ce7bf=>{const _0x399370=_0x124739;if(_0x2ce7bf[_0x399370(0x3d4)]!==Ws||!_0x2ce7bf[_0x399370(0x4d9)])return;const _0x59a9a2=JSON[_0x399370(0x39a)](_0x2ce7bf['newValue']);this['_handleEvent'](_0x59a9a2);}))),window[_0x124739(0x43b)]('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x124739(0x23e)],'unitIDs':Array[_0x124739(0x353)](this[_0x124739(0x400)])}));}['_handleEvent'](_0xa80b2){const _0x62dcd8=_0x494e14;switch(_0xa80b2['type']){case 0x0:this[_0x62dcd8(0x5c1)](_0xa80b2);break;case 0x1:this['_handleLeaveEvent'](_0xa80b2);break;case 0x2:this[_0x62dcd8(0x2ae)](_0xa80b2);break;}}[_0x494e14(0x5c1)](_0x3ba4bb){const _0x4fef19=_0x494e14,{unitIDs:_0x5d7ded,memberID:_0x41f696,isForwarded:_0x2c2268}=_0x3ba4bb;_0x5d7ded[_0x4fef19(0x58b)](_0x34a117=>{const _0x5d28ad=_0x4fef19;if(!_0x2c2268&&this[_0x5d28ad(0x412)]['has'](_0x34a117)&&this[_0x5d28ad(0x4b2)](_0x34a117)[_0x5d28ad(0x2d0)](0x1),!this[_0x5d28ad(0x412)][_0x5d28ad(0x481)](_0x34a117)||!this[_0x5d28ad(0x412)][_0x5d28ad(0x38a)](_0x34a117)['has'](_0x41f696)){const _0x56b2d6=this[_0x5d28ad(0x412)]['get'](_0x34a117)||new Set();_0x56b2d6['add'](_0x41f696),this['_unitOnClients'][_0x5d28ad(0x207)](_0x34a117,_0x56b2d6),this[_0x5d28ad(0x4ca)](_0x41f696);}}),_0x2c2268||this[_0x4fef19(0x46f)]({'type':0x0,'memberID':this[_0x4fef19(0x23e)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x494e14(0x4ca)](_0x369260){const _0x34d500=_0x494e14;this[_0x34d500(0x49c)](_0x369260);const _0x1064dd=window[_0x34d500(0x365)](()=>{const _0xe6c096=_0x34d500;this[_0xe6c096(0x412)][_0xe6c096(0x58b)](_0x26a94d=>{const _0x252953=_0xe6c096;_0x26a94d[_0x252953(0x534)](_0x369260);});},ks*0x2);this['_clearOtherTimers']['set'](_0x369260,_0x1064dd);}[_0x494e14(0x49c)](_0x437ce3){const _0x179e86=_0x494e14;if(this[_0x179e86(0x516)]['has'](_0x437ce3)){const _0x5a2bf9=this[_0x179e86(0x516)][_0x179e86(0x38a)](_0x437ce3);_0x5a2bf9&&window[_0x179e86(0x266)](_0x5a2bf9),this[_0x179e86(0x516)][_0x179e86(0x207)](_0x437ce3,null);}}[_0x494e14(0x42c)](_0x46dd4f){const _0x3b1bf5=_0x494e14,{memberID:_0x32dbc6,unitIDs:_0x5f06bf}=_0x46dd4f;_0x5f06bf[_0x3b1bf5(0x58b)](_0x5c2e99=>{const _0x448511=_0x3b1bf5;var _0x48948b;const _0x265443=this[_0x448511(0x412)][_0x448511(0x38a)](_0x5c2e99);_0x265443&&(_0x265443['delete'](_0x32dbc6),(_0x48948b=this['_ensureSubject'](_0x5c2e99))==null||_0x48948b[_0x448511(0x2d0)](_0x265443[_0x448511(0x3b4)]===0x0?0x0:0x1));}),this[_0x3b1bf5(0x49c)](_0x32dbc6);}['_handleHeartbeatEvent'](_0x597442){const _0x2132bb=_0x494e14;this[_0x2132bb(0x4ca)](_0x597442[_0x2132bb(0x237)]);}[_0x494e14(0x46f)](_0x209fa7){const _0x582156=_0x494e14;localStorage[_0x582156(0x487)](Ws,JSON[_0x582156(0x415)](_0x209fa7));}[_0x494e14(0x3ec)](){const _0x4d941b=_0x494e14;this[_0x4d941b(0x438)]=window[_0x4d941b(0x51e)](()=>{const _0x5d4d38=_0x4d941b;this[_0x5d4d38(0x46f)]({'type':0x2,'memberID':this[_0x5d4d38(0x23e)]});},ks);}[_0x494e14(0x4b2)](_0x30aaf1){const _0x4206ad=_0x494e14;return this[_0x4206ad(0x304)]['has'](_0x30aaf1)||this[_0x4206ad(0x304)]['set'](_0x30aaf1,new _0x9b8747(0x0)),this[_0x4206ad(0x304)][_0x4206ad(0x38a)](_0x30aaf1);}}var io=Object['defineProperty'],no=Object[_0x494e14(0x2a4)],ro=(_0x2bf5bf,_0x5db4ae,_0x2cc887,_0x5e4d91)=>{for(var _0x3a0cce=_0x5e4d91>0x1?void 0x0:_0x5e4d91?no(_0x5db4ae,_0x2cc887):_0x5db4ae,_0x52445d=_0x2bf5bf['length']-0x1,_0x331154;_0x52445d>=0x0;_0x52445d--)(_0x331154=_0x2bf5bf[_0x52445d])&&(_0x3a0cce=(_0x5e4d91?_0x331154(_0x5db4ae,_0x2cc887,_0x3a0cce):_0x331154(_0x3a0cce))||_0x3a0cce);return _0x5e4d91&&_0x3a0cce&&io(_0x5db4ae,_0x2cc887,_0x3a0cce),_0x3a0cce;},xt=(_0x49db90,_0x270d93)=>(_0x3f19d1,_0x1678a9)=>_0x270d93(_0x3f19d1,_0x1678a9,_0x49db90);let pt=class{constructor(_0x148fdb,_0xde5273,_0xcdf0e9){const _0x161045=_0x494e14;this[_0x161045(0x5a2)]=_0x148fdb,this[_0x161045(0x3c3)]=_0xde5273,this[_0x161045(0x4c9)]=_0xcdf0e9;}[_0x494e14(0x5d7)](_0x190dae){const _0x35f0f5=_0x494e14;this[_0x35f0f5(0x3e4)](_0x190dae);}[_0x494e14(0x275)](_0x4be75d){const _0x38646c=_0x494e14,{unitID:_0x26f3cc}=_0x4be75d,{collaboration:_0x4d9f92}=this[_0x38646c(0x4c9)][_0x38646c(0x5d3)](_0x26f3cc);if(_0x4d9f92['length']===0x0)return _0x4be75d;let _0xf1c6f8=_0x1fd4a4[_0x38646c(0x548)](_0x4be75d[_0x38646c(0x592)][0x0]);for(let _0x237ab0=0x0;_0x237ab0<_0x4d9f92[_0x38646c(0x490)];_0x237ab0++){const _0x595886={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4d9f92[_0x237ab0][_0x38646c(0x3ff)],..._0x4d9f92[_0x237ab0]['redoState']}},_0x212af5=this[_0x38646c(0x3c3)]['transformMutation'](_0xf1c6f8,_0x595886,!0x1);if(_0x1f65f6(_0x212af5))throw _0x212af5[_0x38646c(0x48a)];_0xf1c6f8=_0x212af5[_0x38646c(0x2d8)];}return{..._0x1fd4a4['deepClone'](_0x4be75d),'mutations':[_0xf1c6f8]};}[_0x494e14(0x3e4)](_0x48b34e){const _0x52c281=_0x494e14,{unitID:_0x41081e}=_0x48b34e,{history:_0x3a2d8c,collaboration:_0xf1afd6}=this[_0x52c281(0x4c9)][_0x52c281(0x5d3)](_0x41081e);if(_0x3a2d8c[_0x52c281(0x490)]===0x0&&_0xf1afd6[_0x52c281(0x490)]===0x0)return;const _0x5eb67c=[],_0x500822=[];let _0x547769=_0x1fd4a4[_0x52c281(0x548)](_0x48b34e[_0x52c281(0x592)][0x0]),_0x426e3b=_0x1fd4a4[_0x52c281(0x548)](_0x48b34e[_0x52c281(0x592)][0x0]);for(let _0x253f2e=_0x3a2d8c[_0x52c281(0x490)]-0x1;_0x253f2e>=0x0;_0x253f2e--){const _0x3e70ff={'id':_0x52c281(0x2d3),'params':{'unitId':_0x3a2d8c[_0x253f2e][_0x52c281(0x3ff)],..._0x3a2d8c[_0x253f2e][_0x52c281(0x4fe)]}},_0x300ca6={'id':_0x52c281(0x2d3),'params':{'unitId':_0x3a2d8c[_0x253f2e][_0x52c281(0x3ff)],..._0x3a2d8c[_0x253f2e]['redoState']}},_0x58356d=this['_transformService']['transformMutation'](_0x547769,_0x3e70ff,!0x1),_0x49424e=this[_0x52c281(0x3c3)][_0x52c281(0x1ee)](_0x426e3b,_0x300ca6,!0x1);if(_0x1f65f6(_0x58356d))throw _0x58356d[_0x52c281(0x48a)];if(_0x1f65f6(_0x49424e))throw _0x49424e[_0x52c281(0x48a)];_0x5eb67c[_0x52c281(0x43c)]({..._0x3a2d8c[_0x253f2e],'undoState':_0x58356d[_0x52c281(0x5ca)][_0x52c281(0x3a2)],'redoState':_0x49424e['m2Prime'][_0x52c281(0x3a2)]}),_0x547769=_0x58356d[_0x52c281(0x2d8)],_0x426e3b=_0x49424e[_0x52c281(0x2d8)];}_0x547769=_0x1fd4a4['deepClone'](_0x48b34e[_0x52c281(0x592)][0x0]),_0x426e3b=_0x1fd4a4[_0x52c281(0x548)](_0x48b34e['mutations'][0x0]);for(let _0x3f8e9c=_0xf1afd6[_0x52c281(0x490)]-0x1;_0x3f8e9c>=0x0;_0x3f8e9c--){const _0x364bc9={'id':_0x52c281(0x2d3),'params':{'unitId':_0xf1afd6[_0x3f8e9c][_0x52c281(0x3ff)],..._0xf1afd6[_0x3f8e9c][_0x52c281(0x4fe)]}},_0xa78ed5={'id':_0x52c281(0x2d3),'params':{'unitId':_0xf1afd6[_0x3f8e9c]['unitId'],..._0xf1afd6[_0x3f8e9c][_0x52c281(0x4dc)]}},_0x4d2da8=this[_0x52c281(0x3c3)]['transformMutation'](_0x547769,_0x364bc9,!0x1),_0x1eed4a=this['_transformService'][_0x52c281(0x1ee)](_0x426e3b,_0xa78ed5,!0x1);if(_0x1f65f6(_0x4d2da8))throw _0x4d2da8['error'];if(_0x1f65f6(_0x1eed4a))throw _0x1eed4a[_0x52c281(0x48a)];_0x500822[_0x52c281(0x43c)]({..._0xf1afd6[_0x3f8e9c],'undoState':_0x4d2da8[_0x52c281(0x5ca)][_0x52c281(0x3a2)],'redoState':_0x1eed4a['m2Prime'][_0x52c281(0x3a2)]}),_0x547769=_0x4d2da8['m1Prime'],_0x426e3b=_0x1eed4a['m1Prime'];}this[_0x52c281(0x4c9)]['setStateCache'](_0x41081e,{'history':_0x5eb67c,'collaboration':_0x500822});}};pt=ro([xt(0x0,_0x41b3da(_0x2087b9)),xt(0x1,_0x1197db),xt(0x2,_0x41b3da(_0x5c2099))],pt);function Pi(_0x19d56e){const _0x235aaf=_0x494e14;let _0x36f155='';for(const _0x2949f1 of _0x19d56e){const {startOffset:_0x58f5f9,endOffset:_0x19388a,isActive:_0x31eb5c,rangeType:_0x51083b,segmentId:_0x2ef89a,segmentPage:_0x26b97a}=_0x2949f1;_0x36f155[_0x235aaf(0x490)]&&(_0x36f155+=','),_0x36f155+=_0x58f5f9+':'+_0x19388a+':'+(_0x31eb5c?'1':'0')+':'+_0x51083b+':'+_0x2ef89a+':'+_0x26b97a;}return _0x36f155;}function oo(_0x630659){const _0x49b14e=_0x494e14,_0x3e3e72=_0x630659[_0x49b14e(0x20b)](','),_0x4bac15=[];for(const _0x53216e of _0x3e3e72){const [_0x77d17a,_0x1371ab,_0xead582,_0x224be1,_0x4218fa,_0x3a16c3]=_0x53216e[_0x49b14e(0x20b)](':');_0x4bac15[_0x49b14e(0x271)]({'startOffset':Number(_0x77d17a),'endOffset':Number(_0x1371ab),'collapsed':_0x77d17a===_0x1371ab,'isActive':_0xead582==='1','rangeType':_0x224be1===_0x43cc22[_0x49b14e(0x4e3)]?_0x43cc22[_0x49b14e(0x4e3)]:_0x43cc22[_0x49b14e(0x25f)],'segmentId':typeof _0x4218fa=='string'?String(_0x4218fa):'','segmentPage':Number(_0x3a16c3!=null?_0x3a16c3:-0x1)});}return _0x4bac15[_0x49b14e(0x57e)](_0x2d5dd9=>_0x2d5dd9[_0x49b14e(0x382)])||(_0x4bac15[0x0][_0x49b14e(0x382)]=!0x0),_0x4bac15;}class Cs extends _0x542deb{constructor(){const _0xcdc49e=_0x494e14;super(...arguments),g(this,'_collabCursorState$',new _0x9b8747(null)),g(this,_0xcdc49e(0x2ea),this[_0xcdc49e(0x3f8)]['asObservable']());}[_0x494e14(0x2c2)](_0x47bf91){const _0x2ab4fa=_0x494e14,{unitID:_0x2a4c7d,memberID:_0x109fdc,textRanges:_0x572dc6}=_0x47bf91,_0x32c37d=Pi(_0x572dc6);if(_0x32c37d==='')return;const _0x4824b4={'unitID':_0x2a4c7d,'memberID':_0x109fdc,'selection':_0x32c37d};this[_0x2ab4fa(0x3f8)][_0x2ab4fa(0x2d0)](_0x4824b4);}}var ao=Object[_0x494e14(0x421)],co=Object[_0x494e14(0x2a4)],ho=(_0x144954,_0x369bd2,_0x4e333c,_0x171bbe)=>{const _0x5f3134=_0x494e14;for(var _0x4c9976=_0x171bbe>0x1?void 0x0:_0x171bbe?co(_0x369bd2,_0x4e333c):_0x369bd2,_0x34afab=_0x144954[_0x5f3134(0x490)]-0x1,_0x1c4563;_0x34afab>=0x0;_0x34afab--)(_0x1c4563=_0x144954[_0x34afab])&&(_0x4c9976=(_0x171bbe?_0x1c4563(_0x369bd2,_0x4e333c,_0x4c9976):_0x1c4563(_0x4c9976))||_0x4c9976);return _0x171bbe&&_0x4c9976&&ao(_0x369bd2,_0x4e333c,_0x4c9976),_0x4c9976;},Fs=(_0x293183,_0x516913)=>(_0x476c5a,_0x1246b5)=>_0x516913(_0x476c5a,_0x1246b5,_0x293183);let gt=class{constructor(_0x892acc,_0x567244){const _0x4b959e=_0x494e14;this[_0x4b959e(0x5a2)]=_0x892acc,this[_0x4b959e(0x3c3)]=_0x567244;}['transformSelections'](_0x271cd3){const _0x241cfa=_0x494e14;var _0x55c4fa;const _0x51b77b=this[_0x241cfa(0x5a2)]['get'](_0x5367d6),_0x3b7d63=(_0x55c4fa=_0x51b77b[_0x241cfa(0x286)]())!=null?_0x55c4fa:[];if(_0x3b7d63[_0x241cfa(0x490)]===0x0)return;const _0x369b3d=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x271cd3[_0x241cfa(0x55b)],'actions':null,'textRanges':_0x3b7d63}}],_0x46bd71=this[_0x241cfa(0x3c3)][_0x241cfa(0x464)](_0x271cd3,_0x369b3d);if(!_0x46c18d(_0x46bd71))throw _0x46bd71[_0x241cfa(0x48a)];const _0x177153=_0x46bd71[_0x241cfa(0x5ca)][0x0]['params'][_0x241cfa(0x2c1)];Array['isArray'](_0x177153)&&_0x177153[_0x241cfa(0x490)]&&_0x51b77b[_0x241cfa(0x250)](_0x177153,!0x1);}};gt=ho([Fs(0x0,_0x41b3da(_0x2087b9)),Fs(0x1,_0x1197db)],gt);const lo=new Set([_0x106c47['id']]);function Vs(_0x2b2f39,_0x30de6d,_0xea232,_0x5c75fe,_0x8a7e97){const _0x179210=_0x494e14;var _0x228c9f,_0x473256,_0x4343e3,_0x10b71d;const _0x35acbb=[];for(const _0x4deb74 of _0x2b2f39)if(lo[_0x179210(0x481)](_0x4deb74['id'])){if(_0x35acbb['length']>0x0)break;_0x35acbb[_0x179210(0x271)](_0x4deb74);break;}else _0x35acbb['push'](_0x4deb74);const _0x2495e8=(_0x473256=(_0x228c9f=_0x8a7e97[_0x179210(0x346)]())==null?void 0x0:_0x228c9f['userID'])!=null?_0x473256:_0x179210(0x518),_0xe092b4=(_0x10b71d=(_0x4343e3=_0x8a7e97[_0x179210(0x346)]())==null?void 0x0:_0x4343e3['memberID'])!=null?_0x10b71d:_0x179210(0x518);return{'changeset':{'unitID':_0x30de6d,'type':_0x209cca(_0xea232[_0x179210(0x4a5)](_0x30de6d)),'baseRev':_0x5c75fe['getCurrentRevOfUnit'](_0x30de6d),'revision':0x0,'userID':_0x2495e8,'memberID':_0xe092b4,'mutations':_0x35acbb},'pendingMutations':_0x2b2f39['slice'](_0x35acbb[_0x179210(0x490)])};}function _o(_0x51d591,_0x2799b9,_0x45470f,_0x293816,_0x4388c2){const _0x13edbd=_0x494e14;var _0x2a3086,_0x34e518,_0x2e9071,_0x56e861;const _0xd1cf7a=[_0x51d591[_0x13edbd(0x56b)]((_0x9ea4d9,_0x2ebf9d)=>{const _0x99b54=_0x13edbd;var _0x405118;const {id:_0x4684ca}=_0x9ea4d9,{id:_0x4d9f60,type:_0x54f457}=_0x2ebf9d,_0x375059=(_0x405118=_0x9ea4d9[_0x99b54(0x3a2)])!=null?_0x405118:{'actions':null},_0x37f514=_0x2ebf9d[_0x99b54(0x3a2)];if(_0x4684ca&&_0x4684ca!==_0x4d9f60)throw new Error(_0x99b54(0x35a)+_0x4684ca+'\x20-\x20'+_0x4d9f60+'.');return{..._0x9ea4d9,'id':_0x4d9f60,'type':_0x54f457,'params':{'unitId':_0x37f514['unitId'],'textRanges':_0x37f514[_0x99b54(0x2c1)],'actions':_0x5acd7c[_0x99b54(0x50d)](_0x375059[_0x99b54(0x336)],_0x37f514['actions'])}};},{})],_0x49db9e=(_0x34e518=(_0x2a3086=_0x4388c2[_0x13edbd(0x346)]())==null?void 0x0:_0x2a3086[_0x13edbd(0x279)])!=null?_0x34e518:_0x13edbd(0x518),_0x592dfa=(_0x56e861=(_0x2e9071=_0x4388c2[_0x13edbd(0x346)]())==null?void 0x0:_0x2e9071[_0x13edbd(0x237)])!=null?_0x56e861:_0x13edbd(0x518);return{'changeset':{'unitID':_0x2799b9,'type':_0x209cca(_0x45470f[_0x13edbd(0x4a5)](_0x2799b9)),'baseRev':_0x293816[_0x13edbd(0x50c)](_0x2799b9),'revision':0x0,'userID':_0x49db9e,'memberID':_0x592dfa,'mutations':_0xd1cf7a},'pendingMutations':[]};}function Ui(_0x10d4de,_0x2afc68){const _0x2ee8e2=_0x494e14,_0x485447=new _0xd55c1c(0x1);return setTimeout(()=>_0x485447[_0x2ee8e2(0x2d0)](_0x2afc68),_0x10d4de),_0x485447[_0x2ee8e2(0x372)]()[_0x2ee8e2(0x3eb)](_0x1dfd23(0x1));}const uo={'id':_0x288a85['id'],'type':_0x51c5e3[_0x494e14(0x314)],'params':{}};var fo=Object['defineProperty'],vo=Object['getOwnPropertyDescriptor'],Le=(_0x27560a,_0x4876ed,_0xf24183,_0x5d80f4)=>{const _0x3d3941=_0x494e14;for(var _0x2eb9fe=_0x5d80f4>0x1?void 0x0:_0x5d80f4?vo(_0x4876ed,_0xf24183):_0x4876ed,_0x102ccc=_0x27560a[_0x3d3941(0x490)]-0x1,_0x5f0c01;_0x102ccc>=0x0;_0x102ccc--)(_0x5f0c01=_0x27560a[_0x102ccc])&&(_0x2eb9fe=(_0x5d80f4?_0x5f0c01(_0x4876ed,_0xf24183,_0x2eb9fe):_0x5f0c01(_0x2eb9fe))||_0x2eb9fe);return _0x5d80f4&&_0x2eb9fe&&fo(_0x4876ed,_0xf24183,_0x2eb9fe),_0x2eb9fe;},A=(_0x3a93bc,_0x22feca)=>(_0x4f8b23,_0xc5e207)=>_0x22feca(_0x4f8b23,_0xc5e207,_0x3a93bc),J=(_0x552e3c=>(_0x552e3c[_0x494e14(0x390)]=_0x494e14(0x581),_0x552e3c[_0x494e14(0x541)]='synced',_0x552e3c[_0x494e14(0x4b0)]=_0x494e14(0x2b2),_0x552e3c[_0x494e14(0x2c3)]='awaiting',_0x552e3c['AWAITING_WITH_PENDING']=_0x494e14(0x4b7),_0x552e3c['FETCH_MISS']=_0x494e14(0x5a8),_0x552e3c['CONFLICT']=_0x494e14(0x56a),_0x552e3c[_0x494e14(0x387)]=_0x494e14(0x2ee),_0x552e3c))(J||{});const Ni=0xea60;class $e{constructor(_0x47c7d9,_0x3b51a9,_0x14f41d,_0x480455,_0x5d21e6,_0x49e8f2,_0x2c79e9,_0x572fa7,_0xf06ce6){const _0x49edac=_0x494e14;g(this,_0x49edac(0x20e),null),g(this,_0x49edac(0x282),[]),(this[_0x49edac(0x55b)]=_0x47c7d9,this[_0x49edac(0x2cd)]=_0x3b51a9,this[_0x49edac(0x30c)]=_0x5d21e6,this['_commandService']=_0x49e8f2,this['_undoRedoService']=_0x2c79e9,this[_0x49edac(0x3b8)]=_0x572fa7,this[_0x49edac(0x391)]=_0xf06ce6,this[_0x49edac(0x20e)]=_0x14f41d,this[_0x49edac(0x282)]=_0x480455);}[_0x494e14(0x597)](_0x4f35e4){const _0x37747c=_0x494e14,_0x13a32e=this[_0x37747c(0x3b8)][_0x37747c(0x50c)](this[_0x37747c(0x55b)]);return _0x4f35e4[_0x37747c(0x2f1)]>_0x13a32e+0x1?(this[_0x37747c(0x30c)][_0x37747c(0x5aa)]({'from':_0x13a32e,'to':_0x4f35e4[_0x37747c(0x2f1)]-0x1}),!0x0):!0x1;}[_0x494e14(0x2c4)](_0x13ef80){const _0x4157a3=_0x494e14;this[_0x4157a3(0x513)][_0x4157a3(0x5b9)](this[_0x4157a3(0x55b)],_0x13ef80);}[_0x494e14(0x2db)](_0x3ed4c7){const _0x3d06f7=_0x494e14;var _0x54f3f0,_0x1771b9;(_0x1771b9=(_0x54f3f0=this[_0x3d06f7(0x30c)])[_0x3d06f7(0x23f)])==null||_0x1771b9[_0x3d06f7(0x450)](_0x54f3f0,_0x3ed4c7);}[_0x494e14(0x584)](_0x192ff7){const _0x4645e5=_0x494e14;var _0x18e0b1,_0x416191;return(_0x416191=(_0x18e0b1=this['_handler'])[_0x4645e5(0x54f)])==null?void 0x0:_0x416191['call'](_0x18e0b1,_0x192ff7);}[_0x494e14(0x577)](_0x107fb1){const _0x565b42=_0x494e14;var _0x2d607d,_0x34b534;return(_0x34b534=(_0x2d607d=this['_handler'])[_0x565b42(0x265)])==null?void 0x0:_0x34b534['call'](_0x2d607d,_0x107fb1);}[_0x494e14(0x311)](_0x1d27e5){const _0x14467d=_0x494e14;var _0x4b0e5f,_0xc0eabf,_0x36cf73;return(_0x36cf73=(_0xc0eabf=(_0x4b0e5f=this['_handler'])[_0x14467d(0x25a)])==null?void 0x0:_0xc0eabf[_0x14467d(0x450)](_0x4b0e5f,_0x1d27e5))!=null?_0x36cf73:_0x1d27e5;}[_0x494e14(0x3e2)](_0x42ea94){const _0x2422a6=_0x494e14;var _0x388265,_0x5ec4c8,_0x4f4105;return(_0x4f4105=(_0x5ec4c8=(_0x388265=this[_0x2422a6(0x30c)])[_0x2422a6(0x5a3)])==null?void 0x0:_0x5ec4c8[_0x2422a6(0x450)](_0x388265,_0x42ea94))!=null?_0x4f4105:_0x42ea94;}[_0x494e14(0x5f8)](_0x3ae973){const _0x2fce31=_0x494e14;var _0x5e45c2,_0x571bac;if(this['type']===ce[_0x2fce31(0x36f)]){const {unitID:_0x44eef1,mutations:_0x403ed1,memberID:_0x8a14ea}=_0x3ae973,_0xa2f434=_0x403ed1[0x0][_0x2fce31(0x3a2)][_0x2fce31(0x2c1)];Array[_0x2fce31(0x570)](_0xa2f434)&&_0xa2f434[_0x2fce31(0x490)]>0x0&&((_0x571bac=(_0x5e45c2=this[_0x2fce31(0x30c)])['onSyncEditingCollabCursor'])==null||_0x571bac[_0x2fce31(0x450)](_0x5e45c2,{'unitID':_0x44eef1,'memberID':_0x8a14ea,'textRanges':_0xa2f434}));}}[_0x494e14(0x395)](){const _0x544733=_0x494e14;this[_0x544733(0x391)][_0x544733(0x2d4)](this[_0x544733(0x55b)],this[_0x544733(0x2cd)],this[_0x544733(0x20e)],this[_0x544733(0x282)]);}[_0x494e14(0x398)](){const _0x5dbd76=_0x494e14;return this[_0x5dbd76(0x3b8)][_0x5dbd76(0x50c)](this['unitID']);}[_0x494e14(0x50f)](){const _0x170a7e=_0x494e14;this['_revisionService'][_0x170a7e(0x589)](this[_0x170a7e(0x55b)]);}[_0x494e14(0x476)](_0x2e305f){const _0x296d54=_0x494e14;var _0x3332ea;let _0x2b99ea=this[_0x296d54(0x311)](_0x2e305f);_0x2b99ea=this[_0x296d54(0x3e2)](_0x2b99ea);const _0x36326b=_0x558f87(_0x2b99ea[_0x296d54(0x592)],this['_commandService'],{'fromCollab':!0x0});if(!_0x36326b[_0x296d54(0x24f)])throw _0x36326b['error']instanceof Error?_0x36326b[_0x296d54(0x48a)]:new Error((_0x3332ea=_0x36326b[_0x296d54(0x48a)])!=null?_0x3332ea:'[CollaborationState]:\x20apply\x20error!');this['_transformIMECache'](_0x2b99ea),this[_0x296d54(0x577)](_0x2b99ea),this['_transformUndoredo'](_0x2e305f),this[_0x296d54(0x2db)](_0x2b99ea),this[_0x296d54(0x5f8)](_0x2b99ea),this['_incrementRevisionNumber']();}}let Fe=class extends $e{constructor(_0x2114b5,_0x582f6a,_0x4716b7,_0x1dd431,_0x5e0b9a,_0x1b44c0,_0xec955e,_0x4f6753,_0xbdf1f1,_0x359ab4){const _0x21d493=_0x494e14;super(_0x2114b5,_0x582f6a,null,[],_0x4716b7,_0x4f6753,_0xec955e,_0x1dd431,_0x5e0b9a),g(this,_0x21d493(0x50e),_0x21d493(0x47d)),(this['_injector']=_0x1b44c0,this[_0x21d493(0x3c0)]=_0xbdf1f1,this['_transformService']=_0x359ab4);}['appendMutation'](_0x291509){const _0x19d64e=_0x494e14,_0x23fe72=this[_0x19d64e(0x5a2)][_0x19d64e(0x397)](pe,this[_0x19d64e(0x55b)],this[_0x19d64e(0x2cd)],[_0x291509],this[_0x19d64e(0x30c)]);return _0x23fe72[_0x19d64e(0x42b)](),_0x23fe72[_0x19d64e(0x395)](),_0x23fe72;}['onRemoteChangeset'](_0xf3231f){const _0x109924=_0x494e14;if(this['_checkMissing'](_0xf3231f))return this[_0x109924(0x5a2)][_0x109924(0x397)](he,this[_0x109924(0x55b)],this[_0x109924(0x2cd)],null,[],null,[_0xf3231f],this[_0x109924(0x30c)]);try{const _0x1bf5d7=this[_0x109924(0x3c3)][_0x109924(0x464)](_0xf3231f,[uo]);if(_0x46c18d(_0x1bf5d7)){const {c1Prime:_0x35f695}=_0x1bf5d7;return this[_0x109924(0x476)](_0x35f695),this;}throw _0x1bf5d7[_0x109924(0x48a)];}catch(_0x47a64a){return this['_logService'][_0x109924(0x48a)](_0x47a64a),this[_0x109924(0x2be)](!0x1);}}[_0x494e14(0x2be)](_0x4757da){const _0x16cbcb=_0x494e14;return this['_injector']['createInstance'](Re,this['unitID'],this[_0x16cbcb(0x2cd)],null,[],this[_0x16cbcb(0x30c)],_0x4757da);}[_0x494e14(0x309)](){const _0x6d2973=_0x494e14;throw new Error(_0x6d2973(0x29d));}['onRemoteRej'](){const _0x183b15=_0x494e14;throw new Error(_0x183b15(0x1f6));}[_0x494e14(0x235)](){return this;}[_0x494e14(0x549)](){const _0x2f0231=_0x494e14;return this[_0x2f0231(0x5a2)][_0x2f0231(0x397)](ye,this['unitID'],this[_0x2f0231(0x2cd)],null,[],this[_0x2f0231(0x30c)]);}[_0x494e14(0x5d0)](){return this;}[_0x494e14(0x35d)](){const _0x3e8cb0=_0x494e14;throw new Error(_0x3e8cb0(0x583));}['fetchMiss'](){const _0xf45263=_0x494e14,_0x5943c4=this[_0xf45263(0x3b8)][_0xf45263(0x50c)](this[_0xf45263(0x55b)]);return this['_handler'][_0xf45263(0x5aa)]({'from':_0x5943c4,'to':0x0}),this[_0xf45263(0x5a2)]['createInstance'](he,this[_0xf45263(0x55b)],this[_0xf45263(0x2cd)],null,[],null,[],this[_0xf45263(0x30c)]);}};Fe=Le([A(0x3,_0x41b3da(_0x1d4656)),A(0x4,_0x41b3da(q)),A(0x5,_0x41b3da(_0x2087b9)),A(0x6,_0x21e225),A(0x7,_0x1c554d),A(0x8,_0x3bb158),A(0x9,_0x1197db)],Fe);let pe=class extends $e{constructor(_0x2e4cd8,_0x2451e5,_0x74b46a,_0x120ff6,_0x4c04f7,_0x40dbd4,_0x286e13,_0xececc,_0x266497,_0x810568,_0x3352fc,_0x5ca8b9,_0x413e8c,_0x40cac3){const _0x1ec153=_0x494e14;super(_0x2e4cd8,_0x2451e5,null,_0x74b46a,_0x120ff6,_0x810568,_0x40cac3,_0x40dbd4,_0x286e13),g(this,'status',_0x1ec153(0x2b2)),g(this,_0x1ec153(0x3a7),null),g(this,_0x1ec153(0x5ce),null),(this[_0x1ec153(0x5a2)]=_0x4c04f7,this[_0x1ec153(0x422)]=_0xececc,this[_0x1ec153(0x3c0)]=_0x266497,this['_configService']=_0x3352fc,this[_0x1ec153(0x3c3)]=_0x5ca8b9,this[_0x1ec153(0x5ee)]=_0x413e8c);}[_0x494e14(0x347)](_0x320d5d){const _0x37e28f=_0x494e14;return this[_0x37e28f(0x282)]['push'](_0x320d5d),this[_0x37e28f(0x395)](),this;}[_0x494e14(0x324)](_0x548367){const _0x5a0fbc=_0x494e14;if(this[_0x5a0fbc(0x597)](_0x548367))return this[_0x5a0fbc(0x393)](),this[_0x5a0fbc(0x5a2)][_0x5a0fbc(0x397)](he,this['unitID'],this[_0x5a0fbc(0x2cd)],null,this[_0x5a0fbc(0x282)],null,[_0x548367],this[_0x5a0fbc(0x30c)]);try{const _0x46fdcb=this['_transformService'][_0x5a0fbc(0x464)](_0x548367,this[_0x5a0fbc(0x282)]);if(_0x46c18d(_0x46fdcb)){const {c1Prime:_0x28f86e,m2Prime:_0x4c097f}=_0x46fdcb;this[_0x5a0fbc(0x476)](_0x28f86e);const _0x1b049f=this[_0x5a0fbc(0x5a2)]['createInstance'](pe,this[_0x5a0fbc(0x55b)],this[_0x5a0fbc(0x2cd)],_0x4c097f,this[_0x5a0fbc(0x30c)]);return this[_0x5a0fbc(0x393)](),_0x1b049f[_0x5a0fbc(0x42b)](this[_0x5a0fbc(0x3a7)]?Math[_0x5a0fbc(0x58e)](0x0,new Date()[_0x5a0fbc(0x444)]()-this['_scheduleTimestamp']):this[_0x5a0fbc(0x38b)]()),_0x1b049f;}throw _0x46fdcb['error'];}catch(_0x1c6a81){return this[_0x5a0fbc(0x3c0)][_0x5a0fbc(0x48a)](_0x1c6a81),this[_0x5a0fbc(0x2be)](!0x1);}}[_0x494e14(0x309)](){const _0x2bb918=_0x494e14;throw new Error(_0x2bb918(0x4cd));}[_0x494e14(0x3a4)](){const _0x147a42=_0x494e14;throw new Error(_0x147a42(0x477));}['onRemoteRetry'](){return this;}[_0x494e14(0x549)](){const _0x5a701d=_0x494e14;return this['_clearScheduledTask'](),this[_0x5a701d(0x5a2)][_0x5a701d(0x397)](ye,this[_0x5a701d(0x55b)],this[_0x5a701d(0x2cd)],null,this['_pendingMutations'],this[_0x5a701d(0x30c)]);}[_0x494e14(0x5d0)](){return this;}[_0x494e14(0x42b)](_0x267c46){const _0x2a75b6=_0x494e14,_0x55b4e9=_0x267c46!=null?_0x267c46:this[_0x2a75b6(0x38b)]();this[_0x2a75b6(0x3a7)]=new Date()['getTime'](),this[_0x2a75b6(0x5ce)]=window[_0x2a75b6(0x365)](()=>{const _0x1118cd=_0x2a75b6;this[_0x1118cd(0x393)]();let _0x448bf5=null;switch(this[_0x1118cd(0x2cd)]){case ce[_0x1118cd(0x5dc)]:{_0x448bf5=Vs(this[_0x1118cd(0x282)],this[_0x1118cd(0x55b)],this[_0x1118cd(0x5ee)],this[_0x1118cd(0x3b8)],this['_memberService']);break;}case ce[_0x1118cd(0x36f)]:{this[_0x1118cd(0x282)][_0x1118cd(0x452)](_0x347b30=>_0x347b30['id']===_0x933dab['id'])?_0x448bf5=_o(this[_0x1118cd(0x282)],this['unitID'],this[_0x1118cd(0x5ee)],this[_0x1118cd(0x3b8)],this[_0x1118cd(0x422)]):_0x448bf5=Vs(this[_0x1118cd(0x282)],this[_0x1118cd(0x55b)],this[_0x1118cd(0x5ee)],this['_revisionService'],this[_0x1118cd(0x422)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x1118cd(0x2cd)]+_0x1118cd(0x2c6));}const {changeset:_0x46a33f,pendingMutations:_0x1fc989}=_0x448bf5;this[_0x1118cd(0x30c)][_0x1118cd(0x3c8)](_0x46a33f);const _0x3e4c22=_0x1fc989[_0x1118cd(0x490)]?this[_0x1118cd(0x5a2)][_0x1118cd(0x397)](ge,this[_0x1118cd(0x55b)],this[_0x1118cd(0x2cd)],_0x46a33f,_0x1fc989,this[_0x1118cd(0x30c)],void 0x0):this[_0x1118cd(0x5a2)][_0x1118cd(0x397)](Te,this[_0x1118cd(0x55b)],this[_0x1118cd(0x2cd)],_0x46a33f,this[_0x1118cd(0x30c)]);_0x3e4c22[_0x1118cd(0x395)](),this[_0x1118cd(0x30c)][_0x1118cd(0x25b)](this,_0x3e4c22);},_0x55b4e9);}[_0x494e14(0x38b)](){const _0x4e0428=_0x494e14;var _0xd7e41c;const _0x6e7055=this[_0x4e0428(0x21f)][_0x4e0428(0x27f)](ie);return(_0xd7e41c=_0x6e7055==null?void 0x0:_0x6e7055[_0x4e0428(0x298)])!=null?_0xd7e41c:cr;}['resend'](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){const _0x44ff49=_0x494e14;this[_0x44ff49(0x5ce)]!=null&&(clearTimeout(this[_0x44ff49(0x5ce)]),this[_0x44ff49(0x5ce)]=null);}[_0x494e14(0x2be)](_0x3479c8){const _0x239f3b=_0x494e14;return this['_clearScheduledTask'](),this[_0x239f3b(0x5a2)][_0x239f3b(0x397)](Re,this[_0x239f3b(0x55b)],this[_0x239f3b(0x2cd)],null,this[_0x239f3b(0x282)],this[_0x239f3b(0x30c)],_0x3479c8);}};pe=Le([A(0x4,_0x41b3da(_0x2087b9)),A(0x5,_0x41b3da(_0x1d4656)),A(0x6,_0x41b3da(q)),A(0x7,_0x41b3da(Ne)),A(0x8,_0x3bb158),A(0x9,_0x1c554d),A(0xa,_0x23210b),A(0xb,_0x1197db),A(0xc,_0x15b9fa),A(0xd,_0x21e225)],pe);let Te=class extends $e{constructor(_0x1d7e18,_0xc68bad,_0x212997,_0xed43d,_0xb1475c,_0x179dad,_0x1d87e8,_0x2e87c8,_0x3573cc,_0x317bc7,_0x18f5c1){const _0x14443a=_0x494e14;super(_0x1d7e18,_0xc68bad,_0x212997,[],_0xed43d,_0x2e87c8,_0x18f5c1,_0x179dad,_0x1d87e8),g(this,_0x14443a(0x50e),_0x14443a(0x331)),g(this,_0x14443a(0x2a1),0x0),g(this,_0x14443a(0x2a5)),g(this,_0x14443a(0x50a)),(this['_injector']=_0xb1475c,this['_logService']=_0x3573cc,this[_0x14443a(0x3c3)]=_0x317bc7);}['appendMutation'](_0x58e6a1){const _0x476956=_0x494e14;this[_0x476956(0x393)]();const _0x2fc29c=this['_injector']['createInstance'](ge,this['unitID'],this[_0x476956(0x2cd)],this['_awaitingChangeset'],[_0x58e6a1],this[_0x476956(0x30c)],this['_resendTimer']);return _0x2fc29c['_updateLocalCache'](),_0x2fc29c;}['onRemoteChangeset'](_0x111da4){const _0x4a7f41=_0x494e14;if(this['_checkMissing'](_0x111da4))return this[_0x4a7f41(0x393)](),this[_0x4a7f41(0x5a2)]['createInstance'](he,this['unitID'],this[_0x4a7f41(0x2cd)],this['_awaitingChangeset'],[],null,[_0x111da4],this[_0x4a7f41(0x30c)]);try{const _0x2e8d0f=this[_0x4a7f41(0x3c3)][_0x4a7f41(0x5e8)]([_0x111da4],[this['_awaitingChangeset']],!0x1);if(_0x4151a8(_0x2e8d0f)){const {c1Prime:_0x1e633e,c2Prime:_0x13a14a}=_0x2e8d0f;this[_0x4a7f41(0x476)](_0x1e633e[0x0]),_0x13a14a[0x0][_0x4a7f41(0x30f)]=this[_0x4a7f41(0x398)](),this[_0x4a7f41(0x393)]();const _0x38f504=this['_injector'][_0x4a7f41(0x397)](Te,this['unitID'],this['type'],_0x13a14a[0x0],this[_0x4a7f41(0x30c)]);return _0x38f504['_updateLocalCache'](),_0x38f504;}return this[_0x4a7f41(0x2be)](!0x1);}catch(_0x647b5f){return this[_0x4a7f41(0x3c0)][_0x4a7f41(0x48a)](_0x647b5f),this[_0x4a7f41(0x2be)](!0x1);}}[_0x494e14(0x309)](_0x2282f4){const _0x2479c4=_0x494e14;this[_0x2479c4(0x393)]();const _0x38b2d4=this[_0x2479c4(0x3b8)]['getCurrentRevOfUnit'](this[_0x2479c4(0x55b)]);if(_0x2282f4[_0x2479c4(0x2f1)]<_0x38b2d4-0x1)return this;if(this[_0x2479c4(0x597)](_0x2282f4))return this[_0x2479c4(0x5a2)][_0x2479c4(0x397)](he,this[_0x2479c4(0x55b)],this[_0x2479c4(0x2cd)],null,[],this[_0x2479c4(0x20e)],[],this[_0x2479c4(0x30c)]);this[_0x2479c4(0x50f)]();const _0x3a40dc=this[_0x2479c4(0x5a2)][_0x2479c4(0x397)](Fe,this[_0x2479c4(0x55b)],this[_0x2479c4(0x2cd)],this[_0x2479c4(0x30c)]);return _0x3a40dc[_0x2479c4(0x395)](),_0x3a40dc;}[_0x494e14(0x3a4)](_0x2a2c04){const _0x3e1847=_0x494e14;return this[_0x3e1847(0x2be)](!!(_0x2a2c04!=null&&_0x2a2c04[_0x3e1847(0x3a8)]));}[_0x494e14(0x235)](_0x36884a){const _0x48f385=_0x494e14;return this[_0x48f385(0x2a1)]>Ni?this['toggleOffline']():(this['_resendTimer']=Ui(this['_resendTimeout'],{'timeout':this[_0x48f385(0x2a1)],'reqId':_0x36884a[_0x48f385(0x4cb)]}),this[_0x48f385(0x50a)]=this['_resendTimer'][_0x48f385(0x540)](({reqId:_0xf14424,timeout:_0x406256})=>{const _0x5d6e2f=_0x48f385;this[_0x5d6e2f(0x41b)](_0xf14424,_0x406256);}),this);}[_0x494e14(0x549)](){const _0x3b472c=_0x494e14;return this['_clearScheduledTask'](),this[_0x3b472c(0x5a2)][_0x3b472c(0x397)](ye,this[_0x3b472c(0x55b)],this[_0x3b472c(0x2cd)],this['_awaitingChangeset'],[],this[_0x3b472c(0x30c)]);}[_0x494e14(0x5d0)](){return this;}[_0x494e14(0x35d)](){const _0xe10307=_0x494e14;this['_handler'][_0xe10307(0x3c8)](this[_0xe10307(0x20e)]);}['_onConflict'](_0x3c6ae3){const _0x3b6525=_0x494e14;return this['_clearScheduledTask'](),this[_0x3b6525(0x5a2)][_0x3b6525(0x397)](Re,this['unitID'],this[_0x3b6525(0x2cd)],this[_0x3b6525(0x20e)],[],this['_handler'],_0x3c6ae3);}[_0x494e14(0x41b)](_0x2002db,_0x1ae34b){const _0x23a4a0=_0x494e14;var _0xa3146c;_0x2002db===((_0xa3146c=this[_0x23a4a0(0x20e)])==null?void 0x0:_0xa3146c[_0x23a4a0(0x4cb)])&&(this[_0x23a4a0(0x35d)](),this[_0x23a4a0(0x2a1)]=_0x1ae34b===0x0?0x3e8:_0x1ae34b*0x2);}[_0x494e14(0x393)](){const _0x516815=_0x494e14;var _0x5e555f;(_0x5e555f=this[_0x516815(0x50a)])==null||_0x5e555f[_0x516815(0x5f6)](),this[_0x516815(0x2a1)]=0x0;}};Te=Le([A(0x4,_0x41b3da(_0x2087b9)),A(0x5,_0x41b3da(_0x1d4656)),A(0x6,_0x41b3da(q)),A(0x7,_0x1c554d),A(0x8,_0x3bb158),A(0x9,_0x1197db),A(0xa,_0x21e225)],Te);let ge=class extends $e{constructor(_0x29acaf,_0x64a752,_0x38be4f,_0x30e166,_0x26c6fc,_0x11e29f,_0x1bee99,_0xa7bbb4,_0x3e6e29,_0x5c5e2a,_0x4dfbdd,_0x5ff4a3,_0x44fd10){const _0x4ad7d0=_0x494e14;super(_0x29acaf,_0x64a752,_0x38be4f,_0x30e166,_0x26c6fc,_0x5c5e2a,_0x44fd10,_0xa7bbb4,_0x3e6e29),g(this,_0x4ad7d0(0x50e),_0x4ad7d0(0x4b7)),g(this,'_resendTimeout',0x0),g(this,_0x4ad7d0(0x2a5)),g(this,_0x4ad7d0(0x50a)),(this[_0x4ad7d0(0x5a2)]=_0x1bee99,this[_0x4ad7d0(0x3c0)]=_0x4dfbdd,this[_0x4ad7d0(0x3c3)]=_0x5ff4a3,_0x11e29f&&(this[_0x4ad7d0(0x2a5)]=_0x11e29f,this['_sender']=this[_0x4ad7d0(0x2a5)][_0x4ad7d0(0x540)](({reqId:_0x4dc2ac,timeout:_0x412c1e})=>{const _0x50e267=_0x4ad7d0;this[_0x50e267(0x41b)](_0x4dc2ac,_0x412c1e);})));}['appendMutation'](_0x257c44){const _0x2bdbef=_0x494e14;return this[_0x2bdbef(0x282)][_0x2bdbef(0x271)](_0x257c44),this;}[_0x494e14(0x324)](_0x2c5ae0){const _0x563ba5=_0x494e14;if(this[_0x563ba5(0x597)](_0x2c5ae0))return this[_0x563ba5(0x393)](),this[_0x563ba5(0x5a2)]['createInstance'](he,this['unitID'],this[_0x563ba5(0x2cd)],this[_0x563ba5(0x20e)],this[_0x563ba5(0x282)],null,[_0x2c5ae0],this[_0x563ba5(0x30c)]);try{const _0x19d1e3=this[_0x563ba5(0x3c3)][_0x563ba5(0x5e8)]([_0x2c5ae0],[this['_awaitingChangeset']],!0x1);if(_0x4151a8(_0x19d1e3)){const {c1Prime:_0x93e102,c2Prime:_0x4d2321}=_0x19d1e3,_0x5c3e4a=this[_0x563ba5(0x3c3)][_0x563ba5(0x464)](_0x93e102[0x0],this['_pendingMutations']);if(_0x46c18d(_0x5c3e4a)){const {c1Prime:_0x2b7436,m2Prime:_0x3751e7}=_0x5c3e4a;return this[_0x563ba5(0x476)](_0x2b7436),_0x4d2321[0x0][_0x563ba5(0x30f)]=this[_0x563ba5(0x398)](),this[_0x563ba5(0x393)](),this[_0x563ba5(0x5a2)][_0x563ba5(0x397)](ge,this[_0x563ba5(0x55b)],this[_0x563ba5(0x2cd)],_0x4d2321[0x0],_0x3751e7,this[_0x563ba5(0x30c)],void 0x0);}throw _0x5c3e4a[_0x563ba5(0x48a)];}throw _0x19d1e3[_0x563ba5(0x48a)];}catch(_0x5f4e3e){return this[_0x563ba5(0x3c0)][_0x563ba5(0x48a)](_0x5f4e3e),this[_0x563ba5(0x2be)](!0x1);}}[_0x494e14(0x309)](_0x56723c){const _0x474f6a=_0x494e14;if(this[_0x474f6a(0x393)](),this[_0x474f6a(0x597)](_0x56723c))return this['_injector'][_0x474f6a(0x397)](he,this[_0x474f6a(0x55b)],this[_0x474f6a(0x2cd)],null,this['_pendingMutations'],this[_0x474f6a(0x20e)],[],this[_0x474f6a(0x30c)]);this[_0x474f6a(0x50f)]();const _0x4c1134=this[_0x474f6a(0x5a2)][_0x474f6a(0x397)](pe,this[_0x474f6a(0x55b)],this[_0x474f6a(0x2cd)],this[_0x474f6a(0x282)],this[_0x474f6a(0x30c)]);return _0x4c1134['_schedule'](),_0x4c1134[_0x474f6a(0x395)](),_0x4c1134;}['onRemoteRej'](_0x45e83d){const _0x20d213=_0x494e14;return this[_0x20d213(0x2be)](!!(_0x45e83d!=null&&_0x45e83d['isPermissionRej']));}[_0x494e14(0x235)](_0x56a986){const _0x303d5a=_0x494e14;return this[_0x303d5a(0x2a1)]>Ni?this[_0x303d5a(0x549)]():(this[_0x303d5a(0x2a5)]=Ui(this[_0x303d5a(0x2a1)],{'timeout':this[_0x303d5a(0x2a1)],'reqId':_0x56a986[_0x303d5a(0x4cb)]}),this[_0x303d5a(0x50a)]=this[_0x303d5a(0x2a5)][_0x303d5a(0x540)](({reqId:_0x3d8f1b,timeout:_0xdd703f})=>{this['_resendWithTimeout'](_0x3d8f1b,_0xdd703f);}),this);}['toggleOffline'](){const _0x40e395=_0x494e14;return this[_0x40e395(0x393)](),this[_0x40e395(0x5a2)][_0x40e395(0x397)](ye,this[_0x40e395(0x55b)],this[_0x40e395(0x2cd)],this[_0x40e395(0x20e)],this['_pendingMutations'],this['_handler']);}[_0x494e14(0x5d0)](){return this;}[_0x494e14(0x35d)](){const _0x3cb3ac=_0x494e14;this['_handler'][_0x3cb3ac(0x3c8)](this[_0x3cb3ac(0x20e)]);}[_0x494e14(0x2be)](_0x5530db){const _0x612e37=_0x494e14;return this[_0x612e37(0x393)](),this[_0x612e37(0x5a2)][_0x612e37(0x397)](Re,this[_0x612e37(0x55b)],this[_0x612e37(0x2cd)],null,this[_0x612e37(0x282)],this[_0x612e37(0x30c)],_0x5530db);}[_0x494e14(0x41b)](_0x45096f,_0x298cd9){const _0x5a5356=_0x494e14;var _0x2aef16;_0x45096f===((_0x2aef16=this[_0x5a5356(0x20e)])==null?void 0x0:_0x2aef16['reqId'])&&(this['resend'](),this['_resendTimeout']=_0x298cd9===0x0?0x3e8:_0x298cd9*0x2);}[_0x494e14(0x393)](){const _0x37d01f=_0x494e14;var _0x4c4837;(_0x4c4837=this['_sender'])==null||_0x4c4837[_0x37d01f(0x5f6)](),this['_resendTimeout']=0x0;}};ge=Le([A(0x6,_0x41b3da(_0x2087b9)),A(0x7,_0x41b3da(_0x1d4656)),A(0x8,_0x41b3da(q)),A(0x9,_0x1c554d),A(0xa,_0x3bb158),A(0xb,_0x1197db),A(0xc,_0x21e225)],ge);let Re=class extends $e{constructor(_0x36dc7e,_0x2fdb85,_0x2f6522,_0x408c18,_0x11a510,_0x1b6c92=!0x1,_0x1d90b3,_0x2efe8a,_0x2d03ac,_0x557469,_0x3d16d9,_0x3e395f,_0x19fdef){const _0x23af35=_0x494e14;super(_0x36dc7e,_0x2fdb85,_0x2f6522,_0x408c18,_0x11a510,_0x2efe8a,_0x2d03ac,_0x3d16d9,_0x557469),g(this,_0x23af35(0x50e),_0x23af35(0x56a)),(this[_0x23af35(0x4e0)]=_0x1b6c92,this[_0x23af35(0x2b7)]=_0x1d90b3,this[_0x23af35(0x5f1)]=_0x3e395f,this[_0x23af35(0x3fd)]=_0x19fdef,this[_0x23af35(0x58c)](),this['_clearLocalCache'](),this[_0x23af35(0x4c3)]());}['appendMutation'](){return this;}[_0x494e14(0x324)](){return this;}[_0x494e14(0x309)](){return this;}[_0x494e14(0x3a4)](){return this;}[_0x494e14(0x235)](){return this;}['toggleOffline'](){return this;}[_0x494e14(0x5d0)](){return this;}[_0x494e14(0x35d)](){const _0x516e8a=_0x494e14;throw new Error(_0x516e8a(0x594));}['_clearLocalCache'](){const _0x378095=_0x494e14;this[_0x378095(0x391)][_0x378095(0x2d4)](this['unitID'],this[_0x378095(0x2cd)],null,[]);}[_0x494e14(0x58c)](){const _0x374b61=_0x494e14;this[_0x374b61(0x4e0)]?this['_notificationService'][_0x374b61(0x56c)]({'title':this[_0x374b61(0x5f1)]['t'](_0x374b61(0x2a0)),'content':this['_localeService']['t'](_0x374b61(0x45f)),'type':_0x374b61(0x48a),'duration':0x0}):this['_notificationService'][_0x374b61(0x56c)]({'title':this[_0x374b61(0x5f1)]['t'](_0x374b61(0x321)),'content':this[_0x374b61(0x5f1)]['t'](_0x374b61(0x32f)),'type':_0x374b61(0x48a),'duration':0x0});}[_0x494e14(0x4c3)](){const _0x4da63e=_0x494e14;this[_0x4da63e(0x2b7)]['updatePermissionPoint'](new _0x4d3cfd(this[_0x4da63e(0x55b)])['id'],!0x1);}};Re=Le([A(0x6,_0x41b3da(_0x298af3)),A(0x7,_0x1c554d),A(0x8,_0x21e225),A(0x9,_0x41b3da(q)),A(0xa,_0x41b3da(_0x1d4656)),A(0xb,_0x41b3da(_0x461b9d)),A(0xc,_0x52089c)],Re);let ye=class extends $e{constructor(_0x5d2d55,_0x17aaac,_0x377514,_0x56af02,_0x22a21e,_0x14b567,_0x28808d,_0x13a79b,_0x5c7008,_0x3eb4bb){const _0x45c99a=_0x494e14;super(_0x5d2d55,_0x17aaac,_0x377514,_0x56af02,_0x22a21e,_0x5c7008,_0x3eb4bb,_0x28808d,_0x13a79b),g(this,_0x45c99a(0x50e),_0x45c99a(0x2ee)),this['_injector']=_0x14b567;}[_0x494e14(0x347)](_0x980dc2){const _0x1f6401=_0x494e14;return this[_0x1f6401(0x282)][_0x1f6401(0x271)](_0x980dc2),this[_0x1f6401(0x395)](),this;}[_0x494e14(0x324)](_0x251f6d){const _0x5523e6=_0x494e14;throw new Error(_0x5523e6(0x2e7));}[_0x494e14(0x309)](){const _0x56c24e=_0x494e14;throw new Error(_0x56c24e(0x23d));}[_0x494e14(0x3a4)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x494e14(0x235)](){return this;}[_0x494e14(0x549)](){return this;}['toggleOnline'](){const _0x2388e4=_0x494e14,{_injector:_0x1be917,_pendingMutations:_0x279084,_awaitingChangeset:_0x107ddc,unitID:_0x1814c2,_handler:_0x572d49,type:_0x31e5bf}=this,_0x4d0d03=Ai(_0x1be917,_0x1814c2,_0x31e5bf,_0x107ddc,_0x279084,_0x572d49);return _0x4d0d03 instanceof pe?_0x4d0d03['_schedule']():(_0x4d0d03 instanceof ge||_0x4d0d03 instanceof Te)&&_0x4d0d03[_0x2388e4(0x35d)](),_0x4d0d03;}[_0x494e14(0x35d)](){const _0x5a04c4=_0x494e14;throw new Error(_0x5a04c4(0x574));}};ye=Le([A(0x5,_0x41b3da(_0x2087b9)),A(0x6,_0x41b3da(_0x1d4656)),A(0x7,_0x41b3da(q)),A(0x8,_0x1c554d),A(0x9,_0x21e225)],ye);let he=class extends $e{constructor(_0x2793d8,_0x1fb7ca,_0x2a589b,_0x57fd45,_0x5da813,_0xd6d34a,_0x1c9111,_0x35bd63,_0x4ad455,_0x34867b,_0x1d521c,_0x5f0132,_0x37fbde,_0x316071){const _0x2e9825=_0x494e14;super(_0x2793d8,_0x1fb7ca,_0x2a589b,_0x57fd45,_0x1c9111,_0x5f0132,_0x37fbde,_0x4ad455,_0x34867b),g(this,_0x2e9825(0x50e),_0x2e9825(0x5a8)),(this[_0x2e9825(0x564)]=_0x5da813,this[_0x2e9825(0x54d)]=_0xd6d34a,this[_0x2e9825(0x5a2)]=_0x35bd63,this[_0x2e9825(0x3c0)]=_0x1d521c,this[_0x2e9825(0x3c3)]=_0x316071);}[_0x494e14(0x4fc)](_0x59c92b){const _0x8ceef8=_0x494e14;try{const _0x1bfc7c=[..._0x59c92b,...this[_0x8ceef8(0x54d)]],_0x310f40=[this[_0x8ceef8(0x20e)]||this[_0x8ceef8(0x564)]][_0x8ceef8(0x494)](_0x14187e=>!!_0x14187e);let _0x55aae7,_0x3cc373;if(_0x310f40[_0x8ceef8(0x490)]){const _0x3611e1=this[_0x8ceef8(0x3c3)]['transformChangesets'](_0x1bfc7c,_0x310f40,!0x1);if(!_0x4151a8(_0x3611e1))throw _0x3611e1[_0x8ceef8(0x48a)];_0x55aae7=_0x3611e1[_0x8ceef8(0x41a)],_0x3cc373=_0x3611e1[_0x8ceef8(0x556)];}else _0x55aae7=_0x1bfc7c,_0x3cc373=[];let _0x59ebc5=this[_0x8ceef8(0x282)];_0x55aae7['forEach'](_0x597512=>{const _0x3191ea=_0x8ceef8;let _0xf843ca;if(_0x59ebc5[_0x3191ea(0x490)]){const _0x189c68=this['_transformService'][_0x3191ea(0x464)](_0x597512,_0x59ebc5);if(!_0x46c18d(_0x189c68))throw _0x189c68[_0x3191ea(0x48a)];_0xf843ca=_0x189c68[_0x3191ea(0x41a)],_0x59ebc5=_0x189c68[_0x3191ea(0x5ca)];}else _0xf843ca=_0x597512;this['_executeRemoteChangeset'](_0xf843ca);}),this[_0x8ceef8(0x564)]&&this[_0x8ceef8(0x50f)](),this[_0x8ceef8(0x20e)]&&_0x3cc373['length']&&(_0x3cc373[0x0][_0x8ceef8(0x30f)]=this[_0x8ceef8(0x398)]());let _0x424e60;if(this[_0x8ceef8(0x20e)]&&_0x59ebc5[_0x8ceef8(0x490)]!==0x0)_0x424e60=this[_0x8ceef8(0x5a2)][_0x8ceef8(0x397)](ge,this[_0x8ceef8(0x55b)],this['type'],_0x3cc373[0x0],_0x59ebc5,this[_0x8ceef8(0x30c)],void 0x0);else{if(this[_0x8ceef8(0x20e)]&&_0x59ebc5[_0x8ceef8(0x490)]===0x0)_0x3cc373[0x0][_0x8ceef8(0x30f)]=this[_0x8ceef8(0x398)](),_0x424e60=this[_0x8ceef8(0x5a2)][_0x8ceef8(0x397)](Te,this[_0x8ceef8(0x55b)],this[_0x8ceef8(0x2cd)],_0x3cc373[0x0],this[_0x8ceef8(0x30c)]);else{if(_0x59ebc5[_0x8ceef8(0x490)]!==0x0){const _0x44dc72=this[_0x8ceef8(0x5a2)][_0x8ceef8(0x397)](pe,this[_0x8ceef8(0x55b)],this[_0x8ceef8(0x2cd)],_0x59ebc5,this['_handler']);_0x44dc72[_0x8ceef8(0x42b)](),_0x424e60=_0x44dc72;}else _0x424e60=this[_0x8ceef8(0x5a2)]['createInstance'](Fe,this[_0x8ceef8(0x55b)],this[_0x8ceef8(0x2cd)],this[_0x8ceef8(0x30c)]);}}return _0x424e60[_0x8ceef8(0x395)](),_0x424e60;}catch(_0x396c7c){return this['_logService'][_0x8ceef8(0x48a)](_0x8ceef8(0x2b4),_0x8ceef8(0x588),_0x396c7c),this[_0x8ceef8(0x5a2)][_0x8ceef8(0x397)](Re,this[_0x8ceef8(0x55b)],this[_0x8ceef8(0x2cd)],this[_0x8ceef8(0x20e)],this['_pendingMutations'],this[_0x8ceef8(0x30c)],!0x1);}}[_0x494e14(0x35d)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x494e14(0x347)](_0x232a38){const _0x531862=_0x494e14;return this[_0x531862(0x282)][_0x531862(0x271)](_0x232a38),this;}[_0x494e14(0x324)](_0x4eb9da){const _0x284646=_0x494e14;return this['_queuedRemoteChangesets'][_0x284646(0x271)](_0x4eb9da),this;}[_0x494e14(0x309)](_0x226537){const _0x407d25=_0x494e14;if(this[_0x407d25(0x20e)])return this[_0x407d25(0x564)]=this['_awaitingChangeset'],this[_0x407d25(0x20e)]=null,this;throw new Error(_0x407d25(0x5de));}[_0x494e14(0x3a4)](_0x32f568){const _0x590cd4=_0x494e14;return this[_0x590cd4(0x2be)](!!(_0x32f568!=null&&_0x32f568[_0x590cd4(0x3a8)]));}[_0x494e14(0x235)](){return this;}[_0x494e14(0x549)](){const _0x63ce87=_0x494e14;return this[_0x63ce87(0x5a2)][_0x63ce87(0x397)](ye,this['unitID'],this[_0x63ce87(0x2cd)],this[_0x63ce87(0x20e)],this[_0x63ce87(0x282)],this[_0x63ce87(0x30c)]);}['toggleOnline'](){return this;}[_0x494e14(0x2be)](_0x31ca27){const _0x1fbc9e=_0x494e14;return this[_0x1fbc9e(0x5a2)][_0x1fbc9e(0x397)](Re,this[_0x1fbc9e(0x55b)],this[_0x1fbc9e(0x2cd)],this[_0x1fbc9e(0x20e)],this[_0x1fbc9e(0x282)],this[_0x1fbc9e(0x30c)],_0x31ca27);}};he=Le([A(0x7,_0x41b3da(_0x2087b9)),A(0x8,_0x41b3da(_0x1d4656)),A(0x9,_0x41b3da(q)),A(0xa,_0x3bb158),A(0xb,_0x1c554d),A(0xc,_0x21e225),A(0xd,_0x1197db)],he);function Ai(_0x3b3ced,_0x1ad00b,_0xbfe7f1,_0x14a2c7,_0x1ee783,_0x3b3734){const _0x39701b=_0x494e14;return _0x14a2c7&&_0x1ee783[_0x39701b(0x490)]?_0x3b3ced[_0x39701b(0x397)](ge,_0x1ad00b,_0xbfe7f1,_0x14a2c7,_0x1ee783,_0x3b3734,void 0x0):_0x14a2c7?_0x3b3ced[_0x39701b(0x397)](Te,_0x1ad00b,_0xbfe7f1,_0x14a2c7,_0x3b3734):_0x1ee783[_0x39701b(0x490)]?_0x3b3ced[_0x39701b(0x397)](pe,_0x1ad00b,_0xbfe7f1,_0x1ee783,_0x3b3734):_0x3b3ced[_0x39701b(0x397)](Fe,_0x1ad00b,_0xbfe7f1,_0x3b3734);}var mo=Object[_0x494e14(0x421)],po=Object[_0x494e14(0x2a4)],Es=(_0x2c71be,_0x3b4bbb,_0x2c1a39,_0x50c599)=>{const _0x7d8208=_0x494e14;for(var _0x1738c5=_0x50c599>0x1?void 0x0:_0x50c599?po(_0x3b4bbb,_0x2c1a39):_0x3b4bbb,_0x1857a0=_0x2c71be[_0x7d8208(0x490)]-0x1,_0xebde7f;_0x1857a0>=0x0;_0x1857a0--)(_0xebde7f=_0x2c71be[_0x1857a0])&&(_0x1738c5=(_0x50c599?_0xebde7f(_0x3b4bbb,_0x2c1a39,_0x1738c5):_0xebde7f(_0x1738c5))||_0x1738c5);return _0x50c599&&_0x1738c5&&mo(_0x3b4bbb,_0x2c1a39,_0x1738c5),_0x1738c5;},H=(_0x353bd5,_0x4e666b)=>(_0x2bb66e,_0x1a0207)=>_0x4e666b(_0x2bb66e,_0x1a0207,_0x353bd5);let St=class extends _0x542deb{constructor(_0x303f17,_0x158a16,_0x47c3a7,_0x1f3f92,_0x2ae84c,_0x52dfbf,_0x3cf673,_0x28511d,_0x50240f,_0x1d2dfb,_0x5a69e9,_0x10d9d0,_0x50a00b){const _0x555ed7=_0x494e14;super(),g(this,'_state$',new _0x9b8747(null)),g(this,_0x555ed7(0x4bf),this[_0x555ed7(0x4c1)][_0x555ed7(0x372)]()),g(this,'_state'),g(this,'_collaborationPaused',!0x1),g(this,_0x555ed7(0x56e),''),g(this,_0x555ed7(0x3ba),0x0),g(this,'status$',this[_0x555ed7(0x4bf)][_0x555ed7(0x3eb)](_0x2db811(_0x979ac4=>_0x979ac4?_0x979ac4[_0x555ed7(0x50e)]:J[_0x555ed7(0x387)]),_0x272c53(0x1))),g(this,_0x555ed7(0x456),!0x1),g(this,_0x555ed7(0x211),[]),(this[_0x555ed7(0x55b)]=_0x303f17,this[_0x555ed7(0x3a1)]=_0x158a16,this[_0x555ed7(0x256)]=_0x47c3a7,this[_0x555ed7(0x5a2)]=_0x1f3f92,this['_localCacheService']=_0x2ae84c,this[_0x555ed7(0x56f)]=_0x52dfbf,this[_0x555ed7(0x5f1)]=_0x3cf673,this[_0x555ed7(0x3b8)]=_0x28511d,this[_0x555ed7(0x3c0)]=_0x50240f,this[_0x555ed7(0x5ef)]=_0x1d2dfb,this[_0x555ed7(0x46a)]=_0x5a69e9,this[_0x555ed7(0x2b7)]=_0x10d9d0,this['_singleActiveUnitService']=_0x50a00b);}get['state'](){const _0x294736=_0x494e14;return this[_0x294736(0x5cf)];}async[_0x494e14(0x33f)](){const _0xb64b23=_0x494e14;if(this[_0xb64b23(0x2e9)])throw new Error(_0xb64b23(0x269));await this[_0xb64b23(0x599)]();}['pauseCollaboration'](){const _0x20c36e=_0x494e14;return this[_0x20c36e(0x1ef)]=!0x0,_0xf5e7f5(()=>{this['_collaborationPaused']=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x494e14(0x4ac)](_0x2cdc48){const _0x203d49=_0x494e14;this[_0x203d49(0x5cf)]=_0x2cdc48,this[_0x203d49(0x4c1)][_0x203d49(0x2d0)](_0x2cdc48);}async[_0x494e14(0x599)](){const _0x1d5dea=_0x494e14;var _0x54241f;this[_0x1d5dea(0x4ac)](await this[_0x1d5dea(0x532)]()),this[_0x1d5dea(0x360)]&&((_0x54241f=this['_singleActiveUnitService'])==null||_0x54241f['editingUnit'](this[_0x1d5dea(0x55b)]),this['disposeWithMe'](this[_0x1d5dea(0x360)][_0x1d5dea(0x218)](this[_0x1d5dea(0x55b)])['subscribe'](_0x52f294=>{const _0x4b3edf=_0x1d5dea;this[_0x4b3edf(0x3c0)][_0x4b3edf(0x359)](_0x4b3edf(0x40a),_0x4b3edf(0x297),_0x52f294),_0x52f294===Di[_0x4b3edf(0x274)]?(this[_0x4b3edf(0x46a)][_0x4b3edf(0x56c)]({'content':this['_localeService']['t'](_0x4b3edf(0x55f)),'type':_0x31fabe[_0x4b3edf(0x39b)]}),this['_permissionService']['updatePermissionPoint'](new _0x4d3cfd(this[_0x4b3edf(0x55b)])['id'],!0x1),this[_0x4b3edf(0x2b7)][_0x4b3edf(0x37a)](!0x1)):(this[_0x4b3edf(0x2b7)]['updatePermissionPoint'](new _0x4d3cfd(this[_0x4b3edf(0x55b)])['id'],!0x0),this[_0x4b3edf(0x2b7)][_0x4b3edf(0x37a)](!0x0));})));let _0x141931=!0x1;return this['disposeWithMe'](this[_0x1d5dea(0x3a1)][_0x1d5dea(0x2ba)][_0x1d5dea(0x540)](_0x1452ca=>{const _0x1befd=_0x1d5dea;_0x1452ca===ve[_0x1befd(0x480)]?this['_toggleOnline'](_0x141931):_0x1452ca===ve[_0x1befd(0x387)]&&(_0x141931=!0x0,this[_0x1befd(0x29a)]());})),this['disposeWithMe'](this[_0x1d5dea(0x3a1)][_0x1d5dea(0x368)][_0x1d5dea(0x540)](_0x465ca4=>{const _0x436806=_0x1d5dea;try{switch(_0x465ca4[_0x436806(0x1f1)]){case _0x3c9498[_0x436806(0x4c7)]:{this[_0x436806(0x4b9)](_0x5aaef3(_0x465ca4[_0x436806(0x41c)]));break;}case _0x3c9498['CHANGESET_ACK']:{this[_0x436806(0x448)](_0x465ca4[_0x436806(0x41c)]);break;}case _0x3c9498['CHANGESET_REJ']:{this[_0x436806(0x552)]();break;}case _0x3c9498[_0x436806(0x57b)]:{this[_0x436806(0x2d1)](_0x465ca4[_0x436806(0x41c)]);break;}case _0x3c9498[_0x436806(0x29f)]:{this[_0x436806(0x39f)](_0x465ca4['data'][_0x436806(0x29e)][_0x436806(0x5ed)](_0x285982=>_0x5aaef3(_0x285982)));break;}case _0x3c9498['PERMISSION_REJ']:this[_0x436806(0x552)]({'isPermissionRej':!0x0});}}catch(_0x25e47d){throw console[_0x436806(0x48a)](_0x436806(0x48f),_0x25e47d),_0x25e47d;}})),this[_0x1d5dea(0x5cf)];}['_unlockTransition'](){const _0x1805ee=_0x494e14;this[_0x1805ee(0x456)]=!0x1;}[_0x494e14(0x399)](){const _0x558c1f=_0x494e14;if(this[_0x558c1f(0x456)])throw new Error(_0x558c1f(0x30a));this[_0x558c1f(0x456)]=!0x0;}[_0x494e14(0x23a)](_0x2531e1){const _0xf40923=_0x494e14;this[_0xf40923(0x399)](),this[_0xf40923(0x4ac)](this[_0xf40923(0x5cf)][_0xf40923(0x347)](_0x2531e1)),this[_0xf40923(0x257)]();}['_onRemoteChangeset'](_0x2a0f40){const _0x21f89b=_0x494e14;if(!(_0x2a0f40['revision']<=this[_0x21f89b(0x3b8)]['getCurrentRevOfUnit'](this[_0x21f89b(0x55b)]))){if(this[_0x21f89b(0x1ef)]){this[_0x21f89b(0x211)][_0x21f89b(0x271)](_0x2a0f40);return;}this[_0x21f89b(0x32c)](_0x2a0f40);}}[_0x494e14(0x3f4)](){const _0x4baa35=_0x494e14;this['_remoteChangesetQueue'][_0x4baa35(0x58b)](_0x39facc=>this[_0x4baa35(0x32c)](_0x39facc)),this[_0x4baa35(0x211)]=[];}[_0x494e14(0x32c)](_0x2eba6f){const _0x89d6ae=_0x494e14,_0x2cfac0=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this[_0x89d6ae(0x56f)][_0x89d6ae(0x5b6)][_0x89d6ae(0x479)]()[_0x89d6ae(0x2ab)])(_0x2eba6f[_0x89d6ae(0x592)],null)||_0x2eba6f[_0x89d6ae(0x592)],_0x48d798={..._0x2eba6f,'mutations':_0x2cfac0};this[_0x89d6ae(0x399)](),this['_updateState'](this[_0x89d6ae(0x5cf)][_0x89d6ae(0x324)](_0x48d798)),this[_0x89d6ae(0x257)]();}[_0x494e14(0x448)](_0x396a12){const _0x136a5f=_0x494e14;this[_0x136a5f(0x399)](),this['_updateState'](this[_0x136a5f(0x5cf)][_0x136a5f(0x309)](_0x396a12)),this[_0x136a5f(0x257)]();}[_0x494e14(0x552)](_0x5db597){const _0x1993f0=_0x494e14;this[_0x1993f0(0x399)](),this[_0x1993f0(0x4ac)](this[_0x1993f0(0x5cf)][_0x1993f0(0x3a4)](_0x5db597)),this[_0x1993f0(0x257)]();}[_0x494e14(0x2d1)](_0x260937){const _0x24749e=_0x494e14;this[_0x24749e(0x399)](),this['_updateState'](this[_0x24749e(0x5cf)][_0x24749e(0x235)](_0x260937)),this['_unlockTransition']();}[_0x494e14(0x39f)](_0x4331f8){const _0x20bf85=_0x494e14;if(!(this[_0x20bf85(0x5cf)]instanceof he))throw new TypeError(_0x20bf85(0x5c8));const _0x5b3210=_0x4331f8[_0x20bf85(0x5ed)](_0xb1799a=>{const _0x17e97a=_0x20bf85,_0x24ae95=this[_0x17e97a(0x56f)][_0x17e97a(0x5b6)]['fetchThroughInterceptors'](this[_0x17e97a(0x56f)][_0x17e97a(0x5b6)]['getInterceptPoints']()[_0x17e97a(0x2ab)])(_0xb1799a[_0x17e97a(0x592)],null)||_0xb1799a[_0x17e97a(0x592)];return{..._0xb1799a,'mutations':_0x24ae95};});this['_lockTransition'](),this['_updateState'](this[_0x20bf85(0x5cf)]['onMissedChangesetFetched'](_0x5b3210)),this['_unlockTransition']();}[_0x494e14(0x29a)](){const _0x21fd3f=_0x494e14;this[_0x21fd3f(0x399)](),this[_0x21fd3f(0x4ac)](this[_0x21fd3f(0x5cf)][_0x21fd3f(0x549)]()),this[_0x21fd3f(0x257)]();}['_toggleOnline'](_0x365437=!0x1){const _0x2c1589=_0x494e14;this[_0x2c1589(0x399)](),this['_updateState'](this[_0x2c1589(0x5cf)][_0x2c1589(0x5d0)]()),this['_unlockTransition']();const _0x350f8c=this['_state'];_0x365437&&_0x350f8c instanceof Fe&&(this[_0x2c1589(0x399)](),this[_0x2c1589(0x4ac)](_0x350f8c[_0x2c1589(0x34d)]()),this[_0x2c1589(0x257)]());}async[_0x494e14(0x532)](){return new Promise(_0x39f18c=>{const _0x39d52b=_0x5d20;this[_0x39d52b(0x3a1)][_0x39d52b(0x2ba)][_0x39d52b(0x3eb)](_0x1dfd23(0x1))[_0x39d52b(0x540)](async _0x96f523=>{const _0x2c71a3=_0x39d52b;_0x39f18c(await this[_0x2c71a3(0x4e9)](_0x96f523===ve[_0x2c71a3(0x480)]));});});}[_0x494e14(0x5b3)](){const _0x5acf2a=_0x494e14,_0x1456d4=this[_0x5acf2a(0x55b)];return{'onStateChange':(_0x16686d,_0x444b35)=>{const _0xe3a4e=_0x5acf2a;if(_0x16686d!==this['_state'])throw new Error(_0xe3a4e(0x242)+_0x16686d['status']+_0xe3a4e(0x423)+_0x444b35[_0xe3a4e(0x50e)]+_0xe3a4e(0x5b8)+this[_0xe3a4e(0x5cf)][_0xe3a4e(0x50e)]);this[_0xe3a4e(0x4ac)](_0x444b35);},'onSendChangeset':_0x2e1cb7=>{const _0x5618ea=_0x5acf2a;_0x2e1cb7[_0x5618ea(0x3ac)]||(_0x2e1cb7[_0x5618ea(0x3ac)]=this[_0x5618ea(0x56e)],_0x2e1cb7[_0x5618ea(0x4cb)]=++this[_0x5618ea(0x3ba)]);const _0x372773={'eventID':_0x3c9498[_0x5618ea(0x358)],'data':{'unitID':_0x2e1cb7['unitID'],'unitType':this['_type'],'changeset':_0x2e1cb7,'memberID':this[_0x5618ea(0x3a1)]['getMemberID']()}};this[_0x5618ea(0x3a1)][_0x5618ea(0x39c)](_0x372773,this['unitID']);},'onMissingChangesets':({from:_0x3e5c2e,to:_0x53ea8a})=>{const _0x554513=_0x5acf2a;this[_0x554513(0x3c0)][_0x554513(0x359)]('[CollaborationEntity]',_0x554513(0x4a8)+_0x3e5c2e+_0x554513(0x58f)+_0x53ea8a);const _0x4b5995={'eventID':_0x3c9498[_0x554513(0x33d)],'data':{'unitID':_0x1456d4,'unitType':this[_0x554513(0x256)],'from':_0x3e5c2e,'to':_0x53ea8a}};this['session']['send'](_0x4b5995,this[_0x554513(0x55b)]);}};}async[_0x494e14(0x4e9)](_0x7267a0){const _0x7bf0d8=_0x494e14;var _0x36f4e7,_0x386d31;const _0x28d881=await this[_0x7bf0d8(0x391)][_0x7bf0d8(0x267)](this['unitID']),_0x5780fc=(_0x36f4e7=_0x28d881==null?void 0x0:_0x28d881[_0x7bf0d8(0x592)])!=null?_0x36f4e7:[],_0x4a701d=(_0x386d31=_0x28d881==null?void 0x0:_0x28d881['awaitingChangeset'])!=null?_0x386d31:null,_0x5661db=!!(_0x4a701d!=null&&_0x4a701d[_0x7bf0d8(0x3ac)])&&!!(_0x4a701d!=null&&_0x4a701d[_0x7bf0d8(0x4cb)]);this[_0x7bf0d8(0x56e)]=_0x5661db?_0x4a701d[_0x7bf0d8(0x3ac)]:Gr(),this[_0x7bf0d8(0x3ba)]=_0x5661db?_0x4a701d[_0x7bf0d8(0x4cb)]:0x0;const _0x345a92=this[_0x7bf0d8(0x55b)];try{this[_0x7bf0d8(0x231)](_0x4a701d,_0x5780fc);}catch(_0x42fdf3){this[_0x7bf0d8(0x3c0)][_0x7bf0d8(0x48a)](_0x42fdf3);}const _0x342674=this[_0x7bf0d8(0x5b3)]();if(_0x7267a0){const _0x4cb105=Ai(this[_0x7bf0d8(0x5a2)],_0x345a92,this[_0x7bf0d8(0x256)],_0x4a701d,_0x5780fc,_0x342674);return _0x4cb105 instanceof pe?_0x4cb105['_schedule']():(_0x4cb105 instanceof ge||_0x4cb105 instanceof Te)&&_0x4cb105[_0x7bf0d8(0x35d)](),_0x4cb105;}return this[_0x7bf0d8(0x5a2)]['createInstance'](ye,_0x345a92,this[_0x7bf0d8(0x256)],_0x4a701d,_0x5780fc,_0x342674);}[_0x494e14(0x231)](_0x25631e,_0xf62b7e){const _0x58e950=_0x494e14;var _0x167aa0,_0x5ad154;const _0x1cb7d0=this[_0x58e950(0x56f)][_0x58e950(0x5b6)][_0x58e950(0x222)](this[_0x58e950(0x56f)][_0x58e950(0x5b6)][_0x58e950(0x479)]()[_0x58e950(0x2ab)]);(_0x167aa0=_0x1cb7d0((_0x25631e==null?void 0x0:_0x25631e[_0x58e950(0x592)])||[],null))==null||_0x167aa0[_0x58e950(0x58b)](_0x1eac57=>this[_0x58e950(0x5ef)][_0x58e950(0x3ca)](_0x1eac57['id'],_0x1eac57[_0x58e950(0x3a2)])),(_0x5ad154=_0x1cb7d0(_0xf62b7e||[],null))==null||_0x5ad154[_0x58e950(0x58b)](_0x4f9048=>this['_commandService']['executeCommand'](_0x4f9048['id'],_0x4f9048['params']));}};St=Es([H(0x3,_0x41b3da(_0x2087b9)),H(0x4,_0x41b3da(q)),H(0x5,_0x41b3da(_0x3c8c9b)),H(0x6,_0x41b3da(_0x461b9d)),H(0x7,_0x41b3da(_0x1d4656)),H(0x8,_0x3bb158),H(0x9,_0x1c554d),H(0xa,_0x54b964),H(0xb,_0x298af3),H(0xc,_0x38b4fe(yt))],St);let ss=class extends St{constructor(_0x1037fb,_0x104ec0,_0x233f16,_0x4d771e,_0x2d818f,_0x1da5a8,_0x56e4f5,_0x48f03e,_0x192ada,_0x58359a,_0x39b4e8,_0x12c7f4,_0x1f53e2,_0xe5f107,_0x291299,_0xc83342,_0x459edb,_0x563d7d){const _0x47fd82=_0x494e14;super(_0x1037fb,_0x233f16,_0x104ec0,_0x4d771e,_0x2d818f,_0x1da5a8,_0x56e4f5,_0x48f03e,_0xe5f107,_0x291299,_0xc83342,_0x459edb,_0x563d7d),this[_0x47fd82(0x55b)]=_0x1037fb,this[_0x47fd82(0x2cd)]=_0x104ec0,this[_0x47fd82(0x4c9)]=_0x192ada,this['_docTransformIMECacheService']=_0x58359a,this[_0x47fd82(0x206)]=_0x39b4e8,this[_0x47fd82(0x591)]=_0x12c7f4,this[_0x47fd82(0x563)]=_0x1f53e2;}[_0x494e14(0x5b3)](){const _0x53864d=_0x494e14,_0x1ed74f=super['_createHandler']();return _0x1ed74f['onTransformIME']=_0x2c58a0=>this['_docTransformIMECacheService'][_0x53864d(0x2bd)](_0x2c58a0),_0x1ed74f[_0x53864d(0x265)]=_0x2eb1c4=>this[_0x53864d(0x206)]['transformStateCache'](_0x2eb1c4),_0x1ed74f[_0x53864d(0x23f)]=_0x3f0252=>this[_0x53864d(0x591)][_0x53864d(0x5c3)](_0x3f0252),_0x1ed74f[_0x53864d(0x248)]=_0x49dde0=>this['_docSyncEditingCollabCursorService'][_0x53864d(0x2c2)](_0x49dde0),_0x1ed74f[_0x53864d(0x25a)]=_0x3df1b7=>this['_docTransformIMECacheService'][_0x53864d(0x275)](_0x3df1b7),_0x1ed74f[_0x53864d(0x5a3)]=_0x23428e=>this[_0x53864d(0x206)]['transformRemoteChangeset'](_0x23428e),_0x1ed74f;}async[_0x494e14(0x599)](){const _0x3d35c1=_0x494e14,_0x51312e=await super[_0x3d35c1(0x599)]();return this[_0x3d35c1(0x4c9)][_0x3d35c1(0x40f)][_0x3d35c1(0x3eb)](_0x3ee31c(this[_0x3d35c1(0x3f5)]))['subscribe'](_0xcb143b=>{const _0x29184c=_0x3d35c1;if(_0xcb143b==null)return;const {unitId:_0x16e61e,redoState:_0x18d870,commandId:_0x164e23}=_0xcb143b;if(_0x16e61e!==this[_0x29184c(0x55b)])return;const _0x4ca0f3={'id':_0x164e23,'type':_0x51c5e3['MUTATION'],'params':{'unitId':_0x16e61e,'actions':_0x18d870[_0x29184c(0x336)],'textRanges':null}};this[_0x29184c(0x23a)](_0x4ca0f3);}),_0x51312e;}};ss=Es([H(0x3,_0x41b3da(_0x2087b9)),H(0x4,_0x41b3da(q)),H(0x5,_0x41b3da(_0x3c8c9b)),H(0x6,_0x41b3da(_0x461b9d)),H(0x7,_0x41b3da(_0x1d4656)),H(0x8,_0x41b3da(_0x5c2099)),H(0x9,_0x41b3da(vt)),H(0xa,_0x41b3da(pt)),H(0xb,_0x41b3da(gt)),H(0xc,_0x41b3da(Cs)),H(0xd,_0x3bb158),H(0xe,_0x1c554d),H(0xf,_0x54b964),H(0x10,_0x298af3),H(0x11,_0x38b4fe(yt))],ss);let is=class extends St{constructor(_0x35cd7a,_0xce9e8c,_0x2ca91e,_0x3f0be2,_0x19117a,_0x2867f8,_0x540334,_0x3fb126,_0x19dd39,_0xa58264,_0xe821c1,_0x14c90b,_0x2e86da,_0x553d0f){super(_0x35cd7a,_0x2ca91e,_0xce9e8c,_0x3f0be2,_0x19117a,_0x2867f8,_0x540334,_0x3fb126,_0xa58264,_0xe821c1,_0x14c90b,_0x2e86da,_0x553d0f),this['unitID']=_0x35cd7a,this['type']=_0xce9e8c,this['_sheetTransformSelectionsService']=_0x19dd39;}[_0x494e14(0x5b3)](){const _0x51228b=_0x494e14,_0x157848=super[_0x51228b(0x5b3)]();return _0x157848[_0x51228b(0x23f)]=_0x5bb72c=>this[_0x51228b(0x3e1)][_0x51228b(0x5c3)](_0x5bb72c),_0x157848;}async[_0x494e14(0x599)](){const _0x28a6ad=_0x494e14,_0x4db0bc=await super[_0x28a6ad(0x599)]();return this[_0x28a6ad(0x461)](this[_0x28a6ad(0x5ef)][_0x28a6ad(0x527)]((_0x539ac3,_0x4a10e6)=>{const _0x540ec4=_0x28a6ad;if(_0x539ac3[_0x540ec4(0x2cd)]!==_0x51c5e3[_0x540ec4(0x314)]||_0x4a10e6!=null&&_0x4a10e6[_0x540ec4(0x2b8)]||_0x4a10e6!=null&&_0x4a10e6[_0x540ec4(0x3d9)])return;const _0x43c903=_0x539ac3[_0x540ec4(0x3a2)];if((_0x43c903==null?void 0x0:_0x43c903[_0x540ec4(0x3ff)])!==this[_0x540ec4(0x55b)])return;const _0x5b0721=_0x539ac3,_0x1f1a62=this[_0x540ec4(0x56f)][_0x540ec4(0x5b6)][_0x540ec4(0x222)](this[_0x540ec4(0x56f)][_0x540ec4(0x5b6)][_0x540ec4(0x479)]()[_0x540ec4(0x5c6)])([_0x5b0721],null)||[_0x5b0721];this[_0x540ec4(0x23a)](_0x1f1a62[0x0]);})),_0x4db0bc;}};is=Es([H(0x3,_0x41b3da(_0x2087b9)),H(0x4,_0x41b3da(q)),H(0x5,_0x41b3da(_0x3c8c9b)),H(0x6,_0x41b3da(_0x461b9d)),H(0x7,_0x41b3da(_0x1d4656)),H(0x8,_0x41b3da(mt)),H(0x9,_0x3bb158),H(0xa,_0x1c554d),H(0xb,_0x54b964),H(0xc,_0x298af3),H(0xd,_0x38b4fe(yt))],is);var go=Object['defineProperty'],So=Object[_0x494e14(0x2a4)],Io=(_0x1a05ba,_0x704538,_0x2bcd24,_0xf6698e)=>{const _0x2a6017=_0x494e14;for(var _0x2f6265=_0xf6698e>0x1?void 0x0:_0xf6698e?So(_0x704538,_0x2bcd24):_0x704538,_0x44b0cf=_0x1a05ba[_0x2a6017(0x490)]-0x1,_0x3e8816;_0x44b0cf>=0x0;_0x44b0cf--)(_0x3e8816=_0x1a05ba[_0x44b0cf])&&(_0x2f6265=(_0xf6698e?_0x3e8816(_0x704538,_0x2bcd24,_0x2f6265):_0x3e8816(_0x2f6265))||_0x2f6265);return _0xf6698e&&_0x2f6265&&go(_0x704538,_0x2bcd24,_0x2f6265),_0x2f6265;},Lt=(_0x21b792,_0x408f67)=>(_0x166042,_0x1997d1)=>_0x408f67(_0x166042,_0x1997d1,_0x21b792);let it=class extends _0x542deb{constructor(_0x5a7563,_0x4c7f91,_0x287852){const _0x587e42=_0x494e14;super(),g(this,_0x587e42(0x5a0),new Map()),g(this,_0x587e42(0x4d8),new _0x243cfe()),(this['_injector']=_0x5a7563,this[_0x587e42(0x2e3)]=_0x4c7f91,this['_univerInstanceService']=_0x287852,this['_init']());}['dispose'](){const _0x33cc21=_0x494e14;super[_0x33cc21(0x301)](),this[_0x33cc21(0x5a0)]['forEach'](_0x932e94=>_0x932e94['dispose']()),this['_entities'][_0x33cc21(0x5cb)]();}[_0x494e14(0x5a7)](_0x208cf4){const _0x3eb12d=_0x494e14;var _0x34cf6c;return(_0x34cf6c=this[_0x3eb12d(0x5a0)][_0x3eb12d(0x38a)](_0x208cf4))!=null?_0x34cf6c:null;}[_0x494e14(0x307)](_0x594786){const _0x49149c=_0x494e14,_0x144f99=this[_0x49149c(0x5a7)](_0x594786);return _0x144f99?_0x29feb9(_0x144f99):this[_0x49149c(0x4d8)]['pipe'](_0x4dbfb7(_0x435c93=>_0x435c93[_0x49149c(0x55b)]===_0x594786));}[_0x494e14(0x599)](){const _0x38731d=_0x494e14;this[_0x38731d(0x5ee)][_0x38731d(0x229)](_0x50e7dc[_0x38731d(0x5dc)])[_0x38731d(0x3eb)](_0x3ee31c(this['dispose$']),_0xd7603f(0x10))[_0x38731d(0x540)](async _0x3729b1=>{const _0x3bbd29=_0x38731d,_0x171232=_0x3729b1['getUnitId'](),_0x4644fe=await this[_0x3bbd29(0x528)](_0x171232,ce[_0x3bbd29(0x5dc)]);this[_0x3bbd29(0x5a0)]['set'](_0x171232,_0x4644fe);}),this['_univerInstanceService'][_0x38731d(0x229)](_0x50e7dc[_0x38731d(0x36f)])['pipe'](_0x3ee31c(this['dispose$']),_0xd7603f(0x10))[_0x38731d(0x3eb)](_0x4dbfb7(_0x269e18=>!_0x269e18[_0x38731d(0x467)]()['startsWith']('__')))['subscribe'](async _0x124c3a=>{const _0x412109=_0x38731d,_0x3deec7=_0x124c3a[_0x412109(0x467)](),_0x9a898c=await this[_0x412109(0x528)](_0x3deec7,ce[_0x412109(0x36f)]);this[_0x412109(0x5a0)][_0x412109(0x207)](_0x3deec7,_0x9a898c);}),_0x5326b0(this[_0x38731d(0x5ee)][_0x38731d(0x357)](_0x50e7dc[_0x38731d(0x5dc)]),this['_univerInstanceService'][_0x38731d(0x357)](_0x50e7dc[_0x38731d(0x36f)]))['pipe'](_0x3ee31c(this[_0x38731d(0x3f5)]))[_0x38731d(0x540)](_0x3b16e4=>{const _0x3065f8=_0x38731d,_0x302e62=_0x3b16e4['getUnitId'](),_0x4b7dba=this[_0x3065f8(0x5a0)][_0x3065f8(0x38a)](_0x302e62);_0x4b7dba&&(_0x4b7dba[_0x3065f8(0x301)](),this[_0x3065f8(0x5a0)][_0x3065f8(0x534)](_0x302e62));});}async[_0x494e14(0x528)](_0x22b914,_0x433d59){const _0x63f66e=_0x494e14,_0x24c582=await this['_collabSessionService'][_0x63f66e(0x337)](_0x22b914),_0x5b6406=this[_0x63f66e(0x5a2)][_0x63f66e(0x397)](this['_getCtorByUniverType'](_0x433d59),_0x22b914,_0x433d59,_0x24c582);return await _0x5b6406[_0x63f66e(0x33f)](),this[_0x63f66e(0x4d8)]['next'](_0x5b6406),_0x5b6406;}['_getCtorByUniverType'](_0x4ddf8e){const _0x3a0d3b=_0x494e14;switch(_0x4ddf8e){case ce[_0x3a0d3b(0x36f)]:return ss;case ce[_0x3a0d3b(0x5dc)]:return is;default:throw new Error(_0x3a0d3b(0x523)+_0x4ddf8e);}}};it=Io([Lt(0x0,_0x41b3da(_0x2087b9)),Lt(0x1,_0x41b3da(Ae)),Lt(0x2,_0x15b9fa)],it);const Gs=[_0x494e14(0x245),_0x494e14(0x3d0),_0x494e14(0x4f5),'red300',_0x494e14(0x49d),_0x494e14(0x47f)];class bs extends _0x326223{constructor(){const _0x485671=_0x494e14;super(...arguments),g(this,_0x485671(0x369),new Map()),g(this,'_colorIndex',0x0);}[_0x494e14(0x57d)](_0xf37ee8){const _0x3f5afc=_0x494e14;if(this['_assignedColors'][_0x3f5afc(0x481)](_0xf37ee8))return this[_0x3f5afc(0x369)][_0x3f5afc(0x38a)](_0xf37ee8);const _0x4ea49f=Gs[this[_0x3f5afc(0x44f)]];return this[_0x3f5afc(0x44f)]=(this[_0x3f5afc(0x44f)]+0x1)%Gs[_0x3f5afc(0x490)],this['_assignedColors']['set'](_0xf37ee8,_0x4ea49f),_0x4ea49f;}}var Co=Object['defineProperty'],Eo=Object[_0x494e14(0x2a4)],bo=(_0x611428,_0x338a6b,_0xac969a,_0x2e6db1)=>{const _0x372c39=_0x494e14;for(var _0x2ef767=_0x2e6db1>0x1?void 0x0:_0x2e6db1?Eo(_0x338a6b,_0xac969a):_0x338a6b,_0x3e86a7=_0x611428[_0x372c39(0x490)]-0x1,_0x396023;_0x3e86a7>=0x0;_0x3e86a7--)(_0x396023=_0x611428[_0x3e86a7])&&(_0x2ef767=(_0x2e6db1?_0x396023(_0x338a6b,_0xac969a,_0x2ef767):_0x396023(_0x2ef767))||_0x2ef767);return _0x2e6db1&&_0x2ef767&&Co(_0x338a6b,_0xac969a,_0x2ef767),_0x2ef767;},Oe=(_0x378cab,_0x14bcac)=>(_0x5a127f,_0xa6182d)=>_0x14bcac(_0x5a127f,_0xa6182d,_0x378cab);const To=0x12c,Ro=0x64;let ns=class extends _0x542deb{constructor(_0x13f92a,_0x44a1f1,_0x47272c,_0x113fdb,_0x40e7fa,_0x5a051f,_0x344e79,_0x5c8f3c,_0x685e97){const _0x972099=_0x494e14;super(),g(this,'_online',!0x1),g(this,_0x972099(0x599),!0x1),g(this,_0x972099(0x59b),new _0x9b8747(new Map())),g(this,_0x972099(0x2f4),this['_cursorInfo$'][_0x972099(0x372)]()),g(this,_0x972099(0x5f5),new _0x9b8747([])),g(this,'roomMembers$',this[_0x972099(0x5f5)][_0x972099(0x3eb)](_0x4a986e(To))),g(this,_0x972099(0x443),_0x4360ad(_0x5d6eff=>{const _0x216deb=_0x972099,_0x34c833={'eventID':_0x3c9498[_0x216deb(0x5c2)],'data':{'unitID':this[_0x216deb(0x55b)],'memberID':this[_0x216deb(0x4b5)][_0x216deb(0x4ee)](),'selection':Pi(_0x5d6eff)}};this[_0x216deb(0x4b5)][_0x216deb(0x39c)](_0x34c833,this[_0x216deb(0x55b)]);},Ro)),(this[_0x972099(0x55b)]=_0x13f92a,this['_session']=_0x44a1f1,this[_0x972099(0x5a2)]=_0x47272c,this[_0x972099(0x52d)]=_0x113fdb,this[_0x972099(0x422)]=_0x40e7fa,this[_0x972099(0x522)]=_0x5a051f,this[_0x972099(0x3c3)]=_0x344e79,this[_0x972099(0x5ee)]=_0x5c8f3c,this[_0x972099(0x5ef)]=_0x685e97);}get['cursorInfo'](){const _0x5e7bf5=_0x494e14;return this[_0x5e7bf5(0x59b)][_0x5e7bf5(0x49a)]();}get[_0x494e14(0x42a)](){const _0x44ad2a=_0x494e14;return this[_0x44ad2a(0x5f5)][_0x44ad2a(0x49a)]();}[_0x494e14(0x301)](){const _0x1a47b7=_0x494e14;super['dispose'](),this['_cursorInfo$'][_0x1a47b7(0x2d0)](new Map()),this[_0x1a47b7(0x59b)][_0x1a47b7(0x5bc)](),this[_0x1a47b7(0x5f5)][_0x1a47b7(0x2d0)]([]),this['_roomMembers$']['complete']();}[_0x494e14(0x33f)](){const _0x1d07ac=_0x494e14;this['_init']||(this[_0x1d07ac(0x599)]=!0x0,this['_session']['sessionStatus$']['pipe'](_0x3ee31c(this['dispose$']))[_0x1d07ac(0x540)](_0x2b1f8d=>{const _0x5f1bb6=_0x1d07ac;_0x2b1f8d===ve[_0x5f1bb6(0x480)]?this[_0x5f1bb6(0x1f9)]():this[_0x5f1bb6(0x29a)]();}),this['_session'][_0x1d07ac(0x368)][_0x1d07ac(0x3eb)](_0x3ee31c(this[_0x1d07ac(0x3f5)]))[_0x1d07ac(0x540)](_0x356b47=>{const _0x58bddd=_0x1d07ac,_0x3ec0a4=_0x356b47[_0x58bddd(0x1f1)];_0x3ec0a4===_0x3c9498[_0x58bddd(0x5c2)]&&this[_0x58bddd(0x3dd)](_0x356b47),_0x3ec0a4===_0x3c9498[_0x58bddd(0x208)]&&this[_0x58bddd(0x373)](_0x356b47);}),this['disposeWithMe'](this['_commandService'][_0x1d07ac(0x527)](_0x4ab287=>{const _0x4fedce=_0x1d07ac,_0x4d3e73=_0x4ab287['params'];_0x4d3e73!=null&&this[_0x4fedce(0x3af)]&&_0x4ab287['id']===_0x49101c['id']&&_0x4d3e73[_0x4fedce(0x3ff)]===this['unitID']&&_0x4d3e73[_0x4fedce(0x59f)]===!0x1&&_0x4d3e73[_0x4fedce(0x2e5)]['length']>0x0&&this['_updateLocalCursor'](_0x4d3e73['ranges']);})),this[_0x1d07ac(0x522)][_0x1d07ac(0x2ea)][_0x1d07ac(0x3eb)](_0x3ee31c(this[_0x1d07ac(0x3f5)]))[_0x1d07ac(0x540)](_0x537e89=>{const _0x3e3b98=_0x1d07ac;if((_0x537e89==null?void 0x0:_0x537e89[_0x3e3b98(0x55b)])!==this[_0x3e3b98(0x55b)])return;const _0xc64d70={'eventID':_0x3c9498[_0x3e3b98(0x5c2)],'data':_0x537e89};this[_0x3e3b98(0x3dd)](_0xc64d70);}),this[_0x1d07ac(0x461)](this[_0x1d07ac(0x5ef)]['onCommandExecuted'](_0xe93a0b=>{const _0x262b49=_0x1d07ac;if(_0xe93a0b[_0x262b49(0x3a2)]==null)return;const _0x331759=_0xe93a0b[_0x262b49(0x3a2)];if(_0xe93a0b['id']!==_0x933dab['id']||_0x331759[_0x262b49(0x3ff)]!==this['unitID'])return;const _0x34e98e={'id':_0x262b49(0x2d3),'params':_0x331759},_0x5d4b11=this[_0x262b49(0x446)];for(const [_0x559b96,_0x1eb43b]of _0x5d4b11){const _0x20b641={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x262b49(0x55b)],'actions':null,'textRanges':_0x1eb43b[_0x262b49(0x2e5)]}},_0x3e35e0=this[_0x262b49(0x3c3)][_0x262b49(0x1ee)](_0x34e98e,_0x20b641,!0x1);if(_0x1f65f6(_0x3e35e0))throw _0x3e35e0[_0x262b49(0x48a)];_0x5d4b11['set'](_0x559b96,{..._0x1eb43b,'ranges':_0x3e35e0[_0x262b49(0x5ca)][_0x262b49(0x3a2)][_0x262b49(0x2c1)]});}queueMicrotask(()=>{const _0x3a5d30=_0x262b49;this[_0x3a5d30(0x59b)][_0x3a5d30(0x2d0)](_0x5d4b11);});})));}[_0x494e14(0x3dd)](_0x1167df){const _0x2f4a8b=_0x494e14;var _0x353b06,_0x1f7eb9;const {memberID:_0xc01a99,selection:_0x46997a}=_0x1167df[_0x2f4a8b(0x41c)],_0x4daf12=oo(_0x46997a),_0x1b919e=(_0x1f7eb9=(_0x353b06=this[_0x2f4a8b(0x422)][_0x2f4a8b(0x1fe)](this[_0x2f4a8b(0x55b)],_0xc01a99))==null?void 0x0:_0x353b06[_0x2f4a8b(0x40c)])!=null?_0x1f7eb9:'Unknown\x20user',_0x195486={'color':this[_0x2f4a8b(0x52d)]['assignAColorForMemberID'](_0xc01a99),'name':_0x1b919e,'ranges':_0x4daf12},_0x1b3dbd=this['cursorInfo'];_0x1b3dbd[_0x2f4a8b(0x207)](_0xc01a99,_0x195486),this[_0x2f4a8b(0x59b)][_0x2f4a8b(0x2d0)](_0x1b3dbd);}[_0x494e14(0x373)](_0x23e5a9){const _0x54e763=_0x494e14,{memberID:_0x1c586e}=_0x23e5a9[_0x54e763(0x41c)],_0x4ae06c=this[_0x54e763(0x446)];_0x4ae06c[_0x54e763(0x534)](_0x1c586e),this[_0x54e763(0x59b)][_0x54e763(0x2d0)](_0x4ae06c);}['_toggleOnline'](){const _0x14446e=_0x494e14;var _0x42371b;if(this['_online']=!0x0,((_0x42371b=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x42371b[_0x14446e(0x467)]())!==this[_0x14446e(0x55b)])return;const _0x428c30=this[_0x14446e(0x5a2)]['get'](_0x5367d6)[_0x14446e(0x286)]();Array[_0x14446e(0x570)](_0x428c30)&&_0x428c30[_0x14446e(0x490)]>0x0&&this[_0x14446e(0x443)](_0x428c30);}[_0x494e14(0x29a)](){const _0x17a864=_0x494e14;this[_0x17a864(0x3af)]=!0x1;}};ns=bo([Oe(0x2,_0x41b3da(_0x2087b9)),Oe(0x3,_0x41b3da(bs)),Oe(0x4,_0x41b3da(Ne)),Oe(0x5,_0x41b3da(Cs)),Oe(0x6,_0x1197db),Oe(0x7,_0x15b9fa),Oe(0x8,_0x1c554d)],ns);var yo=Object[_0x494e14(0x421)],Oo=Object[_0x494e14(0x2a4)],wo=(_0x51d406,_0x47c1ea,_0x14abde,_0x59c9f7)=>{const _0x753f1c=_0x494e14;for(var _0x1ca863=_0x59c9f7>0x1?void 0x0:_0x59c9f7?Oo(_0x47c1ea,_0x14abde):_0x47c1ea,_0x5c502d=_0x51d406[_0x753f1c(0x490)]-0x1,_0x2578e3;_0x5c502d>=0x0;_0x5c502d--)(_0x2578e3=_0x51d406[_0x5c502d])&&(_0x1ca863=(_0x59c9f7?_0x2578e3(_0x47c1ea,_0x14abde,_0x1ca863):_0x2578e3(_0x1ca863))||_0x1ca863);return _0x59c9f7&&_0x1ca863&&yo(_0x47c1ea,_0x14abde,_0x1ca863),_0x1ca863;},Be=(_0x1aab93,_0x9c95b4)=>(_0x236f40,_0x5311d5)=>_0x9c95b4(_0x236f40,_0x5311d5,_0x1aab93);const Do=0x12c,Po=0x64,Uo=()=>{let _0x256ddc=[],_0x309f5d=!0x1;return _0x314632=>{const _0x16cfc4=_0x5d20;_0x256ddc[_0x16cfc4(0x271)](_0x314632),_0x309f5d||(_0x309f5d=!0x0,setTimeout(()=>{const _0x4dad92=_0x16cfc4;_0x256ddc[_0x4dad92(0x58b)](_0x31532e=>_0x31532e()),_0x256ddc=[],_0x309f5d=!0x1;}));};};let rs=class extends _0x542deb{constructor(_0x213345,_0x421adc,_0x3ef6d6,_0x2b0f9d,_0x376d1c,_0x266260,_0x59925c,_0x517201){const _0x187ac9=_0x494e14;super(),g(this,_0x187ac9(0x3af),!0x1),g(this,'_init',!0x1),g(this,_0x187ac9(0x59b),new _0x9b8747(new Map())),g(this,'cursorInfo$',this[_0x187ac9(0x59b)][_0x187ac9(0x372)]()),g(this,_0x187ac9(0x5f5),new _0x9b8747([])),g(this,_0x187ac9(0x5be),this['_roomMembers$'][_0x187ac9(0x3eb)](_0x4a986e(Do))),g(this,_0x187ac9(0x443),_0x4360ad((_0x5f9a3b,_0x51d8ef)=>{const _0x3682c8=_0x187ac9,_0x2bcef6={'eventID':_0x3c9498[_0x3682c8(0x5c2)],'data':{'unitID':this[_0x3682c8(0x55b)],'memberID':this['_session'][_0x3682c8(0x4ee)](),'selection':_0x483a72(_0x5f9a3b,_0x51d8ef['range'])}};this[_0x3682c8(0x4b5)]['send'](_0x2bcef6,this['unitID']);},Po)),(this['unitID']=_0x213345,this['_session']=_0x421adc,this['_injector']=_0x3ef6d6,this[_0x187ac9(0x52d)]=_0x2b0f9d,this['_memberService']=_0x376d1c,this[_0x187ac9(0x5ee)]=_0x266260,this[_0x187ac9(0x5ef)]=_0x59925c,this[_0x187ac9(0x3b3)]=_0x517201);}get[_0x494e14(0x446)](){const _0x1101e2=_0x494e14;return this[_0x1101e2(0x59b)][_0x1101e2(0x49a)]();}get['roomMembers'](){const _0x37db9a=_0x494e14;return this[_0x37db9a(0x5f5)]['getValue']();}['dispose'](){const _0x45624b=_0x494e14;super[_0x45624b(0x301)](),this['_cursorInfo$']['next'](new Map()),this[_0x45624b(0x59b)][_0x45624b(0x5bc)](),this[_0x45624b(0x5f5)]['next']([]),this[_0x45624b(0x5f5)][_0x45624b(0x5bc)]();}[_0x494e14(0x33f)](){const _0x26e91c=_0x494e14;this[_0x26e91c(0x599)]||(this['_init']=!0x0,this[_0x26e91c(0x4b5)][_0x26e91c(0x2ba)][_0x26e91c(0x3eb)](_0x3ee31c(this[_0x26e91c(0x3f5)]))[_0x26e91c(0x540)](_0x2b5609=>{const _0x3b44a5=_0x26e91c;_0x2b5609===ve[_0x3b44a5(0x480)]?this['_toggleOnline']():this[_0x3b44a5(0x29a)]();}),this[_0x26e91c(0x4b5)][_0x26e91c(0x368)]['pipe'](_0x3ee31c(this[_0x26e91c(0x3f5)]))['subscribe'](_0xae289c=>{const _0x135ffc=_0x26e91c,_0x4c269f=_0xae289c['eventID'];_0x4c269f===_0x3c9498[_0x135ffc(0x5c2)]&&this[_0x135ffc(0x3dd)](_0xae289c),_0x4c269f===_0x3c9498[_0x135ffc(0x208)]&&this[_0x135ffc(0x373)](_0xae289c);}),this[_0x26e91c(0x46d)](),this[_0x26e91c(0x461)](this[_0x26e91c(0x5ef)][_0x26e91c(0x527)](_0x236a30=>{const _0x57c498=_0x26e91c;if(this[_0x57c498(0x3af)]&&_0x236a30['id']===_0x337a82['id']&&_0x236a30['params'][_0x57c498(0x3ff)]===this[_0x57c498(0x55b)]){const _0x4d9543=_0x236a30[_0x57c498(0x3a2)];this[_0x57c498(0x443)](_0x4d9543[_0x57c498(0x4b1)],_0x4d9543[_0x57c498(0x278)][0x0]);}})));}[_0x494e14(0x3dd)](_0x1e823b){const _0x4de152=_0x494e14;var _0x2c5c44,_0x5501e5;const {memberID:_0x3cd11c,selection:_0x517e61}=_0x1e823b[_0x4de152(0x41c)],{sheetName:_0x4cc274,range:_0x41889c}=_0x346cfe(_0x517e61),_0x5544f7={'name':(_0x5501e5=(_0x2c5c44=this['_memberService'][_0x4de152(0x1fe)](this[_0x4de152(0x55b)],_0x3cd11c))==null?void 0x0:_0x2c5c44['name'])!=null?_0x5501e5:_0x4de152(0x38f),'range':this['_getMergeRange'](_0x4cc274,_0x41889c),'sheetID':_0x4cc274,'color':this[_0x4de152(0x52d)][_0x4de152(0x57d)](_0x3cd11c),'selection':_0x517e61},_0x257c55=this[_0x4de152(0x446)];_0x257c55[_0x4de152(0x207)](_0x3cd11c,_0x5544f7),this[_0x4de152(0x59b)][_0x4de152(0x2d0)](_0x257c55);}[_0x494e14(0x373)](_0x58f513){const _0xec7d96=_0x494e14,{memberID:_0x5d1c24}=_0x58f513[_0xec7d96(0x41c)],_0x7b5969=this[_0xec7d96(0x446)];_0x7b5969[_0xec7d96(0x534)](_0x5d1c24),this[_0xec7d96(0x59b)][_0xec7d96(0x2d0)](_0x7b5969);}[_0x494e14(0x54c)](_0x788105,_0x2f187e){const _0x3eab64=_0x494e14;var _0x4f7d64,_0x5191b0;const _0x4d39a6=(_0x5191b0=(_0x4f7d64=this[_0x3eab64(0x5ee)][_0x3eab64(0x514)](this[_0x3eab64(0x55b)]))==null?void 0x0:_0x4f7d64[_0x3eab64(0x460)](_0x788105))==null?void 0x0:_0x5191b0[_0x3eab64(0x4d4)]();return(_0x4d39a6==null?void 0x0:_0x4d39a6[_0x3eab64(0x32e)](_0x3194db=>_0x111a27[_0x3eab64(0x243)](_0x3194db,_0x2f187e)))||_0x2f187e;}[_0x494e14(0x46d)](){const _0x460f4c=_0x494e14,_0x1e9c46=new _0x45d7b0(),_0x3d6241=Uo(),_0x371be8=()=>{const _0x53fed6=_0x5d20;_0x1e9c46[_0x53fed6(0x301)]();const _0x3113ea=(_0x151720,_0x61709c,_0x576a41,_0x2f51ea)=>{const _0xf6263=_0x53fed6;let _0x48ce31=[];switch(_0x151720['id']){case _0x4ab021[_0xf6263(0x4a4)]:{_0x48ce31=_0x7a5fb3(_0x151720,_0x2f51ea);break;}case _0x4ab021[_0xf6263(0x227)]:{_0x48ce31=_0x560e8e(_0x151720,_0x2f51ea);break;}case _0x4ab021[_0xf6263(0x3e8)]:{_0x48ce31=_0x2d5f09(_0x151720,_0x2f51ea);break;}case _0x4ab021[_0xf6263(0x1e3)]:{_0x48ce31=_0x12a643(_0x151720,_0x2f51ea);break;}case _0x4ab021[_0xf6263(0x4f6)]:{_0x48ce31=_0xfa9ce5(_0x151720,_0x2f51ea);break;}case _0x4ab021[_0xf6263(0x4a2)]:{_0x48ce31=_0x42b8c4(_0x151720,_0x2f51ea);break;}case _0x4ab021[_0xf6263(0x3e6)]:{_0x48ce31=_0x1a43c9(_0x151720,_0x2f51ea);break;}case _0x4ab021['RemoveColCommandId']:{_0x48ce31=_0x30c153(_0x151720,_0x2f51ea);break;}case _0x4ab021[_0xf6263(0x471)]:{_0x48ce31=_0x16c534(_0x151720,_0x2f51ea);break;}}const _0x5c8203=_0x259dc4(_0x48ce31,_0x2f51ea),_0x6f223d=this[_0xf6263(0x446)]['get'](_0x61709c);if(_0x6f223d&&_0x5c8203){const _0x3c1c34={..._0x6f223d,'range':_0x5c8203};this['cursorInfo'][_0xf6263(0x207)](_0x61709c,_0x3c1c34),_0x3d6241(()=>{const _0x2391b4=_0xf6263,_0x4497c3=this[_0x2391b4(0x3b3)][_0x2391b4(0x3db)](_0x5c8203,_0x4c32b9=>(_0x4497c3[_0x2391b4(0x301)](),_0x3113ea(_0x4c32b9,_0x61709c,_0x576a41,_0x5c8203)));_0x1e9c46['add'](_0x4497c3);});}return{'redos':[],'undos':[]};};this[_0x53fed6(0x446)][_0x53fed6(0x58b)]((_0x9a0fcb,_0x2113f2)=>{const _0x174cdf=_0x53fed6,{range:_0x1d2a9d,sheetID:_0x214748}=_0x9a0fcb,_0x570b4a=this['_refRangeService'][_0x174cdf(0x3db)](_0x1d2a9d,_0x1641f2=>(_0x570b4a[_0x174cdf(0x301)](),_0x3113ea(_0x1641f2,_0x2113f2,_0x214748,_0x1d2a9d)));_0x1e9c46[_0x174cdf(0x3fb)](_0x570b4a);});};this[_0x460f4c(0x461)](_0xf5e7f5(this[_0x460f4c(0x59b)][_0x460f4c(0x540)](()=>{_0x371be8();})));}[_0x494e14(0x1f9)](){const _0x40bc14=_0x494e14;var _0x1ef360,_0x3fb7d6;if(this[_0x40bc14(0x3af)]=!0x0,((_0x1ef360=this['_univerInstanceService'][_0x40bc14(0x27c)]())==null?void 0x0:_0x1ef360[_0x40bc14(0x467)]())!==this[_0x40bc14(0x55b)])return;const _0x5bf6b8=(_0x3fb7d6=this[_0x40bc14(0x5a2)]['get'](_0x5999a9)['getCurrentSelections']())==null?void 0x0:_0x3fb7d6[0x0],_0x3a6f7e=this[_0x40bc14(0x5ee)][_0x40bc14(0x236)](_0x50e7dc[_0x40bc14(0x5dc)])[_0x40bc14(0x431)]();_0x5bf6b8&&_0x3a6f7e&&this[_0x40bc14(0x443)](_0x3a6f7e[_0x40bc14(0x575)](),_0x5bf6b8);}[_0x494e14(0x29a)](){const _0x441122=_0x494e14;this[_0x441122(0x3af)]=!0x1;}};rs=wo([Be(0x2,_0x41b3da(_0x2087b9)),Be(0x3,_0x41b3da(bs)),Be(0x4,_0x41b3da(Ne)),Be(0x5,_0x15b9fa),Be(0x6,_0x1c554d),Be(0x7,_0x41b3da(_0x364852))],rs);var No=Object[_0x494e14(0x421)],Ao=Object[_0x494e14(0x2a4)],Mo=(_0x3b75ef,_0x3f3797,_0x4d7251,_0x37c035)=>{const _0x35f2ea=_0x494e14;for(var _0x1c024c=_0x37c035>0x1?void 0x0:_0x37c035?Ao(_0x3f3797,_0x4d7251):_0x3f3797,_0x2434b4=_0x3b75ef[_0x35f2ea(0x490)]-0x1,_0x1ce87b;_0x2434b4>=0x0;_0x2434b4--)(_0x1ce87b=_0x3b75ef[_0x2434b4])&&(_0x1c024c=(_0x37c035?_0x1ce87b(_0x3f3797,_0x4d7251,_0x1c024c):_0x1ce87b(_0x1c024c))||_0x1c024c);return _0x37c035&&_0x1c024c&&No(_0x3f3797,_0x4d7251,_0x1c024c),_0x1c024c;},$t=(_0x210e25,_0x193cd4)=>(_0x31dd98,_0x48fc6a)=>_0x193cd4(_0x31dd98,_0x48fc6a,_0x210e25);let Ve=class extends _0x542deb{constructor(_0xc89ae2,_0x4f6b23,_0x32b171){const _0x26aebf=_0x494e14;super(),g(this,_0x26aebf(0x5a0),new Map()),g(this,'_entityInit$',new _0x243cfe()),(this[_0x26aebf(0x5ee)]=_0xc89ae2,this[_0x26aebf(0x5a2)]=_0x4f6b23,this[_0x26aebf(0x2e3)]=_0x32b171,this[_0x26aebf(0x599)]());}['dispose'](){const _0x5986f4=_0x494e14;super[_0x5986f4(0x301)](),this[_0x5986f4(0x4d8)][_0x5986f4(0x5bc)](),this[_0x5986f4(0x5a0)][_0x5986f4(0x58b)](_0x10d3aa=>_0x10d3aa[_0x5986f4(0x301)]());}[_0x494e14(0x38d)](_0x2ab5ef){const _0x1cf38b=_0x494e14;return this[_0x1cf38b(0x5a0)]['has'](_0x2ab5ef)?this[_0x1cf38b(0x5a0)][_0x1cf38b(0x38a)](_0x2ab5ef)['cursorInfo$']:this['_entityInit$'][_0x1cf38b(0x3eb)](_0x2f9ef8(_0x5332f6=>_0x5332f6[_0x1cf38b(0x55b)]===_0x2ab5ef),_0xa0910a(_0x293aa4=>_0x293aa4['cursorInfo$']));}[_0x494e14(0x599)](){const _0x2c9568=_0x494e14;this[_0x2c9568(0x5ee)][_0x2c9568(0x229)](_0x50e7dc['UNIVER_SHEET'])[_0x2c9568(0x3eb)](_0x3ee31c(this[_0x2c9568(0x3f5)]))['subscribe'](async _0x1eaf42=>{const _0x291319=_0x2c9568,_0x307bc5=_0x1eaf42[_0x291319(0x467)](),_0x4e30ef=await this[_0x291319(0x5e2)](_0x307bc5);this[_0x291319(0x4d8)][_0x291319(0x2d0)](_0x4e30ef),this[_0x291319(0x5a0)][_0x291319(0x207)](_0x307bc5,_0x4e30ef);}),this[_0x2c9568(0x5ee)]['getTypeOfUnitAdded$'](_0x50e7dc[_0x2c9568(0x36f)])[_0x2c9568(0x3eb)](_0x3ee31c(this[_0x2c9568(0x3f5)]))[_0x2c9568(0x3eb)](_0x2f9ef8(_0x1ecbf9=>!_0x1ecbf9[_0x2c9568(0x467)]()[_0x2c9568(0x33b)]('__')))[_0x2c9568(0x540)](async _0x4d1c10=>{const _0x4c8573=_0x2c9568,_0xf88fe=_0x4d1c10['getUnitId'](),_0x5e87a7=await this['_startDocCollabCursor'](_0xf88fe);this[_0x4c8573(0x4d8)][_0x4c8573(0x2d0)](_0x5e87a7),this[_0x4c8573(0x5a0)][_0x4c8573(0x207)](_0xf88fe,_0x5e87a7);}),_0x5326b0(this['_univerInstanceService'][_0x2c9568(0x357)](_0x50e7dc[_0x2c9568(0x36f)]),this['_univerInstanceService'][_0x2c9568(0x357)](_0x50e7dc['UNIVER_SHEET']))[_0x2c9568(0x3eb)](_0x3ee31c(this[_0x2c9568(0x3f5)]))[_0x2c9568(0x540)](_0x4fd598=>{const _0xdc4e40=_0x2c9568,_0x1656e2=_0x4fd598[_0xdc4e40(0x467)](),_0x1fb004=this[_0xdc4e40(0x5a0)][_0xdc4e40(0x38a)](_0x1656e2);_0x1fb004&&(_0x1fb004[_0xdc4e40(0x301)](),this['_entities']['delete'](_0x1656e2));});}async['_startSheetCollabCursor'](_0x187519){const _0x518260=_0x494e14,_0x565f18=await this[_0x518260(0x2e3)][_0x518260(0x337)](_0x187519),_0x1cabd4=this[_0x518260(0x5a2)]['createInstance'](rs,_0x187519,_0x565f18);return _0x1cabd4[_0x518260(0x33f)](),_0x1cabd4;}async[_0x494e14(0x567)](_0x3c024c){const _0x3e6047=_0x494e14,_0x449e2e=await this[_0x3e6047(0x2e3)][_0x3e6047(0x337)](_0x3c024c),_0x1ba0a1=this[_0x3e6047(0x5a2)][_0x3e6047(0x397)](ns,_0x3c024c,_0x449e2e);return _0x1ba0a1[_0x3e6047(0x33f)](),_0x1ba0a1;}};Ve=Mo([$t(0x0,_0x15b9fa),$t(0x1,_0x41b3da(_0x2087b9)),$t(0x2,_0x41b3da(Ae))],Ve);const nt=0x14,Ys=0xc8,Ht=0x4,xo=0x5;function Lo(_0x51e34d,_0x400836){const _0x4ffa17=_0x494e14;let {radius:_0x160a58,width:_0x4b80cc,height:_0x912d9c}=_0x400836;_0x160a58=_0x160a58!=null?_0x160a58:0x0,_0x4b80cc=_0x4b80cc!=null?_0x4b80cc:0x1e,_0x912d9c=_0x912d9c!=null?_0x912d9c:0x1e;let _0x20c7b0=0x0,_0x182a09=0x0,_0x48450c=0x0;_0x20c7b0=_0x182a09=_0x48450c=Math[_0x4ffa17(0x205)](_0x160a58,_0x4b80cc/0x2,_0x912d9c/0x2),_0x51e34d[_0x4ffa17(0x4a3)](),_0x51e34d['moveTo'](_0x20c7b0,0x0),_0x51e34d['lineTo'](_0x4b80cc-_0x182a09,0x0),_0x51e34d[_0x4ffa17(0x4aa)](_0x4b80cc-_0x182a09,_0x182a09,_0x182a09,Math['PI']*0x3/0x2,0x0,!0x1),_0x51e34d[_0x4ffa17(0x555)](_0x4b80cc,_0x912d9c-_0x48450c),_0x51e34d[_0x4ffa17(0x4aa)](_0x4b80cc-_0x48450c,_0x912d9c-_0x48450c,_0x48450c,0x0,Math['PI']/0x2,!0x1),_0x51e34d[_0x4ffa17(0x555)](0x0,_0x912d9c),_0x51e34d[_0x4ffa17(0x555)](0x0,_0x20c7b0),_0x51e34d[_0x4ffa17(0x4aa)](_0x20c7b0,_0x20c7b0,_0x20c7b0,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x51e34d[_0x4ffa17(0x517)](),_0x400836[_0x4ffa17(0x294)]&&(_0x51e34d[_0x4ffa17(0x533)](),_0x51e34d['fillStyle']=_0x400836[_0x4ffa17(0x294)],_0x400836[_0x4ffa17(0x411)]===_0x4ffa17(0x2ce)?_0x51e34d['fill']('evenodd'):_0x51e34d[_0x4ffa17(0x294)](),_0x51e34d[_0x4ffa17(0x4be)]());}class Ot extends _0x16edce{constructor(_0x3b081e,_0x191375){const _0x462f6e=_0x494e14;super(_0x3b081e,_0x191375),g(this,_0x462f6e(0x582)),g(this,_0x462f6e(0x491)),(this[_0x462f6e(0x582)]=_0x191375==null?void 0x0:_0x191375[_0x462f6e(0x582)],this['text']=_0x191375==null?void 0x0:_0x191375[_0x462f6e(0x491)]);}static[_0x494e14(0x440)](_0x55579e,_0x1e9b0f){const _0x35ab72=_0x494e14,{text:_0x558a67,color:_0x3c5344}=_0x1e9b0f;_0x55579e[_0x35ab72(0x533)](),_0x55579e[_0x35ab72(0x386)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x399875=_0x55579e[_0x35ab72(0x482)](_0x558a67)[_0x35ab72(0x216)],_0x484660=Math[_0x35ab72(0x205)](_0x399875+0x2*Ht,Ys);Lo(_0x55579e,{'height':nt,'radius':0x4,'width':_0x484660,'fill':_0x3c5344,'evented':!0x1}),_0x55579e[_0x35ab72(0x374)]=_0x35ab72(0x1eb);const _0x38dc10=Ht,_0x1c62e6=nt-xo,_0x1293e8=Ys-0x2*Ht;if(_0x399875>_0x1293e8){let _0x595593='',_0xdbe6cd=0x0;for(const _0x17e59d of _0x558a67){const _0x5aa40f=_0x55579e[_0x35ab72(0x482)](_0x17e59d)[_0x35ab72(0x216)];if(_0xdbe6cd+_0x5aa40f<=_0x1293e8-_0x55579e[_0x35ab72(0x482)](_0x35ab72(0x3aa))[_0x35ab72(0x216)])_0x595593+=_0x17e59d,_0xdbe6cd+=_0x5aa40f;else{_0x595593+=_0x35ab72(0x3aa);break;}}_0x55579e[_0x35ab72(0x34b)](_0x595593,_0x38dc10,_0x1c62e6);}else _0x55579e[_0x35ab72(0x34b)](_0x558a67,_0x38dc10,_0x1c62e6);_0x55579e[_0x35ab72(0x4be)]();}[_0x494e14(0x5e1)](_0x457aa9){Ot['drawWith'](_0x457aa9,this);}}const jt=_0x494e14(0x3c6),$o=_0x494e14(0x283),Ho=_0x494e14(0x333),Je=0x6,jo=1.5,Bt=0x4,Bo=1.5,ko=_0x494e14(0x5ab);class Ks{constructor(_0x4cde50,_0x41d63b,_0x3c97cd,_0xd04d5a){const _0x3c0b28=_0x494e14;g(this,_0x3c0b28(0x3ee),[]),g(this,_0x3c0b28(0x350),null),g(this,_0x3c0b28(0x312),null),g(this,_0x3c0b28(0x340),null),g(this,_0x3c0b28(0x44c),null),g(this,_0x3c0b28(0x59a),null),(this['_cursor']=_0x4cde50,this[_0x3c0b28(0x254)]=_0x41d63b,this[_0x3c0b28(0x361)]=_0x3c97cd,this['_document']=_0xd04d5a,this[_0x3c0b28(0x35c)]());}set['_hover'](_0x437c79){const _0x386667=_0x494e14;_0x437c79?(this[_0x386667(0x340)]&&this[_0x386667(0x340)][_0x386667(0x41e)](),this[_0x386667(0x312)]&&this['_textBubble'][_0x386667(0x56c)]()):(this[_0x386667(0x340)]&&this['_anchorDot'][_0x386667(0x56c)](),this['_textBubble']&&this[_0x386667(0x312)][_0x386667(0x41e)]());}[_0x494e14(0x301)](){const _0x3747d4=_0x494e14;for(const _0x20f7de of this['_shapes'])_0x20f7de[_0x3747d4(0x301)]();this[_0x3747d4(0x312)]&&this[_0x3747d4(0x312)][_0x3747d4(0x301)](),this[_0x3747d4(0x340)]&&this[_0x3747d4(0x340)][_0x3747d4(0x301)](),this['_anchor']&&this['_anchor'][_0x3747d4(0x301)](),this[_0x3747d4(0x59a)]&&this[_0x3747d4(0x59a)]();}[_0x494e14(0x35c)](){const _0x4f3575=_0x494e14;var _0x20028f;const {_docSkeleton:_0x50570a,_document:_0x10a4f0}=this,{color:_0x4b278c,name:_0xc7789c,ranges:_0x3b1836}=this[_0x4f3575(0x1fa)],_0x1d57d2=_0x10a4f0[_0x4f3575(0x413)](),{docsLeft:_0x2885bd,docsTop:_0x96b05c}=_0x1d57d2,_0x4718de=new _0x2a0e72(_0x1d57d2,_0x50570a);for(const {startOffset:_0x40a5ff,endOffset:_0x5d70c9,rangeType:_0x2ef890,segmentId:_0x42c1e9,segmentPage:_0x13ab41,collapsed:_0x4c2076,isActive:_0x3b99f7}of _0x3b1836){const _0x12d8b8=_0x50570a[_0x4f3575(0x1e7)](_0x40a5ff,!0x0,_0x42c1e9,_0x13ab41);let _0x3d1e70=_0x50570a[_0x4f3575(0x1e7)](_0x5d70c9,!0x0,_0x42c1e9,_0x13ab41);if(_0x3d1e70==null&&(_0x3d1e70=_0x50570a[_0x4f3575(0x1e7)](_0x5d70c9-0x1,!0x1,_0x42c1e9,_0x13ab41)),_0x3b99f7){const {contentBoxPointGroup:_0x1fd0b0}=_0x4718de[_0x4f3575(0x4fa)](_0x3d1e70,_0x3d1e70);if(_0x1fd0b0[_0x4f3575(0x490)]===0x0)continue;this[_0x4f3575(0x2fe)](_0x4b278c,_0x1fd0b0,_0x2885bd,_0x96b05c,_0xc7789c),this['_eventUnsubscribe']=this['_handleHover']();}if(!_0x4c2076&&_0x12d8b8&&_0x3d1e70){if(_0x2ef890===_0x43cc22[_0x4f3575(0x25f)]){const _0x564839=new _0x404c31(_0x1d57d2,_0x50570a),{pointGroup:_0x408b41}=(_0x20028f=_0x564839[_0x4f3575(0x4fa)](_0x12d8b8,_0x3d1e70))!=null?_0x20028f:{};if(_0x408b41==null||_0x408b41[_0x4f3575(0x490)]===0x0)continue;this[_0x4f3575(0x48e)](_0x4b278c,_0x408b41,_0x2885bd,_0x96b05c);}else{const {borderBoxPointGroup:_0x631b24}=_0x4718de[_0x4f3575(0x4fa)](_0x12d8b8,_0x3d1e70);if(_0x631b24['length']===0x0)continue;this['_drawTextRange'](_0x4b278c,_0x631b24,_0x2885bd,_0x96b05c);}}}}[_0x494e14(0x2fe)](_0x8b331b,_0x3ecff1,_0x44a8b2,_0x44a041,_0x170c04){const _0x317890=_0x494e14,_0x17330b=this[_0x317890(0x1ed)](_0x3ecff1),{left:_0xa34df2,top:_0xa480e4,height:_0x43eb2c}=_0x17330b,_0x475f92=this['_getScale'](),_0x2ae9b=Bo/_0x475f92,_0x55194d=new _0x1fae94(jt+_0x1fd4a4[_0x317890(0x3fc)](Je),{'left':_0xa34df2+_0x44a8b2-_0x2ae9b,'top':_0xa480e4+_0x44a041,'height':_0x43eb2c,'width':jo,'fill':_0x8b331b||_0x1d4014(_0x560d42[_0x317890(0x495)],0x0),'strokeWidth':_0x2ae9b,'stroke':ko,'evented':!0x0});this[_0x317890(0x350)]=_0x55194d,this[_0x317890(0x254)][_0x317890(0x318)](_0x55194d,_0x2f7bd5);const _0x1b7f01=new _0x1fae94(jt+_0x1fd4a4[_0x317890(0x3fc)](Je),{'left':_0xa34df2+_0x44a8b2-_0x2ae9b,'top':_0xa480e4+_0x44a041-Bt/0x2,'height':Bt,'width':Bt,'fill':_0x8b331b||_0x1d4014(_0x560d42[_0x317890(0x495)],0x0),'strokeWidth':0x0,'stroke':_0x8b331b||_0x1d4014(_0x560d42['black'],0x0),'evented':!0x1});this[_0x317890(0x340)]=_0x1b7f01,this[_0x317890(0x254)][_0x317890(0x318)](_0x1b7f01,_0x2f7bd5);const _0xa1929e=new Ot(jt+_0x1fd4a4[_0x317890(0x3fc)](Je),{'left':_0xa34df2+_0x44a8b2-_0x2ae9b,'top':_0xa480e4+_0x44a041-nt,'text':_0x170c04,'color':_0x8b331b});this[_0x317890(0x312)]=_0xa1929e,this[_0x317890(0x254)][_0x317890(0x318)](_0xa1929e,_0x2f7bd5),this[_0x317890(0x472)]=!0x1;}[_0x494e14(0x52b)](){const _0x566c94=_0x494e14,_0x44d01e=this['_anchor']['onPointerEnter$'][_0x566c94(0x24a)](()=>{const _0x24ec94=_0x566c94;this[_0x24ec94(0x472)]=!0x0;}),_0x527db1=this['_anchor'][_0x566c94(0x492)][_0x566c94(0x24a)](()=>{const _0x425a0e=_0x566c94;this[_0x425a0e(0x44c)]&&clearTimeout(this[_0x425a0e(0x44c)]),this[_0x425a0e(0x44c)]=setTimeout(()=>{const _0xe2306c=_0x425a0e;this[_0xe2306c(0x472)]=!0x1;},0x7d0);});return()=>{const _0x223153=_0x566c94;_0x44d01e[_0x223153(0x5f6)](),_0x527db1[_0x223153(0x5f6)]();};}[_0x494e14(0x305)](_0x518da5,_0x33217c,_0x49443d,_0x19b13c){const _0x2e2d04=_0x494e14,_0x23b1a2=new _0x6eb250(_0x518da5)[_0x2e2d04(0x56d)](0.2)[_0x2e2d04(0x5c5)](),_0x45829e=new _0x5bdb01($o+_0x1fd4a4[_0x2e2d04(0x3fc)](Je),{'pointsGroup':_0x33217c,'fill':_0x23b1a2||_0x1d4014(_0x560d42[_0x2e2d04(0x495)],0.2),'left':_0x49443d,'top':_0x19b13c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2e2d04(0x3ee)]['push'](_0x45829e),this['_scene'][_0x2e2d04(0x318)](_0x45829e,_0x2f7bd5);}['_drawRectRange'](_0x1a4180,_0x3ffb3e,_0xbf3896,_0x3fb1b0){const _0x43c77c=_0x494e14,_0x525b15=new _0x6eb250(_0x1a4180)[_0x43c77c(0x56d)](0.2)[_0x43c77c(0x5c5)](),_0xc2b3d3=new _0x5bdb01(Ho+_0x1fd4a4['generateRandomId'](Je),{'pointsGroup':_0x3ffb3e,'fill':_0x525b15||_0x1d4014(_0x560d42[_0x43c77c(0x495)],0.2),'left':_0xbf3896,'top':_0x3fb1b0,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x43c77c(0x3ee)][_0x43c77c(0x271)](_0xc2b3d3),this[_0x43c77c(0x254)][_0x43c77c(0x318)](_0xc2b3d3,_0x2f7bd5);}[_0x494e14(0x1ed)](_0x45f6ac){const _0x433657=_0x45f6ac[0x0],_0x5d4b7e=_0x433657[0x0],_0x27a473=_0x433657[0x2],{x:_0x337a3c,y:_0x33027f}=_0x5d4b7e,{x:_0x5cc6fe,y:_0x6a7794}=_0x27a473;return{'left':_0x337a3c,'top':_0x33027f,'width':_0x5cc6fe-_0x337a3c,'height':_0x6a7794-_0x33027f};}['_getScale'](){const _0xd9597f=_0x494e14,{scaleX:_0x6f9370,scaleY:_0x314e6c}=this[_0xd9597f(0x254)][_0xd9597f(0x543)]();return Math['max'](_0x6f9370,_0x314e6c);}}var Wo=Object[_0x494e14(0x421)],Fo=Object[_0x494e14(0x2a4)],Vo=(_0x353957,_0x6d54f4,_0xb241f9,_0x1fd75e)=>{const _0x36e086=_0x494e14;for(var _0x1d22e5=_0x1fd75e>0x1?void 0x0:_0x1fd75e?Fo(_0x6d54f4,_0xb241f9):_0x6d54f4,_0xe134e4=_0x353957[_0x36e086(0x490)]-0x1,_0xcadc83;_0xe134e4>=0x0;_0xe134e4--)(_0xcadc83=_0x353957[_0xe134e4])&&(_0x1d22e5=(_0x1fd75e?_0xcadc83(_0x6d54f4,_0xb241f9,_0x1d22e5):_0xcadc83(_0x1d22e5))||_0x1d22e5);return _0x1fd75e&&_0x1d22e5&&Wo(_0x6d54f4,_0xb241f9,_0x1d22e5),_0x1d22e5;},ht=(_0x463a00,_0x34ff58)=>(_0x5d34b0,_0x443dfd)=>_0x34ff58(_0x5d34b0,_0x443dfd,_0x463a00);let os=class extends _0x542deb{constructor(_0x2e4432,_0x488cc2,_0x216043,_0x4e4e61,_0x424211){const _0x18a2e9=_0x494e14;super(),g(this,'_cursorShapes',[]),g(this,_0x18a2e9(0x2a6),[]),(this[_0x18a2e9(0x5c4)]=_0x2e4432,this[_0x18a2e9(0x342)]=_0x488cc2,this[_0x18a2e9(0x521)]=_0x216043,this['_commandService']=_0x4e4e61,this['_themeService']=_0x424211,this[_0x18a2e9(0x599)]());}[_0x494e14(0x599)](){const _0x2efd15=_0x494e14,_0x341d5f=this[_0x2efd15(0x5c4)][_0x2efd15(0x3ff)],_0x3b3d54=this[_0x2efd15(0x342)];this['disposeWithMe'](_0x493f7b([this[_0x2efd15(0x521)][_0x2efd15(0x38d)](_0x341d5f),this[_0x2efd15(0x247)][_0x2efd15(0x232)]])[_0x2efd15(0x3eb)](_0x487dae(([_0x260658,_0x6648c4])=>({'skeleton':_0x3b3d54[_0x2efd15(0x406)](),'cursors':[..._0x260658[_0x2efd15(0x20a)]()][_0x2efd15(0x42d)](_0x5a479b=>({..._0x5a479b,'color':_0x6648c4[_0x5a479b['color']]}))})))[_0x2efd15(0x540)](_0x1bc315=>{const _0x4cec45=_0x2efd15;if(this['_removeCollabCursors'](),_0x1bc315){const {skeleton:_0x5e75d4,cursors:_0x528f50}=_0x1bc315;this[_0x4cec45(0x2c5)](_0x5e75d4,_0x528f50);}})),this[_0x2efd15(0x3f1)](),this[_0x2efd15(0x53b)]();}[_0x494e14(0x2c5)](_0x58ec57,_0x4ff803){const _0x3335f8=_0x494e14,{scene:_0x5dda6b,mainComponent:_0xe75e88}=this[_0x3335f8(0x5c4)],_0x14196f=_0x4ff803[_0x3335f8(0x5ed)](_0x362376=>new Ks(_0x362376,_0x5dda6b,_0x58ec57,_0xe75e88));this[_0x3335f8(0x530)]=_0x14196f,this[_0x3335f8(0x2a6)]=_0x4ff803;}['_refreshCollabCursors'](){const _0x4101e0=_0x494e14;this[_0x4101e0(0x26d)]();const {scene:_0x3aff82,mainComponent:_0x3d954c}=this[_0x4101e0(0x5c4)],_0xecbe4d=this[_0x4101e0(0x342)][_0x4101e0(0x406)](),_0x437e71=this[_0x4101e0(0x2a6)]['map'](_0xb87175=>new Ks(_0xb87175,_0x3aff82,_0xecbe4d,_0x3d954c));this[_0x4101e0(0x530)]=_0x437e71;}['_removeCollabCursors'](){const _0x1b978d=_0x494e14;this[_0x1b978d(0x530)][_0x1b978d(0x58b)](_0x4bb101=>_0x4bb101[_0x1b978d(0x301)]()),this[_0x1b978d(0x530)]=[];}[_0x494e14(0x53b)](){const _0xc7f31f=_0x494e14,_0x1688a7=[_0x43f467['id']];this[_0xc7f31f(0x461)](this[_0xc7f31f(0x5ef)][_0xc7f31f(0x527)](_0x8a43ae=>{const _0x27768a=_0xc7f31f;_0x1688a7[_0x27768a(0x315)](_0x8a43ae['id'])&&_0x8a43ae[_0x27768a(0x3a2)][_0x27768a(0x3ff)]===this[_0x27768a(0x5c4)]['unitId']&&this[_0x27768a(0x4b4)]();}));}[_0x494e14(0x3f1)](){const _0x4a5828=_0x494e14;this['disposeWithMe'](_0x1a7d07(this[_0x4a5828(0x5c4)]['engine'][_0x4a5828(0x1f8)])[_0x4a5828(0x3eb)](_0x4dbfb7(_0xf7c85f=>_0xf7c85f[_0x4a5828(0x2cd)]===_0x103c3d[_0x4a5828(0x41f)]),_0x5c2c68(0x10))[_0x4a5828(0x540)](()=>{this['_refreshCollabCursors']();}));}};os=Vo([ht(0x1,_0x41b3da(_0x2e4faf)),ht(0x2,_0x41b3da(Ve)),ht(0x3,_0x1c554d),ht(0x4,_0x41b3da(_0x4754b0))],os);const Go=0x1,Yo=1.5;class Ko extends _0x16edce{constructor(_0x3d0cf7,_0xc3153c){const _0x547a7e=_0x494e14;super(_0x3d0cf7,_0xc3153c),g(this,_0x547a7e(0x572)),g(this,'_hovered',!0x1),g(this,_0x547a7e(0x486)),g(this,_0x547a7e(0x2b1),''),g(this,_0x547a7e(0x4e7),_0x547a7e(0x37c)),g(this,_0x547a7e(0x338)),(_0xc3153c&&this['setShapeProps'](_0xc3153c),this[_0x547a7e(0x1e5)][_0x547a7e(0x24a)](()=>this[_0x547a7e(0x428)]({'hovered':!0x0})),this['onPointerLeave$'][_0x547a7e(0x24a)](()=>this[_0x547a7e(0x428)]({'hovered':!0x1})));}[_0x494e14(0x428)](_0x1e7f56){const _0x331303=_0x494e14;var _0x28f1d6,_0x3036e9,_0x1217c8,_0x3d9280,_0x202ea2,_0x8d676d;this[_0x331303(0x572)]=(_0x28f1d6=_0x1e7f56['color'])!=null?_0x28f1d6:this[_0x331303(0x572)],this[_0x331303(0x2d9)]=(_0x3036e9=_0x1e7f56[_0x331303(0x1e4)])!=null?_0x3036e9:this[_0x331303(0x2d9)],this[_0x331303(0x486)]=(_0x1217c8=_0x1e7f56[_0x331303(0x233)])!=null?_0x1217c8:this[_0x331303(0x486)],this['_name']=(_0x3d9280=_0x1e7f56['name'])!=null?_0x3d9280:this[_0x331303(0x2b1)],this['_labelPosition']=(_0x202ea2=_0x1e7f56[_0x331303(0x40d)])!=null?_0x202ea2:this['_labelPosition'],this['_backgroundColor']=(_0x8d676d=_0x1e7f56['backgroundColor'])!=null?_0x8d676d:this['_backgroundColor'],this[_0x331303(0x436)]({'width':_0x1e7f56[_0x331303(0x216)],'height':_0x1e7f56['height']});}[_0x494e14(0x511)](_0x108498){const _0x4c1ee5=_0x494e14,{row:_0xae9435,column:_0x1fb7c2}=_0x108498;if(_0xae9435>=this[_0x4c1ee5(0x486)][_0x4c1ee5(0x5d1)]&&_0xae9435<=this['_range'][_0x4c1ee5(0x4d2)]&&_0x1fb7c2>=this[_0x4c1ee5(0x486)][_0x4c1ee5(0x484)]&&_0x1fb7c2<=this['_range'][_0x4c1ee5(0x4b8)]){this[_0x4c1ee5(0x428)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x136a2f){return!0x1;}[_0x494e14(0x5e1)](_0x4dc494){const _0x55c2c5=_0x494e14;_0x1fae94[_0x55c2c5(0x440)](_0x4dc494,{'width':this[_0x55c2c5(0x216)],'height':this[_0x55c2c5(0x5ea)],'strokeWidth':Yo,'stroke':this[_0x55c2c5(0x572)],'evented':!0x1,'fill':this[_0x55c2c5(0x338)]}),this[_0x55c2c5(0x2d9)]&&(_0x4dc494[_0x55c2c5(0x533)](),_0x4dc494['transform'](0x1,0x0,0x0,0x1,this[_0x55c2c5(0x216)],this[_0x55c2c5(0x4e7)]===_0x55c2c5(0x47b)?0x0:-nt),Ot[_0x55c2c5(0x440)](_0x4dc494,{'text':this[_0x55c2c5(0x2b1)],'color':this[_0x55c2c5(0x572)]}),_0x4dc494[_0x55c2c5(0x4be)]());}}var zo=Object[_0x494e14(0x421)],qo=Object['getOwnPropertyDescriptor'],Xo=(_0xd1e0c,_0x5e3681,_0x5b6862,_0x112282)=>{const _0x307e15=_0x494e14;for(var _0x478667=_0x112282>0x1?void 0x0:_0x112282?qo(_0x5e3681,_0x5b6862):_0x5e3681,_0x4bafb1=_0xd1e0c[_0x307e15(0x490)]-0x1,_0x27a60e;_0x4bafb1>=0x0;_0x4bafb1--)(_0x27a60e=_0xd1e0c[_0x4bafb1])&&(_0x478667=(_0x112282?_0x27a60e(_0x5e3681,_0x5b6862,_0x478667):_0x27a60e(_0x478667))||_0x478667);return _0x112282&&_0x478667&&zo(_0x5e3681,_0x5b6862,_0x478667),_0x478667;},kt=(_0x2f3e49,_0x3bb52d)=>(_0x158044,_0x40cce1)=>_0x3bb52d(_0x158044,_0x40cce1,_0x2f3e49);const Jo=0x1389;let as=class extends _0x542deb{constructor(_0x413894,_0xcbb529,_0x26bb24,_0x116919){const _0x5e33ec=_0x494e14;super(),g(this,_0x5e33ec(0x2a6),new Set()),g(this,_0x5e33ec(0x22f),null),(this[_0x5e33ec(0x5c4)]=_0x413894,this[_0x5e33ec(0x404)]=_0xcbb529,this[_0x5e33ec(0x521)]=_0x26bb24,this[_0x5e33ec(0x247)]=_0x116919,this['_init']());}[_0x494e14(0x599)](){const _0x1a66c3=_0x494e14;this[_0x1a66c3(0x404)][_0x1a66c3(0x354)][_0x1a66c3(0x3eb)](_0xfbe715(this[_0x1a66c3(0x3f5)]),_0x7a3cd6(_0x53baf4=>{const _0x14b710=_0x1a66c3;if(_0x53baf4){const _0xd22301=_0x53baf4[_0x14b710(0x46b)];return _0x493f7b(this[_0x14b710(0x521)][_0x14b710(0x38d)](this['_context'][_0x14b710(0x3ff)]),this['_themeService'][_0x14b710(0x232)])['pipe'](_0x487dae(([_0x1bddd6,_0x5c728a])=>{const _0x2b1e01=_0x14b710,_0x23b0dd=new Map();return _0x1bddd6[_0x2b1e01(0x58b)]((_0x42a90d,_0x48b8c1)=>{const _0x57b043=_0x2b1e01;if(_0x42a90d[_0x57b043(0x363)]===_0xd22301){const _0x3c3189={..._0x42a90d};_0x3c3189['color']=_0x5c728a[_0x42a90d[_0x57b043(0x582)]],_0x23b0dd[_0x57b043(0x207)](_0x48b8c1,_0x3c3189);}}),{'skeleton':_0x53baf4,'cursors':_0x23b0dd};}));}return _0x29feb9({'skeleton':null,'cursors':new Map()});}))[_0x1a66c3(0x540)](({skeleton:_0x46aaec,cursors:_0x3c7071})=>{const _0x547f0c=_0x1a66c3;this[_0x547f0c(0x26d)](),_0x46aaec&&this['_updateCollabCursors'](_0x46aaec,_0x3c7071);}),this[_0x1a66c3(0x404)][_0x1a66c3(0x354)][_0x1a66c3(0x540)](_0x4c6c07=>{const _0x85c78d=_0x1a66c3;if(_0x4c6c07==null)return;const {skeleton:_0x55e1e7}=_0x4c6c07,{scene:_0x427435}=this[_0x85c78d(0x5c4)];_0x427435[_0x85c78d(0x53c)][_0x85c78d(0x24a)](_0x4360ad(_0x6a1961=>{const _0x3ac41d=_0x85c78d;var _0x33c722,_0x500382;const {offsetX:_0x1f5672,offsetY:_0x1d6460}=_0x6a1961,{x:_0x23b3d6,y:_0x51fab9}=_0x427435[_0x3ac41d(0x2ca)](_0x109432[_0x3ac41d(0x465)]([_0x1f5672,_0x1d6460])),{scaleX:_0x132f26,scaleY:_0x230c26}=_0x427435[_0x3ac41d(0x543)](),_0x1bf01c=_0x427435[_0x3ac41d(0x378)](_0x4283d3[_0x3ac41d(0x453)]),_0x534d44=_0x427435[_0x3ac41d(0x52c)](_0x109432[_0x3ac41d(0x465)]([_0x23b3d6,_0x51fab9]),_0x1bf01c),_0x3eee23=_0x55e1e7['getCellPositionByOffset'](_0x1f5672,_0x1d6460,_0x132f26,_0x230c26,_0x534d44);((_0x33c722=this['_lastPointer'])==null?void 0x0:_0x33c722[_0x3ac41d(0x27e)])===_0x3eee23[_0x3ac41d(0x27e)]&&((_0x500382=this[_0x3ac41d(0x22f)])==null?void 0x0:_0x500382['row'])===_0x3eee23[_0x3ac41d(0x5f0)]||this['_cursors'][_0x3ac41d(0x58b)](_0x33dde7=>{const _0x5e1602=_0x3ac41d;_0x33dde7[_0x5e1602(0x511)](_0x3eee23);});},0x64));});}['_updateCollabCursors'](_0x199958,_0xf4d8b0){const _0x40496b=_0x494e14;var _0x5b02ca;const _0x554f23=(_0x5b02ca=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x5b02ca[_0x40496b(0x537)];if(!_0x554f23)return;const _0x270b14=this[_0x40496b(0x2f9)]();if(!_0x270b14)return;this['_cursors'][_0x40496b(0x58b)](_0x2ee904=>{const _0x27573b=_0x40496b;_0x2ee904[_0x27573b(0x2d2)]();});const {scene:_0x59abed}=_0x270b14,_0x5002ac=Zo(Array[_0x40496b(0x353)](_0xf4d8b0[_0x40496b(0x20a)]()))[_0x40496b(0x5ed)](_0x253470=>{const _0x85bfd4=_0x40496b,{color:_0x43fdaf,range:_0x5e5e85,name:_0x187348,selection:_0x9e54e8,sheetID:_0x1ad861}=_0x253470,{startColumn:_0x2a4c46,startRow:_0x20fdb8,endColumn:_0xc6a686,endRow:_0x468260}=_0x5e5e85,_0x20a901=_0x533cec(_0x20fdb8,_0x2a4c46,_0x59abed,_0x554f23),_0x149d1d=_0x533cec(_0x468260,_0xc6a686,_0x59abed,_0x554f23),{columnHeaderHeightAndMarginTop:_0x57c346}=_0x554f23,{startX:_0x273a91,startY:_0x3ea269}=_0x20a901,{endX:_0x5b05fb,endY:_0x333dcb}=_0x149d1d,_0xc9c6a0=_0x5b05fb-_0x273a91,_0x3c2ff4=_0x333dcb-_0x3ea269,_0x5e7556={'labelPosition':_0x3ea269-_0x57c346>=nt?_0x85bfd4(0x37c):_0x85bfd4(0x47b),'sheetID':_0x1ad861,'range':_0x5e5e85,'color':_0x43fdaf,'name':_0x187348,'selection':_0x9e54e8,'left':_0x273a91,'top':_0x3ea269,'width':_0xc9c6a0,'height':_0x3c2ff4,'evented':!0x1,'zIndex':Jo};return new Ko(_0x187348,_0x5e7556);});_0x59abed[_0x40496b(0x578)](_0x5002ac,Go),this[_0x40496b(0x2a6)]=new Set(_0x5002ac);}[_0x494e14(0x26d)](){const _0x1e95dd=_0x494e14;var _0x5387de;(_0x5387de=this[_0x1e95dd(0x2a6)])==null||_0x5387de[_0x1e95dd(0x58b)](_0x346ead=>_0x346ead[_0x1e95dd(0x301)]());}['_getSheetObject'](){const _0x38dbae=_0x494e14;return _0x538d0b(this[_0x38dbae(0x5c4)][_0x38dbae(0x33c)],this[_0x38dbae(0x5c4)]);}};as=Xo([kt(0x1,_0x41b3da(_0x996767)),kt(0x2,_0x41b3da(Ve)),kt(0x3,_0x41b3da(_0x4754b0))],as);function Zo(_0x4713a9){const _0x272430=_0x494e14,_0x213775=new Map();return _0x4713a9[_0x272430(0x58b)](_0x5eae46=>{const _0x42423a=_0x272430;if(_0x213775[_0x42423a(0x481)](_0x5eae46[_0x42423a(0x4e1)])){const _0x13a1aa=_0x213775[_0x42423a(0x38a)](_0x5eae46[_0x42423a(0x4e1)]);_0x13a1aa['name']+=',\x20'+_0x5eae46[_0x42423a(0x40c)];}else _0x213775[_0x42423a(0x207)](_0x5eae46['selection'],_0x5eae46);}),Array[_0x272430(0x353)](_0x213775[_0x272430(0x20a)]());}var ee=function(){const _0x40c5d4=_0x494e14;return ee=Object[_0x40c5d4(0x34a)]||function(_0x398523){const _0x448ae0=_0x40c5d4;for(var _0x43b9de,_0x4fb063=0x1,_0x34a164=arguments[_0x448ae0(0x490)];_0x4fb063<_0x34a164;_0x4fb063++){_0x43b9de=arguments[_0x4fb063];for(var _0x3b4f73 in _0x43b9de)Object[_0x448ae0(0x2f7)][_0x448ae0(0x36c)][_0x448ae0(0x450)](_0x43b9de,_0x3b4f73)&&(_0x398523[_0x3b4f73]=_0x43b9de[_0x3b4f73]);}return _0x398523;},ee['apply'](this,arguments);},Qo=function(_0x22dd11,_0x4c497b){const _0x2c1d95=_0x494e14;var _0x2338a4={};for(var _0x489213 in _0x22dd11)Object[_0x2c1d95(0x2f7)]['hasOwnProperty'][_0x2c1d95(0x450)](_0x22dd11,_0x489213)&&_0x4c497b['indexOf'](_0x489213)<0x0&&(_0x2338a4[_0x489213]=_0x22dd11[_0x489213]);if(_0x22dd11!=null&&typeof Object[_0x2c1d95(0x2ff)]=='function'){for(var _0x1272ae=0x0,_0x489213=Object[_0x2c1d95(0x2ff)](_0x22dd11);_0x1272ae<_0x489213['length'];_0x1272ae++)_0x4c497b[_0x2c1d95(0x420)](_0x489213[_0x1272ae])<0x0&&Object[_0x2c1d95(0x2f7)][_0x2c1d95(0x44e)][_0x2c1d95(0x450)](_0x22dd11,_0x489213[_0x1272ae])&&(_0x2338a4[_0x489213[_0x1272ae]]=_0x22dd11[_0x489213[_0x1272ae]]);}return _0x2338a4;},Ts=_0x23e8c2(function(_0x17e2c5,_0x3bf928){const _0x382a91=_0x494e14;var _0x4b2ff7=_0x17e2c5[_0x382a91(0x289)],_0x56e182=_0x17e2c5['id'],_0x3d7c9a=_0x17e2c5[_0x382a91(0x544)],_0x54d721=_0x17e2c5[_0x382a91(0x538)],_0x285a89=Qo(_0x17e2c5,[_0x382a91(0x289),'id',_0x382a91(0x544),'extend']),_0x467baf=_0x382a91(0x3a6)[_0x382a91(0x437)](_0x56e182,'\x20')['concat'](_0x3d7c9a||'')[_0x382a91(0x5a1)](),_0x37cf2f=_0x540f8d('_'['concat'](sa()));return Mi(_0x4b2ff7,''[_0x382a91(0x437)](_0x56e182),{'defIds':_0x4b2ff7[_0x382a91(0x417)],'idSuffix':_0x37cf2f[_0x382a91(0x31c)]},ee({'ref':_0x3bf928,'className':_0x467baf},_0x285a89),_0x54d721);});function Mi(_0x565544,_0x1a4668,_0x1f6f89,_0x4b337a,_0xd2b058){const _0x6913aa=_0x494e14;return _0x12f720(_0x565544[_0x6913aa(0x4a1)],ee(ee({'key':_0x1a4668},ea(_0x565544,_0x1f6f89,_0xd2b058)),_0x4b337a),(ta(_0x565544,_0x1f6f89)[_0x6913aa(0x55d)]||[])['map'](function(_0x2a4756,_0x448c2e){const _0x40981b=_0x6913aa;return Mi(_0x2a4756,''[_0x40981b(0x437)](_0x1a4668,'-')[_0x40981b(0x437)](_0x565544[_0x40981b(0x4a1)],'-')[_0x40981b(0x437)](_0x448c2e),_0x1f6f89,void 0x0,_0xd2b058);}));}function ea(_0x508eb3,_0x17130b,_0x2452c6){const _0x590e3e=_0x494e14;var _0x1134f0=ee({},_0x508eb3[_0x590e3e(0x42e)]);_0x2452c6!=null&&_0x2452c6[_0x590e3e(0x4f4)]&&_0x1134f0[_0x590e3e(0x294)]===_0x590e3e(0x4f4)&&(_0x1134f0['fill']=_0x2452c6['colorChannel1']);var _0x4bfe38=_0x17130b[_0x590e3e(0x417)];return!_0x4bfe38||_0x4bfe38[_0x590e3e(0x490)]===0x0||(_0x508eb3[_0x590e3e(0x4a1)]===_0x590e3e(0x2de)&&_0x1134f0[_0x590e3e(0x510)]&&(_0x1134f0['xlink:href']=_0x1134f0[_0x590e3e(0x510)]+_0x17130b[_0x590e3e(0x5d4)]),Object[_0x590e3e(0x5d6)](_0x1134f0)[_0x590e3e(0x58b)](function(_0x3a7c40){const _0x4362b6=_0x590e3e;var _0x2c3567=_0x3a7c40[0x0],_0x27f122=_0x3a7c40[0x1];typeof _0x27f122==_0x4362b6(0x550)&&(_0x1134f0[_0x2c3567]=_0x27f122[_0x4362b6(0x3be)](/url\(#(.*)\)/,_0x4362b6(0x462)[_0x4362b6(0x437)](_0x17130b[_0x4362b6(0x5d4)],')')));})),_0x1134f0;}function ta(_0x413c29,_0x4520d4){const _0xc99d86=_0x494e14;var _0x2e90f1,_0x46ffd5=_0x4520d4[_0xc99d86(0x417)];return!_0x46ffd5||_0x46ffd5[_0xc99d86(0x490)]===0x0?_0x413c29:_0x413c29['tag']===_0xc99d86(0x384)&&(!((_0x2e90f1=_0x413c29[_0xc99d86(0x55d)])===null||_0x2e90f1===void 0x0)&&_0x2e90f1[_0xc99d86(0x490)])?ee(ee({},_0x413c29),{'children':_0x413c29['children']['map'](function(_0x5de1a7){const _0x4d2144=_0xc99d86;return typeof _0x5de1a7[_0x4d2144(0x42e)]['id']==_0x4d2144(0x550)&&_0x46ffd5&&_0x46ffd5['indexOf'](_0x5de1a7[_0x4d2144(0x42e)]['id'])>-0x1?ee(ee({},_0x5de1a7),{'attrs':ee(ee({},_0x5de1a7[_0x4d2144(0x42e)]),{'id':_0x5de1a7[_0x4d2144(0x42e)]['id']+_0x4520d4[_0x4d2144(0x5d4)]})}):_0x5de1a7;})}):_0x413c29;}function sa(){const _0x1ee742=_0x494e14;return Math[_0x1ee742(0x5db)]()[_0x1ee742(0x2b9)](0x24)[_0x1ee742(0x4df)](0x2,0x8);}Ts['displayName']=_0x494e14(0x43a);var ia={'tag':_0x494e14(0x4e5),'attrs':{'fill':_0x494e14(0x31f),'viewBox':_0x494e14(0x330),'width':_0x494e14(0x425),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x494e14(0x1ea)},'children':[{'tag':_0x494e14(0x2e1),'attrs':{'stroke':_0x494e14(0x2ac),'d':_0x494e14(0x47e),'strokeLinecap':_0x494e14(0x4c4),'strokeLinejoin':_0x494e14(0x4c4),'strokeWidth':1.2}}]},{'tag':_0x494e14(0x384),'attrs':{},'children':[{'tag':_0x494e14(0x44a),'attrs':{'id':_0x494e14(0x53f)},'children':[{'tag':'path','attrs':{'fill':'#fff','d':_0x494e14(0x20c)}}]}]}],'defIds':[_0x494e14(0x53f)]},xi=_0x23e8c2(function(_0x501c04,_0x40e13c){const _0x785f69=_0x494e14;return _0x12f720(Ts,Object[_0x785f69(0x34a)]({},_0x501c04,{'id':'off-line-single','ref':_0x40e13c,'icon':ia}));});xi[_0x494e14(0x4bc)]=_0x494e14(0x51d);var na={'tag':_0x494e14(0x4e5),'attrs':{'fill':_0x494e14(0x31f),'viewBox':_0x494e14(0x499),'width':'1em','height':_0x494e14(0x425)},'children':[{'tag':'g','attrs':{'clipPath':_0x494e14(0x22e)},'children':[{'tag':'path','attrs':{'stroke':_0x494e14(0x2ac),'d':_0x494e14(0x36b),'strokeLinecap':_0x494e14(0x4c4),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x494e14(0x384),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x494e14(0x57f),'d':'M0\x200H16V16H0z','transform':_0x494e14(0x383)}}]}]}],'defIds':[_0x494e14(0x26f)]},Li=_0x23e8c2(function(_0x11d222,_0xdd06f3){const _0x3059d2=_0x494e14;return _0x12f720(Ts,Object['assign']({},_0x11d222,{'id':_0x3059d2(0x524),'ref':_0xdd06f3,'icon':na}));});Li['displayName']=_0x494e14(0x44d);function $i(_0x54269c){const _0x110056=_0x494e14;var _0x193664,_0x2225b1,_0x1f374a='';if(typeof _0x54269c==_0x110056(0x550)||typeof _0x54269c==_0x110056(0x214))_0x1f374a+=_0x54269c;else{if(typeof _0x54269c==_0x110056(0x287)){if(Array['isArray'](_0x54269c)){var _0x573497=_0x54269c['length'];for(_0x193664=0x0;_0x193664<_0x573497;_0x193664++)_0x54269c[_0x193664]&&(_0x2225b1=$i(_0x54269c[_0x193664]))&&(_0x1f374a&&(_0x1f374a+='\x20'),_0x1f374a+=_0x2225b1);}else{for(_0x2225b1 in _0x54269c)_0x54269c[_0x2225b1]&&(_0x1f374a&&(_0x1f374a+='\x20'),_0x1f374a+=_0x2225b1);}}}return _0x1f374a;}function ra(){const _0x2e5460=_0x494e14;for(var _0xc4c35f,_0x402f3e,_0xf90287=0x0,_0x353b65='',_0x2bbd89=arguments[_0x2e5460(0x490)];_0xf90287<_0x2bbd89;_0xf90287++)(_0xc4c35f=arguments[_0xf90287])&&(_0x402f3e=$i(_0xc4c35f))&&(_0x353b65&&(_0x353b65+='\x20'),_0x353b65+=_0x402f3e);return _0x353b65;}const oa=_0x494e14(0x5bd),aa=_0x494e14(0x316),ca='univer-online-status',ha=_0x494e14(0x356),la=_0x494e14(0x46c),Ze={'onlineStatusIcon':oa,'onlineStatusTitle':aa,'onlineStatus':ca,'online':ha,'offline':la};function _a(_0x289a82){const _0x17ac2a=_0x494e14;switch(_0x289a82){case J[_0x17ac2a(0x387)]:return'collabStatus.offline';case J[_0x17ac2a(0x32a)]:return'collabStatus.conflict';case J[_0x17ac2a(0x32d)]:return'collabStatus.fetchMiss';case J[_0x17ac2a(0x390)]:return'collabStatus.notCollab';case J['AWAITING']:case J[_0x17ac2a(0x332)]:return _0x17ac2a(0x3fe);case J[_0x17ac2a(0x541)]:case J[_0x17ac2a(0x4b0)]:return _0x17ac2a(0x496);}}function ua(_0x5663df){const _0x3ba12d=_0x494e14,{status$:_0x7d4a40}=_0x5663df,_0x26ed77=_0x11fff2(_0x7d4a40,J[_0x3ba12d(0x390)]),_0x115c1d=_0x45a13b(_0x461b9d),_0x45fad4=_0x45a13b(Ae),_0x1f35fc=_0x26ed77!==J['OFFLINE'],_0x53d2c1=_0x115c1d['t'](_a(_0x26ed77)),_0x39664a=ra(Ze['onlineStatus'],{[Ze[_0x3ba12d(0x416)]]:_0x1f35fc,[Ze[_0x3ba12d(0x2ee)]]:!_0x1f35fc}),_0x45db6d=_0x1f35fc?_0x12a549[_0x3ba12d(0x3da)](Li,null):_0x12a549['createElement'](xi,null),_0x5a2714=_0x368bc5(()=>{const _0x16aa05=_0x3ba12d;_0x1f35fc||_0x45fad4[_0x16aa05(0x34e)]();},[_0x1f35fc,_0x45fad4]);function _0x1ada9c(){const _0x1bc420=_0x3ba12d;return _0x12a549[_0x1bc420(0x3da)](_0x1bc420(0x24e),{'className':_0x39664a,'onClick':_0x5a2714},_0x12a549[_0x1bc420(0x3da)]('div',{'className':Ze[_0x1bc420(0x379)]},_0x45db6d),_0x12a549[_0x1bc420(0x3da)](_0x1bc420(0x24e),{'className':Ze['onlineStatusTitle']},_0x53d2c1));}return _0x1f35fc?_0x1ada9c():_0x12a549['createElement'](_0xf9cdbe,{'title':_0x115c1d['t'](_0x3ba12d(0x5e7))},_0x1ada9c());}var da=Object['defineProperty'],fa=Object[_0x494e14(0x2a4)],va=(_0x1ae5be,_0x322347,_0x90967d,_0x3a2bae)=>{const _0x225570=_0x494e14;for(var _0x58d02f=_0x3a2bae>0x1?void 0x0:_0x3a2bae?fa(_0x322347,_0x90967d):_0x322347,_0x4fa95b=_0x1ae5be[_0x225570(0x490)]-0x1,_0x2bf4df;_0x4fa95b>=0x0;_0x4fa95b--)(_0x2bf4df=_0x1ae5be[_0x4fa95b])&&(_0x58d02f=(_0x3a2bae?_0x2bf4df(_0x322347,_0x90967d,_0x58d02f):_0x2bf4df(_0x58d02f))||_0x58d02f);return _0x3a2bae&&_0x58d02f&&da(_0x322347,_0x90967d,_0x58d02f),_0x58d02f;},lt=(_0xc1f3c3,_0x594932)=>(_0x5a63d9,_0x32e832)=>_0x594932(_0x5a63d9,_0x32e832,_0xc1f3c3);let It=class extends _0x326223{constructor(_0x45f6b4,_0x37c2c8,_0x974984,_0x2bd7cb){const _0xd20971=_0x494e14;super(),g(this,'_status$',new _0x9b8747(J['NOT_COLLAB'])),(this['_univerInstanceService']=_0x45f6b4,this[_0xd20971(0x408)]=_0x37c2c8,this[_0xd20971(0x5a2)]=_0x974984,this[_0xd20971(0x299)]=_0x2bd7cb,this[_0xd20971(0x1e2)](),this[_0xd20971(0x442)]());}['_initStatusListener'](){const _0x4dfef2=_0x494e14;this['disposeWithMe'](this[_0x4dfef2(0x5ee)][_0x4dfef2(0x4a0)][_0x4dfef2(0x3eb)](_0xa0910a(()=>{const _0x5ab505=_0x4dfef2,_0x54e766=this['_univerInstanceService'][_0x5ab505(0x27c)]();return _0x54e766?this[_0x5ab505(0x299)]['getCollabEntity$'](_0x54e766[_0x5ab505(0x467)]()):_0x29feb9(null);}),_0xa0910a(_0x1f24e1=>_0x1f24e1?_0x1f24e1['status$']:_0x29feb9(J[_0x4dfef2(0x390)])))[_0x4dfef2(0x540)](_0x4915b5=>{const _0x39b75c=_0x4dfef2;this[_0x39b75c(0x3b1)][_0x39b75c(0x2d0)](_0x4915b5);}));}[_0x494e14(0x1e2)](){const _0x5aca96=_0x494e14;this[_0x5aca96(0x461)](this[_0x5aca96(0x408)]['registerComponent'](_0x11c25b[_0x5aca96(0x52a)],()=>_0x5aa019(ma({'status$':this[_0x5aca96(0x3b1)][_0x5aca96(0x372)]()}),this[_0x5aca96(0x5a2)])));}};It=va([lt(0x0,_0x15b9fa),lt(0x1,_0x3da767),lt(0x2,_0x41b3da(_0x2087b9)),lt(0x3,_0x41b3da(it))],It);function ma(_0x2b344f){const {status$:_0x4edd19}=_0x2b344f;return function(){const _0x512a89=_0x5d20;return _0x12a549[_0x512a89(0x3da)](ua,{'status$':_0x4edd19});};}const Hi=_0x41367e(_0x494e14(0x280));var pa=Object[_0x494e14(0x421)],ga=Object[_0x494e14(0x2a4)],Sa=(_0x2390d6,_0x967b5e,_0x582a5a,_0x268aa9)=>{const _0x579db9=_0x494e14;for(var _0x240674=_0x268aa9>0x1?void 0x0:_0x268aa9?ga(_0x967b5e,_0x582a5a):_0x967b5e,_0xdff911=_0x2390d6[_0x579db9(0x490)]-0x1,_0x261099;_0xdff911>=0x0;_0xdff911--)(_0x261099=_0x2390d6[_0xdff911])&&(_0x240674=(_0x268aa9?_0x261099(_0x967b5e,_0x582a5a,_0x240674):_0x261099(_0x240674))||_0x240674);return _0x268aa9&&_0x240674&&pa(_0x967b5e,_0x582a5a,_0x240674),_0x240674;},ke=(_0x3489a8,_0x2e8ee9)=>(_0x55b702,_0x527d16)=>_0x2e8ee9(_0x55b702,_0x527d16,_0x3489a8);let Ct=class extends _0x542deb{constructor(_0x423219,_0x664eef,_0x215d68,_0x1caa85,_0xc1a269,_0x36b0c2){const _0x4a3e05=_0x494e14;super(),this[_0x4a3e05(0x580)]=_0x423219,this[_0x4a3e05(0x3c0)]=_0x664eef,this['_commandService']=_0x215d68,this[_0x4a3e05(0x391)]=_0x1caa85,this['_snapshotService']=_0xc1a269,_0x36b0c2?_0x36b0c2==null||_0x36b0c2[_0x4a3e05(0x3d1)]()[_0x4a3e05(0x37e)](()=>this[_0x4a3e05(0x599)]()):(this[_0x4a3e05(0x3c0)][_0x4a3e05(0x359)]('[DataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x4a3e05(0x599)]());}async['_init'](){const _0x57eb82=_0x494e14,_0x39fcee=this[_0x57eb82(0x580)][_0x57eb82(0x288)](_0x57eb82(0x33c)),_0x44c3a5=this[_0x57eb82(0x580)][_0x57eb82(0x288)](_0x57eb82(0x2cd));if(!_0x39fcee||!_0x44c3a5){this['_logService']['debug']('[DataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x44c3a5)){case ce[_0x57eb82(0x5dc)]:{const _0x519b6=await this[_0x57eb82(0x260)](_0x39fcee);this[_0x57eb82(0x569)](_0x519b6);break;}case ce['UNIVER_DOC']:{await this[_0x57eb82(0x5b2)](_0x39fcee);break;}default:{this['_logService']['error'](_0x57eb82(0x329),_0x57eb82(0x284));break;}}}async[_0x494e14(0x569)](_0x56ebe0){const _0x14c028=_0x494e14;await this[_0x14c028(0x4c8)](_0x56ebe0),_0x56ebe0[_0x14c028(0x4db)][_0x14c028(0x3eb)](_0x3ee31c(this['dispose$']))[_0x14c028(0x540)](_0x218630=>{_0x218630&&this['_updateURLWithCurrentState'](_0x218630);}),this['_urlService'][_0x14c028(0x2a7)][_0x14c028(0x3eb)](_0x3ee31c(this[_0x14c028(0x3f5)]))[_0x14c028(0x540)](()=>this['_updateSubUnitFromURLParams'](_0x56ebe0));}[_0x494e14(0x251)](_0x2ebfeb,_0x554c2d=!0x1){const _0x1c5b30=_0x494e14,_0x36cf34=this[_0x1c5b30(0x580)][_0x1c5b30(0x288)](_0x1c5b30(0x485));_0x2ebfeb[_0x1c5b30(0x575)]()!==_0x36cf34&&this['_urlService'][_0x1c5b30(0x349)](_0x1c5b30(0x485),_0x2ebfeb[_0x1c5b30(0x575)](),_0x554c2d);}async['_updateSubUnitFromURLParams'](_0x2ddab9){const _0x1bfc06=_0x494e14;var _0x55aa61;const _0x1445bf=this[_0x1bfc06(0x580)]['getParam'](_0x1bfc06(0x485));if(!_0x1445bf||!_0x2ddab9[_0x1bfc06(0x460)](_0x1445bf)){const _0x2f3e14=_0x2ddab9[_0x1bfc06(0x493)]()[0x0],_0x597316=_0x2ddab9[_0x1bfc06(0x460)](_0x2f3e14);if(!_0x597316)return;this['_updateURLWithCurrentState'](_0x597316,!0x0),await this[_0x1bfc06(0x5ef)][_0x1bfc06(0x3ca)](_0x51c661['id'],{'unitId':_0x2ddab9[_0x1bfc06(0x467)](),'subUnitId':_0x2f3e14});return;}((_0x55aa61=_0x2ddab9[_0x1bfc06(0x431)]())==null?void 0x0:_0x55aa61[_0x1bfc06(0x575)]())!==_0x1445bf&&await this['_commandService'][_0x1bfc06(0x3ca)](_0x51c661['id'],{'unitId':_0x2ddab9[_0x1bfc06(0x467)](),'subUnitId':_0x1445bf});}async[_0x494e14(0x260)](_0x417ea6){const _0x102640=_0x494e14;let _0x5d21c7=0x0;const _0x182fdc=await this[_0x102640(0x391)][_0x102640(0x267)](_0x417ea6);return _0x182fdc&&(_0x182fdc['awaitingChangeset']||_0x182fdc[_0x102640(0x592)][_0x102640(0x490)]!==0x0)&&(_0x5d21c7=_0x182fdc[_0x102640(0x2fb)]),_0x5d21c7===0x0&&this[_0x102640(0x3c0)][_0x102640(0x359)]('[DataLoaderController]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService'][_0x102640(0x335)](_0x417ea6,_0x5d21c7);}async[_0x494e14(0x5b2)](_0x1b4ff7){const _0x26b157=_0x494e14;let _0x89596=0x0;const _0x5caf24=await this[_0x26b157(0x391)][_0x26b157(0x267)](_0x1b4ff7);return _0x5caf24&&(_0x5caf24[_0x26b157(0x403)]||_0x5caf24[_0x26b157(0x592)][_0x26b157(0x490)]!==0x0)&&(_0x89596=_0x5caf24['rev']),_0x89596===0x0&&this[_0x26b157(0x3c0)][_0x26b157(0x359)](_0x26b157(0x329),_0x26b157(0x5b7)),this[_0x26b157(0x433)][_0x26b157(0x34c)](_0x1b4ff7,_0x89596);}};Ct=Sa([ke(0x0,Hi),ke(0x1,_0x3bb158),ke(0x2,_0x1c554d),ke(0x3,_0x41b3da(q)),ke(0x4,_0x41b3da(_0x2aa55c)),ke(0x5,_0x38b4fe(_0x3fc56e))],Ct);function _0x5d20(_0x105acf,_0x59ae89){const _0xe4d5ba=_0xe4d5();return _0x5d20=function(_0x5d2016,_0x2ffa8e){_0x5d2016=_0x5d2016-0x1e2;let _0x3a212a=_0xe4d5ba[_0x5d2016];return _0x3a212a;},_0x5d20(_0x105acf,_0x59ae89);}var Ia=Object[_0x494e14(0x421)],Ca=Object[_0x494e14(0x2a4)],Ea=(_0x119315,_0x49dc97,_0x3d8971,_0x51b3cd)=>{const _0x367d67=_0x494e14;for(var _0x413387=_0x51b3cd>0x1?void 0x0:_0x51b3cd?Ca(_0x49dc97,_0x3d8971):_0x49dc97,_0x2fd4a9=_0x119315[_0x367d67(0x490)]-0x1,_0x45670d;_0x2fd4a9>=0x0;_0x2fd4a9--)(_0x45670d=_0x119315[_0x2fd4a9])&&(_0x413387=(_0x51b3cd?_0x45670d(_0x49dc97,_0x3d8971,_0x413387):_0x45670d(_0x413387))||_0x413387);return _0x51b3cd&&_0x413387&&Ia(_0x49dc97,_0x3d8971,_0x413387),_0x413387;},zs=(_0xeae96,_0x5dec02)=>(_0x2e059d,_0x57eaa3)=>_0x5dec02(_0x2e059d,_0x57eaa3,_0xeae96);const ba=_0x494e14(0x325),Ta=_0x494e14(0x2e4);let Et=class extends _0x326223{constructor(_0xb2c3d,_0x55138d){const _0x430a39=_0x494e14;super(),this['_univerInstanceService']=_0xb2c3d,this['_configService']=_0x55138d,this[_0x430a39(0x599)]();}[_0x494e14(0x599)](){const _0x5c3218=_0x494e14;this['disposeWithMe'](this['_univerInstanceService'][_0x5c3218(0x4a0)][_0x5c3218(0x540)](()=>{const _0x2e9514=_0x5c3218;var _0x34450c;const _0x201774=this['_univerInstanceService'][_0x2e9514(0x27c)]();let _0x463375=(_0x34450c=this[_0x2e9514(0x21f)][_0x2e9514(0x27f)](ba))!=null?_0x34450c:Ta;_0x201774 instanceof _0x39984d&&(_0x463375=_0x201774[_0x2e9514(0x40c)]),document[_0x2e9514(0x240)]=_0x463375;}));}};Et=Ea([zs(0x0,_0x15b9fa),zs(0x1,_0x23210b)],Et);var Ra=Object[_0x494e14(0x421)],ya=Object[_0x494e14(0x2a4)],Oa=(_0x14669c,_0x34df64,_0x5379b1,_0x1fc2bb)=>{const _0x4d4679=_0x494e14;for(var _0x31aabe=_0x1fc2bb>0x1?void 0x0:_0x1fc2bb?ya(_0x34df64,_0x5379b1):_0x34df64,_0x4d0256=_0x14669c[_0x4d4679(0x490)]-0x1,_0x2f6681;_0x4d0256>=0x0;_0x4d0256--)(_0x2f6681=_0x14669c[_0x4d0256])&&(_0x31aabe=(_0x1fc2bb?_0x2f6681(_0x34df64,_0x5379b1,_0x31aabe):_0x2f6681(_0x31aabe))||_0x31aabe);return _0x1fc2bb&&_0x31aabe&&Ra(_0x34df64,_0x5379b1,_0x31aabe),_0x31aabe;},Wt=(_0x5334c1,_0x3ccf4e)=>(_0x19963a,_0x1b389b)=>_0x3ccf4e(_0x19963a,_0x1b389b,_0x5334c1);let bt=class{constructor(_0x19234c,_0x5e22b6,_0x5ba396){const _0x138189=_0x494e14;this[_0x138189(0x21f)]=_0x19234c,this[_0x138189(0x55e)]=_0x5e22b6,this[_0x138189(0x52e)]=_0x5ba396,this[_0x138189(0x33f)]();}[_0x494e14(0x33f)](){const _0x423efb=_0x494e14;this['_httpService'][_0x423efb(0x2cb)]({'priority':0x1,'interceptor':(_0xcff82f,_0x4f721e)=>_0x4f721e(_0xcff82f)[_0x423efb(0x3eb)](_0x17ad4b(async _0x208e95=>{const _0x4fa001=_0x423efb,_0x56069b=_0x208e95;if(_0x56069b[_0x4fa001(0x50e)]===0x191&&window['confirm'](this['localeService']['t'](_0x4fa001(0x2aa)))){const _0x8f7fc4=window[_0x4fa001(0x504)](window[_0x4fa001(0x3f0)][_0x4fa001(0x503)]);window[_0x4fa001(0x3f0)][_0x4fa001(0x503)]=this['_getLoginPath']()+_0x4fa001(0x20f)+_0x8f7fc4;}return _0x56069b;}))});}[_0x494e14(0x29c)](){const _0x56656c=_0x494e14;var _0x158215,_0x26316b;const _0x30a5ba=this[_0x56656c(0x21f)]['getConfig'](Ir),_0xd6115a=this['_configService']['getConfig'](ie);return(_0x26316b=(_0x158215=_0xd6115a==null?void 0x0:_0xd6115a['loginUrlKey'])!=null?_0x158215:_0x30a5ba)!=null?_0x26316b:Cr;}};bt=Oa([Wt(0x0,_0x23210b),Wt(0x1,_0x41b3da(_0x2d1de9)),Wt(0x2,_0x41b3da(_0x461b9d))],bt);var wa=Object[_0x494e14(0x421)],Da=Object[_0x494e14(0x2a4)],Pa=(_0x4aaa63,_0x17f55b,_0x4f819e,_0x29f40d)=>{const _0x2186a3=_0x494e14;for(var _0xb4cc16=_0x29f40d>0x1?void 0x0:_0x29f40d?Da(_0x17f55b,_0x4f819e):_0x17f55b,_0x58e47f=_0x4aaa63[_0x2186a3(0x490)]-0x1,_0x4bfb4e;_0x58e47f>=0x0;_0x58e47f--)(_0x4bfb4e=_0x4aaa63[_0x58e47f])&&(_0xb4cc16=(_0x29f40d?_0x4bfb4e(_0x17f55b,_0x4f819e,_0xb4cc16):_0x4bfb4e(_0xb4cc16))||_0xb4cc16);return _0x29f40d&&_0xb4cc16&&wa(_0x17f55b,_0x4f819e,_0xb4cc16),_0xb4cc16;},qs=(_0xafefe9,_0x2cfdae)=>(_0x3ea886,_0x40e614)=>_0x2cfdae(_0x3ea886,_0x40e614,_0xafefe9);const Ua=_0x494e14(0x34f),Na=_0x494e14(0x502);let cs=class extends _0x326223{constructor(_0x130e28,_0x370ded){const _0x3060b3=_0x494e14;super(),this['_HTTPService']=_0x130e28,this['_configService']=_0x370ded,this[_0x3060b3(0x515)]();}[_0x494e14(0x515)](){const _0x201c83=_0x494e14,_0x51bbb4=this;this['disposeWithMe'](this[_0x201c83(0x40e)][_0x201c83(0x2cb)]({'priority':0x3e7,'interceptor':_0x9c14de({'isMatch'(_0x55f0ac){const _0x42acf1=_0x201c83;var _0x588d83;if(_0x55f0ac['method']==='POST'&&((_0x588d83=_0x55f0ac[_0x42acf1(0x58d)])!=null&&_0x588d83[_0x42acf1(0x23b)])){const {objectID:_0x111496,objectType:_0x5614d4}=_0x55f0ac[_0x42acf1(0x58d)][_0x42acf1(0x23b)]||{};if(!_0x111496||_0x5614d4===void 0x0)return!0x1;const _0x887db6=_0x51bbb4[_0x42acf1(0x2b6)]()+'/'+_0x5614d4+_0x42acf1(0x1e9)+_0x111496+_0x42acf1(0x5cd);if(_0x55f0ac['url']===_0x887db6)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5848b4){const _0xf76b0d=_0x201c83;var _0x4c451e;return(_0x4c451e=_0x5848b4[_0xf76b0d(0x58d)])==null?void 0x0:_0x4c451e[_0xf76b0d(0x23b)];},'mergeParamsToRequest'(_0x501169,_0x8e2fa4){const _0x2f5870=_0x201c83,_0xda9e6e=_0x51bbb4['_getAPIPrefixPath']()+_0x2f5870(0x4d6),_0x3d19a9=_0x501169['reduce']((_0x318088,_0x51f995)=>{const _0x1c73a5=_0x2f5870,{unitID:_0x2fb02c,objectID:_0x440c6c,objectType:_0x399edb,actions:_0x2cd1f3}=_0x51f995;return _0x318088[_0x2fb02c]||(_0x318088[_0x2fb02c]={}),_0x318088[_0x2fb02c][_0x440c6c]||(_0x318088[_0x2fb02c][_0x440c6c]={'objectID':_0x440c6c,'objectType':_0x399edb,'actions':[]}),_0x318088[_0x2fb02c][_0x440c6c][_0x1c73a5(0x336)][_0x1c73a5(0x271)](..._0x2cd1f3),_0x318088;},{}),_0xc2841e=[];for(const _0x3c4cb3 in _0x3d19a9)for(const _0x2ec716 in _0x3d19a9[_0x3c4cb3]){const {actions:_0x5a4973,objectType:_0xeca600}=_0x3d19a9[_0x3c4cb3][_0x2ec716],_0x4f61ce=[...new Set(_0x5a4973)];_0xc2841e[_0x2f5870(0x271)]({'unitID':_0x3c4cb3,'objectID':_0x2ec716,'objectType':_0xeca600,'actions':_0x4f61ce});}return new _0x486076('POST',_0xda9e6e,{'headers':_0x8e2fa4['headers'],'withCredentials':_0x8e2fa4['withCredentials'],'responseType':_0x8e2fa4[_0x2f5870(0x3cc)],'body':{'requests':_0xc2841e}});}},{'distributeResult'(_0x487be6,_0x4ff97c){const _0x21ed47=_0x201c83,{objectActions:_0x32ddc6}=_0x487be6;return _0x4ff97c[_0x21ed47(0x5ed)](_0x2322e0=>{const _0x21ec15=_0x21ed47,{unitID:_0x2f5ada,objectID:_0x19ee3a,actions:_0x16f5c7}=_0x2322e0,_0x4fd5af=_0x32ddc6['find'](_0x257e46=>_0x257e46[_0x21ec15(0x55b)]===_0x2f5ada&&_0x257e46['objectID']===_0x19ee3a),_0x140513=_0x16f5c7[_0x21ec15(0x5ed)](_0x4f0bdc=>_0x4fd5af==null?void 0x0:_0x4fd5af[_0x21ec15(0x336)][_0x21ec15(0x32e)](_0x49f99a=>_0x49f99a[_0x21ec15(0x468)]===_0x4f0bdc))['filter'](_0xe6b833=>!!_0xe6b833);return{'config':_0x2322e0,'result':{'actions':_0x140513,'error':_0x487be6[_0x21ec15(0x48a)]}};});}})}));}['_getAPIPrefixPath'](){const _0xfe6569=_0x494e14;var _0x53d46c,_0x145944;const _0x474479=this[_0xfe6569(0x21f)][_0xfe6569(0x27f)](Ua),_0x4918e8=this[_0xfe6569(0x21f)][_0xfe6569(0x27f)](ie);return(_0x145944=(_0x53d46c=_0x4918e8==null?void 0x0:_0x4918e8[_0xfe6569(0x36a)])!=null?_0x53d46c:_0x474479)!=null?_0x145944:Na;}async[_0x494e14(0x21b)](_0x5569f9){const _0x564f6a=_0x494e14,_0x5392f8=this[_0x564f6a(0x2b6)]()+'/'+_0x5569f9[_0x564f6a(0x529)]+_0x564f6a(0x45e);return(await this[_0x564f6a(0x40e)][_0x564f6a(0x313)](_0x5392f8,{'body':_0x5569f9}))['body']['objectID']||'';}async[_0x494e14(0x317)](_0x274495){const _0x5baa5a=_0x494e14,_0x14bfa7=this[_0x5baa5a(0x2b6)]()+_0x5baa5a(0x327);return(await this[_0x5baa5a(0x40e)][_0x5baa5a(0x313)](_0x14bfa7,{'body':_0x274495}))['body'][_0x5baa5a(0x414)];}async[_0x494e14(0x44b)](_0x2ebf5d){const _0x35bbe2=_0x494e14,_0x15a272=this['_getAPIPrefixPath']()+'/'+_0x2ebf5d['objectType']+_0x35bbe2(0x1e9)+_0x2ebf5d[_0x35bbe2(0x531)];await this[_0x35bbe2(0x40e)][_0x35bbe2(0x525)](_0x15a272,{'body':_0x2ebf5d});}async[_0x494e14(0x48d)](_0x591a44){const _0x22dbd5=_0x494e14,_0x48985d=this[_0x22dbd5(0x2b6)]()+'/'+_0x591a44[_0x22dbd5(0x529)]+_0x22dbd5(0x1e9)+_0x591a44['objectID']+_0x22dbd5(0x5cd);return(await this[_0x22dbd5(0x40e)]['post'](_0x48985d,{'body':_0x591a44}))[_0x22dbd5(0x23b)][_0x22dbd5(0x336)];}async[_0x494e14(0x259)](_0x27d49b){const _0x3c53fe=_0x494e14,_0x5b1f8d=this[_0x3c53fe(0x2b6)]()+'/-/object/-/batch_allowed';return(await this['_HTTPService']['post'](_0x5b1f8d,{'body':{'requests':_0x27d49b}}))[_0x3c53fe(0x23b)]['objectActions'];}async[_0x494e14(0x35b)](_0x280039){const _0x5894ac=_0x494e14,_0x4aafc8=this[_0x5894ac(0x2b6)]()+'/'+_0x280039['objectType']+_0x5894ac(0x1e8),_0x558df2=await this[_0x5894ac(0x40e)][_0x5894ac(0x313)](_0x4aafc8,{'body':_0x280039});return{'roles':_0x558df2[_0x5894ac(0x23b)]['roles'],'actions':_0x558df2[_0x5894ac(0x23b)][_0x5894ac(0x336)]};}async[_0x494e14(0x258)](_0x19f93a){const _0x1a71c2=_0x494e14,_0x3ab051=this[_0x1a71c2(0x2b6)]()+'/collaborator';await this[_0x1a71c2(0x40e)][_0x1a71c2(0x534)](_0x3ab051,{'params':{'collaboratorID':_0x19f93a[_0x1a71c2(0x426)],'objectID':_0x19f93a[_0x1a71c2(0x531)],'unitID':_0x19f93a['unitID']}});}async[_0x494e14(0x3e3)](_0x31006f){const _0x1ac542=_0x494e14,_0x46b837=this[_0x1ac542(0x2b6)]()+_0x1ac542(0x223);await this[_0x1ac542(0x40e)][_0x1ac542(0x376)](_0x46b837,{'body':_0x31006f});}async['createCollaborator'](_0x2e5eca){const _0x481bb6=_0x494e14,_0x17083a=this[_0x481bb6(0x2b6)]()+_0x481bb6(0x223);await this[_0x481bb6(0x40e)][_0x481bb6(0x313)](_0x17083a,{'body':_0x2e5eca});}async[_0x494e14(0x4da)](_0x557fdc){const _0x2fd2e7=_0x494e14,_0x1b9ec6=this[_0x2fd2e7(0x2b6)]()+_0x2fd2e7(0x223);return(await this['_HTTPService'][_0x2fd2e7(0x38a)](_0x1b9ec6,{'params':{'objectID':_0x557fdc[_0x2fd2e7(0x531)],'unitID':_0x557fdc['unitID']}}))[_0x2fd2e7(0x23b)][_0x2fd2e7(0x4ed)];}async['putCollaborators'](_0x5c960a){const _0x3d9f31=_0x494e14,_0x5f28fd=this[_0x3d9f31(0x2b6)]()+'/collaborator';await this[_0x3d9f31(0x40e)][_0x3d9f31(0x525)](_0x5f28fd,{'body':_0x5c960a});}};cs=Pa([qs(0x0,_0x41b3da(_0x2d1de9)),qs(0x1,_0x41b3da(_0x23210b))],cs);var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x563eb0){const _0x4ac16a=_0x494e14;return _0x563eb0&&_0x563eb0['__esModule']&&Object[_0x4ac16a(0x2f7)]['hasOwnProperty'][_0x4ac16a(0x450)](_0x563eb0,'default')?_0x563eb0[_0x4ac16a(0x488)]:_0x563eb0;}var ji={'exports':{}};function Aa(_0x5a5262){const _0x50cbc3=_0x494e14;throw new Error(_0x50cbc3(0x4d7)+_0x5a5262+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ft={'exports':{}},Xs;function ue(){const _0x198bbe=_0x494e14;return Xs||(Xs=0x1,function(_0x568035,_0x30065f){(function(_0x2074e5,_0x30c8bb){const _0x1d28a6=_0x5d20;_0x568035[_0x1d28a6(0x3b6)]=_0x30c8bb();}(Z,function(){var _0x24340a=_0x24340a||function(_0x457dc0,_0x43f086){const _0x53a10a=_0x5d20;var _0x4d76a9;if(typeof window<'u'&&window[_0x53a10a(0x4f9)]&&(_0x4d76a9=window[_0x53a10a(0x4f9)]),typeof self<'u'&&self[_0x53a10a(0x4f9)]&&(_0x4d76a9=self[_0x53a10a(0x4f9)]),typeof globalThis<'u'&&globalThis[_0x53a10a(0x4f9)]&&(_0x4d76a9=globalThis[_0x53a10a(0x4f9)]),!_0x4d76a9&&typeof window<'u'&&window[_0x53a10a(0x204)]&&(_0x4d76a9=window[_0x53a10a(0x204)]),!_0x4d76a9&&typeof Z<'u'&&Z[_0x53a10a(0x4f9)]&&(_0x4d76a9=Z[_0x53a10a(0x4f9)]),!_0x4d76a9&&typeof Aa==_0x53a10a(0x272))try{_0x4d76a9=require(_0x53a10a(0x4f9));}catch{}var _0x234c9a=function(){const _0x444d1b=_0x53a10a;if(_0x4d76a9){if(typeof _0x4d76a9[_0x444d1b(0x38c)]==_0x444d1b(0x272))try{return _0x4d76a9[_0x444d1b(0x38c)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4d76a9[_0x444d1b(0x3d2)]==_0x444d1b(0x272))try{return _0x4d76a9['randomBytes'](0x4)[_0x444d1b(0x590)]();}catch{}}throw new Error(_0x444d1b(0x432));},_0x2b0f11=Object[_0x53a10a(0x21b)]||(function(){function _0x3b0134(){}return function(_0x3fee33){const _0x4b9b98=_0x5d20;var _0x3d8df7;return _0x3b0134[_0x4b9b98(0x2f7)]=_0x3fee33,_0x3d8df7=new _0x3b0134(),_0x3b0134[_0x4b9b98(0x2f7)]=null,_0x3d8df7;};}()),_0x5c81f1={},_0x354e18=_0x5c81f1[_0x53a10a(0x45c)]={},_0x2eaa0e=_0x354e18[_0x53a10a(0x5d8)]=(function(){return{'extend':function(_0x16a756){const _0x39e0d4=_0x5d20;var _0x2bd84c=_0x2b0f11(this);return _0x16a756&&_0x2bd84c['mixIn'](_0x16a756),(!_0x2bd84c[_0x39e0d4(0x36c)]('init')||this[_0x39e0d4(0x33f)]===_0x2bd84c[_0x39e0d4(0x33f)])&&(_0x2bd84c[_0x39e0d4(0x33f)]=function(){const _0xefd85b=_0x39e0d4;_0x2bd84c[_0xefd85b(0x5ba)][_0xefd85b(0x33f)][_0xefd85b(0x262)](this,arguments);}),_0x2bd84c['init'][_0x39e0d4(0x2f7)]=_0x2bd84c,_0x2bd84c[_0x39e0d4(0x5ba)]=this,_0x2bd84c;},'create':function(){const _0x31217b=_0x5d20;var _0x5e7925=this['extend']();return _0x5e7925[_0x31217b(0x33f)][_0x31217b(0x262)](_0x5e7925,arguments),_0x5e7925;},'init':function(){},'mixIn':function(_0x518d15){const _0x244349=_0x5d20;for(var _0x1b0a1b in _0x518d15)_0x518d15[_0x244349(0x36c)](_0x1b0a1b)&&(this[_0x1b0a1b]=_0x518d15[_0x1b0a1b]);_0x518d15[_0x244349(0x36c)](_0x244349(0x2b9))&&(this[_0x244349(0x2b9)]=_0x518d15['toString']);},'clone':function(){const _0x950e4a=_0x5d20;return this[_0x950e4a(0x33f)][_0x950e4a(0x2f7)][_0x950e4a(0x538)](this);}};}()),_0x4ce103=_0x354e18['WordArray']=_0x2eaa0e['extend']({'init':function(_0x48d656,_0x5b4cbf){const _0x543266=_0x53a10a;_0x48d656=this[_0x543266(0x3f6)]=_0x48d656||[],_0x5b4cbf!=_0x43f086?this[_0x543266(0x455)]=_0x5b4cbf:this[_0x543266(0x455)]=_0x48d656[_0x543266(0x490)]*0x4;},'toString':function(_0x7cd09c){const _0x4ef740=_0x53a10a;return(_0x7cd09c||_0xc9c0d9)[_0x4ef740(0x415)](this);},'concat':function(_0x5c7c20){const _0x4bf9c7=_0x53a10a;var _0x2c1724=this[_0x4bf9c7(0x3f6)],_0x2d6adf=_0x5c7c20[_0x4bf9c7(0x3f6)],_0x124570=this[_0x4bf9c7(0x455)],_0x191205=_0x5c7c20['sigBytes'];if(this[_0x4bf9c7(0x5c0)](),_0x124570%0x4)for(var _0x259ff6=0x0;_0x259ff6<_0x191205;_0x259ff6++){var _0x387e1d=_0x2d6adf[_0x259ff6>>>0x2]>>>0x18-_0x259ff6%0x4*0x8&0xff;_0x2c1724[_0x124570+_0x259ff6>>>0x2]|=_0x387e1d<<0x18-(_0x124570+_0x259ff6)%0x4*0x8;}else{for(var _0x24684b=0x0;_0x24684b<_0x191205;_0x24684b+=0x4)_0x2c1724[_0x124570+_0x24684b>>>0x2]=_0x2d6adf[_0x24684b>>>0x2];}return this[_0x4bf9c7(0x455)]+=_0x191205,this;},'clamp':function(){const _0x51d4b3=_0x53a10a;var _0x12c13c=this[_0x51d4b3(0x3f6)],_0x61b49d=this[_0x51d4b3(0x455)];_0x12c13c[_0x61b49d>>>0x2]&=0xffffffff<<0x20-_0x61b49d%0x4*0x8,_0x12c13c[_0x51d4b3(0x490)]=_0x457dc0[_0x51d4b3(0x3b7)](_0x61b49d/0x4);},'clone':function(){const _0x53e4f6=_0x53a10a;var _0x165db=_0x2eaa0e['clone'][_0x53e4f6(0x450)](this);return _0x165db[_0x53e4f6(0x3f6)]=this[_0x53e4f6(0x3f6)][_0x53e4f6(0x22c)](0x0),_0x165db;},'random':function(_0x39d4ab){const _0xb29402=_0x53a10a;for(var _0x1157ba=[],_0x391afb=0x0;_0x391afb<_0x39d4ab;_0x391afb+=0x4)_0x1157ba[_0xb29402(0x271)](_0x234c9a());return new _0x4ce103[(_0xb29402(0x33f))](_0x1157ba,_0x39d4ab);}}),_0x5ea221=_0x5c81f1[_0x53a10a(0x407)]={},_0xc9c0d9=_0x5ea221[_0x53a10a(0x371)]={'stringify':function(_0x308468){const _0x3e1504=_0x53a10a;for(var _0x296ad4=_0x308468['words'],_0x45c40b=_0x308468[_0x3e1504(0x455)],_0x215495=[],_0x4f5b59=0x0;_0x4f5b59<_0x45c40b;_0x4f5b59++){var _0x4bf398=_0x296ad4[_0x4f5b59>>>0x2]>>>0x18-_0x4f5b59%0x4*0x8&0xff;_0x215495['push']((_0x4bf398>>>0x4)['toString'](0x10)),_0x215495['push']((_0x4bf398&0xf)['toString'](0x10));}return _0x215495['join']('');},'parse':function(_0x4c80d9){const _0x22a745=_0x53a10a;for(var _0x329e3f=_0x4c80d9[_0x22a745(0x490)],_0x433ad9=[],_0x22780e=0x0;_0x22780e<_0x329e3f;_0x22780e+=0x2)_0x433ad9[_0x22780e>>>0x3]|=parseInt(_0x4c80d9[_0x22a745(0x5a4)](_0x22780e,0x2),0x10)<<0x18-_0x22780e%0x8*0x4;return new _0x4ce103[(_0x22a745(0x33f))](_0x433ad9,_0x329e3f/0x2);}},_0x186abd=_0x5ea221[_0x53a10a(0x3c2)]={'stringify':function(_0x436c09){const _0x961605=_0x53a10a;for(var _0x3df512=_0x436c09['words'],_0x1f7d43=_0x436c09[_0x961605(0x455)],_0x3629ef=[],_0x1eb4b0=0x0;_0x1eb4b0<_0x1f7d43;_0x1eb4b0++){var _0x54b79b=_0x3df512[_0x1eb4b0>>>0x2]>>>0x18-_0x1eb4b0%0x4*0x8&0xff;_0x3629ef[_0x961605(0x271)](String[_0x961605(0x244)](_0x54b79b));}return _0x3629ef[_0x961605(0x3c7)]('');},'parse':function(_0x43089a){const _0x560571=_0x53a10a;for(var _0xa32419=_0x43089a[_0x560571(0x490)],_0x40d2f3=[],_0x356a9f=0x0;_0x356a9f<_0xa32419;_0x356a9f++)_0x40d2f3[_0x356a9f>>>0x2]|=(_0x43089a['charCodeAt'](_0x356a9f)&0xff)<<0x18-_0x356a9f%0x4*0x8;return new _0x4ce103[(_0x560571(0x33f))](_0x40d2f3,_0xa32419);}},_0x56fc6f=_0x5ea221[_0x53a10a(0x459)]={'stringify':function(_0x1b0918){const _0x67e995=_0x53a10a;try{return decodeURIComponent(escape(_0x186abd[_0x67e995(0x415)](_0x1b0918)));}catch{throw new Error(_0x67e995(0x326));}},'parse':function(_0x551f35){const _0x14a816=_0x53a10a;return _0x186abd[_0x14a816(0x39a)](unescape(encodeURIComponent(_0x551f35)));}},_0x42ca9f=_0x354e18[_0x53a10a(0x3b0)]=_0x2eaa0e['extend']({'reset':function(){const _0x28ec89=_0x53a10a;this[_0x28ec89(0x579)]=new _0x4ce103[(_0x28ec89(0x33f))](),this[_0x28ec89(0x32b)]=0x0;},'_append':function(_0x1dad87){const _0x908183=_0x53a10a;typeof _0x1dad87==_0x908183(0x550)&&(_0x1dad87=_0x56fc6f[_0x908183(0x39a)](_0x1dad87)),this[_0x908183(0x579)]['concat'](_0x1dad87),this[_0x908183(0x32b)]+=_0x1dad87[_0x908183(0x455)];},'_process':function(_0x1cb305){const _0xd04fef=_0x53a10a;var _0x1cfa8c,_0x3fffd6=this['_data'],_0xfbaa65=_0x3fffd6[_0xd04fef(0x3f6)],_0x1c6ecf=_0x3fffd6['sigBytes'],_0x3e6395=this['blockSize'],_0x330865=_0x3e6395*0x4,_0xca5b79=_0x1c6ecf/_0x330865;_0x1cb305?_0xca5b79=_0x457dc0[_0xd04fef(0x3b7)](_0xca5b79):_0xca5b79=_0x457dc0['max']((_0xca5b79|0x0)-this[_0xd04fef(0x203)],0x0);var _0x2f6e5b=_0xca5b79*_0x3e6395,_0x134e4e=_0x457dc0[_0xd04fef(0x205)](_0x2f6e5b*0x4,_0x1c6ecf);if(_0x2f6e5b){for(var _0x2f038b=0x0;_0x2f038b<_0x2f6e5b;_0x2f038b+=_0x3e6395)this['_doProcessBlock'](_0xfbaa65,_0x2f038b);_0x1cfa8c=_0xfbaa65['splice'](0x0,_0x2f6e5b),_0x3fffd6['sigBytes']-=_0x134e4e;}return new _0x4ce103['init'](_0x1cfa8c,_0x134e4e);},'clone':function(){const _0x59663d=_0x53a10a;var _0x4dadaa=_0x2eaa0e[_0x59663d(0x445)][_0x59663d(0x450)](this);return _0x4dadaa[_0x59663d(0x579)]=this['_data'][_0x59663d(0x445)](),_0x4dadaa;},'_minBufferSize':0x0});_0x354e18[_0x53a10a(0x3a3)]=_0x42ca9f[_0x53a10a(0x538)]({'cfg':_0x2eaa0e['extend'](),'init':function(_0x240fc4){const _0x2f44cc=_0x53a10a;this[_0x2f44cc(0x5ec)]=this[_0x2f44cc(0x5ec)][_0x2f44cc(0x538)](_0x240fc4),this[_0x2f44cc(0x5a9)]();},'reset':function(){const _0x187626=_0x53a10a;_0x42ca9f['reset'][_0x187626(0x450)](this),this[_0x187626(0x54a)]();},'update':function(_0x469dbb){const _0x3be623=_0x53a10a;return this[_0x3be623(0x5b0)](_0x469dbb),this[_0x3be623(0x5d2)](),this;},'finalize':function(_0x34c1ab){const _0x10ce1a=_0x53a10a;_0x34c1ab&&this[_0x10ce1a(0x5b0)](_0x34c1ab);var _0x23a471=this[_0x10ce1a(0x2a9)]();return _0x23a471;},'blockSize':0x10,'_createHelper':function(_0x16d020){return function(_0x255394,_0x516d9b){return new _0x16d020['init'](_0x516d9b)['finalize'](_0x255394);};},'_createHmacHelper':function(_0x19bef8){return function(_0x1ea084,_0x2576b1){const _0x2ed187=_0x5d20;return new _0x23f5d1[(_0x2ed187(0x3cb))]['init'](_0x19bef8,_0x2576b1)[_0x2ed187(0x303)](_0x1ea084);};}});var _0x23f5d1=_0x5c81f1['algo']={};return _0x5c81f1;}(Math);return _0x24340a;}));}(Ft)),Ft[_0x198bbe(0x3b6)];}var Vt={'exports':{}},Js;function Bi(){const _0x54c5ba=_0x494e14;return Js||(Js=0x1,function(_0x4488c6,_0x2c9990){(function(_0x7f8711,_0x469da1){const _0x380dc2=_0x5d20;_0x4488c6[_0x380dc2(0x3b6)]=_0x469da1(ue());}(Z,function(_0x575af0){const _0x423f7f=_0x5d20;return(function(){const _0x80a1fe=_0x5d20;var _0x3a9c43=_0x575af0,_0x2160dc=_0x3a9c43[_0x80a1fe(0x45c)],_0x30d3fc=_0x2160dc[_0x80a1fe(0x4ce)],_0x338d75=_0x3a9c43['enc'];_0x338d75[_0x80a1fe(0x49b)]={'stringify':function(_0x3c31d6){const _0x1506ee=_0x80a1fe;var _0x3f20d6=_0x3c31d6['words'],_0x4be813=_0x3c31d6[_0x1506ee(0x455)],_0x228440=this['_map'];_0x3c31d6[_0x1506ee(0x5c0)]();for(var _0x589916=[],_0x140716=0x0;_0x140716<_0x4be813;_0x140716+=0x3)for(var _0x170ec2=_0x3f20d6[_0x140716>>>0x2]>>>0x18-_0x140716%0x4*0x8&0xff,_0x49a410=_0x3f20d6[_0x140716+0x1>>>0x2]>>>0x18-(_0x140716+0x1)%0x4*0x8&0xff,_0x40efea=_0x3f20d6[_0x140716+0x2>>>0x2]>>>0x18-(_0x140716+0x2)%0x4*0x8&0xff,_0x2bd73c=_0x170ec2<<0x10|_0x49a410<<0x8|_0x40efea,_0x61ecd0=0x0;_0x61ecd0<0x4&&_0x140716+_0x61ecd0*0.75<_0x4be813;_0x61ecd0++)_0x589916[_0x1506ee(0x271)](_0x228440[_0x1506ee(0x308)](_0x2bd73c>>>0x6*(0x3-_0x61ecd0)&0x3f));var _0x4aece9=_0x228440[_0x1506ee(0x308)](0x40);if(_0x4aece9){for(;_0x589916[_0x1506ee(0x490)]%0x4;)_0x589916[_0x1506ee(0x271)](_0x4aece9);}return _0x589916[_0x1506ee(0x3c7)]('');},'parse':function(_0xd7559b){const _0x33ffc3=_0x80a1fe;var _0x1e2857=_0xd7559b['length'],_0x4c32dd=this[_0x33ffc3(0x5d5)],_0x4d7672=this['_reverseMap'];if(!_0x4d7672){_0x4d7672=this['_reverseMap']=[];for(var _0x24ff1e=0x0;_0x24ff1e<_0x4c32dd[_0x33ffc3(0x490)];_0x24ff1e++)_0x4d7672[_0x4c32dd[_0x33ffc3(0x59e)](_0x24ff1e)]=_0x24ff1e;}var _0x1a3452=_0x4c32dd['charAt'](0x40);if(_0x1a3452){var _0x35ef69=_0xd7559b[_0x33ffc3(0x420)](_0x1a3452);_0x35ef69!==-0x1&&(_0x1e2857=_0x35ef69);}return _0x212e91(_0xd7559b,_0x1e2857,_0x4d7672);},'_map':_0x80a1fe(0x49e)};function _0x212e91(_0xb9af0e,_0x1a5758,_0x4a8601){const _0x39e896=_0x80a1fe;for(var _0x5853ac=[],_0x2a6452=0x0,_0x56a982=0x0;_0x56a982<_0x1a5758;_0x56a982++)if(_0x56a982%0x4){var _0x4ab1fd=_0x4a8601[_0xb9af0e['charCodeAt'](_0x56a982-0x1)]<<_0x56a982%0x4*0x2,_0x4d720f=_0x4a8601[_0xb9af0e['charCodeAt'](_0x56a982)]>>>0x6-_0x56a982%0x4*0x2,_0x3bef90=_0x4ab1fd|_0x4d720f;_0x5853ac[_0x2a6452>>>0x2]|=_0x3bef90<<0x18-_0x2a6452%0x4*0x8,_0x2a6452++;}return _0x30d3fc[_0x39e896(0x21b)](_0x5853ac,_0x2a6452);}}()),_0x575af0[_0x423f7f(0x407)]['Base64'];}));}(Vt)),Vt[_0x54c5ba(0x3b6)];}var Gt={'exports':{}},Zs;function Ma(){const _0x142756=_0x494e14;return Zs||(Zs=0x1,function(_0x2f0d17,_0x4ab7b8){(function(_0x3d8f58,_0x3236cc){_0x2f0d17['exports']=_0x3236cc(ue());}(Z,function(_0x305651){const _0x3b5b4e=_0x5d20;return function(_0x335a3a){const _0x1d667b=_0x5d20;var _0x373e43=_0x305651,_0x53b5cc=_0x373e43[_0x1d667b(0x45c)],_0x55ce90=_0x53b5cc['WordArray'],_0x1ddd4e=_0x53b5cc['Hasher'],_0x1e6986=_0x373e43[_0x1d667b(0x439)],_0x3af24e=[];(function(){const _0x5a12fc=_0x1d667b;for(var _0xed762d=0x0;_0xed762d<0x40;_0xed762d++)_0x3af24e[_0xed762d]=_0x335a3a[_0x5a12fc(0x3b9)](_0x335a3a['sin'](_0xed762d+0x1))*0x100000000|0x0;}());var _0x41f502=_0x1e6986['MD5']=_0x1ddd4e[_0x1d667b(0x538)]({'_doReset':function(){const _0x2e4721=_0x1d667b;this[_0x2e4721(0x43d)]=new _0x55ce90['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4c749e,_0x5d8b72){const _0x3c6e74=_0x1d667b;for(var _0x51fcc0=0x0;_0x51fcc0<0x10;_0x51fcc0++){var _0x1e0b16=_0x5d8b72+_0x51fcc0,_0x425e14=_0x4c749e[_0x1e0b16];_0x4c749e[_0x1e0b16]=(_0x425e14<<0x8|_0x425e14>>>0x18)&0xff00ff|(_0x425e14<<0x18|_0x425e14>>>0x8)&0xff00ff00;}var _0x23ba58=this[_0x3c6e74(0x43d)]['words'],_0xedb0eb=_0x4c749e[_0x5d8b72+0x0],_0x2f1973=_0x4c749e[_0x5d8b72+0x1],_0x3f28eb=_0x4c749e[_0x5d8b72+0x2],_0x456cc4=_0x4c749e[_0x5d8b72+0x3],_0x177c20=_0x4c749e[_0x5d8b72+0x4],_0x2b7488=_0x4c749e[_0x5d8b72+0x5],_0x5b4523=_0x4c749e[_0x5d8b72+0x6],_0x219ab7=_0x4c749e[_0x5d8b72+0x7],_0x20e9d0=_0x4c749e[_0x5d8b72+0x8],_0x2735d5=_0x4c749e[_0x5d8b72+0x9],_0x595e62=_0x4c749e[_0x5d8b72+0xa],_0x83f4b7=_0x4c749e[_0x5d8b72+0xb],_0x2284fb=_0x4c749e[_0x5d8b72+0xc],_0x49748e=_0x4c749e[_0x5d8b72+0xd],_0x1fd82c=_0x4c749e[_0x5d8b72+0xe],_0x13b05e=_0x4c749e[_0x5d8b72+0xf],_0x1f2b03=_0x23ba58[0x0],_0x1610c2=_0x23ba58[0x1],_0x2f515b=_0x23ba58[0x2],_0x1111e1=_0x23ba58[0x3];_0x1f2b03=_0x3d39c1(_0x1f2b03,_0x1610c2,_0x2f515b,_0x1111e1,_0xedb0eb,0x7,_0x3af24e[0x0]),_0x1111e1=_0x3d39c1(_0x1111e1,_0x1f2b03,_0x1610c2,_0x2f515b,_0x2f1973,0xc,_0x3af24e[0x1]),_0x2f515b=_0x3d39c1(_0x2f515b,_0x1111e1,_0x1f2b03,_0x1610c2,_0x3f28eb,0x11,_0x3af24e[0x2]),_0x1610c2=_0x3d39c1(_0x1610c2,_0x2f515b,_0x1111e1,_0x1f2b03,_0x456cc4,0x16,_0x3af24e[0x3]),_0x1f2b03=_0x3d39c1(_0x1f2b03,_0x1610c2,_0x2f515b,_0x1111e1,_0x177c20,0x7,_0x3af24e[0x4]),_0x1111e1=_0x3d39c1(_0x1111e1,_0x1f2b03,_0x1610c2,_0x2f515b,_0x2b7488,0xc,_0x3af24e[0x5]),_0x2f515b=_0x3d39c1(_0x2f515b,_0x1111e1,_0x1f2b03,_0x1610c2,_0x5b4523,0x11,_0x3af24e[0x6]),_0x1610c2=_0x3d39c1(_0x1610c2,_0x2f515b,_0x1111e1,_0x1f2b03,_0x219ab7,0x16,_0x3af24e[0x7]),_0x1f2b03=_0x3d39c1(_0x1f2b03,_0x1610c2,_0x2f515b,_0x1111e1,_0x20e9d0,0x7,_0x3af24e[0x8]),_0x1111e1=_0x3d39c1(_0x1111e1,_0x1f2b03,_0x1610c2,_0x2f515b,_0x2735d5,0xc,_0x3af24e[0x9]),_0x2f515b=_0x3d39c1(_0x2f515b,_0x1111e1,_0x1f2b03,_0x1610c2,_0x595e62,0x11,_0x3af24e[0xa]),_0x1610c2=_0x3d39c1(_0x1610c2,_0x2f515b,_0x1111e1,_0x1f2b03,_0x83f4b7,0x16,_0x3af24e[0xb]),_0x1f2b03=_0x3d39c1(_0x1f2b03,_0x1610c2,_0x2f515b,_0x1111e1,_0x2284fb,0x7,_0x3af24e[0xc]),_0x1111e1=_0x3d39c1(_0x1111e1,_0x1f2b03,_0x1610c2,_0x2f515b,_0x49748e,0xc,_0x3af24e[0xd]),_0x2f515b=_0x3d39c1(_0x2f515b,_0x1111e1,_0x1f2b03,_0x1610c2,_0x1fd82c,0x11,_0x3af24e[0xe]),_0x1610c2=_0x3d39c1(_0x1610c2,_0x2f515b,_0x1111e1,_0x1f2b03,_0x13b05e,0x16,_0x3af24e[0xf]),_0x1f2b03=_0x1f29b6(_0x1f2b03,_0x1610c2,_0x2f515b,_0x1111e1,_0x2f1973,0x5,_0x3af24e[0x10]),_0x1111e1=_0x1f29b6(_0x1111e1,_0x1f2b03,_0x1610c2,_0x2f515b,_0x5b4523,0x9,_0x3af24e[0x11]),_0x2f515b=_0x1f29b6(_0x2f515b,_0x1111e1,_0x1f2b03,_0x1610c2,_0x83f4b7,0xe,_0x3af24e[0x12]),_0x1610c2=_0x1f29b6(_0x1610c2,_0x2f515b,_0x1111e1,_0x1f2b03,_0xedb0eb,0x14,_0x3af24e[0x13]),_0x1f2b03=_0x1f29b6(_0x1f2b03,_0x1610c2,_0x2f515b,_0x1111e1,_0x2b7488,0x5,_0x3af24e[0x14]),_0x1111e1=_0x1f29b6(_0x1111e1,_0x1f2b03,_0x1610c2,_0x2f515b,_0x595e62,0x9,_0x3af24e[0x15]),_0x2f515b=_0x1f29b6(_0x2f515b,_0x1111e1,_0x1f2b03,_0x1610c2,_0x13b05e,0xe,_0x3af24e[0x16]),_0x1610c2=_0x1f29b6(_0x1610c2,_0x2f515b,_0x1111e1,_0x1f2b03,_0x177c20,0x14,_0x3af24e[0x17]),_0x1f2b03=_0x1f29b6(_0x1f2b03,_0x1610c2,_0x2f515b,_0x1111e1,_0x2735d5,0x5,_0x3af24e[0x18]),_0x1111e1=_0x1f29b6(_0x1111e1,_0x1f2b03,_0x1610c2,_0x2f515b,_0x1fd82c,0x9,_0x3af24e[0x19]),_0x2f515b=_0x1f29b6(_0x2f515b,_0x1111e1,_0x1f2b03,_0x1610c2,_0x456cc4,0xe,_0x3af24e[0x1a]),_0x1610c2=_0x1f29b6(_0x1610c2,_0x2f515b,_0x1111e1,_0x1f2b03,_0x20e9d0,0x14,_0x3af24e[0x1b]),_0x1f2b03=_0x1f29b6(_0x1f2b03,_0x1610c2,_0x2f515b,_0x1111e1,_0x49748e,0x5,_0x3af24e[0x1c]),_0x1111e1=_0x1f29b6(_0x1111e1,_0x1f2b03,_0x1610c2,_0x2f515b,_0x3f28eb,0x9,_0x3af24e[0x1d]),_0x2f515b=_0x1f29b6(_0x2f515b,_0x1111e1,_0x1f2b03,_0x1610c2,_0x219ab7,0xe,_0x3af24e[0x1e]),_0x1610c2=_0x1f29b6(_0x1610c2,_0x2f515b,_0x1111e1,_0x1f2b03,_0x2284fb,0x14,_0x3af24e[0x1f]),_0x1f2b03=_0x180ad2(_0x1f2b03,_0x1610c2,_0x2f515b,_0x1111e1,_0x2b7488,0x4,_0x3af24e[0x20]),_0x1111e1=_0x180ad2(_0x1111e1,_0x1f2b03,_0x1610c2,_0x2f515b,_0x20e9d0,0xb,_0x3af24e[0x21]),_0x2f515b=_0x180ad2(_0x2f515b,_0x1111e1,_0x1f2b03,_0x1610c2,_0x83f4b7,0x10,_0x3af24e[0x22]),_0x1610c2=_0x180ad2(_0x1610c2,_0x2f515b,_0x1111e1,_0x1f2b03,_0x1fd82c,0x17,_0x3af24e[0x23]),_0x1f2b03=_0x180ad2(_0x1f2b03,_0x1610c2,_0x2f515b,_0x1111e1,_0x2f1973,0x4,_0x3af24e[0x24]),_0x1111e1=_0x180ad2(_0x1111e1,_0x1f2b03,_0x1610c2,_0x2f515b,_0x177c20,0xb,_0x3af24e[0x25]),_0x2f515b=_0x180ad2(_0x2f515b,_0x1111e1,_0x1f2b03,_0x1610c2,_0x219ab7,0x10,_0x3af24e[0x26]),_0x1610c2=_0x180ad2(_0x1610c2,_0x2f515b,_0x1111e1,_0x1f2b03,_0x595e62,0x17,_0x3af24e[0x27]),_0x1f2b03=_0x180ad2(_0x1f2b03,_0x1610c2,_0x2f515b,_0x1111e1,_0x49748e,0x4,_0x3af24e[0x28]),_0x1111e1=_0x180ad2(_0x1111e1,_0x1f2b03,_0x1610c2,_0x2f515b,_0xedb0eb,0xb,_0x3af24e[0x29]),_0x2f515b=_0x180ad2(_0x2f515b,_0x1111e1,_0x1f2b03,_0x1610c2,_0x456cc4,0x10,_0x3af24e[0x2a]),_0x1610c2=_0x180ad2(_0x1610c2,_0x2f515b,_0x1111e1,_0x1f2b03,_0x5b4523,0x17,_0x3af24e[0x2b]),_0x1f2b03=_0x180ad2(_0x1f2b03,_0x1610c2,_0x2f515b,_0x1111e1,_0x2735d5,0x4,_0x3af24e[0x2c]),_0x1111e1=_0x180ad2(_0x1111e1,_0x1f2b03,_0x1610c2,_0x2f515b,_0x2284fb,0xb,_0x3af24e[0x2d]),_0x2f515b=_0x180ad2(_0x2f515b,_0x1111e1,_0x1f2b03,_0x1610c2,_0x13b05e,0x10,_0x3af24e[0x2e]),_0x1610c2=_0x180ad2(_0x1610c2,_0x2f515b,_0x1111e1,_0x1f2b03,_0x3f28eb,0x17,_0x3af24e[0x2f]),_0x1f2b03=_0x2127dd(_0x1f2b03,_0x1610c2,_0x2f515b,_0x1111e1,_0xedb0eb,0x6,_0x3af24e[0x30]),_0x1111e1=_0x2127dd(_0x1111e1,_0x1f2b03,_0x1610c2,_0x2f515b,_0x219ab7,0xa,_0x3af24e[0x31]),_0x2f515b=_0x2127dd(_0x2f515b,_0x1111e1,_0x1f2b03,_0x1610c2,_0x1fd82c,0xf,_0x3af24e[0x32]),_0x1610c2=_0x2127dd(_0x1610c2,_0x2f515b,_0x1111e1,_0x1f2b03,_0x2b7488,0x15,_0x3af24e[0x33]),_0x1f2b03=_0x2127dd(_0x1f2b03,_0x1610c2,_0x2f515b,_0x1111e1,_0x2284fb,0x6,_0x3af24e[0x34]),_0x1111e1=_0x2127dd(_0x1111e1,_0x1f2b03,_0x1610c2,_0x2f515b,_0x456cc4,0xa,_0x3af24e[0x35]),_0x2f515b=_0x2127dd(_0x2f515b,_0x1111e1,_0x1f2b03,_0x1610c2,_0x595e62,0xf,_0x3af24e[0x36]),_0x1610c2=_0x2127dd(_0x1610c2,_0x2f515b,_0x1111e1,_0x1f2b03,_0x2f1973,0x15,_0x3af24e[0x37]),_0x1f2b03=_0x2127dd(_0x1f2b03,_0x1610c2,_0x2f515b,_0x1111e1,_0x20e9d0,0x6,_0x3af24e[0x38]),_0x1111e1=_0x2127dd(_0x1111e1,_0x1f2b03,_0x1610c2,_0x2f515b,_0x13b05e,0xa,_0x3af24e[0x39]),_0x2f515b=_0x2127dd(_0x2f515b,_0x1111e1,_0x1f2b03,_0x1610c2,_0x5b4523,0xf,_0x3af24e[0x3a]),_0x1610c2=_0x2127dd(_0x1610c2,_0x2f515b,_0x1111e1,_0x1f2b03,_0x49748e,0x15,_0x3af24e[0x3b]),_0x1f2b03=_0x2127dd(_0x1f2b03,_0x1610c2,_0x2f515b,_0x1111e1,_0x177c20,0x6,_0x3af24e[0x3c]),_0x1111e1=_0x2127dd(_0x1111e1,_0x1f2b03,_0x1610c2,_0x2f515b,_0x83f4b7,0xa,_0x3af24e[0x3d]),_0x2f515b=_0x2127dd(_0x2f515b,_0x1111e1,_0x1f2b03,_0x1610c2,_0x3f28eb,0xf,_0x3af24e[0x3e]),_0x1610c2=_0x2127dd(_0x1610c2,_0x2f515b,_0x1111e1,_0x1f2b03,_0x2735d5,0x15,_0x3af24e[0x3f]),_0x23ba58[0x0]=_0x23ba58[0x0]+_0x1f2b03|0x0,_0x23ba58[0x1]=_0x23ba58[0x1]+_0x1610c2|0x0,_0x23ba58[0x2]=_0x23ba58[0x2]+_0x2f515b|0x0,_0x23ba58[0x3]=_0x23ba58[0x3]+_0x1111e1|0x0;},'_doFinalize':function(){const _0x4aba58=_0x1d667b;var _0x1b7fcf=this[_0x4aba58(0x579)],_0x2f2a82=_0x1b7fcf[_0x4aba58(0x3f6)],_0x300aa1=this[_0x4aba58(0x32b)]*0x8,_0x375af2=_0x1b7fcf[_0x4aba58(0x455)]*0x8;_0x2f2a82[_0x375af2>>>0x5]|=0x80<<0x18-_0x375af2%0x20;var _0x1dd033=_0x335a3a[_0x4aba58(0x2f6)](_0x300aa1/0x100000000),_0x1f318c=_0x300aa1;_0x2f2a82[(_0x375af2+0x40>>>0x9<<0x4)+0xf]=(_0x1dd033<<0x8|_0x1dd033>>>0x18)&0xff00ff|(_0x1dd033<<0x18|_0x1dd033>>>0x8)&0xff00ff00,_0x2f2a82[(_0x375af2+0x40>>>0x9<<0x4)+0xe]=(_0x1f318c<<0x8|_0x1f318c>>>0x18)&0xff00ff|(_0x1f318c<<0x18|_0x1f318c>>>0x8)&0xff00ff00,_0x1b7fcf[_0x4aba58(0x455)]=(_0x2f2a82[_0x4aba58(0x490)]+0x1)*0x4,this['_process']();for(var _0x30d277=this[_0x4aba58(0x43d)],_0x282f1e=_0x30d277['words'],_0x5392c3=0x0;_0x5392c3<0x4;_0x5392c3++){var _0x3096e5=_0x282f1e[_0x5392c3];_0x282f1e[_0x5392c3]=(_0x3096e5<<0x8|_0x3096e5>>>0x18)&0xff00ff|(_0x3096e5<<0x18|_0x3096e5>>>0x8)&0xff00ff00;}return _0x30d277;},'clone':function(){const _0x2bd639=_0x1d667b;var _0x3ae81c=_0x1ddd4e[_0x2bd639(0x445)][_0x2bd639(0x450)](this);return _0x3ae81c['_hash']=this[_0x2bd639(0x43d)][_0x2bd639(0x445)](),_0x3ae81c;}});function _0x3d39c1(_0xcfe595,_0x38fd1f,_0x19e1f5,_0x34aff5,_0x34f673,_0xc1ac27,_0x541af2){var _0x41eb0c=_0xcfe595+(_0x38fd1f&_0x19e1f5|~_0x38fd1f&_0x34aff5)+_0x34f673+_0x541af2;return(_0x41eb0c<<_0xc1ac27|_0x41eb0c>>>0x20-_0xc1ac27)+_0x38fd1f;}function _0x1f29b6(_0x51b8b3,_0xc6d9ba,_0x4ddeb4,_0x4d727f,_0x34176c,_0x54f0bb,_0x139877){var _0x2c8adb=_0x51b8b3+(_0xc6d9ba&_0x4d727f|_0x4ddeb4&~_0x4d727f)+_0x34176c+_0x139877;return(_0x2c8adb<<_0x54f0bb|_0x2c8adb>>>0x20-_0x54f0bb)+_0xc6d9ba;}function _0x180ad2(_0x4a46c2,_0x10009e,_0x1184ed,_0xd0b6bd,_0x64484,_0x14d7cc,_0x4dc7f6){var _0x70d8a1=_0x4a46c2+(_0x10009e^_0x1184ed^_0xd0b6bd)+_0x64484+_0x4dc7f6;return(_0x70d8a1<<_0x14d7cc|_0x70d8a1>>>0x20-_0x14d7cc)+_0x10009e;}function _0x2127dd(_0x2472d2,_0x55ee5e,_0x59c45d,_0x5dd832,_0x2c351a,_0x2aa493,_0xda5b17){var _0x46fbc8=_0x2472d2+(_0x59c45d^(_0x55ee5e|~_0x5dd832))+_0x2c351a+_0xda5b17;return(_0x46fbc8<<_0x2aa493|_0x46fbc8>>>0x20-_0x2aa493)+_0x55ee5e;}_0x373e43['MD5']=_0x1ddd4e[_0x1d667b(0x3df)](_0x41f502),_0x373e43['HmacMD5']=_0x1ddd4e[_0x1d667b(0x475)](_0x41f502);}(Math),_0x305651[_0x3b5b4e(0x565)];}));}(Gt)),Gt[_0x142756(0x3b6)];}var Yt={'exports':{}},Kt={'exports':{}},Qs;function xa(){const _0x150bc3=_0x494e14;return Qs||(Qs=0x1,function(_0x3526f0,_0x47f104){(function(_0x1ceec9,_0x34257d){const _0x227b82=_0x5d20;_0x3526f0[_0x227b82(0x3b6)]=_0x34257d(ue());}(Z,function(_0xc6ae2c){const _0x111b02=_0x5d20;return(function(){const _0x34a4c6=_0x5d20;var _0x302d96=_0xc6ae2c,_0x16000d=_0x302d96[_0x34a4c6(0x45c)],_0xf04d16=_0x16000d[_0x34a4c6(0x4ce)],_0x1fe23d=_0x16000d['Hasher'],_0x4e211d=_0x302d96[_0x34a4c6(0x439)],_0x265c49=[],_0x33b4f4=_0x4e211d[_0x34a4c6(0x526)]=_0x1fe23d['extend']({'_doReset':function(){const _0x3f098d=_0x34a4c6;this[_0x3f098d(0x43d)]=new _0xf04d16[(_0x3f098d(0x33f))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x211827,_0x569a60){for(var _0xfe1267=this['_hash']['words'],_0x33fb2=_0xfe1267[0x0],_0xdfd7b8=_0xfe1267[0x1],_0x1502ac=_0xfe1267[0x2],_0x5e0c73=_0xfe1267[0x3],_0x54a2ac=_0xfe1267[0x4],_0x20b347=0x0;_0x20b347<0x50;_0x20b347++){if(_0x20b347<0x10)_0x265c49[_0x20b347]=_0x211827[_0x569a60+_0x20b347]|0x0;else{var _0x3eaca1=_0x265c49[_0x20b347-0x3]^_0x265c49[_0x20b347-0x8]^_0x265c49[_0x20b347-0xe]^_0x265c49[_0x20b347-0x10];_0x265c49[_0x20b347]=_0x3eaca1<<0x1|_0x3eaca1>>>0x1f;}var _0x221083=(_0x33fb2<<0x5|_0x33fb2>>>0x1b)+_0x54a2ac+_0x265c49[_0x20b347];_0x20b347<0x14?_0x221083+=(_0xdfd7b8&_0x1502ac|~_0xdfd7b8&_0x5e0c73)+0x5a827999:_0x20b347<0x28?_0x221083+=(_0xdfd7b8^_0x1502ac^_0x5e0c73)+0x6ed9eba1:_0x20b347<0x3c?_0x221083+=(_0xdfd7b8&_0x1502ac|_0xdfd7b8&_0x5e0c73|_0x1502ac&_0x5e0c73)-0x70e44324:_0x221083+=(_0xdfd7b8^_0x1502ac^_0x5e0c73)-0x359d3e2a,_0x54a2ac=_0x5e0c73,_0x5e0c73=_0x1502ac,_0x1502ac=_0xdfd7b8<<0x1e|_0xdfd7b8>>>0x2,_0xdfd7b8=_0x33fb2,_0x33fb2=_0x221083;}_0xfe1267[0x0]=_0xfe1267[0x0]+_0x33fb2|0x0,_0xfe1267[0x1]=_0xfe1267[0x1]+_0xdfd7b8|0x0,_0xfe1267[0x2]=_0xfe1267[0x2]+_0x1502ac|0x0,_0xfe1267[0x3]=_0xfe1267[0x3]+_0x5e0c73|0x0,_0xfe1267[0x4]=_0xfe1267[0x4]+_0x54a2ac|0x0;},'_doFinalize':function(){const _0x365157=_0x34a4c6;var _0x599e12=this['_data'],_0x3048c0=_0x599e12['words'],_0x560707=this[_0x365157(0x32b)]*0x8,_0x193436=_0x599e12[_0x365157(0x455)]*0x8;return _0x3048c0[_0x193436>>>0x5]|=0x80<<0x18-_0x193436%0x20,_0x3048c0[(_0x193436+0x40>>>0x9<<0x4)+0xe]=Math[_0x365157(0x2f6)](_0x560707/0x100000000),_0x3048c0[(_0x193436+0x40>>>0x9<<0x4)+0xf]=_0x560707,_0x599e12[_0x365157(0x455)]=_0x3048c0['length']*0x4,this[_0x365157(0x5d2)](),this[_0x365157(0x43d)];},'clone':function(){const _0x3d2b51=_0x34a4c6;var _0x2fe0a3=_0x1fe23d[_0x3d2b51(0x445)][_0x3d2b51(0x450)](this);return _0x2fe0a3['_hash']=this['_hash'][_0x3d2b51(0x445)](),_0x2fe0a3;}});_0x302d96[_0x34a4c6(0x526)]=_0x1fe23d[_0x34a4c6(0x3df)](_0x33b4f4),_0x302d96[_0x34a4c6(0x3bb)]=_0x1fe23d[_0x34a4c6(0x475)](_0x33b4f4);}()),_0xc6ae2c[_0x111b02(0x526)];}));}(Kt)),Kt[_0x150bc3(0x3b6)];}var zt={'exports':{}},ei;function La(){const _0x5c3240=_0x494e14;return ei||(ei=0x1,function(_0x4fe84a,_0x5dff2b){(function(_0x58713e,_0x298297){const _0x3fd368=_0x5d20;_0x4fe84a[_0x3fd368(0x3b6)]=_0x298297(ue());}(Z,function(_0x52742d){(function(){const _0x25902f=_0x5d20;var _0x23e312=_0x52742d,_0x159e1f=_0x23e312[_0x25902f(0x45c)],_0x148d40=_0x159e1f[_0x25902f(0x5d8)],_0x281282=_0x23e312[_0x25902f(0x407)],_0x11d0fb=_0x281282[_0x25902f(0x459)],_0x35d1b2=_0x23e312[_0x25902f(0x439)];_0x35d1b2[_0x25902f(0x3cb)]=_0x148d40[_0x25902f(0x538)]({'init':function(_0x43da28,_0xe2c0e9){const _0x1c9866=_0x25902f;_0x43da28=this[_0x1c9866(0x489)]=new _0x43da28[(_0x1c9866(0x33f))](),typeof _0xe2c0e9==_0x1c9866(0x550)&&(_0xe2c0e9=_0x11d0fb[_0x1c9866(0x39a)](_0xe2c0e9));var _0x6667cf=_0x43da28[_0x1c9866(0x213)],_0x1b1057=_0x6667cf*0x4;_0xe2c0e9[_0x1c9866(0x455)]>_0x1b1057&&(_0xe2c0e9=_0x43da28[_0x1c9866(0x303)](_0xe2c0e9)),_0xe2c0e9[_0x1c9866(0x5c0)]();for(var _0x28e128=this['_oKey']=_0xe2c0e9[_0x1c9866(0x445)](),_0x293e80=this['_iKey']=_0xe2c0e9[_0x1c9866(0x445)](),_0x171f88=_0x28e128[_0x1c9866(0x3f6)],_0x209961=_0x293e80[_0x1c9866(0x3f6)],_0x5cb270=0x0;_0x5cb270<_0x6667cf;_0x5cb270++)_0x171f88[_0x5cb270]^=0x5c5c5c5c,_0x209961[_0x5cb270]^=0x36363636;_0x28e128['sigBytes']=_0x293e80[_0x1c9866(0x455)]=_0x1b1057,this[_0x1c9866(0x5a9)]();},'reset':function(){const _0x934e0c=_0x25902f;var _0x4c69dd=this['_hasher'];_0x4c69dd[_0x934e0c(0x5a9)](),_0x4c69dd[_0x934e0c(0x44b)](this['_iKey']);},'update':function(_0x57a8d5){const _0x434342=_0x25902f;return this[_0x434342(0x489)][_0x434342(0x44b)](_0x57a8d5),this;},'finalize':function(_0x3d0691){const _0x1e0edb=_0x25902f;var _0x9b5699=this[_0x1e0edb(0x489)],_0x4b63bf=_0x9b5699['finalize'](_0x3d0691);_0x9b5699[_0x1e0edb(0x5a9)]();var _0x32d15c=_0x9b5699[_0x1e0edb(0x303)](this[_0x1e0edb(0x4f1)][_0x1e0edb(0x445)]()['concat'](_0x4b63bf));return _0x32d15c;}});}());}));}(zt)),zt[_0x5c3240(0x3b6)];}var ti;function ki(){const _0x230722=_0x494e14;return ti||(ti=0x1,function(_0x5e45e0,_0x26f9fc){(function(_0x53215c,_0x4509d0,_0x49c597){_0x5e45e0['exports']=_0x4509d0(ue(),xa(),La());}(Z,function(_0x6e593e){const _0x1f8d96=_0x5d20;return(function(){const _0x116a76=_0x5d20;var _0x461c0d=_0x6e593e,_0x80c2ff=_0x461c0d[_0x116a76(0x45c)],_0x2e0fff=_0x80c2ff[_0x116a76(0x5d8)],_0x43d4cc=_0x80c2ff[_0x116a76(0x4ce)],_0x84975f=_0x461c0d[_0x116a76(0x439)],_0x24ffab=_0x84975f['MD5'],_0x4a40d1=_0x84975f[_0x116a76(0x40b)]=_0x2e0fff[_0x116a76(0x538)]({'cfg':_0x2e0fff[_0x116a76(0x538)]({'keySize':0x80/0x20,'hasher':_0x24ffab,'iterations':0x1}),'init':function(_0x4f6427){const _0x51a824=_0x116a76;this[_0x51a824(0x5ec)]=this[_0x51a824(0x5ec)][_0x51a824(0x538)](_0x4f6427);},'compute':function(_0x43d51c,_0x3fe41d){const _0x1c7cdb=_0x116a76;for(var _0x17b975,_0x2380af=this[_0x1c7cdb(0x5ec)],_0x484d2f=_0x2380af[_0x1c7cdb(0x263)][_0x1c7cdb(0x21b)](),_0x13fc8f=_0x43d4cc[_0x1c7cdb(0x21b)](),_0x532b7d=_0x13fc8f[_0x1c7cdb(0x3f6)],_0x1e00bd=_0x2380af['keySize'],_0x5d1b3f=_0x2380af[_0x1c7cdb(0x27a)];_0x532b7d[_0x1c7cdb(0x490)]<_0x1e00bd;){_0x17b975&&_0x484d2f[_0x1c7cdb(0x44b)](_0x17b975),_0x17b975=_0x484d2f[_0x1c7cdb(0x44b)](_0x43d51c)[_0x1c7cdb(0x303)](_0x3fe41d),_0x484d2f[_0x1c7cdb(0x5a9)]();for(var _0x1f5dce=0x1;_0x1f5dce<_0x5d1b3f;_0x1f5dce++)_0x17b975=_0x484d2f[_0x1c7cdb(0x303)](_0x17b975),_0x484d2f[_0x1c7cdb(0x5a9)]();_0x13fc8f[_0x1c7cdb(0x437)](_0x17b975);}return _0x13fc8f[_0x1c7cdb(0x455)]=_0x1e00bd*0x4,_0x13fc8f;}});_0x461c0d[_0x116a76(0x40b)]=function(_0x588198,_0xa290ce,_0x4e094d){const _0x301520=_0x116a76;return _0x4a40d1['create'](_0x4e094d)[_0x301520(0x4a9)](_0x588198,_0xa290ce);};}()),_0x6e593e[_0x1f8d96(0x40b)];}));}(Yt)),Yt[_0x230722(0x3b6)];}var qt={'exports':{}},si;function Wi(){return si||(si=0x1,function(_0x2906a4,_0x52412e){(function(_0xe40113,_0x44c1df,_0x5bb7e7){const _0x2e0239=_0x5d20;_0x2906a4[_0x2e0239(0x3b6)]=_0x44c1df(ue(),ki());}(Z,function(_0x3a4477){_0x3a4477['lib']['Cipher']||function(_0x11540f){const _0x14adfb=_0x5d20;var _0x48ffdf=_0x3a4477,_0x5a1193=_0x48ffdf[_0x14adfb(0x45c)],_0x3cf755=_0x5a1193['Base'],_0x1c387d=_0x5a1193[_0x14adfb(0x4ce)],_0x5d1fb2=_0x5a1193[_0x14adfb(0x3b0)],_0x2639a4=_0x48ffdf[_0x14adfb(0x407)];_0x2639a4[_0x14adfb(0x459)];var _0x1d3b8a=_0x2639a4[_0x14adfb(0x49b)],_0xf19805=_0x48ffdf[_0x14adfb(0x439)],_0x41735d=_0xf19805['EvpKDF'],_0x302eb9=_0x5a1193[_0x14adfb(0x224)]=_0x5d1fb2[_0x14adfb(0x538)]({'cfg':_0x3cf755[_0x14adfb(0x538)](),'createEncryptor':function(_0x3f1717,_0x436c14){const _0x48ec75=_0x14adfb;return this[_0x48ec75(0x21b)](this['_ENC_XFORM_MODE'],_0x3f1717,_0x436c14);},'createDecryptor':function(_0x8a11b5,_0x2538d6){const _0x24efbf=_0x14adfb;return this[_0x24efbf(0x21b)](this[_0x24efbf(0x505)],_0x8a11b5,_0x2538d6);},'init':function(_0x4d75c4,_0x59d05a,_0x52ca6a){const _0x44ffb6=_0x14adfb;this['cfg']=this[_0x44ffb6(0x5ec)][_0x44ffb6(0x538)](_0x52ca6a),this['_xformMode']=_0x4d75c4,this[_0x44ffb6(0x28d)]=_0x59d05a,this[_0x44ffb6(0x5a9)]();},'reset':function(){const _0x1d0083=_0x14adfb;_0x5d1fb2[_0x1d0083(0x5a9)][_0x1d0083(0x450)](this),this[_0x1d0083(0x54a)]();},'process':function(_0x480543){const _0x2cda6c=_0x14adfb;return this[_0x2cda6c(0x5b0)](_0x480543),this[_0x2cda6c(0x5d2)]();},'finalize':function(_0x22d954){const _0x50c401=_0x14adfb;_0x22d954&&this[_0x50c401(0x5b0)](_0x22d954);var _0x21a81a=this[_0x50c401(0x2a9)]();return _0x21a81a;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4b3908(_0x2e1eb1){const _0x5e8c06=_0x5d20;return typeof _0x2e1eb1==_0x5e8c06(0x550)?_0x432a8d:_0x50b1a3;}return function(_0x5b0d16){return{'encrypt':function(_0x41a89a,_0x5680d1,_0x1514ef){const _0x1e212b=_0x5d20;return _0x4b3908(_0x5680d1)[_0x1e212b(0x2c7)](_0x5b0d16,_0x41a89a,_0x5680d1,_0x1514ef);},'decrypt':function(_0x496db7,_0x5ef89c,_0x33f6af){const _0x1eba0e=_0x5d20;return _0x4b3908(_0x5ef89c)[_0x1eba0e(0x519)](_0x5b0d16,_0x496db7,_0x5ef89c,_0x33f6af);}};};}())});_0x5a1193['StreamCipher']=_0x302eb9['extend']({'_doFinalize':function(){const _0x33e006=_0x14adfb;var _0x25c5ef=this[_0x33e006(0x5d2)](!0x0);return _0x25c5ef;},'blockSize':0x1});var _0x12e9df=_0x48ffdf['mode']={},_0x2169c8=_0x5a1193[_0x14adfb(0x35f)]=_0x3cf755[_0x14adfb(0x538)]({'createEncryptor':function(_0x23a4e6,_0x51940c){const _0xa8ccc9=_0x14adfb;return this[_0xa8ccc9(0x501)]['create'](_0x23a4e6,_0x51940c);},'createDecryptor':function(_0x237df0,_0x259eb7){const _0xbcf9e4=_0x14adfb;return this[_0xbcf9e4(0x215)][_0xbcf9e4(0x21b)](_0x237df0,_0x259eb7);},'init':function(_0x327584,_0x11f981){this['_cipher']=_0x327584,this['_iv']=_0x11f981;}}),_0x4c0fc9=_0x12e9df[_0x14adfb(0x58a)]=(function(){const _0x196daa=_0x14adfb;var _0x326c66=_0x2169c8['extend']();_0x326c66[_0x196daa(0x501)]=_0x326c66['extend']({'processBlock':function(_0xa54069,_0x113af1){const _0x1b17fa=_0x196daa;var _0x5b6473=this['_cipher'],_0x1cc311=_0x5b6473['blockSize'];_0x4ad910['call'](this,_0xa54069,_0x113af1,_0x1cc311),_0x5b6473[_0x1b17fa(0x3d5)](_0xa54069,_0x113af1),this[_0x1b17fa(0x509)]=_0xa54069['slice'](_0x113af1,_0x113af1+_0x1cc311);}}),_0x326c66[_0x196daa(0x215)]=_0x326c66[_0x196daa(0x538)]({'processBlock':function(_0x1af9ba,_0x43524d){const _0x4b2511=_0x196daa;var _0x24930b=this[_0x4b2511(0x39e)],_0x321bee=_0x24930b[_0x4b2511(0x213)],_0x4109b7=_0x1af9ba[_0x4b2511(0x22c)](_0x43524d,_0x43524d+_0x321bee);_0x24930b[_0x4b2511(0x366)](_0x1af9ba,_0x43524d),_0x4ad910[_0x4b2511(0x450)](this,_0x1af9ba,_0x43524d,_0x321bee),this['_prevBlock']=_0x4109b7;}});function _0x4ad910(_0x426feb,_0x583d7f,_0x26de0d){const _0x4e467c=_0x196daa;var _0x57f976,_0x142db5=this['_iv'];_0x142db5?(_0x57f976=_0x142db5,this[_0x4e467c(0x587)]=_0x11540f):_0x57f976=this[_0x4e467c(0x509)];for(var _0x623acf=0x0;_0x623acf<_0x26de0d;_0x623acf++)_0x426feb[_0x583d7f+_0x623acf]^=_0x57f976[_0x623acf];}return _0x326c66;}()),_0x2f152f=_0x48ffdf[_0x14adfb(0x3d3)]={},_0x15f673=_0x2f152f[_0x14adfb(0x1e6)]={'pad':function(_0x3ca5eb,_0x403260){const _0x5d2932=_0x14adfb;for(var _0x52ec6b=_0x403260*0x4,_0x59bd62=_0x52ec6b-_0x3ca5eb[_0x5d2932(0x455)]%_0x52ec6b,_0x1b4274=_0x59bd62<<0x18|_0x59bd62<<0x10|_0x59bd62<<0x8|_0x59bd62,_0x2ec992=[],_0x1de34d=0x0;_0x1de34d<_0x59bd62;_0x1de34d+=0x4)_0x2ec992[_0x5d2932(0x271)](_0x1b4274);var _0x2a9597=_0x1c387d['create'](_0x2ec992,_0x59bd62);_0x3ca5eb[_0x5d2932(0x437)](_0x2a9597);},'unpad':function(_0x1cf774){const _0x28002b=_0x14adfb;var _0x3f460f=_0x1cf774['words'][_0x1cf774['sigBytes']-0x1>>>0x2]&0xff;_0x1cf774[_0x28002b(0x455)]-=_0x3f460f;}};_0x5a1193[_0x14adfb(0x30e)]=_0x302eb9[_0x14adfb(0x538)]({'cfg':_0x302eb9['cfg']['extend']({'mode':_0x4c0fc9,'padding':_0x15f673}),'reset':function(){const _0x535167=_0x14adfb;var _0x3caf84;_0x302eb9[_0x535167(0x5a9)][_0x535167(0x450)](this);var _0x400e77=this[_0x535167(0x5ec)],_0x40f7ac=_0x400e77['iv'],_0x460c6b=_0x400e77[_0x535167(0x22a)];this[_0x535167(0x1ec)]==this[_0x535167(0x5ad)]?_0x3caf84=_0x460c6b[_0x535167(0x339)]:(_0x3caf84=_0x460c6b[_0x535167(0x35e)],this['_minBufferSize']=0x1),this['_mode']&&this[_0x535167(0x51c)][_0x535167(0x37f)]==_0x3caf84?this['_mode'][_0x535167(0x33f)](this,_0x40f7ac&&_0x40f7ac[_0x535167(0x3f6)]):(this[_0x535167(0x51c)]=_0x3caf84['call'](_0x460c6b,this,_0x40f7ac&&_0x40f7ac[_0x535167(0x3f6)]),this['_mode']['__creator']=_0x3caf84);},'_doProcessBlock':function(_0x25284b,_0x14dfc){const _0x136236=_0x14adfb;this[_0x136236(0x51c)][_0x136236(0x396)](_0x25284b,_0x14dfc);},'_doFinalize':function(){const _0x5c6676=_0x14adfb;var _0x226fe7,_0x27bed2=this[_0x5c6676(0x5ec)][_0x5c6676(0x2f0)];return this[_0x5c6676(0x1ec)]==this[_0x5c6676(0x5ad)]?(_0x27bed2['pad'](this['_data'],this[_0x5c6676(0x213)]),_0x226fe7=this[_0x5c6676(0x5d2)](!0x0)):(_0x226fe7=this['_process'](!0x0),_0x27bed2[_0x5c6676(0x558)](_0x226fe7)),_0x226fe7;},'blockSize':0x80/0x20});var _0x1357d9=_0x5a1193[_0x14adfb(0x352)]=_0x3cf755[_0x14adfb(0x538)]({'init':function(_0x5ba0d8){this['mixIn'](_0x5ba0d8);},'toString':function(_0x4771d5){const _0x5a8608=_0x14adfb;return(_0x4771d5||this['formatter'])[_0x5a8608(0x415)](this);}}),_0x104592=_0x48ffdf[_0x14adfb(0x3ad)]={},_0x45abb5=_0x104592[_0x14adfb(0x47c)]={'stringify':function(_0x54cc5c){const _0x4ca2b7=_0x14adfb;var _0x770d40,_0x2bf3c1=_0x54cc5c['ciphertext'],_0x3780a9=_0x54cc5c['salt'];return _0x3780a9?_0x770d40=_0x1c387d[_0x4ca2b7(0x21b)]([0x53616c74,0x65645f5f])[_0x4ca2b7(0x437)](_0x3780a9)[_0x4ca2b7(0x437)](_0x2bf3c1):_0x770d40=_0x2bf3c1,_0x770d40['toString'](_0x1d3b8a);},'parse':function(_0x25e351){const _0x2b2133=_0x14adfb;var _0x2aacb4,_0x28ee15=_0x1d3b8a[_0x2b2133(0x39a)](_0x25e351),_0x4d2b67=_0x28ee15['words'];return _0x4d2b67[0x0]==0x53616c74&&_0x4d2b67[0x1]==0x65645f5f&&(_0x2aacb4=_0x1c387d[_0x2b2133(0x21b)](_0x4d2b67[_0x2b2133(0x22c)](0x2,0x4)),_0x4d2b67[_0x2b2133(0x2bb)](0x0,0x4),_0x28ee15[_0x2b2133(0x455)]-=0x10),_0x1357d9[_0x2b2133(0x21b)]({'ciphertext':_0x28ee15,'salt':_0x2aacb4});}},_0x50b1a3=_0x5a1193[_0x14adfb(0x28a)]=_0x3cf755['extend']({'cfg':_0x3cf755[_0x14adfb(0x538)]({'format':_0x45abb5}),'encrypt':function(_0x10bf78,_0x7b6951,_0xa2514a,_0x488e74){const _0x5265a6=_0x14adfb;_0x488e74=this[_0x5265a6(0x5ec)][_0x5265a6(0x538)](_0x488e74);var _0x88d799=_0x10bf78[_0x5265a6(0x339)](_0xa2514a,_0x488e74),_0x374ab3=_0x88d799[_0x5265a6(0x303)](_0x7b6951),_0x2bd614=_0x88d799['cfg'];return _0x1357d9[_0x5265a6(0x21b)]({'ciphertext':_0x374ab3,'key':_0xa2514a,'iv':_0x2bd614['iv'],'algorithm':_0x10bf78,'mode':_0x2bd614[_0x5265a6(0x22a)],'padding':_0x2bd614[_0x5265a6(0x2f0)],'blockSize':_0x10bf78[_0x5265a6(0x213)],'formatter':_0x488e74[_0x5265a6(0x3ad)]});},'decrypt':function(_0x4de88a,_0x2498d0,_0x38f702,_0x94dd6a){const _0xde27cb=_0x14adfb;_0x94dd6a=this[_0xde27cb(0x5ec)][_0xde27cb(0x538)](_0x94dd6a),_0x2498d0=this[_0xde27cb(0x3de)](_0x2498d0,_0x94dd6a[_0xde27cb(0x3ad)]);var _0x3e9f11=_0x4de88a['createDecryptor'](_0x38f702,_0x94dd6a)[_0xde27cb(0x303)](_0x2498d0['ciphertext']);return _0x3e9f11;},'_parse':function(_0x5bbb46,_0x3c2c3a){const _0x39f0a4=_0x14adfb;return typeof _0x5bbb46==_0x39f0a4(0x550)?_0x3c2c3a[_0x39f0a4(0x39a)](_0x5bbb46,this):_0x5bbb46;}}),_0x214fdc=_0x48ffdf[_0x14adfb(0x212)]={},_0x555a32=_0x214fdc[_0x14adfb(0x47c)]={'execute':function(_0x5710f6,_0x387d3f,_0x1fb583,_0x2915a7,_0x24aac8){const _0x28dcba=_0x14adfb;if(_0x2915a7||(_0x2915a7=_0x1c387d[_0x28dcba(0x5db)](0x40/0x8)),_0x24aac8)var _0x5807cc=_0x41735d['create']({'keySize':_0x387d3f+_0x1fb583,'hasher':_0x24aac8})[_0x28dcba(0x4a9)](_0x5710f6,_0x2915a7);else var _0x5807cc=_0x41735d['create']({'keySize':_0x387d3f+_0x1fb583})[_0x28dcba(0x4a9)](_0x5710f6,_0x2915a7);var _0x53faa9=_0x1c387d['create'](_0x5807cc['words']['slice'](_0x387d3f),_0x1fb583*0x4);return _0x5807cc[_0x28dcba(0x455)]=_0x387d3f*0x4,_0x1357d9[_0x28dcba(0x21b)]({'key':_0x5807cc,'iv':_0x53faa9,'salt':_0x2915a7});}},_0x432a8d=_0x5a1193[_0x14adfb(0x220)]=_0x50b1a3[_0x14adfb(0x538)]({'cfg':_0x50b1a3[_0x14adfb(0x5ec)][_0x14adfb(0x538)]({'kdf':_0x555a32}),'encrypt':function(_0x33bc89,_0x3cb309,_0x13bc5f,_0x2101c0){const _0x2d7db6=_0x14adfb;_0x2101c0=this['cfg']['extend'](_0x2101c0);var _0x271a8d=_0x2101c0[_0x2d7db6(0x212)][_0x2d7db6(0x53e)](_0x13bc5f,_0x33bc89[_0x2d7db6(0x2f2)],_0x33bc89[_0x2d7db6(0x43e)],_0x2101c0['salt'],_0x2101c0[_0x2d7db6(0x263)]);_0x2101c0['iv']=_0x271a8d['iv'];var _0x2ff686=_0x50b1a3[_0x2d7db6(0x2c7)]['call'](this,_0x33bc89,_0x3cb309,_0x271a8d[_0x2d7db6(0x3d4)],_0x2101c0);return _0x2ff686['mixIn'](_0x271a8d),_0x2ff686;},'decrypt':function(_0x1de48f,_0x352d77,_0x3f8a9f,_0xfcb9c8){const _0x3347f7=_0x14adfb;_0xfcb9c8=this['cfg'][_0x3347f7(0x538)](_0xfcb9c8),_0x352d77=this[_0x3347f7(0x3de)](_0x352d77,_0xfcb9c8[_0x3347f7(0x3ad)]);var _0x4bc4db=_0xfcb9c8['kdf'][_0x3347f7(0x53e)](_0x3f8a9f,_0x1de48f[_0x3347f7(0x2f2)],_0x1de48f['ivSize'],_0x352d77['salt'],_0xfcb9c8[_0x3347f7(0x263)]);_0xfcb9c8['iv']=_0x4bc4db['iv'];var _0x4e780a=_0x50b1a3[_0x3347f7(0x519)][_0x3347f7(0x450)](this,_0x1de48f,_0x352d77,_0x4bc4db['key'],_0xfcb9c8);return _0x4e780a;}});}();}));}(qt)),qt['exports'];}(function(_0xb056ee,_0x30af65){(function(_0xc8f61c,_0x573f2e,_0x56aec){_0xb056ee['exports']=_0x573f2e(ue(),Bi(),Ma(),ki(),Wi());}(Z,function(_0x183633){return(function(){const _0x4f6af9=_0x5d20;var _0x2cc72b=_0x183633,_0x274b35=_0x2cc72b['lib'],_0x3e65e7=_0x274b35['BlockCipher'],_0x101f8c=_0x2cc72b['algo'],_0x903dcd=[],_0x45910e=[],_0x2d72ea=[],_0x134a6b=[],_0x45526f=[],_0x142bcd=[],_0x3284e6=[],_0x7c882f=[],_0x3f6689=[],_0x5136c7=[];(function(){for(var _0x49eab3=[],_0xcd357a=0x0;_0xcd357a<0x100;_0xcd357a++)_0xcd357a<0x80?_0x49eab3[_0xcd357a]=_0xcd357a<<0x1:_0x49eab3[_0xcd357a]=_0xcd357a<<0x1^0x11b;for(var _0x22ceab=0x0,_0x55d478=0x0,_0xcd357a=0x0;_0xcd357a<0x100;_0xcd357a++){var _0x181588=_0x55d478^_0x55d478<<0x1^_0x55d478<<0x2^_0x55d478<<0x3^_0x55d478<<0x4;_0x181588=_0x181588>>>0x8^_0x181588&0xff^0x63,_0x903dcd[_0x22ceab]=_0x181588,_0x45910e[_0x181588]=_0x22ceab;var _0x501fdd=_0x49eab3[_0x22ceab],_0x181ea4=_0x49eab3[_0x501fdd],_0x5d1ea5=_0x49eab3[_0x181ea4],_0x29fd28=_0x49eab3[_0x181588]*0x101^_0x181588*0x1010100;_0x2d72ea[_0x22ceab]=_0x29fd28<<0x18|_0x29fd28>>>0x8,_0x134a6b[_0x22ceab]=_0x29fd28<<0x10|_0x29fd28>>>0x10,_0x45526f[_0x22ceab]=_0x29fd28<<0x8|_0x29fd28>>>0x18,_0x142bcd[_0x22ceab]=_0x29fd28;var _0x29fd28=_0x5d1ea5*0x1010101^_0x181ea4*0x10001^_0x501fdd*0x101^_0x22ceab*0x1010100;_0x3284e6[_0x181588]=_0x29fd28<<0x18|_0x29fd28>>>0x8,_0x7c882f[_0x181588]=_0x29fd28<<0x10|_0x29fd28>>>0x10,_0x3f6689[_0x181588]=_0x29fd28<<0x8|_0x29fd28>>>0x18,_0x5136c7[_0x181588]=_0x29fd28,_0x22ceab?(_0x22ceab=_0x501fdd^_0x49eab3[_0x49eab3[_0x49eab3[_0x5d1ea5^_0x501fdd]]],_0x55d478^=_0x49eab3[_0x49eab3[_0x55d478]]):_0x22ceab=_0x55d478=0x1;}}());var _0x14c5b7=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3408d4=_0x101f8c[_0x4f6af9(0x3a5)]=_0x3e65e7[_0x4f6af9(0x538)]({'_doReset':function(){const _0x3d9430=_0x4f6af9;var _0x57ea86;if(!(this[_0x3d9430(0x28f)]&&this['_keyPriorReset']===this[_0x3d9430(0x28d)])){for(var _0x3e8046=this[_0x3d9430(0x31e)]=this[_0x3d9430(0x28d)],_0x2dc7ad=_0x3e8046['words'],_0x5cde3d=_0x3e8046[_0x3d9430(0x455)]/0x4,_0x4eaf81=this[_0x3d9430(0x28f)]=_0x5cde3d+0x6,_0x526bd3=(_0x4eaf81+0x1)*0x4,_0x10356d=this['_keySchedule']=[],_0x4731dd=0x0;_0x4731dd<_0x526bd3;_0x4731dd++)_0x4731dd<_0x5cde3d?_0x10356d[_0x4731dd]=_0x2dc7ad[_0x4731dd]:(_0x57ea86=_0x10356d[_0x4731dd-0x1],_0x4731dd%_0x5cde3d?_0x5cde3d>0x6&&_0x4731dd%_0x5cde3d==0x4&&(_0x57ea86=_0x903dcd[_0x57ea86>>>0x18]<<0x18|_0x903dcd[_0x57ea86>>>0x10&0xff]<<0x10|_0x903dcd[_0x57ea86>>>0x8&0xff]<<0x8|_0x903dcd[_0x57ea86&0xff]):(_0x57ea86=_0x57ea86<<0x8|_0x57ea86>>>0x18,_0x57ea86=_0x903dcd[_0x57ea86>>>0x18]<<0x18|_0x903dcd[_0x57ea86>>>0x10&0xff]<<0x10|_0x903dcd[_0x57ea86>>>0x8&0xff]<<0x8|_0x903dcd[_0x57ea86&0xff],_0x57ea86^=_0x14c5b7[_0x4731dd/_0x5cde3d|0x0]<<0x18),_0x10356d[_0x4731dd]=_0x10356d[_0x4731dd-_0x5cde3d]^_0x57ea86);for(var _0x37ad75=this[_0x3d9430(0x3c1)]=[],_0x3f93bf=0x0;_0x3f93bf<_0x526bd3;_0x3f93bf++){var _0x4731dd=_0x526bd3-_0x3f93bf;if(_0x3f93bf%0x4)var _0x57ea86=_0x10356d[_0x4731dd];else var _0x57ea86=_0x10356d[_0x4731dd-0x4];_0x3f93bf<0x4||_0x4731dd<=0x4?_0x37ad75[_0x3f93bf]=_0x57ea86:_0x37ad75[_0x3f93bf]=_0x3284e6[_0x903dcd[_0x57ea86>>>0x18]]^_0x7c882f[_0x903dcd[_0x57ea86>>>0x10&0xff]]^_0x3f6689[_0x903dcd[_0x57ea86>>>0x8&0xff]]^_0x5136c7[_0x903dcd[_0x57ea86&0xff]];}}},'encryptBlock':function(_0x4de638,_0xe2bfac){const _0x4b02bf=_0x4f6af9;this[_0x4b02bf(0x238)](_0x4de638,_0xe2bfac,this['_keySchedule'],_0x2d72ea,_0x134a6b,_0x45526f,_0x142bcd,_0x903dcd);},'decryptBlock':function(_0x4c41e5,_0x5074f){const _0x22f58c=_0x4f6af9;var _0x1037c7=_0x4c41e5[_0x5074f+0x1];_0x4c41e5[_0x5074f+0x1]=_0x4c41e5[_0x5074f+0x3],_0x4c41e5[_0x5074f+0x3]=_0x1037c7,this[_0x22f58c(0x238)](_0x4c41e5,_0x5074f,this['_invKeySchedule'],_0x3284e6,_0x7c882f,_0x3f6689,_0x5136c7,_0x45910e);var _0x1037c7=_0x4c41e5[_0x5074f+0x1];_0x4c41e5[_0x5074f+0x1]=_0x4c41e5[_0x5074f+0x3],_0x4c41e5[_0x5074f+0x3]=_0x1037c7;},'_doCryptBlock':function(_0x110afe,_0x4dd4eb,_0x903bff,_0xdf27f5,_0x348824,_0x4758aa,_0x1a5a55,_0xd141cb){const _0x295f71=_0x4f6af9;for(var _0x55714a=this[_0x295f71(0x28f)],_0x393af1=_0x110afe[_0x4dd4eb]^_0x903bff[0x0],_0x49b837=_0x110afe[_0x4dd4eb+0x1]^_0x903bff[0x1],_0x413813=_0x110afe[_0x4dd4eb+0x2]^_0x903bff[0x2],_0x5dfa2c=_0x110afe[_0x4dd4eb+0x3]^_0x903bff[0x3],_0x2c7050=0x4,_0x1eb8dd=0x1;_0x1eb8dd<_0x55714a;_0x1eb8dd++){var _0x13f496=_0xdf27f5[_0x393af1>>>0x18]^_0x348824[_0x49b837>>>0x10&0xff]^_0x4758aa[_0x413813>>>0x8&0xff]^_0x1a5a55[_0x5dfa2c&0xff]^_0x903bff[_0x2c7050++],_0x8d6426=_0xdf27f5[_0x49b837>>>0x18]^_0x348824[_0x413813>>>0x10&0xff]^_0x4758aa[_0x5dfa2c>>>0x8&0xff]^_0x1a5a55[_0x393af1&0xff]^_0x903bff[_0x2c7050++],_0x36fee8=_0xdf27f5[_0x413813>>>0x18]^_0x348824[_0x5dfa2c>>>0x10&0xff]^_0x4758aa[_0x393af1>>>0x8&0xff]^_0x1a5a55[_0x49b837&0xff]^_0x903bff[_0x2c7050++],_0x3da62d=_0xdf27f5[_0x5dfa2c>>>0x18]^_0x348824[_0x393af1>>>0x10&0xff]^_0x4758aa[_0x49b837>>>0x8&0xff]^_0x1a5a55[_0x413813&0xff]^_0x903bff[_0x2c7050++];_0x393af1=_0x13f496,_0x49b837=_0x8d6426,_0x413813=_0x36fee8,_0x5dfa2c=_0x3da62d;}var _0x13f496=(_0xd141cb[_0x393af1>>>0x18]<<0x18|_0xd141cb[_0x49b837>>>0x10&0xff]<<0x10|_0xd141cb[_0x413813>>>0x8&0xff]<<0x8|_0xd141cb[_0x5dfa2c&0xff])^_0x903bff[_0x2c7050++],_0x8d6426=(_0xd141cb[_0x49b837>>>0x18]<<0x18|_0xd141cb[_0x413813>>>0x10&0xff]<<0x10|_0xd141cb[_0x5dfa2c>>>0x8&0xff]<<0x8|_0xd141cb[_0x393af1&0xff])^_0x903bff[_0x2c7050++],_0x36fee8=(_0xd141cb[_0x413813>>>0x18]<<0x18|_0xd141cb[_0x5dfa2c>>>0x10&0xff]<<0x10|_0xd141cb[_0x393af1>>>0x8&0xff]<<0x8|_0xd141cb[_0x49b837&0xff])^_0x903bff[_0x2c7050++],_0x3da62d=(_0xd141cb[_0x5dfa2c>>>0x18]<<0x18|_0xd141cb[_0x393af1>>>0x10&0xff]<<0x10|_0xd141cb[_0x49b837>>>0x8&0xff]<<0x8|_0xd141cb[_0x413813&0xff])^_0x903bff[_0x2c7050++];_0x110afe[_0x4dd4eb]=_0x13f496,_0x110afe[_0x4dd4eb+0x1]=_0x8d6426,_0x110afe[_0x4dd4eb+0x2]=_0x36fee8,_0x110afe[_0x4dd4eb+0x3]=_0x3da62d;},'keySize':0x100/0x20});_0x2cc72b[_0x4f6af9(0x3a5)]=_0x3e65e7[_0x4f6af9(0x3df)](_0x3408d4);}()),_0x183633['AES'];}));}(ji));var $a=ji[_0x494e14(0x3b6)];const Ha=at($a);var ja=Bi();const ii=at(ja);var Fi={'exports':{}};(function(_0x8a47e7,_0x4281e){(function(_0xd60091,_0x36f2f7){const _0x3a6d9d=_0x5d20;_0x8a47e7[_0x3a6d9d(0x3b6)]=_0x36f2f7(ue());}(Z,function(_0x5efdac){const _0x29dd0d=_0x5d20;return _0x5efdac[_0x29dd0d(0x407)][_0x29dd0d(0x459)];}));}(Fi));var Ba=Fi[_0x494e14(0x3b6)];const ka=at(Ba);var Vi={'exports':{}};(function(_0x187ac5,_0x2e48b8){(function(_0x25c8cd,_0x46cf76){const _0x1369d0=_0x5d20;_0x187ac5[_0x1369d0(0x3b6)]=_0x46cf76(ue());}(Z,function(_0x208f10){const _0x5df4be=_0x5d20;return(function(){const _0x36eaba=_0x5d20;if(typeof ArrayBuffer==_0x36eaba(0x272)){var _0x2b38b8=_0x208f10,_0x304804=_0x2b38b8[_0x36eaba(0x45c)],_0x32fbbd=_0x304804[_0x36eaba(0x4ce)],_0x31b335=_0x32fbbd[_0x36eaba(0x33f)],_0x5d9233=_0x32fbbd[_0x36eaba(0x33f)]=function(_0x2a3f5e){const _0x534887=_0x36eaba;if(_0x2a3f5e instanceof ArrayBuffer&&(_0x2a3f5e=new Uint8Array(_0x2a3f5e)),(_0x2a3f5e instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2a3f5e instanceof Uint8ClampedArray||_0x2a3f5e instanceof Int16Array||_0x2a3f5e instanceof Uint16Array||_0x2a3f5e instanceof Int32Array||_0x2a3f5e instanceof Uint32Array||_0x2a3f5e instanceof Float32Array||_0x2a3f5e instanceof Float64Array)&&(_0x2a3f5e=new Uint8Array(_0x2a3f5e[_0x534887(0x435)],_0x2a3f5e[_0x534887(0x5af)],_0x2a3f5e[_0x534887(0x4a6)])),_0x2a3f5e instanceof Uint8Array){for(var _0x3d59b2=_0x2a3f5e['byteLength'],_0x37ca81=[],_0x4f042c=0x0;_0x4f042c<_0x3d59b2;_0x4f042c++)_0x37ca81[_0x4f042c>>>0x2]|=_0x2a3f5e[_0x4f042c]<<0x18-_0x4f042c%0x4*0x8;_0x31b335[_0x534887(0x450)](this,_0x37ca81,_0x3d59b2);}else _0x31b335[_0x534887(0x262)](this,arguments);};_0x5d9233['prototype']=_0x32fbbd;}}()),_0x208f10[_0x5df4be(0x45c)]['WordArray'];}));}(Vi));var Wa=Vi['exports'];const Fa=at(Wa);var Gi={'exports':{}};(function(_0x443c30,_0x46d6b4){(function(_0x230139,_0x5bad88,_0x3cfa5b){const _0x406d88=_0x5d20;_0x443c30[_0x406d88(0x3b6)]=_0x5bad88(ue(),Wi());}(Z,function(_0x36188b){const _0x5511ab=_0x5d20;return _0x36188b[_0x5511ab(0x3d3)][_0x5511ab(0x323)]={'pad':function(){},'unpad':function(){}},_0x36188b[_0x5511ab(0x3d3)][_0x5511ab(0x323)];}));}(Gi));var Va=Gi[_0x494e14(0x3b6)];const Ga=at(Va);function Ya(_0x5110d9,_0x3fc035){const _0x1a84ab=_0x494e14,_0x18e9c2=_0x3fc035-_0x5110d9[_0x1a84ab(0x490)]%_0x3fc035,_0x42e725=String[_0x1a84ab(0x244)](_0x18e9c2)[_0x1a84ab(0x4d1)](_0x18e9c2);return _0x5110d9+_0x42e725;}function Ka(_0xb6156c,_0x3f93e1){const _0x41b254=_0x494e14,_0x14ab69=Fa[_0x41b254(0x5db)](0x10),_0x593430=Ya(_0xb6156c,0x10),_0x83c8f3=Ha[_0x41b254(0x2c7)](ka[_0x41b254(0x39a)](_0x593430),ii[_0x41b254(0x39a)](_0x3f93e1),{'iv':_0x14ab69,'padding':Ga});return _0x14ab69[_0x41b254(0x437)](_0x83c8f3['ciphertext'])[_0x41b254(0x2b9)](ii);}function za(){const _0x519316=_0x494e14,_0x4dd415=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)['__Key__'];if(_0x4dd415){const _0x22440f={'time':Math[_0x519316(0x2f6)](Date['now']()/0x3e8),'domain':location[_0x519316(0x57c)]};return Ka(JSON['stringify'](_0x22440f),_0x4dd415);}}var qa=Object['defineProperty'],Xa=Object[_0x494e14(0x2a4)],Ja=(_0x433c77,_0x233afe,_0x29f889,_0x387a59)=>{for(var _0x4ec6e2=_0x387a59>0x1?void 0x0:_0x387a59?Xa(_0x233afe,_0x29f889):_0x233afe,_0xc43263=_0x433c77['length']-0x1,_0x272e2e;_0xc43263>=0x0;_0xc43263--)(_0x272e2e=_0x433c77[_0xc43263])&&(_0x4ec6e2=(_0x387a59?_0x272e2e(_0x233afe,_0x29f889,_0x4ec6e2):_0x272e2e(_0x4ec6e2))||_0x4ec6e2);return _0x387a59&&_0x4ec6e2&&qa(_0x233afe,_0x29f889,_0x4ec6e2),_0x4ec6e2;},Za=(_0x110f57,_0x4aa540)=>(_0x44ae4b,_0x3333f6)=>_0x4aa540(_0x44ae4b,_0x3333f6,_0x110f57);let Tt=class{constructor(_0x2d568d){const _0x3b7aea=_0x494e14;this[_0x3b7aea(0x55e)]=_0x2d568d,this[_0x3b7aea(0x3f7)]();}['_initRequestHeader'](){const _0x489d1c=_0x494e14;this[_0x489d1c(0x55e)][_0x489d1c(0x2cb)]({'interceptor':(_0x2714a1,_0x4e2516)=>{const _0x543ca8=_0x489d1c,_0x542853=_0x2714a1[_0x543ca8(0x319)],_0x2477c6=za();return _0x2477c6&&_0x542853[_0x543ca8(0x207)](_0x543ca8(0x3e5),_0x2477c6),_0x4e2516(_0x2714a1);}});}};Tt=Ja([Za(0x0,_0x41b3da(_0x2d1de9))],Tt);var Qa=Object[_0x494e14(0x421)],ec=Object['getOwnPropertyDescriptor'],tc=(_0x4ee844,_0x5cac88,_0x16f68d,_0x2bc38b)=>{const _0x527ae3=_0x494e14;for(var _0x17d895=_0x2bc38b>0x1?void 0x0:_0x2bc38b?ec(_0x5cac88,_0x16f68d):_0x5cac88,_0x68a28e=_0x4ee844[_0x527ae3(0x490)]-0x1,_0x45222a;_0x68a28e>=0x0;_0x68a28e--)(_0x45222a=_0x4ee844[_0x68a28e])&&(_0x17d895=(_0x2bc38b?_0x45222a(_0x5cac88,_0x16f68d,_0x17d895):_0x45222a(_0x17d895))||_0x17d895);return _0x2bc38b&&_0x17d895&&Qa(_0x5cac88,_0x16f68d,_0x17d895),_0x17d895;},Xt=(_0x544e67,_0x5abb1e)=>(_0x1f47ef,_0x8eca18)=>_0x5abb1e(_0x1f47ef,_0x8eca18,_0x544e67);const sc=[_0x494e14(0x252),_0x494e14(0x290),_0x494e14(0x255),_0x494e14(0x273),_0x494e14(0x300)],ic=0x5*0x400*0x400,nc=_0x494e14(0x3fa),rc=_0x494e14(0x5ae),oc=_0x494e14(0x202),ac=_0x494e14(0x320);let hs=class{constructor(_0x26d5cb,_0x200005,_0x24ab78){const _0x5d4c95=_0x494e14;g(this,'_waitCount',0x0),g(this,_0x5d4c95(0x3e7),new _0x243cfe()),g(this,_0x5d4c95(0x3ef),this[_0x5d4c95(0x3e7)]),g(this,_0x5d4c95(0x30b),new Map()),(this[_0x5d4c95(0x55e)]=_0x26d5cb,this[_0x5d4c95(0x21f)]=_0x200005,this[_0x5d4c95(0x5ee)]=_0x24ab78);}[_0x494e14(0x585)](_0x179889){const _0xc67f5=_0x494e14;this['_waitCount']=_0x179889,this[_0xc67f5(0x3e7)][_0xc67f5(0x2d0)](_0x179889);}[_0x494e14(0x3f3)](_0xd4ef60,_0x3e4ad2){const _0x196d6f=_0x494e14;if(_0x3e4ad2===_0x5f4e56['BASE64']){const _0x26d8bd=new Image();return _0x26d8bd[_0x196d6f(0x2bc)]=_0xd4ef60,_0x26d8bd;}return this[_0x196d6f(0x30b)]['get'](_0xd4ef60);}['addImageSourceCache'](_0x39a128,_0x4f3a0d,_0x34a813){const _0x499cf5=_0x494e14;_0x4f3a0d===_0x5f4e56['BASE64']||_0x34a813==null||this[_0x499cf5(0x30b)]['set'](_0x39a128,_0x34a813);}async[_0x494e14(0x51f)](_0x3c9e57){const _0x429f8d=_0x494e14;try{const _0x334aa1=this[_0x429f8d(0x389)](this[_0x429f8d(0x5f7)](),''+_0x3c9e57),_0x327bae=(await this[_0x429f8d(0x55e)][_0x429f8d(0x38a)](_0x334aa1))[_0x429f8d(0x23b)];if(_0x327bae[_0x429f8d(0x48a)]&&_0x327bae[_0x429f8d(0x48a)][_0x429f8d(0x230)]===Ri['OK']){const _0x35e259=new URL(_0x327bae['url'],this[_0x429f8d(0x322)]())[_0x429f8d(0x2b9)]();return Promise[_0x429f8d(0x410)](_0x35e259);}return Promise[_0x429f8d(0x2cf)](_0x327bae[_0x429f8d(0x48a)]);}catch(_0x1e44b1){return Promise[_0x429f8d(0x2cf)](_0x1e44b1);}}async['saveImage'](_0x48aded){const _0xa2dfc8=_0x494e14;let _0x2bee80='';if(!sc['includes'](_0x48aded[_0xa2dfc8(0x2cd)]))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x26dd16[_0xa2dfc8(0x5bb)]));if(_0x48aded['size']>ic)return this[_0xa2dfc8(0x221)](),Promise[_0xa2dfc8(0x2cf)](new Error(_0x26dd16[_0xa2dfc8(0x54e)]));try{const _0x5371b7=new FormData();_0x5371b7[_0xa2dfc8(0x261)](_0xa2dfc8(0x1f7),_0x48aded);const _0x3ab2f0=this['_univerInstanceService'][_0xa2dfc8(0x27c)](),_0x5260f0=_0x3ab2f0==null?void 0x0:_0x3ab2f0[_0xa2dfc8(0x467)]();if(!_0x5260f0)throw new Error(_0xa2dfc8(0x576));const _0x268a96=this[_0xa2dfc8(0x25d)]()+'?size='+_0x48aded[_0xa2dfc8(0x3b4)]['toString']()+'&source='+yi[_0xa2dfc8(0x2d7)]+_0xa2dfc8(0x47a)+encodeURIComponent(_0x5260f0),_0x2104f7=await(await fetch(_0x268a96,{'method':'POST','body':_0x5371b7}))['json']();if(typeof _0x2104f7[_0xa2dfc8(0x419)]!=_0xa2dfc8(0x550))return this[_0xa2dfc8(0x221)](),Promise['reject'](new Error(_0x26dd16['ERROR_IMAGE']));_0x2bee80=_0x2104f7['FileId'];}catch{return this[_0xa2dfc8(0x221)](),Promise['reject'](new Error(_0x26dd16[_0xa2dfc8(0x4ec)]));}return new Promise((_0x340a97,_0xfe48e7)=>{const _0x4be379=_0xa2dfc8,_0xef664b=new FileReader();_0xef664b[_0x4be379(0x24c)](_0x48aded),_0xef664b[_0x4be379(0x535)]=_0x397f54=>{const _0x1e09c5=_0x4be379;var _0x2c3da1;const _0x2d9fb1=(_0x2c3da1=_0x397f54[_0x1e09c5(0x270)])==null?void 0x0:_0x2c3da1['result'];if(_0x2d9fb1==null){this[_0x1e09c5(0x221)](),_0xfe48e7(new Error(_0x26dd16[_0x1e09c5(0x4ec)]));return;}const _0x213544=_0x1fd4a4['generateRandomId'](0x6);_0x340a97({'imageId':_0x213544,'imageSourceType':_0x5f4e56[_0x1e09c5(0x2e2)],'source':_0x2bee80,'base64Cache':_0x2d9fb1,'status':_0x26dd16[_0x1e09c5(0x53a)]}),this['_decreaseWaiting']();};});}['_getUploadFileURL'](){const _0x71084d=_0x494e14;var _0x2e66fb,_0x2c54f5;const _0x3b3dff=this[_0x71084d(0x21f)][_0x71084d(0x27f)](nc),_0x4d4d38=this[_0x71084d(0x21f)][_0x71084d(0x27f)](ie);return(_0x2c54f5=(_0x2e66fb=_0x4d4d38==null?void 0x0:_0x4d4d38[_0x71084d(0x36e)])!=null?_0x2e66fb:_0x3b3dff)!=null?_0x2c54f5:rc;}[_0x494e14(0x5f7)](){const _0x45b458=_0x494e14;var _0x1b78ed,_0x5972c2;const _0x55e7c3=this[_0x45b458(0x21f)][_0x45b458(0x27f)](oc),_0x16f2ad=this[_0x45b458(0x21f)]['getConfig'](ie);return(_0x5972c2=(_0x1b78ed=_0x16f2ad==null?void 0x0:_0x16f2ad['signUrlServerUrl'])!=null?_0x1b78ed:_0x55e7c3)!=null?_0x5972c2:ac;}[_0x494e14(0x322)](){const _0x30bc1d=_0x494e14;var _0x56f074;const _0x3545a6=this[_0x30bc1d(0x21f)][_0x30bc1d(0x27f)](ie);return(_0x56f074=_0x3545a6==null?void 0x0:_0x3545a6['downloadEndpointUrl'])!=null?_0x56f074:location['origin'];}['_replaceFileID'](_0xb8224d,_0x564fb6){const _0x57ee04=_0x494e14;return _0xb8224d['replace'](_0x57ee04(0x586),_0x564fb6);}[_0x494e14(0x221)](){const _0x4e99e0=_0x494e14;this[_0x4e99e0(0x375)]-=0x1,this[_0x4e99e0(0x3e7)][_0x4e99e0(0x2d0)](this[_0x4e99e0(0x375)]);}};hs=tc([Xt(0x0,_0x41b3da(_0x2d1de9)),Xt(0x1,_0x23210b),Xt(0x2,_0x41b3da(_0x15b9fa))],hs);var cc=Object[_0x494e14(0x421)],hc=Object[_0x494e14(0x2a4)],lc=(_0x5d19e9,_0xf99e2f,_0x55ef41,_0x285a96)=>{for(var _0x3e61e9=_0x285a96>0x1?void 0x0:_0x285a96?hc(_0xf99e2f,_0x55ef41):_0xf99e2f,_0x322dd1=_0x5d19e9['length']-0x1,_0x539ee9;_0x322dd1>=0x0;_0x322dd1--)(_0x539ee9=_0x5d19e9[_0x322dd1])&&(_0x3e61e9=(_0x285a96?_0x539ee9(_0xf99e2f,_0x55ef41,_0x3e61e9):_0x539ee9(_0x3e61e9))||_0x3e61e9);return _0x285a96&&_0x3e61e9&&cc(_0xf99e2f,_0x55ef41,_0x3e61e9),_0x3e61e9;},Qe=(_0x4d4fcf,_0x558109)=>(_0x181292,_0x46b34a)=>_0x558109(_0x181292,_0x46b34a,_0x4d4fcf);let Rt=class extends _0x542deb{constructor(_0x4b1863,_0x2ce073,_0x1c81f4,_0x520d8f,_0x4ac520){const _0x208d5e=_0x494e14;super(),this[_0x208d5e(0x5a2)]=_0x4b1863,this['_univerInstanceService']=_0x2ce073,this['_permissionService']=_0x1c81f4,this[_0x208d5e(0x27d)]=_0x520d8f,this['_localeService']=_0x4ac520,this[_0x208d5e(0x52f)](),this[_0x208d5e(0x2ec)]();}[_0x494e14(0x2ec)](){const _0x2ec6a6=_0x494e14,_0x49d98e=async _0x3d4a94=>{const _0x558723=_0x5d20;(await this[_0x558723(0x27d)]['requireSession'](_0x3d4a94))['event$'][_0x558723(0x3eb)](_0x4dbfb7(_0x12966f=>_0x12966f[_0x558723(0x1f1)]===_0x3c9498[_0x558723(0x59c)]),_0xfbe715(this[_0x558723(0x3f5)]))['subscribe'](_0x15c7f4=>{const _0x590c68=_0x558723,_0x23c4fc=_0x15c7f4,{reason:_0xcc9edf}=_0x23c4fc[_0x590c68(0x41c)];this[_0x590c68(0x5a2)]['get'](_0x54b964)[_0x590c68(0x56c)]({'type':_0x31fabe[_0x590c68(0x557)],'content':this['_localeService']['t'](_0x590c68(0x2f8))+'('+_0xcc9edf+')'}),this['_permissionService'][_0x590c68(0x45d)](new _0x4d3cfd(_0x3d4a94)['id'],!0x1),this[_0x590c68(0x27d)]['closeSession'](_0x3d4a94);});};_0x5326b0(this[_0x2ec6a6(0x5ee)][_0x2ec6a6(0x229)](_0x50e7dc[_0x2ec6a6(0x5dc)]),this[_0x2ec6a6(0x5ee)][_0x2ec6a6(0x229)](_0x50e7dc[_0x2ec6a6(0x36f)]))[_0x2ec6a6(0x3eb)](_0x487dae(_0x2d4cf6=>_0x2d4cf6[_0x2ec6a6(0x467)]()),_0x4dbfb7(_0x24a216=>!_0x358629(_0x24a216)),_0xfbe715(this[_0x2ec6a6(0x3f5)]))[_0x2ec6a6(0x540)](_0x322183=>{_0x49d98e(_0x322183);});}[_0x494e14(0x52f)](){const _0x3fd703=_0x494e14,_0x3e2451=async _0x1310d1=>{const _0x1dbc77=_0x5d20;(await this[_0x1dbc77(0x27d)]['requireSession'](_0x1310d1))[_0x1dbc77(0x368)][_0x1dbc77(0x3eb)](_0x4dbfb7(_0x392104=>_0x392104[_0x1dbc77(0x1f1)]===_0x3c9498[_0x1dbc77(0x21e)]),_0xfbe715(this[_0x1dbc77(0x3f5)]))[_0x1dbc77(0x540)](_0x4566b1=>{const _0x3b8f8f=_0x1dbc77,_0x2a96dc=_0x4566b1,{objectId:_0x3e0a54}=_0x2a96dc[_0x3b8f8f(0x41c)],_0xbff9d=this[_0x3b8f8f(0x5a2)][_0x3b8f8f(0x38a)](_0xddd62c);_0x3e0a54===_0x1310d1?_0xbff9d[_0x3b8f8f(0x370)](_0x1310d1):_0xbff9d['refreshPermission'](_0x1310d1,_0x3e0a54);});};_0x5326b0(this[_0x3fd703(0x5ee)]['getTypeOfUnitAdded$'](_0x50e7dc[_0x3fd703(0x5dc)]),this['_univerInstanceService'][_0x3fd703(0x229)](_0x50e7dc[_0x3fd703(0x36f)]))[_0x3fd703(0x3eb)](_0x487dae(_0x2b3a49=>_0x2b3a49['getUnitId']()),_0x4dbfb7(_0x59a28f=>!_0x358629(_0x59a28f)),_0xfbe715(this[_0x3fd703(0x3f5)]))[_0x3fd703(0x540)](_0x3ddd0b=>{_0x3e2451(_0x3ddd0b);});}};Rt=lc([Qe(0x0,_0x41b3da(_0x2087b9)),Qe(0x1,_0x15b9fa),Qe(0x2,_0x298af3),Qe(0x3,_0x41b3da(Ae)),Qe(0x4,_0x41b3da(_0x461b9d))],Rt);var _c=Object[_0x494e14(0x421)],uc=Object[_0x494e14(0x2a4)],dc=(_0x481f9a,_0x56e179,_0x3b4abc,_0x440009)=>{const _0x32523c=_0x494e14;for(var _0x31dbe3=_0x440009>0x1?void 0x0:_0x440009?uc(_0x56e179,_0x3b4abc):_0x56e179,_0x134ab5=_0x481f9a[_0x32523c(0x490)]-0x1,_0x3df541;_0x134ab5>=0x0;_0x134ab5--)(_0x3df541=_0x481f9a[_0x134ab5])&&(_0x31dbe3=(_0x440009?_0x3df541(_0x56e179,_0x3b4abc,_0x31dbe3):_0x3df541(_0x31dbe3))||_0x31dbe3);return _0x440009&&_0x31dbe3&&_c(_0x56e179,_0x3b4abc,_0x31dbe3),_0x31dbe3;},ni=(_0x52c3a0,_0x2cacff)=>(_0x172181,_0x42b6d7)=>_0x2cacff(_0x172181,_0x42b6d7,_0x52c3a0);let ls=class{constructor(_0x30f323,_0x46010d){const _0x26f2a1=_0x494e14;this['_configService']=_0x30f323,this[_0x26f2a1(0x55e)]=_0x46010d;}async['getUnitOnRev'](_0x1b9c6b,_0x3d0132){const _0x5cecf5=_0x494e14;var _0x2877c0;const {unitID:_0x872bda,type:_0x16f23c,revision:_0x469d75=0x0}=_0x3d0132,_0x5b2f6d=this[_0x5cecf5(0x200)]()+'/'+_0x16f23c+_0x5cecf5(0x507)+_0x872bda+_0x5cecf5(0x1f0)+_0x469d75,_0x11173e=(await this['_httpService'][_0x5cecf5(0x38a)](_0x5b2f6d))['body'],_0x350f88=(_0x2877c0=_0x11173e[_0x5cecf5(0x30d)])==null?void 0x0:_0x2877c0[_0x5cecf5(0x24b)];if(_0x350f88){const _0x479c46=_0x350f88==null?void 0x0:_0x350f88['originalMeta'],_0x5e2137=_0x34deb5[_0x5cecf5(0x4ad)](_0x4efc59(_0x479c46));_0x350f88['originalMeta']=_0x5e2137,Object['entries'](_0x350f88['sheets'])[_0x5cecf5(0x58b)](([,_0x332438])=>{const _0x4e6331=_0x5cecf5,_0x32d33c=_0x332438[_0x4e6331(0x402)],_0x532499=_0x34deb5['encode'](_0x4efc59(_0x32d33c));_0x332438[_0x4e6331(0x402)]=_0x532499;});}return _0x11173e;}async['getSheetBlock'](_0x2bb124,_0x499bed){const _0x289a88=_0x494e14,{unitID:_0x5b730f,type:_0x30a13b,blockID:_0x4cc15f}=_0x499bed,_0x4ac44c=this['_getAPIPrefix']()+'/'+_0x30a13b+'/unit/'+_0x5b730f+'/block/'+_0x4cc15f;return(await this['_httpService'][_0x289a88(0x38a)](_0x4ac44c))[_0x289a88(0x23b)];}async[_0x494e14(0x506)](_0x4572f9,_0x12f78e){const _0x2ce2a7=_0x494e14,{unitID:_0x24a5ff,type:_0x69a45b,blockID:_0xff7084}=_0x12f78e,_0x1d27d3=this['_getAPIPrefix']()+_0x2ce2a7(0x539)+_0x69a45b+'/unit/'+_0x24a5ff+_0x2ce2a7(0x539)+_0xff7084;return(await this[_0x2ce2a7(0x55e)][_0x2ce2a7(0x38a)](_0x1d27d3))[_0x2ce2a7(0x23b)];}async['fetchMissingChangesets'](_0x404182,_0x262842){const _0x107af8=_0x494e14,{unitID:_0x3d5579,type:_0x29a3e3,from:_0x28d221,to:_0x232ccf}=_0x262842,_0x31a2a4=this['_getAPIPrefix']()+'/'+_0x29a3e3+_0x107af8(0x507)+_0x3d5579+_0x107af8(0x48c)+_0x28d221+_0x107af8(0x5e6)+_0x232ccf;return(await this['_httpService'][_0x107af8(0x38a)](_0x31a2a4))[_0x107af8(0x23b)];}['_getSnapshotAPIPrefix'](){const _0x219fe9=_0x494e14;var _0x1b2e94;return(_0x1b2e94=this[_0x219fe9(0x21f)][_0x219fe9(0x27f)](ar))!=null?_0x1b2e94:this[_0x219fe9(0x394)]();}[_0x494e14(0x394)](){const _0x478195=_0x494e14;var _0x1643d7,_0x27fd71;const _0x2f6bbd=this['_configService'][_0x478195(0x27f)](rr),_0x4afec6=this[_0x478195(0x21f)][_0x478195(0x27f)](ie);return(_0x27fd71=(_0x1643d7=_0x4afec6==null?void 0x0:_0x4afec6[_0x478195(0x48b)])!=null?_0x1643d7:_0x2f6bbd)!=null?_0x27fd71:or;}async[_0x494e14(0x474)](_0x1ae1ac,_0x54e6b7){const _0x18aabf=_0x494e14,_0x3be7f5=_0x18aabf(0x3f2)+_0x54e6b7['type']+_0x18aabf(0x507)+_0x54e6b7[_0x18aabf(0x55b)]+_0x18aabf(0x3ae);return(await this['_httpService'][_0x18aabf(0x38a)](_0x3be7f5,{'params':{'resourceId':JSON['stringify'](_0x54e6b7[_0x18aabf(0x562)])}}))['body'];}[_0x494e14(0x483)](){const _0x175763=_0x494e14;throw new Error(_0x175763(0x5e4));}['saveSheetBlock'](){const _0x4c3174=_0x494e14;throw new Error(_0x4c3174(0x5e4));}[_0x494e14(0x239)](){const _0x10c7d8=_0x494e14;throw new Error(_0x10c7d8(0x5e4));}['copyFileMeta'](){const _0x2edbb7=_0x494e14;throw new Error(_0x2edbb7(0x5e4));}[_0x494e14(0x25e)](){const _0x5c9b14=_0x494e14;throw new Error(_0x5c9b14(0x5e4));}};ls=dc([ni(0x0,_0x23210b),ni(0x1,_0x41b3da(_0x2d1de9))],ls);var fc=Object[_0x494e14(0x421)],vc=Object[_0x494e14(0x2a4)],mc=(_0x24a2af,_0xa653ba,_0x473331,_0x1520b6)=>{const _0x161032=_0x494e14;for(var _0x3ddf57=_0x1520b6>0x1?void 0x0:_0x1520b6?vc(_0xa653ba,_0x473331):_0xa653ba,_0x45e18a=_0x24a2af[_0x161032(0x490)]-0x1,_0x3bb169;_0x45e18a>=0x0;_0x45e18a--)(_0x3bb169=_0x24a2af[_0x45e18a])&&(_0x3ddf57=(_0x1520b6?_0x3bb169(_0xa653ba,_0x473331,_0x3ddf57):_0x3bb169(_0x3ddf57))||_0x3ddf57);return _0x1520b6&&_0x3ddf57&&fc(_0xa653ba,_0x473331,_0x3ddf57),_0x3ddf57;},et=(_0x58b418,_0x4a7790)=>(_0x4c8d4c,_0xa0fea9)=>_0x4a7790(_0x4c8d4c,_0xa0fea9,_0x58b418);let _s=class extends _0x152212{constructor(_0x8b1977,_0x1a48c3,_0x5d8f3f,_0x22e58b,_0x2448c1){const _0x68e7fa=_0x494e14;super(_0x8b1977,_0x1a48c3,_0x5d8f3f),this[_0x68e7fa(0x3c3)]=_0x22e58b,this[_0x68e7fa(0x3c0)]=_0x2448c1;}['transformUndoRedo'](_0x323dd8,_0x570347){const _0x2d8a63=_0x494e14,_0x573dcd=this['_getUndoStack'](_0x323dd8);if(_0x573dcd)try{const _0x385a23=this[_0x2d8a63(0x4af)](_0x573dcd,_0x570347);this[_0x2d8a63(0x2c8)](_0x323dd8,_0x385a23);}catch(_0x20d0a2){this[_0x2d8a63(0x3c0)][_0x2d8a63(0x48a)](_0x2d8a63(0x5e5),_0x20d0a2),this['_clearUndo'](_0x323dd8);}const _0x10348d=this[_0x2d8a63(0x2c9)](_0x323dd8);if(_0x10348d)try{const _0x556a73=this[_0x2d8a63(0x4af)](_0x10348d,_0x570347);this[_0x2d8a63(0x246)](_0x323dd8,_0x556a73);}catch(_0x3a8882){this[_0x2d8a63(0x3c0)]['error'](_0x3a8882),this['_clearRedo'](_0x323dd8);}}[_0x494e14(0x296)](_0x30d618){const _0x315bcf=_0x494e14,_0x5599b1=this[_0x315bcf(0x3bf)](_0x30d618);_0x5599b1&&(_0x5599b1[_0x315bcf(0x490)]=0x0,this[_0x315bcf(0x5f9)]());}[_0x494e14(0x4bb)](_0x26be83){const _0x2523d0=this['_getRedoStack'](_0x26be83);_0x2523d0&&(_0x2523d0['length']=0x0,this['_updateStatus']());}[_0x494e14(0x2c8)](_0x598f26,_0x5429ae){const _0x190040=_0x494e14;this[_0x190040(0x473)][_0x190040(0x207)](_0x598f26,_0x5429ae),this['_updateStatus']();}['_substituteRedoStack'](_0x508a7d,_0x94cb73){const _0x475c83=_0x494e14;this[_0x475c83(0x334)]['set'](_0x508a7d,_0x94cb73),this[_0x475c83(0x5f9)]();}[_0x494e14(0x4af)](_0x145b71,_0x557803){const _0xe780d6=_0x494e14,_0x2c81b1=[];let _0x337032=_0x557803,_0x20cafd=_0x557803;for(let _0x35b483=_0x145b71['length']-0x1;_0x35b483>=0x0;_0x35b483--){const {unitID:_0x289827,undoMutations:_0x514d66,redoMutations:_0x24e727}=_0x145b71[_0x35b483],_0x3cdc11=this[_0xe780d6(0x3c3)][_0xe780d6(0x464)](_0x337032,_0x514d66),_0x18229b=this['_transformService'][_0xe780d6(0x464)](_0x20cafd,_0x24e727);if(_0x3230ab(_0x3cdc11)||_0x3230ab(_0x18229b)){this['_logService'][_0xe780d6(0x48a)](_0xe780d6(0x5e5),_0xe780d6(0x381),_0x3cdc11,_0x18229b);break;}_0x337032=_0x3cdc11[_0xe780d6(0x41a)],_0x20cafd=_0x18229b[_0xe780d6(0x41a)],_0x2c81b1[_0xe780d6(0x271)]({'unitID':_0x289827,'undoMutations':_0x3cdc11['m2Prime'],'redoMutations':_0x18229b[_0xe780d6(0x5ca)]});}return _0x2c81b1['reverse']();}};_s=mc([et(0x0,_0x15b9fa),et(0x1,_0x1c554d),et(0x2,_0x1bcee7),et(0x3,_0x1197db),et(0x4,_0x3bb158)],_s);class pc extends _0x542deb{constructor(){const _0xab18b0=_0x494e14;super(),g(this,'urlChange$'),this[_0xab18b0(0x2a7)]=_0x7e355d(window,_0xab18b0(0x55a))[_0xab18b0(0x3eb)](_0x3ee31c(this[_0xab18b0(0x3f5)]),_0x272c53(0x1),_0x33a256(void 0x0));}[_0x494e14(0x349)](_0x5a6ca6,_0x1b51af,_0x2c5971=!0x1){const _0x2d0e73=_0x494e14,_0x2b5bac=new URL(window[_0x2d0e73(0x3f0)]['href']);_0x2b5bac[_0x2d0e73(0x31a)]['set'](_0x5a6ca6,_0x1b51af),_0x2c5971?window[_0x2d0e73(0x5b5)][_0x2d0e73(0x4fb)]('','',_0x2b5bac['toString']()):window[_0x2d0e73(0x5b5)]['pushState']('','',_0x2b5bac[_0x2d0e73(0x2b9)]());}[_0x494e14(0x561)](_0x5c687e,_0x3d1513=!0x1){const _0x27c9a4=_0x494e14,_0x4f09e4=new URL(window[_0x27c9a4(0x3f0)][_0x27c9a4(0x503)]);_0x4f09e4['searchParams'][_0x27c9a4(0x534)](_0x5c687e),_0x3d1513?window['history'][_0x27c9a4(0x4fb)]('','',_0x4f09e4[_0x27c9a4(0x2b9)]()):window['history'][_0x27c9a4(0x348)]('','',_0x4f09e4[_0x27c9a4(0x2b9)]());}[_0x494e14(0x288)](_0x12cf8b){const _0x54e5a4=_0x494e14;var _0x4df891;return(_0x4df891=new URL(window[_0x54e5a4(0x3f0)]['href'])[_0x54e5a4(0x31a)][_0x54e5a4(0x38a)](_0x12cf8b))!=null?_0x4df891:void 0x0;}}var Yi=Object['defineProperty'],gc=Object[_0x494e14(0x2a4)],Sc=(_0x253bd2,_0x409855,_0x49a7c8)=>_0x409855 in _0x253bd2?Yi(_0x253bd2,_0x409855,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x49a7c8}):_0x253bd2[_0x409855]=_0x49a7c8,Ic=(_0x416739,_0xb0b9c8,_0x1c0667,_0x12ac3e)=>{const _0x207bb2=_0x494e14;for(var _0x3de445=_0x12ac3e>0x1?void 0x0:_0x12ac3e?gc(_0xb0b9c8,_0x1c0667):_0xb0b9c8,_0x422c92=_0x416739[_0x207bb2(0x490)]-0x1,_0x35ffd;_0x422c92>=0x0;_0x422c92--)(_0x35ffd=_0x416739[_0x422c92])&&(_0x3de445=(_0x12ac3e?_0x35ffd(_0xb0b9c8,_0x1c0667,_0x3de445):_0x35ffd(_0x3de445))||_0x3de445);return _0x12ac3e&&_0x3de445&&Yi(_0xb0b9c8,_0x1c0667,_0x3de445),_0x3de445;},_t=(_0x428177,_0x22a54f)=>(_0x24938e,_0x1266ed)=>_0x22a54f(_0x24938e,_0x1266ed,_0x428177),Cc=(_0xcb47f4,_0x44714b,_0x13328e)=>Sc(_0xcb47f4,_0x44714b+'',_0x13328e);const Ec=_0x494e14(0x345);let us=class extends _0x47338f{constructor(_0x331e1c=Er,_0x307560,_0xe462ed,_0x24adaf,_0x5a88e6){const _0xa6a003=_0x494e14;super(),this[_0xa6a003(0x498)]=_0x331e1c,this[_0xa6a003(0x3c0)]=_0x307560,this[_0xa6a003(0x3b2)]=_0xe462ed,this['_injector']=_0x24adaf,this['_configService']=_0x5a88e6;const {..._0x222b36}=this[_0xa6a003(0x498)];this[_0xa6a003(0x21f)][_0xa6a003(0x4b3)](ie,_0x222b36);}[_0x494e14(0x3c9)](){const _0xd919a9=_0x494e14;this[_0xd919a9(0x520)](),this[_0xd919a9(0x418)]();}['onReady'](){const _0x29be09=_0x494e14;_0x4ad507(this[_0x29be09(0x5a2)],[[Et]]);}['onRendered'](){const _0x3c3edd=_0x494e14;this[_0x3c3edd(0x469)]();}[_0x494e14(0x520)](){const _0x570cf8=_0x494e14;var _0x20da96,_0x485782,_0xc30f78,_0x5a64cd;this[_0x570cf8(0x5a2)][_0x570cf8(0x481)](_0x21e225)&&this[_0x570cf8(0x3c0)][_0x570cf8(0x48a)](_0x570cf8(0x573),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x332fc6=[[_0x21e225,{'useClass':_s}],[Ae],[bs],[Hi,{'useClass':pc}],[Ne],[q],[_0x58d5a2],[mt],[gt],[vt],[pt],[Cs],[bt],[Tt],[wi],[Rt],[Oi,{'useClass':(_0x485782=(_0x20da96=this[_0x570cf8(0x498)])==null?void 0x0:_0x20da96[_0x570cf8(0x2b5)])!=null?_0x485782:es}],[_0x220388,{'useClass':ls}],[_0x284f3d,{'useClass':cs}],[_0x5c0e9a,{'useClass':hs}],[it],[Ct],[It],[Et],[Ve]];(_0xc30f78=this[_0x570cf8(0x498)])!=null&&_0xc30f78[_0x570cf8(0x4f8)]&&_0x332fc6['push']([yt,{'useClass':so}]),_0x5bbf0d(this['_injector'],_0x4f2331(_0x332fc6,(_0x5a64cd=this[_0x570cf8(0x498)])==null?void 0x0:_0x5a64cd[_0x570cf8(0x4cc)]));}[_0x494e14(0x469)](){const _0x77174e=_0x494e14;this[_0x77174e(0x461)](this[_0x77174e(0x3b2)][_0x77174e(0x45a)](_0x50e7dc[_0x77174e(0x36f)],[os])),this[_0x77174e(0x461)](this[_0x77174e(0x3b2)][_0x77174e(0x45a)](_0x50e7dc['UNIVER_SHEET'],[as]));}[_0x494e14(0x418)](){const _0x329baf=_0x494e14;var _0xb7458e,_0x3b1418;this['_injector'][_0x329baf(0x38a)](_0x2d1de9)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x39d18b({'maxParallel':0x6})}),(_0xb7458e=this[_0x329baf(0x498)])!=null&&_0xb7458e[_0x329baf(0x3bd)]||this['_injector'][_0x329baf(0x38a)](q)[_0x329baf(0x31b)](),(_0x3b1418=this[_0x329baf(0x498)])!=null&&_0x3b1418['enableAuthServer']&&_0x4ad507(this[_0x329baf(0x5a2)],[[bt]]),_0x4ad507(this[_0x329baf(0x5a2)],[[Tt],[Ve],[Ct],[it],[It],[Rt]]);}};Cc(us,_0x494e14(0x380),Ec),us=Ic([_0x9cca5(_0x1de7ac,_0x27f895),_t(0x1,_0x3bb158),_t(0x2,_0x392b64),_t(0x3,_0x41b3da(_0x2087b9)),_t(0x4,_0x23210b)],us);export{Ua as AUTHZ_URL_KEY,cs as AuthzIoHttpService,gr as COLLAB_SUBMIT_CHANGESET_URL_KEY,hr as COLLAB_WEB_SOCKET_URL_KEY,it as CollaborationController,St as CollaborationEntity,ts as CollaborationSession,Ae as CollaborationSessionService,es as CollaborationSocketService,J as CollaborationStatus,ua as CollaborationStatusDisplay,wi as CommentService,Ct as DataLoaderController,It as DesktopCollaborationStatusDisplayController,ss as DocCollaborationEntity,_r as HEARTBEAT_INTERVAL_KEY,bi as HEARTBEAT_TIMEOUT_KEY,Oi as ICollaborationSocketService,Hi as IURLService,hs as ImageIoService,mr as LOCAL_CACHE_INTERVAL_KEY,Ir as LOGIN_URL_KEY,q as LocalCacheService,Ne as MemberService,fr as RETRY_CONNECTING_MAX_COUNT_KEY,kc as SEND_CHANGESET_TIMEOUT_KEY,rr as SNAPSHOT_SERVER_URL_KEY,ar as SNAPSHOT_URL_KEY,ve as SessionStatus,Ko as SheetCollabCursorShape,is as SheetCollaborationEntity,ls as SnapshotServerOverHTTPService,us as UniverCollaborationClientPlugin,pc as WebURLService,br as deserializeToCombResponse,Tr as serializeCombRequest};
|
1
|
+
const _0x5b1a3a=_0xa0d1;(function(_0xe3590a,_0x4f4236){const _0x45e148=_0xa0d1,_0x273fbf=_0xe3590a();while(!![]){try{const _0x8cf1c4=parseInt(_0x45e148(0x1a5))/0x1*(parseInt(_0x45e148(0x29b))/0x2)+parseInt(_0x45e148(0x1d0))/0x3+-parseInt(_0x45e148(0x45d))/0x4+-parseInt(_0x45e148(0x309))/0x5+-parseInt(_0x45e148(0x2ce))/0x6+-parseInt(_0x45e148(0x453))/0x7*(parseInt(_0x45e148(0x51a))/0x8)+-parseInt(_0x45e148(0x3d0))/0x9*(-parseInt(_0x45e148(0x228))/0xa);if(_0x8cf1c4===_0x4f4236)break;else _0x273fbf['push'](_0x273fbf['shift']());}catch(_0x4feef8){_0x273fbf['push'](_0x273fbf['shift']());}}}(_0xb447,0xf3ac9));var Ki=Object[_0x5b1a3a(0x3dc)],zi=(_0x46fe78,_0x1e0880,_0x3ab269)=>_0x1e0880 in _0x46fe78?Ki(_0x46fe78,_0x1e0880,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3ab269}):_0x46fe78[_0x1e0880]=_0x3ab269,g=(_0x1d845d,_0xd15239,_0x528533)=>zi(_0x1d845d,typeof _0xd15239!=_0x5b1a3a(0x412)?_0xd15239+'':_0xd15239,_0x528533);import{createIdentifier as _0x25a723,Inject as _0x28839c,Disposable as _0x45951d,DisposableCollection as _0x322cfa,toDisposable as _0x529295,IConfigService as _0x5d6cbd,ILogService as _0x418a3e,UserManagerService as _0x74dff6,UniverInstanceType as _0x1bbc53,IUniverInstanceService as _0x578cb,LocaleService as _0x173a06,Optional as _0x3c705a,RxDisposable as _0x203b2a,Injector as _0x1027b3,Tools as _0x9e8b08,ILocalStorageService as _0x31630e,Rectangle as _0x118546,ICommandService as _0x10ec6b,DOC_RANGE_TYPE as _0x59f56c,JSONX as _0x266fd1,CommandType as _0x4aa13b,IPermissionService as _0x2da20a,IUndoRedoService as _0x1ffd7c,sequenceExecute as _0x38e9f3,debounce as _0x5ca691,COLORS as _0xf1f058,ColorKit as _0x6b83db,ThemeService as _0x3c9480,fromEventSubject as _0x1d2736,useDependency as _0x243e1f,connectInjector as _0x30cf07,Workbook as _0x2adeef,isInternalEditorID as _0x1a81fa,LocalUndoRedoService as _0x274670,IContextService as _0x3f60de,DependentOn as _0xc3155c,Plugin as _0xa4cbe6,touchDependencies as _0x40637e,IAuthzIoService as _0x35c722,registerDependencies as _0x2d8432,mergeOverrideWithDependencies as _0x1aae49}from'@univerjs/core';import{Subject as _0x3709f3,merge as _0x28a5b0,takeUntil as _0x3b6332,BehaviorSubject as _0x1ce182,distinctUntilChanged as _0x89f648,fromEvent as _0xcd07a4,ReplaySubject as _0x1dda0f,take as _0x4725fb,map as _0x124199,shareReplay as _0x16cb04,of as _0x323ee7,debounceTime as _0x4983c1,filter as _0x3b94f0,switchMap as _0x3a75f3,combineLatest as _0x20173f,concatMap as _0x77341e,mapTo as _0x6f237d}from'rxjs';import{map as _0xd46654,take as _0x28008e,filter as _0x63bf9c,delay as _0x1b61d4,throttleTime as _0x3bbffb,takeUntil as _0x3c36f4,switchMap as _0x280f00}from'rxjs/operators';import{MessageType as _0x47c858,Tooltip as _0x3dbbdc}from'@univerjs/design';import{IBeforeCloseService as _0x758b44,IMessageService as _0x496a91,INotificationService as _0x46687a,useObservable as _0x22bb33,BuiltInUIPart as _0x5879a4,IUIPartsService as _0x39aaa5}from'@univerjs/ui';import{HTTPService as _0xcd006c,WebSocketService as _0x159ac7,MergeInterceptorFactory as _0x209b54,HTTPRequest as _0x1f6bc0,UniverNetworkPlugin as _0x1a0e26,ThresholdInterceptorFactory as _0x44ad5f}from'@univerjs/network';import{CollaborationEvent as _0x2f5341,parseChangesetToProtocol as _0x467a95,ISnapshotServerService as _0x5c5d27,isTransformMutationFailure as _0x321ec1,isTransformMutationsWithChangesetSuccess as _0x582252,ITransformService as _0xef8dcd,RevisionService as _0x137cc2,mapDocumentTypeToUniverType as _0x50cfb0,isTransformChangesetsSuccess as _0x4d5d49,CompressMutationService as _0x367fa9,parseProtocolChangeset as _0xb8de49,SnapshotService as _0x410fdc,textEncoder as _0xe06896,b64DecodeUnicode as _0x4043bf,isTransformMutationsWithChangesetFailure as _0x514ce0,UniverCollaborationPlugin as _0x2bcdf9}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x34f530}from'@univerjs/telemetry';import{DocIMEInputManagerService as _0x1622d6,DocStateChangeManagerService as _0x55250f,NodePositionConvertToCursor as _0x39e0b4,NodePositionConvertToRectRange as _0x55fd43,TEXT_RANGE_LAYER_INDEX as _0x40d80b,SetDocZoomRatioOperation as _0x235f72}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x424a0f,SetSelectionsOperation as _0x3b3cfe,InsertSheetMutation as _0x28fda5,EmptyMutation as _0x464c30,WorkbookEditablePermission as _0x192248,RefRangeService as _0x275627,EffectRefRangId as _0x2414f2,handleIRemoveRow as _0xd7d8ab,handleIRemoveCol as _0x2389b8,handleMoveRange as _0x41aa69,handleInsertRow as _0x2cd466,handleInsertRangeMoveRight as _0x299092,handleInsertRangeMoveDown as _0x333208,handleInsertCol as _0x15a177,handleDeleteRangeMoveUp as _0x2658a8,handleDeleteRangeMoveLeft as _0x5da107,runRefRangeMutations as _0x388cb8,SetWorksheetActivateCommand as _0x79ca6c}from'@univerjs/sheets';import{IRenderManagerService as _0x47f498,Shape as _0x1bb0ee,Rect as _0x1d9554,getColor as _0x16898a,RegularPolygon as _0x249e70,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x5a5654,Vector2 as _0x432251}from'@univerjs/engine-render';import{DocSelectionManagerService as _0x5b11b1,RichTextEditingMutation as _0x3ba450,SetTextSelectionsOperation as _0x3e4470,DocSkeletonManagerService as _0x4be44e}from'@univerjs/docs';import{ImageSourceType as _0x547351,ImageUploadStatusType as _0x26018c,IImageIoService as _0x56a5b0}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x42d12b,serializeRangeWithSheet as _0x82dca8}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x58f32f,VIEWPORT_KEY as _0x373d88,getCoordByCell as _0x5003e7,getSheetObject as _0xb86afb,SheetPermissionInitController as _0x3f0d67}from'@univerjs/sheets-ui';import _0x3718ff,{forwardRef as _0x61bf00,useRef as _0x3646dc,createElement as _0xbb55a3,useCallback as _0x5f371c}from'react';import{IRemoteInstanceService as _0x201acf}from'@univerjs/rpc';const rr=_0x5b1a3a(0x398),or=_0x5b1a3a(0x447),ar='SNAPSHOT_URL_KEY',kc=_0x5b1a3a(0x2fb),cr=0x7d0,hr=_0x5b1a3a(0x35a),lr=_0x5b1a3a(0x20b),_r=_0x5b1a3a(0x364),ur=0x7530,bi=_0x5b1a3a(0x250),Ti=0x4e20,dr=0x4e20,fr=_0x5b1a3a(0x274),vr=0x3,mr='LOCAL_CACHE_INTERVAL',pr=0x3e8,gr='COLLAB_SUBMIT_CHANGESET_URL',Sr='/universer-api/comb',Ir=_0x5b1a3a(0x245),Cr=_0x5b1a3a(0x345);var Ri=(_0x2aad5b=>(_0x2aad5b[_0x2aad5b[_0x5b1a3a(0x1fd)]=0x0]=_0x5b1a3a(0x1fd),_0x2aad5b[_0x2aad5b['OK']=0x1]='OK',_0x2aad5b[_0x2aad5b[_0x5b1a3a(0x513)]=0x2]='INTERNAL_ERROR',_0x2aad5b[_0x2aad5b[_0x5b1a3a(0x500)]=0x3]=_0x5b1a3a(0x500),_0x2aad5b[_0x2aad5b[_0x5b1a3a(0x525)]=0x4]=_0x5b1a3a(0x525),_0x2aad5b[_0x2aad5b[_0x5b1a3a(0x2e2)]=0x5]=_0x5b1a3a(0x2e2),_0x2aad5b[_0x2aad5b['ALREADY_EXISTS']=0x6]=_0x5b1a3a(0x238),_0x2aad5b[_0x2aad5b['INVALID_ARGUMENT']=0x7]=_0x5b1a3a(0x2f7),_0x2aad5b[_0x2aad5b[_0x5b1a3a(0x417)]=0x8]='TOO_MANY_REQUESTS',_0x2aad5b[_0x2aad5b['COMPLETION_FINISHED']=0x9]=_0x5b1a3a(0x544),_0x2aad5b[_0x2aad5b['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x5b1a3a(0x1a2),_0x2aad5b[_0x2aad5b[_0x5b1a3a(0x20f)]=0x1771]=_0x5b1a3a(0x20f),_0x2aad5b[_0x2aad5b[_0x5b1a3a(0x546)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x2aad5b[_0x2aad5b[_0x5b1a3a(0x4e9)]=0x1773]=_0x5b1a3a(0x4e9),_0x2aad5b[_0x2aad5b[_0x5b1a3a(0x552)]=0x1b59]='APPLY_REJECT',_0x2aad5b[_0x2aad5b[_0x5b1a3a(0x40f)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x2aad5b[_0x2aad5b[_0x5b1a3a(0x2d9)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x2aad5b[_0x2aad5b[_0x5b1a3a(0x359)]=0x1b5c]=_0x5b1a3a(0x359),_0x2aad5b[_0x2aad5b[_0x5b1a3a(0x22b)]=0x1b5d]='APPLY_DUPLICATED',_0x2aad5b[_0x2aad5b[_0x5b1a3a(0x57a)]=0x1f41]=_0x5b1a3a(0x57a),_0x2aad5b[_0x2aad5b[_0x5b1a3a(0x463)]=0x2329]=_0x5b1a3a(0x463),_0x2aad5b[_0x2aad5b[_0x5b1a3a(0x33c)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x2aad5b[_0x2aad5b[_0x5b1a3a(0x4a3)]=0x232b]=_0x5b1a3a(0x4a3),_0x2aad5b[_0x2aad5b[_0x5b1a3a(0x42b)]=0x232c]=_0x5b1a3a(0x42b),_0x2aad5b[_0x2aad5b['LICENSE_DISTRO_REJECTED']=0x232d]=_0x5b1a3a(0x3dd),_0x2aad5b[_0x2aad5b[_0x5b1a3a(0x217)]=0x2711]=_0x5b1a3a(0x217),_0x2aad5b[_0x2aad5b[_0x5b1a3a(0x36e)]=0x2712]=_0x5b1a3a(0x36e),_0x2aad5b[_0x2aad5b[_0x5b1a3a(0x51c)]=0x2713]=_0x5b1a3a(0x51c),_0x2aad5b[_0x2aad5b[_0x5b1a3a(0x485)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x2aad5b[_0x2aad5b[_0x5b1a3a(0x2bc)]=-0x1]=_0x5b1a3a(0x2bc),_0x2aad5b))(Ri||{}),ce=(_0x158317=>(_0x158317[_0x158317[_0x5b1a3a(0x267)]=0x0]='UNIVER_UNKNOWN',_0x158317[_0x158317[_0x5b1a3a(0x1f2)]=0x1]=_0x5b1a3a(0x1f2),_0x158317[_0x158317[_0x5b1a3a(0x24e)]=0x2]='UNIVER_SHEET',_0x158317[_0x158317[_0x5b1a3a(0x226)]=0x3]=_0x5b1a3a(0x226),_0x158317[_0x158317[_0x5b1a3a(0x489)]=0x4]=_0x5b1a3a(0x489),_0x158317[_0x158317[_0x5b1a3a(0x2bc)]=-0x1]=_0x5b1a3a(0x2bc),_0x158317))(ce||{}),W=(_0x3dd716=>(_0x3dd716[_0x3dd716[_0x5b1a3a(0x295)]=0x0]=_0x5b1a3a(0x295),_0x3dd716[_0x3dd716[_0x5b1a3a(0x355)]=0x1]=_0x5b1a3a(0x355),_0x3dd716[_0x3dd716[_0x5b1a3a(0x4da)]=0x2]=_0x5b1a3a(0x4da),_0x3dd716[_0x3dd716[_0x5b1a3a(0x49d)]=0x3]=_0x5b1a3a(0x49d),_0x3dd716[_0x3dd716[_0x5b1a3a(0x19f)]=0x4]=_0x5b1a3a(0x19f),_0x3dd716[_0x3dd716['HEARTBEAT']=0x5]='HEARTBEAT',_0x3dd716[_0x3dd716[_0x5b1a3a(0x3a8)]=0x6]=_0x5b1a3a(0x3a8),_0x3dd716[_0x3dd716[_0x5b1a3a(0x2bc)]=-0x1]=_0x5b1a3a(0x2bc),_0x3dd716))(W||{}),Is=(_0xdd1bff=>(_0xdd1bff[_0xdd1bff[_0x5b1a3a(0x195)]=0x0]=_0x5b1a3a(0x195),_0xdd1bff[_0xdd1bff['OK']=0x1]='OK',_0xdd1bff[_0xdd1bff['FAIL']=0x2]=_0x5b1a3a(0x4e2),_0xdd1bff[_0xdd1bff[_0x5b1a3a(0x2bc)]=-0x1]=_0x5b1a3a(0x2bc),_0xdd1bff))(Is||{}),yi=(_0x28ddcc=>(_0x28ddcc[_0x28ddcc[_0x5b1a3a(0x548)]=0x0]=_0x5b1a3a(0x548),_0x28ddcc[_0x28ddcc['HttpImport']=0x1]='HttpImport',_0x28ddcc[_0x28ddcc['HttpExport']=0x2]=_0x5b1a3a(0x46c),_0x28ddcc[_0x28ddcc[_0x5b1a3a(0x247)]=0x3]=_0x5b1a3a(0x247),_0x28ddcc[_0x28ddcc[_0x5b1a3a(0x243)]=0x4]=_0x5b1a3a(0x243),_0x28ddcc[_0x28ddcc['UNRECOGNIZED']=-0x1]=_0x5b1a3a(0x2bc),_0x28ddcc))(yi||{});const ie=_0x5b1a3a(0x374),Er={};function br(_0x3d1e45){const _0x34b349=_0x5b1a3a;var _0x18e60b,_0x227888,_0x142fc2,_0x252cfa,_0x2512f2;const _0x3fdeae=_0x3d1e45[_0x34b349(0x529)],_0x4300ba=JSON[_0x34b349(0x2e1)](_0x3fdeae);switch(_0x4300ba[_0x34b349(0x205)]){case W['HEARTBEAT']:case W[_0x34b349(0x355)]:{const _0x4fde85=_0x4300ba['infoRsp'];return{..._0x4300ba,'data':_0x4fde85,'cmd':_0x4300ba['cmd']};}case W[_0x34b349(0x4da)]:{const _0x1fca69=_0x4300ba[_0x34b349(0x55a)];return{..._0x4300ba,'data':_0x1fca69,'cmd':_0x4300ba['cmd']};}case W[_0x34b349(0x3a8)]:{const _0xc1ad4a=_0x4300ba[_0x34b349(0x45e)];switch(_0xc1ad4a[_0x34b349(0x3b5)]){case _0x2f5341['PERMISSION_REJ']:return{..._0x4300ba,'data':{..._0xc1ad4a,'data':(_0x18e60b=_0xc1ad4a['permissionRejEvent'])==null?void 0x0:_0x18e60b['cs']},'cmd':_0x4300ba[_0x34b349(0x205)]};case _0x2f5341['CHANGESET_ACK']:return{..._0x4300ba,'data':{..._0xc1ad4a,'data':(_0x227888=_0xc1ad4a[_0x34b349(0x3cb)])==null?void 0x0:_0x227888['cs']},'cmd':_0x4300ba[_0x34b349(0x205)]};case _0x2f5341['NEW_CHANGESETS']:return{..._0x4300ba,'data':{..._0xc1ad4a,'data':(_0x142fc2=_0xc1ad4a['newCsEvent'])==null?void 0x0:_0x142fc2['cs']},'cmd':_0x4300ba[_0x34b349(0x205)]};case _0x2f5341[_0x34b349(0x281)]:return{..._0x4300ba,'data':{..._0xc1ad4a,'data':(_0x252cfa=_0xc1ad4a[_0x34b349(0x530)])==null?void 0x0:_0x252cfa['cs']},'cmd':_0x4300ba['cmd']};case _0x2f5341['CHANGESET_SHOULD_RETRY']:return{..._0x4300ba,'data':{..._0xc1ad4a,'data':(_0x2512f2=_0xc1ad4a[_0x34b349(0x363)])==null?void 0x0:_0x2512f2['cs']},'cmd':_0x4300ba['cmd']};case _0x2f5341[_0x34b349(0x4ec)]:return{..._0x4300ba,'data':{..._0xc1ad4a,'data':_0xc1ad4a['updateCursorEvent']},'cmd':_0x4300ba['cmd']};case _0x2f5341[_0x34b349(0x2e7)]:return{..._0x4300ba,'data':{..._0xc1ad4a,'data':_0xc1ad4a[_0x34b349(0x56c)]},'cmd':_0x4300ba['cmd']};case _0x2f5341['USERS_LEAVE']:return{..._0x4300ba,'data':{..._0xc1ad4a,'data':_0xc1ad4a[_0x34b349(0x4dc)]},'cmd':_0x4300ba[_0x34b349(0x205)]};case _0x2f5341[_0x34b349(0x2fe)]:return{..._0x4300ba,'data':{..._0xc1ad4a,'data':_0xc1ad4a[_0x34b349(0x1dc)]},'cmd':_0x4300ba[_0x34b349(0x205)]};case _0x2f5341[_0x34b349(0x2a8)]:case _0x2f5341[_0x34b349(0x4a0)]:return{..._0x4300ba,'data':{..._0xc1ad4a,'data':_0xc1ad4a[_0x34b349(0x23e)]},'cmd':_0x4300ba['cmd']};case _0x2f5341[_0x34b349(0x583)]:return{..._0x4300ba,'data':{..._0xc1ad4a,'data':_0xc1ad4a[_0x34b349(0x1dc)]},'cmd':_0x4300ba[_0x34b349(0x205)]};case _0x2f5341['MSG_FOR_ERROR']:return{..._0x4300ba,'data':_0xc1ad4a,'cmd':_0x4300ba[_0x34b349(0x205)]};case _0x2f5341[_0x34b349(0x252)]:return{..._0x4300ba,'data':{..._0xc1ad4a,'data':_0xc1ad4a[_0x34b349(0x3b1)]},'cmd':_0x4300ba[_0x34b349(0x205)]};case _0x2f5341[_0x34b349(0x527)]:return{..._0x4300ba,'data':{..._0xc1ad4a,'data':_0xc1ad4a[_0x34b349(0x571)]},'cmd':_0x4300ba[_0x34b349(0x205)]};case _0x2f5341[_0x34b349(0x477)]:return{..._0x4300ba,'data':{..._0xc1ad4a,'data':_0xc1ad4a[_0x34b349(0x30a)]},'cmd':_0x4300ba[_0x34b349(0x205)]};default:return _0x4300ba;}}default:return _0x4300ba;}}function Tr(_0x30ccf5){const _0x496885=_0x5b1a3a;switch(_0x30ccf5['cmd']){case W[_0x496885(0x23b)]:case W[_0x496885(0x355)]:return JSON[_0x496885(0x3d4)]({'cmd':_0x30ccf5[_0x496885(0x205)],'routeKey':_0x30ccf5[_0x496885(0x51b)]});case W[_0x496885(0x19f)]:{let _0x40896b;switch(_0x30ccf5[_0x496885(0x529)][_0x496885(0x3b5)]){case _0x2f5341[_0x496885(0x4ec)]:{_0x40896b={'eventID':_0x2f5341[_0x496885(0x4ec)],'updateCursorEvent':_0x30ccf5[_0x496885(0x529)][_0x496885(0x529)]};break;}case _0x2f5341[_0x496885(0x2e0)]:{_0x40896b={'eventID':_0x2f5341[_0x496885(0x2e0)],'leaveEvent':_0x30ccf5[_0x496885(0x529)][_0x496885(0x529)]};break;}case _0x2f5341[_0x496885(0x2e7)]:{_0x40896b={'eventID':_0x2f5341[_0x496885(0x2e7)],'joinEvent':_0x30ccf5[_0x496885(0x529)]['data']};break;}case _0x2f5341[_0x496885(0x2fe)]:{_0x40896b={'eventID':_0x2f5341[_0x496885(0x2fe)],'liveShareNewHost':_0x30ccf5[_0x496885(0x529)][_0x496885(0x529)]};break;}case _0x2f5341['LIVESHARE_OPERATION']:{_0x40896b={'eventID':_0x2f5341[_0x496885(0x4a0)],'liveShareOperation':_0x30ccf5[_0x496885(0x529)][_0x496885(0x529)]};break;}case _0x2f5341[_0x496885(0x583)]:{_0x40896b={'eventID':_0x2f5341[_0x496885(0x583)],'liveShareTerminate':_0x30ccf5[_0x496885(0x529)][_0x496885(0x529)]};break;}case _0x2f5341[_0x496885(0x53d)]:{_0x40896b={'eventID':_0x2f5341[_0x496885(0x53d)],'liveShareRequestHost':_0x30ccf5[_0x496885(0x529)][_0x496885(0x529)]};break;}case _0x2f5341[_0x496885(0x2a8)]:{_0x40896b={'eventID':_0x2f5341[_0x496885(0x2a8)]};break;}default:_0x40896b={'eventID':_0x30ccf5[_0x496885(0x529)][_0x496885(0x3b5)]};}return JSON['stringify']({'cmd':_0x30ccf5[_0x496885(0x205)],'routeKey':_0x30ccf5[_0x496885(0x51b)],'collaMsg':_0x40896b});}case W[_0x496885(0x4da)]:return JSON[_0x496885(0x3d4)]({'cmd':_0x30ccf5[_0x496885(0x205)],'routeKey':_0x30ccf5[_0x496885(0x51b)],'joinReq':_0x30ccf5['data']});case W[_0x496885(0x49d)]:return JSON[_0x496885(0x3d4)]({'cmd':_0x30ccf5[_0x496885(0x205)],'routeKey':_0x30ccf5[_0x496885(0x51b)],'leaveReq':_0x30ccf5['data']});default:throw new Error(_0x496885(0x1ac));}}var Rr=Object['defineProperty'],yr=Object[_0x5b1a3a(0x42f)],Or=(_0x1345c0,_0x2111c,_0x58f6f3,_0x532652)=>{const _0x3ed2f4=_0x5b1a3a;for(var _0x291058=_0x532652>0x1?void 0x0:_0x532652?yr(_0x2111c,_0x58f6f3):_0x2111c,_0x579732=_0x1345c0[_0x3ed2f4(0x29a)]-0x1,_0x54b351;_0x579732>=0x0;_0x579732--)(_0x54b351=_0x1345c0[_0x579732])&&(_0x291058=(_0x532652?_0x54b351(_0x2111c,_0x58f6f3,_0x291058):_0x54b351(_0x291058))||_0x291058);return _0x532652&&_0x291058&&Rr(_0x2111c,_0x58f6f3,_0x291058),_0x291058;},qe=(_0x593698,_0x80cbb5)=>(_0x2a6776,_0x40bf23)=>_0x80cbb5(_0x2a6776,_0x40bf23,_0x593698);const Oi=_0x25a723(_0x5b1a3a(0x46a));function wr(_0x1a5178,_0x20d2ba,_0x526b58){const _0x332bc3=_0x5b1a3a;return _0x1a5178+'/'+_0x20d2ba+_0x332bc3(0x1f3)+_0x526b58+'/new_changes';}let es=class extends _0x45951d{constructor(_0x4ee14f,_0x360983,_0x496acc,_0x429e4d,_0x1e999a){const _0x47c832=_0x5b1a3a;super(),this[_0x47c832(0x332)]=_0x4ee14f,this[_0x47c832(0x54b)]=_0x360983,this[_0x47c832(0x4c4)]=_0x496acc,this['_logService']=_0x429e4d,this['_snapshotServerService']=_0x1e999a;}[_0x5b1a3a(0x256)](_0x55da76){const _0x25811f=_0x5b1a3a,_0x69abb9=this[_0x25811f(0x54b)]['createSocket'](_0x55da76);if(!_0x69abb9)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x471104=new _0x322cfa(),_0x2d24d2=new _0x3709f3();_0x471104[_0x25811f(0x49f)](_0x69abb9[_0x25811f(0x3a5)][_0x25811f(0x570)](_0x30fc7a=>_0x2d24d2[_0x25811f(0x424)](_0x30fc7a))),_0x471104['add'](_0x529295(()=>_0x2d24d2[_0x25811f(0x496)]()));const _0xf08bf8=new _0x3709f3();_0x471104['add'](_0x69abb9[_0x25811f(0x4d5)][_0x25811f(0x570)](_0x34355a=>_0xf08bf8[_0x25811f(0x424)](_0x34355a))),_0x471104['add'](_0x529295(()=>_0xf08bf8[_0x25811f(0x496)]()));const _0x1107a5=new _0x3709f3();_0x471104[_0x25811f(0x49f)](_0x69abb9[_0x25811f(0x2c8)][_0x25811f(0x570)](_0x55b7c2=>{const _0x3c0707=br(_0x55b7c2);_0x1107a5['next'](_0x3c0707);})),_0x471104[_0x25811f(0x49f)](_0x529295(()=>_0x1107a5[_0x25811f(0x496)]()));let _0x56e55d;const _0x50992c=()=>{const _0x2f6006=_0x25811f;_0xf08bf8[_0x2f6006(0x424)](new Event('connection\x20error')),_0x2d24d2['next'](new CloseEvent(_0x2f6006(0x1e8))),_0x56e55d['close']();};return _0x56e55d={'memberID':'','close$':_0x2d24d2[_0x25811f(0x319)](),'error$':_0xf08bf8[_0x25811f(0x319)](),'open$':_0x69abb9[_0x25811f(0x239)],'message$':_0x1107a5[_0x25811f(0x319)](),'send':_0x20ce2d=>{const _0x54f4ee=_0x25811f;if(_0x20ce2d[_0x54f4ee(0x205)]===W[_0x54f4ee(0x19f)]){if(_0x20ce2d[_0x54f4ee(0x529)][_0x54f4ee(0x3b5)]===_0x2f5341[_0x54f4ee(0x1bd)]){this[_0x54f4ee(0x1ab)](_0x56e55d,_0x20ce2d[_0x54f4ee(0x529)])[_0x54f4ee(0x443)](_0x658e19=>{const _0x46c2c7=_0x54f4ee;this[_0x46c2c7(0x2b5)]['error'](_0x658e19),_0x50992c();});return;}if(_0x20ce2d['data'][_0x54f4ee(0x3b5)]===_0x2f5341[_0x54f4ee(0x2a9)]){const _0x108f2e=_0x20ce2d['data'];this[_0x54f4ee(0x3e9)](_0x108f2e)[_0x54f4ee(0x381)](_0x2df767=>{const _0x135fff=_0x54f4ee;_0x1107a5[_0x135fff(0x424)]({'cmd':W[_0x135fff(0x3a8)],'code':Is['OK'],'routeKey':_0x108f2e[_0x135fff(0x529)][_0x135fff(0x41c)],'routeType':'','data':{'eventID':_0x2f5341[_0x135fff(0x1a0)],'data':{'changesets':_0x2df767}}});})['catch'](_0x19c0c8=>{const _0x1ffec3=_0x54f4ee;this[_0x1ffec3(0x2b5)][_0x1ffec3(0x237)](_0x19c0c8),_0x50992c();});return;}}_0x69abb9['send'](Tr(_0x20ce2d));},'close':()=>{const _0x4edf50=_0x25811f;_0x69abb9['close'](),_0x471104[_0x4edf50(0x257)]();}},_0x56e55d;}async[_0x5b1a3a(0x1ab)](_0x5c22ef,_0x26e6e7){const _0xac1f82=_0x5b1a3a;var _0xe4c421,_0x443a14;const {unitType:_0x5ec151,unitID:_0x831f11,changeset:_0x39ca7c}=_0x26e6e7[_0xac1f82(0x529)],_0x69d7e8={'unitID':_0x831f11,'memberID':_0x5c22ef[_0xac1f82(0x4e6)],'type':_0x5ec151,'changeset':_0x467a95(_0x39ca7c)},_0x47487b=this[_0xac1f82(0x4c4)][_0xac1f82(0x451)](gr),_0x5ea07c=this[_0xac1f82(0x4c4)][_0xac1f82(0x451)](ie),_0x1ab9c3=wr((_0x443a14=(_0xe4c421=_0x5ea07c==null?void 0x0:_0x5ea07c[_0xac1f82(0x268)])!=null?_0xe4c421:_0x47487b)!=null?_0x443a14:Sr,_0x5ec151,_0x831f11);try{await this['_http'][_0xac1f82(0x493)](_0x1ab9c3,{'body':_0x69d7e8});}catch(_0x2bf577){throw this[_0xac1f82(0x2b5)][_0xac1f82(0x237)]('[CollaborationSession]',_0xac1f82(0x25a)),_0x2bf577;}}async[_0x5b1a3a(0x3e9)](_0x5b02e3){const _0x2c3f53=_0x5b1a3a,{unitID:_0x20f1e4,from:_0x62775c,to:_0x7bff4f,unitType:_0x561391}=_0x5b02e3[_0x2c3f53(0x529)];return(await this[_0x2c3f53(0x2f5)][_0x2c3f53(0x578)]({'metadata':void 0x0},{'unitID':_0x20f1e4,'type':_0x561391,'from':_0x62775c,'to':_0x7bff4f}))[_0x2c3f53(0x4c6)];}};es=Or([qe(0x0,_0x28839c(_0xcd006c)),qe(0x1,_0x28839c(_0x159ac7)),qe(0x2,_0x5d6cbd),qe(0x3,_0x418a3e),qe(0x4,_0x5c5d27)],es);const Dr=_0x5b1a3a(0x2f3);function Pr(_0x59c7b5){return JSON['stringify'](_0x59c7b5)['length'];}class wi{constructor(){const _0x46cea0=_0x5b1a3a;g(this,_0x46cea0(0x2d2),new _0x3709f3()),g(this,_0x46cea0(0x484),this[_0x46cea0(0x2d2)][_0x46cea0(0x319)]());}[_0x5b1a3a(0x3ea)](_0x5658ad){const _0x4d68bf=_0x5b1a3a;this[_0x4d68bf(0x2d2)][_0x4d68bf(0x424)](_0x5658ad);}}var Ur=Object[_0x5b1a3a(0x3dc)],Nr=Object[_0x5b1a3a(0x42f)],Ar=(_0x19f406,_0x16efcc,_0x11486d,_0x19346a)=>{for(var _0x5c9b3c=_0x19346a>0x1?void 0x0:_0x19346a?Nr(_0x16efcc,_0x11486d):_0x16efcc,_0x3c5172=_0x19f406['length']-0x1,_0x540610;_0x3c5172>=0x0;_0x3c5172--)(_0x540610=_0x19f406[_0x3c5172])&&(_0x5c9b3c=(_0x19346a?_0x540610(_0x16efcc,_0x11486d,_0x5c9b3c):_0x540610(_0x5c9b3c))||_0x5c9b3c);return _0x19346a&&_0x5c9b3c&&Ur(_0x16efcc,_0x11486d,_0x5c9b3c),_0x5c9b3c;},Hs=(_0x419a6c,_0x896b2a)=>(_0x3f55fd,_0x430251)=>_0x896b2a(_0x3f55fd,_0x430251,_0x419a6c);let Ne=class extends _0x45951d{constructor(_0x7a5bf6,_0x26f8a7){const _0x41adb0=_0x5b1a3a;super(),g(this,_0x41adb0(0x38f),new Map()),(this[_0x41adb0(0x212)]=_0x7a5bf6,this[_0x41adb0(0x2f1)]=_0x26f8a7,this[_0x41adb0(0x4b9)](_0x529295(_0x28a5b0(this['_univerInstanceService'][_0x41adb0(0x40b)](_0x1bbc53[_0x41adb0(0x24e)])['pipe'](_0xd46654(_0x2625e2=>_0x2625e2[_0x41adb0(0x510)]())),this['_univerInstanceService'][_0x41adb0(0x40b)](_0x1bbc53['UNIVER_DOC'])[_0x41adb0(0x1ff)](_0xd46654(_0x37bcf8=>_0x37bcf8[_0x41adb0(0x510)]())),this[_0x41adb0(0x212)][_0x41adb0(0x40b)](_0x1bbc53['UNIVER_SLIDE'])['pipe'](_0xd46654(_0x34265d=>_0x34265d['getUnitId']())))[_0x41adb0(0x570)](_0x3664a1=>this[_0x41adb0(0x311)](_0x3664a1)))));}[_0x5b1a3a(0x289)](_0x2f2aee){const _0x43b143=_0x5b1a3a;this[_0x43b143(0x2f1)]['setCurrentUser'](_0x2f2aee);}[_0x5b1a3a(0x242)](){const _0x4b1a1f=_0x5b1a3a;return this[_0x4b1a1f(0x2f1)][_0x4b1a1f(0x242)]();}['updateMember'](_0x1822aa,_0x3951bd){const _0x1ada5c=_0x5b1a3a;let _0x3f54ff=this[_0x1ada5c(0x38f)][_0x1ada5c(0x50f)](_0x1822aa);_0x3f54ff||(_0x3f54ff=new Mr(),this[_0x1ada5c(0x38f)][_0x1ada5c(0x18b)](_0x1822aa,_0x3f54ff)),_0x3f54ff[_0x1ada5c(0x2dd)](_0x3951bd);}[_0x5b1a3a(0x46e)](_0x2b3d73,_0x538325){const _0x32fd83=_0x5b1a3a,_0x848fe2=this[_0x32fd83(0x38f)][_0x32fd83(0x50f)](_0x2b3d73);_0x848fe2&&_0x848fe2[_0x32fd83(0x46e)](_0x538325);}[_0x5b1a3a(0x354)](_0x1dfe37){const _0x3eaafb=_0x5b1a3a;return this[_0x3eaafb(0x38f)][_0x3eaafb(0x50f)](_0x1dfe37);}[_0x5b1a3a(0x1d9)](_0x113bee,_0x4841de){const _0x2f51ba=_0x5b1a3a,_0x5cdc1a=this['_roomMembers'][_0x2f51ba(0x50f)](_0x113bee);if(_0x5cdc1a)return _0x5cdc1a[_0x2f51ba(0x1d9)](_0x4841de);}[_0x5b1a3a(0x311)](_0x2dc36d){const _0x3bc708=_0x5b1a3a,_0x3aab9e=this[_0x3bc708(0x38f)][_0x3bc708(0x50f)](_0x2dc36d);_0x3aab9e&&(_0x3aab9e['dispose'](),this[_0x3bc708(0x38f)][_0x3bc708(0x3a1)](_0x2dc36d));}[_0x5b1a3a(0x257)](){const _0x32cfe6=_0x5b1a3a;this[_0x32cfe6(0x38f)]['forEach'](_0x571496=>_0x571496[_0x32cfe6(0x257)]()),this[_0x32cfe6(0x38f)][_0x32cfe6(0x4d4)]();}};Ne=Ar([Hs(0x0,_0x578cb),Hs(0x1,_0x28839c(_0x74dff6))],Ne);class Mr extends _0x45951d{constructor(){super(...arguments),g(this,'_members',new Map());}['dispose'](){const _0x3dff8d=_0x5b1a3a;this[_0x3dff8d(0x2f6)][_0x3dff8d(0x4d4)]();}['updateMember'](_0x38b30c){const _0xfa306d=_0x5b1a3a;this[_0xfa306d(0x2f6)][_0xfa306d(0x18b)](_0x38b30c[_0xfa306d(0x4e6)],_0x38b30c);}[_0x5b1a3a(0x46e)](_0x112c4c){const _0x1e04b0=_0x5b1a3a;this[_0x1e04b0(0x2f6)][_0x1e04b0(0x3a1)](_0x112c4c);}[_0x5b1a3a(0x1d9)](_0x56d388){const _0x1012ee=_0x5b1a3a;return this[_0x1012ee(0x2f6)]['get'](_0x56d388);}['getAllMembers'](){const _0xb4f52d=_0x5b1a3a;return Array[_0xb4f52d(0x337)](this[_0xb4f52d(0x2f6)][_0xb4f52d(0x327)]());}}var xr=Object[_0x5b1a3a(0x3dc)],Lr=Object[_0x5b1a3a(0x42f)],$r=(_0xb3fde1,_0x283b20,_0x2db6db,_0x320d27)=>{const _0x53a643=_0x5b1a3a;for(var _0x14f9cb=_0x320d27>0x1?void 0x0:_0x320d27?Lr(_0x283b20,_0x2db6db):_0x283b20,_0x3103e7=_0xb3fde1[_0x53a643(0x29a)]-0x1,_0x3083ae;_0x3103e7>=0x0;_0x3103e7--)(_0x3083ae=_0xb3fde1[_0x3103e7])&&(_0x14f9cb=(_0x320d27?_0x3083ae(_0x283b20,_0x2db6db,_0x14f9cb):_0x3083ae(_0x14f9cb))||_0x14f9cb);return _0x320d27&&_0x14f9cb&&xr(_0x283b20,_0x2db6db,_0x14f9cb),_0x14f9cb;},Ee=(_0x2c1aa5,_0x3a53b1)=>(_0x4fa4a2,_0x5f5d3d)=>_0x3a53b1(_0x4fa4a2,_0x5f5d3d,_0x2c1aa5),ve=(_0x1b7a59=>(_0x1b7a59[_0x1b7a59['IDLE']=0x0]='IDLE',_0x1b7a59[_0x1b7a59[_0x5b1a3a(0x383)]=0x1]='JOINING',_0x1b7a59[_0x1b7a59[_0x5b1a3a(0x405)]=0x2]=_0x5b1a3a(0x405),_0x1b7a59[_0x1b7a59['ONLINE']=0x3]='ONLINE',_0x1b7a59))(ve||{});let ts=class extends _0x203b2a{constructor(_0x52929d,_0x59204d,_0xf21448,_0x434605,_0x3d4a52,_0x25f6b6,_0x253a54,_0x1a1971,_0x1aa5de,_0x2bde93){const _0x3ccc0=_0x5b1a3a;super(),g(this,_0x3ccc0(0x52c),new _0x1ce182(0x0)),g(this,_0x3ccc0(0x494),this['_sessionStatus$']['asObservable']()),g(this,_0x3ccc0(0x22d),new _0x3709f3()),g(this,'event$',this['_event$'][_0x3ccc0(0x319)]()),g(this,_0x3ccc0(0x4f1)),g(this,'_socketMessageSubscription'),g(this,_0x3ccc0(0x1e2)),g(this,_0x3ccc0(0x1dd),!0x1),g(this,_0x3ccc0(0x1e5),null),(this[_0x3ccc0(0x538)]=_0x52929d,this[_0x3ccc0(0x2b5)]=_0xf21448,this['_beforeCloseService']=_0x434605,this[_0x3ccc0(0x402)]=_0x3d4a52,this[_0x3ccc0(0x4c4)]=_0x25f6b6,this['_localeService']=_0x253a54,this[_0x3ccc0(0x579)]=_0x1a1971,this['_commentService']=_0x1aa5de,this['_telemetryService']=_0x2bde93,this['_shouldReportTelemetry']=!!this['_telemetryService'],_0x59204d[_0x3ccc0(0x1ff)](_0x3b6332(this[_0x3ccc0(0x431)]))[_0x3ccc0(0x570)](_0x40cd84=>{const _0x57e94a=_0x3ccc0;var _0x59ca38;typeof _0x40cd84>'u'||(this[_0x57e94a(0x4f1)]=_0x40cd84,_0x40cd84?(this[_0x57e94a(0x3b0)](_0x40cd84),this[_0x57e94a(0x1ce)]=_0x40cd84[_0x57e94a(0x2c8)][_0x57e94a(0x570)](_0x424885=>{const _0x208772=_0x57e94a;_0x424885[_0x208772(0x51b)]===this[_0x208772(0x538)]&&this[_0x208772(0x3a3)](_0x424885);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x57e94a(0x52c)][_0x57e94a(0x424)](0x2),(_0x59ca38=this[_0x57e94a(0x1ce)])==null||_0x59ca38[_0x57e94a(0x403)](),this['_socketMessageSubscription']=null));}),this[_0x3ccc0(0x4b9)](this[_0x3ccc0(0x37a)][_0x3ccc0(0x31d)](()=>{const _0x403ec3=_0x3ccc0;var _0x4991b2;(_0x4991b2=this[_0x403ec3(0x4f1)])==null||_0x4991b2[_0x403ec3(0x4a1)]({'cmd':W['LEAVE'],'data':{'roomID':this[_0x403ec3(0x538)]}});})));}get[_0x5b1a3a(0x4b4)](){const _0x107d9d=_0x5b1a3a;return this['_sessionStatus$'][_0x107d9d(0x45b)]();}['getMemberID'](){const _0x1b7897=_0x5b1a3a;var _0xf0d8c9,_0x311c25;return(_0x311c25=(_0xf0d8c9=this['_socket'])==null?void 0x0:_0xf0d8c9[_0x1b7897(0x4e6)])!=null?_0x311c25:null;}[_0x5b1a3a(0x257)](){const _0x5c8a93=_0x5b1a3a;super[_0x5c8a93(0x257)](),this[_0x5c8a93(0x431)]['next'](),this[_0x5c8a93(0x431)][_0x5c8a93(0x496)]();}[_0x5b1a3a(0x3c4)](){const _0x751cb=_0x5b1a3a;var _0x347905,_0x52d0db;this['_throwTelemetryCollaborationNewChangeset'](),(_0x347905=this[_0x751cb(0x4f1)])==null||_0x347905['send']({'cmd':W[_0x751cb(0x49d)],'data':{'roomID':this['_unitID']}}),(_0x52d0db=this[_0x751cb(0x4f1)])==null||_0x52d0db['close'](),this['_event$'][_0x751cb(0x496)](),this[_0x751cb(0x52c)]['complete'](),this[_0x751cb(0x257)]();}['_onCombEvent'](_0xe4cb17){const _0x26942f=_0x5b1a3a;_0xe4cb17[_0x26942f(0x205)]===W[_0x26942f(0x4da)]?this[_0x26942f(0x27c)](_0xe4cb17):_0xe4cb17[_0x26942f(0x205)]===W[_0x26942f(0x3a8)]&&this[_0x26942f(0x26a)](_0xe4cb17);}[_0x5b1a3a(0x3b0)](_0x3824d7){const _0x108655=_0x5b1a3a;this[_0x108655(0x52c)]['next'](0x1),_0x3824d7[_0x108655(0x4a1)]({'cmd':W['JOIN'],'routeKey':this[_0x108655(0x538)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x5b1a3a(0x27c)](_0x48b60f){const _0xfed7b0=_0x5b1a3a;var _0x179942;if(_0x48b60f[_0xfed7b0(0x2dc)]===Is[_0xfed7b0(0x4e2)]){this[_0xfed7b0(0x402)][_0xfed7b0(0x3c1)]({'type':_0x47c858[_0xfed7b0(0x3f4)],'content':this[_0xfed7b0(0x273)]['t'](_0xfed7b0(0x40d))}),this[_0xfed7b0(0x52c)][_0xfed7b0(0x424)](0x2);return;}this[_0xfed7b0(0x52c)][_0xfed7b0(0x424)](0x3);const _0xf0e978=(_0x179942=_0x48b60f['data'][_0xfed7b0(0x439)][this['_unitID']])==null?void 0x0:_0x179942[_0xfed7b0(0x483)];_0xf0e978&&_0xf0e978[_0xfed7b0(0x2a1)](_0x3a2c3b=>this[_0xfed7b0(0x579)][_0xfed7b0(0x2dd)](this[_0xfed7b0(0x538)],_0x3a2c3b));}[_0x5b1a3a(0x26a)](_0x3cedeb){const _0x7e6b1b=_0x5b1a3a;try{const _0x3472c8=_0x3cedeb[_0x7e6b1b(0x529)];switch(_0x3472c8[_0x7e6b1b(0x3b5)]){case _0x2f5341['USERS_ENTER']:this[_0x7e6b1b(0x531)](_0x3472c8),this['_event$']['next'](_0x3472c8);break;case _0x2f5341['USERS_LEAVE']:this[_0x7e6b1b(0x56d)](_0x3472c8),this[_0x7e6b1b(0x22d)]['next'](_0x3472c8);break;case _0x2f5341['CHANGESET_ACK']:case _0x2f5341['CHANGESET_SHOULD_RETRY']:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x7e6b1b(0x4d2)](),this[_0x7e6b1b(0x22d)][_0x7e6b1b(0x424)](_0x3472c8);break;case _0x2f5341[_0x7e6b1b(0x1f8)]:this[_0x7e6b1b(0x2b5)]['error'](_0x7e6b1b(0x285)+JSON['stringify'](_0x3472c8)),this[_0x7e6b1b(0x22d)][_0x7e6b1b(0x424)](_0x3472c8);break;case _0x2f5341[_0x7e6b1b(0x252)]:this[_0x7e6b1b(0x519)][_0x7e6b1b(0x3ea)](_0x3472c8[_0x7e6b1b(0x529)]),this[_0x7e6b1b(0x22d)][_0x7e6b1b(0x424)](_0x3472c8);break;default:this[_0x7e6b1b(0x22d)]['next'](_0x3472c8);}}catch(_0x12d595){this[_0x7e6b1b(0x2b5)]['error'](_0x12d595,_0x3cedeb);}}[_0x5b1a3a(0x531)](_0x10709a){const _0x3e596c=_0x5b1a3a;this['_memberService'][_0x3e596c(0x2dd)](this[_0x3e596c(0x538)],_0x10709a[_0x3e596c(0x529)]);}['_onUserLeave'](_0x389e23){const _0x4150b6=_0x5b1a3a;this[_0x4150b6(0x579)][_0x4150b6(0x46e)](this[_0x4150b6(0x538)],_0x389e23['data']['memberID']);}async['send'](_0x2afed0,_0x3ad7cc){const _0x22a843=_0x5b1a3a;if(this['sessionStatus']!==0x3||!this[_0x22a843(0x4f1)])throw new Error(_0x22a843(0x517));try{_0x2afed0[_0x22a843(0x3b5)]===_0x2f5341[_0x22a843(0x1bd)]&&(this[_0x22a843(0x542)](),this['_startTelemetryCollaborationNewChangeset'](_0x2afed0)),this['_socket'][_0x22a843(0x4a1)]({'cmd':W['INGEST'],'routeKey':_0x3ad7cc,'routeType':'','data':_0x2afed0});}catch(_0x3984df){this[_0x22a843(0x2b5)][_0x22a843(0x237)](_0x3984df);}}[_0x5b1a3a(0x542)](){const _0x3c449a=_0x5b1a3a;var _0x477bb9;this[_0x3c449a(0x1e2)]=window[_0x3c449a(0x180)](()=>{const _0x1468f9=_0x3c449a;this[_0x1468f9(0x1e2)]=null,this[_0x1468f9(0x402)]['show']({'type':_0x47c858['Error'],'content':this[_0x1468f9(0x273)]['t']('session.collaboration-timeout')});},(_0x477bb9=this[_0x3c449a(0x4c4)][_0x3c449a(0x451)](bi))!=null?_0x477bb9:Ti);}[_0x5b1a3a(0x4d2)](){const _0x193b3e=_0x5b1a3a;this[_0x193b3e(0x1e2)]&&(clearTimeout(this[_0x193b3e(0x1e2)]),this[_0x193b3e(0x1e2)]=null);}[_0x5b1a3a(0x1c5)](_0x26d9d7){const _0x173be6=_0x5b1a3a;if(!this['_shouldReportTelemetry'])return;const {data:_0x50fcc5}=_0x26d9d7,{unitID:_0x1f538b,changeset:_0x740f85}=_0x50fcc5,{mutations:_0x218472,type:_0x28d824}=_0x740f85;this[_0x173be6(0x1e5)]={'unitId':_0x1f538b,'type':_0x28d824,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Pr(_0x218472)};}[_0x5b1a3a(0x258)](){const _0x511ae4=_0x5b1a3a;if(this[_0x511ae4(0x1dd)]){if(!this[_0x511ae4(0x1e5)]){this[_0x511ae4(0x2b5)][_0x511ae4(0x237)](_0x511ae4(0x4ff),_0x511ae4(0x21c));return;}this['_telemetryInfo'][_0x511ae4(0x569)]=performance['now'](),this[_0x511ae4(0x1e5)]['duration']=this[_0x511ae4(0x1e5)][_0x511ae4(0x569)]-this['_telemetryInfo']['startTime'],this[_0x511ae4(0x4d9)][_0x511ae4(0x549)](Dr,this[_0x511ae4(0x1e5)]),this['_telemetryInfo']=null;}}[_0x5b1a3a(0x2f4)](){this['_telemetryInfo']=null;}};function _0xa0d1(_0x2c25de,_0x1aaa75){const _0xb44798=_0xb447();return _0xa0d1=function(_0xa0d1df,_0x1b1438){_0xa0d1df=_0xa0d1df-0x17c;let _0x376920=_0xb44798[_0xa0d1df];return _0x376920;},_0xa0d1(_0x2c25de,_0x1aaa75);}ts=$r([Ee(0x2,_0x418a3e),Ee(0x3,_0x758b44),Ee(0x4,_0x496a91),Ee(0x5,_0x5d6cbd),Ee(0x6,_0x28839c(_0x173a06)),Ee(0x7,_0x28839c(Ne)),Ee(0x8,_0x28839c(wi)),Ee(0x9,_0x3c705a(_0x34f530))],ts);var Hr=Object[_0x5b1a3a(0x3dc)],jr=Object[_0x5b1a3a(0x42f)],Br=(_0x23ae47,_0x1305cf,_0x430be9,_0x3c4b4f)=>{for(var _0x40e298=_0x3c4b4f>0x1?void 0x0:_0x3c4b4f?jr(_0x1305cf,_0x430be9):_0x1305cf,_0xf18431=_0x23ae47['length']-0x1,_0x2f4298;_0xf18431>=0x0;_0xf18431--)(_0x2f4298=_0x23ae47[_0xf18431])&&(_0x40e298=(_0x3c4b4f?_0x2f4298(_0x1305cf,_0x430be9,_0x40e298):_0x2f4298(_0x40e298))||_0x40e298);return _0x3c4b4f&&_0x40e298&&Hr(_0x1305cf,_0x430be9,_0x40e298),_0x40e298;},je=(_0x2d0bfe,_0xf84269)=>(_0x73bed,_0x26fe1b)=>_0xf84269(_0x73bed,_0x26fe1b,_0x2d0bfe);let Ae=class extends _0x45951d{constructor(_0x5efeb1,_0x1340b4,_0x21275f,_0x4fd476,_0x4dabbe,_0xc02a22){const _0x5e0cf3=_0x5b1a3a;super(),g(this,'_socket$',new _0x1ce182(void 0x0)),g(this,_0x5e0cf3(0x1c1),this[_0x5e0cf3(0x300)][_0x5e0cf3(0x319)]()),g(this,_0x5e0cf3(0x55b),null),g(this,_0x5e0cf3(0x4af),new Map()),g(this,_0x5e0cf3(0x2ef),new _0x1ce182(ve[_0x5e0cf3(0x4ba)])),g(this,_0x5e0cf3(0x433),this[_0x5e0cf3(0x2ef)]['asObservable']()),g(this,_0x5e0cf3(0x41e),!0x1),g(this,'_retryConnectingTimer'),g(this,'_retryCount',0x0),g(this,'_sendHeartbeatTimer'),g(this,'_timeoutTimer'),(this[_0x5e0cf3(0x4e1)]=_0x5efeb1,this['_localeService']=_0x1340b4,this[_0x5e0cf3(0x402)]=_0x21275f,this[_0x5e0cf3(0x2b5)]=_0x4fd476,this[_0x5e0cf3(0x4c4)]=_0x4dabbe,this[_0x5e0cf3(0x3de)]=_0xc02a22,this[_0x5e0cf3(0x1d4)]());}get[_0x5b1a3a(0x4f1)](){const _0xafc356=_0x5b1a3a;return this['_socket$'][_0xafc356(0x45b)]();}[_0x5b1a3a(0x1d4)](){const _0x29d91b=_0x5b1a3a;this[_0x29d91b(0x365)](),this['_listenToOnlineEvent']();}[_0x5b1a3a(0x257)](){const _0x17bf26=_0x5b1a3a;super['dispose'](),this[_0x17bf26(0x4af)][_0x17bf26(0x2a1)](_0x544437=>_0x544437['dispose']()),this[_0x17bf26(0x4af)][_0x17bf26(0x4d4)](),this[_0x17bf26(0x2ef)][_0x17bf26(0x496)]();}async[_0x5b1a3a(0x312)](_0x41fd6b){const _0xf2619d=_0x5b1a3a;if(this[_0xf2619d(0x4af)][_0xf2619d(0x2fd)](_0x41fd6b))return this[_0xf2619d(0x4af)]['get'](_0x41fd6b);this['_tryEnsureSocket']();const _0x3f9aa6=this[_0xf2619d(0x4e1)]['createInstance'](ts,_0x41fd6b,this[_0xf2619d(0x300)][_0xf2619d(0x319)]());return this[_0xf2619d(0x4af)]['set'](_0x41fd6b,_0x3f9aa6),_0x3f9aa6;}[_0x5b1a3a(0x2e3)](_0x10fadf){const _0x177d59=_0x5b1a3a;var _0x537d2b;const _0x354ac6=this[_0x177d59(0x4af)]['get'](_0x10fadf);_0x354ac6&&(this[_0x177d59(0x4af)][_0x177d59(0x3a1)](_0x10fadf),_0x354ac6[_0x177d59(0x3c4)]()),this[_0x177d59(0x4af)][_0x177d59(0x388)]||(_0x537d2b=this[_0x177d59(0x4f1)])==null||_0x537d2b[_0x177d59(0x3c4)]();}[_0x5b1a3a(0x3e0)](){const _0x265a4f=_0x5b1a3a;this['_retryCount']=0x0,this[_0x265a4f(0x389)]!=null&&(clearTimeout(this[_0x265a4f(0x389)]),this[_0x265a4f(0x389)]=null),this['_tryReconnect']();}[_0x5b1a3a(0x545)](){const _0x14cfd1=_0x5b1a3a;var _0x74939d,_0x579149;const _0x193980=this[_0x14cfd1(0x4c4)][_0x14cfd1(0x451)](hr),_0x19015d=this[_0x14cfd1(0x4c4)][_0x14cfd1(0x451)](ie),_0x197cbe=(_0x579149=(_0x74939d=_0x19015d==null?void 0x0:_0x19015d['collabWebSocketUrl'])!=null?_0x74939d:_0x193980)!=null?_0x579149:lr,_0xd00391=this[_0x14cfd1(0x3de)][_0x14cfd1(0x256)](_0x197cbe);return this[_0x14cfd1(0x55b)]=_0xd00391,_0xd00391;}[_0x5b1a3a(0x42d)](){const _0x1979fb=_0x5b1a3a;var _0x19cd22,_0x32c3c5;try{const _0x47149a=(_0x32c3c5=(_0x19cd22=this['_socket'])!=null?_0x19cd22:this[_0x1979fb(0x55b)])!=null?_0x32c3c5:this[_0x1979fb(0x545)]();if(_0x47149a){const _0x1b1bff=_0x47149a[_0x1979fb(0x4a1)];_0x47149a['send']=_0x78a0b6=>(this[_0x1979fb(0x29f)](),_0x1b1bff['apply'](_0x47149a,[_0x78a0b6])),_0x47149a[_0x1979fb(0x2c8)][_0x1979fb(0x570)](_0xb9cb31=>this[_0x1979fb(0x318)](_0x47149a,_0xb9cb31)),_0x47149a['error$'][_0x1979fb(0x1ff)](_0x28008e(0x1))[_0x1979fb(0x570)](_0x3e5d83=>this[_0x1979fb(0x2b5)][_0x1979fb(0x237)](_0x1979fb(0x39f),_0x3e5d83)),_0x47149a[_0x1979fb(0x239)][_0x1979fb(0x1ff)](_0x28008e(0x1))[_0x1979fb(0x570)](()=>{const _0x19859a=_0x1979fb;this[_0x19859a(0x4bd)](_0x47149a);}),_0x47149a[_0x1979fb(0x3a5)][_0x1979fb(0x1ff)](_0x28008e(0x1))['subscribe'](_0x2a16c1=>{const _0x34baeb=_0x1979fb;this['_logService']['debug'](_0x34baeb(0x1ba),'socket\x20close',_0x2a16c1),this[_0x34baeb(0x48b)]();});}}catch(_0x5df3b5){this[_0x1979fb(0x2b5)][_0x1979fb(0x237)](_0x5df3b5),this[_0x1979fb(0x48b)]();}}[_0x5b1a3a(0x4bd)](_0x5371e7){const _0x39e543=_0x5b1a3a;this['_logService'][_0x39e543(0x1b6)]('[CollaborationSessionService]',_0x39e543(0x3ca)),_0x5371e7['send']({'cmd':W[_0x39e543(0x355)]}),this[_0x39e543(0x29f)]();}['_listenToOfflineEvent'](){const _0x3bfcf4=_0x5b1a3a;window['addEventListener'](_0x3bfcf4(0x328),()=>this[_0x3bfcf4(0x1af)]());}[_0x5b1a3a(0x1af)](){const _0xe816ab=_0x5b1a3a;this[_0xe816ab(0x41e)]=!0x1,this[_0xe816ab(0x55b)]=null,this[_0xe816ab(0x2ef)][_0xe816ab(0x424)](ve[_0xe816ab(0x405)]),this[_0xe816ab(0x300)][_0xe816ab(0x424)](null),this['_clearTimeoutTimer'](),this[_0xe816ab(0x459)]();}['_onConnectionFailed'](){const _0x2f6235=_0x5b1a3a;var _0x58be18;this[_0x2f6235(0x1af)](),this['_retryCount']<((_0x58be18=this[_0x2f6235(0x4c4)][_0x2f6235(0x451)](fr))!=null?_0x58be18:vr)?(this[_0x2f6235(0x402)][_0x2f6235(0x3c1)]({'key':_0x2f6235(0x352),'type':_0x47c858[_0x2f6235(0x3f4)],'content':this[_0x2f6235(0x273)]['t'](_0x2f6235(0x304))}),this[_0x2f6235(0x557)]()):this[_0x2f6235(0x402)][_0x2f6235(0x3c1)]({'key':_0x2f6235(0x352),'type':_0x47c858[_0x2f6235(0x559)],'content':this[_0x2f6235(0x273)]['t']('session.connection-failed')});}['_listenToOnlineEvent'](){const _0x5bcfb9=_0x5b1a3a,_0x500960=()=>{const _0x38f0df=_0xa0d1;this[_0x38f0df(0x4f1)]||this['reconnect']();},_0x4323e0=()=>{const _0x44b4e0=_0xa0d1;this[_0x44b4e0(0x4f1)]||document[_0x44b4e0(0x4de)]===_0x44b4e0(0x438)||this['reconnect']();};window[_0x5bcfb9(0x2be)](_0x5bcfb9(0x567),_0x500960),document[_0x5bcfb9(0x2be)]('visibilitychange',_0x4323e0);}[_0x5b1a3a(0x557)](){const _0x15f83c=_0x5b1a3a;var _0xdad1c9;const _0x2c552d=this['_retryCount'],_0x12ec86=this[_0x15f83c(0x4c4)][_0x15f83c(0x451)](ie),_0x181323=_0x2c552d===0x0?0x0:((_0xdad1c9=_0x12ec86==null?void 0x0:_0x12ec86[_0x15f83c(0x556)])!=null?_0xdad1c9:dr)*0x2**_0x2c552d;this[_0x15f83c(0x389)]=window['setTimeout'](()=>{const _0x4aa777=_0x15f83c;clearTimeout(this['_retryConnectingTimer']),this[_0x4aa777(0x389)]=null,this[_0x4aa777(0x42d)]();},_0x181323),this[_0x15f83c(0x1da)]+=0x1;}[_0x5b1a3a(0x318)](_0x2018d8,_0x561595){const _0x2be632=_0x5b1a3a,{cmd:_0x41dec3}=_0x561595;_0x41dec3===W['HELLO']&&!this[_0x2be632(0x41e)]&&(_0x2018d8[_0x2be632(0x4e6)]=_0x561595['data'][_0x2be632(0x4e6)],this['_socket$']['next'](_0x2018d8),this[_0x2be632(0x2ef)]['next'](ve[_0x2be632(0x3c5)]),this[_0x2be632(0x41e)]=!0x0,this[_0x2be632(0x55b)]=null),_0x41dec3===W[_0x2be632(0x23b)]&&this[_0x2be632(0x26f)](),this[_0x2be632(0x29f)]();}[_0x5b1a3a(0x29f)](){const _0x283dec=_0x5b1a3a;var _0x4c3118;this[_0x283dec(0x459)](),this['_sendHeartbeatTimer']=window[_0x283dec(0x180)](()=>this[_0x283dec(0x3cf)](),(_0x4c3118=this[_0x283dec(0x4c4)][_0x283dec(0x451)](_r))!=null?_0x4c3118:ur);}['_sendHeartbeat'](){const _0x1419cd=_0x5b1a3a;this[_0x1419cd(0x4f1)]['send']({'cmd':W[_0x1419cd(0x23b)]}),this[_0x1419cd(0x28e)]();}[_0x5b1a3a(0x28e)](){const _0x3b3bcd=_0x5b1a3a;var _0xc6bfed;this[_0x3b3bcd(0x231)]=window['setTimeout'](()=>this[_0x3b3bcd(0x48b)](),(_0xc6bfed=this[_0x3b3bcd(0x4c4)][_0x3b3bcd(0x451)](bi))!=null?_0xc6bfed:Ti);}['_clearHeartbeatTimer'](){const _0x2c7172=_0x5b1a3a;this[_0x2c7172(0x446)]!=null&&(clearTimeout(this[_0x2c7172(0x446)]),this['_sendHeartbeatTimer']=null);}[_0x5b1a3a(0x26f)](){const _0x2075d4=_0x5b1a3a;this[_0x2075d4(0x231)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x2075d4(0x231)]=null);}};Ae=Br([je(0x0,_0x28839c(_0x1027b3)),je(0x1,_0x28839c(_0x173a06)),je(0x2,_0x496a91),je(0x3,_0x418a3e),je(0x4,_0x5d6cbd),je(0x5,Oi)],Ae);var Y=[];function _0xb447(){const _0x1dd6f2=['Base','replaceState','LICENSE_EXPORT_SIZE_EXCEEDED','setShapeProps','_tryEnsureSocket','onlineStatusTitle','getOwnPropertyDescriptor','RECT','dispose$','/allowed','status$','padding','_cursors','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_initCommandExecutedListener','hidden','roomInfos','[PendingState]:\x20received\x20acknowledgement.','_updateStatus','_onFetchMissResult','getWorkbookSelections','_undoStacks','Malformed\x20UTF-8\x20data','_updateState','newValue','indexOf','catch','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_transitionLocked','_sendHeartbeatTimer','/universer-api/snapshot','_drawTextRange','onMouseMove','push','sheetId','_getRedoStack','sigBytes','userID','_eventUnsubscribe','getInterceptPoints','getConfig','univer-offline','13671357RqbIXj','_registerDependencies','session','actions','_exhaustRemoteChangesetQueue','registerRefRange','_clearHeartbeatTimer','c1Prime','getValue','_scheduleClearOtherTimer','2314360lQKcUG','collaMsg','_replayCachedMutations','Unknown\x20user','column','backgroundColor','LICENSE_MAX_UNITS_EXCEEDED','conflict.title','copyFileMeta','getResourcesRequest','transformStack\x20failed!','_disableEditing','NoPadding','univer-pro.collaboration-client-socket-service','transformMutation','HttpExport','beginPath','removeMember','makeDirty','EvpKDF','height','_cursorShapes','saveImage','_change$','trim','lib','SHOULD_CLOSE_CONN','snapshotServerUrl','onlineStatus','getUnitOnRev','RemoveColCommandId','[OfflineState]:\x20received\x20changeset.','NO_OTHER_CLIENTS_EDITING','getOwnPropertySymbols','pauseCollaboration','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','onSendChangeset','_send','members','commentUpdate$','YUUMI_SUBSCRIPTION_NOT_FOUND','reqId','getTime','collab-text-anchor-','UNIVER_PROJECT','fetchMiss','_onConnectionFailed','/universer-api/snapshot/','baseRev','_cursorInfo$','join','method','MUTATION','selection','post','sessionStatus$','initWorkbookPermissionChange','complete','origin','row','engine','_colorAssignService','iterations','revision','LEAVE','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','add','LIVESHARE_OPERATION','send','_oKey','LICENSE_IMPORT_SIZE_EXCEEDED','_initStatusListener','objectID','title','[CollaborationState]:\x20apply\x20error!','_doProcessBlock','createInstance','put','toggleOnline','pluginName','now','min','_sessions','closePath','#fff','deleteCollaborator','moveTo','sessionStatus','/-/object/list','_saveTaskMap','onPointerLeave$','AES','disposeWithMe','IDLE','MD5','resourceIDs','_onConnectionOpen','FETCH_MISS','_session','_collaborationPaused','Utf8','_drawRectRange','location','_configService','_color','changesets','PasswordBasedCipher','m2Prime','pending','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_getSignURL','_startCollaboration','getSheetBySheetId','getCollabEntity$','_collaborationSessionService','[CollaborationUndoRedoService]','bottom','_clearCollaborationTimeoutTimer','headers','clear','error$','image/bmp','create','roomMembers$','_telemetryService','JOIN','_lastPointer','leaveEvent','[DataLoaderController]','visibilityState','_onCursorDelete','_map','_injector','FAIL','mixIn','permission.content','InsertRangeMoveRightCommandId','memberID','onRemoteAck','status','ENSURE_SNAPSHOT_EXECUTION','localeService','_clearUndo','UPDATE_CURSOR','disposeUnit','encodeURIComponent','none','_loadSheet','_socket','_revisionService','onTransformRemoteChangesetByStateCache','subscribeEvent','clipPath','blockSize','SHA1','listCollaborators','resolve','string','toString','_updateSubUnitFromURLParams','hide','_queuedRemoteChangesets','[CollaborationSession]','PERMISSION_DENIED','_roomMembers$','sid','unit','_handleHover','isEditing','COMPRESS_MUTATION_SEND','incrementRevOfUnit','find','getParam','displayName','[SyncedState]:\x20received\x20acknowledgement.','_createHmacHelper','_commandService','_createInitialStateImpl','get','getUnitId','_docSkeleton','InsertRowCommandId','INTERNAL_ERROR','_remoteChangesetQueue','__esModule','_changesetSessionId','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_httpService','_commentService','8NeNDXt','routeKey','YUUMI_RATE_OVER_LIMIT','mode','_refRangeService','collaboratorID','NOT_COLLAB','triggerDblclick','\x20in\x20_schedule.','encryptBlock','CBC','NOT_FOUND','charCodeAt','UPDATE_PERMISSION_OBJ','onPointerMove$','data','transformChangesets','fillRule','_sessionStatus$','reverse','key','idSuffix','csRejEvent','_onUserJoin','_labelPosition','OnLineSingle','contains','icon','_cipher','prototype','_unitID','HmacSHA1','restore','Hex','round','LIVESHARE_REQUEST_HOST','socketService','_HTTPService','createElement','setShowComponents','_scheduleCollaborationTimeoutTimer','objects','COMPLETION_FINISHED','_createSocket','SNAPSHOT_HAS_BEEN_REMOVED','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','Undefined','capture','AWAITING','_ws','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','snapshot','decrypt','onTransformRemoteChangesetByIMECache','clearTimeout','UNIVER_COLLABORATION_CLIENT_PLUGIN','APPLY_REJECT','getCurrentUnitForType','awaiting_with_pending','getFocusedUnit','retryConnectingInterval','_tryReconnect','0\x200\x2017\x2016','Error','joinRsp','_candidateSocket','/fetchmissing?from=','transformSelections','awaiting','url(#on-line-single_clip0_910_349)','getStateCache','apply','_themeService','append','_initStatusComponent','#FFF','addImageSourceCache','online','createEncryptor','stopTime','univer-online','_resendTimeout','joinEvent','_onUserLeave','_clearOtherTimers','disableLocalCache','subscribe','updatePermissionObjEvent','collabStatus.fetchMiss','_docSkeletonManagerService','top','_waitCount','_state','exports','fetchMissingChangesets','_memberService','CONNECTOR_DATA_TOO_LARGE','ranges','BASE64','PERMISSION_REJ','_hover','_range','width','clone','image/gif','LIVESHARE_TERMINATE','reduce','_prevBlock','off-line-single_clip0_910_343','CONFLICT','setTimeout','registerHTTPInterceptor','_updateLocalCursor','_iv','_lockTransition','downloadEndpointUrl','POST','onTransformChange$','substring','_unitOnClients','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','set','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','clearInterval','_key','encrypt','_localStorageService','_imageSourceCache','skeleton','url(#off-line-single_clip0_910_343)','MoveRangeCommandId','UNKNOWN_CODE','univer-online-status-icon','buffer','getUnitStatus$','updatePermissionPoint','generateRandomId','_doReset','rng','attrs','colorChannel1','INGEST','PSEUDO_FETCH_MISSING_RESULT','toggleOffline','CHANGESET_REVISION_CONFILICT','words','addObjects','93dihsYA','collab-text-range-','includes','startsWith','_document','_applyRemoteChangeset','_submitChangeset','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','unitId','_onRefRangeChange','_onOffline','getTypeOfUnitAdded$','getCurrent','_startDocCollabCursor','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_data','use','debug','getLatestCsReqIdBySid','on-line-single_clip0_910_349','getDocRanges','[CollaborationSessionService]','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','init','SUBMIT_CHANGESET','NEW_CHANGESETS','_updateCollabCursors','_onLocalMutation','socket$','assign','_resendTimer','enc','_startTelemetryCollaborationNewChangeset','onRemoteChangeset','_reverseMap','readAsDataURL','/block/','name','encode','FromArray','setItem','_socketMessageSubscription','_initUnitPermissionChange','5871576xEHmQh','setParam','collabStatus.synced','_clearRedo','_initEventListeners','getUnhiddenWorksheets','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','undoState','hasOwnProperty','getMember','_retryCount','_context','liveShareNewHost','_shouldReportTelemetry','arc','BlockCipher','M0\x200H16V16H0z','_incrementRevisionNumber','_collaborationTimeoutTimer','image/jpg','entries','_telemetryInfo','_changesetReqId','compose','connection\x20error','_docStateChangeManagerService','transformUndoRedo','_hash','fillStyle','onStateChange','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_setupSubUnitSync','json','ceil','UNIVER_DOC','/unit/','roles','getImageSourceCache','&to=','_doFinalize','MSG_FOR_ERROR','Decryptor','_state$','_pendingMutations','_docTransformSelectionsService','UNDEFINED','Error\x20on\x20receiving\x20event','pipe','concat','onSyncEditingCollabCursor','getSheetId','split','FileId','cmd','_collabCursorController','getActiveRange','map','c2Prime','_getLoginPath','ws://127.0.0.1:8000/universer-api/comb/connect','_colorIndex','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','flatMap','SNAPSHOT_INVALID_SNAPSHOT','bind','permission.title','_univerInstanceService','awaitingChangeset','collabStatus.syncing','_anchorDot','[FetchMissState]','YUUMI_UNABLE_LOAD_URL','_permissionService','interceptor','activeSheet$','/universer-api/file/{fileID}/sign-url','telemetry\x20info\x20is\x20not\x20initialized','_onRemoteACK','batchAllowed','sendChangesetTimeout','collabCursorState$','formatter','_sender','slice','_collabSessionService','_setupBeforeClosingHandler','UNIVER_SLIDE','_invKeySchedule','150zTVMjy','_updateLocalCache','_hasher','APPLY_DUPLICATED','getCellPositionByOffset','_event$','_entities','blue400','_shapes','_timeoutTimer','objectActions','getRenderById','propertyIsEnumerable','_append','uploadFileServerUrl','error','ALREADY_EXISTS','open$','executeCommand','HEARTBEAT','_onRemoteRetry','_minBufferSize','liveShareOperation','type','CipherParams','_initCloseConn','getCurrentUser','UnitSnapshot','_transformStack','LOGIN_URL_KEY','_scene','UnitEmbedded','rgba(255,\x20255,\x20255,\x200.01)','AUTHZ_URL_KEY','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','onRemoteRej','default','resend','UNIVER_SHEET','result','HEARTBEAT_TIMEOUT','PENDING','COMMENT_UPDATE','_transformUndoRedoStack','sin','m1Prime','createSocket','dispose','_stopTelemetryCollaborationNewChangeset','getCurrentRevOfUnit','submit\x20changeset\x20error!','SYNCED','isArray','loadOfflineData','_docSyncEditingCollabCursorService','reset','mutations','_ENC_XFORM_MODE','not_collab','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','charAt','Hasher','_draw','UNIVER_UNKNOWN','collabSubmitChangesetUrl','save','_onRecvEvent','_init','collaboration.closeRoom','_schedule','abs','_clearTimeoutTimer','getRangePointData','ERROR_EXCEED_SIZE','Base64','_localeService','RETRY_CONNECTING_MAX_COUNT','_executeRemoteChangeset','CHANGESET_SHOULD_RETRY','Pkcs7','isPermissionRej','_disabled','unpad','_name','_onJoinRoomEvent','_transformUndoredo','enableOfflineEditing','call','transformMutationsWithChangeset','CHANGESET_REJ','/collaborator','font','HmacMD5','save\x20fail\x20reason\x20is\x20','_process','roomMembers','?size=','setCurrentUser','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_onRemoteRejected','saveChangeset','_handleJoinEvent','_waitForHeartbeatResponse','_hideTimer','getCurrentSelections','repeat','collaboration-client.offline-data-not-saved','withCredentials','div','UNKNOWN_CMD','lineTo','kdf','doc.mutation.rich-text-editing','enableAuthServer','length','30284fTZyMH','WordArray','isActive','finalize','_rescheduleHeartbeat','_createHandler','forEach','current','findNodePositionByCharIndex','_acknowledgedAwaitingChangeset','_handler','onRendered','measureText','LIVESHARE_FETCH_OPERATIONS','FETCH_MISSING','text','__Key__','\x20-\x20','CHANGESET_ACK','params','_localCacheService','filter','_hovered','requestParams','saveSheetBlock','collab-client.tooltip.reconnect','_logService','some','defIds','msCrypto','pushState','getSheetBlock','urlChange$','UNRECOGNIZED','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','addEventListener','Encryptor','conflict','_entityInit$','_mode','purple300','history','_getAnchorBounding','setUndoRedoMutationParamsCache','body','message$','appendMutation','onCommandExecuted','jiqing500','1em','createCollaborator','8972094SDFxSp','keySize','color','defs','_commentUpdate$','_online','_transformStateCache','\x0aCurrent:\x20','...','_collabCursorState$','_onRemoteChangeset','APPLY_REVISION_CONFILICT','getCollabEntity','_nRounds','code','updateMember','?url=','_scheduleTimestamp','USERS_LEAVE','parse','UNAUTHENTICATED','closeSession','format','editing\x20status\x20changed\x20to','file','USERS_ENTER','_syncEditingCollabCursor','_collaborationController','_unitStatus','_removeCollabCursors','getMergeData','url','DeleteRangeMoveLeftCommandId','_status$','extend','_userManagerService','transform','collaboration_new_changeset','_throwTelemetryCollaborationNewChangeset','_snapshotServerService','_members','INVALID_ARGUMENT','onTransformIME','_toggleOnline','Cipher','SEND_CHANGESET_TIMEOUT','_transformRemoteChangesetByIMECache','has','LIVESHARE_NEW_HOST','updateOfflineData','_socket$','_showConflictNotification','[UniverCollaborationClientPlugin]','_type','session.will-retry','endColumn','_render','path','floor','5619120jljBut','shouldCloseConn','_cachedData','_initMergeInterceptor','_sheetSkeletonManagerService','_getCurrentRevision','_DEC_XFORM_MODE','_ensureSubject','_removeRoom','requireSession','_clearScheduledTask','_anchor','/resources','AWAITING_WITH_PENDING','_singleActiveUnitService','_onMessage','asObservable','_replaceFileID','_getDownloadEndpointURL','_textBubble','registerOnClose','drawWith','SUCCUSS','_keySchedule','getUndoRedoMutationParamsCache','DeleteRangeMoveUpCommandId','tag','listRoles','target','loginUrlKey','values','offline','with','onMissingChangesets','assignAColorForMemberID','currentTheme$','endRow','updateCollaborator','evenodd','sheets','_transformIMECache','_http','_doCryptBlock','getOffsetConfig','getRelativeToViewportCoord','_getScale','from','compute','all','RemoveRowCommandId','originalMeta','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','focused$','transformIMECache','byteOffset','_decreaseWaiting','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','crypto','fetching\x20missing\x20changesets\x20from\x20','[PendingState]:\x20unhandled\x20univer\x20type:\x20','/universer-api/oidc/authpage','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','Univer','failed\x20to\x20apply\x20missed\x20changesets!','\x0aAfter:\x20','_checkMissing','_id','_syncEditingCollabCursorService','COMPRESS_MUTATION_APPLY','_getSnapshotAPIPrefix','_unlockTransition','synced','_nDataBytes','collaboration-session-retry','_scheduleHeartbeat','getRoom','HELLO','BlockCipherMode','_undoRedoService','currentSkeleton$','APPLY_PERMISSION_DENIED','COLLAB_WEB_SOCKET_URL','TEXT','className','collaborators','_saveCache','fetch_missing','_initResize','conflict.content','_scheduleSaving','csShouldRetryEvent','HEARTBEAT_INTERVAL','_listenToOfflineEvent','collaboration.single-unit.warning','_docTransformIMECacheService','_transformPreviousActiveRange','_getSheetObject','allowed','on-line-single','_heartbeatTimer','HMAC','YUUMI_URL_COL_OUT_OF_RANGE','every','_registerRenderDependencies','InsertColCommandId','random','hasher','collaboration-client.config','unshift','SerializableCipher','clamp','DEFAULT_FILE_NAME','_getSaveTimeout','_beforeCloseService','objectType','byteLength','InsertRangeMoveDownCommandId','setInterval','searchParams','_xformMode','then','randomBytes','JOINING','black','getAncestorScale','_onConflict','transformRemoteChangeset','size','_retryConnectingTimer','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','currentColor','replace','_compressMutationService','UUID','_roomMembers','uni.network.url-service','_transformHistoryAndStateStack','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','randomUUID','getVpScrollXYInfoByPosToVp','OTHER_CLIENTS_EDITING','fillText','ERROR_IMAGE_TYPE','SNAPSHOT_SERVER_URL_KEY','_getCtorByUniverType','_substituteUndoStack','confirm','&assign=','_docTransformStateCacheService','collab-rect-range-','[CollaborationSessionService]:\x20socket\x20error','_transformSelections','delete','getCollabCursors$','_onCombEvent','cursorInfo$','close$','_config','fill','RECV','fromCharCode','_sendingTimer','_getMergeRange','/universer-api/authz','href','_sheetTransformSelectionsService','ivSize','_joinRoom','commentUpdateEvent','/universer-api/stream/file/upload','_updateURLWithCurrentState','onTransformState','eventID','redoState','function','_getAPIPrefixPath','algo','_initDependencies','_initRequestHeader','xlink:href','unitId\x20is\x20not\x20found','getMemberID','_getUndoStack','getRandomValues','show','editingUnit','_renderManagerService','close','ONLINE','getUnit','onRemoteRetry','[SyncedState]:\x20received\x20rejection.','cfg','socket\x20open.','csAckEvent','gold400','textRanges','hostname','_sendHeartbeat','1670103xAyqCL','addObject','_resendWithTimeout','onTransformSelections','stringify','_urlService','popstate','_notificationService','transformStateCache','subunit','_onCursorUpdate','ciphertext','defineProperty','LICENSE_DISTRO_REJECTED','_socketService','getActiveSheet','reconnect','svg','children','_getSendChangesetTimeout','_clearLocalCache','_createInitialState','/-/object/-/batch_allowed','authzUrl','_awaitingChangeset','_fetchMissChangesets','onCommentUpdate','getSkeleton','max','_backgroundColor','setStateCache','getUniverSheetInstance','_createHelper','saveSnapshot','_assignedColors','_refreshCollabCursors','Warning','labelPosition','ERROR_IMAGE','$super','range','_transformRemoteChangesetByStateCache','_removeClearOtherTimer','_startSheetCollabCursor','readInt32LE','selections','_handleEvent','_drawAnchor','responseType','_keyPriorReset','_messageService','unsubscribe','/object/','OFFLINE','reject','_getAPIPrefix','unknown','getImage','_snapshotService','getTypeOfUnitDisposed$','substr','session.room-full','VIEW_MAIN','APPLY_NON_SEQUENTIAL_REVISION','_toggleOffline','createDecryptor','symbol','registerRenderModule','pad','subUnitId','OpenSSL','TOO_MANY_REQUESTS','_instanceService','processBlock','_selfUnitIDs','setAlpha','unitID','deepClone','_socketReady','fetchThroughInterceptors','execute','saveOfflineData','_parse','patch','next','event$','update','_transformService','cursorInfo'];_0xb447=function(){return _0x1dd6f2;};return _0xb447();}for(var Nt=0x0;Nt<0x100;++Nt)Y[_0x5b1a3a(0x44a)]((Nt+0x100)['toString'](0x10)[_0x5b1a3a(0x223)](0x1));function kr(_0x1e9117,_0x3c7c60=0x0){return(Y[_0x1e9117[_0x3c7c60+0x0]]+Y[_0x1e9117[_0x3c7c60+0x1]]+Y[_0x1e9117[_0x3c7c60+0x2]]+Y[_0x1e9117[_0x3c7c60+0x3]]+'-'+Y[_0x1e9117[_0x3c7c60+0x4]]+Y[_0x1e9117[_0x3c7c60+0x5]]+'-'+Y[_0x1e9117[_0x3c7c60+0x6]]+Y[_0x1e9117[_0x3c7c60+0x7]]+'-'+Y[_0x1e9117[_0x3c7c60+0x8]]+Y[_0x1e9117[_0x3c7c60+0x9]]+'-'+Y[_0x1e9117[_0x3c7c60+0xa]]+Y[_0x1e9117[_0x3c7c60+0xb]]+Y[_0x1e9117[_0x3c7c60+0xc]]+Y[_0x1e9117[_0x3c7c60+0xd]]+Y[_0x1e9117[_0x3c7c60+0xe]]+Y[_0x1e9117[_0x3c7c60+0xf]])['toLowerCase']();}var ct,Wr=new Uint8Array(0x10);function Fr(){const _0xd3884e=_0x5b1a3a;if(!ct&&(ct=typeof crypto<'u'&&crypto[_0xd3884e(0x3c0)]&&crypto[_0xd3884e(0x3c0)][_0xd3884e(0x210)](crypto),!ct))throw new Error(_0xd3884e(0x1ee));return ct(Wr);}var Vr=typeof crypto<'u'&&crypto[_0x5b1a3a(0x393)]&&crypto[_0x5b1a3a(0x393)]['bind'](crypto);const js={'randomUUID':Vr};function Gr(_0x5b23f4,_0x239608,_0x5e0035){const _0x1a3cb7=_0x5b1a3a;if(js[_0x1a3cb7(0x393)]&&!_0x239608&&!_0x5b23f4)return js['randomUUID']();_0x5b23f4=_0x5b23f4||{};var _0x52c1df=_0x5b23f4[_0x1a3cb7(0x372)]||(_0x5b23f4[_0x1a3cb7(0x19c)]||Fr)();return _0x52c1df[0x6]=_0x52c1df[0x6]&0xf|0x40,_0x52c1df[0x8]=_0x52c1df[0x8]&0x3f|0x80,kr(_0x52c1df);}var Yr=Object['defineProperty'],Kr=Object['getOwnPropertyDescriptor'],zr=(_0x274bed,_0x148a86,_0x1d603d,_0x4505db)=>{const _0x105d53=_0x5b1a3a;for(var _0x59da4c=_0x4505db>0x1?void 0x0:_0x4505db?Kr(_0x148a86,_0x1d603d):_0x148a86,_0x1b6ebe=_0x274bed[_0x105d53(0x29a)]-0x1,_0x354ed8;_0x1b6ebe>=0x0;_0x1b6ebe--)(_0x354ed8=_0x274bed[_0x1b6ebe])&&(_0x59da4c=(_0x4505db?_0x354ed8(_0x148a86,_0x1d603d,_0x59da4c):_0x354ed8(_0x59da4c))||_0x59da4c);return _0x4505db&&_0x59da4c&&Yr(_0x148a86,_0x1d603d,_0x59da4c),_0x59da4c;},At=(_0x4626d2,_0x30f8de)=>(_0x333b05,_0x30807d)=>_0x30f8de(_0x333b05,_0x30807d,_0x4626d2);let vt=class{constructor(_0x48acb2,_0x36e1f6,_0x9ac58a){const _0x221194=_0x5b1a3a;this[_0x221194(0x4e1)]=_0x48acb2,this[_0x221194(0x427)]=_0x36e1f6,this['_renderManagerService']=_0x9ac58a;}[_0x5b1a3a(0x33e)](_0x1f2cf0){const _0x15a8a9=_0x5b1a3a;this[_0x15a8a9(0x253)](_0x1f2cf0),this[_0x15a8a9(0x368)](_0x1f2cf0);}[_0x5b1a3a(0x387)](_0x2d28f8){const _0x229ee8=_0x5b1a3a,{unitID:_0x26a347}=_0x2d28f8,_0x2720b4=this[_0x229ee8(0x3c3)]['getRenderById'](_0x26a347)[_0x229ee8(0x329)](_0x1622d6),{redoCache:_0x508802}=_0x2720b4['getUndoRedoMutationParamsCache']();if(_0x508802['length']===0x0)return _0x2d28f8;let _0x25a6ac=_0x9e8b08['deepClone'](_0x2d28f8[_0x229ee8(0x260)][0x0]);for(let _0x76b7ba=0x0;_0x76b7ba<_0x508802[_0x229ee8(0x29a)];_0x76b7ba++){const _0x3e8c50={'id':'doc.mutation.rich-text-editing','params':{..._0x508802[_0x76b7ba]}},_0x56dc86=this[_0x229ee8(0x427)][_0x229ee8(0x46b)](_0x25a6ac,_0x3e8c50,!0x1);if(_0x321ec1(_0x56dc86))throw _0x56dc86[_0x229ee8(0x237)];_0x25a6ac=_0x56dc86[_0x229ee8(0x255)];}return{..._0x9e8b08[_0x229ee8(0x41d)](_0x2d28f8),'mutations':[_0x25a6ac]};}[_0x5b1a3a(0x253)](_0x8b76f7){const _0x2dd749=_0x5b1a3a,{unitID:_0x515d4d}=_0x8b76f7,_0x320b34=this[_0x2dd749(0x3c3)][_0x2dd749(0x233)](_0x515d4d)[_0x2dd749(0x329)](_0x1622d6),{undoCache:_0x46d728,redoCache:_0x3c9bf3}=_0x320b34[_0x2dd749(0x321)]();if(_0x46d728['length']===0x0||_0x3c9bf3[_0x2dd749(0x29a)]===0x0)return;const _0x25bad9=[],_0x5f2a36=[];let _0x5b007c=_0x9e8b08[_0x2dd749(0x41d)](_0x8b76f7[_0x2dd749(0x260)][0x0]),_0x1461b7=_0x9e8b08[_0x2dd749(0x41d)](_0x8b76f7[_0x2dd749(0x260)][0x0]);for(let _0x1dfea1=_0x46d728[_0x2dd749(0x29a)]-0x1;_0x1dfea1>=0x0;_0x1dfea1--){const _0x5348da={'id':'doc.mutation.rich-text-editing','params':{..._0x46d728[_0x1dfea1]}},_0x224c75={'id':_0x2dd749(0x298),'params':{..._0x3c9bf3[_0x1dfea1]}},_0xad2ee=this[_0x2dd749(0x427)]['transformMutation'](_0x5b007c,_0x5348da,!0x1),_0x3bd3ee=this['_transformService'][_0x2dd749(0x46b)](_0x1461b7,_0x224c75,!0x1);if(_0x321ec1(_0xad2ee))throw _0xad2ee[_0x2dd749(0x237)];if(_0x321ec1(_0x3bd3ee))throw _0x3bd3ee[_0x2dd749(0x237)];_0x25bad9['unshift'](_0xad2ee[_0x2dd749(0x4c8)][_0x2dd749(0x2ae)]),_0x5f2a36[_0x2dd749(0x375)](_0x3bd3ee[_0x2dd749(0x4c8)]['params']),_0x5b007c=_0xad2ee[_0x2dd749(0x255)],_0x1461b7=_0x3bd3ee[_0x2dd749(0x255)];}_0x320b34[_0x2dd749(0x2c6)]({'undoCache':_0x25bad9,'redoCache':_0x5f2a36});}['_transformPreviousActiveRange'](_0x532b42){const _0x53d5ea=_0x5b1a3a,{unitID:_0x58985b}=_0x532b42,_0x54f75a=this[_0x53d5ea(0x3c3)][_0x53d5ea(0x233)](_0x58985b)[_0x53d5ea(0x329)](_0x1622d6),_0xf38b27=_0x54f75a[_0x53d5ea(0x207)]();if(_0xf38b27==null)return;const _0x4b0a06=[{'id':_0x53d5ea(0x298),'params':{'unitId':_0x532b42[_0x53d5ea(0x41c)],'actions':null,'textRanges':[_0xf38b27]}}],_0x7d23e3=this['_transformService'][_0x53d5ea(0x280)](_0x532b42,_0x4b0a06);if(!_0x582252(_0x7d23e3))throw _0x7d23e3['error'];const _0x4151b3=_0x7d23e3[_0x53d5ea(0x4c8)][0x0][_0x53d5ea(0x2ae)][_0x53d5ea(0x3cd)];Array['isArray'](_0x4151b3)&&_0x4151b3[_0x53d5ea(0x29a)]&&_0x54f75a['setActiveRange'](_0x4151b3[0x0]);}};vt=zr([At(0x0,_0x28839c(_0x1027b3)),At(0x1,_0xef8dcd),At(0x2,_0x47f498)],vt);var qr=Object['defineProperty'],Xr=Object['getOwnPropertyDescriptor'],Jr=(_0x37d81d,_0x21692f,_0x4b4b1b,_0x355918)=>{const _0x51acf3=_0x5b1a3a;for(var _0x173766=_0x355918>0x1?void 0x0:_0x355918?Xr(_0x21692f,_0x4b4b1b):_0x21692f,_0x1b41ac=_0x37d81d[_0x51acf3(0x29a)]-0x1,_0x4bdbc9;_0x1b41ac>=0x0;_0x1b41ac--)(_0x4bdbc9=_0x37d81d[_0x1b41ac])&&(_0x173766=(_0x355918?_0x4bdbc9(_0x21692f,_0x4b4b1b,_0x173766):_0x4bdbc9(_0x173766))||_0x173766);return _0x355918&&_0x173766&&qr(_0x21692f,_0x4b4b1b,_0x173766),_0x173766;},Xe=(_0x45f94f,_0x3f9851)=>(_0x2a3d53,_0x49ff12)=>_0x3f9851(_0x2a3d53,_0x49ff12,_0x45f94f);let q=class extends _0x45951d{constructor(_0x5829d1,_0x5d6034,_0x4a0d8b,_0x29e8f7,_0x5107a4){const _0x49fb64=_0x5b1a3a;super(),g(this,_0x49fb64(0x30b),new Map()),g(this,_0x49fb64(0x4b6),new Map()),g(this,_0x49fb64(0x279),!0x1),(this[_0x49fb64(0x4c4)]=_0x5829d1,this[_0x49fb64(0x190)]=_0x5d6034,this[_0x49fb64(0x37a)]=_0x4a0d8b,this[_0x49fb64(0x273)]=_0x29e8f7,this['_revisionService']=_0x5107a4,this[_0x49fb64(0x225)]());}[_0x5b1a3a(0x56f)](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x19261d=_0x5b1a3a;this[_0x19261d(0x279)]=!0x1;}['dispose'](){const _0x47ad3a=_0x5b1a3a;this['exhaustSavingTask']()[_0x47ad3a(0x381)](()=>super['dispose']());}async['loadOfflineData'](_0x1070f6){const _0x174290=_0x5b1a3a;return this[_0x174290(0x279)]?null:this[_0x174290(0x190)]['getItem'](Bs(_0x1070f6));}async[_0x5b1a3a(0x421)](_0x25a044,_0x1e3cad){const _0x30980f=_0x5b1a3a;return!!this['_localStorageService'][_0x30980f(0x1cd)](_0x25a044,_0x1e3cad);}[_0x5b1a3a(0x2ff)](_0x1d7a4b,_0xd57b3d,_0x241d37,_0x39743b){const _0x42049a=_0x5b1a3a,_0x5ea0ba=this['_revisionService'][_0x42049a(0x259)](_0x1d7a4b);this['_cachedData'][_0x42049a(0x18b)](_0x1d7a4b,{'unitID':_0x1d7a4b,'type':_0xd57b3d,'awaitingChangeset':_0x241d37,'mutations':_0x39743b,'rev':_0x5ea0ba}),this['_saveTaskMap'][_0x42049a(0x2fd)](_0x1d7a4b)||this['_scheduleSaving'](_0x1d7a4b);}[_0x5b1a3a(0x362)](_0x2fbb02){const _0x207627=_0x5b1a3a,_0xbe9f39=this['_getSaveTimeout']();_0xbe9f39===0x0?this['_saveCache'](_0x2fbb02):this['_saveTaskMap'][_0x207627(0x18b)](_0x2fbb02,setTimeout(()=>this[_0x207627(0x35e)](_0x2fbb02),_0xbe9f39));}[_0x5b1a3a(0x379)](){const _0x61e5ab=_0x5b1a3a;var _0x39adc;return(_0x39adc=this[_0x61e5ab(0x4c4)][_0x61e5ab(0x451)](mr))!=null?_0x39adc:pr;}[_0x5b1a3a(0x35e)](_0x5973a7){const _0x581fc1=_0x5b1a3a,_0xedd040=this[_0x581fc1(0x4b6)][_0x581fc1(0x50f)](_0x5973a7);return _0xedd040!==void 0x0&&window[_0x581fc1(0x550)](_0xedd040),this[_0x581fc1(0x190)]['setItem'](Bs(_0x5973a7),this[_0x581fc1(0x30b)][_0x581fc1(0x50f)](_0x5973a7))[_0x581fc1(0x381)](()=>this['_saveTaskMap'][_0x581fc1(0x3a1)](_0x5973a7));}async['exhaustSavingTask'](){const _0x32aae4=_0x5b1a3a,_0x4c4670=[];this['_saveTaskMap']['forEach']((_0x21d9ac,_0x6a935)=>{const _0xb84e4f=_0xa0d1;window['clearTimeout'](_0x21d9ac),_0x4c4670[_0xb84e4f(0x44a)](this[_0xb84e4f(0x35e)](_0x6a935)[_0xb84e4f(0x381)](()=>{const _0x335c42=_0xb84e4f;this[_0x335c42(0x4b6)][_0x335c42(0x3a1)](_0x6a935);}));}),await Promise[_0x32aae4(0x339)](_0x4c4670);}['_setupBeforeClosingHandler'](){const _0x311867=_0x5b1a3a;this[_0x311867(0x4b9)](this[_0x311867(0x37a)]['registerBeforeClose'](()=>{const _0x2cc358=_0x311867;if(this[_0x2cc358(0x4b6)][_0x2cc358(0x388)])return this[_0x2cc358(0x273)]['t'](_0x2cc358(0x292));}));}};q=Jr([Xe(0x0,_0x5d6cbd),Xe(0x1,_0x31630e),Xe(0x2,_0x758b44),Xe(0x3,_0x28839c(_0x173a06)),Xe(0x4,_0x28839c(_0x137cc2))],q);function Bs(_0x1ed3d4){return'unit-cache-'+_0x1ed3d4;}var Zr=Object[_0x5b1a3a(0x3dc)],Qr=Object['getOwnPropertyDescriptor'],eo=(_0x2b59b8,_0xcd1dac,_0x1f13be,_0x279cd6)=>{const _0x74c3a2=_0x5b1a3a;for(var _0x17c14b=_0x279cd6>0x1?void 0x0:_0x279cd6?Qr(_0xcd1dac,_0x1f13be):_0xcd1dac,_0x10d57d=_0x2b59b8[_0x74c3a2(0x29a)]-0x1,_0x5e3e9f;_0x10d57d>=0x0;_0x10d57d--)(_0x5e3e9f=_0x2b59b8[_0x10d57d])&&(_0x17c14b=(_0x279cd6?_0x5e3e9f(_0xcd1dac,_0x1f13be,_0x17c14b):_0x5e3e9f(_0x17c14b))||_0x17c14b);return _0x279cd6&&_0x17c14b&&Zr(_0xcd1dac,_0x1f13be,_0x17c14b),_0x17c14b;},Mt=(_0x2ed5b7,_0x1313ad)=>(_0x3fc018,_0x2fbf85)=>_0x1313ad(_0x3fc018,_0x2fbf85,_0x2ed5b7);function to(_0xb5ac02){const _0x26e63a=_0x5b1a3a,{unitID:_0x2b5445,mutations:_0x542513}=_0xb5ac02;return{'unitId':_0x2b5445,'subUnitId':_0x542513[0x0][_0x26e63a(0x2ae)][_0x26e63a(0x415)]};}let mt=class{constructor(_0xbe8465,_0x1a50bc,_0x1dc0ab){const _0x297465=_0x5b1a3a;this['_injector']=_0xbe8465,this[_0x297465(0x427)]=_0x1a50bc,this[_0x297465(0x418)]=_0x1dc0ab;}[_0x5b1a3a(0x55d)](_0xa5b77e){const _0x11537e=_0x5b1a3a;var _0x409f34,_0x490c63,_0x19d867,_0x5827bc;const _0x322f55=this['_injector'][_0x11537e(0x50f)](_0x424a0f),{unitId:_0x4b318f,subUnitId:_0x986360}=to(_0xa5b77e),_0x46e415=_0x322f55[_0x11537e(0x43d)](_0x4b318f)[_0x11537e(0x290)](),_0xe32b86=(_0x490c63=(_0x409f34=this[_0x11537e(0x418)][_0x11537e(0x3c6)](_0x4b318f))==null?void 0x0:_0x409f34[_0x11537e(0x3df)]())==null?void 0x0:_0x490c63[_0x11537e(0x202)]();if(_0x46e415[_0x11537e(0x29a)]===0x0||!_0x4b318f||!_0x986360)return;const _0x3b9cf8=[{'id':_0x3b3cfe['id'],'params':{'unitId':_0x4b318f,'subUnitId':_0xe32b86,'selections':_0x9e8b08['deepClone'](_0x46e415)}}],_0xb44396=this[_0x11537e(0x427)][_0x11537e(0x280)](_0xa5b77e,_0x3b9cf8);if(!_0x582252(_0xb44396))throw _0xb44396[_0x11537e(0x237)];const _0x27b78e=(_0x5827bc=(_0x19d867=_0xb44396[_0x11537e(0x4c8)][0x0])==null?void 0x0:_0x19d867[_0x11537e(0x2ae)])==null?void 0x0:_0x5827bc[_0x11537e(0x3fd)];if(Array[_0x11537e(0x25c)](_0x27b78e)&&_0x27b78e[_0x11537e(0x29a)]){if(_0x27b78e['length']===_0x3b9cf8[0x0][_0x11537e(0x2ae)][_0x11537e(0x3fd)][_0x11537e(0x29a)]&&_0x27b78e[_0x11537e(0x36f)]((_0x110f6f,_0x353e1a)=>_0x118546['equals'](_0x110f6f[_0x11537e(0x3f8)],_0x3b9cf8[0x0]['params']['selections'][_0x353e1a][_0x11537e(0x3f8)])))return;this[_0x11537e(0x4e1)][_0x11537e(0x50f)](_0x10ec6b)[_0x11537e(0x23a)](_0x3b3cfe['id'],{'unitId':_0x4b318f,'subUnitId':_0xe32b86,'selections':_0x27b78e});}}};mt=eo([Mt(0x0,_0x28839c(_0x1027b3)),Mt(0x1,_0xef8dcd),Mt(0x2,_0x578cb)],mt);const yt=_0x25a723('univer-pro.collaboration-client.single-active-unit-service');var Di=(_0x25e4be=>(_0x25e4be[_0x25e4be[_0x5b1a3a(0x47d)]=0x0]=_0x5b1a3a(0x47d),_0x25e4be[_0x25e4be[_0x5b1a3a(0x395)]=0x1]=_0x5b1a3a(0x395),_0x25e4be))(Di||{});const ks=0x7530,Ws='ACTIVE_UNIT_EVENT_CHANNEL';class so extends _0x45951d{constructor(){const _0x2c0628=_0x5b1a3a;super(),g(this,_0x2c0628(0x34b),_0x9e8b08[_0x2c0628(0x19a)]()),g(this,_0x2c0628(0x41a),new Set()),g(this,_0x2c0628(0x189),new Map()),g(this,_0x2c0628(0x36c),null),g(this,'_clearOtherTimers',new Map()),g(this,_0x2c0628(0x2ea),new Map()),this[_0x2c0628(0x26b)]();}[_0x5b1a3a(0x257)](){const _0x397a8d=_0x5b1a3a;super[_0x397a8d(0x257)](),this[_0x397a8d(0x56e)][_0x397a8d(0x2a1)]((_0x4a4e42,_0x13cdc4)=>this[_0x397a8d(0x3fa)](_0x13cdc4)),this[_0x397a8d(0x36c)]&&window[_0x397a8d(0x18d)](this[_0x397a8d(0x36c)]);}[_0x5b1a3a(0x198)](_0xf32a7){const _0x5364ce=_0x5b1a3a;return this[_0x5364ce(0x310)](_0xf32a7)[_0x5364ce(0x1ff)](_0x89f648());}[_0x5b1a3a(0x3c2)](_0x39020b){const _0x4a853e=_0x5b1a3a;this[_0x4a853e(0x41a)][_0x4a853e(0x388)]===0x0&&this[_0x4a853e(0x353)](),this[_0x4a853e(0x41a)][_0x4a853e(0x49f)](_0x39020b),this[_0x4a853e(0x482)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x39020b],'isForwarded':!0x1});}[_0x5b1a3a(0x4ed)](_0x210bc2){const _0x27915a=_0x5b1a3a;this['_selfUnitIDs']['delete'](_0x210bc2),this[_0x27915a(0x41a)][_0x27915a(0x388)]===0x0&&this[_0x27915a(0x36c)]&&window[_0x27915a(0x18d)](this[_0x27915a(0x36c)]);}[_0x5b1a3a(0x26b)](){const _0x34570e=_0x5b1a3a;this['disposeWithMe'](_0x529295(_0xcd07a4(window,'storage')[_0x34570e(0x570)](_0x5b0ddd=>{const _0x43b513=_0x34570e;if(_0x5b0ddd['key']!==Ws||!_0x5b0ddd[_0x43b513(0x441)])return;const _0x562923=JSON[_0x43b513(0x2e1)](_0x5b0ddd[_0x43b513(0x441)]);this[_0x43b513(0x3fe)](_0x562923);}))),window['addEventListener']('unload',()=>this[_0x34570e(0x482)]({'type':0x1,'memberID':this[_0x34570e(0x34b)],'unitIDs':Array[_0x34570e(0x337)](this[_0x34570e(0x41a)])}));}[_0x5b1a3a(0x3fe)](_0x3e2d30){const _0x3c6e26=_0x5b1a3a;switch(_0x3e2d30[_0x3c6e26(0x23f)]){case 0x0:this[_0x3c6e26(0x28d)](_0x3e2d30);break;case 0x1:this['_handleLeaveEvent'](_0x3e2d30);break;case 0x2:this['_handleHeartbeatEvent'](_0x3e2d30);break;}}[_0x5b1a3a(0x28d)](_0x793db7){const _0x4d3304=_0x5b1a3a,{unitIDs:_0x2bb009,memberID:_0x52fb36,isForwarded:_0x43d015}=_0x793db7;_0x2bb009[_0x4d3304(0x2a1)](_0x56ecb8=>{const _0x30aab8=_0x4d3304;if(!_0x43d015&&this[_0x30aab8(0x189)]['has'](_0x56ecb8)&&this[_0x30aab8(0x310)](_0x56ecb8)[_0x30aab8(0x424)](0x1),!this[_0x30aab8(0x189)][_0x30aab8(0x2fd)](_0x56ecb8)||!this['_unitOnClients'][_0x30aab8(0x50f)](_0x56ecb8)['has'](_0x52fb36)){const _0x1c9116=this[_0x30aab8(0x189)][_0x30aab8(0x50f)](_0x56ecb8)||new Set();_0x1c9116[_0x30aab8(0x49f)](_0x52fb36),this[_0x30aab8(0x189)][_0x30aab8(0x18b)](_0x56ecb8,_0x1c9116),this[_0x30aab8(0x45c)](_0x52fb36);}}),_0x43d015||this[_0x4d3304(0x482)]({'type':0x0,'memberID':this[_0x4d3304(0x34b)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x5b1a3a(0x45c)](_0x99e339){const _0x1da1f1=_0x5b1a3a;this[_0x1da1f1(0x3fa)](_0x99e339);const _0x407b49=window['setTimeout'](()=>{const _0x2de395=_0x1da1f1;this['_unitOnClients'][_0x2de395(0x2a1)](_0x519a5c=>{const _0x4790fa=_0x2de395;_0x519a5c[_0x4790fa(0x3a1)](_0x99e339);});},ks*0x2);this['_clearOtherTimers'][_0x1da1f1(0x18b)](_0x99e339,_0x407b49);}[_0x5b1a3a(0x3fa)](_0x590614){const _0x4f630b=_0x5b1a3a;if(this[_0x4f630b(0x56e)][_0x4f630b(0x2fd)](_0x590614)){const _0x12cd54=this[_0x4f630b(0x56e)][_0x4f630b(0x50f)](_0x590614);_0x12cd54&&window[_0x4f630b(0x550)](_0x12cd54),this[_0x4f630b(0x56e)][_0x4f630b(0x18b)](_0x590614,null);}}['_handleLeaveEvent'](_0x507605){const _0xd6b412=_0x5b1a3a,{memberID:_0x23de0f,unitIDs:_0x5b9cb9}=_0x507605;_0x5b9cb9['forEach'](_0xc61929=>{const _0xf3a306=_0xa0d1;var _0x1e83d2;const _0x582881=this[_0xf3a306(0x189)][_0xf3a306(0x50f)](_0xc61929);_0x582881&&(_0x582881[_0xf3a306(0x3a1)](_0x23de0f),(_0x1e83d2=this['_ensureSubject'](_0xc61929))==null||_0x1e83d2[_0xf3a306(0x424)](_0x582881[_0xf3a306(0x388)]===0x0?0x0:0x1));}),this[_0xd6b412(0x3fa)](_0x23de0f);}['_handleHeartbeatEvent'](_0x4fd79){const _0x586ae4=_0x5b1a3a;this[_0x586ae4(0x45c)](_0x4fd79[_0x586ae4(0x4e6)]);}[_0x5b1a3a(0x482)](_0x2f8a04){const _0x11abb5=_0x5b1a3a;localStorage['setItem'](Ws,JSON[_0x11abb5(0x3d4)](_0x2f8a04));}[_0x5b1a3a(0x353)](){const _0x15550d=_0x5b1a3a;this['_heartbeatTimer']=window[_0x15550d(0x37e)](()=>{const _0x10d106=_0x15550d;this['_send']({'type':0x2,'memberID':this[_0x10d106(0x34b)]});},ks);}[_0x5b1a3a(0x310)](_0x3cc15b){const _0x48ffe3=_0x5b1a3a;return this['_unitStatus'][_0x48ffe3(0x2fd)](_0x3cc15b)||this[_0x48ffe3(0x2ea)][_0x48ffe3(0x18b)](_0x3cc15b,new _0x1ce182(0x0)),this['_unitStatus'][_0x48ffe3(0x50f)](_0x3cc15b);}}var io=Object[_0x5b1a3a(0x3dc)],no=Object['getOwnPropertyDescriptor'],ro=(_0x4cbc6d,_0x48e848,_0x4e5d4d,_0x3025e5)=>{const _0x24a1d9=_0x5b1a3a;for(var _0x5b284a=_0x3025e5>0x1?void 0x0:_0x3025e5?no(_0x48e848,_0x4e5d4d):_0x48e848,_0x5c608e=_0x4cbc6d[_0x24a1d9(0x29a)]-0x1,_0x2c8151;_0x5c608e>=0x0;_0x5c608e--)(_0x2c8151=_0x4cbc6d[_0x5c608e])&&(_0x5b284a=(_0x3025e5?_0x2c8151(_0x48e848,_0x4e5d4d,_0x5b284a):_0x2c8151(_0x5b284a))||_0x5b284a);return _0x3025e5&&_0x5b284a&&io(_0x48e848,_0x4e5d4d,_0x5b284a),_0x5b284a;},xt=(_0x2a69e9,_0x576068)=>(_0x2a4e1f,_0x4c6114)=>_0x576068(_0x2a4e1f,_0x4c6114,_0x2a69e9);let pt=class{constructor(_0x1b416e,_0x37c7e9,_0xc4b038){const _0x42cf02=_0x5b1a3a;this[_0x42cf02(0x4e1)]=_0x1b416e,this[_0x42cf02(0x427)]=_0x37c7e9,this[_0x42cf02(0x1e9)]=_0xc4b038;}['transformStateCache'](_0x58621f){const _0x16a87d=_0x5b1a3a;this[_0x16a87d(0x391)](_0x58621f);}[_0x5b1a3a(0x387)](_0x214dc7){const _0x1f400c=_0x5b1a3a,{unitID:_0x6a5e04}=_0x214dc7,{collaboration:_0x3dd999}=this['_docStateChangeManagerService'][_0x1f400c(0x560)](_0x6a5e04);if(_0x3dd999[_0x1f400c(0x29a)]===0x0)return _0x214dc7;let _0x2e60c8=_0x9e8b08[_0x1f400c(0x41d)](_0x214dc7[_0x1f400c(0x260)][0x0]);for(let _0x199bd3=0x0;_0x199bd3<_0x3dd999[_0x1f400c(0x29a)];_0x199bd3++){const _0x436a1c={'id':_0x1f400c(0x298),'params':{'unitId':_0x3dd999[_0x199bd3]['unitId'],..._0x3dd999[_0x199bd3][_0x1f400c(0x3b6)]}},_0x18dd5f=this[_0x1f400c(0x427)][_0x1f400c(0x46b)](_0x2e60c8,_0x436a1c,!0x1);if(_0x321ec1(_0x18dd5f))throw _0x18dd5f[_0x1f400c(0x237)];_0x2e60c8=_0x18dd5f['m1Prime'];}return{..._0x9e8b08['deepClone'](_0x214dc7),'mutations':[_0x2e60c8]};}[_0x5b1a3a(0x391)](_0x3faefd){const _0x47f36f=_0x5b1a3a,{unitID:_0x394155}=_0x3faefd,{history:_0x466203,collaboration:_0x169bda}=this['_docStateChangeManagerService'][_0x47f36f(0x560)](_0x394155);if(_0x466203[_0x47f36f(0x29a)]===0x0&&_0x169bda[_0x47f36f(0x29a)]===0x0)return;const _0x5c2709=[],_0x4a75dc=[];let _0x3fadf2=_0x9e8b08[_0x47f36f(0x41d)](_0x3faefd[_0x47f36f(0x260)][0x0]),_0x4f6a5a=_0x9e8b08[_0x47f36f(0x41d)](_0x3faefd[_0x47f36f(0x260)][0x0]);for(let _0x5c87f5=_0x466203['length']-0x1;_0x5c87f5>=0x0;_0x5c87f5--){const _0x3075c5={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x466203[_0x5c87f5]['unitId'],..._0x466203[_0x5c87f5]['undoState']}},_0x20cc1d={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x466203[_0x5c87f5][_0x47f36f(0x1ad)],..._0x466203[_0x5c87f5][_0x47f36f(0x3b6)]}},_0x50c988=this[_0x47f36f(0x427)]['transformMutation'](_0x3fadf2,_0x3075c5,!0x1),_0x31167b=this[_0x47f36f(0x427)][_0x47f36f(0x46b)](_0x4f6a5a,_0x20cc1d,!0x1);if(_0x321ec1(_0x50c988))throw _0x50c988[_0x47f36f(0x237)];if(_0x321ec1(_0x31167b))throw _0x31167b['error'];_0x5c2709[_0x47f36f(0x375)]({..._0x466203[_0x5c87f5],'undoState':_0x50c988[_0x47f36f(0x4c8)][_0x47f36f(0x2ae)],'redoState':_0x31167b['m2Prime'][_0x47f36f(0x2ae)]}),_0x3fadf2=_0x50c988[_0x47f36f(0x255)],_0x4f6a5a=_0x31167b[_0x47f36f(0x255)];}_0x3fadf2=_0x9e8b08[_0x47f36f(0x41d)](_0x3faefd['mutations'][0x0]),_0x4f6a5a=_0x9e8b08[_0x47f36f(0x41d)](_0x3faefd[_0x47f36f(0x260)][0x0]);for(let _0x3455ab=_0x169bda[_0x47f36f(0x29a)]-0x1;_0x3455ab>=0x0;_0x3455ab--){const _0x26e3ed={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x169bda[_0x3455ab][_0x47f36f(0x1ad)],..._0x169bda[_0x3455ab][_0x47f36f(0x1d7)]}},_0x267e80={'id':_0x47f36f(0x298),'params':{'unitId':_0x169bda[_0x3455ab]['unitId'],..._0x169bda[_0x3455ab]['redoState']}},_0x44d0eb=this[_0x47f36f(0x427)][_0x47f36f(0x46b)](_0x3fadf2,_0x26e3ed,!0x1),_0x1b9dcc=this[_0x47f36f(0x427)][_0x47f36f(0x46b)](_0x4f6a5a,_0x267e80,!0x1);if(_0x321ec1(_0x44d0eb))throw _0x44d0eb[_0x47f36f(0x237)];if(_0x321ec1(_0x1b9dcc))throw _0x1b9dcc[_0x47f36f(0x237)];_0x4a75dc[_0x47f36f(0x375)]({..._0x169bda[_0x3455ab],'undoState':_0x44d0eb[_0x47f36f(0x4c8)][_0x47f36f(0x2ae)],'redoState':_0x1b9dcc[_0x47f36f(0x4c8)][_0x47f36f(0x2ae)]}),_0x3fadf2=_0x44d0eb[_0x47f36f(0x255)],_0x4f6a5a=_0x1b9dcc[_0x47f36f(0x255)];}this['_docStateChangeManagerService'][_0x47f36f(0x3ee)](_0x394155,{'history':_0x5c2709,'collaboration':_0x4a75dc});}};pt=ro([xt(0x0,_0x28839c(_0x1027b3)),xt(0x1,_0xef8dcd),xt(0x2,_0x28839c(_0x55250f))],pt);function Pi(_0xa269c){const _0x114410=_0x5b1a3a;let _0x19133e='';for(const _0xf0e9af of _0xa269c){const {startOffset:_0x3f2279,endOffset:_0x3f1c35,isActive:_0x4900ad,rangeType:_0x42f0a7,segmentId:_0x59b15c,segmentPage:_0x17ea9e}=_0xf0e9af;_0x19133e[_0x114410(0x29a)]&&(_0x19133e+=','),_0x19133e+=_0x3f2279+':'+_0x3f1c35+':'+(_0x4900ad?'1':'0')+':'+_0x42f0a7+':'+_0x59b15c+':'+_0x17ea9e;}return _0x19133e;}function oo(_0x97e6f9){const _0x487918=_0x5b1a3a,_0x320f49=_0x97e6f9[_0x487918(0x203)](','),_0x8b45ff=[];for(const _0x3617fe of _0x320f49){const [_0x2c3abb,_0x50c79e,_0x5181ca,_0x583780,_0x379f03,_0xe0c3a1]=_0x3617fe[_0x487918(0x203)](':');_0x8b45ff[_0x487918(0x44a)]({'startOffset':Number(_0x2c3abb),'endOffset':Number(_0x50c79e),'collapsed':_0x2c3abb===_0x50c79e,'isActive':_0x5181ca==='1','rangeType':_0x583780===_0x59f56c['TEXT']?_0x59f56c[_0x487918(0x35b)]:_0x59f56c[_0x487918(0x430)],'segmentId':typeof _0x379f03==_0x487918(0x4fa)?String(_0x379f03):'','segmentPage':Number(_0xe0c3a1!=null?_0xe0c3a1:-0x1)});}return _0x8b45ff[_0x487918(0x2b6)](_0x5b1ae3=>_0x5b1ae3[_0x487918(0x29d)])||(_0x8b45ff[0x0][_0x487918(0x29d)]=!0x0),_0x8b45ff;}class Cs extends _0x203b2a{constructor(){const _0x124e5f=_0x5b1a3a;super(...arguments),g(this,_0x124e5f(0x2d7),new _0x1ce182(null)),g(this,_0x124e5f(0x220),this[_0x124e5f(0x2d7)]['asObservable']());}['syncEditingCollabCursor'](_0x1e94e4){const _0x3e2a5e=_0x5b1a3a,{unitID:_0x2fc706,memberID:_0x70c0ed,textRanges:_0x3e7352}=_0x1e94e4,_0x506133=Pi(_0x3e7352);if(_0x506133==='')return;const _0x58377b={'unitID':_0x2fc706,'memberID':_0x70c0ed,'selection':_0x506133};this[_0x3e2a5e(0x2d7)][_0x3e2a5e(0x424)](_0x58377b);}}var ao=Object['defineProperty'],co=Object['getOwnPropertyDescriptor'],ho=(_0x4b1f00,_0x8e5345,_0x152ea8,_0x361251)=>{for(var _0x5d3629=_0x361251>0x1?void 0x0:_0x361251?co(_0x8e5345,_0x152ea8):_0x8e5345,_0x538a9a=_0x4b1f00['length']-0x1,_0x4bcb4d;_0x538a9a>=0x0;_0x538a9a--)(_0x4bcb4d=_0x4b1f00[_0x538a9a])&&(_0x5d3629=(_0x361251?_0x4bcb4d(_0x8e5345,_0x152ea8,_0x5d3629):_0x4bcb4d(_0x5d3629))||_0x5d3629);return _0x361251&&_0x5d3629&&ao(_0x8e5345,_0x152ea8,_0x5d3629),_0x5d3629;},Fs=(_0x4996ab,_0x2cf7eb)=>(_0x409060,_0xa8213a)=>_0x2cf7eb(_0x409060,_0xa8213a,_0x4996ab);let gt=class{constructor(_0x35431b,_0xef3fdb){const _0x2180d2=_0x5b1a3a;this[_0x2180d2(0x4e1)]=_0x35431b,this[_0x2180d2(0x427)]=_0xef3fdb;}[_0x5b1a3a(0x55d)](_0x250227){const _0x5ac91a=_0x5b1a3a;var _0x4c7aa9;const _0x456657=this['_injector']['get'](_0x5b11b1),_0x26360c=(_0x4c7aa9=_0x456657[_0x5ac91a(0x1b9)]())!=null?_0x4c7aa9:[];if(_0x26360c[_0x5ac91a(0x29a)]===0x0)return;const _0x22ca94=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x250227['unitID'],'actions':null,'textRanges':_0x26360c}}],_0x5d7361=this['_transformService'][_0x5ac91a(0x280)](_0x250227,_0x22ca94);if(!_0x582252(_0x5d7361))throw _0x5d7361[_0x5ac91a(0x237)];const _0x53adb6=_0x5d7361['m2Prime'][0x0]['params'][_0x5ac91a(0x3cd)];Array[_0x5ac91a(0x25c)](_0x53adb6)&&_0x53adb6[_0x5ac91a(0x29a)]&&_0x456657['replaceTextRanges'](_0x53adb6,!0x1);}};gt=ho([Fs(0x0,_0x28839c(_0x1027b3)),Fs(0x1,_0xef8dcd)],gt);const lo=new Set([_0x28fda5['id']]);function Vs(_0x413ad7,_0x143947,_0x55d16b,_0xda0bf0,_0x2e0eca){const _0x2d45d8=_0x5b1a3a;var _0x3d5c5b,_0x28c431,_0x3c5dbe,_0x3260df;const _0x534469=[];for(const _0xc846f3 of _0x413ad7)if(lo[_0x2d45d8(0x2fd)](_0xc846f3['id'])){if(_0x534469[_0x2d45d8(0x29a)]>0x0)break;_0x534469[_0x2d45d8(0x44a)](_0xc846f3);break;}else _0x534469[_0x2d45d8(0x44a)](_0xc846f3);const _0x3e8f51=(_0x28c431=(_0x3d5c5b=_0x2e0eca['getCurrentUser']())==null?void 0x0:_0x3d5c5b['userID'])!=null?_0x28c431:_0x2d45d8(0x408),_0x5f1135=(_0x3260df=(_0x3c5dbe=_0x2e0eca['getCurrentUser']())==null?void 0x0:_0x3c5dbe['memberID'])!=null?_0x3260df:'unknown';return{'changeset':{'unitID':_0x143947,'type':_0x50cfb0(_0x55d16b['getUnitType'](_0x143947)),'baseRev':_0xda0bf0['getCurrentRevOfUnit'](_0x143947),'revision':0x0,'userID':_0x3e8f51,'memberID':_0x5f1135,'mutations':_0x534469},'pendingMutations':_0x413ad7[_0x2d45d8(0x223)](_0x534469[_0x2d45d8(0x29a)])};}function _o(_0x3924b5,_0x2aff12,_0x961d3c,_0x585a08,_0x40387e){const _0x3b72a0=_0x5b1a3a;var _0x2c2a65,_0x509025,_0xec81b2,_0x1f91f9;const _0x59fbb6=[_0x3924b5['reduce']((_0x52837d,_0x5a1c2b)=>{const _0x255e42=_0xa0d1;var _0x2a8d8f;const {id:_0x471453}=_0x52837d,{id:_0x790414,type:_0x42610b}=_0x5a1c2b,_0x206f16=(_0x2a8d8f=_0x52837d['params'])!=null?_0x2a8d8f:{'actions':null},_0x5e4d6a=_0x5a1c2b['params'];if(_0x471453&&_0x471453!==_0x790414)throw new Error(_0x255e42(0x1bb)+_0x471453+_0x255e42(0x2ac)+_0x790414+'.');return{..._0x52837d,'id':_0x790414,'type':_0x42610b,'params':{'unitId':_0x5e4d6a[_0x255e42(0x1ad)],'textRanges':_0x5e4d6a[_0x255e42(0x3cd)],'actions':_0x266fd1[_0x255e42(0x1e7)](_0x206f16[_0x255e42(0x456)],_0x5e4d6a[_0x255e42(0x456)])}};},{})],_0x3e2497=(_0x509025=(_0x2c2a65=_0x40387e[_0x3b72a0(0x242)]())==null?void 0x0:_0x2c2a65[_0x3b72a0(0x44e)])!=null?_0x509025:_0x3b72a0(0x408),_0x41f625=(_0x1f91f9=(_0xec81b2=_0x40387e['getCurrentUser']())==null?void 0x0:_0xec81b2[_0x3b72a0(0x4e6)])!=null?_0x1f91f9:'unknown';return{'changeset':{'unitID':_0x2aff12,'type':_0x50cfb0(_0x961d3c['getUnitType'](_0x2aff12)),'baseRev':_0x585a08[_0x3b72a0(0x259)](_0x2aff12),'revision':0x0,'userID':_0x3e2497,'memberID':_0x41f625,'mutations':_0x59fbb6},'pendingMutations':[]};}function Ui(_0x54e525,_0x3e1532){const _0xb7204f=_0x5b1a3a,_0x399f52=new _0x1dda0f(0x1);return setTimeout(()=>_0x399f52[_0xb7204f(0x424)](_0x3e1532),_0x54e525),_0x399f52['asObservable']()['pipe'](_0x4725fb(0x1));}const uo={'id':_0x464c30['id'],'type':_0x4aa13b[_0x5b1a3a(0x491)],'params':{}};var fo=Object['defineProperty'],vo=Object['getOwnPropertyDescriptor'],Le=(_0x3ca9fc,_0x27612f,_0x1ac738,_0x1bed62)=>{const _0x2caefc=_0x5b1a3a;for(var _0x7a6b7d=_0x1bed62>0x1?void 0x0:_0x1bed62?vo(_0x27612f,_0x1ac738):_0x27612f,_0x208b81=_0x3ca9fc[_0x2caefc(0x29a)]-0x1,_0x4d1bae;_0x208b81>=0x0;_0x208b81--)(_0x4d1bae=_0x3ca9fc[_0x208b81])&&(_0x7a6b7d=(_0x1bed62?_0x4d1bae(_0x27612f,_0x1ac738,_0x7a6b7d):_0x4d1bae(_0x7a6b7d))||_0x7a6b7d);return _0x1bed62&&_0x7a6b7d&&fo(_0x27612f,_0x1ac738,_0x7a6b7d),_0x7a6b7d;},A=(_0x2e6630,_0x31c60c)=>(_0x2c3ab0,_0xac2ca8)=>_0x31c60c(_0x2c3ab0,_0xac2ca8,_0x2e6630),J=(_0x43ed73=>(_0x43ed73[_0x5b1a3a(0x520)]=_0x5b1a3a(0x262),_0x43ed73[_0x5b1a3a(0x25b)]=_0x5b1a3a(0x350),_0x43ed73[_0x5b1a3a(0x251)]=_0x5b1a3a(0x4c9),_0x43ed73[_0x5b1a3a(0x54a)]=_0x5b1a3a(0x55e),_0x43ed73[_0x5b1a3a(0x316)]=_0x5b1a3a(0x554),_0x43ed73[_0x5b1a3a(0x4be)]=_0x5b1a3a(0x35f),_0x43ed73[_0x5b1a3a(0x17f)]='conflict',_0x43ed73[_0x5b1a3a(0x405)]=_0x5b1a3a(0x328),_0x43ed73))(J||{});const Ni=0xea60;class $e{constructor(_0x1d0723,_0x3bea4e,_0x547aef,_0x4d70f2,_0x48bed3,_0x4d613e,_0x24158f,_0x619b7d,_0x677d5b){const _0x40b4c7=_0x5b1a3a;g(this,_0x40b4c7(0x3e8),null),g(this,_0x40b4c7(0x1fb),[]),(this['unitID']=_0x1d0723,this[_0x40b4c7(0x23f)]=_0x3bea4e,this['_handler']=_0x48bed3,this[_0x40b4c7(0x50d)]=_0x4d613e,this[_0x40b4c7(0x357)]=_0x24158f,this[_0x40b4c7(0x4f2)]=_0x619b7d,this[_0x40b4c7(0x2af)]=_0x677d5b,this[_0x40b4c7(0x3e8)]=_0x547aef,this[_0x40b4c7(0x1fb)]=_0x4d70f2);}[_0x5b1a3a(0x34a)](_0x2fe589){const _0x15a67c=_0x5b1a3a,_0x3a0efd=this[_0x15a67c(0x4f2)][_0x15a67c(0x259)](this[_0x15a67c(0x41c)]);return _0x2fe589[_0x15a67c(0x49c)]>_0x3a0efd+0x1?(this[_0x15a67c(0x2a5)][_0x15a67c(0x32a)]({'from':_0x3a0efd,'to':_0x2fe589[_0x15a67c(0x49c)]-0x1}),!0x0):!0x1;}[_0x5b1a3a(0x27d)](_0x2469b8){const _0x5c37a9=_0x5b1a3a;this[_0x5c37a9(0x357)][_0x5c37a9(0x1ea)](this['unitID'],_0x2469b8);}[_0x5b1a3a(0x3a0)](_0x3aad76){const _0x4f6bbe=_0x5b1a3a;var _0x175656,_0x574d55;(_0x574d55=(_0x175656=this['_handler'])['onTransformSelections'])==null||_0x574d55[_0x4f6bbe(0x27f)](_0x175656,_0x3aad76);}[_0x5b1a3a(0x331)](_0xcb7d22){const _0x345eb5=_0x5b1a3a;var _0x9df698,_0x5979a3;return(_0x5979a3=(_0x9df698=this[_0x345eb5(0x2a5)])[_0x345eb5(0x2f8)])==null?void 0x0:_0x5979a3[_0x345eb5(0x27f)](_0x9df698,_0xcb7d22);}[_0x5b1a3a(0x2d4)](_0x383a31){const _0x51411a=_0x5b1a3a;var _0x2b6d89,_0x4c00f6;return(_0x4c00f6=(_0x2b6d89=this[_0x51411a(0x2a5)])['onTransformState'])==null?void 0x0:_0x4c00f6[_0x51411a(0x27f)](_0x2b6d89,_0x383a31);}[_0x5b1a3a(0x2fc)](_0x2d265a){const _0x3a5ecb=_0x5b1a3a;var _0x8af71a,_0x3be2f3,_0x527df0;return(_0x527df0=(_0x3be2f3=(_0x8af71a=this[_0x3a5ecb(0x2a5)])[_0x3a5ecb(0x54f)])==null?void 0x0:_0x3be2f3[_0x3a5ecb(0x27f)](_0x8af71a,_0x2d265a))!=null?_0x527df0:_0x2d265a;}[_0x5b1a3a(0x3f9)](_0x2d2ffe){const _0x3fb329=_0x5b1a3a;var _0x588831,_0x46965a,_0x5ada63;return(_0x5ada63=(_0x46965a=(_0x588831=this[_0x3fb329(0x2a5)])[_0x3fb329(0x4f3)])==null?void 0x0:_0x46965a[_0x3fb329(0x27f)](_0x588831,_0x2d2ffe))!=null?_0x5ada63:_0x2d2ffe;}['_syncEditingCollabCursor'](_0x35f92b){const _0x20bee1=_0x5b1a3a;var _0x4e97cc,_0x5c5fa8;if(this['type']===ce[_0x20bee1(0x1f2)]){const {unitID:_0x266094,mutations:_0x4b17d1,memberID:_0x456e29}=_0x35f92b,_0x11673f=_0x4b17d1[0x0]['params'][_0x20bee1(0x3cd)];Array[_0x20bee1(0x25c)](_0x11673f)&&_0x11673f[_0x20bee1(0x29a)]>0x0&&((_0x5c5fa8=(_0x4e97cc=this[_0x20bee1(0x2a5)])[_0x20bee1(0x201)])==null||_0x5c5fa8['call'](_0x4e97cc,{'unitID':_0x266094,'memberID':_0x456e29,'textRanges':_0x11673f}));}}[_0x5b1a3a(0x229)](){const _0x433ae4=_0x5b1a3a;this['_localCacheService'][_0x433ae4(0x2ff)](this['unitID'],this[_0x433ae4(0x23f)],this['_awaitingChangeset'],this[_0x433ae4(0x1fb)]);}[_0x5b1a3a(0x30e)](){return this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);}[_0x5b1a3a(0x1e1)](){const _0x544259=_0x5b1a3a;this[_0x544259(0x4f2)][_0x544259(0x507)](this[_0x544259(0x41c)]);}[_0x5b1a3a(0x275)](_0x40eb26){const _0x53c09a=_0x5b1a3a;var _0x3fc6f0;let _0x299aec=this[_0x53c09a(0x2fc)](_0x40eb26);_0x299aec=this[_0x53c09a(0x3f9)](_0x299aec);const _0xd1e16e=_0x38e9f3(_0x299aec[_0x53c09a(0x260)],this['_commandService'],{'fromCollab':!0x0});if(!_0xd1e16e['result'])throw _0xd1e16e[_0x53c09a(0x237)]instanceof Error?_0xd1e16e['error']:new Error((_0x3fc6f0=_0xd1e16e[_0x53c09a(0x237)])!=null?_0x3fc6f0:_0x53c09a(0x4a7));this['_transformIMECache'](_0x299aec),this[_0x53c09a(0x2d4)](_0x299aec),this['_transformUndoredo'](_0x40eb26),this[_0x53c09a(0x3a0)](_0x299aec),this[_0x53c09a(0x2e8)](_0x299aec),this[_0x53c09a(0x1e1)]();}}let Fe=class extends $e{constructor(_0x349373,_0x556a03,_0x528867,_0x1df11f,_0x5b8f5a,_0x50be1b,_0x497aea,_0x2b6dd6,_0x1e5e8c,_0x49a4dc){const _0x597246=_0x5b1a3a;super(_0x349373,_0x556a03,null,[],_0x528867,_0x2b6dd6,_0x497aea,_0x1df11f,_0x5b8f5a),g(this,_0x597246(0x4e8),'synced'),(this['_injector']=_0x50be1b,this[_0x597246(0x2b5)]=_0x1e5e8c,this[_0x597246(0x427)]=_0x49a4dc);}[_0x5b1a3a(0x2c9)](_0x14ca11){const _0xf7b554=_0x5b1a3a,_0x2cb955=this[_0xf7b554(0x4e1)]['createInstance'](pe,this[_0xf7b554(0x41c)],this[_0xf7b554(0x23f)],[_0x14ca11],this['_handler']);return _0x2cb955[_0xf7b554(0x26d)](),_0x2cb955[_0xf7b554(0x229)](),_0x2cb955;}[_0x5b1a3a(0x1c6)](_0x333b57){const _0x3f7c93=_0x5b1a3a;if(this[_0x3f7c93(0x34a)](_0x333b57))return this['_injector']['createInstance'](he,this['unitID'],this[_0x3f7c93(0x23f)],null,[],null,[_0x333b57],this[_0x3f7c93(0x2a5)]);try{const _0x2c2f77=this[_0x3f7c93(0x427)][_0x3f7c93(0x280)](_0x333b57,[uo]);if(_0x582252(_0x2c2f77)){const {c1Prime:_0x22c1e6}=_0x2c2f77;return this[_0x3f7c93(0x275)](_0x22c1e6),this;}throw _0x2c2f77[_0x3f7c93(0x237)];}catch(_0x564acc){return this['_logService'][_0x3f7c93(0x237)](_0x564acc),this[_0x3f7c93(0x386)](!0x1);}}[_0x5b1a3a(0x386)](_0xedd5dc){const _0x38cf90=_0x5b1a3a;return this[_0x38cf90(0x4e1)][_0x38cf90(0x4a9)](Re,this[_0x38cf90(0x41c)],this[_0x38cf90(0x23f)],null,[],this[_0x38cf90(0x2a5)],_0xedd5dc);}[_0x5b1a3a(0x4e7)](){const _0x5f133c=_0x5b1a3a;throw new Error(_0x5f133c(0x50b));}[_0x5b1a3a(0x24b)](){const _0x6d5260=_0x5b1a3a;throw new Error(_0x6d5260(0x3c8));}[_0x5b1a3a(0x3c7)](){return this;}[_0x5b1a3a(0x1a1)](){const _0x44fd42=_0x5b1a3a;return this[_0x44fd42(0x4e1)]['createInstance'](ye,this[_0x44fd42(0x41c)],this['type'],null,[],this[_0x44fd42(0x2a5)]);}[_0x5b1a3a(0x4ab)](){return this;}[_0x5b1a3a(0x24d)](){const _0x287948=_0x5b1a3a;throw new Error(_0x287948(0x444));}[_0x5b1a3a(0x48a)](){const _0x15b218=_0x5b1a3a,_0x156876=this[_0x15b218(0x4f2)][_0x15b218(0x259)](this['unitID']);return this[_0x15b218(0x2a5)][_0x15b218(0x32a)]({'from':_0x156876,'to':0x0}),this[_0x15b218(0x4e1)]['createInstance'](he,this[_0x15b218(0x41c)],this[_0x15b218(0x23f)],null,[],null,[],this[_0x15b218(0x2a5)]);}};Fe=Le([A(0x3,_0x28839c(_0x137cc2)),A(0x4,_0x28839c(q)),A(0x5,_0x28839c(_0x1027b3)),A(0x6,_0x1ffd7c),A(0x7,_0x10ec6b),A(0x8,_0x418a3e),A(0x9,_0xef8dcd)],Fe);let pe=class extends $e{constructor(_0x50aaad,_0x454b1a,_0x2ebfa8,_0x42dd11,_0x4107ab,_0x33761e,_0x1a2888,_0x27650b,_0x10ebd7,_0x190abc,_0x91cd9e,_0x33f36a,_0x57eb68,_0x3f2b46){const _0x2a2c09=_0x5b1a3a;super(_0x50aaad,_0x454b1a,null,_0x2ebfa8,_0x42dd11,_0x190abc,_0x3f2b46,_0x33761e,_0x1a2888),g(this,_0x2a2c09(0x4e8),_0x2a2c09(0x4c9)),g(this,_0x2a2c09(0x2df),null),g(this,_0x2a2c09(0x3aa),null),(this[_0x2a2c09(0x4e1)]=_0x4107ab,this[_0x2a2c09(0x579)]=_0x27650b,this['_logService']=_0x10ebd7,this[_0x2a2c09(0x4c4)]=_0x91cd9e,this[_0x2a2c09(0x427)]=_0x33f36a,this['_univerInstanceService']=_0x57eb68);}[_0x5b1a3a(0x2c9)](_0xe90893){const _0x15f7f0=_0x5b1a3a;return this[_0x15f7f0(0x1fb)][_0x15f7f0(0x44a)](_0xe90893),this[_0x15f7f0(0x229)](),this;}[_0x5b1a3a(0x1c6)](_0x2903c5){const _0x269bce=_0x5b1a3a;if(this['_checkMissing'](_0x2903c5))return this['_clearScheduledTask'](),this[_0x269bce(0x4e1)]['createInstance'](he,this[_0x269bce(0x41c)],this[_0x269bce(0x23f)],null,this[_0x269bce(0x1fb)],null,[_0x2903c5],this[_0x269bce(0x2a5)]);try{const _0x3d5b7c=this[_0x269bce(0x427)][_0x269bce(0x280)](_0x2903c5,this[_0x269bce(0x1fb)]);if(_0x582252(_0x3d5b7c)){const {c1Prime:_0x283141,m2Prime:_0x154ac3}=_0x3d5b7c;this[_0x269bce(0x275)](_0x283141);const _0x16e6bd=this['_injector'][_0x269bce(0x4a9)](pe,this[_0x269bce(0x41c)],this['type'],_0x154ac3,this[_0x269bce(0x2a5)]);return this[_0x269bce(0x313)](),_0x16e6bd['_schedule'](this[_0x269bce(0x2df)]?Math[_0x269bce(0x3ec)](0x0,new Date()['getTime']()-this['_scheduleTimestamp']):this['_getSendChangesetTimeout']()),_0x16e6bd;}throw _0x3d5b7c['error'];}catch(_0x5f5df9){return this[_0x269bce(0x2b5)]['error'](_0x5f5df9),this['_onConflict'](!0x1);}}[_0x5b1a3a(0x4e7)](){const _0x2abf6d=_0x5b1a3a;throw new Error(_0x2abf6d(0x43a));}['onRemoteRej'](){throw new Error('[PendingState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x5b1a3a(0x1a1)](){const _0x886094=_0x5b1a3a;return this[_0x886094(0x313)](),this[_0x886094(0x4e1)][_0x886094(0x4a9)](ye,this[_0x886094(0x41c)],this[_0x886094(0x23f)],null,this[_0x886094(0x1fb)],this['_handler']);}['toggleOnline'](){return this;}[_0x5b1a3a(0x26d)](_0xaa652){const _0x116cf2=_0x5b1a3a,_0x5373bc=_0xaa652!=null?_0xaa652:this[_0x116cf2(0x3e3)]();this[_0x116cf2(0x2df)]=new Date()[_0x116cf2(0x487)](),this['_sendingTimer']=window[_0x116cf2(0x180)](()=>{const _0x207032=_0x116cf2;this[_0x207032(0x313)]();let _0x5596ce=null;switch(this[_0x207032(0x23f)]){case ce[_0x207032(0x24e)]:{_0x5596ce=Vs(this[_0x207032(0x1fb)],this[_0x207032(0x41c)],this[_0x207032(0x212)],this[_0x207032(0x4f2)],this['_memberService']);break;}case ce[_0x207032(0x1f2)]:{this[_0x207032(0x1fb)][_0x207032(0x36f)](_0x2d8316=>_0x2d8316['id']===_0x3ba450['id'])?_0x5596ce=_o(this[_0x207032(0x1fb)],this['unitID'],this[_0x207032(0x212)],this[_0x207032(0x4f2)],this[_0x207032(0x579)]):_0x5596ce=Vs(this[_0x207032(0x1fb)],this[_0x207032(0x41c)],this[_0x207032(0x212)],this[_0x207032(0x4f2)],this[_0x207032(0x579)]);break;}default:throw new Error(_0x207032(0x344)+this[_0x207032(0x23f)]+_0x207032(0x522));}const {changeset:_0x3f0a3c,pendingMutations:_0x1f2c23}=_0x5596ce;this[_0x207032(0x2a5)][_0x207032(0x481)](_0x3f0a3c);const _0x1a952f=_0x1f2c23[_0x207032(0x29a)]?this[_0x207032(0x4e1)]['createInstance'](ge,this[_0x207032(0x41c)],this[_0x207032(0x23f)],_0x3f0a3c,_0x1f2c23,this[_0x207032(0x2a5)],void 0x0):this[_0x207032(0x4e1)][_0x207032(0x4a9)](Te,this[_0x207032(0x41c)],this['type'],_0x3f0a3c,this[_0x207032(0x2a5)]);_0x1a952f[_0x207032(0x229)](),this[_0x207032(0x2a5)][_0x207032(0x1ed)](this,_0x1a952f);},_0x5373bc);}['_getSendChangesetTimeout'](){const _0x160c90=_0x5b1a3a;var _0x489727;const _0x10236a=this[_0x160c90(0x4c4)]['getConfig'](ie);return(_0x489727=_0x10236a==null?void 0x0:_0x10236a[_0x160c90(0x21f)])!=null?_0x489727:cr;}[_0x5b1a3a(0x24d)](){const _0x37f744=_0x5b1a3a;throw new Error(_0x37f744(0x346));}[_0x5b1a3a(0x313)](){const _0x4a8594=_0x5b1a3a;this['_sendingTimer']!=null&&(clearTimeout(this[_0x4a8594(0x3aa)]),this[_0x4a8594(0x3aa)]=null);}[_0x5b1a3a(0x386)](_0x15ce56){const _0x332c76=_0x5b1a3a;return this[_0x332c76(0x313)](),this[_0x332c76(0x4e1)][_0x332c76(0x4a9)](Re,this[_0x332c76(0x41c)],this[_0x332c76(0x23f)],null,this[_0x332c76(0x1fb)],this['_handler'],_0x15ce56);}};pe=Le([A(0x4,_0x28839c(_0x1027b3)),A(0x5,_0x28839c(_0x137cc2)),A(0x6,_0x28839c(q)),A(0x7,_0x28839c(Ne)),A(0x8,_0x418a3e),A(0x9,_0x10ec6b),A(0xa,_0x5d6cbd),A(0xb,_0xef8dcd),A(0xc,_0x578cb),A(0xd,_0x1ffd7c)],pe);let Te=class extends $e{constructor(_0x4bf5f9,_0x2db7a1,_0x3aa3ea,_0x250770,_0x46ed7a,_0x5cda4e,_0x31f210,_0x3ad55f,_0x2127b9,_0x2f9143,_0x2e8b6e){const _0x36b564=_0x5b1a3a;super(_0x4bf5f9,_0x2db7a1,_0x3aa3ea,[],_0x250770,_0x3ad55f,_0x2e8b6e,_0x5cda4e,_0x31f210),g(this,_0x36b564(0x4e8),_0x36b564(0x55e)),g(this,'_resendTimeout',0x0),g(this,_0x36b564(0x1c3)),g(this,'_sender'),(this[_0x36b564(0x4e1)]=_0x46ed7a,this[_0x36b564(0x2b5)]=_0x2127b9,this[_0x36b564(0x427)]=_0x2f9143);}['appendMutation'](_0x52ef1f){const _0x5df48f=_0x5b1a3a;this[_0x5df48f(0x313)]();const _0x1bb637=this[_0x5df48f(0x4e1)]['createInstance'](ge,this[_0x5df48f(0x41c)],this['type'],this[_0x5df48f(0x3e8)],[_0x52ef1f],this[_0x5df48f(0x2a5)],this[_0x5df48f(0x1c3)]);return _0x1bb637[_0x5df48f(0x229)](),_0x1bb637;}[_0x5b1a3a(0x1c6)](_0x46fe8d){const _0xb8e2d5=_0x5b1a3a;if(this[_0xb8e2d5(0x34a)](_0x46fe8d))return this[_0xb8e2d5(0x313)](),this[_0xb8e2d5(0x4e1)][_0xb8e2d5(0x4a9)](he,this[_0xb8e2d5(0x41c)],this[_0xb8e2d5(0x23f)],this[_0xb8e2d5(0x3e8)],[],null,[_0x46fe8d],this['_handler']);try{const _0x21af79=this['_transformService'][_0xb8e2d5(0x52a)]([_0x46fe8d],[this[_0xb8e2d5(0x3e8)]],!0x1);if(_0x4d5d49(_0x21af79)){const {c1Prime:_0x3f82f8,c2Prime:_0x562f3a}=_0x21af79;this['_executeRemoteChangeset'](_0x3f82f8[0x0]),_0x562f3a[0x0][_0xb8e2d5(0x48d)]=this[_0xb8e2d5(0x30e)](),this[_0xb8e2d5(0x313)]();const _0x29460a=this['_injector'][_0xb8e2d5(0x4a9)](Te,this[_0xb8e2d5(0x41c)],this['type'],_0x562f3a[0x0],this[_0xb8e2d5(0x2a5)]);return _0x29460a[_0xb8e2d5(0x229)](),_0x29460a;}return this[_0xb8e2d5(0x386)](!0x1);}catch(_0xd2df76){return this[_0xb8e2d5(0x2b5)][_0xb8e2d5(0x237)](_0xd2df76),this['_onConflict'](!0x1);}}[_0x5b1a3a(0x4e7)](_0x43910d){const _0x44bb38=_0x5b1a3a;this[_0x44bb38(0x313)]();const _0xa8f578=this[_0x44bb38(0x4f2)]['getCurrentRevOfUnit'](this[_0x44bb38(0x41c)]);if(_0x43910d[_0x44bb38(0x49c)]<_0xa8f578-0x1)return this;if(this[_0x44bb38(0x34a)](_0x43910d))return this['_injector'][_0x44bb38(0x4a9)](he,this['unitID'],this[_0x44bb38(0x23f)],null,[],this[_0x44bb38(0x3e8)],[],this[_0x44bb38(0x2a5)]);this[_0x44bb38(0x1e1)]();const _0x4782e0=this[_0x44bb38(0x4e1)][_0x44bb38(0x4a9)](Fe,this[_0x44bb38(0x41c)],this[_0x44bb38(0x23f)],this['_handler']);return _0x4782e0[_0x44bb38(0x229)](),_0x4782e0;}['onRemoteRej'](_0x5bdc4c){return this['_onConflict'](!!(_0x5bdc4c!=null&&_0x5bdc4c['isPermissionRej']));}['onRemoteRetry'](_0x3d5d37){const _0xa49bd7=_0x5b1a3a;return this[_0xa49bd7(0x56b)]>Ni?this['toggleOffline']():(this['_resendTimer']=Ui(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x3d5d37[_0xa49bd7(0x486)]}),this[_0xa49bd7(0x222)]=this['_resendTimer']['subscribe'](({reqId:_0x5792d6,timeout:_0x5a2b8c})=>{const _0x27fe0d=_0xa49bd7;this[_0x27fe0d(0x3d2)](_0x5792d6,_0x5a2b8c);}),this);}[_0x5b1a3a(0x1a1)](){const _0x259c22=_0x5b1a3a;return this[_0x259c22(0x313)](),this[_0x259c22(0x4e1)]['createInstance'](ye,this[_0x259c22(0x41c)],this[_0x259c22(0x23f)],this[_0x259c22(0x3e8)],[],this[_0x259c22(0x2a5)]);}[_0x5b1a3a(0x4ab)](){return this;}['resend'](){const _0x3cb880=_0x5b1a3a;this[_0x3cb880(0x2a5)][_0x3cb880(0x481)](this['_awaitingChangeset']);}[_0x5b1a3a(0x386)](_0x18b731){const _0x48bc5a=_0x5b1a3a;return this[_0x48bc5a(0x313)](),this[_0x48bc5a(0x4e1)][_0x48bc5a(0x4a9)](Re,this[_0x48bc5a(0x41c)],this[_0x48bc5a(0x23f)],this[_0x48bc5a(0x3e8)],[],this[_0x48bc5a(0x2a5)],_0x18b731);}[_0x5b1a3a(0x3d2)](_0x3db1e1,_0x5a280f){var _0xc69fcf;_0x3db1e1===((_0xc69fcf=this['_awaitingChangeset'])==null?void 0x0:_0xc69fcf['reqId'])&&(this['resend'](),this['_resendTimeout']=_0x5a280f===0x0?0x3e8:_0x5a280f*0x2);}['_clearScheduledTask'](){const _0x189a42=_0x5b1a3a;var _0x2770a6;(_0x2770a6=this[_0x189a42(0x222)])==null||_0x2770a6[_0x189a42(0x403)](),this[_0x189a42(0x56b)]=0x0;}};Te=Le([A(0x4,_0x28839c(_0x1027b3)),A(0x5,_0x28839c(_0x137cc2)),A(0x6,_0x28839c(q)),A(0x7,_0x10ec6b),A(0x8,_0x418a3e),A(0x9,_0xef8dcd),A(0xa,_0x1ffd7c)],Te);let ge=class extends $e{constructor(_0xdc3226,_0xa9f1cf,_0x3bc274,_0x5b2b45,_0x30e13c,_0x292328,_0x1207f3,_0x4cb605,_0x5e3cd1,_0x509985,_0x38c3cf,_0x5bb19e,_0x3a3cb6){const _0xde0606=_0x5b1a3a;super(_0xdc3226,_0xa9f1cf,_0x3bc274,_0x5b2b45,_0x30e13c,_0x509985,_0x3a3cb6,_0x4cb605,_0x5e3cd1),g(this,'status',_0xde0606(0x554)),g(this,_0xde0606(0x56b),0x0),g(this,_0xde0606(0x1c3)),g(this,_0xde0606(0x222)),(this[_0xde0606(0x4e1)]=_0x1207f3,this[_0xde0606(0x2b5)]=_0x38c3cf,this['_transformService']=_0x5bb19e,_0x292328&&(this['_resendTimer']=_0x292328,this[_0xde0606(0x222)]=this[_0xde0606(0x1c3)][_0xde0606(0x570)](({reqId:_0x4f53e6,timeout:_0xf951e0})=>{const _0x5e703b=_0xde0606;this[_0x5e703b(0x3d2)](_0x4f53e6,_0xf951e0);})));}[_0x5b1a3a(0x2c9)](_0x494108){const _0x55fb44=_0x5b1a3a;return this['_pendingMutations'][_0x55fb44(0x44a)](_0x494108),this;}['onRemoteChangeset'](_0xd317b1){const _0x2a9274=_0x5b1a3a;if(this[_0x2a9274(0x34a)](_0xd317b1))return this[_0x2a9274(0x313)](),this[_0x2a9274(0x4e1)][_0x2a9274(0x4a9)](he,this[_0x2a9274(0x41c)],this[_0x2a9274(0x23f)],this[_0x2a9274(0x3e8)],this[_0x2a9274(0x1fb)],null,[_0xd317b1],this[_0x2a9274(0x2a5)]);try{const _0x15db13=this[_0x2a9274(0x427)][_0x2a9274(0x52a)]([_0xd317b1],[this['_awaitingChangeset']],!0x1);if(_0x4d5d49(_0x15db13)){const {c1Prime:_0x4c6553,c2Prime:_0x53dc78}=_0x15db13,_0x53eb84=this[_0x2a9274(0x427)][_0x2a9274(0x280)](_0x4c6553[0x0],this[_0x2a9274(0x1fb)]);if(_0x582252(_0x53eb84)){const {c1Prime:_0x20ca24,m2Prime:_0x3bbfb5}=_0x53eb84;return this[_0x2a9274(0x275)](_0x20ca24),_0x53dc78[0x0][_0x2a9274(0x48d)]=this[_0x2a9274(0x30e)](),this[_0x2a9274(0x313)](),this[_0x2a9274(0x4e1)]['createInstance'](ge,this[_0x2a9274(0x41c)],this[_0x2a9274(0x23f)],_0x53dc78[0x0],_0x3bbfb5,this[_0x2a9274(0x2a5)],void 0x0);}throw _0x53eb84[_0x2a9274(0x237)];}throw _0x15db13[_0x2a9274(0x237)];}catch(_0x446d4b){return this['_logService'][_0x2a9274(0x237)](_0x446d4b),this[_0x2a9274(0x386)](!0x1);}}[_0x5b1a3a(0x4e7)](_0x42aaf8){const _0x56cabd=_0x5b1a3a;if(this['_clearScheduledTask'](),this[_0x56cabd(0x34a)](_0x42aaf8))return this[_0x56cabd(0x4e1)]['createInstance'](he,this[_0x56cabd(0x41c)],this[_0x56cabd(0x23f)],null,this[_0x56cabd(0x1fb)],this[_0x56cabd(0x3e8)],[],this['_handler']);this[_0x56cabd(0x1e1)]();const _0x40be86=this['_injector'][_0x56cabd(0x4a9)](pe,this[_0x56cabd(0x41c)],this[_0x56cabd(0x23f)],this['_pendingMutations'],this[_0x56cabd(0x2a5)]);return _0x40be86[_0x56cabd(0x26d)](),_0x40be86[_0x56cabd(0x229)](),_0x40be86;}['onRemoteRej'](_0x422d6c){return this['_onConflict'](!!(_0x422d6c!=null&&_0x422d6c['isPermissionRej']));}[_0x5b1a3a(0x3c7)](_0x4f8ceb){const _0x3668bd=_0x5b1a3a;return this['_resendTimeout']>Ni?this[_0x3668bd(0x1a1)]():(this[_0x3668bd(0x1c3)]=Ui(this[_0x3668bd(0x56b)],{'timeout':this[_0x3668bd(0x56b)],'reqId':_0x4f8ceb[_0x3668bd(0x486)]}),this[_0x3668bd(0x222)]=this['_resendTimer'][_0x3668bd(0x570)](({reqId:_0x548304,timeout:_0x3bdfd7})=>{const _0x3ccaca=_0x3668bd;this[_0x3ccaca(0x3d2)](_0x548304,_0x3bdfd7);}),this);}[_0x5b1a3a(0x1a1)](){const _0x311378=_0x5b1a3a;return this[_0x311378(0x313)](),this['_injector'][_0x311378(0x4a9)](ye,this[_0x311378(0x41c)],this[_0x311378(0x23f)],this[_0x311378(0x3e8)],this[_0x311378(0x1fb)],this[_0x311378(0x2a5)]);}['toggleOnline'](){return this;}[_0x5b1a3a(0x24d)](){const _0x248d2b=_0x5b1a3a;this[_0x248d2b(0x2a5)][_0x248d2b(0x481)](this[_0x248d2b(0x3e8)]);}[_0x5b1a3a(0x386)](_0x20ec09){const _0x4f8577=_0x5b1a3a;return this[_0x4f8577(0x313)](),this['_injector'][_0x4f8577(0x4a9)](Re,this[_0x4f8577(0x41c)],this[_0x4f8577(0x23f)],null,this[_0x4f8577(0x1fb)],this[_0x4f8577(0x2a5)],_0x20ec09);}[_0x5b1a3a(0x3d2)](_0x32909c,_0x1487b2){const _0x310f69=_0x5b1a3a;var _0x1fbd97;_0x32909c===((_0x1fbd97=this['_awaitingChangeset'])==null?void 0x0:_0x1fbd97[_0x310f69(0x486)])&&(this[_0x310f69(0x24d)](),this[_0x310f69(0x56b)]=_0x1487b2===0x0?0x3e8:_0x1487b2*0x2);}[_0x5b1a3a(0x313)](){const _0x354438=_0x5b1a3a;var _0x1718f6;(_0x1718f6=this[_0x354438(0x222)])==null||_0x1718f6[_0x354438(0x403)](),this[_0x354438(0x56b)]=0x0;}};ge=Le([A(0x6,_0x28839c(_0x1027b3)),A(0x7,_0x28839c(_0x137cc2)),A(0x8,_0x28839c(q)),A(0x9,_0x10ec6b),A(0xa,_0x418a3e),A(0xb,_0xef8dcd),A(0xc,_0x1ffd7c)],ge);let Re=class extends $e{constructor(_0x5da672,_0xc1a8f2,_0x1168fa,_0x35e407,_0x49e130,_0x463703=!0x1,_0x72df2b,_0x5daba7,_0x2df124,_0x2242e1,_0x431442,_0x5aef64,_0x59d42e){const _0x1c7bdf=_0x5b1a3a;super(_0x5da672,_0xc1a8f2,_0x1168fa,_0x35e407,_0x49e130,_0x5daba7,_0x2df124,_0x431442,_0x2242e1),g(this,_0x1c7bdf(0x4e8),_0x1c7bdf(0x2c0)),(this['_isPermissionRej']=_0x463703,this[_0x1c7bdf(0x218)]=_0x72df2b,this['_localeService']=_0x5aef64,this[_0x1c7bdf(0x3d7)]=_0x59d42e,this[_0x1c7bdf(0x301)](),this[_0x1c7bdf(0x3e4)](),this[_0x1c7bdf(0x468)]());}[_0x5b1a3a(0x2c9)](){return this;}[_0x5b1a3a(0x1c6)](){return this;}[_0x5b1a3a(0x4e7)](){return this;}[_0x5b1a3a(0x24b)](){return this;}[_0x5b1a3a(0x3c7)](){return this;}[_0x5b1a3a(0x1a1)](){return this;}['toggleOnline'](){return this;}['resend'](){const _0x46faa3=_0x5b1a3a;throw new Error(_0x46faa3(0x38a));}[_0x5b1a3a(0x3e4)](){const _0x33be0b=_0x5b1a3a;this[_0x33be0b(0x2af)][_0x33be0b(0x2ff)](this[_0x33be0b(0x41c)],this['type'],null,[]);}[_0x5b1a3a(0x301)](){const _0x53a748=_0x5b1a3a;this['_isPermissionRej']?this[_0x53a748(0x3d7)]['show']({'title':this[_0x53a748(0x273)]['t'](_0x53a748(0x211)),'content':this[_0x53a748(0x273)]['t'](_0x53a748(0x4e4)),'type':_0x53a748(0x237),'duration':0x0}):this[_0x53a748(0x3d7)]['show']({'title':this[_0x53a748(0x273)]['t'](_0x53a748(0x464)),'content':this[_0x53a748(0x273)]['t'](_0x53a748(0x361)),'type':_0x53a748(0x237),'duration':0x0});}[_0x5b1a3a(0x468)](){const _0x31199a=_0x5b1a3a;this[_0x31199a(0x218)][_0x31199a(0x199)](new _0x192248(this[_0x31199a(0x41c)])['id'],!0x1);}};Re=Le([A(0x6,_0x28839c(_0x2da20a)),A(0x7,_0x10ec6b),A(0x8,_0x1ffd7c),A(0x9,_0x28839c(q)),A(0xa,_0x28839c(_0x137cc2)),A(0xb,_0x28839c(_0x173a06)),A(0xc,_0x46687a)],Re);let ye=class extends $e{constructor(_0x210f0b,_0x79c447,_0x1a3aeb,_0x171def,_0x32b272,_0x1854ad,_0x2b3c49,_0x1a659e,_0x1e2f6a,_0x206b28){const _0x180b3d=_0x5b1a3a;super(_0x210f0b,_0x79c447,_0x1a3aeb,_0x171def,_0x32b272,_0x1e2f6a,_0x206b28,_0x2b3c49,_0x1a659e),g(this,'status',_0x180b3d(0x328)),this['_injector']=_0x1854ad;}['appendMutation'](_0x11d8af){const _0x333b40=_0x5b1a3a;return this[_0x333b40(0x1fb)][_0x333b40(0x44a)](_0x11d8af),this[_0x333b40(0x229)](),this;}[_0x5b1a3a(0x1c6)](_0x128a48){const _0x2b1b2d=_0x5b1a3a;throw new Error(_0x2b1b2d(0x47c));}['onRemoteAck'](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x5b1a3a(0x24b)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x5b1a3a(0x3c7)](){return this;}['toggleOffline'](){return this;}[_0x5b1a3a(0x4ab)](){const _0xb10133=_0x5b1a3a,{_injector:_0x2aac04,_pendingMutations:_0x3eeb48,_awaitingChangeset:_0x169b3a,unitID:_0x2cc4ff,_handler:_0xdecc2b,type:_0x3396bf}=this,_0x3dc454=Ai(_0x2aac04,_0x2cc4ff,_0x3396bf,_0x169b3a,_0x3eeb48,_0xdecc2b);return _0x3dc454 instanceof pe?_0x3dc454[_0xb10133(0x26d)]():(_0x3dc454 instanceof ge||_0x3dc454 instanceof Te)&&_0x3dc454[_0xb10133(0x24d)](),_0x3dc454;}[_0x5b1a3a(0x24d)](){const _0x11fc4c=_0x5b1a3a;throw new Error(_0x11fc4c(0x49e));}};ye=Le([A(0x5,_0x28839c(_0x1027b3)),A(0x6,_0x28839c(_0x137cc2)),A(0x7,_0x28839c(q)),A(0x8,_0x10ec6b),A(0x9,_0x1ffd7c)],ye);let he=class extends $e{constructor(_0x65d82f,_0x33b75b,_0x255e0e,_0x28df1e,_0x3940df,_0x48e23c,_0x44d57a,_0x1ac946,_0x3531bf,_0x143eb1,_0x3147bc,_0x46634f,_0x33a949,_0x1d131a){const _0x30270d=_0x5b1a3a;super(_0x65d82f,_0x33b75b,_0x255e0e,_0x28df1e,_0x44d57a,_0x46634f,_0x33a949,_0x3531bf,_0x143eb1),g(this,'status','fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x3940df,this[_0x30270d(0x4fe)]=_0x48e23c,this['_injector']=_0x1ac946,this['_logService']=_0x3147bc,this[_0x30270d(0x427)]=_0x1d131a);}['onMissedChangesetFetched'](_0x38b24b){const _0x297dc0=_0x5b1a3a;try{const _0x5e27b5=[..._0x38b24b,...this[_0x297dc0(0x4fe)]],_0x546b4e=[this[_0x297dc0(0x3e8)]||this[_0x297dc0(0x2a4)]][_0x297dc0(0x2b0)](_0x217cf8=>!!_0x217cf8);let _0x2063a4,_0x4e7c07;if(_0x546b4e[_0x297dc0(0x29a)]){const _0x20a3da=this[_0x297dc0(0x427)][_0x297dc0(0x52a)](_0x5e27b5,_0x546b4e,!0x1);if(!_0x4d5d49(_0x20a3da))throw _0x20a3da[_0x297dc0(0x237)];_0x2063a4=_0x20a3da['c1Prime'],_0x4e7c07=_0x20a3da[_0x297dc0(0x209)];}else _0x2063a4=_0x5e27b5,_0x4e7c07=[];let _0x3f91e7=this[_0x297dc0(0x1fb)];_0x2063a4[_0x297dc0(0x2a1)](_0x38ec33=>{const _0x4992ba=_0x297dc0;let _0x30367d;if(_0x3f91e7[_0x4992ba(0x29a)]){const _0x3dea0d=this[_0x4992ba(0x427)][_0x4992ba(0x280)](_0x38ec33,_0x3f91e7);if(!_0x582252(_0x3dea0d))throw _0x3dea0d[_0x4992ba(0x237)];_0x30367d=_0x3dea0d[_0x4992ba(0x45a)],_0x3f91e7=_0x3dea0d['m2Prime'];}else _0x30367d=_0x38ec33;this[_0x4992ba(0x275)](_0x30367d);}),this[_0x297dc0(0x2a4)]&&this[_0x297dc0(0x1e1)](),this[_0x297dc0(0x3e8)]&&_0x4e7c07['length']&&(_0x4e7c07[0x0][_0x297dc0(0x48d)]=this[_0x297dc0(0x30e)]());let _0x50bf4d;if(this[_0x297dc0(0x3e8)]&&_0x3f91e7['length']!==0x0)_0x50bf4d=this[_0x297dc0(0x4e1)]['createInstance'](ge,this[_0x297dc0(0x41c)],this[_0x297dc0(0x23f)],_0x4e7c07[0x0],_0x3f91e7,this[_0x297dc0(0x2a5)],void 0x0);else{if(this[_0x297dc0(0x3e8)]&&_0x3f91e7[_0x297dc0(0x29a)]===0x0)_0x4e7c07[0x0]['baseRev']=this[_0x297dc0(0x30e)](),_0x50bf4d=this[_0x297dc0(0x4e1)][_0x297dc0(0x4a9)](Te,this[_0x297dc0(0x41c)],this[_0x297dc0(0x23f)],_0x4e7c07[0x0],this[_0x297dc0(0x2a5)]);else{if(_0x3f91e7[_0x297dc0(0x29a)]!==0x0){const _0x2454bd=this['_injector'][_0x297dc0(0x4a9)](pe,this[_0x297dc0(0x41c)],this[_0x297dc0(0x23f)],_0x3f91e7,this['_handler']);_0x2454bd[_0x297dc0(0x26d)](),_0x50bf4d=_0x2454bd;}else _0x50bf4d=this[_0x297dc0(0x4e1)][_0x297dc0(0x4a9)](Fe,this[_0x297dc0(0x41c)],this[_0x297dc0(0x23f)],this['_handler']);}}return _0x50bf4d[_0x297dc0(0x229)](),_0x50bf4d;}catch(_0x4467a8){return this[_0x297dc0(0x2b5)]['error'](_0x297dc0(0x216),_0x297dc0(0x348),_0x4467a8),this[_0x297dc0(0x4e1)][_0x297dc0(0x4a9)](Re,this['unitID'],this[_0x297dc0(0x23f)],this[_0x297dc0(0x3e8)],this[_0x297dc0(0x1fb)],this[_0x297dc0(0x2a5)],!0x1);}}[_0x5b1a3a(0x24d)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x5b1a3a(0x2c9)](_0xc445a1){const _0x470bf6=_0x5b1a3a;return this[_0x470bf6(0x1fb)][_0x470bf6(0x44a)](_0xc445a1),this;}[_0x5b1a3a(0x1c6)](_0x3a136e){const _0x497747=_0x5b1a3a;return this[_0x497747(0x4fe)]['push'](_0x3a136e),this;}['onRemoteAck'](_0x364ee9){const _0x1ca6f5=_0x5b1a3a;if(this['_awaitingChangeset'])return this['_acknowledgedAwaitingChangeset']=this[_0x1ca6f5(0x3e8)],this[_0x1ca6f5(0x3e8)]=null,this;throw new Error(_0x1ca6f5(0x28a));}[_0x5b1a3a(0x24b)](_0x43328f){const _0x32b969=_0x5b1a3a;return this['_onConflict'](!!(_0x43328f!=null&&_0x43328f[_0x32b969(0x278)]));}['onRemoteRetry'](){return this;}[_0x5b1a3a(0x1a1)](){const _0x3eb822=_0x5b1a3a;return this[_0x3eb822(0x4e1)]['createInstance'](ye,this[_0x3eb822(0x41c)],this[_0x3eb822(0x23f)],this['_awaitingChangeset'],this[_0x3eb822(0x1fb)],this[_0x3eb822(0x2a5)]);}[_0x5b1a3a(0x4ab)](){return this;}[_0x5b1a3a(0x386)](_0x3a6e4a){const _0x55ecbf=_0x5b1a3a;return this['_injector'][_0x55ecbf(0x4a9)](Re,this[_0x55ecbf(0x41c)],this[_0x55ecbf(0x23f)],this[_0x55ecbf(0x3e8)],this[_0x55ecbf(0x1fb)],this[_0x55ecbf(0x2a5)],_0x3a6e4a);}};he=Le([A(0x7,_0x28839c(_0x1027b3)),A(0x8,_0x28839c(_0x137cc2)),A(0x9,_0x28839c(q)),A(0xa,_0x418a3e),A(0xb,_0x10ec6b),A(0xc,_0x1ffd7c),A(0xd,_0xef8dcd)],he);function Ai(_0x154a5c,_0x23c213,_0x121448,_0x3459ea,_0x54e3f9,_0x30e6a1){const _0x4c4021=_0x5b1a3a;return _0x3459ea&&_0x54e3f9[_0x4c4021(0x29a)]?_0x154a5c[_0x4c4021(0x4a9)](ge,_0x23c213,_0x121448,_0x3459ea,_0x54e3f9,_0x30e6a1,void 0x0):_0x3459ea?_0x154a5c[_0x4c4021(0x4a9)](Te,_0x23c213,_0x121448,_0x3459ea,_0x30e6a1):_0x54e3f9[_0x4c4021(0x29a)]?_0x154a5c[_0x4c4021(0x4a9)](pe,_0x23c213,_0x121448,_0x54e3f9,_0x30e6a1):_0x154a5c['createInstance'](Fe,_0x23c213,_0x121448,_0x30e6a1);}var mo=Object[_0x5b1a3a(0x3dc)],po=Object['getOwnPropertyDescriptor'],Es=(_0x2a5141,_0x57e274,_0x3eac21,_0x1fac2a)=>{const _0x3f7e7b=_0x5b1a3a;for(var _0x5e0031=_0x1fac2a>0x1?void 0x0:_0x1fac2a?po(_0x57e274,_0x3eac21):_0x57e274,_0x267fd2=_0x2a5141[_0x3f7e7b(0x29a)]-0x1,_0x37ac26;_0x267fd2>=0x0;_0x267fd2--)(_0x37ac26=_0x2a5141[_0x267fd2])&&(_0x5e0031=(_0x1fac2a?_0x37ac26(_0x57e274,_0x3eac21,_0x5e0031):_0x37ac26(_0x5e0031))||_0x5e0031);return _0x1fac2a&&_0x5e0031&&mo(_0x57e274,_0x3eac21,_0x5e0031),_0x5e0031;},H=(_0x4667c0,_0xc295e)=>(_0x4f72f4,_0x983c40)=>_0xc295e(_0x4f72f4,_0x983c40,_0x4667c0);let St=class extends _0x203b2a{constructor(_0x327010,_0x3ebb06,_0x4304a5,_0x119964,_0x3cf8c3,_0x3f8185,_0x4b44d1,_0x1897f6,_0x22da9a,_0x12a16b,_0x4577ad,_0x5d5cd5,_0x36a41f){const _0x251d4d=_0x5b1a3a;super(),g(this,_0x251d4d(0x1fa),new _0x1ce182(null)),g(this,'state$',this[_0x251d4d(0x1fa)][_0x251d4d(0x319)]()),g(this,'_state'),g(this,_0x251d4d(0x4c0),!0x1),g(this,_0x251d4d(0x516),''),g(this,_0x251d4d(0x1e6),0x0),g(this,_0x251d4d(0x433),this['state$'][_0x251d4d(0x1ff)](_0x124199(_0x2e1b28=>_0x2e1b28?_0x2e1b28[_0x251d4d(0x4e8)]:J[_0x251d4d(0x405)]),_0x16cb04(0x1))),g(this,_0x251d4d(0x445),!0x1),g(this,'_remoteChangesetQueue',[]),(this[_0x251d4d(0x41c)]=_0x327010,this['session']=_0x3ebb06,this[_0x251d4d(0x303)]=_0x4304a5,this[_0x251d4d(0x4e1)]=_0x119964,this[_0x251d4d(0x2af)]=_0x3cf8c3,this[_0x251d4d(0x38d)]=_0x3f8185,this[_0x251d4d(0x273)]=_0x4b44d1,this[_0x251d4d(0x4f2)]=_0x1897f6,this[_0x251d4d(0x2b5)]=_0x22da9a,this[_0x251d4d(0x50d)]=_0x12a16b,this[_0x251d4d(0x402)]=_0x4577ad,this['_permissionService']=_0x5d5cd5,this[_0x251d4d(0x317)]=_0x36a41f);}get['state'](){const _0x5e0f61=_0x5b1a3a;return this[_0x5e0f61(0x576)];}async[_0x5b1a3a(0x1bc)](){const _0x152371=_0x5b1a3a;if(this['state'])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x152371(0x26b)]();}[_0x5b1a3a(0x47f)](){const _0x4a7f1a=_0x5b1a3a;return this[_0x4a7f1a(0x4c0)]=!0x0,_0x529295(()=>{const _0x225790=_0x4a7f1a;this[_0x225790(0x4c0)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x5b1a3a(0x440)](_0x51a4c1){const _0x8b54ac=_0x5b1a3a;this[_0x8b54ac(0x576)]=_0x51a4c1,this[_0x8b54ac(0x1fa)][_0x8b54ac(0x424)](_0x51a4c1);}async[_0x5b1a3a(0x26b)](){const _0x1aec23=_0x5b1a3a;var _0x2ddfe1;this[_0x1aec23(0x440)](await this[_0x1aec23(0x3e5)]()),this[_0x1aec23(0x317)]&&((_0x2ddfe1=this[_0x1aec23(0x317)])==null||_0x2ddfe1[_0x1aec23(0x3c2)](this[_0x1aec23(0x41c)]),this[_0x1aec23(0x4b9)](this['_singleActiveUnitService']['getUnitStatus$'](this[_0x1aec23(0x41c)])[_0x1aec23(0x570)](_0x2175b1=>{const _0x56071a=_0x1aec23;this[_0x56071a(0x2b5)][_0x56071a(0x1b6)]('[CollaborationEntity]',_0x56071a(0x2e5),_0x2175b1),_0x2175b1===Di['OTHER_CLIENTS_EDITING']?(this[_0x56071a(0x402)][_0x56071a(0x3c1)]({'content':this[_0x56071a(0x273)]['t'](_0x56071a(0x366)),'type':_0x47c858[_0x56071a(0x3f4)]}),this[_0x56071a(0x218)][_0x56071a(0x199)](new _0x192248(this[_0x56071a(0x41c)])['id'],!0x1),this[_0x56071a(0x218)][_0x56071a(0x541)](!0x1)):(this[_0x56071a(0x218)]['updatePermissionPoint'](new _0x192248(this['unitID'])['id'],!0x0),this[_0x56071a(0x218)][_0x56071a(0x541)](!0x0));})));let _0x2dcc25=!0x1;return this['disposeWithMe'](this[_0x1aec23(0x455)]['sessionStatus$']['subscribe'](_0x5c17dd=>{const _0x35807f=_0x1aec23;_0x5c17dd===ve[_0x35807f(0x3c5)]?this[_0x35807f(0x2f9)](_0x2dcc25):_0x5c17dd===ve['OFFLINE']&&(_0x2dcc25=!0x0,this['_toggleOffline']());})),this['disposeWithMe'](this[_0x1aec23(0x455)]['event$']['subscribe'](_0x49817c=>{const _0x370dc2=_0x1aec23;try{switch(_0x49817c['eventID']){case _0x2f5341[_0x370dc2(0x1be)]:{this[_0x370dc2(0x2d8)](_0xb8de49(_0x49817c[_0x370dc2(0x529)]));break;}case _0x2f5341[_0x370dc2(0x2ad)]:{this[_0x370dc2(0x21d)](_0x49817c[_0x370dc2(0x529)]);break;}case _0x2f5341[_0x370dc2(0x281)]:{this[_0x370dc2(0x28b)]();break;}case _0x2f5341[_0x370dc2(0x276)]:{this['_onRemoteRetry'](_0x49817c[_0x370dc2(0x529)]);break;}case _0x2f5341['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x370dc2(0x43c)](_0x49817c[_0x370dc2(0x529)][_0x370dc2(0x4c6)][_0x370dc2(0x208)](_0x322b4b=>_0xb8de49(_0x322b4b)));break;}case _0x2f5341[_0x370dc2(0x57d)]:this[_0x370dc2(0x28b)]({'isPermissionRej':!0x0});}}catch(_0x29ecf7){throw console[_0x370dc2(0x237)](_0x370dc2(0x1fe),_0x29ecf7),_0x29ecf7;}})),this[_0x1aec23(0x576)];}['_unlockTransition'](){const _0x3f0918=_0x5b1a3a;this[_0x3f0918(0x445)]=!0x1;}['_lockTransition'](){const _0x3a7161=_0x5b1a3a;if(this[_0x3a7161(0x445)])throw new Error(_0x3a7161(0x480));this[_0x3a7161(0x445)]=!0x0;}[_0x5b1a3a(0x1c0)](_0x4ad5fb){const _0x22f125=_0x5b1a3a;this[_0x22f125(0x184)](),this[_0x22f125(0x440)](this['_state'][_0x22f125(0x2c9)](_0x4ad5fb)),this[_0x22f125(0x34f)]();}[_0x5b1a3a(0x2d8)](_0x539038){const _0x379c9b=_0x5b1a3a;if(!(_0x539038[_0x379c9b(0x49c)]<=this['_revisionService'][_0x379c9b(0x259)](this[_0x379c9b(0x41c)]))){if(this[_0x379c9b(0x4c0)]){this['_remoteChangesetQueue'][_0x379c9b(0x44a)](_0x539038);return;}this[_0x379c9b(0x1aa)](_0x539038);}}[_0x5b1a3a(0x457)](){const _0x3ca0a8=_0x5b1a3a;this[_0x3ca0a8(0x514)][_0x3ca0a8(0x2a1)](_0x2f02d3=>this[_0x3ca0a8(0x1aa)](_0x2f02d3)),this['_remoteChangesetQueue']=[];}[_0x5b1a3a(0x1aa)](_0x1e9a42){const _0x5df064=_0x5b1a3a,_0x4e7c05=this[_0x5df064(0x38d)]['interceptor'][_0x5df064(0x41f)](this[_0x5df064(0x38d)]['interceptor'][_0x5df064(0x450)]()[_0x5df064(0x34d)])(_0x1e9a42[_0x5df064(0x260)],null)||_0x1e9a42['mutations'],_0x2cfa05={..._0x1e9a42,'mutations':_0x4e7c05};this[_0x5df064(0x184)](),this[_0x5df064(0x440)](this['_state']['onRemoteChangeset'](_0x2cfa05)),this[_0x5df064(0x34f)]();}[_0x5b1a3a(0x21d)](_0x811c66){const _0x279d8a=_0x5b1a3a;this[_0x279d8a(0x184)](),this[_0x279d8a(0x440)](this[_0x279d8a(0x576)]['onRemoteAck'](_0x811c66)),this['_unlockTransition']();}[_0x5b1a3a(0x28b)](_0x2c4319){const _0x2a1eb1=_0x5b1a3a;this[_0x2a1eb1(0x184)](),this['_updateState'](this[_0x2a1eb1(0x576)][_0x2a1eb1(0x24b)](_0x2c4319)),this[_0x2a1eb1(0x34f)]();}[_0x5b1a3a(0x23c)](_0x1af0d8){const _0xf4f516=_0x5b1a3a;this[_0xf4f516(0x184)](),this[_0xf4f516(0x440)](this[_0xf4f516(0x576)][_0xf4f516(0x3c7)](_0x1af0d8)),this[_0xf4f516(0x34f)]();}[_0x5b1a3a(0x43c)](_0x3ecbe1){const _0x2471b2=_0x5b1a3a;if(!(this[_0x2471b2(0x576)]instanceof he))throw new TypeError(_0x2471b2(0x18a));const _0x1dacbd=_0x3ecbe1['map'](_0x4074c1=>{const _0x4ccc09=_0x2471b2,_0x326f69=this[_0x4ccc09(0x38d)][_0x4ccc09(0x219)][_0x4ccc09(0x41f)](this[_0x4ccc09(0x38d)][_0x4ccc09(0x219)][_0x4ccc09(0x450)]()[_0x4ccc09(0x34d)])(_0x4074c1[_0x4ccc09(0x260)],null)||_0x4074c1[_0x4ccc09(0x260)];return{..._0x4074c1,'mutations':_0x326f69};});this['_lockTransition'](),this[_0x2471b2(0x440)](this[_0x2471b2(0x576)]['onMissedChangesetFetched'](_0x1dacbd)),this['_unlockTransition']();}[_0x5b1a3a(0x410)](){const _0x21e3e1=_0x5b1a3a;this[_0x21e3e1(0x184)](),this['_updateState'](this[_0x21e3e1(0x576)]['toggleOffline']()),this[_0x21e3e1(0x34f)]();}[_0x5b1a3a(0x2f9)](_0x4a1625=!0x1){const _0x41977e=_0x5b1a3a;this[_0x41977e(0x184)](),this['_updateState'](this['_state'][_0x41977e(0x4ab)]()),this[_0x41977e(0x34f)]();const _0x3e9e8b=this[_0x41977e(0x576)];_0x4a1625&&_0x3e9e8b instanceof Fe&&(this['_lockTransition'](),this[_0x41977e(0x440)](_0x3e9e8b[_0x41977e(0x48a)]()),this[_0x41977e(0x34f)]());}async[_0x5b1a3a(0x3e5)](){return new Promise(_0x4ca772=>{const _0x10cde1=_0xa0d1;this[_0x10cde1(0x455)][_0x10cde1(0x494)][_0x10cde1(0x1ff)](_0x4725fb(0x1))[_0x10cde1(0x570)](async _0x3a3ae8=>{const _0x535fbb=_0x10cde1;_0x4ca772(await this[_0x535fbb(0x50e)](_0x3a3ae8===ve[_0x535fbb(0x3c5)]));});});}[_0x5b1a3a(0x2a0)](){const _0x26174a=_0x5b1a3a,_0x854670=this[_0x26174a(0x41c)];return{'onStateChange':(_0x2a9862,_0x18f234)=>{const _0x1b8a47=_0x26174a;if(_0x2a9862!==this[_0x1b8a47(0x576)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x2a9862['status']+_0x1b8a47(0x349)+_0x18f234[_0x1b8a47(0x4e8)]+_0x1b8a47(0x2d5)+this['_state'][_0x1b8a47(0x4e8)]);this[_0x1b8a47(0x440)](_0x18f234);},'onSendChangeset':_0x37724a=>{const _0x13660b=_0x26174a;_0x37724a[_0x13660b(0x502)]||(_0x37724a[_0x13660b(0x502)]=this[_0x13660b(0x516)],_0x37724a[_0x13660b(0x486)]=++this[_0x13660b(0x1e6)]);const _0x3263a5={'eventID':_0x2f5341[_0x13660b(0x1bd)],'data':{'unitID':_0x37724a[_0x13660b(0x41c)],'unitType':this[_0x13660b(0x303)],'changeset':_0x37724a,'memberID':this[_0x13660b(0x455)][_0x13660b(0x3be)]()}};this['session'][_0x13660b(0x4a1)](_0x3263a5,this[_0x13660b(0x41c)]);},'onMissingChangesets':({from:_0x222b4b,to:_0x4cd989})=>{const _0x5aea24=_0x26174a;this[_0x5aea24(0x2b5)][_0x5aea24(0x1b6)]('[CollaborationEntity]',_0x5aea24(0x343)+_0x222b4b+'\x20to\x20'+_0x4cd989);const _0x24068f={'eventID':_0x2f5341[_0x5aea24(0x2a9)],'data':{'unitID':_0x854670,'unitType':this[_0x5aea24(0x303)],'from':_0x222b4b,'to':_0x4cd989}};this[_0x5aea24(0x455)]['send'](_0x24068f,this['unitID']);}};}async['_createInitialStateImpl'](_0x5ec86f){const _0x15a2c8=_0x5b1a3a;var _0x5781ca,_0x41a27f;const _0x4d7d04=await this[_0x15a2c8(0x2af)]['loadOfflineData'](this[_0x15a2c8(0x41c)]),_0x2a8082=(_0x5781ca=_0x4d7d04==null?void 0x0:_0x4d7d04[_0x15a2c8(0x260)])!=null?_0x5781ca:[],_0x2f4107=(_0x41a27f=_0x4d7d04==null?void 0x0:_0x4d7d04[_0x15a2c8(0x213)])!=null?_0x41a27f:null,_0x3de053=!!(_0x2f4107!=null&&_0x2f4107[_0x15a2c8(0x502)])&&!!(_0x2f4107!=null&&_0x2f4107[_0x15a2c8(0x486)]);this[_0x15a2c8(0x516)]=_0x3de053?_0x2f4107[_0x15a2c8(0x502)]:Gr(),this[_0x15a2c8(0x1e6)]=_0x3de053?_0x2f4107[_0x15a2c8(0x486)]:0x0;const _0x343a0d=this['unitID'];try{this[_0x15a2c8(0x45f)](_0x2f4107,_0x2a8082);}catch(_0x3d0073){this['_logService'][_0x15a2c8(0x237)](_0x3d0073);}const _0x50afa3=this[_0x15a2c8(0x2a0)]();if(_0x5ec86f){const _0x1bb434=Ai(this[_0x15a2c8(0x4e1)],_0x343a0d,this['_type'],_0x2f4107,_0x2a8082,_0x50afa3);return _0x1bb434 instanceof pe?_0x1bb434[_0x15a2c8(0x26d)]():(_0x1bb434 instanceof ge||_0x1bb434 instanceof Te)&&_0x1bb434[_0x15a2c8(0x24d)](),_0x1bb434;}return this['_injector']['createInstance'](ye,_0x343a0d,this[_0x15a2c8(0x303)],_0x2f4107,_0x2a8082,_0x50afa3);}[_0x5b1a3a(0x45f)](_0x3520c2,_0x5dbf86){const _0x443c1e=_0x5b1a3a;var _0x249e4e,_0x301418;const _0x3626df=this['_compressMutationService'][_0x443c1e(0x219)][_0x443c1e(0x41f)](this[_0x443c1e(0x38d)]['interceptor'][_0x443c1e(0x450)]()[_0x443c1e(0x34d)]);(_0x249e4e=_0x3626df((_0x3520c2==null?void 0x0:_0x3520c2[_0x443c1e(0x260)])||[],null))==null||_0x249e4e[_0x443c1e(0x2a1)](_0x73870=>this[_0x443c1e(0x50d)]['executeCommand'](_0x73870['id'],_0x73870['params'])),(_0x301418=_0x3626df(_0x5dbf86||[],null))==null||_0x301418[_0x443c1e(0x2a1)](_0x3f4b4a=>this[_0x443c1e(0x50d)][_0x443c1e(0x23a)](_0x3f4b4a['id'],_0x3f4b4a[_0x443c1e(0x2ae)]));}};St=Es([H(0x3,_0x28839c(_0x1027b3)),H(0x4,_0x28839c(q)),H(0x5,_0x28839c(_0x367fa9)),H(0x6,_0x28839c(_0x173a06)),H(0x7,_0x28839c(_0x137cc2)),H(0x8,_0x418a3e),H(0x9,_0x10ec6b),H(0xa,_0x496a91),H(0xb,_0x2da20a),H(0xc,_0x3c705a(yt))],St);let ss=class extends St{constructor(_0x438050,_0x34dd1b,_0x130bfc,_0xf0e258,_0x3aa6bb,_0x5ba86e,_0xe527d0,_0x487bd3,_0x3b8bd0,_0x32d917,_0x336535,_0x211da1,_0x1ee605,_0xbc7d0f,_0x2dc4aa,_0x47031f,_0x161187,_0x3a748e){const _0x19b6cb=_0x5b1a3a;super(_0x438050,_0x130bfc,_0x34dd1b,_0xf0e258,_0x3aa6bb,_0x5ba86e,_0xe527d0,_0x487bd3,_0xbc7d0f,_0x2dc4aa,_0x47031f,_0x161187,_0x3a748e),this['unitID']=_0x438050,this['type']=_0x34dd1b,this['_docStateChangeManagerService']=_0x3b8bd0,this[_0x19b6cb(0x367)]=_0x32d917,this[_0x19b6cb(0x39d)]=_0x336535,this['_docTransformSelectionsService']=_0x211da1,this[_0x19b6cb(0x25e)]=_0x1ee605;}['_createHandler'](){const _0x90ea5=_0x5b1a3a,_0x45c616=super[_0x90ea5(0x2a0)]();return _0x45c616[_0x90ea5(0x2f8)]=_0x31d047=>this[_0x90ea5(0x367)][_0x90ea5(0x33e)](_0x31d047),_0x45c616[_0x90ea5(0x3b4)]=_0x447db4=>this[_0x90ea5(0x39d)][_0x90ea5(0x3d8)](_0x447db4),_0x45c616[_0x90ea5(0x3d3)]=_0x6ab996=>this[_0x90ea5(0x1fc)][_0x90ea5(0x55d)](_0x6ab996),_0x45c616[_0x90ea5(0x201)]=_0x2da5a7=>this[_0x90ea5(0x25e)]['syncEditingCollabCursor'](_0x2da5a7),_0x45c616['onTransformRemoteChangesetByIMECache']=_0x1e9f5b=>this[_0x90ea5(0x367)][_0x90ea5(0x387)](_0x1e9f5b),_0x45c616['onTransformRemoteChangesetByStateCache']=_0x2cc1ca=>this[_0x90ea5(0x39d)][_0x90ea5(0x387)](_0x2cc1ca),_0x45c616;}async['_init'](){const _0x50ee73=_0x5b1a3a,_0x2fabaf=await super[_0x50ee73(0x26b)]();return this[_0x50ee73(0x1e9)]['docStateChange$']['pipe'](_0x3b6332(this[_0x50ee73(0x431)]))[_0x50ee73(0x570)](_0x5c88bb=>{const _0x5df281=_0x50ee73;if(_0x5c88bb==null)return;const {unitId:_0x5d7bc5,redoState:_0x4a926c,commandId:_0x5e108f}=_0x5c88bb;if(_0x5d7bc5!==this[_0x5df281(0x41c)])return;const _0x39e043={'id':_0x5e108f,'type':_0x4aa13b['MUTATION'],'params':{'unitId':_0x5d7bc5,'actions':_0x4a926c['actions'],'textRanges':null}};this[_0x5df281(0x1c0)](_0x39e043);}),_0x2fabaf;}};ss=Es([H(0x3,_0x28839c(_0x1027b3)),H(0x4,_0x28839c(q)),H(0x5,_0x28839c(_0x367fa9)),H(0x6,_0x28839c(_0x173a06)),H(0x7,_0x28839c(_0x137cc2)),H(0x8,_0x28839c(_0x55250f)),H(0x9,_0x28839c(vt)),H(0xa,_0x28839c(pt)),H(0xb,_0x28839c(gt)),H(0xc,_0x28839c(Cs)),H(0xd,_0x418a3e),H(0xe,_0x10ec6b),H(0xf,_0x496a91),H(0x10,_0x2da20a),H(0x11,_0x3c705a(yt))],ss);let is=class extends St{constructor(_0x2742ef,_0x4359aa,_0x59aaa4,_0x52a80f,_0x218e25,_0x1c91f8,_0x2b5b0d,_0x5edf1b,_0x570057,_0x5199e5,_0x21ba07,_0x38fd4c,_0x3d1bc6,_0x3235e5){const _0x498e85=_0x5b1a3a;super(_0x2742ef,_0x59aaa4,_0x4359aa,_0x52a80f,_0x218e25,_0x1c91f8,_0x2b5b0d,_0x5edf1b,_0x5199e5,_0x21ba07,_0x38fd4c,_0x3d1bc6,_0x3235e5),this[_0x498e85(0x41c)]=_0x2742ef,this[_0x498e85(0x23f)]=_0x4359aa,this['_sheetTransformSelectionsService']=_0x570057;}[_0x5b1a3a(0x2a0)](){const _0x5290eb=_0x5b1a3a,_0x3cb73c=super[_0x5290eb(0x2a0)]();return _0x3cb73c[_0x5290eb(0x3d3)]=_0x509499=>this[_0x5290eb(0x3ae)][_0x5290eb(0x55d)](_0x509499),_0x3cb73c;}async['_init'](){const _0x171d5f=_0x5b1a3a,_0x35b808=await super['_init']();return this[_0x171d5f(0x4b9)](this[_0x171d5f(0x50d)]['onCommandExecuted']((_0x107ef8,_0x8bcbee)=>{const _0x49e57e=_0x171d5f;if(_0x107ef8[_0x49e57e(0x23f)]!==_0x4aa13b[_0x49e57e(0x491)]||_0x8bcbee!=null&&_0x8bcbee['fromCollab']||_0x8bcbee!=null&&_0x8bcbee['onlyLocal'])return;const _0x1af95d=_0x107ef8[_0x49e57e(0x2ae)];if((_0x1af95d==null?void 0x0:_0x1af95d[_0x49e57e(0x1ad)])!==this['unitID'])return;const _0xbdbdee=_0x107ef8,_0x1e57a6=this[_0x49e57e(0x38d)][_0x49e57e(0x219)]['fetchThroughInterceptors'](this[_0x49e57e(0x38d)][_0x49e57e(0x219)]['getInterceptPoints']()[_0x49e57e(0x506)])([_0xbdbdee],null)||[_0xbdbdee];this['_onLocalMutation'](_0x1e57a6[0x0]);})),_0x35b808;}};is=Es([H(0x3,_0x28839c(_0x1027b3)),H(0x4,_0x28839c(q)),H(0x5,_0x28839c(_0x367fa9)),H(0x6,_0x28839c(_0x173a06)),H(0x7,_0x28839c(_0x137cc2)),H(0x8,_0x28839c(mt)),H(0x9,_0x418a3e),H(0xa,_0x10ec6b),H(0xb,_0x496a91),H(0xc,_0x2da20a),H(0xd,_0x3c705a(yt))],is);var go=Object[_0x5b1a3a(0x3dc)],So=Object[_0x5b1a3a(0x42f)],Io=(_0x236c73,_0x57b6ba,_0x3f0c27,_0x22df5d)=>{for(var _0x4059ea=_0x22df5d>0x1?void 0x0:_0x22df5d?So(_0x57b6ba,_0x3f0c27):_0x57b6ba,_0x370f31=_0x236c73['length']-0x1,_0x380848;_0x370f31>=0x0;_0x370f31--)(_0x380848=_0x236c73[_0x370f31])&&(_0x4059ea=(_0x22df5d?_0x380848(_0x57b6ba,_0x3f0c27,_0x4059ea):_0x380848(_0x4059ea))||_0x4059ea);return _0x22df5d&&_0x4059ea&&go(_0x57b6ba,_0x3f0c27,_0x4059ea),_0x4059ea;},Lt=(_0x427236,_0x46ce41)=>(_0x488d75,_0x559e29)=>_0x46ce41(_0x488d75,_0x559e29,_0x427236);let it=class extends _0x203b2a{constructor(_0x22c2c5,_0x5eac14,_0x342f57){const _0x162cd9=_0x5b1a3a;super(),g(this,_0x162cd9(0x22e),new Map()),g(this,_0x162cd9(0x2c1),new _0x3709f3()),(this[_0x162cd9(0x4e1)]=_0x22c2c5,this[_0x162cd9(0x224)]=_0x5eac14,this[_0x162cd9(0x212)]=_0x342f57,this['_init']());}[_0x5b1a3a(0x257)](){const _0xa6b87=_0x5b1a3a;super[_0xa6b87(0x257)](),this[_0xa6b87(0x22e)][_0xa6b87(0x2a1)](_0x4db9b4=>_0x4db9b4['dispose']()),this[_0xa6b87(0x22e)][_0xa6b87(0x4d4)]();}[_0x5b1a3a(0x2da)](_0x20fd02){const _0x126f5f=_0x5b1a3a;var _0x2aae8d;return(_0x2aae8d=this[_0x126f5f(0x22e)][_0x126f5f(0x50f)](_0x20fd02))!=null?_0x2aae8d:null;}['getCollabEntity$'](_0x196116){const _0x2023b5=_0x5b1a3a,_0x35b43a=this['getCollabEntity'](_0x196116);return _0x35b43a?_0x323ee7(_0x35b43a):this[_0x2023b5(0x2c1)][_0x2023b5(0x1ff)](_0x63bf9c(_0x131e4f=>_0x131e4f[_0x2023b5(0x41c)]===_0x196116));}[_0x5b1a3a(0x26b)](){const _0x16cce2=_0x5b1a3a;this['_univerInstanceService'][_0x16cce2(0x1b0)](_0x1bbc53[_0x16cce2(0x24e)])[_0x16cce2(0x1ff)](_0x3b6332(this['dispose$']),_0x1b61d4(0x10))[_0x16cce2(0x570)](async _0x4c1aa1=>{const _0x4d02a7=_0x16cce2,_0x5bb7cf=_0x4c1aa1['getUnitId'](),_0x131427=await this[_0x4d02a7(0x4cc)](_0x5bb7cf,ce['UNIVER_SHEET']);this[_0x4d02a7(0x22e)][_0x4d02a7(0x18b)](_0x5bb7cf,_0x131427);}),this[_0x16cce2(0x212)][_0x16cce2(0x1b0)](_0x1bbc53[_0x16cce2(0x1f2)])[_0x16cce2(0x1ff)](_0x3b6332(this['dispose$']),_0x1b61d4(0x10))['pipe'](_0x63bf9c(_0x4ae01c=>!_0x4ae01c[_0x16cce2(0x510)]()[_0x16cce2(0x1a8)]('__')))[_0x16cce2(0x570)](async _0x54303c=>{const _0x228786=_0x16cce2,_0x5f4ced=_0x54303c[_0x228786(0x510)](),_0x29f95a=await this[_0x228786(0x4cc)](_0x5f4ced,ce['UNIVER_DOC']);this[_0x228786(0x22e)]['set'](_0x5f4ced,_0x29f95a);}),_0x28a5b0(this['_univerInstanceService'][_0x16cce2(0x40b)](_0x1bbc53[_0x16cce2(0x24e)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x1bbc53[_0x16cce2(0x1f2)]))[_0x16cce2(0x1ff)](_0x3b6332(this['dispose$']))[_0x16cce2(0x570)](_0xd36f98=>{const _0x511d2c=_0x16cce2,_0x4ce3b0=_0xd36f98[_0x511d2c(0x510)](),_0x48c28d=this[_0x511d2c(0x22e)][_0x511d2c(0x50f)](_0x4ce3b0);_0x48c28d&&(_0x48c28d['dispose'](),this[_0x511d2c(0x22e)][_0x511d2c(0x3a1)](_0x4ce3b0));});}async['_startCollaboration'](_0x4facd3,_0x4e41a5){const _0x3b0d59=_0x5b1a3a,_0x44ba46=await this[_0x3b0d59(0x224)][_0x3b0d59(0x312)](_0x4facd3),_0x484ef6=this[_0x3b0d59(0x4e1)]['createInstance'](this[_0x3b0d59(0x399)](_0x4e41a5),_0x4facd3,_0x4e41a5,_0x44ba46);return await _0x484ef6[_0x3b0d59(0x1bc)](),this[_0x3b0d59(0x2c1)][_0x3b0d59(0x424)](_0x484ef6),_0x484ef6;}[_0x5b1a3a(0x399)](_0x7b137b){const _0x8733dd=_0x5b1a3a;switch(_0x7b137b){case ce['UNIVER_DOC']:return ss;case ce[_0x8733dd(0x24e)]:return is;default:throw new Error(_0x8733dd(0x24a)+_0x7b137b);}}};it=Io([Lt(0x0,_0x28839c(_0x1027b3)),Lt(0x1,_0x28839c(Ae)),Lt(0x2,_0x578cb)],it);const Gs=[_0x5b1a3a(0x2c3),_0x5b1a3a(0x2cb),'verdancy600','red300',_0x5b1a3a(0x22f),_0x5b1a3a(0x3cc)];class bs extends _0x45951d{constructor(){const _0x2a0637=_0x5b1a3a;super(...arguments),g(this,_0x2a0637(0x3f2),new Map()),g(this,_0x2a0637(0x20c),0x0);}[_0x5b1a3a(0x32b)](_0x2fd211){const _0x535c4e=_0x5b1a3a;if(this[_0x535c4e(0x3f2)][_0x535c4e(0x2fd)](_0x2fd211))return this['_assignedColors'][_0x535c4e(0x50f)](_0x2fd211);const _0x456810=Gs[this[_0x535c4e(0x20c)]];return this[_0x535c4e(0x20c)]=(this[_0x535c4e(0x20c)]+0x1)%Gs['length'],this[_0x535c4e(0x3f2)][_0x535c4e(0x18b)](_0x2fd211,_0x456810),_0x456810;}}var Co=Object['defineProperty'],Eo=Object[_0x5b1a3a(0x42f)],bo=(_0x3546fb,_0x58a4d1,_0x5e2daa,_0x27178e)=>{for(var _0xf65b7f=_0x27178e>0x1?void 0x0:_0x27178e?Eo(_0x58a4d1,_0x5e2daa):_0x58a4d1,_0xc801d=_0x3546fb['length']-0x1,_0x2453b0;_0xc801d>=0x0;_0xc801d--)(_0x2453b0=_0x3546fb[_0xc801d])&&(_0xf65b7f=(_0x27178e?_0x2453b0(_0x58a4d1,_0x5e2daa,_0xf65b7f):_0x2453b0(_0xf65b7f))||_0xf65b7f);return _0x27178e&&_0xf65b7f&&Co(_0x58a4d1,_0x5e2daa,_0xf65b7f),_0xf65b7f;},Oe=(_0x452bb7,_0x4c11b8)=>(_0x1d0c3e,_0x98c0b7)=>_0x4c11b8(_0x1d0c3e,_0x98c0b7,_0x452bb7);const To=0x12c,Ro=0x64;let ns=class extends _0x203b2a{constructor(_0x180417,_0xbdbfee,_0x464d7d,_0x4fbbfc,_0x19623f,_0x33e862,_0x28a6e1,_0x29d3bc,_0xbfe548){const _0x559b9a=_0x5b1a3a;super(),g(this,_0x559b9a(0x2d3),!0x1),g(this,_0x559b9a(0x26b),!0x1),g(this,'_cursorInfo$',new _0x1ce182(new Map())),g(this,_0x559b9a(0x3a4),this[_0x559b9a(0x48e)][_0x559b9a(0x319)]()),g(this,_0x559b9a(0x501),new _0x1ce182([])),g(this,_0x559b9a(0x4d8),this[_0x559b9a(0x501)]['pipe'](_0x4983c1(To))),g(this,_0x559b9a(0x182),_0x5ca691(_0x1f90da=>{const _0x4d489a=_0x559b9a,_0x35be36={'eventID':_0x2f5341[_0x4d489a(0x4ec)],'data':{'unitID':this[_0x4d489a(0x41c)],'memberID':this[_0x4d489a(0x4bf)][_0x4d489a(0x3be)](),'selection':Pi(_0x1f90da)}};this[_0x4d489a(0x4bf)]['send'](_0x35be36,this['unitID']);},Ro)),(this[_0x559b9a(0x41c)]=_0x180417,this['_session']=_0xbdbfee,this[_0x559b9a(0x4e1)]=_0x464d7d,this[_0x559b9a(0x49a)]=_0x4fbbfc,this[_0x559b9a(0x579)]=_0x19623f,this[_0x559b9a(0x34c)]=_0x33e862,this[_0x559b9a(0x427)]=_0x28a6e1,this[_0x559b9a(0x212)]=_0x29d3bc,this[_0x559b9a(0x50d)]=_0xbfe548);}get[_0x5b1a3a(0x428)](){const _0x5d37cd=_0x5b1a3a;return this[_0x5d37cd(0x48e)]['getValue']();}get[_0x5b1a3a(0x287)](){const _0x4811e5=_0x5b1a3a;return this[_0x4811e5(0x501)][_0x4811e5(0x45b)]();}[_0x5b1a3a(0x257)](){const _0x5796f6=_0x5b1a3a;super[_0x5796f6(0x257)](),this['_cursorInfo$'][_0x5796f6(0x424)](new Map()),this[_0x5796f6(0x48e)][_0x5796f6(0x496)](),this[_0x5796f6(0x501)][_0x5796f6(0x424)]([]),this[_0x5796f6(0x501)][_0x5796f6(0x496)]();}['init'](){const _0x4f6bf9=_0x5b1a3a;this[_0x4f6bf9(0x26b)]||(this[_0x4f6bf9(0x26b)]=!0x0,this[_0x4f6bf9(0x4bf)][_0x4f6bf9(0x494)][_0x4f6bf9(0x1ff)](_0x3b6332(this[_0x4f6bf9(0x431)]))[_0x4f6bf9(0x570)](_0x22e8c9=>{const _0x4c7889=_0x4f6bf9;_0x22e8c9===ve[_0x4c7889(0x3c5)]?this[_0x4c7889(0x2f9)]():this[_0x4c7889(0x410)]();}),this[_0x4f6bf9(0x4bf)]['event$']['pipe'](_0x3b6332(this[_0x4f6bf9(0x431)]))[_0x4f6bf9(0x570)](_0x14d813=>{const _0x587da1=_0x4f6bf9,_0x1a71b8=_0x14d813['eventID'];_0x1a71b8===_0x2f5341['UPDATE_CURSOR']&&this[_0x587da1(0x3da)](_0x14d813),_0x1a71b8===_0x2f5341[_0x587da1(0x2e0)]&&this[_0x587da1(0x4df)](_0x14d813);}),this['disposeWithMe'](this[_0x4f6bf9(0x50d)][_0x4f6bf9(0x2ca)](_0x15d27c=>{const _0x31fced=_0x4f6bf9,_0x1f2366=_0x15d27c[_0x31fced(0x2ae)];_0x1f2366!=null&&this[_0x31fced(0x2d3)]&&_0x15d27c['id']===_0x3e4470['id']&&_0x1f2366[_0x31fced(0x1ad)]===this[_0x31fced(0x41c)]&&_0x1f2366[_0x31fced(0x505)]===!0x1&&_0x1f2366[_0x31fced(0x57b)][_0x31fced(0x29a)]>0x0&&this[_0x31fced(0x182)](_0x1f2366['ranges']);})),this[_0x4f6bf9(0x34c)][_0x4f6bf9(0x220)][_0x4f6bf9(0x1ff)](_0x3b6332(this['dispose$']))['subscribe'](_0x5cb168=>{const _0x38ffd5=_0x4f6bf9;if((_0x5cb168==null?void 0x0:_0x5cb168[_0x38ffd5(0x41c)])!==this['unitID'])return;const _0x2b83ae={'eventID':_0x2f5341[_0x38ffd5(0x4ec)],'data':_0x5cb168};this[_0x38ffd5(0x3da)](_0x2b83ae);}),this[_0x4f6bf9(0x4b9)](this['_commandService'][_0x4f6bf9(0x2ca)](_0x450403=>{const _0xf3825a=_0x4f6bf9;if(_0x450403[_0xf3825a(0x2ae)]==null)return;const _0x1e3ea4=_0x450403[_0xf3825a(0x2ae)];if(_0x450403['id']!==_0x3ba450['id']||_0x1e3ea4[_0xf3825a(0x1ad)]!==this[_0xf3825a(0x41c)])return;const _0x3c001c={'id':_0xf3825a(0x298),'params':_0x1e3ea4},_0x16e50f=this[_0xf3825a(0x428)];for(const [_0x225e75,_0x4c8a67]of _0x16e50f){const _0x572098={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0xf3825a(0x41c)],'actions':null,'textRanges':_0x4c8a67['ranges']}},_0x551497=this[_0xf3825a(0x427)]['transformMutation'](_0x3c001c,_0x572098,!0x1);if(_0x321ec1(_0x551497))throw _0x551497[_0xf3825a(0x237)];_0x16e50f[_0xf3825a(0x18b)](_0x225e75,{..._0x4c8a67,'ranges':_0x551497[_0xf3825a(0x4c8)][_0xf3825a(0x2ae)][_0xf3825a(0x3cd)]});}queueMicrotask(()=>{const _0x590fc0=_0xf3825a;this[_0x590fc0(0x48e)][_0x590fc0(0x424)](_0x16e50f);});})));}[_0x5b1a3a(0x3da)](_0xff10ff){const _0x3801ab=_0x5b1a3a;var _0x28dc28,_0x40f085;const {memberID:_0x2ee672,selection:_0x133e5f}=_0xff10ff[_0x3801ab(0x529)],_0x3c77ac=oo(_0x133e5f),_0xc08227=(_0x40f085=(_0x28dc28=this[_0x3801ab(0x579)][_0x3801ab(0x1d9)](this['unitID'],_0x2ee672))==null?void 0x0:_0x28dc28[_0x3801ab(0x1ca)])!=null?_0x40f085:_0x3801ab(0x460),_0x115d2d={'color':this['_colorAssignService'][_0x3801ab(0x32b)](_0x2ee672),'name':_0xc08227,'ranges':_0x3c77ac},_0x359a10=this[_0x3801ab(0x428)];_0x359a10[_0x3801ab(0x18b)](_0x2ee672,_0x115d2d),this[_0x3801ab(0x48e)][_0x3801ab(0x424)](_0x359a10);}[_0x5b1a3a(0x4df)](_0x1321d6){const _0x5d6a0b=_0x5b1a3a,{memberID:_0xa0deaa}=_0x1321d6[_0x5d6a0b(0x529)],_0x289d04=this[_0x5d6a0b(0x428)];_0x289d04['delete'](_0xa0deaa),this['_cursorInfo$'][_0x5d6a0b(0x424)](_0x289d04);}[_0x5b1a3a(0x2f9)](){const _0x2d5919=_0x5b1a3a;var _0x16fb24;if(this[_0x2d5919(0x2d3)]=!0x0,((_0x16fb24=this[_0x2d5919(0x212)][_0x2d5919(0x555)]())==null?void 0x0:_0x16fb24[_0x2d5919(0x510)]())!==this[_0x2d5919(0x41c)])return;const _0x21ed4b=this['_injector']['get'](_0x5b11b1)[_0x2d5919(0x1b9)]();Array[_0x2d5919(0x25c)](_0x21ed4b)&&_0x21ed4b[_0x2d5919(0x29a)]>0x0&&this[_0x2d5919(0x182)](_0x21ed4b);}['_toggleOffline'](){const _0x3fb0ee=_0x5b1a3a;this[_0x3fb0ee(0x2d3)]=!0x1;}};ns=bo([Oe(0x2,_0x28839c(_0x1027b3)),Oe(0x3,_0x28839c(bs)),Oe(0x4,_0x28839c(Ne)),Oe(0x5,_0x28839c(Cs)),Oe(0x6,_0xef8dcd),Oe(0x7,_0x578cb),Oe(0x8,_0x10ec6b)],ns);var yo=Object[_0x5b1a3a(0x3dc)],Oo=Object['getOwnPropertyDescriptor'],wo=(_0x6cb128,_0x21ae0a,_0x492b3a,_0x2b1480)=>{for(var _0x3675cd=_0x2b1480>0x1?void 0x0:_0x2b1480?Oo(_0x21ae0a,_0x492b3a):_0x21ae0a,_0x4d36d8=_0x6cb128['length']-0x1,_0x95126;_0x4d36d8>=0x0;_0x4d36d8--)(_0x95126=_0x6cb128[_0x4d36d8])&&(_0x3675cd=(_0x2b1480?_0x95126(_0x21ae0a,_0x492b3a,_0x3675cd):_0x95126(_0x3675cd))||_0x3675cd);return _0x2b1480&&_0x3675cd&&yo(_0x21ae0a,_0x492b3a,_0x3675cd),_0x3675cd;},Be=(_0x2d1c49,_0x29f352)=>(_0x3f180f,_0x1c725f)=>_0x29f352(_0x3f180f,_0x1c725f,_0x2d1c49);const Do=0x12c,Po=0x64,Uo=()=>{let _0x2cb291=[],_0x5eb18b=!0x1;return _0x192faf=>{const _0x56ec13=_0xa0d1;_0x2cb291[_0x56ec13(0x44a)](_0x192faf),_0x5eb18b||(_0x5eb18b=!0x0,setTimeout(()=>{const _0x336464=_0x56ec13;_0x2cb291[_0x336464(0x2a1)](_0x4e7ae1=>_0x4e7ae1()),_0x2cb291=[],_0x5eb18b=!0x1;}));};};let rs=class extends _0x203b2a{constructor(_0x2aeece,_0x3a4306,_0x566940,_0xe9ba0f,_0xae1677,_0x28503c,_0x1e5bb9,_0x6eec9a){const _0x797d73=_0x5b1a3a;super(),g(this,_0x797d73(0x2d3),!0x1),g(this,'_init',!0x1),g(this,_0x797d73(0x48e),new _0x1ce182(new Map())),g(this,_0x797d73(0x3a4),this['_cursorInfo$'][_0x797d73(0x319)]()),g(this,_0x797d73(0x501),new _0x1ce182([])),g(this,_0x797d73(0x4d8),this['_roomMembers$'][_0x797d73(0x1ff)](_0x4983c1(Do))),g(this,_0x797d73(0x182),_0x5ca691((_0x623279,_0x1385fd)=>{const _0x18fb04=_0x797d73,_0x5e5ad5={'eventID':_0x2f5341[_0x18fb04(0x4ec)],'data':{'unitID':this[_0x18fb04(0x41c)],'memberID':this[_0x18fb04(0x4bf)][_0x18fb04(0x3be)](),'selection':_0x82dca8(_0x623279,_0x1385fd[_0x18fb04(0x3f8)])}};this['_session']['send'](_0x5e5ad5,this[_0x18fb04(0x41c)]);},Po)),(this[_0x797d73(0x41c)]=_0x2aeece,this['_session']=_0x3a4306,this[_0x797d73(0x4e1)]=_0x566940,this[_0x797d73(0x49a)]=_0xe9ba0f,this['_memberService']=_0xae1677,this[_0x797d73(0x212)]=_0x28503c,this[_0x797d73(0x50d)]=_0x1e5bb9,this['_refRangeService']=_0x6eec9a);}get[_0x5b1a3a(0x428)](){return this['_cursorInfo$']['getValue']();}get['roomMembers'](){const _0x46013d=_0x5b1a3a;return this[_0x46013d(0x501)][_0x46013d(0x45b)]();}[_0x5b1a3a(0x257)](){const _0x11223b=_0x5b1a3a;super[_0x11223b(0x257)](),this[_0x11223b(0x48e)][_0x11223b(0x424)](new Map()),this[_0x11223b(0x48e)][_0x11223b(0x496)](),this['_roomMembers$'][_0x11223b(0x424)]([]),this[_0x11223b(0x501)][_0x11223b(0x496)]();}[_0x5b1a3a(0x1bc)](){const _0x5204f2=_0x5b1a3a;this[_0x5204f2(0x26b)]||(this[_0x5204f2(0x26b)]=!0x0,this['_session'][_0x5204f2(0x494)]['pipe'](_0x3b6332(this['dispose$']))[_0x5204f2(0x570)](_0x1d2c5f=>{const _0x53144a=_0x5204f2;_0x1d2c5f===ve[_0x53144a(0x3c5)]?this[_0x53144a(0x2f9)]():this[_0x53144a(0x410)]();}),this['_session'][_0x5204f2(0x425)][_0x5204f2(0x1ff)](_0x3b6332(this[_0x5204f2(0x431)]))[_0x5204f2(0x570)](_0x9db4f5=>{const _0x98ae03=_0x5204f2,_0x5cd663=_0x9db4f5[_0x98ae03(0x3b5)];_0x5cd663===_0x2f5341[_0x98ae03(0x4ec)]&&this['_onCursorUpdate'](_0x9db4f5),_0x5cd663===_0x2f5341['USERS_LEAVE']&&this['_onCursorDelete'](_0x9db4f5);}),this[_0x5204f2(0x1ae)](),this['disposeWithMe'](this[_0x5204f2(0x50d)][_0x5204f2(0x2ca)](_0x23bd3d=>{const _0x4c2775=_0x5204f2;if(this[_0x4c2775(0x2d3)]&&_0x23bd3d['id']===_0x3b3cfe['id']&&_0x23bd3d[_0x4c2775(0x2ae)][_0x4c2775(0x1ad)]===this[_0x4c2775(0x41c)]){const _0x5287e9=_0x23bd3d[_0x4c2775(0x2ae)];this['_updateLocalCursor'](_0x5287e9[_0x4c2775(0x415)],_0x5287e9['selections'][0x0]);}})));}['_onCursorUpdate'](_0x454042){const _0x525acf=_0x5b1a3a;var _0x1ac230,_0x3f6ed6;const {memberID:_0x5dbd7f,selection:_0x344cd4}=_0x454042[_0x525acf(0x529)],{sheetName:_0x5a0b76,range:_0x462d8e}=_0x42d12b(_0x344cd4),_0x22f917={'name':(_0x3f6ed6=(_0x1ac230=this[_0x525acf(0x579)][_0x525acf(0x1d9)](this[_0x525acf(0x41c)],_0x5dbd7f))==null?void 0x0:_0x1ac230['name'])!=null?_0x3f6ed6:'Unknown\x20user','range':this[_0x525acf(0x3ab)](_0x5a0b76,_0x462d8e),'sheetID':_0x5a0b76,'color':this[_0x525acf(0x49a)][_0x525acf(0x32b)](_0x5dbd7f),'selection':_0x344cd4},_0x450ce3=this[_0x525acf(0x428)];_0x450ce3[_0x525acf(0x18b)](_0x5dbd7f,_0x22f917),this[_0x525acf(0x48e)][_0x525acf(0x424)](_0x450ce3);}[_0x5b1a3a(0x4df)](_0x260c0c){const _0x48a3ef=_0x5b1a3a,{memberID:_0x5155c2}=_0x260c0c['data'],_0x2f1d29=this['cursorInfo'];_0x2f1d29[_0x48a3ef(0x3a1)](_0x5155c2),this['_cursorInfo$'][_0x48a3ef(0x424)](_0x2f1d29);}['_getMergeRange'](_0x38007e,_0x4062cd){const _0x1662b7=_0x5b1a3a;var _0x3bc675,_0x11bf3e;const _0x59f75a=(_0x11bf3e=(_0x3bc675=this[_0x1662b7(0x212)][_0x1662b7(0x3ef)](this['unitID']))==null?void 0x0:_0x3bc675[_0x1662b7(0x4cd)](_0x38007e))==null?void 0x0:_0x11bf3e[_0x1662b7(0x2ec)]();return(_0x59f75a==null?void 0x0:_0x59f75a[_0x1662b7(0x508)](_0x10d764=>_0x118546[_0x1662b7(0x534)](_0x10d764,_0x4062cd)))||_0x4062cd;}[_0x5b1a3a(0x1ae)](){const _0x31c69b=_0x5b1a3a,_0x381f0a=new _0x322cfa(),_0x35c1b3=Uo(),_0x17d9de=()=>{const _0x355cda=_0xa0d1;_0x381f0a[_0x355cda(0x257)]();const _0x17d40a=(_0x16d570,_0x569fa3,_0x5a4261,_0x2d57ec)=>{const _0x17f6d3=_0x355cda;let _0x2db582=[];switch(_0x16d570['id']){case _0x2414f2[_0x17f6d3(0x2ee)]:{_0x2db582=_0x5da107(_0x16d570,_0x2d57ec);break;}case _0x2414f2[_0x17f6d3(0x322)]:{_0x2db582=_0x2658a8(_0x16d570,_0x2d57ec);break;}case _0x2414f2[_0x17f6d3(0x371)]:{_0x2db582=_0x15a177(_0x16d570,_0x2d57ec);break;}case _0x2414f2[_0x17f6d3(0x37d)]:{_0x2db582=_0x333208(_0x16d570,_0x2d57ec);break;}case _0x2414f2[_0x17f6d3(0x4e5)]:{_0x2db582=_0x299092(_0x16d570,_0x2d57ec);break;}case _0x2414f2[_0x17f6d3(0x512)]:{_0x2db582=_0x2cd466(_0x16d570,_0x2d57ec);break;}case _0x2414f2[_0x17f6d3(0x194)]:{_0x2db582=_0x41aa69(_0x16d570,_0x2d57ec);break;}case _0x2414f2[_0x17f6d3(0x47b)]:{_0x2db582=_0x2389b8(_0x16d570,_0x2d57ec);break;}case _0x2414f2[_0x17f6d3(0x33a)]:{_0x2db582=_0xd7d8ab(_0x16d570,_0x2d57ec);break;}}const _0x5c0039=_0x388cb8(_0x2db582,_0x2d57ec),_0x45d619=this[_0x17f6d3(0x428)][_0x17f6d3(0x50f)](_0x569fa3);if(_0x45d619&&_0x5c0039){const _0x1ba287={..._0x45d619,'range':_0x5c0039};this[_0x17f6d3(0x428)]['set'](_0x569fa3,_0x1ba287),_0x35c1b3(()=>{const _0x1929f9=_0x17f6d3,_0x597cb2=this[_0x1929f9(0x51e)][_0x1929f9(0x458)](_0x5c0039,_0x37ed79=>(_0x597cb2[_0x1929f9(0x257)](),_0x17d40a(_0x37ed79,_0x569fa3,_0x5a4261,_0x5c0039)));_0x381f0a[_0x1929f9(0x49f)](_0x597cb2);});}return{'redos':[],'undos':[]};};this[_0x355cda(0x428)][_0x355cda(0x2a1)]((_0x2aa3d5,_0x547a25)=>{const _0x497e68=_0x355cda,{range:_0x35f2cf,sheetID:_0x23d59d}=_0x2aa3d5,_0x1fa29e=this[_0x497e68(0x51e)][_0x497e68(0x458)](_0x35f2cf,_0x197c2a=>(_0x1fa29e[_0x497e68(0x257)](),_0x17d40a(_0x197c2a,_0x547a25,_0x23d59d,_0x35f2cf)));_0x381f0a[_0x497e68(0x49f)](_0x1fa29e);});};this[_0x31c69b(0x4b9)](_0x529295(this['_cursorInfo$'][_0x31c69b(0x570)](()=>{_0x17d9de();})));}[_0x5b1a3a(0x2f9)](){const _0x22aed2=_0x5b1a3a;var _0x555805,_0xfdfa92;if(this['_online']=!0x0,((_0x555805=this[_0x22aed2(0x212)]['getFocusedUnit']())==null?void 0x0:_0x555805[_0x22aed2(0x510)]())!==this['unitID'])return;const _0x27376a=(_0xfdfa92=this[_0x22aed2(0x4e1)][_0x22aed2(0x50f)](_0x424a0f)['getCurrentSelections']())==null?void 0x0:_0xfdfa92[0x0],_0x2e2f3c=this[_0x22aed2(0x212)][_0x22aed2(0x553)](_0x1bbc53['UNIVER_SHEET'])[_0x22aed2(0x3df)]();_0x27376a&&_0x2e2f3c&&this['_updateLocalCursor'](_0x2e2f3c['getSheetId'](),_0x27376a);}[_0x5b1a3a(0x410)](){const _0x5506b0=_0x5b1a3a;this[_0x5506b0(0x2d3)]=!0x1;}};rs=wo([Be(0x2,_0x28839c(_0x1027b3)),Be(0x3,_0x28839c(bs)),Be(0x4,_0x28839c(Ne)),Be(0x5,_0x578cb),Be(0x6,_0x10ec6b),Be(0x7,_0x28839c(_0x275627))],rs);var No=Object[_0x5b1a3a(0x3dc)],Ao=Object[_0x5b1a3a(0x42f)],Mo=(_0x23800a,_0x2df7dd,_0x2b82ee,_0x8fd16a)=>{const _0x4d0287=_0x5b1a3a;for(var _0x326564=_0x8fd16a>0x1?void 0x0:_0x8fd16a?Ao(_0x2df7dd,_0x2b82ee):_0x2df7dd,_0x4e660c=_0x23800a[_0x4d0287(0x29a)]-0x1,_0x4aabbd;_0x4e660c>=0x0;_0x4e660c--)(_0x4aabbd=_0x23800a[_0x4e660c])&&(_0x326564=(_0x8fd16a?_0x4aabbd(_0x2df7dd,_0x2b82ee,_0x326564):_0x4aabbd(_0x326564))||_0x326564);return _0x8fd16a&&_0x326564&&No(_0x2df7dd,_0x2b82ee,_0x326564),_0x326564;},$t=(_0x56719c,_0x168f47)=>(_0x4b3c0a,_0x1aadd4)=>_0x168f47(_0x4b3c0a,_0x1aadd4,_0x56719c);let Ve=class extends _0x203b2a{constructor(_0x286067,_0x29eb9b,_0x3080f8){const _0x9c0fff=_0x5b1a3a;super(),g(this,_0x9c0fff(0x22e),new Map()),g(this,_0x9c0fff(0x2c1),new _0x3709f3()),(this[_0x9c0fff(0x212)]=_0x286067,this[_0x9c0fff(0x4e1)]=_0x29eb9b,this['_collabSessionService']=_0x3080f8,this['_init']());}['dispose'](){const _0x4bd14c=_0x5b1a3a;super[_0x4bd14c(0x257)](),this[_0x4bd14c(0x2c1)][_0x4bd14c(0x496)](),this[_0x4bd14c(0x22e)][_0x4bd14c(0x2a1)](_0x376a02=>_0x376a02[_0x4bd14c(0x257)]());}[_0x5b1a3a(0x3a2)](_0x458d9e){const _0x5dc4a8=_0x5b1a3a;return this[_0x5dc4a8(0x22e)][_0x5dc4a8(0x2fd)](_0x458d9e)?this[_0x5dc4a8(0x22e)][_0x5dc4a8(0x50f)](_0x458d9e)['cursorInfo$']:this[_0x5dc4a8(0x2c1)]['pipe'](_0x3b94f0(_0x131f4d=>_0x131f4d[_0x5dc4a8(0x41c)]===_0x458d9e),_0x3a75f3(_0x459bc0=>_0x459bc0[_0x5dc4a8(0x3a4)]));}[_0x5b1a3a(0x26b)](){const _0xec74c0=_0x5b1a3a;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x1bbc53['UNIVER_SHEET'])['pipe'](_0x3b6332(this[_0xec74c0(0x431)]))[_0xec74c0(0x570)](async _0x2bb4a4=>{const _0x3e3983=_0xec74c0,_0x5c9caa=_0x2bb4a4['getUnitId'](),_0x1d44cc=await this['_startSheetCollabCursor'](_0x5c9caa);this[_0x3e3983(0x2c1)][_0x3e3983(0x424)](_0x1d44cc),this[_0x3e3983(0x22e)][_0x3e3983(0x18b)](_0x5c9caa,_0x1d44cc);}),this[_0xec74c0(0x212)][_0xec74c0(0x1b0)](_0x1bbc53['UNIVER_DOC'])['pipe'](_0x3b6332(this[_0xec74c0(0x431)]))[_0xec74c0(0x1ff)](_0x3b94f0(_0x3bceb4=>!_0x3bceb4[_0xec74c0(0x510)]()[_0xec74c0(0x1a8)]('__')))[_0xec74c0(0x570)](async _0x7b4860=>{const _0x4da7b1=_0xec74c0,_0x75a8cd=_0x7b4860[_0x4da7b1(0x510)](),_0x14037d=await this['_startDocCollabCursor'](_0x75a8cd);this['_entityInit$']['next'](_0x14037d),this[_0x4da7b1(0x22e)][_0x4da7b1(0x18b)](_0x75a8cd,_0x14037d);}),_0x28a5b0(this['_univerInstanceService'][_0xec74c0(0x40b)](_0x1bbc53[_0xec74c0(0x1f2)]),this['_univerInstanceService'][_0xec74c0(0x40b)](_0x1bbc53[_0xec74c0(0x24e)]))[_0xec74c0(0x1ff)](_0x3b6332(this['dispose$']))[_0xec74c0(0x570)](_0x45448a=>{const _0xd4cd3=_0xec74c0,_0x464c7c=_0x45448a[_0xd4cd3(0x510)](),_0x297495=this[_0xd4cd3(0x22e)][_0xd4cd3(0x50f)](_0x464c7c);_0x297495&&(_0x297495[_0xd4cd3(0x257)](),this[_0xd4cd3(0x22e)][_0xd4cd3(0x3a1)](_0x464c7c));});}async[_0x5b1a3a(0x3fb)](_0x1ce826){const _0x51fc40=_0x5b1a3a,_0x60d3e9=await this[_0x51fc40(0x224)][_0x51fc40(0x312)](_0x1ce826),_0x3e82e0=this[_0x51fc40(0x4e1)][_0x51fc40(0x4a9)](rs,_0x1ce826,_0x60d3e9);return _0x3e82e0['init'](),_0x3e82e0;}async[_0x5b1a3a(0x1b2)](_0x40332b){const _0x10fa59=_0x5b1a3a,_0xa0f9ed=await this[_0x10fa59(0x224)][_0x10fa59(0x312)](_0x40332b),_0x3fdfe4=this['_injector']['createInstance'](ns,_0x40332b,_0xa0f9ed);return _0x3fdfe4[_0x10fa59(0x1bc)](),_0x3fdfe4;}};Ve=Mo([$t(0x0,_0x578cb),$t(0x1,_0x28839c(_0x1027b3)),$t(0x2,_0x28839c(Ae))],Ve);const nt=0x14,Ys=0xc8,Ht=0x4,xo=0x5;function Lo(_0x4ea424,_0x6f8d89){const _0x14394a=_0x5b1a3a;let {radius:_0x14662a,width:_0x61a6f3,height:_0x583e00}=_0x6f8d89;_0x14662a=_0x14662a!=null?_0x14662a:0x0,_0x61a6f3=_0x61a6f3!=null?_0x61a6f3:0x1e,_0x583e00=_0x583e00!=null?_0x583e00:0x1e;let _0x11fae8=0x0,_0x3eb37f=0x0,_0x2996b6=0x0;_0x11fae8=_0x3eb37f=_0x2996b6=Math[_0x14394a(0x4ae)](_0x14662a,_0x61a6f3/0x2,_0x583e00/0x2),_0x4ea424[_0x14394a(0x46d)](),_0x4ea424[_0x14394a(0x4b3)](_0x11fae8,0x0),_0x4ea424[_0x14394a(0x296)](_0x61a6f3-_0x3eb37f,0x0),_0x4ea424['arc'](_0x61a6f3-_0x3eb37f,_0x3eb37f,_0x3eb37f,Math['PI']*0x3/0x2,0x0,!0x1),_0x4ea424[_0x14394a(0x296)](_0x61a6f3,_0x583e00-_0x2996b6),_0x4ea424[_0x14394a(0x1de)](_0x61a6f3-_0x2996b6,_0x583e00-_0x2996b6,_0x2996b6,0x0,Math['PI']/0x2,!0x1),_0x4ea424[_0x14394a(0x296)](0x0,_0x583e00),_0x4ea424[_0x14394a(0x296)](0x0,_0x11fae8),_0x4ea424[_0x14394a(0x1de)](_0x11fae8,_0x11fae8,_0x11fae8,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4ea424[_0x14394a(0x4b0)](),_0x6f8d89[_0x14394a(0x3a7)]&&(_0x4ea424[_0x14394a(0x269)](),_0x4ea424['fillStyle']=_0x6f8d89[_0x14394a(0x3a7)],_0x6f8d89[_0x14394a(0x52b)]==='evenodd'?_0x4ea424[_0x14394a(0x3a7)](_0x14394a(0x32f)):_0x4ea424[_0x14394a(0x3a7)](),_0x4ea424['restore']());}class Ot extends _0x1bb0ee{constructor(_0x4791f8,_0x5969fc){const _0x111434=_0x5b1a3a;super(_0x4791f8,_0x5969fc),g(this,_0x111434(0x2d0)),g(this,_0x111434(0x2aa)),(this['color']=_0x5969fc==null?void 0x0:_0x5969fc[_0x111434(0x2d0)],this[_0x111434(0x2aa)]=_0x5969fc==null?void 0x0:_0x5969fc['text']);}static[_0x5b1a3a(0x31e)](_0x220002,_0x3cba18){const _0x384417=_0x5b1a3a,{text:_0x4e4aef,color:_0x5f280b}=_0x3cba18;_0x220002[_0x384417(0x269)](),_0x220002[_0x384417(0x283)]=_0x384417(0x547);const _0x593781=_0x220002[_0x384417(0x2a7)](_0x4e4aef)[_0x384417(0x580)],_0x5ad67e=Math[_0x384417(0x4ae)](_0x593781+0x2*Ht,Ys);Lo(_0x220002,{'height':nt,'radius':0x4,'width':_0x5ad67e,'fill':_0x5f280b,'evented':!0x1}),_0x220002[_0x384417(0x1ec)]=_0x384417(0x565);const _0x58d75d=Ht,_0x426b66=nt-xo,_0x3204ac=Ys-0x2*Ht;if(_0x593781>_0x3204ac){let _0x1505ea='',_0x30661c=0x0;for(const _0x12590d of _0x4e4aef){const _0x5869e5=_0x220002[_0x384417(0x2a7)](_0x12590d)[_0x384417(0x580)];if(_0x30661c+_0x5869e5<=_0x3204ac-_0x220002[_0x384417(0x2a7)](_0x384417(0x2d6))[_0x384417(0x580)])_0x1505ea+=_0x12590d,_0x30661c+=_0x5869e5;else{_0x1505ea+='...';break;}}_0x220002[_0x384417(0x396)](_0x1505ea,_0x58d75d,_0x426b66);}else _0x220002[_0x384417(0x396)](_0x4e4aef,_0x58d75d,_0x426b66);_0x220002[_0x384417(0x53a)]();}['_draw'](_0x5949af){const _0xeaea96=_0x5b1a3a;Ot[_0xeaea96(0x31e)](_0x5949af,this);}}const jt=_0x5b1a3a(0x488),$o=_0x5b1a3a(0x1a6),Ho=_0x5b1a3a(0x39e),Je=0x6,jo=1.5,Bt=0x4,Bo=1.5,ko=_0x5b1a3a(0x248);class Ks{constructor(_0x3684e2,_0x5658b7,_0x252630,_0x571bca){const _0x711620=_0x5b1a3a;g(this,_0x711620(0x230),[]),g(this,_0x711620(0x314),null),g(this,_0x711620(0x31c),null),g(this,_0x711620(0x215),null),g(this,_0x711620(0x28f),null),g(this,_0x711620(0x44f),null),(this['_cursor']=_0x3684e2,this[_0x711620(0x246)]=_0x5658b7,this[_0x711620(0x511)]=_0x252630,this[_0x711620(0x1a9)]=_0x571bca,this[_0x711620(0x306)]());}set[_0x5b1a3a(0x57e)](_0x1aa0f0){const _0x4721fa=_0x5b1a3a;_0x1aa0f0?(this[_0x4721fa(0x215)]&&this[_0x4721fa(0x215)][_0x4721fa(0x4fd)](),this[_0x4721fa(0x31c)]&&this[_0x4721fa(0x31c)][_0x4721fa(0x3c1)]()):(this['_anchorDot']&&this['_anchorDot'][_0x4721fa(0x3c1)](),this[_0x4721fa(0x31c)]&&this['_textBubble']['hide']());}[_0x5b1a3a(0x257)](){const _0x18d641=_0x5b1a3a;for(const _0x284e4a of this[_0x18d641(0x230)])_0x284e4a['dispose']();this['_textBubble']&&this[_0x18d641(0x31c)][_0x18d641(0x257)](),this['_anchorDot']&&this[_0x18d641(0x215)][_0x18d641(0x257)](),this[_0x18d641(0x314)]&&this[_0x18d641(0x314)]['dispose'](),this[_0x18d641(0x44f)]&&this[_0x18d641(0x44f)]();}[_0x5b1a3a(0x306)](){const _0x176e4e=_0x5b1a3a;var _0x1bd9e5;const {_docSkeleton:_0x4986c8,_document:_0x599a07}=this,{color:_0x185ffc,name:_0x1f1395,ranges:_0x1e3a29}=this['_cursor'],_0x553c3a=_0x599a07[_0x176e4e(0x334)](),{docsLeft:_0x38b764,docsTop:_0x28da22}=_0x553c3a,_0x2e2932=new _0x39e0b4(_0x553c3a,_0x4986c8);for(const {startOffset:_0x214b60,endOffset:_0x1c63e3,rangeType:_0x435abb,segmentId:_0xa1080a,segmentPage:_0x165772,collapsed:_0x14dc66,isActive:_0x83d0a9}of _0x1e3a29){const _0x1adc0a=_0x4986c8[_0x176e4e(0x2a3)](_0x214b60,!0x0,_0xa1080a,_0x165772);let _0x4d1244=_0x4986c8[_0x176e4e(0x2a3)](_0x1c63e3,!0x0,_0xa1080a,_0x165772);if(_0x4d1244==null&&(_0x4d1244=_0x4986c8[_0x176e4e(0x2a3)](_0x1c63e3-0x1,!0x1,_0xa1080a,_0x165772)),_0x83d0a9){const {contentBoxPointGroup:_0x3c1a43}=_0x2e2932[_0x176e4e(0x270)](_0x4d1244,_0x4d1244);if(_0x3c1a43['length']===0x0)continue;this['_drawAnchor'](_0x185ffc,_0x3c1a43,_0x38b764,_0x28da22,_0x1f1395),this['_eventUnsubscribe']=this[_0x176e4e(0x504)]();}if(!_0x14dc66&&_0x1adc0a&&_0x4d1244){if(_0x435abb===_0x59f56c[_0x176e4e(0x430)]){const _0x5890a5=new _0x55fd43(_0x553c3a,_0x4986c8),{pointGroup:_0x34cbb8}=(_0x1bd9e5=_0x5890a5['getRangePointData'](_0x1adc0a,_0x4d1244))!=null?_0x1bd9e5:{};if(_0x34cbb8==null||_0x34cbb8['length']===0x0)continue;this[_0x176e4e(0x4c2)](_0x185ffc,_0x34cbb8,_0x38b764,_0x28da22);}else{const {borderBoxPointGroup:_0x50b317}=_0x2e2932['getRangePointData'](_0x1adc0a,_0x4d1244);if(_0x50b317[_0x176e4e(0x29a)]===0x0)continue;this[_0x176e4e(0x448)](_0x185ffc,_0x50b317,_0x38b764,_0x28da22);}}}}[_0x5b1a3a(0x3ff)](_0x5d835f,_0x5ef170,_0x3af273,_0x481b6f,_0x584d1c){const _0x1777e3=_0x5b1a3a,_0x4e50f4=this['_getAnchorBounding'](_0x5ef170),{left:_0x57399f,top:_0x199d36,height:_0x30d7bf}=_0x4e50f4,_0x4fb73f=this[_0x1777e3(0x336)](),_0x1703cc=Bo/_0x4fb73f,_0x32fb9c=new _0x1d9554(jt+_0x9e8b08['generateRandomId'](Je),{'left':_0x57399f+_0x3af273-_0x1703cc,'top':_0x199d36+_0x481b6f,'height':_0x30d7bf,'width':jo,'fill':_0x5d835f||_0x16898a(_0xf1f058[_0x1777e3(0x384)],0x0),'strokeWidth':_0x1703cc,'stroke':ko,'evented':!0x0});this['_anchor']=_0x32fb9c,this[_0x1777e3(0x246)][_0x1777e3(0x3d1)](_0x32fb9c,_0x40d80b);const _0x13247e=new _0x1d9554(jt+_0x9e8b08['generateRandomId'](Je),{'left':_0x57399f+_0x3af273-_0x1703cc,'top':_0x199d36+_0x481b6f-Bt/0x2,'height':Bt,'width':Bt,'fill':_0x5d835f||_0x16898a(_0xf1f058['black'],0x0),'strokeWidth':0x0,'stroke':_0x5d835f||_0x16898a(_0xf1f058[_0x1777e3(0x384)],0x0),'evented':!0x1});this[_0x1777e3(0x215)]=_0x13247e,this[_0x1777e3(0x246)]['addObject'](_0x13247e,_0x40d80b);const _0x345c3d=new Ot(jt+_0x9e8b08[_0x1777e3(0x19a)](Je),{'left':_0x57399f+_0x3af273-_0x1703cc,'top':_0x199d36+_0x481b6f-nt,'text':_0x584d1c,'color':_0x5d835f});this[_0x1777e3(0x31c)]=_0x345c3d,this[_0x1777e3(0x246)]['addObject'](_0x345c3d,_0x40d80b),this[_0x1777e3(0x57e)]=!0x1;}[_0x5b1a3a(0x504)](){const _0x451f41=_0x5b1a3a,_0x43665e=this[_0x451f41(0x314)]['onPointerEnter$'][_0x451f41(0x4f4)](()=>{this['_hover']=!0x0;}),_0x387799=this['_anchor'][_0x451f41(0x4b7)][_0x451f41(0x4f4)](()=>{const _0x56a7b8=_0x451f41;this[_0x56a7b8(0x28f)]&&clearTimeout(this[_0x56a7b8(0x28f)]),this[_0x56a7b8(0x28f)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x2fb503=_0x451f41;_0x43665e[_0x2fb503(0x403)](),_0x387799['unsubscribe']();};}[_0x5b1a3a(0x448)](_0x1f6d04,_0x5118a0,_0x5baf82,_0x99e2c8){const _0x2655c4=_0x5b1a3a,_0xd07849=new _0x6b83db(_0x1f6d04)['setAlpha'](0.2)['toRgbString'](),_0x66aa10=new _0x249e70($o+_0x9e8b08['generateRandomId'](Je),{'pointsGroup':_0x5118a0,'fill':_0xd07849||_0x16898a(_0xf1f058[_0x2655c4(0x384)],0.2),'left':_0x5baf82,'top':_0x99e2c8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2655c4(0x230)][_0x2655c4(0x44a)](_0x66aa10),this['_scene'][_0x2655c4(0x3d1)](_0x66aa10,_0x40d80b);}[_0x5b1a3a(0x4c2)](_0x31fb66,_0x8441a7,_0x27aeeb,_0x58daae){const _0x4045a0=_0x5b1a3a,_0x4b4df1=new _0x6b83db(_0x31fb66)[_0x4045a0(0x41b)](0.2)['toRgbString'](),_0x9799e4=new _0x249e70(Ho+_0x9e8b08[_0x4045a0(0x19a)](Je),{'pointsGroup':_0x8441a7,'fill':_0x4b4df1||_0x16898a(_0xf1f058[_0x4045a0(0x384)],0.2),'left':_0x27aeeb,'top':_0x58daae,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x4045a0(0x44a)](_0x9799e4),this[_0x4045a0(0x246)]['addObject'](_0x9799e4,_0x40d80b);}[_0x5b1a3a(0x2c5)](_0x39578d){const _0xb78015=_0x39578d[0x0],_0x36f8ef=_0xb78015[0x0],_0x2c710a=_0xb78015[0x2],{x:_0x28f67a,y:_0x179256}=_0x36f8ef,{x:_0x1a333f,y:_0x2ef3a9}=_0x2c710a;return{'left':_0x28f67a,'top':_0x179256,'width':_0x1a333f-_0x28f67a,'height':_0x2ef3a9-_0x179256};}[_0x5b1a3a(0x336)](){const _0x8c3c12=_0x5b1a3a,{scaleX:_0x3ec756,scaleY:_0x2c490a}=this['_scene'][_0x8c3c12(0x385)]();return Math[_0x8c3c12(0x3ec)](_0x3ec756,_0x2c490a);}}var Wo=Object['defineProperty'],Fo=Object[_0x5b1a3a(0x42f)],Vo=(_0x331366,_0x8cf879,_0x11c25e,_0x456087)=>{const _0x4675fa=_0x5b1a3a;for(var _0x3478f5=_0x456087>0x1?void 0x0:_0x456087?Fo(_0x8cf879,_0x11c25e):_0x8cf879,_0x3e6aed=_0x331366[_0x4675fa(0x29a)]-0x1,_0x16eb97;_0x3e6aed>=0x0;_0x3e6aed--)(_0x16eb97=_0x331366[_0x3e6aed])&&(_0x3478f5=(_0x456087?_0x16eb97(_0x8cf879,_0x11c25e,_0x3478f5):_0x16eb97(_0x3478f5))||_0x3478f5);return _0x456087&&_0x3478f5&&Wo(_0x8cf879,_0x11c25e,_0x3478f5),_0x3478f5;},ht=(_0xac96c8,_0x3a2e2a)=>(_0x5e0b88,_0x4cb1c0)=>_0x3a2e2a(_0x5e0b88,_0x4cb1c0,_0xac96c8);let os=class extends _0x203b2a{constructor(_0x24e115,_0x1f347c,_0x4c43fc,_0x4606d7,_0x159f96){const _0x47f1f2=_0x5b1a3a;super(),g(this,_0x47f1f2(0x472),[]),g(this,_0x47f1f2(0x435),[]),(this[_0x47f1f2(0x1db)]=_0x24e115,this[_0x47f1f2(0x573)]=_0x1f347c,this[_0x47f1f2(0x206)]=_0x4c43fc,this['_commandService']=_0x4606d7,this['_themeService']=_0x159f96,this[_0x47f1f2(0x26b)]());}[_0x5b1a3a(0x26b)](){const _0x23587b=_0x5b1a3a,_0x4c2540=this[_0x23587b(0x1db)][_0x23587b(0x1ad)],_0x48fbc0=this[_0x23587b(0x573)];this['disposeWithMe'](_0x20173f([this['_collabCursorController'][_0x23587b(0x3a2)](_0x4c2540),this[_0x23587b(0x562)][_0x23587b(0x32c)]])[_0x23587b(0x1ff)](_0xd46654(([_0x11ae83,_0x357745])=>({'skeleton':_0x48fbc0[_0x23587b(0x3eb)](),'cursors':[..._0x11ae83[_0x23587b(0x327)]()][_0x23587b(0x20e)](_0x3dec70=>({..._0x3dec70,'color':_0x357745[_0x3dec70[_0x23587b(0x2d0)]]}))})))[_0x23587b(0x570)](_0x298dda=>{const _0x537463=_0x23587b;if(this[_0x537463(0x2eb)](),_0x298dda){const {skeleton:_0x507522,cursors:_0x418d36}=_0x298dda;this[_0x537463(0x1bf)](_0x507522,_0x418d36);}})),this[_0x23587b(0x360)](),this[_0x23587b(0x437)]();}[_0x5b1a3a(0x1bf)](_0x530a1d,_0x4b2e87){const _0x4cd4ec=_0x5b1a3a,{scene:_0x3aeee2,mainComponent:_0x4a6bbb}=this[_0x4cd4ec(0x1db)],_0x39d72a=_0x4b2e87[_0x4cd4ec(0x208)](_0x17f13a=>new Ks(_0x17f13a,_0x3aeee2,_0x530a1d,_0x4a6bbb));this[_0x4cd4ec(0x472)]=_0x39d72a,this[_0x4cd4ec(0x435)]=_0x4b2e87;}['_refreshCollabCursors'](){const _0x719b27=_0x5b1a3a;this[_0x719b27(0x2eb)]();const {scene:_0x40fe67,mainComponent:_0x2a70fc}=this[_0x719b27(0x1db)],_0x2b148a=this[_0x719b27(0x573)][_0x719b27(0x3eb)](),_0x1948f5=this[_0x719b27(0x435)][_0x719b27(0x208)](_0x3a5316=>new Ks(_0x3a5316,_0x40fe67,_0x2b148a,_0x2a70fc));this['_cursorShapes']=_0x1948f5;}['_removeCollabCursors'](){const _0x46ea07=_0x5b1a3a;this['_cursorShapes']['forEach'](_0x2cbe0a=>_0x2cbe0a[_0x46ea07(0x257)]()),this[_0x46ea07(0x472)]=[];}[_0x5b1a3a(0x437)](){const _0x1646ba=_0x5b1a3a,_0x151435=[_0x235f72['id']];this[_0x1646ba(0x4b9)](this[_0x1646ba(0x50d)]['onCommandExecuted'](_0x5b86d9=>{const _0x23c8f8=_0x1646ba;_0x151435[_0x23c8f8(0x1a7)](_0x5b86d9['id'])&&_0x5b86d9['params'][_0x23c8f8(0x1ad)]===this[_0x23c8f8(0x1db)]['unitId']&&this['_refreshCollabCursors']();}));}[_0x5b1a3a(0x360)](){const _0x4757a2=_0x5b1a3a;this[_0x4757a2(0x4b9)](_0x1d2736(this[_0x4757a2(0x1db)][_0x4757a2(0x499)][_0x4757a2(0x187)])[_0x4757a2(0x1ff)](_0x63bf9c(_0x52cc0e=>_0x52cc0e[_0x4757a2(0x23f)]===_0x5a5654['resize']),_0x3bbffb(0x10))[_0x4757a2(0x570)](()=>{const _0x1b6b5d=_0x4757a2;this[_0x1b6b5d(0x3f3)]();}));}};os=Vo([ht(0x1,_0x28839c(_0x4be44e)),ht(0x2,_0x28839c(Ve)),ht(0x3,_0x10ec6b),ht(0x4,_0x28839c(_0x3c9480))],os);const Go=0x1,Yo=1.5;class Ko extends _0x1bb0ee{constructor(_0x2c3e94,_0x99ab26){const _0x3bd22f=_0x5b1a3a;super(_0x2c3e94,_0x99ab26),g(this,_0x3bd22f(0x4c5)),g(this,_0x3bd22f(0x2b1),!0x1),g(this,_0x3bd22f(0x57f)),g(this,_0x3bd22f(0x27b),''),g(this,_0x3bd22f(0x532),_0x3bd22f(0x574)),g(this,'_backgroundColor'),(_0x99ab26&&this[_0x3bd22f(0x42c)](_0x99ab26),this['onPointerEnter$'][_0x3bd22f(0x4f4)](()=>this[_0x3bd22f(0x42c)]({'hovered':!0x0})),this['onPointerLeave$'][_0x3bd22f(0x4f4)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x5b1a3a(0x42c)](_0x2d3feb){const _0x34c1ae=_0x5b1a3a;var _0x5de46a,_0x416612,_0x4bf958,_0x4ec503,_0x4a501b,_0x908435;this[_0x34c1ae(0x4c5)]=(_0x5de46a=_0x2d3feb[_0x34c1ae(0x2d0)])!=null?_0x5de46a:this[_0x34c1ae(0x4c5)],this[_0x34c1ae(0x2b1)]=(_0x416612=_0x2d3feb['hovered'])!=null?_0x416612:this[_0x34c1ae(0x2b1)],this[_0x34c1ae(0x57f)]=(_0x4bf958=_0x2d3feb[_0x34c1ae(0x3f8)])!=null?_0x4bf958:this[_0x34c1ae(0x57f)],this[_0x34c1ae(0x27b)]=(_0x4ec503=_0x2d3feb[_0x34c1ae(0x1ca)])!=null?_0x4ec503:this[_0x34c1ae(0x27b)],this[_0x34c1ae(0x532)]=(_0x4a501b=_0x2d3feb[_0x34c1ae(0x3f5)])!=null?_0x4a501b:this[_0x34c1ae(0x532)],this[_0x34c1ae(0x3ed)]=(_0x908435=_0x2d3feb[_0x34c1ae(0x462)])!=null?_0x908435:this['_backgroundColor'],this['transformByState']({'width':_0x2d3feb['width'],'height':_0x2d3feb[_0x34c1ae(0x471)]});}[_0x5b1a3a(0x449)](_0x41f89e){const _0xc50671=_0x5b1a3a,{row:_0xca4bb2,column:_0x569316}=_0x41f89e;if(_0xca4bb2>=this[_0xc50671(0x57f)]['startRow']&&_0xca4bb2<=this[_0xc50671(0x57f)][_0xc50671(0x32d)]&&_0x569316>=this[_0xc50671(0x57f)]['startColumn']&&_0x569316<=this[_0xc50671(0x57f)][_0xc50671(0x305)]){this[_0xc50671(0x42c)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x5b1a3a(0x521)](_0x1e408d){return!0x1;}[_0x5b1a3a(0x266)](_0x36f53c){const _0x4e639d=_0x5b1a3a;_0x1d9554[_0x4e639d(0x31e)](_0x36f53c,{'width':this['width'],'height':this[_0x4e639d(0x471)],'strokeWidth':Yo,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x4e639d(0x3ed)]}),this[_0x4e639d(0x2b1)]&&(_0x36f53c[_0x4e639d(0x269)](),_0x36f53c[_0x4e639d(0x2f2)](0x1,0x0,0x0,0x1,this[_0x4e639d(0x580)],this[_0x4e639d(0x532)]===_0x4e639d(0x4d1)?0x0:-nt),Ot[_0x4e639d(0x31e)](_0x36f53c,{'text':this[_0x4e639d(0x27b)],'color':this['_color']}),_0x36f53c['restore']());}}var zo=Object[_0x5b1a3a(0x3dc)],qo=Object[_0x5b1a3a(0x42f)],Xo=(_0xdf3876,_0x184b50,_0x2f497e,_0x1aca6d)=>{const _0xb0b5fa=_0x5b1a3a;for(var _0x340f3b=_0x1aca6d>0x1?void 0x0:_0x1aca6d?qo(_0x184b50,_0x2f497e):_0x184b50,_0x5c93c9=_0xdf3876[_0xb0b5fa(0x29a)]-0x1,_0x17754a;_0x5c93c9>=0x0;_0x5c93c9--)(_0x17754a=_0xdf3876[_0x5c93c9])&&(_0x340f3b=(_0x1aca6d?_0x17754a(_0x184b50,_0x2f497e,_0x340f3b):_0x17754a(_0x340f3b))||_0x340f3b);return _0x1aca6d&&_0x340f3b&&zo(_0x184b50,_0x2f497e,_0x340f3b),_0x340f3b;},kt=(_0x2076a1,_0x3459a1)=>(_0x537c3c,_0x11499f)=>_0x3459a1(_0x537c3c,_0x11499f,_0x2076a1);const Jo=0x1389;let as=class extends _0x203b2a{constructor(_0x3a80a0,_0xa48839,_0x561419,_0x790632){const _0x1f5a80=_0x5b1a3a;super(),g(this,_0x1f5a80(0x435),new Set()),g(this,'_lastPointer',null),(this['_context']=_0x3a80a0,this['_sheetSkeletonManagerService']=_0xa48839,this[_0x1f5a80(0x206)]=_0x561419,this[_0x1f5a80(0x562)]=_0x790632,this[_0x1f5a80(0x26b)]());}['_init'](){const _0xf9271c=_0x5b1a3a;this[_0xf9271c(0x30d)][_0xf9271c(0x358)][_0xf9271c(0x1ff)](_0x3c36f4(this[_0xf9271c(0x431)]),_0x280f00(_0x52c2a7=>{const _0x1d119e=_0xf9271c;if(_0x52c2a7){const _0x20c0f4=_0x52c2a7[_0x1d119e(0x44b)];return _0x20173f(this[_0x1d119e(0x206)][_0x1d119e(0x3a2)](this[_0x1d119e(0x1db)]['unitId']),this['_themeService'][_0x1d119e(0x32c)])[_0x1d119e(0x1ff)](_0xd46654(([_0x1c5eda,_0x4a6cb4])=>{const _0x2cbd9d=new Map();return _0x1c5eda['forEach']((_0xad09b2,_0x3af05b)=>{const _0x2a3f0c=_0xa0d1;if(_0xad09b2['sheetID']===_0x20c0f4){const _0x3bb91d={..._0xad09b2};_0x3bb91d[_0x2a3f0c(0x2d0)]=_0x4a6cb4[_0xad09b2[_0x2a3f0c(0x2d0)]],_0x2cbd9d[_0x2a3f0c(0x18b)](_0x3af05b,_0x3bb91d);}}),{'skeleton':_0x52c2a7,'cursors':_0x2cbd9d};}));}return _0x323ee7({'skeleton':null,'cursors':new Map()});}))[_0xf9271c(0x570)](({skeleton:_0x4ce2c1,cursors:_0x22111a})=>{const _0x50a403=_0xf9271c;this[_0x50a403(0x2eb)](),_0x4ce2c1&&this['_updateCollabCursors'](_0x4ce2c1,_0x22111a);}),this['_sheetSkeletonManagerService'][_0xf9271c(0x358)][_0xf9271c(0x570)](_0xdec6db=>{const _0x12c2d9=_0xf9271c;if(_0xdec6db==null)return;const {skeleton:_0x542a74}=_0xdec6db,{scene:_0x544c71}=this[_0x12c2d9(0x1db)];_0x544c71[_0x12c2d9(0x528)][_0x12c2d9(0x4f4)](_0x5ca691(_0x2959d1=>{const _0xad12b3=_0x12c2d9;var _0x331020,_0x4d4412;const {offsetX:_0x1880de,offsetY:_0x4b2d26}=_0x2959d1,{x:_0x2f64fe,y:_0x41b105}=_0x544c71[_0xad12b3(0x335)](_0x432251[_0xad12b3(0x1cc)]([_0x1880de,_0x4b2d26])),{scaleX:_0x2af2b0,scaleY:_0x1641bd}=_0x544c71[_0xad12b3(0x385)](),_0x52bbe7=_0x544c71['getViewport'](_0x373d88[_0xad12b3(0x40e)]),_0x19027e=_0x544c71[_0xad12b3(0x394)](_0x432251['FromArray']([_0x2f64fe,_0x41b105]),_0x52bbe7),_0x25ee54=_0x542a74[_0xad12b3(0x22c)](_0x1880de,_0x4b2d26,_0x2af2b0,_0x1641bd,_0x19027e);((_0x331020=this['_lastPointer'])==null?void 0x0:_0x331020[_0xad12b3(0x461)])===_0x25ee54['column']&&((_0x4d4412=this[_0xad12b3(0x4db)])==null?void 0x0:_0x4d4412[_0xad12b3(0x498)])===_0x25ee54[_0xad12b3(0x498)]||this[_0xad12b3(0x435)]['forEach'](_0x9daac5=>{_0x9daac5['onMouseMove'](_0x25ee54);});},0x64));});}[_0x5b1a3a(0x1bf)](_0x187ef4,_0x35aee9){const _0x2e157a=_0x5b1a3a;var _0x5215f9;const _0xad8844=(_0x5215f9=this['_sheetSkeletonManagerService'][_0x2e157a(0x1b1)]())==null?void 0x0:_0x5215f9[_0x2e157a(0x192)];if(!_0xad8844)return;const _0x2d36aa=this[_0x2e157a(0x369)]();if(!_0x2d36aa)return;this['_cursors']['forEach'](_0x2276c5=>{const _0xfc129e=_0x2e157a;_0x2276c5[_0xfc129e(0x46f)]();});const {scene:_0x5083e4}=_0x2d36aa,_0x48f93f=Zo(Array['from'](_0x35aee9[_0x2e157a(0x327)]()))[_0x2e157a(0x208)](_0x144705=>{const _0x712691=_0x2e157a,{color:_0xb67bc5,range:_0x422f7c,name:_0x2f7679,selection:_0x5ec6cf,sheetID:_0x132b0e}=_0x144705,{startColumn:_0x5b98ef,startRow:_0x4978b9,endColumn:_0x526556,endRow:_0x534020}=_0x422f7c,_0x395d52=_0x5003e7(_0x4978b9,_0x5b98ef,_0x5083e4,_0xad8844),_0x4e928d=_0x5003e7(_0x534020,_0x526556,_0x5083e4,_0xad8844),{columnHeaderHeightAndMarginTop:_0x29aee0}=_0xad8844,{startX:_0x4e21a4,startY:_0x2a1b73}=_0x395d52,{endX:_0x3cd002,endY:_0x16f669}=_0x4e928d,_0x57edcb=_0x3cd002-_0x4e21a4,_0x526d5c=_0x16f669-_0x2a1b73,_0xf87539={'labelPosition':_0x2a1b73-_0x29aee0>=nt?_0x712691(0x574):_0x712691(0x4d1),'sheetID':_0x132b0e,'range':_0x422f7c,'color':_0xb67bc5,'name':_0x2f7679,'selection':_0x5ec6cf,'left':_0x4e21a4,'top':_0x2a1b73,'width':_0x57edcb,'height':_0x526d5c,'evented':!0x1,'zIndex':Jo};return new Ko(_0x2f7679,_0xf87539);});_0x5083e4[_0x2e157a(0x1a4)](_0x48f93f,Go),this[_0x2e157a(0x435)]=new Set(_0x48f93f);}[_0x5b1a3a(0x2eb)](){const _0x6fbc61=_0x5b1a3a;var _0x205407;(_0x205407=this['_cursors'])==null||_0x205407[_0x6fbc61(0x2a1)](_0x12ce0d=>_0x12ce0d['dispose']());}[_0x5b1a3a(0x369)](){const _0x4cfd53=_0x5b1a3a;return _0xb86afb(this['_context'][_0x4cfd53(0x503)],this[_0x4cfd53(0x1db)]);}};as=Xo([kt(0x1,_0x28839c(_0x58f32f)),kt(0x2,_0x28839c(Ve)),kt(0x3,_0x28839c(_0x3c9480))],as);function Zo(_0x6ab2ae){const _0x130399=_0x5b1a3a,_0x2d7a8a=new Map();return _0x6ab2ae[_0x130399(0x2a1)](_0x57db0c=>{const _0x997c36=_0x130399;if(_0x2d7a8a[_0x997c36(0x2fd)](_0x57db0c[_0x997c36(0x492)])){const _0x241832=_0x2d7a8a[_0x997c36(0x50f)](_0x57db0c[_0x997c36(0x492)]);_0x241832[_0x997c36(0x1ca)]+=',\x20'+_0x57db0c[_0x997c36(0x1ca)];}else _0x2d7a8a['set'](_0x57db0c[_0x997c36(0x492)],_0x57db0c);}),Array[_0x130399(0x337)](_0x2d7a8a[_0x130399(0x327)]());}var ee=function(){const _0x3235fe=_0x5b1a3a;return ee=Object[_0x3235fe(0x1c2)]||function(_0x347dea){const _0x3af3cd=_0x3235fe;for(var _0x2234b5,_0x295c85=0x1,_0x210e61=arguments[_0x3af3cd(0x29a)];_0x295c85<_0x210e61;_0x295c85++){_0x2234b5=arguments[_0x295c85];for(var _0x2f5598 in _0x2234b5)Object[_0x3af3cd(0x537)][_0x3af3cd(0x1d8)][_0x3af3cd(0x27f)](_0x2234b5,_0x2f5598)&&(_0x347dea[_0x2f5598]=_0x2234b5[_0x2f5598]);}return _0x347dea;},ee[_0x3235fe(0x561)](this,arguments);},Qo=function(_0x12f203,_0x46560a){const _0x2d2814=_0x5b1a3a;var _0x10ab85={};for(var _0x284e9d in _0x12f203)Object[_0x2d2814(0x537)][_0x2d2814(0x1d8)][_0x2d2814(0x27f)](_0x12f203,_0x284e9d)&&_0x46560a[_0x2d2814(0x442)](_0x284e9d)<0x0&&(_0x10ab85[_0x284e9d]=_0x12f203[_0x284e9d]);if(_0x12f203!=null&&typeof Object[_0x2d2814(0x47e)]==_0x2d2814(0x3b7)){for(var _0x4b3986=0x0,_0x284e9d=Object[_0x2d2814(0x47e)](_0x12f203);_0x4b3986<_0x284e9d[_0x2d2814(0x29a)];_0x4b3986++)_0x46560a[_0x2d2814(0x442)](_0x284e9d[_0x4b3986])<0x0&&Object[_0x2d2814(0x537)][_0x2d2814(0x234)][_0x2d2814(0x27f)](_0x12f203,_0x284e9d[_0x4b3986])&&(_0x10ab85[_0x284e9d[_0x4b3986]]=_0x12f203[_0x284e9d[_0x4b3986]]);}return _0x10ab85;},Ts=_0x61bf00(function(_0x44fcee,_0x218d27){const _0x477e66=_0x5b1a3a;var _0x454ffb=_0x44fcee['icon'],_0x4adf88=_0x44fcee['id'],_0x102da0=_0x44fcee[_0x477e66(0x35c)],_0x85aa2b=_0x44fcee[_0x477e66(0x2f0)],_0x1f03f0=Qo(_0x44fcee,[_0x477e66(0x535),'id',_0x477e66(0x35c),_0x477e66(0x2f0)]),_0x3fc970='univerjs-icon\x20univerjs-icon-'[_0x477e66(0x200)](_0x4adf88,'\x20')[_0x477e66(0x200)](_0x102da0||'')[_0x477e66(0x475)](),_0x302ae8=_0x3646dc('_'[_0x477e66(0x200)](sa()));return Mi(_0x454ffb,''['concat'](_0x4adf88),{'defIds':_0x454ffb['defIds'],'idSuffix':_0x302ae8[_0x477e66(0x2a2)]},ee({'ref':_0x218d27,'className':_0x3fc970},_0x1f03f0),_0x85aa2b);});function Mi(_0x38ab50,_0x462308,_0xb33802,_0x4ad66f,_0x14a11d){const _0x29edb4=_0x5b1a3a;return _0xbb55a3(_0x38ab50[_0x29edb4(0x323)],ee(ee({'key':_0x462308},ea(_0x38ab50,_0xb33802,_0x14a11d)),_0x4ad66f),(ta(_0x38ab50,_0xb33802)[_0x29edb4(0x3e2)]||[])[_0x29edb4(0x208)](function(_0x56548f,_0x391394){const _0x8354aa=_0x29edb4;return Mi(_0x56548f,''[_0x8354aa(0x200)](_0x462308,'-')['concat'](_0x38ab50[_0x8354aa(0x323)],'-')[_0x8354aa(0x200)](_0x391394),_0xb33802,void 0x0,_0x14a11d);}));}function ea(_0x1ea4a2,_0x598528,_0x3bd5e3){const _0x4d9375=_0x5b1a3a;var _0x53e442=ee({},_0x1ea4a2['attrs']);_0x3bd5e3!=null&&_0x3bd5e3[_0x4d9375(0x19e)]&&_0x53e442[_0x4d9375(0x3a7)]===_0x4d9375(0x19e)&&(_0x53e442[_0x4d9375(0x3a7)]=_0x3bd5e3[_0x4d9375(0x19e)]);var _0x48f3d4=_0x598528['defIds'];return!_0x48f3d4||_0x48f3d4[_0x4d9375(0x29a)]===0x0||(_0x1ea4a2[_0x4d9375(0x323)]===_0x4d9375(0x1b5)&&_0x53e442['xlink:href']&&(_0x53e442['xlink:href']=_0x53e442[_0x4d9375(0x3bc)]+_0x598528[_0x4d9375(0x52f)]),Object['entries'](_0x53e442)['forEach'](function(_0x2aaf76){const _0x3f326c=_0x4d9375;var _0x249468=_0x2aaf76[0x0],_0xfea952=_0x2aaf76[0x1];typeof _0xfea952=='string'&&(_0x53e442[_0x249468]=_0xfea952['replace'](/url\(#(.*)\)/,'url(#$1'[_0x3f326c(0x200)](_0x598528['idSuffix'],')')));})),_0x53e442;}function ta(_0x2859fc,_0x4b7e0b){const _0xc0e61a=_0x5b1a3a;var _0x1b91da,_0x5dcd49=_0x4b7e0b[_0xc0e61a(0x2b7)];return!_0x5dcd49||_0x5dcd49[_0xc0e61a(0x29a)]===0x0?_0x2859fc:_0x2859fc['tag']==='defs'&&(!((_0x1b91da=_0x2859fc[_0xc0e61a(0x3e2)])===null||_0x1b91da===void 0x0)&&_0x1b91da[_0xc0e61a(0x29a)])?ee(ee({},_0x2859fc),{'children':_0x2859fc['children'][_0xc0e61a(0x208)](function(_0x5eef35){const _0xc63c49=_0xc0e61a;return typeof _0x5eef35[_0xc63c49(0x19d)]['id']==_0xc63c49(0x4fa)&&_0x5dcd49&&_0x5dcd49[_0xc63c49(0x442)](_0x5eef35[_0xc63c49(0x19d)]['id'])>-0x1?ee(ee({},_0x5eef35),{'attrs':ee(ee({},_0x5eef35['attrs']),{'id':_0x5eef35[_0xc63c49(0x19d)]['id']+_0x4b7e0b[_0xc63c49(0x52f)]})}):_0x5eef35;})}):_0x2859fc;}function sa(){const _0x1a8630=_0x5b1a3a;return Math[_0x1a8630(0x372)]()['toString'](0x24)[_0x1a8630(0x188)](0x2,0x8);}Ts[_0x5b1a3a(0x50a)]='UniverIcon';var ia={'tag':_0x5b1a3a(0x3e1),'attrs':{'fill':_0x5b1a3a(0x4ef),'viewBox':'0\x200\x2016\x2016','width':_0x5b1a3a(0x2cc),'height':_0x5b1a3a(0x2cc)},'children':[{'tag':'g','attrs':{'clipPath':_0x5b1a3a(0x193)},'children':[{'tag':_0x5b1a3a(0x307),'attrs':{'stroke':'currentColor','d':_0x5b1a3a(0x2bd),'strokeLinecap':_0x5b1a3a(0x53c),'strokeLinejoin':_0x5b1a3a(0x53c),'strokeWidth':1.2}}]},{'tag':_0x5b1a3a(0x2d1),'attrs':{},'children':[{'tag':_0x5b1a3a(0x4f5),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x5b1a3a(0x307),'attrs':{'fill':_0x5b1a3a(0x4b1),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x5b1a3a(0x17e)]},xi=_0x61bf00(function(_0x406595,_0x5a96d0){return _0xbb55a3(Ts,Object['assign']({},_0x406595,{'id':'off-line-single','ref':_0x5a96d0,'icon':ia}));});xi[_0x5b1a3a(0x50a)]='OffLineSingle';var na={'tag':_0x5b1a3a(0x3e1),'attrs':{'fill':_0x5b1a3a(0x4ef),'viewBox':_0x5b1a3a(0x558),'width':_0x5b1a3a(0x2cc),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x5b1a3a(0x55f)},'children':[{'tag':_0x5b1a3a(0x307),'attrs':{'stroke':_0x5b1a3a(0x38b),'d':_0x5b1a3a(0x1d6),'strokeLinecap':_0x5b1a3a(0x53c),'strokeLinejoin':_0x5b1a3a(0x53c),'strokeWidth':1.2}}]},{'tag':_0x5b1a3a(0x2d1),'attrs':{},'children':[{'tag':_0x5b1a3a(0x4f5),'attrs':{'id':_0x5b1a3a(0x1b8)},'children':[{'tag':_0x5b1a3a(0x307),'attrs':{'fill':_0x5b1a3a(0x4b1),'d':_0x5b1a3a(0x1e0),'transform':'translate(.97)'}}]}]}],'defIds':[_0x5b1a3a(0x1b8)]},Li=_0x61bf00(function(_0x16e175,_0x1488d4){const _0xbddb71=_0x5b1a3a;return _0xbb55a3(Ts,Object[_0xbddb71(0x1c2)]({},_0x16e175,{'id':_0xbddb71(0x36b),'ref':_0x1488d4,'icon':na}));});Li[_0x5b1a3a(0x50a)]=_0x5b1a3a(0x533);function $i(_0x417751){const _0x405116=_0x5b1a3a;var _0x34c84e,_0xdb1bbe,_0x457c30='';if(typeof _0x417751==_0x405116(0x4fa)||typeof _0x417751=='number')_0x457c30+=_0x417751;else{if(typeof _0x417751=='object'){if(Array[_0x405116(0x25c)](_0x417751)){var _0x54b56b=_0x417751[_0x405116(0x29a)];for(_0x34c84e=0x0;_0x34c84e<_0x54b56b;_0x34c84e++)_0x417751[_0x34c84e]&&(_0xdb1bbe=$i(_0x417751[_0x34c84e]))&&(_0x457c30&&(_0x457c30+='\x20'),_0x457c30+=_0xdb1bbe);}else{for(_0xdb1bbe in _0x417751)_0x417751[_0xdb1bbe]&&(_0x457c30&&(_0x457c30+='\x20'),_0x457c30+=_0xdb1bbe);}}}return _0x457c30;}function ra(){for(var _0x129353,_0x29b9f5,_0x38d489=0x0,_0x76fe6c='',_0x561d52=arguments['length'];_0x38d489<_0x561d52;_0x38d489++)(_0x129353=arguments[_0x38d489])&&(_0x29b9f5=$i(_0x129353))&&(_0x76fe6c&&(_0x76fe6c+='\x20'),_0x76fe6c+=_0x29b9f5);return _0x76fe6c;}const oa=_0x5b1a3a(0x196),aa='univer-online-status-title',ca='univer-online-status',ha=_0x5b1a3a(0x56a),la=_0x5b1a3a(0x452),Ze={'onlineStatusIcon':oa,'onlineStatusTitle':aa,'onlineStatus':ca,'online':ha,'offline':la};function _a(_0x3abeb6){const _0x30e5aa=_0x5b1a3a;switch(_0x3abeb6){case J[_0x30e5aa(0x405)]:return'collabStatus.offline';case J[_0x30e5aa(0x17f)]:return'collabStatus.conflict';case J[_0x30e5aa(0x4be)]:return _0x30e5aa(0x572);case J[_0x30e5aa(0x520)]:return'collabStatus.notCollab';case J[_0x30e5aa(0x54a)]:case J['AWAITING_WITH_PENDING']:return _0x30e5aa(0x214);case J['SYNCED']:case J['PENDING']:return _0x30e5aa(0x1d2);}}function ua(_0x594126){const _0x5c5859=_0x5b1a3a,{status$:_0x2ac77d}=_0x594126,_0x55f417=_0x22bb33(_0x2ac77d,J[_0x5c5859(0x520)]),_0x38bd00=_0x243e1f(_0x173a06),_0x37da15=_0x243e1f(Ae),_0x1891c7=_0x55f417!==J[_0x5c5859(0x405)],_0x4df538=_0x38bd00['t'](_a(_0x55f417)),_0x1901ef=ra(Ze[_0x5c5859(0x479)],{[Ze[_0x5c5859(0x567)]]:_0x1891c7,[Ze['offline']]:!_0x1891c7}),_0x67fdd0=_0x1891c7?_0x3718ff[_0x5c5859(0x540)](Li,null):_0x3718ff[_0x5c5859(0x540)](xi,null),_0x2b3907=_0x5f371c(()=>{const _0x379dd4=_0x5c5859;_0x1891c7||_0x37da15[_0x379dd4(0x3e0)]();},[_0x1891c7,_0x37da15]);function _0x42b71f(){const _0x2b8a9d=_0x5c5859;return _0x3718ff[_0x2b8a9d(0x540)](_0x2b8a9d(0x294),{'className':_0x1901ef,'onClick':_0x2b3907},_0x3718ff['createElement'](_0x2b8a9d(0x294),{'className':Ze['onlineStatusIcon']},_0x67fdd0),_0x3718ff['createElement'](_0x2b8a9d(0x294),{'className':Ze[_0x2b8a9d(0x42e)]},_0x4df538));}return _0x1891c7?_0x42b71f():_0x3718ff[_0x5c5859(0x540)](_0x3dbbdc,{'title':_0x38bd00['t'](_0x5c5859(0x2b4))},_0x42b71f());}var da=Object[_0x5b1a3a(0x3dc)],fa=Object[_0x5b1a3a(0x42f)],va=(_0x36b69b,_0x5da118,_0x2d1164,_0x42b018)=>{for(var _0x4e3b8d=_0x42b018>0x1?void 0x0:_0x42b018?fa(_0x5da118,_0x2d1164):_0x5da118,_0x5b26a1=_0x36b69b['length']-0x1,_0x1a334d;_0x5b26a1>=0x0;_0x5b26a1--)(_0x1a334d=_0x36b69b[_0x5b26a1])&&(_0x4e3b8d=(_0x42b018?_0x1a334d(_0x5da118,_0x2d1164,_0x4e3b8d):_0x1a334d(_0x4e3b8d))||_0x4e3b8d);return _0x42b018&&_0x4e3b8d&&da(_0x5da118,_0x2d1164,_0x4e3b8d),_0x4e3b8d;},lt=(_0x511392,_0x5df326)=>(_0x5d11dc,_0x19eaa9)=>_0x5df326(_0x5d11dc,_0x19eaa9,_0x511392);let It=class extends _0x45951d{constructor(_0x4a528b,_0x119eda,_0x41203b,_0x2608b4){const _0x48ad09=_0x5b1a3a;super(),g(this,_0x48ad09(0x2ef),new _0x1ce182(J[_0x48ad09(0x520)])),(this[_0x48ad09(0x212)]=_0x4a528b,this['_uiPartsService']=_0x119eda,this[_0x48ad09(0x4e1)]=_0x41203b,this[_0x48ad09(0x2e9)]=_0x2608b4,this['_initStatusComponent'](),this[_0x48ad09(0x4a4)]());}[_0x5b1a3a(0x4a4)](){const _0x1cd193=_0x5b1a3a;this[_0x1cd193(0x4b9)](this[_0x1cd193(0x212)][_0x1cd193(0x33d)][_0x1cd193(0x1ff)](_0x3a75f3(()=>{const _0x5a55d7=_0x1cd193,_0x14dc22=this['_univerInstanceService'][_0x5a55d7(0x555)]();return _0x14dc22?this[_0x5a55d7(0x2e9)][_0x5a55d7(0x4ce)](_0x14dc22[_0x5a55d7(0x510)]()):_0x323ee7(null);}),_0x3a75f3(_0x1fa64d=>_0x1fa64d?_0x1fa64d['status$']:_0x323ee7(J[_0x1cd193(0x520)])))[_0x1cd193(0x570)](_0x4b0564=>{const _0x232b2e=_0x1cd193;this[_0x232b2e(0x2ef)][_0x232b2e(0x424)](_0x4b0564);}));}[_0x5b1a3a(0x564)](){const _0x4cd14b=_0x5b1a3a;this[_0x4cd14b(0x4b9)](this['_uiPartsService']['registerComponent'](_0x5879a4['HEADER_MENU'],()=>_0x30cf07(ma({'status$':this[_0x4cd14b(0x2ef)][_0x4cd14b(0x319)]()}),this[_0x4cd14b(0x4e1)])));}};It=va([lt(0x0,_0x578cb),lt(0x1,_0x39aaa5),lt(0x2,_0x28839c(_0x1027b3)),lt(0x3,_0x28839c(it))],It);function ma(_0x24e6b8){const {status$:_0x4bfa8f}=_0x24e6b8;return function(){return _0x3718ff['createElement'](ua,{'status$':_0x4bfa8f});};}const Hi=_0x25a723(_0x5b1a3a(0x390));var pa=Object[_0x5b1a3a(0x3dc)],ga=Object[_0x5b1a3a(0x42f)],Sa=(_0x5b5bf9,_0x347b67,_0x3b80d1,_0x3f8cba)=>{const _0x1a8c6c=_0x5b1a3a;for(var _0x211fa9=_0x3f8cba>0x1?void 0x0:_0x3f8cba?ga(_0x347b67,_0x3b80d1):_0x347b67,_0x491012=_0x5b5bf9[_0x1a8c6c(0x29a)]-0x1,_0x4bebb9;_0x491012>=0x0;_0x491012--)(_0x4bebb9=_0x5b5bf9[_0x491012])&&(_0x211fa9=(_0x3f8cba?_0x4bebb9(_0x347b67,_0x3b80d1,_0x211fa9):_0x4bebb9(_0x211fa9))||_0x211fa9);return _0x3f8cba&&_0x211fa9&&pa(_0x347b67,_0x3b80d1,_0x211fa9),_0x211fa9;},ke=(_0x5afac7,_0x15dcff)=>(_0x4b62ef,_0x28db71)=>_0x15dcff(_0x4b62ef,_0x28db71,_0x5afac7);let Ct=class extends _0x203b2a{constructor(_0x8381ea,_0x322e0a,_0x3fde0a,_0x2a5744,_0x1e1755,_0x104c65){const _0x5d56d9=_0x5b1a3a;super(),this[_0x5d56d9(0x3d5)]=_0x8381ea,this[_0x5d56d9(0x2b5)]=_0x322e0a,this[_0x5d56d9(0x50d)]=_0x3fde0a,this[_0x5d56d9(0x2af)]=_0x2a5744,this['_snapshotService']=_0x1e1755,_0x104c65?_0x104c65==null||_0x104c65['whenReady']()[_0x5d56d9(0x381)](()=>this[_0x5d56d9(0x26b)]()):(this['_logService'][_0x5d56d9(0x1b6)](_0x5d56d9(0x4dd),_0x5d56d9(0x18c)),this['_init']());}async[_0x5b1a3a(0x26b)](){const _0x2c7125=_0x5b1a3a,_0xf2ccf9=this['_urlService']['getParam'](_0x2c7125(0x503)),_0x2f8d44=this[_0x2c7125(0x3d5)][_0x2c7125(0x509)](_0x2c7125(0x23f));if(!_0xf2ccf9||!_0x2f8d44){this[_0x2c7125(0x2b5)]['debug'](_0x2c7125(0x4dd),_0x2c7125(0x263));return;}switch(Number(_0x2f8d44)){case ce[_0x2c7125(0x24e)]:{const _0x5d333c=await this[_0x2c7125(0x4f0)](_0xf2ccf9);this[_0x2c7125(0x1ef)](_0x5d333c);break;}case ce[_0x2c7125(0x1f2)]:{await this['_loadDoc'](_0xf2ccf9);break;}default:{this[_0x2c7125(0x2b5)][_0x2c7125(0x237)](_0x2c7125(0x4dd),_0x2c7125(0x54c));break;}}}async[_0x5b1a3a(0x1ef)](_0x42b512){const _0x788139=_0x5b1a3a;await this[_0x788139(0x4fc)](_0x42b512),_0x42b512[_0x788139(0x21a)][_0x788139(0x1ff)](_0x3b6332(this[_0x788139(0x431)]))[_0x788139(0x570)](_0x4df2a4=>{const _0x2927c1=_0x788139;_0x4df2a4&&this[_0x2927c1(0x3b3)](_0x4df2a4);}),this['_urlService']['urlChange$'][_0x788139(0x1ff)](_0x3b6332(this[_0x788139(0x431)]))[_0x788139(0x570)](()=>this[_0x788139(0x4fc)](_0x42b512));}[_0x5b1a3a(0x3b3)](_0x1954b4,_0x3d1152=!0x1){const _0x144740=_0x5b1a3a,_0x1a8366=this[_0x144740(0x3d5)][_0x144740(0x509)](_0x144740(0x3d9));_0x1954b4[_0x144740(0x202)]()!==_0x1a8366&&this[_0x144740(0x3d5)][_0x144740(0x1d1)](_0x144740(0x3d9),_0x1954b4[_0x144740(0x202)](),_0x3d1152);}async[_0x5b1a3a(0x4fc)](_0x5de4e0){const _0x33d373=_0x5b1a3a;var _0x228643;const _0x3bcf72=this[_0x33d373(0x3d5)][_0x33d373(0x509)](_0x33d373(0x3d9));if(!_0x3bcf72||!_0x5de4e0[_0x33d373(0x4cd)](_0x3bcf72)){const _0x4afc01=_0x5de4e0[_0x33d373(0x1d5)]()[0x0],_0x182d7d=_0x5de4e0[_0x33d373(0x4cd)](_0x4afc01);if(!_0x182d7d)return;this[_0x33d373(0x3b3)](_0x182d7d,!0x0),await this['_commandService'][_0x33d373(0x23a)](_0x79ca6c['id'],{'unitId':_0x5de4e0[_0x33d373(0x510)](),'subUnitId':_0x4afc01});return;}((_0x228643=_0x5de4e0[_0x33d373(0x3df)]())==null?void 0x0:_0x228643[_0x33d373(0x202)]())!==_0x3bcf72&&await this[_0x33d373(0x50d)]['executeCommand'](_0x79ca6c['id'],{'unitId':_0x5de4e0[_0x33d373(0x510)](),'subUnitId':_0x3bcf72});}async['_loadSheet'](_0x259816){const _0x58e741=_0x5b1a3a;let _0x44926c=0x0;const _0x328490=await this[_0x58e741(0x2af)]['loadOfflineData'](_0x259816);return _0x328490&&(_0x328490[_0x58e741(0x213)]||_0x328490['mutations'][_0x58e741(0x29a)]!==0x0)&&(_0x44926c=_0x328490['rev']),_0x44926c===0x0&&this[_0x58e741(0x2b5)][_0x58e741(0x1b6)](_0x58e741(0x4dd),_0x58e741(0x1b3)),this[_0x58e741(0x40a)]['loadSheet'](_0x259816,_0x44926c);}async['_loadDoc'](_0x31091c){const _0x21b687=_0x5b1a3a;let _0x37bd49=0x0;const _0x14aace=await this[_0x21b687(0x2af)][_0x21b687(0x25d)](_0x31091c);return _0x14aace&&(_0x14aace['awaitingChangeset']||_0x14aace[_0x21b687(0x260)]['length']!==0x0)&&(_0x37bd49=_0x14aace['rev']),_0x37bd49===0x0&&this[_0x21b687(0x2b5)][_0x21b687(0x1b6)](_0x21b687(0x4dd),_0x21b687(0x1b3)),this[_0x21b687(0x40a)]['loadDoc'](_0x31091c,_0x37bd49);}};Ct=Sa([ke(0x0,Hi),ke(0x1,_0x418a3e),ke(0x2,_0x10ec6b),ke(0x3,_0x28839c(q)),ke(0x4,_0x28839c(_0x410fdc)),ke(0x5,_0x3c705a(_0x201acf))],Ct);var Ia=Object[_0x5b1a3a(0x3dc)],Ca=Object[_0x5b1a3a(0x42f)],Ea=(_0x1fb25c,_0x25d44c,_0x16923f,_0x1f5c41)=>{const _0x35e197=_0x5b1a3a;for(var _0x101887=_0x1f5c41>0x1?void 0x0:_0x1f5c41?Ca(_0x25d44c,_0x16923f):_0x25d44c,_0x414345=_0x1fb25c[_0x35e197(0x29a)]-0x1,_0x1b6dbc;_0x414345>=0x0;_0x414345--)(_0x1b6dbc=_0x1fb25c[_0x414345])&&(_0x101887=(_0x1f5c41?_0x1b6dbc(_0x25d44c,_0x16923f,_0x101887):_0x1b6dbc(_0x101887))||_0x101887);return _0x1f5c41&&_0x101887&&Ia(_0x25d44c,_0x16923f,_0x101887),_0x101887;},zs=(_0x41c075,_0x2eea1)=>(_0x21fc61,_0x21c68f)=>_0x2eea1(_0x21fc61,_0x21c68f,_0x41c075);const ba=_0x5b1a3a(0x378),Ta=_0x5b1a3a(0x347);let Et=class extends _0x45951d{constructor(_0x9b059e,_0x4efd56){const _0x428fc3=_0x5b1a3a;super(),this['_univerInstanceService']=_0x9b059e,this[_0x428fc3(0x4c4)]=_0x4efd56,this[_0x428fc3(0x26b)]();}[_0x5b1a3a(0x26b)](){const _0x4d99a6=_0x5b1a3a;this[_0x4d99a6(0x4b9)](this['_univerInstanceService'][_0x4d99a6(0x33d)][_0x4d99a6(0x570)](()=>{const _0x529c56=_0x4d99a6;var _0x125584;const _0x45daa9=this[_0x529c56(0x212)]['getFocusedUnit']();let _0x2568ae=(_0x125584=this[_0x529c56(0x4c4)]['getConfig'](ba))!=null?_0x125584:Ta;_0x45daa9 instanceof _0x2adeef&&(_0x2568ae=_0x45daa9[_0x529c56(0x1ca)]),document[_0x529c56(0x4a6)]=_0x2568ae;}));}};Et=Ea([zs(0x0,_0x578cb),zs(0x1,_0x5d6cbd)],Et);var Ra=Object[_0x5b1a3a(0x3dc)],ya=Object['getOwnPropertyDescriptor'],Oa=(_0xf7274d,_0x190b91,_0x481164,_0x43725a)=>{const _0x43eab4=_0x5b1a3a;for(var _0x27a985=_0x43725a>0x1?void 0x0:_0x43725a?ya(_0x190b91,_0x481164):_0x190b91,_0x4922eb=_0xf7274d[_0x43eab4(0x29a)]-0x1,_0x25e877;_0x4922eb>=0x0;_0x4922eb--)(_0x25e877=_0xf7274d[_0x4922eb])&&(_0x27a985=(_0x43725a?_0x25e877(_0x190b91,_0x481164,_0x27a985):_0x25e877(_0x27a985))||_0x27a985);return _0x43725a&&_0x27a985&&Ra(_0x190b91,_0x481164,_0x27a985),_0x27a985;},Wt=(_0x555947,_0x4aa824)=>(_0x224a44,_0x102953)=>_0x4aa824(_0x224a44,_0x102953,_0x555947);let bt=class{constructor(_0x23821b,_0x25764e,_0x3ca22c){const _0x5b4796=_0x5b1a3a;this[_0x5b4796(0x4c4)]=_0x23821b,this[_0x5b4796(0x518)]=_0x25764e,this[_0x5b4796(0x4ea)]=_0x3ca22c,this[_0x5b4796(0x1bc)]();}[_0x5b1a3a(0x1bc)](){const _0x16d0b5=_0x5b1a3a;this['_httpService'][_0x16d0b5(0x181)]({'priority':0x1,'interceptor':(_0x5b5398,_0x5bdedd)=>_0x5bdedd(_0x5b5398)[_0x16d0b5(0x1ff)](_0x77341e(async _0x5a584f=>{const _0x367000=_0x16d0b5,_0x131708=_0x5a584f;if(_0x131708['status']===0x191&&window[_0x367000(0x39b)](this[_0x367000(0x4ea)]['t']('auth.needGotoLoginAlert'))){const _0x3c96ae=window[_0x367000(0x4ee)](window[_0x367000(0x4c3)]['href']);window['location'][_0x367000(0x3ad)]=this[_0x367000(0x20a)]()+_0x367000(0x2de)+_0x3c96ae;}return _0x131708;}))});}[_0x5b1a3a(0x20a)](){const _0x1ce632=_0x5b1a3a;var _0x268e25,_0x48285b;const _0x55d646=this[_0x1ce632(0x4c4)][_0x1ce632(0x451)](Ir),_0x1a7508=this[_0x1ce632(0x4c4)][_0x1ce632(0x451)](ie);return(_0x48285b=(_0x268e25=_0x1a7508==null?void 0x0:_0x1a7508[_0x1ce632(0x326)])!=null?_0x268e25:_0x55d646)!=null?_0x48285b:Cr;}};bt=Oa([Wt(0x0,_0x5d6cbd),Wt(0x1,_0x28839c(_0xcd006c)),Wt(0x2,_0x28839c(_0x173a06))],bt);var wa=Object[_0x5b1a3a(0x3dc)],Da=Object['getOwnPropertyDescriptor'],Pa=(_0x4cc0fc,_0x36ccb6,_0x1f4b19,_0x5d3c7b)=>{for(var _0x458259=_0x5d3c7b>0x1?void 0x0:_0x5d3c7b?Da(_0x36ccb6,_0x1f4b19):_0x36ccb6,_0x1cb719=_0x4cc0fc['length']-0x1,_0x141bc3;_0x1cb719>=0x0;_0x1cb719--)(_0x141bc3=_0x4cc0fc[_0x1cb719])&&(_0x458259=(_0x5d3c7b?_0x141bc3(_0x36ccb6,_0x1f4b19,_0x458259):_0x141bc3(_0x458259))||_0x458259);return _0x5d3c7b&&_0x458259&&wa(_0x36ccb6,_0x1f4b19,_0x458259),_0x458259;},qs=(_0x1a3f6c,_0x37784b)=>(_0x3030c6,_0xa545d0)=>_0x37784b(_0x3030c6,_0xa545d0,_0x1a3f6c);const Ua=_0x5b1a3a(0x249),Na=_0x5b1a3a(0x3ac);let cs=class extends _0x45951d{constructor(_0x30e0cf,_0x4bbfa7){const _0x7f918a=_0x5b1a3a;super(),this['_HTTPService']=_0x30e0cf,this[_0x7f918a(0x4c4)]=_0x4bbfa7,this[_0x7f918a(0x30c)]();}[_0x5b1a3a(0x30c)](){const _0xe9d7c2=_0x5b1a3a,_0x4a808d=this;this[_0xe9d7c2(0x4b9)](this[_0xe9d7c2(0x53f)][_0xe9d7c2(0x181)]({'priority':0x3e7,'interceptor':_0x209b54({'isMatch'(_0xe6aa35){const _0x549210=_0xe9d7c2;var _0x1e96b2;if(_0xe6aa35[_0x549210(0x490)]===_0x549210(0x186)&&((_0x1e96b2=_0xe6aa35[_0x549210(0x2b2)])!=null&&_0x1e96b2[_0x549210(0x2c7)])){const {objectID:_0x496de7,objectType:_0x227149}=_0xe6aa35['requestParams'][_0x549210(0x2c7)]||{};if(!_0x496de7||_0x227149===void 0x0)return!0x1;const _0x2faac5=_0x4a808d['_getAPIPrefixPath']()+'/'+_0x227149+'/object/'+_0x496de7+_0x549210(0x432);if(_0xe6aa35[_0x549210(0x2ed)]===_0x2faac5)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4b6a00){const _0x97628e=_0xe9d7c2;var _0x9e1370;return(_0x9e1370=_0x4b6a00[_0x97628e(0x2b2)])==null?void 0x0:_0x9e1370[_0x97628e(0x2c7)];},'mergeParamsToRequest'(_0x57df22,_0x341cfa){const _0x235875=_0xe9d7c2,_0x6d68f3=_0x4a808d['_getAPIPrefixPath']()+_0x235875(0x3e6),_0x58defd=_0x57df22[_0x235875(0x17c)]((_0x12f4fc,_0x325250)=>{const _0xac7aaa=_0x235875,{unitID:_0x2234f5,objectID:_0x2d73f3,objectType:_0x8d3bd3,actions:_0x3a487c}=_0x325250;return _0x12f4fc[_0x2234f5]||(_0x12f4fc[_0x2234f5]={}),_0x12f4fc[_0x2234f5][_0x2d73f3]||(_0x12f4fc[_0x2234f5][_0x2d73f3]={'objectID':_0x2d73f3,'objectType':_0x8d3bd3,'actions':[]}),_0x12f4fc[_0x2234f5][_0x2d73f3]['actions'][_0xac7aaa(0x44a)](..._0x3a487c),_0x12f4fc;},{}),_0x51e891=[];for(const _0x20504f in _0x58defd)for(const _0x1c4e18 in _0x58defd[_0x20504f]){const {actions:_0x4995ef,objectType:_0xb6484f}=_0x58defd[_0x20504f][_0x1c4e18],_0x27eada=[...new Set(_0x4995ef)];_0x51e891[_0x235875(0x44a)]({'unitID':_0x20504f,'objectID':_0x1c4e18,'objectType':_0xb6484f,'actions':_0x27eada});}return new _0x1f6bc0(_0x235875(0x186),_0x6d68f3,{'headers':_0x341cfa[_0x235875(0x4d3)],'withCredentials':_0x341cfa[_0x235875(0x293)],'responseType':_0x341cfa[_0x235875(0x400)],'body':{'requests':_0x51e891}});}},{'distributeResult'(_0x5cf752,_0x4d125b){const _0x12b92c=_0xe9d7c2,{objectActions:_0x626c1b}=_0x5cf752;return _0x4d125b[_0x12b92c(0x208)](_0x356cea=>{const _0x4f6dd2=_0x12b92c,{unitID:_0x29d310,objectID:_0x314502,actions:_0x5b9851}=_0x356cea,_0x4994ae=_0x626c1b[_0x4f6dd2(0x508)](_0x3f5de3=>_0x3f5de3[_0x4f6dd2(0x41c)]===_0x29d310&&_0x3f5de3['objectID']===_0x314502),_0x46d69f=_0x5b9851['map'](_0x15e7b7=>_0x4994ae==null?void 0x0:_0x4994ae[_0x4f6dd2(0x456)][_0x4f6dd2(0x508)](_0x57cbab=>_0x57cbab['action']===_0x15e7b7))[_0x4f6dd2(0x2b0)](_0x40ddb0=>!!_0x40ddb0);return{'config':_0x356cea,'result':{'actions':_0x46d69f,'error':_0x5cf752[_0x4f6dd2(0x237)]}};});}})}));}[_0x5b1a3a(0x3b8)](){const _0x1fcca2=_0x5b1a3a;var _0x264b21,_0x5dda26;const _0x181e1c=this['_configService'][_0x1fcca2(0x451)](Ua),_0x3cc9f5=this[_0x1fcca2(0x4c4)][_0x1fcca2(0x451)](ie);return(_0x5dda26=(_0x264b21=_0x3cc9f5==null?void 0x0:_0x3cc9f5[_0x1fcca2(0x3e7)])!=null?_0x264b21:_0x181e1c)!=null?_0x5dda26:Na;}async['create'](_0x32c1a9){const _0x2ac07e=_0x5b1a3a,_0x36b866=this[_0x2ac07e(0x3b8)]()+'/'+_0x32c1a9[_0x2ac07e(0x37b)]+'/object';return(await this[_0x2ac07e(0x53f)]['post'](_0x36b866,{'body':_0x32c1a9}))[_0x2ac07e(0x2c7)][_0x2ac07e(0x4a5)]||'';}async['list'](_0x199462){const _0x16be3e=_0x5b1a3a,_0x44df99=this[_0x16be3e(0x3b8)]()+_0x16be3e(0x4b5);return(await this[_0x16be3e(0x53f)][_0x16be3e(0x493)](_0x44df99,{'body':_0x199462}))[_0x16be3e(0x2c7)][_0x16be3e(0x543)];}async[_0x5b1a3a(0x426)](_0x18752b){const _0x1696cc=_0x5b1a3a,_0x21939c=this[_0x1696cc(0x3b8)]()+'/'+_0x18752b[_0x1696cc(0x37b)]+_0x1696cc(0x404)+_0x18752b['objectID'];await this[_0x1696cc(0x53f)]['put'](_0x21939c,{'body':_0x18752b});}async[_0x5b1a3a(0x36a)](_0x2732bf){const _0x177de2=_0x5b1a3a,_0xc343c5=this[_0x177de2(0x3b8)]()+'/'+_0x2732bf[_0x177de2(0x37b)]+_0x177de2(0x404)+_0x2732bf[_0x177de2(0x4a5)]+'/allowed';return(await this[_0x177de2(0x53f)]['post'](_0xc343c5,{'body':_0x2732bf}))[_0x177de2(0x2c7)][_0x177de2(0x456)];}async[_0x5b1a3a(0x21e)](_0x2e8a26){const _0xa547d7=_0x5b1a3a,_0x541dd1=this[_0xa547d7(0x3b8)]()+_0xa547d7(0x3e6);return(await this[_0xa547d7(0x53f)][_0xa547d7(0x493)](_0x541dd1,{'body':{'requests':_0x2e8a26}}))['body'][_0xa547d7(0x232)];}async[_0x5b1a3a(0x324)](_0x635c24){const _0x19beec=_0x5b1a3a,_0x3bec34=this[_0x19beec(0x3b8)]()+'/'+_0x635c24['objectType']+'/role',_0x44a921=await this[_0x19beec(0x53f)][_0x19beec(0x493)](_0x3bec34,{'body':_0x635c24});return{'roles':_0x44a921['body'][_0x19beec(0x1f4)],'actions':_0x44a921[_0x19beec(0x2c7)][_0x19beec(0x456)]};}async[_0x5b1a3a(0x4b2)](_0x56c5b6){const _0x47ff76=_0x5b1a3a,_0xca911c=this[_0x47ff76(0x3b8)]()+_0x47ff76(0x282);await this[_0x47ff76(0x53f)][_0x47ff76(0x3a1)](_0xca911c,{'params':{'collaboratorID':_0x56c5b6[_0x47ff76(0x51f)],'objectID':_0x56c5b6[_0x47ff76(0x4a5)],'unitID':_0x56c5b6[_0x47ff76(0x41c)]}});}async[_0x5b1a3a(0x32e)](_0x59b348){const _0x284a6e=_0x5b1a3a,_0x8f37e2=this[_0x284a6e(0x3b8)]()+_0x284a6e(0x282);await this[_0x284a6e(0x53f)][_0x284a6e(0x423)](_0x8f37e2,{'body':_0x59b348});}async[_0x5b1a3a(0x2cd)](_0x2d0243){const _0x5c33f0=_0x5b1a3a,_0x25f144=this[_0x5c33f0(0x3b8)]()+_0x5c33f0(0x282);await this[_0x5c33f0(0x53f)][_0x5c33f0(0x493)](_0x25f144,{'body':_0x2d0243});}async[_0x5b1a3a(0x4f8)](_0x2c69d9){const _0x16be69=_0x5b1a3a,_0x1ab6e9=this[_0x16be69(0x3b8)]()+_0x16be69(0x282);return(await this['_HTTPService'][_0x16be69(0x50f)](_0x1ab6e9,{'params':{'objectID':_0x2c69d9[_0x16be69(0x4a5)],'unitID':_0x2c69d9[_0x16be69(0x41c)]}}))[_0x16be69(0x2c7)][_0x16be69(0x35d)];}async['putCollaborators'](_0x478434){const _0x5724b5=_0x5b1a3a,_0x1efca1=this['_getAPIPrefixPath']()+_0x5724b5(0x282);await this[_0x5724b5(0x53f)][_0x5724b5(0x4aa)](_0x1efca1,{'body':_0x478434});}};cs=Pa([qs(0x0,_0x28839c(_0xcd006c)),qs(0x1,_0x28839c(_0x5d6cbd))],cs);var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x42fd43){const _0x133deb=_0x5b1a3a;return _0x42fd43&&_0x42fd43[_0x133deb(0x515)]&&Object[_0x133deb(0x537)][_0x133deb(0x1d8)]['call'](_0x42fd43,_0x133deb(0x24c))?_0x42fd43[_0x133deb(0x24c)]:_0x42fd43;}var ji={'exports':{}};function Aa(_0x1ec51a){const _0xb33227=_0x5b1a3a;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x1ec51a+_0xb33227(0x20d));}var Ft={'exports':{}},Xs;function ue(){const _0x433d22=_0x5b1a3a;return Xs||(Xs=0x1,function(_0x316024,_0x2e1e5f){(function(_0x152a51,_0x33dc76){const _0x16499d=_0xa0d1;_0x316024[_0x16499d(0x577)]=_0x33dc76();}(Z,function(){var _0x423f5f=_0x423f5f||function(_0x5e0584,_0x49c93d){const _0x25eae1=_0xa0d1;var _0x5d071c;if(typeof window<'u'&&window[_0x25eae1(0x342)]&&(_0x5d071c=window['crypto']),typeof self<'u'&&self[_0x25eae1(0x342)]&&(_0x5d071c=self[_0x25eae1(0x342)]),typeof globalThis<'u'&&globalThis[_0x25eae1(0x342)]&&(_0x5d071c=globalThis[_0x25eae1(0x342)]),!_0x5d071c&&typeof window<'u'&&window[_0x25eae1(0x2b8)]&&(_0x5d071c=window[_0x25eae1(0x2b8)]),!_0x5d071c&&typeof Z<'u'&&Z[_0x25eae1(0x342)]&&(_0x5d071c=Z[_0x25eae1(0x342)]),!_0x5d071c&&typeof Aa==_0x25eae1(0x3b7))try{_0x5d071c=require(_0x25eae1(0x342));}catch{}var _0x23c77a=function(){const _0x6d6e79=_0x25eae1;if(_0x5d071c){if(typeof _0x5d071c[_0x6d6e79(0x3c0)]==_0x6d6e79(0x3b7))try{return _0x5d071c[_0x6d6e79(0x3c0)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5d071c[_0x6d6e79(0x382)]==_0x6d6e79(0x3b7))try{return _0x5d071c[_0x6d6e79(0x382)](0x4)[_0x6d6e79(0x3fc)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x3ad9d4=Object[_0x25eae1(0x4d7)]||(function(){function _0x38adcd(){}return function(_0xb37ba){const _0x28a0ea=_0xa0d1;var _0x5802af;return _0x38adcd['prototype']=_0xb37ba,_0x5802af=new _0x38adcd(),_0x38adcd[_0x28a0ea(0x537)]=null,_0x5802af;};}()),_0xbee058={},_0x372cab=_0xbee058[_0x25eae1(0x476)]={},_0x1df354=_0x372cab['Base']=(function(){return{'extend':function(_0x491f61){const _0x1e4793=_0xa0d1;var _0x1cafae=_0x3ad9d4(this);return _0x491f61&&_0x1cafae[_0x1e4793(0x4e3)](_0x491f61),(!_0x1cafae[_0x1e4793(0x1d8)](_0x1e4793(0x1bc))||this[_0x1e4793(0x1bc)]===_0x1cafae[_0x1e4793(0x1bc)])&&(_0x1cafae[_0x1e4793(0x1bc)]=function(){const _0x59cfd5=_0x1e4793;_0x1cafae[_0x59cfd5(0x3f7)]['init'][_0x59cfd5(0x561)](this,arguments);}),_0x1cafae[_0x1e4793(0x1bc)][_0x1e4793(0x537)]=_0x1cafae,_0x1cafae[_0x1e4793(0x3f7)]=this,_0x1cafae;},'create':function(){const _0x5d6ea7=_0xa0d1;var _0x5017c6=this[_0x5d6ea7(0x2f0)]();return _0x5017c6[_0x5d6ea7(0x1bc)][_0x5d6ea7(0x561)](_0x5017c6,arguments),_0x5017c6;},'init':function(){},'mixIn':function(_0x2746d5){const _0x42a8ac=_0xa0d1;for(var _0x4efba6 in _0x2746d5)_0x2746d5[_0x42a8ac(0x1d8)](_0x4efba6)&&(this[_0x4efba6]=_0x2746d5[_0x4efba6]);_0x2746d5['hasOwnProperty']('toString')&&(this[_0x42a8ac(0x4fb)]=_0x2746d5[_0x42a8ac(0x4fb)]);},'clone':function(){const _0xa9d9b4=_0xa0d1;return this['init'][_0xa9d9b4(0x537)][_0xa9d9b4(0x2f0)](this);}};}()),_0x2940e3=_0x372cab[_0x25eae1(0x29c)]=_0x1df354[_0x25eae1(0x2f0)]({'init':function(_0x13a8f5,_0x56eba9){const _0x5af6e6=_0x25eae1;_0x13a8f5=this['words']=_0x13a8f5||[],_0x56eba9!=_0x49c93d?this[_0x5af6e6(0x44d)]=_0x56eba9:this[_0x5af6e6(0x44d)]=_0x13a8f5[_0x5af6e6(0x29a)]*0x4;},'toString':function(_0x3d91fd){return(_0x3d91fd||_0x49ad19)['stringify'](this);},'concat':function(_0xc65571){const _0x225485=_0x25eae1;var _0x152ff7=this[_0x225485(0x1a3)],_0x2a8ccf=_0xc65571['words'],_0x1f5778=this[_0x225485(0x44d)],_0x1623a8=_0xc65571[_0x225485(0x44d)];if(this['clamp'](),_0x1f5778%0x4)for(var _0x563f82=0x0;_0x563f82<_0x1623a8;_0x563f82++){var _0x351b43=_0x2a8ccf[_0x563f82>>>0x2]>>>0x18-_0x563f82%0x4*0x8&0xff;_0x152ff7[_0x1f5778+_0x563f82>>>0x2]|=_0x351b43<<0x18-(_0x1f5778+_0x563f82)%0x4*0x8;}else{for(var _0x9310e1=0x0;_0x9310e1<_0x1623a8;_0x9310e1+=0x4)_0x152ff7[_0x1f5778+_0x9310e1>>>0x2]=_0x2a8ccf[_0x9310e1>>>0x2];}return this[_0x225485(0x44d)]+=_0x1623a8,this;},'clamp':function(){const _0x665e91=_0x25eae1;var _0xa1bbf7=this['words'],_0x105733=this[_0x665e91(0x44d)];_0xa1bbf7[_0x105733>>>0x2]&=0xffffffff<<0x20-_0x105733%0x4*0x8,_0xa1bbf7[_0x665e91(0x29a)]=_0x5e0584[_0x665e91(0x1f1)](_0x105733/0x4);},'clone':function(){const _0x325636=_0x25eae1;var _0x1a3489=_0x1df354['clone'][_0x325636(0x27f)](this);return _0x1a3489[_0x325636(0x1a3)]=this[_0x325636(0x1a3)]['slice'](0x0),_0x1a3489;},'random':function(_0x1ee9df){const _0xc14a9b=_0x25eae1;for(var _0x540b42=[],_0x2603a9=0x0;_0x2603a9<_0x1ee9df;_0x2603a9+=0x4)_0x540b42[_0xc14a9b(0x44a)](_0x23c77a());return new _0x2940e3[(_0xc14a9b(0x1bc))](_0x540b42,_0x1ee9df);}}),_0x317d7c=_0xbee058['enc']={},_0x49ad19=_0x317d7c[_0x25eae1(0x53b)]={'stringify':function(_0x59ff74){const _0x142209=_0x25eae1;for(var _0x1bb0af=_0x59ff74[_0x142209(0x1a3)],_0x3af584=_0x59ff74['sigBytes'],_0x13b158=[],_0x3a3468=0x0;_0x3a3468<_0x3af584;_0x3a3468++){var _0x5c25ff=_0x1bb0af[_0x3a3468>>>0x2]>>>0x18-_0x3a3468%0x4*0x8&0xff;_0x13b158['push']((_0x5c25ff>>>0x4)[_0x142209(0x4fb)](0x10)),_0x13b158['push']((_0x5c25ff&0xf)[_0x142209(0x4fb)](0x10));}return _0x13b158['join']('');},'parse':function(_0x420ee9){const _0x310eca=_0x25eae1;for(var _0x18b8a8=_0x420ee9['length'],_0x72c06a=[],_0x33b431=0x0;_0x33b431<_0x18b8a8;_0x33b431+=0x2)_0x72c06a[_0x33b431>>>0x3]|=parseInt(_0x420ee9[_0x310eca(0x40c)](_0x33b431,0x2),0x10)<<0x18-_0x33b431%0x8*0x4;return new _0x2940e3['init'](_0x72c06a,_0x18b8a8/0x2);}},_0x5bb60b=_0x317d7c['Latin1']={'stringify':function(_0x2ac6b0){const _0xd72849=_0x25eae1;for(var _0x1b21fa=_0x2ac6b0[_0xd72849(0x1a3)],_0x4ca755=_0x2ac6b0[_0xd72849(0x44d)],_0x1a3843=[],_0x3a1489=0x0;_0x3a1489<_0x4ca755;_0x3a1489++){var _0x4ec267=_0x1b21fa[_0x3a1489>>>0x2]>>>0x18-_0x3a1489%0x4*0x8&0xff;_0x1a3843[_0xd72849(0x44a)](String[_0xd72849(0x3a9)](_0x4ec267));}return _0x1a3843[_0xd72849(0x48f)]('');},'parse':function(_0x2bc7f4){const _0x2f459a=_0x25eae1;for(var _0xaa03cd=_0x2bc7f4[_0x2f459a(0x29a)],_0x232860=[],_0x143aa8=0x0;_0x143aa8<_0xaa03cd;_0x143aa8++)_0x232860[_0x143aa8>>>0x2]|=(_0x2bc7f4['charCodeAt'](_0x143aa8)&0xff)<<0x18-_0x143aa8%0x4*0x8;return new _0x2940e3[(_0x2f459a(0x1bc))](_0x232860,_0xaa03cd);}},_0x3f6afc=_0x317d7c[_0x25eae1(0x4c1)]={'stringify':function(_0x105c34){const _0x25166a=_0x25eae1;try{return decodeURIComponent(escape(_0x5bb60b[_0x25166a(0x3d4)](_0x105c34)));}catch{throw new Error(_0x25166a(0x43f));}},'parse':function(_0x1098f2){const _0x5c21eb=_0x25eae1;return _0x5bb60b[_0x5c21eb(0x2e1)](unescape(encodeURIComponent(_0x1098f2)));}},_0x102409=_0x372cab['BufferedBlockAlgorithm']=_0x1df354[_0x25eae1(0x2f0)]({'reset':function(){const _0x9aa139=_0x25eae1;this[_0x9aa139(0x1b4)]=new _0x2940e3[(_0x9aa139(0x1bc))](),this['_nDataBytes']=0x0;},'_append':function(_0x3edd30){const _0x1078d7=_0x25eae1;typeof _0x3edd30==_0x1078d7(0x4fa)&&(_0x3edd30=_0x3f6afc[_0x1078d7(0x2e1)](_0x3edd30)),this[_0x1078d7(0x1b4)][_0x1078d7(0x200)](_0x3edd30),this[_0x1078d7(0x351)]+=_0x3edd30[_0x1078d7(0x44d)];},'_process':function(_0x4502c3){const _0x47d94a=_0x25eae1;var _0x324dcb,_0x1f3a42=this[_0x47d94a(0x1b4)],_0x1db45e=_0x1f3a42[_0x47d94a(0x1a3)],_0x554c1f=_0x1f3a42['sigBytes'],_0xcedeec=this[_0x47d94a(0x4f6)],_0x4685e8=_0xcedeec*0x4,_0x3b6ae6=_0x554c1f/_0x4685e8;_0x4502c3?_0x3b6ae6=_0x5e0584[_0x47d94a(0x1f1)](_0x3b6ae6):_0x3b6ae6=_0x5e0584[_0x47d94a(0x3ec)]((_0x3b6ae6|0x0)-this[_0x47d94a(0x23d)],0x0);var _0x583755=_0x3b6ae6*_0xcedeec,_0x3b47f1=_0x5e0584['min'](_0x583755*0x4,_0x554c1f);if(_0x583755){for(var _0x3ed508=0x0;_0x3ed508<_0x583755;_0x3ed508+=_0xcedeec)this[_0x47d94a(0x4a8)](_0x1db45e,_0x3ed508);_0x324dcb=_0x1db45e['splice'](0x0,_0x583755),_0x1f3a42[_0x47d94a(0x44d)]-=_0x3b47f1;}return new _0x2940e3[(_0x47d94a(0x1bc))](_0x324dcb,_0x3b47f1);},'clone':function(){const _0x61c9be=_0x25eae1;var _0x3adacf=_0x1df354[_0x61c9be(0x581)]['call'](this);return _0x3adacf[_0x61c9be(0x1b4)]=this[_0x61c9be(0x1b4)][_0x61c9be(0x581)](),_0x3adacf;},'_minBufferSize':0x0});_0x372cab['Hasher']=_0x102409[_0x25eae1(0x2f0)]({'cfg':_0x1df354['extend'](),'init':function(_0x4915be){const _0x45515a=_0x25eae1;this[_0x45515a(0x3c9)]=this['cfg'][_0x45515a(0x2f0)](_0x4915be),this[_0x45515a(0x25f)]();},'reset':function(){const _0x1f56da=_0x25eae1;_0x102409['reset']['call'](this),this[_0x1f56da(0x19b)]();},'update':function(_0x6bfa44){const _0x423f45=_0x25eae1;return this[_0x423f45(0x235)](_0x6bfa44),this[_0x423f45(0x286)](),this;},'finalize':function(_0x5dab36){const _0x2454ff=_0x25eae1;_0x5dab36&&this['_append'](_0x5dab36);var _0x15725c=this[_0x2454ff(0x1f7)]();return _0x15725c;},'blockSize':0x10,'_createHelper':function(_0x298f04){return function(_0xf2d577,_0x2a9971){const _0x427ba7=_0xa0d1;return new _0x298f04['init'](_0x2a9971)[_0x427ba7(0x29e)](_0xf2d577);};},'_createHmacHelper':function(_0x5d5331){return function(_0x1d5d07,_0x34bc83){const _0x24bca0=_0xa0d1;return new _0x29b74c[(_0x24bca0(0x36d))][(_0x24bca0(0x1bc))](_0x5d5331,_0x34bc83)[_0x24bca0(0x29e)](_0x1d5d07);};}});var _0x29b74c=_0xbee058['algo']={};return _0xbee058;}(Math);return _0x423f5f;}));}(Ft)),Ft[_0x433d22(0x577)];}var Vt={'exports':{}},Js;function Bi(){return Js||(Js=0x1,function(_0x3c2aca,_0x22a137){(function(_0x2cfabf,_0x7b966){const _0x2c8323=_0xa0d1;_0x3c2aca[_0x2c8323(0x577)]=_0x7b966(ue());}(Z,function(_0x4476a5){const _0x4caff3=_0xa0d1;return(function(){const _0x4c7ca6=_0xa0d1;var _0x3b5545=_0x4476a5,_0x37a069=_0x3b5545[_0x4c7ca6(0x476)],_0x544836=_0x37a069[_0x4c7ca6(0x29c)],_0x2f3fda=_0x3b5545['enc'];_0x2f3fda[_0x4c7ca6(0x272)]={'stringify':function(_0x295f1e){const _0x17c26d=_0x4c7ca6;var _0x3bc02a=_0x295f1e['words'],_0x2d70bf=_0x295f1e[_0x17c26d(0x44d)],_0x51bf88=this['_map'];_0x295f1e[_0x17c26d(0x377)]();for(var _0x519544=[],_0x40928e=0x0;_0x40928e<_0x2d70bf;_0x40928e+=0x3)for(var _0x236820=_0x3bc02a[_0x40928e>>>0x2]>>>0x18-_0x40928e%0x4*0x8&0xff,_0x3cd8f2=_0x3bc02a[_0x40928e+0x1>>>0x2]>>>0x18-(_0x40928e+0x1)%0x4*0x8&0xff,_0x194c07=_0x3bc02a[_0x40928e+0x2>>>0x2]>>>0x18-(_0x40928e+0x2)%0x4*0x8&0xff,_0x56ae1=_0x236820<<0x10|_0x3cd8f2<<0x8|_0x194c07,_0x2a4a83=0x0;_0x2a4a83<0x4&&_0x40928e+_0x2a4a83*0.75<_0x2d70bf;_0x2a4a83++)_0x519544[_0x17c26d(0x44a)](_0x51bf88[_0x17c26d(0x264)](_0x56ae1>>>0x6*(0x3-_0x2a4a83)&0x3f));var _0x33eb34=_0x51bf88[_0x17c26d(0x264)](0x40);if(_0x33eb34){for(;_0x519544[_0x17c26d(0x29a)]%0x4;)_0x519544[_0x17c26d(0x44a)](_0x33eb34);}return _0x519544[_0x17c26d(0x48f)]('');},'parse':function(_0x32ede4){const _0x48e567=_0x4c7ca6;var _0x36d99a=_0x32ede4[_0x48e567(0x29a)],_0x189d7e=this[_0x48e567(0x4e0)],_0x13fa52=this['_reverseMap'];if(!_0x13fa52){_0x13fa52=this[_0x48e567(0x1c7)]=[];for(var _0x3ca536=0x0;_0x3ca536<_0x189d7e['length'];_0x3ca536++)_0x13fa52[_0x189d7e['charCodeAt'](_0x3ca536)]=_0x3ca536;}var _0x1e6816=_0x189d7e['charAt'](0x40);if(_0x1e6816){var _0xeab0c5=_0x32ede4[_0x48e567(0x442)](_0x1e6816);_0xeab0c5!==-0x1&&(_0x36d99a=_0xeab0c5);}return _0x374145(_0x32ede4,_0x36d99a,_0x13fa52);},'_map':_0x4c7ca6(0x392)};function _0x374145(_0x3ab8c0,_0x4a4422,_0x533e12){const _0x11505c=_0x4c7ca6;for(var _0x15f1cd=[],_0xced1d1=0x0,_0x5dd599=0x0;_0x5dd599<_0x4a4422;_0x5dd599++)if(_0x5dd599%0x4){var _0x4abf1c=_0x533e12[_0x3ab8c0[_0x11505c(0x526)](_0x5dd599-0x1)]<<_0x5dd599%0x4*0x2,_0x3df7e3=_0x533e12[_0x3ab8c0[_0x11505c(0x526)](_0x5dd599)]>>>0x6-_0x5dd599%0x4*0x2,_0x33a88c=_0x4abf1c|_0x3df7e3;_0x15f1cd[_0xced1d1>>>0x2]|=_0x33a88c<<0x18-_0xced1d1%0x4*0x8,_0xced1d1++;}return _0x544836[_0x11505c(0x4d7)](_0x15f1cd,_0xced1d1);}}()),_0x4476a5[_0x4caff3(0x1c4)][_0x4caff3(0x272)];}));}(Vt)),Vt['exports'];}var Gt={'exports':{}},Zs;function Ma(){const _0x1c0bac=_0x5b1a3a;return Zs||(Zs=0x1,function(_0x23a35e,_0x5c5579){(function(_0x166df6,_0x264c6){const _0x44b4cd=_0xa0d1;_0x23a35e[_0x44b4cd(0x577)]=_0x264c6(ue());}(Z,function(_0x5ef98c){return function(_0x1f6ae4){const _0x44ba32=_0xa0d1;var _0x3fd186=_0x5ef98c,_0x1d93cd=_0x3fd186[_0x44ba32(0x476)],_0x274c28=_0x1d93cd[_0x44ba32(0x29c)],_0xeeb231=_0x1d93cd[_0x44ba32(0x265)],_0x201283=_0x3fd186[_0x44ba32(0x3b9)],_0x3c6b3a=[];(function(){const _0x16b551=_0x44ba32;for(var _0x243b9e=0x0;_0x243b9e<0x40;_0x243b9e++)_0x3c6b3a[_0x243b9e]=_0x1f6ae4[_0x16b551(0x26e)](_0x1f6ae4[_0x16b551(0x254)](_0x243b9e+0x1))*0x100000000|0x0;}());var _0x57fb37=_0x201283[_0x44ba32(0x4bb)]=_0xeeb231[_0x44ba32(0x2f0)]({'_doReset':function(){const _0x2fc9e4=_0x44ba32;this['_hash']=new _0x274c28[(_0x2fc9e4(0x1bc))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x1f56c1,_0x572090){const _0x512a1c=_0x44ba32;for(var _0xfd463f=0x0;_0xfd463f<0x10;_0xfd463f++){var _0x2fa6db=_0x572090+_0xfd463f,_0x3e9f27=_0x1f56c1[_0x2fa6db];_0x1f56c1[_0x2fa6db]=(_0x3e9f27<<0x8|_0x3e9f27>>>0x18)&0xff00ff|(_0x3e9f27<<0x18|_0x3e9f27>>>0x8)&0xff00ff00;}var _0x2dec97=this[_0x512a1c(0x1eb)][_0x512a1c(0x1a3)],_0x2a1e26=_0x1f56c1[_0x572090+0x0],_0x4dae66=_0x1f56c1[_0x572090+0x1],_0x4bcdd0=_0x1f56c1[_0x572090+0x2],_0x59c3ea=_0x1f56c1[_0x572090+0x3],_0x2e4a3e=_0x1f56c1[_0x572090+0x4],_0x4a27ef=_0x1f56c1[_0x572090+0x5],_0x850966=_0x1f56c1[_0x572090+0x6],_0x59ec48=_0x1f56c1[_0x572090+0x7],_0x281903=_0x1f56c1[_0x572090+0x8],_0x4783ba=_0x1f56c1[_0x572090+0x9],_0x554029=_0x1f56c1[_0x572090+0xa],_0x530fa3=_0x1f56c1[_0x572090+0xb],_0x12100d=_0x1f56c1[_0x572090+0xc],_0x52c042=_0x1f56c1[_0x572090+0xd],_0x7cc3e3=_0x1f56c1[_0x572090+0xe],_0x400acc=_0x1f56c1[_0x572090+0xf],_0x24f48b=_0x2dec97[0x0],_0xe6aebb=_0x2dec97[0x1],_0x587f56=_0x2dec97[0x2],_0x4f6476=_0x2dec97[0x3];_0x24f48b=_0x4be9c5(_0x24f48b,_0xe6aebb,_0x587f56,_0x4f6476,_0x2a1e26,0x7,_0x3c6b3a[0x0]),_0x4f6476=_0x4be9c5(_0x4f6476,_0x24f48b,_0xe6aebb,_0x587f56,_0x4dae66,0xc,_0x3c6b3a[0x1]),_0x587f56=_0x4be9c5(_0x587f56,_0x4f6476,_0x24f48b,_0xe6aebb,_0x4bcdd0,0x11,_0x3c6b3a[0x2]),_0xe6aebb=_0x4be9c5(_0xe6aebb,_0x587f56,_0x4f6476,_0x24f48b,_0x59c3ea,0x16,_0x3c6b3a[0x3]),_0x24f48b=_0x4be9c5(_0x24f48b,_0xe6aebb,_0x587f56,_0x4f6476,_0x2e4a3e,0x7,_0x3c6b3a[0x4]),_0x4f6476=_0x4be9c5(_0x4f6476,_0x24f48b,_0xe6aebb,_0x587f56,_0x4a27ef,0xc,_0x3c6b3a[0x5]),_0x587f56=_0x4be9c5(_0x587f56,_0x4f6476,_0x24f48b,_0xe6aebb,_0x850966,0x11,_0x3c6b3a[0x6]),_0xe6aebb=_0x4be9c5(_0xe6aebb,_0x587f56,_0x4f6476,_0x24f48b,_0x59ec48,0x16,_0x3c6b3a[0x7]),_0x24f48b=_0x4be9c5(_0x24f48b,_0xe6aebb,_0x587f56,_0x4f6476,_0x281903,0x7,_0x3c6b3a[0x8]),_0x4f6476=_0x4be9c5(_0x4f6476,_0x24f48b,_0xe6aebb,_0x587f56,_0x4783ba,0xc,_0x3c6b3a[0x9]),_0x587f56=_0x4be9c5(_0x587f56,_0x4f6476,_0x24f48b,_0xe6aebb,_0x554029,0x11,_0x3c6b3a[0xa]),_0xe6aebb=_0x4be9c5(_0xe6aebb,_0x587f56,_0x4f6476,_0x24f48b,_0x530fa3,0x16,_0x3c6b3a[0xb]),_0x24f48b=_0x4be9c5(_0x24f48b,_0xe6aebb,_0x587f56,_0x4f6476,_0x12100d,0x7,_0x3c6b3a[0xc]),_0x4f6476=_0x4be9c5(_0x4f6476,_0x24f48b,_0xe6aebb,_0x587f56,_0x52c042,0xc,_0x3c6b3a[0xd]),_0x587f56=_0x4be9c5(_0x587f56,_0x4f6476,_0x24f48b,_0xe6aebb,_0x7cc3e3,0x11,_0x3c6b3a[0xe]),_0xe6aebb=_0x4be9c5(_0xe6aebb,_0x587f56,_0x4f6476,_0x24f48b,_0x400acc,0x16,_0x3c6b3a[0xf]),_0x24f48b=_0x160f2a(_0x24f48b,_0xe6aebb,_0x587f56,_0x4f6476,_0x4dae66,0x5,_0x3c6b3a[0x10]),_0x4f6476=_0x160f2a(_0x4f6476,_0x24f48b,_0xe6aebb,_0x587f56,_0x850966,0x9,_0x3c6b3a[0x11]),_0x587f56=_0x160f2a(_0x587f56,_0x4f6476,_0x24f48b,_0xe6aebb,_0x530fa3,0xe,_0x3c6b3a[0x12]),_0xe6aebb=_0x160f2a(_0xe6aebb,_0x587f56,_0x4f6476,_0x24f48b,_0x2a1e26,0x14,_0x3c6b3a[0x13]),_0x24f48b=_0x160f2a(_0x24f48b,_0xe6aebb,_0x587f56,_0x4f6476,_0x4a27ef,0x5,_0x3c6b3a[0x14]),_0x4f6476=_0x160f2a(_0x4f6476,_0x24f48b,_0xe6aebb,_0x587f56,_0x554029,0x9,_0x3c6b3a[0x15]),_0x587f56=_0x160f2a(_0x587f56,_0x4f6476,_0x24f48b,_0xe6aebb,_0x400acc,0xe,_0x3c6b3a[0x16]),_0xe6aebb=_0x160f2a(_0xe6aebb,_0x587f56,_0x4f6476,_0x24f48b,_0x2e4a3e,0x14,_0x3c6b3a[0x17]),_0x24f48b=_0x160f2a(_0x24f48b,_0xe6aebb,_0x587f56,_0x4f6476,_0x4783ba,0x5,_0x3c6b3a[0x18]),_0x4f6476=_0x160f2a(_0x4f6476,_0x24f48b,_0xe6aebb,_0x587f56,_0x7cc3e3,0x9,_0x3c6b3a[0x19]),_0x587f56=_0x160f2a(_0x587f56,_0x4f6476,_0x24f48b,_0xe6aebb,_0x59c3ea,0xe,_0x3c6b3a[0x1a]),_0xe6aebb=_0x160f2a(_0xe6aebb,_0x587f56,_0x4f6476,_0x24f48b,_0x281903,0x14,_0x3c6b3a[0x1b]),_0x24f48b=_0x160f2a(_0x24f48b,_0xe6aebb,_0x587f56,_0x4f6476,_0x52c042,0x5,_0x3c6b3a[0x1c]),_0x4f6476=_0x160f2a(_0x4f6476,_0x24f48b,_0xe6aebb,_0x587f56,_0x4bcdd0,0x9,_0x3c6b3a[0x1d]),_0x587f56=_0x160f2a(_0x587f56,_0x4f6476,_0x24f48b,_0xe6aebb,_0x59ec48,0xe,_0x3c6b3a[0x1e]),_0xe6aebb=_0x160f2a(_0xe6aebb,_0x587f56,_0x4f6476,_0x24f48b,_0x12100d,0x14,_0x3c6b3a[0x1f]),_0x24f48b=_0x43945a(_0x24f48b,_0xe6aebb,_0x587f56,_0x4f6476,_0x4a27ef,0x4,_0x3c6b3a[0x20]),_0x4f6476=_0x43945a(_0x4f6476,_0x24f48b,_0xe6aebb,_0x587f56,_0x281903,0xb,_0x3c6b3a[0x21]),_0x587f56=_0x43945a(_0x587f56,_0x4f6476,_0x24f48b,_0xe6aebb,_0x530fa3,0x10,_0x3c6b3a[0x22]),_0xe6aebb=_0x43945a(_0xe6aebb,_0x587f56,_0x4f6476,_0x24f48b,_0x7cc3e3,0x17,_0x3c6b3a[0x23]),_0x24f48b=_0x43945a(_0x24f48b,_0xe6aebb,_0x587f56,_0x4f6476,_0x4dae66,0x4,_0x3c6b3a[0x24]),_0x4f6476=_0x43945a(_0x4f6476,_0x24f48b,_0xe6aebb,_0x587f56,_0x2e4a3e,0xb,_0x3c6b3a[0x25]),_0x587f56=_0x43945a(_0x587f56,_0x4f6476,_0x24f48b,_0xe6aebb,_0x59ec48,0x10,_0x3c6b3a[0x26]),_0xe6aebb=_0x43945a(_0xe6aebb,_0x587f56,_0x4f6476,_0x24f48b,_0x554029,0x17,_0x3c6b3a[0x27]),_0x24f48b=_0x43945a(_0x24f48b,_0xe6aebb,_0x587f56,_0x4f6476,_0x52c042,0x4,_0x3c6b3a[0x28]),_0x4f6476=_0x43945a(_0x4f6476,_0x24f48b,_0xe6aebb,_0x587f56,_0x2a1e26,0xb,_0x3c6b3a[0x29]),_0x587f56=_0x43945a(_0x587f56,_0x4f6476,_0x24f48b,_0xe6aebb,_0x59c3ea,0x10,_0x3c6b3a[0x2a]),_0xe6aebb=_0x43945a(_0xe6aebb,_0x587f56,_0x4f6476,_0x24f48b,_0x850966,0x17,_0x3c6b3a[0x2b]),_0x24f48b=_0x43945a(_0x24f48b,_0xe6aebb,_0x587f56,_0x4f6476,_0x4783ba,0x4,_0x3c6b3a[0x2c]),_0x4f6476=_0x43945a(_0x4f6476,_0x24f48b,_0xe6aebb,_0x587f56,_0x12100d,0xb,_0x3c6b3a[0x2d]),_0x587f56=_0x43945a(_0x587f56,_0x4f6476,_0x24f48b,_0xe6aebb,_0x400acc,0x10,_0x3c6b3a[0x2e]),_0xe6aebb=_0x43945a(_0xe6aebb,_0x587f56,_0x4f6476,_0x24f48b,_0x4bcdd0,0x17,_0x3c6b3a[0x2f]),_0x24f48b=_0x4444de(_0x24f48b,_0xe6aebb,_0x587f56,_0x4f6476,_0x2a1e26,0x6,_0x3c6b3a[0x30]),_0x4f6476=_0x4444de(_0x4f6476,_0x24f48b,_0xe6aebb,_0x587f56,_0x59ec48,0xa,_0x3c6b3a[0x31]),_0x587f56=_0x4444de(_0x587f56,_0x4f6476,_0x24f48b,_0xe6aebb,_0x7cc3e3,0xf,_0x3c6b3a[0x32]),_0xe6aebb=_0x4444de(_0xe6aebb,_0x587f56,_0x4f6476,_0x24f48b,_0x4a27ef,0x15,_0x3c6b3a[0x33]),_0x24f48b=_0x4444de(_0x24f48b,_0xe6aebb,_0x587f56,_0x4f6476,_0x12100d,0x6,_0x3c6b3a[0x34]),_0x4f6476=_0x4444de(_0x4f6476,_0x24f48b,_0xe6aebb,_0x587f56,_0x59c3ea,0xa,_0x3c6b3a[0x35]),_0x587f56=_0x4444de(_0x587f56,_0x4f6476,_0x24f48b,_0xe6aebb,_0x554029,0xf,_0x3c6b3a[0x36]),_0xe6aebb=_0x4444de(_0xe6aebb,_0x587f56,_0x4f6476,_0x24f48b,_0x4dae66,0x15,_0x3c6b3a[0x37]),_0x24f48b=_0x4444de(_0x24f48b,_0xe6aebb,_0x587f56,_0x4f6476,_0x281903,0x6,_0x3c6b3a[0x38]),_0x4f6476=_0x4444de(_0x4f6476,_0x24f48b,_0xe6aebb,_0x587f56,_0x400acc,0xa,_0x3c6b3a[0x39]),_0x587f56=_0x4444de(_0x587f56,_0x4f6476,_0x24f48b,_0xe6aebb,_0x850966,0xf,_0x3c6b3a[0x3a]),_0xe6aebb=_0x4444de(_0xe6aebb,_0x587f56,_0x4f6476,_0x24f48b,_0x52c042,0x15,_0x3c6b3a[0x3b]),_0x24f48b=_0x4444de(_0x24f48b,_0xe6aebb,_0x587f56,_0x4f6476,_0x2e4a3e,0x6,_0x3c6b3a[0x3c]),_0x4f6476=_0x4444de(_0x4f6476,_0x24f48b,_0xe6aebb,_0x587f56,_0x530fa3,0xa,_0x3c6b3a[0x3d]),_0x587f56=_0x4444de(_0x587f56,_0x4f6476,_0x24f48b,_0xe6aebb,_0x4bcdd0,0xf,_0x3c6b3a[0x3e]),_0xe6aebb=_0x4444de(_0xe6aebb,_0x587f56,_0x4f6476,_0x24f48b,_0x4783ba,0x15,_0x3c6b3a[0x3f]),_0x2dec97[0x0]=_0x2dec97[0x0]+_0x24f48b|0x0,_0x2dec97[0x1]=_0x2dec97[0x1]+_0xe6aebb|0x0,_0x2dec97[0x2]=_0x2dec97[0x2]+_0x587f56|0x0,_0x2dec97[0x3]=_0x2dec97[0x3]+_0x4f6476|0x0;},'_doFinalize':function(){const _0x33ea57=_0x44ba32;var _0x588c2b=this[_0x33ea57(0x1b4)],_0x31ef8a=_0x588c2b[_0x33ea57(0x1a3)],_0x312dd1=this['_nDataBytes']*0x8,_0x170421=_0x588c2b['sigBytes']*0x8;_0x31ef8a[_0x170421>>>0x5]|=0x80<<0x18-_0x170421%0x20;var _0x28f7bc=_0x1f6ae4[_0x33ea57(0x308)](_0x312dd1/0x100000000),_0x2dbaa9=_0x312dd1;_0x31ef8a[(_0x170421+0x40>>>0x9<<0x4)+0xf]=(_0x28f7bc<<0x8|_0x28f7bc>>>0x18)&0xff00ff|(_0x28f7bc<<0x18|_0x28f7bc>>>0x8)&0xff00ff00,_0x31ef8a[(_0x170421+0x40>>>0x9<<0x4)+0xe]=(_0x2dbaa9<<0x8|_0x2dbaa9>>>0x18)&0xff00ff|(_0x2dbaa9<<0x18|_0x2dbaa9>>>0x8)&0xff00ff00,_0x588c2b[_0x33ea57(0x44d)]=(_0x31ef8a['length']+0x1)*0x4,this[_0x33ea57(0x286)]();for(var _0x49036a=this['_hash'],_0x301b70=_0x49036a['words'],_0x4daa4a=0x0;_0x4daa4a<0x4;_0x4daa4a++){var _0x590d19=_0x301b70[_0x4daa4a];_0x301b70[_0x4daa4a]=(_0x590d19<<0x8|_0x590d19>>>0x18)&0xff00ff|(_0x590d19<<0x18|_0x590d19>>>0x8)&0xff00ff00;}return _0x49036a;},'clone':function(){const _0x569acc=_0x44ba32;var _0x354f9d=_0xeeb231[_0x569acc(0x581)][_0x569acc(0x27f)](this);return _0x354f9d['_hash']=this[_0x569acc(0x1eb)]['clone'](),_0x354f9d;}});function _0x4be9c5(_0x2e07f2,_0x2cac80,_0x245057,_0xf07653,_0x1bb575,_0x27f7ac,_0x4fbfcb){var _0x572cf9=_0x2e07f2+(_0x2cac80&_0x245057|~_0x2cac80&_0xf07653)+_0x1bb575+_0x4fbfcb;return(_0x572cf9<<_0x27f7ac|_0x572cf9>>>0x20-_0x27f7ac)+_0x2cac80;}function _0x160f2a(_0x22a72a,_0x19f780,_0x271aec,_0x162162,_0x3de1ff,_0x45e36e,_0x1f381e){var _0x2f5cce=_0x22a72a+(_0x19f780&_0x162162|_0x271aec&~_0x162162)+_0x3de1ff+_0x1f381e;return(_0x2f5cce<<_0x45e36e|_0x2f5cce>>>0x20-_0x45e36e)+_0x19f780;}function _0x43945a(_0x2e8e7f,_0x149df2,_0x30f764,_0xaa8854,_0x1cf795,_0x36a592,_0x4914df){var _0x5d510b=_0x2e8e7f+(_0x149df2^_0x30f764^_0xaa8854)+_0x1cf795+_0x4914df;return(_0x5d510b<<_0x36a592|_0x5d510b>>>0x20-_0x36a592)+_0x149df2;}function _0x4444de(_0x5b0a62,_0x492d46,_0xd2596e,_0x2c3444,_0x3838d5,_0x29213d,_0x15b926){var _0x44fe77=_0x5b0a62+(_0xd2596e^(_0x492d46|~_0x2c3444))+_0x3838d5+_0x15b926;return(_0x44fe77<<_0x29213d|_0x44fe77>>>0x20-_0x29213d)+_0x492d46;}_0x3fd186[_0x44ba32(0x4bb)]=_0xeeb231['_createHelper'](_0x57fb37),_0x3fd186[_0x44ba32(0x284)]=_0xeeb231[_0x44ba32(0x50c)](_0x57fb37);}(Math),_0x5ef98c['MD5'];}));}(Gt)),Gt[_0x1c0bac(0x577)];}var Yt={'exports':{}},Kt={'exports':{}},Qs;function xa(){const _0x3ec5e9=_0x5b1a3a;return Qs||(Qs=0x1,function(_0x2a8fe5,_0x148f15){(function(_0x84c0d5,_0x4a6476){const _0x191755=_0xa0d1;_0x2a8fe5[_0x191755(0x577)]=_0x4a6476(ue());}(Z,function(_0x683159){const _0x2e1ac2=_0xa0d1;return(function(){const _0x32795c=_0xa0d1;var _0xe1d6cc=_0x683159,_0x1a7274=_0xe1d6cc[_0x32795c(0x476)],_0x5cacc9=_0x1a7274['WordArray'],_0xe24c56=_0x1a7274[_0x32795c(0x265)],_0x501912=_0xe1d6cc[_0x32795c(0x3b9)],_0x5e2971=[],_0x170dec=_0x501912[_0x32795c(0x4f7)]=_0xe24c56[_0x32795c(0x2f0)]({'_doReset':function(){const _0x53583c=_0x32795c;this[_0x53583c(0x1eb)]=new _0x5cacc9['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2c3330,_0x1f58b0){const _0x19b7ad=_0x32795c;for(var _0x2e03b8=this[_0x19b7ad(0x1eb)][_0x19b7ad(0x1a3)],_0x2da9df=_0x2e03b8[0x0],_0x34d0a2=_0x2e03b8[0x1],_0x28a2bb=_0x2e03b8[0x2],_0x2ce691=_0x2e03b8[0x3],_0x252b49=_0x2e03b8[0x4],_0x554737=0x0;_0x554737<0x50;_0x554737++){if(_0x554737<0x10)_0x5e2971[_0x554737]=_0x2c3330[_0x1f58b0+_0x554737]|0x0;else{var _0x41882f=_0x5e2971[_0x554737-0x3]^_0x5e2971[_0x554737-0x8]^_0x5e2971[_0x554737-0xe]^_0x5e2971[_0x554737-0x10];_0x5e2971[_0x554737]=_0x41882f<<0x1|_0x41882f>>>0x1f;}var _0xeb06ec=(_0x2da9df<<0x5|_0x2da9df>>>0x1b)+_0x252b49+_0x5e2971[_0x554737];_0x554737<0x14?_0xeb06ec+=(_0x34d0a2&_0x28a2bb|~_0x34d0a2&_0x2ce691)+0x5a827999:_0x554737<0x28?_0xeb06ec+=(_0x34d0a2^_0x28a2bb^_0x2ce691)+0x6ed9eba1:_0x554737<0x3c?_0xeb06ec+=(_0x34d0a2&_0x28a2bb|_0x34d0a2&_0x2ce691|_0x28a2bb&_0x2ce691)-0x70e44324:_0xeb06ec+=(_0x34d0a2^_0x28a2bb^_0x2ce691)-0x359d3e2a,_0x252b49=_0x2ce691,_0x2ce691=_0x28a2bb,_0x28a2bb=_0x34d0a2<<0x1e|_0x34d0a2>>>0x2,_0x34d0a2=_0x2da9df,_0x2da9df=_0xeb06ec;}_0x2e03b8[0x0]=_0x2e03b8[0x0]+_0x2da9df|0x0,_0x2e03b8[0x1]=_0x2e03b8[0x1]+_0x34d0a2|0x0,_0x2e03b8[0x2]=_0x2e03b8[0x2]+_0x28a2bb|0x0,_0x2e03b8[0x3]=_0x2e03b8[0x3]+_0x2ce691|0x0,_0x2e03b8[0x4]=_0x2e03b8[0x4]+_0x252b49|0x0;},'_doFinalize':function(){const _0x2039c0=_0x32795c;var _0x3245eb=this[_0x2039c0(0x1b4)],_0xa6c24a=_0x3245eb[_0x2039c0(0x1a3)],_0x2c5388=this['_nDataBytes']*0x8,_0x2bb7e8=_0x3245eb[_0x2039c0(0x44d)]*0x8;return _0xa6c24a[_0x2bb7e8>>>0x5]|=0x80<<0x18-_0x2bb7e8%0x20,_0xa6c24a[(_0x2bb7e8+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x2c5388/0x100000000),_0xa6c24a[(_0x2bb7e8+0x40>>>0x9<<0x4)+0xf]=_0x2c5388,_0x3245eb[_0x2039c0(0x44d)]=_0xa6c24a[_0x2039c0(0x29a)]*0x4,this['_process'](),this['_hash'];},'clone':function(){const _0x1987bf=_0x32795c;var _0x1d3315=_0xe24c56[_0x1987bf(0x581)]['call'](this);return _0x1d3315[_0x1987bf(0x1eb)]=this[_0x1987bf(0x1eb)][_0x1987bf(0x581)](),_0x1d3315;}});_0xe1d6cc[_0x32795c(0x4f7)]=_0xe24c56[_0x32795c(0x3f0)](_0x170dec),_0xe1d6cc[_0x32795c(0x539)]=_0xe24c56['_createHmacHelper'](_0x170dec);}()),_0x683159[_0x2e1ac2(0x4f7)];}));}(Kt)),Kt[_0x3ec5e9(0x577)];}var zt={'exports':{}},ei;function La(){return ei||(ei=0x1,function(_0x5527bd,_0x2f4f3f){(function(_0x29f49d,_0x558aa9){const _0x291372=_0xa0d1;_0x5527bd[_0x291372(0x577)]=_0x558aa9(ue());}(Z,function(_0x52eecd){(function(){const _0x3fc234=_0xa0d1;var _0x3fbeb1=_0x52eecd,_0x1bb2f7=_0x3fbeb1[_0x3fc234(0x476)],_0x16512d=_0x1bb2f7['Base'],_0x5c0033=_0x3fbeb1[_0x3fc234(0x1c4)],_0x3b8b1e=_0x5c0033[_0x3fc234(0x4c1)],_0x2ae147=_0x3fbeb1[_0x3fc234(0x3b9)];_0x2ae147['HMAC']=_0x16512d[_0x3fc234(0x2f0)]({'init':function(_0x16a1cd,_0x33d8d8){const _0x465e68=_0x3fc234;_0x16a1cd=this[_0x465e68(0x22a)]=new _0x16a1cd[(_0x465e68(0x1bc))](),typeof _0x33d8d8=='string'&&(_0x33d8d8=_0x3b8b1e[_0x465e68(0x2e1)](_0x33d8d8));var _0x35f841=_0x16a1cd['blockSize'],_0x32b223=_0x35f841*0x4;_0x33d8d8[_0x465e68(0x44d)]>_0x32b223&&(_0x33d8d8=_0x16a1cd[_0x465e68(0x29e)](_0x33d8d8)),_0x33d8d8['clamp']();for(var _0x969be9=this[_0x465e68(0x4a2)]=_0x33d8d8[_0x465e68(0x581)](),_0x546291=this['_iKey']=_0x33d8d8[_0x465e68(0x581)](),_0x2ee626=_0x969be9['words'],_0x1ff8df=_0x546291[_0x465e68(0x1a3)],_0x23a7e1=0x0;_0x23a7e1<_0x35f841;_0x23a7e1++)_0x2ee626[_0x23a7e1]^=0x5c5c5c5c,_0x1ff8df[_0x23a7e1]^=0x36363636;_0x969be9[_0x465e68(0x44d)]=_0x546291[_0x465e68(0x44d)]=_0x32b223,this['reset']();},'reset':function(){const _0x3614a9=_0x3fc234;var _0x358a1b=this['_hasher'];_0x358a1b[_0x3614a9(0x25f)](),_0x358a1b[_0x3614a9(0x426)](this['_iKey']);},'update':function(_0x198ab5){const _0x5a814b=_0x3fc234;return this[_0x5a814b(0x22a)][_0x5a814b(0x426)](_0x198ab5),this;},'finalize':function(_0x4a3c6a){const _0x3682ce=_0x3fc234;var _0x1b1b0a=this[_0x3682ce(0x22a)],_0x25d6ba=_0x1b1b0a[_0x3682ce(0x29e)](_0x4a3c6a);_0x1b1b0a[_0x3682ce(0x25f)]();var _0x1b65a6=_0x1b1b0a['finalize'](this['_oKey'][_0x3682ce(0x581)]()[_0x3682ce(0x200)](_0x25d6ba));return _0x1b65a6;}});}());}));}(zt)),zt['exports'];}var ti;function ki(){const _0x807292=_0x5b1a3a;return ti||(ti=0x1,function(_0x532377,_0x33d385){(function(_0x249851,_0xa0b370,_0x433a38){const _0x4b3c4e=_0xa0d1;_0x532377[_0x4b3c4e(0x577)]=_0xa0b370(ue(),xa(),La());}(Z,function(_0x31f6ca){const _0x5c8bb3=_0xa0d1;return(function(){const _0x369623=_0xa0d1;var _0x4bd175=_0x31f6ca,_0x56a187=_0x4bd175[_0x369623(0x476)],_0x2cf331=_0x56a187[_0x369623(0x429)],_0x3efde2=_0x56a187[_0x369623(0x29c)],_0x33f54c=_0x4bd175[_0x369623(0x3b9)],_0x70847e=_0x33f54c[_0x369623(0x4bb)],_0xdb6fc0=_0x33f54c[_0x369623(0x470)]=_0x2cf331[_0x369623(0x2f0)]({'cfg':_0x2cf331[_0x369623(0x2f0)]({'keySize':0x80/0x20,'hasher':_0x70847e,'iterations':0x1}),'init':function(_0x5e67f0){const _0x2df349=_0x369623;this['cfg']=this[_0x2df349(0x3c9)][_0x2df349(0x2f0)](_0x5e67f0);},'compute':function(_0x451a32,_0x3984e1){const _0x4b347f=_0x369623;for(var _0x4946bc,_0x854442=this[_0x4b347f(0x3c9)],_0x3b6d45=_0x854442[_0x4b347f(0x373)]['create'](),_0x1d6865=_0x3efde2[_0x4b347f(0x4d7)](),_0x16cca4=_0x1d6865[_0x4b347f(0x1a3)],_0x44ad57=_0x854442[_0x4b347f(0x2cf)],_0x152006=_0x854442[_0x4b347f(0x49b)];_0x16cca4[_0x4b347f(0x29a)]<_0x44ad57;){_0x4946bc&&_0x3b6d45['update'](_0x4946bc),_0x4946bc=_0x3b6d45['update'](_0x451a32)[_0x4b347f(0x29e)](_0x3984e1),_0x3b6d45['reset']();for(var _0x549c1d=0x1;_0x549c1d<_0x152006;_0x549c1d++)_0x4946bc=_0x3b6d45[_0x4b347f(0x29e)](_0x4946bc),_0x3b6d45[_0x4b347f(0x25f)]();_0x1d6865[_0x4b347f(0x200)](_0x4946bc);}return _0x1d6865[_0x4b347f(0x44d)]=_0x44ad57*0x4,_0x1d6865;}});_0x4bd175[_0x369623(0x470)]=function(_0x3e4273,_0x559074,_0x1b4745){const _0x586a27=_0x369623;return _0xdb6fc0[_0x586a27(0x4d7)](_0x1b4745)[_0x586a27(0x338)](_0x3e4273,_0x559074);};}()),_0x31f6ca[_0x5c8bb3(0x470)];}));}(Yt)),Yt[_0x807292(0x577)];}var qt={'exports':{}},si;function Wi(){const _0x11a661=_0x5b1a3a;return si||(si=0x1,function(_0x2d60fc,_0x30dc89){(function(_0x50b49d,_0x247f4c,_0x189006){const _0x4a0191=_0xa0d1;_0x2d60fc[_0x4a0191(0x577)]=_0x247f4c(ue(),ki());}(Z,function(_0x1af35c){const _0x57dbd9=_0xa0d1;_0x1af35c[_0x57dbd9(0x476)][_0x57dbd9(0x2fa)]||function(_0x10ceda){const _0x51d3dc=_0x57dbd9;var _0x3c33f2=_0x1af35c,_0x2add35=_0x3c33f2['lib'],_0x4e1f2e=_0x2add35[_0x51d3dc(0x429)],_0x3ae9dc=_0x2add35[_0x51d3dc(0x29c)],_0x2d2ef2=_0x2add35['BufferedBlockAlgorithm'],_0x368b84=_0x3c33f2['enc'];_0x368b84[_0x51d3dc(0x4c1)];var _0x575c5d=_0x368b84[_0x51d3dc(0x272)],_0x5aae56=_0x3c33f2[_0x51d3dc(0x3b9)],_0xecf364=_0x5aae56[_0x51d3dc(0x470)],_0x24e78f=_0x2add35[_0x51d3dc(0x2fa)]=_0x2d2ef2[_0x51d3dc(0x2f0)]({'cfg':_0x4e1f2e[_0x51d3dc(0x2f0)](),'createEncryptor':function(_0x8b89f7,_0x5d20fe){const _0x29db7b=_0x51d3dc;return this[_0x29db7b(0x4d7)](this[_0x29db7b(0x261)],_0x8b89f7,_0x5d20fe);},'createDecryptor':function(_0x3c9ba6,_0x3ae5b7){const _0x557c65=_0x51d3dc;return this[_0x557c65(0x4d7)](this[_0x557c65(0x30f)],_0x3c9ba6,_0x3ae5b7);},'init':function(_0x559a42,_0x229cf2,_0x4af33b){const _0x491667=_0x51d3dc;this[_0x491667(0x3c9)]=this['cfg'][_0x491667(0x2f0)](_0x4af33b),this[_0x491667(0x380)]=_0x559a42,this[_0x491667(0x18e)]=_0x229cf2,this[_0x491667(0x25f)]();},'reset':function(){const _0x582827=_0x51d3dc;_0x2d2ef2[_0x582827(0x25f)][_0x582827(0x27f)](this),this[_0x582827(0x19b)]();},'process':function(_0x1a8200){const _0x3f8f3b=_0x51d3dc;return this[_0x3f8f3b(0x235)](_0x1a8200),this[_0x3f8f3b(0x286)]();},'finalize':function(_0x5b5a08){_0x5b5a08&&this['_append'](_0x5b5a08);var _0x2c6896=this['_doFinalize']();return _0x2c6896;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x5113dc(_0x3964a9){const _0x487570=_0xa0d1;return typeof _0x3964a9==_0x487570(0x4fa)?_0x5643b9:_0x4e7f2c;}return function(_0x5f12d4){return{'encrypt':function(_0x5ab79b,_0x9cff8b,_0x2aa136){const _0x43fade=_0xa0d1;return _0x5113dc(_0x9cff8b)[_0x43fade(0x18f)](_0x5f12d4,_0x5ab79b,_0x9cff8b,_0x2aa136);},'decrypt':function(_0x5ba163,_0x5ab6a4,_0x4e01a2){const _0x4be90a=_0xa0d1;return _0x5113dc(_0x5ab6a4)[_0x4be90a(0x54e)](_0x5f12d4,_0x5ba163,_0x5ab6a4,_0x4e01a2);}};};}())});_0x2add35['StreamCipher']=_0x24e78f[_0x51d3dc(0x2f0)]({'_doFinalize':function(){var _0x3e6c04=this['_process'](!0x0);return _0x3e6c04;},'blockSize':0x1});var _0x164b49=_0x3c33f2[_0x51d3dc(0x51d)]={},_0x20471e=_0x2add35[_0x51d3dc(0x356)]=_0x4e1f2e[_0x51d3dc(0x2f0)]({'createEncryptor':function(_0x1bb9d1,_0x458fb5){const _0x91c9bf=_0x51d3dc;return this[_0x91c9bf(0x2bf)][_0x91c9bf(0x4d7)](_0x1bb9d1,_0x458fb5);},'createDecryptor':function(_0x4b5492,_0x49f2d9){const _0x8f7743=_0x51d3dc;return this[_0x8f7743(0x1f9)][_0x8f7743(0x4d7)](_0x4b5492,_0x49f2d9);},'init':function(_0x390486,_0x240344){const _0x180aa3=_0x51d3dc;this[_0x180aa3(0x536)]=_0x390486,this['_iv']=_0x240344;}}),_0x516638=_0x164b49[_0x51d3dc(0x524)]=(function(){const _0x43e972=_0x51d3dc;var _0x1d50f8=_0x20471e[_0x43e972(0x2f0)]();_0x1d50f8['Encryptor']=_0x1d50f8['extend']({'processBlock':function(_0x303c42,_0x2575fb){const _0xa86454=_0x43e972;var _0x44bf1f=this[_0xa86454(0x536)],_0x5f0cc3=_0x44bf1f[_0xa86454(0x4f6)];_0x52070[_0xa86454(0x27f)](this,_0x303c42,_0x2575fb,_0x5f0cc3),_0x44bf1f[_0xa86454(0x523)](_0x303c42,_0x2575fb),this[_0xa86454(0x17d)]=_0x303c42['slice'](_0x2575fb,_0x2575fb+_0x5f0cc3);}}),_0x1d50f8['Decryptor']=_0x1d50f8[_0x43e972(0x2f0)]({'processBlock':function(_0x4a3aa9,_0x5a2b5a){const _0x41e86b=_0x43e972;var _0xeed8e2=this[_0x41e86b(0x536)],_0x148b37=_0xeed8e2[_0x41e86b(0x4f6)],_0x445649=_0x4a3aa9[_0x41e86b(0x223)](_0x5a2b5a,_0x5a2b5a+_0x148b37);_0xeed8e2['decryptBlock'](_0x4a3aa9,_0x5a2b5a),_0x52070['call'](this,_0x4a3aa9,_0x5a2b5a,_0x148b37),this[_0x41e86b(0x17d)]=_0x445649;}});function _0x52070(_0x301561,_0x50a410,_0x3653f2){const _0x2af76a=_0x43e972;var _0x1c40b4,_0xc08802=this[_0x2af76a(0x183)];_0xc08802?(_0x1c40b4=_0xc08802,this[_0x2af76a(0x183)]=_0x10ceda):_0x1c40b4=this['_prevBlock'];for(var _0x102e5f=0x0;_0x102e5f<_0x3653f2;_0x102e5f++)_0x301561[_0x50a410+_0x102e5f]^=_0x1c40b4[_0x102e5f];}return _0x1d50f8;}()),_0x2a5f08=_0x3c33f2['pad']={},_0xbe140d=_0x2a5f08[_0x51d3dc(0x277)]={'pad':function(_0x561acb,_0x46898a){const _0x294964=_0x51d3dc;for(var _0x2693cf=_0x46898a*0x4,_0x105b3f=_0x2693cf-_0x561acb[_0x294964(0x44d)]%_0x2693cf,_0x435052=_0x105b3f<<0x18|_0x105b3f<<0x10|_0x105b3f<<0x8|_0x105b3f,_0x2c96b9=[],_0x4bc81d=0x0;_0x4bc81d<_0x105b3f;_0x4bc81d+=0x4)_0x2c96b9[_0x294964(0x44a)](_0x435052);var _0x5936ff=_0x3ae9dc['create'](_0x2c96b9,_0x105b3f);_0x561acb['concat'](_0x5936ff);},'unpad':function(_0x73ffea){const _0x33e7a9=_0x51d3dc;var _0x397e7a=_0x73ffea[_0x33e7a9(0x1a3)][_0x73ffea[_0x33e7a9(0x44d)]-0x1>>>0x2]&0xff;_0x73ffea[_0x33e7a9(0x44d)]-=_0x397e7a;}};_0x2add35[_0x51d3dc(0x1df)]=_0x24e78f[_0x51d3dc(0x2f0)]({'cfg':_0x24e78f[_0x51d3dc(0x3c9)][_0x51d3dc(0x2f0)]({'mode':_0x516638,'padding':_0xbe140d}),'reset':function(){const _0x8ad3e5=_0x51d3dc;var _0x31b44e;_0x24e78f[_0x8ad3e5(0x25f)][_0x8ad3e5(0x27f)](this);var _0x395f3d=this[_0x8ad3e5(0x3c9)],_0x26673d=_0x395f3d['iv'],_0x3deba8=_0x395f3d[_0x8ad3e5(0x51d)];this['_xformMode']==this[_0x8ad3e5(0x261)]?_0x31b44e=_0x3deba8[_0x8ad3e5(0x568)]:(_0x31b44e=_0x3deba8[_0x8ad3e5(0x411)],this[_0x8ad3e5(0x23d)]=0x1),this[_0x8ad3e5(0x2c2)]&&this['_mode']['__creator']==_0x31b44e?this['_mode']['init'](this,_0x26673d&&_0x26673d[_0x8ad3e5(0x1a3)]):(this[_0x8ad3e5(0x2c2)]=_0x31b44e[_0x8ad3e5(0x27f)](_0x3deba8,this,_0x26673d&&_0x26673d[_0x8ad3e5(0x1a3)]),this[_0x8ad3e5(0x2c2)]['__creator']=_0x31b44e);},'_doProcessBlock':function(_0xa86406,_0x4afc63){const _0x2c7298=_0x51d3dc;this[_0x2c7298(0x2c2)][_0x2c7298(0x419)](_0xa86406,_0x4afc63);},'_doFinalize':function(){const _0x2bf261=_0x51d3dc;var _0xfb1752,_0x16cdc5=this[_0x2bf261(0x3c9)][_0x2bf261(0x434)];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0x16cdc5[_0x2bf261(0x414)](this[_0x2bf261(0x1b4)],this[_0x2bf261(0x4f6)]),_0xfb1752=this['_process'](!0x0)):(_0xfb1752=this[_0x2bf261(0x286)](!0x0),_0x16cdc5[_0x2bf261(0x27a)](_0xfb1752)),_0xfb1752;},'blockSize':0x80/0x20});var _0xd00bb9=_0x2add35[_0x51d3dc(0x240)]=_0x4e1f2e['extend']({'init':function(_0x1d0b3f){const _0x213734=_0x51d3dc;this[_0x213734(0x4e3)](_0x1d0b3f);},'toString':function(_0x306032){const _0xf175a4=_0x51d3dc;return(_0x306032||this[_0xf175a4(0x221)])[_0xf175a4(0x3d4)](this);}}),_0x6ec5e6=_0x3c33f2[_0x51d3dc(0x2e4)]={},_0x1fb68e=_0x6ec5e6[_0x51d3dc(0x416)]={'stringify':function(_0x3c3de2){const _0x270b87=_0x51d3dc;var _0x23c03e,_0x23b65c=_0x3c3de2[_0x270b87(0x3db)],_0x883b40=_0x3c3de2['salt'];return _0x883b40?_0x23c03e=_0x3ae9dc[_0x270b87(0x4d7)]([0x53616c74,0x65645f5f])['concat'](_0x883b40)[_0x270b87(0x200)](_0x23b65c):_0x23c03e=_0x23b65c,_0x23c03e[_0x270b87(0x4fb)](_0x575c5d);},'parse':function(_0x556f11){const _0x49e576=_0x51d3dc;var _0x4a2d79,_0x3e6395=_0x575c5d[_0x49e576(0x2e1)](_0x556f11),_0x351b5e=_0x3e6395[_0x49e576(0x1a3)];return _0x351b5e[0x0]==0x53616c74&&_0x351b5e[0x1]==0x65645f5f&&(_0x4a2d79=_0x3ae9dc[_0x49e576(0x4d7)](_0x351b5e[_0x49e576(0x223)](0x2,0x4)),_0x351b5e['splice'](0x0,0x4),_0x3e6395['sigBytes']-=0x10),_0xd00bb9[_0x49e576(0x4d7)]({'ciphertext':_0x3e6395,'salt':_0x4a2d79});}},_0x4e7f2c=_0x2add35[_0x51d3dc(0x376)]=_0x4e1f2e[_0x51d3dc(0x2f0)]({'cfg':_0x4e1f2e[_0x51d3dc(0x2f0)]({'format':_0x1fb68e}),'encrypt':function(_0x2bcacd,_0x149314,_0x335a1f,_0x3a7eb7){const _0x3c5444=_0x51d3dc;_0x3a7eb7=this[_0x3c5444(0x3c9)]['extend'](_0x3a7eb7);var _0x89e8ba=_0x2bcacd[_0x3c5444(0x568)](_0x335a1f,_0x3a7eb7),_0x52a2f0=_0x89e8ba[_0x3c5444(0x29e)](_0x149314),_0x555862=_0x89e8ba['cfg'];return _0xd00bb9[_0x3c5444(0x4d7)]({'ciphertext':_0x52a2f0,'key':_0x335a1f,'iv':_0x555862['iv'],'algorithm':_0x2bcacd,'mode':_0x555862[_0x3c5444(0x51d)],'padding':_0x555862[_0x3c5444(0x434)],'blockSize':_0x2bcacd['blockSize'],'formatter':_0x3a7eb7[_0x3c5444(0x2e4)]});},'decrypt':function(_0x4274e3,_0x1b7cc0,_0x28fd0c,_0x1f7184){const _0x1baf91=_0x51d3dc;_0x1f7184=this[_0x1baf91(0x3c9)][_0x1baf91(0x2f0)](_0x1f7184),_0x1b7cc0=this[_0x1baf91(0x422)](_0x1b7cc0,_0x1f7184['format']);var _0x1d5dc2=_0x4274e3[_0x1baf91(0x411)](_0x28fd0c,_0x1f7184)[_0x1baf91(0x29e)](_0x1b7cc0[_0x1baf91(0x3db)]);return _0x1d5dc2;},'_parse':function(_0x476292,_0x360438){const _0x442ec6=_0x51d3dc;return typeof _0x476292==_0x442ec6(0x4fa)?_0x360438['parse'](_0x476292,this):_0x476292;}}),_0x136960=_0x3c33f2['kdf']={},_0x1a3408=_0x136960[_0x51d3dc(0x416)]={'execute':function(_0x3b7d51,_0x41fa96,_0x3b0527,_0x28b45c,_0x40c7bd){const _0x13de20=_0x51d3dc;if(_0x28b45c||(_0x28b45c=_0x3ae9dc['random'](0x40/0x8)),_0x40c7bd)var _0x420679=_0xecf364[_0x13de20(0x4d7)]({'keySize':_0x41fa96+_0x3b0527,'hasher':_0x40c7bd})[_0x13de20(0x338)](_0x3b7d51,_0x28b45c);else var _0x420679=_0xecf364[_0x13de20(0x4d7)]({'keySize':_0x41fa96+_0x3b0527})[_0x13de20(0x338)](_0x3b7d51,_0x28b45c);var _0x37a2be=_0x3ae9dc['create'](_0x420679[_0x13de20(0x1a3)]['slice'](_0x41fa96),_0x3b0527*0x4);return _0x420679['sigBytes']=_0x41fa96*0x4,_0xd00bb9[_0x13de20(0x4d7)]({'key':_0x420679,'iv':_0x37a2be,'salt':_0x28b45c});}},_0x5643b9=_0x2add35[_0x51d3dc(0x4c7)]=_0x4e7f2c[_0x51d3dc(0x2f0)]({'cfg':_0x4e7f2c['cfg'][_0x51d3dc(0x2f0)]({'kdf':_0x1a3408}),'encrypt':function(_0x3e890d,_0x3a78e8,_0x383e9c,_0x3a82c0){const _0x1865f7=_0x51d3dc;_0x3a82c0=this[_0x1865f7(0x3c9)]['extend'](_0x3a82c0);var _0x162d2f=_0x3a82c0[_0x1865f7(0x297)][_0x1865f7(0x420)](_0x383e9c,_0x3e890d[_0x1865f7(0x2cf)],_0x3e890d[_0x1865f7(0x3af)],_0x3a82c0['salt'],_0x3a82c0[_0x1865f7(0x373)]);_0x3a82c0['iv']=_0x162d2f['iv'];var _0x14206d=_0x4e7f2c['encrypt'][_0x1865f7(0x27f)](this,_0x3e890d,_0x3a78e8,_0x162d2f[_0x1865f7(0x52e)],_0x3a82c0);return _0x14206d[_0x1865f7(0x4e3)](_0x162d2f),_0x14206d;},'decrypt':function(_0x20a242,_0x86c11e,_0x19ddfd,_0x132c06){const _0xff735d=_0x51d3dc;_0x132c06=this[_0xff735d(0x3c9)]['extend'](_0x132c06),_0x86c11e=this['_parse'](_0x86c11e,_0x132c06[_0xff735d(0x2e4)]);var _0x2e6d93=_0x132c06[_0xff735d(0x297)][_0xff735d(0x420)](_0x19ddfd,_0x20a242[_0xff735d(0x2cf)],_0x20a242[_0xff735d(0x3af)],_0x86c11e['salt'],_0x132c06[_0xff735d(0x373)]);_0x132c06['iv']=_0x2e6d93['iv'];var _0x1763b4=_0x4e7f2c[_0xff735d(0x54e)][_0xff735d(0x27f)](this,_0x20a242,_0x86c11e,_0x2e6d93[_0xff735d(0x52e)],_0x132c06);return _0x1763b4;}});}();}));}(qt)),qt[_0x11a661(0x577)];}(function(_0x512a51,_0x4c937c){(function(_0x378a0d,_0x34f217,_0x318d9a){const _0x2279f5=_0xa0d1;_0x512a51[_0x2279f5(0x577)]=_0x34f217(ue(),Bi(),Ma(),ki(),Wi());}(Z,function(_0x2829cb){const _0x3e5016=_0xa0d1;return(function(){const _0x2cc2a2=_0xa0d1;var _0x13c637=_0x2829cb,_0x1d17de=_0x13c637[_0x2cc2a2(0x476)],_0x591854=_0x1d17de[_0x2cc2a2(0x1df)],_0x3ed922=_0x13c637[_0x2cc2a2(0x3b9)],_0x506f4a=[],_0x1901b7=[],_0x2fa002=[],_0x5ae46e=[],_0x582ae0=[],_0x1f18e8=[],_0x1315e6=[],_0xa7016=[],_0xdbe9f7=[],_0x41d8b6=[];(function(){for(var _0x303e57=[],_0x568289=0x0;_0x568289<0x100;_0x568289++)_0x568289<0x80?_0x303e57[_0x568289]=_0x568289<<0x1:_0x303e57[_0x568289]=_0x568289<<0x1^0x11b;for(var _0x405a33=0x0,_0x4817c7=0x0,_0x568289=0x0;_0x568289<0x100;_0x568289++){var _0x193e60=_0x4817c7^_0x4817c7<<0x1^_0x4817c7<<0x2^_0x4817c7<<0x3^_0x4817c7<<0x4;_0x193e60=_0x193e60>>>0x8^_0x193e60&0xff^0x63,_0x506f4a[_0x405a33]=_0x193e60,_0x1901b7[_0x193e60]=_0x405a33;var _0x70f6e9=_0x303e57[_0x405a33],_0x5f3a38=_0x303e57[_0x70f6e9],_0xe79423=_0x303e57[_0x5f3a38],_0x3e8760=_0x303e57[_0x193e60]*0x101^_0x193e60*0x1010100;_0x2fa002[_0x405a33]=_0x3e8760<<0x18|_0x3e8760>>>0x8,_0x5ae46e[_0x405a33]=_0x3e8760<<0x10|_0x3e8760>>>0x10,_0x582ae0[_0x405a33]=_0x3e8760<<0x8|_0x3e8760>>>0x18,_0x1f18e8[_0x405a33]=_0x3e8760;var _0x3e8760=_0xe79423*0x1010101^_0x5f3a38*0x10001^_0x70f6e9*0x101^_0x405a33*0x1010100;_0x1315e6[_0x193e60]=_0x3e8760<<0x18|_0x3e8760>>>0x8,_0xa7016[_0x193e60]=_0x3e8760<<0x10|_0x3e8760>>>0x10,_0xdbe9f7[_0x193e60]=_0x3e8760<<0x8|_0x3e8760>>>0x18,_0x41d8b6[_0x193e60]=_0x3e8760,_0x405a33?(_0x405a33=_0x70f6e9^_0x303e57[_0x303e57[_0x303e57[_0xe79423^_0x70f6e9]]],_0x4817c7^=_0x303e57[_0x303e57[_0x4817c7]]):_0x405a33=_0x4817c7=0x1;}}());var _0x2c7924=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x12618a=_0x3ed922[_0x2cc2a2(0x4b8)]=_0x591854[_0x2cc2a2(0x2f0)]({'_doReset':function(){const _0x5d15b1=_0x2cc2a2;var _0x4e67ae;if(!(this[_0x5d15b1(0x2db)]&&this[_0x5d15b1(0x401)]===this[_0x5d15b1(0x18e)])){for(var _0x52393f=this[_0x5d15b1(0x401)]=this['_key'],_0x181151=_0x52393f['words'],_0xe4e72e=_0x52393f['sigBytes']/0x4,_0x121211=this[_0x5d15b1(0x2db)]=_0xe4e72e+0x6,_0x40dc87=(_0x121211+0x1)*0x4,_0x45ac9d=this[_0x5d15b1(0x320)]=[],_0x5d80f9=0x0;_0x5d80f9<_0x40dc87;_0x5d80f9++)_0x5d80f9<_0xe4e72e?_0x45ac9d[_0x5d80f9]=_0x181151[_0x5d80f9]:(_0x4e67ae=_0x45ac9d[_0x5d80f9-0x1],_0x5d80f9%_0xe4e72e?_0xe4e72e>0x6&&_0x5d80f9%_0xe4e72e==0x4&&(_0x4e67ae=_0x506f4a[_0x4e67ae>>>0x18]<<0x18|_0x506f4a[_0x4e67ae>>>0x10&0xff]<<0x10|_0x506f4a[_0x4e67ae>>>0x8&0xff]<<0x8|_0x506f4a[_0x4e67ae&0xff]):(_0x4e67ae=_0x4e67ae<<0x8|_0x4e67ae>>>0x18,_0x4e67ae=_0x506f4a[_0x4e67ae>>>0x18]<<0x18|_0x506f4a[_0x4e67ae>>>0x10&0xff]<<0x10|_0x506f4a[_0x4e67ae>>>0x8&0xff]<<0x8|_0x506f4a[_0x4e67ae&0xff],_0x4e67ae^=_0x2c7924[_0x5d80f9/_0xe4e72e|0x0]<<0x18),_0x45ac9d[_0x5d80f9]=_0x45ac9d[_0x5d80f9-_0xe4e72e]^_0x4e67ae);for(var _0xa6eddc=this[_0x5d15b1(0x227)]=[],_0x5dd963=0x0;_0x5dd963<_0x40dc87;_0x5dd963++){var _0x5d80f9=_0x40dc87-_0x5dd963;if(_0x5dd963%0x4)var _0x4e67ae=_0x45ac9d[_0x5d80f9];else var _0x4e67ae=_0x45ac9d[_0x5d80f9-0x4];_0x5dd963<0x4||_0x5d80f9<=0x4?_0xa6eddc[_0x5dd963]=_0x4e67ae:_0xa6eddc[_0x5dd963]=_0x1315e6[_0x506f4a[_0x4e67ae>>>0x18]]^_0xa7016[_0x506f4a[_0x4e67ae>>>0x10&0xff]]^_0xdbe9f7[_0x506f4a[_0x4e67ae>>>0x8&0xff]]^_0x41d8b6[_0x506f4a[_0x4e67ae&0xff]];}}},'encryptBlock':function(_0x2d57d6,_0x3e6cf4){const _0x561cf0=_0x2cc2a2;this[_0x561cf0(0x333)](_0x2d57d6,_0x3e6cf4,this['_keySchedule'],_0x2fa002,_0x5ae46e,_0x582ae0,_0x1f18e8,_0x506f4a);},'decryptBlock':function(_0x115649,_0x34cac9){const _0x43d070=_0x2cc2a2;var _0x3f2713=_0x115649[_0x34cac9+0x1];_0x115649[_0x34cac9+0x1]=_0x115649[_0x34cac9+0x3],_0x115649[_0x34cac9+0x3]=_0x3f2713,this[_0x43d070(0x333)](_0x115649,_0x34cac9,this['_invKeySchedule'],_0x1315e6,_0xa7016,_0xdbe9f7,_0x41d8b6,_0x1901b7);var _0x3f2713=_0x115649[_0x34cac9+0x1];_0x115649[_0x34cac9+0x1]=_0x115649[_0x34cac9+0x3],_0x115649[_0x34cac9+0x3]=_0x3f2713;},'_doCryptBlock':function(_0x380dde,_0x5a5e6b,_0x1f61bc,_0xaa45c8,_0x440059,_0xaa6e47,_0x2e9bde,_0x391482){for(var _0x4fd718=this['_nRounds'],_0x4710e8=_0x380dde[_0x5a5e6b]^_0x1f61bc[0x0],_0xb855b0=_0x380dde[_0x5a5e6b+0x1]^_0x1f61bc[0x1],_0x52e60d=_0x380dde[_0x5a5e6b+0x2]^_0x1f61bc[0x2],_0x33c306=_0x380dde[_0x5a5e6b+0x3]^_0x1f61bc[0x3],_0x311643=0x4,_0x2bbfdb=0x1;_0x2bbfdb<_0x4fd718;_0x2bbfdb++){var _0x1b7fe2=_0xaa45c8[_0x4710e8>>>0x18]^_0x440059[_0xb855b0>>>0x10&0xff]^_0xaa6e47[_0x52e60d>>>0x8&0xff]^_0x2e9bde[_0x33c306&0xff]^_0x1f61bc[_0x311643++],_0x5f3596=_0xaa45c8[_0xb855b0>>>0x18]^_0x440059[_0x52e60d>>>0x10&0xff]^_0xaa6e47[_0x33c306>>>0x8&0xff]^_0x2e9bde[_0x4710e8&0xff]^_0x1f61bc[_0x311643++],_0x48d34c=_0xaa45c8[_0x52e60d>>>0x18]^_0x440059[_0x33c306>>>0x10&0xff]^_0xaa6e47[_0x4710e8>>>0x8&0xff]^_0x2e9bde[_0xb855b0&0xff]^_0x1f61bc[_0x311643++],_0x3d23f1=_0xaa45c8[_0x33c306>>>0x18]^_0x440059[_0x4710e8>>>0x10&0xff]^_0xaa6e47[_0xb855b0>>>0x8&0xff]^_0x2e9bde[_0x52e60d&0xff]^_0x1f61bc[_0x311643++];_0x4710e8=_0x1b7fe2,_0xb855b0=_0x5f3596,_0x52e60d=_0x48d34c,_0x33c306=_0x3d23f1;}var _0x1b7fe2=(_0x391482[_0x4710e8>>>0x18]<<0x18|_0x391482[_0xb855b0>>>0x10&0xff]<<0x10|_0x391482[_0x52e60d>>>0x8&0xff]<<0x8|_0x391482[_0x33c306&0xff])^_0x1f61bc[_0x311643++],_0x5f3596=(_0x391482[_0xb855b0>>>0x18]<<0x18|_0x391482[_0x52e60d>>>0x10&0xff]<<0x10|_0x391482[_0x33c306>>>0x8&0xff]<<0x8|_0x391482[_0x4710e8&0xff])^_0x1f61bc[_0x311643++],_0x48d34c=(_0x391482[_0x52e60d>>>0x18]<<0x18|_0x391482[_0x33c306>>>0x10&0xff]<<0x10|_0x391482[_0x4710e8>>>0x8&0xff]<<0x8|_0x391482[_0xb855b0&0xff])^_0x1f61bc[_0x311643++],_0x3d23f1=(_0x391482[_0x33c306>>>0x18]<<0x18|_0x391482[_0x4710e8>>>0x10&0xff]<<0x10|_0x391482[_0xb855b0>>>0x8&0xff]<<0x8|_0x391482[_0x52e60d&0xff])^_0x1f61bc[_0x311643++];_0x380dde[_0x5a5e6b]=_0x1b7fe2,_0x380dde[_0x5a5e6b+0x1]=_0x5f3596,_0x380dde[_0x5a5e6b+0x2]=_0x48d34c,_0x380dde[_0x5a5e6b+0x3]=_0x3d23f1;},'keySize':0x100/0x20});_0x13c637[_0x2cc2a2(0x4b8)]=_0x591854[_0x2cc2a2(0x3f0)](_0x12618a);}()),_0x2829cb[_0x3e5016(0x4b8)];}));}(ji));var $a=ji[_0x5b1a3a(0x577)];const Ha=at($a);var ja=Bi();const ii=at(ja);var Fi={'exports':{}};(function(_0x267850,_0x5b8b2d){(function(_0x526861,_0x2f0d27){_0x267850['exports']=_0x2f0d27(ue());}(Z,function(_0x4a23fe){const _0x48ec9b=_0xa0d1;return _0x4a23fe[_0x48ec9b(0x1c4)][_0x48ec9b(0x4c1)];}));}(Fi));var Ba=Fi['exports'];const ka=at(Ba);var Vi={'exports':{}};(function(_0x1ff709,_0x48a0f4){(function(_0x5414a2,_0x401b2a){const _0x3b12a0=_0xa0d1;_0x1ff709[_0x3b12a0(0x577)]=_0x401b2a(ue());}(Z,function(_0x53610e){const _0xe8aa46=_0xa0d1;return(function(){const _0x1ae285=_0xa0d1;if(typeof ArrayBuffer==_0x1ae285(0x3b7)){var _0x5a337e=_0x53610e,_0x4c3e61=_0x5a337e['lib'],_0x3bc4f1=_0x4c3e61[_0x1ae285(0x29c)],_0x1186e5=_0x3bc4f1[_0x1ae285(0x1bc)],_0x15f7b4=_0x3bc4f1[_0x1ae285(0x1bc)]=function(_0x3cd29e){const _0x37cb0e=_0x1ae285;if(_0x3cd29e instanceof ArrayBuffer&&(_0x3cd29e=new Uint8Array(_0x3cd29e)),(_0x3cd29e instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3cd29e instanceof Uint8ClampedArray||_0x3cd29e instanceof Int16Array||_0x3cd29e instanceof Uint16Array||_0x3cd29e instanceof Int32Array||_0x3cd29e instanceof Uint32Array||_0x3cd29e instanceof Float32Array||_0x3cd29e instanceof Float64Array)&&(_0x3cd29e=new Uint8Array(_0x3cd29e[_0x37cb0e(0x197)],_0x3cd29e[_0x37cb0e(0x33f)],_0x3cd29e[_0x37cb0e(0x37c)])),_0x3cd29e instanceof Uint8Array){for(var _0x18bea8=_0x3cd29e['byteLength'],_0x4b53b4=[],_0x63aeaf=0x0;_0x63aeaf<_0x18bea8;_0x63aeaf++)_0x4b53b4[_0x63aeaf>>>0x2]|=_0x3cd29e[_0x63aeaf]<<0x18-_0x63aeaf%0x4*0x8;_0x1186e5[_0x37cb0e(0x27f)](this,_0x4b53b4,_0x18bea8);}else _0x1186e5[_0x37cb0e(0x561)](this,arguments);};_0x15f7b4[_0x1ae285(0x537)]=_0x3bc4f1;}}()),_0x53610e['lib'][_0xe8aa46(0x29c)];}));}(Vi));var Wa=Vi[_0x5b1a3a(0x577)];const Fa=at(Wa);var Gi={'exports':{}};(function(_0x1c3aa9,_0x5f0a82){(function(_0x44ab60,_0x5595a3,_0x3728d8){const _0xf48bec=_0xa0d1;_0x1c3aa9[_0xf48bec(0x577)]=_0x5595a3(ue(),Wi());}(Z,function(_0x3f5316){const _0x16d6d9=_0xa0d1;return _0x3f5316[_0x16d6d9(0x414)][_0x16d6d9(0x469)]={'pad':function(){},'unpad':function(){}},_0x3f5316[_0x16d6d9(0x414)]['NoPadding'];}));}(Gi));var Va=Gi['exports'];const Ga=at(Va);function Ya(_0x8bfd3d,_0x4647d5){const _0x1276d8=_0x5b1a3a,_0x270ad9=_0x4647d5-_0x8bfd3d[_0x1276d8(0x29a)]%_0x4647d5,_0x13bd1d=String[_0x1276d8(0x3a9)](_0x270ad9)[_0x1276d8(0x291)](_0x270ad9);return _0x8bfd3d+_0x13bd1d;}function Ka(_0xee8274,_0x4da9ca){const _0x566df1=_0x5b1a3a,_0x1e861a=Fa[_0x566df1(0x372)](0x10),_0x323761=Ya(_0xee8274,0x10),_0x3f9460=Ha['encrypt'](ka['parse'](_0x323761),ii[_0x566df1(0x2e1)](_0x4da9ca),{'iv':_0x1e861a,'padding':Ga});return _0x1e861a['concat'](_0x3f9460[_0x566df1(0x3db)])[_0x566df1(0x4fb)](ii);}function za(){const _0x79635e=_0x5b1a3a,_0x27997d=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x79635e(0x2ab)];if(_0x27997d){const _0x1f3920={'time':Math[_0x79635e(0x308)](Date[_0x79635e(0x4ad)]()/0x3e8),'domain':location[_0x79635e(0x3ce)]};return Ka(JSON['stringify'](_0x1f3920),_0x27997d);}}var qa=Object[_0x5b1a3a(0x3dc)],Xa=Object[_0x5b1a3a(0x42f)],Ja=(_0x19d708,_0x47b458,_0xa796,_0x21c091)=>{for(var _0xb8414d=_0x21c091>0x1?void 0x0:_0x21c091?Xa(_0x47b458,_0xa796):_0x47b458,_0x3d2941=_0x19d708['length']-0x1,_0x38382f;_0x3d2941>=0x0;_0x3d2941--)(_0x38382f=_0x19d708[_0x3d2941])&&(_0xb8414d=(_0x21c091?_0x38382f(_0x47b458,_0xa796,_0xb8414d):_0x38382f(_0xb8414d))||_0xb8414d);return _0x21c091&&_0xb8414d&&qa(_0x47b458,_0xa796,_0xb8414d),_0xb8414d;},Za=(_0x15f692,_0x24f926)=>(_0x3a8809,_0x2b8ba0)=>_0x24f926(_0x3a8809,_0x2b8ba0,_0x15f692);let Tt=class{constructor(_0x2d6182){const _0xfe837f=_0x5b1a3a;this['_httpService']=_0x2d6182,this[_0xfe837f(0x3bb)]();}[_0x5b1a3a(0x3bb)](){const _0x12f291=_0x5b1a3a;this[_0x12f291(0x518)][_0x12f291(0x181)]({'interceptor':(_0x2778f3,_0x2995c7)=>{const _0x29493a=_0x12f291,_0x3ef0d4=_0x2778f3[_0x29493a(0x4d3)],_0x42dc2b=za();return _0x42dc2b&&_0x3ef0d4[_0x29493a(0x18b)]('x-univer-host',_0x42dc2b),_0x2995c7(_0x2778f3);}});}};Tt=Ja([Za(0x0,_0x28839c(_0xcd006c))],Tt);var Qa=Object[_0x5b1a3a(0x3dc)],ec=Object[_0x5b1a3a(0x42f)],tc=(_0x5a91db,_0x258251,_0xe387b0,_0x5d3be2)=>{const _0x131027=_0x5b1a3a;for(var _0x51fff3=_0x5d3be2>0x1?void 0x0:_0x5d3be2?ec(_0x258251,_0xe387b0):_0x258251,_0x2c80a6=_0x5a91db[_0x131027(0x29a)]-0x1,_0x347bee;_0x2c80a6>=0x0;_0x2c80a6--)(_0x347bee=_0x5a91db[_0x2c80a6])&&(_0x51fff3=(_0x5d3be2?_0x347bee(_0x258251,_0xe387b0,_0x51fff3):_0x347bee(_0x51fff3))||_0x51fff3);return _0x5d3be2&&_0x51fff3&&Qa(_0x258251,_0xe387b0,_0x51fff3),_0x51fff3;},Xt=(_0x3ba2cd,_0x3b157e)=>(_0x212b3b,_0x54edc2)=>_0x3b157e(_0x212b3b,_0x54edc2,_0x3ba2cd);const sc=['image/png','image/jpeg',_0x5b1a3a(0x1e3),_0x5b1a3a(0x582),_0x5b1a3a(0x4d6)],ic=0x5*0x400*0x400,nc=_0x5b1a3a(0x436),rc=_0x5b1a3a(0x3b2),oc='EXCHANGE_SIGN_URL_SERVER_URL_KEY',ac=_0x5b1a3a(0x21b);let hs=class{constructor(_0x3aaa9f,_0x409a20,_0x188f12){const _0x236137=_0x5b1a3a;g(this,_0x236137(0x575),0x0),g(this,_0x236137(0x474),new _0x3709f3()),g(this,'change$',this[_0x236137(0x474)]),g(this,_0x236137(0x191),new Map()),(this[_0x236137(0x518)]=_0x3aaa9f,this['_configService']=_0x409a20,this[_0x236137(0x212)]=_0x188f12);}['setWaitCount'](_0x2be45){const _0x31f76d=_0x5b1a3a;this[_0x31f76d(0x575)]=_0x2be45,this['_change$']['next'](_0x2be45);}[_0x5b1a3a(0x1f5)](_0x157b15,_0x49e700){const _0x3ea892=_0x5b1a3a;if(_0x49e700===_0x547351[_0x3ea892(0x57c)]){const _0x2c4365=new Image();return _0x2c4365['src']=_0x157b15,_0x2c4365;}return this[_0x3ea892(0x191)][_0x3ea892(0x50f)](_0x157b15);}[_0x5b1a3a(0x566)](_0x34e441,_0x3e8920,_0x5b1acf){const _0x5e385b=_0x5b1a3a;_0x3e8920===_0x547351['BASE64']||_0x5b1acf==null||this[_0x5e385b(0x191)][_0x5e385b(0x18b)](_0x34e441,_0x5b1acf);}async[_0x5b1a3a(0x409)](_0x13f394){const _0x2c5cfd=_0x5b1a3a;try{const _0xfafca7=this[_0x2c5cfd(0x31a)](this[_0x2c5cfd(0x4cb)](),''+_0x13f394),_0x5d505e=(await this[_0x2c5cfd(0x518)][_0x2c5cfd(0x50f)](_0xfafca7))[_0x2c5cfd(0x2c7)];if(_0x5d505e[_0x2c5cfd(0x237)]&&_0x5d505e[_0x2c5cfd(0x237)]['code']===Ri['OK']){const _0x53343a=new URL(_0x5d505e[_0x2c5cfd(0x2ed)],this[_0x2c5cfd(0x31b)]())[_0x2c5cfd(0x4fb)]();return Promise[_0x2c5cfd(0x4f9)](_0x53343a);}return Promise['reject'](_0x5d505e[_0x2c5cfd(0x237)]);}catch(_0x2192d2){return Promise[_0x2c5cfd(0x406)](_0x2192d2);}}async[_0x5b1a3a(0x473)](_0x458257){const _0x36652d=_0x5b1a3a;let _0x17b648='';if(!sc['includes'](_0x458257['type']))return this[_0x36652d(0x340)](),Promise[_0x36652d(0x406)](new Error(_0x26018c[_0x36652d(0x397)]));if(_0x458257['size']>ic)return this['_decreaseWaiting'](),Promise[_0x36652d(0x406)](new Error(_0x26018c[_0x36652d(0x271)]));try{const _0x57f7e0=new FormData();_0x57f7e0[_0x36652d(0x563)](_0x36652d(0x2e6),_0x458257);const _0x269ca4=this[_0x36652d(0x212)]['getFocusedUnit'](),_0x31e99a=_0x269ca4==null?void 0x0:_0x269ca4[_0x36652d(0x510)]();if(!_0x31e99a)throw new Error(_0x36652d(0x3bd));const _0x2e32fa=this['_getUploadFileURL']()+_0x36652d(0x288)+_0x458257[_0x36652d(0x388)][_0x36652d(0x4fb)]()+'&source='+yi[_0x36652d(0x247)]+_0x36652d(0x39c)+encodeURIComponent(_0x31e99a),_0x242471=await(await fetch(_0x2e32fa,{'method':_0x36652d(0x186),'body':_0x57f7e0}))[_0x36652d(0x1f0)]();if(typeof _0x242471[_0x36652d(0x204)]!='string')return this[_0x36652d(0x340)](),Promise[_0x36652d(0x406)](new Error(_0x26018c[_0x36652d(0x3f6)]));_0x17b648=_0x242471[_0x36652d(0x204)];}catch{return this[_0x36652d(0x340)](),Promise['reject'](new Error(_0x26018c[_0x36652d(0x3f6)]));}return new Promise((_0x2391d9,_0x2fb828)=>{const _0x2e3c52=_0x36652d,_0x281f39=new FileReader();_0x281f39[_0x2e3c52(0x1c8)](_0x458257),_0x281f39['onload']=_0x3adef8=>{const _0x5d5a6c=_0x2e3c52;var _0x188cd2;const _0x1b8eb6=(_0x188cd2=_0x3adef8[_0x5d5a6c(0x325)])==null?void 0x0:_0x188cd2[_0x5d5a6c(0x24f)];if(_0x1b8eb6==null){this['_decreaseWaiting'](),_0x2fb828(new Error(_0x26018c['ERROR_IMAGE']));return;}const _0x1d0932=_0x9e8b08[_0x5d5a6c(0x19a)](0x6);_0x2391d9({'imageId':_0x1d0932,'imageSourceType':_0x547351[_0x5d5a6c(0x38e)],'source':_0x17b648,'base64Cache':_0x1b8eb6,'status':_0x26018c[_0x5d5a6c(0x31f)]}),this['_decreaseWaiting']();};});}['_getUploadFileURL'](){const _0x2a0e98=_0x5b1a3a;var _0xc89707,_0x239597;const _0x5f2db3=this[_0x2a0e98(0x4c4)]['getConfig'](nc),_0x2e4f64=this[_0x2a0e98(0x4c4)]['getConfig'](ie);return(_0x239597=(_0xc89707=_0x2e4f64==null?void 0x0:_0x2e4f64[_0x2a0e98(0x236)])!=null?_0xc89707:_0x5f2db3)!=null?_0x239597:rc;}[_0x5b1a3a(0x4cb)](){const _0x15da80=_0x5b1a3a;var _0x342794,_0x4b8d8f;const _0x59d1fa=this[_0x15da80(0x4c4)][_0x15da80(0x451)](oc),_0x194cc0=this[_0x15da80(0x4c4)][_0x15da80(0x451)](ie);return(_0x4b8d8f=(_0x342794=_0x194cc0==null?void 0x0:_0x194cc0['signUrlServerUrl'])!=null?_0x342794:_0x59d1fa)!=null?_0x4b8d8f:ac;}[_0x5b1a3a(0x31b)](){const _0x1601f4=_0x5b1a3a;var _0x28140c;const _0x59c7c3=this[_0x1601f4(0x4c4)][_0x1601f4(0x451)](ie);return(_0x28140c=_0x59c7c3==null?void 0x0:_0x59c7c3[_0x1601f4(0x185)])!=null?_0x28140c:location[_0x1601f4(0x497)];}[_0x5b1a3a(0x31a)](_0x2f6458,_0x4232b6){const _0x560bc4=_0x5b1a3a;return _0x2f6458[_0x560bc4(0x38c)]('{fileID}',_0x4232b6);}[_0x5b1a3a(0x340)](){const _0x430e93=_0x5b1a3a;this[_0x430e93(0x575)]-=0x1,this['_change$']['next'](this[_0x430e93(0x575)]);}};hs=tc([Xt(0x0,_0x28839c(_0xcd006c)),Xt(0x1,_0x5d6cbd),Xt(0x2,_0x28839c(_0x578cb))],hs);var cc=Object[_0x5b1a3a(0x3dc)],hc=Object[_0x5b1a3a(0x42f)],lc=(_0x49967d,_0x405b9e,_0x599a69,_0x5ee853)=>{const _0x41cdec=_0x5b1a3a;for(var _0x10d10b=_0x5ee853>0x1?void 0x0:_0x5ee853?hc(_0x405b9e,_0x599a69):_0x405b9e,_0x4748da=_0x49967d[_0x41cdec(0x29a)]-0x1,_0xc7e380;_0x4748da>=0x0;_0x4748da--)(_0xc7e380=_0x49967d[_0x4748da])&&(_0x10d10b=(_0x5ee853?_0xc7e380(_0x405b9e,_0x599a69,_0x10d10b):_0xc7e380(_0x10d10b))||_0x10d10b);return _0x5ee853&&_0x10d10b&&cc(_0x405b9e,_0x599a69,_0x10d10b),_0x10d10b;},Qe=(_0x2161c6,_0x4395bf)=>(_0x4fab91,_0x67bf6e)=>_0x4395bf(_0x4fab91,_0x67bf6e,_0x2161c6);let Rt=class extends _0x203b2a{constructor(_0x27373c,_0x27be44,_0x5d1da0,_0x359c14,_0x474ae9){const _0x25814f=_0x5b1a3a;super(),this[_0x25814f(0x4e1)]=_0x27373c,this[_0x25814f(0x212)]=_0x27be44,this[_0x25814f(0x218)]=_0x5d1da0,this['_collaborationSessionService']=_0x359c14,this[_0x25814f(0x273)]=_0x474ae9,this[_0x25814f(0x1cf)](),this['_initCloseConn']();}[_0x5b1a3a(0x241)](){const _0x3c46aa=_0x5b1a3a,_0x29909f=async _0x3f2a51=>{const _0x14fef4=_0xa0d1;(await this[_0x14fef4(0x4cf)][_0x14fef4(0x312)](_0x3f2a51))['event$'][_0x14fef4(0x1ff)](_0x63bf9c(_0x185bd9=>_0x185bd9[_0x14fef4(0x3b5)]===_0x2f5341[_0x14fef4(0x477)]),_0x3c36f4(this['dispose$']))[_0x14fef4(0x570)](_0x20bbf2=>{const _0x5830a9=_0x14fef4,_0x2bbc13=_0x20bbf2,{reason:_0x52c4fe}=_0x2bbc13[_0x5830a9(0x529)];this['_injector'][_0x5830a9(0x50f)](_0x496a91)[_0x5830a9(0x3c1)]({'type':_0x47c858['Error'],'content':this[_0x5830a9(0x273)]['t'](_0x5830a9(0x26c))+'('+_0x52c4fe+')'}),this[_0x5830a9(0x218)][_0x5830a9(0x199)](new _0x192248(_0x3f2a51)['id'],!0x1),this[_0x5830a9(0x4cf)][_0x5830a9(0x2e3)](_0x3f2a51);});};_0x28a5b0(this[_0x3c46aa(0x212)][_0x3c46aa(0x1b0)](_0x1bbc53[_0x3c46aa(0x24e)]),this[_0x3c46aa(0x212)][_0x3c46aa(0x1b0)](_0x1bbc53['UNIVER_DOC']))['pipe'](_0xd46654(_0x13dedd=>_0x13dedd[_0x3c46aa(0x510)]()),_0x63bf9c(_0x39e58b=>!_0x1a81fa(_0x39e58b)),_0x3c36f4(this['dispose$']))[_0x3c46aa(0x570)](_0x7c1dec=>{_0x29909f(_0x7c1dec);});}[_0x5b1a3a(0x1cf)](){const _0x20267e=_0x5b1a3a,_0x1f7188=async _0x1b365d=>{const _0x4dc086=_0xa0d1;(await this['_collaborationSessionService'][_0x4dc086(0x312)](_0x1b365d))[_0x4dc086(0x425)]['pipe'](_0x63bf9c(_0x1d69f7=>_0x1d69f7[_0x4dc086(0x3b5)]===_0x2f5341[_0x4dc086(0x527)]),_0x3c36f4(this['dispose$']))[_0x4dc086(0x570)](_0x1e78be=>{const _0x58e642=_0x4dc086,_0x4971f9=_0x1e78be,{objectId:_0x2b3a07}=_0x4971f9[_0x58e642(0x529)],_0x16deb4=this[_0x58e642(0x4e1)][_0x58e642(0x50f)](_0x3f0d67);_0x2b3a07===_0x1b365d?_0x16deb4[_0x58e642(0x495)](_0x1b365d):_0x16deb4['refreshPermission'](_0x1b365d,_0x2b3a07);});};_0x28a5b0(this[_0x20267e(0x212)][_0x20267e(0x1b0)](_0x1bbc53[_0x20267e(0x24e)]),this[_0x20267e(0x212)]['getTypeOfUnitAdded$'](_0x1bbc53[_0x20267e(0x1f2)]))['pipe'](_0xd46654(_0x3564ce=>_0x3564ce[_0x20267e(0x510)]()),_0x63bf9c(_0x30c212=>!_0x1a81fa(_0x30c212)),_0x3c36f4(this[_0x20267e(0x431)]))[_0x20267e(0x570)](_0x4424ce=>{_0x1f7188(_0x4424ce);});}};Rt=lc([Qe(0x0,_0x28839c(_0x1027b3)),Qe(0x1,_0x578cb),Qe(0x2,_0x2da20a),Qe(0x3,_0x28839c(Ae)),Qe(0x4,_0x28839c(_0x173a06))],Rt);var _c=Object[_0x5b1a3a(0x3dc)],uc=Object[_0x5b1a3a(0x42f)],dc=(_0x23c4d5,_0x4e34c6,_0x5ca3a9,_0x22e4e5)=>{const _0x26b235=_0x5b1a3a;for(var _0x5376c6=_0x22e4e5>0x1?void 0x0:_0x22e4e5?uc(_0x4e34c6,_0x5ca3a9):_0x4e34c6,_0x33678b=_0x23c4d5[_0x26b235(0x29a)]-0x1,_0x173f18;_0x33678b>=0x0;_0x33678b--)(_0x173f18=_0x23c4d5[_0x33678b])&&(_0x5376c6=(_0x22e4e5?_0x173f18(_0x4e34c6,_0x5ca3a9,_0x5376c6):_0x173f18(_0x5376c6))||_0x5376c6);return _0x22e4e5&&_0x5376c6&&_c(_0x4e34c6,_0x5ca3a9,_0x5376c6),_0x5376c6;},ni=(_0x3a1aa7,_0x239dfd)=>(_0x4404e3,_0x3cb1df)=>_0x239dfd(_0x4404e3,_0x3cb1df,_0x3a1aa7);let ls=class{constructor(_0x3b03b2,_0x4ebdf6){const _0x549d06=_0x5b1a3a;this['_configService']=_0x3b03b2,this[_0x549d06(0x518)]=_0x4ebdf6;}async[_0x5b1a3a(0x47a)](_0x3bfea7,_0xfec778){const _0x1e9ca6=_0x5b1a3a;var _0x267db9;const {unitID:_0x1ec0dc,type:_0x2e6c98,revision:_0x1f8b15=0x0}=_0xfec778,_0x1b9138=this[_0x1e9ca6(0x34e)]()+'/'+_0x2e6c98+_0x1e9ca6(0x1f3)+_0x1ec0dc+'/rev/'+_0x1f8b15,_0xad299e=(await this[_0x1e9ca6(0x518)][_0x1e9ca6(0x50f)](_0x1b9138))['body'],_0xa14a4f=(_0x267db9=_0xad299e[_0x1e9ca6(0x54d)])==null?void 0x0:_0x267db9['workbook'];if(_0xa14a4f){const _0x2880d7=_0xa14a4f==null?void 0x0:_0xa14a4f[_0x1e9ca6(0x33b)],_0x204778=_0xe06896[_0x1e9ca6(0x1cb)](_0x4043bf(_0x2880d7));_0xa14a4f[_0x1e9ca6(0x33b)]=_0x204778,Object[_0x1e9ca6(0x1e4)](_0xa14a4f[_0x1e9ca6(0x330)])[_0x1e9ca6(0x2a1)](([,_0x2097a8])=>{const _0x33e113=_0x1e9ca6,_0x513700=_0x2097a8[_0x33e113(0x33b)],_0x3baf69=_0xe06896[_0x33e113(0x1cb)](_0x4043bf(_0x513700));_0x2097a8['originalMeta']=_0x3baf69;});}return _0xad299e;}async[_0x5b1a3a(0x2ba)](_0x176abe,_0x3223cb){const _0x43777b=_0x5b1a3a,{unitID:_0x5edfc0,type:_0x18cc01,blockID:_0x3bda15}=_0x3223cb,_0x3ca963=this[_0x43777b(0x407)]()+'/'+_0x18cc01+_0x43777b(0x1f3)+_0x5edfc0+_0x43777b(0x1c9)+_0x3bda15;return(await this['_httpService']['get'](_0x3ca963))[_0x43777b(0x2c7)];}async['getDeserializedSheetBlock'](_0xd79f17,_0x17b427){const _0x4ed643=_0x5b1a3a,{unitID:_0x1534af,type:_0x463604,blockID:_0x2a47a3}=_0x17b427,_0x5adde6=this[_0x4ed643(0x407)]()+'/block/'+_0x463604+'/unit/'+_0x1534af+'/block/'+_0x2a47a3;return(await this[_0x4ed643(0x518)][_0x4ed643(0x50f)](_0x5adde6))[_0x4ed643(0x2c7)];}async['fetchMissingChangesets'](_0xe68e02,_0x58b447){const _0x10d238=_0x5b1a3a,{unitID:_0x270f29,type:_0x442afd,from:_0x435ac3,to:_0x47408e}=_0x58b447,_0x5469d5=this[_0x10d238(0x407)]()+'/'+_0x442afd+_0x10d238(0x1f3)+_0x270f29+_0x10d238(0x55c)+_0x435ac3+_0x10d238(0x1f6)+_0x47408e;return(await this[_0x10d238(0x518)][_0x10d238(0x50f)](_0x5469d5))[_0x10d238(0x2c7)];}[_0x5b1a3a(0x34e)](){const _0xeeeed5=_0x5b1a3a;var _0x18bebb;return(_0x18bebb=this[_0xeeeed5(0x4c4)][_0xeeeed5(0x451)](ar))!=null?_0x18bebb:this['_getAPIPrefix']();}[_0x5b1a3a(0x407)](){const _0x1041e3=_0x5b1a3a;var _0x13554b,_0x30d164;const _0x11d541=this['_configService'][_0x1041e3(0x451)](rr),_0x42a38b=this[_0x1041e3(0x4c4)][_0x1041e3(0x451)](ie);return(_0x30d164=(_0x13554b=_0x42a38b==null?void 0x0:_0x42a38b[_0x1041e3(0x478)])!=null?_0x13554b:_0x11d541)!=null?_0x30d164:or;}async[_0x5b1a3a(0x466)](_0x1068f1,_0x535e1a){const _0x38a738=_0x5b1a3a,_0x321c78=_0x38a738(0x48c)+_0x535e1a['type']+_0x38a738(0x1f3)+_0x535e1a[_0x38a738(0x41c)]+_0x38a738(0x315);return(await this[_0x38a738(0x518)][_0x38a738(0x50f)](_0x321c78,{'params':{'resourceId':JSON[_0x38a738(0x3d4)](_0x535e1a[_0x38a738(0x4bc)])}}))[_0x38a738(0x2c7)];}[_0x5b1a3a(0x3f1)](){const _0x3fdf61=_0x5b1a3a;throw new Error(_0x3fdf61(0x4ca));}[_0x5b1a3a(0x2b3)](){const _0x1bf3ff=_0x5b1a3a;throw new Error(_0x1bf3ff(0x4ca));}[_0x5b1a3a(0x28c)](){const _0x51efa7=_0x5b1a3a;throw new Error(_0x51efa7(0x4ca));}[_0x5b1a3a(0x465)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5b1a3a(0x1b7)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};ls=dc([ni(0x0,_0x5d6cbd),ni(0x1,_0x28839c(_0xcd006c))],ls);var fc=Object['defineProperty'],vc=Object[_0x5b1a3a(0x42f)],mc=(_0x8f0a1,_0x46a6d4,_0xc7cd2f,_0x14fd8d)=>{const _0x4ad87c=_0x5b1a3a;for(var _0x53e0b4=_0x14fd8d>0x1?void 0x0:_0x14fd8d?vc(_0x46a6d4,_0xc7cd2f):_0x46a6d4,_0x4be772=_0x8f0a1[_0x4ad87c(0x29a)]-0x1,_0x1ef7cb;_0x4be772>=0x0;_0x4be772--)(_0x1ef7cb=_0x8f0a1[_0x4be772])&&(_0x53e0b4=(_0x14fd8d?_0x1ef7cb(_0x46a6d4,_0xc7cd2f,_0x53e0b4):_0x1ef7cb(_0x53e0b4))||_0x53e0b4);return _0x14fd8d&&_0x53e0b4&&fc(_0x46a6d4,_0xc7cd2f,_0x53e0b4),_0x53e0b4;},et=(_0x32b8f6,_0x4c8f32)=>(_0x56cda2,_0x595d37)=>_0x4c8f32(_0x56cda2,_0x595d37,_0x32b8f6);let _s=class extends _0x274670{constructor(_0x195247,_0x4ae914,_0x223d20,_0x183015,_0x3ea160){const _0xc933bb=_0x5b1a3a;super(_0x195247,_0x4ae914,_0x223d20),this[_0xc933bb(0x427)]=_0x183015,this['_logService']=_0x3ea160;}[_0x5b1a3a(0x1ea)](_0x392346,_0x554aa7){const _0x746f77=_0x5b1a3a,_0x3881e7=this[_0x746f77(0x3bf)](_0x392346);if(_0x3881e7)try{const _0x5894f6=this['_transformStack'](_0x3881e7,_0x554aa7);this['_substituteUndoStack'](_0x392346,_0x5894f6);}catch(_0xd49ac0){this[_0x746f77(0x2b5)]['error'](_0x746f77(0x4d0),_0xd49ac0),this[_0x746f77(0x4eb)](_0x392346);}const _0x203aa3=this[_0x746f77(0x44c)](_0x392346);if(_0x203aa3)try{const _0x25b0ee=this[_0x746f77(0x244)](_0x203aa3,_0x554aa7);this['_substituteRedoStack'](_0x392346,_0x25b0ee);}catch(_0x33d163){this[_0x746f77(0x2b5)][_0x746f77(0x237)](_0x33d163),this[_0x746f77(0x1d3)](_0x392346);}}[_0x5b1a3a(0x4eb)](_0x14a5b8){const _0xa8bf14=_0x5b1a3a,_0x19612f=this[_0xa8bf14(0x3bf)](_0x14a5b8);_0x19612f&&(_0x19612f['length']=0x0,this[_0xa8bf14(0x43b)]());}[_0x5b1a3a(0x1d3)](_0x1569ca){const _0x5c529d=_0x5b1a3a,_0x19b7a2=this[_0x5c529d(0x44c)](_0x1569ca);_0x19b7a2&&(_0x19b7a2[_0x5c529d(0x29a)]=0x0,this[_0x5c529d(0x43b)]());}[_0x5b1a3a(0x39a)](_0x10745e,_0x4a9e55){const _0x41ef7d=_0x5b1a3a;this[_0x41ef7d(0x43e)][_0x41ef7d(0x18b)](_0x10745e,_0x4a9e55),this[_0x41ef7d(0x43b)]();}['_substituteRedoStack'](_0x4e2396,_0x4074b3){const _0x19d493=_0x5b1a3a;this['_redoStacks'][_0x19d493(0x18b)](_0x4e2396,_0x4074b3),this[_0x19d493(0x43b)]();}['_transformStack'](_0x29efa4,_0x162404){const _0x79ef49=_0x5b1a3a,_0x253298=[];let _0x81be79=_0x162404,_0x20e0d0=_0x162404;for(let _0x748365=_0x29efa4['length']-0x1;_0x748365>=0x0;_0x748365--){const {unitID:_0x21186b,undoMutations:_0x149e57,redoMutations:_0xba637e}=_0x29efa4[_0x748365],_0x43accc=this[_0x79ef49(0x427)]['transformMutationsWithChangeset'](_0x81be79,_0x149e57),_0x43e448=this['_transformService'][_0x79ef49(0x280)](_0x20e0d0,_0xba637e);if(_0x514ce0(_0x43accc)||_0x514ce0(_0x43e448)){this[_0x79ef49(0x2b5)][_0x79ef49(0x237)](_0x79ef49(0x4d0),_0x79ef49(0x467),_0x43accc,_0x43e448);break;}_0x81be79=_0x43accc['c1Prime'],_0x20e0d0=_0x43e448[_0x79ef49(0x45a)],_0x253298[_0x79ef49(0x44a)]({'unitID':_0x21186b,'undoMutations':_0x43accc[_0x79ef49(0x4c8)],'redoMutations':_0x43e448[_0x79ef49(0x4c8)]});}return _0x253298[_0x79ef49(0x52d)]();}};_s=mc([et(0x0,_0x578cb),et(0x1,_0x10ec6b),et(0x2,_0x3f60de),et(0x3,_0xef8dcd),et(0x4,_0x418a3e)],_s);class pc extends _0x203b2a{constructor(){const _0x5bab46=_0x5b1a3a;super(),g(this,'urlChange$'),this[_0x5bab46(0x2bb)]=_0xcd07a4(window,_0x5bab46(0x3d6))[_0x5bab46(0x1ff)](_0x3b6332(this['dispose$']),_0x16cb04(0x1),_0x6f237d(void 0x0));}[_0x5b1a3a(0x1d1)](_0x1bd36e,_0x57eb80,_0x4f722b=!0x1){const _0x51e717=_0x5b1a3a,_0x51728e=new URL(window[_0x51e717(0x4c3)][_0x51e717(0x3ad)]);_0x51728e['searchParams'][_0x51e717(0x18b)](_0x1bd36e,_0x57eb80),_0x4f722b?window[_0x51e717(0x2c4)][_0x51e717(0x42a)]('','',_0x51728e[_0x51e717(0x4fb)]()):window['history'][_0x51e717(0x2b9)]('','',_0x51728e[_0x51e717(0x4fb)]());}['removeParam'](_0x2af169,_0x1cc57d=!0x1){const _0x2d7882=_0x5b1a3a,_0x37ec65=new URL(window[_0x2d7882(0x4c3)][_0x2d7882(0x3ad)]);_0x37ec65['searchParams'][_0x2d7882(0x3a1)](_0x2af169),_0x1cc57d?window[_0x2d7882(0x2c4)][_0x2d7882(0x42a)]('','',_0x37ec65[_0x2d7882(0x4fb)]()):window['history'][_0x2d7882(0x2b9)]('','',_0x37ec65[_0x2d7882(0x4fb)]());}[_0x5b1a3a(0x509)](_0x40a4e3){const _0x3b1503=_0x5b1a3a;var _0x49d1f0;return(_0x49d1f0=new URL(window['location'][_0x3b1503(0x3ad)])[_0x3b1503(0x37f)][_0x3b1503(0x50f)](_0x40a4e3))!=null?_0x49d1f0:void 0x0;}}var Yi=Object[_0x5b1a3a(0x3dc)],gc=Object['getOwnPropertyDescriptor'],Sc=(_0x5a17c8,_0x1f4588,_0x9934fa)=>_0x1f4588 in _0x5a17c8?Yi(_0x5a17c8,_0x1f4588,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x9934fa}):_0x5a17c8[_0x1f4588]=_0x9934fa,Ic=(_0x479fd7,_0x247eef,_0x2a158b,_0xca1da3)=>{const _0x180409=_0x5b1a3a;for(var _0x5c67d5=_0xca1da3>0x1?void 0x0:_0xca1da3?gc(_0x247eef,_0x2a158b):_0x247eef,_0x49d2ff=_0x479fd7[_0x180409(0x29a)]-0x1,_0x3b9b49;_0x49d2ff>=0x0;_0x49d2ff--)(_0x3b9b49=_0x479fd7[_0x49d2ff])&&(_0x5c67d5=(_0xca1da3?_0x3b9b49(_0x247eef,_0x2a158b,_0x5c67d5):_0x3b9b49(_0x5c67d5))||_0x5c67d5);return _0xca1da3&&_0x5c67d5&&Yi(_0x247eef,_0x2a158b,_0x5c67d5),_0x5c67d5;},_t=(_0xad6b54,_0x10d359)=>(_0x1836a4,_0x300452)=>_0x10d359(_0x1836a4,_0x300452,_0xad6b54),Cc=(_0x44cef8,_0x16c6c7,_0x1ad695)=>Sc(_0x44cef8,_0x16c6c7+'',_0x1ad695);const Ec=_0x5b1a3a(0x551);let us=class extends _0xa4cbe6{constructor(_0x26c041=Er,_0x2d790f,_0x8052a9,_0x884f26,_0x256fc5){const _0x4e8083=_0x5b1a3a;super(),this['_config']=_0x26c041,this[_0x4e8083(0x2b5)]=_0x2d790f,this[_0x4e8083(0x3c3)]=_0x8052a9,this['_injector']=_0x884f26,this[_0x4e8083(0x4c4)]=_0x256fc5;const {..._0x1d8102}=this[_0x4e8083(0x3a6)];this[_0x4e8083(0x4c4)]['setConfig'](ie,_0x1d8102);}['onStarting'](){const _0x107baa=_0x5b1a3a;this[_0x107baa(0x454)](),this[_0x107baa(0x3ba)]();}['onReady'](){const _0x2d41f2=_0x5b1a3a;_0x40637e(this[_0x2d41f2(0x4e1)],[[Et]]);}[_0x5b1a3a(0x2a6)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x5632ec=_0x5b1a3a;var _0x4d93d0,_0x52937d,_0x217888,_0x1928b9;this['_injector'][_0x5632ec(0x2fd)](_0x1ffd7c)&&this[_0x5632ec(0x2b5)][_0x5632ec(0x237)](_0x5632ec(0x302),_0x5632ec(0x341));const _0x18c2f6=[[_0x1ffd7c,{'useClass':_s}],[Ae],[bs],[Hi,{'useClass':pc}],[Ne],[q],[_0x159ac7],[mt],[gt],[vt],[pt],[Cs],[bt],[Tt],[wi],[Rt],[Oi,{'useClass':(_0x52937d=(_0x4d93d0=this['_config'])==null?void 0x0:_0x4d93d0[_0x5632ec(0x53e)])!=null?_0x52937d:es}],[_0x5c5d27,{'useClass':ls}],[_0x35c722,{'useClass':cs}],[_0x56a5b0,{'useClass':hs}],[it],[Ct],[It],[Et],[Ve]];(_0x217888=this[_0x5632ec(0x3a6)])!=null&&_0x217888['enableSingleActiveInstanceLock']&&_0x18c2f6[_0x5632ec(0x44a)]([yt,{'useClass':so}]),_0x2d8432(this['_injector'],_0x1aae49(_0x18c2f6,(_0x1928b9=this['_config'])==null?void 0x0:_0x1928b9['override']));}[_0x5b1a3a(0x370)](){const _0x5b527c=_0x5b1a3a;this[_0x5b527c(0x4b9)](this[_0x5b527c(0x3c3)]['registerRenderModule'](_0x1bbc53[_0x5b527c(0x1f2)],[os])),this[_0x5b527c(0x4b9)](this[_0x5b527c(0x3c3)][_0x5b527c(0x413)](_0x1bbc53[_0x5b527c(0x24e)],[as]));}[_0x5b1a3a(0x3ba)](){const _0x40675d=_0x5b1a3a;var _0x4cc70d,_0x3cec78;this['_injector']['get'](_0xcd006c)[_0x40675d(0x181)]({'priority':0x14,'interceptor':_0x44ad5f({'maxParallel':0x6})}),(_0x4cc70d=this['_config'])!=null&&_0x4cc70d[_0x40675d(0x27e)]||this[_0x40675d(0x4e1)][_0x40675d(0x50f)](q)[_0x40675d(0x56f)](),(_0x3cec78=this[_0x40675d(0x3a6)])!=null&&_0x3cec78[_0x40675d(0x299)]&&_0x40637e(this[_0x40675d(0x4e1)],[[bt]]),_0x40637e(this[_0x40675d(0x4e1)],[[Tt],[Ve],[Ct],[it],[It],[Rt]]);}};Cc(us,_0x5b1a3a(0x4ac),Ec),us=Ic([_0xc3155c(_0x2bcdf9,_0x1a0e26),_t(0x1,_0x418a3e),_t(0x2,_0x47f498),_t(0x3,_0x28839c(_0x1027b3)),_t(0x4,_0x5d6cbd)],us);export{Ua as AUTHZ_URL_KEY,cs as AuthzIoHttpService,gr as COLLAB_SUBMIT_CHANGESET_URL_KEY,hr as COLLAB_WEB_SOCKET_URL_KEY,it as CollaborationController,St as CollaborationEntity,ts as CollaborationSession,Ae as CollaborationSessionService,es as CollaborationSocketService,J as CollaborationStatus,ua as CollaborationStatusDisplay,wi as CommentService,Ct as DataLoaderController,It as DesktopCollaborationStatusDisplayController,ss as DocCollaborationEntity,_r as HEARTBEAT_INTERVAL_KEY,bi as HEARTBEAT_TIMEOUT_KEY,Oi as ICollaborationSocketService,Hi as IURLService,hs as ImageIoService,mr as LOCAL_CACHE_INTERVAL_KEY,Ir as LOGIN_URL_KEY,q as LocalCacheService,Ne as MemberService,fr as RETRY_CONNECTING_MAX_COUNT_KEY,kc as SEND_CHANGESET_TIMEOUT_KEY,rr as SNAPSHOT_SERVER_URL_KEY,ar as SNAPSHOT_URL_KEY,ve as SessionStatus,Ko as SheetCollabCursorShape,is as SheetCollaborationEntity,ls as SnapshotServerOverHTTPService,us as UniverCollaborationClientPlugin,pc as WebURLService,br as deserializeToCombResponse,Tr as serializeCombRequest};
|