@univerjs-pro/collaboration-client 0.4.1-nightly.202410291304 → 0.4.2-nightly.202410291606

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 CHANGED
@@ -1 +1 @@
1
- const _0xefeb96=_0x4451;(function(_0x50c03c,_0x9956a6){const _0x52f4e1=_0x4451,_0x43c0cb=_0x50c03c();while(!![]){try{const _0x2d2c46=-parseInt(_0x52f4e1(0x300))/0x1+parseInt(_0x52f4e1(0x178))/0x2+parseInt(_0x52f4e1(0x191))/0x3+-parseInt(_0x52f4e1(0x3f9))/0x4*(-parseInt(_0x52f4e1(0x16e))/0x5)+parseInt(_0x52f4e1(0x355))/0x6*(-parseInt(_0x52f4e1(0x176))/0x7)+parseInt(_0x52f4e1(0xde))/0x8+-parseInt(_0x52f4e1(0x1f1))/0x9*(-parseInt(_0x52f4e1(0x43a))/0xa);if(_0x2d2c46===_0x9956a6)break;else _0x43c0cb['push'](_0x43c0cb['shift']());}catch(_0x477e2c){_0x43c0cb['push'](_0x43c0cb['shift']());}}}(_0x41ec,0x74037));var Ki=Object['defineProperty'],zi=(_0x109305,_0x425486,_0x45a01d)=>_0x425486 in _0x109305?Ki(_0x109305,_0x425486,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x45a01d}):_0x109305[_0x425486]=_0x45a01d,g=(_0x544ded,_0x1db248,_0xa1214e)=>zi(_0x544ded,typeof _0x1db248!=_0xefeb96(0x427)?_0x1db248+'':_0x1db248,_0xa1214e);import{createIdentifier as _0x346f91,Inject as _0x3099f4,Disposable as _0x4f89fd,DisposableCollection as _0x642676,toDisposable as _0x26357a,IConfigService as _0x4ea3e2,ILogService as _0x40d13a,UserManagerService as _0x5492bc,UniverInstanceType as _0x634e8e,IUniverInstanceService as _0x3ca09d,LocaleService as _0x6eefec,Optional as _0x118e7e,RxDisposable as _0x2f42db,Injector as _0x3676c8,Tools as _0x4d0489,ILocalStorageService as _0x30ee26,Rectangle as _0x22b767,ICommandService as _0x45feb8,DOC_RANGE_TYPE as _0x11763b,JSONX as _0x2c8f38,CommandType as _0x3d2d65,IPermissionService as _0x2d8777,IUndoRedoService as _0x277be1,sequenceExecute as _0x36bdde,debounce as _0x3d4248,COLORS as _0x2582ae,ColorKit as _0x4d3673,ThemeService as _0x959a84,fromEventSubject as _0x22b807,useDependency as _0x373422,connectInjector as _0x3da318,Workbook as _0x10baaa,isInternalEditorID as _0x1f4ea9,LocalUndoRedoService as _0x5dbb05,IContextService as _0x1494b4,DependentOn as _0x259825,Plugin as _0xa1ffef,touchDependencies as _0x18a2e1,IAuthzIoService as _0x5f2d19,registerDependencies as _0x38ffad,mergeOverrideWithDependencies as _0x388d33}from'@univerjs/core';import{Subject as _0x17e316,merge as _0x1b8a05,takeUntil as _0x41a6cf,BehaviorSubject as _0x1d1c4b,distinctUntilChanged as _0x97c859,fromEvent as _0x162ed6,ReplaySubject as _0x4efb30,take as _0x4a1f3b,map as _0x4376f4,shareReplay as _0x2881f3,of as _0x59a608,debounceTime as _0x5d1181,filter as _0x4847d3,switchMap as _0x18db0e,combineLatest as _0x2a2925,concatMap as _0x53bc20,mapTo as _0x431d26}from'rxjs';import{map as _0x348356,take as _0x28f002,filter as _0x353c46,delay as _0x3f70c2,throttleTime as _0x4c6098,takeUntil as _0x4c9419,switchMap as _0x26b330}from'rxjs/operators';import{MessageType as _0x336366,Tooltip as _0x8385b8}from'@univerjs/design';import{IBeforeCloseService as _0x32bb8b,IMessageService as _0x3480f5,INotificationService as _0x2c0f6e,useObservable as _0x56d905,BuiltInUIPart as _0x26d639,IUIPartsService as _0x3f682f}from'@univerjs/ui';import{HTTPService as _0x281aa7,WebSocketService as _0x300491,MergeInterceptorFactory as _0x2a72b9,HTTPRequest as _0x4d57e5,UniverNetworkPlugin as _0x2af1f2,ThresholdInterceptorFactory as _0x2b8df1}from'@univerjs/network';import{CollaborationEvent as _0x3b2ff1,parseChangesetToProtocol as _0x9bd98d,ISnapshotServerService as _0x45d794,isTransformMutationFailure as _0x1a9445,isTransformMutationsWithChangesetSuccess as _0xd4a330,ITransformService as _0x5c28bd,RevisionService as _0xa44bce,mapDocumentTypeToUniverType as _0x4c8b56,isTransformChangesetsSuccess as _0x3dbcae,CompressMutationService as _0x23472d,parseProtocolChangeset as _0x57931f,SnapshotService as _0x4f4dbd,textEncoder as _0x3a0532,b64DecodeUnicode as _0x4f7987,isTransformMutationsWithChangesetFailure as _0x227a64,UniverCollaborationPlugin as _0x1c5737}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x551180}from'@univerjs/telemetry';import{DocIMEInputManagerService as _0x34f062,DocStateChangeManagerService as _0x3afa8a,NodePositionConvertToCursor as _0x13d419,NodePositionConvertToRectRange as _0x3a943c,TEXT_RANGE_LAYER_INDEX as _0x1a678c,SetDocZoomRatioOperation as _0x20a856}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x195025,SetSelectionsOperation as _0xace6cf,InsertSheetMutation as _0x325473,EmptyMutation as _0x5c7ca1,WorkbookEditablePermission as _0x3b5145,RefRangeService as _0x43749e,EffectRefRangId as _0x4a5afd,handleIRemoveRow as _0x316f3c,handleIRemoveCol as _0x144949,handleMoveRange as _0x4d88f0,handleInsertRow as _0x233c37,handleInsertRangeMoveRight as _0x34ebeb,handleInsertRangeMoveDown as _0x121945,handleInsertCol as _0x30ee5d,handleDeleteRangeMoveUp as _0x1af049,handleDeleteRangeMoveLeft as _0x17f8d2,runRefRangeMutations as _0x5f03cd,SetWorksheetActivateCommand as _0x2f61e5}from'@univerjs/sheets';import{IRenderManagerService as _0x25b6aa,Shape as _0x22656b,Rect as _0x57a736,getColor as _0x12b38d,RegularPolygon as _0x45811e,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0xdbf232,Vector2 as _0x6b9a55}from'@univerjs/engine-render';import{DocSelectionManagerService as _0xf65f0a,RichTextEditingMutation as _0x58f2a8,SetTextSelectionsOperation as _0x15fd2f,DocSkeletonManagerService as _0x305dc6}from'@univerjs/docs';import{ImageSourceType as _0x4bcfac,ImageUploadStatusType as _0x69f6d2,IImageIoService as _0xb002a6}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x56c9f0,serializeRangeWithSheet as _0x5a7388}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x281e56,VIEWPORT_KEY as _0x8ed84e,getCoordByCell as _0x5b0afc,getSheetObject as _0x13d2ac,SheetPermissionInitController as _0x1315ea}from'@univerjs/sheets-ui';import _0x592b57,{forwardRef as _0x1fd374,useRef as _0x315c52,createElement as _0x57641b,useCallback as _0x39e7f2}from'react';import{IRemoteInstanceService as _0x29360e}from'@univerjs/rpc';const rr=_0xefeb96(0x404),or=_0xefeb96(0x38f),ar=_0xefeb96(0xd4),kc=_0xefeb96(0x473),cr=0x7d0,hr=_0xefeb96(0x4c0),lr=_0xefeb96(0x17b),_r='HEARTBEAT_INTERVAL',ur=0x7530,bi=_0xefeb96(0x17e),Ti=0x4e20,dr=0x4e20,fr=_0xefeb96(0x36a),vr=0x3,mr=_0xefeb96(0xe7),pr=0x3e8,gr=_0xefeb96(0x353),Sr=_0xefeb96(0x43b),Ir=_0xefeb96(0x2d9),Cr=_0xefeb96(0x1c9);var Ri=(_0xacf3d6=>(_0xacf3d6[_0xacf3d6[_0xefeb96(0x490)]=0x0]=_0xefeb96(0x490),_0xacf3d6[_0xacf3d6['OK']=0x1]='OK',_0xacf3d6[_0xacf3d6['INTERNAL_ERROR']=0x2]=_0xefeb96(0x25b),_0xacf3d6[_0xacf3d6[_0xefeb96(0x381)]=0x3]=_0xefeb96(0x381),_0xacf3d6[_0xacf3d6[_0xefeb96(0x495)]=0x4]=_0xefeb96(0x495),_0xacf3d6[_0xacf3d6[_0xefeb96(0x36c)]=0x5]='UNAUTHENTICATED',_0xacf3d6[_0xacf3d6[_0xefeb96(0x3f4)]=0x6]='ALREADY_EXISTS',_0xacf3d6[_0xacf3d6['INVALID_ARGUMENT']=0x7]=_0xefeb96(0x1af),_0xacf3d6[_0xacf3d6[_0xefeb96(0x1c3)]=0x8]=_0xefeb96(0x1c3),_0xacf3d6[_0xacf3d6[_0xefeb96(0x42d)]=0x9]=_0xefeb96(0x42d),_0xacf3d6[_0xacf3d6[_0xefeb96(0x388)]=0x1389]=_0xefeb96(0x388),_0xacf3d6[_0xacf3d6[_0xefeb96(0x3b1)]=0x1771]=_0xefeb96(0x3b1),_0xacf3d6[_0xacf3d6['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0xefeb96(0x314),_0xacf3d6[_0xacf3d6[_0xefeb96(0x1ea)]=0x1773]=_0xefeb96(0x1ea),_0xacf3d6[_0xacf3d6[_0xefeb96(0x32f)]=0x1b59]='APPLY_REJECT',_0xacf3d6[_0xacf3d6[_0xefeb96(0x2fc)]=0x1b5a]=_0xefeb96(0x2fc),_0xacf3d6[_0xacf3d6[_0xefeb96(0x3df)]=0x1b5b]=_0xefeb96(0x3df),_0xacf3d6[_0xacf3d6[_0xefeb96(0x4c6)]=0x1b5c]=_0xefeb96(0x4c6),_0xacf3d6[_0xacf3d6[_0xefeb96(0x4a3)]=0x1b5d]=_0xefeb96(0x4a3),_0xacf3d6[_0xacf3d6[_0xefeb96(0x35c)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0xacf3d6[_0xacf3d6[_0xefeb96(0x20d)]=0x2329]=_0xefeb96(0x20d),_0xacf3d6[_0xacf3d6[_0xefeb96(0x13b)]=0x232a]=_0xefeb96(0x13b),_0xacf3d6[_0xacf3d6[_0xefeb96(0x12f)]=0x232b]=_0xefeb96(0x12f),_0xacf3d6[_0xacf3d6[_0xefeb96(0x2d0)]=0x232c]=_0xefeb96(0x2d0),_0xacf3d6[_0xacf3d6[_0xefeb96(0x149)]=0x232d]='LICENSE_DISTRO_REJECTED',_0xacf3d6[_0xacf3d6[_0xefeb96(0x3c6)]=0x2711]=_0xefeb96(0x3c6),_0xacf3d6[_0xacf3d6[_0xefeb96(0x27a)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0xacf3d6[_0xacf3d6[_0xefeb96(0x1f5)]=0x2713]=_0xefeb96(0x1f5),_0xacf3d6[_0xacf3d6[_0xefeb96(0x154)]=0x2714]=_0xefeb96(0x154),_0xacf3d6[_0xacf3d6['UNRECOGNIZED']=-0x1]=_0xefeb96(0x3b8),_0xacf3d6))(Ri||{}),ce=(_0x580336=>(_0x580336[_0x580336[_0xefeb96(0x1e6)]=0x0]='UNIVER_UNKNOWN',_0x580336[_0x580336['UNIVER_DOC']=0x1]=_0xefeb96(0x4b4),_0x580336[_0x580336['UNIVER_SHEET']=0x2]=_0xefeb96(0x451),_0x580336[_0x580336['UNIVER_SLIDE']=0x3]=_0xefeb96(0x351),_0x580336[_0x580336[_0xefeb96(0x3fe)]=0x4]=_0xefeb96(0x3fe),_0x580336[_0x580336['UNRECOGNIZED']=-0x1]=_0xefeb96(0x3b8),_0x580336))(ce||{}),W=(_0x3c1d86=>(_0x3c1d86[_0x3c1d86[_0xefeb96(0x315)]=0x0]=_0xefeb96(0x315),_0x3c1d86[_0x3c1d86[_0xefeb96(0x4a1)]=0x1]=_0xefeb96(0x4a1),_0x3c1d86[_0x3c1d86[_0xefeb96(0xdf)]=0x2]=_0xefeb96(0xdf),_0x3c1d86[_0x3c1d86['LEAVE']=0x3]=_0xefeb96(0x175),_0x3c1d86[_0x3c1d86[_0xefeb96(0x2f7)]=0x4]=_0xefeb96(0x2f7),_0x3c1d86[_0x3c1d86[_0xefeb96(0x210)]=0x5]=_0xefeb96(0x210),_0x3c1d86[_0x3c1d86['RECV']=0x6]='RECV',_0x3c1d86[_0x3c1d86[_0xefeb96(0x3b8)]=-0x1]=_0xefeb96(0x3b8),_0x3c1d86))(W||{}),Is=(_0x5c5e7c=>(_0x5c5e7c[_0x5c5e7c[_0xefeb96(0x115)]=0x0]=_0xefeb96(0x115),_0x5c5e7c[_0x5c5e7c['OK']=0x1]='OK',_0x5c5e7c[_0x5c5e7c[_0xefeb96(0x364)]=0x2]=_0xefeb96(0x364),_0x5c5e7c[_0x5c5e7c[_0xefeb96(0x3b8)]=-0x1]=_0xefeb96(0x3b8),_0x5c5e7c))(Is||{}),yi=(_0x3c163c=>(_0x3c163c[_0x3c163c[_0xefeb96(0x1a9)]=0x0]=_0xefeb96(0x1a9),_0x3c163c[_0x3c163c[_0xefeb96(0x395)]=0x1]=_0xefeb96(0x395),_0x3c163c[_0x3c163c['HttpExport']=0x2]='HttpExport',_0x3c163c[_0x3c163c[_0xefeb96(0x439)]=0x3]=_0xefeb96(0x439),_0x3c163c[_0x3c163c[_0xefeb96(0x420)]=0x4]=_0xefeb96(0x420),_0x3c163c[_0x3c163c['UNRECOGNIZED']=-0x1]=_0xefeb96(0x3b8),_0x3c163c))(yi||{});const ie=_0xefeb96(0x49f),Er={};function br(_0x32bb95){const _0x4e6078=_0xefeb96;var _0x5bedb5,_0x1a154d,_0x2617f1,_0x338e46,_0x5d8688;const _0x4ba082=_0x32bb95[_0x4e6078(0x1f4)],_0xfbcb2c=JSON['parse'](_0x4ba082);switch(_0xfbcb2c[_0x4e6078(0x29c)]){case W[_0x4e6078(0x210)]:case W[_0x4e6078(0x4a1)]:{const _0x495849=_0xfbcb2c['infoRsp'];return{..._0xfbcb2c,'data':_0x495849,'cmd':_0xfbcb2c['cmd']};}case W['JOIN']:{const _0x401bb3=_0xfbcb2c[_0x4e6078(0x430)];return{..._0xfbcb2c,'data':_0x401bb3,'cmd':_0xfbcb2c[_0x4e6078(0x29c)]};}case W[_0x4e6078(0x2c6)]:{const _0x4faee9=_0xfbcb2c[_0x4e6078(0x31c)];switch(_0x4faee9[_0x4e6078(0x2d6)]){case _0x3b2ff1[_0x4e6078(0xd7)]:return{..._0xfbcb2c,'data':{..._0x4faee9,'data':(_0x5bedb5=_0x4faee9[_0x4e6078(0x2af)])==null?void 0x0:_0x5bedb5['cs']},'cmd':_0xfbcb2c['cmd']};case _0x3b2ff1[_0x4e6078(0x378)]:return{..._0xfbcb2c,'data':{..._0x4faee9,'data':(_0x1a154d=_0x4faee9[_0x4e6078(0x1ae)])==null?void 0x0:_0x1a154d['cs']},'cmd':_0xfbcb2c[_0x4e6078(0x29c)]};case _0x3b2ff1['NEW_CHANGESETS']:return{..._0xfbcb2c,'data':{..._0x4faee9,'data':(_0x2617f1=_0x4faee9['newCsEvent'])==null?void 0x0:_0x2617f1['cs']},'cmd':_0xfbcb2c[_0x4e6078(0x29c)]};case _0x3b2ff1[_0x4e6078(0x3c5)]:return{..._0xfbcb2c,'data':{..._0x4faee9,'data':(_0x338e46=_0x4faee9[_0x4e6078(0x4af)])==null?void 0x0:_0x338e46['cs']},'cmd':_0xfbcb2c[_0x4e6078(0x29c)]};case _0x3b2ff1[_0x4e6078(0x23e)]:return{..._0xfbcb2c,'data':{..._0x4faee9,'data':(_0x5d8688=_0x4faee9[_0x4e6078(0x37e)])==null?void 0x0:_0x5d8688['cs']},'cmd':_0xfbcb2c[_0x4e6078(0x29c)]};case _0x3b2ff1['UPDATE_CURSOR']:return{..._0xfbcb2c,'data':{..._0x4faee9,'data':_0x4faee9[_0x4e6078(0x14f)]},'cmd':_0xfbcb2c[_0x4e6078(0x29c)]};case _0x3b2ff1['USERS_ENTER']:return{..._0xfbcb2c,'data':{..._0x4faee9,'data':_0x4faee9['joinEvent']},'cmd':_0xfbcb2c[_0x4e6078(0x29c)]};case _0x3b2ff1[_0x4e6078(0x29a)]:return{..._0xfbcb2c,'data':{..._0x4faee9,'data':_0x4faee9[_0x4e6078(0x30d)]},'cmd':_0xfbcb2c[_0x4e6078(0x29c)]};case _0x3b2ff1[_0x4e6078(0x48c)]:return{..._0xfbcb2c,'data':{..._0x4faee9,'data':_0x4faee9['liveShareNewHost']},'cmd':_0xfbcb2c[_0x4e6078(0x29c)]};case _0x3b2ff1['LIVESHARE_FETCH_OPERATIONS']:case _0x3b2ff1[_0x4e6078(0x1f6)]:return{..._0xfbcb2c,'data':{..._0x4faee9,'data':_0x4faee9[_0x4e6078(0x39b)]},'cmd':_0xfbcb2c[_0x4e6078(0x29c)]};case _0x3b2ff1[_0x4e6078(0x1f3)]:return{..._0xfbcb2c,'data':{..._0x4faee9,'data':_0x4faee9[_0x4e6078(0x41a)]},'cmd':_0xfbcb2c[_0x4e6078(0x29c)]};case _0x3b2ff1[_0x4e6078(0xd6)]:return{..._0xfbcb2c,'data':_0x4faee9,'cmd':_0xfbcb2c[_0x4e6078(0x29c)]};case _0x3b2ff1[_0x4e6078(0x1a1)]:return{..._0xfbcb2c,'data':{..._0x4faee9,'data':_0x4faee9[_0x4e6078(0x31b)]},'cmd':_0xfbcb2c[_0x4e6078(0x29c)]};case _0x3b2ff1['UPDATE_PERMISSION_OBJ']:return{..._0xfbcb2c,'data':{..._0x4faee9,'data':_0x4faee9[_0x4e6078(0x380)]},'cmd':_0xfbcb2c[_0x4e6078(0x29c)]};case _0x3b2ff1[_0x4e6078(0x22b)]:return{..._0xfbcb2c,'data':{..._0x4faee9,'data':_0x4faee9[_0x4e6078(0x391)]},'cmd':_0xfbcb2c[_0x4e6078(0x29c)]};default:return _0xfbcb2c;}}default:return _0xfbcb2c;}}function Tr(_0x56cf48){const _0x190766=_0xefeb96;switch(_0x56cf48[_0x190766(0x29c)]){case W[_0x190766(0x210)]:case W[_0x190766(0x4a1)]:return JSON[_0x190766(0x296)]({'cmd':_0x56cf48[_0x190766(0x29c)],'routeKey':_0x56cf48[_0x190766(0x4b5)]});case W['INGEST']:{let _0x4cc771;switch(_0x56cf48['data'][_0x190766(0x2d6)]){case _0x3b2ff1[_0x190766(0x18a)]:{_0x4cc771={'eventID':_0x3b2ff1[_0x190766(0x18a)],'updateCursorEvent':_0x56cf48[_0x190766(0x1f4)][_0x190766(0x1f4)]};break;}case _0x3b2ff1['USERS_LEAVE']:{_0x4cc771={'eventID':_0x3b2ff1[_0x190766(0x29a)],'leaveEvent':_0x56cf48['data']['data']};break;}case _0x3b2ff1[_0x190766(0x26e)]:{_0x4cc771={'eventID':_0x3b2ff1[_0x190766(0x26e)],'joinEvent':_0x56cf48[_0x190766(0x1f4)][_0x190766(0x1f4)]};break;}case _0x3b2ff1['LIVESHARE_NEW_HOST']:{_0x4cc771={'eventID':_0x3b2ff1[_0x190766(0x48c)],'liveShareNewHost':_0x56cf48[_0x190766(0x1f4)][_0x190766(0x1f4)]};break;}case _0x3b2ff1[_0x190766(0x1f6)]:{_0x4cc771={'eventID':_0x3b2ff1[_0x190766(0x1f6)],'liveShareOperation':_0x56cf48[_0x190766(0x1f4)]['data']};break;}case _0x3b2ff1[_0x190766(0x1f3)]:{_0x4cc771={'eventID':_0x3b2ff1[_0x190766(0x1f3)],'liveShareTerminate':_0x56cf48['data'][_0x190766(0x1f4)]};break;}case _0x3b2ff1[_0x190766(0x367)]:{_0x4cc771={'eventID':_0x3b2ff1[_0x190766(0x367)],'liveShareRequestHost':_0x56cf48[_0x190766(0x1f4)]['data']};break;}case _0x3b2ff1[_0x190766(0x2cf)]:{_0x4cc771={'eventID':_0x3b2ff1[_0x190766(0x2cf)]};break;}default:_0x4cc771={'eventID':_0x56cf48[_0x190766(0x1f4)][_0x190766(0x2d6)]};}return JSON[_0x190766(0x296)]({'cmd':_0x56cf48[_0x190766(0x29c)],'routeKey':_0x56cf48[_0x190766(0x4b5)],'collaMsg':_0x4cc771});}case W['JOIN']:return JSON[_0x190766(0x296)]({'cmd':_0x56cf48[_0x190766(0x29c)],'routeKey':_0x56cf48[_0x190766(0x4b5)],'joinReq':_0x56cf48['data']});case W[_0x190766(0x175)]:return JSON[_0x190766(0x296)]({'cmd':_0x56cf48[_0x190766(0x29c)],'routeKey':_0x56cf48[_0x190766(0x4b5)],'leaveReq':_0x56cf48[_0x190766(0x1f4)]});default:throw new Error(_0x190766(0x213));}}var Rr=Object[_0xefeb96(0x466)],yr=Object[_0xefeb96(0x336)],Or=(_0x1582af,_0x35c80f,_0x5e21eb,_0x436d9a)=>{const _0x1a5e41=_0xefeb96;for(var _0x4ddce9=_0x436d9a>0x1?void 0x0:_0x436d9a?yr(_0x35c80f,_0x5e21eb):_0x35c80f,_0x1982d=_0x1582af[_0x1a5e41(0x46c)]-0x1,_0x21ef1b;_0x1982d>=0x0;_0x1982d--)(_0x21ef1b=_0x1582af[_0x1982d])&&(_0x4ddce9=(_0x436d9a?_0x21ef1b(_0x35c80f,_0x5e21eb,_0x4ddce9):_0x21ef1b(_0x4ddce9))||_0x4ddce9);return _0x436d9a&&_0x4ddce9&&Rr(_0x35c80f,_0x5e21eb,_0x4ddce9),_0x4ddce9;},qe=(_0x20f0c5,_0x1ebf4e)=>(_0x14d991,_0x124e7b)=>_0x1ebf4e(_0x14d991,_0x124e7b,_0x20f0c5);const Oi=_0x346f91(_0xefeb96(0x459));function wr(_0x2c40bd,_0x204916,_0x2015ed){const _0x22cb4c=_0xefeb96;return _0x2c40bd+'/'+_0x204916+'/unit/'+_0x2015ed+_0x22cb4c(0x35b);}let es=class extends _0x4f89fd{constructor(_0x324e3a,_0x5c2a0f,_0x1fe09d,_0x3cee46,_0x1330a2){const _0x559b4d=_0xefeb96;super(),this[_0x559b4d(0x3ab)]=_0x324e3a,this[_0x559b4d(0x424)]=_0x5c2a0f,this[_0x559b4d(0x32b)]=_0x1fe09d,this[_0x559b4d(0x204)]=_0x3cee46,this[_0x559b4d(0x2ae)]=_0x1330a2;}[_0xefeb96(0x2b9)](_0x253ab4){const _0x237198=_0xefeb96,_0x1dea54=this[_0x237198(0x424)]['createSocket'](_0x253ab4);if(!_0x1dea54)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x2b4317=new _0x642676(),_0x215d6f=new _0x17e316();_0x2b4317['add'](_0x1dea54[_0x237198(0x4c9)][_0x237198(0x2e2)](_0x31fb4a=>_0x215d6f[_0x237198(0x2f1)](_0x31fb4a))),_0x2b4317[_0x237198(0x437)](_0x26357a(()=>_0x215d6f['complete']()));const _0x23bb10=new _0x17e316();_0x2b4317[_0x237198(0x437)](_0x1dea54[_0x237198(0x283)][_0x237198(0x2e2)](_0x2dbd50=>_0x23bb10[_0x237198(0x2f1)](_0x2dbd50))),_0x2b4317[_0x237198(0x437)](_0x26357a(()=>_0x23bb10[_0x237198(0x1de)]()));const _0xd6dc5b=new _0x17e316();_0x2b4317[_0x237198(0x437)](_0x1dea54['message$'][_0x237198(0x2e2)](_0x4037cf=>{const _0x51f6fc=br(_0x4037cf);_0xd6dc5b['next'](_0x51f6fc);})),_0x2b4317[_0x237198(0x437)](_0x26357a(()=>_0xd6dc5b[_0x237198(0x1de)]()));let _0x9376eb;const _0x213ad4=()=>{const _0x13067d=_0x237198;_0x23bb10[_0x13067d(0x2f1)](new Event('connection\x20error')),_0x215d6f['next'](new CloseEvent(_0x13067d(0x287))),_0x9376eb[_0x13067d(0x379)]();};return _0x9376eb={'memberID':'','close$':_0x215d6f[_0x237198(0x3ce)](),'error$':_0x23bb10[_0x237198(0x3ce)](),'open$':_0x1dea54[_0x237198(0x3a9)],'message$':_0xd6dc5b[_0x237198(0x3ce)](),'send':_0x41c9ef=>{const _0x1bd599=_0x237198;if(_0x41c9ef[_0x1bd599(0x29c)]===W['INGEST']){if(_0x41c9ef['data'][_0x1bd599(0x2d6)]===_0x3b2ff1[_0x1bd599(0x152)]){this[_0x1bd599(0x316)](_0x9376eb,_0x41c9ef[_0x1bd599(0x1f4)])[_0x1bd599(0xd3)](_0x430ad7=>{const _0x6f25c3=_0x1bd599;this[_0x6f25c3(0x204)][_0x6f25c3(0x18c)](_0x430ad7),_0x213ad4();});return;}if(_0x41c9ef[_0x1bd599(0x1f4)][_0x1bd599(0x2d6)]===_0x3b2ff1[_0x1bd599(0x499)]){const _0x43df79=_0x41c9ef[_0x1bd599(0x1f4)];this[_0x1bd599(0x4b9)](_0x43df79)['then'](_0x284f1d=>{const _0x422ed3=_0x1bd599;_0xd6dc5b[_0x422ed3(0x2f1)]({'cmd':W[_0x422ed3(0x2c6)],'code':Is['OK'],'routeKey':_0x43df79['data'][_0x422ed3(0xdb)],'routeType':'','data':{'eventID':_0x3b2ff1[_0x422ed3(0x16d)],'data':{'changesets':_0x284f1d}}});})[_0x1bd599(0xd3)](_0xc73725=>{const _0xc54651=_0x1bd599;this[_0xc54651(0x204)][_0xc54651(0x18c)](_0xc73725),_0x213ad4();});return;}}_0x1dea54['send'](Tr(_0x41c9ef));},'close':()=>{const _0x50aa9e=_0x237198;_0x1dea54[_0x50aa9e(0x379)](),_0x2b4317['dispose']();}},_0x9376eb;}async[_0xefeb96(0x316)](_0x58a612,_0x4f85f8){const _0x3d440e=_0xefeb96;var _0xfc9e0e,_0x23ad1e;const {unitType:_0x3cd01b,unitID:_0x373475,changeset:_0x942819}=_0x4f85f8[_0x3d440e(0x1f4)],_0x12d7d1={'unitID':_0x373475,'memberID':_0x58a612['memberID'],'type':_0x3cd01b,'changeset':_0x9bd98d(_0x942819)},_0x5c4c24=this['_configService']['getConfig'](gr),_0x1f768a=this[_0x3d440e(0x32b)][_0x3d440e(0x188)](ie),_0x5a2e44=wr((_0x23ad1e=(_0xfc9e0e=_0x1f768a==null?void 0x0:_0x1f768a[_0x3d440e(0x25c)])!=null?_0xfc9e0e:_0x5c4c24)!=null?_0x23ad1e:Sr,_0x3cd01b,_0x373475);try{await this[_0x3d440e(0x3ab)][_0x3d440e(0x39c)](_0x5a2e44,{'body':_0x12d7d1});}catch(_0x55696b){throw this['_logService']['error']('[CollaborationSession]',_0x3d440e(0x3ca)),_0x55696b;}}async['_fetchMissChangesets'](_0x2cedb3){const _0x206f06=_0xefeb96,{unitID:_0x1e00f4,from:_0x70b35a,to:_0x3a3e7a,unitType:_0x595f37}=_0x2cedb3['data'];return(await this[_0x206f06(0x2ae)][_0x206f06(0x2b7)]({'metadata':void 0x0},{'unitID':_0x1e00f4,'type':_0x595f37,'from':_0x70b35a,'to':_0x3a3e7a}))[_0x206f06(0x2f6)];}};es=Or([qe(0x0,_0x3099f4(_0x281aa7)),qe(0x1,_0x3099f4(_0x300491)),qe(0x2,_0x4ea3e2),qe(0x3,_0x40d13a),qe(0x4,_0x45d794)],es);const Dr='collaboration_new_changeset';function Pr(_0x4774b1){const _0x244fbf=_0xefeb96;return JSON[_0x244fbf(0x296)](_0x4774b1)[_0x244fbf(0x46c)];}class wi{constructor(){const _0x9d2fb=_0xefeb96;g(this,'_commentUpdate$',new _0x17e316()),g(this,_0x9d2fb(0x476),this[_0x9d2fb(0x429)][_0x9d2fb(0x3ce)]());}[_0xefeb96(0x128)](_0x1b0d5a){const _0x1317e0=_0xefeb96;this['_commentUpdate$'][_0x1317e0(0x2f1)](_0x1b0d5a);}}var Ur=Object[_0xefeb96(0x466)],Nr=Object['getOwnPropertyDescriptor'],Ar=(_0x6bad6a,_0x19a8f6,_0x2802df,_0x21f850)=>{for(var _0x458189=_0x21f850>0x1?void 0x0:_0x21f850?Nr(_0x19a8f6,_0x2802df):_0x19a8f6,_0x812429=_0x6bad6a['length']-0x1,_0x12ea83;_0x812429>=0x0;_0x812429--)(_0x12ea83=_0x6bad6a[_0x812429])&&(_0x458189=(_0x21f850?_0x12ea83(_0x19a8f6,_0x2802df,_0x458189):_0x12ea83(_0x458189))||_0x458189);return _0x21f850&&_0x458189&&Ur(_0x19a8f6,_0x2802df,_0x458189),_0x458189;},Hs=(_0x2ad9e1,_0x176fd3)=>(_0x5e1cfd,_0x28ba9f)=>_0x176fd3(_0x5e1cfd,_0x28ba9f,_0x2ad9e1);let Ne=class extends _0x4f89fd{constructor(_0x4d7ea5,_0x4f1f8f){const _0x2ec567=_0xefeb96;super(),g(this,_0x2ec567(0x44b),new Map()),(this[_0x2ec567(0x214)]=_0x4d7ea5,this[_0x2ec567(0x45c)]=_0x4f1f8f,this['disposeWithMe'](_0x26357a(_0x1b8a05(this[_0x2ec567(0x214)]['getTypeOfUnitDisposed$'](_0x634e8e[_0x2ec567(0x451)])['pipe'](_0x348356(_0x2fe4c7=>_0x2fe4c7[_0x2ec567(0xf6)]())),this[_0x2ec567(0x214)][_0x2ec567(0x33d)](_0x634e8e[_0x2ec567(0x4b4)])[_0x2ec567(0x272)](_0x348356(_0xb636f1=>_0xb636f1[_0x2ec567(0xf6)]())),this[_0x2ec567(0x214)][_0x2ec567(0x33d)](_0x634e8e[_0x2ec567(0x351)])[_0x2ec567(0x272)](_0x348356(_0x567524=>_0x567524[_0x2ec567(0xf6)]())))[_0x2ec567(0x2e2)](_0x2c353c=>this[_0x2ec567(0x3fa)](_0x2c353c)))));}[_0xefeb96(0x494)](_0x37bc86){const _0x47d7a3=_0xefeb96;this[_0x47d7a3(0x45c)][_0x47d7a3(0x494)](_0x37bc86);}[_0xefeb96(0x21b)](){const _0x16f6f8=_0xefeb96;return this[_0x16f6f8(0x45c)][_0x16f6f8(0x21b)]();}[_0xefeb96(0x1ef)](_0x4f686c,_0x58ecfa){const _0x221307=_0xefeb96;let _0x502085=this[_0x221307(0x44b)][_0x221307(0x271)](_0x4f686c);_0x502085||(_0x502085=new Mr(),this[_0x221307(0x44b)]['set'](_0x4f686c,_0x502085)),_0x502085[_0x221307(0x1ef)](_0x58ecfa);}[_0xefeb96(0x225)](_0x20d4b4,_0x4849b7){const _0x14e129=_0xefeb96,_0xf16c21=this[_0x14e129(0x44b)][_0x14e129(0x271)](_0x20d4b4);_0xf16c21&&_0xf16c21[_0x14e129(0x225)](_0x4849b7);}[_0xefeb96(0x124)](_0x48c1d7){const _0x2bc1a1=_0xefeb96;return this[_0x2bc1a1(0x44b)]['get'](_0x48c1d7);}[_0xefeb96(0x273)](_0x1f093a,_0x3a6502){const _0x5c5d70=_0xefeb96,_0x12fb49=this['_roomMembers'][_0x5c5d70(0x271)](_0x1f093a);if(_0x12fb49)return _0x12fb49[_0x5c5d70(0x273)](_0x3a6502);}[_0xefeb96(0x3fa)](_0x598d51){const _0x152a3e=_0xefeb96,_0x497556=this[_0x152a3e(0x44b)][_0x152a3e(0x271)](_0x598d51);_0x497556&&(_0x497556[_0x152a3e(0x3b4)](),this[_0x152a3e(0x44b)][_0x152a3e(0x2b4)](_0x598d51));}['dispose'](){const _0x5ae75a=_0xefeb96;this[_0x5ae75a(0x44b)][_0x5ae75a(0x267)](_0x1be724=>_0x1be724[_0x5ae75a(0x3b4)]()),this[_0x5ae75a(0x44b)]['clear']();}};Ne=Ar([Hs(0x0,_0x3ca09d),Hs(0x1,_0x3099f4(_0x5492bc))],Ne);class Mr extends _0x4f89fd{constructor(){const _0x16f52a=_0xefeb96;super(...arguments),g(this,_0x16f52a(0x26c),new Map());}[_0xefeb96(0x3b4)](){const _0x5966b4=_0xefeb96;this[_0x5966b4(0x26c)][_0x5966b4(0x2e0)]();}[_0xefeb96(0x1ef)](_0x35a1a0){const _0x1b60a1=_0xefeb96;this['_members'][_0x1b60a1(0xf2)](_0x35a1a0['memberID'],_0x35a1a0);}[_0xefeb96(0x225)](_0x11961a){const _0x4d37bd=_0xefeb96;this[_0x4d37bd(0x26c)][_0x4d37bd(0x2b4)](_0x11961a);}[_0xefeb96(0x273)](_0x31beb1){const _0x145490=_0xefeb96;return this[_0x145490(0x26c)]['get'](_0x31beb1);}['getAllMembers'](){const _0x2167bf=_0xefeb96;return Array[_0x2167bf(0x3da)](this['_members'][_0x2167bf(0x12c)]());}}var xr=Object[_0xefeb96(0x466)],Lr=Object[_0xefeb96(0x336)],$r=(_0x1f4b97,_0x3f748b,_0x433af5,_0x3e17d3)=>{const _0xac21b9=_0xefeb96;for(var _0x39ceb2=_0x3e17d3>0x1?void 0x0:_0x3e17d3?Lr(_0x3f748b,_0x433af5):_0x3f748b,_0x42c900=_0x1f4b97[_0xac21b9(0x46c)]-0x1,_0x2f9699;_0x42c900>=0x0;_0x42c900--)(_0x2f9699=_0x1f4b97[_0x42c900])&&(_0x39ceb2=(_0x3e17d3?_0x2f9699(_0x3f748b,_0x433af5,_0x39ceb2):_0x2f9699(_0x39ceb2))||_0x39ceb2);return _0x3e17d3&&_0x39ceb2&&xr(_0x3f748b,_0x433af5,_0x39ceb2),_0x39ceb2;},Ee=(_0x39cfed,_0x338aed)=>(_0x4fe68b,_0x35d1e1)=>_0x338aed(_0x4fe68b,_0x35d1e1,_0x39cfed),ve=(_0x5699ec=>(_0x5699ec[_0x5699ec[_0xefeb96(0x3b0)]=0x0]='IDLE',_0x5699ec[_0x5699ec[_0xefeb96(0x407)]=0x1]=_0xefeb96(0x407),_0x5699ec[_0x5699ec[_0xefeb96(0x484)]=0x2]=_0xefeb96(0x484),_0x5699ec[_0x5699ec[_0xefeb96(0xeb)]=0x3]=_0xefeb96(0xeb),_0x5699ec))(ve||{});let ts=class extends _0x2f42db{constructor(_0x54856f,_0xd1c44c,_0x13d155,_0x526cba,_0x5b7067,_0x110655,_0x3ab75a,_0x129336,_0x5e18df,_0x46665d){const _0x3da6f4=_0xefeb96;super(),g(this,_0x3da6f4(0x486),new _0x1d1c4b(0x0)),g(this,'sessionStatus$',this[_0x3da6f4(0x486)][_0x3da6f4(0x3ce)]()),g(this,_0x3da6f4(0x297),new _0x17e316()),g(this,_0x3da6f4(0x2c3),this['_event$'][_0x3da6f4(0x3ce)]()),g(this,'_socket'),g(this,_0x3da6f4(0x35a)),g(this,'_collaborationTimeoutTimer'),g(this,_0x3da6f4(0x322),!0x1),g(this,'_telemetryInfo',null),(this[_0x3da6f4(0x16f)]=_0x54856f,this[_0x3da6f4(0x204)]=_0x13d155,this['_beforeCloseService']=_0x526cba,this[_0x3da6f4(0x1a8)]=_0x5b7067,this[_0x3da6f4(0x32b)]=_0x110655,this[_0x3da6f4(0x312)]=_0x3ab75a,this[_0x3da6f4(0x11b)]=_0x129336,this[_0x3da6f4(0x30c)]=_0x5e18df,this[_0x3da6f4(0x282)]=_0x46665d,this['_shouldReportTelemetry']=!!this[_0x3da6f4(0x282)],_0xd1c44c['pipe'](_0x41a6cf(this[_0x3da6f4(0x18b)]))[_0x3da6f4(0x2e2)](_0x4a578a=>{const _0x34e814=_0x3da6f4;var _0x39434a;typeof _0x4a578a>'u'||(this[_0x34e814(0x10f)]=_0x4a578a,_0x4a578a?(this[_0x34e814(0x1e5)](_0x4a578a),this[_0x34e814(0x35a)]=_0x4a578a[_0x34e814(0x1c5)][_0x34e814(0x2e2)](_0x1dd0fe=>{const _0x44caf4=_0x34e814;_0x1dd0fe[_0x44caf4(0x4b5)]===this[_0x44caf4(0x16f)]&&this[_0x44caf4(0x393)](_0x1dd0fe);})):(this['_throwTelemetryCollaborationNewChangeset'](),this['_sessionStatus$'][_0x34e814(0x2f1)](0x2),(_0x39434a=this[_0x34e814(0x35a)])==null||_0x39434a['unsubscribe'](),this[_0x34e814(0x35a)]=null));}),this[_0x3da6f4(0x2bb)](this['_beforeCloseService'][_0x3da6f4(0x4cd)](()=>{const _0x9ee557=_0x3da6f4;var _0x2f24f8;(_0x2f24f8=this['_socket'])==null||_0x2f24f8['send']({'cmd':W[_0x9ee557(0x175)],'data':{'roomID':this['_unitID']}});})));}get[_0xefeb96(0x199)](){const _0x64d733=_0xefeb96;return this[_0x64d733(0x486)]['getValue']();}[_0xefeb96(0x136)](){const _0x5594d0=_0xefeb96;var _0x171f70,_0x53aa01;return(_0x53aa01=(_0x171f70=this['_socket'])==null?void 0x0:_0x171f70[_0x5594d0(0xd9)])!=null?_0x53aa01:null;}['dispose'](){const _0x501ddc=_0xefeb96;super[_0x501ddc(0x3b4)](),this['dispose$']['next'](),this['dispose$'][_0x501ddc(0x1de)]();}[_0xefeb96(0x379)](){const _0x9dbac2=_0xefeb96;var _0x5c2e6b,_0x5b8a00;this['_throwTelemetryCollaborationNewChangeset'](),(_0x5c2e6b=this[_0x9dbac2(0x10f)])==null||_0x5c2e6b['send']({'cmd':W['LEAVE'],'data':{'roomID':this[_0x9dbac2(0x16f)]}}),(_0x5b8a00=this[_0x9dbac2(0x10f)])==null||_0x5b8a00['close'](),this[_0x9dbac2(0x297)]['complete'](),this[_0x9dbac2(0x486)][_0x9dbac2(0x1de)](),this[_0x9dbac2(0x3b4)]();}['_onCombEvent'](_0x1f8716){const _0xb81fc4=_0xefeb96;_0x1f8716[_0xb81fc4(0x29c)]===W[_0xb81fc4(0xdf)]?this[_0xb81fc4(0x350)](_0x1f8716):_0x1f8716[_0xb81fc4(0x29c)]===W['RECV']&&this[_0xb81fc4(0x4b2)](_0x1f8716);}[_0xefeb96(0x1e5)](_0x2ae98f){const _0x18eb99=_0xefeb96;this['_sessionStatus$'][_0x18eb99(0x2f1)](0x1),_0x2ae98f['send']({'cmd':W[_0x18eb99(0xdf)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x18eb99(0x16f)]}]}});}[_0xefeb96(0x350)](_0x3e3ac9){const _0x1b9543=_0xefeb96;var _0x20c75f;if(_0x3e3ac9['code']===Is[_0x1b9543(0x364)]){this[_0x1b9543(0x1a8)][_0x1b9543(0x170)]({'type':_0x336366['Warning'],'content':this[_0x1b9543(0x312)]['t']('session.room-full')}),this[_0x1b9543(0x486)]['next'](0x2);return;}this['_sessionStatus$'][_0x1b9543(0x2f1)](0x3);const _0x2b1021=(_0x20c75f=_0x3e3ac9[_0x1b9543(0x1f4)][_0x1b9543(0x428)][this[_0x1b9543(0x16f)]])==null?void 0x0:_0x20c75f['members'];_0x2b1021&&_0x2b1021[_0x1b9543(0x267)](_0x54f5dd=>this['_memberService'][_0x1b9543(0x1ef)](this[_0x1b9543(0x16f)],_0x54f5dd));}[_0xefeb96(0x4b2)](_0x54961c){const _0x4854d4=_0xefeb96;try{const _0x22d9c9=_0x54961c[_0x4854d4(0x1f4)];switch(_0x22d9c9['eventID']){case _0x3b2ff1[_0x4854d4(0x26e)]:this[_0x4854d4(0x33b)](_0x22d9c9),this['_event$'][_0x4854d4(0x2f1)](_0x22d9c9);break;case _0x3b2ff1[_0x4854d4(0x29a)]:this[_0x4854d4(0x479)](_0x22d9c9),this[_0x4854d4(0x297)][_0x4854d4(0x2f1)](_0x22d9c9);break;case _0x3b2ff1[_0x4854d4(0x378)]:case _0x3b2ff1[_0x4854d4(0x23e)]:this[_0x4854d4(0x42b)](),this['_clearCollaborationTimeoutTimer'](),this['_event$'][_0x4854d4(0x2f1)](_0x22d9c9);break;case _0x3b2ff1[_0x4854d4(0xd6)]:this['_logService'][_0x4854d4(0x18c)](_0x4854d4(0x1ab)+JSON[_0x4854d4(0x296)](_0x22d9c9)),this[_0x4854d4(0x297)]['next'](_0x22d9c9);break;case _0x3b2ff1[_0x4854d4(0x1a1)]:this[_0x4854d4(0x30c)][_0x4854d4(0x128)](_0x22d9c9[_0x4854d4(0x1f4)]),this[_0x4854d4(0x297)]['next'](_0x22d9c9);break;default:this[_0x4854d4(0x297)][_0x4854d4(0x2f1)](_0x22d9c9);}}catch(_0x3dbc8d){this[_0x4854d4(0x204)][_0x4854d4(0x18c)](_0x3dbc8d,_0x54961c);}}[_0xefeb96(0x33b)](_0x2a11ce){const _0x319f35=_0xefeb96;this[_0x319f35(0x11b)][_0x319f35(0x1ef)](this[_0x319f35(0x16f)],_0x2a11ce['data']);}[_0xefeb96(0x479)](_0x25724b){const _0x3ac2f3=_0xefeb96;this[_0x3ac2f3(0x11b)][_0x3ac2f3(0x225)](this[_0x3ac2f3(0x16f)],_0x25724b[_0x3ac2f3(0x1f4)][_0x3ac2f3(0xd9)]);}async[_0xefeb96(0x40d)](_0x5a9d6c,_0x68c920){const _0x61738b=_0xefeb96;if(this[_0x61738b(0x199)]!==0x3||!this['_socket'])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x5a9d6c['eventID']===_0x3b2ff1[_0x61738b(0x152)]&&(this[_0x61738b(0x2d5)](),this[_0x61738b(0x445)](_0x5a9d6c)),this['_socket'][_0x61738b(0x40d)]({'cmd':W[_0x61738b(0x2f7)],'routeKey':_0x68c920,'routeType':'','data':_0x5a9d6c});}catch(_0x3f9d72){this[_0x61738b(0x204)][_0x61738b(0x18c)](_0x3f9d72);}}['_scheduleCollaborationTimeoutTimer'](){const _0x5e57aa=_0xefeb96;var _0x506a9d;this['_collaborationTimeoutTimer']=window[_0x5e57aa(0x291)](()=>{const _0x12734e=_0x5e57aa;this['_collaborationTimeoutTimer']=null,this[_0x12734e(0x1a8)]['show']({'type':_0x336366[_0x12734e(0x132)],'content':this[_0x12734e(0x312)]['t'](_0x12734e(0x47b))});},(_0x506a9d=this[_0x5e57aa(0x32b)][_0x5e57aa(0x188)](bi))!=null?_0x506a9d:Ti);}['_clearCollaborationTimeoutTimer'](){const _0x2875eb=_0xefeb96;this[_0x2875eb(0xf0)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x2875eb(0xf0)]=null);}[_0xefeb96(0x445)](_0x271129){const _0x24d37e=_0xefeb96;if(!this[_0x24d37e(0x322)])return;const {data:_0x39cd35}=_0x271129,{unitID:_0x395f2b,changeset:_0xaa4ea9}=_0x39cd35,{mutations:_0x7550a9,type:_0x53c76d}=_0xaa4ea9;this[_0x24d37e(0x25e)]={'unitId':_0x395f2b,'type':_0x53c76d,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Pr(_0x7550a9)};}[_0xefeb96(0x42b)](){const _0x18dcbe=_0xefeb96;if(this[_0x18dcbe(0x322)]){if(!this[_0x18dcbe(0x25e)]){this['_logService'][_0x18dcbe(0x18c)](_0x18dcbe(0x1a3),_0x18dcbe(0x4ab));return;}this[_0x18dcbe(0x25e)][_0x18dcbe(0xdd)]=performance[_0x18dcbe(0x1bb)](),this[_0x18dcbe(0x25e)]['duration']=this[_0x18dcbe(0x25e)]['stopTime']-this[_0x18dcbe(0x25e)]['startTime'],this['_telemetryService'][_0x18dcbe(0x110)](Dr,this[_0x18dcbe(0x25e)]),this[_0x18dcbe(0x25e)]=null;}}[_0xefeb96(0x40a)](){const _0x26cba0=_0xefeb96;this[_0x26cba0(0x25e)]=null;}};ts=$r([Ee(0x2,_0x40d13a),Ee(0x3,_0x32bb8b),Ee(0x4,_0x3480f5),Ee(0x5,_0x4ea3e2),Ee(0x6,_0x3099f4(_0x6eefec)),Ee(0x7,_0x3099f4(Ne)),Ee(0x8,_0x3099f4(wi)),Ee(0x9,_0x118e7e(_0x551180))],ts);var Hr=Object[_0xefeb96(0x466)],jr=Object[_0xefeb96(0x336)],Br=(_0x52794d,_0x19cd07,_0x1e3ed4,_0xcfb397)=>{const _0xdedbd2=_0xefeb96;for(var _0x5b9d21=_0xcfb397>0x1?void 0x0:_0xcfb397?jr(_0x19cd07,_0x1e3ed4):_0x19cd07,_0x167edc=_0x52794d[_0xdedbd2(0x46c)]-0x1,_0x5165e1;_0x167edc>=0x0;_0x167edc--)(_0x5165e1=_0x52794d[_0x167edc])&&(_0x5b9d21=(_0xcfb397?_0x5165e1(_0x19cd07,_0x1e3ed4,_0x5b9d21):_0x5165e1(_0x5b9d21))||_0x5b9d21);return _0xcfb397&&_0x5b9d21&&Hr(_0x19cd07,_0x1e3ed4,_0x5b9d21),_0x5b9d21;},je=(_0x281a92,_0x2255fa)=>(_0x564a02,_0x2ba13c)=>_0x2255fa(_0x564a02,_0x2ba13c,_0x281a92);let Ae=class extends _0x4f89fd{constructor(_0x58affc,_0x48dc37,_0x14c0ac,_0xc7a1fb,_0xab7ec8,_0x5497dc){const _0x91da80=_0xefeb96;super(),g(this,'_socket$',new _0x1d1c4b(void 0x0)),g(this,_0x91da80(0x3c2),this[_0x91da80(0x329)][_0x91da80(0x3ce)]()),g(this,_0x91da80(0x49c),null),g(this,_0x91da80(0xea),new Map()),g(this,_0x91da80(0x34a),new _0x1d1c4b(ve[_0x91da80(0x3b0)])),g(this,_0x91da80(0x27e),this['_status$'][_0x91da80(0x3ce)]()),g(this,'_socketReady',!0x1),g(this,'_retryConnectingTimer'),g(this,_0x91da80(0x290),0x0),g(this,_0x91da80(0x2b2)),g(this,_0x91da80(0x3d4)),(this[_0x91da80(0x269)]=_0x58affc,this[_0x91da80(0x312)]=_0x48dc37,this[_0x91da80(0x1a8)]=_0x14c0ac,this[_0x91da80(0x204)]=_0xc7a1fb,this[_0x91da80(0x32b)]=_0xab7ec8,this[_0x91da80(0x389)]=_0x5497dc,this[_0x91da80(0x1ee)]());}get['_socket'](){const _0x505361=_0xefeb96;return this[_0x505361(0x329)]['getValue']();}[_0xefeb96(0x1ee)](){const _0x2a3c1c=_0xefeb96;this[_0x2a3c1c(0x167)](),this[_0x2a3c1c(0x234)]();}[_0xefeb96(0x3b4)](){const _0x21fdef=_0xefeb96;super[_0x21fdef(0x3b4)](),this[_0x21fdef(0xea)][_0x21fdef(0x267)](_0x3df5bb=>_0x3df5bb[_0x21fdef(0x3b4)]()),this[_0x21fdef(0xea)]['clear'](),this[_0x21fdef(0x34a)][_0x21fdef(0x1de)]();}async['requireSession'](_0x2e0c8d){const _0x5d14d6=_0xefeb96;if(this['_sessions']['has'](_0x2e0c8d))return this[_0x5d14d6(0xea)][_0x5d14d6(0x271)](_0x2e0c8d);this['_tryEnsureSocket']();const _0xf0345a=this['_injector'][_0x5d14d6(0x25a)](ts,_0x2e0c8d,this['_socket$'][_0x5d14d6(0x3ce)]());return this[_0x5d14d6(0xea)][_0x5d14d6(0xf2)](_0x2e0c8d,_0xf0345a),_0xf0345a;}[_0xefeb96(0x2bf)](_0x4dddce){const _0x561bfa=_0xefeb96;var _0x5d0da4;const _0x3f3e0c=this[_0x561bfa(0xea)][_0x561bfa(0x271)](_0x4dddce);_0x3f3e0c&&(this['_sessions']['delete'](_0x4dddce),_0x3f3e0c[_0x561bfa(0x379)]()),this[_0x561bfa(0xea)][_0x561bfa(0x1d4)]||(_0x5d0da4=this[_0x561bfa(0x10f)])==null||_0x5d0da4[_0x561bfa(0x379)]();}[_0xefeb96(0x198)](){const _0x2dda0f=_0xefeb96;this[_0x2dda0f(0x290)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x2dda0f(0x435)]=null),this['_tryReconnect']();}[_0xefeb96(0x403)](){const _0x3e8d02=_0xefeb96;var _0x348792,_0x16fd04;const _0x12c6d9=this['_configService'][_0x3e8d02(0x188)](hr),_0x4c563b=this[_0x3e8d02(0x32b)][_0x3e8d02(0x188)](ie),_0xea33ac=(_0x16fd04=(_0x348792=_0x4c563b==null?void 0x0:_0x4c563b['collabWebSocketUrl'])!=null?_0x348792:_0x12c6d9)!=null?_0x16fd04:lr,_0x12e1aa=this[_0x3e8d02(0x389)][_0x3e8d02(0x2b9)](_0xea33ac);return this['_candidateSocket']=_0x12e1aa,_0x12e1aa;}[_0xefeb96(0x413)](){const _0x462c32=_0xefeb96;var _0x10f8e1,_0x1a1c4f;try{const _0x521a1e=(_0x1a1c4f=(_0x10f8e1=this[_0x462c32(0x10f)])!=null?_0x10f8e1:this[_0x462c32(0x49c)])!=null?_0x1a1c4f:this['_createSocket']();if(_0x521a1e){const _0x5128ff=_0x521a1e[_0x462c32(0x40d)];_0x521a1e['send']=_0x594612=>(this[_0x462c32(0x39a)](),_0x5128ff[_0x462c32(0x24e)](_0x521a1e,[_0x594612])),_0x521a1e['message$'][_0x462c32(0x2e2)](_0x2d344d=>this[_0x462c32(0x1fa)](_0x521a1e,_0x2d344d)),_0x521a1e[_0x462c32(0x283)][_0x462c32(0x272)](_0x28f002(0x1))[_0x462c32(0x2e2)](_0x4b1f5e=>this[_0x462c32(0x204)][_0x462c32(0x18c)](_0x462c32(0x325),_0x4b1f5e)),_0x521a1e['open$']['pipe'](_0x28f002(0x1))[_0x462c32(0x2e2)](()=>{this['_onConnectionOpen'](_0x521a1e);}),_0x521a1e['close$']['pipe'](_0x28f002(0x1))[_0x462c32(0x2e2)](_0x22cc4f=>{const _0x54f671=_0x462c32;this[_0x54f671(0x204)][_0x54f671(0x2a5)](_0x54f671(0x288),_0x54f671(0x4c1),_0x22cc4f),this[_0x54f671(0x37a)]();});}}catch(_0x5d2508){this[_0x462c32(0x204)][_0x462c32(0x18c)](_0x5d2508),this['_onConnectionFailed']();}}[_0xefeb96(0x2fa)](_0x4dc497){const _0x1797c3=_0xefeb96;this[_0x1797c3(0x204)][_0x1797c3(0x2a5)](_0x1797c3(0x288),_0x1797c3(0x139)),_0x4dc497['send']({'cmd':W[_0x1797c3(0x4a1)]}),this[_0x1797c3(0x39a)]();}[_0xefeb96(0x167)](){const _0x21593c=_0xefeb96;window[_0x21593c(0x1d6)](_0x21593c(0x4ad),()=>this[_0x21593c(0x34b)]());}[_0xefeb96(0x34b)](){const _0x4696a0=_0xefeb96;this[_0x4696a0(0x328)]=!0x1,this['_candidateSocket']=null,this['_status$'][_0x4696a0(0x2f1)](ve[_0x4696a0(0x484)]),this['_socket$'][_0x4696a0(0x2f1)](null),this[_0x4696a0(0x4a2)](),this[_0x4696a0(0x3f0)]();}[_0xefeb96(0x37a)](){const _0xe5f993=_0xefeb96;var _0x1e850e;this[_0xe5f993(0x34b)](),this[_0xe5f993(0x290)]<((_0x1e850e=this[_0xe5f993(0x32b)]['getConfig'](fr))!=null?_0x1e850e:vr)?(this['_messageService'][_0xe5f993(0x170)]({'key':_0xe5f993(0x265),'type':_0x336366[_0xe5f993(0x2ee)],'content':this[_0xe5f993(0x312)]['t'](_0xe5f993(0x281))}),this[_0xe5f993(0x392)]()):this[_0xe5f993(0x1a8)]['show']({'key':_0xe5f993(0x265),'type':_0x336366[_0xe5f993(0x132)],'content':this[_0xe5f993(0x312)]['t']('session.connection-failed')});}[_0xefeb96(0x234)](){const _0x2f8a55=_0xefeb96,_0x10e93a=()=>{const _0xb0330b=_0x4451;this[_0xb0330b(0x10f)]||this[_0xb0330b(0x198)]();},_0xd34b68=()=>{const _0x570309=_0x4451;this[_0x570309(0x10f)]||document['visibilityState']==='hidden'||this[_0x570309(0x198)]();};window[_0x2f8a55(0x1d6)](_0x2f8a55(0x1a4),_0x10e93a),document[_0x2f8a55(0x1d6)](_0x2f8a55(0x4a9),_0xd34b68);}['_tryReconnect'](){const _0x17500c=_0xefeb96;var _0x1e82cd;const _0x3c16fe=this[_0x17500c(0x290)],_0xb5d350=this[_0x17500c(0x32b)][_0x17500c(0x188)](ie),_0x19c86e=_0x3c16fe===0x0?0x0:((_0x1e82cd=_0xb5d350==null?void 0x0:_0xb5d350[_0x17500c(0x320)])!=null?_0x1e82cd:dr)*0x2**_0x3c16fe;this[_0x17500c(0x435)]=window[_0x17500c(0x291)](()=>{const _0x4032b4=_0x17500c;clearTimeout(this['_retryConnectingTimer']),this[_0x4032b4(0x435)]=null,this[_0x4032b4(0x413)]();},_0x19c86e),this[_0x17500c(0x290)]+=0x1;}[_0xefeb96(0x1fa)](_0x278d90,_0x3851b0){const _0x5df091=_0xefeb96,{cmd:_0x5d32fb}=_0x3851b0;_0x5d32fb===W[_0x5df091(0x4a1)]&&!this[_0x5df091(0x328)]&&(_0x278d90[_0x5df091(0xd9)]=_0x3851b0[_0x5df091(0x1f4)][_0x5df091(0xd9)],this[_0x5df091(0x329)][_0x5df091(0x2f1)](_0x278d90),this[_0x5df091(0x34a)][_0x5df091(0x2f1)](ve[_0x5df091(0xeb)]),this['_socketReady']=!0x0,this[_0x5df091(0x49c)]=null),_0x5d32fb===W[_0x5df091(0x210)]&&this[_0x5df091(0x4a2)](),this[_0x5df091(0x39a)]();}[_0xefeb96(0x39a)](){const _0x1c46b0=_0xefeb96;var _0x468cff;this[_0x1c46b0(0x3f0)](),this[_0x1c46b0(0x2b2)]=window[_0x1c46b0(0x291)](()=>this['_sendHeartbeat'](),(_0x468cff=this[_0x1c46b0(0x32b)][_0x1c46b0(0x188)](_r))!=null?_0x468cff:ur);}['_sendHeartbeat'](){const _0xff7c1f=_0xefeb96;this[_0xff7c1f(0x10f)][_0xff7c1f(0x40d)]({'cmd':W[_0xff7c1f(0x210)]}),this[_0xff7c1f(0x410)]();}['_waitForHeartbeatResponse'](){const _0xcc9694=_0xefeb96;var _0x197849;this[_0xcc9694(0x3d4)]=window['setTimeout'](()=>this[_0xcc9694(0x37a)](),(_0x197849=this[_0xcc9694(0x32b)][_0xcc9694(0x188)](bi))!=null?_0x197849:Ti);}[_0xefeb96(0x3f0)](){const _0x6a92d5=_0xefeb96;this[_0x6a92d5(0x2b2)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x6a92d5(0x2b2)]=null);}[_0xefeb96(0x4a2)](){const _0x142550=_0xefeb96;this[_0x142550(0x3d4)]!=null&&(clearTimeout(this[_0x142550(0x3d4)]),this[_0x142550(0x3d4)]=null);}};Ae=Br([je(0x0,_0x3099f4(_0x3676c8)),je(0x1,_0x3099f4(_0x6eefec)),je(0x2,_0x3480f5),je(0x3,_0x40d13a),je(0x4,_0x4ea3e2),je(0x5,Oi)],Ae);var Y=[];for(var Nt=0x0;Nt<0x100;++Nt)Y[_0xefeb96(0x477)]((Nt+0x100)[_0xefeb96(0x3e7)](0x10)['slice'](0x1));function kr(_0x1e5c2b,_0x5a6ba7=0x0){const _0x201185=_0xefeb96;return(Y[_0x1e5c2b[_0x5a6ba7+0x0]]+Y[_0x1e5c2b[_0x5a6ba7+0x1]]+Y[_0x1e5c2b[_0x5a6ba7+0x2]]+Y[_0x1e5c2b[_0x5a6ba7+0x3]]+'-'+Y[_0x1e5c2b[_0x5a6ba7+0x4]]+Y[_0x1e5c2b[_0x5a6ba7+0x5]]+'-'+Y[_0x1e5c2b[_0x5a6ba7+0x6]]+Y[_0x1e5c2b[_0x5a6ba7+0x7]]+'-'+Y[_0x1e5c2b[_0x5a6ba7+0x8]]+Y[_0x1e5c2b[_0x5a6ba7+0x9]]+'-'+Y[_0x1e5c2b[_0x5a6ba7+0xa]]+Y[_0x1e5c2b[_0x5a6ba7+0xb]]+Y[_0x1e5c2b[_0x5a6ba7+0xc]]+Y[_0x1e5c2b[_0x5a6ba7+0xd]]+Y[_0x1e5c2b[_0x5a6ba7+0xe]]+Y[_0x1e5c2b[_0x5a6ba7+0xf]])[_0x201185(0x375)]();}var ct,Wr=new Uint8Array(0x10);function Fr(){const _0xcea934=_0xefeb96;if(!ct&&(ct=typeof crypto<'u'&&crypto['getRandomValues']&&crypto[_0xcea934(0x15a)]['bind'](crypto),!ct))throw new Error(_0xcea934(0x1bc));return ct(Wr);}var Vr=typeof crypto<'u'&&crypto[_0xefeb96(0x1db)]&&crypto['randomUUID'][_0xefeb96(0x440)](crypto);const js={'randomUUID':Vr};function Gr(_0x18dfb6,_0x3fdc79,_0x436913){if(js['randomUUID']&&!_0x3fdc79&&!_0x18dfb6)return js['randomUUID']();_0x18dfb6=_0x18dfb6||{};var _0x5c9722=_0x18dfb6['random']||(_0x18dfb6['rng']||Fr)();return _0x5c9722[0x6]=_0x5c9722[0x6]&0xf|0x40,_0x5c9722[0x8]=_0x5c9722[0x8]&0x3f|0x80,kr(_0x5c9722);}var Yr=Object[_0xefeb96(0x466)],Kr=Object[_0xefeb96(0x336)],zr=(_0x502ea5,_0x4bbc3f,_0x1dbd86,_0x3510a0)=>{const _0x5b55c7=_0xefeb96;for(var _0x12c454=_0x3510a0>0x1?void 0x0:_0x3510a0?Kr(_0x4bbc3f,_0x1dbd86):_0x4bbc3f,_0x4411f3=_0x502ea5[_0x5b55c7(0x46c)]-0x1,_0x475e9e;_0x4411f3>=0x0;_0x4411f3--)(_0x475e9e=_0x502ea5[_0x4411f3])&&(_0x12c454=(_0x3510a0?_0x475e9e(_0x4bbc3f,_0x1dbd86,_0x12c454):_0x475e9e(_0x12c454))||_0x12c454);return _0x3510a0&&_0x12c454&&Yr(_0x4bbc3f,_0x1dbd86,_0x12c454),_0x12c454;},At=(_0x3d0f3d,_0xb73dfe)=>(_0xd045f7,_0x294026)=>_0xb73dfe(_0xd045f7,_0x294026,_0x3d0f3d);let vt=class{constructor(_0x1d6890,_0x3f59cc,_0x565d81){const _0x5dbe5f=_0xefeb96;this[_0x5dbe5f(0x269)]=_0x1d6890,this[_0x5dbe5f(0x3d8)]=_0x3f59cc,this[_0x5dbe5f(0x330)]=_0x565d81;}[_0xefeb96(0x264)](_0x4ecdfe){const _0x165625=_0xefeb96;this[_0x165625(0x444)](_0x4ecdfe),this[_0x165625(0x452)](_0x4ecdfe);}['transformRemoteChangeset'](_0x1865b2){const _0x4d856f=_0xefeb96,{unitID:_0x1f409a}=_0x1865b2,_0x29907d=this[_0x4d856f(0x330)][_0x4d856f(0x383)](_0x1f409a)[_0x4d856f(0x493)](_0x34f062),{redoCache:_0x116d37}=_0x29907d[_0x4d856f(0x293)]();if(_0x116d37[_0x4d856f(0x46c)]===0x0)return _0x1865b2;let _0x462cdf=_0x4d0489[_0x4d856f(0xfb)](_0x1865b2[_0x4d856f(0x3a8)][0x0]);for(let _0x28f335=0x0;_0x28f335<_0x116d37['length'];_0x28f335++){const _0x358815={'id':_0x4d856f(0x3be),'params':{..._0x116d37[_0x28f335]}},_0xf12ad7=this[_0x4d856f(0x3d8)][_0x4d856f(0x46e)](_0x462cdf,_0x358815,!0x1);if(_0x1a9445(_0xf12ad7))throw _0xf12ad7['error'];_0x462cdf=_0xf12ad7['m1Prime'];}return{..._0x4d0489[_0x4d856f(0xfb)](_0x1865b2),'mutations':[_0x462cdf]};}[_0xefeb96(0x444)](_0x3f743e){const _0x57acef=_0xefeb96,{unitID:_0x28c549}=_0x3f743e,_0x588815=this[_0x57acef(0x330)][_0x57acef(0x383)](_0x28c549)[_0x57acef(0x493)](_0x34f062),{undoCache:_0x9806fa,redoCache:_0x1b4777}=_0x588815[_0x57acef(0x293)]();if(_0x9806fa[_0x57acef(0x46c)]===0x0||_0x1b4777[_0x57acef(0x46c)]===0x0)return;const _0x96bb7f=[],_0x3d50b1=[];let _0x143c7a=_0x4d0489['deepClone'](_0x3f743e[_0x57acef(0x3a8)][0x0]),_0x58e771=_0x4d0489[_0x57acef(0xfb)](_0x3f743e[_0x57acef(0x3a8)][0x0]);for(let _0x3424d1=_0x9806fa[_0x57acef(0x46c)]-0x1;_0x3424d1>=0x0;_0x3424d1--){const _0x487473={'id':_0x57acef(0x3be),'params':{..._0x9806fa[_0x3424d1]}},_0x4a877d={'id':_0x57acef(0x3be),'params':{..._0x1b4777[_0x3424d1]}},_0x419e3e=this['_transformService'][_0x57acef(0x46e)](_0x143c7a,_0x487473,!0x1),_0x3b0879=this[_0x57acef(0x3d8)]['transformMutation'](_0x58e771,_0x4a877d,!0x1);if(_0x1a9445(_0x419e3e))throw _0x419e3e[_0x57acef(0x18c)];if(_0x1a9445(_0x3b0879))throw _0x3b0879[_0x57acef(0x18c)];_0x96bb7f[_0x57acef(0x34c)](_0x419e3e[_0x57acef(0x3f7)]['params']),_0x3d50b1[_0x57acef(0x34c)](_0x3b0879['m2Prime'][_0x57acef(0x304)]),_0x143c7a=_0x419e3e[_0x57acef(0x2ca)],_0x58e771=_0x3b0879[_0x57acef(0x2ca)];}_0x588815[_0x57acef(0xfa)]({'undoCache':_0x96bb7f,'redoCache':_0x3d50b1});}[_0xefeb96(0x452)](_0xf28a76){const _0x242661=_0xefeb96,{unitID:_0x54cb82}=_0xf28a76,_0x5be754=this['_renderManagerService'][_0x242661(0x383)](_0x54cb82)[_0x242661(0x493)](_0x34f062),_0x353fd7=_0x5be754[_0x242661(0x1d0)]();if(_0x353fd7==null)return;const _0x224e53=[{'id':_0x242661(0x3be),'params':{'unitId':_0xf28a76[_0x242661(0xdb)],'actions':null,'textRanges':[_0x353fd7]}}],_0x51d06a=this[_0x242661(0x3d8)][_0x242661(0x40e)](_0xf28a76,_0x224e53);if(!_0xd4a330(_0x51d06a))throw _0x51d06a['error'];const _0x4f3061=_0x51d06a[_0x242661(0x3f7)][0x0][_0x242661(0x304)]['textRanges'];Array[_0x242661(0x49e)](_0x4f3061)&&_0x4f3061['length']&&_0x5be754['setActiveRange'](_0x4f3061[0x0]);}};vt=zr([At(0x0,_0x3099f4(_0x3676c8)),At(0x1,_0x5c28bd),At(0x2,_0x25b6aa)],vt);var qr=Object[_0xefeb96(0x466)],Xr=Object['getOwnPropertyDescriptor'],Jr=(_0x426ec6,_0xa2d410,_0x53e481,_0x1e4e14)=>{for(var _0xf7259b=_0x1e4e14>0x1?void 0x0:_0x1e4e14?Xr(_0xa2d410,_0x53e481):_0xa2d410,_0x4afb41=_0x426ec6['length']-0x1,_0x469fcc;_0x4afb41>=0x0;_0x4afb41--)(_0x469fcc=_0x426ec6[_0x4afb41])&&(_0xf7259b=(_0x1e4e14?_0x469fcc(_0xa2d410,_0x53e481,_0xf7259b):_0x469fcc(_0xf7259b))||_0xf7259b);return _0x1e4e14&&_0xf7259b&&qr(_0xa2d410,_0x53e481,_0xf7259b),_0xf7259b;},Xe=(_0x20a793,_0x328b9b)=>(_0x4baa15,_0x1244ec)=>_0x328b9b(_0x4baa15,_0x1244ec,_0x20a793);let q=class extends _0x4f89fd{constructor(_0x4e74eb,_0xd9293b,_0x894451,_0x34b9ad,_0x156265){const _0xa57bd1=_0xefeb96;super(),g(this,_0xa57bd1(0x2ea),new Map()),g(this,_0xa57bd1(0x456),new Map()),g(this,_0xa57bd1(0x2a4),!0x1),(this[_0xa57bd1(0x32b)]=_0x4e74eb,this[_0xa57bd1(0x3a2)]=_0xd9293b,this[_0xa57bd1(0x37c)]=_0x894451,this[_0xa57bd1(0x312)]=_0x34b9ad,this['_revisionService']=_0x156265,this[_0xa57bd1(0x17f)]());}[_0xefeb96(0x3f2)](){const _0x17250f=_0xefeb96;this[_0x17250f(0x2a4)]=!0x0;}['enableLocalCache'](){const _0x5777dd=_0xefeb96;this[_0x5777dd(0x2a4)]=!0x1;}['dispose'](){const _0x2f15a1=_0xefeb96;this[_0x2f15a1(0x348)]()[_0x2f15a1(0x12d)](()=>super['dispose']());}async[_0xefeb96(0x33c)](_0x381afe){const _0x2c12de=_0xefeb96;return this[_0x2c12de(0x2a4)]?null:this[_0x2c12de(0x3a2)][_0x2c12de(0x31e)](Bs(_0x381afe));}async[_0xefeb96(0x35e)](_0x3c41f2,_0x52e1a3){const _0x5487eb=_0xefeb96;return!!this[_0x5487eb(0x3a2)][_0x5487eb(0x401)](_0x3c41f2,_0x52e1a3);}[_0xefeb96(0x34e)](_0x8f3309,_0x411451,_0x958d8c,_0x23e773){const _0x598075=_0xefeb96,_0x5dea14=this[_0x598075(0x1d7)][_0x598075(0x2ac)](_0x8f3309);this[_0x598075(0x2ea)][_0x598075(0xf2)](_0x8f3309,{'unitID':_0x8f3309,'type':_0x411451,'awaitingChangeset':_0x958d8c,'mutations':_0x23e773,'rev':_0x5dea14}),this[_0x598075(0x456)][_0x598075(0x179)](_0x8f3309)||this[_0x598075(0xf3)](_0x8f3309);}[_0xefeb96(0xf3)](_0xe19d5e){const _0x51a087=_0xefeb96,_0x43e699=this[_0x51a087(0x400)]();_0x43e699===0x0?this[_0x51a087(0x2ad)](_0xe19d5e):this[_0x51a087(0x456)][_0x51a087(0xf2)](_0xe19d5e,setTimeout(()=>this[_0x51a087(0x2ad)](_0xe19d5e),_0x43e699));}['_getSaveTimeout'](){const _0xa85a54=_0xefeb96;var _0x4fad0c;return(_0x4fad0c=this[_0xa85a54(0x32b)][_0xa85a54(0x188)](mr))!=null?_0x4fad0c:pr;}[_0xefeb96(0x2ad)](_0x4ceecd){const _0x3f4f21=_0xefeb96,_0x490c49=this[_0x3f4f21(0x456)][_0x3f4f21(0x271)](_0x4ceecd);return _0x490c49!==void 0x0&&window[_0x3f4f21(0x458)](_0x490c49),this[_0x3f4f21(0x3a2)]['setItem'](Bs(_0x4ceecd),this['_cachedData'][_0x3f4f21(0x271)](_0x4ceecd))[_0x3f4f21(0x12d)](()=>this[_0x3f4f21(0x456)][_0x3f4f21(0x2b4)](_0x4ceecd));}async[_0xefeb96(0x348)](){const _0x56bcea=_0xefeb96,_0x1df370=[];this[_0x56bcea(0x456)][_0x56bcea(0x267)]((_0x410ced,_0x5e3f2a)=>{const _0x2184f7=_0x56bcea;window['clearTimeout'](_0x410ced),_0x1df370[_0x2184f7(0x477)](this['_saveCache'](_0x5e3f2a)[_0x2184f7(0x12d)](()=>{const _0x1c3879=_0x2184f7;this[_0x1c3879(0x456)][_0x1c3879(0x2b4)](_0x5e3f2a);}));}),await Promise[_0x56bcea(0x3d3)](_0x1df370);}[_0xefeb96(0x17f)](){const _0x5d30c1=_0xefeb96;this[_0x5d30c1(0x2bb)](this[_0x5d30c1(0x37c)][_0x5d30c1(0x2c5)](()=>{const _0x3f6bbf=_0x5d30c1;if(this[_0x3f6bbf(0x456)][_0x3f6bbf(0x1d4)])return this[_0x3f6bbf(0x312)]['t']('collaboration-client.offline-data-not-saved');}));}};q=Jr([Xe(0x0,_0x4ea3e2),Xe(0x1,_0x30ee26),Xe(0x2,_0x32bb8b),Xe(0x3,_0x3099f4(_0x6eefec)),Xe(0x4,_0x3099f4(_0xa44bce))],q);function Bs(_0x233cd1){return'unit-cache-'+_0x233cd1;}var Zr=Object[_0xefeb96(0x466)],Qr=Object[_0xefeb96(0x336)],eo=(_0xe8fda1,_0x2cb035,_0x23be8c,_0x1c6ebc)=>{for(var _0x390939=_0x1c6ebc>0x1?void 0x0:_0x1c6ebc?Qr(_0x2cb035,_0x23be8c):_0x2cb035,_0x45202d=_0xe8fda1['length']-0x1,_0x1d83c9;_0x45202d>=0x0;_0x45202d--)(_0x1d83c9=_0xe8fda1[_0x45202d])&&(_0x390939=(_0x1c6ebc?_0x1d83c9(_0x2cb035,_0x23be8c,_0x390939):_0x1d83c9(_0x390939))||_0x390939);return _0x1c6ebc&&_0x390939&&Zr(_0x2cb035,_0x23be8c,_0x390939),_0x390939;},Mt=(_0x2cd390,_0x5ca112)=>(_0x54fe4d,_0x4feb7b)=>_0x5ca112(_0x54fe4d,_0x4feb7b,_0x2cd390);function to(_0x393b27){const _0x1cf6ec=_0xefeb96,{unitID:_0x4fe002,mutations:_0x3dc80e}=_0x393b27;return{'unitId':_0x4fe002,'subUnitId':_0x3dc80e[0x0][_0x1cf6ec(0x304)]['subUnitId']};}let mt=class{constructor(_0x31d181,_0x545388,_0x21a442){const _0x55a237=_0xefeb96;this[_0x55a237(0x269)]=_0x31d181,this['_transformService']=_0x545388,this[_0x55a237(0x419)]=_0x21a442;}[_0xefeb96(0x1bf)](_0x502e4e){const _0x366d0f=_0xefeb96;var _0x525752,_0x50aaa0,_0x52efc0,_0x105dac;const _0x26475c=this['_injector'][_0x366d0f(0x271)](_0x195025),{unitId:_0x33c8ad,subUnitId:_0x4deac1}=to(_0x502e4e),_0x5c2cf2=_0x26475c[_0x366d0f(0x22d)](_0x33c8ad)[_0x366d0f(0x323)](),_0xdf22e8=(_0x50aaa0=(_0x525752=this[_0x366d0f(0x419)][_0x366d0f(0x457)](_0x33c8ad))==null?void 0x0:_0x525752[_0x366d0f(0x245)]())==null?void 0x0:_0x50aaa0[_0x366d0f(0x13c)]();if(_0x5c2cf2[_0x366d0f(0x46c)]===0x0||!_0x33c8ad||!_0x4deac1)return;const _0x4fd985=[{'id':_0xace6cf['id'],'params':{'unitId':_0x33c8ad,'subUnitId':_0xdf22e8,'selections':_0x4d0489[_0x366d0f(0xfb)](_0x5c2cf2)}}],_0x5d5ccf=this[_0x366d0f(0x3d8)][_0x366d0f(0x40e)](_0x502e4e,_0x4fd985);if(!_0xd4a330(_0x5d5ccf))throw _0x5d5ccf[_0x366d0f(0x18c)];const _0x53d299=(_0x105dac=(_0x52efc0=_0x5d5ccf[_0x366d0f(0x3f7)][0x0])==null?void 0x0:_0x52efc0[_0x366d0f(0x304)])==null?void 0x0:_0x105dac['selections'];if(Array[_0x366d0f(0x49e)](_0x53d299)&&_0x53d299['length']){if(_0x53d299[_0x366d0f(0x46c)]===_0x4fd985[0x0][_0x366d0f(0x304)][_0x366d0f(0x46f)][_0x366d0f(0x46c)]&&_0x53d299[_0x366d0f(0x187)]((_0x25688b,_0x574d49)=>_0x22b767[_0x366d0f(0x1ad)](_0x25688b[_0x366d0f(0x2a8)],_0x4fd985[0x0][_0x366d0f(0x304)][_0x366d0f(0x46f)][_0x574d49]['range'])))return;this[_0x366d0f(0x269)]['get'](_0x45feb8)[_0x366d0f(0x408)](_0xace6cf['id'],{'unitId':_0x33c8ad,'subUnitId':_0xdf22e8,'selections':_0x53d299});}}};mt=eo([Mt(0x0,_0x3099f4(_0x3676c8)),Mt(0x1,_0x5c28bd),Mt(0x2,_0x3ca09d)],mt);const yt=_0x346f91(_0xefeb96(0x239));var Di=(_0x5d2ba3=>(_0x5d2ba3[_0x5d2ba3[_0xefeb96(0x15c)]=0x0]=_0xefeb96(0x15c),_0x5d2ba3[_0x5d2ba3['OTHER_CLIENTS_EDITING']=0x1]=_0xefeb96(0x258),_0x5d2ba3))(Di||{});const ks=0x7530,Ws=_0xefeb96(0x165);class so extends _0x4f89fd{constructor(){const _0x2a3750=_0xefeb96;super(),g(this,_0x2a3750(0x3ff),_0x4d0489['generateRandomId']()),g(this,_0x2a3750(0x2e8),new Set()),g(this,_0x2a3750(0x2df),new Map()),g(this,_0x2a3750(0x41e),null),g(this,_0x2a3750(0x10a),new Map()),g(this,_0x2a3750(0x263),new Map()),this[_0x2a3750(0x411)]();}[_0xefeb96(0x3b4)](){const _0x29d38c=_0xefeb96;super[_0x29d38c(0x3b4)](),this[_0x29d38c(0x10a)]['forEach']((_0x3a6d6d,_0x187b24)=>this[_0x29d38c(0x3a0)](_0x187b24)),this[_0x29d38c(0x41e)]&&window[_0x29d38c(0x1cb)](this['_heartbeatTimer']);}['getUnitStatus$'](_0x56ccf6){const _0x36422a=_0xefeb96;return this[_0x36422a(0x48b)](_0x56ccf6)['pipe'](_0x97c859());}[_0xefeb96(0x405)](_0xd00a05){const _0x259e75=_0xefeb96;this['_selfUnitIDs'][_0x259e75(0x1d4)]===0x0&&this[_0x259e75(0x358)](),this[_0x259e75(0x2e8)]['add'](_0xd00a05),this['_send']({'type':0x0,'memberID':this[_0x259e75(0x3ff)],'unitIDs':[_0xd00a05],'isForwarded':!0x1});}[_0xefeb96(0x3fc)](_0x49ef52){const _0x7ed24=_0xefeb96;this[_0x7ed24(0x2e8)][_0x7ed24(0x2b4)](_0x49ef52),this[_0x7ed24(0x2e8)]['size']===0x0&&this[_0x7ed24(0x41e)]&&window['clearInterval'](this[_0x7ed24(0x41e)]);}[_0xefeb96(0x411)](){const _0x140bb9=_0xefeb96;this[_0x140bb9(0x2bb)](_0x26357a(_0x162ed6(window,'storage')['subscribe'](_0x5bf473=>{const _0x2cf9db=_0x140bb9;if(_0x5bf473[_0x2cf9db(0x342)]!==Ws||!_0x5bf473[_0x2cf9db(0x2be)])return;const _0x140090=JSON['parse'](_0x5bf473[_0x2cf9db(0x2be)]);this[_0x2cf9db(0x482)](_0x140090);}))),window[_0x140bb9(0x1d6)](_0x140bb9(0x1ed),()=>this['_send']({'type':0x1,'memberID':this[_0x140bb9(0x3ff)],'unitIDs':Array[_0x140bb9(0x3da)](this[_0x140bb9(0x2e8)])}));}[_0xefeb96(0x482)](_0xc08bb){const _0x5769fc=_0xefeb96;switch(_0xc08bb['type']){case 0x0:this[_0x5769fc(0x27f)](_0xc08bb);break;case 0x1:this[_0x5769fc(0x121)](_0xc08bb);break;case 0x2:this['_handleHeartbeatEvent'](_0xc08bb);break;}}[_0xefeb96(0x27f)](_0x1b6e75){const _0x3f05b=_0xefeb96,{unitIDs:_0x495ff7,memberID:_0x4775a9,isForwarded:_0x2a5773}=_0x1b6e75;_0x495ff7[_0x3f05b(0x267)](_0x4ce3a5=>{const _0x194a23=_0x3f05b;if(!_0x2a5773&&this[_0x194a23(0x2df)][_0x194a23(0x179)](_0x4ce3a5)&&this[_0x194a23(0x48b)](_0x4ce3a5)[_0x194a23(0x2f1)](0x1),!this['_unitOnClients'][_0x194a23(0x179)](_0x4ce3a5)||!this[_0x194a23(0x2df)]['get'](_0x4ce3a5)[_0x194a23(0x179)](_0x4775a9)){const _0x372fc=this[_0x194a23(0x2df)][_0x194a23(0x271)](_0x4ce3a5)||new Set();_0x372fc[_0x194a23(0x437)](_0x4775a9),this[_0x194a23(0x2df)][_0x194a23(0xf2)](_0x4ce3a5,_0x372fc),this[_0x194a23(0x38e)](_0x4775a9);}}),_0x2a5773||this[_0x3f05b(0x19c)]({'type':0x0,'memberID':this[_0x3f05b(0x3ff)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0xefeb96(0x38e)](_0x99fab4){const _0x489c7c=_0xefeb96;this[_0x489c7c(0x3a0)](_0x99fab4);const _0x4cfc3f=window[_0x489c7c(0x291)](()=>{const _0x3eba0e=_0x489c7c;this['_unitOnClients'][_0x3eba0e(0x267)](_0x3b5d23=>{const _0xae72d5=_0x3eba0e;_0x3b5d23[_0xae72d5(0x2b4)](_0x99fab4);});},ks*0x2);this[_0x489c7c(0x10a)]['set'](_0x99fab4,_0x4cfc3f);}[_0xefeb96(0x3a0)](_0x190d72){const _0x923e06=_0xefeb96;if(this['_clearOtherTimers'][_0x923e06(0x179)](_0x190d72)){const _0x4e7b9b=this[_0x923e06(0x10a)][_0x923e06(0x271)](_0x190d72);_0x4e7b9b&&window[_0x923e06(0x458)](_0x4e7b9b),this[_0x923e06(0x10a)][_0x923e06(0xf2)](_0x190d72,null);}}['_handleLeaveEvent'](_0x4d7a2e){const _0x4f1d4a=_0xefeb96,{memberID:_0x261783,unitIDs:_0x530fac}=_0x4d7a2e;_0x530fac[_0x4f1d4a(0x267)](_0x4c6b2c=>{const _0x35bc1=_0x4f1d4a;var _0x387fb6;const _0x24eb58=this[_0x35bc1(0x2df)][_0x35bc1(0x271)](_0x4c6b2c);_0x24eb58&&(_0x24eb58[_0x35bc1(0x2b4)](_0x261783),(_0x387fb6=this[_0x35bc1(0x48b)](_0x4c6b2c))==null||_0x387fb6[_0x35bc1(0x2f1)](_0x24eb58['size']===0x0?0x0:0x1));}),this[_0x4f1d4a(0x3a0)](_0x261783);}['_handleHeartbeatEvent'](_0x2fc7a4){const _0x27fbc9=_0xefeb96;this['_scheduleClearOtherTimer'](_0x2fc7a4[_0x27fbc9(0xd9)]);}['_send'](_0xec3542){const _0x3a780a=_0xefeb96;localStorage['setItem'](Ws,JSON[_0x3a780a(0x296)](_0xec3542));}[_0xefeb96(0x358)](){const _0x24767f=_0xefeb96;this[_0x24767f(0x41e)]=window[_0x24767f(0x433)](()=>{const _0x156f16=_0x24767f;this[_0x156f16(0x19c)]({'type':0x2,'memberID':this['_id']});},ks);}['_ensureSubject'](_0xbd0b61){const _0x4d763b=_0xefeb96;return this[_0x4d763b(0x263)][_0x4d763b(0x179)](_0xbd0b61)||this[_0x4d763b(0x263)][_0x4d763b(0xf2)](_0xbd0b61,new _0x1d1c4b(0x0)),this[_0x4d763b(0x263)][_0x4d763b(0x271)](_0xbd0b61);}}var io=Object[_0xefeb96(0x466)],no=Object[_0xefeb96(0x336)],ro=(_0x2af7dd,_0x48f163,_0x5099e6,_0xb30fca)=>{const _0x355e94=_0xefeb96;for(var _0x5c339c=_0xb30fca>0x1?void 0x0:_0xb30fca?no(_0x48f163,_0x5099e6):_0x48f163,_0x162a63=_0x2af7dd[_0x355e94(0x46c)]-0x1,_0x5522c7;_0x162a63>=0x0;_0x162a63--)(_0x5522c7=_0x2af7dd[_0x162a63])&&(_0x5c339c=(_0xb30fca?_0x5522c7(_0x48f163,_0x5099e6,_0x5c339c):_0x5522c7(_0x5c339c))||_0x5c339c);return _0xb30fca&&_0x5c339c&&io(_0x48f163,_0x5099e6,_0x5c339c),_0x5c339c;},xt=(_0x2f62be,_0x16d9ba)=>(_0x3d2978,_0x1c8d69)=>_0x16d9ba(_0x3d2978,_0x1c8d69,_0x2f62be);let pt=class{constructor(_0x598c22,_0x8802b6,_0x1d01ba){const _0x4c1e86=_0xefeb96;this[_0x4c1e86(0x269)]=_0x598c22,this[_0x4c1e86(0x3d8)]=_0x8802b6,this['_docStateChangeManagerService']=_0x1d01ba;}[_0xefeb96(0x1c8)](_0x3c3ec9){this['_transformHistoryAndStateStack'](_0x3c3ec9);}[_0xefeb96(0x48f)](_0x5957e9){const _0x170df5=_0xefeb96,{unitID:_0x45c9fb}=_0x5957e9,{collaboration:_0x1b0da4}=this[_0x170df5(0x1c0)]['getStateCache'](_0x45c9fb);if(_0x1b0da4[_0x170df5(0x46c)]===0x0)return _0x5957e9;let _0x46ee8d=_0x4d0489[_0x170df5(0xfb)](_0x5957e9[_0x170df5(0x3a8)][0x0]);for(let _0x1c70f3=0x0;_0x1c70f3<_0x1b0da4['length'];_0x1c70f3++){const _0x510b1b={'id':_0x170df5(0x3be),'params':{'unitId':_0x1b0da4[_0x1c70f3][_0x170df5(0x4b1)],..._0x1b0da4[_0x1c70f3][_0x170df5(0x1e7)]}},_0x3b887b=this[_0x170df5(0x3d8)]['transformMutation'](_0x46ee8d,_0x510b1b,!0x1);if(_0x1a9445(_0x3b887b))throw _0x3b887b[_0x170df5(0x18c)];_0x46ee8d=_0x3b887b[_0x170df5(0x2ca)];}return{..._0x4d0489[_0x170df5(0xfb)](_0x5957e9),'mutations':[_0x46ee8d]};}[_0xefeb96(0x29b)](_0x325f56){const _0x16fccf=_0xefeb96,{unitID:_0x967f4}=_0x325f56,{history:_0x2c6798,collaboration:_0x5ed184}=this[_0x16fccf(0x1c0)][_0x16fccf(0x221)](_0x967f4);if(_0x2c6798[_0x16fccf(0x46c)]===0x0&&_0x5ed184[_0x16fccf(0x46c)]===0x0)return;const _0x2f7d1a=[],_0xeffc26=[];let _0x1f6344=_0x4d0489[_0x16fccf(0xfb)](_0x325f56[_0x16fccf(0x3a8)][0x0]),_0x389b4c=_0x4d0489[_0x16fccf(0xfb)](_0x325f56[_0x16fccf(0x3a8)][0x0]);for(let _0x567789=_0x2c6798['length']-0x1;_0x567789>=0x0;_0x567789--){const _0x551166={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2c6798[_0x567789][_0x16fccf(0x4b1)],..._0x2c6798[_0x567789][_0x16fccf(0x1a6)]}},_0x644fef={'id':_0x16fccf(0x3be),'params':{'unitId':_0x2c6798[_0x567789]['unitId'],..._0x2c6798[_0x567789][_0x16fccf(0x1e7)]}},_0x1c6c51=this[_0x16fccf(0x3d8)][_0x16fccf(0x46e)](_0x1f6344,_0x551166,!0x1),_0xc5dd0f=this['_transformService'][_0x16fccf(0x46e)](_0x389b4c,_0x644fef,!0x1);if(_0x1a9445(_0x1c6c51))throw _0x1c6c51[_0x16fccf(0x18c)];if(_0x1a9445(_0xc5dd0f))throw _0xc5dd0f[_0x16fccf(0x18c)];_0x2f7d1a['unshift']({..._0x2c6798[_0x567789],'undoState':_0x1c6c51[_0x16fccf(0x3f7)][_0x16fccf(0x304)],'redoState':_0xc5dd0f[_0x16fccf(0x3f7)][_0x16fccf(0x304)]}),_0x1f6344=_0x1c6c51[_0x16fccf(0x2ca)],_0x389b4c=_0xc5dd0f[_0x16fccf(0x2ca)];}_0x1f6344=_0x4d0489[_0x16fccf(0xfb)](_0x325f56[_0x16fccf(0x3a8)][0x0]),_0x389b4c=_0x4d0489[_0x16fccf(0xfb)](_0x325f56[_0x16fccf(0x3a8)][0x0]);for(let _0x3ad6c9=_0x5ed184[_0x16fccf(0x46c)]-0x1;_0x3ad6c9>=0x0;_0x3ad6c9--){const _0x254bec={'id':_0x16fccf(0x3be),'params':{'unitId':_0x5ed184[_0x3ad6c9]['unitId'],..._0x5ed184[_0x3ad6c9][_0x16fccf(0x1a6)]}},_0x50ff2f={'id':_0x16fccf(0x3be),'params':{'unitId':_0x5ed184[_0x3ad6c9]['unitId'],..._0x5ed184[_0x3ad6c9][_0x16fccf(0x1e7)]}},_0x16c932=this['_transformService'][_0x16fccf(0x46e)](_0x1f6344,_0x254bec,!0x1),_0x56e1ca=this[_0x16fccf(0x3d8)][_0x16fccf(0x46e)](_0x389b4c,_0x50ff2f,!0x1);if(_0x1a9445(_0x16c932))throw _0x16c932[_0x16fccf(0x18c)];if(_0x1a9445(_0x56e1ca))throw _0x56e1ca[_0x16fccf(0x18c)];_0xeffc26['unshift']({..._0x5ed184[_0x3ad6c9],'undoState':_0x16c932[_0x16fccf(0x3f7)][_0x16fccf(0x304)],'redoState':_0x56e1ca[_0x16fccf(0x3f7)][_0x16fccf(0x304)]}),_0x1f6344=_0x16c932['m1Prime'],_0x389b4c=_0x56e1ca[_0x16fccf(0x2ca)];}this[_0x16fccf(0x1c0)]['setStateCache'](_0x967f4,{'history':_0x2f7d1a,'collaboration':_0xeffc26});}};pt=ro([xt(0x0,_0x3099f4(_0x3676c8)),xt(0x1,_0x5c28bd),xt(0x2,_0x3099f4(_0x3afa8a))],pt);function Pi(_0x50b930){const _0x799c67=_0xefeb96;let _0x49b5f2='';for(const _0x3dd3b6 of _0x50b930){const {startOffset:_0x2ff64b,endOffset:_0x2a4987,isActive:_0x1194f8,rangeType:_0x397e91,segmentId:_0x25158b,segmentPage:_0x1684db}=_0x3dd3b6;_0x49b5f2[_0x799c67(0x46c)]&&(_0x49b5f2+=','),_0x49b5f2+=_0x2ff64b+':'+_0x2a4987+':'+(_0x1194f8?'1':'0')+':'+_0x397e91+':'+_0x25158b+':'+_0x1684db;}return _0x49b5f2;}function oo(_0x21036d){const _0x438814=_0xefeb96,_0x31248d=_0x21036d[_0x438814(0x28b)](','),_0x568277=[];for(const _0x5cc6bf of _0x31248d){const [_0x1153be,_0x5b7c18,_0xb0c339,_0x206519,_0x5dd626,_0x372d2b]=_0x5cc6bf[_0x438814(0x28b)](':');_0x568277[_0x438814(0x477)]({'startOffset':Number(_0x1153be),'endOffset':Number(_0x5b7c18),'collapsed':_0x1153be===_0x5b7c18,'isActive':_0xb0c339==='1','rangeType':_0x206519===_0x11763b['TEXT']?_0x11763b[_0x438814(0x243)]:_0x11763b[_0x438814(0x346)],'segmentId':typeof _0x5dd626==_0x438814(0x38c)?String(_0x5dd626):'','segmentPage':Number(_0x372d2b!=null?_0x372d2b:-0x1)});}return _0x568277['some'](_0x376df4=>_0x376df4[_0x438814(0xff)])||(_0x568277[0x0][_0x438814(0xff)]=!0x0),_0x568277;}class Cs extends _0x2f42db{constructor(){const _0x1c262c=_0xefeb96;super(...arguments),g(this,_0x1c262c(0xdc),new _0x1d1c4b(null)),g(this,_0x1c262c(0x3bd),this[_0x1c262c(0xdc)][_0x1c262c(0x3ce)]());}[_0xefeb96(0x41b)](_0x1452c1){const _0x5cd0b1=_0xefeb96,{unitID:_0x2fed02,memberID:_0x597a5c,textRanges:_0x3409b8}=_0x1452c1,_0x452644=Pi(_0x3409b8);if(_0x452644==='')return;const _0x1dd080={'unitID':_0x2fed02,'memberID':_0x597a5c,'selection':_0x452644};this[_0x5cd0b1(0xdc)][_0x5cd0b1(0x2f1)](_0x1dd080);}}var ao=Object[_0xefeb96(0x466)],co=Object['getOwnPropertyDescriptor'],ho=(_0x129a29,_0x493ac9,_0x4b46bc,_0x2e6b8f)=>{const _0x350b1d=_0xefeb96;for(var _0xc1cb4c=_0x2e6b8f>0x1?void 0x0:_0x2e6b8f?co(_0x493ac9,_0x4b46bc):_0x493ac9,_0x67f3a4=_0x129a29[_0x350b1d(0x46c)]-0x1,_0x4c2ff9;_0x67f3a4>=0x0;_0x67f3a4--)(_0x4c2ff9=_0x129a29[_0x67f3a4])&&(_0xc1cb4c=(_0x2e6b8f?_0x4c2ff9(_0x493ac9,_0x4b46bc,_0xc1cb4c):_0x4c2ff9(_0xc1cb4c))||_0xc1cb4c);return _0x2e6b8f&&_0xc1cb4c&&ao(_0x493ac9,_0x4b46bc,_0xc1cb4c),_0xc1cb4c;},Fs=(_0x550fb7,_0x521382)=>(_0x65265a,_0xd917dd)=>_0x521382(_0x65265a,_0xd917dd,_0x550fb7);let gt=class{constructor(_0x4b28a2,_0x93dc95){const _0x486fcb=_0xefeb96;this[_0x486fcb(0x269)]=_0x4b28a2,this[_0x486fcb(0x3d8)]=_0x93dc95;}[_0xefeb96(0x1bf)](_0x3ccbea){const _0xe22376=_0xefeb96;var _0x3d61e8;const _0x4fa462=this[_0xe22376(0x269)][_0xe22376(0x271)](_0xf65f0a),_0x1b7d97=(_0x3d61e8=_0x4fa462[_0xe22376(0x163)]())!=null?_0x3d61e8:[];if(_0x1b7d97['length']===0x0)return;const _0x2a91a9=[{'id':_0xe22376(0x3be),'params':{'unitId':_0x3ccbea['unitID'],'actions':null,'textRanges':_0x1b7d97}}],_0x3080b3=this[_0xe22376(0x3d8)][_0xe22376(0x40e)](_0x3ccbea,_0x2a91a9);if(!_0xd4a330(_0x3080b3))throw _0x3080b3[_0xe22376(0x18c)];const _0x2eecdf=_0x3080b3['m2Prime'][0x0][_0xe22376(0x304)][_0xe22376(0x333)];Array[_0xe22376(0x49e)](_0x2eecdf)&&_0x2eecdf['length']&&_0x4fa462[_0xe22376(0x2e3)](_0x2eecdf,!0x1);}};gt=ho([Fs(0x0,_0x3099f4(_0x3676c8)),Fs(0x1,_0x5c28bd)],gt);const lo=new Set([_0x325473['id']]);function Vs(_0x23efee,_0x5a25ec,_0x5f14d2,_0xa53d82,_0x38d9ae){const _0xd49310=_0xefeb96;var _0x1c7ce2,_0x1ab6d5,_0x464db1,_0x33497c;const _0x5132ea=[];for(const _0x19358c of _0x23efee)if(lo[_0xd49310(0x179)](_0x19358c['id'])){if(_0x5132ea[_0xd49310(0x46c)]>0x0)break;_0x5132ea[_0xd49310(0x477)](_0x19358c);break;}else _0x5132ea[_0xd49310(0x477)](_0x19358c);const _0x44d64d=(_0x1ab6d5=(_0x1c7ce2=_0x38d9ae[_0xd49310(0x21b)]())==null?void 0x0:_0x1c7ce2['userID'])!=null?_0x1ab6d5:_0xd49310(0x2e5),_0x410ba3=(_0x33497c=(_0x464db1=_0x38d9ae[_0xd49310(0x21b)]())==null?void 0x0:_0x464db1[_0xd49310(0xd9)])!=null?_0x33497c:_0xd49310(0x2e5);return{'changeset':{'unitID':_0x5a25ec,'type':_0x4c8b56(_0x5f14d2[_0xd49310(0x3e1)](_0x5a25ec)),'baseRev':_0xa53d82['getCurrentRevOfUnit'](_0x5a25ec),'revision':0x0,'userID':_0x44d64d,'memberID':_0x410ba3,'mutations':_0x5132ea},'pendingMutations':_0x23efee[_0xd49310(0x352)](_0x5132ea[_0xd49310(0x46c)])};}function _o(_0x58b4b9,_0x54de44,_0x5db660,_0x592ae9,_0x35164e){const _0x5cccc3=_0xefeb96;var _0x264c3f,_0x25b438,_0x9951e,_0x44b68e;const _0x282337=[_0x58b4b9[_0x5cccc3(0x25f)]((_0xb91bc4,_0x49f1a5)=>{const _0x2e4429=_0x5cccc3;var _0x4c8102;const {id:_0x19b2c1}=_0xb91bc4,{id:_0x385218,type:_0x411c3b}=_0x49f1a5,_0x5634bc=(_0x4c8102=_0xb91bc4[_0x2e4429(0x304)])!=null?_0x4c8102:{'actions':null},_0x20ab8e=_0x49f1a5['params'];if(_0x19b2c1&&_0x19b2c1!==_0x385218)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x19b2c1+'\x20-\x20'+_0x385218+'.');return{..._0xb91bc4,'id':_0x385218,'type':_0x411c3b,'params':{'unitId':_0x20ab8e[_0x2e4429(0x4b1)],'textRanges':_0x20ab8e[_0x2e4429(0x333)],'actions':_0x2c8f38['compose'](_0x5634bc[_0x2e4429(0x255)],_0x20ab8e[_0x2e4429(0x255)])}};},{})],_0x35e420=(_0x25b438=(_0x264c3f=_0x35164e['getCurrentUser']())==null?void 0x0:_0x264c3f[_0x5cccc3(0x135)])!=null?_0x25b438:_0x5cccc3(0x2e5),_0xbd1c74=(_0x44b68e=(_0x9951e=_0x35164e['getCurrentUser']())==null?void 0x0:_0x9951e[_0x5cccc3(0xd9)])!=null?_0x44b68e:_0x5cccc3(0x2e5);return{'changeset':{'unitID':_0x54de44,'type':_0x4c8b56(_0x5db660['getUnitType'](_0x54de44)),'baseRev':_0x592ae9['getCurrentRevOfUnit'](_0x54de44),'revision':0x0,'userID':_0x35e420,'memberID':_0xbd1c74,'mutations':_0x282337},'pendingMutations':[]};}function Ui(_0x2601d7,_0x548d50){const _0x2ed30f=_0xefeb96,_0x47cf12=new _0x4efb30(0x1);return setTimeout(()=>_0x47cf12[_0x2ed30f(0x2f1)](_0x548d50),_0x2601d7),_0x47cf12[_0x2ed30f(0x3ce)]()[_0x2ed30f(0x272)](_0x4a1f3b(0x1));}const uo={'id':_0x5c7ca1['id'],'type':_0x3d2d65['MUTATION'],'params':{}};var fo=Object['defineProperty'],vo=Object[_0xefeb96(0x336)],Le=(_0x3905ad,_0x51ff9b,_0x442cd9,_0xff0931)=>{for(var _0x4ca653=_0xff0931>0x1?void 0x0:_0xff0931?vo(_0x51ff9b,_0x442cd9):_0x51ff9b,_0x1a2b69=_0x3905ad['length']-0x1,_0x2ded44;_0x1a2b69>=0x0;_0x1a2b69--)(_0x2ded44=_0x3905ad[_0x1a2b69])&&(_0x4ca653=(_0xff0931?_0x2ded44(_0x51ff9b,_0x442cd9,_0x4ca653):_0x2ded44(_0x4ca653))||_0x4ca653);return _0xff0931&&_0x4ca653&&fo(_0x51ff9b,_0x442cd9,_0x4ca653),_0x4ca653;},A=(_0x192afb,_0x4fde32)=>(_0x3e5482,_0x5c106b)=>_0x4fde32(_0x3e5482,_0x5c106b,_0x192afb),J=(_0x405c00=>(_0x405c00['NOT_COLLAB']=_0xefeb96(0x126),_0x405c00['SYNCED']=_0xefeb96(0x480),_0x405c00[_0xefeb96(0x390)]=_0xefeb96(0x2ce),_0x405c00[_0xefeb96(0x3b3)]=_0xefeb96(0x4bc),_0x405c00[_0xefeb96(0x3e5)]=_0xefeb96(0x3ec),_0x405c00['FETCH_MISS']='fetch_missing',_0x405c00[_0xefeb96(0x1be)]=_0xefeb96(0x417),_0x405c00[_0xefeb96(0x484)]=_0xefeb96(0x4ad),_0x405c00))(J||{});const Ni=0xea60;class $e{constructor(_0x5919ad,_0x566f73,_0x2b4ac9,_0x21d1bc,_0x4800c4,_0x375f54,_0xd28444,_0x13c60e,_0x275681){const _0x2d71b3=_0xefeb96;g(this,_0x2d71b3(0x45e),null),g(this,'_pendingMutations',[]),(this[_0x2d71b3(0xdb)]=_0x5919ad,this[_0x2d71b3(0x196)]=_0x566f73,this[_0x2d71b3(0x3aa)]=_0x4800c4,this[_0x2d71b3(0x29f)]=_0x375f54,this[_0x2d71b3(0x12b)]=_0xd28444,this[_0x2d71b3(0x1d7)]=_0x13c60e,this[_0x2d71b3(0x236)]=_0x275681,this[_0x2d71b3(0x45e)]=_0x2b4ac9,this[_0x2d71b3(0x26a)]=_0x21d1bc);}['_checkMissing'](_0x49f2c1){const _0x2d7196=_0xefeb96,_0x498ea3=this[_0x2d7196(0x1d7)][_0x2d7196(0x2ac)](this['unitID']);return _0x49f2c1['revision']>_0x498ea3+0x1?(this[_0x2d7196(0x3aa)][_0x2d7196(0xe5)]({'from':_0x498ea3,'to':_0x49f2c1[_0x2d7196(0x248)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x5720de){const _0x4bf9cf=_0xefeb96;this[_0x4bf9cf(0x12b)]['transformUndoRedo'](this['unitID'],_0x5720de);}[_0xefeb96(0x26f)](_0x56b986){const _0x507cd0=_0xefeb96;var _0x1fa7f8,_0x363131;(_0x363131=(_0x1fa7f8=this[_0x507cd0(0x3aa)])['onTransformSelections'])==null||_0x363131['call'](_0x1fa7f8,_0x56b986);}[_0xefeb96(0x257)](_0x4559a8){const _0xcbfd57=_0xefeb96;var _0x269750,_0x114485;return(_0x114485=(_0x269750=this['_handler'])[_0xcbfd57(0x141)])==null?void 0x0:_0x114485[_0xcbfd57(0x2e7)](_0x269750,_0x4559a8);}[_0xefeb96(0x3a4)](_0x526a7e){const _0x144228=_0xefeb96;var _0x578468,_0x175a14;return(_0x175a14=(_0x578468=this['_handler'])[_0x144228(0x40c)])==null?void 0x0:_0x175a14[_0x144228(0x2e7)](_0x578468,_0x526a7e);}[_0xefeb96(0x2dc)](_0xd7ee4b){const _0x12059=_0xefeb96;var _0x2b5598,_0x3cb716,_0x120c92;return(_0x120c92=(_0x3cb716=(_0x2b5598=this[_0x12059(0x3aa)])[_0x12059(0x321)])==null?void 0x0:_0x3cb716[_0x12059(0x2e7)](_0x2b5598,_0xd7ee4b))!=null?_0x120c92:_0xd7ee4b;}[_0xefeb96(0x28e)](_0x472373){const _0x45b885=_0xefeb96;var _0x4e7d30,_0x7ae5b0,_0x4437b4;return(_0x4437b4=(_0x7ae5b0=(_0x4e7d30=this['_handler'])[_0x45b885(0x376)])==null?void 0x0:_0x7ae5b0[_0x45b885(0x2e7)](_0x4e7d30,_0x472373))!=null?_0x4437b4:_0x472373;}[_0xefeb96(0x2bd)](_0x455a1f){const _0x51d89d=_0xefeb96;var _0x69e10b,_0x23aa89;if(this[_0x51d89d(0x196)]===ce[_0x51d89d(0x4b4)]){const {unitID:_0x4d2714,mutations:_0x3b6b42,memberID:_0x5d833d}=_0x455a1f,_0x4eb8fc=_0x3b6b42[0x0]['params'][_0x51d89d(0x333)];Array[_0x51d89d(0x49e)](_0x4eb8fc)&&_0x4eb8fc[_0x51d89d(0x46c)]>0x0&&((_0x23aa89=(_0x69e10b=this['_handler'])[_0x51d89d(0x130)])==null||_0x23aa89['call'](_0x69e10b,{'unitID':_0x4d2714,'memberID':_0x5d833d,'textRanges':_0x4eb8fc}));}}[_0xefeb96(0x1cf)](){const _0x29f68e=_0xefeb96;this[_0x29f68e(0x236)][_0x29f68e(0x34e)](this[_0x29f68e(0xdb)],this[_0x29f68e(0x196)],this[_0x29f68e(0x45e)],this[_0x29f68e(0x26a)]);}['_getCurrentRevision'](){const _0x40553e=_0xefeb96;return this[_0x40553e(0x1d7)][_0x40553e(0x2ac)](this['unitID']);}[_0xefeb96(0x224)](){const _0x56c364=_0xefeb96;this[_0x56c364(0x1d7)][_0x56c364(0x41f)](this['unitID']);}[_0xefeb96(0x2fe)](_0x5e7de2){const _0xaac6b=_0xefeb96;var _0x3be945;let _0xd6dc5=this[_0xaac6b(0x2dc)](_0x5e7de2);_0xd6dc5=this['_transformRemoteChangesetByStateCache'](_0xd6dc5);const _0x264e9c=_0x36bdde(_0xd6dc5[_0xaac6b(0x3a8)],this['_commandService'],{'fromCollab':!0x0});if(!_0x264e9c[_0xaac6b(0x2c0)])throw _0x264e9c[_0xaac6b(0x18c)]instanceof Error?_0x264e9c[_0xaac6b(0x18c)]:new Error((_0x3be945=_0x264e9c['error'])!=null?_0x3be945:_0xaac6b(0x2bc));this[_0xaac6b(0x257)](_0xd6dc5),this['_transformStateCache'](_0xd6dc5),this[_0xaac6b(0x471)](_0x5e7de2),this[_0xaac6b(0x26f)](_0xd6dc5),this[_0xaac6b(0x2bd)](_0xd6dc5),this[_0xaac6b(0x224)]();}}let Fe=class extends $e{constructor(_0x2fccb8,_0x187329,_0xa15a97,_0x5a9470,_0x43990d,_0x5d58c0,_0x25ba27,_0x74f3bc,_0x1f9eca,_0x435531){const _0x8ae347=_0xefeb96;super(_0x2fccb8,_0x187329,null,[],_0xa15a97,_0x74f3bc,_0x25ba27,_0x5a9470,_0x43990d),g(this,'status',_0x8ae347(0x480)),(this['_injector']=_0x5d58c0,this[_0x8ae347(0x204)]=_0x1f9eca,this['_transformService']=_0x435531);}[_0xefeb96(0x253)](_0xbbc5ee){const _0x36f458=_0xefeb96,_0x1b1da0=this['_injector'][_0x36f458(0x25a)](pe,this[_0x36f458(0xdb)],this[_0x36f458(0x196)],[_0xbbc5ee],this[_0x36f458(0x3aa)]);return _0x1b1da0[_0x36f458(0x109)](),_0x1b1da0['_updateLocalCache'](),_0x1b1da0;}[_0xefeb96(0x38b)](_0x1bec6e){const _0x2a67ed=_0xefeb96;if(this[_0x2a67ed(0x3d2)](_0x1bec6e))return this[_0x2a67ed(0x269)][_0x2a67ed(0x25a)](he,this[_0x2a67ed(0xdb)],this['type'],null,[],null,[_0x1bec6e],this[_0x2a67ed(0x3aa)]);try{const _0x22a52c=this[_0x2a67ed(0x3d8)][_0x2a67ed(0x40e)](_0x1bec6e,[uo]);if(_0xd4a330(_0x22a52c)){const {c1Prime:_0x31510f}=_0x22a52c;return this['_executeRemoteChangeset'](_0x31510f),this;}throw _0x22a52c[_0x2a67ed(0x18c)];}catch(_0x1f12ae){return this[_0x2a67ed(0x204)][_0x2a67ed(0x18c)](_0x1f12ae),this['_onConflict'](!0x1);}}[_0xefeb96(0x145)](_0x27654b){const _0x1d5df9=_0xefeb96;return this[_0x1d5df9(0x269)][_0x1d5df9(0x25a)](Re,this[_0x1d5df9(0xdb)],this['type'],null,[],this[_0x1d5df9(0x3aa)],_0x27654b);}[_0xefeb96(0x38d)](){const _0x30e0d4=_0xefeb96;throw new Error(_0x30e0d4(0x498));}[_0xefeb96(0x36f)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0xefeb96(0x45d)](){return this;}[_0xefeb96(0x425)](){const _0x197c05=_0xefeb96;return this[_0x197c05(0x269)][_0x197c05(0x25a)](ye,this[_0x197c05(0xdb)],this[_0x197c05(0x196)],null,[],this['_handler']);}[_0xefeb96(0x488)](){return this;}[_0xefeb96(0x1bd)](){const _0x235b68=_0xefeb96;throw new Error(_0x235b68(0x24b));}[_0xefeb96(0x319)](){const _0x2147c1=_0xefeb96,_0x370e9c=this['_revisionService'][_0x2147c1(0x2ac)](this[_0x2147c1(0xdb)]);return this[_0x2147c1(0x3aa)][_0x2147c1(0xe5)]({'from':_0x370e9c,'to':0x0}),this[_0x2147c1(0x269)][_0x2147c1(0x25a)](he,this[_0x2147c1(0xdb)],this[_0x2147c1(0x196)],null,[],null,[],this[_0x2147c1(0x3aa)]);}};Fe=Le([A(0x3,_0x3099f4(_0xa44bce)),A(0x4,_0x3099f4(q)),A(0x5,_0x3099f4(_0x3676c8)),A(0x6,_0x277be1),A(0x7,_0x45feb8),A(0x8,_0x40d13a),A(0x9,_0x5c28bd)],Fe);let pe=class extends $e{constructor(_0x39dd9e,_0x103e76,_0x4ae647,_0x36ea97,_0x443537,_0x7f07e4,_0x1750de,_0x5f4a58,_0x3c4afb,_0x18314c,_0x17252a,_0x154fa3,_0x53a2b6,_0x1c6d4f){const _0x4c5662=_0xefeb96;super(_0x39dd9e,_0x103e76,null,_0x4ae647,_0x36ea97,_0x18314c,_0x1c6d4f,_0x7f07e4,_0x1750de),g(this,_0x4c5662(0x21d),_0x4c5662(0x2ce)),g(this,_0x4c5662(0x177),null),g(this,_0x4c5662(0x1b0),null),(this[_0x4c5662(0x269)]=_0x443537,this[_0x4c5662(0x11b)]=_0x5f4a58,this['_logService']=_0x3c4afb,this[_0x4c5662(0x32b)]=_0x17252a,this[_0x4c5662(0x3d8)]=_0x154fa3,this[_0x4c5662(0x214)]=_0x53a2b6);}[_0xefeb96(0x253)](_0x7ba666){const _0x643c0b=_0xefeb96;return this['_pendingMutations'][_0x643c0b(0x477)](_0x7ba666),this[_0x643c0b(0x1cf)](),this;}[_0xefeb96(0x38b)](_0x4056cb){const _0x1b8d0b=_0xefeb96;if(this[_0x1b8d0b(0x3d2)](_0x4056cb))return this[_0x1b8d0b(0x491)](),this[_0x1b8d0b(0x269)]['createInstance'](he,this[_0x1b8d0b(0xdb)],this['type'],null,this[_0x1b8d0b(0x26a)],null,[_0x4056cb],this[_0x1b8d0b(0x3aa)]);try{const _0x427d05=this['_transformService'][_0x1b8d0b(0x40e)](_0x4056cb,this['_pendingMutations']);if(_0xd4a330(_0x427d05)){const {c1Prime:_0x19928c,m2Prime:_0x465f90}=_0x427d05;this[_0x1b8d0b(0x2fe)](_0x19928c);const _0x2dadc6=this[_0x1b8d0b(0x269)][_0x1b8d0b(0x25a)](pe,this[_0x1b8d0b(0xdb)],this[_0x1b8d0b(0x196)],_0x465f90,this[_0x1b8d0b(0x3aa)]);return this['_clearScheduledTask'](),_0x2dadc6[_0x1b8d0b(0x109)](this['_scheduleTimestamp']?Math[_0x1b8d0b(0x3c0)](0x0,new Date()[_0x1b8d0b(0x22f)]()-this[_0x1b8d0b(0x177)]):this[_0x1b8d0b(0x3c9)]()),_0x2dadc6;}throw _0x427d05['error'];}catch(_0x24ad58){return this[_0x1b8d0b(0x204)][_0x1b8d0b(0x18c)](_0x24ad58),this[_0x1b8d0b(0x145)](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0xefeb96(0x36f)](){const _0x582dfb=_0xefeb96;throw new Error(_0x582dfb(0x310));}[_0xefeb96(0x45d)](){return this;}[_0xefeb96(0x425)](){const _0x1183d2=_0xefeb96;return this[_0x1183d2(0x491)](),this[_0x1183d2(0x269)]['createInstance'](ye,this[_0x1183d2(0xdb)],this[_0x1183d2(0x196)],null,this[_0x1183d2(0x26a)],this[_0x1183d2(0x3aa)]);}[_0xefeb96(0x488)](){return this;}['_schedule'](_0x5f3eca){const _0x37d2b6=_0xefeb96,_0x4c7939=_0x5f3eca!=null?_0x5f3eca:this[_0x37d2b6(0x3c9)]();this[_0x37d2b6(0x177)]=new Date()['getTime'](),this[_0x37d2b6(0x1b0)]=window[_0x37d2b6(0x291)](()=>{const _0x685c7f=_0x37d2b6;this[_0x685c7f(0x491)]();let _0x3c27f5=null;switch(this[_0x685c7f(0x196)]){case ce[_0x685c7f(0x451)]:{_0x3c27f5=Vs(this[_0x685c7f(0x26a)],this[_0x685c7f(0xdb)],this[_0x685c7f(0x214)],this[_0x685c7f(0x1d7)],this[_0x685c7f(0x11b)]);break;}case ce['UNIVER_DOC']:{this[_0x685c7f(0x26a)][_0x685c7f(0x187)](_0x1716ab=>_0x1716ab['id']===_0x58f2a8['id'])?_0x3c27f5=_o(this[_0x685c7f(0x26a)],this['unitID'],this[_0x685c7f(0x214)],this[_0x685c7f(0x1d7)],this[_0x685c7f(0x11b)]):_0x3c27f5=Vs(this[_0x685c7f(0x26a)],this[_0x685c7f(0xdb)],this[_0x685c7f(0x214)],this['_revisionService'],this[_0x685c7f(0x11b)]);break;}default:throw new Error(_0x685c7f(0x2d1)+this[_0x685c7f(0x196)]+_0x685c7f(0x298));}const {changeset:_0x49b6d2,pendingMutations:_0x5f152a}=_0x3c27f5;this[_0x685c7f(0x3aa)][_0x685c7f(0x1fb)](_0x49b6d2);const _0x9ce189=_0x5f152a[_0x685c7f(0x46c)]?this[_0x685c7f(0x269)]['createInstance'](ge,this['unitID'],this['type'],_0x49b6d2,_0x5f152a,this[_0x685c7f(0x3aa)],void 0x0):this['_injector'][_0x685c7f(0x25a)](Te,this[_0x685c7f(0xdb)],this['type'],_0x49b6d2,this[_0x685c7f(0x3aa)]);_0x9ce189[_0x685c7f(0x1cf)](),this[_0x685c7f(0x3aa)][_0x685c7f(0x394)](this,_0x9ce189);},_0x4c7939);}[_0xefeb96(0x3c9)](){const _0x4a889a=_0xefeb96;var _0x156591;const _0xcb8247=this['_configService']['getConfig'](ie);return(_0x156591=_0xcb8247==null?void 0x0:_0xcb8247[_0x4a889a(0x2da)])!=null?_0x156591:cr;}[_0xefeb96(0x1bd)](){const _0x87335d=_0xefeb96;throw new Error(_0x87335d(0x15d));}['_clearScheduledTask'](){const _0x461f89=_0xefeb96;this[_0x461f89(0x1b0)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x461f89(0x1b0)]=null);}[_0xefeb96(0x145)](_0x323842){const _0xdebf4b=_0xefeb96;return this['_clearScheduledTask'](),this[_0xdebf4b(0x269)]['createInstance'](Re,this[_0xdebf4b(0xdb)],this[_0xdebf4b(0x196)],null,this[_0xdebf4b(0x26a)],this[_0xdebf4b(0x3aa)],_0x323842);}};pe=Le([A(0x4,_0x3099f4(_0x3676c8)),A(0x5,_0x3099f4(_0xa44bce)),A(0x6,_0x3099f4(q)),A(0x7,_0x3099f4(Ne)),A(0x8,_0x40d13a),A(0x9,_0x45feb8),A(0xa,_0x4ea3e2),A(0xb,_0x5c28bd),A(0xc,_0x3ca09d),A(0xd,_0x277be1)],pe);let Te=class extends $e{constructor(_0x109c63,_0x15a832,_0x30a4a9,_0x2b0db1,_0x3d9256,_0x6b5fe,_0x316e7e,_0x113e2c,_0xed2700,_0x5b331f,_0x8f69cb){const _0x5038fa=_0xefeb96;super(_0x109c63,_0x15a832,_0x30a4a9,[],_0x2b0db1,_0x113e2c,_0x8f69cb,_0x6b5fe,_0x316e7e),g(this,_0x5038fa(0x21d),_0x5038fa(0x4bc)),g(this,_0x5038fa(0x2d4),0x0),g(this,_0x5038fa(0x35d)),g(this,_0x5038fa(0x44e)),(this[_0x5038fa(0x269)]=_0x3d9256,this[_0x5038fa(0x204)]=_0xed2700,this[_0x5038fa(0x3d8)]=_0x5b331f);}['appendMutation'](_0x3b6eda){const _0x32ab61=_0xefeb96;this[_0x32ab61(0x491)]();const _0x251f04=this['_injector'][_0x32ab61(0x25a)](ge,this['unitID'],this[_0x32ab61(0x196)],this['_awaitingChangeset'],[_0x3b6eda],this['_handler'],this[_0x32ab61(0x35d)]);return _0x251f04[_0x32ab61(0x1cf)](),_0x251f04;}[_0xefeb96(0x38b)](_0x53af1e){const _0x46d55f=_0xefeb96;if(this['_checkMissing'](_0x53af1e))return this[_0x46d55f(0x491)](),this[_0x46d55f(0x269)][_0x46d55f(0x25a)](he,this[_0x46d55f(0xdb)],this[_0x46d55f(0x196)],this['_awaitingChangeset'],[],null,[_0x53af1e],this[_0x46d55f(0x3aa)]);try{const _0xc820b8=this[_0x46d55f(0x3d8)][_0x46d55f(0x2cc)]([_0x53af1e],[this['_awaitingChangeset']],!0x1);if(_0x3dbcae(_0xc820b8)){const {c1Prime:_0x5d3a8a,c2Prime:_0x28608b}=_0xc820b8;this['_executeRemoteChangeset'](_0x5d3a8a[0x0]),_0x28608b[0x0][_0x46d55f(0x1e3)]=this[_0x46d55f(0x357)](),this['_clearScheduledTask']();const _0x472e20=this[_0x46d55f(0x269)][_0x46d55f(0x25a)](Te,this[_0x46d55f(0xdb)],this[_0x46d55f(0x196)],_0x28608b[0x0],this[_0x46d55f(0x3aa)]);return _0x472e20['_updateLocalCache'](),_0x472e20;}return this[_0x46d55f(0x145)](!0x1);}catch(_0x14eeeb){return this[_0x46d55f(0x204)]['error'](_0x14eeeb),this[_0x46d55f(0x145)](!0x1);}}[_0xefeb96(0x38d)](_0x3d94b6){const _0x55166a=_0xefeb96;this[_0x55166a(0x491)]();const _0x5ba317=this[_0x55166a(0x1d7)]['getCurrentRevOfUnit'](this[_0x55166a(0xdb)]);if(_0x3d94b6[_0x55166a(0x248)]<_0x5ba317-0x1)return this;if(this[_0x55166a(0x3d2)](_0x3d94b6))return this[_0x55166a(0x269)]['createInstance'](he,this[_0x55166a(0xdb)],this['type'],null,[],this[_0x55166a(0x45e)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x5bc73d=this[_0x55166a(0x269)][_0x55166a(0x25a)](Fe,this[_0x55166a(0xdb)],this[_0x55166a(0x196)],this[_0x55166a(0x3aa)]);return _0x5bc73d[_0x55166a(0x1cf)](),_0x5bc73d;}[_0xefeb96(0x36f)](_0x5d9b5e){const _0x4b471d=_0xefeb96;return this[_0x4b471d(0x145)](!!(_0x5d9b5e!=null&&_0x5d9b5e[_0x4b471d(0x102)]));}['onRemoteRetry'](_0x4ea1c6){const _0x192e40=_0xefeb96;return this[_0x192e40(0x2d4)]>Ni?this[_0x192e40(0x425)]():(this[_0x192e40(0x35d)]=Ui(this['_resendTimeout'],{'timeout':this[_0x192e40(0x2d4)],'reqId':_0x4ea1c6['reqId']}),this['_sender']=this[_0x192e40(0x35d)][_0x192e40(0x2e2)](({reqId:_0x345f99,timeout:_0x2fcc47})=>{const _0x1d962b=_0x192e40;this[_0x1d962b(0x2f4)](_0x345f99,_0x2fcc47);}),this);}[_0xefeb96(0x425)](){const _0x38367d=_0xefeb96;return this[_0x38367d(0x491)](),this['_injector'][_0x38367d(0x25a)](ye,this[_0x38367d(0xdb)],this[_0x38367d(0x196)],this[_0x38367d(0x45e)],[],this[_0x38367d(0x3aa)]);}[_0xefeb96(0x488)](){return this;}[_0xefeb96(0x1bd)](){this['_handler']['onSendChangeset'](this['_awaitingChangeset']);}['_onConflict'](_0x5979c7){const _0x23e578=_0xefeb96;return this['_clearScheduledTask'](),this[_0x23e578(0x269)][_0x23e578(0x25a)](Re,this['unitID'],this['type'],this['_awaitingChangeset'],[],this['_handler'],_0x5979c7);}[_0xefeb96(0x2f4)](_0x42fc02,_0x41060a){const _0x5ded7f=_0xefeb96;var _0x18ade5;_0x42fc02===((_0x18ade5=this[_0x5ded7f(0x45e)])==null?void 0x0:_0x18ade5['reqId'])&&(this['resend'](),this[_0x5ded7f(0x2d4)]=_0x41060a===0x0?0x3e8:_0x41060a*0x2);}[_0xefeb96(0x491)](){const _0x4b8777=_0xefeb96;var _0x2d6e41;(_0x2d6e41=this[_0x4b8777(0x44e)])==null||_0x2d6e41[_0x4b8777(0x1df)](),this['_resendTimeout']=0x0;}};Te=Le([A(0x4,_0x3099f4(_0x3676c8)),A(0x5,_0x3099f4(_0xa44bce)),A(0x6,_0x3099f4(q)),A(0x7,_0x45feb8),A(0x8,_0x40d13a),A(0x9,_0x5c28bd),A(0xa,_0x277be1)],Te);let ge=class extends $e{constructor(_0x5dba00,_0x59f0c7,_0x41830a,_0xfa5791,_0x35fb2b,_0x42445d,_0x2f6d2e,_0xf0cb5d,_0x476372,_0x19f42d,_0x34344d,_0x4824ac,_0x3fc16b){const _0x11fccf=_0xefeb96;super(_0x5dba00,_0x59f0c7,_0x41830a,_0xfa5791,_0x35fb2b,_0x19f42d,_0x3fc16b,_0xf0cb5d,_0x476372),g(this,_0x11fccf(0x21d),_0x11fccf(0x3ec)),g(this,'_resendTimeout',0x0),g(this,_0x11fccf(0x35d)),g(this,_0x11fccf(0x44e)),(this['_injector']=_0x2f6d2e,this['_logService']=_0x34344d,this[_0x11fccf(0x3d8)]=_0x4824ac,_0x42445d&&(this[_0x11fccf(0x35d)]=_0x42445d,this['_sender']=this[_0x11fccf(0x35d)][_0x11fccf(0x2e2)](({reqId:_0x42ec3f,timeout:_0x50e878})=>{const _0x438c46=_0x11fccf;this[_0x438c46(0x2f4)](_0x42ec3f,_0x50e878);})));}[_0xefeb96(0x253)](_0x51d5d6){const _0x5a8e8a=_0xefeb96;return this[_0x5a8e8a(0x26a)][_0x5a8e8a(0x477)](_0x51d5d6),this;}[_0xefeb96(0x38b)](_0x2e7da0){const _0x946ec1=_0xefeb96;if(this[_0x946ec1(0x3d2)](_0x2e7da0))return this['_clearScheduledTask'](),this['_injector'][_0x946ec1(0x25a)](he,this[_0x946ec1(0xdb)],this[_0x946ec1(0x196)],this['_awaitingChangeset'],this[_0x946ec1(0x26a)],null,[_0x2e7da0],this[_0x946ec1(0x3aa)]);try{const _0xd6d369=this[_0x946ec1(0x3d8)][_0x946ec1(0x2cc)]([_0x2e7da0],[this[_0x946ec1(0x45e)]],!0x1);if(_0x3dbcae(_0xd6d369)){const {c1Prime:_0x5c1208,c2Prime:_0x29a5c5}=_0xd6d369,_0x9f67b4=this[_0x946ec1(0x3d8)][_0x946ec1(0x40e)](_0x5c1208[0x0],this[_0x946ec1(0x26a)]);if(_0xd4a330(_0x9f67b4)){const {c1Prime:_0x32b3de,m2Prime:_0x36dd6d}=_0x9f67b4;return this[_0x946ec1(0x2fe)](_0x32b3de),_0x29a5c5[0x0][_0x946ec1(0x1e3)]=this[_0x946ec1(0x357)](),this[_0x946ec1(0x491)](),this['_injector']['createInstance'](ge,this[_0x946ec1(0xdb)],this[_0x946ec1(0x196)],_0x29a5c5[0x0],_0x36dd6d,this[_0x946ec1(0x3aa)],void 0x0);}throw _0x9f67b4[_0x946ec1(0x18c)];}throw _0xd6d369['error'];}catch(_0x43e597){return this[_0x946ec1(0x204)][_0x946ec1(0x18c)](_0x43e597),this[_0x946ec1(0x145)](!0x1);}}[_0xefeb96(0x38d)](_0x36c682){const _0x4ce0dc=_0xefeb96;if(this['_clearScheduledTask'](),this[_0x4ce0dc(0x3d2)](_0x36c682))return this['_injector'][_0x4ce0dc(0x25a)](he,this['unitID'],this[_0x4ce0dc(0x196)],null,this[_0x4ce0dc(0x26a)],this[_0x4ce0dc(0x45e)],[],this['_handler']);this[_0x4ce0dc(0x224)]();const _0x4f7be2=this[_0x4ce0dc(0x269)][_0x4ce0dc(0x25a)](pe,this['unitID'],this[_0x4ce0dc(0x196)],this[_0x4ce0dc(0x26a)],this[_0x4ce0dc(0x3aa)]);return _0x4f7be2['_schedule'](),_0x4f7be2[_0x4ce0dc(0x1cf)](),_0x4f7be2;}[_0xefeb96(0x36f)](_0x13ee36){const _0x301f91=_0xefeb96;return this[_0x301f91(0x145)](!!(_0x13ee36!=null&&_0x13ee36[_0x301f91(0x102)]));}['onRemoteRetry'](_0x11b983){const _0x18510d=_0xefeb96;return this[_0x18510d(0x2d4)]>Ni?this[_0x18510d(0x425)]():(this[_0x18510d(0x35d)]=Ui(this[_0x18510d(0x2d4)],{'timeout':this['_resendTimeout'],'reqId':_0x11b983[_0x18510d(0xe2)]}),this[_0x18510d(0x44e)]=this[_0x18510d(0x35d)]['subscribe'](({reqId:_0x2a6418,timeout:_0x32a6c7})=>{this['_resendWithTimeout'](_0x2a6418,_0x32a6c7);}),this);}[_0xefeb96(0x425)](){const _0x39e1d0=_0xefeb96;return this['_clearScheduledTask'](),this[_0x39e1d0(0x269)][_0x39e1d0(0x25a)](ye,this[_0x39e1d0(0xdb)],this[_0x39e1d0(0x196)],this[_0x39e1d0(0x45e)],this[_0x39e1d0(0x26a)],this[_0x39e1d0(0x3aa)]);}[_0xefeb96(0x488)](){return this;}[_0xefeb96(0x1bd)](){const _0xafd462=_0xefeb96;this[_0xafd462(0x3aa)][_0xafd462(0x1fb)](this['_awaitingChangeset']);}[_0xefeb96(0x145)](_0x34b95f){const _0x1678d9=_0xefeb96;return this[_0x1678d9(0x491)](),this[_0x1678d9(0x269)]['createInstance'](Re,this[_0x1678d9(0xdb)],this['type'],null,this['_pendingMutations'],this['_handler'],_0x34b95f);}[_0xefeb96(0x2f4)](_0x3b113a,_0x6ce2b2){const _0x21e723=_0xefeb96;var _0x15176a;_0x3b113a===((_0x15176a=this['_awaitingChangeset'])==null?void 0x0:_0x15176a[_0x21e723(0xe2)])&&(this[_0x21e723(0x1bd)](),this[_0x21e723(0x2d4)]=_0x6ce2b2===0x0?0x3e8:_0x6ce2b2*0x2);}[_0xefeb96(0x491)](){const _0x490acd=_0xefeb96;var _0x2e5cf6;(_0x2e5cf6=this[_0x490acd(0x44e)])==null||_0x2e5cf6[_0x490acd(0x1df)](),this['_resendTimeout']=0x0;}};ge=Le([A(0x6,_0x3099f4(_0x3676c8)),A(0x7,_0x3099f4(_0xa44bce)),A(0x8,_0x3099f4(q)),A(0x9,_0x45feb8),A(0xa,_0x40d13a),A(0xb,_0x5c28bd),A(0xc,_0x277be1)],ge);let Re=class extends $e{constructor(_0x4f0ac6,_0x129d35,_0x36804c,_0x544a7a,_0x357ec2,_0x2144d0=!0x1,_0x332835,_0x3dbe47,_0x2a4be4,_0x5484a3,_0x852fc6,_0x583a6b,_0x2a8764){const _0x1efa4b=_0xefeb96;super(_0x4f0ac6,_0x129d35,_0x36804c,_0x544a7a,_0x357ec2,_0x3dbe47,_0x2a4be4,_0x852fc6,_0x5484a3),g(this,_0x1efa4b(0x21d),_0x1efa4b(0x417)),(this[_0x1efa4b(0xf7)]=_0x2144d0,this[_0x1efa4b(0x2fd)]=_0x332835,this['_localeService']=_0x583a6b,this[_0x1efa4b(0x4bb)]=_0x2a8764,this[_0x1efa4b(0x1d8)](),this[_0x1efa4b(0x467)](),this[_0x1efa4b(0x147)]());}['appendMutation'](){return this;}[_0xefeb96(0x38b)](){return this;}['onRemoteAck'](){return this;}[_0xefeb96(0x36f)](){return this;}[_0xefeb96(0x45d)](){return this;}[_0xefeb96(0x425)](){return this;}['toggleOnline'](){return this;}['resend'](){const _0x253726=_0xefeb96;throw new Error(_0x253726(0x317));}[_0xefeb96(0x467)](){const _0x2a47e2=_0xefeb96;this[_0x2a47e2(0x236)]['updateOfflineData'](this[_0x2a47e2(0xdb)],this[_0x2a47e2(0x196)],null,[]);}[_0xefeb96(0x1d8)](){const _0x219303=_0xefeb96;this[_0x219303(0xf7)]?this['_notificationService'][_0x219303(0x170)]({'title':this[_0x219303(0x312)]['t'](_0x219303(0x3ad)),'content':this['_localeService']['t']('permission.content'),'type':_0x219303(0x18c),'duration':0x0}):this[_0x219303(0x4bb)]['show']({'title':this[_0x219303(0x312)]['t'](_0x219303(0x12a)),'content':this[_0x219303(0x312)]['t'](_0x219303(0x23a)),'type':_0x219303(0x18c),'duration':0x0});}[_0xefeb96(0x147)](){const _0x1d0dcd=_0xefeb96;this[_0x1d0dcd(0x2fd)]['updatePermissionPoint'](new _0x3b5145(this[_0x1d0dcd(0xdb)])['id'],!0x1);}};Re=Le([A(0x6,_0x3099f4(_0x2d8777)),A(0x7,_0x45feb8),A(0x8,_0x277be1),A(0x9,_0x3099f4(q)),A(0xa,_0x3099f4(_0xa44bce)),A(0xb,_0x3099f4(_0x6eefec)),A(0xc,_0x2c0f6e)],Re);let ye=class extends $e{constructor(_0xe1deb,_0x4c847d,_0x4db180,_0x2b25c0,_0x2e67c4,_0x43851c,_0x3073ca,_0x164976,_0x4e2e7f,_0x47505a){const _0x13054f=_0xefeb96;super(_0xe1deb,_0x4c847d,_0x4db180,_0x2b25c0,_0x2e67c4,_0x4e2e7f,_0x47505a,_0x3073ca,_0x164976),g(this,_0x13054f(0x21d),_0x13054f(0x4ad)),this['_injector']=_0x43851c;}[_0xefeb96(0x253)](_0x21e8b1){const _0x6ebbf4=_0xefeb96;return this[_0x6ebbf4(0x26a)][_0x6ebbf4(0x477)](_0x21e8b1),this[_0x6ebbf4(0x1cf)](),this;}['onRemoteChangeset'](_0x3c2025){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){const _0x5f524c=_0xefeb96;throw new Error(_0x5f524c(0x150));}[_0xefeb96(0x36f)](){const _0x56039f=_0xefeb96;throw new Error(_0x56039f(0x10c));}['onRemoteRetry'](){return this;}[_0xefeb96(0x425)](){return this;}[_0xefeb96(0x488)](){const _0x5d21dc=_0xefeb96,{_injector:_0x52ad5d,_pendingMutations:_0x4ff73a,_awaitingChangeset:_0x388020,unitID:_0x957447,_handler:_0x40a1b5,type:_0x45eb93}=this,_0x3a9853=Ai(_0x52ad5d,_0x957447,_0x45eb93,_0x388020,_0x4ff73a,_0x40a1b5);return _0x3a9853 instanceof pe?_0x3a9853[_0x5d21dc(0x109)]():(_0x3a9853 instanceof ge||_0x3a9853 instanceof Te)&&_0x3a9853[_0x5d21dc(0x1bd)](),_0x3a9853;}[_0xefeb96(0x1bd)](){const _0x50b103=_0xefeb96;throw new Error(_0x50b103(0x230));}};ye=Le([A(0x5,_0x3099f4(_0x3676c8)),A(0x6,_0x3099f4(_0xa44bce)),A(0x7,_0x3099f4(q)),A(0x8,_0x45feb8),A(0x9,_0x277be1)],ye);let he=class extends $e{constructor(_0x4cd2d9,_0x1f4dde,_0x445610,_0x5e1cc1,_0x1c336e,_0x3c3d27,_0x16f8a1,_0x126647,_0x52a61d,_0x843228,_0x1d8ed2,_0x3a0a10,_0x27807f,_0x58d985){const _0x195ae5=_0xefeb96;super(_0x4cd2d9,_0x1f4dde,_0x445610,_0x5e1cc1,_0x16f8a1,_0x3a0a10,_0x27807f,_0x52a61d,_0x843228),g(this,'status',_0x195ae5(0x3b2)),(this[_0x195ae5(0x27c)]=_0x1c336e,this[_0x195ae5(0x31f)]=_0x3c3d27,this[_0x195ae5(0x269)]=_0x126647,this[_0x195ae5(0x204)]=_0x1d8ed2,this[_0x195ae5(0x3d8)]=_0x58d985);}['onMissedChangesetFetched'](_0x205a1){const _0x1ee3ef=_0xefeb96;try{const _0x44cd76=[..._0x205a1,...this[_0x1ee3ef(0x31f)]],_0x4061a7=[this[_0x1ee3ef(0x45e)]||this[_0x1ee3ef(0x27c)]][_0x1ee3ef(0x335)](_0x197d4a=>!!_0x197d4a);let _0x5b50c8,_0x3780ac;if(_0x4061a7[_0x1ee3ef(0x46c)]){const _0x33ff1e=this[_0x1ee3ef(0x3d8)]['transformChangesets'](_0x44cd76,_0x4061a7,!0x1);if(!_0x3dbcae(_0x33ff1e))throw _0x33ff1e['error'];_0x5b50c8=_0x33ff1e[_0x1ee3ef(0x2db)],_0x3780ac=_0x33ff1e['c2Prime'];}else _0x5b50c8=_0x44cd76,_0x3780ac=[];let _0x3aea29=this[_0x1ee3ef(0x26a)];_0x5b50c8[_0x1ee3ef(0x267)](_0x13d709=>{const _0x325e0d=_0x1ee3ef;let _0x46c94a;if(_0x3aea29['length']){const _0x28a0d7=this[_0x325e0d(0x3d8)][_0x325e0d(0x40e)](_0x13d709,_0x3aea29);if(!_0xd4a330(_0x28a0d7))throw _0x28a0d7[_0x325e0d(0x18c)];_0x46c94a=_0x28a0d7['c1Prime'],_0x3aea29=_0x28a0d7['m2Prime'];}else _0x46c94a=_0x13d709;this['_executeRemoteChangeset'](_0x46c94a);}),this['_acknowledgedAwaitingChangeset']&&this[_0x1ee3ef(0x224)](),this[_0x1ee3ef(0x45e)]&&_0x3780ac[_0x1ee3ef(0x46c)]&&(_0x3780ac[0x0][_0x1ee3ef(0x1e3)]=this[_0x1ee3ef(0x357)]());let _0x427aad;if(this[_0x1ee3ef(0x45e)]&&_0x3aea29[_0x1ee3ef(0x46c)]!==0x0)_0x427aad=this[_0x1ee3ef(0x269)][_0x1ee3ef(0x25a)](ge,this[_0x1ee3ef(0xdb)],this[_0x1ee3ef(0x196)],_0x3780ac[0x0],_0x3aea29,this[_0x1ee3ef(0x3aa)],void 0x0);else{if(this[_0x1ee3ef(0x45e)]&&_0x3aea29['length']===0x0)_0x3780ac[0x0][_0x1ee3ef(0x1e3)]=this[_0x1ee3ef(0x357)](),_0x427aad=this[_0x1ee3ef(0x269)][_0x1ee3ef(0x25a)](Te,this[_0x1ee3ef(0xdb)],this[_0x1ee3ef(0x196)],_0x3780ac[0x0],this[_0x1ee3ef(0x3aa)]);else{if(_0x3aea29[_0x1ee3ef(0x46c)]!==0x0){const _0x519d8a=this[_0x1ee3ef(0x269)][_0x1ee3ef(0x25a)](pe,this[_0x1ee3ef(0xdb)],this[_0x1ee3ef(0x196)],_0x3aea29,this['_handler']);_0x519d8a[_0x1ee3ef(0x109)](),_0x427aad=_0x519d8a;}else _0x427aad=this['_injector']['createInstance'](Fe,this[_0x1ee3ef(0xdb)],this[_0x1ee3ef(0x196)],this[_0x1ee3ef(0x3aa)]);}}return _0x427aad[_0x1ee3ef(0x1cf)](),_0x427aad;}catch(_0x449563){return this[_0x1ee3ef(0x204)][_0x1ee3ef(0x18c)](_0x1ee3ef(0x161),'failed\x20to\x20apply\x20missed\x20changesets!',_0x449563),this['_injector'][_0x1ee3ef(0x25a)](Re,this['unitID'],this['type'],this['_awaitingChangeset'],this[_0x1ee3ef(0x26a)],this[_0x1ee3ef(0x3aa)],!0x1);}}[_0xefeb96(0x1bd)](){const _0xbe0f76=_0xefeb96;throw new Error(_0xbe0f76(0x260));}['appendMutation'](_0x2f7ab3){return this['_pendingMutations']['push'](_0x2f7ab3),this;}['onRemoteChangeset'](_0x4c214c){const _0x4fb73b=_0xefeb96;return this[_0x4fb73b(0x31f)][_0x4fb73b(0x477)](_0x4c214c),this;}['onRemoteAck'](_0x5b4c38){const _0x5c36ee=_0xefeb96;if(this[_0x5c36ee(0x45e)])return this[_0x5c36ee(0x27c)]=this[_0x5c36ee(0x45e)],this[_0x5c36ee(0x45e)]=null,this;throw new Error(_0x5c36ee(0x1e0));}[_0xefeb96(0x36f)](_0x7f6343){const _0x1e306e=_0xefeb96;return this[_0x1e306e(0x145)](!!(_0x7f6343!=null&&_0x7f6343['isPermissionRej']));}[_0xefeb96(0x45d)](){return this;}['toggleOffline'](){const _0x33edaf=_0xefeb96;return this[_0x33edaf(0x269)]['createInstance'](ye,this['unitID'],this[_0x33edaf(0x196)],this[_0x33edaf(0x45e)],this[_0x33edaf(0x26a)],this['_handler']);}[_0xefeb96(0x488)](){return this;}[_0xefeb96(0x145)](_0x290498){const _0x5daa28=_0xefeb96;return this[_0x5daa28(0x269)]['createInstance'](Re,this[_0x5daa28(0xdb)],this[_0x5daa28(0x196)],this[_0x5daa28(0x45e)],this['_pendingMutations'],this['_handler'],_0x290498);}};he=Le([A(0x7,_0x3099f4(_0x3676c8)),A(0x8,_0x3099f4(_0xa44bce)),A(0x9,_0x3099f4(q)),A(0xa,_0x40d13a),A(0xb,_0x45feb8),A(0xc,_0x277be1),A(0xd,_0x5c28bd)],he);function Ai(_0x1252e4,_0x2b260b,_0x3b3937,_0x839db9,_0x2586ce,_0x2f1fa6){const _0x2c099d=_0xefeb96;return _0x839db9&&_0x2586ce[_0x2c099d(0x46c)]?_0x1252e4[_0x2c099d(0x25a)](ge,_0x2b260b,_0x3b3937,_0x839db9,_0x2586ce,_0x2f1fa6,void 0x0):_0x839db9?_0x1252e4[_0x2c099d(0x25a)](Te,_0x2b260b,_0x3b3937,_0x839db9,_0x2f1fa6):_0x2586ce[_0x2c099d(0x46c)]?_0x1252e4[_0x2c099d(0x25a)](pe,_0x2b260b,_0x3b3937,_0x2586ce,_0x2f1fa6):_0x1252e4['createInstance'](Fe,_0x2b260b,_0x3b3937,_0x2f1fa6);}var mo=Object[_0xefeb96(0x466)],po=Object[_0xefeb96(0x336)],Es=(_0x1307d0,_0x5b928a,_0x1930f8,_0x501afc)=>{const _0x42006d=_0xefeb96;for(var _0x24525c=_0x501afc>0x1?void 0x0:_0x501afc?po(_0x5b928a,_0x1930f8):_0x5b928a,_0x4a2abf=_0x1307d0[_0x42006d(0x46c)]-0x1,_0x52df9c;_0x4a2abf>=0x0;_0x4a2abf--)(_0x52df9c=_0x1307d0[_0x4a2abf])&&(_0x24525c=(_0x501afc?_0x52df9c(_0x5b928a,_0x1930f8,_0x24525c):_0x52df9c(_0x24525c))||_0x24525c);return _0x501afc&&_0x24525c&&mo(_0x5b928a,_0x1930f8,_0x24525c),_0x24525c;},H=(_0x2d9275,_0x5da617)=>(_0x41ebfe,_0x1d7762)=>_0x5da617(_0x41ebfe,_0x1d7762,_0x2d9275);let St=class extends _0x2f42db{constructor(_0x38eb11,_0x4d9b37,_0x252163,_0x5f032b,_0x26349b,_0x1ddce6,_0x15b7b9,_0x4926d5,_0x3adb72,_0x38cec2,_0x26ba2b,_0x2e1b41,_0x58c60e){const _0x339b37=_0xefeb96;super(),g(this,_0x339b37(0x49d),new _0x1d1c4b(null)),g(this,'state$',this['_state$'][_0x339b37(0x3ce)]()),g(this,_0x339b37(0x17c)),g(this,_0x339b37(0x464),!0x1),g(this,_0x339b37(0x21e),''),g(this,_0x339b37(0x36e),0x0),g(this,'status$',this[_0x339b37(0x19f)]['pipe'](_0x4376f4(_0x4dcb63=>_0x4dcb63?_0x4dcb63[_0x339b37(0x21d)]:J[_0x339b37(0x484)]),_0x2881f3(0x1))),g(this,_0x339b37(0x369),!0x1),g(this,_0x339b37(0x432),[]),(this[_0x339b37(0xdb)]=_0x38eb11,this[_0x339b37(0x2c1)]=_0x4d9b37,this[_0x339b37(0x34f)]=_0x252163,this[_0x339b37(0x269)]=_0x5f032b,this['_localCacheService']=_0x26349b,this[_0x339b37(0x118)]=_0x1ddce6,this['_localeService']=_0x15b7b9,this[_0x339b37(0x1d7)]=_0x4926d5,this[_0x339b37(0x204)]=_0x3adb72,this[_0x339b37(0x29f)]=_0x38cec2,this[_0x339b37(0x1a8)]=_0x26ba2b,this['_permissionService']=_0x2e1b41,this[_0x339b37(0x29e)]=_0x58c60e);}get['state'](){return this['_state'];}async['init'](){const _0x2f7091=_0xefeb96;if(this[_0x2f7091(0x1da)])throw new Error(_0x2f7091(0x10e));await this[_0x2f7091(0x411)]();}['pauseCollaboration'](){const _0x3d881b=_0xefeb96;return this[_0x3d881b(0x464)]=!0x0,_0x26357a(()=>{const _0x464a47=_0x3d881b;this[_0x464a47(0x464)]=!0x1,this[_0x464a47(0x415)]();});}[_0xefeb96(0x151)](_0xb421b0){const _0x149382=_0xefeb96;this[_0x149382(0x17c)]=_0xb421b0,this[_0x149382(0x49d)]['next'](_0xb421b0);}async[_0xefeb96(0x411)](){const _0x38e030=_0xefeb96;var _0x533cb8;this['_updateState'](await this[_0x38e030(0x1e8)]()),this[_0x38e030(0x29e)]&&((_0x533cb8=this[_0x38e030(0x29e)])==null||_0x533cb8[_0x38e030(0x405)](this['unitID']),this[_0x38e030(0x2bb)](this[_0x38e030(0x29e)]['getUnitStatus$'](this[_0x38e030(0xdb)])[_0x38e030(0x2e2)](_0x415f12=>{const _0x4d469b=_0x38e030;this[_0x4d469b(0x204)]['debug']('[CollaborationEntity]',_0x4d469b(0xe9),_0x415f12),_0x415f12===Di[_0x4d469b(0x258)]?(this[_0x4d469b(0x1a8)][_0x4d469b(0x170)]({'content':this[_0x4d469b(0x312)]['t'](_0x4d469b(0x3a1)),'type':_0x336366[_0x4d469b(0x2ee)]}),this[_0x4d469b(0x2fd)][_0x4d469b(0x131)](new _0x3b5145(this[_0x4d469b(0xdb)])['id'],!0x1),this[_0x4d469b(0x2fd)][_0x4d469b(0x1d5)](!0x1)):(this[_0x4d469b(0x2fd)]['updatePermissionPoint'](new _0x3b5145(this[_0x4d469b(0xdb)])['id'],!0x0),this[_0x4d469b(0x2fd)][_0x4d469b(0x1d5)](!0x0));})));let _0x2a5c01=!0x1;return this[_0x38e030(0x2bb)](this[_0x38e030(0x2c1)][_0x38e030(0x372)][_0x38e030(0x2e2)](_0x53ca17=>{const _0xd5e14c=_0x38e030;_0x53ca17===ve[_0xd5e14c(0xeb)]?this[_0xd5e14c(0x4c8)](_0x2a5c01):_0x53ca17===ve['OFFLINE']&&(_0x2a5c01=!0x0,this[_0xd5e14c(0x200)]());})),this[_0x38e030(0x2bb)](this[_0x38e030(0x2c1)][_0x38e030(0x2c3)]['subscribe'](_0x1a2835=>{const _0x4ca844=_0x38e030;try{switch(_0x1a2835[_0x4ca844(0x2d6)]){case _0x3b2ff1['NEW_CHANGESETS']:{this['_onRemoteChangeset'](_0x57931f(_0x1a2835[_0x4ca844(0x1f4)]));break;}case _0x3b2ff1[_0x4ca844(0x378)]:{this[_0x4ca844(0x2c8)](_0x1a2835['data']);break;}case _0x3b2ff1['CHANGESET_REJ']:{this[_0x4ca844(0x21c)]();break;}case _0x3b2ff1[_0x4ca844(0x23e)]:{this['_onRemoteRetry'](_0x1a2835[_0x4ca844(0x1f4)]);break;}case _0x3b2ff1[_0x4ca844(0x16d)]:{this['_onFetchMissResult'](_0x1a2835['data'][_0x4ca844(0x2f6)][_0x4ca844(0x113)](_0xdd381b=>_0x57931f(_0xdd381b)));break;}case _0x3b2ff1[_0x4ca844(0xd7)]:this[_0x4ca844(0x21c)]({'isPermissionRej':!0x0});}}catch(_0x1bf054){throw console[_0x4ca844(0x18c)]('Error\x20on\x20receiving\x20event',_0x1bf054),_0x1bf054;}})),this[_0x38e030(0x17c)];}[_0xefeb96(0x17a)](){const _0x6928e9=_0xefeb96;this[_0x6928e9(0x369)]=!0x1;}[_0xefeb96(0x30f)](){const _0x4902cd=_0xefeb96;if(this[_0x4902cd(0x369)])throw new Error(_0x4902cd(0x183));this[_0x4902cd(0x369)]=!0x0;}[_0xefeb96(0x3de)](_0x599150){const _0x4bd037=_0xefeb96;this[_0x4bd037(0x30f)](),this['_updateState'](this['_state'][_0x4bd037(0x253)](_0x599150)),this[_0x4bd037(0x17a)]();}[_0xefeb96(0x2d2)](_0xd74ed4){const _0x5464ec=_0xefeb96;if(!(_0xd74ed4[_0x5464ec(0x248)]<=this[_0x5464ec(0x1d7)][_0x5464ec(0x2ac)](this[_0x5464ec(0xdb)]))){if(this['_collaborationPaused']){this[_0x5464ec(0x432)][_0x5464ec(0x477)](_0xd74ed4);return;}this['_applyRemoteChangeset'](_0xd74ed4);}}[_0xefeb96(0x415)](){const _0x3eb3bb=_0xefeb96;this[_0x3eb3bb(0x432)][_0x3eb3bb(0x267)](_0x5c022e=>this['_applyRemoteChangeset'](_0x5c022e)),this[_0x3eb3bb(0x432)]=[];}[_0xefeb96(0x39e)](_0x50f085){const _0x56ddc1=_0xefeb96,_0x493e47=this['_compressMutationService'][_0x56ddc1(0x472)][_0x56ddc1(0x197)](this[_0x56ddc1(0x118)][_0x56ddc1(0x472)][_0x56ddc1(0x1ca)]()['COMPRESS_MUTATION_APPLY'])(_0x50f085[_0x56ddc1(0x3a8)],null)||_0x50f085[_0x56ddc1(0x3a8)],_0x368195={..._0x50f085,'mutations':_0x493e47};this[_0x56ddc1(0x30f)](),this['_updateState'](this[_0x56ddc1(0x17c)][_0x56ddc1(0x38b)](_0x368195)),this['_unlockTransition']();}[_0xefeb96(0x2c8)](_0x6e6e91){const _0x35320=_0xefeb96;this[_0x35320(0x30f)](),this[_0x35320(0x151)](this['_state']['onRemoteAck'](_0x6e6e91)),this[_0x35320(0x17a)]();}[_0xefeb96(0x21c)](_0x167914){const _0x5cbc36=_0xefeb96;this[_0x5cbc36(0x30f)](),this[_0x5cbc36(0x151)](this[_0x5cbc36(0x17c)][_0x5cbc36(0x36f)](_0x167914)),this['_unlockTransition']();}[_0xefeb96(0x180)](_0x456086){const _0x400736=_0xefeb96;this[_0x400736(0x30f)](),this[_0x400736(0x151)](this['_state'][_0x400736(0x45d)](_0x456086)),this[_0x400736(0x17a)]();}[_0xefeb96(0x1b6)](_0x30a323){const _0x22942c=_0xefeb96;if(!(this[_0x22942c(0x17c)]instanceof he))throw new TypeError(_0x22942c(0x3c1));const _0x13d60e=_0x30a323['map'](_0x59f7c4=>{const _0x5c51e6=_0x22942c,_0xe2df98=this[_0x5c51e6(0x118)]['interceptor'][_0x5c51e6(0x197)](this[_0x5c51e6(0x118)][_0x5c51e6(0x472)][_0x5c51e6(0x1ca)]()[_0x5c51e6(0x209)])(_0x59f7c4[_0x5c51e6(0x3a8)],null)||_0x59f7c4[_0x5c51e6(0x3a8)];return{..._0x59f7c4,'mutations':_0xe2df98};});this[_0x22942c(0x30f)](),this['_updateState'](this[_0x22942c(0x17c)][_0x22942c(0x129)](_0x13d60e)),this[_0x22942c(0x17a)]();}[_0xefeb96(0x200)](){const _0x1bc5cd=_0xefeb96;this[_0x1bc5cd(0x30f)](),this[_0x1bc5cd(0x151)](this[_0x1bc5cd(0x17c)]['toggleOffline']()),this[_0x1bc5cd(0x17a)]();}[_0xefeb96(0x4c8)](_0x79af1b=!0x1){const _0x4242f6=_0xefeb96;this['_lockTransition'](),this[_0x4242f6(0x151)](this[_0x4242f6(0x17c)][_0x4242f6(0x488)]()),this[_0x4242f6(0x17a)]();const _0x1fee20=this[_0x4242f6(0x17c)];_0x79af1b&&_0x1fee20 instanceof Fe&&(this[_0x4242f6(0x30f)](),this[_0x4242f6(0x151)](_0x1fee20[_0x4242f6(0x319)]()),this['_unlockTransition']());}async['_createInitialState'](){return new Promise(_0x3c0b0f=>{const _0x1b4542=_0x4451;this[_0x1b4542(0x2c1)][_0x1b4542(0x372)][_0x1b4542(0x272)](_0x4a1f3b(0x1))[_0x1b4542(0x2e2)](async _0x3d0cd2=>{const _0x20220f=_0x1b4542;_0x3c0b0f(await this['_createInitialStateImpl'](_0x3d0cd2===ve[_0x20220f(0xeb)]));});});}[_0xefeb96(0x23c)](){const _0x1cb65d=this['unitID'];return{'onStateChange':(_0x451cab,_0x64b447)=>{const _0x335f7a=_0x4451;if(_0x451cab!==this['_state'])throw new Error(_0x335f7a(0x16b)+_0x451cab[_0x335f7a(0x21d)]+'\x0aAfter:\x20'+_0x64b447['status']+'\x0aCurrent:\x20'+this[_0x335f7a(0x17c)][_0x335f7a(0x21d)]);this[_0x335f7a(0x151)](_0x64b447);},'onSendChangeset':_0x3c16df=>{const _0x3e8744=_0x4451;_0x3c16df['sid']||(_0x3c16df['sid']=this[_0x3e8744(0x21e)],_0x3c16df[_0x3e8744(0xe2)]=++this[_0x3e8744(0x36e)]);const _0xfb028e={'eventID':_0x3b2ff1[_0x3e8744(0x152)],'data':{'unitID':_0x3c16df[_0x3e8744(0xdb)],'unitType':this[_0x3e8744(0x34f)],'changeset':_0x3c16df,'memberID':this[_0x3e8744(0x2c1)][_0x3e8744(0x136)]()}};this[_0x3e8744(0x2c1)][_0x3e8744(0x40d)](_0xfb028e,this[_0x3e8744(0xdb)]);},'onMissingChangesets':({from:_0x4e699b,to:_0x379f23})=>{const _0x187057=_0x4451;this[_0x187057(0x204)][_0x187057(0x2a5)](_0x187057(0x377),'fetching\x20missing\x20changesets\x20from\x20'+_0x4e699b+'\x20to\x20'+_0x379f23);const _0x35155a={'eventID':_0x3b2ff1[_0x187057(0x499)],'data':{'unitID':_0x1cb65d,'unitType':this[_0x187057(0x34f)],'from':_0x4e699b,'to':_0x379f23}};this['session'][_0x187057(0x40d)](_0x35155a,this[_0x187057(0xdb)]);}};}async[_0xefeb96(0x144)](_0x4a16cd){const _0x54e14e=_0xefeb96;var _0x49414a,_0x341461;const _0x552d49=await this[_0x54e14e(0x236)][_0x54e14e(0x33c)](this[_0x54e14e(0xdb)]),_0x526243=(_0x49414a=_0x552d49==null?void 0x0:_0x552d49[_0x54e14e(0x3a8)])!=null?_0x49414a:[],_0x13ad48=(_0x341461=_0x552d49==null?void 0x0:_0x552d49[_0x54e14e(0x448)])!=null?_0x341461:null,_0x1c058c=!!(_0x13ad48!=null&&_0x13ad48['sid'])&&!!(_0x13ad48!=null&&_0x13ad48['reqId']);this[_0x54e14e(0x21e)]=_0x1c058c?_0x13ad48[_0x54e14e(0x344)]:Gr(),this['_changesetReqId']=_0x1c058c?_0x13ad48['reqId']:0x0;const _0x2be461=this[_0x54e14e(0xdb)];try{this[_0x54e14e(0x219)](_0x13ad48,_0x526243);}catch(_0x239625){this['_logService'][_0x54e14e(0x18c)](_0x239625);}const _0x8059d7=this[_0x54e14e(0x23c)]();if(_0x4a16cd){const _0x3be3b7=Ai(this[_0x54e14e(0x269)],_0x2be461,this[_0x54e14e(0x34f)],_0x13ad48,_0x526243,_0x8059d7);return _0x3be3b7 instanceof pe?_0x3be3b7['_schedule']():(_0x3be3b7 instanceof ge||_0x3be3b7 instanceof Te)&&_0x3be3b7[_0x54e14e(0x1bd)](),_0x3be3b7;}return this['_injector'][_0x54e14e(0x25a)](ye,_0x2be461,this[_0x54e14e(0x34f)],_0x13ad48,_0x526243,_0x8059d7);}[_0xefeb96(0x219)](_0x83ac92,_0x50813c){const _0x2d65c4=_0xefeb96;var _0x37203e,_0x1e252c;const _0x1e0b0a=this['_compressMutationService'][_0x2d65c4(0x472)][_0x2d65c4(0x197)](this[_0x2d65c4(0x118)][_0x2d65c4(0x472)]['getInterceptPoints']()[_0x2d65c4(0x209)]);(_0x37203e=_0x1e0b0a((_0x83ac92==null?void 0x0:_0x83ac92[_0x2d65c4(0x3a8)])||[],null))==null||_0x37203e[_0x2d65c4(0x267)](_0x6a58f0=>this['_commandService'][_0x2d65c4(0x408)](_0x6a58f0['id'],_0x6a58f0[_0x2d65c4(0x304)])),(_0x1e252c=_0x1e0b0a(_0x50813c||[],null))==null||_0x1e252c[_0x2d65c4(0x267)](_0x13924d=>this['_commandService']['executeCommand'](_0x13924d['id'],_0x13924d['params']));}};St=Es([H(0x3,_0x3099f4(_0x3676c8)),H(0x4,_0x3099f4(q)),H(0x5,_0x3099f4(_0x23472d)),H(0x6,_0x3099f4(_0x6eefec)),H(0x7,_0x3099f4(_0xa44bce)),H(0x8,_0x40d13a),H(0x9,_0x45feb8),H(0xa,_0x3480f5),H(0xb,_0x2d8777),H(0xc,_0x118e7e(yt))],St);let ss=class extends St{constructor(_0xda0c64,_0x45e9b0,_0x5687b2,_0x901861,_0x3cb64e,_0x3517ec,_0x4f1129,_0xe446de,_0x112f39,_0x9178ef,_0x1f1c61,_0x554dfa,_0x2e74fd,_0x4f064a,_0x267f56,_0x107f07,_0x3f3996,_0x418c3e){const _0x3748c1=_0xefeb96;super(_0xda0c64,_0x5687b2,_0x45e9b0,_0x901861,_0x3cb64e,_0x3517ec,_0x4f1129,_0xe446de,_0x4f064a,_0x267f56,_0x107f07,_0x3f3996,_0x418c3e),this[_0x3748c1(0xdb)]=_0xda0c64,this[_0x3748c1(0x196)]=_0x45e9b0,this[_0x3748c1(0x1c0)]=_0x112f39,this[_0x3748c1(0x3e0)]=_0x9178ef,this['_docTransformStateCacheService']=_0x1f1c61,this['_docTransformSelectionsService']=_0x554dfa,this[_0x3748c1(0x286)]=_0x2e74fd;}[_0xefeb96(0x23c)](){const _0x14e226=_0xefeb96,_0x2f5db6=super[_0x14e226(0x23c)]();return _0x2f5db6[_0x14e226(0x141)]=_0x3eceec=>this[_0x14e226(0x3e0)]['transformIMECache'](_0x3eceec),_0x2f5db6[_0x14e226(0x40c)]=_0xe45d71=>this[_0x14e226(0x28a)][_0x14e226(0x1c8)](_0xe45d71),_0x2f5db6[_0x14e226(0x341)]=_0x4ee2a3=>this['_docTransformSelectionsService'][_0x14e226(0x1bf)](_0x4ee2a3),_0x2f5db6[_0x14e226(0x130)]=_0x3a20f1=>this[_0x14e226(0x286)]['syncEditingCollabCursor'](_0x3a20f1),_0x2f5db6[_0x14e226(0x321)]=_0x35968c=>this[_0x14e226(0x3e0)][_0x14e226(0x48f)](_0x35968c),_0x2f5db6[_0x14e226(0x376)]=_0x39c9d=>this[_0x14e226(0x28a)][_0x14e226(0x48f)](_0x39c9d),_0x2f5db6;}async[_0xefeb96(0x411)](){const _0x75ee04=_0xefeb96,_0x4a9ded=await super['_init']();return this[_0x75ee04(0x1c0)][_0x75ee04(0x125)][_0x75ee04(0x272)](_0x41a6cf(this[_0x75ee04(0x18b)]))[_0x75ee04(0x2e2)](_0x2dba80=>{const _0x477039=_0x75ee04;if(_0x2dba80==null)return;const {unitId:_0x2417e6,redoState:_0xf8b8fc,commandId:_0x2dcf53}=_0x2dba80;if(_0x2417e6!==this[_0x477039(0xdb)])return;const _0x2a7e74={'id':_0x2dcf53,'type':_0x3d2d65[_0x477039(0x250)],'params':{'unitId':_0x2417e6,'actions':_0xf8b8fc[_0x477039(0x255)],'textRanges':null}};this[_0x477039(0x3de)](_0x2a7e74);}),_0x4a9ded;}};ss=Es([H(0x3,_0x3099f4(_0x3676c8)),H(0x4,_0x3099f4(q)),H(0x5,_0x3099f4(_0x23472d)),H(0x6,_0x3099f4(_0x6eefec)),H(0x7,_0x3099f4(_0xa44bce)),H(0x8,_0x3099f4(_0x3afa8a)),H(0x9,_0x3099f4(vt)),H(0xa,_0x3099f4(pt)),H(0xb,_0x3099f4(gt)),H(0xc,_0x3099f4(Cs)),H(0xd,_0x40d13a),H(0xe,_0x45feb8),H(0xf,_0x3480f5),H(0x10,_0x2d8777),H(0x11,_0x118e7e(yt))],ss);let is=class extends St{constructor(_0x302008,_0x9928ad,_0x452b25,_0x3388f8,_0x4eeaff,_0x8d515c,_0x17520c,_0xfa9b6d,_0xcc3e95,_0x559d39,_0x2a74be,_0xd3f2be,_0x422b72,_0x342e6d){const _0x1aad62=_0xefeb96;super(_0x302008,_0x452b25,_0x9928ad,_0x3388f8,_0x4eeaff,_0x8d515c,_0x17520c,_0xfa9b6d,_0x559d39,_0x2a74be,_0xd3f2be,_0x422b72,_0x342e6d),this[_0x1aad62(0xdb)]=_0x302008,this['type']=_0x9928ad,this[_0x1aad62(0x192)]=_0xcc3e95;}[_0xefeb96(0x23c)](){const _0x5bc3c0=_0xefeb96,_0xe392fa=super['_createHandler']();return _0xe392fa['onTransformSelections']=_0x430aa7=>this[_0x5bc3c0(0x192)][_0x5bc3c0(0x1bf)](_0x430aa7),_0xe392fa;}async[_0xefeb96(0x411)](){const _0x58147c=_0xefeb96,_0x5458e7=await super['_init']();return this[_0x58147c(0x2bb)](this[_0x58147c(0x29f)][_0x58147c(0x396)]((_0x3fe67c,_0x393d53)=>{const _0x34eeba=_0x58147c;if(_0x3fe67c[_0x34eeba(0x196)]!==_0x3d2d65['MUTATION']||_0x393d53!=null&&_0x393d53[_0x34eeba(0x47e)]||_0x393d53!=null&&_0x393d53['onlyLocal'])return;const _0x5bd205=_0x3fe67c[_0x34eeba(0x304)];if((_0x5bd205==null?void 0x0:_0x5bd205[_0x34eeba(0x4b1)])!==this[_0x34eeba(0xdb)])return;const _0x5a44d3=_0x3fe67c,_0x3b9250=this[_0x34eeba(0x118)][_0x34eeba(0x472)][_0x34eeba(0x197)](this['_compressMutationService'][_0x34eeba(0x472)][_0x34eeba(0x1ca)]()[_0x34eeba(0x363)])([_0x5a44d3],null)||[_0x5a44d3];this[_0x34eeba(0x3de)](_0x3b9250[0x0]);})),_0x5458e7;}};is=Es([H(0x3,_0x3099f4(_0x3676c8)),H(0x4,_0x3099f4(q)),H(0x5,_0x3099f4(_0x23472d)),H(0x6,_0x3099f4(_0x6eefec)),H(0x7,_0x3099f4(_0xa44bce)),H(0x8,_0x3099f4(mt)),H(0x9,_0x40d13a),H(0xa,_0x45feb8),H(0xb,_0x3480f5),H(0xc,_0x2d8777),H(0xd,_0x118e7e(yt))],is);var go=Object[_0xefeb96(0x466)],So=Object['getOwnPropertyDescriptor'],Io=(_0x2ac8a0,_0x2fb01d,_0x4a5bea,_0x678d32)=>{const _0x1be2bd=_0xefeb96;for(var _0x3e1adc=_0x678d32>0x1?void 0x0:_0x678d32?So(_0x2fb01d,_0x4a5bea):_0x2fb01d,_0x209bcc=_0x2ac8a0[_0x1be2bd(0x46c)]-0x1,_0x5dde70;_0x209bcc>=0x0;_0x209bcc--)(_0x5dde70=_0x2ac8a0[_0x209bcc])&&(_0x3e1adc=(_0x678d32?_0x5dde70(_0x2fb01d,_0x4a5bea,_0x3e1adc):_0x5dde70(_0x3e1adc))||_0x3e1adc);return _0x678d32&&_0x3e1adc&&go(_0x2fb01d,_0x4a5bea,_0x3e1adc),_0x3e1adc;},Lt=(_0x41d163,_0x1f0803)=>(_0x138738,_0x6d09e9)=>_0x1f0803(_0x138738,_0x6d09e9,_0x41d163);let it=class extends _0x2f42db{constructor(_0x37b608,_0x59783c,_0x481b54){const _0x518409=_0xefeb96;super(),g(this,_0x518409(0x120),new Map()),g(this,_0x518409(0x301),new _0x17e316()),(this['_injector']=_0x37b608,this[_0x518409(0x47a)]=_0x59783c,this[_0x518409(0x214)]=_0x481b54,this['_init']());}[_0xefeb96(0x3b4)](){const _0x16db6b=_0xefeb96;super['dispose'](),this[_0x16db6b(0x120)][_0x16db6b(0x267)](_0x2945be=>_0x2945be[_0x16db6b(0x3b4)]()),this[_0x16db6b(0x120)][_0x16db6b(0x2e0)]();}['getCollabEntity'](_0x56e96e){const _0x30effe=_0xefeb96;var _0x320158;return(_0x320158=this[_0x30effe(0x120)][_0x30effe(0x271)](_0x56e96e))!=null?_0x320158:null;}['getCollabEntity$'](_0x555b1c){const _0x431296=_0xefeb96,_0x30b57c=this[_0x431296(0x334)](_0x555b1c);return _0x30b57c?_0x59a608(_0x30b57c):this[_0x431296(0x301)][_0x431296(0x272)](_0x353c46(_0x4f02f4=>_0x4f02f4[_0x431296(0xdb)]===_0x555b1c));}[_0xefeb96(0x411)](){const _0x2ebc07=_0xefeb96;this[_0x2ebc07(0x214)][_0x2ebc07(0x423)](_0x634e8e[_0x2ebc07(0x451)])[_0x2ebc07(0x272)](_0x41a6cf(this['dispose$']),_0x3f70c2(0x10))[_0x2ebc07(0x2e2)](async _0x533390=>{const _0x41addd=_0x2ebc07,_0x43beb7=_0x533390['getUnitId'](),_0x2b4c00=await this['_startCollaboration'](_0x43beb7,ce['UNIVER_SHEET']);this[_0x41addd(0x120)][_0x41addd(0xf2)](_0x43beb7,_0x2b4c00);}),this[_0x2ebc07(0x214)][_0x2ebc07(0x423)](_0x634e8e[_0x2ebc07(0x4b4)])[_0x2ebc07(0x272)](_0x41a6cf(this['dispose$']),_0x3f70c2(0x10))[_0x2ebc07(0x272)](_0x353c46(_0x37d179=>!_0x37d179['getUnitId']()[_0x2ebc07(0x2a9)]('__')))['subscribe'](async _0x1ce44a=>{const _0x52cc20=_0x2ebc07,_0x4eb6cb=_0x1ce44a[_0x52cc20(0xf6)](),_0x2f3859=await this[_0x52cc20(0x3cc)](_0x4eb6cb,ce[_0x52cc20(0x4b4)]);this['_entities']['set'](_0x4eb6cb,_0x2f3859);}),_0x1b8a05(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x634e8e[_0x2ebc07(0x451)]),this[_0x2ebc07(0x214)][_0x2ebc07(0x33d)](_0x634e8e['UNIVER_DOC']))[_0x2ebc07(0x272)](_0x41a6cf(this['dispose$']))[_0x2ebc07(0x2e2)](_0x75a76f=>{const _0x541f47=_0x2ebc07,_0x1a7ebe=_0x75a76f['getUnitId'](),_0x3db012=this[_0x541f47(0x120)][_0x541f47(0x271)](_0x1a7ebe);_0x3db012&&(_0x3db012['dispose'](),this['_entities']['delete'](_0x1a7ebe));});}async[_0xefeb96(0x3cc)](_0x318ca9,_0x3c7718){const _0x26c2d1=_0xefeb96,_0x1c361f=await this['_collabSessionService'][_0x26c2d1(0x302)](_0x318ca9),_0xd2a9bd=this[_0x26c2d1(0x269)][_0x26c2d1(0x25a)](this[_0x26c2d1(0x1e1)](_0x3c7718),_0x318ca9,_0x3c7718,_0x1c361f);return await _0xd2a9bd[_0x26c2d1(0x276)](),this[_0x26c2d1(0x301)][_0x26c2d1(0x2f1)](_0xd2a9bd),_0xd2a9bd;}['_getCtorByUniverType'](_0xc8b411){const _0x3af35c=_0xefeb96;switch(_0xc8b411){case ce['UNIVER_DOC']:return ss;case ce[_0x3af35c(0x451)]:return is;default:throw new Error(_0x3af35c(0x385)+_0xc8b411);}}};it=Io([Lt(0x0,_0x3099f4(_0x3676c8)),Lt(0x1,_0x3099f4(Ae)),Lt(0x2,_0x3ca09d)],it);const Gs=[_0xefeb96(0x3af),'jiqing500','verdancy600',_0xefeb96(0x33e),_0xefeb96(0x2cb),_0xefeb96(0x227)];class bs extends _0x4f89fd{constructor(){const _0x40dc56=_0xefeb96;super(...arguments),g(this,'_assignedColors',new Map()),g(this,_0x40dc56(0x206),0x0);}['assignAColorForMemberID'](_0x5a0a05){const _0x2fb100=_0xefeb96;if(this['_assignedColors'][_0x2fb100(0x179)](_0x5a0a05))return this['_assignedColors'][_0x2fb100(0x271)](_0x5a0a05);const _0x40997d=Gs[this[_0x2fb100(0x206)]];return this[_0x2fb100(0x206)]=(this['_colorIndex']+0x1)%Gs['length'],this[_0x2fb100(0x340)][_0x2fb100(0xf2)](_0x5a0a05,_0x40997d),_0x40997d;}}var Co=Object[_0xefeb96(0x466)],Eo=Object[_0xefeb96(0x336)],bo=(_0x53f71f,_0x38f4cc,_0x1f3792,_0x494438)=>{const _0x179701=_0xefeb96;for(var _0x42e658=_0x494438>0x1?void 0x0:_0x494438?Eo(_0x38f4cc,_0x1f3792):_0x38f4cc,_0x369d7a=_0x53f71f[_0x179701(0x46c)]-0x1,_0xdd7056;_0x369d7a>=0x0;_0x369d7a--)(_0xdd7056=_0x53f71f[_0x369d7a])&&(_0x42e658=(_0x494438?_0xdd7056(_0x38f4cc,_0x1f3792,_0x42e658):_0xdd7056(_0x42e658))||_0x42e658);return _0x494438&&_0x42e658&&Co(_0x38f4cc,_0x1f3792,_0x42e658),_0x42e658;},Oe=(_0x179687,_0x312ef9)=>(_0x4d42a3,_0x2197a2)=>_0x312ef9(_0x4d42a3,_0x2197a2,_0x179687);const To=0x12c,Ro=0x64;let ns=class extends _0x2f42db{constructor(_0x4acaee,_0x5392a0,_0x40503a,_0x10b3ea,_0x24d01e,_0xc6128d,_0x303f67,_0x3d5fd7,_0x3b4a9e){const _0x10260f=_0xefeb96;super(),g(this,'_online',!0x1),g(this,_0x10260f(0x411),!0x1),g(this,_0x10260f(0x37d),new _0x1d1c4b(new Map())),g(this,'cursorInfo$',this[_0x10260f(0x37d)]['asObservable']()),g(this,_0x10260f(0x24d),new _0x1d1c4b([])),g(this,_0x10260f(0x2e4),this[_0x10260f(0x24d)]['pipe'](_0x5d1181(To))),g(this,_0x10260f(0x1f2),_0x3d4248(_0x4855d3=>{const _0x34c2ec=_0x10260f,_0x3eebd2={'eventID':_0x3b2ff1[_0x34c2ec(0x18a)],'data':{'unitID':this['unitID'],'memberID':this[_0x34c2ec(0x194)]['getMemberID'](),'selection':Pi(_0x4855d3)}};this[_0x34c2ec(0x194)][_0x34c2ec(0x40d)](_0x3eebd2,this[_0x34c2ec(0xdb)]);},Ro)),(this[_0x10260f(0xdb)]=_0x4acaee,this['_session']=_0x5392a0,this[_0x10260f(0x269)]=_0x40503a,this[_0x10260f(0x449)]=_0x10b3ea,this[_0x10260f(0x11b)]=_0x24d01e,this[_0x10260f(0x446)]=_0xc6128d,this[_0x10260f(0x3d8)]=_0x303f67,this[_0x10260f(0x214)]=_0x3d5fd7,this[_0x10260f(0x29f)]=_0x3b4a9e);}get[_0xefeb96(0x134)](){const _0x5552f1=_0xefeb96;return this[_0x5552f1(0x37d)][_0x5552f1(0x238)]();}get['roomMembers'](){const _0x32786d=_0xefeb96;return this[_0x32786d(0x24d)][_0x32786d(0x238)]();}[_0xefeb96(0x3b4)](){const _0x519d45=_0xefeb96;super[_0x519d45(0x3b4)](),this[_0x519d45(0x37d)][_0x519d45(0x2f1)](new Map()),this[_0x519d45(0x37d)][_0x519d45(0x1de)](),this[_0x519d45(0x24d)][_0x519d45(0x2f1)]([]),this[_0x519d45(0x24d)][_0x519d45(0x1de)]();}['init'](){const _0x5eeca0=_0xefeb96;this[_0x5eeca0(0x411)]||(this[_0x5eeca0(0x411)]=!0x0,this[_0x5eeca0(0x194)]['sessionStatus$'][_0x5eeca0(0x272)](_0x41a6cf(this[_0x5eeca0(0x18b)]))[_0x5eeca0(0x2e2)](_0x2ff77c=>{const _0x1a38c5=_0x5eeca0;_0x2ff77c===ve[_0x1a38c5(0xeb)]?this['_toggleOnline']():this[_0x1a38c5(0x200)]();}),this[_0x5eeca0(0x194)][_0x5eeca0(0x2c3)][_0x5eeca0(0x272)](_0x41a6cf(this[_0x5eeca0(0x18b)]))[_0x5eeca0(0x2e2)](_0x3c3fc9=>{const _0x59e004=_0x5eeca0,_0x3f9c5b=_0x3c3fc9[_0x59e004(0x2d6)];_0x3f9c5b===_0x3b2ff1[_0x59e004(0x18a)]&&this[_0x59e004(0xec)](_0x3c3fc9),_0x3f9c5b===_0x3b2ff1[_0x59e004(0x29a)]&&this[_0x59e004(0xef)](_0x3c3fc9);}),this['disposeWithMe'](this[_0x5eeca0(0x29f)][_0x5eeca0(0x396)](_0x523f4f=>{const _0x16f484=_0x5eeca0,_0x2a42c6=_0x523f4f['params'];_0x2a42c6!=null&&this[_0x16f484(0xf4)]&&_0x523f4f['id']===_0x15fd2f['id']&&_0x2a42c6[_0x16f484(0x4b1)]===this['unitID']&&_0x2a42c6[_0x16f484(0x23f)]===!0x1&&_0x2a42c6['ranges'][_0x16f484(0x46c)]>0x0&&this[_0x16f484(0x1f2)](_0x2a42c6[_0x16f484(0x14c)]);})),this['_syncEditingCollabCursorService'][_0x5eeca0(0x3bd)][_0x5eeca0(0x272)](_0x41a6cf(this[_0x5eeca0(0x18b)]))[_0x5eeca0(0x2e2)](_0x39e083=>{const _0xd63666=_0x5eeca0;if((_0x39e083==null?void 0x0:_0x39e083[_0xd63666(0xdb)])!==this['unitID'])return;const _0x3024a6={'eventID':_0x3b2ff1[_0xd63666(0x18a)],'data':_0x39e083};this['_onCursorUpdate'](_0x3024a6);}),this[_0x5eeca0(0x2bb)](this[_0x5eeca0(0x29f)][_0x5eeca0(0x396)](_0x317f7b=>{const _0x3b441c=_0x5eeca0;if(_0x317f7b[_0x3b441c(0x304)]==null)return;const _0x51f3bd=_0x317f7b[_0x3b441c(0x304)];if(_0x317f7b['id']!==_0x58f2a8['id']||_0x51f3bd[_0x3b441c(0x4b1)]!==this[_0x3b441c(0xdb)])return;const _0x12288b={'id':_0x3b441c(0x3be),'params':_0x51f3bd},_0x1f6c97=this['cursorInfo'];for(const [_0x13fa79,_0xbf218e]of _0x1f6c97){const _0x3831ef={'id':_0x3b441c(0x3be),'params':{'unitId':this[_0x3b441c(0xdb)],'actions':null,'textRanges':_0xbf218e['ranges']}},_0x28efb7=this[_0x3b441c(0x3d8)]['transformMutation'](_0x12288b,_0x3831ef,!0x1);if(_0x1a9445(_0x28efb7))throw _0x28efb7['error'];_0x1f6c97['set'](_0x13fa79,{..._0xbf218e,'ranges':_0x28efb7['m2Prime'][_0x3b441c(0x304)][_0x3b441c(0x333)]});}queueMicrotask(()=>{const _0x4e3eef=_0x3b441c;this[_0x4e3eef(0x37d)][_0x4e3eef(0x2f1)](_0x1f6c97);});})));}[_0xefeb96(0xec)](_0x5c70b1){const _0x20cfde=_0xefeb96;var _0x4fb5f6,_0x1696d1;const {memberID:_0x37cd44,selection:_0x49cc59}=_0x5c70b1[_0x20cfde(0x1f4)],_0x5cccae=oo(_0x49cc59),_0x39cb6a=(_0x1696d1=(_0x4fb5f6=this[_0x20cfde(0x11b)][_0x20cfde(0x273)](this[_0x20cfde(0xdb)],_0x37cd44))==null?void 0x0:_0x4fb5f6[_0x20cfde(0x21f)])!=null?_0x1696d1:'Unknown\x20user',_0x1a9c9b={'color':this['_colorAssignService'][_0x20cfde(0x1b1)](_0x37cd44),'name':_0x39cb6a,'ranges':_0x5cccae},_0x2755ba=this[_0x20cfde(0x134)];_0x2755ba['set'](_0x37cd44,_0x1a9c9b),this[_0x20cfde(0x37d)][_0x20cfde(0x2f1)](_0x2755ba);}[_0xefeb96(0xef)](_0x59a8b4){const _0x15e4a4=_0xefeb96,{memberID:_0x3b43fd}=_0x59a8b4[_0x15e4a4(0x1f4)],_0x3f1f5f=this['cursorInfo'];_0x3f1f5f[_0x15e4a4(0x2b4)](_0x3b43fd),this[_0x15e4a4(0x37d)]['next'](_0x3f1f5f);}[_0xefeb96(0x4c8)](){const _0x474265=_0xefeb96;var _0x445310;if(this[_0x474265(0xf4)]=!0x0,((_0x445310=this[_0x474265(0x214)][_0x474265(0x186)]())==null?void 0x0:_0x445310[_0x474265(0xf6)]())!==this['unitID'])return;const _0x334bb8=this[_0x474265(0x269)][_0x474265(0x271)](_0xf65f0a)['getDocRanges']();Array[_0x474265(0x49e)](_0x334bb8)&&_0x334bb8[_0x474265(0x46c)]>0x0&&this[_0x474265(0x1f2)](_0x334bb8);}[_0xefeb96(0x200)](){const _0x3d3cad=_0xefeb96;this[_0x3d3cad(0xf4)]=!0x1;}};ns=bo([Oe(0x2,_0x3099f4(_0x3676c8)),Oe(0x3,_0x3099f4(bs)),Oe(0x4,_0x3099f4(Ne)),Oe(0x5,_0x3099f4(Cs)),Oe(0x6,_0x5c28bd),Oe(0x7,_0x3ca09d),Oe(0x8,_0x45feb8)],ns);var yo=Object[_0xefeb96(0x466)],Oo=Object['getOwnPropertyDescriptor'],wo=(_0x105c23,_0x195e12,_0x4cd385,_0x5038e0)=>{for(var _0x1f5324=_0x5038e0>0x1?void 0x0:_0x5038e0?Oo(_0x195e12,_0x4cd385):_0x195e12,_0x15fc89=_0x105c23['length']-0x1,_0x36c887;_0x15fc89>=0x0;_0x15fc89--)(_0x36c887=_0x105c23[_0x15fc89])&&(_0x1f5324=(_0x5038e0?_0x36c887(_0x195e12,_0x4cd385,_0x1f5324):_0x36c887(_0x1f5324))||_0x1f5324);return _0x5038e0&&_0x1f5324&&yo(_0x195e12,_0x4cd385,_0x1f5324),_0x1f5324;},Be=(_0x5e18da,_0x53b603)=>(_0x4338e5,_0x5ac420)=>_0x53b603(_0x4338e5,_0x5ac420,_0x5e18da);const Do=0x12c,Po=0x64,Uo=()=>{let _0x206da2=[],_0x1d2f03=!0x1;return _0x224832=>{const _0x8c39fd=_0x4451;_0x206da2[_0x8c39fd(0x477)](_0x224832),_0x1d2f03||(_0x1d2f03=!0x0,setTimeout(()=>{const _0x5cf908=_0x8c39fd;_0x206da2[_0x5cf908(0x267)](_0x38b045=>_0x38b045()),_0x206da2=[],_0x1d2f03=!0x1;}));};};let rs=class extends _0x2f42db{constructor(_0x43733,_0x25b67f,_0xf82aec,_0x8da978,_0x3eb3f1,_0x5171c7,_0x55a8c3,_0x342185){const _0x4e672a=_0xefeb96;super(),g(this,_0x4e672a(0xf4),!0x1),g(this,_0x4e672a(0x411),!0x1),g(this,_0x4e672a(0x37d),new _0x1d1c4b(new Map())),g(this,_0x4e672a(0x4cf),this['_cursorInfo$'][_0x4e672a(0x3ce)]()),g(this,_0x4e672a(0x24d),new _0x1d1c4b([])),g(this,_0x4e672a(0x2e4),this[_0x4e672a(0x24d)][_0x4e672a(0x272)](_0x5d1181(Do))),g(this,_0x4e672a(0x1f2),_0x3d4248((_0x409dbe,_0x56a7ea)=>{const _0x2abf54=_0x4e672a,_0x23dcb1={'eventID':_0x3b2ff1['UPDATE_CURSOR'],'data':{'unitID':this[_0x2abf54(0xdb)],'memberID':this[_0x2abf54(0x194)][_0x2abf54(0x136)](),'selection':_0x5a7388(_0x409dbe,_0x56a7ea['range'])}};this[_0x2abf54(0x194)][_0x2abf54(0x40d)](_0x23dcb1,this[_0x2abf54(0xdb)]);},Po)),(this[_0x4e672a(0xdb)]=_0x43733,this[_0x4e672a(0x194)]=_0x25b67f,this[_0x4e672a(0x269)]=_0xf82aec,this[_0x4e672a(0x449)]=_0x8da978,this['_memberService']=_0x3eb3f1,this[_0x4e672a(0x214)]=_0x5171c7,this[_0x4e672a(0x29f)]=_0x55a8c3,this['_refRangeService']=_0x342185);}get[_0xefeb96(0x134)](){const _0x31ad85=_0xefeb96;return this['_cursorInfo$'][_0x31ad85(0x238)]();}get['roomMembers'](){const _0x35e46e=_0xefeb96;return this['_roomMembers$'][_0x35e46e(0x238)]();}[_0xefeb96(0x3b4)](){const _0x46151f=_0xefeb96;super['dispose'](),this[_0x46151f(0x37d)][_0x46151f(0x2f1)](new Map()),this['_cursorInfo$']['complete'](),this[_0x46151f(0x24d)][_0x46151f(0x2f1)]([]),this[_0x46151f(0x24d)][_0x46151f(0x1de)]();}['init'](){const _0x1362c=_0xefeb96;this[_0x1362c(0x411)]||(this[_0x1362c(0x411)]=!0x0,this[_0x1362c(0x194)][_0x1362c(0x372)][_0x1362c(0x272)](_0x41a6cf(this['dispose$']))[_0x1362c(0x2e2)](_0x15b402=>{const _0x77f82b=_0x1362c;_0x15b402===ve[_0x77f82b(0xeb)]?this[_0x77f82b(0x4c8)]():this[_0x77f82b(0x200)]();}),this['_session'][_0x1362c(0x2c3)]['pipe'](_0x41a6cf(this[_0x1362c(0x18b)]))['subscribe'](_0x438064=>{const _0x34d7a2=_0x1362c,_0x9d5d2c=_0x438064['eventID'];_0x9d5d2c===_0x3b2ff1[_0x34d7a2(0x18a)]&&this[_0x34d7a2(0xec)](_0x438064),_0x9d5d2c===_0x3b2ff1[_0x34d7a2(0x29a)]&&this[_0x34d7a2(0xef)](_0x438064);}),this[_0x1362c(0xe6)](),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x1c5c7a=>{const _0x48bbf1=_0x1362c;if(this[_0x48bbf1(0xf4)]&&_0x1c5c7a['id']===_0xace6cf['id']&&_0x1c5c7a[_0x48bbf1(0x304)][_0x48bbf1(0x4b1)]===this[_0x48bbf1(0xdb)]){const _0x3d9ee5=_0x1c5c7a[_0x48bbf1(0x304)];this['_updateLocalCursor'](_0x3d9ee5['subUnitId'],_0x3d9ee5[_0x48bbf1(0x46f)][0x0]);}})));}[_0xefeb96(0xec)](_0x563727){const _0xfd6bce=_0xefeb96;var _0x1c83b1,_0x113527;const {memberID:_0x57a09c,selection:_0xb9d198}=_0x563727[_0xfd6bce(0x1f4)],{sheetName:_0x4818ca,range:_0x4e17ef}=_0x56c9f0(_0xb9d198),_0x3a83d3={'name':(_0x113527=(_0x1c83b1=this['_memberService'][_0xfd6bce(0x273)](this['unitID'],_0x57a09c))==null?void 0x0:_0x1c83b1[_0xfd6bce(0x21f)])!=null?_0x113527:_0xfd6bce(0x47c),'range':this[_0xfd6bce(0x114)](_0x4818ca,_0x4e17ef),'sheetID':_0x4818ca,'color':this[_0xfd6bce(0x449)][_0xfd6bce(0x1b1)](_0x57a09c),'selection':_0xb9d198},_0x55b845=this['cursorInfo'];_0x55b845[_0xfd6bce(0xf2)](_0x57a09c,_0x3a83d3),this['_cursorInfo$']['next'](_0x55b845);}['_onCursorDelete'](_0x2da7c1){const _0x1a3011=_0xefeb96,{memberID:_0x387caf}=_0x2da7c1[_0x1a3011(0x1f4)],_0x2d0789=this['cursorInfo'];_0x2d0789[_0x1a3011(0x2b4)](_0x387caf),this[_0x1a3011(0x37d)][_0x1a3011(0x2f1)](_0x2d0789);}[_0xefeb96(0x114)](_0x2fdbbd,_0x287946){const _0x130d67=_0xefeb96;var _0x34b957,_0xb9046d;const _0x1cc4f6=(_0xb9046d=(_0x34b957=this['_univerInstanceService'][_0x130d67(0x40b)](this[_0x130d67(0xdb)]))==null?void 0x0:_0x34b957['getSheetBySheetId'](_0x2fdbbd))==null?void 0x0:_0xb9046d[_0x130d67(0x421)]();return(_0x1cc4f6==null?void 0x0:_0x1cc4f6[_0x130d67(0x431)](_0x2cd083=>_0x22b767[_0x130d67(0x251)](_0x2cd083,_0x287946)))||_0x287946;}['_onRefRangeChange'](){const _0x1afff0=_0xefeb96,_0x266423=new _0x642676(),_0x11e109=Uo(),_0x53ab2a=()=>{const _0x1796eb=_0x4451;_0x266423[_0x1796eb(0x3b4)]();const _0x2bcf37=(_0x1b5da1,_0x54d55b,_0x2997a6,_0x524b19)=>{const _0x12b961=_0x1796eb;let _0xbe0b22=[];switch(_0x1b5da1['id']){case _0x4a5afd[_0x12b961(0x2c4)]:{_0xbe0b22=_0x17f8d2(_0x1b5da1,_0x524b19);break;}case _0x4a5afd['DeleteRangeMoveUpCommandId']:{_0xbe0b22=_0x1af049(_0x1b5da1,_0x524b19);break;}case _0x4a5afd['InsertColCommandId']:{_0xbe0b22=_0x30ee5d(_0x1b5da1,_0x524b19);break;}case _0x4a5afd[_0x12b961(0x2e6)]:{_0xbe0b22=_0x121945(_0x1b5da1,_0x524b19);break;}case _0x4a5afd[_0x12b961(0x436)]:{_0xbe0b22=_0x34ebeb(_0x1b5da1,_0x524b19);break;}case _0x4a5afd[_0x12b961(0x338)]:{_0xbe0b22=_0x233c37(_0x1b5da1,_0x524b19);break;}case _0x4a5afd['MoveRangeCommandId']:{_0xbe0b22=_0x4d88f0(_0x1b5da1,_0x524b19);break;}case _0x4a5afd[_0x12b961(0x32d)]:{_0xbe0b22=_0x144949(_0x1b5da1,_0x524b19);break;}case _0x4a5afd[_0x12b961(0x158)]:{_0xbe0b22=_0x316f3c(_0x1b5da1,_0x524b19);break;}}const _0x5c69c7=_0x5f03cd(_0xbe0b22,_0x524b19),_0x3d52a2=this[_0x12b961(0x134)][_0x12b961(0x271)](_0x54d55b);if(_0x3d52a2&&_0x5c69c7){const _0xade6b5={..._0x3d52a2,'range':_0x5c69c7};this[_0x12b961(0x134)][_0x12b961(0xf2)](_0x54d55b,_0xade6b5),_0x11e109(()=>{const _0x3b5afa=_0x12b961,_0x1019ba=this['_refRangeService']['registerRefRange'](_0x5c69c7,_0x2021b5=>(_0x1019ba[_0x3b5afa(0x3b4)](),_0x2bcf37(_0x2021b5,_0x54d55b,_0x2997a6,_0x5c69c7)));_0x266423[_0x3b5afa(0x437)](_0x1019ba);});}return{'redos':[],'undos':[]};};this[_0x1796eb(0x134)][_0x1796eb(0x267)]((_0xdf36d5,_0x19478f)=>{const _0x2aeb19=_0x1796eb,{range:_0x28476c,sheetID:_0x13d367}=_0xdf36d5,_0x2dbacf=this[_0x2aeb19(0xd8)][_0x2aeb19(0x226)](_0x28476c,_0x3d39a1=>(_0x2dbacf[_0x2aeb19(0x3b4)](),_0x2bcf37(_0x3d39a1,_0x19478f,_0x13d367,_0x28476c)));_0x266423['add'](_0x2dbacf);});};this[_0x1afff0(0x2bb)](_0x26357a(this[_0x1afff0(0x37d)][_0x1afff0(0x2e2)](()=>{_0x53ab2a();})));}['_toggleOnline'](){const _0x3c25d2=_0xefeb96;var _0x9e1b3,_0xf020c6;if(this[_0x3c25d2(0xf4)]=!0x0,((_0x9e1b3=this[_0x3c25d2(0x214)][_0x3c25d2(0x186)]())==null?void 0x0:_0x9e1b3[_0x3c25d2(0xf6)]())!==this[_0x3c25d2(0xdb)])return;const _0x53e3fa=(_0xf020c6=this[_0x3c25d2(0x269)]['get'](_0x195025)[_0x3c25d2(0x323)]())==null?void 0x0:_0xf020c6[0x0],_0x57ec41=this['_univerInstanceService'][_0x3c25d2(0x252)](_0x634e8e[_0x3c25d2(0x451)])[_0x3c25d2(0x245)]();_0x53e3fa&&_0x57ec41&&this[_0x3c25d2(0x1f2)](_0x57ec41[_0x3c25d2(0x13c)](),_0x53e3fa);}[_0xefeb96(0x200)](){const _0x2d94b0=_0xefeb96;this[_0x2d94b0(0xf4)]=!0x1;}};rs=wo([Be(0x2,_0x3099f4(_0x3676c8)),Be(0x3,_0x3099f4(bs)),Be(0x4,_0x3099f4(Ne)),Be(0x5,_0x3ca09d),Be(0x6,_0x45feb8),Be(0x7,_0x3099f4(_0x43749e))],rs);var No=Object[_0xefeb96(0x466)],Ao=Object[_0xefeb96(0x336)],Mo=(_0x540b18,_0x273505,_0xf1fd2a,_0x4daa1e)=>{const _0xd18d1d=_0xefeb96;for(var _0x5eed94=_0x4daa1e>0x1?void 0x0:_0x4daa1e?Ao(_0x273505,_0xf1fd2a):_0x273505,_0x46a985=_0x540b18[_0xd18d1d(0x46c)]-0x1,_0x482153;_0x46a985>=0x0;_0x46a985--)(_0x482153=_0x540b18[_0x46a985])&&(_0x5eed94=(_0x4daa1e?_0x482153(_0x273505,_0xf1fd2a,_0x5eed94):_0x482153(_0x5eed94))||_0x5eed94);return _0x4daa1e&&_0x5eed94&&No(_0x273505,_0xf1fd2a,_0x5eed94),_0x5eed94;},$t=(_0x43810b,_0x387c9f)=>(_0x32b9a3,_0x26fabf)=>_0x387c9f(_0x32b9a3,_0x26fabf,_0x43810b);let Ve=class extends _0x2f42db{constructor(_0x52ac36,_0x3bd334,_0x5efb7f){const _0x2e99e0=_0xefeb96;super(),g(this,'_entities',new Map()),g(this,'_entityInit$',new _0x17e316()),(this['_univerInstanceService']=_0x52ac36,this[_0x2e99e0(0x269)]=_0x3bd334,this[_0x2e99e0(0x47a)]=_0x5efb7f,this[_0x2e99e0(0x411)]());}['dispose'](){const _0x142508=_0xefeb96;super['dispose'](),this[_0x142508(0x301)][_0x142508(0x1de)](),this[_0x142508(0x120)]['forEach'](_0x54ec06=>_0x54ec06['dispose']());}['getCollabCursors$'](_0xf00d24){const _0x4027f1=_0xefeb96;return this['_entities'][_0x4027f1(0x179)](_0xf00d24)?this['_entities'][_0x4027f1(0x271)](_0xf00d24)[_0x4027f1(0x4cf)]:this[_0x4027f1(0x301)][_0x4027f1(0x272)](_0x4847d3(_0x261b3a=>_0x261b3a[_0x4027f1(0xdb)]===_0xf00d24),_0x18db0e(_0x55c077=>_0x55c077[_0x4027f1(0x4cf)]));}[_0xefeb96(0x411)](){const _0x3a247c=_0xefeb96;this['_univerInstanceService'][_0x3a247c(0x423)](_0x634e8e[_0x3a247c(0x451)])[_0x3a247c(0x272)](_0x41a6cf(this[_0x3a247c(0x18b)]))[_0x3a247c(0x2e2)](async _0x1cfb41=>{const _0x5d9986=_0x3a247c,_0x10041a=_0x1cfb41[_0x5d9986(0xf6)](),_0x485dd0=await this['_startSheetCollabCursor'](_0x10041a);this[_0x5d9986(0x301)]['next'](_0x485dd0),this['_entities'][_0x5d9986(0xf2)](_0x10041a,_0x485dd0);}),this[_0x3a247c(0x214)][_0x3a247c(0x423)](_0x634e8e[_0x3a247c(0x4b4)])['pipe'](_0x41a6cf(this[_0x3a247c(0x18b)]))[_0x3a247c(0x272)](_0x4847d3(_0x581223=>!_0x581223[_0x3a247c(0xf6)]()[_0x3a247c(0x2a9)]('__')))[_0x3a247c(0x2e2)](async _0xc15932=>{const _0x23d572=_0x3a247c,_0x355e32=_0xc15932[_0x23d572(0xf6)](),_0x1ec674=await this[_0x23d572(0x307)](_0x355e32);this[_0x23d572(0x301)][_0x23d572(0x2f1)](_0x1ec674),this['_entities'][_0x23d572(0xf2)](_0x355e32,_0x1ec674);}),_0x1b8a05(this[_0x3a247c(0x214)][_0x3a247c(0x33d)](_0x634e8e[_0x3a247c(0x4b4)]),this[_0x3a247c(0x214)][_0x3a247c(0x33d)](_0x634e8e[_0x3a247c(0x451)]))[_0x3a247c(0x272)](_0x41a6cf(this[_0x3a247c(0x18b)]))[_0x3a247c(0x2e2)](_0x5b4bca=>{const _0x38df3b=_0x3a247c,_0x99bdf2=_0x5b4bca[_0x38df3b(0xf6)](),_0x50fe69=this[_0x38df3b(0x120)][_0x38df3b(0x271)](_0x99bdf2);_0x50fe69&&(_0x50fe69[_0x38df3b(0x3b4)](),this[_0x38df3b(0x120)][_0x38df3b(0x2b4)](_0x99bdf2));});}async[_0xefeb96(0x43c)](_0x1b1290){const _0x140e8f=_0xefeb96,_0x4bf1ad=await this[_0x140e8f(0x47a)][_0x140e8f(0x302)](_0x1b1290),_0x46cbd7=this['_injector'][_0x140e8f(0x25a)](rs,_0x1b1290,_0x4bf1ad);return _0x46cbd7['init'](),_0x46cbd7;}async[_0xefeb96(0x307)](_0x14fb71){const _0x5c56dc=_0xefeb96,_0xb0f8c3=await this[_0x5c56dc(0x47a)]['requireSession'](_0x14fb71),_0x9f113f=this[_0x5c56dc(0x269)][_0x5c56dc(0x25a)](ns,_0x14fb71,_0xb0f8c3);return _0x9f113f[_0x5c56dc(0x276)](),_0x9f113f;}};Ve=Mo([$t(0x0,_0x3ca09d),$t(0x1,_0x3099f4(_0x3676c8)),$t(0x2,_0x3099f4(Ae))],Ve);const nt=0x14,Ys=0xc8,Ht=0x4,xo=0x5;function Lo(_0x19ff45,_0x5ce53f){const _0xf04295=_0xefeb96;let {radius:_0x41a5b0,width:_0x1fc558,height:_0x16fe01}=_0x5ce53f;_0x41a5b0=_0x41a5b0!=null?_0x41a5b0:0x0,_0x1fc558=_0x1fc558!=null?_0x1fc558:0x1e,_0x16fe01=_0x16fe01!=null?_0x16fe01:0x1e;let _0x26672c=0x0,_0x311272=0x0,_0x1bd24e=0x0;_0x26672c=_0x311272=_0x1bd24e=Math[_0xf04295(0x3d0)](_0x41a5b0,_0x1fc558/0x2,_0x16fe01/0x2),_0x19ff45['beginPath'](),_0x19ff45[_0xf04295(0x100)](_0x26672c,0x0),_0x19ff45[_0xf04295(0x256)](_0x1fc558-_0x311272,0x0),_0x19ff45[_0xf04295(0x172)](_0x1fc558-_0x311272,_0x311272,_0x311272,Math['PI']*0x3/0x2,0x0,!0x1),_0x19ff45[_0xf04295(0x256)](_0x1fc558,_0x16fe01-_0x1bd24e),_0x19ff45[_0xf04295(0x172)](_0x1fc558-_0x1bd24e,_0x16fe01-_0x1bd24e,_0x1bd24e,0x0,Math['PI']/0x2,!0x1),_0x19ff45['lineTo'](0x0,_0x16fe01),_0x19ff45['lineTo'](0x0,_0x26672c),_0x19ff45[_0xf04295(0x172)](_0x26672c,_0x26672c,_0x26672c,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x19ff45[_0xf04295(0x19e)](),_0x5ce53f[_0xf04295(0x2c2)]&&(_0x19ff45[_0xf04295(0x2b8)](),_0x19ff45['fillStyle']=_0x5ce53f[_0xf04295(0x2c2)],_0x5ce53f[_0xf04295(0x3db)]===_0xf04295(0x1cc)?_0x19ff45[_0xf04295(0x2c2)](_0xf04295(0x1cc)):_0x19ff45['fill'](),_0x19ff45['restore']());}class Ot extends _0x22656b{constructor(_0x26d44b,_0x47d3f0){const _0x14cba2=_0xefeb96;super(_0x26d44b,_0x47d3f0),g(this,_0x14cba2(0x4c3)),g(this,'text'),(this[_0x14cba2(0x4c3)]=_0x47d3f0==null?void 0x0:_0x47d3f0[_0x14cba2(0x4c3)],this[_0x14cba2(0x4be)]=_0x47d3f0==null?void 0x0:_0x47d3f0[_0x14cba2(0x4be)]);}static[_0xefeb96(0x343)](_0xea49d4,_0xaf11b7){const _0x545ba6=_0xefeb96,{text:_0x3bdef2,color:_0x3c8e6c}=_0xaf11b7;_0xea49d4[_0x545ba6(0x2b8)](),_0xea49d4[_0x545ba6(0x1fd)]=_0x545ba6(0x366);const _0x591701=_0xea49d4[_0x545ba6(0x31d)](_0x3bdef2)[_0x545ba6(0x475)],_0x3e9af7=Math[_0x545ba6(0x3d0)](_0x591701+0x2*Ht,Ys);Lo(_0xea49d4,{'height':nt,'radius':0x4,'width':_0x3e9af7,'fill':_0x3c8e6c,'evented':!0x1}),_0xea49d4[_0x545ba6(0x3a5)]='#FFF';const _0x58ce5a=Ht,_0x39bab9=nt-xo,_0x631657=Ys-0x2*Ht;if(_0x591701>_0x631657){let _0x10066a='',_0xeae347=0x0;for(const _0x1c6f4c of _0x3bdef2){const _0x3ed573=_0xea49d4[_0x545ba6(0x31d)](_0x1c6f4c)[_0x545ba6(0x475)];if(_0xeae347+_0x3ed573<=_0x631657-_0xea49d4[_0x545ba6(0x31d)](_0x545ba6(0x25d))[_0x545ba6(0x475)])_0x10066a+=_0x1c6f4c,_0xeae347+=_0x3ed573;else{_0x10066a+=_0x545ba6(0x25d);break;}}_0xea49d4[_0x545ba6(0x29d)](_0x10066a,_0x58ce5a,_0x39bab9);}else _0xea49d4[_0x545ba6(0x29d)](_0x3bdef2,_0x58ce5a,_0x39bab9);_0xea49d4[_0x545ba6(0x122)]();}[_0xefeb96(0x24c)](_0x5974ec){const _0x54243b=_0xefeb96;Ot[_0x54243b(0x343)](_0x5974ec,this);}}const jt=_0xefeb96(0x105),$o=_0xefeb96(0xfe),Ho='collab-rect-range-',Je=0x6,jo=1.5,Bt=0x4,Bo=1.5,ko=_0xefeb96(0x371);class Ks{constructor(_0x5c5f0a,_0x2fd48f,_0x5dc23e,_0x24ad6d){const _0x5a26bc=_0xefeb96;g(this,_0x5a26bc(0x465),[]),g(this,_0x5a26bc(0x450),null),g(this,_0x5a26bc(0x14a),null),g(this,_0x5a26bc(0x42e),null),g(this,'_hideTimer',null),g(this,_0x5a26bc(0x1ac),null),(this['_cursor']=_0x5c5f0a,this[_0x5a26bc(0x10d)]=_0x2fd48f,this[_0x5a26bc(0x16a)]=_0x5dc23e,this[_0x5a26bc(0x117)]=_0x24ad6d,this[_0x5a26bc(0x3fb)]());}set[_0xefeb96(0x13d)](_0x2d0eb9){const _0x5d8b36=_0xefeb96;_0x2d0eb9?(this['_anchorDot']&&this[_0x5d8b36(0x42e)][_0x5d8b36(0x41d)](),this[_0x5d8b36(0x14a)]&&this['_textBubble'][_0x5d8b36(0x170)]()):(this[_0x5d8b36(0x42e)]&&this[_0x5d8b36(0x42e)][_0x5d8b36(0x170)](),this[_0x5d8b36(0x14a)]&&this[_0x5d8b36(0x14a)][_0x5d8b36(0x41d)]());}[_0xefeb96(0x3b4)](){const _0x5c7e36=_0xefeb96;for(const _0x29904e of this[_0x5c7e36(0x465)])_0x29904e['dispose']();this[_0x5c7e36(0x14a)]&&this[_0x5c7e36(0x14a)][_0x5c7e36(0x3b4)](),this[_0x5c7e36(0x42e)]&&this['_anchorDot'][_0x5c7e36(0x3b4)](),this[_0x5c7e36(0x450)]&&this[_0x5c7e36(0x450)][_0x5c7e36(0x3b4)](),this[_0x5c7e36(0x1ac)]&&this[_0x5c7e36(0x1ac)]();}[_0xefeb96(0x3fb)](){const _0x148496=_0xefeb96;var _0x12a5f6;const {_docSkeleton:_0x1f512b,_document:_0x56dd50}=this,{color:_0x22348,name:_0x4b4a98,ranges:_0x58532d}=this['_cursor'],_0x433063=_0x56dd50[_0x148496(0x469)](),{docsLeft:_0x5e17e1,docsTop:_0x4170e4}=_0x433063,_0x449949=new _0x13d419(_0x433063,_0x1f512b);for(const {startOffset:_0x276bae,endOffset:_0x410b57,rangeType:_0x1379f1,segmentId:_0x4b00f5,segmentPage:_0x54c145,collapsed:_0x53d979,isActive:_0x1ce3d9}of _0x58532d){const _0x3f5666=_0x1f512b[_0x148496(0x45f)](_0x276bae,!0x0,_0x4b00f5,_0x54c145);let _0x4cfd45=_0x1f512b[_0x148496(0x45f)](_0x410b57,!0x0,_0x4b00f5,_0x54c145);if(_0x4cfd45==null&&(_0x4cfd45=_0x1f512b[_0x148496(0x45f)](_0x410b57-0x1,!0x1,_0x4b00f5,_0x54c145)),_0x1ce3d9){const {contentBoxPointGroup:_0x25ae2d}=_0x449949[_0x148496(0x3b6)](_0x4cfd45,_0x4cfd45);if(_0x25ae2d[_0x148496(0x46c)]===0x0)continue;this[_0x148496(0x12e)](_0x22348,_0x25ae2d,_0x5e17e1,_0x4170e4,_0x4b4a98),this[_0x148496(0x1ac)]=this['_handleHover']();}if(!_0x53d979&&_0x3f5666&&_0x4cfd45){if(_0x1379f1===_0x11763b[_0x148496(0x346)]){const _0x36b7a2=new _0x3a943c(_0x433063,_0x1f512b),{pointGroup:_0x11f9aa}=(_0x12a5f6=_0x36b7a2['getRangePointData'](_0x3f5666,_0x4cfd45))!=null?_0x12a5f6:{};if(_0x11f9aa==null||_0x11f9aa[_0x148496(0x46c)]===0x0)continue;this[_0x148496(0x399)](_0x22348,_0x11f9aa,_0x5e17e1,_0x4170e4);}else{const {borderBoxPointGroup:_0x57fa39}=_0x449949[_0x148496(0x3b6)](_0x3f5666,_0x4cfd45);if(_0x57fa39[_0x148496(0x46c)]===0x0)continue;this[_0x148496(0x22e)](_0x22348,_0x57fa39,_0x5e17e1,_0x4170e4);}}}}[_0xefeb96(0x12e)](_0x3737be,_0x31378c,_0x42c58a,_0x4aa8fb,_0x146b6c){const _0x3c9cf7=_0xefeb96,_0x338c8a=this['_getAnchorBounding'](_0x31378c),{left:_0x3e6852,top:_0x255ddd,height:_0x459cc0}=_0x338c8a,_0x448972=this[_0x3c9cf7(0x3d7)](),_0x51681d=Bo/_0x448972,_0x341d61=new _0x57a736(jt+_0x4d0489[_0x3c9cf7(0xf5)](Je),{'left':_0x3e6852+_0x42c58a-_0x51681d,'top':_0x255ddd+_0x4aa8fb,'height':_0x459cc0,'width':jo,'fill':_0x3737be||_0x12b38d(_0x2582ae['black'],0x0),'strokeWidth':_0x51681d,'stroke':ko,'evented':!0x0});this[_0x3c9cf7(0x450)]=_0x341d61,this[_0x3c9cf7(0x10d)][_0x3c9cf7(0x4c7)](_0x341d61,_0x1a678c);const _0x307174=new _0x57a736(jt+_0x4d0489['generateRandomId'](Je),{'left':_0x3e6852+_0x42c58a-_0x51681d,'top':_0x255ddd+_0x4aa8fb-Bt/0x2,'height':Bt,'width':Bt,'fill':_0x3737be||_0x12b38d(_0x2582ae[_0x3c9cf7(0x15f)],0x0),'strokeWidth':0x0,'stroke':_0x3737be||_0x12b38d(_0x2582ae[_0x3c9cf7(0x15f)],0x0),'evented':!0x1});this[_0x3c9cf7(0x42e)]=_0x307174,this[_0x3c9cf7(0x10d)]['addObject'](_0x307174,_0x1a678c);const _0x206a69=new Ot(jt+_0x4d0489['generateRandomId'](Je),{'left':_0x3e6852+_0x42c58a-_0x51681d,'top':_0x255ddd+_0x4aa8fb-nt,'text':_0x146b6c,'color':_0x3737be});this[_0x3c9cf7(0x14a)]=_0x206a69,this[_0x3c9cf7(0x10d)][_0x3c9cf7(0x4c7)](_0x206a69,_0x1a678c),this['_hover']=!0x1;}['_handleHover'](){const _0x1803c6=_0xefeb96,_0x9d7f12=this[_0x1803c6(0x450)][_0x1803c6(0xfc)][_0x1803c6(0x1fe)](()=>{const _0x146877=_0x1803c6;this[_0x146877(0x13d)]=!0x0;}),_0x1b60ec=this[_0x1803c6(0x450)][_0x1803c6(0x414)][_0x1803c6(0x1fe)](()=>{const _0x2e1656=_0x1803c6;this[_0x2e1656(0x2d7)]&&clearTimeout(this[_0x2e1656(0x2d7)]),this[_0x2e1656(0x2d7)]=setTimeout(()=>{const _0x487d3a=_0x2e1656;this[_0x487d3a(0x13d)]=!0x1;},0x7d0);});return()=>{const _0x28e7fd=_0x1803c6;_0x9d7f12[_0x28e7fd(0x1df)](),_0x1b60ec[_0x28e7fd(0x1df)]();};}[_0xefeb96(0x22e)](_0x254bc9,_0x1a2c6b,_0x4d8953,_0x1d668f){const _0xf259c5=_0xefeb96,_0x4f2250=new _0x4d3673(_0x254bc9)['setAlpha'](0.2)[_0xf259c5(0x4c4)](),_0x4df1dd=new _0x45811e($o+_0x4d0489[_0xf259c5(0xf5)](Je),{'pointsGroup':_0x1a2c6b,'fill':_0x4f2250||_0x12b38d(_0x2582ae[_0xf259c5(0x15f)],0.2),'left':_0x4d8953,'top':_0x1d668f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xf259c5(0x465)][_0xf259c5(0x477)](_0x4df1dd),this['_scene'][_0xf259c5(0x4c7)](_0x4df1dd,_0x1a678c);}[_0xefeb96(0x399)](_0x1a1e6c,_0x1bc104,_0x10316f,_0x208ba6){const _0x1eea53=_0xefeb96,_0x5e2184=new _0x4d3673(_0x1a1e6c)[_0x1eea53(0x443)](0.2)[_0x1eea53(0x4c4)](),_0xa823e2=new _0x45811e(Ho+_0x4d0489[_0x1eea53(0xf5)](Je),{'pointsGroup':_0x1bc104,'fill':_0x5e2184||_0x12b38d(_0x2582ae[_0x1eea53(0x15f)],0.2),'left':_0x10316f,'top':_0x208ba6,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1eea53(0x465)][_0x1eea53(0x477)](_0xa823e2),this[_0x1eea53(0x10d)]['addObject'](_0xa823e2,_0x1a678c);}['_getAnchorBounding'](_0x5c8f41){const _0x4635d9=_0x5c8f41[0x0],_0x25b9cf=_0x4635d9[0x0],_0x41ff63=_0x4635d9[0x2],{x:_0x4238e9,y:_0x2b65cb}=_0x25b9cf,{x:_0x31a558,y:_0x5c8408}=_0x41ff63;return{'left':_0x4238e9,'top':_0x2b65cb,'width':_0x31a558-_0x4238e9,'height':_0x5c8408-_0x2b65cb};}[_0xefeb96(0x3d7)](){const _0x23f589=_0xefeb96,{scaleX:_0x1e2fb7,scaleY:_0x2cc09e}=this['_scene'][_0x23f589(0x3ee)]();return Math[_0x23f589(0x3c0)](_0x1e2fb7,_0x2cc09e);}}var Wo=Object[_0xefeb96(0x466)],Fo=Object['getOwnPropertyDescriptor'],Vo=(_0x1491ad,_0x33f561,_0xf6126,_0x22d17a)=>{const _0x17c934=_0xefeb96;for(var _0x89f6a1=_0x22d17a>0x1?void 0x0:_0x22d17a?Fo(_0x33f561,_0xf6126):_0x33f561,_0x3cb945=_0x1491ad[_0x17c934(0x46c)]-0x1,_0x52843c;_0x3cb945>=0x0;_0x3cb945--)(_0x52843c=_0x1491ad[_0x3cb945])&&(_0x89f6a1=(_0x22d17a?_0x52843c(_0x33f561,_0xf6126,_0x89f6a1):_0x52843c(_0x89f6a1))||_0x89f6a1);return _0x22d17a&&_0x89f6a1&&Wo(_0x33f561,_0xf6126,_0x89f6a1),_0x89f6a1;},ht=(_0x4ddaa3,_0x3b04f0)=>(_0x516ffe,_0x55f6b9)=>_0x3b04f0(_0x516ffe,_0x55f6b9,_0x4ddaa3);let os=class extends _0x2f42db{constructor(_0x3973c8,_0x54983e,_0x529ebc,_0x5d8c80,_0x2d3312){const _0x23fe57=_0xefeb96;super(),g(this,_0x23fe57(0x164),[]),g(this,_0x23fe57(0xf1),[]),(this['_context']=_0x3973c8,this[_0x23fe57(0x119)]=_0x54983e,this[_0x23fe57(0x112)]=_0x529ebc,this[_0x23fe57(0x29f)]=_0x5d8c80,this[_0x23fe57(0x48d)]=_0x2d3312,this['_init']());}[_0xefeb96(0x411)](){const _0x36dc94=_0xefeb96,_0x9fbc6a=this['_context'][_0x36dc94(0x4b1)],_0x27da95=this[_0x36dc94(0x119)];this['disposeWithMe'](_0x2a2925([this[_0x36dc94(0x112)][_0x36dc94(0x173)](_0x9fbc6a),this[_0x36dc94(0x48d)][_0x36dc94(0x4a5)]])[_0x36dc94(0x272)](_0x348356(([_0x25357f,_0x532d1e])=>({'skeleton':_0x27da95[_0x36dc94(0x246)](),'cursors':[..._0x25357f['values']()]['flatMap'](_0x30fd36=>({..._0x30fd36,'color':_0x532d1e[_0x30fd36[_0x36dc94(0x4c3)]]}))})))[_0x36dc94(0x2e2)](_0x1c54f5=>{const _0x28d107=_0x36dc94;if(this[_0x28d107(0x455)](),_0x1c54f5){const {skeleton:_0xc2ffb5,cursors:_0xd72b97}=_0x1c54f5;this[_0x28d107(0x3d1)](_0xc2ffb5,_0xd72b97);}})),this[_0x36dc94(0x11f)](),this[_0x36dc94(0x2ba)]();}[_0xefeb96(0x3d1)](_0x1e1d61,_0x4a9b99){const _0x56db1e=_0xefeb96,{scene:_0x55b87a,mainComponent:_0x222267}=this[_0x56db1e(0x2f0)],_0x514b8a=_0x4a9b99['map'](_0xfb3fd4=>new Ks(_0xfb3fd4,_0x55b87a,_0x1e1d61,_0x222267));this[_0x56db1e(0x164)]=_0x514b8a,this[_0x56db1e(0xf1)]=_0x4a9b99;}['_refreshCollabCursors'](){const _0xf37427=_0xefeb96;this[_0xf37427(0x455)]();const {scene:_0x470527,mainComponent:_0x2e571c}=this[_0xf37427(0x2f0)],_0x2fe3b3=this[_0xf37427(0x119)][_0xf37427(0x246)](),_0x153ad6=this[_0xf37427(0xf1)][_0xf37427(0x113)](_0x7a4aef=>new Ks(_0x7a4aef,_0x470527,_0x2fe3b3,_0x2e571c));this[_0xf37427(0x164)]=_0x153ad6;}[_0xefeb96(0x455)](){const _0x3caf6d=_0xefeb96;this[_0x3caf6d(0x164)][_0x3caf6d(0x267)](_0x43e1db=>_0x43e1db[_0x3caf6d(0x3b4)]()),this['_cursorShapes']=[];}[_0xefeb96(0x2ba)](){const _0x45bbe3=_0xefeb96,_0x1051bc=[_0x20a856['id']];this[_0x45bbe3(0x2bb)](this[_0x45bbe3(0x29f)][_0x45bbe3(0x396)](_0x376385=>{const _0x48ba00=_0x45bbe3;_0x1051bc[_0x48ba00(0x426)](_0x376385['id'])&&_0x376385[_0x48ba00(0x304)][_0x48ba00(0x4b1)]===this[_0x48ba00(0x2f0)][_0x48ba00(0x4b1)]&&this[_0x48ba00(0x133)]();}));}[_0xefeb96(0x11f)](){const _0x5cad94=_0xefeb96;this[_0x5cad94(0x2bb)](_0x22b807(this[_0x5cad94(0x2f0)][_0x5cad94(0x3b5)][_0x5cad94(0x36d)])[_0x5cad94(0x272)](_0x353c46(_0x22845a=>_0x22845a[_0x5cad94(0x196)]===_0xdbf232[_0x5cad94(0x1ba)]),_0x4c6098(0x10))[_0x5cad94(0x2e2)](()=>{const _0x305fb7=_0x5cad94;this[_0x305fb7(0x133)]();}));}};os=Vo([ht(0x1,_0x3099f4(_0x305dc6)),ht(0x2,_0x3099f4(Ve)),ht(0x3,_0x45feb8),ht(0x4,_0x3099f4(_0x959a84))],os);const Go=0x1,Yo=1.5;class Ko extends _0x22656b{constructor(_0x21b87c,_0x43e1dd){const _0x10eee6=_0xefeb96;super(_0x21b87c,_0x43e1dd),g(this,_0x10eee6(0x45b)),g(this,_0x10eee6(0x235),!0x1),g(this,_0x10eee6(0x416)),g(this,_0x10eee6(0x47d),''),g(this,'_labelPosition','top'),g(this,_0x10eee6(0x397)),(_0x43e1dd&&this[_0x10eee6(0x107)](_0x43e1dd),this['onPointerEnter$'][_0x10eee6(0x1fe)](()=>this[_0x10eee6(0x107)]({'hovered':!0x0})),this[_0x10eee6(0x414)][_0x10eee6(0x1fe)](()=>this[_0x10eee6(0x107)]({'hovered':!0x1})));}[_0xefeb96(0x107)](_0x5dd962){const _0x48786f=_0xefeb96;var _0x4f90c4,_0x1cff00,_0x4af2ee,_0x1ab5e1,_0x5ae199,_0x26bb85;this['_color']=(_0x4f90c4=_0x5dd962[_0x48786f(0x4c3)])!=null?_0x4f90c4:this[_0x48786f(0x45b)],this[_0x48786f(0x235)]=(_0x1cff00=_0x5dd962[_0x48786f(0x207)])!=null?_0x1cff00:this[_0x48786f(0x235)],this[_0x48786f(0x416)]=(_0x4af2ee=_0x5dd962[_0x48786f(0x2a8)])!=null?_0x4af2ee:this[_0x48786f(0x416)],this[_0x48786f(0x47d)]=(_0x1ab5e1=_0x5dd962[_0x48786f(0x21f)])!=null?_0x1ab5e1:this[_0x48786f(0x47d)],this[_0x48786f(0x48e)]=(_0x5ae199=_0x5dd962['labelPosition'])!=null?_0x5ae199:this['_labelPosition'],this['_backgroundColor']=(_0x26bb85=_0x5dd962[_0x48786f(0x27d)])!=null?_0x26bb85:this[_0x48786f(0x397)],this['transformByState']({'width':_0x5dd962['width'],'height':_0x5dd962[_0x48786f(0x169)]});}[_0xefeb96(0x46a)](_0x33d162){const _0x33e80c=_0xefeb96,{row:_0x2a5388,column:_0x2950a7}=_0x33d162;if(_0x2a5388>=this['_range'][_0x33e80c(0x44c)]&&_0x2a5388<=this['_range'][_0x33e80c(0x3d6)]&&_0x2950a7>=this[_0x33e80c(0x416)]['startColumn']&&_0x2950a7<=this['_range'][_0x33e80c(0x303)]){this[_0x33e80c(0x107)]({'hovered':!0x0});return;}this[_0x33e80c(0x107)]({'hovered':!0x1});}[_0xefeb96(0x3d9)](_0x3e638c){return!0x1;}[_0xefeb96(0x24c)](_0xadfeee){const _0x50504f=_0xefeb96;_0x57a736['drawWith'](_0xadfeee,{'width':this[_0x50504f(0x475)],'height':this['height'],'strokeWidth':Yo,'stroke':this[_0x50504f(0x45b)],'evented':!0x1,'fill':this[_0x50504f(0x397)]}),this[_0x50504f(0x235)]&&(_0xadfeee[_0x50504f(0x2b8)](),_0xadfeee[_0x50504f(0xe0)](0x1,0x0,0x0,0x1,this[_0x50504f(0x475)],this[_0x50504f(0x48e)]===_0x50504f(0x46d)?0x0:-nt),Ot[_0x50504f(0x343)](_0xadfeee,{'text':this['_name'],'color':this[_0x50504f(0x45b)]}),_0xadfeee[_0x50504f(0x122)]());}}var zo=Object['defineProperty'],qo=Object[_0xefeb96(0x336)],Xo=(_0x146221,_0x20bfb7,_0x1f450a,_0x229188)=>{for(var _0x56f3db=_0x229188>0x1?void 0x0:_0x229188?qo(_0x20bfb7,_0x1f450a):_0x20bfb7,_0x4c720c=_0x146221['length']-0x1,_0x186083;_0x4c720c>=0x0;_0x4c720c--)(_0x186083=_0x146221[_0x4c720c])&&(_0x56f3db=(_0x229188?_0x186083(_0x20bfb7,_0x1f450a,_0x56f3db):_0x186083(_0x56f3db))||_0x56f3db);return _0x229188&&_0x56f3db&&zo(_0x20bfb7,_0x1f450a,_0x56f3db),_0x56f3db;},kt=(_0x196cc2,_0xd1fe53)=>(_0x45a218,_0x1251f8)=>_0xd1fe53(_0x45a218,_0x1251f8,_0x196cc2);const Jo=0x1389;let as=class extends _0x2f42db{constructor(_0x119877,_0x401742,_0x595081,_0x3748da){const _0x21cf20=_0xefeb96;super(),g(this,'_cursors',new Set()),g(this,_0x21cf20(0x166),null),(this[_0x21cf20(0x2f0)]=_0x119877,this[_0x21cf20(0x14e)]=_0x401742,this[_0x21cf20(0x112)]=_0x595081,this[_0x21cf20(0x48d)]=_0x3748da,this['_init']());}[_0xefeb96(0x411)](){const _0x334182=_0xefeb96;this[_0x334182(0x14e)][_0x334182(0x237)][_0x334182(0x272)](_0x4c9419(this[_0x334182(0x18b)]),_0x26b330(_0x126acc=>{const _0x13cf4f=_0x334182;if(_0x126acc){const _0x2258be=_0x126acc[_0x13cf4f(0x215)];return _0x2a2925(this[_0x13cf4f(0x112)]['getCollabCursors$'](this[_0x13cf4f(0x2f0)][_0x13cf4f(0x4b1)]),this[_0x13cf4f(0x48d)]['currentTheme$'])[_0x13cf4f(0x272)](_0x348356(([_0xf43445,_0x37aa1d])=>{const _0x1a94df=_0x13cf4f,_0x2745d1=new Map();return _0xf43445[_0x1a94df(0x267)]((_0x5e7165,_0x27519e)=>{const _0x4942bb=_0x1a94df;if(_0x5e7165[_0x4942bb(0x496)]===_0x2258be){const _0x170a55={..._0x5e7165};_0x170a55[_0x4942bb(0x4c3)]=_0x37aa1d[_0x5e7165[_0x4942bb(0x4c3)]],_0x2745d1[_0x4942bb(0xf2)](_0x27519e,_0x170a55);}}),{'skeleton':_0x126acc,'cursors':_0x2745d1};}));}return _0x59a608({'skeleton':null,'cursors':new Map()});}))[_0x334182(0x2e2)](({skeleton:_0x4e3923,cursors:_0x2dd063})=>{const _0x2aee76=_0x334182;this[_0x2aee76(0x455)](),_0x4e3923&&this['_updateCollabCursors'](_0x4e3923,_0x2dd063);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x334182(0x2e2)](_0x392e29=>{const _0x4cd0af=_0x334182;if(_0x392e29==null)return;const {skeleton:_0x46434d}=_0x392e29,{scene:_0x236ab6}=this[_0x4cd0af(0x2f0)];_0x236ab6['onPointerMove$'][_0x4cd0af(0x1fe)](_0x3d4248(_0x6ab3a6=>{const _0x123b7f=_0x4cd0af;var _0x2b861a,_0x3fff38;const {offsetX:_0x4f0246,offsetY:_0x596055}=_0x6ab3a6,{x:_0x5ed2d3,y:_0x415aa9}=_0x236ab6[_0x123b7f(0x470)](_0x6b9a55[_0x123b7f(0x22c)]([_0x4f0246,_0x596055])),{scaleX:_0xc16e14,scaleY:_0x759216}=_0x236ab6[_0x123b7f(0x3ee)](),_0x1f7eaf=_0x236ab6['getViewport'](_0x8ed84e['VIEW_MAIN']),_0xec388=_0x236ab6[_0x123b7f(0x362)](_0x6b9a55[_0x123b7f(0x22c)]([_0x5ed2d3,_0x415aa9]),_0x1f7eaf),_0x2d0d55=_0x46434d['getCellPositionByOffset'](_0x4f0246,_0x596055,_0xc16e14,_0x759216,_0xec388);((_0x2b861a=this[_0x123b7f(0x166)])==null?void 0x0:_0x2b861a[_0x123b7f(0x11d)])===_0x2d0d55['column']&&((_0x3fff38=this[_0x123b7f(0x166)])==null?void 0x0:_0x3fff38[_0x123b7f(0x1b9)])===_0x2d0d55[_0x123b7f(0x1b9)]||this[_0x123b7f(0xf1)][_0x123b7f(0x267)](_0x469938=>{const _0x490d37=_0x123b7f;_0x469938[_0x490d37(0x46a)](_0x2d0d55);});},0x64));});}[_0xefeb96(0x3d1)](_0x416d7b,_0x29925e){const _0x20eab0=_0xefeb96;var _0x1c97f0;const _0x867d19=(_0x1c97f0=this[_0x20eab0(0x14e)][_0x20eab0(0xd5)]())==null?void 0x0:_0x1c97f0['skeleton'];if(!_0x867d19)return;const _0x11d614=this[_0x20eab0(0x3c4)]();if(!_0x11d614)return;this[_0x20eab0(0xf1)][_0x20eab0(0x267)](_0x2d3435=>{_0x2d3435['makeDirty']();});const {scene:_0x4d7027}=_0x11d614,_0x3e9407=Zo(Array['from'](_0x29925e[_0x20eab0(0x12c)]()))[_0x20eab0(0x113)](_0x41da4b=>{const _0x27f66a=_0x20eab0,{color:_0xb4a647,range:_0x86f07c,name:_0x215ab7,selection:_0x2934eb,sheetID:_0x3ab702}=_0x41da4b,{startColumn:_0x289435,startRow:_0x398563,endColumn:_0x302dc6,endRow:_0x48046c}=_0x86f07c,_0xb305c4=_0x5b0afc(_0x398563,_0x289435,_0x4d7027,_0x867d19),_0x571d30=_0x5b0afc(_0x48046c,_0x302dc6,_0x4d7027,_0x867d19),{columnHeaderHeightAndMarginTop:_0x4f4087}=_0x867d19,{startX:_0x15550b,startY:_0x7d2244}=_0xb305c4,{endX:_0x4903c2,endY:_0x3c107b}=_0x571d30,_0x17a8ec=_0x4903c2-_0x15550b,_0xf68e34=_0x3c107b-_0x7d2244,_0x43ad4d={'labelPosition':_0x7d2244-_0x4f4087>=nt?_0x27f66a(0x220):_0x27f66a(0x46d),'sheetID':_0x3ab702,'range':_0x86f07c,'color':_0xb4a647,'name':_0x215ab7,'selection':_0x2934eb,'left':_0x15550b,'top':_0x7d2244,'width':_0x17a8ec,'height':_0xf68e34,'evented':!0x1,'zIndex':Jo};return new Ko(_0x215ab7,_0x43ad4d);});_0x4d7027[_0x20eab0(0x1b2)](_0x3e9407,Go),this[_0x20eab0(0xf1)]=new Set(_0x3e9407);}[_0xefeb96(0x455)](){const _0x4aba6d=_0xefeb96;var _0x31a3c5;(_0x31a3c5=this['_cursors'])==null||_0x31a3c5[_0x4aba6d(0x267)](_0x5a0795=>_0x5a0795[_0x4aba6d(0x3b4)]());}[_0xefeb96(0x3c4)](){const _0xaf4b97=_0xefeb96;return _0x13d2ac(this['_context'][_0xaf4b97(0x318)],this[_0xaf4b97(0x2f0)]);}};as=Xo([kt(0x1,_0x3099f4(_0x281e56)),kt(0x2,_0x3099f4(Ve)),kt(0x3,_0x3099f4(_0x959a84))],as);function Zo(_0x142c26){const _0x24cedc=_0xefeb96,_0x4aaa67=new Map();return _0x142c26[_0x24cedc(0x267)](_0x59e3d9=>{const _0x34a023=_0x24cedc;if(_0x4aaa67[_0x34a023(0x179)](_0x59e3d9[_0x34a023(0x2b3)])){const _0x5a677c=_0x4aaa67[_0x34a023(0x271)](_0x59e3d9['selection']);_0x5a677c[_0x34a023(0x21f)]+=',\x20'+_0x59e3d9[_0x34a023(0x21f)];}else _0x4aaa67['set'](_0x59e3d9[_0x34a023(0x2b3)],_0x59e3d9);}),Array[_0x24cedc(0x3da)](_0x4aaa67[_0x24cedc(0x12c)]());}var ee=function(){const _0x46daf1=_0xefeb96;return ee=Object[_0x46daf1(0x308)]||function(_0x53aa48){const _0x2d2327=_0x46daf1;for(var _0x1d58b6,_0x21cbec=0x1,_0x17d718=arguments[_0x2d2327(0x46c)];_0x21cbec<_0x17d718;_0x21cbec++){_0x1d58b6=arguments[_0x21cbec];for(var _0x982762 in _0x1d58b6)Object[_0x2d2327(0x43e)][_0x2d2327(0x422)]['call'](_0x1d58b6,_0x982762)&&(_0x53aa48[_0x982762]=_0x1d58b6[_0x982762]);}return _0x53aa48;},ee[_0x46daf1(0x24e)](this,arguments);},Qo=function(_0x20c93b,_0x3e6280){const _0x2ecc6e=_0xefeb96;var _0x1d36b7={};for(var _0x49cdbc in _0x20c93b)Object[_0x2ecc6e(0x43e)][_0x2ecc6e(0x422)][_0x2ecc6e(0x2e7)](_0x20c93b,_0x49cdbc)&&_0x3e6280['indexOf'](_0x49cdbc)<0x0&&(_0x1d36b7[_0x49cdbc]=_0x20c93b[_0x49cdbc]);if(_0x20c93b!=null&&typeof Object[_0x2ecc6e(0x356)]==_0x2ecc6e(0x274)){for(var _0x39605a=0x0,_0x49cdbc=Object[_0x2ecc6e(0x356)](_0x20c93b);_0x39605a<_0x49cdbc[_0x2ecc6e(0x46c)];_0x39605a++)_0x3e6280['indexOf'](_0x49cdbc[_0x39605a])<0x0&&Object[_0x2ecc6e(0x43e)]['propertyIsEnumerable'][_0x2ecc6e(0x2e7)](_0x20c93b,_0x49cdbc[_0x39605a])&&(_0x1d36b7[_0x49cdbc[_0x39605a]]=_0x20c93b[_0x49cdbc[_0x39605a]]);}return _0x1d36b7;},Ts=_0x1fd374(function(_0x5ff52b,_0x59e09b){const _0x2b8fae=_0xefeb96;var _0x29cffe=_0x5ff52b[_0x2b8fae(0x216)],_0x938a2e=_0x5ff52b['id'],_0x2b4322=_0x5ff52b['className'],_0x3da8cb=_0x5ff52b[_0x2b8fae(0x412)],_0x409ec6=Qo(_0x5ff52b,['icon','id','className','extend']),_0x40815f=_0x2b8fae(0x205)['concat'](_0x938a2e,'\x20')['concat'](_0x2b4322||'')[_0x2b8fae(0x4ac)](),_0x4aeeda=_0x315c52('_'[_0x2b8fae(0x1e4)](sa()));return Mi(_0x29cffe,''[_0x2b8fae(0x1e4)](_0x938a2e),{'defIds':_0x29cffe[_0x2b8fae(0x1d3)],'idSuffix':_0x4aeeda[_0x2b8fae(0x1f0)]},ee({'ref':_0x59e09b,'className':_0x40815f},_0x409ec6),_0x3da8cb);});function _0x41ec(){const _0x1348ca=['AES','textRanges','getCollabEntity','filter','getOwnPropertyDescriptor','fromCharCode','InsertRowCommandId','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','createElement','_onUserJoin','loadOfflineData','getTypeOfUnitDisposed$','red300','href','_assignedColors','onTransformSelections','key','drawWith','sid','getImage','RECT','compute','exhaustSavingTask','entries','_status$','_onOffline','unshift','_clearUndo','updateOfflineData','_type','_onJoinRoomEvent','UNIVER_SLIDE','slice','COLLAB_SUBMIT_CHANGESET_URL','number','4375674YowxjX','getOwnPropertySymbols','_getCurrentRevision','_scheduleHeartbeat','setWaitCount','_socketMessageSubscription','/new_changes','CONNECTOR_DATA_TOO_LARGE','_resendTimer','saveOfflineData','location','_map','mixIn','getVpScrollXYInfoByPosToVp','COMPRESS_MUTATION_SEND','FAIL','__esModule','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','LIVESHARE_REQUEST_HOST','FileId','_transitionLocked','RETRY_CONNECTING_MAX_COUNT','enc','UNAUTHENTICATED','onTransformChange$','_changesetReqId','onRemoteRej','_loadSheet','rgba(255,\x20255,\x20255,\x200.01)','sessionStatus$','salt','none','toLowerCase','onTransformRemoteChangesetByStateCache','[CollaborationEntity]','CHANGESET_ACK','close','_onConnectionFailed','encode','_beforeCloseService','_cursorInfo$','csShouldRetryEvent','onReady','updatePermissionObjEvent','PERMISSION_DENIED','_config','getRenderById','pad','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','HEADER_MENU','words','CHANGESET_REVISION_CONFILICT','_socketService','loginUrlKey','onRemoteChangeset','string','onRemoteAck','_scheduleClearOtherTimer','/universer-api/snapshot','PENDING','shouldCloseConn','_tryReconnect','_onCombEvent','onStateChange','HttpImport','onCommandExecuted','_backgroundColor','initWorkbookPermissionChange','_drawRectRange','_rescheduleHeartbeat','liveShareOperation','post','defs','_applyRemoteChangeset','1em','_removeClearOtherTimer','collaboration.single-unit.warning','_localStorageService','Could\x20not\x20dynamically\x20require\x20\x22','_transformStateCache','fillStyle','removeParam','url(#$1','mutations','open$','_handler','_http','Base','permission.title','create','purple300','IDLE','SNAPSHOT_INVALID_SNAPSHOT','fetch_missing','AWAITING','dispose','engine','getRangePointData','setParam','UNRECOGNIZED','_doCryptBlock','#fff','/universer-api/stream/file/upload','objects','collabCursorState$','doc.mutation.rich-text-editing','decryptBlock','max','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','socket$','resolve','_getSheetObject','CHANGESET_REJ','YUUMI_UNABLE_LOAD_URL','registerHTTPInterceptor','body','_getSendChangesetTimeout','submit\x20changeset\x20error!','_createHmacHelper','_startCollaboration','_initMergeInterceptor','asObservable','off-line-single_clip0_910_343','min','_updateCollabCursors','_checkMissing','all','_timeoutTimer','_minBufferSize','endRow','_getScale','_transformService','triggerDblclick','from','fillRule','transformStack\x20failed!','collab-client.tooltip.reconnect','_onLocalMutation','APPLY_REVISION_CONFILICT','_docTransformIMECacheService','getUnitType','put','ciphertext','exports','AWAITING_WITH_PENDING','clamp','toString','iterations','Hex','SUCCUSS','WordArray','awaiting_with_pending','_collaborationController','getAncestorScale','sin','_clearHeartbeatTimer','substring','disableLocalCache','popstate','ALREADY_EXISTS','_initStatusListener','image/jpg','m2Prime','_loadDoc','4LBiFfM','_removeRoom','_render','disposeUnit','withCredentials','UNIVER_PROJECT','_id','_getSaveTimeout','setItem','_doReset','_createSocket','SNAPSHOT_SERVER_URL_KEY','editingUnit','M0\x200H16V16H0z','JOINING','executeCommand','urlChange$','_throwTelemetryCollaborationNewChangeset','getUniverSheetInstance','onTransformState','send','transformMutationsWithChangeset','parse','_waitForHeartbeatResponse','_init','extend','_tryEnsureSocket','onPointerLeave$','_exhaustRemoteChangesetQueue','_range','conflict','_oKey','_instanceService','liveShareNewHost','syncEditingCollabCursor','&assign=','hide','_heartbeatTimer','incrementRevOfUnit','UnitSnapshot','getMergeData','hasOwnProperty','getTypeOfUnitAdded$','_ws','toggleOffline','includes','symbol','roomInfos','_commentUpdate$','_getLoginPath','_stopTelemetryCollaborationNewChangeset','_getAPIPrefix','COMPLETION_FINISHED','_anchorDot','onload','joinRsp','find','_remoteChangesetQueue','setInterval','_append','_retryConnectingTimer','InsertRangeMoveRightCommandId','add','Pkcs7','UnitEmbedded','79290VLKjaG','/universer-api/comb','_startSheetCollabCursor','NOT_COLLAB','prototype','ERROR_IMAGE_TYPE','bind','origin','resourceIDs','setAlpha','_transformUndoRedoStack','_startTelemetryCollaborationNewChangeset','_syncEditingCollabCursorService','getImageSourceCache','awaitingChangeset','_colorAssignService','collaboration.closeRoom','_roomMembers','startRow','crypto','_sender','_ENC_XFORM_MODE','_anchor','UNIVER_SHEET','_transformPreviousActiveRange','deleteCollaborator','xlink:href','_removeCollabCursors','_saveTaskMap','getUnit','clearTimeout','univer-pro.collaboration-client-socket-service','univer-online-status-title','_color','_userManagerService','onRemoteRetry','_awaitingChangeset','findNodePositionByCharIndex','_prevBlock','localeService','allowed','Decryptor','_collaborationPaused','_shapes','defineProperty','_clearLocalCache','src','getOffsetConfig','onMouseMove','$super','length','bottom','transformMutation','selections','getRelativeToViewportCoord','_transformUndoredo','interceptor','SEND_CHANGESET_TIMEOUT','enableAuthServer','width','commentUpdate$','push','/fetchmissing?from=','_onUserLeave','_collabSessionService','session.collaboration-timeout','Unknown\x20user','_name','fromCollab','_nDataBytes','synced','svg','_handleEvent','rev','OFFLINE','_initRequestHeader','_sessionStatus$','_substituteUndoStack','toggleOnline','collabStatus.conflict','HMAC','_ensureSubject','LIVESHARE_NEW_HOST','_themeService','_labelPosition','transformRemoteChangeset','UNDEFINED','_clearScheduledTask','Utf8','with','setCurrentUser','NOT_FOUND','sheetID','_updateSubUnitFromURLParams','[SyncedState]:\x20received\x20acknowledgement.','FETCH_MISSING','randomBytes','splice','_candidateSocket','_state$','isArray','collaboration-client.config','__Key__','HELLO','_clearTimeoutTimer','APPLY_DUPLICATED','currentColor','currentTheme$','DEFAULT_FILE_NAME','collabStatus.synced','blockSize','visibilitychange','getDeserializedSheetBlock','telemetry\x20info\x20is\x20not\x20initialized','trim','offline','univer-online','csRejEvent','[CollaborationUndoRedoService]','unitId','_onRecvEvent','objectID','UNIVER_DOC','routeKey','Base64','snapshotServerUrl','_substituteRedoStack','_fetchMissChangesets','Encryptor','_notificationService','awaiting','_registerRenderDependencies','text','/object/','COLLAB_WEB_SOCKET_URL','socket\x20close','_getRedoStack','color','toRgbString','socketService','APPLY_PERMISSION_DENIED','addObject','_toggleOnline','close$','formatter','/unit/','_replaceFileID','registerOnClose','_transformStack','cursorInfo$','catch','SNAPSHOT_URL_KEY','getCurrent','MSG_FOR_ERROR','PERMISSION_REJ','_refRangeService','memberID','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','unitID','_collabCursorState$','stopTime','7198040LWaGvM','JOIN','transform','getCollabEntity$','reqId','displayName','getResourcesRequest','onMissingChangesets','_onRefRangeChange','LOCAL_CACHE_INTERVAL','floor','editing\x20status\x20changed\x20to','_sessions','ONLINE','_onCursorUpdate','reject','BASE64','_onCursorDelete','_collaborationTimeoutTimer','_cursors','set','_scheduleSaving','_online','generateRandomId','getUnitId','_isPermissionRej','encrypt','_getUploadFileURL','setUndoRedoMutationParamsCache','deepClone','onPointerEnter$','downloadEndpointUrl','collab-text-range-','isActive','moveTo','&source=','isPermissionRej','append','colorChannel1','collab-text-anchor-','_collaborationSessionService','setShapeProps','byteLength','_schedule','_clearOtherTimers','action','[OfflineState]:\x20received\x20rejection.','_scene','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_socket','capture','_decreaseWaiting','_collabCursorController','map','_getMergeRange','UNKNOWN_CODE','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','_document','_compressMutationService','_docSkeletonManagerService','onlineStatusTitle','_memberService','_initDependencies','column','keySize','_initResize','_entities','_handleLeaveEvent','restore','_getUndoStack','getRoom','docStateChange$','not_collab','_xformMode','onCommentUpdate','onMissedChangesetFetched','conflict.title','_undoRedoService','values','then','_drawAnchor','LICENSE_IMPORT_SIZE_EXCEEDED','onSyncEditingCollabCursor','updatePermissionPoint','Error','_refreshCollabCursors','cursorInfo','userID','getMemberID','saveSheetBlock','buffer','socket\x20open.','_keyPriorReset','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getSheetId','_hover','cfg','updateCollaborator','decrypt','onTransformIME','objectType','_invKeySchedule','_createInitialStateImpl','_onConflict','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_disableEditing','_waitCount','LICENSE_DISTRO_REJECTED','_textBubble','image/png','ranges','off-line-single','_sheetSkeletonManagerService','updateCursorEvent','[OfflineState]:\x20received\x20acknowledgement.','_updateState','SUBMIT_CHANGESET','msCrypto','YUUMI_SUBSCRIPTION_NOT_FOUND','algo','refreshPermission','_initUnitPermissionChange','RemoveRowCommandId','Hasher','getRandomValues','objectActions','NO_OTHER_CLIENTS_EDITING','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_doFinalize','black','target','[FetchMissState]','_hash','getDocRanges','_cursorShapes','ACTIVE_UNIT_EVENT_CHANNEL','_lastPointer','_listenToOfflineEvent','/allowed','height','_docSkeleton','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','batchAllowed','PSEUDO_FETCH_MISSING_RESULT','1095535IMYrjG','_unitID','show','getUnhiddenWorksheets','arc','getCollabCursors$','UniverIcon','LEAVE','7rNMSmD','_scheduleTimestamp','109594hSGUxq','has','_unlockTransition','ws://127.0.0.1:8000/universer-api/comb/connect','_state','clone','HEARTBEAT_TIMEOUT','_setupBeforeClosingHandler','_onRemoteRetry','json','_urlService','[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.','__creator','_cipher','getFocusedUnit','every','getConfig','collabStatus.syncing','UPDATE_CURSOR','dispose$','error','POST','ERROR_IMAGE','uni.network.url-service','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','621603PRAIoc','_sheetTransformSelectionsService','createEncryptor','_session','enableSingleActiveInstanceLock','type','fetchThroughInterceptors','reconnect','sessionStatus','uploadFileServerUrl','enableOfflineEditing','_send','format','closePath','state$','mode','COMMENT_UPDATE','encryptBlock','[CollaborationSession]','online','_snapshotService','undoState','_initCloseConn','_messageService','Undefined','readInt32LE','save\x20fail\x20reason\x20is\x20','_eventUnsubscribe','equals','csAckEvent','INVALID_ARGUMENT','_sendingTimer','assignAColorForMemberID','addObjects','kdf','override','repeat','_onFetchMissResult','indexOf','EXCHANGE_SIGN_URL_SERVER_URL_KEY','row','resize','now','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','resend','CONFLICT','transformSelections','_docStateChangeManagerService','activeSheet$','searchParams','TOO_MANY_REQUESTS','readAsDataURL','message$','focused$','UPDATE_PERMISSION_OBJ','transformStateCache','/universer-api/oidc/authpage','getInterceptPoints','clearInterval','evenodd','join','_setupSubUnitSync','_updateLocalCache','getActiveRange','_getDownloadEndpointURL','hasher','defIds','size','setShowComponents','addEventListener','_revisionService','_showConflictNotification','_data','state','randomUUID','_getSnapshotAPIPrefix','_doProcessBlock','complete','unsubscribe','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_getCtorByUniverType','OffLineSingle','baseRev','concat','_joinRoom','UNIVER_UNKNOWN','redoState','_createInitialState','reset','ENSURE_SNAPSHOT_EXECUTION','_createHelper','update','unload','_initEventListeners','updateMember','current','531wxjeeM','_updateLocalCursor','LIVESHARE_TERMINATE','data','YUUMI_RATE_OVER_LIMIT','LIVESHARE_OPERATION','_process','originalMeta','translate(.97)','_onMessage','onSendChangeset','OpenSSL','font','subscribeEvent','_registerDependencies','_toggleOffline','CBC','url','use','_logService','univerjs-icon\x20univerjs-icon-','_colorIndex','hovered','roles','COMPRESS_MUTATION_APPLY','unpad','replaceState','Latin1','LICENSE_MAX_UNITS_EXCEEDED','StreamCipher','onRendered','HEARTBEAT','_getAPIPrefixPath','_getSignURL','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_univerInstanceService','sheetId','icon','collabStatus.notCollab','_undoStacks','_replayCachedMutations','padding','getCurrentUser','_onRemoteRejected','status','_changesetSessionId','name','top','getStateCache','charCodeAt','MD5','_incrementRevisionNumber','removeMember','registerRefRange','gold400','/collaborator','pushState','createCollaborator','SHOULD_CLOSE_CONN','FromArray','getWorkbookSelections','_drawTextRange','getTime','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_redoStacks','collaborators','HmacSHA1','_listenToOnlineEvent','_hovered','_localCacheService','currentSkeleton$','getValue','univer-pro.collaboration-client.single-active-unit-service','conflict.content','code','_createHandler','on-line-single_clip0_910_349','CHANGESET_SHOULD_RETRY','isEditing','_mode','execute','Malformed\x20UTF-8\x20data','TEXT','_reverseMap','getActiveSheet','getSkeleton','_hasher','revision','copyFileMeta','clipPath','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_draw','_roomMembers$','apply','getSheetBlock','MUTATION','contains','getCurrentUnitForType','appendMutation','title','actions','lineTo','_transformIMECache','OTHER_CLIENTS_EDITING','/-/object/-/batch_allowed','createInstance','INTERNAL_ERROR','collabSubmitChangesetUrl','...','_telemetryInfo','reduce','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_HTTPService','path','_unitStatus','transformIMECache','collaboration-session-retry','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','forEach','random','_injector','_pendingMutations','onStarting','_members','responseType','USERS_ENTER','_transformSelections','_parse','get','pipe','getMember','function','_updateStatus','init','file','default','[DataLoaderController]','YUUMI_URL_COL_OUT_OF_RANGE','_iKey','_acknowledgedAwaitingChangeset','backgroundColor','status$','_handleJoinEvent','SHA1','session.will-retry','_telemetryService','error$','createDecryptor','unitId\x20is\x20not\x20found','_docSyncEditingCollabCursorService','connection\x20error','[CollaborationSessionService]','collaboratorID','_docTransformStateCacheService','split','&to=','children','_transformRemoteChangesetByStateCache','url(#off-line-single_clip0_910_343)','_retryCount','setTimeout','/universer-api/file/{fileID}/sign-url','getUndoRedoMutationParamsCache','registerRenderModule','onlineStatus','stringify','_event$','\x20in\x20_schedule.','Cipher','USERS_LEAVE','_transformHistoryAndStateStack','cmd','fillText','_singleActiveUnitService','_commandService','_key','_uiPartsService','image/bmp','hostname','_disabled','debug','finalize','sigBytes','range','startsWith','_DEC_XFORM_MODE','charAt','getCurrentRevOfUnit','_saveCache','_snapshotServerService','permissionRejEvent','_httpService','headers','_sendHeartbeatTimer','selection','delete','tag','byteOffset','fetchMissingChangesets','save','createSocket','_initCommandExecutedListener','disposeWithMe','[CollaborationState]:\x20apply\x20error!','_syncEditingCollabCursor','newValue','closeSession','result','session','fill','event$','DeleteRangeMoveLeftCommandId','registerBeforeClose','RECV','x-univer-host','_onRemoteACK','BlockCipher','m1Prime','blue400','transformChangesets','authzUrl','pending','LIVESHARE_FETCH_OPERATIONS','LICENSE_EXPORT_SIZE_EXCEEDED','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_onRemoteChangeset','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_resendTimeout','_scheduleCollaborationTimeoutTimer','eventID','_hideTimer','div','LOGIN_URL_KEY','sendChangesetTimeout','c1Prime','_transformRemoteChangesetByIMECache','_clearRedo','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_unitOnClients','clear','UUID','subscribe','replaceTextRanges','roomMembers$','unknown','InsertRangeMoveDownCommandId','call','_selfUnitIDs','getParam','_cachedData','idSuffix','UNIVER_COLLABORATION_CLIENT_PLUGIN','_nRounds','Warning','workbook','_context','next','object','/block/','_resendWithTimeout','pluginName','changesets','INGEST','requestParams','univer-online-status','_onConnectionOpen','NoPadding','APPLY_NON_SEQUENTIAL_REVISION','_permissionService','_executeRemoteChangeset','subunit','644201JVZmaF','_entityInit$','requireSession','endColumn','params','BufferedBlockAlgorithm','round','_startDocCollabCursor','assign','_initStatusComponent','lib','ceil','_commentService','leaveEvent','_change$','_lockTransition','[PendingState]:\x20received\x20rejection.','listRoles','_localeService','SerializableCipher','SNAPSHOT_HAS_BEEN_REMOVED','UNKNOWN_CMD','_submitChangeset','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','unit','fetchMiss','history','commentUpdateEvent','collaMsg','measureText','getItem','_queuedRemoteChangesets','retryConnectingInterval','onTransformRemoteChangesetByIMECache','_shouldReportTelemetry','getCurrentSelections','_imageSourceCache','[CollaborationSessionService]:\x20socket\x20error','univer-offline','EvpKDF','_socketReady','_socket$','_keySchedule','_configService','0\x200\x2017\x2016','RemoveColCommandId','attrs','APPLY_REJECT','_renderManagerService','confirm'];_0x41ec=function(){return _0x1348ca;};return _0x41ec();}function Mi(_0x46502c,_0x3a1f93,_0x5ab62b,_0x1ccaf2,_0x57fc42){const _0x3f0220=_0xefeb96;return _0x57641b(_0x46502c[_0x3f0220(0x2b5)],ee(ee({'key':_0x3a1f93},ea(_0x46502c,_0x5ab62b,_0x57fc42)),_0x1ccaf2),(ta(_0x46502c,_0x5ab62b)[_0x3f0220(0x28d)]||[])[_0x3f0220(0x113)](function(_0x4166c6,_0x1e041b){const _0x25e0c2=_0x3f0220;return Mi(_0x4166c6,''['concat'](_0x3a1f93,'-')[_0x25e0c2(0x1e4)](_0x46502c[_0x25e0c2(0x2b5)],'-')[_0x25e0c2(0x1e4)](_0x1e041b),_0x5ab62b,void 0x0,_0x57fc42);}));}function ea(_0x598fae,_0x561ae7,_0x20e20f){const _0x36afe3=_0xefeb96;var _0x49a5f3=ee({},_0x598fae[_0x36afe3(0x32e)]);_0x20e20f!=null&&_0x20e20f[_0x36afe3(0x104)]&&_0x49a5f3[_0x36afe3(0x2c2)]===_0x36afe3(0x104)&&(_0x49a5f3['fill']=_0x20e20f[_0x36afe3(0x104)]);var _0x2bb97b=_0x561ae7[_0x36afe3(0x1d3)];return!_0x2bb97b||_0x2bb97b[_0x36afe3(0x46c)]===0x0||(_0x598fae['tag']===_0x36afe3(0x203)&&_0x49a5f3[_0x36afe3(0x454)]&&(_0x49a5f3[_0x36afe3(0x454)]=_0x49a5f3[_0x36afe3(0x454)]+_0x561ae7[_0x36afe3(0x2eb)]),Object[_0x36afe3(0x349)](_0x49a5f3)[_0x36afe3(0x267)](function(_0x5496ba){const _0x44117a=_0x36afe3;var _0x34880e=_0x5496ba[0x0],_0x4d4300=_0x5496ba[0x1];typeof _0x4d4300=='string'&&(_0x49a5f3[_0x34880e]=_0x4d4300['replace'](/url\(#(.*)\)/,_0x44117a(0x3a7)[_0x44117a(0x1e4)](_0x561ae7[_0x44117a(0x2eb)],')')));})),_0x49a5f3;}function ta(_0x127676,_0x1705fc){const _0x1b1816=_0xefeb96;var _0x3063db,_0x346a65=_0x1705fc['defIds'];return!_0x346a65||_0x346a65[_0x1b1816(0x46c)]===0x0?_0x127676:_0x127676[_0x1b1816(0x2b5)]===_0x1b1816(0x39d)&&(!((_0x3063db=_0x127676['children'])===null||_0x3063db===void 0x0)&&_0x3063db['length'])?ee(ee({},_0x127676),{'children':_0x127676[_0x1b1816(0x28d)][_0x1b1816(0x113)](function(_0x24fbe2){const _0x130cf5=_0x1b1816;return typeof _0x24fbe2[_0x130cf5(0x32e)]['id']==_0x130cf5(0x38c)&&_0x346a65&&_0x346a65[_0x130cf5(0x1b7)](_0x24fbe2[_0x130cf5(0x32e)]['id'])>-0x1?ee(ee({},_0x24fbe2),{'attrs':ee(ee({},_0x24fbe2[_0x130cf5(0x32e)]),{'id':_0x24fbe2[_0x130cf5(0x32e)]['id']+_0x1705fc['idSuffix']})}):_0x24fbe2;})}):_0x127676;}function sa(){const _0x51f620=_0xefeb96;return Math['random']()[_0x51f620(0x3e7)](0x24)[_0x51f620(0x3f1)](0x2,0x8);}Ts[_0xefeb96(0xe3)]=_0xefeb96(0x174);var ia={'tag':_0xefeb96(0x481),'attrs':{'fill':_0xefeb96(0x374),'viewBox':'0\x200\x2016\x2016','width':_0xefeb96(0x39f),'height':_0xefeb96(0x39f)},'children':[{'tag':'g','attrs':{'clipPath':_0xefeb96(0x28f)},'children':[{'tag':_0xefeb96(0x262),'attrs':{'stroke':'currentColor','d':_0xefeb96(0x116),'strokeLinecap':_0xefeb96(0x306),'strokeLinejoin':_0xefeb96(0x306),'strokeWidth':1.2}}]},{'tag':_0xefeb96(0x39d),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0xefeb96(0x3cf)},'children':[{'tag':_0xefeb96(0x262),'attrs':{'fill':_0xefeb96(0x3ba),'d':_0xefeb96(0x406)}}]}]}],'defIds':[_0xefeb96(0x3cf)]},xi=_0x1fd374(function(_0x3503fc,_0x4da146){const _0x5b2f84=_0xefeb96;return _0x57641b(Ts,Object[_0x5b2f84(0x308)]({},_0x3503fc,{'id':_0x5b2f84(0x14d),'ref':_0x4da146,'icon':ia}));});xi[_0xefeb96(0xe3)]=_0xefeb96(0x1e2);var na={'tag':_0xefeb96(0x481),'attrs':{'fill':'none','viewBox':_0xefeb96(0x32c),'width':_0xefeb96(0x39f),'height':_0xefeb96(0x39f)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':_0xefeb96(0x4a4),'d':_0xefeb96(0xda),'strokeLinecap':_0xefeb96(0x306),'strokeLinejoin':_0xefeb96(0x306),'strokeWidth':1.2}}]},{'tag':_0xefeb96(0x39d),'attrs':{},'children':[{'tag':_0xefeb96(0x24a),'attrs':{'id':_0xefeb96(0x23d)},'children':[{'tag':_0xefeb96(0x262),'attrs':{'fill':_0xefeb96(0x3ba),'d':_0xefeb96(0x406),'transform':_0xefeb96(0x1f9)}}]}]}],'defIds':[_0xefeb96(0x23d)]},Li=_0x1fd374(function(_0xa356bc,_0x5041e7){return _0x57641b(Ts,Object['assign']({},_0xa356bc,{'id':'on-line-single','ref':_0x5041e7,'icon':na}));});Li[_0xefeb96(0xe3)]='OnLineSingle';function $i(_0x125305){const _0x2e9796=_0xefeb96;var _0x4510f7,_0x56cac6,_0x57b2b0='';if(typeof _0x125305=='string'||typeof _0x125305==_0x2e9796(0x354))_0x57b2b0+=_0x125305;else{if(typeof _0x125305==_0x2e9796(0x2f2)){if(Array['isArray'](_0x125305)){var _0x2fd5a9=_0x125305[_0x2e9796(0x46c)];for(_0x4510f7=0x0;_0x4510f7<_0x2fd5a9;_0x4510f7++)_0x125305[_0x4510f7]&&(_0x56cac6=$i(_0x125305[_0x4510f7]))&&(_0x57b2b0&&(_0x57b2b0+='\x20'),_0x57b2b0+=_0x56cac6);}else{for(_0x56cac6 in _0x125305)_0x125305[_0x56cac6]&&(_0x57b2b0&&(_0x57b2b0+='\x20'),_0x57b2b0+=_0x56cac6);}}}return _0x57b2b0;}function ra(){for(var _0x373932,_0x887f2d,_0x2e6c34=0x0,_0x17738e='',_0x5f0252=arguments['length'];_0x2e6c34<_0x5f0252;_0x2e6c34++)(_0x373932=arguments[_0x2e6c34])&&(_0x887f2d=$i(_0x373932))&&(_0x17738e&&(_0x17738e+='\x20'),_0x17738e+=_0x887f2d);return _0x17738e;}const oa='univer-online-status-icon',aa=_0xefeb96(0x45a),ca=_0xefeb96(0x2f9),ha=_0xefeb96(0x4ae),la=_0xefeb96(0x326),Ze={'onlineStatusIcon':oa,'onlineStatusTitle':aa,'onlineStatus':ca,'online':ha,'offline':la};function _0x4451(_0x175b60,_0x5856b1){const _0x41ec25=_0x41ec();return _0x4451=function(_0x445177,_0x3a68a4){_0x445177=_0x445177-0xd3;let _0x36d84b=_0x41ec25[_0x445177];return _0x36d84b;},_0x4451(_0x175b60,_0x5856b1);}function _a(_0x51f3df){const _0xa9388e=_0xefeb96;switch(_0x51f3df){case J[_0xa9388e(0x484)]:return'collabStatus.offline';case J[_0xa9388e(0x1be)]:return _0xa9388e(0x489);case J['FETCH_MISS']:return'collabStatus.fetchMiss';case J[_0xa9388e(0x43d)]:return _0xa9388e(0x217);case J[_0xa9388e(0x3b3)]:case J['AWAITING_WITH_PENDING']:return _0xa9388e(0x189);case J['SYNCED']:case J[_0xa9388e(0x390)]:return _0xa9388e(0x4a7);}}function ua(_0x4e3de1){const _0x1974b5=_0xefeb96,{status$:_0x9f88e9}=_0x4e3de1,_0xb446ed=_0x56d905(_0x9f88e9,J[_0x1974b5(0x43d)]),_0x28feaf=_0x373422(_0x6eefec),_0x11190c=_0x373422(Ae),_0x1b9638=_0xb446ed!==J[_0x1974b5(0x484)],_0x59af59=_0x28feaf['t'](_a(_0xb446ed)),_0x3f64ff=ra(Ze[_0x1974b5(0x295)],{[Ze[_0x1974b5(0x1a4)]]:_0x1b9638,[Ze['offline']]:!_0x1b9638}),_0x45f711=_0x1b9638?_0x592b57[_0x1974b5(0x33a)](Li,null):_0x592b57[_0x1974b5(0x33a)](xi,null),_0x8d71af=_0x39e7f2(()=>{const _0x13e843=_0x1974b5;_0x1b9638||_0x11190c[_0x13e843(0x198)]();},[_0x1b9638,_0x11190c]);function _0x267e82(){const _0x51d894=_0x1974b5;return _0x592b57[_0x51d894(0x33a)](_0x51d894(0x2d8),{'className':_0x3f64ff,'onClick':_0x8d71af},_0x592b57[_0x51d894(0x33a)](_0x51d894(0x2d8),{'className':Ze['onlineStatusIcon']},_0x45f711),_0x592b57[_0x51d894(0x33a)](_0x51d894(0x2d8),{'className':Ze[_0x51d894(0x11a)]},_0x59af59));}return _0x1b9638?_0x267e82():_0x592b57[_0x1974b5(0x33a)](_0x8385b8,{'title':_0x28feaf['t'](_0x1974b5(0x3dd))},_0x267e82());}var da=Object[_0xefeb96(0x466)],fa=Object[_0xefeb96(0x336)],va=(_0x4e5998,_0x6dfba,_0x446b46,_0x18c33d)=>{for(var _0x38b393=_0x18c33d>0x1?void 0x0:_0x18c33d?fa(_0x6dfba,_0x446b46):_0x6dfba,_0x5b0f42=_0x4e5998['length']-0x1,_0x2e89f9;_0x5b0f42>=0x0;_0x5b0f42--)(_0x2e89f9=_0x4e5998[_0x5b0f42])&&(_0x38b393=(_0x18c33d?_0x2e89f9(_0x6dfba,_0x446b46,_0x38b393):_0x2e89f9(_0x38b393))||_0x38b393);return _0x18c33d&&_0x38b393&&da(_0x6dfba,_0x446b46,_0x38b393),_0x38b393;},lt=(_0x1645b1,_0x115d53)=>(_0x2b16a4,_0x1c608f)=>_0x115d53(_0x2b16a4,_0x1c608f,_0x1645b1);let It=class extends _0x4f89fd{constructor(_0x8d60dc,_0xd9f651,_0x140920,_0x509cc0){const _0x2392e3=_0xefeb96;super(),g(this,_0x2392e3(0x34a),new _0x1d1c4b(J[_0x2392e3(0x43d)])),(this[_0x2392e3(0x214)]=_0x8d60dc,this[_0x2392e3(0x2a1)]=_0xd9f651,this[_0x2392e3(0x269)]=_0x140920,this[_0x2392e3(0x3ed)]=_0x509cc0,this[_0x2392e3(0x309)](),this[_0x2392e3(0x3f5)]());}['_initStatusListener'](){const _0x385c5f=_0xefeb96;this[_0x385c5f(0x2bb)](this['_univerInstanceService'][_0x385c5f(0x1c6)][_0x385c5f(0x272)](_0x18db0e(()=>{const _0x3be51e=_0x385c5f,_0x3a61fb=this['_univerInstanceService'][_0x3be51e(0x186)]();return _0x3a61fb?this[_0x3be51e(0x3ed)][_0x3be51e(0xe1)](_0x3a61fb[_0x3be51e(0xf6)]()):_0x59a608(null);}),_0x18db0e(_0x1426b8=>_0x1426b8?_0x1426b8[_0x385c5f(0x27e)]:_0x59a608(J[_0x385c5f(0x43d)])))['subscribe'](_0x286c35=>{const _0x3f5c58=_0x385c5f;this[_0x3f5c58(0x34a)][_0x3f5c58(0x2f1)](_0x286c35);}));}['_initStatusComponent'](){const _0x4df130=_0xefeb96;this[_0x4df130(0x2bb)](this[_0x4df130(0x2a1)]['registerComponent'](_0x26d639[_0x4df130(0x386)],()=>_0x3da318(ma({'status$':this[_0x4df130(0x34a)][_0x4df130(0x3ce)]()}),this[_0x4df130(0x269)])));}};It=va([lt(0x0,_0x3ca09d),lt(0x1,_0x3f682f),lt(0x2,_0x3099f4(_0x3676c8)),lt(0x3,_0x3099f4(it))],It);function ma(_0x4fc528){const {status$:_0x130d53}=_0x4fc528;return function(){const _0x33f060=_0x4451;return _0x592b57[_0x33f060(0x33a)](ua,{'status$':_0x130d53});};}const Hi=_0x346f91(_0xefeb96(0x18f));var pa=Object[_0xefeb96(0x466)],ga=Object[_0xefeb96(0x336)],Sa=(_0x1c1fc1,_0x3936dc,_0xf95294,_0x495518)=>{const _0x2d26f9=_0xefeb96;for(var _0x51c915=_0x495518>0x1?void 0x0:_0x495518?ga(_0x3936dc,_0xf95294):_0x3936dc,_0x72c73c=_0x1c1fc1[_0x2d26f9(0x46c)]-0x1,_0x35d375;_0x72c73c>=0x0;_0x72c73c--)(_0x35d375=_0x1c1fc1[_0x72c73c])&&(_0x51c915=(_0x495518?_0x35d375(_0x3936dc,_0xf95294,_0x51c915):_0x35d375(_0x51c915))||_0x51c915);return _0x495518&&_0x51c915&&pa(_0x3936dc,_0xf95294,_0x51c915),_0x51c915;},ke=(_0x109d72,_0x4e361b)=>(_0x8acf4b,_0x319a6d)=>_0x4e361b(_0x8acf4b,_0x319a6d,_0x109d72);let Ct=class extends _0x2f42db{constructor(_0x35c6fb,_0x5bc13a,_0x2dbb45,_0x1063c5,_0x1f6679,_0x148ba7){const _0x51570f=_0xefeb96;super(),this['_urlService']=_0x35c6fb,this[_0x51570f(0x204)]=_0x5bc13a,this['_commandService']=_0x2dbb45,this['_localCacheService']=_0x1063c5,this['_snapshotService']=_0x1f6679,_0x148ba7?_0x148ba7==null||_0x148ba7['whenReady']()[_0x51570f(0x12d)](()=>this[_0x51570f(0x411)]()):(this[_0x51570f(0x204)][_0x51570f(0x2a5)](_0x51570f(0x279),_0x51570f(0x2d3)),this[_0x51570f(0x411)]());}async['_init'](){const _0x3eeb02=_0xefeb96,_0x3e695a=this[_0x3eeb02(0x182)][_0x3eeb02(0x2e9)](_0x3eeb02(0x318)),_0x3c0ae7=this[_0x3eeb02(0x182)][_0x3eeb02(0x2e9)](_0x3eeb02(0x196));if(!_0x3e695a||!_0x3c0ae7){this[_0x3eeb02(0x204)][_0x3eeb02(0x2a5)](_0x3eeb02(0x279),_0x3eeb02(0x146));return;}switch(Number(_0x3c0ae7)){case ce[_0x3eeb02(0x451)]:{const _0x109be2=await this[_0x3eeb02(0x370)](_0x3e695a);this[_0x3eeb02(0x1ce)](_0x109be2);break;}case ce['UNIVER_DOC']:{await this['_loadDoc'](_0x3e695a);break;}default:{this[_0x3eeb02(0x204)][_0x3eeb02(0x18c)](_0x3eeb02(0x279),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0xefeb96(0x1ce)](_0x3a5a07){const _0x522e21=_0xefeb96;await this['_updateSubUnitFromURLParams'](_0x3a5a07),_0x3a5a07[_0x522e21(0x1c1)][_0x522e21(0x272)](_0x41a6cf(this['dispose$']))[_0x522e21(0x2e2)](_0x10672b=>{_0x10672b&&this['_updateURLWithCurrentState'](_0x10672b);}),this[_0x522e21(0x182)][_0x522e21(0x409)][_0x522e21(0x272)](_0x41a6cf(this[_0x522e21(0x18b)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x3a5a07));}['_updateURLWithCurrentState'](_0x5632a7,_0x3d1b8b=!0x1){const _0x565430=_0xefeb96,_0x4b0e98=this[_0x565430(0x182)]['getParam'](_0x565430(0x2ff));_0x5632a7['getSheetId']()!==_0x4b0e98&&this[_0x565430(0x182)][_0x565430(0x3b7)](_0x565430(0x2ff),_0x5632a7['getSheetId'](),_0x3d1b8b);}async[_0xefeb96(0x497)](_0x1175d5){const _0x4c8568=_0xefeb96;var _0x35f403;const _0xeb5d7d=this[_0x4c8568(0x182)]['getParam'](_0x4c8568(0x2ff));if(!_0xeb5d7d||!_0x1175d5['getSheetBySheetId'](_0xeb5d7d)){const _0x4d6939=_0x1175d5[_0x4c8568(0x171)]()[0x0],_0x4c7f7f=_0x1175d5['getSheetBySheetId'](_0x4d6939);if(!_0x4c7f7f)return;this['_updateURLWithCurrentState'](_0x4c7f7f,!0x0),await this[_0x4c8568(0x29f)][_0x4c8568(0x408)](_0x2f61e5['id'],{'unitId':_0x1175d5[_0x4c8568(0xf6)](),'subUnitId':_0x4d6939});return;}((_0x35f403=_0x1175d5[_0x4c8568(0x245)]())==null?void 0x0:_0x35f403[_0x4c8568(0x13c)]())!==_0xeb5d7d&&await this[_0x4c8568(0x29f)][_0x4c8568(0x408)](_0x2f61e5['id'],{'unitId':_0x1175d5[_0x4c8568(0xf6)](),'subUnitId':_0xeb5d7d});}async[_0xefeb96(0x370)](_0x218c6c){const _0x45ab8=_0xefeb96;let _0x54dfc3=0x0;const _0x976c95=await this[_0x45ab8(0x236)][_0x45ab8(0x33c)](_0x218c6c);return _0x976c95&&(_0x976c95['awaitingChangeset']||_0x976c95[_0x45ab8(0x3a8)][_0x45ab8(0x46c)]!==0x0)&&(_0x54dfc3=_0x976c95[_0x45ab8(0x483)]),_0x54dfc3===0x0&&this['_logService']['debug'](_0x45ab8(0x279),_0x45ab8(0x2de)),this['_snapshotService']['loadSheet'](_0x218c6c,_0x54dfc3);}async[_0xefeb96(0x3f8)](_0x267d4f){const _0xb624cf=_0xefeb96;let _0x3ad70a=0x0;const _0x229e94=await this[_0xb624cf(0x236)][_0xb624cf(0x33c)](_0x267d4f);return _0x229e94&&(_0x229e94[_0xb624cf(0x448)]||_0x229e94['mutations'][_0xb624cf(0x46c)]!==0x0)&&(_0x3ad70a=_0x229e94[_0xb624cf(0x483)]),_0x3ad70a===0x0&&this[_0xb624cf(0x204)]['debug'](_0xb624cf(0x279),_0xb624cf(0x2de)),this[_0xb624cf(0x1a5)]['loadDoc'](_0x267d4f,_0x3ad70a);}};Ct=Sa([ke(0x0,Hi),ke(0x1,_0x40d13a),ke(0x2,_0x45feb8),ke(0x3,_0x3099f4(q)),ke(0x4,_0x3099f4(_0x4f4dbd)),ke(0x5,_0x118e7e(_0x29360e))],Ct);var Ia=Object[_0xefeb96(0x466)],Ca=Object[_0xefeb96(0x336)],Ea=(_0x1b1052,_0x451cf8,_0x3b3cf8,_0x5d51aa)=>{for(var _0x293730=_0x5d51aa>0x1?void 0x0:_0x5d51aa?Ca(_0x451cf8,_0x3b3cf8):_0x451cf8,_0x4acf1b=_0x1b1052['length']-0x1,_0x44731e;_0x4acf1b>=0x0;_0x4acf1b--)(_0x44731e=_0x1b1052[_0x4acf1b])&&(_0x293730=(_0x5d51aa?_0x44731e(_0x451cf8,_0x3b3cf8,_0x293730):_0x44731e(_0x293730))||_0x293730);return _0x5d51aa&&_0x293730&&Ia(_0x451cf8,_0x3b3cf8,_0x293730),_0x293730;},zs=(_0x2e80d1,_0x58773e)=>(_0x2dd0ba,_0x2a1b6a)=>_0x58773e(_0x2dd0ba,_0x2a1b6a,_0x2e80d1);const ba=_0xefeb96(0x4a6),Ta='Univer';let Et=class extends _0x4f89fd{constructor(_0x5b17f8,_0x46764a){const _0x5bc3a9=_0xefeb96;super(),this['_univerInstanceService']=_0x5b17f8,this['_configService']=_0x46764a,this[_0x5bc3a9(0x411)]();}[_0xefeb96(0x411)](){const _0x4897fa=_0xefeb96;this[_0x4897fa(0x2bb)](this['_univerInstanceService'][_0x4897fa(0x1c6)][_0x4897fa(0x2e2)](()=>{const _0x47b264=_0x4897fa;var _0x20e94e;const _0x4a9199=this[_0x47b264(0x214)][_0x47b264(0x186)]();let _0x5590f3=(_0x20e94e=this['_configService'][_0x47b264(0x188)](ba))!=null?_0x20e94e:Ta;_0x4a9199 instanceof _0x10baaa&&(_0x5590f3=_0x4a9199['name']),document[_0x47b264(0x254)]=_0x5590f3;}));}};Et=Ea([zs(0x0,_0x3ca09d),zs(0x1,_0x4ea3e2)],Et);var Ra=Object[_0xefeb96(0x466)],ya=Object[_0xefeb96(0x336)],Oa=(_0x3eab73,_0x24de34,_0x15f8fd,_0x566acd)=>{const _0x19ee34=_0xefeb96;for(var _0x5afa67=_0x566acd>0x1?void 0x0:_0x566acd?ya(_0x24de34,_0x15f8fd):_0x24de34,_0x445594=_0x3eab73[_0x19ee34(0x46c)]-0x1,_0x5bfb8c;_0x445594>=0x0;_0x445594--)(_0x5bfb8c=_0x3eab73[_0x445594])&&(_0x5afa67=(_0x566acd?_0x5bfb8c(_0x24de34,_0x15f8fd,_0x5afa67):_0x5bfb8c(_0x5afa67))||_0x5afa67);return _0x566acd&&_0x5afa67&&Ra(_0x24de34,_0x15f8fd,_0x5afa67),_0x5afa67;},Wt=(_0x1d2967,_0x1a6c21)=>(_0xd7fd02,_0x7619f5)=>_0x1a6c21(_0xd7fd02,_0x7619f5,_0x1d2967);let bt=class{constructor(_0x358419,_0xcf441b,_0x281dd0){const _0xda1940=_0xefeb96;this[_0xda1940(0x32b)]=_0x358419,this[_0xda1940(0x2b0)]=_0xcf441b,this[_0xda1940(0x461)]=_0x281dd0,this[_0xda1940(0x276)]();}[_0xefeb96(0x276)](){const _0x1bf752=_0xefeb96;this[_0x1bf752(0x2b0)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x2d8fe8,_0x30d7e6)=>_0x30d7e6(_0x2d8fe8)['pipe'](_0x53bc20(async _0x4e7db2=>{const _0x5e95e2=_0x1bf752,_0x398373=_0x4e7db2;if(_0x398373['status']===0x191&&window[_0x5e95e2(0x331)](this[_0x5e95e2(0x461)]['t']('auth.needGotoLoginAlert'))){const _0x1ea822=window['encodeURIComponent'](window[_0x5e95e2(0x35f)][_0x5e95e2(0x33f)]);window['location'][_0x5e95e2(0x33f)]=this[_0x5e95e2(0x42a)]()+'?url='+_0x1ea822;}return _0x398373;}))});}[_0xefeb96(0x42a)](){const _0x1c2234=_0xefeb96;var _0x43473f,_0xce7ed2;const _0x463e9d=this[_0x1c2234(0x32b)][_0x1c2234(0x188)](Ir),_0x3b8529=this[_0x1c2234(0x32b)][_0x1c2234(0x188)](ie);return(_0xce7ed2=(_0x43473f=_0x3b8529==null?void 0x0:_0x3b8529[_0x1c2234(0x38a)])!=null?_0x43473f:_0x463e9d)!=null?_0xce7ed2:Cr;}};bt=Oa([Wt(0x0,_0x4ea3e2),Wt(0x1,_0x3099f4(_0x281aa7)),Wt(0x2,_0x3099f4(_0x6eefec))],bt);var wa=Object[_0xefeb96(0x466)],Da=Object[_0xefeb96(0x336)],Pa=(_0x48a02b,_0x1303d5,_0x472d96,_0x3900cb)=>{for(var _0x3e0fd0=_0x3900cb>0x1?void 0x0:_0x3900cb?Da(_0x1303d5,_0x472d96):_0x1303d5,_0x516c64=_0x48a02b['length']-0x1,_0x539a56;_0x516c64>=0x0;_0x516c64--)(_0x539a56=_0x48a02b[_0x516c64])&&(_0x3e0fd0=(_0x3900cb?_0x539a56(_0x1303d5,_0x472d96,_0x3e0fd0):_0x539a56(_0x3e0fd0))||_0x3e0fd0);return _0x3900cb&&_0x3e0fd0&&wa(_0x1303d5,_0x472d96,_0x3e0fd0),_0x3e0fd0;},qs=(_0x8d3858,_0x570cd7)=>(_0x3c9a58,_0x5d55e4)=>_0x570cd7(_0x3c9a58,_0x5d55e4,_0x8d3858);const Ua='AUTHZ_URL_KEY',Na='/universer-api/authz';let cs=class extends _0x4f89fd{constructor(_0x25e69d,_0x54fdf2){const _0x4b907c=_0xefeb96;super(),this[_0x4b907c(0x261)]=_0x25e69d,this[_0x4b907c(0x32b)]=_0x54fdf2,this['_initMergeInterceptor']();}[_0xefeb96(0x3cd)](){const _0x37b344=_0xefeb96,_0x522c92=this;this[_0x37b344(0x2bb)](this[_0x37b344(0x261)][_0x37b344(0x3c7)]({'priority':0x3e7,'interceptor':_0x2a72b9({'isMatch'(_0x49e414){const _0x275cb8=_0x37b344;var _0x105a46;if(_0x49e414['method']==='POST'&&((_0x105a46=_0x49e414[_0x275cb8(0x2f8)])!=null&&_0x105a46[_0x275cb8(0x3c8)])){const {objectID:_0x3a5517,objectType:_0x379831}=_0x49e414['requestParams'][_0x275cb8(0x3c8)]||{};if(!_0x3a5517||_0x379831===void 0x0)return!0x1;const _0x307ec9=_0x522c92[_0x275cb8(0x211)]()+'/'+_0x379831+_0x275cb8(0x4bf)+_0x3a5517+_0x275cb8(0x168);if(_0x49e414[_0x275cb8(0x202)]===_0x307ec9)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x327b2f){const _0x325012=_0x37b344;var _0x276077;return(_0x276077=_0x327b2f['requestParams'])==null?void 0x0:_0x276077[_0x325012(0x3c8)];},'mergeParamsToRequest'(_0x10eac4,_0xcafd1f){const _0x5dd174=_0x37b344,_0x34f397=_0x522c92['_getAPIPrefixPath']()+_0x5dd174(0x259),_0x2f842a=_0x10eac4[_0x5dd174(0x25f)]((_0x33bc13,_0xc47aaf)=>{const _0x314cb2=_0x5dd174,{unitID:_0x5729bb,objectID:_0x1f83e1,objectType:_0x130a28,actions:_0x1d58b7}=_0xc47aaf;return _0x33bc13[_0x5729bb]||(_0x33bc13[_0x5729bb]={}),_0x33bc13[_0x5729bb][_0x1f83e1]||(_0x33bc13[_0x5729bb][_0x1f83e1]={'objectID':_0x1f83e1,'objectType':_0x130a28,'actions':[]}),_0x33bc13[_0x5729bb][_0x1f83e1][_0x314cb2(0x255)][_0x314cb2(0x477)](..._0x1d58b7),_0x33bc13;},{}),_0x1b579d=[];for(const _0x3a8049 in _0x2f842a)for(const _0x5ec949 in _0x2f842a[_0x3a8049]){const {actions:_0x26888a,objectType:_0x30216c}=_0x2f842a[_0x3a8049][_0x5ec949],_0x2a05ac=[...new Set(_0x26888a)];_0x1b579d[_0x5dd174(0x477)]({'unitID':_0x3a8049,'objectID':_0x5ec949,'objectType':_0x30216c,'actions':_0x2a05ac});}return new _0x4d57e5(_0x5dd174(0x18d),_0x34f397,{'headers':_0xcafd1f['headers'],'withCredentials':_0xcafd1f[_0x5dd174(0x3fd)],'responseType':_0xcafd1f[_0x5dd174(0x26d)],'body':{'requests':_0x1b579d}});}},{'distributeResult'(_0x530519,_0x2acb63){const {objectActions:_0x530bfb}=_0x530519;return _0x2acb63['map'](_0x233227=>{const _0x1d9fd2=_0x4451,{unitID:_0x1f25a4,objectID:_0x4dac24,actions:_0x557bfd}=_0x233227,_0x440138=_0x530bfb[_0x1d9fd2(0x431)](_0x716342=>_0x716342[_0x1d9fd2(0xdb)]===_0x1f25a4&&_0x716342[_0x1d9fd2(0x4b3)]===_0x4dac24),_0x5ed7ef=_0x557bfd['map'](_0x575525=>_0x440138==null?void 0x0:_0x440138['actions'][_0x1d9fd2(0x431)](_0x3cfe9a=>_0x3cfe9a[_0x1d9fd2(0x10b)]===_0x575525))[_0x1d9fd2(0x335)](_0x480e68=>!!_0x480e68);return{'config':_0x233227,'result':{'actions':_0x5ed7ef,'error':_0x530519[_0x1d9fd2(0x18c)]}};});}})}));}[_0xefeb96(0x211)](){const _0x16e16f=_0xefeb96;var _0x413544,_0x231f74;const _0x569b31=this[_0x16e16f(0x32b)][_0x16e16f(0x188)](Ua),_0x3b353a=this['_configService']['getConfig'](ie);return(_0x231f74=(_0x413544=_0x3b353a==null?void 0x0:_0x3b353a[_0x16e16f(0x2cd)])!=null?_0x413544:_0x569b31)!=null?_0x231f74:Na;}async[_0xefeb96(0x3ae)](_0x4e4479){const _0x2b0ee5=_0xefeb96,_0x3422ac=this['_getAPIPrefixPath']()+'/'+_0x4e4479[_0x2b0ee5(0x142)]+'/object';return(await this['_HTTPService'][_0x2b0ee5(0x39c)](_0x3422ac,{'body':_0x4e4479}))[_0x2b0ee5(0x3c8)][_0x2b0ee5(0x4b3)]||'';}async['list'](_0x42ae4e){const _0x5b5705=_0xefeb96,_0x57227e=this[_0x5b5705(0x211)]()+'/-/object/list';return(await this[_0x5b5705(0x261)][_0x5b5705(0x39c)](_0x57227e,{'body':_0x42ae4e}))[_0x5b5705(0x3c8)][_0x5b5705(0x3bc)];}async[_0xefeb96(0x1ec)](_0x4728c3){const _0x106b2a=_0xefeb96,_0x350402=this[_0x106b2a(0x211)]()+'/'+_0x4728c3['objectType']+'/object/'+_0x4728c3[_0x106b2a(0x4b3)];await this[_0x106b2a(0x261)]['put'](_0x350402,{'body':_0x4728c3});}async[_0xefeb96(0x462)](_0x1417f4){const _0x1a09f6=_0xefeb96,_0x5208c2=this[_0x1a09f6(0x211)]()+'/'+_0x1417f4[_0x1a09f6(0x142)]+'/object/'+_0x1417f4[_0x1a09f6(0x4b3)]+_0x1a09f6(0x168);return(await this[_0x1a09f6(0x261)][_0x1a09f6(0x39c)](_0x5208c2,{'body':_0x1417f4}))[_0x1a09f6(0x3c8)][_0x1a09f6(0x255)];}async[_0xefeb96(0x16c)](_0x2488c8){const _0x317704=_0xefeb96,_0x57b12a=this[_0x317704(0x211)]()+_0x317704(0x259);return(await this[_0x317704(0x261)][_0x317704(0x39c)](_0x57b12a,{'body':{'requests':_0x2488c8}}))[_0x317704(0x3c8)][_0x317704(0x15b)];}async[_0xefeb96(0x311)](_0x4a92b5){const _0x3d8b7d=_0xefeb96,_0x50356c=this[_0x3d8b7d(0x211)]()+'/'+_0x4a92b5[_0x3d8b7d(0x142)]+'/role',_0x339025=await this[_0x3d8b7d(0x261)][_0x3d8b7d(0x39c)](_0x50356c,{'body':_0x4a92b5});return{'roles':_0x339025[_0x3d8b7d(0x3c8)][_0x3d8b7d(0x208)],'actions':_0x339025[_0x3d8b7d(0x3c8)][_0x3d8b7d(0x255)]};}async[_0xefeb96(0x453)](_0x270722){const _0x13ab6e=_0xefeb96,_0x246282=this[_0x13ab6e(0x211)]()+_0x13ab6e(0x228);await this[_0x13ab6e(0x261)][_0x13ab6e(0x2b4)](_0x246282,{'params':{'collaboratorID':_0x270722[_0x13ab6e(0x289)],'objectID':_0x270722[_0x13ab6e(0x4b3)],'unitID':_0x270722['unitID']}});}async[_0xefeb96(0x13f)](_0x352144){const _0x3c3da5=_0xefeb96,_0x3b3e76=this[_0x3c3da5(0x211)]()+_0x3c3da5(0x228);await this[_0x3c3da5(0x261)]['patch'](_0x3b3e76,{'body':_0x352144});}async[_0xefeb96(0x22a)](_0x2a23bf){const _0x3c8e79=_0xefeb96,_0x3f137e=this[_0x3c8e79(0x211)]()+_0x3c8e79(0x228);await this[_0x3c8e79(0x261)]['post'](_0x3f137e,{'body':_0x2a23bf});}async['listCollaborators'](_0x440f69){const _0x17933f=_0xefeb96,_0x95557=this[_0x17933f(0x211)]()+_0x17933f(0x228);return(await this[_0x17933f(0x261)][_0x17933f(0x271)](_0x95557,{'params':{'objectID':_0x440f69[_0x17933f(0x4b3)],'unitID':_0x440f69[_0x17933f(0xdb)]}}))[_0x17933f(0x3c8)][_0x17933f(0x232)];}async['putCollaborators'](_0x2e41ea){const _0x5569a8=_0xefeb96,_0x35ed21=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x5569a8(0x261)][_0x5569a8(0x3e2)](_0x35ed21,{'body':_0x2e41ea});}};cs=Pa([qs(0x0,_0x3099f4(_0x281aa7)),qs(0x1,_0x3099f4(_0x4ea3e2))],cs);var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x39a982){const _0x27aa29=_0xefeb96;return _0x39a982&&_0x39a982[_0x27aa29(0x365)]&&Object['prototype'][_0x27aa29(0x422)]['call'](_0x39a982,_0x27aa29(0x278))?_0x39a982[_0x27aa29(0x278)]:_0x39a982;}var ji={'exports':{}};function Aa(_0x16fdbc){const _0x2c2434=_0xefeb96;throw new Error(_0x2c2434(0x3a3)+_0x16fdbc+_0x2c2434(0x190));}var Ft={'exports':{}},Xs;function ue(){return Xs||(Xs=0x1,function(_0xa6e0e1,_0x21ff8a){(function(_0x268de5,_0xa7b662){const _0x5b2a65=_0x4451;_0xa6e0e1[_0x5b2a65(0x3e4)]=_0xa7b662();}(Z,function(){var _0x1f6809=_0x1f6809||function(_0x226f72,_0x46ae4c){const _0x37a633=_0x4451;var _0x2877d7;if(typeof window<'u'&&window[_0x37a633(0x44d)]&&(_0x2877d7=window['crypto']),typeof self<'u'&&self[_0x37a633(0x44d)]&&(_0x2877d7=self['crypto']),typeof globalThis<'u'&&globalThis[_0x37a633(0x44d)]&&(_0x2877d7=globalThis[_0x37a633(0x44d)]),!_0x2877d7&&typeof window<'u'&&window[_0x37a633(0x153)]&&(_0x2877d7=window[_0x37a633(0x153)]),!_0x2877d7&&typeof Z<'u'&&Z[_0x37a633(0x44d)]&&(_0x2877d7=Z[_0x37a633(0x44d)]),!_0x2877d7&&typeof Aa==_0x37a633(0x274))try{_0x2877d7=require(_0x37a633(0x44d));}catch{}var _0x70961f=function(){const _0x3a1708=_0x37a633;if(_0x2877d7){if(typeof _0x2877d7[_0x3a1708(0x15a)]==_0x3a1708(0x274))try{return _0x2877d7['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2877d7[_0x3a1708(0x49a)]=='function')try{return _0x2877d7[_0x3a1708(0x49a)](0x4)[_0x3a1708(0x1aa)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x5cf8c9=Object[_0x37a633(0x3ae)]||(function(){function _0x28d645(){}return function(_0x13e72e){const _0x4b1948=_0x4451;var _0x5a226c;return _0x28d645[_0x4b1948(0x43e)]=_0x13e72e,_0x5a226c=new _0x28d645(),_0x28d645[_0x4b1948(0x43e)]=null,_0x5a226c;};}()),_0x36bbb9={},_0x176736=_0x36bbb9[_0x37a633(0x30a)]={},_0x76aa31=_0x176736[_0x37a633(0x3ac)]=(function(){return{'extend':function(_0x1c31d7){const _0x4257dc=_0x4451;var _0x2cacf9=_0x5cf8c9(this);return _0x1c31d7&&_0x2cacf9[_0x4257dc(0x361)](_0x1c31d7),(!_0x2cacf9[_0x4257dc(0x422)](_0x4257dc(0x276))||this['init']===_0x2cacf9[_0x4257dc(0x276)])&&(_0x2cacf9[_0x4257dc(0x276)]=function(){const _0x5be92b=_0x4257dc;_0x2cacf9[_0x5be92b(0x46b)][_0x5be92b(0x276)][_0x5be92b(0x24e)](this,arguments);}),_0x2cacf9[_0x4257dc(0x276)][_0x4257dc(0x43e)]=_0x2cacf9,_0x2cacf9[_0x4257dc(0x46b)]=this,_0x2cacf9;},'create':function(){const _0x230d4b=_0x4451;var _0x1b0b9f=this[_0x230d4b(0x412)]();return _0x1b0b9f['init'][_0x230d4b(0x24e)](_0x1b0b9f,arguments),_0x1b0b9f;},'init':function(){},'mixIn':function(_0xfd747b){const _0x2e2457=_0x4451;for(var _0x773254 in _0xfd747b)_0xfd747b[_0x2e2457(0x422)](_0x773254)&&(this[_0x773254]=_0xfd747b[_0x773254]);_0xfd747b[_0x2e2457(0x422)](_0x2e2457(0x3e7))&&(this[_0x2e2457(0x3e7)]=_0xfd747b[_0x2e2457(0x3e7)]);},'clone':function(){const _0x29f032=_0x4451;return this[_0x29f032(0x276)][_0x29f032(0x43e)][_0x29f032(0x412)](this);}};}()),_0x4c68cc=_0x176736[_0x37a633(0x3eb)]=_0x76aa31[_0x37a633(0x412)]({'init':function(_0x288530,_0x2204fb){const _0x50f3d4=_0x37a633;_0x288530=this[_0x50f3d4(0x387)]=_0x288530||[],_0x2204fb!=_0x46ae4c?this['sigBytes']=_0x2204fb:this[_0x50f3d4(0x2a7)]=_0x288530[_0x50f3d4(0x46c)]*0x4;},'toString':function(_0x4ec3be){const _0x304a58=_0x37a633;return(_0x4ec3be||_0x5f0820)[_0x304a58(0x296)](this);},'concat':function(_0x538e5d){const _0x180740=_0x37a633;var _0x36fb7f=this[_0x180740(0x387)],_0x10781b=_0x538e5d[_0x180740(0x387)],_0x2db66b=this['sigBytes'],_0xe49f2=_0x538e5d[_0x180740(0x2a7)];if(this['clamp'](),_0x2db66b%0x4)for(var _0xd3c352=0x0;_0xd3c352<_0xe49f2;_0xd3c352++){var _0x4329b8=_0x10781b[_0xd3c352>>>0x2]>>>0x18-_0xd3c352%0x4*0x8&0xff;_0x36fb7f[_0x2db66b+_0xd3c352>>>0x2]|=_0x4329b8<<0x18-(_0x2db66b+_0xd3c352)%0x4*0x8;}else{for(var _0x337188=0x0;_0x337188<_0xe49f2;_0x337188+=0x4)_0x36fb7f[_0x2db66b+_0x337188>>>0x2]=_0x10781b[_0x337188>>>0x2];}return this['sigBytes']+=_0xe49f2,this;},'clamp':function(){const _0x4cc4db=_0x37a633;var _0x1d70d5=this['words'],_0x7d5a6=this['sigBytes'];_0x1d70d5[_0x7d5a6>>>0x2]&=0xffffffff<<0x20-_0x7d5a6%0x4*0x8,_0x1d70d5[_0x4cc4db(0x46c)]=_0x226f72[_0x4cc4db(0x30b)](_0x7d5a6/0x4);},'clone':function(){const _0x570720=_0x37a633;var _0x23a2fb=_0x76aa31['clone'][_0x570720(0x2e7)](this);return _0x23a2fb[_0x570720(0x387)]=this[_0x570720(0x387)][_0x570720(0x352)](0x0),_0x23a2fb;},'random':function(_0x27b9e8){const _0x4d2163=_0x37a633;for(var _0x480b8f=[],_0xf69583=0x0;_0xf69583<_0x27b9e8;_0xf69583+=0x4)_0x480b8f[_0x4d2163(0x477)](_0x70961f());return new _0x4c68cc[(_0x4d2163(0x276))](_0x480b8f,_0x27b9e8);}}),_0x4665aa=_0x36bbb9[_0x37a633(0x36b)]={},_0x5f0820=_0x4665aa[_0x37a633(0x3e9)]={'stringify':function(_0x29cfc8){const _0x10443d=_0x37a633;for(var _0x6cbcf0=_0x29cfc8['words'],_0x282117=_0x29cfc8[_0x10443d(0x2a7)],_0x343918=[],_0x585223=0x0;_0x585223<_0x282117;_0x585223++){var _0x3c396c=_0x6cbcf0[_0x585223>>>0x2]>>>0x18-_0x585223%0x4*0x8&0xff;_0x343918[_0x10443d(0x477)]((_0x3c396c>>>0x4)[_0x10443d(0x3e7)](0x10)),_0x343918['push']((_0x3c396c&0xf)[_0x10443d(0x3e7)](0x10));}return _0x343918[_0x10443d(0x1cd)]('');},'parse':function(_0x4269dd){const _0x1c1c3f=_0x37a633;for(var _0x5737b1=_0x4269dd[_0x1c1c3f(0x46c)],_0x5981c0=[],_0x25eefa=0x0;_0x25eefa<_0x5737b1;_0x25eefa+=0x2)_0x5981c0[_0x25eefa>>>0x3]|=parseInt(_0x4269dd['substr'](_0x25eefa,0x2),0x10)<<0x18-_0x25eefa%0x8*0x4;return new _0x4c68cc[(_0x1c1c3f(0x276))](_0x5981c0,_0x5737b1/0x2);}},_0x2a6b5d=_0x4665aa[_0x37a633(0x20c)]={'stringify':function(_0x44e20d){const _0x39da70=_0x37a633;for(var _0x1d6ec6=_0x44e20d[_0x39da70(0x387)],_0x3ab5c0=_0x44e20d['sigBytes'],_0x2e93d9=[],_0x5e40c8=0x0;_0x5e40c8<_0x3ab5c0;_0x5e40c8++){var _0x43c24a=_0x1d6ec6[_0x5e40c8>>>0x2]>>>0x18-_0x5e40c8%0x4*0x8&0xff;_0x2e93d9[_0x39da70(0x477)](String[_0x39da70(0x337)](_0x43c24a));}return _0x2e93d9['join']('');},'parse':function(_0x3db1e5){const _0x15e26d=_0x37a633;for(var _0x1711ed=_0x3db1e5[_0x15e26d(0x46c)],_0x47e193=[],_0x2ef83d=0x0;_0x2ef83d<_0x1711ed;_0x2ef83d++)_0x47e193[_0x2ef83d>>>0x2]|=(_0x3db1e5['charCodeAt'](_0x2ef83d)&0xff)<<0x18-_0x2ef83d%0x4*0x8;return new _0x4c68cc[(_0x15e26d(0x276))](_0x47e193,_0x1711ed);}},_0x4405dc=_0x4665aa['Utf8']={'stringify':function(_0x55296a){const _0x2f42f9=_0x37a633;try{return decodeURIComponent(escape(_0x2a6b5d[_0x2f42f9(0x296)](_0x55296a)));}catch{throw new Error(_0x2f42f9(0x242));}},'parse':function(_0x373ea8){return _0x2a6b5d['parse'](unescape(encodeURIComponent(_0x373ea8)));}},_0x135f9e=_0x176736[_0x37a633(0x305)]=_0x76aa31[_0x37a633(0x412)]({'reset':function(){const _0x41cdea=_0x37a633;this[_0x41cdea(0x1d9)]=new _0x4c68cc[(_0x41cdea(0x276))](),this[_0x41cdea(0x47f)]=0x0;},'_append':function(_0x53ed8f){const _0x4951c8=_0x37a633;typeof _0x53ed8f=='string'&&(_0x53ed8f=_0x4405dc[_0x4951c8(0x40f)](_0x53ed8f)),this[_0x4951c8(0x1d9)][_0x4951c8(0x1e4)](_0x53ed8f),this['_nDataBytes']+=_0x53ed8f[_0x4951c8(0x2a7)];},'_process':function(_0xeaaaae){const _0x4458da=_0x37a633;var _0x57f9a6,_0x4192a5=this[_0x4458da(0x1d9)],_0x23afaa=_0x4192a5[_0x4458da(0x387)],_0x4ab1e1=_0x4192a5['sigBytes'],_0x28a603=this[_0x4458da(0x4a8)],_0x1f4f82=_0x28a603*0x4,_0x78aa98=_0x4ab1e1/_0x1f4f82;_0xeaaaae?_0x78aa98=_0x226f72[_0x4458da(0x30b)](_0x78aa98):_0x78aa98=_0x226f72[_0x4458da(0x3c0)]((_0x78aa98|0x0)-this[_0x4458da(0x3d5)],0x0);var _0x2c7ca6=_0x78aa98*_0x28a603,_0x59d87c=_0x226f72[_0x4458da(0x3d0)](_0x2c7ca6*0x4,_0x4ab1e1);if(_0x2c7ca6){for(var _0x5638cb=0x0;_0x5638cb<_0x2c7ca6;_0x5638cb+=_0x28a603)this[_0x4458da(0x1dd)](_0x23afaa,_0x5638cb);_0x57f9a6=_0x23afaa[_0x4458da(0x49b)](0x0,_0x2c7ca6),_0x4192a5[_0x4458da(0x2a7)]-=_0x59d87c;}return new _0x4c68cc[(_0x4458da(0x276))](_0x57f9a6,_0x59d87c);},'clone':function(){const _0x3fe9a2=_0x37a633;var _0x30513a=_0x76aa31['clone'][_0x3fe9a2(0x2e7)](this);return _0x30513a[_0x3fe9a2(0x1d9)]=this[_0x3fe9a2(0x1d9)][_0x3fe9a2(0x17d)](),_0x30513a;},'_minBufferSize':0x0});_0x176736[_0x37a633(0x159)]=_0x135f9e[_0x37a633(0x412)]({'cfg':_0x76aa31['extend'](),'init':function(_0x571722){const _0x43d9c4=_0x37a633;this[_0x43d9c4(0x13e)]=this[_0x43d9c4(0x13e)][_0x43d9c4(0x412)](_0x571722),this[_0x43d9c4(0x1e9)]();},'reset':function(){const _0x15a18e=_0x37a633;_0x135f9e[_0x15a18e(0x1e9)][_0x15a18e(0x2e7)](this),this[_0x15a18e(0x402)]();},'update':function(_0x4ee485){const _0x5999ab=_0x37a633;return this[_0x5999ab(0x434)](_0x4ee485),this['_process'](),this;},'finalize':function(_0x322d3b){_0x322d3b&&this['_append'](_0x322d3b);var _0x48e2f8=this['_doFinalize']();return _0x48e2f8;},'blockSize':0x10,'_createHelper':function(_0x1e854f){return function(_0x3933cf,_0x44dc89){const _0x196b8d=_0x4451;return new _0x1e854f[(_0x196b8d(0x276))](_0x44dc89)['finalize'](_0x3933cf);};},'_createHmacHelper':function(_0x3dcf31){return function(_0x3179ad,_0x1607a4){const _0x15168e=_0x4451;return new _0x5405d2[(_0x15168e(0x48a))][(_0x15168e(0x276))](_0x3dcf31,_0x1607a4)[_0x15168e(0x2a6)](_0x3179ad);};}});var _0x5405d2=_0x36bbb9[_0x37a633(0x155)]={};return _0x36bbb9;}(Math);return _0x1f6809;}));}(Ft)),Ft['exports'];}var Vt={'exports':{}},Js;function Bi(){const _0x9e68ea=_0xefeb96;return Js||(Js=0x1,function(_0x3133e3,_0x2336d0){(function(_0x39c233,_0x590bcc){const _0x55d90d=_0x4451;_0x3133e3[_0x55d90d(0x3e4)]=_0x590bcc(ue());}(Z,function(_0x34594f){const _0x3a3acf=_0x4451;return(function(){const _0x4e395e=_0x4451;var _0x27819b=_0x34594f,_0x39c9b7=_0x27819b['lib'],_0x23b743=_0x39c9b7['WordArray'],_0x36db55=_0x27819b['enc'];_0x36db55[_0x4e395e(0x4b6)]={'stringify':function(_0x455e90){const _0xf1641a=_0x4e395e;var _0x510b99=_0x455e90[_0xf1641a(0x387)],_0x23eeb6=_0x455e90['sigBytes'],_0x4d7eeb=this[_0xf1641a(0x360)];_0x455e90[_0xf1641a(0x3e6)]();for(var _0xa5d82f=[],_0xd1ef16=0x0;_0xd1ef16<_0x23eeb6;_0xd1ef16+=0x3)for(var _0x5c7bfe=_0x510b99[_0xd1ef16>>>0x2]>>>0x18-_0xd1ef16%0x4*0x8&0xff,_0xfbb908=_0x510b99[_0xd1ef16+0x1>>>0x2]>>>0x18-(_0xd1ef16+0x1)%0x4*0x8&0xff,_0x5982cb=_0x510b99[_0xd1ef16+0x2>>>0x2]>>>0x18-(_0xd1ef16+0x2)%0x4*0x8&0xff,_0x26d6f6=_0x5c7bfe<<0x10|_0xfbb908<<0x8|_0x5982cb,_0x1e9e8e=0x0;_0x1e9e8e<0x4&&_0xd1ef16+_0x1e9e8e*0.75<_0x23eeb6;_0x1e9e8e++)_0xa5d82f[_0xf1641a(0x477)](_0x4d7eeb[_0xf1641a(0x2ab)](_0x26d6f6>>>0x6*(0x3-_0x1e9e8e)&0x3f));var _0xdeefe2=_0x4d7eeb[_0xf1641a(0x2ab)](0x40);if(_0xdeefe2){for(;_0xa5d82f[_0xf1641a(0x46c)]%0x4;)_0xa5d82f[_0xf1641a(0x477)](_0xdeefe2);}return _0xa5d82f[_0xf1641a(0x1cd)]('');},'parse':function(_0x17e94f){const _0x1799b0=_0x4e395e;var _0x5de7f5=_0x17e94f['length'],_0x5f1bca=this['_map'],_0x3d74b8=this[_0x1799b0(0x244)];if(!_0x3d74b8){_0x3d74b8=this['_reverseMap']=[];for(var _0x346a07=0x0;_0x346a07<_0x5f1bca[_0x1799b0(0x46c)];_0x346a07++)_0x3d74b8[_0x5f1bca[_0x1799b0(0x222)](_0x346a07)]=_0x346a07;}var _0x49e8e2=_0x5f1bca['charAt'](0x40);if(_0x49e8e2){var _0x24f542=_0x17e94f[_0x1799b0(0x1b7)](_0x49e8e2);_0x24f542!==-0x1&&(_0x5de7f5=_0x24f542);}return _0x1e8f5d(_0x17e94f,_0x5de7f5,_0x3d74b8);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x1e8f5d(_0xd99882,_0x5ca331,_0x442e53){const _0x51acfe=_0x4e395e;for(var _0x5806bb=[],_0xe524fa=0x0,_0x51b9df=0x0;_0x51b9df<_0x5ca331;_0x51b9df++)if(_0x51b9df%0x4){var _0x3a2dcf=_0x442e53[_0xd99882[_0x51acfe(0x222)](_0x51b9df-0x1)]<<_0x51b9df%0x4*0x2,_0x5a9945=_0x442e53[_0xd99882[_0x51acfe(0x222)](_0x51b9df)]>>>0x6-_0x51b9df%0x4*0x2,_0x4461a8=_0x3a2dcf|_0x5a9945;_0x5806bb[_0xe524fa>>>0x2]|=_0x4461a8<<0x18-_0xe524fa%0x4*0x8,_0xe524fa++;}return _0x23b743[_0x51acfe(0x3ae)](_0x5806bb,_0xe524fa);}}()),_0x34594f[_0x3a3acf(0x36b)]['Base64'];}));}(Vt)),Vt[_0x9e68ea(0x3e4)];}var Gt={'exports':{}},Zs;function Ma(){const _0x520410=_0xefeb96;return Zs||(Zs=0x1,function(_0x2759f2,_0x31e076){(function(_0x453a39,_0x4e0d03){const _0x2ad66d=_0x4451;_0x2759f2[_0x2ad66d(0x3e4)]=_0x4e0d03(ue());}(Z,function(_0x595f98){const _0x3ae975=_0x4451;return function(_0x4a03c1){const _0x393c18=_0x4451;var _0x40b181=_0x595f98,_0x16e2cb=_0x40b181['lib'],_0x12116a=_0x16e2cb[_0x393c18(0x3eb)],_0x4b63f7=_0x16e2cb['Hasher'],_0xd22ff7=_0x40b181[_0x393c18(0x155)],_0x2266ec=[];(function(){const _0x518a73=_0x393c18;for(var _0x446620=0x0;_0x446620<0x40;_0x446620++)_0x2266ec[_0x446620]=_0x4a03c1['abs'](_0x4a03c1[_0x518a73(0x3ef)](_0x446620+0x1))*0x100000000|0x0;}());var _0x824e2=_0xd22ff7[_0x393c18(0x223)]=_0x4b63f7[_0x393c18(0x412)]({'_doReset':function(){const _0x5d1380=_0x393c18;this[_0x5d1380(0x162)]=new _0x12116a[(_0x5d1380(0x276))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x1e7408,_0x17ea04){const _0x232309=_0x393c18;for(var _0x3aaa66=0x0;_0x3aaa66<0x10;_0x3aaa66++){var _0x3d3e62=_0x17ea04+_0x3aaa66,_0x56e53d=_0x1e7408[_0x3d3e62];_0x1e7408[_0x3d3e62]=(_0x56e53d<<0x8|_0x56e53d>>>0x18)&0xff00ff|(_0x56e53d<<0x18|_0x56e53d>>>0x8)&0xff00ff00;}var _0x107dc5=this[_0x232309(0x162)]['words'],_0x4ffb65=_0x1e7408[_0x17ea04+0x0],_0xa109a3=_0x1e7408[_0x17ea04+0x1],_0x2e29af=_0x1e7408[_0x17ea04+0x2],_0x421981=_0x1e7408[_0x17ea04+0x3],_0x4b7e85=_0x1e7408[_0x17ea04+0x4],_0x445973=_0x1e7408[_0x17ea04+0x5],_0x443381=_0x1e7408[_0x17ea04+0x6],_0x370363=_0x1e7408[_0x17ea04+0x7],_0x3e0adf=_0x1e7408[_0x17ea04+0x8],_0x5608cd=_0x1e7408[_0x17ea04+0x9],_0x403a2d=_0x1e7408[_0x17ea04+0xa],_0x5c9173=_0x1e7408[_0x17ea04+0xb],_0x14e31e=_0x1e7408[_0x17ea04+0xc],_0x29ece1=_0x1e7408[_0x17ea04+0xd],_0x4fcd42=_0x1e7408[_0x17ea04+0xe],_0x1d4d4e=_0x1e7408[_0x17ea04+0xf],_0x2a28b1=_0x107dc5[0x0],_0x1559d2=_0x107dc5[0x1],_0x15dd71=_0x107dc5[0x2],_0x522440=_0x107dc5[0x3];_0x2a28b1=_0x516bbb(_0x2a28b1,_0x1559d2,_0x15dd71,_0x522440,_0x4ffb65,0x7,_0x2266ec[0x0]),_0x522440=_0x516bbb(_0x522440,_0x2a28b1,_0x1559d2,_0x15dd71,_0xa109a3,0xc,_0x2266ec[0x1]),_0x15dd71=_0x516bbb(_0x15dd71,_0x522440,_0x2a28b1,_0x1559d2,_0x2e29af,0x11,_0x2266ec[0x2]),_0x1559d2=_0x516bbb(_0x1559d2,_0x15dd71,_0x522440,_0x2a28b1,_0x421981,0x16,_0x2266ec[0x3]),_0x2a28b1=_0x516bbb(_0x2a28b1,_0x1559d2,_0x15dd71,_0x522440,_0x4b7e85,0x7,_0x2266ec[0x4]),_0x522440=_0x516bbb(_0x522440,_0x2a28b1,_0x1559d2,_0x15dd71,_0x445973,0xc,_0x2266ec[0x5]),_0x15dd71=_0x516bbb(_0x15dd71,_0x522440,_0x2a28b1,_0x1559d2,_0x443381,0x11,_0x2266ec[0x6]),_0x1559d2=_0x516bbb(_0x1559d2,_0x15dd71,_0x522440,_0x2a28b1,_0x370363,0x16,_0x2266ec[0x7]),_0x2a28b1=_0x516bbb(_0x2a28b1,_0x1559d2,_0x15dd71,_0x522440,_0x3e0adf,0x7,_0x2266ec[0x8]),_0x522440=_0x516bbb(_0x522440,_0x2a28b1,_0x1559d2,_0x15dd71,_0x5608cd,0xc,_0x2266ec[0x9]),_0x15dd71=_0x516bbb(_0x15dd71,_0x522440,_0x2a28b1,_0x1559d2,_0x403a2d,0x11,_0x2266ec[0xa]),_0x1559d2=_0x516bbb(_0x1559d2,_0x15dd71,_0x522440,_0x2a28b1,_0x5c9173,0x16,_0x2266ec[0xb]),_0x2a28b1=_0x516bbb(_0x2a28b1,_0x1559d2,_0x15dd71,_0x522440,_0x14e31e,0x7,_0x2266ec[0xc]),_0x522440=_0x516bbb(_0x522440,_0x2a28b1,_0x1559d2,_0x15dd71,_0x29ece1,0xc,_0x2266ec[0xd]),_0x15dd71=_0x516bbb(_0x15dd71,_0x522440,_0x2a28b1,_0x1559d2,_0x4fcd42,0x11,_0x2266ec[0xe]),_0x1559d2=_0x516bbb(_0x1559d2,_0x15dd71,_0x522440,_0x2a28b1,_0x1d4d4e,0x16,_0x2266ec[0xf]),_0x2a28b1=_0x2de764(_0x2a28b1,_0x1559d2,_0x15dd71,_0x522440,_0xa109a3,0x5,_0x2266ec[0x10]),_0x522440=_0x2de764(_0x522440,_0x2a28b1,_0x1559d2,_0x15dd71,_0x443381,0x9,_0x2266ec[0x11]),_0x15dd71=_0x2de764(_0x15dd71,_0x522440,_0x2a28b1,_0x1559d2,_0x5c9173,0xe,_0x2266ec[0x12]),_0x1559d2=_0x2de764(_0x1559d2,_0x15dd71,_0x522440,_0x2a28b1,_0x4ffb65,0x14,_0x2266ec[0x13]),_0x2a28b1=_0x2de764(_0x2a28b1,_0x1559d2,_0x15dd71,_0x522440,_0x445973,0x5,_0x2266ec[0x14]),_0x522440=_0x2de764(_0x522440,_0x2a28b1,_0x1559d2,_0x15dd71,_0x403a2d,0x9,_0x2266ec[0x15]),_0x15dd71=_0x2de764(_0x15dd71,_0x522440,_0x2a28b1,_0x1559d2,_0x1d4d4e,0xe,_0x2266ec[0x16]),_0x1559d2=_0x2de764(_0x1559d2,_0x15dd71,_0x522440,_0x2a28b1,_0x4b7e85,0x14,_0x2266ec[0x17]),_0x2a28b1=_0x2de764(_0x2a28b1,_0x1559d2,_0x15dd71,_0x522440,_0x5608cd,0x5,_0x2266ec[0x18]),_0x522440=_0x2de764(_0x522440,_0x2a28b1,_0x1559d2,_0x15dd71,_0x4fcd42,0x9,_0x2266ec[0x19]),_0x15dd71=_0x2de764(_0x15dd71,_0x522440,_0x2a28b1,_0x1559d2,_0x421981,0xe,_0x2266ec[0x1a]),_0x1559d2=_0x2de764(_0x1559d2,_0x15dd71,_0x522440,_0x2a28b1,_0x3e0adf,0x14,_0x2266ec[0x1b]),_0x2a28b1=_0x2de764(_0x2a28b1,_0x1559d2,_0x15dd71,_0x522440,_0x29ece1,0x5,_0x2266ec[0x1c]),_0x522440=_0x2de764(_0x522440,_0x2a28b1,_0x1559d2,_0x15dd71,_0x2e29af,0x9,_0x2266ec[0x1d]),_0x15dd71=_0x2de764(_0x15dd71,_0x522440,_0x2a28b1,_0x1559d2,_0x370363,0xe,_0x2266ec[0x1e]),_0x1559d2=_0x2de764(_0x1559d2,_0x15dd71,_0x522440,_0x2a28b1,_0x14e31e,0x14,_0x2266ec[0x1f]),_0x2a28b1=_0x55420c(_0x2a28b1,_0x1559d2,_0x15dd71,_0x522440,_0x445973,0x4,_0x2266ec[0x20]),_0x522440=_0x55420c(_0x522440,_0x2a28b1,_0x1559d2,_0x15dd71,_0x3e0adf,0xb,_0x2266ec[0x21]),_0x15dd71=_0x55420c(_0x15dd71,_0x522440,_0x2a28b1,_0x1559d2,_0x5c9173,0x10,_0x2266ec[0x22]),_0x1559d2=_0x55420c(_0x1559d2,_0x15dd71,_0x522440,_0x2a28b1,_0x4fcd42,0x17,_0x2266ec[0x23]),_0x2a28b1=_0x55420c(_0x2a28b1,_0x1559d2,_0x15dd71,_0x522440,_0xa109a3,0x4,_0x2266ec[0x24]),_0x522440=_0x55420c(_0x522440,_0x2a28b1,_0x1559d2,_0x15dd71,_0x4b7e85,0xb,_0x2266ec[0x25]),_0x15dd71=_0x55420c(_0x15dd71,_0x522440,_0x2a28b1,_0x1559d2,_0x370363,0x10,_0x2266ec[0x26]),_0x1559d2=_0x55420c(_0x1559d2,_0x15dd71,_0x522440,_0x2a28b1,_0x403a2d,0x17,_0x2266ec[0x27]),_0x2a28b1=_0x55420c(_0x2a28b1,_0x1559d2,_0x15dd71,_0x522440,_0x29ece1,0x4,_0x2266ec[0x28]),_0x522440=_0x55420c(_0x522440,_0x2a28b1,_0x1559d2,_0x15dd71,_0x4ffb65,0xb,_0x2266ec[0x29]),_0x15dd71=_0x55420c(_0x15dd71,_0x522440,_0x2a28b1,_0x1559d2,_0x421981,0x10,_0x2266ec[0x2a]),_0x1559d2=_0x55420c(_0x1559d2,_0x15dd71,_0x522440,_0x2a28b1,_0x443381,0x17,_0x2266ec[0x2b]),_0x2a28b1=_0x55420c(_0x2a28b1,_0x1559d2,_0x15dd71,_0x522440,_0x5608cd,0x4,_0x2266ec[0x2c]),_0x522440=_0x55420c(_0x522440,_0x2a28b1,_0x1559d2,_0x15dd71,_0x14e31e,0xb,_0x2266ec[0x2d]),_0x15dd71=_0x55420c(_0x15dd71,_0x522440,_0x2a28b1,_0x1559d2,_0x1d4d4e,0x10,_0x2266ec[0x2e]),_0x1559d2=_0x55420c(_0x1559d2,_0x15dd71,_0x522440,_0x2a28b1,_0x2e29af,0x17,_0x2266ec[0x2f]),_0x2a28b1=_0x3e8eb4(_0x2a28b1,_0x1559d2,_0x15dd71,_0x522440,_0x4ffb65,0x6,_0x2266ec[0x30]),_0x522440=_0x3e8eb4(_0x522440,_0x2a28b1,_0x1559d2,_0x15dd71,_0x370363,0xa,_0x2266ec[0x31]),_0x15dd71=_0x3e8eb4(_0x15dd71,_0x522440,_0x2a28b1,_0x1559d2,_0x4fcd42,0xf,_0x2266ec[0x32]),_0x1559d2=_0x3e8eb4(_0x1559d2,_0x15dd71,_0x522440,_0x2a28b1,_0x445973,0x15,_0x2266ec[0x33]),_0x2a28b1=_0x3e8eb4(_0x2a28b1,_0x1559d2,_0x15dd71,_0x522440,_0x14e31e,0x6,_0x2266ec[0x34]),_0x522440=_0x3e8eb4(_0x522440,_0x2a28b1,_0x1559d2,_0x15dd71,_0x421981,0xa,_0x2266ec[0x35]),_0x15dd71=_0x3e8eb4(_0x15dd71,_0x522440,_0x2a28b1,_0x1559d2,_0x403a2d,0xf,_0x2266ec[0x36]),_0x1559d2=_0x3e8eb4(_0x1559d2,_0x15dd71,_0x522440,_0x2a28b1,_0xa109a3,0x15,_0x2266ec[0x37]),_0x2a28b1=_0x3e8eb4(_0x2a28b1,_0x1559d2,_0x15dd71,_0x522440,_0x3e0adf,0x6,_0x2266ec[0x38]),_0x522440=_0x3e8eb4(_0x522440,_0x2a28b1,_0x1559d2,_0x15dd71,_0x1d4d4e,0xa,_0x2266ec[0x39]),_0x15dd71=_0x3e8eb4(_0x15dd71,_0x522440,_0x2a28b1,_0x1559d2,_0x443381,0xf,_0x2266ec[0x3a]),_0x1559d2=_0x3e8eb4(_0x1559d2,_0x15dd71,_0x522440,_0x2a28b1,_0x29ece1,0x15,_0x2266ec[0x3b]),_0x2a28b1=_0x3e8eb4(_0x2a28b1,_0x1559d2,_0x15dd71,_0x522440,_0x4b7e85,0x6,_0x2266ec[0x3c]),_0x522440=_0x3e8eb4(_0x522440,_0x2a28b1,_0x1559d2,_0x15dd71,_0x5c9173,0xa,_0x2266ec[0x3d]),_0x15dd71=_0x3e8eb4(_0x15dd71,_0x522440,_0x2a28b1,_0x1559d2,_0x2e29af,0xf,_0x2266ec[0x3e]),_0x1559d2=_0x3e8eb4(_0x1559d2,_0x15dd71,_0x522440,_0x2a28b1,_0x5608cd,0x15,_0x2266ec[0x3f]),_0x107dc5[0x0]=_0x107dc5[0x0]+_0x2a28b1|0x0,_0x107dc5[0x1]=_0x107dc5[0x1]+_0x1559d2|0x0,_0x107dc5[0x2]=_0x107dc5[0x2]+_0x15dd71|0x0,_0x107dc5[0x3]=_0x107dc5[0x3]+_0x522440|0x0;},'_doFinalize':function(){const _0xd4f1e4=_0x393c18;var _0x30c6ea=this['_data'],_0x3bb6ba=_0x30c6ea[_0xd4f1e4(0x387)],_0x589fba=this[_0xd4f1e4(0x47f)]*0x8,_0x3d1fe3=_0x30c6ea['sigBytes']*0x8;_0x3bb6ba[_0x3d1fe3>>>0x5]|=0x80<<0x18-_0x3d1fe3%0x20;var _0xea9019=_0x4a03c1['floor'](_0x589fba/0x100000000),_0x4fce43=_0x589fba;_0x3bb6ba[(_0x3d1fe3+0x40>>>0x9<<0x4)+0xf]=(_0xea9019<<0x8|_0xea9019>>>0x18)&0xff00ff|(_0xea9019<<0x18|_0xea9019>>>0x8)&0xff00ff00,_0x3bb6ba[(_0x3d1fe3+0x40>>>0x9<<0x4)+0xe]=(_0x4fce43<<0x8|_0x4fce43>>>0x18)&0xff00ff|(_0x4fce43<<0x18|_0x4fce43>>>0x8)&0xff00ff00,_0x30c6ea[_0xd4f1e4(0x2a7)]=(_0x3bb6ba[_0xd4f1e4(0x46c)]+0x1)*0x4,this['_process']();for(var _0x3f0ad7=this[_0xd4f1e4(0x162)],_0x2eec2c=_0x3f0ad7[_0xd4f1e4(0x387)],_0x306a99=0x0;_0x306a99<0x4;_0x306a99++){var _0x3ab20a=_0x2eec2c[_0x306a99];_0x2eec2c[_0x306a99]=(_0x3ab20a<<0x8|_0x3ab20a>>>0x18)&0xff00ff|(_0x3ab20a<<0x18|_0x3ab20a>>>0x8)&0xff00ff00;}return _0x3f0ad7;},'clone':function(){const _0x52704c=_0x393c18;var _0x57ee98=_0x4b63f7[_0x52704c(0x17d)]['call'](this);return _0x57ee98[_0x52704c(0x162)]=this[_0x52704c(0x162)][_0x52704c(0x17d)](),_0x57ee98;}});function _0x516bbb(_0x5e5f9f,_0x3af1fe,_0x172d3b,_0x589ac8,_0x16d4c0,_0x52989f,_0x4d0e52){var _0x484f6d=_0x5e5f9f+(_0x3af1fe&_0x172d3b|~_0x3af1fe&_0x589ac8)+_0x16d4c0+_0x4d0e52;return(_0x484f6d<<_0x52989f|_0x484f6d>>>0x20-_0x52989f)+_0x3af1fe;}function _0x2de764(_0x4b8765,_0x10db2c,_0x32c762,_0xda5695,_0x3f6ca3,_0x573c34,_0xda5860){var _0x751161=_0x4b8765+(_0x10db2c&_0xda5695|_0x32c762&~_0xda5695)+_0x3f6ca3+_0xda5860;return(_0x751161<<_0x573c34|_0x751161>>>0x20-_0x573c34)+_0x10db2c;}function _0x55420c(_0x426959,_0x39e100,_0x53121a,_0x48cd63,_0x24e890,_0x60ab84,_0xf2b83d){var _0x4cf492=_0x426959+(_0x39e100^_0x53121a^_0x48cd63)+_0x24e890+_0xf2b83d;return(_0x4cf492<<_0x60ab84|_0x4cf492>>>0x20-_0x60ab84)+_0x39e100;}function _0x3e8eb4(_0x26de79,_0x3efc2b,_0x42b13a,_0x4a9628,_0x966e79,_0x3005f0,_0x18a3ef){var _0x1290ef=_0x26de79+(_0x42b13a^(_0x3efc2b|~_0x4a9628))+_0x966e79+_0x18a3ef;return(_0x1290ef<<_0x3005f0|_0x1290ef>>>0x20-_0x3005f0)+_0x3efc2b;}_0x40b181['MD5']=_0x4b63f7['_createHelper'](_0x824e2),_0x40b181['HmacMD5']=_0x4b63f7[_0x393c18(0x3cb)](_0x824e2);}(Math),_0x595f98[_0x3ae975(0x223)];}));}(Gt)),Gt[_0x520410(0x3e4)];}var Yt={'exports':{}},Kt={'exports':{}},Qs;function xa(){return Qs||(Qs=0x1,function(_0x3b727b,_0x442d4e){(function(_0x1465f2,_0x3d6308){const _0x1d009d=_0x4451;_0x3b727b[_0x1d009d(0x3e4)]=_0x3d6308(ue());}(Z,function(_0x5b0988){const _0x1148ba=_0x4451;return(function(){const _0x3153ab=_0x4451;var _0x4d0bcf=_0x5b0988,_0x5062d5=_0x4d0bcf[_0x3153ab(0x30a)],_0x2b92f9=_0x5062d5[_0x3153ab(0x3eb)],_0x7ace93=_0x5062d5[_0x3153ab(0x159)],_0x6897f8=_0x4d0bcf['algo'],_0x4af977=[],_0x795fc8=_0x6897f8[_0x3153ab(0x280)]=_0x7ace93['extend']({'_doReset':function(){const _0x1bba8a=_0x3153ab;this[_0x1bba8a(0x162)]=new _0x2b92f9[(_0x1bba8a(0x276))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x591f20,_0x18e47f){const _0x4ba321=_0x3153ab;for(var _0xf5f6c0=this[_0x4ba321(0x162)][_0x4ba321(0x387)],_0x3eb8e2=_0xf5f6c0[0x0],_0x1ccd5c=_0xf5f6c0[0x1],_0x325cd8=_0xf5f6c0[0x2],_0x214b5c=_0xf5f6c0[0x3],_0x47419d=_0xf5f6c0[0x4],_0x2c5af6=0x0;_0x2c5af6<0x50;_0x2c5af6++){if(_0x2c5af6<0x10)_0x4af977[_0x2c5af6]=_0x591f20[_0x18e47f+_0x2c5af6]|0x0;else{var _0x3a49e9=_0x4af977[_0x2c5af6-0x3]^_0x4af977[_0x2c5af6-0x8]^_0x4af977[_0x2c5af6-0xe]^_0x4af977[_0x2c5af6-0x10];_0x4af977[_0x2c5af6]=_0x3a49e9<<0x1|_0x3a49e9>>>0x1f;}var _0xac5bef=(_0x3eb8e2<<0x5|_0x3eb8e2>>>0x1b)+_0x47419d+_0x4af977[_0x2c5af6];_0x2c5af6<0x14?_0xac5bef+=(_0x1ccd5c&_0x325cd8|~_0x1ccd5c&_0x214b5c)+0x5a827999:_0x2c5af6<0x28?_0xac5bef+=(_0x1ccd5c^_0x325cd8^_0x214b5c)+0x6ed9eba1:_0x2c5af6<0x3c?_0xac5bef+=(_0x1ccd5c&_0x325cd8|_0x1ccd5c&_0x214b5c|_0x325cd8&_0x214b5c)-0x70e44324:_0xac5bef+=(_0x1ccd5c^_0x325cd8^_0x214b5c)-0x359d3e2a,_0x47419d=_0x214b5c,_0x214b5c=_0x325cd8,_0x325cd8=_0x1ccd5c<<0x1e|_0x1ccd5c>>>0x2,_0x1ccd5c=_0x3eb8e2,_0x3eb8e2=_0xac5bef;}_0xf5f6c0[0x0]=_0xf5f6c0[0x0]+_0x3eb8e2|0x0,_0xf5f6c0[0x1]=_0xf5f6c0[0x1]+_0x1ccd5c|0x0,_0xf5f6c0[0x2]=_0xf5f6c0[0x2]+_0x325cd8|0x0,_0xf5f6c0[0x3]=_0xf5f6c0[0x3]+_0x214b5c|0x0,_0xf5f6c0[0x4]=_0xf5f6c0[0x4]+_0x47419d|0x0;},'_doFinalize':function(){const _0x38624a=_0x3153ab;var _0x5aef51=this['_data'],_0x3c2bd3=_0x5aef51['words'],_0xbd23af=this['_nDataBytes']*0x8,_0x9b3880=_0x5aef51['sigBytes']*0x8;return _0x3c2bd3[_0x9b3880>>>0x5]|=0x80<<0x18-_0x9b3880%0x20,_0x3c2bd3[(_0x9b3880+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0xbd23af/0x100000000),_0x3c2bd3[(_0x9b3880+0x40>>>0x9<<0x4)+0xf]=_0xbd23af,_0x5aef51[_0x38624a(0x2a7)]=_0x3c2bd3['length']*0x4,this['_process'](),this['_hash'];},'clone':function(){const _0x1fa788=_0x3153ab;var _0x35a03a=_0x7ace93['clone'][_0x1fa788(0x2e7)](this);return _0x35a03a['_hash']=this['_hash'][_0x1fa788(0x17d)](),_0x35a03a;}});_0x4d0bcf[_0x3153ab(0x280)]=_0x7ace93[_0x3153ab(0x1eb)](_0x795fc8),_0x4d0bcf[_0x3153ab(0x233)]=_0x7ace93[_0x3153ab(0x3cb)](_0x795fc8);}()),_0x5b0988[_0x1148ba(0x280)];}));}(Kt)),Kt['exports'];}var zt={'exports':{}},ei;function La(){const _0x51ada8=_0xefeb96;return ei||(ei=0x1,function(_0x2348d6,_0xdd014b){(function(_0xff1e84,_0xc3f389){_0x2348d6['exports']=_0xc3f389(ue());}(Z,function(_0x2ec65d){(function(){const _0x1f2ab0=_0x4451;var _0x244151=_0x2ec65d,_0xfe993=_0x244151[_0x1f2ab0(0x30a)],_0x424525=_0xfe993[_0x1f2ab0(0x3ac)],_0x23e5b9=_0x244151[_0x1f2ab0(0x36b)],_0x51c074=_0x23e5b9[_0x1f2ab0(0x492)],_0x2ee719=_0x244151['algo'];_0x2ee719[_0x1f2ab0(0x48a)]=_0x424525['extend']({'init':function(_0xaae7c8,_0x1c0f93){const _0x5523da=_0x1f2ab0;_0xaae7c8=this[_0x5523da(0x247)]=new _0xaae7c8[(_0x5523da(0x276))](),typeof _0x1c0f93==_0x5523da(0x38c)&&(_0x1c0f93=_0x51c074[_0x5523da(0x40f)](_0x1c0f93));var _0x2a2549=_0xaae7c8[_0x5523da(0x4a8)],_0x3d973e=_0x2a2549*0x4;_0x1c0f93[_0x5523da(0x2a7)]>_0x3d973e&&(_0x1c0f93=_0xaae7c8[_0x5523da(0x2a6)](_0x1c0f93)),_0x1c0f93[_0x5523da(0x3e6)]();for(var _0x8d609d=this['_oKey']=_0x1c0f93[_0x5523da(0x17d)](),_0x306795=this['_iKey']=_0x1c0f93[_0x5523da(0x17d)](),_0x4c7711=_0x8d609d[_0x5523da(0x387)],_0xbc99b9=_0x306795[_0x5523da(0x387)],_0x4b6d9a=0x0;_0x4b6d9a<_0x2a2549;_0x4b6d9a++)_0x4c7711[_0x4b6d9a]^=0x5c5c5c5c,_0xbc99b9[_0x4b6d9a]^=0x36363636;_0x8d609d[_0x5523da(0x2a7)]=_0x306795[_0x5523da(0x2a7)]=_0x3d973e,this[_0x5523da(0x1e9)]();},'reset':function(){const _0x370391=_0x1f2ab0;var _0xf36bd6=this[_0x370391(0x247)];_0xf36bd6['reset'](),_0xf36bd6['update'](this[_0x370391(0x27b)]);},'update':function(_0x214b4f){const _0x5d8267=_0x1f2ab0;return this[_0x5d8267(0x247)][_0x5d8267(0x1ec)](_0x214b4f),this;},'finalize':function(_0x5dad29){const _0x368ae3=_0x1f2ab0;var _0x5d2188=this[_0x368ae3(0x247)],_0x30f5d7=_0x5d2188[_0x368ae3(0x2a6)](_0x5dad29);_0x5d2188[_0x368ae3(0x1e9)]();var _0x3e14c7=_0x5d2188[_0x368ae3(0x2a6)](this[_0x368ae3(0x418)][_0x368ae3(0x17d)]()[_0x368ae3(0x1e4)](_0x30f5d7));return _0x3e14c7;}});}());}));}(zt)),zt[_0x51ada8(0x3e4)];}var ti;function ki(){return ti||(ti=0x1,function(_0x1dfac9,_0x21041d){(function(_0x5b67db,_0x306643,_0x33eb44){_0x1dfac9['exports']=_0x306643(ue(),xa(),La());}(Z,function(_0x2fbe88){const _0x40a92c=_0x4451;return(function(){const _0x1d12bd=_0x4451;var _0x5bd6a9=_0x2fbe88,_0xf00b8a=_0x5bd6a9[_0x1d12bd(0x30a)],_0x12c463=_0xf00b8a['Base'],_0x31ff83=_0xf00b8a['WordArray'],_0x474d1f=_0x5bd6a9[_0x1d12bd(0x155)],_0x10d3e7=_0x474d1f['MD5'],_0x44b663=_0x474d1f[_0x1d12bd(0x327)]=_0x12c463[_0x1d12bd(0x412)]({'cfg':_0x12c463[_0x1d12bd(0x412)]({'keySize':0x80/0x20,'hasher':_0x10d3e7,'iterations':0x1}),'init':function(_0x4c0e50){const _0x549cf2=_0x1d12bd;this[_0x549cf2(0x13e)]=this[_0x549cf2(0x13e)][_0x549cf2(0x412)](_0x4c0e50);},'compute':function(_0x547111,_0x4df392){const _0x315f6b=_0x1d12bd;for(var _0x589959,_0x5d9896=this[_0x315f6b(0x13e)],_0x402a58=_0x5d9896[_0x315f6b(0x1d2)][_0x315f6b(0x3ae)](),_0x323edd=_0x31ff83[_0x315f6b(0x3ae)](),_0x36b64d=_0x323edd[_0x315f6b(0x387)],_0x105710=_0x5d9896[_0x315f6b(0x11e)],_0x28d336=_0x5d9896[_0x315f6b(0x3e8)];_0x36b64d[_0x315f6b(0x46c)]<_0x105710;){_0x589959&&_0x402a58[_0x315f6b(0x1ec)](_0x589959),_0x589959=_0x402a58[_0x315f6b(0x1ec)](_0x547111)[_0x315f6b(0x2a6)](_0x4df392),_0x402a58['reset']();for(var _0x385965=0x1;_0x385965<_0x28d336;_0x385965++)_0x589959=_0x402a58[_0x315f6b(0x2a6)](_0x589959),_0x402a58[_0x315f6b(0x1e9)]();_0x323edd[_0x315f6b(0x1e4)](_0x589959);}return _0x323edd[_0x315f6b(0x2a7)]=_0x105710*0x4,_0x323edd;}});_0x5bd6a9['EvpKDF']=function(_0x479317,_0x1d9771,_0x4c62a2){const _0x3e087d=_0x1d12bd;return _0x44b663['create'](_0x4c62a2)[_0x3e087d(0x347)](_0x479317,_0x1d9771);};}()),_0x2fbe88[_0x40a92c(0x327)];}));}(Yt)),Yt['exports'];}var qt={'exports':{}},si;function Wi(){return si||(si=0x1,function(_0x11ff2d,_0x1e58ca){(function(_0x114aff,_0x4f17ae,_0x3968b3){_0x11ff2d['exports']=_0x4f17ae(ue(),ki());}(Z,function(_0x2905f6){_0x2905f6['lib']['Cipher']||function(_0x2addbc){const _0x50beb8=_0x4451;var _0x2d8ea3=_0x2905f6,_0x5d2a4e=_0x2d8ea3[_0x50beb8(0x30a)],_0x25f4a3=_0x5d2a4e['Base'],_0x54e9a9=_0x5d2a4e[_0x50beb8(0x3eb)],_0x4d6b60=_0x5d2a4e['BufferedBlockAlgorithm'],_0x5ac3d1=_0x2d8ea3['enc'];_0x5ac3d1[_0x50beb8(0x492)];var _0xa9d07c=_0x5ac3d1['Base64'],_0x4cfb11=_0x2d8ea3[_0x50beb8(0x155)],_0x1a15af=_0x4cfb11[_0x50beb8(0x327)],_0x522ed5=_0x5d2a4e[_0x50beb8(0x299)]=_0x4d6b60['extend']({'cfg':_0x25f4a3[_0x50beb8(0x412)](),'createEncryptor':function(_0x5b48dd,_0x5b7c7e){const _0x534809=_0x50beb8;return this[_0x534809(0x3ae)](this[_0x534809(0x44f)],_0x5b48dd,_0x5b7c7e);},'createDecryptor':function(_0x568113,_0x5e04d3){const _0x2e5217=_0x50beb8;return this[_0x2e5217(0x3ae)](this[_0x2e5217(0x2aa)],_0x568113,_0x5e04d3);},'init':function(_0x5d5914,_0x2a616e,_0x1add08){const _0x1f69c0=_0x50beb8;this[_0x1f69c0(0x13e)]=this[_0x1f69c0(0x13e)][_0x1f69c0(0x412)](_0x1add08),this['_xformMode']=_0x5d5914,this['_key']=_0x2a616e,this[_0x1f69c0(0x1e9)]();},'reset':function(){const _0x402806=_0x50beb8;_0x4d6b60[_0x402806(0x1e9)]['call'](this),this['_doReset']();},'process':function(_0x3ca0b1){const _0x1737dd=_0x50beb8;return this[_0x1737dd(0x434)](_0x3ca0b1),this[_0x1737dd(0x1f7)]();},'finalize':function(_0x2b5f7e){const _0x4b467f=_0x50beb8;_0x2b5f7e&&this[_0x4b467f(0x434)](_0x2b5f7e);var _0x4eede7=this[_0x4b467f(0x15e)]();return _0x4eede7;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x31c6ff(_0x2283c5){const _0x36571a=_0x4451;return typeof _0x2283c5==_0x36571a(0x38c)?_0x4d73dc:_0x52d195;}return function(_0x15f6b1){return{'encrypt':function(_0x283601,_0x36a47d,_0x50b9b9){return _0x31c6ff(_0x36a47d)['encrypt'](_0x15f6b1,_0x283601,_0x36a47d,_0x50b9b9);},'decrypt':function(_0x74fca8,_0x32aecc,_0x259e96){const _0x3ffecb=_0x4451;return _0x31c6ff(_0x32aecc)[_0x3ffecb(0x140)](_0x15f6b1,_0x74fca8,_0x32aecc,_0x259e96);}};};}())});_0x5d2a4e[_0x50beb8(0x20e)]=_0x522ed5[_0x50beb8(0x412)]({'_doFinalize':function(){const _0xb0b490=_0x50beb8;var _0xf33685=this[_0xb0b490(0x1f7)](!0x0);return _0xf33685;},'blockSize':0x1});var _0x3fb8e4=_0x2d8ea3[_0x50beb8(0x1a0)]={},_0x5bce69=_0x5d2a4e['BlockCipherMode']=_0x25f4a3[_0x50beb8(0x412)]({'createEncryptor':function(_0x5197b2,_0x31251c){const _0x1d2767=_0x50beb8;return this['Encryptor'][_0x1d2767(0x3ae)](_0x5197b2,_0x31251c);},'createDecryptor':function(_0x2d1974,_0x2008bb){const _0x55a1bd=_0x50beb8;return this[_0x55a1bd(0x463)][_0x55a1bd(0x3ae)](_0x2d1974,_0x2008bb);},'init':function(_0x51d8e8,_0x56fad6){this['_cipher']=_0x51d8e8,this['_iv']=_0x56fad6;}}),_0x49a93e=_0x3fb8e4[_0x50beb8(0x201)]=(function(){const _0x312c3f=_0x50beb8;var _0x38b386=_0x5bce69['extend']();_0x38b386[_0x312c3f(0x4ba)]=_0x38b386[_0x312c3f(0x412)]({'processBlock':function(_0x3175eb,_0x318021){const _0x434693=_0x312c3f;var _0x47e451=this[_0x434693(0x185)],_0x39fad7=_0x47e451['blockSize'];_0x2a50f8[_0x434693(0x2e7)](this,_0x3175eb,_0x318021,_0x39fad7),_0x47e451[_0x434693(0x1a2)](_0x3175eb,_0x318021),this[_0x434693(0x460)]=_0x3175eb[_0x434693(0x352)](_0x318021,_0x318021+_0x39fad7);}}),_0x38b386['Decryptor']=_0x38b386[_0x312c3f(0x412)]({'processBlock':function(_0x4e10e9,_0x5d861c){const _0x52efdb=_0x312c3f;var _0x3a56bf=this['_cipher'],_0x558fde=_0x3a56bf[_0x52efdb(0x4a8)],_0x46f6a3=_0x4e10e9[_0x52efdb(0x352)](_0x5d861c,_0x5d861c+_0x558fde);_0x3a56bf[_0x52efdb(0x3bf)](_0x4e10e9,_0x5d861c),_0x2a50f8[_0x52efdb(0x2e7)](this,_0x4e10e9,_0x5d861c,_0x558fde),this[_0x52efdb(0x460)]=_0x46f6a3;}});function _0x2a50f8(_0x5c062f,_0xf391be,_0x1993d6){var _0x526e5b,_0x477bcd=this['_iv'];_0x477bcd?(_0x526e5b=_0x477bcd,this['_iv']=_0x2addbc):_0x526e5b=this['_prevBlock'];for(var _0x10844a=0x0;_0x10844a<_0x1993d6;_0x10844a++)_0x5c062f[_0xf391be+_0x10844a]^=_0x526e5b[_0x10844a];}return _0x38b386;}()),_0x48b5c6=_0x2d8ea3[_0x50beb8(0x384)]={},_0x4f7ad1=_0x48b5c6[_0x50beb8(0x438)]={'pad':function(_0x9f1f71,_0x22509a){const _0x775ad0=_0x50beb8;for(var _0x342bcd=_0x22509a*0x4,_0x2306fa=_0x342bcd-_0x9f1f71[_0x775ad0(0x2a7)]%_0x342bcd,_0x4b4b8d=_0x2306fa<<0x18|_0x2306fa<<0x10|_0x2306fa<<0x8|_0x2306fa,_0x33cfe3=[],_0x4956a2=0x0;_0x4956a2<_0x2306fa;_0x4956a2+=0x4)_0x33cfe3['push'](_0x4b4b8d);var _0x3635c7=_0x54e9a9['create'](_0x33cfe3,_0x2306fa);_0x9f1f71[_0x775ad0(0x1e4)](_0x3635c7);},'unpad':function(_0x563817){const _0x5b0bb2=_0x50beb8;var _0x4916b0=_0x563817[_0x5b0bb2(0x387)][_0x563817[_0x5b0bb2(0x2a7)]-0x1>>>0x2]&0xff;_0x563817[_0x5b0bb2(0x2a7)]-=_0x4916b0;}};_0x5d2a4e['BlockCipher']=_0x522ed5[_0x50beb8(0x412)]({'cfg':_0x522ed5['cfg'][_0x50beb8(0x412)]({'mode':_0x49a93e,'padding':_0x4f7ad1}),'reset':function(){const _0x38dfaf=_0x50beb8;var _0x22b430;_0x522ed5[_0x38dfaf(0x1e9)][_0x38dfaf(0x2e7)](this);var _0x512908=this['cfg'],_0x1248aa=_0x512908['iv'],_0x58b6d5=_0x512908['mode'];this[_0x38dfaf(0x127)]==this['_ENC_XFORM_MODE']?_0x22b430=_0x58b6d5['createEncryptor']:(_0x22b430=_0x58b6d5[_0x38dfaf(0x284)],this[_0x38dfaf(0x3d5)]=0x1),this[_0x38dfaf(0x240)]&&this[_0x38dfaf(0x240)][_0x38dfaf(0x184)]==_0x22b430?this[_0x38dfaf(0x240)][_0x38dfaf(0x276)](this,_0x1248aa&&_0x1248aa[_0x38dfaf(0x387)]):(this[_0x38dfaf(0x240)]=_0x22b430[_0x38dfaf(0x2e7)](_0x58b6d5,this,_0x1248aa&&_0x1248aa[_0x38dfaf(0x387)]),this[_0x38dfaf(0x240)][_0x38dfaf(0x184)]=_0x22b430);},'_doProcessBlock':function(_0x9fee49,_0x3d58a2){const _0x2b9a7c=_0x50beb8;this[_0x2b9a7c(0x240)]['processBlock'](_0x9fee49,_0x3d58a2);},'_doFinalize':function(){const _0xb2d8d9=_0x50beb8;var _0x50e008,_0x2e329d=this[_0xb2d8d9(0x13e)][_0xb2d8d9(0x21a)];return this[_0xb2d8d9(0x127)]==this[_0xb2d8d9(0x44f)]?(_0x2e329d['pad'](this[_0xb2d8d9(0x1d9)],this[_0xb2d8d9(0x4a8)]),_0x50e008=this[_0xb2d8d9(0x1f7)](!0x0)):(_0x50e008=this[_0xb2d8d9(0x1f7)](!0x0),_0x2e329d[_0xb2d8d9(0x20a)](_0x50e008)),_0x50e008;},'blockSize':0x80/0x20});var _0x59f55d=_0x5d2a4e['CipherParams']=_0x25f4a3['extend']({'init':function(_0x5d155f){const _0x3b9f41=_0x50beb8;this[_0x3b9f41(0x361)](_0x5d155f);},'toString':function(_0x1a4d4e){const _0x578653=_0x50beb8;return(_0x1a4d4e||this[_0x578653(0x4ca)])[_0x578653(0x296)](this);}}),_0x7f0086=_0x2d8ea3[_0x50beb8(0x19d)]={},_0x288b1a=_0x7f0086[_0x50beb8(0x1fc)]={'stringify':function(_0x6ab47){const _0x2cfbfd=_0x50beb8;var _0x960436,_0x405640=_0x6ab47[_0x2cfbfd(0x3e3)],_0x36ec2f=_0x6ab47['salt'];return _0x36ec2f?_0x960436=_0x54e9a9['create']([0x53616c74,0x65645f5f])[_0x2cfbfd(0x1e4)](_0x36ec2f)[_0x2cfbfd(0x1e4)](_0x405640):_0x960436=_0x405640,_0x960436['toString'](_0xa9d07c);},'parse':function(_0x197d7d){const _0x148dde=_0x50beb8;var _0x5700cc,_0x17876c=_0xa9d07c[_0x148dde(0x40f)](_0x197d7d),_0x5e6300=_0x17876c[_0x148dde(0x387)];return _0x5e6300[0x0]==0x53616c74&&_0x5e6300[0x1]==0x65645f5f&&(_0x5700cc=_0x54e9a9[_0x148dde(0x3ae)](_0x5e6300[_0x148dde(0x352)](0x2,0x4)),_0x5e6300['splice'](0x0,0x4),_0x17876c[_0x148dde(0x2a7)]-=0x10),_0x59f55d[_0x148dde(0x3ae)]({'ciphertext':_0x17876c,'salt':_0x5700cc});}},_0x52d195=_0x5d2a4e[_0x50beb8(0x313)]=_0x25f4a3[_0x50beb8(0x412)]({'cfg':_0x25f4a3['extend']({'format':_0x288b1a}),'encrypt':function(_0x3862e5,_0x4656ea,_0x16db9c,_0x2fde60){const _0x868eef=_0x50beb8;_0x2fde60=this[_0x868eef(0x13e)][_0x868eef(0x412)](_0x2fde60);var _0x4a8eb0=_0x3862e5[_0x868eef(0x193)](_0x16db9c,_0x2fde60),_0x131c3e=_0x4a8eb0[_0x868eef(0x2a6)](_0x4656ea),_0x554b29=_0x4a8eb0['cfg'];return _0x59f55d[_0x868eef(0x3ae)]({'ciphertext':_0x131c3e,'key':_0x16db9c,'iv':_0x554b29['iv'],'algorithm':_0x3862e5,'mode':_0x554b29['mode'],'padding':_0x554b29[_0x868eef(0x21a)],'blockSize':_0x3862e5[_0x868eef(0x4a8)],'formatter':_0x2fde60[_0x868eef(0x19d)]});},'decrypt':function(_0x3ad052,_0xccd40e,_0x2ec47d,_0x3fe37f){const _0x33678e=_0x50beb8;_0x3fe37f=this[_0x33678e(0x13e)][_0x33678e(0x412)](_0x3fe37f),_0xccd40e=this[_0x33678e(0x270)](_0xccd40e,_0x3fe37f[_0x33678e(0x19d)]);var _0x26bfdf=_0x3ad052[_0x33678e(0x284)](_0x2ec47d,_0x3fe37f)[_0x33678e(0x2a6)](_0xccd40e[_0x33678e(0x3e3)]);return _0x26bfdf;},'_parse':function(_0x30d95b,_0x30531f){const _0x18b9ff=_0x50beb8;return typeof _0x30d95b==_0x18b9ff(0x38c)?_0x30531f[_0x18b9ff(0x40f)](_0x30d95b,this):_0x30d95b;}}),_0x5bd3b4=_0x2d8ea3['kdf']={},_0x2f1903=_0x5bd3b4[_0x50beb8(0x1fc)]={'execute':function(_0x45db3e,_0x29f9c7,_0x23adf3,_0x59c32c,_0x3a7e42){const _0x304fdf=_0x50beb8;if(_0x59c32c||(_0x59c32c=_0x54e9a9[_0x304fdf(0x268)](0x40/0x8)),_0x3a7e42)var _0x18852e=_0x1a15af[_0x304fdf(0x3ae)]({'keySize':_0x29f9c7+_0x23adf3,'hasher':_0x3a7e42})[_0x304fdf(0x347)](_0x45db3e,_0x59c32c);else var _0x18852e=_0x1a15af[_0x304fdf(0x3ae)]({'keySize':_0x29f9c7+_0x23adf3})[_0x304fdf(0x347)](_0x45db3e,_0x59c32c);var _0x5146ba=_0x54e9a9[_0x304fdf(0x3ae)](_0x18852e[_0x304fdf(0x387)][_0x304fdf(0x352)](_0x29f9c7),_0x23adf3*0x4);return _0x18852e[_0x304fdf(0x2a7)]=_0x29f9c7*0x4,_0x59f55d[_0x304fdf(0x3ae)]({'key':_0x18852e,'iv':_0x5146ba,'salt':_0x59c32c});}},_0x4d73dc=_0x5d2a4e['PasswordBasedCipher']=_0x52d195[_0x50beb8(0x412)]({'cfg':_0x52d195[_0x50beb8(0x13e)][_0x50beb8(0x412)]({'kdf':_0x2f1903}),'encrypt':function(_0x28d2a1,_0x2bccdc,_0x3dea91,_0x1ee3b1){const _0x23fcfb=_0x50beb8;_0x1ee3b1=this[_0x23fcfb(0x13e)][_0x23fcfb(0x412)](_0x1ee3b1);var _0x464f7e=_0x1ee3b1[_0x23fcfb(0x1b3)][_0x23fcfb(0x241)](_0x3dea91,_0x28d2a1[_0x23fcfb(0x11e)],_0x28d2a1['ivSize'],_0x1ee3b1['salt'],_0x1ee3b1[_0x23fcfb(0x1d2)]);_0x1ee3b1['iv']=_0x464f7e['iv'];var _0x5f6f8b=_0x52d195[_0x23fcfb(0xf8)][_0x23fcfb(0x2e7)](this,_0x28d2a1,_0x2bccdc,_0x464f7e[_0x23fcfb(0x342)],_0x1ee3b1);return _0x5f6f8b['mixIn'](_0x464f7e),_0x5f6f8b;},'decrypt':function(_0x103713,_0x21bc4d,_0x350251,_0x364019){const _0x4eee24=_0x50beb8;_0x364019=this['cfg'][_0x4eee24(0x412)](_0x364019),_0x21bc4d=this[_0x4eee24(0x270)](_0x21bc4d,_0x364019[_0x4eee24(0x19d)]);var _0x58c366=_0x364019[_0x4eee24(0x1b3)][_0x4eee24(0x241)](_0x350251,_0x103713[_0x4eee24(0x11e)],_0x103713['ivSize'],_0x21bc4d[_0x4eee24(0x373)],_0x364019['hasher']);_0x364019['iv']=_0x58c366['iv'];var _0x5c233b=_0x52d195[_0x4eee24(0x140)]['call'](this,_0x103713,_0x21bc4d,_0x58c366[_0x4eee24(0x342)],_0x364019);return _0x5c233b;}});}();}));}(qt)),qt['exports'];}(function(_0x11f0e2,_0x4096ae){(function(_0x2afb35,_0x36f00d,_0xd9ee9e){const _0x4fe4ad=_0x4451;_0x11f0e2[_0x4fe4ad(0x3e4)]=_0x36f00d(ue(),Bi(),Ma(),ki(),Wi());}(Z,function(_0x2c9683){const _0x5c861e=_0x4451;return(function(){const _0x31a0e0=_0x4451;var _0x57f676=_0x2c9683,_0x22d2a2=_0x57f676[_0x31a0e0(0x30a)],_0x2a6095=_0x22d2a2[_0x31a0e0(0x2c9)],_0x3750b2=_0x57f676[_0x31a0e0(0x155)],_0xcd22fc=[],_0x31afcd=[],_0x247b20=[],_0xf16f72=[],_0x326857=[],_0x3da38a=[],_0x7b088a=[],_0x6ec6a3=[],_0x263e18=[],_0x5cd873=[];(function(){for(var _0x367998=[],_0x49f78d=0x0;_0x49f78d<0x100;_0x49f78d++)_0x49f78d<0x80?_0x367998[_0x49f78d]=_0x49f78d<<0x1:_0x367998[_0x49f78d]=_0x49f78d<<0x1^0x11b;for(var _0x1b4fa7=0x0,_0x84ba68=0x0,_0x49f78d=0x0;_0x49f78d<0x100;_0x49f78d++){var _0x566980=_0x84ba68^_0x84ba68<<0x1^_0x84ba68<<0x2^_0x84ba68<<0x3^_0x84ba68<<0x4;_0x566980=_0x566980>>>0x8^_0x566980&0xff^0x63,_0xcd22fc[_0x1b4fa7]=_0x566980,_0x31afcd[_0x566980]=_0x1b4fa7;var _0x82e7b4=_0x367998[_0x1b4fa7],_0x22803a=_0x367998[_0x82e7b4],_0x1003c6=_0x367998[_0x22803a],_0x33a45c=_0x367998[_0x566980]*0x101^_0x566980*0x1010100;_0x247b20[_0x1b4fa7]=_0x33a45c<<0x18|_0x33a45c>>>0x8,_0xf16f72[_0x1b4fa7]=_0x33a45c<<0x10|_0x33a45c>>>0x10,_0x326857[_0x1b4fa7]=_0x33a45c<<0x8|_0x33a45c>>>0x18,_0x3da38a[_0x1b4fa7]=_0x33a45c;var _0x33a45c=_0x1003c6*0x1010101^_0x22803a*0x10001^_0x82e7b4*0x101^_0x1b4fa7*0x1010100;_0x7b088a[_0x566980]=_0x33a45c<<0x18|_0x33a45c>>>0x8,_0x6ec6a3[_0x566980]=_0x33a45c<<0x10|_0x33a45c>>>0x10,_0x263e18[_0x566980]=_0x33a45c<<0x8|_0x33a45c>>>0x18,_0x5cd873[_0x566980]=_0x33a45c,_0x1b4fa7?(_0x1b4fa7=_0x82e7b4^_0x367998[_0x367998[_0x367998[_0x1003c6^_0x82e7b4]]],_0x84ba68^=_0x367998[_0x367998[_0x84ba68]]):_0x1b4fa7=_0x84ba68=0x1;}}());var _0x5e5060=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x26b2b0=_0x3750b2[_0x31a0e0(0x332)]=_0x2a6095[_0x31a0e0(0x412)]({'_doReset':function(){const _0x13f5da=_0x31a0e0;var _0x306503;if(!(this[_0x13f5da(0x2ed)]&&this[_0x13f5da(0x13a)]===this[_0x13f5da(0x2a0)])){for(var _0x333cc1=this[_0x13f5da(0x13a)]=this[_0x13f5da(0x2a0)],_0xefa8f5=_0x333cc1[_0x13f5da(0x387)],_0x2e531a=_0x333cc1['sigBytes']/0x4,_0xf4f2e8=this['_nRounds']=_0x2e531a+0x6,_0x4160cb=(_0xf4f2e8+0x1)*0x4,_0x46d9e0=this[_0x13f5da(0x32a)]=[],_0x236146=0x0;_0x236146<_0x4160cb;_0x236146++)_0x236146<_0x2e531a?_0x46d9e0[_0x236146]=_0xefa8f5[_0x236146]:(_0x306503=_0x46d9e0[_0x236146-0x1],_0x236146%_0x2e531a?_0x2e531a>0x6&&_0x236146%_0x2e531a==0x4&&(_0x306503=_0xcd22fc[_0x306503>>>0x18]<<0x18|_0xcd22fc[_0x306503>>>0x10&0xff]<<0x10|_0xcd22fc[_0x306503>>>0x8&0xff]<<0x8|_0xcd22fc[_0x306503&0xff]):(_0x306503=_0x306503<<0x8|_0x306503>>>0x18,_0x306503=_0xcd22fc[_0x306503>>>0x18]<<0x18|_0xcd22fc[_0x306503>>>0x10&0xff]<<0x10|_0xcd22fc[_0x306503>>>0x8&0xff]<<0x8|_0xcd22fc[_0x306503&0xff],_0x306503^=_0x5e5060[_0x236146/_0x2e531a|0x0]<<0x18),_0x46d9e0[_0x236146]=_0x46d9e0[_0x236146-_0x2e531a]^_0x306503);for(var _0xd8eadb=this[_0x13f5da(0x143)]=[],_0x5a2ca9=0x0;_0x5a2ca9<_0x4160cb;_0x5a2ca9++){var _0x236146=_0x4160cb-_0x5a2ca9;if(_0x5a2ca9%0x4)var _0x306503=_0x46d9e0[_0x236146];else var _0x306503=_0x46d9e0[_0x236146-0x4];_0x5a2ca9<0x4||_0x236146<=0x4?_0xd8eadb[_0x5a2ca9]=_0x306503:_0xd8eadb[_0x5a2ca9]=_0x7b088a[_0xcd22fc[_0x306503>>>0x18]]^_0x6ec6a3[_0xcd22fc[_0x306503>>>0x10&0xff]]^_0x263e18[_0xcd22fc[_0x306503>>>0x8&0xff]]^_0x5cd873[_0xcd22fc[_0x306503&0xff]];}}},'encryptBlock':function(_0x288d5a,_0x548f8c){const _0x4944d7=_0x31a0e0;this[_0x4944d7(0x3b9)](_0x288d5a,_0x548f8c,this[_0x4944d7(0x32a)],_0x247b20,_0xf16f72,_0x326857,_0x3da38a,_0xcd22fc);},'decryptBlock':function(_0xc946f5,_0x3a0139){const _0x31b044=_0x31a0e0;var _0x3f1458=_0xc946f5[_0x3a0139+0x1];_0xc946f5[_0x3a0139+0x1]=_0xc946f5[_0x3a0139+0x3],_0xc946f5[_0x3a0139+0x3]=_0x3f1458,this[_0x31b044(0x3b9)](_0xc946f5,_0x3a0139,this[_0x31b044(0x143)],_0x7b088a,_0x6ec6a3,_0x263e18,_0x5cd873,_0x31afcd);var _0x3f1458=_0xc946f5[_0x3a0139+0x1];_0xc946f5[_0x3a0139+0x1]=_0xc946f5[_0x3a0139+0x3],_0xc946f5[_0x3a0139+0x3]=_0x3f1458;},'_doCryptBlock':function(_0x40b5ed,_0x19d366,_0x83321e,_0x38e43e,_0x929ac,_0x80aeb2,_0x5b20d1,_0x44ccb3){const _0x57a6f7=_0x31a0e0;for(var _0x5b74c3=this[_0x57a6f7(0x2ed)],_0x31d3dd=_0x40b5ed[_0x19d366]^_0x83321e[0x0],_0x456b46=_0x40b5ed[_0x19d366+0x1]^_0x83321e[0x1],_0x3b7f0c=_0x40b5ed[_0x19d366+0x2]^_0x83321e[0x2],_0x2afc9a=_0x40b5ed[_0x19d366+0x3]^_0x83321e[0x3],_0x403cd4=0x4,_0x3015f9=0x1;_0x3015f9<_0x5b74c3;_0x3015f9++){var _0x4f6efd=_0x38e43e[_0x31d3dd>>>0x18]^_0x929ac[_0x456b46>>>0x10&0xff]^_0x80aeb2[_0x3b7f0c>>>0x8&0xff]^_0x5b20d1[_0x2afc9a&0xff]^_0x83321e[_0x403cd4++],_0x56dbdc=_0x38e43e[_0x456b46>>>0x18]^_0x929ac[_0x3b7f0c>>>0x10&0xff]^_0x80aeb2[_0x2afc9a>>>0x8&0xff]^_0x5b20d1[_0x31d3dd&0xff]^_0x83321e[_0x403cd4++],_0x29773a=_0x38e43e[_0x3b7f0c>>>0x18]^_0x929ac[_0x2afc9a>>>0x10&0xff]^_0x80aeb2[_0x31d3dd>>>0x8&0xff]^_0x5b20d1[_0x456b46&0xff]^_0x83321e[_0x403cd4++],_0x3f11d8=_0x38e43e[_0x2afc9a>>>0x18]^_0x929ac[_0x31d3dd>>>0x10&0xff]^_0x80aeb2[_0x456b46>>>0x8&0xff]^_0x5b20d1[_0x3b7f0c&0xff]^_0x83321e[_0x403cd4++];_0x31d3dd=_0x4f6efd,_0x456b46=_0x56dbdc,_0x3b7f0c=_0x29773a,_0x2afc9a=_0x3f11d8;}var _0x4f6efd=(_0x44ccb3[_0x31d3dd>>>0x18]<<0x18|_0x44ccb3[_0x456b46>>>0x10&0xff]<<0x10|_0x44ccb3[_0x3b7f0c>>>0x8&0xff]<<0x8|_0x44ccb3[_0x2afc9a&0xff])^_0x83321e[_0x403cd4++],_0x56dbdc=(_0x44ccb3[_0x456b46>>>0x18]<<0x18|_0x44ccb3[_0x3b7f0c>>>0x10&0xff]<<0x10|_0x44ccb3[_0x2afc9a>>>0x8&0xff]<<0x8|_0x44ccb3[_0x31d3dd&0xff])^_0x83321e[_0x403cd4++],_0x29773a=(_0x44ccb3[_0x3b7f0c>>>0x18]<<0x18|_0x44ccb3[_0x2afc9a>>>0x10&0xff]<<0x10|_0x44ccb3[_0x31d3dd>>>0x8&0xff]<<0x8|_0x44ccb3[_0x456b46&0xff])^_0x83321e[_0x403cd4++],_0x3f11d8=(_0x44ccb3[_0x2afc9a>>>0x18]<<0x18|_0x44ccb3[_0x31d3dd>>>0x10&0xff]<<0x10|_0x44ccb3[_0x456b46>>>0x8&0xff]<<0x8|_0x44ccb3[_0x3b7f0c&0xff])^_0x83321e[_0x403cd4++];_0x40b5ed[_0x19d366]=_0x4f6efd,_0x40b5ed[_0x19d366+0x1]=_0x56dbdc,_0x40b5ed[_0x19d366+0x2]=_0x29773a,_0x40b5ed[_0x19d366+0x3]=_0x3f11d8;},'keySize':0x100/0x20});_0x57f676['AES']=_0x2a6095[_0x31a0e0(0x1eb)](_0x26b2b0);}()),_0x2c9683[_0x5c861e(0x332)];}));}(ji));var $a=ji['exports'];const Ha=at($a);var ja=Bi();const ii=at(ja);var Fi={'exports':{}};(function(_0x2b3e85,_0x36b4de){(function(_0x3a4475,_0x338e80){const _0x4c022b=_0x4451;_0x2b3e85[_0x4c022b(0x3e4)]=_0x338e80(ue());}(Z,function(_0x1e09f5){const _0x41071e=_0x4451;return _0x1e09f5[_0x41071e(0x36b)][_0x41071e(0x492)];}));}(Fi));var Ba=Fi['exports'];const ka=at(Ba);var Vi={'exports':{}};(function(_0x162d8c,_0x16701d){(function(_0x4e27a8,_0x17ff98){const _0x4621d9=_0x4451;_0x162d8c[_0x4621d9(0x3e4)]=_0x17ff98(ue());}(Z,function(_0x429244){const _0x1b9e00=_0x4451;return(function(){const _0x32454b=_0x4451;if(typeof ArrayBuffer==_0x32454b(0x274)){var _0x341860=_0x429244,_0x1159be=_0x341860[_0x32454b(0x30a)],_0x251da3=_0x1159be[_0x32454b(0x3eb)],_0x375d90=_0x251da3['init'],_0x192466=_0x251da3[_0x32454b(0x276)]=function(_0x2b44a3){const _0x2fb67f=_0x32454b;if(_0x2b44a3 instanceof ArrayBuffer&&(_0x2b44a3=new Uint8Array(_0x2b44a3)),(_0x2b44a3 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2b44a3 instanceof Uint8ClampedArray||_0x2b44a3 instanceof Int16Array||_0x2b44a3 instanceof Uint16Array||_0x2b44a3 instanceof Int32Array||_0x2b44a3 instanceof Uint32Array||_0x2b44a3 instanceof Float32Array||_0x2b44a3 instanceof Float64Array)&&(_0x2b44a3=new Uint8Array(_0x2b44a3[_0x2fb67f(0x138)],_0x2b44a3[_0x2fb67f(0x2b6)],_0x2b44a3[_0x2fb67f(0x108)])),_0x2b44a3 instanceof Uint8Array){for(var _0x43617a=_0x2b44a3[_0x2fb67f(0x108)],_0x4f0130=[],_0x4f9ccd=0x0;_0x4f9ccd<_0x43617a;_0x4f9ccd++)_0x4f0130[_0x4f9ccd>>>0x2]|=_0x2b44a3[_0x4f9ccd]<<0x18-_0x4f9ccd%0x4*0x8;_0x375d90['call'](this,_0x4f0130,_0x43617a);}else _0x375d90[_0x2fb67f(0x24e)](this,arguments);};_0x192466[_0x32454b(0x43e)]=_0x251da3;}}()),_0x429244[_0x1b9e00(0x30a)][_0x1b9e00(0x3eb)];}));}(Vi));var Wa=Vi[_0xefeb96(0x3e4)];const Fa=at(Wa);var Gi={'exports':{}};(function(_0x1ec88b,_0x1decef){(function(_0x1abee5,_0x1776ac,_0x1580cc){_0x1ec88b['exports']=_0x1776ac(ue(),Wi());}(Z,function(_0x3be1eb){const _0x510866=_0x4451;return _0x3be1eb[_0x510866(0x384)][_0x510866(0x2fb)]={'pad':function(){},'unpad':function(){}},_0x3be1eb[_0x510866(0x384)][_0x510866(0x2fb)];}));}(Gi));var Va=Gi[_0xefeb96(0x3e4)];const Ga=at(Va);function Ya(_0x92e1e3,_0x32ed56){const _0x21cdb9=_0xefeb96,_0x4dca8f=_0x32ed56-_0x92e1e3['length']%_0x32ed56,_0x406784=String[_0x21cdb9(0x337)](_0x4dca8f)[_0x21cdb9(0x1b5)](_0x4dca8f);return _0x92e1e3+_0x406784;}function Ka(_0x199a5d,_0x266697){const _0xef67f2=_0xefeb96,_0x8950a8=Fa[_0xef67f2(0x268)](0x10),_0x19125f=Ya(_0x199a5d,0x10),_0x1a13b2=Ha[_0xef67f2(0xf8)](ka[_0xef67f2(0x40f)](_0x19125f),ii[_0xef67f2(0x40f)](_0x266697),{'iv':_0x8950a8,'padding':Ga});return _0x8950a8[_0xef67f2(0x1e4)](_0x1a13b2[_0xef67f2(0x3e3)])[_0xef67f2(0x3e7)](ii);}function za(){const _0x361e66=_0xefeb96,_0x751b93=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x361e66(0x4a0)];if(_0x751b93){const _0x4cbd1e={'time':Math[_0x361e66(0xe8)](Date['now']()/0x3e8),'domain':location[_0x361e66(0x2a3)]};return Ka(JSON[_0x361e66(0x296)](_0x4cbd1e),_0x751b93);}}var qa=Object[_0xefeb96(0x466)],Xa=Object['getOwnPropertyDescriptor'],Ja=(_0x40ea92,_0x2bff21,_0x5b50ee,_0xb24031)=>{const _0x142fde=_0xefeb96;for(var _0x1636f5=_0xb24031>0x1?void 0x0:_0xb24031?Xa(_0x2bff21,_0x5b50ee):_0x2bff21,_0x13f4f7=_0x40ea92[_0x142fde(0x46c)]-0x1,_0x1eb67f;_0x13f4f7>=0x0;_0x13f4f7--)(_0x1eb67f=_0x40ea92[_0x13f4f7])&&(_0x1636f5=(_0xb24031?_0x1eb67f(_0x2bff21,_0x5b50ee,_0x1636f5):_0x1eb67f(_0x1636f5))||_0x1636f5);return _0xb24031&&_0x1636f5&&qa(_0x2bff21,_0x5b50ee,_0x1636f5),_0x1636f5;},Za=(_0x2e643a,_0x4fd352)=>(_0x5ca2d8,_0x5be965)=>_0x4fd352(_0x5ca2d8,_0x5be965,_0x2e643a);let Tt=class{constructor(_0x143a3d){const _0x4a8e21=_0xefeb96;this[_0x4a8e21(0x2b0)]=_0x143a3d,this[_0x4a8e21(0x485)]();}[_0xefeb96(0x485)](){const _0x381a52=_0xefeb96;this[_0x381a52(0x2b0)][_0x381a52(0x3c7)]({'interceptor':(_0x146fbf,_0x50840d)=>{const _0xd6f38a=_0x381a52,_0x439168=_0x146fbf[_0xd6f38a(0x2b1)],_0x253962=za();return _0x253962&&_0x439168[_0xd6f38a(0xf2)](_0xd6f38a(0x2c7),_0x253962),_0x50840d(_0x146fbf);}});}};Tt=Ja([Za(0x0,_0x3099f4(_0x281aa7))],Tt);var Qa=Object['defineProperty'],ec=Object[_0xefeb96(0x336)],tc=(_0x4797f8,_0x50d0aa,_0x38ca83,_0x477dd7)=>{const _0xcbed51=_0xefeb96;for(var _0x21ece5=_0x477dd7>0x1?void 0x0:_0x477dd7?ec(_0x50d0aa,_0x38ca83):_0x50d0aa,_0x6d9f42=_0x4797f8[_0xcbed51(0x46c)]-0x1,_0x359c9a;_0x6d9f42>=0x0;_0x6d9f42--)(_0x359c9a=_0x4797f8[_0x6d9f42])&&(_0x21ece5=(_0x477dd7?_0x359c9a(_0x50d0aa,_0x38ca83,_0x21ece5):_0x359c9a(_0x21ece5))||_0x21ece5);return _0x477dd7&&_0x21ece5&&Qa(_0x50d0aa,_0x38ca83,_0x21ece5),_0x21ece5;},Xt=(_0x3f1d79,_0x41f2c7)=>(_0x34b583,_0x45ad98)=>_0x41f2c7(_0x34b583,_0x45ad98,_0x3f1d79);const sc=[_0xefeb96(0x14b),'image/jpeg',_0xefeb96(0x3f6),'image/gif',_0xefeb96(0x2a2)],ic=0x5*0x400*0x400,nc='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',rc=_0xefeb96(0x3bb),oc=_0xefeb96(0x1b8),ac=_0xefeb96(0x292);let hs=class{constructor(_0xd4a02f,_0x3160ce,_0x44bffd){const _0x27b78f=_0xefeb96;g(this,_0x27b78f(0x148),0x0),g(this,_0x27b78f(0x30e),new _0x17e316()),g(this,'change$',this[_0x27b78f(0x30e)]),g(this,_0x27b78f(0x324),new Map()),(this[_0x27b78f(0x2b0)]=_0xd4a02f,this[_0x27b78f(0x32b)]=_0x3160ce,this[_0x27b78f(0x214)]=_0x44bffd);}[_0xefeb96(0x359)](_0x358c04){const _0x3e555e=_0xefeb96;this[_0x3e555e(0x148)]=_0x358c04,this[_0x3e555e(0x30e)]['next'](_0x358c04);}[_0xefeb96(0x447)](_0x2accc7,_0x3887be){const _0x46a049=_0xefeb96;if(_0x3887be===_0x4bcfac[_0x46a049(0xee)]){const _0x17b57e=new Image();return _0x17b57e[_0x46a049(0x468)]=_0x2accc7,_0x17b57e;}return this[_0x46a049(0x324)]['get'](_0x2accc7);}['addImageSourceCache'](_0x13bd79,_0x5c954a,_0x2453c9){const _0x580fd8=_0xefeb96;_0x5c954a===_0x4bcfac[_0x580fd8(0xee)]||_0x2453c9==null||this[_0x580fd8(0x324)][_0x580fd8(0xf2)](_0x13bd79,_0x2453c9);}async[_0xefeb96(0x345)](_0x73d5e0){const _0x5988ed=_0xefeb96;try{const _0x4f80fa=this[_0x5988ed(0x4cc)](this['_getSignURL'](),''+_0x73d5e0),_0x146316=(await this['_httpService'][_0x5988ed(0x271)](_0x4f80fa))[_0x5988ed(0x3c8)];if(_0x146316['error']&&_0x146316[_0x5988ed(0x18c)][_0x5988ed(0x23b)]===Ri['OK']){const _0x431d84=new URL(_0x146316[_0x5988ed(0x202)],this[_0x5988ed(0x1d1)]())[_0x5988ed(0x3e7)]();return Promise[_0x5988ed(0x3c3)](_0x431d84);}return Promise[_0x5988ed(0xed)](_0x146316['error']);}catch(_0x94267f){return Promise[_0x5988ed(0xed)](_0x94267f);}}async['saveImage'](_0x5a898a){const _0x41e0a8=_0xefeb96;let _0x4336a3='';if(!sc['includes'](_0x5a898a['type']))return this['_decreaseWaiting'](),Promise[_0x41e0a8(0xed)](new Error(_0x69f6d2[_0x41e0a8(0x43f)]));if(_0x5a898a['size']>ic)return this[_0x41e0a8(0x111)](),Promise[_0x41e0a8(0xed)](new Error(_0x69f6d2['ERROR_EXCEED_SIZE']));try{const _0x492c2f=new FormData();_0x492c2f[_0x41e0a8(0x103)](_0x41e0a8(0x277),_0x5a898a);const _0x33ac70=this['_univerInstanceService'][_0x41e0a8(0x186)](),_0x3b32fd=_0x33ac70==null?void 0x0:_0x33ac70['getUnitId']();if(!_0x3b32fd)throw new Error(_0x41e0a8(0x285));const _0x312357=this['_getUploadFileURL']()+'?size='+_0x5a898a['size'][_0x41e0a8(0x3e7)]()+_0x41e0a8(0x101)+yi[_0x41e0a8(0x439)]+_0x41e0a8(0x41c)+encodeURIComponent(_0x3b32fd),_0x66252=await(await fetch(_0x312357,{'method':_0x41e0a8(0x18d),'body':_0x492c2f}))[_0x41e0a8(0x181)]();if(typeof _0x66252[_0x41e0a8(0x368)]!=_0x41e0a8(0x38c))return this[_0x41e0a8(0x111)](),Promise[_0x41e0a8(0xed)](new Error(_0x69f6d2['ERROR_IMAGE']));_0x4336a3=_0x66252['FileId'];}catch{return this[_0x41e0a8(0x111)](),Promise[_0x41e0a8(0xed)](new Error(_0x69f6d2[_0x41e0a8(0x18e)]));}return new Promise((_0x345273,_0x376add)=>{const _0x556da6=_0x41e0a8,_0x1f0184=new FileReader();_0x1f0184[_0x556da6(0x1c4)](_0x5a898a),_0x1f0184[_0x556da6(0x42f)]=_0x332268=>{const _0x1c133d=_0x556da6;var _0x3e31a3;const _0x11355e=(_0x3e31a3=_0x332268[_0x1c133d(0x160)])==null?void 0x0:_0x3e31a3[_0x1c133d(0x2c0)];if(_0x11355e==null){this['_decreaseWaiting'](),_0x376add(new Error(_0x69f6d2[_0x1c133d(0x18e)]));return;}const _0x177992=_0x4d0489[_0x1c133d(0xf5)](0x6);_0x345273({'imageId':_0x177992,'imageSourceType':_0x4bcfac[_0x1c133d(0x2e1)],'source':_0x4336a3,'base64Cache':_0x11355e,'status':_0x69f6d2[_0x1c133d(0x3ea)]}),this[_0x1c133d(0x111)]();};});}[_0xefeb96(0xf9)](){const _0x550f14=_0xefeb96;var _0x179561,_0x377280;const _0x1f50ff=this['_configService'][_0x550f14(0x188)](nc),_0x63689=this['_configService']['getConfig'](ie);return(_0x377280=(_0x179561=_0x63689==null?void 0x0:_0x63689[_0x550f14(0x19a)])!=null?_0x179561:_0x1f50ff)!=null?_0x377280:rc;}[_0xefeb96(0x212)](){const _0x420eb7=_0xefeb96;var _0x35c0fe,_0x43ef85;const _0x369e25=this['_configService']['getConfig'](oc),_0x2dc9bc=this[_0x420eb7(0x32b)][_0x420eb7(0x188)](ie);return(_0x43ef85=(_0x35c0fe=_0x2dc9bc==null?void 0x0:_0x2dc9bc['signUrlServerUrl'])!=null?_0x35c0fe:_0x369e25)!=null?_0x43ef85:ac;}[_0xefeb96(0x1d1)](){const _0x275c95=_0xefeb96;var _0x198d10;const _0x4412f9=this[_0x275c95(0x32b)][_0x275c95(0x188)](ie);return(_0x198d10=_0x4412f9==null?void 0x0:_0x4412f9[_0x275c95(0xfd)])!=null?_0x198d10:location[_0x275c95(0x441)];}[_0xefeb96(0x4cc)](_0x50fd14,_0x20b014){return _0x50fd14['replace']('{fileID}',_0x20b014);}['_decreaseWaiting'](){const _0x1b1a48=_0xefeb96;this['_waitCount']-=0x1,this[_0x1b1a48(0x30e)][_0x1b1a48(0x2f1)](this[_0x1b1a48(0x148)]);}};hs=tc([Xt(0x0,_0x3099f4(_0x281aa7)),Xt(0x1,_0x4ea3e2),Xt(0x2,_0x3099f4(_0x3ca09d))],hs);var cc=Object[_0xefeb96(0x466)],hc=Object[_0xefeb96(0x336)],lc=(_0x4d5159,_0x1c0a21,_0x3522e8,_0x28c870)=>{const _0x370e8c=_0xefeb96;for(var _0x44cfa0=_0x28c870>0x1?void 0x0:_0x28c870?hc(_0x1c0a21,_0x3522e8):_0x1c0a21,_0x142ca8=_0x4d5159[_0x370e8c(0x46c)]-0x1,_0x2a7bec;_0x142ca8>=0x0;_0x142ca8--)(_0x2a7bec=_0x4d5159[_0x142ca8])&&(_0x44cfa0=(_0x28c870?_0x2a7bec(_0x1c0a21,_0x3522e8,_0x44cfa0):_0x2a7bec(_0x44cfa0))||_0x44cfa0);return _0x28c870&&_0x44cfa0&&cc(_0x1c0a21,_0x3522e8,_0x44cfa0),_0x44cfa0;},Qe=(_0x38cb34,_0x2d45c4)=>(_0x402e2f,_0xa46283)=>_0x2d45c4(_0x402e2f,_0xa46283,_0x38cb34);let Rt=class extends _0x2f42db{constructor(_0x187264,_0x3d375a,_0x22c2e0,_0x373cb4,_0x15e6fe){const _0x5df073=_0xefeb96;super(),this[_0x5df073(0x269)]=_0x187264,this['_univerInstanceService']=_0x3d375a,this[_0x5df073(0x2fd)]=_0x22c2e0,this[_0x5df073(0x106)]=_0x373cb4,this[_0x5df073(0x312)]=_0x15e6fe,this['_initUnitPermissionChange'](),this[_0x5df073(0x1a7)]();}[_0xefeb96(0x1a7)](){const _0x20f789=_0xefeb96,_0x561c8b=async _0x10c99b=>{const _0x2b289c=_0x4451;(await this[_0x2b289c(0x106)][_0x2b289c(0x302)](_0x10c99b))['event$']['pipe'](_0x353c46(_0x44ec87=>_0x44ec87['eventID']===_0x3b2ff1[_0x2b289c(0x22b)]),_0x4c9419(this[_0x2b289c(0x18b)]))[_0x2b289c(0x2e2)](_0x37146a=>{const _0x3bfb33=_0x2b289c,_0x89d9a5=_0x37146a,{reason:_0x3c0a1f}=_0x89d9a5[_0x3bfb33(0x1f4)];this[_0x3bfb33(0x269)][_0x3bfb33(0x271)](_0x3480f5)['show']({'type':_0x336366[_0x3bfb33(0x132)],'content':this['_localeService']['t'](_0x3bfb33(0x44a))+'('+_0x3c0a1f+')'}),this[_0x3bfb33(0x2fd)][_0x3bfb33(0x131)](new _0x3b5145(_0x10c99b)['id'],!0x1),this[_0x3bfb33(0x106)][_0x3bfb33(0x2bf)](_0x10c99b);});};_0x1b8a05(this[_0x20f789(0x214)][_0x20f789(0x423)](_0x634e8e[_0x20f789(0x451)]),this[_0x20f789(0x214)][_0x20f789(0x423)](_0x634e8e['UNIVER_DOC']))[_0x20f789(0x272)](_0x348356(_0xc758f0=>_0xc758f0['getUnitId']()),_0x353c46(_0x2b4f46=>!_0x1f4ea9(_0x2b4f46)),_0x4c9419(this[_0x20f789(0x18b)]))[_0x20f789(0x2e2)](_0x6b1011=>{_0x561c8b(_0x6b1011);});}[_0xefeb96(0x157)](){const _0x4bdc08=_0xefeb96,_0x493db9=async _0x420d7f=>{const _0x5d852a=_0x4451;(await this[_0x5d852a(0x106)]['requireSession'](_0x420d7f))[_0x5d852a(0x2c3)][_0x5d852a(0x272)](_0x353c46(_0x22fe7d=>_0x22fe7d['eventID']===_0x3b2ff1[_0x5d852a(0x1c7)]),_0x4c9419(this['dispose$']))[_0x5d852a(0x2e2)](_0x38e5df=>{const _0x12649f=_0x5d852a,_0x123ec8=_0x38e5df,{objectId:_0x296e20}=_0x123ec8[_0x12649f(0x1f4)],_0x525896=this[_0x12649f(0x269)][_0x12649f(0x271)](_0x1315ea);_0x296e20===_0x420d7f?_0x525896[_0x12649f(0x398)](_0x420d7f):_0x525896[_0x12649f(0x156)](_0x420d7f,_0x296e20);});};_0x1b8a05(this[_0x4bdc08(0x214)][_0x4bdc08(0x423)](_0x634e8e['UNIVER_SHEET']),this[_0x4bdc08(0x214)]['getTypeOfUnitAdded$'](_0x634e8e[_0x4bdc08(0x4b4)]))[_0x4bdc08(0x272)](_0x348356(_0x415b71=>_0x415b71[_0x4bdc08(0xf6)]()),_0x353c46(_0x4edd15=>!_0x1f4ea9(_0x4edd15)),_0x4c9419(this[_0x4bdc08(0x18b)]))['subscribe'](_0x299ac8=>{_0x493db9(_0x299ac8);});}};Rt=lc([Qe(0x0,_0x3099f4(_0x3676c8)),Qe(0x1,_0x3ca09d),Qe(0x2,_0x2d8777),Qe(0x3,_0x3099f4(Ae)),Qe(0x4,_0x3099f4(_0x6eefec))],Rt);var _c=Object[_0xefeb96(0x466)],uc=Object[_0xefeb96(0x336)],dc=(_0x40f5a0,_0xc498e5,_0x1b9e9e,_0x57b302)=>{const _0x5a6c69=_0xefeb96;for(var _0x1c4c9c=_0x57b302>0x1?void 0x0:_0x57b302?uc(_0xc498e5,_0x1b9e9e):_0xc498e5,_0x53826b=_0x40f5a0[_0x5a6c69(0x46c)]-0x1,_0x13a0fb;_0x53826b>=0x0;_0x53826b--)(_0x13a0fb=_0x40f5a0[_0x53826b])&&(_0x1c4c9c=(_0x57b302?_0x13a0fb(_0xc498e5,_0x1b9e9e,_0x1c4c9c):_0x13a0fb(_0x1c4c9c))||_0x1c4c9c);return _0x57b302&&_0x1c4c9c&&_c(_0xc498e5,_0x1b9e9e,_0x1c4c9c),_0x1c4c9c;},ni=(_0x59d44d,_0x2b2278)=>(_0x4d7136,_0x445ae2)=>_0x2b2278(_0x4d7136,_0x445ae2,_0x59d44d);let ls=class{constructor(_0xb6ec4d,_0x40becd){const _0x505088=_0xefeb96;this[_0x505088(0x32b)]=_0xb6ec4d,this[_0x505088(0x2b0)]=_0x40becd;}async['getUnitOnRev'](_0x17c5d9,_0x13bb25){const _0x5b0148=_0xefeb96;var _0x405f65;const {unitID:_0x5439eb,type:_0x31c5cc,revision:_0x2c229f=0x0}=_0x13bb25,_0x2b5fa8=this[_0x5b0148(0x1dc)]()+'/'+_0x31c5cc+_0x5b0148(0x4cb)+_0x5439eb+'/rev/'+_0x2c229f,_0x46dd5f=(await this[_0x5b0148(0x2b0)]['get'](_0x2b5fa8))['body'],_0x5ac589=(_0x405f65=_0x46dd5f['snapshot'])==null?void 0x0:_0x405f65[_0x5b0148(0x2ef)];if(_0x5ac589){const _0x5f2951=_0x5ac589==null?void 0x0:_0x5ac589['originalMeta'],_0x59f98b=_0x3a0532[_0x5b0148(0x37b)](_0x4f7987(_0x5f2951));_0x5ac589[_0x5b0148(0x1f8)]=_0x59f98b,Object[_0x5b0148(0x349)](_0x5ac589['sheets'])[_0x5b0148(0x267)](([,_0x432c33])=>{const _0x495aa1=_0x5b0148,_0x572de6=_0x432c33['originalMeta'],_0x46a6da=_0x3a0532[_0x495aa1(0x37b)](_0x4f7987(_0x572de6));_0x432c33[_0x495aa1(0x1f8)]=_0x46a6da;});}return _0x46dd5f;}async[_0xefeb96(0x24f)](_0x1f1ba9,_0x21c470){const _0x3373b3=_0xefeb96,{unitID:_0x1b5823,type:_0x411e6c,blockID:_0x1d4d1e}=_0x21c470,_0x5700e1=this[_0x3373b3(0x42c)]()+'/'+_0x411e6c+'/unit/'+_0x1b5823+'/block/'+_0x1d4d1e;return(await this[_0x3373b3(0x2b0)]['get'](_0x5700e1))['body'];}async[_0xefeb96(0x4aa)](_0x5aea9c,_0x39bd78){const _0x2f58f8=_0xefeb96,{unitID:_0x27803c,type:_0x561c75,blockID:_0x426ef5}=_0x39bd78,_0x10aeef=this[_0x2f58f8(0x42c)]()+_0x2f58f8(0x2f3)+_0x561c75+_0x2f58f8(0x4cb)+_0x27803c+_0x2f58f8(0x2f3)+_0x426ef5;return(await this['_httpService']['get'](_0x10aeef))[_0x2f58f8(0x3c8)];}async['fetchMissingChangesets'](_0x32b6aa,_0x4f9d2f){const _0x485a4f=_0xefeb96,{unitID:_0x5ec79e,type:_0x4a306a,from:_0x55061d,to:_0x228dbc}=_0x4f9d2f,_0x2756fa=this[_0x485a4f(0x42c)]()+'/'+_0x4a306a+_0x485a4f(0x4cb)+_0x5ec79e+_0x485a4f(0x478)+_0x55061d+_0x485a4f(0x28c)+_0x228dbc;return(await this[_0x485a4f(0x2b0)][_0x485a4f(0x271)](_0x2756fa))['body'];}[_0xefeb96(0x1dc)](){const _0x481cd7=_0xefeb96;var _0x1dca9d;return(_0x1dca9d=this[_0x481cd7(0x32b)][_0x481cd7(0x188)](ar))!=null?_0x1dca9d:this['_getAPIPrefix']();}['_getAPIPrefix'](){const _0xca36b3=_0xefeb96;var _0x263711,_0x3d2551;const _0x5ba6ed=this[_0xca36b3(0x32b)][_0xca36b3(0x188)](rr),_0x179152=this[_0xca36b3(0x32b)][_0xca36b3(0x188)](ie);return(_0x3d2551=(_0x263711=_0x179152==null?void 0x0:_0x179152[_0xca36b3(0x4b7)])!=null?_0x263711:_0x5ba6ed)!=null?_0x3d2551:or;}async[_0xefeb96(0xe4)](_0x3953cc,_0x5e148a){const _0x3b2760=_0xefeb96,_0x44991f='/universer-api/snapshot/'+_0x5e148a[_0x3b2760(0x196)]+_0x3b2760(0x4cb)+_0x5e148a[_0x3b2760(0xdb)]+'/resources';return(await this[_0x3b2760(0x2b0)][_0x3b2760(0x271)](_0x44991f,{'params':{'resourceId':JSON[_0x3b2760(0x296)](_0x5e148a[_0x3b2760(0x442)])}}))['body'];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xefeb96(0x137)](){const _0x3e2197=_0xefeb96;throw new Error(_0x3e2197(0x266));}['saveChangeset'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xefeb96(0x249)](){const _0x3f0bef=_0xefeb96;throw new Error(_0x3f0bef(0x266));}['getLatestCsReqIdBySid'](){const _0xb68694=_0xefeb96;throw new Error(_0xb68694(0x266));}};ls=dc([ni(0x0,_0x4ea3e2),ni(0x1,_0x3099f4(_0x281aa7))],ls);var fc=Object[_0xefeb96(0x466)],vc=Object[_0xefeb96(0x336)],mc=(_0x162ecb,_0x515919,_0x336a89,_0x6fee2c)=>{const _0x8ff824=_0xefeb96;for(var _0x2075a7=_0x6fee2c>0x1?void 0x0:_0x6fee2c?vc(_0x515919,_0x336a89):_0x515919,_0x74d326=_0x162ecb[_0x8ff824(0x46c)]-0x1,_0x24b604;_0x74d326>=0x0;_0x74d326--)(_0x24b604=_0x162ecb[_0x74d326])&&(_0x2075a7=(_0x6fee2c?_0x24b604(_0x515919,_0x336a89,_0x2075a7):_0x24b604(_0x2075a7))||_0x2075a7);return _0x6fee2c&&_0x2075a7&&fc(_0x515919,_0x336a89,_0x2075a7),_0x2075a7;},et=(_0x516e95,_0x45562d)=>(_0x5256d0,_0x4f46b5)=>_0x45562d(_0x5256d0,_0x4f46b5,_0x516e95);let _s=class extends _0x5dbb05{constructor(_0x361959,_0x41a7b0,_0x3e1fde,_0x563843,_0x4a2c90){const _0x3a2a53=_0xefeb96;super(_0x361959,_0x41a7b0,_0x3e1fde),this[_0x3a2a53(0x3d8)]=_0x563843,this[_0x3a2a53(0x204)]=_0x4a2c90;}['transformUndoRedo'](_0x20223b,_0x4ff466){const _0x525bbe=_0xefeb96,_0x3f6ba8=this[_0x525bbe(0x123)](_0x20223b);if(_0x3f6ba8)try{const _0x3caf2a=this['_transformStack'](_0x3f6ba8,_0x4ff466);this[_0x525bbe(0x487)](_0x20223b,_0x3caf2a);}catch(_0x81967b){this[_0x525bbe(0x204)][_0x525bbe(0x18c)](_0x525bbe(0x4b0),_0x81967b),this['_clearUndo'](_0x20223b);}const _0x80d63a=this[_0x525bbe(0x4c2)](_0x20223b);if(_0x80d63a)try{const _0x1e47b8=this[_0x525bbe(0x4ce)](_0x80d63a,_0x4ff466);this[_0x525bbe(0x4b8)](_0x20223b,_0x1e47b8);}catch(_0x2b6bd4){this[_0x525bbe(0x204)][_0x525bbe(0x18c)](_0x2b6bd4),this['_clearRedo'](_0x20223b);}}[_0xefeb96(0x34d)](_0x381c5e){const _0x1facf5=_0xefeb96,_0x2d822b=this[_0x1facf5(0x123)](_0x381c5e);_0x2d822b&&(_0x2d822b[_0x1facf5(0x46c)]=0x0,this['_updateStatus']());}[_0xefeb96(0x2dd)](_0x27bab4){const _0x4d31c5=_0xefeb96,_0x2e741=this[_0x4d31c5(0x4c2)](_0x27bab4);_0x2e741&&(_0x2e741[_0x4d31c5(0x46c)]=0x0,this[_0x4d31c5(0x275)]());}[_0xefeb96(0x487)](_0x4c361f,_0xa781c7){const _0x58498f=_0xefeb96;this[_0x58498f(0x218)]['set'](_0x4c361f,_0xa781c7),this[_0x58498f(0x275)]();}[_0xefeb96(0x4b8)](_0x21c124,_0x3a4ff2){const _0x923bc4=_0xefeb96;this[_0x923bc4(0x231)]['set'](_0x21c124,_0x3a4ff2),this[_0x923bc4(0x275)]();}[_0xefeb96(0x4ce)](_0x5c7b5e,_0x1be332){const _0x1563d3=_0xefeb96,_0x4d68dc=[];let _0x1027d5=_0x1be332,_0x1c75c9=_0x1be332;for(let _0x47478a=_0x5c7b5e['length']-0x1;_0x47478a>=0x0;_0x47478a--){const {unitID:_0x5d776e,undoMutations:_0x127ed4,redoMutations:_0x33d99e}=_0x5c7b5e[_0x47478a],_0x2f45fa=this[_0x1563d3(0x3d8)][_0x1563d3(0x40e)](_0x1027d5,_0x127ed4),_0x3dbbcd=this['_transformService']['transformMutationsWithChangeset'](_0x1c75c9,_0x33d99e);if(_0x227a64(_0x2f45fa)||_0x227a64(_0x3dbbcd)){this['_logService']['error'](_0x1563d3(0x4b0),_0x1563d3(0x3dc),_0x2f45fa,_0x3dbbcd);break;}_0x1027d5=_0x2f45fa[_0x1563d3(0x2db)],_0x1c75c9=_0x3dbbcd['c1Prime'],_0x4d68dc[_0x1563d3(0x477)]({'unitID':_0x5d776e,'undoMutations':_0x2f45fa[_0x1563d3(0x3f7)],'redoMutations':_0x3dbbcd[_0x1563d3(0x3f7)]});}return _0x4d68dc['reverse']();}};_s=mc([et(0x0,_0x3ca09d),et(0x1,_0x45feb8),et(0x2,_0x1494b4),et(0x3,_0x5c28bd),et(0x4,_0x40d13a)],_s);class pc extends _0x2f42db{constructor(){const _0x5768b6=_0xefeb96;super(),g(this,'urlChange$'),this[_0x5768b6(0x409)]=_0x162ed6(window,_0x5768b6(0x3f3))['pipe'](_0x41a6cf(this[_0x5768b6(0x18b)]),_0x2881f3(0x1),_0x431d26(void 0x0));}[_0xefeb96(0x3b7)](_0x17996e,_0x4371b0,_0x4a72e4=!0x1){const _0x1cfea2=_0xefeb96,_0x1eb36b=new URL(window[_0x1cfea2(0x35f)]['href']);_0x1eb36b[_0x1cfea2(0x1c2)][_0x1cfea2(0xf2)](_0x17996e,_0x4371b0),_0x4a72e4?window['history'][_0x1cfea2(0x20b)]('','',_0x1eb36b['toString']()):window['history']['pushState']('','',_0x1eb36b[_0x1cfea2(0x3e7)]());}[_0xefeb96(0x3a6)](_0xdfe0a3,_0x2e69f4=!0x1){const _0x4b7017=_0xefeb96,_0x4acb37=new URL(window[_0x4b7017(0x35f)][_0x4b7017(0x33f)]);_0x4acb37[_0x4b7017(0x1c2)]['delete'](_0xdfe0a3),_0x2e69f4?window[_0x4b7017(0x31a)][_0x4b7017(0x20b)]('','',_0x4acb37[_0x4b7017(0x3e7)]()):window['history'][_0x4b7017(0x229)]('','',_0x4acb37[_0x4b7017(0x3e7)]());}[_0xefeb96(0x2e9)](_0x2f90a3){const _0x29c191=_0xefeb96;var _0x5bd883;return(_0x5bd883=new URL(window[_0x29c191(0x35f)][_0x29c191(0x33f)])[_0x29c191(0x1c2)]['get'](_0x2f90a3))!=null?_0x5bd883:void 0x0;}}var Yi=Object[_0xefeb96(0x466)],gc=Object['getOwnPropertyDescriptor'],Sc=(_0x1fac23,_0x2498ca,_0x1c59e0)=>_0x2498ca in _0x1fac23?Yi(_0x1fac23,_0x2498ca,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1c59e0}):_0x1fac23[_0x2498ca]=_0x1c59e0,Ic=(_0x35e546,_0x41d596,_0x207ca8,_0x77bb7e)=>{const _0x420985=_0xefeb96;for(var _0x1a63cb=_0x77bb7e>0x1?void 0x0:_0x77bb7e?gc(_0x41d596,_0x207ca8):_0x41d596,_0x2223aa=_0x35e546[_0x420985(0x46c)]-0x1,_0x18dc75;_0x2223aa>=0x0;_0x2223aa--)(_0x18dc75=_0x35e546[_0x2223aa])&&(_0x1a63cb=(_0x77bb7e?_0x18dc75(_0x41d596,_0x207ca8,_0x1a63cb):_0x18dc75(_0x1a63cb))||_0x1a63cb);return _0x77bb7e&&_0x1a63cb&&Yi(_0x41d596,_0x207ca8,_0x1a63cb),_0x1a63cb;},_t=(_0xeab93,_0x286549)=>(_0x21d850,_0x1b532c)=>_0x286549(_0x21d850,_0x1b532c,_0xeab93),Cc=(_0x55b933,_0x55062e,_0x2aea54)=>Sc(_0x55b933,_0x55062e+'',_0x2aea54);const Ec=_0xefeb96(0x2ec);let us=class extends _0xa1ffef{constructor(_0x325e55=Er,_0x149877,_0x5d1c4e,_0x3baa47,_0x15bc4f){const _0x4fa40f=_0xefeb96;super(),this['_config']=_0x325e55,this[_0x4fa40f(0x204)]=_0x149877,this[_0x4fa40f(0x330)]=_0x5d1c4e,this[_0x4fa40f(0x269)]=_0x3baa47,this[_0x4fa40f(0x32b)]=_0x15bc4f;const {..._0x12e37a}=this['_config'];this[_0x4fa40f(0x32b)]['setConfig'](ie,_0x12e37a);}[_0xefeb96(0x26b)](){const _0x47001e=_0xefeb96;this[_0x47001e(0x1ff)](),this[_0x47001e(0x11c)]();}[_0xefeb96(0x37f)](){const _0x1348cd=_0xefeb96;_0x18a2e1(this[_0x1348cd(0x269)],[[Et]]);}[_0xefeb96(0x20f)](){const _0x56ebcd=_0xefeb96;this[_0x56ebcd(0x4bd)]();}['_registerDependencies'](){const _0x103e56=_0xefeb96;var _0x5dbfc1,_0x1f516c,_0x7cba46,_0x2bc49a;this['_injector']['has'](_0x277be1)&&this['_logService'][_0x103e56(0x18c)]('[UniverCollaborationClientPlugin]',_0x103e56(0x339));const _0xfc7869=[[_0x277be1,{'useClass':_s}],[Ae],[bs],[Hi,{'useClass':pc}],[Ne],[q],[_0x300491],[mt],[gt],[vt],[pt],[Cs],[bt],[Tt],[wi],[Rt],[Oi,{'useClass':(_0x1f516c=(_0x5dbfc1=this[_0x103e56(0x382)])==null?void 0x0:_0x5dbfc1[_0x103e56(0x4c5)])!=null?_0x1f516c:es}],[_0x45d794,{'useClass':ls}],[_0x5f2d19,{'useClass':cs}],[_0xb002a6,{'useClass':hs}],[it],[Ct],[It],[Et],[Ve]];(_0x7cba46=this[_0x103e56(0x382)])!=null&&_0x7cba46[_0x103e56(0x195)]&&_0xfc7869[_0x103e56(0x477)]([yt,{'useClass':so}]),_0x38ffad(this[_0x103e56(0x269)],_0x388d33(_0xfc7869,(_0x2bc49a=this[_0x103e56(0x382)])==null?void 0x0:_0x2bc49a[_0x103e56(0x1b4)]));}[_0xefeb96(0x4bd)](){const _0x10cfd3=_0xefeb96;this[_0x10cfd3(0x2bb)](this[_0x10cfd3(0x330)][_0x10cfd3(0x294)](_0x634e8e[_0x10cfd3(0x4b4)],[os])),this[_0x10cfd3(0x2bb)](this[_0x10cfd3(0x330)][_0x10cfd3(0x294)](_0x634e8e['UNIVER_SHEET'],[as]));}[_0xefeb96(0x11c)](){const _0x3bf10d=_0xefeb96;var _0x391722,_0x177ffe;this[_0x3bf10d(0x269)][_0x3bf10d(0x271)](_0x281aa7)[_0x3bf10d(0x3c7)]({'priority':0x14,'interceptor':_0x2b8df1({'maxParallel':0x6})}),(_0x391722=this[_0x3bf10d(0x382)])!=null&&_0x391722[_0x3bf10d(0x19b)]||this[_0x3bf10d(0x269)]['get'](q)['disableLocalCache'](),(_0x177ffe=this['_config'])!=null&&_0x177ffe[_0x3bf10d(0x474)]&&_0x18a2e1(this[_0x3bf10d(0x269)],[[bt]]),_0x18a2e1(this['_injector'],[[Tt],[Ve],[Ct],[it],[It],[Rt]]);}};Cc(us,_0xefeb96(0x2f5),Ec),us=Ic([_0x259825(_0x1c5737,_0x2af1f2),_t(0x1,_0x40d13a),_t(0x2,_0x25b6aa),_t(0x3,_0x3099f4(_0x3676c8)),_t(0x4,_0x4ea3e2)],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 _0x159fb9=_0x4457;(function(_0xc88504,_0x49b9c6){const _0x542a26=_0x4457,_0x1ee1fe=_0xc88504();while(!![]){try{const _0x4b9d32=-parseInt(_0x542a26(0x20b))/0x1*(-parseInt(_0x542a26(0x464))/0x2)+-parseInt(_0x542a26(0x1e5))/0x3+-parseInt(_0x542a26(0x2da))/0x4+parseInt(_0x542a26(0x3e6))/0x5+-parseInt(_0x542a26(0x3fe))/0x6+parseInt(_0x542a26(0x317))/0x7+parseInt(_0x542a26(0x456))/0x8;if(_0x4b9d32===_0x49b9c6)break;else _0x1ee1fe['push'](_0x1ee1fe['shift']());}catch(_0x35078b){_0x1ee1fe['push'](_0x1ee1fe['shift']());}}}(_0x60b8,0xc3067));var Ki=Object[_0x159fb9(0xcf)],zi=(_0x1cdf4c,_0x2c49f9,_0x3facf6)=>_0x2c49f9 in _0x1cdf4c?Ki(_0x1cdf4c,_0x2c49f9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3facf6}):_0x1cdf4c[_0x2c49f9]=_0x3facf6,g=(_0x596ac6,_0x16182e,_0x1cc0f8)=>zi(_0x596ac6,typeof _0x16182e!='symbol'?_0x16182e+'':_0x16182e,_0x1cc0f8);import{createIdentifier as _0x12029c,Inject as _0x3e8773,Disposable as _0x10d2e7,DisposableCollection as _0x3d6474,toDisposable as _0x3f9d32,IConfigService as _0x3ade87,ILogService as _0x3738e4,UserManagerService as _0x1b0543,UniverInstanceType as _0x466101,IUniverInstanceService as _0x40ba52,LocaleService as _0x51cff0,Optional as _0x24e594,RxDisposable as _0x7d7f86,Injector as _0x3371c0,Tools as _0x26d13d,ILocalStorageService as _0x2d0198,Rectangle as _0x1635b8,ICommandService as _0x1bd495,DOC_RANGE_TYPE as _0x4b8239,JSONX as _0x30291a,CommandType as _0x351b9b,IPermissionService as _0x1b485a,IUndoRedoService as _0x551c13,sequenceExecute as _0x4af945,debounce as _0x4222d7,COLORS as _0x511505,ColorKit as _0x234c39,ThemeService as _0x3c9ff6,fromEventSubject as _0xd3c2e0,useDependency as _0x54cbeb,connectInjector as _0xfb686e,Workbook as _0x54374d,isInternalEditorID as _0x31cc25,LocalUndoRedoService as _0x27ff78,IContextService as _0x2514ed,DependentOn as _0x2ae560,Plugin as _0x34b0ea,touchDependencies as _0x481c3e,IAuthzIoService as _0x57da24,registerDependencies as _0x4d3068,mergeOverrideWithDependencies as _0x2a8f9e}from'@univerjs/core';import{Subject as _0x2ec24b,merge as _0x548bea,takeUntil as _0x514462,BehaviorSubject as _0x4cf3b1,distinctUntilChanged as _0x55352a,fromEvent as _0x55c3c6,ReplaySubject as _0x2eb69e,take as _0x4c54f0,map as _0x27fdab,shareReplay as _0x37b8c8,of as _0x3f0552,debounceTime as _0x21286a,filter as _0x5add67,switchMap as _0x33575c,combineLatest as _0x359e72,concatMap as _0x2cba6f,mapTo as _0x54420d}from'rxjs';import{map as _0x24eeb9,take as _0x277270,filter as _0x1e7f12,delay as _0x1d6c6a,throttleTime as _0x3015d8,takeUntil as _0x1775d8,switchMap as _0x214e84}from'rxjs/operators';import{MessageType as _0x450e6f,Tooltip as _0x2300df}from'@univerjs/design';import{IBeforeCloseService as _0xb2b56d,IMessageService as _0x546aee,INotificationService as _0x294915,useObservable as _0x5baee7,BuiltInUIPart as _0x2d0c0e,IUIPartsService as _0x4a5d99}from'@univerjs/ui';import{HTTPService as _0x4dbc01,WebSocketService as _0x244fc6,MergeInterceptorFactory as _0x3c9381,HTTPRequest as _0x179c59,UniverNetworkPlugin as _0x3f779a,ThresholdInterceptorFactory as _0x1c106f}from'@univerjs/network';import{CollaborationEvent as _0x33d7b7,parseChangesetToProtocol as _0x427732,ISnapshotServerService as _0xbb044,isTransformMutationFailure as _0x490f82,isTransformMutationsWithChangesetSuccess as _0x426291,ITransformService as _0x1c07b8,RevisionService as _0x2cef54,mapDocumentTypeToUniverType as _0x1fb645,isTransformChangesetsSuccess as _0x29cde1,CompressMutationService as _0x386455,parseProtocolChangeset as _0x460410,SnapshotService as _0x33ed43,textEncoder as _0x4ebea7,b64DecodeUnicode as _0x5896eb,isTransformMutationsWithChangesetFailure as _0x3bee1f,UniverCollaborationPlugin as _0x19f686}from'@univerjs-pro/collaboration';import{ITelemetryService as _0xae2320}from'@univerjs/telemetry';import{DocIMEInputManagerService as _0x1d29e7,DocStateChangeManagerService as _0x4f127d,NodePositionConvertToCursor as _0x3801fe,NodePositionConvertToRectRange as _0x215c49,TEXT_RANGE_LAYER_INDEX as _0x33eb3d,SetDocZoomRatioOperation as _0x49b4e3}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x4d7738,SetSelectionsOperation as _0x34fe8d,InsertSheetMutation as _0x48aa52,EmptyMutation as _0x526131,WorkbookEditablePermission as _0x435a22,RefRangeService as _0x49343b,EffectRefRangId as _0x48bd13,handleIRemoveRow as _0x5c0a81,handleIRemoveCol as _0x5a25ad,handleMoveRange as _0x38063e,handleInsertRow as _0x4a6b6a,handleInsertRangeMoveRight as _0x7fc677,handleInsertRangeMoveDown as _0x480e3a,handleInsertCol as _0x114072,handleDeleteRangeMoveUp as _0x4793c5,handleDeleteRangeMoveLeft as _0x453619,runRefRangeMutations as _0x3fc3f2,SetWorksheetActivateCommand as _0x135826}from'@univerjs/sheets';import{IRenderManagerService as _0x525bf5,Shape as _0x3b774,Rect as _0x1bba01,getColor as _0x4b9053,RegularPolygon as _0x4cb9ba,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x4319cf,Vector2 as _0x2028a1}from'@univerjs/engine-render';import{DocSelectionManagerService as _0xa56c0,RichTextEditingMutation as _0xe026b8,SetTextSelectionsOperation as _0x2082b4,DocSkeletonManagerService as _0x1b3e95}from'@univerjs/docs';import{ImageSourceType as _0xbfd346,ImageUploadStatusType as _0x10bbad,IImageIoService as _0x2ea827}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x2d1f09,serializeRangeWithSheet as _0x59f038}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0xaebadb,VIEWPORT_KEY as _0x22231,getCoordByCell as _0x543525,getSheetObject as _0x57be16,SheetPermissionInitController as _0x2f3964}from'@univerjs/sheets-ui';import _0xc50dfc,{forwardRef as _0x1ac654,useRef as _0x2b0e32,createElement as _0x48c9b2,useCallback as _0x2e422b}from'react';import{IRemoteInstanceService as _0x1b6d3d}from'@univerjs/rpc';const rr='SNAPSHOT_SERVER_URL_KEY',or=_0x159fb9(0x484),ar=_0x159fb9(0xe9),Gc=_0x159fb9(0xd6),cr=0x7d0,hr=_0x159fb9(0x479),lr='ws://127.0.0.1:8000/universer-api/comb/connect',_r=_0x159fb9(0x303),ur=0x7530,bi=_0x159fb9(0x30b),Ti=0x4e20,dr=0x4e20,fr=_0x159fb9(0x488),vr=0x3,mr=_0x159fb9(0x1b2),pr=0x3e8,gr=_0x159fb9(0x321),Sr=_0x159fb9(0x394),Ir='LOGIN_URL_KEY',Cr=_0x159fb9(0x204);var Ri=(_0x3748d2=>(_0x3748d2[_0x3748d2[_0x159fb9(0x290)]=0x0]=_0x159fb9(0x290),_0x3748d2[_0x3748d2['OK']=0x1]='OK',_0x3748d2[_0x3748d2[_0x159fb9(0x327)]=0x2]=_0x159fb9(0x327),_0x3748d2[_0x3748d2[_0x159fb9(0x469)]=0x3]='PERMISSION_DENIED',_0x3748d2[_0x3748d2[_0x159fb9(0x215)]=0x4]=_0x159fb9(0x215),_0x3748d2[_0x3748d2[_0x159fb9(0x44f)]=0x5]=_0x159fb9(0x44f),_0x3748d2[_0x3748d2[_0x159fb9(0x1b1)]=0x6]='ALREADY_EXISTS',_0x3748d2[_0x3748d2['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x3748d2[_0x3748d2[_0x159fb9(0x21a)]=0x8]=_0x159fb9(0x21a),_0x3748d2[_0x3748d2[_0x159fb9(0x373)]=0x9]='COMPLETION_FINISHED',_0x3748d2[_0x3748d2[_0x159fb9(0x131)]=0x1389]=_0x159fb9(0x131),_0x3748d2[_0x3748d2['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x159fb9(0x1c1),_0x3748d2[_0x3748d2[_0x159fb9(0x1f0)]=0x1772]=_0x159fb9(0x1f0),_0x3748d2[_0x3748d2['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x3748d2[_0x3748d2[_0x159fb9(0xf6)]=0x1b59]=_0x159fb9(0xf6),_0x3748d2[_0x3748d2[_0x159fb9(0x1c7)]=0x1b5a]=_0x159fb9(0x1c7),_0x3748d2[_0x3748d2['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x3748d2[_0x3748d2[_0x159fb9(0x173)]=0x1b5c]=_0x159fb9(0x173),_0x3748d2[_0x3748d2[_0x159fb9(0x2ee)]=0x1b5d]=_0x159fb9(0x2ee),_0x3748d2[_0x3748d2[_0x159fb9(0x14b)]=0x1f41]=_0x159fb9(0x14b),_0x3748d2[_0x3748d2[_0x159fb9(0x418)]=0x2329]=_0x159fb9(0x418),_0x3748d2[_0x3748d2[_0x159fb9(0x273)]=0x232a]=_0x159fb9(0x273),_0x3748d2[_0x3748d2[_0x159fb9(0x1e9)]=0x232b]=_0x159fb9(0x1e9),_0x3748d2[_0x3748d2['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x159fb9(0x39b),_0x3748d2[_0x3748d2[_0x159fb9(0x3a2)]=0x232d]=_0x159fb9(0x3a2),_0x3748d2[_0x3748d2[_0x159fb9(0x23c)]=0x2711]=_0x159fb9(0x23c),_0x3748d2[_0x3748d2[_0x159fb9(0x302)]=0x2712]=_0x159fb9(0x302),_0x3748d2[_0x3748d2[_0x159fb9(0x3f0)]=0x2713]=_0x159fb9(0x3f0),_0x3748d2[_0x3748d2[_0x159fb9(0x17f)]=0x2714]=_0x159fb9(0x17f),_0x3748d2[_0x3748d2[_0x159fb9(0x430)]=-0x1]='UNRECOGNIZED',_0x3748d2))(Ri||{}),ce=(_0x100c58=>(_0x100c58[_0x100c58[_0x159fb9(0x45d)]=0x0]=_0x159fb9(0x45d),_0x100c58[_0x100c58[_0x159fb9(0x44a)]=0x1]=_0x159fb9(0x44a),_0x100c58[_0x100c58[_0x159fb9(0x166)]=0x2]=_0x159fb9(0x166),_0x100c58[_0x100c58[_0x159fb9(0x42f)]=0x3]=_0x159fb9(0x42f),_0x100c58[_0x100c58['UNIVER_PROJECT']=0x4]=_0x159fb9(0x41f),_0x100c58[_0x100c58[_0x159fb9(0x430)]=-0x1]=_0x159fb9(0x430),_0x100c58))(ce||{}),W=(_0x5bba1f=>(_0x5bba1f[_0x5bba1f[_0x159fb9(0x2b0)]=0x0]=_0x159fb9(0x2b0),_0x5bba1f[_0x5bba1f[_0x159fb9(0x1ac)]=0x1]=_0x159fb9(0x1ac),_0x5bba1f[_0x5bba1f[_0x159fb9(0x2c7)]=0x2]=_0x159fb9(0x2c7),_0x5bba1f[_0x5bba1f[_0x159fb9(0xd5)]=0x3]=_0x159fb9(0xd5),_0x5bba1f[_0x5bba1f[_0x159fb9(0x3a0)]=0x4]='INGEST',_0x5bba1f[_0x5bba1f['HEARTBEAT']=0x5]=_0x159fb9(0x40a),_0x5bba1f[_0x5bba1f[_0x159fb9(0x1e7)]=0x6]='RECV',_0x5bba1f[_0x5bba1f['UNRECOGNIZED']=-0x1]=_0x159fb9(0x430),_0x5bba1f))(W||{}),Is=(_0x253750=>(_0x253750[_0x253750[_0x159fb9(0x245)]=0x0]=_0x159fb9(0x245),_0x253750[_0x253750['OK']=0x1]='OK',_0x253750[_0x253750['FAIL']=0x2]=_0x159fb9(0x47d),_0x253750[_0x253750[_0x159fb9(0x430)]=-0x1]=_0x159fb9(0x430),_0x253750))(Is||{}),yi=(_0x13b146=>(_0x13b146[_0x13b146[_0x159fb9(0x2ba)]=0x0]=_0x159fb9(0x2ba),_0x13b146[_0x13b146[_0x159fb9(0x3e1)]=0x1]=_0x159fb9(0x3e1),_0x13b146[_0x13b146[_0x159fb9(0x25a)]=0x2]=_0x159fb9(0x25a),_0x13b146[_0x13b146['UnitEmbedded']=0x3]=_0x159fb9(0x35e),_0x13b146[_0x13b146[_0x159fb9(0xe4)]=0x4]=_0x159fb9(0xe4),_0x13b146[_0x13b146['UNRECOGNIZED']=-0x1]=_0x159fb9(0x430),_0x13b146))(yi||{});const ie=_0x159fb9(0x3dd),Er={};function br(_0x49db7b){const _0x3cbb7c=_0x159fb9;var _0xc9d0e2,_0x116de9,_0x13017c,_0x3c72e7,_0x3e317f;const _0x243921=_0x49db7b[_0x3cbb7c(0x216)],_0x2d454f=JSON[_0x3cbb7c(0x3c4)](_0x243921);switch(_0x2d454f[_0x3cbb7c(0x336)]){case W[_0x3cbb7c(0x40a)]:case W[_0x3cbb7c(0x1ac)]:{const _0x11dd18=_0x2d454f[_0x3cbb7c(0x475)];return{..._0x2d454f,'data':_0x11dd18,'cmd':_0x2d454f[_0x3cbb7c(0x336)]};}case W[_0x3cbb7c(0x2c7)]:{const _0x57e032=_0x2d454f[_0x3cbb7c(0x258)];return{..._0x2d454f,'data':_0x57e032,'cmd':_0x2d454f[_0x3cbb7c(0x336)]};}case W[_0x3cbb7c(0x1e7)]:{const _0x28c073=_0x2d454f['collaMsg'];switch(_0x28c073['eventID']){case _0x33d7b7[_0x3cbb7c(0x15f)]:return{..._0x2d454f,'data':{..._0x28c073,'data':(_0xc9d0e2=_0x28c073[_0x3cbb7c(0x473)])==null?void 0x0:_0xc9d0e2['cs']},'cmd':_0x2d454f[_0x3cbb7c(0x336)]};case _0x33d7b7[_0x3cbb7c(0x306)]:return{..._0x2d454f,'data':{..._0x28c073,'data':(_0x116de9=_0x28c073[_0x3cbb7c(0x3f5)])==null?void 0x0:_0x116de9['cs']},'cmd':_0x2d454f[_0x3cbb7c(0x336)]};case _0x33d7b7[_0x3cbb7c(0x2a9)]:return{..._0x2d454f,'data':{..._0x28c073,'data':(_0x13017c=_0x28c073[_0x3cbb7c(0x152)])==null?void 0x0:_0x13017c['cs']},'cmd':_0x2d454f[_0x3cbb7c(0x336)]};case _0x33d7b7[_0x3cbb7c(0x339)]:return{..._0x2d454f,'data':{..._0x28c073,'data':(_0x3c72e7=_0x28c073[_0x3cbb7c(0x109)])==null?void 0x0:_0x3c72e7['cs']},'cmd':_0x2d454f[_0x3cbb7c(0x336)]};case _0x33d7b7[_0x3cbb7c(0x1a0)]:return{..._0x2d454f,'data':{..._0x28c073,'data':(_0x3e317f=_0x28c073[_0x3cbb7c(0xf4)])==null?void 0x0:_0x3e317f['cs']},'cmd':_0x2d454f[_0x3cbb7c(0x336)]};case _0x33d7b7[_0x3cbb7c(0x497)]:return{..._0x2d454f,'data':{..._0x28c073,'data':_0x28c073['updateCursorEvent']},'cmd':_0x2d454f['cmd']};case _0x33d7b7[_0x3cbb7c(0x44d)]:return{..._0x2d454f,'data':{..._0x28c073,'data':_0x28c073[_0x3cbb7c(0x3ac)]},'cmd':_0x2d454f[_0x3cbb7c(0x336)]};case _0x33d7b7[_0x3cbb7c(0x477)]:return{..._0x2d454f,'data':{..._0x28c073,'data':_0x28c073[_0x3cbb7c(0x2c9)]},'cmd':_0x2d454f[_0x3cbb7c(0x336)]};case _0x33d7b7['LIVESHARE_NEW_HOST']:return{..._0x2d454f,'data':{..._0x28c073,'data':_0x28c073[_0x3cbb7c(0x241)]},'cmd':_0x2d454f[_0x3cbb7c(0x336)]};case _0x33d7b7['LIVESHARE_FETCH_OPERATIONS']:case _0x33d7b7[_0x3cbb7c(0x2a6)]:return{..._0x2d454f,'data':{..._0x28c073,'data':_0x28c073[_0x3cbb7c(0x357)]},'cmd':_0x2d454f[_0x3cbb7c(0x336)]};case _0x33d7b7['LIVESHARE_TERMINATE']:return{..._0x2d454f,'data':{..._0x28c073,'data':_0x28c073[_0x3cbb7c(0x241)]},'cmd':_0x2d454f[_0x3cbb7c(0x336)]};case _0x33d7b7[_0x3cbb7c(0x457)]:return{..._0x2d454f,'data':_0x28c073,'cmd':_0x2d454f[_0x3cbb7c(0x336)]};case _0x33d7b7[_0x3cbb7c(0x1c6)]:return{..._0x2d454f,'data':{..._0x28c073,'data':_0x28c073[_0x3cbb7c(0x319)]},'cmd':_0x2d454f[_0x3cbb7c(0x336)]};case _0x33d7b7[_0x3cbb7c(0x395)]:return{..._0x2d454f,'data':{..._0x28c073,'data':_0x28c073[_0x3cbb7c(0x2d7)]},'cmd':_0x2d454f[_0x3cbb7c(0x336)]};case _0x33d7b7['SHOULD_CLOSE_CONN']:return{..._0x2d454f,'data':{..._0x28c073,'data':_0x28c073[_0x3cbb7c(0x18a)]},'cmd':_0x2d454f[_0x3cbb7c(0x336)]};default:return _0x2d454f;}}default:return _0x2d454f;}}function Tr(_0x3a6df3){const _0x51851a=_0x159fb9;switch(_0x3a6df3[_0x51851a(0x336)]){case W[_0x51851a(0x40a)]:case W['HELLO']:return JSON[_0x51851a(0x25e)]({'cmd':_0x3a6df3[_0x51851a(0x336)],'routeKey':_0x3a6df3[_0x51851a(0xe3)]});case W[_0x51851a(0x3a0)]:{let _0x4b6b66;switch(_0x3a6df3[_0x51851a(0x216)][_0x51851a(0x39e)]){case _0x33d7b7[_0x51851a(0x497)]:{_0x4b6b66={'eventID':_0x33d7b7[_0x51851a(0x497)],'updateCursorEvent':_0x3a6df3[_0x51851a(0x216)][_0x51851a(0x216)]};break;}case _0x33d7b7[_0x51851a(0x477)]:{_0x4b6b66={'eventID':_0x33d7b7[_0x51851a(0x477)],'leaveEvent':_0x3a6df3[_0x51851a(0x216)][_0x51851a(0x216)]};break;}case _0x33d7b7[_0x51851a(0x44d)]:{_0x4b6b66={'eventID':_0x33d7b7['USERS_ENTER'],'joinEvent':_0x3a6df3['data'][_0x51851a(0x216)]};break;}case _0x33d7b7['LIVESHARE_NEW_HOST']:{_0x4b6b66={'eventID':_0x33d7b7[_0x51851a(0x18c)],'liveShareNewHost':_0x3a6df3[_0x51851a(0x216)][_0x51851a(0x216)]};break;}case _0x33d7b7['LIVESHARE_OPERATION']:{_0x4b6b66={'eventID':_0x33d7b7['LIVESHARE_OPERATION'],'liveShareOperation':_0x3a6df3[_0x51851a(0x216)][_0x51851a(0x216)]};break;}case _0x33d7b7[_0x51851a(0x223)]:{_0x4b6b66={'eventID':_0x33d7b7[_0x51851a(0x223)],'liveShareTerminate':_0x3a6df3[_0x51851a(0x216)][_0x51851a(0x216)]};break;}case _0x33d7b7[_0x51851a(0x1d1)]:{_0x4b6b66={'eventID':_0x33d7b7['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x3a6df3['data'][_0x51851a(0x216)]};break;}case _0x33d7b7[_0x51851a(0x176)]:{_0x4b6b66={'eventID':_0x33d7b7[_0x51851a(0x176)]};break;}default:_0x4b6b66={'eventID':_0x3a6df3[_0x51851a(0x216)]['eventID']};}return JSON[_0x51851a(0x25e)]({'cmd':_0x3a6df3[_0x51851a(0x336)],'routeKey':_0x3a6df3[_0x51851a(0xe3)],'collaMsg':_0x4b6b66});}case W[_0x51851a(0x2c7)]:return JSON[_0x51851a(0x25e)]({'cmd':_0x3a6df3[_0x51851a(0x336)],'routeKey':_0x3a6df3[_0x51851a(0xe3)],'joinReq':_0x3a6df3[_0x51851a(0x216)]});case W[_0x51851a(0xd5)]:return JSON[_0x51851a(0x25e)]({'cmd':_0x3a6df3[_0x51851a(0x336)],'routeKey':_0x3a6df3[_0x51851a(0xe3)],'leaveReq':_0x3a6df3['data']});default:throw new Error(_0x51851a(0x2b3));}}var Rr=Object[_0x159fb9(0xcf)],yr=Object[_0x159fb9(0x37a)],Or=(_0x5ebdd1,_0x5bf7b2,_0x142e4f,_0x2adde8)=>{const _0x61ada1=_0x159fb9;for(var _0x55c933=_0x2adde8>0x1?void 0x0:_0x2adde8?yr(_0x5bf7b2,_0x142e4f):_0x5bf7b2,_0xa91fd2=_0x5ebdd1[_0x61ada1(0x3e5)]-0x1,_0x2aaf36;_0xa91fd2>=0x0;_0xa91fd2--)(_0x2aaf36=_0x5ebdd1[_0xa91fd2])&&(_0x55c933=(_0x2adde8?_0x2aaf36(_0x5bf7b2,_0x142e4f,_0x55c933):_0x2aaf36(_0x55c933))||_0x55c933);return _0x2adde8&&_0x55c933&&Rr(_0x5bf7b2,_0x142e4f,_0x55c933),_0x55c933;},qe=(_0x3978e4,_0x206913)=>(_0x23085d,_0x24fead)=>_0x206913(_0x23085d,_0x24fead,_0x3978e4);const Oi=_0x12029c(_0x159fb9(0x2ad));function wr(_0x166318,_0x34f3db,_0x44dac9){const _0x317837=_0x159fb9;return _0x166318+'/'+_0x34f3db+_0x317837(0x254)+_0x44dac9+'/new_changes';}let es=class extends _0x10d2e7{constructor(_0x3ec82e,_0x5b5cbf,_0x7fc464,_0x23f983,_0x20963d){const _0x348dd0=_0x159fb9;super(),this[_0x348dd0(0xd0)]=_0x3ec82e,this[_0x348dd0(0x284)]=_0x5b5cbf,this[_0x348dd0(0x18b)]=_0x7fc464,this[_0x348dd0(0x461)]=_0x23f983,this[_0x348dd0(0xe7)]=_0x20963d;}[_0x159fb9(0x1a1)](_0x42adc5){const _0x5b45fa=_0x159fb9,_0x5be33f=this[_0x5b45fa(0x284)]['createSocket'](_0x42adc5);if(!_0x5be33f)throw new Error(_0x5b45fa(0x3ea));const _0x221808=new _0x3d6474(),_0x26b563=new _0x2ec24b();_0x221808[_0x5b45fa(0x342)](_0x5be33f['close$'][_0x5b45fa(0x2fd)](_0x3b6226=>_0x26b563['next'](_0x3b6226))),_0x221808[_0x5b45fa(0x342)](_0x3f9d32(()=>_0x26b563[_0x5b45fa(0x138)]()));const _0x1fb52a=new _0x2ec24b();_0x221808[_0x5b45fa(0x342)](_0x5be33f[_0x5b45fa(0x274)]['subscribe'](_0x818c7d=>_0x1fb52a[_0x5b45fa(0x22f)](_0x818c7d))),_0x221808[_0x5b45fa(0x342)](_0x3f9d32(()=>_0x1fb52a[_0x5b45fa(0x138)]()));const _0x4f1610=new _0x2ec24b();_0x221808[_0x5b45fa(0x342)](_0x5be33f[_0x5b45fa(0x427)][_0x5b45fa(0x2fd)](_0x3bc50=>{const _0x421128=_0x5b45fa,_0x32bdba=br(_0x3bc50);_0x4f1610[_0x421128(0x22f)](_0x32bdba);})),_0x221808[_0x5b45fa(0x342)](_0x3f9d32(()=>_0x4f1610[_0x5b45fa(0x138)]()));let _0xf6d0dc;const _0xf25a7=()=>{const _0x20d1d4=_0x5b45fa;_0x1fb52a['next'](new Event(_0x20d1d4(0x2f3))),_0x26b563[_0x20d1d4(0x22f)](new CloseEvent('connection\x20error')),_0xf6d0dc['close']();};return _0xf6d0dc={'memberID':'','close$':_0x26b563[_0x5b45fa(0x118)](),'error$':_0x1fb52a[_0x5b45fa(0x118)](),'open$':_0x5be33f[_0x5b45fa(0xc5)],'message$':_0x4f1610[_0x5b45fa(0x118)](),'send':_0x30b0a4=>{const _0xc9ab0b=_0x5b45fa;if(_0x30b0a4[_0xc9ab0b(0x336)]===W['INGEST']){if(_0x30b0a4[_0xc9ab0b(0x216)][_0xc9ab0b(0x39e)]===_0x33d7b7['SUBMIT_CHANGESET']){this[_0xc9ab0b(0x16e)](_0xf6d0dc,_0x30b0a4[_0xc9ab0b(0x216)])['catch'](_0x43fe1b=>{const _0x270e5e=_0xc9ab0b;this['_logService'][_0x270e5e(0x441)](_0x43fe1b),_0xf25a7();});return;}if(_0x30b0a4[_0xc9ab0b(0x216)]['eventID']===_0x33d7b7[_0xc9ab0b(0x1dc)]){const _0x3b15f0=_0x30b0a4[_0xc9ab0b(0x216)];this[_0xc9ab0b(0x19b)](_0x3b15f0)[_0xc9ab0b(0x171)](_0x13f2f6=>{const _0x284adf=_0xc9ab0b;_0x4f1610[_0x284adf(0x22f)]({'cmd':W[_0x284adf(0x1e7)],'code':Is['OK'],'routeKey':_0x3b15f0[_0x284adf(0x216)][_0x284adf(0x1bc)],'routeType':'','data':{'eventID':_0x33d7b7[_0x284adf(0x15c)],'data':{'changesets':_0x13f2f6}}});})['catch'](_0x299c76=>{const _0x22ab65=_0xc9ab0b;this[_0x22ab65(0x461)]['error'](_0x299c76),_0xf25a7();});return;}}_0x5be33f['send'](Tr(_0x30b0a4));},'close':()=>{const _0x16f105=_0x5b45fa;_0x5be33f[_0x16f105(0x3cd)](),_0x221808['dispose']();}},_0xf6d0dc;}async[_0x159fb9(0x16e)](_0x3ba806,_0x3c8373){const _0x30a5a1=_0x159fb9;var _0x17bbe0,_0x7fa02c;const {unitType:_0x42c196,unitID:_0x102982,changeset:_0x13e280}=_0x3c8373[_0x30a5a1(0x216)],_0x894924={'unitID':_0x102982,'memberID':_0x3ba806[_0x30a5a1(0x1fb)],'type':_0x42c196,'changeset':_0x427732(_0x13e280)},_0x18f788=this[_0x30a5a1(0x18b)][_0x30a5a1(0x2e1)](gr),_0x56d6d1=this[_0x30a5a1(0x18b)]['getConfig'](ie),_0x4f22df=wr((_0x7fa02c=(_0x17bbe0=_0x56d6d1==null?void 0x0:_0x56d6d1[_0x30a5a1(0x289)])!=null?_0x17bbe0:_0x18f788)!=null?_0x7fa02c:Sr,_0x42c196,_0x102982);try{await this[_0x30a5a1(0xd0)][_0x30a5a1(0x424)](_0x4f22df,{'body':_0x894924});}catch(_0x3a4ebc){throw this[_0x30a5a1(0x461)][_0x30a5a1(0x441)](_0x30a5a1(0x2d6),'submit\x20changeset\x20error!'),_0x3a4ebc;}}async[_0x159fb9(0x19b)](_0x1dbf82){const _0xf33086=_0x159fb9,{unitID:_0x22871f,from:_0x12dd66,to:_0x50313a,unitType:_0x48ef4b}=_0x1dbf82[_0xf33086(0x216)];return(await this[_0xf33086(0xe7)][_0xf33086(0x214)]({'metadata':void 0x0},{'unitID':_0x22871f,'type':_0x48ef4b,'from':_0x12dd66,'to':_0x50313a}))[_0xf33086(0x1ad)];}};es=Or([qe(0x0,_0x3e8773(_0x4dbc01)),qe(0x1,_0x3e8773(_0x244fc6)),qe(0x2,_0x3ade87),qe(0x3,_0x3738e4),qe(0x4,_0xbb044)],es);const Dr=_0x159fb9(0x13b);function Pr(_0x5e4b05){const _0x572b79=_0x159fb9;return JSON[_0x572b79(0x25e)](_0x5e4b05)[_0x572b79(0x3e5)];}class wi{constructor(){const _0x1c0b47=_0x159fb9;g(this,_0x1c0b47(0x2d2),new _0x2ec24b()),g(this,'commentUpdate$',this[_0x1c0b47(0x2d2)][_0x1c0b47(0x118)]());}[_0x159fb9(0x10d)](_0x43e872){const _0xc5b8a0=_0x159fb9;this[_0xc5b8a0(0x2d2)][_0xc5b8a0(0x22f)](_0x43e872);}}var Ur=Object[_0x159fb9(0xcf)],Nr=Object[_0x159fb9(0x37a)],Ar=(_0x12f1f2,_0x18dc65,_0x22ff7f,_0x205db0)=>{const _0x5b8b0a=_0x159fb9;for(var _0x45e83e=_0x205db0>0x1?void 0x0:_0x205db0?Nr(_0x18dc65,_0x22ff7f):_0x18dc65,_0x4b166f=_0x12f1f2[_0x5b8b0a(0x3e5)]-0x1,_0x38de8b;_0x4b166f>=0x0;_0x4b166f--)(_0x38de8b=_0x12f1f2[_0x4b166f])&&(_0x45e83e=(_0x205db0?_0x38de8b(_0x18dc65,_0x22ff7f,_0x45e83e):_0x38de8b(_0x45e83e))||_0x45e83e);return _0x205db0&&_0x45e83e&&Ur(_0x18dc65,_0x22ff7f,_0x45e83e),_0x45e83e;},Hs=(_0x17ecc8,_0x55d69a)=>(_0x536619,_0x58f319)=>_0x55d69a(_0x536619,_0x58f319,_0x17ecc8);let Ne=class extends _0x10d2e7{constructor(_0x5f1a1d,_0x468737){const _0x5214c8=_0x159fb9;super(),g(this,_0x5214c8(0x149),new Map()),(this[_0x5214c8(0x116)]=_0x5f1a1d,this['_userManagerService']=_0x468737,this['disposeWithMe'](_0x3f9d32(_0x548bea(this['_univerInstanceService'][_0x5214c8(0x36c)](_0x466101[_0x5214c8(0x166)])[_0x5214c8(0x26b)](_0x24eeb9(_0x4d36a9=>_0x4d36a9['getUnitId']())),this[_0x5214c8(0x116)][_0x5214c8(0x36c)](_0x466101[_0x5214c8(0x44a)])[_0x5214c8(0x26b)](_0x24eeb9(_0xcc2504=>_0xcc2504[_0x5214c8(0xd4)]())),this['_univerInstanceService'][_0x5214c8(0x36c)](_0x466101[_0x5214c8(0x42f)])[_0x5214c8(0x26b)](_0x24eeb9(_0x41cf60=>_0x41cf60[_0x5214c8(0xd4)]())))['subscribe'](_0x5a6fcb=>this['_removeRoom'](_0x5a6fcb)))));}[_0x159fb9(0x16f)](_0x2a87f1){const _0x42f2a5=_0x159fb9;this['_userManagerService'][_0x42f2a5(0x16f)](_0x2a87f1);}[_0x159fb9(0x2d8)](){const _0x561bfa=_0x159fb9;return this[_0x561bfa(0x23f)][_0x561bfa(0x2d8)]();}[_0x159fb9(0x44b)](_0x387844,_0x436313){const _0x24ef19=_0x159fb9;let _0x5d4cdf=this[_0x24ef19(0x149)][_0x24ef19(0x413)](_0x387844);_0x5d4cdf||(_0x5d4cdf=new Mr(),this[_0x24ef19(0x149)]['set'](_0x387844,_0x5d4cdf)),_0x5d4cdf[_0x24ef19(0x44b)](_0x436313);}[_0x159fb9(0x364)](_0x2190b8,_0x27df43){const _0x1c02dc=_0x159fb9,_0x56115e=this[_0x1c02dc(0x149)][_0x1c02dc(0x413)](_0x2190b8);_0x56115e&&_0x56115e[_0x1c02dc(0x364)](_0x27df43);}[_0x159fb9(0x420)](_0x4bc8c5){const _0x1c6e80=_0x159fb9;return this[_0x1c6e80(0x149)][_0x1c6e80(0x413)](_0x4bc8c5);}[_0x159fb9(0x3a9)](_0x4c9ff9,_0x4a69a6){const _0x484beb=_0x159fb9,_0x3a1fc7=this[_0x484beb(0x149)][_0x484beb(0x413)](_0x4c9ff9);if(_0x3a1fc7)return _0x3a1fc7[_0x484beb(0x3a9)](_0x4a69a6);}['_removeRoom'](_0x15a5d8){const _0x1d3213=_0x159fb9,_0x3257a2=this[_0x1d3213(0x149)][_0x1d3213(0x413)](_0x15a5d8);_0x3257a2&&(_0x3257a2['dispose'](),this[_0x1d3213(0x149)][_0x1d3213(0x24e)](_0x15a5d8));}[_0x159fb9(0xda)](){const _0x512b47=_0x159fb9;this[_0x512b47(0x149)]['forEach'](_0x6257d3=>_0x6257d3[_0x512b47(0xda)]()),this['_roomMembers'][_0x512b47(0x35a)]();}};Ne=Ar([Hs(0x0,_0x40ba52),Hs(0x1,_0x3e8773(_0x1b0543))],Ne);class Mr extends _0x10d2e7{constructor(){super(...arguments),g(this,'_members',new Map());}[_0x159fb9(0xda)](){const _0x7d470e=_0x159fb9;this[_0x7d470e(0xc2)][_0x7d470e(0x35a)]();}[_0x159fb9(0x44b)](_0x2115b8){const _0x5106d7=_0x159fb9;this['_members'][_0x5106d7(0x3d3)](_0x2115b8[_0x5106d7(0x1fb)],_0x2115b8);}['removeMember'](_0xf61d89){const _0x5eb4b3=_0x159fb9;this['_members'][_0x5eb4b3(0x24e)](_0xf61d89);}[_0x159fb9(0x3a9)](_0x2f4fcc){const _0x231585=_0x159fb9;return this[_0x231585(0xc2)][_0x231585(0x413)](_0x2f4fcc);}[_0x159fb9(0x3e8)](){const _0x2946f8=_0x159fb9;return Array[_0x2946f8(0x3a5)](this[_0x2946f8(0xc2)][_0x2946f8(0x18d)]());}}var xr=Object[_0x159fb9(0xcf)],Lr=Object[_0x159fb9(0x37a)],$r=(_0x441409,_0x34528a,_0x195a6f,_0xed045b)=>{for(var _0xe158bb=_0xed045b>0x1?void 0x0:_0xed045b?Lr(_0x34528a,_0x195a6f):_0x34528a,_0x2f0690=_0x441409['length']-0x1,_0x318294;_0x2f0690>=0x0;_0x2f0690--)(_0x318294=_0x441409[_0x2f0690])&&(_0xe158bb=(_0xed045b?_0x318294(_0x34528a,_0x195a6f,_0xe158bb):_0x318294(_0xe158bb))||_0xe158bb);return _0xed045b&&_0xe158bb&&xr(_0x34528a,_0x195a6f,_0xe158bb),_0xe158bb;},Ee=(_0x1ede03,_0x2a81e5)=>(_0x55087d,_0x232fc7)=>_0x2a81e5(_0x55087d,_0x232fc7,_0x1ede03),ve=(_0xa532bc=>(_0xa532bc[_0xa532bc[_0x159fb9(0x237)]=0x0]=_0x159fb9(0x237),_0xa532bc[_0xa532bc[_0x159fb9(0xfc)]=0x1]='JOINING',_0xa532bc[_0xa532bc[_0x159fb9(0x2e8)]=0x2]=_0x159fb9(0x2e8),_0xa532bc[_0xa532bc[_0x159fb9(0x2ef)]=0x3]=_0x159fb9(0x2ef),_0xa532bc))(ve||{});let ts=class extends _0x7d7f86{constructor(_0x2a9e65,_0x5bfbcd,_0x4033c1,_0x4c0b41,_0x5a46df,_0x31ecf6,_0x55a382,_0x2085c2,_0x3a555e,_0x1d133a){const _0x106040=_0x159fb9;super(),g(this,'_sessionStatus$',new _0x4cf3b1(0x0)),g(this,'sessionStatus$',this[_0x106040(0x345)][_0x106040(0x118)]()),g(this,_0x106040(0x42e),new _0x2ec24b()),g(this,_0x106040(0x431),this[_0x106040(0x42e)]['asObservable']()),g(this,_0x106040(0x3f1)),g(this,_0x106040(0x3cc)),g(this,_0x106040(0x333)),g(this,_0x106040(0x121),!0x1),g(this,'_telemetryInfo',null),(this['_unitID']=_0x2a9e65,this[_0x106040(0x461)]=_0x4033c1,this[_0x106040(0x3fc)]=_0x4c0b41,this[_0x106040(0x3b8)]=_0x5a46df,this['_configService']=_0x31ecf6,this[_0x106040(0xc8)]=_0x55a382,this[_0x106040(0x41e)]=_0x2085c2,this[_0x106040(0x421)]=_0x3a555e,this[_0x106040(0x359)]=_0x1d133a,this[_0x106040(0x121)]=!!this[_0x106040(0x359)],_0x5bfbcd[_0x106040(0x26b)](_0x514462(this[_0x106040(0x1ef)]))[_0x106040(0x2fd)](_0x1d961c=>{const _0x10d1a4=_0x106040;var _0x33db15;typeof _0x1d961c>'u'||(this[_0x10d1a4(0x3f1)]=_0x1d961c,_0x1d961c?(this[_0x10d1a4(0x1f8)](_0x1d961c),this[_0x10d1a4(0x3cc)]=_0x1d961c[_0x10d1a4(0x427)][_0x10d1a4(0x2fd)](_0x1a85bb=>{const _0x16a048=_0x10d1a4;_0x1a85bb[_0x16a048(0xe3)]===this['_unitID']&&this[_0x16a048(0x2a2)](_0x1a85bb);})):(this[_0x10d1a4(0x401)](),this[_0x10d1a4(0x345)]['next'](0x2),(_0x33db15=this[_0x10d1a4(0x3cc)])==null||_0x33db15[_0x10d1a4(0x158)](),this['_socketMessageSubscription']=null));}),this['disposeWithMe'](this[_0x106040(0x3fc)]['registerOnClose'](()=>{const _0x3bbf7f=_0x106040;var _0x2c15ef;(_0x2c15ef=this[_0x3bbf7f(0x3f1)])==null||_0x2c15ef[_0x3bbf7f(0x4ab)]({'cmd':W[_0x3bbf7f(0xd5)],'data':{'roomID':this[_0x3bbf7f(0x256)]}});})));}get[_0x159fb9(0x101)](){const _0x42837e=_0x159fb9;return this[_0x42837e(0x345)][_0x42837e(0x495)]();}[_0x159fb9(0x24d)](){const _0x55e038=_0x159fb9;var _0x4648d8,_0x4d7c65;return(_0x4d7c65=(_0x4648d8=this['_socket'])==null?void 0x0:_0x4648d8[_0x55e038(0x1fb)])!=null?_0x4d7c65:null;}['dispose'](){const _0x40923b=_0x159fb9;super[_0x40923b(0xda)](),this[_0x40923b(0x1ef)][_0x40923b(0x22f)](),this[_0x40923b(0x1ef)]['complete']();}[_0x159fb9(0x3cd)](){const _0x5ead9a=_0x159fb9;var _0x4030ed,_0x1e3e93;this[_0x5ead9a(0x401)](),(_0x4030ed=this[_0x5ead9a(0x3f1)])==null||_0x4030ed['send']({'cmd':W[_0x5ead9a(0xd5)],'data':{'roomID':this['_unitID']}}),(_0x1e3e93=this[_0x5ead9a(0x3f1)])==null||_0x1e3e93[_0x5ead9a(0x3cd)](),this[_0x5ead9a(0x42e)]['complete'](),this[_0x5ead9a(0x345)][_0x5ead9a(0x138)](),this[_0x5ead9a(0xda)]();}[_0x159fb9(0x2a2)](_0x21e60d){const _0x4ee7d3=_0x159fb9;_0x21e60d[_0x4ee7d3(0x336)]===W['JOIN']?this[_0x4ee7d3(0x183)](_0x21e60d):_0x21e60d['cmd']===W[_0x4ee7d3(0x1e7)]&&this[_0x4ee7d3(0x36b)](_0x21e60d);}[_0x159fb9(0x1f8)](_0x33877d){const _0x512b09=_0x159fb9;this['_sessionStatus$'][_0x512b09(0x22f)](0x1),_0x33877d[_0x512b09(0x4ab)]({'cmd':W[_0x512b09(0x2c7)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x512b09(0x256)]}]}});}[_0x159fb9(0x183)](_0x223275){const _0x3bd820=_0x159fb9;var _0x365568;if(_0x223275[_0x3bd820(0x21c)]===Is[_0x3bd820(0x47d)]){this[_0x3bd820(0x3b8)]['show']({'type':_0x450e6f['Warning'],'content':this[_0x3bd820(0xc8)]['t'](_0x3bd820(0x39f))}),this[_0x3bd820(0x345)][_0x3bd820(0x22f)](0x2);return;}this['_sessionStatus$'][_0x3bd820(0x22f)](0x3);const _0x2c0748=(_0x365568=_0x223275[_0x3bd820(0x216)][_0x3bd820(0x329)][this[_0x3bd820(0x256)]])==null?void 0x0:_0x365568['members'];_0x2c0748&&_0x2c0748[_0x3bd820(0x30e)](_0x40b21b=>this[_0x3bd820(0x41e)][_0x3bd820(0x44b)](this[_0x3bd820(0x256)],_0x40b21b));}[_0x159fb9(0x36b)](_0x1fdcbe){const _0x23da76=_0x159fb9;try{const _0x553801=_0x1fdcbe[_0x23da76(0x216)];switch(_0x553801[_0x23da76(0x39e)]){case _0x33d7b7[_0x23da76(0x44d)]:this['_onUserJoin'](_0x553801),this[_0x23da76(0x42e)]['next'](_0x553801);break;case _0x33d7b7[_0x23da76(0x477)]:this['_onUserLeave'](_0x553801),this['_event$'][_0x23da76(0x22f)](_0x553801);break;case _0x33d7b7[_0x23da76(0x306)]:case _0x33d7b7[_0x23da76(0x1a0)]:this[_0x23da76(0xbb)](),this[_0x23da76(0x21d)](),this[_0x23da76(0x42e)][_0x23da76(0x22f)](_0x553801);break;case _0x33d7b7[_0x23da76(0x457)]:this[_0x23da76(0x461)]['error'](_0x23da76(0x35f)+JSON[_0x23da76(0x25e)](_0x553801)),this[_0x23da76(0x42e)][_0x23da76(0x22f)](_0x553801);break;case _0x33d7b7['COMMENT_UPDATE']:this[_0x23da76(0x421)][_0x23da76(0x10d)](_0x553801[_0x23da76(0x216)]),this[_0x23da76(0x42e)][_0x23da76(0x22f)](_0x553801);break;default:this[_0x23da76(0x42e)][_0x23da76(0x22f)](_0x553801);}}catch(_0x5d469d){this['_logService'][_0x23da76(0x441)](_0x5d469d,_0x1fdcbe);}}['_onUserJoin'](_0x2fc304){const _0x3190a0=_0x159fb9;this[_0x3190a0(0x41e)][_0x3190a0(0x44b)](this['_unitID'],_0x2fc304[_0x3190a0(0x216)]);}[_0x159fb9(0x476)](_0x4f863b){const _0x5ecc84=_0x159fb9;this[_0x5ecc84(0x41e)][_0x5ecc84(0x364)](this[_0x5ecc84(0x256)],_0x4f863b[_0x5ecc84(0x216)]['memberID']);}async[_0x159fb9(0x4ab)](_0x19186f,_0x1fa31a){const _0x4df64b=_0x159fb9;if(this[_0x4df64b(0x101)]!==0x3||!this['_socket'])throw new Error(_0x4df64b(0xdb));try{_0x19186f[_0x4df64b(0x39e)]===_0x33d7b7[_0x4df64b(0x31e)]&&(this[_0x4df64b(0x260)](),this['_startTelemetryCollaborationNewChangeset'](_0x19186f)),this[_0x4df64b(0x3f1)][_0x4df64b(0x4ab)]({'cmd':W[_0x4df64b(0x3a0)],'routeKey':_0x1fa31a,'routeType':'','data':_0x19186f});}catch(_0x3cc696){this['_logService'][_0x4df64b(0x441)](_0x3cc696);}}[_0x159fb9(0x260)](){const _0x830390=_0x159fb9;var _0x4536b8;this[_0x830390(0x333)]=window[_0x830390(0x383)](()=>{const _0x257980=_0x830390;this[_0x257980(0x333)]=null,this[_0x257980(0x3b8)][_0x257980(0x3e9)]({'type':_0x450e6f[_0x257980(0x16a)],'content':this[_0x257980(0xc8)]['t']('session.collaboration-timeout')});},(_0x4536b8=this[_0x830390(0x18b)]['getConfig'](bi))!=null?_0x4536b8:Ti);}['_clearCollaborationTimeoutTimer'](){const _0x130c11=_0x159fb9;this[_0x130c11(0x333)]&&(clearTimeout(this[_0x130c11(0x333)]),this[_0x130c11(0x333)]=null);}[_0x159fb9(0x332)](_0x3e4546){const _0x13bd15=_0x159fb9;if(!this['_shouldReportTelemetry'])return;const {data:_0xa8d668}=_0x3e4546,{unitID:_0x59304e,changeset:_0x1587a3}=_0xa8d668,{mutations:_0x20a06c,type:_0x3793c8}=_0x1587a3;this[_0x13bd15(0x28d)]={'unitId':_0x59304e,'type':_0x3793c8,'startTime':performance[_0x13bd15(0x380)](),'stopTime':0x0,'duration':0x0,'size':Pr(_0x20a06c)};}[_0x159fb9(0xbb)](){const _0x4ccac1=_0x159fb9;if(this['_shouldReportTelemetry']){if(!this['_telemetryInfo']){this[_0x4ccac1(0x461)][_0x4ccac1(0x441)](_0x4ccac1(0x2d6),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x4ccac1(0x28d)]['stopTime']=performance['now'](),this[_0x4ccac1(0x28d)][_0x4ccac1(0x4a0)]=this['_telemetryInfo'][_0x4ccac1(0x137)]-this[_0x4ccac1(0x28d)][_0x4ccac1(0x1c8)],this[_0x4ccac1(0x359)][_0x4ccac1(0x40c)](Dr,this[_0x4ccac1(0x28d)]),this[_0x4ccac1(0x28d)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){const _0xd8635b=_0x159fb9;this[_0xd8635b(0x28d)]=null;}};ts=$r([Ee(0x2,_0x3738e4),Ee(0x3,_0xb2b56d),Ee(0x4,_0x546aee),Ee(0x5,_0x3ade87),Ee(0x6,_0x3e8773(_0x51cff0)),Ee(0x7,_0x3e8773(Ne)),Ee(0x8,_0x3e8773(wi)),Ee(0x9,_0x24e594(_0xae2320))],ts);var Hr=Object[_0x159fb9(0xcf)],jr=Object[_0x159fb9(0x37a)],Br=(_0x5bff1b,_0x1441de,_0x27a456,_0x4384ec)=>{const _0x45bf73=_0x159fb9;for(var _0x3c0f0d=_0x4384ec>0x1?void 0x0:_0x4384ec?jr(_0x1441de,_0x27a456):_0x1441de,_0x53901b=_0x5bff1b[_0x45bf73(0x3e5)]-0x1,_0x2ce9da;_0x53901b>=0x0;_0x53901b--)(_0x2ce9da=_0x5bff1b[_0x53901b])&&(_0x3c0f0d=(_0x4384ec?_0x2ce9da(_0x1441de,_0x27a456,_0x3c0f0d):_0x2ce9da(_0x3c0f0d))||_0x3c0f0d);return _0x4384ec&&_0x3c0f0d&&Hr(_0x1441de,_0x27a456,_0x3c0f0d),_0x3c0f0d;},je=(_0x539878,_0x39b039)=>(_0x3ce3db,_0x126a6)=>_0x39b039(_0x3ce3db,_0x126a6,_0x539878);let Ae=class extends _0x10d2e7{constructor(_0x2c5f44,_0xb176f2,_0x139914,_0x454088,_0x1c2e2b,_0x591f26){const _0x2a5414=_0x159fb9;super(),g(this,_0x2a5414(0x43c),new _0x4cf3b1(void 0x0)),g(this,_0x2a5414(0x360),this[_0x2a5414(0x43c)][_0x2a5414(0x118)]()),g(this,_0x2a5414(0xae),null),g(this,_0x2a5414(0x363),new Map()),g(this,_0x2a5414(0x3e0),new _0x4cf3b1(ve[_0x2a5414(0x237)])),g(this,_0x2a5414(0x33d),this[_0x2a5414(0x3e0)]['asObservable']()),g(this,_0x2a5414(0x3c9),!0x1),g(this,_0x2a5414(0x1bd)),g(this,_0x2a5414(0x305),0x0),g(this,_0x2a5414(0x374)),g(this,_0x2a5414(0x46c)),(this['_injector']=_0x2c5f44,this[_0x2a5414(0xc8)]=_0xb176f2,this[_0x2a5414(0x3b8)]=_0x139914,this[_0x2a5414(0x461)]=_0x454088,this[_0x2a5414(0x18b)]=_0x1c2e2b,this[_0x2a5414(0x11e)]=_0x591f26,this[_0x2a5414(0x1c5)]());}get[_0x159fb9(0x3f1)](){const _0xb07024=_0x159fb9;return this[_0xb07024(0x43c)]['getValue']();}[_0x159fb9(0x1c5)](){const _0x2904b6=_0x159fb9;this[_0x2904b6(0x26c)](),this['_listenToOnlineEvent']();}[_0x159fb9(0xda)](){const _0x3e8794=_0x159fb9;super[_0x3e8794(0xda)](),this[_0x3e8794(0x363)][_0x3e8794(0x30e)](_0x48a6e4=>_0x48a6e4[_0x3e8794(0xda)]()),this['_sessions']['clear'](),this[_0x3e8794(0x3e0)]['complete']();}async[_0x159fb9(0x470)](_0x124e30){const _0x39bff4=_0x159fb9;if(this['_sessions'][_0x39bff4(0x375)](_0x124e30))return this[_0x39bff4(0x363)][_0x39bff4(0x413)](_0x124e30);this['_tryEnsureSocket']();const _0x2449d0=this[_0x39bff4(0x1d9)][_0x39bff4(0x3fb)](ts,_0x124e30,this[_0x39bff4(0x43c)][_0x39bff4(0x118)]());return this[_0x39bff4(0x363)][_0x39bff4(0x3d3)](_0x124e30,_0x2449d0),_0x2449d0;}[_0x159fb9(0x19c)](_0x4bcb19){const _0x593726=_0x159fb9;var _0x1eb391;const _0x511638=this['_sessions'][_0x593726(0x413)](_0x4bcb19);_0x511638&&(this[_0x593726(0x363)][_0x593726(0x24e)](_0x4bcb19),_0x511638[_0x593726(0x3cd)]()),this['_sessions'][_0x593726(0x1d3)]||(_0x1eb391=this[_0x593726(0x3f1)])==null||_0x1eb391[_0x593726(0x3cd)]();}[_0x159fb9(0x139)](){const _0x46fd59=_0x159fb9;this[_0x46fd59(0x305)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x46fd59(0x1bd)]=null),this[_0x46fd59(0x314)]();}[_0x159fb9(0x32e)](){const _0x316394=_0x159fb9;var _0x4e8125,_0x44ebc3;const _0x1fdc4a=this[_0x316394(0x18b)][_0x316394(0x2e1)](hr),_0x4db597=this['_configService'][_0x316394(0x2e1)](ie),_0x2c0a0a=(_0x44ebc3=(_0x4e8125=_0x4db597==null?void 0x0:_0x4db597[_0x316394(0x3d9)])!=null?_0x4e8125:_0x1fdc4a)!=null?_0x44ebc3:lr,_0x191cd0=this[_0x316394(0x11e)][_0x316394(0x1a1)](_0x2c0a0a);return this[_0x316394(0xae)]=_0x191cd0,_0x191cd0;}[_0x159fb9(0xe2)](){const _0x35d882=_0x159fb9;var _0x36bddf,_0x5398e3;try{const _0x4d1d18=(_0x5398e3=(_0x36bddf=this[_0x35d882(0x3f1)])!=null?_0x36bddf:this[_0x35d882(0xae)])!=null?_0x5398e3:this['_createSocket']();if(_0x4d1d18){const _0x248285=_0x4d1d18[_0x35d882(0x4ab)];_0x4d1d18[_0x35d882(0x4ab)]=_0x44b346=>(this[_0x35d882(0x46d)](),_0x248285[_0x35d882(0x2b8)](_0x4d1d18,[_0x44b346])),_0x4d1d18[_0x35d882(0x427)][_0x35d882(0x2fd)](_0x838979=>this[_0x35d882(0x251)](_0x4d1d18,_0x838979)),_0x4d1d18[_0x35d882(0x274)][_0x35d882(0x26b)](_0x277270(0x1))[_0x35d882(0x2fd)](_0x386db1=>this['_logService'][_0x35d882(0x441)](_0x35d882(0x1aa),_0x386db1)),_0x4d1d18['open$'][_0x35d882(0x26b)](_0x277270(0x1))[_0x35d882(0x2fd)](()=>{const _0x8286c5=_0x35d882;this[_0x8286c5(0x105)](_0x4d1d18);}),_0x4d1d18['close$'][_0x35d882(0x26b)](_0x277270(0x1))[_0x35d882(0x2fd)](_0x46ec97=>{const _0x4cf515=_0x35d882;this[_0x4cf515(0x461)]['debug'](_0x4cf515(0x315),_0x4cf515(0x12b),_0x46ec97),this[_0x4cf515(0x433)]();});}}catch(_0x475473){this['_logService'][_0x35d882(0x441)](_0x475473),this[_0x35d882(0x433)]();}}[_0x159fb9(0x105)](_0x4edc4b){const _0x4f75c8=_0x159fb9;this[_0x4f75c8(0x461)][_0x4f75c8(0x4b0)](_0x4f75c8(0x315),'socket\x20open.'),_0x4edc4b[_0x4f75c8(0x4ab)]({'cmd':W[_0x4f75c8(0x1ac)]}),this[_0x4f75c8(0x46d)]();}[_0x159fb9(0x26c)](){const _0x349b89=_0x159fb9;window[_0x349b89(0x16c)](_0x349b89(0x133),()=>this[_0x349b89(0x1da)]());}[_0x159fb9(0x1da)](){const _0x552943=_0x159fb9;this[_0x552943(0x3c9)]=!0x1,this['_candidateSocket']=null,this[_0x552943(0x3e0)]['next'](ve[_0x552943(0x2e8)]),this[_0x552943(0x43c)][_0x552943(0x22f)](null),this['_clearTimeoutTimer'](),this[_0x552943(0xf9)]();}[_0x159fb9(0x433)](){const _0x4e530f=_0x159fb9;var _0x36afd2;this[_0x4e530f(0x1da)](),this[_0x4e530f(0x305)]<((_0x36afd2=this[_0x4e530f(0x18b)][_0x4e530f(0x2e1)](fr))!=null?_0x36afd2:vr)?(this[_0x4e530f(0x3b8)]['show']({'key':_0x4e530f(0xef),'type':_0x450e6f[_0x4e530f(0x378)],'content':this[_0x4e530f(0xc8)]['t'](_0x4e530f(0x3e7))}),this['_tryReconnect']()):this['_messageService'][_0x4e530f(0x3e9)]({'key':'collaboration-session-retry','type':_0x450e6f['Error'],'content':this[_0x4e530f(0xc8)]['t']('session.connection-failed')});}['_listenToOnlineEvent'](){const _0x164346=_0x159fb9,_0x147a5f=()=>{const _0x25010f=_0x4457;this[_0x25010f(0x3f1)]||this[_0x25010f(0x139)]();},_0x3d5455=()=>{const _0xd2a86f=_0x4457;this[_0xd2a86f(0x3f1)]||document['visibilityState']===_0xd2a86f(0xac)||this['reconnect']();};window[_0x164346(0x16c)](_0x164346(0x352),_0x147a5f),document[_0x164346(0x16c)](_0x164346(0x4a3),_0x3d5455);}[_0x159fb9(0x314)](){const _0x215c5e=_0x159fb9;var _0x505842;const _0x4c1907=this[_0x215c5e(0x305)],_0xcd47f0=this['_configService'][_0x215c5e(0x2e1)](ie),_0x1bffe8=_0x4c1907===0x0?0x0:((_0x505842=_0xcd47f0==null?void 0x0:_0xcd47f0[_0x215c5e(0x36a)])!=null?_0x505842:dr)*0x2**_0x4c1907;this[_0x215c5e(0x1bd)]=window[_0x215c5e(0x383)](()=>{const _0x3ea6ba=_0x215c5e;clearTimeout(this[_0x3ea6ba(0x1bd)]),this['_retryConnectingTimer']=null,this[_0x3ea6ba(0xe2)]();},_0x1bffe8),this[_0x215c5e(0x305)]+=0x1;}[_0x159fb9(0x251)](_0x399ad7,_0x44003c){const _0x4d9542=_0x159fb9,{cmd:_0x2d551c}=_0x44003c;_0x2d551c===W['HELLO']&&!this[_0x4d9542(0x3c9)]&&(_0x399ad7[_0x4d9542(0x1fb)]=_0x44003c['data'][_0x4d9542(0x1fb)],this[_0x4d9542(0x43c)]['next'](_0x399ad7),this[_0x4d9542(0x3e0)][_0x4d9542(0x22f)](ve[_0x4d9542(0x2ef)]),this[_0x4d9542(0x3c9)]=!0x0,this[_0x4d9542(0xae)]=null),_0x2d551c===W['HEARTBEAT']&&this[_0x4d9542(0x299)](),this[_0x4d9542(0x46d)]();}[_0x159fb9(0x46d)](){const _0x26acb3=_0x159fb9;var _0x4087f4;this[_0x26acb3(0xf9)](),this[_0x26acb3(0x374)]=window[_0x26acb3(0x383)](()=>this['_sendHeartbeat'](),(_0x4087f4=this['_configService']['getConfig'](_r))!=null?_0x4087f4:ur);}[_0x159fb9(0x2db)](){const _0x4c40e6=_0x159fb9;this['_socket'][_0x4c40e6(0x4ab)]({'cmd':W[_0x4c40e6(0x40a)]}),this[_0x4c40e6(0x407)]();}['_waitForHeartbeatResponse'](){const _0x12edfa=_0x159fb9;var _0x54a0a8;this['_timeoutTimer']=window[_0x12edfa(0x383)](()=>this[_0x12edfa(0x433)](),(_0x54a0a8=this['_configService']['getConfig'](bi))!=null?_0x54a0a8:Ti);}[_0x159fb9(0xf9)](){const _0x4a67f8=_0x159fb9;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x4a67f8(0x374)]),this[_0x4a67f8(0x374)]=null);}[_0x159fb9(0x299)](){const _0x28295c=_0x159fb9;this[_0x28295c(0x46c)]!=null&&(clearTimeout(this[_0x28295c(0x46c)]),this[_0x28295c(0x46c)]=null);}};Ae=Br([je(0x0,_0x3e8773(_0x3371c0)),je(0x1,_0x3e8773(_0x51cff0)),je(0x2,_0x546aee),je(0x3,_0x3738e4),je(0x4,_0x3ade87),je(0x5,Oi)],Ae);var Y=[];for(var Nt=0x0;Nt<0x100;++Nt)Y[_0x159fb9(0x3c8)]((Nt+0x100)[_0x159fb9(0xd7)](0x10)[_0x159fb9(0x438)](0x1));function kr(_0x160d19,_0x5242c1=0x0){const _0xb723a=_0x159fb9;return(Y[_0x160d19[_0x5242c1+0x0]]+Y[_0x160d19[_0x5242c1+0x1]]+Y[_0x160d19[_0x5242c1+0x2]]+Y[_0x160d19[_0x5242c1+0x3]]+'-'+Y[_0x160d19[_0x5242c1+0x4]]+Y[_0x160d19[_0x5242c1+0x5]]+'-'+Y[_0x160d19[_0x5242c1+0x6]]+Y[_0x160d19[_0x5242c1+0x7]]+'-'+Y[_0x160d19[_0x5242c1+0x8]]+Y[_0x160d19[_0x5242c1+0x9]]+'-'+Y[_0x160d19[_0x5242c1+0xa]]+Y[_0x160d19[_0x5242c1+0xb]]+Y[_0x160d19[_0x5242c1+0xc]]+Y[_0x160d19[_0x5242c1+0xd]]+Y[_0x160d19[_0x5242c1+0xe]]+Y[_0x160d19[_0x5242c1+0xf]])[_0xb723a(0x3bf)]();}var ct,Wr=new Uint8Array(0x10);function Fr(){const _0x89ea4f=_0x159fb9;if(!ct&&(ct=typeof crypto<'u'&&crypto[_0x89ea4f(0x1cf)]&&crypto[_0x89ea4f(0x1cf)][_0x89ea4f(0x1ed)](crypto),!ct))throw new Error(_0x89ea4f(0x1d6));return ct(Wr);}var Vr=typeof crypto<'u'&&crypto[_0x159fb9(0x3fd)]&&crypto[_0x159fb9(0x3fd)][_0x159fb9(0x1ed)](crypto);const js={'randomUUID':Vr};function Gr(_0x2a63ad,_0x437c29,_0x21a606){const _0x5a5033=_0x159fb9;if(js[_0x5a5033(0x3fd)]&&!_0x437c29&&!_0x2a63ad)return js[_0x5a5033(0x3fd)]();_0x2a63ad=_0x2a63ad||{};var _0x2552a6=_0x2a63ad['random']||(_0x2a63ad['rng']||Fr)();return _0x2552a6[0x6]=_0x2552a6[0x6]&0xf|0x40,_0x2552a6[0x8]=_0x2552a6[0x8]&0x3f|0x80,kr(_0x2552a6);}var Yr=Object['defineProperty'],Kr=Object[_0x159fb9(0x37a)],zr=(_0x3e409f,_0x4617d8,_0x3b0434,_0x4d8d60)=>{const _0x2dd064=_0x159fb9;for(var _0x274ecf=_0x4d8d60>0x1?void 0x0:_0x4d8d60?Kr(_0x4617d8,_0x3b0434):_0x4617d8,_0x5fa94f=_0x3e409f[_0x2dd064(0x3e5)]-0x1,_0x1e48ae;_0x5fa94f>=0x0;_0x5fa94f--)(_0x1e48ae=_0x3e409f[_0x5fa94f])&&(_0x274ecf=(_0x4d8d60?_0x1e48ae(_0x4617d8,_0x3b0434,_0x274ecf):_0x1e48ae(_0x274ecf))||_0x274ecf);return _0x4d8d60&&_0x274ecf&&Yr(_0x4617d8,_0x3b0434,_0x274ecf),_0x274ecf;},At=(_0xdd5432,_0x157e9b)=>(_0x2f2af2,_0xa7aee)=>_0x157e9b(_0x2f2af2,_0xa7aee,_0xdd5432);let vt=class{constructor(_0x4e50ac,_0x4faa84,_0xd2bb3){const _0x3e1a45=_0x159fb9;this[_0x3e1a45(0x1d9)]=_0x4e50ac,this[_0x3e1a45(0x1a9)]=_0x4faa84,this[_0x3e1a45(0x451)]=_0xd2bb3;}[_0x159fb9(0x2b9)](_0x3f6334){const _0x1418d7=_0x159fb9;this[_0x1418d7(0x449)](_0x3f6334),this[_0x1418d7(0x301)](_0x3f6334);}[_0x159fb9(0x434)](_0x1501db){const _0x1278be=_0x159fb9,{unitID:_0x20bbe8}=_0x1501db,_0x9570a4=this[_0x1278be(0x451)][_0x1278be(0x119)](_0x20bbe8)[_0x1278be(0x151)](_0x1d29e7),{redoCache:_0x5e2b6e}=_0x9570a4[_0x1278be(0x3ff)]();if(_0x5e2b6e[_0x1278be(0x3e5)]===0x0)return _0x1501db;let _0x196d38=_0x26d13d['deepClone'](_0x1501db['mutations'][0x0]);for(let _0x1688a4=0x0;_0x1688a4<_0x5e2b6e[_0x1278be(0x3e5)];_0x1688a4++){const _0x5e1c15={'id':_0x1278be(0xdd),'params':{..._0x5e2b6e[_0x1688a4]}},_0x5d9636=this['_transformService'][_0x1278be(0x29c)](_0x196d38,_0x5e1c15,!0x1);if(_0x490f82(_0x5d9636))throw _0x5d9636['error'];_0x196d38=_0x5d9636[_0x1278be(0x217)];}return{..._0x26d13d[_0x1278be(0x272)](_0x1501db),'mutations':[_0x196d38]};}['_transformUndoRedoStack'](_0x3d709f){const _0x5ea327=_0x159fb9,{unitID:_0x32f83a}=_0x3d709f,_0x5d321f=this[_0x5ea327(0x451)][_0x5ea327(0x119)](_0x32f83a)[_0x5ea327(0x151)](_0x1d29e7),{undoCache:_0x15d48c,redoCache:_0x47a2ee}=_0x5d321f[_0x5ea327(0x3ff)]();if(_0x15d48c[_0x5ea327(0x3e5)]===0x0||_0x47a2ee[_0x5ea327(0x3e5)]===0x0)return;const _0x3d995d=[],_0x1413a6=[];let _0x4e3ce5=_0x26d13d[_0x5ea327(0x272)](_0x3d709f[_0x5ea327(0x29f)][0x0]),_0x53bee8=_0x26d13d[_0x5ea327(0x272)](_0x3d709f['mutations'][0x0]);for(let _0x479935=_0x15d48c[_0x5ea327(0x3e5)]-0x1;_0x479935>=0x0;_0x479935--){const _0x5e9fbe={'id':_0x5ea327(0xdd),'params':{..._0x15d48c[_0x479935]}},_0x3ee715={'id':'doc.mutation.rich-text-editing','params':{..._0x47a2ee[_0x479935]}},_0x2f330a=this[_0x5ea327(0x1a9)][_0x5ea327(0x29c)](_0x4e3ce5,_0x5e9fbe,!0x1),_0x2032a6=this[_0x5ea327(0x1a9)][_0x5ea327(0x29c)](_0x53bee8,_0x3ee715,!0x1);if(_0x490f82(_0x2f330a))throw _0x2f330a[_0x5ea327(0x441)];if(_0x490f82(_0x2032a6))throw _0x2032a6[_0x5ea327(0x441)];_0x3d995d[_0x5ea327(0x3d7)](_0x2f330a[_0x5ea327(0x12a)][_0x5ea327(0x11b)]),_0x1413a6[_0x5ea327(0x3d7)](_0x2032a6[_0x5ea327(0x12a)][_0x5ea327(0x11b)]),_0x4e3ce5=_0x2f330a['m1Prime'],_0x53bee8=_0x2032a6[_0x5ea327(0x217)];}_0x5d321f['setUndoRedoMutationParamsCache']({'undoCache':_0x3d995d,'redoCache':_0x1413a6});}[_0x159fb9(0x301)](_0x45096){const _0x4d5908=_0x159fb9,{unitID:_0x3e60e8}=_0x45096,_0xf04f56=this[_0x4d5908(0x451)]['getRenderById'](_0x3e60e8)[_0x4d5908(0x151)](_0x1d29e7),_0x2cfc5e=_0xf04f56[_0x4d5908(0x459)]();if(_0x2cfc5e==null)return;const _0x431ae7=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x45096['unitID'],'actions':null,'textRanges':[_0x2cfc5e]}}],_0x2cb437=this[_0x4d5908(0x1a9)]['transformMutationsWithChangeset'](_0x45096,_0x431ae7);if(!_0x426291(_0x2cb437))throw _0x2cb437[_0x4d5908(0x441)];const _0x55e16e=_0x2cb437[_0x4d5908(0x12a)][0x0][_0x4d5908(0x11b)][_0x4d5908(0x240)];Array[_0x4d5908(0x126)](_0x55e16e)&&_0x55e16e[_0x4d5908(0x3e5)]&&_0xf04f56['setActiveRange'](_0x55e16e[0x0]);}};vt=zr([At(0x0,_0x3e8773(_0x3371c0)),At(0x1,_0x1c07b8),At(0x2,_0x525bf5)],vt);var qr=Object['defineProperty'],Xr=Object[_0x159fb9(0x37a)],Jr=(_0x2dca56,_0x542440,_0x5c3ac1,_0x372cf5)=>{const _0x215bad=_0x159fb9;for(var _0x184dbf=_0x372cf5>0x1?void 0x0:_0x372cf5?Xr(_0x542440,_0x5c3ac1):_0x542440,_0x2f135c=_0x2dca56[_0x215bad(0x3e5)]-0x1,_0x2e9167;_0x2f135c>=0x0;_0x2f135c--)(_0x2e9167=_0x2dca56[_0x2f135c])&&(_0x184dbf=(_0x372cf5?_0x2e9167(_0x542440,_0x5c3ac1,_0x184dbf):_0x2e9167(_0x184dbf))||_0x184dbf);return _0x372cf5&&_0x184dbf&&qr(_0x542440,_0x5c3ac1,_0x184dbf),_0x184dbf;},Xe=(_0xe943,_0x40ce22)=>(_0x806c18,_0x332ca7)=>_0x40ce22(_0x806c18,_0x332ca7,_0xe943);let q=class extends _0x10d2e7{constructor(_0x2e39d4,_0x5e94df,_0xee6860,_0x3e82ea,_0x578807){const _0x42c5bb=_0x159fb9;super(),g(this,_0x42c5bb(0x3b1),new Map()),g(this,'_saveTaskMap',new Map()),g(this,_0x42c5bb(0x2ce),!0x1),(this[_0x42c5bb(0x18b)]=_0x2e39d4,this[_0x42c5bb(0x11c)]=_0x5e94df,this['_beforeCloseService']=_0xee6860,this['_localeService']=_0x3e82ea,this[_0x42c5bb(0x446)]=_0x578807,this[_0x42c5bb(0xb5)]());}[_0x159fb9(0x2bc)](){const _0x5c8b5e=_0x159fb9;this[_0x5c8b5e(0x2ce)]=!0x0;}[_0x159fb9(0xd9)](){const _0x5a5639=_0x159fb9;this[_0x5a5639(0x2ce)]=!0x1;}['dispose'](){const _0x5894da=_0x159fb9;this[_0x5894da(0x379)]()[_0x5894da(0x171)](()=>super[_0x5894da(0xda)]());}async['loadOfflineData'](_0x226b5e){const _0x45dcf8=_0x159fb9;return this[_0x45dcf8(0x2ce)]?null:this[_0x45dcf8(0x11c)][_0x45dcf8(0x159)](Bs(_0x226b5e));}async['saveOfflineData'](_0x1b96ba,_0x36eed0){const _0x38b375=_0x159fb9;return!!this[_0x38b375(0x11c)][_0x38b375(0x3f8)](_0x1b96ba,_0x36eed0);}[_0x159fb9(0x3ed)](_0x5f0f6b,_0x29a3a1,_0x135251,_0x117fae){const _0x443bf3=_0x159fb9,_0x23b15c=this['_revisionService'][_0x443bf3(0x257)](_0x5f0f6b);this['_cachedData'][_0x443bf3(0x3d3)](_0x5f0f6b,{'unitID':_0x5f0f6b,'type':_0x29a3a1,'awaitingChangeset':_0x135251,'mutations':_0x117fae,'rev':_0x23b15c}),this['_saveTaskMap'][_0x443bf3(0x375)](_0x5f0f6b)||this['_scheduleSaving'](_0x5f0f6b);}[_0x159fb9(0x362)](_0x1e5422){const _0x47d4d5=_0x159fb9,_0x4122bd=this['_getSaveTimeout']();_0x4122bd===0x0?this[_0x47d4d5(0x2ae)](_0x1e5422):this[_0x47d4d5(0x411)][_0x47d4d5(0x3d3)](_0x1e5422,setTimeout(()=>this['_saveCache'](_0x1e5422),_0x4122bd));}[_0x159fb9(0x462)](){const _0x304b62=_0x159fb9;var _0x147cc4;return(_0x147cc4=this[_0x304b62(0x18b)][_0x304b62(0x2e1)](mr))!=null?_0x147cc4:pr;}[_0x159fb9(0x2ae)](_0x494410){const _0x13c19b=_0x159fb9,_0x46ad19=this[_0x13c19b(0x411)][_0x13c19b(0x413)](_0x494410);return _0x46ad19!==void 0x0&&window[_0x13c19b(0x294)](_0x46ad19),this['_localStorageService'][_0x13c19b(0x3f8)](Bs(_0x494410),this[_0x13c19b(0x3b1)][_0x13c19b(0x413)](_0x494410))['then'](()=>this[_0x13c19b(0x411)][_0x13c19b(0x24e)](_0x494410));}async[_0x159fb9(0x379)](){const _0x23e461=_0x159fb9,_0x1bed42=[];this[_0x23e461(0x411)][_0x23e461(0x30e)]((_0xbe10b1,_0x315627)=>{const _0x172714=_0x23e461;window['clearTimeout'](_0xbe10b1),_0x1bed42['push'](this[_0x172714(0x2ae)](_0x315627)[_0x172714(0x171)](()=>{const _0xeca93a=_0x172714;this[_0xeca93a(0x411)][_0xeca93a(0x24e)](_0x315627);}));}),await Promise[_0x23e461(0x358)](_0x1bed42);}['_setupBeforeClosingHandler'](){const _0x58b225=_0x159fb9;this['disposeWithMe'](this[_0x58b225(0x3fc)]['registerBeforeClose'](()=>{const _0xa52bbc=_0x58b225;if(this[_0xa52bbc(0x411)]['size'])return this[_0xa52bbc(0xc8)]['t']('collaboration-client.offline-data-not-saved');}));}};q=Jr([Xe(0x0,_0x3ade87),Xe(0x1,_0x2d0198),Xe(0x2,_0xb2b56d),Xe(0x3,_0x3e8773(_0x51cff0)),Xe(0x4,_0x3e8773(_0x2cef54))],q);function Bs(_0x460991){const _0x31ae85=_0x159fb9;return _0x31ae85(0xbe)+_0x460991;}var Zr=Object['defineProperty'],Qr=Object[_0x159fb9(0x37a)],eo=(_0x27de05,_0x51ba17,_0x20c0f8,_0x53a6a2)=>{for(var _0x4ff5a4=_0x53a6a2>0x1?void 0x0:_0x53a6a2?Qr(_0x51ba17,_0x20c0f8):_0x51ba17,_0x2caa6a=_0x27de05['length']-0x1,_0x2da3b1;_0x2caa6a>=0x0;_0x2caa6a--)(_0x2da3b1=_0x27de05[_0x2caa6a])&&(_0x4ff5a4=(_0x53a6a2?_0x2da3b1(_0x51ba17,_0x20c0f8,_0x4ff5a4):_0x2da3b1(_0x4ff5a4))||_0x4ff5a4);return _0x53a6a2&&_0x4ff5a4&&Zr(_0x51ba17,_0x20c0f8,_0x4ff5a4),_0x4ff5a4;},Mt=(_0x2a17a6,_0x5e6633)=>(_0x2424e2,_0x182afd)=>_0x5e6633(_0x2424e2,_0x182afd,_0x2a17a6);function to(_0x3dc4e8){const _0xabf6a6=_0x159fb9,{unitID:_0x5512e6,mutations:_0x2baa32}=_0x3dc4e8;return{'unitId':_0x5512e6,'subUnitId':_0x2baa32[0x0][_0xabf6a6(0x11b)][_0xabf6a6(0x3b4)]};}let mt=class{constructor(_0x56c8a5,_0x3f64d6,_0x17f07b){const _0x44d340=_0x159fb9;this[_0x44d340(0x1d9)]=_0x56c8a5,this[_0x44d340(0x1a9)]=_0x3f64d6,this['_instanceService']=_0x17f07b;}[_0x159fb9(0x2cd)](_0x56ec8b){const _0x3133b1=_0x159fb9;var _0x1dbfbb,_0x3a65d6,_0x12c4e0,_0x32881a;const _0x3a474e=this[_0x3133b1(0x1d9)][_0x3133b1(0x413)](_0x4d7738),{unitId:_0x72bd5,subUnitId:_0x1860f1}=to(_0x56ec8b),_0x221b54=_0x3a474e[_0x3133b1(0x2f5)](_0x72bd5)[_0x3133b1(0x406)](),_0x3cba97=(_0x3a65d6=(_0x1dbfbb=this[_0x3133b1(0x2d3)][_0x3133b1(0x340)](_0x72bd5))==null?void 0x0:_0x1dbfbb['getActiveSheet']())==null?void 0x0:_0x3a65d6[_0x3133b1(0xc7)]();if(_0x221b54[_0x3133b1(0x3e5)]===0x0||!_0x72bd5||!_0x1860f1)return;const _0x579965=[{'id':_0x34fe8d['id'],'params':{'unitId':_0x72bd5,'subUnitId':_0x3cba97,'selections':_0x26d13d['deepClone'](_0x221b54)}}],_0xa11a9e=this[_0x3133b1(0x1a9)][_0x3133b1(0x17b)](_0x56ec8b,_0x579965);if(!_0x426291(_0xa11a9e))throw _0xa11a9e['error'];const _0x38d86c=(_0x32881a=(_0x12c4e0=_0xa11a9e[_0x3133b1(0x12a)][0x0])==null?void 0x0:_0x12c4e0['params'])==null?void 0x0:_0x32881a[_0x3133b1(0x22b)];if(Array[_0x3133b1(0x126)](_0x38d86c)&&_0x38d86c[_0x3133b1(0x3e5)]){if(_0x38d86c[_0x3133b1(0x3e5)]===_0x579965[0x0][_0x3133b1(0x11b)][_0x3133b1(0x22b)][_0x3133b1(0x3e5)]&&_0x38d86c[_0x3133b1(0x181)]((_0x4db461,_0x28812a)=>_0x1635b8[_0x3133b1(0x4a1)](_0x4db461[_0x3133b1(0xc0)],_0x579965[0x0][_0x3133b1(0x11b)][_0x3133b1(0x22b)][_0x28812a]['range'])))return;this['_injector']['get'](_0x1bd495)[_0x3133b1(0xeb)](_0x34fe8d['id'],{'unitId':_0x72bd5,'subUnitId':_0x3cba97,'selections':_0x38d86c});}}};mt=eo([Mt(0x0,_0x3e8773(_0x3371c0)),Mt(0x1,_0x1c07b8),Mt(0x2,_0x40ba52)],mt);const yt=_0x12029c(_0x159fb9(0x1ae));var Di=(_0x40766a=>(_0x40766a[_0x40766a[_0x159fb9(0x347)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x40766a[_0x40766a[_0x159fb9(0x23e)]=0x1]=_0x159fb9(0x23e),_0x40766a))(Di||{});const ks=0x7530,Ws='ACTIVE_UNIT_EVENT_CHANNEL';class so extends _0x10d2e7{constructor(){const _0x3c2129=_0x159fb9;super(),g(this,_0x3c2129(0x128),_0x26d13d['generateRandomId']()),g(this,_0x3c2129(0x396),new Set()),g(this,_0x3c2129(0x2be),new Map()),g(this,_0x3c2129(0x3c6),null),g(this,_0x3c2129(0x344),new Map()),g(this,_0x3c2129(0x2ac),new Map()),this[_0x3c2129(0x3a1)]();}[_0x159fb9(0xda)](){const _0x4be9e1=_0x159fb9;super[_0x4be9e1(0xda)](),this[_0x4be9e1(0x344)][_0x4be9e1(0x30e)]((_0x422927,_0x380eec)=>this['_removeClearOtherTimer'](_0x380eec)),this[_0x4be9e1(0x3c6)]&&window[_0x4be9e1(0x28b)](this[_0x4be9e1(0x3c6)]);}[_0x159fb9(0x127)](_0x3d049b){const _0x588929=_0x159fb9;return this[_0x588929(0x387)](_0x3d049b)['pipe'](_0x55352a());}[_0x159fb9(0x361)](_0x590666){const _0x2fc90f=_0x159fb9;this[_0x2fc90f(0x396)][_0x2fc90f(0x1d3)]===0x0&&this[_0x2fc90f(0x325)](),this[_0x2fc90f(0x396)][_0x2fc90f(0x342)](_0x590666),this[_0x2fc90f(0x285)]({'type':0x0,'memberID':this[_0x2fc90f(0x128)],'unitIDs':[_0x590666],'isForwarded':!0x1});}[_0x159fb9(0x385)](_0x4b09d3){const _0x12a2a7=_0x159fb9;this['_selfUnitIDs'][_0x12a2a7(0x24e)](_0x4b09d3),this[_0x12a2a7(0x396)][_0x12a2a7(0x1d3)]===0x0&&this[_0x12a2a7(0x3c6)]&&window['clearInterval'](this[_0x12a2a7(0x3c6)]);}[_0x159fb9(0x3a1)](){const _0x3a33c3=_0x159fb9;this[_0x3a33c3(0x2e7)](_0x3f9d32(_0x55c3c6(window,_0x3a33c3(0x21e))[_0x3a33c3(0x2fd)](_0x55c232=>{const _0x3d7440=_0x3a33c3;if(_0x55c232[_0x3d7440(0x169)]!==Ws||!_0x55c232[_0x3d7440(0x239)])return;const _0x4a699c=JSON[_0x3d7440(0x3c4)](_0x55c232[_0x3d7440(0x239)]);this[_0x3d7440(0x400)](_0x4a699c);}))),window[_0x3a33c3(0x16c)](_0x3a33c3(0x367),()=>this['_send']({'type':0x1,'memberID':this[_0x3a33c3(0x128)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}[_0x159fb9(0x400)](_0x4283c5){const _0x292a21=_0x159fb9;switch(_0x4283c5[_0x292a21(0xab)]){case 0x0:this[_0x292a21(0x2fb)](_0x4283c5);break;case 0x1:this[_0x292a21(0x1f4)](_0x4283c5);break;case 0x2:this[_0x292a21(0x2e5)](_0x4283c5);break;}}[_0x159fb9(0x2fb)](_0xe1a60f){const _0xf47396=_0x159fb9,{unitIDs:_0x2b4269,memberID:_0x258e2b,isForwarded:_0x3437e7}=_0xe1a60f;_0x2b4269['forEach'](_0x1c0f10=>{const _0x1ae813=_0x4457;if(!_0x3437e7&&this['_unitOnClients'][_0x1ae813(0x375)](_0x1c0f10)&&this['_ensureSubject'](_0x1c0f10)['next'](0x1),!this['_unitOnClients'][_0x1ae813(0x375)](_0x1c0f10)||!this['_unitOnClients'][_0x1ae813(0x413)](_0x1c0f10)['has'](_0x258e2b)){const _0x5d1aa5=this[_0x1ae813(0x2be)][_0x1ae813(0x413)](_0x1c0f10)||new Set();_0x5d1aa5[_0x1ae813(0x342)](_0x258e2b),this[_0x1ae813(0x2be)]['set'](_0x1c0f10,_0x5d1aa5),this[_0x1ae813(0x154)](_0x258e2b);}}),_0x3437e7||this[_0xf47396(0x285)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x159fb9(0x154)](_0x2d4f6c){const _0x35d133=_0x159fb9;this[_0x35d133(0x312)](_0x2d4f6c);const _0x271e2c=window[_0x35d133(0x383)](()=>{const _0x3b9c2e=_0x35d133;this[_0x3b9c2e(0x2be)]['forEach'](_0xbb363f=>{const _0x50a7f7=_0x3b9c2e;_0xbb363f[_0x50a7f7(0x24e)](_0x2d4f6c);});},ks*0x2);this[_0x35d133(0x344)][_0x35d133(0x3d3)](_0x2d4f6c,_0x271e2c);}['_removeClearOtherTimer'](_0x3176fb){const _0x570093=_0x159fb9;if(this['_clearOtherTimers'][_0x570093(0x375)](_0x3176fb)){const _0x45237b=this['_clearOtherTimers'][_0x570093(0x413)](_0x3176fb);_0x45237b&&window['clearTimeout'](_0x45237b),this[_0x570093(0x344)][_0x570093(0x3d3)](_0x3176fb,null);}}[_0x159fb9(0x1f4)](_0x58200b){const _0x423945=_0x159fb9,{memberID:_0x3e6a90,unitIDs:_0x2348b0}=_0x58200b;_0x2348b0[_0x423945(0x30e)](_0x30aa8c=>{const _0x24ee5e=_0x423945;var _0x5eaf18;const _0x122838=this[_0x24ee5e(0x2be)]['get'](_0x30aa8c);_0x122838&&(_0x122838['delete'](_0x3e6a90),(_0x5eaf18=this[_0x24ee5e(0x387)](_0x30aa8c))==null||_0x5eaf18[_0x24ee5e(0x22f)](_0x122838[_0x24ee5e(0x1d3)]===0x0?0x0:0x1));}),this[_0x423945(0x312)](_0x3e6a90);}[_0x159fb9(0x2e5)](_0x360111){this['_scheduleClearOtherTimer'](_0x360111['memberID']);}[_0x159fb9(0x285)](_0x4806a4){const _0x90341c=_0x159fb9;localStorage[_0x90341c(0x3f8)](Ws,JSON[_0x90341c(0x25e)](_0x4806a4));}[_0x159fb9(0x325)](){const _0x193bc9=_0x159fb9;this[_0x193bc9(0x3c6)]=window['setInterval'](()=>{const _0x3b7b94=_0x193bc9;this[_0x3b7b94(0x285)]({'type':0x2,'memberID':this[_0x3b7b94(0x128)]});},ks);}[_0x159fb9(0x387)](_0x210856){const _0x19b74b=_0x159fb9;return this[_0x19b74b(0x2ac)][_0x19b74b(0x375)](_0x210856)||this['_unitStatus'][_0x19b74b(0x3d3)](_0x210856,new _0x4cf3b1(0x0)),this[_0x19b74b(0x2ac)][_0x19b74b(0x413)](_0x210856);}}var io=Object[_0x159fb9(0xcf)],no=Object[_0x159fb9(0x37a)],ro=(_0x5f4a73,_0x34d3b5,_0x16a43e,_0x47d764)=>{const _0x50b639=_0x159fb9;for(var _0x17684e=_0x47d764>0x1?void 0x0:_0x47d764?no(_0x34d3b5,_0x16a43e):_0x34d3b5,_0x45891a=_0x5f4a73[_0x50b639(0x3e5)]-0x1,_0x5c1555;_0x45891a>=0x0;_0x45891a--)(_0x5c1555=_0x5f4a73[_0x45891a])&&(_0x17684e=(_0x47d764?_0x5c1555(_0x34d3b5,_0x16a43e,_0x17684e):_0x5c1555(_0x17684e))||_0x17684e);return _0x47d764&&_0x17684e&&io(_0x34d3b5,_0x16a43e,_0x17684e),_0x17684e;},xt=(_0x4554c2,_0x9fcec0)=>(_0xcce685,_0x473de2)=>_0x9fcec0(_0xcce685,_0x473de2,_0x4554c2);let pt=class{constructor(_0x258732,_0x12fc66,_0x15c397){const _0x5a14f0=_0x159fb9;this['_injector']=_0x258732,this[_0x5a14f0(0x1a9)]=_0x12fc66,this['_docStateChangeManagerService']=_0x15c397;}[_0x159fb9(0xf0)](_0x446620){const _0xaed749=_0x159fb9;this[_0xaed749(0x1b6)](_0x446620);}[_0x159fb9(0x434)](_0x3323c8){const _0x86604c=_0x159fb9,{unitID:_0x10158e}=_0x3323c8,{collaboration:_0x2f51a3}=this['_docStateChangeManagerService'][_0x86604c(0x403)](_0x10158e);if(_0x2f51a3[_0x86604c(0x3e5)]===0x0)return _0x3323c8;let _0x2f246a=_0x26d13d['deepClone'](_0x3323c8['mutations'][0x0]);for(let _0x3e5614=0x0;_0x3e5614<_0x2f51a3[_0x86604c(0x3e5)];_0x3e5614++){const _0x3dbbf2={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2f51a3[_0x3e5614][_0x86604c(0x235)],..._0x2f51a3[_0x3e5614][_0x86604c(0x230)]}},_0x31de20=this[_0x86604c(0x1a9)][_0x86604c(0x29c)](_0x2f246a,_0x3dbbf2,!0x1);if(_0x490f82(_0x31de20))throw _0x31de20[_0x86604c(0x441)];_0x2f246a=_0x31de20[_0x86604c(0x217)];}return{..._0x26d13d[_0x86604c(0x272)](_0x3323c8),'mutations':[_0x2f246a]};}[_0x159fb9(0x1b6)](_0x4cc2ca){const _0x2e5049=_0x159fb9,{unitID:_0x23ea04}=_0x4cc2ca,{history:_0x517249,collaboration:_0x30b011}=this[_0x2e5049(0x27a)][_0x2e5049(0x403)](_0x23ea04);if(_0x517249[_0x2e5049(0x3e5)]===0x0&&_0x30b011[_0x2e5049(0x3e5)]===0x0)return;const _0x420e18=[],_0x9f5ec8=[];let _0x369356=_0x26d13d['deepClone'](_0x4cc2ca[_0x2e5049(0x29f)][0x0]),_0x303658=_0x26d13d[_0x2e5049(0x272)](_0x4cc2ca[_0x2e5049(0x29f)][0x0]);for(let _0xb0ebd2=_0x517249[_0x2e5049(0x3e5)]-0x1;_0xb0ebd2>=0x0;_0xb0ebd2--){const _0x5f2676={'id':_0x2e5049(0xdd),'params':{'unitId':_0x517249[_0xb0ebd2][_0x2e5049(0x235)],..._0x517249[_0xb0ebd2][_0x2e5049(0x1f9)]}},_0x1beb30={'id':_0x2e5049(0xdd),'params':{'unitId':_0x517249[_0xb0ebd2]['unitId'],..._0x517249[_0xb0ebd2][_0x2e5049(0x230)]}},_0x1b0ad9=this[_0x2e5049(0x1a9)][_0x2e5049(0x29c)](_0x369356,_0x5f2676,!0x1),_0x2376b7=this[_0x2e5049(0x1a9)][_0x2e5049(0x29c)](_0x303658,_0x1beb30,!0x1);if(_0x490f82(_0x1b0ad9))throw _0x1b0ad9[_0x2e5049(0x441)];if(_0x490f82(_0x2376b7))throw _0x2376b7[_0x2e5049(0x441)];_0x420e18[_0x2e5049(0x3d7)]({..._0x517249[_0xb0ebd2],'undoState':_0x1b0ad9['m2Prime'][_0x2e5049(0x11b)],'redoState':_0x2376b7[_0x2e5049(0x12a)][_0x2e5049(0x11b)]}),_0x369356=_0x1b0ad9[_0x2e5049(0x217)],_0x303658=_0x2376b7[_0x2e5049(0x217)];}_0x369356=_0x26d13d[_0x2e5049(0x272)](_0x4cc2ca['mutations'][0x0]),_0x303658=_0x26d13d[_0x2e5049(0x272)](_0x4cc2ca[_0x2e5049(0x29f)][0x0]);for(let _0x2c42b3=_0x30b011[_0x2e5049(0x3e5)]-0x1;_0x2c42b3>=0x0;_0x2c42b3--){const _0x184ea5={'id':_0x2e5049(0xdd),'params':{'unitId':_0x30b011[_0x2c42b3][_0x2e5049(0x235)],..._0x30b011[_0x2c42b3][_0x2e5049(0x1f9)]}},_0x469447={'id':_0x2e5049(0xdd),'params':{'unitId':_0x30b011[_0x2c42b3]['unitId'],..._0x30b011[_0x2c42b3][_0x2e5049(0x230)]}},_0x4ea33c=this[_0x2e5049(0x1a9)][_0x2e5049(0x29c)](_0x369356,_0x184ea5,!0x1),_0x632796=this[_0x2e5049(0x1a9)][_0x2e5049(0x29c)](_0x303658,_0x469447,!0x1);if(_0x490f82(_0x4ea33c))throw _0x4ea33c['error'];if(_0x490f82(_0x632796))throw _0x632796[_0x2e5049(0x441)];_0x9f5ec8[_0x2e5049(0x3d7)]({..._0x30b011[_0x2c42b3],'undoState':_0x4ea33c['m2Prime'][_0x2e5049(0x11b)],'redoState':_0x632796[_0x2e5049(0x12a)]['params']}),_0x369356=_0x4ea33c[_0x2e5049(0x217)],_0x303658=_0x632796['m1Prime'];}this[_0x2e5049(0x27a)][_0x2e5049(0xb6)](_0x23ea04,{'history':_0x420e18,'collaboration':_0x9f5ec8});}};pt=ro([xt(0x0,_0x3e8773(_0x3371c0)),xt(0x1,_0x1c07b8),xt(0x2,_0x3e8773(_0x4f127d))],pt);function Pi(_0x1d6dae){const _0x5b1875=_0x159fb9;let _0x26f5de='';for(const _0xf68e56 of _0x1d6dae){const {startOffset:_0x17a757,endOffset:_0xc6ebf4,isActive:_0x1f4bb9,rangeType:_0x2f105e,segmentId:_0xbd65a,segmentPage:_0x16c9a5}=_0xf68e56;_0x26f5de[_0x5b1875(0x3e5)]&&(_0x26f5de+=','),_0x26f5de+=_0x17a757+':'+_0xc6ebf4+':'+(_0x1f4bb9?'1':'0')+':'+_0x2f105e+':'+_0xbd65a+':'+_0x16c9a5;}return _0x26f5de;}function oo(_0x1cf484){const _0x5f5868=_0x159fb9,_0x549217=_0x1cf484['split'](','),_0x535513=[];for(const _0x3755b2 of _0x549217){const [_0x94e6ce,_0x3b719c,_0x55e44f,_0x50ff82,_0x462351,_0x294965]=_0x3755b2[_0x5f5868(0x435)](':');_0x535513['push']({'startOffset':Number(_0x94e6ce),'endOffset':Number(_0x3b719c),'collapsed':_0x94e6ce===_0x3b719c,'isActive':_0x55e44f==='1','rangeType':_0x50ff82===_0x4b8239[_0x5f5868(0x2ec)]?_0x4b8239[_0x5f5868(0x2ec)]:_0x4b8239[_0x5f5868(0x229)],'segmentId':typeof _0x462351==_0x5f5868(0xde)?String(_0x462351):'','segmentPage':Number(_0x294965!=null?_0x294965:-0x1)});}return _0x535513[_0x5f5868(0x156)](_0x33f4d7=>_0x33f4d7[_0x5f5868(0x12c)])||(_0x535513[0x0][_0x5f5868(0x12c)]=!0x0),_0x535513;}class Cs extends _0x7d7f86{constructor(){const _0x1bb7ee=_0x159fb9;super(...arguments),g(this,_0x1bb7ee(0x437),new _0x4cf3b1(null)),g(this,_0x1bb7ee(0x19f),this['_collabCursorState$'][_0x1bb7ee(0x118)]());}[_0x159fb9(0x372)](_0x390c66){const _0x46df01=_0x159fb9,{unitID:_0x54d044,memberID:_0x14d898,textRanges:_0x289669}=_0x390c66,_0x143313=Pi(_0x289669);if(_0x143313==='')return;const _0x1933b7={'unitID':_0x54d044,'memberID':_0x14d898,'selection':_0x143313};this[_0x46df01(0x437)][_0x46df01(0x22f)](_0x1933b7);}}var ao=Object['defineProperty'],co=Object[_0x159fb9(0x37a)],ho=(_0x1b0e90,_0x1c1cc0,_0x346107,_0x397ebd)=>{for(var _0x4eebb5=_0x397ebd>0x1?void 0x0:_0x397ebd?co(_0x1c1cc0,_0x346107):_0x1c1cc0,_0x5b19e8=_0x1b0e90['length']-0x1,_0x2612a8;_0x5b19e8>=0x0;_0x5b19e8--)(_0x2612a8=_0x1b0e90[_0x5b19e8])&&(_0x4eebb5=(_0x397ebd?_0x2612a8(_0x1c1cc0,_0x346107,_0x4eebb5):_0x2612a8(_0x4eebb5))||_0x4eebb5);return _0x397ebd&&_0x4eebb5&&ao(_0x1c1cc0,_0x346107,_0x4eebb5),_0x4eebb5;},Fs=(_0x2fdb6a,_0x3955f2)=>(_0x4faf02,_0x3be67e)=>_0x3955f2(_0x4faf02,_0x3be67e,_0x2fdb6a);let gt=class{constructor(_0x1a1d7b,_0x2507d8){const _0x54663a=_0x159fb9;this[_0x54663a(0x1d9)]=_0x1a1d7b,this[_0x54663a(0x1a9)]=_0x2507d8;}['transformSelections'](_0x5d577f){const _0x644a52=_0x159fb9;var _0x257326;const _0x33cfce=this[_0x644a52(0x1d9)]['get'](_0xa56c0),_0x2b9639=(_0x257326=_0x33cfce[_0x644a52(0x37f)]())!=null?_0x257326:[];if(_0x2b9639[_0x644a52(0x3e5)]===0x0)return;const _0x74925e=[{'id':_0x644a52(0xdd),'params':{'unitId':_0x5d577f[_0x644a52(0x1bc)],'actions':null,'textRanges':_0x2b9639}}],_0x2ea28a=this[_0x644a52(0x1a9)][_0x644a52(0x17b)](_0x5d577f,_0x74925e);if(!_0x426291(_0x2ea28a))throw _0x2ea28a[_0x644a52(0x441)];const _0x1ea781=_0x2ea28a[_0x644a52(0x12a)][0x0][_0x644a52(0x11b)][_0x644a52(0x240)];Array[_0x644a52(0x126)](_0x1ea781)&&_0x1ea781[_0x644a52(0x3e5)]&&_0x33cfce[_0x644a52(0x172)](_0x1ea781,!0x1);}};gt=ho([Fs(0x0,_0x3e8773(_0x3371c0)),Fs(0x1,_0x1c07b8)],gt);const lo=new Set([_0x48aa52['id']]);function Vs(_0x4a65a2,_0x435744,_0x5048a2,_0x5447a4,_0x59e97d){const _0x556fcc=_0x159fb9;var _0x424c2c,_0x397be2,_0x4d25e5,_0x2da775;const _0x44b514=[];for(const _0x4234ba of _0x4a65a2)if(lo[_0x556fcc(0x375)](_0x4234ba['id'])){if(_0x44b514[_0x556fcc(0x3e5)]>0x0)break;_0x44b514[_0x556fcc(0x3c8)](_0x4234ba);break;}else _0x44b514[_0x556fcc(0x3c8)](_0x4234ba);const _0x3ce96b=(_0x397be2=(_0x424c2c=_0x59e97d[_0x556fcc(0x2d8)]())==null?void 0x0:_0x424c2c['userID'])!=null?_0x397be2:_0x556fcc(0x423),_0x22e62b=(_0x2da775=(_0x4d25e5=_0x59e97d[_0x556fcc(0x2d8)]())==null?void 0x0:_0x4d25e5[_0x556fcc(0x1fb)])!=null?_0x2da775:_0x556fcc(0x423);return{'changeset':{'unitID':_0x435744,'type':_0x1fb645(_0x5048a2['getUnitType'](_0x435744)),'baseRev':_0x5447a4['getCurrentRevOfUnit'](_0x435744),'revision':0x0,'userID':_0x3ce96b,'memberID':_0x22e62b,'mutations':_0x44b514},'pendingMutations':_0x4a65a2[_0x556fcc(0x438)](_0x44b514[_0x556fcc(0x3e5)])};}function _o(_0x38276c,_0x53a206,_0xbd078f,_0x37b788,_0xdb2d37){const _0x1c4ef7=_0x159fb9;var _0x2292b3,_0x3940da,_0x52e706,_0x253a14;const _0x4e970d=[_0x38276c[_0x1c4ef7(0x4a4)]((_0x4979db,_0x2720dd)=>{const _0x133927=_0x1c4ef7;var _0x12ccd4;const {id:_0x2f1f89}=_0x4979db,{id:_0x26f1e7,type:_0x31e5fe}=_0x2720dd,_0x3ef455=(_0x12ccd4=_0x4979db[_0x133927(0x11b)])!=null?_0x12ccd4:{'actions':null},_0x1f79f4=_0x2720dd['params'];if(_0x2f1f89&&_0x2f1f89!==_0x26f1e7)throw new Error(_0x133927(0x1e8)+_0x2f1f89+_0x133927(0x266)+_0x26f1e7+'.');return{..._0x4979db,'id':_0x26f1e7,'type':_0x31e5fe,'params':{'unitId':_0x1f79f4['unitId'],'textRanges':_0x1f79f4[_0x133927(0x240)],'actions':_0x30291a['compose'](_0x3ef455[_0x133927(0x124)],_0x1f79f4[_0x133927(0x124)])}};},{})],_0x1a944c=(_0x3940da=(_0x2292b3=_0xdb2d37['getCurrentUser']())==null?void 0x0:_0x2292b3[_0x1c4ef7(0x1fe)])!=null?_0x3940da:'unknown',_0x141964=(_0x253a14=(_0x52e706=_0xdb2d37[_0x1c4ef7(0x2d8)]())==null?void 0x0:_0x52e706[_0x1c4ef7(0x1fb)])!=null?_0x253a14:_0x1c4ef7(0x423);return{'changeset':{'unitID':_0x53a206,'type':_0x1fb645(_0xbd078f[_0x1c4ef7(0x2e4)](_0x53a206)),'baseRev':_0x37b788[_0x1c4ef7(0x257)](_0x53a206),'revision':0x0,'userID':_0x1a944c,'memberID':_0x141964,'mutations':_0x4e970d},'pendingMutations':[]};}function Ui(_0x2878cb,_0x250998){const _0x32c82a=_0x159fb9,_0x3cb72c=new _0x2eb69e(0x1);return setTimeout(()=>_0x3cb72c['next'](_0x250998),_0x2878cb),_0x3cb72c[_0x32c82a(0x118)]()[_0x32c82a(0x26b)](_0x4c54f0(0x1));}const uo={'id':_0x526131['id'],'type':_0x351b9b[_0x159fb9(0x2cc)],'params':{}};var fo=Object['defineProperty'],vo=Object[_0x159fb9(0x37a)],Le=(_0x1131a8,_0x1f19e2,_0x3da027,_0x38d712)=>{const _0x8a1e78=_0x159fb9;for(var _0x213e88=_0x38d712>0x1?void 0x0:_0x38d712?vo(_0x1f19e2,_0x3da027):_0x1f19e2,_0x506bc6=_0x1131a8[_0x8a1e78(0x3e5)]-0x1,_0x49584b;_0x506bc6>=0x0;_0x506bc6--)(_0x49584b=_0x1131a8[_0x506bc6])&&(_0x213e88=(_0x38d712?_0x49584b(_0x1f19e2,_0x3da027,_0x213e88):_0x49584b(_0x213e88))||_0x213e88);return _0x38d712&&_0x213e88&&fo(_0x1f19e2,_0x3da027,_0x213e88),_0x213e88;},A=(_0x1515a8,_0x32c497)=>(_0x2ed923,_0x5aeb41)=>_0x32c497(_0x2ed923,_0x5aeb41,_0x1515a8),J=(_0x5bb54b=>(_0x5bb54b[_0x159fb9(0x2d4)]=_0x159fb9(0x281),_0x5bb54b[_0x159fb9(0x22d)]=_0x159fb9(0x3bd),_0x5bb54b['PENDING']=_0x159fb9(0x4a6),_0x5bb54b[_0x159fb9(0x185)]=_0x159fb9(0x3b7),_0x5bb54b[_0x159fb9(0x32b)]=_0x159fb9(0x1fd),_0x5bb54b[_0x159fb9(0x29e)]='fetch_missing',_0x5bb54b[_0x159fb9(0xba)]=_0x159fb9(0x17e),_0x5bb54b[_0x159fb9(0x2e8)]=_0x159fb9(0x133),_0x5bb54b))(J||{});const Ni=0xea60;class $e{constructor(_0x36d854,_0x5f3759,_0x167b60,_0x3ef22f,_0x2c2d49,_0x1a841f,_0x118cd7,_0x332cd6,_0x41c4b3){const _0x48ee33=_0x159fb9;g(this,_0x48ee33(0x122),null),g(this,'_pendingMutations',[]),(this[_0x48ee33(0x1bc)]=_0x36d854,this['type']=_0x5f3759,this[_0x48ee33(0x3a3)]=_0x2c2d49,this[_0x48ee33(0x388)]=_0x1a841f,this[_0x48ee33(0x384)]=_0x118cd7,this[_0x48ee33(0x446)]=_0x332cd6,this[_0x48ee33(0x45f)]=_0x41c4b3,this[_0x48ee33(0x122)]=_0x167b60,this[_0x48ee33(0x142)]=_0x3ef22f);}['_checkMissing'](_0x1097de){const _0x42af34=_0x159fb9,_0x5e0e2=this[_0x42af34(0x446)]['getCurrentRevOfUnit'](this[_0x42af34(0x1bc)]);return _0x1097de[_0x42af34(0x324)]>_0x5e0e2+0x1?(this[_0x42af34(0x3a3)]['onMissingChangesets']({'from':_0x5e0e2,'to':_0x1097de['revision']-0x1}),!0x0):!0x1;}[_0x159fb9(0x386)](_0x3c6314){const _0x4e0a71=_0x159fb9;this[_0x4e0a71(0x384)][_0x4e0a71(0x222)](this['unitID'],_0x3c6314);}[_0x159fb9(0x313)](_0x1f29ef){const _0x158667=_0x159fb9;var _0x2ed372,_0x4efb44;(_0x4efb44=(_0x2ed372=this['_handler'])[_0x158667(0x402)])==null||_0x4efb44[_0x158667(0x45a)](_0x2ed372,_0x1f29ef);}[_0x159fb9(0x1c3)](_0x37daa8){const _0x12cce8=_0x159fb9;var _0x434420,_0x2c2478;return(_0x2c2478=(_0x434420=this[_0x12cce8(0x3a3)])[_0x12cce8(0x447)])==null?void 0x0:_0x2c2478[_0x12cce8(0x45a)](_0x434420,_0x37daa8);}[_0x159fb9(0x28e)](_0x4a04a7){const _0x1b45ad=_0x159fb9;var _0x296e9a,_0x1f0dfd;return(_0x1f0dfd=(_0x296e9a=this[_0x1b45ad(0x3a3)])[_0x1b45ad(0x320)])==null?void 0x0:_0x1f0dfd[_0x1b45ad(0x45a)](_0x296e9a,_0x4a04a7);}[_0x159fb9(0xc9)](_0x429529){const _0x2dda1b=_0x159fb9;var _0x212462,_0x4509bb,_0x2ec1ca;return(_0x2ec1ca=(_0x4509bb=(_0x212462=this['_handler'])[_0x2dda1b(0x123)])==null?void 0x0:_0x4509bb[_0x2dda1b(0x45a)](_0x212462,_0x429529))!=null?_0x2ec1ca:_0x429529;}[_0x159fb9(0x414)](_0x4bd4dd){const _0x3011d3=_0x159fb9;var _0x5dfee6,_0x1a8b5e,_0x11471b;return(_0x11471b=(_0x1a8b5e=(_0x5dfee6=this['_handler'])[_0x3011d3(0x197)])==null?void 0x0:_0x1a8b5e[_0x3011d3(0x45a)](_0x5dfee6,_0x4bd4dd))!=null?_0x11471b:_0x4bd4dd;}[_0x159fb9(0x489)](_0x306acc){const _0x50e5eb=_0x159fb9;var _0x541bd1,_0x5d3816;if(this['type']===ce['UNIVER_DOC']){const {unitID:_0x4f7c38,mutations:_0x2cae92,memberID:_0x3796a2}=_0x306acc,_0x58feee=_0x2cae92[0x0]['params'][_0x50e5eb(0x240)];Array[_0x50e5eb(0x126)](_0x58feee)&&_0x58feee[_0x50e5eb(0x3e5)]>0x0&&((_0x5d3816=(_0x541bd1=this[_0x50e5eb(0x3a3)])[_0x50e5eb(0x236)])==null||_0x5d3816[_0x50e5eb(0x45a)](_0x541bd1,{'unitID':_0x4f7c38,'memberID':_0x3796a2,'textRanges':_0x58feee}));}}[_0x159fb9(0x279)](){const _0x58e823=_0x159fb9;this[_0x58e823(0x45f)][_0x58e823(0x3ed)](this[_0x58e823(0x1bc)],this['type'],this[_0x58e823(0x122)],this[_0x58e823(0x142)]);}[_0x159fb9(0x376)](){const _0x5e7f94=_0x159fb9;return this['_revisionService'][_0x5e7f94(0x257)](this[_0x5e7f94(0x1bc)]);}[_0x159fb9(0x337)](){const _0xe1cfe7=_0x159fb9;this['_revisionService'][_0xe1cfe7(0xd1)](this['unitID']);}[_0x159fb9(0x3ec)](_0x15627c){const _0x3860f8=_0x159fb9;var _0x1916d0;let _0x1f00ae=this[_0x3860f8(0xc9)](_0x15627c);_0x1f00ae=this['_transformRemoteChangesetByStateCache'](_0x1f00ae);const _0x1aac4d=_0x4af945(_0x1f00ae[_0x3860f8(0x29f)],this[_0x3860f8(0x388)],{'fromCollab':!0x0});if(!_0x1aac4d[_0x3860f8(0x135)])throw _0x1aac4d[_0x3860f8(0x441)]instanceof Error?_0x1aac4d[_0x3860f8(0x441)]:new Error((_0x1916d0=_0x1aac4d[_0x3860f8(0x441)])!=null?_0x1916d0:_0x3860f8(0x12f));this[_0x3860f8(0x1c3)](_0x1f00ae),this['_transformStateCache'](_0x1f00ae),this['_transformUndoredo'](_0x15627c),this[_0x3860f8(0x313)](_0x1f00ae),this['_syncEditingCollabCursor'](_0x1f00ae),this['_incrementRevisionNumber']();}}let Fe=class extends $e{constructor(_0x1f10de,_0x545d74,_0x3c1a34,_0x287608,_0x55796c,_0x453681,_0x1ae762,_0x3d9d88,_0x12563c,_0x197502){const _0x38422b=_0x159fb9;super(_0x1f10de,_0x545d74,null,[],_0x3c1a34,_0x3d9d88,_0x1ae762,_0x287608,_0x55796c),g(this,'status',_0x38422b(0x3bd)),(this['_injector']=_0x453681,this[_0x38422b(0x461)]=_0x12563c,this['_transformService']=_0x197502);}[_0x159fb9(0x129)](_0x17be77){const _0x28951c=_0x159fb9,_0x3030c2=this['_injector']['createInstance'](pe,this['unitID'],this[_0x28951c(0xab)],[_0x17be77],this[_0x28951c(0x3a3)]);return _0x3030c2[_0x28951c(0x3b5)](),_0x3030c2[_0x28951c(0x279)](),_0x3030c2;}[_0x159fb9(0x1a3)](_0x53cb0c){const _0x1e2f34=_0x159fb9;if(this[_0x1e2f34(0x335)](_0x53cb0c))return this['_injector'][_0x1e2f34(0x3fb)](he,this['unitID'],this[_0x1e2f34(0xab)],null,[],null,[_0x53cb0c],this[_0x1e2f34(0x3a3)]);try{const _0x5a5cc9=this[_0x1e2f34(0x1a9)][_0x1e2f34(0x17b)](_0x53cb0c,[uo]);if(_0x426291(_0x5a5cc9)){const {c1Prime:_0x5d524b}=_0x5a5cc9;return this[_0x1e2f34(0x3ec)](_0x5d524b),this;}throw _0x5a5cc9[_0x1e2f34(0x441)];}catch(_0x10da81){return this[_0x1e2f34(0x461)][_0x1e2f34(0x441)](_0x10da81),this[_0x1e2f34(0x296)](!0x1);}}[_0x159fb9(0x296)](_0x477200){const _0x3f11d7=_0x159fb9;return this[_0x3f11d7(0x1d9)][_0x3f11d7(0x3fb)](Re,this[_0x3f11d7(0x1bc)],this[_0x3f11d7(0xab)],null,[],this[_0x3f11d7(0x3a3)],_0x477200);}[_0x159fb9(0x419)](){const _0x98db3f=_0x159fb9;throw new Error(_0x98db3f(0x2e9));}[_0x159fb9(0x146)](){const _0x531c73=_0x159fb9;throw new Error(_0x531c73(0x1a8));}[_0x159fb9(0x35d)](){return this;}[_0x159fb9(0x346)](){const _0x4586a1=_0x159fb9;return this[_0x4586a1(0x1d9)][_0x4586a1(0x3fb)](ye,this[_0x4586a1(0x1bc)],this[_0x4586a1(0xab)],null,[],this[_0x4586a1(0x3a3)]);}[_0x159fb9(0x326)](){return this;}[_0x159fb9(0x184)](){const _0x5c629a=_0x159fb9;throw new Error(_0x5c629a(0x494));}[_0x159fb9(0x4b1)](){const _0x258913=_0x159fb9,_0x229272=this[_0x258913(0x446)][_0x258913(0x257)](this[_0x258913(0x1bc)]);return this['_handler']['onMissingChangesets']({'from':_0x229272,'to':0x0}),this[_0x258913(0x1d9)]['createInstance'](he,this[_0x258913(0x1bc)],this[_0x258913(0xab)],null,[],null,[],this[_0x258913(0x3a3)]);}};Fe=Le([A(0x3,_0x3e8773(_0x2cef54)),A(0x4,_0x3e8773(q)),A(0x5,_0x3e8773(_0x3371c0)),A(0x6,_0x551c13),A(0x7,_0x1bd495),A(0x8,_0x3738e4),A(0x9,_0x1c07b8)],Fe);let pe=class extends $e{constructor(_0x5a14cd,_0x577ee8,_0x406a26,_0x3c7e9b,_0x24bfe4,_0x421266,_0x133dc7,_0x212d31,_0x2de84e,_0x3e5d50,_0x1113d1,_0x544839,_0x344f64,_0x1e9664){const _0x459eaf=_0x159fb9;super(_0x5a14cd,_0x577ee8,null,_0x406a26,_0x3c7e9b,_0x3e5d50,_0x1e9664,_0x421266,_0x133dc7),g(this,_0x459eaf(0x2c6),_0x459eaf(0x4a6)),g(this,_0x459eaf(0x2fe),null),g(this,_0x459eaf(0x351),null),(this[_0x459eaf(0x1d9)]=_0x24bfe4,this[_0x459eaf(0x41e)]=_0x212d31,this[_0x459eaf(0x461)]=_0x2de84e,this[_0x459eaf(0x18b)]=_0x1113d1,this['_transformService']=_0x544839,this[_0x459eaf(0x116)]=_0x344f64);}[_0x159fb9(0x129)](_0x315142){const _0xd6c4ad=_0x159fb9;return this[_0xd6c4ad(0x142)][_0xd6c4ad(0x3c8)](_0x315142),this[_0xd6c4ad(0x279)](),this;}[_0x159fb9(0x1a3)](_0x1cacb6){const _0x441f63=_0x159fb9;if(this[_0x441f63(0x335)](_0x1cacb6))return this[_0x441f63(0x2f1)](),this[_0x441f63(0x1d9)]['createInstance'](he,this[_0x441f63(0x1bc)],this['type'],null,this['_pendingMutations'],null,[_0x1cacb6],this['_handler']);try{const _0x1ce09f=this[_0x441f63(0x1a9)][_0x441f63(0x17b)](_0x1cacb6,this[_0x441f63(0x142)]);if(_0x426291(_0x1ce09f)){const {c1Prime:_0x260d00,m2Prime:_0x2935a6}=_0x1ce09f;this[_0x441f63(0x3ec)](_0x260d00);const _0x4d324e=this[_0x441f63(0x1d9)][_0x441f63(0x3fb)](pe,this[_0x441f63(0x1bc)],this[_0x441f63(0xab)],_0x2935a6,this['_handler']);return this[_0x441f63(0x2f1)](),_0x4d324e[_0x441f63(0x3b5)](this[_0x441f63(0x2fe)]?Math[_0x441f63(0x3dc)](0x0,new Date()['getTime']()-this['_scheduleTimestamp']):this[_0x441f63(0x218)]()),_0x4d324e;}throw _0x1ce09f['error'];}catch(_0x862a7){return this[_0x441f63(0x461)][_0x441f63(0x441)](_0x862a7),this[_0x441f63(0x296)](!0x1);}}[_0x159fb9(0x419)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x159fb9(0x146)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x159fb9(0x35d)](){return this;}['toggleOffline'](){const _0x539da9=_0x159fb9;return this['_clearScheduledTask'](),this[_0x539da9(0x1d9)][_0x539da9(0x3fb)](ye,this[_0x539da9(0x1bc)],this[_0x539da9(0xab)],null,this[_0x539da9(0x142)],this[_0x539da9(0x3a3)]);}[_0x159fb9(0x326)](){return this;}[_0x159fb9(0x3b5)](_0x448ddf){const _0x4a98ba=_0x159fb9,_0x39b054=_0x448ddf!=null?_0x448ddf:this[_0x4a98ba(0x218)]();this['_scheduleTimestamp']=new Date()[_0x4a98ba(0x261)](),this[_0x4a98ba(0x351)]=window[_0x4a98ba(0x383)](()=>{const _0x419869=_0x4a98ba;this[_0x419869(0x2f1)]();let _0x5ac3d7=null;switch(this[_0x419869(0xab)]){case ce[_0x419869(0x166)]:{_0x5ac3d7=Vs(this[_0x419869(0x142)],this['unitID'],this[_0x419869(0x116)],this[_0x419869(0x446)],this[_0x419869(0x41e)]);break;}case ce['UNIVER_DOC']:{this[_0x419869(0x142)][_0x419869(0x181)](_0x5aae99=>_0x5aae99['id']===_0xe026b8['id'])?_0x5ac3d7=_o(this['_pendingMutations'],this['unitID'],this[_0x419869(0x116)],this[_0x419869(0x446)],this[_0x419869(0x41e)]):_0x5ac3d7=Vs(this[_0x419869(0x142)],this[_0x419869(0x1bc)],this[_0x419869(0x116)],this[_0x419869(0x446)],this[_0x419869(0x41e)]);break;}default:throw new Error(_0x419869(0x187)+this['type']+_0x419869(0x26e));}const {changeset:_0xe84a5f,pendingMutations:_0x4b4209}=_0x5ac3d7;this['_handler'][_0x419869(0x201)](_0xe84a5f);const _0x388539=_0x4b4209[_0x419869(0x3e5)]?this[_0x419869(0x1d9)][_0x419869(0x3fb)](ge,this[_0x419869(0x1bc)],this[_0x419869(0xab)],_0xe84a5f,_0x4b4209,this[_0x419869(0x3a3)],void 0x0):this[_0x419869(0x1d9)][_0x419869(0x3fb)](Te,this[_0x419869(0x1bc)],this['type'],_0xe84a5f,this['_handler']);_0x388539['_updateLocalCache'](),this['_handler'][_0x419869(0x20e)](this,_0x388539);},_0x39b054);}[_0x159fb9(0x218)](){const _0x2387aa=_0x159fb9;var _0x165db9;const _0x331bb8=this[_0x2387aa(0x18b)]['getConfig'](ie);return(_0x165db9=_0x331bb8==null?void 0x0:_0x331bb8[_0x2387aa(0xea)])!=null?_0x165db9:cr;}[_0x159fb9(0x184)](){const _0x4247fd=_0x159fb9;throw new Error(_0x4247fd(0x3ba));}['_clearScheduledTask'](){this['_sendingTimer']!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}[_0x159fb9(0x296)](_0x1b844d){const _0x545e99=_0x159fb9;return this[_0x545e99(0x2f1)](),this[_0x545e99(0x1d9)][_0x545e99(0x3fb)](Re,this['unitID'],this[_0x545e99(0xab)],null,this['_pendingMutations'],this[_0x545e99(0x3a3)],_0x1b844d);}};pe=Le([A(0x4,_0x3e8773(_0x3371c0)),A(0x5,_0x3e8773(_0x2cef54)),A(0x6,_0x3e8773(q)),A(0x7,_0x3e8773(Ne)),A(0x8,_0x3738e4),A(0x9,_0x1bd495),A(0xa,_0x3ade87),A(0xb,_0x1c07b8),A(0xc,_0x40ba52),A(0xd,_0x551c13)],pe);let Te=class extends $e{constructor(_0x1ae764,_0x12c9f9,_0x3bcd9f,_0x4d68fe,_0x56f6ec,_0xd3a8a2,_0x33a447,_0x24e3ee,_0x4fd0fc,_0x11ddd3,_0x43db0b){const _0x4e8b5c=_0x159fb9;super(_0x1ae764,_0x12c9f9,_0x3bcd9f,[],_0x4d68fe,_0x24e3ee,_0x43db0b,_0xd3a8a2,_0x33a447),g(this,_0x4e8b5c(0x2c6),'awaiting'),g(this,_0x4e8b5c(0x1ba),0x0),g(this,_0x4e8b5c(0x209)),g(this,_0x4e8b5c(0x482)),(this[_0x4e8b5c(0x1d9)]=_0x56f6ec,this[_0x4e8b5c(0x461)]=_0x4fd0fc,this[_0x4e8b5c(0x1a9)]=_0x11ddd3);}[_0x159fb9(0x129)](_0x28bf80){const _0x214750=_0x159fb9;this[_0x214750(0x2f1)]();const _0x3d1779=this[_0x214750(0x1d9)][_0x214750(0x3fb)](ge,this[_0x214750(0x1bc)],this[_0x214750(0xab)],this[_0x214750(0x122)],[_0x28bf80],this[_0x214750(0x3a3)],this[_0x214750(0x209)]);return _0x3d1779[_0x214750(0x279)](),_0x3d1779;}[_0x159fb9(0x1a3)](_0x3328c8){const _0x95c003=_0x159fb9;if(this[_0x95c003(0x335)](_0x3328c8))return this[_0x95c003(0x2f1)](),this[_0x95c003(0x1d9)]['createInstance'](he,this['unitID'],this[_0x95c003(0xab)],this[_0x95c003(0x122)],[],null,[_0x3328c8],this[_0x95c003(0x3a3)]);try{const _0x45e446=this[_0x95c003(0x1a9)][_0x95c003(0x10e)]([_0x3328c8],[this[_0x95c003(0x122)]],!0x1);if(_0x29cde1(_0x45e446)){const {c1Prime:_0x5e9109,c2Prime:_0x717aa7}=_0x45e446;this[_0x95c003(0x3ec)](_0x5e9109[0x0]),_0x717aa7[0x0][_0x95c003(0x17d)]=this[_0x95c003(0x376)](),this[_0x95c003(0x2f1)]();const _0x5522f8=this[_0x95c003(0x1d9)][_0x95c003(0x3fb)](Te,this[_0x95c003(0x1bc)],this[_0x95c003(0xab)],_0x717aa7[0x0],this[_0x95c003(0x3a3)]);return _0x5522f8[_0x95c003(0x279)](),_0x5522f8;}return this[_0x95c003(0x296)](!0x1);}catch(_0x52f576){return this[_0x95c003(0x461)]['error'](_0x52f576),this[_0x95c003(0x296)](!0x1);}}[_0x159fb9(0x419)](_0x3d33ac){const _0x5e5283=_0x159fb9;this[_0x5e5283(0x2f1)]();const _0x49dde3=this['_revisionService'][_0x5e5283(0x257)](this[_0x5e5283(0x1bc)]);if(_0x3d33ac['revision']<_0x49dde3-0x1)return this;if(this['_checkMissing'](_0x3d33ac))return this['_injector'][_0x5e5283(0x3fb)](he,this[_0x5e5283(0x1bc)],this[_0x5e5283(0xab)],null,[],this[_0x5e5283(0x122)],[],this[_0x5e5283(0x3a3)]);this[_0x5e5283(0x337)]();const _0x38a658=this[_0x5e5283(0x1d9)]['createInstance'](Fe,this['unitID'],this[_0x5e5283(0xab)],this[_0x5e5283(0x3a3)]);return _0x38a658['_updateLocalCache'](),_0x38a658;}[_0x159fb9(0x146)](_0x5ce550){const _0x1a6119=_0x159fb9;return this[_0x1a6119(0x296)](!!(_0x5ce550!=null&&_0x5ce550[_0x1a6119(0x32a)]));}[_0x159fb9(0x35d)](_0x3288ce){const _0x4ff8d7=_0x159fb9;return this[_0x4ff8d7(0x1ba)]>Ni?this['toggleOffline']():(this[_0x4ff8d7(0x209)]=Ui(this[_0x4ff8d7(0x1ba)],{'timeout':this[_0x4ff8d7(0x1ba)],'reqId':_0x3288ce['reqId']}),this['_sender']=this[_0x4ff8d7(0x209)][_0x4ff8d7(0x2fd)](({reqId:_0x38b41e,timeout:_0x3bb4f2})=>{const _0x581ecf=_0x4ff8d7;this[_0x581ecf(0x288)](_0x38b41e,_0x3bb4f2);}),this);}[_0x159fb9(0x346)](){const _0x5395e1=_0x159fb9;return this['_clearScheduledTask'](),this['_injector']['createInstance'](ye,this['unitID'],this[_0x5395e1(0xab)],this[_0x5395e1(0x122)],[],this[_0x5395e1(0x3a3)]);}[_0x159fb9(0x326)](){return this;}[_0x159fb9(0x184)](){const _0x17c7b2=_0x159fb9;this[_0x17c7b2(0x3a3)][_0x17c7b2(0x201)](this['_awaitingChangeset']);}[_0x159fb9(0x296)](_0x52ec7a){const _0x509412=_0x159fb9;return this[_0x509412(0x2f1)](),this[_0x509412(0x1d9)][_0x509412(0x3fb)](Re,this[_0x509412(0x1bc)],this[_0x509412(0xab)],this[_0x509412(0x122)],[],this[_0x509412(0x3a3)],_0x52ec7a);}['_resendWithTimeout'](_0x38ca13,_0x3e53c5){const _0x194770=_0x159fb9;var _0x1011e1;_0x38ca13===((_0x1011e1=this['_awaitingChangeset'])==null?void 0x0:_0x1011e1[_0x194770(0x1ec)])&&(this['resend'](),this[_0x194770(0x1ba)]=_0x3e53c5===0x0?0x3e8:_0x3e53c5*0x2);}[_0x159fb9(0x2f1)](){const _0x372b5b=_0x159fb9;var _0x36616f;(_0x36616f=this[_0x372b5b(0x482)])==null||_0x36616f[_0x372b5b(0x158)](),this[_0x372b5b(0x1ba)]=0x0;}};Te=Le([A(0x4,_0x3e8773(_0x3371c0)),A(0x5,_0x3e8773(_0x2cef54)),A(0x6,_0x3e8773(q)),A(0x7,_0x1bd495),A(0x8,_0x3738e4),A(0x9,_0x1c07b8),A(0xa,_0x551c13)],Te);let ge=class extends $e{constructor(_0x258b91,_0x4f413a,_0xd57782,_0x8a36c7,_0x3642f,_0x476459,_0x58b1cb,_0x4319d1,_0xd67d75,_0x2f31b0,_0x1ded4b,_0x20385c,_0x4bf0ca){const _0x17f251=_0x159fb9;super(_0x258b91,_0x4f413a,_0xd57782,_0x8a36c7,_0x3642f,_0x2f31b0,_0x4bf0ca,_0x4319d1,_0xd67d75),g(this,_0x17f251(0x2c6),'awaiting_with_pending'),g(this,'_resendTimeout',0x0),g(this,_0x17f251(0x209)),g(this,_0x17f251(0x482)),(this[_0x17f251(0x1d9)]=_0x58b1cb,this['_logService']=_0x1ded4b,this[_0x17f251(0x1a9)]=_0x20385c,_0x476459&&(this[_0x17f251(0x209)]=_0x476459,this[_0x17f251(0x482)]=this[_0x17f251(0x209)][_0x17f251(0x2fd)](({reqId:_0x1c4392,timeout:_0x356253})=>{const _0xa01a5e=_0x17f251;this[_0xa01a5e(0x288)](_0x1c4392,_0x356253);})));}[_0x159fb9(0x129)](_0x59feb2){const _0x18c554=_0x159fb9;return this[_0x18c554(0x142)]['push'](_0x59feb2),this;}['onRemoteChangeset'](_0x3c0d39){const _0x569691=_0x159fb9;if(this['_checkMissing'](_0x3c0d39))return this[_0x569691(0x2f1)](),this['_injector'][_0x569691(0x3fb)](he,this[_0x569691(0x1bc)],this[_0x569691(0xab)],this[_0x569691(0x122)],this[_0x569691(0x142)],null,[_0x3c0d39],this[_0x569691(0x3a3)]);try{const _0x21eae5=this['_transformService'][_0x569691(0x10e)]([_0x3c0d39],[this['_awaitingChangeset']],!0x1);if(_0x29cde1(_0x21eae5)){const {c1Prime:_0x33b7b6,c2Prime:_0xa710cb}=_0x21eae5,_0x3e87ed=this['_transformService'][_0x569691(0x17b)](_0x33b7b6[0x0],this['_pendingMutations']);if(_0x426291(_0x3e87ed)){const {c1Prime:_0x5f4e78,m2Prime:_0x2c4c6d}=_0x3e87ed;return this[_0x569691(0x3ec)](_0x5f4e78),_0xa710cb[0x0][_0x569691(0x17d)]=this[_0x569691(0x376)](),this[_0x569691(0x2f1)](),this[_0x569691(0x1d9)][_0x569691(0x3fb)](ge,this[_0x569691(0x1bc)],this[_0x569691(0xab)],_0xa710cb[0x0],_0x2c4c6d,this[_0x569691(0x3a3)],void 0x0);}throw _0x3e87ed[_0x569691(0x441)];}throw _0x21eae5[_0x569691(0x441)];}catch(_0x423af5){return this[_0x569691(0x461)][_0x569691(0x441)](_0x423af5),this[_0x569691(0x296)](!0x1);}}[_0x159fb9(0x419)](_0x3309fd){const _0x2087bd=_0x159fb9;if(this['_clearScheduledTask'](),this['_checkMissing'](_0x3309fd))return this[_0x2087bd(0x1d9)][_0x2087bd(0x3fb)](he,this[_0x2087bd(0x1bc)],this['type'],null,this[_0x2087bd(0x142)],this['_awaitingChangeset'],[],this['_handler']);this['_incrementRevisionNumber']();const _0xe306f1=this[_0x2087bd(0x1d9)][_0x2087bd(0x3fb)](pe,this[_0x2087bd(0x1bc)],this[_0x2087bd(0xab)],this[_0x2087bd(0x142)],this[_0x2087bd(0x3a3)]);return _0xe306f1[_0x2087bd(0x3b5)](),_0xe306f1[_0x2087bd(0x279)](),_0xe306f1;}[_0x159fb9(0x146)](_0x4de397){const _0x2a9e0e=_0x159fb9;return this[_0x2a9e0e(0x296)](!!(_0x4de397!=null&&_0x4de397[_0x2a9e0e(0x32a)]));}[_0x159fb9(0x35d)](_0x19dc65){const _0x44a636=_0x159fb9;return this[_0x44a636(0x1ba)]>Ni?this[_0x44a636(0x346)]():(this[_0x44a636(0x209)]=Ui(this[_0x44a636(0x1ba)],{'timeout':this['_resendTimeout'],'reqId':_0x19dc65[_0x44a636(0x1ec)]}),this[_0x44a636(0x482)]=this['_resendTimer']['subscribe'](({reqId:_0x2e4d49,timeout:_0x5dcf59})=>{const _0x4ac435=_0x44a636;this[_0x4ac435(0x288)](_0x2e4d49,_0x5dcf59);}),this);}[_0x159fb9(0x346)](){const _0x2fb6af=_0x159fb9;return this['_clearScheduledTask'](),this['_injector'][_0x2fb6af(0x3fb)](ye,this[_0x2fb6af(0x1bc)],this[_0x2fb6af(0xab)],this['_awaitingChangeset'],this[_0x2fb6af(0x142)],this['_handler']);}[_0x159fb9(0x326)](){return this;}[_0x159fb9(0x184)](){const _0x2a6e2f=_0x159fb9;this[_0x2a6e2f(0x3a3)][_0x2a6e2f(0x201)](this['_awaitingChangeset']);}[_0x159fb9(0x296)](_0x53bf54){const _0x5da87b=_0x159fb9;return this['_clearScheduledTask'](),this[_0x5da87b(0x1d9)][_0x5da87b(0x3fb)](Re,this['unitID'],this[_0x5da87b(0xab)],null,this[_0x5da87b(0x142)],this[_0x5da87b(0x3a3)],_0x53bf54);}[_0x159fb9(0x288)](_0x188e46,_0x5a9233){const _0x24c1e1=_0x159fb9;var _0x505b39;_0x188e46===((_0x505b39=this[_0x24c1e1(0x122)])==null?void 0x0:_0x505b39[_0x24c1e1(0x1ec)])&&(this[_0x24c1e1(0x184)](),this[_0x24c1e1(0x1ba)]=_0x5a9233===0x0?0x3e8:_0x5a9233*0x2);}[_0x159fb9(0x2f1)](){const _0x3cd273=_0x159fb9;var _0x174950;(_0x174950=this['_sender'])==null||_0x174950[_0x3cd273(0x158)](),this[_0x3cd273(0x1ba)]=0x0;}};ge=Le([A(0x6,_0x3e8773(_0x3371c0)),A(0x7,_0x3e8773(_0x2cef54)),A(0x8,_0x3e8773(q)),A(0x9,_0x1bd495),A(0xa,_0x3738e4),A(0xb,_0x1c07b8),A(0xc,_0x551c13)],ge);let Re=class extends $e{constructor(_0x2f18f1,_0x3fd591,_0x3f0b6f,_0xa5d8f3,_0x5412e4,_0x5f10c3=!0x1,_0x3be382,_0x543d38,_0xa578bf,_0x5b6e98,_0x406782,_0x43c491,_0x2318e0){const _0x295e53=_0x159fb9;super(_0x2f18f1,_0x3fd591,_0x3f0b6f,_0xa5d8f3,_0x5412e4,_0x543d38,_0xa578bf,_0x406782,_0x5b6e98),g(this,_0x295e53(0x2c6),_0x295e53(0x17e)),(this[_0x295e53(0x480)]=_0x5f10c3,this['_permissionService']=_0x3be382,this[_0x295e53(0xc8)]=_0x43c491,this[_0x295e53(0x33f)]=_0x2318e0,this[_0x295e53(0x4a5)](),this[_0x295e53(0x228)](),this[_0x295e53(0xed)]());}[_0x159fb9(0x129)](){return this;}[_0x159fb9(0x1a3)](){return this;}[_0x159fb9(0x419)](){return this;}['onRemoteRej'](){return this;}[_0x159fb9(0x35d)](){return this;}[_0x159fb9(0x346)](){return this;}[_0x159fb9(0x326)](){return this;}[_0x159fb9(0x184)](){const _0x100279=_0x159fb9;throw new Error(_0x100279(0x2a3));}[_0x159fb9(0x228)](){const _0x450c7c=_0x159fb9;this[_0x450c7c(0x45f)]['updateOfflineData'](this['unitID'],this[_0x450c7c(0xab)],null,[]);}[_0x159fb9(0x4a5)](){const _0x476647=_0x159fb9;this[_0x476647(0x480)]?this[_0x476647(0x33f)]['show']({'title':this['_localeService']['t'](_0x476647(0x310)),'content':this[_0x476647(0xc8)]['t'](_0x476647(0xb2)),'type':_0x476647(0x441),'duration':0x0}):this[_0x476647(0x33f)][_0x476647(0x3e9)]({'title':this[_0x476647(0xc8)]['t'](_0x476647(0x14e)),'content':this['_localeService']['t'](_0x476647(0xb7)),'type':_0x476647(0x441),'duration':0x0});}[_0x159fb9(0xed)](){const _0x52fce2=_0x159fb9;this[_0x52fce2(0x3cb)][_0x52fce2(0x36d)](new _0x435a22(this['unitID'])['id'],!0x1);}};Re=Le([A(0x6,_0x3e8773(_0x1b485a)),A(0x7,_0x1bd495),A(0x8,_0x551c13),A(0x9,_0x3e8773(q)),A(0xa,_0x3e8773(_0x2cef54)),A(0xb,_0x3e8773(_0x51cff0)),A(0xc,_0x294915)],Re);let ye=class extends $e{constructor(_0x3d1561,_0x34947e,_0x25472e,_0x3adb8f,_0x19a43d,_0x2d65bf,_0x59d9ef,_0x3b6bcd,_0x679c35,_0x4af7c8){const _0x514542=_0x159fb9;super(_0x3d1561,_0x34947e,_0x25472e,_0x3adb8f,_0x19a43d,_0x679c35,_0x4af7c8,_0x59d9ef,_0x3b6bcd),g(this,'status',_0x514542(0x133)),this[_0x514542(0x1d9)]=_0x2d65bf;}[_0x159fb9(0x129)](_0x5e9e9a){const _0x29abb9=_0x159fb9;return this[_0x29abb9(0x142)][_0x29abb9(0x3c8)](_0x5e9e9a),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x3eac00){const _0x54ef15=_0x159fb9;throw new Error(_0x54ef15(0xd3));}[_0x159fb9(0x419)](){const _0x4b43d0=_0x159fb9;throw new Error(_0x4b43d0(0x2ca));}['onRemoteRej'](){const _0x29b474=_0x159fb9;throw new Error(_0x29b474(0x389));}['onRemoteRetry'](){return this;}[_0x159fb9(0x346)](){return this;}[_0x159fb9(0x326)](){const _0x2e901b=_0x159fb9,{_injector:_0x2b811a,_pendingMutations:_0x18fc49,_awaitingChangeset:_0x3f26da,unitID:_0x23e369,_handler:_0x2d7fbe,type:_0x447f3e}=this,_0x1037b4=Ai(_0x2b811a,_0x23e369,_0x447f3e,_0x3f26da,_0x18fc49,_0x2d7fbe);return _0x1037b4 instanceof pe?_0x1037b4[_0x2e901b(0x3b5)]():(_0x1037b4 instanceof ge||_0x1037b4 instanceof Te)&&_0x1037b4['resend'](),_0x1037b4;}['resend'](){const _0x504a9a=_0x159fb9;throw new Error(_0x504a9a(0x3e4));}};ye=Le([A(0x5,_0x3e8773(_0x3371c0)),A(0x6,_0x3e8773(_0x2cef54)),A(0x7,_0x3e8773(q)),A(0x8,_0x1bd495),A(0x9,_0x551c13)],ye);let he=class extends $e{constructor(_0x5a1741,_0x1635ee,_0x26f99b,_0x22d842,_0x2bb067,_0x1b3f77,_0x2d2a47,_0x1a5410,_0x95fb0c,_0x9428a9,_0x9a5e5e,_0x26e762,_0x4b4d5b,_0x5af6b2){const _0x5a7cfe=_0x159fb9;super(_0x5a1741,_0x1635ee,_0x26f99b,_0x22d842,_0x2d2a47,_0x26e762,_0x4b4d5b,_0x95fb0c,_0x9428a9),g(this,_0x5a7cfe(0x2c6),_0x5a7cfe(0x227)),(this['_acknowledgedAwaitingChangeset']=_0x2bb067,this['_queuedRemoteChangesets']=_0x1b3f77,this[_0x5a7cfe(0x1d9)]=_0x1a5410,this['_logService']=_0x9a5e5e,this[_0x5a7cfe(0x1a9)]=_0x5af6b2);}[_0x159fb9(0x211)](_0x27c42c){const _0x43d889=_0x159fb9;try{const _0x5550ab=[..._0x27c42c,...this[_0x43d889(0x15b)]],_0x2de440=[this['_awaitingChangeset']||this[_0x43d889(0x490)]][_0x43d889(0x1ce)](_0x281caf=>!!_0x281caf);let _0x807778,_0x1f427b;if(_0x2de440[_0x43d889(0x3e5)]){const _0x440363=this[_0x43d889(0x1a9)][_0x43d889(0x10e)](_0x5550ab,_0x2de440,!0x1);if(!_0x29cde1(_0x440363))throw _0x440363[_0x43d889(0x441)];_0x807778=_0x440363[_0x43d889(0x3ad)],_0x1f427b=_0x440363[_0x43d889(0x439)];}else _0x807778=_0x5550ab,_0x1f427b=[];let _0x459e46=this[_0x43d889(0x142)];_0x807778[_0x43d889(0x30e)](_0x127a08=>{const _0x77fbb=_0x43d889;let _0x32bbaa;if(_0x459e46[_0x77fbb(0x3e5)]){const _0x524e31=this['_transformService'][_0x77fbb(0x17b)](_0x127a08,_0x459e46);if(!_0x426291(_0x524e31))throw _0x524e31[_0x77fbb(0x441)];_0x32bbaa=_0x524e31['c1Prime'],_0x459e46=_0x524e31['m2Prime'];}else _0x32bbaa=_0x127a08;this[_0x77fbb(0x3ec)](_0x32bbaa);}),this['_acknowledgedAwaitingChangeset']&&this[_0x43d889(0x337)](),this['_awaitingChangeset']&&_0x1f427b['length']&&(_0x1f427b[0x0][_0x43d889(0x17d)]=this[_0x43d889(0x376)]());let _0x119762;if(this['_awaitingChangeset']&&_0x459e46[_0x43d889(0x3e5)]!==0x0)_0x119762=this[_0x43d889(0x1d9)]['createInstance'](ge,this[_0x43d889(0x1bc)],this['type'],_0x1f427b[0x0],_0x459e46,this[_0x43d889(0x3a3)],void 0x0);else{if(this[_0x43d889(0x122)]&&_0x459e46[_0x43d889(0x3e5)]===0x0)_0x1f427b[0x0][_0x43d889(0x17d)]=this[_0x43d889(0x376)](),_0x119762=this[_0x43d889(0x1d9)]['createInstance'](Te,this[_0x43d889(0x1bc)],this[_0x43d889(0xab)],_0x1f427b[0x0],this[_0x43d889(0x3a3)]);else{if(_0x459e46['length']!==0x0){const _0x1db898=this[_0x43d889(0x1d9)][_0x43d889(0x3fb)](pe,this[_0x43d889(0x1bc)],this[_0x43d889(0xab)],_0x459e46,this[_0x43d889(0x3a3)]);_0x1db898[_0x43d889(0x3b5)](),_0x119762=_0x1db898;}else _0x119762=this['_injector'][_0x43d889(0x3fb)](Fe,this[_0x43d889(0x1bc)],this[_0x43d889(0xab)],this['_handler']);}}return _0x119762['_updateLocalCache'](),_0x119762;}catch(_0x1483f1){return this['_logService'][_0x43d889(0x441)](_0x43d889(0x474),'failed\x20to\x20apply\x20missed\x20changesets!',_0x1483f1),this[_0x43d889(0x1d9)][_0x43d889(0x3fb)](Re,this[_0x43d889(0x1bc)],this[_0x43d889(0xab)],this[_0x43d889(0x122)],this[_0x43d889(0x142)],this[_0x43d889(0x3a3)],!0x1);}}[_0x159fb9(0x184)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}['appendMutation'](_0xeaa8b9){return this['_pendingMutations']['push'](_0xeaa8b9),this;}[_0x159fb9(0x1a3)](_0x23693a){const _0x1b8539=_0x159fb9;return this[_0x1b8539(0x15b)][_0x1b8539(0x3c8)](_0x23693a),this;}[_0x159fb9(0x419)](_0x3deee1){const _0x543b11=_0x159fb9;if(this[_0x543b11(0x122)])return this[_0x543b11(0x490)]=this[_0x543b11(0x122)],this['_awaitingChangeset']=null,this;throw new Error(_0x543b11(0x311));}[_0x159fb9(0x146)](_0x11331c){const _0x12b355=_0x159fb9;return this[_0x12b355(0x296)](!!(_0x11331c!=null&&_0x11331c[_0x12b355(0x32a)]));}[_0x159fb9(0x35d)](){return this;}[_0x159fb9(0x346)](){const _0x157165=_0x159fb9;return this[_0x157165(0x1d9)][_0x157165(0x3fb)](ye,this[_0x157165(0x1bc)],this[_0x157165(0xab)],this[_0x157165(0x122)],this[_0x157165(0x142)],this[_0x157165(0x3a3)]);}[_0x159fb9(0x326)](){return this;}[_0x159fb9(0x296)](_0x53cbb8){const _0x42af70=_0x159fb9;return this[_0x42af70(0x1d9)][_0x42af70(0x3fb)](Re,this[_0x42af70(0x1bc)],this[_0x42af70(0xab)],this['_awaitingChangeset'],this[_0x42af70(0x142)],this[_0x42af70(0x3a3)],_0x53cbb8);}};he=Le([A(0x7,_0x3e8773(_0x3371c0)),A(0x8,_0x3e8773(_0x2cef54)),A(0x9,_0x3e8773(q)),A(0xa,_0x3738e4),A(0xb,_0x1bd495),A(0xc,_0x551c13),A(0xd,_0x1c07b8)],he);function Ai(_0x11bfb0,_0x11077f,_0x71023e,_0x55794e,_0x5cfadf,_0x1a4a22){const _0x32bc30=_0x159fb9;return _0x55794e&&_0x5cfadf[_0x32bc30(0x3e5)]?_0x11bfb0[_0x32bc30(0x3fb)](ge,_0x11077f,_0x71023e,_0x55794e,_0x5cfadf,_0x1a4a22,void 0x0):_0x55794e?_0x11bfb0[_0x32bc30(0x3fb)](Te,_0x11077f,_0x71023e,_0x55794e,_0x1a4a22):_0x5cfadf['length']?_0x11bfb0[_0x32bc30(0x3fb)](pe,_0x11077f,_0x71023e,_0x5cfadf,_0x1a4a22):_0x11bfb0[_0x32bc30(0x3fb)](Fe,_0x11077f,_0x71023e,_0x1a4a22);}var mo=Object['defineProperty'],po=Object[_0x159fb9(0x37a)],Es=(_0x4f4f19,_0x40f65e,_0x25448e,_0x4515c3)=>{const _0x127ca2=_0x159fb9;for(var _0x3ea867=_0x4515c3>0x1?void 0x0:_0x4515c3?po(_0x40f65e,_0x25448e):_0x40f65e,_0x41af10=_0x4f4f19[_0x127ca2(0x3e5)]-0x1,_0xfa841a;_0x41af10>=0x0;_0x41af10--)(_0xfa841a=_0x4f4f19[_0x41af10])&&(_0x3ea867=(_0x4515c3?_0xfa841a(_0x40f65e,_0x25448e,_0x3ea867):_0xfa841a(_0x3ea867))||_0x3ea867);return _0x4515c3&&_0x3ea867&&mo(_0x40f65e,_0x25448e,_0x3ea867),_0x3ea867;},H=(_0x117792,_0x3cc210)=>(_0x5c4669,_0x56fc7d)=>_0x3cc210(_0x5c4669,_0x56fc7d,_0x117792);let St=class extends _0x7d7f86{constructor(_0x2f0074,_0x48247c,_0x45990f,_0xce102,_0xab1555,_0x5d66b6,_0x4a6cd0,_0x4b06ea,_0x256186,_0xb4a2b5,_0x427e9e,_0x55f709,_0x1a6fd3){const _0x2ddcec=_0x159fb9;super(),g(this,'_state$',new _0x4cf3b1(null)),g(this,'state$',this[_0x2ddcec(0x48d)][_0x2ddcec(0x118)]()),g(this,_0x2ddcec(0x26d)),g(this,_0x2ddcec(0x408),!0x1),g(this,_0x2ddcec(0xc6),''),g(this,_0x2ddcec(0x2e0),0x0),g(this,'status$',this['state$'][_0x2ddcec(0x26b)](_0x27fdab(_0x345999=>_0x345999?_0x345999[_0x2ddcec(0x2c6)]:J[_0x2ddcec(0x2e8)]),_0x37b8c8(0x1))),g(this,_0x2ddcec(0x36f),!0x1),g(this,'_remoteChangesetQueue',[]),(this[_0x2ddcec(0x1bc)]=_0x2f0074,this[_0x2ddcec(0x3ca)]=_0x48247c,this['_type']=_0x45990f,this[_0x2ddcec(0x1d9)]=_0xce102,this['_localCacheService']=_0xab1555,this['_compressMutationService']=_0x5d66b6,this[_0x2ddcec(0xc8)]=_0x4a6cd0,this[_0x2ddcec(0x446)]=_0x4b06ea,this['_logService']=_0x256186,this[_0x2ddcec(0x388)]=_0xb4a2b5,this[_0x2ddcec(0x3b8)]=_0x427e9e,this[_0x2ddcec(0x3cb)]=_0x55f709,this[_0x2ddcec(0x15d)]=_0x1a6fd3);}get[_0x159fb9(0x243)](){return this['_state'];}async[_0x159fb9(0x318)](){const _0x8e310b=_0x159fb9;if(this[_0x8e310b(0x243)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x8e310b(0x3a1)]();}[_0x159fb9(0x42d)](){const _0x589eff=_0x159fb9;return this[_0x589eff(0x408)]=!0x0,_0x3f9d32(()=>{const _0x29ebba=_0x589eff;this[_0x29ebba(0x408)]=!0x1,this[_0x29ebba(0x309)]();});}[_0x159fb9(0x452)](_0x2f4d22){const _0x148385=_0x159fb9;this[_0x148385(0x26d)]=_0x2f4d22,this[_0x148385(0x48d)]['next'](_0x2f4d22);}async[_0x159fb9(0x3a1)](){const _0x2c2437=_0x159fb9;var _0x46c920;this[_0x2c2437(0x452)](await this[_0x2c2437(0x1e2)]()),this[_0x2c2437(0x15d)]&&((_0x46c920=this[_0x2c2437(0x15d)])==null||_0x46c920[_0x2c2437(0x361)](this[_0x2c2437(0x1bc)]),this[_0x2c2437(0x2e7)](this[_0x2c2437(0x15d)][_0x2c2437(0x127)](this[_0x2c2437(0x1bc)])[_0x2c2437(0x2fd)](_0x3af970=>{const _0x236eb6=_0x2c2437;this['_logService'][_0x236eb6(0x4b0)](_0x236eb6(0x399),_0x236eb6(0x3f9),_0x3af970),_0x3af970===Di[_0x236eb6(0x23e)]?(this[_0x236eb6(0x3b8)][_0x236eb6(0x3e9)]({'content':this[_0x236eb6(0xc8)]['t'](_0x236eb6(0x150)),'type':_0x450e6f['Warning']}),this['_permissionService'][_0x236eb6(0x36d)](new _0x435a22(this[_0x236eb6(0x1bc)])['id'],!0x1),this['_permissionService'][_0x236eb6(0x33a)](!0x1)):(this[_0x236eb6(0x3cb)][_0x236eb6(0x36d)](new _0x435a22(this[_0x236eb6(0x1bc)])['id'],!0x0),this[_0x236eb6(0x3cb)][_0x236eb6(0x33a)](!0x0));})));let _0x16ed83=!0x1;return this[_0x2c2437(0x2e7)](this[_0x2c2437(0x3ca)][_0x2c2437(0x338)]['subscribe'](_0x2f97d7=>{const _0xf766f7=_0x2c2437;_0x2f97d7===ve[_0xf766f7(0x2ef)]?this[_0xf766f7(0x354)](_0x16ed83):_0x2f97d7===ve[_0xf766f7(0x2e8)]&&(_0x16ed83=!0x0,this['_toggleOffline']());})),this[_0x2c2437(0x2e7)](this[_0x2c2437(0x3ca)]['event$'][_0x2c2437(0x2fd)](_0x1fac80=>{const _0x2705a8=_0x2c2437;try{switch(_0x1fac80[_0x2705a8(0x39e)]){case _0x33d7b7[_0x2705a8(0x2a9)]:{this[_0x2705a8(0xe0)](_0x460410(_0x1fac80['data']));break;}case _0x33d7b7[_0x2705a8(0x306)]:{this['_onRemoteACK'](_0x1fac80[_0x2705a8(0x216)]);break;}case _0x33d7b7[_0x2705a8(0x339)]:{this[_0x2705a8(0x120)]();break;}case _0x33d7b7[_0x2705a8(0x1a0)]:{this[_0x2705a8(0x141)](_0x1fac80[_0x2705a8(0x216)]);break;}case _0x33d7b7[_0x2705a8(0x15c)]:{this['_onFetchMissResult'](_0x1fac80[_0x2705a8(0x216)]['changesets'][_0x2705a8(0x349)](_0xcc0866=>_0x460410(_0xcc0866)));break;}case _0x33d7b7['PERMISSION_REJ']:this[_0x2705a8(0x120)]({'isPermissionRej':!0x0});}}catch(_0x18efb8){throw console['error'](_0x2705a8(0x134),_0x18efb8),_0x18efb8;}})),this['_state'];}[_0x159fb9(0x1c0)](){const _0x1c3bd1=_0x159fb9;this[_0x1c3bd1(0x36f)]=!0x1;}[_0x159fb9(0x42b)](){const _0x32d78c=_0x159fb9;if(this['_transitionLocked'])throw new Error(_0x32d78c(0x382));this['_transitionLocked']=!0x0;}[_0x159fb9(0x2b5)](_0x16b08){const _0x28ad11=_0x159fb9;this[_0x28ad11(0x42b)](),this[_0x28ad11(0x452)](this[_0x28ad11(0x26d)][_0x28ad11(0x129)](_0x16b08)),this[_0x28ad11(0x1c0)]();}[_0x159fb9(0xe0)](_0x81e071){const _0x23bd5d=_0x159fb9;if(!(_0x81e071[_0x23bd5d(0x324)]<=this[_0x23bd5d(0x446)][_0x23bd5d(0x257)](this[_0x23bd5d(0x1bc)]))){if(this[_0x23bd5d(0x408)]){this['_remoteChangesetQueue']['push'](_0x81e071);return;}this[_0x23bd5d(0x398)](_0x81e071);}}[_0x159fb9(0x309)](){const _0xc13b34=_0x159fb9;this[_0xc13b34(0x1cd)][_0xc13b34(0x30e)](_0x588a8a=>this[_0xc13b34(0x398)](_0x588a8a)),this[_0xc13b34(0x1cd)]=[];}[_0x159fb9(0x398)](_0x49efc8){const _0x604e10=_0x159fb9,_0x54fe46=this[_0x604e10(0x188)][_0x604e10(0x3d0)][_0x604e10(0x36e)](this[_0x604e10(0x188)][_0x604e10(0x3d0)][_0x604e10(0x191)]()[_0x604e10(0x47e)])(_0x49efc8[_0x604e10(0x29f)],null)||_0x49efc8[_0x604e10(0x29f)],_0x4f86d7={..._0x49efc8,'mutations':_0x54fe46};this[_0x604e10(0x42b)](),this[_0x604e10(0x452)](this[_0x604e10(0x26d)]['onRemoteChangeset'](_0x4f86d7)),this[_0x604e10(0x1c0)]();}[_0x159fb9(0xd8)](_0x2b859b){const _0x284806=_0x159fb9;this[_0x284806(0x42b)](),this[_0x284806(0x452)](this[_0x284806(0x26d)][_0x284806(0x419)](_0x2b859b)),this[_0x284806(0x1c0)]();}[_0x159fb9(0x120)](_0x508aaa){const _0x5b70d7=_0x159fb9;this[_0x5b70d7(0x42b)](),this[_0x5b70d7(0x452)](this[_0x5b70d7(0x26d)][_0x5b70d7(0x146)](_0x508aaa)),this[_0x5b70d7(0x1c0)]();}[_0x159fb9(0x141)](_0xaf50e){const _0x2ad2e2=_0x159fb9;this['_lockTransition'](),this[_0x2ad2e2(0x452)](this[_0x2ad2e2(0x26d)]['onRemoteRetry'](_0xaf50e)),this[_0x2ad2e2(0x1c0)]();}[_0x159fb9(0x194)](_0x1ce91a){const _0x2fef59=_0x159fb9;if(!(this[_0x2fef59(0x26d)]instanceof he))throw new TypeError(_0x2fef59(0x269));const _0x11f2f2=_0x1ce91a[_0x2fef59(0x349)](_0x16713e=>{const _0x477e14=_0x2fef59,_0x1340e1=this[_0x477e14(0x188)][_0x477e14(0x3d0)][_0x477e14(0x36e)](this['_compressMutationService']['interceptor'][_0x477e14(0x191)]()['COMPRESS_MUTATION_APPLY'])(_0x16713e[_0x477e14(0x29f)],null)||_0x16713e['mutations'];return{..._0x16713e,'mutations':_0x1340e1};});this['_lockTransition'](),this[_0x2fef59(0x452)](this[_0x2fef59(0x26d)][_0x2fef59(0x211)](_0x11f2f2)),this['_unlockTransition']();}[_0x159fb9(0x190)](){const _0x3631b9=_0x159fb9;this[_0x3631b9(0x42b)](),this[_0x3631b9(0x452)](this[_0x3631b9(0x26d)][_0x3631b9(0x346)]()),this[_0x3631b9(0x1c0)]();}[_0x159fb9(0x354)](_0x531014=!0x1){const _0x1bbe23=_0x159fb9;this[_0x1bbe23(0x42b)](),this[_0x1bbe23(0x452)](this[_0x1bbe23(0x26d)][_0x1bbe23(0x326)]()),this['_unlockTransition']();const _0x64d3d7=this[_0x1bbe23(0x26d)];_0x531014&&_0x64d3d7 instanceof Fe&&(this[_0x1bbe23(0x42b)](),this[_0x1bbe23(0x452)](_0x64d3d7[_0x1bbe23(0x4b1)]()),this[_0x1bbe23(0x1c0)]());}async['_createInitialState'](){return new Promise(_0x13bc8c=>{const _0x529129=_0x4457;this[_0x529129(0x3ca)][_0x529129(0x338)][_0x529129(0x26b)](_0x4c54f0(0x1))['subscribe'](async _0x35b86c=>{const _0xd576d8=_0x529129;_0x13bc8c(await this[_0xd576d8(0x13f)](_0x35b86c===ve['ONLINE']));});});}[_0x159fb9(0x2aa)](){const _0x13b213=this['unitID'];return{'onStateChange':(_0x153297,_0x4b6974)=>{const _0x301c0b=_0x4457;if(_0x153297!==this[_0x301c0b(0x26d)])throw new Error(_0x301c0b(0x31c)+_0x153297[_0x301c0b(0x2c6)]+'\x0aAfter:\x20'+_0x4b6974[_0x301c0b(0x2c6)]+'\x0aCurrent:\x20'+this[_0x301c0b(0x26d)][_0x301c0b(0x2c6)]);this[_0x301c0b(0x452)](_0x4b6974);},'onSendChangeset':_0xa02305=>{const _0x1c2400=_0x4457;_0xa02305[_0x1c2400(0x2bb)]||(_0xa02305['sid']=this['_changesetSessionId'],_0xa02305['reqId']=++this[_0x1c2400(0x2e0)]);const _0x26ecc3={'eventID':_0x33d7b7[_0x1c2400(0x31e)],'data':{'unitID':_0xa02305[_0x1c2400(0x1bc)],'unitType':this[_0x1c2400(0x33e)],'changeset':_0xa02305,'memberID':this[_0x1c2400(0x3ca)][_0x1c2400(0x24d)]()}};this[_0x1c2400(0x3ca)]['send'](_0x26ecc3,this[_0x1c2400(0x1bc)]);},'onMissingChangesets':({from:_0x5b078f,to:_0x5133e4})=>{const _0x531856=_0x4457;this[_0x531856(0x461)][_0x531856(0x4b0)](_0x531856(0x399),_0x531856(0x287)+_0x5b078f+_0x531856(0x404)+_0x5133e4);const _0x2c923c={'eventID':_0x33d7b7[_0x531856(0x1dc)],'data':{'unitID':_0x13b213,'unitType':this[_0x531856(0x33e)],'from':_0x5b078f,'to':_0x5133e4}};this['session'][_0x531856(0x4ab)](_0x2c923c,this[_0x531856(0x1bc)]);}};}async['_createInitialStateImpl'](_0x4d7c92){const _0x178c01=_0x159fb9;var _0x32df57,_0x57605e;const _0x4b4ecf=await this[_0x178c01(0x45f)][_0x178c01(0x2d5)](this[_0x178c01(0x1bc)]),_0x16fd84=(_0x32df57=_0x4b4ecf==null?void 0x0:_0x4b4ecf[_0x178c01(0x29f)])!=null?_0x32df57:[],_0x82f00f=(_0x57605e=_0x4b4ecf==null?void 0x0:_0x4b4ecf[_0x178c01(0x27d)])!=null?_0x57605e:null,_0x133374=!!(_0x82f00f!=null&&_0x82f00f[_0x178c01(0x2bb)])&&!!(_0x82f00f!=null&&_0x82f00f[_0x178c01(0x1ec)]);this[_0x178c01(0xc6)]=_0x133374?_0x82f00f[_0x178c01(0x2bb)]:Gr(),this[_0x178c01(0x2e0)]=_0x133374?_0x82f00f[_0x178c01(0x1ec)]:0x0;const _0xe35283=this['unitID'];try{this[_0x178c01(0x3f6)](_0x82f00f,_0x16fd84);}catch(_0x13f2cc){this['_logService'][_0x178c01(0x441)](_0x13f2cc);}const _0x1fa7e5=this[_0x178c01(0x2aa)]();if(_0x4d7c92){const _0x297960=Ai(this[_0x178c01(0x1d9)],_0xe35283,this['_type'],_0x82f00f,_0x16fd84,_0x1fa7e5);return _0x297960 instanceof pe?_0x297960[_0x178c01(0x3b5)]():(_0x297960 instanceof ge||_0x297960 instanceof Te)&&_0x297960['resend'](),_0x297960;}return this[_0x178c01(0x1d9)][_0x178c01(0x3fb)](ye,_0xe35283,this[_0x178c01(0x33e)],_0x82f00f,_0x16fd84,_0x1fa7e5);}[_0x159fb9(0x3f6)](_0x17a0af,_0x3d6ae3){const _0x17ed91=_0x159fb9;var _0x5e02df,_0x2fcd68;const _0x80ff57=this[_0x17ed91(0x188)][_0x17ed91(0x3d0)][_0x17ed91(0x36e)](this['_compressMutationService']['interceptor'][_0x17ed91(0x191)]()['COMPRESS_MUTATION_APPLY']);(_0x5e02df=_0x80ff57((_0x17a0af==null?void 0x0:_0x17a0af['mutations'])||[],null))==null||_0x5e02df[_0x17ed91(0x30e)](_0x1fc8c9=>this[_0x17ed91(0x388)][_0x17ed91(0xeb)](_0x1fc8c9['id'],_0x1fc8c9[_0x17ed91(0x11b)])),(_0x2fcd68=_0x80ff57(_0x3d6ae3||[],null))==null||_0x2fcd68[_0x17ed91(0x30e)](_0x196685=>this['_commandService'][_0x17ed91(0xeb)](_0x196685['id'],_0x196685[_0x17ed91(0x11b)]));}};St=Es([H(0x3,_0x3e8773(_0x3371c0)),H(0x4,_0x3e8773(q)),H(0x5,_0x3e8773(_0x386455)),H(0x6,_0x3e8773(_0x51cff0)),H(0x7,_0x3e8773(_0x2cef54)),H(0x8,_0x3738e4),H(0x9,_0x1bd495),H(0xa,_0x546aee),H(0xb,_0x1b485a),H(0xc,_0x24e594(yt))],St);let ss=class extends St{constructor(_0x2c26fa,_0x44ad1a,_0x52457f,_0x245bf4,_0xfd7296,_0x587d54,_0x441932,_0x569804,_0x4c019e,_0x1b1fed,_0x128155,_0x4e3564,_0x467efc,_0x4e0707,_0x26d1ae,_0x43620f,_0x4fe702,_0xa65a57){const _0x5cd79b=_0x159fb9;super(_0x2c26fa,_0x52457f,_0x44ad1a,_0x245bf4,_0xfd7296,_0x587d54,_0x441932,_0x569804,_0x4e0707,_0x26d1ae,_0x43620f,_0x4fe702,_0xa65a57),this[_0x5cd79b(0x1bc)]=_0x2c26fa,this[_0x5cd79b(0xab)]=_0x44ad1a,this[_0x5cd79b(0x27a)]=_0x4c019e,this[_0x5cd79b(0x25b)]=_0x1b1fed,this[_0x5cd79b(0xe8)]=_0x128155,this[_0x5cd79b(0x3f2)]=_0x4e3564,this[_0x5cd79b(0x369)]=_0x467efc;}['_createHandler'](){const _0xd45a20=_0x159fb9,_0x1e30ab=super['_createHandler']();return _0x1e30ab[_0xd45a20(0x447)]=_0x3e0e13=>this[_0xd45a20(0x25b)][_0xd45a20(0x2b9)](_0x3e0e13),_0x1e30ab[_0xd45a20(0x320)]=_0x415a46=>this[_0xd45a20(0xe8)][_0xd45a20(0xf0)](_0x415a46),_0x1e30ab[_0xd45a20(0x402)]=_0x42779c=>this[_0xd45a20(0x3f2)]['transformSelections'](_0x42779c),_0x1e30ab['onSyncEditingCollabCursor']=_0x472a3d=>this[_0xd45a20(0x369)][_0xd45a20(0x372)](_0x472a3d),_0x1e30ab[_0xd45a20(0x123)]=_0x454152=>this['_docTransformIMECacheService'][_0xd45a20(0x434)](_0x454152),_0x1e30ab[_0xd45a20(0x197)]=_0x4f0133=>this[_0xd45a20(0xe8)]['transformRemoteChangeset'](_0x4f0133),_0x1e30ab;}async[_0x159fb9(0x3a1)](){const _0x5bc866=_0x159fb9,_0x548635=await super[_0x5bc866(0x3a1)]();return this[_0x5bc866(0x27a)]['docStateChange$'][_0x5bc866(0x26b)](_0x514462(this[_0x5bc866(0x1ef)]))['subscribe'](_0x38358a=>{const _0xda02c=_0x5bc866;if(_0x38358a==null)return;const {unitId:_0x2a7cbd,redoState:_0x5ebd54,commandId:_0x258f82}=_0x38358a;if(_0x2a7cbd!==this[_0xda02c(0x1bc)])return;const _0x434cbb={'id':_0x258f82,'type':_0x351b9b[_0xda02c(0x2cc)],'params':{'unitId':_0x2a7cbd,'actions':_0x5ebd54[_0xda02c(0x124)],'textRanges':null}};this[_0xda02c(0x2b5)](_0x434cbb);}),_0x548635;}};ss=Es([H(0x3,_0x3e8773(_0x3371c0)),H(0x4,_0x3e8773(q)),H(0x5,_0x3e8773(_0x386455)),H(0x6,_0x3e8773(_0x51cff0)),H(0x7,_0x3e8773(_0x2cef54)),H(0x8,_0x3e8773(_0x4f127d)),H(0x9,_0x3e8773(vt)),H(0xa,_0x3e8773(pt)),H(0xb,_0x3e8773(gt)),H(0xc,_0x3e8773(Cs)),H(0xd,_0x3738e4),H(0xe,_0x1bd495),H(0xf,_0x546aee),H(0x10,_0x1b485a),H(0x11,_0x24e594(yt))],ss);let is=class extends St{constructor(_0x5727d5,_0x1605c9,_0x174741,_0x2fc734,_0xb5ba2,_0x50f3df,_0xe98070,_0x19270a,_0xd4f6f5,_0x199c2c,_0x2e565b,_0x56bb56,_0x3a86b1,_0xa626d2){const _0x5bdea6=_0x159fb9;super(_0x5727d5,_0x174741,_0x1605c9,_0x2fc734,_0xb5ba2,_0x50f3df,_0xe98070,_0x19270a,_0x199c2c,_0x2e565b,_0x56bb56,_0x3a86b1,_0xa626d2),this[_0x5bdea6(0x1bc)]=_0x5727d5,this['type']=_0x1605c9,this[_0x5bdea6(0x47a)]=_0xd4f6f5;}[_0x159fb9(0x2aa)](){const _0x3d35f1=_0x159fb9,_0x8ca5a7=super['_createHandler']();return _0x8ca5a7[_0x3d35f1(0x402)]=_0xf8dcf9=>this['_sheetTransformSelectionsService'][_0x3d35f1(0x2cd)](_0xf8dcf9),_0x8ca5a7;}async[_0x159fb9(0x3a1)](){const _0x5089f2=_0x159fb9,_0xd50ecd=await super[_0x5089f2(0x3a1)]();return this['disposeWithMe'](this['_commandService'][_0x5089f2(0x1e3)]((_0x4bae43,_0x39a7d6)=>{const _0x54b928=_0x5089f2;if(_0x4bae43[_0x54b928(0xab)]!==_0x351b9b[_0x54b928(0x2cc)]||_0x39a7d6!=null&&_0x39a7d6[_0x54b928(0x48f)]||_0x39a7d6!=null&&_0x39a7d6[_0x54b928(0x247)])return;const _0x8db362=_0x4bae43[_0x54b928(0x11b)];if((_0x8db362==null?void 0x0:_0x8db362[_0x54b928(0x235)])!==this[_0x54b928(0x1bc)])return;const _0x4fdc72=_0x4bae43,_0x484a80=this[_0x54b928(0x188)][_0x54b928(0x3d0)][_0x54b928(0x36e)](this['_compressMutationService'][_0x54b928(0x3d0)][_0x54b928(0x191)]()[_0x54b928(0x42a)])([_0x4fdc72],null)||[_0x4fdc72];this[_0x54b928(0x2b5)](_0x484a80[0x0]);})),_0xd50ecd;}};is=Es([H(0x3,_0x3e8773(_0x3371c0)),H(0x4,_0x3e8773(q)),H(0x5,_0x3e8773(_0x386455)),H(0x6,_0x3e8773(_0x51cff0)),H(0x7,_0x3e8773(_0x2cef54)),H(0x8,_0x3e8773(mt)),H(0x9,_0x3738e4),H(0xa,_0x1bd495),H(0xb,_0x546aee),H(0xc,_0x1b485a),H(0xd,_0x24e594(yt))],is);var go=Object[_0x159fb9(0xcf)],So=Object['getOwnPropertyDescriptor'],Io=(_0x19fe1c,_0x134315,_0x1f9148,_0x32785c)=>{const _0x2e726e=_0x159fb9;for(var _0x29859=_0x32785c>0x1?void 0x0:_0x32785c?So(_0x134315,_0x1f9148):_0x134315,_0x2b8de6=_0x19fe1c[_0x2e726e(0x3e5)]-0x1,_0x206c50;_0x2b8de6>=0x0;_0x2b8de6--)(_0x206c50=_0x19fe1c[_0x2b8de6])&&(_0x29859=(_0x32785c?_0x206c50(_0x134315,_0x1f9148,_0x29859):_0x206c50(_0x29859))||_0x29859);return _0x32785c&&_0x29859&&go(_0x134315,_0x1f9148,_0x29859),_0x29859;},Lt=(_0x22fe2d,_0x37d477)=>(_0x5f0f57,_0x1d3aa3)=>_0x37d477(_0x5f0f57,_0x1d3aa3,_0x22fe2d);let it=class extends _0x7d7f86{constructor(_0x25b795,_0x1835f4,_0x2f1c6b){const _0x1b931e=_0x159fb9;super(),g(this,_0x1b931e(0x143),new Map()),g(this,_0x1b931e(0x25c),new _0x2ec24b()),(this[_0x1b931e(0x1d9)]=_0x25b795,this['_collabSessionService']=_0x1835f4,this[_0x1b931e(0x116)]=_0x2f1c6b,this['_init']());}['dispose'](){const _0x11c8d8=_0x159fb9;super['dispose'](),this[_0x11c8d8(0x143)]['forEach'](_0x5c7438=>_0x5c7438['dispose']()),this['_entities'][_0x11c8d8(0x35a)]();}[_0x159fb9(0xf7)](_0x27534b){const _0x8da178=_0x159fb9;var _0x3c6c10;return(_0x3c6c10=this['_entities'][_0x8da178(0x413)](_0x27534b))!=null?_0x3c6c10:null;}['getCollabEntity$'](_0x37eb9d){const _0x177dd0=_0x159fb9,_0x2ae428=this[_0x177dd0(0xf7)](_0x37eb9d);return _0x2ae428?_0x3f0552(_0x2ae428):this[_0x177dd0(0x25c)][_0x177dd0(0x26b)](_0x1e7f12(_0x32e34e=>_0x32e34e['unitID']===_0x37eb9d));}[_0x159fb9(0x3a1)](){const _0x46ffb2=_0x159fb9;this[_0x46ffb2(0x116)][_0x46ffb2(0x27f)](_0x466101[_0x46ffb2(0x166)])['pipe'](_0x514462(this[_0x46ffb2(0x1ef)]),_0x1d6c6a(0x10))['subscribe'](async _0x1effe5=>{const _0x4a92cc=_0x46ffb2,_0x158129=_0x1effe5['getUnitId'](),_0x46044f=await this[_0x4a92cc(0x3b0)](_0x158129,ce[_0x4a92cc(0x166)]);this[_0x4a92cc(0x143)]['set'](_0x158129,_0x46044f);}),this[_0x46ffb2(0x116)][_0x46ffb2(0x27f)](_0x466101[_0x46ffb2(0x44a)])['pipe'](_0x514462(this[_0x46ffb2(0x1ef)]),_0x1d6c6a(0x10))[_0x46ffb2(0x26b)](_0x1e7f12(_0x4a02af=>!_0x4a02af[_0x46ffb2(0xd4)]()['startsWith']('__')))['subscribe'](async _0x3eea47=>{const _0x3b66a7=_0x46ffb2,_0x44f55c=_0x3eea47['getUnitId'](),_0x118da3=await this[_0x3b66a7(0x3b0)](_0x44f55c,ce['UNIVER_DOC']);this[_0x3b66a7(0x143)][_0x3b66a7(0x3d3)](_0x44f55c,_0x118da3);}),_0x548bea(this['_univerInstanceService'][_0x46ffb2(0x36c)](_0x466101[_0x46ffb2(0x166)]),this['_univerInstanceService'][_0x46ffb2(0x36c)](_0x466101[_0x46ffb2(0x44a)]))[_0x46ffb2(0x26b)](_0x514462(this[_0x46ffb2(0x1ef)]))[_0x46ffb2(0x2fd)](_0x1b5d8a=>{const _0x263e38=_0x46ffb2,_0x5b8988=_0x1b5d8a[_0x263e38(0xd4)](),_0x3a666b=this['_entities'][_0x263e38(0x413)](_0x5b8988);_0x3a666b&&(_0x3a666b[_0x263e38(0xda)](),this[_0x263e38(0x143)][_0x263e38(0x24e)](_0x5b8988));});}async[_0x159fb9(0x3b0)](_0x43089c,_0x369522){const _0x4fc851=_0x159fb9,_0x54ebc0=await this[_0x4fc851(0x3be)]['requireSession'](_0x43089c),_0x21d996=this[_0x4fc851(0x1d9)][_0x4fc851(0x3fb)](this[_0x4fc851(0x381)](_0x369522),_0x43089c,_0x369522,_0x54ebc0);return await _0x21d996[_0x4fc851(0x318)](),this[_0x4fc851(0x25c)][_0x4fc851(0x22f)](_0x21d996),_0x21d996;}[_0x159fb9(0x381)](_0x57c46f){const _0x3b846e=_0x159fb9;switch(_0x57c46f){case ce[_0x3b846e(0x44a)]:return ss;case ce[_0x3b846e(0x166)]:return is;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x57c46f);}}};it=Io([Lt(0x0,_0x3e8773(_0x3371c0)),Lt(0x1,_0x3e8773(Ae)),Lt(0x2,_0x40ba52)],it);const Gs=[_0x159fb9(0x1f6),_0x159fb9(0x19a),_0x159fb9(0x3bb),_0x159fb9(0xff),'blue400',_0x159fb9(0x112)];class bs extends _0x10d2e7{constructor(){const _0x277785=_0x159fb9;super(...arguments),g(this,_0x277785(0x48e),new Map()),g(this,_0x277785(0x3c2),0x0);}[_0x159fb9(0x1be)](_0x35f6ea){const _0x52677e=_0x159fb9;if(this[_0x52677e(0x48e)]['has'](_0x35f6ea))return this[_0x52677e(0x48e)][_0x52677e(0x413)](_0x35f6ea);const _0x236dd9=Gs[this[_0x52677e(0x3c2)]];return this[_0x52677e(0x3c2)]=(this[_0x52677e(0x3c2)]+0x1)%Gs['length'],this[_0x52677e(0x48e)][_0x52677e(0x3d3)](_0x35f6ea,_0x236dd9),_0x236dd9;}}var Co=Object[_0x159fb9(0xcf)],Eo=Object['getOwnPropertyDescriptor'],bo=(_0xd4962a,_0x4d8368,_0x317ced,_0x37e709)=>{const _0x31908c=_0x159fb9;for(var _0x2b4210=_0x37e709>0x1?void 0x0:_0x37e709?Eo(_0x4d8368,_0x317ced):_0x4d8368,_0x349128=_0xd4962a[_0x31908c(0x3e5)]-0x1,_0x1bfc1d;_0x349128>=0x0;_0x349128--)(_0x1bfc1d=_0xd4962a[_0x349128])&&(_0x2b4210=(_0x37e709?_0x1bfc1d(_0x4d8368,_0x317ced,_0x2b4210):_0x1bfc1d(_0x2b4210))||_0x2b4210);return _0x37e709&&_0x2b4210&&Co(_0x4d8368,_0x317ced,_0x2b4210),_0x2b4210;},Oe=(_0x140450,_0x2b7024)=>(_0x310019,_0x36b9d6)=>_0x2b7024(_0x310019,_0x36b9d6,_0x140450);const To=0x12c,Ro=0x64;let ns=class extends _0x7d7f86{constructor(_0x139f8a,_0x45f1c3,_0x4ee077,_0x4493d5,_0x59bfcc,_0x2554fa,_0x1b1b2b,_0x5e604a,_0x3017f2){const _0xdc4991=_0x159fb9;super(),g(this,'_online',!0x1),g(this,_0xdc4991(0x3a1),!0x1),g(this,_0xdc4991(0x157),new _0x4cf3b1(new Map())),g(this,_0xdc4991(0x3ce),this['_cursorInfo$'][_0xdc4991(0x118)]()),g(this,_0xdc4991(0x38e),new _0x4cf3b1([])),g(this,_0xdc4991(0x463),this[_0xdc4991(0x38e)][_0xdc4991(0x26b)](_0x21286a(To))),g(this,_0xdc4991(0xf1),_0x4222d7(_0x32e496=>{const _0x244a0a=_0xdc4991,_0x24f15f={'eventID':_0x33d7b7['UPDATE_CURSOR'],'data':{'unitID':this[_0x244a0a(0x1bc)],'memberID':this[_0x244a0a(0x30a)][_0x244a0a(0x24d)](),'selection':Pi(_0x32e496)}};this['_session']['send'](_0x24f15f,this[_0x244a0a(0x1bc)]);},Ro)),(this[_0xdc4991(0x1bc)]=_0x139f8a,this[_0xdc4991(0x30a)]=_0x45f1c3,this[_0xdc4991(0x1d9)]=_0x4ee077,this[_0xdc4991(0x27c)]=_0x4493d5,this[_0xdc4991(0x41e)]=_0x59bfcc,this[_0xdc4991(0x331)]=_0x2554fa,this[_0xdc4991(0x1a9)]=_0x1b1b2b,this[_0xdc4991(0x116)]=_0x5e604a,this[_0xdc4991(0x388)]=_0x3017f2);}get['cursorInfo'](){const _0x478886=_0x159fb9;return this[_0x478886(0x157)][_0x478886(0x495)]();}get[_0x159fb9(0x1d8)](){const _0xc2368f=_0x159fb9;return this[_0xc2368f(0x38e)][_0xc2368f(0x495)]();}[_0x159fb9(0xda)](){const _0x30954f=_0x159fb9;super[_0x30954f(0xda)](),this['_cursorInfo$'][_0x30954f(0x22f)](new Map()),this[_0x30954f(0x157)][_0x30954f(0x138)](),this[_0x30954f(0x38e)][_0x30954f(0x22f)]([]),this['_roomMembers$']['complete']();}[_0x159fb9(0x318)](){const _0x2b480e=_0x159fb9;this[_0x2b480e(0x3a1)]||(this[_0x2b480e(0x3a1)]=!0x0,this[_0x2b480e(0x30a)]['sessionStatus$'][_0x2b480e(0x26b)](_0x514462(this[_0x2b480e(0x1ef)]))[_0x2b480e(0x2fd)](_0x1765e3=>{const _0xbdf2c2=_0x2b480e;_0x1765e3===ve[_0xbdf2c2(0x2ef)]?this[_0xbdf2c2(0x354)]():this['_toggleOffline']();}),this[_0x2b480e(0x30a)][_0x2b480e(0x431)][_0x2b480e(0x26b)](_0x514462(this[_0x2b480e(0x1ef)]))[_0x2b480e(0x2fd)](_0x85d3b8=>{const _0x250fd6=_0x2b480e,_0x308a1c=_0x85d3b8[_0x250fd6(0x39e)];_0x308a1c===_0x33d7b7[_0x250fd6(0x497)]&&this['_onCursorUpdate'](_0x85d3b8),_0x308a1c===_0x33d7b7[_0x250fd6(0x477)]&&this[_0x250fd6(0x1c4)](_0x85d3b8);}),this[_0x2b480e(0x2e7)](this[_0x2b480e(0x388)]['onCommandExecuted'](_0x3adaa0=>{const _0x2de6e5=_0x2b480e,_0x2e28ee=_0x3adaa0[_0x2de6e5(0x11b)];_0x2e28ee!=null&&this[_0x2de6e5(0x24c)]&&_0x3adaa0['id']===_0x2082b4['id']&&_0x2e28ee[_0x2de6e5(0x235)]===this[_0x2de6e5(0x1bc)]&&_0x2e28ee[_0x2de6e5(0x322)]===!0x1&&_0x2e28ee['ranges'][_0x2de6e5(0x3e5)]>0x0&&this['_updateLocalCursor'](_0x2e28ee[_0x2de6e5(0x267)]);})),this[_0x2b480e(0x331)][_0x2b480e(0x19f)][_0x2b480e(0x26b)](_0x514462(this[_0x2b480e(0x1ef)]))[_0x2b480e(0x2fd)](_0x2bc662=>{const _0x3c0e28=_0x2b480e;if((_0x2bc662==null?void 0x0:_0x2bc662['unitID'])!==this[_0x3c0e28(0x1bc)])return;const _0x544e73={'eventID':_0x33d7b7[_0x3c0e28(0x497)],'data':_0x2bc662};this['_onCursorUpdate'](_0x544e73);}),this[_0x2b480e(0x2e7)](this[_0x2b480e(0x388)]['onCommandExecuted'](_0x2582f7=>{const _0x4a7bed=_0x2b480e;if(_0x2582f7[_0x4a7bed(0x11b)]==null)return;const _0x5a2fc5=_0x2582f7[_0x4a7bed(0x11b)];if(_0x2582f7['id']!==_0xe026b8['id']||_0x5a2fc5[_0x4a7bed(0x235)]!==this[_0x4a7bed(0x1bc)])return;const _0x597673={'id':_0x4a7bed(0xdd),'params':_0x5a2fc5},_0x2d5643=this['cursorInfo'];for(const [_0x3376f6,_0x4be036]of _0x2d5643){const _0x2b1088={'id':_0x4a7bed(0xdd),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x4be036[_0x4a7bed(0x267)]}},_0x120dd6=this[_0x4a7bed(0x1a9)][_0x4a7bed(0x29c)](_0x597673,_0x2b1088,!0x1);if(_0x490f82(_0x120dd6))throw _0x120dd6[_0x4a7bed(0x441)];_0x2d5643[_0x4a7bed(0x3d3)](_0x3376f6,{..._0x4be036,'ranges':_0x120dd6[_0x4a7bed(0x12a)]['params'][_0x4a7bed(0x240)]});}queueMicrotask(()=>{const _0x10aa28=_0x4a7bed;this[_0x10aa28(0x157)][_0x10aa28(0x22f)](_0x2d5643);});})));}[_0x159fb9(0x46a)](_0x457b7e){const _0x19b6d5=_0x159fb9;var _0x2dfa70,_0x3b9473;const {memberID:_0xe5562b,selection:_0x529017}=_0x457b7e[_0x19b6d5(0x216)],_0x389d55=oo(_0x529017),_0x49ca52=(_0x3b9473=(_0x2dfa70=this[_0x19b6d5(0x41e)]['getMember'](this['unitID'],_0xe5562b))==null?void 0x0:_0x2dfa70[_0x19b6d5(0x3f3)])!=null?_0x3b9473:'Unknown\x20user',_0xffb6b7={'color':this[_0x19b6d5(0x27c)]['assignAColorForMemberID'](_0xe5562b),'name':_0x49ca52,'ranges':_0x389d55},_0x72c9a0=this[_0x19b6d5(0x234)];_0x72c9a0['set'](_0xe5562b,_0xffb6b7),this['_cursorInfo$'][_0x19b6d5(0x22f)](_0x72c9a0);}[_0x159fb9(0x1c4)](_0x6ff555){const _0x456c6a=_0x159fb9,{memberID:_0x5290d5}=_0x6ff555[_0x456c6a(0x216)],_0x1918a2=this[_0x456c6a(0x234)];_0x1918a2['delete'](_0x5290d5),this[_0x456c6a(0x157)][_0x456c6a(0x22f)](_0x1918a2);}[_0x159fb9(0x354)](){const _0x23daee=_0x159fb9;var _0x14fab6;if(this[_0x23daee(0x24c)]=!0x0,((_0x14fab6=this['_univerInstanceService'][_0x23daee(0x24f)]())==null?void 0x0:_0x14fab6[_0x23daee(0xd4)]())!==this[_0x23daee(0x1bc)])return;const _0x10ef8c=this['_injector'][_0x23daee(0x413)](_0xa56c0)['getDocRanges']();Array['isArray'](_0x10ef8c)&&_0x10ef8c[_0x23daee(0x3e5)]>0x0&&this[_0x23daee(0xf1)](_0x10ef8c);}[_0x159fb9(0x190)](){this['_online']=!0x1;}};ns=bo([Oe(0x2,_0x3e8773(_0x3371c0)),Oe(0x3,_0x3e8773(bs)),Oe(0x4,_0x3e8773(Ne)),Oe(0x5,_0x3e8773(Cs)),Oe(0x6,_0x1c07b8),Oe(0x7,_0x40ba52),Oe(0x8,_0x1bd495)],ns);var yo=Object[_0x159fb9(0xcf)],Oo=Object[_0x159fb9(0x37a)],wo=(_0x3b8f36,_0x358d8b,_0x409744,_0x4f221b)=>{const _0x471593=_0x159fb9;for(var _0x35e774=_0x4f221b>0x1?void 0x0:_0x4f221b?Oo(_0x358d8b,_0x409744):_0x358d8b,_0x2f1773=_0x3b8f36[_0x471593(0x3e5)]-0x1,_0x1fb4da;_0x2f1773>=0x0;_0x2f1773--)(_0x1fb4da=_0x3b8f36[_0x2f1773])&&(_0x35e774=(_0x4f221b?_0x1fb4da(_0x358d8b,_0x409744,_0x35e774):_0x1fb4da(_0x35e774))||_0x35e774);return _0x4f221b&&_0x35e774&&yo(_0x358d8b,_0x409744,_0x35e774),_0x35e774;},Be=(_0x5c2d45,_0x50ac65)=>(_0x527de4,_0x457a17)=>_0x50ac65(_0x527de4,_0x457a17,_0x5c2d45);const Do=0x12c,Po=0x64,Uo=()=>{let _0x57fb7f=[],_0x108957=!0x1;return _0x583197=>{const _0x5e85b7=_0x4457;_0x57fb7f[_0x5e85b7(0x3c8)](_0x583197),_0x108957||(_0x108957=!0x0,setTimeout(()=>{const _0x2879d0=_0x5e85b7;_0x57fb7f[_0x2879d0(0x30e)](_0x437335=>_0x437335()),_0x57fb7f=[],_0x108957=!0x1;}));};};let rs=class extends _0x7d7f86{constructor(_0x5b24c6,_0x669bb8,_0x512f68,_0x4521b3,_0x4cfcbc,_0x530c1c,_0x83d12e,_0x3807e5){const _0x90c7a4=_0x159fb9;super(),g(this,'_online',!0x1),g(this,'_init',!0x1),g(this,_0x90c7a4(0x157),new _0x4cf3b1(new Map())),g(this,'cursorInfo$',this['_cursorInfo$'][_0x90c7a4(0x118)]()),g(this,_0x90c7a4(0x38e),new _0x4cf3b1([])),g(this,_0x90c7a4(0x463),this[_0x90c7a4(0x38e)][_0x90c7a4(0x26b)](_0x21286a(Do))),g(this,_0x90c7a4(0xf1),_0x4222d7((_0x59338f,_0x2c24bf)=>{const _0x3d7b51=_0x90c7a4,_0x12ed0b={'eventID':_0x33d7b7[_0x3d7b51(0x497)],'data':{'unitID':this[_0x3d7b51(0x1bc)],'memberID':this['_session']['getMemberID'](),'selection':_0x59f038(_0x59338f,_0x2c24bf['range'])}};this['_session'][_0x3d7b51(0x4ab)](_0x12ed0b,this[_0x3d7b51(0x1bc)]);},Po)),(this['unitID']=_0x5b24c6,this[_0x90c7a4(0x30a)]=_0x669bb8,this[_0x90c7a4(0x1d9)]=_0x512f68,this[_0x90c7a4(0x27c)]=_0x4521b3,this[_0x90c7a4(0x41e)]=_0x4cfcbc,this[_0x90c7a4(0x116)]=_0x530c1c,this[_0x90c7a4(0x388)]=_0x83d12e,this[_0x90c7a4(0x334)]=_0x3807e5);}get[_0x159fb9(0x234)](){const _0x3b3657=_0x159fb9;return this[_0x3b3657(0x157)][_0x3b3657(0x495)]();}get[_0x159fb9(0x1d8)](){const _0xe75b22=_0x159fb9;return this['_roomMembers$'][_0xe75b22(0x495)]();}[_0x159fb9(0xda)](){const _0x3d75e1=_0x159fb9;super['dispose'](),this[_0x3d75e1(0x157)][_0x3d75e1(0x22f)](new Map()),this[_0x3d75e1(0x157)][_0x3d75e1(0x138)](),this[_0x3d75e1(0x38e)][_0x3d75e1(0x22f)]([]),this[_0x3d75e1(0x38e)][_0x3d75e1(0x138)]();}[_0x159fb9(0x318)](){const _0x24cd92=_0x159fb9;this[_0x24cd92(0x3a1)]||(this[_0x24cd92(0x3a1)]=!0x0,this[_0x24cd92(0x30a)][_0x24cd92(0x338)]['pipe'](_0x514462(this[_0x24cd92(0x1ef)]))['subscribe'](_0x14e37b=>{const _0x16fc73=_0x24cd92;_0x14e37b===ve['ONLINE']?this[_0x16fc73(0x354)]():this[_0x16fc73(0x190)]();}),this[_0x24cd92(0x30a)][_0x24cd92(0x431)][_0x24cd92(0x26b)](_0x514462(this[_0x24cd92(0x1ef)]))[_0x24cd92(0x2fd)](_0x1880bc=>{const _0x4c3673=_0x24cd92,_0x589527=_0x1880bc[_0x4c3673(0x39e)];_0x589527===_0x33d7b7['UPDATE_CURSOR']&&this[_0x4c3673(0x46a)](_0x1880bc),_0x589527===_0x33d7b7[_0x4c3673(0x477)]&&this[_0x4c3673(0x1c4)](_0x1880bc);}),this[_0x24cd92(0x3e3)](),this[_0x24cd92(0x2e7)](this[_0x24cd92(0x388)][_0x24cd92(0x1e3)](_0x2646fa=>{const _0x467324=_0x24cd92;if(this['_online']&&_0x2646fa['id']===_0x34fe8d['id']&&_0x2646fa[_0x467324(0x11b)]['unitId']===this[_0x467324(0x1bc)]){const _0x37bf50=_0x2646fa[_0x467324(0x11b)];this['_updateLocalCursor'](_0x37bf50[_0x467324(0x3b4)],_0x37bf50[_0x467324(0x22b)][0x0]);}})));}['_onCursorUpdate'](_0x2e5c8c){const _0x375fdf=_0x159fb9;var _0x108551,_0x332e18;const {memberID:_0x2133e3,selection:_0x5311ae}=_0x2e5c8c[_0x375fdf(0x216)],{sheetName:_0x53be9a,range:_0x270c86}=_0x2d1f09(_0x5311ae),_0x15819c={'name':(_0x332e18=(_0x108551=this[_0x375fdf(0x41e)][_0x375fdf(0x3a9)](this[_0x375fdf(0x1bc)],_0x2133e3))==null?void 0x0:_0x108551[_0x375fdf(0x3f3)])!=null?_0x332e18:'Unknown\x20user','range':this['_getMergeRange'](_0x53be9a,_0x270c86),'sheetID':_0x53be9a,'color':this[_0x375fdf(0x27c)][_0x375fdf(0x1be)](_0x2133e3),'selection':_0x5311ae},_0x5722d7=this['cursorInfo'];_0x5722d7[_0x375fdf(0x3d3)](_0x2133e3,_0x15819c),this[_0x375fdf(0x157)][_0x375fdf(0x22f)](_0x5722d7);}[_0x159fb9(0x1c4)](_0x4381c8){const _0x5d7a8a=_0x159fb9,{memberID:_0x496928}=_0x4381c8[_0x5d7a8a(0x216)],_0xeb3bd=this['cursorInfo'];_0xeb3bd['delete'](_0x496928),this[_0x5d7a8a(0x157)][_0x5d7a8a(0x22f)](_0xeb3bd);}['_getMergeRange'](_0x6e8a87,_0x336c6b){const _0x20b4f8=_0x159fb9;var _0x2701cc,_0x53326b;const _0x1f9d5e=(_0x53326b=(_0x2701cc=this['_univerInstanceService'][_0x20b4f8(0xee)](this[_0x20b4f8(0x1bc)]))==null?void 0x0:_0x2701cc['getSheetBySheetId'](_0x6e8a87))==null?void 0x0:_0x53326b['getMergeData']();return(_0x1f9d5e==null?void 0x0:_0x1f9d5e[_0x20b4f8(0x35c)](_0x2e7ed4=>_0x1635b8['contains'](_0x2e7ed4,_0x336c6b)))||_0x336c6b;}[_0x159fb9(0x3e3)](){const _0x49150c=_0x159fb9,_0x5afd15=new _0x3d6474(),_0x25e23f=Uo(),_0x14a8e7=()=>{const _0x1057dd=_0x4457;_0x5afd15['dispose']();const _0x29b2ff=(_0xbf354b,_0x1c7315,_0x295619,_0x499b03)=>{const _0x35e69c=_0x4457;let _0xfe8fbc=[];switch(_0xbf354b['id']){case _0x48bd13['DeleteRangeMoveLeftCommandId']:{_0xfe8fbc=_0x453619(_0xbf354b,_0x499b03);break;}case _0x48bd13['DeleteRangeMoveUpCommandId']:{_0xfe8fbc=_0x4793c5(_0xbf354b,_0x499b03);break;}case _0x48bd13['InsertColCommandId']:{_0xfe8fbc=_0x114072(_0xbf354b,_0x499b03);break;}case _0x48bd13[_0x35e69c(0x1ea)]:{_0xfe8fbc=_0x480e3a(_0xbf354b,_0x499b03);break;}case _0x48bd13[_0x35e69c(0x1cc)]:{_0xfe8fbc=_0x7fc677(_0xbf354b,_0x499b03);break;}case _0x48bd13[_0x35e69c(0x2c8)]:{_0xfe8fbc=_0x4a6b6a(_0xbf354b,_0x499b03);break;}case _0x48bd13[_0x35e69c(0x1bf)]:{_0xfe8fbc=_0x38063e(_0xbf354b,_0x499b03);break;}case _0x48bd13['RemoveColCommandId']:{_0xfe8fbc=_0x5a25ad(_0xbf354b,_0x499b03);break;}case _0x48bd13[_0x35e69c(0x2b2)]:{_0xfe8fbc=_0x5c0a81(_0xbf354b,_0x499b03);break;}}const _0x31f29c=_0x3fc3f2(_0xfe8fbc,_0x499b03),_0x20ff13=this[_0x35e69c(0x234)]['get'](_0x1c7315);if(_0x20ff13&&_0x31f29c){const _0x3c929c={..._0x20ff13,'range':_0x31f29c};this[_0x35e69c(0x234)]['set'](_0x1c7315,_0x3c929c),_0x25e23f(()=>{const _0xc155f7=_0x35e69c,_0x45a17b=this[_0xc155f7(0x334)]['registerRefRange'](_0x31f29c,_0x4c352a=>(_0x45a17b[_0xc155f7(0xda)](),_0x29b2ff(_0x4c352a,_0x1c7315,_0x295619,_0x31f29c)));_0x5afd15[_0xc155f7(0x342)](_0x45a17b);});}return{'redos':[],'undos':[]};};this[_0x1057dd(0x234)][_0x1057dd(0x30e)]((_0x209a96,_0x27a253)=>{const _0x4ee066=_0x1057dd,{range:_0x2a6ac5,sheetID:_0x3217df}=_0x209a96,_0x56331b=this[_0x4ee066(0x334)][_0x4ee066(0x4a8)](_0x2a6ac5,_0x1932c3=>(_0x56331b[_0x4ee066(0xda)](),_0x29b2ff(_0x1932c3,_0x27a253,_0x3217df,_0x2a6ac5)));_0x5afd15['add'](_0x56331b);});};this[_0x49150c(0x2e7)](_0x3f9d32(this['_cursorInfo$'][_0x49150c(0x2fd)](()=>{_0x14a8e7();})));}['_toggleOnline'](){const _0x324ebd=_0x159fb9;var _0x33a51a,_0x13c5c9;if(this[_0x324ebd(0x24c)]=!0x0,((_0x33a51a=this[_0x324ebd(0x116)][_0x324ebd(0x24f)]())==null?void 0x0:_0x33a51a[_0x324ebd(0xd4)]())!==this[_0x324ebd(0x1bc)])return;const _0x5cf52f=(_0x13c5c9=this[_0x324ebd(0x1d9)][_0x324ebd(0x413)](_0x4d7738)[_0x324ebd(0x406)]())==null?void 0x0:_0x13c5c9[0x0],_0x309b62=this['_univerInstanceService'][_0x324ebd(0x27b)](_0x466101[_0x324ebd(0x166)])[_0x324ebd(0x27e)]();_0x5cf52f&&_0x309b62&&this[_0x324ebd(0xf1)](_0x309b62[_0x324ebd(0xc7)](),_0x5cf52f);}[_0x159fb9(0x190)](){const _0x1deaa5=_0x159fb9;this[_0x1deaa5(0x24c)]=!0x1;}};rs=wo([Be(0x2,_0x3e8773(_0x3371c0)),Be(0x3,_0x3e8773(bs)),Be(0x4,_0x3e8773(Ne)),Be(0x5,_0x40ba52),Be(0x6,_0x1bd495),Be(0x7,_0x3e8773(_0x49343b))],rs);var No=Object['defineProperty'],Ao=Object[_0x159fb9(0x37a)],Mo=(_0x16dff3,_0x559288,_0x33e776,_0xd62bfa)=>{const _0x1bc421=_0x159fb9;for(var _0x48a5d7=_0xd62bfa>0x1?void 0x0:_0xd62bfa?Ao(_0x559288,_0x33e776):_0x559288,_0x39a75c=_0x16dff3[_0x1bc421(0x3e5)]-0x1,_0x3737ed;_0x39a75c>=0x0;_0x39a75c--)(_0x3737ed=_0x16dff3[_0x39a75c])&&(_0x48a5d7=(_0xd62bfa?_0x3737ed(_0x559288,_0x33e776,_0x48a5d7):_0x3737ed(_0x48a5d7))||_0x48a5d7);return _0xd62bfa&&_0x48a5d7&&No(_0x559288,_0x33e776,_0x48a5d7),_0x48a5d7;},$t=(_0x3ad1f8,_0x122be8)=>(_0xca568b,_0x3f901c)=>_0x122be8(_0xca568b,_0x3f901c,_0x3ad1f8);let Ve=class extends _0x7d7f86{constructor(_0x1a280c,_0x411f3c,_0x11236b){const _0x28abc2=_0x159fb9;super(),g(this,_0x28abc2(0x143),new Map()),g(this,_0x28abc2(0x25c),new _0x2ec24b()),(this[_0x28abc2(0x116)]=_0x1a280c,this['_injector']=_0x411f3c,this[_0x28abc2(0x3be)]=_0x11236b,this[_0x28abc2(0x3a1)]());}[_0x159fb9(0xda)](){const _0x3571ac=_0x159fb9;super[_0x3571ac(0xda)](),this['_entityInit$'][_0x3571ac(0x138)](),this[_0x3571ac(0x143)][_0x3571ac(0x30e)](_0xac4150=>_0xac4150['dispose']());}[_0x159fb9(0xe1)](_0x2a2c13){const _0x418426=_0x159fb9;return this[_0x418426(0x143)]['has'](_0x2a2c13)?this[_0x418426(0x143)][_0x418426(0x413)](_0x2a2c13)[_0x418426(0x3ce)]:this[_0x418426(0x25c)]['pipe'](_0x5add67(_0x2a3d59=>_0x2a3d59[_0x418426(0x1bc)]===_0x2a2c13),_0x33575c(_0x14e0a0=>_0x14e0a0[_0x418426(0x3ce)]));}[_0x159fb9(0x3a1)](){const _0xc33bb2=_0x159fb9;this[_0xc33bb2(0x116)][_0xc33bb2(0x27f)](_0x466101[_0xc33bb2(0x166)])[_0xc33bb2(0x26b)](_0x514462(this[_0xc33bb2(0x1ef)]))['subscribe'](async _0x574aef=>{const _0x2431f5=_0xc33bb2,_0x39760f=_0x574aef['getUnitId'](),_0x3e9948=await this['_startSheetCollabCursor'](_0x39760f);this['_entityInit$'][_0x2431f5(0x22f)](_0x3e9948),this['_entities'][_0x2431f5(0x3d3)](_0x39760f,_0x3e9948);}),this[_0xc33bb2(0x116)][_0xc33bb2(0x27f)](_0x466101['UNIVER_DOC'])[_0xc33bb2(0x26b)](_0x514462(this[_0xc33bb2(0x1ef)]))[_0xc33bb2(0x26b)](_0x5add67(_0x58428c=>!_0x58428c['getUnitId']()['startsWith']('__')))[_0xc33bb2(0x2fd)](async _0x4f3839=>{const _0x15fa40=_0xc33bb2,_0x53449c=_0x4f3839['getUnitId'](),_0x44ad32=await this[_0x15fa40(0x2b6)](_0x53449c);this[_0x15fa40(0x25c)][_0x15fa40(0x22f)](_0x44ad32),this['_entities']['set'](_0x53449c,_0x44ad32);}),_0x548bea(this[_0xc33bb2(0x116)]['getTypeOfUnitDisposed$'](_0x466101[_0xc33bb2(0x44a)]),this[_0xc33bb2(0x116)][_0xc33bb2(0x36c)](_0x466101[_0xc33bb2(0x166)]))['pipe'](_0x514462(this[_0xc33bb2(0x1ef)]))[_0xc33bb2(0x2fd)](_0x431646=>{const _0x5466b5=_0xc33bb2,_0x9d0c21=_0x431646[_0x5466b5(0xd4)](),_0x5355ec=this[_0x5466b5(0x143)][_0x5466b5(0x413)](_0x9d0c21);_0x5355ec&&(_0x5355ec[_0x5466b5(0xda)](),this['_entities'][_0x5466b5(0x24e)](_0x9d0c21));});}async[_0x159fb9(0x3e2)](_0x277b86){const _0x2687f8=_0x159fb9,_0x421efb=await this[_0x2687f8(0x3be)]['requireSession'](_0x277b86),_0x21c83f=this[_0x2687f8(0x1d9)][_0x2687f8(0x3fb)](rs,_0x277b86,_0x421efb);return _0x21c83f[_0x2687f8(0x318)](),_0x21c83f;}async[_0x159fb9(0x2b6)](_0x34d136){const _0x54604c=_0x159fb9,_0x373aae=await this['_collabSessionService'][_0x54604c(0x470)](_0x34d136),_0x3a2518=this[_0x54604c(0x1d9)][_0x54604c(0x3fb)](ns,_0x34d136,_0x373aae);return _0x3a2518[_0x54604c(0x318)](),_0x3a2518;}};Ve=Mo([$t(0x0,_0x40ba52),$t(0x1,_0x3e8773(_0x3371c0)),$t(0x2,_0x3e8773(Ae))],Ve);const nt=0x14,Ys=0xc8,Ht=0x4,xo=0x5;function Lo(_0x497bbe,_0x383d4e){const _0x2d37be=_0x159fb9;let {radius:_0xc9c8de,width:_0x43052c,height:_0x4aa991}=_0x383d4e;_0xc9c8de=_0xc9c8de!=null?_0xc9c8de:0x0,_0x43052c=_0x43052c!=null?_0x43052c:0x1e,_0x4aa991=_0x4aa991!=null?_0x4aa991:0x1e;let _0x4cf3bf=0x0,_0xd1c667=0x0,_0x2ae1f6=0x0;_0x4cf3bf=_0xd1c667=_0x2ae1f6=Math['min'](_0xc9c8de,_0x43052c/0x2,_0x4aa991/0x2),_0x497bbe['beginPath'](),_0x497bbe[_0x2d37be(0x110)](_0x4cf3bf,0x0),_0x497bbe['lineTo'](_0x43052c-_0xd1c667,0x0),_0x497bbe['arc'](_0x43052c-_0xd1c667,_0xd1c667,_0xd1c667,Math['PI']*0x3/0x2,0x0,!0x1),_0x497bbe['lineTo'](_0x43052c,_0x4aa991-_0x2ae1f6),_0x497bbe[_0x2d37be(0x19e)](_0x43052c-_0x2ae1f6,_0x4aa991-_0x2ae1f6,_0x2ae1f6,0x0,Math['PI']/0x2,!0x1),_0x497bbe[_0x2d37be(0x2fa)](0x0,_0x4aa991),_0x497bbe[_0x2d37be(0x2fa)](0x0,_0x4cf3bf),_0x497bbe['arc'](_0x4cf3bf,_0x4cf3bf,_0x4cf3bf,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x497bbe['closePath'](),_0x383d4e['fill']&&(_0x497bbe[_0x2d37be(0x14f)](),_0x497bbe[_0x2d37be(0x2f4)]=_0x383d4e[_0x2d37be(0x1a7)],_0x383d4e[_0x2d37be(0x1b5)]===_0x2d37be(0x3ee)?_0x497bbe['fill']('evenodd'):_0x497bbe['fill'](),_0x497bbe['restore']());}class Ot extends _0x3b774{constructor(_0x571db3,_0x1c2d2e){const _0x28cd1c=_0x159fb9;super(_0x571db3,_0x1c2d2e),g(this,_0x28cd1c(0x14a)),g(this,'text'),(this[_0x28cd1c(0x14a)]=_0x1c2d2e==null?void 0x0:_0x1c2d2e['color'],this['text']=_0x1c2d2e==null?void 0x0:_0x1c2d2e['text']);}static['drawWith'](_0x3d928a,_0xcc9a9f){const _0x3565c3=_0x159fb9,{text:_0x2cf69a,color:_0x32177a}=_0xcc9a9f;_0x3d928a['save'](),_0x3d928a[_0x3565c3(0x481)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x915844=_0x3d928a[_0x3565c3(0x213)](_0x2cf69a)[_0x3565c3(0x26f)],_0x30e6b8=Math[_0x3565c3(0x242)](_0x915844+0x2*Ht,Ys);Lo(_0x3d928a,{'height':nt,'radius':0x4,'width':_0x30e6b8,'fill':_0x32177a,'evented':!0x1}),_0x3d928a[_0x3565c3(0x2f4)]=_0x3565c3(0xb0);const _0xdea36d=Ht,_0x4859a4=nt-xo,_0x3fad47=Ys-0x2*Ht;if(_0x915844>_0x3fad47){let _0xd9a323='',_0xbc3bf3=0x0;for(const _0x465307 of _0x2cf69a){const _0x1bc3c2=_0x3d928a[_0x3565c3(0x213)](_0x465307)[_0x3565c3(0x26f)];if(_0xbc3bf3+_0x1bc3c2<=_0x3fad47-_0x3d928a['measureText']('...')['width'])_0xd9a323+=_0x465307,_0xbc3bf3+=_0x1bc3c2;else{_0xd9a323+=_0x3565c3(0xbc);break;}}_0x3d928a[_0x3565c3(0x41b)](_0xd9a323,_0xdea36d,_0x4859a4);}else _0x3d928a[_0x3565c3(0x41b)](_0x2cf69a,_0xdea36d,_0x4859a4);_0x3d928a[_0x3565c3(0xe6)]();}[_0x159fb9(0x31a)](_0x11d2b8){const _0x5685ab=_0x159fb9;Ot[_0x5685ab(0x2b1)](_0x11d2b8,this);}}const jt='collab-text-anchor-',$o=_0x159fb9(0x2a0),Ho=_0x159fb9(0x262),Je=0x6,jo=1.5,Bt=0x4,Bo=1.5,ko=_0x159fb9(0x2a8);class Ks{constructor(_0xaab54e,_0x4d5ccf,_0x26f414,_0x32f6ec){const _0x4f2819=_0x159fb9;g(this,_0x4f2819(0x3ab),[]),g(this,_0x4f2819(0x24b),null),g(this,_0x4f2819(0x43e),null),g(this,'_anchorDot',null),g(this,'_hideTimer',null),g(this,'_eventUnsubscribe',null),(this[_0x4f2819(0x3cf)]=_0xaab54e,this['_scene']=_0x4d5ccf,this[_0x4f2819(0x3d8)]=_0x26f414,this[_0x4f2819(0x432)]=_0x32f6ec,this[_0x4f2819(0x295)]());}set[_0x159fb9(0x259)](_0x2a41aa){const _0x56e93d=_0x159fb9;_0x2a41aa?(this[_0x56e93d(0x178)]&&this[_0x56e93d(0x178)][_0x56e93d(0x41a)](),this[_0x56e93d(0x43e)]&&this['_textBubble'][_0x56e93d(0x3e9)]()):(this[_0x56e93d(0x178)]&&this[_0x56e93d(0x178)][_0x56e93d(0x3e9)](),this['_textBubble']&&this[_0x56e93d(0x43e)][_0x56e93d(0x41a)]());}[_0x159fb9(0xda)](){const _0x3be609=_0x159fb9;for(const _0x2079a9 of this[_0x3be609(0x3ab)])_0x2079a9[_0x3be609(0xda)]();this['_textBubble']&&this[_0x3be609(0x43e)][_0x3be609(0xda)](),this[_0x3be609(0x178)]&&this[_0x3be609(0x178)][_0x3be609(0xda)](),this[_0x3be609(0x24b)]&&this[_0x3be609(0x24b)][_0x3be609(0xda)](),this['_eventUnsubscribe']&&this[_0x3be609(0x23b)]();}[_0x159fb9(0x295)](){const _0x1250fe=_0x159fb9;var _0x47cb93;const {_docSkeleton:_0x3004ba,_document:_0x978b43}=this,{color:_0xcabf13,name:_0xe992c,ranges:_0x456101}=this['_cursor'],_0x328824=_0x978b43['getOffsetConfig'](),{docsLeft:_0xe9b534,docsTop:_0x25be12}=_0x328824,_0x27dbd6=new _0x3801fe(_0x328824,_0x3004ba);for(const {startOffset:_0x3fa03d,endOffset:_0x25dc91,rangeType:_0xf6ebeb,segmentId:_0x40cced,segmentPage:_0x15cd81,collapsed:_0x434afc,isActive:_0x249143}of _0x456101){const _0x23e75c=_0x3004ba[_0x1250fe(0x298)](_0x3fa03d,!0x0,_0x40cced,_0x15cd81);let _0x111841=_0x3004ba[_0x1250fe(0x298)](_0x25dc91,!0x0,_0x40cced,_0x15cd81);if(_0x111841==null&&(_0x111841=_0x3004ba[_0x1250fe(0x298)](_0x25dc91-0x1,!0x1,_0x40cced,_0x15cd81)),_0x249143){const {contentBoxPointGroup:_0x22e0a9}=_0x27dbd6[_0x1250fe(0x1b3)](_0x111841,_0x111841);if(_0x22e0a9[_0x1250fe(0x3e5)]===0x0)continue;this[_0x1250fe(0x233)](_0xcabf13,_0x22e0a9,_0xe9b534,_0x25be12,_0xe992c),this[_0x1250fe(0x23b)]=this[_0x1250fe(0x43b)]();}if(!_0x434afc&&_0x23e75c&&_0x111841){if(_0xf6ebeb===_0x4b8239['RECT']){const _0x56be33=new _0x215c49(_0x328824,_0x3004ba),{pointGroup:_0xe648a7}=(_0x47cb93=_0x56be33['getRangePointData'](_0x23e75c,_0x111841))!=null?_0x47cb93:{};if(_0xe648a7==null||_0xe648a7[_0x1250fe(0x3e5)]===0x0)continue;this[_0x1250fe(0x108)](_0xcabf13,_0xe648a7,_0xe9b534,_0x25be12);}else{const {borderBoxPointGroup:_0x2ae75e}=_0x27dbd6[_0x1250fe(0x1b3)](_0x23e75c,_0x111841);if(_0x2ae75e[_0x1250fe(0x3e5)]===0x0)continue;this[_0x1250fe(0x148)](_0xcabf13,_0x2ae75e,_0xe9b534,_0x25be12);}}}}[_0x159fb9(0x233)](_0x3eef8d,_0x45ed5a,_0x3a988a,_0x4f7e39,_0x2e0bd6){const _0x3c1f11=_0x159fb9,_0x533ca0=this[_0x3c1f11(0x4aa)](_0x45ed5a),{left:_0x1b98e2,top:_0x1045ca,height:_0x5e0b16}=_0x533ca0,_0x2b272e=this[_0x3c1f11(0x20a)](),_0x279e53=Bo/_0x2b272e,_0x2e51d2=new _0x1bba01(jt+_0x26d13d[_0x3c1f11(0x467)](Je),{'left':_0x1b98e2+_0x3a988a-_0x279e53,'top':_0x1045ca+_0x4f7e39,'height':_0x5e0b16,'width':jo,'fill':_0x3eef8d||_0x4b9053(_0x511505[_0x3c1f11(0x3d1)],0x0),'strokeWidth':_0x279e53,'stroke':ko,'evented':!0x0});this[_0x3c1f11(0x24b)]=_0x2e51d2,this[_0x3c1f11(0x1e6)][_0x3c1f11(0x486)](_0x2e51d2,_0x33eb3d);const _0x3e4d2a=new _0x1bba01(jt+_0x26d13d[_0x3c1f11(0x467)](Je),{'left':_0x1b98e2+_0x3a988a-_0x279e53,'top':_0x1045ca+_0x4f7e39-Bt/0x2,'height':Bt,'width':Bt,'fill':_0x3eef8d||_0x4b9053(_0x511505['black'],0x0),'strokeWidth':0x0,'stroke':_0x3eef8d||_0x4b9053(_0x511505[_0x3c1f11(0x3d1)],0x0),'evented':!0x1});this['_anchorDot']=_0x3e4d2a,this[_0x3c1f11(0x1e6)][_0x3c1f11(0x486)](_0x3e4d2a,_0x33eb3d);const _0x11a8fa=new Ot(jt+_0x26d13d[_0x3c1f11(0x467)](Je),{'left':_0x1b98e2+_0x3a988a-_0x279e53,'top':_0x1045ca+_0x4f7e39-nt,'text':_0x2e0bd6,'color':_0x3eef8d});this[_0x3c1f11(0x43e)]=_0x11a8fa,this['_scene']['addObject'](_0x11a8fa,_0x33eb3d),this[_0x3c1f11(0x259)]=!0x1;}[_0x159fb9(0x43b)](){const _0x5c4930=_0x159fb9,_0x5d865d=this[_0x5c4930(0x24b)]['onPointerEnter$'][_0x5c4930(0x3eb)](()=>{const _0x23e4d8=_0x5c4930;this[_0x23e4d8(0x259)]=!0x0;}),_0x1efbf0=this[_0x5c4930(0x24b)][_0x5c4930(0x277)][_0x5c4930(0x3eb)](()=>{const _0x20d6bd=_0x5c4930;this[_0x20d6bd(0x2dc)]&&clearTimeout(this['_hideTimer']),this[_0x20d6bd(0x2dc)]=setTimeout(()=>{const _0x2c8295=_0x20d6bd;this[_0x2c8295(0x259)]=!0x1;},0x7d0);});return()=>{const _0x4c112d=_0x5c4930;_0x5d865d[_0x4c112d(0x158)](),_0x1efbf0[_0x4c112d(0x158)]();};}['_drawTextRange'](_0x21eb5e,_0x1fab90,_0x2a90a6,_0x2ff01a){const _0x5dd41a=_0x159fb9,_0x81084c=new _0x234c39(_0x21eb5e)[_0x5dd41a(0x2cf)](0.2)[_0x5dd41a(0x20c)](),_0x439696=new _0x4cb9ba($o+_0x26d13d['generateRandomId'](Je),{'pointsGroup':_0x1fab90,'fill':_0x81084c||_0x4b9053(_0x511505['black'],0.2),'left':_0x2a90a6,'top':_0x2ff01a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5dd41a(0x3ab)][_0x5dd41a(0x3c8)](_0x439696),this[_0x5dd41a(0x1e6)][_0x5dd41a(0x486)](_0x439696,_0x33eb3d);}[_0x159fb9(0x108)](_0xde56d,_0x590f01,_0x2ebf28,_0x34277c){const _0x164e65=_0x159fb9,_0x4f21ac=new _0x234c39(_0xde56d)[_0x164e65(0x2cf)](0.2)['toRgbString'](),_0x2ff886=new _0x4cb9ba(Ho+_0x26d13d[_0x164e65(0x467)](Je),{'pointsGroup':_0x590f01,'fill':_0x4f21ac||_0x4b9053(_0x511505[_0x164e65(0x3d1)],0.2),'left':_0x2ebf28,'top':_0x34277c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x164e65(0x3ab)][_0x164e65(0x3c8)](_0x2ff886),this[_0x164e65(0x1e6)][_0x164e65(0x486)](_0x2ff886,_0x33eb3d);}['_getAnchorBounding'](_0x5b01b4){const _0x84d222=_0x5b01b4[0x0],_0x26e94d=_0x84d222[0x0],_0x3b6ca5=_0x84d222[0x2],{x:_0x199e75,y:_0x13c346}=_0x26e94d,{x:_0x440adf,y:_0x568f49}=_0x3b6ca5;return{'left':_0x199e75,'top':_0x13c346,'width':_0x440adf-_0x199e75,'height':_0x568f49-_0x13c346};}[_0x159fb9(0x20a)](){const _0x5530df=_0x159fb9,{scaleX:_0x48d75a,scaleY:_0x54b8ab}=this['_scene'][_0x5530df(0xcb)]();return Math[_0x5530df(0x3dc)](_0x48d75a,_0x54b8ab);}}var Wo=Object[_0x159fb9(0xcf)],Fo=Object[_0x159fb9(0x37a)],Vo=(_0x170be2,_0x3b2e71,_0x1581d7,_0x185e96)=>{const _0xfe71c8=_0x159fb9;for(var _0x2da0f6=_0x185e96>0x1?void 0x0:_0x185e96?Fo(_0x3b2e71,_0x1581d7):_0x3b2e71,_0x111b72=_0x170be2[_0xfe71c8(0x3e5)]-0x1,_0x5622c9;_0x111b72>=0x0;_0x111b72--)(_0x5622c9=_0x170be2[_0x111b72])&&(_0x2da0f6=(_0x185e96?_0x5622c9(_0x3b2e71,_0x1581d7,_0x2da0f6):_0x5622c9(_0x2da0f6))||_0x2da0f6);return _0x185e96&&_0x2da0f6&&Wo(_0x3b2e71,_0x1581d7,_0x2da0f6),_0x2da0f6;},ht=(_0x4203bc,_0x1b4bac)=>(_0x55c9a3,_0xf5e804)=>_0x1b4bac(_0x55c9a3,_0xf5e804,_0x4203bc);let os=class extends _0x7d7f86{constructor(_0x121807,_0x164ef6,_0x27b52f,_0x4982b4,_0x5e9d5f){const _0x5689e8=_0x159fb9;super(),g(this,_0x5689e8(0x132),[]),g(this,_0x5689e8(0x2bf),[]),(this['_context']=_0x121807,this[_0x5689e8(0x471)]=_0x164ef6,this['_collabCursorController']=_0x27b52f,this[_0x5689e8(0x388)]=_0x4982b4,this[_0x5689e8(0x34d)]=_0x5e9d5f,this[_0x5689e8(0x3a1)]());}[_0x159fb9(0x3a1)](){const _0x545f04=_0x159fb9,_0x4f4496=this[_0x545f04(0x442)]['unitId'],_0x437f35=this[_0x545f04(0x471)];this[_0x545f04(0x2e7)](_0x359e72([this[_0x545f04(0x283)]['getCollabCursors$'](_0x4f4496),this[_0x545f04(0x34d)][_0x545f04(0x2bd)]])[_0x545f04(0x26b)](_0x24eeb9(([_0x249b29,_0x2fb42e])=>({'skeleton':_0x437f35[_0x545f04(0x2d1)](),'cursors':[..._0x249b29[_0x545f04(0x18d)]()][_0x545f04(0xfe)](_0x57c36e=>({..._0x57c36e,'color':_0x2fb42e[_0x57c36e['color']]}))})))[_0x545f04(0x2fd)](_0x45b4e2=>{const _0x1cbe2b=_0x545f04;if(this[_0x1cbe2b(0x1fc)](),_0x45b4e2){const {skeleton:_0x7cb44,cursors:_0x4bd7b2}=_0x45b4e2;this[_0x1cbe2b(0x25f)](_0x7cb44,_0x4bd7b2);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x159fb9(0x25f)](_0x133b1d,_0x47e5bc){const _0x411bb5=_0x159fb9,{scene:_0x5a5d97,mainComponent:_0xbad949}=this[_0x411bb5(0x442)],_0x2690bf=_0x47e5bc['map'](_0x2f9c56=>new Ks(_0x2f9c56,_0x5a5d97,_0x133b1d,_0xbad949));this['_cursorShapes']=_0x2690bf,this[_0x411bb5(0x2bf)]=_0x47e5bc;}[_0x159fb9(0x179)](){const _0x39973a=_0x159fb9;this['_removeCollabCursors']();const {scene:_0x40adac,mainComponent:_0x1d586d}=this[_0x39973a(0x442)],_0x5f1dc1=this[_0x39973a(0x471)][_0x39973a(0x2d1)](),_0x352c94=this[_0x39973a(0x2bf)][_0x39973a(0x349)](_0x31ad99=>new Ks(_0x31ad99,_0x40adac,_0x5f1dc1,_0x1d586d));this[_0x39973a(0x132)]=_0x352c94;}[_0x159fb9(0x1fc)](){const _0x2d3035=_0x159fb9;this[_0x2d3035(0x132)]['forEach'](_0x4e5f1a=>_0x4e5f1a[_0x2d3035(0xda)]()),this[_0x2d3035(0x132)]=[];}['_initCommandExecutedListener'](){const _0x3011a8=_0x159fb9,_0x7d6c57=[_0x49b4e3['id']];this[_0x3011a8(0x2e7)](this[_0x3011a8(0x388)]['onCommandExecuted'](_0x5ee5a2=>{const _0x39f987=_0x3011a8;_0x7d6c57[_0x39f987(0x468)](_0x5ee5a2['id'])&&_0x5ee5a2[_0x39f987(0x11b)][_0x39f987(0x235)]===this[_0x39f987(0x442)][_0x39f987(0x235)]&&this['_refreshCollabCursors']();}));}[_0x159fb9(0x147)](){const _0xcfb2e6=_0x159fb9;this['disposeWithMe'](_0xd3c2e0(this[_0xcfb2e6(0x442)]['engine'][_0xcfb2e6(0xd2)])['pipe'](_0x1e7f12(_0x25e995=>_0x25e995['type']===_0x4319cf[_0xcfb2e6(0x1f3)]),_0x3015d8(0x10))[_0xcfb2e6(0x2fd)](()=>{const _0x26cec3=_0xcfb2e6;this[_0x26cec3(0x179)]();}));}};os=Vo([ht(0x1,_0x3e8773(_0x1b3e95)),ht(0x2,_0x3e8773(Ve)),ht(0x3,_0x1bd495),ht(0x4,_0x3e8773(_0x3c9ff6))],os);const Go=0x1,Yo=1.5;class Ko extends _0x3b774{constructor(_0x5b2833,_0x21bacb){const _0x3b24e8=_0x159fb9;super(_0x5b2833,_0x21bacb),g(this,'_color'),g(this,_0x3b24e8(0x292),!0x1),g(this,_0x3b24e8(0xdc)),g(this,_0x3b24e8(0x448),''),g(this,'_labelPosition',_0x3b24e8(0x130)),g(this,'_backgroundColor'),(_0x21bacb&&this[_0x3b24e8(0x192)](_0x21bacb),this['onPointerEnter$']['subscribeEvent'](()=>this[_0x3b24e8(0x192)]({'hovered':!0x0})),this[_0x3b24e8(0x277)][_0x3b24e8(0x3eb)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x159fb9(0x192)](_0x537bc2){const _0x2d1b61=_0x159fb9;var _0x155698,_0x2e407d,_0x4ddd5f,_0xf6991,_0x25bd16,_0xc1b4a7;this[_0x2d1b61(0x2eb)]=(_0x155698=_0x537bc2[_0x2d1b61(0x14a)])!=null?_0x155698:this[_0x2d1b61(0x2eb)],this[_0x2d1b61(0x292)]=(_0x2e407d=_0x537bc2[_0x2d1b61(0x1f5)])!=null?_0x2e407d:this[_0x2d1b61(0x292)],this[_0x2d1b61(0xdc)]=(_0x4ddd5f=_0x537bc2['range'])!=null?_0x4ddd5f:this[_0x2d1b61(0xdc)],this[_0x2d1b61(0x448)]=(_0xf6991=_0x537bc2[_0x2d1b61(0x3f3)])!=null?_0xf6991:this[_0x2d1b61(0x448)],this['_labelPosition']=(_0x25bd16=_0x537bc2[_0x2d1b61(0x37e)])!=null?_0x25bd16:this['_labelPosition'],this['_backgroundColor']=(_0xc1b4a7=_0x537bc2[_0x2d1b61(0x409)])!=null?_0xc1b4a7:this[_0x2d1b61(0x13c)],this[_0x2d1b61(0x3db)]({'width':_0x537bc2[_0x2d1b61(0x26f)],'height':_0x537bc2[_0x2d1b61(0xad)]});}['onMouseMove'](_0x285c0d){const _0x5202a9=_0x159fb9,{row:_0x3ac335,column:_0x13dd20}=_0x285c0d;if(_0x3ac335>=this[_0x5202a9(0xdc)][_0x5202a9(0x2a1)]&&_0x3ac335<=this[_0x5202a9(0xdc)][_0x5202a9(0x40f)]&&_0x13dd20>=this[_0x5202a9(0xdc)][_0x5202a9(0xe5)]&&_0x13dd20<=this[_0x5202a9(0xdc)]['endColumn']){this[_0x5202a9(0x192)]({'hovered':!0x0});return;}this[_0x5202a9(0x192)]({'hovered':!0x1});}['triggerDblclick'](_0x42239b){return!0x1;}['_draw'](_0x2097a9){const _0x2415c2=_0x159fb9;_0x1bba01[_0x2415c2(0x2b1)](_0x2097a9,{'width':this[_0x2415c2(0x26f)],'height':this[_0x2415c2(0xad)],'strokeWidth':Yo,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x2415c2(0x13c)]}),this[_0x2415c2(0x292)]&&(_0x2097a9[_0x2415c2(0x14f)](),_0x2097a9[_0x2415c2(0x268)](0x1,0x0,0x0,0x1,this[_0x2415c2(0x26f)],this[_0x2415c2(0x11d)]===_0x2415c2(0x3c1)?0x0:-nt),Ot[_0x2415c2(0x2b1)](_0x2097a9,{'text':this[_0x2415c2(0x448)],'color':this[_0x2415c2(0x2eb)]}),_0x2097a9['restore']());}}var zo=Object[_0x159fb9(0xcf)],qo=Object[_0x159fb9(0x37a)],Xo=(_0x30401b,_0x335124,_0x2aa9e6,_0x3b09d7)=>{const _0x463e76=_0x159fb9;for(var _0x3294d3=_0x3b09d7>0x1?void 0x0:_0x3b09d7?qo(_0x335124,_0x2aa9e6):_0x335124,_0x1f41b9=_0x30401b[_0x463e76(0x3e5)]-0x1,_0x136bc4;_0x1f41b9>=0x0;_0x1f41b9--)(_0x136bc4=_0x30401b[_0x1f41b9])&&(_0x3294d3=(_0x3b09d7?_0x136bc4(_0x335124,_0x2aa9e6,_0x3294d3):_0x136bc4(_0x3294d3))||_0x3294d3);return _0x3b09d7&&_0x3294d3&&zo(_0x335124,_0x2aa9e6,_0x3294d3),_0x3294d3;},kt=(_0x19f973,_0x4eca33)=>(_0x38b1ea,_0x43d41e)=>_0x4eca33(_0x38b1ea,_0x43d41e,_0x19f973);const Jo=0x1389;let as=class extends _0x7d7f86{constructor(_0x2cd6ee,_0x1756b4,_0x4ed0fa,_0x25a7e7){const _0x79149c=_0x159fb9;super(),g(this,_0x79149c(0x2bf),new Set()),g(this,'_lastPointer',null),(this['_context']=_0x2cd6ee,this[_0x79149c(0x4a2)]=_0x1756b4,this[_0x79149c(0x283)]=_0x4ed0fa,this['_themeService']=_0x25a7e7,this[_0x79149c(0x3a1)]());}[_0x159fb9(0x3a1)](){const _0x44ad5a=_0x159fb9;this['_sheetSkeletonManagerService'][_0x44ad5a(0x3d2)][_0x44ad5a(0x26b)](_0x1775d8(this[_0x44ad5a(0x1ef)]),_0x214e84(_0x2d7b34=>{const _0x4c249c=_0x44ad5a;if(_0x2d7b34){const _0x315ea1=_0x2d7b34['sheetId'];return _0x359e72(this[_0x4c249c(0x283)][_0x4c249c(0xe1)](this[_0x4c249c(0x442)][_0x4c249c(0x235)]),this[_0x4c249c(0x34d)][_0x4c249c(0x2bd)])[_0x4c249c(0x26b)](_0x24eeb9(([_0x2233ed,_0x3ccfce])=>{const _0x21765c=_0x4c249c,_0x2ba274=new Map();return _0x2233ed[_0x21765c(0x30e)]((_0x534bc7,_0x22edc8)=>{const _0x39ffdd=_0x21765c;if(_0x534bc7['sheetID']===_0x315ea1){const _0x422cd2={..._0x534bc7};_0x422cd2['color']=_0x3ccfce[_0x534bc7[_0x39ffdd(0x14a)]],_0x2ba274['set'](_0x22edc8,_0x422cd2);}}),{'skeleton':_0x2d7b34,'cursors':_0x2ba274};}));}return _0x3f0552({'skeleton':null,'cursors':new Map()});}))[_0x44ad5a(0x2fd)](({skeleton:_0x4db1cf,cursors:_0x1d8d63})=>{const _0x493c89=_0x44ad5a;this['_removeCollabCursors'](),_0x4db1cf&&this[_0x493c89(0x25f)](_0x4db1cf,_0x1d8d63);}),this[_0x44ad5a(0x4a2)][_0x44ad5a(0x3d2)][_0x44ad5a(0x2fd)](_0x329a21=>{const _0x5a1ef5=_0x44ad5a;if(_0x329a21==null)return;const {skeleton:_0x19de50}=_0x329a21,{scene:_0x4a8299}=this['_context'];_0x4a8299[_0x5a1ef5(0x100)][_0x5a1ef5(0x3eb)](_0x4222d7(_0x14be3c=>{const _0x48e66c=_0x5a1ef5;var _0x2f7208,_0x55aa45;const {offsetX:_0x3f9639,offsetY:_0x3b8279}=_0x14be3c,{x:_0x365e33,y:_0xb03e0b}=_0x4a8299[_0x48e66c(0x153)](_0x2028a1[_0x48e66c(0x1bb)]([_0x3f9639,_0x3b8279])),{scaleX:_0x231201,scaleY:_0x44880e}=_0x4a8299[_0x48e66c(0xcb)](),_0x3adc03=_0x4a8299[_0x48e66c(0x250)](_0x22231['VIEW_MAIN']),_0x518dcc=_0x4a8299['getVpScrollXYInfoByPosToVp'](_0x2028a1[_0x48e66c(0x1bb)]([_0x365e33,_0xb03e0b]),_0x3adc03),_0x1c1e71=_0x19de50['getCellPositionByOffset'](_0x3f9639,_0x3b8279,_0x231201,_0x44880e,_0x518dcc);((_0x2f7208=this[_0x48e66c(0x397)])==null?void 0x0:_0x2f7208[_0x48e66c(0x416)])===_0x1c1e71[_0x48e66c(0x416)]&&((_0x55aa45=this[_0x48e66c(0x397)])==null?void 0x0:_0x55aa45[_0x48e66c(0x1b8)])===_0x1c1e71[_0x48e66c(0x1b8)]||this[_0x48e66c(0x2bf)]['forEach'](_0x1be81d=>{const _0x1dce73=_0x48e66c;_0x1be81d[_0x1dce73(0x3c7)](_0x1c1e71);});},0x64));});}[_0x159fb9(0x25f)](_0x1a0d16,_0x5792db){const _0x42c9ce=_0x159fb9;var _0xc05149;const _0x1d193f=(_0xc05149=this[_0x42c9ce(0x4a2)][_0x42c9ce(0x238)]())==null?void 0x0:_0xc05149[_0x42c9ce(0x244)];if(!_0x1d193f)return;const _0x40ace9=this[_0x42c9ce(0x353)]();if(!_0x40ace9)return;this[_0x42c9ce(0x2bf)][_0x42c9ce(0x30e)](_0x4bd693=>{_0x4bd693['makeDirty']();});const {scene:_0x1b1a5b}=_0x40ace9,_0x561a1f=Zo(Array['from'](_0x5792db[_0x42c9ce(0x18d)]()))['map'](_0x1ff22a=>{const _0xd879b6=_0x42c9ce,{color:_0x3bf5d6,range:_0x28a82d,name:_0x230595,selection:_0x18d1d8,sheetID:_0x1166d2}=_0x1ff22a,{startColumn:_0x23bf41,startRow:_0x263858,endColumn:_0x4ac93e,endRow:_0x285097}=_0x28a82d,_0xbf8f9b=_0x543525(_0x263858,_0x23bf41,_0x1b1a5b,_0x1d193f),_0x54a98a=_0x543525(_0x285097,_0x4ac93e,_0x1b1a5b,_0x1d193f),{columnHeaderHeightAndMarginTop:_0x2b4f5b}=_0x1d193f,{startX:_0x55357b,startY:_0x4b3669}=_0xbf8f9b,{endX:_0xf451c2,endY:_0x3af752}=_0x54a98a,_0x329b95=_0xf451c2-_0x55357b,_0xc2a1a0=_0x3af752-_0x4b3669,_0x26cf98={'labelPosition':_0x4b3669-_0x2b4f5b>=nt?_0xd879b6(0x130):'bottom','sheetID':_0x1166d2,'range':_0x28a82d,'color':_0x3bf5d6,'name':_0x230595,'selection':_0x18d1d8,'left':_0x55357b,'top':_0x4b3669,'width':_0x329b95,'height':_0xc2a1a0,'evented':!0x1,'zIndex':Jo};return new Ko(_0x230595,_0x26cf98);});_0x1b1a5b[_0x42c9ce(0x205)](_0x561a1f,Go),this['_cursors']=new Set(_0x561a1f);}[_0x159fb9(0x1fc)](){const _0x12a31e=_0x159fb9;var _0xb3212c;(_0xb3212c=this[_0x12a31e(0x2bf)])==null||_0xb3212c['forEach'](_0x3f0571=>_0x3f0571[_0x12a31e(0xda)]());}[_0x159fb9(0x353)](){const _0x23620d=_0x159fb9;return _0x57be16(this[_0x23620d(0x442)]['unit'],this['_context']);}};as=Xo([kt(0x1,_0x3e8773(_0xaebadb)),kt(0x2,_0x3e8773(Ve)),kt(0x3,_0x3e8773(_0x3c9ff6))],as);function Zo(_0x462a2f){const _0x5a2016=_0x159fb9,_0x4470e7=new Map();return _0x462a2f[_0x5a2016(0x30e)](_0x3da3a5=>{const _0x59efa2=_0x5a2016;if(_0x4470e7[_0x59efa2(0x375)](_0x3da3a5[_0x59efa2(0x15e)])){const _0x1432dd=_0x4470e7[_0x59efa2(0x413)](_0x3da3a5[_0x59efa2(0x15e)]);_0x1432dd[_0x59efa2(0x3f3)]+=',\x20'+_0x3da3a5[_0x59efa2(0x3f3)];}else _0x4470e7['set'](_0x3da3a5[_0x59efa2(0x15e)],_0x3da3a5);}),Array[_0x5a2016(0x3a5)](_0x4470e7[_0x5a2016(0x18d)]());}var ee=function(){const _0x4733f9=_0x159fb9;return ee=Object[_0x4733f9(0x198)]||function(_0x2a63ab){const _0x4a651b=_0x4733f9;for(var _0x5a15bc,_0x478d0e=0x1,_0x19dfb0=arguments[_0x4a651b(0x3e5)];_0x478d0e<_0x19dfb0;_0x478d0e++){_0x5a15bc=arguments[_0x478d0e];for(var _0x1d8fa2 in _0x5a15bc)Object[_0x4a651b(0x43d)][_0x4a651b(0x28f)]['call'](_0x5a15bc,_0x1d8fa2)&&(_0x2a63ab[_0x1d8fa2]=_0x5a15bc[_0x1d8fa2]);}return _0x2a63ab;},ee[_0x4733f9(0x2b8)](this,arguments);},Qo=function(_0x13c6d4,_0xf88371){const _0x46364b=_0x159fb9;var _0x33e31a={};for(var _0x148763 in _0x13c6d4)Object[_0x46364b(0x43d)]['hasOwnProperty'][_0x46364b(0x45a)](_0x13c6d4,_0x148763)&&_0xf88371[_0x46364b(0x10a)](_0x148763)<0x0&&(_0x33e31a[_0x148763]=_0x13c6d4[_0x148763]);if(_0x13c6d4!=null&&typeof Object[_0x46364b(0x136)]==_0x46364b(0x115)){for(var _0x54256d=0x0,_0x148763=Object[_0x46364b(0x136)](_0x13c6d4);_0x54256d<_0x148763[_0x46364b(0x3e5)];_0x54256d++)_0xf88371['indexOf'](_0x148763[_0x54256d])<0x0&&Object[_0x46364b(0x43d)][_0x46364b(0x249)]['call'](_0x13c6d4,_0x148763[_0x54256d])&&(_0x33e31a[_0x148763[_0x54256d]]=_0x13c6d4[_0x148763[_0x54256d]]);}return _0x33e31a;},Ts=_0x1ac654(function(_0xd117c2,_0x527e6c){const _0x45d510=_0x159fb9;var _0x1bdc89=_0xd117c2[_0x45d510(0x2f0)],_0x235a1e=_0xd117c2['id'],_0x5143bd=_0xd117c2[_0x45d510(0x425)],_0x1ef9d4=_0xd117c2[_0x45d510(0x392)],_0x671ebe=Qo(_0xd117c2,[_0x45d510(0x2f0),'id',_0x45d510(0x425),_0x45d510(0x392)]),_0x379893=_0x45d510(0x34c)['concat'](_0x235a1e,'\x20')[_0x45d510(0x1d2)](_0x5143bd||'')[_0x45d510(0xdf)](),_0x2f8484=_0x2b0e32('_'['concat'](sa()));return Mi(_0x1bdc89,''['concat'](_0x235a1e),{'defIds':_0x1bdc89[_0x45d510(0x19d)],'idSuffix':_0x2f8484['current']},ee({'ref':_0x527e6c,'className':_0x379893},_0x671ebe),_0x1ef9d4);});function Mi(_0x371d86,_0x2333f3,_0x3b4452,_0x104f82,_0x17d4cd){const _0x11a893=_0x159fb9;return _0x48c9b2(_0x371d86[_0x11a893(0xfd)],ee(ee({'key':_0x2333f3},ea(_0x371d86,_0x3b4452,_0x17d4cd)),_0x104f82),(ta(_0x371d86,_0x3b4452)['children']||[])['map'](function(_0x306518,_0x564b4c){const _0xf0c55e=_0x11a893;return Mi(_0x306518,''['concat'](_0x2333f3,'-')[_0xf0c55e(0x1d2)](_0x371d86[_0xf0c55e(0xfd)],'-')['concat'](_0x564b4c),_0x3b4452,void 0x0,_0x17d4cd);}));}function ea(_0x15b603,_0x4f6a6c,_0x52069e){const _0x12c273=_0x159fb9;var _0x48e54e=ee({},_0x15b603['attrs']);_0x52069e!=null&&_0x52069e[_0x12c273(0x47c)]&&_0x48e54e['fill']===_0x12c273(0x47c)&&(_0x48e54e[_0x12c273(0x1a7)]=_0x52069e[_0x12c273(0x47c)]);var _0x47befb=_0x4f6a6c[_0x12c273(0x19d)];return!_0x47befb||_0x47befb[_0x12c273(0x3e5)]===0x0||(_0x15b603['tag']===_0x12c273(0x46b)&&_0x48e54e['xlink:href']&&(_0x48e54e[_0x12c273(0x49d)]=_0x48e54e[_0x12c273(0x49d)]+_0x4f6a6c[_0x12c273(0x3c0)]),Object[_0x12c273(0x162)](_0x48e54e)[_0x12c273(0x30e)](function(_0x645512){const _0x5262ed=_0x12c273;var _0x2827de=_0x645512[0x0],_0x3e9122=_0x645512[0x1];typeof _0x3e9122=='string'&&(_0x48e54e[_0x2827de]=_0x3e9122[_0x5262ed(0x377)](/url\(#(.*)\)/,'url(#$1'[_0x5262ed(0x1d2)](_0x4f6a6c['idSuffix'],')')));})),_0x48e54e;}function ta(_0x32dd9f,_0x28b936){const _0x47fafa=_0x159fb9;var _0x7eaa35,_0x10dd61=_0x28b936[_0x47fafa(0x19d)];return!_0x10dd61||_0x10dd61[_0x47fafa(0x3e5)]===0x0?_0x32dd9f:_0x32dd9f['tag']===_0x47fafa(0x1d7)&&(!((_0x7eaa35=_0x32dd9f[_0x47fafa(0x31f)])===null||_0x7eaa35===void 0x0)&&_0x7eaa35[_0x47fafa(0x3e5)])?ee(ee({},_0x32dd9f),{'children':_0x32dd9f[_0x47fafa(0x31f)][_0x47fafa(0x349)](function(_0x2c20c9){const _0x196237=_0x47fafa;return typeof _0x2c20c9[_0x196237(0x422)]['id']==_0x196237(0xde)&&_0x10dd61&&_0x10dd61[_0x196237(0x10a)](_0x2c20c9[_0x196237(0x422)]['id'])>-0x1?ee(ee({},_0x2c20c9),{'attrs':ee(ee({},_0x2c20c9[_0x196237(0x422)]),{'id':_0x2c20c9[_0x196237(0x422)]['id']+_0x28b936[_0x196237(0x3c0)]})}):_0x2c20c9;})}):_0x32dd9f;}function sa(){return Math['random']()['toString'](0x24)['substring'](0x2,0x8);}Ts[_0x159fb9(0x3f4)]=_0x159fb9(0x22a);var ia={'tag':_0x159fb9(0x38b),'attrs':{'fill':'none','viewBox':_0x159fb9(0x444),'width':_0x159fb9(0x415),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x159fb9(0x43f)},'children':[{'tag':'path','attrs':{'stroke':_0x159fb9(0x161),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x159fb9(0x17c),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x159fb9(0x1d7),'attrs':{},'children':[{'tag':_0x159fb9(0x226),'attrs':{'id':_0x159fb9(0x286)},'children':[{'tag':_0x159fb9(0x3aa),'attrs':{'fill':'#fff','d':_0x159fb9(0x140)}}]}]}],'defIds':[_0x159fb9(0x286)]},xi=_0x1ac654(function(_0x1d1a43,_0x384c61){const _0x95c376=_0x159fb9;return _0x48c9b2(Ts,Object[_0x95c376(0x198)]({},_0x1d1a43,{'id':_0x95c376(0x199),'ref':_0x384c61,'icon':ia}));});xi[_0x159fb9(0x3f4)]='OffLineSingle';var na={'tag':_0x159fb9(0x38b),'attrs':{'fill':_0x159fb9(0x167),'viewBox':_0x159fb9(0x264),'width':_0x159fb9(0x415),'height':_0x159fb9(0x415)},'children':[{'tag':'g','attrs':{'clipPath':_0x159fb9(0x1ca)},'children':[{'tag':'path','attrs':{'stroke':_0x159fb9(0x161),'d':_0x159fb9(0x453),'strokeLinecap':_0x159fb9(0x17c),'strokeLinejoin':_0x159fb9(0x17c),'strokeWidth':1.2}}]},{'tag':_0x159fb9(0x1d7),'attrs':{},'children':[{'tag':_0x159fb9(0x226),'attrs':{'id':_0x159fb9(0x4ac)},'children':[{'tag':_0x159fb9(0x3aa),'attrs':{'fill':_0x159fb9(0x12e),'d':_0x159fb9(0x140),'transform':_0x159fb9(0xec)}}]}]}],'defIds':['on-line-single_clip0_910_349']},Li=_0x1ac654(function(_0x3ae8d9,_0x4058b2){const _0xbdc6ba=_0x159fb9;return _0x48c9b2(Ts,Object[_0xbdc6ba(0x198)]({},_0x3ae8d9,{'id':_0xbdc6ba(0x49e),'ref':_0x4058b2,'icon':na}));});Li[_0x159fb9(0x3f4)]=_0x159fb9(0x46f);function $i(_0x1720fa){const _0x5769cf=_0x159fb9;var _0x3b5850,_0x13a6dc,_0x113553='';if(typeof _0x1720fa=='string'||typeof _0x1720fa=='number')_0x113553+=_0x1720fa;else{if(typeof _0x1720fa==_0x5769cf(0xaf)){if(Array[_0x5769cf(0x126)](_0x1720fa)){var _0x1a7e8d=_0x1720fa[_0x5769cf(0x3e5)];for(_0x3b5850=0x0;_0x3b5850<_0x1a7e8d;_0x3b5850++)_0x1720fa[_0x3b5850]&&(_0x13a6dc=$i(_0x1720fa[_0x3b5850]))&&(_0x113553&&(_0x113553+='\x20'),_0x113553+=_0x13a6dc);}else{for(_0x13a6dc in _0x1720fa)_0x1720fa[_0x13a6dc]&&(_0x113553&&(_0x113553+='\x20'),_0x113553+=_0x13a6dc);}}}return _0x113553;}function ra(){const _0x14ceb7=_0x159fb9;for(var _0x26c633,_0x37560f,_0x5d3257=0x0,_0x715ba0='',_0x129f63=arguments[_0x14ceb7(0x3e5)];_0x5d3257<_0x129f63;_0x5d3257++)(_0x26c633=arguments[_0x5d3257])&&(_0x37560f=$i(_0x26c633))&&(_0x715ba0&&(_0x715ba0+='\x20'),_0x715ba0+=_0x37560f);return _0x715ba0;}const oa=_0x159fb9(0x3a4),aa=_0x159fb9(0x466),ca=_0x159fb9(0x31d),ha=_0x159fb9(0xca),la='univer-offline',Ze={'onlineStatusIcon':oa,'onlineStatusTitle':aa,'onlineStatus':ca,'online':ha,'offline':la};function _a(_0x50a69a){const _0x1b2e08=_0x159fb9;switch(_0x50a69a){case J[_0x1b2e08(0x2e8)]:return _0x1b2e08(0x29a);case J[_0x1b2e08(0xba)]:return _0x1b2e08(0x253);case J[_0x1b2e08(0x29e)]:return'collabStatus.fetchMiss';case J[_0x1b2e08(0x2d4)]:return _0x1b2e08(0xfb);case J[_0x1b2e08(0x185)]:case J[_0x1b2e08(0x32b)]:return _0x1b2e08(0x341);case J[_0x1b2e08(0x22d)]:case J[_0x1b2e08(0x180)]:return _0x1b2e08(0x1ee);}}function ua(_0x544340){const _0x3e422a=_0x159fb9,{status$:_0x136c73}=_0x544340,_0x2634af=_0x5baee7(_0x136c73,J[_0x3e422a(0x2d4)]),_0x19b252=_0x54cbeb(_0x51cff0),_0x54e914=_0x54cbeb(Ae),_0x122978=_0x2634af!==J['OFFLINE'],_0x54473f=_0x19b252['t'](_a(_0x2634af)),_0xd68da8=ra(Ze['onlineStatus'],{[Ze[_0x3e422a(0x352)]]:_0x122978,[Ze[_0x3e422a(0x133)]]:!_0x122978}),_0x1af03e=_0x122978?_0xc50dfc[_0x3e422a(0x2ed)](Li,null):_0xc50dfc[_0x3e422a(0x2ed)](xi,null),_0x149955=_0x2e422b(()=>{const _0x3d0177=_0x3e422a;_0x122978||_0x54e914[_0x3d0177(0x139)]();},[_0x122978,_0x54e914]);function _0x314392(){const _0x2f0457=_0x3e422a;return _0xc50dfc['createElement'](_0x2f0457(0x1db),{'className':_0xd68da8,'onClick':_0x149955},_0xc50dfc[_0x2f0457(0x2ed)]('div',{'className':Ze[_0x2f0457(0x443)]},_0x1af03e),_0xc50dfc[_0x2f0457(0x2ed)](_0x2f0457(0x1db),{'className':Ze[_0x2f0457(0x207)]},_0x54473f));}return _0x122978?_0x314392():_0xc50dfc[_0x3e422a(0x2ed)](_0x2300df,{'title':_0x19b252['t'](_0x3e422a(0xb9))},_0x314392());}var da=Object['defineProperty'],fa=Object[_0x159fb9(0x37a)],va=(_0x577cc5,_0x2a7e6f,_0x773cd2,_0xe11031)=>{const _0x9cd87a=_0x159fb9;for(var _0x3bbaa7=_0xe11031>0x1?void 0x0:_0xe11031?fa(_0x2a7e6f,_0x773cd2):_0x2a7e6f,_0x1a52e1=_0x577cc5[_0x9cd87a(0x3e5)]-0x1,_0x2742ca;_0x1a52e1>=0x0;_0x1a52e1--)(_0x2742ca=_0x577cc5[_0x1a52e1])&&(_0x3bbaa7=(_0xe11031?_0x2742ca(_0x2a7e6f,_0x773cd2,_0x3bbaa7):_0x2742ca(_0x3bbaa7))||_0x3bbaa7);return _0xe11031&&_0x3bbaa7&&da(_0x2a7e6f,_0x773cd2,_0x3bbaa7),_0x3bbaa7;},lt=(_0x1d1940,_0x2f09fa)=>(_0x3ad385,_0x536ccb)=>_0x2f09fa(_0x3ad385,_0x536ccb,_0x1d1940);let It=class extends _0x10d2e7{constructor(_0x17312f,_0xc56e6f,_0x1f71e6,_0x2ee6f0){const _0x58ef5c=_0x159fb9;super(),g(this,_0x58ef5c(0x3e0),new _0x4cf3b1(J[_0x58ef5c(0x2d4)])),(this[_0x58ef5c(0x116)]=_0x17312f,this['_uiPartsService']=_0xc56e6f,this['_injector']=_0x1f71e6,this[_0x58ef5c(0x2dd)]=_0x2ee6f0,this['_initStatusComponent'](),this[_0x58ef5c(0x186)]());}[_0x159fb9(0x186)](){const _0x316b24=_0x159fb9;this['disposeWithMe'](this[_0x316b24(0x116)][_0x316b24(0x405)][_0x316b24(0x26b)](_0x33575c(()=>{const _0x3da621=_0x316b24,_0x3799dc=this[_0x3da621(0x116)][_0x3da621(0x24f)]();return _0x3799dc?this['_collaborationController'][_0x3da621(0x28c)](_0x3799dc[_0x3da621(0xd4)]()):_0x3f0552(null);}),_0x33575c(_0x47fc26=>_0x47fc26?_0x47fc26['status$']:_0x3f0552(J[_0x316b24(0x2d4)])))[_0x316b24(0x2fd)](_0x281a28=>{const _0xa30543=_0x316b24;this[_0xa30543(0x3e0)][_0xa30543(0x22f)](_0x281a28);}));}[_0x159fb9(0x3c3)](){const _0x11ce9c=_0x159fb9;this[_0x11ce9c(0x2e7)](this[_0x11ce9c(0x472)][_0x11ce9c(0x31b)](_0x2d0c0e[_0x11ce9c(0x23a)],()=>_0xfb686e(ma({'status$':this[_0x11ce9c(0x3e0)]['asObservable']()}),this[_0x11ce9c(0x1d9)])));}};It=va([lt(0x0,_0x40ba52),lt(0x1,_0x4a5d99),lt(0x2,_0x3e8773(_0x3371c0)),lt(0x3,_0x3e8773(it))],It);function ma(_0x39a9fc){const {status$:_0x50e83f}=_0x39a9fc;return function(){const _0x30cee4=_0x4457;return _0xc50dfc[_0x30cee4(0x2ed)](ua,{'status$':_0x50e83f});};}const Hi=_0x12029c(_0x159fb9(0x492));var pa=Object['defineProperty'],ga=Object[_0x159fb9(0x37a)],Sa=(_0x42caf8,_0x82f9a,_0x2bd32a,_0x4dc8ea)=>{const _0x2b82bc=_0x159fb9;for(var _0x12e323=_0x4dc8ea>0x1?void 0x0:_0x4dc8ea?ga(_0x82f9a,_0x2bd32a):_0x82f9a,_0x26fe93=_0x42caf8[_0x2b82bc(0x3e5)]-0x1,_0x3d9c24;_0x26fe93>=0x0;_0x26fe93--)(_0x3d9c24=_0x42caf8[_0x26fe93])&&(_0x12e323=(_0x4dc8ea?_0x3d9c24(_0x82f9a,_0x2bd32a,_0x12e323):_0x3d9c24(_0x12e323))||_0x12e323);return _0x4dc8ea&&_0x12e323&&pa(_0x82f9a,_0x2bd32a,_0x12e323),_0x12e323;},ke=(_0x525368,_0x3ccce3)=>(_0xfd4a37,_0x45fd6)=>_0x3ccce3(_0xfd4a37,_0x45fd6,_0x525368);let Ct=class extends _0x7d7f86{constructor(_0x4baacb,_0xcdbc72,_0x1bfc88,_0x12283d,_0x4e222b,_0x1b4341){const _0x31f6a3=_0x159fb9;super(),this[_0x31f6a3(0x42c)]=_0x4baacb,this[_0x31f6a3(0x461)]=_0xcdbc72,this[_0x31f6a3(0x388)]=_0x1bfc88,this[_0x31f6a3(0x45f)]=_0x12283d,this[_0x31f6a3(0x300)]=_0x4e222b,_0x1b4341?_0x1b4341==null||_0x1b4341[_0x31f6a3(0x177)]()[_0x31f6a3(0x171)](()=>this[_0x31f6a3(0x3a1)]()):(this[_0x31f6a3(0x461)]['debug'](_0x31f6a3(0x3b3),_0x31f6a3(0x206)),this['_init']());}async[_0x159fb9(0x3a1)](){const _0x460701=_0x159fb9,_0x4a5d7f=this['_urlService']['getParam'](_0x460701(0x1f7)),_0x548f61=this[_0x460701(0x42c)][_0x460701(0x34e)]('type');if(!_0x4a5d7f||!_0x548f61){this[_0x460701(0x461)][_0x460701(0x4b0)](_0x460701(0x3b3),_0x460701(0x24a));return;}switch(Number(_0x548f61)){case ce[_0x460701(0x166)]:{const _0x47b812=await this['_loadSheet'](_0x4a5d7f);this['_setupSubUnitSync'](_0x47b812);break;}case ce[_0x460701(0x44a)]:{await this[_0x460701(0x32f)](_0x4a5d7f);break;}default:{this[_0x460701(0x461)][_0x460701(0x441)](_0x460701(0x3b3),_0x460701(0x47f));break;}}}async['_setupSubUnitSync'](_0x2df904){const _0x112d62=_0x159fb9;await this[_0x112d62(0xb8)](_0x2df904),_0x2df904[_0x112d62(0x23d)]['pipe'](_0x514462(this[_0x112d62(0x1ef)]))[_0x112d62(0x2fd)](_0x1eecb9=>{const _0x484d7c=_0x112d62;_0x1eecb9&&this[_0x484d7c(0x1f2)](_0x1eecb9);}),this[_0x112d62(0x42c)][_0x112d62(0x20f)][_0x112d62(0x26b)](_0x514462(this[_0x112d62(0x1ef)]))[_0x112d62(0x2fd)](()=>this[_0x112d62(0xb8)](_0x2df904));}['_updateURLWithCurrentState'](_0x613b4f,_0xea99b=!0x1){const _0x3c6807=_0x159fb9,_0xa0fce4=this[_0x3c6807(0x42c)][_0x3c6807(0x34e)](_0x3c6807(0x428));_0x613b4f[_0x3c6807(0xc7)]()!==_0xa0fce4&&this[_0x3c6807(0x42c)]['setParam']('subunit',_0x613b4f[_0x3c6807(0xc7)](),_0xea99b);}async[_0x159fb9(0xb8)](_0x529d84){const _0x5d1d7b=_0x159fb9;var _0x17f568;const _0xbcea3a=this['_urlService']['getParam'](_0x5d1d7b(0x428));if(!_0xbcea3a||!_0x529d84[_0x5d1d7b(0x356)](_0xbcea3a)){const _0x85876c=_0x529d84['getUnhiddenWorksheets']()[0x0],_0x35d126=_0x529d84[_0x5d1d7b(0x356)](_0x85876c);if(!_0x35d126)return;this[_0x5d1d7b(0x1f2)](_0x35d126,!0x0),await this[_0x5d1d7b(0x388)][_0x5d1d7b(0xeb)](_0x135826['id'],{'unitId':_0x529d84[_0x5d1d7b(0xd4)](),'subUnitId':_0x85876c});return;}((_0x17f568=_0x529d84['getActiveSheet']())==null?void 0x0:_0x17f568[_0x5d1d7b(0xc7)]())!==_0xbcea3a&&await this[_0x5d1d7b(0x388)][_0x5d1d7b(0xeb)](_0x135826['id'],{'unitId':_0x529d84[_0x5d1d7b(0xd4)](),'subUnitId':_0xbcea3a});}async[_0x159fb9(0x48c)](_0x4dd105){const _0x1d0804=_0x159fb9;let _0x570d12=0x0;const _0x551a57=await this[_0x1d0804(0x45f)][_0x1d0804(0x2d5)](_0x4dd105);return _0x551a57&&(_0x551a57[_0x1d0804(0x27d)]||_0x551a57['mutations'][_0x1d0804(0x3e5)]!==0x0)&&(_0x570d12=_0x551a57[_0x1d0804(0x43a)]),_0x570d12===0x0&&this[_0x1d0804(0x461)]['debug'](_0x1d0804(0x3b3),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService'][_0x1d0804(0x225)](_0x4dd105,_0x570d12);}async[_0x159fb9(0x32f)](_0x5f4ed3){const _0x46189f=_0x159fb9;let _0x212aaf=0x0;const _0x5b0fed=await this[_0x46189f(0x45f)][_0x46189f(0x2d5)](_0x5f4ed3);return _0x5b0fed&&(_0x5b0fed[_0x46189f(0x27d)]||_0x5b0fed['mutations'][_0x46189f(0x3e5)]!==0x0)&&(_0x212aaf=_0x5b0fed[_0x46189f(0x43a)]),_0x212aaf===0x0&&this[_0x46189f(0x461)][_0x46189f(0x4b0)](_0x46189f(0x3b3),_0x46189f(0x111)),this['_snapshotService']['loadDoc'](_0x5f4ed3,_0x212aaf);}};Ct=Sa([ke(0x0,Hi),ke(0x1,_0x3738e4),ke(0x2,_0x1bd495),ke(0x3,_0x3e8773(q)),ke(0x4,_0x3e8773(_0x33ed43)),ke(0x5,_0x24e594(_0x1b6d3d))],Ct);var Ia=Object['defineProperty'],Ca=Object[_0x159fb9(0x37a)],Ea=(_0x2804cc,_0x1a1b72,_0x31805a,_0x51b660)=>{for(var _0x163f45=_0x51b660>0x1?void 0x0:_0x51b660?Ca(_0x1a1b72,_0x31805a):_0x1a1b72,_0x2fde86=_0x2804cc['length']-0x1,_0x45c031;_0x2fde86>=0x0;_0x2fde86--)(_0x45c031=_0x2804cc[_0x2fde86])&&(_0x163f45=(_0x51b660?_0x45c031(_0x1a1b72,_0x31805a,_0x163f45):_0x45c031(_0x163f45))||_0x163f45);return _0x51b660&&_0x163f45&&Ia(_0x1a1b72,_0x31805a,_0x163f45),_0x163f45;},zs=(_0x2e0263,_0x1e5fac)=>(_0x5e7e1e,_0x5dcc35)=>_0x1e5fac(_0x5e7e1e,_0x5dcc35,_0x2e0263);const ba=_0x159fb9(0x2c3),Ta='Univer';let Et=class extends _0x10d2e7{constructor(_0x10f57c,_0x1346e8){const _0x3a7e74=_0x159fb9;super(),this[_0x3a7e74(0x116)]=_0x10f57c,this['_configService']=_0x1346e8,this['_init']();}[_0x159fb9(0x3a1)](){const _0x389c4a=_0x159fb9;this[_0x389c4a(0x2e7)](this[_0x389c4a(0x116)][_0x389c4a(0x405)][_0x389c4a(0x2fd)](()=>{const _0x176d8f=_0x389c4a;var _0x374c36;const _0x1a739d=this[_0x176d8f(0x116)][_0x176d8f(0x24f)]();let _0x3faae5=(_0x374c36=this['_configService'][_0x176d8f(0x2e1)](ba))!=null?_0x374c36:Ta;_0x1a739d instanceof _0x54374d&&(_0x3faae5=_0x1a739d[_0x176d8f(0x3f3)]),document[_0x176d8f(0x35b)]=_0x3faae5;}));}};Et=Ea([zs(0x0,_0x40ba52),zs(0x1,_0x3ade87)],Et);var Ra=Object[_0x159fb9(0xcf)],ya=Object['getOwnPropertyDescriptor'],Oa=(_0x1c2e45,_0x24b8aa,_0x1af03b,_0x5d2242)=>{const _0x2c65f9=_0x159fb9;for(var _0x3c4d2a=_0x5d2242>0x1?void 0x0:_0x5d2242?ya(_0x24b8aa,_0x1af03b):_0x24b8aa,_0x2f164f=_0x1c2e45[_0x2c65f9(0x3e5)]-0x1,_0xb8d657;_0x2f164f>=0x0;_0x2f164f--)(_0xb8d657=_0x1c2e45[_0x2f164f])&&(_0x3c4d2a=(_0x5d2242?_0xb8d657(_0x24b8aa,_0x1af03b,_0x3c4d2a):_0xb8d657(_0x3c4d2a))||_0x3c4d2a);return _0x5d2242&&_0x3c4d2a&&Ra(_0x24b8aa,_0x1af03b,_0x3c4d2a),_0x3c4d2a;},Wt=(_0x14f5e3,_0x2fe571)=>(_0x39f902,_0x1de439)=>_0x2fe571(_0x39f902,_0x1de439,_0x14f5e3);let bt=class{constructor(_0x3e0cb0,_0x5adee5,_0x55d0de){const _0x3b0f89=_0x159fb9;this[_0x3b0f89(0x18b)]=_0x3e0cb0,this[_0x3b0f89(0xb4)]=_0x5adee5,this[_0x3b0f89(0x28a)]=_0x55d0de,this['init']();}['init'](){const _0x5d698e=_0x159fb9;this['_httpService'][_0x5d698e(0x102)]({'priority':0x1,'interceptor':(_0x6a88bd,_0x29d573)=>_0x29d573(_0x6a88bd)['pipe'](_0x2cba6f(async _0x472854=>{const _0x3dd1d7=_0x5d698e,_0x36d96e=_0x472854;if(_0x36d96e[_0x3dd1d7(0x2c6)]===0x191&&window['confirm'](this[_0x3dd1d7(0x28a)]['t'](_0x3dd1d7(0x276)))){const _0x1d8ed8=window[_0x3dd1d7(0xf3)](window[_0x3dd1d7(0x4ad)][_0x3dd1d7(0x38c)]);window[_0x3dd1d7(0x4ad)][_0x3dd1d7(0x38c)]=this[_0x3dd1d7(0x371)]()+'?url='+_0x1d8ed8;}return _0x36d96e;}))});}['_getLoginPath'](){const _0x1706fc=_0x159fb9;var _0x3a5d75,_0x4d8e9c;const _0x136bd=this[_0x1706fc(0x18b)][_0x1706fc(0x2e1)](Ir),_0x515f61=this[_0x1706fc(0x18b)][_0x1706fc(0x2e1)](ie);return(_0x4d8e9c=(_0x3a5d75=_0x515f61==null?void 0x0:_0x515f61[_0x1706fc(0x304)])!=null?_0x3a5d75:_0x136bd)!=null?_0x4d8e9c:Cr;}};function _0x60b8(){const _0x515565=['_hasher','_sendingTimer','online','_getSheetObject','_toggleOnline','byteOffset','getSheetBySheetId','liveShareOperation','all','_telemetryService','clear','title','find','onRemoteRetry','UnitEmbedded','save\x20fail\x20reason\x20is\x20','socket$','editingUnit','_scheduleSaving','_sessions','removeMember','_getAPIPrefixPath','enableSingleActiveInstanceLock','unload','_initRequestHeader','_docSyncEditingCollabCursorService','retryConnectingInterval','_onRecvEvent','getTypeOfUnitDisposed$','updatePermissionPoint','fetchThroughInterceptors','_transitionLocked','AUTHZ_URL_KEY','_getLoginPath','syncEditingCollabCursor','COMPLETION_FINISHED','_sendHeartbeatTimer','has','_getCurrentRevision','replace','Warning','exhaustSavingTask','getOwnPropertyDescriptor','splice','_replaceFileID','padding','labelPosition','getDocRanges','now','_getCtorByUniverType','[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.','setTimeout','_undoRedoService','disposeUnit','_transformUndoredo','_ensureSubject','_commandService','[OfflineState]:\x20received\x20rejection.','enc','svg','href','image/jpeg','_roomMembers$','mixIn','/universer-api/file/{fileID}/sign-url','encrypt','extend','floor','/universer-api/comb','UPDATE_PERMISSION_OBJ','_selfUnitIDs','_lastPointer','_applyRemoteChangeset','[CollaborationEntity]','words','LICENSE_EXPORT_SIZE_EXCEEDED','_waitCount','CipherParams','eventID','session.room-full','INGEST','_init','LICENSE_DISTRO_REJECTED','_handler','univer-online-status-icon','from','roles','_hash','Base','getMember','path','_shapes','joinEvent','c1Prime','ERROR_IMAGE','pluginName','_startCollaboration','_cachedData','Could\x20not\x20dynamically\x20require\x20\x22','[DataLoaderController]','subUnitId','_schedule','cfg','awaiting','_messageService','override','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','verdancy600','hostname','synced','_collabSessionService','toLowerCase','idSuffix','bottom','_colorIndex','_initStatusComponent','parse','put','_heartbeatTimer','onMouseMove','push','_socketReady','session','_permissionService','_socketMessageSubscription','close','cursorInfo$','_cursor','interceptor','black','currentSkeleton$','set','ERROR_IMAGE_TYPE','_createHmacHelper','AES','unshift','_docSkeleton','collabWebSocketUrl','url','transformByState','max','collaboration-client.config','method','_parse','_status$','HttpImport','_startSheetCollabCursor','_onRefRangeChange','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','length','276280ondivQ','session.will-retry','getAllMembers','show','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','subscribeEvent','_executeRemoteChangeset','updateOfflineData','evenodd','_doFinalize','YUUMI_RATE_OVER_LIMIT','_socket','_docTransformSelectionsService','name','displayName','csAckEvent','_replayCachedMutations','_registerDependencies','setItem','editing\x20status\x20changed\x20to','_append','createInstance','_beforeCloseService','randomUUID','1850754LExlzy','getUndoRedoMutationParamsCache','_handleEvent','_throwTelemetryCollaborationNewChangeset','onTransformSelections','getStateCache','\x20to\x20','focused$','getCurrentSelections','_waitForHeartbeatResponse','_collaborationPaused','backgroundColor','HEARTBEAT','_substituteRedoStack','capture','Encryptor','decrypt','endRow','/collaborator','_saveTaskMap','__creator','get','_transformRemoteChangesetByStateCache','1em','column','_createHelper','LICENSE_MAX_UNITS_EXCEEDED','onRemoteAck','hide','fillText','_updateStatus','format','_memberService','UNIVER_PROJECT','getRoom','_commentService','attrs','unknown','post','className','signUrlServerUrl','message$','subunit','initWorkbookPermissionChange','COMPRESS_MUTATION_SEND','_lockTransition','_urlService','pauseCollaboration','_event$','UNIVER_SLIDE','UNRECOGNIZED','event$','_document','_onConnectionFailed','transformRemoteChangeset','split','setWaitCount','_collabCursorState$','slice','c2Prime','rev','_handleHover','_socket$','prototype','_textBubble','url(#off-line-single_clip0_910_343)','/universer-api/snapshot/','error','_context','onlineStatusIcon','0\x200\x2016\x2016','substr','_revisionService','onTransformIME','_name','_transformUndoRedoStack','UNIVER_DOC','updateMember','refreshPermission','USERS_ENTER','saveSheetBlock','UNAUTHENTICATED','keySize','_renderManagerService','_updateState','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','readInt32LE','_DEC_XFORM_MODE','15978832SVRIoC','MSG_FOR_ERROR','originalMeta','getActiveRange','call','create','BASE64','UNIVER_UNKNOWN','kdf','_localCacheService','history','_logService','_getSaveTimeout','roomMembers$','28BSJTud','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','univer-online-status-title','generateRandomId','includes','PERMISSION_DENIED','_onCursorUpdate','use','_timeoutTimer','_rescheduleHeartbeat','putCollaborators','OnLineSingle','requireSession','_docSkeletonManagerService','_uiPartsService','permissionRejEvent','[FetchMissState]','infoRsp','_onUserLeave','USERS_LEAVE','SHOULD_CLOSE_CONN','COLLAB_WEB_SOCKET_URL','_sheetTransformSelectionsService','/allowed','colorChannel1','FAIL','COMPRESS_MUTATION_APPLY','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_isPermissionRej','font','_sender','resolve','/universer-api/snapshot','sin','addObject','objectType','RETRY_CONNECTING_MAX_COUNT','_syncEditingCollabCursor','reset','reverse','_loadSheet','_state$','_assignedColors','fromCollab','_acknowledgedAwaitingChangeset','searchParams','uni.network.url-service','listCollaborators','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','getValue','UNIVER_COLLABORATION_CLIENT_PLUGIN','UPDATE_CURSOR','registerRenderModule','fromCharCode','toStringTag','/fetchmissing?from=','_iKey','xlink:href','on-line-single','replaceState','duration','equals','_sheetSkeletonManagerService','visibilitychange','reduce','_showConflictNotification','pending','_initUnitPermissionChange','registerRefRange','downloadEndpointUrl','_getAnchorBounding','send','on-line-single_clip0_910_349','location','_invKeySchedule','update','debug','fetchMiss','type','hidden','height','_candidateSocket','object','#FFF','_collaborationSessionService','permission.content','ERROR_EXCEED_SIZE','_httpService','_setupBeforeClosingHandler','setStateCache','conflict.content','_updateSubUnitFromURLParams','collab-client.tooltip.reconnect','CONFLICT','_stopTelemetryCollaborationNewChangeset','...','pad','unit-cache-','Module','range','HmacMD5','_members','_cipher','blockSize','open$','_changesetSessionId','getSheetId','_localeService','_transformRemoteChangesetByIMECache','univer-online','getAncestorScale','buffer','FileId','getLatestCsReqIdBySid','defineProperty','_http','incrementRevOfUnit','onTransformChange$','[OfflineState]:\x20received\x20changeset.','getUnitId','LEAVE','SEND_CHANGESET_TIMEOUT','toString','_onRemoteACK','enableLocalCache','dispose','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_range','doc.mutation.rich-text-editing','string','trim','_onRemoteChangeset','getCollabCursors$','_tryEnsureSocket','routeKey','UnitSnapshot','startColumn','restore','_snapshotServerService','_docTransformStateCacheService','SNAPSHOT_URL_KEY','sendChangesetTimeout','executeCommand','translate(.97)','_disableEditing','getUniverSheetInstance','collaboration-session-retry','transformStateCache','_updateLocalCursor','ivSize','encodeURIComponent','csShouldRetryEvent','encryptBlock','APPLY_REJECT','getCollabEntity','_config','_clearHeartbeatTimer','_keySchedule','collabStatus.notCollab','JOINING','tag','flatMap','red300','onPointerMove$','sessionStatus','registerHTTPInterceptor','Hex','CBC','_onConnectionOpen','mode','ceil','_drawRectRange','csRejEvent','indexOf','_getSnapshotAPIPrefix','exports','onCommentUpdate','transformChangesets','$super','moveTo','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','gold400','target','/-/object/-/batch_allowed','function','_univerInstanceService','_key','asObservable','getRenderById','_mode','params','_localStorageService','_labelPosition','_socketService','reject','_onRemoteRejected','_shouldReportTelemetry','_awaitingChangeset','onTransformRemoteChangesetByIMECache','actions','Cipher','isArray','getUnitStatus$','_id','appendMutation','m2Prime','socket\x20close','isActive','BufferedBlockAlgorithm','#fff','[CollaborationState]:\x20apply\x20error!','top','CHANGESET_REVISION_CONFILICT','_cursorShapes','offline','Error\x20on\x20receiving\x20event','result','getOwnPropertySymbols','stopTime','complete','reconnect','setConfig','collaboration_new_changeset','_backgroundColor','_getUndoStack','action','_createInitialStateImpl','M0\x200H16V16H0z','_onRemoteRetry','_pendingMutations','_entities','origin','_initDependencies','onRemoteRej','_initResize','_drawTextRange','_roomMembers','color','CONNECTOR_DATA_TOO_LARGE','_reverseMap','&to=','conflict.title','save','collaboration.single-unit.warning','with','newCsEvent','getRelativeToViewportCoord','_scheduleClearOtherTimer','snapshotServerUrl','some','_cursorInfo$','unsubscribe','getItem','HMAC','_queuedRemoteChangesets','PSEUDO_FETCH_MISSING_RESULT','_singleActiveUnitService','selection','PERMISSION_REJ','_getDownloadEndpointURL','currentColor','entries','removeParam','Base64','collaborators','UNIVER_SHEET','none','_HTTPService','key','Error','getResourcesRequest','addEventListener','randomBytes','_submitChangeset','setCurrentUser','byteLength','then','replaceTextRanges','APPLY_PERMISSION_DENIED','/resources','?size=','LIVESHARE_FETCH_OPERATIONS','whenReady','_anchorDot','_refreshCollabCursors','/block/','transformMutationsWithChangeset','round','baseRev','conflict','YUUMI_SUBSCRIPTION_NOT_FOUND','PENDING','every','_getSignURL','_onJoinRoomEvent','resend','AWAITING','_initStatusListener','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_compressMutationService','/universer-api/stream/file/upload','shouldCloseConn','_configService','LIVESHARE_NEW_HOST','values','StreamCipher','SUCCUSS','_toggleOffline','getInterceptPoints','setShapeProps','hasher','_onFetchMissResult','saveImage','onReady','onTransformRemoteChangesetByStateCache','assign','off-line-single','jiqing500','_fetchMissChangesets','closeSession','defIds','arc','collabCursorState$','CHANGESET_SHOULD_RETRY','createSocket','OpenSSL','onRemoteChangeset','objectID','_initMergeInterceptor','Decryptor','fill','[SyncedState]:\x20received\x20rejection.','_transformService','[CollaborationSessionService]:\x20socket\x20error','PasswordBasedCipher','HELLO','changesets','univer-pro.collaboration-client.single-active-unit-service','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_decreaseWaiting','ALREADY_EXISTS','LOCAL_CACHE_INTERVAL','getRangePointData','image/bmp','fillRule','_transformHistoryAndStateStack','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','row','updateCollaborator','_resendTimeout','FromArray','unitID','_retryConnectingTimer','assignAColorForMemberID','MoveRangeCommandId','_unlockTransition','SNAPSHOT_INVALID_SNAPSHOT','WordArray','_transformIMECache','_onCursorDelete','_initEventListeners','COMMENT_UPDATE','APPLY_NON_SEQUENTIAL_REVISION','startTime','collaboratorID','url(#on-line-single_clip0_910_349)','image/png','InsertRangeMoveRightCommandId','_remoteChangesetQueue','filter','getRandomValues','_xformMode','LIVESHARE_REQUEST_HOST','concat','size','SHA1','random','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','defs','roomMembers','_injector','_onOffline','div','FETCH_MISSING','_getUploadFileURL','getImageSourceCache','repeat','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','POST','_createInitialState','onCommandExecuted','compute','1988583QDZSEJ','_scene','RECV','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','LICENSE_IMPORT_SIZE_EXCEEDED','InsertRangeMoveDownCommandId','__esModule','reqId','bind','collabStatus.synced','dispose$','SNAPSHOT_HAS_BEEN_REMOVED','clone','_updateURLWithCurrentState','resize','_handleLeaveEvent','hovered','purple300','unit','_joinRoom','undoState','lib','memberID','_removeCollabCursors','awaiting_with_pending','userID','construct','x-univer-host','onSendChangeset','finalize','readAsDataURL','/universer-api/oidc/authpage','addObjects','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','onlineStatusTitle','_change$','_resendTimer','_getScale','28521pUHgcJ','toRgbString','_data','onStateChange','urlChange$','getDeserializedSheetBlock','onMissedChangesetFetched','ciphertext','measureText','fetchMissingChangesets','NOT_FOUND','data','m1Prime','_getSendChangesetTimeout','_registerRenderDependencies','TOO_MANY_REQUESTS','EvpKDF','code','_clearCollaborationTimeoutTimer','storage','constructor','Utf8','_doProcessBlock','transformUndoRedo','LIVESHARE_TERMINATE','clamp','loadSheet','clipPath','fetch_missing','_clearLocalCache','RECT','UniverIcon','selections','createCollaborator','SYNCED','objectActions','next','redoState','createDecryptor','snapshot','_drawAnchor','cursorInfo','unitId','onSyncEditingCollabCursor','IDLE','getCurrent','newValue','HEADER_MENU','_eventUnsubscribe','YUUMI_UNABLE_LOAD_URL','activeSheet$','OTHER_CLIENTS_EDITING','_userManagerService','textRanges','liveShareNewHost','min','state','skeleton','UNKNOWN_CODE','HmacSHA1','onlyLocal','_nRounds','propertyIsEnumerable','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_anchor','_online','getMemberID','delete','getFocusedUnit','getViewport','_onMessage','body','collabStatus.conflict','/unit/','encode','_unitID','getCurrentRevOfUnit','joinRsp','_hover','HttpExport','_docTransformIMECacheService','_entityInit$','abs','stringify','_updateCollabCursors','_scheduleCollaborationTimeoutTimer','getTime','collab-rect-range-','setParam','0\x200\x2017\x2016','_initCloseConn','\x20-\x20','ranges','transform','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','sigBytes','pipe','_listenToOfflineEvent','_state','\x20in\x20_schedule.','width','Hasher','EXCHANGE_SIGN_URL_SERVER_URL_KEY','deepClone','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','error$','[CollaborationUndoRedoService]','auth.needGotoLoginAlert','onPointerLeave$','_doReset','_updateLocalCache','_docStateChangeManagerService','getCurrentUnitForType','_colorAssignService','awaitingChangeset','getActiveSheet','getTypeOfUnitAdded$','&source=','not_collab','image/gif','_collabCursorController','_ws','_send','off-line-single_clip0_910_343','fetching\x20missing\x20changesets\x20from\x20','_resendWithTimeout','collabSubmitChangesetUrl','localeService','clearInterval','getCollabEntity$','_telemetryInfo','_transformStateCache','hasOwnProperty','UNDEFINED','_undoStacks','_hovered','_redoStacks','clearTimeout','_render','_onConflict','charCodeAt','findNodePositionByCharIndex','_clearTimeoutTimer','collabStatus.offline','_doCryptBlock','transformMutation','_oKey','FETCH_MISS','mutations','collab-text-range-','startRow','_onCombEvent','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_clearRedo','MD5','LIVESHARE_OPERATION','/object','rgba(255,\x20255,\x20255,\x200.01)','NEW_CHANGESETS','_createHandler','_map','_unitStatus','univer-pro.collaboration-client-socket-service','_saveCache','createEncryptor','UNKNOWN_CMD','drawWith','RemoveRowCommandId','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_substituteUndoStack','_onLocalMutation','_startDocCollabCursor','src','apply','transformIMECache','Undefined','sid','disableLocalCache','currentTheme$','_unitOnClients','_cursors','getUnitOnRev','_imageSourceCache','_nDataBytes','DEFAULT_FILE_NAME','/universer-api/authz','iterations','status','JOIN','InsertRowCommandId','leaveEvent','[OfflineState]:\x20received\x20acknowledgement.','pushState','MUTATION','transformSelections','_disabled','setAlpha','BlockCipher','getSkeleton','_commentUpdate$','_instanceService','NOT_COLLAB','loadOfflineData','[CollaborationSession]','updatePermissionObjEvent','getCurrentUser','BlockCipherMode','3933532Joospv','_sendHeartbeat','_hideTimer','_collaborationController','collaboration.closeRoom','_minBufferSize','_changesetReqId','getConfig','_getAPIPrefix','_getRedoStack','getUnitType','_handleHeartbeatEvent','listRoles','disposeWithMe','OFFLINE','[SyncedState]:\x20received\x20acknowledgement.','Pkcs7','_color','TEXT','createElement','APPLY_DUPLICATED','ONLINE','icon','_clearScheduledTask','salt','connection\x20error','fillStyle','getWorkbookSelections','enableOfflineEditing','{fileID}','/object/','crypto','lineTo','_handleJoinEvent','onload','subscribe','_scheduleTimestamp','algo','_snapshotService','_transformPreviousActiveRange','YUUMI_URL_COL_OUT_OF_RANGE','HEARTBEAT_INTERVAL','loginUrlKey','_retryCount','CHANGESET_ACK','onStarting','append','_exhaustRemoteChangesetQueue','_session','HEARTBEAT_TIMEOUT','_prevBlock','msCrypto','forEach','_ENC_XFORM_MODE','permission.title','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_removeClearOtherTimer','_transformSelections','_tryReconnect','[CollaborationSessionService]','_keyPriorReset','2111354dpoIMD','init','commentUpdateEvent','_draw','registerComponent','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','univer-online-status','SUBMIT_CHANGESET','children','onTransformState','COLLAB_SUBMIT_CHANGESET_URL','isEditing','execute','revision','_scheduleHeartbeat','toggleOnline','INTERNAL_ERROR','charAt','roomInfos','isPermissionRej','AWAITING_WITH_PENDING','_clearUndo','headers','_createSocket','_loadDoc','_process','_syncEditingCollabCursorService','_startTelemetryCollaborationNewChangeset','_collaborationTimeoutTimer','_refRangeService','_checkMissing','cmd','_incrementRevisionNumber','sessionStatus$','CHANGESET_REJ','setShowComponents','requestParams','default','status$','_type','_notificationService','getUnit','collabStatus.syncing','add','UUID','_clearOtherTimers','_sessionStatus$','toggleOffline','NO_OTHER_CLIENTS_EDITING','_transformStack','map','_iv','unpad','univerjs-icon\x20univerjs-icon-','_themeService','getParam','list'];_0x60b8=function(){return _0x515565;};return _0x60b8();}bt=Oa([Wt(0x0,_0x3ade87),Wt(0x1,_0x3e8773(_0x4dbc01)),Wt(0x2,_0x3e8773(_0x51cff0))],bt);var wa=Object['defineProperty'],Da=Object['getOwnPropertyDescriptor'],Pa=(_0x552bb2,_0x2ab49b,_0x4e46ba,_0x436274)=>{const _0x1fef1e=_0x159fb9;for(var _0x1fb3af=_0x436274>0x1?void 0x0:_0x436274?Da(_0x2ab49b,_0x4e46ba):_0x2ab49b,_0x482d6d=_0x552bb2[_0x1fef1e(0x3e5)]-0x1,_0x50fb47;_0x482d6d>=0x0;_0x482d6d--)(_0x50fb47=_0x552bb2[_0x482d6d])&&(_0x1fb3af=(_0x436274?_0x50fb47(_0x2ab49b,_0x4e46ba,_0x1fb3af):_0x50fb47(_0x1fb3af))||_0x1fb3af);return _0x436274&&_0x1fb3af&&wa(_0x2ab49b,_0x4e46ba,_0x1fb3af),_0x1fb3af;},qs=(_0x30e7e6,_0x21d577)=>(_0x3cba9a,_0x6b1794)=>_0x21d577(_0x3cba9a,_0x6b1794,_0x30e7e6);const Ua=_0x159fb9(0x370),Na=_0x159fb9(0x2c4);let cs=class extends _0x10d2e7{constructor(_0x4cdc93,_0x50e912){const _0x1be0cb=_0x159fb9;super(),this[_0x1be0cb(0x168)]=_0x4cdc93,this['_configService']=_0x50e912,this[_0x1be0cb(0x1a5)]();}[_0x159fb9(0x1a5)](){const _0xde93a5=_0x159fb9,_0x20021a=this;this[_0xde93a5(0x2e7)](this[_0xde93a5(0x168)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x3c9381({'isMatch'(_0x695c5e){const _0xc67063=_0xde93a5;var _0x4cdeac;if(_0x695c5e[_0xc67063(0x3de)]===_0xc67063(0x1e1)&&((_0x4cdeac=_0x695c5e[_0xc67063(0x33b)])!=null&&_0x4cdeac[_0xc67063(0x252)])){const {objectID:_0x3c4a45,objectType:_0x566948}=_0x695c5e[_0xc67063(0x33b)][_0xc67063(0x252)]||{};if(!_0x3c4a45||_0x566948===void 0x0)return!0x1;const _0x2c6fa8=_0x20021a[_0xc67063(0x365)]()+'/'+_0x566948+_0xc67063(0x2f8)+_0x3c4a45+_0xc67063(0x47b);if(_0x695c5e['url']===_0x2c6fa8)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x40e078){var _0x96a2e;return(_0x96a2e=_0x40e078['requestParams'])==null?void 0x0:_0x96a2e['body'];},'mergeParamsToRequest'(_0xff21c7,_0x5f1cf4){const _0x417ba4=_0xde93a5,_0x1e1997=_0x20021a[_0x417ba4(0x365)]()+_0x417ba4(0x114),_0x17772f=_0xff21c7[_0x417ba4(0x4a4)]((_0x343a07,_0x224b64)=>{const _0x2a57af=_0x417ba4,{unitID:_0x3c0a46,objectID:_0x4d5c8,objectType:_0x37491b,actions:_0x829292}=_0x224b64;return _0x343a07[_0x3c0a46]||(_0x343a07[_0x3c0a46]={}),_0x343a07[_0x3c0a46][_0x4d5c8]||(_0x343a07[_0x3c0a46][_0x4d5c8]={'objectID':_0x4d5c8,'objectType':_0x37491b,'actions':[]}),_0x343a07[_0x3c0a46][_0x4d5c8][_0x2a57af(0x124)]['push'](..._0x829292),_0x343a07;},{}),_0x53050b=[];for(const _0x37875a in _0x17772f)for(const _0x4e1525 in _0x17772f[_0x37875a]){const {actions:_0x2e5814,objectType:_0x4159fd}=_0x17772f[_0x37875a][_0x4e1525],_0x5491e5=[...new Set(_0x2e5814)];_0x53050b[_0x417ba4(0x3c8)]({'unitID':_0x37875a,'objectID':_0x4e1525,'objectType':_0x4159fd,'actions':_0x5491e5});}return new _0x179c59(_0x417ba4(0x1e1),_0x1e1997,{'headers':_0x5f1cf4[_0x417ba4(0x32d)],'withCredentials':_0x5f1cf4['withCredentials'],'responseType':_0x5f1cf4['responseType'],'body':{'requests':_0x53050b}});}},{'distributeResult'(_0x5dab77,_0x4280d3){const _0x4542aa=_0xde93a5,{objectActions:_0x331d6d}=_0x5dab77;return _0x4280d3[_0x4542aa(0x349)](_0x7a4794=>{const _0x2797c5=_0x4542aa,{unitID:_0x1d4899,objectID:_0x505766,actions:_0x3edbd0}=_0x7a4794,_0x1204d5=_0x331d6d[_0x2797c5(0x35c)](_0x5e6aa4=>_0x5e6aa4[_0x2797c5(0x1bc)]===_0x1d4899&&_0x5e6aa4[_0x2797c5(0x1a4)]===_0x505766),_0x48e7cc=_0x3edbd0[_0x2797c5(0x349)](_0x50880e=>_0x1204d5==null?void 0x0:_0x1204d5[_0x2797c5(0x124)][_0x2797c5(0x35c)](_0x4267c6=>_0x4267c6[_0x2797c5(0x13e)]===_0x50880e))[_0x2797c5(0x1ce)](_0x48d124=>!!_0x48d124);return{'config':_0x7a4794,'result':{'actions':_0x48e7cc,'error':_0x5dab77[_0x2797c5(0x441)]}};});}})}));}[_0x159fb9(0x365)](){const _0x54d0a4=_0x159fb9;var _0x43a9d4,_0x424684;const _0x5103c9=this['_configService'][_0x54d0a4(0x2e1)](Ua),_0x381c05=this[_0x54d0a4(0x18b)]['getConfig'](ie);return(_0x424684=(_0x43a9d4=_0x381c05==null?void 0x0:_0x381c05['authzUrl'])!=null?_0x43a9d4:_0x5103c9)!=null?_0x424684:Na;}async[_0x159fb9(0x45b)](_0x18eafb){const _0x530db4=_0x159fb9,_0x4e4f1f=this[_0x530db4(0x365)]()+'/'+_0x18eafb[_0x530db4(0x487)]+_0x530db4(0x2a7);return(await this['_HTTPService']['post'](_0x4e4f1f,{'body':_0x18eafb}))[_0x530db4(0x252)][_0x530db4(0x1a4)]||'';}async[_0x159fb9(0x34f)](_0x4c56cf){const _0x74ccfa=_0x159fb9,_0xa5c36b=this['_getAPIPrefixPath']()+'/-/object/list';return(await this[_0x74ccfa(0x168)][_0x74ccfa(0x424)](_0xa5c36b,{'body':_0x4c56cf}))[_0x74ccfa(0x252)]['objects'];}async['update'](_0x3fd205){const _0x1bb181=_0x159fb9,_0xd35321=this[_0x1bb181(0x365)]()+'/'+_0x3fd205['objectType']+_0x1bb181(0x2f8)+_0x3fd205[_0x1bb181(0x1a4)];await this[_0x1bb181(0x168)][_0x1bb181(0x3c5)](_0xd35321,{'body':_0x3fd205});}async['allowed'](_0x156ee5){const _0xfad943=_0x159fb9,_0x48a4f4=this[_0xfad943(0x365)]()+'/'+_0x156ee5[_0xfad943(0x487)]+_0xfad943(0x2f8)+_0x156ee5['objectID']+_0xfad943(0x47b);return(await this[_0xfad943(0x168)][_0xfad943(0x424)](_0x48a4f4,{'body':_0x156ee5}))['body'][_0xfad943(0x124)];}async['batchAllowed'](_0x212248){const _0x407570=_0x159fb9,_0xe569f0=this[_0x407570(0x365)]()+_0x407570(0x114);return(await this[_0x407570(0x168)]['post'](_0xe569f0,{'body':{'requests':_0x212248}}))[_0x407570(0x252)][_0x407570(0x22e)];}async[_0x159fb9(0x2e6)](_0x3e92b3){const _0x50b8b3=_0x159fb9,_0x266758=this[_0x50b8b3(0x365)]()+'/'+_0x3e92b3['objectType']+'/role',_0x116046=await this[_0x50b8b3(0x168)][_0x50b8b3(0x424)](_0x266758,{'body':_0x3e92b3});return{'roles':_0x116046[_0x50b8b3(0x252)][_0x50b8b3(0x3a6)],'actions':_0x116046[_0x50b8b3(0x252)]['actions']};}async['deleteCollaborator'](_0x1e95a0){const _0xeef966=_0x159fb9,_0x443395=this[_0xeef966(0x365)]()+'/collaborator';await this[_0xeef966(0x168)]['delete'](_0x443395,{'params':{'collaboratorID':_0x1e95a0[_0xeef966(0x1c9)],'objectID':_0x1e95a0[_0xeef966(0x1a4)],'unitID':_0x1e95a0[_0xeef966(0x1bc)]}});}async[_0x159fb9(0x1b9)](_0x384579){const _0x122bde=_0x159fb9,_0xdeb25b=this[_0x122bde(0x365)]()+_0x122bde(0x410);await this[_0x122bde(0x168)]['patch'](_0xdeb25b,{'body':_0x384579});}async[_0x159fb9(0x22c)](_0x14ef21){const _0x3106e9=_0x159fb9,_0x5b1463=this[_0x3106e9(0x365)]()+_0x3106e9(0x410);await this[_0x3106e9(0x168)][_0x3106e9(0x424)](_0x5b1463,{'body':_0x14ef21});}async[_0x159fb9(0x493)](_0x4b8ea6){const _0x56c344=_0x159fb9,_0x35e912=this['_getAPIPrefixPath']()+_0x56c344(0x410);return(await this[_0x56c344(0x168)][_0x56c344(0x413)](_0x35e912,{'params':{'objectID':_0x4b8ea6[_0x56c344(0x1a4)],'unitID':_0x4b8ea6[_0x56c344(0x1bc)]}}))[_0x56c344(0x252)][_0x56c344(0x165)];}async[_0x159fb9(0x46e)](_0x544525){const _0x5c8de9=_0x159fb9,_0x21623a=this[_0x5c8de9(0x365)]()+_0x5c8de9(0x410);await this[_0x5c8de9(0x168)][_0x5c8de9(0x3c5)](_0x21623a,{'body':_0x544525});}};cs=Pa([qs(0x0,_0x3e8773(_0x4dbc01)),qs(0x1,_0x3e8773(_0x3ade87))],cs);var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x514680){const _0x519a0c=_0x159fb9;return _0x514680&&_0x514680['__esModule']&&Object[_0x519a0c(0x43d)]['hasOwnProperty'][_0x519a0c(0x45a)](_0x514680,_0x519a0c(0x33c))?_0x514680['default']:_0x514680;}function Aa(_0x4f1d98){const _0x5bcc7d=_0x159fb9;if(_0x4f1d98[_0x5bcc7d(0x1eb)])return _0x4f1d98;var _0x2afe88=_0x4f1d98[_0x5bcc7d(0x33c)];if(typeof _0x2afe88==_0x5bcc7d(0x115)){var _0x17b020=function _0x57434a(){const _0x12c35d=_0x5bcc7d;return this instanceof _0x57434a?Reflect[_0x12c35d(0x1ff)](_0x2afe88,arguments,this[_0x12c35d(0x21f)]):_0x2afe88[_0x12c35d(0x2b8)](this,arguments);};_0x17b020[_0x5bcc7d(0x43d)]=_0x2afe88['prototype'];}else _0x17b020={};return Object['defineProperty'](_0x17b020,_0x5bcc7d(0x1eb),{'value':!0x0}),Object['keys'](_0x4f1d98)[_0x5bcc7d(0x30e)](function(_0x52706f){const _0x1c5ca0=_0x5bcc7d;var _0x4c5879=Object[_0x1c5ca0(0x37a)](_0x4f1d98,_0x52706f);Object[_0x1c5ca0(0xcf)](_0x17b020,_0x52706f,_0x4c5879['get']?_0x4c5879:{'enumerable':!0x0,'get':function(){return _0x4f1d98[_0x52706f];}});}),_0x17b020;}var ji={'exports':{}};function Ma(_0x5f3d37){const _0x40c151=_0x159fb9;throw new Error(_0x40c151(0x3b2)+_0x5f3d37+_0x40c151(0x1e0));}var Ft={'exports':{}};const xa={},La=Object['freeze'](Object['defineProperty']({'__proto__':null,'default':xa},Symbol[_0x159fb9(0x49a)],{'value':_0x159fb9(0xbf)})),$a=Aa(La);var Xs;function ue(){const _0x1de7eb=_0x159fb9;return Xs||(Xs=0x1,function(_0x48793c,_0x18ee7e){(function(_0x391ef1,_0x5e6b5e){const _0x506ee9=_0x4457;_0x48793c[_0x506ee9(0x10c)]=_0x5e6b5e();}(Z,function(){var _0x1677eb=_0x1677eb||function(_0x32b787,_0x41834d){const _0x4fe218=_0x4457;var _0x4999bd;if(typeof window<'u'&&window[_0x4fe218(0x2f9)]&&(_0x4999bd=window[_0x4fe218(0x2f9)]),typeof self<'u'&&self[_0x4fe218(0x2f9)]&&(_0x4999bd=self['crypto']),typeof globalThis<'u'&&globalThis[_0x4fe218(0x2f9)]&&(_0x4999bd=globalThis[_0x4fe218(0x2f9)]),!_0x4999bd&&typeof window<'u'&&window[_0x4fe218(0x30d)]&&(_0x4999bd=window['msCrypto']),!_0x4999bd&&typeof Z<'u'&&Z[_0x4fe218(0x2f9)]&&(_0x4999bd=Z[_0x4fe218(0x2f9)]),!_0x4999bd&&typeof Ma==_0x4fe218(0x115))try{_0x4999bd=$a;}catch{}var _0x23be96=function(){const _0x3ecd19=_0x4fe218;if(_0x4999bd){if(typeof _0x4999bd[_0x3ecd19(0x1cf)]=='function')try{return _0x4999bd[_0x3ecd19(0x1cf)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4999bd[_0x3ecd19(0x16d)]==_0x3ecd19(0x115))try{return _0x4999bd['randomBytes'](0x4)[_0x3ecd19(0x454)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x318f64=Object[_0x4fe218(0x45b)]||(function(){function _0x33f248(){}return function(_0x2ce181){const _0x11ee8f=_0x4457;var _0x47e2be;return _0x33f248['prototype']=_0x2ce181,_0x47e2be=new _0x33f248(),_0x33f248[_0x11ee8f(0x43d)]=null,_0x47e2be;};}()),_0x580bfe={},_0x35dd49=_0x580bfe[_0x4fe218(0x1fa)]={},_0xe4e5b2=_0x35dd49[_0x4fe218(0x3a8)]=(function(){return{'extend':function(_0x30baef){const _0x3496cc=_0x4457;var _0x5a763d=_0x318f64(this);return _0x30baef&&_0x5a763d['mixIn'](_0x30baef),(!_0x5a763d[_0x3496cc(0x28f)](_0x3496cc(0x318))||this[_0x3496cc(0x318)]===_0x5a763d['init'])&&(_0x5a763d[_0x3496cc(0x318)]=function(){const _0x3061f1=_0x3496cc;_0x5a763d[_0x3061f1(0x10f)][_0x3061f1(0x318)][_0x3061f1(0x2b8)](this,arguments);}),_0x5a763d[_0x3496cc(0x318)][_0x3496cc(0x43d)]=_0x5a763d,_0x5a763d[_0x3496cc(0x10f)]=this,_0x5a763d;},'create':function(){const _0x79ad86=_0x4457;var _0x27ec6d=this[_0x79ad86(0x392)]();return _0x27ec6d['init'][_0x79ad86(0x2b8)](_0x27ec6d,arguments),_0x27ec6d;},'init':function(){},'mixIn':function(_0xdfa051){const _0x14102=_0x4457;for(var _0x5b37b8 in _0xdfa051)_0xdfa051[_0x14102(0x28f)](_0x5b37b8)&&(this[_0x5b37b8]=_0xdfa051[_0x5b37b8]);_0xdfa051[_0x14102(0x28f)]('toString')&&(this['toString']=_0xdfa051[_0x14102(0xd7)]);},'clone':function(){const _0x4223f9=_0x4457;return this[_0x4223f9(0x318)]['prototype']['extend'](this);}};}()),_0x1caeac=_0x35dd49[_0x4fe218(0x1c2)]=_0xe4e5b2[_0x4fe218(0x392)]({'init':function(_0x5cc043,_0x145988){const _0x4795fd=_0x4fe218;_0x5cc043=this[_0x4795fd(0x39a)]=_0x5cc043||[],_0x145988!=_0x41834d?this[_0x4795fd(0x26a)]=_0x145988:this[_0x4795fd(0x26a)]=_0x5cc043[_0x4795fd(0x3e5)]*0x4;},'toString':function(_0x1366fc){return(_0x1366fc||_0x5275eb)['stringify'](this);},'concat':function(_0x5c0d07){const _0x1de736=_0x4fe218;var _0x15dfe6=this[_0x1de736(0x39a)],_0x42af=_0x5c0d07[_0x1de736(0x39a)],_0x57b34d=this[_0x1de736(0x26a)],_0x5e6f7c=_0x5c0d07[_0x1de736(0x26a)];if(this[_0x1de736(0x224)](),_0x57b34d%0x4)for(var _0x3052ea=0x0;_0x3052ea<_0x5e6f7c;_0x3052ea++){var _0x1ae7b8=_0x42af[_0x3052ea>>>0x2]>>>0x18-_0x3052ea%0x4*0x8&0xff;_0x15dfe6[_0x57b34d+_0x3052ea>>>0x2]|=_0x1ae7b8<<0x18-(_0x57b34d+_0x3052ea)%0x4*0x8;}else{for(var _0x276308=0x0;_0x276308<_0x5e6f7c;_0x276308+=0x4)_0x15dfe6[_0x57b34d+_0x276308>>>0x2]=_0x42af[_0x276308>>>0x2];}return this[_0x1de736(0x26a)]+=_0x5e6f7c,this;},'clamp':function(){const _0x320da1=_0x4fe218;var _0x43ab54=this[_0x320da1(0x39a)],_0x5947c5=this['sigBytes'];_0x43ab54[_0x5947c5>>>0x2]&=0xffffffff<<0x20-_0x5947c5%0x4*0x8,_0x43ab54[_0x320da1(0x3e5)]=_0x32b787[_0x320da1(0x107)](_0x5947c5/0x4);},'clone':function(){const _0x266390=_0x4fe218;var _0x484462=_0xe4e5b2[_0x266390(0x1f1)][_0x266390(0x45a)](this);return _0x484462[_0x266390(0x39a)]=this[_0x266390(0x39a)][_0x266390(0x438)](0x0),_0x484462;},'random':function(_0x90f5cc){const _0x4a8f2a=_0x4fe218;for(var _0x582327=[],_0xaa424f=0x0;_0xaa424f<_0x90f5cc;_0xaa424f+=0x4)_0x582327[_0x4a8f2a(0x3c8)](_0x23be96());return new _0x1caeac[(_0x4a8f2a(0x318))](_0x582327,_0x90f5cc);}}),_0x41dd74=_0x580bfe[_0x4fe218(0x38a)]={},_0x5275eb=_0x41dd74[_0x4fe218(0x103)]={'stringify':function(_0x44e62b){const _0x47ddbf=_0x4fe218;for(var _0x1527ba=_0x44e62b[_0x47ddbf(0x39a)],_0x25af65=_0x44e62b[_0x47ddbf(0x26a)],_0x4ae0ab=[],_0x1859d5=0x0;_0x1859d5<_0x25af65;_0x1859d5++){var _0x48a96d=_0x1527ba[_0x1859d5>>>0x2]>>>0x18-_0x1859d5%0x4*0x8&0xff;_0x4ae0ab[_0x47ddbf(0x3c8)]((_0x48a96d>>>0x4)['toString'](0x10)),_0x4ae0ab[_0x47ddbf(0x3c8)]((_0x48a96d&0xf)[_0x47ddbf(0xd7)](0x10));}return _0x4ae0ab['join']('');},'parse':function(_0x5997ec){const _0x251997=_0x4fe218;for(var _0x5b9e0a=_0x5997ec[_0x251997(0x3e5)],_0x3a9e4e=[],_0x496be1=0x0;_0x496be1<_0x5b9e0a;_0x496be1+=0x2)_0x3a9e4e[_0x496be1>>>0x3]|=parseInt(_0x5997ec[_0x251997(0x445)](_0x496be1,0x2),0x10)<<0x18-_0x496be1%0x8*0x4;return new _0x1caeac['init'](_0x3a9e4e,_0x5b9e0a/0x2);}},_0x525201=_0x41dd74['Latin1']={'stringify':function(_0x3df846){const _0xe92dbd=_0x4fe218;for(var _0x457349=_0x3df846[_0xe92dbd(0x39a)],_0x2a2f57=_0x3df846[_0xe92dbd(0x26a)],_0x519c89=[],_0x857d6d=0x0;_0x857d6d<_0x2a2f57;_0x857d6d++){var _0x4baf30=_0x457349[_0x857d6d>>>0x2]>>>0x18-_0x857d6d%0x4*0x8&0xff;_0x519c89['push'](String[_0xe92dbd(0x499)](_0x4baf30));}return _0x519c89['join']('');},'parse':function(_0x247574){const _0x58b39e=_0x4fe218;for(var _0x52f8b9=_0x247574[_0x58b39e(0x3e5)],_0x5b49b9=[],_0x355424=0x0;_0x355424<_0x52f8b9;_0x355424++)_0x5b49b9[_0x355424>>>0x2]|=(_0x247574[_0x58b39e(0x297)](_0x355424)&0xff)<<0x18-_0x355424%0x4*0x8;return new _0x1caeac[(_0x58b39e(0x318))](_0x5b49b9,_0x52f8b9);}},_0x4beeb9=_0x41dd74[_0x4fe218(0x220)]={'stringify':function(_0x511afe){const _0xf2f8d4=_0x4fe218;try{return decodeURIComponent(escape(_0x525201[_0xf2f8d4(0x25e)](_0x511afe)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x2ada93){const _0x296467=_0x4fe218;return _0x525201[_0x296467(0x3c4)](unescape(encodeURIComponent(_0x2ada93)));}},_0x4cdbda=_0x35dd49[_0x4fe218(0x12d)]=_0xe4e5b2['extend']({'reset':function(){const _0x2086cc=_0x4fe218;this[_0x2086cc(0x20d)]=new _0x1caeac['init'](),this[_0x2086cc(0x2c2)]=0x0;},'_append':function(_0x79d233){const _0x39ccd8=_0x4fe218;typeof _0x79d233==_0x39ccd8(0xde)&&(_0x79d233=_0x4beeb9[_0x39ccd8(0x3c4)](_0x79d233)),this[_0x39ccd8(0x20d)][_0x39ccd8(0x1d2)](_0x79d233),this[_0x39ccd8(0x2c2)]+=_0x79d233['sigBytes'];},'_process':function(_0x4a1444){const _0xd34447=_0x4fe218;var _0x57ebcf,_0x414f0c=this[_0xd34447(0x20d)],_0x16d305=_0x414f0c['words'],_0x4a4201=_0x414f0c[_0xd34447(0x26a)],_0x110739=this[_0xd34447(0xc4)],_0x3aec92=_0x110739*0x4,_0x8db254=_0x4a4201/_0x3aec92;_0x4a1444?_0x8db254=_0x32b787['ceil'](_0x8db254):_0x8db254=_0x32b787[_0xd34447(0x3dc)]((_0x8db254|0x0)-this[_0xd34447(0x2df)],0x0);var _0x36d179=_0x8db254*_0x110739,_0xb3c0d9=_0x32b787[_0xd34447(0x242)](_0x36d179*0x4,_0x4a4201);if(_0x36d179){for(var _0x465378=0x0;_0x465378<_0x36d179;_0x465378+=_0x110739)this[_0xd34447(0x221)](_0x16d305,_0x465378);_0x57ebcf=_0x16d305['splice'](0x0,_0x36d179),_0x414f0c[_0xd34447(0x26a)]-=_0xb3c0d9;}return new _0x1caeac[(_0xd34447(0x318))](_0x57ebcf,_0xb3c0d9);},'clone':function(){const _0x29f026=_0x4fe218;var _0x2ed059=_0xe4e5b2[_0x29f026(0x1f1)][_0x29f026(0x45a)](this);return _0x2ed059['_data']=this[_0x29f026(0x20d)][_0x29f026(0x1f1)](),_0x2ed059;},'_minBufferSize':0x0});_0x35dd49[_0x4fe218(0x270)]=_0x4cdbda[_0x4fe218(0x392)]({'cfg':_0xe4e5b2[_0x4fe218(0x392)](),'init':function(_0x5ead61){const _0x425a37=_0x4fe218;this[_0x425a37(0x3b6)]=this[_0x425a37(0x3b6)][_0x425a37(0x392)](_0x5ead61),this[_0x425a37(0x48a)]();},'reset':function(){const _0x2ab575=_0x4fe218;_0x4cdbda[_0x2ab575(0x48a)][_0x2ab575(0x45a)](this),this['_doReset']();},'update':function(_0x510347){const _0x36ba77=_0x4fe218;return this[_0x36ba77(0x3fa)](_0x510347),this['_process'](),this;},'finalize':function(_0x118b58){const _0x22bccb=_0x4fe218;_0x118b58&&this[_0x22bccb(0x3fa)](_0x118b58);var _0x2609ea=this[_0x22bccb(0x3ef)]();return _0x2609ea;},'blockSize':0x10,'_createHelper':function(_0x47aaa0){return function(_0x2cb5c5,_0xd674f6){const _0x173d13=_0x4457;return new _0x47aaa0[(_0x173d13(0x318))](_0xd674f6)['finalize'](_0x2cb5c5);};},'_createHmacHelper':function(_0x53e95d){return function(_0x33acc4,_0x1f776f){const _0x555468=_0x4457;return new _0x88a112[(_0x555468(0x15a))][(_0x555468(0x318))](_0x53e95d,_0x1f776f)[_0x555468(0x202)](_0x33acc4);};}});var _0x88a112=_0x580bfe['algo']={};return _0x580bfe;}(Math);return _0x1677eb;}));}(Ft)),Ft[_0x1de7eb(0x10c)];}var Vt={'exports':{}},Js;function Bi(){const _0xde556d=_0x159fb9;return Js||(Js=0x1,function(_0x5ef316,_0x783176){(function(_0x889465,_0x2eae8e){const _0x360f94=_0x4457;_0x5ef316[_0x360f94(0x10c)]=_0x2eae8e(ue());}(Z,function(_0x19e274){const _0x4d1e44=_0x4457;return(function(){const _0x550651=_0x4457;var _0x3494e7=_0x19e274,_0x1fad03=_0x3494e7['lib'],_0x1d8314=_0x1fad03[_0x550651(0x1c2)],_0xa88630=_0x3494e7[_0x550651(0x38a)];_0xa88630[_0x550651(0x164)]={'stringify':function(_0x2ccfcf){const _0x37bd06=_0x550651;var _0x352ae5=_0x2ccfcf[_0x37bd06(0x39a)],_0x38866b=_0x2ccfcf[_0x37bd06(0x26a)],_0x3b5564=this[_0x37bd06(0x2ab)];_0x2ccfcf[_0x37bd06(0x224)]();for(var _0x278fc8=[],_0x453c95=0x0;_0x453c95<_0x38866b;_0x453c95+=0x3)for(var _0x3711d3=_0x352ae5[_0x453c95>>>0x2]>>>0x18-_0x453c95%0x4*0x8&0xff,_0x1c11a1=_0x352ae5[_0x453c95+0x1>>>0x2]>>>0x18-(_0x453c95+0x1)%0x4*0x8&0xff,_0x5d604b=_0x352ae5[_0x453c95+0x2>>>0x2]>>>0x18-(_0x453c95+0x2)%0x4*0x8&0xff,_0x2ca878=_0x3711d3<<0x10|_0x1c11a1<<0x8|_0x5d604b,_0x1651e9=0x0;_0x1651e9<0x4&&_0x453c95+_0x1651e9*0.75<_0x38866b;_0x1651e9++)_0x278fc8['push'](_0x3b5564[_0x37bd06(0x328)](_0x2ca878>>>0x6*(0x3-_0x1651e9)&0x3f));var _0x33ac53=_0x3b5564[_0x37bd06(0x328)](0x40);if(_0x33ac53){for(;_0x278fc8[_0x37bd06(0x3e5)]%0x4;)_0x278fc8[_0x37bd06(0x3c8)](_0x33ac53);}return _0x278fc8['join']('');},'parse':function(_0x468785){const _0xdfab2e=_0x550651;var _0x3b999d=_0x468785[_0xdfab2e(0x3e5)],_0xa1243e=this[_0xdfab2e(0x2ab)],_0x30ead6=this[_0xdfab2e(0x14c)];if(!_0x30ead6){_0x30ead6=this[_0xdfab2e(0x14c)]=[];for(var _0x9ad091=0x0;_0x9ad091<_0xa1243e[_0xdfab2e(0x3e5)];_0x9ad091++)_0x30ead6[_0xa1243e['charCodeAt'](_0x9ad091)]=_0x9ad091;}var _0x363343=_0xa1243e[_0xdfab2e(0x328)](0x40);if(_0x363343){var _0x15de3c=_0x468785[_0xdfab2e(0x10a)](_0x363343);_0x15de3c!==-0x1&&(_0x3b999d=_0x15de3c);}return _0x31c5ec(_0x468785,_0x3b999d,_0x30ead6);},'_map':_0x550651(0x465)};function _0x31c5ec(_0x1d7870,_0x3ba432,_0xb51e14){const _0x488536=_0x550651;for(var _0xa2c218=[],_0x1aed90=0x0,_0x1ca389=0x0;_0x1ca389<_0x3ba432;_0x1ca389++)if(_0x1ca389%0x4){var _0x415da7=_0xb51e14[_0x1d7870[_0x488536(0x297)](_0x1ca389-0x1)]<<_0x1ca389%0x4*0x2,_0x42d465=_0xb51e14[_0x1d7870[_0x488536(0x297)](_0x1ca389)]>>>0x6-_0x1ca389%0x4*0x2,_0x6b829b=_0x415da7|_0x42d465;_0xa2c218[_0x1aed90>>>0x2]|=_0x6b829b<<0x18-_0x1aed90%0x4*0x8,_0x1aed90++;}return _0x1d8314[_0x488536(0x45b)](_0xa2c218,_0x1aed90);}}()),_0x19e274[_0x4d1e44(0x38a)]['Base64'];}));}(Vt)),Vt[_0xde556d(0x10c)];}var Gt={'exports':{}},Zs;function Ha(){return Zs||(Zs=0x1,function(_0x1c4626,_0x242a60){(function(_0x43e991,_0x2838cf){_0x1c4626['exports']=_0x2838cf(ue());}(Z,function(_0x34fcd4){const _0x208960=_0x4457;return function(_0x5f120f){const _0x452516=_0x4457;var _0x1ed7af=_0x34fcd4,_0x5bbc24=_0x1ed7af[_0x452516(0x1fa)],_0x528009=_0x5bbc24['WordArray'],_0x2f4245=_0x5bbc24['Hasher'],_0x4c3759=_0x1ed7af['algo'],_0xbe5c05=[];(function(){const _0x40b7ff=_0x452516;for(var _0x5b979f=0x0;_0x5b979f<0x40;_0x5b979f++)_0xbe5c05[_0x5b979f]=_0x5f120f[_0x40b7ff(0x25d)](_0x5f120f[_0x40b7ff(0x485)](_0x5b979f+0x1))*0x100000000|0x0;}());var _0x52f7f1=_0x4c3759['MD5']=_0x2f4245['extend']({'_doReset':function(){const _0x298d8e=_0x452516;this[_0x298d8e(0x3a7)]=new _0x528009[(_0x298d8e(0x318))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x491d45,_0x5f3b54){const _0x4187c7=_0x452516;for(var _0x726d2b=0x0;_0x726d2b<0x10;_0x726d2b++){var _0x3f488c=_0x5f3b54+_0x726d2b,_0x134b78=_0x491d45[_0x3f488c];_0x491d45[_0x3f488c]=(_0x134b78<<0x8|_0x134b78>>>0x18)&0xff00ff|(_0x134b78<<0x18|_0x134b78>>>0x8)&0xff00ff00;}var _0xb0568c=this[_0x4187c7(0x3a7)][_0x4187c7(0x39a)],_0x518f95=_0x491d45[_0x5f3b54+0x0],_0x42a5af=_0x491d45[_0x5f3b54+0x1],_0x3d6de9=_0x491d45[_0x5f3b54+0x2],_0x54602b=_0x491d45[_0x5f3b54+0x3],_0x264431=_0x491d45[_0x5f3b54+0x4],_0x42e2f3=_0x491d45[_0x5f3b54+0x5],_0x262ef7=_0x491d45[_0x5f3b54+0x6],_0x1e5bbd=_0x491d45[_0x5f3b54+0x7],_0x930fb7=_0x491d45[_0x5f3b54+0x8],_0x2bfd61=_0x491d45[_0x5f3b54+0x9],_0x192661=_0x491d45[_0x5f3b54+0xa],_0x5e8dbf=_0x491d45[_0x5f3b54+0xb],_0x56c3be=_0x491d45[_0x5f3b54+0xc],_0x18fff2=_0x491d45[_0x5f3b54+0xd],_0x49ec9e=_0x491d45[_0x5f3b54+0xe],_0x256790=_0x491d45[_0x5f3b54+0xf],_0x5a45e2=_0xb0568c[0x0],_0x367ef5=_0xb0568c[0x1],_0x201b62=_0xb0568c[0x2],_0x1944ac=_0xb0568c[0x3];_0x5a45e2=_0x59e55e(_0x5a45e2,_0x367ef5,_0x201b62,_0x1944ac,_0x518f95,0x7,_0xbe5c05[0x0]),_0x1944ac=_0x59e55e(_0x1944ac,_0x5a45e2,_0x367ef5,_0x201b62,_0x42a5af,0xc,_0xbe5c05[0x1]),_0x201b62=_0x59e55e(_0x201b62,_0x1944ac,_0x5a45e2,_0x367ef5,_0x3d6de9,0x11,_0xbe5c05[0x2]),_0x367ef5=_0x59e55e(_0x367ef5,_0x201b62,_0x1944ac,_0x5a45e2,_0x54602b,0x16,_0xbe5c05[0x3]),_0x5a45e2=_0x59e55e(_0x5a45e2,_0x367ef5,_0x201b62,_0x1944ac,_0x264431,0x7,_0xbe5c05[0x4]),_0x1944ac=_0x59e55e(_0x1944ac,_0x5a45e2,_0x367ef5,_0x201b62,_0x42e2f3,0xc,_0xbe5c05[0x5]),_0x201b62=_0x59e55e(_0x201b62,_0x1944ac,_0x5a45e2,_0x367ef5,_0x262ef7,0x11,_0xbe5c05[0x6]),_0x367ef5=_0x59e55e(_0x367ef5,_0x201b62,_0x1944ac,_0x5a45e2,_0x1e5bbd,0x16,_0xbe5c05[0x7]),_0x5a45e2=_0x59e55e(_0x5a45e2,_0x367ef5,_0x201b62,_0x1944ac,_0x930fb7,0x7,_0xbe5c05[0x8]),_0x1944ac=_0x59e55e(_0x1944ac,_0x5a45e2,_0x367ef5,_0x201b62,_0x2bfd61,0xc,_0xbe5c05[0x9]),_0x201b62=_0x59e55e(_0x201b62,_0x1944ac,_0x5a45e2,_0x367ef5,_0x192661,0x11,_0xbe5c05[0xa]),_0x367ef5=_0x59e55e(_0x367ef5,_0x201b62,_0x1944ac,_0x5a45e2,_0x5e8dbf,0x16,_0xbe5c05[0xb]),_0x5a45e2=_0x59e55e(_0x5a45e2,_0x367ef5,_0x201b62,_0x1944ac,_0x56c3be,0x7,_0xbe5c05[0xc]),_0x1944ac=_0x59e55e(_0x1944ac,_0x5a45e2,_0x367ef5,_0x201b62,_0x18fff2,0xc,_0xbe5c05[0xd]),_0x201b62=_0x59e55e(_0x201b62,_0x1944ac,_0x5a45e2,_0x367ef5,_0x49ec9e,0x11,_0xbe5c05[0xe]),_0x367ef5=_0x59e55e(_0x367ef5,_0x201b62,_0x1944ac,_0x5a45e2,_0x256790,0x16,_0xbe5c05[0xf]),_0x5a45e2=_0x5d8280(_0x5a45e2,_0x367ef5,_0x201b62,_0x1944ac,_0x42a5af,0x5,_0xbe5c05[0x10]),_0x1944ac=_0x5d8280(_0x1944ac,_0x5a45e2,_0x367ef5,_0x201b62,_0x262ef7,0x9,_0xbe5c05[0x11]),_0x201b62=_0x5d8280(_0x201b62,_0x1944ac,_0x5a45e2,_0x367ef5,_0x5e8dbf,0xe,_0xbe5c05[0x12]),_0x367ef5=_0x5d8280(_0x367ef5,_0x201b62,_0x1944ac,_0x5a45e2,_0x518f95,0x14,_0xbe5c05[0x13]),_0x5a45e2=_0x5d8280(_0x5a45e2,_0x367ef5,_0x201b62,_0x1944ac,_0x42e2f3,0x5,_0xbe5c05[0x14]),_0x1944ac=_0x5d8280(_0x1944ac,_0x5a45e2,_0x367ef5,_0x201b62,_0x192661,0x9,_0xbe5c05[0x15]),_0x201b62=_0x5d8280(_0x201b62,_0x1944ac,_0x5a45e2,_0x367ef5,_0x256790,0xe,_0xbe5c05[0x16]),_0x367ef5=_0x5d8280(_0x367ef5,_0x201b62,_0x1944ac,_0x5a45e2,_0x264431,0x14,_0xbe5c05[0x17]),_0x5a45e2=_0x5d8280(_0x5a45e2,_0x367ef5,_0x201b62,_0x1944ac,_0x2bfd61,0x5,_0xbe5c05[0x18]),_0x1944ac=_0x5d8280(_0x1944ac,_0x5a45e2,_0x367ef5,_0x201b62,_0x49ec9e,0x9,_0xbe5c05[0x19]),_0x201b62=_0x5d8280(_0x201b62,_0x1944ac,_0x5a45e2,_0x367ef5,_0x54602b,0xe,_0xbe5c05[0x1a]),_0x367ef5=_0x5d8280(_0x367ef5,_0x201b62,_0x1944ac,_0x5a45e2,_0x930fb7,0x14,_0xbe5c05[0x1b]),_0x5a45e2=_0x5d8280(_0x5a45e2,_0x367ef5,_0x201b62,_0x1944ac,_0x18fff2,0x5,_0xbe5c05[0x1c]),_0x1944ac=_0x5d8280(_0x1944ac,_0x5a45e2,_0x367ef5,_0x201b62,_0x3d6de9,0x9,_0xbe5c05[0x1d]),_0x201b62=_0x5d8280(_0x201b62,_0x1944ac,_0x5a45e2,_0x367ef5,_0x1e5bbd,0xe,_0xbe5c05[0x1e]),_0x367ef5=_0x5d8280(_0x367ef5,_0x201b62,_0x1944ac,_0x5a45e2,_0x56c3be,0x14,_0xbe5c05[0x1f]),_0x5a45e2=_0x10f705(_0x5a45e2,_0x367ef5,_0x201b62,_0x1944ac,_0x42e2f3,0x4,_0xbe5c05[0x20]),_0x1944ac=_0x10f705(_0x1944ac,_0x5a45e2,_0x367ef5,_0x201b62,_0x930fb7,0xb,_0xbe5c05[0x21]),_0x201b62=_0x10f705(_0x201b62,_0x1944ac,_0x5a45e2,_0x367ef5,_0x5e8dbf,0x10,_0xbe5c05[0x22]),_0x367ef5=_0x10f705(_0x367ef5,_0x201b62,_0x1944ac,_0x5a45e2,_0x49ec9e,0x17,_0xbe5c05[0x23]),_0x5a45e2=_0x10f705(_0x5a45e2,_0x367ef5,_0x201b62,_0x1944ac,_0x42a5af,0x4,_0xbe5c05[0x24]),_0x1944ac=_0x10f705(_0x1944ac,_0x5a45e2,_0x367ef5,_0x201b62,_0x264431,0xb,_0xbe5c05[0x25]),_0x201b62=_0x10f705(_0x201b62,_0x1944ac,_0x5a45e2,_0x367ef5,_0x1e5bbd,0x10,_0xbe5c05[0x26]),_0x367ef5=_0x10f705(_0x367ef5,_0x201b62,_0x1944ac,_0x5a45e2,_0x192661,0x17,_0xbe5c05[0x27]),_0x5a45e2=_0x10f705(_0x5a45e2,_0x367ef5,_0x201b62,_0x1944ac,_0x18fff2,0x4,_0xbe5c05[0x28]),_0x1944ac=_0x10f705(_0x1944ac,_0x5a45e2,_0x367ef5,_0x201b62,_0x518f95,0xb,_0xbe5c05[0x29]),_0x201b62=_0x10f705(_0x201b62,_0x1944ac,_0x5a45e2,_0x367ef5,_0x54602b,0x10,_0xbe5c05[0x2a]),_0x367ef5=_0x10f705(_0x367ef5,_0x201b62,_0x1944ac,_0x5a45e2,_0x262ef7,0x17,_0xbe5c05[0x2b]),_0x5a45e2=_0x10f705(_0x5a45e2,_0x367ef5,_0x201b62,_0x1944ac,_0x2bfd61,0x4,_0xbe5c05[0x2c]),_0x1944ac=_0x10f705(_0x1944ac,_0x5a45e2,_0x367ef5,_0x201b62,_0x56c3be,0xb,_0xbe5c05[0x2d]),_0x201b62=_0x10f705(_0x201b62,_0x1944ac,_0x5a45e2,_0x367ef5,_0x256790,0x10,_0xbe5c05[0x2e]),_0x367ef5=_0x10f705(_0x367ef5,_0x201b62,_0x1944ac,_0x5a45e2,_0x3d6de9,0x17,_0xbe5c05[0x2f]),_0x5a45e2=_0x314639(_0x5a45e2,_0x367ef5,_0x201b62,_0x1944ac,_0x518f95,0x6,_0xbe5c05[0x30]),_0x1944ac=_0x314639(_0x1944ac,_0x5a45e2,_0x367ef5,_0x201b62,_0x1e5bbd,0xa,_0xbe5c05[0x31]),_0x201b62=_0x314639(_0x201b62,_0x1944ac,_0x5a45e2,_0x367ef5,_0x49ec9e,0xf,_0xbe5c05[0x32]),_0x367ef5=_0x314639(_0x367ef5,_0x201b62,_0x1944ac,_0x5a45e2,_0x42e2f3,0x15,_0xbe5c05[0x33]),_0x5a45e2=_0x314639(_0x5a45e2,_0x367ef5,_0x201b62,_0x1944ac,_0x56c3be,0x6,_0xbe5c05[0x34]),_0x1944ac=_0x314639(_0x1944ac,_0x5a45e2,_0x367ef5,_0x201b62,_0x54602b,0xa,_0xbe5c05[0x35]),_0x201b62=_0x314639(_0x201b62,_0x1944ac,_0x5a45e2,_0x367ef5,_0x192661,0xf,_0xbe5c05[0x36]),_0x367ef5=_0x314639(_0x367ef5,_0x201b62,_0x1944ac,_0x5a45e2,_0x42a5af,0x15,_0xbe5c05[0x37]),_0x5a45e2=_0x314639(_0x5a45e2,_0x367ef5,_0x201b62,_0x1944ac,_0x930fb7,0x6,_0xbe5c05[0x38]),_0x1944ac=_0x314639(_0x1944ac,_0x5a45e2,_0x367ef5,_0x201b62,_0x256790,0xa,_0xbe5c05[0x39]),_0x201b62=_0x314639(_0x201b62,_0x1944ac,_0x5a45e2,_0x367ef5,_0x262ef7,0xf,_0xbe5c05[0x3a]),_0x367ef5=_0x314639(_0x367ef5,_0x201b62,_0x1944ac,_0x5a45e2,_0x18fff2,0x15,_0xbe5c05[0x3b]),_0x5a45e2=_0x314639(_0x5a45e2,_0x367ef5,_0x201b62,_0x1944ac,_0x264431,0x6,_0xbe5c05[0x3c]),_0x1944ac=_0x314639(_0x1944ac,_0x5a45e2,_0x367ef5,_0x201b62,_0x5e8dbf,0xa,_0xbe5c05[0x3d]),_0x201b62=_0x314639(_0x201b62,_0x1944ac,_0x5a45e2,_0x367ef5,_0x3d6de9,0xf,_0xbe5c05[0x3e]),_0x367ef5=_0x314639(_0x367ef5,_0x201b62,_0x1944ac,_0x5a45e2,_0x2bfd61,0x15,_0xbe5c05[0x3f]),_0xb0568c[0x0]=_0xb0568c[0x0]+_0x5a45e2|0x0,_0xb0568c[0x1]=_0xb0568c[0x1]+_0x367ef5|0x0,_0xb0568c[0x2]=_0xb0568c[0x2]+_0x201b62|0x0,_0xb0568c[0x3]=_0xb0568c[0x3]+_0x1944ac|0x0;},'_doFinalize':function(){const _0x4a7970=_0x452516;var _0x133a2c=this[_0x4a7970(0x20d)],_0x28bfb0=_0x133a2c['words'],_0x58f814=this['_nDataBytes']*0x8,_0x3d11e7=_0x133a2c[_0x4a7970(0x26a)]*0x8;_0x28bfb0[_0x3d11e7>>>0x5]|=0x80<<0x18-_0x3d11e7%0x20;var _0x19198b=_0x5f120f[_0x4a7970(0x393)](_0x58f814/0x100000000),_0x2b246a=_0x58f814;_0x28bfb0[(_0x3d11e7+0x40>>>0x9<<0x4)+0xf]=(_0x19198b<<0x8|_0x19198b>>>0x18)&0xff00ff|(_0x19198b<<0x18|_0x19198b>>>0x8)&0xff00ff00,_0x28bfb0[(_0x3d11e7+0x40>>>0x9<<0x4)+0xe]=(_0x2b246a<<0x8|_0x2b246a>>>0x18)&0xff00ff|(_0x2b246a<<0x18|_0x2b246a>>>0x8)&0xff00ff00,_0x133a2c[_0x4a7970(0x26a)]=(_0x28bfb0[_0x4a7970(0x3e5)]+0x1)*0x4,this[_0x4a7970(0x330)]();for(var _0x3a3a2e=this['_hash'],_0x3b766a=_0x3a3a2e[_0x4a7970(0x39a)],_0x1b4be1=0x0;_0x1b4be1<0x4;_0x1b4be1++){var _0x5999fa=_0x3b766a[_0x1b4be1];_0x3b766a[_0x1b4be1]=(_0x5999fa<<0x8|_0x5999fa>>>0x18)&0xff00ff|(_0x5999fa<<0x18|_0x5999fa>>>0x8)&0xff00ff00;}return _0x3a3a2e;},'clone':function(){const _0x330225=_0x452516;var _0x445b1d=_0x2f4245[_0x330225(0x1f1)][_0x330225(0x45a)](this);return _0x445b1d[_0x330225(0x3a7)]=this[_0x330225(0x3a7)][_0x330225(0x1f1)](),_0x445b1d;}});function _0x59e55e(_0x57894b,_0xb9f2c0,_0x2098d3,_0x3e80ef,_0x4469a6,_0x2af328,_0xf865d7){var _0x3c91f1=_0x57894b+(_0xb9f2c0&_0x2098d3|~_0xb9f2c0&_0x3e80ef)+_0x4469a6+_0xf865d7;return(_0x3c91f1<<_0x2af328|_0x3c91f1>>>0x20-_0x2af328)+_0xb9f2c0;}function _0x5d8280(_0xfddf98,_0x6a9a28,_0x53b032,_0x85bc33,_0x1eb88f,_0x4df9f0,_0x17cd93){var _0x3ac5eb=_0xfddf98+(_0x6a9a28&_0x85bc33|_0x53b032&~_0x85bc33)+_0x1eb88f+_0x17cd93;return(_0x3ac5eb<<_0x4df9f0|_0x3ac5eb>>>0x20-_0x4df9f0)+_0x6a9a28;}function _0x10f705(_0x1284a9,_0x43ddda,_0x192da9,_0x4ccacc,_0xd5373f,_0x593ade,_0x8163c){var _0x421382=_0x1284a9+(_0x43ddda^_0x192da9^_0x4ccacc)+_0xd5373f+_0x8163c;return(_0x421382<<_0x593ade|_0x421382>>>0x20-_0x593ade)+_0x43ddda;}function _0x314639(_0x4b8ae7,_0x320859,_0xd911fc,_0x46bbbb,_0x4bc974,_0x566bc6,_0xb1a9a2){var _0x1fa844=_0x4b8ae7+(_0xd911fc^(_0x320859|~_0x46bbbb))+_0x4bc974+_0xb1a9a2;return(_0x1fa844<<_0x566bc6|_0x1fa844>>>0x20-_0x566bc6)+_0x320859;}_0x1ed7af[_0x452516(0x2a5)]=_0x2f4245['_createHelper'](_0x52f7f1),_0x1ed7af[_0x452516(0xc1)]=_0x2f4245[_0x452516(0x3d5)](_0x52f7f1);}(Math),_0x34fcd4[_0x208960(0x2a5)];}));}(Gt)),Gt['exports'];}var Yt={'exports':{}},Kt={'exports':{}},Qs;function ja(){return Qs||(Qs=0x1,function(_0x4782b0,_0x284c6f){(function(_0x4bb7c6,_0xd512ed){_0x4782b0['exports']=_0xd512ed(ue());}(Z,function(_0x469976){const _0x44751f=_0x4457;return(function(){const _0x7733d4=_0x4457;var _0x1baee7=_0x469976,_0x436d47=_0x1baee7['lib'],_0x5aa0ab=_0x436d47[_0x7733d4(0x1c2)],_0x5931b7=_0x436d47[_0x7733d4(0x270)],_0xa3b9c8=_0x1baee7[_0x7733d4(0x2ff)],_0x5e531b=[],_0x2d49f1=_0xa3b9c8[_0x7733d4(0x1d4)]=_0x5931b7[_0x7733d4(0x392)]({'_doReset':function(){const _0x4d3e1d=_0x7733d4;this[_0x4d3e1d(0x3a7)]=new _0x5aa0ab[(_0x4d3e1d(0x318))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x57e5c5,_0x50a80c){const _0x30f407=_0x7733d4;for(var _0x2e2975=this[_0x30f407(0x3a7)][_0x30f407(0x39a)],_0x362267=_0x2e2975[0x0],_0xb5130c=_0x2e2975[0x1],_0x2e39d5=_0x2e2975[0x2],_0x3f5848=_0x2e2975[0x3],_0x4f9ffc=_0x2e2975[0x4],_0xd58b06=0x0;_0xd58b06<0x50;_0xd58b06++){if(_0xd58b06<0x10)_0x5e531b[_0xd58b06]=_0x57e5c5[_0x50a80c+_0xd58b06]|0x0;else{var _0x20b6b1=_0x5e531b[_0xd58b06-0x3]^_0x5e531b[_0xd58b06-0x8]^_0x5e531b[_0xd58b06-0xe]^_0x5e531b[_0xd58b06-0x10];_0x5e531b[_0xd58b06]=_0x20b6b1<<0x1|_0x20b6b1>>>0x1f;}var _0x18e9a3=(_0x362267<<0x5|_0x362267>>>0x1b)+_0x4f9ffc+_0x5e531b[_0xd58b06];_0xd58b06<0x14?_0x18e9a3+=(_0xb5130c&_0x2e39d5|~_0xb5130c&_0x3f5848)+0x5a827999:_0xd58b06<0x28?_0x18e9a3+=(_0xb5130c^_0x2e39d5^_0x3f5848)+0x6ed9eba1:_0xd58b06<0x3c?_0x18e9a3+=(_0xb5130c&_0x2e39d5|_0xb5130c&_0x3f5848|_0x2e39d5&_0x3f5848)-0x70e44324:_0x18e9a3+=(_0xb5130c^_0x2e39d5^_0x3f5848)-0x359d3e2a,_0x4f9ffc=_0x3f5848,_0x3f5848=_0x2e39d5,_0x2e39d5=_0xb5130c<<0x1e|_0xb5130c>>>0x2,_0xb5130c=_0x362267,_0x362267=_0x18e9a3;}_0x2e2975[0x0]=_0x2e2975[0x0]+_0x362267|0x0,_0x2e2975[0x1]=_0x2e2975[0x1]+_0xb5130c|0x0,_0x2e2975[0x2]=_0x2e2975[0x2]+_0x2e39d5|0x0,_0x2e2975[0x3]=_0x2e2975[0x3]+_0x3f5848|0x0,_0x2e2975[0x4]=_0x2e2975[0x4]+_0x4f9ffc|0x0;},'_doFinalize':function(){const _0x2f3e9e=_0x7733d4;var _0x58dda5=this['_data'],_0x43e55b=_0x58dda5[_0x2f3e9e(0x39a)],_0x4fef82=this[_0x2f3e9e(0x2c2)]*0x8,_0x49be94=_0x58dda5[_0x2f3e9e(0x26a)]*0x8;return _0x43e55b[_0x49be94>>>0x5]|=0x80<<0x18-_0x49be94%0x20,_0x43e55b[(_0x49be94+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x4fef82/0x100000000),_0x43e55b[(_0x49be94+0x40>>>0x9<<0x4)+0xf]=_0x4fef82,_0x58dda5[_0x2f3e9e(0x26a)]=_0x43e55b[_0x2f3e9e(0x3e5)]*0x4,this[_0x2f3e9e(0x330)](),this[_0x2f3e9e(0x3a7)];},'clone':function(){const _0x136769=_0x7733d4;var _0x2e1178=_0x5931b7[_0x136769(0x1f1)][_0x136769(0x45a)](this);return _0x2e1178['_hash']=this['_hash'][_0x136769(0x1f1)](),_0x2e1178;}});_0x1baee7[_0x7733d4(0x1d4)]=_0x5931b7[_0x7733d4(0x417)](_0x2d49f1),_0x1baee7[_0x7733d4(0x246)]=_0x5931b7['_createHmacHelper'](_0x2d49f1);}()),_0x469976[_0x44751f(0x1d4)];}));}(Kt)),Kt['exports'];}var zt={'exports':{}},ei;function Ba(){const _0x5797d4=_0x159fb9;return ei||(ei=0x1,function(_0x35bf3a,_0x590ce9){(function(_0x2ea9b4,_0x507eca){const _0x4075d2=_0x4457;_0x35bf3a[_0x4075d2(0x10c)]=_0x507eca(ue());}(Z,function(_0x11ea92){(function(){const _0xc2527d=_0x4457;var _0x184b01=_0x11ea92,_0x620372=_0x184b01['lib'],_0xdabd05=_0x620372[_0xc2527d(0x3a8)],_0x2ab1f5=_0x184b01[_0xc2527d(0x38a)],_0x571e46=_0x2ab1f5[_0xc2527d(0x220)],_0x41843a=_0x184b01['algo'];_0x41843a['HMAC']=_0xdabd05[_0xc2527d(0x392)]({'init':function(_0xaf783e,_0x421197){const _0x2adf09=_0xc2527d;_0xaf783e=this['_hasher']=new _0xaf783e[(_0x2adf09(0x318))](),typeof _0x421197==_0x2adf09(0xde)&&(_0x421197=_0x571e46[_0x2adf09(0x3c4)](_0x421197));var _0x29f25e=_0xaf783e['blockSize'],_0x1e1a18=_0x29f25e*0x4;_0x421197['sigBytes']>_0x1e1a18&&(_0x421197=_0xaf783e[_0x2adf09(0x202)](_0x421197)),_0x421197[_0x2adf09(0x224)]();for(var _0x391dc6=this[_0x2adf09(0x29d)]=_0x421197[_0x2adf09(0x1f1)](),_0x51c69f=this['_iKey']=_0x421197[_0x2adf09(0x1f1)](),_0x2cec1b=_0x391dc6[_0x2adf09(0x39a)],_0x184b99=_0x51c69f[_0x2adf09(0x39a)],_0x2ae87b=0x0;_0x2ae87b<_0x29f25e;_0x2ae87b++)_0x2cec1b[_0x2ae87b]^=0x5c5c5c5c,_0x184b99[_0x2ae87b]^=0x36363636;_0x391dc6[_0x2adf09(0x26a)]=_0x51c69f['sigBytes']=_0x1e1a18,this[_0x2adf09(0x48a)]();},'reset':function(){const _0x19e038=_0xc2527d;var _0x3cb17a=this[_0x19e038(0x350)];_0x3cb17a[_0x19e038(0x48a)](),_0x3cb17a[_0x19e038(0x4af)](this[_0x19e038(0x49c)]);},'update':function(_0x5c95ae){const _0x244664=_0xc2527d;return this[_0x244664(0x350)][_0x244664(0x4af)](_0x5c95ae),this;},'finalize':function(_0x168f29){const _0x486866=_0xc2527d;var _0x5d7585=this[_0x486866(0x350)],_0x485a06=_0x5d7585[_0x486866(0x202)](_0x168f29);_0x5d7585['reset']();var _0x2ae0fb=_0x5d7585[_0x486866(0x202)](this[_0x486866(0x29d)][_0x486866(0x1f1)]()[_0x486866(0x1d2)](_0x485a06));return _0x2ae0fb;}});}());}));}(zt)),zt[_0x5797d4(0x10c)];}function _0x4457(_0x499342,_0x478657){const _0x60b8f5=_0x60b8();return _0x4457=function(_0x4457b7,_0x45c05f){_0x4457b7=_0x4457b7-0xab;let _0x57278d=_0x60b8f5[_0x4457b7];return _0x57278d;},_0x4457(_0x499342,_0x478657);}var ti;function ki(){return ti||(ti=0x1,function(_0x3c3478,_0x5c1852){(function(_0x572ce2,_0x2f20a7,_0x2e83a5){const _0x4871fc=_0x4457;_0x3c3478[_0x4871fc(0x10c)]=_0x2f20a7(ue(),ja(),Ba());}(Z,function(_0x28407b){return(function(){const _0x2c22dd=_0x4457;var _0x5ac01a=_0x28407b,_0x2b8bb2=_0x5ac01a[_0x2c22dd(0x1fa)],_0x3096bf=_0x2b8bb2[_0x2c22dd(0x3a8)],_0x143e97=_0x2b8bb2[_0x2c22dd(0x1c2)],_0x2fa53=_0x5ac01a[_0x2c22dd(0x2ff)],_0xc47dba=_0x2fa53[_0x2c22dd(0x2a5)],_0x5a78af=_0x2fa53[_0x2c22dd(0x21b)]=_0x3096bf[_0x2c22dd(0x392)]({'cfg':_0x3096bf[_0x2c22dd(0x392)]({'keySize':0x80/0x20,'hasher':_0xc47dba,'iterations':0x1}),'init':function(_0x392c59){const _0x2ff27a=_0x2c22dd;this[_0x2ff27a(0x3b6)]=this[_0x2ff27a(0x3b6)]['extend'](_0x392c59);},'compute':function(_0x2cafcd,_0x493020){const _0x2e7276=_0x2c22dd;for(var _0x49918d,_0x5f518c=this[_0x2e7276(0x3b6)],_0x57778f=_0x5f518c[_0x2e7276(0x193)][_0x2e7276(0x45b)](),_0x4e114b=_0x143e97[_0x2e7276(0x45b)](),_0x35de41=_0x4e114b[_0x2e7276(0x39a)],_0x1bbda8=_0x5f518c[_0x2e7276(0x450)],_0x22ec01=_0x5f518c[_0x2e7276(0x2c5)];_0x35de41[_0x2e7276(0x3e5)]<_0x1bbda8;){_0x49918d&&_0x57778f['update'](_0x49918d),_0x49918d=_0x57778f[_0x2e7276(0x4af)](_0x2cafcd)[_0x2e7276(0x202)](_0x493020),_0x57778f[_0x2e7276(0x48a)]();for(var _0x2bf984=0x1;_0x2bf984<_0x22ec01;_0x2bf984++)_0x49918d=_0x57778f['finalize'](_0x49918d),_0x57778f['reset']();_0x4e114b[_0x2e7276(0x1d2)](_0x49918d);}return _0x4e114b[_0x2e7276(0x26a)]=_0x1bbda8*0x4,_0x4e114b;}});_0x5ac01a[_0x2c22dd(0x21b)]=function(_0x4515a8,_0x2c84cc,_0x5c2009){const _0x5a79b9=_0x2c22dd;return _0x5a78af['create'](_0x5c2009)[_0x5a79b9(0x1e4)](_0x4515a8,_0x2c84cc);};}()),_0x28407b['EvpKDF'];}));}(Yt)),Yt['exports'];}var qt={'exports':{}},si;function Wi(){const _0x11f1c2=_0x159fb9;return si||(si=0x1,function(_0x7c52e5,_0x4bb515){(function(_0x6409c9,_0x25976f,_0x2e8f35){_0x7c52e5['exports']=_0x25976f(ue(),ki());}(Z,function(_0x1810c2){const _0x32b751=_0x4457;_0x1810c2[_0x32b751(0x1fa)]['Cipher']||function(_0x365368){const _0x4c97a4=_0x32b751;var _0x1f8082=_0x1810c2,_0xf9ddeb=_0x1f8082[_0x4c97a4(0x1fa)],_0x57de07=_0xf9ddeb['Base'],_0x4b3871=_0xf9ddeb['WordArray'],_0x1cfaaa=_0xf9ddeb['BufferedBlockAlgorithm'],_0x14a76c=_0x1f8082['enc'];_0x14a76c[_0x4c97a4(0x220)];var _0xb281e=_0x14a76c[_0x4c97a4(0x164)],_0x5ec64a=_0x1f8082['algo'],_0x2a58b0=_0x5ec64a[_0x4c97a4(0x21b)],_0x16d907=_0xf9ddeb[_0x4c97a4(0x125)]=_0x1cfaaa[_0x4c97a4(0x392)]({'cfg':_0x57de07[_0x4c97a4(0x392)](),'createEncryptor':function(_0x5e6034,_0x176d0a){const _0x21eda8=_0x4c97a4;return this['create'](this[_0x21eda8(0x30f)],_0x5e6034,_0x176d0a);},'createDecryptor':function(_0x5a5a10,_0x515868){const _0x124da9=_0x4c97a4;return this[_0x124da9(0x45b)](this[_0x124da9(0x455)],_0x5a5a10,_0x515868);},'init':function(_0x3cd042,_0x1b0074,_0x586996){const _0x1a5432=_0x4c97a4;this[_0x1a5432(0x3b6)]=this['cfg'][_0x1a5432(0x392)](_0x586996),this['_xformMode']=_0x3cd042,this[_0x1a5432(0x117)]=_0x1b0074,this[_0x1a5432(0x48a)]();},'reset':function(){const _0x4fd538=_0x4c97a4;_0x1cfaaa[_0x4fd538(0x48a)][_0x4fd538(0x45a)](this),this[_0x4fd538(0x278)]();},'process':function(_0x8a233e){const _0x34ec5d=_0x4c97a4;return this[_0x34ec5d(0x3fa)](_0x8a233e),this[_0x34ec5d(0x330)]();},'finalize':function(_0x5e007e){const _0x3a816c=_0x4c97a4;_0x5e007e&&this['_append'](_0x5e007e);var _0x4b937b=this[_0x3a816c(0x3ef)]();return _0x4b937b;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1239f2(_0x31a41d){const _0x4cc39e=_0x4457;return typeof _0x31a41d==_0x4cc39e(0xde)?_0x11d46d:_0x138b9f;}return function(_0x40c30e){return{'encrypt':function(_0x47fb6e,_0x5eac80,_0x42b317){return _0x1239f2(_0x5eac80)['encrypt'](_0x40c30e,_0x47fb6e,_0x5eac80,_0x42b317);},'decrypt':function(_0x2b42a0,_0x19ca24,_0x25fe0b){const _0x20701e=_0x4457;return _0x1239f2(_0x19ca24)[_0x20701e(0x40e)](_0x40c30e,_0x2b42a0,_0x19ca24,_0x25fe0b);}};};}())});_0xf9ddeb[_0x4c97a4(0x18e)]=_0x16d907[_0x4c97a4(0x392)]({'_doFinalize':function(){const _0x49a89c=_0x4c97a4;var _0x197a41=this[_0x49a89c(0x330)](!0x0);return _0x197a41;},'blockSize':0x1});var _0x571208=_0x1f8082[_0x4c97a4(0x106)]={},_0x3e0a0a=_0xf9ddeb[_0x4c97a4(0x2d9)]=_0x57de07[_0x4c97a4(0x392)]({'createEncryptor':function(_0x31a479,_0x13ab99){const _0x2a7776=_0x4c97a4;return this[_0x2a7776(0x40d)][_0x2a7776(0x45b)](_0x31a479,_0x13ab99);},'createDecryptor':function(_0x3fc6e0,_0x26cc5d){const _0x267523=_0x4c97a4;return this[_0x267523(0x1a6)][_0x267523(0x45b)](_0x3fc6e0,_0x26cc5d);},'init':function(_0x144904,_0x528429){const _0x200850=_0x4c97a4;this[_0x200850(0xc3)]=_0x144904,this[_0x200850(0x34a)]=_0x528429;}}),_0x3f34a8=_0x571208[_0x4c97a4(0x104)]=(function(){const _0x43cdda=_0x4c97a4;var _0x4d176c=_0x3e0a0a[_0x43cdda(0x392)]();_0x4d176c[_0x43cdda(0x40d)]=_0x4d176c['extend']({'processBlock':function(_0xa6d81e,_0x1deef4){const _0x3784e4=_0x43cdda;var _0x56597e=this[_0x3784e4(0xc3)],_0x37e0a5=_0x56597e[_0x3784e4(0xc4)];_0xc3b64b[_0x3784e4(0x45a)](this,_0xa6d81e,_0x1deef4,_0x37e0a5),_0x56597e[_0x3784e4(0xf5)](_0xa6d81e,_0x1deef4),this[_0x3784e4(0x30c)]=_0xa6d81e[_0x3784e4(0x438)](_0x1deef4,_0x1deef4+_0x37e0a5);}}),_0x4d176c[_0x43cdda(0x1a6)]=_0x4d176c[_0x43cdda(0x392)]({'processBlock':function(_0x48c4fb,_0x503755){const _0x19dca4=_0x43cdda;var _0x1c4050=this[_0x19dca4(0xc3)],_0x612fca=_0x1c4050['blockSize'],_0x314d3b=_0x48c4fb[_0x19dca4(0x438)](_0x503755,_0x503755+_0x612fca);_0x1c4050['decryptBlock'](_0x48c4fb,_0x503755),_0xc3b64b[_0x19dca4(0x45a)](this,_0x48c4fb,_0x503755,_0x612fca),this['_prevBlock']=_0x314d3b;}});function _0xc3b64b(_0x1fbe2e,_0x55f349,_0x4fc6bf){const _0x351123=_0x43cdda;var _0x5bd1fb,_0x5adee0=this[_0x351123(0x34a)];_0x5adee0?(_0x5bd1fb=_0x5adee0,this[_0x351123(0x34a)]=_0x365368):_0x5bd1fb=this['_prevBlock'];for(var _0xf7bc84=0x0;_0xf7bc84<_0x4fc6bf;_0xf7bc84++)_0x1fbe2e[_0x55f349+_0xf7bc84]^=_0x5bd1fb[_0xf7bc84];}return _0x4d176c;}()),_0x362168=_0x1f8082[_0x4c97a4(0xbd)]={},_0x3f7eeb=_0x362168[_0x4c97a4(0x2ea)]={'pad':function(_0x1780d1,_0x50c926){const _0x3c62de=_0x4c97a4;for(var _0x3afa05=_0x50c926*0x4,_0x331936=_0x3afa05-_0x1780d1[_0x3c62de(0x26a)]%_0x3afa05,_0x567abb=_0x331936<<0x18|_0x331936<<0x10|_0x331936<<0x8|_0x331936,_0x547c88=[],_0x494fb5=0x0;_0x494fb5<_0x331936;_0x494fb5+=0x4)_0x547c88[_0x3c62de(0x3c8)](_0x567abb);var _0xe8a81f=_0x4b3871['create'](_0x547c88,_0x331936);_0x1780d1[_0x3c62de(0x1d2)](_0xe8a81f);},'unpad':function(_0x2be1e3){const _0xdf6880=_0x4c97a4;var _0x9ae894=_0x2be1e3[_0xdf6880(0x39a)][_0x2be1e3[_0xdf6880(0x26a)]-0x1>>>0x2]&0xff;_0x2be1e3[_0xdf6880(0x26a)]-=_0x9ae894;}};_0xf9ddeb['BlockCipher']=_0x16d907[_0x4c97a4(0x392)]({'cfg':_0x16d907[_0x4c97a4(0x3b6)][_0x4c97a4(0x392)]({'mode':_0x3f34a8,'padding':_0x3f7eeb}),'reset':function(){const _0x4dcb01=_0x4c97a4;var _0x2e74be;_0x16d907[_0x4dcb01(0x48a)][_0x4dcb01(0x45a)](this);var _0x1d6625=this[_0x4dcb01(0x3b6)],_0x1a57bb=_0x1d6625['iv'],_0x53c253=_0x1d6625['mode'];this[_0x4dcb01(0x1d0)]==this[_0x4dcb01(0x30f)]?_0x2e74be=_0x53c253[_0x4dcb01(0x2af)]:(_0x2e74be=_0x53c253[_0x4dcb01(0x231)],this[_0x4dcb01(0x2df)]=0x1),this[_0x4dcb01(0x11a)]&&this[_0x4dcb01(0x11a)]['__creator']==_0x2e74be?this[_0x4dcb01(0x11a)][_0x4dcb01(0x318)](this,_0x1a57bb&&_0x1a57bb['words']):(this[_0x4dcb01(0x11a)]=_0x2e74be[_0x4dcb01(0x45a)](_0x53c253,this,_0x1a57bb&&_0x1a57bb['words']),this[_0x4dcb01(0x11a)][_0x4dcb01(0x412)]=_0x2e74be);},'_doProcessBlock':function(_0x148864,_0x340556){this['_mode']['processBlock'](_0x148864,_0x340556);},'_doFinalize':function(){const _0x359aba=_0x4c97a4;var _0x213618,_0x4c83f6=this[_0x359aba(0x3b6)][_0x359aba(0x37d)];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0x4c83f6['pad'](this['_data'],this[_0x359aba(0xc4)]),_0x213618=this[_0x359aba(0x330)](!0x0)):(_0x213618=this[_0x359aba(0x330)](!0x0),_0x4c83f6[_0x359aba(0x34b)](_0x213618)),_0x213618;},'blockSize':0x80/0x20});var _0x60bb33=_0xf9ddeb[_0x4c97a4(0x39d)]=_0x57de07[_0x4c97a4(0x392)]({'init':function(_0x1cc6da){const _0x5f16c6=_0x4c97a4;this[_0x5f16c6(0x38f)](_0x1cc6da);},'toString':function(_0x561623){return(_0x561623||this['formatter'])['stringify'](this);}}),_0x20c69a=_0x1f8082[_0x4c97a4(0x41d)]={},_0xf1ed2f=_0x20c69a[_0x4c97a4(0x1a2)]={'stringify':function(_0x3e8d9f){const _0x1bc173=_0x4c97a4;var _0xb90600,_0x2b5b95=_0x3e8d9f[_0x1bc173(0x212)],_0x13ca4c=_0x3e8d9f[_0x1bc173(0x2f2)];return _0x13ca4c?_0xb90600=_0x4b3871['create']([0x53616c74,0x65645f5f])[_0x1bc173(0x1d2)](_0x13ca4c)[_0x1bc173(0x1d2)](_0x2b5b95):_0xb90600=_0x2b5b95,_0xb90600[_0x1bc173(0xd7)](_0xb281e);},'parse':function(_0x1b3734){const _0x2301da=_0x4c97a4;var _0x2cf235,_0x54773d=_0xb281e['parse'](_0x1b3734),_0x6228fc=_0x54773d[_0x2301da(0x39a)];return _0x6228fc[0x0]==0x53616c74&&_0x6228fc[0x1]==0x65645f5f&&(_0x2cf235=_0x4b3871[_0x2301da(0x45b)](_0x6228fc[_0x2301da(0x438)](0x2,0x4)),_0x6228fc[_0x2301da(0x37b)](0x0,0x4),_0x54773d[_0x2301da(0x26a)]-=0x10),_0x60bb33[_0x2301da(0x45b)]({'ciphertext':_0x54773d,'salt':_0x2cf235});}},_0x138b9f=_0xf9ddeb['SerializableCipher']=_0x57de07[_0x4c97a4(0x392)]({'cfg':_0x57de07[_0x4c97a4(0x392)]({'format':_0xf1ed2f}),'encrypt':function(_0x21efae,_0x1b5c80,_0x15ad88,_0x568d93){const _0x35667b=_0x4c97a4;_0x568d93=this[_0x35667b(0x3b6)][_0x35667b(0x392)](_0x568d93);var _0x5df99d=_0x21efae['createEncryptor'](_0x15ad88,_0x568d93),_0x12eabb=_0x5df99d[_0x35667b(0x202)](_0x1b5c80),_0x29899d=_0x5df99d['cfg'];return _0x60bb33[_0x35667b(0x45b)]({'ciphertext':_0x12eabb,'key':_0x15ad88,'iv':_0x29899d['iv'],'algorithm':_0x21efae,'mode':_0x29899d[_0x35667b(0x106)],'padding':_0x29899d[_0x35667b(0x37d)],'blockSize':_0x21efae['blockSize'],'formatter':_0x568d93[_0x35667b(0x41d)]});},'decrypt':function(_0x524a15,_0x2b59d5,_0x2549c1,_0x3047a2){const _0x493b3d=_0x4c97a4;_0x3047a2=this[_0x493b3d(0x3b6)][_0x493b3d(0x392)](_0x3047a2),_0x2b59d5=this[_0x493b3d(0x3df)](_0x2b59d5,_0x3047a2[_0x493b3d(0x41d)]);var _0x2d6c92=_0x524a15['createDecryptor'](_0x2549c1,_0x3047a2)[_0x493b3d(0x202)](_0x2b59d5[_0x493b3d(0x212)]);return _0x2d6c92;},'_parse':function(_0x506318,_0x4f5667){const _0x46c214=_0x4c97a4;return typeof _0x506318=='string'?_0x4f5667[_0x46c214(0x3c4)](_0x506318,this):_0x506318;}}),_0x282664=_0x1f8082[_0x4c97a4(0x45e)]={},_0x582174=_0x282664['OpenSSL']={'execute':function(_0x4645a3,_0x1ed143,_0x1648be,_0x5ededf,_0x4caec5){const _0x5c7347=_0x4c97a4;if(_0x5ededf||(_0x5ededf=_0x4b3871[_0x5c7347(0x1d5)](0x40/0x8)),_0x4caec5)var _0xbbf6fc=_0x2a58b0[_0x5c7347(0x45b)]({'keySize':_0x1ed143+_0x1648be,'hasher':_0x4caec5})[_0x5c7347(0x1e4)](_0x4645a3,_0x5ededf);else var _0xbbf6fc=_0x2a58b0[_0x5c7347(0x45b)]({'keySize':_0x1ed143+_0x1648be})[_0x5c7347(0x1e4)](_0x4645a3,_0x5ededf);var _0x21914b=_0x4b3871['create'](_0xbbf6fc[_0x5c7347(0x39a)][_0x5c7347(0x438)](_0x1ed143),_0x1648be*0x4);return _0xbbf6fc[_0x5c7347(0x26a)]=_0x1ed143*0x4,_0x60bb33[_0x5c7347(0x45b)]({'key':_0xbbf6fc,'iv':_0x21914b,'salt':_0x5ededf});}},_0x11d46d=_0xf9ddeb[_0x4c97a4(0x1ab)]=_0x138b9f[_0x4c97a4(0x392)]({'cfg':_0x138b9f[_0x4c97a4(0x3b6)][_0x4c97a4(0x392)]({'kdf':_0x582174}),'encrypt':function(_0x18e349,_0x8292cf,_0x296a01,_0x34c511){const _0x21ca3f=_0x4c97a4;_0x34c511=this[_0x21ca3f(0x3b6)][_0x21ca3f(0x392)](_0x34c511);var _0x21a407=_0x34c511[_0x21ca3f(0x45e)][_0x21ca3f(0x323)](_0x296a01,_0x18e349[_0x21ca3f(0x450)],_0x18e349[_0x21ca3f(0xf2)],_0x34c511[_0x21ca3f(0x2f2)],_0x34c511['hasher']);_0x34c511['iv']=_0x21a407['iv'];var _0x4d1fe2=_0x138b9f[_0x21ca3f(0x391)][_0x21ca3f(0x45a)](this,_0x18e349,_0x8292cf,_0x21a407[_0x21ca3f(0x169)],_0x34c511);return _0x4d1fe2['mixIn'](_0x21a407),_0x4d1fe2;},'decrypt':function(_0x185593,_0x508977,_0x2e0c18,_0x4428d2){const _0x1fe761=_0x4c97a4;_0x4428d2=this[_0x1fe761(0x3b6)][_0x1fe761(0x392)](_0x4428d2),_0x508977=this[_0x1fe761(0x3df)](_0x508977,_0x4428d2['format']);var _0x3b5467=_0x4428d2[_0x1fe761(0x45e)][_0x1fe761(0x323)](_0x2e0c18,_0x185593['keySize'],_0x185593[_0x1fe761(0xf2)],_0x508977['salt'],_0x4428d2['hasher']);_0x4428d2['iv']=_0x3b5467['iv'];var _0x1efc94=_0x138b9f[_0x1fe761(0x40e)][_0x1fe761(0x45a)](this,_0x185593,_0x508977,_0x3b5467[_0x1fe761(0x169)],_0x4428d2);return _0x1efc94;}});}();}));}(qt)),qt[_0x11f1c2(0x10c)];}(function(_0x5b08e1,_0x387674){(function(_0x1735d3,_0x2beea8,_0x1147e8){const _0x36aaf8=_0x4457;_0x5b08e1[_0x36aaf8(0x10c)]=_0x2beea8(ue(),Bi(),Ha(),ki(),Wi());}(Z,function(_0x2bb3c4){const _0x4b699a=_0x4457;return(function(){const _0xf04f69=_0x4457;var _0x49e1af=_0x2bb3c4,_0x40181b=_0x49e1af[_0xf04f69(0x1fa)],_0x135449=_0x40181b[_0xf04f69(0x2d0)],_0x391cb7=_0x49e1af['algo'],_0x2ca9a2=[],_0x43b3d0=[],_0x519303=[],_0x428735=[],_0x1eeacf=[],_0x54fa3c=[],_0x5607f7=[],_0x558e0a=[],_0x478846=[],_0x2ab96b=[];(function(){for(var _0x370d25=[],_0xf7ec6e=0x0;_0xf7ec6e<0x100;_0xf7ec6e++)_0xf7ec6e<0x80?_0x370d25[_0xf7ec6e]=_0xf7ec6e<<0x1:_0x370d25[_0xf7ec6e]=_0xf7ec6e<<0x1^0x11b;for(var _0x221e33=0x0,_0x17c61c=0x0,_0xf7ec6e=0x0;_0xf7ec6e<0x100;_0xf7ec6e++){var _0x504714=_0x17c61c^_0x17c61c<<0x1^_0x17c61c<<0x2^_0x17c61c<<0x3^_0x17c61c<<0x4;_0x504714=_0x504714>>>0x8^_0x504714&0xff^0x63,_0x2ca9a2[_0x221e33]=_0x504714,_0x43b3d0[_0x504714]=_0x221e33;var _0x1d96b6=_0x370d25[_0x221e33],_0xe2de6a=_0x370d25[_0x1d96b6],_0x117e3e=_0x370d25[_0xe2de6a],_0x59e204=_0x370d25[_0x504714]*0x101^_0x504714*0x1010100;_0x519303[_0x221e33]=_0x59e204<<0x18|_0x59e204>>>0x8,_0x428735[_0x221e33]=_0x59e204<<0x10|_0x59e204>>>0x10,_0x1eeacf[_0x221e33]=_0x59e204<<0x8|_0x59e204>>>0x18,_0x54fa3c[_0x221e33]=_0x59e204;var _0x59e204=_0x117e3e*0x1010101^_0xe2de6a*0x10001^_0x1d96b6*0x101^_0x221e33*0x1010100;_0x5607f7[_0x504714]=_0x59e204<<0x18|_0x59e204>>>0x8,_0x558e0a[_0x504714]=_0x59e204<<0x10|_0x59e204>>>0x10,_0x478846[_0x504714]=_0x59e204<<0x8|_0x59e204>>>0x18,_0x2ab96b[_0x504714]=_0x59e204,_0x221e33?(_0x221e33=_0x1d96b6^_0x370d25[_0x370d25[_0x370d25[_0x117e3e^_0x1d96b6]]],_0x17c61c^=_0x370d25[_0x370d25[_0x17c61c]]):_0x221e33=_0x17c61c=0x1;}}());var _0x472122=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x4f617f=_0x391cb7['AES']=_0x135449[_0xf04f69(0x392)]({'_doReset':function(){const _0x32595f=_0xf04f69;var _0x2eead3;if(!(this[_0x32595f(0x248)]&&this[_0x32595f(0x316)]===this[_0x32595f(0x117)])){for(var _0x40b9bf=this[_0x32595f(0x316)]=this[_0x32595f(0x117)],_0xa6d7a3=_0x40b9bf[_0x32595f(0x39a)],_0x5017b1=_0x40b9bf[_0x32595f(0x26a)]/0x4,_0x43612a=this[_0x32595f(0x248)]=_0x5017b1+0x6,_0x41593b=(_0x43612a+0x1)*0x4,_0x44431d=this[_0x32595f(0xfa)]=[],_0x5a5d5d=0x0;_0x5a5d5d<_0x41593b;_0x5a5d5d++)_0x5a5d5d<_0x5017b1?_0x44431d[_0x5a5d5d]=_0xa6d7a3[_0x5a5d5d]:(_0x2eead3=_0x44431d[_0x5a5d5d-0x1],_0x5a5d5d%_0x5017b1?_0x5017b1>0x6&&_0x5a5d5d%_0x5017b1==0x4&&(_0x2eead3=_0x2ca9a2[_0x2eead3>>>0x18]<<0x18|_0x2ca9a2[_0x2eead3>>>0x10&0xff]<<0x10|_0x2ca9a2[_0x2eead3>>>0x8&0xff]<<0x8|_0x2ca9a2[_0x2eead3&0xff]):(_0x2eead3=_0x2eead3<<0x8|_0x2eead3>>>0x18,_0x2eead3=_0x2ca9a2[_0x2eead3>>>0x18]<<0x18|_0x2ca9a2[_0x2eead3>>>0x10&0xff]<<0x10|_0x2ca9a2[_0x2eead3>>>0x8&0xff]<<0x8|_0x2ca9a2[_0x2eead3&0xff],_0x2eead3^=_0x472122[_0x5a5d5d/_0x5017b1|0x0]<<0x18),_0x44431d[_0x5a5d5d]=_0x44431d[_0x5a5d5d-_0x5017b1]^_0x2eead3);for(var _0x331917=this[_0x32595f(0x4ae)]=[],_0xbe6698=0x0;_0xbe6698<_0x41593b;_0xbe6698++){var _0x5a5d5d=_0x41593b-_0xbe6698;if(_0xbe6698%0x4)var _0x2eead3=_0x44431d[_0x5a5d5d];else var _0x2eead3=_0x44431d[_0x5a5d5d-0x4];_0xbe6698<0x4||_0x5a5d5d<=0x4?_0x331917[_0xbe6698]=_0x2eead3:_0x331917[_0xbe6698]=_0x5607f7[_0x2ca9a2[_0x2eead3>>>0x18]]^_0x558e0a[_0x2ca9a2[_0x2eead3>>>0x10&0xff]]^_0x478846[_0x2ca9a2[_0x2eead3>>>0x8&0xff]]^_0x2ab96b[_0x2ca9a2[_0x2eead3&0xff]];}}},'encryptBlock':function(_0x3c2150,_0x22b3e3){const _0xb10479=_0xf04f69;this['_doCryptBlock'](_0x3c2150,_0x22b3e3,this[_0xb10479(0xfa)],_0x519303,_0x428735,_0x1eeacf,_0x54fa3c,_0x2ca9a2);},'decryptBlock':function(_0x4e2f6d,_0x2f037a){const _0x5dce95=_0xf04f69;var _0xe16822=_0x4e2f6d[_0x2f037a+0x1];_0x4e2f6d[_0x2f037a+0x1]=_0x4e2f6d[_0x2f037a+0x3],_0x4e2f6d[_0x2f037a+0x3]=_0xe16822,this[_0x5dce95(0x29b)](_0x4e2f6d,_0x2f037a,this[_0x5dce95(0x4ae)],_0x5607f7,_0x558e0a,_0x478846,_0x2ab96b,_0x43b3d0);var _0xe16822=_0x4e2f6d[_0x2f037a+0x1];_0x4e2f6d[_0x2f037a+0x1]=_0x4e2f6d[_0x2f037a+0x3],_0x4e2f6d[_0x2f037a+0x3]=_0xe16822;},'_doCryptBlock':function(_0x49a185,_0x4c0e0b,_0xa6740a,_0x26398e,_0x1985bc,_0x120ca2,_0x22076,_0x574f79){const _0x418730=_0xf04f69;for(var _0x3b8be5=this[_0x418730(0x248)],_0x5c681b=_0x49a185[_0x4c0e0b]^_0xa6740a[0x0],_0x54d17f=_0x49a185[_0x4c0e0b+0x1]^_0xa6740a[0x1],_0x164cc4=_0x49a185[_0x4c0e0b+0x2]^_0xa6740a[0x2],_0x262e74=_0x49a185[_0x4c0e0b+0x3]^_0xa6740a[0x3],_0x3f3edb=0x4,_0x1b2d53=0x1;_0x1b2d53<_0x3b8be5;_0x1b2d53++){var _0x54bb69=_0x26398e[_0x5c681b>>>0x18]^_0x1985bc[_0x54d17f>>>0x10&0xff]^_0x120ca2[_0x164cc4>>>0x8&0xff]^_0x22076[_0x262e74&0xff]^_0xa6740a[_0x3f3edb++],_0x3ef057=_0x26398e[_0x54d17f>>>0x18]^_0x1985bc[_0x164cc4>>>0x10&0xff]^_0x120ca2[_0x262e74>>>0x8&0xff]^_0x22076[_0x5c681b&0xff]^_0xa6740a[_0x3f3edb++],_0x1c6864=_0x26398e[_0x164cc4>>>0x18]^_0x1985bc[_0x262e74>>>0x10&0xff]^_0x120ca2[_0x5c681b>>>0x8&0xff]^_0x22076[_0x54d17f&0xff]^_0xa6740a[_0x3f3edb++],_0x2b94a7=_0x26398e[_0x262e74>>>0x18]^_0x1985bc[_0x5c681b>>>0x10&0xff]^_0x120ca2[_0x54d17f>>>0x8&0xff]^_0x22076[_0x164cc4&0xff]^_0xa6740a[_0x3f3edb++];_0x5c681b=_0x54bb69,_0x54d17f=_0x3ef057,_0x164cc4=_0x1c6864,_0x262e74=_0x2b94a7;}var _0x54bb69=(_0x574f79[_0x5c681b>>>0x18]<<0x18|_0x574f79[_0x54d17f>>>0x10&0xff]<<0x10|_0x574f79[_0x164cc4>>>0x8&0xff]<<0x8|_0x574f79[_0x262e74&0xff])^_0xa6740a[_0x3f3edb++],_0x3ef057=(_0x574f79[_0x54d17f>>>0x18]<<0x18|_0x574f79[_0x164cc4>>>0x10&0xff]<<0x10|_0x574f79[_0x262e74>>>0x8&0xff]<<0x8|_0x574f79[_0x5c681b&0xff])^_0xa6740a[_0x3f3edb++],_0x1c6864=(_0x574f79[_0x164cc4>>>0x18]<<0x18|_0x574f79[_0x262e74>>>0x10&0xff]<<0x10|_0x574f79[_0x5c681b>>>0x8&0xff]<<0x8|_0x574f79[_0x54d17f&0xff])^_0xa6740a[_0x3f3edb++],_0x2b94a7=(_0x574f79[_0x262e74>>>0x18]<<0x18|_0x574f79[_0x5c681b>>>0x10&0xff]<<0x10|_0x574f79[_0x54d17f>>>0x8&0xff]<<0x8|_0x574f79[_0x164cc4&0xff])^_0xa6740a[_0x3f3edb++];_0x49a185[_0x4c0e0b]=_0x54bb69,_0x49a185[_0x4c0e0b+0x1]=_0x3ef057,_0x49a185[_0x4c0e0b+0x2]=_0x1c6864,_0x49a185[_0x4c0e0b+0x3]=_0x2b94a7;},'keySize':0x100/0x20});_0x49e1af['AES']=_0x135449[_0xf04f69(0x417)](_0x4f617f);}()),_0x2bb3c4[_0x4b699a(0x3d6)];}));}(ji));var ka=ji[_0x159fb9(0x10c)];const Wa=at(ka);var Fa=Bi();const ii=at(Fa);var Fi={'exports':{}};(function(_0x4ad9aa,_0x2e6944){(function(_0x11db60,_0x1af9ec){const _0x92a308=_0x4457;_0x4ad9aa[_0x92a308(0x10c)]=_0x1af9ec(ue());}(Z,function(_0x540d6f){const _0x4132fd=_0x4457;return _0x540d6f[_0x4132fd(0x38a)][_0x4132fd(0x220)];}));}(Fi));var Va=Fi['exports'];const Ga=at(Va);var Vi={'exports':{}};(function(_0x264069,_0x558a99){(function(_0x50fd5c,_0x259039){const _0x43f03a=_0x4457;_0x264069[_0x43f03a(0x10c)]=_0x259039(ue());}(Z,function(_0x38eec5){const _0x54e129=_0x4457;return(function(){const _0x500cfe=_0x4457;if(typeof ArrayBuffer=='function'){var _0x4bcdd4=_0x38eec5,_0x1677d4=_0x4bcdd4[_0x500cfe(0x1fa)],_0x27ee8c=_0x1677d4[_0x500cfe(0x1c2)],_0x1114aa=_0x27ee8c[_0x500cfe(0x318)],_0x495ab8=_0x27ee8c[_0x500cfe(0x318)]=function(_0x643868){const _0x10eee1=_0x500cfe;if(_0x643868 instanceof ArrayBuffer&&(_0x643868=new Uint8Array(_0x643868)),(_0x643868 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x643868 instanceof Uint8ClampedArray||_0x643868 instanceof Int16Array||_0x643868 instanceof Uint16Array||_0x643868 instanceof Int32Array||_0x643868 instanceof Uint32Array||_0x643868 instanceof Float32Array||_0x643868 instanceof Float64Array)&&(_0x643868=new Uint8Array(_0x643868[_0x10eee1(0xcc)],_0x643868[_0x10eee1(0x355)],_0x643868[_0x10eee1(0x170)])),_0x643868 instanceof Uint8Array){for(var _0x17c529=_0x643868[_0x10eee1(0x170)],_0x382301=[],_0x2da869=0x0;_0x2da869<_0x17c529;_0x2da869++)_0x382301[_0x2da869>>>0x2]|=_0x643868[_0x2da869]<<0x18-_0x2da869%0x4*0x8;_0x1114aa['call'](this,_0x382301,_0x17c529);}else _0x1114aa[_0x10eee1(0x2b8)](this,arguments);};_0x495ab8[_0x500cfe(0x43d)]=_0x27ee8c;}}()),_0x38eec5[_0x54e129(0x1fa)][_0x54e129(0x1c2)];}));}(Vi));var Ya=Vi[_0x159fb9(0x10c)];const Ka=at(Ya);var Gi={'exports':{}};(function(_0x26cdca,_0x2900bd){(function(_0x4e3f29,_0xd58adc,_0x1b9021){_0x26cdca['exports']=_0xd58adc(ue(),Wi());}(Z,function(_0x5af750){const _0x5c7c96=_0x4457;return _0x5af750[_0x5c7c96(0xbd)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x5af750[_0x5c7c96(0xbd)]['NoPadding'];}));}(Gi));var za=Gi[_0x159fb9(0x10c)];const qa=at(za);function Xa(_0x5bb431,_0x30fa49){const _0x1b7250=_0x159fb9,_0x2031cf=_0x30fa49-_0x5bb431[_0x1b7250(0x3e5)]%_0x30fa49,_0x15fa9b=String[_0x1b7250(0x499)](_0x2031cf)[_0x1b7250(0x1df)](_0x2031cf);return _0x5bb431+_0x15fa9b;}function Ja(_0x3b5c54,_0xff2e3d){const _0x53e9dc=_0x159fb9,_0x132225=Ka['random'](0x10),_0x46c7dd=Xa(_0x3b5c54,0x10),_0x367921=Wa['encrypt'](Ga[_0x53e9dc(0x3c4)](_0x46c7dd),ii[_0x53e9dc(0x3c4)](_0xff2e3d),{'iv':_0x132225,'padding':qa});return _0x132225[_0x53e9dc(0x1d2)](_0x367921[_0x53e9dc(0x212)])[_0x53e9dc(0xd7)](ii);}function Za(){const _0x3c73a9=_0x159fb9,_0xc0cdb5=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)['__Key__'];if(_0xc0cdb5){const _0x4f6a3b={'time':Math[_0x3c73a9(0x393)](Date[_0x3c73a9(0x380)]()/0x3e8),'domain':location[_0x3c73a9(0x3bc)]};return Ja(JSON[_0x3c73a9(0x25e)](_0x4f6a3b),_0xc0cdb5);}}var Qa=Object[_0x159fb9(0xcf)],ec=Object['getOwnPropertyDescriptor'],tc=(_0x31ece5,_0xdf5c08,_0x262fdd,_0x3dc916)=>{const _0x27d0ae=_0x159fb9;for(var _0x49dffd=_0x3dc916>0x1?void 0x0:_0x3dc916?ec(_0xdf5c08,_0x262fdd):_0xdf5c08,_0x179eea=_0x31ece5[_0x27d0ae(0x3e5)]-0x1,_0x2a07b8;_0x179eea>=0x0;_0x179eea--)(_0x2a07b8=_0x31ece5[_0x179eea])&&(_0x49dffd=(_0x3dc916?_0x2a07b8(_0xdf5c08,_0x262fdd,_0x49dffd):_0x2a07b8(_0x49dffd))||_0x49dffd);return _0x3dc916&&_0x49dffd&&Qa(_0xdf5c08,_0x262fdd,_0x49dffd),_0x49dffd;},sc=(_0x126743,_0xbee5c3)=>(_0x39b090,_0x197059)=>_0xbee5c3(_0x39b090,_0x197059,_0x126743);let Tt=class{constructor(_0x51a0ba){const _0x3e4bf0=_0x159fb9;this[_0x3e4bf0(0xb4)]=_0x51a0ba,this['_initRequestHeader']();}[_0x159fb9(0x368)](){const _0x1a13c2=_0x159fb9;this[_0x1a13c2(0xb4)][_0x1a13c2(0x102)]({'interceptor':(_0x24b347,_0x5b560b)=>{const _0x5e3a52=_0x1a13c2,_0x21d646=_0x24b347[_0x5e3a52(0x32d)],_0x4f09cc=Za();return _0x4f09cc&&_0x21d646[_0x5e3a52(0x3d3)](_0x5e3a52(0x200),_0x4f09cc),_0x5b560b(_0x24b347);}});}};Tt=tc([sc(0x0,_0x3e8773(_0x4dbc01))],Tt);var ic=Object[_0x159fb9(0xcf)],nc=Object[_0x159fb9(0x37a)],rc=(_0x4a80d8,_0x512105,_0x4658f9,_0x343208)=>{const _0x46017a=_0x159fb9;for(var _0x5eedd1=_0x343208>0x1?void 0x0:_0x343208?nc(_0x512105,_0x4658f9):_0x512105,_0x2e0e2a=_0x4a80d8[_0x46017a(0x3e5)]-0x1,_0x2c5ef3;_0x2e0e2a>=0x0;_0x2e0e2a--)(_0x2c5ef3=_0x4a80d8[_0x2e0e2a])&&(_0x5eedd1=(_0x343208?_0x2c5ef3(_0x512105,_0x4658f9,_0x5eedd1):_0x2c5ef3(_0x5eedd1))||_0x5eedd1);return _0x343208&&_0x5eedd1&&ic(_0x512105,_0x4658f9,_0x5eedd1),_0x5eedd1;},Xt=(_0x1089f0,_0x35c004)=>(_0x55c27f,_0x2e9b66)=>_0x35c004(_0x55c27f,_0x2e9b66,_0x1089f0);const oc=[_0x159fb9(0x1cb),_0x159fb9(0x38d),'image/jpg',_0x159fb9(0x282),_0x159fb9(0x1b4)],ac=0x5*0x400*0x400,cc=_0x159fb9(0x1af),hc=_0x159fb9(0x189),lc=_0x159fb9(0x271),_c=_0x159fb9(0x390);let hs=class{constructor(_0x2ce26f,_0x366cfb,_0xee84fd){const _0x112623=_0x159fb9;g(this,_0x112623(0x39c),0x0),g(this,_0x112623(0x208),new _0x2ec24b()),g(this,'change$',this[_0x112623(0x208)]),g(this,_0x112623(0x2c1),new Map()),(this['_httpService']=_0x2ce26f,this[_0x112623(0x18b)]=_0x366cfb,this['_univerInstanceService']=_0xee84fd);}[_0x159fb9(0x436)](_0x13e061){const _0x46d246=_0x159fb9;this[_0x46d246(0x39c)]=_0x13e061,this[_0x46d246(0x208)][_0x46d246(0x22f)](_0x13e061);}[_0x159fb9(0x1de)](_0x433a5c,_0x523abb){const _0x15b298=_0x159fb9;if(_0x523abb===_0xbfd346[_0x15b298(0x45c)]){const _0x12e179=new Image();return _0x12e179[_0x15b298(0x2b7)]=_0x433a5c,_0x12e179;}return this[_0x15b298(0x2c1)][_0x15b298(0x413)](_0x433a5c);}['addImageSourceCache'](_0x4d156c,_0x114c42,_0x133ac1){const _0x40fd16=_0x159fb9;_0x114c42===_0xbfd346[_0x40fd16(0x45c)]||_0x133ac1==null||this[_0x40fd16(0x2c1)]['set'](_0x4d156c,_0x133ac1);}async['getImage'](_0x36e255){const _0x42c950=_0x159fb9;try{const _0x365f06=this[_0x42c950(0x37c)](this['_getSignURL'](),''+_0x36e255),_0x5ba87d=(await this[_0x42c950(0xb4)][_0x42c950(0x413)](_0x365f06))[_0x42c950(0x252)];if(_0x5ba87d[_0x42c950(0x441)]&&_0x5ba87d['error'][_0x42c950(0x21c)]===Ri['OK']){const _0x4ac68d=new URL(_0x5ba87d[_0x42c950(0x3da)],this['_getDownloadEndpointURL']())['toString']();return Promise[_0x42c950(0x483)](_0x4ac68d);}return Promise[_0x42c950(0x11f)](_0x5ba87d['error']);}catch(_0x4d966b){return Promise['reject'](_0x4d966b);}}async[_0x159fb9(0x195)](_0x4abf24){const _0x2ac4eb=_0x159fb9;let _0x2d79c1='';if(!oc['includes'](_0x4abf24[_0x2ac4eb(0xab)]))return this[_0x2ac4eb(0x1b0)](),Promise[_0x2ac4eb(0x11f)](new Error(_0x10bbad[_0x2ac4eb(0x3d4)]));if(_0x4abf24[_0x2ac4eb(0x1d3)]>ac)return this[_0x2ac4eb(0x1b0)](),Promise[_0x2ac4eb(0x11f)](new Error(_0x10bbad[_0x2ac4eb(0xb3)]));try{const _0x2c97db=new FormData();_0x2c97db[_0x2ac4eb(0x308)]('file',_0x4abf24);const _0x9e38de=this['_univerInstanceService']['getFocusedUnit'](),_0x56cbc8=_0x9e38de==null?void 0x0:_0x9e38de['getUnitId']();if(!_0x56cbc8)throw new Error('unitId\x20is\x20not\x20found');const _0x2a90a3=this[_0x2ac4eb(0x1dd)]()+_0x2ac4eb(0x175)+_0x4abf24[_0x2ac4eb(0x1d3)][_0x2ac4eb(0xd7)]()+_0x2ac4eb(0x280)+yi['UnitEmbedded']+'&assign='+encodeURIComponent(_0x56cbc8),_0x45779d=await(await fetch(_0x2a90a3,{'method':_0x2ac4eb(0x1e1),'body':_0x2c97db}))['json']();if(typeof _0x45779d[_0x2ac4eb(0xcd)]!=_0x2ac4eb(0xde))return this[_0x2ac4eb(0x1b0)](),Promise['reject'](new Error(_0x10bbad[_0x2ac4eb(0x3ae)]));_0x2d79c1=_0x45779d[_0x2ac4eb(0xcd)];}catch{return this[_0x2ac4eb(0x1b0)](),Promise['reject'](new Error(_0x10bbad[_0x2ac4eb(0x3ae)]));}return new Promise((_0x57f444,_0x490eee)=>{const _0x39b2fb=_0x2ac4eb,_0x21d37b=new FileReader();_0x21d37b[_0x39b2fb(0x203)](_0x4abf24),_0x21d37b[_0x39b2fb(0x2fc)]=_0x2d9d9b=>{const _0xc18dbf=_0x39b2fb;var _0x29b397;const _0x2a32f9=(_0x29b397=_0x2d9d9b[_0xc18dbf(0x113)])==null?void 0x0:_0x29b397[_0xc18dbf(0x135)];if(_0x2a32f9==null){this[_0xc18dbf(0x1b0)](),_0x490eee(new Error(_0x10bbad[_0xc18dbf(0x3ae)]));return;}const _0x536aff=_0x26d13d[_0xc18dbf(0x467)](0x6);_0x57f444({'imageId':_0x536aff,'imageSourceType':_0xbfd346[_0xc18dbf(0x343)],'source':_0x2d79c1,'base64Cache':_0x2a32f9,'status':_0x10bbad[_0xc18dbf(0x18f)]}),this[_0xc18dbf(0x1b0)]();};});}['_getUploadFileURL'](){const _0x322a62=_0x159fb9;var _0xf6b58a,_0x55cbee;const _0x1512f1=this[_0x322a62(0x18b)][_0x322a62(0x2e1)](cc),_0x472173=this[_0x322a62(0x18b)][_0x322a62(0x2e1)](ie);return(_0x55cbee=(_0xf6b58a=_0x472173==null?void 0x0:_0x472173['uploadFileServerUrl'])!=null?_0xf6b58a:_0x1512f1)!=null?_0x55cbee:hc;}[_0x159fb9(0x182)](){const _0x1663a7=_0x159fb9;var _0xa8facb,_0x2b4591;const _0x453c7=this['_configService']['getConfig'](lc),_0x18a04c=this[_0x1663a7(0x18b)][_0x1663a7(0x2e1)](ie);return(_0x2b4591=(_0xa8facb=_0x18a04c==null?void 0x0:_0x18a04c[_0x1663a7(0x426)])!=null?_0xa8facb:_0x453c7)!=null?_0x2b4591:_c;}[_0x159fb9(0x160)](){const _0x24ba8b=_0x159fb9;var _0x3c2f37;const _0x426ceb=this[_0x24ba8b(0x18b)][_0x24ba8b(0x2e1)](ie);return(_0x3c2f37=_0x426ceb==null?void 0x0:_0x426ceb[_0x24ba8b(0x4a9)])!=null?_0x3c2f37:location[_0x24ba8b(0x144)];}[_0x159fb9(0x37c)](_0x186973,_0x237fc2){const _0x27339e=_0x159fb9;return _0x186973['replace'](_0x27339e(0x2f7),_0x237fc2);}[_0x159fb9(0x1b0)](){const _0x1e790d=_0x159fb9;this[_0x1e790d(0x39c)]-=0x1,this[_0x1e790d(0x208)][_0x1e790d(0x22f)](this[_0x1e790d(0x39c)]);}};hs=rc([Xt(0x0,_0x3e8773(_0x4dbc01)),Xt(0x1,_0x3ade87),Xt(0x2,_0x3e8773(_0x40ba52))],hs);var uc=Object[_0x159fb9(0xcf)],dc=Object[_0x159fb9(0x37a)],fc=(_0x14c3c7,_0x509691,_0x545de0,_0x1819b6)=>{const _0x16c1c4=_0x159fb9;for(var _0x5ca3b6=_0x1819b6>0x1?void 0x0:_0x1819b6?dc(_0x509691,_0x545de0):_0x509691,_0x38e229=_0x14c3c7[_0x16c1c4(0x3e5)]-0x1,_0x4ae012;_0x38e229>=0x0;_0x38e229--)(_0x4ae012=_0x14c3c7[_0x38e229])&&(_0x5ca3b6=(_0x1819b6?_0x4ae012(_0x509691,_0x545de0,_0x5ca3b6):_0x4ae012(_0x5ca3b6))||_0x5ca3b6);return _0x1819b6&&_0x5ca3b6&&uc(_0x509691,_0x545de0,_0x5ca3b6),_0x5ca3b6;},Qe=(_0x145cdf,_0x36b419)=>(_0x105793,_0x4e527a)=>_0x36b419(_0x105793,_0x4e527a,_0x145cdf);let Rt=class extends _0x7d7f86{constructor(_0x34f9a5,_0x1ecf5a,_0x1f754d,_0x4eeed8,_0x3b8a80){const _0x141c81=_0x159fb9;super(),this[_0x141c81(0x1d9)]=_0x34f9a5,this[_0x141c81(0x116)]=_0x1ecf5a,this[_0x141c81(0x3cb)]=_0x1f754d,this[_0x141c81(0xb1)]=_0x4eeed8,this[_0x141c81(0xc8)]=_0x3b8a80,this[_0x141c81(0x4a7)](),this[_0x141c81(0x265)]();}['_initCloseConn'](){const _0xcbcf55=_0x159fb9,_0x43f79c=async _0x582298=>{const _0x1bab1b=_0x4457;(await this[_0x1bab1b(0xb1)]['requireSession'](_0x582298))[_0x1bab1b(0x431)][_0x1bab1b(0x26b)](_0x1e7f12(_0x499122=>_0x499122[_0x1bab1b(0x39e)]===_0x33d7b7[_0x1bab1b(0x478)]),_0x1775d8(this[_0x1bab1b(0x1ef)]))['subscribe'](_0x14650f=>{const _0xf49cf3=_0x1bab1b,_0x3752a7=_0x14650f,{reason:_0xce8e99}=_0x3752a7[_0xf49cf3(0x216)];this[_0xf49cf3(0x1d9)][_0xf49cf3(0x413)](_0x546aee)[_0xf49cf3(0x3e9)]({'type':_0x450e6f['Error'],'content':this['_localeService']['t'](_0xf49cf3(0x2de))+'('+_0xce8e99+')'}),this['_permissionService'][_0xf49cf3(0x36d)](new _0x435a22(_0x582298)['id'],!0x1),this[_0xf49cf3(0xb1)][_0xf49cf3(0x19c)](_0x582298);});};_0x548bea(this['_univerInstanceService'][_0xcbcf55(0x27f)](_0x466101[_0xcbcf55(0x166)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x466101['UNIVER_DOC']))[_0xcbcf55(0x26b)](_0x24eeb9(_0x541bdd=>_0x541bdd['getUnitId']()),_0x1e7f12(_0x2a2139=>!_0x31cc25(_0x2a2139)),_0x1775d8(this[_0xcbcf55(0x1ef)]))[_0xcbcf55(0x2fd)](_0x52f08e=>{_0x43f79c(_0x52f08e);});}[_0x159fb9(0x4a7)](){const _0x3750c9=_0x159fb9,_0x48d943=async _0x14709c=>{const _0x57bd9c=_0x4457;(await this[_0x57bd9c(0xb1)][_0x57bd9c(0x470)](_0x14709c))[_0x57bd9c(0x431)][_0x57bd9c(0x26b)](_0x1e7f12(_0x65ad36=>_0x65ad36['eventID']===_0x33d7b7[_0x57bd9c(0x395)]),_0x1775d8(this[_0x57bd9c(0x1ef)]))[_0x57bd9c(0x2fd)](_0x24138d=>{const _0xf49a5d=_0x57bd9c,_0x5d21c7=_0x24138d,{objectId:_0x2922ae}=_0x5d21c7[_0xf49a5d(0x216)],_0x2f8b6a=this[_0xf49a5d(0x1d9)]['get'](_0x2f3964);_0x2922ae===_0x14709c?_0x2f8b6a[_0xf49a5d(0x429)](_0x14709c):_0x2f8b6a[_0xf49a5d(0x44c)](_0x14709c,_0x2922ae);});};_0x548bea(this[_0x3750c9(0x116)][_0x3750c9(0x27f)](_0x466101[_0x3750c9(0x166)]),this[_0x3750c9(0x116)][_0x3750c9(0x27f)](_0x466101[_0x3750c9(0x44a)]))[_0x3750c9(0x26b)](_0x24eeb9(_0xa12d04=>_0xa12d04[_0x3750c9(0xd4)]()),_0x1e7f12(_0x223098=>!_0x31cc25(_0x223098)),_0x1775d8(this[_0x3750c9(0x1ef)]))[_0x3750c9(0x2fd)](_0x56563a=>{_0x48d943(_0x56563a);});}};Rt=fc([Qe(0x0,_0x3e8773(_0x3371c0)),Qe(0x1,_0x40ba52),Qe(0x2,_0x1b485a),Qe(0x3,_0x3e8773(Ae)),Qe(0x4,_0x3e8773(_0x51cff0))],Rt);var vc=Object[_0x159fb9(0xcf)],mc=Object[_0x159fb9(0x37a)],pc=(_0x5783a,_0xaf57fe,_0x5bb8ec,_0x497048)=>{for(var _0x49a6db=_0x497048>0x1?void 0x0:_0x497048?mc(_0xaf57fe,_0x5bb8ec):_0xaf57fe,_0x1606fb=_0x5783a['length']-0x1,_0x2bc098;_0x1606fb>=0x0;_0x1606fb--)(_0x2bc098=_0x5783a[_0x1606fb])&&(_0x49a6db=(_0x497048?_0x2bc098(_0xaf57fe,_0x5bb8ec,_0x49a6db):_0x2bc098(_0x49a6db))||_0x49a6db);return _0x497048&&_0x49a6db&&vc(_0xaf57fe,_0x5bb8ec,_0x49a6db),_0x49a6db;},ni=(_0x3e8596,_0x2688b4)=>(_0x16784c,_0xb6442c)=>_0x2688b4(_0x16784c,_0xb6442c,_0x3e8596);let ls=class{constructor(_0xb5fa76,_0x3a72a9){const _0x30a9a4=_0x159fb9;this['_configService']=_0xb5fa76,this[_0x30a9a4(0xb4)]=_0x3a72a9;}async[_0x159fb9(0x2c0)](_0x799b92,_0x1fde8a){const _0x1a9002=_0x159fb9;var _0x2e918f;const {unitID:_0x5c0f93,type:_0xf1132b,revision:_0x5d4090=0x0}=_0x1fde8a,_0x2fb44a=this[_0x1a9002(0x10b)]()+'/'+_0xf1132b+_0x1a9002(0x254)+_0x5c0f93+'/rev/'+_0x5d4090,_0x10d2ac=(await this['_httpService'][_0x1a9002(0x413)](_0x2fb44a))[_0x1a9002(0x252)],_0x5c1522=(_0x2e918f=_0x10d2ac[_0x1a9002(0x232)])==null?void 0x0:_0x2e918f['workbook'];if(_0x5c1522){const _0x485f52=_0x5c1522==null?void 0x0:_0x5c1522['originalMeta'],_0x297968=_0x4ebea7['encode'](_0x5896eb(_0x485f52));_0x5c1522['originalMeta']=_0x297968,Object[_0x1a9002(0x162)](_0x5c1522['sheets'])['forEach'](([,_0x44bead])=>{const _0x5f3930=_0x1a9002,_0x8bd1b=_0x44bead['originalMeta'],_0x39a29a=_0x4ebea7[_0x5f3930(0x255)](_0x5896eb(_0x8bd1b));_0x44bead[_0x5f3930(0x458)]=_0x39a29a;});}return _0x10d2ac;}async['getSheetBlock'](_0x3a9f86,_0x5e44a0){const _0x43f855=_0x159fb9,{unitID:_0x592456,type:_0x5596fb,blockID:_0x4f043c}=_0x5e44a0,_0x9eff79=this[_0x43f855(0x2e2)]()+'/'+_0x5596fb+'/unit/'+_0x592456+'/block/'+_0x4f043c;return(await this[_0x43f855(0xb4)][_0x43f855(0x413)](_0x9eff79))['body'];}async[_0x159fb9(0x210)](_0x5587b0,_0x473486){const _0x348ca9=_0x159fb9,{unitID:_0x3880c5,type:_0x45e0f7,blockID:_0x503957}=_0x473486,_0x1a21bc=this[_0x348ca9(0x2e2)]()+_0x348ca9(0x17a)+_0x45e0f7+_0x348ca9(0x254)+_0x3880c5+'/block/'+_0x503957;return(await this[_0x348ca9(0xb4)]['get'](_0x1a21bc))[_0x348ca9(0x252)];}async['fetchMissingChangesets'](_0x1c614b,_0x1114d7){const _0xa6bad9=_0x159fb9,{unitID:_0x5432f4,type:_0x4f3dd0,from:_0x100bd2,to:_0x45edff}=_0x1114d7,_0x1c74ee=this[_0xa6bad9(0x2e2)]()+'/'+_0x4f3dd0+_0xa6bad9(0x254)+_0x5432f4+_0xa6bad9(0x49b)+_0x100bd2+_0xa6bad9(0x14d)+_0x45edff;return(await this[_0xa6bad9(0xb4)]['get'](_0x1c74ee))[_0xa6bad9(0x252)];}[_0x159fb9(0x10b)](){const _0x5da5f0=_0x159fb9;var _0xbedf06;return(_0xbedf06=this[_0x5da5f0(0x18b)][_0x5da5f0(0x2e1)](ar))!=null?_0xbedf06:this[_0x5da5f0(0x2e2)]();}['_getAPIPrefix'](){const _0x1569eb=_0x159fb9;var _0x388a9f,_0x3d57ce;const _0xca2c50=this[_0x1569eb(0x18b)][_0x1569eb(0x2e1)](rr),_0x4379f3=this[_0x1569eb(0x18b)][_0x1569eb(0x2e1)](ie);return(_0x3d57ce=(_0x388a9f=_0x4379f3==null?void 0x0:_0x4379f3[_0x1569eb(0x155)])!=null?_0x388a9f:_0xca2c50)!=null?_0x3d57ce:or;}async[_0x159fb9(0x16b)](_0x24e8e5,_0x2aaf8a){const _0x38b831=_0x159fb9,_0x2b1313=_0x38b831(0x440)+_0x2aaf8a['type']+_0x38b831(0x254)+_0x2aaf8a[_0x38b831(0x1bc)]+_0x38b831(0x174);return(await this[_0x38b831(0xb4)]['get'](_0x2b1313,{'params':{'resourceId':JSON[_0x38b831(0x25e)](_0x2aaf8a['resourceIDs'])}}))[_0x38b831(0x252)];}['saveSnapshot'](){const _0x38436b=_0x159fb9;throw new Error(_0x38436b(0x1b7));}[_0x159fb9(0x44e)](){const _0x2cedd5=_0x159fb9;throw new Error(_0x2cedd5(0x1b7));}['saveChangeset'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['copyFileMeta'](){const _0x3f81a7=_0x159fb9;throw new Error(_0x3f81a7(0x1b7));}[_0x159fb9(0xce)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};ls=pc([ni(0x0,_0x3ade87),ni(0x1,_0x3e8773(_0x4dbc01))],ls);var gc=Object[_0x159fb9(0xcf)],Sc=Object[_0x159fb9(0x37a)],Ic=(_0x1cc67e,_0x4509e0,_0x45390e,_0x2c8f57)=>{const _0x4d5cab=_0x159fb9;for(var _0x322379=_0x2c8f57>0x1?void 0x0:_0x2c8f57?Sc(_0x4509e0,_0x45390e):_0x4509e0,_0x102c8c=_0x1cc67e[_0x4d5cab(0x3e5)]-0x1,_0x5ed98f;_0x102c8c>=0x0;_0x102c8c--)(_0x5ed98f=_0x1cc67e[_0x102c8c])&&(_0x322379=(_0x2c8f57?_0x5ed98f(_0x4509e0,_0x45390e,_0x322379):_0x5ed98f(_0x322379))||_0x322379);return _0x2c8f57&&_0x322379&&gc(_0x4509e0,_0x45390e,_0x322379),_0x322379;},et=(_0x468666,_0x283a2c)=>(_0x447fb4,_0x5501b0)=>_0x283a2c(_0x447fb4,_0x5501b0,_0x468666);let _s=class extends _0x27ff78{constructor(_0x3e53cd,_0x3746f7,_0x1b2ab4,_0x480420,_0x1f57fd){const _0x10a5c5=_0x159fb9;super(_0x3e53cd,_0x3746f7,_0x1b2ab4),this['_transformService']=_0x480420,this[_0x10a5c5(0x461)]=_0x1f57fd;}[_0x159fb9(0x222)](_0x1909dd,_0x3196a3){const _0x26f490=_0x159fb9,_0x273ae9=this['_getUndoStack'](_0x1909dd);if(_0x273ae9)try{const _0x47b625=this['_transformStack'](_0x273ae9,_0x3196a3);this[_0x26f490(0x2b4)](_0x1909dd,_0x47b625);}catch(_0x311fc1){this[_0x26f490(0x461)]['error'](_0x26f490(0x275),_0x311fc1),this['_clearUndo'](_0x1909dd);}const _0x940765=this[_0x26f490(0x2e3)](_0x1909dd);if(_0x940765)try{const _0x2b27a2=this['_transformStack'](_0x940765,_0x3196a3);this[_0x26f490(0x40b)](_0x1909dd,_0x2b27a2);}catch(_0x1ae529){this[_0x26f490(0x461)][_0x26f490(0x441)](_0x1ae529),this[_0x26f490(0x2a4)](_0x1909dd);}}[_0x159fb9(0x32c)](_0x83b11d){const _0x504f63=_0x159fb9,_0x580d81=this[_0x504f63(0x13d)](_0x83b11d);_0x580d81&&(_0x580d81[_0x504f63(0x3e5)]=0x0,this[_0x504f63(0x41c)]());}[_0x159fb9(0x2a4)](_0x1d2394){const _0x59bd6b=_0x159fb9,_0x374515=this[_0x59bd6b(0x2e3)](_0x1d2394);_0x374515&&(_0x374515[_0x59bd6b(0x3e5)]=0x0,this[_0x59bd6b(0x41c)]());}[_0x159fb9(0x2b4)](_0x127f3b,_0x58afa5){const _0x1b43ce=_0x159fb9;this[_0x1b43ce(0x291)]['set'](_0x127f3b,_0x58afa5),this['_updateStatus']();}[_0x159fb9(0x40b)](_0x1b03da,_0x1f9d58){const _0x2be90b=_0x159fb9;this[_0x2be90b(0x293)][_0x2be90b(0x3d3)](_0x1b03da,_0x1f9d58),this['_updateStatus']();}[_0x159fb9(0x348)](_0x181340,_0x59825a){const _0x8c351e=_0x159fb9,_0x4c1b5e=[];let _0x276b25=_0x59825a,_0x1ff3cf=_0x59825a;for(let _0x3e9dd5=_0x181340['length']-0x1;_0x3e9dd5>=0x0;_0x3e9dd5--){const {unitID:_0x34a284,undoMutations:_0x2d6114,redoMutations:_0x5753c0}=_0x181340[_0x3e9dd5],_0x9350b7=this[_0x8c351e(0x1a9)][_0x8c351e(0x17b)](_0x276b25,_0x2d6114),_0x93b49b=this[_0x8c351e(0x1a9)]['transformMutationsWithChangeset'](_0x1ff3cf,_0x5753c0);if(_0x3bee1f(_0x9350b7)||_0x3bee1f(_0x93b49b)){this[_0x8c351e(0x461)][_0x8c351e(0x441)](_0x8c351e(0x275),'transformStack\x20failed!',_0x9350b7,_0x93b49b);break;}_0x276b25=_0x9350b7[_0x8c351e(0x3ad)],_0x1ff3cf=_0x93b49b['c1Prime'],_0x4c1b5e[_0x8c351e(0x3c8)]({'unitID':_0x34a284,'undoMutations':_0x9350b7[_0x8c351e(0x12a)],'redoMutations':_0x93b49b[_0x8c351e(0x12a)]});}return _0x4c1b5e[_0x8c351e(0x48b)]();}};_s=Ic([et(0x0,_0x40ba52),et(0x1,_0x1bd495),et(0x2,_0x2514ed),et(0x3,_0x1c07b8),et(0x4,_0x3738e4)],_s);class Cc extends _0x7d7f86{constructor(){const _0x1d1d79=_0x159fb9;super(),g(this,_0x1d1d79(0x20f)),this['urlChange$']=_0x55c3c6(window,'popstate')[_0x1d1d79(0x26b)](_0x514462(this['dispose$']),_0x37b8c8(0x1),_0x54420d(void 0x0));}[_0x159fb9(0x263)](_0x292ea7,_0x1328bd,_0x38d7bc=!0x1){const _0x53c05c=_0x159fb9,_0x200a0e=new URL(window[_0x53c05c(0x4ad)][_0x53c05c(0x38c)]);_0x200a0e[_0x53c05c(0x491)][_0x53c05c(0x3d3)](_0x292ea7,_0x1328bd),_0x38d7bc?window['history'][_0x53c05c(0x49f)]('','',_0x200a0e[_0x53c05c(0xd7)]()):window[_0x53c05c(0x460)][_0x53c05c(0x2cb)]('','',_0x200a0e[_0x53c05c(0xd7)]());}[_0x159fb9(0x163)](_0x32d1f7,_0x1ccc54=!0x1){const _0x23ab34=_0x159fb9,_0x2fc56c=new URL(window[_0x23ab34(0x4ad)][_0x23ab34(0x38c)]);_0x2fc56c[_0x23ab34(0x491)][_0x23ab34(0x24e)](_0x32d1f7),_0x1ccc54?window[_0x23ab34(0x460)][_0x23ab34(0x49f)]('','',_0x2fc56c[_0x23ab34(0xd7)]()):window[_0x23ab34(0x460)][_0x23ab34(0x2cb)]('','',_0x2fc56c['toString']());}['getParam'](_0xe304cf){const _0x5417f3=_0x159fb9;var _0x117126;return(_0x117126=new URL(window[_0x5417f3(0x4ad)]['href'])['searchParams'][_0x5417f3(0x413)](_0xe304cf))!=null?_0x117126:void 0x0;}}var Yi=Object[_0x159fb9(0xcf)],Ec=Object['getOwnPropertyDescriptor'],bc=(_0x4b68ff,_0x5daa69,_0x65f8d8)=>_0x5daa69 in _0x4b68ff?Yi(_0x4b68ff,_0x5daa69,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x65f8d8}):_0x4b68ff[_0x5daa69]=_0x65f8d8,Tc=(_0x45f4bc,_0x5076be,_0x41a3d8,_0x2f98f7)=>{const _0x5ceff6=_0x159fb9;for(var _0x2a0ae7=_0x2f98f7>0x1?void 0x0:_0x2f98f7?Ec(_0x5076be,_0x41a3d8):_0x5076be,_0x8a0c34=_0x45f4bc[_0x5ceff6(0x3e5)]-0x1,_0x5cb4ee;_0x8a0c34>=0x0;_0x8a0c34--)(_0x5cb4ee=_0x45f4bc[_0x8a0c34])&&(_0x2a0ae7=(_0x2f98f7?_0x5cb4ee(_0x5076be,_0x41a3d8,_0x2a0ae7):_0x5cb4ee(_0x2a0ae7))||_0x2a0ae7);return _0x2f98f7&&_0x2a0ae7&&Yi(_0x5076be,_0x41a3d8,_0x2a0ae7),_0x2a0ae7;},_t=(_0x2c067c,_0x43cb60)=>(_0x32c5ec,_0x439774)=>_0x43cb60(_0x32c5ec,_0x439774,_0x2c067c),Rc=(_0x5f1cde,_0x13c36b,_0x1ffb34)=>bc(_0x5f1cde,_0x13c36b+'',_0x1ffb34);const yc=_0x159fb9(0x496);let us=class extends _0x34b0ea{constructor(_0x282b4a=Er,_0xb7783c,_0x5f290a,_0x4d24a5,_0x1b41f6){const _0x48f5db=_0x159fb9;super(),this['_config']=_0x282b4a,this[_0x48f5db(0x461)]=_0xb7783c,this['_renderManagerService']=_0x5f290a,this[_0x48f5db(0x1d9)]=_0x4d24a5,this[_0x48f5db(0x18b)]=_0x1b41f6;const {..._0x1093a4}=this[_0x48f5db(0xf8)];this[_0x48f5db(0x18b)][_0x48f5db(0x13a)](ie,_0x1093a4);}[_0x159fb9(0x307)](){const _0xf73819=_0x159fb9;this[_0xf73819(0x3f7)](),this[_0xf73819(0x145)]();}[_0x159fb9(0x196)](){_0x481c3e(this['_injector'],[[Et]]);}['onRendered'](){const _0x5e81f9=_0x159fb9;this[_0x5e81f9(0x219)]();}[_0x159fb9(0x3f7)](){const _0x2c8d13=_0x159fb9;var _0x3639c4,_0x132935,_0x3a6f1c,_0x31ab87;this[_0x2c8d13(0x1d9)]['has'](_0x551c13)&&this[_0x2c8d13(0x461)][_0x2c8d13(0x441)]('[UniverCollaborationClientPlugin]','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0xae1be0=[[_0x551c13,{'useClass':_s}],[Ae],[bs],[Hi,{'useClass':Cc}],[Ne],[q],[_0x244fc6],[mt],[gt],[vt],[pt],[Cs],[bt],[Tt],[wi],[Rt],[Oi,{'useClass':(_0x132935=(_0x3639c4=this[_0x2c8d13(0xf8)])==null?void 0x0:_0x3639c4['socketService'])!=null?_0x132935:es}],[_0xbb044,{'useClass':ls}],[_0x57da24,{'useClass':cs}],[_0x2ea827,{'useClass':hs}],[it],[Ct],[It],[Et],[Ve]];(_0x3a6f1c=this['_config'])!=null&&_0x3a6f1c[_0x2c8d13(0x366)]&&_0xae1be0[_0x2c8d13(0x3c8)]([yt,{'useClass':so}]),_0x4d3068(this[_0x2c8d13(0x1d9)],_0x2a8f9e(_0xae1be0,(_0x31ab87=this[_0x2c8d13(0xf8)])==null?void 0x0:_0x31ab87[_0x2c8d13(0x3b9)]));}[_0x159fb9(0x219)](){const _0x157081=_0x159fb9;this[_0x157081(0x2e7)](this['_renderManagerService'][_0x157081(0x498)](_0x466101['UNIVER_DOC'],[os])),this[_0x157081(0x2e7)](this[_0x157081(0x451)]['registerRenderModule'](_0x466101['UNIVER_SHEET'],[as]));}[_0x159fb9(0x145)](){const _0x41c14b=_0x159fb9;var _0x5c131f,_0x414b01;this[_0x41c14b(0x1d9)]['get'](_0x4dbc01)[_0x41c14b(0x102)]({'priority':0x14,'interceptor':_0x1c106f({'maxParallel':0x6})}),(_0x5c131f=this[_0x41c14b(0xf8)])!=null&&_0x5c131f[_0x41c14b(0x2f6)]||this['_injector'][_0x41c14b(0x413)](q)[_0x41c14b(0x2bc)](),(_0x414b01=this['_config'])!=null&&_0x414b01['enableAuthServer']&&_0x481c3e(this[_0x41c14b(0x1d9)],[[bt]]),_0x481c3e(this['_injector'],[[Tt],[Ve],[Ct],[it],[It],[Rt]]);}};Rc(us,_0x159fb9(0x3af),yc),us=Tc([_0x2ae560(_0x19f686,_0x3f779a),_t(0x1,_0x3738e4),_t(0x2,_0x525bf5),_t(0x3,_0x3e8773(_0x3371c0)),_t(0x4,_0x3ade87)],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,Gc 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,Cc as WebURLService,br as deserializeToCombResponse,Tr as serializeCombRequest};